From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Daniel Colascione <dan.colascione@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Replacing buffer contents --- without disturbing markers
Date: Sat, 11 Sep 2010 13:01:13 +0200 [thread overview]
Message-ID: <jwvvd6c4kbd.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <AANLkTinDnb-FJnrjMkYiV53vx8wevMg=Tpg7EVO76Ju2@mail.gmail.com> (Daniel Colascione's message of "Fri, 10 Sep 2010 16:11:14 -0700")
> ;; Replace the character after point with the next character
> ;; from replacement. We must worry about two kinds
> ;; of marker: those pointing at point (including (point)), and
> ;; those pointing at (1+ (point)).
Actually there 4 kinds: at point, at point+1, multiplied by the two
insertion-types. Your code works with the default insertion-type, but
not the other (don't worry: I don't think you can do much better).
Stefan
next prev parent reply other threads:[~2010-09-11 11:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 23:11 Replacing buffer contents --- without disturbing markers Daniel Colascione
2010-09-11 6:32 ` David Kastrup
2010-09-11 11:01 ` Stefan Monnier [this message]
2010-09-11 15:49 ` Richard Stallman
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=jwvvd6c4kbd.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dan.colascione@gmail.com \
--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.