From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83543 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-shr-put-image: Wrong number of arguments Date: Thu, 18 Jul 2013 13:49:36 +0200 Message-ID: <8761w82ilr.fsf@micropit.couberia.selfip.net> References: <87vc4anwc3.fsf@micropit.couberia.selfip.net> <874nbsyyoy.fsf@micropit.couberia.selfip.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1374148252 5510 80.91.229.3 (18 Jul 2013 11:50:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2013 11:50:52 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31801@lists.math.uh.edu Thu Jul 18 13:50:53 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UzmjU-0006NO-A9 for ding-account@gmane.org; Thu, 18 Jul 2013 13:50:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1UzmiY-00026F-MV; Thu, 18 Jul 2013 06:49:54 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1UzmiX-000260-0k for ding@lists.math.uh.edu; Thu, 18 Jul 2013 06:49:53 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UzmiV-0008OE-Bj for ding@lists.math.uh.edu; Thu, 18 Jul 2013 06:49:52 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UzmiT-0006Rt-Cm for ding@gnus.org; Thu, 18 Jul 2013 13:49:49 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UzmiR-0005pG-4d for ding@gnus.org; Thu, 18 Jul 2013 13:49:47 +0200 Original-Received: from arennes-651-1-338-213.w2-14.abo.wanadoo.fr ([2.14.73.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jul 2013 13:49:47 +0200 Original-Received: from pmlists by arennes-651-1-338-213.w2-14.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jul 2013 13:49:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arennes-651-1-338-213.w2-14.abo.wanadoo.fr User-Agent: Gnus/612.570008 =?utf-8?Q?=28=E7=9C=9F?= Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:Z+CzFJSFdfDCFp1N6lKhk/4/B7Y= X-Spam-Score: -2.2 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83543 Archived-At: 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