From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 01 18:16:23 2025 Received: (at submit) by debbugs.gnu.org; 1 Aug 2025 22:16:23 +0000 Received: from localhost ([127.0.0.1]:58686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uhy35-0002xd-2a for submit@debbugs.gnu.org; Fri, 01 Aug 2025 18:16:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:50912) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uhy33-0002wx-1n for submit@debbugs.gnu.org; Fri, 01 Aug 2025 18:16:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uhy2b-000235-V5 for bug-gnu-emacs@gnu.org; Fri, 01 Aug 2025 18:16:04 -0400 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uhy2Y-00084o-7x for bug-gnu-emacs@gnu.org; Fri, 01 Aug 2025 18:15:53 -0400 Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-3e3c34a9b4cso24598955ab.3 for ; Fri, 01 Aug 2025 15:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1754086547; x=1754691347; darn=gnu.org; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=fv0BVVYCiy3qDGi8LYaOZU00FtjgG0kz23kS5/9LNeE=; b=IB+Wvd3s/IxgT0hge91z4HL5K1dYkUr41jpl3v819yVp80ks21F3q9f9Yd8uT5iAZM dfraIJM9f3c1VFTec5gXqkxdL3wByeAdLltXjwwUzsQajuZR7aZCfSGCk99Fnhd6bmdX V+lf1RIfigHm9rpliyvAMKFXPP/icRix2Ax9heEl2ZEWFji61l1EmpYK+JCdrLVPHGIZ IIhgrLo7/DPrOfQq9L0roAzR1NMhQhF/B/vFqIrSDSFGdhB5WM3ELI8d3bjA3XgZVdKi tAJUbYSBCAkvLA/iC7qGMlSXir/vQ3fUBPO/1ptXi4b8cnIL6fvzsgfrofSzlVNyp7Eq S7Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754086547; x=1754691347; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fv0BVVYCiy3qDGi8LYaOZU00FtjgG0kz23kS5/9LNeE=; b=F0ZNRz+NljkUs3cAvT6YSw5xKmIre88WMfFZ/nJA2KpmUmS7uBmszMaKKMqJLiuQJ4 BSxOZmLIkZB3NahgozH+mr3+R8SQOvBweabheultzr/jclHcD9S+s+p80bsxnVm9FzBN V0/N/zdVqwufekn6Eiy+6m5MXFHviGgxeTICvq/zyNfCQPitgS+bM9EN2E70usqJA3nd BZ+uejR2ntTVD5ULgdTG0kBu3ZGjzovmjt7sFEOchpy8fClHFr6qKmwkZWYsnYLQ7Qkc 65WXwdxqHCX9S7+RxNdO7lrGnP/kB4k2eC3Le2yfDGOIpgW5Dsw4isqqrtyyb7VFQmx/ hJ6w== X-Gm-Message-State: AOJu0YyGP5IVMKSUBWn6F6N9yaEX9VxoLwg21LN6RDC819Q3ohOmezBx XoM0UkPTprPvRxiirZD6Vj36RZjjVQUqkldqe6JXJFdqxX1Er5FWfpDQYTNUb1JIMVmCMTlJWse 9rbkt X-Gm-Gg: ASbGncsJeiuYpdzCVEszRCKc0cK1S2ODe51kUc5FbpxS3rxWfNSIkHE13KhZzqoklDn p3Lg03nn2/SXz44MPEmGUeDSd/7ysDaGCVnBH6k0xS66HpoUS+HyYQa+m2fgzVvYVKHNlvZmB+0 jepnLVB37VHcvJ6bhidQs8SFQ/p90Vu8y0i2m8YqFHWFiVNIh9RIeKMvcuAr3ZdRUw+XM1gOqbN GNiXu0lzCJPV5lJl47DmNG5hs3rEqpPayxZGMQeVYg8Z5UO9MKh+yDUp9FZt/2kcwBctCalyueV dXkHcQieLvI/1jL9Cl3bFpBgmRhGVt3RMQ+X/8iSQpdHCQ03ePe8F5YyGYSt27FTyKCPhLCSdpM g8uDyCfMeOWISjkpytVBFe2Kf76PQ4Wt8Ttx9fVtbkoMaf1DuXgN58KIVKivBAecqoc5oX3Q= X-Google-Smtp-Source: AGHT+IG3t5O8UoNNA8ezm9BfyYk/fEttMSJuFcsV3Ji8jVFRsi62O4nLRS5XnXmPExY3ruS/03ILMw== X-Received: by 2002:a92:c24f:0:b0:3e4:c4:f532 with SMTP id e9e14a558f8ab-3e4161f0cf2mr22178225ab.22.1754086547303; Fri, 01 Aug 2025 15:15:47 -0700 (PDT) Received: from smtpclient.apple (c-67-167-5-111.hsd1.il.comcast.net. [67.167.5.111]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-50a55b4cd77sm1420584173.25.2025.08.01.15.15.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Aug 2025 15:15:46 -0700 (PDT) From: Sean Devlin Content-Type: multipart/mixed; boundary="Apple-Mail=_8D294D90-C1DC-4817-BBCF-EB73B7FB7BEE" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: [PATCH] New user option to inhibit Calc startup message Message-Id: Date: Fri, 1 Aug 2025 17:15:36 -0500 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3826.700.81) Received-SPF: pass client-ip=2607:f8b0:4864:20::12e; envelope-from=spd@toadstyle.org; helo=mail-il1-x12e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit 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: -0.0 (/) --Apple-Mail=_8D294D90-C1DC-4817-BBCF-EB73B7FB7BEE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi folks, This is a patch adding a new user option to suppress Calc=E2=80=99s = startup message. By default, Calc prints a message like this during startup: "Welcome to the GNU Emacs Calculator! Press ? or M-x calc-help-prefix for help, q to quit" I find this a bit distracting, so I=E2=80=99d like to be able to silence = it. The attached patch adds an option to allow this along with a small test harness and documentation in the NEWS file. Please let me know if any changes are needed to the patch. Thanks! --Apple-Mail=_8D294D90-C1DC-4817-BBCF-EB73B7FB7BEE Content-Disposition: attachment; filename=0001-New-user-option-to-inhibit-Calc-startup-message.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-New-user-option-to-inhibit-Calc-startup-message.patch" Content-Transfer-Encoding: quoted-printable =46rom=201ad1f17b6c9326ffc009c6de5c5f2b9929014f52=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Sean=20Devlin=20=0ADate:=20= Fri,=201=20Aug=202025=2017:05:48=20-0500=0ASubject:=20[PATCH]=20New=20= user=20option=20to=20inhibit=20Calc=20startup=20message=0AMIME-Version:=20= 1.0=0AContent-Type:=20text/plain;=20charset=3DUTF-8=0A= Content-Transfer-Encoding:=208bit=0A=0A*=20etc/NEWS:=20Document=20the=20= new=20option.=0A*=20lisp/calc/calc.el=20(calc-inhibit-startup-message):=20= New=20option=20to=0Ainhibit=20Calc=E2=80=99s=20startup=20message.=0A= (calc):=20Respect=20the=20option=20in=20Calc=E2=80=99s=20startup=20code.=0A= *=20test/lisp/calc/calc-tests.el=20(ert):=20Require=20ert-x=20for=0A= 'ert-with-message-capture'.=0A(calc-inhibit-startup-message):=20Test=20= the=20new=20user=20option.=0A---=0A=20etc/NEWS=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20|=20=204=20++++=0A=20= lisp/calc/calc.el=20=20=20=20=20=20=20=20=20=20=20=20|=2021=20= ++++++++++++++-------=0A=20test/lisp/calc/calc-tests.el=20|=2015=20= +++++++++++++++=0A=203=20files=20changed,=2033=20insertions(+),=207=20= deletions(-)=0A=0Adiff=20--git=20a/etc/NEWS=20b/etc/NEWS=0Aindex=20= f4e64c0851f..aa1936fe7fc=20100644=0A---=20a/etc/NEWS=0A+++=20b/etc/NEWS=0A= @@=20-2305,6=20+2305,10=20@@=20Latin-1=20range=200-255.=20=20This=20= hard-coded=20maximum=20is=20replaced=20by=0A=20the=20display=20of=20= matching=20vectors=20as=20Unicode=20strings.=20=20The=20default=20value=0A= =20is=200xFF=20or=20255=20to=20preserve=20the=20existing=20behavior.=0A=20= =0A+***=20New=20user=20option=20'calc-inhibit-startup-message'.=0A+If=20= it=20is=20non-nil,=20inhibit=20Calc=20from=20printing=20its=20startup=20= message.=20=20The=0A+default=20value=20is=20nil=20to=20preserve=20the=20= existing=20behavior.=0A+=0A=20**=20Time=0A=20=0A=20***=20New=20user=20= option=20'world-clock-sort-order'.=0Adiff=20--git=20a/lisp/calc/calc.el=20= b/lisp/calc/calc.el=0Aindex=20a350419b320..d4fb8776c6c=20100644=0A---=20= a/lisp/calc/calc.el=0A+++=20b/lisp/calc/calc.el=0A@@=20-1473,6=20= +1473,11=20@@=20calc-create-buffer=0A=20=20=20=20=20(require=20= 'calc-ext)=0A=20=20=20=20=20(calc-set-language=20calc-language=20= calc-language-option=20t)))=0A=20=0A+(defcustom=20= calc-inhibit-startup-message=20nil=0A+=20=20"If=20non-nil,=20inhibit=20= the=20Calc=20startup=20message."=0A+=20=20:version=20"31.1"=0A+=20=20= :type=20'boolean)=0A+=0A=20(defcustom=20calc-make-windows-dedicated=20= nil=0A=20=20=20"If=20non-nil,=20windows=20displaying=20Calc=20buffers=20= will=20be=20marked=20dedicated.=0A=20See=20`window-dedicated-p'=20for=20= what=20that=20means."=0A@@=20-1524,9=20+1529,10=20@@=20calc=0A=20=20=20=20= =20=20=20=20=20(with-current-buffer=20(calc-trail-buffer)=0A=20=20=20=20=20= =20=20=20=20=20=20(and=20calc-display-trail=0A=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20(calc-trail-display=201=20t)))=0A-=20=20=20=20=20=20= =20=20(message=20(substitute-command-keys=0A-=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(concat=20"Welcome=20to=20the=20GNU=20Emacs=20= Calculator!=20=20\\"=0A-=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20"Press=20\\[calc-help]=20or=20= \\[calc-help-prefix]=20for=20help,=20\\[calc-quit]=20to=20quit")))=0A+=20= =20=20=20=20=20=20=20(unless=20calc-inhibit-startup-message=0A+=20=20=20=20= =20=20=20=20=20=20(message=20(substitute-command-keys=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(concat=20"Welcome=20to=20the=20= GNU=20Emacs=20Calculator!=20=20\\"=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20"Press=20= \\[calc-help]=20or=20\\[calc-help-prefix]=20for=20help,=20\\[calc-quit]=20= to=20quit"))))=0A=20=20=20=20=20=20=20=20=20(run-hooks=20= 'calc-start-hook)=0A=20=20=20=20=20=20=20=20=20(and=20(windowp=20= full-display)=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20(window-point=20= full-display)=0A@@=20-1534,10=20+1540,11=20@@=20calc=0A=20=20=20=20=20=20= =20=20=20(and=20calc-make-windows-dedicated=0A=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(set-window-dedicated-p=20nil=20t))=0A=20=20=20=20=20=20=20= =20=20(calc-check-defines)=0A-=20=20=20=20=20=20=20=20(when=20(and=20= calc-said-hello=20interactive)=0A-=20=20=20=20=20=20=20=20=20=20(sit-for=20= 2)=0A-=20=20=20=20=20=20=20=20=20=20(message=20""))=0A-=20=20=20=20=20=20= =20=20(setq=20calc-said-hello=20t)))))=0A+=20=20=20=20=20=20=20=20= (unless=20calc-inhibit-startup-message=0A+=20=20=20=20=20=20=20=20=20=20= (when=20(and=20calc-said-hello=20interactive)=0A+=20=20=20=20=20=20=20=20= =20=20=20=20(sit-for=202)=0A+=20=20=20=20=20=20=20=20=20=20=20=20= (message=20""))=0A+=20=20=20=20=20=20=20=20=20=20(setq=20calc-said-hello=20= t))))))=0A=20=0A=20;;;###autoload=0A=20(defun=20full-calc=20(&optional=20= interactive)=0Adiff=20--git=20a/test/lisp/calc/calc-tests.el=20= b/test/lisp/calc/calc-tests.el=0Aindex=202fd6a6be45e..49762e146a5=20= 100644=0A---=20a/test/lisp/calc/calc-tests.el=0A+++=20= b/test/lisp/calc/calc-tests.el=0A@@=20-26,6=20+26,7=20@@=0A=20=0A=20= (require=20'cl-lib)=0A=20(require=20'ert)=0A+(require=20'ert-x)=0A=20= (require=20'calc)=0A=20(require=20'calc-ext)=0A=20(require=20= 'calc-units)=0A@@=20-946,5=20+947,19=20@@=20calc-math-vector-is-string=0A= =20=20=20=20=20=20=20(should-error=20(math-vector-is-string=20cplx-vec)=0A= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20:type=20= 'wrong-type-argument))))=0A=20=0A+(ert-deftest=20= calc-inhibit-startup-message=20()=0A+=20=20"Test=20user=20option=20= `calc-inhibit-startup-message'."=0A+=20=20(let=20((welcome-message=20= "Welcome=20to=20the=20GNU=20Emacs=20Calculator!"))=0A+=20=20=20=20= (ert-with-message-capture=20messages=0A+=20=20=20=20=20=20(let=20= ((calc-inhibit-startup-message=20t))=0A+=20=20=20=20=20=20=20=20(calc))=0A= +=20=20=20=20=20=20(should-not=20(string-match-p=20welcome-message=20= messages))=0A+=20=20=20=20=20=20(calc-quit))=0A+=20=20=20=20= (ert-with-message-capture=20messages=0A+=20=20=20=20=20=20(let=20= ((calc-inhibit-startup-message=20nil))=0A+=20=20=20=20=20=20=20=20= (calc))=0A+=20=20=20=20=20=20(should=20(string-match-p=20welcome-message=20= messages))=0A+=20=20=20=20=20=20(calc-quit))))=0A+=0A=20(provide=20= 'calc-tests)=0A=20;;;=20calc-tests.el=20ends=20here=0A--=20=0A2.39.5=20= (Apple=20Git-154)=0A=0A= --Apple-Mail=_8D294D90-C1DC-4817-BBCF-EB73B7FB7BEE-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 02 02:33:36 2025 Received: (at 79143) by debbugs.gnu.org; 2 Aug 2025 06:33:36 +0000 Received: from localhost ([127.0.0.1]:33240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ui5oF-0006CM-HJ for submit@debbugs.gnu.org; Sat, 02 Aug 2025 02:33:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42932) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ui5oD-0006Bj-58 for 79143@debbugs.gnu.org; Sat, 02 Aug 2025 02:33:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ui5o7-0006Ye-3D; Sat, 02 Aug 2025 02:33:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=hQGl1C/3/Ih39cgi4acUAIfhpzjJgeLYlSIJS2/iT9M=; b=KKWg4cZhL5hrP44uQaBf VRmIW1Leuv41Q7bPZARO0oeZFGbYt1O9Gp0y04mmuJKWiQL97jqKWjW1BA6thNz4nRSJL3BBWEjhf sTfuUZWd9zUI/gtcZAqMZcPXb4zERw174WqRWfdwWOS+bs15E6qDGk4xyicNdHn9svNak5vASAra4 YOsetGwkeumyv5iBRRPbvbJHojsjTqZjbuCBqHpPhM1ECiE/RtnqSKQRUQCkBfn2kPXsioM5sLMjb DpgU+8BcRo05PDJnZMuLbwhNoHm/xjRfV04c5ON3iUuxTBWpWtNzXZREy+iOZCGAR7IDW5VKStlwt T9P5kbsYRhg1pg==; Date: Sat, 02 Aug 2025 09:33:24 +0300 Message-Id: <8634aateq3.fsf@gnu.org> From: Eli Zaretskii To: Sean Devlin , Christopher Howard In-Reply-To: (message from Sean Devlin on Fri, 1 Aug 2025 17:15:36 -0500) Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79143 Cc: 79143@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: -3.3 (---) > From: Sean Devlin > Date: Fri, 1 Aug 2025 17:15:36 -0500 > > This is a patch adding a new user option to suppress Calc’s startup > message. > > By default, Calc prints a message like this during startup: > > "Welcome to the GNU Emacs Calculator! Press ? or M-x calc-help-prefix > for help, q to quit" > > I find this a bit distracting, so I’d like to be able to silence it. The > attached patch adds an option to allow this along with a small test > harness and documentation in the NEWS file. > > Please let me know if any changes are needed to the patch. Thanks. Christopher, any comments? (I hope you don't mind being involved in maintenance of Calc by way of reviewing patches of others.) > From 1ad1f17b6c9326ffc009c6de5c5f2b9929014f52 Mon Sep 17 00:00:00 2001 > From: Sean Devlin > Date: Fri, 1 Aug 2025 17:05:48 -0500 > Subject: [PATCH] New user option to inhibit Calc startup message > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > * etc/NEWS: Document the new option. > * lisp/calc/calc.el (calc-inhibit-startup-message): New option to > inhibit Calc’s startup message. > (calc): Respect the option in Calc’s startup code. > * test/lisp/calc/calc-tests.el (ert): Require ert-x for > 'ert-with-message-capture'. > (calc-inhibit-startup-message): Test the new user option. Should this new option be in the Calc manual as well? If you agree and send an updated patch for that, then please (a) mention the bug number in the commit log message, and (b) mark the NEWS entry as "+++", to indicate that the relevant manuals have been updated. > --- > etc/NEWS | 4 ++++ > lisp/calc/calc.el | 21 ++++++++++++++------- > test/lisp/calc/calc-tests.el | 15 +++++++++++++++ > 3 files changed, 33 insertions(+), 7 deletions(-) > > diff --git a/etc/NEWS b/etc/NEWS > index f4e64c0851f..aa1936fe7fc 100644 > --- a/etc/NEWS > +++ b/etc/NEWS > @@ -2305,6 +2305,10 @@ Latin-1 range 0-255. This hard-coded maximum is replaced by > the display of matching vectors as Unicode strings. The default value > is 0xFF or 255 to preserve the existing behavior. > > +*** New user option 'calc-inhibit-startup-message'. > +If it is non-nil, inhibit Calc from printing its startup message. The > +default value is nil to preserve the existing behavior. > + > ** Time > > *** New user option 'world-clock-sort-order'. > diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el > index a350419b320..d4fb8776c6c 100644 > --- a/lisp/calc/calc.el > +++ b/lisp/calc/calc.el > @@ -1473,6 +1473,11 @@ calc-create-buffer > (require 'calc-ext) > (calc-set-language calc-language calc-language-option t))) > > +(defcustom calc-inhibit-startup-message nil > + "If non-nil, inhibit the Calc startup message." > + :version "31.1" > + :type 'boolean) > + > (defcustom calc-make-windows-dedicated nil > "If non-nil, windows displaying Calc buffers will be marked dedicated. > See `window-dedicated-p' for what that means." > @@ -1524,9 +1529,10 @@ calc > (with-current-buffer (calc-trail-buffer) > (and calc-display-trail > (calc-trail-display 1 t))) > - (message (substitute-command-keys > - (concat "Welcome to the GNU Emacs Calculator! \\" > - "Press \\[calc-help] or \\[calc-help-prefix] for help, \\[calc-quit] to quit"))) > + (unless calc-inhibit-startup-message > + (message (substitute-command-keys > + (concat "Welcome to the GNU Emacs Calculator! \\" > + "Press \\[calc-help] or \\[calc-help-prefix] for help, \\[calc-quit] to quit")))) > (run-hooks 'calc-start-hook) > (and (windowp full-display) > (window-point full-display) > @@ -1534,10 +1540,11 @@ calc > (and calc-make-windows-dedicated > (set-window-dedicated-p nil t)) > (calc-check-defines) > - (when (and calc-said-hello interactive) > - (sit-for 2) > - (message "")) > - (setq calc-said-hello t))))) > + (unless calc-inhibit-startup-message > + (when (and calc-said-hello interactive) > + (sit-for 2) > + (message "")) > + (setq calc-said-hello t)))))) > > ;;;###autoload > (defun full-calc (&optional interactive) > diff --git a/test/lisp/calc/calc-tests.el b/test/lisp/calc/calc-tests.el > index 2fd6a6be45e..49762e146a5 100644 > --- a/test/lisp/calc/calc-tests.el > +++ b/test/lisp/calc/calc-tests.el > @@ -26,6 +26,7 @@ > > (require 'cl-lib) > (require 'ert) > +(require 'ert-x) > (require 'calc) > (require 'calc-ext) > (require 'calc-units) > @@ -946,5 +947,19 @@ calc-math-vector-is-string > (should-error (math-vector-is-string cplx-vec) > :type 'wrong-type-argument)))) > > +(ert-deftest calc-inhibit-startup-message () > + "Test user option `calc-inhibit-startup-message'." > + (let ((welcome-message "Welcome to the GNU Emacs Calculator!")) > + (ert-with-message-capture messages > + (let ((calc-inhibit-startup-message t)) > + (calc)) > + (should-not (string-match-p welcome-message messages)) > + (calc-quit)) > + (ert-with-message-capture messages > + (let ((calc-inhibit-startup-message nil)) > + (calc)) > + (should (string-match-p welcome-message messages)) > + (calc-quit)))) > + > (provide 'calc-tests) > ;;; calc-tests.el ends here > -- > 2.39.5 (Apple Git-154) > From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 02 10:51:28 2025 Received: (at 79143) by debbugs.gnu.org; 2 Aug 2025 14:51:28 +0000 Received: from localhost ([127.0.0.1]:37004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uiDa3-0005dZ-LF for submit@debbugs.gnu.org; Sat, 02 Aug 2025 10:51:28 -0400 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]:59803) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uiDa1-0005dD-9j for 79143@debbugs.gnu.org; Sat, 02 Aug 2025 10:51:26 -0400 Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-3e40d006105so11545495ab.3 for <79143@debbugs.gnu.org>; Sat, 02 Aug 2025 07:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1754146279; x=1754751079; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=riFteIRF+Z8bK2T+zOk7KgKrQIdYKibtl1EYou1xB84=; b=S22DvhcXideBnhbVMPtdvq9Yi0ZpzEH4L8sXOeB0cnt5cIqlP17ZNk4iHJjm5vNS8j OXf+HHTbGIVxgHoNyn0DNX3VbuF9eeMAVk0wdxrclFanD3difF3yOHa8dBK+4t+V+H6S mACovzAzOGb/kXRpfcRtI8FHNGO7igufxWpgGCWuW72BFAGDEQvUb1RvUjPezUBChQ3P 1nHSxsCGTfrMSx9NR6NhOd2HPnXwmDfmFwpzztoQdWlhCbT+RNZY7K9wgtdqQpvJzFPR NVqbVwW/8RUh5S9lp86MDnbgpl8lglWrVSPaj6jcF2nNrBLTUOc9xwukvX6YcqjjO4Gs /1HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754146279; x=1754751079; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=riFteIRF+Z8bK2T+zOk7KgKrQIdYKibtl1EYou1xB84=; b=t8YFVFCt9MDT+SC1ZlgH4TiQaexWdpfFZ2EqDs+IC3OSB6OXUnAZUW6cXH7BlwkUB4 J5Q+pX60fpJQ0uYM3YiJuxy+4MTRca7lbIpCnYd1H47IVafxeANNkjsG/WY0vIdAGHeG dwvhxWsfOsJfCaqbROTIozj9aN9njqxVoscpdLaBCZH1qb5RFtYIS6PGCsm33DbGv5AE j9mcNM+16LuojYy9ePtUzFyK5PfT81RG3ztnOJRWO9BoopCds1UYvX0i1D+O7KbwdMNK w8c7puwRyb9vQFRNDHX6NPrxK5veZmzjFocWnSIxalBcDNnaRlfWcId0Ta5nBoesJC46 SHnQ== X-Forwarded-Encrypted: i=1; AJvYcCUvHMa2FgQ1fZFZ5qi2vQCDSPKAH4TZTr7SQFGF5DEeUpvVyomJicb+XD3YM4r+YEVaNxtQXw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwUfI1+h1b1SxGLdQrEyWDnPbts5o4lJUAIQNQ7CveIMCcmlFfs Azt/vve1jQR4XeVGdkj9LXG0RXV5Eg1nL+8/edtW8V/tm8CITlVQMqjpn7pOKh4dGt8= X-Gm-Gg: ASbGncua19x2TrlQieSiQ45p2nZGiuYEESPJZLaBYAaOE65U31kY9+X2iuUQeAY1nBC aFYNZSFsy8gmZ+MbUbyjCVJztQTLcANWMAL+2UMOfYW/N+04ke3XdeamuKL4Z7pzYYdWucG/Kaz JrDEy0uuO3xu1k1/wF6lOdShGnSElXVFo5HdYUKmGBZGVVgrtgeh60YOEyp29OKXRlfSNEvN84S oJYV1z1F7DiHlBenRalVW1An/Wsct/5AFqYNBl4nGB5bRncPSinXlKgCROY0cajoX8XRjKa+F1/ OEwOT/FkP0R9XkHV67o5honJBamYdflVGAdZlEMPYGOKwiDOFqeyaaks1QsBMykA4CT8Z10IykA j/f4Goj/rd+0bxgpUZwqmKwvUBB1km/kDDWHgvaOatZRZsn9OF+wcGTg1D5u0/NH9hWSQWO0= X-Google-Smtp-Source: AGHT+IGdFF6DEJeKx8kDCx+ObWv93cl+KWu/c+XEe4y4B9MGzvH2yAbVhJVR5uov3Oeo6oE0LzGRFQ== X-Received: by 2002:a05:6e02:308a:b0:3e3:fc9e:b2d4 with SMTP id e9e14a558f8ab-3e416176df0mr57537935ab.10.1754146279198; Sat, 02 Aug 2025 07:51:19 -0700 (PDT) Received: from smtpclient.apple (c-67-167-5-111.hsd1.il.comcast.net. [67.167.5.111]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-50a55b8783asm1870623173.49.2025.08.02.07.51.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Aug 2025 07:51:18 -0700 (PDT) From: Sean Devlin Message-Id: Content-Type: multipart/mixed; boundary="Apple-Mail=_E1AB456A-3759-49EB-B488-0A35D871AB81" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message Date: Sat, 2 Aug 2025 09:51:08 -0500 In-Reply-To: <8634aateq3.fsf@gnu.org> To: Eli Zaretskii References: <8634aateq3.fsf@gnu.org> X-Mailer: Apple Mail (2.3826.700.81) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79143 Cc: Christopher Howard , 79143@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 (-) --Apple-Mail=_E1AB456A-3759-49EB-B488-0A35D871AB81 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 2, 2025, at 1:33=E2=80=AFAM, Eli Zaretskii = wrote: >=20 >> From: Sean Devlin >> Date: Fri, 1 Aug 2025 17:15:36 -0500 >>=20 >> This is a patch adding a new user option to suppress Calc=E2=80=99s = startup >> message. >>=20 >> By default, Calc prints a message like this during startup: >>=20 >> "Welcome to the GNU Emacs Calculator! Press ? or M-x = calc-help-prefix >> for help, q to quit" >>=20 >> I find this a bit distracting, so I=E2=80=99d like to be able to = silence it. The >> attached patch adds an option to allow this along with a small test >> harness and documentation in the NEWS file. >>=20 >> Please let me know if any changes are needed to the patch. >=20 > Thanks. >=20 > Christopher, any comments? (I hope you don't mind being involved in > maintenance of Calc by way of reviewing patches of others.) >=20 >> =46rom 1ad1f17b6c9326ffc009c6de5c5f2b9929014f52 Mon Sep 17 00:00:00 = 2001 >> From: Sean Devlin >> Date: Fri, 1 Aug 2025 17:05:48 -0500 >> Subject: [PATCH] New user option to inhibit Calc startup message >> MIME-Version: 1.0 >> Content-Type: text/plain; charset=3DUTF-8 >> Content-Transfer-Encoding: 8bit >>=20 >> * etc/NEWS: Document the new option. >> * lisp/calc/calc.el (calc-inhibit-startup-message): New option to >> inhibit Calc=E2=80=99s startup message. >> (calc): Respect the option in Calc=E2=80=99s startup code. >> * test/lisp/calc/calc-tests.el (ert): Require ert-x for >> 'ert-with-message-capture'. >> (calc-inhibit-startup-message): Test the new user option. >=20 > Should this new option be in the Calc manual as well? If you agree > and send an updated patch for that, then please (a) mention the bug > number in the commit log message, and (b) mark the NEWS entry as > "+++", to indicate that the relevant manuals have been updated. Hi Eli, I=E2=80=99ve taken a stab at this. Please see the attached patch, and = let me know if the language or formatting need any revision. Thanks! --Apple-Mail=_E1AB456A-3759-49EB-B488-0A35D871AB81 Content-Disposition: attachment; filename=0001-Add-user-option-to-inhibit-Calc-startup-message.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Add-user-option-to-inhibit-Calc-startup-message.patch" Content-Transfer-Encoding: quoted-printable =46rom=2065314d4b74293372fc3bba6833fdea3ff8a001e2=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Sean=20Devlin=20=0ADate:=20= Sat,=202=20Aug=202025=2009:47:14=20-0500=0ASubject:=20[PATCH]=20Add=20= user=20option=20to=20inhibit=20Calc=20startup=20message=0AMIME-Version:=20= 1.0=0AContent-Type:=20text/plain;=20charset=3DUTF-8=0A= Content-Transfer-Encoding:=208bit=0A=0A*=20doc/misc/calc.texi=20= (Customizing=20Calc):=20Document=20the=20new=20option.=0A*=20etc/NEWS:=20= Document=20the=20new=20option.=0A*=20lisp/calc/calc.el=20= (calc-inhibit-startup-message):=20New=20option=20to=0Ainhibit=20Calc=E2=80= =99s=20startup=20message.=0A(calc):=20Respect=20the=20option=20in=20= Calc=E2=80=99s=20startup=20code.=0A*=20test/lisp/calc/calc-tests.el=20= (ert):=20Require=20ert-x=20for=0A'ert-with-message-capture'.=0A= (calc-inhibit-startup-message):=20Test=20the=20new=20user=20option.=0A= ---=0A=20doc/misc/calc.texi=20=20=20=20=20=20=20=20=20=20=20|=20=208=20= ++++++++=0A=20etc/NEWS=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20|=20=204=20++++=0A=20lisp/calc/calc.el=20=20=20=20=20=20=20=20= =20=20=20=20|=2021=20++++++++++++++-------=0A=20= test/lisp/calc/calc-tests.el=20|=2015=20+++++++++++++++=0A=204=20files=20= changed,=2041=20insertions(+),=207=20deletions(-)=0A=0Adiff=20--git=20= a/doc/misc/calc.texi=20b/doc/misc/calc.texi=0Aindex=20= eda442ecb38..9b7cdd8b37f=20100644=0A---=20a/doc/misc/calc.texi=0A+++=20= b/doc/misc/calc.texi=0A@@=20-35714,6=20+35714,14=20@@=20Customizing=20= Calc=0A=20or=20255.=0A=20@end=20defvar=0A=20=0A+@defvar=20= calc-inhibit-startup-message=0A+The=20variable=20= @code{calc-inhibit-startup-message}=20controls=20display=20of=20a=0A= +welcome=20message=20when=20starting=20Calc.=20=20If=20it=20is=20= @code{nil}=20(the=20default),=0A+Calc=20will=20print=20a=20brief=20= message=20listing=20key=20bindings=20to=20get=20help=20or=20to=0A+quit.=20= =20If=20it=20is=20non-@code{nil},=20Calc=20will=20start=20without=20= printing=0A+anything.=0A+@end=20defvar=0A+=0A=20@node=20Reporting=20Bugs=0A= =20@appendix=20Reporting=20Bugs=0A=20=0Adiff=20--git=20a/etc/NEWS=20= b/etc/NEWS=0Aindex=20f4e64c0851f..aa1936fe7fc=20100644=0A---=20= a/etc/NEWS=0A+++=20b/etc/NEWS=0A@@=20-2305,6=20+2305,10=20@@=20Latin-1=20= range=200-255.=20=20This=20hard-coded=20maximum=20is=20replaced=20by=0A=20= the=20display=20of=20matching=20vectors=20as=20Unicode=20strings.=20=20= The=20default=20value=0A=20is=200xFF=20or=20255=20to=20preserve=20the=20= existing=20behavior.=0A=20=0A+***=20New=20user=20option=20= 'calc-inhibit-startup-message'.=0A+If=20it=20is=20non-nil,=20inhibit=20= Calc=20from=20printing=20its=20startup=20message.=20=20The=0A+default=20= value=20is=20nil=20to=20preserve=20the=20existing=20behavior.=0A+=0A=20= **=20Time=0A=20=0A=20***=20New=20user=20option=20= 'world-clock-sort-order'.=0Adiff=20--git=20a/lisp/calc/calc.el=20= b/lisp/calc/calc.el=0Aindex=20a350419b320..d4fb8776c6c=20100644=0A---=20= a/lisp/calc/calc.el=0A+++=20b/lisp/calc/calc.el=0A@@=20-1473,6=20= +1473,11=20@@=20calc-create-buffer=0A=20=20=20=20=20(require=20= 'calc-ext)=0A=20=20=20=20=20(calc-set-language=20calc-language=20= calc-language-option=20t)))=0A=20=0A+(defcustom=20= calc-inhibit-startup-message=20nil=0A+=20=20"If=20non-nil,=20inhibit=20= the=20Calc=20startup=20message."=0A+=20=20:version=20"31.1"=0A+=20=20= :type=20'boolean)=0A+=0A=20(defcustom=20calc-make-windows-dedicated=20= nil=0A=20=20=20"If=20non-nil,=20windows=20displaying=20Calc=20buffers=20= will=20be=20marked=20dedicated.=0A=20See=20`window-dedicated-p'=20for=20= what=20that=20means."=0A@@=20-1524,9=20+1529,10=20@@=20calc=0A=20=20=20=20= =20=20=20=20=20(with-current-buffer=20(calc-trail-buffer)=0A=20=20=20=20=20= =20=20=20=20=20=20(and=20calc-display-trail=0A=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20(calc-trail-display=201=20t)))=0A-=20=20=20=20=20=20= =20=20(message=20(substitute-command-keys=0A-=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(concat=20"Welcome=20to=20the=20GNU=20Emacs=20= Calculator!=20=20\\"=0A-=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20"Press=20\\[calc-help]=20or=20= \\[calc-help-prefix]=20for=20help,=20\\[calc-quit]=20to=20quit")))=0A+=20= =20=20=20=20=20=20=20(unless=20calc-inhibit-startup-message=0A+=20=20=20=20= =20=20=20=20=20=20(message=20(substitute-command-keys=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(concat=20"Welcome=20to=20the=20= GNU=20Emacs=20Calculator!=20=20\\"=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20"Press=20= \\[calc-help]=20or=20\\[calc-help-prefix]=20for=20help,=20\\[calc-quit]=20= to=20quit"))))=0A=20=20=20=20=20=20=20=20=20(run-hooks=20= 'calc-start-hook)=0A=20=20=20=20=20=20=20=20=20(and=20(windowp=20= full-display)=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20(window-point=20= full-display)=0A@@=20-1534,10=20+1540,11=20@@=20calc=0A=20=20=20=20=20=20= =20=20=20(and=20calc-make-windows-dedicated=0A=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(set-window-dedicated-p=20nil=20t))=0A=20=20=20=20=20=20=20= =20=20(calc-check-defines)=0A-=20=20=20=20=20=20=20=20(when=20(and=20= calc-said-hello=20interactive)=0A-=20=20=20=20=20=20=20=20=20=20(sit-for=20= 2)=0A-=20=20=20=20=20=20=20=20=20=20(message=20""))=0A-=20=20=20=20=20=20= =20=20(setq=20calc-said-hello=20t)))))=0A+=20=20=20=20=20=20=20=20= (unless=20calc-inhibit-startup-message=0A+=20=20=20=20=20=20=20=20=20=20= (when=20(and=20calc-said-hello=20interactive)=0A+=20=20=20=20=20=20=20=20= =20=20=20=20(sit-for=202)=0A+=20=20=20=20=20=20=20=20=20=20=20=20= (message=20""))=0A+=20=20=20=20=20=20=20=20=20=20(setq=20calc-said-hello=20= t))))))=0A=20=0A=20;;;###autoload=0A=20(defun=20full-calc=20(&optional=20= interactive)=0Adiff=20--git=20a/test/lisp/calc/calc-tests.el=20= b/test/lisp/calc/calc-tests.el=0Aindex=202fd6a6be45e..49762e146a5=20= 100644=0A---=20a/test/lisp/calc/calc-tests.el=0A+++=20= b/test/lisp/calc/calc-tests.el=0A@@=20-26,6=20+26,7=20@@=0A=20=0A=20= (require=20'cl-lib)=0A=20(require=20'ert)=0A+(require=20'ert-x)=0A=20= (require=20'calc)=0A=20(require=20'calc-ext)=0A=20(require=20= 'calc-units)=0A@@=20-946,5=20+947,19=20@@=20calc-math-vector-is-string=0A= =20=20=20=20=20=20=20(should-error=20(math-vector-is-string=20cplx-vec)=0A= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20:type=20= 'wrong-type-argument))))=0A=20=0A+(ert-deftest=20= calc-inhibit-startup-message=20()=0A+=20=20"Test=20user=20option=20= `calc-inhibit-startup-message'."=0A+=20=20(let=20((welcome-message=20= "Welcome=20to=20the=20GNU=20Emacs=20Calculator!"))=0A+=20=20=20=20= (ert-with-message-capture=20messages=0A+=20=20=20=20=20=20(let=20= ((calc-inhibit-startup-message=20t))=0A+=20=20=20=20=20=20=20=20(calc))=0A= +=20=20=20=20=20=20(should-not=20(string-match-p=20welcome-message=20= messages))=0A+=20=20=20=20=20=20(calc-quit))=0A+=20=20=20=20= (ert-with-message-capture=20messages=0A+=20=20=20=20=20=20(let=20= ((calc-inhibit-startup-message=20nil))=0A+=20=20=20=20=20=20=20=20= (calc))=0A+=20=20=20=20=20=20(should=20(string-match-p=20welcome-message=20= messages))=0A+=20=20=20=20=20=20(calc-quit))))=0A+=0A=20(provide=20= 'calc-tests)=0A=20;;;=20calc-tests.el=20ends=20here=0A--=20=0A2.39.5=20= (Apple=20Git-154)=0A=0A= --Apple-Mail=_E1AB456A-3759-49EB-B488-0A35D871AB81 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii >=20 >> --- >> etc/NEWS | 4 ++++ >> lisp/calc/calc.el | 21 ++++++++++++++------- >> test/lisp/calc/calc-tests.el | 15 +++++++++++++++ >> 3 files changed, 33 insertions(+), 7 deletions(-) >>=20 >> diff --git a/etc/NEWS b/etc/NEWS >> index f4e64c0851f..aa1936fe7fc 100644 >> --- a/etc/NEWS >> +++ b/etc/NEWS >> @@ -2305,6 +2305,10 @@ Latin-1 range 0-255. This hard-coded maximum = is replaced by >> the display of matching vectors as Unicode strings. The default = value >> is 0xFF or 255 to preserve the existing behavior. >>=20 >> +*** New user option 'calc-inhibit-startup-message'. >> +If it is non-nil, inhibit Calc from printing its startup message. = The >> +default value is nil to preserve the existing behavior. >> + >> ** Time >>=20 >> *** New user option 'world-clock-sort-order'. >> diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el >> index a350419b320..d4fb8776c6c 100644 >> --- a/lisp/calc/calc.el >> +++ b/lisp/calc/calc.el >> @@ -1473,6 +1473,11 @@ calc-create-buffer >> (require 'calc-ext) >> (calc-set-language calc-language calc-language-option t))) >>=20 >> +(defcustom calc-inhibit-startup-message nil >> + "If non-nil, inhibit the Calc startup message." >> + :version "31.1" >> + :type 'boolean) >> + >> (defcustom calc-make-windows-dedicated nil >> "If non-nil, windows displaying Calc buffers will be marked = dedicated. >> See `window-dedicated-p' for what that means." >> @@ -1524,9 +1529,10 @@ calc >> (with-current-buffer (calc-trail-buffer) >> (and calc-display-trail >> (calc-trail-display 1 t))) >> - (message (substitute-command-keys >> - (concat "Welcome to the GNU Emacs Calculator! = \\" >> - "Press \\[calc-help] or = \\[calc-help-prefix] for help, \\[calc-quit] to quit"))) >> + (unless calc-inhibit-startup-message >> + (message (substitute-command-keys >> + (concat "Welcome to the GNU Emacs Calculator! = \\" >> + "Press \\[calc-help] or = \\[calc-help-prefix] for help, \\[calc-quit] to quit")))) >> (run-hooks 'calc-start-hook) >> (and (windowp full-display) >> (window-point full-display) >> @@ -1534,10 +1540,11 @@ calc >> (and calc-make-windows-dedicated >> (set-window-dedicated-p nil t)) >> (calc-check-defines) >> - (when (and calc-said-hello interactive) >> - (sit-for 2) >> - (message "")) >> - (setq calc-said-hello t))))) >> + (unless calc-inhibit-startup-message >> + (when (and calc-said-hello interactive) >> + (sit-for 2) >> + (message "")) >> + (setq calc-said-hello t)))))) >>=20 >> ;;;###autoload >> (defun full-calc (&optional interactive) >> diff --git a/test/lisp/calc/calc-tests.el = b/test/lisp/calc/calc-tests.el >> index 2fd6a6be45e..49762e146a5 100644 >> --- a/test/lisp/calc/calc-tests.el >> +++ b/test/lisp/calc/calc-tests.el >> @@ -26,6 +26,7 @@ >>=20 >> (require 'cl-lib) >> (require 'ert) >> +(require 'ert-x) >> (require 'calc) >> (require 'calc-ext) >> (require 'calc-units) >> @@ -946,5 +947,19 @@ calc-math-vector-is-string >> (should-error (math-vector-is-string cplx-vec) >> :type 'wrong-type-argument)))) >>=20 >> +(ert-deftest calc-inhibit-startup-message () >> + "Test user option `calc-inhibit-startup-message'." >> + (let ((welcome-message "Welcome to the GNU Emacs Calculator!")) >> + (ert-with-message-capture messages >> + (let ((calc-inhibit-startup-message t)) >> + (calc)) >> + (should-not (string-match-p welcome-message messages)) >> + (calc-quit)) >> + (ert-with-message-capture messages >> + (let ((calc-inhibit-startup-message nil)) >> + (calc)) >> + (should (string-match-p welcome-message messages)) >> + (calc-quit)))) >> + >> (provide 'calc-tests) >> ;;; calc-tests.el ends here >> --=20 >> 2.39.5 (Apple Git-154) >>=20 --Apple-Mail=_E1AB456A-3759-49EB-B488-0A35D871AB81-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 02 12:04:43 2025 Received: (at 79143) by debbugs.gnu.org; 2 Aug 2025 16:04:43 +0000 Received: from localhost ([127.0.0.1]:37251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uiEiw-0001nl-Gl for submit@debbugs.gnu.org; Sat, 02 Aug 2025 12:04:43 -0400 Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]:46386) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uiEit-0001nS-IN for 79143@debbugs.gnu.org; Sat, 02 Aug 2025 12:04:40 -0400 Received: by mail-il1-x129.google.com with SMTP id e9e14a558f8ab-3e3d7b135c2so34532045ab.1 for <79143@debbugs.gnu.org>; Sat, 02 Aug 2025 09:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1754150673; x=1754755473; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=2xUK/l0+7nI8NFLu12HSuj4FpGt27CUrPRnBNzl+Whs=; b=1Eh9cRxZjLm4eAObVb+Yx0hoxAJTISjIqRuTFdXYrE1YbyX+CBotON06X2mx4JadHt Az4JXYgVvyRn4vGsw32rhcR3fgQ83AQKhvgafHzRYECasebrUs0nbT9iUq9tCDt8Qu7f P5Ai/N1BJKr/ekNkP2XiYEtbDY4rMheWYmGV512nBQ/umqVjbUfu9OVgBUN2RxIm54E+ yVR1x/rWthyzB9NtG0OHvJHaw8tcsBKQCAzs2Un6s6cH3nmnhTZkOHB35mBiMJRp1nzY woZzBEoNnyQPy3LgDNVQMgMwvNqPGpDHwucdqqvA5neId3D4za29gXBg//pvFgxH1ZWC Fnzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754150673; x=1754755473; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2xUK/l0+7nI8NFLu12HSuj4FpGt27CUrPRnBNzl+Whs=; b=fIvncdkSoO5/TUVxwbFAMwXkY67JwvJnfbE35OGwmR1dRSqa3K/9DOqO6CkaL7qeYN Aoc+CcCo5RICyUoK0vDmvF32fiFv4JJY55xDSkk1IRWTf+xJGKpYt7LN+1B5euJvpDGN Mey2hIWLo9cliFReLiGdcEV0y5tPr/5fOc9u2VgLZ/6TZ8aVYJIvXLewpnHx3cnUD90R W4iXsLzofpyNqG6+cJAuz0hHNdlzJ8vcPvrgi0Eo80AivDe3GzSysIRl2oCoTUhJ/Dgt GLqNSEPVANzkwA9yLLCSHaKrIIXGuiuBscPcBz/6Act10MTpFa4D+ZoUjs9ADyEIasda 6/PA== X-Forwarded-Encrypted: i=1; AJvYcCWbwC6BWgvpUW8ALY3DyJwocDu67Ch78LlrnybuyAYp5jM6/FahkqwhfscUV5Fd62dZTM9few==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzva0ET6d6iyHw5u8LMLrtf/9OuRmYlIBvEKL/hNT3hll/eFVDw BGuXJ+2cUHwOxo9UQtxbbM9mX4FYIcfqoL+Jwohge47QiAosjAJ/WoIjVZoSbquekds= X-Gm-Gg: ASbGncvIhz2FUAa5uhVOe0MKVimOiQT+nB4aA7HTGjUc7r27i6WvrL5mKmbuI/pN6BU id3fZKK2XZWsPNI08FXLJ0Ny9dOqwWl8itYcB55zhAL6hHvSGz/7cMbOJhb8ZfWIHHrepAdM6ut OcRXyXTF8JOCSeWQvEDr0tZ2191iE0rvPaSNhmAxizrGczKfZqfAagbMuJG9/1NFpIUngSblZfs sTEskqTWnrdIJ+JFN/NB5KsWgB333etpjL3FDYaErJnP9Mcxla7tWVqSPuxM6NNpzYFOCijSHKg 504ljf4lxk9MOJk5Guhq1DoPKp5Np/YkaMHbO6bEXUedy05CCUfOFqr418FyEFCSqHLo+lkRdcg GyPFUc4QsGfwScHmD+OIk/WKAZMPJmdHcAaXcfplxKBgZwQ9JzQLKvjjjvlcobhU9sj/KExY= X-Google-Smtp-Source: AGHT+IGNyC7n0HZ2mnrpA0V8wW44j9loabMUuCWUaD0k8QyQ5SRJal2Vct9gyTwozk6cEjxyfbT6+w== X-Received: by 2002:a05:6e02:4818:b0:3e3:ef43:f071 with SMTP id e9e14a558f8ab-3e416192f2amr50685425ab.13.1754150673371; Sat, 02 Aug 2025 09:04:33 -0700 (PDT) Received: from smtpclient.apple (c-67-167-5-111.hsd1.il.comcast.net. [67.167.5.111]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-50a64d441e8sm1563005173.15.2025.08.02.09.04.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Aug 2025 09:04:33 -0700 (PDT) From: Sean Devlin Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_BF9397A8-F6FE-40B2-9D5A-50F5B5C11D0D" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message Date: Sat, 2 Aug 2025 11:04:22 -0500 In-Reply-To: To: Eli Zaretskii References: <8634aateq3.fsf@gnu.org> X-Mailer: Apple Mail (2.3826.700.81) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79143 Cc: Christopher Howard , 79143@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 (-) --Apple-Mail=_BF9397A8-F6FE-40B2-9D5A-50F5B5C11D0D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 2, 2025, at 9:51=E2=80=AFAM, Sean Devlin = wrote: >=20 >>=20 >> On Aug 2, 2025, at 1:33=E2=80=AFAM, Eli Zaretskii = wrote: >>=20 >>> From: Sean Devlin >>> Date: Fri, 1 Aug 2025 17:15:36 -0500 >>>=20 >>> This is a patch adding a new user option to suppress Calc=E2=80=99s = startup >>> message. >>>=20 >>> By default, Calc prints a message like this during startup: >>>=20 >>> "Welcome to the GNU Emacs Calculator! Press ? or M-x = calc-help-prefix >>> for help, q to quit" >>>=20 >>> I find this a bit distracting, so I=E2=80=99d like to be able to = silence it. The >>> attached patch adds an option to allow this along with a small test >>> harness and documentation in the NEWS file. >>>=20 >>> Please let me know if any changes are needed to the patch. >>=20 >> Thanks. >>=20 >> Christopher, any comments? (I hope you don't mind being involved in >> maintenance of Calc by way of reviewing patches of others.) >>=20 >>> =46rom 1ad1f17b6c9326ffc009c6de5c5f2b9929014f52 Mon Sep 17 00:00:00 = 2001 >>> From: Sean Devlin >>> Date: Fri, 1 Aug 2025 17:05:48 -0500 >>> Subject: [PATCH] New user option to inhibit Calc startup message >>> MIME-Version: 1.0 >>> Content-Type: text/plain; charset=3DUTF-8 >>> Content-Transfer-Encoding: 8bit >>>=20 >>> * etc/NEWS: Document the new option. >>> * lisp/calc/calc.el (calc-inhibit-startup-message): New option to >>> inhibit Calc=E2=80=99s startup message. >>> (calc): Respect the option in Calc=E2=80=99s startup code. >>> * test/lisp/calc/calc-tests.el (ert): Require ert-x for >>> 'ert-with-message-capture'. >>> (calc-inhibit-startup-message): Test the new user option. >>=20 >> Should this new option be in the Calc manual as well? If you agree >> and send an updated patch for that, then please (a) mention the bug >> number in the commit log message, and (b) mark the NEWS entry as >> "+++", to indicate that the relevant manuals have been updated. >=20 > Hi Eli, >=20 > I=E2=80=99ve taken a stab at this. Please see the attached patch, and = let me know if the > language or formatting need any revision. >=20 > Thanks! >=20 > <0001-Add-user-option-to-inhibit-Calc-startup-message.patch> Wait, try this one instead. I had forgotten to add the =E2=80=9C+++=E2=80=9D= and amend the commit log. =EF=BF=BC >>=20 >>> --- >>> etc/NEWS | 4 ++++ >>> lisp/calc/calc.el | 21 ++++++++++++++------- >>> test/lisp/calc/calc-tests.el | 15 +++++++++++++++ >>> 3 files changed, 33 insertions(+), 7 deletions(-) >>>=20 >>> diff --git a/etc/NEWS b/etc/NEWS >>> index f4e64c0851f..aa1936fe7fc 100644 >>> --- a/etc/NEWS >>> +++ b/etc/NEWS >>> @@ -2305,6 +2305,10 @@ Latin-1 range 0-255. This hard-coded maximum = is replaced by >>> the display of matching vectors as Unicode strings. The default = value >>> is 0xFF or 255 to preserve the existing behavior. >>>=20 >>> +*** New user option 'calc-inhibit-startup-message'. >>> +If it is non-nil, inhibit Calc from printing its startup message. = The >>> +default value is nil to preserve the existing behavior. >>> + >>> ** Time >>>=20 >>> *** New user option 'world-clock-sort-order'. >>> diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el >>> index a350419b320..d4fb8776c6c 100644 >>> --- a/lisp/calc/calc.el >>> +++ b/lisp/calc/calc.el >>> @@ -1473,6 +1473,11 @@ calc-create-buffer >>> (require 'calc-ext) >>> (calc-set-language calc-language calc-language-option t))) >>>=20 >>> +(defcustom calc-inhibit-startup-message nil >>> + "If non-nil, inhibit the Calc startup message." >>> + :version "31.1" >>> + :type 'boolean) >>> + >>> (defcustom calc-make-windows-dedicated nil >>> "If non-nil, windows displaying Calc buffers will be marked = dedicated. >>> See `window-dedicated-p' for what that means." >>> @@ -1524,9 +1529,10 @@ calc >>> (with-current-buffer (calc-trail-buffer) >>> (and calc-display-trail >>> (calc-trail-display 1 t))) >>> - (message (substitute-command-keys >>> - (concat "Welcome to the GNU Emacs Calculator! = \\" >>> - "Press \\[calc-help] or = \\[calc-help-prefix] for help, \\[calc-quit] to quit"))) >>> + (unless calc-inhibit-startup-message >>> + (message (substitute-command-keys >>> + (concat "Welcome to the GNU Emacs Calculator! = \\" >>> + "Press \\[calc-help] or = \\[calc-help-prefix] for help, \\[calc-quit] to quit")))) >>> (run-hooks 'calc-start-hook) >>> (and (windowp full-display) >>> (window-point full-display) >>> @@ -1534,10 +1540,11 @@ calc >>> (and calc-make-windows-dedicated >>> (set-window-dedicated-p nil t)) >>> (calc-check-defines) >>> - (when (and calc-said-hello interactive) >>> - (sit-for 2) >>> - (message "")) >>> - (setq calc-said-hello t))))) >>> + (unless calc-inhibit-startup-message >>> + (when (and calc-said-hello interactive) >>> + (sit-for 2) >>> + (message "")) >>> + (setq calc-said-hello t)))))) >>>=20 >>> ;;;###autoload >>> (defun full-calc (&optional interactive) >>> diff --git a/test/lisp/calc/calc-tests.el = b/test/lisp/calc/calc-tests.el >>> index 2fd6a6be45e..49762e146a5 100644 >>> --- a/test/lisp/calc/calc-tests.el >>> +++ b/test/lisp/calc/calc-tests.el >>> @@ -26,6 +26,7 @@ >>>=20 >>> (require 'cl-lib) >>> (require 'ert) >>> +(require 'ert-x) >>> (require 'calc) >>> (require 'calc-ext) >>> (require 'calc-units) >>> @@ -946,5 +947,19 @@ calc-math-vector-is-string >>> (should-error (math-vector-is-string cplx-vec) >>> :type 'wrong-type-argument)))) >>>=20 >>> +(ert-deftest calc-inhibit-startup-message () >>> + "Test user option `calc-inhibit-startup-message'." >>> + (let ((welcome-message "Welcome to the GNU Emacs Calculator!")) >>> + (ert-with-message-capture messages >>> + (let ((calc-inhibit-startup-message t)) >>> + (calc)) >>> + (should-not (string-match-p welcome-message messages)) >>> + (calc-quit)) >>> + (ert-with-message-capture messages >>> + (let ((calc-inhibit-startup-message nil)) >>> + (calc)) >>> + (should (string-match-p welcome-message messages)) >>> + (calc-quit)))) >>> + >>> (provide 'calc-tests) >>> ;;; calc-tests.el ends here >>> --=20 >>> 2.39.5 (Apple Git-154) --Apple-Mail=_BF9397A8-F6FE-40B2-9D5A-50F5B5C11D0D Content-Type: multipart/mixed; boundary="Apple-Mail=_1B1D0CA5-1DC6-427B-BA10-08EF5D0D0AE2" --Apple-Mail=_1B1D0CA5-1DC6-427B-BA10-08EF5D0D0AE2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Aug 2, 2025, at 9:51=E2=80=AFAM, Sean Devlin = <spd@toadstyle.org> wrote:


