sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
[SM-Discuss] [sm-discuss] FWD [Grimoire - Bug #551] [rxvt-unicode] after recompiling rxvt-unicode, after getting perl 5.18, it no longer provides tabs, and instead there's a perl error.
- From: Javier Vasquez <j.e.vasquez.v AT gmail.com>
- To: "sm, discuss" <sm-discuss AT lists.ibiblio.org>
- Subject: [SM-Discuss] [sm-discuss] FWD [Grimoire - Bug #551] [rxvt-unicode] after recompiling rxvt-unicode, after getting perl 5.18, it no longer provides tabs, and instead there's a perl error.
- Date: Mon, 20 May 2013 17:22:55 -0600
Hi all,
This is a weird issue I can't find how to work around...
rxvt-unicode with tabs no longer provides tabs, but a perl syntax
error instead...
I'm so used to the tabs, I really miss them, :-)
Perhaps someone is familiar with the error...
See below...
Thanks,
Javier.
---------- Forwarded message ----------
From: <chiliproject AT sourcemage.org>
Date: Mon, May 20, 2013 at 4:37 PM
...
http://www.sourcemage.org/issues/551
...
When calling tabbed urxvt, it no longer provides the tabs, but instead
the following error:
urxvt: perl hook 0 evaluation error: /usr/lib/urxvt/perl/tabbed:
syntax error at /usr/lib/urxvt/perl/tabbed line 406, near "$hook
qw(start destroy key_press property_notify)"
syntax error at /usr/lib/urxvt/perl/tabbed line 426, near "}
}"
When looking at /usr/lib/urxvt/perl/tabbed, the failing piece of code is:
package urxvt::ext::tabbed::tab;
# helper extension implementing the subwindows of a tabbed terminal.
# simply proxies all interesting calls back to the tabbed class.
{
for my $hook qw(start destroy key_press property_notify) {
eval qq{
sub on_$hook {
my \$parent = \$_[0]{term}{parent}
or return;
\$parent->tab_$hook (\@_)
}
};
die if $@;
}
}
sub on_add_lines {
$_[0]->{activity}++
or $_[0]{term}{parent}->tab_activity ($_[0]);
()
}
When reading implicit variables in perl, I usually get lost... I
don't understand what the block {} before the on_add_lines method is,
neither the final () on the on_add_lines method.
A bit cryptic for me, so it's hard to find a work around for me, :-)
- [SM-Discuss] [sm-discuss] FWD [Grimoire - Bug #551] [rxvt-unicode] after recompiling rxvt-unicode, after getting perl 5.18, it no longer provides tabs, and instead there's a perl error., Javier Vasquez, 05/20/2013
Archive powered by MHonArc 2.6.24.