From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6258 Path: main.gmane.org!not-for-mail From: morioka@jaist.ac.jp (=?ISO-2022-JP?B?GyRCPGkyLBsoQiAbJEJDTkknGyhC?= / MORIOKA Tomohiko) Newsgroups: gmane.emacs.gnus.general Subject: Re: Display glitches in sgnus 0.83 (II) Date: 20 May 1996 02:37:52 +0900 Organization: JAIST, Hokuriku / =?ISO-2022-JP?B?GyRCS0xOJkBoQzwySjNYGyhC?= =?ISO-2022-JP?B?GyRCNTs9UUJnM1gxIUJnM1gbKEI=?= Sender: morioka@is28e1s91.jaist.ac.jp Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.62) Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="pgp-sign-Multipart_Mon_May_20_02:37:33_1996-1"; micalg=pgp-md5 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035146739 3085 80.91.224.250 (20 Oct 2002 20:45:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:45:39 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id LAA19145 for ; Sun, 19 May 1996 11:05:47 -0700 Original-Received: from mikan.jaist.ac.jp (mikan.jaist.ac.jp [150.65.8.6]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sun, 19 May 1996 19:38:03 +0200 Original-Received: from is28e1s91.jaist.ac.jp (MORIOKA Tomohiko ) by mikan.jaist.ac.jp (8.7.5); id CAA29000; Mon, 20 May 1996 02:37:55 +0900 (JST) Original-Received: by is28e1s91.jaist.ac.jp (4.1/JE-C); Mon, 20 May 96 02:37:54 JST Original-To: ding@ifi.uio.no X-Emacs: Mule 2.3 =?ISO-2022-JP?B?KBskQkt2RSYyVhsoQik=?= based on 19.30 Dcc: morioka X-Mua: tm-mh-e 7.61, tm-view 7.62 In-Reply-To: morioka@jaist.ac.jp's message of 20 May 1996 02:17:58 +0900 Original-Lines: 84 X-Mailer: September Gnus v0.89/Emacs 19.30 Xref: main.gmane.org gmane.emacs.gnus.general:6258 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6258 --pgp-sign-Multipart_Mon_May_20_02:37:33_1996-1 Content-Type: multipart/mixed; boundary="Multipart_Mon_May_20_02:37:33_1996-1" Content-Transfer-Encoding: 7bit --Multipart_Mon_May_20_02:37:33_1996-1 Content-Type: text/plain; charset=US-ASCII >>>>> In >>>>> morioka@jaist.ac.jp (MORIOKA Tomohiko) wrote: tomo> >>>>> In tomo> >>>>> Lars Magne Ingebrigtsen wrote: Lars> Steven L Baur writes: Steven>> Enabling gnus-article-hide-signature in the Steven>> gnus-article-display-hook is still too aggressive. It should Steven>> not cross MIME multipart boundaries. Lars> To deal with that properly, Gnus would have to do some MIME Lars> parsing, which is something I'd rather not get into. An easy Lars> hack would be to set `gnus-signature-limit' to "^--Multipart" or Lars> something -- that way signatures that contain that regexp Lars> wouldn't be hidden. Is that nice, though? tomo> Following code is available for tm-view MIME processing. It may be tomo> safe even if tm-view is not used: (snip) Following code is available to MIME safe signature handling using tm-view: (defun gnus-narrow-to-signature () "Narrow to the signature." (widen) (if (and (boundp 'mime::preview/content-list) mime::preview/content-list) (let ((pcinfo (car (last mime::preview/content-list)))) (narrow-to-region (mime::preview-content-info/point-min pcinfo) (point-max)) )) (goto-char (point-max)) (when (re-search-backward gnus-signature-separator nil t) (forward-line 1) (when (or (null gnus-signature-limit) (and (numberp gnus-signature-limit) (< (- (point-max) (point)) gnus-signature-limit)) (and (gnus-functionp gnus-signature-limit) (funcall gnus-signature-limit)) (and (stringp gnus-signature-limit) (not (re-search-forward gnus-signature-limit nil t)))) (narrow-to-region (point) (point-max)) t))) --Multipart_Mon_May_20_02:37:33_1996-1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ---------------------------------------------------------------------- MORIOKA Tomohiko Japan advanced Institute of Science and Technology, Hokuriku Asahi-dai, Tatsu-no-kuchi ch=F4, Nomi, Ishikawa, Japan ----------------------------------------- Frisch, Frei, Fre=F6hlich! --- --Multipart_Mon_May_20_02:37:33_1996-1-- --pgp-sign-Multipart_Mon_May_20_02:37:33_1996-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP MESSAGE----- Version: 2.6.2i Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface iQCVAwUBMZ9cbBnuUGV7wuH5AQHkQwQAp0eOeKFfjbuFMNn7cNhfvuc4jF81MyZa uOWaxy51YsZvZuo9jNeZ93Imp8xdb/GSHlfSZ491X75tsjijp7+CqW8Ax6XZawcc JTMqK6gOvcPK9q2O8fYeWEiTvE9W1H7KgBWwfeS0RpCuHKMW7ktFMyDPzUZXLz9D xqhyH7UU9nc= =zXRr -----END PGP MESSAGE----- --pgp-sign-Multipart_Mon_May_20_02:37:33_1996-1--