Re: [BUG] ox-texinfo no longer inserts menus if there is no content

2023-12-16 Thread Jonas Bernoulli
Ihor Radchenko writes: > Jonas Bernoulli writes: > >>> Are you saying that the problem is still present on the latest main? >> >> Yes, I can still reproduce the "menus are missing" and "type of >> subsections in appendix changed" issues w

Re: [BUG] ox-texinfo no longer inserts menus if there is no content

2023-12-15 Thread Jonas Bernoulli
Ihor Radchenko writes: > Jonas Bernoulli writes: > >> (This came up in 878r9p1ntd@bernoul.li, on emacs-devel, but it >> seems it fell through the cracks.) > > I thought I fixed this in > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=dbf415b84

[BUG] ox-texinfo no longer inserts menus if there is no content

2023-12-14 Thread Jonas Bernoulli
Hello, (This came up in 878r9p1ntd@bernoul.li, on emacs-devel, but it seems it fell through the cracks.) If a section only has subsections but no content of its own, then ox-texinfo no longer generates the section's menu (listing the subsections). And if the section additionally is part of

Re: Unclear where ob-spice.el is being maintained

2023-08-30 Thread Jonas Bernoulli
Bastien Guerry writes: > Ihor Radchenko writes: > >> "Christopher M. Miles" writes: >> >>> Thanks, Updated now. >>>> ... >>>>> Jonas Bernoulli writes: >>>>> >>>>>> In 2022 I changed Melpa to get

Re: Unclear where ob-spice.el is being maintained

2023-08-29 Thread Jonas Bernoulli
>> Stardiviner, the readme in your repository still claims that the package >> is being maintained in two other locations. Please remove that outdated >> information. >> > > I have not found claimed two other locations in my README. Maybe I > missed out. Can you point out? See my other message

Re: Unclear where ob-spice.el is being maintained

2023-08-29 Thread Jonas Bernoulli
"Christopher M. Miles" writes: > Jonas Bernoulli writes: > >> In 2022 I changed Melpa to get ob-spice.el from >> https://repo.or.cz/ob-spice.git in response to >> https://github.com/melpa/melpa/issues/7872#issuecomment-1034945112. >> >> But org-c

Re: Unclear where ob-spice.el is being maintained

2023-08-27 Thread Jonas Bernoulli
Ihor Radchenko writes: > Jonas Bernoulli writes: > >> In 2022 I changed Melpa to get ob-spice.el from >> https://repo.or.cz/ob-spice.git in response to >> https://github.com/melpa/melpa/issues/7872#issuecomment-1034945112. > > The last discussion was back in 20

Unclear where ob-spice.el is being maintained

2023-08-24 Thread Jonas Bernoulli
In 2022 I changed Melpa to get ob-spice.el from https://repo.or.cz/ob-spice.git in response to https://github.com/melpa/melpa/issues/7872#issuecomment-1034945112. But org-contrib still contains that file and the README at the new location still contains > This source code is from

Re: [MAINTENANCE] Org orphanage?

2023-08-24 Thread Jonas Bernoulli
Thanks for offering to help out Corwin! >> Speaking for myself, I can help: >> [...] >> - review the bonafides (experience/involvement and, via Eli/SM, >> assignment status ) for prospective adopting maintainers > > Not sure about emacsorphanage side, but for things we decide to manage > on

Re: [MAINTENANCE] Org orphanage?

2023-08-24 Thread Jonas Bernoulli
Bastien Guerry writes: > Sounds good to me too, I'm "bzg" on GitHub. Thanks! Invitation sent. Please make your "membership" public at https://github.com/orgs/emacsorphanage/people. Welcome! :D

Re: [MAINTENANCE] Org orphanage?

2023-08-17 Thread Jonas Bernoulli
Ihor Radchenko writes: > What about https://github.com/flexibeast/org-vcard and > https://github.com/nikclayton/ob-sql-mode ? Are you saying these packages are unmaintained and asking whether they should be moved to the orphanage? When I feel like that about a package, I usually open an issue

Re: [MAINTENANCE] Org orphanage?

2023-08-16 Thread Jonas Bernoulli
g Github to report issues in favour of Org mailing >> list. > > I see, and I agree, especially if issues against Org orphan packages > are to be reported on the Org mailing list at some point. > > Shall I create https://git.sr.ht/~bzg/org-orphan-packages ? > >> Otherwise, I h

Re: [MAINTENANCE] Org orphanage?

