all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: buffer gap
Date: Wed, 10 Dec 2008 00:01:01 -0500	[thread overview]
Message-ID: <barmar-2383D9.00010110122008@mara100-84.onlink.net> (raw)
In-Reply-To: mailman.2326.1228838084.26697.help-gnu-emacs@gnu.org

In article <mailman.2326.1228838084.26697.help-gnu-emacs@gnu.org>,
 "A. Soare" <alinsoar@voila.fr> 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 ***


       reply	other threads:[~2008-12-10  5:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2326.1228838084.26697.help-gnu-emacs@gnu.org>
2008-12-10  5:01 ` Barry Margolin [this message]
2008-12-10 14:05 buffer gap A. Soare
  -- strict thread matches above, loose matches on Subject: below --
2008-12-09 15:54 A. Soare
2008-12-09 16:26 ` B Smith-Mannschott

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=barmar-2383D9.00010110122008@mara100-84.onlink.net \
    --to=barmar@alum.mit.edu \
    --cc=help-gnu-emacs@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.