bug-gnu-emacs
[Top][All Lists]
Advanced

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

emacs client problem


From: Bob Henz
Subject: emacs client problem
Date: Thu, 16 Dec 2004 13:48:41 -0500

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-05-22 on porky.devel.redhat.com
configured using `configure  --host=i386-redhat-linux --build=i386-redhat-linux 
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib 
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com 
--mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop 
--with-sound'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Don't know if this is a known issue or not...

I'm running Emacs version 21.3.1 and came across the following problem:

I wanted to use the emacsclient command to open multiple files in a single 
emacs session.

To do so I have the line

(server-start)

added to my .emacs file.

Then I type...

> emacsclient --no-wait myfilename

This works fine because there's at /tmp/esrv2800... file that gets created. As 
long as that exists everything's happy.

Now let's say I run a second instance of emacs. This still works fine and now 
any "emacsclient" commands I issue goes to the new editor.

However if I close instance #2 it removes the /tmp/esrv... magic file so my 
emacsclient commands no longer work despite the fact that I still have emacs 
instance #1 open.

Seems like the file (/tmp/esrv...) could have a reference count the prevents it 
from being deleted as long as there's an open emacs instance. (or maybe there's 
better way, that's just a suggestion.

Thanks,
Bob


Recent input:
<help-echo> <help-echo> M-x r e p o r t - e m a c s 
- b u g <return>

Recent messages:
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el 
(source)...done
Loading font-lock...
Loading regexp-opt...done
Loading font-lock...done
Loading server...done
Loading time...done
Loading advice...done
Loading mwheel...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done




reply via email to

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