From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#54423: 29.0.50; gnus-fetch-original-field returns nil in digest Date: Mon, 21 Mar 2022 16:25:59 -0400 Organization: disorganization Message-ID: References: <87ee30vo80.fsf@gnus.org> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33455"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) To: 54423@debbugs.gnu.org Cancel-Lock: sha1:8M3XRpp+2mh/uQIxBlazgeNXdT8= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 21 21:32:18 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 1nWOhN-0008TK-Mo for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 21:32:17 +0100 Original-Received: from localhost ([::1]:46642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWOhM-0001JI-NC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 16:32:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWOcL-0000Cm-UG for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 16:27:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWOcI-0002L5-21 for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 16:27:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWOcH-000103-Lw; Mon, 21 Mar 2022 16:27:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 21 Mar 2022 20:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54423 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: notabug X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16478943973810 (code B ref -1); Mon, 21 Mar 2022 20:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Mar 2022 20:26:37 +0000 Original-Received: from localhost ([127.0.0.1]:38510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWObn-0000zG-2K for submit@debbugs.gnu.org; Mon, 21 Mar 2022 16:26:37 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWObg-0000z2-Qp for submit@debbugs.gnu.org; Mon, 21 Mar 2022 16:26:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWObg-0007JT-Kj for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 16:26:24 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:47608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWObe-0002Bo-Ro for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 16:26:24 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nWObY-0000qa-LG for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 21:26:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:228720 Archived-At: > * Lars Ingebrigtsen [2022-03-17 11:59:43 +0100]: > > Sam Steingold writes: > >> In the group gmane.comp.security.risks on server nntp:news.gmane.io open >> an article and type C-d (gnus-summary-enter-digest-group). >> Then enter a message from the summary buffer (e.g., SPC) >> and now (gnus-fetch-original-field "Newsgroups") returns nil instead of >> "gmane.comp.security.risks" as it should. >> The variable gnus-original-article-buffer evaluates to >> " *Original Article gmane.comp.security.risks*" >> and that buffer starts like this: > > I think there's a misunderstanding here -- the "original" that the > function is fetching is the unformatted "original" version of the thing > that's displayed in the *Article* buffer. It has nothing to do with how > the article was sourced (which was via a digest in this case). Nevertheless, the '''unformatted "original" version of the thing that's displayed in the *Article* buffer''' is the `gnus-original-article-buffer' which points to buffer " *Original Article gmane.comp.security.risks*" which _does_ contain all the needed goodies, _BUT_ `gnus-fetch-original-field' does _NOT_ return them. IOW, `mail-fetch-field', called by `message-fetch-field', called by `gnus-fetch-field', called by `gnus-fetch-original-field', returns nil. `gnus-fetch-original-field' calls `gnus-fetch-field' inside `with-current-buffer gnus-original-article-buffer` and the buffer referenced by `gnus-original-article-buffer' _does_ contain the fields in the header. > So this is working as designed. Then how should bbdb extract the "Newsgroups" et al? Thank you! -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2113 http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com https://iris.org.il https://memri.org https://mideasttruth.com Man has 2 states: hungry/angry and sate/sleepy. Catch him in transition.