From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.bugs Subject: bug#12767: 24.1; ispell-buffer checks code as well as comments when in flyspell-prog-mode Date: Wed, 31 Oct 2012 17:04:28 +0100 Message-ID: <20121031160428.GA30055@agmartin.aq.upm.es> References: <87390w2j2j.fsf@sc3d.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1351699549 5022 80.91.229.3 (31 Oct 2012 16:05:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2012 16:05:49 +0000 (UTC) To: 12767@debbugs.gnu.org, Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 17:05:57 2012 Return-path: Envelope-to: geb-bug-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 1TTane-00050W-E9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 17:05:50 +0100 Original-Received: from localhost ([::1]:47238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTanV-0001zr-Uu for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 12:05:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTanO-0001kD-G3 for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 12:05:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTanE-0005TL-Te for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 12:05:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTanE-0005TD-Qb for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 12:05:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTapm-0005VM-4m for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 12:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Oct 2012 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12767-submit@debbugs.gnu.org id=B12767.135169963121102 (code B ref 12767); Wed, 31 Oct 2012 16:08:02 +0000 Original-Received: (at 12767) by debbugs.gnu.org; 31 Oct 2012 16:07:11 +0000 Original-Received: from localhost ([127.0.0.1]:41686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTaox-0005UJ-95 for submit@debbugs.gnu.org; Wed, 31 Oct 2012 12:07:11 -0400 Original-Received: from fibonacci.ccupm.upm.es ([138.100.198.70]:50640 helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTaou-0005UA-9u for 12767@debbugs.gnu.org; Wed, 31 Oct 2012 12:07:09 -0400 Original-Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id q9VG4TEk007681; Wed, 31 Oct 2012 17:04:29 +0100 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id CB62438E; Wed, 31 Oct 2012 17:04:28 +0100 (CET) Content-Disposition: inline In-Reply-To: <87390w2j2j.fsf@sc3d.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66284 Archived-At: On Tue, Oct 30, 2012 at 01:19:48PM +0000, Reuben Thomas wrote: > Although I've selected flyspell-prog-mode so that only comments are > checked by flyspell, ispell-buffer checks everything, > counter-intuitively and annoyingly. > > I sympathise with this from the point of view of the underlying code's > structure, but it's odd from a user-interface point of view. ispell.el and flyspell.el control this separately, see `ispell-check-comments'. You may want to add `ispell-check-comments' setting to `flyspell-prog-mode-hook'. -- Agustin