From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: suppress ++ markup in orgmode? Date: Sun, 25 Nov 2018 18:45:30 -0500 Message-ID: References: <6AE2E011-4192-42FE-847A-274E6E38D3C8@ucsd.edu> <87lg5mmass.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gR45r-0005gv-6U for emacs-orgmode@gnu.org; Sun, 25 Nov 2018 18:45:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gR45o-0004cx-3B for emacs-orgmode@gnu.org; Sun, 25 Nov 2018 18:45:39 -0500 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:37823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gR45n-0004an-Up for emacs-orgmode@gnu.org; Sun, 25 Nov 2018 18:45:36 -0500 Received: by mail-qk1-x72b.google.com with SMTP id 131so11299458qkd.4 for ; Sun, 25 Nov 2018 15:45:34 -0800 (PST) In-reply-to: <87lg5mmass.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: org-mode-email , Charles Berry hm. I would have interpreted it as an empty string with a strikethrough, followed by a plus. It makes sense to require 1 or more characters between them though. Why is +-+ not a - with a strikethrough? Because it is a table line? Or + + is not a space with a strikethrough. I guess there are word boundaries required. I thought it was interesting that ++ + and + ++ show no strikethrough, but ++ ++ does. Evidently a strikethrough on + +. An editor, on the other hand, might want to strikeout excess spaces. It isn't a big deal, I just changed the editmark syntax to avoid clashing with org-syntax. Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> That doesn't seem right to me. It seems like a bug that it is rendered as >> strikethrough to me, like the regexp that is generated is too greedy. That >> was a good hint though. > > IMO, +++ is clearly a plus sign with strike-through. Why would "+" sign > be excluded from strike-through? > > You can use a zero-width space, like +++. > > Regards, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu