From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Trouble setting default font and window size Date: Fri, 29 Jul 2016 04:34:48 +0200 Organization: Aioe.org NNTP Server Message-ID: <867fc518af.fsf@student.uu.se> References: <579995AF.2090401@smartchat.net.au> <86oa5i1fmw.fsf@student.uu.se> <5799FC7B.6010900@smartchat.net.au> <86k2g527cm.fsf@student.uu.se> <87r3adn5k9.fsf@127.0.0.1> <86fuqt21ld.fsf@student.uu.se> <87mvl1mp2f.fsf@127.0.0.1> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469759744 18234 80.91.229.3 (29 Jul 2016 02:35:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jul 2016 02:35:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 29 04:35:44 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bSxeJ-0004Bs-Kh for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jul 2016 04:35:43 +0200 Original-Received: from localhost ([::1]:56712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSxe9-0005mW-Ut for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2016 22:35:33 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 72 Original-NNTP-Posting-Host: EoOtCC1fCYcttx6jjhWUlA.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:O3iYnrPFw/RXu9MTJcemRPk5wvs= Mail-Copies-To: never X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:218681 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110992 Archived-At: HASM wrote: > I could further confuse the OP and claim that > I have this in my environment: export > XAPPLRESDIR=${HOME}/.x11resources/ export > XENVIRONMENT=${HOME}/.Xdefaults and have one > file per X application under $XAPPLRESDIR, > and a bunch of includes in the $XENVIRONMENT > file for the applications I still use, just > because that is the way I did way back when > (and don't actually call xrdb anymore) but > that would be unnecessary :-) OK! Well hopefully you don't confuse the OP anymore, after the explanation! Everything for the OP :) Yeah... Actually one file per application in general is a good idea. And that is common practise. One .xpdfrc, one .xbindkeysrc, and so on. I think the Xresources file is thought to be the X's "look and feel", tho I don't know if that term was popularized until the GNOMEs and KDEs desktops? Because with Xresources you can get that by setting conform options for several applications with the wildcard notation! So you don't need yet another Linux distribution to get it... Personally, I never used enough of them (X applications) to explore this further, so I just stacked the few options I have. > I used to have a cond in there instead of the > if, with cases for other window systems, but > I dropped it when I recently switched from > XEmacs back to Emacs. People who are coming to Lisp from other languages, and that should be almost everyone these days, tend to like `if' + `progn' even when there is no "else" clause equivalent present. When programming, it can be natural to use if anyway as it isn't always clear from the get-go what is needed or what will be. When set however I think `when' is generally preferred to (if something something) or (if something (progn somethings)) and likewise `unless' is preferred to (if (not something) ...). Another "secret" of Lisp compared to other languages is the `or' which returns the first non-nil value. So it isn't only for branching! It can also be the setting of a variable to the first other thing that is set. E.g. (setq gear (or hook line sinker)) If all three are nil, gear will naturally be nil! But if hook is nil but line is "hemp", gear will be "hemp" - wonderful :) -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 58 Blogomatic articles -