From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Imports / inclusion of s.el into Emacs Date: Sat, 02 May 2020 20:50:43 +0200 Message-ID: References: <831ro2tqqx.fsf@gnu.org> <4a1fd3f4-df92-c756-9874-4d07b54148ac@yandex.ru> <83v9lesapw.fsf@gnu.org> <83pnbms9m8.fsf@gnu.org> <83a72qs4z2.fsf@gnu.org> <732552A1-FF05-4292-8972-8C7E3BE922C7@icloud.com> <83sggiqjnw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="84359"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: rms@gnu.org, emacs-devel@gnu.org, joaotavora@gmail.com, =?utf-8?B?7KGw7ISx67mI?= , dgutov@yandex.ru, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 20:51:29 2020 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 1jUxEX-000Lp8-2y for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 20:51:29 +0200 Original-Received: from localhost ([::1]:60778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUxEW-0007Op-5V for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 14:51:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUxDu-0004b0-Bc for emacs-devel@gnu.org; Sat, 02 May 2020 14:50:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUxDs-0007sy-Qj for emacs-devel@gnu.org; Sat, 02 May 2020 14:50:49 -0400 Original-Received: from mail-am6eur05olkn2011.outbound.protection.outlook.com ([40.92.91.11]:55520 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUxDr-0007kz-Tb; Sat, 02 May 2020 14:50:48 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nJ4VktwmbeF32ILa20QjmKrwb+C+4PjfJo0limPdlfkjqYYEeZ1hgdnUo+p/gpMBtNLX0mkKomAI67rTB1U+lPm3MOwGyzUl+EzWQrJ0MHu1O9lPMOCtm80hIh9+AHZp7j5JkWG1Cii6EcToZ32OgTxJxp/4wV/wcox0YeOcshyWFuLiS/GpLYLF0P7zsW86UXTnOONOofy2mu5cF4AsuUEhYx/uCmtk5Ndez6yT4tgltJmUUiKKzt4SoJ6VSHeJHGP8FYzO1/YeNC861tP2lwXMTai69KuZfQNfQHgds+6X495j4vCrYHHErOHoYWxTtTz0chhIzwRpeFZGxYZy2Q== 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=bQKTRnv/gk7/7ejsarPtF0gmmCAohsrvm74Bjh2lPL0=; b=MRlGnP0e9HcA/i/MnCktEhs6LsibCmGDzQym22p4nex4MK1Kbkai3sf9TiEZsb/Fh0BLa2HKV8Vrjosi1HEPDrIhAH1BVheLbuNCLNZAObi2Ou7F2kqt38yeyQTl9naJDPnZshcZWS8qzPnwhEkIF6QUmgzywFsKhXoNN6hvyR8dyKR82woItSSW3aGElanGoNKEPUSStPIKXPi+dF0i7RjFX/EOlndq336oSwf4vmQ/Br3qv7BN3g3cDojL2hG051HVVm1d6Uxje8gx6XIufTmbGNMPJlvAxVwheOj2X0e8ziNzsoMovB3tnl/CFiMqMFVNsfzQ1+RVx2Uhq/tEIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=live.com; dmarc=pass action=none header.from=live.com; dkim=pass header.d=live.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bQKTRnv/gk7/7ejsarPtF0gmmCAohsrvm74Bjh2lPL0=; b=fTHtopzYSENe0ExNVOOw8JY5+nfwq4kzoxrqheqMtQsUXiLrdbNBoGCDW06qxFya/lkYma2ox6Q3IoE3cBcrjW8CXYEEYRbmMBUTsqGCZ/8ib+bsjqWOG6zuMyFLV2zkwY+tWgy86dLuAij2bsAdEyq8YHUSpGHeUqohWC6GTYGYLQtt37lanuvYfEyNnkIrGDSAj/2NXbDR8OjV9EZQc/cyWa/BbOkIVjCYVRBqBXqLnT2C7pqgMDTXCKJ6Jt31AwgrZx/6rYJthtMvo6P8bNer7Oj/3qPCbK0yqhEfAKrt9FhKTThIsRqyZ2YHO9CcZ05QfnlB3WfOkfNhSmMjcQ== Original-Received: from AM6EUR05FT009.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc11::52) by AM6EUR05HT130.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc11::460) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.24; Sat, 2 May 2020 18:50:44 +0000 Original-Received: from AM0PR06MB6420.eurprd06.prod.outlook.com (2a01:111:e400:fc11::46) by AM6EUR05FT009.mail.protection.outlook.com (2a01:111:e400:fc11::265) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.21 via Frontend Transport; Sat, 2 May 2020 18:50:44 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:C7EE25C4AC2E8EF43325389ABCCCB22FC01980C4C0011EEF37269E6B1FBBA379; UpperCasedChecksum:603C90049CDAFAED9A92EE3EF4D2352BAFC103A3BB9644BE215A865774143E7E; SizeAsReceived:9454; Count:49 Original-Received: from AM0PR06MB6420.eurprd06.prod.outlook.com ([fe80::849f:536a:6aab:16]) by AM0PR06MB6420.eurprd06.prod.outlook.com ([fe80::849f:536a:6aab:16%5]) with mapi id 15.20.2958.027; Sat, 2 May 2020 18:50:44 +0000 In-Reply-To: <83sggiqjnw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 02 May 2020 21:24:51 +0300") X-ClientProxiedBy: AM6PR0202CA0050.eurprd02.prod.outlook.com (2603:10a6:20b:3a::27) To AM0PR06MB6420.eurprd06.prod.outlook.com (2603:10a6:208:1a2::19) X-Microsoft-Original-Message-ID: <87imhef9x8.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6PR0202CA0050.eurprd02.prod.outlook.com (2603:10a6:20b:3a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20 via Frontend Transport; Sat, 2 May 2020 18:50:43 +0000 X-Microsoft-Original-Message-ID: <87imhef9x8.fsf@live.com> X-TMN: [DE5jo3n2Ag05Z+qb4pMAYTwLYqZwTycX] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 2889050d-0c26-4607-5f94-08d7eec9b7fc X-MS-TrafficTypeDiagnostic: AM6EUR05HT130: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rBxlgPBCLGy7Kio/+thwIYjv1HL2XHlIe9LS1TpaBI/3R/MKiPvcaA9uaSXx0pGRcBo8fsAvQbCg3wfCAJlrD6dpgT45knQnX9d1+OBSJCxHFOr64Xp2EMZwpzu89yx0nw2v/gj82ncSArDr4CZvJleouLyhTih1KxPEuKHSawLOUTcucbd7qEvM+Z4BCfnyWFeqkolq2p4OVPJ5VvsCpg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR06MB6420.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: mRHJtXjDSbca3AHkWK6zVnszuKhvUTRiUIR7kdFi3HA9A4mtvvCwHI54p5I+SSqU7e9BMAXs2+UFcL2IdwcQkyQtLDmKPZaxUIKDZz4Ryj0LKB0RuurK6jmHhjiUttCPGy0/U87er5cz+NYtdeAJeA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2889050d-0c26-4607-5f94-08d7eec9b7fc X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2020 18:50:44.1798 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6EUR05HT130 Received-SPF: pass client-ip=40.92.91.11; envelope-from=arthur.miller@live.com; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 14:50:45 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Received-From: 40.92.91.11 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:248540 Archived-At: Eli Zaretskii writes: >> From: =EC=A1=B0=EC=84=B1=EB=B9=88 >> Date: Sun, 3 May 2020 03:01:03 +0900 >> Cc: Philippe Vaucher , >> Dmitry Gutov , >> Richard Stallman , >> joaotavora@gmail.com, >> monnier@iro.umontreal.ca, >> emacs-devel@gnu.org >>=20 >> > It sounds very strange to me that the method of learning about strings >> > is by looking at the list of string-related APIs. >>=20 >> Unless one doesn=E2=80=99t have any programming experience, IMO one can = learn >> (or refresh old memory) of how strings work from the API list. > > I doubt that. Why? If I know what I want to do, but I don't know or remember how stuff is named organized in an API, I could just fuzzy search, or just look at completion list and by seeing the names of available stuff I can guess at which one I want. Unless it is called make-process & call-process in which case I have to look it up the manual and see what is which one I want. But if names reflect what stuff does, i.e. self-documenting code, then by just looking at the list can save some time. In such context docs like Java docs are not so bad, but context-aware completion or search like Helm would probably be even better. > You are mistaken: I'm not such a master. Like Stefan, I can never > remember whether its string-multibyte-p or multibyte-string-p. I use > the manual and the doc strings all the time because I don't remember > all those details. So what I wrote is based on personal experience of > looking up and finding this information quickly and efficiently. I try delibarately to remember as little as possible and to search as much as I can. Not just APIs, but pretty much anything nowdays. There is so much information around, and everything (in software community) is developing fast and contionously, so remembering APIs seems as a waste of energy.