Re: couldn't org-table-create-with-table\.el respect hline

2022-10-29 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >>> Do you need a specific table.el feature that you miss in native Org tables? >> >> Merging and splitting cells! > Can you please send a separate message detailing the feature request and > how you envision this functionality to work? (

Re: Getting X selection reliably (Re: idea for capture anywhere in x)

2022-10-29 Thread Max Nikulin
On 29/10/2022 13:03, Samuel Wales wrote: fluxbox is the only wm or de that seems to do everything i need. Then you should have no problem to call `org-capture' using emacsclient as a menu entry action. Does it work for you? From my point of view "capture anywhere in x" task should be roughly s

desktop notifications (Re: idea for capture anywhere in x)

2022-10-29 Thread Max Nikulin
On 29/10/2022 11:59, Ihor Radchenko wrote: Functions in org-capture-before-finalize-hook have access to the contents of the capture buffer text. So, one can call `start-process' to run notify-send shell command and put the actual captured text into the notification (displayed briefly or for long

Re: [WORG] Document in more detail about what maintainers do?

2022-10-29 Thread Bastien Guerry
Hi Ihor, Ihor Radchenko writes: > One month has passed, and I decided to apply the patch as is. > https://git.sr.ht/~bzg/worg/commit/6fbe51dee6bf276584c24fa1e7ec673526c9326e Thanks! -- Bastien

Re: ob-clojure session support

2022-10-29 Thread Bastien Guerry
Hi Ihor and Daniel, Ihor Radchenko writes: > If Bastien removed session support, and you do not see any justification, > it was most likely an oversight. >From memory, I removed session support in ob-clojure.el because it was too buggy. > We generally avoid feature regressions: > https://bzg.

Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list

2022-10-29 Thread Bastien
Daniel Kraus writes: > I think I'll go with the big `cond` above to auto-detect what's > installed. That's probably the best out-of-the-box experience. Indeed, thank you! -- Bastien

Re: Org mode, Org Mode, Org-mode or Org-Mode?

2022-10-29 Thread Marcin Borkowski
On 2022-10-28, at 23:50, Ihor Radchenko wrote: > Marcin Borkowski writes: > >> What is the "official" version? I found at least two spelling on >> orgmode.org... > > If we look into doc/Documentation_Standards.org: > > - Prefer "Org mode" to "Org-mode" or "org-mode". This is simply >

Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions)

2022-10-29 Thread tomas
On Fri, Oct 28, 2022 at 11:43:39PM -0700, Samuel Wales wrote: > long ago i made the contents of my shell blocks look like this: > > { > code > } 2>&1 > : As I hinted at, I also wanted to have the exit code documented. So my setup was a bit more involved than this. Plus, I didn't want all that c

bug#35453: 26.1; Poor performance of vertical-motion in large org buffer

2022-10-29 Thread Ihor Radchenko
Ihor Radchenko writes: >> There are no intervals in this story. The way overlays are >> implemented, they don't use intervals (if by that you mean the >> facilities in intervals.c). Someone was working on making overlays >> more efficient by changing the low-level implementation details, but >>

Re: [off-topic] E-readers and Org-Mode

2022-10-29 Thread Juan Manuel Macías
Juan Manuel Macías writes: > [...] Anyway, I think it would be possible to write some python > script[1] to extract the annotations and then parse the resulting xml > from there to get a nice and beautiful Org document. Which also leads > me to wonder if anyone has tried that. I've found that or

Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions)

2022-10-29 Thread Ihor Radchenko
to...@tuxteam.de writes: > As I hinted at, I also wanted to have the exit code documented. So > my setup was a bit more involved than this. Plus, I didn't want all > that code scaffolding to show up in the typeset results (my audience > had enough to digest as it was), so I hid all that in the pro

Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions)

2022-10-29 Thread tomas
On Sat, Oct 29, 2022 at 09:09:04AM +, Ihor Radchenko wrote: > to...@tuxteam.de writes: > > > As I hinted at, I also wanted to have the exit code documented [...] > Note that what we are discussing here is different from your > description. A popup window accumulating stderr is displayed upon

[CLOSED] Re: [BUG] Org mode treat tags as links

