all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Klaus Zeitler <kzeitler@alcatel-lucent.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 635@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org
Subject: bug#635: Adding font-lock keywords results in no font-lock at all
Date: Tue, 12 Aug 2008 08:43:36 +0200	[thread overview]
Message-ID: <q5ghc9qka1z.fsf@sfsw51.de.lucent.com> (raw)
In-Reply-To: <489851CE.1030105@gmx.at> (martin rudalics's message of "Tue\, 05 Aug 2008 15\:12\:46 +0200")

>>>>> "martin" == martin rudalics <rudalics@gmx.at> writes:
    martin> 
    martin> Get your original behavior back by writing something like
    martin> 
    martin> (defun show-tabs () "Show tabs with a slightly changed background"
    martin>   (unless (or font-lock-keywords font-lock-defaults)
    martin>     (set (make-local-variable 'font-lock-defaults) '(nil t)))
    martin>   (font-lock-add-keywords nil '(("\t"  (0 'tab-face t))) t))
    martin> (add-hook 'font-lock-mode-hook 'show-tabs)

Yes, it works now again as expected.

    martin> or by removing the offending lines from font-lock.el ;-(

I can live with your workaround till it's fixed :-).

Thanks a lot for your help.

Klaus

-- 
 --------------------------------------------------
|  Klaus Zeitler      Alcatel-Lucent               |
|  Email:             kzeitler@alcatel-lucent.com  |
 --------------------------------------------------
---
Biology is the only science in which multiplication
means the same thing as division.







  reply	other threads:[~2008-08-12  6:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-01  6:21 bug#635: Adding font-lock keywords results in no font-lock at all Klaus Zeitler
2008-08-05 13:12 ` martin rudalics
2008-08-12  6:43   ` Klaus Zeitler [this message]
2010-10-09  4:11 ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-08-13 23:41 Chong Yidong
2009-08-19  0:14 ` Stefan Monnier

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=q5ghc9qka1z.fsf@sfsw51.de.lucent.com \
    --to=kzeitler@alcatel-lucent.com \
    --cc=635@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=rudalics@gmx.at \
    /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.