lilypond-user
[Top][All Lists]
Advanced

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

Re: point-and-click


From: Mats Bengtsson
Subject: Re: point-and-click
Date: Mon, 25 Oct 2004 13:04:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

The point of using emacsclient is exactly that you open the file
in the emacs process that is already up and running.
However, what you maybe missed is that you need to start the
corresponding server in emacs.
I have the following in my .emacs file:

;;
;; Start the emacs server, so we can use emacsclient
;;
(server-start)


   /Mats

David Bobroff wrote:
I finally decided to see if I could get point-and-click really working.
After reading the instructions in Appendix D I discovered that I did not
fully understand them:

Make sure that the environment variable XEDITOR is set to

emacsclient --no-wait +%l %f

I did not fully understand this at first.  A friend who understands
Linux better than I helped me out with this one.  This needed to be in
my ~/.bashrc file.

But I was getting errors.  If I have this 'emacsclient' line in my
~/.bashrc file I get:

Xdvi Error
Error executing:
emacsclient --no-wait %l %f (I get real line numbers, of course)
/path/to/file.ly

If, however,  I use this line instead:

export XEDITOR="emacs +%l %f"
...it works.  I can even use

export XEDITOR="emacs +%l:%c %f"
...and get the cursor to land in the correct column (Emacs 21.2.1).

But, each time I do point-and-click I get a new instance of Emacs.  Is
this correct?  If so, it seems a bit awkward.

Any clarifications welcome.

-David



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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