From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mats Lidell Newsgroups: gmane.emacs.devel Subject: Odd behavior when moving point over invisible text Date: Sun, 04 Jun 2023 23:43:39 +0200 Message-ID: <87cz2ac390.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5141"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 04 23:44:39 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q5vWg-0001Am-AD for ged-emacs-devel@m.gmane-mx.org; Sun, 04 Jun 2023 23:44:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5vVp-0006O4-M5; Sun, 04 Jun 2023 17:43:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5vVn-0006Nq-Oj for emacs-devel@gnu.org; Sun, 04 Jun 2023 17:43:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5vVn-0005dN-GT for emacs-devel@gnu.org; Sun, 04 Jun 2023 17:43:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=dbqarx0hqwgwRAnUfa8tPGNG/csDS5ufmfr377rUrZc=; b=A7fjroTuzr5J1K +O/IzUuADreQTSmu48T4uVpiTjrk0sD6ztf8VPrcDkbg5H0MDrHryWZtcxwxJQQEMeIYiYvj2cUQ2 b6EiFMumDh2RyPFag/eFXjyHod07RR6F+WZ/ivxoIGvM/ARg4r9a3JSIqaDjeHlaLF+yxeVpIC09P FYrhzawD+4FZm2AzSjIv0z39bfC3MCGGLsbYVfyzLpWERKifvnp005JjoG4ggZ8drI5V37iGgeEha GWzS5XNCFWNIpv4/myQQM8S+qrjpSnlxTtaqrjEFughOeyyqEOMIUb9Qbx62zmFzlLVCyWyBA8a+M p2cpUnloYzQszunCC0ew==; Original-Received: from c80-217-132-174.bredband.tele2.se ([80.217.132.174] helo=zerblatt) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5vVm-000496-Sk for emacs-devel@gnu.org; Sun, 04 Jun 2023 17:43:43 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306627 Archived-At: 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