Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Slackrat <s4Qlackrat@azurservers.com>
To: info-gnus-english@gnu.org
Subject: Re: Clickable '-- ' with signatures menu
Date: Fri, 03 Aug 2007 17:33:35 +0200	[thread overview]
Message-ID: <87odho7hv4.fsf@azurservers.com> (raw)
In-Reply-To: <87tzrgub0j.fsf@erwin.mina86.com>

Michal Nazarewicz <mina86@tlen.pl> writes:

> Hello,
>
> I've recently came up with an idea of making the signature separator
> clickable in such a way that after clicking it (or pressing enter when
> cursor is on it) a menu would pop-up with a list of signatures.  Then
> I can choose one signature and the current one would be replaced with
> the one I've chosen.
>
> Another thing would be making a "From:" header clickable in similar
> manner -- this time I could choose one of preset From headers.
>
> Surly it is possible do to this but I have no idea how to achieve such
> behaviour.  Any hints or code?

No need to make them clickable

You can customize as follows in .gnus

;; ##################
;; POSTING HEADERS ##
;; ##################
;;

;; Set some default email and news headers
(setq message-default-mail-headers
"Fcc: ~/Mail/outbox")

(setq message-default-news-headers
"Fcc: ~/News/sent.news.archive")

(setq message-required-mail-headers
      (nconc message-required-mail-headers
             (list '(Face . (lambda ()
                              (gnus-face-from-file "~/.signature/facesmtp.jpg"))))))

(setq message-required-news-headers
      (nconc message-required-news-headers
             (list '(Face . (lambda ()
                              (gnus-face-from-file "~/.signature/facenntp.jpg"))))))

(setq gnus-posting-styles
      '((".*"
	 (name mail-user-name)
	 ("X-Guarantee" "This email is certified to have been free
             of UCE and any other Malicious, Harmful or
             Annoying Content when originally posted by
             <user>@azurservers.com - Azurservers posts
             SPF records and do not condone SPAM type
             emails")
	 (signature-file "~/.signature/bill")
	 ("X-Homepage" "http://azurservers.com")
	 ("X-Operating-System" "Slackware GNU/Linux")
	 ("X-AuthNo" "Registered as AZSV bghkd8332277")
	 (organization "Not very much!"))

;; USENET
;;=======

	 ("rec*"
	 (signature-file "~/.signature/davey")
	 (name "Davey Crockett")
	 (address "d4Qaveycrockett@azurservers.com")
	 ("Fcc" "~/Mail/sent-rec")
         )

	 ("gnu.emacs*"
	 (signature-file "~/.signature/slackrat")
	 (name "Slackrat")
	 (address "s4Qlackrat@azurservers.com")
	 ("Fcc" "~/Mail/sent-gnu"))

;; MAILING LISTS
;;==============
	 ("tlug"
	 ("To" "tlug@ss.org")
	 (signature-file "~/.signature/slackrat")
	 (name "SlackRat")
	 (address "slackrat4Q@azurservers.com")
	 ("Fcc" "~/Mail/sent-tlug")
         )

;; INDIVIDUALS
;;============

         ("sublet-nicola"
	 ("To" "Nicola Nunu <bought@hotmail.it>")
	 (signature-file "~/.signature/bill")
	 (name "Bill Henderson")
	 (address "billhenderson@azurservers.com")
	 ("Fcc" "~/Mail/sent-sublet-nicola")
	 ("Bcc" "inconnu@azurservers.com")
         )

 	 ("tanya"
	 ("To" "Tanya Kim Henderson <tanyah@ualberta.ca>")
	 (signature-file "~/.signature/dad")
	 (name "Bill Henderson")
	 (address "billhenderson@azurservers.com")
	 ("Fcc" "~/Mail/sent-tanya")
	 ("Bcc" "inconnu@azurservers.com")
         )

 	 ("gaukroger"
	 ("To" "Kath et John <john.gaukroger@virgin.net>")
	 (signature-file "~/.signature/bill")
	 (name "Bill Henderson")
	 (address "billhenderson@azurservers.com")
	 ("Fcc" "~/Mail/sent-gaukroger")
	 ("Bcc" "inconnu@azurservers.com")
         )
))


-- 
Slackrat
-
The US spends Seven times the Total Amount spent on Social Services on
What it  Euphemistically calls "National Defense" In  reality, much of
this  Staggering Amount  is  expended on  Illegal  Wars of  Agression,
Colonization and  Contracts which Directly benefit  Bush's Friends and
Political Cronies.

http://nationalpriorities.org/index.php?option=com_content&task=view&id=213&Itemid=107

  parent reply	other threads:[~2007-08-03 15:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03 11:13 Michal Nazarewicz
2007-08-03 15:28 ` Slackrat
2007-08-04  0:09   ` Michal Nazarewicz
2007-08-04  0:17     ` Michal Nazarewicz
2007-08-03 15:32 ` Reiner Steib
2007-08-03 15:33 ` Slackrat [this message]
2007-08-03 23:58   ` Michal Nazarewicz

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=87odho7hv4.fsf@azurservers.com \
    --to=s4qlackrat@azurservers.com \
    --cc=info-gnus-english@gnu.org \
    /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).