Re: Support for tagging (special) blocks

2022-08-31 Thread Ihor Radchenko
Payas Relekar writes: > Tags are bit more generic though, and allow searching across not just > code blocks, but TODOs as well. They do not. Tags are only considered inside headlines. Trying to allow tags outside headlines will require major changes across the whole Org codebase and will still m

Re: Support for tagging (special) blocks

2022-08-31 Thread Payas Relekar
Kaushal Modi writes: Tags are bit more generic though, and allow searching across not just code blocks, but TODOs as well. Thanks, Payas > On Wed, Aug 31, 2022 at 4:19 PM Sébastien Miquel > wrote: > >> Hi, >> >> I've been using tags on special blocks, src blocks and other, for two >> purposes:

Re: Manual Ordering and Dynamic Priority

2022-08-31 Thread Tim Cross
Eduardo Suarez writes: > I have lots of tasks (todos) and I would like to create a long backlog based > on > my perceived priority. > > I was thinking to deal with them in the following way: > > - divide them in groups (categories or similar), > - manually sort priority for every group, > - me

Re: Support for tagging (special) blocks

2022-08-31 Thread Kaushal Modi
On Wed, Aug 31, 2022 at 4:19 PM Sébastien Miquel wrote: > Hi, > > I've been using tags on special blocks, src blocks and other, for two > purposes: > > 1. to control which blocks get exported, using the `#+exclude_tags` > property. > 2. to fine tune the export, according to tags, of spec

Support for tagging (special) blocks

2022-08-31 Thread Sébastien Miquel
Hi, I've been using tags on special blocks, src blocks and other, for two purposes: 1. to control which blocks get exported, using the `#+exclude_tags` property. 2. to fine tune the export, according to tags, of special blocks such as #+BEGIN_exercice

Re: Babel C-mode corrupts double-quoted strings in output

2022-08-31 Thread Immanuel Litzroth
I would advise you not to use org babel for compiled languages. There is just too much stuff that doesn't work well and multifile dependencies & build systems are just plain hard to get right. Debugging is annoying and getting org babel to tell you compiler where the source actually came from is im

Babel C-mode corrupts double-quoted strings in output

2022-08-31 Thread Martin Jerabek
Hi! I recently started to use Org Babel for C++ programs. One of the programs outputs several lines with double-quoted strings, similar to this: #+NAME: doublequotes_cpp #+begin_src cpp :includes :results output verbatim raw std::cout << "\"line 1\"\n"; std::cout << "\"line 2\"\n"; std::cout <<

Re: Manual Ordering and Dynamic Priority

2022-08-31 Thread indieterminacy
Hello Eduardo, On 31-08-2022 18:13, Eduardo Suarez wrote: I have lots of tasks (todos) and I would like to create a long backlog based on my perceived priority. I was thinking to deal with them in the following way: - divide them in groups (categories or similar), - manually sort priority for

Manual Ordering and Dynamic Priority

2022-08-31 Thread Eduardo Suarez
I have lots of tasks (todos) and I would like to create a long backlog based on my perceived priority. I was thinking to deal with them in the following way: - divide them in groups (categories or similar), - manually sort priority for every group, - mergesort groups, that is, start merging group

org-time-stamp-custom-formats with out the name of the day of the week

2022-08-31 Thread Uwe Brauer
Hi I have set (setq org-time-stamp-custom-formats '(" %d.%m.%Y " . " %d.%m.%Y")) Now a time-stamp gets displayed (german convention) <31.08.2022> However when I run org-toggle-time-stamp-overlays I see <2022-08-21 Mi> Which is well expected. So I am wondering, is there a way trul

[BUG] visibility cycling does not work because org-element--cache-active-p defined later than it is used in org-element.el

2022-08-31 Thread Esa Palosaari
The expectation is that using TAB cycles subtree visibility. What in fact happens is nothing but a "function definition is void: org-element--cache-active-p" error is shown in the minibuffer. The bug is a "function definition void" error when using tabulator for subtree cycling on macOS using ARM

Re: Improve the docstring for 'org-html-mathjax-options'

2022-08-31 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Rudolf, since you are probably more familiar with MathJax, may you > please take a look at the report below and tell us if the suggestions > are sensible? Sure, see below. > I tried setting 'autonumber' to "None", as the docstring suggests, but > only the lower-cased "n

Re: Suspected bug: example block in a footnote doesn't fold if starts with 2 blank lines

2022-08-31 Thread Alain . Cochard
Ihor Radchenko writes on Wed 31 Aug 2022 09:57: > This is not a bug. Just unintuitive syntax: > [...] > The important part is: It ends at the next footnote definition, > headline, or after two consecutive empty lines. > > So, your example is > > foo[fn:1] > > [fn:1] bar > #+begin_exa

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

2022-08-31 Thread Ihor Radchenko
Mikhail Skorzhisnkii writes: > I have signed FSF papers. Attaching a rebased patch with additional changes to > ORG-NEWS Bastien, could you kindly check the FSF records? -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https

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

2022-08-31 Thread Ihor Radchenko
Mikhail Skorzhisnkii writes: > Subject: [PATCH 1/2] org-agenda.el: customize outline path in echo area I do not see the second patch. Did you forget to attach it? -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://libe

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

2022-08-31 Thread Ihor Radchenko
Mikhail Skorzhisnkii writes: > I have signed FSF papers. Attaching a rebased patch with additional changes to > ORG-NEWS Thanks! > Subject: [PATCH 1/2] org-agenda.el: customize outline path in echo area > > * lisp/org-agenda.el (org-agenda-show-outline-path): add an option to > show document ti

Re: Have all the tags of a heading, with a tag hierarchy

2022-08-31 Thread Cletip Cletip
Just one last clarification to be sure: there is no native function in org-mode to have the list of tags with a hierarchy? I have to write my function with the two functions org-get-tags and org-tags-expand to get the result I want : a list of tags that takes into account the hierarchy defined by t

Re: Have all the tags of a heading, with a tag hierarchy

2022-08-31 Thread Cletip Cletip
Sorry, I found the solution : i must just give one argument non-nil to the function "org-tags-expand". Like this : (org-tags-expand "GTD" t) It's perfect, thanks a lot for your help ! Le mer. 31 août 2022 à 11:01, Cletip Cletip a écrit : > Thank you for your answer, and sorry for the late reply

Re: Have all the tags of a heading, with a tag hierarchy

2022-08-31 Thread Cletip Cletip
Thank you for your answer, and sorry for the late reply Ok I think I understood the mechanism, but I don't understand how to use this regular expression (the one given by, for example, (org-tags-expand "GTD") which gives me the regular expression "with the other tags" ) I see perfectly the idea :