From: Steinar Bang <sb@dod.no>
Subject: Re: A RE: AW: "collapser", anyone...?
Date: Mon, 09 Jun 2003 22:47:21 +0200 [thread overview]
Message-ID: <878ysbvuzq.fsf@doohan.bang.priv.no> (raw)
In-Reply-To: <hhd6hpxel9.fsf@blah.pl>
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
>>>>> Maciej Matysiak <phoner.ding@blah.pl>:
> On the 6th of June 2003 at 12:11, lawrence mitchell <s0198183+ding#sms.ed.ac.uk> wrote:
>> You (let ((case-fold-search t)) ...) in `message-strip-subject-re'.
Will this affect the global setting of case-fold-search?
> oh, nice :) just i need to know how to do that. is that what 'lambda' is for?
It requires a Gnus patch, I think.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Do case insensitive regexp matching in message-strip-subject-re. --]
[-- Type: text/x-patch, Size: 744 bytes --]
*** message.el 7 May 2003 19:29:01 -0000 6.339
--- message.el 9 Jun 2003 20:55:50 -0000
***************
*** 1612,1620 ****
(defun message-strip-subject-re (subject)
"Remove \"Re:\" from subject lines in string SUBJECT."
! (if (string-match message-subject-re-regexp subject)
! (substring subject (match-end 0))
! subject))
;;; Start of functions adopted from `message-utils.el'.
--- 1612,1621 ----
(defun message-strip-subject-re (subject)
"Remove \"Re:\" from subject lines in string SUBJECT."
! (let ((case-fold-search t))
! (if (string-match message-subject-re-regexp subject)
! (substring subject (match-end 0))
! subject)))
;;; Start of functions adopted from `message-utils.el'.
[-- Attachment #3: Type: text/plain, Size: 60 bytes --]
Should change the summary use of the regexp as well then.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: Do case insensitive regexp matching in gnus-simplify-subject-re --]
[-- Type: text/x-patch, Size: 800 bytes --]
*** gnus-sum.el 6 May 2003 00:43:56 -0000 6.343
--- gnus-sum.el 9 Jun 2003 21:01:08 -0000
***************
*** 1463,1471 ****
(defsubst gnus-simplify-subject-re (subject)
"Remove \"Re:\" from subject lines."
! (if (string-match message-subject-re-regexp subject)
! (substring subject (match-end 0))
! subject))
(defun gnus-simplify-subject (subject &optional re-only)
"Remove `Re:' and words in parentheses.
--- 1463,1472 ----
(defsubst gnus-simplify-subject-re (subject)
"Remove \"Re:\" from subject lines."
! (let ((case-fold-search t))
! (if (string-match message-subject-re-regexp subject)
! (substring subject (match-end 0))
! subject)))
(defun gnus-simplify-subject (subject &optional re-only)
"Remove `Re:' and words in parentheses.
next prev parent reply other threads:[~2003-06-09 20:47 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-31 23:23 A RE: SV: " Steinar Bang
[not found] ` <hhhe7ak6ph.fsf@blah.pl>
2003-06-01 21:34 ` Steinar Bang
2003-06-01 21:51 ` Steinar Bang
2003-06-02 9:37 ` Niklas Morberg
[not found] ` <hhn0gy39il.fsf@blah.pl>
2003-06-04 7:33 ` Niklas Morberg
[not found] ` <hh8yshzuup.fsf@blah.pl>
2003-06-05 5:53 ` Steinar Bang
2003-06-05 6:48 ` Niklas Morberg
2003-06-09 20:26 ` Steinar Bang
2003-06-15 12:07 ` Kai Großjohann
2003-06-20 5:17 ` Steinar Bang
2003-06-15 12:06 ` Kai Großjohann
2003-06-05 17:25 ` A " Ted Stern
[not found] ` <hh7k7z4yeq.fsf@blah.pl>
2003-06-06 10:11 ` lawrence mitchell
[not found] ` <hhd6hpxel9.fsf@blah.pl>
2003-06-09 20:47 ` Steinar Bang [this message]
2003-06-04 13:56 ` A RE: SV: " Johan Bockgård
2003-06-02 16:10 ` Randal L. Schwartz
2003-06-02 17:00 ` Lloyd Zusman
2003-06-02 17:05 ` Lloyd Zusman
2003-06-02 17:50 ` Harry Putnam
2003-06-03 6:12 ` Kai Großjohann
2003-06-03 6:16 ` Kai Großjohann
2003-06-04 15:56 ` Martin Thornquist
2003-06-03 11:49 ` Colin Marquardt
2003-06-03 12:13 ` Norbert Koch
2003-06-04 5:34 ` Oystein Viggen
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=878ysbvuzq.fsf@doohan.bang.priv.no \
--to=sb@dod.no \
/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).