From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id 85CE321857 for ; Tue, 19 Nov 2024 10:09:11 +0100 (CET) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tDKEK-0000000EkY3-0Kas for ml@inbox.vuxu.org; Tue, 19 Nov 2024 03:09:07 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1tDKEI-0000000738r-3hbP for ml@inbox.vuxu.org; Tue, 19 Nov 2024 03:09:02 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1tDKEF-0000000738i-3TN6 for ding@lists.math.uh.edu; Tue, 19 Nov 2024 03:09:00 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tDKEB-0000000EkXb-0WzQ for ding@lists.math.uh.edu; Tue, 19 Nov 2024 03:08:59 -0600 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=hhkdBjczWNcVba/xgbQUBZQRyTLKsqcFdjLq+lxPEv4=; b=jqiXskncoopg74cUEAD3vZOYFU b0u9QcIL7bky2gO6BMSlc5Vyz4uMMJyN3U2t0RvR31iAhZxFhBqDmzCsq2yJ70YMKH2GQwLzhYzet nVATiQ/9J5PSAXmHuurxSoB2pniqTH8k9cJ2DdzQdbknJeOJJ+dt9DV/awQCm9w6qWw0=; Received: from hillenius.com ([2a01:4f8:200:546b::9e15:1] helo=hillenius.net) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tDKE3-0000pb-B8 for ding@gnus.org; Tue, 19 Nov 2024 10:08:49 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hillenius.net; s=hillenius; 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=hhkdBjczWNcVba/xgbQUBZQRyTLKsqcFdjLq+lxPEv4=; b=sKLPXG8C1N8rvjkqBqFskwsXr+ /nek0eI5V4h7FKeWqR3touil//tAtZhvZT5ob9x1m5qxYah3ZRmAWB8b2QG7pr21jZD0Iy0uuVjcW XhEIpsapuA6z2FEy/a2tkOJqSjVK4kjS8iKciMqz1s57LQOYo0eOFmbmRKn+/x5Sf6ws=; Received: from [2a02:a03f:6b1e:ff01:836e:4236:5dbf:1ba6] (helo=inauditus) by hillenius.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tDKDz-00Egwz-1q; Tue, 19 Nov 2024 10:08:44 +0100 From: =?utf-8?Q?G=C4=B3s_Hillenius?= To: "Husain Alshehhi" Cc: Tim Landscheidt , ding Subject: Re: Extracting Header and Content from an Article In-Reply-To: <29523.5648796492$1731988489@news.gmane.org> (Husain Alshehhi's message of "Mon, 18 Nov 2024 21:53:23 -0600") Organization: Using Emacs' Org Mode References: <30844.7794335493$1731379178@news.gmane.org> <87jzd253x5.fsf@vagabond.tim-landscheidt.de> <29523.5648796492$1731988489@news.gmane.org> OpenPGP: id=340F F9A4 8F6C 18FD D032 0C33 ABA1 CB30 E997 A3AF X-Operating-System: Debian GNU/Linux Sid Date: Tue, 19 Nov 2024 10:08:43 +0100 Message-ID: <87mshvzj38.fsf@hillenius.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk On 18 November 2024 21:53 Husain Alshehhi, wrote: > Tim Landscheidt writes: > >> I do not know if it is the right way, but I use patterns of >> the type: >> >> | (gnus-with-article-buffer >> | (gnus-fetch-original-field "User-Agent")) >> >> Similarly, I use gnus-with-article-buffer and >> save-mark-and-excursion to "enter" the article buffer, then >> article-goto-body to go to the article body's top, and then >> search-forward-regexp to capture text. > > Thank you. Extracting the field worked well. > > For the body, however, I noticed that I need a little more: what I want > to search in is the the whole email, not just the article buffer. In > particular, I want to be able to search the text/plain as well as the > text/html parts. gnus-with-article-buffer and article-goto-body, on the > other hand, only allow me to search within the buffer, which has only > the visible part of the email (text/html in my case). > gnus-summary-show-raw-article ?