From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Fabrice Niessen" Newsgroups: gmane.emacs.help Subject: Re: Auto-correcting proper nouns with flyspell? Date: Thu, 17 Sep 2009 10:14:20 +0200 Organization: My Googlest Message-ID: <87ocpakmxv.fsf@mundaneum.com> References: <87ljkhdjgk.fsf@mahal.sjds.teklibre.org> <87ocpb5cmh.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1253196558 30396 80.91.229.12 (17 Sep 2009 14:09:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 14:09:18 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Sep 17 16:09:11 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MoHfa-0008Ac-Q5 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 16:09:11 +0200 Original-Received: from localhost ([127.0.0.1]:46699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoHfa-00051E-81 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 10:09:10 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-X-Trace: news.eternal-september.org U2FsdGVkX19iTwSL5r/WwhAbnOuYcsHV7muqdUBKZA6RGyUooHrrzshv2al6mIGVTOkog4dbg9U7Suvd60Lwvb510P56ywFusnB0xWtSIK04sgxtIj1HPApY4moMEpIAsuh2/I2Ahyc= Original-X-Complaints-To: abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org Original-NNTP-Posting-Date: Thu, 17 Sep 2009 08:14:21 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/2Tq5HlbBjhBpd49brp/J5 X-Archive: encrypt X-Www-site: http://www.MyGooglest.com/fni Cancel-Lock: sha1:XAnAAMMb2kImiLHPmo63eS0nAlo= sha1:DzkozyiUpjh+mAP1QP5q8PWpUm4= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:173107 X-Mailman-Approved-At: Thu, 17 Sep 2009 10:06:20 -0400 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:68241 Archived-At: Hi Andreas, Andreas Politz wrote: > "Fabrice Niessen" writes: >> Andreas Politz wrote: >>> d@teklibre.org (Dave T=C3=A4ht) writes: >>> >>>> Is there a way to make Emacs (flyspell) automatically capitalize proper >>>> nouns that have no other equivalent, instead of marking them in yellow >>>> with an underscore? >>> >>> Since there is `flyspell-incorrect-hook', you can do all kinds of thing= s. >>> [code] >> >> While the idea is good, I personally find this dangerous, as "Emacs" [..] > > I was merely, at least partially, answering the question. I didn't mean f= or > it to be looked at as a full-fledged solution to the problem. Yes, I know. And I was pleased learning some new aspects of `flyspell' with that hook I didn't know about... Thanks for having written down the code the OP wanted. I was just trying to show the OP that such a rule may lead to mistakes we're not really aware of... Best regards, Fabrice --=20 Fabrice Niessen Search the Web with "My Google Search Tools" on http://www.MyGooglest.com