mit-scheme-devel
[Top][All Lists]
Advanced

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

Re: [MIT-Scheme-devel] [PATCH] Implement DIRED-UP-DIRECTORY


From: Rich Loveland
Subject: Re: [MIT-Scheme-devel] [PATCH] Implement DIRED-UP-DIRECTORY
Date: Sat, 2 May 2015 14:06:13 -0400
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.2

   Date: Fri, 24 Apr 2015 17:13:54 +0000
   From: Taylor R Campbell <address@hidden>

      Date: Thu, 23 Apr 2015 22:36:32 -0400
      From: Rich Loveland <address@hidden>

      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)))

OK.  New patch is attached using your code above.  Tested it on Linux,
OS X, and Windows; works as expected.

Attachment: dired-up-directory.patch
Description: Text document


reply via email to

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