From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#23079: 25.0.92; Movement commands leave cursor in invisible line Date: Thu, 1 Oct 2020 05:26:33 -0700 Message-ID: References: <87oaa77fev.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21315"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Michael Heerdegen , 23079-done@debbugs.gnu.org, jonas@bernoul.li To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 14:28:00 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kNxgk-0005QQ-R3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 14:27:58 +0200 Original-Received: from localhost ([::1]:48856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNxgj-0006X8-Ro for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 08:27:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNxfs-0006Lv-H0 for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 08:27:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNxfs-0008Ks-67 for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 08:27:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNxfs-0001Xk-3S for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 08:27:04 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 12:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 23079 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 23079@debbugs.gnu.org, stefan@marxist.se, michael_heerdegen@web.de Original-Received: via spool by 23079-done@debbugs.gnu.org id=D23079.16015552015827 (code D ref 23079); Thu, 01 Oct 2020 12:27:03 +0000 Original-Received: (at 23079-done) by debbugs.gnu.org; 1 Oct 2020 12:26:41 +0000 Original-Received: from localhost ([127.0.0.1]:34469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNxfV-0001Vu-K1 for submit@debbugs.gnu.org; Thu, 01 Oct 2020 08:26:41 -0400 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:42946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNxfT-0001Vf-MJ for 23079-done@debbugs.gnu.org; Thu, 01 Oct 2020 08:26:40 -0400 Original-Received: by mail-ej1-f46.google.com with SMTP id q13so7746506ejo.9 for <23079-done@debbugs.gnu.org>; Thu, 01 Oct 2020 05:26:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=GZtnBiEzkxzSzkichRdam6VP8bDwpaOIzCFM2Zdbudk=; b=IjrNJY6qeli5MAbAPPqRrQYjHqEFuBrb38CN8fMbZS6kSf6AAiIdkL5GN8ze0Fa+od 28BKQbh5wDTGlRdn700WDo6RoEu9BSfdK7SMaKOcDwInCWDq9Z5M/ek//9xLIH5mmrEU NmIE75/ELp6RFztE3ZcxALtHX5PXbC18ibxGdMzmZoAuH3yh0OL2n2SoX5CbXzuNx/0R VuAsl8rmUQ0V8UlPPbpgXTVSb8MAFaoiNHYW8/J9p5CctCGFU98VJOAlJ/AOfeMK5mPZ e6vEnuMu7CGYQStbQcnwKlp23o1HNFZTbuL17asm+9g3DSu6xV38V+djJeNH5IYZm7zq S6TQ== X-Gm-Message-State: AOAM531nAgRGovBueA9NmjzuAAwOeOez0ntUTWh8mcl/x8dV35igbkin By9Ghpssoj2XJ9+bMgS1uknkOeA+QgHSe5+V3Cs= X-Google-Smtp-Source: ABdhPJwsDFkzik6v7WdaBa/xmM8aXhXjxx2qdRlyo75vaZ8rSOLunymoOfIiY9CPeS+8JHpyhNpxErQ7IpjACC/+KN4= X-Received: by 2002:a17:906:7e4e:: with SMTP id z14mr7811455ejr.477.1601555194098; Thu, 01 Oct 2020 05:26:34 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Oct 2020 05:26:33 -0700 In-Reply-To: (Stefan Kangas's message of "Fri, 14 Aug 2020 21:22:11 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189495 Archived-At: Stefan Kangas writes: > Stefan Monnier writes: > >> tags 23079 notabug >> thanks >> >>> I try to give a recipe resembling a bug in Magit concerning hidden lines >>> and cursor movement. In some buffer (emacs -Q) do >> >>> (insert "111" "\n222\n" >>> (propertize "333\n444\n\n" 'invisible t) >>> "555\n666\n") >> >>> and move around with C-n, C-p. Then the cursor will appear over the >>> first "5" but point is actually located inside the invisible area. >> >> That's normal: (get-pos-property 'invisible) returns nil in front >> of "333" but t in front of "555", so point adjustment will try to move >> point to right before "333" when we're in that invisible chunk. >> >> IOW the position "right before 555" is actually considered as being >> "inside the invisible area" whereas the position "right before 333" is >> considered as being outside of it. >> >> If you want point adjustment to move point to right before "555" >> instead, you should change the stickiness of the `invisible' property so >> as to change which boundary position is considered "inside" and which is >> considered "outside". > > This was tagged notabug, then started discussing possible changes in > Magit, and then nothing more happened in 4 years. So is there anything > more to do here or can this be closed? More information was requested, but none was given within 6 weeks, so I'm closing this bug. If there is anything more to do here, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas