From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#55716: 29.0.50; latex-mode overrides my `comment-style` choice Date: Tue, 31 May 2022 20:27:50 +0200 Message-ID: <87ee095zh5.fsf@gnus.org> References: <87bkveanfi.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13763"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 55716@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 31 20:30:09 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nw6d7-0003NL-CX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 May 2022 20:30:09 +0200 Original-Received: from localhost ([::1]:58228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw6d6-0003LE-Ch for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 May 2022 14:30:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw6c2-0002hm-LV for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 14:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nw6c2-0007Kp-6U for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 14:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nw6c2-00021u-3O for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 May 2022 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55716 X-GNU-PR-Package: emacs Original-Received: via spool by 55716-submit@debbugs.gnu.org id=B55716.16540216857707 (code B ref 55716); Tue, 31 May 2022 18:29:02 +0000 Original-Received: (at 55716) by debbugs.gnu.org; 31 May 2022 18:28:05 +0000 Original-Received: from localhost ([127.0.0.1]:48858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nw6b6-00020F-UC for submit@debbugs.gnu.org; Tue, 31 May 2022 14:28:05 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:58760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nw6b2-0001zP-Cf for 55716@debbugs.gnu.org; Tue, 31 May 2022 14:28:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xc5R250IiaTNPYU+iC51CqOmVxVc4cng3Xpxc0aoAmw=; b=qlRLDEFa0iop8pdlI+UUIMKrbz eL37S7SYXU2mTYlma8vOOlcbjn1Ty6dyltv/ML0vk7XUR6Z7CVTAAxff9JFtjak6fjxuZyOLaIT+8 aY9cQXCp7dhfHIarLrE9z1VRGhjW+4eELmhCPOzjzf2qo7fX++t40OelVcPlMg42OLuk=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nw6as-0000BH-P0; Tue, 31 May 2022 20:27:53 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAAAXNSR0IArs4c6QAAAAlQTFRF 3ufvRUxR////ksLprwAAAAFiS0dEAmYLfGQAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAHdElNRQfm BR8SCDgzKt8OAAAAXElEQVQoz83NMQ6AMAiFYV4iuwv36RFsUu5/FVvT4hts7GIi0/8NgMgvRxk2 hVODoQFksYAmeMBAkM0IuxNwo9TD2VN/ftSVgZYL0CmwBrlQGP4Ee0G3BqIa/DOcpDtIBG8aDNYA AABaZVhJZk1NACoAAAAIAAUBEgADAAAAAQABAAABGgAFAAAAAQAAAEoBGwAFAAAAAQAAAFIBKAAD AAAAAQACAAACEwADAAAAAQABAAAAAAAAAAAASAAAAAEAAABIAAAAAR9S9zQAAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjItMDUtMzFUMTg6MDg6NTYrMDA6MDAeX6FsAAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIyLTA1LTMxVDE4OjA4OjU2KzAwOjAwbwIZ0AAAABd0RVh0ZXhpZjpZQ2JDclBvc2l0aW9uaW5n ADGsD4BjAAAAOHRFWHRpY2M6Y29weXJpZ2h0AENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBh Y2thcmQgQ29tcGFueflXeTcAAAAhdEVYdGljYzpkZXNjcmlwdGlvbgBzUkdCIElFQzYxOTY2LTIu MVet2kcAAAAmdEVYdGljYzptYW51ZmFjdHVyZXIASUVDIGh0dHA6Ly93d3cuaWVjLmNoHH8ATAAA ADd0RVh0aWNjOm1vZGVsAElFQyA2MTk2Ni0yLjEgRGVmYXVsdCBSR0IgY29sb3VyIHNwYWNlIC0g c1JHQkRTSKkAAAAASUVORK5CYII= X-Now-Playing: Floorplan's _Supernatural_: "Oasis" In-Reply-To: (Stefan Monnier's message of "Tue, 31 May 2022 08:26:16 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233451 Archived-At: Stefan Monnier writes: > Before your patch, this didn't comment out anything since it skipped > empty lines, thus the problem didn't exist. Yes, that's the problem I was trying to fix. >> But that's probably a bug in the `indent' version instead, >> because `indent' should work in general. > > Yes, it's a new problem introduced by the new functionality of > commenting out empty lines (and it probably affects more than just the > `indent` style, since most styles (other than `plain`) try to indent the > comment, IIRC). Yup. I've now reverted the change, and is reopening the bug report. I guess it has to be fixed in the various indenting styles instead. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no