Gnus development mailing list
 help / color / mirror / Atom feed
From: morioka@jaist.ac.jp (守岡 知彦 / MORIOKA Tomohiko)
Subject: [sgnus 0.93] gnus-narrow-to-signature
Date: 24 May 1996 15:44:59 +0900	[thread overview]
Message-ID: <s1crasalgd0.fsf@jaist.ac.jp> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of Thu, 23 May 1996 23:41:47 +0000

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]

  gnus-narrow-to-signature does not work fine. Following is a patch to 
fix this problem.

  Thanks,


[-- Attachment #2: gnus.el.diff --]
[-- Type: application/octet-stream, Size: 1577 bytes --]

*** gnus.el-orig	Fri May 24 08:39:53 1996
--- gnus.el	Fri May 24 15:35:30 1996
***************
*** 14158,14176 ****
  	(narrow-to-region
  	 (funcall (intern "mime::preview-content-info/point-min") pcinfo)
  	 (point-max))
! 	t)
!     (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))))
  
  (defun gnus-article-check-hidden-text (type arg)
    "Return nil if hiding is necessary."
--- 14158,14176 ----
  	(narrow-to-region
  	 (funcall (intern "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)))
  
  (defun gnus-article-check-hidden-text (type arg)
    "Return nil if hiding is necessary."

[-- Attachment #3: Type: text/plain, Size: 322 bytes --]

----------------------------------------------------------------------
MORIOKA Tomohiko <morioka@jaist.ac.jp>
        Japan advanced Institute of Science and Technology, Hokuriku
                Asahi-dai, Tatsu-no-kuchi chô, Nomi, Ishikawa, Japan
----------------------------------------- Frisch, Frei, Freöhlich! ---

                 reply	other threads:[~1996-05-24  6:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=s1crasalgd0.fsf@jaist.ac.jp \
    --to=morioka@jaist.ac.jp \
    /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).