From unknown Tue Jun 17 22:21:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12555: 24.2; doc fix for completing-read Resent-From: Ikumi Keita Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Oct 2012 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12555@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13491922031279 (code B ref -1); Tue, 02 Oct 2012 15:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2012 15:36:43 +0000 Received: from localhost ([127.0.0.1]:37895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ4WZ-0000Ka-3o for submit@debbugs.gnu.org; Tue, 02 Oct 2012 11:36:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49886) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ4WV-0000KR-G8 for submit@debbugs.gnu.org; Tue, 02 Oct 2012 11:36:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ4Vo-0007yG-OH for submit@debbugs.gnu.org; Tue, 02 Oct 2012 11:36:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:45112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ4Vo-0007y9-Kn for submit@debbugs.gnu.org; Tue, 02 Oct 2012 11:35:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ4Vi-0006Rh-LR for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:35:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ4Vc-0007tO-4N for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:35:50 -0400 Received: from smtpa14.m3.home.ne.jp ([220.152.44.29]:60633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ4Vb-0007sP-Iz for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:35:44 -0400 Received: from localhost.my.domain ([125.15.34.245]) by smtpa14.m3.home.ne.jp with ESMTP id <20121002153539.WEJY17341.smtpa14.m3.home.ne.jp@localhost.my.domain> for ; Wed, 3 Oct 2012 00:35:39 +0900 Received: from localhost (localhost [127.0.0.1]) by localhost.my.domain (Postfix) with ESMTP id 1138B284C8 for ; Wed, 3 Oct 2012 00:35:39 +0900 (JST) X-Mailer: MH-E 8.3.1; MH 6.8.4.JP-3.05; GNU Emacs 24.2.1 Date: Wed, 03 Oct 2012 00:35:38 +0900 Message-ID: <2716.1349192138@localhost> From: Ikumi Keita X-Authentication-Info: Submitted using SMTP AUTH LOGIN at smtpa14.m3.home.ne.jp from [125.15.34.245] at Wed, 3 Oct 2012 00:35:39 +0900 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.2 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': C-h f completing-read RET shows the following message. (snip) If INITIAL-INPUT is non-nil, insert it in the minibuffer initially, (snip) default value DEF instead. The user can yank the default value into the minibuffer easily using M-x next-history-element. I suppose "M-n" is better for the last part than "M-x next-history-element". Here is a working fix. *** minibuf.c.orig 2012-08-23 14:33:42.000000000 +0900 --- minibuf.c 2012-08-28 22:49:49.000000000 +0900 *************** DEFUN ("completing-read", Fcompleting_re *** 1687,1693 **** functions, which use one-indexing for POSITION.) This feature is deprecated--it is best to pass nil for INITIAL-INPUT and supply the default value DEF instead. The user can yank the default value into ! the minibuffer easily using \\[next-history-element]. HIST, if non-nil, specifies a history list and optionally the initial position in the list. It can be a symbol, which is the history list --- 1687,1693 ---- functions, which use one-indexing for POSITION.) This feature is deprecated--it is best to pass nil for INITIAL-INPUT and supply the default value DEF instead. The user can yank the default value into ! the minibuffer easily using \\\\[next-history-element]. HIST, if non-nil, specifies a history list and optionally the initial position in the list. It can be a symbol, which is the history list If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /home/keita/scr/emacs-24.2/etc/DEBUG. In GNU Emacs 24.2.1 (i386-unknown-freebsd9.0, GTK+ Version 2.24.6) of 2012-10-02 on localhost.my.domain Windowing system distributor `The X.Org Foundation', version 11.0.10707000 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: ja_JP.eucJP value of $XMODIFIERS: @im=ibus locale-coding-system: japanese-iso-8bit-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 transient-mark-mode: t Recent input: C-h f c o m p l e i g t i n M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Type C-x 1 to delete the help window, C-M-v to scroll help. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu view help-fns time-date japan-util tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From unknown Tue Jun 17 22:21:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ikumi Keita Subject: bug#12555: closed (Re: bug#12555: 24.2; doc fix for completing-read) Message-ID: References: <2716.1349192138@localhost> X-Gnu-PR-Message: they-closed 12555 X-Gnu-PR-Package: emacs Reply-To: 12555@debbugs.gnu.org Date: Thu, 04 Oct 2012 07:33:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1349335984-20447-1" This is a multi-part message in MIME format... ------------=_1349335984-20447-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12555: 24.2; doc fix for completing-read 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 12555@debbugs.gnu.org. --=20 12555: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12555 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1349335984-20447-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12555-done) by debbugs.gnu.org; 4 Oct 2012 07:32:47 +0000 Received: from localhost ([127.0.0.1]:52236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJfvK-0005JK-7l for submit@debbugs.gnu.org; Thu, 04 Oct 2012 03:32:47 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35659 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJfvI-0005JD-89 for 12555-done@debbugs.gnu.org; Thu, 04 Oct 2012 03:32:44 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TJfvD-000800-RT; Thu, 04 Oct 2012 03:32:39 -0400 From: Glenn Morris To: 12555-done@debbugs.gnu.org Subject: Re: bug#12555: 24.2; doc fix for completing-read References: <2716.1349192138@localhost> X-Spook: Elvis AIEWS Syria ASPIC NWO S Key Watergate supercomputer X-Ran: +"2;s){Zl&%LSG),@fSyF;x3m0cOy}_57R|2OfC02%z-Kv4+)5*Is#*IQ1"BHWF'@Ta$/l X-Hue: green X-Attribution: GM Date: Thu, 04 Oct 2012 03:32:39 -0400 In-Reply-To: <2716.1349192138@localhost> (Ikumi Keita's message of "Wed, 03 Oct 2012 00:35:38 +0900") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 12555-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) Version: 24.3 Thanks; applied to emacs-24 branch. ------------=_1349335984-20447-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Oct 2012 15:36:43 +0000 Received: from localhost ([127.0.0.1]:37895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ4WZ-0000Ka-3o for submit@debbugs.gnu.org; Tue, 02 Oct 2012 11:36:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49886) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJ4WV-0000KR-G8 for submit@debbugs.gnu.org; Tue, 02 Oct 2012 11:36:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ4Vo-0007yG-OH for submit@debbugs.gnu.org; Tue, 02 Oct 2012 11:36:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:45112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ4Vo-0007y9-Kn for submit@debbugs.gnu.org; Tue, 02 Oct 2012 11:35:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ4Vi-0006Rh-LR for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:35:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ4Vc-0007tO-4N for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:35:50 -0400 Received: from smtpa14.m3.home.ne.jp ([220.152.44.29]:60633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ4Vb-0007sP-Iz for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:35:44 -0400 Received: from localhost.my.domain ([125.15.34.245]) by smtpa14.m3.home.ne.jp with ESMTP id <20121002153539.WEJY17341.smtpa14.m3.home.ne.jp@localhost.my.domain> for ; Wed, 3 Oct 2012 00:35:39 +0900 Received: from localhost (localhost [127.0.0.1]) by localhost.my.domain (Postfix) with ESMTP id 1138B284C8 for ; Wed, 3 Oct 2012 00:35:39 +0900 (JST) To: bug-gnu-emacs@gnu.org Subject: 24.2; doc fix for completing-read X-Mailer: MH-E 8.3.1; MH 6.8.4.JP-3.05; GNU Emacs 24.2.1 Date: Wed, 03 Oct 2012 00:35:38 +0900 Message-ID: <2716.1349192138@localhost> From: Ikumi Keita X-Authentication-Info: Submitted using SMTP AUTH LOGIN at smtpa14.m3.home.ne.jp from [125.15.34.245] at Wed, 3 Oct 2012 00:35:39 +0900 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': C-h f completing-read RET shows the following message. (snip) If INITIAL-INPUT is non-nil, insert it in the minibuffer initially, (snip) default value DEF instead. The user can yank the default value into the minibuffer easily using M-x next-history-element. I suppose "M-n" is better for the last part than "M-x next-history-element". Here is a working fix. *** minibuf.c.orig 2012-08-23 14:33:42.000000000 +0900 --- minibuf.c 2012-08-28 22:49:49.000000000 +0900 *************** DEFUN ("completing-read", Fcompleting_re *** 1687,1693 **** functions, which use one-indexing for POSITION.) This feature is deprecated--it is best to pass nil for INITIAL-INPUT and supply the default value DEF instead. The user can yank the default value into ! the minibuffer easily using \\[next-history-element]. HIST, if non-nil, specifies a history list and optionally the initial position in the list. It can be a symbol, which is the history list --- 1687,1693 ---- functions, which use one-indexing for POSITION.) This feature is deprecated--it is best to pass nil for INITIAL-INPUT and supply the default value DEF instead. The user can yank the default value into ! the minibuffer easily using \\\\[next-history-element]. HIST, if non-nil, specifies a history list and optionally the initial position in the list. It can be a symbol, which is the history list If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /home/keita/scr/emacs-24.2/etc/DEBUG. In GNU Emacs 24.2.1 (i386-unknown-freebsd9.0, GTK+ Version 2.24.6) of 2012-10-02 on localhost.my.domain Windowing system distributor `The X.Org Foundation', version 11.0.10707000 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: ja_JP.eucJP value of $XMODIFIERS: @im=ibus locale-coding-system: japanese-iso-8bit-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 transient-mark-mode: t Recent input: C-h f c o m p l e i g t i n M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Type C-x 1 to delete the help window, C-M-v to scroll help. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu view help-fns time-date japan-util tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) ------------=_1349335984-20447-1--