all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-pretest-bug@gnu.org>
Subject: bug#1724: 23.0.60; fringe appears in spite of specification
Date: Sun, 28 Dec 2008 16:34:45 -0800	[thread overview]
Message-ID: <004301c9694d$3fde6eb0$0200a8c0@us.oracle.com> (raw)

This is a piece of bug #117, which describes several problems with
frame parameters.

This is the bug that, even when `default-frame-alist' specifies no
fringe, the initial frame has fringe. I'm creating a new bug
report for this small piece of 117, to simplify things.
 
Save the code below to a file named `bug-117-fringe.el", then do this:
 
runemacs.exe -Q --debug-init -l "bug-117-fringe.el" -f "foo"
 
;----------------------------------------------
(defun foo ()
  (setq default-frame-alist
        (append '((minibuffer)
                  (left-fringe . 0)
                  (right-fringe . 0))
                default-frame-alist))
  (setq minibuffer-frame-alist
        (append '((minibuffer . only))
                minibuffer-frame-alist)))
 
(add-hook 'after-make-frame-functions
          (lambda (fr) (set-frame-size fr 60 20)))
;----------------------------------------------
 
This code works in Emacs 20 through 22. In Emacs 23, the first,
non-minibuffer frame has both left and right fringe, in spite of the
value of `default-frame-alist'. Note that without the call to
`set-frame-size' in `after-make-frame-functions' the problem does not
appear.
 
The Elisp manual, node Initial Parameters, says this about
`default-frame-alist':
 
"This is an alist specifying default values of frame parameters for
 all Emacs frames--the first frame, and subsequent frames.  When
 using the X Window System, you can get the same results by means
 of X resources in many cases."
 
NB: "the first frame, and..."
         ^^^^^
 

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-12-19 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 







         reply	other threads:[~2008-12-29  0:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <495A406B.6090802@gnu.org>
2008-04-05 19:31 ` 23.0.60; messed up frame parameters Drew Adams
2008-04-05 20:16   ` Drew Adams
2008-05-30 22:55     ` Drew Adams
2008-12-30 15:45   ` bug#117: marked as done (23.0.60; messed up frame parameters) Emacs bug Tracking System
2008-12-30 23:30   ` Emacs bug Tracking System
2008-12-29  0:34 ` Drew Adams [this message]
2008-12-29 17:10   ` bug#1724: 23.0.60; fringe appears in spite of specification martin rudalics
2008-12-30 15:45   ` bug#1724: marked as done (23.0.60; fringe appears in spite of specification) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='004301c9694d$3fde6eb0$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=1724@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.