unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
@ 2012-07-25 16:18 Li Ian-Xue
  2012-08-13  1:53 ` Leo
  0 siblings, 1 reply; 17+ messages in thread
From: Li Ian-Xue @ 2012-07-25 16:18 UTC (permalink / raw)
  To: 12051

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]


Hello developers,

I discovered recently that the irc client `rcirc', although has an
max-message-length set, but it simply uses (length str) for detecting
the output length, which is not desirable for multibyte users because
usually our characters encode to more than one byte, and this causes an
error that the client actually sends out more bytes than the standard
has required (512 bytes to my understanding).

This limit is easily reached since chinese characters are usually
encoded with 3 bytes for one character.

By this error, if the server truncates the result string simply by
bytes, then it's known to cause the string to become entirely scrambles
for xchat.

I'm attaching a patch to perform an binary search for multibyte strings,
and this patch should not have any penalties for original ascii users
since it begins with a (multibyte-string-p) to decide which style to use.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: rcirc-fix-multibyte-overflow.patch --]
[-- Type: text/x-patch, Size: 2136 bytes --]

--- rcirc.el	2012-07-25 23:52:41.813226461 +0800
+++ rcirc-1.el	2012-07-25 23:55:20.813220626 +0800
@@ -792,21 +792,40 @@
 (defvar rcirc-max-message-length 420
   "Messages longer than this value will be split.")
 
+(defun rcirc-multibyte-position-at-byte (str bytes)
+  (if (multibyte-string-p str)
+      (rcirc-multibyte-position-at-byte-1 str bytes 0 0)
+      bytes))
+
+(defun rcirc-multibyte-position-at-byte-1 (str bytes now-chars now-bytes)
+  (let ((len (length str)))
+    (if (<= len 1)
+        now-chars
+      (let* ((half-len (/ len 2))
+             (lstr (substring str 0 half-len))
+             (rstr (substring str half-len len))
+             (now-bytes-1 (+ now-bytes (string-bytes lstr))))
+        (if (> now-bytes-1 bytes)
+            (rcirc-multibyte-position-at-byte-1 lstr bytes now-chars now-bytes)
+          (rcirc-multibyte-position-at-byte-1 rstr bytes (+ half-len now-chars) now-bytes-1))))))
+
 (defun rcirc-send-message (process target message &optional noticep silent)
   "Send TARGET associated with PROCESS a privmsg with text MESSAGE.
 If NOTICEP is non-nil, send a notice instead of privmsg.
 If SILENT is non-nil, do not print the message in any irc buffer."
   ;; max message length is 512 including CRLF
   (let* ((response (if noticep "NOTICE" "PRIVMSG"))
-         (oversize (> (length message) rcirc-max-message-length))
+         (oversize (> (string-bytes message) rcirc-max-message-length))
+         (adjusted-pos (if oversize
+                            (rcirc-multibyte-position-at-byte message rcirc-max-message-length)))
          (text (if oversize
-                   (substring message 0 rcirc-max-message-length)
+                   (substring message 0 adjusted-pos)
                  message))
          (text (if (string= text "")
                    " "
                  text))
          (more (if oversize
-                   (substring message rcirc-max-message-length))))
+                   (substring message adjusted-pos))))
     (rcirc-get-buffer-create process target)
     (rcirc-send-string process (concat response " " target " :" text))
     (unless silent

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-07-25 16:18 bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account Li Ian-Xue
@ 2012-08-13  1:53 ` Leo
  2012-08-14 13:11   ` Leo
  2012-08-14 15:45   ` Eli Zaretskii
  0 siblings, 2 replies; 17+ messages in thread
From: Leo @ 2012-08-13  1:53 UTC (permalink / raw)
  To: Li Ian-Xue; +Cc: 12051

[-- Attachment #1: Type: text/plain, Size: 519 bytes --]

On 2012-07-26 00:18 +0800, Li Ian-Xue wrote:
> I discovered recently that the irc client `rcirc', although has an
> max-message-length set, but it simply uses (length str) for detecting
> the output length, which is not desirable for multibyte users because
> usually our characters encode to more than one byte, and this causes an
> error that the client actually sends out more bytes than the standard
> has required (512 bytes to my understanding).

Could you test if the attached patch fixes this problem? Thanks.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-bug-12051.patch --]
[-- Type: text/x-patch, Size: 2209 bytes --]

diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index e34b7c79..19f54a8e 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -794,26 +794,34 @@ (defun rcirc-buffer-nick (&optional buffer)
 (defvar rcirc-max-message-length 420
   "Messages longer than this value will be split.")
 
+(defun rcirc-split-message (message)
+  (with-temp-buffer
+    (insert message)
+    (goto-char (point-min))
+    (let (result)
+      (while (not (eobp))
+	(goto-char (or (byte-to-position rcirc-max-message-length)
+		       (point-max)))
+	(while (and (not (bobp))
+		    (> (length
+			(encode-coding-region (point-min) (point)
+					      rcirc-encode-coding-system t))
+		       rcirc-max-message-length))
+	  (forward-char -1))
+	(push (delete-and-extract-region (point-min) (point)) result))
+      (nreverse result))))
+
 (defun rcirc-send-message (process target message &optional noticep silent)
   "Send TARGET associated with PROCESS a privmsg with text MESSAGE.
 If NOTICEP is non-nil, send a notice instead of privmsg.
 If SILENT is non-nil, do not print the message in any irc buffer."
   ;; max message length is 512 including CRLF
-  (let* ((response (if noticep "NOTICE" "PRIVMSG"))
-         (oversize (> (length message) rcirc-max-message-length))
-         (text (if oversize
-                   (substring message 0 rcirc-max-message-length)
-                 message))
-         (text (if (string= text "")
-                   " "
-                 text))
-         (more (if oversize
-                   (substring message rcirc-max-message-length))))
+  (let ((response (if noticep "NOTICE" "PRIVMSG")))
     (rcirc-get-buffer-create process target)
-    (rcirc-send-string process (concat response " " target " :" text))
-    (unless silent
-      (rcirc-print process (rcirc-nick process) response target text))
-    (when more (rcirc-send-message process target more noticep))))
+    (dolist (msg (rcirc-split-message message))
+      (rcirc-send-string process (concat response " " target " :" msg))
+      (unless silent
+	(rcirc-print process (rcirc-nick process) response target msg)))))
 
 (defvar rcirc-input-ring nil)
 (defvar rcirc-input-ring-index 0)
-- 
1.7.9.6 (Apple Git-31.1)


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-13  1:53 ` Leo
@ 2012-08-14 13:11   ` Leo
  2012-08-14 15:45   ` Eli Zaretskii
  1 sibling, 0 replies; 17+ messages in thread
From: Leo @ 2012-08-14 13:11 UTC (permalink / raw)
  To: 12051-done

Fixed in emacs 24.2





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-13  1:53 ` Leo
  2012-08-14 13:11   ` Leo
@ 2012-08-14 15:45   ` Eli Zaretskii
       [not found]     ` <874no4apau.fsf@acerpad.localdomain>
  1 sibling, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2012-08-14 15:45 UTC (permalink / raw)
  To: Leo; +Cc: b4283, 12051

> From: Leo <sdl.web@gmail.com>
> Date: Mon, 13 Aug 2012 09:53:42 +0800
> Cc: 12051@debbugs.gnu.org
> 
> Could you test if the attached patch fixes this problem? Thanks.
> 
> 
> [2:text/x-patch Hide]
> 
> diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
> index e34b7c79..19f54a8e 100644
> --- a/lisp/net/rcirc.el
> +++ b/lisp/net/rcirc.el
> @@ -794,26 +794,34 @@ (defun rcirc-buffer-nick (&optional buffer)
>  (defvar rcirc-max-message-length 420
>    "Messages longer than this value will be split.")
>  
> +(defun rcirc-split-message (message)
> +  (with-temp-buffer
> +    (insert message)
> +    (goto-char (point-min))
> +    (let (result)
> +      (while (not (eobp))
> +	(goto-char (or (byte-to-position rcirc-max-message-length)
> +		       (point-max)))
> +	(while (and (not (bobp))
> +		    (> (length
> +			(encode-coding-region (point-min) (point)
> +					      rcirc-encode-coding-system t))
> +		       rcirc-max-message-length))
> +	  (forward-char -1))
> +	(push (delete-and-extract-region (point-min) (point)) result))
> +      (nreverse result))))
> +
>  (defun rcirc-send-message (process target message &optional noticep silent)
>    "Send TARGET associated with PROCESS a privmsg with text MESSAGE.
>  If NOTICEP is non-nil, send a notice instead of privmsg.
>  If SILENT is non-nil, do not print the message in any irc buffer."
>    ;; max message length is 512 including CRLF
> -  (let* ((response (if noticep "NOTICE" "PRIVMSG"))
> -         (oversize (> (length message) rcirc-max-message-length))
> -         (text (if oversize
> -                   (substring message 0 rcirc-max-message-length)
> -                 message))
> -         (text (if (string= text "")
> -                   " "
> -                 text))
> -         (more (if oversize
> -                   (substring message rcirc-max-message-length))))
> +  (let ((response (if noticep "NOTICE" "PRIVMSG")))
>      (rcirc-get-buffer-create process target)
> -    (rcirc-send-string process (concat response " " target " :" text))
> -    (unless silent
> -      (rcirc-print process (rcirc-nick process) response target text))
> -    (when more (rcirc-send-message process target more noticep))))
> +    (dolist (msg (rcirc-split-message message))
> +      (rcirc-send-string process (concat response " " target " :" msg))
> +      (unless silent
> +	(rcirc-print process (rcirc-nick process) response target msg)))))

Isn't it better and simpler to split the string after it is encoded
inside rcirc-send-string?





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
       [not found]     ` <874no4apau.fsf@acerpad.localdomain>
