From: "Thibault Kruse" <thibault.kruse@gmx.de>
To: 7229@debbugs.gnu.org
Subject: bug#7229: 23.1; ido guess and ffap bug
Date: Sat, 16 Oct 2010 22:08:28 +0200 [thread overview]
Message-ID: <20101016200828.264940@gmx.net> (raw)
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
next reply other threads:[~2010-10-16 20:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-16 20:08 Thibault Kruse [this message]
2010-10-24 19:06 ` bug#7229: patch Thibault Kruse
2010-10-24 19:09 ` Thibault Kruse
2011-03-11 17:02 ` bug#7229: further patch Thibault Kruse
2013-07-11 16:23 ` bug#7229: 23.1; ido guess and ffap bug Leo Liu
2013-07-12 23:03 ` Dmitry Gutov
2013-07-13 1:20 ` Leo Liu
2013-07-13 1:28 ` Dmitry Gutov
2013-07-12 1:20 ` Leo Liu
2013-07-12 1:43 ` Leo Liu
[not found] ` <trinity-a533030b-3b06-4782-a22a-e375aeeb1416-1373614579651@3capp-gmx-bs03>
2013-07-12 7:48 ` bug#7229: Aw: " Leo Liu
[not found] ` <trinity-a290f8a8-f7aa-4dce-8eee-958dff7573c7-1373615567287@3capp-gmx-bs03>
2013-07-13 1:25 ` bug#7229: Aw: " Leo Liu
2013-07-13 8:01 ` bug#7229: Aw: " Thibault Kruse
2013-07-13 17:31 ` Leo Liu
2013-07-13 18:38 ` bug#7229: Aw: Re: bug#7229: " Thibault Kruse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101016200828.264940@gmx.net \
--to=thibault.kruse@gmx.de \
--cc=7229@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.