From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: 25.0.50; point-entered no longer works Resent-From: David Reitter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Nov 2015 23:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21874@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144719807215547 (code B ref -1); Tue, 10 Nov 2015 23:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2015 23:27:52 +0000 Received: from localhost ([127.0.0.1]:60718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwIKN-00042g-Ao for submit@debbugs.gnu.org; Tue, 10 Nov 2015 18:27:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38508) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwIK2-00042A-QO for submit@debbugs.gnu.org; Tue, 10 Nov 2015 18:27:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwIK1-0004z1-7N for submit@debbugs.gnu.org; Tue, 10 Nov 2015 18:27:30 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwIK1-0004yx-46 for submit@debbugs.gnu.org; Tue, 10 Nov 2015 18:27:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwIJz-0003tJ-SM for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2015 18:27:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwIJw-0004xe-IG for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2015 18:27:27 -0500 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:33531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwIJw-0004xU-Dx for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2015 18:27:24 -0500 Received: by qgea14 with SMTP id a14so11780538qge.0 for ; Tue, 10 Nov 2015 15:27:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=0NtpmGMdzHZKufy6bN1ea+sBUj37iyelAGPs7/oEiHQ=; b=aoPcyEQ9VIv/c6DgtxLS4MLMI/+0yywySR3UJaDgnTrIn535qgjZfEUdd9xFLL4Wo9 rLfmXK14cXQLiPWKtd6HAqeSt1PpYXGGtF5wfreaKa5bMhE3r9uFBg5AI0FSlvwlh4tZ 7+ZdI+8BIjxK9TaDjuPcC2aoIbCYBaJFnWDCwcJm4t7CKKo+vSWCORQ/3yaDkUXOkNgU fCWEmvU1tUvchYJN4+LSF33hXY0ALn4f4MnAU+Sldk/r7+okGo8JRTTquV+Lpz2WrtN9 3szJoinRDvmB2yGJrDij+scY5iahgYJRXiXpTroKX6Kcw5frEhtE7JdSRTtAJee5sqiO r7fg== X-Received: by 10.140.255.139 with SMTP id a133mr8133322qhd.103.1447198043867; Tue, 10 Nov 2015 15:27:23 -0800 (PST) Received: from [130.203.152.247] ([130.203.152.247]) by smtp.gmail.com with ESMTPSA id a69sm2152124qhc.10.2015.11.10.15.27.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Nov 2015 15:27:22 -0800 (PST) From: David Reitter Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <585B558E-8150-489D-B4B2-CBD50AF46BF8@gmail.com> Date: Tue, 10 Nov 2015 18:27:22 -0500 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) X-Mailer: Apple Mail (2.3096.5) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Emacs -q C-a avoids the minibuffer prompt, but cursor movement with left-arrow is = still possible. That seems to be intentional (and still a questionable = default - a discussion on emacs-devel has been seen). Setting minibuffer-prompt-properties to the new `cursor-intangible' = fixes the cursor movement issue and C-x h. However, (setq minibuffer-prompt-properties '(read-only t point-entered = minibuffer-avoid-prompt)) fails to work as intended. That seems to be a bug, because = `minibuffer-avoid-prompt' is just obsolete (since 25.1), and the NEWS = file lists `point-entered' as obsolete, too. So it should still work. Feature suggestion: Why can't Emacs see that a user had (point-entered = minibuffer-avoid-prompt) and simply translate that to (cursor-intangible = t)? Another feature suggestion: When the cursor is in a read-only area, why = can=E2=80=99t self-insert-command jump to the next area where input is = allowed? When a region contains read-only areas, and delete is pressed = or delete-selection-mode would cause the region to be killed, could = Emacs just kill all the writeable text and leave the read-only portion = (e.g., mini buffer prompts!) in place? It would be so nice if Emacs = could =E2=80=9Cdo the right thing=E2=80=9D! In GNU Emacs 25.0.50.1 (x86_64-apple-darwin15.0.0, NS appkit-1404.13 = Version 10.11.1 (Build 15B42)) of 2015-11-10 Repository revision: 25775a12c5168b0494dff15639ac25d8e1017530 Windowing system distributor 'Apple', version 10.3.1404 Configured features: ACL ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: diff-auto-refine-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: completing-read-default: Command attempted to use minibuffer while in = minibuffer Mark saved where search started (read-only t point-entered minibuffer-avoid-prompt) [2 times] C-h is undefined Quit Mark set [3 times] s-2 is undefined Quit [2 times] Mark set (read-only t point-entered minibuffer-avoid-prompt) Quit Load-path shadows: ./ae24.git/.dir-locals hides ./aquamacs-emacs/.dir-locals ./ae24.git/.dir-locals hides ./emacs/.dir-locals ./ae24.git/.dir-locals hides = /Users/dr/emacs/nextstep/Emacs.app/Contents/Resources/lisp/gnus/.dir-local= s Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils noutline outline eieio-opt speedbar sb-image ezimage dframe character-fold misearch multi-isearch vc vc-dispatcher vc-git diff-mode easy-mmode map seq cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs find-func pp thingatpt url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv gnus-util mm-util mail-prsvr password-cache url-vars cursor-sensor cus-edit cus-start cus-load wid-edit cl-extra help-fns help-mode easymenu cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 141432 5750) (symbols 48 24818 0) (miscs 40 259 376) (strings 32 32647 16953) (string-bytes 1 998901) (vectors 16 18301) (vector-slots 8 530698 2662) (floats 8 190 305) (intervals 56 494 41) (buffers 976 18)) From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 11 13:55:40 2015 Received: (at control) by debbugs.gnu.org; 11 Nov 2015 18:55:40 +0000 Received: from localhost ([127.0.0.1]:33543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwaYU-0002ul-OT for submit@debbugs.gnu.org; Wed, 11 Nov 2015 13:55:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47892) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwaYR-0002uc-ET for control@debbugs.gnu.org; Wed, 11 Nov 2015 13:55:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwaYQ-0002ks-GD for control@debbugs.gnu.org; Wed, 11 Nov 2015 13:55:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwaYQ-0002kj-CX for control@debbugs.gnu.org; Wed, 11 Nov 2015 13:55:34 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZwaYP-0008N7-VT for control@debbugs.gnu.org; Wed, 11 Nov 2015 13:55:34 -0500 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 11 Nov 2015 13:55:33 -0500 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) block 19759 by 21874 From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: 25.0.50; point-entered no longer works References: <585B558E-8150-489D-B4B2-CBD50AF46BF8@gmail.com> In-Reply-To: <585B558E-8150-489D-B4B2-CBD50AF46BF8@gmail.com> Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Mar 2016 20:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21874@debbugs.gnu.org Received: via spool by 21874-submit@debbugs.gnu.org id=B21874.145876363515529 (code B ref 21874); Wed, 23 Mar 2016 20:08:01 +0000 Received: (at 21874) by debbugs.gnu.org; 23 Mar 2016 20:07:15 +0000 Received: from localhost ([127.0.0.1]:34791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aip3j-00042P-Ew for submit@debbugs.gnu.org; Wed, 23 Mar 2016 16:07:15 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:33614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aip3i-00042D-ON for 21874@debbugs.gnu.org; Wed, 23 Mar 2016 16:07:15 -0400 Received: by mail-oi0-f52.google.com with SMTP id d205so34487960oia.0 for <21874@debbugs.gnu.org>; Wed, 23 Mar 2016 13:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=dLbgVKeW4u8KVya7KM0AU+W9EWQ0ggW6jvQHpcIWAc8=; b=llzTk/kL7cTPuxQ3r1quDTaygf7tJ429Ao3aYHe+01v+luV4daZQ8Kk4zdlFoYE8u3 LHG/I2dsm3ty/zr0EoM4fY3W+IF/uOLIkUGcOVsSrm+f1sFFCl0pRxqpA5wfuPye6zpd 9/mbez7KjjKyMeBswuK7nU+3xeMgCsu3j6cgvwhR0dW88VWcWOnPZ7ZHT2pMSfRX8bpR k58OSQVwfYpESZfEj99EluIW9WBQCz5HLc3h6N4KwUnuWB2TobA8wwGNIOVKjO74WGnf 6GSt5b6MpqL3XiV/oGcgZJ1SbUJvLZgl3p1t6A9rSxf3keIq6/detjiKJd0mv5GefLKp P92A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dLbgVKeW4u8KVya7KM0AU+W9EWQ0ggW6jvQHpcIWAc8=; b=fZ1B7Rz4ZtlgdFBqWVkPr2Kw4HfPnGj4/7QgjtgFR/5XYISfPgkuI6DGc1yo0mV/Q5 rA5v1vPymJTE73hwphSO0obm/tDSYipCwI1NkCoU4IEN7WhrJBLBU59S7VUOIksTc6ye 3V/XGSPBQ2fqBi4047G8KUqz4ma3SkwdqcHfwlbyD01rV1YatWxoYXmCjqknbPKfS5hH Qupru/PFUYjBOxhAijIrd2+hRy7f9wx0pYcHWA6rPVZFQK8mKPKK2HVuiG7Xq7aXbEXv njZpnNoks2rzmFpIWp998EZkPkg76kwcXf1Kcafn+tnSdcE547PRGS1D/kKHI5pvNzR0 h0Rg== X-Gm-Message-State: AD7BkJJ2N3bEt8X2ousSKj9y6a1tQxcfmotkmAIp+FqIkvOzPRIvQsCiQrJTLSPWqY/Zr04mIq6uh6q/mrTpmw== X-Received: by 10.157.59.119 with SMTP id z110mr2552039otb.164.1458763628986; Wed, 23 Mar 2016 13:07:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.172.198 with HTTP; Wed, 23 Mar 2016 13:06:29 -0700 (PDT) From: Kaushal Modi Date: Wed, 23 Mar 2016 16:06:29 -0400 Message-ID: Content-Type: multipart/alternative; boundary=001a1140707ceb1dd9052ebcdff2 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a1140707ceb1dd9052ebcdff2 Content-Type: text/plain; charset=UTF-8 I confirm this bug in the latest build of emacs-25 branch. I can confirm that evaluating below: (setq minibuffer-prompt-properties '(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt)) "does the right thing" in the minibuffer in emacsen 24.3, 24.4 and 24.5. That is, arrow key navigation and C-x h does not enter the part of the minibuffer that should be read-only. To test it, 1. emacs -Q 2. C-x C-f 3. Pressing left arrow key will take the cursor to the left most area within the read-only area "Find file:" 4. Now evaluate "(setq minibuffer-prompt-properties '(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt))" 5. C-x C-f 6. Now the cursor will stop to the right of the colon in "Find file:" when the left arrow key is kept pressed. Note that above works as expected in emacsen 24.3, 24.4 and 24.5. But it does NOT work in the latest build of emacs-25 branch. On emacs-25 build, instead of Step 6 behavior, we see Step 3 behavior. Setting point-entered does nothing. -- Kaushal Modi --001a1140707ceb1dd9052ebcdff2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I confirm this bug in the latest build of emacs-25 br= anch.

