From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.bugs Subject: bug#54406: 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 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22914"; mail-complaints-to="usenet@ciao.gmane.io" To: 54406@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 15 22:13:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nUETf-0005kz-K9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Mar 2022 22:13:11 +0100 Original-Received: from localhost ([::1]:48440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUETe-0005Yc-21 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Mar 2022 17:13:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUETW-0005YO-8H for bug-gnu-emacs@gnu.org; Tue, 15 Mar 2022 17:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUETV-000469-Vz for bug-gnu-emacs@gnu.org; Tue, 15 Mar 2022 17:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUETV-00030U-QC for bug-gnu-emacs@gnu.org; Tue, 15 Mar 2022 17:13:01 -0400 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164737873611497 (code B ref -1); Tue, 15 Mar 2022 21:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Mar 2022 21:12:16 +0000 Original-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 Original-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 Original-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 Original-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= Original-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 Original-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) Original-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) 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228421 Archived-At: =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))