Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16665

Re: bashbug's default editor

From Eli Schwartz <eschwartz@archlinux.org>
Newsgroups gnu.bash.bug
Subject Re: bashbug's default editor
Date 2020-07-31 11:26 -0400
Message-ID <mailman.390.1596209204.2739.bug-bash@gnu.org> (permalink)
References <20200731101458.2102eada@delli.fritz.box> <4381b377-bb75-acbf-cad0-3f18f84cea11@case.edu> <b3111b6a-73da-31db-104d-0ac59ec03e2e@archlinux.org> <63cea231-0134-0c79-fa10-ec2b49a395e5@case.edu> <116daa3b-4100-4682-542b-ea18503e448e@archlinux.org>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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_fan@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 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't think it implies that. It's the default choice if there are no
> other  alternatives.

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 belief seems to be that people will understand it to mean the
latter (I don't feel the sentence conveys this).

...

The OP here seems to have interpreted it the way I did. So clearly it's
confusing to at least 2 people out of millions.

...

Another possible tweak of the documentation:

"If EDITOR is not set, bashbug attempts to locate a number of
alternative editors, including emacs, before defaulting to vi."

and -> before

-- 
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: bashbug's default editor Eli Schwartz <eschwartz@archlinux.org> - 2020-07-31 11:26 -0400

csiph-web