GNU logs - #52168, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52168: 29.0.50; Gnus buffers unexpectedly killed by project-kill-buffers
Resent-From: Matthias Meulien <orontee@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 28 Nov 2021 20:55:02 +0000
Resent-Message-ID: <handler.52168.B.163813289015404 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 52168
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 52168 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.163813289015404
          (code B ref -1); Sun, 28 Nov 2021 20:55:02 +0000
Received: (at submit) by debbugs.gnu.org; 28 Nov 2021 20:54:50 +0000
Received: from localhost ([127.0.0.1]:36432 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mrRCE-00040O-2B
	for submit <at> debbugs.gnu.org; Sun, 28 Nov 2021 15:54:50 -0500
Received: from lists.gnu.org ([209.51.188.17]:56054)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <orontee@HIDDEN>) id 1mrRCC-00040F-1s
 for submit <at> debbugs.gnu.org; Sun, 28 Nov 2021 15:54:49 -0500
Received: from eggs.gnu.org ([209.51.188.92]:36554)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <orontee@HIDDEN>) id 1mrRCB-0005PD-Kh
 for bug-gnu-emacs@HIDDEN; Sun, 28 Nov 2021 15:54:47 -0500
Received: from [2a00:1450:4864:20::329] (port=44955
 helo=mail-wm1-x329.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <orontee@HIDDEN>) id 1mrRC7-00059p-JY
 for bug-gnu-emacs@HIDDEN; Sun, 28 Nov 2021 15:54:46 -0500
Received: by mail-wm1-x329.google.com with SMTP id
 p27-20020a05600c1d9b00b0033bf8532855so10943848wms.3
 for <bug-gnu-emacs@HIDDEN>; Sun, 28 Nov 2021 12:54:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:user-agent:mime-version;
 bh=MkvJ2jDdRRfs7inEqGqk+6Ns2ROJQOCopiZFv9OfFB0=;
 b=KOoAEftdm3JiNO9GO+OhB2facxai5g+ln0Q3rrA6vskw0Kjwitnep/naC6a0Io5AxU
 gE/hCh6g85SeS+pwCCAH9mHV5ft4SO7FOtTAPs/xkBpuWkhJ9fgDO2G3p7HfdCY6+Ipi
 xQZXr2AQZnSIb+2PlYHHCPuD8vZRZCyZlZE6qg2c4ZDaNI2hGcWZI50cqXE4KME5+i8z
 T8x3+jfF6oGckuDvom9W6qe4tQGl9efeCabHA5TPuujyMQG6905y/pJ4qI3LNKlla63m
 ww71H1I4dbNjrSNTfLOe8mYFT/3uNfsk6pNbyJQyL0Pmn0Icf33GUKFHynnTL7S4NyXz
 SnEw==
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:user-agent
 :mime-version;
 bh=MkvJ2jDdRRfs7inEqGqk+6Ns2ROJQOCopiZFv9OfFB0=;
 b=ixx/kBij4K71D5S2iXc3agFOy9AemURfZs0mXACKVPX5vquxCLb8Z7xZTIthcyn8u6
 6Gn05z0erIkdVMxERepr/OXyozD9Dzzna2B75v7dhrZWxfPSGPbZKoTf2ylk8qolyDrQ
 VZeuF+Eaeoz/4h6U/nAgQaTuZFPWKVL5CqRyVn0s21G7SmHYOAKfHrEbGBcTDBMfH/xa
 R+FnT3X9mzCmaKS7l5BmGB+rgYQz/q0Se1t/Aah8nWRu2i+9NshjBOLPQfXr8ik47DDn
 fCa3YjKtWPGfoadkV3RPBWrIPUdagLex7HgPCfqX90Uq/Y9nEM4ZIZ1O7voM/jpW7zqN
 Zkgw==
X-Gm-Message-State: AOAM531VCnp2cEALePUPRZjcHLYabz60M0049D7ky8NJ7QrihvleQfcm
 Mc8GI0z13LXG23g+oM3S8QXcP6pA5Uc=
X-Google-Smtp-Source: ABdhPJxo5kRAKeu/YFOgxc/3H2AEAHyH5N47ZQS388ssl3qu2IJtX+IQiqLR1CbEnQk4fFw98A9GNg==
X-Received: by 2002:a7b:c24a:: with SMTP id b10mr31704655wmj.166.1638132881991; 
 Sun, 28 Nov 2021 12:54:41 -0800 (PST)
Received: from carbon.localdomain ([2a01:e0a:245:c850:98f5:429a:aa8e:95bb])
 by smtp.gmail.com with ESMTPSA id 4sm15140722wrz.90.2021.11.28.12.54.41
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 28 Nov 2021 12:54:41 -0800 (PST)
From: Matthias Meulien <orontee@HIDDEN>
Date: Sun, 28 Nov 2021 21:54:39 +0100
Message-ID: <87bl24knlc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::329
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::329;
 envelope-from=orontee@HIDDEN; helo=mail-wm1-x329.google.com
X-Spam_score_int: -12
X-Spam_score: -1.3
X-Spam_bar: -
X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001,
 PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


1. Open a "project" file, say emacs in ~/Sources/emacs/lisp/outline.el
where ~/Sources/emacs contains GNU Emacs sources

2. From the buffer visiting outline.el, start reading mail with gnus

3. Switch back to outline.el buffer and call project-kill-buffers

4. Gnus buffers like *Group*, .newsrc-dribble, etc. are killed. This is
unexpected.

I've seen that the default-directory of *Group*, .newsrc-dribble,
etc. buffers is ~/Sources/emacs/lisp. But the project-kill-buffers logic
is based on buffer default-directory having the project root as
prefix. Thus *Group*, .newsrc-dribble, etc. buffers are killed by
project-kill-buffers.



In GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-11-27 built on carbon
Repository revision: 338f7802373f1cfcc1b3749bbd46091fdef727f4
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure --with-native-compilation'

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

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

Major mode: ELisp/l

Minor modes in effect:
  bug-reference-prog-mode: t
  display-line-numbers-mode: t
  highlight-changes-mode: t
  shell-dirtrack-mode: t
  minions-mode: t
  global-company-mode: t
  company-mode: t
  outline-minor-mode: t
  desktop-save-mode: t
  save-place-mode: t
  electric-pair-mode: t
  icomplete-mode: t
  global-so-long-mode: t
  global-auto-revert-mode: t
  auto-insert-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-layout-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  window-divider-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
/home/matthias/.config/emacs/elpa/transient-20211105.100/transient hides /usr/local/share/emacs/29.0.50/lisp/transient
/home/matthias/.config/emacs/elpa/dictionary-20201001.1727/dictionary hides /usr/local/share/emacs/29.0.50/lisp/net/dictionary

Features:
(edebug finder-inf semantic/wisent/grammar semantic/bovine/grammar
semantic/bovine semantic/grammar semantic/idle semantic/analyze
semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base
semantic/grammar-wy semantic/format semantic/tag-ls semantic/find
semantic/ctxt semantic/wisent semantic/wisent/wisent semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local
cedet generic cc-awk sh-script executable make-mode apropos autoconf
autoconf-mode shr-color nndoc gnus-dup url-cache debbugs-gnu debbugs
soap-client rng-xsd xsd-regexp debbugs-browse log-view time grep
cus-start tramp-archive tramp-gvfs tramp-cache zeroconf gnus-fun
flow-fill mm-archive smiley gnus-cite qp gnus-async gnus-bcklg gnus-ml
gnus-topic nndraft nnmh nnfolder utf-7 epa-file gnutls network-stream
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-cache
mailalias smtpmail shadow sort mail-extr gnus-msg emacsbug sendmail
log-edit pcvs-util smerge-mode diff whitespace cl-print mule-diag
hl-line dabbrev misearch multi-isearch pulse reftex-dcr reftex
reftex-loaddefs reftex-vars tex-mode mule-util shortdoc help-fns
radix-tree add-log checkdoc lisp-mnt url-http url-auth url-gw nsm
mhtml-mode css-mode smie sgml-mode typescript-mode yaml-mode hideshow
cap-words superword subword js python tramp-sh tramp tramp-loaddefs
trampver tramp-integration files-x tramp-compat ls-lisp follow view
enriched disp-table facemenu dired-aux bug-reference
display-line-numbers hilit-chg vc-dir reveal flyspell ox-odt rng-loc
rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table
ox-ascii ox-publish ox goto-addr org-element avl-tree ol-eww eww xdg
url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015
mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom ol-docview
doc-view jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi
org-link-doi vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc
bash-completion shell eglot array jsonrpc ert ewoc debug backtrace
flymake-proc flymake compile imenu company-oddmuse company-keywords
company-etags etags fileloop generator xref project company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb avoid minions company pcase carbon-custom cus-edit cus-load
gnus-demon nntp gnus-group gnus-undo gnus-start gnus-dbus dbus xml
gnus-cloud nnimap nnmail mail-source utf7 netrc parse-time gnus-spec
gnus-win nnoo gnus-int gnus-range message yank-media rmc puny rfc822 mml
mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus nnheader
gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils
mm-util mail-prsvr wid-edit gnus-dired dired-x dired dired-loaddefs
org-capture org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint
ansi-color ring org-list org-faces org-entities 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 dictionary link connection
advice markdown-mode edit-indirect color thingatpt noutline outline
skeleton find-file vc-git diff-mode easy-mmode vc-dispatcher ispell comp
comp-cstr warnings rx cl-extra help-mode desktop frameset server
bookmark text-property-search pp saveplace elec-pair icomplete so-long
autorevert filenotify autoinsert cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs generic-x
face-remap proof-site proof-autoloads info package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars
seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer 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 keymap hashtable-print-readable backquote threads
dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 2441288 968693)
 (symbols 48 52799 45)
 (strings 32 380048 37832)
 (string-bytes 1 13137332)
 (vectors 16 119634)
 (vector-slots 8 2757532 884272)
 (floats 8 764 2067)
 (intervals 56 218793 3395)
 (buffers 992 165))

