X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.6 required=5.0	tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,RCVD_IN_HOSTKARMA_BR,RCVD_IN_JMF_BR,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Thu, 8 Nov 2012 23:06:05 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <69455956.20121108230605@mtu-net.ru>
To: "Matt Seitz" <matseitz@cisco.com>, cygwin@cygwin.com
Subject: Re: 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)
In-Reply-To: <05C4181E65454C1A8F02506A85181CC1@cisco.com>
References: <AA8183B2AF0542B388CF765F8C4796CF@cisco.com> <1743526806.20121108183618@mtu-net.ru> <05C4181E65454C1A8F02506A85181CC1@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greetings, Matt Seitz!

>>> 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?
>>
>> No, it makes sense to report this issue to Git maintaners.

> OK, I can do that.

> However, based on the Fedora bug reports, it sounds like this could be an 
> issue for other "aspell" client applications.   It appears that the normal 
> behavior for "aspell" clients is to report an error if the "default" 
> dictionary is specified and no dictionary is present.

Application should not error out on mistakes in a third-party module
configuration, that is not even required for application to run, and merely
providing a cosmetic functionality.

> So it seems like the options are:

> 1.  Change git-gui and other "aspell" based applications to suppress their 
> error message when the "default" dictionary is specified and no dictionary 
> is present.

Specified where? If it's a configuration in Git-GUI, it must report it as
inconsistency and suggest the way to amend it.
If it's a configuration in aspell, and Git-GUI merely asking for default
behavior, then again, Git-GUI should check, if the module can work at all,
before trying to use it and throw errors at the user.

> 2.  Change "setup.exe" to install the "default" dictionary (i.e., the 
> dictionary for the current locale) automatically when "aspell" is installed.

Unlikely to happen. Even if do, it would only be a suggestion.
Unless you take the burden of implementing full APT functionality into cygwin
setup.exe.

> 3.  Change "setup.exe" to remind the user to install the "default" 
> dictionary when "aspell" is installed.

> 4.  Keep the current behavior, and let the end-user figure out what went 
> wrong and how to fix it.

> Option 2 seems to be the solution that Fedora went with.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 08.11.2012, <22:59>

Sorry for my terrible english...


--
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

