Re: Vim and spec template

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "ZD" == Zdenek Dohnal <zdohnal@xxxxxxxxxx> writes:

ZD> Hi all, I would like to ask as Vim co-maintainer, do you find useful
ZD> for Vim to do:

ZD> - when you open new file with .spec suffix, Vim will get you basic
ZD> spec file structure?

Personally I have always found that behavior annoying.  If I open a new
file, I expect that the file would be empty.  If I want a template, I
can copy one.  Editing a new HTML file doesn't bring up a template for
HTML files, for example.

The spec template used isn't something I ever want anyway.  It uses tabs
instead of spaces and uses them in a way that implies that indentation
is somehow required.  And it includes a default release tag of
"0%{?dist}" which isn't permitted by the packaging guidelines.
(Releases start at one except when packaging prerelease software, and are
never exactly zero.)

Best to leave it to the packager to choose their own template, or to
allow somehow who wants templating behavior to configure templating in a
general way.

 - J<
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux