GNU bug report logs - #20070
24.3; have commands such as downcase-region act on a rectangle region

Previous Next

Package: emacs;

Reported by: Pål Grønås Drange <paal.drange <at> gmail.com>

Date: Tue, 10 Mar 2015 02:20:02 UTC

Severity: normal

Merged with 19829, 20626

Found in versions 24.3, 25.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Pål Grønås Drange <paal.drange <at> gmail.com>,
 20070 <at> debbugs.gnu.org
Subject: Re: bug#20070: 24.3;
 have commands such as downcase-region act on a rectangle region
Date: Thu, 12 Mar 2015 21:23:58 +0200
> While this is not the same bug as bug#19829, it's fundamentally the same
> issue, and they should be fixed in the same way.

Currently, `downcase-region' is defined with the interactive spec 'r'
that calls the function with point and mark as 2 args.

For backward-compatibility reasons this can't be changed.  So maybe
a new interactive spec e.g. 'R' should call the function with 2 lists
where the first list will contain a list of beginnings of all intervals
in the rectangular region, and the second list of endings of intervals?

Then a command using it will need to add another outermost loop to pop
interval boundaries from both list arguments `begs' and `ends' to process
intervals using the same logic like it processes a single region now.




This bug report was last modified 9 years and 195 days ago.

Previous Next


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