From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#25825: 25.1; ispell-find-hunspell-dictionaries not working on Windows Date: Wed, 26 Aug 2020 13:10:13 -0700 Message-ID: References: <83o8mx2res.fsf@gnu.org> <83k0xl2r0u.fsf@gnu.org> <83h7sp2pyx.fsf@gnu.org> <83eent2o36.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21025"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sw9@outlook.com, 25825@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 22:11:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kB1lF-0005Kl-S1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 22:11:09 +0200 Original-Received: from localhost ([::1]:57940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kB1lE-0003sX-S6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 16:11:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kB1l8-0003qs-8E for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 16:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kB1l7-0003iD-Uq for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 16:11:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kB1l7-0004Tt-QM for bug-gnu-emacs@gnu.org; Wed, 26 Aug 2020 16:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Aug 2020 20:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25825 X-GNU-PR-Package: emacs Original-Received: via spool by 25825-submit@debbugs.gnu.org id=B25825.159847262917174 (code B ref 25825); Wed, 26 Aug 2020 20:11:01 +0000 Original-Received: (at 25825) by debbugs.gnu.org; 26 Aug 2020 20:10:29 +0000 Original-Received: from localhost ([127.0.0.1]:40917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB1ka-0004Sv-VN for submit@debbugs.gnu.org; Wed, 26 Aug 2020 16:10:29 -0400 Original-Received: from mail-yb1-f172.google.com ([209.85.219.172]:38425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB1kR-0004SJ-ND for 25825@debbugs.gnu.org; Wed, 26 Aug 2020 16:10:19 -0400 Original-Received: by mail-yb1-f172.google.com with SMTP id e187so1652700ybc.5 for <25825@debbugs.gnu.org>; Wed, 26 Aug 2020 13:10:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=c85MzuQR1kNTBlsT5nfULAlxh61FturvKM/ByvzPj14=; b=Q9Ul1dWHcW7YVxVi6hfngfRjd4Yurxx+DKoehXlpuYDYAlSjyBGLWhhDleZ41Q2xUN fqJOx/ZGcbdEnNlFD+SFumixCQZAc/iq0/EsK6f1v0M3rxEO6cQ6iXwftnVlGEBdFuWI PMOJrBNRVa+Hli/4h7GRbvkarDgSBcUCqpYfc9vbRfIYfjwWvWPEkWZTHc6nRabL3NUn M0YwRpOvfdQOigb1LXBmdn9ZOLQ5cFhSMBOsC+2QlLyLoJPhiocD0W8FYrgucH/zvRwK stCsYFoJMn11F19rfkfflZb/uOv7zP6t+tDACBuXa/b5laQsKzCAad7K2dNiOzOeeapN bWCw== X-Gm-Message-State: AOAM531CzG4pBh5CakDp0VCd0tAM4i4mO7SBqpkn3XCPDl6l6Niiia/8 k1+X4fj7Qm/T63TDr7Jr2xiqxsH1NSDNKHpmI/Q/okS9U+I= X-Google-Smtp-Source: ABdhPJxzC1kRh7pfaD+Ho0wB8qUWsuqk+3ux35DWxSYz+BKcDGaTE+C8I8EiFiiu1O9YTuKYs/N4PuN8pOAKr6ztjIA= X-Received: by 2002:a5b:508:: with SMTP id o8mr25809113ybp.43.1598472614450; Wed, 26 Aug 2020 13:10:14 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 26 Aug 2020 13:10:13 -0700 In-Reply-To: <83eent2o36.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186476 Archived-At: Eli Zaretskii writes: >> But for some reason, hunspell is very sensitive and will not give any >> loaded dictionary if $LANG is unset. (IMO, very unhelpful behaviour.) > > Maybe this is worth a bug report against Hunspell. I filed a bug report against hunspell here: https://github.com/hunspell/hunspell/issues/687 > But is this really relevant to how Hunspell is invoked from Emacs? It > certainly isn't on Windows, because we inject LANG into the > environment there. But what about Posix hosts? AFAIU, we just inherit the environment such that if $LANG is unset in the parent process, (getenv "LANG") => nil > That cannot fly: we cannot second-guess the user's locale, and we > shouldn't force some arbitrary locale on them. It's basically a > mis-configured system, so signaling an error is good enough, IMO. Point taken.