[PATCH] (cosmetic) improving block declaration colors

2022-06-08 Thread Phil Estival
Hi, from org 9.5.3-g69c588 PATCH 1/2: Having several programming books converted to org, I read a lot of begin/end_src expressions. The following patch helps lessen the visibility of those terms: they are syntax tokens and can be replaced my colors. So this gives different faces to the langua

Include LaTeX source and compiled result

2022-06-08 Thread Denis Maier
Hi everyone, for the documentation of my LaTeX courses I use examples that show the output next to the source code. I'm contemplating whether I should convert the documentation and examples to org, and use org-babel to include the examples. I think this should be possible with org-babel. How

Re: Include LaTeX source and compiled result

2022-06-08 Thread Denis Maier
Hmmm, even this tells me "Code block produced no output" #+begin_example Test #+begin_src latex :file asdf.pdf Blabla #+end_src #+RESULTS: #+begin_export latex #+end_export Test #+begin_example But I can compile the temporary tex file without problems. I'm probably missing something fundament

Re: Include LaTeX source and compiled result

2022-06-08 Thread Fraga, Eric
On Wednesday, 8 Jun 2022 at 09:43, Denis Maier wrote: > However, I cannot manage to get this to work: If you want to show the LaTeX, you need to add ":exports code" to the src block, or ":exports both :results file" if you want to show both code and the resulting PDF. -- : Eric S Fraga, with or

Org-attach for a directory

2022-06-08 Thread Cletip Cletip
Hello to all. I hope to have understood the operation to ask a question to all the members, I hope that my question will not disturb anybody. If this is not the right place, do not hesitate to tell me and I apologize in advance for the inconvenience My question is in the object : can we attach a d

Re: Org-attach for a directory

2022-06-08 Thread Fraga, Eric
On Wednesday, 8 Jun 2022 at 11:59, Cletip Cletip wrote: > My question is in the object : can we attach a directory to a heading? If you mean copying the directory and all of its contents, I imagine not. However, you can link to the directory if you wish by visiting the directory using dired, say

Re: Org-attach for a directory

