Re: [Feature] add a new org-attach dispatcher command to offline save web page

2020-05-27 Thread Ihor Radchenko
> This looks helpful, but I think this should be an add-on rather than > integrated into the org-attach. I'm glad to learn about monolith, but > far fewer users are likely to have it installed than have wget or curl > installed. You might also want to check out org-board, which has similar >

[PATCH] goto: Avoid invoking org-mode for outline navigation

2020-05-27 Thread Kyle Meyer
Kyle Meyer writes: > Ihor Radchenko writes: > >> Is there even a need to call the whole (org-mode). The new buffer is >> an indirect buffer. It should already have org-mode activated (at least, >> we can check for it and not call (org-mode) unnecessarily). If we just >> want to reset initial

How to both export html and show the code?

2020-05-27 Thread George Mauer
I would like to both render html and show a source block for the rendered html (I am aware of ob-browser, but I want this to be dynamic html content, not an image) I would have thought the following would work, but noweb returns an empty string Well, this is solvable with css is it not?

Bug: Subtle bug with calling "noweb" blocks with already computed :results output code and :cache yes [9.3.4 (9.3.4-5-ga0f3bb-elpa @ /home/lockywolf/.emacs.d/elpa/org-20200210/)]

2020-05-27 Thread Vladimir Nikishkin
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [Feature] add a new org-attach dispatcher command to offline save web page

2020-05-27 Thread Matthew Lundin
stardiviner writes: > I attached the patch. > > I think this feature will be helpful for use who archive web page data usually > like me. To be more portable, I also added an defcustom option for other > external command. And use an if condition to detect whether external command > available,

Re: Trivial fix for (void-function org-get-outline-path) in org-eldoc.

2020-05-27 Thread Kyle Meyer
Jacob MacDonald writes: > I noticed that after updating my Org I was getting errors instead of > eldoc locations in my .org buffers. Thankfully the fix was a simple > oneliner. Patch attached. As you noted in your next message, this ended up being a part of a larger issue and resolved with a fix

Re: Possible fix for :includes header argument in org-babel C source blocks

2020-05-27 Thread Kyle Meyer
Kévin Le Gouguec writes: > Bastien writes: > >> Brandon Guttersohn writes: >> >>> Hey all, I think I may have a small fix for executing C source blocks >>> in org-babel. Or, possibly just a bad case of user error. >>> >>> The issue (in emacs 27 with -q) is that it doesn't seem possible to >>>

Bug: Org LaTeX preview scaling bug under Windows [9.1.9 (release_9.1.9-65-g5e4542 @ c:/bin/emacs-26.3-x86_64/share/emacs/26.3/lisp/org/)]

2020-05-27 Thread gennady.uraltsev
Dear Everyone, Using official emacs 26.3 binaries for Windows, TexLive, and imagemagick LaTeX preview messes up if scale in org-format-latex-options is set to 1.5 or higher. To reproduce try saving the following (also attached) as an org file and running it with a completely clean emacs

Re: Bug: 20200525 release: invalid function: org-preserve-local-variables [9.3.6 (9.3.6-75-gb614ed-elpa @ /home/jgoerzen/.emacs.d/elpa/org-20200525/)]

2020-05-27 Thread Kyle Meyer
John Goerzen writes: > I recently have upgraded to org 20200525 from your package repo because > org-roam requires a newer org-mode than I had. GNU ELPA has 9.3.6, > which would be new enough, but all of my machines fail downloading the > tar of that version from ELPA with "invalid request", so

Re: Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture

2020-05-27 Thread Kevin Liu
Thanks, it does indeed seem to be fixed on master. On 27 May 2020 18:23, Kyle Meyer wrote: > Kevin Liu writes: > >> Basically, the last position in the narrowed org-capture is actually >> the first position on the next line, so when you go to (end-of-buffer) >> and start typing you start

Re: Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture

2020-05-27 Thread Kyle Meyer
Kevin Liu writes: > Basically, the last position in the narrowed org-capture is actually > the first position on the next line, so when you go to (end-of-buffer) > and start typing you start clobbering the next headline. > > I tested this with emacs -Q, capturing an `entry` with `file+headline` >

[O] Help speeding up Org iCal export

2020-05-27 Thread Ken Mankoff
Hello, When I eval `(org-icalendar-combine-agenda-files nil)`, it takes about 15 seconds. Some strange messages in the *Messages* buffer include: 22 files scanned, 7 files contains IDs and in total 23 IDs found. But my `org-agenda-files` variable only contains 12 files and no #+INCLUDE

Re: Possible fix for :includes header argument in org-babel C source blocks

2020-05-27 Thread Kévin Le Gouguec
Hi, Bastien writes: > Brandon Guttersohn writes: > >> Hey all, I think I may have a small fix for executing C source blocks >> in org-babel. Or, possibly just a bad case of user error. >> >> The issue (in emacs 27 with -q) is that it doesn't seem possible to >> specify non-system header files

[BUG] All drawers except property drawers are open at startup

2020-05-27 Thread Matt Lundin
All drawers default to open at startup except for property drawers. This includes :LOGBOOK: drawers, which can be quite long and block view of an entry. I ran a git bisect and discovered that the bug was introduced with commit 8b05c06d427e850d45684f69c5165cd7684e1071 on May 9. Matt

Re: Bug: ob-python mangles multiline :var values [9.3.6 (release_9.3.6-397-ga089600)]

