unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7229: 23.1; ido guess and ffap bug
@ 2010-10-16 20:08 Thibault Kruse
  2010-10-24 19:06 ` bug#7229: patch Thibault Kruse
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Thibault Kruse @ 2010-10-16 20:08 UTC (permalink / raw)
  To: 7229

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





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-07-13 18:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-16 20:08 bug#7229: 23.1; ido guess and ffap bug Thibault Kruse
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).