From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#46594: [External] : bug#46594: Use short answers Date: Mon, 22 Feb 2021 17:13:28 +0000 Message-ID: References: <87im6qikpo.fsf@mail.linkov.net> <878s7gjftt.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13052"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "46594@debbugs.gnu.org" <46594@debbugs.gnu.org> To: Lars Ingebrigtsen , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 22 18:15:36 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEEo3-0003F4-QN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 18:15:35 +0100 Original-Received: from localhost ([::1]:45574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEEo1-0002XJ-LL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 12:15:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEEmY-0001sg-1H for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 12:14:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEEmX-0003yf-Ov for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 12:14:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEEmX-00033H-KD for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 12:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Feb 2021 17:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46594 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 46594-submit@debbugs.gnu.org id=B46594.161401402011698 (code B ref 46594); Mon, 22 Feb 2021 17:14:01 +0000 Original-Received: (at 46594) by debbugs.gnu.org; 22 Feb 2021 17:13:40 +0000 Original-Received: from localhost ([127.0.0.1]:57433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEEmC-00032b-Gn for submit@debbugs.gnu.org; Mon, 22 Feb 2021 12:13:40 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:33842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEEm8-00032M-9e for 46594@debbugs.gnu.org; Mon, 22 Feb 2021 12:13:39 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11MH4ODG144642; Mon, 22 Feb 2021 17:13:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=YxbKjUDP0w+bvppZ0SrggQRXlB2XgaHmqVPAzx+4J4c=; b=VkPYvwUnqhDWqLlIytQKcM/EE0bfH1kH7Vl/i20UM2EfeCSP0HkL+pK6UaFOET5dmyOW ghbGNLvwKiK2LS+kh33efbZ5hy4AGng9Tk7gf82OYBguOHg+qhRkSlbozixRSWPRdtE1 v3SUXzgeRkmFu2vn61yaCLYCwsGi5KB8vCjovISZdE2sHnJqYHla5w0S58VOSBVaznPZ eewOyCaQJfxzPdJmeKEfn0X1gUgLqYUwL7yc5IqqlPq41Odpa+E2S15qQe79BfCB7kl5 Vj/6Ic8pgljEDJ0eLARjDmHzNJnIuB5C9slieLmSywYMCmJw/ttgZdvbLil44fokHXv+ WQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 36ugq3b9ee-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Feb 2021 17:13:30 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11MHAVCJ069784; Mon, 22 Feb 2021 17:13:29 GMT Original-Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2057.outbound.protection.outlook.com [104.47.36.57]) by aserp3020.oracle.com with ESMTP id 36ucaxamk5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Feb 2021 17:13:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WEgWvo3cJ4ZaAxf1Mn6C90lzPRA1lSu3qCc96ngXKtGtohDalkgvDbQQK5hyvvAMK8Mb7Sd+DwpN2VkUCa+lQKQc1W8dvJty4JUAFVw/CLtSNAy5ZlLqaicnXCVQBRaV+VuEyM/AzLYi1IFbVDknsKKs2aIZywTp1NeEiEx1gtVJJmFtxIab+CmN1ZC5me5Hp3i+fn7++NSVzMbwrReIsxrUabOUgCBfiYV6BE656Y3pWH6oZ2SK6J1yK0UL6LorZoxMpRBjGxXtkLH5hHITs4kLn6knTHUZUq5KhRRY1i6Tw0tutyBCiRuFQBmtKS3qQUs9szf+FSkRDEW3lJYfJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YxbKjUDP0w+bvppZ0SrggQRXlB2XgaHmqVPAzx+4J4c=; b=LF7AQpFPMoEXg7JNQP7RM5z2XOrpVOoQK/lqDZ2DEgMiesH8z+70Kw3Vu3LNN5Qp/dxU71z8tvKEDqCBzXnShBbzZKyhldajNvu3tfzqZgXu3xZXG5hgyQRE5UlC7/MAsJsSZ7OupYTXqTqZ2DPkKg6GIg8+QJxB4Xn2GmJJu1IZL9b52omPgDVKnwLcyZ8qfgkiJjZM5EXqhZ99hA0cY8R0QFG4xAPoJt68nxi+mvBLCoBqmgS2NS7yFPj+AuOZLGoKq2qohM20isNojHxilsK2XHnUIpl7fTIMuu3qSiXZoL6wi7y8W7JVrCSz21qpfusN2ET/Z50XF5ViAq17ng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YxbKjUDP0w+bvppZ0SrggQRXlB2XgaHmqVPAzx+4J4c=; b=0IR2iRQp1HCdGrhYxLzWPVezqjuuA5s5pseAfFEHzqkwuRmmICeBBK3AlPnIbzBcgf4bO8pfQAI+4MvHGCkctGGsN/jUzTVvb/D31CArAbSa1RXwB98kICbGLiUHXKXFFAADSPJVsooYy8RxYUCiaWQl4wolPIgkx/r37Bmun84= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2672.namprd10.prod.outlook.com (2603:10b6:805:4c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.17; Mon, 22 Feb 2021 17:13:28 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315%5]) with mapi id 15.20.3868.032; Mon, 22 Feb 2021 17:13:28 +0000 Thread-Topic: [External] : bug#46594: Use short answers Thread-Index: AQHXCS5y7F4dbFjeJ0SmUyWc2/B4hapkZlBA In-Reply-To: <878s7gjftt.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US authentication-results: gnus.org; dkim=none (message not signed) header.d=none;gnus.org; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6ac530c7-f99a-4a8d-9266-08d8d7552bec x-ms-traffictypediagnostic: SN6PR10MB2672: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /52dkAR35Y0rd2Aq0twe0fM/uWcMO8C2mxUGb1dEHnPJUiSD110NTGaqs+mI9zFiho6nijFcWKzJc75g2SSR/AV81gguHjOM0BqrizBB2xH3hfOHJ/0zMuPh1YHNM047YfzoAVdn/6c3J3ewRHdCTlaziHQCyzEKMmOevQDZ/jKhiJQVRjOd5jgDNZYGUTCFncw7C7iIbGstm2mLeEDYVQ0yPaE/VYnn6rIif8PuhYeaBETxMleUs0KhWD17Dr5ReVKayPovHn6eZgMqWi6zZQn9rFTq1pRZ/s/I2JNsyPgj5rzVLYRIEEULNNPPlhWpdNjgLtVb4xzgH/VZ9DVFLGQV8TOEiYuQQjLvdZ9KYznmsASkEfYjGAjbaUcuJgBs/2fzkjNeW2d9405kaNCj1vse5RrKXmxRP4JufQ+uzWgJ7ro4eomzyuWF2iNXmLKNGDgMANMsdtwxJczeRdJiJ6KglN2seovBEJeafd2oN93IRrTN06rzAgozKLxcUxuyg6V4yO6R+Q43h5uQEcteBB715uZ/xCSiOeaPsAfnYE/MgKk3l5FcUrGIQMyRWm+HlduH0HSvDexn4akFdWjZ0Plq0qjW4Ysc6VPqUGydcmk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(136003)(396003)(376002)(366004)(346002)(2906002)(52536014)(5660300002)(8676002)(55016002)(9686003)(33656002)(66946007)(66446008)(66556008)(76116006)(66476007)(83380400001)(7696005)(64756008)(6506007)(316002)(4326008)(186003)(26005)(86362001)(8936002)(44832011)(478600001)(966005)(110136005)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 1ymVY5TAQMXy65Nrf0H+lm+K4QSO8FZmp64W8UXaX++VwBhO7Qnwq0ynS3QyUcQ/UEnUIV0Y+vvWcJjAii8XqL+Cfmb4Srwr8uOQxgoP6BR5GHZqTd2H/XK3L1GUloXQ014NsShPD9hXYG0laM2CxBev+lZtBaTUyV2XucNp51C+W+ibRl6vLw3xkR0SQK46Kru7PQLDAUUtwvI9FUgVP4t9Nfoa3Fnk0KoYRzSG0PRfKxLYp8sATFtQTWQNPFDwpsWRXClXLmVvV2Z4smv9HoKsvZSeHC0B/FmqINb2hLxFyA4LrD2V7yViEQTkoUCMTfgYhdywbrxIHlx1tbXWtu+s7ND+uur7F0IZh+oMNeo7EYBxDBmbizQ9IHDiAinTOIygpCaNYdAaeVZ0+BcHawJ4wKhuUWhbKwE2WfdWoBnb+n+BFvQyR3T2xo94inTx4t5bzmOssQZDDoe8a03KJ6llkh0CBHL1UrADomqB8JUjr8iAi9tZzytGKiclZwAbsUjB75lXOWCo9sEb0wqooCYm0tRGWdvZRhnsEi4Shm/rjtEn4XSZBopWxq41OybhxvU3hW1erJV19Zv5Vy4RdDQsCKQcFVUO4BlRCw1KtclcbIRKg5pZYpMFzRU3Inpht4mkrpwsIcQE8NGhy2VpTafG5cFQEqVP1Rpcbs1hFL0EFne0zgt6FlFQPc0VWB4WrMCVxaC3HncmbBjIIADNTKxTqOxZIAXajYLAjMURsw1SSa/S5U7X2uxLD5sN zr4qazFObNLJhYdbCKB57yHZGogkOElJfHuKFCeBLHm8Cm6rLfL4sOGXwsU6OspqcWDtyBV2yyZrlyiRppqQw28sid9osHPR67 x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ac530c7-f99a-4a8d-9266-08d8d7552bec X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2021 17:13:28.1314 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pK7jGsyPLZa6uCrhvjIV5O58RzA+2RtLeQSm5IhZNSYmsZBuiK++Ktac7/Ru/I9esOWvLYvyppGrK7hnhdt+mA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2672 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9903 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102220154 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9903 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 malwarescore=0 spamscore=0 mlxscore=0 suspectscore=0 priorityscore=1501 clxscore=1011 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102220153 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200605 Archived-At: > > As discussed in > > https://urldefense.com/v3/__https://lists.gnu.org/archive/html/emacs- > devel/2020-12/msg01915.html__;!!GqivPVa7Brio!PKOEWigE5iDrORKbgYbHKSe- > DDgDExr74sBYZX3qybMC-I407gDeDkA8tD-MtISo$ > > here is an option that accomplishes the mapping of > > (defalias 'yes-or-no-p 'y-or-n-p) >=20 > Makes sense to me -- having a variable instead of this extremely common > defalias is better design. Is it? Jaywalking is extremely common (and I'm a major offender), but it's= against the law for a reason: saves lives. Speeding is extremely common, = but speed limits are there for a reason. Etc. > > This is a related option, but I'm not sure if it should be mentioned > > in the docstring. Maybe a simple reference should be sufficient? >=20 > I think mentioning it in the `yes-or-no-p' doc string would be good. I think that the doc for this option should explicitly discourage using the= value that abbreviates, and say why. It should say that `yes-or-no-p' is _intended_ to be used when it's thought= that you should not respond too quickly. At least point that out, for use= rs to think about before customizing. Otherwise, we're, in effect, encouraging `y-or-n-p' behavior, in the end. = There's a reason Emacs has two such UIs. Yes, whoever writes code that uses one of them might sometimes use judgment= that a given user might disagree with. But this option doesn't affect jus= t one or two poor uses of such a function - it affects all of them. Presumably this option is being added because there are apparently a lot of= users who don't want to be slowed down by `yes-or-no-p'. But that's exact= ly the point of `yes-or-no-p'. =20 Users who really want to always get `y-or-n-p' behavior have gone to the tr= ouble of adding an alias. That's not a lot of trouble. Maybe the fact tha= t they've had to jump that extra hurdle was a good, not a bad, thing? Users can turn off automatic backup of files, and all kinds of things that = they might find as bothersome or cumbersome. Such things are there to prot= ect us from shooting ourselves in the foot - by default. It's fine to have= user options to turn off such protection (we have option `make-backup-file= s', for instance. But it can also be a good idea for the doc to point out = the possible downsides.