From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9461 Path: news.gmane.org!not-for-mail From: Michal Nazarewicz Newsgroups: gmane.emacs.gnus.user Subject: Re: Clickable '-- ' with signatures menu Date: Sat, 04 Aug 2007 01:58:15 +0200 Organization: tp.internet - http://www.tpi.pl/ Message-ID: <873az0tbl4.fsf@erwin.mina86.com> References: <87tzrgub0j.fsf@erwin.mina86.com> <87odho7hv4.fsf@azurservers.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186188064 5611 80.91.229.12 (4 Aug 2007 00:41:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Aug 2007 00:41:04 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Aug 04 02:41:00 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IH7hQ-0007ir-BR for gegu-info-gnus-english@m.gmane.org; Sat, 04 Aug 2007 02:40:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IH7hK-0001hU-LZ for gegu-info-gnus-english@m.gmane.org; Fri, 03 Aug 2007 20:40:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 57 Original-NNTP-Posting-Host: pai130.warszawa.sdi.tpnet.pl Original-X-Trace: atlantis.news.tpi.pl 1186185549 21684 217.96.228.130 (3 Aug 2007 23:59:09 GMT) Original-X-Complaints-To: usenet@tpi.pl Original-NNTP-Posting-Date: Fri, 3 Aug 2007 23:59:09 +0000 (UTC) X-Url: http://mina86.com/ User-Agent: Gnus/0.7 Emacs/22.1.50.1 (Slckware Linux) Cancel-Lock: sha1:fzD4+aVLTv0k8v79LzSFQq2SfRg= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79651 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9461 Archived-At: Slackrat writes: > Michal Nazarewicz 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 [...] > (setq gnus-posting-styles > '((".*" > (name mail-user-name) [...] > (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") > ) [...and so one...] Yes, I'm aware of it but still in some cases I would like to be able to quickly change a signature. For instance, all my mail.* groups are set with a signature in Polish but occasionally (like twice a year) I write mail in English and here I would like to change signature to English version quickly. I'll investigate randomsig.el you've proposed in parallel reply, maybe that will solve my problems. -- Best regards, _ _ .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michal "mina86" Nazarewicz (o o) ooo +-------ooO--(_)--Ooo--