unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8144: 24.0.50; diff-mode diff-changed face specification
@ 2011-03-01  8:00 Le Wang
  2011-05-22 19:23 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Le Wang @ 2011-03-01  8:00 UTC (permalink / raw)
  To: 8144

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

This is in diff-mode.el

(defface diff-changed
  '((((type tty pc) (class color) (background light))
     :foreground "magenta" :weight bold :slant italic)
    (((type tty pc) (class color) (background dark))
     :foreground "yellow" :weight bold :slant italic))
  "`diff-mode' face used to highlight changed lines."
  :group 'diff-mode)

Why does w32 get no fruit salad love?

-- 
Le

[-- Attachment #2: Type: text/html, Size: 563 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#8144: 24.0.50; diff-mode diff-changed face specification
  2011-03-01  8:00 bug#8144: 24.0.50; diff-mode diff-changed face specification Le Wang
@ 2011-05-22 19:23 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2011-05-22 19:23 UTC (permalink / raw)
  To: eLe Wang; +Cc: 8144

Le Wang <l26wang@gmail.com> writes:

> (defface diff-changed
>   '((((type tty pc) (class color) (background light))
>      :foreground "magenta" :weight bold :slant italic)
>     (((type tty pc) (class color) (background dark))
>      :foreground "yellow" :weight bold :slant italic))
>   "`diff-mode' face used to highlight changed lines."
>   :group 'diff-mode)
>
> Why does w32 get no fruit salad love?

The diff-changed is supposed to be the default face, if the terminal
supports it (because diff-context is shadowed).  We only highlight
diff-changed on terminals that don't have enough colors for the shadow
face.

I fixed up the definition so that this is clearer (and so that
high-color ttys will behave like X).





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-22 19:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01  8:00 bug#8144: 24.0.50; diff-mode diff-changed face specification Le Wang
2011-05-22 19:23 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).