unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20201: 25.0.50; server-buffer-clients is not defined in minor-mode help
@ 2015-03-25 17:56   ` nick caruso
  2015-03-26 21:49     ` Glenn Morris
       [not found]     ` <handler.20201.D20286.142860459328585.notifdone@debbugs.gnu.org>
  0 siblings, 2 replies; 10+ messages in thread
From: nick caruso @ 2015-03-25 17:56 UTC (permalink / raw)
  To: 20201

[-- Attachment #1: Type: text/plain, Size: 3833 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 5034 bytes --]

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

* bug#20201: 25.0.50; server-buffer-clients is not defined in minor-mode help
  2015-03-25 17:56   ` bug#20201: 25.0.50; server-buffer-clients is not defined in minor-mode help nick caruso
@ 2015-03-26 21:49     ` Glenn Morris
  2015-03-26 21:58       ` Glenn Morris
       [not found]     ` <handler.20201.D20286.142860459328585.notifdone@debbugs.gnu.org>
  1 sibling, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2015-03-26 21:49 UTC (permalink / raw)
  To: nick caruso; +Cc: 20201

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.





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

* bug#20201: 25.0.50; server-buffer-clients is not defined in minor-mode help
  2015-03-26 21:49     ` Glenn Morris
@ 2015-03-26 21:58       ` Glenn Morris
  2015-04-24 18:50         ` Glenn Morris
  0 siblings, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2015-03-26 21:58 UTC (permalink / raw)
  To: nick caruso; +Cc: 20201

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.





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

* bug#20286: 25.0.50; Alias to undefined command
@ 2015-04-09 18:10 Philipp Stephani
  2015-04-09 18:15 ` Glenn Morris
  2015-04-09 18:36 ` Eli Zaretskii
  0 siblings, 2 replies; 10+ messages in thread
From: Philipp Stephani @ 2015-04-09 18:10 UTC (permalink / raw)
  To: 20286


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.




In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.1.0, NS appkit-1344.72 Version 10.10.2 (Build 14C1514))
 of 2015-04-08 on p
Repository revision: 1ea75a1ac2f65e50e9ac2dc9b3dcebaa9de55fa6
Windowing system distributor `Apple', version 10.3.1344
Configured using:
 `configure --with-ns --prefix=/usr/local/emacs'

Configured features:
IMAGEMAGICK DBUS ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  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
  line-number-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
s-i is undefined
command-execute: Wrong type argument: commandp, foo
Type C-x 1 to delete the help window.
Making completion list...

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 help-fns help-mode easymenu edmacro kmacro
cl-loaddefs pcase cl-lib time-date tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel ns-win 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
dbusbind cocoa ns multi-tty emacs)

Memory information:
((conses 16 80538 4357)
 (symbols 48 18822 1)
 (miscs 40 44 191)
 (strings 32 13562 4387)
 (string-bytes 1 382394)
 (vectors 16 10190)
 (vector-slots 8 386927 5192)
 (floats 8 84 220)
 (intervals 56 197 22)
 (buffers 976 13))





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

* bug#20286: 25.0.50; Alias to undefined command
  2015-04-09 18:10 bug#20286: 25.0.50; Alias to undefined command Philipp Stephani
@ 2015-04-09 18:15 ` Glenn Morris
  2015-04-09 18:36 ` Eli Zaretskii
  1 sibling, 0 replies; 10+ messages in thread
From: Glenn Morris @ 2015-04-09 18:15 UTC (permalink / raw)
  To: Philipp Stephani; +Cc: 20286


This is basically a dupe of 20201.





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

* bug#20286: 25.0.50; Alias to undefined command
  2015-04-09 18:10 bug#20286: 25.0.50; Alias to undefined command Philipp Stephani
  2015-04-09 18:15 ` Glenn Morris
@ 2015-04-09 18:36 ` Eli Zaretskii
  2015-03-25 17:56   ` bug#20201: 25.0.50; server-buffer-clients is not defined in minor-mode help nick caruso
                     ` (2 more replies)
  1 sibling, 3 replies; 10+ messages in thread
