From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: raman@users.sourceforge.net, emacs-devel@gnu.org
Subject: Re: suggestion: function: buffer-bytes
Date: Mon, 02 Jul 2007 09:48:15 +0900 [thread overview]
Message-ID: <E1I5A5P-0002sz-PO@etlken.m17n.org> (raw)
In-Reply-To: <jwvabug711b.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sun, 01 Jul 2007 08:39:03 -0400)
In article <jwvabug711b.fsf-monnier+emacs@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > Then perhaps what you need is this.
> > (defun buffer-encoded-size (&optional buffer coding)
> But in his case, he's probably better off just encoding the buffer manually
> before passing the data to the process/network, so that he can get his hands
> on the number of bytes with just buffer-size.
Perhaps. But, I don't know how and when the data is passed
to the process and when he needs the encoded byte size.
---
Kenichi Handa
handa@m17n.org
next prev parent reply other threads:[~2007-07-02 0:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-01 0:18 suggestion: function: buffer-bytes T. V. Raman
2007-07-01 1:39 ` Stefan Monnier
2007-07-01 2:40 ` T. V. Raman
2007-07-01 6:31 ` David Kastrup
2007-07-01 8:22 ` Kenichi Handa
2007-07-01 12:39 ` Stefan Monnier
2007-07-02 0:48 ` Kenichi Handa [this message]
2007-07-01 17:47 ` T. V. Raman
2007-07-02 1:11 ` Kenichi Handa
2007-07-04 16:31 ` T. V. Raman
2007-07-05 14:42 ` Stefan Monnier
2007-07-09 2:44 ` Kenichi Handa
2007-07-01 19:34 ` Eli Zaretskii
2007-07-02 0:55 ` Kenichi Handa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1I5A5P-0002sz-PO@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=raman@users.sourceforge.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.