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

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

Re: "Desktop-{save, read, ...}": on a dired, how to get it sorted, eg v


From: Kevin Rodgers
Subject: Re: "Desktop-{save, read, ...}": on a dired, how to get it sorted, eg via dired's "s"?
Date: Wed, 17 Sep 2008 22:16:50 -0600
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

David Combs wrote:
(desktop-create-buffer 205
  nil
  "~"
  'dired-mode
  nil
  42225
  '(209 nil)
  t
  '("/net/u/1/d/dkcombs/")
  nil)


Any way to change the above (from ".emacs.desktop") to do a
"sort" (like ls -t, or dired "s") on  creating (*that*) dired buffer?

I think it would require hacking dired-desktop-buffer-misc-data to
include dired-actual-switches in its result, and then modify
dired-restore-desktop-buffer to pass that value to dired as its SWITCHES
argument.

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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