unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Emacs geometry
Date: Tue, 25 Jul 2006 06:41:16 -0700	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBOEKKDDAA.drew.adams@oracle.com> (raw)
In-Reply-To: <ea4d7p$8cp$1@sea.gmane.org>

    > First, `default-frame-alist' should be rigorously respected -
    > it seems to be ignored wrt position now.

    Have you checked with the current source?

No. I tested with a version that is now 5 days old. It was 0 days old when I
was asked to test it (for a different frame-positioning bug, fixed by Fran),
and when I reported this bug (to Fran).

    > There should be a default value for top, left = 0,0, as
    > before. Anything else seems weird and unnatural.

    Not one of the applications on Windows I know opens at (0,0).  They
    either let the window manager do the placement or open with the
    geometry they had in their last session.  That means opening at (0,0)
    is rather weird an unnatural.

I just checked several, and I guess you're right & I was wrong. In most
cases I saw, they seemed to open where they were last closed, which means
that wherever the user positioned them last is respected - that's certainly
better than random or wherever the WM thinks is good.

    The cascading behavior there is now might need some love because Emacs
    ends up for too often at the bottom of the screen.  But this looks
    like a bug in the window manager.

I noticed that IE's cascading seems to be like this, which isn't too bad:
Start at 0,0 or the position of the last session, then, alternately a)
slightly down and to the right, and b) flush with the top but to the right.
When the display right edge is reached, then back to 0,0. IOW, it doesn't
keep going down - each frame is either flush with the top or slightly below
the top; continued cascading is only left to right.

    Could you try with a more recent version?

When I can get one, I will. If the default-frame-alist is respected, that
will be a big improvement - Emacs users need some way to control the
position of the first frame, in particular.

Otherwise, if the default behavior is like IE's, that would be good, IMO:
0,0, if no previous session, else same as last position (last session);
cascading right and alternately up and down.

  reply	other threads:[~2006-07-25 13:41 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 20:21 Emacs geometry Sridhar Boovaraghavan
2006-07-24 21:25 ` Drew Adams
2006-07-25  3:27   ` Eli Zaretskii
2006-07-25  4:15     ` Drew Adams
2006-07-25  6:20       ` Ralf Angeli
2006-07-25 13:41         ` Drew Adams [this message]
2006-07-25 18:24           ` Eli Zaretskii
2006-07-25 18:56             ` Drew Adams
2006-07-25 20:08               ` Eli Zaretskii
2006-07-25 21:18                 ` Drew Adams
2006-07-25 22:07                   ` Jason Rumney
2006-07-26  0:36                     ` Drew Adams
2006-07-26  4:57                       ` Sridhar Boovaraghavan
2006-07-26  6:38                         ` Eli Zaretskii
2006-07-26 14:00                           ` Drew Adams
2006-07-26  8:46                         ` Jason Rumney
2006-07-26 14:00                           ` Drew Adams
2006-07-26 14:35                             ` Mathias Dahl
2006-07-26 16:02                             ` Jason Rumney
2006-07-25 13:48         ` Drew Adams
2006-07-25 18:07         ` Eli Zaretskii
2006-07-25 18:55           ` Ralf Angeli
2006-07-25 19:58             ` Eli Zaretskii
2006-07-25 20:41               ` Eli Zaretskii
2006-07-27 21:58                 ` Ralf Angeli
2006-07-28 10:08                   ` Eli Zaretskii
2006-07-30 20:30                     ` Ralf Angeli
2006-07-30 20:33                       ` David Kastrup
2006-07-30 20:38                       ` Eli Zaretskii
2006-07-30 20:48                         ` David Kastrup
2006-07-30 21:22                           ` Eli Zaretskii
2006-07-30 20:41                       ` Eli Zaretskii
2006-07-30 21:09                         ` Ralf Angeli
2006-07-30 21:27                           ` Eli Zaretskii
2006-07-30 21:46                             ` Ralf Angeli
2006-07-31  3:17                               ` Eli Zaretskii
2006-07-31 19:06                                 ` Ralf Angeli
2006-07-31 20:03                                   ` Eli Zaretskii
2006-07-31 21:37                                     ` Ralf Angeli
2006-07-31 23:51                                       ` Nick Roberts
2006-08-01  2:52                                         ` Nick Roberts
2006-08-01 17:55                                           ` Ralf Angeli
2006-08-02  3:19                                             ` Eli Zaretskii
2006-08-01  3:16                                       ` Eli Zaretskii
2006-08-01  5:47                                         ` Ralf Angeli
2006-08-01 20:09                                         ` Ralf Angeli
2006-08-04 11:39                                           ` Eli Zaretskii
2006-08-05 14:05                                             ` Ralf Angeli
2006-08-06  3:16                                               ` Eli Zaretskii
2006-07-30 22:17                       ` Kim F. Storm
2006-07-30 22:44                         ` Ralf Angeli
2006-07-30 22:53                           ` David Kastrup
2006-07-31 16:17                           ` Stefan Monnier
2006-07-31 19:07                             ` Ralf Angeli
2006-07-28  2:57                 ` YAMAMOTO Mitsuharu
2006-07-25 21:29               ` Ralf Angeli
2006-07-26  3:14                 ` Eli Zaretskii
2006-08-04 11:44                 ` Eli Zaretskii
2006-07-25 18:06       ` Eli Zaretskii
2006-07-25  3:26 ` Eli Zaretskii
2006-07-25  4:46   ` Sridhar Boovaraghavan
2006-07-25 18:18     ` Ralf Angeli
2006-07-25 18:22     ` Eli Zaretskii
     [not found] <E925E59A6745554D82E04F24445BFF8D479497@limx3m1.lim.emea.dell.com>
2006-07-27 15:21 ` Drew Adams
2006-07-27 15:40   ` Jason Rumney
     [not found] <E925E59A6745554D82E04F24445BFF8D47949A@limx3m1.lim.emea.dell.com>
2006-07-27 15:49 ` Drew Adams
2006-07-28  9:52   ` Eli Zaretskii
2006-07-28 10:07     ` Robert_Thorpe
2006-07-28 10:18       ` Eli Zaretskii
2006-07-28 10:58     ` Jason Rumney
2006-07-28 13:45     ` Drew Adams
2006-07-28 22:04       ` Nick Roberts
2006-07-28 23:03         ` Drew Adams
2006-07-28 23:45           ` Nick Roberts
2006-07-29  8:37       ` Eli Zaretskii
2006-07-29 14:42         ` Drew Adams
2006-07-29 14:54           ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=MEEKKIABFKKDFJMPIOEBOEKKDDAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).