perl6-language
[Top] [All Lists]

Re: Allowing '-' in identifiers: what's the motivation?

To: Austin_Hastings@Yahoo.com
Subject: Re: Allowing '-' in identifiers: what's the motivation?
From: Bob Rogers <rogers-perl6@rgrjr.dyndns.org>
Date: Mon, 11 Aug 2008 16:02:10 -0400
Cc: perl6-language@perl.org
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org
Delivered-to: mailing list perl6-language@perl.org
Delivered-to: perl6-language@perl.org
In-reply-to: <48A0546E.2010004@Yahoo.com>
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-language.perl.org>
List-post: <mailto:perl6-all@perl.org>
List-subscribe: <mailto:perl6-all-subscribe@perl.org>
List-unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
References: <31238-20726@sneakemail.com> <489FB5FD.3030909@Yahoo.com> <19831-17172@sneakemail.com> <20080811094536.GY9326@klangraum.plasmasturm.org> <f60fe000808110607y3c8b85efj152b3a4f81a3c80d@mail.gmail.com> <18592.20319.905703.446577@rgrjr.rgrjr.dyndns.org> <48A0546E.2010004@Yahoo.com>
   From: Austin Hastings <Austin_Hastings@Yahoo.com>
   Date: Mon, 11 Aug 2008 10:02:06 -0500

   That sounds cool. Did you do it at the editor level, or at the keyboard 
   level?

   =Austin

In Emacs; see rgr-c-electric-dash-mode in [1], or other similar
solutions in [2].  That way, I can turn it on for C and Perl (among
others), and off for Lisp and text.

   Of course, that's just the tip of the iceberg, but this is OT, so
I'll keep the Emacs evangelism off-list.  ;-}

                                        -- Bob

[1]  https://rgrjr.dyndns.org/svn/rgr-hacks/trunk/rgr-c-hacks.el

[2]  E.g. http://www.emacswiki.org/cgi-bin/wiki/ElectricDotAndDash,
     http://svn.clouder.jp/repos/public/yaml-mode/trunk/yaml-mode.el


<Prev in Thread] Current Thread [Next in Thread>