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

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



Hello,

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
> +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.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: