From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53089 Path: main.gmane.org!not-for-mail From: Chris Uzdavinis Newsgroups: gmane.emacs.gnus.general Subject: current mail filename Date: Tue, 10 Jun 2003 11:19:09 -0400 Organization: Automated Trading Desk, LLC Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055258279 8344 80.91.224.249 (10 Jun 2003 15:17:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2003 15:17:59 +0000 (UTC) Original-X-From: ding-owner+M1633@lists.math.uh.edu Tue Jun 10 17:17:57 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Pksn-0002A4-00 for ; Tue, 10 Jun 2003 17:17:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19PkuX-0008IQ-00; Tue, 10 Jun 2003 10:19:45 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19PkuP-0008IK-00 for ding@lists.math.uh.edu; Tue, 10 Jun 2003 10:19:38 -0500 Original-Received: (qmail 78996 invoked by alias); 10 Jun 2003 15:19:37 -0000 Original-Received: (qmail 78991 invoked from network); 10 Jun 2003 15:19:37 -0000 Original-Received: from plover.atdesk.com (204.130.247.254) by sclp3.sclp.com with SMTP; 10 Jun 2003 15:19:37 -0000 Original-Received: from explicit.atdesk.com (explicit.atdesk.com [172.30.40.54]) by plover.atdesk.com (8.11.6/8.11.6) with ESMTP id h5AFJ9m03353 for ; Tue, 10 Jun 2003 11:19:09 -0400 Original-To: ding@gnus.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.1 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53089 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53089 I receive some emails using nnml that need an external program to process, and would like to setup a key-binding that spawns a shell and passes the current mail filename to that script. The emails already saved to disk by Gnus in a directory corresponding to the split, and then using an incrementing number for the filename. The only part that I don't know how to do is how to query Gnus for the full filename of the the current email being read. What function do I call to get this, or what variable would I check to access this data? (I'm wanting to set the key binding to work in the summary buffer for the mail under the cursor, or if the active frame is the body of the email, I'd like it to use the filename of the mail currently being displayed. Thanks in advance. -- Chris