unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: David Kastrup <dak@gnu.org>, emacs-devel@gnu.org
Subject: Re: Negative positions in frame parameters
Date: Wed, 14 Apr 2010 08:41:38 +0900	[thread overview]
Message-ID: <wlhbne3op9.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <4BC49C58.8050303@swipnet.se>

>>>>> On Tue, 13 Apr 2010 18:31:20 +0200, Jan Djärv <jan.h.d@swipnet.se> said:

> 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)))

Apparently you meant

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

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp




  parent reply	other threads:[~2010-04-13 23:41 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
2010-04-13 17:02         ` Drew Adams
2010-04-13 23:41         ` YAMAMOTO Mitsuharu [this message]
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=wlhbne3op9.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /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).