unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
@ 2009-02-12 11:16 Damien Cassou
  2011-07-06  1:08 ` Juanma Barranquero
  0 siblings, 1 reply; 7+ messages in thread
From: Damien Cassou @ 2009-02-12 11:16 UTC (permalink / raw)
  To: emacs-pretest-bug

Hi,

when I kill emacs daemon with M-x kill-emacs, it does not delete the
generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
from running correctly.

In GNU Emacs 23.0.90.1 (i486-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-02-10 on iridium, modified by Debian
 (emacs-snapshot package, version 1:20090207-1~intrepid1)
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure  '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.90/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.90/site-lisp:/usr/share/emacs/site-lisp'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed'
'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: fr_FR.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Shell-script

Minor modes in effect:
  shell-dirtrack-mode: t
  show-paren-mode: t
  icomplete-mode: t
  global-hl-line-mode: t
  display-time-mode: t
  diff-auto-refine-mode: t
  recentf-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-c C-x C-c C-x C-c C-p C-p C-p C-p C-k C-k C-n
C-k C-k C-k C-x C-s <down-mouse-2> <mouse-2> C-p C-o
U S E R I D = $ ( ) C-b i d SPC - u C-x C-s C-a C-o
C-n C-n M-x r e p o r t b <backspace> e m <return>
C-g M-x M-p C-s <return> D o n ' t SPC d e l e t e
SPC / t m p / e m a c s $ I D / s e r v e r SPC o n
SPC M-x <switch-frame> M-x k i l l - e m C-g <switch-frame>
C-x o <escape> <escape> <escape> C-_ C-_ C-_ s C-_
C-_ C-x C-s C-a C-o C-x C-s M-x r e p o r t - e m C-s
<return> M-p M-p M-p C-k D o n ' t SPC d e l e t e
SPC / t m p / e m a c s $ U S E R I D / s e r v e r
SPC o n SPC k <switch-frame> M-x d <backspace> <switch-frame>
M-x k i l l - e m C-g <switch-frame> M-x r e p o r
t C-s <return>

Recent messages:
Back to top level.
When done with this frame, type C-x 5 0
Quit
Undo! [4 times]
Redo!
(No changes need to be saved)
Saving file /home/cassou/Documents/configuration/scripts/emacs-server-then-client.sh...
Wrote /home/cassou/Documents/configuration/scripts/emacs-server-then-client.sh
goto-history-element: Beginning of history; no preceding item
byte-code: Command attempted to use minibuffer while in minibuffer
Quit

-- 
Damien Cassou
http://damiencassou.seasidehosting.st






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

* bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
@ 2009-02-12 13:53 Chong Yidong
  2009-02-12 14:07 ` Damien Cassou
  0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2009-02-12 13:53 UTC (permalink / raw)
  To: Damien Cassou; +Cc: 2308

> when I kill emacs daemon with M-x kill-emacs, it does not delete the
> generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
> from running correctly.

I can't reproduce this bug.  Please provide a precise recipe for it,
starting with `emacs -Q --daemon'.






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

* bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
  2009-02-12 13:53 Chong Yidong
@ 2009-02-12 14:07 ` Damien Cassou
  2009-02-12 18:20   ` Chong Yidong
  0 siblings, 1 reply; 7+ messages in thread
From: Damien Cassou @ 2009-02-12 14:07 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 2308

On Thu, Feb 12, 2009 at 2:53 PM, Chong Yidong <cyd@stupidchicken.com> wrote:
>> when I kill emacs daemon with M-x kill-emacs, it does not delete the
>> generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
>> from running correctly.
>
> I can't reproduce this bug.  Please provide a precise recipe for it,
> starting with `emacs -Q --daemon'.

I can't reproduce the bug either with -Q. Here is the recipe without:

