From: "Robert Thorpe" <rthorpe@realworldtech.com>
Subject: Re: dired mode or norton commander
Date: 7 Dec 2006 04:37:39 -0800 [thread overview]
Message-ID: <1165495059.090136.189170@80g2000cwy.googlegroups.com> (raw)
In-Reply-To: <1165494472.611283.61020@73g2000cwn.googlegroups.com>
bcochofel wrote:
> Well, I've tried:
> ;-------------------------------------------------------------
> (defun dired-follow-file ()
> (interactive)
> (let ((filename (dired-get-filename)))
> (if (file-directory-p filename)
> (find-alternate-file filename)
> (dired-find-file))))
>
> (defun dired-setup-follow-file ()
> (substitute-key-definition
> 'dired-find-file 'dired-follow-file dired-mode-map)
> (substitute-key-definition
> 'dired-advertised-find-file 'dired-follow-file dired-mode-map))
>
> (add-hook 'dired-mode-hook 'dired-setup-follow-file)
> ;---------------------------------------------------------------
>
> But I cannot change to dirs '.' and '..', I get:
>
> "Cannot operate on '.' or '..'
That's weird. It works fine for me.
> Using the "a" key I get a message asking if I want to use in all
> sessions this options and I answer yes... No good...
That is even weirder. What does it say when you type C-h k a from
within dired?
What version of Emacs are you using?
next prev parent reply other threads:[~2006-12-07 12:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 11:18 dired mode or norton commander bcochofel
2006-12-07 12:03 ` Robert Thorpe
2006-12-07 12:27 ` bcochofel
2006-12-07 12:37 ` Robert Thorpe [this message]
2006-12-07 13:01 ` bcochofel
2006-12-07 13:09 ` Robert Thorpe
2006-12-07 14:09 ` bcochofel
2006-12-11 1:07 ` Dieter Wilhelm
2006-12-07 16:50 ` Peter Dyballa
[not found] ` <mailman.1642.1165510250.2155.help-gnu-emacs@gnu.org>
2006-12-08 4:21 ` Joe Bush
2006-12-11 18:43 ` Wilmar Igl
2006-12-12 17:13 ` bcochofel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1165495059.090136.189170@80g2000cwy.googlegroups.com \
--to=rthorpe@realworldtech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).