[PATCH 06/11] emacs: Remove broken `notmuch-get-bodypart-content' API

2015-01-24 Thread Austin Clements
On Fri, 11 Jul 2014, David Bremner wrote: > Austin Clements writes: > >> +This returns the content of the given part as a multibyte Lisp > > What does "multibyte" mean here? utf8? current encoding? Elisp has two kinds of stings: "unibyte strings" and "multibyte strings". https://www.gnu.org/

Re: [PATCH 06/11] emacs: Remove broken `notmuch-get-bodypart-content' API

2015-01-24 Thread Austin Clements
On Fri, 11 Jul 2014, David Bremner wrote: > Austin Clements writes: > >> +This returns the content of the given part as a multibyte Lisp > > What does "multibyte" mean here? utf8? current encoding? Elisp has two kinds of stings: "unibyte strings" and "multibyte strings". https://www.gnu.org/

[PATCH 06/11] emacs: Remove broken `notmuch-get-bodypart-content' API

2014-07-11 Thread David Bremner
Austin Clements writes: > +This returns the content of the given part as a multibyte Lisp What does "multibyte" mean here? utf8? current encoding? > +string after performing content transfer decoding and any > +necessary charset decoding. It is an error to use this for > +non-text/* parts." >

Re: [PATCH 06/11] emacs: Remove broken `notmuch-get-bodypart-content' API

2014-07-11 Thread David Bremner
Austin Clements writes: > +This returns the content of the given part as a multibyte Lisp What does "multibyte" mean here? utf8? current encoding? > +string after performing content transfer decoding and any > +necessary charset decoding. It is an error to use this for > +non-text/* parts." >

[PATCH 06/11] emacs: Remove broken `notmuch-get-bodypart-content' API

2014-04-21 Thread Austin Clements
`notmuch-get-bodypart-content' could do two very different things, depending on conditions: for text/* parts other than text/html, it would return the part content as a multibyte Lisp string *after* charset conversion, while for other parts (including text/html), it would return binary part content

[PATCH 06/11] emacs: Remove broken `notmuch-get-bodypart-content' API

2014-04-21 Thread Austin Clements
`notmuch-get-bodypart-content' could do two very different things, depending on conditions: for text/* parts other than text/html, it would return the part content as a multibyte Lisp string *after* charset conversion, while for other parts (including text/html), it would return binary part content