[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change ʽAT <date> <USER> wrote:ʼ



On 金, 23 1 2015 at 15:14:04 JST,
Erik Hetzner wrote:
> On Thu, 22 08 2015 at 12:08:43 PST,
> Greg Bognar <greg.bognar@gmail.com> wrote:
> > 
> > AFAIK, there is no variable.  The string is hard-coded in the definition of
> > wl-default-draft-cite which is in wl-draft.el.  The workaround I use is to
> > put this into my .wl file:
> 
> This is easily fixed. See
> 
>   https://github.com/wanderlust/wanderlust/pull/91

By recent changes, citation header is very ugly on Japanese environment
(like this message).

I will expand your change for more customizable citation header.

 1. If wl-default-draft-cite-date-format-string is nil, use parent
 message's Date: field header as time-string (like previous behavior).

 2. If wl-default-draft-cite-date-format-string is non-string and
 non-nil, use Wanderlust's Date: field generating routine
 (wl-make-date-string).

 3. Citation header string is now customizable.
 wl-default-draft-cite-header-format-string variable is available.

 4. New variable wl-default-draft-cite-time-locale is available.  It
 can specify locale for time-string.

See the below patch.

But I think default value of wl-default-draft-cite-date-format-string
is still controversial.  XEmacs on Japanese environment may generate
ugly citation header even when the patch is applied, because
wl-default-draft-cite-time-locale has no effect on XEmacs.  I hope
wl-default-draft-cite-date-format-string's default is set to t in
addition to this patch.

-- 
Kazuhiro Ito

Attachment: draft.diff
Description: Binary data