all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Odd behavior when moving point over invisible text
@ 2023-06-04 21:43 Mats Lidell
  2023-06-05  7:09 ` Karl Fogel
  2023-06-05 12:59 ` Eli Zaretskii
  0 siblings, 2 replies; 11+ messages in thread
From: Mats Lidell @ 2023-06-04 21:43 UTC (permalink / raw)
  To: emacs-devel

Hi,

When writing a unit test I wanted to move point over invisible (hidden) text and
got into this strange behavior:

1. Insert these two lines in an elisp file:
    (defun func ()
      (point)) 
2. Set outline-minor-mode { M-x outline-minor-mode }
3. Goto first line and do { M-x outline-hide-subtree }
4. Goto first . in the ellipsis after the parentheses () and try either to use
   the keyboard with C-f or use the command (forward-char) to move over the
   ellipsis.

With C-f point is moved over the ellipsis but with forward-char point remains
put!? I suspect it is due to point-adjustment but I was expecting both of these
to produce the same result, i.e. move over the ellipsis. Not to mention that
forward-char is also bound to C-f!?

I tried this with 27.2, 28.2 and current master with the same result.

%% Mats



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-06-06 22:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-04 21:43 Odd behavior when moving point over invisible text Mats Lidell
2023-06-05  7:09 ` Karl Fogel
2023-06-05 13:05   ` Eli Zaretskii
2023-06-05 17:51     ` Karl Fogel
2023-06-05 19:38     ` Mats Lidell
2023-06-05 12:59 ` Eli Zaretskii
2023-06-05 23:30   ` Mats Lidell
2023-06-06 11:48     ` Eli Zaretskii
2023-06-06 12:07       ` Mats Lidell
2023-06-06 12:22         ` Eli Zaretskii
2023-06-06 22:45           ` Mats Lidell

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.