lilypond-user
[Top][All Lists]
Advanced

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

Re: Newbie: Emacs configuration on Debian


From: rtml
Subject: Re: Newbie: Emacs configuration on Debian
Date: Tue, 14 Oct 2003 12:30:01 +0200





At 10:45 14/10/2003 +0200, Mats Bengtsson wrote:
If you use bash as shell, add the following lines to your ~/.profile

XEDITOR='emacsclient --no-wait +%l %f'
export XEDITOR

If you use tcsh as a shell, add the following line to your .tcshrc

setenv XEDITOR 'emacsclient --no-wait +%l %f'

You can easily verify the value of an environment variable using
echo $XEDITOR
or
printenv XEDITOR

That is what I had been tring for two days with no luck (I couldn't get the XEDITOR variable showing). Today, the variable works (don't know why), but point to click still doesn't.

I can see variable XEDITOR=emacsclient --no-wait +%l %f, but Xdvi still fails with 'No editor found - using built-in default (vi)'

I am using : Xdvi version 22.40, Emacs 21.2.1.

        Trying to understand, there is three modifications:
- inserting a line in .ly file: seems to works, as left ctl+click triggers the error - setting XEDITOR. Seems to work to. At least, I can see the variable in a shell - adding (server-start) to .emacs. If I insert a line in error in .emacs (in order to see progress messages), I see:
        [snip]
        Loading 00debian-vars...done
        Loading 50Lilypond (source)...done
        Loading server...done
        [ error message]

Is there any documentation to read about interaction between editor, latex dvi, etc...? Any idea?

Thank you


rtml wrote:
        Hi all,
Sorry if this is rather a Debian or emacs question, but Lilypond users certaily solved this problem before. I am new to Lilypond (and Debian distibution) , and would like to have the point and clik working. Xdvi complains with 'No editor found - using built-in default (vi)'. I think XEDITOR is not seen par Xdvi. Can somebody tell me where to put the 'XEDITOR=...' line ? I tried in ~/.profile, in /etc/profile (which is documented as system wide), and in even in some bashrc related files. None works.

Regards
Roland


_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.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]