Re: [PROPOSAL] New function `org-headings-to-point' and displayer.

2019-12-05 Thread Karl Fogel
On 05 Dec 2019, Adam Porter wrote: >Karl Fogel writes: >> Unless you meant make a new interactive function to display a vertical >> hierarchy and base it on the existing Org Mode functions you informed >> me of the existence of? But I don't think there's a way to do that &

Re: [PROPOSAL] New function `org-headings-to-point' and displayer.

2019-12-04 Thread Karl Fogel
On 03 Dec 2019, Adam Porter wrote: >You might consider adjusting your fontification settings. The >single-line outline path can be quite readable with the right faces (see >attached example). That's a useful hint generally, thank you. However, for most of the Org Mode files I work with, the

Re: [PROPOSAL] New function `org-headings-to-point' and displayer.

2019-12-03 Thread Karl Fogel
On 03 Dec 2019, Adam Porter wrote: >This seems to duplicate functionality from org-get-outline-path. As >well, org-eldoc displays in the minibuffer the outline path for the >heading at point. Thank you, Adam -- I didn't know about those. I had searched for something like that before

Re: [PROPOSAL] New function `org-headings-to-point' and displayer.

2019-12-03 Thread Karl Fogel
On 03 Dec 2019, Adam Porter wrote: >This seems to duplicate functionality from org-get-outline-path. As >well, org-eldoc displays in the minibuffer the outline path for the >heading at point. By the way, when I run `M-x eldoc-mode' in a Org Mode buffer, I get this message: "There is no ElDoc

[PROPOSAL] New function `org-headings-to-point' and displayer.

2019-12-02 Thread Karl Fogel
Hi. I've been using this for a while and find it very handy. If people like this and want it in Org Mode, I'll do the rest of the work to package it up as a patch, with ChangeLog entry, NEWS, etc, and post it here for review before committing. To try it out, just evaluate both functions and

Re: [PATCH] Use prefix arg to control scope of org-narrow-to-subtree.

2019-12-02 Thread Karl Fogel
On 02 Dec 2019, Marco Wahl wrote: >Karl Fogel writes: >> Since `widen' itself is already available via C-x n w, it might be >> better to save a special flag value like that for some special >> behavior that we (or someone else) might think of in the future. I'm >> pr

Re: [PATCH] Use prefix arg to control scope of org-narrow-to-subtree.

2019-12-02 Thread Karl Fogel
On 02 Dec 2019, Marco Wahl wrote: >What about numeric prefix arg 0 to reveal the whole buffer (aka >'widen')? I think this would be a logical completion to the feature. Since `widen' itself is already available via C-x n w, it might be better to save a special flag value like that for some

Re: [PATCH] Use prefix arg to control scope of org-narrow-to-subtree.

2019-12-01 Thread Karl Fogel
On 01 Dec 2019, Marco Wahl wrote: >I guess it's a good idea to write to Bastien explicitly. I will do so. >Thanks for asking about the version. AFAICT there is a feature freeze >right now for version 9.3. This means you would commit to the 'next' >branch which shall be the next master branch

Re: [PATCH] Use prefix arg to control scope of org-narrow-to-subtree.

