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

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

file-name-shadow-mode and minibuffer-avoid-prompt


From: Klaus Zeitler
Subject: file-name-shadow-mode and minibuffer-avoid-prompt
Date: Thu, 14 Jul 2005 16:27:13 +0200 (MEST)

Symptoms:

When I set minibuffer-prompt-properties to minibuffer-avoid-prompt
and use file-name-shadow-mode, I can't get to the first char of the shadowed
part in the minibuffer. Here's an example:

1. start emacs -q --no-site-file
2. M-x file-name-shadow-mode
3. in scratch buffer evaluate:
(setq minibuffer-prompt-properties
      (append minibuffer-prompt-properties
              (list 'point-entered 'minibuffer-avoid-prompt)))
4. e.g. C-x C-f 
   scratch buffer looks e.g. like: "Find file: ~/"
5. enter e.g. a 2nd "/"

I can't move the cursor to the "~".
I also noticed, that when cursor is in the shadowed part, C-a wont move the
cursor to the first char, instead it moves the cursor out of the shadowed part. 

In GNU Emacs 22.0.50.30 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2005-07-12 on sfsws4
X server distributor `Sun Microsystems, Inc.', version 11.0.6410
configured using `configure '--with-gcc' 
'--prefix=/vol/freeware/SunOS-5.8/emacs/cvs' 
'--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share' 
'--with-x-toolkit=motif' 
'--x-includes=/usr/openwin/include:/usr/local/gnu/include:/opt/exp/gnu/include:/opt/exp/include:/opt/exp/lib/xpm/include'
 
'--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib:/opt/exp/gnu/lib:/opt/exp/lib:/opt/exp/lib/xpm/lib'
 '--with-pop' 'CC=gcc''

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

Major mode: Lisp Interaction

Minor modes in effect:
  file-name-shadow-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  transient-mark-mode: identity
  next-error-follow-minor-mode:  Fol

Recent input:
<down-mouse-2> <mouse-2> C-j <help-echo> <help-echo> 
<escape> x f i l e - n a m e - s h SPC SPC <return> 
C-x C-f ~ / <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <right> <right> C-a <left> 
<left> <left> <left> C-a C-g <help-echo> <help-echo> 
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
Loading mwheel...done
(/usr/local/gnu/cvs/head/bin/emacs -Q --no-site-file)
Loading tool-bar...done
Loading image...done
For information about the GNU Project and its goals, type C-h C-p.
Mark set
Loading rfn-eshadow...done
Quit
Loading emacsbug...done




reply via email to

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