Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Different signatures for each groups
@ 2006-06-17 18:54 Wishmaster #44pf10#
  2006-06-17 19:22 ` Wishmaster #44pf10#
  2006-06-17 19:24 ` Nelson Ferreira
  0 siblings, 2 replies; 4+ messages in thread
From: Wishmaster #44pf10# @ 2006-06-17 18:54 UTC (permalink / raw)



Hello,

I am new to Gnus and to this group, so please excuse me if this has 
been discussed before. 

I access 2 news servers with Gnus: one news server where the postings
are mostly in Portuguese, and Usenet.

I would like to know if is it possible to set different signatures for
each group, because I would like to have a signature in English on
"international" (i.e. Usenet) groups and a signature in Portuguese 
on "national" (i.e. Portuguese) groups.

Thanks for any info!

-- 
[]s, Renan "Wishmaster"   | "Um matemático é um dispositivo 
Canoas/RS - LRU #390969   |  para transformar café em
Ubuntu 5.10 / Kurumin 6.0 |  teoremas. " -- Paul Erdös
-----------------------------------------------------------


Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php

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

* Re: Different signatures for each groups
  2006-06-17 18:54 Different signatures for each groups Wishmaster #44pf10#
@ 2006-06-17 19:22 ` Wishmaster #44pf10#
  2006-06-17 19:24 ` Nelson Ferreira
  1 sibling, 0 replies; 4+ messages in thread
From: Wishmaster #44pf10# @ 2006-06-17 19:22 UTC (permalink / raw)


Wishmaster #44pf10# <wishmaster@aux.net> writes:

> Hello,
>
> I am new to Gnus and to this group, so please excuse me if this has 
> been discussed before. 
>
> I access 2 news servers with Gnus: one news server where the postings
> are mostly in Portuguese, and Usenet.
>
> I would like to know if is it possible to set different signatures for
> each group, because I would like to have a signature in English on
> "international" (i.e. Usenet) groups and a signature in Portuguese 
> on "national" (i.e. Portuguese) groups.

I forgot to say: I use Leafnode for "offline" news reading (I am on dial
up) so the 2 servers are handled as one.


-- 
[]s, Renan "Wishmaster"   | "Um matemático é um dispositivo 
Canoas/RS - LRU #390969   |  para transformar café em
Ubuntu 5.10 / Kurumin 6.0 |  teoremas. " -- Paul Erdös
-----------------------------------------------------------

Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php

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

* Re: Different signatures for each groups
  2006-06-17 18:54 Different signatures for each groups Wishmaster #44pf10#
  2006-06-17 19:22 ` Wishmaster #44pf10#
@ 2006-06-17 19:24 ` Nelson Ferreira
  2006-06-17 20:35   ` Wishmaster #44pf10#
  1 sibling, 1 reply; 4+ messages in thread
From: Nelson Ferreira @ 2006-06-17 19:24 UTC (permalink / raw)


"Wishmaster" == Wishmaster #44pf10# <wishmaster@aux.net> writes:


[...]

    Wishmaster> I would like to know if is it possible to set different signatures for
    Wishmaster> each group, because I would like to have a signature in English on
    Wishmaster> "international" (i.e. Usenet) groups and a signature in Portuguese 
    Wishmaster> on "national" (i.e. Portuguese) groups.

Several ways of doing it. You can use gnus-posting-styles, or the
group parameters.

Try the following in .gnus:

(setq gnus-posting-styles  
      '((".*"     (signature "My english signature"))
        ("^pt\\." (signature "A minha signature em Português."))))

Or

(setq gnus-posting-styles  
      '((".*"     (signature-file "~/.sig.en"))
        ("^pt\\." (signature-file "~/.sig.pt"))))


You can override this on a per group basis by either customizing the
posting style using G c on the group buffer, or by going directly to
the group parameters lisp forms and enter:

(posting-style (signature-file "~/.sig.pt.comp"))


Espero que ajude.

[...]


-- 
Nelson Ferreira

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

* Re: Different signatures for each groups
  2006-06-17 19:24 ` Nelson Ferreira
@ 2006-06-17 20:35   ` Wishmaster #44pf10#
  0 siblings, 0 replies; 4+ messages in thread
From: Wishmaster #44pf10# @ 2006-06-17 20:35 UTC (permalink / raw)


Nelson Ferreira <nelson.ferreira@ieee.org> writes:

> Several ways of doing it. You can use gnus-posting-styles, or the
> group parameters.

[snip]

This works. Thanks!

-- 
Thanks, Renan "Wishmaster" - Canoas, RS, Brazil
LRU #390969: Ubuntu 5.10 / Kurumin 6.0 / SLAX 5.0.6

Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php

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

end of thread, other threads:[~2006-06-17 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-17 18:54 Different signatures for each groups Wishmaster #44pf10#
2006-06-17 19:22 ` Wishmaster #44pf10#
2006-06-17 19:24 ` Nelson Ferreira
2006-06-17 20:35   ` Wishmaster #44pf10#

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