From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.comp.lang.lua.general,gmane.emacs.devel Subject: Re: Last call for lua-mode contributors Date: Wed, 18 Jan 2012 13:32:57 +0900 Message-ID: References: Reply-To: Lua mailing list NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326861203 28117 80.91.229.12 (18 Jan 2012 04:33:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Jan 2012 04:33:23 +0000 (UTC) Cc: Lua mailing list , emacs-devel@gnu.org To: immerrr again Original-X-From: lua-l-bounces@lists.lua.org Wed Jan 18 05:33:19 2012 Return-path: Envelope-to: gcllg-lua-l@m.gmane.org Original-Received: from flounder.pepperfish.net ([89.238.129.35]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RnND4-0001dW-SL for gcllg-lua-l@m.gmane.org; Wed, 18 Jan 2012 05:33:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=octopus.pepperfish.net) by flounder.pepperfish.net with esmtp (Exim 4.71 #1 (Debian)) id 1RnNCx-0005vI-Kt; Wed, 18 Jan 2012 04:33:11 +0000 Original-Received: from relmlor3.renesas.com ([210.160.252.173]) by flounder.pepperfish.net with esmtp (Exim 4.71 #1 (Debian)) id 1RnNCu-0005u6-Qr for ; Wed, 18 Jan 2012 04:33:09 +0000 Original-Received: from relmlir3.idc.renesas.com ([10.200.68.153]) by relmlor3.idc.renesas.com ( SJSMS) with ESMTP id <0LXZ0093S8N1KAC0@relmlor3.idc.renesas.com> for lua-l@lists.lua.org; Wed, 18 Jan 2012 13:33:01 +0900 (JST) Original-Received: from relmlac1.idc.renesas.com ([10.200.69.21]) by relmlir3.idc.renesas.com ( SJSMS) with ESMTP id <0LXZ00F758N0RH20@relmlir3.idc.renesas.com> for lua-l@lists.lua.org; Wed, 18 Jan 2012 13:33:01 +0900 (JST) Original-Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id D4CD580177; Wed, 18 Jan 2012 13:33:00 +0900 (JST) Original-Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id D3B6180195; Wed, 18 Jan 2012 13:33:00 +0900 (JST) Original-Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id PAE07935; Wed, 18 Jan 2012 13:33:00 +0900 X-IronPort-AV: E=Sophos;i="4.71,527,1320591600"; d="scan'208";a="63937841" Original-Received: from unknown (HELO relay51.aps.necel.com) ([10.29.19.60]) by relmlii2.idc.renesas.com with ESMTP; Wed, 18 Jan 2012 13:33:00 +0900 Original-Received: from dhlpc061 (dhlpc061.dev.necel.com [10.114.97.40]) by relay51.aps.necel.com (8.14.4+Sun/8.14.4) with ESMTP id q0I4WxCK022924; Wed, 18 Jan 2012 13:32:59 +0900 (JST) Original-Received: by dhlpc061 (Postfix, from userid 31295) id B002952E738; Wed, 18 Jan 2012 13:32:58 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-reply-to: Original-Lines: 30 X-BeenThere: lua-l@lists.lua.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Lua mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: lua-l-bounces@lists.lua.org Errors-To: lua-l-bounces@lists.lua.org Xref: news.gmane.org gmane.comp.lang.lua.general:87423 gmane.emacs.devel:147706 Archived-At: immerrr again writes: > As some of you might know, lua-mode, Emacs major mode for editing Lua, is > undergoing integration to Emacs mainline. Hopefully lua-mode's bogus handling of symbols vs. words will finally be fixed as a result..... [lua-mode redefines "_" as a word-component; it shouldn't, as it really messes with users' instincts, and makes Emacs commands less useful. Historically this was often done by language-modes as an simple (though misguided) expedient to allow them to safely use "\<" and \>" in regexps matching keywords, but nowadays they shouldn't do that, they should leave "_" alone and use "\_<" and "\_>" instead.] A few years ago (one of the previous times an attempt was being made to include lua-mode), of the lua-mode authors mentioned he was of the opinion that the existing lua-mode was such a huge hack that it should just be rewritten from scratch anyway (and said he planned to, but never seemed to get the time). If author-archeology proves sufficiently painful, maybe that would indeed be the more expedient option (especially as there are more nice tools in emacs for writing modes these days, e.g., Stefan's parser-thingy)! -Miles -- Custard, n. A vile concoction produced by a malevolent conspiracy of the hen, the cow, and the cook.