From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wAkxD/7/kGBUawAAgWs5BA (envelope-from ) for ; Tue, 04 May 2021 10:04:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sLjSCv7/kGCjEwAAB5/wlQ (envelope-from ) for ; Tue, 04 May 2021 08:04:14 +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 5CBF610EBD for ; Tue, 4 May 2021 10:04:13 +0200 (CEST) Received: from localhost ([::1]:45962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldq2N-0008LL-2q for larch@yhetil.org; Tue, 04 May 2021 04:04:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldpz7-0007mR-Uy for emacs-orgmode@gnu.org; Tue, 04 May 2021 04:00:52 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:55243) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldpz3-0001UM-L0 for emacs-orgmode@gnu.org; Tue, 04 May 2021 04:00:49 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id E66F45C016A; Tue, 4 May 2021 04:00:43 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 04 May 2021 04:00:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aleks.bg; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm2; bh=aIEPc80pjZ+8njFejF4wHGjIa7 UFxMxBXr0VWchjGa8=; b=oKKU535kcdo5BSkeK5OwjGFZj8V/i3fSYGuXMXBUgF qoQd+LDAqCQqT8Q9lpIfGxOz13EtOojQFtOfEIW143vFomjT1NmrTbObC5VBNMv6 3mNQXEL1xCil9lSni1F3tfDgg9CWdF+ceeXd/eLalasTtEh8QyZmmX/+qAo480rs 3NNntNPue9PvIzIhpBKF5J05R6wc9ZXy1xzREsiho1YZlrbllPHVVX64hZVJkeoS YKyfa/+oRs2Um5HFcJkCg6vjYo3v17syOpmS1a/3SRS0rd19wLeB1OllWPfLSE+c /Hu1dIDAJrSVQHdFASfLC/8cfikAZFQrFB5Lu7mGJPFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=aIEPc8 0pjZ+8njFejF4wHGjIa7UFxMxBXr0VWchjGa8=; b=ir4GBZMBJagqisYhkdzJVA efQbI47JX8CU0ya/QVsojcaZx1cqDw/3DIIw1fSVF7fPqjCGUFUKwAPTkdIuexai b1CtB+MtA0XKyboYUuyS3GwZKoc4GXJ7NLm5ajrG49Ln6UsQ1vgStY2/BIVnoFkr 772tJC9Hr8G0+q+Tn04daznp1Mghn3+tWqUZKc4/LuDyZ8CHsz98s0SQSmga+qoT pKA3/rrX2IyHgoQ6cpji4rmMSZL7y/MYLkn2Q4mNarLLRc6vFEfJuaaGQ8VU9JBy CQ3O4QOpXAhjVTc3mdCN13bupDPq8T1EKnEVw1ea8egMsROT9bdywZcj7PXs2qqg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefhedguddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffujgffkfggtgesthdtredttdertdenucfhrhhomheptehlvghk shgrnhgurghrucffihhmihhtrhhovhcuoehmrghilhesrghlvghkshdrsghgqeenucggtf frrghtthgvrhhnpeegueegkefhueejueejgeetudfhgfekteekvedvteejgfekffffgfej tddvledvieenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeekjedrudelud drvdekrddvgedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepmhgrihhlsegrlhgvkhhsrdgsgh X-ME-Proxy: Received: from NOAH185-L (unknown [87.191.28.242]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 May 2021 04:00:42 -0400 (EDT) References: <871raosx9a.fsf@posteo.net> <87k0og8fss.fsf@list.aleks.bg> <87v97zmys5.fsf@fastmail.fm> User-agent: mu4e 1.5.5; emacs 28.0.50 From: Aleksandar Dimitrov To: Joost Kremers Subject: Re: About multilingual documents In-reply-to: <87v97zmys5.fsf@fastmail.fm> Date: Tue, 04 May 2021 10:00:40 +0200 Message-ID: <875yzzvsgn.fsf@aleks.bg> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.27; envelope-from=mail@aleks.bg; helo=out3-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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: , Cc: emacs-orgmode@gnu.org 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=1620115454; 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=aIEPc80pjZ+8njFejF4wHGjIa7UFxMxBXr0VWchjGa8=; b=XZ2ZmntzffhPRrglf7jT6ikWGI53Q+sn3/D/hgOBX9VYEeU7Epon7WZSny8fMCfXuWo+1m 3xblHcZS5sb1RIhbVC+y/LRKXE1ocibmHdJG394FIR5Wk2tdjGF21FNFw2+6+KvMfgDn2g D/VopTZaBTHlImMG4EZeNvEWXk8jTRE5mQVtWcxMz5TcstLGi/BU5qskDRGP6AKS8BmW7i CFfwnIA4KSBT6IdRNMDmXtAogOkcGVdsgS0BmTn7WfLwghA+k245tpb5Ne9yCrvX4fMOsm 4DDo7PD70mshFSD0QCPjOAsvO0RMzR1Zjmrl0KzxOnhUmNPV1cvtbazLNMhKLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620115454; a=rsa-sha256; cv=none; b=qLMEJp/4Zz1y9tx3TxBESmCNzTrcqmzOTGsvaT9ZfCSqE6c3mbbZ+j5VSgvXt39wOJjenq iwopQorFX+G93Oa5+jb3k0ABiId0FkdVAfVKrbyRClVSlTc0xMIIPTg46rvxTELaO0keDm 9EqKfeNj7mOcaSDQslIkqt7PHttv4Td+NUe+fn1Fhi1ceUu+Cp6Y19Ys7A1y0qbj+wYKYH +zn3nE9rh6Tb58Z3cDu+JbDoHbejoBtg6Z36Ga45D2c4umGmg7wGUK32kRAb82bcMPaW85 JRwP7oUOrsj3cpbloSv3V5dZo+Drb/GaOc6eBsG2GaqT/jA6TsVtaZNry9OMwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=aleks.bg header.s=fm2 header.b=oKKU535k; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ir4GBZMB; dmarc=none; 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.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=aleks.bg header.s=fm2 header.b=oKKU535k; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ir4GBZMB; dmarc=none; 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: 5CBF610EBD X-Spam-Score: -2.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: WthesI4PUvmc Hi Joost > [Not directly related to the OP, but might be useful to know.] > > On Mon, May 03 2021, Aleksandar Dimitrov wrote: >> this sounds very interesting to me, as I, too, mostly write in Org >> and, sometimes write documents in multiple languages, usually with >> different varieties of either Latin or Cyrillic. > [...] >> Apart from the export, one of my biggest gripes is >> flyspell. Specifically, the fact that you have to choose one language to >> spell check the entire document with. That is insufficient in my case. > > flyspell is basically just ispell, and ispell can be configured with different > backends. One possible backend is hunspell, which allows you to set multiple > dictionaries. So if you regularly use different languages in a buffer, you > should give hunspell a try. > > [...] >> The drawback, and the clear disadvantage compared to your method is that >> this works great only when the languages are separated by paragraph >> breaks. > > If that is the case, you could also check out the =guess-language= package: > . It tries to detect the > language of the current paragraph and sets the ispell (and hence flyspell) > dictionary accordingly. I use it because I write in three different languages, > but usually don't mix them in one buffer. Thanks for your hints! =guess-language= seems really cool! I also didn't know hunspell supported more than one dictionary. Thanks! Aleks