Gnus development mailing list
 help / color / mirror / Atom feed
From: "Peter Münster" <pmlists@free.fr>
To: ding@gnus.org
Subject: Re: gnus-shr-put-image: Wrong number of arguments
Date: Thu, 18 Jul 2013 13:49:36 +0200	[thread overview]
Message-ID: <8761w82ilr.fsf@micropit.couberia.selfip.net> (raw)
In-Reply-To: <b4m8v14ruyr.fsf@jpl.org>

On Thu, Jul 18 2013, Katsumi Yamaoka wrote:

> Don't modify the value of `gnus-version', that is a constant, and
> that is the cause of the funny number, I think.

Indeed!


> Instead, I'm doing this way:
>
> (defadvice gnus-extended-version (after use-japanese-codename activate)
>   "Use Japanese codename in `gnus-version'."
>   (if (string-match "(\\(Ma\\) Gnus v[.0-9]+)" ad-return-value)
>       (setq ad-return-value
> 	    (concat (substring ad-return-value 0 (match-beginning 1))
> 		    "真"
> 		    (substring ad-return-value (match-end 1))))))

Thanks, I copy it to my gnus.el. IMO, this is the right thing to do,
because of http://article.gmane.org/gmane.emacs.gnus.announce/63
([...] which will be called "真 Gnus" [...])

(`gnus-extended-version', what a heavy function, just to get a version
number...)

-- 
           Peter




  reply	other threads:[~2013-07-18 11:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16 19:22 Peter Münster
2013-07-16 23:36 ` Katsumi Yamaoka
2013-07-17  2:42   ` Dave Goldberg
2013-07-17  4:48     ` Katsumi Yamaoka
2013-07-18  3:46       ` Dave Goldberg
2013-07-18 10:04       ` Peter Münster
2013-07-18 11:03         ` Katsumi Yamaoka
2013-07-18 11:30           ` Katsumi Yamaoka
2013-07-19 11:25             ` Dave Goldberg
2013-07-18 10:01   ` Peter Münster
2013-07-18 11:03     ` Katsumi Yamaoka
2013-07-18 11:49       ` Peter Münster [this message]
2013-07-19  9:11         ` Katsumi Yamaoka
2013-07-19 14:16           ` Andreas Schwab

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=8761w82ilr.fsf@micropit.couberia.selfip.net \
    --to=pmlists@free.fr \
    --cc=ding@gnus.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).