[RFC] Use JSON in emacs interface

2012-04-29 Thread Austin Clements
Quoth Chris Gray on Apr 29 at 10:22 am: > Hi, > > My thinking about this arises from the fact that there is a person on > one of the lists that I read who puts a semicolon after his name. Of > course, this confuses the regex in notmuch-search-process-filter, which > expects that the first

[RFC] Use JSON in emacs interface

2012-04-29 Thread Adam Wolfe Gordon
Hi Chris, On Sun, Apr 29, 2012 at 10:22, Chris Gray wrote: > I first thought of changing the regex so that it looked for the last > semicolon in the string or something like that, but that would just move > the problem. ?(Semicolons are probably more frequent in subject lines > than in author

[RFC] Use JSON in emacs interface

2012-04-29 Thread Chris Gray
Hi, My thinking about this arises from the fact that there is a person on one of the lists that I read who puts a semicolon after his name. Of course, this confuses the regex in notmuch-search-process-filter, which expects that the first semicolon in the string representing a thread is after all

[RFC] Use JSON in emacs interface

2012-04-29 Thread Chris Gray
Hi, My thinking about this arises from the fact that there is a person on one of the lists that I read who puts a semicolon after his name. Of course, this confuses the regex in notmuch-search-process-filter, which expects that the first semicolon in the string representing a thread is after all

Re: [RFC] Use JSON in emacs interface

2012-04-29 Thread Adam Wolfe Gordon
Hi Chris, On Sun, Apr 29, 2012 at 10:22, Chris Gray chrismg...@gmail.com wrote: I first thought of changing the regex so that it looked for the last semicolon in the string or something like that, but that would just move the problem.  (Semicolons are probably more frequent in subject lines

Re: [RFC] Use JSON in emacs interface

2012-04-29 Thread Austin Clements
Quoth Chris Gray on Apr 29 at 10:22 am: Hi, My thinking about this arises from the fact that there is a person on one of the lists that I read who puts a semicolon after his name. Of course, this confuses the regex in notmuch-search-process-filter, which expects that the first semicolon in