Re: oeg-add-note and double backslash ?

2023-12-04 Thread David Masterson
Samuel Wales writes: > On 12/4/23, David Masterson wrote: >> Ihor Radchenko writes: >> >>> David Masterson writes: >>> org-add-note puts a '\\' at the end of the first line. Is it expected the user will put '\\' at the end of each line of a multiline note (except the last

Re: OrgMode Agenda empty if one of files is missing from the org-agenda-files

2023-12-04 Thread Ali M.
You are right I tried again, and this time, i checked the echo/mini buffer area, and it had the options you mentioned above my bad My agenda windows open on the side, not the bottom (not sure why), so i guess this why i didnt notice the warning in the echo area before also a bit unfortunate that

What is the status of ob-maxima.el? Is this a bug?

2023-12-04 Thread Eduardo Ochs
Hi list, what is the status of ob-maxima.el? Is it considered to be functional? If yes, what am I doing wrong? If no, should I file a bug report about the problem below? If I eval these two sexps and then execute the code block below them with `C-c C-c' - obs: I added some indentation for

Re: oeg-add-note and double backslash ?

2023-12-04 Thread Samuel Wales
(info "(org) Paragraphs") On 12/4/23, David Masterson wrote: > Ihor Radchenko writes: > >> David Masterson writes: >> >>> org-add-note puts a '\\' at the end of the first line. Is it expected >>> the user will put '\\' at the end of each line of a multiline note >>> (except the last line)? >>

Org contributors: Typo in a heading

2023-12-04 Thread Rudolf Adamkovič
A quick heads-up about a typo at https://orgmode.org/worg/contributors.html Actual heading: Current contributors with FSF assignement Expected heading: Current contributors with FSF assignment Rudy -- "'Obvious' is all too often a synonym for 'wrong'." -- Jeff Erickson, Algorithms,

Re: oeg-add-note and double backslash ?

2023-12-04 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > >> org-add-note puts a '\\' at the end of the first line. Is it expected >> the user will put '\\' at the end of each line of a multiline note >> (except the last line)? > > No. > >> .. Why is this done? > > To prevent fill-region from

Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline

2023-12-04 Thread Matt
On Mon, 04 Dec 2023 14:55:58 +0100 Ihor Radchenko wrote --- > Matt m...@excalamus.com> writes: > > > > #+begin_src bash :cmdline 1 2 3 > > >printf "%s\n" "$1" > > > #+end_src > > > > > > #+RESULTS: > > > : 1 > > > > > > #+begin_src bash :cmdline 1 2 3 :shebang

Suggestion for org-agenda-list: pre-open org-agenda-files

2023-12-04 Thread John Wiegley
Recently I switched all of my Org files from “properties at the bottom” to “properties at the top”, in order to avoid maintaining my own fork with this capability. Although that fork had been working well, Ihor had a good argument that I’m potentially opting myself out of 3rd party tools by

[BUG] subheadings disappear from buffer [9.6.6 (release_9.6.6 @ /opt/local/share/emacs/29.1/lisp/org/)]

2023-12-04 Thread Peter Mao
This is an incomplete initial bug report. I don't have time right now to chase down all the details. A couple of times in the past month, the subheadings in the org file I'm working on (with lots of org-babel code blocks) disappear. does not fold or unfold those headings, although the

Re: Bug in org-insert-link?

2023-12-04 Thread Guillaume MULLER
EDIT: The problem is still here, and I managed to find the actual problem. The problem happens when I do the "C-C C-l file:" then select a file. The root cause is that the mini-buffer then lists all the files in the current directory, and when there are many, the mini-buffer becomes quite

Re: [BUG] org-get-entry-text-content return the title of the next org-entry if current entry has no body.

2023-12-04 Thread SyedZuhair
臘 I have writen the fnction myself... when I didn't know the importance naming functions approperiately in emacs. Sorry. Ihor Radchenko writes: > SyedZuhair writes: > >> 1. define this function: >> >> (defun test-get-entry-text-content () >> (interactive) >> (let ((body

Re: Bug in org-insert-link?

2023-12-04 Thread Guillaume MULLER
Hi, Sorry for coming back that late on this problem. The problem came back again today: Links get inserted into random places again. I think I have (the beginning of) an idea where problem lies. Context: - I'm using (Doom)Emacs in emacs-client mode, and I'm putting my computer only on sleep

Re: oeg-add-note and double backslash ?

2023-12-04 Thread Ihor Radchenko
David Masterson writes: > org-add-note puts a '\\' at the end of the first line. Is it expected > the user will put '\\' at the end of each line of a multiline note > (except the last line)? No. > .. Why is this done? To prevent fill-region from concatenating the auto-generated text in the

Re: OrgMode Agenda empty if one of files is missing from the org-agenda-files

2023-12-04 Thread Ihor Radchenko
"Ali M." writes: > If a file added on my agenda list is deleted, Org Mode Agenda list comes > back empty > > For example, my org agenda has two files > '(org-agenda-files >'("c:/dev/projects/one/one.org" "c:/dev/projects/two/two.org" )) > > Now I deleted folder two , so the folder

Re: [BUG] org-get-entry-text-content return the title of the next org-entry if current entry has no body.

2023-12-04 Thread Ihor Radchenko
SyedZuhair writes: > 1. define this function: > > (defun test-get-entry-text-content () > (interactive) > (let ((body (org-get-entry-text-content))) > (prin1 body) > ) > ) The function `org-get-entry-text-content' is not a part of Org mode. Not an Org mode bug. Canceled. I suggest you to

Re: [BUG] Get "Args out of range" when trying to link heading with completion from inside a footnote

2023-12-04 Thread Ihor Radchenko
luke...@posteo.de writes: > My problem is the following. When I create a footnote with C-c C-x f or > org-footnote-new, and then try to link to an internal heading of my > document typing [[*xyz]] and hitting M-tab for completion, I get nothing > but the message in the minibuffer which says

Re: [BUG] error: Invalid search bound [9.6.11 ( @ /home/nikratio/.emacs.d/elpa/28.2/develop/org-9.6.11/)]

2023-12-04 Thread Ihor Radchenko
"Nikolaus Rath" writes: > When running org-agenda and pressing "x" (see below for configuration), I am > occasionally getting the following error: > > Warning (org-element-cache): org-element--cache: Added org-data parent to > non-headline element: > ... > > Emacs : GNU Emacs 28.2 (build 1,

Re: org-publish and folding ?

2023-12-04 Thread Ihor Radchenko
David Masterson writes: > I keep a number of Org files in buffers when I'm working on Org stuff. I > try to keep them folded so that I get the overview when I switch to the > buffer. I have found that, when I org-publish the project with these Org > files, any Org file that is newly published

Re: [PATCH] Fix indentation in test-org.el

2023-12-04 Thread Ihor Radchenko
Allen Li writes: > The indentation in test-org.el is all over the place. I've attached a > patch fixing it. We generally do not accept whitespace-only changes. Instead, we prefer to fix whitespace together with other _functional_ change. This is because such changes make it harder to use git

Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline

2023-12-04 Thread Ihor Radchenko
Matt writes: > > #+begin_src bash :cmdline 1 2 3 > >printf "%s\n" "$1" > > #+end_src > > > > #+RESULTS: > > : 1 > > > > #+begin_src bash :cmdline 1 2 3 :shebang #!/bin/bash > >printf "%s\n" "$1" > > #+end_src > > > > #+RESULTS: > > : 1 2 3 > > Thank you! This makes a

Re: [BUG] org-clock-auto-clockout does not actually use x11idle on X11 [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-12-04 Thread Ihor Radchenko
Ihor Radchenko writes: > Vladimir Nikishkin writes: > >> For some time I have been wondering why auto-clockout does not use >> x11idle on my machine. >> ... Attaching a tentative fix. It would help if someone can test it on other machine. >From d655c095fda6d1789a20aa93d4ac3a5f269dadc9 Mon Sep

Re: [PATCH] org-id: allow using parent's existing id in links to headlines

2023-12-04 Thread Rick Lupton
Hi, I can’t see this patch listed at https://tracker.orgmode.org/ so just wanted to check it hasn’t got lost? Thanks Rick On Sun, 19 Nov 2023, at 3:21 PM, Rick Lupton wrote: > Here's an updated patch, which adds (optional) search strings to ID > links, and the option to inherit ID targets

Re: Using backticks for the inline code delimiter? (now with `org-publish-all`)

2023-12-04 Thread Ihor Radchenko
chris writes: > The code below is working fine as long as I stay in `org-mode`. But it shows > its limitations when I do `M-x org-publish-all`, at which time, instead of > having the text with style verbatim, I get the text within backticks. > > Is there any improvement you could think of that

Re: Inactive timestamp with TODO are exported in .ics file

2023-12-04 Thread Ihor Radchenko
Cletip Cletip writes: > Despite setting (org-icalendar-with-timestamps 'active), I am facing an > issue where the export includes items with the TODO state and inactive > timestamp. > ... > (org-icalendar-with-timestamps 'active) > (org-icalendar-include-todo nil) ;; nil to not clone scheduled

Re: [BUG] Tangle with symbolic links don't work

2023-12-04 Thread Ihor Radchenko
Cletip Cletip writes: > Sorry to bring up the subject again, but I didn't quite understand what the > solution was: should I modify the function ? Is it modified in a new > version of org-mode ? The tentative solution is attached. May you test it? The previous discussion was mostly about how