[Top][All Lists]

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r100117: Run kill-emacs when exit

From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r100117: Run kill-emacs when exiting for display closed or SIGTERM/HUP.
Date: Mon, 03 May 2010 22:38:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> For this bug report, yes.  But for the more general session management
>>> handling, it really is "start where we stopped".
>> But that's the whole problem: what do you define as "where we stopped"?
>> As I said, there are as many current directories as there are buffers.
> Yes there is, it is what getcwd returns.  That is where the process is
> started.

A far cry from "where we stopped".

> That is the current directory according to the OS.  A process can
> only have one current directory, and Emacs is no different.

But that directory is mostly invisible to Emacs, because Emacs really
doesn't have such a concept (that the OS imposes it on us doesn't make
any difference to it).

>>> Who knows what other/future packages save in the current directory?
>> There's really no such thing as "Emacs's current directory".
> Yes there is, it is what getcwd returns.  Anything else is just cosmetics
> and not the current directory of the Emacs process.

In which way is this getcwd data relevant/useful?


reply via email to

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