unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; make-directory errors if the given dir already exists
@ 2008-03-13 10:34 Tassilo Horn
  2008-03-13 14:09 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Tassilo Horn @ 2008-03-13 10:34 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:

Start emacs -Q, go to *scratch* and eval

  (make-directory "/tmp")

or use any other existing directory.  You should get this error:

Debugger entered--Lisp error: (file-already-exists "File exists" "/tmp")
  make-directory-internal("/tmp")
  make-directory("/tmp")
  eval((make-directory "/tmp"))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)

But the docstring of `make-directory' reads:

,----[ C-h f make-directory RET ]
| make-directory is an interactive Lisp function in `files.el'.
| 
| (make-directory dir &optional parents)
| 
| Create the directory dir and any nonexistent parent dirs.
| If dir already exists as a directory, do nothing.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[...]

`----

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


In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.8)
 of 2008-03-13 on localhost
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--without-carbon' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--enable-font-backend' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-march=i686 -mtune=prescott -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed''

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: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  icomplete-mode: t
  window-number-meta-mode: t
  window-number-mode: t
  savehist-mode: t
  exec-abbrev-cmd-mode: t
  show-paren-mode: t
  which-function-mode: t
  tooltip-mode: t
  mouse-wheel-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-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
t h a t SPC e r r o r . SPC SPC N o w SPC I SPC u p 
d a t e d SPC m y SPC e m a c s SPC a n d SPC I SPC 
c a n SPC r e p r o d u c e SPC t h e SPC p r o b l 
e m . SPC SPC I ' l l SPC r e p o r t SPC a n <backspace> 
SPC b u g SPC f o r SPC t h a t . M-q <return> <return> 
B y e , <return> T a s s i l o C-c C-c M-u c <return> 
<return> S W C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k 
C-k H i SPC R i c h a r d , <return> <down> M-q <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <up> <up> <up> M-q <down> <down> <backspace> 
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k 
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k 
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k 
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k <return> 
A h , SPC m a y b e SPC t h a t ' s SPC n e w SPC i 
n SPC t h e SPC v e r s i o n SPC t h a t SPC c o m 
e s SPC w i t h SPC e m a c s SPC 2 3 . <return> <return> 
B y e , <return> T a s s i l o C-c C-c c M-x r e b 
<return> <return>

Recent messages:
20080313T113109.142> nnimap: Updating info for nnimap+Fastmail:INBOX.FSF...
20080313T113109.148> nnimap: Updating info for nnimap+Fastmail:INBOX.FSF...done
Sending...done
20080313T113110.061> No more unread articles
20080313T113110.069> Exiting summary buffer and applying spam rules
20080313T113110.096> nnimap: Setting marks in INBOX.FSF...
20080313T113110.098> nnimap: Setting marks in INBOX.FSF...done
20080313T113110.100> nnimap: Setting marks in INBOX.FSF...
20080313T113110.106> nnimap: Setting marks in INBOX.FSF...done
20080313T113110.121> No more unread newsgroups

-- 
    Mein Baby bekommt nur Trockenmilch, da brauche ich hinterher nur
                              abzustauben.




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

end of thread, other threads:[~2008-03-13 14:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-13 10:34 23.0.60; make-directory errors if the given dir already exists Tassilo Horn
2008-03-13 14:09 ` Stefan Monnier

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