SPAM & perlysense

12 views
Skip to first unread message

LanX

unread,
Nov 24, 2009, 8:49:26 PM11/24/09
to emacs-perl-intersection
Hi Joe

Just noticed, that we really have a SPAM problem in this group (can't
see them normally, cause gmail is filtering most of them)

Did you consider restricting unrestricted posting to accepted
members???

cheers
Rolf

PS: came here to ask for help installing PerlySense, but after forcing
installation of Graph::Easy it surprisingly succeeded.

Anyway I'm not convinced yet, but it got to late to test it from
within emacs now. Maybe tomorrow more...

Joe Brenner

unread,
Nov 28, 2009, 4:02:10 PM11/28/09
to LanX, emacs-perl-intersection
LanX <lanx...@googlemail.com> wrote:

> Just noticed, that we really have a SPAM problem in this group (can't
> see them normally, cause gmail is filtering most of them)
>
> Did you consider restricting unrestricted posting to accepted
> members???

Believe it or not, yes: this is the way things look with that restriction
in place. For "Who can post messages?" I have "Members only" checked:
The spammers are just signing up for accounts. Complaining to google
about it isn't completely useless (I can see some bogus members have
been banned already), but it doesn't help as much as it should.

I see there's a "messages from new members must be moderated"...
I'll try turning on that feature, and see if it helps.

> PS: came here to ask for help installing PerlySense, but after forcing
> installation of Graph::Easy it surprisingly succeeded.

Interesting. I didn't see that problem (I had Graph::Easy installed
already).

I can't say I like that hack they use to avoid installing the *.el files.
Just leaving them in the source tree strikes me as cheesy (what if
I'm in the habit of cleaning up and deleting the source?).

PerlySense definitely looks interesting, though it's a bit sluggish,
and finding keybindings to use it with is proving to be a pain for me
(I tried using their recommended C-o prefix, and discovered how often
I use open-line...).

LanX

unread,
Nov 29, 2009, 1:25:24 PM11/29/09
to Joe Brenner, emacs-perl-intersection
Hi Joe
 
I see there's a "messages from new members must be moderated"...
I'll try turning on that feature, and see if it helps.

thats what I meant, did you see my message from  11 Okt. ?

Interesting.  I didn't see that problem (I had Graph::Easy installed
already).

 
Graph:Easy only complained about a POD-syntax problem!

But what I finally got was a dozen unrelated error-msgs from PerlySense, forcing Graph::Easy mysteriously solved all these problems !?!


PerlySense definitely looks interesting, though it's a bit sluggish,

indeed already when starting up emacs it takes very long to load perlysense and I still have a problem using it with emacs23.

Only scrapped the surface and I'm still confused. Maybe we too can try it out point for point...
 
and finding keybindings to use it with is proving to be a pain for me
(I tried using their recommended C-o prefix, and discovered how often
I use open-line...).

yeah, but keybindings are one of the big unorthogonal issues in emacs, I'm still searching for a good "harmonizing" and "huffmann otimizing" strategy for a general rebinding ...  but thats another issue.

 cheers
   Rolf

Joe Brenner

unread,
Nov 30, 2009, 5:04:28 AM11/30/09
to LanX, emacs-perl-intersection

LanX <lanx...@googlemail.com> wrote:

> > I see there's a "messages from new members must be moderated"...
> > I'll try turning on that feature, and see if it helps.

> thats what I meant, did you see my message from 11 Okt. ?

I probably saw it and just didn't understand.

> > PerlySense definitely looks interesting, though it's a bit sluggish,
>
> indeed already when starting up emacs it takes very long to load perlysense
> and I still have a problem using it with emacs23.

Hm... I've been doing okay with a recent cvs build (and perl 5.10.0).

I don't re-start emacs very often, myself... I was talking about how
long some of the commands can take to run. Since it shells out to perl
all the time, you can hit a keystroke and then have to wait a few seconds.

> Only scrapped the surface and I'm still confused. Maybe we too can try it
> out point for point...

Sure...

But first: I'm using "C-c ," instead of "C-o" as the prefix for
perlysense commands (it's standard-compliant, but still relatively
easy-to-type, I think).

Thus far I'm most impressed with the "Class Overview" buffer...
If I'm editing an object-oriented module, I can hit

C-c , C-o

And it brings up a summary of all available methods, including ones
inherited from other classes. If you move to one of the methods and
hit return, it jumps you to the place in the code where it's defined.

> > and finding keybindings to use it with is proving to be a pain for me
> > (I tried using their recommended C-o prefix, and discovered how often
> > I use open-line...).
>
> yeah, but keybindings are one of the big unorthogonal issues in emacs, I'm
> still searching for a good "harmonizing" and "huffmann optimizing" strategy
> for a general rebinding ... but thats another issue.

Major emacs keymap redesigns are a massive can of worms....

(1) If you completely re-design your key map, your habits will never
match any one else's. Any of the printed doucmentation will always
seem alien to you, and you'll have trouble talking to other people about
how you do things. ("To jump to the site of the next error you just use
"Super-r"-- oh wait, you would use "Control-x, uh...".)

(2) There isn't just one keymap. Move isearch from C-s to C-f if you
like, but every time you load a mode it'll have a new keymap, and it's
going to have a "search" feature of some sort bound to C-s.

As for "Huffman optimizing": I think the best you can do is find a
"top-level" key that isn't used for much, and turn it into a prefix
to use for a tree of your own personal bindings. I've been playing
with M-o, myself... if there's any use for that "facemenu.el" stuff
I can't see what it is.

Another possiblity is C-z or C-q, but I use them to run some scroll
commands, and the old "quoted-insert" I've moved to C-x C-q.
(this is as suggested by Glickstein in "Writing GNU Emacs Extensions").

By the way, I think you need to bind C-z to *something* other than the
default (having it minimize the window is just stupidly annoying). One
cute idea is to have C-z open a sub-shell window.

One small thing that works for me: I have insert-register bound to
the <insert> key. Much more convienient than "C-x r i". I keep trying
to find a good key binding for "copy-to-register": my current try
is "Control-Alt-Page Down" (which is relatively easy to type on a
kinesis contoured-style keyboard).

Reply all
Reply to author
Forward
0 new messages