From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Unibyte characters, strings, and buffers Date: Sun, 30 Mar 2014 11:12:36 -0400 Message-ID: References: <831txozsqa.fsf@gnu.org> <83ppl7y30l.fsf@gnu.org> <87r45nouvx.fsf@uwakimon.sk.tsukuba.ac.jp> <8361myyac6.fsf@gnu.org> <87a9capqfr.fsf@uwakimon.sk.tsukuba.ac.jp> <83eh1mfd09.fsf@gnu.org> <87ob0pnyt6.fsf@uwakimon.sk.tsukuba.ac.jp> <87a9c9aqhu.fsf@nbtrap.com> <877g7d3pbe.fsf@nbtrap.com> <87y4zsorcx.fsf@fencepost.gnu.org> <87ppl452r3.fsf@nbtrap.com> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1396192369 19488 80.91.229.3 (30 Mar 2014 15:12:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Mar 2014 15:12:49 +0000 (UTC) Cc: nbtrap@nbtrap.com, dak@gnu.org, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 30 17:12:45 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WUHPg-00023l-G9 for ged-emacs-devel@m.gmane.org; Sun, 30 Mar 2014 17:12:44 +0200 Original-Received: from localhost ([::1]:44649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUHPg-0008Fw-1W for ged-emacs-devel@m.gmane.org; Sun, 30 Mar 2014 11:12:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUHPc-0008Fg-K4 for emacs-devel@gnu.org; Sun, 30 Mar 2014 11:12:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUHPa-0000Qh-Cy for emacs-devel@gnu.org; Sun, 30 Mar 2014 11:12:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUHPa-0000Qd-9d for emacs-devel@gnu.org; Sun, 30 Mar 2014 11:12:38 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WUHPY-0004nW-RW; Sun, 30 Mar 2014 11:12:36 -0400 In-reply-to: (message from Andreas Schwab on Sun, 30 Mar 2014 10:38:15 +0200) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171199 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > * A function could decode text from a unibyte buffer and put it in > another buffer which is multibyte. > > * A function could decode a whole unibyte buffer > into the same buffer, and mark it as multibyte. That's what decode-coding-region provides (except for changing the multibyte flag). That "except" is the crucial point. Currently we need to access both unibyte text and multibyte text with the same setting of the multibyte flag. These two functions might eliminate the need for that. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call.