Re: Haskell code blocks

2022-11-06 Thread Ihor Radchenko
Bruno Barbier writes: > I've attached the patch that I've used to fix ob-haskell. Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0de063a52181bd96ac9bf023454781f07c3353b3 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: [BUG] Undocumented convention for org-time-stamp-custom-formats to be "<...>" (was: time-stamp in DONE tag is not really displayed)

2022-11-06 Thread Ihor Radchenko
Ihor Radchenko writes: > I propose to do the following: > 1. org-time-stamp-formats and org-time-stamp-custom-formats will be >treated as is, unless they contain "<" and ">" and the first and the >last char. > 2. If the formats do contain <...>, strip the "<" and ">". > 3. Document (2) in

Re: [PATCH] * lisp/org.el: (org-get-indirect-buffer) Allow indirect base buffers

2022-11-06 Thread Ihor Radchenko
Adam Porter writes: > Thanks for your review. I've attached a new patch. Thanks! Applied onto main with amendment to the commit message. I added a link to this discussion for future reference. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=155dc778e8cd12bdfb4c7cac7e03f166ece105

Re: Interest in an Org video meetup?

2022-11-06 Thread Ihor Radchenko
Russell Adams writes: >> Do you plan to start the meetups any time soon? >> If you do, we may also ask Timothy to announce it during his "This year >> in Org" talk at Emacsconf. > > I've been really busy with work. I got a new Emacs BlueButton account > I need to test, and then I'll make an initi

Re: [PATCH] Re: Update Org to MathJax 3

2022-11-06 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Bummer! Do you have any suggestions in mind? Perhaps we could define > an advice for '(current-message)', if that ever runs? I would welcome > any ideas. Using `current-message' would not be reliable even if it worked. It is not future-compatible if we decide to emi

Re: [PATCH] lisp/ob-tangle.el, lisp/ob-core.el: Add strip-tangle

2022-11-06 Thread Ihor Radchenko
Daniel Ziltener writes: > This patch adds the "strip-tangle" option for the :noweb header > argument. This strips the noweb tags before tangling the block. This can > be useful for e.g. testing purposes where one wants to use a block as > test case that can be both run inline as well as tangled

Re: [PATCH] oc-csl: Improve LaTeX bibliography formatting

2022-11-06 Thread Ihor Radchenko
András Simonyi writes: > the attached patch substantially improves the formatting of CSL-based > bibliographies in LaTeX export by supporting in-style formatting > settings that were previously ignored, most importantly, > 'second-field-align', which is typically used for numeric styles such > as

Re: [BUG] Org errors when exporting document with R an source block that results in a table [9.5.5 (release_9.5.5 @ /usr/share/emacs/29.0.50/lisp/org/)]

2022-11-06 Thread Ihor Radchenko
Mattias writes: > When exporting an org file with an R sourceblock that results in a table I > get the following error: ~(wrong-type-argument number-or-marker-p nil)~. > > This happens when using ~emacs -Q~ and putting the below code blocks in a > test.org file; then using C-e h o to export to

Re: 2 'echo' bash instructions produce a table

2022-11-06 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: >#+begin_src bash >echo "foo" >echo "bar" >#+end_src > > Typing 'C-c C-c' produces > >#+RESULTS: >| foo | >| bar | > > By contrast, with only 'echo "foo"', it produces what I expect: > >#+RESULTS: >: foo If you want to force str

Re: processing a literal example line by line in a shell source block?

2022-11-06 Thread Greg Minshall
Ihor, again, thanks for helping me with that problem. and, just for my (or anyone's) future reference, how i probably *should* have debugged this was to tangle the relevant source block, and then examine the resulting shell-script file, and gone from there. cheers, Greg

Re: [PATCH] Re: Update Org to MathJax 3

2022-11-06 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Nothing is attached. I apologize. Please see the attached patch. > If you are using Emacs to send email, I suggest you to enable checks > for attachments, as I do in notmuch [...] TIL and thank you! Added to my configuration. > AFAIK, `current-message' always return

Re: [PATCH] * lisp/org.el: (org-get-indirect-buffer) Allow indirect base buffers

2022-11-06 Thread Adam Porter
Hi Ihor, On 11/5/22 03:09, Ihor Radchenko wrote: Adam Porter writes: The attached patch improves the function org-get-indirect-buffer, fixing a bug, clarifying the code, and adding a docstring. Thanks! I have some comments. Thanks for your review. I've attached a new patch. +(cl-defun

