[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] emacsclient to handle ALTERNATE_EDITOR when no parameterprovided
From: |
Markus Rost |
Subject: |
[PATCH] emacsclient to handle ALTERNATE_EDITOR when no parameterprovided |
Date: |
Mon, 26 Jan 2004 09:54:19 +0100 |
--- emacs.orig/lib-src/emacsclient.c 2004-01-25 19:42:25.000000000 +0100
+++ emacs/lib-src/emacsclient.c 2004-01-25 19:43:23.000000000 +0100
That patch works fine for me.
Here is a related problem: Suppose there is no server running. Then
the shell command
emacsclient --alternate-editor=emacs-21.3 foo
opens emacs-21.3, but with the funny WINDOW title
"address@hidden"
while the title should be
"address@hidden"
However the shell commands
emacsclient --alternate-editor emacs-21.3 foo
emacsclient -a emacs-21.3 foo
work fine.
Another minor thing: I usually use a non-installed emacs compiled
from the CVS sources. This gives problems, too. The shell command
/var/tmp/cvs/emacs/lib-src/emacsclient
--alternate-editor=/var/tmp/cvs/emacs/src/emacs foo
returns warnings and an error:
emacsclient: connect: Connection refused
Warning: arch-dependent data dir
(/var/tmp/local/libexec/emacs/21.3.50/i686-pc-linux-gnu/) does not exist.
Warning: Lisp directory `/var/tmp/local/share/emacs/21.3.50/site-lisp' does not
exist.
Warning: Lisp directory `/var/tmp/local/share/emacs/site-lisp' does not exist.
Warning: Lisp directory `/var/tmp/local/share/emacs/21.3.50/leim' does not
exist.
Warning: Lisp directory `/var/tmp/local/share/emacs/21.3.50/lisp' does not
exist.
Cannot open load file: term/x-win
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] emacsclient to handle ALTERNATE_EDITOR when no parameterprovided,
Markus Rost <=