2020-05-27 Thread Jack Kamm
Hi Matt -- > A heads up... I believe this changes the scope of the :var variables, > since they previously were local to the main() function and now they are > declared globally. After this change, some of my existing python source > blocks (i.e., ones in which I attempt to assign a new value to

org table: one column of random numbers (but natural ones)

2020-05-27 Thread Uwe Brauer
Hi I have a org table and want to add a new colum, which natural numbers which are randomly ordered So I tried #+TBLFM: $1=@#-1::$4=random($1@4);f1 But the column contains real numbers What can I do Uwe Brauer

Re: issue tracker?

2020-05-27 Thread Eric Abrahamsen
Russell Adams writes: > On Wed, May 27, 2020 at 12:59:24PM -0500, Mario Frasca wrote: >> myself, I recently posted a patch, received zero reaction, and have the >> impression it's now lost in the logs of this mailing list.  indeed >> pretty inefficient! > > Or the devs haven't had a chance yet.

Re: Bug: ob-python mangles multiline :var values [9.3.6 (release_9.3.6-397-ga089600)]

2020-05-27 Thread Matthew Lundin
Jack Kamm writes: > Hello, > > Thanks for reporting. I've just fixed this issue in master (commit > 6149b6cb6). > > The problem was that ob-python adds tab indentation to the code body > before putting it inside a main() function, which adds spurious > indentation to multiline strings passed

Re: issue tracker?

2020-05-27 Thread Russell Adams
On Wed, May 27, 2020 at 12:59:24PM -0500, Mario Frasca wrote: > myself, I recently posted a patch, received zero reaction, and have the > impression it's now lost in the logs of this mailing list.  indeed > pretty inefficient! Or the devs haven't had a chance yet. > something which flashed to my

Re: issue tracker?

2020-05-27 Thread Mario Frasca
myself, I recently posted a patch, received zero reaction, and have the impression it's now lost in the logs of this mailing list.  indeed pretty inefficient! something which flashed to my mind while writing this email: we're dealing with an emacs software, part of emacs, can we just use M-x

Bug: 20200525 release: invalid function: org-preserve-local-variables [9.3.6 (9.3.6-75-gb614ed-elpa @ /home/jgoerzen/.emacs.d/elpa/org-20200525/)]

2020-05-27 Thread John Goerzen
Hello, First of all, THANKS for org-mode! I have been using it for several years, and it's fantastic. I recently have upgraded to org 20200525 from your package repo because org-roam requires a newer org-mode than I had. GNU ELPA has 9.3.6, which would be new enough, but all of my machines

Re: feature request: export only body of document for LaTeX & beamer

2020-05-27 Thread Eric S Fraga
On Wednesday, 27 May 2020 at 15:31, Nicolas Goaziou wrote: > Isn't it what C-b is for in the export interface? Why am I not surprised... Yes, that looks like what I need/want! Thank you. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-640-g9bc0cc

Re: feature request: export only body of document for LaTeX & beamer

2020-05-27 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > would it be possible to incorporate something along these lines in > ox-latex.el (and ox-beamer.el): > > #+begin_src emacs-lisp > (defun headless-latex () > "exports to a .tex file without any preamble" > (interactive) > (org-latex-export-as-latex nil

feature request: export only body of document for LaTeX & beamer

2020-05-27 Thread Eric S Fraga
Dear list, would it be possible to incorporate something along these lines in ox-latex.el (and ox-beamer.el): #+begin_src emacs-lisp (defun headless-latex () "exports to a .tex file without any preamble" (interactive) (org-latex-export-as-latex nil nil nil t nil) ) #+end_src

Re: Improving Org Mode for VSCode - Thinking Aloud

2020-05-27 Thread Matt Price
There are a number of interesting topics here. Like others, I would be very keen to share my org-based projects with non-Emacs users. I also only have very limited time & skills to contribute. There is an existing extension for org-mode on vscode here:

Re: How do I set attr_latex for the babel-block outputs?

2020-05-27 Thread Eric S Fraga
On Monday, 25 May 2020 at 12:47, Vladimir Nikishkin wrote: > If I manually set #+attr_latex: :width 8cm above the #+RESULTS, it is > displayed as expected, but If I recompute the picture, it is pasted > above my manually added attr line. Name your src block (using #+name:) and then the results

Re: Asynchronous LaTeX Preview

2020-05-27 Thread Martin Schöön
org-fragtog maybe? https://github.com/io12/org-fragtog (I have not managed to make it work myself but I haven't tried hard.) /Martin On Wed, 27 May 2020 at 08:21, Faye Jackson wrote: > Hi! > > I think the subject of the post says it all. While using org-mode I often > have a lot of LaTeX

[Feature] add a new org-attach dispatcher command to offline save web page

2020-05-27 Thread stardiviner
I attached the patch. I think this feature will be helpful for use who archive web page data usually like me. To be more portable, I also added an defcustom option for other external command. And use an if condition to detect whether external command available, else warning user. -- [

Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture

2020-05-27 Thread Kevin Liu
This old thread describes similar behavior: https://emacs.stackexchange.com/questions/37097/newlines-swallowed-by-org-capture Basically, the last position in the narrowed org-capture is actually the first position on the next line, so when you go to (end-of-buffer) and start typing you start

Bug: ox-html.el: Code blocks extend out of box border

2020-05-27 Thread Seshal Jain
The exported html from Org Mode contains a style for element pre.src, overflow: visible. This causes code elements with reasonably long lines to extend out of the box boundaries, causing a horizontal scroll of the document. Changing overflow: visible to overflow: auto should solve this, making the

Asynchronous LaTeX Preview

2020-05-27 Thread Faye Jackson
Hi! I think the subject of the post says it all. While using org-mode I often have a lot of LaTeX fragments scattered in my documents for mathematics, and I typically use the startup functionality to load all those previews when a file is loaded. Due to this, I'd be really interested in