From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#20070: 24.3; have commands such as downcase-region act on a rectangle region Date: Mon, 16 Mar 2015 22:58:56 +0200 Organization: LINKOV.NET Message-ID: <877fugr6yn.fsf@mail.linkov.net> References: <87bnjyf29d.fsf@mail.linkov.net> <87h9tmov9h.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426539929 32493 80.91.229.3 (16 Mar 2015 21:05:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2015 21:05:29 +0000 (UTC) Cc: =?UTF-8?Q?P=C3=A5l_?= =?UTF-8?Q?Gr=C3=B8n=C3=A5s?= Drange , 20070@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 16 22:05:18 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YXcCL-0003Pv-MZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Mar 2015 22:05:17 +0100 Original-Received: from localhost ([::1]:51693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXcCK-0004vJ-V9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Mar 2015 17:05:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXcCF-0004rL-RY for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2015 17:05:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXcC7-0006Ac-Ur for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2015 17:05:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXcC7-0006AD-Rh for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2015 17:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YXcC7-0002V9-At for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2015 17:05:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Mar 2015 21:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20070 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20070-submit@debbugs.gnu.org id=B20070.14265398659552 (code B ref 20070); Mon, 16 Mar 2015 21:05:03 +0000 Original-Received: (at 20070) by debbugs.gnu.org; 16 Mar 2015 21:04:25 +0000 Original-Received: from localhost ([127.0.0.1]:48993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YXcBV-0002Tz-8n for submit@debbugs.gnu.org; Mon, 16 Mar 2015 17:04:25 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:45512 helo=homiemail-a21.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YXcBS-0002Tk-SE for 20070@debbugs.gnu.org; Mon, 16 Mar 2015 17:04:23 -0400 Original-Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 6F24630006C; Mon, 16 Mar 2015 14:04:22 -0700 (PDT) Original-Received: from localhost.linkov.net (85.253.154.98.cable.starman.ee [85.253.154.98]) (Authenticated sender: jurta@jurta.org) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPA id 5B574300064; Mon, 16 Mar 2015 14:04:21 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Mon, 16 Mar 2015 09:19:12 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100569 Archived-At: >> If the command used region-beginning and region-end, this means >> changing them to e.g. plural region-beginnings and region-ends. > > Here again, I'd rather use a list of pairs than a pair of lists, so we > wouldn't want to have 2 functions (one to get the list of beginnings > and another to get the list of ends). A list of pairs would be much cleaner, indeed. The problem is that there are 2 arguments already in region-handling commands: BEG and END. Using one of them for a list of pairs, and leaving another unused is not a nice thing to do.