From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bob Henz Newsgroups: gmane.emacs.bugs Subject: emacs client problem Date: Thu, 16 Dec 2004 13:48:41 -0500 Message-ID: <200412161848.iBGImf4R020258@aerostar.lpdev.prtdev.lexmark.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1103223041 18615 80.91.229.6 (16 Dec 2004 18:50:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Dec 2004 18:50:41 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 16 19:50:32 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cf0hr-0005kB-00 for ; Thu, 16 Dec 2004 19:50:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cf0s8-0005bs-1v for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Dec 2004 14:01:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cf0s6-0005bc-6F for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2004 14:01:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cf0s5-0005b9-9K for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2004 14:01:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cf0s5-0005ay-3N for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2004 14:01:05 -0500 Original-Received: from [192.146.101.70] (helo=sw1.lexmark.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cf0gB-0005Pv-Bw for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2004 13:48:47 -0500 Original-To: bug-gnu-emacs@gnu.org X-MIMETrack: Itemize by SMTP Server on smtp5b/Lex/Lexmark(Release 5.0.12 |February 13, 2003) at 12/16/2004 01:48:42 PM, Serialize by Router on smtp5b/Lex/Lexmark(Release 5.0.12 |February 13, 2003) at 12/16/2004 01:48:42 PM, Serialize complete at 12/16/2004 01:48:42 PM X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:10094 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10094 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: M-x r e p o r t - e m a c s - b u g 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