Re: [PATCH] Bug: Fontification: Heading following a comment

2020-09-15 Thread Nicolas Goaziou
blank This looks wrong, but so does the current regexp. It should not be `space' nor `blank', but [ \t] per Org syntax. Regards, -- Nicolas Goaziou

Re: Revert "Fix encrypt/decrypt in presence of arbitrary drawers"

2020-09-13 Thread Nicolas Goaziou
hedule them, or add a note, as long as `org-at-encrypted-entry-p' is non-nil. I don't think you can handle the initial problem otherwise. Regards, -- Nicolas Goaziou

Re: [feature request] A new cookie type [!] showing the last note taken

2020-09-13 Thread Nicolas Goaziou
bly a generic solution, but do we really need one? If you want to access programmatically to notes, don't set `org-log-into-drawer' to nil. Regards, -- Nicolas Goaziou

Revert "Fix encrypt/decrypt in presence of arbitrary drawers"

2020-09-13 Thread Nicolas Goaziou
--->8--- Since such data is never needed for encryption, I suggest to stay on the safe side and encrypt anything below the properties drawer. Regards, -- Nicolas Goaziou

Re: Getting Org-Crypt to work (doc bug?)

2020-09-13 Thread Nicolas Goaziou
cut here---end--->8--- Upon saving the file, I type the key twice, and the entry is encrypted. Note that I evaluated (org-crypt-use-before-save-magic) once beforehand. Regards, -- Nicolas Goaziou

Re: Bug: Multiple Links on same line causes parsing problems [9.3.8 (9.3.8-elpa @ /home/dsmasterson/.emacs.d/elpa/org-9.3.8/)]

2020-09-13 Thread Nicolas Goaziou
r links like this "[[#AB", the editor will assume that > the link is completed by the close brackets of the next link, thus, > combining the two links into one. I have to carefully delete the > beginning brackets or ending brackets to allow me to fix things. IIRC, this is already fixed i

Bug: Source code blocks no longer natively fontified [9.3.7 (release_9.3.7-802-g9f0af6 @ /home/nicolas/.config/emacs/straight/build/org-plus-contrib/)]

2020-09-10 Thread Nicolas De Jaeghere
-g9f0af6 @ /home/nicolas/.config/emacs/straight/build/org-plus-contrib/) -- Nicolas De Jaeghere

Re: [PATCH] org-element: Hide parsers boilerplate into plist-creating macros

2020-09-09 Thread Nicolas Goaziou
Hello, Bastien writes: > akater writes: > >> We replace some repetetive code with macro calls org-prog-plist and >> org-let*-prog-plist. > > IIUC this is a refactoring, it does not add or remove functionalities? > > I'll let Nicolas decide on this, of course. F

Re: [feature request] A new cookie type [!] showing the last note taken

2020-09-09 Thread Nicolas Goaziou
t. It doesn't seem to be a big deal, however, as you don't lose anything by keeping notes in old syntax around. Regards, -- Nicolas Goaziou

Re: Bug: Exporting internal link to special latex block [9.3.7 (9.3.7-14-gb2b587-elpa @ /home/lobo/.emacs.d/elpa/org-20200720/)]

2020-09-08 Thread Nicolas Goaziou
y `org-latex-prefer-user-labels' has a nil default value. The following patch implements the same for HTML. I didn't test it thoroughly, tho. Regards, -- Nicolas Goaziou >From 243c213c205b8157d9ce5552dd0489cc6ae229ff Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 8 Sep 2020

Re: [PATCH] Re: Export to attach directory?

2020-09-06 Thread Nicolas Goaziou
) > + (throw :found > + (org-element-property > + :value element)))))) See `org-collect-keywords'. Regards, -- Nicolas Goaziou

Re: export an org file to a latex file but in a differerent directory

2020-09-04 Thread Nicolas Goaziou
Hello, Bastien writes: > There is none, that's indeed a backward compatibility issue. Note that exporting to a different directory is called publishing. Regards, -- Nicolas Goaziou

Re: [feature request] A new cookie type [!] showing the last note taken

