From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master 370d403: Explain in the manual how to make `cursor-intangible' work Date: Sun, 14 Nov 2021 13:08:45 -0500 Message-ID: References: <20211114021443.12484.87085@vcs0.savannah.gnu.org> <20211114021444.BD421209C6@vcs0.savannah.gnu.org> <8735ny7m7e.fsf@gnus.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="25797"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 14 19:09:44 2021 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 1mmJwl-0006T3-O8 for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Nov 2021 19:09:43 +0100 Original-Received: from localhost ([::1]:58170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmJwj-0003uX-Iz for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Nov 2021 13:09:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmJw2-0003FG-0K for emacs-devel@gnu.org; Sun, 14 Nov 2021 13:08:58 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmJvz-0005du-6h for emacs-devel@gnu.org; Sun, 14 Nov 2021 13:08:56 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 657118044E; Sun, 14 Nov 2021 13:08:53 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 61DD980043; Sun, 14 Nov 2021 13:08:47 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1636913327; bh=YS/7YDtDRLMO1ttCcWcPCk8LQqHZEGw3wvGvU7aPcRg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=mTc78uKCNIaFex6MI0OZCYFonftdGPK0hfpSY7LXhyaCY8Talai+rRjFp943tYlru GxP+9EKote4hB3Dg278RUANCMG+hbJwIIeu+LmrY9tGqvVNE7JZRhdMNFUX696r6Rx yVgnVl2Ffrb11EY890sUHmw1ohJc5q0XdWOTAtJHa/N3Iwpqh4IOst1Sn7prRdvg5q keA1Yz4CHBP8H9NuvScxxg8WVRGGTLV0i+xNDckNgoRQS2zwjukE7fC2C8H716wDDP dppX98SJ4k1aNOmtadbFuLDh3/fRhGPQxanC02811OsbNxbItAjKct5o7DwsilV4Bz hdLqBk+UMhZYw== Original-Received: from pastel (unknown [45.72.128.33]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 10F9B12089F; Sun, 14 Nov 2021 13:08:47 -0500 (EST) In-Reply-To: <8735ny7m7e.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 14 Nov 2021 17:09:57 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:279430 Archived-At: >> Then again, you can also do: >> >> (insert >> (propertize "xxxx" 'cursor-intangible t) >> (propertize "x")) > > Sure, but I thought it was more pedagogical with the rear-nonsticky. I don't have a preference, but I feel like the text should try and explain that there are options and that the example is just one approach. At the same time, it seems "out of scope". I guess what I'm getting it is that we should not have to clarify this here but should instead point to some other place that explains those issues in general. Maybe we should point out that the effect of the property is only relevant on *positions* between chars, as defined by `get-pos-property`. >> or >> >> (insert >> (propertize "xxxxx" 'cursor-intangible t 'rear-nonsticky t)) > > Nope; doesn't work. Bummer! Stefan