Received: (at 67045) by debbugs.gnu.org; 24 Dec 2023 20:11:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 24 15:11:14 2023 Received: from localhost ([127.0.0.1]:53593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rHUob-00078Q-U1 for submit <at> debbugs.gnu.org; Sun, 24 Dec 2023 15:11:14 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:48441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1rHUoV-000784-GT for 67045 <at> debbugs.gnu.org; Sun, 24 Dec 2023 15:11:11 -0500 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-554e902064aso34580a12.1 for <67045 <at> debbugs.gnu.org>; Sun, 24 Dec 2023 12:11:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703448655; x=1704053455; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=4Dzein5MkoiQBYmhm6f7UykH+U+bg7rDAEeFhCJjCXU=; b=Y1zN0GiPOef8jMB1RojzXpVz1rVBzbDYFFP+UEtrd8qHHpGxHr7zYqYs2e07KDblbG aCbH/8uAziyeAjLHjNN5VRoir1CRuY5R6VO15KG/DMS/URVEpxs/DGqP4hio1iqGAlwF UqKNjLRg1dwkfJsx/l+yWydO2UhAHPcJpvTmGtwa5djz4hU3DqxxZqHHXentfmGSLNNi F6tp3ZMwv+kAVq4BwtMYOpTSM5v0ZPJ6sj+Zv6rKwerHsamrRypYYvSk9NOMaAcpiy56 Yu/csFlIOVrs0COJWQOH1swfJ59CFlNrq8vWSAylodUS6+llUIWHFPZYzPeX2X9RZMRI W8DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703448655; x=1704053455; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4Dzein5MkoiQBYmhm6f7UykH+U+bg7rDAEeFhCJjCXU=; b=bb0x74BeJDp8M7Lh/T/BhdCZNsXJ3kPPf0vbyQDgVJbeSnYO9saoaGnCvW8+YxTSLa DKcPk47Pn2eRHUbaXD/ZZfIZ2SOKKm54B/xh498886+sKejSlxOGfzb683OdQlHbSvg/ o8QGgxCUUedz79/r5bwZxean3lzTrEIji4vyU4tte06giIORWMTOJYMO6zuUhc6Rf7Kh Fh18JrgHYDRxDkMKRK/q12r73B2b9SajeIWD1H8X6xudkbGaQmj/xZi8O4ULIasN5xXq hqdY1Tp2OaGqBxtuyxI1RUPZJiRfdggI/khPeiAsaDFir7on9CM6MqtQxSKXSoAr9Ftg dDZg== X-Gm-Message-State: AOJu0YymRWRlwgkHh9zyDaJpO2Lb8ThMxFLJ+nRriFtFRJKkGaGEncbA 3IcMIUOk2iYX0C/ILPVJPty6qVvC40LsCkJzQG0= X-Google-Smtp-Source: AGHT+IGZVdOgRF8SSl6T1cszQ3lYxZC77GlFZdzXRvfd0l/x+NVfpUnBB/uDGOHsktx2WUek1ef2/66x06Y4uuA7Ngk= X-Received: by 2002:a05:6402:311b:b0:551:350:808 with SMTP id dc27-20020a056402311b00b0055103500808mr3441859edb.29.1703448655563; Sun, 24 Dec 2023 12:10:55 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Dec 2023 12:10:54 -0800 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <837cmoydx2.fsf@HIDDEN> References: <CALG+76dumN=tkEaN0aJ17W5YmxZo_QOSm=Hf3BcJzsht6CX=qg@HIDDEN> <83jzqpy2mi.fsf@HIDDEN> <CALG+76cAhACdf+6eEuR3H1MJZgqYL7A9G98CCf4MubAOzzDKWA@HIDDEN> <837cmoydx2.fsf@HIDDEN> MIME-Version: 1.0 Date: Sun, 24 Dec 2023 12:10:54 -0800 Message-ID: <CADwFkmmvghT-Hey-UwMQ=Bxam6erZXreYNfg2m5s3D2o0E2AmQ@HIDDEN> Subject: Re: bug#67045: No way to control location of .aspell.en.prepl from within Emacs To: Eli Zaretskii <eliz@HIDDEN>, =?UTF-8?Q?Bj=C3=B6rn_Lindqvist?= <bjourne@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67045 Cc: 67045 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: > Why do you consider it not a user-friendly solution? There's no limit > to command-line options a speller can have, so it is not reasonable > IMO to expect Emacs to have a separate variable for each one of them. > Thus, our solution to have a single variable that can hold any > additional options is a reasonable compromise. [...] > Stefan, WDYT? I could go either way with this one, to be really honest. Eli is right that proliferating our user options with all the details of concrete spell checkers will start getting unwieldy at some point. Personally, I'd rather see the interface of ispell.el get more abstracted away from concrete spell checkers. I don't think users of Emacs shouldn't have to mess with aspell/ispell/hunspell/enchant (unless they want to, of course). So I'm not entirely sure that adding a new user option like this is moving things in the right thing direction.
bug-gnu-emacs@HIDDEN
:bug#67045
; Package emacs
.
Full text available.Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 67045) by debbugs.gnu.org; 11 Nov 2023 16:40:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 11 11:40:01 2023 Received: from localhost ([127.0.0.1]:54378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r1r1c-00060C-M4 for submit <at> debbugs.gnu.org; Sat, 11 Nov 2023 11:40:01 -0500 Received: from mail-vs1-xe32.google.com ([2607:f8b0:4864:20::e32]:46130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bjourne@HIDDEN>) id 1r1r1a-000600-Ud for 67045 <at> debbugs.gnu.org; Sat, 11 Nov 2023 11:39:59 -0500 Received: by mail-vs1-xe32.google.com with SMTP id ada2fe7eead31-460f623392fso552178137.0 for <67045 <at> debbugs.gnu.org>; Sat, 11 Nov 2023 08:39:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699720753; x=1700325553; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=riUlyhTVTWj0TK//u7q/eaRW7JKjveVWbAzZMquHVIA=; b=ZiTk3GsqrD7qVf895Va2apqz5gxVqhRyX85y/TY6c0d2c5pVjJ9JK+2X6B3o9xfU8a PN2eKzuad330L6MOdbeAupXp0jC7GvIp5mnf6BD9t0br7jkMdZPUUND7+9DLKGbzsKrp p9zS5iAkyclx5xvMxXiZA6QzGjLzAfBiWsUdX2ajW/zQM5xCScwOoKxPnaPRbZ/UDvuw K2eiR2PwsowTjMCCHDVH1/LpzI2bCtjfeJ1HzMmSbZGH/yGsqMsThGwZisEGnk4w+ZZv D5Kl2RF3S5GghCUIXlKkmnG0KRFUye02dCg6VtPfxe9pjP293Hm40N6lWaZJ2ufuddHS A1CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699720753; x=1700325553; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=riUlyhTVTWj0TK//u7q/eaRW7JKjveVWbAzZMquHVIA=; b=Xk1BdmMgIDEjkiArVjEDDZLij7t95ei1w77bDbtIIjh6se/4gOMiS/QdMwQa5WVSw2 CXCP+AEsp1lWnMx2Phy+cXBqYTUYRObamSwJ/l+v1t81xoeATcPDbb3OmoGSBT3Ase70 pbV17Wv7PKYxD4bgtrUlVlor728STBSCIU6aLlnjrScvbb4dG46r8TEldbhqktsm/6Ii BL48OrIyyp2oqBB6TpRUcnhRumvcS/sJ2ZmhCAPJAinyGx86ul1cjL3awcaYwpP6CPpT rSzD85ZUZ943rjLaLynnif9hIYPSCu88GL9k9pMAvu2s6/LVxhMeujE1YIKN/ON2pAtj JEjw== X-Gm-Message-State: AOJu0YxGZR4mVOXbghZ8ZMh0rc9/wXmfu11ePXeXvq9i/SKstdkkRjEc pq+G1h2hbchvOsg8K8kafZMxfMQQhD40hxttXmw= X-Google-Smtp-Source: AGHT+IGrmpCik+n5wZAgy25M7F68Aygjz9pb9Z4CA+bXXWMh0qgf+Nnng/re3Cn8Nw9FdIn/1gy4xYckPHTUxFnvp4I= X-Received: by 2002:a05:6102:1494:b0:45e:fe82:1d14 with SMTP id d20-20020a056102149400b0045efe821d14mr3061021vsv.7.1699720752728; Sat, 11 Nov 2023 08:39:12 -0800 (PST) MIME-Version: 1.0 References: <CALG+76dumN=tkEaN0aJ17W5YmxZo_QOSm=Hf3BcJzsht6CX=qg@HIDDEN> <83jzqpy2mi.fsf@HIDDEN> <CALG+76cAhACdf+6eEuR3H1MJZgqYL7A9G98CCf4MubAOzzDKWA@HIDDEN> <837cmoydx2.fsf@HIDDEN> In-Reply-To: <837cmoydx2.fsf@HIDDEN> From: =?UTF-8?Q?Bj=C3=B6rn_Lindqvist?= <bjourne@HIDDEN> Date: Sat, 11 Nov 2023 17:39:00 +0100 Message-ID: <CALG+76fiwY7QK1JtipSrbCuVGDSMjewRTmzi8vzpgaXbCHQJKw@HIDDEN> Subject: Re: bug#67045: No way to control location of .aspell.en.prepl from within Emacs To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 67045 Cc: 67045 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) I care little about what speller backend Emacs uses. I just want it to follow the XDG (which I think it should do by default because dumping dotfiles in ~/ is for neanderthals, but that's a different story). Getting it to work was very difficult especially as I'm often switching between languages. Here is part of my setup: (defun set-language (code name) (let* ((dir (expand-file-name "~/.config/aspell/")) (pd (concat dir code ".pws")) (rd (concat dir code ".prepl"))) (make-directory dir t) (setq ispell-personal-dictionary pd) (setq ispell-extra-args (list "--repl" rd))) (ispell-change-dictionary code) (flyspell-buffer) (message (format "Switched to %s" name))) (setq flyspell-issue-message-flag nil) (add-hook 'text-mode-hook 'flyspell-mode) (add-hook 'flyspell-mode-hook (lambda () (set-language "en" "English"))) I also have keybindings setup to quickly restart aspell because having one buffer spell-checked in one language and another buffer in a different language is not supported. I would be happier if I could write: (setq ispell-personal-directory "~/.config/aspell") and have ispell understand that it should dump all user configuration files to that directory. Den l=C3=B6r 11 nov. 2023 kl 07:58 skrev Eli Zaretskii <eliz@HIDDEN>: > > > From: Bj=C3=B6rn Lindqvist <bjourne@HIDDEN> > > Date: Fri, 10 Nov 2023 22:33:17 +0100 > > Cc: 67045 <at> debbugs.gnu.org > > > > > Can't you customize ispell-extra-args? In addition, > > > ispell-dictionary-alist supports language-specific options, AFAIK. > > > > I didn't know about that variable and it's not in the manual afaics. I > > managed to piece some elisp together using it to set the --repl > > option. It works, though I don't think it is a very user-friendly > > solution. > > Why do you consider it not a user-friendly solution? There's no limit > to command-line options a speller can have, so it is not reasonable > IMO to expect Emacs to have a separate variable for each one of them. > Thus, our solution to have a single variable that can hold any > additional options is a reasonable compromise. > > As for its discoverability: in general, when you are faced with a > problem in some Emacs Lisp package, my advice is first to see whether > a solution already exists by browsing all the defcustom's of that > package (and its parent packages, if that is appropriate). One way of > doing that is by using "M-x customize-group" bu giving it the group of > the package. > > Stefan, WDYT? --=20 mvh/best regards Bj=C3=B6rn Lindqvist
bug-gnu-emacs@HIDDEN
:bug#67045
; Package emacs
.
Full text available.Received: (at 67045) by debbugs.gnu.org; 11 Nov 2023 06:59:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 11 01:59:12 2023 Received: from localhost ([127.0.0.1]:51384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r1hxX-00072w-MV for submit <at> debbugs.gnu.org; Sat, 11 Nov 2023 01:59:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1r1hxS-00072J-Ej for 67045 <at> debbugs.gnu.org; Sat, 11 Nov 2023 01:59:09 -0500 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 <eliz@HIDDEN>) id 1r1hwi-0007WM-LY; Sat, 11 Nov 2023 01:58:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=A/d3MgCfpmZCMNOuX6LXXbMXXH749PrsDpNhs6E6Ppg=; b=bnGvtTO8iv9kzBAK8j+s H261CJeMfUl8E52uwXqvM9A2rrs2puGqqL6ismmKsUC1ndZqSSBwVoAondqemqaIei3UbhRyp18Pr 66a/vfSKh664fAsTWNzVNVfw/rhfN/HiXeQaGdIiCq/Pj668Vdz10lKbPnjHCS3gu6Wfo0rog7SVS Bq7i300hQvwHYXjxMnVA5jyM3ctN3zs5biAL/ZjiVuzqXvZD+dtN3QYtK2cy86k8BXMoJIju4YZ9g NEQ2u550Sm7iBxm7D9ofcYSDOFG7NoFzLRor3Yp9yjMgaE9loo9HA2xVHdHI5XftnT9UeFYEcQx3c FGRKx+HE2Nr9Qw==; Date: Sat, 11 Nov 2023 08:58:17 +0200 Message-Id: <837cmoydx2.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?utf-8?Q?Bj=C3=B6rn?= Lindqvist <bjourne@HIDDEN>, Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <CALG+76cAhACdf+6eEuR3H1MJZgqYL7A9G98CCf4MubAOzzDKWA@HIDDEN> (message from =?utf-8?Q?Bj=C3=B6rn?= Lindqvist on Fri, 10 Nov 2023 22:33:17 +0100) Subject: Re: bug#67045: No way to control location of .aspell.en.prepl from within Emacs References: <CALG+76dumN=tkEaN0aJ17W5YmxZo_QOSm=Hf3BcJzsht6CX=qg@HIDDEN> <83jzqpy2mi.fsf@HIDDEN> <CALG+76cAhACdf+6eEuR3H1MJZgqYL7A9G98CCf4MubAOzzDKWA@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67045 Cc: 67045 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Björn Lindqvist <bjourne@HIDDEN> > Date: Fri, 10 Nov 2023 22:33:17 +0100 > Cc: 67045 <at> debbugs.gnu.org > > > Can't you customize ispell-extra-args? In addition, > > ispell-dictionary-alist supports language-specific options, AFAIK. > > I didn't know about that variable and it's not in the manual afaics. I > managed to piece some elisp together using it to set the --repl > option. It works, though I don't think it is a very user-friendly > solution. Why do you consider it not a user-friendly solution? There's no limit to command-line options a speller can have, so it is not reasonable IMO to expect Emacs to have a separate variable for each one of them. Thus, our solution to have a single variable that can hold any additional options is a reasonable compromise. As for its discoverability: in general, when you are faced with a problem in some Emacs Lisp package, my advice is first to see whether a solution already exists by browsing all the defcustom's of that package (and its parent packages, if that is appropriate). One way of doing that is by using "M-x customize-group" bu giving it the group of the package. Stefan, WDYT?
bug-gnu-emacs@HIDDEN
:bug#67045
; Package emacs
.
Full text available.Received: (at 67045) by debbugs.gnu.org; 10 Nov 2023 21:34:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 10 16:34:17 2023 Received: from localhost ([127.0.0.1]:50963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r1Z8q-0000Ds-W3 for submit <at> debbugs.gnu.org; Fri, 10 Nov 2023 16:34:17 -0500 Received: from mail-vs1-xe29.google.com ([2607:f8b0:4864:20::e29]:46280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bjourne@HIDDEN>) id 1r1Z8o-0000Dc-Sy for 67045 <at> debbugs.gnu.org; Fri, 10 Nov 2023 16:34:15 -0500 Received: by mail-vs1-xe29.google.com with SMTP id ada2fe7eead31-460f623392fso365223137.0 for <67045 <at> debbugs.gnu.org>; Fri, 10 Nov 2023 13:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699652009; x=1700256809; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D+2V6+ucmZlv6I4U9Nc9CioKcSuW4mWhla6i+a6bCL0=; b=WX+pQi+1m9UySt3F8NRpBfu7qUYC2dssBtAegqlks03GammZ10y8+lZN6Fd3UK7AUq IN+y2guB3I4GOJlHOdK7eU24ltuMY8BMcYkyW+equG8pfS+Uytjwk72nDTFUuXo2ivGJ nudzjTY4HisKDPjKzbNzsfH2axG0QhS91vQygfVJv5HU7BJEi+BqwdNviM4k/vewmzku FDdX2a1XhW7HorbqU7jxAS+g/WrdwswPIKwzioQ+ZN3P3N9seRSF9E68EvEIldTCQ0qg VjYvpoKi2TTwq1hhJSrsjPGdbkJep9A/4AVtuOOfsbVu2zscX6hYxchJjTv6QEVSGWbj NRHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699652009; x=1700256809; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D+2V6+ucmZlv6I4U9Nc9CioKcSuW4mWhla6i+a6bCL0=; b=mx6xqC++ImKMykLumi04ktamgknrgJa4wkJ3bA1+HYdcipG+4HuSIVh1tXrohFbQVk JnTv/J7eu6bWMzBSzJzXlWrOp0Oqip3YrOPrGhyOEjdLgV45GXAJ54gsXuYv+Cu/Nshi Da1X85ViYiDsACzA0sn2au8N53A49af/MKgIhAbtLbGktDZ+PXglPnFG2aeEjopstlf2 ZVVwsrLRivXQ3jLTkVfdNALpbKcH/ZdEOsYW39bUWPjir8F9trtYPP4cNR77VpmVu59A jbPuY3z0OjP2f+8WXJMz/kkdvtodL0GNUEx0x0Zxi2ChAd7VJNx4k8SqptgNrB97Ggfm 7JbQ== X-Gm-Message-State: AOJu0YxNr8lTLdL1qDg/tC77lnK27zYgSTI4hafkE//E66kTH8SwMsi4 L/2ndJmLl8Zo4Yc78L0LCVC+OHiOekAUgjQ91e17t7PmD7I= X-Google-Smtp-Source: AGHT+IFD9lmb0ALf43CVABFz5xNxLmOZA2N40bW17e2sBu9U7aFlOpW4E5OhRV2z/ivscmWXx24uFhuNYGHxr7L1CJk= X-Received: by 2002:a05:6102:5e89:b0:457:4645:a339 with SMTP id ij9-20020a0561025e8900b004574645a339mr691782vsb.1.1699652008941; Fri, 10 Nov 2023 13:33:28 -0800 (PST) MIME-Version: 1.0 References: <CALG+76dumN=tkEaN0aJ17W5YmxZo_QOSm=Hf3BcJzsht6CX=qg@HIDDEN> <83jzqpy2mi.fsf@HIDDEN> In-Reply-To: <83jzqpy2mi.fsf@HIDDEN> From: =?UTF-8?Q?Bj=C3=B6rn_Lindqvist?= <bjourne@HIDDEN> Date: Fri, 10 Nov 2023 22:33:17 +0100 Message-ID: <CALG+76cAhACdf+6eEuR3H1MJZgqYL7A9G98CCf4MubAOzzDKWA@HIDDEN> Subject: Re: bug#67045: No way to control location of .aspell.en.prepl from within Emacs To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 67045 Cc: 67045 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) I didn't know about that variable and it's not in the manual afaics. I managed to piece some elisp together using it to set the --repl option. It works, though I don't think it is a very user-friendly solution. Den fre 10 nov. 2023 kl 17:50 skrev Eli Zaretskii <eliz@HIDDEN>: > > > From: Bj=C3=B6rn Lindqvist <bjourne@HIDDEN> > > Date: Fri, 10 Nov 2023 17:01:04 +0100 > > > > During operation aspell creates two files; .aspell.en.pws, > > .aspell.en.prepl ("en" is of course the language code). By default > > these files are placed in ~/. You can control the location of > > .aspell.en.pws by setting the ispell-personal-dictionary variable. But > > you cannot control the location of .aspell.en.prepl. > > > > So a new customization variable is needed to control the location of > > .aspell.en.prepl. Perhaps named > > ispell-personal-replacement-dictionary. It should be mapped to > > aspell's --repl option which controls where the personal replacement > > dictionary is stored. > > Can't you customize ispell-extra-args? In addition, > ispell-dictionary-alist supports language-specific options, AFAIK. --=20 mvh/best regards Bj=C3=B6rn Lindqvist
bug-gnu-emacs@HIDDEN
:bug#67045
; Package emacs
.
Full text available.Received: (at 67045) by debbugs.gnu.org; 10 Nov 2023 16:50:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 10 11:50:49 2023 Received: from localhost ([127.0.0.1]:50757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r1UiW-0001BQ-Px for submit <at> debbugs.gnu.org; Fri, 10 Nov 2023 11:50:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1r1UiU-0001BC-PM for 67045 <at> debbugs.gnu.org; Fri, 10 Nov 2023 11:50:47 -0500 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 <eliz@HIDDEN>) id 1r1Uhl-0003F1-IR; Fri, 10 Nov 2023 11:50:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=FYy9jO1mN0tExpagyYKsE/6MntFUMtqMwdbFMG5Why8=; b=J//mcmbf/WbGPSOSe5MP /d+m8xJV9FsWjgmkSyWFcvZ02Z/twd3XUkhuKP0VqD73NC7XL+fz7tcanzoe1lr2zxNraZfzTzxVR R/2+FNISBqAw/KlrlM5tDQfro5QFCXXKWtwT/ulT2tfmNzg0GFIx4EY4LhqYELQP3zyb5lEnc8JwA aY1NDKpltH0oM+2Q9yEilTdLM/ldFGhVMjibBxUoN4jszMvcRqWzRiJS29vf/Q2jj1/IiUbCqwxQ/ BR3Ys5HIMvS3TJbwS9Z9I/xmPhSvvydVYE2j+RroBToE+7Cjq5uZm1do9jQfeEl3NwasL5hFLcE9i msuK0hX2/5wpbA==; Date: Fri, 10 Nov 2023 18:49:57 +0200 Message-Id: <83jzqpy2mi.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: =?utf-8?Q?Bj=C3=B6rn?= Lindqvist <bjourne@HIDDEN> In-Reply-To: <CALG+76dumN=tkEaN0aJ17W5YmxZo_QOSm=Hf3BcJzsht6CX=qg@HIDDEN> (message from =?utf-8?Q?Bj=C3=B6rn?= Lindqvist on Fri, 10 Nov 2023 17:01:04 +0100) Subject: Re: bug#67045: No way to control location of .aspell.en.prepl from within Emacs References: <CALG+76dumN=tkEaN0aJ17W5YmxZo_QOSm=Hf3BcJzsht6CX=qg@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67045 Cc: 67045 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Björn Lindqvist <bjourne@HIDDEN> > Date: Fri, 10 Nov 2023 17:01:04 +0100 > > During operation aspell creates two files; .aspell.en.pws, > .aspell.en.prepl ("en" is of course the language code). By default > these files are placed in ~/. You can control the location of > .aspell.en.pws by setting the ispell-personal-dictionary variable. But > you cannot control the location of .aspell.en.prepl. > > So a new customization variable is needed to control the location of > .aspell.en.prepl. Perhaps named > ispell-personal-replacement-dictionary. It should be mapped to > aspell's --repl option which controls where the personal replacement > dictionary is stored. Can't you customize ispell-extra-args? In addition, ispell-dictionary-alist supports language-specific options, AFAIK.
bug-gnu-emacs@HIDDEN
:bug#67045
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 10 Nov 2023 16:02:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 10 11:02:12 2023 Received: from localhost ([127.0.0.1]:50724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1r1TxU-0008Ee-0u for submit <at> debbugs.gnu.org; Fri, 10 Nov 2023 11:02:12 -0500 Received: from lists.gnu.org ([2001:470:142::17]:48926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bjourne@HIDDEN>) id 1r1TxQ-0008EN-Bz for submit <at> debbugs.gnu.org; Fri, 10 Nov 2023 11:02:11 -0500 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 <bjourne@HIDDEN>) id 1r1Twg-0007Dl-W1 for bug-gnu-emacs@HIDDEN; Fri, 10 Nov 2023 11:01:23 -0500 Received: from mail-oo1-xc36.google.com ([2607:f8b0:4864:20::c36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <bjourne@HIDDEN>) id 1r1Twf-0001Zs-5R for bug-gnu-emacs@HIDDEN; Fri, 10 Nov 2023 11:01:22 -0500 Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-586ad15f9aaso1063942eaf.2 for <bug-gnu-emacs@HIDDEN>; Fri, 10 Nov 2023 08:01:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699632078; x=1700236878; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=d+BstbvudvKb8lyTcLCVjVmFb8XntqOUcjRFSalixnc=; b=atUZ2IVXtZRzib/YG1TummPDKzguGp5PR39uPh+IPPDckz3t/FBZht3cxe5yrcfOcQ rpyKmcgMGx23yqJGM6Y5tOLhSgWNOpFo5+8KnhjB6tiVb0v0wOi9AphWb67hws5wNSJ0 QyWVwbMgILidF4/4beIXG0pfVGywrBtNJD+dnwC1z1IAsLqXoCemuthXsy85eFjKJaBz +2YD04P5Dyvz6DsOrQll5Jtyo5FsA9aTQ/l9nfM4JqCDETVgK0jYIQHYB2TJcy+AMKUN mfKRVLr9fuaFZBA/3lo2XSZSNXkfBfPD+2iop15yN7bWAlmb7A1AYrlfq+O/n7KbfuzW oEaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699632078; x=1700236878; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=d+BstbvudvKb8lyTcLCVjVmFb8XntqOUcjRFSalixnc=; b=ShXdp5P14ymcRI7I1S3LNXfluww3vMmehKvJ9ELKVCZlwA7ywoIJFbcZA5VfP5Wyy9 bODCA+YyaRIIKwg1X2gfEj+zmw1FHX1czr2S6AuaRnWGWJXlDkFByfYzy5lWvllZBtaI At2SE4Uxd1P7dv9nVN0/nOEeTWZRZAu0DCJPr+PU6yEem/82F/kxFGaF+SyyK4IHRePO Q8bYSvMc7sMDozWZEmGMYYImLHZOHOlBbiYLw7JwSYE6Yaf2BkIoa+pEyvY/JtcA1Ra+ hLUb3eoq5CpFQRLOcJKiA5lieY5vwqO61rOn+3TDSP/jwMnsIjTIiUVPu3jsbHjFV+N5 +HtA== X-Gm-Message-State: AOJu0YyBoDoPi2Nnqn4YF9GYf+o0IL+ssOXpVYlApbduN9zHguPbTbj6 9bFQb9qpbABt9pAk5uAROSCFD4M/T2yfjoXRppfPfVVWtDY= X-Google-Smtp-Source: AGHT+IEEHtA4iEu4yfy+g/bfBXmqHy32uIUs1HDOFQx9d/Okuhy6Oyt/l8zfRAwscnVUTpM4AhBa4E8nLL7DW0GZ4uM= X-Received: by 2002:a05:6358:91e:b0:168:ee2e:fe13 with SMTP id r30-20020a056358091e00b00168ee2efe13mr9430096rwi.30.1699632076477; Fri, 10 Nov 2023 08:01:16 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Bj=C3=B6rn_Lindqvist?= <bjourne@HIDDEN> Date: Fri, 10 Nov 2023 17:01:04 +0100 Message-ID: <CALG+76dumN=tkEaN0aJ17W5YmxZo_QOSm=Hf3BcJzsht6CX=qg@HIDDEN> Subject: No way to control location of .aspell.en.prepl from within Emacs To: bug-gnu-emacs@HIDDEN Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::c36; envelope-from=bjourne@HIDDEN; helo=mail-oo1-xc36.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) During operation aspell creates two files; .aspell.en.pws, .aspell.en.prepl ("en" is of course the language code). By default these files are placed in ~/. You can control the location of .aspell.en.pws by setting the ispell-personal-dictionary variable. But you cannot control the location of .aspell.en.prepl. So a new customization variable is needed to control the location of .aspell.en.prepl. Perhaps named ispell-personal-replacement-dictionary. It should be mapped to aspell's --repl option which controls where the personal replacement dictionary is stored. --=20 mvh/best regards Bj=C3=B6rn Lindqvist
Björn Lindqvist <bjourne@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#67045
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.