[PATCH] Remove XEmacs and ancient Emacs compat code

2022-01-06 Thread Stefan Kangas
The attached patch removes some compat code for XEmacs, and Emacs 21/22. From 5c3e92a1419c27f79c2cb7a47af55dfd846357fa Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 26 Sep 2021 21:29:25 +0200 Subject: [PATCH] Remove XEmacs and ancient Emacs compat code * lisp/ox-html.el

Re: ob-plantuml: Proposal to add 'jar-args' customizable variable

2022-01-06 Thread Ihor Radchenko
Dejan Josifović writes: > I has been a little over a month since i posted this to the mailing > list, so I'm trying to bump it. Added to todo list. It may take a little while, but I will take a look at it relatively soon. Best, Ihor

Filter to put decorative initial letters

2022-01-06 Thread Juan Manuel Macías
Hi, These past holidays I've been experimenting with some little useful, but fun stuff. This is an export filter to put a decorative initial letter in the first paragraphs of the first level sections, using the LaTeX package lettrine (https://www.ctan.org/pkg/lettrine). A screenshot:

Cannot set invisible text property

2022-01-06 Thread Enrico Flor
In a minor mode I wrote for myself, I use add-text-properties to make certain things invisible. This does not work in org-mode, and I don't understand why. For instance, the following has no effect in when the buffer is in org-mode (and only when it's in org mode): (add-text-properties 1 3

Re: [BUG] Setting org-map-continue from to avoid skipping headings while archiving no longer works [9.5.2 (9.5.2-gd01235 @ /home/john/.emacs.d/straight/build/org/)]

2022-01-06 Thread John Mathena
> Let me know if you are still seeing the problem. This may be a deficiency in my function (I basically copied it wholesale after realizing the source of the "skipping" issue so there may be context I'm missing), but I'm noticing a problem when the heading-to-be-archived comes last in the file.

Re: oc-biblatex and biblatex substyles

2022-01-06 Thread Thomas S. Dye
Aloha Rasmus, Rasmus writes: I guess you (and Tom) is right that it would be better to make a derived style. Tom, did you already make a derived style? From the later emails it sounded like it, but I don’t see oc-biblatex-chicago.el in the main repo. Otherwise, I can have try to have

Re: oc-biblatex and biblatex substyles

2022-01-06 Thread Rasmus
Ah, now I sent two emails. I thought the first one got lost. Sorry for the noise. Rasmus Rasmus writes: > Hi there, > > Sorry for the slow reply. > > Nicolas Goaziou writes: > >> Hello, >> >> Rasmus writes: >> >>> I wonder if oc-biblatex should support loading biblatex-derived libraries, >>>

Re: oc-biblatex and biblatex substyles

2022-01-06 Thread Rasmus
Hi there, Sorry for the slow reply. Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> I wonder if oc-biblatex should support loading biblatex-derived libraries, >> e.g. biblatex-chicago? >> >> There’s a quite a few of these libraries: >> >>$ tlmgr search --global "biblatex-" | wc

Re: oc-biblatex and biblatex substyles

2022-01-06 Thread Rasmus
Hi there, Sorry for the slow reply. Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> I wonder if oc-biblatex should support loading biblatex-derived libraries, >> e.g. biblatex-chicago? >> >> There’s a quite a few of these libraries: >> >>$ tlmgr search --global "biblatex-" | wc

Re: ob-plantuml: Proposal to add 'jar-args' customizable variable

2022-01-06 Thread Dejan Josifović
On 03-Dec-21 23:56, Dejan Josifović wrote: Hi all, I use PlantUML integration in org-mode for years now, but only recently I came across some unwanted behavior. Using PlantUML from jar (org-plantuml-jar-path variable) and latest org-mode, I wanted to render a diagram containing some Unicode

Re: Way to mark contents of an Org special block as verbatim?

2022-01-06 Thread Kaushal Modi
On Thu, Jan 6, 2022 at 2:33 PM Juan Manuel Macías wrote: > I just realized that there is a much simpler solution for your katex > environment :-) > > You can use an example block, and define your custom environment using > the attribute :environment Sorry, but this exporter is derived from md,

Re: Way to mark contents of an Org special block as verbatim?

2022-01-06 Thread Juan Manuel Macías
Kaushal Modi writes: > Wow, thanks for that complete code. I didn't know about the parse tree > functions. > > I was thinking if below is possible as any user running my exporter > would need to use this feature easily. > > #+begin_katex :verbatim t > E = -J \sum_{i=1}^N s_i s_{i+1} > #+end_katex

Re: Way to mark contents of an Org special block as verbatim?

2022-01-06 Thread Kaushal Modi
On Thu, Jan 6, 2022 at 1:27 PM Juan Manuel Macías wrote: > I think one possibility would be using a parse tree export filter: > > #+BIND: org-export-filter-parse-tree-functions (katex-verbatim) > #+begin_src emacs-lisp :exports results :results none > (defun katex-verbatim (tree backend info) >

Re: Feedback on Emacs-Jupyter

2022-01-06 Thread Nathaniel Nicandro
Ken, > First, thank you (many times) for maintaining emacs-jupyter. It is one of the > most-used tools on my computer. I've been using your software daily for the > past few years to develop code and write papers. Your welcome, I'm glad that my efforts on the project mean that there are

[PATCH] Fix FAQ entry about mailto links.

2022-01-06 Thread Robert Goldman
The old entry referred to the variable =org-link-mailto-program= which was removed from org-mode almost eight years ago! See org-mode commit b9f2e17f07faf01109fc6f7f1eb5a34e0f97eafb --- org-faq.org | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git

Re: Way to mark contents of an Org special block as verbatim?

2022-01-06 Thread Juan Manuel Macías
Hi Kaushal, Kaushal Modi writes: > I would like to treat that block /like/ how Org treats the latex > environment blocks, but it needs to be a special block as > begin_katex/end_katex here is special and it could be a different > equation rendering backend for another user. > > So is that a

[PATCH] Fix signature for org-element-at-point

2022-01-06 Thread Mark A. Hershberger
--- lisp/ob-exp.el| 2 +- lisp/ob-lob.el| 2 +- lisp/ob-ref.el| 2 +- lisp/ob-tangle.el | 2 +- lisp/ol.el| 2 +- lisp/org-capture.el | 2 +- lisp/org-footnote.el | 2 +- lisp/org-keys.el | 2 +- lisp/org-list.el | 2 +- lisp/org-macro.el

Way to mark contents of an Org special block as verbatim?

2022-01-06 Thread Kaushal Modi
Hello, Is there a way to mark contents of an Org special block as verbatim? In my custom exporter, when I do the below, #+begin_katex E = -J \sum_{i=1}^N s_i s_{i+1} #+end_katex it gets exported to: {{< katex display >}} E = -J i=1^N s\_i si+1 {{< /katex >}} I would like to treat that block

Re: [BUG] org-element--cache gives "Unregistered buffer modifications" warning [9.5 (9.5-g859984 @ /home/john/.emacs.d/straight/build/org/)]

2022-01-06 Thread Ihor Radchenko
Karl Voit writes: > Every time I execute =my-title-capitalization()= from > https://github.com/novoid/dot-emacs/blob/master/config.org I get this: > > #+BEGIN_EXAMPLE > Warning (emacs): Unrecognized key: _i_ > Warning (emacs): org-element--cache: Unregistered buffer modifications > detected.

Re: [BUG] org-element--cache gives "Unregistered buffer modifications" warning [9.5 (9.5-g859984 @ /home/john/.emacs.d/straight/build/org/)]

2022-01-06 Thread Karl Voit
Hi, * John Mathena wrote: > > First time sending mail to the list; please let me know if I commit any > breaches of etiquette or convention (e.g. on attaching backtraces as a file > vs sending in message body). You're doing fine. Thanks for handing in your issue and welcome to the list. I do