(Posting Styles): Add a description about gnus-named-posting-styles.
authorueno <ueno>
Sun, 8 Sep 2002 16:35:29 +0000 (16:35 +0000)
committerueno <ueno>
Sun, 8 Sep 2002 16:35:29 +0000 (16:35 +0000)
texi/gnus-ja.texi
texi/gnus.texi

index 2b9622a..427fddd 100644 (file)
@@ -10628,6 +10628,29 @@ from date id references chars lines xref extra \e$B$N3F%X%C%@!<$+$i@.$k%Y%/\e(B
 \e$B$r\e(B @code{From} \e$B%"%I%l%9$H$7$F;H$&$3$H$r0UL#$7$^$9!#$3$l$O!"$"$J$?$,$?$/\e(B
 \e$B$5$s$N%a!<%j%s%0%j%9%H$K;22C$7$F$$$k>l9g$KJXMx$G$7$g$&!#\e(B
 
+\e$BJQ?t\e(B @code{gnus-named-posting-styles} \e$B$r@_Dj$9$k$3$H$G!"$h$/MxMQ$9$kEj9F\e(B
+\e$BMM<0$KL>A0$r$D$1$k$3$H$,$G$-$^$9!#$=$l$OL>A0$HG$0U$NNL$NB0@-$+$i$J$kO"A[\e(B
+\e$B%j%9%H$G$9!#\e(B@code{gnus-posting-styles} \e$B$K4^$^$l$kB0@-L>$,\e(B @code{import} 
+\e$B$@$C$?$i!"$=$NB0@-CM$+$i\e(B @code{gnus-named-posting-styles} \e$B$r0z$$$FF@$i$l\e(B
+\e$B$?Dj7?$NB0@-$r<h$j9~$_$^$9!#\e(B
+
+@lisp
+(setq gnus-named-posting-styles
+      '(("Default"
+         (signature-file "~/.signature")
+         (name "User Name")
+         ("X-Home-Page" (getenv "WWW_HOME"))
+         (organization "People's Front Against MWM"))
+       ("Emacs"
+        (import "Default")
+        (organization "The Church of Emacs"))))
+@end lisp
+
+"Emacs" \e$B$HL>IU$1$i$l$?MM<0$O!"\e(B@code{organization} \e$B0J30$NB0@-$r\e(B "Default" 
+\e$B$+$i0z$-7Q$.$^$9!#35N,%P%C%U%!$G\e(B @kbd{S P} \e$B$H$9$k$3$H$G!"Ej9F$N:]$KG$0U\e(B
+\e$B$NMM<0$rA*Br$9$k$3$H$b$G$-$^$9!#\e(B
+
+
 @node Drafts
 @section \e$B2<=q$-\e(B
 @cindex drafts
index 5a30a69..2176314 100644 (file)
@@ -11135,6 +11135,28 @@ The @samp{nnml:.*} rule means that you use the @code{To} address as the
 @code{From} address in all your outgoing replies, which might be handy
 if you fill many roles.
 
+Setting the @code{gnus-named-posting-styles} variable will make
+posting-styles allow to have distinctive names.  It is an alist which
+maps the names to styles.  If an attribute has a name @code{import},
+Gnus will look for the attribute value in
+@code{gnus-named-posting-styles} and import user defined attributes.
+
+@lisp
+(setq gnus-named-posting-styles
+      '(("Default"
+         (signature-file "~/.signature")
+         (name "User Name")
+         ("X-Home-Page" (getenv "WWW_HOME"))
+         (organization "People's Front Against MWM"))
+       ("Emacs"
+        (import "Default")
+        (organization "The Church of Emacs"))))
+@end lisp
+
+The posting-style named "Emacs" will take over all the attributes from
+"Default" except @code{organization}.  You can specify an arbitrary
+posting-style when article posting with @kbd{S P} in the summary buffer.
+
 
 @node Drafts
 @section Drafts