unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: immerrr again <immerrr+lua@gmail.com>
Cc: Lua mailing list <lua-l@lists.lua.org>, emacs-devel@gnu.org
Subject: Re: Last call for lua-mode contributors
Date: Wed, 18 Jan 2012 13:32:57 +0900	[thread overview]
Message-ID: <buo4nvt7hqe.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: <CAERznn9+Y8OFPBNSDk=S_wRF+eP0u4_zfzUQjA9=Y=f=zf+MKw@mail.gmail.com>

immerrr again <immerrr+lua@gmail.com> 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.



       reply	other threads:[~2012-01-18  4:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAERznn_UcioQzHojyW=JaDsSHkfihAP3b0YfcUz_NT2cLefTTg@mail.gmail.com>
     [not found] ` <CAERznn9+Y8OFPBNSDk=S_wRF+eP0u4_zfzUQjA9=Y=f=zf+MKw@mail.gmail.com>
2012-01-18  4:32   ` Miles Bader [this message]
2012-01-19 17:15     ` Last call for lua-mode contributors Ken Raeburn
2012-01-19 18:57       ` Underscores and word commands Stefan Monnier
2012-01-19 20:39         ` John Yates
2012-01-20 21:25           ` Stefan Monnier
2012-01-20  5:12       ` Last call for lua-mode contributors Miles Bader
2012-01-20  7:12         ` Ken Raeburn
2012-01-20 14:17     ` Stefan Monnier
2012-01-21  3:20       ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buo4nvt7hqe.fsf@dhlpc061.dev.necel.com \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=immerrr+lua@gmail.com \
    --cc=lua-l@lists.lua.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).