unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: RE: Negative positions in frame parameters
Date: Tue, 13 Apr 2010 10:33:02 -0700	[thread overview]
Message-ID: <D57C952C371742A3BC9DD40C31BDA2A6@us.oracle.com> (raw)
In-Reply-To: <4BC4A67F.3060400@swipnet.se>

BTW, apparently the `invisible' `display' property affects frame positioning.

I use dired-details.el, which puts an overlay on all of the Dired fields except
the file name. The overlay has `evaporate' = t, `invisible' = t, and
`before-string' = "".

As a result, if I do (make-frame '((left . -10) (top . -10))) with such a Dired
frame current, it positions the new frame as if its right edge were the same as
the original frame before hiding the details.

That is, the narrow frame (because no permissions, time etc. are shown) appears
in the middle of the screen - it does not have its right edge 10 pixels past the
screen right edge. It is not the right edge of the actual frame that is
positioned correctly, but the right edge of the frame as it would have appeared
without hiding anything.

Dunno if this should be considered a bug or not, but it's interesting. ;-)






  reply	other threads:[~2010-04-13 17:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-13 13:24 Negative positions in frame parameters Stefan Monnier
2010-04-13 13:33 ` Lennart Borgman
2010-04-13 14:12   ` Stephen J. Turnbull
2010-04-13 16:17     ` Jason Rumney
2010-04-13 17:14       ` Jan Djärv
2010-04-13 17:33         ` Drew Adams [this message]
2010-04-13 14:41   ` Jan Djärv
2010-04-13 15:26     ` David Kastrup
2010-04-13 16:31       ` Jan Djärv
2010-04-13 17:02         ` Drew Adams
2010-04-13 23:41         ` YAMAMOTO Mitsuharu
2010-04-14  4:51           ` Jan Djärv
2010-04-13 16:09     ` Stefan Monnier
2010-04-13 17:07       ` Jan Djärv
2010-04-13 15:18 ` Jan Djärv
2010-04-13 16:10   ` Stefan Monnier
2010-04-13 17:08     ` Jan Djärv

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=D57C952C371742A3BC9DD40C31BDA2A6@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@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 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).