From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@linkov.net>
Cc: "Pål Grønås Drange" <paal.drange@gmail.com>, 20070@debbugs.gnu.org
Subject: bug#20070: 24.3; have commands such as downcase-region act on a rectangle region
Date: Tue, 24 Mar 2015 20:37:22 -0400 [thread overview]
Message-ID: <jwv4mp9syrr.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87zj7b5s9t.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 17 Mar 2015 21:38:06 +0200")
> I still have doubts about the API, but anyway here is the implementation
> that (ab)uses the first arg BEG:
That looks OK, thanks.
I'm tempted to say that "r" should do (funcall region-extract-function
'positions), and fallback to passing the result as 2 separate positions
if the result is a singleton list. Also, if we change "r" then I think
it might make sense to pass a special value in the second arg to be more
explicit then just nil (e.g. pass :split-region).
Stefan
next prev parent reply other threads:[~2015-03-25 0:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 1:06 bug#20070: 24.3; have commands such as downcase-region act on a rectangle region Pål Grønås Drange
2015-03-11 20:28 ` Stefan Monnier
2015-03-12 19:23 ` Juri Linkov
2015-03-14 16:31 ` Stefan Monnier
2015-03-15 20:34 ` Juri Linkov
2015-03-15 20:41 ` Eli Zaretskii
2015-03-16 11:49 ` Nicolas Richard
2015-03-16 13:14 ` Stefan Monnier
2015-03-16 20:55 ` Juri Linkov
2015-03-16 22:07 ` Stefan Monnier
2015-03-16 13:19 ` Stefan Monnier
2015-03-16 20:58 ` Juri Linkov
2015-03-16 22:08 ` Stefan Monnier
2015-03-17 19:38 ` Juri Linkov
2015-03-25 0:37 ` Stefan Monnier [this message]
2015-03-25 21:42 ` Juri Linkov
2015-03-17 7:10 ` Eli Zaretskii
2015-06-30 20:44 ` Juri Linkov
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=jwv4mp9syrr.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=20070@debbugs.gnu.org \
--cc=juri@linkov.net \
--cc=paal.drange@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).