Re: patch for org-capture.el to allow for no file extension on open-source, protocol

2020-05-10 Thread Stacey Marshall
On 10 May 2020, at 13:57, Nicolas Goaziou wrote: Hello, "Stacey Marshall" writes: The issue was that the URL I was opening had the full filename as-is. No extension needed to be added or removed. If no suffix is provided in the alist then the function failed. The patch allows both

[PATCH] manual: Fix special property descriptions for DEADLINE/SCHEDULED

2020-05-10 Thread Kyle Meyer
Kyle Meyer writes: > Instead I think it'd be better to update the documentation and tweak > the output on colview's end. Here's an update for the manual. I'll apply it in a day or two if no objections come in. -- >8 -- Subject: [PATCH] manual: Fix special property descriptions for

Re: Possible bug with columnview and active dates

2020-05-10 Thread Kyle Meyer
Kyle Meyer writes: > While I think it's be fair to consider this a regression, I'm leery of s/it's be/it's/ > restoring the original behavior of stripping the brackets given how long > the current behavior has been around. Instead I think it'd be better to > update the documentation and tweak

Re: Possible bug with columnview and active dates

2020-05-10 Thread Kyle Meyer
Kyle Meyer writes: >> According to the docs: >> https://orgmode.org/manual/Special-Properties.html#Special-Properties >> Using DEADLINE or SCHEDULED should not include the angular brackets. > > Thanks for the report. There is certainly a document/code mismatch. > Digging a bit, it seems that

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Nicolas Goaziou
Ihor Radchenko writes: > Currently, `org-flag-region' only removes one SPEC type of overlays: > > (remove-overlays from to 'invisible spec) > > If we change it to > > (remove-overlays from to 'invisible spec) > (when flag > (remove-overlays from to 'invisible 'org-hide-drawer) > ... > ) > >

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Nicolas Goaziou
Ihor Radchenko writes: > This should be better: > https://gist.github.com/yantar92/e37c2830d3bb6db8678b14424286c930 Thank you. > This might get tricky in the following case: > > :PROPERTIES: > :CREATED: [2020-04-13 Mon 22:31] > > :SHOWFROMDATE: 2020-05-11 > :ID:

Re: Possible bug with columnview and active dates

2020-05-10 Thread Kyle Meyer
> I posted this question here: > https://emacs.stackexchange.com/questions/58337/how-remove-active-date-from-a-dynamic-block-using-columnview > regarding removing the active dates from a columnview. A user replied > suggesting this could maybe be a bug. > > According to the docs: >

Re: Bug: Images with link break LaTeX export with centered images [9.3.6 (9.3.6-elpa @ /home/arne/.guix-profile/share/emacs/site-lisp/)]

2020-05-10 Thread Arne Babenhauserheide
Nicolas Goaziou writes: >> When I use the syntax for images with link, exporting to LaTeX fails, >> because it uses \begin{center} inside the href: … >> To reproduce: use linked image syntax like this: >> >> >>

Customizable fixed indentation column

2020-05-10 Thread Panagiotis Vlantis
Hello to all, This is my first time using the mailing list so please point out if I am going about this the wrong way. After searching a bit, I didn't find a way to specify a custom fixed indentation column in org sections; the current implementation automatically aligns content at the

Re: [PATCH] Fix moving cursor in org-set-tags-command

2020-05-10 Thread Matthew Lundin
Nicolas Goaziou writes: > >> -(when (save-excursion (skip-chars-backward "*") (bolp)) >> - (forward-char >> +(and (looking-at " ") >> + (string-match "\\*+" (buffer-substring (point-at-bol) (point))) >> + (forward-char > > Please replace `and' with `when' if

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Ihor Radchenko
> You're talking about "overview" (org-overview), whereas I'm talking > about "contents view" (org-content). They are not the same. In the > latter, you show every headline in the buffer, so you have one overlay > per headline. Thanks for the explanation. I finally understand you initial note. I

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Nicolas Goaziou
Ihor Radchenko writes: > If you want, I can test the file without :LOGBOOK: lines tomorrow. Don't worry, it doesn't matter now. > No, there are only 9 'outline overlays in the folded buffer if we do not > create overlays for drawers. This is because outline-hide-sublevels > called by

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Ihor Radchenko
> Unfortunately, reviewing this way is not nice. This should be better: https://gist.github.com/yantar92/e37c2830d3bb6db8678b14424286c930 > The `insert-and-inherit' issue sounds serious. We cannot reasonably > expect any library outside Org to use it. > > We could automatically extend invisible

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Ihor Radchenko
> I don't know how you made your test. You probably didn't > remove :LOGBOOK: lines. When headlines are fully folded, there are > 8 overlays in the buffer, where there used to be 10k. It cannot be > a "small improvement". Ouch. I did not remove :LOGBOOK: lines. I thought you referred to the

Re: Display in minibuffer link under point

