From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Charles Choi Newsgroups: gmane.emacs.bugs Subject: bug#71137: 29.3; Calc function calc-user-define-permanent broken Date: Wed, 22 May 2024 12:18:36 -0700 Message-ID: <0AF2D9A7-462B-4976-B3DF-43B3130F2EF3@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34764"; mail-complaints-to="usenet@ciao.gmane.io" To: 71137@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 23 07:18:24 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sA0qN-0008qD-RJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 May 2024 07:18:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sA0pg-0006WW-8G; Thu, 23 May 2024 01:17:40 -0400 Original-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 1sA0p0-00062P-Fv for bug-gnu-emacs@gnu.org; Thu, 23 May 2024 01:17:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sA0oz-00018B-5U for bug-gnu-emacs@gnu.org; Thu, 23 May 2024 01:16:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sA0p3-0006Q6-TP for bug-gnu-emacs@gnu.org; Thu, 23 May 2024 01:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Charles Choi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 May 2024 05:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71137 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171644138724665 (code B ref -1); Thu, 23 May 2024 05:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 May 2024 05:16:27 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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-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 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285671 Archived-At: * 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