Re: new subject

2015-01-26 Thread Emanuel Berg
Peter Münster  writes:

> Is incal = Emanuel Berg?

Yes, I'm migrating to another computer, because I have
to physically "mount" my computer every day, so I
thought I'd get a really small and light one (but
still stationary), only I discovered the new one lacks
a hardware PMC which I need for some experiments, so
now I'm "mounting" back and forth between computers -
I guess some setting fell short: it shouldn't say
"incal" which is my hacker alias (don't tell
anyone)...

> What is wrong with `message-change-subject'?

Nothing, on the contrary, that is the right way,
however since it is such an easy thing to do which you
don't do that often, I suspect there are people who
did their own Elisp to do it, and people who just do
it manually, instead of finding out there is a builtin
way to do it.

> Initially, I just wanted to point you to
> `message-change-subject'

Yes, we understood :)

(message-change-subject NEW-SUBJECT)

Ask for NEW-SUBJECT header, append (was: ).

-- 
underground experts united
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: new subject

2015-01-26 Thread Peter Münster
On Sun, Jan 25 2015, Emanuel Berg wrote:

> Clemens Schüller 
> writes:
>
>>> What is the old way?
>>
>> I have this in my .gnus and it works very well :-)
>
> See Peter?

No, not at all, sorry...
What is the old way?
What is your way?
Is incal = Emanuel Berg?
What is wrong with `message-change-subject'?

Initially, I just wanted to point you to `message-change-subject', but
now I'm confused and I don't understand what you're talking about...

-- 
   Peter


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: new subject

2015-01-25 Thread Emanuel Berg
Clemens Schüller 
writes:

>> What is the old way?
>
> I have this in my .gnus and it works very well :-)

See Peter? My way isn't the only one old!

:)

-- 
underground experts united
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: new subject

2015-01-25 Thread Emanuel Berg
Peter Münster  writes:

> Anyway, you seem to do strange things: - When you
> reply to a message, Gnus usually strips the "(was:
> ...)" part. That did not happen in your reply.

Indeed:

(setq message-subject-trailing-was-query nil) 

> - You replied to my message, but it does not appear
> in your "References:" header, so that the thread is
> broken.

Yes, if you can figure out why that happens please
tell me. I have my Gnus Elisp here:

http://user.it.uu.se/~embe8573/conf/emacs-init/gnus/

> Do you really use Gnus?

Oh, no! I'm exposed after all this time...

-- 
underground experts united
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: new subject

2015-01-25 Thread Clemens Schüller
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

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: new subject

2015-01-25 Thread Peter Münster
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?


> and in mid-edit you realize you are talking about something else.
> Or do you have a keystroke for that as well?

Yes: C-c C-f s. (Why "as well"?)


> Actually, I do - sort of:
> http://user.it.uu.se/~embe8573/conf/emacs-init/gnus/moggle.el

What is this?

Anyway, you seem to do strange things:
- When you reply to a message, Gnus usually strips the "(was: ...)"
  part. That did not happen in your reply.
- You replied to my message, but it does not appear in your
  "References:" header, so that the thread is broken.
Do you really use Gnus?

-- 
   Peter


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: new subject (was: alt-tab? really? you're joking...)

2015-01-25 Thread incal
incal  writes:

> Indeed, however sometimes you reply to a post the
> old way, and in mid-edit you realize you are talking
> about something else.
>
> Or do you have a keystroke for that as well?

No, it is the other way around, it works the way I
thought it didn't, but it doesn't work the way I
thought it did. Yes, that makes more sense.

-- 
underground experts united
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: new subject (was: alt-tab? really? you're joking...)

2015-01-25 Thread incal
Peter Münster  writes:

>> Or if it gradually evolved out of the old one but
>> still has some connection, keep the old subject
>> like this Subject: new subject (was: old subject)
>
> Yeah, C-c C-f s ! ;)

Indeed, however sometimes you reply to a post the old
way, and in mid-edit you realize you are talking about
something else.

Or do you have a keystroke for that as well?

Actually, I do - sort of:

http://user.it.uu.se/~embe8573/conf/emacs-init/gnus/moggle.el

:)

-- 
underground experts united
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


new subject (was: alt-tab? really? you're joking...)

2015-01-25 Thread Peter Münster
On Sun, Jan 25 2015, incal wrote:

> Or if it gradually evolved out of the old one but
> still has some connection, keep the old subject like
> this
>
>     Subject: new subject (was: old subject)

Yeah, C-c C-f s !  ;)

-- 
   Peter


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english