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

Bug#875531: "editor +42 filename" -- accept or reject?



Inline an editorial bit that I suggest for what I consider better flow.

On Tue, May 18, 2021 at 12:27:27AM -0700, Sean Whitton wrote:
> On Fri 02 Apr 2021 at 10:46AM -07, Russ Allbery wrote:
> 
> > diff --git a/policy/ch-customized-programs.rst b/policy/ch-customized-programs.rst
> > index 27abebd..d58e297 100644
> > --- a/policy/ch-customized-programs.rst
> > +++ b/policy/ch-customized-programs.rst
> > @@ -93,6 +93,14 @@ alternative should have a slave alternative for
> >  ``/usr/share/man/man1/pager.1.gz`` pointing to the corresponding manual
> >  page.
> >
> > +Packages that register as an alternative for ``/usr/bin/editor`` must
                    -------^--
                    themselves

> > +support the following features:
> > +
> > +- When invoked as ``editor <filename>``, they open ``<filename>`` for
> > +  editing.
> > +- When invoked as ``editor +N <filename>``, they open ``<filename>`` for
> > +  editing and position the cursor or equivalent at line ``N`` of the file.
> > +
> >  Packages that register as an alternative for ``/usr/bin/editor`` should
> >  also provide the virtual package ``editor`` by including it in the
> >  ``Provides`` control field. The package providing the current default


Seconded.


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: