From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8PyBE/KFqGbDsQAAqHPOHw:P1 (envelope-from ) for ; Tue, 30 Jul 2024 06:19:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8PyBE/KFqGbDsQAAqHPOHw (envelope-from ) for ; Tue, 30 Jul 2024 08:19:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=irCJ4Vjq; dmarc=pass (policy=none) header.from=gmail.com; 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=1722320369; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uXpYkSult0ZsZflS6khYkL3fAiu06ZeiS9yeauwv+u8=; b=jCfUhbGAV/Dmqm1rvx1pdy9F1UaZSxhL+4bSInFMI/ZGgoIo//nPD+5eBJ6mDTH672NbIS 6+tYA5uNmpK/KwaiuU6l/fCi0lu5QpcWFF5/VXVFMn51E+i2IcdWCIqydHSMP6R66uJmLq 4nHRM98+AekYQXVUrZc0+7D9yXLKDHpa64+G1kveyI0z6c926dRnh6W5F7UKqrlF3Rq/sN q2oZJWN4R3LnWMWPixCM7q16tyHJ+ewcbhk2erot36bhMuRw2tpTZlgeXloMsAYe9Syc5J ILRpBcor6wcyaYx2KugP21CpZqw6MhcUp+UO73wq90tHerlCBAVUbhnAWJaTPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722320369; a=rsa-sha256; cv=none; b=FPTC4q7be6KhSpJsJc0WTBeAgHfp+zChRr9m2+568/5RofV3uonL8naf/0oggYH6WMRbIk lskn2UOXvwfQwusGZsUz3pq+Iu4dpU3w0+/KM708ae+UNrUuF1xsUPJ8n2dB/ax7WDEZv2 GzmG3JaB2LzxUmnf7WtQB1JaSWnVdUHygglkbmGTd+itrhBjV8C8qE0DQTJQz9m10Vb60P CLB5wRgevMCnd+jQfPAMQIlzlkjnjVxXhGh9FQsqV32E5u1K42TC2j4lAFZGBJ3ld9cCIv Py9zqV86QFbBPsrZDHuVv74wTEJDkFnIqOXAImNIsuv578ImJgwmHUSX0g2TYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=irCJ4Vjq; dmarc=pass (policy=none) header.from=gmail.com; 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" 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 25FEF338A1 for ; Tue, 30 Jul 2024 08:19:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYgBh-0002db-IW; Tue, 30 Jul 2024 02:18:21 -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 1sYgBg-0002Zb-8T for emacs-orgmode@gnu.org; Tue, 30 Jul 2024 02:18:20 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sYgBe-0008B0-FY for emacs-orgmode@gnu.org; Tue, 30 Jul 2024 02:18:19 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4281d812d3eso17831495e9.3 for ; Mon, 29 Jul 2024 23:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722320295; x=1722925095; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=uXpYkSult0ZsZflS6khYkL3fAiu06ZeiS9yeauwv+u8=; b=irCJ4Vjqja1uknlU2i/hqLOfWyEAd1zitM3IwzuSSQVFtQdZsJb9pfNoQkx6XHyoFf fMlFRaZX1Gf6MJUsROVWasA3+sFjX1mfRmzCpKKaTvV7rG0r5iyFVd5WlGPQYb+ZmPTv cOFTIvwt79KgfGOVCQBGVrGId1KPrDcgI6/7pewI9NZ0Zc2ojK5kgH2uxtROCFWZMPbX 8bJGHKz4Ymy66wKPQWOiAHIDVlJeHgevbeuAUi/BegH1Jjab+OTKq0jfXIlfNTZNMDsz /o19+WY7JPwXvsyk6NQbauIuqmhJr/ui39X6RsJ97e9oMTQklkPhVmMfbhAhu4fQ//1U t7cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722320295; x=1722925095; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=uXpYkSult0ZsZflS6khYkL3fAiu06ZeiS9yeauwv+u8=; b=V5UkIVOPRAI3ERJMxisN6p62ZBb8HGPmZ1aW6qwr1Q2f5f1MwgsVXXkQ3u7KYSyzRn LMyw03jc+czzjag7pvNXP6Ge3yjaV8dPCUWC2zpEVUzH6UER0IYjarhRVBFiOpaXMlJx FQ7m7SKdMQojcaZYeqP1W6bPFOg8fxQz0WBsxOhysGo+kTEP6X619Lick4AU27pCRIu+ zYJ+j3UGJ4FzTmlrE8uxf+FGQoW/i9nMXZMmukY+0m4noS6/SiU9yFO/7zzT3EUboQiv eRMu/IGzZsWKbnjeeAZUDG+5F7an8r3+B2+EEDCwZr0kNXausI2EZZc5vE5xRqyIIZQo Stug== X-Gm-Message-State: AOJu0YwRU5+EDavZOdaXewyTScNTVAOlCI75uC5EnyYDdBPorOUc841A boxgkSHMSZuJP5zu3IJ9mni1dxD9EVcCFDL8t32SZ6pnrYkUJ5ORWwggg2wV X-Google-Smtp-Source: AGHT+IFmQMYyz57OTzp4dkFle9AXt1iH9ZlTEEirGxpHST4FUQwFU6nIYkaA5r7iiyquT1pqMj3c8Q== X-Received: by 2002:a05:600c:4311:b0:428:111a:193 with SMTP id 5b1f17b1804b1-42811e0b9a7mr65582175e9.37.1722320295037; Mon, 29 Jul 2024 23:18:15 -0700 (PDT) Received: from [192.168.1.39] (98.red-79-148-59.dynamicip.rima-tde.net. [79.148.59.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4281807f701sm87493185e9.22.2024.07.29.23.18.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Jul 2024 23:18:14 -0700 (PDT) Message-ID: Date: Tue, 30 Jul 2024 08:18:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: es-ES, de-DE, it-IT, en-GB To: Org Mode List From: "Pedro A. Aranda" Subject: PATCH: Add tip to integrate spellchecking with #+LANGUAGE: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=paaguti@gmail.com; helo=mail-wm1-x329.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 25FEF338A1 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.24 X-Spam-Score: -8.24 X-TUID: wz/Nt+A6Nd/q  doc/org-manual.org: Add tip to integrate spellchecking with #+LANGUAGE: * doc/org-manual.org: Show how to watch ~org-export-default-language~ in your ELISP code to automatically adjust your spell-checker. ---  doc/org-manual.org | 12 ++++++++++++  1 file changed, 12 insertions(+) diff --git a/doc/org-manual.org b/doc/org-manual.org index 6cf51ebca..020fd061f 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -14075,6 +14075,18 @@ general options (see [[*Export Settings]]).                 '("AUTO" "polyglossia" t ("xelatex" "lualatex")))    #+end_src +  *TIP*: you can watch this variable in your ELISP code to interface +  with your spellchecker: + +  #+begin_src emacs-lisp +    (defun org-export-default-language-watcher (_ newval _ _) +      ;; newval will hold the value defined in #+LANGUAGE: +      ) + +    (add-variable-watcher 'org-export-default-language +                          #'org-export-default-language-watcher)) +  #+end_src +  - =LATEX_CLASS= ::    #+cindex: @samp{LATEX_CLASS}, keyword -- 2.34.1