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

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

Re: emacsclient uses obsolete "server" file on Windows


From: Juanma Barranquero
Subject: Re: emacsclient uses obsolete "server" file on Windows
Date: Thu, 12 Jun 2008 11:48:36 +0200

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))))

though I'd love to know how likely that is, vs. problems like the one
you reported.

    Juanma




reply via email to

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