perlmeditation
LanX
<H3> UPDATE: </H3><P>
In the meantime the talk took place, here the links:
<UL>
<LI> [http://act.yapc.eu/ye2016/talk/6851|ACT page]
<LI> [http://perlmonks.org/?node_id=1167507|This Discussion]
<LI> [id://1171542|Recording on YouTube]
<LI> [id://1170716| PDF-Slides]
</UL><P>
<H3> Original Post</H3><P>
Here the abstract for my talk proposal for Cluj<P>
... not sure if it's too late to be still accepted<P>
Comments and corrections are welcome<P>
<blockquote>
Emacs offers even more ways to do it than Perl's TIMTOWTDI .<P>
This demonstration will show how to combine some .el packages to
create a neatly integrated and productive Perl development
environment. (well from the authors perspective)<P>
<U>Intended audience</U> : Emacs users trying to navigate thru all these
possibilities.<P>
After a short introduction into emacs (v24) for non-users we'll
concentrate on builtin Perl support and how to add some other language
agnostic projects to approach the author's IDE of what an IDE should
look like.<P>
<H5> For starters: Overview of Emacs goodies (and some myth-busting)</H5>
<UL>
<LI> open source
<LI> available on all development platforms
<LI> runs in windows and TTY
<LI> start-up time and memory consumption comparable to Vim ( != vi)
just try <C>emacs -nw -Q</C>
<LI> package management for a huge universe of extensions
<LI> CUA shortcut emulations for "modern" applications (C-x C-v C-z C-a
...)
<LI> VIM command emulation evil-mode (includes text objects)
<LI> regional undo Undo only in selected text.
</UL>
<H5> Out-of-The-Box support</H5><P>
What comes already builtin for Perl?<P>
** cperl-mode <P>
The Standard mode for Perl features, including
<UL>
<LI> imenu
easy navigation for subs
<LI> auto indentation
<LI> code transformation
prettifying regex convert postfix <-> prefix for "if" , "unless", etc
<LI> compile options
<LI> formatting options akin to perltidy
<LI> documentation display
</UL>
** perldb<P>
Perl debugger integration, stepping through original file<P>
** flymake-mode<P>
Interactive syntax check while typing by running "perl -c" in
background
<P>
** dabbrev-mode <P>
avoid typos of identifiers by expanding from dynamic abbreviation
dictionary
<H5> Recommended Extension Packages</H5><P>
** Yasnippet<P>
Yasnippet (Yet Another Snippet Package) emulates the Textmate snippet
features, which seem to become a standard now across all IDEs<P>
** Auto Complete<P>
auto-complete.el shows completion alternatives in drop-down while
typing from different sources (functions, variables, snippets,...)<P>
** (Omni Complete)<P>
probably covered, this is a very promising project but yet not
personally tested<P>
** ECB = Emacs Code Browser<P>
The IDE "look an feel" with many specialized information panes to
explore<P>
link: [HTTP://ecb.sourceforge.net/]<P>
** Regex-tool<P>
A tiny project to interactively test Perl-regexes against text an
see the resulting matches.<P>
Demonstrates the extensibility of emacs.<P>
<H5> Visions</H5><P>
** PIDE I - "Perl Integrated Development for Emacs"<P>
combining a stable set-up of Perl related el-modules and configs for
a quick start with Emacs.<P>
** PIDE II - "Perl Integrated Development for Every editor"<P>
Is an editor agnostic framework possible?<P>
Snippets and Completion-rules could be provided in POD "=for IDE" to
support different projects like Moose or Mojolicious or whatever. A
simple script could parse them on editor start-up and translate them
to editor specific syntax.<P>
</blockquote><P>
<div class="pmsig"><div class="pmsig-708738">
<p>Cheers Rolf<br>
<sub>(addicted to the Perl Programming Language and [http://i.dailymail.co.uk/i/pix/2014/07/14/article-2690897-1F9F6C0E00000578-463_964x629.jpg|☆☆☆☆] :)
<br> <i>[http://s3.freebeacon.com/up/2015/01/charliehebdo-540x342.png|Je suis Charlie]!</i>
</sub> <P>
</div></div><!-- Wiki2Monks {"version":1.1416} -->