I would like to save all attachments to an email at once. I therefore set gnus-summary-save-parts-default-mime to ".* /.*". However, when using "X m", I not only get all attachments, but also a file named "[email protected]/INBOX.2393.1" (referring to the account I'm reading emails from) which contains the signature of the email I received. How can I exclude files of this "type" from being saved on "X m"? In other words: How can I specify the correct regexp for gnus-summary-save-parts-default-mime to prevent this file from being saved, too?
Gnus: How to save *all* attachments at once?
2k Views Asked by Marius Hofert At
1
There are 1 best solutions below
Related Questions in EMACS
- EMACS-Live + Slime error at startup
- Auto complete of braces in emacs
- tmux + emacs : ctrl is not reconized
- yasnippet weird-input when org-mode :tag: on same line
- Error in Dired sorting on Windows (with Cygwin Emacs)
- ESS produces "Variable binding depth exceeds max-specpdl-size"
- How to simplify the mode-line, and enter evil-insert-state depending on buffer name
- MELPA pointing to non-existent version of multi-term?
- Mark-up for bold and italic in emacs org-mode
- How to get C-` key combo recognized in Emacs under Mac?
- how to install Emacs Prelude system-wide on windows/MinGW?
- Emacs on Windows 8: write-error, bad file descriptor
- Emacs and Skim not in Sync fails to open
- Emacs web mode selection word delimiters include _
- Error loading D:\cygdrive\d\path\to\my\file.pdf
Related Questions in MIME
- Gmail API playground: Send method, converted MIME raw header not populating email fields on send
- HTML image not showing up in MIME message sent via Gmail API in VBA, Used 3D
- Identifying a pdf file and upload it to folder
- How to create MIME-atachment text/xml in Java?
- Python SMTP/MIME Message body
- Why can't insert my subject of gmail header info into a sqlite3 database?
- MIME-attach in java SOAPMessage
- Plain text emails displayed as attachment on some email clients
- Trying to send "alternative" with MIME but it also shows up in capable mail client
- TypeError: object of type 'method' has no len() | Trying to attach file to email msg
- "All Supported" in "Files of type:" combobox of QFileDialog
- SMTP dot-stuffing within MIME boundaries
- Zip sent via email is invalid on first attempt
- php bug? reading mime enc on a 1 byte file?
- android get full path to my application via share option
Related Questions in ATTACHMENT
- how to display page's attachment image in wordpress custom widget
- Email a db file Android
- How to extract attachment using Mime4j 0.7.2
- BinaryWriter.Write is not creating the .pdf file
- php - instead of uploading to folder, send as email with attachment of file uploaded
- Xpages display attachment in dialog box from another document
- Item not being properly indexed in PHP array inside of for loop
- Sending Image Attachment in Quickblox
- Possible to transmit files using Crossbar.io and WAMP?
- Attachments mess with HTML Email Template
- Android sending email with attachements
- Plain text emails displayed as attachment on some email clients
- iText - transform html to pdf and add and link to attachment
- PHP - mail with attachments - message not showing
- phpmailer not sending attachments
Related Questions in GNUS
- How to Configure Gnus in Emacs to Add Email Address to BBDB?
- Default Archive Group in Gnus
- Trouble opening gmail nnimap server in Emacs gnus on Windows
- GNUs email multiple outgoing accounts from the same server without imap
- Emacs/GNUs biff display-time-mode not updating mail
- Is there a urlview (a la mutt) for gnus? Or just elisp for extracting urls?
- I don't want to expire mail in gnus
- How can I keep footnotes together with message text when top-posting?
- Refresh summary buffer in gnus
- auto create entries for all email addresses in BBDB3
- Include date and time of original message in quoted reply using emacs and gnus
- Turning off adaptive scoring selectively
- duplicate imap uid validities with mbsync
- gnus: nnmaildir (maildir) with with subfolders tree
- Mass Thunderbird folder to Gnus nnfolder conversions
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This
defadvicewill do what you want for the moment by excluding any parts that do not have filenames (in this case that is true of the article itself):I am using Gnus v5.13; if you're also using the same or similar version, let me know if this modified version of
gnus-summary-save-parts-1works for you; you will want to setgnus-summary-save-parts-exclude-articletot. If it works for you, I will submit a patch for it to the Gnus projects.Note, either use the above
defadviceOR use the code below, but do not use both together. The defadvice is an easy quick fix that you can use for the moment. The code below I will submit as a patch to the Gnus project and I only included this here for you to test to see if it works on your system if you are also using Gnus v5.13. If they accept this patch and make it part of a future release then you will not need thedefadviceabove; instead you'll just be able to customize thegnus-summary-save-parts-exclude-articlevariable.