From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id +I/kLv/8qmC2KAAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 24 May 2021 03:10:23 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id EDGjKv/8qmBEeQAAB5/wlQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 24 May 2021 01:10:23 +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 7A22213CB8
	for <larch@yhetil.org>; Mon, 24 May 2021 03:10:22 +0200 (CEST)
Received: from localhost ([::1]:43860 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1lkz6r-000488-GI
	for larch@yhetil.org; Sun, 23 May 2021 21:10:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33656)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sbanya@fastmail.com>)
 id 1lkz65-00047w-9J
 for emacs-orgmode@gnu.org; Sun, 23 May 2021 21:09:34 -0400
Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51815)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sbanya@fastmail.com>)
 id 1lkz5y-0001wD-6n
 for emacs-orgmode@gnu.org; Sun, 23 May 2021 21:09:29 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 5076B5C006B;
 Sun, 23 May 2021 21:09:23 -0400 (EDT)
Received: from imap10 ([10.202.2.60])
 by compute4.internal (MEProxy); Sun, 23 May 2021 21:09:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 mime-version:message-id:in-reply-to:references:date:from:to:cc
 :subject:content-type; s=fm3; bh=YA/ctH+jMJDmMHEMBQiOZMgm5Fc6I35
 F8DlEFQkP8lE=; b=pOui9hnw/uvNpoUrL9LkxcqyYlMc+lEu1NLg17hmy755bVJ
 ZxkvAO9jJGu/jn07xwdeh0n+rwbm7QYTxcYVPPQe7C+kwrbkBJwFyPqYVIR0NlqO
 iXRGlFwQzAG7ps9aSAeg4QEX9JYYPD6LP3Oga+jlh0WTFlpSlQl8t9l596IZK7hW
 CpD4DzYUpoOra1VubUEO0SIP6fy7D63XrpWNIctUtjLyEMuj9EFY46Vfma/lXOXl
 ObRhKENPDYoXJ565SojJCiwg2clSxwuzVbLFR5ofYoSOKzxBNo4WZ3JPyUUPeHRD
 CehmXzkhl3KMYJAQkG3Vp5Z1CGpY0v2bVUdC8yA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=YA/ctH
 +jMJDmMHEMBQiOZMgm5Fc6I35F8DlEFQkP8lE=; b=F3OyuRxYoEvh+APa16iOwd
 lBZy54uQeua10vAqaXFT7bRHTBq559fVTYCOTxUwxmGS4UKHhjccsaaP6azV8buv
 Yj5yC0gAXlV9r5uinRETYsS2Tv7x/IbnmSvCrm4/AnYQBl/hO7vSMEOcbUVqVdMs
 0Usq+WIaYcJbEAKju+Di9sE7fxao/iAMA9u7E8Nw203LMvw2H2A4u+97fxh3QE1L
 gNSLz1mzGkEd5PkoND+0uyKZJAK8yyJg0hYhQ6mj9GeXodNrIlV2Iid6kgrcB62P
 2CkHqVwOc7COWdAsuTd+merZcJRvww0jbGa/WqOVTjCgfftCxyN6bzDghOSGjaDw
 ==
X-ME-Sender: <xms:w_yqYMMWqP_Uk_1x_MurJHAOrCnJCzgGdI7khTyY9K70g5kLO7kBXQ>
 <xme:w_yqYC__vjxlanLiD6gNtlwo5tIT1OCEvUHALerxj-ZJhhEFFH6_lt7Su7DwiWayo
 gyIo4vCGf6kVW58e-c>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdejkedguddvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreertdenucfhrhhomhepfdfurghm
 uhgvlhcuuegrnhihrgdfuceoshgsrghnhigrsehfrghsthhmrghilhdrtghomheqnecugg
 ftrfgrthhtvghrnhepvddufeeghfeuieeitdffhffghefhgfelleffhfdtffeutdffteei
 vedtvdejieeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
 homhepshgsrghnhigrsehfrghsthhmrghilhdrtghomh
X-ME-Proxy: <xmx:w_yqYDQ5S2_zdO5bCKZJLNSQRojKySqBj-gEchEmjmDs2lx3s0ftRA>
 <xmx:w_yqYEt_PxGrGRz3J_1hMAk9HMZop-cHVUp4dLic_GAIVw6w3MZImw>
 <xmx:w_yqYEdZzgN6gTSWy1k5XvMBfuGp4A_gnV6h2WLHMUGspvUbeC-d7Q>
 <xmx:w_yqYOpIrPfyYFWbYjSqCYnFo2u6IXnSaLdF-t2lzphqZd2HZGppWw>
