From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Floyd Davidson Newsgroups: gmane.emacs.help Subject: Re: emacs appearance Date: Thu, 19 Feb 2004 16:55:50 -0900 Organization: __________ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <8765e2o6op.fld@barrow.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077242629 21027 80.91.224.253 (20 Feb 2004 02:03:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2004 02:03:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 20 03:03:42 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Au00z-0007A9-00 for ; Fri, 20 Feb 2004 03:03:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Au00h-0006Os-Nf for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Feb 2004 21:03:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!HSNX.atgi.net!falcon.america.net!eagle.america.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: gnus 5.10.6/XEmacs 21.4.15/Linux 2.6.0 Cancel-Lock: sha1:d+VnY53Argjz1gkqOzDcMQqvEZg= Original-Lines: 94 Original-NNTP-Posting-Host: 209.124.156.32 Original-X-Trace: eagle.america.net 1077242196 209.124.156.32 (Thu, 19 Feb 2004 20:56:36 EST) Original-NNTP-Posting-Date: Thu, 19 Feb 2004 20:56:36 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:121060 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:17010 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17010 Piotr Piwko wrote: >Hello >I have big problem with emacs appearance. You will have to be specific about what you do and don't like. >What put in my ~/.emacs for have menu bar, scroll bar and modeline like this: >http://afro.afraid.org/~afro/emacs.jpg What part of that is different than what you get now? There are several easy to configure parts, and some that aren't. To begin with, the top bar is not controlled or generated by Emacs, but by your window manager. Below is a way to change the text of the title, but otherwise you'll have to research your window manager. I don't know which particular one that is, but it sure looks ugly to me... ;-) The next line down is the menubar from Emacs. You can change the font and the colors for the menubar very easily. I have the following lines in my .Xdefaults file, however the font size is unlikely to suit your needs because I'm using a 1333x1000 resolution on a 17" monitor, and need large type read comfortably. (If you are also too cheap to buy a larger monitor, and have bad eyes... maybe it will be the right size!) # # Font for menus XEmacs and Emacs # Emacs*menubar*font: -*-helvetica-bold-r-*-*-16-*-*-*-*-*-iso8859-* Emacs*popup*font: -*-helvetica-bold-r-*-*-16-*-*-*-*-*-iso8859-* # # Emacs menu bar colors # Emacs*menubar.Foreground: black Emacs*menubar.buttonForeground: blue3 Emacs*menubar.Background: grey80 # # Emacs PopUp colors # Emacs*popup*Foreground: white Emacs*popup*Background: grey20 I also like to set the default geometry and various colors using X resources, # Emacs.geometry: 100x31 Emacs.title: "EMACS" Emacs*foreground: goldenrod1 Emacs*background: black Emacs*highlight: white Emacs*BitmapIcon: on Emacs*cursorColor: green Emacs*pointerColor: white The next noticeable characteristic is the lack of a toolbar (and I agree that a toolbar is a waste of screen space!). In your ~/.emacs file, this line will get rid of it: (add-hook 'emacs-startup-hook (lambda () (tool-bar-mode -1))) There are other issues with the appearance. The colors of the modeline (foreground and background) and the font can easily be changed using menu options. Click on the "Options" menu button, then on the submenu button "Customize Emacs" and then "Specific Face...". You will be given a prompt asking for which face, or just return for a list of all of them. You can enter "modeline" and get just that one. That particular screen shot looks like an older version of Emacs, and you may not have the same kind of scroll bars. I don't know if you can get those by re-compiling without the Athenia Xtoolbox or not. If that is something you want to change, ask about it specifically, somebody will know. Another difference you might be seeing near the scroll bars is a "fringe" area between the scroll bar and the text. I don't think you can get rid of it (unfortunately, because it is ugly), but you can change the color. Do as above for changing modeline colors, but enter "fringe". To wrap it up, I personally think that default modeline shown in your screen shot is nearly useless, and recommend you look at ways to change it. Go to google and search for past articles with the word "modeline" in them. Experiment. Come back and ask specific questions. -- Floyd L. Davidson Ukpeagvik (Barrow, Alaska) floyd@barrow.com