emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows binaries for emacs-28 status and TODOs


From: H. Dieter Wilhelm
Subject: Re: Windows binaries for emacs-28 status and TODOs
Date: Wed, 16 Feb 2022 17:52:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (windows-nt)

"H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de> writes:

> Corwin Brust <corwin@bru.st> writes:
>
>> On Wed, Feb 16, 2022 at 7:32 AM Eli Zaretskii <eliz@gnu.org> wrote:
>>>
>>> > From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
>>> > Date: Wed, 16 Feb 2022 13:52:56 +0100
>>> >
>>> > And there's also GitGui to consider, which is not a console program
>>> > (regarding the choice of emacsclient and emacsclientw)..
>>>
>>> That one should use emacsclientw.
>>
>> Eli,
>>
>> Can you share your incantation to launch emacsclient?  I normally
>> launch using the below.
>>
>> C:\emacs-28.0.91\bin\emacsclientw.exe -n -a "" -eval "(raise-frame)"
>
> Hi Corwin, why --no-wait?
>
>> I haven't tried to configure it as the editor for git-for-windows yet
>> but I'm interested to try it out.
>
> If you have a running Emacs already with M-x server-start, or in the
> init file.  Then pointing the installer to
>
>   C:\emacs-28.0.91\bin\emacsclientw.exe
>
> without any options was enough in my case to get the test file in my
> Emacs GUI frame.

Yep, but only for the installer tests.. 

 After actually using Git Bash I realised that the installer doesn't
change the global git configuration file

  ~/.gitconfig

when there's an editor line already there, no matter what the installer
gets fed.

At last I got emacsclient to run from Git Bash but, funnily, only with
the last line!?  (Please note the quotes and /C/ without colons.)

  [core]
  #     editor = \"C:/Program Files (x86)/GitExtensions/GitExtensions.exe\" 
fileeditor
  #     editor = /C/Program Files/Emacs/emacs-28.0.91/bin/emacsclient.exe 
--alternate-editor=\"\"
          editor = \"/C/Program Files/Emacs/emacs-28.0.91/bin/emacsclient.exe\" 
--alternate-editor=\"\"
  

Possibly using backlashes might also be a permissible pattern but I've
got enough for today.

Have a good time

  Dieter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]