From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: help-gnu-emacs@gnu.org, djc <newsg@resiak.org>
Subject: Re: emacsclient uses obsolete "server" file on Windows
Date: Thu, 12 Jun 2008 15:48:57 +0200 [thread overview]
Message-ID: <48512949.5020104@gmail.com> (raw)
In-Reply-To: <f7ccd24b0806120248g3860d8a3sd00cb3d5644bc9fe@mail.gmail.com>
Juanma Barranquero wrote:
> On Thu, Jun 12, 2008 at 10:41, djc <newsg@resiak.org> wrote:
>
>> But what is the reason for the design decision not to delete the server
>> authentication file when emacs is killed?
>
> According to the comment in server.el, the risk of the server file not
> being "ours" anymore:
>
> ;; Delete the associated connection file, if applicable.
> ;; This is actually problematic: the file may have been overwritten by
> ;; another Emacs server in the mean time, so it's not ours any more.
> ;; (and (process-contact proc :server)
> ;; (eq (process-status proc) 'closed)
> ;; (ignore-errors (delete-file (process-get proc :server-file))))
Couldn't that be handled by checking the server file modification time?
next prev parent reply other threads:[~2008-06-12 13:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-07 18:05 emacsclient uses obsolete "server" file on Windows djc
2008-06-08 12:06 ` Juanma Barranquero
[not found] ` <mailman.12907.1212926783.18990.help-gnu-emacs@gnu.org>
2008-06-08 15:29 ` djc
2008-06-08 20:38 ` Juanma Barranquero
[not found] ` <mailman.12919.1212957485.18990.help-gnu-emacs@gnu.org>
2008-06-08 20:52 ` djc
2008-06-12 8:41 ` djc
2008-06-12 9:48 ` Juanma Barranquero
2008-06-12 13:48 ` Lennart Borgman (gmail) [this message]
2008-06-12 13:56 ` Juanma Barranquero
2008-06-12 14:15 ` Lennart Borgman (gmail)
2008-06-12 14:33 ` Juanma Barranquero
2008-06-12 18:13 ` Eli Zaretskii
2008-06-12 18:20 ` Juanma Barranquero
2008-06-12 18:22 ` Eli Zaretskii
2008-06-12 18:24 ` Juanma Barranquero
2008-06-14 5:42 ` Bernardo Bacic
2008-06-14 10:57 ` Eli Zaretskii
2008-06-14 23:33 ` Bernardo Bacic
2008-06-14 15:42 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48512949.5020104@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=lekktu@gmail.com \
--cc=newsg@resiak.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.