GNU bug report logs - #55040
29.0.50; Auto-indent-mode and Changelog Messages

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Philip Kaludercic <philipk@HIDDEN>; dated Wed, 20 Apr 2022 14:31:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 23 Apr 2022 12:22:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 23 08:22:41 2022
Received: from localhost ([127.0.0.1]:55321 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1niEmf-0004Y1-Ob
	for submit <at> debbugs.gnu.org; Sat, 23 Apr 2022 08:22:41 -0400
Received: from quimby.gnus.org ([95.216.78.240]:47334)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1niEmd-0004Xp-Rq
 for 55040 <at> debbugs.gnu.org; Sat, 23 Apr 2022 08:22:40 -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=KeSZmW1gKMfhnd72bN6IDU124BiKA4j8KOZdW1zzLpM=; b=P0CdedLiPV0QQco3kKkkvn6u6U
 qIPrWmsP6mNZV9r5n6LvHQgJbgibrWTEjZ2/08zEA2EiQ8b6WXK7Xb1PiAYiGe6DCvuHLasFWxBnl
 QL/mhdL9Hhr/9SHWBFgkFF9EBWuQC9MRxWvcCZXLIOUk4Ay6fx0vc6Q9QJlWONV11ekE=;
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 <larsi@HIDDEN>)
 id 1niEmU-0002BH-QE; Sat, 23 Apr 2022 14:22:33 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
 <87levzy96j.fsf@HIDDEN> <83mtgfslyu.fsf@HIDDEN>
 <874k2ny7md.fsf@HIDDEN> <83ee1rsgog.fsf@HIDDEN>
 <87pmlbjws0.fsf@HIDDEN> <83bkwvro3v.fsf@HIDDEN>
 <87ilr1w5gp.fsf@HIDDEN> <83k0bhp1tw.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEX6+/3a0dKlnZ2B
 eHdMUE4xOjkYJzr///+RN+RxAAAAAWJLR0QHFmGI6wAAAAlwSFlzAAALEgAACxIB0t1+/AAAAAd0
 SU1FB+YEFwwNBmFQucUAAAFxSURBVDjLbVRLcsIwDAXSA0Cn7Om06ZohpGuYyAeAWDpAZ+z7H6G2
 Po4T8hb56EVPlvyczcbw3gF0n5sltldkDPt5fOeCEORPs+8dFvg6p8cK4xT/CDVB9zWhmdgRF3is
 J5SUN3zBjYnfV+KPlXAF+3Ul0WrlMQasunkmQtYUY8RAhfJWgiJnBOKoy0WaoARncE4i6KS1o2VE
 zbjpPCKD82wqrSkpspbLy8oEzAnPRG9EqlARY24DQMVJpVCIAcAikT/wQ88EgLflKAEuEakGSOMs
 hTqxsRSnTKUbWfG2ECTt2HJLgyEhd2/ENBKiKuOhQ6TSYLQh7qaxYx57tLGrF8rYSYa4N0OTbVQs
 xj5WZggYJ5M2ujW244zzzHCVS9i8P+oYj86lS7GoaHlI079eAZwpFcuhrFPtJidNXoeuA3m6L44a
 WEI5t01l59TreTq2bU086x9AP8XH2U9j26sazeOJ+Za6l0U84fDVdZdDef0HlpEthqAcduEAAAAZ
 dEVYdGNvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVDnr0DLAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIy
 LTA0LTIzVDEyOjEzOjA2KzAwOjAwgmqDYQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNC0yM1Qx
 MjoxMzowNiswMDowMPM3O90AAAAASUVORK5CYII=
X-Now-Playing: Herbert's _Part One_: "See You On Monday"
Date: Sat, 23 Apr 2022 14:22:28 +0200
In-Reply-To: <83k0bhp1tw.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 22 Apr
 2022 18:36:27 +0300")
Message-ID: <87pml8ugzf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > I'm not sure
 adaptive-fill-mode
 makes sense in log-edit-mode (since > AFAIU lines are supposed to be flushed
 to the left margin), but I > don't object to trying to solve this in some
 other way. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: philipk@HIDDEN, 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> I'm not sure adaptive-fill-mode makes sense in log-edit-mode (since
> AFAIU lines are supposed to be flushed to the left margin), but I
> don't object to trying to solve this in some other way.

People put all kinds of text in commit messages, including

  * text in bullet points
    which adaptive-fill-mode
    handles nicely.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 22 Apr 2022 15:36:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 22 11:36:37 2022
