GNU bug report logs - #54406
28.0.91; rcirc text wrapping

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: Ken Raeburn <raeburn@HIDDEN>; dated Tue, 15 Mar 2022 21:13:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 54406) by debbugs.gnu.org; 17 Mar 2022 11:04:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 17 07:04:06 2022
Received: from localhost ([127.0.0.1]:53190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nUnvJ-0000CQ-PU
	for submit <at> debbugs.gnu.org; Thu, 17 Mar 2022 07:04:05 -0400
Received: from quimby.gnus.org ([95.216.78.240]:46774)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nUnvI-0000Bx-1w
 for 54406 <at> debbugs.gnu.org; Thu, 17 Mar 2022 07:04:04 -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=yRsFYUyaQky2/IzPgbZX7khwX/Zps3mGwHdXMZyOagk=; b=hxM3fVDXsxOtHmcCvQB4cX/HSH
 lE+ybE2POJZ3kV0SNFQRW6u1cnDSm9GvRErj7wGxGFuX4Nwwj6WNF2RURzgWIIvNFJSZ5UVn1M00z
 FSRBHxWGoxVqAHwhqr0MT2jsCcCrB+/WYcGSiibK5/aigfVUEzrsNsNIwQu0kp0O9zqY=;
Received: from 109.179.236.69.tmi.telenormobil.no ([109.179.236.69] 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 1nUnv9-0006Ph-EZ; Thu, 17 Mar 2022 12:03:57 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Ken Raeburn <raeburn@HIDDEN>
Subject: Re: bug#54406: 28.0.91; rcirc text wrapping
References: <87lexac44t.fsf@HIDDEN>
 <handler.54406.B.164737873611497.ack <at> debbugs.gnu.org>
 <87h77yc0rt.fsf_-_@HIDDEN>
Date: Thu, 17 Mar 2022 12:03:53 +0100
In-Reply-To: <87h77yc0rt.fsf_-_@HIDDEN> (Ken Raeburn's message of "Tue, 15
 Mar 2022 18:24:22 -0400")
Message-ID: <8735jgvo12.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:  Ken Raeburn <raeburn@HIDDEN> writes: > The old version
 in 27.1 did: > > ; ;
 squeeze spaces out of text before rcirc-text > (fill-region
 fill-start > (1- (or (next-single-property-change fill-start > 'rcirc-text)
 > rcirc-prompt-end-marker) [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 0.0 TVD_RCVD_IP            Message was received from an IP address
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54406
Cc: Philip Kaludercic <philipk@HIDDEN>, 54406 <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 (---)

Ken Raeburn <raeburn@HIDDEN> writes:

> The old version in 27.1 did:
>
>  	    ;; squeeze spaces out of text before rcirc-text
> 	    (fill-region fill-start
> 			 (1- (or (next-single-property-change fill-start
> 							      'rcirc-text)
> 				 rcirc-prompt-end-marker)))
>
> where fill-start is set to
>
>   (marker-position rcirc-prompt-start-marker)
>
> evaluated before inserting the new text.  The new version seems to be
> filling the entire narrowed region containing the just-inserted text.

So I guess this was changed in:

commit 849e71fd83fa8796198035464897bf2f28f6226c
Author:     Philip Kaludercic <philipk@HIDDEN>
AuthorDate: Wed Jun 9 17:55:55 2021 +0200

I've added Philip to the CCs; perhaps he has some comments.

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




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

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


Received: (at 54406) by debbugs.gnu.org; 15 Mar 2022 22:24:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 15 18:24:47 2022
Received: from localhost ([127.0.0.1]:49780 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nUFaw-0004xN-TU
	for submit <at> debbugs.gnu.org; Tue, 15 Mar 2022 18:24:47 -0400
Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:42640)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raeburn@HIDDEN>) id 1nUFav-0004xF-5U
 for 54406 <at> debbugs.gnu.org; Tue, 15 Mar 2022 18:24:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1647383084;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=qOX2nZJSm5BoL9jqkQod5bg5lhsd45WNWqcIed4tvHE=;
 b=O8OoGJhBDXSbr5TyQihmSm/KFdYwy7Km5NTooaOKKwdSD7RYyHUro5MtWUjNHviG7Ye4tq
 xbk4pCKs0gsmAuy1JzgNOVeIA59/VvgR979FQ15c7TMgNXt36jBA+y5qdFx4JlRUkg+Q+M
 Gb+k9m9SyxSKfF6IZD/tIRyvkuKYlbs=
Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com
 [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 us-mta-324-626kt1iJN-2Oefc8HCh74g-1; Tue, 15 Mar 2022 18:24:25 -0400
X-MC-Unique: 626kt1iJN-2Oefc8HCh74g-1
Received: by mail-qv1-f72.google.com with SMTP id
 hu9-20020a056214234900b0042c4017aeb3so500244qvb.14
 for <54406 <at> debbugs.gnu.org>; Tue, 15 Mar 2022 15:24:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=CgsH9xwU4i871xi6b1MJDvZgylaRp2kBcVddaCKgM1Y=;
 b=PbNPK0PeaddlBZr6LMSfN+oNFGtEAkby5O3FapCD7sr5YT+/NQSiB1EqwlTblEzlMv
 BP/XSBaTe13m/jVIEPANJuivILxOS4MhdfmYiOcqHAQ3rXetkP8pcKiDBHeZGdoT49Ik
 HZixmKV/0cozueZrArI9EWM+TaCnQLRzgJm3sWCJnRTnmjHyECYqZJAbxTF1IE0XQoy3
 tB1/eLvdR26RnjDwMcdFX/toPElidldYe+oLbogclkaw/q+LcvPsxIEBIVynH9OBf7ZD
 xZpHt4ntahTrgtNjTnsZsFUnZ7Bfk0NQvDa3FobtcQ8rN03bBMqKLQg4IYJNkcdY61yK
 JDPQ==
X-Gm-Message-State: AOAM531xer1RKC70vjYYkXnlB+w6q1ey7QFhXsBPsyktcT6+mQj1Zzid
 yGAUSxfsut9+EO+ea6L9wv4ppY2jXp8JwereGD6rZ6qyY4jxNNl1qyA5oCvBO65iovD+goF94+t
 8fuqbKC2cYcPod2A=
X-Received: by 2002:a37:9c96:0:b0:67d:7293:7374 with SMTP id
 f144-20020a379c96000000b0067d72937374mr15915032qke.365.1647383064582; 
 Tue, 15 Mar 2022 15:24:24 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJy6QlTBsCkQ8YitOq/h47m5yPLGUaZSAtQYVtVe2bfHmARKdcQozcfjZ99mRCgDr9R9gRwm1Q==
X-Received: by 2002:a37:9c96:0:b0:67d:7293:7374 with SMTP id
 f144-20020a379c96000000b0067d72937374mr15915024qke.365.1647383064331; 
 Tue, 15 Mar 2022 15:24:24 -0700 (PDT)
Received: from crash (c-24-60-138-149.hsd1.ma.comcast.net. [24.60.138.149])
 by smtp.gmail.com with ESMTPSA id
 v12-20020a05622a130c00b002e1b3ccd9adsm168663qtk.79.2022.03.15.15.24.23
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 15 Mar 2022 15:24:23 -0700 (PDT)
From: Ken Raeburn <raeburn@HIDDEN>
To: help-debbugs@HIDDEN (GNU bug Tracking System)
Subject: Re: bug#54406: 28.0.91; rcirc text wrapping
References: <87lexac44t.fsf@HIDDEN>
 <handler.54406.B.164737873611497.ack <at> debbugs.gnu.org>
Date: Tue, 15 Mar 2022 18:24:22 -0400
In-Reply-To: <handler.54406.B.164737873611497.ack <at> debbugs.gnu.org> (GNU bug
 Tracking System's message of "Tue, 15 Mar 2022 21:13:01 +0000")
Message-ID: <87h77yc0rt.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Authentication-Results: relay.mimecast.com;
 auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=raeburn@HIDDEN
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 54406
Cc: 54406 <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: -1.0 (-)


Aha, debugging printfs to the rescue. :-)

I made a little tweak to rcirc-print, and added some logging advice to
rcirc-markup-fill and rcirc-fill-paragraph, then just sat back and
waited for some #emacs traffic; this is the one that triggered:

            (save-restriction
              (narrow-to-region (point) (point))
              (insert (propertize (rcirc-format-response-string process sen=
der response
                                                              nil text)
                                'rcirc-msgid (rcirc-get-tag "msgid"))
=09=09      (propertize "\n" 'hard t))

              ;; squeeze spaces out of text before rcirc-text
              ;; ADDED MESSAGE CALL:
=09      (message "rcirc-print(process=3D%S sender=3D%S response=3D%S targe=
t=3D%S text=3D%S activity=3D%S)\n\tfilling region: buffer=3D%S region=3D%S =
flag=3D%S"
=09=09       process sender response target text activity
=09=09       (current-buffer)
=09=09       (buffer-substring (point-min) (point-max))
=09=09       rcirc-fill-flag)
              (fill-region (point-min) (point-max))

rcirc-print(process=3D#<process irc.libera.chat> sender=3D#("userxy" 0 6 (f=
ont-lock-face (rcirc-other-nick))) response=3D"PRIVMSG" target=3D"#emacs" t=
ext=3D"a bunch of text here" activity=3Dt)
=09filling region: buffer=3D#<buffer #emacs@HIDDEN> region=3D#("<u=
serxy> a bunch of text here
" 0 1 (rcirc-msgid nil) 1 7 (font-lock-face (rcirc-other-nick) rcirc-msgid =
nil) 7 9 (rcirc-msgid nil) 9 96 (rcirc-text "a bunch of text here" rcirc-ms=
gid nil) 96 97 (hard t)) flag=3Dnil

(For privacy, I=E2=80=99ve replaced the sender name with a same-length dumm=
y,
and replaced the message text, though mine is shorter so the text
properties probably don=E2=80=99t work out.)

The old version in 27.1 did:

 =09    ;; squeeze spaces out of text before rcirc-text
=09    (fill-region fill-start
=09=09=09 (1- (or (next-single-property-change fill-start
=09=09=09=09=09=09=09      'rcirc-text)
=09=09=09=09 rcirc-prompt-end-marker)))

where fill-start is set to

  (marker-position rcirc-prompt-start-marker)

evaluated before inserting the new text.  The new version seems to be
filling the entire narrowed region containing the just-inserted text.

As an experiment, I=E2=80=99m trying

              (fill-region (point-min)
=09=09=09   (1- (or (next-single-property-change (point-min)
=09=09=09=09=09=09=09=09'rcirc-text)
=09=09=09=09   (point-max))))

and it seems to do what I want so far, both for NAMES messages and user
messages.

The property change is also looked up by the goto-char immediately
following the fill-region, so perhaps they could be reversed and the new
position used as a boundary.

Though, it seems to be filling the part of the rcirc-response-formats
formatted string that comes before the message text, and it=E2=80=99s not c=
lear
to me that unconditionally filling that is the right thing, if
rcirc-fill-flag is nil. *shrug* I=E2=80=99m not a terribly experienced IRC =
user,
maybe it is generally desired.

Ken

P.S. The indentation of the =E2=80=9Cwhen=E2=80=9D blocks following the got=
o-char could
use cleaning up.





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

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


Received: (at submit) by debbugs.gnu.org; 15 Mar 2022 21:12:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 15 17:12:16 2022
Received: from localhost ([127.0.0.1]:49698 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nUESl-0002zL-Mu
	for submit <at> debbugs.gnu.org; Tue, 15 Mar 2022 17:12:16 -0400
Received: from lists.gnu.org ([209.51.188.17]:54126)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raeburn@HIDDEN>) id 1nUESi-0002zC-Rg
 for submit <at> debbugs.gnu.org; Tue, 15 Mar 2022 17:12:13 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57642)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raeburn@HIDDEN>)
 id 1nUESi-0005W4-Nl
 for bug-gnu-emacs@HIDDEN; Tue, 15 Mar 2022 17:12:12 -0400
Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:50776)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raeburn@HIDDEN>)
 id 1nUESf-00041q-3W
 for bug-gnu-emacs@HIDDEN; Tue, 15 Mar 2022 17:12:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1647378727;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=1W9b4/p9R/BkruqlUUuu2cr0TbpPzslCF1bk3l3/Huo=;
 b=P9Elux0lFNla5v7QZv6+gTXL2TisTLGfO4lwyB02qBg5UZDlhzW3kpZAgfjc5JrQST1QYW
 6K9nSjAsQGZHgDRbHyLVR13Pmx6Ha8cZAfLp44CeqMaxB7joVjEA4MLmtlXjEB2xKfFbRs
 yM0dKt84LIYO1TDPmdxJIx+hg2gP1z8=
Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com
 [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 us-mta-567-lnfhZc6YOTKFmXytag98uQ-1; Tue, 15 Mar 2022 17:11:49 -0400
X-MC-Unique: lnfhZc6YOTKFmXytag98uQ-1
Received: by mail-qk1-f200.google.com with SMTP id
 u17-20020a05620a431100b004765c0dc33cso303394qko.14
 for <bug-gnu-emacs@HIDDEN>; Tue, 15 Mar 2022 14:11:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=6CTZR8atZBup7CwgsZ8XdQR54Xpn8RPg8uh0ffmTYYs=;
 b=HvTDoOdr6cvEeKOBHPO13bgQJJE5ldoNIXvM6iYlh6dduN/O5JRKGF9XSbnEyquPpn
 gkRxHX8m4fL9p1BqfevoZfiu91mr61dANp8fxszsGUz++DmKY3oH7pDwQ/crxcgYYxnf
 NOMkcfo3Ha42YOyXc1lcrkgN+TS2yy7QxniHTSZvPkaiw+nOBwMtoT2B+MNXeMFG2T8G
 zUoCRqgyNASXaM9P4XOMFeplbF9dL9+NMIPzzZ6o4gKZpD9nlpTG2mSKscwKPzd7p09k
 73IPdbWB7iTabrwkw5W5NSMEMbXlYoGZ41hr2bG99TLGr7F2INBTuUuZ2xw7QIl5UZhq
 WttA==
X-Gm-Message-State: AOAM530uZwVpMsons9/iq7uFo6b0aLE6rR3D8hGhmt+nfDp+EqIHCFqO
 dMOxMCBLVmkz1kVFrYgCy9V9OER3xNSfjmlKI1x/KjzhiWao/H+K3lOlbfZLYA1TVki+U+sIuvh
 H/p1MzdvgN80Wjpk=
X-Received: by 2002:ad4:5dc4:0:b0:438:c90c:f4d3 with SMTP id
 m4-20020ad45dc4000000b00438c90cf4d3mr20336741qvh.86.1647378708763; 
 Tue, 15 Mar 2022 14:11:48 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJzSSEUM0OnvJIkk8DesiZoalJ9A0+wrpdL4aaRXJPBirxcz+7S2gJzrarUHgGT3R4k31RXDkg==
X-Received: by 2002:ad4:5dc4:0:b0:438:c90c:f4d3 with SMTP id
 m4-20020ad45dc4000000b00438c90cf4d3mr20336728qvh.86.1647378708463; 
 Tue, 15 Mar 2022 14:11:48 -0700 (PDT)
Received: from crash (c-24-60-138-149.hsd1.ma.comcast.net. [24.60.138.149])
 by smtp.gmail.com with ESMTPSA id
 h17-20020a37de11000000b0047caf996ef8sm22433qkj.20.2022.03.15.14.11.47
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 15 Mar 2022 14:11:47 -0700 (PDT)
From: Ken Raeburn <raeburn@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.91; rcirc text wrapping
Date: Tue, 15 Mar 2022 17:11:46 -0400
Message-ID: <87lexac44t.fsf@HIDDEN>
MIME-Version: 1.0
Authentication-Results: relay.mimecast.com;
 auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=raeburn@HIDDEN
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=170.10.129.124; envelope-from=raeburn@HIDDEN;
 helo=us-smtp-delivery-124.mimecast.com
X-Spam_score_int: -21
X-Spam_score: -2.2
X-Spam_bar: --
X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=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.4 (-)
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.4 (--)

=20
I=E2=80=99ve got automatic filling of text disabled in rcirc; I use=20
variable-pitch-mode for more pleasant readability, and=20
visual-line-mode and wrap-prefix to get line breaks based on the=20
window width.  Or, at least, I did in previous releases.=20
=20
        (custom-set-variables=20
         ;; custom-set-variables was added by Custom.  ;; If you=20
         edit it by hand, you could mess it up, so be careful.  ;;=20
         Your init file should contain only one such instance.  ;;=20
         If there is more than one, they won't work right.=20
         =E2=80=A6STUFF=E2=80=A6  '(rcirc-authinfo '(=E2=80=A6STUFF=E2=80=
=A6))  '(rcirc-fill-flag=20
         nil) '(rcirc-keywords '(=E2=80=A6STUFF=E2=80=A6))  '(rcirc-log-fla=
g t)=20
         '(rcirc-reconnect-delay 0) '(rcirc-server-alist=20
           '((=E2=80=A6WORK STUFF=E2=80=A6)=20
             ("irc.gnome.org" :nick "raeburn" :port 6697 :channels=20
              ("#gnucash") :encryption tls)=20
             ("irc.libera.chat" :nick "raeburn" :port 6697=20
             :channels=20
              ("#rcirc" "#vdo" "#fedora" "#rhel" "#fedora-x86"=20
              "#fedora-ppc" "#fedora-arm" "#fedora-s390x"=20
              "#fedora-laptops" "#emacs" "#ansible" "#gnus"=20
              "#org-mode") :encryption tls)))=20
         '(rcirc-time-format "%FT%T ") '(rcirc-track-minor-mode t)=20
         =E2=80=A6STUFF=E2=80=A6=20
=20
=20
        (defun kr-rcirc-markup-text-function (sender response)=20
          (put-text-property (point) (point-max) 'wrap-prefix "=20
          "))=20
        (add-to-list 'rcirc-markup-text-functions=20
        'kr-rcirc-markup-text-function t)=20
=20
        (require 'smart-quotes) (defun kr-rcirc-mode-hook ()=20
          (variable-pitch-mode 1) (visual-line-mode 1)=20
          (smart-quotes-mode 1))=20
        (add-hook 'rcirc-mode-hook 'kr-rcirc-mode-hook)=20
=20
Now, in Emacs 28.0.91, I still get the variable pitch, and=20
visual-line mode applies while I=E2=80=99m entering input, but it appears=
=20
that all messages displayed get wrapped at 70 columns=20
(fill-column) even though I=E2=80=99ve got rcirc-fill-flag set to nil.=20
This includes not just user messages but also control messages=20
like JOIN, QUIT, NAMES, and so on.  I=E2=80=99ve enabled debugging and=20
looked at the =E2=80=9C*rcirc debug*=E2=80=9D buffer and confirmed that the=
=20
strings there do not have the line breaks, including in the=20
messages I send, even though they have line breaks when displayed=20
back to me after sending.=20
=20
        2022-03-15T15:59:42 *** sbluhm QUIT Ping timeout: 181=20
        seconds
        2022-03-15T16:06:09 *** NAMES @+chris @fell @gncbot @jralls +aj +be=
rtbob +CDB-Man_ +chrko
             +eb +flips +g5pw +knielsen +kyew +mapreri +mauritslamers +mikl=
cct
             +NoobAlice +oztunan +phebus +potatosal +raeburn +reactormonk[m=
]
             =E2=80=A6

Presumably I can work around this by also setting fill-column locally to
some insanely high value, but I shouldn=E2=80=99t need to since rcirc-fill-=
flag
is documented as turning that functionality off.  (I just checked, it=E2=80=
=99s
nil in both channel and server buffers.)

Ken




In GNU Emacs 28.0.91 (build 1, x86_64-redhat-linux-gnu, X toolkit, cairo ve=
rsion 1.17.4, Xaw3d scroll bars)
 of 2022-01-11 built on 7efb8fbccc97436880211dbad44871a1
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Fedora Linux 35 (Workstation Edition)

Configured using:
 'configure --build=3Dx86_64-redhat-linux-gnu
 --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D
 --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr
 --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc
 --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64
 --libexecdir=3D/usr/libexec --localstatedir=3D/var
 --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man
 --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dlucid
 --with-gpm=3Dno --with-modules --with-harfbuzz --with-cairo --with-json
 --with-native-compilation build_alias=3Dx86_64-redhat-linux-gnu
 host_alias=3Dx86_64-redhat-linux-gnu CC=3Dgcc 'CFLAGS=3D-DMAIL_USE_LOCKF -=
O2
 -flto=3Dauto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches
 -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2
 -Wp,-D_GLIBCXX_ASSERTIONS
 -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
 LDFLAGS=3D-Wl,-z,relro
 PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

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

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=3Dibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  rcirc-track-minor-mode: t
  display-time-mode: t
  desktop-save-mode: t
  global-edit-server-edit-mode: t
  which-function-mode: t
  icomplete-mode: t
  shell-dirtrack-mode: t
  global-hi-lock-mode: t
  hi-lock-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
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/raeburn/.emacs.d/elpa/systemtap-mode-20151122.1940/systemtap-mode hid=
es /usr/share/emacs/site-lisp/systemtap-mode
/home/raeburn/.emacs.d/elpa/p4-20150721.1937/p4 hides /usr/share/emacs/site=
-lisp/perforce/p4
/home/raeburn/.emacs.d/elpa/transient-20211101.2251/transient hides /usr/sh=
are/emacs/28.0.91/lisp/transient

Features:
(ind-util quail gnus-cite gnus-async gnus-bcklg gnus-ml with-editor
loadhist shortdoc help-fns radix-tree term/xterm xterm gnus-topic
nndraft nnmh nnfolder utf-7 gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg nntp gnus-cache make-mode align qp shadow emacsbug
tramp-cmds cl-print ielm mailalias smtpmail sendmail mail-extr cal-move
sort url-cache url-http url-gw url-auth cperl-mode grep vc-hg vc-bzr
ispell cus-edit pp cus-start misearch multi-isearch gnutls
network-stream nsm add-log reveal perl-mode face-remap dired-aux python
tramp-sh yaml-mode mule-util dockerfile-mode mhtml-mode css-mode color
js sgml-mode facemenu ruby-mode sh-script smie executable texinfo
texinfo-loaddefs bug-reference rst compile org-element avl-tree
generator ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe
ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage
dframe ol-docview doc-view image-mode exif ol-bibtex ol-bbdb ol-w3m
ol-doi org-link-doi vc-git diff-mode vc-dispatcher cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
view jka-compr ob-shell comp comp-cstr warnings cl-extra help-mode rcirc
gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku
svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud
nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range
message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg
rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search
mail-utils mm-util mail-prsvr wid-edit time desktop frameset cus-load
kr-init docker-tramp tramp-cache vagrant-tramp dash tramp tramp-loaddefs
trampver tramp-integration files-x tramp-compat parse-time ls-lisp
org-protocol org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-footnote org-src ob-comint org-pcomplete org-list org-faces
org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval
org-table oc-basic bibtex iso8601 time-date ol org-keys oc org-compat
org-macs org-loaddefs format-spec find-func cal-menu calendar
cal-loaddefs edit-server advice smart-quotes easy-mmode which-func imenu
icomplete server term disp-table shell pcomplete ehelp comint ansi-color
ring hi-lock finder-inf rx 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 subr-x map
url-vars seq byte-opt gv 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 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 simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
x-toolkit x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 13715676 653146)
 (symbols 48 49891 51)
 (strings 32 457765 52495)
 (string-bytes 1 12986322)
 (vectors 16 100405)
 (vector-slots 8 2906528 621136)
 (floats 8 580 768)
 (intervals 56 1053258 9997)
 (buffers 992 243))





Acknowledgement sent to Ken Raeburn <raeburn@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#54406; 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: Thu, 17 Mar 2022 11:15:01 UTC

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