From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gunnar Horrigmo Newsgroups: gmane.emacs.bugs Subject: bug#46056: hardcoded ~/.emacs.d in elpa package excorporate Date: Sat, 23 Jan 2021 19:13:44 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35643"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 46056@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 23 22:26:08 2021 Return-path: Envelope-to: geb-bug-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 1l3QQ2-0009A2-ID for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 22:26:06 +0100 Original-Received: from localhost ([::1]:42208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3QQ0-0000yr-V8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 16:26:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3QP0-0000yi-Vo for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 16:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52081) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3QP0-0001he-OT for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 16:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3QP0-0001fo-Jw for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 16:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gunnar Horrigmo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jan 2021 21:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46056 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16114370836400 (code B ref -1); Sat, 23 Jan 2021 21:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Jan 2021 21:24:43 +0000 Original-Received: from localhost ([127.0.0.1]:35394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3QOg-0001f9-Rx for submit@debbugs.gnu.org; Sat, 23 Jan 2021 16:24:43 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:48474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3NQK-0003P2-Fy for submit@debbugs.gnu.org; Sat, 23 Jan 2021 13:14:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3NQJ-0000Zw-Ju for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 13:14:12 -0500 Original-Received: from aibo.runbox.com ([91.220.196.211]:37896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3NQF-0008LM-EQ for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 13:14:10 -0500 Original-Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1l3NQA-0006se-94 for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 19:14:02 +0100 Original-Received: by submission01.runbox with esmtpsa [Authenticated alias (9149)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1l3NPs-0007Tq-LS for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 19:13:44 +0100 Received-SPF: pass client-ip=91.220.196.211; envelope-from=gnunar@stoffe-pro.net; helo=aibo.runbox.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 23 Jan 2021 16:24:41 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198469 Archived-At: The `excorporate' package hardcodes its diary files to ~/.emacs.d/excorporate, instead of honoring user-emacs-directory. I've included a small fix: === begin diff === diff --git a/excorporate-diary.el b/excorporate-diary.el index 833df3017c..b147bed42d 100644 --- a/excorporate-diary.el +++ b/excorporate-diary.el @@ -76,13 +76,17 @@ respectively." #'exco-diary-icalendar--add-diary-entry-around)) (defvar excorporate-diary-today-file - "~/.emacs.d/excorporate/diary-excorporate-today" + (concat + (file-name-as-directory user-emacs-directory) + "excorporate/diary-excorporate-today") "The diary file where Excorporate should save today's meetings. This file will be #include'd in `diary-file' by `excorporate-diary-enable'.") (defvar excorporate-diary-transient-file - "~/.emacs.d/excorporate/diary-excorporate-transient" + (concat + (file-name-as-directory user-emacs-directory) + "excorporate/diary-excorporate-transient") "The diary file where Excorporate should save retrieved meetings. This file will be #include'd in `diary-file' by `excorporate-diary-enable'.") [gunnar@titanium excorporate]$ git diff -u diff --git a/excorporate-diary.el b/excorporate-diary.el index 833df3017c..b147bed42d 100644 --- a/excorporate-diary.el +++ b/excorporate-diary.el @@ -76,13 +76,17 @@ respectively." #'exco-diary-icalendar--add-diary-entry-around)) (defvar excorporate-diary-today-file - "~/.emacs.d/excorporate/diary-excorporate-today" + (concat + (file-name-as-directory user-emacs-directory) + "excorporate/diary-excorporate-today") "The diary file where Excorporate should save today's meetings. This file will be #include'd in `diary-file' by `excorporate-diary-enable'.") (defvar excorporate-diary-transient-file - "~/.emacs.d/excorporate/diary-excorporate-transient" + (concat + (file-name-as-directory user-emacs-directory) + "excorporate/diary-excorporate-transient") "The diary file where Excorporate should save retrieved meetings. This file will be #include'd in `diary-file' by `excorporate-diary-enable'.") === end diff === Am I submitting this the right way? -- Gunnar