From: "Juanma Barranquero" <lekktu@gmail.com>
To: djc <newsg@resiak.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacsclient uses obsolete "server" file on Windows
Date: Sun, 8 Jun 2008 22:38:00 +0200 [thread overview]
Message-ID: <f7ccd24b0806081338u3bf13a2cke61dc19e1078992a@mail.gmail.com> (raw)
In-Reply-To: <484BFAE3.1000105@resiak.org>
> I exit with save-buffers-kill-emacs (files.el).
FWIW, I think stopping the server should delete the authentication
file. Alas, it doesn't (and it is not a bug, it is so by design).
You can use this in your .emacs; it's not pretty, but it will help:
(require 'server)
(server-start)
(defvar my-server-file (expand-file-name server-name server-auth-dir))
(add-hook 'kill-emacs-hook
(lambda ()
(condition-case nil
(delete-file my-server-file)
(error nil))))
Juanma
next prev parent reply other threads:[~2008-06-08 20:38 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 [this message]
[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)
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=f7ccd24b0806081338u3bf13a2cke61dc19e1078992a@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--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.