On Aug = 2, 2025, at 1:33=E2=80=AFAM, Eli Zaretskii <eliz@gnu.org> = wrote:

From: Sean Devlin = <spd@toadstyle.org>
Date: Fri, 1 Aug 2025 17:15:36 = -0500

This is a patch adding a new user option to suppress = Calc=E2=80=99s startup
message.

By default, Calc prints a = message like this during startup:

"Welcome to the GNU Emacs = Calculator!  Press ? or M-x calc-help-prefix
for help, q to = quit"

I find this a bit distracting, so I=E2=80=99d like to be = able to silence it. The
attached patch adds an option to allow this = along with a small test
harness and documentation in the NEWS = file.

Please let me know if any changes are needed to the = patch.

Thanks.

Christopher, any comments? =  (I hope you don't mind being involved in
maintenance of Calc by = way of reviewing patches of others.)

=46r= om 1ad1f17b6c9326ffc009c6de5c5f2b9929014f52 Mon Sep 17 00:00:00 = 2001
From: Sean Devlin <spd@toadstyle.org>
Date: Fri, 1 Aug = 2025 17:05:48 -0500
Subject: [PATCH] New user option to inhibit Calc = startup message
MIME-Version: 1.0
Content-Type: text/plain; = charset=3DUTF-8
Content-Transfer-Encoding: 8bit