[PATCH] lisp/ob-tangle.el, lisp/ob-core.el: Add strip-tangle

2022-11-06 Thread Daniel Ziltener
* lisp/ob-tangle.el (org-babel-tangle-single-block): strip noweb tags from block if :noweb has been set to strip-tangle. * lisp/ob-core.el (org-babel-common-header-args-w-values): add "strip-tangle" as new allowed value. * lisp/ob-core.el (org-babel-noweb-p): add "strip-tangle" at the appropriate p

Re: How to set latex preview font to regular instead of italics?

2022-11-06 Thread Mati
I ended up with DejaVu Math TeX Gyre. You probably need this font installed on your system, but I'm not sure, because I had it installed before. Here's code to replace in my config:   \\usepackage{mathastext}   \\usepackage{unicode-math}   \\setmainfont{Liberation Serif}   \\setsansfont[Scale=Ma

Re: How to set latex preview font to regular instead of italics?

2022-11-06 Thread Mati
Ok, I found it's (La?)TeX default, specifically: By default math fonts are italic, and what I want is upright font. So, currently I found it can be done by \usepackage{mathastext} that makes italic math font a upright font or by using "Neo Euler" font . At the moment I succesfully applied it to

Re: Interest in an Org video meetup?

2022-11-06 Thread Russell Adams
On Sun, Nov 06, 2022 at 03:55:33AM +, Ihor Radchenko wrote: > Russell Adams writes: > > > Would there be any interest in a monthly 1-2 hour long ad-hoc screen > > sharing and video discussion for Org-mode? > There seems to be general interest. > > Do you plan to start the meetups any time soon

[BUG] Org errors when exporting document with R an source block that results in a table [9.5.5 (release_9.5.5 @ /usr/share/emacs/29.0.50/lisp/org/)]

2022-11-06 Thread Mattias
Hey all, When exporting an org file with an R sourceblock that results in a table I get the following error: ~(wrong-type-argument number-or-marker-p nil)~. This happens when using ~emacs -Q~ and putting the below code blocks in a test.org file; then using C-e h o to export to html. #+begin_sr

Re: Still prob on Agenda

2022-11-06 Thread Adham Omran
What do you mean by a false TODO? Adham Omran

Re: CI tests

2022-11-06 Thread Christopher M. Miles
Christian Köstlin writes: > Dear org-mode users, > > > at the moment I am trying to enable as much of the org-mode testsuite > on the ci server (see https://builds.sr.ht/~bzg for the latest > testruns). > > From time to time some tests fail, because the time when e.g. a > timestamp is written to

[PATCH] oc-csl: Improve LaTeX bibliography formatting

2022-11-06 Thread András Simonyi
Dear All, the attached patch substantially improves the formatting of CSL-based bibliographies in LaTeX export by supporting in-style formatting settings that were previously ignored, most importantly, 'second-field-align', which is typically used for numeric styles such as ieee.csl. I'm sending

Re: View next 7 days of agenda, not next week

2022-11-06 Thread renato . pontefice
No, when I open my .org file, ad fitst I view the calendario of week (with things to do), I would have this view for the next 7 (or 6 or 9 or n) days in future. Non I sede just the actual week Thank you Renato Il 5 novembre 2022 23:57:37 CET, "Quiliro Ordóñez" ha scritto: >El 2022-11-05 15:5

Re: [PATCH] Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-11-06 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko writes: > >> Note that apart from the problem on Emacs side, there appears to be a >> problem with org-cite-basic-export-bibliography. >> >> org-cite-basic-export-bibliography uses org-cite-basic--print-entry, >> which fails to print keys, which are not in

Re: [PATCH v4] [BUG] org-attach-id-ts-folder-format fails on customized IDs [9.6 (9.6-??-2e9999783)]

2022-11-06 Thread Ihor Radchenko
Ihor Radchenko writes: > I will be happy to merge a proper patch upon addressing possible > pitfalls. I do not feel strongly about my variant vs. yours. Max, do you have any update here? If not, I will merge my variant as it should not break anything. -- Ihor Radchenko // yantar92, Org mode co

Feedback on Org syntax document

2022-11-06 Thread Ihor Radchenko
Hi, It has been a while since I looked into the Org syntax document at https://orgmode.org/worg/dev/org-syntax.html. So, I am not again ready to see and comment on things with a fresh eye. Below, I am listing my further feedback on the document. I encourage other Org users to look into it as well