Received: from localhost ([127.0.0.1]:54551 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhvKm-0004av-My
	for submit <at> debbugs.gnu.org; Fri, 22 Apr 2022 11:36:36 -0400
Received: from eggs.gnu.org ([209.51.188.92]:42164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nhvKl-0004ag-Jj
 for 55040 <at> debbugs.gnu.org; Fri, 22 Apr 2022 11:36:36 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:58394)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhvKg-00055F-5F; Fri, 22 Apr 2022 11:36:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=Bi/Njqcq8nue4mGEz0dNkKqLheAZ36+t79D4XHMx4T8=; b=jQq0Jf7W8gWl
 OBxX/JSCseUYxcBmv2I7jJ1H8syLsM2bYfSg0AGWAVFQTEbXWFt6nINUDRw2eEdgxA0rVqpniGSle
 p5SkhLHdbNZMa10EQb2xzh3lC08ZJmdal80STgDfb25kkz4it9GKbxuf40zlMeyUGJV6UZ3+0jUxL
 UzdpTymbJBrjQci/w/IgzeQblNiISUbP1uIvmps4/vR+b/GKOvQt/zR/W54fjNuPCvEkXcnvUXl1A
 7XcPixnQyB+iul4nLxAx+p7Sa4Gv//5OTJiirhaPPcO96iKiLRoKu6kQOzAHfdcYDA0va6vNeQ48B
 FCCgLXaqBfzNgxc4BnfGow==;
Received: from [87.69.77.57] (port=1353 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhvKf-0004s7-KJ; Fri, 22 Apr 2022 11:36:29 -0400
Date: Fri, 22 Apr 2022 18:36:27 +0300
Message-Id: <83k0bhp1tw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87ilr1w5gp.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 
 22 Apr 2022 16:36:06 +0200)
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
 <87levzy96j.fsf@HIDDEN> <83mtgfslyu.fsf@HIDDEN>
 <874k2ny7md.fsf@HIDDEN> <83ee1rsgog.fsf@HIDDEN>
 <87pmlbjws0.fsf@HIDDEN> <83bkwvro3v.fsf@HIDDEN> <87ilr1w5gp.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: philipk@HIDDEN, 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: Philip Kaludercic <philipk@HIDDEN>,  55040 <at> debbugs.gnu.org
> Date: Fri, 22 Apr 2022 16:36:06 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> > Looks like just turning off adaptive-fill-mode is enough to solve your
> >> > problem.
> >> 
> >> Should it be disabled for log-edit-mode in general?
> >
> > Maybe.  I'd be interested in hearing opinions of others, since
> > different projects have different conventions wrt this.
> >
> > Also, log-edit-mode doesn't turn on auto-fill-mode by default, so
> > maybe the change you propose should only be in effect if the user does
> > turn on auto-fill.
> 
> I think having adaptive-fill-mode switched off would be an improvement
> when doing ChangeLog-like commits, but I'm not sure that it's a good
> idea in general.
> 
> If we could instead make the adaptive filling smarter (and discover that
> we're doing a ChangeLog-like paragraph), that would be better, I think?

I'm not sure adaptive-fill-mode makes sense in log-edit-mode (since
AFAIU lines are supposed to be flushed to the left margin), but I
don't object to trying to solve this in some other way.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 22 Apr 2022 14:36:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 22 10:36:19 2022
Received: from localhost ([127.0.0.1]:54490 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhuOR-0002q3-9L
	for submit <at> debbugs.gnu.org; Fri, 22 Apr 2022 10:36:19 -0400
Received: from quimby.gnus.org ([95.216.78.240]:39392)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nhuOP-0002pp-De
 for 55040 <at> debbugs.gnu.org; Fri, 22 Apr 2022 10:36:17 -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=qwluzseABTO6ZTTWEn41ec8evWu9Y767luss0qvN3fc=; b=k39po9LE9mooGzpw3EQcIFfdvd
 V1X3Yh2YxycPQIh32NMMSiiFcBxH8bHKr07pOYFjtGzNp/qLA5nVmLtATOq+Qeo3eodZM+GTeqZ6u
 hWZ/geDzTZ7f9srrvKfCkUkFrHtzKIMfFiYZSN4BStTOZYEn5dRBkN3480lGCyf+9EyY=;
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 <larsi@HIDDEN>)
 id 1nhuOF-0007Nz-EE; Fri, 22 Apr 2022 16:36:10 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
 <87levzy96j.fsf@HIDDEN> <83mtgfslyu.fsf@HIDDEN>
 <874k2ny7md.fsf@HIDDEN> <83ee1rsgog.fsf@HIDDEN>
 <87pmlbjws0.fsf@HIDDEN> <83bkwvro3v.fsf@HIDDEN>
X-Now-Playing: Joni Mitchell's _Archives: The Early Years (1)_: "John Hardy"
Date: Fri, 22 Apr 2022 16:36:06 +0200
In-Reply-To: <83bkwvro3v.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 21 Apr
 2022 08:40:04 +0300")
Message-ID: <87ilr1w5gp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Eli Zaretskii <eliz@HIDDEN> writes: >> > Looks like just
 turning off adaptive-fill-mode is enough to solve your >> > problem. >> >>
 Should it be disabled for log-edit-mode in general? > > Maybe. I'd be
 interested in hearing opinions of [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: Philip Kaludercic <philipk@HIDDEN>, 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> > Looks like just turning off adaptive-fill-mode is enough to solve your
>> > problem.
>> 
>> Should it be disabled for log-edit-mode in general?
>
> Maybe.  I'd be interested in hearing opinions of others, since
> different projects have different conventions wrt this.
>
> Also, log-edit-mode doesn't turn on auto-fill-mode by default, so
> maybe the change you propose should only be in effect if the user does
> turn on auto-fill.

I think having adaptive-fill-mode switched off would be an improvement
when doing ChangeLog-like commits, but I'm not sure that it's a good
idea in general.

If we could instead make the adaptive filling smarter (and discover that
we're doing a ChangeLog-like paragraph), that would be better, I think?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 21 Apr 2022 05:40:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 21 01:40:27 2022
Received: from localhost ([127.0.0.1]:48112 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhPYJ-0005gH-EF
	for submit <at> debbugs.gnu.org; Thu, 21 Apr 2022 01:40:27 -0400
Received: from eggs.gnu.org ([209.51.188.92]:51914)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nhPYH-0005g2-FI
 for 55040 <at> debbugs.gnu.org; Thu, 21 Apr 2022 01:40:25 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54740)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhPY9-00081W-Gz; Thu, 21 Apr 2022 01:40:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=Urgolq9Nimc1PQDh2AL3pNTwKYwn1bNCX30gYflVPXs=; b=CqWCBPQ/F4v4
 zXloTkZPdUb7KFwK1mU1BNE86us3uIKedvK5mF6AwA7gRZpk6SjhzfDhXn61+yXKcApa7E/Yjkqpd
 fPwgBj9ixS71IB4VPQK9TeIux0mvcFP44H8EC6wQZXmI+PMCKm2UqjTdOkdhPMz3Thpr3keJZezJ4
 CMvX7V9Nun31zEof4Zqc1FHiJTMN/w9d+1DwzmuRUkQzk1okt9f6MjoERo1WTd0nKkjUj4iZ5sV9H
 7Wllfzk6xoR1X9WhO3pRqsVe5e/eWgEnzZ5ERLlcSWGI2mruCJ+nzyiRlmoKvBu5z8zW1PaoYunzB
 hrQQvYtagSpYAGQYqDyPBQ==;
Received: from [87.69.77.57] (port=4370 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhPY1-0004Tu-Dq; Thu, 21 Apr 2022 01:40:15 -0400
Date: Thu, 21 Apr 2022 08:40:04 +0300
Message-Id: <83bkwvro3v.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
In-Reply-To: <87pmlbjws0.fsf@HIDDEN> (message from Philip Kaludercic on
 Wed, 20 Apr 2022 20:59:59 +0000)
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
 <87levzy96j.fsf@HIDDEN> <83mtgfslyu.fsf@HIDDEN>
 <874k2ny7md.fsf@HIDDEN> <83ee1rsgog.fsf@HIDDEN>
 <87pmlbjws0.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Philip Kaludercic <philipk@HIDDEN>
> Cc: 55040 <at> debbugs.gnu.org
> Date: Wed, 20 Apr 2022 20:59:59 +0000
> 
> > Looks like just turning off adaptive-fill-mode is enough to solve your
> > problem.
> 
> Should it be disabled for log-edit-mode in general?

Maybe.  I'd be interested in hearing opinions of others, since
different projects have different conventions wrt this.

Also, log-edit-mode doesn't turn on auto-fill-mode by default, so
maybe the change you propose should only be in effect if the user does
turn on auto-fill.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 20 Apr 2022 21:00:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 20 17:00:10 2022
Received: from localhost ([127.0.0.1]:47695 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhHQn-0006P4-Sv
	for submit <at> debbugs.gnu.org; Wed, 20 Apr 2022 17:00:10 -0400
Received: from mout01.posteo.de ([185.67.36.65]:33041)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1nhHQl-0006Ng-SE
 for 55040 <at> debbugs.gnu.org; Wed, 20 Apr 2022 17:00:08 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id DB7A7240028
 for <55040 <at> debbugs.gnu.org>; Wed, 20 Apr 2022 23:00:01 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1650488401; bh=q/yPc/2602EzMfeIj4ZhXPxIxi0VMU5XQT9u2ULFuBM=;
 h=From:To:Cc:Subject:Autocrypt:Date:From;
 b=qrZw/a4MsF+DkSHCaDpMDTd6r9L/cYkNV8fzhRLoYUVS0TWdRuEb2eh0UxfD3o2J8
 LKTTm33NY2uiuApWfEiyDmhTQYQSu0Z683Wu7uI1FpEIDQFoyfxnGnZqYh+3RrP945
 hihI4fiqPiT2i6l78Er+GJsyBP3RFZ5qMoogYCMaKNbzbYqk9o//CoIyqAgfQBeKNf
 U14Kugz2LzWjeiTl2JyY54LAj12txCiVQ5NNmo/yScfFVs1GPYD+H50F8BCCbfnAG7
 ZH0UKSU5aJjx0tehO6FXwwdD19IbU5u9iLruYPr18BZWF1LSnE0T6rgUyuEnKTGjjr
 cC8viTy2sh5CQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4KkCjX3Zl1z9rxM;
 Wed, 20 Apr 2022 23:00:00 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
 <87levzy96j.fsf@HIDDEN> <83mtgfslyu.fsf@HIDDEN>
 <874k2ny7md.fsf@HIDDEN> <83ee1rsgog.fsf@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Wed, 20 Apr 2022 20:59:59 +0000
In-Reply-To: <83ee1rsgog.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 20 Apr
 2022 22:22:55 +0300")
Message-ID: <87pmlbjws0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Philip Kaludercic <philipk@HIDDEN>
>> Cc: 55040 <at> debbugs.gnu.org
>> Date: Wed, 20 Apr 2022 17:42:02 +0000
>> 
>> >> 1. Start emacs -Q
>> >> 2. Open any versioned file
>> >> 3. Make any modification
>> >> 4. Prepare a commit using C-x v v
>> >> 5. Go to the commit body and insert ChangeLog template
>> >> 6. Ensure that auto-fill-mode is enabled in the buffer
>> >> 7. Type anything until the fill-column is reached
>> >> 
>> >> I did 7. by just repeating the word "word", and after a short while it
>> >> auto-filled the line and the text appeared formatted as described above.
>> >
>> > Can you elaborate on Step 5?  I don't think I understand what I'm
>> > supposed to do there.
>> 
>> This should be enough:
>> 
>> * M->           (end-of-buffer)
>> * C-c C-w       (log-edit-generate-changelog-from-diff)
>
> Looks like just turning off adaptive-fill-mode is enough to solve your
> problem.

Should it be disabled for log-edit-mode in general?


--=-=-=
Content-Type: text/plain
Content-Disposition: inline

diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el
index 79dafe60cc..8b92e6aea1 100644
--- a/lisp/vc/log-edit.el
+++ b/lisp/vc/log-edit.el
@@ -504,6 +504,7 @@ log-edit-mode
   (cl-pushnew 'display-line-numbers-disable font-lock-extra-managed-props)
   (setq-local jit-lock-contextually t)  ;For the "first line is summary".
   (setq-local fill-paragraph-function #'log-edit-fill-entry)
+  (setq-local adaptive-fill-mode nil)
   (make-local-variable 'log-edit-comment-ring-index)
   (add-hook 'kill-buffer-hook 'log-edit-remember-comment nil t)
   (hack-dir-local-variables-non-file-buffer))

--=-=-=
Content-Type: text/plain


-- 
	Philip Kaludercic

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 20 Apr 2022 19:23:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 20 15:23:10 2022
Received: from localhost ([127.0.0.1]:47530 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhFuw-00018o-5V
	for submit <at> debbugs.gnu.org; Wed, 20 Apr 2022 15:23:10 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47238)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nhFut-00018T-QY
 for 55040 <at> debbugs.gnu.org; Wed, 20 Apr 2022 15:23:08 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:43146)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhFuo-0004Et-C2; Wed, 20 Apr 2022 15:23:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=swgcZ+QnpeIy4fQxNV0/mWTWuZHOHJFZvVymU68tp3I=; b=mZ0wKFLBr0RK
 OdnQHJHkWmufIQGUg0ytkc9oi0aq6qInieTlA8iZrqiR7ScwCxz8kE23cKSYYSKXiKiNdhvCsgsGH
 aMnHPkwubMtwrov/mU0nbQvSiPkx9ZXfiamoANLRlhnOwmwoZt+mqz8uoNL+du+SwrHzxbn6zbUuu
 9KBAetvPr2iygLtIM7nPIm/Tb7I6FA31GTpOMNSRmYimpLXzyEDGtvXSnfQ504fUzObuxEy9quX9G
 ndtWNHpwe5rdoikf+yJj+T8NPp1rC4BgNMJ128I6rYKTvqU48fl8Yt5Aisg3y/CjSwNw0XmKD2PEj
 ynEmyLaXnufg36uLC6EBkQ==;
Received: from [87.69.77.57] (port=1898 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhFun-0000Bw-RA; Wed, 20 Apr 2022 15:23:02 -0400
Date: Wed, 20 Apr 2022 22:22:55 +0300
Message-Id: <83ee1rsgog.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
In-Reply-To: <874k2ny7md.fsf@HIDDEN> (message from Philip Kaludercic on
 Wed, 20 Apr 2022 17:42:02 +0000)
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
 <87levzy96j.fsf@HIDDEN> <83mtgfslyu.fsf@HIDDEN>
 <874k2ny7md.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Philip Kaludercic <philipk@HIDDEN>
> Cc: 55040 <at> debbugs.gnu.org
> Date: Wed, 20 Apr 2022 17:42:02 +0000
> 
> >> 1. Start emacs -Q
> >> 2. Open any versioned file
> >> 3. Make any modification
> >> 4. Prepare a commit using C-x v v
> >> 5. Go to the commit body and insert ChangeLog template
> >> 6. Ensure that auto-fill-mode is enabled in the buffer
> >> 7. Type anything until the fill-column is reached
> >> 
> >> I did 7. by just repeating the word "word", and after a short while it
> >> auto-filled the line and the text appeared formatted as described above.
> >
> > Can you elaborate on Step 5?  I don't think I understand what I'm
> > supposed to do there.
> 
> This should be enough:
> 
> * M->           (end-of-buffer)
> * C-c C-w       (log-edit-generate-changelog-from-diff)

Looks like just turning off adaptive-fill-mode is enough to solve your
problem.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 20 Apr 2022 18:31:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 20 14:31:34 2022
Received: from localhost ([127.0.0.1]:47447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhF70-00084T-7p
	for submit <at> debbugs.gnu.org; Wed, 20 Apr 2022 14:31:34 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37422)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nhF6y-00084D-6l
 for 55040 <at> debbugs.gnu.org; Wed, 20 Apr 2022 14:31:33 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41902)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhF6s-0004xS-RK; Wed, 20 Apr 2022 14:31:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=grCdN0kBz+XXwYZ9DX3Qxzckbn+Y39ydS7HuFZ+yOXA=; b=eE0FRI6xA5+e
 bQt6vIYt0A6sDhjYAFiR++kB9EFCgNE7lnBul5bKCemerZC9trDVg158MpTIXESehGppndS5Y7bFc
 o8v1wxxLeVcLTAamHRx0VQQuxIVavytB8APFAChAo+63iT3P0l7xkkJZ+MEWd+K7tyi/GV1Eb46cd
 57UvS/My04gC409KtZzB20xek9FDGfrZZI2/dJV1xlRUKYzRTYBZixNzl5NS5RETwVP1VeHJZpqv3
 laIFZEziQ9BPy+geBmP+0MZtzuUGCK2XBP3mWSIs9yCjlJe+QMQjelhe525eo0NrSjfjB4af8yMaQ
 5Sz0Nb+Rqp61DY5Vb91wRw==;
Received: from [87.69.77.57] (port=2661 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhF6s-0000Nn-Af; Wed, 20 Apr 2022 14:31:26 -0400
Date: Wed, 20 Apr 2022 21:31:20 +0300
Message-Id: <83k0bjsj2f.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
In-Reply-To: <874k2ny7md.fsf@HIDDEN> (message from Philip Kaludercic on
 Wed, 20 Apr 2022 17:42:02 +0000)
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
 <87levzy96j.fsf@HIDDEN> <83mtgfslyu.fsf@HIDDEN>
 <874k2ny7md.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Philip Kaludercic <philipk@HIDDEN>
> Cc: 55040 <at> debbugs.gnu.org
> Date: Wed, 20 Apr 2022 17:42:02 +0000
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> 1. Start emacs -Q
> >> 2. Open any versioned file
> >> 3. Make any modification
> >> 4. Prepare a commit using C-x v v
> >> 5. Go to the commit body and insert ChangeLog template
> >> 6. Ensure that auto-fill-mode is enabled in the buffer
> >> 7. Type anything until the fill-column is reached
> >> 
> >> I did 7. by just repeating the word "word", and after a short while it
> >> auto-filled the line and the text appeared formatted as described above.
> >
> > Can you elaborate on Step 5?  I don't think I understand what I'm
> > supposed to do there.
> 
> This should be enough:
> 
> * M->           (end-of-buffer)
> * C-c C-w       (log-edit-generate-changelog-from-diff)

Ah, okay.  I see it now.  I guess it's some difference between
change-log-mode and log-edit-mode wrt filling and indenting.
Something to fix, I think.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 20 Apr 2022 17:42:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 20 13:42:11 2022
Received: from localhost ([127.0.0.1]:47383 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhELD-0006g2-7R
	for submit <at> debbugs.gnu.org; Wed, 20 Apr 2022 13:42:11 -0400
Received: from mout01.posteo.de ([185.67.36.65]:51643)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1nhELB-0006fj-N7
 for 55040 <at> debbugs.gnu.org; Wed, 20 Apr 2022 13:42:10 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id E0DEF24002B
 for <55040 <at> debbugs.gnu.org>; Wed, 20 Apr 2022 19:42:03 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1650476523; bh=erFBD90zqHkv0YJ45dwcMULW3IjRu0/oUUCrHimkoOI=;
 h=From:To:Cc:Subject:Autocrypt:Date:From;
 b=Tn5tCOf8B4B2ouHZaOTXzSVxQSPB0rSxD60B+y9gUAQPIrx87MY+6guXEW46zeKHh
 4YBTmdXL4qRIqP9PAgpqi5raW4J7sqvy3IxD36iBEJULaiTHhYl8V6APZ9ozNdL0Mb
 KB+HTWVBcwcpjYh/u32/2kzGyvld5En7kKYCe2KSfWi4eaRnjbC0iD4BwOV+XtNxr4
 ObhcICqnmhLHOTtmIQWuTl25C5q4ebVkMp/5VWlzUbCq1xGteeGBRzZTX2eW+o42a+
 1H0SstLGmsYVyJLIP5Mrinubi5DnWotsEwRB+DxmClI+FVI3o+aCfqWti6EmIUb8L9
 0byaG48qM5opw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4Kk7K719j4z6tmg;
 Wed, 20 Apr 2022 19:42:02 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
 <87levzy96j.fsf@HIDDEN> <83mtgfslyu.fsf@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Wed, 20 Apr 2022 17:42:02 +0000
In-Reply-To: <83mtgfslyu.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 20 Apr
 2022 20:28:41 +0300")
Message-ID: <874k2ny7md.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Philip Kaludercic <philipk@HIDDEN>
>> Cc: 55040 <at> debbugs.gnu.org
>> Date: Wed, 20 Apr 2022 17:08:20 +0000
>> 
>> > I always use auto-fill-mode in ChangeLog buffers, and it never does
>> > anything like what you described for me.  Can you show a recipe
>> > starting from "emacs -Q" that shows this problem?
>> 
>> 1. Start emacs -Q
>> 2. Open any versioned file
>> 3. Make any modification
>> 4. Prepare a commit using C-x v v
>> 5. Go to the commit body and insert ChangeLog template
>> 6. Ensure that auto-fill-mode is enabled in the buffer
>> 7. Type anything until the fill-column is reached
>> 
>> I did 7. by just repeating the word "word", and after a short while it
>> auto-filled the line and the text appeared formatted as described above.
>
> Can you elaborate on Step 5?  I don't think I understand what I'm
> supposed to do there.

This should be enough:

* M->           (end-of-buffer)
* C-c C-w       (log-edit-generate-changelog-from-diff)

> Thanks.

-- 
	Philip Kaludercic




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 20 Apr 2022 17:28:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 20 13:28:55 2022
Received: from localhost ([127.0.0.1]:47359 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhE8N-0006Im-4P
	for submit <at> debbugs.gnu.org; Wed, 20 Apr 2022 13:28:55 -0400
Received: from eggs.gnu.org ([209.51.188.92]:50254)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nhE8L-0006IZ-Vi
 for 55040 <at> debbugs.gnu.org; Wed, 20 Apr 2022 13:28:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40758)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhE8G-00039o-Mi; Wed, 20 Apr 2022 13:28:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=64gJMTHHUvSrx5CZ8udvrawnndXkNXmEXP7vya/E7bc=; b=pD8Y0Slx7x+G
 x2RlUlkXNJDUYEhiLaTFLvt/Wy+wqnCfimUh+tN09kuuHKbEmBGKS9GwuH+kQhKsHNmoT+slorJtI
 UA8JSGpmps4gRQ5UMI4+8fvw8b6pYrfwXtG4yohqHrNNDGdHPQV6N/ykxDQg/EJJLxLfs8+iWbtXZ
 nokk1rQ7JUhXFsVW/GBmAiXfTxme6SkV82skTrn2QnDrYB/RbFTqhKrmFvaT7dY4Y6qotLR1XzA2g
 /0l6zmLSdJ6wlyXtUVFcTr3Z11f3InQCymh38ALgzLdDFUTBKL8U16CNNzNRFD7My3K5xQsSK12fe
 Um0vB4HAiN0vQDW9FBPB1Q==;
Received: from [87.69.77.57] (port=2760 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhE8G-0001lX-5g; Wed, 20 Apr 2022 13:28:48 -0400
Date: Wed, 20 Apr 2022 20:28:41 +0300
Message-Id: <83mtgfslyu.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
In-Reply-To: <87levzy96j.fsf@HIDDEN> (message from Philip Kaludercic on
 Wed, 20 Apr 2022 17:08:20 +0000)
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
 <87levzy96j.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Philip Kaludercic <philipk@HIDDEN>
> Cc: 55040 <at> debbugs.gnu.org
> Date: Wed, 20 Apr 2022 17:08:20 +0000
> 
> > I always use auto-fill-mode in ChangeLog buffers, and it never does
> > anything like what you described for me.  Can you show a recipe
> > starting from "emacs -Q" that shows this problem?
> 
> 1. Start emacs -Q
> 2. Open any versioned file
> 3. Make any modification
> 4. Prepare a commit using C-x v v
> 5. Go to the commit body and insert ChangeLog template
> 6. Ensure that auto-fill-mode is enabled in the buffer
> 7. Type anything until the fill-column is reached
> 
> I did 7. by just repeating the word "word", and after a short while it
> auto-filled the line and the text appeared formatted as described above.

Can you elaborate on Step 5?  I don't think I understand what I'm
supposed to do there.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 20 Apr 2022 17:08:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 20 13:08:30 2022
Received: from localhost ([127.0.0.1]:47267 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhDoc-0005ic-3e
	for submit <at> debbugs.gnu.org; Wed, 20 Apr 2022 13:08:30 -0400
Received: from mout01.posteo.de ([185.67.36.65]:53133)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1nhDoa-0005iL-TR
 for 55040 <at> debbugs.gnu.org; Wed, 20 Apr 2022 13:08:29 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 2B8D3240028
 for <55040 <at> debbugs.gnu.org>; Wed, 20 Apr 2022 19:08:22 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1650474503; bh=Pe7pO/5pvIthvoXzg30tqBVrVmCLajizK3FPMGnPxhc=;
 h=From:To:Cc:Subject:Autocrypt:Date:From;
 b=TbkixZ+CeC7NdDqCveiqoBzNEBbUC0C6XWVOM7DWSYh8xFhyFZTPlgwdFfZLtM5H9
 04ZoXNcR8kV831dj4tDW2k2C/+P644Nt+FGkW1eMYvPA/YmboMUWr6lykENNAGjyMb
 PHEQCb6VDQ9Np1dpungnFE/dGMqYvAX21GwfqH2LR6S4dvfTO7naID5CjZNloY5jsA
 v9MnH/ZOAXBV20sCU5zERkocLG31sFrTuA9P3IDUfCrzXb1WV95PV1N7EiaHAbL5ad
 +7FSMqgrmHGDXYBqzG0HYRwKWgZEmcnevtAR72wTdrVY0aJbeAaGJqPbN5LXXsrGGI
 ovLVzpbqtoYuQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4Kk6ZG0T2vz9rxb;
 Wed, 20 Apr 2022 19:08:21 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN> <83tuanspwz.fsf@HIDDEN>
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Wed, 20 Apr 2022 17:08:20 +0000
In-Reply-To: <83tuanspwz.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 20 Apr
 2022 19:03:24 +0300")
Message-ID: <87levzy96j.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Philip Kaludercic <philipk@HIDDEN>
>> Date: Wed, 20 Apr 2022 14:30:17 +0000
>> 
>> 
>> When writing change logs in log-edit-mode, I have auto-fill-mode enabled
>> because 1. I find it convenient and 2. it derives from text mode.  It
>> has been pointed out to me that this leads to indentation issues, where
>> a change log entry is interpreted to be an unordered list.  So instead
>> of
>> 
>> --8<---------------cut here---------------start------------->8---
>> * lisp/vc/diff-mode.el (diff-add-log-current-defuns): Check
>> vc-root-dir to prepend the project path to the file being modified.
>> --8<---------------cut here---------------end--------------->8---
>> 
>> the messages is automatically formatted like
>> 
>> --8<---------------cut here---------------start------------->8---
>> * lisp/vc/diff-mode.el (diff-add-log-current-defuns): Check
>>   vc-root-dir to prepend the project path to the file being modified.
>> --8<---------------cut here---------------end--------------->8---
>> 
>> as soon as the line exceeds the fill column.
>
> I always use auto-fill-mode in ChangeLog buffers, and it never does
> anything like what you described for me.  Can you show a recipe
> starting from "emacs -Q" that shows this problem?

1. Start emacs -Q
2. Open any versioned file
3. Make any modification
4. Prepare a commit using C-x v v
5. Go to the commit body and insert ChangeLog template
6. Ensure that auto-fill-mode is enabled in the buffer
7. Type anything until the fill-column is reached

I did 7. by just repeating the word "word", and after a short while it
auto-filled the line and the text appeared formatted as described above.

-- 
	Philip Kaludercic




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at 55040 <at> debbugs.gnu.org:


Received: (at 55040) by debbugs.gnu.org; 20 Apr 2022 16:03:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 20 12:03:38 2022
Received: from localhost ([127.0.0.1]:47150 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhCnp-0003sE-OM
	for submit <at> debbugs.gnu.org; Wed, 20 Apr 2022 12:03:37 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56554)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nhCnn-0003s2-NF
 for 55040 <at> debbugs.gnu.org; Wed, 20 Apr 2022 12:03:36 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:38432)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhCni-0005TG-Ei; Wed, 20 Apr 2022 12:03:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=Mp6bgbwhzLPUfAvdy4UEDN72Xg+RR+QfgtXXFM5+fko=; b=L04nov2EUf/p
 bSbwYs9cmV3MMVicA/OvY1u0Qh83KVzW7APC3JI7rFLVd60Z7i7aEFAY6/GlQQqkTwYVyKTOY3mv7
 3Bt4WJHz7RRPoipt9sAJ8ZJxhL7h4rtuufnuaauZVtkg3ek+TbQOYqO9FagIxgUefv0fWxxfY3MeL
 0lR/Z7ZFDjL0bT+n6zo6ei/PLXRBDpCDDInwD2qK0cD6k5uItH+YXjBY85hOk85mtORaLPajxDp8S
 0gyk/5QdV963O/y8TVHtRG05cGXn57jqeOr/rWmlT+KenEX6ky7SgQaT3HtDijH/kmC+LhsHQRZ0R
 oSQHmC4tLPeKLsPBJ/mIVg==;
Received: from [87.69.77.57] (port=1397 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nhCnh-000442-TC; Wed, 20 Apr 2022 12:03:30 -0400
Date: Wed, 20 Apr 2022 19:03:24 +0300
Message-Id: <83tuanspwz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
In-Reply-To: <87zgkfyghy.fsf@HIDDEN> (message from Philip Kaludercic on
 Wed, 20 Apr 2022 14:30:17 +0000)
Subject: Re: bug#55040: 29.0.50; Auto-indent-mode and Changelog Messages
References: <87zgkfyghy.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55040
Cc: 55040 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Philip Kaludercic <philipk@HIDDEN>
> Date: Wed, 20 Apr 2022 14:30:17 +0000
> 
> 
> When writing change logs in log-edit-mode, I have auto-fill-mode enabled
> because 1. I find it convenient and 2. it derives from text mode.  It
> has been pointed out to me that this leads to indentation issues, where
> a change log entry is interpreted to be an unordered list.  So instead
> of
> 
> --8<---------------cut here---------------start------------->8---
> * lisp/vc/diff-mode.el (diff-add-log-current-defuns): Check
> vc-root-dir to prepend the project path to the file being modified.
> --8<---------------cut here---------------end--------------->8---
> 
> the messages is automatically formatted like
> 
> --8<---------------cut here---------------start------------->8---
> * lisp/vc/diff-mode.el (diff-add-log-current-defuns): Check
>   vc-root-dir to prepend the project path to the file being modified.
> --8<---------------cut here---------------end--------------->8---
> 
> as soon as the line exceeds the fill column.

I always use auto-fill-mode in ChangeLog buffers, and it never does
anything like what you described for me.  Can you show a recipe
starting from "emacs -Q" that shows this problem?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Apr 2022 14:30:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 20 10:30:26 2022
Received: from localhost ([127.0.0.1]:46998 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nhBLd-0005Kd-RB
	for submit <at> debbugs.gnu.org; Wed, 20 Apr 2022 10:30:26 -0400
Received: from lists.gnu.org ([209.51.188.17]:44530)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1nhBLc-0005KV-CD
 for submit <at> debbugs.gnu.org; Wed, 20 Apr 2022 10:30:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53480)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philipk@HIDDEN>)
 id 1nhBLa-0000gk-UR
 for bug-gnu-emacs@HIDDEN; Wed, 20 Apr 2022 10:30:24 -0400
Received: from mout02.posteo.de ([185.67.36.66]:37045)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philipk@HIDDEN>)
 id 1nhBLX-0006ig-Vr
 for bug-gnu-emacs@HIDDEN; Wed, 20 Apr 2022 10:30:22 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id E4F3F240107
 for <bug-gnu-emacs@HIDDEN>; Wed, 20 Apr 2022 16:30:17 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1650465017; bh=QTe6TkGQ64nxYh8toecQ6GwoQt8OCC3bJj+DsoJDsIo=;
 h=From:To:Subject:Autocrypt:Date:From;
 b=Xok7vLJsXoZ35TFIgA4BoFbnXa+pREdtOW3/Si3XvNGFphlORJZb1n7NIz1hQAcbn
 JoPP8YCSEhTFQf419svUPNsp3i1sDaJPtW8ESX+zBgQNS848j+qKJ3DMvoLzW86aIk
 fmwuLVQcrEOTH9EH3Ja9GVmKzis3c9G8YY/f270iW4/E4+mEQ7DqJEBwKoZv6AgjzL
 AbjtMjdpLLzBf8fWEUeSZqhF+VHeuqHNleeFQu0riG7dg1/OBANMlnfed5aABKhXyX
 Y3TAcGVW9cYBKU+ZPMuTMTDkwlIRtNfffq5tGRLWfl6y3576Sqfu3UoBvRoH3pl5Lv
 +F5oixjJWDalw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4Kk33s3tZ8z6tm6
 for <bug-gnu-emacs@HIDDEN>; Wed, 20 Apr 2022 16:30:17 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; Auto-indent-mode and Changelog Messages
Autocrypt: addr=philipk@HIDDEN; prefer-encrypt=nopreference; keydata=
 mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo
 aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0
 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ
 CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh
 io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF
 AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo
 Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS
 g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB
Date: Wed, 20 Apr 2022 14:30:17 +0000
Message-ID: <87zgkfyghy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@HIDDEN;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


When writing change logs in log-edit-mode, I have auto-fill-mode enabled
because 1. I find it convenient and 2. it derives from text mode.  It
has been pointed out to me that this leads to indentation issues, where
a change log entry is interpreted to be an unordered list.  So instead
of

--8<---------------cut here---------------start------------->8---
* lisp/vc/diff-mode.el (diff-add-log-current-defuns): Check
vc-root-dir to prepend the project path to the file being modified.
--8<---------------cut here---------------end--------------->8---

the messages is automatically formatted like

--8<---------------cut here---------------start------------->8---
* lisp/vc/diff-mode.el (diff-add-log-current-defuns): Check
  vc-root-dir to prepend the project path to the file being modified.
--8<---------------cut here---------------end--------------->8---

as soon as the line exceeds the fill column.

Note that manually filling the text using M-q does not run into this
issue.


In GNU Emacs 29.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
 of 2022-04-19 built on viero
Repository revision: d168decab4a03cd48b8b96257c36ffa575c720e6
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Guix System

Configured using:
 'configure
 PKG_CONFIG_PATH=/home/philip/.guix-profile/lib/pkgconfig:/home/philip/.guix-profile/share/pkgconfig'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM
GTK3 ZLIB

Important settings:
  value of $EMACSLOADPATH: 
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix

Major mode: ELisp/l

Minor modes in effect:
  bug-reference-prog-mode: t
  outline-minor-mode: t
  corfu-mode: t
  flymake-mode: t
  yas-minor-mode: t
  flyspell-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  repeat-mode: t
  display-battery-mode: t
  display-time-mode: t
  diff-hl-flydiff-mode: t
  diff-hl-mode: t
  winner-mode: t
  windmove-mode: t
  electric-pair-mode: t
  save-place-mode: t
  savehist-mode: t
  xterm-mouse-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  auto-save-visited-mode: t

Load-path shadows:
/home/philip/Source/sp-tutor/sp-tutor hides /home/philip/.config/emacs/site-lisp/sp-tutor/sp-tutor
/home/philip/Source/sp-tutor/waffel hides /home/philip/.config/emacs/site-lisp/sp-tutor/waffel
/home/philip/.config/emacs/site-lisp/modus-themes/modus-vivendi-theme hides /home/philip/.config/emacs/elpa/modus-themes-2.3.0/modus-vivendi-theme
/home/philip/.config/emacs/site-lisp/modus-themes/modus-operandi-theme hides /home/philip/.config/emacs/elpa/modus-themes-2.3.0/modus-operandi-theme
/home/philip/.config/emacs/site-lisp/modus-themes/modus-themes hides /home/philip/.config/emacs/elpa/modus-themes-2.3.0/modus-themes
/home/philip/.config/emacs/elpa/transient-0.3.7/transient hides /home/philip/Source/emacs/lisp/transient
~/.config/emacs/site-lisp/autoload hides /home/philip/Source/emacs/lisp/emacs-lisp/autoload

Features:
(view shell-command+ log-edit add-log tramp-archive tramp-gvfs vc-mtn
vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs dired-aux gnus-dired
smerge-mode whitespace char-fold bug-reference find-func find-file
shadow avy emacsbug shortdoc macros kmacro mailalias smtpmail
autocrypt-message ecomplete misearch multi-isearch vc-backup log-view
pcvs-util vc-fossil copyright time-stamp ietf-drums-date sort smiley
gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize
uni-confusable textsec-check gnus-async gnus-bcklg qp gnus-ml
autocrypt-gnus autocrypt nndraft nnmh utf-7 nnfolder epa-file
network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp
gnus-cache gnus-sum shr pixel-fill kinsoku url-file url-dired svg dom
gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail
mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message
yank-media rmc puny rfc822 mml mml-sec epa epg rfc6068 epg-config
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader gnus-win noutline outline corfu checkdoc flymake-proc flymake
project warnings thingatpt yasnippet-snippets yasnippet cl-extra
flyspell ispell auth-source-pass tramp-cache tramp-sh tramp
tramp-loaddefs trampver tramp-integration cus-edit pp files-x
tramp-compat shell pcomplete parse-time iso8601 ls-lisp recentf
tree-widget repeat format-spec battery dbus xml dired-x dired
dired-loaddefs time sendmail rfc2047 rfc2045 ietf-drums gnus nnheader
gnus-util time-date mail-utils range mm-util mail-prsvr wid-edit
help-at-pt diff-hl-flydiff diff diff-hl face-remap vc-hg vc-git vc-dir
ewoc vc vc-dispatcher diff-mode derived easy-mmode hippie-exp winner
windmove rx elec-pair saveplace savehist xt-mouse modus-operandi-theme
modus-themes pcase rot13 disp-table cus-load setup compile
text-property-search comint ansi-color autoload lisp-mnt tex-site
geiser-impl help-fns radix-tree help-mode geiser-custom geiser-base ring
slime-autoloads info package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x
byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl
tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice
simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese composite
emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help
abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face
macroexp files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 532263 72950)
 (symbols 48 28732 62)
 (strings 32 114166 8346)
 (string-bytes 1 3305981)
 (vectors 16 74182)
 (vector-slots 8 1715184 82388)
 (floats 8 449 710)
 (intervals 56 3104 610)
 (buffers 992 40))

-- 
	Philip Kaludercic




Acknowledgement sent to Philip Kaludercic <philipk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#55040; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 23 Apr 2022 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.