From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 06 02:24:13 2017 Received: (at submit) by debbugs.gnu.org; 6 Jan 2017 07:24:13 +0000 Received: from localhost ([127.0.0.1]:44384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPOsn-0006lX-7T for submit@debbugs.gnu.org; Fri, 06 Jan 2017 02:24:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPOsl-0006lC-W3 for submit@debbugs.gnu.org; Fri, 06 Jan 2017 02:24:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPOsf-0006qt-Os for submit@debbugs.gnu.org; Fri, 06 Jan 2017 02:24:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: **** X-Spam-Status: No, score=4.2 required=5.0 tests=BAYES_50,DATE_IN_PAST_96_XX, FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cPOsf-0006qp-Lg for submit@debbugs.gnu.org; Fri, 06 Jan 2017 02:24:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPOse-0000cp-9v for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 02:24:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPOsZ-0006ol-BM for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 02:24:04 -0500 Received: from mail-pg0-x22e.google.com ([2607:f8b0:400e:c05::22e]:36568) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cPOsZ-0006lC-4d for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 02:23:59 -0500 Received: by mail-pg0-x22e.google.com with SMTP id f188so249236530pgc.3 for ; Thu, 05 Jan 2017 23:23:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mail-followup-to :mime-version; bh=V35yzSTh0Rm7BHLxlQpVCw7TCTANJIw0IeI/4uILoog=; b=lehwhN64qdFbujnQVl6fPprePydsTsrcLNJnGXuvvJJCIvu/4aPDALMK5R8G7sfWbF Q8OM3xghaApwJG9/WcFi9ft6kfKFyyNUmcgVxGGUUB2daWe59NgkKi/iB0D9isc83hLn XMkr1mQ1qE9M6bIPG+idHN+7mYTM5sYsSXKOyACXAsOGx7uuiEJg2R/l1pywI53IY6wj h6+DzfqSnaP3ZsSSAvmJn0oHbfO7SXgWXlZIqdK+tt0rBMsXS8oxLHGrP7qH/j4oCE4j yMJ313iruWJn9/dfU/n2tJVyKbsHmrk6nFAI/F5yHBz3ZbVfOpiM+KVDWBoMtzgVjmbR 9/zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mail-followup-to:mime-version; bh=V35yzSTh0Rm7BHLxlQpVCw7TCTANJIw0IeI/4uILoog=; b=k/PwNYE4a8yQ2ew+UE/zGMhsM8F3K52s5Ow3O2MGgqP/gDx6VNwy0mN7eLe5d6znko b7sOKkPqU7Xd7uO8hsGyAgCMQlcpJsUZvP7pKeVEMJao/rCXGOWnTXuqudvVp1gygQcr ePbmZaAr9AymzYrCqBCqXmzZYSLpnJuzZSf4JrWvNLN52b1nUylQp85v4ccNkdMGi1pa mBorYNiZoSQTjcQ+ExEsdE9jPxaJhelmKqyYEyUaL7il6LfrM7o46hfIBG4zvP+RcZ1r EGCTOrg0Pe6atJxr1K5HDCS3dwHK8wvYGaLhBKffyLC4pWY3vyisxUZG8fpkY/ZlyvNK WT0g== X-Gm-Message-State: AIkVDXJxtl1NML0jnxlw7ib0H8CUnMPmghb3D6o6siV0JlwYBSMjiZcUyWOG24WZUtu24g== X-Received: by 10.99.99.68 with SMTP id x65mr2090832pgb.126.1483687433821; Thu, 05 Jan 2017 23:23:53 -0800 (PST) Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id s65sm159436055pgb.25.2017.01.05.23.23.52 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jan 2017 23:23:52 -0800 (PST) From: John Wiegley X-Google-Original-From: "John Wiegley" Received: by Vulcan.local (Postfix, from userid 501) id 0D15E6CE1D4; Thu, 5 Jan 2017 23:24:10 -0800 (PST) To: bug-gnu-emacs@gnu.org Subject: 25.1.91; bug Date: Sun, 28 Aug 2011 00:51:56 +0800 (5 years, 18 weeks, 6 days ago) Message-ID: User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.91 (darwin) Mail-Followup-To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) From: Le Wang It doesn't look right to me that auto region selection is not accessible interactively. The interactive "r" form is quite broken, so you may want to fix it in other interactive forms as well. Unless there is a good reason you left it this way? diff -u -b -B c\:/emacs/emacs-23.3/lisp/align.el c\:/Users/Le/cygwin_home/tmp/align_region_patch.el --- c:/emacs/emacs-23.3/lisp/align.el 2011-01-08 12:45:14.000000000 +0800 +++ c:/Users/Le/cygwin_home/tmp/align_region_patch.el 2011-08-28 00:39:51.336490900 +0800 @@ -857,11 +857,11 @@ ;;;###autoload (defun align (beg end &optional separate rules exclude-rules) "Attempt to align a region based on a set of alignment rules. -BEG and END mark the region. If BEG and END are specifically set to -nil (this can only be done programmatically), the beginning and end of -the current alignment section will be calculated based on the location -of point, and the value of `align-region-separate' (or possibly each -rule's `separate' attribute). +BEG and END mark the region. If no region is active, the +beginning and end of the current alignment section will be +calculated based on the location of point, and the value of +`align-region-separate' (or possibly each rule's `separate' +attribute). If SEPARATE is non-nil, it overrides the value of `align-region-separate' for all rules, except those that have their @@ -871,7 +871,9 @@ default rule lists defined in `align-rules-list' and `align-exclude-rules-list'. See `align-rules-list' for more details on the format of these lists." - (interactive "r") + (interactive (if (use-region-p) + (list (region-beginning) (region-end)) + (list nil nil))) (let ((separator (or separate (if (and (symbolp align-region-separate) -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 06 03:02:07 2017 Received: (at submit) by debbugs.gnu.org; 6 Jan 2017 08:02:07 +0000 Received: from localhost ([127.0.0.1]:44423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPPTT-0007jT-2D for submit@debbugs.gnu.org; Fri, 06 Jan 2017 03:02:07 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPPTR-0007j0-KY for submit@debbugs.gnu.org; Fri, 06 Jan 2017 03:02:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPPTL-00039V-Ne for submit@debbugs.gnu.org; Fri, 06 Jan 2017 03:02:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cPPTL-00039Q-Ku for submit@debbugs.gnu.org; Fri, 06 Jan 2017 03:01:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPPTK-0001FL-HM for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 03:01:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPPTF-00038g-LV for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2017 03:01:58 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPPTF-00038c-J4; Fri, 06 Jan 2017 03:01:53 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4204 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cPPTE-00068n-Or; Fri, 06 Jan 2017 03:01:53 -0500 Date: Fri, 06 Jan 2017 10:02:11 +0200 Message-Id: <83inpsd3b0.fsf@gnu.org> From: Eli Zaretskii To: John Wiegley , Le Wang In-reply-to: (message from John Wiegley on Sun, 28 Aug 2011 00:51:56 +0800 (5 years, 18 weeks, 6 days ago)) Subject: Re: bug#25374: 25.1.91; bug References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) > From: John Wiegley > Date: Sun, 28 Aug 2011 00:51:56 +0800 (5 years, 18 weeks, 6 days ago) > > From: Le Wang > > It doesn't look right to me that auto region selection is not > accessible interactively. The interactive "r" form is quite broken, > so you may want to fix it in other interactive forms as well. Unless > there is a good reason you left it this way? Sorry, I don't think I understand this part. Please elaborate what is broken in the interactive "r" form. > - (interactive "r") > + (interactive (if (use-region-p) > + (list (region-beginning) (region-end)) > + (list nil nil))) This is not an equivalent change: the previous code would use the region even if it was not active (i.e. transient-mark-mode is off), the new code will think there's no region in that case. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 06 08:41:17 2017 Received: (at control) by debbugs.gnu.org; 6 Jan 2017 13:41:18 +0000 Received: from localhost ([127.0.0.1]:44547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPUlh-00012X-O3 for submit@debbugs.gnu.org; Fri, 06 Jan 2017 08:41:17 -0500 Received: from mail-io0-f169.google.com ([209.85.223.169]:33232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPUlf-00012F-EL for control@debbugs.gnu.org; Fri, 06 Jan 2017 08:41:16 -0500 Received: by mail-io0-f169.google.com with SMTP id v96so32511934ioi.0 for ; Fri, 06 Jan 2017 05:41:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Qg+OQ53B/S4XQ1+FeZoRtEkftCJuf3Li0/mfV8dUtLs=; b=acU8T3VlfeY2Uxyo03Xh/WBrcFTE47LCt7EJOtwOtzmQ8ENp3mn3AvB6PWJrGIYN+q r3VT4JOTvKNo5AiV5JJQkeeY5DTYZszfEyjjg9AsoD11UiIpzhk+vyab5fthtjSSXF6W 2VmHQ50iDPmsbDMq4xFvY1e45/nUKyInz6f0zV5K6pgHphCOwt+pl4YVx5+og8Fy096C +1rxe/FNngrgA4FhRjl8yL5YmOg9f4BzaPRAgj0w8utMZMLGPlibN8NR0ezTTuvovzoE OIWZsRo3ZE9RmfroQKBM7r5Cev72eyVanJlpT028FTjOkjzs+nwbSiVM6+TmiUNcLoT5 5rtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Qg+OQ53B/S4XQ1+FeZoRtEkftCJuf3Li0/mfV8dUtLs=; b=MzBPlkXF27qgr+rpcjjwigyqiLFOEip+f1BOZeGFDWEgJvyp+v4Jvzo9W8ixdN1yB4 TpWvIDv84v85FUirEJle/y+1Mu++9ekIn9i+iIElsiKxNZ90DfXMy1LkB5PplFjDlZKh 6/O3+1ui1e8AhXP3sUk+QIcIK95ArW/OwAkgQ34THLuMj7n2ef00sVGEGnOLRr2eFX/2 wXDikZ1VIrzqe2E/3M+4W+ioZoAp10XtY62Q0PezZqjtbCFOLoZGiO55p+AXQRzowx5O BB2NVRRpvqZ7O7DfpXrTcfsL7VRa//qyOUUXoxTq0wVSNjUoaxbwNflOwqiEnSJ/XVkw OlKA== X-Gm-Message-State: AIkVDXIUo0N7CwXQVVUMa6C9PtgF7z8QrgxyrAPQZWAM2dfHAGOGsRUbAiSrDcIe+WlYMA== X-Received: by 10.107.27.75 with SMTP id b72mr39150685iob.91.1483710069551; Fri, 06 Jan 2017 05:41:09 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 68sm1408596itm.16.2017.01.06.05.41.08 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Jan 2017 05:41:08 -0800 (PST) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: Re: bug#25374: 25.1.91; bug References: <83inpsd3b0.fsf@gnu.org> Date: Fri, 06 Jan 2017 08:42:11 -0500 In-Reply-To: <83inpsd3b0.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Jan 2017 10:02:11 +0200") Message-ID: <877f68485o.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) retitle 25374 align command can't use align-region-separate interactively tags 25374 moreinfo quit Eli Zaretskii writes: >> From: John Wiegley >> Date: Sun, 28 Aug 2011 00:51:56 +0800 (5 years, 18 weeks, 6 days ago) >> >> From: Le Wang >> >> It doesn't look right to me that auto region selection is not >> accessible interactively. The interactive "r" form is quite broken, >> so you may want to fix it in other interactive forms as well. Unless >> there is a good reason you left it this way? > > Sorry, I don't think I understand this part. Please elaborate what is > broken in the interactive "r" form. > >> - (interactive "r") >> + (interactive (if (use-region-p) >> + (list (region-beginning) (region-end)) >> + (list nil nil))) > > This is not an equivalent change: the previous code would use the > region even if it was not active (i.e. transient-mark-mode is off), > the new code will think there's no region in that case. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 08 14:46:53 2019 Received: (at control) by debbugs.gnu.org; 8 Jan 2019 19:46:53 +0000 Received: from localhost ([127.0.0.1]:50376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggxKt-0006vS-Ny for submit@debbugs.gnu.org; Tue, 08 Jan 2019 14:46:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggxKr-0006qA-K0 for control@debbugs.gnu.org; Tue, 08 Jan 2019 14:46:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggxKm-00063B-2m for control@debbugs.gnu.org; Tue, 08 Jan 2019 14:46:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggxKl-00062x-WC for control@debbugs.gnu.org; Tue, 08 Jan 2019 14:46:44 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ggxKl-0005n5-Ty for control@debbugs.gnu.org; Tue, 08 Jan 2019 14:46:43 -0500 Subject: control message for bug 25374 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 08 Jan 2019 14:46:43 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:470:142:3::e X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tag 25374 + wontfix close 25374 From unknown Sun Jun 22 07:35:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 06 Feb 2019 12:24:15 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator