Re: [correction]

2022-11-01 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: > Uwe Brauer writes: >> Don't worry, for the moment _@@  is fine for me > I think with font-lock-add-keywords it should work. I have put another > overlay on the tags, so that they are seen inside a box, separated by > ":". > (defun overlay-dired-filetags

Re: [correction]

2022-11-01 Thread Uwe Brauer
> *Excellent* works very nicely. Thanks very much, the only change I did > was > (tag (propertize " 🎃 " 'face 'bold)) > It is better visible, and more fitting since you sent me the final > version on Halloween 👹 > Now it remains to configure helm-locate, so that it takes a local >

Re: LIterate programming with calc (help)

2022-11-01 Thread Ihor Radchenko
"Fraga, Eric" writes: >> I guess that the main problem is that calc is tightly integrated with >> interactive commands. Maybe ob-calc could be extended to somehow >> indicate the commands to be executed in addition to inputting stack >> entries. >> >> Not sure if there is much interest in such fe

[O] Maxima code blocks does not work in windows revisited

2022-11-01 Thread ELECTRUM BIKES
I tried replacing it and doesn't work, still the same error, win10 emacs 28.1

Re: Exporting images to different output formats

2022-11-01 Thread Michael Welle
Hello, Ihor Radchenko writes: > Michael Welle writes: [...] >> {{{img(./foo, foo, barfoo)}}} >> >> That kind of works (and breaks if I want commas in the caption) > > Re: commas. See 13.5 Macro Replacement I found that shortly after posting. Works as expected. >(1) Since commas separate t

[O] Maxima code blocks does not work in windows revisited

2022-11-01 Thread Mati
Ok, I got it working somehow. For others reading this: I had to modify ~/.emacs.d/straight/repos/org/lisp/ob-maxima.el in emacs(!) so straight compiled it to work. you need to replace code at line 82. However, plots still doesn't work (code block produced no output) :( pls help.

bug#53393: 29.0.50; org mode timestamp C-c C-c not updating day of week

2022-11-01 Thread Ihor Radchenko
"Bruce E. Robertson" writes: > emacs -Q test.org > cursor to "CLOCK:" line, C-c C-c > total time updates but day of week does not change > contents of test.org > -- > * heading > :LOGBOOK: > CLOCK: [2022-01-17 Tue 10:29]--[2022-01-19 Tue 10:29] => 48:00 > :END: > -- > typing C-c C-c does

Re: [O] Maxima code blocks does not work in windows revisited

2022-11-01 Thread Ihor Radchenko
Mati writes: > Ok, I got it working somehow. For others reading this: I had to modify > ~/.emacs.d/straight/repos/org/lisp/ob-maxima.el in emacs(!) so straight > compiled it to work. you need to replace code at line 82. However, plots > still doesn't work (code block produced no output) :( pls

Re: One thing each 3 days but maximum 10

2022-11-01 Thread Jean Louis
* Ihor Radchenko [2022-10-31 09:27]: > Thanks for pointing this out! > Hours are, in fact, allowed. > Fixed the manual now. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5098404b19962042cd29ad86e11ccb43ac566953 That is great. How certain is that function, does it work reliabl

Re: One thing each 3 days but maximum 10

2022-11-01 Thread Jean Louis
* Quiliro Ordóñez [2022-10-31 13:03]: > El 2022-10-30 23:57, Jean Louis escribió: > > * Renato Pontefice [2022-10-30 19:11]: > >> I have to take a pill each 3 days, but for max 10 times. > >> So I set a TODO pill >2022-10-28 +3d> and each 3 days my calendar tell me > >> that I have to take the p

Re: One thing each 3 days but maximum 10

2022-11-01 Thread Ihor Radchenko
Jean Louis writes: > * Ihor Radchenko [2022-10-31 09:27]: >> Thanks for pointing this out! >> Hours are, in fact, allowed. >> Fixed the manual now. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5098404b19962042cd29ad86e11ccb43ac566953 > > That is great. > > How certain is th

Re: org-sbe recent changes?

2022-11-01 Thread Alan Schmitt
On 2022-11-01 02:16, Ihor Radchenko writes: > Fixed on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9987451252fa64af65d0a0a014f41812f4402c02 Thanks a lot! Alan signature.asc Description: PGP signature

Re: [O] Maxima code blocks does not work in windows revisited