@ 2012-08-15  2:57       ` Eli Zaretskii
  2012-08-15 13:10         ` Leo
  0 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2012-08-15  2:57 UTC (permalink / raw)
  To: Li Ian-Xue; +Cc: 12051

> From: Li Ian-Xue <b4283@bephor.org>
> Date: Wed, 15 Aug 2012 09:59:05 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Isn't it better and simpler to split the string after it is encoded
> > inside rcirc-send-string?
> But by then one wouldn't know at which byte to cut. For example when
> it's a multibyte-ascii mixed string.

You can always stop at known characters, like whitespace.

Anyway, another way is simply to assume the worst possible expansion
ratio, and estimate the byte count before encoding.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-15  2:57       ` Eli Zaretskii
@ 2012-08-15 13:10         ` Leo
  2012-08-15 13:29           ` Chong Yidong
  2012-08-15 16:59           ` Eli Zaretskii
  0 siblings, 2 replies; 17+ messages in thread
From: Leo @ 2012-08-15 13:10 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Li Ian-Xue, 12051

On 2012-08-15 10:57 +0800, Eli Zaretskii wrote:
> You can always stop at known characters, like whitespace.
>
> Anyway, another way is simply to assume the worst possible expansion
> ratio, and estimate the byte count before encoding.

I make a small optimisation that calls encode-coding-region char by
char. Comments?

