emacs on Ubuntu

2009-09-16 Thread Ralph Palmer
Hi, I've been here before, but I've still got a problem. I'm running Ubuntu (Jaunty Jackalope), Lilypond 2.12.2, and emacs 22.2.1. Whenever I try to open a .ly file in emacs, I get : File mode specification error: (file-error "Cannot open load file" "lilypond-mode") Has anyone else had this prob

Re: emacs on Ubuntu

2009-09-16 Thread David Stocker
Hi Ralph, To my novice eyes, it seems there is one of two possible issues here: 1. The path indicated in your "init.el" file, which is supposed to point to the lilypond-mode files in your LilyPond installation folder is incorrect, or 2. "init.el" points to the place where the lilyp

Re: emacs on Ubuntu

2009-09-16 Thread James E. Bailey
On 17.09.2009, at 03:08, Ralph Palmer wrote: Or is there another helpful text editor (with highlighting), other than jedit (with seems to be slow and resource intensive, in my experience)? There's a section that says vim has lilypond support, and nano supports syntax hilighting. (And, al

Re: emacs on Ubuntu

2009-09-17 Thread David Stocker
Okay. If you still want to enable lilypond-mode in Emacs, go to /home/yourusername/.emacs.d and edit the file called "init.el" If the directory or the file (or both) don't exist, then create them. In init.el, paste in the following: **begin copy and paste section** (setq load-path (append (

Evince and emacs on Ubuntu

2015-10-12 Thread Andrew Bernard
Does anybody use evince on Ubuntu 15.04 for the point and click link following functionality? I followed these instructions: https://github.com/markk/textedit-ly But clicking a link invokes not one but two copies of emacsclient, and each time you click a note two new copies of emacs are starte

Re: Evince and emacs on Ubuntu

2015-10-12 Thread David Kastrup
Andrew Bernard writes: > Does anybody use evince on Ubuntu 15.04 for the point and click link > following functionality? > > I followed these instructions: > > https://github.com/markk/textedit-ly Why not the instructions included in LilyPond? http://lilypond.org/doc/v2.19/Documentation/usage/c

Re: Evince and emacs on Ubuntu

2015-10-12 Thread David Kastrup
David Kastrup writes: > Andrew Bernard writes: > >> Does anybody use evince on Ubuntu 15.04 for the point and click link >> following functionality? >> >> I followed these instructions: >> >> https://github.com/markk/textedit-ly > > Why not the instructions included in LilyPond? > > http://lilyp

Re: Evince and emacs on Ubuntu

2015-10-12 Thread Andrew Bernard
Well I converted my Ubuntu 15.04 to use the latest supported GNOME 3 shell instead of Unity. Then as instructed, followed the steps in section 4.1.1 of the lilypond usage manual (2.19.28) for GNOME 3 with emacs. When using evince and clicking a link, I get two new copies of emacs each time, eve

Re: Evince and emacs on Ubuntu

2015-10-12 Thread Andrew Bernard
Ahem, a couple of reboots and it all works now. Just one of those things. Truly beautiful to have working. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

LilyPond 2.12 and emacs on Ubuntu

2009-02-25 Thread Ralph Palmer
Hi - I'm an intermediate lilyponder and a novice penguinista. I have Ubuntu 8.10 (Intrepid Ibex) mounted on an older laptop. I successfully removed the LilyPond version that came with the Ubuntu package, and installed 2.12 (although I thought the documentation would come with the installation pack

point-and-click in emacs on Ubuntu

2007-10-18 Thread Laura Conrad
When I install with the GUB, I can set: LYEDITOR=emacsclient.emacs-snapshot --no-wait +%(line)s:%(column)s %(file)s and put "urlCommand "lilypond-invoke-editor %s" into my .xpdfrc, point-and click works for me in lilypond 10.33 on my Ubuntu Feisty system with emacs-snapshot installed. Ho

Re: LilyPond 2.12 and emacs on Ubuntu

2009-02-25 Thread David Stocker
Hi Ralph, The lilypond-mode worked 'out of the box' for me when after opening a .ly file with emacs or saving whatever file I was working on with a .ly extension. At least this was true on Ubuntu 8.04 and Emacs 22 from the Ubuntu repositories. Did you install Emacs from the repositories? If yo

Re: LilyPond 2.12 and emacs on Ubuntu

