bug#45915: 28.0.90; deletechar distorts org-table

2021-12-28 Thread Tak Kunihiro
Dear Ihor Thank you for the patch. I applied the patch to org-table.el on Emacs 28.0.90. And I still see the problem there. Is the problem solved by the patch on your environment? Tak Ihor Radchenko writes: > Tak Kunihiro writes: > >> I confirm that there still is the problem with org-tabl

Re: C-c C-, in a terminal?

2021-12-28 Thread Samuel Banya
Hey Annsi, Awesome reply, just was lurking in this thread, and wanted to actually provide a link to what you mentioned since it looks like a cool package I might even want to try as well: - https://melpa.org/#/free-keys Reason being is that I actually wanted to explore running Emacs in purely a

Re: [SOLVED]

2021-12-28 Thread Ihor Radchenko
Uwe Brauer writes: >> Hmm. I suspect that org-real might not be the problem by itself. Rather >> you may load it too early and pull-in built-in org. > > Well I don't load anything, that is all done by the package system. I was just guessing. But do you really have init.el with no requires? Best

Re: [BUG] org-element-cache "rx '**' range error" [9.6 (9.6-??-8f50ea2d6 @ /home/samc/.emacs.d/.local/straight/build-27.2/org/)]

2021-12-28 Thread Ihor Radchenko
Samuel Crawford writes: > Every time I try to open a particular pdf I'm inundated with "Org parser > error"s, all looking like this: > >> Warning (org-element-cache): org-element--cache: Org parser error in > thesis.pdf::316345. Resetting. >> The error was: (error "rx ‘**’ range error") > > Is

[BUG] org-element-cache "rx '**' range error" [9.6 (9.6-??-8f50ea2d6 @ /home/samc/.emacs.d/.local/straight/build-27.2/org/)]

2021-12-28 Thread Samuel Crawford
Every time I try to open a particular pdf I'm inundated with "Org parser error"s, all looking like this: > Warning (org-element-cache): org-element--cache: Org parser error in thesis.pdf::316345. Resetting. > The error was: (error "rx ‘**’ range error") > Backtrace: > nil > Please report this

ob-lisp determining package

2021-12-28 Thread Alan Ruttenberg
Currently, ob-lisp expects a package as a header argument. This is inconvenient and often unnecessary. Slime (or sly) provides a function to determine the current package: slime-current-package (sly-current-package). The function used to do the evaluation in lisp is slime-eval (sly-eval) and this f

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/)]

2021-12-28 Thread Ihor Radchenko
John Mathena writes: > In Org 9.4.4, you can fix this issue with a snippet like this: > ... > (setq org-map-continue-from (org-element-property :begin > > I believe this is a result of recent additions in org-scan-tags - I hit a > dead end there while trying to determine the exact cause of t

[BUG] ob-python :results value pp does not working

2021-12-28 Thread Christopher M. Miles
The bellowing python source block ~:results value pp~ does not print pprint formated result as expected. I tested with =$ emacs -q= confirmed this problem. #+begin_src python :results value pp dic = {'key1': 1, 'b': 2} dic #+end_src #+RESULTS[(2021-12-29 10:51:14) b1011bfee8a1636204

Re: [BUG] ob-python :results value pp does not working

2021-12-28 Thread Christopher M. Miles
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > The bellowing python source block ~:results value pp~ does not print pprint > formated result as > expected. I tested with =$ emacs -q= confirmed this problem. > > #+begin_src python :results value pp > dic = {'key1': 1, 'b'

Re: C-c C-, in a terminal?

2021-12-28 Thread Tim Cross
Anssi Saari writes: > Hi all, while it's not an ORG mode question exactly, I have a problem > with org-insert-structure-template and it's default shortcut, C-c C-, in > terminals. > > As C-, isn't usually a control character in a terminal, terminals send > just the comma if I hit C-,. Some term

Re: Export org to just body HTML

2021-12-28 Thread Thomas Ingram
Kyle Meyer writes: > Have you tried selecting "Body only" when exporting to an HTML buffer? > With the default bindings, that'd be 'C-c C-e C-b h H'. This is close to what I want, but I lose the title etc.. Ideally I'd like to keep all information usually printed in the HTML body. Thanks!

Re: Export org to just body HTML

2021-12-28 Thread Kyle Meyer
Thomas Ingram writes: > Hello, > > I was wondering if there is an easy to export an org file to HTML that > is just the body of the HTML document. Or to put it differently, just > the HTML formatting that is actually displayed on the page and no extra > metadata (no DOCTYPE, html, head tags etc).

Export org to just body HTML

2021-12-28 Thread Thomas Ingram
Hello, I was wondering if there is an easy to export an org file to HTML that is just the body of the HTML document. Or to put it differently, just the HTML formatting that is actually displayed on the page and no extra metadata (no DOCTYPE, html, head tags etc). I often need this for insertin

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-28 Thread General discussions about Org-mode.
Max Nikulin writes: > No, it means instruction to unload support of emacs-lisp even it was > loaded before. I see. Thank you for the explanation! I misunderstood the (rather unusual) "org-babel-do-load-languages" API despite having read the documentation. > I do not insist that current behav

Re: [SOLVED]

2021-12-28 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> I found the culprit, the recently installed org-real pkg. >> >> I uninstalled it and everything was back to normally. > Hmm. I suspect that org-real might not be the problem by itself. Rather > you may load it too early and pull-in bui

[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/)]

2021-12-28 Thread John Mathena
It's a common workflow to iterate over all Org headings in a given file, archiving those marked with the "DONE" keyword. The only problem is that archiving changes the structure of the file you're operating on, so if you have test.org: * DONE A * DONE B * DONE C * DONE D A will be

Re: caption width in LateX export

2021-12-28 Thread Eric S Fraga
On Tuesday, 28 Dec 2021 at 09:59, Seb wrote: > That is strange, as it actually should not work (it still doesn't for me > with your code). Well, it won't work if the figure is to float but will if you ask org to not float the figure. > However, I had made a mistake in my original post as I mean

Re: caption width in LateX export

2021-12-28 Thread Seb
On Tue, 28 Dec 2021 14:58:35 +, Eric S Fraga wrote: > On Sunday, 26 Dec 2021 at 19:22, Seb wrote: >> Using a special block, as in: > [...] >> fails, as it seems impossible to pass arguments to the special block. > Not true. The following seems to create the LaTeX code you wanted: > #+att

Re: caption width in LateX export

2021-12-28 Thread Eric S Fraga
On Sunday, 26 Dec 2021 at 19:22, Seb wrote: > Using a special block, as in: [...] > fails, as it seems impossible to pass arguments to the special block. Not true. The following seems to create the LaTeX code you wanted: --8<---cut here---start->8--- #+attr_

Re: flyspell overlays removed in comments: does this make sense?

2021-12-28 Thread Eric S Fraga
On Wednesday, 22 Dec 2021 at 22:10, Ihor Radchenko wrote: > I consider this a bug and mark your report as such. Thank you. I'm glad I'm not alone! -- : Eric S Fraga, with org release_9.5.1-279-g8908fb in Emacs 29.0.50 : Latest paper written in org: https://arxiv.org/abs/2106.05096

Re: [SOLVED] (was: [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)])

2021-12-28 Thread Ihor Radchenko
Uwe Brauer writes: > I found the culprit, the recently installed org-real pkg. > > I uninstalled it and everything was back to normally. Hmm. I suspect that org-real might not be the problem by itself. Rather you may load it too early and pull-in built-in org. Best, Ihor

[SOLVED] (was: [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)])

