all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: lispref/text.texi "Saving Properties"
Date: Fri, 04 Aug 2006 16:59:18 -0400	[thread overview]
Message-ID: <E1G96lK-0005WU-Nj@fencepost.gnu.org> (raw)
In-Reply-To: <jkk65o4bkg.fsf@glug.org> (message from Thien-Thi Nguyen on 04 Aug 2006 14:09:51 -0400)

      For example, when you
    ! write a buffer to a file, delete the buffer, and read that file back
    ! into a new buffer, here is what happens at the lowest levels:
    ! 

That order is counterintuitive, since it is the reverse of the order in which
things are really normally done.  I suggest you describe reading first,
and then describe writing.

I think there is no need for the outer @itemize level.

    !   Generally, conversion starts with one thing and ends with something
    ! else.

Conversion starts with one representation and produces another
representation.

    !   In contrast, when reading, the annotations intermixed with the text
    ! are handled immediately.  @code{insert-file-contents} sets point to the
    ! beginning of some text to be converted, then calls the conversion
    ! functions with the length of that text.  These functions should always
    ! return with point at the beginning of the inserted text.

This approach makes sense for reading because annotations removed by
the first converter can't be mistakenly processed by a later converter.

I think it would be better to discuss format-alist first, because it is
a more general feature.

      reply	other threads:[~2006-08-04 20:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 11:43 lispref/text.texi "Saving Properties" Thien-Thi Nguyen
2006-07-25 22:14 ` Richard Stallman
2006-08-04 18:09   ` Thien-Thi Nguyen
2006-08-04 20:59     ` Richard Stallman [this message]

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=E1G96lK-0005WU-Nj@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@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 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.