Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: gnus 5.9 & msb-mode; display of options
       [not found] <a7043d61.0301072352.5f57fba7@posting.google.com>
@ 2003-01-10 17:53 ` Lars Magne Ingebrigtsen
       [not found]   ` <87fzs0deac.fsf@enberg.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-10 17:53 UTC (permalink / raw)


sivaramn@sunguru.com (Sivaram Neelakantan) writes:

> When I C-left click my mouse with msb mode enabled in gnus buffer, it
> lists all mail sent under 'mail' buffer category in the pop-up menu. 

What's msb mode?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnus 5.9 & msb-mode; display of options
       [not found]   ` <87fzs0deac.fsf@enberg.org>
@ 2003-01-10 19:14     ` Lars Magne Ingebrigtsen
  2003-01-10 19:35       ` Reiner Steib
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-10 19:14 UTC (permalink / raw)


Henrik Enberg <henrik+news@enberg.org> writes:

>> What's msb mode?
>
> A fancy buffer menu (for the menubar).

Ok.  Well, I guess one could use `message-sent-hook' to rename the
buffer to something that starts with space.  That will probably make
the buffer not appear in the menu.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnus 5.9 & msb-mode; display of options
  2003-01-10 19:14     ` Lars Magne Ingebrigtsen
@ 2003-01-10 19:35       ` Reiner Steib
  2003-01-13  8:00         ` Sivaram Neelakantan
  0 siblings, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2003-01-10 19:35 UTC (permalink / raw)


On Fri, Jan 10 2003, Lars Magne Ingebrigtsen wrote:

> Ok.  Well, I guess one could use `message-sent-hook' to rename the
> buffer to something that starts with space.  That will probably make
> the buffer not appear in the menu.

Or set `message-kill-buffer-on-exit' to t.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnus 5.9 & msb-mode; display of options
  2003-01-10 19:35       ` Reiner Steib
@ 2003-01-13  8:00         ` Sivaram Neelakantan
       [not found]           ` <v9y95ps8as.fsf@marauder.physik.uni-ulm.de>
  0 siblings, 1 reply; 5+ messages in thread
From: Sivaram Neelakantan @ 2003-01-13  8:00 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> wrote in message news:<v9of6ox0fi.fsf@marauder.physik.uni-ulm.de>...
> On Fri, Jan 10 2003, Lars Magne Ingebrigtsen wrote:
> 
> > Ok.  Well, I guess one could use `message-sent-hook' to rename the
> > buffer to something that starts with space.  That will probably make
> > the buffer not appear in the menu.
> 
> Or set `message-kill-buffer-on-exit' to t.
> 
> Bye, Reiner.

This thread is going in the opposite direction. :)  Any suggestions on
how to rename buffers especially "new composed mails" with the To:
header address AFTER the mail is sent?

regards,
Sivaram


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnus 5.9 & msb-mode; display of options
       [not found]           ` <v9y95ps8as.fsf@marauder.physik.uni-ulm.de>
@ 2003-01-14  4:58             ` Sivaram Neelakantan
  0 siblings, 0 replies; 5+ messages in thread
From: Sivaram Neelakantan @ 2003-01-14  4:58 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> wrote in message 
[...]
> To follow Lars' suggestion, you could use a function like this and add
> it to `message-sent-hook':
> 
> --8<---------------cut here---------------start------------->8---
> (defun rs-message-rename-buffer ()
>   (interactive)
>   "Rename message buffer."
>   ;; most code borrowed from `message-rename-buffer':
>   (let* ((mail-to (or
> 		   (if (message-news-p) (message-fetch-field "Newsgroups")
> 		     (message-fetch-field "To"))
> 		   ""))
> 	 (mail-trimmed-to
> 	  (if (string-match "," mail-to)
> 	      (concat (substring mail-to 0 (match-beginning 0)) ", ...")
> 	    mail-to))
> 	 (name-default (concat "*message* " mail-trimmed-to)))
>     (rename-buffer (concat " " ;; add " " to make buffer invisible
> 			   name-default) t)))
> (add-hook 'message-sent-hook 'rs-message-rename-buffer)
> --8<---------------cut here---------------end--------------->8---
> 
> Bye, Reiner.

Yes, that worked.  Thanks for showing me how.

regards,
Sivaram


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-01-14  4:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <a7043d61.0301072352.5f57fba7@posting.google.com>
2003-01-10 17:53 ` gnus 5.9 & msb-mode; display of options Lars Magne Ingebrigtsen
     [not found]   ` <87fzs0deac.fsf@enberg.org>
2003-01-10 19:14     ` Lars Magne Ingebrigtsen
2003-01-10 19:35       ` Reiner Steib
2003-01-13  8:00         ` Sivaram Neelakantan
     [not found]           ` <v9y95ps8as.fsf@marauder.physik.uni-ulm.de>
2003-01-14  4:58             ` Sivaram Neelakantan

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).