Re: emacs point-and-click on OSX

2013-12-21 Thread Federico Bruni
2013/12/20 Kevin Patrick Barry 

> I assume it needs this guile to run and can't find it, so I changed
> the file to point to one I found in the LilyPond.app
> (/Applications/LilyPond.app/Contents/Resources/bin/guile), and now I
> get another error when I try to click on a link:
> ERROR: In procedure dynamic-link:
> ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"
>
> Since there is no libguile-srfi-srfi-1-v-3 I'm not sure what to do
> next.
>

In the linux package there are these files:

$ locate libguile-srfi
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-1-v-3.la
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-1-v-3.so
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-1-v-3.so.3
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-1-v-3.so.3.0.2
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-13-14-v-3.la
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-13-14-v-3.so
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-13-14-v-3.so.3
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-13-14-v-3.so.3.0.1
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-4-v-3.la
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-4-v-3.so
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-4-v-3.so.3
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-4-v-3.so.3.0.1
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-60-v-2.la
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-60-v-2.so
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-60-v-2.so.2
/home/fede/lilypond/usr/lib/libguile-srfi-srfi-60-v-2.so.2.0.2
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-21 Thread David Kastrup
Kevin Patrick Barry  writes:

>> Once Mac Ports is installed, the following:
>>
>> sudo port install xpdf
>>
>> does install xpdf and all necessary stuff.
>
> Thanks for this. I am getting closer, but still no cigar.  Xpdf is
> working, and it is, I think, calling the lilypond-invoke-editor script
> correctly when I click on a note in a pdf generated by lilypond, but I
> get the following error:
> "/home/gub/gub/target/tools/root/usr/bin/guile: bad interpreter: No
> such file or directory"
>
> I assume it needs this guile to run and can't find it, so I changed
> the file to point to one I found in the LilyPond.app
> (/Applications/LilyPond.app/Contents/Resources/bin/guile), and now I
> get another error when I try to click on a link:
> ERROR: In procedure dynamic-link:
> ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"
>
> Since there is no libguile-srfi-srfi-1-v-3 I'm not sure what to do
> next.  The only guile I found on the computer was the one installed in
> LilyPond. Finder doesn't really seem to be able to see what's going on
> in macports - maybe I should have pointed the lilypond-invoke-editor
> script in that direction? There are folders called guile and guile16,
> but no file called guile in either of them.
>
> Damnit Jim I'm a musician not a magician!

lilypond-invoke-editor seemingly is a GUILE script, so it needs a
working GUILE interpreter.  It would appear that the installation of
GUILE you pointed it to is not really working.  Again, I'm somewhat at a
loss to figure out how to fix this on MacOSX.  It would appear that the
installation is not done correctly: that would point to a GUB problem
(our installer).

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-20 Thread Kevin Patrick Barry
> Once Mac Ports is installed, the following:
>
> sudo port install xpdf
>
> does install xpdf and all necessary stuff.

Thanks for this. I am getting closer, but still no cigar.  Xpdf is
working, and it is, I think, calling the lilypond-invoke-editor script
correctly when I click on a note in a pdf generated by lilypond, but I
get the following error:
"/home/gub/gub/target/tools/root/usr/bin/guile: bad interpreter: No
such file or directory"

I assume it needs this guile to run and can't find it, so I changed
the file to point to one I found in the LilyPond.app
(/Applications/LilyPond.app/Contents/Resources/bin/guile), and now I
get another error when I try to click on a link:
ERROR: In procedure dynamic-link:
ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"

Since there is no libguile-srfi-srfi-1-v-3 I'm not sure what to do
next.  The only guile I found on the computer was the one installed in
LilyPond. Finder doesn't really seem to be able to see what's going on
in macports - maybe I should have pointed the lilypond-invoke-editor
script in that direction? There are folders called guile and guile16,
but no file called guile in either of them.

Damnit Jim I'm a musician not a magician!

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-20 Thread Jacques Menu
Hello,

Once Mac Ports is installed, the following:

sudo port install xpdf

does install xpdf and all necessary stuff.

JM

Le 19 déc. 2013 à 22:03:41, David Kastrup  a écrit :

> Kevin Patrick Barry  writes:
> 
>>> Alternatively, you might want to try to get xdvi running on your
>>> system.  It's quite likely less fancy, but its configuration is simple,
>>> and the required file in .xdvirc in your home directory should work
>>> under MacOSX as well.
>> 
>> I feel like an idiot for asking this, but how would that help?
> 
> My turn to feel like an idiot.  I meant xpdf.  I apologize for any
> unnecessary work this brain malfunction of mine might have caused.
> 
>> but evince and xpdf (the ones in the 2.17 documentation) are for
>> Linux.
> 
> I was of the opinion that MacOSX was able to run X11 applications.
> Evince is tied into GNOME, but Xpdf should have a fair chance to get it
> to run under MacOSX I think.
> 
> -- 
> David Kastrup
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


--

Jacques Menu
Ch. de la Pierre 12
1023 Crissier

mailto:imj-...@bluewin.ch




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-19 Thread David Kastrup
Kevin Patrick Barry  writes:

>> Alternatively, you might want to try to get xdvi running on your
>> system.  It's quite likely less fancy, but its configuration is simple,
>> and the required file in .xdvirc in your home directory should work
>> under MacOSX as well.
>
> I feel like an idiot for asking this, but how would that help?

My turn to feel like an idiot.  I meant xpdf.  I apologize for any
unnecessary work this brain malfunction of mine might have caused.

> but evince and xpdf (the ones in the 2.17 documentation) are for
> Linux.

I was of the opinion that MacOSX was able to run X11 applications.
Evince is tied into GNOME, but Xpdf should have a fair chance to get it
to run under MacOSX I think.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-19 Thread David Kastrup
David Kastrup  writes:

> When everything else fails, read the instructions.
>
> http://lilypond.org/doc/v2.17/Documentation/usage/configuring-the-system-for-point-and-click>

Sorry, this one got stuck in my mail queue and it would seem from the
messages in the mean time that you did.

That one can likely only be answered by someone knowing the OSX Preview
application and/or searching through its more detailed manual pages or
other information (when available).  Apparently noone did so far _and_
contributed to the LilyPond manual with the results.

Alternatively, you might want to try to get xdvi running on your
system.  It's quite likely less fancy, but its configuration is simple,
and the required file in .xdvirc in your home directory should work
under MacOSX as well.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-19 Thread David Kastrup
Vaughan McAlley  writes:

>> On 19 December 2013 08:03, Kevin Patrick Barry  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.

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

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-19 Thread Kevin Patrick Barry
Dear Federico and Jacques,

Thank you both for your suggestions.  I had already set .ly files to
open in emacs by default, but it doesn't make point-and-click work.

I hadn't seen the improved documentation for the function in 2.17 (I
had read the current documentation), but I understand very little of
it.  It seems to be written for more technically knowledgeable people
than myself.  I have no idea how to configure Preview to use the
lilypond-invoke-editor script.  I looked through its preferences and
nothing about hyperlinks jumped out at me.  I was just wondering if
anybody else had made it work.  The 2.17 documentation is an
improvement, but still only provides information for people using Unix
or Linux.

Thanks anyway,
Kevin

On 19 December 2013 10:40, Federico Bruni  wrote:
> He's asking a different question, which is covered here:
> http://lilypond.org/doc/v2.17/Documentation/usage/configuring-the-system-for-point-and-click
>
> but it's mainly for linux users
> I have never had a mac so I can't help
>
>
>
> 2013/12/19 Jacques Menu 
>>
>> Hello Kevin,
>>
>> Select the icon of a .ly file, then Cmd-I (Lire les informations in the
>> french interface).
>>
>> In the window that pops up, you have a popup menu « Open with «  or
>> equivalent in your language, to select which application to use to open this
>> file by default.
>>
>> Checking the box below it allow you to set this for all .ly file, not just
>> one.
>>
>> Hope this help!
>>
>> JM
>>
>> Le 18 déc. 2013 à 22:03:52, Kevin Patrick Barry  a écrit :
>>
>> 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.
>>
>> Thanks in advance,
>> Kevin
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>> --
>>
>> Jacques Menu
>> Ch. de la Pierre 12
>> 1023 Crissier
>>
>> mailto:imj-...@bluewin.ch
>>
>>
>>
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-19 Thread Vaughan McAlley
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?

Vaughan



On 19 December 2013 08:03, Kevin Patrick Barry  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.
>
> Thanks in advance,
> Kevin
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-19 Thread Federico Bruni
He's asking a different question, which is covered here:
http://lilypond.org/doc/v2.17/Documentation/usage/configuring-the-system-for-point-and-click

but it's mainly for linux users
I have never had a mac so I can't help



2013/12/19 Jacques Menu 

> Hello Kevin,
>
> Select the icon of a .ly file, then Cmd-I (Lire les informations in the
> french interface).
>
> In the window that pops up, you have a popup menu « Open with «  or
> equivalent in your language, to select which application to use to open
> this file by default.
>
> Checking the box below it allow you to set this for all .ly file, not just
> one.
>
> Hope this help!
>
> JM
>
> Le 18 déc. 2013 à 22:03:52, Kevin Patrick Barry  a écrit :
>
> 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.
>
> Thanks in advance,
> Kevin
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> --
>
> Jacques Menu
> Ch. de la Pierre 12
> 1023 Crissier
>
> mailto:imj-...@bluewin.ch 
>
>
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: emacs point-and-click on OSX

2013-12-19 Thread Jacques Menu
Hello Kevin,

Select the icon of a .ly file, then Cmd-I (Lire les informations in the french 
interface).

In the window that pops up, you have a popup menu « Open with «  or equivalent 
in your language, to select which application to use to open this file by 
default.

Checking the box below it allow you to set this for all .ly file, not just one.

Hope this help!

JM

Le 18 déc. 2013 à 22:03:52, Kevin Patrick Barry  a écrit :

> 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.
> 
> Thanks in advance,
> Kevin
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


--

Jacques Menu
Ch. de la Pierre 12
1023 Crissier

mailto:imj-...@bluewin.ch




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user