Your message dated Wed, 09 Apr 2025 10:37:07 +0000
with message-id <[email protected]>
and subject line Bug#1086943: fixed in vim-scripts 20210124.4
has caused the Debian Bug report #1086943,
regarding vim-scripts: vimplate does not list templates without .vimplaterc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1086943: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086943
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim-scripts
Version: 20210124.2
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email protected]

Dear Maintainer,

calling `:Vimplate <TAB>` (in vim after `:plugadd! vimplate`) caused the 
following error message:

  :Vimplate Use of uninitialized value in opendir at /usr/bin/vimplate line 216.

The problem seems to occur because the `vimplate -listtemplate` command / 
option fails:

  ❯ vimplate -listtemplates
  Use of uninitialized value in opendir at /usr/bin/vimplate line 216.
  readdir() attempted on invalid dirhandle DIR at /usr/bin/vimplate line 218.

  ❯ vimplate -listtemplates -d .
  Use of uninitialized value in opendir at /usr/bin/vimplate line 216.
  readdir() attempted on invalid dirhandle DIR at /usr/bin/vimplate line 218.

I expected the template files (*.tt) files to be listed of the current
/ given directory.

I then created a .vimplaterc file with `vimplate -createconfig` and adjusted 
$Config:opt:dir option:

  $Config::opt = {
                    dir => '/home/jkirk/.vim/vimplate-templates',
                    [...]
  },

Vimplate then listed the template files nicely:

  ❯ vimplate -listtemplates
  ansible-role
  network-definition
  ddj
  new-kopano-user
  journal
  doc-review
  helios-update

The man page vimplate(1) + /usr/share/doc/vim-scripts/README.Debian do not
mention the need of the .vimplaterc.
(I only then found the "Installation" section in 
/usr/share/doc/vim-scripts/html/vimplate.html).

So there are two issues:

* I am not sure where I should have started reading the documentation
but maybe we could improve the documentation somehow?
* Vimplate does not list templates with the `-d` option without a .vimplaterc 
file

As a side note:

  # This is an example configuration.
  # please see: http://napali.ch/vimplate

http://napali.ch/vimplate does not exist anymore.

Thanks for maintaining vim-scripts!

Best,
 - Darsha

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-26-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vim-scripts depends on:
ii  vim             2:9.0.1378-2
ii  vim-gtk3 [vim]  2:9.0.1378-2

vim-scripts recommends no packages.

Versions of packages vim-scripts suggests:
pn  ctags             <none>
ii  libtemplate-perl  2.27-1+b5
pn  perlsgml          <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: vim-scripts
Source-Version: 20210124.4
Done: James McCoy <[email protected]>

We believe that the bug you reported is fixed in the latest version of
vim-scripts, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <[email protected]> (supplier of updated vim-scripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 09 Apr 2025 06:20:08 -0400
Source: vim-scripts
Architecture: source
Version: 20210124.4
Distribution: unstable
Urgency: medium
Maintainer: Debian Vim Maintainers <[email protected]>
Changed-By: James McCoy <[email protected]>
Closes: 1086943 1102072
Changes:
 vim-scripts (20210124.4) unstable; urgency=medium
 .
   * Revert "Remove po plugin, unclear licensing" (Closes: #1102072)
   * po: Update license to GPL-3. Thanks to Helge Kreutzmann for tracking down
     the upstream author to determine the license.
   * vimplate: Fix listing of templates when no config is present
     (Closes: #1086943)
Checksums-Sha1:
 171078ae78408ba60483f505f640242e8c6d6d62 1997 vim-scripts_20210124.4.dsc
 0a7854b5052b9345204b6a3d25e17d07425c7885 754896 vim-scripts_20210124.4.tar.gz
Checksums-Sha256:
 d30a66bbe05330826ba2aac818954816b01d134a87d9b2c87785e8f690498e2c 1997 
vim-scripts_20210124.4.dsc
 e69a9d1d46b837b8c1ce008cf9fcaf2ff450660f08d954eb20a5cbdd73e3d5b8 754896 
vim-scripts_20210124.4.tar.gz
Files:
 4b7ac3741d357f8b43bd0f826f6ede2c 1997 editors optional 
vim-scripts_20210124.4.dsc
 2bbed62bd60f80c5f06357b6799e117f 754896 editors optional 
vim-scripts_20210124.4.tar.gz

-----BEGIN PGP SIGNATURE-----

iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAmf2SlhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu
QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9uAwhAAyOz3Y9PnwOLzJ7Ijm//jJpEcv0ca
+GHEdjk7QgR3qpKs/jlUKNBIhbl5uYbYHJVcojj9SmQLDScl21p5JQDACTIA19/Z
q+htVPOk3h+QPmZBstCgRt2upcvpLhAdZ79wzDBpDYLMlJxjPxBVptHf0WP9vzBB
UXX9TbqqGZSrv09eVsfrKyuHw1lc/Yiibcp/jDrTI2X0ZI19Z7b1dJCNZXMDKHrK
OF6pnFn7iCXc9EU7ZsS4MN5rrzKjkqtVknzVJ4upSAgtvbzH0EiReGdUgx7LrIOt
TRYaA2CjyY+3dF0Z/x1/WS0r0xtpI+I3NBDbKhRkVlr4OWXD7ohYpModJdrCIgN+
1YV2HEW5+pYPuxFCTxUeX+8SgbiHfXp4eFmR/FsP/K4GhFPEpaVyACOC5qryakC/
aUhJGcgLJx3VCI295AIia4euwoJWZMyMoItEmjNo9o0hPb5t0B52RbebFiqUPE4K
c4x7jPcgDQsMMltNG5wuQGaGVDXbmAsr8jnDWoqjR/h+8dQCRIH5gi5REDk2OyaN
LWAmRwEYxUGFrHdjtfRxtS1rDiwLT8hVAjpiBS4A60a0ijtqUXdJ4yZp/2mW9q7g
lVIqTdlo2Xrs41GrOTSY/2E4XhhwNZVG1FZCRWQ9TqiblFy5FUPDLzkECt8Vj+Ys
MNBi1bdbtNMMGO4=
=IQOA
-----END PGP SIGNATURE-----

Attachment: pgpNryjeYZKb7.pgp
Description: PGP signature


--- End Message ---

Reply via email to