From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp1 ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id SDgjGwSEqmA70gAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 23 May 2021 18:34:12 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1 with LMTPS
	id 6LLBFgSEqmAbUgAAbx9fmQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 23 May 2021 16:34:12 +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 A93EBFE86
	for <larch@yhetil.org>; Sun, 23 May 2021 18:34:11 +0200 (CEST)
Received: from localhost ([::1]:59812 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 1lkr3K-00089I-Dj
	for larch@yhetil.org; Sun, 23 May 2021 12:34:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44104)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <minshall@umich.edu>)
 id 1lkr2w-00088u-CB
 for emacs-orgmode@gnu.org; Sun, 23 May 2021 12:33:46 -0400
Received: from relay-egress-host.us-east-2.a.mail.umich.edu
 ([18.219.209.13]:33740 helo=nice-culhwch.relay-egress.a.mail.umich.edu)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <minshall@umich.edu>)
 id 1lkr2u-0000Fk-KB
 for emacs-orgmode@gnu.org; Sun, 23 May 2021 12:33:46 -0400
Received: from brown-orc.authn-relay.a.mail.umich.edu
 (ip-10-0-72-194.us-east-2.compute.internal [10.0.72.194])
 by nice-culhwch.relay-egress.a.mail.umich.edu with ESMTPS
 id 60AA83E7.3D518.5C8782EF.433374; Sun, 23 May 2021 12:33:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu;
 s=relay-2018-08-29; t=1621787622;
 bh=9G6oE7wbwTFudK8sB4h/DbQZOFrqKMdC9qR/9jOxCvI=;
 h=From:To:cc:Subject:In-reply-to:Date;
 b=BV2/JH38vfDxgFlKA9MInUILrPQikr/jZj9H0KGLeJh4eAJfpgwLDWXqj+PFyGiJs
 ThXRR59/OS+BMArHepFFmtuc2z2O/u2LLn+U2RcP7WvLgpqhNHq17n/uRwHzlydush
 K4Y64MeErQ5fkj9m7Xm2RPSvyPcwVRXVy1C448ejkJUofGmz4RtABwX4gHJZWfWWGn
 0rpvfryHiGf8qv6yim/7RiNUcD5UsIX/1of6hj3QNE2yCTr+fRceU8ms0WkPnGoubn
 sYqZZW6lJ5L96dair9R2RJRp2hQZkY2hnXXEUfxJvwdhcdQqRxeq3/Sk0ySBA7qss4
 Bz24hgwVezfsA==
Received: from localhost (Mismatch [88.236.240.114])
 by brown-orc.authn-relay.a.mail.umich.edu with ESMTPSA
 id 60AA83E5.D6D51.1F750CA7.2200048; Sun, 23 May 2021 12:33:42 -0400
From: Greg Minshall <minshall@umich.edu>
To: "Samuel Banya" <sbanya@fastmail.com>
Subject: Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)
In-reply-to: Your message of "Sun, 23 May 2021 04:51:05 +0000."
 <8fbaaf62-b827-4a88-bf7a-23aa1596e469@www.fastmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <3319246.1621787613.1@apollo2.minshall.org>
Date: Sun, 23 May 2021 19:33:33 +0300
Message-ID: <3319247.1621787613@apollo2.minshall.org>
Received-SPF: pass client-ip=18.219.209.13; envelope-from=minshall@umich.edu;
 helo=nice-culhwch.relay-egress.a.mail.umich.edu
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, 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." <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=1621787652;
	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:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=9G6oE7wbwTFudK8sB4h/DbQZOFrqKMdC9qR/9jOxCvI=;
	b=tKfY6RqLThwDdgIxV0OhapEtrViDSsVKlBisY2lHfeoaZyEDizIHeMgD0BRWstaETh3jjj
	oFzXjzpHsLtE4uQc/Dx5ldZskrdt/8kRGCXVCed5pY0fIgtBaOzgf732WpMjwnyFz+z7mX
	NeuBltZ04U/vIqHFCJVnBXJZb59UhZNSuWYtrMOGCJuxwKW6VhGvr14a0z0XH7c64kNcA6
	gBZaXVgChoctOEtcatVtfSuDesYnlRqhhnhjVXs2iWOxBPr342mcWHGr0S3aQhm3wNYyeo
	cnmObKHvzhDRKGvYoVPvdCYh8lUBHX1PweUGm4pnau4VXwPilHC0xSzKQ/4/wg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621787652; a=rsa-sha256; cv=none;
	b=I6AXZ8go2J2cCKDqaVKlpnHfW7r+wPssEB4tTLH8KGzDaK1V1Sz8fRsAitOa9HjQdZjILh
	1DGwD/6VzEN9gyU9eKEP8Y4BeoUnOmsLdqD+qg2cmSYdlkGLW5wOBeS3r8YkBUOJ4AGO3J
	r3E96Nni5W8NvAJfYMSlJgD20ldLWGbf6TuAk5Q7RCFFk8lHCQUEAK/lnDtRk3u0iroDAC
	QMUEKSeBbKm5XYeEUordkMnj0acUqViD2Wl4WZswMcqXRyY+oV/uOtIJKcQrSvtgYrqzJg
	T6NlGQL/vcECaFEkCPKI04zac5mLucC96ZWu1S/r9uoPn+kAMb/rcdnigYpGpg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b="BV2/JH38";
	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: -3.14
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b="BV2/JH38";
	dmarc=pass (policy=none) header.from=umich.edu;
	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: A93EBFE86
X-Spam-Score: -3.14
X-Migadu-Scanner: scn1.migadu.com
X-TUID: 2t/OkTfkd9xV

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