From: Eli Zaretskii @ 2015-04-09 18:36 UTC (permalink / raw)
  To: Philipp Stephani; +Cc: 20286-done

> From: Philipp Stephani <p.stephani2@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.





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

* bug#20201: closed (Re: bug#20286: 25.0.50; Alias to undefined command)
       [not found]     ` <handler.20201.D20286.142860459328585.notifdone@debbugs.gnu.org>
@ 2015-04-09 18:45       ` nick caruso
  0 siblings, 0 replies; 10+ messages in thread
From: nick caruso @ 2015-04-09 18:45 UTC (permalink / raw)
  To: 20201

[-- Attachment #1: Type: text/plain, Size: 5599 bytes --]

Your software asked me to file a bug.
On Apr 9, 2015 2:37 PM, "GNU bug Tracking System" <help-debbugs@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@debbugs.gnu.org.
>
> --
> 20286: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20286
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
>
>
> ---------- Forwarded message ----------
> From: Eli Zaretskii <eliz@gnu.org>
> To: Philipp Stephani <p.stephani2@gmail.com>
> Cc: 20286-done@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@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@gmail.com>
> To: bug-gnu-emacs@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))
>
>
>

[-- Attachment #2: Type: text/html, Size: 7505 bytes --]

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

* bug#20286: 25.0.50; Alias to undefined command
  2015-04-09 18:36 ` Eli Zaretskii
  2015-03-25 17:56   ` bug#20201: 25.0.50; server-buffer-clients is not defined in minor-mode help nick caruso
@ 2015-04-09 18:47   ` Philipp Stephani
  2015-04-09 19:25   ` Glenn Morris
  2 siblings, 0 replies; 10+ messages in thread
From: Philipp Stephani @ 2015-04-09 18:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 20286-done

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

Eli Zaretskii <eliz@gnu.org> schrieb am Do., 9. Apr. 2015 um 20:36 Uhr:

> > From: Philipp Stephani <p.stephani2@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.
>

The bug is about the message printed by describe-function, see the dupe.

[-- Attachment #2: Type: text/html, Size: 1098 bytes --]

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

* bug#20286: 25.0.50; Alias to undefined command
  2015-04-09 18:36 ` Eli Zaretskii
  2015-03-25 17:56   ` bug#20201: 25.0.50; server-buffer-clients is not defined in minor-mode help nick caruso
  2015-04-09 18:47   ` bug#20286: 25.0.50; Alias to undefined command Philipp Stephani
@ 2015-04-09 19:25   ` Glenn Morris
  2 siblings, 0 replies; 10+ messages in thread
From: Glenn Morris @ 2015-04-09 19:25 UTC (permalink / raw)
  To: 20286; +Cc: p.stephani2


No, someone needs to fix describe-function-1, as I said in
http://debbugs.gnu.org/20201#13





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

* bug#20201: 25.0.50; server-buffer-clients is not defined in minor-mode help
  2015-03-26 21:58       ` Glenn Morris
@ 2015-04-24 18:50         ` Glenn Morris
  0 siblings, 0 replies; 10+ messages in thread
From: Glenn Morris @ 2015-04-24 18:50 UTC (permalink / raw)
  To: 20201-done

Verison: 25.1

Fixed.





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

end of thread, other threads:[~2015-04-24 18:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09 18:10 bug#20286: 25.0.50; Alias to undefined command Philipp Stephani
2015-04-09 18:15 ` Glenn Morris
2015-04-09 18:36 ` Eli Zaretskii
2015-03-25 17:56   ` bug#20201: 25.0.50; server-buffer-clients is not defined in minor-mode help nick caruso
2015-03-26 21:49     ` Glenn Morris
2015-03-26 21:58       ` Glenn Morris
2015-04-24 18:50         ` Glenn Morris
     [not found]     ` <handler.20201.D20286.142860459328585.notifdone@debbugs.gnu.org>
2015-04-09 18:45       ` bug#20201: closed (Re: bug#20286: 25.0.50; Alias to undefined command) nick caruso
2015-04-09 18:47   ` bug#20286: 25.0.50; Alias to undefined command Philipp Stephani
2015-04-09 19:25   ` Glenn Morris

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