From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "rgb" Newsgroups: gmane.emacs.help Subject: Re: window-line and window-column Date: 10 Oct 2005 21:38:32 -0700 Organization: http://groups.google.com Message-ID: <1129005512.769953.54230@z14g2000cwz.googlegroups.com> References: <1128725063.828807.151870@f14g2000cwb.googlegroups.com> <1128732564.330018.230170@g43g2000cwa.googlegroups.com> <87ll10lmyo.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1129005749 22604 80.91.229.2 (11 Oct 2005 04:42:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2005 04:42:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 11 06:42:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPBwb-00021N-C6 for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Oct 2005 06:40:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPBwa-00027J-Ew for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Oct 2005 00:40:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!news2.volia.net!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 71.34.3.210 Original-X-Trace: posting.google.com 1129005518 12387 127.0.0.1 (11 Oct 2005 04:38:38 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 11 Oct 2005 04:38:38 +0000 (UTC) In-Reply-To: <87ll10lmyo.fsf-monnier+gnu.emacs.help@gnu.org> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=71.34.3.210; posting-account=C7LM4w0AAAD23IRuMuUUJVCLQTuHhTK8 Original-Xref: shelby.stanford.edu gnu.emacs.help:134552 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30132 Archived-At: Stefan Monnier wrote: > > Perhaps you wanted me to see compute-motion but I don't see how it helps. > > Check it again. Like most functions it's meant to be meaningful under a tty > as well, so it's very much not pixel-based. > > Another useful function would be posn-at-point, but it's only in Emacs-CVS. > There it is (nth 6 (posn-at-point)) But I think it might have a problem. Unlike windmove-coordinates-of-position's value based on compute-motion, I get a very odd result from posn-at-point if (point) is off the screen to the left because I've done (scroll-left). The (car (nth 6 (posn-at-point))) value doesn't make sense to me under those circumstances. Could there be a bug?