all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: 14157@debbugs.gnu.org
Subject: bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries
Date: Wed, 10 Apr 2013 18:58:00 +0300	[thread overview]
Message-ID: <83ehei9y47.fsf@gnu.org> (raw)
In-Reply-To: <87ip3vf3hm.fsf@gmail.com>

> From: Jambunathan K <kjambunathan@gmail.com>
> Date: Wed, 10 Apr 2013 09:20:45 +0530
> 
> 
> Should facemenu.el use overlays for highlighting?

Why should it?  Text properties can do everything that facemenu needs
to do, and they scale much better.

> One main disadvantage of not using overlays is that Orgmode cannot be
> used in conjunction with enriched mode.

Org mode already strains the limits of the Emacs display engine, with
its massive use of invisible text and various display properties.
Adding yet more overlays to it, for such a mundane task as
highlighting text, would be extremely unwise.

If facemenu cannot work with Org, either facemenu should be changed to
be able to do that, or some new feature should be added to Org to
allow the highlighting functionality.

> The notion of persistence of face properties (as in serializing/encoding
> face properties in to the edited text - either tex mode, sgml mode or
> more importantly enriched mode) is "in built" in to facemenu.el.  It is
> not necessary that a highlighted text be encoded/persisted in to the
> saved file.  I could be reviewing a piece of text and might want to do
> "on the go" highlighting some phrases to take notes without saving it
> anyway.

I don't understand what are you talking about.  facemenu doesn't save
the faces, it just allows to define and put them.  Maybe you are
thinking about Enriched text mode.

The usual way Emacs uses faces is that faces are re-applied anew each
time a file is visited.  Enriched does what it does because plain text
files don't have enough structure to re-apply the faces.





  reply	other threads:[~2013-04-10 15:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08  5:52 bug#14157: 24.3.50; Improve facemenu.el: Better "integration" with other libraries Jambunathan K
2013-04-10  3:50 ` Jambunathan K
2013-04-10 15:58   ` Eli Zaretskii [this message]
2013-04-10 16:29     ` Jambunathan K
2013-04-10 16:49       ` Eli Zaretskii
2013-04-10 17:48       ` Stefan Monnier
2013-04-11  4:39         ` Jambunathan K
2013-04-10 17:45     ` Stefan Monnier
2013-04-10 16:14   ` Eli Zaretskii
2013-04-10 16:34     ` Jambunathan K
2013-04-10 16:43       ` Eli Zaretskii
2013-11-15  4:47 ` Jambunathan K

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=83ehei9y47.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14157@debbugs.gnu.org \
    --cc=kjambunathan@gmail.com \
    /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.