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: Mon, 8 Nov 2021 16:40:57 +0100 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="19496"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Stefan Monnier , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 08 16:44:08 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 1mk6oZ-0004nU-Rm for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Nov 2021 16:44:07 +0100 Original-Received: from localhost ([::1]:55464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mk6oY-0004wF-QG for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Nov 2021 10:44:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mk6lm-00028M-36 for emacs-devel@gnu.org; Mon, 08 Nov 2021 10:41:15 -0500 Original-Received: from mail-pl1-f171.google.com ([209.85.214.171]:42810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mk6lj-0004LO-N0; Mon, 08 Nov 2021 10:41:13 -0500 Original-Received: by mail-pl1-f171.google.com with SMTP id u17so16040866plg.9; Mon, 08 Nov 2021 07:41:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sxtffygCy4EtvJ5gwlLLjCyb+yUzumXq5UHv9YCsR94=; b=Gx23ZSqSFo/qMzk0HqJ5ksY2bsu55s/UmZ/ZfajBrhSgpcl5BDWXaPqJskRRI/bYtj nbU41w6vowbAQpfeRPka4rN0rkrWNG39pyTiiqISaXjME5kv61i9tixdMefLeAlwuyTk v4yYGAoNm1OsUv9WYyOP/B6sAoakXzb0MWqnwWJB611HRc4xoJyBgbmKDNBpg/twETEO kkXoYgeyHD3ET7svx0VfmoWl70M0028zbjOVz5J+amgZGbt8RRgz7gi3a3NQndzOIclz j1mpL45ExJBIvS/FiEuOtXVrblvciFsz193G7t/fYUyNOLn0mFyikZpvqgJ954d8v5hf GhGQ== X-Gm-Message-State: AOAM530KWIjrPPK7lJUehJf30vmFveJtnMYODe1H40+BjGyLchnmHVRC g9GKMxJuqTob5K/jUz9LZEoL1RfS4Doc7hMBbz17bMYMibA= X-Google-Smtp-Source: ABdhPJw4iormeCIHoMKJt7/qTUZJQSGq9VJpJIWJeQKPmkIPTJkrTjWyMtytmi8tcZbWVhYRKDip4IFbBvU2gd7ldMg= X-Received: by 2002:a17:90b:1e0e:: with SMTP id pg14mr52426545pjb.143.1636386069349; Mon, 08 Nov 2021 07:41:09 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=209.85.214.171; envelope-from=stefankangas@gmail.com; helo=mail-pl1-f171.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.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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:279046 Archived-At: Stefan Kangas writes: > > Unfortunately, in this case I think it's harder to be smart: > > > > (user-file 'data "bookmarks" > > (locate-user-emacs-file "bookmarks" ".emacs.bmk")) > > > > But perhaps we can think of something even for that. Maybe this could be simplified to (user-file 'data "bookmarks" "bookmarks" "~/.emacs.bmk") or even (user-file 'data "bookmarks" "~/.emacs.bmk") ?