From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#459: Zero-length overlays, overlay keymaps, and `overlays-at' Date: Tue, 20 Jul 2021 15:46:38 +0200 Message-ID: <87fsw9drnl.fsf@gnus.org> References: <20210720124457.GA10470@bb84> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6586"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 459@debbugs.gnu.org, monnier@iro.umontreal.ca To: Toby Cubitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 20 15:47:19 2021 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 1m5q5e-0001Ro-NU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Jul 2021 15:47:18 +0200 Original-Received: from localhost ([::1]:59134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5q5d-0008BY-Mm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Jul 2021 09:47:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5q5O-0008BK-5y for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2021 09:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5q5N-0006Fp-UV for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2021 09:47:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5q5N-0007nj-UI for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2021 09:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Jul 2021 13:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 459 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 459-submit@debbugs.gnu.org id=B459.162678881029970 (code B ref 459); Tue, 20 Jul 2021 13:47:01 +0000 Original-Received: (at 459) by debbugs.gnu.org; 20 Jul 2021 13:46:50 +0000 Original-Received: from localhost ([127.0.0.1]:33248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5q5C-0007nK-I0 for submit@debbugs.gnu.org; Tue, 20 Jul 2021 09:46:50 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:57680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5q5A-0007n7-A2 for 459@debbugs.gnu.org; Tue, 20 Jul 2021 09:46:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ql93BBdzDqnp7V4uqQ1eFk6+fj3GVY1OvDkyXvmVua4=; b=gzCKYfDCiyoFxnxUG0db/6JdPZ lk1IJw8E+B+02EVjqlFh+qA/wnMafgBKLf47S2Hq+eGI0Ff89XMU5edbCVALdq6QqpEiaMzLsWEZ6 MZsU/Y5iyY5t7dcOprI4vqwZEU0NpJWcynwy+JGkHy6jzVB4STVXMQWlaCdWLgq2Kv2A=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5q51-0003of-2X; Tue, 20 Jul 2021 15:46:41 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEWFEReKKiilnJGS WVRyDxNgIx4qJR56hHn///9MMD0NAAAAAWJLR0QIht6VegAAAAd0SU1FB+UHFA0qIlXVItYAAAGU SURBVDjLddHBUuMwDAZgZUju0TbhAWCmPZelu1czyD3HOM6dqWMegAOvj2S7JS6pD53WX35JUQHK g/HAn0eADe6vAeDuAeDpgT9qle4rh9hCgs1ffgKGDCjQJoiPnBO4kUoR0skAhqH6DVWLsdbvBBpc LyUAqVS+cTxyrVTjuQUuYVJ0DN40I0O7hKPSIcxDbzoZaglDwwD3JvYWIEXyrfF1CD5thCOvDEQS qgOXer+fGZAXlyBGjkHOUGFbldDI/dzKFutLKTonnJKN1KBygpsogdm2e1nJpRQXUxPDZJ1ssf0B UDxsOAX3abCrgH4SsVI4/ft8R6j59wVojtN+nSwiFTDGxO602SO9LEAPU4zMThKwAr0xRPUCKN4H ezCu6DHlwMejNgWMCUL4r/sS8v3But4V4NPavdVuDbbe9lc9xnOiH8s3dwIf28EeSnCjTn+t7Yi6 AtIbDq/PVCR0BnLPssMF+Ay64/WUCenuBa5LcWSWwUuIGMZ1oBDnW4G8g1XQ+gbQRLdKZdjdgLft Ouin8A0rqO3Ehwu7/gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNy0yMFQxMzo0MjozNCswMDow MGufFEkAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDctMjBUMTM6NDI6MzQrMDA6MDAawqz1AAAA AElFTkSuQmCC X-Now-Playing: Voiski's _Fabric 94: Steffi_: "Sounds of Distance" In-Reply-To: <20210720124457.GA10470@bb84> (Toby Cubitt's message of "Tue, 20 Jul 2021 13:34:39 +0000") 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:210353 Archived-At: Toby Cubitt writes: > The OP on this was so much younger when he submitted the bug report, > he might as well have been a different person :) :-) > Still seems surprising to me that overlays-at won't return all > overlays "at" point, but overlays-in will return overlays that > technically aren't "in" the specified region. Yes, it's pretty surprising, so I've noted this in the `overlays-at' doc string. > This first bug in the report still seems to be there in current stable > Emacs. Is the intention to dismiss that first bug as "won't fix", too? > Just flagging, in case that part got missed. I didn't check that bit, since you said: ---- Looking through NEWS.22, I came upon the following: *** The `keymap' property now also works at the ends of overlays and text properties, according to their stickiness. This also means that it works with empty overlays. The same hold for the `local-map' property. So the first issue I reported is already fixed! (In exactly the way I suggested, which makes me suspect that future-bug might now have been fixed too... :) However, this behaviour isn't documented in the Emacs Lisp manual (unless I've overlooked something yet again), which *is* a bug. ---- Oh, I missed the bit about the missing documentation? Is that what you're referring to? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no