all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* .emacs to .Xresources converter?
@ 2010-02-01 14:24 Tim Landscheidt
  2010-02-01 17:13 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Landscheidt @ 2010-02-01 14:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

for many Emacs customizations there are corresponding X re-
sources (e. g. "tool-bar-mode" vs. "toolBar"). Looking up in
the documentation whether there exists such an equivalent,
looking up a potentially different syntax, etc. /can/ be
done manually - but there *must* already be a Lisp snippet
out there that does that in a realiable way :-). Any poin-
ters?

TIA,
Tim


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

* Re: .emacs to .Xresources converter?
  2010-02-01 14:24 .emacs to .Xresources converter? Tim Landscheidt
@ 2010-02-01 17:13 ` Pascal J. Bourguignon
  2010-02-02 12:38   ` Tim Landscheidt
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal J. Bourguignon @ 2010-02-01 17:13 UTC (permalink / raw)
  To: help-gnu-emacs

Tim Landscheidt <tim@tim-landscheidt.de> writes:
> for many Emacs customizations there are corresponding X re-
> sources (e. g. "tool-bar-mode" vs. "toolBar"). Looking up in
> the documentation whether there exists such an equivalent,
> looking up a potentially different syntax, etc. /can/ be
> done manually - but there *must* already be a Lisp snippet
> out there that does that in a realiable way :-). Any poin-
> ters?

You lost a good opportunity to have some fun:

    http://paste.lisp.org/display/94218


For LessTif Resources and GTK resources, it's more complex to gather
the list of possible attributes, and I'm not even sure their values
are recoverable from emacs lisp, since AFAIK, they're directly
determined and used from the corresponding libraries.


-- 
__Pascal Bourguignon__


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

* Re: .emacs to .Xresources converter?
  2010-02-01 17:13 ` Pascal J. Bourguignon
@ 2010-02-02 12:38   ` Tim Landscheidt
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Landscheidt @ 2010-02-02 12:38 UTC (permalink / raw)
  To: help-gnu-emacs

pjb@informatimago.com (Pascal J. Bourguignon) wrote:

>> for many Emacs customizations there are corresponding X re-
>> sources (e. g. "tool-bar-mode" vs. "toolBar"). Looking up in
>> the documentation whether there exists such an equivalent,
>> looking up a potentially different syntax, etc. /can/ be
>> done manually - but there *must* already be a Lisp snippet
>> out there that does that in a realiable way :-). Any poin-
>> ters?

> You lost a good opportunity to have some fun:

>     http://paste.lisp.org/display/94218
> [...]

Thanks! I had to comment three unknown symbols in your code
(Emacs 23.1.1):

- "(screen-usable-area (current-frame))" (line #129)
- "top-toolbar" (line #214)
- "top-toolbar-height" (line #215)

Emacs barfed on:

| emacs*visualClass:         true-color

with the error message (that is lacking a newline :-)):

| emacs: Invalid visual specification `true-color'

"TrueColor-24" worked, with "24" being the result of
"(x-display-planes)".

  Rather unexpected:

| emacs*menuBar:             on

*dis*abled the menu bar; that is contrary to the manual. A
"1" worked fine.

  I still have to check the other results en detail.

  I would love to see that code packaged with the main dis-
tribution; any chance?

Tim


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

end of thread, other threads:[~2010-02-02 12:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-01 14:24 .emacs to .Xresources converter? Tim Landscheidt
2010-02-01 17:13 ` Pascal J. Bourguignon
2010-02-02 12:38   ` Tim Landscheidt

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.