GNU bug report logs - #23265
24.5; Docstring of dabbrev-select-buffers-function

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Rolf Ade <rolf@HIDDEN>; dated Sun, 10 Apr 2016 19:10:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug Marked as found in versions 22.1. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 23265 <at> debbugs.gnu.org:


Received: (at 23265) by debbugs.gnu.org; 11 Apr 2016 19:00:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 11 15:00:07 2016
Received: from localhost ([127.0.0.1]:59727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aph4B-0007Xc-Bz
	for submit <at> debbugs.gnu.org; Mon, 11 Apr 2016 15:00:07 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39623)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1aph4A-0007Vl-20
 for 23265 <at> debbugs.gnu.org; Mon, 11 Apr 2016 15:00:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1aph3z-0006cB-QH
 for 23265 <at> debbugs.gnu.org; Mon, 11 Apr 2016 15:00:00 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38572)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1aph3z-0006c7-N8; Mon, 11 Apr 2016 14:59:55 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1377
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1aph3z-0001Go-0v; Mon, 11 Apr 2016 14:59:55 -0400
Date: Mon, 11 Apr 2016 21:59:23 +0300
Message-Id: <83vb3oezuc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: monnier@HIDDEN
In-reply-to: <83wpo4f0et.fsf@HIDDEN> (message from Eli Zaretskii on Mon, 11
 Apr 2016 21:47:06 +0300)
Subject: Re: bug#23265: 24.5; Docstring of dabbrev-select-buffers-function
References: <87zit18ekg.fsf@HIDDEN> <83wpo4f0et.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.0 (------)
X-Debbugs-Envelope-To: 23265
Cc: 23265 <at> debbugs.gnu.org, rolf@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Mon, 11 Apr 2016 21:47:06 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23265; Package emacs. Full text available.

Message received at 23265 <at> debbugs.gnu.org:


Received: (at 23265) by debbugs.gnu.org; 11 Apr 2016 18:47:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 11 14:47:50 2016
Received: from localhost ([127.0.0.1]:59717 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1apgsH-0007Ex-TI
	for submit <at> debbugs.gnu.org; Mon, 11 Apr 2016 14:47:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37854)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1apgsG-0007Ek-F6
 for 23265 <at> debbugs.gnu.org; Mon, 11 Apr 2016 14:47:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1apgs8-0004Wl-50
 for 23265 <at> debbugs.gnu.org; Mon, 11 Apr 2016 14:47:43 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_50,NULL_IN_BODY,
 RP_MATCHES_RCVD autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38447)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1apgs8-0004Wh-1U; Mon, 11 Apr 2016 14:47:40 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1372
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1apgs7-0002eh-5T; Mon, 11 Apr 2016 14:47:39 -0400
Date: Mon, 11 Apr 2016 21:47:06 +0300
Message-Id: <83wpo4f0et.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Rolf Ade <rolf@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
In-reply-to: <87zit18ekg.fsf@HIDDEN> (message from Rolf Ade on
 Sun, 10 Apr 2016 21:10:55 +0200)
Subject: Re: bug#23265: 24.5; Docstring of dabbrev-select-buffers-function
References: <87zit18ekg.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.5 (-----)
X-Debbugs-Envelope-To: 23265
Cc: 23265 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.5 (-----)

> From: Rolf Ade <rolf@HIDDEN>
> 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@HIDDEN:
bug#23265; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Apr 2016 19:09:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 10 15:09:06 2016
Received: from localhost ([127.0.0.1]:57545 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1apKjJ-00017p-Qd
	for submit <at> debbugs.gnu.org; Sun, 10 Apr 2016 15:09:05 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54095)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rolf@HIDDEN>) id 1apKjI-00017M-SB
 for submit <at> debbugs.gnu.org; Sun, 10 Apr 2016 15:09:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rolf@HIDDEN>) id 1apKjC-0006yG-Tq
 for submit <at> debbugs.gnu.org; Sun, 10 Apr 2016 15:08:59 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43970)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rolf@HIDDEN>) id 1apKjC-0006yC-QK
 for submit <at> debbugs.gnu.org; Sun, 10 Apr 2016 15:08:58 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45065)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rolf@HIDDEN>) id 1apKjB-0004pm-T5
 for bug-gnu-emacs@HIDDEN; Sun, 10 Apr 2016 15:08:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rolf@HIDDEN>) id 1apKj6-0006xO-TE
 for bug-gnu-emacs@HIDDEN; Sun, 10 Apr 2016 15:08:57 -0400
Received: from mxout3.interscholz.de ([85.236.196.238]:57328)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rolf@HIDDEN>) id 1apKj6-0006xK-Ma
 for bug-gnu-emacs@HIDDEN; Sun, 10 Apr 2016 15:08:52 -0400
Received: from localhost (mxout3 [127.0.0.1])
 by mxout3.interscholz.de (Postfix) with ESMTP id BADF8219C8
 for <bug-gnu-emacs@HIDDEN>; Sun, 10 Apr 2016 21:08:49 +0200 (CEST)
X-Virus-Scanned: interscholz amavisd-new at mxout3.interscholz.de
Received: from server.web01.interscholz.net (server.web01.interscholz.net
 [85.236.196.138])
 by mxout3.interscholz.de (Postfix) with ESMTP id 332592015F
 for <bug-gnu-emacs@HIDDEN>; Sun, 10 Apr 2016 21:08:49 +0200 (CEST)
Received: from point.pointsman.de (x5d842978.dyn.telefonica.de [93.132.41.120])
 by server.web01.interscholz.net (Postfix) with ESMTPSA id 1F9103403AA;
 Sun, 10 Apr 2016 21:08:47 +0200 (CEST)
From: Rolf Ade <rolf@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.5; Docstring of dabbrev-select-buffers-function
Date: Sun, 10 Apr 2016 21:10:55 +0200
Message-ID: <87zit18ekg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


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) "=C3=83=C3=84!=C2=88=C3=85=
=3D=C2=83.=00=C3=86=C3=87	!=C3=81\".=C3=88	=C3=89#.=C3=8A
@!=C2=88
A=C2=83'.
Ab=C2=82*.=C3=8B=C3=8C!)=C2=87" [file fun location require find-func C-sour=
ce 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.




Acknowledgement sent to Rolf Ade <rolf@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#23265; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 12 Apr 2016 00:00:02 UTC

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