From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andrew M. Scott" Newsgroups: gmane.emacs.devel Subject: Re: (setq blink-matching-paren-dont-ignore-comments nil) ignored? Date: Thu, 16 Feb 2006 08:08:13 -0700 Message-ID: <17396.38237.161643.546885@chlr5836.ch.intel.com> References: <200602071909.k17J95s5029362@chlr5836.ch.intel.com> <17393.57643.99565.332674@chlr5836.ch.intel.com> <7dbe73ed0602141526w5e7a0afas7becde59f3ddafc6@mail.gmail.com> Reply-To: "Andrew M. Scott" NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140120751 20884 80.91.229.2 (16 Feb 2006 20:12:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2006 20:12:31 +0000 (UTC) Cc: amscott1@sedona.ch.intel.com, emacs-devel@gnu.org, Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 16 21:12:27 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9pU6-0001sH-Ao for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2006 21:12:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9pU5-0000fO-9U for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2006 15:12:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F9krc-0006In-Ju for emacs-devel@gnu.org; Thu, 16 Feb 2006 10:16:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F9kkj-0002fG-1p for emacs-devel@gnu.org; Thu, 16 Feb 2006 10:09:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9kkF-0002Mh-SD for emacs-devel@gnu.org; Thu, 16 Feb 2006 10:08:36 -0500 Original-Received: from [143.182.124.5] (helo=petasus.ch.intel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F9kpL-0004m0-CG; Thu, 16 Feb 2006 10:13:51 -0500 Original-Received: from sedona.intel.com (sedona.ch.intel.com [143.182.201.200]) by petasus.ch.intel.com (8.12.9-20030918-01/8.12.10/d: small-solo.mc,v 1.2 2004/09/17 18:05:04 root Exp $) with ESMTP id k1GFA8vE007862; Thu, 16 Feb 2006 15:10:08 GMT Original-Received: from chlr5836.ch.intel.com (chlr5836.ch.intel.com [10.2.120.162]) by sedona.intel.com (8.12.10/8.12.9/d:) with ESMTP id k1GF8E6G017582; Thu, 16 Feb 2006 08:08:14 -0700 (MST) X-Envelope-From: amscott1@sedona.ch.intel.com Original-Received: from chlr5836.ch.intel.com (localhost [127.0.0.1]) by chlr5836.ch.intel.com (8.12.10/8.12.8/MailSET/client) with ESMTP id k1GF8DjM000582; Thu, 16 Feb 2006 08:08:13 -0700 Original-Received: (from amscott1@localhost) by chlr5836.ch.intel.com (8.12.10/8.12.8/MailSET/Submit) id k1GF8D3x000579; Thu, 16 Feb 2006 08:08:13 -0700 Original-To: rms@gnu.org In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50627 Archived-At: Richard, Richard> ( Richard> ;;;;;;;; ( <=== This is skipped Richard> and insert a ). You will see that this variable takes Richard> effect. 1. Thanks to the examples provided by you & Mathias Dahl, I now understand the function of variable blink-matching-paren-dont-ignore-comments. Thank you both. 2. The current negative logic embodied in the variable name can be confusing, e.g.: (setq blink-matching-paren-dont-ignore-comments t) I think it would be clearer if positive logic were used, e.g. (setq blink-matching-paren-ignore-comments t) (setq blink-matching-paren-ignore-comments nil) with docstring: blink-matching-paren-ignore-comments is a variable defined in `simple.el'. Its value is t Documentation: *t means `blink-matching-paren' ignores comments. More precisely, when looking for the matching open parenthesis, skips the contents of comments that end before point. 3. I also recommend than an example similar to yours/Mathias's in this thread be added to the (Info-find-node "emacs" "Matching") section. Thank you, Andy Scott