Hi!

On Mon, 2023-09-04 at 15:43:02 +0200, Axel Kittenberger wrote:
> Package: dpkg-dev
> Version: 1.22.0
> Severity: normal

>    * What led up to the situation?
> 
>      using: dpkg-source --commit
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
>      I used `update-alternatives --config editor` because I want to edit with 
> vim.
>      (actually it became the default editor already by manually install 
> vim-gtk3)
> 
>    * What was the outcome of this action?
> 
>     dpkg-source uses nano
> 
>    * What outcome did you expect instead?
> 
>     dpkg-source using vim (or just call `editor`)

It should already be using the following list in order when available:

  sensible-editor, $VISUAL, $EDITOR, vi

So, you might want to check whether some of these are set (directly or
indirectly) to «nano». If so, then this would not seem like a problem
in dpkg-source, but I notice this is not documented in the man page,
so I guess even then I'll document that. Otherwise this might need to
cloned and reassigned somewhere else I think?

Thanks,
Guillem

Reply via email to