I can confirm that evaluating below:

(setq minibuffer-prompt-properties '(read-only t =C2=A0point-ent= ered minibuffer-avoid-prompt face minibuffer-prompt))

<= div>"does the right thing" in the minibuffer in emacsen 24.3, 24.= 4 and 24.5.

That is, arrow key navigation and C-x = h does not enter the part of the minibuffer that should be read-only.
=

To test it,

1. emacs -Q
<= div>2. C-x C-f
3. Pressing left arrow key will take the cursor to= the left most area within the read-only area "Find file:"
<= div>4. Now evaluate "(setq minibuffer-prompt-properties '(read-onl= y t =C2=A0point-entered minibuffer-avoid-prompt face minibuffer-prompt))&qu= ot;
5. C-x C-f
6. Now the cursor will stop to the right= of the colon in "Find file:" when the left arrow key is kept pre= ssed.

Note that above works as expected in emacsen= 24.3, 24.4 and 24.5.

But it does NOT work in the = latest build of emacs-25 branch. On emacs-25 build, instead of Step 6 behav= ior, we see Step 3 behavior. Setting point-entered does nothing.
=


--
Kaushal Modi
--001a1140707ceb1dd9052ebcdff2-- From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: 25.0.50; point-entered no longer works Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Mar 2016 20:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21874@debbugs.gnu.org, Stefan Monnier Received: via spool by 21874-submit@debbugs.gnu.org id=B21874.145876505220598 (code B ref 21874); Wed, 23 Mar 2016 20:31:02 +0000 Received: (at 21874) by debbugs.gnu.org; 23 Mar 2016 20:30:52 +0000 Received: from localhost ([127.0.0.1]:34813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aipQa-0005Lg-8n for submit@debbugs.gnu.org; Wed, 23 Mar 2016 16:30:52 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:35617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aipQY-0005FW-Rq for 21874@debbugs.gnu.org; Wed, 23 Mar 2016 16:30:51 -0400 Received: by mail-oi0-f53.google.com with SMTP id w20so36649153oia.2 for <21874@debbugs.gnu.org>; Wed, 23 Mar 2016 13:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=w3gJJ5aHImr0EFLzKGvlJ2gPvHx2lukWj8SeOSdHWTA=; b=F0J6mpC4fGONxeUBKnerLEzjdrcWKBAWrzW1nm8ELx8UKkCSKVUHEPNe6elIkbHtR7 i6p7JCniYmHEealFfAh5AVpyTfrA0ssv6kJc7mlDdLo8k9EVZmHHouJ2+hk/NuN3YZ+a rWbf2lrYH2F5hcFCeX7yMPnOy+wecPvAW8euHQdy1AGIp9kN453tyAsrwDr1xokc2GEr fvW+jMOSCWLR7NjAPY0MTtK0M3g/2o6fvsdYmyo7iTtw9m+g+hqsoY+/IdWRmQYMJ6Kb N1iesoyr2yySba0Z/ik/59j/b+QDOvdyh7jYLeJwaRbfaR39SU7RaFYlrPv61ZSBfFcV UCEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=w3gJJ5aHImr0EFLzKGvlJ2gPvHx2lukWj8SeOSdHWTA=; b=NaL94DBLMWhkk6bpwTGE76jVQRTs/ljTycPo/T/nVbLHZ4u99KbA9GTRizUSmU4NSB NZ9ewc2o67mzEPgrae/m4BExYJgfmyXzjWVK4YjNjIYLRoR2QzJA0MFRDa6HgDb8N/l9 mz5FgpAtCrpA7utAQo4TpaDzw1w3NPHJqzrDaC53oLV1DpRZyUGH4QC86cVySeAyEsmX Xvj+j32aC6agrTrMp8SKBc/oHu/TiXxG9XLjXZ9DaFamtogWQZk/vCsPaoVqhX+Nk5sb 0yi8HAGnS2v8VQvK8pzBAzwHlDMRxcoNR4jhL95EpD7uwGg2XobdhbqM/NiHEfx0kJDK MNnw== X-Gm-Message-State: AD7BkJJRxoCpYK4P0TBy8iEW4I4Dp4VdUnNk7FJbg7O5ibVidBTba5uq4PY32p3Ey9r/VPhSFG4SunXCuiIjuA== X-Received: by 10.157.16.1 with SMTP id h1mr2586837ote.185.1458765045262; Wed, 23 Mar 2016 13:30:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.172.198 with HTTP; Wed, 23 Mar 2016 13:30:05 -0700 (PDT) In-Reply-To: References: From: Kaushal Modi Date: Wed, 23 Mar 2016 16:30:05 -0400 Message-ID: Content-Type: multipart/alternative; boundary=001a1140e84c556e3b052ebd34b9 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a1140e84c556e3b052ebd34b9 Content-Type: text/plain; charset=UTF-8 Then I tried the below (which sort of works): (progn (setq minibuffer-prompt-properties '(read-only t cursor-intangible t face minibuffer-prompt)) (defun turn-on-cursor-intangible-mode () "Turns on cursor-intangible-mode." (interactive) (cursor-intangible-mode 1)) (define-globalized-minor-mode global-cursor-intangible-mode cursor-intangible-mode turn-on-cursor-intangible-mode) (global-cursor-intangible-mode 1)) Start emacs -Q and eval the above progn form. The caveat is (and I cannot understand why) is that the cursor intangibility does not kick in when you do C-x C-f for the first time! It kicks in only from the second C-x C-f onwards. The following steps try to explain what I mean (on latest build of emacs-25): 1. emacs -Q 2. Eval the above progn form 3. C-x C-f C-x h (The read-only portion also gets selected!) 4. C-g 5. C-x C-f C-x h (NOW the read-only portion does not get selected as expected) So why is the cursor-intangible-mode not enabled in the minibuffer the first time (Step 3)? Also, would it be wise to enable cursor-intangible-mode globally? If not, how can we have that mode always enabled in the minibuffer? ------------------------- On the other hand, I have tested the below as an alternate solution (probably better too as I am not enabling the mode globally) to always work: (progn (setq minibuffer-prompt-properties '(read-only t cursor-intangible t face minibuffer-prompt)) (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)) If we want emacs to "do the right thing", should the above be made default? --001a1140e84c556e3b052ebd34b9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Then I tried the below (which s= ort of works):

(progn
= =C2=A0 (setq minibuffer-prompt-properties '(read-only t cursor-intangib= le t face minibuffer-prompt))

=C2=A0 (defun turn-on-cursor-intangible-mode ()
=C2=A0 =C2=A0 "Turns on cursor-intangible= -mode."
=C2=A0 =C2=A0 (interactive)
=C2=A0 =C2=A0 (cursor-intangible-mode 1))
=C2=A0 (define-globalized-minor-mode global-cu= rsor-intangible-mode cursor-intangible-mode turn-on-cursor-intangible-mode)=

=C2= =A0 (global-cursor-intangible-mode 1))

=
Start emacs -Q and eval the above progn fo= rm.
The caveat is (and I cannot understand = why) is that the cursor intangibility does not kick in when you do C-x C-f = for the first time! It kicks in only from the second C-x C-f onwards.
=

The followi= ng steps try to explain what I mean (on latest build of emacs-25):
1. emacs -Q
2. Eval= the above progn form
3. C-x C-f C-x h (The= read-only portion also gets selected!)
4. = C-g
5. C-x C-f C-x h (NOW the read-only por= tion does not get selected as expected)
So why is the cursor-intangible-mode not = enabled in the minibuffer the first time (Step 3)?

Also, would it be wise to enab= le cursor-intangible-mode globally? If not, how can we have that mode alway= s enabled in the minibuffer?=C2=A0


---------= ----------------

On the other hand, I have tested the below as an alternate solut= ion (probably better too as I am not enabling the mode globally) to always = work:

=
(progn
=C2=A0 (s= etq minibuffer-prompt-properties '(read-only t cursor-intangible t face= minibuffer-prompt))
=C2=A0 (add-hook '= minibuffer-setup-hook #'cursor-intangible-mode))

If we want emacs to "do= the right thing", should the above be made default?

--001a1140e84c556e3b052ebd34b9-- From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: 25.0.50; point-entered no longer works Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Mar 2016 21:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: 21874@debbugs.gnu.org Received: via spool by 21874-submit@debbugs.gnu.org id=B21874.145876853729511 (code B ref 21874); Wed, 23 Mar 2016 21:29:01 +0000 Received: (at 21874) by debbugs.gnu.org; 23 Mar 2016 21:28:57 +0000 Received: from localhost ([127.0.0.1]:34837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiqKm-0007fq-MW for submit@debbugs.gnu.org; Wed, 23 Mar 2016 17:28:56 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:40451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiqKk-0007fb-Fx; Wed, 23 Mar 2016 17:28:55 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id u2NLTPOT010453; Wed, 23 Mar 2016 17:29:25 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6859E6051D; Wed, 23 Mar 2016 17:28:53 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Wed, 23 Mar 2016 17:28:53 -0400 In-Reply-To: (Kaushal Modi's message of "Wed, 23 Mar 2016 16:30:05 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5619=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5619> : inlines <4569> : streams <1607741> : uri <2172963> X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) > (defun turn-on-cursor-intangible-mode () > "Turns on cursor-intangible-mode." > (interactive) > (cursor-intangible-mode 1)) (defalias 'turn-on-cursor-intangible-mode #'cursor-intangible-mode) would work just as well. Better yet: just use `cursor-intangible-mode' instead and skip turn-on-cursor-intangible-mode altogether, since it's just redundant. > 3. C-x C-f C-x h (The read-only portion also gets selected!) The minibuffer is not placed in any kind of major mode, so it doesn't enable any globalized minor mode when you enter it. > 5. C-x C-f C-x h (NOW the read-only portion does not get selected as > expected) This is probably because I introduced minibuffer-inactive-mode which does setup a major mode in the minibuffer, tho not when you enter it, but when you leave it, so the globalized mode ends up activated in the *next* minibuffer. > Also, would it be wise to enable cursor-intangible-mode globally? If not, > how can we have that mode always enabled in the minibuffer? (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) > If we want Emacs to "do the right thing", should the above be made default? I personally like the fact that I can occasionally move into the prompt and copy portions of it like any other chunk of text, so I think we should generally (by default) refrain from making text intangible except when *really* needed. Stefan PS: What's with the `point-entered' in the subject? From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: 25.0.50; point-entered no longer works Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Mar 2016 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier , David Reitter Cc: 21874@debbugs.gnu.org Received: via spool by 21874-submit@debbugs.gnu.org id=B21874.14587691384398 (code B ref 21874); Wed, 23 Mar 2016 21:39:02 +0000 Received: (at 21874) by debbugs.gnu.org; 23 Mar 2016 21:38:58 +0000 Received: from localhost ([127.0.0.1]:34850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiqUT-00018s-UM for submit@debbugs.gnu.org; Wed, 23 Mar 2016 17:38:58 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:36655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiqUR-00018c-JQ for 21874@debbugs.gnu.org; Wed, 23 Mar 2016 17:38:55 -0400 Received: by mail-ob0-f172.google.com with SMTP id m7so23461305obh.3 for <21874@debbugs.gnu.org>; Wed, 23 Mar 2016 14:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=88FZHpdu0M3r2Zbp3Z2q0kqCJzEqKg+gxxOpWyZ3l7A=; b=A4riDndWXkOIkpY8NgwOVi/n02hw1T4JoBvn+3yfolmGv4mGWeeKNIpwwSOYjlBdmp a0pLbniI2Wstbdl/ouJV0tyepP+fXUqK4pSVYRzWLZi91fLETRyg7onLZqHaKfY/fYzF WiltWrd6allb3Za8vjm3yT5L7iVXWElDeb5MA5+wEkfaWV8VXdN76v1ZPOqi9EpATl9f H0CkCS4mj98MWahF+uPl9RZcnLVlLdm2aEJMtm4HtbqlxzGSoy/gaJurlUuHNvB3/Hea SDY65R89uaasRKinQ/JOlWKY46fJNknbVbXfPDZusabohaKbMElqZRxI5Mn/rbxAZmXR 6Xxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=88FZHpdu0M3r2Zbp3Z2q0kqCJzEqKg+gxxOpWyZ3l7A=; b=PXm/L87I+8/cvhNHt/2WpqqjVB8Z6RL9kH41EEGP4SL95rIXAMVWzVJ3Mnk2v/YQ9y 17bK8P18kWYWGIn/I4ztIHr81bW8vGPyxPwZ1Uz9jQ95V3ZTkNCM5klqGUq0plw7JPF6 fd2TDcfyP5L2ZkrIaBABAKCdmg1vdoeItZiGtrzPBPIQSy2sT1gmuzUKjsMLT71/87+j bEtCdjV9P/qcMGhlLa9IplgICrALwKj0B7xmn1xF1h139NqQB2C0SCIei3fI4vbCb2aB A33eIRkBa6jX8v9rA5eFmN3K3MhDf9cBD6LTs7g+fnwp/n/JqkWSchf5Dv6SVPe4JPGm SnTw== X-Gm-Message-State: AD7BkJLJ4w5lv9rwX4M7wz28Xg1IyXernW95E1ECNC5eufK/BwxpWCo3Cw9XM+G2SSxf8n16M28kZsXE5mVoqA== X-Received: by 10.182.104.138 with SMTP id ge10mr2752133obb.81.1458769130001; Wed, 23 Mar 2016 14:38:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.172.198 with HTTP; Wed, 23 Mar 2016 14:38:10 -0700 (PDT) In-Reply-To: References: From: Kaushal Modi Date: Wed, 23 Mar 2016 17:38:10 -0400 Message-ID: Content-Type: multipart/alternative; boundary=089e0160c908cd9d42052ebe2710 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e0160c908cd9d42052ebe2710 Content-Type: text/plain; charset=UTF-8 On Wed, Mar 23, 2016 at 5:28 PM, Stefan Monnier wrote: > (defalias 'turn-on-cursor-intangible-mode #'cursor-intangible-mode) > > would work just as well. Better yet: just use `cursor-intangible-mode' > instead and skip turn-on-cursor-intangible-mode altogether, since it's > just redundant. > Thanks! > Also, would it be wise to enable cursor-intangible-mode globally? If not, > > how can we have that mode always enabled in the minibuffer? > (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) Yes, that's what I ended up doing :) The last part of my previous email was an after-thought or an "aha" moment as I was typing the question "how can we have that mode always enabled in the minibuffer?" I personally like the fact that I can occasionally move into the prompt > and copy portions of it like any other chunk of text, so I think we > should generally (by default) refrain from making text intangible except > when *really* needed. OK > PS: What's with the `point-entered' in the subject? I believe that the OP (David)'s primary question was how to get the "cursor-intangible" behavior working in emacs 25.1 because the below does not work as it used to in emacs 24.5: (setq minibuffer-prompt-properties '(read-only t point-entered minibuffer-avoid-prompt)) The secondary question I believe is how to get the above to work in emacs 25.1 (even though point-entered and minibuffer-avoid-prompt are obsolete). @David The fact that the below get the behavior you want, would you consider this bug as closed? (progn (setq minibuffer-prompt-properties '(read-only t cursor-intangible t face minibuffer-prompt)) (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)) -- Kaushal Modi --089e0160c908cd9d42052ebe2710 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Wed, Mar 23, 2016 at 5:28 PM, Stefan Monnier <monnier@iro.umontr= eal.ca> wrote:
(defalias 'turn-on-cursor-intangible-mode #= 'cursor-intangible-mode)

would work just as well.=C2=A0 Better yet: just use `cursor-intangible-mode= '
instead and skip turn-on-cursor-intangible-mode altogether, since it's<= br> just redundant.

Thanks!

> Also, would it be wise to enable cursor-intangible-mode globall= y? If not,
> how= can we have that mode always enabled in the minibuffer?
(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
=
Yes, that's what I ended up= doing :) The last part of my previous email was an after-thought or an &qu= ot;aha" moment as I was typing the question "how can we have that mode always enabled in= the minibuffer?"

I personally like the fact that I can occasionally move into th= e prompt
and copy portions of it= like any other chunk of text, so I think we
should generally (by default) refrain from making text intangi= ble except
when *really* needed.=

OK
=C2=A0
PS: What's with the `point-entered' in the subject?

I believe that the OP (Dav= id)'s primary question was how to get the "cursor-intangible"= behavior working in emacs 25.1 because the below does not work as it used = to in emacs 24.5:

(setq minibuffer-prompt-properties '(read-only t point-enter=
ed minibuffer-avoid-prompt))
The se=
condary question I believe is how to get the above to work in emacs 25.1 (e=
ven though point-entered and minibuffer-avoid-prompt are obsolete).

=
@David The fact that the be= low get the behavior you want, would you consider this bug as closed?

(progn
=C2=A0 (setq minibuffer-prom= pt-properties '(read-only t cursor-intangible t face minibuffer-prompt)= )
=C2=A0 (add-hook 'minibuffer-setup-ho= ok #'cursor-intangible-mode))
--
Kaushal Modi
--089e0160c908cd9d42052ebe2710-- From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: 25.0.50; point-entered no longer works Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Mar 2016 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier , David Reitter Cc: 21874@debbugs.gnu.org Received: via spool by 21874-submit@debbugs.gnu.org id=B21874.145877015712274 (code B ref 21874); Wed, 23 Mar 2016 21:56:02 +0000 Received: (at 21874) by debbugs.gnu.org; 23 Mar 2016 21:55:57 +0000 Received: from localhost ([127.0.0.1]:34866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiqkv-0003Bu-4Y for submit@debbugs.gnu.org; Wed, 23 Mar 2016 17:55:57 -0400 Received: from mail-oi0-f45.google.com ([209.85.218.45]:33720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiqkt-0003Bd-N6 for 21874@debbugs.gnu.org; Wed, 23 Mar 2016 17:55:56 -0400 Received: by mail-oi0-f45.google.com with SMTP id d205so37822406oia.0 for <21874@debbugs.gnu.org>; Wed, 23 Mar 2016 14:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sT9cFX/MDC8m+pfT3yrtjJadPasRmkffpO+c5QYHYlQ=; b=uQ5nkzpE1XtURlnWaLh9SwlsJr3ARl3Ic/5OmWftsWqYkE7xC46bcCkOyFbxaqmL88 xkxuteSzR4FQkLEGAaVHutXEeEy5OZrUauZz07/sU/PpdB5BegQW04c2wHlfu1jwRs55 YVygNrIwJNS0G0t7HZFwk/vgbjWyh73+dRwxBNhUkD2VV7DyymBscEx8acVI99zr2mvy +k2CjqkK9hGBYBSwj5/bZWB1Iv1mHFkdGCS34IaCe5nz40poxNZJJ426lB+j4Tv5Bzqh CLnk1FI44/wT1LH/LITNlM0tCmUVTVSDWo0L0FdOQQQl3OsL1qE6QmITlx3B97T7DWBd fZeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sT9cFX/MDC8m+pfT3yrtjJadPasRmkffpO+c5QYHYlQ=; b=ZONTZOCmn8P+y3LiXuJef3ow6PhQZ5o+DFwfSGZeVxmSLLNDY3Pvysrld4EdcwA3Ah bTESFkYnNDrSVMYn97axpb7+Yuwxx/7mu0kps2Vi8shtofSRX0nCzfFNAfWsGWYhCLgx yYlcgv4tQRwTSoddNQNKVcHkA3G+oYUOfaAcAHCpzRuw2DxpPspjE/iXeiBhGe7/tgJ9 coJ5jRqcZ/koi9/nqsObIroWtQPeoCQGn7l65QMRHKiJJQqoCUyCwZ93E31GZi30aRzq XwM3I/e2x6hWeD/Xhhx9EXB23TX9baN/EfHliT822g7SS/df7XgS2eo7ntsP5KKHyJHP 9bYQ== X-Gm-Message-State: AD7BkJJF3VTIO/ACCNcu/+hJ6r3Df+8aiuTduA5pKbnXQIj0dW6BBzF6/gbq02s35pKVBwZoh6kMTGteOuOs2g== X-Received: by 10.202.197.66 with SMTP id v63mr555286oif.23.1458770150064; Wed, 23 Mar 2016 14:55:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.172.198 with HTTP; Wed, 23 Mar 2016 14:55:10 -0700 (PDT) In-Reply-To: References: From: Kaushal Modi Date: Wed, 23 Mar 2016 17:55:10 -0400 Message-ID: Content-Type: multipart/alternative; boundary=001a113e4d629a8854052ebe64f0 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a113e4d629a8854052ebe64f0 Content-Type: text/plain; charset=UTF-8 @Stefan With respect to: > > I personally like the fact that I can occasionally move into the prompt > and copy portions of it like any other chunk of text, so I think we > should generally (by default) refrain from making text intangible except > when *really* needed. How about setting the below as default: (setq minibuffer-prompt-properties '(read-only t cursor-intangible t face minibuffer-prompt)) I find having the above very risky in user config because it simply overrides whatever the default value of minibuffer-prompt-properties would be. Also using setq/defcustom is the best way; append/add-to-list/setcdr will not work very well because of the format of this variable's value. What I mean is that the list manipulation would have been much more convenient from the user end without risking complete override of the default value, had it been in an alist format like below: (setq minibuffer-prompt-properties '((read-only t) (cursor-intangible t) (face minibuffer-prompt))) The user then needs to add just one line to their config if they want to make the minibuffer prompts untouchable. (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) If you don't have that add-hook in your config, you will get the behavior you want, correct? Summary: (1) Proposal to set the default value of minibuffer-prompt-properties to '(read-only t cursor-intangible t face minibuffer-prompt). I believe this should go in emacs-25, not master. (2) User can then put the following in their config to get untouchable minibuffer prompts: (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) --001a113e4d629a8854052ebe64f0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
@Stefan With respect to:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pa= dding-left:1ex">
I personally like the = fact that I can occasionally move into the prompt
and copy portions of it like any other chunk of text, so = I think we
should generally (by = default) refrain from making text intangible except
when *really* needed.

How about setting the below as default:

=C2=A0 =C2=A0 (setq minib= uffer-prompt-properties '(read-only t cursor-intangible t face minibuff= er-prompt))

I find having the above very risky in user = config because it simply overrides whatever the default value of minibuffer= -prompt-properties would be. Also using setq/defcustom is the best way; app= end/add-to-list/setcdr will not work very well because of the format of thi= s variable's value. What I mean is that the list manipulation would hav= e been much more convenient from the user end without risking complete over= ride of the default value, had it been in an alist format like below:
=

=C2=A0 =C2=A0 (setq minibuffer-prompt-properties &= #39;((read-only t)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0(cursor-intangible t)
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(face minibuffer= -prompt)))


The user then need= s to add just one line to their config if they want to make the minibuffer = prompts untouchable.

=C2=A0 =C2=A0 (add-hook 'minibuffer-setup-hook #= 'cursor-intangible-mode)

If you don't have that= add-hook in your config, you will get the behavior you want, correct?
=C2=A0
Summary:
(1) Proposal to set the defau= lt value of minibuffer-prompt-properties to=C2=A0'(read-only t cursor-intangible t face minibu= ffer-prompt). I believe this should go in emacs-25, not master.
(2) User can then put the following in their config to get untouchabl= e minibuffer prompts:=C2=A0(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
--001a113e4d629a8854052ebe64f0-- From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: 25.0.50; point-entered no longer works Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Mar 2016 00:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: David Reitter , 21874@debbugs.gnu.org Received: via spool by 21874-submit@debbugs.gnu.org id=B21874.145877926827159 (code B ref 21874); Thu, 24 Mar 2016 00:28:02 +0000 Received: (at 21874) by debbugs.gnu.org; 24 Mar 2016 00:27:48 +0000 Received: from localhost ([127.0.0.1]:34903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ait7s-00073y-5T for submit@debbugs.gnu.org; Wed, 23 Mar 2016 20:27:48 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:8289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ait7p-00073i-9n for 21874@debbugs.gnu.org; Wed, 23 Mar 2016 20:27:46 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A1FgA731xV/5a2xEVcgxCEAoVVwwsEAgKBPDwRAQEBAQEBAYEKQQWDXQEBBFYjEAs0EhQYDSSIP88jAQEBBwIBH4s6hQUHhC0BBJ8XhmmNP4FFI4QUIoJ4AQEB X-IPAS-Result: A0A1FgA731xV/5a2xEVcgxCEAoVVwwsEAgKBPDwRAQEBAQEBAYEKQQWDXQEBBFYjEAs0EhQYDSSIP88jAQEBBwIBH4s6hQUHhC0BBJ8XhmmNP4FFI4QUIoJ4AQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="198131333" Received: from 69-196-182-150.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.182.150]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Mar 2016 20:27:39 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id CADA9AE242; Wed, 23 Mar 2016 20:27:36 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Wed, 23 Mar 2016 20:27:36 -0400 In-Reply-To: (Kaushal Modi's message of "Wed, 23 Mar 2016 17:55:10 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > (setq minibuffer-prompt-properties '((read-only t) > (cursor-intangible t) > (face minibuffer-prompt))) > > The user then needs to add just one line to their config if they want to > make the minibuffer prompts untouchable. I kind of find it a poor choice, since it sets a property which just happens to be unused. > (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) A user might do this for other reasons and might find the side-effect unexpected. Note that setting minibuffer-prompt-properties via Custom will automatically do this `add-hook' when needed. Stefan From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: 25.0.50; point-entered no longer works Resent-From: David Reitter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Mar 2016 02:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kaushal Modi Cc: 21874@debbugs.gnu.org, Stefan Monnier Received: via spool by 21874-submit@debbugs.gnu.org id=B21874.14587856804476 (code B ref 21874); Thu, 24 Mar 2016 02:15:01 +0000 Received: (at 21874) by debbugs.gnu.org; 24 Mar 2016 02:14:40 +0000 Received: from localhost ([127.0.0.1]:34936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiunI-0001A6-Cu for submit@debbugs.gnu.org; Wed, 23 Mar 2016 22:14:40 -0400 Received: from mail-qk0-f178.google.com ([209.85.220.178]:33266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiunG-00019o-6J for 21874@debbugs.gnu.org; Wed, 23 Mar 2016 22:14:38 -0400 Received: by mail-qk0-f178.google.com with SMTP id s5so14730224qkd.0 for <21874@debbugs.gnu.org>; Wed, 23 Mar 2016 19:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=VSnosmGAnVLWg1BsG42OQpbE8cnyQpBtD4UY7innwoo=; b=fhKpWtqVcHwyJT8qpQxrfvY0oNAGoCSILy5BQZVv99btW+e9TKCm6hmtwGJz/13NAp dAeXYrTJSLdgr6SCPK9tyKk7XMh8yVn4vEDPP05jp5jw4NqO1o4jPmV3g/DTMwR8kWxh izH71pvVIGDYcuAQ2l6xZedky5lPUn/pVN9hEHkNsVcVctULb/fLb0xfFoFrTHG2qp5F 1ljyCojSIx3jnTYeD5eBtCrc0wPJgKCyqTu429lah7KgxErAHqsfAOxQOJUCAvUv8nu1 pV0bTD71Rlfeb0tZZ2ckTo5RZ1wipA7IAu/beS48uf35S8Pmzhfg43kOnyAp/Rzt/p54 t8QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=VSnosmGAnVLWg1BsG42OQpbE8cnyQpBtD4UY7innwoo=; b=JG0pkNz4Pq750fjVk8Y8PN2YYv438RLlvjmjhEaPLS2Utyoe2HufkBq0dKZn0UXmVW uBfOAVpee4N/4DFm2x7H4XTc3HYdKvOktOGFUWRhbtMFtZ+28TRTnm4APOUM9USo/8yu ppVTmOnBmxzU1mP4qIKTWi0jF1BrJvpeqTJFFBFZxf+AM8xBJ/UuBIOmEfFWR83FpPYi IA1acZREec+j7BX5Kwp9g+tM6QXoeB2gsmpwONhRN2Lh5YGe9DsbKBsXahcm47rXfdRm AdtvUJzfpAm/3a2fnDq7eb51ufNS0gpUUPGqi+pJlWidL0N8KkKlyvnzPsFmk3QlHmjp rhNw== X-Gm-Message-State: AD7BkJL9tf632Wu0S1+Y/FvN5PRfZFxuUfGCXPXuD7kd2rcig1NtrpQO80+IzOjcgA3XDg== X-Received: by 10.55.74.14 with SMTP id x14mr7696158qka.70.1458785672818; Wed, 23 Mar 2016 19:14:32 -0700 (PDT) Received: from [10.0.1.7] (c-71-58-212-112.hsd1.pa.comcast.net. [71.58.212.112]) by smtp.gmail.com with ESMTPSA id c2sm2401886qkb.41.2016.03.23.19.14.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2016 19:14:31 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: David Reitter In-Reply-To: Date: Wed, 23 Mar 2016 22:14:30 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: X-Mailer: Apple Mail (2.3124) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mar 23, 2016, at 5:38 PM, Kaushal Modi = wrote: >=20 > @David The fact that the below get the behavior you want, would you = consider this bug as closed? Well, it was surprising that cursor-intangible as a property wasn=E2=80=99= t sufficient until the mode was enabled. I can see why one would design = it that way. So, in order to not have people bump into errors all the time (which, = IIRC, also are displayed in the echo area, overwriting the mini buffer = that the user is working on at that very moment), I would still suggest = that this protection be made default. (I=E2=80=99ve had that in = Aquamacs for a long time.) Stefan=E2=80=99s desire to copy the prompt is the exception (perhaps = because he=E2=80=99s working on and maybe teaching Emacs). The user who = wants to delete the whole text behind the prompt to replace it, or = mark-all and delete selection, or C-a to the beginning and so on, this = user is the norm. We should think about that use case first. - D= From debbugs-submit-bounces@debbugs.gnu.org Sat May 21 22:07:14 2016 Received: (at control) by debbugs.gnu.org; 22 May 2016 02:07:14 +0000 Received: from localhost ([127.0.0.1]:60299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4InR-0008Ib-Qy for submit@debbugs.gnu.org; Sat, 21 May 2016 22:07:13 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4InQ-0008IL-FG for control@debbugs.gnu.org; Sat, 21 May 2016 22:07:12 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 505801612CA for ; Sat, 21 May 2016 19:07:03 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id MqO7i-2cDMGy for ; Sat, 21 May 2016 19:07:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 834F316132A for ; Sat, 21 May 2016 19:07:02 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FBcGUCdrMdNy for ; Sat, 21 May 2016 19:07:02 -0700 (PDT) Received: from [192.168.1.9] (unknown [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 6A2FB1612CA for ; Sat, 21 May 2016 19:07:02 -0700 (PDT) To: control@debbugs.gnu.org From: Paul Eggert Subject: 21874 shouldn't block Emacs 25 Organization: UCLA Computer Science Department Message-ID: <57411446.709@cs.ucla.edu> Date: Sat, 21 May 2016 19:07:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) unblock 19759 by 21874 From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: 25.0.50; point-entered no longer works References: <585B558E-8150-489D-B4B2-CBD50AF46BF8@gmail.com> In-Reply-To: <585B558E-8150-489D-B4B2-CBD50AF46BF8@gmail.com> Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2016 02:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21874@debbugs.gnu.org Received: via spool by 21874-submit@debbugs.gnu.org id=B21874.146388322032677 (code B ref 21874); Sun, 22 May 2016 02:14:01 +0000 Received: (at 21874) by debbugs.gnu.org; 22 May 2016 02:13:40 +0000 Received: from localhost ([127.0.0.1]:60304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4Itg-0008Uz-Hg for submit@debbugs.gnu.org; Sat, 21 May 2016 22:13:40 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4Itf-0008Um-2q for 21874@debbugs.gnu.org; Sat, 21 May 2016 22:13:39 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9F19D1612CA for <21874@debbugs.gnu.org>; Sat, 21 May 2016 19:13:33 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 2C-28LW86l7G for <21874@debbugs.gnu.org>; Sat, 21 May 2016 19:13:32 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9A86B16132A for <21874@debbugs.gnu.org>; Sat, 21 May 2016 19:13:32 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xeS2C7WLKnLv for <21874@debbugs.gnu.org>; Sat, 21 May 2016 19:13:32 -0700 (PDT) Received: from [192.168.1.9] (unknown [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 80F841612CA for <21874@debbugs.gnu.org>; Sat, 21 May 2016 19:13:32 -0700 (PDT) From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <574115CC.1050509@cs.ucla.edu> Date: Sat, 21 May 2016 19:13:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Bug#21874 was listed as a blocker for Emacs 25, but in looking over it it= =20 appears to be more of a wishlist item. Eli suggested in=20 to = unblock=20 it and I tend to agree, so I've done that. From debbugs-submit-bounces@debbugs.gnu.org Sun May 22 12:35:35 2016 Received: (at control) by debbugs.gnu.org; 22 May 2016 16:35:35 +0000 Received: from localhost ([127.0.0.1]:32980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4WLn-00007y-Mu for submit@debbugs.gnu.org; Sun, 22 May 2016 12:35:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4WLm-00007l-46 for control@debbugs.gnu.org; Sun, 22 May 2016 12:35:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4WLc-00083X-6U for control@debbugs.gnu.org; Sun, 22 May 2016 12:35:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4WLc-000824-25 for control@debbugs.gnu.org; Sun, 22 May 2016 12:35:24 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2342 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b4WLa-0003Ob-61 for control@debbugs.gnu.org; Sun, 22 May 2016 12:35:22 -0400 Date: Sun, 22 May 2016 19:35:19 +0300 Message-Id: <8337pa6ofs.fsf@gnu.org> From: Eli Zaretskii To: control@debbugs.gnu.org Subject: Unblock X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) unblock 19759 by 17976 unblock 19759 by 19548 unblock 19759 by 21182 unblock 19759 by 21650 unblock 19759 by 21871 unblock 19759 by 21874 unblock 19759 by 22107 unblock 19759 by 22147 unblock 19759 by 22338 thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 29 18:30:47 2017 Received: (at control) by debbugs.gnu.org; 29 Jan 2017 23:30:47 +0000 Received: from localhost ([127.0.0.1]:50523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXyvm-000391-Su for submit@debbugs.gnu.org; Sun, 29 Jan 2017 18:30:47 -0500 Received: from mail-io0-f170.google.com ([209.85.223.170]:35160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXyvk-000322-HT for control@debbugs.gnu.org; Sun, 29 Jan 2017 18:30:44 -0500 Received: by mail-io0-f170.google.com with SMTP id j18so96607700ioe.2 for ; Sun, 29 Jan 2017 15:30:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=X/1C8KXtKUGTJHP4Jp5k5Dan+dhCsGIvoNEkpfdAXIM=; b=Fb8T1n/0SCjeV43ulTwTkjpyy+C9ebrAVx611tOXw2GyqwTc+V33gFImJfCEzKDFyf TKnRPo+Zx/imNTQJX5gzOXPbrhKYyVD4M233tfa81VfZcOdGxUVd76GOBr8jZ5AJYhvU HzByWvwlLpk5BnmXOvdBwXtrPEh41qHA60q4fvbJLasIXqaL+roBRDCQuDNz/ZHcP4IU kSBhzw0bCx0+fnwKzt5VlYr8WXa2femskAZZXWzaYpCqcgYh68UYbV2ml6irY4CuJRHv hehR01mTS5Ia+Giind+MJvus0AoDPJzg7kjEGAFZckU4xkioJTjsbMM16bh7HWhKwt7r uvVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=X/1C8KXtKUGTJHP4Jp5k5Dan+dhCsGIvoNEkpfdAXIM=; b=Y/qbEntpA0Xp4+Sk63sH5LXZdacNYAxsqVlkOjSDYlEQDOIsWFL+5hpnL5Hna7uvPG avvkqv7oSB+vdKuYwxYP8MHhXJP/ZrAwnGgKm+LQlIJwJF8RSawsrQqgE+IeRplSNcXw JadHk2PDvHHAVLYQBYejyMwgVhMcfNQhoTGOw5q8kfvbwzk8tKaNsA+5oG8PgXkomZS1 bNQoSKXFMkgGzqnf7e0EbBPV4w1rMdTAG1QRW1O5gOoe9y2sqAeJc34cKTYgkEgF2g+f AnGq9LTRgxlKQL0Pb3vYO3SUE9SXvPe1QYDTZQH32OLjp+R5BQCjW5bqWTClGMITjRrJ iLEA== X-Gm-Message-State: AIkVDXKH1xfAS58x61p3zPTCK1swK7PwiNUasl0mUOIIUQIBowPbZpkBhIsHKjFpFt0NCg== X-Received: by 10.107.47.97 with SMTP id j94mr18655052ioo.8.1485732638975; Sun, 29 Jan 2017 15:30:38 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 62sm7291193itl.1.2017.01.29.15.30.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Jan 2017 15:30:38 -0800 (PST) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #21874 Date: Sun, 29 Jan 2017 18:31:46 -0500 Message-ID: <87zii9qw7x.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) retitle 21874 `backward-char' can move point into minibuffer prompt by default severity 21874 wishlist quit From unknown Tue Aug 19 21:02:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21874: `backward-char' can move point into minibuffer prompt by default Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Feb 2022 10:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David Reitter Cc: 21874@debbugs.gnu.org Received: via spool by 21874-submit@debbugs.gnu.org id=B21874.164492237812236 (code B ref 21874); Tue, 15 Feb 2022 10:53:02 +0000 Received: (at 21874) by debbugs.gnu.org; 15 Feb 2022 10:52:58 +0000 Received: from localhost ([127.0.0.1]:43654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJvS6-0003BI-AF for submit@debbugs.gnu.org; Tue, 15 Feb 2022 05:52:58 -0500 Received: from quimby.gnus.org ([95.216.78.240]:47908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJvRt-0003AY-Rl for 21874@debbugs.gnu.org; Tue, 15 Feb 2022 05:52:56 -0500 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=QjoDApqZmyn6HP3gpEhvuLKYq9bqgTaJl49OaUmE4Uo=; b=JoSFRIWbt2RcCy5VuyeRGQmKnY pMlBWsBd8UWAIgWjwc8hxVdhwPAExj8KyEZFq/Qw1LVPWGGJJL2IgXCBSX20eO/+R2LG0XEgylvMA S8IA6/WnYIXLDDOvz0lrdfxFKbrIT3EdAA0PXzwHCHpKx8qX2kkN1Ac10httdf1E6ZzM=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJvRl-0000e2-0C; Tue, 15 Feb 2022 11:52:39 +0100 From: Lars Ingebrigtsen References: <585B558E-8150-489D-B4B2-CBD50AF46BF8@gmail.com> X-Now-Playing: That Dog's _Totally Crushed Out_: "To Keep Me" Date: Tue, 15 Feb 2022 11:52:36 +0100 In-Reply-To: <585B558E-8150-489D-B4B2-CBD50AF46BF8@gmail.com> (David Reitter's message of "Tue, 10 Nov 2015 18:27:22 -0500") Message-ID: <87mtiso0zv.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: David Reitter writes: > Setting minibuffer-prompt-properties to the new `cursor-intangible' > fixes the cursor movement issue and C-x h. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) David Reitter writes: > Setting minibuffer-prompt-properties to the new `cursor-intangible' > fixes the cursor movement issue and C-x h. (I'm going through old bug reports that unfortunately weren't resolved at the time.) `C-x h' only copies the bit after the prompt in Emacs 28. >> (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) > > A user might do this for other reasons and might find the > side-effect unexpected. > > Note that setting minibuffer-prompt-properties via Custom will > automatically do this `add-hook' when needed. Skimming this bug report, I think everything here works as designed, and I'm therefore closing it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 15 05:52:55 2022 Received: (at control) by debbugs.gnu.org; 15 Feb 2022 10:52:55 +0000 Received: from localhost ([127.0.0.1]:43652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJvS3-0003B1-5B for submit@debbugs.gnu.org; Tue, 15 Feb 2022 05:52:55 -0500 Received: from quimby.gnus.org ([95.216.78.240]:47922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJvS1-0003Al-Qd for control@debbugs.gnu.org; Tue, 15 Feb 2022 05:52:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nKLmzXqU/nwWcUc19vl9n3fiTb5bEpu//6yxHoR3U2Q=; b=AjXZ/l8tyQoRMh1Qu8/5Ac919U jvLu+bpfFXxWcNyfGhxvF3m+UGi+bBJDOLgM2jUet1pzNWM2vnfRPH5j5dvBv5gCRDQCTzF7As2Fa yaioceaPNnAtBcAcwQjAklcPKkG0ePdh7NMZYerWzTMv5peyjFaOm0/YV0O7LCnggIZI=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJvRt-0000eB-TB for control@debbugs.gnu.org; Tue, 15 Feb 2022 11:52:48 +0100 Date: Tue, 15 Feb 2022 11:52:43 +0100 Message-Id: <87leyco0zo.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21874 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 21874 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 21874 quit