Re: org-babel-load-file support elisp

2020-02-09 Thread Bastien
Hi Tim and Troy, Tim Cross writes: > I came across this inconsistency a while back. I think the problem is > that you should *not* be able to use elisp as a language specifier in > source blocks. > > All other language specifiers comply to the pattern of source block > languages being the langua

Re: babel latex headers and image generation commands

2020-02-09 Thread Bastien
Hi Matt, Matt Huszagh writes: > What do people think? If there's any interest, I'm more than happy to > put in the extra time and add this functionality to > latex-execute. If you find the time to share your change as a _patch_ (not the whole updated Elisp function), that will allow more reader

Re: Faster version of org-find-olp

2020-02-09 Thread Bastien
Hi Eric, Eric Abrahamsen writes: > I ended up writing a function on top of that that does find-or-create, > so you can go to a certain outline path, creating and inserting > (optionally in sorted order) the missing segments as you go. It was > fairly difficult to get right, so perhaps it will be

Re: How to set time limit and memory limit for execution of source blocks

2020-02-09 Thread Anoop GR
Thanks for the tip Ken. I will get hold of one of those packages and modify it to my needs. On Sun, Feb 9, 2020 at 8:24 PM Ken Mankoff wrote: > On 2020-02-03 at 22:40 -08, Anoop GR wrote... > > How do I enforce the same on my orgmode source blocks. I want the > > execution to stop whenever it

Re: Glacial file operation!

2020-02-09 Thread Bastien
Sharon Kimble writes: > I actually solved it after I'd emailed you Glad to read this, and thanks for replying! -- Bastien

Re: Prose with markup needs more line spacing [legibility 5/6]

2020-02-09 Thread Bastien
Hi Samuel, Samuel Wales writes: > i'd sure like to change physical indentation in org to don't. please try (setq org-adapt-indentation 'headline-data) from latest master branch, and see how it behaves in a new org buffer. -- Bastien

Re: Make code elements in prose unobtrusive [legibility 6/6]

2020-02-09 Thread Bastien
Tim Cross writes: > Changing defaults is far more problematic as it has the potential to > impact a large number of existing users who have their environment > configured the way they like already. Yes, indeed. -- Bastien

Re: Prose with markup needs more line spacing [legibility 5/6]

2020-02-09 Thread Bastien
Texas Cyberthal writes: > #+begin_src elisp > ;; prose with markup needs more line spacing > (defun leo-space-lines () > (setq line-spacing 0.175)) > (add-hook 'org-mode-hook 'leo-space-lines) > #+end_src This can definitely be part of the Emacs theme you can write to target prose writers. --

Re: Fixed vs variable pitch font [legibility 4/6]

2020-02-09 Thread Bastien
Adam Porter writes: > Having said that, if Org could have a simple org-mixed-pitch-mode, or > something like that, that could be very helpful, since it could make > such configuration much easier. If anyone wants to start coding something like this, we can consider referencing it on Worg. --

Re: org-adapt-indentation default should be nil [legibility 3/6]

2020-02-09 Thread Bastien
Hi Texas and Adam, Adam Porter writes: >> Beginners are bad at making adjustments to keep heavily-indented >> prose legible. Thus the default should be nil. > > I think you have a better case for changing this setting. The default `org-adapt-indentation' can indeed be problematic. One problem

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-09 Thread Bastien
Hi Texas, Texas Cyberthal writes: > #+begin_src elisp > (org-startup-truncated nil) > #+end_src I disagree. The whole discussion about mixing prose and code in the same buffer is interesting: ideas like mixing variable pitch fonts, truncating lines for specific parts of the buffer, etc. are al

Re: Defaults for noobs, dotfiles for vets [legibility 1/6]

2020-02-09 Thread Bastien
Hi Texas and Adam, Adam Porter writes: >> Inexperienced users will mostly use Org for longform prose, since they >> haven't learned its database functions yet. Since Org aspires to be a >> personal info manager, it should prioritize prose presentation above >> code conventions. > > Org is not in

Re: Possible bug report: URL capitalization in online manual

2020-02-09 Thread Bastien
Hi Ori, thanks a lot for taking the trouble to produce this file, very useful. I've now installed the rewrite rules on the server and all these links are redirecting correctly. Given the amount of Org documentation links living out there, that's really a good idea. > Versioned folders living sid

Re: Bug: org-indent-region doesn't restore cursor position when org-src-tab-acts-natively is t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2020-02-09 Thread Bastien
Hi Sébastien, Sébastien Miquel writes: > As far as I can tell, this is still broken in 9.3.3, which has your > fix included. yes, the initial fix was wrong. The current behavior when the region is active in a src block is to indent the whole source block, which is not what the user expect. Th

Re: [PATCH] Fix `org-babel-detangle' handling of false positives

2020-02-09 Thread Bastien
Hi Kevin, Kevin Foley writes: > Thank you for the feedback! I'm working with my employer regarding > copyright assignment and should have that sorted out shortly. I'll > submit the proposed changes once that's taken care. great, thanks a lot for taking the time to go through this! -- Basti

Re: Possible bug report: URL capitalization in online manual

2020-02-09 Thread Ori
Hi Bastien, Attached are the relevant URL aliases. When I initially saw the issue I thought it was a matter of a change to the way the docs are built, not old vs new documentation. That makes the list I've attached a little tricky to maintain. Of course within emacs is the best way for a user to

Re: [PATCH] Fix `org-babel-detangle' handling of false positives

2020-02-09 Thread Kevin Foley
Hi Bastien, Thank you for the feedback! I'm working with my employer regarding copyright assignment and should have that sorted out shortly. I'll submit the proposed changes once that's taken care. Kevin Bastien writes: > Hi Kevin, > > this looks good. The patch is significant enough that w

Re: Bug: org-indent-region doesn't restore cursor position when org-src-tab-acts-natively is t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2020-02-09 Thread Sébastien Miquel
Thank you for looking into this. As far as I can tell, this is still broken in 9.3.3, which has your fix included. I've updated org to 9.3.3, describe-function brings me to the org.el file with your save-window-excursion modification, and I've deleted the .elc file just in case. Hi Sébas

Re: How to set time limit and memory limit for execution of source blocks

2020-02-09 Thread Ken Mankoff
On 2020-02-03 at 22:40 -08, Anoop GR wrote... > How do I enforce the same on my orgmode source blocks. I want the > execution to stop whenever it exceeds the above limits on memory and > time. There are several packages that implement :async source blocks via the :async header arg. It seems like

Bug: broken org-cycle-include-plain-lists integrate [9.3.3 (9.3.3-elpa @ /home/bruce/.emacs.d/elpa/org-9.3.3/)]

2020-02-09 Thread Bruce Tulloch
* Bug Report (setq org-cycle-include-plain-lists 'integrate) seems to have no effect. That is, plain lists are no longer cycling as children of outline headings. * Example This content appears when cycling on Example * This plain list line appears (correct) * this line also appe