emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dangerous behavior when copying to current directory


From: David Kastrup
Subject: Dangerous behavior when copying to current directory
Date: Fri, 04 Mar 2005 00:11:11 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
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 address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I am editing a file, and then I do
M-x copy-file /tmp/somefileelsewhere else RET
As the target of the copy, my current directory gets displayed.
Convenient.  I press return since I want to copy the file into the
current directory and Emacs asks whether I really want to overwrite
the current file I am editing!  Of course not.  If I don't specify a
file name for the copy, I'd expect it to use the original file name,
not choose to overwrite whatever I might be working with at the
current point of time.  At no time (before the question was asked) was
the file name ever in the prompt or editing string.

In GNU Emacs 22.0.50.29 (i686-pc-linux-gnu, GTK+ Version 2.6.2)
 of 2005-03-03 on lola.goethe.zz
Distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--prefix=/usr/local/emacs-21' '--with-gtk' 
'--without-toolkit-scroll-bars' 'CFLAGS=-ggdb -O2 -fno-crossjumping''

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
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: PDFLaTeX

Minor modes in effect:
  reftex-mode: t
  TeX-PDF-mode: t
  auto-compression-mode: t
  desktop-save-mode: t
  file-name-shadow-mode: t
  iswitchb-mode: t
  minibuffer-electric-default-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
p / b a <tab> <return> <return> n o <return> q M-x 
<help-echo> c o p y <tab> - f <tab> <return> <up> <up> 
<return> <up> <down> <down> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
/ b a r r o s o 0 5 0 2 . p d f <return> M-x <help-echo> 
e m a c s - r e p o <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> r e [ p <backspace> <backspace> 
p o r t - e m a c s - b u g <return>

Recent messages:
Entering debugger...
Back to top level.
Mark set [3 times]
Making completion list...
Loading jit-lock...done
Auto-saving...
Entering debugger...
Back to top level.
Making completion list...
Loading emacsbug...done

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]