Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Eli Schwartz 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: References: <20200731101458.2102eada@delli.fritz.box> <4381b377-bb75-acbf-cad0-3f18f84cea11@case.edu> <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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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> <63cea231-0134-0c79-fa10-ec2b49a395e5@case.edu> Xref: csiph.com gnu.bash.bug:16665 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --V13Ej1jmrjaB29ApGurXKSdc0lhxDT5d8 Content-Type: multipart/mixed; boundary="qQs0aNhWmZEA6n9suzXsA7jun0pEHBAMU" --qQs0aNhWmZEA6n9suzXsA7jun0pEHBAMU Content-Type: text/plain; charset=utf-8 Content-Language: en-US-large Content-Transfer-Encoding: quoted-printable 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. >=20 > 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). =2E.. 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. =2E.. 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 --=20 Eli Schwartz Arch Linux Bug Wrangler and Trusted User --qQs0aNhWmZEA6n9suzXsA7jun0pEHBAMU-- --V13Ej1jmrjaB29ApGurXKSdc0lhxDT5d8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEvSewel70XCra9w4EhIGKaBmvSpsFAl8kOBwACgkQhIGKaBmv SpvWGhAAif+uBdAmRVrDxDEEqfuWxTpCo5NwiBRonJCtmwj6Az1Zs2rXWZ6fqD6C pMl8ClXX/UXPBOCeU9/JAOY63M1xJVHkHEsbWInpissDmmBYyRIQkTihL6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