From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63261 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.general Subject: Re: add a gcc field according to bbdb entry Date: Fri, 26 May 2006 17:28:25 +0200 Message-ID: <874pzc3iw6.fsf@mat.ucm.es> References: <87ac96s73q.fsf@mat.ucm.es> Reply-To: Uwe Brauer NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148657863 6912 80.91.229.2 (26 May 2006 15:37:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 May 2006 15:37:43 +0000 (UTC) Original-X-From: ding-owner+m11788@lists.math.uh.edu Fri May 26 17:37:40 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FjeNb-0004NR-Fi for ding-account@gmane.org; Fri, 26 May 2006 17:37:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FjeNW-0000Pr-00; Fri, 26 May 2006 10:37:30 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FjeEP-0000Pl-00 for ding@lists.math.uh.edu; Fri, 26 May 2006 10:28:05 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FjeEN-0008Ff-BJ for ding@lists.math.uh.edu; Fri, 26 May 2006 10:28:05 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FjeEM-0006yR-00 for ; Fri, 26 May 2006 17:28:02 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FjeEF-0002uP-Ld for ding@gnus.org; Fri, 26 May 2006 17:27:55 +0200 Original-Received: from maportatil10.quim.ucm.es ([147.96.7.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 May 2006 17:27:55 +0200 Original-Received: from oub by maportatil10.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 May 2006 17:27:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 34 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: maportatil10.quim.ucm.es X-Hashcash: 1:20:060526:gmane.emacs.gnus.general::DX8WfzzG90sbB7ul:00000000000000000000000000000000000001lbw User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.18 (linux) Cancel-Lock: sha1:f2GW3MDJ6kLCuuX6dJM0rZIuwwQ= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63261 Archived-At: >>>>> "Dave" == Dave Goldberg writes: Hello Dave> I don't understand exactly how you plan for this to work. Do Dave> you want a function that looks up whatever's on, say, the To Dave> line and pulls the gnus-folder record for that bbdb record? Right, more or less. I have set via `gnus-group-customize' set the CGG to the current group. So if I send a mail Joe Doe, in the group, which is called say nnimap+myserverimap.here.net:Gnus, then nnimap+myserverimap.here.net:Gnus, is inserted in the Ccc field. However sometimes I want to send a message to Joe Doe from a different group, but I want to have the Gcc nnimap+myserverimap.here.net:Gnus. So suppose I add to Joe Doe's bbdb entry, the field gnus-folder (it could be called different of course). That field has the value nnimap+myserverimap.here.net:Gnus. So if I had an a interactive function which would allow me to modify the gcc, and yank the gcc field from that bbdb entry, I would be done Dave> And then you'd do something like Dave> (message-insert-header "Gcc" Dave> (get-folder-for-address (message-fetch-field "To"))) Dave> Again, off the top of my head. Odds are there's some tweaking needed. Thanks very much but it did not work, it returns error, so I continue trying. Uwe