From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Use BBDB for `rmail-output' ? Date: Fri, 08 Jun 2018 18:24:53 +0200 Message-ID: <87h8mdjley.fsf@gmail.com> References: <201806080456.w584uJuG002589@localhost.localdomain> <83sh5xvkb1.fsf@gnu.org> <87efhh63g3.fsf@gmail.com> <201806081507.w58F7Gdd001468@localhost.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528475014 29507 195.159.176.226 (8 Jun 2018 16:23:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2018 16:23:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xavier Maillard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 08 18:23:30 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 1fRKAj-0007Xp-Iw for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 18:23:29 +0200 Original-Received: from localhost ([::1]:36981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRKCo-00072d-Jj for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 12:25:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRKC9-00070y-FD for help-gnu-emacs@gnu.org; Fri, 08 Jun 2018 12:24:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRKC8-00046t-Nj for help-gnu-emacs@gnu.org; Fri, 08 Jun 2018 12:24:57 -0400 Original-Received: from mail-wr0-x233.google.com ([2a00:1450:400c:c0c::233]:36254) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRKC8-00046e-Gb for help-gnu-emacs@gnu.org; Fri, 08 Jun 2018 12:24:56 -0400 Original-Received: by mail-wr0-x233.google.com with SMTP id f16-v6so13987838wrm.3 for ; Fri, 08 Jun 2018 09:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=gNEE1GLhWRETzFvatHhUSiQNBhafG7iFhe5iXh1HUa8=; b=jiMe94g+4cE1z5WEMra4n9C6GIfTjjS8DU+x0YjginIwLEZMOh/rHUXwz8TNVqC8GB 82zTyS5tSbcypt+YQSwJBQSNEE9GjVGApp51aaQDFXWboEEqUrQtdRkACEkHRa+YR+5I DjYbhQc9u/jC36Z860y4YEn8lTdqS8L1MQoxXfQWEsFUX0OhNtLq8TYujazTkL77ccQD besiw85ctjo+HOWNKLTutHf21r74xb/Ixc2abLE7CQYA/bMhD2RCaIG7HLaql+//nVrt YEN7Hwl0dAqgALsUZ0wYgarXf4t1V7pQMK9EYR+Nh4mV6eGWdGZQNjnksaYCZVC09s3H 0DpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=gNEE1GLhWRETzFvatHhUSiQNBhafG7iFhe5iXh1HUa8=; b=NmHNuhO3aJxgCXTnDOc71eFkmLBAV6Y6645spx5sA+dHnx+kBDe2MVTX/VxpV6BOr5 5JBVjlM1D5NMazIYU+XwQJj/h9ELGSOtr9rUvcXKAtCB2GDdzfeG7V+p5kCCqwVjMo0E ADyAIsvuiRQscgeb1rDhClvs8KZJFVSHjn3Eyh6KfDgacD4YHO+dtcTv00NLx4xUiW/a kLeln7Jzh2ltveii2PiN+0pVvkmGxdOA8dnlYrtJZW9RWa1TS7yqWTAGeeySb7qhx7h5 dEZHCdby5UU2ak6gZgCYFexR5M9Vu1KNuC83N4xCxcfvhlDXjRdGNGJZxEy25bmWZXDc zI3A== X-Gm-Message-State: APt69E2IcbkkTBqXvVItQPQlCdwZfV/FC8R6nhitCz7iw5TENl9sAD0N f37SHVJrkaoO35v8UnVt1gArMxXBWyA= X-Google-Smtp-Source: ADUXVKIk+u/S5klHjR09+v9O3Bxb101G+GltzjJuetWMb30LF5VRBzl6LBo9eV8xaMW4a/jfSgIGiw== X-Received: by 2002:adf:8e6d:: with SMTP id n100-v6mr5597063wrb.159.1528475095113; Fri, 08 Jun 2018 09:24:55 -0700 (PDT) Original-Received: from rpluim (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id r3-v6sm36338485wrj.78.2018.06.08.09.24.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 09:24:54 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <201806081507.w58F7Gdd001468@localhost.localdomain> (Xavier Maillard's message of "Fri, 8 Jun 2018 17:07:16 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::233 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:117054 Archived-At: Xavier Maillard writes: >> 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. > The regexp could be ".*", and the name-exp could be (not real code) (bbdb-fetch-field 'bbdb-output-file (rmail-fetch-from-header (rmail-current-message))) since rmail-output-file-alist name-exp's are passed to 'eval'. >> 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). Killing messages is definitely a good idea. Robert