From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Overlay mechanic improvements Date: Mon, 22 Sep 2014 00:19:16 +0200 Message-ID: <87mw9smxaz.fsf@fencepost.gnu.org> References: <871tr6qup8.fsf@fencepost.gnu.org> <87ppepne6d.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411339016 6647 80.91.229.3 (21 Sep 2014 22:36:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Sep 2014 22:36:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 22 00:36:49 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XVpkL-0007aa-EG for ged-emacs-devel@m.gmane.org; Mon, 22 Sep 2014 00:36:45 +0200 Original-Received: from localhost ([::1]:41235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVpkK-0008Qc-RN for ged-emacs-devel@m.gmane.org; Sun, 21 Sep 2014 18:36:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVpk8-0008QD-Ks for emacs-devel@gnu.org; Sun, 21 Sep 2014 18:36:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVpk6-0001JG-Vg for emacs-devel@gnu.org; Sun, 21 Sep 2014 18:36:32 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVpk6-0001Hu-SQ for emacs-devel@gnu.org; Sun, 21 Sep 2014 18:36:30 -0400 Original-Received: from localhost ([127.0.0.1]:50137 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVpTR-0007dY-6o; Sun, 21 Sep 2014 18:19:17 -0400 Original-Received: by lola (Postfix, from userid 1000) id 1C5FEE06F7; Mon, 22 Sep 2014 00:19:16 +0200 (CEST) In-Reply-To: (Richard Stallman's message of "Sun, 21 Sep 2014 17:48:28 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174632 Archived-At: Richard Stallman writes: > [[[ 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. ]]] > > Supporting after/before_string with text properties would be > really weird as inserting text in the middle of some text with the > respective properties would cause those strings to appear ex nihilo. > > That is true -- but does it matter, given that inserting text there is > a mistake anyway? Inserting a text in the middle of the text underlying a preview-latex image is not a mistake but the intended mode of operation. I think you are fundamentally misunderstanding what preview-latex is. It is a previewing mode that previews selected elements (like math) of typesetting a LaTeX document right in the source code so that you do not need to keep switching your focus between source code and preview window when proofreading/deriving your math. The whole point is to work with an editable source and have the images as a transient view. In order to make movement unsurprising, only some movement commands (like cursor left/right) will actually disable the move-out-of-images-in-the-main-loop behavior of Emacs in order to "open" images and display the source: most commands will avoid the inside of images in the way Emacs usually does. But that does not extend to any _modifying_ commands or to isearch. And of course not to macro execution. -- David Kastrup