unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Li Ian-Xue <b4283@bephor.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 12051@debbugs.gnu.org, Leo <sdl.web@gmail.com>
Subject: bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
Date: Thu, 16 Aug 2012 01:53:55 +0800	[thread overview]
Message-ID: <87has4ghxo.fsf@acerpad.localdomain> (raw)
In-Reply-To: <87boj3byqy.fsf@acerpad.localdomain>

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






  reply	other threads:[~2012-08-15 17:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87has4ghxo.fsf@acerpad.localdomain \
    --to=b4283@bephor.org \
    --cc=12051@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).