unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Negative positions in frame parameters
Date: Tue, 13 Apr 2010 18:31:20 +0200	[thread overview]
Message-ID: <4BC49C58.8050303@swipnet.se> (raw)
In-Reply-To: <87ochns79i.fsf@lola.goethe.zz>

David Kastrup skrev 2010-04-13 17.26:
 > Jan Djärv<jan.h.d@swipnet.se>  writes:
 >
 >> The problem in Emacs is how do you say the equivalent to
 >>
 >>    -geometry --10--10, -geometry +-10+-10
 >>
 >> in frame parameters?
 >
 > (make-frame '((right . -10) (bottom . -10)))
 >
 > (make-frame '((left . -10) (top . -10)))
 >
 > would seem like a reasonably obvious way.
 >

You would think that, but I found out that is actually:

(make-frame '((right . (- -10)) (left . (- -10)))
and
(make-frame '((right . (+ -10)) (left . (+ -10)))

	Jan D.






  reply	other threads:[~2010-04-13 16:31 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
2010-04-13 14:41   ` Jan Djärv
2010-04-13 15:26     ` David Kastrup
2010-04-13 16:31       ` Jan Djärv [this message]
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=4BC49C58.8050303@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=dak@gnu.org \
    --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).