unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Why mark gnus-summary-buffer as the previous buffer when opening say a pdf attachment?
Date: Sat, 17 Jun 2023 17:07:50 +0200	[thread overview]
Message-ID: <87v8fm3z5l.fsf@dataswamp.org> (raw)
In-Reply-To: 87jzw2byjp.fsf@ypei.org

Yuchen Pei wrote:

> I don't know how to open an attachment from the summary
> buffer

`gnus-summary-save-parts'

Here are a bunch of options that may be of use to you.

(setq mm-attachment-file-modes 420)
(setq mm-body-charset-encoding-alist '((utf-8 . 8bit)))
(setq mm-discouraged-alternatives '("text/html" "text/richtext"))
(setq mm-text-html-renderer 'w3m)

> Referring to the following lines in `mm-display-external':

Side note, speaking of Gnus: one could buttonize based on that
notation and hyperlink to the help. ERC already does that so
maybe that is something that could be brought over easily.

Actually, I even have some Gnus stuff that one can easily
bring over to ERC buttons, namely references to man pages:

  https://dataswamp.org/~incal/emacs-init/erc/erc-man.el

-- 
underground experts united
https://dataswamp.org/~incal




      reply	other threads:[~2023-06-17 15:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-17  2:41 Why mark gnus-summary-buffer as the previous buffer when opening say a pdf attachment? Yuchen Pei
2023-06-17 15:07 ` Emanuel Berg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8fm3z5l.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).