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: Re: Odd behavior when moving point over invisible text Date: Tue, 06 Jun 2023 01:30:44 +0200 Message-ID: <87a5xdqyfv.fsf@gnu.org> References: <87cz2ac390.fsf@gnu.org> <83ilc23w0p.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="32930"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 06 01:32:19 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 1q6JgR-0008Mv-Ql for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Jun 2023 01:32:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6Jf4-0007RF-QR; Mon, 05 Jun 2023 19:30:54 -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 1q6Jf3-0007Qz-3z for emacs-devel@gnu.org; Mon, 05 Jun 2023 19:30:53 -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 1q6Jf2-0003dD-SP for emacs-devel@gnu.org; Mon, 05 Jun 2023 19:30:52 -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:References:In-Reply-To:Subject:To: From; bh=89iDJ0eiuESFZvurvqzuwfRLHZrIRs4JIu7eetWb8CQ=; b=nCPXpGC9iI5AdDFdlBta jTT/Cq5KirWbwoGRczcc04ZBeJtCwpgLJ/k+dcyQtXUD+KfdwLk2K7vQs+13c4avIph6313lvy+XH /NGAl55lYdTV4SUSmq+a0VicBSdOqNwbn1rMjVHFbEbC7WpIFUyECuBEwWbSJ9pdrU0qRepkodRh7 Y4uz5SIppi6c65eh/UOBYl3UyYeEQY+WGq4jD5xokCv9IXDaN8+mGVwE7dcblVXY+y8a1gNfuS+bs Ire1rd1JsgS4hW1sABcl3lvDz3hRDzrQQpSdJXJum4acld4RTjEz9Vlxfbj9jbqxaxquKL/GaDUAs 4tS/BenXh3XQ0g==; 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 1q6Jey-00086l-3k; Mon, 05 Jun 2023 19:30:49 -0400 In-Reply-To: <83ilc23w0p.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Jun 2023 15:59:18 +0300") 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:306659 Archived-At: > Eli Zaretskii writes: > It's a bug. Should be fixed now on the master branch. I had a look. Now the behavior looks consistent with using the key binding. But... There is still a thing that I find a little odd but might be the desired behavior. What happens is: If point is before the first dot in the ellipsis and I call (forward-char) multiple times, from a function or test case, not manually, the point stays on the first dot (It seems point is really moving in the hidden text because if the number of times it is repeated is larger than the hidden text the point comes out on the other side so to say.) This can also be demonstrated with trying to pass the ellipsis using a prefix arg to C-f. It is easiest to demonstrate by having a big text portion that is hidden. Put the point before the ellipsis on the right parenthesis in the example file and type C-u 10 C-f and notice that point will stop at the first dot. Put back the point on the parenthesis and type C-f C-f and point moves over the ellipsis. %% Mats