Article View: gnu.emacs.sources
Article #284Discussion about aho-dired.el and tree-dired-aho.el
From: Anders Holst
Date: Thu, 17 Dec 1992 20:17
Date: Thu, 17 Dec 1992 20:17
52 lines
3172 bytes
3172 bytes
Recently (or very long ago actually, 4-5 months perhaps) someone sent modifications to dired to this group, and someone else asked if the modifications were compatible with tree-dired. (Tree-dired is the version of dired to be used in Emacs 19, but which can be used already.) I have been trying tree-dired for a while now, and it really is a lot nicer to work with. It has nearly all the things that one wanted, but was missing in the normal dired. So one answer to the question about compatibility of the modifications, is that most of them are not needed in tree-dired, it already has everything that people earlier had to add themselves to normal dired. But there are a few things that could be added to tree-dired too (there always are I guess, however complete a package are). Remarkably enough, one thing that everyone seems to have added to their normal dired, but is not included in tree-dired, is to have the last directory copied/renamed/linked to as default the next time. Instead, if there is a dired-buffer in the next window, tree-dired defaults to the directory of that dired-buffer. This is actually a quite nice behavior too. Anyway, what I have done is to make some slight modifications of tree-dired. This includes combination of the above mentioned types of defaulting. If there is another dired-buffer in any other window this will be the default destination, otherwise the last used destination will be default (every dired-buffer has its own last used destination of course). Another thing in the modifications are sorting in in the right place of copied/renamed/linked files, currently only when the sort order is alphabetical (which is what I always use, and which was the easiest case to write). For more details, see the description in tree-dired-aho.el. I can not resist to send also my modifications of normal dired. (Most of you are surely tired of such modifications since everyone seems to have done the same changes and sent them to this group, but perhaps someone is quite new on this group and cannot easily get tree-dired yet...) Of course my additions are mainly as everybody else's: links, mkdir, printing, shell-commands and defaulting of directories in copying/renaming/linking. So there is not so much really remarkable. The most notable features are the same as in tree-dired-aho, i.e. sorting in of new files alphabetically (even in some other dired-buffer than the current), and a more emphasized tree-structure between different dired-buffers (see the description in aho-dired.el for more details). Enough talk (or far too much). The files tree-dired-aho.el and aho-dired.el will follow immediately after this article. Anders Holst (aho@sans.kth.se)
Technical Details
Message-ID:
<AHO.92Dec17211715@thalamus.sans.kth.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!News.kth.se!ahoShow Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.sources Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!News.kth.se!aho From: aho@thalamus.sans.kth.se (Anders Holst) Subject: Discussion about aho-dired.el and tree-dired-aho.el Message-ID: <AHO.92Dec17211715@thalamus.sans.kth.se> Sender: usenet@kth.se (Usenet) Nntp-Posting-Host: thalamus.sans.kth.se Organization: /home/aho/.organization Date: Thu, 17 Dec 1992 20:17:15 GMT Lines: 52