From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: move-beginning-of-line Date: Mon, 14 Mar 2005 18:52:51 +0100 Message-ID: References: <200503140258.j2E2wbI11194@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110826123 31267 80.91.229.2 (14 Mar 2005 18:48:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2005 18:48:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 19:48:42 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DAuMD-0003Yv-4G for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2005 19:32:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAubw-0003pZ-Cb for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2005 13:48:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DAuaJ-0003MX-9V for emacs-devel@gnu.org; Mon, 14 Mar 2005 13:46:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DAuaC-0003Hp-Di for emacs-devel@gnu.org; Mon, 14 Mar 2005 13:46:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAuaB-0003F1-Ox for emacs-devel@gnu.org; Mon, 14 Mar 2005 13:46:27 -0500 Original-Received: from [134.96.7.25] (helo=triton.rz.uni-saarland.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DAuFW-0003tR-4p; Mon, 14 Mar 2005 13:25:06 -0500 Original-Received: from iwi-gate.iwi.uni-sb.de (iwi-gate.iwi.uni-sb.de [134.96.72.13]) by triton.rz.uni-saarland.de (8.12.10/8.12.10) with ESMTP id j2EHr8Ps3531722; Mon, 14 Mar 2005 18:53:08 +0100 (CET) Original-Received: from [134.96.72.190] (helo=neutrino.iwi.uni-sb.de) by iwi-gate.iwi.uni-sb.de with esmtp (Exim 4.43 (FreeBSD)) id 1DAtkF-000Jvk-NV; Mon, 14 Mar 2005 18:52:47 +0100 Original-Received: from angeli by neutrino.iwi.uni-sb.de with local (Exim 4.50) id 1DAtkJ-0006OH-5u; Mon, 14 Mar 2005 18:52:51 +0100 Original-To: David Kastrup User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-IWi-MailScanner-Information: Please contact the ISP for more information X-IWi-MailScanner: Found to be clean X-IWi-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5, autolearn=disabled) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.1 (triton.rz.uni-saarland.de [134.96.7.25]); Mon, 14 Mar 2005 18:53:08 +0100 (CET) X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.30.0.7; VDF 6.30.0.29 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34587 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34587 * David Kastrup (2005-03-14) writes: > preview-latex uses post-command-hook to move point out of images after > each command. It also uses pre-command-hook to remember point before > each command. If the command moved backwards when ending up inside of > the image, preview-latex will move it to the start of the image, > otherwise to the end of the image. As a result, pressing C-a to the > right of a multi-line image should move point to the front of the > image. Similar with pressing C-e to the left of such an image. With a five-day-old CVS Emacs `C-a' will move point to the start of the _preceding_ line. One can check this without preview-latex by executing (progn (insert "\nfoo\nbar") (overlay-put (make-overlay (- (point) 7) (point)) 'display (create-image "splash.xpm" 'xpm))) and typing `C-a' after that. -- Ralf