* Re: CPerl and Perl 5.10.x
[not found] <mailman.5464.1251314889.2239.help-gnu-emacs@gnu.org>
@ 2009-08-26 21:23 ` Ilya Zakharevich
2009-08-28 14:35 ` Ted Zlatanov
0 siblings, 1 reply; 16+ messages in thread
From: Ilya Zakharevich @ 2009-08-26 21:23 UTC (permalink / raw)
To: help-gnu-emacs
On 2009-08-26, Alberto Simões <hashashin@gmail.com> wrote:
> Probably a good idea to add to the list of constructs, the string 'given'
> and 'where' and 'default' as they are new to Perl 5.10 to the current cperl
> version under CVS.
The only working version (mine) is under RCS, not CVS.
Hope this helps,
Ilya
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-08-26 21:23 ` CPerl and Perl 5.10.x Ilya Zakharevich
@ 2009-08-28 14:35 ` Ted Zlatanov
2009-08-30 8:31 ` Ilya Zakharevich
0 siblings, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2009-08-28 14:35 UTC (permalink / raw)
To: help-gnu-emacs
On Wed, 26 Aug 2009 21:23:13 +0000 (UTC) Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
IZ> On 2009-08-26, Alberto Simões <hashashin@gmail.com> wrote:
>> Probably a good idea to add to the list of constructs, the string 'given'
>> and 'where' and 'default' as they are new to Perl 5.10 to the current cperl
>> version under CVS.
IZ> The only working version (mine) is under RCS, not CVS.
On Wed, 26 Aug 2009 22:02:53 -0500 Will Willis <will.willis@gmail.com> wrote:
WW> http://blog.jrock.us/articles/cperl-mode.el%20and%20Moose.pod
WW> This version supports Moose and 5.10
Sorry if I'm being dense: is the Emacs cperl-mode.el out of sync with
Ilya's version? Are Jonathan Rockway's patches being considered?
Thanks
Ted
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-08-28 14:35 ` Ted Zlatanov
@ 2009-08-30 8:31 ` Ilya Zakharevich
2009-09-01 18:10 ` Ted Zlatanov
0 siblings, 1 reply; 16+ messages in thread
From: Ilya Zakharevich @ 2009-08-30 8:31 UTC (permalink / raw)
To: help-gnu-emacs
On 2009-08-28, Ted Zlatanov <tzz@lifelogs.com> wrote:
> IZ> The only working version (mine) is under RCS, not CVS.
> On Wed, 26 Aug 2009 22:02:53 -0500 Will Willis <will.willis@gmail.com> wrote:
> WW> http://blog.jrock.us/articles/cperl-mode.el%20and%20Moose.pod
> WW> This version supports Moose and 5.10
>
> Sorry if I'm being dense: is the Emacs cperl-mode.el out of sync with
> Ilya's version?
It is "different", and majorly buggy.
> Are Jonathan Rockway's patches being considered?
There is a certain logistical problem; maybe somebody can help me?
The way it is done now, one has essentially one set of highlight
rules. So either highlight of pre-5.10 is wrong, or of 5.10 is wrong.
Given that (AFAIK) 5.10 is now too buggy to be usable, I hesitate to
make the change for 5.10-highlight. If there a way to make "flavors"
of highlights (as in "minor mode" over "major mode") conveniently -
and without a non-necessary slow-down?
Thanks,
Ilya
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-08-30 8:31 ` Ilya Zakharevich
@ 2009-09-01 18:10 ` Ted Zlatanov
2009-09-02 5:52 ` Ilya Zakharevich
0 siblings, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2009-09-01 18:10 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, 30 Aug 2009 08:31:37 +0000 (UTC) Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
IZ> On 2009-08-28, Ted Zlatanov <tzz@lifelogs.com> wrote:
IZ> The only working version (mine) is under RCS, not CVS.
>> On Wed, 26 Aug 2009 22:02:53 -0500 Will Willis <will.willis@gmail.com> wrote:
WW> http://blog.jrock.us/articles/cperl-mode.el%20and%20Moose.pod
WW> This version supports Moose and 5.10
>>
>> Sorry if I'm being dense: is the Emacs cperl-mode.el out of sync with
>> Ilya's version?
IZ> It is "different", and majorly buggy.
So why not update it with your version? Again, sorry if I am missing
the necessary context, but it seems like a good idea.
>> Are Jonathan Rockway's patches being considered?
IZ> There is a certain logistical problem; maybe somebody can help me?
IZ> The way it is done now, one has essentially one set of highlight
IZ> rules. So either highlight of pre-5.10 is wrong, or of 5.10 is wrong.
IZ> Given that (AFAIK) 5.10 is now too buggy to be usable, I hesitate to
IZ> make the change for 5.10-highlight. If there a way to make "flavors"
IZ> of highlights (as in "minor mode" over "major mode") conveniently -
IZ> and without a non-necessary slow-down?
Sorry, I don't know the answer, but I'm in favor of using the 5.10
highlighting if it must be one or the other. I doubt the difference
will matter enough to most users, and those who do will probably prefer
5.10.
Ted
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-09-01 18:10 ` Ted Zlatanov
@ 2009-09-02 5:52 ` Ilya Zakharevich
2009-09-02 7:36 ` Daniel Pittman
2009-09-02 15:18 ` Ted Zlatanov
0 siblings, 2 replies; 16+ messages in thread
From: Ilya Zakharevich @ 2009-09-02 5:52 UTC (permalink / raw)
To: help-gnu-emacs
On 2009-09-01, Ted Zlatanov <tzz@lifelogs.com> wrote:
>>> Sorry if I'm being dense: is the Emacs cperl-mode.el out of sync with
>>> Ilya's version?
>
> IZ> It is "different", and majorly buggy.
>
> So why not update it with your version? Again, sorry if I am missing
> the necessary context, but it seems like a good idea.
They want conformance to non-backward-compatible coding style. "Mine"
cperl-mode.el is backward-compatible. "Their" is conformant, but very
buggy...
> IZ> Given that (AFAIK) 5.10 is now too buggy to be usable, I hesitate to
> IZ> make the change for 5.10-highlight. If there a way to make "flavors"
> IZ> of highlights (as in "minor mode" over "major mode") conveniently -
> IZ> and without a non-necessary slow-down?
>
> Sorry, I don't know the answer, but I'm in favor of using the 5.10
> highlighting if it must be one or the other. I doubt the difference
> will matter enough to most users, and those who do will probably prefer
> 5.10.
Why? Myself, I did not see 5.10 yet... (Oups, no. In fact I do have a
copy of a binary distribution somewhere on the drive... It is
unzipped, but not installed.)
Yours,
Ilya
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-09-02 5:52 ` Ilya Zakharevich
@ 2009-09-02 7:36 ` Daniel Pittman
2009-09-02 13:10 ` Alberto Simões
[not found] ` <mailman.5850.1251897040.2239.help-gnu-emacs@gnu.org>
2009-09-02 15:18 ` Ted Zlatanov
1 sibling, 2 replies; 16+ messages in thread
From: Daniel Pittman @ 2009-09-02 7:36 UTC (permalink / raw)
To: help-gnu-emacs
Ilya Zakharevich <nospam-abuse@ilyaz.org> writes:
> On 2009-09-01, Ted Zlatanov <tzz@lifelogs.com> wrote:
>>>> Sorry if I'm being dense: is the Emacs cperl-mode.el out of sync with
>>>> Ilya's version?
[...]
>> Sorry, I don't know the answer, but I'm in favor of using the 5.10
>> highlighting if it must be one or the other. I doubt the difference
>> will matter enough to most users, and those who do will probably prefer
>> 5.10.
>
> Why? Myself, I did not see 5.10 yet... (Oups, no. In fact I do have a
> copy of a binary distribution somewhere on the drive... It is unzipped, but
> not installed.)
Debian/stable ships with Perl 5.10. It is fairly commonly turning up in
similar new releases, such as MacOS 10.6 (Snow Leopard) and other Linux
distributions.
I presume that *BSD and other commercial platforms will follow suit in the
next year or so.
While Perl 5.10 features may not be in wide use yet, I think the version
itself is fairly common these days.
Regards,
Daniel
--
✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
Looking for work? Love Perl? In Melbourne, Australia? We are hiring.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-09-02 7:36 ` Daniel Pittman
@ 2009-09-02 13:10 ` Alberto Simões
[not found] ` <mailman.5850.1251897040.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 16+ messages in thread
From: Alberto Simões @ 2009-09-02 13:10 UTC (permalink / raw)
To: Daniel Pittman; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]
On Wed, Sep 2, 2009 at 8:36 AM, Daniel Pittman <daniel@rimspace.net> wrote:
> Ilya Zakharevich <nospam-abuse@ilyaz.org> writes:
> > On 2009-09-01, Ted Zlatanov <tzz@lifelogs.com> wrote:
> >>>> Sorry if I'm being dense: is the Emacs cperl-mode.el out of sync with
> >>>> Ilya's version?
>
> [...]
>
> >> Sorry, I don't know the answer, but I'm in favor of using the 5.10
> >> highlighting if it must be one or the other. I doubt the difference
> >> will matter enough to most users, and those who do will probably prefer
> >> 5.10.
> >
> > Why? Myself, I did not see 5.10 yet... (Oups, no. In fact I do have a
> > copy of a binary distribution somewhere on the drive... It is unzipped,
> but
> > not installed.)
>
> Debian/stable ships with Perl 5.10. It is fairly commonly turning up in
> similar new releases, such as MacOS 10.6 (Snow Leopard) and other Linux
> distributions.
>
>
Most distributions are shipping Perl 5.10. Perl 5.10.0 is out for more than
one year. Perl 5.10.1 is out for a week or so. They are two of the best Perl
releases ever (not buggy).
Cheers
Alberto
--
Alberto Simões
[-- Attachment #2: Type: text/html, Size: 1663 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <mailman.5850.1251897040.2239.help-gnu-emacs@gnu.org>]
* Re: CPerl and Perl 5.10.x
2009-09-02 5:52 ` Ilya Zakharevich
2009-09-02 7:36 ` Daniel Pittman
@ 2009-09-02 15:18 ` Ted Zlatanov
2009-09-02 22:49 ` Ilya Zakharevich
1 sibling, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2009-09-02 15:18 UTC (permalink / raw)
To: help-gnu-emacs
On Wed, 2 Sep 2009 05:52:18 +0000 (UTC) Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
IZ> On 2009-09-01, Ted Zlatanov <tzz@lifelogs.com> wrote:
>>>> Sorry if I'm being dense: is the Emacs cperl-mode.el out of sync with
>>>> Ilya's version?
>>
IZ> It is "different", and majorly buggy.
>>
>> So why not update it with your version? Again, sorry if I am missing
>> the necessary context, but it seems like a good idea.
IZ> They want conformance to non-backward-compatible coding style. "Mine"
IZ> cperl-mode.el is backward-compatible. "Their" is conformant, but very
IZ> buggy...
That's silly. Can this be resolved with a user option? If not, I'll
need some more background, what should I search for in emacs-devel?
IZ> Given that (AFAIK) 5.10 is now too buggy to be usable, I hesitate to
IZ> make the change for 5.10-highlight. If there a way to make "flavors"
IZ> of highlights (as in "minor mode" over "major mode") conveniently -
IZ> and without a non-necessary slow-down?
>>
>> Sorry, I don't know the answer, but I'm in favor of using the 5.10
>> highlighting if it must be one or the other. I doubt the difference
>> will matter enough to most users, and those who do will probably prefer
>> 5.10.
IZ> Why? Myself, I did not see 5.10 yet... (Oups, no. In fact I do have a
IZ> copy of a binary distribution somewhere on the drive... It is
IZ> unzipped, but not installed.)
You're not a good sample of Perl programmers (although me and you can
definitely make a viable sample of Eastern European Perl programmers
with last names starting with "Z").
Ted
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-09-02 15:18 ` Ted Zlatanov
@ 2009-09-02 22:49 ` Ilya Zakharevich
2009-09-03 15:07 ` Ted Zlatanov
0 siblings, 1 reply; 16+ messages in thread
From: Ilya Zakharevich @ 2009-09-02 22:49 UTC (permalink / raw)
To: help-gnu-emacs
On 2009-09-02, Ted Zlatanov <tzz@lifelogs.com> wrote:
> IZ> They want conformance to non-backward-compatible coding style. "Mine"
> IZ> cperl-mode.el is backward-compatible. "Their" is conformant, but very
> IZ> buggy...
>
> That's silly. Can this be resolved with a user option?
Oups, I meant Lisp coding style, not Perl coding style...
Yours,
Ilya
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-09-02 22:49 ` Ilya Zakharevich
@ 2009-09-03 15:07 ` Ted Zlatanov
2009-09-04 0:06 ` Ilya Zakharevich
0 siblings, 1 reply; 16+ messages in thread
From: Ted Zlatanov @ 2009-09-03 15:07 UTC (permalink / raw)
To: help-gnu-emacs
On Wed, 2 Sep 2009 22:49:00 +0000 (UTC) Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
IZ> On 2009-09-02, Ted Zlatanov <tzz@lifelogs.com> wrote:
IZ> They want conformance to non-backward-compatible coding style. "Mine"
IZ> cperl-mode.el is backward-compatible. "Their" is conformant, but very
IZ> buggy...
>>
>> That's silly. Can this be resolved with a user option?
IZ> Oups, I meant Lisp coding style, not Perl coding style...
Consider js2-mode.el made it into the trunk (there was a long discussion
about the nasty hacks it employs), I think you should ask again. I can
do it if you prefer.
If there's a list of problems with your code, do you have a reference
(message-ID, whatever) to help me start somewhere?
Ted
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-09-03 15:07 ` Ted Zlatanov
@ 2009-09-04 0:06 ` Ilya Zakharevich
2009-09-29 11:57 ` David Combs
0 siblings, 1 reply; 16+ messages in thread
From: Ilya Zakharevich @ 2009-09-04 0:06 UTC (permalink / raw)
To: help-gnu-emacs
On 2009-09-03, Ted Zlatanov <tzz@lifelogs.com> wrote:
>>> That's silly. Can this be resolved with a user option?
>
> IZ> Oups, I meant Lisp coding style, not Perl coding style...
>
> Consider js2-mode.el made it into the trunk (there was a long discussion
> about the nasty hacks it employs), I think you should ask again. I can
> do it if you prefer.
I would gladly accept any help in this matter. A lot of thanks in advance.
> If there's a list of problems with your code, do you have a reference
> (message-ID, whatever) to help me start somewhere?
Basically, one has a lot of obsolete variables/functions used (with
wrappers to avoid warnings), and (` ) etc is used a lot. Do not
remember any specific message, but I may try to locate (10-years old?)
discussion related to the coding style.
Yours,
Ilya
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-09-04 0:06 ` Ilya Zakharevich
@ 2009-09-29 11:57 ` David Combs
2009-10-09 22:00 ` Ilya Zakharevich
0 siblings, 1 reply; 16+ messages in thread
From: David Combs @ 2009-09-29 11:57 UTC (permalink / raw)
To: help-gnu-emacs
In article <slrnha0mgd.iq7.nospam-abuse@chorin.math.berkeley.edu>,
Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
>On 2009-09-03, Ted Zlatanov <tzz@lifelogs.com> wrote:
>>>> That's silly. Can this be resolved with a user option?
>>
>> IZ> Oups, I meant Lisp coding style, not Perl coding style...
>>
>> Consider js2-mode.el made it into the trunk (there was a long discussion
>> about the nasty hacks it employs), I think you should ask again. I can
>> do it if you prefer.
>
>I would gladly accept any help in this matter. A lot of thanks in advance.
>
>> If there's a list of problems with your code, do you have a reference
>> (message-ID, whatever) to help me start somewhere?
>
>Basically, one has a lot of obsolete variables/functions used (with
>wrappers to avoid warnings), and (` ) etc is used a lot. Do not
>remember any specific message, but I may try to locate (10-years old?)
>discussion related to the coding style.
>
>Yours,
>Ilya
For us all, could you say something about "using wrappers to avoid
warnings"?
And maybe (other?) non-obvious use of wrappers?
Sounds interesting!
Thanks!
David
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: CPerl and Perl 5.10.x
2009-09-29 11:57 ` David Combs
@ 2009-10-09 22:00 ` Ilya Zakharevich
0 siblings, 0 replies; 16+ messages in thread
From: Ilya Zakharevich @ 2009-10-09 22:00 UTC (permalink / raw)
To: help-gnu-emacs
On 2009-09-29, David Combs <dkcombs@panix.com> wrote:
>>> If there's a list of problems with your code, do you have a reference
>>> (message-ID, whatever) to help me start somewhere?
>>Basically, one has a lot of obsolete variables/functions used (with
>>wrappers to avoid warnings), and (` ) etc is used a lot. Do not
>>remember any specific message, but I may try to locate (10-years old?)
>>discussion related to the coding style.
> For us all, could you say something about "using wrappers to avoid
> warnings"?
Nothing fancy. IIRC, I use (funcall ) to call obsolete functions.
eval-when-compile may define a certain macro which expands to either
old backward-compatible syntax, or new no-warnings syntax depending on
the version.
[People rarely realize what a strange mixture of obsoleteness and
flaming edge is present in scientific institutions (those where there
is a system administrator supporting individual stations). Of
course, little may compare with my house ;-]
Yours,
Ilya
^ permalink raw reply [flat|nested] 16+ messages in thread
* CPerl and Perl 5.10.x
@ 2009-08-26 19:27 Alberto Simões
2009-08-27 3:02 ` Will Willis
0 siblings, 1 reply; 16+ messages in thread
From: Alberto Simões @ 2009-08-26 19:27 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
Hi
Probably a good idea to add to the list of constructs, the string 'given'
and 'where' and 'default' as they are new to Perl 5.10 to the current cperl
version under CVS.
In any case, at the moment I would ask for help to add them myself in my
.emacs configuration file. I remember to see that for C (extra C types, at
least) but I can't find any similar property for CPerl.
Thank you
Alberto
--
Alberto Simões
[-- Attachment #2: Type: text/html, Size: 501 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2009-10-09 22:00 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.5464.1251314889.2239.help-gnu-emacs@gnu.org>
2009-08-26 21:23 ` CPerl and Perl 5.10.x Ilya Zakharevich
2009-08-28 14:35 ` Ted Zlatanov
2009-08-30 8:31 ` Ilya Zakharevich
2009-09-01 18:10 ` Ted Zlatanov
2009-09-02 5:52 ` Ilya Zakharevich
2009-09-02 7:36 ` Daniel Pittman
2009-09-02 13:10 ` Alberto Simões
[not found] ` <mailman.5850.1251897040.2239.help-gnu-emacs@gnu.org>
2009-09-02 22:47 ` Ilya Zakharevich
2009-09-02 15:18 ` Ted Zlatanov
2009-09-02 22:49 ` Ilya Zakharevich
2009-09-03 15:07 ` Ted Zlatanov
2009-09-04 0:06 ` Ilya Zakharevich
2009-09-29 11:57 ` David Combs
2009-10-09 22:00 ` Ilya Zakharevich
2009-08-26 19:27 Alberto Simões
2009-08-27 3:02 ` Will Willis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).