From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 1VBPOmHLSGTA0AAASxT56A (envelope-from ) for ; Wed, 26 Apr 2023 08:57:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kKNqOWHLSGSZfAEAauVa8A (envelope-from ) for ; Wed, 26 Apr 2023 08:57:37 +0200 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 59573372DD for ; Wed, 26 Apr 2023 08:57:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prZ4u-0004yF-0r; Wed, 26 Apr 2023 02:56:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prZ4o-0004xm-FA for emacs-orgmode@gnu.org; Wed, 26 Apr 2023 02:56:32 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prZ4m-0004oT-AR for emacs-orgmode@gnu.org; Wed, 26 Apr 2023 02:56:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 61C50240277 for ; Wed, 26 Apr 2023 08:56:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682492186; bh=UM3Sp1VXPTR0fRCEeUOGl9a+Zqv4m386unMFeIPE4q8=; h=From:To:Cc:Subject:Date:From; b=LgkGUe9P4TBKDWXxkT0N+4W82+z5fPJjYbMAjVu4100QyOMsoUXfpq2LfF4Dehbc9 KP64AaOEWWFgxKgGK1oTIysBHTO6N4AhZ9GWRJ4aOPwE9gA6O9KKRPU/fy2O5OhSOY VJCQRa1/jWcFsre8k79NZVsX+B9IEYwlQ4sJZfDGyb7xwB1zSPYj92o24uus7QNe6X 2jFq50GlKnVrMrRHlkWGV/s39EWsmo8EwNsqimfqxu9tdkjbYSEFDlNGR3BCwxdtPj WBc6Jv0vvy90WZKNS2mMyb9JgBz56BryOoRzI9AYb4GUQUDUVbe9OHeTaAmLIDe1of q+Awc0ZjleWEQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q5qQx4fWmz6txs; Wed, 26 Apr 2023 08:56:25 +0200 (CEST) From: Ihor Radchenko To: Ruijie Yu Cc: lin Sun , Timothy , Bastien Guerry , emacs-orgmode@gnu.org Subject: Re: [PATCH] before emit an error message, try to load the babel language In-Reply-To: References: <388850760.3644614.1634354740816.ref@mail.yahoo.com> <388850760.3644614.1634354740816@mail.yahoo.com> <87k0h5gbad.fsf@gmail.com> <1410400175.3014347.1637221629433@mail.yahoo.com> <147485378.6546620.1638236479358@mail.yahoo.com> <87czmiqnmh.fsf@gmail.com> <115088871.6596146.1638252307206@mail.yahoo.com> <877d5sszc2.fsf@localhost> <87354suluu.fsf@localhost> <87cz3vhwj7.fsf@localhost> <87zg6ws7li.fsf@localhost> <87o7nc6mr7.fsf@localhost> Date: Wed, 26 Apr 2023 06:59:23 +0000 Message-ID: <87ildjp1ro.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682492257; a=rsa-sha256; cv=none; b=GqEabIjnTPS6IU0pDPJJc0ge9jo3UtQ70HavgA89rz21lSuaW39KMRe4NpeieRegIRzrB8 6X5l/q4fC989a7t0ro8gaknPkkbD9VQIL3jEw2/ZeCfgeC2U67GlRuViq2XSlI/HrlPVCh irMyMqQ2P1eAcjoZPtN8T4Bz1C8HDG+KHe2cAX0y3obZbu0KSUCo8D95THD9Grh4SiSsM6 nNi9yapcFt3zHG6DVNh9Z/uRWdxswWamn9+pgEGJtqRzNdqePrior8nthF/AqrwzfwAPpc brGTStGpjlqcV78/O2QrqbD83By75tXNCBBk6QUr4rwWH2Jz5NsrLwbDF78c6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LgkGUe9P; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682492257; 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=wEOypIJv1jfDL2eTfy+L+kFVCTN4+dhswVizJcHN22g=; b=nJUixfNQcDFIOGvnTJIjbWs6gH6r3hpCDRYCdHrEp7j+mQ5Q+0P+nLsw4Vkex9LAmX4Hde nad8qwkefAQKZWRblqx8C0/dMq3Amu1XR/KiwZd2XDrmMJkX284arQyRL85Kfhu+87UVpx pIm2nx8VwOAMN3Xfq4xQaqC+EaBsaZ6O8YaKkwoYvDF2KgJMiK9LgINOUWmjNOT3wiw1Rc D+SBoxruDtdJJYNbk3RGswwGylgtkyjHdz+zuLXkHS7i5x1ZKo8ZaoupgDrt8/6INWpM4/ 6OoaamfDAz2Ys+F7JFAcNsWiWCeJ87W9rT+1fXIXOsIDcbej2iZONDnn4x6HQA== X-Migadu-Spam-Score: -7.50 X-Spam-Score: -7.50 X-Migadu-Queue-Id: 59573372DD X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LgkGUe9P; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: nZmAsIdvo4vO Ruijie Yu writes: >> And it is not us who needs to use `setopt', but users. >> We just have to deal with de facto situation with users using `setq' >> mindlessly. > > Makes sense. So, does that mean nothing should be changed, except for > maybe some additions to documentation mentioning that the users should > avoid using `setq' to set customizable variables, and instead use > `setopt' if >= 29, or [some function in cus-edit.el which I don't > recall] otherwise? Not really. It is a common problem that users keep using `setq' instead of `setopt', customize interface, or `custom-set-variables'. Lin Sun's solution is one approach to deal with this problem for `org-babel-load-languages', but only partial, as I outlined. I'd prefer to use either `add-variable-watcher' or oc.el-like API with `org-cite-try-load-processor' being called when babel backend information is requested. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at