2022-10-29 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I defined a custom link type "video:". >> >> And when I added tag "video" in tags like bellowing: >> >> #+begin_src org >> * headline 1 :tag1:video:hello >> #+end_src > > Note that this particular example actually contains a link. Bec

Re: [PATCH] org-manual: Suggest to wait for one month and followup when reporting bugs

2022-10-29 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> I think we can expose our mailing list policy a bit more in the manual. > > Yes, I think this is a good idea. Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5a358b3a3575776430a7702a901f92f71cd11b9e -- Iho

bug#35453: 26.1; Poor performance of vertical-motion in large org buffer

2022-10-29 Thread Eli Zaretskii
> From: Ihor Radchenko > Cc: Eli Zaretskii , 35...@debbugs.gnu.org > Date: Sat, 29 Oct 2022 09:02:31 + > > Ihor Radchenko writes: > > >> There are no intervals in this story. The way overlays are > >> implemented, they don't use intervals (if by that you mean the > >> facilities in interv

Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list

2022-10-29 Thread Daniel Kraus
Hi Ihor Radchenko writes: > "Christopher M. Miles" writes: >> Any review comments about this patch? > I have sent the following comment shortly after your followup: I even made another post after that, suggesting that the if condition is not even needed. Simply always quoting seems to work and

Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions)

2022-10-29 Thread Max Nikulin
On 29/10/2022 11:05, Ihor Radchenko wrote: As explained in the above quote, it may be reasonable to display stderr in the shell (and possibly other) src blocks upon execution. + Stderr may contain important information even if the code block succeeds - Displaying stderr will raise *Error* bu

Exporting images to different output formats

2022-10-29 Thread Michael Welle
Hello, I want to export to different output formats. Trouble is the way ox-gfm exports images. So I thought, hm, why not utilise macros to abstract away the differences. Well, that escalated quickly: #+macro: img_gfm (eval (concat "#+begin_export md\n![img](" $1 " \"" $2 "\")\n*Abb.: " $2 "* (Q

Cannot find therefore at 972 character...

2022-10-29 Thread Renato Pontefice
I tried ib more way, but I’m unable to see where the error is. Can you help me? Please Renato Otherwise I haver to put away all that I’ve done and restart from0

Re: incorrect indentation of new item inserted with capture template

2022-10-29 Thread Ian Garmaise
Hi Ihor, I figured out the problem. Seems like date trees expect only list items between date headlines. I had been adding headlines between dates, and this seems to confuse the insertion mechanism. I now stick to list items and it works perfectly. Might be a good idea to add something about thi

Re: org-x11idle-exists-p with emacs --daemon

2022-10-29 Thread Max Nikulin
On 28/10/2022 11:28, Ihor Radchenko wrote: * lisp/org-clock.el (org-x11idle-exists-p): Do not check if load-time `window-system' is `x'. Instead, rely on the check in `org-user-idle-seconds'. I would say that even there it is not strictly correct to test `window-system', perhaps `x-display-l

Re: [off-topic] E-readers and Org-Mode

2022-10-29 Thread Max Nikulin
On 28/10/2022 00:53, Juan Manuel Macías wrote: Everything said in this threed is very interesting, but now I am hesitating between buying one of these devices or simply a 10-inch tablet with a good screen, and then applying all possible blue light filters to it. Another option is a hardware filt

Re: Cannot find therefore at 972 character...

2022-10-29 Thread Juan Manuel Macías
Renato Pontefice writes: > I tried ib more way, but I’m unable to see where the error is. > > Can you help me? Please > > Renato > > Otherwise I haver to put away all that I’ve done and restart from0 Renato, can you please put the content of your /Users/renatopontefice/.emacs.d/init.el file here?

Re: incorrect indentation of new item inserted with capture template

2022-10-29 Thread Ihor Radchenko
Ian Garmaise writes: > I figured out the problem. Seems like date trees expect only list items > between date headlines. > I had been adding headlines between dates, and this seems to confuse the > insertion mechanism. I now stick to list items and it works perfectly. > Might be a good idea to

bug#35453: 26.1; Poor performance of vertical-motion in large org buffer

