From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: buffer gap Date: Wed, 10 Dec 2008 00:01:01 -0500 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1228887724 13964 80.91.229.12 (10 Dec 2008 05:42:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Dec 2008 05:42:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 10 06:43:10 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LAHqn-0004jv-V6 for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Dec 2008 06:43:10 +0100 Original-Received: from localhost ([127.0.0.1]:55129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAHpc-0006Kb-Pn for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Dec 2008 00:41:56 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news.motzarella.org!motzarella.org!news.motzarella.org!barmar Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: news.motzarella.org U2FsdGVkX19Gp6RiSsXbufVNq7yqHSwS4ZkSCaIW27xeVyg3B+E3bS0K/V4CQFIhwkC53cBsYy8M97glfkGMnKCQqJ+4NbNkP+uXVRwAXagFjk/3/rNPaIOVibM+YSRRFvodtnEXE5Y= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Wed, 10 Dec 2008 05:01:01 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18dP2BKO96v7FnGW2tBowQU98XcFBBJDrE= Cancel-Lock: sha1:Eg0REvvatoISwuweyMkpjo+iRk0= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Mail-Copies-To: nobody Original-Xref: news.stanford.edu gnu.emacs.help:165198 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60523 Archived-At: In article , "A. Soare" wrote: > Can somebody explain me what the buffer gap is useful for ? > > I see in elisp manual: > > << Insertion works by filling in part of > the gap, and deletion adds to the gap. Of course, this means that the > gap must first be moved to the locus of the insertion or deletion. > Emacs moves the gap only when you try to insert or delete. >> > > However, I cannot understand too much. Can somebody explain me the idea , > please? Wikipedia is your friend: http://en.wikipedia.org/wiki/Gap_buffer -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***