From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17453 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.user Subject: Re: flyspell in messages Date: Wed, 18 Feb 2015 16:21:48 +0100 Message-ID: <871tlnxn1v.fsf@gnu.org> References: <878ufvi9d1.fsf@engels.histomat.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1424272942 28154 80.91.229.3 (18 Feb 2015 15:22:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2015 15:22:22 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Feb 18 16:22:15 2015 Return-path: Envelope-to: gegu-info-gnus-english@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 1YO6S6-0000RH-Pz for gegu-info-gnus-english@m.gmane.org; Wed, 18 Feb 2015 16:22:14 +0100 Original-Received: from localhost ([::1]:51475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO6S6-0003wS-7p for gegu-info-gnus-english@m.gmane.org; Wed, 18 Feb 2015 10:22:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO6Ry-0003oK-Qk for info-gnus-english@gnu.org; Wed, 18 Feb 2015 10:22:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YO6Rt-00011Z-E0 for info-gnus-english@gnu.org; Wed, 18 Feb 2015 10:22:06 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:58580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO6Rt-00011A-6B for info-gnus-english@gnu.org; Wed, 18 Feb 2015 10:22:01 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YO6Rr-0000ME-OP for info-gnus-english@gnu.org; Wed, 18 Feb 2015 16:21:59 +0100 Original-Received: from dhcp159.uni-koblenz.de ([141.26.71.159]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Feb 2015 16:21:59 +0100 Original-Received: from tsdh by dhcp159.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Feb 2015 16:21:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dhcp159.uni-koblenz.de User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:HWEzcBLKhbPSnPgMi0EgD28nEzI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17453 Archived-At: Haines Brown writes: Hi Haines, > I'm using gnus to read newsgroups, and I would like to have flyspell > run automatically whenever I write a message in reply to a posting. At > present, the mode bar says: (Message MML Abbrev Fill Narrow). Does > this mean I'm in the Message group? This means `message-mode' is the active `major-mode' and MML, Abbrev, Fill and Narrow are enabled minor modes. (The so-called lighters in the mode-line don't need to correspond exactly to the mode name.) > I try this in the init file for gnus: > > (dolist (hook '(Message-mode-hook)) > (add-hook hook (lambda () (flyspell-mode 1)))) The problem is that the hook is actually named `message-mode-hook' so (dolist (hook '(message-mode-hook ...)) (add-hook hook #'flyspell-mode)) will do the trick. > Not only does this not open flyspell automatically, but when I try to > open flyspell manually (M-x flyspell-mode) I get an error that > /usr/lib/aspell/american-huge cannot be opened". Although I have > iamerican-huge and wamerican-huge installed, there is no such > american-huge file. Hm, that seems to be an aspell configuration problem. Or do you have any configurations to flyspell-* or ispell-* variables in Emacs? Bye, Tassilo