From: Junio C Hamano Date: Fri, 26 Apr 2013 17:00:44 GMT Subject: Re: Zile as git core editor? Message-ID: <7vtxmtxm4j.fsf@alter.siamese.dyndns.org> In-Reply-To: <87ppxh6zru.fsf@gmail.com> Thorsten Jolitz writes: > ... I think what I really would like to > have it that, when I use GNU Emacs Magit and enter a git command > > ,----------------------------- > | Run git like this: > `----------------------------- > > that calls an editor (e.g. commit --amend), the running Emacs instance > is (re)used and a new buffer is opened for editing (instead of starting > another Emacs instance). Hmph, isn't that what "emacsclient" is for? I have these (setenv "PAGER" "cat") (setenv "EDITOR" "emacsclient") (server-start) somewhere in my ~/.emacs to make commands in "M-x compile" behave.