2022-10-29 Thread Stefan Kangas
For posterity, this was closed by feature/noverlay being merged: https://lists.gnu.org/archive/html/emacs-devel/2022-10/msg02166.html

Re: Still prob the I cannot solve....

2022-10-29 Thread Bruno Barbier
Hi Renato, You'll have more chance to get help if you reply to the list, using the same thread. Renato Pontefice writes: > When I start emacs, now I receive this messages: > > Warning (initialization): An error occurred while loading > ‘/Users/renatoponte

[CLOSED] Re: [PATCH] Fix ob-clojure handling source block variable's value is a org-mode table or list

2022-10-29 Thread Christopher M. Miles
Daniel Kraus writes: > Hi > > Ihor Radchenko writes: >> "Christopher M. Miles" writes: >>> Any review comments about this patch? >> I have sent the following comment shortly after your followup: > > I even made another post after that, suggesting that the if condition > is not even needed. Sim

Identical attributes id="text-table-of-contents" of div with role="doc-toc" when exporting to html when using tables of contents for multiple subheadings

2022-10-29 Thread Michel Damiens
Hello, when exporting to html this org document : #+OPTIONS: toc:1 * par 1 #+TOC: headlines 1 local ** par 1.1 ** par 1.2 * par 2 #+TOC: headlines 1 local ** par 2.1 ** par 2.2 div's for toc (with role="org-toc") in subheadings par 1 and par 2 get the

Position 972

2022-10-29 Thread Renato Pontefice
Bruno, With the common you told me I reach che 972 /M-g c 972) and I found this: ;;Org mode configuration Enable Org mode (require ‘org) Could be this the error? Now I’ve erased the two ;; save init.el and restart emacs, but now I obtain:

org table proposal: merge and split cells in org-tables

2022-10-29 Thread Uwe Brauer
Hi This subject is brought up regularly. In a conversation with Ihor Radchenko it was considered as being helpful to provide a table in which cells are merged and split. Here is one ++-+ | Region | Sales

Re: Position 972

2022-10-29 Thread tomas
On Sat, Oct 29, 2022 at 06:29:28PM +0200, Renato Pontefice wrote: > Bruno, > With the common you told me I reach che 972 /M-g c 972) and I found this: > > ;;Org mode configuration > Enable Org mode > (require ‘org) > > Could be this the error? > > Now I’ve erased the two ;; save init.el and

Re: Position 972

2022-10-29 Thread Renato Pontefice
Ok, I’ve reinserted the line you send me, but now, the error 972 ia disappeared, but I have this error: __ Warning (initialization): An error occurred while loading ‘/Users/renatopontefice/.emacs.d/init.el’: Symbol's value as variable is void: ‘o

Re: Position 972

2022-10-29 Thread Juan Manuel Macías
Renato Pontefice writes: > Bruno, > With the common you told me I reach che 972 /M-g c 972) and I found this: > > ;;Org mode configuration > Enable Org mode > (require ‘org) > > Could be this the error? > > Now I’ve erased the two ;; save init.el and restart emacs, but now I obtain: > ---

Re: Position 972

2022-10-29 Thread Juan Manuel Macías
Renato Pontefice writes: > Symbol's value as variable is void: ‘org It's 'org not ‘org. Notice the difference between the quotes[1]. (Did you modify that part? It was correct before). [1] https://www.gnu.org/software/emacs/manual/html_node/elisp/Quoting.html

Re: Position 972

2022-10-29 Thread tomas
On Sat, Oct 29, 2022 at 06:29:33PM +, Juan Manuel Macías wrote: > Renato Pontefice writes: > > > Symbol's value as variable is void: ‘org > > It's 'org not ‘org. Notice the difference between the quotes[1]. (Did you > modify that part? It was correct before). Perhaps it was Google (through g

Re: Position 972

2022-10-29 Thread tomas
On Sat, Oct 29, 2022 at 06:16:30PM +, Juan Manuel Macías wrote: [...] > Renato, adding to what Tomas and Bruno have explained to you very well, > you have another case in the init that you sent me by mail. Notice the > third line here: Oh, I get it that Juan Manuel has received one copy of t

Init.el

