Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496750 - app-vim/perl-support fails when creating *.t : E121: Undefined variable: g:Perl_Templates
Summary: app-vim/perl-support fails when creating *.t : E121: Undefined variable: g:Pe...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-02 10:33 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2014-01-02 10:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
logfile generated by vim -V9tfile (tfile,21.16 KB, text/plain)
2014-01-02 10:33 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
emerge --info perl-support (einfo-perl-support,5.38 KB, text/plain)
2014-01-02 10:36 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
emerge --info vim-core (einfo-vim-core,5.38 KB, text/plain)
2014-01-02 10:36 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
logfile generated by vim -V9pmfile foo.pm (pmfile,18.94 KB, text/plain)
2014-01-02 10:37 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-01-02 10:33:48 UTC
Created attachment 366756 [details]
logfile generated by vim -V9tfile

$ env -i HOME=/tmp/fakehome vim -V9pmfile foo.pm 

# Observe a templated pm file is given
# ESC :w
# :q

$ env -i HOME=/tmp/fakehome vim -V9plfile foo.pl

# Observe a templated pl file is given
# ESC :w
# :q

$ env -i HOME=/tmp/fakehome vim -V9tfile foo.t

> "foo.t" [New File]
>
> Error detected while processing BufNewFile Auto commands for "*.t":
> E121: Undefined variable: g:Perl_Templates
> E116: Invalid arguments for function mmtemplates#core#InsertTemplate
> 
> Press ENTER to continue

# ENTER
# Observe Empty File
# ESC :w
# :q

=app-vim/perl-support-5.1
=app-editors/vim-core-7.4.94
=app-editors/vim-7.4.94
=app-editors/gvim-7.4.94
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-01-02 10:36:06 UTC
Created attachment 366758 [details]
emerge --info perl-support
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-01-02 10:36:33 UTC
Created attachment 366760 [details]
emerge --info vim-core
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-01-02 10:37:42 UTC
Created attachment 366762 [details]
logfile generated by vim -V9pmfile foo.pm