help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: get to the first file like in real dired


From: Arnaldo Mandel
Subject: Re: get to the first file like in real dired
Date: Tue, 1 Jan 2013 07:20:47 -0200

Just add the sexp

(dired-next-line 3)      ;  adjust the "3" to what works for you

after the goto-char sexp.

On Mon, Dec 31, 2012 at 9:17 PM, <jidanni@jidanni.org> wrote:
This just gets me to the top of the buffer.
(defadvice dired-revert (after beginning-of-buffer activate)
  "Move to beginning of buffer (instead of keeping point on the current file)."
  (goto-char (point-min)))
How do I make it get me to the first line like in real dired?
dired.el is too complicated to read for me.

Too bad the emacs maintainers don't allow an option so I wouldn't need
this workaround.



reply via email to

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