From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: user-directory: New library to find user {conf, data, state, ...} files Date: Fri, 5 Nov 2021 20:11:46 -0700 Message-ID: References: <83sfwp1c27.fsf@gnu.org> <83sfwnyi65.fsf@gnu.org> <83k0hzydcg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40313"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 06 04:12:43 2021 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 1mjC8H-000AHW-Tc for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Nov 2021 04:12:41 +0100 Original-Received: from localhost ([::1]:42564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjC8G-0005Lh-0v for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Nov 2021 23:12:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjC7T-0004f7-TM for emacs-devel@gnu.org; Fri, 05 Nov 2021 23:11:51 -0400 Original-Received: from mail-pf1-f178.google.com ([209.85.210.178]:39761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjC7R-00021o-KM; Fri, 05 Nov 2021 23:11:51 -0400 Original-Received: by mail-pf1-f178.google.com with SMTP id x64so10537171pfd.6; Fri, 05 Nov 2021 20:11:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=0UauZf4Xz+7RoUbVeNhqoLQIb6zqSZ2zs52hv5bpSPg=; b=dqrjEmPgxCNBvsygDiDxs/GF4uX/Cl1V/ml96g8GeCFn0XmFE1R8t52lxNnZZPlpIH n0QOgw8gkLcXLzhslIQfxjVIZjzNEfCueqxhjFhPf9I6IRaG0KvpyaAf4gonKAvKQnd/ lNLX6LKT97V5puzxMpHdRFqFLasSaBhb3iplHq+LxxVMQ+bVX9NjRFIJ1pAC31XHSV3E 6mxQy4qjT02UnsbjuHpW6btpdcXreKEVBOCdtFNNc9th4v6osEveUHRHjE2OB6TWtkuX 1TWVeOAOpUh+O8vMVwSyCoY9WFDP0T9zoBguFk1tV5Evwt9XvOA8Y107K0vreEho4Enu EjbA== X-Gm-Message-State: AOAM530YRiXh6i/xN8W1dHQ0N1vUDkS1LtsBAV4smQqa3yRZxu4PQEvs HVPQZqvBcHRJM03mOpodf/bPgXoBas1sEdXBLJs= X-Google-Smtp-Source: ABdhPJzbXCWXC77aaMwQjeyQDYo3Dg7LViqsFVf3/KYTTwdwdeLhw1t+V/M2V084tdRDug7cFlLTq5uP6DX6Qaj3RdI= X-Received: by 2002:a63:370c:: with SMTP id e12mr47381071pga.359.1636168307257; Fri, 05 Nov 2021 20:11:47 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 5 Nov 2021 20:11:46 -0700 In-Reply-To: Received-SPF: pass client-ip=209.85.210.178; envelope-from=stefankangas@gmail.com; helo=mail-pf1-f178.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:278837 Archived-At: Stefan Kangas writes: > This is implemented with a defgeneric, as suggested by Stefan Monnier > (thanks!), but we could easily convert it to regular defuns if we need > to preload it. By the way, I am getting the defmethods in the reverse order in `C-h f user-directory' than the one in which they were defined. Is that expected? Should I put the most important defmethods at the bottom of the file if I want them listed at the top?