2009-02-25 Thread David Stocker
Forgot to mention, the Emacs I installed from the repos was the GTK flavor of Emacs 22. Not sure whether it makes a difference. As far as Emacs vs. gEdit or something else, Emacs is a little more 'programmerish', with keystrokes that take some getting used to (c-x c-s instead of ctr-s for save

Re: LilyPond 2.12 and emacs on Ubuntu

2009-02-25 Thread James E. Bailey
Well, the basic (i.e., for people who understand emacs) instructions are in the Application Usage, under Text Editor Support. El 26.02.2009, a las 02:44, Ralph Palmer escribió: Hi - I'm an intermediate lilyponder and a novice penguinista. I have Ubuntu 8.10 (Intrepid Ibex) mounted on an ol

Re: LilyPond 2.12 and emacs on Ubuntu

2009-02-28 Thread David Stocker
Ralph, If you haven't already tried it, have a look at this short, sweet walkthrough for setting up lilypond-mode for emacs: http://www.geoffhorton.com/lilymacs.html I did this under Windows XP and (with some figuring and a little luck) got it working on both my XP machines. I assume that un

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread Ralph Palmer
On Sat, Feb 28, 2009 at 7:56 PM, David Stocker wrote: > Ralph, > > If you haven't already tried it, have a look at this short, sweet > walkthrough for setting up lilypond-mode for emacs: > > http://www.geoffhorton.com/lilymacs.html > > Actually, following the above instructions turned out to be th

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread Cameron Horsburgh
0;241;0cOn Wed, Mar 04, 2009 at 07:08:05AM -0500, Ralph Palmer wrote: >On Sat, Feb 28, 2009 at 7:56 PM, David Stocker ><[1]dstoc...@thenotesetter.com> wrote: > > Ralph, > > If you haven't already tried it, have a look at this short, sweet > walkthrough for setting up lilypo

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread Ralph Palmer
Hmmm - I tried M-x lilypond-mode, and got an emacs error message that lilypond-mode couldn't be found. I tried M-x LilyPond-mode, and got an emacs error message that lilypond-mode file couldn't be opened. Anyone have a suggestion? Ralph On Wed, Mar 4, 2009 at 7:22 AM, Cameron Horsburgh wrote:

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread Valentin Villenave
2009/3/4 Ralph Palmer : > I tried M-x lilypond-mode, and got an emacs error message that lilypond-mode > couldn't be found. > Anyone have a suggestion? Mmmh... jEdit? OK, I'm out :) Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread David Stocker
It shouldn't be this hard to set up lilypond-mode for emacs under Ubuntu 8.04. Ralph, check in your home folder and see if there is a folder called .emacs.d and if there is a file in that folder named init.el It should be there. If not, create that file and folder. We're going to get this wo

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread Ralph Palmer
Dave, Does it make any/much/a significant difference that I'm running 8.10? I would think anything that worked under 8.04 should work under 8.10. Ralph On Wed, Mar 4, 2009 at 11:23 AM, David Stocker wrote: > It shouldn't be this hard to set up lilypond-mode for emacs under Ubuntu > 8.04. > > Ra

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread David Stocker
I don't think it should matter. Are the folder and file there? Ralph Palmer wrote: Dave, Does it make any/much/a significant difference that I'm running 8.10? I would think anything that worked under 8.04 should work under 8.10. Ralph On Wed, Mar 4, 2009 at 11:23 AM, David Stocker mailto:d

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread Ralph Palmer
Dave - Okay, in home/rpalmer/, I've got a .emacs.d. The only thing that contains is auto-save-list (a directory), which is empty. I'll create the init.el file in ~/.emacs.d. Ralph On Wed, Mar 4, 2009 at 11:59 AM, Ralph Palmer wrote: > Dave, > > Does it make any/much/a significant difference tha

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread David Stocker
In the file /init.el/ paste in the following lines: (setq load-path (append (list (expand-file-name "~/emacs/site-lisp")) load-path)) (autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t) (add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode)) (add-to-list 'auto-mode-alist '("

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread Ralph Palmer
Getting close, I think - " So, the first line should actually read: (setq load-path (append (list ("/usr/local/lilypond/usr/share/emacs/site-lisp")) load-path)) if "/usr/local/lilypond/usr/share/emacs/site-lisp" is the (apparently appropriate) result of a $locate on /emacs/site-lisp? Ralph On

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread David Stocker
If your LilyPond installation resides in /usr/local/ then that should be correct. Ralph Palmer wrote: Getting close, I think - " So, the first line should actually read: (setq load-path (append (list ("/usr/local/lilypond/usr/share/emacs/site-lisp")) load-path)) if "/usr/local/lilypond/usr/

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread Ralph Palmer
Dave - Did what you said, as far as I could. Opened a .ly file, and got bounced. Opened the file again with the --debug-init option, and got: Debugger entered--Lisp error: (invalid-function "/usr/local/lilypond/usr/share/emacs/site-lisp") ("/usr/local/lilypond/usr/share/emacs/site-lisp") (lis

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread David Stocker
Sure, Ralph. I'll do some digging and try to figure out what makes lilypond-mode work in my installation. In the meantime, check out: http://tldp.org/HOWTO/Emacs-Beginner-HOWTO-3.html#ss3.1 if you haven't already, just for some background information on modes in Emacs. Email me off-list if

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread Peter Chubb
> "David" == David Stocker writes: David> If your LilyPond installation resides in /usr/local/ then that David> should be correct. David> Ralph Palmer wrote: >> Getting close, I think - " So, the first line should actually read: >> >> (setq load-path (append (list >> ("/usr/local/lilypond/u

Re: LilyPond 2.12 and emacs on Ubuntu

2009-03-04 Thread David Stocker
Peter, Are you referring to the apostrophe (or single-quote, if you will) just before the 3rd opening parenthesis in the first line? Ralph, it's worth a try. My XP init.el file doesn't contain this and it loads lilypond-mode with no error messages. I'm not sure if there's a difference betwee