unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: 24612@debbugs.gnu.org
Subject: bug#24612: 26.0.50; calc: insertion/deletion of chars not at point in calc minibuffer
Date: Tue, 25 Jun 2019 02:00:05 +0200	[thread overview]
Message-ID: <m3a7e6h6uy.fsf@gnus.org> (raw)
In-Reply-To: <alpine.DEB.2.20.1610042031220.2277@calancha-pc> (Tino Calancha's message of "Tue, 4 Oct 2016 20:32:18 +0900 (JST)")

Tino Calancha <tino.calancha@gmail.com> writes:

> It is very counter-intuitive how to modify things in the calc minibuffer.
> Insertions and deletions are respect to the digit in the right hand side.
> You can set the point before any digit, but <backspace> will always delete
> the last one.
>
> emacs -Q
>
> M-x calc RET
> 9123
> I) C-a C-d ; Delete 3 instead of 9, number:912
> II) C-b C-b; Point is right after 9.
> III) <backspace> ; Delete 2 instead of 9, number: 91
> IV) C-a 8 ; Number: 918 instead of 891.

Yes, that's supremely confusing.  I don't think anything else in Emacs
works this way?

> I find easier if the behaviour is as follows:
> M-x calc RET
> 9123
> I) C-a C-d ; number: 123
> II) C-e C-b ; Point is right after 2.
> III) <backspace> ; number: 13
> IV) C-a 8 ; number: 813

I think I) here sounds a bit unusual, too.  Wouldn't it be better if
that just gave an error as normal?

But, anyway, I'm guessing this behavior is on purpose.  I'm not a calc
user, but is there anybody here who are?  And are attached to the
current way this works?  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-06-25  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 11:32 bug#24612: 26.0.50; calc: insertion/deletion of chars not at point in calc minibuffer Tino Calancha
2019-06-25  0:00 ` Lars Ingebrigtsen [this message]
2020-08-11 13:42   ` Lars Ingebrigtsen

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=m3a7e6h6uy.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=24612@debbugs.gnu.org \
    --cc=tino.calancha@gmail.com \
    /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).