Re: org-capture at point

2020-09-29 Thread No Wayman
Since org-plus-contrib 20200920, I'm no longer able to get org-capture to insert a template at the point. Instead, it seems to place the entry at the appropriate heading level, above the current heading. Looking at the help page, perhaps it's this behavior: This happens with both a custom inte

Re: opening a 0.5 MB org file is slow

2020-09-29 Thread Ihor Radchenko
> There's a thread about improving this, see: > https://orgmode.org/list/87h7x9e5jo.fsf@localhost/ > > Just in case that's of interest :) If anyone is interested, any feedback and/or testing will be appreciated. The relevant patch is complete in terms of functionality now. Best, Ihor TEC writes

Re: opening a 0.5 MB org file is slow

2020-09-29 Thread TEC
Samuel Wales writes: a long time ago i discovered that drawers were the bottleneck. i removed a lot of them and got much faster loading speeds. idk if that is still true. There's a thread about improving this, see: https://orgmode.org/list/87h7x9e5jo.fsf@localhost/ Just in case that's o

Re: PATCH: Display point of code block point when confirming evaluation

2020-09-29 Thread TEC
Kyle Meyer writes: That sounds reasonable to me, and the change looks fine to me. My only thought is that perhaps the line number would be friendlier to report, but I don't feel strongly about that. +1 for line numbers Assuming the current format is something like: "Do you want to eval

Re: opening a 0.5 MB org file is slow

2020-09-29 Thread Samuel Wales
a long time ago i discovered that drawers were the bottleneck. i removed a lot of them and got much faster loading speeds. idk if that is still true. i think there is an effort to speed logbook and properties up by changing from overlays to text properties or so. recent maint is perhaps twice a

Re: opening a 0.5 MB org file is slow

2020-09-29 Thread Ihor Radchenko
> I'm afraid I don't know how to profile the opening of a file. Does > anybody know a function that would do the profiling like > elp-instrument-function for functions? There is elp-instrument-package. Also, I did successful profiling with simple profiler-start/profiler-report before and after ope

Re: PATCH: Display point of code block point when confirming evaluation

2020-09-29 Thread Kyle Meyer
Thanks for the patch, and sorry for the very delayed response. Jarmo Hurri writes: > Greetings. > > Please find attached a patch that adds the point of the source code > block to the message shown to user when confirming the evaluation of the > block. > > In large org-files, I have often trouble

Re: Proposal: do not align tags in Agenda

