From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yGuyAIo26WK6QAAAbAwnHQ (envelope-from ) for ; Tue, 02 Aug 2022 16:36:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mCW/AIo26WItDAAAauVa8A (envelope-from ) for ; Tue, 02 Aug 2022 16:36:58 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7CF713355D for ; Tue, 2 Aug 2022 16:36:51 +0200 (CEST) Received: from localhost ([::1]:57740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIt0r-0005nL-SS for larch@yhetil.org; Tue, 02 Aug 2022 10:36:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIszi-0005m0-Ba for emacs-orgmode@gnu.org; Tue, 02 Aug 2022 10:35:39 -0400 Received: from mout02.posteo.de ([185.67.36.142]:52611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIsze-0007Gx-94 for emacs-orgmode@gnu.org; Tue, 02 Aug 2022 10:35:37 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 79341240104 for ; Tue, 2 Aug 2022 16:35:22 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LxyFk2YxJz9rxY; Tue, 2 Aug 2022 16:35:22 +0200 (CEST) From: =?UTF-8?q?=C3=89tienne=20Deparis?= To: emacs-orgmode@gnu.org Cc: =?UTF-8?q?=C3=89tienne=20Deparis?= Subject: [PATCH] =?UTF-8?q?org-id:=20Fix=20=E2=80=98org-id-locations?= =?UTF-8?q?=E2=80=99=20variable=20name=20in=20error=20message?= Date: Tue, 2 Aug 2022 14:35:09 +0000 Message-Id: <20220802143509.52597-1-etienne@depar.is> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.142; envelope-from=etienne@depar.is; helo=mout02.posteo.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659451011; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=oWr9L+8c/Ky+9tKghMF2mqfUFprja3CIrSQfI/a9QjE=; b=iV7QRrzmgWrOiozXYunOKPTATfFRpYM67I+8QUEb0ppc6Z5gssNF4oUDmHmox4hmMblq6/ DKFa5zn+/+g8n4wfeq6vl48uDGlZ4HCoRZ1n4PN6rw/d6UuQpNJ2x6QrakRqqWlCguLTPi iLWRjU9VzFDQZijgVFTrEThSoWfdM9K25VqXkJQB8Dyoqx4GCTUtlVlQz8hfqKg2/FWOQ5 2CeuhZ62EzkOaixweXeewBoeXqDOHFt2OhHZPcAJt/wG5rWtARYg9krIMmhH/gZPV/s1pg pcMC01igO6OOUMhl8s0X8wlKlirvrv3uh8DqjacoqKf7HQBjr6FNdlO755Uaxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659451011; a=rsa-sha256; cv=none; b=DVGHSLLlfx57dr05kHve674eMJb0ym2lyfAkKeoLJ+Hm02HCfuKFGEMZVbgvYMnBFiDSDm wUvqZDXV/W1M3P+xdqoHLVxEs0qkJLNHFYFKHycSzRCuKoSxkusBCMKugvSHKtKA1gq2zk DbDfee7daAeTtCpGeSCwaY3RYTZktHsjFCJ3Ged22A7ToXFrKv+4sLMqGuia4AlWj0SZn8 aECm1rLM4SitGy8k+S1ag1XX1X+Qtv/PLjzLNLCarVoeLpeeyizsLcXK9Gf5jVsS7tZ393 e0ffTNuaDxmpfEEyBKu3xw1p1QQ2/lnFiwnW9r4U/EEa+wHkTSKLOKSHRduvhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7CF713355D X-Spam-Score: -1.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: wvqL0p8tTn0g Hi, While doing some stuff with org-mode, I noticed the error message "Could not read ‘org-id-values’ from ~/.emacs.d/whatever, setting it to nil". I quicly understood it’s related to org-id, but the only occurence I found for ‘org-id-values’ was in that exact error message. I wonder if this is not a little typo and the error message should speak of ‘ord-id-locations’ instead? This patch fix that problem. I’ve signed the GNU paper to make patch to GNU project if it matters. I can send a copy of it to anyone if needed. As this is my first contribution, I hope I do it well. Have a nice day, Étienne Signed-off-by: Étienne Deparis --- lisp/org-id.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-id.el b/lisp/org-id.el index 13a831590..f54e7280a 100644 --- a/lisp/org-id.el +++ b/lisp/org-id.el @@ -595,7 +595,7 @@ If SILENT is non-nil, messages are suppressed." (setf (car item) (expand-file-name (car item) loc)))) org-id-locations))) (error - (message "Could not read `org-id-values' from %s, setting it to nil" + (message "Could not read `org-id-locations' from %s, setting it to nil" org-id-locations-file)))) (setq org-id-files (mapcar 'car org-id-locations)) (setq org-id-locations (org-id-alist-to-hash org-id-locations)))) -- 2.37.1