Subject: 23.0.90; Use different faces in *Completion* buffers

From: Tassilo Horn <[email-masked]>
Date: Wed, 25 Feb 2009 22:19:09 +0100

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

This is only a suggestion, but in my opinion it would be very convenient
if the different completion result types in *Completion* buffers would
use different faces.

For example when completing filenames

  - directories would use the dired-directory face,
  - symlinks would use the dired-symlink face, and
  - normal files would stay in the default face.

Using separate faces (maybe inheriting from the dired faces) would be
even better.

I think different faces are much better to distinguish than only the "/"
to distinguish directories from files.  (Currently there's no difference
between symlinks and normal files at all.)

The same could be done for symbol completion, where one might want to
distinguish variables from functions and so on.

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'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.0.90/etc/DEBUG for instructions.

In GNU Emacs 23.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-02-25 on thinkpad
Windowing system distributor `The X.Org Foundation', version 11.0.10503000
configured using `configure  '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-g -ggdb -O1 -pipe' 'LDFLAGS=''

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

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  rcirc-track-minor-mode: t
  recentf-mode: t
  window-number-meta-mode: t
  window-number-mode: t
  savehist-mode: t
  exec-abbrev-cmd-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <up> <up> <up> <up> 
<up> <up> <down> <down> <down> <down> <return> M-2 
M-1 <tab> <return> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <up> <up> <up> <up> 
<up> <up> M-1 C-x k <return> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
C-s f i <down> <up> <down> C-h f <return> C-x k <return> 
C-x k <return> C-x k <return> <escape> <escape> <escape> 
M-x C-. t t s s <return> M-x r C-g C-x b <return> <next> 
<next> <next> <next> <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> M-x C-. t 
t s s <return> M-x C-. t t s s <return> C-x x t h - 
t o <tab> C-g C-x C-f . e m a <tab> <return> y <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> C-h v <return> <next> <next> 
<next> <next> <next> <next> <next> <next> <next> <next> 
<next> <next> <next> <next> <next> <next> <next> <next> 
<next> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <up> 
<up> <up> <up> <down> <up> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
C-h f <return> <next> <next> <next> <next> <next> <next> 
<next> <down> <down> <down> <down> <down> <down> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> C-h f <return> M-x C-g C-x 
k <return> M-x g <return> <return> M-x r e b <return> 
<return> C-x k <return> y M-x r e b <return>

Recent messages:
20090225T220430.310> Opening nntp server on Uni...
20090225T220430.311> Opening nntp server on Uni...done
20090225T220430.429> No new newsgroups
20090225T220430.433> Checking new news...
20090225T220430.667> Opening nnml server on archive...
20090225T220430.669> Opening nnml server on archive...done
20090225T220430.710> Opening nnml server on archive...
20090225T220430.712> Opening nnml server on archive...done
20090225T220430.715> Checking new news...done
Buffer *mail to [email-masked]* modified; kill anyway? (y or n) 

-- 
Richard  Stallman  needs  neither  mouse  nor keyboard  to  operate  his
computer. He just stares it down until it does what he wants.