From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34858: indent-relative called with prefix calls tab-to-tab-stop Date: Thu, 14 Mar 2019 22:18:56 +0200 Message-ID: <83lg1h1a6n.fsf@gnu.org> References: <871s39mpu6.fsf@gmail.com> <83wol11m5b.fsf@gnu.org> <87o96d5rrn.fsf@gmail.com> <83tvg51ghz.fsf@gnu.org> <87k1h15lob.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="32677"; mail-complaints-to="usenet@blaine.gmane.org" Cc: alex.branham@gmail.com, 34858@debbugs.gnu.org To: Alex Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 14 21:26:27 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4Wvo-0008IB-JZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Mar 2019 21:26:24 +0100 Original-Received: from localhost ([127.0.0.1]:44573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4Wvn-0006Pn-IM for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Mar 2019 16:26:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4Wpg-0001WN-K5 for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2019 16:20:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4Wpe-0004Bd-GR for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2019 16:20:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58793) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4Wpe-0004BL-3l for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2019 16:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h4Wpd-0000bk-LB for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2019 16:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Mar 2019 20:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34858 X-GNU-PR-Package: emacs Original-Received: via spool by 34858-submit@debbugs.gnu.org id=B34858.15525947882310 (code B ref 34858); Thu, 14 Mar 2019 20:20:01 +0000 Original-Received: (at 34858) by debbugs.gnu.org; 14 Mar 2019 20:19:48 +0000 Original-Received: from localhost ([127.0.0.1]:44104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4WpQ-0000bA-Jz for submit@debbugs.gnu.org; Thu, 14 Mar 2019 16:19:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4WpO-0000aw-0x for 34858@debbugs.gnu.org; Thu, 14 Mar 2019 16:19:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4WpI-00043i-Jr; Thu, 14 Mar 2019 16:19:40 -0400 Original-Received: from [176.228.60.248] (port=2219 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h4WpB-0000q5-HU; Thu, 14 Mar 2019 16:19:37 -0400 In-reply-to: <87k1h15lob.fsf@gmail.com> (message from Alex on Thu, 14 Mar 2019 12:57:08 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:156355 Archived-At: > From: Alex > Cc: alex.branham@gmail.com, 34858@debbugs.gnu.org > Date: Thu, 14 Mar 2019 12:57:08 -0600 > > Sorry, I wasn't clear. I meant that the special case here could be > considered (trivially) equivalent to the case where the previous > non-blank line has a single indent point at column zero, and therefore > should be treated equivalently when FIRST-ONLY is non-nil > (`tab-to-tab-stop` should not be called if on or past the first indent > point, i.e., column 0). But then we'd do nothing in that situation. How does it make sense? > The usage of `beyond' does not change the behaviour when the starting > column is on the first indent point, which outside of this special case > is doing nothing. When there are previous lines to align with, yes. But here there's nothing before, so what is the justification for doing nothing?