2023-08-16 Thread Jonas Bernoulli
Ihor Radchenko writes: > So, we now have https://orgmode.org/worg/org-orphanage.html I just went through the list of packages mentioned there as being hosted on https://github.com/emacsorphanage: - org-grep should be delisted as it found a new home at https://sr.ht/~minshall/org-grep/ -

Re: [MAINTENANCE] Org orphanage?

2023-08-16 Thread Jonas Bernoulli
Ihor Radchenko writes: > Adding Jonas to the loop. > > For some more context, we are willing to help maintaining orphan > Org-related packages if the requests are submitted to Org mailing list. Thanks, and sorry I forgot about this. I'll have to think about it some more before I can make any

Re: Htmlize support, maintenance, and Org mode (was: [MAINTENANCE] Org orphanage?)

2023-08-16 Thread Jonas Bernoulli
Ihor Radchenko writes: > Jonas Bernoulli writes: > >> `htmlize' is currently maintained at https://github.com/hniksic/emacs-htmlize >> but its maintainer hasn't been responding to any issues and pull-requests >> for quite some time now and seems to be inactive on Gi

[BUG] org-babel-script-escape mishandled empty python list

2022-10-12 Thread Jonas Bernoulli
`org-babel-script-escape' doesn't handle an empty python list correctly; ['a'] => ("a") but [] => []. #+name: addheader #+header: :var rows="" #+begin_src python return [] #+end_src #+header: :post addheader(*this*) #+begin_src emacs-lisp :results table nil #+end_src #+RESULTS: : [] An

[PATCH 1/2] Don't print arguments of post-process arguments to stdout

2022-10-06 Thread Jonas Bernoulli
It is unclear whether the arguments were printed on purpose. It might be useful to do so at times for debugging purposes, but generally they drown out other messages when a lot of post-processing is being done; making it harder to spot messages of interest that would otherwise allow noticing

[PATCH 0/2] Don't print arguments of post-process arguments to stdout

2022-10-06 Thread Jonas Bernoulli
annoyance. Jonas Bernoulli (2): Don't print arguments of post-process arguments to stdout Begin messages about executing code blocks with a capital letter lisp/ob-awk.el| 2 +- lisp/ob-core.el | 2 +- lisp/ob-emacs-lisp.el | 2 +- lisp/ob-groovy.el | 2 +- lisp/ob-maxima.

[PATCH 2/2] Begin messages about executing code blocks with a capital letter

2022-10-06 Thread Jonas Bernoulli
By Emacs' convention all messages should begin with a capital letter. lisp/ob-awk.el (org-babel-expand-body:awk): lisp/ob-core.el (org-babel-execute-src-block): lisp/ob-groovy.el (org-babel-execute:groovy): lisp/ob-maxima.el (org-babel-execute:maxima): lisp/ob-sed.el (org-babel-execute:sed):

[PATCH v1] Allow returning empty list from post-processing block

2022-10-06 Thread Jonas Bernoulli
* lisp/ob-ref.el (org-babel-ref-resolve): When the result an empty list, then treat it as a list, not as the symbol nil. * testing/lisp/test-ob.el (test-ob/post-header-arguments): Add new test. * etc/ORG-NEWS (Post-processing code blocks can return an empty list): Document change in behavior. ---

[PATCH 0/1] Allow returning empty list from post-processing block

2022-10-05 Thread Jonas Bernoulli
Here's my patch, including a test and a news entry. I didn't know where to put the test so I just put it at the beginning. It should probably be moved. Jonas Bernoulli (1): Allow returning empty list from post-processing block etc/ORG-NEWS| 6 ++ lisp/ob-ref.el | 2

[PATCH 1/1] Allow returning empty list from post-processing block

2022-10-05 Thread Jonas Bernoulli
* lisp/ob-ref.el (org-babel-ref-resolve): When the result an empty list, then treat it as a list, not as the symbol nil. * testing/lisp/test-ob.el (test-ob/return-empty-list-from-post-block): Add new test. * etc/ORG-NEWS (Post-processing code blocks can return an empty list): Document change in

Re: Post-process table without changing result for empty table(/list)

2022-10-04 Thread Jonas Bernoulli
Ihor Radchenko writes: > Jonas Bernoulli writes: > >> It used to behave like that before 51a628bc5efc from 2009, which started >> turning all symbols, including nil, into strings, but without giving any >> reason why that should be done. >> >> It has work

Post-process table without changing result for empty table(/list)

2022-10-03 Thread Jonas Bernoulli
Hello, If a code-block that is supposed to produce a table returns an empty list, then nothing at all is inserted, as demonstrated by the second example below: #+begin_src emacs-lisp :results table ;; Some sql query that returns one or more rows: '(("foo" "bar")) #+end_src #+RESULTS: | foo |