2020-09-29 Thread Kyle Meyer
Michaël Cadilhac writes: > Hello all, > > I have a wide screen, which makes right edge alignment of tags in the > agenda inconvenient (they're hard to match with the main entry). > Setting org-agenda-tags-column to a specific column overwrites part of > the entry, which is not optimal. I'd simply

Framing images?

2020-09-29 Thread Mike Gauland
I'd like to have a frame around images in my exported documents. I'm primarily interested in LaTeX export, but html is a secondary concern. Is there any easy way to do this that I'm failing to find? Kind regards, Mike

Re: Bug: Math mode doesn't work if followed by a dash [9.4 (nil @ /home/gutin/.emacs.d/.local/straight/build/org-mode/)]

2020-09-29 Thread Berry, Charles
See below. > On Sep 29, 2020, at 11:53 AM, Richard Lawrence wrote: > > "Berry, Charles" writes: > >> The case Gutin describes conforms to the documentation, viz. `$x\beta$-` >> should produce math mode LaTeX as I read the next paragraph. >> >> From (info "(org) LaTeX fragments"): >> >> •

Re: opening a 0.5 MB org file is slow

2020-09-29 Thread Russell Adams
On Tue, Sep 29, 2020 at 11:06:39PM +0200, Jeremie Juste wrote: > Can you test with emacs -Q ? Another good question is are you starting Emacs and opening the file, or just opening the file with Emacs already loaded? -- Russell Adams

Re: [PATCH] Omit file description when :file-desc has nil value

2020-09-29 Thread Matt Huszagh
Kyle Meyer writes: > I'd be happy for you to take what I sent and work it into a proper > patch. Here are some other loose ends in addition to the manual update > you mentioned: > > * a NEWS entry for 9.5 > > * decide whether (:file-desc . []) should be handled explicitly rather > than t

Re: opening a 0.5 MB org file is slow

2020-09-29 Thread Jeremie Juste
Hello Uwe, Can you test with emacs -Q ? A 1.6M org file took a little under 7 sec on my computer. It probably depends on the number of minor modes are being loaded, font-lock, auto-completion, etc. I'm afraid I don't know how to profile the opening of a file. Does anybody know a function that w

opening a 0.5 MB org file is slow

2020-09-29 Thread Uwe Brauer
Hi maybe I am just to impatient but on my 8 GB Thinkpad X1 (4gen) to open a 0.5MB org file takes around 15 sec. Any change to speed this up? Thanks and regards Uwe Brauer

Re: ob-java compile only

2020-09-29 Thread John Herrlin
ian martins writes: > Thanks for explaining. That makes sense. > > I'm hesitant to add the compile-only header for a couple reasons. Generally > C-c C-c on a source block means "run this" but with compile-only it'll mean > "run this but don't run it." It's semantically inconsistent. Also I want

Re: Bug: Math mode doesn't work if followed by a dash [9.4 (nil @ /home/gutin/.emacs.d/.local/straight/build/org-mode/)]

2020-09-29 Thread Richard Lawrence
"Berry, Charles" writes: > The case Gutin describes conforms to the documentation, viz. `$x\beta$-` > should produce math mode LaTeX as I read the next paragraph. > > From (info "(org) LaTeX fragments"): > >• Text within the usual LaTeX math delimiters. To avoid conflicts > with curre

[PATCH] Persistently save downloaded inline remote images

2020-09-29 Thread Ferdinand Pieper
Currently remote images are downloaded upon each display. As most of the time the images do not change in between redisplays, we can instead buffer the images locally and only update the local copy when the remote image is updated. Attached is a proposed patch. Best, >From aa34ad1176f4599c5a3

[PATCH] ob-gnuplot: handle remote input files

2020-09-29 Thread Ferdinand Pieper
When passing a remote file like "/ssh:myserver:/myfile.txt" to a gnuplot block as variable the gnuplot process can not access the remote data. An example: --8<---cut here---start->8--- #+begin_src gnuplot :var data="/ssh:myserver:/myfile.txt" plot data u 1:2 #

Re: Bug: Math mode doesn't work if followed by a dash [9.4 (nil @ /home/gutin/.emacs.d/.local/straight/build/org-mode/)]

2020-09-29 Thread Berry, Charles
See below. > On Sep 28, 2020, at 11:42 AM, Richard Lawrence wrote: > > Hi Gutin, > > gutin writes: > >> What I meant is that if you type >> >> $*$-algebra >> >> and hit C-c C-x C-l, then the "$*$" doesn't get replaced with a >> mathematical image. A similar problem happens when you export

org-capture at point

2020-09-29 Thread david wen riccardi-zhu
I use org-plus-contrib 2020928 with Emacs 27.1. Since org-plus-contrib 20200920, I'm no longer able to get org-capture to insert a template at the point. Instead, it seems to place the entry at the appropriate heading level, above the current heading. Looking at the help page, perhaps it's thi

Re: Bug: org-priority face has extra space at the end starting from version 9.4 [9.4 (9.4-elpaplus @ /home/rrudakov/.emacs.d/elpa/org-plus-contrib-20200914/)]

2020-09-29 Thread Roman Rudakov
"Protesilaos Stavrou" writes: > Roman Rudakov [2020-09-15, 18:50 +]: > >> I use theme which draw boxes around priority cookie. Before updating to >> version 9.4 box was rendered just around square brackets, but since >> version 9.4 it has additional space at the end. >> >> I think it's relat