GNU bug report logs - #9598
C-x b completion should also display current buffer.

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sun, 25 Sep 2011 17:36:02 UTC

Severity: normal

Merged with 12916

Found in versions 23.0, 24.0.50, 24.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at control <at> debbugs.gnu.org (full text, mbox):

From: monnier <at> IRO.UMontreal.CA
To: control <at> debbugs.gnu.org
Subject: Re: bug#9598: 24.0.50; completion goes too far
Date: Tue, 27 Sep 2011 16:37:04 -0400
found 9598 23.0
thanks

>>>>> "Richard" == Richard Stallman <rms <at> gnu.org> writes:

> 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':

> I typed C-b R TAB, not noticing I was already in RMAIL,
> and it completed to ` *message-viewer RMAIL*'.

> This is totally surprising and unhelpful.

> I created a buffer called faUlt and found that U TAB completes
> to faUlt.  This sort of thing will only confuse people

> When in the *mail* buffer, I found that C-x b *ma TAB offered me
>     *Shell Command Output* 	les-luthiers.xmail
>     maintainers.bypkg 	rmail.el
>     summary

> and did not mention *mail* at all.  That is confusing and unhelpful
> too, for it to offer buffers that did not have the *'s.

> I surmise it is treating the input as a wildcard pattern.
> I think that is a misguided feature.  The *'s should be
> treated literally.  And the current buffer should not be
> excluded from a completion list, when a completion list is displayed.


> 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/rms/emacs-bzr/trunk/etc/DEBUG.


> In GNU Emacs 24.0.50.4 (mips64el-unknown-linux-gnu, GTK+ Version 2.12.12)
>  of 2011-09-22 on theobromine2
> configured using `configure  'CFLAGS=-g -O1''

> 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: en_US.UTF-8
>   value of $XMODIFIERS: nil
>   locale-coding-system: utf-8-unix
>   default enable-multibyte-characters: t

> Major mode: Fundamental

> Minor modes in effect:
>   shell-dirtrack-mode: t
>   diff-auto-refine-mode: t
>   gpm-mouse-mode: t
>   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
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
>   abbrev-mode: t

> Recent input:
> C-b C-b - C-f C-f - C-e , t DEL DEL . h t m l . C-x 
> C-s C-x b o t g TAB DEL DEL u t g TAB RET g ~ x y e 
> s RET C-x b g n u p TAB RET C-s s h n e C-s C-s C-s 
> y C-s C-a C-s c h n e C-s ESC < C-s C-s C-n C-n C-n 
> C-n C-n C-n C-a C-p C-@ C-e ESC w C-x 4 m C-y C-n C 
> o n v e r g e n c e SPC i n s t e a SPC DEL d SPC o 
> f SPC C A s C-n C-n C-n W h a t SPC d o SPC y o u SPC 
> t h i n k SPC o f SPC C o n v e r g n c e DEL DEL DEL 
> e n c e ? C-c C-c C-x b o u t g TAB RET C-g C-x b C-g 
> g ~ C-x b R TAB RET g C-l C-x 1 n n n d d x n n p n 
> n p n d u n n n n n n n d d d x d d x n x n d x d x 
> n d x o u e f TAB RET d x o e u r o p e . x TAB RET 
> d x ESC x l y n x RET C-v C-v C-v C-v C-v C-v C-v C-v 
> C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v 
> C-v C-x b R TAB RET C-x b R TAB C-g C-h l ESC x r e 
> p o r t SPC e m a c s SPC b u g RET

> Recent messages:
> Expunging deleted messages...done
> Expunging deleted messages...done
> Expunging deleted messages...done
> Expunging deleted messages...done
> Expunging deleted messages...done
> Added to /home/rms/xmail/uefi.xmail
> Expunging deleted messages...done
> Added to /home/rms/xmail/europe.xmail
> Expunging deleted messages...done
> Wrote /home/rms/foo.html
> Quit

> Load-path shadows:
> None found.

> Features:
> (shadow emacsbug compare-w log-view parse-time mule-util quail ispell
> speedbar sb-image ezimage dframe assoc ind-util edmacro kmacro
> dired-aux rmailout sgml-mode ansi-color shell pcomplete grep qp
> dabbrev newcomment warnings cl byte-opt compile comint bytecomp
> byte-compile cconv macroexp find-func help-mode view help-fns cc-mode
> cc-fonts cc-guess cc-bytecomp cc-menus cc-cmds cc-styles cc-align
> cc-engine cc-vars cc-defs whitespace diff-mode log-edit easy-mmode
> ring pcvs-util vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc ediff-merg
> ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init
> ediff vc-dispatcher add-log multi-isearch vc-bzr mailalias rmailmm
> message sendmail format-spec rfc822 mml easymenu mml-sec mm-decode
> mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231
> rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired
> regexp-opt t-mouse time-date battery paren cus-start cus-load 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)


> -- 
> Dr Richard Stallman
> President, Free Software Foundation
> 51 Franklin St
> Boston MA 02110
> USA
> www.fsf.org  www.gnu.org
> Skype: No way! That's nonfree (freedom-denying) software.
>   Use free telephony http://directory.fsf.org/category/tel/






This bug report was last modified 3 years and 107 days ago.

Previous Next


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