unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Xdefaults for Emacs
@ 2002-10-09 10:19 arthur.chereau
  0 siblings, 0 replies; 4+ messages in thread
From: arthur.chereau @ 2002-10-09 10:19 UTC (permalink / raw)


Hi,

What are the X resources for the following emacs component ?

- the location of  the scrollbar (left/right)

- the background color of the toolbar

- the background color of the help menu that pops up when you click on the help icon in
the toolbar ("?" icon)

- the filenames in the lesstif file selection boxes


Unfortunately, there's no place where one can find these, and editres makes emacs
segfault. That's a pity because a free software should give its users enough
information to customize it to their needs.

------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr

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

* Re: Xdefaults for Emacs
       [not found] <mailman.1034158878.14919.help-gnu-emacs@gnu.org>
@ 2002-10-09 16:37 ` Edward O'Connor
  0 siblings, 0 replies; 4+ messages in thread
From: Edward O'Connor @ 2002-10-09 16:37 UTC (permalink / raw)


On Wed, 9 Oct 2002, arthur chereau wrote:

> What are the X resources for the following emacs component ?
[snip]
> Unfortunately, there's no place where one can find these, and

See the "Resources X", "Lucid Resources", and "LessTif Resources"
nodes of the Emacs manual.


-- 
Edward O'Connor
oconnor@soe.ucsd.edu

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

* Re: Xdefaults for Emacs
@ 2002-10-10 12:55 arthur.chereau
  0 siblings, 0 replies; 4+ messages in thread
From: arthur.chereau @ 2002-10-10 12:55 UTC (permalink / raw)


>> - the location of  the scrollbar (left/right)

>emacs.ScrollBars: right

I tried this but it didn't work, maybe because I use the Lesstif scrollbar. I also tried

Emacs.*.scrollBarPlacement: BOTTOM_RIGHT

but it didn't work either.

When I replace BOTTOM_RIGHT with something else it complains:
Warning: Cannot convert string "foobar" to type ScrollBarPlacement
so I thought it could be the right resouce, but BOTTOM_RIGHT and BOTTOM_LEFT have no
effect: the scrollbar is always on the left.

>> - the background color of the toolbar

>emacs.tool-bar.attributeBackground: #0f1f4f
>emacs.tool-bar.attributeForeground: black

This works perfectly, thanks !

>> - the background color of the help menu that pops up when you click on the help icon in
>> the toolbar ("?" icon)

>emacs.menu.attributeForeground: LightSlateGrey
>emacs.menu.attributeBackground: #0f1f4f
>emacs.menu.attributeHeight: 100
>emacs.menu.attributeFamily: -*-helv

This works too !

>Although these are not all /listed/ in the manual you could find them out
>by reading it.

So maybe it should be nice to have an exhaustive list of emacs X resources somewhere. I
saw many people asking for a specific resource an not finding it.

> Ok, I give you my whole ~/.Xdefaults concerning Emacs.

Thank you very much, this is a big help !

------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr

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

* Re: Xdefaults for Emacs
       [not found] <mailman.1034254753.29584.help-gnu-emacs@gnu.org>
@ 2002-10-11  0:35 ` Tim Cross
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Cross @ 2002-10-11  0:35 UTC (permalink / raw)


"arthur.chereau" <arthur.chereau@voila.fr> writes:

> >> - the location of  the scrollbar (left/right)
> 
> >emacs.ScrollBars: right
> 
> I tried this but it didn't work, maybe because I use the Lesstif scrollbar. I also tried
> 
> Emacs.*.scrollBarPlacement: BOTTOM_RIGHT
> 
> but it didn't work either.
> 
I think there is some stuff about limitations re Xdefaults in the
NEWS/PROBLEMS files with respect to lesstiff. Might be worth checking
it out - there is certainly some stuff about lesstiff there and if
thats what you have built against, it might save you some time trying
to do stuff which just won't work because of lesstiff limitations. 

While I have been able to find all the X resources for emacs 21 I
wanted, I do have to admit it was not striaght-forward finding it. A
great majority of it was in the emacs manual/info pages, but the less
common X resources were only found after doing greps of the
NEWS/PROBLEMS/FAQ files - I guess this is just the never ending
problem of trying to keep the sources and documentation in sync, which
is probably especially hard with a major new release like emacs 21.

Tim

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

end of thread, other threads:[~2002-10-11  0:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1034158878.14919.help-gnu-emacs@gnu.org>
2002-10-09 16:37 ` Xdefaults for Emacs Edward O'Connor
     [not found] <mailman.1034254753.29584.help-gnu-emacs@gnu.org>
2002-10-11  0:35 ` Tim Cross
2002-10-10 12:55 arthur.chereau
  -- strict thread matches above, loose matches on Subject: below --
2002-10-09 10:19 arthur.chereau

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