On upgrading to emacs25 (ubuntu 18.04) I'm having some issues with mercurial usage.
Previously in emacs24 (ubuntu 16.04) running hg ci would start a separate emacs window where you could complete your commit message.
Since the upgrade I get:
/usr/bin/sensible-editor: 25: /usr/bin/sensible-editor: /usr/bin/emacs24: not found
I've had a look at sensible-editor but can't see any specific reference to emacs24, I can't see emacs24 mentioned in the export output either.
I'm wondering how to fix this to get back to the original capability of hg ci firing up a new emacs window?
Note this is all being done from within emacs via a M-x shell buffer.
As
sensible-editorchecks your$EDITORenvironment variable, I would guess this is the culprit.Converting a comment to answer, I think you probably need to set your
$EDITORvariable (in your ~/.profile or wherever you manage such things) to eitheremacsor more preferablyemacsclient, eg.