=== modified file 'lisp/net/rcirc.el'
--- lisp/net/rcirc.el	2012-08-15 12:26:48 +0000
+++ lisp/net/rcirc.el	2012-08-15 13:06:15 +0000
@@ -797,22 +797,24 @@
 (defun rcirc-split-message (message)
   "Split MESSAGE into chunks within `rcirc-max-message-length'."
   ;; `rcirc-encode-coding-system' can have buffer-local value.
-  (let ((encoding rcirc-encode-coding-system))
+  (let ((encoding rcirc-encode-coding-system)
+	result oversize)
     (with-temp-buffer
       (insert message)
       (goto-char (point-min))
-      (let (result)
-	(while (not (eobp))
-	  (goto-char (or (byte-to-position rcirc-max-message-length)
-			 (point-max)))
-	  ;; max message length is 512 including CRLF
-	  (while (and (not (bobp))
-		      (> (length (encode-coding-region
-				  (point-min) (point) encoding t))
-			 rcirc-max-message-length))
-	    (forward-char -1))
-	  (push (delete-and-extract-region (point-min) (point)) result))
-	(nreverse result)))))
+      (while (not (eobp))
+	(goto-char (or (byte-to-position rcirc-max-message-length)
+		       (point-max)))
+	;; Max message length is 512 including CRLF
+	(setq oversize (- (length (encode-coding-region
+				   (point-min) (point) encoding t))
+			  rcirc-max-message-length))
+	(while (and (not (bobp)) (> oversize 0))
+	  (decf oversize (length (encode-coding-region
+				  (1- (point)) (point) encoding t)))
+	  (forward-char -1))
+	(push (delete-and-extract-region (point-min) (point)) result)))
+    (nreverse result)))
 
 (defun rcirc-send-message (process target message &optional noticep silent)
   "Send TARGET associated with PROCESS a privmsg with text MESSAGE.






^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-15 13:10         ` Leo
@ 2012-08-15 13:29           ` Chong Yidong
  2012-08-15 15:45             ` Chong Yidong
  2012-08-15 16:59           ` Eli Zaretskii
  1 sibling, 1 reply; 17+ messages in thread
From: Chong Yidong @ 2012-08-15 13:29 UTC (permalink / raw)
  To: Leo; +Cc: Li Ian-Xue, 12051

Leo <sdl.web@gmail.com> writes:

> I make a small optimisation that calls encode-coding-region char by
> char. Comments?

If you are still working on this bug and not really sure what's the best
way to solve it, please revert it ASAP and move the bugfix to the trunk.
It is holding up the 24.2 release.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-15 13:29           ` Chong Yidong
@ 2012-08-15 15:45             ` Chong Yidong
  2012-08-15 22:55               ` Leo
  0 siblings, 1 reply; 17+ messages in thread
From: Chong Yidong @ 2012-08-15 15:45 UTC (permalink / raw)
  To: Leo; +Cc: Li Ian-Xue, 12051

Chong Yidong <cyd@gnu.org> writes:

> Leo <sdl.web@gmail.com> writes:
>
>> I make a small optimisation that calls encode-coding-region char by
>> char. Comments?
>
> If you are still working on this bug and not really sure what's the best
> way to solve it, please revert it ASAP and move the bugfix to the trunk.
> It is holding up the 24.2 release.

OK, I just took a look at the relevant patches.  Personally I think the
previous patch is easier to understand, so unless this new version has
significantly improved performance, I wouldn't bother with it.  But in
any case, please commit future versions of this fix to the trunk, not
the branch, unless you find a regression with it.  Thanks.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-15 13:10         ` Leo
  2012-08-15 13:29           ` Chong Yidong
@ 2012-08-15 16:59           ` Eli Zaretskii
  2012-08-15 17:53             ` Li Ian-Xue
  2012-08-15 23:00             ` Leo
  1 sibling, 2 replies; 17+ messages in thread
From: Eli Zaretskii @ 2012-08-15 16:59 UTC (permalink / raw)
  To: Leo; +Cc: b4283, 12051

> From:  Leo <sdl.web@gmail.com>
> Cc: Li Ian-Xue <b4283@bephor.org>,  12051@debbugs.gnu.org
> Date: Wed, 15 Aug 2012 21:10:45 +0800
> 
> On 2012-08-15 10:57 +0800, Eli Zaretskii wrote:
> > You can always stop at known characters, like whitespace.
> >
> > Anyway, another way is simply to assume the worst possible expansion
> > ratio, and estimate the byte count before encoding.
> 
> I make a small optimisation that calls encode-coding-region char by
> char. Comments?

I think it's terribly inefficient to encode the string one character
at a time.

Again, assuming the worst expansion is IMO much better, and will not
force you to encode in a loop.  But that's me.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-15 16:59           ` Eli Zaretskii
@ 2012-08-15 17:53             ` Li Ian-Xue
  2012-08-15 22:54               ` Leo
  2012-08-15 23:00             ` Leo
  1 sibling, 1 reply; 17+ messages in thread
From: Li Ian-Xue @ 2012-08-15 17:53 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12051, Leo

Eli Zaretskii <eliz@gnu.org> writes:

>> I make a small optimisation that calls encode-coding-region char by
>> char. Comments?
> I think it's terribly inefficient to encode the string one character
> at a time.
> Again, assuming the worst expansion is IMO much better, and will not
> force you to encode in a loop.  But that's me.

Why, no one is interested in the patch i submitted in July ?
that patched used a binary search.

http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00937.html

--
ps: it might need a liitle rework because the mailing list wrapped the
lines. i'll re-post it on a pastebin if anyone is still interested.

http://paste.debian.net/?show=183709






^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-15 17:53             ` Li Ian-Xue
@ 2012-08-15 22:54               ` Leo
  0 siblings, 0 replies; 17+ messages in thread
From: Leo @ 2012-08-15 22:54 UTC (permalink / raw)
  To: Li Ian-Xue; +Cc: 12051

On 2012-08-16 01:53 +0800, Li Ian-Xue wrote:
> Why, no one is interested in the patch i submitted in July ?
> that patched used a binary search.
>
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00937.html

Note, you are working with emacs internal encoding and not take into
account rcirc's allowing own encoding.

Leo





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-15 15:45             ` Chong Yidong
@ 2012-08-15 22:55               ` Leo
  0 siblings, 0 replies; 17+ messages in thread
From: Leo @ 2012-08-15 22:55 UTC (permalink / raw)
  To: 12051

On 2012-08-15 23:45 +0800, Chong Yidong wrote:
> OK, I just took a look at the relevant patches.  Personally I think the
> previous patch is easier to understand, so unless this new version has
> significantly improved performance, I wouldn't bother with it.  But in
> any case, please commit future versions of this fix to the trunk, not
> the branch, unless you find a regression with it.  Thanks.

OK. Optimisation if any will be done after the 24.2 release.

Leo






^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-15 16:59           ` Eli Zaretskii
  2012-08-15 17:53             ` Li Ian-Xue
@ 2012-08-15 23:00             ` Leo
  2012-08-16  2:50               ` Eli Zaretskii
  1 sibling, 1 reply; 17+ messages in thread
From: Leo @ 2012-08-15 23:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12051

On 2012-08-16 00:59 +0800, Eli Zaretskii wrote:
> Again, assuming the worst expansion is IMO much better, and will not
> force you to encode in a loop.  But that's me.

By worst expansion, do you mean assuming each char to be 5 bytes? Please
feel free to make the improvement (after 24.2 release per yidong's
request).

Leo





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-15 23:00             ` Leo
@ 2012-08-16  2:50               ` Eli Zaretskii
  2012-08-16  3:16                 ` Leo
  0 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2012-08-16  2:50 UTC (permalink / raw)
  To: Leo; +Cc: 12051

> From:  Leo <sdl.web@gmail.com>
> Cc: 12051@debbugs.gnu.org
> Date: Thu, 16 Aug 2012 07:00:39 +0800
> 
> On 2012-08-16 00:59 +0800, Eli Zaretskii wrote:
> > Again, assuming the worst expansion is IMO much better, and will not
> > force you to encode in a loop.  But that's me.
> 
> By worst expansion, do you mean assuming each char to be 5 bytes?

Yes.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-16  2:50               ` Eli Zaretskii
@ 2012-08-16  3:16                 ` Leo
  2012-08-16 15:20                   ` Eli Zaretskii
  0 siblings, 1 reply; 17+ messages in thread
From: Leo @ 2012-08-16  3:16 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12051

On 2012-08-16 10:50 +0800, Eli Zaretskii wrote:
>> By worst expansion, do you mean assuming each char to be 5 bytes?
>
> Yes.

The will split English text at the boundary of 84 chars which seems
sub-optimal.

In the current implementation of rcirc-split-message, the inner loop
might not be run if the encoding is utf-8, which we can assume to be 90%
of the cases. So my suggestion is to leave it alone until we hit a real
case of inefficiency. What do you think?

Leo





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-16  3:16                 ` Leo
@ 2012-08-16 15:20                   ` Eli Zaretskii
  2012-08-16 17:17                     ` Leo
  0 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2012-08-16 15:20 UTC (permalink / raw)
  To: Leo; +Cc: 12051

> From: Leo <sdl.web@gmail.com>
> Cc: 12051@debbugs.gnu.org
> Date: Thu, 16 Aug 2012 11:16:04 +0800
> 
> On 2012-08-16 10:50 +0800, Eli Zaretskii wrote:
> >> By worst expansion, do you mean assuming each char to be 5 bytes?
> >
> > Yes.
> 
> The will split English text at the boundary of 84 chars which seems
> sub-optimal.

Why is it suboptimal?  (I don't know anything about rcirc.)

If it's important to be better in this case, you could detect it
(e.g., by matching the string against [:ascii:]).

Another ide is to use string-bytes to find out where to break a string
on a character boundary without exceeding the maximum allowed byte
count in a message.

> In the current implementation of rcirc-split-message, the inner loop
> might not be run if the encoding is utf-8, which we can assume to be 90%
> of the cases. So my suggestion is to leave it alone until we hit a real
> case of inefficiency. What do you think?

I'm okay with the current code if you are, but I still think a more
elegant solution should be possible.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
  2012-08-16 15:20                   ` Eli Zaretskii
@ 2012-08-16 17:17                     ` Leo
  0 siblings, 0 replies; 17+ messages in thread
From: Leo @ 2012-08-16 17:17 UTC (permalink / raw)
  To: 12051

On 2012-08-16 23:20 +0800, Eli Zaretskii wrote:
> I'm okay with the current code if you are, but I still think a more
> elegant solution should be possible.

OK let's leave it here. Thanks for suggesting.

Leo






^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-08-16 17:17 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-25 16:18 bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account Li Ian-Xue
2012-08-13  1:53 ` Leo
2012-08-14 13:11   ` Leo
2012-08-14 15:45   ` Eli Zaretskii
     [not found]     ` <874no4apau.fsf@acerpad.localdomain>
2012-08-15  2:57       ` Eli Zaretskii
2012-08-15 13:10         ` Leo
2012-08-15 13:29           ` Chong Yidong
2012-08-15 15:45             ` Chong Yidong
2012-08-15 22:55               ` Leo
2012-08-15 16:59           ` Eli Zaretskii
2012-08-15 17:53             ` Li Ian-Xue
2012-08-15 22:54               ` Leo
2012-08-15 23:00             ` Leo
2012-08-16  2:50               ` Eli Zaretskii
2012-08-16  3:16                 ` Leo
2012-08-16 15:20                   ` Eli Zaretskii
2012-08-16 17:17                     ` Leo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).