From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 11 12:10:29 2013 Received: (at submit) by debbugs.gnu.org; 11 Mar 2013 16:10:29 +0000 Received: from localhost ([127.0.0.1]:46520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UF5Ix-0001kX-UY for submit@debbugs.gnu.org; Mon, 11 Mar 2013 12:10:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39604) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEyxP-0007jn-3N for submit@debbugs.gnu.org; Mon, 11 Mar 2013 05:23:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEywL-0002Wf-2r for submit@debbugs.gnu.org; Mon, 11 Mar 2013 05:22:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_FRT_COCK,USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:53266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEywK-0002Wb-WE for submit@debbugs.gnu.org; Mon, 11 Mar 2013 05:22:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEywE-0005pH-EJ for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 05:22:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEyw8-0002TK-7z for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 05:22:34 -0400 Received: from smtprelay-h21.telenor.se ([195.54.99.196]:54236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEyw7-0002QJ-U6 for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 05:22:28 -0400 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id DBD27E9992 for ; Mon, 11 Mar 2013 10:22:20 +0100 (CET) X-SENDER-IP: [85.229.87.73] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnZ+AGihPVFV5VdJPGdsb2JhbABDhFCIBrEChnOBURcDAQEBAR8ZDSiCKAEtExwTAQQ7DA8EIQEEJQMHS4d5ml6gW41NEIEmKoMoA5ZVgR6SYjuBNw X-IronPort-AV: E=Sophos;i="4.84,822,1355094000"; d="scan'208";a="513628335" Received: from c-4957e555.012-14-67626717.cust.bredbandsbolaget.se (HELO junk.nocrew.org) ([85.229.87.73]) by ipb1.telenor.se with ESMTP; 11 Mar 2013 10:22:19 +0100 Received: from lars by junk.nocrew.org with local (Exim 4.69) (envelope-from ) id 1UEynW-00087Z-DR for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 10:13:34 +0100 From: lars@nocrew.org To: bug-gnu-emacs@gnu.org Subject: 24.2; Recompile and compile-environment Date: Mon, 11 Mar 2013 10:13:34 +0100 Message-ID: <85y5dufge9.fsf@junk.nocrew.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 11 Mar 2013 12:10:25 -0400 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 (------) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': This lisp code starts a compilation with the provided environment: (let ((compilation-environment '("FOO=BAR"))) (compile "printenv")) Typing 'g' or 'M-x recompile' in the *compilation* buffer starts another compilation with the same environment. This is evident since the printenv output includes FOO=BAR. However, typing 'M-x recompile' in some other buffer will not use the same environment as the first compilation. FOO=BAR is no longer present. This behaviour may be a bug or a feature. However, in my opinion it renders the combination of 'compilation-environment' and 'recompile' somewhat useless. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/Apps/emacs-24.2/etc/DEBUG. In GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.6) --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' 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: SVE value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Compilation Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: t i o n - e n v i r o n m e n t SPC " F O O = M-b C-b C-k ' ( F O O " F O O = B A R " ) ) ) SPC ( c o m p i l e SPC " C-h f C-x 1 SPC " p r i n g e n t e n v " ) ( ) C-a C-o C-k C-p C-o C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-f C-j C-x o C-n C-n C-n C-s F O O C-e C-f M-> M-< M-> M-< M-> g C-s F O O C-e C-f M-x r e v c o m p i l e C-s C-s C-s C-x o M-x M-p C-g ( r e c o m p i l e ) C-j C-x o C-s C-s C-e C-f C-h k g C-x o C-x k C-x m l a t s r s @ n o c r e w . o r g C-n t e s t C-n C-n C-n t e s t C-c C-c ? C-g C-e C-f C-c C-c s m t p s m p t p . g o o g l e m a i l . c o m M-x r e p o r t - e m a Recent messages: Sending via mail... Saving file c:/Users/extlb/AppData/Roaming/.emacs... Wrote c:/Users/extlb/AppData/Roaming/.emacs [2 times] Saving file c:/Users/extlb/AppData/Roaming/.emacs... Wrote c:/Users/extlb/AppData/Roaming/.emacs [2 times] Saving file c:/Users/extlb/AppData/Roaming/.emacs... Wrote c:/Users/extlb/AppData/Roaming/.emacs [2 times] gnutls.c: [1] (Emacs) GnuTLS library not found smtpmail-send-it: Sending failed: 530 5.7.0 Must issue a STARTTLS command first. v7sm4274146lbg.13 - gsmtp Mark set Load-path shadows: None found. Features: (shadow emacsbug network-stream starttls tls mailalias smtpmail cus-edit wid-edit sendmail mail-extr sort message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader vc-git vc-bzr vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc add-log log-view pcvs-util idlwave imenu idlwave-help idlw-help mule-util debug pp compile shell pcomplete comint ansi-color lpr cus-start cus-load browse-url url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util password-cache url-vars mm-util mail-prsvr diff-mode vc ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff vc-dispatcher make-mode dired nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok info sh-script executable dabbrev etags tmm electric conf-mode newcomment misearch multi-isearch cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt vc-hg help-mode easymenu view multiple-cursors mc-insert-numbers rectangular-region-mode mc-mark-more thingatpt mc-cycle-cursors mc-edit-lines multiple-cursors-core easy-mmode edmacro kmacro advice help-fns advice-preload rect jka-compr winner ring time cl 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 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 loaddefs 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 debbugs-submit-bounces@debbugs.gnu.org Thu Aug 15 02:09:25 2019 Received: (at 13924) by debbugs.gnu.org; 15 Aug 2019 06:09:25 +0000 Received: from localhost ([127.0.0.1]:50452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy8wv-0005Tg-F6 for submit@debbugs.gnu.org; Thu, 15 Aug 2019 02:09:25 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy8ws-0005TX-TN for 13924@debbugs.gnu.org; Thu, 15 Aug 2019 02:09:23 -0400 Received: from 24-104-73-23-ip-static.hfc.comcastbusiness.net ([24.104.73.23] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hy8wp-0008Va-Iu; Thu, 15 Aug 2019 08:09:22 +0200 From: Lars Ingebrigtsen To: lars@nocrew.org Subject: Re: bug#13924: 24.2; Recompile and compile-environment References: <85y5dufge9.fsf@junk.nocrew.org> Date: Wed, 14 Aug 2019 23:09:16 -0700 In-Reply-To: <85y5dufge9.fsf@junk.nocrew.org> (lars@nocrew.org's message of "Mon, 11 Mar 2013 10:13:34 +0100") Message-ID: <878srvyn77.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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@nocrew.org writes: > This lisp code starts a compilation with the provided environment: > > (let ((compilation-environment '("FOO=BAR"))) > (compile "printenv")) > > Typing 'g' or 'M-x recompile' in the *compilation* bu [...] 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: 13924 Cc: 13924@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 (-) lars@nocrew.org writes: > This lisp code starts a compilation with the provided environment: > > (let ((compilation-environment '("FOO=3DBAR"))) > (compile "printenv")) > > Typing 'g' or 'M-x recompile' in the *compilation* buffer starts > another compilation with the same environment. This is evident since > the printenv output includes FOO=3DBAR. > > However, typing 'M-x recompile' in some other buffer will not use the same > environment as the first compilation. FOO=3DBAR is no longer present. > > This behaviour may be a bug or a feature. However, in my opinion it > renders the combination of 'compilation-environment' and 'recompile' > somewhat useless. I think this behaviour is probably as intended. As the doc string to `recompile' says: -- If this is run in a Compilation mode buffer, re-use the arguments from the original use. Otherwise, recompile using =E2=80=98compile-command=E2=80=99. -- I think that implies that the `compilation-environment' isn't reused, either. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 15 02:09:33 2019 Received: (at control) by debbugs.gnu.org; 15 Aug 2019 06:09:33 +0000 Received: from localhost ([127.0.0.1]:50455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy8x2-0005U3-Qb for submit@debbugs.gnu.org; Thu, 15 Aug 2019 02:09:33 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy8x1-0005Tu-8I for control@debbugs.gnu.org; Thu, 15 Aug 2019 02:09:31 -0400 Received: from 24-104-73-23-ip-static.hfc.comcastbusiness.net ([24.104.73.23] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hy8wy-0008Vh-EJ for control@debbugs.gnu.org; Thu, 15 Aug 2019 08:09:30 +0200 Date: Wed, 14 Aug 2019 23:09:26 -0700 Message-Id: <877e7fyn6x.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13924 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 13924 notabug close 13924 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 13924 notabug close 13924 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 15 02:17:37 2019 Received: (at 13924) by debbugs.gnu.org; 15 Aug 2019 06:17:38 +0000 Received: from localhost ([127.0.0.1]:50464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy94r-0007mq-Ke for submit@debbugs.gnu.org; Thu, 15 Aug 2019 02:17:37 -0400 Received: from junk.nocrew.org ([51.15.56.219]:60914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hy94p-0007mi-TJ for 13924@debbugs.gnu.org; Thu, 15 Aug 2019 02:17:36 -0400 Received: from localhost ([127.0.0.1] helo=junk.nocrew.org) by junk.nocrew.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hy94o-0003ut-W9; Thu, 15 Aug 2019 06:17:35 +0000 From: Lars Brinkhoff To: Lars Ingebrigtsen Subject: Re: bug#13924: 24.2; Recompile and compile-environment Organization: nocrew References: <85y5dufge9.fsf@junk.nocrew.org> <878srvyn77.fsf@mouse.gnus.org> Date: Thu, 15 Aug 2019 06:17:34 +0000 In-Reply-To: <878srvyn77.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Wed, 14 Aug 2019 23:09:16 -0700") Message-ID: <7wzhkbrlz5.fsf@junk.nocrew.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13924 Cc: 13924@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 (-) > If this is run in a Compilation mode buffer, re-use the arguments from the > original use. Otherwise, recompile using =E2=80=98compile-command=E2=80= =99. Thanks, I didn't see this. I agree M-x recompile works as documented. I still think it would be useful to be able to recompile with the same environment as the first run. From unknown Mon Aug 18 15:38:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 12 Sep 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator