[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new subject
From: |
Clemens Schüller |
Subject: |
Re: new subject |
Date: |
Sun, 25 Jan 2015 21:36:44 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Hello!
On 25. Jän. 2015 at 20:58 Peter Münster wrote:
> On Sun, Jan 25 2015, incal wrote:
>>> Yeah, C-c C-f s ! ;)
>>
>> Indeed, however sometimes you reply to a post the old
>> way,
>
> Hi,
>
> What is the old way?
I have this in my .gnus and it works very well :-)
--8<---------------cut here---------------start------------->8---
(defun dpi-change-subject (neues-subject)
"introduces new subject."
(interactive "snew Subject: ")
(let ((case-fold-search nil))
(goto-line 0)
(re-search-forward "^Subject: ")
(if (re-search-forward "R[Ee]: " nil t)
(replace-match "")
)
(insert-string neues-subject)
(insert-string " (was: ")
(end-of-line)
(insert-string ")")
)
)
(define-key message-mode-map '[(meta n)] 'dpi-change-subject)
--8<---------------cut here---------------end--------------->8---
--
Best Regards, Clemens Schüller
- Re: alt-tab? really? you're joking..., (continued)
- Re: alt-tab? really? you're joking..., incal, 2015/01/24
- Re: alt-tab? really? you're joking..., Adam Sjøgren, 2015/01/24
- Message not available
- Re: alt-tab? really? you're joking..., Hikaru Ichijyo, 2015/01/24
- Re: Immediate expiration, Damien Wyart, 2015/01/25
- Re: Immediate expiration, Hikaru Ichijyo, 2015/01/25
- Re: alt-tab? really? you're joking..., incal, 2015/01/25
- new subject (was: alt-tab? really? you're joking...), Peter Münster, 2015/01/25
- Message not available
- Re: new subject (was: alt-tab? really? you're joking...), incal, 2015/01/25
- Re: new subject (was: alt-tab? really? you're joking...), incal, 2015/01/25
- Re: new subject, Peter Münster, 2015/01/25
- Re: new subject,
Clemens Schüller <=
- Message not available
- Re: new subject, Emanuel Berg, 2015/01/25
- Re: new subject, Peter Münster, 2015/01/26
- Message not available
- Re: new subject, Emanuel Berg, 2015/01/26
- Message not available
- Re: new subject, Emanuel Berg, 2015/01/25
- Re: alt-tab? really? you're joking..., Winston, 2015/01/25
- Re: alt-tab? really? you're joking..., Hikaru Ichijyo, 2015/01/24
- Re: alt-tab? really? you're joking..., Glyn Millington, 2015/01/25
- Re: alt-tab? really? you're joking..., Glyn Millington, 2015/01/25
- Re: alt-tab? really? you're joking..., Adam Sjøgren, 2015/01/25
- Re: alt-tab? really? you're joking..., Tassilo Horn, 2015/01/26