delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/11/07/21:07:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-14.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,USER_IN_DEF_DKIM_WL
X-Spam-Check-By: sourceware.org
Message-ID: <AA8183B2AF0542B388CF765F8C4796CF@cisco.com>
From: "Matt Seitz" <matseitz AT cisco DOT com>
To: "cygwin" <cygwin AT cygwin DOT com>
Subject: aspell 0.60.6.1-1 does not install any dictionaries by default (RE: git gui 1.7.9-1: "spell checking is unavailable" error message)
Date: Wed, 7 Nov 2012 18:07:09 -0800
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Updated subject line to reflect the root cause.

-----Original Message----- 
From: Matt Seitz
Sent: Wednesday, November 07, 2012 5:57 PM
To: cygwin
Subject: Re: git gui 1.7.9-1: "spell checking is unavailable" error message

> From: Matt Seitz (matseitz)
>
> Any idea what caused the "git-gui" error message to start appearing after 
> I ran "setup.exe" on Nov. 5?
> I've been running "git-gui" 1.7.9-1 since February, and I haven't changed 
> my "git-gui" options recently.
> "Git-gui" was working fine with no error messages on Nov. 2.

I looked through "setup.log".   I see that something triggered "aspell" to
be installed on Nov. 5:

2012/11/05 06:48:59 Adding required dependency aspell: Selecting version
0.60.6.1-1 for installation.

2012/11/05 06:48:59 Adding required dependency libaspell15: Selecting
version 0.60.6.1-1 for installation.

From what I've read, git-gui silently disables spell check if "aspell" is
not installed.  But if "aspell" is installed, "git-gui" tries to load it,
and then load whatever dictionary is specified in the
"gui.spellingdictionary" option. This option is not set on on my system,
which apparently means "use default dictionary".   So, "git-gui" tries to
load the default dictionary, and reports an error when it can't find it.

It looks like the Fedora team originally installed the "aspell-en"
dictionary by default whenever "aspell" was installed.  Then they dropped it
as a dependency for the same reason given earlier in this thread: that it's
not really required for "aspell".  Then they made installing  the
"aspell-en" dictionary a requirement again, to avoid issues like this.

https://bugzilla.redhat.com/show_bug.cgi?id=494084

Does it make sense for Cygwin to follow Fedora's lead, and install
"aspell-en" by default when "aspell" is installed?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019