emacs-devel
[Top][All Lists]
Advanced

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

Re: lisp/term/ns-win.el modification


From: Jean-Christophe Helary
Subject: Re: lisp/term/ns-win.el modification
Date: Fri, 28 Apr 2017 08:29:20 +0900

Thank you.

I'm not sure how I could do that but I'll investigate.
In the meanwhile I'll just try to improve my patch based on the other elisp 
related comments.

Jean-Christophe

> On Apr 28, 2017, at 3:28, address@hidden wrote:
> 
>>> For more consistent behavior with other apps on macOS, you can
>>> let the system parse the selected text to get (possibly multiple)
>>> filenames.  Just inspect the service pasteboard with
>>> NSFilenamesPboardType instead of NSStringPboardType.
>> 
>> I've just checked the clipboard contents when I select a path in a text
>> file and I only get NSStringPboardType. NSFilenamesPboardType is only
>> available when I select a file in the Finder, which is not the use case
>> here.
>> 
>> Or maybe I've misunderstood what you wrote.
> 
> If "the clipboard" means NSGeneralPboard, that's not what I meant
> by "the service pasteboard".  It's the one passed to the service
> method as the first arg.
> 
> https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/SysServices/Articles/providing.html#//apple_ref/doc/uid/20000853-98262



reply via email to

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