2021-12-28 Thread Uwe Brauer
>>> "UB" == Uwe Brauer writes: > In connection with my earlier bug report, here is the backtrace when starting > emacs > Debugger entered--Lisp error: (void-function org-file-name-concat) > (void-variable org-descriptive-links) > You should still send this bug report. I found the culprit, t

[BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)]

2021-12-28 Thread Uwe Brauer
In connection with my earlier bug report, here is the backtrace when starting emacs Debugger entered--Lisp error: (void-function org-file-name-concat) org-file-name-concat("/home/oub/.cache" "org-persist/") byte-code("\301\302\303 \304\1!\203\16\0\10\202\17\0\211\262\1\305\"!\207" [user-emac

[BUG] org-compat stops working [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)]

2021-12-28 Thread Uwe Brauer
Out of a sudden, when starting emacs I obtain various errors that seem to be conntected to try to load org-compat I obtain Debugger entered--Lisp error: (error "Don’t know how to make a localized variable an alias") defvaralias(org-descriptive-links org-link-descriptive nil) eval-buffe

Re: [PATCH] ox-icalendar.el: create alarm at event time

2021-12-28 Thread Mikhail Skorzhinskii
Hi Nicolas, Thank you for the review, appreciate your comments. I've applied your suggestions. Please find the fixed file in the attachment to this letter. There is one important note that about this patch. There is one corner case: when we've set org-icalendar-force-alarm variable to nil, org- i

Re: [PATCH] ox-icalendar.el: customizable vevent summary prefix

2021-12-28 Thread Mikhail Skorzhinskii
Hi Nicolas, Thank you for the reviewing my suggestions. I've fixed issues you've listed. I've attached new patch to this email. Let me know what you think. Thanks, Mikhail On Sun, 2021-12-26 at 22:26 +0100, Nicolas Goaziou wrote: > Hello, > > Thanks. Some comments follow. > > Mikhail Skorzhin

Re: [PATCH] org-agenda.el: customise outline path in echo area

2021-12-28 Thread Mikhail Skorzhinskii
Hi Ihor, Thank you for your comments once again. I've changed string= to eq and it appears to be working OK. I've also renamed "title" variable to "title-prop" for better readability. The -prop suffix should show the reader that it was extracted from the file, and thus cost some CPU/IO. I've att

Re: [PATCH] org-refile.el: show refile targets with doc. title

2021-12-28 Thread Mikhail Skorzhinskii
Hi Ihor, Thank you for reviewing the changes. Sorry for the sloppy patch, I've retested everything and added a few additional fixes, there were more problems. I've added a couple of test cases too. (BTW, test framework is awesome and really easy to use!) I've attached new patch to this email. Le

bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

2021-12-28 Thread Max Nikulin
On 28/12/2021 04:37, Rudolf Adamkovič wrote: Max Nikulin writes: Let's consider the following example: >8 Test #+begin_src elisp (message "Test") #+end_src 8< - emacs -Q -L ~/src/org-mode/lisp/ --eval "(custom-set-variables '(org-babel-load-languages '((emacs-lisp . ni

Re: C-c C-, in a terminal?

2021-12-28 Thread Vincent Breton
Hi Anssi Saari, In my opinion, your first section is about org but reading others it seams to be a question about terminals so I think your message is one about setup of terminals or about remote protocols. Your question stay interesting because that means some people use org-mode with terminals a

C-c C-, in a terminal?

2021-12-28 Thread Anssi Saari
Hi all, while it's not an ORG mode question exactly, I have a problem with org-insert-structure-template and it's default shortcut, C-c C-, in terminals. As C-, isn't usually a control character in a terminal, terminals send just the comma if I hit C-,. Some terminals (at least wsltty) do send s