unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: rms@gnu.org
Cc: henrik.enberg@telia.com, eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: Emacs 22 branch created.
Date: Tue, 01 May 2007 12:44:01 -0400	[thread overview]
Message-ID: <jwv1wi0sdqw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1Hie42-000248-Ru@fencepost.gnu.org> (Richard Stallman's message of "Mon\, 30 Apr 2007 18\:09\:46 -0400")

>     The non-decoded part of the buffer should be in unibyte mode.
> Why does it have to be in unibyte mode?

I didn't say it has to, just that it should: for efficiency, for clarity,
etc...

> Decoding can be done in a multibyte buffer.

Yes, binary data stored in a multibyte buffer works, but has to be handled
with more care.  Experience shows it's more likely to lead to bugs which
ultimately result in things like \NNN escapes shown to the user instead of
accented chars.

>     And of course very inefficient when you'll constantly be editing a very
>     large rmail buffer.
> Not really, because the gap makes such operations efficient.

It just reduces the inefficiency.

> The other approach also needs peculiar changes in lower-level features
> to work right.  Various operations on the message buffer would have to
> operate on the file buffer as well.  These include set-buffer-file-name,
> rename-buffer, as well as saving.

Those other features can all be done at the UI-level, where they belong, not
at a low level.  At the very least, it's all done in elisp, without any need
to fiddle with C code.


        Stefan

  reply	other threads:[~2007-05-01 16:44 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24  1:51 Emacs 22 branch created Chong Yidong
2007-04-24 10:13 ` Eric Lilja
2007-04-24 10:26   ` Andreas Schwab
2007-04-24 10:35     ` Eric Lilja
2007-04-24 11:24 ` Lennart Borgman (gmail)
2007-04-24 11:32   ` Leo
2007-04-24 11:43     ` Jason Rumney
2007-04-24 11:48       ` Lennart Borgman (gmail)
2007-04-24 11:51       ` Leo
2007-04-24 12:02         ` Nick Roberts
2007-04-24 12:04         ` Andreas Schwab
2007-04-24 12:32         ` Eli Zaretskii
2007-04-24 11:52     ` Lennart Borgman (gmail)
2007-04-24 14:38       ` Stefan Monnier
2007-04-24 11:53     ` Andreas Schwab
2007-04-24 12:14 ` Eli Zaretskii
2007-04-24 13:54   ` Chong Yidong
2007-04-24 14:25     ` Andreas Schwab
2007-04-24 16:04       ` Drew Adams
2007-04-24 17:32       ` Eli Zaretskii
2007-04-24 21:34       ` Miles Bader
2007-04-24 21:39         ` Leo
2007-04-24 21:50           ` Jason Rumney
2007-04-25  7:43             ` Leo
2007-04-25  7:49               ` David Kastrup
2007-04-25  7:57               ` Jason Rumney
2007-04-25  8:10                 ` David Kastrup
2007-04-25  8:18                   ` Miles Bader
2007-04-25  8:37                     ` David Kastrup
2007-04-25 18:29                       ` Eli Zaretskii
2007-04-25 19:50                         ` Henrik Enberg
2007-04-25 20:05                           ` Stefan Monnier
2007-04-25 20:10                             ` Andreas Schwab
2007-04-25 20:12                             ` Henrik Enberg
2007-04-25 21:16                               ` Eli Zaretskii
2007-04-26  1:06                             ` Kenichi Handa
2007-04-27  5:59                               ` Richard Stallman
2007-04-27  5:59                             ` Richard Stallman
2007-04-27  8:32                               ` Eli Zaretskii
2007-04-28  4:06                                 ` Richard Stallman
2007-04-28  8:37                                   ` Eli Zaretskii
2007-04-25 21:14                           ` Eli Zaretskii
2007-04-25 21:48                             ` Henrik Enberg
2007-04-26 10:52                           ` Francesco Potorti`
2007-04-26 11:17                             ` Henrik Enberg
2007-04-27  5:59                           ` Richard Stallman
2007-04-27 13:38                             ` Henrik Enberg
2007-04-27 13:48                               ` Eli Zaretskii
2007-04-27 21:02                                 ` Kim F. Storm
2007-04-28  4:06                                 ` Richard Stallman
2007-04-28  7:21                                   ` Thien-Thi Nguyen
2007-04-28  8:27                                     ` Eli Zaretskii
2007-04-28 18:35                                     ` Richard Stallman
2007-04-28  8:29                                   ` Eli Zaretskii
2007-04-28 18:35                                     ` Richard Stallman
2007-04-28 19:51                                       ` Eli Zaretskii
2007-04-30  0:45                                       ` Stefan Monnier
2007-04-30 22:09                                         ` Richard Stallman
2007-05-01 16:44                                           ` Stefan Monnier [this message]
2007-05-02  0:13                                             ` Richard Stallman
2007-05-02  3:11                                               ` Eli Zaretskii
2007-05-02  2:17                                       ` Kenichi Handa
2007-04-28 18:52                                   ` Henrik Enberg
2007-04-29 21:40                                     ` Richard Stallman
2007-04-25 20:35                       ` Leo
2007-04-26  3:30   ` Glenn Morris
2007-04-24 16:39 ` Kim F. Storm
2007-04-24 16:59   ` Kim F. Storm
2007-04-24 17:27     ` Eli Zaretskii
2007-04-24 17:56       ` Kim F. Storm
2007-04-24 21:07         ` Eli Zaretskii
2007-04-25  2:05         ` Richard Stallman
2007-04-25  2:05       ` Richard Stallman
2007-04-24 17:00   ` Jason Rumney
2007-04-24 20:33     ` Jason Rumney
2007-04-24 21:15       ` Stefan Monnier
2007-04-24 21:24         ` Jason Rumney
2007-04-25  2:05           ` Richard Stallman
2007-04-25  2:32             ` Miles Bader
2007-04-25  4:11             ` Stefan Monnier
2007-04-26  4:25               ` Richard Stallman
2007-04-25  0:08       ` Nick Roberts
2007-04-25  6:32         ` Jason Rumney
2007-04-24 17:30   ` Eli Zaretskii
2007-04-25  2:05     ` Richard Stallman
2007-04-25  2:35       ` Nick Roberts
2007-04-24 17:37   ` Stefan Monnier
2007-04-25  1:29     ` Nick Roberts
2007-04-25  2:05       ` Glenn Morris
2007-04-25  4:12       ` Stefan Monnier
2007-04-25  9:32       ` Kim F. Storm
2007-04-25  9:36         ` Lennart Borgman (gmail)
2007-04-24 21:34 ` Richard Stallman
2007-04-26  4:07   ` Glenn Morris
2007-04-26  5:50     ` Nick Roberts
2007-04-26 19:43     ` Glenn Morris

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=jwv1wi0sdqw.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=henrik.enberg@telia.com \
    --cc=rms@gnu.org \
    /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).