From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Changes to hi-lock before release. Date: Sat, 21 Apr 2007 13:32:52 -0400 Message-ID: <87zm51ab0b.fsf@stupidchicken.com> References: <7wejmekgrd.fsf@ece.lsu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177176797 17379 80.91.229.12 (21 Apr 2007 17:33:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Apr 2007 17:33:17 +0000 (UTC) Cc: David Koppelman , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 21 19:33:10 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HfJSO-0002mx-SP for ged-emacs-devel@m.gmane.org; Sat, 21 Apr 2007 19:33:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfJXa-0005yh-PP for ged-emacs-devel@m.gmane.org; Sat, 21 Apr 2007 13:38:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HfJXX-0005yb-Bb for emacs-devel@gnu.org; Sat, 21 Apr 2007 13:38:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfJXW-0005yR-2J for emacs-devel@gnu.org; Sat, 21 Apr 2007 13:38:26 -0400 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HfJSJ-0005Z3-Eu; Sat, 21 Apr 2007 13:33:03 -0400 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l3LHX1Qu029106; Sat, 21 Apr 2007 13:33:01 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l3LHWr2I026763; Sat, 21 Apr 2007 13:32:53 -0400 (EDT) Original-Received: from localhost (SYDNEYPACIFIC-SIX-TWENTY.MIT.EDU [18.95.7.109]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l3LHWqUu024945; Sat, 21 Apr 2007 13:32:53 -0400 (EDT) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HfJS8-00011x-00; Sat, 21 Apr 2007 13:32:52 -0400 In-Reply-To: (Richard Stallman's message of "Sat\, 21 Apr 2007 10\:30\:13 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-detected-kernel: Solaris 9.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:69735 Archived-At: Richard Stallman writes: > I just clarified the documentation of this feature, as well > as fixing Texinfo usage. But I think some change is probably > called for in the feature. > > +(defvar hi-lock-file-patterns-policy 'never > > Shouldn't that be a defcustom? > It should also have a risky-local-variable property > since its value can be a function. Let's just keep things as they are for now. > Also, it seems absurd for an explicit call to hi-lock-find-patterns to > check this variable. If the user explicitly gives the command, it > should be obeyed. I think that hi-lock-file-patterns-policy should be > tested only when hi-lock-find-patterns is called in other ways (such > as by find-file). What you suggested is indeed the behavior of hi-lock-find-patterns.