unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kostas Oikonomou <k.oikonomou@att.net>
To: help-gnu-emacs@gnu.org
Subject: Re: text properties in tex mode
Date: Sun, 05 Oct 2008 11:11:53 -0400	[thread overview]
Message-ID: <48E8D939.5060303@att.net> (raw)

Harven,

Thank you for the reply.

 > Thus any face you set is overwritten by the font-lock 
processing.
 > Disabling font-lock-mode (M-x font-lock-mode) brings back 
the menu
 > you are interested in, but you will lose the coloring 
provided by
 > latex-mode.

I have indeed disabled font-lock mode everywhere by

(global-font-lock-mode -1)

in my init.el file.  I don't mind losing font-lock coloring 
in my Latex buffer.
But when I then do Edit -> Text Properties -> Background 
color, I get the error I posted.
Are you saying above that this should not be happening?

 > Another solution would be to use overlays instead of 
faces for region highlighting. That's what use the 
highlight-regexp command;
 > this command highlight words matching a regexp. I think 
there is
 > an extension called highlight.el, by Drew Adams, which 
provides easy access to overlays.
 > Have a look at the wiki 
http://www.emacswiki.org/cgi-bin/wiki/HighLight

I have looked at this, but it seems too complicated to me. 
Maybe because I don't know enough about Emacs.  I would 
prefer to use the already-existing Edit -> Text Properties 
menu, unless it is not possible.

                     Kostas




             reply	other threads:[~2008-10-05 15:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-05 15:11 Kostas Oikonomou [this message]
2008-10-05 17:53 ` text properties in tex mode Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2008-10-07  5:33 martin rudalics
2008-10-07 12:56 ` Kostas Oikonomou
2008-10-07 13:03   ` Allan Gottlieb
2008-10-07 13:31   ` martin rudalics
2008-10-07 13:42     ` Kostas Oikonomou
2008-10-07 14:00       ` martin rudalics
2008-10-07  1:16 Kostas Oikonomou
     [not found] <mailman.320.1223253849.25473.help-gnu-emacs@gnu.org>
2008-10-06  7:14 ` harven
2008-10-06  0:44 Kostas Oikonomou
     [not found] <mailman.292.1223226411.25473.help-gnu-emacs@gnu.org>
2008-10-05 17:57 ` harven
     [not found] <mailman.225.1223135509.25473.help-gnu-emacs@gnu.org>
2008-10-04 17:44 ` harven
2008-10-04 17:02 martin rudalics
2008-10-04 15:40 Kostas Oikonomou

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48E8D939.5060303@att.net \
    --to=k.oikonomou@att.net \
    --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.
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).