2020-09-03 Thread Nicolas Goaziou
ng a line with an asterisk followed by a space _always_ create a headline. However, writing an item with a line break at the end of its first line is not necessarily a note. - Question.\\ Why would this be a note? - Answer.\\ It isn't. So, suggested syntax is too ambiguous. Regards, -- Nicolas Goaziou

Re: Putting the value of page-delimiter in some outline regexps?

2020-09-03 Thread Nicolas Goaziou
ny case, as it would affect every headline, not only the last one in the buffer. Regards, -- Nicolas Goaziou

Re: [feature request] A new cookie type [!] showing the last note taken

2020-08-31 Thread Nicolas Goaziou
The risk of false positive is too high. This is the reason why notes were never considered as syntactically meaningful so far. > The is taken from `org-log-note-headings'. This is configurable, which is not a good idea for any new syntax. Regards, -- Nicolas Goaziou

Re: [feature request] A new cookie type [!] showing the last note taken

2020-08-30 Thread Nicolas Goaziou
Ihor Radchenko writes: > I feel that my understand of "note" in context of org is different from > yours. Is there a formal definition of "note" in org? As I stated in my first post a few hours ago: Notes are mostly free-form; there is no syntax describing them. > However, we can formalise

Re: [feature request] A new cookie type [!] showing the last note taken

2020-08-30 Thread Nicolas Goaziou
Ihor Radchenko writes: > I was mainly referring to org-add-note. The last note taken with > org-add-note can be found quite reliably. > > I am using the following code saving the last note into :SUMMARY: > property upon exiting the note buffer. Though it may be an overkill, not > sure how easy

Re: [feature request] A new cookie type [!] showing the last note taken

2020-08-30 Thread Nicolas Goaziou
form; there is no syntax describing them. Org cannot tell what is a "note". As a consequence, pointing to "the last note taken" is not reliable, syntax wise. Of course, under some assumptions (e.g., notes setup is fixed, you never write notes by hand, ...), you could guess what the last note taken is. But again, this is not reliable, and not portable. Regards, -- Nicolas Goaziou

Re: [PATCH] Fix bug in org-num check for commented headlines

2020-08-27 Thread Nicolas Goaziou
d the string-match check breaks. Checking if title is non-nil fixes > this. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] Add org-md-src-block for src-block formater

2020-08-26 Thread Nicolas Goaziou
Hello, Naoya Yamashita writes: > I found `ox-md` exporter drop src-block language information. > My patch fixes the behavior. This is a feature. "ox-md" exports to vanilla Markdown, which doesn't support such syntax. You may want to use other back-ends, e.g., "ox-gfm&qu

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Nicolas Goaziou
he syntax in LaTeX? You may use radio tables to transform an Org table into a Markdown table (whatever that means, vanilla Markdown doesn't support tables). Regards, -- Nicolas Goaziou

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Nicolas Goaziou
Vladimir Alexiev writes: > Here's some code that works for me. > It overwrites 2 org table functions, changing just one line (see "FIXED"). > Would be nice if this can be adopted in org; of course with a proper option > etc. You may suggest it to Markdown mode. I think this is a terrible idea

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Nicolas Goaziou
to make this conditional: > (concat "+" That will not work without changing Org syntax. Markdown and Org table are incompatible. Regards, -- Nicolas Goaziou

Re: [bug] args out of range upon meta-return in body of list item

2020-08-20 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > i presume the fix will come out in the next release of maint? I applied the fix on master because it is built on top of another fix from there. So no, it should be available in Org 9.4 only. Regards, -- Nicolas Goaziou

Re: LaTeX math export problems

2020-08-18 Thread Nicolas Goaziou
cannot see your LaTeX environment. You can use \begin{equation*} ... \end{equation*} instead and lift the ambiguity. Regards, -- Nicolas Goaziou

Re: [BUG] The latest commit "f4687993c53a5339e" caused inline image preview try to convert PDF file link

2020-08-17 Thread Nicolas Goaziou
ert large PDF > into png images. Caused very long time suspend. You can customize the variable and remove "pdf". Regards, -- Nicolas Goaziou

Re: Bug: links to filename containing word "loops" fail to export

2020-08-16 Thread Nicolas Goaziou
nd open (C-c C-e l o), observing > missing items when the list below is exported: > - [[file:loopy.org]] > - [[file:loops.org]] > - [[file:loopz.org]] > - [[file:some-loops.org]] > - [[file:some-loopz.org]] Fun bug. This should be fixed (make sure to start from

Re: [PATCH] improve ol-man.el with occur searching

2020-08-16 Thread Nicolas Goaziou
foo.org::text]] text links, and uses `occur' with [[foo.org::/text/]] links. Wouldn't it be more idiomatic to use a regular text search here? Regards, -- Nicolas Goaziou

