From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Please add point-to-coord to Emacs 23 Date: Fri, 26 Sep 2008 10:34:55 +0900 Message-ID: <87od2bpu4g.fsf@catnip.gol.com> References: <48DC0557.4030202@gmail.com> <48DC1875.7070403@gmail.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222392914 743 80.91.229.12 (26 Sep 2008 01:35:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2008 01:35:14 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 26 03:36:12 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kj2Ff-0001Ln-GP for ged-emacs-devel@m.gmane.org; Fri, 26 Sep 2008 03:36:11 +0200 Original-Received: from localhost ([127.0.0.1]:47051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kj2Ec-0005zb-WD for ged-emacs-devel@m.gmane.org; Thu, 25 Sep 2008 21:35:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kj2EY-0005zW-Sc for emacs-devel@gnu.org; Thu, 25 Sep 2008 21:35:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kj2EW-0005zK-8L for emacs-devel@gnu.org; Thu, 25 Sep 2008 21:35:01 -0400 Original-Received: from [199.232.76.173] (port=34897 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kj2EW-0005zH-5f for emacs-devel@gnu.org; Thu, 25 Sep 2008 21:35:00 -0400 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]:51486) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kj2EU-00031y-SE; Thu, 25 Sep 2008 21:34:59 -0400 Original-Received: from 218.45.67.42.eo.eaccess.ne.jp ([218.45.67.42] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1Kj2ES-0007zo-J2; Fri, 26 Sep 2008 10:34:56 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id CAF31DFB6; Fri, 26 Sep 2008 10:34:55 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: <48DC1875.7070403@gmail.com> (Lennart Borgman's message of "Fri, 26 Sep 2008 01:02:13 +0200") Original-Lines: 17 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104165 Archived-At: "Lennart Borgman (gmail)" writes: >> Even if it is not added could someone perhaps explain how to change it >> so that it works when left margin is non-zero? > > It looks like a bug in posn-at-point to me, but I am not sure. > >> (defun point-to-coord (point) >> "Return coordinates of POINT in selected window. Let's stop using the term "-at-point" or "point-to-" for functions which actually take an arbitrary position.... -Miles -- Barometer, n. An ingenious instrument which indicates what kind of weather we are having.