emacs-devel
[Top][All Lists]
Advanced

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

Re: move-beginning-of-line


From: Ralf Angeli
Subject: Re: move-beginning-of-line
Date: Mon, 14 Mar 2005 18:52:51 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

* 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




reply via email to

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