Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* [Q] what is mean posting-from-work-p in gnus-posting-style
@ 2019-11-25 10:16 황병희
  2019-11-25 12:58 ` Alberto Luaces
  0 siblings, 1 reply; 3+ messages in thread
From: 황병희 @ 2019-11-25 10:16 UTC (permalink / raw)
  To: info-gnus-english

Hellow, i am seeing Gnus manual [1]. At there is odd statement.

#+BEGIN_SRC emacs lisp
(setq gnus-posting-styles
      '((".*"
        (signature-file "~/.signature"))
       ((posting-from-work-p) ;; A user defined function
        (signature-file "~/.work-signature"))))
#+END_SRC

What does (posting-from-work-p) means?
Actually i did fail to read and understand...

Sincerely,

[1]https://www.gnu.org/software/emacs/manual/html_node/gnus/Posting-Styles.html

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: [Q] what is mean posting-from-work-p in gnus-posting-style
  2019-11-25 10:16 [Q] what is mean posting-from-work-p in gnus-posting-style 황병희
@ 2019-11-25 12:58 ` Alberto Luaces
  2019-11-26  2:25   ` 황병희
  0 siblings, 1 reply; 3+ messages in thread
From: Alberto Luaces @ 2019-11-25 12:58 UTC (permalink / raw)
  To: info-gnus-english

(황병희) writes:

> Hellow, i am seeing Gnus manual [1]. At there is odd statement.
>
> #+BEGIN_SRC emacs lisp
> (setq gnus-posting-styles
>       '((".*"
>         (signature-file "~/.signature"))
>        ((posting-from-work-p) ;; A user defined function
>         (signature-file "~/.work-signature"))))
> #+END_SRC
>
> What does (posting-from-work-p) means?
> Actually i did fail to read and understand...

It is a fictitious (example) function that could be able to know if you
are at your work desk or at any other place, in order to select the
appropriate posting style.

Actually, it is an example of the degree of customization that you can
reach with posting styles, since they can also evaluate custom elisp
functions that can output different things even after configuration
time.

-- 
Alberto


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: [Q] what is mean posting-from-work-p in gnus-posting-style
  2019-11-25 12:58 ` Alberto Luaces
@ 2019-11-26  2:25   ` 황병희
  0 siblings, 0 replies; 3+ messages in thread
From: 황병희 @ 2019-11-26  2:25 UTC (permalink / raw)
  To: info-gnus-english

> Actually, it is an example of the degree of customization that you can
> reach with posting styles, since they can also evaluate custom elisp
> functions that can output different things even after configuration
> time.

So i have to study elisp, thanks for comments Alberto^^^

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

end of thread, other threads:[~2019-11-26  2:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-25 10:16 [Q] what is mean posting-from-work-p in gnus-posting-style 황병희
2019-11-25 12:58 ` Alberto Luaces
2019-11-26  2:25   ` 황병희

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