help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: 24.1.50 + lexical-binding + server.el + server-visit-hook = problem


From: Jim Diamond
Subject: Re: 24.1.50 + lexical-binding + server.el + server-visit-hook = problem
Date: Tue, 26 Jun 2012 13:15:59 -0300
User-agent: slrn/0.9.9p1 (Linux)

On 2012-06-25 at 20:03 ADT, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>>>> Thanks for your thoughts.  Given the lack of discussion in this
>>>> thread, I get the idea I'm the only person doing anything like this.
>>> Maybe, but I'd still accept a patch that makes it easier,
>> When you say "I'd accept a patch", does that mean you are willing to
>> put such a thing in, assuming the patch is OK?
> Yes.
Great.

>> If so, how about this diff against the server.el from 24.1:
>> diff server.el.orig server.el      
>> 1131c1131,1133
>> <                  (setq dir (command-line-normalize-file-name dir)))
>> ---
>> > (setq dir (command-line-normalize-file-name dir))
>> > (process-put proc 'emacsclient-cwd dir)
>> > )
>
> "diff -u" is a better choice for output format, but thanks.
I figured I should use another incantation of diff, but given the lack
of extensiveness, I figured that might do.

> The patch looks good, I installed it in Emacs's trunk.
Thanks very much.

>> In my tests, that does what I want.  I'm not in love with the name
>> "emacsclient-cwd", so if there is something which is seen as a better
>> name, that's find with me.
> I've changed it to `server-client-directory' (the "server-" part is
> just a kind of "module name prefix").
Sounds fine.

Thanks for your help with this.

                                Jim


reply via email to

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