From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Replacing buffer contents --- without disturbing markers Date: Sat, 11 Sep 2010 11:49:59 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: dough.gmane.org 1284220210 9809 80.91.229.12 (11 Sep 2010 15:50:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Sep 2010 15:50:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 11 17:50:07 2010 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.69) (envelope-from ) id 1OuSL8-0003KD-Ax for ged-emacs-devel@m.gmane.org; Sat, 11 Sep 2010 17:50:06 +0200 Original-Received: from localhost ([127.0.0.1]:51499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuSL7-000693-RJ for ged-emacs-devel@m.gmane.org; Sat, 11 Sep 2010 11:50:05 -0400 Original-Received: from [140.186.70.92] (port=52484 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuSKx-00066o-Dz for emacs-devel@gnu.org; Sat, 11 Sep 2010 11:49:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuSKv-0007qk-4Y for emacs-devel@gnu.org; Sat, 11 Sep 2010 11:49:53 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:51558) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuSKv-0007qg-3J for emacs-devel@gnu.org; Sat, 11 Sep 2010 11:49:53 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OuSL1-00053a-OD; Sat, 11 Sep 2010 11:49:59 -0400 In-reply-to: (message from Daniel Colascione on Fri, 10 Sep 2010 16:11:14 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:129987 Archived-At: For a mode I'm writing, I have to temporarily replace certain parts of the buffer with placeholder text. I'm using this function to do it: In general, temporarily replacing text has some drawbacks. If you can find a way to do the overall job without that method,' it is likely to be better.