On Wed, Dec 08, 2010 at 06:04:27PM +0800, lilydjwg wrote:
> My settings:
> os.setlocale("zh_CN.UTF-8")
> mytextclock = widget({ type = "textbox", align = "right" })
> myclock = timer({ timeout = 1 })
> myclock:add_signal("timeout", function() mytextclock.text = os.date("
> %Y年%m月%d日 %H:%M:%S %A ") end)
>
> Note that 'os.setlocale' is required whatever locale you're using.
> I don't know why it is needed as my locale is already that, though.
> [...]
The Lua interpreter clears locales before running any scripts. Not sure
why that needs to be done, but the docs say so :)
> BTW, I just noticed that, when I reply to mails in this maillist, the
> mail goes to the sender, instead of the list. Why is this happening?
> [...]
Your mail client might be set up to not use the List-Id: header as the
recipient of answered mails but rather the From: header. Fix your client
:P With mutt it's usually adding a 'subscribe' entry for the list and
using 'L' to reply instead of 'r' or 'g'.
--
$l="\n";$p=q-sub r{rand}sub c{((shift)**2+(shift)**2)<1}while(
$i++<=$s){$t++if c r,r}die("Gregor Best, 0xDB9F9A7C, ".($t/$s*
4).$l)-;$s+=ord$$|$_ for split //,$p;srand($s|$$);eval$p;die$@
pgpDNxm9dGdby.pgp
Description: PGP signature