Re: [bug] args out of range upon meta-return in body of list item

2020-08-16 Thread Nicolas Goaziou
in `org-list-insert-item'. I pushed a fix and a test for that. Regards, -- Nicolas Goaziou

Re: ISSUE: Unable to resolve link (html export)

2020-08-16 Thread Nicolas Goaziou
property set to "+TITLE: test" in the file "test.org" Therefore, it is automatically removed in another context, e.g., in text search. However, the export process doesn't resolve text searches. If you want to link to a specific part of the text, you can use a target. Regards, -- Nicolas Goaziou

Re: Bug: Link descriptions include checkbox counter [9.3.7 (9.3.7-16-g521d7f-elpaplus @ /home/tarjei/.emacs.d/elpa/org-plus-contrib-20200803/)]

2020-08-13 Thread Nicolas Goaziou
this > :PROPERTIES: > :ID: 129ed2c7-1ef2-4207-bb79-bfcec5fe6907 > :END: > - [X] Done > - [ ] Not done > > ,*** Other text > And now the link, [[id:129ed2c7-1ef2-4207-bb79-bfcec5fe6907][[1/2] Link to > this]]. > #+end_src I cannot reproduce it. You may want to try master branch. Regards, -- Nicolas Goaziou

Re: Bug: org-table-sort-lines returns error [9.3.7 (release_9.3.7-705-gea9463 @ /home/oub/emacs/site-lisp/packages/org/)]

2020-08-13 Thread Nicolas Goaziou
rks ^ ??? You didn't say you were narrowing something. Anyway, for the time being the error may come from Org Ref (org-ref-delete-labels). Regards, -- Nicolas Goaziou

Re: Markup border outdated in spec?

2020-08-13 Thread Nicolas Goaziou
ersion of Org. I updated the spec. Thank you. Regards, -- Nicolas Goaziou

Re: [BUG] org-fill-paragraph fills paragraph before selected region

2020-07-14 Thread Nicolas Goaziou
. > --8<---cut here---end--->8--- > > > This is the result. Note that the first paragraph, which is outside the > selected region, is also filled. Fixed. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] Make org-eldoc work with Emacs 28

2020-07-13 Thread Nicolas Goaziou
continue to work by setting the new variable > eldoc-documentation-strategy, which puts eldoc in > "backwards-compatability" mode. Thank you. Do we need another variable for that? Could org-eldoc-documentation-funicton catch wrong-number-of-arguments error, and try another call instead? Regards, -- Nicolas Goaziou

Re: [PATCH] ox: Add Romanian smart quotes

2020-07-13 Thread Nicolas Goaziou
Hello, Alexandru-Sergiu Marton writes: > * lisp/ox.el (org-export-smart-quotes-alist): Add Romanian variants for > smart quotes. I added TINYCHANGE at the end of the commit message (assuming you haven't signed FSF papers yet) and applied your patch. Thank you! Regards, -- Nicolas Goaziou

Re: empty/nil in table cells

2020-07-10 Thread Nicolas Goaziou
ve comments about your suggestion. Regards, -- Nicolas Goaziou

Re: Error (args out of range) when editing list

2020-07-10 Thread Nicolas Goaziou
Jarmo Hurri writes: > I think I am running the latest (stable) master: Note: stable ≠ master, so you just wrote an oxymoron ;) > Org mode version 9.3.7 (release_9.3.7-13-ge62ca4) This is not quite HEAD. Mine is release_9.3.7-683-g95eaab.

Re: Error (args out of range) when editing list

2020-07-10 Thread Nicolas Goaziou
d you try with latest master? I cannot reproduce it. Regards, -- Nicolas Goaziou

Re: empty/nil in table cells

2020-07-09 Thread Nicolas Goaziou
gt; table (instead of giving up with a user-error, I now get a nil). Would you mind explaining? > it works for me, and I don't see counterindications.  is it > worthwhile, offering you the patch? Thank you. It may be so, but I may be missing some context. Regards, -- Nicolas Goaziou

Re: Wring case when using org-insert-structure-template

2020-07-09 Thread Nicolas Goaziou
to do so? You can customize `org-structure-template-alist'. I don't remember if that's possible in Org 9.1.9, tho. Regards, -- Nicolas Goaziou

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-07 Thread Nicolas Goaziou
ommand. > > 4. The second paragraph is not filled. Fixed. Thank you. Regards, -- Nicolas Goaziou

