From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: Use BBDB for `rmail-output' ? Date: Fri, 8 Jun 2018 17:07:16 +0200 Organization: GNU's NOT Unix! Message-ID: <201806081507.w58F7Gdd001468@localhost.localdomain> References: <201806080456.w584uJuG002589@localhost.localdomain> <83sh5xvkb1.fsf@gnu.org> <87efhh63g3.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1528474197 4368 195.159.176.226 (8 Jun 2018 16:09:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2018 16:09:57 +0000 (UTC) User-Agent: Rmail on GNU Emacs/27.0.50 (27.0.50) Cc: help-gnu-emacs@gnu.org To: Robert Pluim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 08 18:09:53 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRJxY-00012u-Cc for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 18:09:52 +0200 Original-Received: from localhost ([::1]:36898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRJzf-0005yM-Ak for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 12:12:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRJp9-0005u2-Rs for help-gnu-emacs@gnu.org; Fri, 08 Jun 2018 12:01:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRJp5-00009P-Q7 for help-gnu-emacs@gnu.org; Fri, 08 Jun 2018 12:01:11 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:55853) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fRJp2-00006L-PL; Fri, 08 Jun 2018 12:01:04 -0400 X-Originating-IP: 77.136.205.131 Original-Received: from localhost.localdomain (131.205.136.77.rev.sfr.net [77.136.205.131]) (Authenticated sender: xavier@maillard.im) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 1739F60009; Fri, 8 Jun 2018 16:01:02 +0000 (UTC) Original-Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTP id w58F7ISh001469; Fri, 8 Jun 2018 17:07:18 +0200 Original-Received: (from xavier@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id w58F7Gdd001468; Fri, 8 Jun 2018 17:07:16 +0200 In-reply-to: <87efhh63g3.fsf@gmail.com> (message from Robert Pluim on Fri, 08 Jun 2018 11:19:08 +0200) Jabber-ID: xavier@maillard.im X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.195 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117053 Archived-At: a> From: Robert Pluim > Mail-Copies-To: never > Date: Fri, 08 Jun 2018 11:19:08 +0200 > Content-Type: text/plain > Cc: help-gnu-emacs@gnu.org > > Eli Zaretskii writes: > > >> Date: Fri, 8 Jun 2018 06:56:19 +0200 > >> From: Xavier Maillard > >> > >> I want to hack something around BBDB and Rmail. The goal is to use a > >> BBDB field eg. `rmail-ouput' as the target name for the function > >> `rmail-output' function. > >> > >> AFAIK, I do not see anything to do that without a piece of advice. > > > > You mean, if the basic requirement is to make no changes at all to > > rmail-out itself? In that case, you are probably right, but why would > > we self-impose such a restriction? If we want to support BBDB, why > > not modify rmail-out to be capable of such support? > > > > (I admit I don't understand what exactly is entailed in "using a BBDB > > field as a target name", so perhaps if you elaborate on that, we will > > find some way of doing that without changing rmailout.el.) > > I suspect Xavier is talking about setting the output filename for > rmail-output based on a BBDB field. Exactly. Instead of setting `rmail-output-file-alist' (which is much more complex since one must have REGEXP knowledge), I'd rather want to add a BBDB field. > I subscribe to the 'big ball of emails in a single folder' theory > myself, since searching is easy. I am not opposed to this "theory" but I'd like to separate it a little bit so that files do not become huge (which can be a pain at some point). In majority, I am killing incoming messages as much as possible (I only ouput things that I consider worth it for short/mid or long term). -- Xavier Maillard e/j:xavier@maillard.im w:www.maillard.im m: 06 52 18 63 43 GPG: 9983 DCA1 1FAC 8DA7 653A F9AA BA49 09B7 8F04 DE1B