From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: 24.1.50; eval a command does the wrong thing with emacsclientw.exe Resent-From: Jason Lewis Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 May 2012 05:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11474@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133705942424662 (code B ref -1); Tue, 15 May 2012 05:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 May 2012 05:23:44 +0000 Received: from localhost ([127.0.0.1]:55126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUAEZ-0006Ph-Do for submit@debbugs.gnu.org; Tue, 15 May 2012 01:23:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48092) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUAEV-0006PU-CV for submit@debbugs.gnu.org; Tue, 15 May 2012 01:23:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUAEL-0001BR-Ev for submit@debbugs.gnu.org; Tue, 15 May 2012 01:23:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:41848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUAEL-0001BN-Bl for submit@debbugs.gnu.org; Tue, 15 May 2012 01:23:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUAEI-0003F0-AZ for bug-gnu-emacs@gnu.org; Tue, 15 May 2012 01:23:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUAEF-0001B5-4e for bug-gnu-emacs@gnu.org; Tue, 15 May 2012 01:23:25 -0400 Received: from ipmail05.adl6.internode.on.net ([150.101.137.143]:54451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUAED-0001Ar-Nn for bug-gnu-emacs@gnu.org; Tue, 15 May 2012 01:23:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuwHAGTnsU87p/21/2dsb2JhbABEogoBjh2EWoI7SgFLNAEcEFKHb5lkoTGLK4VnBKY9gnuBTQ Received: from ppp167-253-181.static.internode.on.net (HELO debian.organictrader.com.au) ([59.167.253.181]) by ipmail05.adl6.internode.on.net with ESMTP; 15 May 2012 14:53:15 +0930 Received: by debian.organictrader.com.au (Postfix, from userid 5001) id BCC4E84BD525; Tue, 15 May 2012 15:23:14 +1000 (EST) Received: from CYAN (unknown [10.0.2.51]) by debian.organictrader.com.au (Postfix) with ESMTP id B2A5E84BCDDC for ; Tue, 15 May 2012 15:23:12 +1000 (EST) From: Jason Lewis Date: Tue, 15 May 2012 15:27:01 +1000 Message-ID: <86ehqmm2u2.fsf@dickson.st> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) When launching a emacs from the command line, in windows, using the emacsclientw.exe it seems to use the argument to --eval as the file name if emacs server is not already running. steps to reproduce: 1. close all instances of emacs that are running. 2. from command line, run emacsclientw.exe -a runemacs -c --eval "(full-calc)" the result of this will be a buffer open to /some/path/(full-calc). i expect it should have opened calc rather than a buffer called full-calc. 3. close emacs again 4. launch emacs with runemacs.exe 5. from the command line run emacsclientw.exe -a runemacs -c --eval "(full-calc)" 6. observe that calc opened in a new frame as expected let me know if you need any more info In GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-04-23 on MARVIN Bzr revision: 108006 agustin.martin@hispalinux.es-20120423103325-xmra3329elgzhmpc Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' 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: ENA value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: diff-auto-refine-mode: t ido-ubiquitous: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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: Source file `c:/Users/jason/.emacs.d/elpa/color-theme-6.6.1/color-theme.el' newer than byte-compiled file Source file `c:/Users/jason/.emacs.d/elpa/color-theme-6.6.1/color-theme-pkg.el' newer than byte-compiled file Source file `c:/Users/jason/.emacs.d/elpa/color-theme-complexity-0.1.1/color-theme-complexity-pkg.el' newer than byte-compiled file Source file `c:/Users/jason/.emacs.d/elpa/color-theme-emacs-revert-theme-0.1/color-theme-emacs-revert-theme-pkg.el' newer than byte-compiled file Source file `c:/Users/jason/.emacs.d/elpa/color-theme-solarized-1.0.0/color-theme-solarized-pkg.el' newer than byte-compiled file Source file `c:/Users/jason/.emacs.d/elpa/color-theme-twilight-0.1/color-theme-twilight-pkg.el' newer than byte-compiled file Source file `c:/Users/jason/.emacs.d/elpa/color-theme-vim-insert-mode-0.1/color-theme-vim-insert-mode-pkg.el' newer than byte-compiled file For information about GNU Emacs and the GNU system, type C-h C-a. (New file) delete-backward-char: Text is read-only Load-path shadows: c:/Users/jason/.emacs.d/elpa/org-20120510/org hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org c:/Users/jason/.emacs.d/elpa/org-20120510/org-xoxo hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-xoxo c:/Users/jason/.emacs.d/elpa/org-20120510/org-wl hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-wl c:/Users/jason/.emacs.d/elpa/org-20120510/org-w3m hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-w3m c:/Users/jason/.emacs.d/elpa/org-20120510/org-vm hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-vm c:/Users/jason/.emacs.d/elpa/org-20120510/org-timer hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-timer c:/Users/jason/.emacs.d/elpa/org-20120510/org-taskjuggler hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-taskjuggler c:/Users/jason/.emacs.d/elpa/org-20120510/org-table hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-table c:/Users/jason/.emacs.d/elpa/org-20120510/org-src hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-src c:/Users/jason/.emacs.d/elpa/org-20120510/org-special-blocks hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-special-blocks c:/Users/jason/.emacs.d/elpa/org-20120510/org-rmail hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-rmail c:/Users/jason/.emacs.d/elpa/org-20120510/org-remember hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-remember c:/Users/jason/.emacs.d/elpa/org-20120510/org-publish hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-publish c:/Users/jason/.emacs.d/elpa/org-20120510/org-protocol hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-protocol c:/Users/jason/.emacs.d/elpa/org-20120510/org-plot hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-plot c:/Users/jason/.emacs.d/elpa/org-20120510/org-pcomplete hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-pcomplete c:/Users/jason/.emacs.d/elpa/org-20120510/org-odt hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-odt c:/Users/jason/.emacs.d/elpa/org-20120510/org-mouse hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-mouse c:/Users/jason/.emacs.d/elpa/org-20120510/org-mobile hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-mobile c:/Users/jason/.emacs.d/elpa/org-20120510/org-mks hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-mks c:/Users/jason/.emacs.d/elpa/org-20120510/org-mhe hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-mhe c:/Users/jason/.emacs.d/elpa/org-20120510/org-mew hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-mew c:/Users/jason/.emacs.d/elpa/org-20120510/org-macs hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-macs c:/Users/jason/.emacs.d/elpa/org-20120510/org-mac-message hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-mac-message c:/Users/jason/.emacs.d/elpa/org-20120510/org-lparse hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-lparse c:/Users/jason/.emacs.d/elpa/org-20120510/org-list hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-list c:/Users/jason/.emacs.d/elpa/org-20120510/org-latex hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-latex c:/Users/jason/.emacs.d/elpa/org-20120510/org-jsinfo hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-jsinfo c:/Users/jason/.emacs.d/elpa/org-20120510/org-irc hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-irc c:/Users/jason/.emacs.d/elpa/org-20120510/org-inlinetask hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-inlinetask c:/Users/jason/.emacs.d/elpa/org-20120510/org-info hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-info c:/Users/jason/.emacs.d/elpa/org-20120510/org-indent hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-indent c:/Users/jason/.emacs.d/elpa/org-20120510/org-id hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-id c:/Users/jason/.emacs.d/elpa/org-20120510/org-icalendar hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-icalendar c:/Users/jason/.emacs.d/elpa/org-20120510/org-html hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-html c:/Users/jason/.emacs.d/elpa/org-20120510/org-habit hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-habit c:/Users/jason/.emacs.d/elpa/org-20120510/org-gnus hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-gnus c:/Users/jason/.emacs.d/elpa/org-20120510/org-freemind hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-freemind c:/Users/jason/.emacs.d/elpa/org-20120510/org-footnote hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-footnote c:/Users/jason/.emacs.d/elpa/org-20120510/org-feed hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-feed c:/Users/jason/.emacs.d/elpa/org-20120510/org-faces hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-faces c:/Users/jason/.emacs.d/elpa/org-20120510/org-exp hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-exp c:/Users/jason/.emacs.d/elpa/org-20120510/org-exp-blocks hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-exp-blocks c:/Users/jason/.emacs.d/elpa/org-20120510/org-eshell hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-eshell c:/Users/jason/.emacs.d/elpa/org-20120510/org-entities hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-entities c:/Users/jason/.emacs.d/elpa/org-20120510/org-docview hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-docview c:/Users/jason/.emacs.d/elpa/org-20120510/org-docbook hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-docbook c:/Users/jason/.emacs.d/elpa/org-20120510/org-datetree hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-datetree c:/Users/jason/.emacs.d/elpa/org-20120510/org-ctags hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-ctags c:/Users/jason/.emacs.d/elpa/org-20120510/org-crypt hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-crypt c:/Users/jason/.emacs.d/elpa/org-20120510/org-compat hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-compat c:/Users/jason/.emacs.d/elpa/org-20120510/org-colview hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-colview c:/Users/jason/.emacs.d/elpa/org-20120510/org-clock hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-clock c:/Users/jason/.emacs.d/elpa/org-20120510/org-capture hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-capture c:/Users/jason/.emacs.d/elpa/org-20120510/org-bibtex hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-bibtex c:/Users/jason/.emacs.d/elpa/org-20120510/org-beamer hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-beamer c:/Users/jason/.emacs.d/elpa/org-20120510/org-bbdb hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-bbdb c:/Users/jason/.emacs.d/elpa/org-20120510/org-attach hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-attach c:/Users/jason/.emacs.d/elpa/org-20120510/org-ascii hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-ascii c:/Users/jason/.emacs.d/elpa/org-20120510/org-archive hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-archive c:/Users/jason/.emacs.d/elpa/org-20120510/org-agenda hides c:/Program Files (x86)/Emacs/emacs/lisp/org/org-agenda c:/Users/jason/.emacs.d/elpa/org-20120510/ob hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob c:/Users/jason/.emacs.d/elpa/org-20120510/ob-tangle hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-tangle c:/Users/jason/.emacs.d/elpa/org-20120510/ob-table hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-table c:/Users/jason/.emacs.d/elpa/org-20120510/ob-sqlite hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-sqlite c:/Users/jason/.emacs.d/elpa/org-20120510/ob-sql hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-sql c:/Users/jason/.emacs.d/elpa/org-20120510/ob-shen hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-shen c:/Users/jason/.emacs.d/elpa/org-20120510/ob-sh hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-sh c:/Users/jason/.emacs.d/elpa/org-20120510/ob-screen hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-screen c:/Users/jason/.emacs.d/elpa/org-20120510/ob-scheme hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-scheme c:/Users/jason/.emacs.d/elpa/org-20120510/ob-sass hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-sass c:/Users/jason/.emacs.d/elpa/org-20120510/ob-ruby hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-ruby c:/Users/jason/.emacs.d/elpa/org-20120510/ob-ref hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-ref c:/Users/jason/.emacs.d/elpa/org-20120510/ob-R hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-R c:/Users/jason/.emacs.d/elpa/org-20120510/ob-python hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-python c:/Users/jason/.emacs.d/elpa/org-20120510/ob-plantuml hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-plantuml c:/Users/jason/.emacs.d/elpa/org-20120510/ob-picolisp hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-picolisp c:/Users/jason/.emacs.d/elpa/org-20120510/ob-perl hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-perl c:/Users/jason/.emacs.d/elpa/org-20120510/ob-org hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-org c:/Users/jason/.emacs.d/elpa/org-20120510/ob-octave hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-octave c:/Users/jason/.emacs.d/elpa/org-20120510/ob-ocaml hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-ocaml c:/Users/jason/.emacs.d/elpa/org-20120510/ob-mscgen hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-mscgen c:/Users/jason/.emacs.d/elpa/org-20120510/ob-maxima hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-maxima c:/Users/jason/.emacs.d/elpa/org-20120510/ob-matlab hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-matlab c:/Users/jason/.emacs.d/elpa/org-20120510/ob-lob hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-lob c:/Users/jason/.emacs.d/elpa/org-20120510/ob-lisp hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-lisp c:/Users/jason/.emacs.d/elpa/org-20120510/ob-lilypond hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-lilypond c:/Users/jason/.emacs.d/elpa/org-20120510/ob-ledger hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-ledger c:/Users/jason/.emacs.d/elpa/org-20120510/ob-latex hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-latex c:/Users/jason/.emacs.d/elpa/org-20120510/ob-keys hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-keys c:/Users/jason/.emacs.d/elpa/org-20120510/ob-js hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-js c:/Users/jason/.emacs.d/elpa/org-20120510/ob-java hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-java c:/Users/jason/.emacs.d/elpa/org-20120510/ob-haskell hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-haskell c:/Users/jason/.emacs.d/elpa/org-20120510/ob-gnuplot hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-gnuplot c:/Users/jason/.emacs.d/elpa/org-20120510/ob-fortran hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-fortran c:/Users/jason/.emacs.d/elpa/org-20120510/ob-exp hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-exp c:/Users/jason/.emacs.d/elpa/org-20120510/ob-eval hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-eval c:/Users/jason/.emacs.d/elpa/org-20120510/ob-emacs-lisp hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-emacs-lisp c:/Users/jason/.emacs.d/elpa/org-20120510/ob-dot hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-dot c:/Users/jason/.emacs.d/elpa/org-20120510/ob-ditaa hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-ditaa c:/Users/jason/.emacs.d/elpa/org-20120510/ob-css hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-css c:/Users/jason/.emacs.d/elpa/org-20120510/ob-comint hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-comint c:/Users/jason/.emacs.d/elpa/org-20120510/ob-clojure hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-clojure c:/Users/jason/.emacs.d/elpa/org-20120510/ob-calc hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-calc c:/Users/jason/.emacs.d/elpa/org-20120510/ob-C hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-C c:/Users/jason/.emacs.d/elpa/org-20120510/ob-awk hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-awk c:/Users/jason/.emacs.d/elpa/org-20120510/ob-asymptote hides c:/Program Files (x86)/Emacs/emacs/lisp/org/ob-asymptote Features: (shadow sort flyspell ispell gnus-util mail-extr emacsbug message format-spec rfc822 mml 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 eldoc elisp-slime-nav etags paredit hl-line saveplace idle-highlight-mode thingatpt dired-single winner color-theme wid-edit color-theme-blackboard server cygwin-mount ange-ftp comint ansi-color epa-file epa derived epg epg-config magit-bisect magit-key-mode assoc magit diff-mode log-edit easy-mmode ring pcvs-util add-log auctex-autoloads tex-site auto-complete-autoloads color-theme-active-autoloads color-theme-actress-autoloads color-theme-blackboard-autoloads color-theme-colorful-obsolescence-autoloads color-theme-complexity-autoloads color-theme-dg-autoloads color-theme-dpaste-autoloads color-theme-eclipse-autoloads color-theme-emacs-revert-theme-autoloads color-theme-github-autoloads color-theme-ir-black-autoloads color-theme-railscasts-autoloads color-theme-sanityinc-solarized-autoloads color-theme-solarized-autoloads color-theme-tango-autoloads color-theme-tangotango-autoloads color-theme-twilight-autoloads color-theme-vim-insert-mode-autoloads color-theme-wombat+-autoloads color-theme-wombat-autoloads color-theme-zenburn-autoloads color-theme-autoloads cygwin-mount-autoloads dired-single-autoloads erc-hl-nicks-autoloads markdown-mode-autoloads marmalade-autoloads furl-autoloads mediawiki-autoloads oddmuse-autoloads org-autoloads info easymenu php-mode-autoloads scpaste-autoloads finder-inf session-autoloads starter-kit-bindings-autoloads windmove starter-kit-eshell-autoloads starter-kit-js-autoloads starter-kit-lisp-autoloads elisp-slime-nav-autoloads starter-kit-ruby-autoloads starter-kit-autoloads edmacro kmacro smex starter-kit-misc ido-ubiquitous cl ido paren starter-kit-defuns uniquify advice help-fns advice-preload magit-autoloads ido-ubiquitous-autoloads smex-autoloads find-file-in-project-autoloads idle-highlight-mode-autoloads paredit-autoloads inf-ruby-autoloads tuareg-autoloads caml-autoloads yaml-mode-autoloads package tabulated-list time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe 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 button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug References: <86ehqmm2u2.fsf@dickson.st> In-Reply-To: <86ehqmm2u2.fsf@dickson.st> Resent-From: Scott Turner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Dec 2013 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11474@debbugs.gnu.org Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.138695353225711 (code B ref 11474); Fri, 13 Dec 2013 16:53:01 +0000 Received: (at 11474) by debbugs.gnu.org; 13 Dec 2013 16:52:12 +0000 Received: from localhost ([127.0.0.1]:48745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrVyD-0006gZ-Co for submit@debbugs.gnu.org; Fri, 13 Dec 2013 11:52:10 -0500 Received: from mail-ie0-f181.google.com ([209.85.223.181]:36015) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrUh0-0004To-Cg for 11474@debbugs.gnu.org; Fri, 13 Dec 2013 10:30:19 -0500 Received: by mail-ie0-f181.google.com with SMTP id e14so2998085iej.40 for <11474@debbugs.gnu.org>; Fri, 13 Dec 2013 07:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Y/vxc7gsFRrbS4WPPn0vAjg0BJrMB68LCGPnd1VuFcQ=; b=afkNzTp5dsy0qVOqmEfUe7Tdr7tLpaPE/k1pjPSzjmjz1voCu1txwgyg/eXca9gIHj OVHE6oojsSTKQ8VLLksd5U0g4yaehGNtXtuoNK/JnXMx7V4f3WKHRpo6HlKZBAvr3p87 5+voAGsjU03CqnntfphbaPgrQfhPlk6NdRyGyqPnZInSAAhD5DWQ15gXDmgpu9JJV37m ekXFyantrUKf6hz6hWVPz8LHWQWyNSGjoLkZZ7WNrzShdlUIysiHDKPjyf1lxVh8gPBA 2WWOM2O7OFBcXAn2XgfTphfW3hYPKyDByv9QUgVDOC4/0LLRWTs5gcZPUlgbhRtHd6Ii nF6A== MIME-Version: 1.0 X-Received: by 10.42.66.84 with SMTP id o20mr1798533ici.71.1386948617561; Fri, 13 Dec 2013 07:30:17 -0800 (PST) Received: by 10.64.241.70 with HTTP; Fri, 13 Dec 2013 07:30:17 -0800 (PST) Date: Fri, 13 Dec 2013 10:30:17 -0500 Message-ID: From: Scott Turner Content-Type: multipart/alternative; boundary=90e6ba614b2aabec4a04ed6c23f7 X-Spam-Score: -0.4 (/) X-Mailman-Approved-At: Fri, 13 Dec 2013 11:52:07 -0500 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.4 (/) --90e6ba614b2aabec4a04ed6c23f7 Content-Type: text/plain; charset=ISO-8859-1 In emacsclient, the --eval option tells emacsclient to treat all arguments as Elisp to be evaluated by the Emacs server. The --alternate-editor option specifies an program to start if emacsclient cannot find an Emacs server. If both options are used and a server is not found, a bug arises. Emacsclient sends the arguments that are intended to be interpreted as Elisp to the alternate editor. If the alternate editor is Emacs, this results in Emacs creating a buffer named after each argument. So the command: emacsclient --alternate-editor "emacs" --eval "(make-frame-visible)" results in an Emacs with a buffer named "(make-frame-visible)". Sending the Elisp arguments to the alternate-editor as plain arguments is clearly wrong. If we knew that the alternate-editor was Emacs, we could send the argument along with "--eval=" prepended to have the newly started Emacs evaluate the Elisp, but of course the alternate editor could be something else entirely, and it's probably not the case that you'd want to execute the same Elisp on startup as on resume. The patch provided below simply discards the Elisp arguments when emacsclient falls through to the alternate editor. There may be better fixes, but this does the least harm while retaining compatibility. *** emacsclient.c Tue Jan 1 15:37:17 2013 --- emacsclient-strip-eval.c Thu Dec 12 20:01:06 2013 *************** *** 694,700 **** { int i = optind - 1; ! execvp (alternate_editor, main_argv + i); message (TRUE, "%s: error executing alternate editor \"%s\"\n", progname, alternate_editor); } --- 694,713 ---- { int i = optind - 1; ! /* ! * If the --eval option has been used, then the remaining ! * arguments are Elisp expressions intended to be evaluated ! * by emacsclient. It doesn't make any sense to pass them ! * along to the alternate_editor to be treated as files. ! * ! */ ! if (eval) { ! char *t_argv[] = {alternate_editor, 0 }; ! execvp (alternate_editor, t_argv); ! } else { ! execvp (alternate_editor, main_argv + i); ! }; ! message (TRUE, "%s: error executing alternate editor \"%s\"\n", progname, alternate_editor); } --90e6ba614b2aabec4a04ed6c23f7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
In emacsclient, the --eval option tell= s emacsclient to treat all arguments as Elisp to be evaluated by the Emacs = server.

The --alternate-editor option specifies an program to = start if emacsclient cannot find an Emacs server.

If both options are used and a server is not found, a bug arises.=A0 Em= acsclient sends the arguments that are intended to be interpreted as Elisp = to the alternate editor.=A0 If the alternate editor is Emacs, this results = in Emacs creating a buffer named after each argument.=A0 So the command:
emacsclient --alternate-editor "emacs" --eval "(ma= ke-frame-visible)"

results in an Emacs with a buffer name= d "(make-frame-visible)".

Sending the Elisp arguments to = the alternate-editor as plain arguments is clearly wrong.=A0 If we knew tha= t the alternate-editor was Emacs, we could send the argument along with &qu= ot;--eval=3D" prepended to have the newly started Emacs evaluate the E= lisp, but of course the alternate editor could be something else entirely, = and it's probably not the case that you'd want to execute the same = Elisp on startup as on resume.

The patch provided below simply discards the Elisp arguments when= emacsclient falls through to the alternate editor.=A0 There may be better = fixes, but this does the least harm while retaining compatibility.

*** emacsclient.c=A0=A0=A0 Tue Jan=A0 1 15:37:17 2013
--- emacsclient-st= rip-eval.c=A0=A0=A0 Thu Dec 12 20:01:06 2013
***************
*** 694,= 700 ****
=A0=A0=A0=A0=A0 {
=A0=A0=A0=A0=A0=A0=A0 int i =3D optind - 1= ;
=A0
!=A0=A0=A0=A0=A0=A0 execvp (alternate_editor, main_argv + i);<= br> =A0=A0=A0=A0=A0=A0=A0 message (TRUE, "%s: error executing alternate ed= itor \"%s\"\n",
=A0 =A0=A0=A0 =A0=A0=A0=A0=A0=A0 progname= , alternate_editor);
=A0=A0=A0=A0=A0 }
--- 694,713 ----
=A0=A0=A0= =A0=A0 {
=A0=A0=A0=A0=A0=A0=A0 int i =3D optind - 1;
=A0
!=A0=A0= =A0=A0=A0=A0 /*
!=A0=A0=A0=A0=A0=A0=A0 *=A0 If the --eval option has been used, then the re= maining
!=A0=A0=A0=A0=A0=A0=A0 *=A0 arguments are Elisp expressions inte= nded to be evaluated
!=A0=A0=A0=A0=A0=A0=A0 *=A0 by emacsclient.=A0 It d= oesn't make any sense to pass them
!=A0=A0=A0=A0=A0=A0=A0 *=A0 along= to the alternate_editor to be treated as files.
!=A0=A0=A0=A0=A0=A0=A0 *
!=A0=A0=A0=A0=A0=A0=A0 */
!=A0=A0=A0=A0=A0= =A0 if (eval) {
! =A0=A0=A0 char *t_argv[] =3D {alternate_editor, 0 };! =A0=A0=A0 execvp (alternate_editor, t_argv);
!=A0=A0=A0=A0=A0=A0 } e= lse {
! =A0=A0=A0 execvp (alternate_editor, main_argv + i);
!=A0=A0= =A0=A0=A0=A0 };
!=A0=A0=A0=A0=A0=A0
=A0=A0=A0=A0=A0=A0=A0 message (TRUE, "%s: erro= r executing alternate editor \"%s\"\n",
=A0 =A0=A0=A0 =A0= =A0=A0=A0=A0=A0 progname, alternate_editor);
=A0=A0=A0=A0=A0 }

--90e6ba614b2aabec4a04ed6c23f7-- From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Scott Turner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Dec 2013 14:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 11474@debbugs.gnu.org Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.13878970198863 (code B ref 11474); Tue, 24 Dec 2013 14:57:01 +0000 Received: (at 11474) by debbugs.gnu.org; 24 Dec 2013 14:56:59 +0000 Received: from localhost ([127.0.0.1]:39129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VvTPn-0002It-9P for submit@debbugs.gnu.org; Tue, 24 Dec 2013 09:56:59 -0500 Received: from mail-ie0-f176.google.com ([209.85.223.176]:37408) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VvTPk-0002Il-Qr for 11474@debbugs.gnu.org; Tue, 24 Dec 2013 09:56:57 -0500 Received: by mail-ie0-f176.google.com with SMTP id at1so7125142iec.21 for <11474@debbugs.gnu.org>; Tue, 24 Dec 2013 06:56:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uFNwwi343X45BFcazeSOqSnhQPRADmwxMwSutp+fu1M=; b=YPZ1NEM1/xK6AreDBlI3hli3OJdtDNnEORmXyJC1dyAg/96qcuIBRIlfB1b3qVEw1t XrQmv33g4hE+rRGj9tf5SVbzVEnuyzwvh2ke1xN162Z7Qt9Kt8Phd4xIuDv8mpj4vyHK ZUbCACaUNgP7uZRmSxrnsYZ4RAc22CD2wLYZNOWE6JvQQCpoq9dnaydbii3k+mwon4mp H1F+Bbb/vVam80+IzYypsrYyXUIGJuWlpgZ2WpMKwIQdB9ivGbGmuu6ZqWe69UZnqqj7 t7IpPqyi74ooLU0RVvnXs8Vy2ZF5EA2MCf6luwFUDdhNQU+tcGOpvKVZmd7SEfUn3QPS k4LA== MIME-Version: 1.0 X-Received: by 10.50.49.11 with SMTP id q11mr26484084ign.1.1387897016118; Tue, 24 Dec 2013 06:56:56 -0800 (PST) Received: by 10.64.34.142 with HTTP; Tue, 24 Dec 2013 06:56:56 -0800 (PST) In-Reply-To: References: Date: Tue, 24 Dec 2013 09:56:56 -0500 Message-ID: From: Scott Turner Content-Type: multipart/alternative; boundary=047d7bdc117aa1738604ee48f4b4 X-Spam-Score: -0.4 (/) 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.4 (/) --047d7bdc117aa1738604ee48f4b4 Content-Type: text/plain; charset=ISO-8859-1 Am I expected to see any feedback on this patch? How can I know if it will be incorporated? -- Scott Turner --047d7bdc117aa1738604ee48f4b4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Am I expected to see any feedback on this patch?=A0 H= ow can I know if it will be incorporated?

-- Scott Turner
<= /div> --047d7bdc117aa1738604ee48f4b4-- From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Dec 2013 16:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Scott Turner Cc: 11474@debbugs.gnu.org Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.138790103316800 (code B ref 11474); Tue, 24 Dec 2013 16:04:02 +0000 Received: (at 11474) by debbugs.gnu.org; 24 Dec 2013 16:03:53 +0000 Received: from localhost ([127.0.0.1]:39248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VvUSW-0004Mu-SE for submit@debbugs.gnu.org; Tue, 24 Dec 2013 11:03:53 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:37452) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VvUSU-0004Mg-8K for 11474@debbugs.gnu.org; Tue, 24 Dec 2013 11:03:50 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBOG3kKU014937; Tue, 24 Dec 2013 11:03:48 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 9C3C9AE086; Tue, 24 Dec 2013 11:03:46 -0500 (EST) From: Stefan Monnier Message-ID: References: Date: Tue, 24 Dec 2013 11:03:46 -0500 In-Reply-To: (Scott Turner's message of "Tue, 24 Dec 2013 09:56:56 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4802=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4802> : inlines <357> : streams <1096317> : uri <1633872> X-Spam-Score: -1.9 (-) 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: -1.9 (-) > Am I expected to see any feedback on this patch? Yes. > How can I know if it will be incorporated? It looks like a plain bugfix, so someone should get to it "soonish". Stefan From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Scott Turner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Dec 2013 16:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Monnier Cc: 11474@debbugs.gnu.org Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.138790147117606 (code B ref 11474); Tue, 24 Dec 2013 16:12:02 +0000 Received: (at 11474) by debbugs.gnu.org; 24 Dec 2013 16:11:11 +0000 Received: from localhost ([127.0.0.1]:39259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VvUZa-0004Zt-Tm for submit@debbugs.gnu.org; Tue, 24 Dec 2013 11:11:11 -0500 Received: from mail-ie0-f178.google.com ([209.85.223.178]:35558) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VvUZZ-0004Zh-7b for 11474@debbugs.gnu.org; Tue, 24 Dec 2013 11:11:09 -0500 Received: by mail-ie0-f178.google.com with SMTP id lx4so7188518iec.37 for <11474@debbugs.gnu.org>; Tue, 24 Dec 2013 08:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KEj0yP6GTx6TOOkMq19/9N0uKFNYwVpBIVJHRbw3gU4=; b=SBZg6uq4/bsdtfxeJnif0zMs3HjuBYHRhE8PXIFovdMBFGoiaaHPZCJG9QTYKKqzfD Zj/ljDuUsRM3ls9dWQd8WUfrr2rlXc5KSJNCU+W42yAyTHLALCsPilea5Nc42+DqbCDq Va9074m+On2m3i+iybktFa3roJmgAiioHQqgIJUHItnrsnQeb90LK9mu4LxrO93kbzeE TLmpW4KpdW+WliRXPcB4Y4zTBUXDKhHzkfXO6tXuVKHv7/LZGTn+8bqxrzE11WFGEmHs sTeEAf2WkmUgnF6Gdtu3NU0PAZdqFkKsDBT+WF2rNxssQzOrm1U7L9yNQaXvRWrosq++ qo4g== MIME-Version: 1.0 X-Received: by 10.51.17.101 with SMTP id gd5mr26397068igd.25.1387901468477; Tue, 24 Dec 2013 08:11:08 -0800 (PST) Received: by 10.64.34.142 with HTTP; Tue, 24 Dec 2013 08:11:08 -0800 (PST) In-Reply-To: References: Date: Tue, 24 Dec 2013 11:11:08 -0500 Message-ID: From: Scott Turner Content-Type: multipart/alternative; boundary=001a1134bd82030fd404ee49fed9 X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Dec 24, 2013 at 11:03 AM, Stefan Monnier wrote: > It looks like a plain bugfix, so someone should get to it "soonish". > Thanks, I'll be patient :-) [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (srt19170[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.223.178 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (srt19170[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 1.8 HTML_IMAGE_ONLY_08 BODY: HTML: images with 400-800 bytes of words 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 0.0 T_REMOTE_IMAGE Message contains an external image 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: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Tue, Dec 24, 2013 at 11:03 AM, Stefan Monnier wrote: > It looks like a plain bugfix, so someone should get to it "soonish". > Thanks, I'll be patient :-) [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.223.178 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (srt19170[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (srt19170[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 1.8 HTML_IMAGE_ONLY_08 BODY: HTML: images with 400-800 bytes of words 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid --001a1134bd82030fd404ee49fed9 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Dec 24, 2013 at 11:03 AM, Stefan Monnier wrote: > It looks like a plain bugfix, so someone should get to it "soonish". > Thanks, I'll be patient :-) -- Scott --001a1134bd82030fd404ee49fed9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On T= ue, Dec 24, 2013 at 11:03 AM, Stefan Monnier <monnier@iro.umontrea= l.ca> wrote:
It= looks like a plain bugfix, so someone should get to it "soonish"= .

Thanks, I'll be patient :-)

-- Scott


--001a1134bd82030fd404ee49fed9-- From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Apr 2014 14:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Scott Turner Cc: 11474@debbugs.gnu.org Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.139645068010466 (code B ref 11474); Wed, 02 Apr 2014 14:58:02 +0000 Received: (at 11474) by debbugs.gnu.org; 2 Apr 2014 14:58:00 +0000 Received: from localhost ([127.0.0.1]:33065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVMc4-0002ii-5U for submit@debbugs.gnu.org; Wed, 02 Apr 2014 10:58:00 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:37238) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVMc2-0002ia-6i for 11474@debbugs.gnu.org; Wed, 02 Apr 2014 10:57:58 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s32EvunO024298; Wed, 2 Apr 2014 10:57:57 -0400 Received: by pastel.home (Postfix, from userid 20848) id 960FB60251; Wed, 2 Apr 2014 10:57:56 -0400 (EDT) From: Stefan Monnier Message-ID: References: <86ehqmm2u2.fsf@dickson.st> Date: Wed, 02 Apr 2014 10:57:56 -0400 In-Reply-To: (Scott Turner's message of "Fri, 13 Dec 2013 10:30:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4900=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4900> : inlines <684> : streams <1150339> : uri <1718075> X-Spam-Score: -1.9 (-) 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: -1.9 (-) [ Thanks for your patience. ] > emacsclient --alternate-editor "emacs" --eval "(make-frame-visible)" > results in an Emacs with a buffer named "(make-frame-visible)". Hmm... indeed, we have a problem here. But I think the problem is that it's very unclear what should be the right behavior. IOW using both "--alternate-editor" and "--eval" at the same time is "ill defined" and the current behavior in that situation is particularly non-sensical. > The patch provided below simply discards the Elisp arguments when > emacsclient falls through to the alternate editor. There may be better > fixes, but this does the least harm while retaining compatibility. Silently dropping arguments is not very polite, so I'm not really happy with your solution. I think the "right" behavior would be to call the alternate editor while preserving most arguments; IOW the right fix in this case would be to add a "--eval" argument, so that your alternate_editor can decide whether to drop args when it gets an "--eval" or to prepend all other args with a "--eval=" (or do whatever else it fancies). WDYT? Stefan From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Scott Turner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Apr 2014 15:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Monnier Cc: 11474@debbugs.gnu.org Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.139645285714200 (code B ref 11474); Wed, 02 Apr 2014 15:35:02 +0000 Received: (at 11474) by debbugs.gnu.org; 2 Apr 2014 15:34:17 +0000 Received: from localhost ([127.0.0.1]:33099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVNBB-0003gx-4E for submit@debbugs.gnu.org; Wed, 02 Apr 2014 11:34:17 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:60427) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVNB7-0003gm-Rm for 11474@debbugs.gnu.org; Wed, 02 Apr 2014 11:34:14 -0400 Received: by mail-ig0-f178.google.com with SMTP id hn18so470247igb.17 for <11474@debbugs.gnu.org>; Wed, 02 Apr 2014 08:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gZocS19TDKf/9AZV+y/5DHq5oztBJkEIHnoePt+3dYA=; b=Dm/C9XLq+VOKJdm815AqjNlgt3K8m5Cbvq52qkc230zovvjE46i95y7RAr1qM+xiyy F9XznpoAa+zmajc0NwqLpWYOs/flmA6vInzjSmcHj2G6lCIa9l+wCw2QDccFVI58eZul s/4dndPS3v/+kLizTc8Ksjg64MvE6TnWv+DZp+LuxSGpfRkwnGk6IZtKHjQQRz9TJOsG sL2k/Eoh++nOqf6P856NoRXJ0uVvt8TnWzH1O7vU4WjxrJNKGe5mXsKFelLqHMnS9SPF naMtG3s0eCrW7uZosiMH9MO7ukakISBOvIpV/J6jQzLjVRMKRRTvd1JqZhKiJ0fi6bCe IYtQ== MIME-Version: 1.0 X-Received: by 10.42.67.130 with SMTP id t2mr1143489ici.17.1396452853144; Wed, 02 Apr 2014 08:34:13 -0700 (PDT) Received: by 10.64.233.200 with HTTP; Wed, 2 Apr 2014 08:34:13 -0700 (PDT) In-Reply-To: References: <86ehqmm2u2.fsf@dickson.st> Date: Wed, 2 Apr 2014 11:34:13 -0400 Message-ID: From: Scott Turner Content-Type: multipart/alternative; boundary=20cf30334bfd41e10204f611042a X-Spam-Score: -0.4 (/) 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.4 (/) --20cf30334bfd41e10204f611042a Content-Type: text/plain; charset=ISO-8859-1 On Wed, Apr 2, 2014 at 10:57 AM, Stefan Monnier wrote: > Silently dropping arguments is not very polite, so I'm not really happy > with your solution. > I think as long as it is documented that the alternate_editor is not passed the arguments intended for Emacs, that behavior is not terrible. > I think the "right" behavior would be to call the alternate editor while > preserving most arguments; IOW the right fix > in this case would be to add a "--eval" argument, so that your > alternate_editor can decide whether to drop args when it gets an "--eval" > or to prepend all other args with a "--eval=" (or do whatever else it > fancies). > On a practical level, I doubt the alternate_editor is going to be prepared to deal with Emacs flags, so that's not terribly useful. Maybe the best solution would be to have something like "--alternate-editor-arguments" so that the user can specifically provide the arguments to use with the alternate editor? --20cf30334bfd41e10204f611042a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On W= ed, Apr 2, 2014 at 10:57 AM, Stefan Monnier <monnier@iro.umontrea= l.ca> wrote:
Silently dropping arguments is not very polite, so I'm not = really happy with your solution. =A0

I think as long as it is documented that t= he alternate_editor is not passed the arguments intended for Emacs, that be= havior is not terrible.
=A0
I think the "r= ight" behavior would be to call the alternate editor while preserving = most arguments; IOW the right fix
in this case would be to add a "--eval" argument, so that your al= ternate_editor can decide whether to drop args when it gets an "--eval= " or to prepend all other args with a "--eval=3D" (or do wha= tever else it fancies).

On a practical level, I doubt the al= ternate_editor is going to be prepared to deal with Emacs flags, so that= 9;s not terribly useful.

Maybe the best solution would be= to have something like "--alternate-editor-arguments" so that th= e user can specifically provide the arguments to use with the alternate edi= tor?


--20cf30334bfd41e10204f611042a-- From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Apr 2014 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Scott Turner Cc: 11474@debbugs.gnu.org Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.139645645524936 (code B ref 11474); Wed, 02 Apr 2014 16:35:02 +0000 Received: (at 11474) by debbugs.gnu.org; 2 Apr 2014 16:34:15 +0000 Received: from localhost ([127.0.0.1]:33176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVO7C-0006U7-RD for submit@debbugs.gnu.org; Wed, 02 Apr 2014 12:34:15 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:50661) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVO7A-0006Tw-1E for 11474@debbugs.gnu.org; Wed, 02 Apr 2014 12:34:12 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s32GYAte010656; Wed, 2 Apr 2014 12:34:10 -0400 Received: by pastel.home (Postfix, from userid 20848) id C0489603AE; Wed, 2 Apr 2014 12:34:09 -0400 (EDT) From: Stefan Monnier Message-ID: References: <86ehqmm2u2.fsf@dickson.st> Date: Wed, 02 Apr 2014 12:34:09 -0400 In-Reply-To: (Scott Turner's message of "Wed, 2 Apr 2014 11:34:13 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4900=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4900> : inlines <685> : streams <1150415> : uri <1718154> X-Spam-Score: -1.9 (-) 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: -1.9 (-) >> Silently dropping arguments is not very polite, so I'm not really happy >> with your solution. > I think as long as it is documented that the alternate_editor is not passed > the arguments intended for Emacs, that behavior is not terrible. The current behavior is not that terrible either. I think a fix should aim to actually improve the situation. > On a practical level, I doubt the alternate_editor is going to be prepared > to deal with Emacs flags, so that's not terribly useful. But if the user uses --alternate-editor together with --eval, she can make the alternate editor understand the args by making it a little script that does what she wants. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 21:20:45 2017 Received: (at control) by debbugs.gnu.org; 2 Apr 2017 01:20:45 +0000 Received: from localhost ([127.0.0.1]:56192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuUCC-0003CV-P8 for submit@debbugs.gnu.org; Sat, 01 Apr 2017 21:20:44 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:34731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuUCA-0003CH-Um for control@debbugs.gnu.org; Sat, 01 Apr 2017 21:20:43 -0400 Received: by mail-io0-f171.google.com with SMTP id b140so58553498iof.1 for ; Sat, 01 Apr 2017 18:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=1Tzja78BqEvigoO9BCHWntLKBb+OjAa7j78YttLlDXY=; b=U5r2c7KprG+OWcWGWQoxPB1ZhZXPKZzD6uDMcH0cHip1u4sTChnCGaNnAEkeRZQxcC LRcHE2jbYj6NMiIAy/DCndTl4RyVEiuSjY1hQIq/q1EcZgu+eady8Ft5GBAuonqCUO/p 5aFrAsVihRIh65TqQcrt4E13vzfhm+jazuhoWVsQ7+CXbdnypUa0Pcd8ms24NA51o8sN Wg2/+uDnFk1gb6wwJwuLmC62/aOLxtKWfGKjbz/00mZ+eXqS9YrXMW5c/cC3/N3D7c+z K/tGMgzaH7c9KemS3rS174v2H84CloUf/YjSwcZT2LTQSLIV0z1KhFEWHBB/1Z2kYoXe NMqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=1Tzja78BqEvigoO9BCHWntLKBb+OjAa7j78YttLlDXY=; b=G4Nkxb6kMEViGe9Piz+GsTIcbRXppXp6JRdB48hddzJvuxxf8ZvX7ndCXQMwd4Jqai AjD7WDIh1ZOWWH+d6HTzfaFw15lbn7/i42d10OnOp3+gcB3zvkikf8TVDZE+StweX1lt ClQomsMhmAz3g/dEzv5OvGxRHcjBbrZ/QieSu1x76T3XME8wHfPjh7SW+s/rp1GvrEOv 7lqepyWiNusnswLtoIGmbioVCjq5s/V3SIL1Ukul2xpMiKa2rsYhADDZmMyPGT+vF04b nNCBzeaUWD0ZRYSKGagtF8D+yiMoVVa6se9LueTlXniL5wsOEKKYI6fuXwXWtPJ+MGsv CNKw== X-Gm-Message-State: AFeK/H0XT/vxb95Ts9ojEgzigko8kqPcR4W2m/1vouHP2Cnwx3B2OpHJTMo9Ppt4AK/WUw== X-Received: by 10.107.5.139 with SMTP id 133mr10728336iof.107.1491096037433; Sat, 01 Apr 2017 18:20:37 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id p201sm3700598itp.3.2017.04.01.18.20.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Apr 2017 18:20:37 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #11474 Date: Sat, 01 Apr 2017 21:22:01 -0400 Message-ID: <87fuhrzjra.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) 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: -2.1 (--) retitle 11474 emacsclient passes --eval arguments (but not the '--eval') to alternate editor quit From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 21:36:52 2017 Received: (at control) by debbugs.gnu.org; 2 Apr 2017 01:36:52 +0000 Received: from localhost ([127.0.0.1]:56205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuURo-0005ME-Ed for submit@debbugs.gnu.org; Sat, 01 Apr 2017 21:36:52 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:35203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuURm-0005M2-9Y for control@debbugs.gnu.org; Sat, 01 Apr 2017 21:36:50 -0400 Received: by mail-io0-f171.google.com with SMTP id z13so58637078iof.2 for ; Sat, 01 Apr 2017 18:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=ABoQOLNSNgp51kQCaQFj9K8Bcqf6V/wANnZoNoRER7A=; b=QL6BVjfvgKYZ5mIwO6yc6dJdPdtFUxrU1A2KRooQyq+dOmnpuP0JHwZ5dU+0fToOGm fP11hQ9AqTpesx/HtMqj6cDvFwJWEecTgCMN2TRItbnQ/X+IpTZYTGzg+uKQcbC0am+U KxOwZuRGxYCxtWOR1kXOsQTsoL1xa9TwtzjaWOUGbZEPB4dJVeslnQSSuf7FZXghtLfg dsVJT8DHbGTHzjJ98dYm8DxoHd8KeZAWWuQktjsd3Nn2zDX5ayW6AlZifIBH5iwEgrze x03Lgs1e9ZmxTOQ2G6oZQm8K2vOBpFVPXviahfIctVgbPGyToDAGgdizFyXtpBH4NKjw BRbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=ABoQOLNSNgp51kQCaQFj9K8Bcqf6V/wANnZoNoRER7A=; b=Y6lfPlZZFUu9hadk/vb7l7tCIUwnnpf5wf1Rna6id/c3ekOVB0JR3ngypOF9grEFN6 WK/8Qb/HUF2i9ji7VFPO6QppMj+B7/Q5p96aGs78/R5m8SpaVTM8SiLiuZnsFsdmuvE8 veUijRRUbf8pobHnNBV6jdnyd+l1KV/fkLGzlbXkxaD+FZmq/BU6LigEpp0ekGUp6ULs n6OIZ82NPpV8dmNiixv18xic7YpM+jIhV9/wAwx8B4RuIQxXIu0OldCIaSLoEMdOuiHO EYL8Rnx/ZsCfhtkLcGSXFqU3FP6/QTeu7y87d5E5QoyGOKlRXOxwZqqJS4sUrdCgRESW ZrFA== X-Gm-Message-State: AFeK/H2Ec4FbYbIk9t1D8RVlxsH85XPHNmsLEnGNZ59WLAPQh0NKF4f3xqgwMnDvc+8veQ== X-Received: by 10.107.59.149 with SMTP id i143mr10312281ioa.196.1491097004888; Sat, 01 Apr 2017 18:36:44 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id l129sm6463806ite.1.2017.04.01.18.36.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Apr 2017 18:36:44 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #12154 Date: Sat, 01 Apr 2017 21:38:08 -0400 Message-ID: <87bmsfzj0f.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) 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: -2.1 (--) forcemerge 12154 11474 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 23:00:46 2017 Received: (at control) by debbugs.gnu.org; 2 Apr 2017 03:00:47 +0000 Received: from localhost ([127.0.0.1]:56256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuVl0-0004tS-Pb for submit@debbugs.gnu.org; Sat, 01 Apr 2017 23:00:46 -0400 Received: from mail-io0-f181.google.com ([209.85.223.181]:35030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuVkz-0004nX-7O for control@debbugs.gnu.org; Sat, 01 Apr 2017 23:00:45 -0400 Received: by mail-io0-f181.google.com with SMTP id z13so59022992iof.2 for ; Sat, 01 Apr 2017 20:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=OeIN3rGbsZYE4uoNyc9PwPBfgHX7zcaCqppxAdNI8eg=; b=LN+Dp7bcVsGFW0x/vReiIKfB1KW1VpqZNWAkg2brWuFPEEyKj5KC0HMr9idFMCMtMk olPCtf5l7qSZrResudhjfiQ0g7A4hy7bpRS4CA0EQPBSxNLoJtSzzH1ou+WBv9pPnvbw 6aInk3UKBTSeNjFLl/msZn0+XtBdMwb7UYWl9AQFc64VKWVhPoMbxj2d0oNmgHWWEZGS 8jZih/HQRCWL6U0cU+WznTR3ERmHybFaRt3pf6IJ6vukpM7ko2dBURqb2cxde7nUMby6 o8ymTgBOvjteemISlK1xALZisAKT+058UcL4qVW8PN0K8AhouZoZOmC4wUi17tmXMaap eLbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=OeIN3rGbsZYE4uoNyc9PwPBfgHX7zcaCqppxAdNI8eg=; b=TH5suzZpdjfdpNDL7NlszrNFsqYCi8spNZ13qFKQZzb7FI8XmgbKuJstdO8jllbgYk H10y59O3ItQNSGklyabvL72igdhXajUCqA64cZsKkMPcXW0+hsJ9lorgQ6WLIYV6DXYB rHF2wrfp52nwZPJ0MBshgS1Q1yLmJpwQ9aV3EPccalTKDR84w+j12jsBKqDwcFDkgBXd VRSWyeH+t7URwfxl8KfyjN6fNkH2ZHlB/+Eb++HPenNj4B17PovW5nlqVl8TBS59w9p4 70yJiIZBB6DmWh5QqBFJ0giGQ/ajB6HyBik8IoTNTJ5CyJ9vqqJCepjuWY0P7cnyKwd8 uOng== X-Gm-Message-State: AFeK/H3QWpJnz3XT6xwC5O7kiEMPVsHroRUqY6YMOrID2gnvyYC3a8iO6jb1D1alT6xzeg== X-Received: by 10.107.15.163 with SMTP id 35mr10189846iop.204.1491102039548; Sat, 01 Apr 2017 20:00:39 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id h91sm5670925ioi.24.2017.04.01.20.00.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Apr 2017 20:00:39 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #18517 Date: Sat, 01 Apr 2017 23:02:03 -0400 Message-ID: <87y3vjy0k4.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) 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: -2.1 (--) forcemerge 11474 18517 quit From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 15:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Monnier Cc: 11474@debbugs.gnu.org, Scott Turner Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.1561649357408 (code B ref 11474); Thu, 27 Jun 2019 15:30:02 +0000 Received: (at 11474) by debbugs.gnu.org; 27 Jun 2019 15:29:17 +0000 Received: from localhost ([127.0.0.1]:39275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgWKr-00006V-1s for submit@debbugs.gnu.org; Thu, 27 Jun 2019 11:29:17 -0400 Received: from quimby.gnus.org ([80.91.231.51]:43942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgWKp-00006N-M0 for 11474@debbugs.gnu.org; Thu, 27 Jun 2019 11:29:16 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgWKk-000743-36; Thu, 27 Jun 2019 17:29:12 +0200 From: Lars Ingebrigtsen References: <86ehqmm2u2.fsf@dickson.st> Date: Thu, 27 Jun 2019 17:29:09 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 02 Apr 2014 10:57:56 -0400") Message-ID: 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: Stefan Monnier writes: >> The patch provided below simply discards the Elisp arguments when >> emacsclient falls through to the alternate editor. There may be better >> fixes, but this does the least harm while retaining co [...] 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-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 (-) Stefan Monnier writes: >> The patch provided below simply discards the Elisp arguments when >> emacsclient falls through to the alternate editor. There may be better >> fixes, but this does the least harm while retaining compatibility. > > Silently dropping arguments is not very polite, so I'm not really happy > with your solution. I think the "right" behavior would be to call the > alternate editor while preserving most arguments; IOW the right fix > in this case would be to add a "--eval" argument, so that your > alternate_editor can decide whether to drop args when it gets an > "--eval" or to prepend all other args with a "--eval=" (or do whatever > else it fancies). Hm... I think I agree with the patch Scott posted, and not with this solution. :-) The use case here would be if you say something like $ emacsclient -a nano --eval '(my-emacs-setup-thing)' The eval bit is meaningful in Emacs, and may be something that the user feels is something that Emacs should do when called from emacsclient. But if there's no server, then we should use nano. The current behaviour is to use nano with the file name '(my-emacs-setup-thing)', while you propose to call nano with --eval '(my-emacs-setup-thing)', which would be even worse, I think, while just dropping the parameters completely in the -a case would make this usable. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen Cc: 11474@debbugs.gnu.org, Scott Turner Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.15616594604473 (code B ref 11474); Thu, 27 Jun 2019 18:18:02 +0000 Received: (at 11474) by debbugs.gnu.org; 27 Jun 2019 18:17:40 +0000 Received: from localhost ([127.0.0.1]:39619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgYxl-00016X-3j for submit@debbugs.gnu.org; Thu, 27 Jun 2019 14:17:40 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgYxd-0000yA-Sw for 11474@debbugs.gnu.org; Thu, 27 Jun 2019 14:17:36 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 07AFF10095E; Thu, 27 Jun 2019 14:17:24 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 493C910087A; Thu, 27 Jun 2019 14:17:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1561659442; bh=kaYkcKgD9ukMJoVrWyb/MT5ykQTn55MU25+vOO2dDEU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=F2AI3IYSKo7NFfFF8G3nJDJ7Osy2DXv60GFs2Ahl3qv/m8b1lHZpqCXbOUPEKk1kV BDDfDziQLAJ9enWEgdftdDoIijRUWd4LmXQcad1pGkliGGZZXSpVfTHO6K1VcAhjN7 MOf0zA/iEV3dOl97rEV9z64MsJVpDVoqTAs1FFdvmIIONz5lkL44B+qeNGK3y6CssI oUb3lPhOJ1uaBUWcMRfImoFtas48J1SZtTafBvIJ9yu9YBe3zw1jLzpD5q3OzmRxaU VPLdoDwKc8kjfx9icR3hZJntQ3tNo4V9QR4J67IndtmlRbl74UIlDVtJNCEBUwpguw 9NlDc1qhvU/Dg== Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1EE0D120315; Thu, 27 Jun 2019 14:17:22 -0400 (EDT) From: Stefan Monnier Message-ID: References: <86ehqmm2u2.fsf@dickson.st> Date: Thu, 27 Jun 2019 14:17:20 -0400 In-Reply-To: (Lars Ingebrigtsen's message of "Thu, 27 Jun 2019 17:29:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.142 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) 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 (-) > $ emacsclient -a nano --eval '(my-emacs-setup-thing)' > > The eval bit is meaningful in Emacs, and may be something that the user > feels is something that Emacs should do when called from emacsclient. > But if there's no server, then we should use nano. > > The current behaviour is to use nano with the file name > '(my-emacs-setup-thing)', while you propose to call nano with > --eval '(my-emacs-setup-thing)', which would be even worse, I think, > while just dropping the parameters completely in the -a case would make > this usable. I think that nowadays with the `-a ""` option the need to keep the --eval is indeed not very high, so I retract my objection. Stefan From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 18:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Monnier Cc: 11474@debbugs.gnu.org, Scott Turner Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.156166084915260 (code B ref 11474); Thu, 27 Jun 2019 18:41:01 +0000 Received: (at 11474) by debbugs.gnu.org; 27 Jun 2019 18:40:49 +0000 Received: from localhost ([127.0.0.1]:39646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZKC-0003y4-V0 for submit@debbugs.gnu.org; Thu, 27 Jun 2019 14:40:49 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZK8-0003xq-Bh for 11474@debbugs.gnu.org; Thu, 27 Jun 2019 14:40:45 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgZK1-0000ZR-JP; Thu, 27 Jun 2019 20:40:40 +0200 From: Lars Ingebrigtsen References: <86ehqmm2u2.fsf@dickson.st> Date: Thu, 27 Jun 2019 20:40:37 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 27 Jun 2019 14:17:20 -0400") Message-ID: 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: Stefan Monnier writes: >> $ emacsclient -a nano --eval '(my-emacs-setup-thing)' >> >> The eval bit is meaningful in Emacs, and may be something that the user >> feels is something that Emacs should do when called from emacs [...] 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-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 (-) Stefan Monnier writes: >> $ emacsclient -a nano --eval '(my-emacs-setup-thing)' >> >> The eval bit is meaningful in Emacs, and may be something that the user >> feels is something that Emacs should do when called from emacsclient. >> But if there's no server, then we should use nano. >> >> The current behaviour is to use nano with the file name >> '(my-emacs-setup-thing)', while you propose to call nano with >> --eval '(my-emacs-setup-thing)', which would be even worse, I think, >> while just dropping the parameters completely in the -a case would make >> this usable. > > I think that nowadays with the `-a ""` option the need to keep > the --eval is indeed not very high, so I retract my objection. Hm... the emacsclient source code has changed substantially over the years, I see... if (alternate_editor) { size_t extra_args_size = (main_argc - optind + 1) * sizeof (char *); size_t new_argv_size = extra_args_size; char **new_argv = xmalloc (new_argv_size); [...] /* Append main_argv arguments to new_argv. */ memcpy (&new_argv[toks], main_argv + optind, extra_args_size); execvp (*new_argv, new_argv); message (true, "%s: error executing alternate editor \"%s\"\n", progname, alternate_editor); } So it now picks out arguments from the -a="nano --foo" string, and then appends the rest of the arguments from emacsclient. The equivalent here would be to set extra_args_size to 0 if eval, I guess. But... hm.... then we'd lose the file argument too, wouldn't we? I mean, if you say $ ./lib-src/emacsclient -a "nano -v" --eval '(message "foo")' /tmp/a the you want nano to open /tmp/a... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Monnier Cc: 11474@debbugs.gnu.org, Scott Turner Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.156166177217201 (code B ref 11474); Thu, 27 Jun 2019 18:57:02 +0000 Received: (at 11474) by debbugs.gnu.org; 27 Jun 2019 18:56:12 +0000 Received: from localhost ([127.0.0.1]:39677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZZ6-0004TN-7b for submit@debbugs.gnu.org; Thu, 27 Jun 2019 14:56:12 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZZ4-0004TD-Q9 for 11474@debbugs.gnu.org; Thu, 27 Jun 2019 14:56:11 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgZYy-0000h8-CQ; Thu, 27 Jun 2019 20:56:08 +0200 From: Lars Ingebrigtsen References: <86ehqmm2u2.fsf@dickson.st> Date: Thu, 27 Jun 2019 20:56:04 +0200 In-Reply-To: (Lars Ingebrigtsen's message of "Thu, 27 Jun 2019 20:40:37 +0200") Message-ID: 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: Lars Ingebrigtsen writes: > I mean, if you say > > $ ./lib-src/emacsclient -a "nano -v" --eval '(message "foo")' /tmp/a > > the you want nano to open /tmp/a... Oh, I missed the bit about that if you have --eval, then all subsequent parameters are used as eval. Then that's OK, then. 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-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 (-) Lars Ingebrigtsen writes: > I mean, if you say > > $ ./lib-src/emacsclient -a "nano -v" --eval '(message "foo")' /tmp/a > > the you want nano to open /tmp/a... Oh, I missed the bit about that if you have --eval, then all subsequent parameters are used as eval. Then that's OK, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 19:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Stefan Monnier Cc: 11474@debbugs.gnu.org, Scott Turner Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.156166203717741 (code B ref 11474); Thu, 27 Jun 2019 19:01:01 +0000 Received: (at 11474) by debbugs.gnu.org; 27 Jun 2019 19:00:37 +0000 Received: from localhost ([127.0.0.1]:39681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZdM-0004c4-PC for submit@debbugs.gnu.org; Thu, 27 Jun 2019 15:00:37 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZdG-0004bq-PF for 11474@debbugs.gnu.org; Thu, 27 Jun 2019 15:00:31 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgZdD-0000hj-Nz; Thu, 27 Jun 2019 21:00:30 +0200 From: Lars Ingebrigtsen References: <86ehqmm2u2.fsf@dickson.st> Date: Thu, 27 Jun 2019 21:00:27 +0200 In-Reply-To: (Lars Ingebrigtsen's message of "Thu, 27 Jun 2019 20:56:04 +0200") Message-ID: 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: I've now done this fix -- should there be a NEWS entry? It's arguably just a bug fix, but it's user visible... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no 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-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 (-) I've now done this fix -- should there be a NEWS entry? It's arguably just a bug fix, but it's user visible... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 27 15:01:22 2019 Received: (at control) by debbugs.gnu.org; 27 Jun 2019 19:01:22 +0000 Received: from localhost ([127.0.0.1]:39685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZe6-0004dm-GR for submit@debbugs.gnu.org; Thu, 27 Jun 2019 15:01:22 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZe4-0004de-7X for control@debbugs.gnu.org; Thu, 27 Jun 2019 15:01:20 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgZe1-0000hw-9q for control@debbugs.gnu.org; Thu, 27 Jun 2019 21:01:19 +0200 Date: Thu, 27 Jun 2019 21:01:17 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #11474 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 11474 fixed close 11474 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 -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 11474 fixed close 11474 27.1 quit From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 19:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed To: Lars Ingebrigtsen Cc: 11474@debbugs.gnu.org, Scott Turner Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.156166286919445 (code B ref 11474); Thu, 27 Jun 2019 19:15:02 +0000 Received: (at 11474) by debbugs.gnu.org; 27 Jun 2019 19:14:29 +0000 Received: from localhost ([127.0.0.1]:39711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZqm-00053Z-I9 for submit@debbugs.gnu.org; Thu, 27 Jun 2019 15:14:28 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:38005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZqj-00053D-6N for 11474@debbugs.gnu.org; Thu, 27 Jun 2019 15:14:25 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 643DB10095E; Thu, 27 Jun 2019 15:14:18 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 805EE100870; Thu, 27 Jun 2019 15:14:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1561662856; bh=Ja/iTCUuAAEVYsU1iodKWMnBrwYZCam280fzxNpgVx0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=acEwKm/qOfgVmkDsyT2tXLcjerW5ZEXaJKYDKWwX+Gab/QzeXI/hwmKmA49J9NRQk LORbT5h2LFhOIyGsuGT01e4lWNVCoizUtCQNCBDspshAlMND/LJhSa5CrMrYxj5jMc 7tfzZCI8iezB/mQBH5z/bCBdkkI+i2gSj8t0U5hUAyXadQlYHIi1/e4Txzu+X5VeK1 JYrEU65/Lu9ckjvLRPYKZP/o6Ikev8GzM74F5SpC0jPO3D/3tw3EdWKsO+N/Y9WWzH aT5S3D9qY9kM/Er6g0ovPW1sVo3Ybxzm9BBz6pPp0PKWQhJDFEYZobqTVxED5XrXd+ LLpWbhcvKznkA== Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 79744120BB3; Thu, 27 Jun 2019 15:14:16 -0400 (EDT) From: Stefan Monnier Message-ID: References: <86ehqmm2u2.fsf@dickson.st> Date: Thu, 27 Jun 2019 15:14:15 -0400 In-Reply-To: (Lars Ingebrigtsen's message of "Thu, 27 Jun 2019 21:00:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.141 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: 0.0 (/) 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 (-) > I've now done this fix -- should there be a NEWS entry? Definitely, Stefan From unknown Tue Jun 24 06:56:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11474: Patch for Emacsclient --eval bug Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 19:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11474 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed To: Stefan Monnier Cc: 11474@debbugs.gnu.org, Scott Turner Received: via spool by 11474-submit@debbugs.gnu.org id=B11474.156166318528288 (code B ref 11474); Thu, 27 Jun 2019 19:20:02 +0000 Received: (at 11474) by debbugs.gnu.org; 27 Jun 2019 19:19:45 +0000 Received: from localhost ([127.0.0.1]:39723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZvt-0007MB-3a for submit@debbugs.gnu.org; Thu, 27 Jun 2019 15:19:45 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgZvr-0007M2-0i for 11474@debbugs.gnu.org; Thu, 27 Jun 2019 15:19:43 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgZvl-0000s6-Ta; Thu, 27 Jun 2019 21:19:40 +0200 From: Lars Ingebrigtsen References: <86ehqmm2u2.fsf@dickson.st> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEVOXipYZzBLMhxCUCVz fkaI1nguAAACe0lEQVQ4jTVTgZEDIQiE9wqAaAEf/QJQUkDM039Nv5j8zSTeucguC5K2iODKurHm L7+jKalqRHFvAUhb28rtGaG0E9jYaarEOlVFhVVwIgryqF+hhbTpk7kiE7GUPlXcXS9kpNJENQFz B4A0PhsX13JpgAgRTu4mJEQtQyNqAyc2TIFVK0Qaya31EggjvJOJg6w6z8tcmCVTn6eYOalP3WKs bVeBwFoRUR9M4KM6fW5wIztrQUkaos+2GeVWpJl1kZ2CoQj/KJl3UXVnITNiDoZCdkrWqlS5GhlX GJz64WH6pq4wBVqOdk6vtwbki2P713GC1Rys4FWpbinuig2vSNwmqkLpsASIgVHIB2RpsXQYZFqw pYglRGSVs/usNMvcojAZCis6Aad6vGwu9wTAmT71MXz99Ijb3Xt/hMwv9MGoLuurx0/ECwH3FP2F tE4DNcWrH+CRUwEDIUypzAP0d4ViVtFRtBjWXRG955GIX0xAqlFppDzj5f9I79/YNzSC5vOxrQI4 yV59rGETSdOWutYBft5s3WFyo9k2ok6qT7IOZxWdnpjCcoB/muFFjNY3TZSTud5A/K6URl7QdYGl 2H8D0SFrkS/Hi2Ps4/P0btYapexa9FLZeble91v35pEAerAxiYMmhvD21UdQKQXAGphpEGJCK24R qrhukLNwbwQ8OGJcNMA2W/mG7X6X4tDueVFw3+LivKy0IAnBjlYTzqru9kAlRn2lbcZkJH3gRpQ9 c7gArKzDMC6yYMb0apmEBjqeg4KueZ7OEH8TDmwt6C3Zrn7CPwCWtdbxeJyPD+C56WjJiYRyaF/g WBl0WnWQ97qyESPXBE5I/yB/r22fHim98iAAAAAASUVORK5CYII= Date: Thu, 27 Jun 2019 21:19:37 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 27 Jun 2019 15:14:15 -0400") Message-ID: 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: Stefan Monnier writes: >> I've now done this fix -- should there be a NEWS entry? > > Definitely, OK; added. 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-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 (-) Stefan Monnier writes: >> I've now done this fix -- should there be a NEWS entry? > > Definitely, OK; added. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 15 08:16:21 2019 Received: (at control) by debbugs.gnu.org; 15 Sep 2019 12:16:21 +0000 Received: from localhost ([127.0.0.1]:47419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9TRz-0000JG-Fy for submit@debbugs.gnu.org; Sun, 15 Sep 2019 08:16:20 -0400 Received: from quimby.gnus.org ([80.91.231.51]:60360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9TRy-0000Hk-4A for control@debbugs.gnu.org; Sun, 15 Sep 2019 08:16:18 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i9TRv-000850-FA for control@debbugs.gnu.org; Sun, 15 Sep 2019 14:16:17 +0200 Date: Sun, 15 Sep 2019 14:16:15 +0200 Message-Id: <87tv9dycts.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #11474 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 11474 + wontfix 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 11474 + wontfix quit From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 15 08:16:24 2019 Received: (at control) by debbugs.gnu.org; 15 Sep 2019 12:16:24 +0000 Received: from localhost ([127.0.0.1]:47422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9TS4-0000Nn-Cb for submit@debbugs.gnu.org; Sun, 15 Sep 2019 08:16:24 -0400 Received: from quimby.gnus.org ([80.91.231.51]:60374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9TS3-0000MS-6P for control@debbugs.gnu.org; Sun, 15 Sep 2019 08:16:23 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i9TS0-000858-IK for control@debbugs.gnu.org; Sun, 15 Sep 2019 14:16:22 +0200 Date: Sun, 15 Sep 2019 14:16:20 +0200 Message-Id: <87sgoxyctn.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #11474 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: unarchive 11474 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 (-) unarchive 11474 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 15 08:16:36 2019 Received: (at control) by debbugs.gnu.org; 15 Sep 2019 12:16:36 +0000 Received: from localhost ([127.0.0.1]:47425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9TSF-0000Xv-P9 for submit@debbugs.gnu.org; Sun, 15 Sep 2019 08:16:36 -0400 Received: from quimby.gnus.org ([80.91.231.51]:60386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9TSE-0000WC-3x for control@debbugs.gnu.org; Sun, 15 Sep 2019 08:16:34 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i9TSB-00085U-Hf for control@debbugs.gnu.org; Sun, 15 Sep 2019 14:16:33 +0200 Date: Sun, 15 Sep 2019 14:16:31 +0200 Message-Id: <87r24hyctc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #11474 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 11474 wontfix close 11474 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 11474 wontfix close 11474 quit