From: "Mattias Engdegård" <mattiase@acm.org>
To: 39040@debbugs.gnu.org
Cc: Michel Schinz <michel@schi.nz>
Subject: bug#39040: 26.3; calc: interval forms entry not working with single digits
Date: Fri, 10 Jan 2020 12:05:56 +0100 [thread overview]
Message-ID: <77A4EF1F-E21D-4B56-A22B-D3F76CDC8A48@acm.org> (raw)
In-Reply-To: <13cd0dab-2929-4223-b503-7921c25546e2@www.fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 67 bytes --]
Hello Michel,
Thanks for the report. Maybe this patch will help?
[-- Attachment #2: calc-interval-entry.diff --]
[-- Type: application/octet-stream, Size: 426 bytes --]
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el
index d299c5bf5d..b519559330 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -2288,7 +2288,7 @@ calcDigit-start
(calc-alg-digit-entry)
(setq calc-aborted-prefix nil)
(let* ((calc-digit-value nil)
- (calc-prev-char nil)
+ (calc-prev-char last-command-event)
(calc-prev-prev-char nil)
(calc-buffer (current-buffer))
(buf
next prev parent reply other threads:[~2020-01-10 11:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 15:09 bug#39040: 26.3; calc: interval forms entry not working with single digits Michel Schinz
2020-01-10 11:05 ` Mattias Engdegård [this message]
2020-01-10 18:27 ` Michel Schinz
2020-01-10 19:03 ` Mattias Engdegård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=77A4EF1F-E21D-4B56-A22B-D3F76CDC8A48@acm.org \
--to=mattiase@acm.org \
--cc=39040@debbugs.gnu.org \
--cc=michel@schi.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).