2020-05-10 Thread Garjola Dindi
Hi, Thanks both of you for your answers. What would be the way to automatically trigger =display-local-help= when the point is on the link? Org-ref does that beautifully ;) Thanks again. Garjola On Fri 08-May-2020 at 22:48:37 +02, John Kitchin wrote: > It looks like that variable is

Re: "\_" sequences in indented lines of column view dynamic blocks

2020-05-10 Thread Dauer, Michael
Thanks, understood. It would be nice to have to have an option to just use other indentation characters like "." for ASCII or special blanks for other encoding. And what about the second question? I'm looking for something like a minlevel argument. Am So., 10. Mai 2020 um 17:33 Uhr schrieb

Re: "\_" sequences in indented lines of column view dynamic blocks

2020-05-10 Thread Nicolas Goaziou
Hello, "Dauer, Michael" writes: > What are the "\_" sequences in indented lines of column view dynamic blocks > good for? Those are entities, like, e.g., \alpha. They have two effects. 1. They allow indenting the cell in the buffer. Text columns are left aligned otherwise. 2. They

Possible bug with columnview and active dates

2020-05-10 Thread Org Mode
Hello, I posted this question here: https://emacs.stackexchange.com/questions/58337/how-remove-active-date-from-a-dynamic-block-using-columnview regarding removing the active dates from a columnview. A user replied suggesting this could maybe be a bug. According to the docs:

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Kyle Meyer
Nicolas Goaziou writes: > Ihor Radchenko writes: > >> My response to you was blocked by your mail server: >> >>> 550 5.7.1 Reject for policy reason RULE3_2. See >>> http://postmaster.gandi.net > > Aka "spam detected". Bah. > >> The message landed on the mail list though: >>

"\_" sequences in indented lines of column view dynamic blocks

2020-05-10 Thread Dauer, Michael
Hi, What are the "\_" sequences in indented lines of column view dynamic blocks good for? I just find them ugly and irritating. See the simple example below: #+BEGIN: columnview :indent t :id local | ITEM | a | |---+---| | column view | 7 | | \_ item1 | 3 | | \_

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Nicolas Goaziou
Ihor Radchenko writes: > My response to you was blocked by your mail server: > >> 550 5.7.1 Reject for policy reason RULE3_2. See >> http://postmaster.gandi.net Aka "spam detected". Bah. > The message landed on the mail list though: >

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Nicolas Goaziou
Ihor Radchenko writes: > I still do not feel much difference, so I used elp to quantify if there > is any difference I cannot notice by myself. I tested the time to move > from to bottom of the example file with next-logical-line. > > org master (7801e9236): > 6(#calls)

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Ihor Radchenko
>> I tested with master + my personal config + native compilation of org, >> Emacs native-comp branch, commit c984a53b4e198e31d11d7bc493dc9a686c77edae. >> Did not see much improvement. >> Vertical motion in the folded buffer is still quite slow. > > Oh! This is embarrassing. I improved speed, then

Re: patch for org-capture.el to allow for no file extension on open-source, protocol

2020-05-10 Thread Nicolas Goaziou
Hello, "Stacey Marshall" writes: > The issue was that the URL I was opening had the full filename as-is. > No extension needed to be added or removed. If no suffix is provided > in the alist then the function failed. The patch allows both > online-suffix and working-suffix to not be required.

Re: [Patch] Do not ignore headers argument in ob-latex

2020-05-10 Thread Nicolas Goaziou
Hello, Yuri Lensky writes: > I have updated the attached patch to use `mapconcat' as requested. > `org-format-latex-header' is already declared earlier in ob-latex.el. I fixed the commit message and applied the patch. Thank you. > I am not sure what kind of test you have in mind, since this

Re: Bug: Images with link break LaTeX export with centered images [9.3.6 (9.3.6-elpa @ /home/arne/.guix-profile/share/emacs/site-lisp/)]

2020-05-10 Thread Nicolas Goaziou
Hello, Arne Babenhauserheide writes: > When I use the syntax for images with link, exporting to LaTeX fails, > because it uses \begin{center} inside the href: > > > \href{covid-19-germany-infections-by-date-prognosen-2020-03-23.png}{\begin{center} > >

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-10 Thread Nicolas Goaziou
Hello, stardiviner writes: > I found Org Mode's completion (from ~completion-at-point-functions~ which is > provided by ~pcomplete-completions-at-point~) can complete in bellowing places > (the "|" represent cursor point): [...] > So I think Org Mode need an union API to manage those

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2020-05-10 Thread Nicolas Goaziou
Hello, Ihor Radchenko writes: >> Oops, you are right. I fixed this. It should be way faster. I can >> navigate in your example file without much trouble. >> >> Please let me know how it goes. > > I tested with master + my personal config + native compilation of org, > Emacs native-comp branch,

Bug: Images with link break LaTeX export with centered images [9.3.6 (9.3.6-elpa @ /home/arne/.guix-profile/share/emacs/site-lisp/)]

2020-05-10 Thread Arne Babenhauserheide
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.