Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Gijs Hillenius <gijs@hillenius.net>
To: Kevin Brubeck Unhammer <unhammer@fsfe.org>,  info-gnus-english@gnu.org
Cc: Lars Ingebrigtsen <larsi@corrigan.gnus.org>
Subject: Re: max-size for displayed PGP image on signed email?
Date: Fri, 13 Apr 2018 08:23:28 +0200	[thread overview]
Message-ID: <8736zzipzz.fsf@hillenius.net> (raw)
In-Reply-To: <mailman.12051.1523467941.27995.info-gnus-english@gnu.org> (Lars Ingebrigtsen's message of "Wed, 11 Apr 2018 19:32:04 +0200")

On 11 Apr 2018, Lars Ingebrigtsen wrote:

> Kevin Brubeck Unhammer <unhammer@fsfe.org> writes:
>
>> I've been running with 
>>
>> (defun gnus-rescale-image (image size)
>> "Rescale IMAGE to SIZE if possible.
>> SIZE is in format (WIDTH . HEIGHT). Return a new image.
>> Sizes are in pixels."
>> (if (or (not (fboundp 'imagemagick-types))
>> 	  ;; (not (get-buffer-window (current-buffer)))
>> )
>
> I've now applied a similar fix to Emacs 27.  Thanks for testing.


FWIW, this is another possibility

;; if nil, ignores images in pgp-keys
(setq mml2015-display-key-image 'nil)


Which was added to Gnus in May 2014

http://git.gnus.org/cgit/gnus.git/commit/?id=cae09469fa95d33e40ead0a2dcff45f815c275ce


-- 
A visit to a strange place will bring fresh work.


  parent reply	other threads:[~2018-04-13  6:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.17523.1420806804.1147.info-gnus-english@gnu.org>
2015-01-29  3:17 ` Lars Ingebrigtsen
2015-01-29  8:13   ` Kevin Brubeck Unhammer
2015-01-29  8:20     ` Lars Ingebrigtsen
2016-11-16 11:45       ` Kevin Brubeck Unhammer
2018-04-11 17:32         ` Lars Ingebrigtsen
     [not found]         ` <mailman.12051.1523467941.27995.info-gnus-english@gnu.org>
2018-04-13  6:23           ` Gijs Hillenius [this message]
2015-01-09 12:29 Kevin Brubeck Unhammer

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

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

  git send-email \
    --in-reply-to=8736zzipzz.fsf@hillenius.net \
    --to=gijs@hillenius.net \
    --cc=info-gnus-english@gnu.org \
    --cc=larsi@corrigan.gnus.org \
    --cc=unhammer@fsfe.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 NNTP newsgroup(s).