delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/11/07/20:57:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-15.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,USER_IN_DEF_DKIM_WL
X-Spam-Check-By: sourceware.org
Message-ID: <6E514BE3E1B34A46872E475F6EAB5E27@cisco.com>
From: "Matt Seitz" <matseitz AT cisco DOT com>
To: "cygwin" <cygwin AT cygwin DOT com>
References: <A0DB01D693D8EF439496BC8B037A0AEF3167DFED AT xmb-rcd-x15 DOT cisco DOT com>
In-Reply-To: <A0DB01D693D8EF439496BC8B037A0AEF3167DFED@xmb-rcd-x15.cisco.com>
Subject: Re: git gui 1.7.9-1: "spell checking is unavailable" error message
Date: Wed, 7 Nov 2012 17:57:39 -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

> 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