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.help Subject: RE: [External] : Re: completing-read depricated initial-input Date: Thu, 23 Jun 2022 16:25:42 +0000 Message-ID: References: <86r13hubaw.fsf_-_@gnu.org> <86letphfke.fsf_-_@gnu.org> <87bkuljsvz.fsf@yahoo.com> <86fsjvlrjo.fsf@gnu.org> <874k0bkco7.fsf@dataswamp.org> <87letnhhj3.fsf@gnu.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="18466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "help-gnu-emacs@gnu.org" To: Tassilo Horn , Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 23 18:26:58 2022 Return-path: Envelope-to: geh-help-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 1o4PfV-0004a2-Kv for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 18:26:57 +0200 Original-Received: from localhost ([::1]:49212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4PfU-0004gM-8l for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jun 2022 12:26:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4PeU-0004eH-Qm for help-gnu-emacs@gnu.org; Thu, 23 Jun 2022 12:25:56 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:21438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4PeT-0001rO-03; Thu, 23 Jun 2022 12:25:54 -0400 Original-Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25NDvhp5009481; Thu, 23 Jun 2022 16:25:46 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-2021-07-09; bh=ufBMkjyf5ucbWN4+rLvloreNHhKVk8He0hbriS5fA9g=; b=RjrT/I2rmPN504ZzlllURlnifH+XhDjsksea2LGbgGwBbdmlOPRbo3aGjOnubUWvB//U y7W2//P21MA3ckKy6cl+/Q4JYpydsW8EfELKUdBb2+QtnsBCpEzgl/9AF+o1W0cHDtil 2wRs99LG6gluU8BW2KRhjBxmm2Pp47IcYLibefNoBWspjo2qgXlL0K0wXxrgRqq5KnfY tCFSIAIGc2REEKjwi3A8vULa5QZmFsj+p/xJIgr6FtydQWDvZIJU/EUi9184mPc1M0Rl SIDSh3FTrg97/udVsFfZVugg2yUdbHxa5YFLRHLhy2+IMJsv00yOY5s/kfonPhYsJGzc mg== Original-Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3gs5g23r1h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Jun 2022 16:25:46 +0000 Original-Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 25NGKaaA006857; Thu, 23 Jun 2022 16:25:44 GMT Original-Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2175.outbound.protection.outlook.com [104.47.55.175]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3gth8yqjyv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Jun 2022 16:25:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fhUlKVHL96tX0Dd5B57cIFe6Rkf5a7zRAA9+fZLW4BEg5lpUdaRylKacQu3Qy3+iP3pzn7vLHLBSKQIIk6Elm8kd8aQkQA/963/mTwYNk4FS2AKH6nRjUV6rECgDAYyee1R7RGk8ifUk7BseCoEdLUFU0exEPqzVWF9wUvXBvx4StaXEeElM/U0yFYbl4ugbxfFTfAmYtJxE7CxX2mlh6ntjB4/f6KeQqLzzmSsqDvNx5G3j1Tcx9Kw6w77lBxBEM0wM6UqWQ95ixazqIutmh2IC3rbDywwW+PgujtrBMCzSs7tiZd617eHRVDX0TTW3T4C50dC1kkLMIMfdcWWE4A== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ufBMkjyf5ucbWN4+rLvloreNHhKVk8He0hbriS5fA9g=; b=m/dZEKCtJofDinqt5spfBWeCB3otD3ylyFu6+RkxwBBoqabxCZ3kjL63ij96a4t71DgfquzaNrbPjMWCRo1ar5TBObRrS6Sj9A/ViJiI0qTaXVkId24+vMjAT1GjWexLRcdyH56XCIg6llpl+v/cUHuvXfYo8Qf5sxziPLtLIUAD+hk7qJH4xb7rR0Zos4glGtODhXu4SKOT/XaqNRpp/p9Hbwd/CknhT6VpGfFfnzDCePvgDHeDRyb+nzA9drCR/dDJmm8+N2SHRbkCXv8FdoEXY3ylnPbauDKun5INrBdNAisjxtGeHWqSdQzwj5kjI6FUtCpez0UBqX2I08bf6w== 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=ufBMkjyf5ucbWN4+rLvloreNHhKVk8He0hbriS5fA9g=; b=X9rAvcyqNr2ckklxNXiU+4vKw9d09nmIaEIQLxU1bRTHPBgvmuDqr2HYDMN9SF3ld7V+fqJS65eDMxcn60zvzH/jCM9ZyZplP3Nc03m1qQkcpgN51+ogHIZcO3pN/7I96EH7d84G7oc4w17o6TU/jWS2bXdbxQTT80+3qXlOU0U= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by DM5PR10MB1259.namprd10.prod.outlook.com (2603:10b6:4:3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Thu, 23 Jun 2022 16:25:42 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::581b:ae2f:16b9:80fb]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::581b:ae2f:16b9:80fb%6]) with mapi id 15.20.5373.016; Thu, 23 Jun 2022 16:25:42 +0000 Thread-Topic: [External] : Re: completing-read depricated initial-input Thread-Index: AQHYhuGD4Q4j1GWVskSQhIfdOkqZia1dBMOg In-Reply-To: <87letnhhj3.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: dbb90b5d-c0f0-455e-5b57-08da55350490 x-ms-traffictypediagnostic: DM5PR10MB1259:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VYxrD20amp3DV8psI8sip6T2OlRkwQjJvTCjXBybf5yPGv34cmVnd1TRdDIbG/8HD5EAaGGC0M7+VmHUs4rqpiUb4MZAOMWy/8sv2J/S1ACmkh4J04byZffmQYnN5b1VN3upzPZD8MVja/HYJi4E786vlTxVMneW3Tr1VwnzMg5cWu8rjaY/njtIJLnDZ/8ULxyZecKzXVX9d67PLAAfu+gTwneSG6HKGFUx676nTtSc7XZDccgS4tqkZAuvLkhh3d6D9yFQ/ab2yOM/8HQaKTDQCVTVYVuKHYzRfuB6y5ppfq+vlrzbH2Dj1pGFuCmRZuBPAX6RtbudD2TaOTePOegXF/kMwPh+EzeJkyVgLULV7IfEthjvW8K3ceUAo1rU+QcLIgnVoKyYHcrUm8zpUKcyMWLtS6nkblef8cZZsv8Z3Uqanf93HfZHmXKRHwaSS7QiDvZoC5YInfrQsfjgy7SAK9nc/z4SJp4sEtTAZ+ldEX5Fkx2Ak3D8KnBediIg1uZ5Cc1GtAdn9LHMpmSD0lt3dAZtD/6dKxhG2umajKPlq3mzNQKxFrfY1n/WDkyws9KbOgD3S7pT3hNWjhXAkUDFITFwPqJKEPZ37+GQIBu/Hnm/bTrnk7OaXO90T/PfrgVJXh4fvLX4o96U64uAn2t9/vGaIm3XugJ4xzADxU27O0iJM7CCO6/RNsk0i+3hENkRSDDWWeHMqJs7ENQrtS2Qb3+1HcSuNpxvQD7y/bETKQGEG5sqYdVYSkqbb XpyXAvavztAUnBrzI4z/r05o9fHnlO5TF/xxA0OK+Jjjic= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(376002)(366004)(136003)(39860400002)(396003)(26005)(9686003)(64756008)(7696005)(41300700001)(6506007)(186003)(83380400001)(122000001)(38100700002)(55016003)(71200400001)(33656002)(38070700005)(5660300002)(66556008)(4326008)(86362001)(66476007)(8676002)(2906002)(44832011)(66946007)(110136005)(66446008)(76116006)(316002)(8936002)(478600001)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?DvySWLxBv0cmC+AWCgmdzAJVtfAcihCOvlW1/WwzTHIlJ7hoiBFTEN55gz4x?= =?us-ascii?Q?DMkjZK7ot8iNuaJKm5sxBJNiag3iHLmNm6MB0pwYt5wbYcCr6MsM7jj4qf2/?= =?us-ascii?Q?q3gyqZdWqyqXQYq/ym1rvASSBBSEjASH9Vv5vRFz/ir5XRmB0MeLxLUhPUJD?= =?us-ascii?Q?hWyxuQe6KJV/UGh1ZBI4Y5JJVcitGproG0655ARi2nlCFbrfoZi467474SJA?= =?us-ascii?Q?ruPyq098D/lZRH2MDDhbg6XcXkSpz7EFh2QCEy04I9OWcMxh6JQuTy5IsVpw?= =?us-ascii?Q?pJSg/lRttJgNNw1C+d2XNAVEhHN2BSGN9ZtZUjlgvAm7JkGws/IgJEZRl1Ns?= =?us-ascii?Q?Cw+8Cgdj4WdjgbqC/3U9+nudYQJva+DZUPkvvCdwDRVWwfDkxmOw315S0CiN?= =?us-ascii?Q?lc7ANjDLoo66EtH4iXl20hcQ9wKgnhbw2SHDIdD0Fr5sjbH2Ompq0xb5EQqM?= =?us-ascii?Q?KNHSoxMsLBiNCiWfR74pKbNdewGZ1lqg02OT8AAhc43twoBvD8fAaNmbXNDv?= =?us-ascii?Q?i54+Rl5j9ehyaGD/OC47FxSAQ7ZjLXkcmGKjaBVZeg9E0IVwdWCKKOKCeUjE?= =?us-ascii?Q?+eu4Y3TU8zyV4jJ926mQvvQTrSN4r9EAUub1zNZVtoZYTM+hEeLLIHYWw5z5?= =?us-ascii?Q?Vx X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbb90b5d-c0f0-455e-5b57-08da55350490 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2022 16:25:42.3918 (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: Rb/SXdEVdFWfYSFr52RrByzeBWG0PgVLMd0YHWo4Gycs5gUqmMUbGTNhjCTPfBUoxSqAC3eNIsvCasuxOkKzRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR10MB1259 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.883 definitions=2022-06-23_06:2022-06-23, 2022-06-23 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 mlxscore=0 phishscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206230064 X-Proofpoint-GUID: 4x0EBNYyX8sWQ2Hi_KkYDLex52tLVq3w X-Proofpoint-ORIG-GUID: 4x0EBNYyX8sWQ2Hi_KkYDLex52tLVq3w Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138028 Archived-At: > You have to delete the initial input if it's not what > you want or if you want to see the other possibilities. That's akin to the arguments pro/con `delete-selection-mode'. One person says she wants to be able to immediately type to replace/delete, without first having to use `C-w'. Another person says she prefers to always explicitly use `C-w' first, and not have Emacs automatically delete selected text by default. Au choix - vive la difference. You get to choose. > So basically all occurrences "Basically"? or "all"? Do you mean not all but most/generally? Or do you mean all, so not just basically? I guess you mean almost all, aka _not_ all. > where INITIAL-INPUT is used as a kind of default > value are better handled with the DEF argument. Sounds a bit circular. That just says that DEF is a better default-value behavior. Initial input isn't the same as a default value. The behavior/effect is different. > The only places where I can see it's useful is when all possible > completions have a common prefix and that is given as initial-input > (but then you only save one TAB) or with completing-read-multiple when it= 's > highly likely that the user wants to use the defaults given as > initial-input and just insert some more. (completing-read-multiple > doesn't explicitly state that INITIAL-INPUT is deprecated.) The behavior of INITIAL-INPUT differs from that of DEF. That's enough to point to different uses. Unless, that is, you can convince all that the DEF behavior is always preferable - for all users, all calls to `completing-read', and all contexts.