Federico Bruni <fedel...@gmail.com> writes: > 2013/12/31 David Kastrup <d...@gnu.org> > >> >> Configure EDITOR to use emacsclient rather than emacs, and run M-x >> >> server-start RET (or do it from .emacs) in the Emacs that is supposed to >> >> catch the point-and-click. >> > >> > Mmmh, too complicate, I'll set gvim. >> >> Huh? It's not complicated at all. It's one >> >> (server-start) >> >> in your .emacs file, and one >> >> export EDITOR=emacsclient >> >> in your .bashrc file. >> >> > I should have said that it's easy, but it doesn't work for me. > These are my settings: > > $ echo $EDITOR > /usr/bin/emacsclient > $ cat .emacs | grep server > (server-start) > > But every time I click on a note on Evince, a new window of Emacs pops up. > > >> > However, it seems to me that the configuration in .bashrc only works for >> > URIs opened using gnome-open. >> > When I click on Evince, .bashrc is totally ignored >> >> .profile should usually load .bashrc as well and be run on login. > > > Yes, .bashrc is updated, I can verify it in the terminal. > Evince simply keep opening emacs, even if $EDITOR is set to gvim (or > whatever).
Have you logged out of your session and in again after updating .profile? Settings will not get activated before that. And emacs does not abort executing .emacs due to an error in it before it reaches server-start? -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user