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: Setting up abbrev Date: Mon, 1 Aug 2022 14:56:49 +0000 Message-ID: References: <87k07sfywz.fsf@dataswamp.org> <87tu6wchw5.fsf@dataswamp.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="10459"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 01 16:58:01 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 1oIWrn-0002Wn-7C for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 16:57:59 +0200 Original-Received: from localhost ([::1]:54906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIWrm-0004H4-9q for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 10:57:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIWqs-0004FH-Sk for help-gnu-emacs@gnu.org; Mon, 01 Aug 2022 10:57:04 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:19328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIWqo-0008HF-UJ for help-gnu-emacs@gnu.org; Mon, 01 Aug 2022 10:57:02 -0400 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 271E8qJJ028524; Mon, 1 Aug 2022 14:56:52 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-2022-7-12; bh=E8wK9Lk3fLJMLTYbZlbTbdpNim53+NcCo6xQmDUyaFU=; b=rmB1j62YbPP58CTdNo4doq8jfv7DMos5YpU8nADM5dVATr1CJhgw4Ldn0GfDeR5SlI/2 MehZiKdmVQzbAcDtWiONjNBR8mLlY8wI38iFiE2hIpZIw4bzG5G5WBlyy4XI6lVOjSc6 Fzr2W2hIR8/T+Dcs8VAvkskcXMz7OVnCl/GdjqWKxlIt4EdpSWB0RVMkGLJ9WMTkWdpO uynOnypi4AcNLYkBOdW47bQIq5jfs1/ZnWQLYZ2GAAX52nzFIQrcv7HbxCA/aJLlUulL tbr3rnkfYLJ4r+Yshnimcmr+Ffpe9n3SrNjR/IGpAdsEAdWQKOa6QvUy8S1W97flb/rV Eg== Original-Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3hmu2c3vu0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 01 Aug 2022 14:56:52 +0000 Original-Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 271ChpRX014202; Mon, 1 Aug 2022 14:56:51 GMT Original-Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2104.outbound.protection.outlook.com [104.47.55.104]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3hmu31cmsb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 01 Aug 2022 14:56:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i9lY2sguBmNh4V2LH2Yjhgw8qe1sNVq5qbGovWmx7CzLOghlqRh95O8ig9KXvplVtIph6m4MBAh/AE7AuM0sGs6G7+W488DQfek020ANpOyJhTay3EAiegfAbx84tfFKl6AgqCcGngnV6KXxX36YCNMjkdRP0b8X/DOMnp8pu2inheD4HONUsxWXgBhmlUI2i61xhfWusiTIMnLB+cE7rt0o7YwVUOE3CmNGJ+7TJuTnYmNoVF/pq+3Q+kjh2PE7eEQd4nBnz2sZb4+lYmNAzzAzJZLdnX8vm6Qqs3dLDr4gZgpsK0pL+cRxYpp7edL45tipBYtB+ncU8ag7i4ymGg== 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=E8wK9Lk3fLJMLTYbZlbTbdpNim53+NcCo6xQmDUyaFU=; b=hJEXkzBSOSfR3CZ5mM6hZ9PRT/4nEsyZy1OLSgiaT+cIXFlTVBWzsoBB3RM+ysJ4umHKTlJV8I/Yo9oED+Os3+M82yoA7WrPvxAjSUfTvosShIBzjNtDpzJB2Y/P088PFA8Zx5iahz8YIZgpr8DEGuZdErgAJgg+lurneSCZsqSMp51lYUKqX8F6d56IBvLN8o8n9irZan2sjAfsDzpY8mNQFAxz7zL0vzWNMhp0eIv5rJNZwSsGf0vJMElXAWCC0QL7YC5iSzHlT6n24ltsvp/OXvAuAGt3yKXepzR8i6ae69nZMmYeSjQhh7sFyU+tGKFGVm2iGmvTnKRjBnu8Fw== 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=E8wK9Lk3fLJMLTYbZlbTbdpNim53+NcCo6xQmDUyaFU=; b=Pex+lQSe+uROAg86IId9htuP8gZ/IJhSLWnDc6x3bQ9BEes7EimmARU2zGpvsctyzBWPeaO07AUWv0RQF6CECT1jXKRtFYaTNyy8WLb+DqYyc4kAOGICHfp5vu2bsuloFjwe8ytuBucNOObyDIJ9p0YUl5C42D2kS3TvsHGdSqA= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BN6PR10MB2017.namprd10.prod.outlook.com (2603:10b6:404:102::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.11; Mon, 1 Aug 2022 14:56:49 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::8d65:31e6:cd0e:e95]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::8d65:31e6:cd0e:e95%5]) with mapi id 15.20.5482.016; Mon, 1 Aug 2022 14:56:49 +0000 Thread-Topic: [External] : Re: Setting up abbrev Thread-Index: AQHYpZuJguz4fh2DYkmQqkVkefKaUa2aG00A In-Reply-To: <87tu6wchw5.fsf@dataswamp.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 39c0396b-ea38-4e2c-bad9-08da73ce0fea x-ms-traffictypediagnostic: BN6PR10MB2017:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FptZh9ZJpmy7aScX0/UlLzDOU3KtcM0CMOrovhOD2f5315H7WDDzulKX55ERqtVyz33aQugfft4dYKsg5tDQrixxiDnUn/CTqaZBnv0k+GyMuWzOX2MAgkWeAXX4eGOX1Q3j651HrnL3rbSjYEaaVTDHsLku6rVVO0v6X8z0if6xLSe4xoDJ6d6916/Q72Am5IhMzewOULfHur3jHea6KepSyYGj8LJUyEyOZroGySXoD/X+4c63pfJmOJDZr24AekGdTf1fKnIzQIq09ksOKf/qgPuoX1FIUgJgo12NTF2OzxlU0nWPgzZs9Hu6FmCUMyHLHcADPs5wrQinR9eSxqT/z4Fw/ISM3tyARb0A+/VvkTYWGlgvF3qcTlG5htsqrL7XnLPy4DKTqgfbBayfn6MNjg3dS0jb5lppVJWgaDT2uVEWsJ0eK1nxr7uut/zmojATmPY0nEVWgP1PzBPgQnF4BehsM81JvN7AK8jjBJzM+mYRACIXXlsdN+i9Eq9+IfGu4vqTakEa85uBCFgqT9QQKEm0JU2aySwJPD+IY0ieY3cXvOl0WuWHsLBjRORCQCLrXHeosyt8/CFtI0thdlQxGwjVOBSeBOXsN+rZxkPSwGubDtCjpS36kbdqU8cxIVW+ifP8wuYQ7LwR3u3ixuF0t9XrAaeQ4AEEPsx0e5zr/cd7NQ6iIh6jhxl8sybsSAppn+seZcG1gI0x67+w3wd6LFPZaT9aGh+07hDgFa7+TqiEALdbbgz/qtDAg LDfcYaf19AQyH8msir9w5lAK2mkVrrort2Zou3ZkQu55MI= 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)(396003)(346002)(376002)(366004)(39860400002)(136003)(478600001)(122000001)(9686003)(52536014)(38070700005)(26005)(8936002)(110136005)(38100700002)(44832011)(55016003)(5660300002)(316002)(186003)(33656002)(76116006)(66476007)(66946007)(6506007)(7696005)(66556008)(66446008)(71200400001)(2906002)(86362001)(41300700001)(83380400001)(8676002)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xe87iNBaDvurd3gpvkFcb1HaWejClrmp7a0qKTRoFO0YK7oXArhSn1Pza2tV?= =?us-ascii?Q?rkjSkrFIYMoaST9ka1FxQ6IZgqZEAJeXMVh7qfXhqa5f8I8lMWXkC90yKyPh?= =?us-ascii?Q?Czr1H8goTwCX0wFEIzwA71EWCsSoiOtBqKFs0I6dM2WIFb4hxIG3ZIOp1c5Z?= =?us-ascii?Q?4ufTpqsePZ7Qre4Cf4CljugIGtvx3QqZcz3s8uRmJX9KeDa8qZKD1FNTcSpA?= =?us-ascii?Q?LBakIjoRjvCC+gCZUQmd/ClErLf3dovizyRa3JLkiOhfhKIl7dGwv3aD7PSq?= =?us-ascii?Q?fUxpvWctzA38dlCWPw86pr1CqHb4xz1zOWVUh0D100DADw+2aC6iPZyftxGw?= =?us-ascii?Q?gLK7qo0HPl6/TnHCci1qlMAg44bCEu7GvUWxoZ1T+4gz/QeW6wYaaw0Tjws1?= =?us-ascii?Q?eey8klcnOOKWY2nQd6P3zE7l6T4+gZHRI90N1MZtI+P0VNA1X9T3bQkTFTAm?= =?us-ascii?Q?yxfq41JRs6BK5Tud+pxHNdeznQ8xNW2jEkBRQDCLV5hXJ+chfR3CphpYF8fF?= =?us-ascii?Q?bQcRzfQHALRj93miJpFR2yA73zMTY3693nEEyIsCagw352/U+8KOcsHkhtKq?= =?us-ascii?Q?ufyWvvMBmYupQmXwaPElZsZBduAoow8Z+21Xten6EdiEvb1JR8Q/AZTCdBqK?= =?us-ascii?Q?lv 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: 39c0396b-ea38-4e2c-bad9-08da73ce0fea X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Aug 2022 14:56:49.3376 (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: 80l1WsBCmB9lSRUzFZU1u0sk5gTshKXIwtc6jsEIWNcpd4N1iTpQ/P/WNxoxbddivWxM3TE/6fs1FB5ohyeMrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR10MB2017 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-01_07,2022-08-01_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=639 phishscore=0 malwarescore=0 suspectscore=0 spamscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2208010075 X-Proofpoint-GUID: l4JtG5eDC5VM5Z3qyrChEK8rsxfeF5M- X-Proofpoint-ORIG-GUID: l4JtG5eDC5VM5Z3qyrChEK8rsxfeF5M- 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:138720 Archived-At: > Anyhow, the so-called dotted pair notation tells us that the > universal data structure actually isn't a list, but a pair! Yes. > Only a pair is a list as well ... Yes. But a list isn't a pair. ;-) > In practice - here, someone maybe disagrees? - but in my > experience I don't see why that should be used ... >=20 > And I don't know why it was ever essential to the point it > even got to symbolize Lisp on a couple of occasions? >=20 > Maybe that box diagram with arrows to make up a cons cell > link-list-fragment just looked neat and interesting ... 1. Key-value pairs are quite common - far beyond Lisp. 2. A cons is a key-value pair. But the constructor function `cons' is more/other than that. As a key-value pair, (cons a (cons b c)) has key `a' and value key-value pair (b . c). Not your typical key-value pair use case - not typically thought of that way, at least. 3. A fundamental structure-building thingie in our universe is the unary constructor, `s' (successor function). Together with the nullary constructor, `0', it gives you the Natural numbers - pretty foundational. The next structure-building thingie is the binary constructor, `cons'. Together with nullary constructor `nil' it gives you key-value pairs, or if you prefer, essentially all structures/constructions - sculptures of all sorts. Syntax-tree and function-application are fundamental structures for programs and (other) data. In Lisp, both are directly, unabashedly, handled as conses. If you want lists then you have conses. If you want trees then you have conses. As for the (a . b) _notation_: Why not? JSON uses `:'. Prolog uses `|'. Doesn't matter much what notation you choose. OOPs often use a dot notation for method application. Six of one; half a dozen of another...