From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raymond Zeitler" Subject: refile workflow -- move to same heading in different file? Date: Wed, 2 Aug 2017 11:11:17 -0400 Message-ID: <004901d30ba1$977df190$c679d4b0$@yahoo.com> Reply-To: zeitra@yahoo.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_004A_01D30B80.106EC290" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcvIy-0002En-6d for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 11:11:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcvIu-00046v-3h for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 11:11:24 -0400 Received: from nm1-vm6.bullet.mail.ne1.yahoo.com ([98.138.91.253]:57803) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcvIt-00046a-Ny for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 11:11:20 -0400 Content-Language: en-us List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: 'org-mode mailing list' This is a multipart message in MIME format. ------=_NextPart_000_004A_01D30B80.106EC290 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit How do I customize org to refile from one file to another? I am baffled that org-refile is not set up to do this out-of-the-box. versions: Org mode version 9.0.9 (9.0.9-30-g796a78-elpa @ c:/Users/rayz/AppData/Roaming/RZHOME/.emacs.d/elpa/org-20170703/) GNU Emacs 25.2.1 (x86_64-w64-mingw32) of 2017-04-24 Windows 7 SP1 user is a member of the local administrator group Details. C-c C-w cannot seem to recognize any of my agenda files, even though org-refile-targets is set to (in custom-set-variables): (org-refile-targets (quote ((org-agenda-files :regexp . "Tasks")))) Suppose org-agenda-files contains "~/proj1.org" "~/proj2.org" "~/proj3.org" "~/todo.org". My expectation is that when I press C-c C-w with point on a subheading of Tasks in todo.org, I can specify, say proj1.org and get the subheading moved to proj1.org under Tasks. However, org-refile responds [No Match], even if I provide the file as ~/proj1.org. And Emacs is visiting proj1.org in another buffer. So I now do this manually: Visit todo.org For Each subheading of Tasks related to proj1. Place point at the start of subheading Invoke set-mark-command at end of subheading ; and BTW this is very tricky business, I guess due to narrowing kill switch buffer to proj1.org place point as close to column 1 under the Tasks line ; again very tricky business yank switch buffer back to todo.org Next (Sorry for posting pseudocode that resembles Vi$ual Ba$ic! The org-babel question for *that* is in queue.) - Ray ------=_NextPart_000_004A_01D30B80.106EC290 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

How do I = customize org to refile from one file to another?  I am baffled = that org-refile is not set up to do this = out-of-the-box.

 

versions:

Org mode = version 9.0.9 (9.0.9-30-g796a78-elpa @ = c:/Users/rayz/AppData/Roaming/RZHOME/.emacs.d/elpa/org-20170703/)

GNU Emacs 25.2.1 (x86_64-w64-mingw32) of = 2017-04-24

Windows 7 = SP1

user is a member of the local = administrator group

 

Details…

C-c = C-w cannot seem to recognize any of my agenda files, even though = org-refile-targets is set to (in custom-set-variables):

(org-refile-targets (quote ((org-agenda-files :regexp = . "Tasks"))))

 

Suppose = org-agenda-files contains "~/proj1.org" = "~/proj2.org" "~/proj3.org" = "~/todo.org".

 

My = expectation is that when I press C-c C-w with point on a subheading of = Tasks in todo.org, I can specify, say proj1.org and get the subheading = moved to proj1.org under Tasks.  However, org-refile responds [No = Match], even if I provide the file as ~/proj1.org.  And Emacs is = visiting proj1.org in another buffer.

 

So I now do = this manually:

 

Visit = todo.org

For Each subheading of Tasks = related to proj1…

    Place point at the start of = subheading

    Invoke = set-mark-command at end of subheading

    ; and BTW this is very tricky = business, I guess due to narrowing

    kill

    switch buffer to = proj1.org

    place = point as close to column 1 under the Tasks line

    ; again very tricky = business

    = yank

    switch buffer = back to todo.org

Next

 

(Sorry for = posting pseudocode that resembles Vi$ual Ba$ic!  The org-babel = question for *that* is in queue.)

 

- = Ray

------=_NextPart_000_004A_01D30B80.106EC290-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: refile workflow -- move to same heading in different file? Date: Thu, 03 Aug 2017 05:07:33 -0500 Message-ID: <87zibhnevu.fsf@alphapapa.net> References: <004901d30ba1$977df190$c679d4b0$@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddD2l-0001B9-T1 for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 06:07:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddD2h-0005lf-OP for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 06:07:51 -0400 Received: from [195.159.176.226] (port=44475 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddD2h-0005kq-Gr for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 06:07:47 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ddD2Z-0007lg-4A for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 12:07:39 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "Raymond Zeitler" writes: > C-c C-w cannot seem to recognize any of my agenda files, even though > org-refile-targets is set to (in custom-set-variables): > > (org-refile-targets (quote ((org-agenda-files :regexp . "Tasks")))) > > Suppose org-agenda-files contains "~/proj1.org" "~/proj2.org" "~/proj3.org" "~/todo.org". > > My expectation is that when I press C-c C-w with point on a subheading > of Tasks in todo.org, I can specify, say proj1.org and get the > subheading moved to proj1.org under Tasks. However, org-refile > responds [No Match], even if I provide the file as ~/proj1.org. And > Emacs is visiting proj1.org in another buffer. Hi Raymond, Going on what you've provided, it sounds like it should work. A few suggestions: 1. In case you haven't yet (but you probably have), check describe-variable for org-refile-targets. 2. If you have any doubt about org-refile-targets being set correctly, experiment with setting it and calling org-refile inside a (let). 3. I haven't used the default Emacs completion in years; I'm so used to having Helm that when I have to run "emacs -q" now and then, completing buffer names and such is painful! :) So I'd suggest temporarily, at least, using Helm as the default completing-read method, which will make it much easier to debug by showing you the full list of candidates. That way, if it's empty to begin with, you know something's really wrong; or if it's full, but it shows [No Match] after you type something in, that should help you narrow down the cause. Hope this helps. From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raymond Zeitler" Subject: Re: refile workflow -- move to same heading in different file? Date: Thu, 3 Aug 2017 14:52:08 -0400 Message-ID: <004601d30c89$9c589420$d509bc60$@yahoo.com> Reply-To: zeitra@yahoo.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddLEG-0004ud-D9 for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 14:52:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddLEB-0004yu-VQ for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 14:52:16 -0400 Received: from nm15-vm0.bullet.mail.ne1.yahoo.com ([98.138.91.70]:51227) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddLEB-0004vz-Oe for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 14:52:11 -0400 Content-Language: en-us List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: 'Adam Porter' , emacs-orgmode@gnu.org Thank you for responding. 1. org-refile-targets ... value is ((org-agenda-files :regexp . "Tasks")) Seems OK. But then I see that org-refile-target-verify-function is nil, which seems like a problem. Mind you, this is the default configuration, and I'm not sure what to change it to. 2. I placed the let block below into a subheading of Tasks in my todo.org and then evaluated it. The error that Emacs returned follows that: (let ((org-refile-targets (quote (((org-agenda-files) :regexp . "Tasks"))))) (org-refile)) org-find-base-buffer-visiting: Wrong type argument: stringp, org-agenda-files org-agenda-files evaluates to: ("~/HR.org" "~/1234.org" "~/2345.org" "~/3456.org" "~/4567.org" "~/todo.org") All those files exist, and they load when I invoke org-agenda. I also tried the setting used by Sacha Chua(1), shown below. The error that Emacs returned follows that (but at least that's an error from the let function and not an org function, so it might indicate a problem with how I wrote it): (let (org-refile-targets '((org-agenda-files . (:maxlevel . 3)))) (org-refile)) let: Invalid function: (org-agenda-files :maxlevel . 3) Then on reddit there's naught-me's setting(2), upon which I based this: (let ((org-refile-targets (quote ("~/HR.org" :maxlevel . 3) ("~/todo.org" :regexp . "tasks"))) (org-refile)) This returns: funcall-interactively: End of file during parsing I have no clue how to proceed. And I spent far too much time on this. Fun, but very unproductive. 3. Helm is on my todo.org, actually, but I've put it off because of how formidable it seems. (1) http://pages.sachachua.com/.emacs.d/Sacha.html#org2789cb5 (2) https://www.reddit.com/r/emacs/comments/4366f9/how_do_orgrefiletargets_work/ - Ray -----Original Message----- From: Emacs-orgmode [mailto:emacs-orgmode-bounces+zeitra=yahoo.com@gnu.org] On Behalf Of Adam Porter Sent: Thursday, August 03, 2017 6:08 AM To: emacs-orgmode@gnu.org Subject: Re: [O] refile workflow -- move to same heading in different file? "Raymond Zeitler" writes: > C-c C-w cannot seem to recognize any of my agenda files, even though > org-refile-targets is set to (in custom-set-variables): > > (org-refile-targets (quote ((org-agenda-files :regexp . "Tasks")))) > > Suppose org-agenda-files contains "~/proj1.org" "~/proj2.org" "~/proj3.org" "~/todo.org". > > My expectation is that when I press C-c C-w with point on a subheading > of Tasks in todo.org, I can specify, say proj1.org and get the > subheading moved to proj1.org under Tasks. However, org-refile > responds [No Match], even if I provide the file as ~/proj1.org. And > Emacs is visiting proj1.org in another buffer. Hi Raymond, Going on what you've provided, it sounds like it should work. A few suggestions: 1. In case you haven't yet (but you probably have), check describe-variable for org-refile-targets. 2. If you have any doubt about org-refile-targets being set correctly, experiment with setting it and calling org-refile inside a (let). 3. I haven't used the default Emacs completion in years; I'm so used to having Helm that when I have to run "emacs -q" now and then, completing buffer names and such is painful! :) So I'd suggest temporarily, at least, using Helm as the default completing-read method, which will make it much easier to debug by showing you the full list of candidates. That way, if it's empty to begin with, you know something's really wrong; or if it's full, but it shows [No Match] after you type something in, that should help you narrow down the cause. Hope this helps. ---------------------------------------------------- This message has been processed by Firetrust Benign. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: refile workflow -- move to same heading in different file? Date: Thu, 03 Aug 2017 20:51:10 -0500 Message-ID: <87a83grtgx.fsf@alphapapa.net> References: <004601d30c89$9c589420$d509bc60$@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddRm1-00024X-83 for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 21:51:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddRly-0002f6-LO for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 21:51:33 -0400 Received: from [195.159.176.226] (port=52171 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddRly-0002dw-FD for emacs-orgmode@gnu.org; Thu, 03 Aug 2017 21:51:30 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ddRlm-0007zA-Ni for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 03:51:18 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "Raymond Zeitler" writes: > 1. org-refile-targets ... value is ((org-agenda-files :regexp . "Tasks")) > Seems OK. But then I see that org-refile-target-verify-function is nil, > which seems like a problem. Mind you, this is the default configuration, > and I'm not sure what to change it to. > > 2. I placed the let block below into a subheading of Tasks in my todo.org > and then evaluated it. The error that Emacs returned follows that: > (let ((org-refile-targets (quote (((org-agenda-files) :regexp . "Tasks"))))) > (org-refile)) > org-find-base-buffer-visiting: Wrong type argument: stringp, > org-agenda-files It seems that describe-variable isn't printing the variable structure the way it really is, so then when you try to evaluate it, it doesn't work. Note that according to the docstring: #+BEGIN_QUOTE This is a list of cons cells. Each cell contains: - a specification of the files to be considered, either a list of files, or a symbol... - A specification of how to find candidate refile targets. This may be any of: ... - a cons cell (:regexp . "REGEXP") with a regular expression matching headlines that are refiling targets. #+END_QUOTE So the variable is a list, which should contain at least one cons cell, and the cons cells should have another cons cell as their cdrs. Try this, it seems to work for me: (let ((org-refile-targets '((org-agenda-files . (:regexp . "Tasks"))))) (org-refile)) This is one advantage of the customize system: it makes it harder to get these structures wrong. :) From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raymond Zeitler" Subject: Re: refile workflow -- move to same heading in different file? Date: Fri, 4 Aug 2017 00:14:51 -0400 Message-ID: <001401d30cd8$38829eb0$a987dc10$@yahoo.com> Reply-To: zeitra@yahoo.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddU0n-0005Y7-0Y for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 00:14:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddU0j-0001d9-Qe for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 00:14:57 -0400 Received: from nm11-vm2.bullet.mail.ne1.yahoo.com ([98.138.90.159]:38194) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddU0j-0001cC-JZ for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 00:14:53 -0400 Content-Language: en-us List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: 'Adam Porter' , emacs-orgmode@gnu.org Adam Porter wrote: > Try this, it seems to work for me: > > (let ((org-refile-targets '((org-agenda-files . (:regexp . "Tasks"))))) > (org-refile)) > > This is one advantage of the customize system: it makes it harder to get > these structures wrong. :) I get the same [No Match] result that I was getting originally. I'm really not happy about needing yet another package just to get some basic functionality to work. Besides, "package-install RET helm RET" results in yet another [No Match]. Makes me think I should wipe out Emacs entirely and do a fresh installation. Meanwhile, if Helm is needed to make this work, maybe it should be documented. I wonder if it works for anyone who's not using Helm.... Gosh, I was really hoping to be doing export to ODT or PDF by now! - Ray From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: refile workflow -- move to same heading in different file? Date: Fri, 04 Aug 2017 05:21:25 -0500 Message-ID: <87wp6jr5ui.fsf@alphapapa.net> References: <001401d30cd8$38829eb0$a987dc10$@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddZnB-0003mh-Ah for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 06:25:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddZn8-0000SD-7j for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 06:25:17 -0400 Received: from [195.159.176.226] (port=58767 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddZn8-0000Qh-1h for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 06:25:14 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ddZmz-0003tp-U3 for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 12:25:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "Raymond Zeitler" writes: > I get the same [No Match] result that I was getting originally. Sounds like something is wrong with your installation or config. Did you try with "emacs -q"? > I'm really not happy about needing yet another package just to get > some basic functionality to work. I suggested that it would help the troubleshooting process, not that it's required. > Besides, "package-install RET helm RET" results in yet another [No > Match]. I guess you don't have MELPA configured. > Makes me think I should wipe out Emacs entirely and do a fresh > installation. I would try with "emacs -q" first. Although since you're on Windows, it wouldn't surprise me if something isn't setup correctly. How did you install Emacs? > Meanwhile, if Helm is needed to make this work, maybe it should be > documented. I wonder if it works for anyone who's not using Helm.... It's not, and it does. > Gosh, I was really hoping to be doing export to ODT or PDF by now! If you don't have time to fix it, you could export to HTML and convert it with Pandoc. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joost Kremers Subject: Re: refile workflow -- move to same heading in different file? Date: Fri, 04 Aug 2017 12:53:17 +0200 Message-ID: <874ltnr4de.fsf@fastmail.fm> References: <001401d30cd8$38829eb0$a987dc10$@yahoo.com> <87wp6jr5ui.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddaFY-00043Y-Lt for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 06:55:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddaER-0006PA-BR for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 06:54:33 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:46337) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ddaEQ-0006Mn-Sf for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 06:53:27 -0400 In-reply-to: <87wp6jr5ui.fsf@alphapapa.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Adam Porter Cc: emacs-orgmode@gnu.org On Fri, Aug 04 2017, Adam Porter wrote: > "Raymond Zeitler" writes: >> Gosh, I was really hoping to be doing export to ODT or PDF by >> now! > > If you don't have time to fix it, you could export to HTML and > convert > it with Pandoc. Why convert to HTML first? Pandoc can read Org files pretty well. -- Joost Kremers Life has its moments From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raymond Zeitler" Subject: Re: refile workflow -- move to same heading in different file? Date: Fri, 4 Aug 2017 11:02:14 -0400 Message-ID: <001801d30d32$a8ebfc00$fac3f400$@yahoo.com> Reply-To: zeitra@yahoo.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dde7J-0003NR-Eu for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 11:02:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dde7F-00046S-UG for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 11:02:21 -0400 Received: from nm15-vm2.bullet.mail.ne1.yahoo.com ([98.138.91.91]:56921) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1dde7F-000465-N2 for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 11:02:17 -0400 Content-Language: en-us List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: 'Adam Porter' , emacs-orgmode@gnu.org Adam Porter writes: >"Raymond Zeitler" writes: -snip- >> Makes me think I should wipe out Emacs entirely and do a fresh >> installation. >I would try with "emacs -q" first. Although since you're on Windows, >it wouldn't surprise me if something isn't setup correctly. With emacs -q I get the same [No Match] response. But I was pleasantly surprised that Org loaded automatically when I visited ~/todo.org, and the default layout was fairly pleasing. >How did you install Emacs? I unzipped emacs-25.2-x86_64.zip into c:\emacs-25.2_64 . I installed Org with package-list-packages and clicked on the link to install org. Also, I started with a blank .emacs then added some old customizations a little at a time. Everything runs great, except for C-c C-w/. I couldn't find installation instructions specifically for a Windows non-administrator. I know that C:\ is not accessible to non-admins, so I considered putting it in %home%. I might need to do that soon due to new company policies. >> Meanwhile, if Helm is needed to make this work, maybe it should be >> documented. I wonder if it works for anyone who's not using Helm.... >It's not, and it does. This is great info for me to have, so I'm motivated to keep trying. Thanks for your help and patience. Sorry I cluttered the list with an Emacs config problem! - Ray From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: refile workflow -- move to same heading in different file? Date: Fri, 04 Aug 2017 21:31:12 -0500 Message-ID: <87mv7erbin.fsf@alphapapa.net> References: <001801d30d32$a8ebfc00$fac3f400$@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddovt-0006GV-GG for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 22:35:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddovo-0006BQ-E4 for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 22:35:17 -0400 Received: from [195.159.176.226] (port=38606 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddovo-0006Am-80 for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 22:35:12 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ddovf-0004YC-Uf for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 04:35:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "Raymond Zeitler" writes: > Thanks for your help and patience. Sorry I cluttered the list with > an Emacs config problem! I'm glad to help if I can. I noticed you didn't mention the part about the structure of the org-refile-targets list. Did you try the example I gave? That might have been the problem all along. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: refile workflow -- move to same heading in different file? Date: Fri, 04 Aug 2017 21:35:43 -0500 Message-ID: <87efsqrbb4.fsf@alphapapa.net> References: <001401d30cd8$38829eb0$a987dc10$@yahoo.com> <87wp6jr5ui.fsf@alphapapa.net> <874ltnr4de.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddp5b-0001Qt-VA for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 22:45:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddp5X-0006Mo-Vu for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 22:45:19 -0400 Received: from [195.159.176.226] (port=55716 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddp5X-0006Ma-PX for emacs-orgmode@gnu.org; Fri, 04 Aug 2017 22:45:15 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ddp5M-00060z-T7 for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 04:45:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Joost Kremers writes: > Why convert to HTML first? Pandoc can read Org files pretty well. Good point! I must have had a brain cramp, since I have made two packages that convert to Org with Pandoc... D: From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raymond Zeitler Subject: Re: refile workflow -- move to same heading in different file? Date: Sat, 5 Aug 2017 12:41:40 +0000 (UTC) Message-ID: <76996029.200065.1501936900679@mail.yahoo.com> References: <001801d30d32$a8ebfc00$fac3f400$@yahoo.com> <87mv7erbin.fsf@alphapapa.net> Reply-To: Raymond Zeitler Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_200064_71209357.1501936900678" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddyOn-00009F-Fw for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 08:41:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddyOk-000897-Dr for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 08:41:45 -0400 Received: from sonic307-12.consmr.mail.ne1.yahoo.com ([66.163.190.35]:43863) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddyOk-00088j-61 for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 08:41:42 -0400 In-Reply-To: <87mv7erbin.fsf@alphapapa.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Adam Porter , "emacs-orgmode@gnu.org" ------=_Part_200064_71209357.1501936900678 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable From: Adam Porter Sent: Friday, August 4, 2017 10:36 PM "Raymond Zeitler" writes: >> Thanks for your help and patience.=C2=A0 Sorry I cluttered the list with >> an Emacs config problem! >I'm glad to help if I can.=C2=A0 I noticed you didn't mention the part abo= ut >the structure of the org-refile-targets list.=C2=A0 Did you try the exampl= e I >gave?=C2=A0 That might have been the problem all along. I did try that.=C2=A0 Same results. I'm halfway through extensive testing, which includes two different fresh i= nstallations of Emacs on two different computers (both, regrettably, runnin= g Win 7).=C2=A0 I'll try adding MELPA, too to see if that helps.=C2=A0 If a= ny other Windows users use org-refile (especially without MELPA or helm), p= lease respond. =20 ------=_Part_200064_71209357.1501936900678 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


From:= Adam Porter <adam@alphapapa.net>
Sent: Friday, August 4, 2017 10:36 PM

"Raymond Zeitler" <zeitra@yahoo.com> writes:

>> Thanks for your help and patien= ce.  Sorry I cluttered the list with
>> an Emacs config problem!
=

>I'm gl= ad to help if I can.  I noticed you didn't mention the part about
<= /div>
>the = structure of the org-refile-targets list.  Did you try the example I
>g= ave?  That might have been the problem all along.

I did try that.  Same = results.

I'= m halfway through extensive testing, which includes two different fresh ins= tallations of Emacs on two different computers (both, regrettably, running = Win 7).  I'll try adding MELPA, too to see if that helps.  If any= other Windows users use org-refile (especially without MELPA or helm), ple= ase respond.




------=_Part_200064_71209357.1501936900678-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raymond Zeitler Subject: Re: refile workflow -- move to same heading in different file? Date: Sun, 6 Aug 2017 04:12:50 +0000 (UTC) Message-ID: <807502419.452033.1501992770596@mail.yahoo.com> References: <001801d30d32$a8ebfc00$fac3f400$@yahoo.com> <87mv7erbin.fsf@alphapapa.net> <76996029.200065.1501936900679@mail.yahoo.com> Reply-To: Raymond Zeitler Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_452032_779812022.1501992770592" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deCwE-0006fq-Ri for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 00:13:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deCwB-0005Qq-Li for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 00:13:14 -0400 Received: from sonic328-12.consmr.mail.ne1.yahoo.com ([66.163.191.35]:37688) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deCwB-0005QU-7g for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 00:13:11 -0400 In-Reply-To: <76996029.200065.1501936900679@mail.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Raymond Zeitler , Adam Porter , "emacs-orgmode@gnu.org" ------=_Part_452032_779812022.1501992770592 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable A final update... it works.=C2=A0 Of course you knew that, but I was convin= ced otherwise. One Internet search result for "Emacs No Match" linked to a subtopic of Com= pletion in the Emacs manual.=C2=A0 So I read more about Completion and foun= d that pressing "?" displays a list of all possible choices. So I pressed "?" after C-c C-w and sawTasksTasks (HR.org) One quick forehead slap later, I entered Tasks ( TAB. I got the desired com= pletion of Tasks (HR.org), pressed RET, and viola!=C2=A0 It worked. So this was classic error 18 because I was expecting to refile to ~/HR.org = Tasks -- file name then heading. Is the heading (file name) completion syntax explained anywhere in the docu= mentation?=C2=A0 If so, I missed it big time.=C2=A0 LOL I'm SO glad I got through this.=C2=A0 Now I can get back to work. - Ray From: Raymond Zeitler To: Adam Porter ; "emacs-orgmode@gnu.org" =20 Sent: Saturday, August 5, 2017 8:42 AM Subject: Re: [O] refile workflow -- move to same heading in different file= ? =20 From: Adam Porter Sent: Friday, August 4, 2017 10:36 PM "Raymond Zeitler" writes: >> Thanks for your help and patience.=C2=A0 Sorry I cluttered the list with >> an Emacs config problem! >I'm glad to help if I can.=C2=A0 I noticed you didn't mention the part abo= ut >the structure of the org-refile-targets list.=C2=A0 Did you try the exampl= e I >gave?=C2=A0 That might have been the problem all along. I did try that.=C2=A0 Same results. I'm halfway through extensive testing, which includes two different fresh i= nstallations of Emacs on two different computers (both, regrettably, runnin= g Win 7).=C2=A0 I'll try adding MELPA, too to see if that helps.=C2=A0 If a= ny other Windows users use org-refile (especially without MELPA or helm), p= lease respond. =20 =20 ------=_Part_452032_779812022.1501992770592 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
A final update... it works.  Of co= urse you knew that, but I was convinced otherwise.

One Internet search result for "Emacs No = Match" linked to a subtopic of Completion in the Emacs manual.  So I r= ead more about Completion and found that pressing "?" displays a list of al= l possible choices.
<= br>
So I pressed "?" = after C-c C-w and saw
Tasks
Tasks (HR.org)=

One quick forehead slap later, I ent= ered Tasks ( TAB. I got the desired completion of Tasks (HR.org), pressed R= ET, and viola!  It worked.

So th= is was classic error 18 because I was expecting to refile to ~/HR.org Tasks= -- file name then heading.

Is the heading (file name) completion syntax explained anywhere in the d= ocumentation?  If so, I missed it big time.  LOL

I'm SO glad I got through thi= s.  Now I can get back to work.

- Ray





= From: Raymond Zeitler <z= eitra@yahoo.com>
To: Adam Porter <adam@alphapapa.net>; "emacs-orgmode@gnu.org" <emacs= -orgmode@gnu.org>
Sent: Saturday, August 5, 2017 8:42 AM
Subject: Re: [O] refile workflow -- move to same heading i= n different file?

From: Adam Porter = <adam@alphapapa.net>
Sent: Friday, August 4, 2017 10:36 PM
<= /font>

"Raymond Zeitler" <zeitra@yahoo.com> writes:

>> Thanks for your help and patience.  Sorry I = cluttered the list with
>> an Emacs config pr= oblem!

>I'm glad to hel= p if I can.  I noticed you didn't mention the part about
>the structure of the org-refile-targets list.  Did you = try the example I
>gave?  That might ha= ve been the problem all along.


I did try that.  Same results.

I'm halfway through extensive testing, which includes two different fresh= installations of Emacs on two different computers (both, regrettably, runn= ing Win 7).  I'll try adding MELPA, too to see if that helps.  If= any other Windows users use org-refile (especially without MELPA or helm),= please respond.






------=_Part_452032_779812022.1501992770592-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: refile workflow -- move to same heading in different file? Date: Sun, 06 Aug 2017 05:23:03 -0500 Message-ID: <874ltlov08.fsf@alphapapa.net> References: <001801d30d32$a8ebfc00$fac3f400$@yahoo.com> <87mv7erbin.fsf@alphapapa.net> <76996029.200065.1501936900679@mail.yahoo.com> <807502419.452033.1501992770596@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deIiL-0003fl-OC for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 06:23:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deIiI-0005WH-HV for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 06:23:17 -0400 Received: from [195.159.176.226] (port=45756 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deIiI-0005W9-Bz for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 06:23:14 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1deIi9-0000Bk-7a for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 12:23:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Raymond Zeitler writes: Hi Ray, > A final update... it works. Of course you knew that, but I was > convinced otherwise. Glad you got it working. :) > > One Internet search result for "Emacs No Match" linked to a subtopic > of Completion in the Emacs manual. So I read more about Completion and > found that pressing "?" displays a list of all possible choices. > > So I pressed "?" after C-c C-w and saw > Tasks > Tasks (HR.org) > > One quick forehead slap later, I entered Tasks ( TAB. I got the > desired completion of Tasks (HR.org), pressed RET, and viola! It > worked. > > So this was classic error 18 because I was expecting to refile to > ~/HR.org Tasks -- file name then heading. This is why I recommended Helm. It's just so much easier, because you get a big window with all the potential completions listed, and then it narrows down the list as you type. You can type any part of any word anywhere in any item, and it will narrow down to that item. The default Emacs completion is like stumbling around in the dark, by comparison. Ivy is another good completion package, but it doesn't do nearly as much (which some people prefer). Anyway, if you install Helm, just run helm-mode, and then try org-refile. I think you'll like it. > Is the heading (file name) completion syntax explained anywhere in the > documentation? If so, I missed it big time. LOL Check out the variable org-refile-use-outline-path. It's nil by default, but by setting it to 'file, it puts the filename first. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raymond Zeitler Subject: Re: refile workflow -- move to same heading in different file? Date: Sun, 6 Aug 2017 19:52:45 +0000 (UTC) Message-ID: <392882672.666362.1502049165177@mail.yahoo.com> References: <001801d30d32$a8ebfc00$fac3f400$@yahoo.com> <87mv7erbin.fsf@alphapapa.net> <76996029.200065.1501936900679@mail.yahoo.com> <807502419.452033.1501992770596@mail.yahoo.com> <874ltlov08.fsf@alphapapa.net> Reply-To: Raymond Zeitler Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_666361_339246697.1502049165174" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deRc4-0005kY-MG for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 15:53:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deRc1-0000ob-LE for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 15:53:24 -0400 Received: from sonic330-24.consmr.mail.ne1.yahoo.com ([66.163.189.205]:32836) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deRc1-0000oF-Ft for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 15:53:21 -0400 In-Reply-To: <874ltlov08.fsf@alphapapa.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Adam Porter , "emacs-orgmode@gnu.org" ------=_Part_666361_339246697.1502049165174 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Adam Porter writes: >Raymond Zeitler writes: -snip- >This is why I recommended Helm. I'm glad you did, because when I got the same [No Match] response fromthe p= ackage installer, I realized you were right that Emacs wasn't setup correct= ly. >Check out the variable org-refile-use-outline-path.=C2=A0 It's nil by>defa= ult, but by setting it to 'file, it puts the filename first. YES! That was the missing piece!=C2=A0 Thanks so much! - Ray =20 ------=_Part_666361_339246697.1502049165174 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Adam Porter &= lt;dam@alphapapa.net> writes:

>Raymond Zeitler <zeitra@y= ahoo.com> writes:

-snip-

>This is why I recommend= ed Helm.

I'm glad you did, because when I got the same [No Match]= response from
the p= ackage installer, I realized you were right that Emacs wasn't set
up correctly.

>C= heck out the variable org-refile-use-outline-path.  It's nil by
<= div id=3D"yui_3_16_0_ym19_1_1502020884310_29898">>default, but by settin= g it to 'file, it puts the filename first.

YES! That was the miss= ing piece!  Thanks so much!

- Ray







=
------=_Part_666361_339246697.1502049165174--