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] : Re: Q: Is there a built-in way to read multiple file names? Date: Wed, 17 Jul 2024 19:49:37 +0000 Message-ID: References: <875xthfyz3.fsf@localhost> <87a5it6vr6.fsf@localhost> <86r0c5196r.fsf@gnu.org> <877cdx6ryu.fsf@localhost> <86o77914sh.fsf@gnu.org> <874j916qlv.fsf@localhost> <86ikxh13yc.fsf@gnu.org> <87wmlppf7e.fsf@localhost> <875xt8jgho.fsf@localhost> <87o76yiivc.fsf@localhost> <87r0bs53yx.fsf@localhost> 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="26559"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , "mardani29@yahoo.es" , "emacs-devel@gnu.org" To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 17 21:50:01 2024 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 1sUAf2-0006el-D0 for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Jul 2024 21:50:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUAes-00032t-PV; Wed, 17 Jul 2024 15:49:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUAeq-00032a-H0 for emacs-devel@gnu.org; Wed, 17 Jul 2024 15:49:48 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUAen-00048a-TD; Wed, 17 Jul 2024 15:49:48 -0400 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46HJjXCs013039; Wed, 17 Jul 2024 19:49:41 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-2023-11-20; bh=2G5OU6LXXsLVCZouXtLSspJFVqJzcRHwQ5w1T7H+yvE=; b= LTPizXLjZXrrVJO8y4ajLcFjrUhAI1F2V5bHZD767ptqf8b8EcmOx8E4oFCgFqv7 QP2q0eU2ZT/VzHXBkbulakUadZHDmsw7TcTCKv0s5iEMOTibhqZyiSFV/c2LrPmL 4mdDyImn2Utd3COoh58VXQOqSV8vnjL97FAu1JzKVk53z61k3wyJS+hUID58ptIt fEue7qS3NLS3l7l0BUJ748UUOo1e61kPw6JdF+LZx+gtYoQQzmNLDKU3PNUdSaDG trYDJdzR7QD+G8g79SHlrdcbRVe922ZAPmT1s8HZ/Mm0aotd/FrmxGrT7yrZEHtx qRpxnOQ4Q3F4C7wWaKVecg== 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 40emcyr0fg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jul 2024 19:49:41 +0000 (GMT) Original-Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 46HJWXD9039552; Wed, 17 Jul 2024 19:49:40 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 40dwevfwtq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jul 2024 19:49:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=I0YI1oXFU5hZdERLizvB5+hF164MYJqYzQsze6CRKj0l7Mac3527zrI8Vzj1HdhK1Y97ZLHIfWQSzU517ISjhAu/n197092MtOLwBdEXIrCVPw6N66fuhMWoo19kRY1w/Q2XiJbAvziNO/DyyM40GlSsUBBsb5MvsTxaHHtVCXdCOrellgrGZHtvav0uxYr+66Fj3brcONnHx2j3ramydL7umwQG3ohfz0TzZ6DVirQt3VDAA9+LjgjzFMT9kVj/KZtFvhgnUanid0mlyUWtpGPpm9mnN2n8EWzEfoYepoNBYhjtMgjYm00eAx7omKnvi2sViS1VZ5zPKZvapJpxXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=2G5OU6LXXsLVCZouXtLSspJFVqJzcRHwQ5w1T7H+yvE=; b=w/GHJ8nEN+PAVI+olBB13ojn0BU000l+wQvtbzE70+zN3RUhHhayOhnS52pH9p2lqK2N+awQ1q5N/QfByPenykEIbCdy31B8RJdOIUhyuuUz/nWN2LPdLVaILMsGybGQPlcHg7Ht7oPcBJabdRMLxFt07LIpeMhLG0e7B5mvngAoDgK6kum9YAzYfkOGpo7zEm+xr15qzcQ+YKsTEnTAPYI8+5QpB+ES/PfZxQqg5Sn//YkSIROvOnDBlmk8OUajax12alqj6jTfqhjJKHM49Bq4Ms8W6NqoA0l1B7ppjxKaZ1o0ujBHF5mCO4xb5x9mpASZijPyRIyJArcv+LbgNQ== 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=2G5OU6LXXsLVCZouXtLSspJFVqJzcRHwQ5w1T7H+yvE=; b=Vi9jGeShsnVYt4n8gnYo8RCFoB23wh7Vji5Q8TmT8ejaAJcEX5AMK51sXeCbhiWqMKOJ/5ckKnoct5TiAf51WiY/4o3V5Rmv55LPfy8JkRgUzDkUKFC9lOIQBwwY5+x/JrQ8lZp7FNSM4otp6nD4FqfiAx1WuxOUtufj93Alz0k= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by MW4PR10MB6631.namprd10.prod.outlook.com (2603:10b6:303:22c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.25; Wed, 17 Jul 2024 19:49:37 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::b75a:ef76:884a:dd27]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::b75a:ef76:884a:dd27%6]) with mapi id 15.20.7784.016; Wed, 17 Jul 2024 19:49:37 +0000 Thread-Topic: [External] : Re: Q: Is there a built-in way to read multiple file names? Thread-Index: AQHa2G2c2JBeLlVbR0GCSdYHpzawa7H7Ufvw In-Reply-To: <87r0bs53yx.fsf@localhost> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|MW4PR10MB6631:EE_ x-ms-office365-filtering-correlation-id: d94aa67f-e65e-4e9e-e13c-08dca69996e0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?qHsnd1EiFiYAhFpl+pAPtjAaqwlUWdoJ4VLoGnDpBwSFdsEDvD/AE1uFilrQ?= =?us-ascii?Q?T3o1AiY5j4H/oPBmNnwZMcpg0mJBUiwI7QUZFkVQ62fQT0J+e1zDZ72vCGIa?= =?us-ascii?Q?piyCOFAzqgke4mGjDqI4MNguewp1W/FPE64xJr9CA/d8Ov1nnBXlES1tF5v3?= =?us-ascii?Q?6bS+qLH5AE1QfiBxh6hE20WCDgHurHVTgA9JFvlVNUFScZ8bTvByEbKFn5Et?= =?us-ascii?Q?tP9rQuoSAh3rFb2yg1ZmNLsuxYDbpRwnsuO/HbUuNV3VqzHksRda35mNxAni?= =?us-ascii?Q?VPMHH1cvOuILvWAZVEReX5XbD88wKrv3bqPIXlsp0yV8aPS+7PMLKLhFF/tC?= =?us-ascii?Q?L+em5kPdzWWamWeloc0fD1nOodvVGayPoN3ajeb6QuDzeG/byu6a4xN8S4kz?= =?us-ascii?Q?23UMx5cALGuJRBqbg3jVx9K8TLz4xHMjbny+FU2C/+he+mVjNFuaMn49iVEG?= =?us-ascii?Q?vqfonA7qYFsBnfoNcVdtZ2Azi6I14qCcA2nHFFV+0Q7iJajHnDyQVt+VPSni?= =?us-ascii?Q?/QR6/utq64c6Ll7F4dzSLQ1a/PTbHoP21eJEt7sCSZkr265Lx1gBj63Ja0tq?= =?us-ascii?Q?aXxtjA67ddMgGrazEGC8OlMCC6JQjxm2jqw4zEVM3j52IcxtfrxQmR5Ihoat?= =?us-ascii?Q?P6npw 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:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KIDSpNtdd10fgJ3PGOyycdVteg5FWM7YkqxYXrf1mPrSMOvA76xuTGLynvwP?= =?us-ascii?Q?eXBI4ipaw/o3cNTJhMk4KMB0G79ohdcdO86Z191tDOD2vtgtON7FcUYTDMVI?= =?us-ascii?Q?0GF1rWFt+AxsR8DYcaPeU9h+9rl5xgLhjPZwI5i/zjkDD0JFV+6961v8PBGR?= =?us-ascii?Q?d+ohum42GyVTBpKt1Z042y+tj9diylfD6k+qWkLsrT52SI9KFpkdpX9/RW4w?= =?us-ascii?Q?sQ/FMgZ+9KSBS7ypamZxuxLNcn6a7X5R9hkScCjPohWF0CCpAlE65lKibe6O?= =?us-ascii?Q?z61HL8SFNXXJXcUrhppQg2WZxHvIASJGIMB/w3EMtWCJjfVyi8wngmERmaC+?= =?us-ascii?Q?YJTS9VMfOlbNkjs3582aGo1zJXdmbcZo8MYNJOnWQbns0yJN0Smuge7io8nl?= =?us-ascii?Q?po/3qVtsaMBjDBH1+lACljDSkjw8YKUCUPUCEIC6KH2djJW/O269EWbfmqaN?= =?us-ascii?Q?7Xkr/vsVfU1m+CyWNpf/8UkK2nSxi+mpA/afii6FVa/STKnS6uCwG6jnERGj?= =?us-ascii?Q?lqToVq2pQlBLE8QKyUy9NGkn4jucn6efsPeBh5/pZk9SKSdZ1CFhqlEoAQKO?= =?us-ascii?Q?nfodSDfZFfXfLRFZTd9YB5buJGRE+kc+XRbt3wgo1jTddzepoLhyl7MmsXMt?= =?us-ascii?Q?v4 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: U0uwTYbOF05ots58zLFYa7QgtDGefq6LvEMPhS3L4FDVpJXAArIcrgRlpw5BLB5a8p0kQjaBttlyzwblro6W9X8/FtBqQcsiBoSrfI7JtGplBbE+vjUxVjzFncGLKyosy83JDLl3qF8WlP22ctPBA9hYAYEErhq42ocuG2kbJfZy1C3Gr94xven2fECiLNgsGOqMBiHwQuXTcIuTU5XdqFsGhvxeyjG7Yjpaj+PRejFVf7O/Q9pnlXITbRBhxGgEuhr1ecmJKKB2yI62McNvsidWw7WZIybfkfmJZ8Coc3xUnKMQS10n+ZInfwsPORabLwfeofRjLBMJ90tqRT+yh+7WQ94jdfBfhMsrVXOK74hDoNN31QWquX1B2wlgNpLg+kX75nfyBL6mRRq0L4qpsc/dn9AMiQBexLAwPHh1rf9IDC4jjvKgLF2szwV4ob6uczwO5bJExqPXbXl7IctehudOMF4lmhC39mP8/Ant3Nz2mpUuGTum5whzgbE2/6jmt8hzLs4BkfDN/58UawokAjxY/dBy5oVVYbWxKDqkaR1VrUYJjQ8PvFqklwfzaRD+69LE7YgQJMg+d1HnvJ0NMxNpHVpv+0qRUhjn0++3vDI= 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: d94aa67f-e65e-4e9e-e13c-08dca69996e0 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2024 19:49:37.0834 (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: YytDR+m756Qh8kyQ4e9vdmsX9apXqSAAEnliYaLb6e/hgX9IQ+WVDjIJm/sOswvvb5kHEBJjO0x/L6JNkrWahQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6631 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-17_15,2024-07-17_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 suspectscore=0 spamscore=0 bulkscore=0 mlxscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2407110000 definitions=main-2407170150 X-Proofpoint-GUID: Fv9i_hGHf40Q0RZXSp7cfv0SWu_Ef7Df X-Proofpoint-ORIG-GUID: Fv9i_hGHf40Q0RZXSp7cfv0SWu_Ef7Df 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321763 Archived-At: > >> Sure. But if multi-selection is incorporated into standard APIs, > history > >> may also hold the information about selected elements, in addition to > >> minibuffer input. I do not see a reason to keep it as a completely > >> separate structure. > > > > Sorry, not clear to me. Define "history of selected > > elements". Still not defined? > > By "selected elements" I assume you mean something > > like what we've been discussing: designating/marking > > some file names (or more generally any kind of > > completion candidates) for use as a group at some > > time, particularly at some time other than during > > the current act of completing patterns. >=20 > Not really. > In this thread, I am not discussing multi-selection in the completing > read commands that are not asking for multiple answers. > What I am interested in is extension of the UI of > `completing-read-multiple' - when Elisp code _asks_ for one or more > inputs. >=20 > I understand that icicles is doing more than this, but I am not > interested in icicles as is. Just in the ideas it introduces as they migh= t > be used in the more conventional Emacs workflows (read-multiple in > particular) You snipped my main message, about history, which was to say that accessing such info via history (e.g. M-p, M-n, M-r, M-s) is more cumbersome than _completing_ against a set of choices, which allows not only cycling (M-p/n) and regexp matching (M-r/s), but additional ways to match/access candidates directly. Anyway, it's your enhancement project. Just adding this comment about access via history. ___ Of course, history access can also be enhanced, including to give access using completion. https://www.emacswiki.org/emacs/Icicles_-_History_Enhancements