From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Landscheidt Newsgroups: gmane.emacs.help Subject: Re: .emacs to .Xresources converter? Date: Tue, 02 Feb 2010 12:38:18 +0000 Organization: Message-ID: References: <874om02816.fsf@informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265123086 7981 80.91.229.12 (2 Feb 2010 15:04:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2010 15:04:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 02 16:04:43 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NcKIy-0003UP-7w for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 16:04:40 +0100 Original-Received: from localhost ([127.0.0.1]:37668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcKIw-0000po-Fu for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 10:04:38 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-X-Trace: individual.net IL6W7GZemZNUEvQFrhZ/gAPS9R3K3pj/qDirL2Qowz0GL3od1o Cancel-Lock: sha1:Rd06hJwU8Zo40sxRo4Asyib7WpI= sha1:Pyurn+kn0+ws8U1/2WXDWTEngkg= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:176549 X-Mailman-Approved-At: Tue, 02 Feb 2010 10:03:14 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71621 Archived-At: 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