Merciadri Luca <[email protected]> writes:

> Hello,
>
> I have seen that many of the users of this Usenet group always use
> citations at the end of their mail (esp. in their signature).

the kley is the variable message-signature 

it must be either nil or a string or a function that returns a string

if message-signature is non nil, message inserts it (what it returns),
after "-- \n", at the end of your message

so put, in your ~/.gnus file

(setq message-signature 'my-signature)

where my-signature can be setq'ed to a string or defun'ed to a
function

for example, let's say that in some groups you'like to say something
"ad hoc", but in general you want to have a random quote from your
small database

------------- ~/.signature
quote1
%
quote 2
 q2 is multiline!
%
quote 3
------------

so you define

(defun my-signature ()
      (cond ((string-match "it.hobby.cucina" gnus-newsgroup-name) "io snobbo 
Pandora")
            (t (with-temp-buffer
                 (insert-file-contents-literally (expand-file-name 
"~/.signature"))
                 (let* ((lista (split-string (buffer-string (current-buffer)) 
"\n%\n")))
                   (elt lista (random (length lista))))))))

ciao
-- 
Vorrei andare a lavorare in Sicilia, a max 15 km dal mare. Con chi 
devo parlare? Col capomafia distrettuale? Oppure bisogna sporcarsi le 
mani e fare la tessera di FI?                      -- Marvin,  in IFQ
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to