-- 
Matthias




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Matthias Meulien <orontee@HIDDEN>
Subject: bug#52168: Acknowledgement (29.0.50; Gnus buffers unexpectedly
 killed by project-kill-buffers)
Message-ID: <handler.52168.B.163813289015404.ack <at> debbugs.gnu.org>
References: <87bl24knlc.fsf@HIDDEN>
X-Gnu-PR-Message: ack 52168
X-Gnu-PR-Package: emacs
Reply-To: 52168 <at> debbugs.gnu.org
Date: Sun, 28 Nov 2021 20:55:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 52168 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
52168: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D52168
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52168: 29.0.50; Gnus buffers unexpectedly killed by project-kill-buffers
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 29 Nov 2021 15:29:01 +0000
Resent-Message-ID: <handler.52168.B52168.163819969724837 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52168
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Matthias Meulien <orontee@HIDDEN>
Cc: Philip K <philip@HIDDEN>, 52168 <at> debbugs.gnu.org, Dmitry Gutov <dgutov@HIDDEN>
Received: via spool by 52168-submit <at> debbugs.gnu.org id=B52168.163819969724837
          (code B ref 52168); Mon, 29 Nov 2021 15:29:01 +0000
Received: (at 52168) by debbugs.gnu.org; 29 Nov 2021 15:28:17 +0000
Received: from localhost ([127.0.0.1]:38910 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mriZk-0006SW-TP
	for submit <at> debbugs.gnu.org; Mon, 29 Nov 2021 10:28:17 -0500
Received: from quimby.gnus.org ([95.216.78.240]:58964)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mriZj-0006SF-19
 for 52168 <at> debbugs.gnu.org; Mon, 29 Nov 2021 10:28:15 -0500
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=vOy6cJJMoXuleQh9Q4+XNs7v8/rv4rBNU8r7JZlTfbM=; b=KWLYpOy9I4x7wjXebsDCumYr1S
 V8d4r7OSqBcL6mzBbZz8vE3PJip5CPRUPBwU5QitPolTTH/KN8h1sIqwHvCPlEfXMeJQ2OH54iyXs
 kcwLyUuLosh1kq/h2qmXGQEdLf3yyS3OsTeY5zomrkHEUFlaYCxwKLwXrgNZSiOjhyZ8=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mriZT-0005ad-V6; Mon, 29 Nov 2021 16:28:02 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <87bl24knlc.fsf@HIDDEN>
X-Now-Playing: Mia Doi Todd's _Music Life_: "Music Life (feat. Jeff Parker &
 Money Mark)"