Received: by mailuser.nyi.internal (Postfix, from userid 501)
 id 13F734E0091; Sun, 23 May 2021 21:09:23 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416
Mime-Version: 1.0
Message-Id: <1fcf67f5-fbe1-4047-8db2-053e91367b57@www.fastmail.com>
In-Reply-To: <3319247.1621787613@apollo2.minshall.org>
References: <3319247.1621787613@apollo2.minshall.org>
Date: Mon, 24 May 2021 01:09:02 +0000
From: "Samuel Banya" <sbanya@fastmail.com>
To: "Greg Minshall" <minshall@umich.edu>
Subject: Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)
Content-Type: multipart/alternative; boundary=12b018078a2643cfba982cca062fde23
Received-SPF: pass client-ip=66.111.4.26; envelope-from=sbanya@fastmail.com;
 helo=out2-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,
 RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Cc: emacs-orgmode@gnu.org
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1621818623;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=YA/ctH+jMJDmMHEMBQiOZMgm5Fc6I35F8DlEFQkP8lE=;
	b=ea/96TLqECrw+IlwhjwHhVR/wLmrUOapex8n46jcjpVx5lxIksKUEQOBB8VVKJVzpGQm67
	o7HtfffJhY+ka4IU1WqRDsvSuQUBChrkfXumsozxXfZyF9gRCkTqczWfgNKIiKdwMbgYuN
	VZFp96VUndzX3lk5zUlylWy5nG61PJCRuNZyVMEPSSAuGhy16fUT4vekAM2gDlIaNw2g/v
	+LdRUN2pWxWYjMzMoToSPFPQS+2ymi/krV6YAABQdvEQLV1Ki7dufMGa/cu2VlR+XYt4Ux
	9yHJsxQRzgkT0fySUeOWoDolHJiB/wLPofrx4optntU/aIeH3uzC2UdKhV3Nww==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621818623; a=rsa-sha256; cv=none;
	b=ZfdZB0FezaU5AjAZnBl9/AtFli9WljtaxJjkTtsersapTr5SgMb+/cmtmg2VyxDSvclHEe
	0pV8wLBtQK1q5a4P7h8UzmsjtLj5GPqQdAo5rgDEpfMLwP2r1sZceBR5/ZEDSCykYPm/lf
	sKPq8SpQjl/0q7U/wMRaqA/Fvzi3sfROidRAB39BJN7PyRcnG/Qvrq5cU5EXeK/ykB7Xyh
	MQvqerMzjeBSvPc4OyBRszFqdCP3F+BJn4iyQUrDEhPU1zvCSOgxaB0TDMSO3jDmbblwzz
	ZCn7bzkIEOTKl4FoOGtwfUsoQD9MOdeZpTwJvG5wVmYv4UMAxMGHEcjVZ+iCOw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=fastmail.com header.s=fm3 header.b=pOui9hnw;
	dkim=pass header.d=messagingengine.com header.s=fm2 header.b=F3OyuRxY;
	dmarc=pass (policy=none) header.from=fastmail.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-Migadu-Spam-Score: -2.13
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=fastmail.com header.s=fm3 header.b=pOui9hnw;
	dkim=pass header.d=messagingengine.com header.s=fm2 header.b=F3OyuRxY;
	dmarc=pass (policy=none) header.from=fastmail.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-Migadu-Queue-Id: 7A22213CB8
X-Spam-Score: -2.13
X-Migadu-Scanner: scn1.migadu.com
X-TUID: bz30LcoxRjUS

--12b018078a2643cfba982cca062fde23
Content-Type: text/plain

Hey there Greg,

Gotcha.

Just to confirm, you're saying I should add a "(require 'org-tempo)" in my Emacs config in that case?

Or are you saying that I should disable "org-modules" setting value by setting it to nil or '0' (zero)?

If that is the case, what would be the syntax to do this change?

Just wanted to ask since I'd be happy to make the changes my config to see if that would help, but needed to know what you meant for me to try out to fix the issue.

Thanks,

Sam

