From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 09 07:48:46 2014 Received: (at submit) by debbugs.gnu.org; 9 Sep 2014 11:48:46 +0000 Received: from localhost ([127.0.0.1]:34477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRJuf-0007pn-Jv for submit@debbugs.gnu.org; Tue, 09 Sep 2014 07:48:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41234) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRJud-0007pJ-CK for submit@debbugs.gnu.org; Tue, 09 Sep 2014 07:48:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRJuT-0001Od-EE for submit@debbugs.gnu.org; Tue, 09 Sep 2014 07:48:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRJuT-0001OZ-BO for submit@debbugs.gnu.org; Tue, 09 Sep 2014 07:48:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRJuR-00015E-NI for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2014 07:48:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRJuQ-0001NM-6i for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2014 07:48:31 -0400 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:64566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRJuQ-0001N5-1f for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2014 07:48:30 -0400 Received: by mail-oi0-f42.google.com with SMTP id e131so3428510oig.1 for ; Tue, 09 Sep 2014 04:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=zwfWwj14oPKcee5penSVEQOEH9iwBmUHViXAuCOFQUA=; b=pDLrpNR8sS0Jb+EYvICSYnwF4xY34xQR2pYRPqNT23b1UbTT3B2sdxexlfmgP/CYYv Pf2k7c0H6frPOdA8tx+vAgvQy1Q0Kioijo1ZhSqgWwWxkJGW0KAoPBddzjD/c3Hk9ehu cFQTNeb37a5INZCK9rARFnH+SbYo08L6IJsQ/VaffG5MIop+qpTCsroqliIUCfJ7uHDh THtTvMfUKljrd8mehn8zsNrFvqudJe9Gd+m1XYTW14U0/Zv/I4qfo4/zyJrQzSIpjRie lx7ArwI75BZ61ugHoAGYCD2H8yg2o0iz38hltxhw6L56O5U0nV9Ja/xg1r27EL+cF1Iw 99gQ== X-Received: by 10.182.200.166 with SMTP id jt6mr37114430obc.1.1410263307469; Tue, 09 Sep 2014 04:48:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.227.1 with HTTP; Tue, 9 Sep 2014 04:48:07 -0700 (PDT) From: Rustom Mody Date: Tue, 9 Sep 2014 17:18:07 +0530 Message-ID: Subject: 24.3; emacsclient spurious error message To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Say I dont have emacs running and call emacsclient as follows: $ emacsclient --alternate-editor emacs foo.txt Error (warning) message as follows is given: emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". After printing which, it starts ok, editing the file!! It seems to me this message should not come if --alternate-editor is supplied. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/24.3/etc/DEBUG. In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.12.2) of 2014-06-06 on barber, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11600000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 09 11:50:39 2014 Received: (at 18431) by debbugs.gnu.org; 9 Sep 2014 15:50:39 +0000 Received: from localhost ([127.0.0.1]:35538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRNgk-00063X-FP for submit@debbugs.gnu.org; Tue, 09 Sep 2014 11:50:38 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37437 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRNgh-00063P-Nx for 18431@debbugs.gnu.org; Tue, 09 Sep 2014 11:50:37 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XRNgh-0002gC-2f; Tue, 09 Sep 2014 11:50:35 -0400 From: Glenn Morris To: Rustom Mody Subject: Re: bug#18431: 24.3; emacsclient spurious error message References: X-Spook: Steve Case Craig Livingstone SAFE Waco, Texas Saudi X-Ran: ;kwJX,0D`t=.o@t=Yc%w9U[`";HrQx\W?iI!f+P^BqB#v;3k/u9;LC1P{='3 (Rustom Mody's message of "Tue, 9 Sep 2014 17:18:07 +0530") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.5 (-------) X-Debbugs-Envelope-To: 18431 Cc: 18431@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.5 (-------) Rustom Mody wrote: > Error (warning) message as follows is given: > > emacsclient: can't find socket; have you started the server? > To start the server in Emacs, type "M-x server-start". > > After printing which, it starts ok, editing the file!! It it is letting you know that it tried to contact an existing Emacs instance but failed, and it shares the message text with the non --alternate-editor case. Yes, the message could be special-cased for --alternate-editor, but it doesn't seem like a big deal. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 09 12:01:45 2014 Received: (at 18431) by debbugs.gnu.org; 9 Sep 2014 16:01:45 +0000 Received: from localhost ([127.0.0.1]:35556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRNrV-0007bl-4B for submit@debbugs.gnu.org; Tue, 09 Sep 2014 12:01:45 -0400 Received: from mail-oa0-f47.google.com ([209.85.219.47]:50997) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRNrS-0007bW-RF for 18431@debbugs.gnu.org; Tue, 09 Sep 2014 12:01:43 -0400 Received: by mail-oa0-f47.google.com with SMTP id i7so12054936oag.20 for <18431@debbugs.gnu.org>; Tue, 09 Sep 2014 09:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=4uZrj+9ksTwMYkfZU9xAf/nt3RU6AI6M/u1bxIkrX8U=; b=0enc08WmV1hK+YvaZKfYXzaSANz5mO1/2/8wI3qB0yGXHq5VdppQKkIIblEELmvOEk NiJvQxzYkxQFOHhmS0nSDOL9TxSOZUYCxvfdOjP1HJg1KiHVuWDM83FZr235USyb5Jw3 uR+HLu5KnY8bb0qb1YxEeJi77bn4qA8lopLA9uqSs140AbLWDmFeaiVl2Y6iU22pN8YM fK2XfZg9svggRhNKOO7FahA+hO9uqWKApKzzJxm4Cw41qtA85cZM13Yr6ICeRcJn7xd5 ccJ3EW76CAwe/xLvChxQwekizmL75/gnTPb4iMYperTnHR/fRKilnVOFI793vPKTl7JL sfeQ== X-Received: by 10.182.200.166 with SMTP id jt6mr38845819obc.1.1410278495305; Tue, 09 Sep 2014 09:01:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.227.1 with HTTP; Tue, 9 Sep 2014 09:01:15 -0700 (PDT) In-Reply-To: References: From: Rustom Mody Date: Tue, 9 Sep 2014 21:31:15 +0530 Message-ID: Subject: Re: bug#18431: 24.3; emacsclient spurious error message To: Glenn Morris Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18431 Cc: 18431@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Tue, Sep 9, 2014 at 9:20 PM, Glenn Morris wrote: > Rustom Mody wrote: > >> Error (warning) message as follows is given: >> >> emacsclient: can't find socket; have you started the server? >> To start the server in Emacs, type "M-x server-start". >> >> After printing which, it starts ok, editing the file!! > > It it is letting you know that it tried to contact an existing Emacs > instance but failed, and it shares the message text with the non > --alternate-editor case. Yes, the message could be special-cased for > --alternate-editor, but it doesn't seem like a big deal. Sure its minor. Nevertheless its a bogus error message. Also as you say the messages are shared; they are not the same: Without alternate $ emacsclient foo emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) With alternate $ emacsclient -a emacs foo emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". In any case thanks for working on emacs and yeah its not a big deal! Rusi From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 20 14:01:48 2020 Received: (at 18431) by debbugs.gnu.org; 20 Aug 2020 18:01:48 +0000 Received: from localhost ([127.0.0.1]:43941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8osm-0004rh-2h for submit@debbugs.gnu.org; Thu, 20 Aug 2020 14:01:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8osg-0004rM-Kt for 18431@debbugs.gnu.org; Thu, 20 Aug 2020 14:01:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oibTZwLp0av55rCVzUf2AUYI2Z7k2bLNp/6gGEknTWk=; b=gU/0KujiBXpQs4l3wKgVku8WO7 mElr4tK39L8qJ89HwUy1fqa7YgogQDEYaD7eceVc/eBqEr4nTclq4xqP8/4B8M5SKq9n0IMhV6EMK YeyOXkmdh/TT5dxG3VABpTvOfo4LjYqBenRjGhSKlZa+yWRQL/oapRXVXE6r6fFhl3Xg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8osX-0007ts-Dj; Thu, 20 Aug 2020 20:01:36 +0200 From: Lars Ingebrigtsen To: Rustom Mody Subject: Re: bug#18431: 24.3; emacsclient spurious error message References: X-Now-Playing: A Tribe Called Quest's _People's Instinctive Travels And The Paths Of Rhythm_: "Push It Along" Date: Thu, 20 Aug 2020 20:01:32 +0200 In-Reply-To: (Rustom Mody's message of "Tue, 9 Sep 2014 17:18:07 +0530") Message-ID: <87v9hdnqmb.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Rustom Mody writes: > Say I dont have emacs running and call emacsclient as follows: > > $ emacsclient --alternate-editor emacs foo.txt > > Error (warning) message as follows is given: > > emacsclient: can't find socket; [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18431 Cc: 18431@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Rustom Mody writes: > Say I dont have emacs running and call emacsclient as follows: > > $ emacsclient --alternate-editor emacs foo.txt > > Error (warning) message as follows is given: > > emacsclient: can't find socket; have you started the server? > To start the server in Emacs, type "M-x server-start". > > After printing which, it starts ok, editing the file!! This has been changed in Emacs 28 -- if you say -q --alternate-editor, it'll no longer output that message. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 20 14:01:50 2020 Received: (at control) by debbugs.gnu.org; 20 Aug 2020 18:01:50 +0000 Received: from localhost ([127.0.0.1]:43944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8oso-0004rx-Bo for submit@debbugs.gnu.org; Thu, 20 Aug 2020 14:01:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8osm-0004rX-GO for control@debbugs.gnu.org; Thu, 20 Aug 2020 14:01:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DkTQHvWZQvDr5JSDsqkwTV2rOqEMC3VfE5Wfs0NRwSI=; b=kMqpmWLrUI9dG9Q4TXAuuRP5mb mPEzhEbes+ADScXs7oTtl2YUMZubCjpMqZRIup+3fqg1kBIo4I6KHAjvb0t5XYbrr65twsYxxfSoo Xjdzxkmwd+2veJmSXVvoaxhoeA1miwFTMYMwt/3WCQ2/kwS4xd4r2YAIIDlrmyidhXvQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8ose-0007u5-MP for control@debbugs.gnu.org; Thu, 20 Aug 2020 20:01:42 +0200 Date: Thu, 20 Aug 2020 20:01:39 +0200 Message-Id: <87tuwxnqm4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18431 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18431 fixed close 18431 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18431 fixed close 18431 28.1 quit From unknown Sun Jun 22 17:13:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 Sep 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator