Date: Thu, 23 Apr 2015 22:36:32 -0400
   From: Rich Loveland <r...@rmloveland.com>

   In the attached patch, I've implemented the DIRED-UP-DIRECTORY command
   for Edwin, and bound it to #\^ as found in that other Emacs.

   Please let me know if there's a better way of specifying "the next
   directory up" than just merging the current directory with "..".  I
   read through the manual section on pathnames and the runtime pathname
   code but I might have missed it.

Probably something like:

(merge-pathnames (make-pathname #f #f '(RELATIVE UP) #f #f #f)
                 (directory-pathname (dired-current-pathname)))

_______________________________________________
MIT-Scheme-devel mailing list
MIT-Scheme-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/mit-scheme-devel

Reply via email to