[Top][All Lists]

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

server buffer killing

From: Ian Zimmerman
Subject: server buffer killing
Date: Fri, 10 Oct 2003 09:41:40 -0700

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-22 on raven, modified by Debian
configured using `configure  i386-debian-linux-gnu --prefix=/usr 
--sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib 
--infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes 
--with-x-toolkit=athena --without-gif'
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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

There seems to be a small but crucial typo in server.el which makes the 
documentation of
server-kill-new-buffers wrong:

  If non-nil, kill a buffer unless it already existed before editing
  it with Emacs server. If nil, kill only buffers as specified by

*** /usr/share/emacs/21.2/lisp/server.el        Sun Oct 21 18:25:57 2001
--- ./server.el Fri Oct 10 09:37:25 2003
*** 401,407 ****
                           (set-buffer buffer)
!                          server-existing-buffer))
                (setq killed t)
                (bury-buffer buffer)
                (kill-buffer buffer))
--- 401,407 ----
                           (set-buffer buffer)
!                          (not server-existing-buffer)))
                (setq killed t)
                (bury-buffer buffer)
                (kill-buffer buffer))

As it is, server buffers for non-temporary files _never_ get killed
with C-x #.  Not really a big deal, as I can always kill them with C-x
k and answer the prompt, but the inconsistency with documentation is
jarring :-)

Wer Schoenheit angeschaut mit Augen, hat dem Tode schon Anheim gegeben.
Von Platen.

reply via email to

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