* etc/NEWS: = Document the new option.
* lisp/calc/calc.el = (calc-inhibit-startup-message): New option to
inhibit Calc=E2=80=99s = startup message.
(calc): Respect the option in Calc=E2=80=99s startup = code.
* test/lisp/calc/calc-tests.el (ert): Require ert-x = for
'ert-with-message-capture'.
(calc-inhibit-startup-message): = Test the new user option.

Should this new option be = in the Calc manual as well?  If you agree
and send an updated = patch for that, then please (a) mention the bug
number in the commit = log message, and (b) mark the NEWS entry as
"+++", to indicate that = the relevant manuals have been updated.

Hi Eli,

I=E2=80=99= ve taken a stab at this. Please see the attached patch, and let me know = if the
language or formatting = need any revision.

Thanks!

<0001-Add-user-option-t= o-inhibit-Calc-startup-message.patch>

Wait, try = this one instead. I had forgotten to add the =E2=80=9C+++=E2=80=9D and = amend the commit = log.

= --Apple-Mail=_1B1D0CA5-1DC6-427B-BA10-08EF5D0D0AE2 Content-Disposition: attachment; filename=0001-Add-user-option-to-inhibit-Calc-startup-message-bug-.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Add-user-option-to-inhibit-Calc-startup-message-bug-.patch" Content-Transfer-Encoding: quoted-printable =46rom=2035707bfc7f96a0bc91fcdac9b992c55793939284=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Sean=20Devlin=20=0ADate:=20= Sat,=202=20Aug=202025=2009:47:14=20-0500=0ASubject:=20[PATCH]=20Add=20= user=20option=20to=20inhibit=20Calc=20startup=20message=20(bug#79143)=0A= MIME-Version:=201.0=0AContent-Type:=20text/plain;=20charset=3DUTF-8=0A= Content-Transfer-Encoding:=208bit=0A=0A*=20doc/misc/calc.texi=20= (Customizing=20Calc):=20Document=20the=20new=20option.=0A*=20etc/NEWS:=20= Document=20the=20new=20option.=0A*=20lisp/calc/calc.el=20= (calc-inhibit-startup-message):=20New=20option=20to=0Ainhibit=20Calc=E2=80= =99s=20startup=20message.=0A(calc):=20Respect=20the=20option=20in=20= Calc=E2=80=99s=20startup=20code.=0A*=20test/lisp/calc/calc-tests.el=20= (ert):=20Require=20ert-x=20for=0A'ert-with-message-capture'.=0A= (calc-inhibit-startup-message):=20Test=20the=20new=20user=20option.=0A= ---=0A=20doc/misc/calc.texi=20=20=20=20=20=20=20=20=20=20=20|=20=208=20= ++++++++=0A=20etc/NEWS=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20|=20=205=20+++++=0A=20lisp/calc/calc.el=20=20=20=20=20=20=20=20= =20=20=20=20|=2021=20++++++++++++++-------=0A=20= test/lisp/calc/calc-tests.el=20|=2015=20+++++++++++++++=0A=204=20files=20= changed,=2042=20insertions(+),=207=20deletions(-)=0A=0Adiff=20--git=20= a/doc/misc/calc.texi=20b/doc/misc/calc.texi=0Aindex=20= eda442ecb38..9b7cdd8b37f=20100644=0A---=20a/doc/misc/calc.texi=0A+++=20= b/doc/misc/calc.texi=0A@@=20-35714,6=20+35714,14=20@@=20Customizing=20= Calc=0A=20or=20255.=0A=20@end=20defvar=0A=20=0A+@defvar=20= calc-inhibit-startup-message=0A+The=20variable=20= @code{calc-inhibit-startup-message}=20controls=20display=20of=20a=0A= +welcome=20message=20when=20starting=20Calc.=20=20If=20it=20is=20= @code{nil}=20(the=20default),=0A+Calc=20will=20print=20a=20brief=20= message=20listing=20key=20bindings=20to=20get=20help=20or=20to=0A+quit.=20= =20If=20it=20is=20non-@code{nil},=20Calc=20will=20start=20without=20= printing=0A+anything.=0A+@end=20defvar=0A+=0A=20@node=20Reporting=20Bugs=0A= =20@appendix=20Reporting=20Bugs=0A=20=0Adiff=20--git=20a/etc/NEWS=20= b/etc/NEWS=0Aindex=20f4e64c0851f..86ffaee5062=20100644=0A---=20= a/etc/NEWS=0A+++=20b/etc/NEWS=0A@@=20-2305,6=20+2305,11=20@@=20Latin-1=20= range=200-255.=20=20This=20hard-coded=20maximum=20is=20replaced=20by=0A=20= the=20display=20of=20matching=20vectors=20as=20Unicode=20strings.=20=20= The=20default=20value=0A=20is=200xFF=20or=20255=20to=20preserve=20the=20= existing=20behavior.=0A=20=0A++++=0A+***=20New=20user=20option=20= 'calc-inhibit-startup-message'.=0A+If=20it=20is=20non-nil,=20inhibit=20= Calc=20from=20printing=20its=20startup=20message.=20=20The=0A+default=20= value=20is=20nil=20to=20preserve=20the=20existing=20behavior.=0A+=0A=20= **=20Time=0A=20=0A=20***=20New=20user=20option=20= 'world-clock-sort-order'.=0Adiff=20--git=20a/lisp/calc/calc.el=20= b/lisp/calc/calc.el=0Aindex=20a350419b320..d4fb8776c6c=20100644=0A---=20= a/lisp/calc/calc.el=0A+++=20b/lisp/calc/calc.el=0A@@=20-1473,6=20= +1473,11=20@@=20calc-create-buffer=0A=20=20=20=20=20(require=20= 'calc-ext)=0A=20=20=20=20=20(calc-set-language=20calc-language=20= calc-language-option=20t)))=0A=20=0A+(defcustom=20= calc-inhibit-startup-message=20nil=0A+=20=20"If=20non-nil,=20inhibit=20= the=20Calc=20startup=20message."=0A+=20=20:version=20"31.1"=0A+=20=20= :type=20'boolean)=0A+=0A=20(defcustom=20calc-make-windows-dedicated=20= nil=0A=20=20=20"If=20non-nil,=20windows=20displaying=20Calc=20buffers=20= will=20be=20marked=20dedicated.=0A=20See=20`window-dedicated-p'=20for=20= what=20that=20means."=0A@@=20-1524,9=20+1529,10=20@@=20calc=0A=20=20=20=20= =20=20=20=20=20(with-current-buffer=20(calc-trail-buffer)=0A=20=20=20=20=20= =20=20=20=20=20=20(and=20calc-display-trail=0A=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20(calc-trail-display=201=20t)))=0A-=20=20=20=20=20=20= =20=20(message=20(substitute-command-keys=0A-=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(concat=20"Welcome=20to=20the=20GNU=20Emacs=20= Calculator!=20=20\\"=0A-=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20"Press=20\\[calc-help]=20or=20= \\[calc-help-prefix]=20for=20help,=20\\[calc-quit]=20to=20quit")))=0A+=20= =20=20=20=20=20=20=20(unless=20calc-inhibit-startup-message=0A+=20=20=20=20= =20=20=20=20=20=20(message=20(substitute-command-keys=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(concat=20"Welcome=20to=20the=20= GNU=20Emacs=20Calculator!=20=20\\"=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20"Press=20= \\[calc-help]=20or=20\\[calc-help-prefix]=20for=20help,=20\\[calc-quit]=20= to=20quit"))))=0A=20=20=20=20=20=20=20=20=20(run-hooks=20= 'calc-start-hook)=0A=20=20=20=20=20=20=20=20=20(and=20(windowp=20= full-display)=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20(window-point=20= full-display)=0A@@=20-1534,10=20+1540,11=20@@=20calc=0A=20=20=20=20=20=20= =20=20=20(and=20calc-make-windows-dedicated=0A=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(set-window-dedicated-p=20nil=20t))=0A=20=20=20=20=20=20=20= =20=20(calc-check-defines)=0A-=20=20=20=20=20=20=20=20(when=20(and=20= calc-said-hello=20interactive)=0A-=20=20=20=20=20=20=20=20=20=20(sit-for=20= 2)=0A-=20=20=20=20=20=20=20=20=20=20(message=20""))=0A-=20=20=20=20=20=20= =20=20(setq=20calc-said-hello=20t)))))=0A+=20=20=20=20=20=20=20=20= (unless=20calc-inhibit-startup-message=0A+=20=20=20=20=20=20=20=20=20=20= (when=20(and=20calc-said-hello=20interactive)=0A+=20=20=20=20=20=20=20=20= =20=20=20=20(sit-for=202)=0A+=20=20=20=20=20=20=20=20=20=20=20=20= (message=20""))=0A+=20=20=20=20=20=20=20=20=20=20(setq=20calc-said-hello=20= t))))))=0A=20=0A=20;;;###autoload=0A=20(defun=20full-calc=20(&optional=20= interactive)=0Adiff=20--git=20a/test/lisp/calc/calc-tests.el=20= b/test/lisp/calc/calc-tests.el=0Aindex=202fd6a6be45e..49762e146a5=20= 100644=0A---=20a/test/lisp/calc/calc-tests.el=0A+++=20= b/test/lisp/calc/calc-tests.el=0A@@=20-26,6=20+26,7=20@@=0A=20=0A=20= (require=20'cl-lib)=0A=20(require=20'ert)=0A+(require=20'ert-x)=0A=20= (require=20'calc)=0A=20(require=20'calc-ext)=0A=20(require=20= 'calc-units)=0A@@=20-946,5=20+947,19=20@@=20calc-math-vector-is-string=0A= =20=20=20=20=20=20=20(should-error=20(math-vector-is-string=20cplx-vec)=0A= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20:type=20= 'wrong-type-argument))))=0A=20=0A+(ert-deftest=20= calc-inhibit-startup-message=20()=0A+=20=20"Test=20user=20option=20= `calc-inhibit-startup-message'."=0A+=20=20(let=20((welcome-message=20= "Welcome=20to=20the=20GNU=20Emacs=20Calculator!"))=0A+=20=20=20=20= (ert-with-message-capture=20messages=0A+=20=20=20=20=20=20(let=20= ((calc-inhibit-startup-message=20t))=0A+=20=20=20=20=20=20=20=20(calc))=0A= +=20=20=20=20=20=20(should-not=20(string-match-p=20welcome-message=20= messages))=0A+=20=20=20=20=20=20(calc-quit))=0A+=20=20=20=20= (ert-with-message-capture=20messages=0A+=20=20=20=20=20=20(let=20= ((calc-inhibit-startup-message=20nil))=0A+=20=20=20=20=20=20=20=20= (calc))=0A+=20=20=20=20=20=20(should=20(string-match-p=20welcome-message=20= messages))=0A+=20=20=20=20=20=20(calc-quit))))=0A+=0A=20(provide=20= 'calc-tests)=0A=20;;;=20calc-tests.el=20ends=20here=0A--=20=0A2.39.5=20= (Apple=20Git-154)=0A=0A= --Apple-Mail=_1B1D0CA5-1DC6-427B-BA10-08EF5D0D0AE2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii


