From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: TAB when the region is active Date: Sun, 23 Sep 2007 18:09:32 -0700 Message-ID: References: <871wcokiuq.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190596220 21593 80.91.229.12 (24 Sep 2007 01:10:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2007 01:10:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juri Linkov" , "Dan Nicolaescu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 24 03:10:15 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IZcSf-00038g-0W for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2007 03:10:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZcSc-0007pS-Fj for ged-emacs-devel@m.gmane.org; Sun, 23 Sep 2007 21:10:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZcSX-0007ly-6T for emacs-devel@gnu.org; Sun, 23 Sep 2007 21:10:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZcSU-0007iN-MX for emacs-devel@gnu.org; Sun, 23 Sep 2007 21:09:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZcSU-0007i4-Gy for emacs-devel@gnu.org; Sun, 23 Sep 2007 21:09:58 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IZcSU-0000p2-4b for emacs-devel@gnu.org; Sun, 23 Sep 2007 21:09:58 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l8O19qnS002852; Sun, 23 Sep 2007 20:09:52 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id l8O0rr0K030679; Sun, 23 Sep 2007 19:09:51 -0600 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-80-220.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3238453951190596148; Sun, 23 Sep 2007 18:09:08 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <871wcokiuq.fsf@jurta.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79649 Archived-At: > What would be useful to do in text modes is to make a similar change for > M-q (`fill-paragraph'). When the region is active in transient-mark-mode, > then M-q would call `fill-region' instead of `fill-paragraph'. I'm not so sure. There are several possibilities. A case could be made for any of them to play the role you see for `fill-region': . fill-region - Fill each paragraph in the region. . fill-region-as-paragraph - Fill the region as one paragraph. . fill-individual-paragraphs - Fill paragraphs of uniform indentation within the region. . fill-nonuniform-paragraphs - Fill paragraphs within the region, allowing varying indentation within each.