GNU bug report logs - #50403
27.2; calc-grab-region should check rectangle-mark-mode

Previous Next

Package: emacs;

Reported by: Howard Melman <hmelman <at> gmail.com>

Date: Sun, 5 Sep 2021 16:25:01 UTC

Severity: normal

Found in version 27.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50403 in the body.
You can then email your comments to 50403 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50403; Package emacs. (Sun, 05 Sep 2021 16:25:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Howard Melman <hmelman <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 05 Sep 2021 16:25:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Howard Melman <hmelman <at> gmail.com>
To: GNU Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 27.2; calc-grab-region should check rectangle-mark-mode
Date: Sun, 5 Sep 2021 12:24:43 -0400
calc-grab-region should check if rectangle-mark-mode is
non-nil and if so it should behave as calc-grab-rectangle
otherwise it should work as it does.

This would allow a single keybinding of calc-grab-region to
serve both purposes for those users that use
rectangle-mark-mode. 

In GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, Carbon Version 158 AppKit 1671.6)
of 2021-03-27 built on Traviss-Mac.local

-- 

Howard




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50403; Package emacs. (Mon, 06 Sep 2021 09:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 50403 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Howard Melman <hmelman <at> gmail.com>
Cc: Mattias Engdegård <mattiase <at> acm.org>,
 50403 <at> debbugs.gnu.org
Subject: Re: bug#50403: 27.2; calc-grab-region should check rectangle-mark-mode
Date: Mon, 06 Sep 2021 11:19:19 +0200
Howard Melman <hmelman <at> gmail.com> writes:

> calc-grab-region should check if rectangle-mark-mode is
> non-nil and if so it should behave as calc-grab-rectangle
> otherwise it should work as it does.
>
> This would allow a single keybinding of calc-grab-region to
> serve both purposes for those users that use
> rectangle-mark-mode. 

I think that sounds reasonable, but I don't use calc much myself.  I've
added Mattias to the CCs; perhaps he has an opinion here.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50403; Package emacs. (Mon, 06 Sep 2021 09:38:02 GMT) Full text and rfc822 format available.

Message #11 received at 50403 <at> debbugs.gnu.org (full text, mbox):

From: Mattias Engdegård <mattiase <at> acm.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Howard Melman <hmelman <at> gmail.com>, 50403 <at> debbugs.gnu.org
Subject: Re: bug#50403: 27.2; calc-grab-region should check rectangle-mark-mode
Date: Mon, 6 Sep 2021 11:37:18 +0200
6 sep. 2021 kl. 11.19 skrev Lars Ingebrigtsen <larsi <at> gnus.org>:

> I think that sounds reasonable, but I don't use calc much myself.  I've
> added Mattias to the CCs; perhaps he has an opinion here.

Only that he agrees with the previous speakers!

For that matter, in an ideal world the Emacs region/selection would be:

(1) independent of point and mark
(2) of arbitrary shape (linear, rectangular, possibly discontiguous)
(3) represented by an abstract object type in Lisp

and all operations on the region should be able to cope with any shape, with useful behaviour for special cases.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50403; Package emacs. (Mon, 06 Sep 2021 10:57:02 GMT) Full text and rfc822 format available.

Message #14 received at 50403 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mattias Engdegård <mattiase <at> acm.org>
Cc: Howard Melman <hmelman <at> gmail.com>, 50403 <at> debbugs.gnu.org
Subject: Re: bug#50403: 27.2; calc-grab-region should check rectangle-mark-mode
Date: Mon, 06 Sep 2021 12:56:43 +0200
Mattias Engdegård <mattiase <at> acm.org> writes:

> 6 sep. 2021 kl. 11.19 skrev Lars Ingebrigtsen <larsi <at> gnus.org>:
>
>> I think that sounds reasonable, but I don't use calc much myself.  I've
>> added Mattias to the CCs; perhaps he has an opinion here.
>
> Only that he agrees with the previous speakers!

OK; I've now pushed this change to Emacs 28.

> For that matter, in an ideal world the Emacs region/selection would be:
>
> (1) independent of point and mark
> (2) of arbitrary shape (linear, rectangular, possibly discontiguous)
> (3) represented by an abstract object type in Lisp
>
> and all operations on the region should be able to cope with any
> shape, with useful behaviour for special cases.

Indeed.  It's a bit ad hoc currently.

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




bug marked as fixed in version 28.1, send any further explanations to 50403 <at> debbugs.gnu.org and Howard Melman <hmelman <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 06 Sep 2021 10:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50403; Package emacs. (Mon, 06 Sep 2021 11:23:01 GMT) Full text and rfc822 format available.

Message #19 received at 50403 <at> debbugs.gnu.org (full text, mbox):

From: Mattias Engdegård <mattiase <at> acm.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Howard Melman <hmelman <at> gmail.com>, 50403 <at> debbugs.gnu.org
Subject: Re: bug#50403: 27.2; calc-grab-region should check rectangle-mark-mode
Date: Mon, 6 Sep 2021 13:22:41 +0200
6 sep. 2021 kl. 12.56 skrev Lars Ingebrigtsen <larsi <at> gnus.org>:

> OK; I've now pushed this change to Emacs 28.

Thank you!





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 04 Oct 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.