[PATCH v2 14/20] nmbug-status: Encode output using the user's locale

2014-02-12 Thread David Bremner
"W. Trevor King" writes: > > I don't understand why your choice of LANG should depend on the > interactive-ness of an invocation. It's not the choice of LANG, but rather the acceptability of crashing with an unhandled exception. > The upside of a configurable language is that the user gets

[PATCH v2 13/20] nmbug-status: Convert from XHTML 1.0 to HTML 5

2014-02-12 Thread David Bremner
"W. Trevor King" writes: > HTML 5 for the win :). I also de-namespaced the language; the HTML 5 > spec allows a vestigial xml:lang attribute, but it's a no-op [1], so I > stripped it. I pushed the first 13 patches in the series to master. d

[PATCH v2 14/20] nmbug-status: Encode output using the user's locale

2014-02-12 Thread W. Trevor King
with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <h

[PATCH v2 13/20] nmbug-status: Convert from XHTML 1.0 to HTML 5

2014-02-12 Thread W. Trevor King
ion/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140212/2a85d307/attachment.pgp>

[WIP PATCH] Make keys of notmuch-tag-formats regexps and use caching

2014-02-12 Thread Austin Clements
This was a little hack to test the feasibility of switching notmuch-tag-formats to use regexps with caching for performance. In the end it works fine and isn't particularly complex, though there were a few gotchas: 1) We have to clear the cache somehow on changes to notmuch-tag-formats. I opted

Re: [PATCH v2 13/20] nmbug-status: Convert from XHTML 1.0 to HTML 5

2014-02-12 Thread W. Trevor King
On Wed, Feb 12, 2014 at 07:35:19PM -0400, David Bremner wrote: W. Trevor King writes: HTML 5 for the win :). I also de-namespaced the language; the HTML 5 spec allows a vestigial xml:lang attribute, but it's a no-op [1], so I stripped it. I pushed the first 13 patches in the series to

Re: [PATCH v2 14/20] nmbug-status: Encode output using the user's locale

2014-02-12 Thread David Bremner
W. Trevor King wk...@tremily.us writes: I don't understand why your choice of LANG should depend on the interactive-ness of an invocation. It's not the choice of LANG, but rather the acceptability of crashing with an unhandled exception. The upside of a configurable language is that the

Re: [PATCH v2 14/20] nmbug-status: Encode output using the user's locale

2014-02-12 Thread W. Trevor King
On Wed, Feb 12, 2014 at 10:13:50PM -0400, David Bremner wrote: W. Trevor King writes: I don't understand why your choice of LANG should depend on the interactive-ness of an invocation. It's not the choice of LANG, but rather the acceptability of crashing with an unhandled exception. I'd

[PATCH v2] new: Detect dirent.d_type support at configure time

2014-02-12 Thread Austin Clements
Support for dirent.d_type is OS-specific. Previously, we used _DIRENT_HAVE_D_TYPE to detect support for this, but this is apparently a glic-ism (FreeBSD, for example, supports d_type, but does not define this). Since there's no cross-platform way to detect support for dirent.d_type, detect it

Re: [PATCH 1/1] emacs: always write emacs/.eldeps when the target is remade

2014-02-12 Thread Austin Clements
Quoth Tomi Ollila on Jan 25 at 12:21 pm: So that the target is newer than its prerequisites. --- emacs/Makefile.local | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 42bfbd9..d5d402e 100644 --- a/emacs/Makefile.local

Re: [PATCH 1/1] emacs: always write emacs/.eldeps when the target is remade

2014-02-12 Thread Tomi Ollila
On Thu, Feb 13 2014, Austin Clements amdra...@mit.edu wrote: Quoth Tomi Ollila on Jan 25 at 12:21 pm: So that the target is newer than its prerequisites. --- emacs/Makefile.local | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/emacs/Makefile.local

Re: [PATCH 1/1] emacs: always write emacs/.eldeps when the target is remade

2014-02-12 Thread Austin Clements
Quoth Tomi Ollila on Feb 13 at 9:26 am: On Thu, Feb 13 2014, Austin Clements amdra...@mit.edu wrote: Quoth Tomi Ollila on Jan 25 at 12:21 pm: So that the target is newer than its prerequisites. --- emacs/Makefile.local | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)