From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: unable to edit indirect-buffer in fundamental mode without losing pretty printing in base buffer org mode Date: Sun, 27 May 2018 21:50:41 +0200 Message-ID: <87y3g43mjy.fsf@nicolasgoaziou.fr> References: <518DCC34-E435-42F7-A15E-FAE7727033F8@scratch.space> <87muwlt6c1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fN1go-0003mU-Pf for emacs-orgmode@gnu.org; Sun, 27 May 2018 15:50:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fN1gl-0006RI-Hn for emacs-orgmode@gnu.org; Sun, 27 May 2018 15:50:50 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:49679) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fN1gl-0006LJ-Bi for emacs-orgmode@gnu.org; Sun, 27 May 2018 15:50:47 -0400 In-Reply-To: <87muwlt6c1.fsf@gmail.com> (Aaron Ecay's message of "Sun, 27 May 2018 17:24:14 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Van L Cc: org-mode-email Hello, Aaron Ecay writes: > OTOH, we need to provide a way to edit those curly braces. I have just > pushed commit 102832e66 to the master branch. That will cause any > sub/superscript under the point to have its font lock properties > removed, so that the braces will become visible for editing. It is > modeled after a similar feature in emacs built-in > prettify-symbols-mode. > > So, I think that should address your usecase. As far as the initial problem is concerned, this is an issue with indirect buffers, a feature that is not well considered even by Emacs developers. It has clear limitations. On the other hand, I agree that editing sub/superscripts is not optimal. In particular, hiding braces and using skeleton pairs for curly brackets is not a nice editing experience. It would be nice if we could make it smoother. However, your fix is not great at all. It was discussed on this ML, about square brackets in links: it causes "jumpings" during editing, which some users, including me, find annoying. Even if it was optional, it would need to be discussed beforehand. Also, we are in feature freeze for Org 9.2, so this would need, in any case, to wait for the release. As a consequence, would you mind reverting the patches related to this feature? Thank you. Regards, -- Nicolas Goaziou