Re: bashbug's default editor

2020-08-02 Thread Chet Ramey
On 7/31/20 11:26 AM, Eli Schwartz wrote: >>> "If EDITOR is not set, bashbug attempts to locate a number of >>> alternative editors, including emacs, and defaults to vi." >>> >>> The word "defaults" there implies that vi is the preferred autolocated >>> editor, but the intention is to have it the l

Re: bashbug's default editor

2020-07-31 Thread Dale R. Worley
Chet Ramey writes: >> "If EDITOR is not set, bashbug attempts to locate a number of >> alternative editors, including emacs, and defaults to vi." >> >> The word "defaults" there implies that vi is the preferred autolocated >> editor, but the intention is to have it the least preferred. > > I don'

Re: bashbug's default editor

2020-07-31 Thread Ángel
On 2020-07-31 at 11:26 -0400, Eli Schwartz wrote: > In the sentence in the bashbug manpage, does the word "default" refer to > the probing or what happens when probing fails? > > My belief is that people reading the manpage will understand it to mean > the former (more natural reading). > > Your

Re: bashbug's default editor

2020-07-31 Thread Eli Schwartz
On 7/31/20 11:15 AM, Chet Ramey wrote: > On 7/31/20 11:05 AM, Eli Schwartz wrote: >> On 7/31/20 9:24 AM, Chet Ramey wrote: >>> On 7/31/20 4:14 AM, jazz_...@arcor.de wrote: >>> Bash Version: 5.0 Patch Level: 17 Release Status: release Description: bashbug doesn't use vi as d

Re: bashbug's default editor

2020-07-31 Thread Chet Ramey
On 7/31/20 11:05 AM, Eli Schwartz wrote: > On 7/31/20 9:24 AM, Chet Ramey wrote: >> On 7/31/20 4:14 AM, jazz_...@arcor.de wrote: >> >>> Bash Version: 5.0 >>> Patch Level: 17 >>> Release Status: release >>> >>> Description: bashbug doesn't use vi as default editor >> >> This is not a bug. > > The d

Re: bashbug's default editor

2020-07-31 Thread Eli Schwartz
On 7/31/20 9:24 AM, Chet Ramey wrote: > On 7/31/20 4:14 AM, jazz_...@arcor.de wrote: > >> Bash Version: 5.0 >> Patch Level: 17 >> Release Status: release >> >> Description: bashbug doesn't use vi as default editor > > This is not a bug. The documentation is confusing (and IMHO wrong). "If EDITO

Re: bashbug's default editor

2020-07-31 Thread Chet Ramey
On 7/31/20 4:14 AM, jazz_...@arcor.de wrote: > Bash Version: 5.0 > Patch Level: 17 > Release Status: release > > Description: bashbug doesn't use vi as default editor This is not a bug. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' -

bashbug's default editor

2020-07-31 Thread jazz_fan
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -D_GN