From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: flyspell or ispell keyboard shortcuts instead of middle mouse Date: Sat, 19 Dec 2015 04:03:00 +0100 Message-ID: <878u4rqgwr.fsf@debian.uxu> References: <5674A994.5090802@arqux.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450494227 11446 80.91.229.3 (19 Dec 2015 03:03:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Dec 2015 03:03:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 19 04:03:33 2015 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 1aA7nx-0005qN-Gm for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Dec 2015 04:03:33 +0100 Original-Received: from localhost ([::1]:35871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aA7nw-0007H8-Qi for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Dec 2015 22:03:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aA7nl-0007Fk-Bc for help-gnu-emacs@gnu.org; Fri, 18 Dec 2015 22:03:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aA7ni-0007Yi-52 for help-gnu-emacs@gnu.org; Fri, 18 Dec 2015 22:03:21 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aA7nh-0007Xb-Uz for help-gnu-emacs@gnu.org; Fri, 18 Dec 2015 22:03:18 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aA7nc-0005Cd-MF for help-gnu-emacs@gnu.org; Sat, 19 Dec 2015 04:03:12 +0100 Original-Received: from nl106-137-244.student.uu.se ([130.243.137.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Dec 2015 04:03:12 +0100 Original-Received: from embe8573 by nl106-137-244.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Dec 2015 04:03:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-244.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:a6ckany8jfJk43IQtC2f1/JXN8k= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:108433 Archived-At: DJ writes: > Are there keyboard shortcuts that would let me add > a word without stopping and grabbing the mouse? > I don't mean when spell checking an entire buffer or > region. I mean on the fly whenever a word is > highlighted as misspelled. Flyspell is a good idea but the everyday fail case is there are so many words that are correct but not in the dictionaries. So it is very disruptive having to do that all the time. Better to type and then spellcheck, *once*. But to each his own. Yes, most likely you can do what you want. First, find out what function is invoked when you hit the mouse way. Second, check the help for that function to learn its interface. If indeed mouse only (how now that looks?) - if so, use `apropos' or auto-complete to find out if there are variations to that function. My hunch is, if you have point at the misspelled word, that is enough to interact with it by means of some `-dwim' or `-at-point' function. Here is what I do for spelling - once, i.e. right now before I send this message. OK, as usual, not a single mistake. Case closed - disruptionless. http://user.it.uu.se/~embe8573/conf/emacs-init/spell.el -- underground experts united http://user.it.uu.se/~embe8573