From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88233 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnorb and org-refile-use-outline-path Date: Thu, 08 Nov 2018 09:35:08 -0800 Message-ID: <87bm6zscab.fsf@ericabrahamsen.net> References: <8736sebxyt.fsf@web.de> <87o9b2wwvr.fsf@ericabrahamsen.net> <87k1lpixdm.fsf@web.de> <875zx9wl65.fsf@ericabrahamsen.net> <87tvkt1m6b.fsf@web.de> <87in19s8i2.fsf@ericabrahamsen.net> <87va59s7ci.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541698456 21447 195.159.176.226 (8 Nov 2018 17:34:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2018 17:34:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M36443@lists.math.uh.edu Thu Nov 08 18:34:12 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKoC3-0005QF-Jk for ding-account@gmane.org; Thu, 08 Nov 2018 18:34:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.90_1) (envelope-from ) id 1gKoDJ-0002Ye-Ro; Thu, 08 Nov 2018 11:35:29 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gKoDB-0002Vo-GG for ding@lists.math.uh.edu; Thu, 08 Nov 2018 11:35:21 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1gKoD9-0001Qk-Tb for ding@lists.math.uh.edu; Thu, 08 Nov 2018 11:35:21 -0600 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKoD7-0001BX-T8 for ding@gnus.org; Thu, 08 Nov 2018 18:35:17 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gKoAx-0003qO-NJ for ding@gnus.org; Thu, 08 Nov 2018 18:33:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:qYswvMpq3WEGCv9JminAj2OhmVY= X-Spam-Score: -1.1 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88233 Archived-At: Michael Heerdegen writes: > Eric Abrahamsen writes: > >> I was sort of thinking that if the Gnorb option were set to the value >> of the Org option, then users would just end up with the same behavior >> in Gnorb that they'd customized in Org. Sometimes I get confused about >> the order of evaluation of custom options, though -- maybe they would >> get the pre-customization, default Org value? > > Yes, the result would simply depend on whether they set the Org option > before loading Gnorb. There is no good solution to that problem I > guess. You could make it so that the default value of the Gnorb option > would make Gnorb check the value of the Org option dynamically at run > time. If it is non-nil, we would use that value, if it is nil, we could > use 'file instead. So like this? (eval-after-load 'org (unless gnorb-gnus-refile-use-outline-path (setq gnorb-gnus-refile-use-outline-path org-refile-use-outline-path)))