unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2862: 23.0.92; Dired can't visit file with backslash
@ 2009-04-02 17:55 Oscar Fuentes
  0 siblings, 0 replies; 4+ messages in thread
From: Oscar Fuentes @ 2009-04-02 17:55 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:

Dired can't visit a file with a backslash on its name (such as
\foo). Those files are displayed with a double backslash. If the user
presses `v' (for viewing) of `f' (for visiting) the file, an error
message is displayed:

dired-get-file-for-visit: File no longer exists; type `g' to update dired buffer


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
/usr/local/share/emacs/23.0.90/etc/DEBUG for instructions.


In GNU Emacs 23.0.90.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.14.4)
 of 2009-02-14 on qcore
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
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.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  shell-dirtrack-mode: t
  show-paren-mode: t
  diff-auto-refine-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<down> <down> <down> <down> <down> C-x C-f X D i <tab> 
<return> M-x l o n g <tab> <return> C-x b <return> 
M-x <up> <return> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> C-s C-s <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> C-s C-s C-n C-n C-n C-n C-n C-n C-l C-s C-s 
C-a C-x b <return> C-l C-s C-s C-a C-x b <return> M-x 
<up> <return> C-x b <return> M-x <up> <return> C-x 
b <return> C-x b <return> C-x b <return> C-x b <return> 
C-x b <return> C-x b <return> <up> <up> C-x b <return> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> C-x b 
<return> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <options> <line-wrapping> <truncate> C-a 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <up> 
C-a C-SPC C-SPC <S-down> <S-down> <S-down> <S-down> 
<up> <C-right> <C-right> <C-right> <C-right> <C-right> 
<C-right> <C-right> <C-right> <C-right> <C-right> <C-right> 
<C-right> <C-right> <C-right> <C-right> <C-right> <C-right> 
<C-right> <C-right> <C-right> <C-right> <C-right> <C-right> 
<C-right> <C-right> <C-right> <C-right> <help-echo> 
<help-echo> C-x k <return> C-x k <return> C-x k <return> 
C-x d <up> <up> <up> <return> <down> v g <down> <down> 
<down> <down> <down> <down> <down> <down> <up> v <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<send-emacs-bug-report>

Recent messages:
Loading tramp...done
Mark saved where search started
Longlines mode enabled [2 times]
Mark saved where search started [4 times]
Longlines mode disabled [2 times]
Truncate long lines enabled
Mark set
Mark activated
Mark set
dired-get-file-for-visit: File no longer exists; type `g' to update dired buffer
dired-get-file-for-visit: File no longer exists; type `g' to update dired buffer






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

* bug#2862: 23.0.92; Dired can't visit file with backslash
@ 2009-04-02 22:18 Chong Yidong
  2009-04-02 22:42 ` Óscar Fuentes
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2009-04-02 22:18 UTC (permalink / raw)
  To: Oscar Fuentes; +Cc: 2862

> Dired can't visit a file with a backslash on its name (such as
> \foo). Those files are displayed with a double backslash. If the user
> presses `v' (for viewing) of `f' (for visiting) the file, an error
> message is displayed:

> dired-get-file-for-visit: File no longer exists; type `g' to update
> dired buffer

I've checked in a fix.  Thanks.






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

* bug#2862: 23.0.92; Dired can't visit file with backslash
  2009-04-02 22:18 bug#2862: 23.0.92; Dired can't visit file with backslash Chong Yidong
@ 2009-04-02 22:42 ` Óscar Fuentes
  2009-04-02 22:47   ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Óscar Fuentes @ 2009-04-02 22:42 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 2862

Chong Yidong <cyd@stupidchicken.com> writes:

>> Dired can't visit a file with a backslash on its name (such as
>> \foo). Those files are displayed with a double backslash. If the user
>> presses `v' (for viewing) of `f' (for visiting) the file, an error
>> message is displayed:
>
>> dired-get-file-for-visit: File no longer exists; type `g' to update
>> dired buffer
>
> I've checked in a fix.  Thanks.

Thanks for fixing the bug that was preventing visiting the file.

Is it correct that \foo is displayed as \\foo on the dired buffer?

-- 
Oscar






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

* bug#2862: 23.0.92; Dired can't visit file with backslash
  2009-04-02 22:42 ` Óscar Fuentes
@ 2009-04-02 22:47   ` Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2009-04-02 22:47 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: 2862

Óscar Fuentes <ofv@wanadoo.es> writes:

> Thanks for fixing the bug that was preventing visiting the file.
>
> Is it correct that \foo is displayed as \\foo on the dired buffer?

Not really, but it will require a lot of work to change that (it's based
on some long-ago design decisions in Dired).






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

end of thread, other threads:[~2009-04-02 22:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-02 22:18 bug#2862: 23.0.92; Dired can't visit file with backslash Chong Yidong
2009-04-02 22:42 ` Óscar Fuentes
2009-04-02 22:47   ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-04-02 17:55 Oscar Fuentes

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).