From: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: customize-face with default and diff-added
Date: Wed, 13 Oct 2010 22:11:36 +0530 [thread overview]
Message-ID: <m3fwwa2gfz.fsf@linux.vnet.ibm.com> (raw)
In-Reply-To: <87aamijcts.fsf@stupidchicken.com>
On Wed, 13 Oct 2010 12:07:43 -0400, Chong Yidong <cyd@stupidchicken.com> wrote:
> aneesh.kumar@linux.vnet.ibm.com (Aneesh Kumar K.V) writes:
>
> > So i have default face set and when i try to set a custom face for
> > diff-added the default face details get removed. The default value is
> > set via set default font.
>
> Could you be more specific about the exact steps you took?
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 128 :width normal :foundry "unknown" :family "Inconsolata")))))
I started with the above .emacs and enabled diff-mode and changed the
diff-added face. That result in the default face details to be removed
from the custom-set-faces above. The resulting .emacs was
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(diff-added ((t (:inherit diff-changed :foreground "red")))))
-aneesh
next prev parent reply other threads:[~2010-10-13 16:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 13:15 customize-face with default and diff-added Aneesh Kumar K.V
2010-10-13 16:07 ` Chong Yidong
2010-10-13 16:41 ` Aneesh Kumar K. V [this message]
2010-10-16 19:26 ` Chong Yidong
2010-10-17 17:12 ` Aneesh Kumar K. V
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=m3fwwa2gfz.fsf@linux.vnet.ibm.com \
--to=aneesh.kumar@linux.vnet.ibm.com \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@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.
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.