Gnus development mailing list
 help / color / mirror / Atom feed
From: "Byung-Hee HWANG (황병희)" <soyeomul@doraji.xyz>
To: ding@gnus.org
Subject: Re: Endless impression~ Gnus' citation style..
Date: Tue, 19 Jul 2016 00:54:33 +0900	[thread overview]
Message-ID: <87mvlflz5y.fsf@alex.chromebook> (raw)
In-Reply-To: <87h9bn9cp1.fsf@yale.edu> (Jorge A. Alfaro-Murillo's message of "Mon, 18 Jul 2016 11:40:42 -0400")

jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) writes:

> Emanuel Berg writes: 
>
>> "Byung-Hee HWANG (황병희)" <soyeomul@doraji.xyz> writes: 
>>
>>> I like basic citation style. However i did discover some citation
>>> style at Gmane web (attached file). That gave me endless
>>> impression. Yah! I want it! How can i set it my dot.gnus.el? 
>>
>> That is the normal citation style which is supplied by default. 
>
> That is not the normal style. The default is to have
> message-citation-line-function as message-insert-citation-line, which
> produces:  "Name" <email> writes:  Byung-Hee is even saying that he
> likes that style but wants the other, the one that they attached. If I
> understand correctly, they want something like:  In article "article
> from origin", "Name" <email> writes:  And besides that, to have the
> email addresses masked with <at> instead of @. For that
> message-citation-line-function needs to be set to
> your-own-citation-style-function. I do not know what the information
> referring to the article actually is, but this could get you started:
> #+BEGIN_SRC emacs-lisp
>  (defun your-own-citation-style-function ()
>    (let* ((from (mail-header-from message-reply-headers))
>            (data (gnus-extract-address-components from))
>            (name (car data))
>            (email (cadr data))
>            (masked-email (replace-regexp-in-string "@" " <at> "
> email)))
>      (insert (concat "In article XXX, "
>                       name
>                       " <"
>                       masked-email
>                       "> writes:"))
>      (newline)))
>  (setq message-citation-line-function
>        'your-own-citation-style-function)
> #+END_SRC
>
> Best,

Really you are best! i'll test it tomorrow!

THANK YOU SO MUCH!

Sincerely,

-- 
^고맙습니다 감사합니다_^))//



  reply	other threads:[~2016-07-18 15:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 11:17 Byung-Hee HWANG (황병희)
2016-07-18 14:13 ` Emanuel Berg
2016-07-18 15:40   ` Jorge A. Alfaro-Murillo
2016-07-18 15:54     ` Byung-Hee HWANG (황병희) [this message]
2016-07-18 19:44     ` Emanuel Berg
2016-07-18 20:32       ` Jorge A. Alfaro-Murillo
2016-07-18 22:24         ` Emanuel Berg
2016-07-18 22:48           ` Emanuel Berg
2016-07-18 23:03             ` Emanuel Berg
2016-07-18 23:44             ` Dmitry Alexandrov
2016-07-19  0:15               ` Dmitry Alexandrov
2016-07-19  0:40                 ` Emanuel Berg
2016-07-19  0:27               ` Emanuel Berg
2016-07-21 13:03             ` Byung-Hee HWANG (황병희)
2016-07-21 15:27               ` Emanuel Berg
2016-07-18 15:42   ` Byung-Hee HWANG (황병희)
2016-07-18 17:13 ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvlflz5y.fsf@alex.chromebook \
    --to=soyeomul@doraji.xyz \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).