unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [multi-tty] emacsclient resets working directory
@ 2007-05-17 13:11 csant
  2007-05-17 14:13 ` Károly Lőrentey
  0 siblings, 1 reply; 3+ messages in thread
From: csant @ 2007-05-17 13:11 UTC (permalink / raw)
  To: emacs-devel

I am not sure this is really a bug (I would consider it such), but it  
certainly is a major annoyance (is it expected behaviour?).  Not sure it  
has been already addressed by David Kastrup when speaking about  
environment.

Start an emacs session
	$ cd ~ && emacs -Q
and `M-x server-start'.  When finding a file from the *scratch* buffer, it  
will start looking from $PWD ( ~/ )

Connect an emacsclient, go back to the main server emacs and find a file  
in *scratch*: it will start looking from the emacsclient's $PWD.  Even  
though I might imagine some use cases, this sounds more like an unexpected  
behaviour: to the user both the server and the client frame are perceived  
as separate emacs instances and the $PWD of the emacsclient should not  
modify the server's one.

/c

	

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [multi-tty] emacsclient resets working directory
  2007-05-17 13:11 [multi-tty] emacsclient resets working directory csant
@ 2007-05-17 14:13 ` Károly Lőrentey
  2007-05-20 16:09   ` Karoly Lorentey
  0 siblings, 1 reply; 3+ messages in thread
From: Károly Lőrentey @ 2007-05-17 14:13 UTC (permalink / raw)
  To: csant; +Cc: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 779 bytes --]

csant wrote:
> Start an emacs session
>     $ cd ~ && emacs -Q
> and `M-x server-start'.  When finding a file from the *scratch* buffer,
> it will start looking from $PWD ( ~/ )
> 
> Connect an emacsclient, go back to the main server emacs and find a file
> in *scratch*: it will start looking from the emacsclient's $PWD.  Even
> though I might imagine some use cases, this sounds more like an
> unexpected behaviour: to the user both the server and the client frame
> are perceived as separate emacs instances and the $PWD of the
> emacsclient should not modify the server's one.

Changing the current directory of *scratch* was an intentional change,
but it now seems a bad idea to me.  I'll fix this by removing the
feature implementing it.

-- 
Károly


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [multi-tty] emacsclient resets working directory
  2007-05-17 14:13 ` Károly Lőrentey
@ 2007-05-20 16:09   ` Karoly Lorentey
  0 siblings, 0 replies; 3+ messages in thread
From: Karoly Lorentey @ 2007-05-20 16:09 UTC (permalink / raw)
  To: emacs-devel; +Cc: csant

Károly Lőrentey wrote:
> csant wrote:
>> Start an emacs session
>>     $ cd ~ && emacs -Q
>> and `M-x server-start'.  When finding a file from the *scratch* buffer,
>> it will start looking from $PWD ( ~/ )
>
> Changing the current directory of *scratch* was an intentional change,
> but it now seems a bad idea to me.  I'll fix this by removing the
> feature implementing it.

Done.

-- 
Karoly

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-20 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-17 13:11 [multi-tty] emacsclient resets working directory csant
2007-05-17 14:13 ` Károly Lőrentey
2007-05-20 16:09   ` Karoly Lorentey

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).