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

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

dired can't operate on '.' or '..'


From: Chris Moore
Subject: dired can't operate on '.' or '..'
Date: Thu, 02 Oct 2003 16:24:04 +0200

I used to be able to run commands on '.' and '..' in a dired buffer,
but now I get an error if I try:

  Debugger entered--Lisp error: (error "Cannot operate on `.' or `..'")
    signal(error ("Cannot operate on `.' or `..'"))
    error("Cannot operate on `.' or `..'")
    dired-get-filename(t)
    dired-get-marked-files(t nil)

I moved the cursor to the line with the '.' directory on it and hit
"!" to try to run a command on '.'.  I wanted to run "du -k", for
example, to get a recursive listing of direcoty sizes from here
down.  This used to work but now it doesn't.  It looks like this
might have been done deliberately, but I found it useful to be able
to operate on '.' in dired.

Chris.

In GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600)
 of 2003-10-01 on CHRISLAP
configured using `configure --with-gcc (3.2)'

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

Major mode: Mail

Minor modes in effect:
  auto-compression-mode: t
  display-time-mode: t
  erc-button-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-fill-mode: t
  erc-track-mode: t
  show-paren-mode: t
  iswitchb-mode: t
  mouse-wheel-mode: t
  global-font-lock-mode: t
  unify-8859-on-encoding-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t





reply via email to

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