Re: Electrics in perl mode

New Message Reply Date view Thread view Subject view Author view

From: Alex Hooper (alex@HIPPS.DEMON.CO.UK)
Date: 7 Aug 98, 23:54 EST


From: Alex Hooper <alex@HIPPS.DEMON.CO.UK>
Subject: Re: Electrics in perl mode

Heh. Like, wow. Did I write this mail? No, but it is identical to the one I
was composing in my head.

>hi,
>
>I've had this same problem with the 7.1fc4 and 7.1fc5 installations:
>
>Electrics don't work as expected in Perl mode, though they work just fine
>in C++, Ada, and other modes that I tested...
>
>specifically:
>
>variables are never completed... with the list-pick options on, it will
>try to expand language keywords, popping up the list if there are several
>matches, but no variables are *ever* expanded like they used to be when
>invoking command-tab... that's a major reason I use Alpha, to make sure I
>don't have typos in my vars
>

Yep. It just refuse to do word completions. I do get a moment's whirring of
the wheel cursor, but nothing gets completed, even if the word I want is on
the line above.


>electric braces are screwy... this is the result I get when typing a left
>curly with electric braces enabled:
>
>sub mysub {
>    {
>
>alpha inserts "\r\t\{", instead of just "\r\t"
>
>I glanced at the Perl mode code briefly, but Tcl is not my strong suit...
>I'm still learning it (oy! so many languages, so few brain cells left),
>and right now I only know just enough to be dangerous (mostly to myself
>;)...
>

Snap!

>I'd appreciate it if
>
>A)   someone would try to duplicate this and make sure it's just not
>something weird on my system (although I still get this with a totally
>clean installation of Alpha, with Alpha prefs folder being removed so it
>starts a new one)
>

Done.

>B)   someone could point me in the direction of a fix
>
>though I don't see how this could be a factor, as I've been using Perl
>mode since 6.52 with no problems like this on this machine and others,

Likewise.

>here's the platform specs:
>
PPC clone (CW Manhattan, Tanzania motherboard)
MacOS8.1

Alex
-------------------------------------------------------------
LX Solutions: Web System Development and Programming
              HTML, JavaScript, Perl, Java, Visual Design

** Email: alex@lxs.net             **
** Web:   http://www.wldcup.com/   **
-------------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:50 EST