GNU bug report logs -
#23265
24.5; Docstring of dabbrev-select-buffers-function
Previous Next
Reported by: Rolf Ade <rolf <at> pointsman.de>
Date: Sun, 10 Apr 2016 19:10:02 UTC
Severity: normal
Found in versions 22.1, 24.5
Done: Rolf Ade <rolf <at> pointsman.de>
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 23265 in the body.
You can then email your comments to 23265 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23265
; Package
emacs
.
(Sun, 10 Apr 2016 19:10:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rolf Ade <rolf <at> pointsman.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 10 Apr 2016 19:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I see the following with GNU Emacs 24.5.1 as well as with GNU Emacs
25.0.92.
Start emacs -Q
C-h v dabbrev-select-buffers-function RET
In the help buffer click at dabbrev--select-buffers (or move to point to
it and RET): Instead of the documentation of dabbrev--select-buffers I
get a wild error msg in the echo area:
apply: Wrong number of arguments: #[(fun file) "ÃÄ!Å=. ÆÇ !Á\".È É#.Ê
@!
A'.
Ab*.ËÌ!)" [file fun location require find-func C-source help-C-file-name indirect-function find-function-search-for-symbol nil ...] 4], 1
(The real error msg contains NUL characters. I send them replaced with
. (dot). The real error msg is easy enough to re-produce.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23265
; Package
emacs
.
(Mon, 11 Apr 2016 18:48:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 23265 <at> debbugs.gnu.org (full text, mbox):
> From: Rolf Ade <rolf <at> pointsman.de>
> Date: Sun, 10 Apr 2016 21:10:55 +0200
>
> I see the following with GNU Emacs 24.5.1 as well as with GNU Emacs
> 25.0.92.
>
> Start emacs -Q
>
> C-h v dabbrev-select-buffers-function RET
>
> In the help buffer click at dabbrev--select-buffers (or move to point to
> it and RET): Instead of the documentation of dabbrev--select-buffers I
> get a wild error msg in the echo area:
>
> apply: Wrong number of arguments: #[(fun file) "ÃÄ!Å=. ÆÇ !Á\".È É#.Ê
> @!
> A'.
> Ab*.ËÌ!)" [file fun location require find-func C-source help-C-file-name indirect-function find-function-search-for-symbol nil ...] 4], 1
This is one of only 2 instances we have in all of Emacs of using the
magic words "source of `SOMETHING'" in a doc string. (The other one
is `atomic-change-group' in the doc string of `prepare-change-group',
which exhibits the same error.) These magic words are supposed to
make the help button be of a different type, `help-function-def',
whose help-function requires the minimum of 2 arguments. But it is
actually called with only one argument, so it barfs.
Git blames Stefan, so I CC him. Here's the C-level backtrace which
will hopefully help:
Thread 1 hit Breakpoint 3, xsignal2 (error_symbol=64344,
arg1=-6917529027613047888, arg2=4611686018427387905) at eval.c:1598
1598 xsignal (error_symbol, list2 (arg1, arg2));
(gdb) bt
#0 xsignal2 (error_symbol=64344, arg1=-6917529027613047888,
arg2=4611686018427387905) at eval.c:1598
#1 0x0121f564 in funcall_lambda (fun=-6917529027613047888, nargs=1,
arg_vector=0x82d0a8) at eval.c:2890
#2 0x0121e92e in Ffuncall (nargs=2, args=0x82d0a0) at eval.c:2742
#3 0x0121cbaa in Fapply (nargs=2, args=0x82d0a0) at eval.c:2278
#4 0x0121e213 in Ffuncall (nargs=3, args=0x82d098) at eval.c:2673
#5 0x0127ec68 in exec_byte_code (bytestr=-9223372036759477432,
vector=-6917529027612181080, maxdepth=4611686018427387910,
args_template=0, nargs=0, args=0x0) at bytecode.c:880
#6 0x0121f983 in funcall_lambda (fun=-6917529027612173280, nargs=3,
arg_vector=0x82d650) at eval.c:2921
#7 0x0121e92e in Ffuncall (nargs=4, args=0x82d648) at eval.c:2742
#8 0x0127ec68 in exec_byte_code (bytestr=-9223372036830088496,
vector=-6917529027614880520, maxdepth=4611686018427387910,
args_template=0, nargs=0, args=0x0) at bytecode.c:880
#9 0x0121f983 in funcall_lambda (fun=-6917529027612177144, nargs=1,
arg_vector=0x82dc00) at eval.c:2921
#10 0x0121e92e in Ffuncall (nargs=2, args=0x82dbf8) at eval.c:2742
#11 0x0127ec68 in exec_byte_code (bytestr=-9223372036834047504,
vector=-6917529027620353536, maxdepth=4611686018427387908,
args_template=0, nargs=0, args=0x0) at bytecode.c:880
#12 0x0121f983 in funcall_lambda (fun=-6917529027620353648, nargs=2,
arg_vector=0x82e1a0) at eval.c:2921
#13 0x0121e92e in Ffuncall (nargs=3, args=0x82e198) at eval.c:2742
#14 0x0127ec68 in exec_byte_code (bytestr=-9223372036834045520,
vector=-6917529027620351552, maxdepth=4611686018427387908,
args_template=0, nargs=0, args=0x0) at bytecode.c:880
#15 0x0121f983 in funcall_lambda (fun=-6917529027620351656, nargs=2,
arg_vector=0x82e740) at eval.c:2921
#16 0x0121e92e in Ffuncall (nargs=3, args=0x82e738) at eval.c:2742
#17 0x0127ec68 in exec_byte_code (bytestr=-9223372036834045520,
vector=-6917529027620351552, maxdepth=4611686018427387908,
args_template=0, nargs=0, args=0x0) at bytecode.c:880
#18 0x0121f983 in funcall_lambda (fun=-6917529027620351656, nargs=1,
arg_vector=0x82ef18) at eval.c:2921
#19 0x0121e92e in Ffuncall (nargs=2, args=0x82ef10) at eval.c:2742
#20 0x012106bf in Ffuncall_interactively (nargs=2, args=0x82ef10)
at callint.c:248
#21 0x0121e213 in Ffuncall (nargs=3, args=0x82ef08) at eval.c:2673
#22 0x0121cbaa in Fapply (nargs=3, args=0x82ef08) at eval.c:2278
#23 0x01210e6d in Fcall_interactively (function=4275160176, record_flag=0,
keys=-6917529027616817392) at callint.c:385
#24 0x0121e40f in Ffuncall (nargs=4, args=0x82f1c8) at eval.c:2700
#25 0x0127ec68 in exec_byte_code (bytestr=-9223372036833779432,
vector=-6917529027620085464, maxdepth=4611686018427387917,
args_template=4611686018427388929, nargs=1, args=0x82f780)
at bytecode.c:880
#26 0x0121f33b in funcall_lambda (fun=-6917529027620085528, nargs=1,
arg_vector=0x82f778) at eval.c:2855
#27 0x0121e92e in Ffuncall (nargs=2, args=0x82f770) at eval.c:2742
#28 0x0121dac7 in call1 (fn=15792, arg1=4275160176) at eval.c:2552
#29 0x01151863 in command_loop_1 () at keyboard.c:1471
#30 0x01218ff4 in internal_condition_case (bfun=0x1150da2 <command_loop_1>,
handlers=21168, hfun=0x115003d <cmd_error>) at eval.c:1309
#31 0x01150844 in command_loop_2 (ignore=0) at keyboard.c:1099
#32 0x0121816e in internal_catch (tag=56728, func=0x1150808 <command_loop_2>,
arg=0) at eval.c:1074
#33 0x011507c2 in command_loop () at keyboard.c:1078
#34 0x0114fa59 in recursive_edit_1 () at keyboard.c:684
#35 0x0114fd16 in Frecursive_edit () at keyboard.c:755
#36 0x0114d528 in main (argc=2, argv=0xa427e0) at emacs.c:1605
Lisp Backtrace:
0x1abc3b0 PVEC_COMPILED
"apply" (0x82d0a0)
"help-do-xref" (0x82d650)
"help-button-action" (0x82dc00)
"button-activate" (0x82e1a0)
"push-button" (0x82e740)
"push-button" (0x82ef18)
"funcall-interactively" (0x82ef10)
"call-interactively" (0x82f1d0)
"command-execute" (0x82f778)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23265
; Package
emacs
.
(Mon, 11 Apr 2016 19:01:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 23265 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 11 Apr 2016 21:47:06 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 23265 <at> debbugs.gnu.org
>
> This is one of only 2 instances we have in all of Emacs of using the
> magic words "source of `SOMETHING'" in a doc string.
Btw, this magic string don't seem to be documented.
bug Marked as found in versions 22.1.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 11 Apr 2016 23:45:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Rolf Ade <rolf <at> pointsman.de>
:
You have taken responsibility.
(Tue, 30 Jul 2019 20:25:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rolf Ade <rolf <at> pointsman.de>
:
bug acknowledged by developer.
(Tue, 30 Jul 2019 20:25:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 23265-done <at> debbugs.gnu.org (full text, mbox):
Rolf Ade <rolf <at> pointsman.de> writes:
> I see the following with GNU Emacs 24.5.1 as well as with GNU Emacs
> 25.0.92.
>
> Start emacs -Q
>
> C-h v dabbrev-select-buffers-function RET
>
> In the help buffer click at dabbrev--select-buffers (or move to point to
> it and RET): Instead of the documentation of dabbrev--select-buffers I
> get a wild error msg in the echo area:
>
> apply: Wrong number of arguments: #[(fun file) "ÃÄ!Å=.ÆÇ !Á\".È É#.Ê
> @!
> A'.
> Ab*.ËÌ!)" [file fun location require find-func C-source help-C-file-name indirect-function find-function-search-for-symbol nil ...] 4], 1
>
>
> (The real error msg contains NUL characters. I send them replaced with
> . (dot). The real error msg is easy enough to re-produce.
This error, I saw (and Eli confirmed) in 24.5.1 and 25.0.92 isn't
reproducable anymore in 26.2 and master (of today).
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 28 Aug 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 354 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.