all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: exits funnel <exitsfunnel@yahoo.com>
Subject: Re: Displaying TABS vs SPACES
Date: Wed, 9 Jun 2004 17:11:44 -0700 (PDT)	[thread overview]
Message-ID: <20040610001144.32332.qmail@web52903.mail.yahoo.com> (raw)
In-Reply-To: <20040603112542.GG2562@luna.mooo.com>


> I forgot the fontlock entry, this is the full entry:
> 
> (custom-set-faces
>  '(my-tab-face            ((((class color))
> (:background "gray10"))) t)
>  '(my-trailing-space-face ((((class color))
> (:background "gray10"))) t))
> 
> (add-hook 'font-lock-mode-hook
>   (function
>     (lambda ()
>       (setq font-lock-keywords
>             (append font-lock-keywords
>                     '(("\t+" (0 'my-tab-face t))
>                       ("[ \t]+$" (0
> 'my-trailing-space-face t))))))))

Hey Micha,

I'm finally back to this problem.  I added your code
and it did something, but not what I'd hoped :) 
Initially both cases showed up as black which didn't
surprise me.  However I then changed 'gray10' in the
tab-face to 'red10' but still both spaces and tabs
were showing up as black squares.  My immediate
problem is solved as I ended up using hexl-mode which
isn't too user friendly but does allow me to
differentiate the two.  A quick question though:  How
could I discover what allowable values I could use
other than 'gray10?'  I'm pretty new to emacs.  I read
the doc for custom-set-faces but it left me confused. 
Thanks for taking the time to respond.

-exits


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

  reply	other threads:[~2004-06-10  0:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03  3:08 Displaying TABS vs SPACES exits funnel
2004-06-03 11:22 ` Micha Feigin
2004-06-03 11:25 ` Micha Feigin
2004-06-10  0:11   ` exits funnel [this message]
2004-06-10  0:50     ` Jim Marshall
2004-06-10  7:09     ` Micha Feigin
2004-06-03 12:10 ` Kevin Dziulko
2004-06-03 16:03 ` Kai Grossjohann
2004-06-10  0:14   ` exits funnel
2004-06-10 16:44     ` Drew Adams
2004-06-10 17:01       ` Drew Adams

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=20040610001144.32332.qmail@web52903.mail.yahoo.com \
    --to=exitsfunnel@yahoo.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.