From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88228 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: Tue, 06 Nov 2018 20:45:06 -0800 Message-ID: <875zx9wl65.fsf@ericabrahamsen.net> References: <8736sebxyt.fsf@web.de> <87o9b2wwvr.fsf@ericabrahamsen.net> <87k1lpixdm.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541565856 22427 195.159.176.226 (7 Nov 2018 04:44:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2018 04:44: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+M36438@lists.math.uh.edu Wed Nov 07 05:44: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 1gKFhL-0005gV-Av for ding-account@gmane.org; Wed, 07 Nov 2018 05:44: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 1gKFia-0001ps-CX; Tue, 06 Nov 2018 22:45:28 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gKFiQ-0001mp-TO for ding@lists.math.uh.edu; Tue, 06 Nov 2018 22:45:18 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1gKFiP-0005Ff-5D for ding@lists.math.uh.edu; Tue, 06 Nov 2018 22:45:18 -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 1gKFiN-0006ur-NZ for ding@gnus.org; Wed, 07 Nov 2018 05:45:15 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gKFgE-0004Sg-Po for ding@gnus.org; Wed, 07 Nov 2018 05:43:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:DbHnwHTMMdbwIltGuIS/+YFaJm4= X-Spam-Score: -1.1 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88228 Archived-At: Michael Heerdegen writes: > Eric Abrahamsen writes: > >> > would it make sense to provide an Gnorb version of the >> > org-refile-use-outline-path option (with a non-nil default value)? >> > >> > I find the current dialog to which heading to associate an article >> > confusing because it doesn't show me the full paths. I thought things >> > are broken until I studied the code and found >> > org-refile-use-outline-path. Maybe Org fans are not suprised, I dunno. >> >> Oh, inside `gnorb-gnus-outgoing-do-todo'? > > I wanted it for `gnorb-gnus-incoming-do-todo', but yes. I'll wrap it around everywhere that Gnorb uses the refile interface. >> Sure, I'd be happy to add that. You think t would be a reasonable >> default? I'd never noticed since my org-refile seems to have been >> taken over by helm. > > Helm is the better interface here, the vanilla completion doesn't show > all candidates unless you enter parts of the path. > > Anyway, the only difference between org-refile-use-outline-path -> t and > org-refile-use-outline-path -> 'file seems to be that t uses paths of > the format > > x/y/z/ (todo.org) > > while 'file uses > > todo.org/x/y/z/ > > 'file behaves much better IMHO: it feels more logical, while t also has > some issues, for example in one case I got something illegal like > > x/y/z/ (todo.org) (todo.org) > > Also when hitting tab, often the cursor lands after (todo.org), and you > have to move it after /z/ to add something to the path. > > So I would suggest 'file as default, but note I only tried a couple of > times. Dunno if this setting influences how Helm behaves - it would > hopefully just ignore it. I fooled with it, and it looks like Helm ignores the value of org-refile-use-outline-path. I'm running a patch version that sets gnorb-gnus-refile-use-outline-path to the value of org-refile-use-outline-path, which I expect will be the best way to not surprise users. Eric