GNU bug report logs - #20201
25.0.50; server-buffer-clients is not defined in minor-mode help

Previous Next

Package: emacs;

Reported by: nick caruso <ngvrnd <at> gmail.com>

Date: Wed, 25 Mar 2015 18:14:01 UTC

Severity: normal

Merged with 20286

Found in version 25.0.50

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20201 in the body.
You can then email your comments to 20201 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20201; Package emacs. (Wed, 25 Mar 2015 18:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to nick caruso <ngvrnd <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 25 Mar 2015 18:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: nick caruso <ngvrnd <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; server-buffer-clients is not defined in minor-mode help
Date: Wed, 25 Mar 2015 13:56:24 -0400
[Message part 1 (text/plain, inline)]
--text follows this line--

On a windows 7 machine, I used the emacsclientw.exe program to edit a
file -- I associated the client with the file type and double clicked
the associated file.  The emacs server was running, and a window popped
up visiting the file I had doubleclicked.
At this point everything is fine.  I left-clicked the mouse on the
"Server" minor mode indicator in the mode line, and selected "help for
minor mode".

At this point a buffer popped up in a new emacs window, containing the
following:
-----------begin buffer contents on next line----------------------
server-buffer-clients is an alias for `server-buffer-clients',
which is not defined.  Please make a bug report.
-----------end buffer contents at end of previous line-------------



In GNU Emacs 25.0.50.1 (x86_64-w64-mingw32)
 of 2015-02-17 on KAEL
Repository revision: 16d91bce1d054c45ccd60efd5bd3ff88c12e39bb
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/z/emacs --host=x86_64-w64-mingw32
 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int
 --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2
 --with-gnutls --with-sound=yes --with-file-notification=yes
 --without-dbus --without-imagemagick 'CFLAGS=-Ofast
 -fomit-frame-pointer -funroll-loops -g0 -pipe' 'LDFLAGS=-static-libgcc
 -static-libstdc++ -static -s -Wl,-s''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: Info

Minor modes in effect:
  show-paren-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t

Recent messages:
Loading paren...done
For information about GNU Emacs and the GNU system, type C-h C-a.
When done with a buffer, type C-x #
Type M-x delete-other-windows to delete the help window.
user-error: No such node or anchor: Top

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils jka-compr info help-mode cc-mode cc-fonts
easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs help-fns cl-macs cl gv zygospore-autoloads server saveplace
paren cus-start cus-load edmacro kmacro cl-loaddefs cl-lib package
epg-config time-date tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process w32notify w32 multi-tty emacs)

Memory information:
((conses 16 153904 10314)
 (symbols 56 24917 0)
 (miscs 48 65 96)
 (strings 32 35442 4889)
 (string-bytes 1 1032043)
 (vectors 16 16197)
 (vector-slots 8 465169 2484)
 (floats 8 73 297)
 (intervals 56 306 40)
 (buffers 976 15))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20201; Package emacs. (Thu, 26 Mar 2015 21:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 20201 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: nick caruso <ngvrnd <at> gmail.com>
Cc: 20201 <at> debbugs.gnu.org
Subject: Re: bug#20201: 25.0.50;
 server-buffer-clients is not defined in minor-mode help
Date: Thu, 26 Mar 2015 17:49:35 -0400
nick caruso wrote:

> At this point everything is fine.  I left-clicked the mouse on the
> "Server" minor mode indicator in the mode line, and selected "help for
> minor mode".
>
> At this point a buffer popped up in a new emacs window, containing the
> following:
> -----------begin buffer contents on next line----------------------
> server-buffer-clients is an alias for `server-buffer-clients',
> which is not defined.  Please make a bug report.

Thanks for the report. I don't think this ("help for minor mode") has
ever worked for "Server". The thing that server.el adds to
minor-mode-alist is not a real minor mode.
minor-mode-menu-from-indicator tries to call
(describe-function 'server-buffer-clients), which fails. But in 24.4 it
fails in a new way.

I think there are 2 (or maybe 3) bugs here:

1) A problem with describe-function, new in 24.4:

(describe-function 'not-defined)

24.3: -> Symbol's function definition is void: not-defined   # fine
24.4: -> 
  not-defined is an alias for `not-defined',
  which is not defined.  Please make a bug report.


2) server.el adding something that is not a minor-mode to minor-mode-alist.


3) minor-mode-menu-from-indicator lack of error trapping for when
describe-function fails.


1) definitely needs to be fixed.




Added indication that bug 20201 blocks19759 Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 26 Mar 2015 21:50:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20201; Package emacs. (Thu, 26 Mar 2015 21:59:02 GMT) Full text and rfc822 format available.

Message #13 received at 20201 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: nick caruso <ngvrnd <at> gmail.com>
Cc: 20201 <at> debbugs.gnu.org
Subject: Re: bug#20201: 25.0.50;
 server-buffer-clients is not defined in minor-mode help
Date: Thu, 26 Mar 2015 17:58:54 -0400
Glenn Morris wrote:

> (describe-function 'not-defined)
>
> 24.3: -> Symbol's function definition is void: not-defined   # fine
> 24.4: -> 
>   not-defined is an alias for `not-defined',
>   which is not defined.  Please make a bug report.

This is due to symbol-function no longer returning an error.
It would be good if someone could fix this for 24.5.
Probably describe-function-1 just needs an fboundp check at some point.




Merged 20201 20286. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 09 Apr 2015 18:17:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20201; Package emacs. (Thu, 09 Apr 2015 18:46:02 GMT) Full text and rfc822 format available.

Message #18 received at 20201 <at> debbugs.gnu.org (full text, mbox):

From: nick caruso <ngvrnd <at> gmail.com>
To: 20201 <at> debbugs.gnu.org
Subject: Re: bug#20201: closed (Re: bug#20286: 25.0.50;
 Alias to undefined command)
Date: Thu, 9 Apr 2015 14:45:05 -0400
[Message part 1 (text/plain, inline)]
Your software asked me to file a bug.
On Apr 9, 2015 2:37 PM, "GNU bug Tracking System" <help-debbugs <at> gnu.org>
wrote:

> Your bug report
>
> #20286: 25.0.50; server-buffer-clients is not defined in minor-mode help
>
> which was filed against the emacs package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 20201 <at> debbugs.gnu.org.
>
> --
> 20286: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20286
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
>
> ---------- Forwarded message ----------
> From: Eli Zaretskii <eliz <at> gnu.org>
> To: Philipp Stephani <p.stephani2 <at> gmail.com>
> Cc: 20286-done <at> debbugs.gnu.org
> Date: Thu, 09 Apr 2015 21:36:34 +0300
> Subject: Re: bug#20286: 25.0.50; Alias to undefined command
> > From: Philipp Stephani <p.stephani2 <at> gmail.com>
> > Date: Thu, 09 Apr 2015 20:10:59 +0200
> >
> >
> > Start Emacs as an OS X GUI app.  Then, evaluate
> >
> >     (global-set-key (kbd "s-i") #'foo)
> >
> > where `foo' is undefined.
> > Then, press C-h k s-i.  The help buffer explains:
> >
> >     s-i runs the command foo (found in global-map), which is an alias
> >     for `foo', which is not defined.  Please make a bug report.
>
> To solve this "bug", don't bind a key to a function that is undefined.
>
>
>
> ---------- Forwarded message ----------
> From: nick caruso <ngvrnd <at> gmail.com>
> To: bug-gnu-emacs <at> gnu.org
> Cc:
> Date: Wed, 25 Mar 2015 13:56:24 -0400
> Subject: 25.0.50; server-buffer-clients is not defined in minor-mode help
> --text follows this line--
>
> On a windows 7 machine, I used the emacsclientw.exe program to edit a
> file -- I associated the client with the file type and double clicked
> the associated file.  The emacs server was running, and a window popped
> up visiting the file I had doubleclicked.
> At this point everything is fine.  I left-clicked the mouse on the
> "Server" minor mode indicator in the mode line, and selected "help for
> minor mode".
>
> At this point a buffer popped up in a new emacs window, containing the
> following:
> -----------begin buffer contents on next line----------------------
> server-buffer-clients is an alias for `server-buffer-clients',
> which is not defined.  Please make a bug report.
> -----------end buffer contents at end of previous line-------------
>
>
>
> In GNU Emacs 25.0.50.1 (x86_64-w64-mingw32)
>  of 2015-02-17 on KAEL
> Repository revision: 16d91bce1d054c45ccd60efd5bd3ff88c12e39bb
> Windowing system distributor `Microsoft Corp.', version 6.1.7601
> Configured using:
>  `configure --prefix=/z/emacs --host=x86_64-w64-mingw32
>  --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int
>  --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2
>  --with-gnutls --with-sound=yes --with-file-notification=yes
>  --without-dbus --without-imagemagick 'CFLAGS=-Ofast
>  -fomit-frame-pointer -funroll-loops -g0 -pipe' 'LDFLAGS=-static-libgcc
>  -static-libstdc++ -static -s -Wl,-s''
>
> Configured features:
> XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
>
> Important settings:
>   value of $LANG: ENU
>   locale-coding-system: cp1252
>
> Major mode: Info
>
> Minor modes in effect:
>   show-paren-mode: t
>   tooltip-mode: t
>   global-eldoc-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   tool-bar-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   buffer-read-only: t
>   column-number-mode: t
>   line-number-mode: t
>
> Recent messages:
> Loading paren...done
> For information about GNU Emacs and the GNU system, type C-h C-a.
> When done with a buffer, type C-x #
> Type M-x delete-other-windows to delete the help window.
> user-error: No such node or anchor: Top
>
> Load-path shadows:
> None found.
>
> Features:
> (shadow sort gnus-util mail-extr emacsbug message dired format-spec
> rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
> mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
> mm-util mail-prsvr mail-utils jka-compr info help-mode cc-mode cc-fonts
> easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
> cc-defs help-fns cl-macs cl gv zygospore-autoloads server saveplace
> paren cus-start cus-load edmacro kmacro cl-loaddefs cl-lib package
> epg-config time-date tooltip eldoc electric uniquify ediff-hook vc-hooks
> lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars
> tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
> elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
> select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
> frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
> tai-viet lao korean japanese hebrew greek romanian slovak czech european
> ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
> simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
> cus-face macroexp files text-properties overlay sha1 md5 base64 format
> env code-pages mule custom widget hashtable-print-readable backquote
> make-network-process w32notify w32 multi-tty emacs)
>
> Memory information:
> ((conses 16 153904 10314)
>  (symbols 56 24917 0)
>  (miscs 48 65 96)
>  (strings 32 35442 4889)
>  (string-bytes 1 1032043)
>  (vectors 16 16197)
>  (vector-slots 8 465169 2484)
>  (floats 8 73 297)
>  (intervals 56 306 40)
>  (buffers 976 15))
>
>
>
[Message part 2 (text/html, inline)]

Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Apr 2015 19:24:02 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 24 Apr 2015 18:51:02 GMT) Full text and rfc822 format available.

Notification sent to nick caruso <ngvrnd <at> gmail.com>:
bug acknowledged by developer. (Fri, 24 Apr 2015 18:51:03 GMT) Full text and rfc822 format available.

Message #25 received at 20201-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 20201-done <at> debbugs.gnu.org
Subject: Re: bug#20201: 25.0.50;
 server-buffer-clients is not defined in minor-mode help
Date: Fri, 24 Apr 2015 14:50:33 -0400
Verison: 25.1

Fixed.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 24 Apr 2015 18:51:03 GMT) Full text and rfc822 format available.

Notification sent to Philipp Stephani <p.stephani2 <at> gmail.com>:
bug acknowledged by developer. (Fri, 24 Apr 2015 18:51:04 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 25.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 24 Apr 2015 19:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 23 May 2015 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.