Date: Mon, 29 Nov 2021 16:27:56 +0100
In-Reply-To: <87bl24knlc.fsf@HIDDEN> (Matthias Meulien's message of "Sun,
 28 Nov 2021 21:54:39 +0100")
Message-ID: <87sfvfvv5v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Matthias Meulien <orontee@HIDDEN> writes: > 1. Open a
 "project"
 file, say emacs in ~/Sources/emacs/lisp/outline.el > where ~/Sources/emacs
 contains GNU Emacs sources > > 2. From the buffer visiting outline.el, start
 reading mail with gnus > > [...] 
 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-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Matthias Meulien <orontee@HIDDEN> writes:

> 1. Open a "project" file, say emacs in ~/Sources/emacs/lisp/outline.el
> where ~/Sources/emacs contains GNU Emacs sources
>
> 2. From the buffer visiting outline.el, start reading mail with gnus
>
> 3. Switch back to outline.el buffer and call project-kill-buffers
>
> 4. Gnus buffers like *Group*, .newsrc-dribble, etc. are killed. This is
> unexpected.

I've added Philip and Dmitry to the CCs; perhaps they some comments.

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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52168: 29.0.50; Gnus buffers unexpectedly killed by project-kill-buffers
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 30 Nov 2021 13:22:02 +0000
Resent-Message-ID: <handler.52168.B52168.163827846229010 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52168
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Matthias Meulien <orontee@HIDDEN>
Cc: Philip Kaludercic <philipk@HIDDEN>, 52168 <at> debbugs.gnu.org, Dmitry Gutov <dgutov@HIDDEN>
Received: via spool by 52168-submit <at> debbugs.gnu.org id=B52168.163827846229010
          (code B ref 52168); Tue, 30 Nov 2021 13:22:02 +0000
Received: (at 52168) by debbugs.gnu.org; 30 Nov 2021 13:21:02 +0000
Received: from localhost ([127.0.0.1]:40406 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ms34A-0007Xp-K9
	for submit <at> debbugs.gnu.org; Tue, 30 Nov 2021 08:21:02 -0500
Received: from quimby.gnus.org ([95.216.78.240]:41448)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1ms348-0007X2-9b
 for 52168 <at> debbugs.gnu.org; Tue, 30 Nov 2021 08:21:00 -0500
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=ly1qY7PcsZuTzh/dInYTzG5U+n1olHmlfHga0HiBE4I=; b=ftKDiBuo0VJbmZ+6oXRaeNJeHJ
 lP68/tQKRXEExhEHu4NOEE6HYIYFbMMFDNv3/GIebbPYpTVc9t4xT7SOQNSXTGe7Nl+/Hdnukb3H3
 3wbB71flevEkSvZWxSb9Y97Wx2RTC6OnAZwJWSmiQb32SdWucG26jWJz7sA2UkZ9gV+w=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1ms33z-0006T5-VA; Tue, 30 Nov 2021 14:20:54 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <87bl24knlc.fsf@HIDDEN> <87sfvfvv5v.fsf@HIDDEN>
X-Now-Playing: Irreversible Entanglements's _Open The Gates_: "Keys to
 Creation"
Date: Tue, 30 Nov 2021 14:20:51 +0100
In-Reply-To: <87sfvfvv5v.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Mon,
 29 Nov 2021 16:27:56 +0100")
Message-ID: <875ys9pyoc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Lars Ingebrigtsen <larsi@HIDDEN> writes: > Matthias Meulien
 <orontee@HIDDEN> writes: > >> 1. Open a "project" file,
 say emacs in ~/Sources/emacs/lisp/outline.el
 >> where ~/Sources/emacs contains GNU Emacs sources >> >> 2. From the buffer
 [...] 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-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Matthias Meulien <orontee@HIDDEN> writes:
>
>> 1. Open a "project" file, say emacs in ~/Sources/emacs/lisp/outline.el
>> where ~/Sources/emacs contains GNU Emacs sources
>>
>> 2. From the buffer visiting outline.el, start reading mail with gnus
>>
>> 3. Switch back to outline.el buffer and call project-kill-buffers
>>
>> 4. Gnus buffers like *Group*, .newsrc-dribble, etc. are killed. This is
>> unexpected.
>
> I've added Philip and Dmitry to the CCs; perhaps they some comments.

The address I used for Philip bounced; trying again with a different
address.

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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52168: 29.0.50; Gnus buffers unexpectedly killed by project-kill-buffers
Resent-From: Philip Kaludercic <philipk@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 30 Nov 2021 18:54:02 +0000
Resent-Message-ID: <handler.52168.B52168.163829838228227 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52168
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: Philip Kaludercic <philipk@HIDDEN>, 52168 <at> debbugs.gnu.org, Matthias Meulien <orontee@HIDDEN>, Dmitry Gutov <dgutov@HIDDEN>
Received: via spool by 52168-submit <at> debbugs.gnu.org id=B52168.163829838228227
          (code B ref 52168); Tue, 30 Nov 2021 18:54:02 +0000
Received: (at 52168) by debbugs.gnu.org; 30 Nov 2021 18:53:02 +0000
Received: from localhost ([127.0.0.1]:42491 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ms8FR-0007L8-Mt
	for submit <at> debbugs.gnu.org; Tue, 30 Nov 2021 13:53:02 -0500
Received: from mout02.posteo.de ([185.67.36.66]:59941)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <philipk@HIDDEN>) id 1ms8FP-0007Kt-50
 for 52168 <at> debbugs.gnu.org; Tue, 30 Nov 2021 13:53:00 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 1FAE5240105
 for <52168 <at> debbugs.gnu.org>; Tue, 30 Nov 2021 19:52:51 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1638298372; bh=fPzXVXXKkUqXKhxzxkW+3Kh9F8BBJoji+D7Pmc7dhjc=;
 h=From:To:Cc:Subject:Date:From;
 b=O/C+0ixhQpe+cmFKSxCoYDOVK8AAF/DBjfGclXGoSoO6IK30kBDOfO5CWPhY7dfPW
 eh8iSA2feFu15rMlcRkBGY+J8WDcXxghbnORPNIM5zPit3+0HMiEB8CO0EyJ7HrLMR
 SdrgVbzpORu0rEJBA1/c7PE4EM+v+YB2fwcjRsUh31BJRmXmVo5PG7mGk93sTJIcbX
 BlE+0DD24xOKghvjnRZF98mMVBsc7WTWosxHSpmrMlocVz3kuHnfeDJ/yUQwHNP2JT
 SRa8iAVsAKghy1oE+g96jciSjtqrI58JBjzRjAkJjTmmVp+y6eYrbuGb4Ds4u+iG3p
 Bf7KMtlkZ6YZA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4J3WYv0kyMz9rxG;
 Tue, 30 Nov 2021 19:52:51 +0100 (CET)
From: Philip Kaludercic <philipk@HIDDEN>
In-Reply-To: Philip Kaludercic's message of "(unknown date)"
References: <87bl24knlc.fsf@HIDDEN> <87sfvfvv5v.fsf@HIDDEN>
 <875ys9pyoc.fsf@HIDDEN>
Date: Tue, 30 Nov 2021 18:52:38 +0000
Message-ID: <87sfvdmq6h.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

(I'm not sure if my last message got sent out, so I'm sending this again)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

>> Lars Ingebrigtsen <larsi@HIDDEN> writes:
>>
>>> Matthias Meulien <orontee@HIDDEN> writes:
>>>
>>>> 1. Open a "project" file, say emacs in ~/Sources/emacs/lisp/outline.el
>>>> where ~/Sources/emacs contains GNU Emacs sources
>>>>
>>>> 2. From the buffer visiting outline.el, start reading mail with gnus
>>>>
>>>> 3. Switch back to outline.el buffer and call project-kill-buffers
>>>>
>>>> 4. Gnus buffers like *Group*, .newsrc-dribble, etc. are killed. This is
>>>> unexpected.
>>>
>>> I've added Philip and Dmitry to the CCs; perhaps they some comments.
>>
>> The address I used for Philip bounced; trying again with a different
>> address.

To fix issues like this was the intention behind adding
project-kill-buffer-conditions (that is yet to be generalised).  What I
believe is happening here is that the *Group* buffer is being matched by
this condition

     (and (derived-mode . special-mode)
          (not (major-mode . help-mode)))

because `gnus-group-mode' derives `special-mode' via
`gnus-mode'. .newsrc-dribble matches both

      buffer-file-name

and

     (major-mode . fundamental-mode)

at least on my system.  Fixing this specific issue should be possible by
just adjusting project-kill-buffer-conditions, but it is probably
desirable to think about how this can be avoided in general, without
loosing the actual intended functionality of project-kill-buffers.

-- 
	Philip Kaludercic




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52168: 29.0.50; Gnus buffers unexpectedly killed by project-kill-buffers
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 01 Dec 2021 04:27:01 +0000
Resent-Message-ID: <handler.52168.B52168.163833276422453 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52168
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Philip Kaludercic <philipk@HIDDEN>
Cc: 52168 <at> debbugs.gnu.org, Matthias Meulien <orontee@HIDDEN>, Dmitry Gutov <dgutov@HIDDEN>
Received: via spool by 52168-submit <at> debbugs.gnu.org id=B52168.163833276422453
          (code B ref 52168); Wed, 01 Dec 2021 04:27:01 +0000
Received: (at 52168) by debbugs.gnu.org; 1 Dec 2021 04:26:04 +0000
Received: from localhost ([127.0.0.1]:42956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1msHC0-0005q5-6l
	for submit <at> debbugs.gnu.org; Tue, 30 Nov 2021 23:26:04 -0500
Received: from quimby.gnus.org ([95.216.78.240]:48784)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1msHBz-0005pa-4o
 for 52168 <at> debbugs.gnu.org; Tue, 30 Nov 2021 23:26:03 -0500
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=3FWigSOzOfzTyzl/wrJZEhehFXvSoYM2UWxwPN5Yxnw=; b=UpvQqfqs44EGED49X9hkJoktTm
 GMAfdj6puLsigIx6ap91XHN7woYsG0FRmeYf9n6AtZtXwZiZ28fU7yfUXxFQG+L4w3l7XfRM116gK
 otgh0LPKRXry6MG2AE5N5twDB6Wublj2Zw715Ktzz3dAVOCRri9Y/eZa4xwPksYIN9ek=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1msHBq-00044R-3Z; Wed, 01 Dec 2021 05:25:57 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <87bl24knlc.fsf@HIDDEN> <87sfvfvv5v.fsf@HIDDEN>
 <875ys9pyoc.fsf@HIDDEN> <87sfvdmq6h.fsf@HIDDEN>
X-Now-Playing: Kid606's _Recollected Ambient Works Vol. 1: Bored of
 Excitement_: "B Minor"
Date: Wed, 01 Dec 2021 05:25:53 +0100
In-Reply-To: <87sfvdmq6h.fsf@HIDDEN> (Philip Kaludercic's message of "Tue, 
 30 Nov 2021 18:52:38 +0000")
Message-ID: <87a6hlar3i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Philip Kaludercic <philipk@HIDDEN> writes: > To fix
 issues
 like this was the intention behind adding > project-kill-buffer-conditions
 (that is yet to be generalised). What I > believe is happening here is that
 the *Group* buffer is being match [...] 
 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-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Philip Kaludercic <philipk@HIDDEN> writes:

> To fix issues like this was the intention behind adding
> project-kill-buffer-conditions (that is yet to be generalised).  What I
> believe is happening here is that the *Group* buffer is being matched by
> this condition
>
>      (and (derived-mode . special-mode)
>           (not (major-mode . help-mode)))
>
> because `gnus-group-mode' derives `special-mode' via
> `gnus-mode'. .newsrc-dribble matches both
>
>       buffer-file-name
>
> and
>
>      (major-mode . fundamental-mode)
>
> at least on my system.  Fixing this specific issue should be possible by
> just adjusting project-kill-buffer-conditions, but it is probably
> desirable to think about how this can be avoided in general, without
> loosing the actual intended functionality of project-kill-buffers.

I guess the issue is that it's pretty difficult to get an include-list
here:

    ;; Most of the temp buffers in the background:
    (major-mode . fundamental-mode)
    ;; non-text buffer such as xref, occur, vc, log, ...
    (and (derived-mode . special-mode)
         (not (major-mode . help-mode)))

But...  I think this is way too dangerous -- I think you really have to
come up with a include-list instead of going after fundamental-mode and
special-mode buffers.

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





Last modified: Wed, 1 Dec 2021 04:30:02 UTC

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