Re: Vim and spec template

2019-07-19 Thread Jason L Tibbitts III
> "ZD" == Zdenek Dohnal writes: ZD> Converted to spaces now. Well I appreciate that, but my point is that it's really personal preference. ZD> It is designed for user to run rpmdev-bumpspec ZD> .spec, so the tool will supply correct format of changelog ZD> entry and increment the release.

Re: Vim and spec template

2019-07-19 Thread Till Hofmann
On 7/19/19 11:33 AM, Elliott Sales de Andrade wrote: > On Fri, 19 Jul 2019 at 05:09, Zdenek Dohnal wrote: >> >> >> On 7/18/19 9:47 PM, Jason L Tibbitts III wrote: "ZD" == Zdenek Dohnal writes: >>> ZD> Hi all, I would like to ask as Vim co-maintainer, do you find useful >>> ZD> for Vim

Re: Vim and spec template

2019-07-19 Thread Elliott Sales de Andrade
On Fri, 19 Jul 2019 at 05:09, Zdenek Dohnal wrote: > > > On 7/18/19 9:47 PM, Jason L Tibbitts III wrote: > >> "ZD" == Zdenek Dohnal 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

Re: Vim and spec template

2019-07-19 Thread Vít Ondruch
I won't miss it. For Ruby, I would suggest everybody to use gem2rpm instead and there are similar tools for different language eccosystems. But if somebody should miss the template, may be it could go into subpackage, which would be installed together with fedora-packager package or so. Vít

Re: Vim and spec template

2019-07-19 Thread Zdenek Dohnal
On 7/18/19 9:47 PM, Jason L Tibbitts III wrote: >> "ZD" == Zdenek Dohnal 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? > >

Re: Vim and spec template

2019-07-19 Thread Vitaly Zaitsev via devel
Hello, Till Hofmann. Fri, 19 Jul 2019 08:46:50 +0200 you wrote: > We also have rpmdev-newspec Btw, someone need to remove from templates, used by this tool, this row: rm -rf $RPM_BUILD_ROOT. It forbidden by modern packaging guidelines. -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org)

Re: Vim and spec template

2019-07-19 Thread Julen Landa Alustiza
Although I'm not vim + .spec file user, I'm a big fan of templates and a big hater of autotemplating without my explicit decision in general =) 19/7/18 13:44(e)an, Zdenek Dohnal igorleak idatzi zuen: > Hi all, > > I would like to ask as Vim co-maintainer, do you find useful for Vim to do: > > -

Re: Vim and spec template

2019-07-19 Thread Till Hofmann
On 7/18/19 6:44 PM, Steven A. Falco wrote: > On 7/18/19 10:28 AM, Zdenek Dohnal wrote: >> >> On 7/18/19 4:10 PM, Vitaly Zaitsev via devel wrote: >>> Hello, Zdenek Dohnal. >>> >>> Thu, 18 Jul 2019 15:51:33 +0200 you wrote: >>> Even the new .spec files, which do not have to be RPM spec files?

Re: Vim and spec template

2019-07-18 Thread Jason L Tibbitts III
> "ZD" == Zdenek Dohnal 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

Re: Vim and spec template

2019-07-18 Thread Steven A. Falco
On 7/18/19 10:28 AM, Zdenek Dohnal wrote: > > On 7/18/19 4:10 PM, Vitaly Zaitsev via devel wrote: >> Hello, Zdenek Dohnal. >> >> Thu, 18 Jul 2019 15:51:33 +0200 you wrote: >> >>> Even the new .spec files, which do not have to be RPM spec files? >>> Because Vim provides spec template for such

Re: Vim and spec template

2019-07-18 Thread Zdenek Dohnal
On 7/18/19 4:10 PM, Vitaly Zaitsev via devel wrote: > Hello, Zdenek Dohnal. > > Thu, 18 Jul 2019 15:51:33 +0200 you wrote: > >> Even the new .spec files, which do not have to be RPM spec files? >> Because Vim provides spec template for such cases. > I never used this feature, so I think it can be

Re: Vim and spec template

2019-07-18 Thread Vitaly Zaitsev via devel
Hello, Zdenek Dohnal. Thu, 18 Jul 2019 15:51:33 +0200 you wrote: > Even the new .spec files, which do not have to be RPM spec files? > Because Vim provides spec template for such cases. I never used this feature, so I think it can be disabled by default. But syntax highlighting for RPM SPEC

Re: Vim and spec template

2019-07-18 Thread Nicolas Mailhot via devel
Le 2019-07-18 15:51, Zdenek Dohnal a écrit : On 7/18/19 3:39 PM, Vitaly Zaitsev via devel wrote: Hello, Zdenek Dohnal. Thu, 18 Jul 2019 13:44:56 +0200 you wrote: What's your opinion? Is it useful feature of Vim and it should stay as default, or it needs to be disabled? I think, that *.spec

Re: Vim and spec template

2019-07-18 Thread Zdenek Dohnal
On 7/18/19 3:39 PM, Vitaly Zaitsev via devel wrote: > Hello, Zdenek Dohnal. > > Thu, 18 Jul 2019 13:44:56 +0200 you wrote: > >> What's your opinion? Is it useful feature of Vim and it should stay as >> default, or it needs to be disabled? > I think, that *.spec files on Fedora should be treated

Re: Vim and spec template

2019-07-18 Thread Zdenek Dohnal
On 7/18/19 3:25 PM, Steven A. Falco wrote: > On 7/18/19 7:44 AM, Zdenek Dohnal wrote: >> Hi all, >> >> I would like to ask as Vim co-maintainer, do you find useful for Vim to do: >> >> - when you open new file with .spec suffix, Vim will get you basic spec >> file structure? >> >> Recently I found

Re: Vim and spec template

2019-07-18 Thread Vitaly Zaitsev via devel
Hello, Zdenek Dohnal. Thu, 18 Jul 2019 13:44:56 +0200 you wrote: > What's your opinion? Is it useful feature of Vim and it should stay as > default, or it needs to be disabled? I think, that *.spec files on Fedora should be treated as RPM SPEC files by default. -- Sincerely, Vitaly Zaitsev

Re: Vim and spec template

2019-07-18 Thread Steven A. Falco
On 7/18/19 7:44 AM, Zdenek Dohnal wrote: > Hi all, > > I would like to ask as Vim co-maintainer, do you find useful for Vim to do: > > - when you open new file with .spec suffix, Vim will get you basic spec > file structure? > > Recently I found out someone can find it as bad behavior >

Re: Vim and spec template

2019-07-18 Thread Till Hofmann
On 7/18/19 1:44 PM, Zdenek Dohnal wrote: > Hi all, > > I would like to ask as Vim co-maintainer, do you find useful for Vim to do: > > - when you open new file with .spec suffix, Vim will get you basic spec > file structure? > > Recently I found out someone can find it as bad behavior >