[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: [PROPOSAL] New function `org-headings-to-point' and displayer.

2019-12-02 Thread Diego Zamboni
Very nice! It works also in Narrow mode, which makes it even more useful for me. Thanks! --Diego On Tue, Dec 3, 2019 at 3:58 AM Karl Fogel wrote: > 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

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-02 Thread Marco Wahl
Karl Fogel writes: > 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

Re: [PATCH] Derive non-default start value for ordered list

2019-12-02 Thread Jens Lechtenboerger
On 2019-12-01, at 14:13, Samuel Wales wrote: > i think it might be partlly a question of whether these numbers are > fixed things that refer to fixed items [like referring to sections in > a law that is not in the document] vs. being used to continue lists. > > they are both legitimate uses. in

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 >> pretty sure that anyone using

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

2019-12-02 Thread Eric Abrahamsen
Karl Fogel writes: > This is the enhancement to `org-narrow-to-subtree' that I suggested back in > May [1]. > > It allows you to choose what level subtree to narrow to. There are two > ways to specify the subtree: use repeated C-u's to select "upward" > from the current subtree, or use a direct

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

2019-12-02 Thread Marco Wahl
Karl Fogel writes: > It allows you to choose what level subtree to narrow to. There are > two ways to specify the subtree: use repeated C-u's to select "upward" > from the current subtree, or use a direct numeric prefix arg to > specify the subtree "downward" from level 1. (This is a somewhat

Re: Editting from the agenda view

2019-12-02 Thread Shérab
Dear Sebastian, Many thanks for your helpful message. Sebastian Miele (2019/11/27 02:55 +): > After opening the agenda, inspection of the buffer-local variable > major-mode (e.g. by C-h v) reveals that the major mode in the agenda > buffer is org-agenda-mode. A search for a variable

Re: Editting from the agenda view

2019-12-02 Thread Shérab
Hi Victor, many thanks for your response! Victor A. Stoichita (2019/11/26 20:19 +0100): > Indeed they are not global bindings. I don’t know how to rebind them for the > agenda view. > Meanwhile, the same functions in the agenda view are also bound to C-c C-x > and C-c C-x . These should work in

Re: Editting from the agenda view

2019-12-02 Thread Memnon Anon
Shérab writes: >> To reschedule an entry remotely from the agenda view, you can press S-right >> (org-agenda-do-date-later) or S-left (org-agenda-do-date-earlier). > > I indeed remember having seen these commands! > The thing is that I am using emacs in the Linux console where these > bindings

Re: [PATCH] Derive non-default start value for ordered list

2019-12-02 Thread Jens Lechtenboerger
On 2019-12-02, at 08:23, Nicolas Goaziou wrote: > Jens Lechtenboerger writes: > >> [...] >> What do you think about the attached patch that allows to omit the >> @-syntax? Controlled by the new variable >> org-list-use-first-bullet-as-non-standard-counter, the code assigns >> a counter value to

Re: is this a known issue in clocktable output?

2019-12-02 Thread Nick Dokos
Marco Wahl writes: > Soubzriquet writes: >>> [...] > >>> > odd issue with using "day" steps where the date is getting offset >>> > sometimes. >>> > >>> > I saw the issue with 26.1, was not fixed by updating to current >>> > environment with an empty init.el on OS X: >>> > ... >>> > Daily

Re: Support for something like org-image-max-width

2019-12-02 Thread Marco Wahl
Terje Larsen writes: > There is already org-image-actual-width but the problem with that one is > that images that have quite small width, but are tall will be scaled and > become very tall. > I think it would make sense to introduce something like > org-image-max-width, which would scale

Re: Displaying remote images

2019-12-02 Thread Nick Dokos
Jack Kamm writes: > I've attached a patch which implements displaying remote images. > >> This is a longstanding problem, and there was an attempt to patch it in >> 2014, but the patch was never accepted: >> https://lists.gnu.org/archive/html/emacs-orgmode/2014-11/msg00583.html > > Compared to

Re: Displaying remote images

2019-12-02 Thread briangpowell .
* As always I much agree with Nick, looks like a great patch ** Meanwhile, this will read your R output and stick it at the end of the line & and show it all-at-once elisp:(progn (shell-command "rsync -a BlahRemoteHost:/blah-R-output.png /tmp")(sleep-for 3)(iimage-mode))]] /tmp/blah-R-output.png