From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: Last call for lua-mode contributors Date: Fri, 20 Jan 2012 02:12:05 -0500 Message-ID: <73D59FE1-CE29-4A63-8597-94A661DFD757@raeburn.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327043543 13370 80.91.229.12 (20 Jan 2012 07:12:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2012 07:12:23 +0000 (UTC) Cc: Emacs Dev To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 20 08:12:18 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ro8e0-0006EA-D9 for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2012 08:12:16 +0100 Original-Received: from localhost ([::1]:43646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro8dy-0006VC-HG for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2012 02:12:14 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro8dv-0006V7-HB for emacs-devel@gnu.org; Fri, 20 Jan 2012 02:12:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ro8du-00033j-7M for emacs-devel@gnu.org; Fri, 20 Jan 2012 02:12:11 -0500 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:48980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro8ds-00033R-Ns; Fri, 20 Jan 2012 02:12:08 -0500 Original-Received: by qadc11 with SMTP id c11so214330qad.0 for ; Thu, 19 Jan 2012 23:12:08 -0800 (PST) Original-Received: by 10.224.109.7 with SMTP id h7mr31759925qap.9.1327043528043; Thu, 19 Jan 2012 23:12:08 -0800 (PST) Original-Received: from [10.0.0.158] (c-66-31-202-94.hsd1.ma.comcast.net. [66.31.202.94]) by mx.google.com with ESMTPS id eb5sm4780727qab.10.2012.01.19.23.12.07 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jan 2012 23:12:07 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.216.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147759 Archived-At: On Jan 20, 2012, at 00:12, Miles Bader wrote: > Emacs contains convenient commands to do exactly those things > regardless of word-syntax: C-M-f (forward-sexp), C-M-k (kill-sexp) > etc. Obviously these commands are even _more_ "reliable" in that > sense because they work the same in _all_ programming modes, and don't > depend on user-customization. I actually use some of them frequently when dealing with parenthesized = lists like argument lists=85 but I guess for some reason I don't think = of them when I'm working with a single identifier or keyword. Without = the parens or some opening delimiter, I guess it just doesn't say = "s-expression" to me; time to do some retraining I guess=85. It's not immediately obvious looking at the description of forward-sexp, = though, that it's really suitable for other modes. For example, it = refers to a "balanced expression (sexp)", which doesn't tell me very = well what to expect if the cursor is pointing at "int" or "return" = (which aren't expressions) or "sizeof x" (which is an expression only if = you include both words). The help message says it comes out of lisp.el, = which is not encouraging if I'm in C mode; I'd half expect it to assume = Lisp comment syntax or not work with braces. (I'm not saying it doesn't = work; I know it does. I'm saying the description could be improved. = But not by me at this hour.) And now that I'm taking a fresh look at the s-expression bindings I = should be using more, I want eval-last-sexp in C mode to evaluate C = expressions. :-) > [There are actually modes which make word-commands respect > "STuDlyCapS" though=85] If they're minor modes suitable for use in conjunction with programming = modes, that might be suitable, yes. >> I realize I'm much closer to the power-user end of the spectrum than >> most typical users, but among those heavily using programming modes, >> is this such a strange mind-set? >=20 > Wellllllll.... it does seem like a "power-user," and especially a > programmer, would be most likely to know about and use Emacs' > programming-specialized movement commands ..... :] *ahem* Yeah, I guess you got me there=85 I do use some of them, but = after 20+ years I guess I've developed some habits that give me blind = spots to some places where I should be using them. Okay, I'm = convinced.... Ken=