lilypond-user
[Top][All Lists]
Advanced

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

Re: emacs point-and-click on OSX


From: David Kastrup
Subject: Re: emacs point-and-click on OSX
Date: Thu, 19 Dec 2013 15:34:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Vaughan McAlley <address@hidden> writes:

>> On 19 December 2013 08:03, Kevin Patrick Barry <address@hidden> wrote:
>>
>>> Dear LilyPond users,
>>>
>>> Can anyone provide me with instructions (or a link) to help me get
>>> point-and-click working on OSX? I use aquamacs (i.e. emacs) to edit
>>> lilypond files, and compilation/view works fine, but point and click
>>> still opens the built-in LilyPond editor.  I tried searching for
>>> instructions and found some old messages about it, but they are very
>>> technical and I didn't understand what was involved - a lot of editing
>>> browser options it seems. (I use Firefox.) Right now I'm using the
>>> default pdf viewer (Preview) but I would use a different one if that
>>> would make things easier.  I'm on LilyPond 2.16.2 and OSX 10.9.1.
>
> These links might help... it’s all about setting the correct custom URL
> handler.
>
> Unhiding your Library folder (thanks Apple, heaven forbid we try to do
> anything interesting):
> http://www.se7ensins.com/forums/threads/unhide-library-folder-in-mac-os-x-10-7-lion.428277/
>
> Configuring your textedit URL handler:
> http://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x
>
> Opening emacs at a specific line/column:
> http://stackoverflow.com/questions/3139970/open-a-file-at-line-with-filenameline-syntax
>
> I may be wrong, but what I would do is set the handler to be an application
> (Applescript maybe) that takes the URL ( eg
> textedit:///Users/vaughan/myfile.ly:164:10:10 ), parses the filename, line
> number & position and converts it to a bash script like:
>
> emacs -c +164:10 /Users/vaughan/myfile.ly
>
> This might be a bit roundabout. Maybe emacs can handle textedit:/// URLs
> directly?

When everything else fails, read the instructions.

<URL:http://lilypond.org/doc/v2.17/Documentation/usage/configuring-the-system-for-point-and-click>

-- 
David Kastrup



reply via email to

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