* unckeck attributes in .Xresources?
@ 2008-04-17 9:51 Zordid
2008-04-17 14:06 ` Peter Dyballa
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Zordid @ 2008-04-17 9:51 UTC (permalink / raw)
To: help-gnu-emacs
Hi I'm using gnu emacs version 22.1.1 and I'm trying to uncheck some
face attributes from my .Xresources file. I know how to do it from
the .emacs file but I would really like to do it from the .Xresouces
file.
For example . . .
I can set the background color of the region highlight like this:
Emacs.region*attributesBackground: black
But how do I remove the attribute? I tried:
Emacs.region*attributesBackground: nil
Emacs.region*attributesBackground: off
Emacs.region*attributesBackground: false
But the result are the same. The background value is set to either
nil, off or false.
How do I unset/uncheck the value from the .Xresources file?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: unckeck attributes in .Xresources?
2008-04-17 9:51 unckeck attributes in .Xresources? Zordid
@ 2008-04-17 14:06 ` Peter Dyballa
[not found] ` <mailman.10484.1208441213.18990.help-gnu-emacs@gnu.org>
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2008-04-17 14:06 UTC (permalink / raw)
To: Zordid; +Cc: help-gnu-emacs
Am 17.04.2008 um 11:51 schrieb Zordid:
> How do I unset/uncheck the value from the .Xresources file?
In the file you can use ``!´´ as comment.
On the command line try:
xrdb -merge <RET>
<your change> <RET>
C-d
There is also an entry in the Options menu ...
--
Greetings
Pete
If it should exist, it doesn't.
– Arnold's First Law of Documentation
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.10484.1208441213.18990.help-gnu-emacs@gnu.org>]
* Re: unckeck attributes in .Xresources?
[not found] ` <mailman.10484.1208441213.18990.help-gnu-emacs@gnu.org>
@ 2008-04-17 15:36 ` Zordid
2008-04-18 8:42 ` Tim X
0 siblings, 1 reply; 6+ messages in thread
From: Zordid @ 2008-04-17 15:36 UTC (permalink / raw)
To: help-gnu-emacs
I think you misunderstand my problem.
If an attribute is set by default in emacs then how do I unset this
attribute from by using the .Xresources file. I know how to change the
attribute but I dont know how to "remove" it.
On Apr 17, 4:06 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 17.04.2008 um 11:51 schrieb Zordid:
>
> > How do I unset/uncheck the value from the .Xresources file?
>
> In the file you can use ``!´´ as comment.
>
> On the command line try:
>
> xrdb -merge <RET>
> <your change> <RET>
> C-d
>
> There is also an entry in the Options menu ...
>
> --
> Greetings
>
> Pete
>
> If it should exist, it doesn't.
> – Arnold's First Law of Documentation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: unckeck attributes in .Xresources?
2008-04-17 15:36 ` Zordid
@ 2008-04-18 8:42 ` Tim X
0 siblings, 0 replies; 6+ messages in thread
From: Tim X @ 2008-04-18 8:42 UTC (permalink / raw)
To: help-gnu-emacs
Zordid <zordid@gmail.com> writes:
> I think you misunderstand my problem.
> If an attribute is set by default in emacs then how do I unset this
> attribute from by using the .Xresources file. I know how to change the
> attribute but I dont know how to "remove" it.
>
I don't think you can - at least not in the sense you are wanting.
For example, the region highlighting could be 'turned off' by setting
the foreground/background attributes to the same as the default face
attributes. This won't always work of course as different faces have
different fore/backgrounds.
I don't believe you can turn things off unless there is a specific X
resource attribute defined to do this.
Note that the highlighted region stuff you used as an example is called
transient mark mode and this can be turned off in your .emacs. Don't
know if there is an X resource to do this, if there isn't, I don't
think you can do it from .Xresources.
Tim
>
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: unckeck attributes in .Xresources?
2008-04-17 9:51 unckeck attributes in .Xresources? Zordid
2008-04-17 14:06 ` Peter Dyballa
[not found] ` <mailman.10484.1208441213.18990.help-gnu-emacs@gnu.org>
@ 2008-04-17 22:27 ` Johan Bockgård
2008-04-18 11:26 ` Scott Frazer
3 siblings, 0 replies; 6+ messages in thread
From: Johan Bockgård @ 2008-04-17 22:27 UTC (permalink / raw)
To: help-gnu-emacs
Zordid <zordid@gmail.com> writes:
> Hi I'm using gnu emacs version 22.1.1 and I'm trying to uncheck some
> face attributes from my .Xresources file. I know how to do it from
> the .emacs file but I would really like to do it from the .Xresouces
> file.
>
> For example . . .
> I can set the background color of the region highlight like this:
>
> Emacs.region*attributesBackground: black
>
> But how do I remove the attribute?
You can set it to `unspecified'. Is that what you want?
--
Johan Bockgård
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: unckeck attributes in .Xresources?
2008-04-17 9:51 unckeck attributes in .Xresources? Zordid
` (2 preceding siblings ...)
2008-04-17 22:27 ` Johan Bockgård
@ 2008-04-18 11:26 ` Scott Frazer
3 siblings, 0 replies; 6+ messages in thread
From: Scott Frazer @ 2008-04-18 11:26 UTC (permalink / raw)
To: help-gnu-emacs
Zordid wrote:
> Hi I'm using gnu emacs version 22.1.1 and I'm trying to uncheck some
> face attributes from my .Xresources file. I know how to do it from
> the .emacs file but I would really like to do it from the .Xresouces
> file.
>
> For example . . .
> I can set the background color of the region highlight like this:
>
> Emacs.region*attributesBackground: black
>
> But how do I remove the attribute? I tried:
>
> Emacs.region*attributesBackground: nil
> Emacs.region*attributesBackground: off
> Emacs.region*attributesBackground: false
>
> But the result are the same. The background value is set to either
> nil, off or false.
> How do I unset/uncheck the value from the .Xresources file?
xrdb -remove "Emacs.region*attributesBackground"
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-04-18 11:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-17 9:51 unckeck attributes in .Xresources? Zordid
2008-04-17 14:06 ` Peter Dyballa
[not found] ` <mailman.10484.1208441213.18990.help-gnu-emacs@gnu.org>
2008-04-17 15:36 ` Zordid
2008-04-18 8:42 ` Tim X
2008-04-17 22:27 ` Johan Bockgård
2008-04-18 11:26 ` Scott Frazer
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.