Re: Website revamp?

2020-08-02 Thread TEC
Colin Baxter writes: >> TEC writes: >> - The site is now more mobile friendly, the navbar now has a > > Why? How many users are installing org-mode on their 'phones - smart or > otherwise? Zero, I expect :P However, I don't think that's the question we should be asking. Consider someone

Re: Website revamp?

2020-08-02 Thread Colin Baxter
> TEC writes: > Another update :) > - For inspection, the WIP-code can now be found on github: > https://github.com/tecosaur/orgwebsite. > - The site is now more mobile friendly, the navbar now has a Why? How many users are installing org-mode on their 'phones - smart or

Re: file-mode source code block header argument

2020-08-02 Thread Kyle Meyer
John Herrlin writes: > Thank you for the comments Kyle! I updated the patch accordingly. Took > your test straight of as I think it's really clean and easy to reason > about. Thanks for the updates. Applied (ea946353a), tweaking the markup in the NEWS entry and rewording the test docstring.

Re: Bug: org-toggle-item removes tags from next heading [9.3.7 (release_9.3.7-696-g82b496 @ mixed installation! /home/n/.emacs.d/straight/build/org/ and /home/n/.emacs.d/straight/build/org/eln-x86_64-

2020-08-02 Thread Kyle Meyer
No Wayman writes: > Added the test in the attached patch. Thanks. Applied (093b474e6), appending a period to the comment in the test for consistency.

Re: Bug: [patch] Fix org-babel-result-to-file never expanding links when babel is evaluated in indirect buffer [9.3.7 (release_9.3.7-728-g1efc4e @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-08-02 Thread Ihor Radchenko
> I don't have a real world scenario, just the one I made up below. I used > that to play around with the function. I see. FYI: I do change default-directory during src block execution in my config. The following code makes src blocks execute inside attachment folder by default: (define-advice

Re: Bug#42184: org-fontify-whole-*-line in emacs 27

2020-08-02 Thread Kévin Le Gouguec
Since 27.1-rc1 is out, I'd like to bump this; it'd be a shame if 27.1 shipped with this bug, which seems to be getting some attention (I just spotted a Reddit thread[1] about it, in addition to the original report on Debbugs). [1]:

Re: Setting language on result of code block

2020-08-02 Thread John Herrlin
You can use =:wrap= for that. Here is the docs: https://orgmode.org/manual/Results-of-Evaluation.html And here is an example. #+BEGIN_SRC shell :results output :wrap example json curl http://ip.jsontest.com/ #+END_SRC #+RESULTS: #+begin_example json {"ip": "8.8.8.8"} #+end_example Best

Setting language on result of code block

2020-08-02 Thread Magnus Therning
Is there some way to specify the language on the result of a code block. For instance, if the block #+begin_src bash aws --endpoint-url=http://localhost:4566 sns create-topic --name the-topic #+end_src gives the result #+RESULTS: #+begin_example { "TopicArn":

Re: make org-refile auto-recache when needed?

2020-08-02 Thread Samuel Wales
i recall wanting this at some point also, and also did not figure out why one would not want it. perhaps it thinks you will use an alternate to refiling if you know it will be too slow. but it's worth keeping in mind that caching has, or had, bugs. in particular, if refile targets are filtered

Re: Bug: [patch] Fix org-babel-result-to-file never expanding links when babel is evaluated in indirect buffer [9.3.7 (release_9.3.7-728-g1efc4e @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-08-02 Thread John Herrlin
Ihor Radchenko writes: >> It's intended to change directory and dont clone base buffer values. I >> tried to accomplish "If the `default-directory' is different from the >> containing file's directory then expand relative links." > > Not sure if I understand your use-case. Can you explain why

[PATCH] org-get-cursor-date regexp patch

2020-08-02 Thread No Wayman
The regular expression in `org-get-cursor-date' assumes the time grid string will have two digits in the hour portion of the time strng. However, the grid time string does not always have two digits. For example: " 8:00.." The attached patch accounts for this and uses the rx macro to

Re: Website revamp?

2020-08-02 Thread TEC
Another update :) - For inspection, the WIP-code can now be found on github: https://github.com/tecosaur/orgwebsite. - The site is now more mobile friendly, the navbar now has a burger state - The features page has seen a revamp in style and content Please check it out and give me

Re: Bug: org-toggle-item removes tags from next heading [9.3.7 (release_9.3.7-696-g82b496 @ mixed installation! /home/n/.emacs.d/straight/build/org/ and /home/n/.emacs.d/straight/build/org/eln-x86_64-

2020-08-02 Thread No Wayman
Kyle Meyer writes: Would you mind updating the patch to add a test case along the lines of your ECM to test-org-list/toggle-item? Thanks. Added the test in the attached patch. Thanks, Kyle. ~ Nicholas Vollmer >From 838a6a548396eecfa958161abb66f0a1719a9aef Mon Sep 17 00:00:00 2001 From:

Bug: Org sentence commands and emphasis markers [9.3 (release_9.3 @ /usr/local/share/emacs/27.1/lisp/org/)]

2020-08-02 Thread Gustavo Barros
Hi All, There is some adverse interaction between Emacs sentence related commands and Org emphasis markers, when whole sentences are emphasized. This report describe some cases of this interaction, for your consideration. But, as a general rule, if a whole sentence is emphasized, sentence

[feature request] org-at-timestamp-p should accept multiple parameters

2020-08-02 Thread Adam Faryna
Hi, recently I was doing some customization and I needed to check if timestamp at a point is active or inactive. That timestamp also contains an agenda like information about reoccurring. So I tried to use org-at-timestamp-p function for this purpose. The problem is I needed to check if the

Re: file-mode source code block header argument

2020-08-02 Thread John Herrlin
Thank you for the comments Kyle! I updated the patch accordingly. Took your test straight of as I think it's really clean and easy to reason about. Best regards Kyle Meyer writes: > John Herrlin writes: > >> I am looking for a way to set permission on a file created from source >> code block

Re: make org-refile auto-recache when needed?

2020-08-02 Thread Ihor Radchenko
Seconding this. Ideally, refile should also try to perform refiling after rebuilding the cache. Best, Ihor Adam Spiers writes: > Hi all, > > I note that when org-refile-use-cache is enabled and the cache becomes > stale, attempting to refile results in this error message (originating > from

Re: [PATCH] lisp/ob-core.el: pass expanded body to org-confirm-babel-evaluate

2020-08-02 Thread Tom Gillespie
Hi Kyle, Sorry for the slow turnaround time on this one. Having now tested it, I think that your solution is a much better one for the time being, so please go ahead and apply it. From this discussion there are a number of good options for improvements in the future, but my priority would be to