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: Emacs Modular Configuration: the preferable way. Date: Mon, 21 Jun 2021 13:59:02 +0000 Message-ID: References: <87pmwgdiyj.fsf@zoho.eu> <83y2b3tq07.fsf@gnu.org> <871r8vcrnm.fsf@posteo.net> <83tulrv0lq.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="40238"; mail-complaints-to="usenet@ciao.gmane.io" To: Eli Zaretskii , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 21 15:59:38 2021 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 1lvKSg-000AKO-Le for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Jun 2021 15:59:38 +0200 Original-Received: from localhost ([::1]:51006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvKSf-0005RC-O0 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Jun 2021 09:59:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvKSH-0005Qu-9M for help-gnu-emacs@gnu.org; Mon, 21 Jun 2021 09:59:13 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:13314) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvKSE-0004Wn-Uu; Mon, 21 Jun 2021 09:59:13 -0400 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15LDueWE019086; Mon, 21 Jun 2021 13:59:05 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-2020-01-29; bh=FaHAHvSRH3lAlo6RxDN+8cRt5veN/Fde4WL7MOrjd3c=; b=gGFs7+jyhNKp7rNEQxaTpHmR85a3rboXjxDtzdBu4yoxC74Pb+fvo2MjW9spHFaionqL 3ACWC3kCZFLYj9iu4HsF9D+CHLyYMNBp/v6aCRxSfwK7xNV8DKcTl+q93XARFEkjDqsi IJQ5vXWCHWHzcWZPZm9AGa2q6RTzE0T4gR6T4gp8myziLi2HIrV9J+0ZsIbB8l6h0ccy cLJO2rmyTwYIwQU2/5zpzoqNhNTP7TCDIq+dZVX5kmHwQdiX7b9YePj1xUNXCMPa/Aqd 13jlD3k/ByxFuNXpnNitZgXUje2azBhq8pwqveKKjrUaDkikL8Ysu9bESSQ3zTJFH888 2w== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 39anpurw0f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 21 Jun 2021 13:59:05 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 15LDtZsR184192; Mon, 21 Jun 2021 13:59:04 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by aserp3030.oracle.com with ESMTP id 3996mby8x9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 21 Jun 2021 13:59:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eNzP+Tg0LoL5lieIngZolk5gqmZe+I/OpzgQNTvQt2Lm1Jj4YmyUw89wG7Rb/pz9e3OAu+GKTESDaJum5qxJgBjW50DUtcH6x4H8Jrf7vr2TeXZAXY+MkH5KvyvAQ3v7HpmCjh/eMbnF/C4pqUGET+xl/odSArYaTtg9u5uDKhxJQHxznxNUr+i6qKq0e110g7XmQEnD5pRNMKQG8sMPlyfZvdKpkQsrRgRd6lxvwJxFhabEnn3Q40pHUeCnLDDhifOQrgz3Tp7MfKpdgLYMZqxcW6Ok6LvhDdDfEk6d3aTk2aKhwjE/Fkg5HrCK5u9Dt3uKMXWa9U8nQHFsicDB0w== 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=FaHAHvSRH3lAlo6RxDN+8cRt5veN/Fde4WL7MOrjd3c=; b=bKzq5nCjm1KK8ztxZmNIfhuSZVjvSMoxoySDPEe4PdaaS6mxdHDZiU4qarSGkvRYqNMrAn0I63pvT1D9a9i7zUY7sITVXhy105xf/n7+UWHWPPCbsUMGjcBPckQnh5XG5OFlRUeh555uHbpAAsqhoHqiYjYsvGh/6uiJUbGrIBf3j/QiuG+BJ3BwQmPugIJt/pgRPkb7aFwHRJActiMVm8WhdqF3sJd6K+2x6/GL/tgNtnabiQwwbeL9Bc7ZsB/YLxqAIRnluxNWtH0fI5MOvAI8aXk4qdAR9wQDdDLX8UbafggIZzquK+lYyA0CEvU1sYeI9i/pgnREwG+zr51kUA== 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=FaHAHvSRH3lAlo6RxDN+8cRt5veN/Fde4WL7MOrjd3c=; b=kxIf04OjOAbK0hK3DE/3PNbfJvLNDq+It+mcqcWREeWmQScpdu+7YIxoyzARwSmRfbF4W258mVUpQgCgV9+aE36B3jEegL3Xz6/9k3y+MjID6ZxSQrB+nhvByZYoJ7dRO6vJw96bX6SlJTGWJ7ziQNwXT47noeHd5E4q1lMfRQY= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2670.namprd10.prod.outlook.com (2603:10b6:805:42::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.21; Mon, 21 Jun 2021 13:59:02 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::1c0e:6d54:3781:bd5c]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::1c0e:6d54:3781:bd5c%6]) with mapi id 15.20.4242.023; Mon, 21 Jun 2021 13:59:02 +0000 Thread-Topic: [External] : Re: Emacs Modular Configuration: the preferable way. Thread-Index: AQHXZp5wDzuMC4AbSEmn9js/qow9xqseeYuQ In-Reply-To: <83tulrv0lq.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US authentication-results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cd61e413-e126-4239-5257-08d934bcb9dc x-ms-traffictypediagnostic: SN6PR10MB2670: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EK8DkAMc0R6ZyIK+guXle3LT1nt0WT2z6+GV5Dz+d/roEJqguOqhgCx+kG5Zv/KtPY4aLqdmL+7JJjPmb1bOEBM289Mmq9VC25pU1glOgTDlOrnL4ug2iWwjQAvz+TmnOtQtchHYVoi5+/EuxJ5fmegTdGHn7OoHEwHLzUutjK2rQUiH5PirVZY4XzW+BDqg5L5OglQYw0p6nIngxRrGFHdJv3I70hWqu7D12o5PYsvDRM8wAblXLZkcUWCeH7LIeZKc0CblvwIjbQZ4WUVnxt+hJ7D3m1buz+NPYpBGCORVsEJyuHFtw8UCaexyCVUjhl/NJ92zFh1uCROYyrO+49y6lLDTwKlUrq3WUxZjHYF6fqyDwxx1jIYFs13hnEOXAO7+6Kip8NXCEk6Df8pqy7f86DGv5PNqGETcEZh8cne8Sp4BJTVd88r9PqHlmQT0pPZ9RaXQiA3imdeWm+RPcN6IvvJgvpMKfJiBPaRmd7kRwgSZs0ciJfk6aRUI9hc+n9lsCoHi3KU00w2+y9xeBKl0XY0gHJKEcjmSZrm3zEVKTXVOpB+oFl/nrMFl6Tr8RPvXxX1E6C3LbjzPFfRExbny9OwfztsgHN+y7kbEd+0= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(376002)(396003)(136003)(366004)(39860400002)(122000001)(38100700002)(26005)(186003)(450100002)(8936002)(9686003)(55016002)(83380400001)(6506007)(86362001)(71200400001)(52536014)(478600001)(44832011)(7696005)(76116006)(66476007)(66946007)(64756008)(8676002)(33656002)(5660300002)(2906002)(66446008)(66556008)(316002)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?OEe77baizdbCM09WQzv/zBD0iTMihTYsGN6imYGdqdxFZZLDlcKcVcLBhWum?= =?us-ascii?Q?WrD84dZNt6P2g9rqwug7Vxo/k12Rgz9mGZ416WtAApqPRSuFu2zwzrvgdRFc?= =?us-ascii?Q?8SLgNrnTa4sVluatqlTf8cL7XYpON4vTfisaExlpk4YMF1KX4Ogkgy3p25xb?= =?us-ascii?Q?3EH7U+UNPa108/pPEjgaIfYmMVmRLgSCBVZTyI/1rl0GeSIHtbf940UykG13?= =?us-ascii?Q?S4oMUPtnzGZ7Zgm0Qe13yBa2TIRuThz8kbWuIoA5RV3iHmfn3Mwg8J8yK50P?= =?us-ascii?Q?SFfYyibD2BSPflSZ0HdSourBODChWoPbRFJNaEGTGg20+0zevvtAQOZVDgne?= =?us-ascii?Q?QOpilZi4I4B7wiYJnz4PhX14UFeToBFGMpk7vYQPLTGObHKdzbIo17w1kUyV?= =?us-ascii?Q?OmAr3BMRUvV9STfY/+4/zjkn6d8mWw+13UDN+q0FoEEvI/wULUWNVoKsxJK3?= =?us-ascii?Q?AVl3sI+txJ/xqYwOScHeEpppRWQK2i7DTPD+lBIPi+ARJRhU1nwVpXlPJkSl?= =?us-ascii?Q?5eGd7G+VnLeZ9hIMzqjntSap5sMSr8Xq7Ic7QwJGeD/TS+MHTKIgTkvJaWDB?= =?us-ascii?Q?bBLLZDvb59mtdbupEpgF4+3LtA1EtTK3fJRbE09A/oBgRNvNS6D4J8QG6FKe?= =?us-ascii?Q?yg x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd61e413-e126-4239-5257-08d934bcb9dc X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2021 13:59:02.5260 (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: gF3POWPijPzGrnUQm5MYqWVDP19HhlSX2+MDggq2g/43n4WPxANKJ/AsBIp/8hOaeaKx0hnawxq2eH2cowF1FQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2670 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10021 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 adultscore=0 phishscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106210083 X-Proofpoint-GUID: hhyPNjbSlJj3NtBIefHhdKxY6yo1_rnq X-Proofpoint-ORIG-GUID: hhyPNjbSlJj3NtBIefHhdKxY6yo1_rnq 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:131141 Archived-At: > > > Why are you using 'format' where expand-file-name should be used? > > > > Does it really make a difference in a personal configuration, especiall= y > > when you don't use Windows or other non /-delimiting systems? >=20 > (a) It's definitely slower; (b) it teaches you bad habits, which you > are likely to apply even in non-personal cases; (c) this here is a > public place where you affect others, not just your personal code on a > known flavor of systems. +1. It's common for those new to Elisp to look for, find, and use string-manipulation functions to manipulate file names and their components. Unfortunately (but understandably). Those things are not just strings - they're strings with particular meaning and behavior. Which is why Elisp has particular functions to support them. Just-strings naivete is hard enough to guide folks around (away from), without help sites such as this reinforcing it, however inadvertently. Guidance and discussion here that prevents or corrects such misunderstanding is helpful. Once pointed to things like `expand-file-name', it behooves you to use them. You won't regret it, and doing so will help others by passing along the tip.