Re: [PATCH] X11: utf8 clipboard + wm_delete
Charles Gordon <[email protected]> Fri, 7 Feb 2014 15:39:16 +0100
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <[email protected]> |
On 7 févr. 2014, at 15:21, François Revol <[email protected]> wrote: > On 07/02/2014 08:58, Charles Gordon wrote: > >> I am not sure it works correctly on OS.X X11, nor under linux and other unices > > Well, it was tested on Linux, Haiku doesn't use X11. It does work on OS/X under X11, but I had a few crashes and I’m not sure what caused them. Also the code could be simplified with eb_get_contents(). The current implementation does not compute the size of the utf8 buffer correctly : it will be too short if conversion is to be performed from Latin-1 or other similar 8bit charsets. eb_get_contents() has the same limitation. I will commit a patch to correct this. Thank you for your help testing qemacs. Do you use it regularly on linux/X11 ? What is on top of your wish list ? Chqrlie.