home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / gnu / emacs / sources / 882 < prev    next >
Encoding:
Text File  |  1992-12-17  |  3.0 KB  |  64 lines

  1. Newsgroups: gnu.emacs.sources
  2. Path: sparky!uunet!mcsun!sunic!kth.se!News.kth.se!aho
  3. From: aho@thalamus.sans.kth.se (Anders Holst)
  4. Subject: Discussion about aho-dired.el and tree-dired-aho.el
  5. Message-ID: <AHO.92Dec17211715@thalamus.sans.kth.se>
  6. Sender: usenet@kth.se (Usenet)
  7. Nntp-Posting-Host: thalamus.sans.kth.se
  8. Organization: /home/aho/.organization
  9. Date: Thu, 17 Dec 1992 20:17:15 GMT
  10. Lines: 52
  11.  
  12.  
  13. Recently (or very long ago actually, 4-5 months perhaps) someone sent
  14. modifications to dired to this group, and someone else asked if the
  15. modifications were compatible with tree-dired. (Tree-dired is the
  16. version of dired to be used in Emacs 19, but which can be used already.) 
  17.  
  18. I have been trying tree-dired for a while now, and it really is a lot
  19. nicer to work with. It has nearly all the things that one wanted, but
  20. was missing in the normal dired. So one answer to the question about
  21. compatibility of the modifications, is that most of them are not
  22. needed in tree-dired, it already has everything that people earlier
  23. had to add themselves to normal dired.
  24.  
  25. But there are a few things that could be added to tree-dired too
  26. (there always are I guess, however complete a package are). Remarkably
  27. enough, one thing that everyone seems to have added to their normal
  28. dired, but is not included in tree-dired, is to have the last
  29. directory copied/renamed/linked to as default the next time. Instead,
  30. if there is a dired-buffer in the next window, tree-dired defaults
  31. to the directory of that dired-buffer. This is actually a quite
  32. nice behavior too.
  33.  
  34. Anyway, what I have done is to make some slight modifications of
  35. tree-dired.
  36. This includes combination of the above mentioned types of defaulting.
  37. If there is another dired-buffer in any other window this will be the
  38. default destination, otherwise the last used destination will be
  39. default (every dired-buffer has its  own last used destination of
  40. course). 
  41. Another thing in the modifications are sorting in in the right place of
  42. copied/renamed/linked files, currently only when the sort order is
  43. alphabetical (which is what I always use, and which was the easiest
  44. case to write). 
  45. For more details, see the description in tree-dired-aho.el.
  46.  
  47. I can not resist to send also my modifications of normal dired. (Most
  48. of you are surely tired of such modifications since everyone seems to
  49. have done the same changes and sent them to this group, but perhaps
  50. someone is quite new on this group and cannot easily get tree-dired
  51. yet...) Of course my additions are mainly as everybody else's: links,
  52. mkdir, printing, shell-commands and defaulting of directories in
  53. copying/renaming/linking. So there is not so much really remarkable.
  54. The most notable features are the same as in tree-dired-aho, i.e.
  55. sorting in of new files alphabetically (even in some other
  56. dired-buffer than the current), and a more emphasized tree-structure
  57. between different dired-buffers (see the description in aho-dired.el
  58. for more details).
  59.  
  60. Enough talk (or far too much). The files tree-dired-aho.el and
  61. aho-dired.el will follow immediately after this article.
  62.  
  63.   Anders Holst (aho@sans.kth.se)
  64.