Re: Spurious comma after C-c '

2020-07-06 Thread Nicolas Goaziou
Colin Baxter writes: > Well, yes. But should it really be in an "example" source block? Are you asking if this comma character is needed? This particular comma is due to Org being over-cautious, and may be ignored. But you should simply ignore it. > If this is then exported and the author

Re: Spurious comma after C-c '

2020-07-06 Thread Nicolas Goaziou
e_9.3.7-669-g3327fb) This is an escape character. See (info "(org) Literal Examples"). Regards, -- Nicolas Goaziou

Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph

2020-07-06 Thread Nicolas Goaziou
n ECM demonstrating the issue? Regards, -- Nicolas Goaziou

Re: org-insert-item, indent causes a soft freeze or error message

2020-07-06 Thread Nicolas Goaziou
; No indentation: > If the indentation is removed from the second line: > 1. a > b > 2. c > > Then it might be working as expected: > 1. a > 2. > b > 2. c > > a correctly numbered list item is inserted. > > The fourth lines list number: 2. c > didn't change, but it might be expected since there was no indentation > before the: b > therefore it might be assumed that the list ended there. This is expected. You need to fix the second list manually, with C-c C-c. Regards, -- Nicolas Goaziou

Re: [PATCH] org-entities: rename section with eth and thorn to "Icelandic"

