GNU bug report logs -
#7229
23.1; ido guess and ffap bug
Previous Next
Reported by: "Thibault Kruse" <thibault.kruse <at> gmx.de>
Date: Sat, 16 Oct 2010 20:52:02 UTC
Severity: minor
Tags: fixed, patch
Merged with 8990,
24057
Found in versions 23.1, 23.3, 25.1.50
Fixed in version 26.1
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi, the ffap function of ido mode in emacs makes bad guesses after javadoc-style comments:
/**
and xml node ends
<test />
to reproduce:
emacs -q --no-site-file
M-x ido-mode
M-x customize-option ido-use-filename-at-point
Choose guess, set for current session
open *scratch* buffer
enter /**
cursor at the end of that line
M-x ido-find-file (or C-x f): ido suggests /**, instead of pwd
enter <test />
cursor at the end of that line
M-x ido-find-file (or C-x f): ido suggests /, instead of pwd
same for M-x ffap
In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-03-29 on rothera, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
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.utf8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
shell-dirtrack-mode: t
tooltip-mode: t
tool-bar-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
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x <up> <up> M-x c u s <tab> - o <tab> <return> <up>
i d o <tab> <backspace> <backspace> <backspace> <backspace>
u <tab> <tab> <backspace> <tab> <tab> <tab> <backspace>
<backspace> <backspace> <backspace> C-g M-x <up> <return>
i d o - u s <tab> <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> C-g M-x i d o <tab>
m o <tab> <return> M-x <up> <up> <return> i d o <tab>
u <tab> s <tab> f i <tab> <return> C-x b s c r <return>
/ * * C-x C-f C-g M-x i d <tab> o <tab> m o <tab> <return>
x M-x <up> <return> M-x <up> <up> <return> <up> <return>
<help-echo> <down-mouse-1> <help-echo> <help-echo>
<down-mouse-1> C-x b <return> <backspace> C-x C-f C-g
M-x i d o - o <tab> <backspace> <backspace> f i <tab>
f i <tab> <return> C-g M-x f f a <tab> <return> C-g
M-x <up> <up> <up> <return> <up> <return> <down-mouse-1>
<help-echo> <help-echo> <down-mouse-1> <help-echo>
C-x b <return> C-x C-f C-g <return> < t e s t SPC /
> M-x f f a <tab> <return> C-g <down-mouse-1> <mouse-movement>
<mouse-1> M-x r e p o <tab> <tab> e <backspace> <return>
r t <tab> <return>
Recent messages:
Creating customization setup...done
To install your edits, invoke [State] and choose the Set operation
Quit [3 times]
Creating customization items...
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
To install your edits, invoke [State] and choose the Set operation
Quit [2 times]
Making completion list... [2 times]
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
This bug report was last modified 8 years and 65 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.