From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 10:20:18 2022 Received: (at submit) by debbugs.gnu.org; 13 Jun 2022 14:20:18 +0000 Received: from localhost ([127.0.0.1]:60024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0kvP-0002Ku-V7 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 10:20:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:36248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0hO6-0007fw-13 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 06:33:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0hO3-0001M5-QK for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 06:33:37 -0400 Received: from nyuno.kuba-orlik.name ([2a01:4f8:c2c:96d3::1]:44024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0hO1-0000D8-0P for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2022 06:33:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuba-orlik.name; s=mail; t=1655116404; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=A2if6qKQZULsRcN4gyaKaFj/2dS96G68t5ccXXMU87Y=; b=xUDO0gMt+NhDIA4PVDhzzAK/ZeQ/KnvcsxIX8Li+kSQ+rfVzNiqhNGH24X6Mqg1MkfZz19 hjVHe8tzzzXIbWeKXqUKpl0EHg5PQOOSmShUoQKN8ZdSMwkZI89KC+bvcUUas5FcWdJIdJ Tvg6/XHBusz+FuKE/2szl8ftw6DeNck= From: Kuba Orlik To: bug-gnu-emacs@gnu.org Subject: Cannot insert registers in calc Date: Mon, 13 Jun 2022 12:33:14 +0200 Message-ID: <87tu8orgyd.fsf@debian-cf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a01:4f8:c2c:96d3::1; envelope-from=kontakt@kuba-orlik.name; helo=nyuno.kuba-orlik.name 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 13 Jun 2022 10:20:14 -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.4 (--) 1. Run emacs -Q 2. Type the number 20 into the buffer 3. Move the point to the "2" in the "20" 4. Run M-x number-to-register 5. Pick a letter for the register (I picked "a") 6. Run M-x calc 7. Type "r i" and pick the same register 8. It rings a bell and shows "Bad format in register data" In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cair= o version 1.16.0) of 2021-03-28, modified by Debian built on x86-conova-01 Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. You can run the command =E2=80=98number-to-register=E2=80=99 with C-x r n Welcome to the GNU Emacs Calculator! Press =E2=80=98?=E2=80=99 or =E2=80= =98h=E2=80=99 for help, =E2=80=98q=E2=80=99 to quit r- calc-do: Bad format in register data Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --enable-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --enable-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-cairo --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -ffile-prefix-map=3D/build/emacs-LlFm6W/emacs-27.1+1=3D. -fstack-protector= -strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Calculator Minor modes in effect: tooltip-mode: t global-eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv 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-yank calc-ext calc-misc cl-loaddefs cl-lib calc-menu easymenu calc calc-loaddefs calc-macs tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 73649 8293) (symbols 48 8721 1) (strings 32 20611 2050) (string-bytes 1 604578) (vectors 16 12708) (vector-slots 8 154643 9372) (floats 8 29 41) (intervals 56 257 0) (buffers 1000 13)) --=20 Kuba Orlik From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:14:43 2022 Received: (at 55943) by debbugs.gnu.org; 13 Jun 2022 15:14:43 +0000 Received: from localhost ([127.0.0.1]:60138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0lm7-0001xD-6c for submit@debbugs.gnu.org; Mon, 13 Jun 2022 11:14:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0lm5-0001wy-E2 for 55943@debbugs.gnu.org; Mon, 13 Jun 2022 11:14:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JWAlDbQEDLx4lltFrvghd0iE74MN2f+h7SfmqbEWk9E=; b=oKVjNCMkTjwhWhnkyD0BrWbzrs ly+uXFTqJspwClCxcLXgtTE3Wv5McvKYDXk/N6s44Xb6A0TozheJI7orNiY5ARoUrxmMnXOyEiaIP BoCwQX3CW8ab5j/gTFAl3Q5BlpfFLhITq8soA1obPhKmHffLQJffNb8idFgDjqnRvMkM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0llw-0001Sa-BO; Mon, 13 Jun 2022 17:14:34 +0200 From: Lars Ingebrigtsen To: Kuba Orlik Subject: Re: bug#55943: Cannot insert registers in calc References: <87tu8orgyd.fsf@debian-cf> X-Now-Playing: Kelly Lee Owens's _Inner Song_: "Wake-Up" Date: Mon, 13 Jun 2022 17:14:31 +0200 In-Reply-To: <87tu8orgyd.fsf@debian-cf> (Kuba Orlik's message of "Mon, 13 Jun 2022 12:33:14 +0200") Message-ID: <87h74or3xk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Kuba Orlik writes: > 1. Run emacs -Q > 2. Type the number 20 into the buffer > 3. Move the point to the "2" in the "20" > 4. Run M-x number-to-register > 5. Pick a letter for the register (I picked "a") > 6. Run M-x cal [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55943 Cc: 55943@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 (---) Kuba Orlik writes: > 1. Run emacs -Q > 2. Type the number 20 into the buffer > 3. Move the point to the "2" in the "20" > 4. Run M-x number-to-register > 5. Pick a letter for the register (I picked "a") > 6. Run M-x calc > 7. Type "r i" and pick the same register > 8. It rings a bell and shows "Bad format in register data" Registers in Calc have nothing to do with the normal Emacs-wide registers -- you can only insert with `r i' in Calc stuff you've save with `r s' in Calc. But I see that the doc strings here don't actually say this, so I've fixed this for Emacs 28.2. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:14:51 2022 Received: (at control) by debbugs.gnu.org; 13 Jun 2022 15:14:51 +0000 Received: from localhost ([127.0.0.1]:60141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0lmF-0001xb-Ez for submit@debbugs.gnu.org; Mon, 13 Jun 2022 11:14:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0lmD-0001xL-Ii for control@debbugs.gnu.org; Mon, 13 Jun 2022 11:14:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vJ/wmkYQK6TY4towC66JOOkxEQzEFJzhcx2Am23jRDo=; b=satnQSyvHTU+5LiGSiT2MHmbjC fBkEYGqs5J5I1TIFFQpnvERkV0v8AATNWZvyGKP7eHB2eGj/1F3+oTHhD2//dGdSXpNpWAQFKcAdu ArqTfbn/6hmQtpFI1r7APoo41wP0XxoIbH8NIH0LChv8BgCv1dSkQo4y1OcIkmntzUhY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0lm5-0001Si-Oo for control@debbugs.gnu.org; Mon, 13 Jun 2022 17:14:43 +0200 Date: Mon, 13 Jun 2022 17:14:40 +0200 Message-Id: <87fsk8r3xb.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55943 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 55943 28.2 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 55943 28.2 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:31:10 2022 Received: (at 55943) by debbugs.gnu.org; 13 Jun 2022 15:31:10 +0000 Received: from localhost ([127.0.0.1]:60169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0m1z-0003Wd-F8 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 11:31:10 -0400 Received: from nyuno.kuba-orlik.name ([159.69.83.182]:37948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0m1u-0003Kl-9W for 55943@debbugs.gnu.org; Mon, 13 Jun 2022 11:31:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuba-orlik.name; s=mail; t=1655134255; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jNQ1qQh/td2fYFpvvJOeG6l4YiYaWm3Kcg8pJhfL604=; b=Cxkb6Hf+jldIQn8fTbTH5U9A5fIWMQUSXTb5XE1RON4EedMG5JislUzJ8I+g4oC4sVUu2n SGioHdmq186pH+URbTaFi1RxtpGj/JMQSiSL5H9r+Kra4W7dXpCAV1iQrZjtDwVVxC13xb L1J5RYSazdRDmZdUo/xcNZ9DJMJ2CS4= References: <87tu8orgyd.fsf@debian-cf> <87h74or3xk.fsf@gnus.org> From: Kuba Orlik To: Lars Ingebrigtsen Subject: Re: bug#55943: Cannot insert registers in calc Date: Mon, 13 Jun 2022 17:31:04 +0200 In-reply-to: <87h74or3xk.fsf@gnus.org> Message-ID: <87fsk8lguk.fsf@kuba-orlik.name> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55943 Cc: 55943@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 (-) > Registers in Calc have nothing to do with the normal Emacs-wide registers Is it then also a bug that when I press "r i" in Calc and wait for a second then it suggests me the registers (along with their values) that I created outside of Calc? Lars Ingebrigtsen writes: > Kuba Orlik writes: > >> 1. Run emacs -Q >> 2. Type the number 20 into the buffer >> 3. Move the point to the "2" in the "20" >> 4. Run M-x number-to-register >> 5. Pick a letter for the register (I picked "a") >> 6. Run M-x calc >> 7. Type "r i" and pick the same register >> 8. It rings a bell and shows "Bad format in register data" > > Registers in Calc have nothing to do with the normal Emacs-wide > registers -- you can only insert with `r i' in Calc stuff you've save > with `r s' in Calc. But I see that the doc strings here don't actually > say this, so I've fixed this for Emacs 28.2. -- Kuba Orlik From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:32:49 2022 Received: (at 55943) by debbugs.gnu.org; 13 Jun 2022 15:32:49 +0000 Received: from localhost ([127.0.0.1]:60173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0m3d-0004db-E7 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 11:32:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0m3b-0004dN-7C for 55943@debbugs.gnu.org; Mon, 13 Jun 2022 11:32:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LgR+HwE1lWC8EYFhv6ttLwv8cpeeVqYFTvRduzpWag4=; b=LkHXc4KlreJsdvSHZechkkul5D /sMuRIF5tXn2kxls1rjU1zPROCg1tj6kS+jbGqMTobbZeMOAObuJf9u8Zv2C0YtgzXf3CtjY/nkhd Tj4TXGkkj5aXlo2Cz8b1tJWqXMDYl2bVog1F7UVw9nqwTWOU9JTIIlUBcqZhp1FMwsy0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0m3R-0001cP-TY; Mon, 13 Jun 2022 17:32:40 +0200 From: Lars Ingebrigtsen To: Kuba Orlik Subject: Re: bug#55943: Cannot insert registers in calc References: <87tu8orgyd.fsf@debian-cf> <87h74or3xk.fsf@gnus.org> <87fsk8lguk.fsf@kuba-orlik.name> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEX9/fz18s/x7Kms qY1aWEU0MyeZlG+BfWL///+iDY0nAAAAAWJLR0QIht6VegAAAAd0SU1FB+YGDQ8eLeshW9UAAAGv SURBVDjL3ZPBbusgEEXDHwQiva7BUbJNwbXXiYewr5hm29ZxvG0TGv9+B7DbKttunoqQJTjce8dj PJv9F4PPabLfeTChFE0+Y3zO05iAUpILmbYEVyqeyamCACULTZCkUtDqBxAl+PskGBWMHOgo+4fu FkguSStCW/EM5AhUVHBVGnMDVvfkdLmstc77k1UB3p0MhGuVgKRSMsBxwNAbpVbvt8BDYfGs1I5L kQEEQG/RB2PxUamjEjqDIQCcCNgr4n4Au1s8fltBfDjEHgZoeJ2BnUJcVPShUXfzL4X1vdMl+goA dlpskgSOQOnU99KdgiMrF54TeIiS4bXQVYhph7bqk4KVtDy8nB+uHynqqTCv+Xt0HnGrTKe7XMMK fQZHWm3XnZNU3qEGJP6WwJJee1vYZh2PmwB2At2+w3dOybEv4FocAbOXD9zyJRUU+9LUXwAvFp8W 9C6xL3Yfi9yMoLboekitSY9cFbNND+CGAaJZ6ibkliybI7irqWiP0tB7b1NL2KLpT61Wa2pIS04+ IOTwjU7XdhWsN/FDQn3OVuPfQjdS0m2fM86m6/6nxycD0pDzRpzfuQAAACV0RVh0ZGF0ZTpjcmVh dGUAMjAyMi0wNi0xM1QxNTozMDo0NSswMDowMN7OzukAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjIt MDYtMTNUMTU6MzA6NDUrMDA6MDCvk3ZVAAAAAElFTkSuQmCC X-Now-Playing: Neil Young's _Comes a Time_: "Comes A Time" Date: Mon, 13 Jun 2022 17:32:36 +0200 In-Reply-To: <87fsk8lguk.fsf@kuba-orlik.name> (Kuba Orlik's message of "Mon, 13 Jun 2022 17:31:04 +0200") Message-ID: <8735g8r33f.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Kuba Orlik writes: > Is it then also a bug that when I press "r i" in Calc and wait for a > second then it suggests me the registers (along with their values) that > I created outside of Calc? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55943 Cc: 55943@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 (---) Kuba Orlik writes: > Is it then also a bug that when I press "r i" in Calc and wait for a > second then it suggests me the registers (along with their values) that > I created outside of Calc? Yes, that looks like a bug. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Jun 20 07:23:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug No longer marked as fixed in versions 28.2 and reopened. Date: Mon, 13 Jun 2022 15:40:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug No longer marked as fixed in versions 28.2 and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 03:20:51 2022 Received: (at 55943) by debbugs.gnu.org; 14 Jun 2022 07:20:51 +0000 Received: from localhost ([127.0.0.1]:32780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o10r5-0007co-CQ for submit@debbugs.gnu.org; Tue, 14 Jun 2022 03:20:51 -0400 Received: from nyuno.kuba-orlik.name ([159.69.83.182]:51974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o10r2-0007ca-QL for 55943@debbugs.gnu.org; Tue, 14 Jun 2022 03:20:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuba-orlik.name; s=mail; t=1655191242; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ge3+V9dcSt4WgnjfelN9i6RDrWIYriP5Eex0hAMyX/M=; b=S5BF0zgJAaI/mkIO9Jc0+drREqCB4cpDqiqXx5H0I0qDmi8pTmCiAiymiMGdYGvQdL4aHu YGMRftWh/OlTiMn+RyiE1aajeQ5vOqaywSs0NamAbpl7+TPYaFoVohB6X6M0H8ckOFYvRF g2j4V9o01BReeei00uCpSobfPrf3qcQ= References: <87tu8orgyd.fsf@debian-cf> <87h74or3xk.fsf@gnus.org> <87fsk8lguk.fsf@kuba-orlik.name> <8735g8r33f.fsf@gnus.org> From: Kuba Orlik To: Lars Ingebrigtsen Subject: Re: bug#55943: Cannot insert registers in calc Date: Tue, 14 Jun 2022 09:21:44 +0200 In-reply-to: <8735g8r33f.fsf@gnus.org> Message-ID: <87ilp3k8vl.fsf@kuba-orlik.name> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55943 Cc: 55943@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 (-) Should I report it separately? Lars Ingebrigtsen writes: > Kuba Orlik writes: > >> Is it then also a bug that when I press "r i" in Calc and wait for a >> second then it suggests me the registers (along with their values) that >> I created outside of Calc? > > Yes, that looks like a bug. -- Kuba Orlik From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 07:05:20 2022 Received: (at 55943) by debbugs.gnu.org; 14 Jun 2022 11:05:20 +0000 Received: from localhost ([127.0.0.1]:33054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14MK-0004qx-J1 for submit@debbugs.gnu.org; Tue, 14 Jun 2022 07:05:20 -0400 Received: from mout.web.de ([217.72.192.78]:44663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14MH-0004qg-SQ for 55943@debbugs.gnu.org; Tue, 14 Jun 2022 07:05:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1655204710; bh=QIzLynuA/JC55CkBYlOTR99AEJ+cdL2/ScZwFnakyOI=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=ZUL+9LSW+vOzL3cQ8csoKhLYpoGVznAI6treE301zJMtCet24fNvytklWJOmzETNZ aBLVYFrLPbtaSV8ZzFlEe0N8TU1hbvxQZOet8KPsuDOqjj0KavbYEMKkvGT8CVQ1LQ 1WR5r+yXH85xXHE3KBfYGEcAf1cMnpIJUAT9HA2A= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.60.174.246]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MJnvf-1oGfGh2o2L-00JyGu; Tue, 14 Jun 2022 13:05:10 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#55943: Cannot insert registers in calc References: <87tu8orgyd.fsf@debian-cf> <87h74or3xk.fsf@gnus.org> Date: Tue, 14 Jun 2022 13:05:09 +0200 In-Reply-To: <87h74or3xk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 13 Jun 2022 17:14:31 +0200") Message-ID: <87mtef1p5m.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:zUOzIlnUIZQk1raz6T8kRhHu+TOfgIiz5yS6xSkCBwdjMOJU/dt nep0cMJzrxRyor1TyMiS6j9Uj03VuMLOkWgnp2RZBaLxf4elJyhO8E+tEB8cam6WU5mCofa eYYuibLa/52gbDoyc4FvOmUnQNDWVoJ8lvTz1XBkfTidKtyW3t//fvviOI4/l8ZkXBB8r2a bR8MAiZPVBb4KVocCyVjQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:X8DvAwsyY1Q=:zt/wk36+LjZgwMuKX1Y8Sf KjuQRJQGj8WmQvoeYGOqgh25lDjriZonEyqJr3DV3b4MhkK6PEbGQMAQD2yi+nYzkOl4O3JZj 48vN4QTCuiGd2mIz18Jb3LyTauLM9l4SAUi9g4z0LPZsRECQVdmv1KtbqobonDMrVWWTs/njA kZib1xBax2/te44nkdvrhx9q9ov688LbRFtDhQPq9rYoqYqYHArjCF2y6gzyQBhFK5pOQXY0W 1ghL5wsCTcxbnS/3hDxniPawyVr7YEB+uwsJN9aNQa6zcchk7YzIdJxlItkIeXTBX3s/rM7UZ zG0NtEFNWWnPafLh/L18zYZEMRxfX10K3g86oqfJk3hhc8nCtLe0DBdtTCklgy8SAXMorh4kv zDRwdQbI76b0b/490D1GHbXrK+skLih0irJEZ2OZh+kyLk4BFCJKSSZ7Pwlh2YIZ04zf5o/gI ZTzt7wwV1qgowKg0yf7vWJkyIseV93P8ManovjVJvEyXZ4Pt9KjVFy2zV+A3yImyXimKbMvcj RbC0w7ngifuD6jic4/O0OxQ9wRvEAWh+Quizu7j1tb09yutTtEHA5Bo8+LM/G6I06Jgu8+maP RDE1ld/e98IcaOemeh3IhhhSYq5gW7ZTaPiyEWSyQmuezEYn0gWGqbdCxroc3tRywUydnz7j/ JCa2Hzk2bd1NIUDSuPsD5URNmltAaddwoY+zanJiYKDB8HK8yu/O8xEJjA6K5F+YOpR1vzOh9 DXWDnP7P27v2z8thcqorDGKBWcV5DTUIyBL7DrrI0c6yiB3WinVvl8LdoQjgP3bnxtLgOgmib CWRnnov+j3sfI8KhIghsn8sp5eKa/XuiWWF+j64sHaibtznpn/3j9HaSGxy2SANdEZEXJf6vK WOn/sjGWTF4OBAh+dvOZbidJqBxQh94I7Bwu9FSY8hT6Kfqetf50JLGomNbATuVsHsfkkgloQ oXR5J9pulrJI7sYNQi8mi3ps2oiGl7K4n+REgMh3Zlgpbx+aE/YKL7uIp1FZxYv/L7Lj9Wcn9 0N+g/rwlQmEVmbTg8xhSvY9CCySC/cvzoGolD6Q3eD0hs1DmNq6W1DleBz7z0TgeJcjh3TbaM MH2MhMBJGj6e/iHT0kpvrhLlQj2wUB3upCRF7T8muHlA/PqPLSOF3/8vw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55943 Cc: 55943@debbugs.gnu.org, Kuba Orlik 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.7 (-) Lars Ingebrigtsen writes: > Registers in Calc have nothing to do with the normal Emacs-wide > registers -- you can only insert with `r i' in Calc stuff you've save > with `r s' in Calc. But I see that the doc strings here don't actually > say this, so I've fixed this for Emacs 28.2. Hmm - I think I don't agree - see what (info "(calc) Inserting From Registers") tells. String valued registers work fine. So this change: +Note that this command only works with Calc registers, and they +have nothing to do with the Emacs-wide register mechanism. is not justified in my opinion. Calc uses the normal register mechanism, but enhances registers that save regions from Calc by saving additional data in a separate variable. Wouldn't it make sense to make "calc-insert-register" work with number valued registers? Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 07:08:06 2022 Received: (at 55943) by debbugs.gnu.org; 14 Jun 2022 11:08:06 +0000 Received: from localhost ([127.0.0.1]:33062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14P0-0004vD-8E for submit@debbugs.gnu.org; Tue, 14 Jun 2022 07:08:06 -0400 Received: from mout.web.de ([212.227.17.12]:42221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14Ot-0004ue-4j for 55943@debbugs.gnu.org; Tue, 14 Jun 2022 07:08:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1655204872; bh=ICdAbMoaolEFtHox7JeiE9d4Y2yYT9pvnYaUPMImBCY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=rltdqDmbxu41hTBOXX9H0xyI9BuZF5VAnzbr8Dm82J13X3Dvzcqd5UkR5oc9jAZPg zjxwrPPOfpKKSTuWQIXikjUgpmXZygm4pMQu1Q7eGfx1b0OBeB7zHLceiyJ1NbO6vE wuJredKVjjpRNaDmR/465Zhjc385ldICBGtQ4NNw= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.60.174.246]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1M6pYS-1o4vUE2XyY-008Ga1; Tue, 14 Jun 2022 13:07:52 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#55943: Cannot insert registers in calc References: <87tu8orgyd.fsf@debian-cf> <87h74or3xk.fsf@gnus.org> <87fsk8lguk.fsf@kuba-orlik.name> <8735g8r33f.fsf@gnus.org> Date: Tue, 14 Jun 2022 13:07:51 +0200 In-Reply-To: <8735g8r33f.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 13 Jun 2022 17:32:36 +0200") Message-ID: <87k09j1p14.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:phHtK6wHrJLl1/0+D/coYJXoq07771IbY/8U5TIe6sOhS8a/CV0 jQGc4PUhUWalZ9Oh/Ll1M1UyUamLGWxls5KLTCFhP1FZFqlg069SkYNkGsleoYeEuXpUumz WVjkyBsdC3cLzU9XB6J9wASx/5BZEBHtRe0NIHvR+O2b/ZQ3H7WjAx9uR+IzT9efwhaOEW5 4qhfWJUTbCg4CNzR4sxUQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+Tc36ymARcw=:CW/pXNGLjz2EFPB4rh/Y9h mwhHCzjukqxfFGIfaPU3gH3pJv1QvbjFoqp5BRt9ULRUVnVaMxp7hesLJp/U2iOZLXbsmA5ln 5A7tvvPXb7pgAtPmPr0Y9t64XaWRFigfOE0anmJY5Uqon2DXzapuicqSsh3GVGy6rKp6SHf5+ Vj3XsURtZ0GinPCvr9/EirxHeQ6pZJ7YFnS0JMaKneuEoUdeVQfeY9SOXBlzYFzMTnLS4KWVy oV41TsGeU3OxQc3axpN2aKqmBHAGHBFYEooHcWABNF8lbOAZhC96IlmmwkTaUDh9OpG4O6AWs 1EfynDhS1Qyr/obJ+lgqR5a04wEXQZEOrgedNelSRL0c66+kUT31YqjRxntC8SdoGtykF7PrA WxH0v60Rp8TJRxdWrnA3dUq4/+kWC+zbx+sUYQINHosiRV/h6RGnNSBx9jSaEB5upyVACH8mT VDlBMe3WC8D6eQkQKkjSB9S2uBcqZG6FKEIDsacCg/scgeki+1ZojIifIWC16Cx+SOjcLbVdp VceP1SYI9LuSLuAetMHvy5T8At+ZnLtDl+pEKcO7iQQD95dglxp9F3/B4ejSxqqUMws5srrcE lZ/kRKP1qijrjVrTjPOaDxWa0IroJ1O43JXMKDyuNcIBIIAeymJ35e0Lf11GKaTCXd4KTx6TK z691hfimLUxavRGbupA0nqTITZiN9kiuRTLRZqxTHM/f4/Kh/C/gdpsRDPrAvWNMVtf66QtXP ROuBa2mwoSBUSbL5vI/Npx/Kt6V84a7E43oZ6rfrM/JLKyHOikDRn/fmu7A5196Burm9G+ac1 bjE/eTNN/FmQdRTMXlraU2l/1yjkfUq/khLQtEQxLmdx+PAfw7+uiJKXgDAhHIg0Lp+bA7JLw SBMWIRphgUPnuvrGY1RKL04AuFjk24RLn6fRenZvkdKmDhxCQ3RulFQMsyTjyJoJrvWrIZaIP R7Nz33DmVxaV4q8ssZxmbSxPICWFGdJ3X7LpIqTr0GiujsLdP8AbnP3yjyzRl3zpYu7+onJ/7 T/Y0tqb5yhtOjGlNhNm0qMCfQqq2inr1vr8CYVM4dNPB18j2CzXzwNOR7e0BCV17oJ2krLwA9 1CInaS/r+jI1JaZobB265qBOYRBfFFu6Sp+iiodX/ihTU4A/RDsbpnm9A== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55943 Cc: 55943@debbugs.gnu.org, Kuba Orlik X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Kuba Orlik writes: > > > Is it then also a bug that when I press "r i" in Calc and wait for a > > second then it suggests me the registers (along with their values) that > > I created outside of Calc? > > Yes, that looks like a bug. It's normal that not all register value types support insertion. Calc changes a bit which value types can be - but I don't see a bug here. Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 07:30:09 2022 Received: (at 55943) by debbugs.gnu.org; 14 Jun 2022 11:30:10 +0000 Received: from localhost ([127.0.0.1]:33127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14kL-0005ae-Fp for submit@debbugs.gnu.org; Tue, 14 Jun 2022 07:30:09 -0400 Received: from mout.web.de ([212.227.15.14]:34511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o14kH-0005Sb-V4 for 55943@debbugs.gnu.org; Tue, 14 Jun 2022 07:30:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1655206199; bh=5Ujvvo158TbqOHWCKACeogonE37nBeYnZyYKk/rVTFY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=MiXKOZuafRYBzu9mztaxE8zeSCauf8l6I9yituhx1pYd4CWQKrS/iZfq/4giPIBk6 aANoX3Ta41ss+3sPPB5lWB+VL+/ziTW38j6O7H93mhiJGx77oifPd9Z95dk82fEVeh ux91ZtD6nrYJ8/G3ViwAA/4VZWEjoX1CRh4RprIU= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.60.174.246]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MYLmo-1oEhrp0ID4-00VoFs; Tue, 14 Jun 2022 13:29:59 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#55943: Cannot insert registers in calc References: <87tu8orgyd.fsf@debian-cf> <87h74or3xk.fsf@gnus.org> <87mtef1p5m.fsf@web.de> Date: Tue, 14 Jun 2022 13:29:58 +0200 In-Reply-To: <87mtef1p5m.fsf@web.de> (Michael Heerdegen's message of "Tue, 14 Jun 2022 13:05:09 +0200") Message-ID: <87fsk71o09.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:tgMJIWZMz0lv8ZdUpelUSSl7MoZolekBRFHMjI8bt3T2xPmfTgg GE26whV09xaBr3O1N7mbIMeNF5fuKnhNEMal8n5VP9PQeI0k643Mhp6X/jkprbeW7av2An2 QbkQmFG9d6s8CloNjWoWGJWMEru5WSSznqHUE63bMoN9Nyt9FkY5SYbUwhHzWpctNhp9cXY 8HvuJLqT50Bp5lNQKJm3w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Pw2P4Ahh2UY=:DfmCwN91KmMU7/dFLN469Z sFCZ6buzP39ycIQnp2ih5aG5CybnPz6C81Vs7gdDZ3Ml19Ws+rQbBO7K4FFDQMha+t3yhfzpr 7uaTgqwBUrBnQdbz6hEqxD4F0VO6oqkOaG+a+lz96K5w0+JlZNBQcng3t8/SvRjUwdvw3Q3WF ciewQHmzl/RrVOjzceFmYL/NG3tZKHfIHhYYCoy2kwI4fahuafePkVcfHhu3inhJC/tU7CuYO wY/Zk+FBBEnxxwkFzDzc9MLhr/BM9DR4U3lXT8+nAw0uIyw4wi119IVpiNRx+sZQhl23FM9le 4KD/8r2w2jYphJoig4FdEp9DjGH5ovuxFpYg3ilQfSQX22eznIeQ3BE5EAZXgJQVRIURFSwg7 gIKyaNuvw83d7I/T7GrKKJHRiTHZ4jKhyJ5DdAUCXUszfS4CvAseVnS6zZcgZS9G1kuxXluHV 33ayqxBMP2U42dwEsZKKefywns/gLfExqIziPwnnMIBxR0zCjckAFe7CNMmCAzLGtFRReav4e LWsjdVeTm9qx+o6EKbBdC/6EAOmkcCTsVynPdLxEpfhrxag7DldVPTXX6qLbWw7zh2dHpVUDq MM4Ry1TYB2/+vI4uUODwYsCuzHtRUmPHD2mADmMlaTq620bf0+9pI8PZdivp/lGHrK+9XCew5 K7SEMJt2/U3x7bP/4igJIzsowuI/Uow3E7ys+sqjEiOx32F98Nt+QmD9sRHBmibZ7qsQ2uIzD ZimB4Mz8h0/OXDozElIX4/+wLycdmA4i1MpMzFE0x0+uGkbZY1T4/UiwAlKu7dyN81EBwryZG 5hg6CW8vg9gBNa1NxGu3qdP8tIdOyyZ7j0nNqeI9lhoKfswaFbhnPHDpWmLTdH2bzxHdzPlsv 1sqgcj8VkvjqPmi08gBcwhypVz6RpphYUE2vP+8CUbaLGqxMT52Qr6Z5PysUFuV7yWZhsikMC CRZl9vNCqBRTYyh6/vuPQsxyx8MudNsXmfLGa/7yunPaK51Od8b5cl1a0itMJ+riZ6ZBT46SH ZStWxwopULRbYPY6kcemHMYSL0nJkz53bZqMwCWThTFpcoOi6IZ4pUhb9SirGRTReL0q44VsP O6aN5jGXfHg/RPNut/fOy6zfYdxYLpfnkITPXqC26pqDK3fVEEuUqX2WA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55943 Cc: Kuba Orlik , 55943@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.7 (-) --=-=-= Content-Type: text/plain Michael Heerdegen writes: > Wouldn't it make sense to make "calc-insert-register" work with number > valued registers? This seems to work: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-WIP-Allow-number-register-value-insertion-in-Calc.patch Content-Transfer-Encoding: quoted-printable =46rom 3368ead9b62e822e7e3927149c67c09caf17d55f Mon Sep 17 00:00:00 2001 From: Michael Heerdegen Date: Tue, 14 Jun 2022 13:26:06 +0200 Subject: [PATCH] WIP: Allow number register value insertion in Calc =2D-- lisp/calc/calc-yank.el | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el index e0ed098b70..8346061239 100644 =2D-- a/lisp/calc/calc-yank.el +++ b/lisp/calc/calc-yank.el @@ -266,14 +266,16 @@ calc-get-register "Return the CALCVAL portion of the contents of the Calc register REG, unless the TEXT portion doesn't match the contents of the Emacs register = REG, in which case either return the contents of the Emacs register (if it is -text) or nil." +text or a number) or nil." (let ((cval (cdr (assq reg calc-register-alist))) (val (cdr (assq reg register-alist)))) - (if (stringp val) - (if (and (stringp (car cval)) - (string=3D (car cval) val)) - (cdr cval) - val)))) + (cond + ((stringp val) + (if (and (stringp (car cval)) + (string=3D (car cval) val)) + (cdr cval) + val)) + ((numberp val) (number-to-string val))))) (defun calc-copy-to-register (register start end &optional delete-flag) "Copy the lines in the region into register REGISTER. =2D- 2.30.2 --=-=-= Content-Type: text/plain Would this make sense? Are there any number values that could cause problems? Michael. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 07:57:29 2022 Received: (at 55943) by debbugs.gnu.org; 14 Jun 2022 11:57:29 +0000 Received: from localhost ([127.0.0.1]:33242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o15Aj-0008Na-RE for submit@debbugs.gnu.org; Tue, 14 Jun 2022 07:57:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o15Af-0008NK-6e for 55943@debbugs.gnu.org; Tue, 14 Jun 2022 07:57:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=juKXHWmUOKscbOf9f8IyGrQ8+Mmgrp642dtY6XIbfEI=; b=VRJJMy94HhAtkz2YPsZhZMZpHs atM9yQd/rZAWOePSZEfITewkLd7jsYclEZ5Ux11tMPefywp5Ul5UwgF/gRdp+iEBCxaVPVMslHmxa sXwbHp1WDEgTZDxHJpQ0rYbK4/6YBTdEazRTjK3ceDOJPP5YDIZhdFQT3ujRXnvh2c6o=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o15AV-0005uu-Is; Tue, 14 Jun 2022 13:57:13 +0200 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#55943: Cannot insert registers in calc References: <87tu8orgyd.fsf@debian-cf> <87h74or3xk.fsf@gnus.org> <87mtef1p5m.fsf@web.de> <87fsk71o09.fsf@web.de> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXY2NqfXjEtLR7/ ///7eVvkAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YGDgs4NrcmFi8AAAFySURBVCjPTZKxTsQwDIZd pFbi9ruBnYWnKAPMBeFIzUxPqp+iDOwHUiqV6ZAu1dlPye+cTqJL8+W3f8dxqApmyfCpGRWI9pNj gSX1otFFwGq5gBjdhFUzj1JgY0uaTaUYbBD78R8mQhiYmitYhNsMaNwNQDuVaaPsdQEmh13uEJ6o bUy+np+6SmlLh7JF9NhRRaeNSuoOL7nFztkh/AbFmgZRSyGHswN/I4dHPlb6SIzmFkDbaCrgCorz BYKGNgAsmLiBOniLifVVXzITLkM++ak9drdMS1T5eCfUr5mG4M05NBc3AFVvg4MWZZvSValaxucg E+IhBFpX3AHViQfuSVdXaqw5ES4ScIsMnOACWA9wUxxnqrnvB47Uu7XDHtanPYrWYellTTTtXIlL NB1puoNBLYBZ6eBwL/3efoymB+TouE8SlY4PPsIBU5JM5mMGIz8AXMEYZ42EOxPLIwsehncq5YmI XTrFs9IwX2G1BT/+A3Q+/qA6ZSUkAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTE0VDExOjU2 OjU0KzAwOjAwbPjtJAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0xNFQxMTo1Njo1NCswMDow MB2lVZgAAAAASUVORK5CYII= X-Now-Playing: Liquid Liquid's _Optimo and The Loving Hand_: "Rubbermiro (Remix By The Loving Hand)" Date: Tue, 14 Jun 2022 13:57:10 +0200 In-Reply-To: <87fsk71o09.fsf@web.de> (Michael Heerdegen's message of "Tue, 14 Jun 2022 13:29:58 +0200") Message-ID: <874k0npieh.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Heerdegen writes: > Subject: [PATCH] WIP: Allow number register value insertion in Calc Makes sense to me. I've now reverted the doc change in Emacs 28 about this. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55943 Cc: Kuba Orlik , 55943@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 (---) Michael Heerdegen writes: > Subject: [PATCH] WIP: Allow number register value insertion in Calc Makes sense to me. I've now reverted the doc change in Emacs 28 about this. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 07:57:43 2022 Received: (at 55943) by debbugs.gnu.org; 14 Jun 2022 11:57:43 +0000 Received: from localhost ([127.0.0.1]:33245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o15B1-0008O5-1h for submit@debbugs.gnu.org; Tue, 14 Jun 2022 07:57:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o15Az-0008Nr-5Z for 55943@debbugs.gnu.org; Tue, 14 Jun 2022 07:57:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xUF90wiL/JDYozroBFWTLp+ep1JkaBMoHiXgbJ8YyjU=; b=tPVE2+a3d30eWk2tbRBet6jkvq keFbVN2rAWnY0jUHBs3TmGpOGr/d7H6qI6TyTl41GhIrBXRw3AQebyvcLPmSF++h5e2KNKYBzDVSG j/hsBBV9lgAX8VeZzWWE+Dib19pdO+s5UI+sa+DQS9sIBCBRJAUc2rTz83akTsEv7vLI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o15Aq-0005v9-8g; Tue, 14 Jun 2022 13:57:34 +0200 From: Lars Ingebrigtsen To: Kuba Orlik Subject: Re: bug#55943: Cannot insert registers in calc References: <87tu8orgyd.fsf@debian-cf> <87h74or3xk.fsf@gnus.org> <87fsk8lguk.fsf@kuba-orlik.name> <8735g8r33f.fsf@gnus.org> <87ilp3k8vl.fsf@kuba-orlik.name> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXY2NqfXjEtLR7/ ///7eVvkAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YGDgs4NrcmFi8AAAFySURBVCjPTZKxTsQwDIZd pFbi9ruBnYWnKAPMBeFIzUxPqp+iDOwHUiqV6ZAu1dlPye+cTqJL8+W3f8dxqApmyfCpGRWI9pNj gSX1otFFwGq5gBjdhFUzj1JgY0uaTaUYbBD78R8mQhiYmitYhNsMaNwNQDuVaaPsdQEmh13uEJ6o bUy+np+6SmlLh7JF9NhRRaeNSuoOL7nFztkh/AbFmgZRSyGHswN/I4dHPlb6SIzmFkDbaCrgCorz BYKGNgAsmLiBOniLifVVXzITLkM++ak9drdMS1T5eCfUr5mG4M05NBc3AFVvg4MWZZvSValaxucg E+IhBFpX3AHViQfuSVdXaqw5ES4ScIsMnOACWA9wUxxnqrnvB47Uu7XDHtanPYrWYellTTTtXIlL NB1puoNBLYBZ6eBwL/3efoymB+TouE8SlY4PPsIBU5JM5mMGIz8AXMEYZ42EOxPLIwsehncq5YmI XTrFs9IwX2G1BT/+A3Q+/qA6ZSUkAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA2LTE0VDExOjU2 OjU0KzAwOjAwbPjtJAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNi0xNFQxMTo1Njo1NCswMDow MB2lVZgAAAAASUVORK5CYII= X-Now-Playing: Liquid Liquid's _Optimo and The Loving Hand_: "Rubbermiro (Remix By The Loving Hand)" Date: Tue, 14 Jun 2022 13:57:31 +0200 In-Reply-To: <87ilp3k8vl.fsf@kuba-orlik.name> (Kuba Orlik's message of "Tue, 14 Jun 2022 09:21:44 +0200") Message-ID: <87zgifo3tg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Kuba Orlik writes: > Should I report it separately? No, I reopened this bug report. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55943 Cc: 55943@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 (---) Kuba Orlik writes: > Should I report it separately? No, I reopened this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 16 13:17:16 2022 Received: (at 55943-done) by debbugs.gnu.org; 16 Jun 2022 17:17:16 +0000 Received: from localhost ([127.0.0.1]:43043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1t7M-0007Fi-3E for submit@debbugs.gnu.org; Thu, 16 Jun 2022 13:17:16 -0400 Received: from mout.web.de ([217.72.192.78]:34867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1t7I-0007FT-SY for 55943-done@debbugs.gnu.org; Thu, 16 Jun 2022 13:17:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1655399825; bh=oKERzgitXzdE6iLMBvrC4Hp3w2UKf7c5Hza8MGad07A=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=OezQaj13NVRLhOICZh7yiqJr0tDtVftMRzCpgadcgVHw1xuwEm7oB4JF6Sjk9KmwY FdOVmlhD6mee5AhbJpSD042YWXWxHHQHKeltuFRDV5iN1TdcxY1AIEZVzxyyAMAdgX Azq85mdd1UqEOOoSRP7qtPShKChQaLxUFw53AwwY= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.60.174.246]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MlL9z-1nIccG2WTt-00lkAs; Thu, 16 Jun 2022 19:17:05 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#55943: Cannot insert registers in calc References: <87tu8orgyd.fsf@debian-cf> <87h74or3xk.fsf@gnus.org> <87mtef1p5m.fsf@web.de> <87fsk71o09.fsf@web.de> <874k0npieh.fsf@gnus.org> Date: Thu, 16 Jun 2022 19:17:04 +0200 In-Reply-To: <874k0npieh.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 14 Jun 2022 13:57:10 +0200") Message-ID: <87edzo8r5b.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:UrO6TRhddy2xsGxilE5HN9RylWT6iqF52/rmh1jlmQjWTe33ua6 nHAItODBnnhXbKN5h1PXDHZu7mv2mDkAEWMzjoMR4KzqhDPDzeEZ62ZKHwI2Y8W+25jUMKw QJMYPSihf0ltZFAXBDYr8JX4pKx2j/1oEgRQmXWWrPFyjcMdWQmuu8YE7zolC1+Fa1Ii349 BB3zAUXUNXhXta533EAeA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5RK1qiYPJ60=:+2krflE7UYFksC6+9kGSNu cA7jV9/j7ij8inKfqjY24uRPJNT7dJMrJzE0V7rNx+kvnUr7iTqKQoqftv5wOGJ6Id5KjbnSN LPVz9RIffu7k4UoTBMtaaZlT1phSxLwIMU5qDN6vyYaJdMihMNDWYZwvXlb89YvdBvxes0BC2 YqeO2f6fFcC33tHGC40t1mBp631TvOBMoy2v2EHWLqMq2qbhA4PYYCBFdC8lpQqZH25afkKBg MRNA5wRrSy9sLuhPJT2GZJRYwZ+Jcs6Mcg0TDbvmawxmmSLZ7/3iccT7r2HdJYRiMZzCZVmu1 DA+DPbcNYUSWTgRRaBhZXd9NMBjvjB+bKHjCg8pgWe/KhEtcXWKeIjKMNSTlKJ/LyQIQH7fm8 XcV3Vws1hLdlH6CJWW6pd0cfl694oVm33gze8t25SODitOgYB9nPBv9Teojn1Uc7bGhsXqRXE Sjx6cvY5nnkWWXQolSVo8vY539X8RNQEQFcC1DbScVhLqTr1fbPbZ1i2qefN0ePXBximgBrtT 5wkMbL6K40FZA/MNufV8usAfQvvinitkS/u8fZQWTeuScjTHTlGufabb0fF4cx9ktb6/UFvXQ qc4r8UEhNzAlDTYqHNi+YgxFSBk2RBq7Te6IzRz5YJA+w/gIbJwN2FLec4ylIBD6nGUedeBaO ESIa0VPUPw8800W2TjTBe5bOHwyIUGhVq1a2rCJyP2BpPJElO7aldh3cUp89pvVeLq4DTZrc6 Dc2oc+nMQ17hqgMLQFcQUtaHXLiHPALywgnzVaAb5WEs0INhmWqXc1UImb+PbrqtmgzE8OKnx KQnXAF/4OA7qB8wjcBZmVFVJgKlJYT9jFsgxFyIOinwoj7Bk0alZA5EbIHoTUFiIA+uZDy5xv rQ3x5EFpb5/erBrXRjNLTGEcxUEeN3FkLLpARh2ebLFsllDK30MfUbinDK3HHkYFx3l4CIkjz /lZNoTuk6xusHCS5zZHQVz7VDDC+8UJAFUrU1HINkaI2TE+1CAsoJT6ggt1LoK1yVEYVP2PXO lOdDqTWLxfO6EH8VsDOk5IFvxtMP69P772OHgL4d6vO1TTXXTVgVyJJP6/3/4vO1xyRmE5Gni XfnzkkdeHpsAzRITuF++S664mzusvDunbCGbjDQ4ki3ojfQUZktdWudYQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55943-done Cc: 55943-done@debbugs.gnu.org, Kuba Orlik 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.7 (-) Lars Ingebrigtsen writes: > > Subject: [PATCH] WIP: Allow number register value insertion in Calc > > Makes sense to me. I've now reverted the doc change in Emacs 28 about > this. Thanks. I've now committed my suggested patch (which fixes this problem) to master and am closing this report. Side note: AFAIK number registers can only be initialized with integer values, so the use of this change is limited. Thanks, Michael. From unknown Fri Jun 20 07:23:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 15 Jul 2022 11:24:07 +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