From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KM3pDC6RSGQ7DgEASxT56A (envelope-from ) for ; Wed, 26 Apr 2023 04:49:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +BX0DC6RSGQHwAAA9RJhRA (envelope-from ) for ; Wed, 26 Apr 2023 04:49:18 +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 B6B372AD4E for ; Wed, 26 Apr 2023 04:49:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prVCj-0004FB-Se; Tue, 25 Apr 2023 22:48:26 -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 1prVCi-0004Au-D9 for emacs-orgmode@gnu.org; Tue, 25 Apr 2023 22:48:24 -0400 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prVCg-00058m-Em; Tue, 25 Apr 2023 22:48:24 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 69884dfd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 26 Apr 2023 02:48:19 +0000 (UTC) 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> User-agent: mu4e 1.9.22; emacs 30.0.50 To: Ihor Radchenko Cc: lin Sun , Timothy , Bastien Guerry , emacs-orgmode@gnu.org Subject: Re: [PATCH] before emit an error message, try to load the babel language Date: Wed, 26 Apr 2023 10:33:01 +0800 In-reply-to: <87o7nc6mr7.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , Reply-to: Ruijie Yu From: Ruijie Yu via "General discussions about Org-mode." Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682477358; a=rsa-sha256; cv=none; b=ggMxwDVPnGs86j8nNdMU6ru917wsc1alFVtjQlcADDL6+OrW7jj/BaUPjX+TUYASssIK3v XUotoLoAF/snpa0vYUiCCQzN5ELPdnq3VdNjCoN6hVfp6pNxSQKSEAm7I38AuL6Tpt03WZ iK/SmaCztsWfoDsx13bKnBUh8aeTygODzQVe/+DOaeOEProUL21hEnsRUdizhb8Is11s24 z+lbh03RAWv1PyF11+cSuXv4IbqceoKCwtHUoD+clDooVtDJWNEYG+MpcALk5i3ktsLyL/ awBXl1m3Nroa+rMwgTAvuRytPjjFnaQgQPUuUpRIP5pKMCl7Ls7NPdNxNgiuKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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=1682477358; h=from:from:sender:sender:reply-to: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; bh=cZ27vJFo1cnOLo+eIzVs/C0jL485SlxtgVYqWKSF9cE=; b=lbovIFMQsBPJ+ghZOMmFsdk4PVQJUv01TITQn3Kc2Qcp0VII/hZHZtguDFfpy770J5kmj1 gYkhu47vjP8PcBCPywsUtnDwAcDcjrRh3Y1MFZY2nfzTyL8A3fTMJcjBIdgHNP5AvjEi8a 0r0cqKvnU6GYtmS18NaLe06X3veFa6qokOAKhNWmMQU6TtyLv0/NUqXhPueCPQ8ww1YEhP Ulh+U2pTm6LpAN53EzaWws5OViomAFgsW8QU09ZKovVBOrRM7Gm9nmg4gPF3yEs34t1bwR GzRvVqE9mbsg7kHRjKizkQS/Stb79/Z5lIpJ4pHtbNMzJX3Z69gn5nH/+o1Ndw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Spam-Score: -3.51 X-Spam-Score: -3.51 X-Migadu-Queue-Id: B6B372AD4E X-TUID: 4Diivn/njLez Ihor Radchenko writes: > Ruijie Yu writes: > >>> 1. `setopt' already triggers loading when variable is set. It is just >>> `setq', often used in place of `setopt', that does not trigger >>> loading/unloading. >> >> Speaking of which, since we now (or are about to?) depend on compat, we >> can just do (require 'compat) and forget that `setopt' is an Emacs 29 >> addition. > > No. Compat does not support and does not plan to support `setopt' (see > https://elpa.gnu.org/packages/doc/compat.html#Limitations). > 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? -- Best, RY [Please note that this mail might go to spam due to some misconfiguration in my mail server -- still investigating.]