[PATCH] etc/ORG-NEWS: Add news items about new features in texinfo exporter

2022-02-15 Thread Jonas Bernoulli
--- etc/ORG-NEWS | 19 +++ 1 file changed, 19 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 5a94e737e..fd29d39d7 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -63,6 +63,20 @@ list of various table options (between brackets in LaTeX export), since certain

Re: [PATCH v5 0/4] ox-texinfo: Define definition commands using description lists

2022-02-11 Thread Jonas Bernoulli
Nicolas Goaziou writes: > Applied. Thank you! We can always revisit the variable name later. Thanks to you too! > Could you provides an ORG-NEWS entry for this? Will do. Cheers, Jonas

[PATCH v5 4/4] ox-texinfo: Allow enabling compact syntax for @itemx per file

2022-01-31 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Document the :texinfo-compact-itemx export option and variable org-texinfo-compact-itemx. * lisp/ox-texinfo.el: Add org-texinfo-compact-itemx to the :options-alist of the texinfo backend. * lisp/ox-texinfo.el (org-texinfo-compact-itemx): New

[PATCH v5 3/4] ox-texinfo: Define definition commands using description lists

2022-01-31 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Document use of definition command prefixes in description lists. * lisp/ox-texinfo.el: Add org-texinfo--separate-definitions to the list of :filter-parse-tree functions of the texinfo backend. * lisp/ox-texinfo.el

[PATCH v5 2/4] ox-texinfo: Optionally use @itemx for certain description list items

2022-01-31 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Reorder and document new functionality. * lisp/ox-texinfo.el (org-texinfo-item): In a description list when its :compact attribute is non-nil, then transcode consecutive items using one @item and one or more @itemx commands, if all of them

[PATCH v5 0/4] ox-texinfo: Define definition commands using description lists

2022-01-31 Thread Jonas Bernoulli
t;compact-itemx" as the name of the export option but it seems that the names of most other options are much shorter, so maybe just "itemx" would be better. I am a bit unsure about the name of the variable as well. Regards, Jonas Jonas Bernoulli (4): ox-texinfo: Add func

[PATCH v5 1/4] ox-texinfo: Add function for use by kbd macro

2022-01-31 Thread Jonas Bernoulli
* doc/doc-setup.org: Use org-texinfo-kbd-macro for kbd macro. * doc/org-manual.org: Add new node "Key bindings in Texinfo export". * lisp/ox-texinfo.el (org-texinfo--quoted-keys-regexp): New variable. * lisp/ox-texinfo.el (org-texinfo-kbd-macro): New function. --- doc/doc-setup.org | 2 +-

Re: [PATCH v4 2/3] ox-texinfo: Optionally use @itemx for certain description list items

