Re: Emacs setup

2024-10-10 Thread Kenneth Flak
It's been a while, but I'm returning to lilypond now, and I still have some unresolved issues with emacs and lilypond, that I'm hoping you all can help me out with. First of all, how can I set pdf-tools to be the default viewer? Right now I have (customize-set-variable '

Thoughts on Emacs LilyPond-mode, templates and Lyqi

2024-07-13 Thread Laurie Savage
Hi, I've been playing with Emacs for editing Lilypond files, and while it isn't Frescobaldi I'm starting to enjoy using it. After all, George R R Martin wrote Game of Thrones on Wordstar because he was comfortable with the keystrokes. *Templates*: I have found a very good re

Re: Emacs setup

2024-07-06 Thread Laurie Savage
You can ignore my previous email! I have done some more digging and found the S-Left Tab (sorry, S-(left-iso)) binding. Laurie On Sun, 7 Jul 2024 at 10:04, Laurie Savage wrote: > I used the AucTeX package for editing LaTeX files in Emacs long ago when I > taught Physics. It ha

Re: Emacs setup

2024-07-06 Thread Laurie Savage
I used the AucTeX package for editing LaTeX files in Emacs long ago when I taught Physics. It had some keystrokes that let the user create environments and tags with combinations like C-c v, C-c e etc (it's long ago so forgive my memory ). Is their any way of accessing auto-complete for Lil

Re: Emacs setup

2024-07-06 Thread Immanuel Litzroth
Fair enough: "it" refers to the lilypond elisp code which provides integration between emacs and lilypond and utils for editing elisp code. That code is installed by the lilypond installer. Immanuel On Sat, Jul 6, 2024 at 6:17 PM waterhorsemusic wrote: > What is "it?" &

Re: Emacs setup

2024-07-06 Thread waterhorsemusic
What is "it?" It is useful to edit messages to make it easier to follow the thread. I do always use the latest developer version of Lilypond and have always had to do something to get lilypond-mode to work in Emacs on Linux only when I get a new computer. After that lilypond-mode w

Re: Emacs setup

2024-07-06 Thread Immanuel Litzroth
gt; > On Sat, Jul 6, 2024, 1:09 AM Immanuel Litzroth < > immanuel.litzr...@gmail.com> wrote: > >> lilypond mode is not included in emacs by default (at least not up until >> 30 prerelease). >> What is included in org mode is support for org mode lilypond blocks: >

Re: Emacs setup

2024-07-06 Thread Ben Bradshaw
Is it not being included by default a recent change? I have no memory of needing to ever install lilypond mode. Or is it installed when you install lilypond by default? On Sat, Jul 6, 2024, 1:09 AM Immanuel Litzroth wrote: > lilypond mode is not included in emacs by default (at least not

Re: Emacs setup

2024-07-06 Thread savage.laurie
Thanks for the very helpful reply Immanuel, you have confirmed my understanding of the (setq auto-mode ... ) statement - before I included that Emacs was not loading the *.I'll files, even with the full path and lilypond was sending error messages to that effect. Thanks the suggested fix,

Re: Emacs setup

2024-07-06 Thread Immanuel Litzroth
The '(setq auto-mode ... ' invocation does nothing except make emacs aware that any file ending in .ily is a lilypond file and it needs to use lilypond mode for that file It will not put the any directory on the lilypond include path (see https://lilypond.org/doc/v2.24/Documentatio

Re: Emacs setup

2024-07-06 Thread Immanuel Litzroth
lilypond mode is not included in emacs by default (at least not up until 30 prerelease). What is included in org mode is support for org mode lilypond blocks: > ./lisp/org/ob-lilypond.el but that don't get you very far without lilypond and it's mode. Immanuel On Sat, Jul 6, 2024 a

Re: Emacs setup

2024-07-05 Thread Laurie Savage
Pond-mode) auto-mode-alist)) Laurie On Sat, 6 Jul 2024 at 12:09, Ben Bradshaw wrote: > My recollection is that lilypond mode is included by default in emacs now. > I think you should just have to load the library. Have you tried the > settings from a few messages ago in this thread? >

Re: Emacs setup

2024-07-05 Thread Ben Bradshaw
My recollection is that lilypond mode is included by default in emacs now. I think you should just have to load the library. Have you tried the settings from a few messages ago in this thread? On Fri, Jul 5, 2024, 8:05 PM Laurie Savage wrote: > I've fiddled with Emacs and Lilypond but i

Re: Emacs setup

2024-07-05 Thread Laurie Savage
I've fiddled with Emacs and Lilypond but it didn't find my includes files that I keep in a directory in my /home directory. I tried setting that through the settings buffer for Lilypond mode but it obviously didn't take. Has anybody found a video tutorial showing its use? Laurie

Re: Emacs setup

2024-07-05 Thread Ben Bradshaw
Yeah pdf-tools is a good way to view PDFs within emacs. You can install it from the emacs package manager. On Fri, Jul 5, 2024, 1:41 PM Kenneth Flak wrote: > Aha, getting closer! This is all very helpful. I suspect I'm still > missing a couple of pieces of the puzzle, but

Re: Emacs setup

2024-07-05 Thread Kenneth Flak
Aha, getting closer! This is all very helpful. I suspect I'm still missing a couple of pieces of the puzzle, but I'm getting something out of xpdf. I still need to figure out what/how this whole pdf-tools thing is all about, though. Displaying pdfs inside emacs, perhaps? Bes

Re: Emacs setup

2024-07-05 Thread Ben Bradshaw
Welcome to emacs, where hackish is normal ;) I did get point and click, basically by following the GNOME settings on this page https://lilypond.org/doc/v2.23/Documentation/usage/configuring-the-system-for-point-and-click I had to do that even though I'm not using GNOME or a DE at all. You

Re: Emacs setup

2024-07-05 Thread Immanuel Litzroth
I posted a message a while back to get point-and-click +preview working in emacs a while back. It was titled "Point an Click & emacs", it requires pdf-tools -- which you want anyway :-) greetz, i On Fri, Jul 5, 2024 at 9:18 AM Kenneth Flak wrote: > Thanks a lot, Ben! This s

Re: Emacs setup

