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 CJdmNvbGqmDvRgEAgWs5BA (envelope-from ) for ; Sun, 23 May 2021 23:19:50 +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 uCUdMvbGqmC7WQAAB5/wlQ (envelope-from ) for ; Sun, 23 May 2021 21:19:50 +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 4D2041119C for ; Sun, 23 May 2021 23:19:50 +0200 (CEST) Received: from localhost ([::1]:36146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkvVl-0002mj-CA for larch@yhetil.org; Sun, 23 May 2021 17:19:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkvUt-0002mY-6V for emacs-orgmode@gnu.org; Sun, 23 May 2021 17:18:55 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkvUq-0001KA-HP for emacs-orgmode@gnu.org; Sun, 23 May 2021 17:18:54 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 38575240026 for ; Sun, 23 May 2021 23:18:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1621804730; bh=4wUI+A4RnGZew8HdIi44UggYuoGDeRlklXQoNUjVJkk=; h=Subject:To:From:Date:From; b=HQAaj9WA12Asd2NFBqrjXQD5jqWlVd6/HJTsbqS1G3iuXHmT8YNR+ksdlvDRLBV0M lzWGDg5p33KMrdA0LTTlMWCLWV2V2U7ZI2QbrRjFNojBffmxzdNXy02+Tf3OZJS+lj ghmnkU0ppTi9vaIjrepTk6vkRRx+aEhW3iQCu1E95LCzc4o1voXlMaigvc5t9teDiL +zUSMPvqYr6cpdWv+kpRocA5z2Zg+R78hM4/WyDyR27yc2zREoVxD+gNyqtbkDGMgc 3p3fYw0jYng/Y23guSjddV7NGDor9qX2Rhmj5k5m+BLFDuTPbtcIx0GVCtQXZOighN +yJujc5qTYfJA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FpCrT2MVWz6tmB; Sun, 23 May 2021 23:18:49 +0200 (CEST) Subject: Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2) To: Samuel Banya , emacs-orgmode@gnu.org References: <8fbaaf62-b827-4a88-bf7a-23aa1596e469@www.fastmail.com> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Message-ID: Date: Sun, 23 May 2021 21:18:48 +0000 MIME-Version: 1.0 In-Reply-To: <8fbaaf62-b827-4a88-bf7a-23aa1596e469@www.fastmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr Received-SPF: pass client-ip=185.67.36.65; envelope-from=sebastien.miquel@posteo.eu; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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: , Reply-To: sebastien.miquel@posteo.eu 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=1621804790; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HzQywL1/GJVKtrWwo6ibaxW4UYEz9SRuRUsVU9Mm/kg=; b=Mi/7397M+tTVP++V2eqoDkOPh1FrdftBKRMFUQ8S+ZsFOrTG1CMolIh2j+f9jAvANo0gVI LZh50+bXsv/6QmPkBizMmBOkxVUnWDUqoVu2wFyN3vLkFJTl6oo4gZ9bGW316xCai4Zwd5 GOS5WtpRvY0d0cOna6u5Gaq9zmd3adBlF3bxtWAOgFbHANezQAEf8FXa2V6WuwAJJc6A9L Hk/ePZRwDb7bklX6AN2ruQzgn/l0yDheDPH+glUDx2JueK08qnKuvJ+PyT+S8SniZVLopZ r2bUvcycAuy+GHSyTyn2mtHh95zHNN8pUUOWMVFVXWc/f3LGLbCvRHtBH/ZBcg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621804790; a=rsa-sha256; cv=none; b=GSxLPw/5mhtwvSwgvhtG/L6HGXwAlSMFeicFFGkdJU2KF8Bx84uLSu9wu1nPwfxPEhKFWm 4HkZG6fDO07DVdPLoD+7uKeDs0DT/VBNdx82b3am4khyoB299qDbPmXlUklZ5o2CY+B4F5 lV6hcp16tiGSmCN6YMjuxg6KC9juVCZLSnY/mnWn7KJ+CeIoBgfiNiKYTYyUTXBYpV6BCk Sp/zqNWjhpXUG4V6lclQisc28uPtj6uNZJQQJW+CT21z5yEuDaIUwU+VjBXFEHkFkBNHLa hqFRBbAi+Z8KYohnWwsd4MqqHjPlonesYv0vu9XjwS77qRteoH91f9GzcsQPyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=HQAaj9WA; dmarc=pass (policy=none) header.from=posteo.eu; 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=posteo.eu header.s=2017 header.b=HQAaj9WA; dmarc=pass (policy=none) header.from=posteo.eu; 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: 4D2041119C X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: yVudbAR1A2NN Hi Samuel, > I'm guessing its some kind of Org Mode vs Yasnippet issue where > Org-mode is expanding it too fast, when it should wait for user input > hence the "$1" section. I guess yasnippet tries to indent the inside of the block (see =yas-indent-line=) before the lang part of the src block is specified. In Emacs 27.2, the default value of =org-src-tab-acts-natively= was changed to `t`. With this setting, trying to indent a src block with no language results in this error. -- Sébastien Miquel