From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id NnbgDur7qmDQJwAAgWs5BA (envelope-from ) for ; Mon, 24 May 2021 03:05:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eB0kCur7qmCodAAAB5/wlQ (envelope-from ) for ; Mon, 24 May 2021 01:05:46 +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 7DCF212D83 for ; Mon, 24 May 2021 03:05:44 +0200 (CEST) Received: from localhost ([::1]:41496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkz2L-0002N5-Rm for larch@yhetil.org; Sun, 23 May 2021 21:05:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkz1X-0002Mh-5E for emacs-orgmode@gnu.org; Sun, 23 May 2021 21:04:51 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:56921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkz1S-00089D-TX for emacs-orgmode@gnu.org; Sun, 23 May 2021 21:04:49 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 15A0C5C018D; Sun, 23 May 2021 21:04:46 -0400 (EDT) Received: from imap10 ([10.202.2.60]) by compute4.internal (MEProxy); Sun, 23 May 2021 21:04:46 -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 :subject:content-type; s=fm3; bh=MYcP3bpBlack0davpoee16kEgYeCXt+ B/Vl5n0QkVBo=; b=Sty9VKK4NsnEDLf//rjcgcbE5G2dWJ4zlyQnsnvvYwkTQOl 5rX7KjQpAddka0jhzGT2uJPKmd/Ti0P0xuhK8bq9MTsKn1zbmlPEKCe+yHSlpA9W HZ6505ArzrIYTO+L7XmeDs44aljxcrisZdQDRIeP+8QnE7E25yeC+96PYTWQzmvn EWoD16M/L7quo4TGcpwkY/RM/XF+wNHW/ceK8uTnOKcY1IktY2gLTJi37xxCssO5 iwMhqiU0IFBEf8GLk8v44hMjfLzZ3hKwimIctKVswQASiE32C77ChKnPLFIpzqcL n+AuEopIcRiMNYD1XO0cJbaxPznCMYtIUi9oXDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=MYcP3b pBlack0davpoee16kEgYeCXt+B/Vl5n0QkVBo=; b=MLjvIZCt/dxH7J2BVqPYfY gA9FmaQB4WYjoLe9yjhCySz3T1rllEW2ENiHc0gpcS6IMO25+d0FNHoHA4ahamOb C67++U/Z6rjVftlN0Icc8w2kxoX4/zJLpo2VcNVznj0eJ6NvpM47x32sVbCW58Zd 6R3jR3kPqIO84KapS50DL3zNFJqWS/17uqpxTUgGQnosnT+NW4R0MMBG9u6lqc2o 6vkWyh2euMwZeemJZJQQoFZHB0tsh0lnLuF3zwq/404WFAZSjmwInsyGkNc/Pk5H gHVnRmovWYF4d5ZDtR1/+VJh3GglqEeqLP/FnUjgMN9z4UdkDyqJ7v2G+XdWLIYQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdejkedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdfurghm uhgvlhcuuegrnhihrgdfuceoshgsrghnhigrsehfrghsthhmrghilhdrtghomheqnecugg ftrfgrthhtvghrnhepfeekhedvuefhveeiteetjefhffetjeevkeduleejffdtvedthfei keehgeefleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgsrghnhigrsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C56304E0091; Sun, 23 May 2021 21:04:45 -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: <97d5e902-6800-4491-836a-7604747b74ac@www.fastmail.com> In-Reply-To: References: <8fbaaf62-b827-4a88-bf7a-23aa1596e469@www.fastmail.com> Date: Mon, 24 May 2021 01:04:25 +0000 From: "Samuel Banya" To: =?UTF-8?Q?S=C3=A9bastien_Miquel?= , emacs-orgmode@gnu.org Subject: Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2) Content-Type: multipart/alternative; boundary=e425c4fec6674cb6a8b8f5f644f6cbe5 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621818345; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=MYcP3bpBlack0davpoee16kEgYeCXt+B/Vl5n0QkVBo=; b=Fz4o2V21AEmjJM8r1nLXPIiSrp3of1PkRBSY5DgOBc+vI8XS6+1RuVthV/gk0is5va0DBF hMVcgFgql2m8GeHMhF8eWn1t+wTGySm9+r7gnNQZPwX6/0HUJObnZW50h2TvZfzXC5tJA2 91RsjySshBceqZtIKs6v1h4Je/V72lT9MEkJetIEhcK5V4iPFxYBgCbITjOpkn1j9a6ivS J8jSqW2vPQ2a/wHGmYZUOXiaokALkjA2HkQmRX2ukOonyFWieqFgxIWKYb1vBrt9f/EFut lBo32Xv4uOSqVLdxrNAqVFPyoY2Aky1sffFtZBxi7aCcQv273Qn8N7Hfwbi3sQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621818345; a=rsa-sha256; cv=none; b=XRBIwQxDk1iorFTQE8sr3zCudswDeUaTBp67KWYkg+lKRpnyQZC0V81LIAYsQ+42x4I6qA MDPcSx2z6efW7ZI9AFQb2mpsL+H5b++AaTFEiytGjOU8GK9Ez63yEHlsXMRGnjf9RLzV5m J5JJvG8ewWFVrSvJzuAdDnQkn56Jqpzm/PEbqEWHXI8oYrv6/MnZ/tMc/PwzFtscAz252C iJBYb9enTGc5Vsr/73lsuYwBCSLlfRhp1d6gB9tHSUzatl0pp6l/A9nEQouIYjmCieha5A Ks0j6kGmhQjNhrQBp0OtOiEAnkOOMZ+Mesgz5QLts8b9dxVF01cw7CeWEXaxrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fastmail.com header.s=fm3 header.b=Sty9VKK4; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=MLjvIZCt; 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=Sty9VKK4; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=MLjvIZCt; 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: 7DCF212D83 X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: uyjC8W9PIfT+ --e425c4fec6674cb6a8b8f5f644f6cbe5 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Hey S=C3=A9bastien, Thanks for this insight. Do you think that maybe changing the setting you had mentioned before, '= org-src-tab-acts-natively' to false (aka nil or '0' (zero) value) via a = change in my configuration would make this error not happen within Org-M= ode in that case? On a related note, I use Emacs Org Mode every day for my support job, an= d am super thankful it exists. I have never been more productive in the = last 2 years switching to Emacs than I ever have been in my entire life,= so just wanted to say thanks to the best piece of software on earth. Thanks again, Sam On Sun, May 23, 2021, at 9:18 PM, S=C3=A9bastien Miquel wrote: > Hi Samuel, >=20 > > I'm guessing its some kind of Org Mode vs Yasnippet issue where=20 > > Org-mode is expanding it too fast, when it should wait for user inpu= t=20 > > hence the "$1" section. >=20 > I guess yasnippet tries to indent the inside of the block (see > =3Dyas-indent-line=3D) before the lang part of the src block is specif= ied. >=20 > In Emacs 27.2, the default value of =3Dorg-src-tab-acts-natively=3D wa= s > changed to `t`. With this setting, trying to indent a src block with > no language results in this error. >=20 > --=20 > S=C3=A9bastien Miquel >=20 >=20 --e425c4fec6674cb6a8b8f5f644f6cbe5 Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hey S=C3=A9bast= ien,

Thanks for this insight.

Do you think that maybe changing the setting you had men= tioned before, 'org-src-tab-acts-natively' to false (aka nil or '0' (zer= o) value) via a change in my configuration would make this error not hap= pen within Org-Mode in that case?

On a rela= ted note, I use Emacs Org Mode every day for my support job, and am supe= r thankful it exists. I have never been more productive in the last 2 ye= ars switching to Emacs than I ever have been in my entire life, so just = wanted to say thanks to the best piece of software on earth.

Thanks again,

Sam

=
On Sun, May 23, 2021, at 9:18 PM, S=C3=A9bastien Miquel wrote= :
Hi Samuel= ,

> I'm guessing its some kind of Org Mo= de vs Yasnippet issue where 
> Org-mode is expandi= ng it too fast, when it should wait for user input 
&= gt; hence the "$1" section.

I guess yasnipp= et tries to indent the inside of the block (see
=3Dyas-ind= ent-line=3D) before the lang part of the src block is specified.

In Emacs 27.2, the default value of =3Dorg-src-tab= -acts-natively=3D was
changed to `t`. With this setting, t= rying to indent a src block with
no language results in th= is error.

-- 
S=C3=A9bas= tien Miquel


--e425c4fec6674cb6a8b8f5f644f6cbe5--