From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83548 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-shr-put-image: Wrong number of arguments Date: Fri, 19 Jul 2013 18:11:30 +0900 Organization: Emacsen advocacy group Message-ID: References: <87vc4anwc3.fsf@micropit.couberia.selfip.net> <874nbsyyoy.fsf@micropit.couberia.selfip.net> <8761w82ilr.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: quoted-printable X-Trace: ger.gmane.org 1374225223 28511 80.91.229.3 (19 Jul 2013 09:13:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2013 09:13:43 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31806@lists.math.uh.edu Fri Jul 19 11:13:44 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 1V06ks-0002dQ-VD for ding-account@gmane.org; Fri, 19 Jul 2013 11:13:39 +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 1V06j4-0007dP-Hp; Fri, 19 Jul 2013 04:11:46 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1V06j1-0007dD-B8 for ding@lists.math.uh.edu; Fri, 19 Jul 2013 04:11:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1V06iz-00020k-Di for ding@lists.math.uh.edu; Fri, 19 Jul 2013 04:11:42 -0500 Original-Received: from mail-hampton.hostforweb.net ([216.246.15.223] helo=hampton.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1V06ix-0003eU-Js for ding@gnus.org; Fri, 19 Jul 2013 11:11:39 +0200 Original-Received: from localhost.localdomain ([127.0.0.1]:37777 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80.1) (envelope-from ) id 1V06iq-003jN5-34 for ding@gnus.org; Fri, 19 Jul 2013 04:11:32 -0500 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130008 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:v6JIjoH8zO/bkkJ5ZhMVWzMlONI= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83548 Archived-At: Peter M=C3=BCnster wrote: > On Thu, Jul 18 2013, Katsumi Yamaoka wrote: >> 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)) >> "=E7=9C=9F" >> (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 "=E7=9C=9F Gnus" [...]) In addition, you'd better add this snippet: (eval-after-load "rfc2047" '(add-to-list 'rfc2047-header-encoding-alist '("User-Agent" . address-mime))) This makes an encoded User-Agent header conform to RFC2616, I think. I say I think the later of these two examples will be better: User-Agent: Gnus/5.130008 =3D?utf-8?Q?=3D28=3DE7=3D9C=3D9F?=3D Gnus v0.8) E= macs/24.3.50 User-Agent: Gnus/5.130008 (=3D?utf-8?Q?=3DE7=3D9C=3D9F?=3D Gnus v0.8) Emacs= /24.3.50