From unknown Sat Jun 21 03:15:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20524 <20524@debbugs.gnu.org> To: bug#20524 <20524@debbugs.gnu.org> Subject: Status: 24.4; emacsclient -n doesn't seem to work with -e Reply-To: bug#20524 <20524@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:15:54 +0000 retitle 20524 24.4; emacsclient -n doesn't seem to work with -e reassign 20524 emacs submitter 20524 Reuben Thomas severity 20524 minor tag 20524 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 05:05:23 2015 Received: (at submit) by debbugs.gnu.org; 7 May 2015 09:05:24 +0000 Received: from localhost ([127.0.0.1]:36987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YqHkA-0003dn-4u for submit@debbugs.gnu.org; Thu, 07 May 2015 05:05:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33623) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YqHk7-0003dZ-7E for submit@debbugs.gnu.org; Thu, 07 May 2015 05:05:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqHk0-0003XR-2e for submit@debbugs.gnu.org; Thu, 07 May 2015 05:05:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqHjz-0003XM-W6 for submit@debbugs.gnu.org; Thu, 07 May 2015 05:05:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqHjx-0002ZW-Oc for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 05:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqHjq-0003FR-N1 for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 05:05:09 -0400 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:33090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqHjq-0003CK-A0 for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 05:05:02 -0400 Received: by wgin8 with SMTP id n8so36755387wgi.0 for ; Thu, 07 May 2015 02:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=from:to:subject:date:message-id:mime-version:content-type; bh=XvikwbewmF2qOqk2axV40MfQPm98EhD+fgTGlj+VdEc=; b=cGEnho+r65Gr83S5xxXeO/H6idrHiQ0CdksJnxkOrb97PCcdN9c06s1Yd4g2YpUOkf p5pCKdM9dUAum6Q+nvckG/mFrMO/Mc9wZLvgeDfp7fbJ3eL8jOszPkC9+uONUFYFI8oX pf926YVvbd6p8foBG6O9Dwz0NXL5SVEj9+4G0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=XvikwbewmF2qOqk2axV40MfQPm98EhD+fgTGlj+VdEc=; b=RquOMSW/FhV60cF1s+UIR/0w64IJ5R/Hpxpivz4DdkoQOdh7Vg3utb5ksl4s4DIEQz LV+U0y0Bos5a8KztkFnyoBrWY4PdZ2shUpbBModxCBsc+X7W5z0Ziyl2w+wAsnzXQ80r yIQFdNIsRU8xdHu7ZMbVtTjOTRArD48u/PFhsuu9X8jqb9p696WUMAnN4NiIL92vhoH2 YU1bbsBEtcUHvHgqmEWCTp2msjqGsksYHHEBRPI0CZyic8b2z4Az6rjBLOPIj0UNHrT0 4aq7q/LuLS1KrEn2QRv+ko8qFFvfQLWt5HaA6MDF7iVoGeVbr9qIlnJzNQXfsAIH2jGs xfNg== X-Gm-Message-State: ALoCoQnOyYCexFjvB+gNTsMYGkVE9eNlyRr99rTvDKvRH3RccF/eM3Y3iPyYdjuRDtrNYGhpOzW4 X-Received: by 10.194.61.133 with SMTP id p5mr5599655wjr.132.1430989501034; Thu, 07 May 2015 02:05:01 -0700 (PDT) Received: from skwd ([176.24.93.172]) by mx.google.com with ESMTPSA id vz8sm2328322wjc.27.2015.05.07.02.04.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 May 2015 02:05:00 -0700 (PDT) From: Reuben Thomas To: bug-gnu-emacs@gnu.org Subject: 24.4; emacsclient -n doesn't seem to work with -e Date: Thu, 07 May 2015 10:04:59 +0100 Message-ID: <87ioc43ghw.fsf@sc3d.org> MIME-Version: 1.0 Content-Type: text/plain 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: -3.1 (---) 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: -3.1 (---) If an expression to evaluate is supplied to emacsclient, then even with -n, emacsclient waits for the expression to be evaluated. (This may be intended behavior, in which case the fix would be simply to document it.) In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2014-11-21 on skwd, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.2 LTS Configured using: `configure --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.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --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.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: magit-auto-revert-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t savehist-mode: t minibuffer-electric-default-mode: t icomplete-mode: t global-auto-revert-mode: t desktop-save-mode: t global-undo-tree-mode: t undo-tree-mode: t global-whitespace-mode: t ido-everywhere: t dtrt-indent-mode: t global-auto-complete-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-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 buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: G e n e s i s SPC t o SPC F i l l G e n e s i s C-x C-s C-a C-h f s w i t c h - t o - b u f f e r C-h f c a l l - i n t M-x g r e p i n t e r a c t i v e l y SPC ~ / . e m a c s . d / * . e l f o o C-f C-x C-c f o o C-c C-g C-f C-f C-x 3 C-g C-g C-x # C-x 5 0 C-g C-x C-x C-c C-x 5 6 C-g C-g C-x 5 0 C-g C-x C-x 5 0 C-g C-g M-x r e p o r t - e m a c s - b u g C-x 5 0 C-x 5 0 C-x C-x 5 0 M-x r e p o r t - e m a c s Recent messages: Quit [2 times] No server editing buffers exist Quit emacsclient request C-x C-c is undefined C-x 5 6 is undefined Quit [2 times] Quit emacsclient request [2 times] Quit Back to top level. When done with this frame, type C-x 5 0 [3 times] Load-path shadows: /home/rrt/.emacs.d/el-get/xrdb-mode/xrdb-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/xrdb-mode /home/rrt/.emacs.d/el-get/csv-mode/csv-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/csv-mode /home/rrt/.emacs.d/el-get/quack/quack hides /usr/share/emacs24/site-lisp/emacs-goodies-el/quack /home/rrt/.emacs.d/el-get/markdown-mode/markdown-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/markdown-mode /home/rrt/.emacs.d/el-get/filladapt/filladapt hides /usr/share/emacs24/site-lisp/emacs-goodies-el/filladapt /home/rrt/.emacs.d/el-get/graphviz-dot-mode/graphviz-dot-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/graphviz-dot-mode /home/rrt/.emacs.d/el-get/browse-kill-ring/browse-kill-ring hides /usr/share/emacs24/site-lisp/emacs-goodies-el/browse-kill-ring /home/rrt/.emacs.d/el-get/apache-mode/apache-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/apache-mode /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /home/rrt/.local/share/emacs/site-lisp/lilypond-mode hides /usr/share/emacs/site-lisp/lilypond-mode /home/rrt/.local/share/emacs/site-lisp/lilypond-what-beat hides /usr/share/emacs/site-lisp/lilypond-what-beat /usr/share/emacs/24.4/site-lisp/cdargs hides /usr/share/emacs/site-lisp/cdargs /home/rrt/.emacs.d/el-get/cmake-mode/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/rrt/.local/share/emacs/site-lisp/lilypond-init hides /usr/share/emacs/site-lisp/lilypond-init /home/rrt/.local/share/emacs/site-lisp/lilypond-song hides /usr/share/emacs/site-lisp/lilypond-song /home/rrt/.local/share/emacs/site-lisp/lilypond-indent hides /usr/share/emacs/site-lisp/lilypond-indent /home/rrt/.local/share/emacs/site-lisp/lilypond-font-lock hides /usr/share/emacs/site-lisp/lilypond-font-lock /home/rrt/.local/share/emacs/site-lisp/whitespace hides /usr/share/emacs/24.4/lisp/whitespace /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell /home/rrt/.emacs.d/el-get/flymake/flymake hides /usr/share/emacs/24.4/lisp/progmodes/flymake /home/rrt/.emacs.d/el-get/cperl-mode/cperl-mode hides /usr/share/emacs/24.4/lisp/progmodes/cperl-mode Features: (shadow sort mail-extr emacsbug eieio-opt wid-edit descr-text gitignore-mode smerge-mode misearch multi-isearch magit-key-mode warnings magit view tramp tramp-compat tramp-loaddefs trampver shell grep epa epg diff-mode git-rebase-mode git-commit-mode log-edit message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log dired-aux mule-util ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html ox-ascii ox-publish ox sh-script smie executable python json adaptive-wrap paredit conf-mode flymake compile window-margin face-remap flyspell ispell goto-addr smart-quotes org-element org-indent org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m info tex-site sws-mode-autoloads server paren savehist minibuf-eldef icomplete autorevert filenotify desktop frameset cus-start cus-load iimage org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs go-mode url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap ffap thingatpt url-parse auth-source gnus-util mm-util mail-prsvr password-cache url-vars dired-x bug-reference-github bug-reference vc-git undo-tree diff whitespace locate yasnippet derived po-mode php-mode etags ring cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs speedbar sb-image ezimage dframe init-paredit ido-hacks ido magit-autoloads geiser-load geiser flymake-point filladapt dtrt-indent csv auto-complete-config auto-complete edmacro kmacro popup init-eldoc eldoc-extension cl-macs advice eldoc .loaddefs eieio byte-opt eieio-core el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify help-mode easymenu el-get-emacsmirror el-get-github el-get-git el-get-elpa package epg-config el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom el-get-core autoload help-fns lisp-mnt bytecomp byte-compile cconv cl gv cl-loaddefs cl-lib dired user-site-loaddefs debian-el debian-el-loaddefs emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs devhelp time-date tooltip electric uniquify 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 prog-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 nadvice 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 gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 548954 66679) (symbols 48 58656 0) (miscs 40 497 1423) (strings 32 180153 15922) (string-bytes 1 5657971) (vectors 16 49278) (vector-slots 8 1640842 101758) (floats 8 263 482) (intervals 56 3539 240) (buffers 960 41) (heap 1024 62408 1953)) -- http://rrt.sc3d.org/ From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 01 18:15:44 2019 Received: (at 20524) by debbugs.gnu.org; 1 Aug 2019 22:15:44 +0000 Received: from localhost ([127.0.0.1]:55571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htJMN-0005SN-VJ for submit@debbugs.gnu.org; Thu, 01 Aug 2019 18:15:44 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htJML-0005PX-LE for 20524@debbugs.gnu.org; Thu, 01 Aug 2019 18:15:42 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htJMH-0004P4-Ie; Fri, 02 Aug 2019 00:15:39 +0200 From: Lars Ingebrigtsen To: Reuben Thomas Subject: Re: bug#20524: 24.4; emacsclient -n doesn't seem to work with -e References: <87ioc43ghw.fsf@sc3d.org> Date: Fri, 02 Aug 2019 00:15:36 +0200 In-Reply-To: <87ioc43ghw.fsf@sc3d.org> (Reuben Thomas's message of "Thu, 07 May 2015 10:04:59 +0100") Message-ID: <875zngbkhj.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Reuben Thomas writes: > If an expression to evaluate is supplied to emacsclient, then even with > -n, emacsclient waits for the expression to be evaluated. > > (This may be intended behavior, in which case the fix would be [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20524 Cc: 20524@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 (-) Reuben Thomas writes: > If an expression to evaluate is supplied to emacsclient, then even with > -n, emacsclient waits for the expression to be evaluated. > > (This may be intended behavior, in which case the fix would be simply to > document it.) I've now documented it in the emacsclient man page in Emacs 27. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 01 18:15:50 2019 Received: (at control) by debbugs.gnu.org; 1 Aug 2019 22:15:50 +0000 Received: from localhost ([127.0.0.1]:55574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htJMS-0005Wb-7y for submit@debbugs.gnu.org; Thu, 01 Aug 2019 18:15:50 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htJMQ-0005UV-9m for control@debbugs.gnu.org; Thu, 01 Aug 2019 18:15:46 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htJMN-0004PB-Mh for control@debbugs.gnu.org; Fri, 02 Aug 2019 00:15:45 +0200 Date: Fri, 02 Aug 2019 00:15:43 +0200 Message-Id: <874l30bkhc.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #20524 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 20524 fixed close 20524 27.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 0.0 TVD_RCVD_IP Message was received from an IP address -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 20524 fixed close 20524 27.1 quit From unknown Sat Jun 21 03:15: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, 30 Aug 2019 11:24:06 +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