[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: vim, point and click
From:       Mats Bengtsson <mats.bengtsson () ee ! kth ! se>
Date:       2008-09-27 18:47:35
Message-ID: 20080927204735.eituhsrtinwcc8w0 () webmail ! md ! kth ! se
[Download RAW message or body]



Quoting Stefan Thomas <kontrapunktstefan@googlemail.com>:

> Dear Mats,
> I have read the Application Usage, but I didn't unterstand:
> shall I add
> emacsclient ?no-wait +line:column file
>
> in the .emacs file, or in lilypond-invoke-editor, or somewhere else?

No! When I read this section more carefully (which I hadn't done when I 
wrote the previous reply) I see that this is what lilypond-invoke-editor
does by itself. In other words, if you don't have the LYEDITOR environment
variable set (which you typically shouldn't), point and click should 
result in that emacsclient is invoked, which does not start a new Emacs
session but rather opens a new buffer in an existing Emacs session. 
However, you have to make sure that the corresponding server is started
in Emacs, which you can do by adding (server-start)
in your .emacs file.

    /Mats
>
>
> 2008/9/26 Mats Bengtsson <mats.bengtsson@ee.kth.se>
>
>> Please read the section on Point and Click in the Application Usage manual
>> for LilyPond,
>> i.e. make sure to use emacsclient.
>>
>>  /Mats
>>
>> Stefan Thomas wrote:
>>
>>> I got now point and click working with emacs.
>>> But I have another problem now: every time when I click on a note in xpdf,
>>> a new emacs window will be opened. How can I avoid this?
>>>
>>> 2008/9/26 Stefan Thomas <kontrapunktstefan@googlemail.com <mailto:
>>> kontrapunktstefan@googlemail.com>>
>>>
>>>    Dear Mark,
>>>    I use Kpdf and acrobat reader on a linux machine.
>>>    But I don't understand how to use the files You added.
>>>
>>>    2008/9/26 Mark Knoop <mark@opus11.net <mailto:mark@opus11.net>>
>>>
>>>        At 10:21 on 26 Sep 2008, Stefan Thomas wrote:
>>>        > Dear lilypond-.users,
>>>        > I tried to get the point and click working with gvim. I've
>>>        read the
>>>        > (german) documentation about it, but it es not quite clear
>>>        for me.
>>>        > I added
>>>        >
>>>        > gvim ?remote +:line:normchar file
>>>        >
>>>        >
>>>        > in .xdfrc, but after a click, emacs will be opened. Or do I
>>>        have it
>>>        > to add in the lilypond-invoke.editor program?
>>>
>>>        It depends what you are using to view the pdf. If you are
>>>        using evince
>>>        in gnome, you need to add the textedit schema to gconf. See the
>>>        attached files for details.
>>>
>>>        --
>>>        Mark Knoop
>>>
>>>        _______________________________________________
>>>        lilypond-user mailing list
>>>        lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
>>>        http://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> lilypond-user mailing list
>>> lilypond-user@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>
>> --
>> =============================================
>>        Mats Bengtsson
>>        Signal Processing
>>        School of Electrical Engineering
>>        Royal Institute of Technology (KTH)
>>        SE-100 44  STOCKHOLM
>>        Sweden
>>        Phone: (+46) 8 790 8463
>>       Fax:   (+46) 8 790 7260
>>        Email: mats.bengtsson@ee.kth.se
>>        WWW: http://www.s3.kth.se/~mabe <http://www.s3.kth.se/%7Emabe>
>> =============================================
>>
>>
>






[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic