From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: flyspell-mode and two languages Date: Sat, 18 Oct 2008 15:59:49 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7f4e73e0-5ddd-4e58-b0b4-ba82d54bceaf@d10g2000pra.googlegroups.com> References: <2e5d3831-2580-4369-be7a-7d1d375241e4@v56g2000hsf.googlegroups.com> <6e14ca71-4096-4a74-82c3-40bbd8fb45b8@w39g2000prb.googlegroups.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 1224373248 3623 80.91.229.12 (18 Oct 2008 23:40:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2008 23:40:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 19 01:41:52 2008 connect(): Connection refused 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 1KrLQd-00026F-J6 for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Oct 2008 01:41:51 +0200 Original-Received: from localhost ([127.0.0.1]:45780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrLPY-0000wv-A0 for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Oct 2008 19:40:44 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d10g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1224370789 15190 127.0.0.1 (18 Oct 2008 22:59:49 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 18 Oct 2008 22:59:49 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d10g2000pra.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:163574 X-BeenThere: help-gnu-emacs@gnu.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@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58916 Archived-At: On Oct 17, 5:15 pm, Nikolaj Schumacher wrote: > > flyspell''? > > I never use the mouse in Emacs, but now that I check it says > "mouse-2: correct word at point" > > That would be the /middle/ button, right? Ah, the middle button. Hot damn. > Since Macs don't have middle buttons, this binds it to secondary click: Macs now do have middle button, since Apple introduced its hand- crippling Mighty mouse in 2005. http://en.wikipedia.org/wiki/Apple_Mighty_Mouse i have my might mouse sitting in dust. > (define-key flyspell-mouse-map '[(down-mouse-3)] 'flyspell-correct-word) It needs the hook, else emacs complaints that the map is nil when starting up. For newbies, here's the code: (add-hook 'flyspell-mode-hook (lambda () (define-key flyspell-mouse-map (kbd "") 'flyspell-correct- word) ) ) Thanks for clearing up the issues. It seems now i don't have much need for speck-mode ... PS when one accumulated good sized vocabs, is there a place one can send the =E2=80=9C~/.aspell.en.pws=E2=80=9D file to its developers? Xah =E2=88=91 http://xahlee.org/ =E2=98=84