2024-07-05 Thread Kenneth Flak
Thanks a lot, Ben! This seems to work very nicely indeed (although a bit on the hacky side ;-)) Did you get point-and-click working by any chance? Best, Kenneth "Ben Bradshaw" writes: > For me on Arch, I have to do this in my emacs init file: > (autoload 'LilyPon

Re: Emacs setup

2024-07-04 Thread Ben Bradshaw
For me on Arch, I have to do this in my emacs init file: (autoload 'LilyPond-mode "lilypond-mode") (setq auto-mode-alist (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist)) (setq auto-mode-alist (cons '("\\.lyi$" . LilyPond-mode) auto-mode-a

Re: Emacs setup

2024-07-04 Thread Gilles Sadowski
Hello. Le jeu. 4 juil. 2024 à 17:05, Kenneth Flak a écrit : > > "Kenneth Flak" writes: > > Sorry, forgot to add subject... Still getting used to mu4e :-D > Kenneth > > > Hi list, > > > > I've started learning me a bit of emacs, and I wou

Emacs setup

2024-07-04 Thread Kenneth Flak
"Kenneth Flak" writes: Sorry, forgot to add subject... Still getting used to mu4e :-D Kenneth > Hi list, > > I've started learning me a bit of emacs, and I would love to get > lilypond working with it as well... However, the installation > instructions in the docum

Re: Emacs Mode Problem with includes

2023-11-15 Thread Laurie Savage
That worked perfectly: Emacs > Options > Customize Emacs > Options Matching > Lilypond > Lilypond Lilypond Command > /usr/bin/lilypond --include=/home/laurie/Lilypond/includes "${@}" Thanks Laurie Savage https://www.queensofthewest.com/ The Latest Qu

Re: Emacs Mode Problem with includes

2023-11-15 Thread Torsten Krueger
Any ideas? I am not calling lilypond directly from emacs, but a short script which itself runs: /usr/local/lilypond/current/bin/lilypond --include=/home/torsten/.lilypond/include "${@}" Have fuun! Torsten

Re: Emacs Mode Problem with includes

2023-11-14 Thread Laurie Savage
Thanks for trying! Laurie Savage On Tue, 14 Nov 2023 at 20:59, David Kastrup wrote: > Laurie Savage writes: > > > Thanks David, > > > > I think I'll stay with Frescobaldi! Emacs doesn't seem to edit .ly files > > any more easily so there isn't m

Re: Emacs Mode Problem with includes

2023-11-14 Thread David Kastrup
Laurie Savage writes: > Thanks David, > > I think I'll stay with Frescobaldi! Emacs doesn't seem to edit .ly files > any more easily so there isn't much advantage in tweaking it to behave with > my customised Include files. As for your question about where I fou

Re: Emacs Mode Problem with includes

2023-11-13 Thread Laurie Savage
Thanks David, I think I'll stay with Frescobaldi! Emacs doesn't seem to edit .ly files any more easily so there isn't much advantage in tweaking it to behave with my customised Include files. As for your question about where I found the documentation for the location of my In

Re: Emacs Mode Problem with includes

2023-11-13 Thread David Wright
include "jazzchords.ily" Does that also work? > But I'm not sure why this setting > hasn't been picked up by Emacs lilypond mode: > > Lilypond Include Path: String: /home/laurie/Lilypond/includes > State : SAVED and set. > LilyPond include path. &g

Re: Emacs Mode Problem with includes

2023-11-13 Thread Laurie Savage
Thanks, I should have spotted that. But I'm not sure why this setting hasn't been picked up by Emacs lilypond mode: Lilypond Include Path: String: /home/laurie/Lilypond/includes State : SAVED and set. LilyPond include path. Groups: Lilypond I don't want to type the

Re: Emacs Mode Problem with includes

2023-11-12 Thread David Zelinsky
>I set this in my ~/.emacs file >(custom-set-variables > '(LilyPond-include-path "/home/laurie/Lilypond/includes") > '(LilyPond-lilypond-command "/usr/bin/lilypond")) >Still I get errors like this: >/home/l

Emacs Mode Problem with includes

2023-11-12 Thread Laurie Savage
Hi, I thought I'd give the Emacs Lilypond mode a try-out. I like Emacs and have used it a lot for coding and writing in LaTeX in my past career. (No editor wars please, VIM is good too but I'm less familiar with it!) I store my Includes file in a directory ~/Lilypond/includes but Lil

Re: installing lilypond-mode for emacs on Linux Done

2022-04-09 Thread Paul Scott
ation: In .emacs.d directory I have the following init.el starting with the following: (setq load-path (append (list (expand-file-name "/usr/local/lilypond/usr/share/emacs/site-lisp/" )) load-path)) (autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode"

Re: installing lilypond-mode for emacs on Linux

2022-04-08 Thread David Wright
> > GNU Make. > > > > > I hadn't thought of GNUmakefile but according to updatedb and locate > > > > > there are only two clearly unrelated GNUmakefiles on this computer. > > > > Which begs the question: just what have you installed where and h

Re: installing lilypond-mode for emacs on Linux

2022-04-08 Thread Hwaen Ch'uqi
gt; > HC > > > On 4/8/22, Hwaen Ch'uqi wrote: >> Greetings Paul, >> >> I don't know if this will help, but this is what I do to get >> lilypond-mode working on emacs. The one caveat is that I only have one >> version installed. First, when installing

Re: installing lilypond-mode for emacs on Linux

2022-04-08 Thread Hwaen Ch'uqi
Of course, this also assumes that you have downloaded the documentation with the `--documentation' flag. HC On 4/8/22, Hwaen Ch'uqi wrote: > Greetings Paul, > > I don't know if this will help, but this is what I do to get > lilypond-mode working on emacs. The one

Re: installing lilypond-mode for emacs on Linux

2022-04-08 Thread Hwaen Ch'uqi
Greetings Paul, I don't know if this will help, but this is what I do to get lilypond-mode working on emacs. The one caveat is that I only have one version installed. First, when installing the .sh file, I use the flag `--prefix /usr/'. This ensures that the bin file is in the directo

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread Paul Scott
On 4/7/22 16:17, David Kastrup wrote: Paul Scott writes: On 4/7/22 15:08, David Kastrup wrote: Paul Scott writes: On 4/7/22 14:15, David Kastrup wrote: Paul Scott writes: On 4/7/22 13:02, David Kastrup wrote: Paul Scott writes: Greetings, I've forgotten too much.  I see the inst

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread David Kastrup
Paul Scott writes: > On 4/7/22 15:08, David Kastrup wrote: >> Paul Scott writes: >> >>> On 4/7/22 14:15, David Kastrup wrote: Paul Scott writes: > On 4/7/22 13:02, David Kastrup wrote: >> Paul Scott writes: >> >>> Greetings, >>> >>> I've forgotten too much.  I

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread Paul Scott
On 4/7/22 15:08, David Kastrup wrote: Paul Scott writes: On 4/7/22 14:15, David Kastrup wrote: Paul Scott writes: On 4/7/22 13:02, David Kastrup wrote: Paul Scott writes: Greetings, I've forgotten too much.  I see the instructions for activating lilypond-mode and am not remembering en

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread David Kastrup
Paul Scott writes: > On 4/7/22 14:15, David Kastrup wrote: >> Paul Scott writes: >> >>> On 4/7/22 13:02, David Kastrup wrote: Paul Scott writes: > Greetings, > > I've forgotten too much.  I see the instructions for activating > lilypond-mode and am not remembering enou

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread Jean Abou Samra
Le 07/04/2022 à 20:36, Paul Scott a écrit : Greetings, I've forgotten too much.  I see the instructions for activating lilypond-mode and am not remembering enough to get it to work. What have you tried and what does not work? I hadn't thought of GNUmakefile but according to updatedb and lo

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread Paul Scott
On 4/7/22 14:15, David Kastrup wrote: Paul Scott writes: On 4/7/22 13:02, David Kastrup wrote: Paul Scott writes: Greetings, I've forgotten too much.  I see the instructions for activating lilypond-mode and am not remembering enough to get it to work. TIA for any help, cd elisp make sud

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread David Kastrup
Paul Scott writes: > On 4/7/22 13:02, David Kastrup wrote: >> Paul Scott writes: >> >>> Greetings, >>> >>> I've forgotten too much.  I see the instructions for activating >>> lilypond-mode and am not remembering enough to get it to work. >>> >>> TIA for any help, >> cd elisp >> make >> sudo make

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread Paul Scott
On 4/7/22 13:02, David Kastrup wrote: Paul Scott writes: Greetings, I've forgotten too much.  I see the instructions for activating lilypond-mode and am not remembering enough to get it to work. TIA for any help, cd elisp make sudo make install I'm not finding a makefile. Paul

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread David Kastrup
Paul Scott writes: > Greetings, > > I've forgotten too much.  I see the instructions for activating > lilypond-mode and am not remembering enough to get it to work. > > TIA for any help, cd elisp make sudo make install probably. -- David Kastrup

installing lilypond-mode for emacs on Linux

2022-04-07 Thread Paul Scott
Greetings, I've forgotten too much.  I see the instructions for activating lilypond-mode and am not remembering enough to get it to work. TIA for any help, Paul

Some thoughts on narrowing, was Re: How to compile Lilypond files using Emacs?

2020-07-27 Thread David Wright
On Mon 27 Jul 2020 at 17:02:15 (+1000), Andrew Bernard wrote: > The issue is not WIndows specific. You need to add a line similar to > this in your emacs init file to get the compile to work: > > ;; lilypond > (setq LilyPond-lilypond-command "lilypond -I ~/lib/lilypond &

Re: How to compile Lilypond files using Emacs?

2020-07-27 Thread Andrew Bernard
Hi Parviz, The issue is not WIndows specific. You need to add a line similar to this in your emacs init file to get the compile to work: ;; lilypond (setq LilyPond-lilypond-command "lilypond -I ~/lib/lilypond -I~/lib/openlilylib/snippets") I also add the following: (autoload 

Re: How to compile Lilypond files using Emacs?

2020-07-26 Thread Andrew Bernard
You could have a look at this thread: https://lists.gnu.org/archive/html/lilypond-user/2019-01/msg00016.html [Not the answer to your original post, but you will hit this after you fix the compile matter. (Still looking for my notes).] Andrew

Re: How to compile Lilypond files using Emacs?

2020-07-26 Thread Andrew Bernard
Hi Parviz, Just a quick note - I'll send a full reply later. As a long time user of Emacs, I would really love to use emacs for lilypond. The issue is that the lilypond mode is quite broken in many ways and as your scores get longer and more complex you will see this. I don't recall

How to compile Lilypond files using Emacs?

2020-07-26 Thread Parviz Farnia
Hello, I would like to ask a question about using Lilypond with Emacs. According to the online documentation it is possible to use Lilypond with Emacs: https://lilypond.org/doc/v2.18/Documentation/usage/text-editor-support.html#emacs-mode The problem is that I cannot get it to work and I would

Re: Gvim and lilypond and emacs

2019-02-27 Thread peter
>>>>> "Andrew" == Andrew Bernard writes: Andrew> So I decided to go over to vim. I have used vi for decades, Andrew> but the Lilypond doco refers to gvim so I am trying that. Gvim Andrew> is new to me. I followed everything the Lilypond manual says, Andrew>

Re: Gvim and lilypond and emacs

2019-02-24 Thread foxfanfare
raft something. I'd still be using emacs but my current > string quartet score of only 60 pages makes even emacs in lilypond mode > slow down to the point of unusability, ten or fifteen seconds to position > the cursor, on a very fast computer workstation. I agree, the manual

Re: Gvim and lilypond and emacs

2019-02-24 Thread Andrew Bernard
Hi David, Funny, I have been using vi since it was invented by Bill Joy. Quite some time. (!) But I always use emacs, and I have to say I had never heard of gvim before this exercise. So it's a learning exercise for me to come to grips with the vast machinery of gvim. Here's somethi

Re: Gvim and lilypond and emacs

2019-02-23 Thread David Wright
On Sat 23 Feb 2019 at 20:11:06 (+1100), Andrew Bernard wrote: > Current progress. Perhaps I have hit a bug on Debian 9, hence the bonkers > inducing behaviour. Using EDITOR has no effect. But if I set LYEDITOR to > use gvim, it nearly works. This makes no sense to me. > > Here's what I have for LY

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
Only because emacs is failing me in lilypond mode - the initial cause of all this madness. I can't figure that out. Frescobaldi on Debian 9 is taking over ten seconds to position the cursor in a 60 page string quartet, and now emacs is coming up a close second. When the editors a

Re: Gvim and lilypond and emacs

2019-02-23 Thread Federico Bruni
Il giorno sab 23 feb 2019 alle 10:11, Andrew Bernard ha scritto: Current progress. Perhaps I have hit a bug on Debian 9, hence the bonkers inducing behaviour. Using EDITOR has no effect. But if I set LYEDITOR to use gvim, it nearly works. This makes no sense to me. Here's what I have for

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
Mysteries untangling. Kevin has been very insightful. It appears lilypond uses emacs if it finds nothing set. I never would have thought of that. Not only does this explain the behaviour, but it explains why I was going nuts as well. Next. GNOME apps like Nautilus start under Xsession, before

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
It's more subtle than that. LYEDITOR is heeded but EDITOR is not. I'd wager that's a bug. But the plot thickens now. Running evince from the terminal, it at least tries to use gvim via LYEDITOR. If I run the PDF from Nautilus, the GNOME file viewer, nothing happens. Somehow Nautilus is unable to s

Re: Gvim and lilypond and emacs

2019-02-23 Thread Hans Åberg
> On 23 Feb 2019, at 09:49, Kevin Barry wrote: > > Where are you setting EDITOR to gvim? Is it possible that you have set it > somewhere like bashrc or bash_profile that would be picked up by bash, but > maybe not by Gnome? On MacOS, I have in .basrc 'source ~/.profile', because xterm is usi

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
Current progress. Perhaps I have hit a bug on Debian 9, hence the bonkers inducing behaviour. Using EDITOR has no effect. But if I set LYEDITOR to use gvim, it nearly works. This makes no sense to me. Here's what I have for LYEDITOR, based on the NR: export LYEDITOR='gvim --remote +:%(line)s:norm

Re: Gvim and lilypond and emacs

2019-02-23 Thread Kevin Barry
Where are you setting EDITOR to gvim? Is it possible that you have set it somewhere like bashrc or bash_profile that would be picked up by bash, but maybe not by Gnome? I can't remember where to modify Gnome's environment so my question may be stupid. ___

Re: Gvim and lilypond and emacs

2019-02-23 Thread Andrew Bernard
Bonkers. I removed all instances of emacs from the Debian 9 system and purged my .cache directory. Lilypond-invoke-editor still insists on running emacsclient. EDITOR is set to gvim. Gvim is gvim - its not set to an alternate to emacs or anything silly like that. Syslog shows: eb 23 19:36:58

Gvim and lilypond and emacs

2019-02-22 Thread Andrew Bernard
emacs and point and click, having been an emacs user (but not an emacs hacker) for decades. The indentation mode is a complete failure. This has been discussed on the list for years. But that's OK. It's other strengths outweigh that. Now, at 60 pages of string quartet score, lilypond-mod

Re: Emacs lilypond mode formatting and indenting

2019-01-28 Thread Andrew Bernard
Hi Caio, For 2.19.82 refer to Section 4.1.1 Configuruing the system. It explains what to do to enable point and click from the PDF viewer program, and how to set the EDITOR variable to make emacs go to the right line and column. I don't think it says it there and assumes you know what yo

Re: Frescobaldi slowed down [WAS: Re: Emacs lilypond mode formatting and indenting]

2019-01-28 Thread Urs Liska
sponse now of the text editor is unusable, and I have had to abandon it for Emacs. Emacs is great, but the indentation is abysmal, and just messes up really quickly. Caught between two unsatisfactory worlds now. I think I am going to have to take on the m

Re: Frescobaldi slowed down [WAS: Re: Emacs lilypond mode formatting and indenting]

2019-01-28 Thread Andrew Bernard
di, but the very sluggish response now of the text editor >> is unusable, and I have had to abandon it for Emacs. Emacs is great, but >> the indentation is abysmal, and just messes up really quickly. Caught >> between two unsatisfactory worlds now. I think I am going to have to t

Re: Frescobaldi slowed down [WAS: Re: Emacs lilypond mode formatting and indenting]

2019-01-28 Thread David Kastrup
or > is unusable, and I have had to abandon it for Emacs. Emacs is great, but > the indentation is abysmal, and just messes up really quickly. Caught > between two unsatisfactory worlds now. I think I am going to have to take > on the monumental task or rewriting from scratch the lilypon

Re: Frescobaldi slowed down [WAS: Re: Emacs lilypond mode formatting and indenting]

2019-01-28 Thread Vaughan McAlley
of the text editor > is unusable, and I have had to abandon it for Emacs. Emacs is great, but > the indentation is abysmal, and just messes up really quickly. Caught > between two unsatisfactory worlds now. I think I am going to have to take > on the monumental task or rewriting from scratch

Re: Frescobaldi slowed down [WAS: Re: Emacs lilypond mode formatting and indenting]

2019-01-28 Thread Urs Liska
Am 28.01.19 um 08:18 schrieb Andrew Bernard: Hi Urs, I split my score into files only ten pages long to avoid the issue to begin with, but it suddenly started happening. Perhaps some Debian 9 Python change? Other than with LilyPond the issue is not the complexity of the *score* but that o

Re: Frescobaldi slowed down [WAS: Re: Emacs lilypond mode formatting and indenting]

2019-01-27 Thread Andrew Bernard
Hi Urs, I split my score into files only ten pages long to avoid the issue to begin with, but it suddenly started happening. Perhaps some Debian 9 Python change? Andrew On Mon, 28 Jan 2019 at 18:01, Urs Liska wrote: > > Am 28.01.19 um 07:51 schrieb Federico Bruni: > > Il giorno dom 27 gen 201

Re: Frescobaldi slowed down [WAS: Re: Emacs lilypond mode formatting and indenting]

2019-01-27 Thread Andrew Bernard
Hello Federico, Thanks for the input. Current score is only ten pages of string quartet music. Complex yes, but not vast. It suddenly stated after a Debian 9 update. I love Frescobaldi, but the very sluggish response now of the text editor is unusable, and I have had to abandon it for Emacs

Re: Frescobaldi slowed down [WAS: Re: Emacs lilypond mode formatting and indenting]

2019-01-27 Thread Urs Liska
Am 28.01.19 um 07:51 schrieb Federico Bruni: Il giorno dom 27 gen 2019 alle 1:58, Andrew Bernard ha scritto: But since an upgrade to Debian 9 and as the complexity of my current score increases, F. has slowed down to a molasses like rate and has sadly become unusable. Are you sure that it

Frescobaldi slowed down [WAS: Re: Emacs lilypond mode formatting and indenting]

2019-01-27 Thread Federico Bruni
Il giorno dom 27 gen 2019 alle 1:58, Andrew Bernard ha scritto: But since an upgrade to Debian 9 and as the complexity of my current score increases, F. has slowed down to a molasses like rate and has sadly become unusable. Are you sure that it was caused by an upgrade to Debian 9? Did you u

Re: Emacs lilypond mode formatting and indenting

2019-01-27 Thread David Kastrup
Andrew Bernard writes: > Thanks David! > > Interestingly, the following line appears in the lilypond mode elisp: > > lilypond-mode.el:;;; Inspired on auctex I think it's about keybindings for running stuff and possibly initial process handling, not so much about the parsing/indentation. And AUC

Re: Emacs lilypond mode formatting and indenting

2019-01-26 Thread Paul Scott
On Sat, Jan 26, 2019 at 11:17:21PM -0500, Hwaen Ch'uqi wrote: > I'm not sure if this is still on topic, but I have found that LilyPond > indentation on emacs goes off kilter when brackets (i.e., for beaming) > and parentheses (i.e., for slurs and phrasing slurs) are used.

Re: Emacs lilypond mode formatting and indenting

2019-01-26 Thread Hwaen Ch'uqi
I'm not sure if this is still on topic, but I have found that LilyPond indentation on emacs goes off kilter when brackets (i.e., for beaming) and parentheses (i.e., for slurs and phrasing slurs) are used. The solution for brackets is easy enough; putting space around them alleviates the pr

Re: Emacs lilypond mode formatting and indenting

2019-01-26 Thread David Wright
n to a molasses like rate and has sadly become > unusable. [I have never seen that before until now.] Consequently I have > returned to Emacs, as a long term Emacs user anyway. The PDF point and > click with Emacs all works splendidly on Debian 9, and everything is > lightning quick

Re: Emacs lilypond mode formatting and indenting

2019-01-26 Thread Andrew Bernard
Thanks David! Interestingly, the following line appears in the lilypond mode elisp: lilypond-mode.el:;;; Inspired on auctex Andrew On Sun, 27 Jan 2019 at 12:11, David Kastrup wrote: > > > You wouldn't want it to try. Really, somebody™ should rewrite Emacs' > LilyPond

Re: Emacs lilypond mode formatting and indenting

2019-01-26 Thread David Kastrup
as sadly become > unusable. [I have never seen that before until now.] Consequently I have > returned to Emacs, as a long term Emacs user anyway. The PDF point and > click with Emacs all works splendidly on Debian 9, and everything is > lightning quick. > > The indenting in the current li

Emacs lilypond mode formatting and indenting

2019-01-26 Thread Andrew Bernard
until now.] Consequently I have returned to Emacs, as a long term Emacs user anyway. The PDF point and click with Emacs all works splendidly on Debian 9, and everything is lightning quick. The indenting in the current lilypond mode is to put it politely, less than optimal. My question is, can the

Re: Compiling lilypond in emacs etc

2019-01-25 Thread David Kastrup
Andrew Bernard writes: > What is the best way to add flags and options to the lilypond compile > command in the emacs lilypond mode? I use M-x compile RET for that. > Also, regarding the failure to widen the buffer after the narrowing > that takes place in certain cases, I see in

Compiling lilypond in emacs etc

2019-01-24 Thread Andrew Bernard
What is the best way to add flags and options to the lilypond compile command in the emacs lilypond mode? Also, regarding the failure to widen the buffer after the narrowing that takes place in certain cases, I see in the archives the suggestion to wrap the instances of narrow-to-region in a save

Re: Automatic narrowing in Emacs?

2019-01-02 Thread David Sumbler
-Original Message- From: David Kastrup To: David Sumbler CC: lilypond-user@gnu.org Subject: Re: Automatic narrowing in Emacs? Date: Wed, 02 Jan 2019 15:14:29 +0100 David Sumbler writes: > I now realise that in these cases the buffer has been "narrowed". > This is a u

Re: Automatic narrowing in Emacs?

2019-01-02 Thread Andrew Bernard
Hi All, I now remember it was exactly this issue some time ago that caused me to stop using lilypond-mode. The narrowing does not get undone properly. My emacs-lisp coding is not up to fixing it. Is there anyone that could have a go at it? Andrew

Re: Automatic narrowing in Emacs?

2019-01-02 Thread David Kastrup
David Sumbler writes: > I now realise that in these cases the buffer has been "narrowed". > This is a useful feature of Emacs that I wasn't even aware of > previously, and no doubt I shall start to use it intentionally in > future. > > But I find that a large b

Re: Automatic narrowing in Emacs?

2019-01-02 Thread Andrew Bernard
Hi David, Never heard of this being automatic. Have you got a lot of customisations in your emacs? What version are you running (not that I think that makes any difference) and on what platform? Weird. hard to imagine how you would have both set a mark and typed C-x n n inadvertently. I always

Automatic narrowing in Emacs?

2019-01-02 Thread David Sumbler
This may be slightly off-topic, but it concerns a problem I have encountered in Emacs when editing Lilypond files and at no other time. I always use Emacs for creating and editing my Lilypond files. Some of these get quite large. When editing a very long file (typically over 2,000 lines) I have

Re: Point and click with Gnome 3 and Emacs

2018-11-14 Thread Federico Bruni
On Thu, 15 Nov, 2018 at 6:49 AM, Andrew Bernard wrote: Answering my own question, sorry for the noise. Start emacs --daemon. Then run emacsclient -c. This after following the instructions in the NR to setup Gnome 3. [It was the -c flag that eluded me.] The easiest way is adding this

Re: Point and click with Gnome 3 and Emacs

2018-11-14 Thread Andrew Bernard
Answering my own question, sorry for the noise. Start emacs --daemon. Then run emacsclient -c. This after following the instructions in the NR to setup Gnome 3. [It was the -c flag that eluded me.] Andrew ___ lilypond-user mailing list lilypond-user

Point and click with Gnome 3 and Emacs

2018-11-14 Thread Andrew Bernard
With lilypond 2.19.82 on Debian 9.6 running Gnome 3, I followed the instructions on how to set up point and click from PDF to emacs. All works, except that I get a new emacs instance every time. I then realized that one has to run emacsclient for this to work, but I can't quite figure out wh

Re: Emacs for Windows lilypond mode

2017-10-24 Thread bobr...@centrum.is
- Original Message - > From: "Garrett Fitzgerald" > To: "Lillypond Users Mailing List" > Sent: Tuesday, October 24, 2017 7:31:27 PM > Subject: Emacs for Windows lilypond mode > I'm sorry, but I'm having the darnedest time following the dir

Re: Emacs for Windows lilypond mode

2017-10-24 Thread Ben
On 10/24/2017 3:31 PM, Garrett Fitzgerald wrote: I'm sorry, but I'm having the darnedest time following the directions for how to install Lilypond-mode on Windows. I installed the latest release of GNU Emacs at c:\emacs and tried to follow the directions at http://www.geoff

Emacs for Windows lilypond mode

2017-10-24 Thread Garrett Fitzgerald
I'm sorry, but I'm having the darnedest time following the directions for how to install Lilypond-mode on Windows. I installed the latest release of GNU Emacs at c:\emacs and tried to follow the directions at http://www.geoffhorton.com/lilymacs.html. Either I'm looking at the wro

Re: lilypond-invoke-editor script openes 2 Emacs windows

2017-02-01 Thread Amir Teymuri
Hi Federico, thanks for the link, it solved my problem, On Mon, 30 Jan 2017 18:23:45 +0100 Federico Bruni wrote: > Il giorno dom 29 gen 2017 alle 23:20, Amir Teymuri > ha scritto: > > i have instructed the Evince PDF viewer to open the > > Emacs editor on clicking on

Re: lilypond-invoke-editor script openes 2 Emacs windows

2017-01-30 Thread Federico Bruni
Il giorno dom 29 gen 2017 alle 23:20, Amir Teymuri ha scritto: i have instructed the Evince PDF viewer to open the Emacs editor on clicking on objects using the lilypond-invoke-editor script, however this opens two same Emacs windows! Any idea why this happens? Hi Amir try this: https

lilypond-invoke-editor script openes 2 Emacs windows

2017-01-29 Thread Amir Teymuri
Hi, i have instructed the Evince PDF viewer to open the Emacs editor on clicking on objects using the lilypond-invoke-editor script, however this opens two same Emacs windows! Any idea why this happens? Cheers, Amir ... Amir Teymuri

Re: Using .info documentation in emacs

2016-09-10 Thread Kevin Barry
OK so I downloaded the tarball from the lilypond website and added the info directory to the Info-default-directory-list, but that didn't work, even after adding all of Hwaen's suggested entries to the dir file (is there a reason this is empty?). I can manually open the dir file with Info and I ca

Re: Using .info documentation in emacs

2016-09-10 Thread Kevin Barry
Thank you for responding. > Did you restart Emacs? There are also key sequences for rereading the > info file but I did not look at them. Yes but that didn't help. > > If that doesn't help, obviously the provided lilypond-doc package is > broken. If I point info to t

Re: Using .info documentation in emacs

2016-09-10 Thread David Kastrup
Kevin Barry writes: > Hi all, > > I have installed the lilypond-doc package on my system (Fedora), but > it didn't add anything to the main info directory. Did you restart Emacs? There are also key sequences for rereading the info file but I did not look at them. If

  1   2   3   4   5   6   7   >