2022-10-29 Thread Renato Pontefice
I’m sorry, but I’m in a big big confusion…I regreat but I’m unable to correct the prob the is originated to my init.el and the conclusion is that I cannot use emac. I ask if you can correct my init.el (that I post) ;; -ss*- mode: elisp -*- ;;--setta il formato della data diversamente -- ;;(

Re: Init.el

2022-10-29 Thread tomas
On Sat, Oct 29, 2022 at 09:08:08PM +0200, Renato Pontefice wrote: > I’m sorry, but I’m in a big big confusion…I regreat but I’m unable to correct > the prob the is originated to my init.el and the conclusion is that I cannot > use emac. > I ask if you can correct my init.el (that I post) OK, bel

indent-tabs-mode in org (was: ob-clojure eval error when has comment at end of code line)

2022-10-29 Thread Daniel Kraus
Ihor Radchenko writes: > Daniel Kraus writes: > >> - What should I use for indention? Looking in ob-clojure and org.el >> it seems that using tabs with tab-width 8 is standard but there's >> quite a few lines where it's spaces only. > That is a good question. I guess, just Emacs default. >

Inserting arbitrary lines before tables with Babel

2022-10-29 Thread Kierin Bell
Hello, When evaluating Babel code blocks with a ':results table' header argument, what is the best way to automatically insert text _outside_ of the table? For example, if I have a source block: #+NAME: get-random-table #+begin_src R :var length=12 :results table runif(length) #+end_src ...

Re: Init.el

2022-10-29 Thread Eduardo Ochs
On Sat, 29 Oct 2022 at 16:08, Renato Pontefice wrote: > (...) Hi Renato, I've uploaded a version with some fixes of your init.el to: https://0x0.st/oYcy.txt I just added comment signs at the beginning of some lines, and I used TAB in most lines to make Emacs indent - i.e., position - them co

Re: Getting X selection reliably (Re: idea for capture anywhere in x)

2022-10-29 Thread Samuel Wales
i am still slightly lost [varying cognitive issues] but wanted to make one correction. i think i have my capture set up so that my typical capture location shows, although it is underneath ff so cannot be seen at the time. so a new frame in many cases is not necessary; the existing emacs frame co

Re: citar--library-file-action

2022-10-29 Thread Henrik Frisk
Den tis 25 okt. 2022 kl 22:42 skrev Bruce D'Arcus : > For citar support/bugs, you should report on the github issue tracker. > > But my guess: you need to install citar-embark, as a while ago, we > moved the embark-related functionality into a separate package. If > it's been a few months since yo

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-29 Thread Samuel Wales
i am lost in a sea of partial solutions and hints that myb rain cannot process at this time, despite their straightforwardness. i do like the idea of having confidence that a capture worked thgouh very much. perhaps some fuction in org-capture-before-finalize-hook could raise emacs for a tiny per

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

2022-10-29 Thread Daniel Ziltener
From: 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. * testing/lisp/test-ob-tangle.el (ob-tangle/strip-tan

Re: org-x11idle-exists-p with emacs --daemon

2022-10-29 Thread Ihor Radchenko
Max Nikulin writes: > On 28/10/2022 11:28, Ihor Radchenko wrote: >> >> * lisp/org-clock.el (org-x11idle-exists-p): Do not check if load-time >> `window-system' is `x'. Instead, rely on the check in >> `org-user-idle-seconds'. > > I would say that even there it is not strictly correct to test >

Re: Identical attributes id="text-table-of-contents" of div with role="doc-toc" when exporting to html when using tables of contents for multiple subheadings

2022-10-29 Thread Ihor Radchenko
Michel Damiens writes: > when exporting to html this org document : > > #+OPTIONS: toc:1 > * par 1 > #+TOC: headlines 1 local > ** par 1.1 > ** par 1.2 > * par 2 > #+TOC: headlines 1 local > ** par 2.1 > ** par 2.2 > > div's for toc (with role="org-toc

Re: Setting org-todo-keywords through directory-local variables

2022-10-29 Thread Ihor Radchenko
[sending to Org ML in-reply to the relevant thread] Kévin Le Gouguec writes: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57003 28.1.90; Can local variables be loaded before loading major mode? > … reminded me of a patch I submitted to the Org ML… some time ago 😣 > (sorry for not following up)

Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions)

2022-10-29 Thread Ihor Radchenko
to...@tuxteam.de writes: >> What you are describing would better fit into a new :results option. > > Oh, I missed the popup part. Sounds useful for yet another profile, > yes. If you need it, feel free to open a separate feature request for extra :results options in ob-shell. Possibly providing m

Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions)

