From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Should not syntax for ?- char be word in text mode? Date: Thu, 16 Jul 2009 14:53:40 +0900 Message-ID: References: <87prc1i3us.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247723651 13475 80.91.229.12 (16 Jul 2009 05:54:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jul 2009 05:54:11 +0000 (UTC) Cc: Lennart Borgman , Emacs-Devel devel To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 16 07:54:03 2009 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 1MRJut-0000RQ-7U for ged-emacs-devel@m.gmane.org; Thu, 16 Jul 2009 07:54:03 +0200 Original-Received: from localhost ([127.0.0.1]:44923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRJus-000299-LW for ged-emacs-devel@m.gmane.org; Thu, 16 Jul 2009 01:54:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRJuk-00026u-2Y for emacs-devel@gnu.org; Thu, 16 Jul 2009 01:53:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRJue-0001yz-HG for emacs-devel@gnu.org; Thu, 16 Jul 2009 01:53:52 -0400 Original-Received: from [199.232.76.173] (port=41505 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRJue-0001ye-Bi for emacs-devel@gnu.org; Thu, 16 Jul 2009 01:53:48 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:52467) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRJub-0005hv-Vt; Thu, 16 Jul 2009 01:53:46 -0400 Original-Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n6G5rK83013234; Thu, 16 Jul 2009 14:53:41 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay31.aps.necel.com with ESMTP; Thu, 16 Jul 2009 14:53:41 +0900 Original-Received: from dhlpc061 ([10.114.114.32] [10.114.114.32]) by relay31.aps.necel.com with ESMTP; Thu, 16 Jul 2009 14:53:40 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id A673B52E228; Thu, 16 Jul 2009 14:53:40 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: <87prc1i3us.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Thu, 16 Jul 2009 14:39:07 +0900") Original-Lines: 19 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (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:112522 Archived-At: "Stephen J. Turnbull" writes: > > There are plenty of word with a hyphen in them. > > python-mode does (or used to do) this with underscore (hyphen of > course denotes an operator in Python). It got a *lot* of pushback. It seems that many mode authors who don't know any better do that (make things like "_" have word syntax) because it makes writing font-lock regexps easier. It's still a horrible idea of course. [Lua-mode does this as well; it drives me _nuts_...] Now that we have ?_< and ?_> regexp patterns, there's no technical reason any more I think... -miles -- Defenceless, adj. Unable to attack.