2022-11-01 Thread Mati
On 01.11.2022 09:04, Ihor Radchenko wrote: Do you mean that you changed the code at line 82 inside org-babel-execute:maxima to (let* ((cmdline (or (cdr (assoc :cmdline params)) "")) (in-file (org-babel-temp-file "maxima-" ".max")) (cmd (format "%s --very-quiet -r \"b

Re: ob-lilypond.el doesn't generate midi files

2022-11-01 Thread Jonathan Gregory
Hi Ihor, On 01 Nov 2022, Ihor Radchenko wrote: Jonathan Gregory writes: Yep, that's it. Modified ob-lilypond.el and recompiled it. Timidity works as helper, couldn't get vlc to work. Maybe the file ending should be modifiable via org-babel-lilypond-commands as well, or make ob-lilypond.el

Re: ob-lilypond.el doesn't generate midi files

2022-11-01 Thread Ihor Radchenko
Jonathan Gregory writes: >> If so, we can merge the patch. > > This is done. The patch was merged in e4c0281d2. Confirm. I somehow missed it. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

I cannot see my agenda view

2022-11-01 Thread Renato Pontefice
I’ve made more change on my init.el, but I’m unable to show my Agenda view. If I send my init.el file does someone can help me to solve this prob? I think that I’ve made some change that does not work correctly This is my init.el what does can inhibit my working Agenda? __

Re: Line breaks and brackets in LaTeX export

2022-11-01 Thread Max Nikulin
On 01/11/2022 08:51, Ihor Radchenko wrote: Max Nikulin writes: On 22/10/2022 12:15, Ihor Radchenko wrote: as long as the next line does not match "^[ \t]*\\[" Verse package defines \\! and \\>. The only precaution that search pattern should ignore \\\[0pt]\] that is a display equation "0pt]

Can someone give an init.el wherein can start customize it?

2022-11-01 Thread Renato Pontefice
Maybe I think my init.el is too dirty. Can someone give me an init.el that I can use as base to customize (if I want) something that can works without correct the old one Thank you Renato

Re: [correction]

2022-11-01 Thread Juan Manuel Macías
Uwe Brauer writes: > One, hopefully, last thing in helm-mini, how can I select and visit a > certain file? I looked around but C-j says view file (recent) but I > cannot edit that file The selected candidates in helm have one main action, which in helm-locate and so on is usually to visit the

Re: I cannot see my agenda view

2022-11-01 Thread Fraga, Eric
Where are your diary entries that you would expect to show up? You need to put the list of files with the diary entries in org-agenda-files (which you've customised to be an empty list). -- : Eric S Fraga, with org release_9.5.5-1064-g5bc674 in Emacs 29.0.50

Re: [PATCH] [BUG] org.el: Fix first call of `org-paste-subtree'

2022-11-01 Thread Max Nikulin
On 01/11/2022 08:45, Ihor Radchenko wrote: Since I have no objections to the original patch, applied now. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=57abbd4b928752f2770898b09bbac8126b9d0eb3 I also reviewed the usage of (current-kill 0) in the code and applied two additional

Docstrings and literate programming (good practices?)

2022-11-01 Thread Juan Manuel Macías
Hi all, I find docstrings very useful. One can learn a great deal about Elisp just from describe-function and describe-variable. But I don't find the best way for docstrings to fit into the "precepts" of literate programming. I try to explain myself: today I am reviewing my Emacs init, written in

Re: Line breaks and brackets in LaTeX export

2022-11-01 Thread Juan Manuel Macías
Max Nikulin writes: > LaTeX verse package require "\\!" as stanza separator to get proper line > count, > so square bracket on the next line is not the only character that may change > meaning of "\\". So "[*!>" (depending on context) should be handled. Only when the separation between stanzas i

Re: [PATCH][oc-csl] Improve reference parsing

2022-11-01 Thread András Simonyi
Dear All, On Thu, 27 Oct 2022 at 06:10, Ihor Radchenko wrote: > This will render e.g. strike-through empty. > Note that citation references may contain the following Org markup objects: > '(bold code entity italic > latex-fragment strike-through subscript > superscript underline verbatim) th

export and cross links between files

2022-11-01 Thread Max Nikulin
On 01/11/2022 12:48, Ihor Radchenko wrote: Max Nikulin writes: It seems org-id.el should be extended to handle some features common to all formats such as custom suffix instead of ".org" Could you please elaborate? Currently ox-html has an option to replace links to .org files with links t

Re: [BUG] ox-odt file: links are not pointing to the real files (was: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9

2022-11-01 Thread Max Nikulin
On 01/11/2022 12:40, Ihor Radchenko wrote: See the attached new version of the patch. diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 15a9cf2de..e4fb7eb84 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -2688,7 +2688,16 @@ (defun org-odt-link (link desc info) ((member type

bug#53393: 29.0.50; org mode timestamp C-c C-c not updating day of week

2022-11-01 Thread bruce robertson
Fabulous! I keep editing these by hand. Thanks! Emacs!! On Tue, Nov 1, 2022 at 12:54 AM Ihor Radchenko wrote: > "Bruce E. Robertson" writes: > > > emacs -Q test.org > > cursor to "CLOCK:" line, C-c C-c > > total time updates but day of week does not change > > contents of test.org > > -- >

Still prob on Agenda

2022-11-01 Thread Renato Pontefice
Sorry for the boredom, but I still have prob with agenda. In my file.org I have this: With a false TODO as last line (with date 2022-11-04) But on my agenda view C-c a a I obtain that: So nothing for 4 November… On my init.el I have this specific line: ;;-- file utilizz

Re: org-export: How to handle links to the exported file?

2022-11-01 Thread Max Nikulin
On 01/11/2022 12:47, Ihor Radchenko wrote: Max Nikulin writes: In HTML top or #top works as a link to the beginning of the document. I am curious if ODF has a similar feature. I mean ID at the top of the same file that generates file.org link instead of internal one for both HTML and ODF format

Re: [O] Maxima code blocks does not work in windows revisited

2022-11-01 Thread Leo Butler
On Tue, Nov 01 2022, Mati wrote: > On 01.11.2022 09:04, Ihor Radchenko wrote: > >> Do you mean that you changed the code at line 82 inside >> org-babel-execute:maxima to >> >> (let* ((cmdline (or (cdr (assoc :cmdline params)) "")) >>(in-file (org-babel-temp-file "maxima-" ".max")) >>

Re: Can someone give an init.el wherein can start customize it?

2022-11-01 Thread Quiliro Ordóñez
El 2022-11-01 09:49, Renato Pontefice escribió: > Maybe I think my init.el is too dirty. > Can someone give me an init.el that I can use as base to customize (if > I want) something that can works without correct the old one I sugest not to learn that way. I suggest you start with a clean configu

Re: I cannot see my agenda view

2022-11-01 Thread Renato Pontefice
This is what I’ve wrote to my init.el (setq org-agenda-files '( "~/org/corciano.org" )) With this I open my agenda buffer (global-set-key (kbd "C-c a") #'org-agenda) What’s wrong? Can someone tell me what proof can I made? Thank you Renato p.s. I uninstall and reinstall ema

Re: Can someone give an init.el wherein can start customize it?

2022-11-01 Thread Renato Pontefice
Ok,, I can start from clean init.el, but I saw that emacs works also without init.el. Do I have to create an emptying.el that I improve step by step? Renato > Il giorno 1 nov 2022, alle ore 20:09, Quiliro Ordóñez ha > scritto: > > El 2022-11-01 09:49, Renato Pontefice escribió: >> Maybe I thi

Re: Can someone give an init.el wherein can start customize it?

2022-11-01 Thread Jude DaShiell
If you want some extra things done, yu could do it using .emacs rather than init.el. Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Tue, 1 Nov 2022, Renato Pontefice wrote: > Ok,, I ca

Re: [O] Maxima code blocks does not work in windows revisited

2022-11-01 Thread Mati
I am testing maxima-mode now (not in org) and it works, but is broken on windows. Looks like there are many more problems with syntax. I am interested to know what is broken in maxima-mode. Please explain with examples. Best, Leo There is problem with handling ghostscript. Ghostscript gui open

Re: Can someone give an init.el wherein can start customize it?

2022-11-01 Thread Quiliro Ordóñez
El 2022-11-01 15:13, Renato Pontefice escribió: > Ok,, I can start from clean init.el, but I saw that emacs works also > without init.el. > Do I have to create an emptying.el that I improve step by step? As suggested, start with ~/.emacs . I suggest to read the Emacs manual: C-h r . I know it i

[PATCH] Ignore flaky ob-python tests

2022-11-01 Thread Christian Köstlin
The new async feature of python seems to be implemented in a way that can break with high CPU load. This patch still runs the 3 tests in question, but does not fail the complete testsuite if any of those fail. Kind regards, Christian 0001-testing-lisp-test-ob-python.el-Ignore-flaky-tests.patch D

Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly

2022-11-01 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: > … and to the topic: this may be something that could be re-used in > eww. Yup. Or Emacs could even provide a unified interface to ask security questions. > Though I would prefer having a less-intrusive notification than a y-n > question; maybe just a messag

Re: Bug: html-postamble string does not allow space [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/27.2/lisp/org/)]

2022-11-01 Thread Ihor Radchenko
Tim Cross writes: >>> What probably needs clarifying is >>> >>> 1. mention the string option in the manual >> >> It is documented in the manual: 13.9.4 HTML preamble and postamble >> > > You snipped out the relevant paragraph I copied from the manual. If you > look at it, you will see that it doe

Re: [O] Maxima code blocks does not work in windows revisited

2022-11-01 Thread Ihor Radchenko
Mati writes: > On 01.11.2022 09:04, Ihor Radchenko wrote: > >> Do you mean that you changed the code at line 82 inside >> org-babel-execute:maxima to >> >> (let* ((cmdline (or (cdr (assoc :cmdline params)) "")) >>(in-file (org-babel-temp-file "maxima-" ".max")) >> (cmd (for

Re: [BUG] ox-odt file: links are not pointing to the real files (was: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9

2022-11-01 Thread Ihor Radchenko
Max Nikulin writes: >> - (org-export-file-uri raw-path)) >> + (pcase (org-export-file-uri raw-path) >> + (`(and (pred #'file-name-absolute-p) ,path) >> +path) > > I am in doubts if this branch may be executed at all. For absolute f

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

2022-11-01 Thread Ihor Radchenko
Daniel Ziltener writes: >> Could you please create a separate patch file and attach it in the >> reply? > Sure, here's the patch attached, as generated by "git format-patch > origin/main". Thanks! I tried to apply your patch and run tests. The new test for "strip-tangle" is failing on my side.

Re: [PATCH][oc-csl] Improve reference parsing

2022-11-01 Thread Ihor Radchenko
András Simonyi writes: > thanks for pointing out the problem!! I've attached a new version of > the patch, in which the custom exporter backend has an (in many cases > trivial) translator for all currently allowed objects. Thanks! >> And we may add more, as discussed in >> https://orgmode.org/l

[DISCUSSION] Unified handling of links between Org files on export (was: export and cross links between files)

2022-11-01 Thread Ihor Radchenko
Max Nikulin writes: > On 01/11/2022 12:48, Ihor Radchenko wrote: >> Max Nikulin writes: >> >>> It seems org-id.el should be extended to handle some features common to >>> all formats such as custom suffix instead of ".org" >> >> Could you please elaborate? > > Currently ox-html has an option to

Are colons forbidden for TODO keywords?

2022-11-01 Thread Tommy Kelly
*Am I correct that colons are forbidden for TODO keywords (at very least as the last character)? * I can't see an explicit prohibition in the manual, or in https://orgmode.org/worg/dev/org-syntax.html, but I'm seeing behavior that suggests there perhaps should be, as follows. So, for vaguely aesth

Re: Line breaks and brackets in LaTeX export

2022-11-01 Thread Ihor Radchenko
Max Nikulin writes: > Another corner case when "\\[0pt]\n" should not be blindly replaced to > "\\\n" (I do not escape "\"). Imagine that you are going to describe > this optimizing filter > > >8 > Optimizing filter will replace > #+begin_example > First\\[0pt] > Second > #+end_exampl

Re: Line breaks and brackets in LaTeX export

2022-11-01 Thread Ihor Radchenko
Ihor Radchenko writes: > Should we, instead of using exact "\\[0pt]" string for line breaks, > define a new LaTeX command and then clean it up? This will distinguish > between \\[0pt] added by users explicitly and the ones generated > automatically by Org. I guess it will not work for that fancy

Re: [PATCH] Ignore flaky ob-python tests

2022-11-01 Thread Ihor Radchenko
Christian Köstlin writes: > The new async feature of python seems to be implemented in a way > that can break with high CPU load. This patch still runs the 3 tests in > question, but does not fail the complete testsuite if any of those fail. Thanks for the patch, but I'm afraid that it will driv