From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: shuddering initial frame, dump-emacs, source Date: Mon, 01 Mar 2004 12:24:07 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <40438DD7.20203@yahoo.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1078192949 23781 80.91.224.253 (2 Mar 2004 02:02:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2004 02:02:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 02 03:02:23 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 1AxzEk-0007Ob-00 for ; Tue, 02 Mar 2004 03:02:23 +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 1Axyzj-00077C-OU for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Mar 2004 20:46:51 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: news.uni-berlin.de 1078169048 57443549 I 170.207.51.80 ([82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:121409 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:17365 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17365 Joe Corneli wrote: > I got it working fine, thanks for your help. > > I think it is a little weird that you have to set the defaults in > two places. You don't have to, you can do it either way. It's just that your .emacs file isn't loaded until the initial frame is created, so you have to use X resources to avoid redisplaying the initial frame. > I also noticed the following: on the one hand, we have this: > > M-: (equal (scroll-bar-mode . (())) (scroll-bar-mode nil)) > t > > But on the other hand, putting (scroll-bar-mode nil) into the > default-frame-alist causes the flickering appearance of a scroll > bar. Is this a bug? How is Emacs detecting the fact that > (scroll-bar-mode nil) is not dotted? It doesn't: (foo . ()) == (foo . nil) == (foo) (foo . (())) == (foo . (nil)) == (foo nil) As far as I know, scroll-bar-mode is not a recognized frame parameter. The defined frame parameters are vertical-scroll-bars, horizontal-scroll-bars, scroll-bar-width, scroll-bar-foreground, and scroll-bar-background. Perhaps you are inadvertantly calling the scroll-bar-mode function, which toggles the display of scroll bars when the FLAG argument is nil (if you want to force them off, use a negative number e.g. -1). -- Kevin Rodgers