2022-10-29 Thread Ihor Radchenko
Max Nikulin writes: > I agree that stderr may be important. I would not mind to have a buffer > that combines both stderr and stdout (maybe fontified). Despite order of > messages in separate streams is not strictly defined, it still may shed > some light on the reason what went wrong. I am n

Re: org table proposal: merge and split cells in org-tables

2022-10-29 Thread Ihor Radchenko
Uwe Brauer writes: > In a conversation with Ihor Radchenko it was considered as being helpful > to provide a table in which cells are merged and split. We should consider this idea seriously as this and related features are being requested frequently in the community. I recall the following cont

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

2022-10-29 Thread Ihor Radchenko
Daniel Ziltener writes: > From: 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. > * testing/lisp/

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

2022-10-29 Thread Timothy
Hi Daniel, > Add a “strip-tangle” noweb option to strip the noweb tags when tangling, but > keep and expand them otherwise. I must admit I can’t see the point of this — would you mind providing an example of when this would be useful? All the best, Timothy -- Timothy (‘tecosaur’/‘TEC’), Org mo

Re: Exporting images to different output formats

2022-10-29 Thread Ihor Radchenko
Michael Welle writes: > I want to export to different output formats. Trouble is the way ox-gfm > exports images. So I thought, hm, why not utilise macros to abstract away > the differences. Well, that escalated quickly: > > #+macro: img_gfm (eval (concat "#+begin_export md\n![img](" $1 " \"" $2

Re: Inserting arbitrary lines before tables with Babel

2022-10-29 Thread Ihor Radchenko
Kierin Bell writes: > When evaluating Babel code blocks with a ':results table' header > argument, what is the best way to automatically insert text _outside_ > of the table? > > For example, if I have a source block: > #+NAME: get-random-table > #+begin_src R :var length=12 :results table > ru

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-29 Thread Ihor Radchenko
Samuel Wales writes: > perhaps some fuction in org-capture-before-finalize-hook could raise > emacs for a tiny period of time or something, in the case that it is > invoked when emacs is not visible. if so, and idk if poss, i would > have to try it to find out if it wfm. > > then i wouldn't hafe

Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions)

2022-10-29 Thread tomas
On Sun, Oct 30, 2022 at 03:31:32AM +, Ihor Radchenko wrote: > to...@tuxteam.de writes: > > >> What you are describing would better fit into a new :results option. > > > > Oh, I missed the popup part. Sounds useful for yet another profile, > > yes. > > If you need it, feel free to open a separ

Re: org-x11idle-exists-p with emacs --daemon

2022-10-29 Thread Max Nikulin
Ihor, what I do not like in your patch is that an external process is unconditionally executed during load time. Earlier there was a (failed) attempt to limit it to X11. - Unsure if Windows builds of Emacs may connect to X servers. - MacOS does not use x11idle, it calls ioreg and perl instead.

Re: [PATCH v2] lisp/ob-plantuml.el: Insert results in buffer

2022-10-29 Thread Ihor Radchenko
Joseph Turner writes: > Ihor Radchenko writes: > >> Let's take this opportunity and fix another omission in ob-plantuml. >> :results may generally contain Elisp sexps to be evaluated and the whole >> split-string busyness is not accurate. Please use :result-params list >> instead of :results. >

Re: @string abbreviation in bib file not honored in (basic) org-cite

2022-10-29 Thread Ihor Radchenko
Joost writes: > On Thu, 28 Jul 2022, at 14:12, Ihor Radchenko wrote: >> Did you manage to get the copyright form from FSF? >> They are supposed to respond within 5 working days. > > Yeah, I have the form. I signed it and scanned it, just haven't sent it off > yet... May I know if there is any u