[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clicking on adress in header means reply
From: |
Mårten Svantesson |
Subject: |
Re: Clicking on adress in header means reply |
Date: |
Tue, 18 May 2004 17:49:20 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.1 (Cuyahoga Valley, usg-unix-v) |
Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:
> On Tue, May 18 2004, Mårten Svantesson wrote:
>
>> When I click an address in the header of a mail the message buffer
>> that is set up I don't necessarily get the to-address I clicked on,
>> but instead the one I would have got pressing 'r'.
>>
>> Is this behaviour possible to change?
>
> I never liked that mouse-2 does a reply (including References header)
> instead of composing a new message.
Me, I don't mind that. Removing the References header manually is easy
enough if I want to.
> Please eval the following function (press `C-x C-e' after the last
> brace). Do you like this better than the previous behavior?
>
> --8<---------------cut here---------------start------------->8---
>
> (defun gnus-button-mailto (address)
> "Mail to ADDRESS."
> (set-buffer (gnus-copy-article-buffer))
> (if (gnus-y-or-n-p "Really reply (don't compose new message)? ")
> (gnus-setup-message 'message
> (message-reply address))
> (gnus-msg-mail address))
> (and (boundp 'save-selected-window-window)
> (not (window-live-p save-selected-window-window))
> (setq save-selected-window-window (selected-window))))
>
> --8<---------------cut here---------------end--------------->8---
gnus-button-mailto should be gnus-button-reply, right? Anyway I had to
make that change to get an effect.
While this is better I actually always want a reply except that the
message should be adressed to the adress I click.
--
- Mårten
mail: msv@kth.se *** ICQ: 4356928 *** mobile: +46 (0)707390385