From unknown Thu Jun 19 13:56:34 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#71137 <71137@debbugs.gnu.org> To: bug#71137 <71137@debbugs.gnu.org> Subject: Status: 29.3; Calc function calc-user-define-permanent broken Reply-To: bug#71137 <71137@debbugs.gnu.org> Date: Thu, 19 Jun 2025 20:56:34 +0000 retitle 71137 29.3; Calc function calc-user-define-permanent broken reassign 71137 emacs submitter 71137 Charles Choi severity 71137 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 23 01:16:27 2024 Received: (at submit) by debbugs.gnu.org; 23 May 2024 05:16:27 +0000 Received: from localhost ([127.0.0.1]:58352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA0oR-0006Pl-M8 for submit@debbugs.gnu.org; Thu, 23 May 2024 01:16:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:40952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9rUL-0000uE-2C for submit@debbugs.gnu.org; Wed, 22 May 2024 15:19:04 -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 1s9rUE-0001C5-RB for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 15:18:54 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9rUD-0005cx-1D for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 15:18:54 -0400 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2b4a7671abaso1436062a91.0 for ; Wed, 22 May 2024 12:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716405531; x=1717010331; darn=gnu.org; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=h/mYabX2/4taDJQvw5KYgMGDf+zTarWwinzF1wCgtFg=; b=mpB3k1tq1zF2Tp+Tqs69wiKKK7UncaPWH+tpUkHeO71yr9C8xQ1p3S7rllQSLGNQZg Ga1Uv03Ah+eG/gt2RF1Q6E8IUmOXAwu5KdP/Aj0PnL8RtcAL2idDRzvMNdN4thQPU6B+ jweMfUCkm59jqrzcVFPEoMseZqUSmZF7B5w4QWikPf8KrNYWRmmo7urWBQKyQgf9UkuH 2caBdX+PhcSNBz/gldiA0HzooB56aOLe9fwN/CBZZ40FdMnFgU7YNX3tCFtSipMojOxK 2LysanrdM2tbX6FfsNZDFSLIdd2jG0diCCX4k1Su6rCfJiCg5yCH2lMR3ha9AARn0cjh iuhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716405531; x=1717010331; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=h/mYabX2/4taDJQvw5KYgMGDf+zTarWwinzF1wCgtFg=; b=qwX1pfSrkGN8KYCukLA9gxyxy42choPRItcvi0D+VdEfnW5Kgf1/E5QnPHrms8EjcN Fw1NwPRnfkgc4dE3jr9PHgd/+vOPf8EB4CKj9yLsTxEUyv4LUhEuKcTqsOD/ZzvBgdXm z15fEQDAX/0RX/jBxsBlqjL/8Pl9frApUsy70/YiEhVbFalsk07gO5uQzE81ygvEY8YL Hpbwe9QiilfEhNP30sSRubYMejg5Ub2HO+BdcAW0+enUfGhRaPShFXRTu8bRFcZbZSY1 sM66dyu/Hf6j/Tc2+jraKw4LXMOw8XhpE70wXzJNCkkhKJVFqc7yOJhuVSq8M+ZdmVA7 agYg== X-Gm-Message-State: AOJu0YyVxejOxuTCYpFT+chu5HAw416hYWlBD1+RM7kx6qFzt130us+p MQog4wxbhofANimmwcGyB8ewJV0fUQ5h2/7gKJehQtGT+nlCNf6SLl/CHw== X-Google-Smtp-Source: AGHT+IElL6lFI9D2TlzsT+T/ulxokdz7n+aZiLsTARDk40zJfQdz7Ga9zEzck7du0Hb7IeawqdT9xw== X-Received: by 2002:a17:90a:ab17:b0:2b8:9244:5b1b with SMTP id 98e67ed59e1d1-2bd9f452e52mr3319516a91.15.1716405531060; Wed, 22 May 2024 12:18:51 -0700 (PDT) Received: from smtpclient.apple (c-73-170-198-193.hsd1.ca.comcast.net. [73.170.198.193]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bdda14e4e4sm127981a91.57.2024.05.22.12.18.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 May 2024 12:18:50 -0700 (PDT) From: Charles Choi Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: 29.3; Calc function calc-user-define-permanent broken Message-Id: <0AF2D9A7-462B-4976-B3DF-43B3130F2EF3@gmail.com> Date: Wed, 22 May 2024 12:18:36 -0700 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3774.600.62) Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=kickingvegas@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 23 May 2024 01:16:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * Title Calc function calc-user-define-permanent broken in 29.3 * Description In Calc, invoking calc-user-define-permanent (binding "Z-P") does not = persist a user-defined formula. * Environment Emacs: 29.3 OS: macOS 14.5, Ubuntu 22.04.4 LTS * Steps to Reproduce 1. Enter "emacs -Q" on the command line. 2. Enter "M-x calc" to start Calc. 3. Enter the algebraic expression "'3 x + 7". 4. Enter "Z-F" to user-define a formula. 1. Enter "1" for the user key. 2. Enter "f1" for the command name. 3. Enter RET to default use the command name ("f1"). 4. Enter RET to accept the default argument list ("(x)"). 5. Enter "y" to leave it symbolic for non-constant arguments. 5. Enter "Z-P" to make permanent (persist) the user-defined formula. * Expected Result The calc.el file in the Emacs init configuration directory should be = modified holding the persisted user-defined formula "f1". * Actual Result The calc.el file is unchanged. In GNU Emacs 29.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2024-05-10 built on lcy02-amd64-031 Repository revision: 73d7d08f3f07a68b198e5ba230a474ba019e6a8a Repository branch: master System Description: Ubuntu 22.04.4 LTS Configured using: 'configure --prefix=3D/snap/emacs/current/usr --with-x-toolkit=3Dgtk3 --without-xaw3d --with-modules --with-cairo --with-native-compilation=3Daot --without-pgtk --with-xinput2 --with-tree-sitter --with-json 'CFLAGS=3D-isystem/build/emacs/parts/emacs/install/usr/include -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem/build/emacs/stage/usr/include -O2' 'CPPFLAGS=3D-isystem/build/emacs/parts/emacs/install/usr/include -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem/build/emacs/stage/usr/include' 'LDFLAGS=3D-L/build/emacs/parts/emacs/install/lib -L/build/emacs/parts/emacs/install/usr/lib -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu -L/build/emacs/stage/usr/lib'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils calc-prog calccomp calc-arith calc-misc calc-alg calc-ext cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs cl-extra help-mode cl-lib calc-aent calc-menu calc calc-loaddefs rect calc-macs term/tmux term/xterm xterm byte-opt gv bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 119889 8632) (symbols 48 10360 0) (strings 32 26639 1633) (string-bytes 1 717940) (vectors 16 15856) (vector-slots 8 313690 7888) (floats 8 34 659) (intervals 56 295 0) (buffers 984 14)) =E2=80=94 Charles Y. Choi, Ph.D. kickingvegas@gmail.com From debbugs-submit-bounces@debbugs.gnu.org Thu May 23 03:08:27 2024 Received: (at 71137) by debbugs.gnu.org; 23 May 2024 07:08:27 +0000 Received: from localhost ([127.0.0.1]:58666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA2Yt-0007gy-GD for submit@debbugs.gnu.org; Thu, 23 May 2024 03:08:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA2Yo-0007gr-DV for 71137@debbugs.gnu.org; Thu, 23 May 2024 03:08:26 -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 1sA2Yc-00058h-S5; Thu, 23 May 2024 03:08:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Rf6ATGYDAlUCIgM7bFd7x/XpyGJKRLz4it43J0Y0J3w=; b=S3yRgFQW1mVy sfxPKODUn44UjVjgQsH3vOnMB7vJC8HYxkRc1F7pVHIOB95KvN2/ii08ZxqKt7948ML2YmGnoX1EX z1ByzdQFioxLe93HzbxqSkNm3QE3wipMHoQWY+uNPMyzstpwYEME0NWPIOOqwGMHkOcb9eLZ+5o1Z /UkbF3Qg/KNXH/kxNMk1Zr5s70xqwInTTCg1/hWxK3vxHgPziY2OMPHM04MhA0T9/7bDhp2FnNV6p szSR4Q0QNL2Xd3bnNMqklWgh1V8Sof4tdLKIAl8U3Lhdo+3Y2ODm/qyilnUHuLlJrysidTO2EUDuY bQUN7zV+g+92lLFZdS4guA==; Date: Thu, 23 May 2024 10:08:06 +0300 Message-Id: <86bk4x57l5.fsf@gnu.org> From: Eli Zaretskii To: Charles Choi In-Reply-To: <0AF2D9A7-462B-4976-B3DF-43B3130F2EF3@gmail.com> (message from Charles Choi on Wed, 22 May 2024 12:18:36 -0700) Subject: Re: bug#71137: 29.3; Calc function calc-user-define-permanent broken References: <0AF2D9A7-462B-4976-B3DF-43B3130F2EF3@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71137 Cc: 71137@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: Charles Choi > Date: Wed, 22 May 2024 12:18:36 -0700 > > * Title > Calc function calc-user-define-permanent broken in 29.3 > > * Description > In Calc, invoking calc-user-define-permanent (binding "Z-P") does not persist a user-defined formula. > > * Environment > Emacs: 29.3 > OS: macOS 14.5, Ubuntu 22.04.4 LTS > > * Steps to Reproduce > 1. Enter "emacs -Q" on the command line. > 2. Enter "M-x calc" to start Calc. > 3. Enter the algebraic expression "'3 x + 7". > 4. Enter "Z-F" to user-define a formula. > 1. Enter "1" for the user key. > 2. Enter "f1" for the command name. > 3. Enter RET to default use the command name ("f1"). > 4. Enter RET to accept the default argument list ("(x)"). > 5. Enter "y" to leave it symbolic for non-constant arguments. > 5. Enter "Z-P" to make permanent (persist) the user-defined formula. > > * Expected Result > The calc.el file in the Emacs init configuration directory should be modified holding the persisted user-defined formula "f1". This is not what I see in Emacs 29. After Z-P, Emacs asks in the echo-area: Record in ~/.emacs.c/calc.el the command z- and if I type "1", as in step 4.1 above, Emacs says "Wrote ~/.emacs.d/calc.el", and I see the formula f1 defined there. So I wonder why this doesn't happen for you. From debbugs-submit-bounces@debbugs.gnu.org Thu May 23 04:08:00 2024 Received: (at 71137-done) by debbugs.gnu.org; 23 May 2024 08:08:00 +0000 Received: from localhost ([127.0.0.1]:58728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA3UV-0008D9-SG for submit@debbugs.gnu.org; Thu, 23 May 2024 04:08:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA3UR-0008D3-VQ for 71137-done@debbugs.gnu.org; Thu, 23 May 2024 04:07:59 -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 1sA3UG-0008BU-7N; Thu, 23 May 2024 04:07:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Onk3RILVhh+f7aqJVhZG03VfdX42TDncxC0bKjh1+nM=; b=HEdNK+ZEDPdc 9T8FizlDGGnXLx6r/P/GWqd5xJwBOSNQosEQenp3INds/NHsIk/T9Fe7hNjtHmtVC1x9NvykKIMQ1 uuYhWYcnMJQpSoRU9KhJLlE9Q7eZDsDaLj5/7VGHuVOyh6wK1EvncZIpZPBjJ7Z8lZ7APq5P+BVqt I0dy0wlNF9Dvvj063ZoMhXjC7VUzsdVdS2QcwcpmdWq4fhFqztN5bZgGC6x7KaiDZHDHGamn4uUzn NvLAY3f8eK1XNjtubkxTF/OSSLJSwJTBvMRmSkdEmSXWHLrED/AhCSlXB2hDeOywAZIOpFLfvlHMX VFrmRAJjcK8KVJA/BYfLzg==; Date: Thu, 23 May 2024 11:07:41 +0300 Message-Id: <865xv554tu.fsf@gnu.org> From: Eli Zaretskii To: Charles Choi In-Reply-To: (message from Charles Choi on Thu, 23 May 2024 00:43:54 -0700) Subject: Re: bug#71137: 29.3; Calc function calc-user-define-permanent broken References: <0AF2D9A7-462B-4976-B3DF-43B3130F2EF3@gmail.com> <86bk4x57l5.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71137-done Cc: 71137-done@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: Charles Choi > Date: Thu, 23 May 2024 00:43:54 -0700 > > Figured it out. Z-P (calc-user-define-permanent) requires that I enter a single key binding. I was pressing RET, thinking that it would just save all user-defined functions. Apparently with calc-user-define-permanent one must explicitly specify each user-defined function to be persisted. > > Please close this issue, although it would be a nice enhancement to support persisting all user-defined functions. Closing. From unknown Thu Jun 19 13:56:34 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, 20 Jun 2024 11:24:09 +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