2019-12-01 Thread Karl Fogel
On 01 Dec 2019, Marco Wahl wrote: >+1 > >I think your enhancement is great and worth a news entry. What about >pushing your code if nobody objects within one week? Thanks, Marco; I'm glad you like it. I'll wait a week and then push (unless there's discussion, in which case we'll see what the

[PATCH] Use prefix arg to control scope of org-narrow-to-subtree.

2019-12-01 Thread Karl Fogel
134b10f4883812068a0 Mon Sep 17 00:00:00 2001 From: Karl Fogel Date: Sat, 30 Nov 2019 01:33:15 -0600 Subject: [PATCH] Use prefix arg to narrow to a specific subtree * lisp/org.el (org-narrow-to-subtree): Take a prefix arg and use it to choose which subtree to narrow to. See thread for context:

Re: [O] Bug: Org commit d07d8ff41 breaks square-brace links in recent Emacs. [9.2.6 (release_9.2.6-538-g23113f @ /home/kfogel/src/org-mode/lisp/)]

2019-09-18 Thread Karl Fogel
On 18 Sep 2019, Marco Wahl wrote: >Karl Fogel writes: >> Hi. It appears that commit d07d8ff4163 in Org Mode causes >> square-brace-enclosed links to display incorrectly. >> >> The buggy behavior is simple to describe: if you write a link like this >> >&

[O] Bug: Org commit d07d8ff41 breaks square-brace links in recent Emacs. [9.2.6 (release_9.2.6-538-g23113f @ /home/kfogel/src/org-mode/lisp/)]

2019-09-17 Thread Karl Fogel
Hi. It appears that commit d07d8ff4163 in Org Mode causes square-brace-enclosed links to display incorrectly. The buggy behavior is simple to describe: if you write a link like this [[URL][LINK-TEXT]] then URL will be displayed instead of LINK-TEXT (and LINK-TEXT goes unused: URL is still

Re: [O] [PROPOSAL] Use prefix arg to control scope of org-narrow-to-subtree.

2019-05-31 Thread Karl Fogel
On 25 Apr 2019, Nicolas Goaziou wrote: >Hello, > >Karl Fogel writes: > >> My proposal is for each raw prefix arg (each `C-u' prefix) to expand >> the narrowing level outward/upward by one. So in the above situation: > >I suggest to use a numeric argument for that. M

[O] [PROPOSAL] Use prefix arg to control scope of org-narrow-to-subtree.

2019-04-24 Thread Karl Fogel
Hi. This is a feature proposal -- if the consensus is that it would be welcomed, I'm happy to code it. I just didn't want to take the time to write it if there's no chance for it to be accepted upstream (since I don't want to be maintaining my own personal branch of Org Mode). It would be

Re: [O] Displaying deadline datestamp in todo agenda list?

2016-05-25 Thread Karl Fogel
Matt Lundin writes: >Here's a working implementation, using org-agenda-add-custom-command and >the built-in mechanism for skipping non-deadline entries (you can get >rid of ots-org-entry-skip-non-deadline). I also added some justification >(the -22) to accommodate my rather

Re: [O] Displaying deadline datestamp in todo agenda list?

2016-05-23 Thread Karl Fogel
Sigh, sorry. I messed up one important background fact in my original post, by mistakenly presenting these as the example Org Mode entries I was working with: > * STARTED <2016-05-23> Org Mode scheduling test KIWI. > DEADLINE: <2016-05-23> > > * TODO <2016-05-25> Org Mode scheduling

[O] Displaying deadline datestamp in todo agenda list?

2016-05-23 Thread Karl Fogel
I'm using the DEADLINE keyword with TODO entries, and I'd like the DEADLINE date to be displayed as a datestamp next to each TODO item, when I list deadlined todo items. In other words, I don't want to have to duplicate the DEADLINE timestamp as a timestamp on the TODO line itself in my Org

Re: [O] [PATCH] Improve success message from org-remove-file.

2014-11-25 Thread Karl Fogel
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Karl Fogel kfo...@red-bean.com writes: The attached patch improves the interactive success message from `org-remove-file'. Comments / suggestions welcome, of course; I've tried to follow http://orgmode.org/worg/org-contribute.html here. Applied

[O] [PATCH] Improve success message from org-remove-file.

2014-11-24 Thread Karl Fogel
The attached patch improves the interactive success message from `org-remove-file'. Comments / suggestions welcome, of course; I've tried to follow http://orgmode.org/worg/org-contribute.html here. Best, -Karl From 846d66a15c73a336c110f5238307242f9192e8c3 Mon Sep 17 00:00:00 2001 From: Karl

Re: [O] [PATCH] org-agenda-list (from git) giving args-out-of-range error

2012-03-04 Thread Karl Fogel
David Maus dm...@ictsoc.de writes: I pushed the fix with some small cleanup of the commit message. Somehow the patchtracker included the mailbody in the commit message. Thank you! FWIW, I used 'git format-patch' to generate the patch; not sure if that had anything to do with the resulting

[O] [PATCH] org-agenda-list (from git) giving args-out-of-range error

2012-02-29 Thread Karl Fogel
patch, which is attached. What's the typical way to submit such things for review? From 8a4c65479b2f62cbffe32735c4afac5dd6a1ecae Mon Sep 17 00:00:00 2001 From: Karl Fogel kfo...@red-bean.com Date: Wed, 29 Feb 2012 13:06:06 -0600 Subject: [PATCH] * lisp/org-agenda.el (org-agenda-highlight-todo

Re: [O] [PATCH] org-agenda-list (from git) giving args-out-of-range error

2012-02-29 Thread Karl Fogel
00:00:00 2001 From: Karl Fogel kfo...@red-bean.com Date: Wed, 29 Feb 2012 13:42:35 -0600 Subject: [PATCH] Fix bug whereby a date-only line caused an error when generating an agenda * lisp/org-agenda.el (org-agenda-highlight-todo): Handle the case of a heading that has a date but no todo keyword

[O] org-agenda-list (from git) giving args-out-of-range error

2012-02-28 Thread Karl Fogel
[please keep me CC'd, as I'm a digest subscriber on this list] Suddenly C-c a a (`org-agenda-list') has started giving me this error: args-out-of-range #( ots: 0 14 (org-category ... Backtrace attached. This is with today's bleeding edge Org Mode code, pulled from