unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* buffer gap
@ 2008-12-09 15:54 A. Soare
  2008-12-09 16:26 ` B Smith-Mannschott
  0 siblings, 1 reply; 4+ messages in thread
From: A. Soare @ 2008-12-09 15:54 UTC (permalink / raw)
  To: Emacs   Help  [help-gnu-emacs]

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?


____________________________________________________Ecoutez « Circus » le nouveau single de Britney Spears sur Musiline ! http://musiline.voila.fr/player/generate/4/15/31829/?intitule=Circus






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: buffer gap
  2008-12-09 15:54 buffer gap A. Soare
@ 2008-12-09 16:26 ` B Smith-Mannschott
  0 siblings, 0 replies; 4+ messages in thread
From: B Smith-Mannschott @ 2008-12-09 16:26 UTC (permalink / raw)
  To: alinsoar; +Cc: Emacs Help [help-gnu-emacs]

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

http://en.wikipedia.org/wiki/Gap_buffer

Come back, if that's not enough.

// ben


On Tue, Dec 9, 2008 at 4:54 PM, 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?
>
>
> ____________________________________________________Ecoutez « Circus » le
> nouveau single de Britney Spears sur Musiline !
> http://musiline.voila.fr/player/generate/4/15/31829/?intitule=Circus
>
>
>
>
>


-- 
// Ben Smith-Mannschott

[-- Attachment #2: Type: text/html, Size: 1328 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: buffer gap
       [not found] <mailman.2326.1228838084.26697.help-gnu-emacs@gnu.org>
@ 2008-12-10  5:01 ` Barry Margolin
  0 siblings, 0 replies; 4+ messages in thread
From: Barry Margolin @ 2008-12-10  5:01 UTC (permalink / raw)
  To: help-gnu-emacs

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 ***


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: buffer gap
@ 2008-12-10 14:05 A. Soare
  0 siblings, 0 replies; 4+ messages in thread
From: A. Soare @ 2008-12-10 14:05 UTC (permalink / raw)
  To: B Smith-Mannschott; +Cc: Emacs   Help  [help-gnu-emacs]


Thank you very much. I studied today the problem from your link and from http://www.finseth.com/craft/#c6.4.3 .

This is enough.

Thanks again,


Alin Soare.



> Message du 09/12/08 à 17h26
> De : "B Smith-Mannschott" <bsmith.occs@gmail.com>
> A : alinsoar@voila.fr
> Copie à : "Emacs Help [help-gnu-emacs]" <help-gnu-emacs@gnu.org>
> Objet : Re: buffer gap
> 
> http://en.wikipedia.org/wiki/Gap_buffer
> 
> Come back, if that's not enough.
> 
> // ben
> 
> 
> On Tue, Dec 9, 2008 at 4:54 PM, 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?
> >
> >
> > ____________________________________________________Ecoutez « Circus » le
> > nouveau single de Britney Spears sur Musiline !
> > http://musiline.voila.fr/player/generate/4/15/31829/?intitule=Circus
> >
> >
> >
> >
> >
> 
> 
> -- 
> // Ben Smith-Mannschott
> 

____________________________________________________Vous n’avez pas encore votre site vidéo ? Voila vous l’offre ! http://video.voila.fr/mktg/?op=videoblog






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-10 14:05 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).