From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 04 18:34:52 2022 Received: (at submit) by debbugs.gnu.org; 4 Apr 2022 22:34:52 +0000 Received: from localhost ([127.0.0.1]:53274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbVHf-0006Tn-Iv for submit@debbugs.gnu.org; Mon, 04 Apr 2022 18:34:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:58810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbVHc-0006Tb-Ex for submit@debbugs.gnu.org; Mon, 04 Apr 2022 18:34:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbVHc-0002P5-67 for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2022 18:34:48 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:56909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbVHY-00040M-H1 for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2022 18:34:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649111682; 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; bh=bFtDcU7zvp8RnvZLpwgsSVUGfPSUxDpak6yr2SWTwT0=; b=AeViFo9mndhuqYGehqHMrDyi6gOhA5/DOmaPqZM0jNPskHCICfIpMg3e6JVzTWcU5ewAX+ Pp1YW+Yg1U5iWoXPpcLAEghWbkWKJL4D814cZ/klNOijSJr1mCTwo+h06sIjGSb7XYX5to DlVyseUWJhP6nu4l+vo9Q9zwLxWQAWU= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-460-UG4pJbAmPbmHvCHWbl9gKQ-1; Mon, 04 Apr 2022 18:34:42 -0400 X-MC-Unique: UG4pJbAmPbmHvCHWbl9gKQ-1 Received: by mail-qt1-f199.google.com with SMTP id e5-20020ac85985000000b002e217abd72fso7344897qte.9 for ; Mon, 04 Apr 2022 15:34:42 -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:date:message-id:mime-version :content-transfer-encoding; bh=+sPFoOsLKME7YEUqzK5ClGHTKeOWBB/f9K+RYYAfD5k=; b=Il5DCULY6k0NCQDwpJmjNd8jRzfITRRWYPQnP6oOG32doXzbND5JIjVyA2Vht/5mAh PmUAX0Ee6EELeWI3KGoB7RvDd8bJ0qH20/gxJeulpAsr5M+fa70DpOvZKmpJ7oRL+NmK BvCGvJm6aFVzP3wQ3lEaWWchly3PB/Azsv6GwlGIKcV8zFE/8hUV7vh6lePkJ2Y3dUwp jqqcvYBczUDsB1VCZqnnHoCOFeKeCeaVOjJxKY68b5K8gR4Bh/SePTM2Vricp12DeWQJ Peflx5tXmKvHO/bWkj1cTK931EzzFF1giriZhW/4bnzKMsr7zqwRWTnUUvsiW8cv8/xr zIBw== X-Gm-Message-State: AOAM533MkktczJfTAG3O223z6iPfhibcameCemBMov5VzHckWkt3dxF5 or6lfP/6l4TrXo2DsistqOLys4OxPYRi6XOqbCoc9gzGxTiRCStdFFsYYn6jA5B4L9/lAHZZlZ/ yHNfHOzu/6mY4f9w= X-Received: by 2002:ac8:58c3:0:b0:2e1:c58b:f757 with SMTP id u3-20020ac858c3000000b002e1c58bf757mr550837qta.676.1649111680947; Mon, 04 Apr 2022 15:34:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqLC2n125G2x/rJton1IJFRexpn24YSrvoLh6vF5+nAgP4Kf9a9dC+QOJprHYAfO5henxT9g== X-Received: by 2002:ac8:58c3:0:b0:2e1:c58b:f757 with SMTP id u3-20020ac858c3000000b002e1c58bf757mr550817qta.676.1649111680655; Mon, 04 Apr 2022 15:34:40 -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 j12-20020ae9c20c000000b0067ec380b320sm7261847qkg.64.2022.04.04.15.34.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 15:34:39 -0700 (PDT) From: Ken Raeburn To: bug-gnu-emacs@gnu.org Subject: 28.0.92; rcirc channel-vs-log buffer confusion Date: Mon, 04 Apr 2022 18:34:37 -0400 Message-ID: <877d84qxz6.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.133.124; envelope-from=raeburn@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: philipk@posteo.net 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=99m using rcirc, and have logging turned on. When I started up=20 rcirc, I already had one of the log files=20 (~/.emacs.d/rcirc-log/#gnucash@irc.gnome.org) being viewed in a=20 buffer. That buffer, sensibly enough, was named=20 =E2=80=9C#gnucash@irc.gnome.org=E2=80=9D. Once rcirc connected to irc.gno= me.org,=20 and joined my channels, it looked for a buffer named=20 =E2=80=9C#gnucash@irc.gnome.org=E2=80=9D, assumed that that was its own buf= fer for=20 showing channel messages, switched it to rcirc mode, and started=20 adding to it. So now, the buffer starts off:=20 =20 2022-04-04T18:01:18 *** raeburn JOIN 2022-04-04T18:01:18 *** ChanServ MODE +v raeburn 2022-04-04T18:01:18 *** TOPIC Free GPL Personal and Small Business=20 Accounting=E2=80=A6 2022-04-04T18:01:18 *** NAMES =E2=80=A6 2021-11-01T13:49:16 *** sbluhm JOIN=20 2021-11-01T13:50:25 *** Mechtilde QUIT Ping timeout: 180 seconds 2021-11-01T14:10:13 *** jervin QUIT Quit: jervin There hasn=E2=80=99t been any new message traffic since I joined, but it ap= pears that if I use a command like C-c C-n, the NAMES output gets appended to the block at the beginning of the buffer. (I=E2=80=99m wary of trying to se= nd a message myself, as I=E2=80=99m not sure how much of the buffer will be take= n as my message in this weird state =E2=80=94 just the line I type, or everythin= g after the apparent insertion point?) I think I got into this state after restarting Emacs a couple of times today, because I had been looking at the #gnucash log in a buffer, and am using desktop save mode. The .emacs.desktop file doesn=E2=80=99t save t= he uniquified buffer name, apparently. (My current .emacs.desktop has two entries for buffers to be called =E2=80=9CworkQueue.c=E2=80=9D for files by= that name in different directories.) After the takeover of the buffer for use by rcirc mode, the buffer-file-name is still set, so that info can be saved away. This also resulted in a message logged at startup time =E2=80=94 the saved = info on the #gnucash buffer said it was in rcirc-mode, which causes rcirc-mode to be invoked in the =E2=80=9Crestored=E2=80=9D buffer with no a= rguments, but rcirc-mode requires exactly two arguments, unlike normal mode functions. Load the desktop file the first time, even if rcirc is running, and the saved desktop will add the file buffer to the buffers to restore. Quit, restart, and load the desktop file the second time, and the file buffer will be loaded before rcirc gets started, causing the buffer =E2=80=9Ctakeo= ver=E2=80=9D and resulting in a new desktop save file showing the log file buffer as being in rcirc-mode. Quit, restart, and load the desktop file a third time, and a message will be logged about an error trying to set the buffer mode. With the issues I=E2=80=99ve described before about not reliably getting ba= ck into channels when quitting and restarting, the simplest fix once I=E2=80= =99m in the situation seems to be quitting Emacs, starting up again, making sure any =E2=80=9Crestored=E2=80=9D rcirc log buffers are killed, then starting = rcirc. I can probably work around this by tweaking desktop-files-not-to-save so I don=E2=80=99t accidentally hit this when restarting Emacs, but (1) I do w= ant to be able to look at a log file and preserve my position in it from session to session, and (2) manually pulling up a log file before starting rcirc would still trigger the same lossage. In GNU Emacs 28.0.92 (build 1, x86_64-redhat-linux-gnu, X toolkit, cairo ve= rsion 1.17.4, Xaw3d scroll bars) of 2022-03-20 built on 5bed50ec23174a34b43f6166b598ee0b 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: rcirc Minor modes in effect: buffer-face-mode: t rcirc-track-minor-mode: t display-time-mode: t desktop-save-mode: t global-edit-server-edit-mode: t smart-quotes-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 show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t use-hard-newlines: 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 visual-line-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.92/lisp/transient Features: (shadow sort mail-extr emacsbug sendmail shortdoc help-fns radix-tree gnutls network-stream nsm misearch multi-isearch cl-print ielm pp add-log markdown-mode reveal face-remap dired-aux python tramp-sh mule-util dockerfile-mode mhtml-mode css-mode color js sgml-mode facemenu ruby-mode texinfo texinfo-loaddefs rst compile perl-mode sh-script smie executable bug-reference conf-mode 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 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 jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi yaml-mode 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 601460 80132) (symbols 48 34155 0) (strings 32 136844 6717) (string-bytes 1 4343776) (vectors 16 66007) (vector-slots 8 1241450 56375) (floats 8 520 450) (intervals 56 11548 4504) (buffers 992 197)) From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 05 06:04:07 2022 Received: (at submit) by debbugs.gnu.org; 5 Apr 2022 10:04:07 +0000 Received: from localhost ([127.0.0.1]:53769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbg2g-0004mN-PL for submit@debbugs.gnu.org; Tue, 05 Apr 2022 06:04:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:50594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbg2e-0004mF-Qi for submit@debbugs.gnu.org; Tue, 05 Apr 2022 06:04:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbg2e-0007LK-I0 for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2022 06:04:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbg2c-000690-8m for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2022 06:04:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id EC55F240033 for ; Tue, 5 Apr 2022 12:03:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1649153040; bh=e4DtH618IB3pDZedLBUkRHDF1kxnLMitl5SWZ0WC67Q=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=Th89LeCFA/1VIXzNGR9CZDiBgsIuGjRVVHJZrgJUszZE4CtkcpZlc77rpENzFb6sF Q+iAV+m2cl4OOL0ZeN1YvIEybLOW+60KcWMVUILQATn5LH7ORAkeiErtDz5LUybV4W aZ3Ii8QkOIa7zMw1qZdOTsFIeF+3IR3I//M2jYnYSNZWE4gaoVjmOAc2gt/1xZC1B1 /5hMQHLljTcobnBKQHQvHMJJPRr8U8XRqHyWe/ieYgizVer0mx9MzcKpktUa4eNry3 c7Uh98rZw+cyuBX6tX/CdQBM1kFpHvzHV5WC3uUEKg5ThJIRc9ywa5D3BDa/mnnhqz d/2K5TxLaJ48A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KXjsQ6JJCz9rxh; Tue, 5 Apr 2022 12:03:54 +0200 (CEST) From: Philip Kaludercic To: Ken Raeburn Subject: Re: 28.0.92; rcirc channel-vs-log buffer confusion In-Reply-To: <877d84qxz6.fsf@redhat.com> (Ken Raeburn's message of "Mon, 04 Apr 2022 18:34:37 -0400") References: <877d84qxz6.fsf@redhat.com> 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: Tue, 05 Apr 2022 10:03:49 +0000 Message-ID: <874k379796.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org 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.3 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ken Raeburn writes: > I=E2=80=99m using rcirc, and have logging turned on. When I started up > rcirc, I already had one of the log files > (~/.emacs.d/rcirc-log/#gnucash@irc.gnome.org) being viewed in a > buffer. That buffer, sensibly enough, was named > =E2=80=9C#gnucash@irc.gnome.org=E2=80=9D. Once rcirc connected to irc.g= nome.org, and > joined my channels, it looked for a buffer named > =E2=80=9C#gnucash@irc.gnome.org=E2=80=9D, assumed that that was its own b= uffer for > showing channel messages, switched it to rcirc mode, and started > adding to it. So now, the buffer starts off: 2022-04-04T18:01:18 > *** raeburn JOIN > 2022-04-04T18:01:18 *** ChanServ MODE +v raeburn > 2022-04-04T18:01:18 *** TOPIC Free GPL Personal and Small Business > Accounting=E2=80=A6 > 2022-04-04T18:01:18 *** NAMES =E2=80=A6 > 2021-11-01T13:49:16 *** sbluhm JOIN 2021-11-01T13:50:25 *** > Mechtilde QUIT Ping timeout: 180 seconds > 2021-11-01T14:10:13 *** jervin QUIT Quit: jervin > [...] > I can probably work around this by tweaking desktop-files-not-to-save so > I don=E2=80=99t accidentally hit this when restarting Emacs, but (1) I do= want > to be able to look at a log file and preserve my position in it from > session to session, and (2) manually pulling up a log file before > starting rcirc would still trigger the same lossage. It might help to add rcirc-mode to desktop-modes-not-to-save, but you are right the fundamental issue still is that rcirc can get confused by specific buffer names. One solution might just be to wrap the body of rcirc-generate-new-buffer-name in a generate-new-buffer call, so as to avoid these issue. IIRC there should be no issue if the buffer name for a rcirc chat buffer has a modified name, as the buffer objects all managed via rcirc-buffer-alist and rcirc-get-buffer. Could you try applying this patch to see if this improves the situation, or if some other issues arise: --=-=-= Content-Type: text/plain Content-Disposition: inline diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 859dc175e5..1f82924d98 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -1556,10 +1556,11 @@ rcirc-clean-up-buffer (defun rcirc-generate-new-buffer-name (process target) "Return a buffer name based on PROCESS and TARGET. This is used for the initial name given to IRC buffers." - (substring-no-properties - (if target - (concat target "@" (process-name process)) - (concat "*" (process-name process) "*")))) + (generate-new-buffer + (substring-no-properties + (if target + (concat target "@" (process-name process)) + (concat "*" (process-name process) "*"))))) (defun rcirc-get-buffer (process target &optional server) "Return the buffer associated with the PROCESS and TARGET. --=-=-= Content-Type: text/plain -- Philip Kaludercic --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 06 06:00:17 2022 Received: (at control) by debbugs.gnu.org; 6 Apr 2022 10:00:17 +0000 Received: from localhost ([127.0.0.1]:56994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc2SX-00042r-3M for submit@debbugs.gnu.org; Wed, 06 Apr 2022 06:00:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc2SV-00042W-M5 for control@debbugs.gnu.org; Wed, 06 Apr 2022 06:00:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UxeJ1gF2BAv+OSf3mSljcbXIfnC0EeYOsPcxlXrKU6s=; b=aX/6UvCoW8BG6jKhIGbuZIstmD O/a9vNc3iT7X1i+aa+Jt2TNkSD9E/FzWUxl2qQ0h9hD52bDeqmu6dKDkf82/0f/kTP6aaprUYJzhF O7YqL5r6jXAcNWatKI6AXmmIBa8obpgvX+kkFqe/wR+83hCr8MDjDuElXZYMq3bLM2vw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nc2SN-0001Vb-O4 for control@debbugs.gnu.org; Wed, 06 Apr 2022 12:00:09 +0200 Date: Wed, 06 Apr 2022 12:00:07 +0200 Message-Id: <871qyaedlk.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54718 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: tags 54718 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 54718 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 06 07:22:04 2022 Received: (at 54718) by debbugs.gnu.org; 6 Sep 2022 11:22:04 +0000 Received: from localhost ([127.0.0.1]:49844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVWeZ-0000Q5-LF for submit@debbugs.gnu.org; Tue, 06 Sep 2022 07:22:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVWeX-0000P6-MR for 54718@debbugs.gnu.org; Tue, 06 Sep 2022 07:22:02 -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:Date:References: In-Reply-To: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=gMLsdYQQeh63fhCG4JYWWUcu1868iyzEYzNE7vLTOF8=; b=V8eB7yRIo37hEBVs2SMBESOLZv PEDveuzP+Y/++SdzU+ACnEzlVdL35L/HR3c0leSMQk+1hOCG+R4G+nAbVyYUVY0OmiCAPTgpRocmK clLZnDQzKDlYjZqfU98Dde/Q7jWj9hGHj3ClbusrcBpQ0XdfXCC2h1VCQZMQWGccEGn8=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVWeP-0003zn-29; Tue, 06 Sep 2022 13:21:55 +0200 From: Lars Ingebrigtsen To: Philip Kaludercic Subject: Re: bug#54718: 28.0.92; rcirc channel-vs-log buffer confusion In-Reply-To: <874k379796.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 05 Apr 2022 10:03:49 +0000") References: <877d84qxz6.fsf@redhat.com> <874k379796.fsf@posteo.net> X-Now-Playing: David Bowie's _"Heroes"_: =?utf-8?Q?=22Neuk=C3=B6ln=22?= Date: Tue, 06 Sep 2022 13:21:50 +0200 Message-ID: <871qsou4s1.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: Philip Kaludercic writes: > Could you try applying this patch to see if this improves the situation, > or if some other issues arise: Ken, did you try Philip's patch? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54718 Cc: Ken Raeburn , 54718@debbugs.gnu.org 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: > Could you try applying this patch to see if this improves the situation, > or if some other issues arise: Ken, did you try Philip's patch? From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 06 07:22:06 2022 Received: (at control) by debbugs.gnu.org; 6 Sep 2022 11:22:06 +0000 Received: from localhost ([127.0.0.1]:49847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVWec-0000Qa-1q for submit@debbugs.gnu.org; Tue, 06 Sep 2022 07:22:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVWeb-0000PK-6w for control@debbugs.gnu.org; Tue, 06 Sep 2022 07:22:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8m11LVyeOXr3lLDkfLsdE8ZRg8CEkO211AXFGD9QRNc=; b=TGPPxECtBcemVJLI/AFmdmi+xi VqYl4WC5AVCqAgecraRJAAECXnlGfKRC3XQWqmVqHkS4rYjg/byk7H+FfWP5S/X9vseGePTmmXsqA PmkYG8/HzCxC927j19t0xIUUJm+06ImgVEzGeUoUmdA9QAH9iPq8/kZyh6BheN5K7DIA=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVWeT-0003zt-Nd for control@debbugs.gnu.org; Tue, 06 Sep 2022 13:21:59 +0200 Date: Tue, 06 Sep 2022 13:21:57 +0200 Message-Id: <87zgfcsq7e.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54718 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: tags 54718 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 54718 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 07:46:51 2022 Received: (at 54718) by debbugs.gnu.org; 4 Oct 2022 11:46:51 +0000 Received: from localhost ([127.0.0.1]:52754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofgNu-0003aF-ST for submit@debbugs.gnu.org; Tue, 04 Oct 2022 07:46:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofgNt-0003Zx-LS for 54718@debbugs.gnu.org; Tue, 04 Oct 2022 07:46:50 -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:Date:References: In-Reply-To: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=iY2quf2ynezLjlfDgekSqucp1awUj7jj1bOzbqyyA1s=; b=T6waIucxjVRuILocJBr+8bUE6H DvV3zczD8l0AhxSquXtL2pA0v5QYeLYBTwUqzM4piltx5P9f2ihLSgWSuRfuMjReHgfYA452ERrqB MUyQUVWmc+Nmshj1o1Srl8OVYaSIoXHrU98ckL+XbpTAMxDAs8H8uL7CPAw2xpZB8Av4=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofgNl-0003Q9-FU; Tue, 04 Oct 2022 13:46:43 +0200 From: Lars Ingebrigtsen To: Philip Kaludercic Subject: Re: bug#54718: 28.0.92; rcirc channel-vs-log buffer confusion In-Reply-To: <871qsou4s1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 06 Sep 2022 13:21:50 +0200") References: <877d84qxz6.fsf@redhat.com> <874k379796.fsf@posteo.net> <871qsou4s1.fsf@gnus.org> X-Now-Playing: Phranc's _Folksinger_: "Noguchi" Date: Tue, 04 Oct 2022 13:46:40 +0200 Message-ID: <87y1tv95gf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: Lars Ingebrigtsen writes: >> Could you try applying this patch to see if this improves the situation, >> or if some other issues arise: > > Ken, did you try Philip's patch? This was a month ago. Philip, I think your patch looks "obviously correct", so feel free to push it. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54718 Cc: Ken Raeburn , 54718@debbugs.gnu.org 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: >> Could you try applying this patch to see if this improves the situation, >> or if some other issues arise: > > Ken, did you try Philip's patch? This was a month ago. Philip, I think your patch looks "obviously correct", so feel free to push it. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 05 13:31:46 2022 Received: (at 54718) by debbugs.gnu.org; 5 Oct 2022 17:31:46 +0000 Received: from localhost ([127.0.0.1]:57956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og8FG-0006ek-8R for submit@debbugs.gnu.org; Wed, 05 Oct 2022 13:31:46 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og8FE-0006eW-S3 for 54718@debbugs.gnu.org; Wed, 05 Oct 2022 13:31:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5BE15240104 for <54718@debbugs.gnu.org>; Wed, 5 Oct 2022 19:31:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1664991098; bh=W3FRJ1ayXAONf7B/GPCRKQpQ7gm0kMJIttW5Arn0Kq4=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=Th3W4PDGlusFfhnQLZTKVOar2LuN4UIa0UFIy5X7rDR8MHSqBZ9+f7Myw2bWGeC5Y tYRiUrougnD3/sHG6/fZB1U70EpngnKHLh1+XgljLbIVqkphCRB8DoJNDgKa6fXdyy ZmR9gUisj15YJm9uhOItkwesrQxidmkOFYwn7yAnMSa5f/QRp7j3BRGlGsuLN2D289 fepUHfM1OcER3lH+K0YeLGap4B1FWIjItfBTIk+5L+/VxKMsjnlYvyekOT505c4LFl EqAu5LAJ4u1d7XlulHDfNAaJypqEC1u2AV7cP1zwAL5WjeHitz9+dXFqwWlp0IpYVa safwhBC/0xw9w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MjM7W6dY7z6tnP; Wed, 5 Oct 2022 19:31:34 +0200 (CEST) From: Philip Kaludercic To: Lars Ingebrigtsen Subject: Re: bug#54718: 28.0.92; rcirc channel-vs-log buffer confusion In-Reply-To: <87y1tv95gf.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 04 Oct 2022 13:46:40 +0200") References: <877d84qxz6.fsf@redhat.com> <874k379796.fsf@posteo.net> <871qsou4s1.fsf@gnus.org> <87y1tv95gf.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: Wed, 05 Oct 2022 17:31:34 +0000 Message-ID: <87lepu9nyh.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54718 Cc: Ken Raeburn , 54718@debbugs.gnu.org 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: > Lars Ingebrigtsen writes: > >>> Could you try applying this patch to see if this improves the situation, >>> or if some other issues arise: >> >> Ken, did you try Philip's patch? > > This was a month ago. Philip, I think your patch looks "obviously > correct", so feel free to push it. It appears the patch was not correct, as the function was used in a few other spots. One unintended side-effect was that logging creates a new buffer for apparently every *received message*. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 07:32:36 2022 Received: (at 54718) by debbugs.gnu.org; 6 Oct 2022 11:32:36 +0000 Received: from localhost ([127.0.0.1]:59133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogP7D-0003Vc-S2 for submit@debbugs.gnu.org; Thu, 06 Oct 2022 07:32:36 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogP7C-0003VO-5Y for 54718@debbugs.gnu.org; Thu, 06 Oct 2022 07:32:34 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EE134240106 for <54718@debbugs.gnu.org>; Thu, 6 Oct 2022 13:32:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665055948; bh=MSP6+BobUlaHVJEjrHwCt76h4ugX4JL3K3wligPgXEM=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=ncXVSet3wZY33IWTwjx+VOfsLQIg/XYfCBjzt8QNMyHYpaknD1aNMxBzisCyNkdij cfgqFIlTdc7F8syXoOFiO66iK1dawKcwr3LvbYQDnRIK5HRPd/WPEUrp8VSilJVHYi QWnNW6CBaVz2yVewROpyMl+rkHTPbz0ENDZ2/cpyp75csAqv2O6Lxz+TSgRpLQDoA0 sUOocDxp+MgmwBydry5T6tvPIKMJ9n13i1jR9YKktoBR/oeYhUgbEvXdpzlW24GaO7 6rpaNIWsuwwIxYdXgHIHOaT1bZtR1yr8ryKll45tjHU7q3dXVeXkcASdoD+SykgXjt cx+8847t8b6Vw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mjq6g149Nz6tpd; Thu, 6 Oct 2022 13:32:26 +0200 (CEST) From: Philip Kaludercic To: Lars Ingebrigtsen Subject: Re: bug#54718: 28.0.92; rcirc channel-vs-log buffer confusion In-Reply-To: <87lepu9nyh.fsf@posteo.net> (Philip Kaludercic's message of "Wed, 05 Oct 2022 17:31:34 +0000") References: <877d84qxz6.fsf@redhat.com> <874k379796.fsf@posteo.net> <871qsou4s1.fsf@gnus.org> <87y1tv95gf.fsf@gnus.org> <87lepu9nyh.fsf@posteo.net> 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, 06 Oct 2022 11:32:24 +0000 Message-ID: <87bkqpnq5z.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54718 Cc: Ken Raeburn , 54718@debbugs.gnu.org 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: > Lars Ingebrigtsen writes: > >> Lars Ingebrigtsen writes: >> >>>> Could you try applying this patch to see if this improves the situation, >>>> or if some other issues arise: >>> >>> Ken, did you try Philip's patch? >> >> This was a month ago. Philip, I think your patch looks "obviously >> correct", so feel free to push it. > > It appears the patch was not correct, as the function was used in a few > other spots. One unintended side-effect was that logging creates a new > buffer for apparently every *received message*. Another idea might be to modify `rcirc-generate-log-filename' to add a ".log" to the end of each filename. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 14 14:13:27 2022 Received: (at 54718-done) by debbugs.gnu.org; 14 Oct 2022 18:13:27 +0000 Received: from localhost ([127.0.0.1]:38568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojPBX-0003Fn-FQ for submit@debbugs.gnu.org; Fri, 14 Oct 2022 14:13:27 -0400 Received: from mout01.posteo.de ([185.67.36.65]:53857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojPBV-0003FZ-GS for 54718-done@debbugs.gnu.org; Fri, 14 Oct 2022 14:13:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 04334240028 for <54718-done@debbugs.gnu.org>; Fri, 14 Oct 2022 20:13:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665771200; bh=6v8aHwl09GPRKuQreefP4E6eDxVDOtMmWyKRNASaVNg=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=lJ56A4OKLGcCM589mqQx/g1bOupyFAOiqdjHFdIwhyWbhH0jD2l9Z743VTmAWv+nG I3hAuSnpcc7a2jZT6kKVc2i/1TXtfTdX7nYlfvVqY6ouOxYb4eYWTZkHTsnSg151Xj JTP+JyLWteEn+SfQO2AiBY0RLCxDPj1pexCfvagVLzm1RjuZCsqM/y57Xufa7YrKrn 9PPid0R5rujon0LBsyw7VCUtvRH7XJEWXFIvxCArhw++71yH4tOqniT3s6sZkCjiaC dekAmrT13Wh8iqKlN7qBl0iUisgTJgkodThn3L5TVtPCIufl28ZEoY9PgaSYkZuZMw cAYnRWnFlyxiA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MpvdW13C1z6tlh; Fri, 14 Oct 2022 20:13:18 +0200 (CEST) From: Philip Kaludercic To: Lars Ingebrigtsen Subject: Re: bug#54718: 28.0.92; rcirc channel-vs-log buffer confusion In-Reply-To: <87bkqpnq5z.fsf@posteo.net> (Philip Kaludercic's message of "Thu, 06 Oct 2022 11:32:24 +0000") References: <877d84qxz6.fsf@redhat.com> <874k379796.fsf@posteo.net> <871qsou4s1.fsf@gnus.org> <87y1tv95gf.fsf@gnus.org> <87lepu9nyh.fsf@posteo.net> <87bkqpnq5z.fsf@posteo.net> 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: Fri, 14 Oct 2022 18:13:18 +0000 Message-ID: <874jw68e9t.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54718-done Cc: Ken Raeburn , 54718-done@debbugs.gnu.org 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.7 (-) Philip Kaludercic writes: > Philip Kaludercic writes: > >> Lars Ingebrigtsen writes: >> >>> Lars Ingebrigtsen writes: >>> >>>>> Could you try applying this patch to see if this improves the situation, >>>>> or if some other issues arise: >>>> >>>> Ken, did you try Philip's patch? >>> >>> This was a month ago. Philip, I think your patch looks "obviously >>> correct", so feel free to push it. >> >> It appears the patch was not correct, as the function was used in a few >> other spots. One unintended side-effect was that logging creates a new >> buffer for apparently every *received message*. > > Another idea might be to modify `rcirc-generate-log-filename' to add a > ".log" to the end of each filename. I have pushed a patch that does this, as there have been no objections. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 04 18:53:29 2022 Received: (at 54718) by debbugs.gnu.org; 4 Nov 2022 22:53:29 +0000 Received: from localhost ([127.0.0.1]:55005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or5Z3-0000qw-Co for submit@debbugs.gnu.org; Fri, 04 Nov 2022 18:53:29 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or5Z1-0000qf-QU for 54718@debbugs.gnu.org; Fri, 04 Nov 2022 18:53:28 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4C13E240103 for <54718@debbugs.gnu.org>; Fri, 4 Nov 2022 23:53:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667602402; bh=6wVa2jGR2EH3EdNeP8iYYU1LNeMNtpCmUbLGKVE8iw0=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=PWEYktLMRmM8mDZGyJBB0kOv04cVolMWgLBpf1j+nKQYeYYxc+Au7q0in/q36ZvPs 9xPovXH9rZDbWl6VTKD7v8l3b9xhNDIvExWI2gpR6SuO4CfcskgGOa+AaZ2Dqp0Kix 1Ostu2f11v1gVABylJaoSQHyHFJYACfoeLQWYFNleb/zzw5DLw0Qq02CYRq1wyicqg Vw69p0cvyucL1Ge/vT3d7HsFHm/CQ1pJvFXoNHQ7+6eFfL/C9IDyBJBZkNap+AfnMi GQdvTOBxiMJsF1CoX3LyfZtfgUVqNgbL0rUtq9seIFHfUKNGRB+Ahj5fSIfzpVxPC4 1BwKKq11FQbQA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N3wrx5jy3z9rxL; Fri, 4 Nov 2022 23:53:21 +0100 (CET) From: Philip Kaludercic To: Lars Ingebrigtsen Subject: Re: bug#54718: 28.0.92; rcirc channel-vs-log buffer confusion In-Reply-To: <87bkqpnq5z.fsf@posteo.net> (Philip Kaludercic's message of "Thu, 06 Oct 2022 11:32:24 +0000") References: <877d84qxz6.fsf@redhat.com> <874k379796.fsf@posteo.net> <871qsou4s1.fsf@gnus.org> <87y1tv95gf.fsf@gnus.org> <87lepu9nyh.fsf@posteo.net> <87bkqpnq5z.fsf@posteo.net> Autocrypt: addr=philipk@posteo.net; keydata= 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 Date: Fri, 04 Nov 2022 22:53:22 +0000 Message-ID: <87wn8ajpr1.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54718 Cc: Ken Raeburn , 54718@debbugs.gnu.org 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: > Philip Kaludercic writes: > >> Lars Ingebrigtsen writes: >> >>> Lars Ingebrigtsen writes: >>> >>>>> Could you try applying this patch to see if this improves the situation, >>>>> or if some other issues arise: >>>> >>>> Ken, did you try Philip's patch? >>> >>> This was a month ago. Philip, I think your patch looks "obviously >>> correct", so feel free to push it. >> >> It appears the patch was not correct, as the function was used in a few >> other spots. One unintended side-effect was that logging creates a new >> buffer for apparently every *received message*. > > Another idea might be to modify `rcirc-generate-log-filename' to add a > ".log" to the end of each filename. This approach was implemented with db69681759991d5403552682706accd6218b731f. From unknown Wed Jun 18 23:18:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 03 Dec 2022 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator