[OS X Emacs] [aquamacs-devel] Aquamacs 3.5 coming soon -- test now

FIGUEROA-O'FARRILL Jose J.M.Figueroa at ed.ac.uk
Thu Jul 25 12:38:05 EDT 2019


Hi, Win.

Ah, yes, I now remember that David had sent me that function a long time ago and it’s different than the one in the wiki now.  I have

 (defun dired-open-mac ()
    (interactive)
    (let ((file-name (dired-get-file-for-visit)))
      (if (file-exists-p file-name)
          (call-process "/usr/bin/open" nil 0 nil file-name))))

Alas the new version seems to given an error in directories whose names involve 8-bit characters, even though dired works well. But at least it gives an error (file not found) since it gets the name of the folder wrong.

I’d appreciate any pointers…

Cheers,
	José



> On 25 Jul 2019, at 17:15, Win Treese <treese at acm.org> wrote:
> 
> Hi, José. I wasn’t familiar with dired-open-mac, and it’s not in the Aquamacs distribution.
> 
> I found a definition for it on https://www.emacswiki.org/emacs/CustomizeAquamacs:
> 
> (defun dired-open-mac ()
>    (interactive)
>    (let ((file-name (dired-get-file-for-visit)))
>      (if (file-exists-p file-name)
>          (shell-command (concat "open '" file-name "'" nil)))))
> 
> I tried that in the current nightly build, and it seems to work OK.
> 
> Is this the function you are using? What kind of file are you trying to open? The code seems pretty straightforward, so it seems odd that it fails.
> 
> - Win
> 
>> On Jul 25, 2019, at 10:01 AM, FIGUEROA-O'FARRILL Jose <J.M.Figueroa at ed.ac.uk> wrote:
>> 
>> Hi,
>> 
>> dired-open-mac does not seem to work.  I have it bound to “o” when in dired-mode, but it does nothing.
>> 
>> Not sure how to debug this.
>> 
>> Cheers,
>> 
>> José
>> 
>> 
>> 
>> 
>> 
>>> On 25 Jul 2019, at 03:18, David Reitter <david.reitter at gmail.com> wrote:
>>> 
>>> What you can download on the build page is pretty close to what we intend to release as Aquamacs 3.5.
>>> (As a signed binary, that is, so any associated issues will be addressed then.)
>>> If you notice any severe new bugs, now would be the time to speak up.
>>> 
>>> 
>>> --
>>> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
>>> http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups "aquamacs-devel" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to aquamacs-devel+unsubscribe at googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/msgid/aquamacs-devel/1476C99A-5C7C-4B40-BEEA-53B62D9499C6%40gmail.com.
>> 
>> Prof José Figueroa-O'Farrill
>> School of Mathematics
>> University of Edinburgh
>> PGP Key: 0x6A6BD529 (MIT PGP Key Server)
>> 
>> The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
>> 
>> 
>> 
> 

Prof José Figueroa-O'Farrill
School of Mathematics
University of Edinburgh
PGP Key: 0x6A6BD529 (MIT PGP Key Server)

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Message signed with OpenPGP
URL: <https://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20190725/ab82c1a2/attachment.sig>


More information about the MacOSX-Emacs mailing list