---
etc/NEWS =             &n= bsp;       |  4 = ++++
lisp/calc/calc.el =            | 21 = ++++++++++++++-------
test/lisp/calc/calc-tests.el | 15 = +++++++++++++++
3 files changed, 33 insertions(+), 7 = deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index = f4e64c0851f..aa1936fe7fc 100644
--- a/etc/NEWS
+++ = b/etc/NEWS
@@ -2305,6 +2305,10 @@ Latin-1 range 0-255.  This = hard-coded maximum is replaced by
the display of matching vectors as = Unicode strings.  The default value
is 0xFF or 255 to preserve = the existing behavior.

+*** New user option = 'calc-inhibit-startup-message'.
+If it is non-nil, inhibit Calc from = printing its startup message.  The
+default value is nil to = preserve the existing behavior.
+
** Time

*** New user = option 'world-clock-sort-order'.
diff --git a/lisp/calc/calc.el = b/lisp/calc/calc.el
index a350419b320..d4fb8776c6c 100644
--- = a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -1473,6 +1473,11 @@ = calc-create-buffer
   (require = 'calc-ext)
   (calc-set-language calc-language = calc-language-option t)))

+(defcustom = calc-inhibit-startup-message nil
+  "If non-nil, inhibit the = Calc startup message."
+  :version "31.1"
+  :type = 'boolean)
+
(defcustom calc-make-windows-dedicated = nil
 "If non-nil, windows displaying Calc buffers will be marked = dedicated.
See `window-dedicated-p' for what that means."
@@ = -1524,9 +1529,10 @@ = calc
       (with-current-buffer = (calc-trail-buffer)
        &nb= sp;(and = calc-display-trail
        &nbs= p;     (calc-trail-display 1 t)))
- =        (message = (substitute-command-keys
- =             &n= bsp;    (concat "Welcome to the GNU Emacs = Calculator!  \\<calc-mode-map>"
- =             &n= bsp;           &nbs= p;"Press \\[calc-help] or \\[calc-help-prefix] for help, \\[calc-quit] = to quit")))
+        (unless = calc-inhibit-startup-message
+ =          (message = (substitute-command-keys
+ =             &n= bsp;      (concat "Welcome to the GNU = Emacs Calculator!  \\<calc-mode-map>"
+ =             &n= bsp;           &nbs= p;  "Press \\[calc-help] or \\[calc-help-prefix] for help, = \\[calc-quit] to = quit"))))
       (run-hooks = 'calc-start-hook)
       (and = (windowp = full-display)
         &nb= sp;  (window-point full-display)
@@ -1534,10 +1540,11 @@ = calc
       (and = calc-make-windows-dedicated
       &= nbsp;    (set-window-dedicated-p nil = t))
       (calc-check-defines)
-=        (when (and calc-said-hello = interactive)
- =          (sit-for 2)
- =          (message ""))
- =        (setq calc-said-hello = t)))))
+        (unless = calc-inhibit-startup-message
+ =          (when (and = calc-said-hello interactive)
+ =            (sit-for= 2)
+ =            (message= ""))
+          (setq = calc-said-hello t))))))

;;;###autoload
(defun full-calc = (&optional interactive)
diff --git a/test/lisp/calc/calc-tests.el = b/test/lisp/calc/calc-tests.el
index 2fd6a6be45e..49762e146a5 = 100644
--- a/test/lisp/calc/calc-tests.el
+++ = b/test/lisp/calc/calc-tests.el
@@ -26,6 +26,7 @@

(require = 'cl-lib)
(require 'ert)
+(require 'ert-x)
(require = 'calc)
(require 'calc-ext)
(require 'calc-units)
@@ -946,5 = +947,19 @@ = calc-math-vector-is-string
     (should-error = (math-vector-is-string = cplx-vec)
          &= nbsp;        :type = 'wrong-type-argument))))

+(ert-deftest = calc-inhibit-startup-message ()
+  "Test user option = `calc-inhibit-startup-message'."
+  (let ((welcome-message = "Welcome to the GNU Emacs Calculator!"))
+ =    (ert-with-message-capture messages
+ =      (let ((calc-inhibit-startup-message = t))
+        (calc))
+ =      (should-not (string-match-p = welcome-message messages))
+ =      (calc-quit))
+ =    (ert-with-message-capture messages
+ =      (let ((calc-inhibit-startup-message = nil))
+        (calc))
+ =      (should (string-match-p welcome-message = messages))
+ =      (calc-quit))))
+
(provide = 'calc-tests)
;;; calc-tests.el ends here
-- 
2.39.5 (Apple = Git-154)

= --Apple-Mail=_1B1D0CA5-1DC6-427B-BA10-08EF5D0D0AE2-- --Apple-Mail=_BF9397A8-F6FE-40B2-9D5A-50F5B5C11D0D-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 02 21:56:36 2025 Received: (at 79143) by debbugs.gnu.org; 3 Aug 2025 01:56:36 +0000 Received: from localhost ([127.0.0.1]:39983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uiNxk-00010t-ET for submit@debbugs.gnu.org; Sat, 02 Aug 2025 21:56:36 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:35894) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uiNxi-00010Y-Vz for 79143@debbugs.gnu.org; Sat, 02 Aug 2025 21:56:35 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id A4EB920B2765; Sun, 3 Aug 2025 03:56:28 +0200 (CEST) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass reason="pass (just generated, assumed good)" header.d=librehacker.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=librehacker.com; h=content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received; s=dkim2; t=1754186188; x=1756000589; bh=tSHu Z4LC4oRDhlG6PSQpurAr6ox2axvJyyOOhNmWC6w=; b=cqwpdGRU0cDQzutu7BJW RrFjkc6h7Jq9Gq0GAX/g7jd16KJds1fw4ksTOX1kvnqL/xJXZqxtxlhS+E/TLHz+ ryuLCdlHmbdCxt1OKBYs/f21hEAKrAgmJWIaflmw+z7LZCoxm3wrVr3Y9e2zT05k wmN7KcuXw029BEJ5UPhevRXI31nc5VT/bnCHMq6lBBXBJyARV3q8Gp4jyPazRAea AXTd4FwlvoKR4k45LaJ25KUWgzmeMXaMn2M/W16DdYDAZDRbY8Xiotj6IhuRrsnO h7IaRa+UciWezx0L7neHTzKcw4uc92ea04jfzlqxzpfsiDSOcIp8f5OjKgbogRS3 tw== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-10 required=5 tests=[none] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id eeHe_CEizVzy; Sun, 3 Aug 2025 03:56:28 +0200 (CEST) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id ED3F920B2761; Sun, 3 Aug 2025 03:56:27 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 83325323EF37; Sun, 3 Aug 2025 03:56:27 +0200 (CEST) From: Christopher Howard To: Eli Zaretskii Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message In-Reply-To: <8634aateq3.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 02 Aug 2025 09:33:24 +0300") References: <8634aateq3.fsf@gnu.org> Date: Sat, 02 Aug 2025 17:56:23 -0800 Message-ID: <87h5yp9ni0.fsf@librehacker.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79143 Cc: Sean Devlin , 79143@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 (-) > Christopher, any comments? (I hope you don't mind being involved in > maintenance of Calc by way of reviewing patches of others.) The basic idea seems straightforward enough. Just glancing over the patch quickly, I wonder what significance that calc-said-hello variable has and if we are handling that logic for that correctly. But I haven't looked at the larger context. -- Christopher Howard From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 03 11:41:52 2025 Received: (at 79143) by debbugs.gnu.org; 3 Aug 2025 15:41:53 +0000 Received: from localhost ([127.0.0.1]:45254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uiaqO-0007vt-FE for submit@debbugs.gnu.org; Sun, 03 Aug 2025 11:41:52 -0400 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]:52620) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uiaqL-0007ve-Gq for 79143@debbugs.gnu.org; Sun, 03 Aug 2025 11:41:50 -0400 Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-3e3fcf5b150so28341365ab.1 for <79143@debbugs.gnu.org>; Sun, 03 Aug 2025 08:41:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1754235703; x=1754840503; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=EmPzIWc891vQf8rRMV1s0sM0o0oSHNXPEaK+X+1l3AQ=; b=EwoXTE8zCNcn8oKh8HhLCOeeWv9FYiZD11rXlpaQQMT8Nk3Q3iDiFgCT11sEdpL2g4 +4M30XPml7HRxpX8T9bX6j3iFGA/NfAlM435QWlHzlg/TbLElch+TmCLb0HJSdaPI3sG TXprwEqD9WkZNazm01qR1tGEtJLyMd15SGh7IbB/lSPTbzoCbwrGioQVmXrs/7pxNKkM UupNp3moDD1S0RBXZ9QCkrHQS7alECJ9zC81Za9oSiYD7CE3HV8FNm0fOf5OFrJk3zrE LWwcfu2uXfh3Ho36ASSaHxueAIIZzmG4MihHhqN7qNBXLEOZC3u2qLN3ao0zw9dNDIC7 9l9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754235703; x=1754840503; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EmPzIWc891vQf8rRMV1s0sM0o0oSHNXPEaK+X+1l3AQ=; b=Q09N/JPrU8y5vP0spCxZdFS3ZHeCKgdIJq36wu10jeIoNwJKnVQ2Y7rVtN91h8oGiq d0WatAbjRW1l7ttvLhJh6wEa7uCb10d+YADbuZueueaorFi4Lkm4I/KJPmQB5KsFweD9 A8n9PixI+naGVr5YRPXw2onH/2K2+S08UGaEqC6JbjmiF/wOSMODhRiLtdPGK5YW9uY+ Lw6vnt9siM2Tva6b1oXbngrXFQ9B46ir1g+pSkwxX8L9pVgq6b12RP5sBNgj5t1mURvE Ex2K+wrJn1gLBPSXrb+xEB+wyyWZ7437+v1QruRc92tnz4swPWD7Qek4G9c+5/A1TncM P4xw== X-Forwarded-Encrypted: i=1; AJvYcCUw/5vP9Jgk/f0QhBTozPuXJHeeEnLOgp9M46ky7FkL1/nOH3mGG+RquzODhwFyW1Af8mIEUw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxlZazwd26FJazoLST2JULQbFgnQg69GADbHWiieNf6XJV+u7/1 /enBXey4OLZgPgtvzrHyemG+5S4lUvvA3NsE0UnVM7mGvjKknxpfcSJA6p9R9WUj5m4= X-Gm-Gg: ASbGncusoth9/anOdFYujIsNg6JT2oEuWCkrFEYu7jjBkCE0Exf+W87RQ+3QNsffdGw GZiXUxJ5dtOImEeaLxoOf1qeqBLWld/k1N7OYBrzO6uSYFf6bXzpmhBWkNorhVLHCXYJv/OaBcF zDYGpFXvmouVRTxgkkhvy/8BkTsHe1FN1rscU3klgpejPezmz6boCZ1sMqwVeOL3nFEG2yd7PaG 7h3FJrwlwUg0AYM41tRieFOPsl10LkJhAJjdXfx8IxMFZwvqPMHOMpP/PzBvFpQd7VXcJhHg5vn V6z6lrAZ/DxYaDYaOYF2jPQU7f2qZ3/wLDbe38Nm1Se4wN66hkYitWnENj93V750ucblwJX2oIA 0yeG4Thov5wG2DC5iPLC//GR1xGgVrzyLaWwDyNuBp5YFC5mXsPqmCuiesOkBuYOb6lMYYn4= X-Google-Smtp-Source: AGHT+IE+/kys4CHgCrstyolA+eyYr3Y/42s95C1owvbTCKec8Ss5hG08CPWnvxs5+FQoeopHLHtUig== X-Received: by 2002:a05:6e02:1808:b0:3e2:9e8b:b64 with SMTP id e9e14a558f8ab-3e416099873mr113358005ab.0.1754235703426; Sun, 03 Aug 2025 08:41:43 -0700 (PDT) Received: from smtpclient.apple (c-67-167-5-111.hsd1.il.comcast.net. [67.167.5.111]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3e402afd79asm33430825ab.41.2025.08.03.08.41.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Aug 2025 08:41:42 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message From: Sean Devlin In-Reply-To: <87h5yp9ni0.fsf@librehacker.com> Date: Sun, 3 Aug 2025 10:41:32 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <02577AC4-844E-4681-BB5F-FBF91DDF3406@toadstyle.org> References: <8634aateq3.fsf@gnu.org> <87h5yp9ni0.fsf@librehacker.com> To: Christopher Howard X-Mailer: Apple Mail (2.3826.700.81) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79143 Cc: Eli Zaretskii , 79143@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 (-) > On Aug 2, 2025, at 8:56=E2=80=AFPM, Christopher Howard = wrote: >=20 >> Christopher, any comments? (I hope you don't mind being involved in >> maintenance of Calc by way of reviewing patches of others.) >=20 > The basic idea seems straightforward enough. Just glancing over the = patch quickly, I wonder what significance that calc-said-hello variable = has and if we are handling that logic for that correctly. But I haven't = looked at the larger context. >=20 Hi Christopher, I investigated this a little while I was developing the change. Calc-said-hello is a defvar (as opposed to defcustom or defcalcmodevar) = with this doc string: =E2=80=9CNon-nil if the welcome message has been displayed.=E2=80=9D It=E2=80=99s referenced only in the calc defun at the end: (message (substitute-command-keys (concat "Welcome to the GNU Emacs Calculator! = \\" "Press \\[calc-help] or \\[calc-help-prefix] = for help, \\[calc-quit] to quit"))) ... (when (and calc-said-hello interactive) (sit-for 2) (message "")) (setq calc-said-hello t) Basically, the first time we run M-x calc, the welcome message stays = there until the user does something. On subsequent uses of M-x calc = (within the same Emacs session), we clear the welcome message after two = seconds or when the user does something, whichever comes first. I think my patch makes sense with respect to managing this variable. If = calc-inhibit-startup-message is set, we avoid setting this flag, since = Calc hasn=E2=80=99t =E2=80=9Csaid hello=E2=80=9D yet. If the user then = clears calc-inhibit-startup-message, the next invocation of M-x calc = will be the first time the welcome message appears, so presumably we = want it to stay there until the user does something and give them time = to read it. What do you think? Cheers. > --=20 > Christopher Howard From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 04 00:39:44 2025 Received: (at 79143) by debbugs.gnu.org; 4 Aug 2025 04:39:44 +0000 Received: from localhost ([127.0.0.1]:48053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uimzA-0004A1-6Y for submit@debbugs.gnu.org; Mon, 04 Aug 2025 00:39:44 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:42408) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uimz6-00049i-OE for 79143@debbugs.gnu.org; Mon, 04 Aug 2025 00:39:42 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id BE2F830000A9; Mon, 4 Aug 2025 06:39:34 +0200 (CEST) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass reason="pass (just generated, assumed good)" header.d=librehacker.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=librehacker.com; h=content-transfer-encoding:content-type:content-type :mime-version:message-id:date:date:references:in-reply-to :subject:subject:from:from:received:received:received; s=dkim2; t=1754282374; x=1756096775; bh=1l08lTdjbWbYYNhnsZoUAi9S/XxYAVCW 6IAD+PkcABY=; b=bq3A95LJg72oXr+cO7LP9TFBv/VhTlAtAi5AXS/OQAcGF2i7 R43kwp7cmvRAEiYpnhjyDDPKXCa6C2MhFT9pl/7tHlCFSNWW4BtlAPEKrKKFxqM7 rtMG9BA+R0E98uWGaaa4YCBXvhfi9Fr63dWnMpwlu1OiVp7OC6h4E4y4Esut8ihq DpT+LDDLqowOFBEQnpcS5tbLU664agCtZnVK3f/Xz6DTn2KU06Cvlo3WDrvBuqrb n1+vhB9WtF5cVf0/k0xcuyVRlonaWjpHao6XlhpYZ6PlOLbC1O+MNBhae2wJcqfP GqLgcCQGmexbR1nefDzMc2MvRyf8z3btB9ctgQ== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-10 required=5 tests=[none] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id hUbabu_d1e0a; Mon, 4 Aug 2025 06:39:34 +0200 (CEST) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 2601130004D9; Mon, 4 Aug 2025 06:39:33 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id A5CF6323EF3F; Mon, 4 Aug 2025 06:39:33 +0200 (CEST) From: Christopher Howard To: Sean Devlin Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message In-Reply-To: <02577AC4-844E-4681-BB5F-FBF91DDF3406@toadstyle.org> (Sean Devlin's message of "Sun, 3 Aug 2025 10:41:32 -0500") References: <8634aateq3.fsf@gnu.org> <87h5yp9ni0.fsf@librehacker.com> <02577AC4-844E-4681-BB5F-FBF91DDF3406@toadstyle.org> Date: Sun, 03 Aug 2025 20:39:29 -0800 Message-ID: <877bzjaef2.fsf@librehacker.com> 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: 79143 Cc: Eli Zaretskii , 79143@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 (-) > I think my patch makes sense with respect to managing this variable. If c= alc-inhibit-startup-message is set, we avoid setting this flag, since Calc = hasn=E2=80=99t =E2=80=9Csaid hello=E2=80=9D yet. If the user then clears ca= lc-inhibit-startup-message, the next invocation of M-x calc will be the fir= st time the welcome message appears, so presumably we want it to stay there= until the user does something and give them time to read it. > > What do you think? Sounds good to me, thanks! --=20 Christopher Howard From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 07 10:03:36 2025 Received: (at 79143) by debbugs.gnu.org; 7 Aug 2025 14:03:36 +0000 Received: from localhost ([127.0.0.1]:35359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uk1DU-0001TT-C9 for submit@debbugs.gnu.org; Thu, 07 Aug 2025 10:03:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33356) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uk1DR-0001TD-Qg for 79143@debbugs.gnu.org; Thu, 07 Aug 2025 10:03:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uk1DK-0002LM-Aq; Thu, 07 Aug 2025 10:03:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=B8sQs7IFLGwrSo6T5qecm+PkGuX6eBalehzptMgIl7s=; b=J5EckQyCjXqat+XeeTXa 4UAJBlS4yzRW8FPTcYFUGm1Owfv1zeNG5AbaS4da1tgoccIc3zPFVm8sxQgTc8GmPIsFNwzyCeAxm qASKG3pLg9+1f3U3R8lColZfToduNvRQgC5cCdaaqoIKpOEGxPYQZLKmKyrZ1GeE+GuPPRC7Jqe81 swvsljmuBu82Pp/89lSxMo1gBLcvfAZkkQe2yQXqyct0Faa6wJZla5w/g/lxc+dsytjuX2Ds9EfIN GKxK069C9uPJ/ZyokYvlskHQG+ECmfxwXaAIT8gS4kTwX24e1NqlU9LZ+MODn72AR5C4f1zTgKzFY GzFPTC4PdrnOfw==; Date: Thu, 07 Aug 2025 17:03:21 +0300 Message-Id: <86zfcbp6ty.fsf@gnu.org> From: Eli Zaretskii To: Sean Devlin In-Reply-To: (message from Sean Devlin on Sat, 2 Aug 2025 11:04:22 -0500) Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message References: <8634aateq3.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79143 Cc: christopher@librehacker.com, 79143@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: -3.3 (---) > From: Sean Devlin > Date: Sat, 2 Aug 2025 11:04:22 -0500 > Cc: Christopher Howard , > 79143@debbugs.gnu.org > > Wait, try this one instead. I had forgotten to add the “+++” and amend the > commit log. This LGTM, but I see that you have no copyright assignment on file, and this patch (and others you posted) exceed the limit of what we can accept without an assignment. Would you like to start your assignment paperwork at this time, so we could accept this and all the other contributions of yours? If yes, I will send you the form to fill and the instructions to go with it. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 07 10:22:07 2025 Received: (at 79143) by debbugs.gnu.org; 7 Aug 2025 14:22:07 +0000 Received: from localhost ([127.0.0.1]:35383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uk1VO-0002NJ-Tl for submit@debbugs.gnu.org; Thu, 07 Aug 2025 10:22:07 -0400 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]:54434) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uk1VL-0002Mh-2Y for 79143@debbugs.gnu.org; Thu, 07 Aug 2025 10:22:05 -0400 Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-8817b8d2d0eso32081439f.0 for <79143@debbugs.gnu.org>; Thu, 07 Aug 2025 07:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1754576517; x=1755181317; darn=debbugs.gnu.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=rg4r7M/3n4ONUvfNE5JXlrbLuvdUCqHbFVfHuobY520=; b=Gnf8Ed84SObOSGwQnMQoAuv140ZsxLeRXG0fni0XMHG2sbdJT9OGYaPC43UhX9w+4V HImAzWyCWkS2oQIVfOCGG/2A5BHNLfatPBO+drd/+vF7rB8thWQkrEWjUvIruZtDhoSm ebARyj4hLWQLFk/V0F3h1SblgeToqknCLHrJSmJWUooXEHjaVrSQeXPacq6AwxQHR3+r R0qnwPdysUOlroYsWEY4pF0dSpvZDRV68cqFfNidLAGWEkcUaKWo17YbbnbXJy2uKqac 0iLKRvMqWCV6flUuzIbGYiMn9/49f2QUGwBwcODblxoUOnQIU09ciFAbmD1SDYtyJfPt w89Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754576517; x=1755181317; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rg4r7M/3n4ONUvfNE5JXlrbLuvdUCqHbFVfHuobY520=; b=ublif8+NKjIlLjDqTgGjUZViCqpWAArSJKz55PSfL75oLMfWhuKfDGwtxljjcOgFcz CNwwls7lumFUtRDeO8VQdRDXPEQ8c0A73qVsZav2sC7JEVpD6piY50dok7/pbRZiFdG4 TA+oJ2YgfVEjVbRsqYI146xnkFE8juKL+nrFSkJl1EOSooKvCfdQr8c1MK1C8ROeTAIp 1a9uqn6s7KIA5cgPxxXH/LI5MafavnXdsltR0b7oKPwbfl8OL8aN7CDQwjakrah+gQjO Azo+NHcnmAEjSZzNSN1MzbkDlQCHVjo4d13RQpsgrPOWUlqCMWCgeKLvJDfpQMumNqWw vEfA== X-Forwarded-Encrypted: i=1; AJvYcCUqymiU9y8twVr4wZaNCgY+vkNnuEAQkGANuKoDsMVW4p6HXLvdAltPkEmwS1pB6IfaW52usg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzRC4MB9zHqcQ+LJ1Mp8d39NyzE1mbXEkLUPxId7rILZBWAc/RM cvBBkpCt8IYz1sDQUYQ0QITXu8ncqat696w7S7lFMO8+Xd3bqs1kckrXFPC/MPiwY2M4+Y0+ZCG ts7yJ X-Gm-Gg: ASbGncsaDhDAMjhriwkGDhdzC+UwT4yGbwFvEw4BMGCn/wOPcVDnC34u6v8GPrHFEjD 3eqhlh4UuxPTu20u4FTs8HGlYQ+F6IvMQhhgjUDnMaEgomwvmRjz2eAIUAcN4HGhV7SRjE2fQW+ z8jYXczCbYyZ0fh++4/KvPk6vKIkqtjAJK/XB0px3eK10jiZ/cSsoSuHBwWy0h58XZEvEhdKQ6e aEiMzeHmpUGLYYLaSRuQvMxTL0XpSm1YAUBTS1yrfYoJMZlt+LbKKwixHBsVeNK55uR9Liqyz7v NV6WbbqNsfvEPKoU4V2x7cyYtbknfevhM+EvPTrNevABq3ynex9BBYUiRPo7H/UbJQ0SyNhayjH aBJttdK6GvVGUNWdrjd+mbjzjJB9NEVhaL2+z/bXs33+xXLedmiUb3pWGMbF9ea2oFLhmAnhKE+ DG1voxTg== X-Google-Smtp-Source: AGHT+IG3YT3HopppFMSH3DXMff0L4QLBWN4oVzb7lqE7Eiae5dqSsMk5fsFTHk7wQ3Efx8WGjU9vDA== X-Received: by 2002:a05:6e02:1a8b:b0:3df:4159:8fe5 with SMTP id e9e14a558f8ab-3e51b87fb56mr110104975ab.4.1754576516718; Thu, 07 Aug 2025 07:21:56 -0700 (PDT) Received: from smtpclient.apple (c-67-167-5-111.hsd1.il.comcast.net. [67.167.5.111]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3e402b10f6dsm71888945ab.45.2025.08.07.07.21.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Aug 2025 07:21:56 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Sean Devlin Mime-Version: 1.0 (1.0) Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message Date: Thu, 7 Aug 2025 09:21:45 -0500 Message-Id: References: <86zfcbp6ty.fsf@gnu.org> In-Reply-To: <86zfcbp6ty.fsf@gnu.org> To: Eli Zaretskii X-Mailer: iPhone Mail (22G86) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79143 Cc: christopher@librehacker.com, 79143@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 (-) > On Aug 7, 2025, at 9:03=E2=80=AFAM, Eli Zaretskii wrote: >=20 > =EF=BB=BF >>=20 >> From: Sean Devlin >> Date: Sat, 2 Aug 2025 11:04:22 -0500 >> Cc: Christopher Howard , >> 79143@debbugs.gnu.org >>=20 >> Wait, try this one instead. I had forgotten to add the =E2=80=9C+++=E2=80= =9D and amend the >> commit log. >=20 > This LGTM, but I see that you have no copyright assignment on file, > and this patch (and others you posted) exceed the limit of what we can > accept without an assignment. Would you like to start your assignment > paperwork at this time, so we could accept this and all the other > contributions of yours? If yes, I will send you the form to fill and > the instructions to go with it. Sure, thanks!= From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 07 10:50:20 2025 Received: (at 79143) by debbugs.gnu.org; 7 Aug 2025 14:50:20 +0000 Received: from localhost ([127.0.0.1]:35460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uk1wh-0003nS-Ph for submit@debbugs.gnu.org; Thu, 07 Aug 2025 10:50:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57752) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uk1we-0003mq-MM for 79143@debbugs.gnu.org; Thu, 07 Aug 2025 10:50:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uk1wY-0002yB-Rm; Thu, 07 Aug 2025 10:50:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=GlCyfT59+gQkDwBTJOv2RyyoRUuAop6XCCvxbCEx7b0=; b=T6aE6USAbtjwDnhzOiPt 3QjH0rmXBMx/ILjjIyx00dLYsuG+YluEuWIOTK48Zao76PGHqKWy+dYXSt8VrX4GfHLc0NH6HMQvh YF0pteLmlbeHzyy2SFTSH7VJ2otIRz4VUDU0WKjsZJmTJHNf2k7Xb4Ack7FJVE2n6YCZ38yg6ZOTS Iv+nn2WirFm9Ciw3FaDAqcT90/h9eOvoECWge7ycizu5Phqs5Rvn6HugSC2bmNQdPfTM8N27i0Gh+ v2qt/vgv0+OQ/0uS59Vj2FweJmOcxOJyFHGU8p3HPWvyghzdow3R6GkmuXEFjHX493XUJlWralDLw 4tdiHpukPcgCFw==; Date: Thu, 07 Aug 2025 17:49:28 +0300 Message-Id: <86ms8bp4p3.fsf@gnu.org> From: Eli Zaretskii To: Sean Devlin In-Reply-To: (message from Sean Devlin on Thu, 7 Aug 2025 09:21:45 -0500) Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message References: <86zfcbp6ty.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79143 Cc: christopher@librehacker.com, 79143@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: -3.3 (---) > From: Sean Devlin > Date: Thu, 7 Aug 2025 09:21:45 -0500 > Cc: christopher@librehacker.com, 79143@debbugs.gnu.org > > > > On Aug 7, 2025, at 9:03 AM, Eli Zaretskii wrote: > > > >  > >> > >> From: Sean Devlin > >> Date: Sat, 2 Aug 2025 11:04:22 -0500 > >> Cc: Christopher Howard , > >> 79143@debbugs.gnu.org > >> > >> Wait, try this one instead. I had forgotten to add the “+++” and amend the > >> commit log. > > > > This LGTM, but I see that you have no copyright assignment on file, > > and this patch (and others you posted) exceed the limit of what we can > > accept without an assignment. Would you like to start your assignment > > paperwork at this time, so we could accept this and all the other > > contributions of yours? If yes, I will send you the form to fill and > > the instructions to go with it. > > Sure, thanks! Thanks, form sent off-list. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 07 12:04:57 2025 Received: (at 79143) by debbugs.gnu.org; 7 Aug 2025 16:04:57 +0000 Received: from localhost ([127.0.0.1]:35607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uk36t-0007SI-R7 for submit@debbugs.gnu.org; Thu, 07 Aug 2025 12:04:56 -0400 Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]:44133) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uk36g-0007Rc-M5 for 79143@debbugs.gnu.org; Thu, 07 Aug 2025 12:04:49 -0400 Received: by mail-il1-x12a.google.com with SMTP id e9e14a558f8ab-3da73df6c4eso8059505ab.0 for <79143@debbugs.gnu.org>; Thu, 07 Aug 2025 09:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1754582676; x=1755187476; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vMI6NEHUtx6VoRdJEoLeLyJdbknWKrkr93xrDI+bgvs=; b=dMbP1pNm24AY1lyQuoD4mF+fh6/Q3o/+fMxw2rfYTtcoF9BqjJflo+7NPLzq0yrmmk Xu9hTiplFJbojbtZlkQ7zziQl8EUxKHj30pbZQKLmLktYMjwEvOuv2wyGHvOxnmpX/me 6ojYX6YYyqYhxla30obYKrXTwEXcPqOc3HqefeG8e23i1yruRs/321P7+LLw3kItgpVi /l62jFb9TkK7xDQMYWFNBNKy+6QiUwAprHfsDliikKuBOJZP5c3IcKyz3YgNDhRtlVQy 4by2UsaoKTst+l06/cd1zOSUJMUij/Cvawl3hntzBE9488BGyeM7dKdM4qYGEch5AJYT ybIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754582676; x=1755187476; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vMI6NEHUtx6VoRdJEoLeLyJdbknWKrkr93xrDI+bgvs=; b=VqBeO2hsim7U5DNzJr1mdJsGQ6nWFrE0iilMfU4tlu7ux/OfAQfluBVZilnAIhaIxz B8xvco4DD6682wpVX6FXZgRkkHCTO42xFbD0iabYTvmw7f+y7r82HZ5AvDKWQRJe4Cnu JxBgE8SI/WhIeVsxX125MwCwEeupLgDdTvDsiYiDFj0ASfPu1YRL/4mhZHkSVnIvugis iqz6N0TI+bnvHiTqWGV8CVHauSQrS2vKgIeme23FNKkQkAgYPIFZC0LmE8fRaKJkpniv PoUlEcixaSR38CWhmgsLAxu/wfGMoudyB1VhzDfWe+9xYkDA9tkE5xH3GBNrOPs/tI+7 HX2Q== X-Forwarded-Encrypted: i=1; AJvYcCUDI45IX2Ly/cdazoSl8/gEDz59nCgRIMhbMxO4R9n+50bQnxYcj+5e3CSY1t01zOETQI72lw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxdxznSX0z5euW9qR5nKBMoa1fy1y/9JWcmU1xKs9fF5H6DWBFT a2ZCGTI290+XXm7tjzyrBk4rvJ4OzQTh1KBgoiMwryUs11Z7cqfLWCznss3/ktwsPjM= X-Gm-Gg: ASbGncvH5r7YhoZJyqGpPvcP+EqrnEtG1vTnSe/owlsFZy/E+4jKLnvmkwSklXDr16/ 4s3KZZkMbxdJlX/BYJ3PeTvWnASaN4kiMLJnFM6q9gv2zjE5aHWSsFZTqa2Jkp136K8v7exOgiW j4YNm4duKztfrkR6mCHPZ+H0lzA0KUtZTz740JXv28GBHkXdAdunYxkKhFE8Hxq40ZEx4osJXTb /QeJlkq/0guZLkqa98l/zoyH6D+mX1JbJqa0LEUyGrN0StVs6CafTT54ZuRVO4LYDOgBAVsg+yS UBM2paq5EO0RA6O2UZ+shtBVTtZe8XwKrDjlhABOCcSkZJgiwgnJzJoY/MFMU22OVy3EU5W9Vft ibPs1AOaywgmM1t0r4d2EL30sMKA7Ja+OaSlKdj20NxWM6k9OljaEzxbnYBWu7EvoH0qMnQ4= X-Google-Smtp-Source: AGHT+IGRJiKsTAnQEgkly0iLuFOx92PX7U9bHw9t9vuEzsrgzuu3QsEC7NSQaYDwVbnMFyYOmRaFzw== X-Received: by 2002:a05:6e02:1a07:b0:3e2:9d2a:a87f with SMTP id e9e14a558f8ab-3e53164056fmr5045085ab.0.1754582676096; Thu, 07 Aug 2025 09:04:36 -0700 (PDT) Received: from smtpclient.apple (c-67-167-5-111.hsd1.il.comcast.net. [67.167.5.111]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3e402b346easm74795875ab.55.2025.08.07.09.04.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Aug 2025 09:04:35 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: bug#79143: [PATCH] New user option to inhibit Calc startup message From: Sean Devlin In-Reply-To: <86ms8bp4p3.fsf@gnu.org> Date: Thu, 7 Aug 2025 11:04:25 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <86zfcbp6ty.fsf@gnu.org> <86ms8bp4p3.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3826.700.81) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79143 Cc: christopher@librehacker.com, 79143@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 (-) > On Aug 7, 2025, at 9:49=E2=80=AFAM, Eli Zaretskii = wrote: >>=20 >=20 > Thanks, form sent off-list. Thanks, I sent them my information.=