all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: lee <lee@yun.yagibdah.de>
To: help-gnu-emacs@gnu.org
Subject: Re: overlays?
Date: Wed, 19 Mar 2014 08:22:18 +0100	[thread overview]
Message-ID: <87d2hiy7o5.fsf@yun.yagibdah.de> (raw)
In-Reply-To: <20140318071713.6999161a@aga-netbook> (Marcin Borkowski's message of "Tue, 18 Mar 2014 07:17:13 +0100")

Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:

> Dnia 2014-03-18, o godz. 02:40:35
> lee <lee@yun.yagibdah.de> napisał(a):
>
>> Hi,
>> 
>> could someone please shed a light on the purpose of overlays?  I`m
>> wondering under what circumstances they are used, or need to be used.
>> Are they a feature that has been obsoleted by font-lock, or are they
>> still needed?
>
> With the risk that I say something stupid: isn't font-lock used for
> syntax highlighting?

With hi-lock-mode, either overlays are, or font-lock is used.  I`d have
to check if it potentially uses both.  Perhaps I can somehow make it use
overlays just to see what happens.

My understanding was that it may depend on the display/terminal whether
font-lock or overlays is/are used.  This understanding seems to be
obviously wrong.  They are suited for different circumstances.

> If yes, then: what about i-search (using overlays) in a font-lock'ed
> buffer?

What about it?  Does it use overlays?


-- 
Knowledge is volatile and fluid.  Software is power.



  reply	other threads:[~2014-03-19  7:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18  1:40 overlays? lee
2014-03-18  6:17 ` overlays? Marcin Borkowski
2014-03-19  7:22   ` lee [this message]
     [not found] <mailman.17396.1395106856.10748.help-gnu-emacs@gnu.org>
2014-03-18 10:05 ` overlays? Joost Kremers
2014-03-19  7:38   ` overlays? lee
2014-03-19  8:21     ` overlays? Jambunathan K
     [not found]   ` <mailman.17502.1395216683.10748.help-gnu-emacs@gnu.org>
2014-03-19  9:53     ` overlays? Joost Kremers
2014-03-19 12:29       ` overlays? Stefan

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=87d2hiy7o5.fsf@yun.yagibdah.de \
    --to=lee@yun.yagibdah.de \
    --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.