From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: Re: suggestion: function: buffer-bytes Date: Wed, 4 Jul 2007 09:31:56 -0700 Message-ID: <18059.52092.157098.225984@gargle.gargle.HOWL> References: <18054.62174.507770.924924@gargle.gargle.HOWL> <18055.5127.154758.705881@gargle.gargle.HOWL> <18055.59548.547994.901837@gargle.gargle.HOWL> Reply-To: raman@users.sf.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183566733 23344 80.91.229.12 (4 Jul 2007 16:32:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2007 16:32:13 +0000 (UTC) Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, raman@users.sourceforge.net To: handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 04 18:32:08 2007 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I67ls-0008Qx-I2 for ged-emacs-devel@m.gmane.org; Wed, 04 Jul 2007 18:32:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I67ls-00022K-3H for ged-emacs-devel@m.gmane.org; Wed, 04 Jul 2007 12:32:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I67lo-00022F-EI for emacs-devel@gnu.org; Wed, 04 Jul 2007 12:32:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I67lm-000223-Si for emacs-devel@gnu.org; Wed, 04 Jul 2007 12:32:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I67lm-000220-Mj for emacs-devel@gnu.org; Wed, 04 Jul 2007 12:31:58 -0400 Original-Received: from alnrmhc13.comcast.net ([204.127.225.93]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I67lm-0001sj-9n for emacs-devel@gnu.org; Wed, 04 Jul 2007 12:31:58 -0400 Original-Received: from localhost (c-71-202-191-236.hsd1.ca.comcast.net[71.202.191.236]) by comcast.net (alnrmhc13) with ESMTP id <20070704163156b1300jcoe8e>; Wed, 4 Jul 2007 16:31:56 +0000 Original-Received: by localhost (Postfix, from userid 1000) id 322A912A4145; Wed, 4 Jul 2007 09:31:56 -0700 (PDT) In-Reply-To: X-Mailer: VM alpha-457 under Emacs 22.1.50.1 (i686-pc-linux-gnu) x-attribution: tvr X-detected-kernel: NetCache Data OnTap 5.x X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74297 Archived-At: I can se how position-bytes is not a generic solution for writing a buffer-bytes function. But for the use case I needed, namely someone composing blog entries using nxml-mode, and then building up an http post message from what they created, the position-bytes solution does work. >>>>> "Kenichi" == Kenichi Handa writes: Kenichi> In article Kenichi> <18055.59548.547994.901837@gargle.gargle.HOWL>, Kenichi> "T. V. Raman" writes: >> So someone on the g-client group originally proposed >> computing the length of buffer-string using >> string-encoding; I proposed using position-bytes as a >> simpler alternative. Kenichi> Kenichi> I see. And, do you see why position-bytes can't be Kenichi> used in the current case now? Kenichi> Kenichi> --- Kenichi Handa handa@m17n.org Kenichi> Kenichi> Kenichi> _______________________________________________ Kenichi> Emacs-devel mailing list Emacs-devel@gnu.org Kenichi> http://lists.gnu.org/mailman/listinfo/emacs-devel -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs