> Michal Nazarewicz <[EMAIL PROTECTED]> writes: >> 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.
Slackrat <[EMAIL PROTECTED]> writes: > Have you tried "randomsig.el" ?? > > ;; see .emacs for complete randomsig.el > ;; #################################### > > ;; TO MAKE IT WORK, put the following lines into your ~/.gnus: > > (require 'randomsig) > (define-key message-mode-map (kbd "C-c s") 'randomsig-replace-sig) > (define-key message-mode-map (kbd "C-c S") 'randomsig-select-sig) > (require 'gnus-sum) ; probably required for `gnus-summary-save-map' > (define-key gnus-summary-save-map "-" 'gnus/randomsig-summary-read-sig) > (setq randomsig-dir "/home/inconnu/.signature/random-signature") > (setq randomsig-files '( > "001" "002" "003" "004" "005" "006" "007" "008" "009" "010" "011" > "012" "013" "014" "015" "016" "017" "018" "019" "020" [...] > ) > ) It works nice even though I'd prefer assigning each signature a name so that when selecting a signature a menu would pop-up or I'd be prompted for name in minibuffer. -- Best regards, _ _ .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michal "mina86" Nazarewicz (o o) ooo +--<mina86*tlen.pl>---<jid:mina86*chrome.pl>--ooO--(_)--Ooo-- _______________________________________________ info-gnus-english mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-gnus-english
