On Sun, Aug 16, 2009 at 04:29:11PM +0000, Clint Adams wrote:
> Package: darcs
> Version: 2.3.0-1
>
> Since get_editor and get_viewer are already checking the contents of
> the EDITOR/PAGER environment variables, you should probably be
> falling back to editor and pager rather than their "sensible-"
> counterparts.

You're right; $PAGER is handled upstream.  The purpose of using
sensible-pager is to honour the system-wide pager alternative (see
update-alternatives) when $PAGER isn't set.  (sensible-pager will
internally still prefer $PAGER.)  Same as above for s/pager/editor/.

Specifically, the problem arises when PAGER, VISUAL and EDITOR aren't
set, and less and vi/emacs/nano aren't installed.  IIRC this happens
if you uncheck the "standard" tasksel task during installation.

> If you really want sensible-editor/pager, darcs should declare a
> Depends on sensible-utils.

My apologies; sensible-utils was only recently split out of the
Essential package debianutils.  On reading the Debian policy manual
more closely (ยง11.4), I think I should be using "editor" and "pager"
instead of "sensible-editor" and "sensible-pager" respectively.

Does that sound like a reasonable resolution to you, Clint?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to