From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Localize `ispell-completion-at-point' Date: Thu, 14 Dec 2023 13:24:41 +0200 Message-ID: <83fs05qb5y.fsf@gnu.org> References: <831qbps1de.fsf@gnu.org> <83o7etqgdf.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38710"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Arash Esbati Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 14 12:25:36 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rDjqR-0009nm-Ph for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Dec 2023 12:25:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDjpi-0001WH-7q; Thu, 14 Dec 2023 06:24:50 -0500 Original-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 1rDjpc-0001N2-4d for emacs-devel@gnu.org; Thu, 14 Dec 2023 06:24:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDjpb-00085t-S5 for emacs-devel@gnu.org; Thu, 14 Dec 2023 06:24:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0WvdOxNj8P88Eeu1ifYZoK7WDnvVlRBeX93aMa+6SzM=; b=V4HEyiiBmKoo dVoBXGJsGD73dhaqjrhHxNM7q3RIt6AJkcj6P0lH3OlwRcnTPG/M0qZHh7E2X2QSzr3x3rfJk8z/3 s3FocsU5eYdfX3j/m1S9ebnQICoia5C3/C7awSDA5xYb/+xkQuRb0XR2Bj2zZdldH0UI4yqql2RVH OtYA0sHB+i0dDKXc97RehjOJNI+R48Xs3UzpPsfgk3S9/NNcOwnoGoUikI0oRuD7unbffQIaU5TV5 hAjm9UOe4poH+AvdgOqo5wheQqoyeqgqFCD6aNMIdoBuPzIuYOvgYgXFVj4e3uOezoLVLIuiZA6sN Bzh3dgHTZqjAqSGiEGQc8A==; In-Reply-To: (message from Arash Esbati on Thu, 14 Dec 2023 12:02:29 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313772 Archived-At: > From: Arash Esbati > Cc: emacs-devel@gnu.org > Date: Thu, 14 Dec 2023 12:02:29 +0100 > > What do you think about a custom variable like: > > '((ispell-dic-name . path-to-word-list)) > > where the user must ensure that the word list is available under the > given path? So basically, Emacs doesn't need to guess and > `ispell-lookup-words' relies on users input inside > `ispell-completion-at-point'? It would work, but once again: who are we doing this for, if word lists, let alone those for languages other than English, are not widely available? We already have ispell-change-dictionary-hook, which users can use to set ispell-alternate-dictionary to a suitable value when the dictionary is changed. Isn't that enough, given that ispell-alternate-dictionary is already a defcustom?