X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: "MT" <mt_void@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 26 Aug 2010 14:51:02 +0000 Resent-Message-ID: <handler.6922.B.12828342499902 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6922 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.12828342499902 (code B ref -1); Thu, 26 Aug 2010 14:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Aug 2010 14:50:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Oodmy-0002Zf-RI for submit <at> debbugs.gnu.org; Thu, 26 Aug 2010 10:50:49 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <mt_void@HIDDEN>) id 1Oodhw-0002XV-1d for submit <at> debbugs.gnu.org; Thu, 26 Aug 2010 10:45:37 -0400 Received: from lists.gnu.org ([199.232.76.165]:34030) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <mt_void@HIDDEN>) id 1OodjJ-0003Bc-Cv for submit <at> debbugs.gnu.org; Thu, 26 Aug 2010 10:47:01 -0400 Received: from [140.186.70.92] (port=59394 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OodjH-0000f9-W5 for bug-gnu-emacs@HIDDEN; Thu, 26 Aug 2010 10:47:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from <mt_void@HIDDEN>) id 1OodjG-00010v-K3 for bug-gnu-emacs@HIDDEN; Thu, 26 Aug 2010 10:46:59 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:49281) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from <mt_void@HIDDEN>) id 1OodjG-00010J-Gl for bug-gnu-emacs@HIDDEN; Thu, 26 Aug 2010 10:46:58 -0400 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 601CA4CD for <bug-gnu-emacs@HIDDEN>; Thu, 26 Aug 2010 10:46:56 -0400 (EDT) Received: from web3.messagingengine.com ([10.202.2.213]) by compute1.internal (MEProxy); Thu, 26 Aug 2010 10:46:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:mime-version:content-transfer-encoding:content-type:subject:date; s=smtpout; bh=Ne5C6Cu+wNbJunmYNJ1zkw0nZZU=; b=ZzJdQjDV/LluPB0yjtRBjQS3l2aJFw+NALCnZ3j6H6/YOgaKBdgFaMsq2OHm+00YAQQM8Ay32YzvYFapWas6lhR3tNboZcC0prrk0cp+4TmSy4kmiV8tTXCCO79kpJaEcY5VD3regtRW0b3zW406ibqyG/8p2qTKtUVBeoVHZ24= Received: by web3.messagingengine.com (Postfix, from userid 99) id 3E555AA09D8; Thu, 26 Aug 2010 10:46:56 -0400 (EDT) Message-Id: <1282834016.22363.1391876553@HIDDEN> X-Sasl-Enc: HsOzXMTnL2rNAf9Rhs5nbKjGYKJIu13a5AvlVtHs1J4J 1282834016 From: "MT" <mt_void@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface Date: Thu, 26 Aug 2010 16:46:56 +0200 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Thu, 26 Aug 2010 10:50:48 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.9 (-----) If I create an overlay in a buffer and set the 'read-only' property to t, it seems to make no difference, and I can still make changes to the text in the region where the overlay is active. Setting other overlay properties does have an effect. Setting the read-only property as a text property however works as expected. To demonstrate: 1. Type some text in an empty buffer. 2. (setq overlay (make-overlay 1 10)) ; Creates an overlay in this buffer between positions 1-10 named 'overlay' 3. (overlay-put overlay 'read-only t) ; Applies the read-only property to this overlay. 4. Type some characters at the beginning of the buffer. Emacs doesn't complain that the text is read-only, and text is edited as normal. I do this instead: (put-text-property 1 10 'read-only t) ; Apply the read-only property as a text property rather than an overlay Now if I try typing text in the same region as before, Emacs prevents me from doing so and says 'Text is read-only'. In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-03-29 on rothera, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: C value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_IN.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m a c s - b u g <return> Recent messages: Setting up ede... Loading `eieio': old-style backquotes detected! Setting up ede...done Setting up eieio...done Setting up semantic...done Setting up speedbar...done Setting up cedet-contrib...done Loading /etc/emacs/site-start.d/55ecb.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. /usr/bin/mail is not an executable. Setting mail-interactive to t. -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "MT" <mt_void@HIDDEN> Subject: bug#6922: Acknowledgement (23.1; Setting read-only property in an overlay has no effect) Message-ID: <handler.6922.B.12828342499902.ack <at> debbugs.gnu.org> References: <1282834016.22363.1391876553@HIDDEN> X-Gnu-PR-Message: ack 6922 X-Gnu-PR-Package: emacs Reply-To: 6922 <at> debbugs.gnu.org Date: Thu, 26 Aug 2010 14:51:02 +0000 Thank you for filing a new bug report with GNU. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 6922 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 6922: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6922 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Johan =?UTF-8?Q?Bockg=C3=A5rd?= <bojohan@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 10 Dec 2011 12:12:01 +0000 Resent-Message-ID: <handler.6922.B6922.132351906213282 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6922 <at> debbugs.gnu.org Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.132351906213282 (code B ref 6922); Sat, 10 Dec 2011 12:12:01 +0000 Received: (at 6922) by debbugs.gnu.org; 10 Dec 2011 12:11:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RZLlc-0003Ru-R1 for submit <at> debbugs.gnu.org; Sat, 10 Dec 2011 07:11:01 -0500 Received: from smtprelay-b21.telenor.se ([195.54.99.212]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <bojohan@HIDDEN>) id 1RZLlZ-0003Rd-GG for 6922 <at> debbugs.gnu.org; Sat, 10 Dec 2011 07:10:58 -0500 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b21.telenor.se (Postfix) with ESMTP id 16752D1D0 for <6922 <at> debbugs.gnu.org>; Sat, 10 Dec 2011 13:09:55 +0100 (CET) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.228.192.166] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvHIALRL405V5MCmPGdsb2JhbABDjEOWNIZdgScZAQEBATcygXIBAQEBAwECUzMLISUPAQQUBAEMCog3BrUliFODGgSSTJRN X-IronPort-AV: E=Sophos;i="4.71,331,1320620400"; d="scan'208";a="13754812" Received: from c-a6c0e455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.192.166]) by ipb3.telenor.se with ESMTP; 10 Dec 2011 13:09:46 +0100 Received: by muon.localdomain (Postfix, from userid 1000) id 1FEB648445A; Sat, 10 Dec 2011 13:09:45 +0100 (CET) From: Johan =?UTF-8?Q?Bockg=C3=A5rd?= <bojohan@HIDDEN> References: <1282834016.22363.1391876553@HIDDEN> Mail-Copies-To: never Date: Sat, 10 Dec 2011 13:09:44 +0100 In-Reply-To: <1282834016.22363.1391876553@HIDDEN> (MT's message of "Thu, 26 Aug 2010 16:46:56 +0200") Message-ID: <87aa70fx13.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.4 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.4 (--) Cf. the discussion on emacs-devel http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01498.html
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Marcin Borkowski <mbork@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 18 Jan 2016 21:31:01 +0000 Resent-Message-ID: <handler.6922.B6922.14531526106153 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6922 <at> debbugs.gnu.org Cc: MT <mt_void@HIDDEN> Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.14531526106153 (code B ref 6922); Mon, 18 Jan 2016 21:31:01 +0000 Received: (at 6922) by debbugs.gnu.org; 18 Jan 2016 21:30:10 +0000 Received: from localhost ([127.0.0.1]:53228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aLHNJ-0001b9-Q2 for submit <at> debbugs.gnu.org; Mon, 18 Jan 2016 16:30:10 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:44131) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <mbork@HIDDEN>) id 1aLHNH-0001az-Q1 for 6922 <at> debbugs.gnu.org; Mon, 18 Jan 2016 16:30:08 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id CA5718F2023; Mon, 18 Jan 2016 22:30:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 55DAmu-o9Dsu; Mon, 18 Jan 2016 22:29:57 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id E14578F2020; Mon, 18 Jan 2016 22:29:56 +0100 (CET) From: Marcin Borkowski <mbork@HIDDEN> References: <1282834016.22363.1391876553@HIDDEN> Date: Mon, 18 Jan 2016 22:29:53 +0100 In-Reply-To: <1282834016.22363.1391876553@HIDDEN> (MT's message of "Thu, 26 Aug 2010 16:46:56 +0200") Message-ID: <87wpr67ezy.fsf@HIDDEN> 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.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) For the record, the problem persists in GNU Emacs 25.1.50.1. Neither seems there to be any change in the manual (as RMS suggested in the discussion at http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01598.html). Regards, Marcin Borkowski On 2010-08-26, at 17:46, "MT" <mt_void@HIDDEN> wrote: > If I create an overlay in a buffer and set the 'read-only' property to > t, it seems to make no difference, and I can still make changes to the > text in the region where the overlay is active. Setting other overlay > properties does have an effect. Setting the read-only property as a text > property however works as expected. > > To demonstrate: > 1. Type some text in an empty buffer. > 2. (setq overlay (make-overlay 1 10)) ; Creates an overlay in this > buffer between positions 1-10 named 'overlay' > 3. (overlay-put overlay 'read-only t) ; Applies the read-only property > to this overlay. > 4. Type some characters at the beginning of the buffer. Emacs doesn't > complain that the text is read-only, and text is edited as normal. > > I do this instead: > (put-text-property 1 10 'read-only t) ; Apply the read-only property > as a text property rather than an overlay > Now if I try typing text in the same region as before, Emacs prevents me > from doing so and says 'Text is read-only'. > > > > In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) > of 2010-03-29 on rothera, modified by Debian > Windowing system distributor `The X.Org Foundation', version > 11.0.10706000 > configured using `configure '--build=i486-linux-gnu' > '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' > '--libexecdir=/usr/lib' '--localstatedir=/var/lib' > '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' > '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' > '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' > 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' > 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: C > value of $LC_TIME: en_DK.UTF-8 > value of $LANG: en_IN.UTF-8 > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default-enable-multibyte-characters: t > > Major mode: Fundamental > > Minor modes in effect: > tooltip-mode: t > tool-bar-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > blink-cursor-mode: t > global-auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > M-x r e p o r t - e m a c s - b u g <return> > > Recent messages: > Setting up ede... > Loading `eieio': old-style backquotes detected! > Setting up ede...done > Setting up eieio...done > Setting up semantic...done > Setting up speedbar...done > Setting up cedet-contrib...done > Loading /etc/emacs/site-start.d/55ecb.el (source)...done > For information about GNU Emacs and the GNU system, type C-h C-a. > /usr/bin/mail is not an executable. Setting mail-interactive to t.
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 20 Jan 2016 18:01:02 +0000 Resent-Message-ID: <handler.6922.B6922.145331281219841 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Marcin Borkowski <mbork@HIDDEN>, John Wiegley <johnw@HIDDEN>, Richard Stallman <rms@HIDDEN> Cc: mt_void@HIDDEN, 6922 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145331281219841 (code B ref 6922); Wed, 20 Jan 2016 18:01:02 +0000 Received: (at 6922) by debbugs.gnu.org; 20 Jan 2016 18:00:12 +0000 Received: from localhost ([127.0.0.1]:55501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aLx3D-00059x-N2 for submit <at> debbugs.gnu.org; Wed, 20 Jan 2016 13:00:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33823) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <eliz@HIDDEN>) id 1aLx3B-00059h-SA for 6922 <at> debbugs.gnu.org; Wed, 20 Jan 2016 13:00:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aLx35-00047k-RI for 6922 <at> debbugs.gnu.org; Wed, 20 Jan 2016 13:00:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 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]:56962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aLx2z-0003zE-UD; Wed, 20 Jan 2016 12:59:57 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3787 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1aLx2s-0000JF-HH; Wed, 20 Jan 2016 12:59:51 -0500 Date: Wed, 20 Jan 2016 20:00:01 +0200 Message-Id: <837fj49lni.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <87wpr67ezy.fsf@HIDDEN> (message from Marcin Borkowski on Mon, 18 Jan 2016 22:29:53 +0100) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> 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: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) > From: Marcin Borkowski <mbork@HIDDEN> > Date: Mon, 18 Jan 2016 22:29:53 +0100 > Cc: MT <mt_void@HIDDEN> > > For the record, the problem persists in GNU Emacs 25.1.50.1. Neither > seems there to be any change in the manual (as RMS suggested in the > discussion at > http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01598.html). What is the current consensus? should we adjust the documentation or fix the code? John? Richard? Which other overlay properties don't cause exactly the same effect as the corresponding text properties?
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Richard Stallman <rms@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 21 Jan 2016 03:03:01 +0000 Resent-Message-ID: <handler.6922.B6922.145334535816695 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: mt_void@HIDDEN, johnw@HIDDEN, mbork@HIDDEN, 6922 <at> debbugs.gnu.org Reply-To: rms@HIDDEN Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145334535816695 (code B ref 6922); Thu, 21 Jan 2016 03:03:01 +0000 Received: (at 6922) by debbugs.gnu.org; 21 Jan 2016 03:02:38 +0000 Received: from localhost ([127.0.0.1]:55697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aM5WA-0004LD-5b for submit <at> debbugs.gnu.org; Wed, 20 Jan 2016 22:02:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43159) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <rms@HIDDEN>) id 1aM5W9-0004L0-2T for 6922 <at> debbugs.gnu.org; Wed, 20 Jan 2016 22:02:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rms@HIDDEN>) id 1aM5W3-0006em-72 for 6922 <at> debbugs.gnu.org; Wed, 20 Jan 2016 22:02:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 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]:36204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rms@HIDDEN>) id 1aM5Vs-0006Ut-Cc; Wed, 20 Jan 2016 22:02:20 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rms@HIDDEN>) id 1aM5Vr-0006bp-D2; Wed, 20 Jan 2016 22:02:19 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman <rms@HIDDEN> In-reply-to: <837fj49lni.fsf@HIDDEN> (message from Eli Zaretskii on Wed, 20 Jan 2016 20:00:01 +0200) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> Message-Id: <E1aM5Vr-0006bp-D2@HIDDEN> Date: Wed, 20 Jan 2016 22:02:19 -0500 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: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I have not been looking at this issue. Do I need to? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 21 Jan 2016 17:34:03 +0000 Resent-Message-ID: <handler.6922.B6922.14533976369443 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: rms@HIDDEN Cc: mt_void@HIDDEN, johnw@HIDDEN, mbork@HIDDEN, 6922 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.14533976369443 (code B ref 6922); Thu, 21 Jan 2016 17:34:03 +0000 Received: (at 6922) by debbugs.gnu.org; 21 Jan 2016 17:33:56 +0000 Received: from localhost ([127.0.0.1]:56664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aMJ7M-0002SF-FF for submit <at> debbugs.gnu.org; Thu, 21 Jan 2016 12:33:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35732) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <eliz@HIDDEN>) id 1aMJ7L-0002S4-Pv for 6922 <at> debbugs.gnu.org; Thu, 21 Jan 2016 12:33:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aMJ7C-0001UY-5O for 6922 <at> debbugs.gnu.org; Thu, 21 Jan 2016 12:33:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 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]:49080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aMJ74-0001TR-Os; Thu, 21 Jan 2016 12:33:38 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4440 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1aMJ6x-0000lA-MJ; Thu, 21 Jan 2016 12:33:32 -0500 Date: Thu, 21 Jan 2016 19:33:46 +0200 Message-Id: <83oace96rp.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <E1aM5Vr-0006bp-D2@HIDDEN> (message from Richard Stallman on Wed, 20 Jan 2016 22:02:19 -0500) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <E1aM5Vr-0006bp-D2@HIDDEN> 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: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) > From: Richard Stallman <rms@HIDDEN> > CC: mbork@HIDDEN, johnw@HIDDEN, 6922 <at> debbugs.gnu.org, > mt_void@HIDDEN > Date: Wed, 20 Jan 2016 22:02:19 -0500 > > I have not been looking at this issue. Do I need to? There was an old discussion of this http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01598.html In that discussion, you said: It is no accident that read-only works only as a text property. It is tested for in textprop.c only as a text property. I am not sure that a read-only property on an overlay makes much sense. It is a strange thing to do. So I will fix the documentation. I'm asking if you still think the same. If so, perhaps you could try explaining why you do (in that old discussion, you said it was hard for you to put this into words). Thanks.
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Richard Stallman <rms@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 22 Jan 2016 03:26:02 +0000 Resent-Message-ID: <handler.6922.B6922.145343310330978 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: mt_void@HIDDEN, johnw@HIDDEN, mbork@HIDDEN, 6922 <at> debbugs.gnu.org Reply-To: rms@HIDDEN Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145343310330978 (code B ref 6922); Fri, 22 Jan 2016 03:26:02 +0000 Received: (at 6922) by debbugs.gnu.org; 22 Jan 2016 03:25:03 +0000 Received: from localhost ([127.0.0.1]:56872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aMSLP-00083a-8Y for submit <at> debbugs.gnu.org; Thu, 21 Jan 2016 22:25:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54670) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <rms@HIDDEN>) id 1aMSLN-000833-KS for 6922 <at> debbugs.gnu.org; Thu, 21 Jan 2016 22:25:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rms@HIDDEN>) id 1aMSLD-0004Xl-IR for 6922 <at> debbugs.gnu.org; Thu, 21 Jan 2016 22:24:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 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]:57901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rms@HIDDEN>) id 1aMSL0-0004S6-Kd; Thu, 21 Jan 2016 22:24:38 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rms@HIDDEN>) id 1aMSKz-0006ZL-TJ; Thu, 21 Jan 2016 22:24:37 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman <rms@HIDDEN> In-reply-to: <83oace96rp.fsf@HIDDEN> (message from Eli Zaretskii on Thu, 21 Jan 2016 19:33:46 +0200) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <E1aM5Vr-0006bp-D2@HIDDEN> <83oace96rp.fsf@HIDDEN> Message-Id: <E1aMSKz-0006ZL-TJ@HIDDEN> Date: Thu, 21 Jan 2016 22:24:37 -0500 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: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I am not sure that a read-only property on an overlay makes much sense. > It is a strange thing to do. So I will fix the documentation. I don't remember why I wrote that. It was 6 years ago. My guess is that I considered it strange to make certain text read-only temporarily. If it isn't supposed to change, it should never change, right? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 22 Jan 2016 07:38:01 +0000 Resent-Message-ID: <handler.6922.B6922.145344826627954 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: rms@HIDDEN Cc: mt_void@HIDDEN, johnw@HIDDEN, mbork@HIDDEN, 6922 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145344826627954 (code B ref 6922); Fri, 22 Jan 2016 07:38:01 +0000 Received: (at 6922) by debbugs.gnu.org; 22 Jan 2016 07:37:46 +0000 Received: from localhost ([127.0.0.1]:56922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aMWHy-0007Gn-9v for submit <at> debbugs.gnu.org; Fri, 22 Jan 2016 02:37:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53756) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <eliz@HIDDEN>) id 1aMWHw-0007Gb-MU for 6922 <at> debbugs.gnu.org; Fri, 22 Jan 2016 02:37:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aMWHq-0005iq-Ne for 6922 <at> debbugs.gnu.org; Fri, 22 Jan 2016 02:37:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 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]:33392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aMWHj-0005iF-BS; Fri, 22 Jan 2016 02:37:31 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4840 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1aMWHc-00082Y-5N; Fri, 22 Jan 2016 02:37:24 -0500 Date: Fri, 22 Jan 2016 09:37:40 +0200 Message-Id: <83oace6p4r.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <E1aMSKz-0006ZL-TJ@HIDDEN> (message from Richard Stallman on Thu, 21 Jan 2016 22:24:37 -0500) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <E1aM5Vr-0006bp-D2@HIDDEN> <83oace96rp.fsf@HIDDEN> <E1aMSKz-0006ZL-TJ@HIDDEN> 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: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) > From: Richard Stallman <rms@HIDDEN> > CC: mbork@HIDDEN, johnw@HIDDEN, 6922 <at> debbugs.gnu.org, > mt_void@HIDDEN > Date: Thu, 21 Jan 2016 22:24:37 -0500 > > > I am not sure that a read-only property on an overlay makes much sense. > > It is a strange thing to do. So I will fix the documentation. > > I don't remember why I wrote that. It was 6 years ago. My guess is > that I considered it strange to make certain text read-only > temporarily. If it isn't supposed to change, it should never change, > right? I see your point, thanks. What do others think?
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Lars Magne Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 22 Jan 2016 11:01:02 +0000 Resent-Message-ID: <handler.6922.B6922.145346042915477 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: mt_void@HIDDEN, johnw@HIDDEN, mbork@HIDDEN, rms@HIDDEN, 6922 <at> debbugs.gnu.org Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145346042915477 (code B ref 6922); Fri, 22 Jan 2016 11:01:02 +0000 Received: (at 6922) by debbugs.gnu.org; 22 Jan 2016 11:00:29 +0000 Received: from localhost ([127.0.0.1]:57014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aMZS9-00041Y-Ic for submit <at> debbugs.gnu.org; Fri, 22 Jan 2016 06:00:29 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:40020) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <larsi@HIDDEN>) id 1aMZS5-00041L-Kl for 6922 <at> debbugs.gnu.org; Fri, 22 Jan 2016 06:00:27 -0500 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <larsi@HIDDEN>) id 1aMZRc-0004Tm-Mk; Fri, 22 Jan 2016 11:59:56 +0100 From: Lars Magne Ingebrigtsen <larsi@HIDDEN> References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <E1aM5Vr-0006bp-D2@HIDDEN> <83oace96rp.fsf@HIDDEN> <E1aMSKz-0006ZL-TJ@HIDDEN> <83oace6p4r.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEW0sq28u7eloZ1DP0mH foGyr6uvq6Z47UPVAAACTElEQVQ4jV2UwXLjIAyG5bTkDLtJzg1xOLfBs/dixWfiWfmcMgvv/wgr YbtNq/HEoE+/JGQmMNrFAn4zgI99sbaw2UdrwTo1lZILFeceCThXMsVJEWWRpZWCZJloNvYXVxK7 S6qAMhFLaGIgxdyYEjgBdAfKU57KaqkwoAgKQFFkUPsohTuFIgAgUopcfiiz6rAC5QhtPhOuuSYG E4Nnf70gjmM/8Ikyt6mAT0EAT4RX7NtTGPLcuYDMJZ6xG/DUns6BN6SkKvcaG9h02f4Lf7f9H/FV 4/7kFRT3q7jv2juAXttVijPAo8kIBchZfoA8eyj+ACUvKba1BjSzXBRU/Y8CWbqoHovemnXl5uKr qbhKeOyyWgL1gr8ptDwaTKOlRQh39RUpQqObmgvP9AW0hBtTd4j2/FnaGPNZTq6jfalZGtNIdGM+ AVbA4dqI6Zq5gh0GvmTEkr1ZSlTw3vuOnwPitn9bRAKGkw/e48euvxx6fzSaM+4FWF+ta5nyS8K1 YfDSe3988v7VcLrjL38xWsU7dGEn4b1IGCBr3sxkE3ScSHYcKBHvRn4ObQvDb+/vsusy1/Cvk2jN cwem1vWrdXV5MQgbbus4tojBJT5lY2bbSbsh5hzV6uI5SnAF5Ux3zTd28cMmDC1Ih621dOOPw6No jI5QXEBgv21tooY/0lTD3XYTWgQvM7E23yRc8XhHpRLyOTz2nGuYGAA1RxnUaBH7qggY0s3sI3/9 veO7yi7PQKoHd2sM5TTB/WzGCuY/oWANS4pN9rq9Mej9f2dVwUSEmVYpAAAAAElFTkSuQmCC Date: Fri, 22 Jan 2016 11:59:56 +0100 In-Reply-To: <83oace6p4r.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 22 Jan 2016 09:37:40 +0200") Message-ID: <m3a8nxdglv.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aMZRc-0004Tm-Mk X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@HIDDEN MailScanner-NULL-Check: 1454065196.85589@CKfr7NoFBYPDDKudBrvz+A X-Spam-Status: No X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) Eli Zaretskii <eliz@HIDDEN> writes: > What do others think? I think read-only overlays sound kinda nonsensical, too. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Marcin Borkowski <mbork@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 22 Jan 2016 12:59:01 +0000 Resent-Message-ID: <handler.6922.B6922.145346750432664 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Magne Ingebrigtsen <larsi@HIDDEN> Cc: Eli Zaretskii <eliz@HIDDEN>, johnw@HIDDEN, mt_void@HIDDEN, rms@HIDDEN, 6922 <at> debbugs.gnu.org Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145346750432664 (code B ref 6922); Fri, 22 Jan 2016 12:59:01 +0000 Received: (at 6922) by debbugs.gnu.org; 22 Jan 2016 12:58:24 +0000 Received: from localhost ([127.0.0.1]:57118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aMbID-0008Uj-1I for submit <at> debbugs.gnu.org; Fri, 22 Jan 2016 07:58:24 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:58312) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <mbork@HIDDEN>) id 1aMbI7-0008UW-KE for 6922 <at> debbugs.gnu.org; Fri, 22 Jan 2016 07:58:19 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 8AE1D8913B5; Fri, 22 Jan 2016 13:58:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0pWsojP9bXkd; Fri, 22 Jan 2016 13:58:09 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 8583D8F2020; Fri, 22 Jan 2016 13:58:09 +0100 (CET) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <E1aM5Vr-0006bp-D2@HIDDEN> <83oace96rp.fsf@HIDDEN> <E1aMSKz-0006ZL-TJ@HIDDEN> <83oace6p4r.fsf@HIDDEN> <m3a8nxdglv.fsf@HIDDEN> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski <mbork@HIDDEN> In-reply-to: <m3a8nxdglv.fsf@HIDDEN> Date: Fri, 22 Jan 2016 13:58:08 +0100 Message-ID: <87bn8d93fj.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On 2016-01-22, at 11:59, Lars Magne Ingebrigtsen <larsi@HIDDEN> wrote: > Eli Zaretskii <eliz@HIDDEN> writes: > >> What do others think? > > I think read-only overlays sound kinda nonsensical, too. Not necessarily. This is not the same, of course, but compare Dired to Wdired: the same text is sometimes read-only and sometimes not, and it does make a lot of sense. Another possible use-case: a feature like narrowing, but not making some text invisible, but read-only instead. (This might actually be useful, e.g. in Org-mode.) Of course, you could do this with text properties and not overlays, but what I'm saying is that the assumption "it [is] strange to make certain text read-only temporarily. If it isn't supposed to change, it should never change, right?" is false in general, even in current stock Emacs. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: John Wiegley <jwiegley@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 07 Feb 2016 22:25:02 +0000 Resent-Message-ID: <handler.6922.B6922.145488388119623 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: mt_void@HIDDEN, Marcin Borkowski <mbork@HIDDEN>, Richard Stallman <rms@HIDDEN>, 6922 <at> debbugs.gnu.org Reply-To: John Wiegley <johnw@HIDDEN> Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145488388119623 (code B ref 6922); Sun, 07 Feb 2016 22:25:02 +0000 Received: (at 6922) by debbugs.gnu.org; 7 Feb 2016 22:24:41 +0000 Received: from localhost ([127.0.0.1]:37666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aSXl3-00056R-6H for submit <at> debbugs.gnu.org; Sun, 07 Feb 2016 17:24:41 -0500 Received: from mail-ig0-f177.google.com ([209.85.213.177]:37860) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <jwiegley@HIDDEN>) id 1aSXl2-00056F-Ie for 6922 <at> debbugs.gnu.org; Sun, 07 Feb 2016 17:24:40 -0500 Received: by mail-ig0-f177.google.com with SMTP id 5so47395024igt.0 for <6922 <at> debbugs.gnu.org>; Sun, 07 Feb 2016 14:24:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:reply-to:mime-version:content-type; bh=IK1tbOajrPJZZc6x/Ej0C05cyjy9UsmfDOjsiTtCzBg=; b=gXuFXJcSiob7LbDwwP5P3ZgbK/DkINJBlQn5RTi3oAiLmtOZVrFwTihvBJXXTg4Psc 8vsutqoFprI0794shXVyjlhH4UdiQDSIoIPfTbMEIHG1ueZrzZnVvMealXEDll3OBugZ hCbPYniNW7FBmE41FRCqH0EFHJikBFSkDGkGDMMoQrPaw7zyek1qoIWG6Gg91wpZYl4B nuW+Tn5DlnlVwGb+UHmgfqjlZk0JKvzsAK65ZBKXbivkeB6+YEI01pQ/2ipP7b7gGwtu ZcGzxP4A9G8u17Y1woblzkU5gO3pLrb6MoDzOlSrVclHxoxKmmNIOBHV9neVTM46mj6A IAAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:reply-to:mime-version:content-type; bh=IK1tbOajrPJZZc6x/Ej0C05cyjy9UsmfDOjsiTtCzBg=; b=cMOTq4bviCB4LR4o6URAVnVV8VuHX+7xncrYZmKAbtAFB/l3CMJZogcFvWajHqEYyc FAjtU4aNWm+qoVyooIVrIvzXVkrVH67BKTFD5CDdud9OsFnsKC7amq+ManMpzcBxrqdT 0HypUvkUasJ16lkZ7+XS5KUfgVos28ReRiia2CALQGeKy/1Jvtw0Z1WMTKtTnNKbTKZY JlxPNwk3H7EQf88wKYSp6o6JOlqY9BvZncsJar4jbVdeQDrhnZgjsybBpHVi6WZxYZq8 ZtsHx2/JIYr7uDy/um1oRHpyLR0/5WWpEBUeVXleaBLI3QENnrbnhnBngHotpqrMhw3W hqdQ== X-Gm-Message-State: AG10YOQwokEkgoaAk25E412KSi/pfO/3dkgiaCKnXKjpLvn/PGDyCo7MkP32xqpnANr8Hg== X-Received: by 10.50.142.73 with SMTP id ru9mr21319640igb.92.1454883875081; Sun, 07 Feb 2016 14:24:35 -0800 (PST) Received: from Hermes.local (mail.johnwiegley.com. [208.82.103.192]) by smtp.gmail.com with ESMTPSA id ie16sm4070501igb.11.2016.02.07.14.24.34 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 07 Feb 2016 14:24:34 -0800 (PST) From: John Wiegley <jwiegley@HIDDEN> X-Google-Original-From: John Wiegley <johnw@HIDDEN> Received: by Hermes.local (Postfix, from userid 501) id 18B0D4DD604E; Sun, 7 Feb 2016 17:24:33 -0500 (EST) In-Reply-To: <837fj49lni.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 20 Jan 2016 20:00:01 +0200") Date: Sun, 07 Feb 2016 17:24:26 -0500 Message-ID: <m28u2wupk5.fsf@HIDDEN> References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) >>>>> Eli Zaretskii <eliz@HIDDEN> writes: > What is the current consensus? should we adjust the documentation or fix the > code? John? Richard? I think read-only overlays could be very useful. For example: 1. Create a command called `mask-regexp'. It creates read-only overlays for matching text throughout the buffer. 2. There should also be a way to add manual masks, using `mask-region'. 3. Now use `replace-string' or any other command to bulk transform text. However, masked text is not changed. 4. Then execute unmask-all, and the mask disappears. This method of editing is key to video editing workflows. I think the only reason I never thought to use it in Emacs is because it's never been there (and so never occurred to me until now). -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Marcin Borkowski <mbork@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 07 Feb 2016 22:31:01 +0000 Resent-Message-ID: <handler.6922.B6922.145488424920233 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: John Wiegley <johnw@HIDDEN> Cc: Eli Zaretskii <eliz@HIDDEN>, mt_void@HIDDEN, Richard Stallman <rms@HIDDEN>, 6922 <at> debbugs.gnu.org Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145488424920233 (code B ref 6922); Sun, 07 Feb 2016 22:31:01 +0000 Received: (at 6922) by debbugs.gnu.org; 7 Feb 2016 22:30:49 +0000 Received: from localhost ([127.0.0.1]:37674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aSXqz-0005GG-6L for submit <at> debbugs.gnu.org; Sun, 07 Feb 2016 17:30:49 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:53436) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <mbork@HIDDEN>) id 1aSXqy-0005G9-4j for 6922 <at> debbugs.gnu.org; Sun, 07 Feb 2016 17:30:48 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id A87C59D2002; Sun, 7 Feb 2016 23:30:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a6R4heB9tZGO; Sun, 7 Feb 2016 23:30:42 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id C8CFF9D2001; Sun, 7 Feb 2016 23:30:42 +0100 (CET) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <m28u2wupk5.fsf@HIDDEN> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski <mbork@HIDDEN> In-reply-to: <m28u2wupk5.fsf@HIDDEN> Date: Sun, 07 Feb 2016 23:30:42 +0100 Message-ID: <87twlkb1bh.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On 2016-02-07, at 23:24, John Wiegley <jwiegley@HIDDEN> wrote: >>>>>> Eli Zaretskii <eliz@HIDDEN> writes: > >> What is the current consensus? should we adjust the documentation or fix the >> code? John? Richard? > > I think read-only overlays could be very useful. For example: > > 1. Create a command called `mask-regexp'. It creates read-only overlays for > matching text throughout the buffer. > 2. There should also be a way to add manual masks, using `mask-region'. > 3. Now use `replace-string' or any other command to bulk transform text. > However, masked text is not changed. > 4. Then execute unmask-all, and the mask disappears. > > This method of editing is key to video editing workflows. I think the only > reason I never thought to use it in Emacs is because it's never been there > (and so never occurred to me until now). That's a fantastic idea! I envision "LaTeX-mask-environment", and bam! query-replace does not touch verbatim, for instance. That could be very useful! I did something similar with texmathp and math mode, but I like your approach with "masking". Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 08 Feb 2016 18:27:04 +0000 Resent-Message-ID: <handler.6922.B6922.14549559984106 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "John Wiegley" <johnw@HIDDEN> Cc: mt_void@HIDDEN, mbork@HIDDEN, rms@HIDDEN, 6922 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.14549559984106 (code B ref 6922); Mon, 08 Feb 2016 18:27:04 +0000 Received: (at 6922) by debbugs.gnu.org; 8 Feb 2016 18:26:38 +0000 Received: from localhost ([127.0.0.1]:60410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aSqWE-000144-6p for submit <at> debbugs.gnu.org; Mon, 08 Feb 2016 13:26:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43544) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <eliz@HIDDEN>) id 1aSqIK-0000b7-4x for 6922 <at> debbugs.gnu.org; Mon, 08 Feb 2016 13:12:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aSq2Z-0003br-5V for 6922 <at> debbugs.gnu.org; Mon, 08 Feb 2016 12:56:02 -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]:33843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aSq2J-0003a5-Mp; Mon, 08 Feb 2016 12:55:43 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1532 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1aSq2C-0006MD-7O; Mon, 08 Feb 2016 12:55:36 -0500 Date: Mon, 08 Feb 2016 19:55:19 +0200 Message-Id: <834mdjqe7s.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <m2oabrqjd5.fsf@HIDDEN> (message from John Wiegley on Mon, 08 Feb 2016 11:04:06 -0500) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <m2oabrqjd5.fsf@HIDDEN> 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: -5.3 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.3 (-----) > From: John Wiegley <jwiegley@HIDDEN> > Cc: Marcin Borkowski <mbork@HIDDEN>, Richard Stallman <rms@HIDDEN>, 6922 <at> debbugs.gnu.org, mt_void@HIDDEN > Date: Mon, 08 Feb 2016 11:04:06 -0500 > > >>>>> Eli Zaretskii <eliz@HIDDEN> writes: > > > What is the current consensus? should we adjust the documentation or fix the > > code? John? Richard? > > Eli, can you fix to code to allows read-only overlays? Once you do, I'd like > to write a mask.el module for GNU ELPA to support masked editing. I'll take a look. Of course, if someone wants to beat me to it, feel free.
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: John Wiegley <jwiegley@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 08 Feb 2016 18:48:02 +0000 Resent-Message-ID: <handler.6922.B6922.145495724812435 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: mt_void@HIDDEN, Marcin Borkowski <mbork@HIDDEN>, Richard Stallman <rms@HIDDEN>, 6922 <at> debbugs.gnu.org Reply-To: John Wiegley <johnw@HIDDEN> Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145495724812435 (code B ref 6922); Mon, 08 Feb 2016 18:48:02 +0000 Received: (at 6922) by debbugs.gnu.org; 8 Feb 2016 18:47:28 +0000 Received: from localhost ([127.0.0.1]:60460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aSqqO-0003EV-4C for submit <at> debbugs.gnu.org; Mon, 08 Feb 2016 13:47:28 -0500 Received: from mail-yk0-f174.google.com ([209.85.160.174]:34271) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <jwiegley@HIDDEN>) id 1aSqqN-0003EH-56 for 6922 <at> debbugs.gnu.org; Mon, 08 Feb 2016 13:47:27 -0500 Received: by mail-yk0-f174.google.com with SMTP id u9so90788038ykd.1 for <6922 <at> debbugs.gnu.org>; Mon, 08 Feb 2016 10:47:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:reply-to:mime-version:content-type; bh=+dONjmhvdpwg3HTP7VXaRyPf/GOip2Sts6n4WwsrvSI=; b=nhbzxN4M5pMf7qxB1gJlUllbfWO0AHzTjlORRQXIK9Un5o03aDKYwiNbUSKNAfBYRO tdHS4lcLKgeVYR4+yRrpQWXqAyUlph90NN56iG9QbWUjqKFvHLl0okAaOzwDfKAHd+ff th27OmZlXRWWHLmG6Wqy5koYvLnm5Qot+VLI7jfYfnlVXcpG4ammcDT91C3MRawkGy8E L9H9blvuxcpHqs/6ctEQf1VR95cqGG8GmPaLwuF3dkt2mEFTqU6Gw2uZPZisliTUdWuz cHAHRoxnuEU27d5+6ISMDhoOZM2I0JMCdCRUvgQe4GNc5p/8Icl2NCCEcJx7oFsATUM5 +4lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:reply-to:mime-version:content-type; bh=+dONjmhvdpwg3HTP7VXaRyPf/GOip2Sts6n4WwsrvSI=; b=DmeNUY+zIuuWXehbqotlJ0wVnlXsfK6PBPhm+q1+PLGkY2VCmmh/hN97a9RbL0psfv TUVY1zwpvbImkKfaGhdav6APFMTWySw6srcQPg840+SLITd8IK7mvelfNgB09aTbOisI 8Gib6SJxghC3+r95z1TkCfSOYVc/cp1bVkJKqkY4EgXI4XxU+IYkpPJlwggvK/CNdLNS zdGLgommn/W4k6/441/6nlz3ltvZUOSivnwoX4G96Oxq0ctQv3z0EhIQ2pTjBn1KxCc6 QjyeMQpOWUbjFmRpYd1UA5QONqS+g2phes44QaInXy7Cx1s6YHGPafiqozszQYu+DFaT +HBg== X-Gm-Message-State: AG10YOToBCD7P9YIx8EyGEZupac6kQg2x6EHuEC81jxQk5ZaquiZrP4teDwGhpo4i6qbsQ== X-Received: by 10.37.231.194 with SMTP id e185mr8034434ybh.11.1454947453200; Mon, 08 Feb 2016 08:04:13 -0800 (PST) Received: from Hermes.local (56.sub-70-214-64.myvzw.com. [70.214.64.56]) by smtp.gmail.com with ESMTPSA id t64sm21280604ywa.45.2016.02.08.08.04.10 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 08 Feb 2016 08:04:10 -0800 (PST) From: John Wiegley <jwiegley@HIDDEN> X-Google-Original-From: John Wiegley <johnw@HIDDEN> Received: by Hermes.local (Postfix, from userid 501) id 8BB894DDD400; Mon, 8 Feb 2016 11:04:10 -0500 (EST) In-Reply-To: <837fj49lni.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 20 Jan 2016 20:00:01 +0200") Date: Mon, 08 Feb 2016 11:04:06 -0500 Message-ID: <m2oabrqjd5.fsf@HIDDEN> References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) >>>>> Eli Zaretskii <eliz@HIDDEN> writes: > What is the current consensus? should we adjust the documentation or fix the > code? John? Richard? Eli, can you fix to code to allows read-only overlays? Once you do, I'd like to write a mask.el module for GNU ELPA to support masked editing. Thanks, -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Marcin Borkowski <mbork@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 18 Feb 2016 05:13:02 +0000 Resent-Message-ID: <handler.6922.B6922.14557723794160 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: John Wiegley <johnw@HIDDEN> Cc: Richard Stallman <rms@HIDDEN>, 6922 <at> debbugs.gnu.org, emacs-devel <emacs-devel@HIDDEN>, Org-Mode mailing list <emacs-orgmode@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, mt_void@HIDDEN Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.14557723794160 (code B ref 6922); Thu, 18 Feb 2016 05:13:02 +0000 Received: (at 6922) by debbugs.gnu.org; 18 Feb 2016 05:12:59 +0000 Received: from localhost ([127.0.0.1]:60141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aWGte-000152-N2 for submit <at> debbugs.gnu.org; Thu, 18 Feb 2016 00:12:58 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:56224) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <mbork@HIDDEN>) id 1aWGtc-00014u-Uq for 6922 <at> debbugs.gnu.org; Thu, 18 Feb 2016 00:12:57 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id EAFFF9D2004; Thu, 18 Feb 2016 06:12:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wfPGzqGwuqej; Thu, 18 Feb 2016 06:12:47 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 01CDE9D2003; Thu, 18 Feb 2016 06:12:46 +0100 (CET) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <m28u2wupk5.fsf@HIDDEN> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski <mbork@HIDDEN> In-reply-to: <m28u2wupk5.fsf@HIDDEN> Date: Thu, 18 Feb 2016 06:12:42 +0100 Message-ID: <87h9h6zjn9.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On 2016-02-07, at 23:24, John Wiegley <jwiegley@HIDDEN> wrote: >>>>>> Eli Zaretskii <eliz@HIDDEN> writes: > >> What is the current consensus? should we adjust the documentation or fix the >> code? John? Richard? > > I think read-only overlays could be very useful. For example: > > 1. Create a command called `mask-regexp'. It creates read-only overlays for > matching text throughout the buffer. > 2. There should also be a way to add manual masks, using `mask-region'. > 3. Now use `replace-string' or any other command to bulk transform text. > However, masked text is not changed. > 4. Then execute unmask-all, and the mask disappears. > > This method of editing is key to video editing workflows. I think the only > reason I never thought to use it in Emacs is because it's never been there > (and so never occurred to me until now). Hi, I just realized that this idea could be /extremely/ useful. Here's the case: I start a clock in Org-mode (C-c C-x C-i), and an entry with the starting time is added in the :LOGBOOK: drawer (and btw, it is invisible). While working on the file, I hit C-/ (undo) once too many, and the entry disappears (and this fact is still invisible to me!). Then, after some more work, I stop the clock only to see "org-clock-out: Clock start time is gone", and my clock is still going on (!). While the last thing (about the clock still going on) is probably an Org-mode bug (I'll propbably report it later "officially", I'm now Cc-ing this message to the Org-mode ML), the whole experience (and yes, it happened to me) is /very/ confusing. When read-only properties and masking are here, Org could just mark the half-done entry as read-only. I suspect that trying to undo it would perhaps trigger some error, which could be confusing, but it would be still better than silently removing a vital information. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 18 Feb 2016 16:53:01 +0000 Resent-Message-ID: <handler.6922.B6922.145581437523926 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Marcin Borkowski <mbork@HIDDEN> Cc: johnw@HIDDEN, mt_void@HIDDEN, rms@HIDDEN, 6922 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.145581437523926 (code B ref 6922); Thu, 18 Feb 2016 16:53:01 +0000 Received: (at 6922) by debbugs.gnu.org; 18 Feb 2016 16:52:55 +0000 Received: from localhost ([127.0.0.1]:33142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aWRp0-0006Dq-Nx for submit <at> debbugs.gnu.org; Thu, 18 Feb 2016 11:52:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42363) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <eliz@HIDDEN>) id 1aWRoz-0006De-1C for 6922 <at> debbugs.gnu.org; Thu, 18 Feb 2016 11:52:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aWRos-00084F-Ex for 6922 <at> debbugs.gnu.org; Thu, 18 Feb 2016 11:52:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 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]:51768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1aWRok-0007yg-8q; Thu, 18 Feb 2016 11:52:38 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1848 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1aWRoY-0000oj-Ug; Thu, 18 Feb 2016 11:52:27 -0500 Date: Thu, 18 Feb 2016 18:52:43 +0200 Message-Id: <83y4ait0ys.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <87h9h6zjn9.fsf@HIDDEN> (message from Marcin Borkowski on Thu, 18 Feb 2016 06:12:42 +0100) References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <m28u2wupk5.fsf@HIDDEN> <87h9h6zjn9.fsf@HIDDEN> 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: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) > From: Marcin Borkowski <mbork@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, Richard Stallman <rms@HIDDEN>, > 6922 <at> debbugs.gnu.org, mt_void@HIDDEN, > Org-Mode mailing list <emacs-orgmode@HIDDEN>, emacs-devel <emacs-devel@HIDDEN> > Date: Thu, 18 Feb 2016 06:12:42 +0100 > > I just realized that this idea could be /extremely/ useful. Here's the > case: I start a clock in Org-mode (C-c C-x C-i), and an entry with the > starting time is added in the :LOGBOOK: drawer (and btw, it is > invisible). While working on the file, I hit C-/ (undo) once too many, > and the entry disappears (and this fact is still invisible to me!). > Then, after some more work, I stop the clock only to see "org-clock-out: > Clock start time is gone", and my clock is still going on (!). > > While the last thing (about the clock still going on) is probably an > Org-mode bug (I'll propbably report it later "officially", I'm now > Cc-ing this message to the Org-mode ML), the whole experience (and yes, > it happened to me) is /very/ confusing. > > When read-only properties and masking are here, Org could just mark the > half-done entry as read-only. I suspect that trying to undo it would > perhaps trigger some error, which could be confusing, but it would be > still better than silently removing a vital information. If you are arguing for having a feature that marks some portion of buffer text read-only, then we already have that: the 'read-only' text property. The issue in this discussion is whether we should _also_ have a similar overlay property. (Please don't cross-post to the bug tracker and to emacs-devel.)
X-Loop: help-debbugs@HIDDEN Subject: bug#6922: 23.1; Setting read-only property in an overlay has no effect Resent-From: John Wiegley <jwiegley@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 18 Feb 2016 18:54:02 +0000 Resent-Message-ID: <handler.6922.B6922.14558215928796 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: mt_void@HIDDEN, Marcin Borkowski <mbork@HIDDEN>, rms@HIDDEN, 6922 <at> debbugs.gnu.org Reply-To: John Wiegley <johnw@HIDDEN> Received: via spool by 6922-submit <at> debbugs.gnu.org id=B6922.14558215928796 (code B ref 6922); Thu, 18 Feb 2016 18:54:02 +0000 Received: (at 6922) by debbugs.gnu.org; 18 Feb 2016 18:53:12 +0000 Received: from localhost ([127.0.0.1]:33198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aWThP-0002Ho-O9 for submit <at> debbugs.gnu.org; Thu, 18 Feb 2016 13:53:11 -0500 Received: from mail-pf0-f179.google.com ([209.85.192.179]:36231) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <jwiegley@HIDDEN>) id 1aWThO-0002HZ-80 for 6922 <at> debbugs.gnu.org; Thu, 18 Feb 2016 13:53:11 -0500 Received: by mail-pf0-f179.google.com with SMTP id e127so36043986pfe.3 for <6922 <at> debbugs.gnu.org>; Thu, 18 Feb 2016 10:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:reply-to:mime-version:content-type; bh=tPiKekH6QFy++x+niNzA3WEJY4IdpMzCvI2B9L87Cb0=; b=VhT2Q2bCOFlFQGrSi/6xiCj0JSUJAOsb2iFJPSiU4v0nSbugrsm8xHDM1Ymwm/0LhM WrdyO30r/WLDw3Ra5QQ24bmcnnKml1IQqBjA+eBqNnykm/9SQOjkCS4MDxVt8lTt95VT 4cLRj9ey1iXZvAe0MSD3FGppYLiOH1le8S4LR73W2TDrtD5CurpqqvE4JaoJ7YOY+wyV Ugb1iAevjnm9nmLhCh4Qbb8wIPSCPpn4LSCu86td/8SA8mMmQZaab6Sd7c5jX4HkcP5R DjHoQ79nf0/XSapYfEOZKjdb5dpR3QqOYKmCbPmdEJawwaZ7idizOaZDm0ognusUhHIr gP2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:reply-to:mime-version:content-type; bh=tPiKekH6QFy++x+niNzA3WEJY4IdpMzCvI2B9L87Cb0=; b=mkjElcuH62i5278Nss/LGRBJb0Xth3cdiDZ3VreqOyIPWnOFOuWtmcj3WplDr8ZZXY jEXe43wezY4Io6NILtNL3JRYzgB2tqfY5OdARLW82vBfg1nxxGj7bXM2mWRimYF/v1pm pFMvXdr4DvOsJ84isfnE2tL/JkCNit253gZHF3PqMjSRryQBLtCjvCRKJvgpfemPNEbw 2NrHMTXeRoM1ScglJ9jcAGAXEBGXdYIUciM7cL9R/lTvaAy6N1h6Ia0qNKiA8jnRJlTH AnoHlybXo04Ion7Vb2nCI75jLcQhW/t5YdF6PhnY1xeb0btzqddeqoPo1V2JuaWN6+Jk DC+g== X-Gm-Message-State: AG10YOS+HK0hGZgBtAM3mt+0y5oOR0v3yCqVVxK+z+HsUAiPI2fTI0+Ggl/DlXXr/RCLtg== X-Received: by 10.98.42.20 with SMTP id q20mr12493204pfq.146.1455821584372; Thu, 18 Feb 2016 10:53:04 -0800 (PST) Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id e1sm12059458pas.1.2016.02.18.10.53.03 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 18 Feb 2016 10:53:03 -0800 (PST) From: John Wiegley <jwiegley@HIDDEN> X-Google-Original-From: John Wiegley <johnw@HIDDEN> Received: by Vulcan.local (Postfix, from userid 501) id C7E87130A20C8; Thu, 18 Feb 2016 10:53:02 -0800 (PST) In-Reply-To: <83y4ait0ys.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 18 Feb 2016 18:52:43 +0200") Date: Thu, 18 Feb 2016 10:53:00 -0800 Message-ID: <m2bn7dn94j.fsf@HIDDEN> References: <1282834016.22363.1391876553@HIDDEN> <87wpr67ezy.fsf@HIDDEN> <837fj49lni.fsf@HIDDEN> <m28u2wupk5.fsf@HIDDEN> <87h9h6zjn9.fsf@HIDDEN> <83y4ait0ys.fsf@HIDDEN> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) >>>>> Eli Zaretskii <eliz@HIDDEN> writes: > If you are arguing for having a feature that marks some portion of buffer > text read-only, then we already have that: the 'read-only' text property. > The issue in this discussion is whether we should _also_ have a similar > overlay property. That said, I think the right way to implement clock-masking in Org would be to use an overlay whose existence is tied to the clock. A text-property might be incompatible with the way Org uses font-locking. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.