all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "Desktop-{save, read, ...}": on a dired, how to get it sorted, eg via dired's "s"?
@ 2008-09-15  0:11 David Combs
  2008-09-18  4:16 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: David Combs @ 2008-09-15  0:11 UTC (permalink / raw)
  To: help-gnu-emacs


(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?


Thanks!

David




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

* Re: "Desktop-{save, read, ...}": on a dired, how to get it sorted,  eg via dired's "s"?
  2008-09-15  0:11 "Desktop-{save, read, ...}": on a dired, how to get it sorted, eg via dired's "s"? David Combs
@ 2008-09-18  4:16 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2008-09-18  4:16 UTC (permalink / raw)
  To: help-gnu-emacs

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





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

end of thread, other threads:[~2008-09-18  4:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-15  0:11 "Desktop-{save, read, ...}": on a dired, how to get it sorted, eg via dired's "s"? David Combs
2008-09-18  4:16 ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.