On Sun, May 23, 2021, at 4:33 PM, Greg Minshall wrote:
> Samuel,
> 
> i think that by default, Org no longer listens to, e.g., =<s[TAB]=.
> but, if you load =org-tempo=, it still does.  i wonder if you might see
> if you are loading =org-tempo= (maybe [C-h v org-modules]), disable
> that, and see if that clears away some of the underbrush.
> 
> (you can get something like the old behavior with =C-c C-,=.)
> 
> i use yasnippet to expand =<le[TAB]=.
> ----
> # key: <le
> # name: latex equation environment
> # --
> \begin{equation}
>     $0
> \end{equation}
> ----
> and, that works for me.
> 
> if i re-format your snippet (maybe this was the original formatting?)
> ----
> # name: src
> # key: <s
> # --
> #+BEGIN_SRC $1
> $0
> #+END_SRC
> ----
> 
> and open an org file, =<s[TAB]=, it seems to work if i enter a language
> name and then =[TAB]= to commit.  if i commit with =[RET]= instead, it
> still *seems* to work (in terms of the buffer contents), but i get this
> message
> ----
> [yas] Committing snippets. Action would destroy a protection overlay.
> ----
> 
> i didn't run into any lisp errors.
> 
> in case any of that helps.
> 
> cheers, Greg
> 

--12b018078a2643cfba982cca062fde23
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hey there Greg,=
<br></div><div><br></div><div>Gotcha.<br></div><div><br></div><div>Just =
to confirm, you're saying I should add a "(require 'org-tempo)" in my Em=
acs config in that case?<br></div><div><br></div><div>Or are you saying =
that I should disable "org-modules" setting value by setting it to nil o=
r '0' (zero)?<br></div><div><br></div><div>If that is the case, what wou=
ld be the syntax to do this change?<br></div><div><br></div><div>Just wa=
nted to ask since I'd be happy to make the changes my config to see if t=
hat would help, but needed to know what you meant for me to try out to f=
ix the issue.<br></div><div><br></div><div>Thanks,<br></div><div><br></d=
iv><div>Sam<br></div><div><br></div><div>On Sun, May 23, 2021, at 4:33 P=
M, Greg Minshall wrote:<br></div><blockquote type=3D"cite" id=3D"qt" sty=
le=3D""><div>Samuel,<br></div><div><br></div><div>i think that by defaul=
t, Org no longer listens to, e.g., =3D&lt;s[TAB]=3D.<br></div><div>but, =
if you load =3Dorg-tempo=3D, it still does.&nbsp; i wonder if you might =
see<br></div><div>if you are loading =3Dorg-tempo=3D (maybe [C-h v org-m=
odules]), disable<br></div><div>that, and see if that clears away some o=
f the underbrush.<br></div><div><br></div><div>(you can get something li=
ke the old behavior with =3DC-c C-,=3D.)<br></div><div><br></div><div>i =
use yasnippet to expand =3D&lt;le[TAB]=3D.<br></div><div>----<br></div><=
div># key: &lt;le<br></div><div># name: latex equation environment<br></=
div><div># --<br></div><div>\begin{equation}<br></div><div>&nbsp;&nbsp;&=
nbsp; $0<br></div><div>\end{equation}<br></div><div>----<br></div><div>a=
nd, that works for me.<br></div><div><br></div><div>if i re-format your =
snippet (maybe this was the original formatting?)<br></div><div>----<br>=
</div><div># name: src<br></div><div># key: &lt;s<br></div><div># --<br>=
</div><div>#+BEGIN_SRC $1<br></div><div>$0<br></div><div>#+END_SRC<br></=
div><div>----<br></div><div><br></div><div>and open an org file, =3D&lt;=
s[TAB]=3D, it seems to work if i enter a language<br></div><div>name and=
 then =3D[TAB]=3D to commit.&nbsp; if i commit with =3D[RET]=3D instead,=
 it<br></div><div>still *seems* to work (in terms of the buffer contents=
), but i get this<br></div><div>message<br></div><div>----<br></div><div=
>[yas] Committing snippets. Action would destroy a protection overlay.<b=
r></div><div>----<br></div><div><br></div><div>i didn't run into any lis=
p errors.<br></div><div><br></div><div>in case any of that helps.<br></d=
iv><div><br></div><div>cheers, Greg<br></div><div><br></div></blockquote=
><div><br></div></body></html>
--12b018078a2643cfba982cca062fde23--