From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Odd behavior when moving point over invisible text Date: Mon, 05 Jun 2023 15:59:18 +0300 Message-ID: <83ilc23w0p.fsf@gnu.org> References: <87cz2ac390.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36134"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Mats Lidell Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 05 15:00:13 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 1q69oh-00097r-Ob for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Jun 2023 15:00:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q69o2-0003W7-Un; Mon, 05 Jun 2023 08:59:30 -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 1q69nv-0003GZ-FN for emacs-devel@gnu.org; Mon, 05 Jun 2023 08:59:25 -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 1q69nu-0007d5-0S for emacs-devel@gnu.org; Mon, 05 Jun 2023 08:59:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sO3PEqwtsUvWWku3kd26JktwtwqjmXKua7IXxQh3FAI=; b=FOMFFHx0oOK4 2yoaCVGyFqHGhRC2486w+/qDvgtYGkp/d6xpWDpCnVeDYmERj1QOffArk0/0FSo7EbZ+Wo4T+qa76 5OXSGzTrUEjzmGwzHD5E2ocRaBXNfi9kVIAUMBVi3eayGFBf4w7yV+7L5rNhNeDuwY4J4OU0lVQk7 cfpD/8Rbfa3Jc9JterosQTQn0jNg1YEfcgLBOWkCyPL2FTnAEPnZh1MI+aTwJrx+/3xwX4pqyTmRL Pqhs37eHOI5jrBQVxrCHxeBzSrld8TtxoRKFEPgnBv5U8L+YAHdImo8xM0wWGLxluZD8RvWXSyXGD ZbgbCMy2HkGbJ6mqmQsmEA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q69ns-0008NW-Oi; Mon, 05 Jun 2023 08:59:21 -0400 In-Reply-To: <87cz2ac390.fsf@gnu.org> (message from Mats Lidell on Sun, 04 Jun 2023 23:43:39 +0200) 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:306649 Archived-At: > From: Mats Lidell > Date: Sun, 04 Jun 2023 23:43:39 +0200 > > 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!? It's a bug. Should be fixed now on the master branch.