* customize-face with default and diff-added
@ 2010-10-13 13:15 Aneesh Kumar K.V
2010-10-13 16:07 ` Chong Yidong
0 siblings, 1 reply; 5+ messages in thread
From: Aneesh Kumar K.V @ 2010-10-13 13:15 UTC (permalink / raw)
To: Emacs development discussions
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.
Any help ? This is with emacs master. I haven't seen this before. I did
play with customize-themes before running into this issue.
-aneesh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: customize-face with default and diff-added
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
0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2010-10-13 16:07 UTC (permalink / raw)
To: Aneesh Kumar K.V; +Cc: Emacs development discussions
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: customize-face with default and diff-added
2010-10-13 16:07 ` Chong Yidong
@ 2010-10-13 16:41 ` Aneesh Kumar K. V
2010-10-16 19:26 ` Chong Yidong
0 siblings, 1 reply; 5+ messages in thread
From: Aneesh Kumar K. V @ 2010-10-13 16:41 UTC (permalink / raw)
To: Chong Yidong; +Cc: Emacs development discussions
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: customize-face with default and diff-added
2010-10-13 16:41 ` Aneesh Kumar K. V
@ 2010-10-16 19:26 ` Chong Yidong
2010-10-17 17:12 ` Aneesh Kumar K. V
0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2010-10-16 19:26 UTC (permalink / raw)
To: Aneesh Kumar K. V; +Cc: Emacs development discussions
"Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com> writes:
> ...
>
> 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-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")))))
I'm afraid I can't reproduce the problem. Are you still seeing it?
This may have been a transient bug during the recent Custom changes.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: customize-face with default and diff-added
2010-10-16 19:26 ` Chong Yidong
@ 2010-10-17 17:12 ` Aneesh Kumar K. V
0 siblings, 0 replies; 5+ messages in thread
From: Aneesh Kumar K. V @ 2010-10-17 17:12 UTC (permalink / raw)
To: Chong Yidong; +Cc: Emacs development discussions
On Sat, 16 Oct 2010 15:26:10 -0400, Chong Yidong <cyd@stupidchicken.com> wrote:
> "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com> writes:
>
> > ...
> >
> > 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-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")))))
>
> I'm afraid I can't reproduce the problem. Are you still seeing it?
> This may have been a transient bug during the recent Custom changes.
I am not able to reproduce the problem now.
-aneesh
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-10-17 17:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-10-16 19:26 ` Chong Yidong
2010-10-17 17:12 ` Aneesh Kumar K. V
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.