2022-06-08 Thread Juan Manuel Macías
Hi, Cletip Cletip writes: > My question is in the object : can we attach a directory to a heading? > If yes, how, if not, why. Can we solve the problem? I have in my init the following modification to the org-attach-attach function so that I can copy a directory. I have replaced the line ((eq m

[PATCH] org.el (org-latex-preview): With an active region, act on it

2022-06-08 Thread Sébastien Miquel
Hi, The attached patch modifies org-latex-preview to display all images of latex fragments in a region, when one is active. Using prefix arguments it is already possible to display all images in the buffer, or in the current section, but I find it often too slow and unnecessary. Regards, -

Re: Proposal: 'executable' org-capture-templaes

2022-06-08 Thread Ihor Radchenko
Arthur Miller writes: >> Could you provide a bit more details? How exactly will the usage differ >> from read-key? > > Short here: it will be ordinary text buffer, read only of course, with its own > major mode derived from special mode and buffer local key maps, instead of > major > mode global

Re: Proposal: 'executable' org-capture-templaes

2022-06-08 Thread Ihor Radchenko
Arthur Miller writes: > The command will then make a temporary buffer listing all entries > that can be selected with a single key, and all the single key > prefixes. When you press the key for a single-letter entry, it is selected. > When you press a prefix key, the commands (and maybe further

Re: Proposal: 'executable' org-capture-templaes

2022-06-08 Thread Ihor Radchenko
Tim Cross writes: > I'm not sure I really understand the exact goal you have here. To me, it > feels like yet another input selection/menu/completion scheme and I'm > not clear on how it will be an improvement or why do something > 'different' in org compared to other modes etc. However, I also d

Re: Proposal: 'executable' org-capture-templaes

2022-06-08 Thread Ihor Radchenko
Samuel Wales writes: > [accessbilty/refactoring aside, i want to say i really like many > aspects of the care taken to make many of our menus. e.g. kw > selection or tag selection use colors, have low key count. date > selection too. i wonder how much of this will survive?] Everything must su

Org Column in Thunderbird

2022-06-08 Thread Max Nikulin
Hi, I am playing with a thunderbird add-on that may add an icon to folder view if Org Mode files contains a link to this message. It is not polished yet, but I suppose, you may try it https://github.com/maxnikulin/orco/ Installation requires more steps since it is necessary to setup so call

Re: [PATCH] org-lint: Fix invocation with C-u prefix argument

2022-06-08 Thread Ihor Radchenko
Nick Dokos writes: >> LGTM! Is there any reason you did not push the patch upstream yourself? >> > > ISTR I used to have push access to the repo, but in some repo move I > think I've lost it and I've never arranged to get it back. At least, I > *think* that was the case - but perhaps given my gen

Re: [BUG] org-link-descriptive affects verbatim text

2022-06-08 Thread Ihor Radchenko
Max Nikulin writes: > Hi, > > I noticed that current main HEAD hides link description even when it is > not a link but verbatim text: > > =[[http://orgmode.org][Org]]= > > Just underlined =Org= is displayed, while earlier version of Org > displays whole verbatim text. > > 1105da80a doc/org-manu

Re: [PATCH] (cosmetic) improving block declaration colors

2022-06-08 Thread Ihor Radchenko
Phil Estival writes: > Having several programming books converted to org, > I read a lot of begin/end_src expressions. The > following patch helps lessen the visibility of > those terms: they are syntax tokens and can be > replaced my colors. > > So this gives different faces to the language > sp

Re: git branch rename and git config q

2022-06-08 Thread Max Nikulin
On 08/06/2022 09:10, Ihor Radchenko wrote: Samuel Wales writes: more confused than ever. i hoped i could just run a rename command, or possibly rename maint to bugfix in config. Max tends to go very deeply into details. I never used branch.*.rebase configuration. By the way, git-pull and

Re: [BUG] org-link-descriptive affects verbatim text

2022-06-08 Thread Max Nikulin
On 08/06/2022 20:43, Ihor Radchenko wrote: Max Nikulin writes: I noticed that current main HEAD hides link description even when it is not a link but verbatim text: =[[http://orgmode.org][Org]]= Just underlined =Org= is displayed, while earlier version of Org displays whole verbatim text. 11

Re: [PATCH] org.el (org-latex-preview): With an active region, act on it

2022-06-08 Thread Daniel Fleischer
Sébastien Miquel [2022-06-08 Wed 11:35] wrote: > The attached patch modifies org-latex-preview to display all images > of latex fragments in a region, when one is active. > Using prefix arguments it is already possible to display all images > in the buffer, or in the current section, but I find it

Re: Include LaTeX source and compiled result

2022-06-08 Thread Denis Maier
Am 08.06.2022 um 10:28 schrieb Fraga, Eric: On Wednesday, 8 Jun 2022 at 09:43, Denis Maier wrote: However, I cannot manage to get this to work: If you want to show the LaTeX, you need to add ":exports code" to the src block, or ":exports both :results file" if you want to show both code and th

Re: Org-attach for a directory

2022-06-08 Thread Cletip Cletip
Thank you for your answer. Unfortunately, I would like to copy the entire directory. To clarify my second question, I would like to have a folder system with org-mode, and therefore only use org-attach to store my documents Le mer. 8 juin 2022 à 12:27, Fraga, Eric a écrit : > On Wednesday, 8 Ju

Re: git branch rename and git config q

2022-06-08 Thread Tim Cross
Max Nikulin writes: > I never used branch.*.rebase configuration. By the way, git-pull and > git-config > man pages a full of warnings related to this feature. I assume that source of > configuration is > https://orgmode.org/worg/org-faq.html#keeping-local-changes-current-with-Org-mode-develop

org-capture firefox extension broken [silently]

2022-06-08 Thread Samuel Wales
i really like and rely on the org-capture extension for firefox. it has worked for years. i was never able to get manual installation of org-protocol and bookmarklets to work, so this extension has been extremely useful.[*] however, upon an upgrade and a reboot in a security-supported debian, te

Re: Proposal: 'executable' org-capture-templaes

2022-06-08 Thread Tim Cross
Ihor Radchenko writes: > Tim Cross writes: > >> I'm not sure I really understand the exact goal you have here. To me, it >> feels like yet another input selection/menu/completion scheme and I'm >> not clear on how it will be an improvement or why do something >> 'different' in org compared to

[accessibility] worg obscures text

2022-06-08 Thread Samuel Wales
on this page, i cannot read the rhs of paragraphs near the top because the menu and up home elements obscure the text. https://orgmode.org/worg/org-faq.html#keeping-local-changes-current-with-Org-mode-development . i use very large fonts. i have latest esr firefox maximized to the large monitor.

Re: git branch rename and git config q

2022-06-08 Thread Samuel Wales
i /might/ have gotten it fixed. will have to confirm when can. takes me time to do things so i have drafts, but it sounds like this by max is a shortened version, so i tried it: vvv I have not tested the following commands git remote set-url origin https://git.savannah.gnu.org/git/emacs/org

Re: git branch rename and git config q

2022-06-08 Thread Samuel Wales
p.s. than k you for the faq link. did not understand the wording re the makefile stuff re wehther relevant. the point about my patches being semantically wrong in principle is a good one but any solution other than submitting my patches and having them accepted would have the same problem i thik.

Re: git branch rename and git config q

2022-06-08 Thread Samuel Wales
corredction: i think i meant local branch for the maual change. ad i think it was merly merge = refs/heads/bugfix. On 6/8/22, Samuel Wales wrote: > p.s. than k you for the faq link. did not understand the wording re > the makefile stuff re wehther relevant. the point about my patches > b

Re: [PATCH] org-lint: Fix invocation with C-u prefix argument

2022-06-08 Thread Nick Dokos
On 6/8/22 09:30, Ihor Radchenko wrote: Nick Dokos writes: LGTM! Is there any reason you did not push the patch upstream yourself? ISTR I used to have push access to the repo, but in some repo move I think I've lost it and I've never arranged to get it back. At least, I *think* that was the c

Re: Proposal: 'executable' org-capture-templaes

2022-06-08 Thread Ihor Radchenko
Tim Cross writes: > I think I totally get where your coming from and I agree with all > points. However, I don't quite get exactly what Arthur is proposing at a > concrete level. > > Overall, I guess my main concern is that this is one of those areas > where it looks deceptively easy to improve

Re:Re: [DISCUSSION] Refactoring fontification system

2022-06-08 Thread Pedro Andres Aranda Gutierrez
Max Niulin writes: >> On 03/06/2022 16:45, Ihor Radchenko wrote: >> >> From my point of view exporters may reuse code block formatters for >> examples. It would allow to pass options to e.g. LaTeX verbatim environment: >> Pedro Andres Aranda Gutierrez. Re: A question/bug report(?) Wed, 30 Mar >> 2