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.devel Subject: RE: [External] : Doc of deprecated INITIAL-INPUT arg of completing-read Date: Wed, 29 Jun 2022 14:24:57 +0000 Message-ID: References: <87v8smt9lp.fsf@web.de> <87mtdw4v6h.fsf@web.de> <87r1371t89.fsf@web.de> 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="30220"; mail-complaints-to="usenet@ciao.gmane.io" To: Michael Heerdegen , "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 29 16:55:40 2022 Return-path: Envelope-to: ged-emacs-devel@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 1o6Z6R-0007dP-4j for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Jun 2022 16:55:39 +0200 Original-Received: from localhost ([::1]:33082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6Z6P-0004VY-V3 for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Jun 2022 10:55:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Ycw-0004j6-H6 for emacs-devel@gnu.org; Wed, 29 Jun 2022 10:25:11 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:14926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Ycs-0003l7-Do for emacs-devel@gnu.org; Wed, 29 Jun 2022 10:25:10 -0400 Original-Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25TCVQSt019977; Wed, 29 Jun 2022 14:25:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=v3WU1zCbcEpHIkJ89I/tg72nN49rI3HFVRYnYaY5Qtk=; b=Z9fddqmg1zMj3HZMpNr5os8WK2zZ127B2KYWEEP1Q+cUmT+UvB1RQ9mgj3Sfvul3h6hy 7/O7xfO+lLAXq0HvQ4kjL6YoJARfsBxk/6Jtj5cv6dkvbFwJbPyY1ThF728GdtTCUW4G agjGmeYd4fbXIDkTTOWZu8rsaeLH8bg15ba0/su8iJoRQU2FZoIspL94uiXAcNVp0szU zWCsfvos8j7w9tYiFcTKfD/oyF4XSYi8kDIil6hJn+tVw/vrUPQPh2D9gVlfCgesQ1Ga YMArapIXRS9hKnhSpA9N5bfJRlBHlip94M/HW+2rPYrUrHhCK7W3xx99c2tN6EEnAakd rw== 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 3gwry0he6j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 29 Jun 2022 14:25:03 +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 25TEHFj7022177; Wed, 29 Jun 2022 14:25:02 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2044.outbound.protection.outlook.com [104.47.66.44]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3gwrt3c8kr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 29 Jun 2022 14:25:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ldMf/Ri/8k3p07kEC4//ierQorsFg8P2sCmvYA1ZiMDtDlOsx3iM7pHURekYNbd7a2NWUX6flZhNBEgBJd271tyFwAdTJoJ6lCICn0cLGvA/+BiBEEbpetd0astiZAB+w/hG/2e1HLrIbZTvg3dob64luKLkPc380uawePdWw0H5HqwEt3sJB39e5P1LFC1tNwKqfcLF2IRhOGAfl27KFjl2iQOHwHr20+Jc5ABMZozGAy9974ZlaHIj18+tt9P2QV0/iZ+ZHuvcNY6G5MJpg4xmzkteAMtE5ycRzEAWuDujZ5Bt4L3AA/IFpAuMhugUN4k1ZjOvEd4plrOrigM++A== 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=v3WU1zCbcEpHIkJ89I/tg72nN49rI3HFVRYnYaY5Qtk=; b=kwdY4V2cFDPt2fhh4/CGU1H7Dle2PM7Kcdsf5u9yomLA9ccqn9OO2JxrZal9yPR5/wXzGgUiCpzpZgKF4Z2nWKHeYIVNhCAOBHey8MIEyeQjBqf72zp6+QugpvklNg+zGmESFZEivJA1XrWIcMTnQPvDYJblH12HWGQ8uvmgGAreJJZTQM9AAWj+FbTya6CTO9WX/B/3Vgh50ywp/MQMd4A9HocEIoHyQEgNpPxy/jr66XVdBdI1Jf3GR8n7gjUsEUkN72p6jDDXOITBfAaDcBffZFf4zWUIQRI59mDSkwHdc8YwJwG9xwGzlYBPZZXzLenqoub4vHl58wv0Y2n1kQ== 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=v3WU1zCbcEpHIkJ89I/tg72nN49rI3HFVRYnYaY5Qtk=; b=NczMTrm+TL0tp91qX/pR+08nCGXTiR7ANpETBVlmG4lrXrk2wr4zqKEkw8SoNczMRMrrF/ai3Az/3Sswk3rqhTNG6/9S5GsekqqCJ2bLfjPHopAfG89WZdDuOWzPvSZAC1bNNQwv4LzMzB2QQegOaOdfRTsJq2v/2GmPR/BrbZk= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by MWHPR1001MB2157.namprd10.prod.outlook.com (2603:10b6:301:32::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.17; Wed, 29 Jun 2022 14:24:57 +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%7]) with mapi id 15.20.5395.014; Wed, 29 Jun 2022 14:24:57 +0000 Thread-Topic: [External] : Doc of deprecated INITIAL-INPUT arg of completing-read Thread-Index: AQHYi8AKyZ+C/rkRw0iKlr6mQmNInK1mcD7A In-Reply-To: <87r1371t89.fsf@web.de> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 162e4172-d85f-4c6c-4565-08da59db2490 x-ms-traffictypediagnostic: MWHPR1001MB2157:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KyWHUkGTpFxkTVpZsAuQ3k1SWC+wbcJEO1Nv0qXMynUSL/KwhLk0NA962pVaiR4KYNAXiQexY8cp8IBtK+eAH+QdIUu9vaglFlHLNsplvJPQecaJ10oYmNXq+d4VlvHCQHqEbgPg69tXrclO8JlMHQXCVHzx3sB3r0GTM9U+UYO1jPfThDJGF0DPI6oGjCoUYFHTNXyVn0LmpU+jA1KE1+MqQR8RcjAqvtwogCXz2t+CA8EJ1fwpu+oHBlkiLAWRq1M3LBh7On29x6CR5DU1/Pa9xKJL9KXdjLM/ql9kguF7cM5dbKNvd82R/VMusgA3cy1AgFwBJo/4Qka0S89i+dXf9WtbtDCHJI+qI25K4+5ZWB4y/CmfehkEd9Rf3B74nJMObYLeJd83XHIXIJfX7xbXABLFv1S8jEMiyUlTZFUPLWJ0H5UYDXlvqE/Ny2+ERK1E1S5k7cgJy2rar67HGPQqfh7zFM2u7A+SMNZvAH4mN6ljZo52ma4JHSyPnxJZaCU8oh76M3vWrDC2fLWYdaormtNUObNcvN9Ht1jmL9hBfXBHrxtglVQeLIhzG6jdfPRWxLov7P7rr+MhwUQFKJDu/3A4JeHu9oOWioh/gpB3ARQnaQSSmPLlyMB7Dc2BgbTRtALzD3r/cD/N+pzKWOT7oDdr7NaFO0c2ypWoayuaH9/KxWVozaTqVsL5V0CLvbYqz4j3Sa3hTFEI9e7tYMIpZtnkKLgv4oFfQ4qsx31SL/rMhQYTegGL6Qf1E d8JjWne5gbzJqJUlt7xdKzllGtJGv1dCZqLL1dJsyZR+d0= 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)(39860400002)(346002)(376002)(366004)(136003)(396003)(38070700005)(9686003)(66476007)(71200400001)(66946007)(7696005)(44832011)(66446008)(64756008)(26005)(8676002)(66556008)(2906002)(52536014)(8936002)(76116006)(6506007)(41300700001)(122000001)(478600001)(186003)(38100700002)(55016003)(33656002)(4744005)(110136005)(86362001)(316002)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mdnr7TYZ6ysG/our20ZAfqNbW5y0eLHAANVkamcc4XtH219i+AGHZa0en9ix?= =?us-ascii?Q?m4QKfhbP77ty0UnyIAmwdzpllvmZlF97xhpDFXeILzV+aBBfzR+hvzsHg5Qs?= =?us-ascii?Q?11ecHohcJ7SZqp174JkwLnDdJakYbtBYWFbG/g9e2nyCzlZ2L9sm2ETFFrMZ?= =?us-ascii?Q?Hm8SBGzbeYnMqOclHP9x8yukLDqk91mGHhm6Eb8XLxt2Ox818hcbll3U5Zd+?= =?us-ascii?Q?ToBRV/XZaXRcvvHJAosnc2oGtipYCzuUETd9aO12tgucgUQFD3EPC6O0mANs?= =?us-ascii?Q?Sue9oSRv+8E1UVa+n4zj1JQ2n4g/SHSpsIuhbVuExnMlV/DrlBS3z/Xx1c4+?= =?us-ascii?Q?IVJUVOnIOvy4uCuPMelOrIy+e6eJ8xdFgT9IM1UbGkpHgbDpFyr99C3blOvn?= =?us-ascii?Q?LweX9R3y8jQoHopcCYtw3XRdl9Et00+K4AJaPu28xt9QHbFejykX9NSnzpD+?= =?us-ascii?Q?4BFYXrwyey15yP7tuZCN8S+Zkg9qoSnHXJJwHFhN4kodJ5/ae4Iq8WJXKDZd?= =?us-ascii?Q?ZLev18oIQm50MuMDm0yMl3tRpoLQO0TS1KqRsDNmyGe7sK+JtxeC1ZfA3nwx?= =?us-ascii?Q?kOLO6AFofNFtBGs3FjJ/prRMmrKF1wOtvahyaQbXbDNYmynxyS0ZTuLa3wWS?= =?us-ascii?Q?cn 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: 162e4172-d85f-4c6c-4565-08da59db2490 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2022 14:24:57.1866 (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: NrW2cFj99KQR326BF336mio4bMZW/2+qoT9YoE9GKIKamcTCXp+I5blmBlQVe156HmeD9JYZyW3dleABg5mxsw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1001MB2157 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.883 definitions=2022-06-29_17:2022-06-28, 2022-06-29 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 spamscore=0 malwarescore=0 suspectscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206290053 X-Proofpoint-GUID: St5d6x9TAvPX4HMDxMFnWhCwMLsYxTNA X-Proofpoint-ORIG-GUID: St5d6x9TAvPX4HMDxMFnWhCwMLsYxTNA Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291718 Archived-At: > > Suggestion: > > > > Don't use this argument to insert a default value -- > > use DEF for that. You can use INITIAL-INPUT, for > > example, to insert a prefix common to all completion > > candidates. >=20 > Ok, thanks - I went with your version. >=20 > > 5. The doc already says that users can yank DEF with `M-n'. > > (Or if it doesn't then that should be said where DEF > > is described, not where INIT is described. >=20 > It didn't, so I added that, along with a hint mentioning > `minibuffer-with-setup-hook'. Great; thanks. LGTM, and thanks for doing this.