From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KKxPMQLjbF+YPwAA0tVLHw (envelope-from ) for ; Thu, 24 Sep 2020 18:18:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8JhJLQLjbF8HBgAAbx9fmQ (envelope-from ) for ; Thu, 24 Sep 2020 18:18:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 780E1940365 for ; Thu, 24 Sep 2020 18:18:42 +0000 (UTC) Received: from localhost ([::1]:33132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLVpI-0005Ns-Gx for larch@yhetil.org; Thu, 24 Sep 2020 14:18:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLVoq-0005Mz-40 for emacs-orgmode@gnu.org; Thu, 24 Sep 2020 14:18:12 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:51531) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLVon-00062r-DH for emacs-orgmode@gnu.org; Thu, 24 Sep 2020 14:18:11 -0400 Received: by mail-wm1-x329.google.com with SMTP id w2so368160wmi.1 for ; Thu, 24 Sep 2020 11:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:message-id:mime-version; bh=MaFjAasjhRj9QTshQPFHrB3eVEb7sSVo1A367z49Bfk=; b=G3aUzuRC/TqPDUAG6ullf3vub05fK22i6u9J9N/8/x1oKUFQKOsdMAfKMNWVEfio1a +9kZwfHUblVePSrIVpOaBDrHgaSKPE4vHcRWjwnvK0RUw3VRt1UXmA0Y2U5kO/A60CVZ fX1syjKrfL00fOe2x53+/pDFrnYCT0tSk8Q4X/vRFBFd1e5Qkph3xbCybx21JvZZFaHL DA0D6mcIoLeKn7J2R2wAA4h68LpNaaAElX+IpCKF7zQsGK9t5PfQmZk/1ajC36Ce831p Nt4NhS/r5Dd/7IVjj0I4CM+HJBgpUWUCCzy2mGOAad+e7hKpdDvxiEO7N98tp2PLdhpr M+QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :mime-version; bh=MaFjAasjhRj9QTshQPFHrB3eVEb7sSVo1A367z49Bfk=; b=bX4xzMHVsBG4N7YXXwU9rLqOizsVgZPs8jjRK/koEbTjyFhaEZUsV2ydKOvt8d68Eg zjj3RuHU0DZzMCcIFVR3BR6zNGiQ8EXJrp/1BRMl4SwcFO/Y/5vcRSPKURQAnoKsoYAr hwy94drDcywIsF7ZX51SlHj4Xc+VDoLTALK5TFFdXtvkOzp+BGNBbfAKbzfWxs9qVudQ 0Pr7/Ss+b4DX57yGmFRtv/6k54hej9sAmAPPbB3C27Rp2+9lX7ssvELyTxIqFa0BMP8Y EEbiplqrsWniCaGC6R6J4lUmPTncgc6FrOSPrRQF4BH6ZF1XNvbTlKxXrsA00M3J0IE6 hjnw== X-Gm-Message-State: AOAM530tnX10dkyjh1XZ9aa8yzLVf0ri/YHuXlFmcgnmYYNsEgHKbYaR lCtG8bDreg0MiDtOkhB3XQdZv8WHFFM= X-Google-Smtp-Source: ABdhPJySzwHQKsecnflxGGKCpvgdwxCBUenLd29uhQFxhjpdoKsWOez6E+hs6qJBp3myP62roRkLMw== X-Received: by 2002:a7b:ce89:: with SMTP id q9mr428450wmj.65.1600971487088; Thu, 24 Sep 2020 11:18:07 -0700 (PDT) Received: from freegnu (24.183.22.109.rev.sfr.net. [109.22.183.24]) by smtp.gmail.com with ESMTPSA id t6sm4424320wre.30.2020.09.24.11.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 11:18:06 -0700 (PDT) From: Jeremie Juste To: Nick Dokos Subject: Re: org-tempo question References: <20200924133052.ooqvgnnjqy7v3xt7@localhost.localdomain> <87o8lvxggx.fsf@alphaville.usersys.redhat.com> Date: Thu, 24 Sep 2020 20:18:04 +0200 Message-ID: <87sgb7t4wz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=jeremiejuste@gmail.com; helo=mail-wm1-x329.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=G3aUzuRC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: I6YbtIg/m2Bx Hello Nick, Thanks for the feedback. I'm not sure I understand your setting entirely. I have reproduced the behaviour of tempo inside an org src block below. I don't have any comma before the source block expansion unless I type it. Any character except space or tab on the line of the expansion destroys it. For example item 2 below. I have noted that the example block on item 3 doesn not expand at all (item 3). My normal usage is generally the item 1 case and I get the expected behavior. #+BEGIN_SRC org * heading 1 (cursor position) writes: > I can't say anything about indentation (I encounter problems that I > have not reported because of lack of time to investigate combined with > laziness - but I suspect they are, partly at least, of my own making). > > But when I do ` badly indented) example block, with commas before the #+begin and the > #+end_example lines - OTOH, ` no-indent example block even if I have spaces before the ` have printable charactes before the ` > #+NAME: third > #+begin_src org > > - an item > - subitem > > ,#+begin_example > > ,#+end_example > > #+end_src > > #+begin_example > > #+end_example > > > The commas are important: are you not getting them?