Re: [O] Smart archiving of subtrees with parent headlines

2019-04-02 Thread Ken Mankoff
I'm not an advanced lisper so I hate to say "this seems like it should be easy" - it isn't for me. But while playing around with the default archive behavior (C-c C-x C-a OR C-c C-x C-s?), I notice that ":ARCHIVE_OLPATH: Testing/SomeTest Archive Project" is include in the archived item. So Org

Re: [O] Smart archiving of subtrees with parent headlines

2019-03-29 Thread Ken Mankoff
On 2019-03-29 at 03:23 +0100, Mark Edgington wrote... > But it sounds like you're saying that it won't work with the latest > git versions? elpa, not git. But yes, this code is expecting and calling functions no longer in the core code. -k.

Re: [O] Smart archiving of subtrees with parent headlines

2019-03-28 Thread Mark Edgington
Ken, I believe Bastien's signing comment was also directed towards me, and I am fine with signing a FSF assignment document, but this had simply gotten buried in my emails. I do still have it on my list to take a look at this at some point, but if one of you is inclined to merge it, by all means

Re: [O] Smart archiving of subtrees with parent headlines

2019-03-28 Thread Ken Mankoff
On Tue, May 1, 2018 at 11:01 AM Bastien wrote: > Hi Mark, > > Mark Edgington writes: > > > I don't know why not -- I'm OK with the code being used in > > org-archive.el. As far as I'm concerned, you can use it however you > > wish (it is based on Ken's code though, so he would also need to

Re: [O] Smart archiving of subtrees with parent headlines

2018-05-01 Thread Bastien
Hi Mark, Mark Edgington writes: > I don't know why not -- I'm OK with the code being used in > org-archive.el.  As far as I'm concerned, you can use it however you > wish (it is based on Ken's code though, so he would also need to sign > off on its use, I suppose). Would you

Re: [O] Smart archiving of subtrees with parent headlines

2018-04-30 Thread Mark Edgington
Hi Bastien, On Thu, Apr 26, 2018 at 7:34 PM, Bastien wrote: > I'd be interested in integrating such a functionality in > org-archive.el. > > Do you think that is feasible? I don't know why not -- I'm OK with the code being used in org-archive.el. As far as I'm concerned, you can

Re: [O] Smart archiving of subtrees with parent headlines

2018-04-26 Thread Bastien
Hi Mark, Mark Edgington writes: > Here's the gist URL: > > https://gist.github.com/edgimar/072d99d8650abe81a9fe7c8687c0c993 I have added a FAQ in Worg for this: "Can I archive a subtree while keeping its hiearchy above?" I'd be interested in integrating such a

Re: [O] Smart archiving of subtrees with parent headlines

2018-02-12 Thread Mark Edgington
While further evaluating my code, I realized that it wasn't working when target headlines contained tags. I've updated the code to handle this case -- the result is posted as a gist since it may change later on, and all of you esteemed elisp hackers can more easily contribute to it that way,

Re: [O] Smart archiving of subtrees with parent headlines

2018-02-12 Thread Mark Edgington
On Mon, Feb 12, 2018 at 1:54 AM, Ken Mankoff wrote: > > Does the attached file here work for you? I use it and it seems to do what > you describe. > > https://lists.gnu.org/archive/html/emacs-orgmode/2014-08/msg00109.html > Ken, I tried the code you included from your config

Re: [O] Smart archiving of subtrees with parent headlines

2018-02-11 Thread Ken Mankoff
On 2018-02-09 at 16:42, Mark Edgington wrote: > I have looked at a few threads related to the archiving of subtrees, > but haven't found anything that matches what I think would be a very > sensible archiving behavior. [...] Does the attached file here work for you? I use it

Re: [O] Smart archiving of subtrees with parent headlines

2018-02-10 Thread Eric S Fraga
On Friday, 9 Feb 2018 at 11:42, Mark Edgington wrote: [...] > So the basic operation I'm seeking is the ability to archive a subtree > to whatever target location is specified with #+ARCHIVE (or > org-archive-location) where (1) the full path of the archived subtree > is mirrored beneath that

Re: [O] Smart archiving of subtrees with parent headlines

2018-02-09 Thread numbch...@gmail.com
I like this idea. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Feb 10, 2018 at 12:42 AM, Mark Edgington

[O] Smart archiving of subtrees with parent headlines

2018-02-09 Thread Mark Edgington
Hello all, I have looked at a few threads related to the archiving of subtrees, but haven't found anything that matches what I think would be a very sensible archiving behavior. I already posted this as a question on the emacs stack-exchange site