From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ikumi Keita Newsgroups: gmane.emacs.bugs Subject: bug#12555: 24.2; doc fix for completing-read Date: Wed, 03 Oct 2012 00:35:38 +0900 Message-ID: <2716.1349192138@localhost> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1349192227 7188 80.91.229.3 (2 Oct 2012 15:37:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2012 15:37:07 +0000 (UTC) To: 12555@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 02 17:37:12 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TJ4Wg-0000ZK-JL for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Oct 2012 17:36:50 +0200 Original-Received: from localhost ([::1]:35581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ4Wb-0006XW-3d for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Oct 2012 11:36:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ4WS-0006Vi-E6 for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:36:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ4WM-00085E-Ai for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:36:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ4WM-000855-7N for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:36:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TJ4Ws-0000LA-Fx for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2012 11:37:02 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13491922031279 (code B ref -1); Tue, 02 Oct 2012 15:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2012 15:36:43 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65110 Archived-At: 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)