* 23.0.50; ffap fails to recognize files whose names use backslashes
@ 2008-01-05 20:38 Eric Hanchrow
2008-01-08 8:22 ` Glenn Morris
0 siblings, 1 reply; 4+ messages in thread
From: Eric Hanchrow @ 2008-01-05 20:38 UTC (permalink / raw
To: emacs-pretest-bug
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 emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
* I started emacs with "runemacs -Q"
* In the *scratch* buffer, I typed c:\autoexec.bat
* I then typed M-x ffap RET
I expected to see a minibuffer prompt that looked like
Find file or URL: c:\autoexec.bat
Instead, I saw
Find file or URL: c:/cygwin/usr/local/src/emacs-cvs/bin/
(That directory was in fact my current directory.)
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
c:/cygwin/usr/local/src/emacs-cvs/etc/DEBUG for instructions.
In GNU Emacs 23.0.50.1 (i386-mingw-nt5.1.2600)
of 2008-01-05 on FLAP
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
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: ENU
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
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
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
/ e t c / p a s s w d M-b M-x f f a p <return> C-g
C-x d c : / <return> q C-a C-k c : \ a u t o e x e
c . b a t M-x f f a p <return> C-g M-b M-x f f a p
<return> C-g M-b <backspace> / M-x f f a p <return>
<return> C-x k <return> <backspace> ] <backspace> \
M-x f f a p <return> <return> q M-x r e p o r <tab>
<return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit [2 times]
Quit
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 23.0.50; ffap fails to recognize files whose names use backslashes
2008-01-05 20:38 23.0.50; ffap fails to recognize files whose names use backslashes Eric Hanchrow
@ 2008-01-08 8:22 ` Glenn Morris
2008-01-08 19:15 ` Eric Hanchrow
0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2008-01-08 8:22 UTC (permalink / raw
To: Eric Hanchrow; +Cc: emacs-devel
Eric Hanchrow wrote:
> * I started emacs with "runemacs -Q"
> * In the *scratch* buffer, I typed c:\autoexec.bat
> * I then typed M-x ffap RET
> I expected to see a minibuffer prompt that looked like
>
> Find file or URL: c:\autoexec.bat
It's hard for me to comment since I don't use Windows, but what
happens if you add "\" to the `file' element of
ffap-string-at-point-mode-alist? Eg:
(file "--:\\\\$+<>@-Z_[:lower:]~*?" "<@" "@>;.,!:")
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 23.0.50; ffap fails to recognize files whose names use backslashes
2008-01-08 8:22 ` Glenn Morris
@ 2008-01-08 19:15 ` Eric Hanchrow
2008-01-08 19:32 ` Eric Hanchrow
0 siblings, 1 reply; 4+ messages in thread
From: Eric Hanchrow @ 2008-01-08 19:15 UTC (permalink / raw
To: Glenn Morris; +Cc: emacs-devel
>>>>> "GM" == Glenn Morris <rgm@gnu.org> writes:
GM> Eric Hanchrow wrote:
>> * I started emacs with "runemacs -Q" * In the *scratch* buffer,
>> I typed c:\autoexec.bat * I then typed M-x ffap RET I expected
>> to see a minibuffer prompt that looked like
>>
>> Find file or URL: c:\autoexec.bat
GM> It's hard for me to comment since I don't use Windows, but
GM> what happens if you add "\" to the `file' element of
GM> ffap-string-at-point-mode-alist? Eg:
GM> (file "--:\\\\$+<>@-Z_[:lower:]~*?" "<@" "@>;.,!:")
It appears to work perfectly, is what happens. << /me slaps forehead >>
I will explain why I didn't try that: mostly because I didn't see a
_forward_ slash in that list, and I was thinking "I've got to find out
how to make backslashes work like forward slashes". I still don't
understand how ffap-string-at-point works, despite tracing through it
a number of times.
--
Покажи мне твой .emacs, и я скажу, кто ты.
-- Russian Proverb
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 23.0.50; ffap fails to recognize files whose names use backslashes
2008-01-08 19:15 ` Eric Hanchrow
@ 2008-01-08 19:32 ` Eric Hanchrow
0 siblings, 0 replies; 4+ messages in thread
From: Eric Hanchrow @ 2008-01-08 19:32 UTC (permalink / raw
To: emacs-devel
>>>>> "Eric" == Eric Hanchrow <offby1@blarg.net> writes:
GM> (file "--:\\\\$+<>@-Z_[:lower:]~*?" "<@" "@>;.,!:")
Eric> It appears to work perfectly, is what happens. << /me slaps
Eric> forehead >>
Eric> I will explain why I didn't try that: mostly because I
I meant to say: "I will explain why I didn't try that _at first_:..."
--
"That sounds like a bunch of baloney," [Feynman] said. "Give
me something real to do." So we sent him out to buy some office
supplies.
-- Danny Hillis
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-08 19:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-05 20:38 23.0.50; ffap fails to recognize files whose names use backslashes Eric Hanchrow
2008-01-08 8:22 ` Glenn Morris
2008-01-08 19:15 ` Eric Hanchrow
2008-01-08 19:32 ` Eric Hanchrow
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.