From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: How to create a small child-frame which only show two lines
Date: Tue, 12 Dec 2017 19:19:05 +0200 [thread overview]
Message-ID: <837etrsw3a.fsf@gnu.org> (raw)
In-Reply-To: <jwvindblwpw.fsf-monnier+gmane.emacs.devel@gnu.org> (message from Stefan Monnier on Tue, 12 Dec 2017 11:48:17 -0500)
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Tue, 12 Dec 2017 11:48:17 -0500
>
> > Perhaps there is a misunderstanding. AFAIU, you can determine the
> > left-top pixel position at point, but you wanted the left-bottom
> > position instead, is that right? If so, my suggestion was to call
> > vertical-motion to move down one line, then take the left-top position
> > at that place.
>
> What if there's no position "down one line" (e.g. the next line is too
> short or there's no next line)?
Does this mean that my suggestion works in all the other cases? If
so, the above is easy. But I'm not yet sure I understand the problem,
because the presented solution was so complex I'm probably missing
something much more important than the situation you describe.
next prev parent reply other threads:[~2017-12-12 17:19 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-07 0:04 How to create a small child-frame which only show two lines tumashu
2017-12-07 2:35 ` jun
2017-12-07 2:45 ` tumashu
2017-12-07 9:27 ` How " martin rudalics
2017-12-08 10:12 ` martin rudalics
2017-12-08 12:05 ` tumashu
2017-12-09 10:35 ` martin rudalics
2017-12-11 0:21 ` tumashu
2017-12-11 6:42 ` martin rudalics
2017-12-11 8:29 ` tumashu
2017-12-11 15:29 ` Eli Zaretskii
2017-12-12 0:43 ` tumashu
2017-12-12 3:22 ` Stefan Monnier
2017-12-12 8:56 ` martin rudalics
2017-12-12 16:26 ` Eli Zaretskii
2017-12-12 16:48 ` Stefan Monnier
2017-12-12 17:19 ` Eli Zaretskii [this message]
2018-01-07 2:56 ` Feng Shu
2017-12-12 8:56 ` martin rudalics
2017-12-12 12:19 ` Feng Shu
2017-12-12 17:05 ` Eli Zaretskii
2017-12-13 8:50 ` martin rudalics
2018-01-06 10:42 ` Feng Shu
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=837etrsw3a.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).