From unknown Sun Jun 22 00:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54406: 28.0.91; rcirc text wrapping Resent-From: Ken Raeburn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Mar 2022 21:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 54406@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164737873611497 (code B ref -1); Tue, 15 Mar 2022 21:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2022 21:12:16 +0000 Received: from localhost ([127.0.0.1]:49698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUESl-0002zL-Mu for submit@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 ) id 1nUESi-0002zC-Rg for submit@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 ) id 1nUESi-0005W4-Nl for bug-gnu-emacs@gnu.org; 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 ) id 1nUESf-00041q-3W for bug-gnu-emacs@gnu.org; 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 ; 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 Date: Tue, 15 Mar 2022 17:11:46 -0400 Message-ID: <87lexac44t.fsf@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=raeburn@redhat.com 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@redhat.com; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.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)) From unknown Sun Jun 22 00:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54406: 28.0.91; rcirc text wrapping Resent-From: Ken Raeburn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Mar 2022 22:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 54406@debbugs.gnu.org X-Debbugs-Original-To: help-debbugs@gnu.org (GNU bug Tracking System) X-Debbugs-Original-Cc: 54406@debbugs.gnu.org Received: via spool by 54406-submit@debbugs.gnu.org id=B54406.164738308719063 (code B ref 54406); Tue, 15 Mar 2022 22:25:01 +0000 Received: (at 54406) by debbugs.gnu.org; 15 Mar 2022 22:24:47 +0000 Received: from localhost ([127.0.0.1]:49780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUFaw-0004xN-TU for submit@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 ) id 1nUFav-0004xF-5U for 54406@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@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 References: <87lexac44t.fsf@redhat.com> Date: Tue, 15 Mar 2022 18:24:22 -0400 In-Reply-To: (GNU bug Tracking System's message of "Tue, 15 Mar 2022 21:13:01 +0000") Message-ID: <87h77yc0rt.fsf_-_@redhat.com> 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@redhat.com 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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# 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# region=3D#(" 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. From unknown Sun Jun 22 00:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54406: 28.0.91; rcirc text wrapping Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Mar 2022 11:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ken Raeburn Cc: Philip Kaludercic , 54406@debbugs.gnu.org Received: via spool by 54406-submit@debbugs.gnu.org id=B54406.1647515046775 (code B ref 54406); Thu, 17 Mar 2022 11:05:02 +0000 Received: (at 54406) by debbugs.gnu.org; 17 Mar 2022 11:04:06 +0000 Received: from localhost ([127.0.0.1]:53190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUnvJ-0000CQ-PU for submit@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 ) id 1nUnvI-0000Bx-1w for 54406@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 ) id 1nUnv9-0006Ph-EZ; Thu, 17 Mar 2022 12:03:57 +0100 From: Lars Ingebrigtsen References: <87lexac44t.fsf@redhat.com> <87h77yc0rt.fsf_-_@redhat.com> Date: Thu, 17 Mar 2022 12:03:53 +0100 In-Reply-To: <87h77yc0rt.fsf_-_@redhat.com> (Ken Raeburn's message of "Tue, 15 Mar 2022 18:24:22 -0400") Message-ID: <8735jgvo12.fsf@gnus.org> 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ken Raeburn 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 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 From unknown Sun Jun 22 00:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54406: 28.0.91; rcirc text wrapping Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Mar 2022 11:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Ken Raeburn , 54406@debbugs.gnu.org Received: via spool by 54406-submit@debbugs.gnu.org id=B54406.164751680620439 (code B ref 54406); Thu, 17 Mar 2022 11:34:01 +0000 Received: (at 54406) by debbugs.gnu.org; 17 Mar 2022 11:33:26 +0000 Received: from localhost ([127.0.0.1]:53227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUoNh-0005Jb-M2 for submit@debbugs.gnu.org; Thu, 17 Mar 2022 07:33:25 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUoNg-0005JL-3d for 54406@debbugs.gnu.org; Thu, 17 Mar 2022 07:33:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B9A61240101 for <54406@debbugs.gnu.org>; Thu, 17 Mar 2022 12:33:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1647516797; bh=p4Jo5BRmqBcG1jU4k9CBrrC4mD1pYmnfC9qcCb9/Onw=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=rfSHd5wGlPy7vbiGBZxtqtwWU6bi6tZDz4C4LU6/h/dJ1yZVguCuLMlVObr7qy6mN Zm/ff5ErU7lTUcWxzFDpws+rddW2zpNRphxCZ/d686UpY6AkugWMRNyLgyqH0VY36K GQWJznz5O1khtr3P9MaZ8RNVsK0466w11yWkA9cb283vEjV8WtyseVH+lL9IEr+UDd AU2tr338ZW6+x64CtBBSG3umFpg2dQQwK5SMvVqsWgXR+OA68Wz4cECsocrQE5L9Ma s2+P0BJ6oYcXTl/0FG3fieP+WH0dRqMkJahZeXMT640vB113PtEOnboSqcGCsh9E6B h8tmjOmsmycUg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KK4lK0fkrz9rxW; Thu, 17 Mar 2022 12:33:16 +0100 (CET) From: Philip Kaludercic References: <87lexac44t.fsf@redhat.com> <87h77yc0rt.fsf_-_@redhat.com> <8735jgvo12.fsf@gnus.org> Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Date: Thu, 17 Mar 2022 11:33:16 +0000 In-Reply-To: <8735jgvo12.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 17 Mar 2022 12:03:53 +0100") Message-ID: <87r1703jb7.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Ken Raeburn 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 > AuthorDate: Wed Jun 9 17:55:55 2021 +0200 > > I've added Philip to the CCs; perhaps he has some comments. It seems this was just a misunderstanding on what the "squeeze"-code does. The reason it had to be changed is so that messages with time-stamps could be received out-of-order. I am guessing (but would have to look into it in more detail) that the intention could be implemented more elegantly than by calling fill-region on a specific region. -- Philip Kaludercic From unknown Sun Jun 22 00:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54406: 28.0.91; rcirc text wrapping Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Nov 2022 22:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Ken Raeburn , 54406@debbugs.gnu.org Received: via spool by 54406-submit@debbugs.gnu.org id=B54406.16676023633172 (code B ref 54406); Fri, 04 Nov 2022 22:53:01 +0000 Received: (at 54406) by debbugs.gnu.org; 4 Nov 2022 22:52:43 +0000 Received: from localhost ([127.0.0.1]:54998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or5YJ-0000p4-7x for submit@debbugs.gnu.org; Fri, 04 Nov 2022 18:52:43 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or5YH-0000oj-MZ for 54406@debbugs.gnu.org; Fri, 04 Nov 2022 18:52:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D10A3240104 for <54406@debbugs.gnu.org>; Fri, 4 Nov 2022 23:52:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667602355; bh=JCWR4+8RhaUv4QAgxKlHyhsciCl0N6Sie0Bjm37Larg=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=h/YpeOAuuNkXUjpdoZKgPlcN6r2lwsXWZPnQDAMsuaYSaKl3E5S9ksKOgwuRGHhfY qzoNCUasC64X0f69IRf68z3yR/5sQAyxkIwjzJF083Qo6CkMRbjaQnQSsSjeMX9VzD QUOi9uqowkR/T4Dolx7vq6feIYSslzE/f/pEKILFZiT9thWpUeK9Feat3HZGj1y1LW wWaLbOafQSo0frsd+B/APHdCf6J60l73YJfeiFicOynhkhauwQmjAkZwnGTjpmyHhY eBhObdBSpWZfZMP38Im67t/2dZ45ahH7H4JMHhKzocVn+QoUwXo5JM2rVsZHmG/L43 QbgqWiawlO7fw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N3wr30PrCz9rxK; Fri, 4 Nov 2022 23:52:35 +0100 (CET) From: Philip Kaludercic In-Reply-To: <87r1703jb7.fsf@posteo.net> (Philip Kaludercic's message of "Thu, 17 Mar 2022 11:33:16 +0000") References: <87lexac44t.fsf@redhat.com> <87h77yc0rt.fsf_-_@redhat.com> <8735jgvo12.fsf@gnus.org> <87r1703jb7.fsf@posteo.net> Autocrypt: addr=philipk@posteo.net; keydata= mQGNBGLfygUBDADVznbke6w0n9nE42xb+ZggbBy0IYRkkru/K+NA67523YTl2DoR2a5OMW90w7L9 KDtX2Mp34JN/6jVOSVC07VUbHVu6/exoGKixkiTpGhBPy5tUUJoxQKqLrzVQhN3fIyvg1oyHXKZm QGkUeevV0wjj4++xfjmcP235YvDh3TF8HC9t5KxIQIbhWnQm4ZyDkpWWS2CmdNttlj2+eH+51WLL bgx2bcwTmqrs079Q3hgF3yh44bBEmp9MgFjiZldOY2my0/ZSeucRxYmiM0vbJEBQgZV/MvA3gTxe 7ibV3ii7AyoYA8FiFDP98S/R2y5Nfq3ez9B7qeqtpSNseQHOU7h8Y5VV01a71ZszENAmbbwsldb9 j+HRLke7rn6mswDZl1qA/9ZFRzliFOdQtS1878XjraY+h5jfjvxaFVK23prGGVrrKv0LPWavoFUr nsjeHEZhYezBKhC2PwvRtXm01S3rkNbwm9pj0tfLSDW+1pT+6eZWptfQCXF2oEvgfKSTASUAEQEA AbQmUGhpbGlwIEthbHVkZXJjaWMgPHBoaWxpcGtAcG9zdGVvLm5ldD6JAdQEEwEKAD4WIQRxJuHe LwzjXHcL7QHyw8xRPbifZgUCYt/KBQIbAwUJA8JnAAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAK CRDyw8xRPbifZkH+DACmCKmhrYgcv2i6dj3vRCVINaLtKUODTna/wAmP20WRKPhqvqvKNUx/wzpT aZrXIxpxOU2xawRWeHhWUktxS+W9L3xTACeR0gf5gomCxD9RuBTIohzWDkQt5rk8QwLqx5rAy5zo feXujnDCXkZtodo1m54cY2kUFF/WIYRrciL/EBzpcizybMJFwx4HxSBlGRkdwnSH9Dzo+4U+8ctB xDfTvQ7cK/0+Qz/TvKjUK8LXLN1/rJTmqpRDv+Odx9LaxutGGoXeLwmhhgpRhvUS8EsqHGF37Zxe AV/ybdVU4NHXVecZAhSgOXX4EHDa7NjhTihx9Id478aQycOKf3CiI6Z8AgcR/iKE4bD4osh2cqQB +JIBtktImxJ1vFsehdQVjdLPWqlr/1weMHM4xH/4VtCLOl5mO3K+fUWxQ/DGLXeQVZ+hilITSKMl YVH/7he26WGd9FRJR25t9uTSgL2YIG8xYppKXueyK/5zjHq05UZRFKiFuPTE4Daoemqx86vYlui5 AY0EYt/KBQEMANvhe1fPQ3BHBcE2GfdX9kVXV0uAP+2Be2DxKWPJI1SqZbrS4wSUsDdd2+2m4YMX E3d+K9Z6IqBcr5gMFSN9QKGEo91FYYgnqvtnd6n9sEAScfNri2GVJzlmXAtEAWeVlv83cu0v0Gsw rSKkxZfMxt+EodtN0aswf5SAy77t28NZUw4fk/0o0AlIMjByVcDkipn7N02gLHjYsvMGFFtM3Zqg Fps8ix3XytSg3Pf8hIVhXFGkBs/iN6dGeIs8wVWBsB7azdqE84uUSRAcS4ymqUE6KxsbNo4x8RAx 9Pt2fcL5bWURAZB+83dk8NVmoQdtY+d4JUV9RAKM/Qg/qtE0fVxcZnj8YmxB1NzLf0UxgHuGYtaq HWrB80CROxMzK7fH8yDRnQKHT2gJYMMQjzMwakSSk8bNJDGBTvAbnxSbYMUC3FR4Pz3pSAbsaSz6 LY0QHDRlroBpyJHatrtKh9Uf9nV0wPIKgZfaH2mhiU17/N6wx0W12cBhrTDRoSnTYIgvQQARAQAB iQG8BBgBCgAmFiEEcSbh3i8M41x3C+0B8sPMUT24n2YFAmLfygUCGwwFCQPCZwAACgkQ8sPMUT24 n2b4ogv/Z5HKvWT2hB238G0ZrUxBptNdQHSG3VwfghN30KH7AEW8ZxsDn3zckn/jXxob4VyhUC8d zZdBQstsNgl+NZ7S2JYRUEsIpoRiHnQFJnfPpt6YZMVNYHJkuh7zRIQGji4OoS8j9QdUHsJnQDia xElXx2vwcBTRZBybcNC+3scGgFBzAcrI4AhYjKZBj5lvKMTrWhK+o4bVdFaYTJDIq37MM3IQLzFF oPIB1C525V916wVYSVl7+RQ1T/mf9oX9kZcYVTC0g4KBEEDI4SGK0i5sKDLfBp4c91AFlUo/J8nC hUMWblnpfCC7epUEbrms0ZQE7RFLgy7YCLZ9Fx2JfV6gx9n9vH7kI605uLnTHgkw3uED/CKfVlbW v0Yrtvi0rUMunLnlySIpXItkSIK+PCqTMdLJ3rBe0ALPgbKN6Lu+yxfe0eaAmFbrNZFI0xp40403 gDwhwoq742fLwbxPSldSeb8A93KRg/8e92CMwKVYtxoADeoksMq10iid4POQl2vw Date: Fri, 04 Nov 2022 22:52:35 +0000 Message-ID: <871qqil4cs.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Philip Kaludercic writes: > Lars Ingebrigtsen writes: > >> Ken Raeburn 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 >> AuthorDate: Wed Jun 9 17:55:55 2021 +0200 >> >> I've added Philip to the CCs; perhaps he has some comments. > > It seems this was just a misunderstanding on what the "squeeze"-code > does. The reason it had to be changed is so that messages with > time-stamps could be received out-of-order. I am guessing (but would > have to look into it in more detail) that the intention could be > implemented more elegantly than by calling fill-region on a specific > region. The call has been removed with b2283409fbe4324ee2fb50b385a9b6cc3458693c. Should we close the report or does Ken want to try it out first to confirm that everything works? From unknown Sun Jun 22 00:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54406: 28.0.91; rcirc text wrapping Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Apr 2023 10:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54406 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Ken Raeburn , 54406@debbugs.gnu.org Received: via spool by 54406-submit@debbugs.gnu.org id=B54406.16828520562072 (code B ref 54406); Sun, 30 Apr 2023 10:55:02 +0000 Received: (at 54406) by debbugs.gnu.org; 30 Apr 2023 10:54:16 +0000 Received: from localhost ([127.0.0.1]:37381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt4h6-0000XH-7M for submit@debbugs.gnu.org; Sun, 30 Apr 2023 06:54:16 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt4h1-0000WI-4q for 54406@debbugs.gnu.org; Sun, 30 Apr 2023 06:54:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 01E5D24027A for <54406@debbugs.gnu.org>; Sun, 30 Apr 2023 12:54:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682852045; bh=Xh3VA9BmxSYNERLrGGtO1U7emN2/7wBfEQviHXC/O8U=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=PdJAepgNGy20+zuIVYdhUfNDPnRRnos1xGZkO5fpYrIcwvzFgwUvjSu80GrjbD112 ZOYUCV+2lgM22tYas7dOUfG+m2lIbQa8RBQ8OmmJ6cc95/Pts7ZhC5ClK3lhSlQP+B g0cb7eDPzkPSxDFoMqTjNfM2o67NNzcNSso29VPBxn8BUIOGE/NYujwO0TY7bbGJXS FWywVhGwuqIRnetbopa7lfLWk8kW5TlAJ3DVitEQmnJp9bSZyqsabMsg3mQlHSnYt3 Bkl9Z5H6hwgnB8DX6deEzlZfpP7N9F+qZxkQOSxSMByvgl31i85fa4VqN7D0Nx68q6 7cCczPxgVBqmg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q8NWJ2wdhz9rxG; Sun, 30 Apr 2023 12:54:04 +0200 (CEST) From: Philip Kaludercic In-Reply-To: <871qqil4cs.fsf@posteo.net> (Philip Kaludercic's message of "Fri, 04 Nov 2022 22:52:35 +0000") References: <87lexac44t.fsf@redhat.com> <87h77yc0rt.fsf_-_@redhat.com> <8735jgvo12.fsf@gnus.org> <87r1703jb7.fsf@posteo.net> <871qqil4cs.fsf@posteo.net> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Date: Sun, 30 Apr 2023 10:54:36 +0000 Message-ID: <87h6sxfxn7.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Philip Kaludercic writes: > Philip Kaludercic writes: > >> Lars Ingebrigtsen writes: >> >>> Ken Raeburn 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 >>> AuthorDate: Wed Jun 9 17:55:55 2021 +0200 >>> >>> I've added Philip to the CCs; perhaps he has some comments. >> >> It seems this was just a misunderstanding on what the "squeeze"-code >> does. The reason it had to be changed is so that messages with >> time-stamps could be received out-of-order. I am guessing (but would >> have to look into it in more detail) that the intention could be >> implemented more elegantly than by calling fill-region on a specific >> region. > > The call has been removed with b2283409fbe4324ee2fb50b385a9b6cc3458693c. > Should we close the report or does Ken want to try it out first to > confirm that everything works? Ping? From unknown Sun Jun 22 00:34:40 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ken Raeburn Subject: bug#54406: closed (Re: bug#54406: 28.0.91; rcirc text wrapping) Message-ID: References: <87lexac44t.fsf@redhat.com> X-Gnu-PR-Message: they-closed 54406 X-Gnu-PR-Package: emacs Reply-To: 54406@debbugs.gnu.org Date: Thu, 14 Sep 2023 00:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1694651942-8397-1" This is a multi-part message in MIME format... ------------=_1694651942-8397-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #54406: 28.0.91; rcirc text wrapping which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 54406@debbugs.gnu.org. --=20 54406: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54406 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1694651942-8397-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 54406-done) by debbugs.gnu.org; 14 Sep 2023 00:38:28 +0000 Received: from localhost ([127.0.0.1]:36366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgaNH-0002Ad-R7 for submit@debbugs.gnu.org; Wed, 13 Sep 2023 20:38:28 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:45122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgaNE-0002AO-W9 for 54406-done@debbugs.gnu.org; Wed, 13 Sep 2023 20:38:26 -0400 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-500c37d479aso602654e87.2 for <54406-done@debbugs.gnu.org>; Wed, 13 Sep 2023 17:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694651893; x=1695256693; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=5Ezw6W5Bf/cGwjdBmpf8YSg8rQWCBqsTmIetDxd3jLI=; b=lAcLf5rUGROTF1ERJrHJy0o+HxOmnWmT16vfB+nmlSUTthZXQLplsa3usI3Qkddg2S 0WjTYpXrpRLETw7YnQ3XBY8+TZUC/+WYXsV5H6YCfS7KW0LQfJr43712zDYQarZNkgXO /kCV8Z4icn3LG5mGxubyMH31O4JZSvSeqirQL31muYQUBZZaqKPI4Q/BDPhvTmrxFsyv og2t69U+Xvp2x09SM0K877VOlRMg9rT1J3h5fniWUtSig6TWdd12IZEf414HF22vs+O7 OOA6tP96u7nVKG1R+LSReXAf6Gdd/Bc/1bj8XVij4qCJNzsm7xma1CwpNR3FHM09aZen BTKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694651893; x=1695256693; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5Ezw6W5Bf/cGwjdBmpf8YSg8rQWCBqsTmIetDxd3jLI=; b=fimVPaP5/gzMSHJd4jjuOjyCc1Rur6B3kQtzZcG8BcaAsc4dAGE9Wr5UYQbT2SDgVp 0DbFNsfJqn4p04cErA5hvkwifER3S1PLioTh13cnHV7cWn1JqN8poPTdoGS4za3TL0tk xw05HAdUkIO4GU6mCIIf5IwndLhFwmjsqXQ97aR7Oqlk0DrWe95vJZPTqY7qqHNc6g6D hZwEVu5+ILWCuDStC6PEKo8v82L4SpKwi5hgmILXDZKaeDh/1HMXgUsVWs1LrDxOIvEj biI6dpoS/ajTzoHS2SBRazIFya6VqdQOtSHBrd8CqcdeUJuZ71fKuP8aza19xPaIUL0r cXCg== X-Gm-Message-State: AOJu0YzBqgcveIvOfg3bbYn7GjVBGvIm7sNx2tDYQQcf101JYMWoNY+1 WvXbl9fGXw6B5II607ygHWAYdylIhp/srlLvZeM= X-Google-Smtp-Source: AGHT+IF1WshcrFHBmclvOTYrS6laxYQo/435v843HWQrBw76T3CEdQA/xcqIj6bxJTDyHQD8eL1R2KdpKBjhlOTfSOs= X-Received: by 2002:a05:6512:2fb:b0:500:99e8:573e with SMTP id m27-20020a05651202fb00b0050099e8573emr3030799lfq.7.1694651893124; Wed, 13 Sep 2023 17:38:13 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 13 Sep 2023 17:38:12 -0700 From: Stefan Kangas In-Reply-To: <87h6sxfxn7.fsf@posteo.net> (Philip Kaludercic's message of "Sun, 30 Apr 2023 10:54:36 +0000") References: <87lexac44t.fsf@redhat.com> <87h77yc0rt.fsf_-_@redhat.com> <8735jgvo12.fsf@gnus.org> <87r1703jb7.fsf@posteo.net> <871qqil4cs.fsf@posteo.net> <87h6sxfxn7.fsf@posteo.net> MIME-Version: 1.0 Date: Wed, 13 Sep 2023 17:38:12 -0700 Message-ID: Subject: Re: bug#54406: 28.0.91; rcirc text wrapping To: Philip Kaludercic Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 54406-done Cc: Lars Ingebrigtsen , 54406-done@debbugs.gnu.org, Ken Raeburn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Philip Kaludercic writes: >> The call has been removed with b2283409fbe4324ee2fb50b385a9b6cc3458693c. >> Should we close the report or does Ken want to try it out first to >> confirm that everything works? > > Ping? No further updates within 4 months, so I'm closing this now. If this is still an issue, please reopen. ------------=_1694651942-8397-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Mar 2022 21:12:16 +0000 Received: from localhost ([127.0.0.1]:49698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUESl-0002zL-Mu for submit@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 ) id 1nUESi-0002zC-Rg for submit@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 ) id 1nUESi-0005W4-Nl for bug-gnu-emacs@gnu.org; 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 ) id 1nUESf-00041q-3W for bug-gnu-emacs@gnu.org; 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 ; 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 To: bug-gnu-emacs@gnu.org Subject: 28.0.91; rcirc text wrapping Date: Tue, 15 Mar 2022 17:11:46 -0400 Message-ID: <87lexac44t.fsf@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=raeburn@redhat.com 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@redhat.com; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.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)) ------------=_1694651942-8397-1--