Better mechanism to choose the default editor (and avoid vi if possible)?

Uwe Brauer oub at mat.ucm.es
Fri Jun 5 15:55:16 UTC 2020


>>> "MK" == Marcin Kasperski <Marcin.Kasperski at mekk.waw.pl> writes:

   >> If Mercurial would work harder to find some editor, this could be
   >> reduced to the tiny fraction of people who have neither nano, nor vi,
   >> nor emacs, no notepad, nor … installed.


   > 2. $EDITOR=emacs

   >    Well, I love emacs but with my convoluted config it starts 20s
   >    on my laptop.

Yep for me too.


   > 3. $EDITOR=emacsclient

   >    Mostly OK except occasional
   >       M-!  hg commit
   >    (calling from inside emacs) which deadlocks

That is what I use, problem is, if emacs is not running an error pops up
(logically)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20200605/3cb8f352/attachment.p7s>


More information about the Mercurial mailing list