From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Brett Gilio Newsgroups: gmane.emacs.help Subject: Re: Flyspell difficult to configure, documentation not honest Date: Fri, 13 Jul 2018 14:06:53 -0500 Message-ID: <7b21dab6-328f-45cf-2cc8-efca00e2bd5d@posteo.net> References: <974173872.5393015.1531407541695.ref@mail.yahoo.com> <86va9k9xav.fsf@zoho.com> <868t6fa10v.fsf@zoho.com> <86fu0n7zcq.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1531508883 8371 195.159.176.226 (13 Jul 2018 19:08:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2018 19:08:03 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Icedove/52.7.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 13 21:07:59 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fe3Q3-00022W-Ky for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jul 2018 21:07:55 +0200 Original-Received: from localhost ([::1]:38834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe3SA-0001ER-OV for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jul 2018 15:10:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe3RN-0001Ct-5O for help-gnu-emacs@gnu.org; Fri, 13 Jul 2018 15:09:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fe3RJ-0005gI-Vy for help-gnu-emacs@gnu.org; Fri, 13 Jul 2018 15:09:17 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:38286) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fe3RJ-0005eb-No for help-gnu-emacs@gnu.org; Fri, 13 Jul 2018 15:09:13 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7473620EB9 for ; Fri, 13 Jul 2018 21:09:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1531508952; bh=PK0ubnktyWMQwX6wICNwTThhRnwrQ7wT1KqW0QRa0ho=; h=Subject:To:From:Date:From; b=g4rXtbwoikFirmgBZG+/rEQdwOj88CJi4sky123T7IovdhmAvw2yl8BRyJZH4icNd aQvnQE/7aaTNBS8ngd+kWYn0+UUcj47F2I9Y96E73eyXCEg5meR6SB03iCwVPadSxl 0RQThI91lPKo7APMpPj2k/1rW3vm5/C6R7FvrbamSY704svFYo+XCljv1gDlS1WUgV TNYGrnMCfQ/FZ+nTKsnVSuOXK0C8JkQoGtAqo4VCivya9zvUjGHnr3ng/87bRTRbeJ ZdWgl52JLyp43CVPSUroqoGxrZyD92GKIo9HgswB37NbIfP806NDf+DuXqFETPOy/7 cxY0KksSvbiMQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 41S2RC4Z84z9rxN for ; Fri, 13 Jul 2018 21:09:11 +0200 (CEST) In-Reply-To: <86fu0n7zcq.fsf@zoho.com> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:117442 Archived-At: On 07/13/2018 01:41 PM, Emanuel Berg wrote: > Eric S Fraga wrote: > >>> OK, but why not just spell check when you >>> are done and have the typing/spellchecking >>> processes separated? >> >> Simple: especially with emails, I forget to >> do so and I end up with less than appealing >> results... The auto-correct features of >> flyspell allow me to continue writing and >> only correct when I pause. > > OK, so the idle timer does it. Still it would > seem it would happen fast enough for my taste. > > In your situation (forgetting to spellcheck) > I would bind it to a shortcut and have it enter > my muscle memory. If I still forgot about it, > I would tie it to some appropriate hook, be it > `message-send-hook'. > > I already have that do this (the below code), > which enables me to use the same interface for > mail and Usenet (the "Newsgroups" or "To" > header that is empty is removed). > > (defun remove-empty-headers () > (interactive) > (goto-char (point-min)) > (while (re-search-forward "\\(To\\|Newsgroups\\): \n" > (get-header-separator-pos) > t) ; NOERROR > (replace-match "") )) > > ;; (setq message-send-hook nil) > (defun message-send-hook-f () > (remove-empty-headers) ) > (setq message-send-hook #'message-send-hook-f) > > But to each his/her own, as always. Here, the > results don't vary. Or they do, which is > the point. > Emanuel beat my previous message to the punch. I should read my messages before I start to suggest things. Ha. -- Brett Gilio brettg@posteo.net | bmg@member.fsf.org https://www.parabola.nu/ | https://www.emacs.org/ Free Software -- Free Society!