From unknown Sun Sep 07 16:50:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5617 <5617@debbugs.gnu.org> To: bug#5617 <5617@debbugs.gnu.org> Subject: Status: 23.1; Preferences of Calc are lost when started twice during Emacs session Reply-To: bug#5617 <5617@debbugs.gnu.org> Date: Sun, 07 Sep 2025 23:50:59 +0000 retitle 5617 23.1; Preferences of Calc are lost when started twice during E= macs session reassign 5617 emacs submitter 5617 ithies@astro.uni-bonn.de severity 5617 normal tag 5617 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 12:41:59 2010 Received: (at submit) by debbugs.gnu.org; 21 Feb 2010 17:41:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjFoa-0000NQ-97 for submit@debbugs.gnu.org; Sun, 21 Feb 2010 12:41:58 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjFPy-0008O1-V7 for submit@debbugs.gnu.org; Sun, 21 Feb 2010 12:16:31 -0500 Received: from mx10.gnu.org ([199.232.76.166]:58081) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjFPu-0004yM-Ba for submit@debbugs.gnu.org; Sun, 21 Feb 2010 12:16:26 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NjFO9-0007xF-2w for submit@debbugs.gnu.org; Sun, 21 Feb 2010 12:14:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, RATWARE_GECKO_BUILD, UNPARSEABLE_RELAY autolearn=no version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:33389) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NjFO8-0007wz-TH for submit@debbugs.gnu.org; Sun, 21 Feb 2010 12:14:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjFO8-0004iH-AI for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2010 12:14:36 -0500 Received: from [140.186.70.92] (port=33158 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjFNs-0004fj-EZ for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2010 12:14:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjFNp-0006fR-De for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2010 12:14:20 -0500 Received: from mail.gmx.net ([213.165.64.20]:49850) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NjFNo-0006dw-4V for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2010 12:14:17 -0500 Received: (qmail invoked by alias); 21 Feb 2010 17:14:09 -0000 Received: from xdsl-89-0-166-236.netcologne.de (EHLO xdsl-89-0-166-236.netcologne.de) [89.0.166.236] by mail.gmx.net (mp071) with SMTP; 21 Feb 2010 18:14:09 +0100 X-Authenticated: #1926967 X-Provags-ID: V01U2FsdGVkX18iDiAW9D8iRhe6rW84IIB+LMCBxDHIUTJ+FQc22W iO8x9qgIypaCHs Message-ID: <4B8169E1.7080603@gmx.de> Date: Sun, 21 Feb 2010 18:14:09 +0100 From: Ingo Thies User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 23.1; Preferences of Calc are lost when started twice during Emacs session Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.48999999999999999 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 21 Feb 2010 12:41:55 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: ithies@astro.uni-bonn.de 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: -5.9 (-----) Dear developers, I want to submit a possible bug concerning Emacs (23.1.1) and Calc (2.02), both in Linux and Mac. If Calc is started first during an Emacs session, then closed, and later opened again, the preferences from .calc.el are not reloaded again. A workaround is possible by adding (add-hook 'calc-mode-hook (function (lambda () (load "~/.calc.el"))))" to .emacs. However, I guess that this behaviour is not intended. BTW there were problems submitting this mail (invalid certificate). I could not tell whether the first attempt was successfull (Thunderbird says 'no'), so please apologize if this mail arrives twice. Cheers, Ingo In GNU Emacs 23.1.1 (i386-apple-darwin9.8.0, GTK+ Version 2.16.6) of 2009-09-19 on ingo-thiess-macbook.local Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--prefix=/sw' '--disable-dependency-tracking' '--infodir=${prefix}/share/info' '--mandir=${prefix}/share/man' '--libexecdir=${prefix}/lib' 'PKG_CONFIG_PATH=/sw/lib/pango-ft219/lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/freetype219/lib/pkgconfig:' 'FREETYPE_CONFIG=/sw/lib/freetype219/bin/freetype-config' '--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib' '--with-x' '--with-x-toolkit=gtk' 'CFLAGS=-Os -pipe' 'LDFLAGS=-L/sw/lib/pango-ft219/lib -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib' 'LIBS=-L/sw/lib -L/usr/X11/lib' 'CPPFLAGS=-I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/pango-ft219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/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: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 20:16:50 2010 Received: (at 5617) by debbugs.gnu.org; 22 Feb 2010 01:16:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjMuo-0006qX-1g for submit@debbugs.gnu.org; Sun, 21 Feb 2010 20:16:50 -0500 Received: from s4.cableone.net ([24.116.0.230]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjMrE-0006ns-Em for 5617@debbugs.gnu.org; Sun, 21 Feb 2010 20:13:09 -0500 Received: from belanger-desktop (unverified [24.116.73.151]) by S4.cableone.net (CableOne SMTP Service S4) with ESMTP id 28223942-1872270 for multiple; Sun, 21 Feb 2010 18:12:59 -0700 From: Jay Belanger To: Ingo Thies Subject: Re: bug#5617: 23.1; Preferences of Calc are lost when started twice during Emacs session References: <4B8169E1.7080603@gmx.de> Date: Sun, 21 Feb 2010 19:14:16 -0600 In-Reply-To: <4B8169E1.7080603@gmx.de> (Ingo Thies's message of "Sun, 21 Feb 2010 18:14:09 +0100") Message-ID: <87y6imgjh3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Vpipe: Scanner said ok (av_avast) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 0, First 499, in=426, out=0, spam=0 ip=24.116.73.151 X-Originating-IP: 24.116.73.151 X-Abuse-Info: Send abuse complaints to abuse@cableone.net X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 5617 X-Mailman-Approved-At: Sun, 21 Feb 2010 20:16:48 -0500 Cc: jay.p.belanger@gmail.com, 5617@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: jay.p.belanger@gmail.com 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: -1.9 (-) > I want to submit a possible bug concerning Emacs (23.1.1) and Calc > (2.02), both in Linux and Mac. Calc 2.02 is a very old version of Calc; Emacs 23.1.1 comes with its own version. > If Calc is started first during an Emacs session, then closed, and > later opened again, the preferences from .calc.el are not reloaded > again. What preferences are you referring to? Any changes in the mode settings should be handled properly without rereading the settings file. The intended behavior is that if you open a Calc buffer and make changes, starting another copy of Calc (`another-calc') should have the same settings as the first copy originally had. (Hmm, this isn't working correctly right now; I'll have to fix it.) If you change some modes and save them (`calc-save-modes'), then if another copy of Calc rereads the init file it would have the new modes, not the original modes. (Either using the new modes or the original modes would sound reasonable to me; Calc was just designed to have the latter behavior.) It sounds like you are quitting Calc by killing the buffer. If you use `q'(`calc-quit') first, then the current modes will become the new default modes (the new "original" modes). Or, of course, you could ... > A workaround is possible by adding > > (add-hook 'calc-mode-hook > (function (lambda () > (load "~/.calc.el"))))" > > to .emacs. However, I guess that this behaviour is not intended. Jay From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 22 13:01:36 2010 Received: (at control) by debbugs.gnu.org; 22 Feb 2010 18:01:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjcbA-0003MI-0y for submit@debbugs.gnu.org; Mon, 22 Feb 2010 13:01:36 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Njcb8-0003M8-7s for control@debbugs.gnu.org; Mon, 22 Feb 2010 13:01:34 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Njcb3-0002D2-QL; Mon, 22 Feb 2010 13:01:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19330.50809.741451.244204@fencepost.gnu.org> Date: Mon, 22 Feb 2010 13:01:29 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: )wwTLG?}&#+)F@V/%`]L^X?-8Q,9@$"V:#L$C*4&Fm1&_G-ny&c[4&!(Wt+MW\ X-Debbugs-No-Ack: yes X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -5.0 (-----) close 5594 tags 5619 moreinfo reassign 5619 emacs,calendar unmerge 5614 tags 5600 patch tags 5607 patch reassign 5617 emacs,calc severity 5618 minor From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 15:56:35 2010 Received: (at control) by debbugs.gnu.org; 23 Feb 2010 20:56:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nk1o3-0007Pw-Ou for submit@debbugs.gnu.org; Tue, 23 Feb 2010 15:56:35 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nk1o2-0007Pq-6j for control@debbugs.gnu.org; Tue, 23 Feb 2010 15:56:34 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nk1ny-0004Z5-2k; Tue, 23 Feb 2010 15:56:30 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19332.16638.27086.6555@fencepost.gnu.org> Date: Tue, 23 Feb 2010 15:56:30 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: h-wpq,1&S 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: -5.1 (-----) tags 5617 moreinfo severity 5620 wishlist reassign 5624 emacs,etags severity 5625 minor unarchive 798 forcemerge 798 5626 severity 5627 minor tags 5627 notabug wontfix tags 5629 patch reassign 5629 emacs,w32 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 06 20:46:43 2013 Received: (at control) by debbugs.gnu.org; 7 Feb 2013 01:46:43 +0000 Received: from localhost ([127.0.0.1]:40322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3GZX-0004pT-DX for submit@debbugs.gnu.org; Wed, 06 Feb 2013 20:46:43 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:58452) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3GZV-0004pN-LK for control@debbugs.gnu.org; Wed, 06 Feb 2013 20:46:41 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U3GYE-0004iQ-FR for control@debbugs.gnu.org; Wed, 06 Feb 2013 20:45:22 -0500 Date: Wed, 06 Feb 2013 20:45:22 -0500 Message-Id: Subject: control message for bug 5617 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control 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: -4.2 (----) close 5617 From unknown Sun Sep 07 16:50:59 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, 07 Mar 2013 12:24:03 +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