2020-07-05 Thread Nicolas Goaziou
Hello, Albert Krewinkel writes: > Eth and thorn are letters in the Icelandic alphabet, and the language > is in active use. > > TINYCHANGE Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] org-id: Fix behavior when `org-id-extra-values' is a symbol

2020-07-05 Thread Nicolas Goaziou
rg-id-extra-values' to be a > symbol that references another variable was removed. This change > restores that functionality. Thanks. I applied the patch. I also fixed the commit hash in the message. Regards, -- Nicolas Goaziou

Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region

2020-07-05 Thread Nicolas Goaziou
*") 'org-emphasis-bold) (org-defkey org-mode-map (kbd "M-o M-*") 'org-emphasis-bold) (org-defkey org-mode-map (kbd "M-o ~") 'org-emphasis-code) (org-defkey org-mode-map (kbd "M-o M-~") 'org-emphasis-code) (org-defkey org-mode-map (kbd "M-o /") 'org-emphasis

Re: [PATCH] allow for multiline headers

2020-07-04 Thread Nicolas Goaziou
preciate some enlightenment on the topic. For example, could you show what code your extension generates with the table above? Regards, -- Nicolas Goaziou

Re: [9.4] LOGBOOK visibility

2020-07-04 Thread Nicolas Goaziou
overlays, you can't have your cake and eat it too. > I am currently working on a patch to rewrite the whole folding system. > Your issue should disappear once it is applied. Yes, hopefully, switching to text properties will get us out of this sad situation. Regards, -- Nicolas Goaziou

Re: [PATCH] allow for multiline headers

2020-07-01 Thread Nicolas Goaziou
like PLOT[0] and PLOT[1], you are effectively suggesting to write code, with conditionals. Anyhow, I think it is more future-proof to use, and possibly improve "ob-gnuplot.el" so it is easier to use, than to develop PLOT keywords. WDYT? Regards, -- Nicolas Goaziou

Re: a related bug Re: Breaking line inside list item

2020-06-29 Thread Nicolas Goaziou
f,a sdfasd fsdnjkfanksda d.ssa > dkfasn df. > > what i get is a somewhat surprising creation of a new > entry below the entry that contains the list. this occurs > even with m-x org-insert-item, which imo should not affect > entries at all. I cannot reproduce it. Regards, -- Nicolas Goaziou

Re: Breaking line inside list item

2020-06-29 Thread Nicolas Goaziou
Sébastien Miquel writes: > I meant to go from > >  - Cogito, >    - ergo > sum > > to > >  - Cogito, >    - ergo >    sum Structurally, this is weird. You are splitting a paragraph in two parts, and sending the latter one into another item. I think you can use regular Emacs commands,

Re: [PATCH] allow for multiline headers

2020-06-29 Thread Nicolas Goaziou
Mario Frasca writes: > again, my idea is that we're describing something new, and I'm > wondering what lisp construct could be used to describe a table like > this one: > > | h1 | h2 | h3 | > |++| > | 11 | 12 | 13 | > | 21 | 22 | 23 | > | 31 | 32 | 33 | > |++| > | a1 | a2

Re: [PATCH] allow for multiline headers

2020-06-29 Thread Nicolas Goaziou
I have a header, a body, > and a summary, and I'm only interested in the header and body, not the > summary. > > just scattered thoughts … who fills in? There is no such thing as a "table summary" in Org syntax. Regards, -- Nicolas Goaziou

Re: Breaking line inside list item

2020-06-29 Thread Nicolas Goaziou
of nested list, a way to cycle the indentation to that of > the main or inside list would also be nice. I'm not sure what you mean here. Regards, -- Nicolas Goaziou

Re: [PATCH] allow for multiline headers

2020-06-28 Thread Nicolas Goaziou
Hello, Mario Frasca writes: > On 24/06/2020 02:19, Nicolas Goaziou wrote: >> >>>> This could be extracted as an independent function, which would return >>>> the header, or nil. We can also imagine a function returning a cons cell >>>> (HEADER . B

Re: [FR] Add check for attachments in org-lint

2020-06-28 Thread Nicolas Goaziou
Hello, Gustavo Barros writes: > So, I'd like to kindly suggest that either "attachment" be included as > a case in `org-lint-link-to-local-file' or that an equivalent check > for attachments be included in `org-lint'. I'd be much thankful. This is done in master. Regards, -- Nicolas Goaziou

Re: [PATCH] may we focus on readability?

2020-06-28 Thread Nicolas Goaziou
a good idea, really. For this kind of complexity, I suggest to consider using gnuplot source code blocks, with the table as input. Regards, -- Nicolas Goaziou

Re: [PATCH] may we focus on readability?

2020-06-28 Thread Nicolas Goaziou
these changes. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region

2020-06-26 Thread Nicolas Goaziou
kers or extending existing ones. Allow me to polish up my draft a bit, so we can compare the benefits of each system. Regards, -- Nicolas Goaziou

Re: [PATCH] Add mode for automatically unhiding emphasis markers in the current region

2020-06-24 Thread Nicolas Goaziou
me draft lying somewhere in that direction. WDYT? Regards, -- Nicolas Goaziou

Re: Bug: latex export of item description [9.3.6 (9.3.6-elpa)]

2020-06-24 Thread Nicolas Goaziou
\end{description} Regards, -- Nicolas Goaziou

Re: Bug: Inconsistent formatting when terminating bold inside a link [9.3 (release_9.3 @ /usr/share/emacs/27.0.91/lisp/org/)]

2020-06-23 Thread Nicolas Goaziou
tches like this one from time to time. Patches welcome, of course. However, the fontification will never be perfect unless its internals are rewritten. Regards, -- Nicolas Goaziou

Re: Bug: ox-md: URL in HTML tables should not use markdown syntax [9.3.1 (9.3.1-dist @ /usr/share/emacs/site-lisp/elpa/org-9.3.1/)]

2020-06-23 Thread Nicolas Goaziou
See https://www.markdownguide.org/basic-syntax#html-best-practices Fixed. Thank you. Regards, -- Nicolas Goaziou

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

2020-06-21 Thread Nicolas Goaziou
w functions into the main system. Regards, -- Nicolas Goaziou

Re: texinfo manual links not working?

2020-06-20 Thread Nicolas Goaziou
u need to (require 'ol-info) Regards, -- Nicolas Goaziou

Re: [PATCH] may we focus on readability?

2020-06-16 Thread Nicolas Goaziou
g and > test-writing. I didn't know you hadn't signed FSF papers. Since we are in feature freeze, and this is not a bug-fix, what about waiting until bureaucracy is over? Of course, this assumes you're planning to sign FSF papers. Regards, -- Nicolas Goaziou

Re: [PATCH] may we focus on readability?

2020-06-16 Thread Nicolas Goaziou
Hello, Mario Frasca writes: > how do I run tests from the command line (I'm using make test) but > then limited to one lisp file?  or one specific test? Use BTEST_RE="regexp" prefix, e.g., BTEST_RE="table" make test Regards, -- Nicolas Goaziou

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2020-06-14 Thread Nicolas Goaziou
stardiviner writes: > I tested with command "emacs -q" and an minimal Emacs config. Both failed to > started. I also record an screen video to show this problem. > > Link: https://pan.baidu.com/s/1iBbcStvNCwdN1vB8ivISdw password code: > r6ws I cannot see the video. But this isn't an ECM

Re: [PATCH] may we focus on readability?

2020-06-14 Thread Nicolas Goaziou
(plist-put params :textind t) >;; Write script. >(with-temp-buffer OK. Note you can go even further: nested `if' should be replaced with a `cond'. Also, further nit: (not (cl-every ...)) will apply `not' only once. In any case, it would be better if refactoring happens while introducing unit tests *hint*. Regards, -- Nicolas Goaziou

Re: [PATCH] may we focus on readability?

2020-06-14 Thread Nicolas Goaziou
Hello, writes: > Isn't `seq-some' equivalent? (in this case, at least; cl-some is > willing to take more than one sequence). This is only tangential to your question, but, unfortunately, we cannot use `seq-some' as Org still supports Emacs 24.3. Regards, -- Nicolas Goaziou

Re: [PATCH] allow for multiline headers

2020-06-14 Thread Nicolas Goaziou
Hello, Mario Frasca writes: > On 13/06/2020 17:18, Nicolas Goaziou wrote: >> Unit tests are not worth a formal definition. However, "test-ox.el" >> contains unit tests. > > I'm not sure what you mean by the first sentence I mean that, even though unit tests a

Re: (Feature Request) customise LaTeX-preview regex

2020-06-14 Thread Nicolas Goaziou
upport for LaTeX macros, i.e., this is not AucTeX. In particular, it supports macros with at most one argument. With a proper "latex_header" keyword, it should be possible to preview \ce{...}, but not \SI{ … }{ … }. Likewise, the former will be correctly exported, but not the latter. Regar

Re: [PATCH] allow for multiline headers

2020-06-13 Thread Nicolas Goaziou
framework. Try to export, e.g., | a | | b | |---| | c | in HTML. They are also assumed to be valid in the manual, per above. So, if your question is: "should Org support multiple lines headers?", I'd say that it already does, but it should definitely be made more consistent across the various libraries (e.g., Org Plot). Regards, -- Nicolas Goaziou

Re: Statistic cookies for headings and list items

2020-06-13 Thread Nicolas Goaziou
to consider (4). I think (3) is > only relevant if we go for (2), which I don't really like. > > What do you think? Isn't COOKIE_DATA property there to disambiguate this situation? Regards, -- Nicolas Goaziou

Re: Inconsistent behaviour: toggle inline images does not work with relative paths [9.3.7 (9.3.7-2-g706970-elpa @ /Users/matthijs/.emacs.d/elpa/org-20200608/)]

2020-06-13 Thread Nicolas Goaziou
is org-toggle-inline-images : this does > not disable inline image preview (though it does *enable* it). I cannot reproduce it. Calling `org-toggle-inline-images' twice bring me back to link text. Could you try again with a minimal setup? Regards, -- Nicolas Goaziou

Re: [PATCH] org-element.el: Fix properties being upcased by parser

2020-06-13 Thread Nicolas Goaziou
tion that `keyword' > is normalized by being upcased Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [RFC] Rewrite org-(forward|backward)-paragraph

2020-06-13 Thread Nicolas Goaziou
Since there was no negative feedback, I pushed to master. Thanks.

Re: Bug: Export to html not working [9.3.7 (9.3.7-2-g706970-elpaplus @ /Users/gmauer/.emacs.d/elpa/develop/org-plus-contrib-20200608/)]

2020-06-13 Thread Nicolas Goaziou
e which - aside from the footer - contains only a > single letter `n` as contents I cannot reproduce it. You may want to test with a minimal set-up, and possibly bisect your configuration. Regards, -- Nicolas Goaziou

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2020-06-13 Thread Nicolas Goaziou
de an ECM, including your .mailcap? Regards, -- Nicolas Goaziou

Re: Bug: Option to disable evaluation of code blocks during export [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)]

2020-06-13 Thread Nicolas Goaziou
g Code Blocks"). Improvements to the manual are welcome, of course. Regards, -- Nicolas Goaziou

Re: [PATCH] Fix org-capture-place-entry narrow bounds

2020-06-13 Thread Nicolas Goaziou
the > middle of editing the capture. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] allow for multiline headers

2020-06-12 Thread Nicolas Goaziou
starting with a hline has no header. Therefore, I suggest to avoid removing hlines at the beginning of a table, we would lose information. Regards, -- Nicolas Goaziou

Re: org-lint and org-attach DIR property

2020-06-12 Thread Nicolas Goaziou
ght. I removed the warning for dir property. Thank you. Regards, -- Nicolas Goaziou

Re: Bug: Option to disable evaluation of code blocks during export [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)]

2020-06-12 Thread Nicolas Goaziou
al header arguments in its multiple forms, `org-export-use-babel'. Adding one more could also add confusion. Regards, -- Nicolas Goaziou

Re: Bug: Option to disable evaluation of code blocks during export [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)]

2020-06-11 Thread Nicolas Goaziou
w which > code block it's > asking to evaluate. What is wrong with :eval no-export header? You can set it globally, file-wise, tree wise, or per block. Regards, -- Nicolas Goaziou

Re: [PATCH] Allow org-capture-mode-hook to access org-capture-current-plist [9.3.6 (release_9.3.6-443-g0e8aff @ /home/n/.emacs.d/straight/build/org/)]

2020-06-10 Thread Nicolas Goaziou
feature freeze, but since the change was very small, and was discussed a while before I applied it nonetheless. I'm cc'ing Bastien for the heads-up, if he wants to revert this for 9.4 release. Regards, -- Nicolas Goaziou

Re: [PATCH] org-element.el: Update comment

2020-06-10 Thread Nicolas Goaziou
Hello, Leo Vivier writes: > I’ve noticed that a comment on the caching of org-element wasn’t up to > date, so I went ahead and updated it. I’ve also fixed a missing quote > for one of the variables. Applied. Thank you. Regards, -- Nicolas Goaziou

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

2020-06-10 Thread Nicolas Goaziou
he regexp above, e.g.: (concat (rx bol (zero-or-more (any " " "\t")) "#+end") (if block-type (concat "_" (regexp-quote block-type) (rx (zero-or-more (any " " "\t")) eol)) (rx (opt ":") (zero-or-more (any " " "\t")) eol))) assuming `block-type' is the type of the block, or nil, i.e., (match-string 1) in the previous regexp. > - (pcase (get-char-property-and-overlay (point) 'invisible) > + (pcase (get-char-property (point) 'invisible) > ;; Do not fold already folded drawers. > - (`(outline . ,o) (goto-char (overlay-end o))) > + ('outline 'outline --> `outline > (end-of-line)) >(while (and (< arg 0) (re-search-backward regexp nil :move)) > (unless (bobp) > - (while (pcase (get-char-property-and-overlay (point) 'invisible) > - (`(outline . ,o) > - (goto-char (overlay-start o)) > - (re-search-backward regexp nil :move)) > - (_ nil > + (pcase (get-char-property (point) 'invisible) > + ('outline > +(goto-char (car (org--find-text-property-region (point) 'invisible))) > +(beginning-of-line)) > + (_ nil))) Does this move to the beginning of the widest invisible part around point? If that's not the case, we need a function in "org-fold.el" doing just that. Or we need to nest `while' loops as it was the case in the code you reverted. - Regards, -- Nicolas Goaziou

Re: Import Reusable org-babel snippet using #+SETUPFILE

2020-06-09 Thread Nicolas Goaziou
html exports. SETUPFILE only imports keywords. > Is there a way that I can "import" that snippet without rewriting it in > every file I need it? See (info "(org) Library of Babel") Regards, -- Nicolas Goaziou

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

2020-06-09 Thread Nicolas Goaziou
hopefully, fixed in master. Regards, -- Nicolas Goaziou

Re: [PATCH] org-element.el: Fix properties being upcased by parser

2020-06-08 Thread Nicolas Goaziou
Leo Vivier writes: > Yeah, I’ve reached the same conclusion, and I agree that we could > mention the normalisation in a docstring. Do you want me to take care > of it? Sure! Thank you.

Re: [PATCH] org-element.el: Fix properties being upcased by parser

2020-06-08 Thread Nicolas Goaziou
Leo Vivier writes: > I understand, but I think the function is also used to modify > file-parameters like `#+title`. If you run `org-element-parse-buffer` > on a buffer with the following content: > > [START] > #+title: Foo >

Re: [RFC] Rewrite org-(forward|backward)-paragraph

2020-06-08 Thread Nicolas Goaziou
eight.) I don't either. I didn't notice there was a difference until recently. Regards, -- Nicolas Goaziou

Re: [PATCH] org-element.el: Fix properties being upcased by parser

2020-06-08 Thread Nicolas Goaziou
ain consistency. This might cause > problems with some hard-coded upper case letters in the codebase, but > I haven’t run into any issue so far. This is unrelated to capitalization usage in Org buffers. Upcasing is used to tell the difference between, e.g., :value and :VALUE. Regards, -- Nicolas Goaziou

Re: tables, positioning of `#+Plot:' lines

2020-06-05 Thread Nicolas Goaziou
> point is: as far as I can see, org-plot currently only recognizes its > `#+' lines if they are immediately before the table.  being new to > this world, I a not aware of other `#+:' lines other than TBLFM > and PLOT. #+name: #+header: #+caption: #+results: #+attr_latex: #+attr_html: … They all

Re: tables, positioning of `#+Plot:' lines

2020-06-05 Thread Nicolas Goaziou
ffiliated keyword at the end of the table is a good idea, and I'm sure that allowing it on both ends is a bad one. Regards, -- Nicolas Goaziou

Re: Bug: org-babel-ref-resolve does not find refs in a COMMENT'ed section [9.3.7 (9.3.7-elpaplus @ /home/kdm/.emacs.d/DEBUG/elpa/org-plus-contrib-20200602/)]

2020-06-05 Thread Nicolas Goaziou
: Reference ‘table’ not found in this buffer > > If I remove the "COMMENT" state on the heading, then the table is > found. This sounds correct. A commented section is dead code, after all. Regards, -- Nicolas Goaziou

<    1   2   3   4   5   6   7   8   9   10   >