2022-01-23 Thread Jonas Bernoulli
Small fix: - (memq (org-element-property :post-blank previous-item) - '(1 nil))) + (eq 1 (org-element-property :post-blank item)))

[PATCH v4 2/3] ox-texinfo: Optionally use @itemx for certain description list items

2022-01-23 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Reorder and document new functionality. * lisp/ox-texinfo.el (org-texinfo-item): In a description list when its :compact attribute is non-nil, then transcode consecutive items using one @item and one or more @itemx commands, if all of them

Re: [PATCH v3 2/3] ox-texinfo: Optionally use @itemx for certain description list items

2022-01-23 Thread Jonas Bernoulli
Nicolas Goaziou writes: >> - (items (and tag >> - (let ((tag (org-export-data tag info))) >> + (items (org-element-property :itemx item)) >> + (items (cond (items >> + (mapcar (lambda (tag) (org-export-data tag info)) >> +

[PATCH v4 0/3] ox-texinfo: Define definition commands using description lists

2022-01-23 Thread Jonas Bernoulli
We are getting closer, I think. Tested with the Org and Magit manuals again. Passed. Jonas Bernoulli (3): ox-texinfo: Add function for use by kbd macro ox-texinfo: Optionally use @itemx for certain description list items ox-texinfo: Define definition commands using description lists doc

[PATCH v4 3/3] ox-texinfo: Define definition commands using description lists

2022-01-23 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Document use of definition command prefixes in description lists. * lisp/ox-texinfo.el: Add org-texinfo--separate-definitions to the list of :filter-parse-tree functions of the texinfo backend. * lisp/ox-texinfo.el

[PATCH v4 1/3] ox-texinfo: Add function for use by kbd macro

2022-01-23 Thread Jonas Bernoulli
* doc/doc-setup.org: Use org-texinfo-kbd-macro for kbd macro. * doc/org-manual.org: Add new node "Key bindings in Texinfo export". * lisp/ox-texinfo.el (org-texinfo--quoted-keys-regexp): New variable. * lisp/ox-texinfo.el (org-texinfo-kbd-macro): New function. --- doc/doc-setup.org | 2 +-

Re: [PATCH 1/2] ox-texinfo: Turn a description list item with "+" bullet into @itemx

2022-01-23 Thread Jonas Bernoulli
Nicolas Goaziou writes: > I suggest to require a special attribute before doing so, e.g., > > #+attr_texinfo: :compact t > - key: a :: > - key: b :: > > - key: c :: > - key: d :: I have noticed that I accidentally called it ":combine" in the documentation and have fixed that. (Do you

Re: [PATCH v3 3/3] ox-texinfo: Define definition commands using description lists

2022-01-23 Thread Jonas Bernoulli
Nicolas Goaziou writes: >> +(defun org-texinfo--massage-key-item (plain-list item args) >> + "In PLAIN-LIST modify ITEM based on ARGS. >> +Reformat ITEM's tag property and add findex and kindex entries to >> +its content. If the bullet is \"+\" then use \"@itemx\" and deal with >> +data from

Re: [PATCH v3 2/3] ox-texinfo: Optionally use @itemx for certain description list items

2022-01-22 Thread Jonas Bernoulli
Nicolas Goaziou writes: >> #+begin_example >> -,#+ATTR_TEXINFO: :table-type vtable :sep , :indic asis >> +,#+attr_texinfo: :table-type vtable :indic asis :sep , >> - foo, bar :: This is the common text for variables foo and bar. >> #+end_example > > This change is not needed. Org markup is

Re: [PATCH v3 3/3] ox-texinfo: Define definition commands using description lists

2022-01-22 Thread Jonas Bernoulli
Nicolas Goaziou writes: >> + (t >> +(org-element-set-contents >> + item (nconc >> + (mapcar (lambda (key) `(keyword (:key "KINDEX" :value ,key))) >> kindex) >> + (mapcar (lambda (cmd) `(keyword (:key "FINDEX" :value ,cmd))) >> findex) >> +

[PATCH v3 1/3] ox-texinfo: Add function for use by kbd macro

2022-01-18 Thread Jonas Bernoulli
* doc/doc-setup.org: Use org-texinfo-kbd-macro for kbd macro. * doc/org-manual.org: Add new node "Key bindings in Texinfo export". * lisp/ox-texinfo.el (org-texinfo-kbd-macro): New function. --- doc/doc-setup.org | 2 +- doc/org-manual.org | 27 +++ lisp/ox-texinfo.el |

[PATCH v3 3/3] ox-texinfo: Define definition commands using description lists

2022-01-18 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Document use of definition command prefixes in description lists. * lisp/ox-texinfo.el: Add org-texinfo--separate-definitions to the list of :filter-parse-tree functions of the texinfo backend. * lisp/ox-texinfo.el

[PATCH v3 2/3] ox-texinfo: Optionally use @itemx for certain description list items

2022-01-18 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Reorder and document new functionality. * lisp/ox-texinfo.el: Add org-texinfo--combine-items to the list of :filter-parse-tree functions of the texinfo backend. * lisp/ox-texinfo.el (org-texinfo--combine-items) New function. *

[PATCH v3 0/3] ox-texinfo: Define definition commands using description lists

2022-01-18 Thread Jonas Bernoulli
The code is the same as in v3, but I noticed that I had forgotten to update one of the doc-strings, so that's fixed here. Cheers, Jonas Jonas Bernoulli (3): ox-texinfo: Add function for use by kbd macro ox-texinfo: Optionally use @itemx for certain description list items ox

Re: [PATCH v2 0/3] ox-texinfo: Define definition commands using description lists

2022-01-14 Thread Jonas Bernoulli
Hello Nicolas, Could you please have another look? Cheers, Jonas Jonas Bernoulli writes: > I think I have addressed all you feedback. > > The only difference when exporting org-manual.org is: > > -When typing text into a field, Org treats @kbd{DEL}, > +When typing

[PATCH v2 1/3] ox-texinfo: Add function for use by kbd macro

2022-01-05 Thread Jonas Bernoulli
* doc/doc-setup.org: Use org-texinfo-kbd-macro for kbd macro. * doc/org-manual.org: Add new node "Key bindings in Texinfo export". * lisp/ox-texinfo.el (org-texinfo-kbd-macro): New function. --- doc/doc-setup.org | 2 +- doc/org-manual.org | 27 +++ lisp/ox-texinfo.el |

[PATCH v2 3/3] ox-texinfo: Define definition commands using description lists

2022-01-05 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Document use of definition command prefixes in description lists. * lisp/ox-texinfo.el: Add org-texinfo--separate-definitions to the list of :filter-parse-tree functions of the texinfo backend. * lisp/ox-texinfo.el

[PATCH v2 2/3] ox-texinfo: Optionally use @itemx for certain description list items

2022-01-05 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Reorder and document new functionality. * lisp/ox-texinfo.el: Add org-texinfo--combine-items to the list of :filter-parse-tree functions of the texinfo backend. * lisp/ox-texinfo.el (org-texinfo--combine-items) New function. *

[PATCH v2 0/3] ox-texinfo: Define definition commands using description lists

2022-01-05 Thread Jonas Bernoulli
I think I have addressed all you feedback. The only difference when exporting org-manual.org is: -When typing text into a field, Org treats @kbd{DEL}, +When typing text into a field, Org treats @kbd{@key{DEL}}, Jonas Bernoulli (3): ox-texinfo: Add function for use by kbd macro ox-texinfo

Re: [PATCH 2/2] ox-texinfo: Define definition commands using description lists

2022-01-05 Thread Jonas Bernoulli
Nicolas Goaziou writes: > Hello, > > Jonas Bernoulli writes: > >> Would it be okay to represent e.g. "C-c SPC" as: >> >>(export-snippet >> (:back-end "texinfo" :value "@kbd{C-c @key{SPC}}" :post-blank 0 :parent >>

Re: [PATCH 1/2] ox-texinfo: Turn a description list item with "+" bullet into @itemx

2022-01-05 Thread Jonas Bernoulli
Nicolas Goaziou writes: >> For example: >> >> - Key: C-c C-w (forge-browse-TYPE) :: >> + Key: C-c C-w (forge-browse-dwim) :: >> + Key: N b I (forge-browse-issues) :: >> + Key: N b P (forge-browse-pullreqs) :: >> + Key: N b t (forge-browse-topic) :: >> + Key: N b i (forge-browse-issue) :: >> +

Re: [PATCH 2/2] ox-texinfo: Define definition commands using description lists

2021-12-27 Thread Jonas Bernoulli
Nicolas Goaziou writes: > There's a mismatch between the keys. Fixed. > Simply put: > > Command in parenthesis, as done above, is optional. Done. >> +Regardless of which approach you use, you must define the =kbd= macro >> +(see [[*Macro Replacement]]), which you can then use anywhere in the

Re: [PATCH 1/2] ox-texinfo: Turn a description list item with "+" bullet into @itemx

2021-12-27 Thread Jonas Bernoulli
Nicolas Goaziou writes: > Hello, > > Thanks. Some comments follow. Thanks for the review! > Jonas Bernoulli writes: > >> +In description lists the used bullet is significant when exporting to >> +Texinfo; when in doubt, then use =-=. An item that uses =+= inst

[PATCH 2/2] ox-texinfo: Define definition commands using description lists

2021-12-18 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Document use of definition command prefixes in description lists. * lisp/ox-texinfo.el (org-texinfo--definition-command-alist) (org-texinfo--definition-command-regexp): New variables. * lisp/ox-texinfo.el (org-texinfo--filter-parse-tree): Call

[PATCH 1/2] ox-texinfo: Turn a description list item with "+" bullet into @itemx

2021-12-18 Thread Jonas Bernoulli
* doc/org-manual.org (Plain lists in Texinfo export): Reorder and document new functionality. * lisp/ox-texinfo.el (org-texinfo--filter-parse-tree) (org-texinfo--normalize-items): New functions. * lisp/ox-texinfo.el (org-texinfo-item): Use @itemx or @item depending on the used bullet. ---

[PATCH 0/2] ox-texinfo: Define definition commands using description lists

2021-12-18 Thread Jonas Bernoulli
ore detail in the manual, which I have updated. The other styles that are used in Org's own manual are not affected and both styles can be used in the same manual. Cheers, Jonas Jonas Bernoulli (2): ox-texinfo: Turn a description list item with "+" bullet into @itemx ox-texinf

Re: Merging ox-texinfo+ into ox-texinfo

2021-11-30 Thread Jonas Bernoulli
Sorry for the delay, I got side-tracked with many other things. Nicolas Goaziou writes: >>> It is possible to mix the two styles; >> >> Well... it turned out not to be true, but I should be able to get it >> to work. > > Then I suggest to use "attr_texinfo" keyword, for example: > >

Re: Merging ox-texinfo+ into ox-texinfo

2021-11-20 Thread Jonas Bernoulli
Nicolas Goaziou writes: > I like the idea, thank you for suggesting it. Great :D >>#+TEXINFO_DEFFN: t > > The chosen UI is rather odd however. I cannot think of another use of > controlling export thhough "#+keyword: boolean" syntax. Usually, we > extend the "options" keyword. It could

Merging ox-texinfo+ into ox-texinfo

2021-11-09 Thread Jonas Bernoulli
Hello, In the olden days before Org's own manual was written using an org-mode file, I started doing just that for Magit. Because ox-texinfo.el wasn't quite there yet I wrote an extension, ox-texinfo+.el, to fill in the gaps. Since then I have written seven more manuals that use my extension.

Re: Lisp error: (void-function org-element-keyword-parser)

2021-10-22 Thread Jonas Bernoulli
> A blind guess: Try to run make clean? Didn't help here. I have added (with-eval-after-load 'org (require 'org-element)) to my init.el as a temporary workaround.

Re: Texinfo exporter fails to export M-x helm-documentation

2021-05-31 Thread Jonas Bernoulli
Nicolas Goaziou writes: > The problem is that you are explicitly requesting a level of headlines > without providing a sectioning command for them. By default > `org-texinfo-classes' stops at level 4. > > Anyway, this should be fixed. Thank you. You did that in

Re: [IMPORTANT] The contrib/ directory now lives outside of Org's repository

2021-05-06 Thread Jonas Bernoulli
Bastien writes: > Jonas Bernoulli writes: > >> All the *ELPAs extract metadata from the "main library", which by >> default is the library whose name matches the name of the package. >> >> If the name doesn't match, then it can be overridden, bu

Re: [IMPORTANT] The contrib/ directory now lives outside of Org's repository

2021-05-04 Thread Jonas Bernoulli
Bastien writes: > The files previously stored in the contrib/ directory of Org's repo > now lives here: https://git.sr.ht/~bzg/org-contrib Congrats. Better late than never. ;D > The plan is to build a NonGNU ELPA package called "org-contrib", > we will see if that's feasible. All the *ELPAs

[PATCH 1/1] Fix typos

2020-05-13 Thread Jonas Bernoulli
--- contrib/lisp/org-depend.el | 4 ++-- doc/org-manual.org | 2 +- lisp/org-clock.el | 2 +- lisp/org.el| 2 +- mk/server.mk | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/lisp/org-depend.el

[PATCH 0/1] Fix various typos

2020-05-13 Thread Jonas Bernoulli
er this has to be misspelled to function as expected, so I did't fix the typo. Jonas Bernoulli (1): Fix typos contrib/lisp/org-depend.el | 4 ++-- doc/org-manual.org | 2 +- lisp/org-clock.el | 2 +- lisp/org.el| 2 +- mk/server.mk | 2 +- 5 fil

Re: A new, "org-bullets"-like minor mode

2020-02-02 Thread Jonas Bernoulli
owever is that the author has been inactive for > several years now, with the package being maintained by Jonas Bernoulli, > who I did not yet contact. I don't actually use it myself and just enable it temporarily if someone reports a bug or something. It's not that I am not interested in somet

[PATCH] Fix typos

2019-11-12 Thread Jonas Bernoulli
Please consider applying the below patch, which fixes many spelling errors. I did not write a commit message that lists every file and function/variable that happened to contain a typo. That seems rather unnecessary for this type of change, but if you want that I can do it. In addition to the

[O] Some internal libraries still depend on org-bbdb and org-bibtex

2019-04-20 Thread Jonas Bernoulli
Hello In 499c0a50cc4b11e37b91374af23cb27ab8fc20d2 some libraries were renamed, but some other libraries continue to depend on the old features: - lisp/ox-icalendar.el still depends on org-bbdb - contrib/lisp/org-bibtex-extras.el still depends on org-bibtex Overall this change did not cause too

Re: [O] ox-texinfo: use an Org section as Info Top node

2018-06-18 Thread Jonas Bernoulli
Nicolas Goaziou writes: > > Jonas Bernoulli writes: > >> Currently ox-texinfo uses the text before the first Org section as the >> "Top" Info node. That is fine for manuals like org-manual.org where >> that part of the document only consists of a few

[O] ox-texinfo: use an Org section as Info Top node

2018-06-16 Thread Jonas Bernoulli
> > This manual is for Borg version 2.0.0 (v2.0.0-59-g89a9394+1). > > Copyright (C) 2016-2018 Jonas Bernoulli > ... It is already possible to set the section whose content is to be used on the copyright page (and which can be inserted elsewhere using "#+texinfo: @insertcopy

[O] Typo in README

2018-01-14 Thread Jonas Bernoulli
There is a typo in the first word of the README. I was surprised to learn that it existed for five years. Cheers, Jonas

Re: [O] Git repository error

2017-12-18 Thread Jonas Bernoulli
> Bastien, can you please look at this? And once you do, please also consider making the repository (and the webpage) available over https. Only very few packages remain that use Git without making a man-in-the-middle attack impossible. The Org team follows best practices in most cases where

Re: [O] htmlize

2017-10-25 Thread Jonas Bernoulli
This was discussed here: https://github.com/hniksic/emacs-htmlize/issues/7.

Re: [O] Release 9.1

2017-09-06 Thread Jonas Bernoulli
> Org-mode 9.1 is out! Congratulations!

Re: [O] Make org-cycle outline-mode compatible again

2017-07-27 Thread Jonas Bernoulli
> I suggest to use a hook instead (maybe `org-tab-first-hook' or some > such). Alright. I have decided to go with `outline-magic.el'. After some modernization it seems to work well. I don't remember what the problem was the last time I tried. I will probably publish my updated version

Re: [O] Better default for org-texinfo-info-process

2017-07-27 Thread Jonas Bernoulli
>> Please consider making this the default value. > > I agree that makes sense. Done. Thanks!

[O] Disable indent-tabs-mode in org-src buffers if appropriate

2017-07-26 Thread Jonas Bernoulli
Me again, For the most part Org now honors the file-local value of `indent-tabs-mode' as set in an Org file. When that value is `nil' and a buffer used to edit a source block from that file contains lines that begin with tabs, then those tabs are being replaced with spaces before the text is

[O] Better default for org-texinfo-info-process

2017-07-26 Thread Jonas Bernoulli
Hello, For some reason the authors of `makeinfo' thought it would be a good idea to split the generated info file into two files by default once its size reaches a certain undocumented threshold. When that happened to me for the first time I was very surprised and thought that "foo-1.info" and

[O] Two ox-texinfo regressions

2017-07-25 Thread Jonas Bernoulli
Hello, 1) Starting with "1b415735e ox-texinfo: Small menu refactoring" a menu contains not only entries for subnodes but recursively for all subsub...nodes. That's because `org-element-map' is no longer called with `headline' as NO-RECURSION. You can use this trivial source to

[O] Make org-cycle outline-mode compatible again

2017-07-25 Thread Jonas Bernoulli
Hello While I realize I probably should not be using `org-cycle' in buffers in which `outline-minor-mode' is enabled, I have been doing it for a long time, and while that command certainly is overkill in such buffers, the only problem I have run into is that I usually have to apply a tiny patch

Re: [O] Two formerly internal libraries that are still being required but no longer exist

2017-03-01 Thread Jonas Bernoulli
> I don't think this is an issue. This function only makes sense if user > has an old `org-remember' library lying around. Otherwise, it raises an > error. This is the actual behaviour. Makes sense, and is more friendly than the alternative. > The other option is to remove the function

[O] Two formerly internal libraries that are still being required but no longer exist

2017-02-28 Thread Jonas Bernoulli
I've run into these two feature inconsistencies: - The command ~org-protocol-create-for-org~ does ~(require 'org-publish)~, but that should now be ~ox-publish~. - The command ~org-capture-import-remember-templates~ does ~(require 'org-remember)~, which makes sense because its purpose is to

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
/s/indention/indentation/ And sorry for the earlier top-posting and generally awful formatting. For some odd reason I subscribed using Gmail, and that is giving me some grieve. On Sat, Jan 14, 2017 at 11:11 PM, Jonas Bernoulli <jonasbernou...@gmail.com> wrote: > On Sat, Jan 14, 2017 a

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
On Sat, Jan 14, 2017 at 6:52 PM, Nicolas Goaziou wrote: > > > Could you show an ECM? > I was going to, but: Turns out: 1. Whether -i is used doesn't matter here. 2. The reason these blocks are not intended the same way is that SRC => @example or @lisp EXAMPLE =>

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
On Sat, Dec 31, 2016 at 3:40 PM, Nicolas Goaziou wrote: Besides, using `org-export-filter-final-output-functions' seems easier > than your set up. > This approach works too. The following code produces exactly the same result as what I posted earlier: (defun

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
I'll get back to you in a few days. On Sat, Jan 14, 2017 at 6:52 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Jonas Bernoulli <jonasbernou...@gmail.com> writes: > > > I did notice myself that the two-space indentation for blocks that are > part > &g

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
PM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > Jonas Bernoulli <jonasbernou...@gmail.com> writes: > > > This seemed promising at first but let to all kinds of strange behavior. > > Code-blocks that are part of a list item turned out to partic

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
Thanks for the tip and sorry for the late response. This seemed promising at first but let to all kinds of strange behavior. Code-blocks that are part of a list item turned out to particularly painful, as here "Finally, you can use ā€˜-iā€™ to preserve the indentation of a specific code block" means

Re: [O] Something like #+BIND but for the destination buffer

2017-01-03 Thread Jonas Bernoulli
So here's the ECM: * Node #+BEGIN_SRC emacs-lisp (progn (progn foo bar)) #+END_SRC It doesn't matter whether `bar))` is preceded, in the org file, by two tabs or 16 spaces. In both cases it will be preceded by one tab followed by 7 spaces in the texi file; and by 5 spaces followed by one tab

Re: [O] Something like #+BIND but for the destination buffer

2017-01-03 Thread Jonas Bernoulli
Hi So Gmail decided that your reply was spam... On Sat, Dec 31, 2016 at 3:40 PM, Nicolas Goaziou wrote: > > Could you provide an ECM? > What's an ECM? > > Besides, using `org-export-filter-final-output-functions' seems easier > than your set up. > I'll try that,

[O] Something like #+BIND but for the destination buffer

2016-12-31 Thread Jonas Bernoulli
I need to ensure that the texinfo exporter generates texi files that use space for indentation even when the global value of indent-tabs-mode is t. If tabs are used, then code blocks end up being intended wrong in the final info file. There are probably other more direct approaches to achieve

Re: [O] ox-texinfo: add support for NONODE element property

2016-04-08 Thread Jonas Bernoulli
> The property should probably be renamed to e.g. NOCHILDNODES, since it > is the *children* of the section which has this option set that do not > get any nodes of their own, not the section for which the property is > set. Ignore this. It is the section that has NONODE which does not get its

[O] ox-texinfo: add support for NONODE element property

2016-04-08 Thread Jonas Bernoulli
Hello, In the Magit manual I usually use separate nodes for sections and subsections, but in a few cases a section's children should be part of the section's node. I accomplished that by adding an additional element property NONODE and redefining `org-texinfo-headline' and

[O] ox-texinfo: non-numbered links to numbered sections

2016-04-08 Thread Jonas Bernoulli
Hello, Currently "#+OPTIONS: num:N" not only affects whether sections are numbered, it also controls whether links to numbered sections look like See *note 5.2.3: Section hooks. or See *note Section hooks: Section hooks. in the info file. Here the first seems better, but when looking at

Re: [O] ox-texinfo: empty line before "* Menu:" is missing

2016-04-08 Thread Jonas Bernoulli
> Fixed. Thank you. Thanks to you too! Jonas

Re: [O] ox-texinfo: empty line before "* Menu:" is missing

2016-04-06 Thread Jonas Bernoulli
The related `org-texinfo--build-menu' has a similar issue. Unlike `org-texinfo-make-menu' which may end up not inserting a newline when it should, it may end up removing a newline when it should not. Given this Org file: #+TITLE: Demo2 Manual #+TEXINFO_DIR_CATEGORY: Emacs

[O] ox-texinfo: empty line before "* Menu:" is missing

2016-04-06 Thread Jonas Bernoulli
Hello Given this Org file #+TITLE: Demo Manual #+TEXINFO_DIR_CATEGORY: Emacs #+TEXINFO_DIR_TITLE: Demo: (demo). #+TEXINFO_DIR_DESC: Demo. * Missing empty line There is text between the heading and the menu ** There is text before this menu ** the empty line before Menu

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-19 Thread Jonas Bernoulli
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Jonas Bernoulli <jo...@bernoul.li> writes: > >> Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: >> >>> Jonas Bernoulli <jo...@bernoul.li> writes: >>> >>>> Thanks.

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-18 Thread Jonas Bernoulli
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Jonas Bernoulli <jo...@bernoul.li> writes: > >> Thanks. But could you please change it to >> >> (if (or outline-minor-mode orgstruct-mode) >> (call-interactively #'show-childre

  1   2   >