$ rm /tmp/emacs1000/server
$ /usr/bin/emacs-snapshot --daemon
...
Starting Emacs daemon.
$ /usr/bin/emacsclient -c -e "(kill-emacs)"
[answer yes to the question]
$ ls /tmp/emacs1000/server
/tmp/emacs1000/server=

I also tried with --no-init-file and could not reproduce the bug
either. But with --no-site-file I was able to reproduce it.

Does it mean there is a problem with my configuration files? How can I find it?

-- 
Damien Cassou
http://damiencassou.seasidehosting.st






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

* bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
  2009-02-12 14:07 ` Damien Cassou
@ 2009-02-12 18:20   ` Chong Yidong
  0 siblings, 0 replies; 7+ messages in thread
From: Chong Yidong @ 2009-02-12 18:20 UTC (permalink / raw)
  To: Damien Cassou; +Cc: 2308

Damien Cassou <damien.cassou@gmail.com> writes:

> I can't reproduce the bug either with -Q.
>
> I also tried with --no-init-file and could not reproduce the bug
> either. But with --no-site-file I was able to reproduce it.
>
> Does it mean there is a problem with my configuration files? How can I
> find it?

Try commenting out half of your configuration file(s), and see which
half causes the problem.  By repeating this bisection procedure, you
should be able to pinpoint the problematic part quite quickly.






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

* bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
  2009-02-12 11:16 bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs Damien Cassou
@ 2011-07-06  1:08 ` Juanma Barranquero
  2011-07-06  5:22   ` Damien Cassou
  0 siblings, 1 reply; 7+ messages in thread
From: Juanma Barranquero @ 2011-07-06  1:08 UTC (permalink / raw)
  To: Damien Cassou; +Cc: 2308

On Thu, Feb 12, 2009 at 12:16, Damien Cassou <damien.cassou@gmail.com> wrote:
>
> when I kill emacs daemon with M-x kill-emacs, it does not delete the
> generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
> from running correctly.

Were you able to reproduce this problem starting from emacs -Q? Does
still happen with newer releases?

    Juanma





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

* bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
  2011-07-06  1:08 ` Juanma Barranquero
@ 2011-07-06  5:22   ` Damien Cassou
  2011-07-06  9:14     ` Juanma Barranquero
  0 siblings, 1 reply; 7+ messages in thread
From: Damien Cassou @ 2011-07-06  5:22 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 2308

On Wed, Jul 6, 2011 at 3:08 AM, Juanma Barranquero <lekktu@gmail.com> wrote:
>> when I kill emacs daemon with M-x kill-emacs, it does not delete the
>> generated file /tmp/emacs$USERID/server, preventing a new emacs daemon
>> from running correctly.
>
> Were you able to reproduce this problem starting from emacs -Q? Does
> still happen with newer releases?

I don't have this problem anymore with recent versions of Emacs.

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry





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

* bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs
  2011-07-06  5:22   ` Damien Cassou
@ 2011-07-06  9:14     ` Juanma Barranquero
  0 siblings, 0 replies; 7+ messages in thread
From: Juanma Barranquero @ 2011-07-06  9:14 UTC (permalink / raw)
  To: Damien Cassou; +Cc: 2308-done

On Wed, Jul 6, 2011 at 07:22, Damien Cassou <damien.cassou@gmail.com> wrote:

> I don't have this problem anymore with recent versions of Emacs.

OK, I'm closing this bug then.

Thanks,

    Juanma





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

end of thread, other threads:[~2011-07-06  9:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-12 11:16 bug#2308: 23.0.90; Don't delete /tmp/emacs$ID/server on kill-emacs Damien Cassou
2011-07-06  1:08 ` Juanma Barranquero
2011-07-06  5:22   ` Damien Cassou
2011-07-06  9:14     ` Juanma Barranquero
  -- strict thread matches above, loose matches on Subject: below --
2009-02-12 13:53 Chong Yidong
2009-02-12 14:07 ` Damien Cassou
2009-02-12 18:20   ` Chong Yidong

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