From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: Spelling and spell-checking Date: Sun, 27 Mar 2016 15:46:19 -0400 Message-ID: <56F8388B.2080904@mousecar.com> References: <87fuvxkz7f.fsf@skimble.plus.com> <87k2kq2yfr.fsf@skimble.plus.com> <56F67CC4.8000303@mousecar.com> <878u15f719.fsf@skimble.plus.com> Reply-To: gebser@mousecar.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1459108009 18781 80.91.229.3 (27 Mar 2016 19:46:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2016 19:46:49 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 27 21:46:41 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1akGe0-0001N8-Pk for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Mar 2016 21:46:41 +0200 Original-Received: from localhost ([::1]:37226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akGdz-0001h8-JE for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Mar 2016 15:46:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akGdp-0001h0-D9 for help-gnu-emacs@gnu.org; Sun, 27 Mar 2016 15:46:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akGdk-00072K-Cd for help-gnu-emacs@gnu.org; Sun, 27 Mar 2016 15:46:29 -0400 Original-Received: from mout.perfora.net ([74.208.4.197]:54763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akGdk-000725-6M for help-gnu-emacs@gnu.org; Sun, 27 Mar 2016 15:46:24 -0400 Original-Received: from nv.mousecar.net ([66.219.160.17]) by mrelay.perfora.net (mreueus001) with ESMTPSA (Nemesis) id 0MQ4iz-1agg8s3N7T-005EF9 for ; Sun, 27 Mar 2016 21:46:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <878u15f719.fsf@skimble.plus.com> X-Provags-ID: V03:K0:168y9wXhjY1Yg1IeVCyx9ISMmWGmz5nRypXWP/w6LpgSC/UykEV /Mkipm0Jlz1Ypp5k5j8IFPLbTD5hrS14+vU25qwaxrc+w8XELm3rrg+twSTpyU1JuP68Hr+ lR8t4JyouZbyWZmGlooZUphxxXtXo9B1u9jUU3m7dPRWeSEinJYfsmk3q9JglaCqIScgv3V 8qkrBlC07DGSk2egRwbbA== X-UI-Out-Filterresults: notjunk:1;V01:K0:8tldMabwwXA=:11N1z+f+jdZu/Osi/XW5Iz z05QKrC/Yic1gIu+ADmmB+9sda6pok/5cH/1efPqHf8fCxOZlmrnLz9IY7mIM7I5bq4suMiY+ ka/ssoWx0IhVdgmCBl1sdVKlIJlxxv5ESL1uNeuTorO76MVtCYYM/KpY00YRO+Qp5fvDtBOUk VvIbksFZeMmclB26TAd5TJO8tUm2ddJfxa1dGYpv6yHi470A9BRxYQP1LZCxt3WOSRuDR2o1W EAfWN9W1FxyvyE64W1iqXYtlOZGEh/Xfz05/xp6a0zmA+nWOAFgLQMG9zfOAfrPcVw7Lj6REp 3RaZ5Ty8vfXwXg3D+MHiy2ZNlrI0lKpxZ1J/ju7X5MjIKSV30DgXo0RSIwjU+I4d4DTAGt1SA rehkYijLpWjvaU2Wk5Ascm4ndNBMkxmlAQjbicQ8GIoDL1RNDNv5aJLTTbx7Qbx3hHoxu06ym sc+4Nu0cv+auJhY1gv5tlInMBTbW2AiMSaZH1wRONUOLprEwA6I4bEmLH03YRi2iSLvr4q1B0 l4p5ubmK16oCCnbrmArlql07mGxEEv0NWtK4LRaFBcQ8mhHGonqc5q7YeKE/8r12zJ1zIrBkJ DYXgnMCCikKshwKhj6oWyidKVz2PrcM/gG2MJlCQp2NOs3N78a0Hffi5fwpsXOnEZvG2eZhdb yUVu0RuEodh4k85l9j2PvZVMcl5RToXUk97zNFmq47WjFnlxPrj16moO8ZxbUepfP2R35Rd2s xLjoOgN5ObDzOSL/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 74.208.4.197 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109682 Archived-At: On 03/26/2016 02:06 PM, Sharon Kimble wrote: > ken writes: > >> On 03/25/2016 02:40 PM, Sharon Kimble wrote: >>> Thorsten Grothe writes: >>> >>>> Hi, >>>> >>>> Am 11.03.2016 um 12:53 schrieb Sharon Kimble: >>>>> How can I have words that I type be auto-corrected to what I want >>>>> please? I'm specifically thinking of words like these - >>>>> >>>>> --8<---------------cut here---------------start------------->8--- >>>>> im = I'm >>>>> ive = I've >>>>> thats = that's >>>>> Thats = That's >>>>> cant = can't >>>>> monday = Monday >>>>> tuesday = Tuesday, etc >>>>> --8<---------------cut here---------------end--------------->8--- >>>>> >>>>> and other specific words. >>>> I have configured flyspell like this: >>>> >>>> (setq flyspell-abbrev-p t) >>>> (setq flyspell-use-global-abbrev-table-p t) >>>> >>>> I'm german, when I have a word like "autobaahn" flyspell suggests "Autobahn", when I accept the >>>> suggestion, flyspell puts the word in the global-abbrev-table and saves it. Next time I write >>>> "autobaahn" the word is corrected automatically to "Autobahn" >>>> >>>> P.S. You can edit the abbrev-table and set your preferred auto-corrections per hand if you like. >>>> >>> Thanks Thorsten, this is along the right lines. This is what I now do, I >>> edit them 'M-x edit-abbrevs' and when done, save them 'C-c C-c'. And >>> then they're ready for action. >>> >>> Thanks >>> Sharon. >> Yeah, abbrev mode is really handy. I use it a lot. A long time ago it used to be even better. >> >> "int he" -> "in the" >> >> and similar used to work. But no more (a long time ago). Too bad. Any way to bring that >> functionality back? >> > Have you tried putting it in to the abbrev_devs file manually? I've > found that it works when they've not been accepted through the spell > checker. > > Sharon. I don't know what you mean by the "abbrev_devs file"... I'm prompted for directory and file every time I do a M-x write-abbrev-file; I always save to ~/.abbrevs; I'm guessing that's what you mean... approximately. When I do M-x list-abbrevs, one of the lines I've had in my ~/.abbrevs file going back more than ten years under (global-abbrev-table) is this: "int eh" 0 "in the" It worked for years, but after some upgrade-- I don't remember when-- it stopped working. Other abbrevs in the same file and in the same table work though. Puzzling.