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


Groups > gnu.bash.bug > #16665

Re: bashbug's default editor

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Eli Schwartz <eschwartz@archlinux.org>
Newsgroups gnu.bash.bug
Subject Re: bashbug's default editor
Date Fri, 31 Jul 2020 11:26:20 -0400
Lines 100
Approved bug-bash@gnu.org
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>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="V13Ej1jmrjaB29ApGurXKSdc0lhxDT5d8"
X-Trace usenet.stanford.edu 1596209204 11665 209.51.188.17 (31 Jul 2020 15:26:44 GMT)
X-Complaints-To action@cs.stanford.edu
To chet.ramey@case.edu, bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
X-Spam-BL-Results
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=orion; t=1596209188; bh=adeQDQ3zFsWA4MwaUUFyqg7Z/KJzVQYGUPiwze0P5g8=; h=Subject:To:References:From:Date:In-Reply-To; b=XRVeOHzDKipvITDLWiUZbdG3pn5+uFXNgUn4CMOOpBlP4/4aZ/6VuCxtcZ3zpvKwt a2ky30QPIwoRcMDthOSuv8DscKCNGr5iEMR8g3nbRS2fYRbwcZHG8DUSRtPgklLZR+ lcB6yRDnmRlt/i2ytU+9X+DngGi/GaNdumUNgmcr1IZF2eeDiU+qmMGntlK152MDYT mjkb5UvLFaBy4YMdegbXoznpfuccJH+dmDwuNYPqBVLCx2l8LwtDZKeFMtk5AT17eP ER0aDBHtv3r5uaQe5vGiB9Cy3W17nB736vtgGOEGBLrr56BrxmZk0j48KcJbnnnQgq DRf/AR3SQbqlNbf+Na6Fbf33USoXh5GLlw3PIXq2YabcwCHwkul5ZAdurhSbmUNaBk 4nlBWHvtvmuUX8s3/1Yo82sAma0Smm8IjUDqei78sNMYBIG/3DSEcwfd+fjM5eTsAQ fLDbhGSCfUKiYFxRqu2sBDEXzPtAKthjGFrfvy3V52Q5mBRBtYNcdGt6a5aLzCjV1B QEULZD5xeZXlSiNLMpBiEDh7rYdMRSCfeU3qK2ngEHaWltbRr18U+Qc1YM4lvCtPRL CLonIhvhWqOVUCnkJzYG2HqS6QgdCVbPOdBLtnxHBDHolbcj0Fw7K0PiuSaOYpO8xm RidNl9SDZURG2NFsiTYb6K/4=
X-Clacks-Overhead GNU Terry Pratchett
In-Reply-To <63cea231-0134-0c79-fa10-ec2b49a395e5@case.edu>
Received-SPF pass client-ip=2a01:4f8:160:6087::1; envelope-from=eschwartz@archlinux.org; helo=orion.archlinux.org
X-detected-operating-system by eggs.gnu.org: No matching host in p0f cache. That's all we know.
X-Spam_score_int -53
X-Spam_score -5.4
X-Spam_bar -----
X-Spam_report (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no
X-Spam_action no action
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <116daa3b-4100-4682-542b-ea18503e448e@archlinux.org>
X-Mailman-Original-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>
Xref csiph.com gnu.bash.bug:16665

Show key headers only | 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