emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

switch-to-buffer could avoid current buffer in completions


From: Miguel V. S. Frasson
Subject: switch-to-buffer could avoid current buffer in completions
Date: Wed, 11 May 2005 21:07:47 -0300

Symptoms:

Suppose that I have some buffers opened, but the name of two of them
start with the same string, like "foo.tex" and "foo.el".

Suppose that I am editing "foo.tex" and that I like to switch-to-buffer
to "foo.el".  C-x b and I type "foo" and TAB for completions.  Now I get
a completion to "foo." and a second hit of TAB shows me a list of
possible completions: "foo.el" and "foo.tex".

The completion could avoid the current buffer (because one problably
does not want to switch to current buffer), so this situation would
yield to the completion "foo.el".  It is more an user convenience.

Thanks.

Miguel.

In GNU Emacs 21.3.50.1 (i386-mingw-nt5.0.2195)
 of 2004-12-23 on FARIBA
Distributor `Microsoft Corp.', version 5.0.2195
configured using `configure --with-gcc (3.2) --cflags -Id:/bijan/dev/include/'

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: PTB
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: MetaPost

Minor modes in effect:
  file-name-shadow-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  show-paren-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
s { } <left> T e s i n a . 4 C-x C-s C-c C-c <return> 
C-c C-c <return> C-x b T e s <tab> m p <tab> <return> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down-mouse-1> <mouse-movement> 
<mouse-1> <help-echo> <down-mouse-1> <mouse-1> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <report-emacs-bug> C-g C-g C-h 
k C-x b C-x 1 <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
Sorting label...
Removing duplicates... done
Wrote c:/Documents and Settings/USUARIO1/Meus Documentos/Marilia/Tesina.tex
Type `C-c C-l' to display results of compilation.
You should run LaTeX again to get references right, {6} pages.
Type `C-c C-l' to display results of compilation.
LaTeX: successfully formatted {6} pages.
Loading emacsbug...done
Quit [2 times]
Type C-x 1 to remove help window.  C-M-v to scroll the help.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]