emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a small child-frame which only show two lines


From: Eli Zaretskii
Subject: Re: How to create a small child-frame which only show two lines
Date: Tue, 12 Dec 2017 19:19:05 +0200

> From: Stefan Monnier <address@hidden>
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]