Re: [BUG] org-todo (C-c C-t) bad negative prefix behavior [9.5.2 (9.5.2-gfbff08 @ /home/ionasal/.emacs.d/elpa/org-9.5.2/)]

2022-06-25 Thread Allen Li
Attached On Sat, Jun 25, 2022 at 9:48 PM Ihor Radchenko wrote: > Allen Li writes: > > >> Would you also be interested to write a test checking org-todo ARGS? > >> > > > > Attached > > Thanks! However, it is unclear what this test is checking for. > > > +(ert-deftest test-org/org-todo-prefix ()

Re: [PATCH] Add missing commands to org-agenda-custom-commands docstring

2022-06-25 Thread Ihor Radchenko
Stefan Kangas writes: > It seems like the `org-agenda-custom-commands' docstring had some > missing and incorrect information. Please see the attached patch that > should improve the situation slightly. Thanks for this patch and for the other stylistic/docstring fixes! It is great that someone

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

2022-06-25 Thread Arthur Miller
Ihor Radchenko writes: > Arthur Miller writes: > >> Ihor Radchenko writes: >> >>> Arthur Miller writes: >>> I have reworked a bit org-capture, but I haven't yet worked on org-agenda restrictions and other details. >>> >>> I do not think that you need to prioritize re-creating >>>

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

2022-06-25 Thread Arthur Miller
Max Nikulin writes: > On 22/06/2022 19:13, Arthur Miller wrote: >> Max Nikulin writes: >> Menu should and application should be separated in my eyes. Menu is just a >> graphical/audio? presentation of selectable choice to the user. As such it >> should display choices, let user pick a choice,

Re: [BUG] org-todo (C-c C-t) bad negative prefix behavior [9.5.2 (9.5.2-gfbff08 @ /home/ionasal/.emacs.d/elpa/org-9.5.2/)]

2022-06-25 Thread Ihor Radchenko
Allen Li writes: >> Would you also be interested to write a test checking org-todo ARGS? >> > > Attached Thanks! However, it is unclear what this test is checking for. > +(ert-deftest test-org/org-todo-prefix () > + "Test `org-todo' prefix arg behavior." > + ;; -1 prefix arg should cancel

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

2022-06-25 Thread Ihor Radchenko
Arthur Miller writes: > Ihor Radchenko writes: > >> Arthur Miller writes: >> >>> I have reworked a bit org-capture, but I haven't yet worked on org-agenda >>> restrictions and other details. >> >> I do not think that you need to prioritize re-creating >> org-capture/org-agenda/etc The main

Re: Using exec functions to simplify session code

2022-06-25 Thread Ihor Radchenko
Ivar Fredholm writes: > At this point, Babel calls org-babel-execute:python, which decides, based on > the 'session' header, whether or not to call python3 tmp_code.py or to feed > each line in tmp_code.py into the session interpreter. What I am wondering is > if we could replace the code for

Re: [BUG] org-todo (C-c C-t) bad negative prefix behavior [9.5.2 (9.5.2-gfbff08 @ /home/ionasal/.emacs.d/elpa/org-9.5.2/)]

2022-06-25 Thread Allen Li
On Fri, Jun 17, 2022 at 11:09 PM Ihor Radchenko wrote: > Ihor Radchenko writes: > > > Allen Li writes: > > > >> On Sat, Jan 1, 2022 at 9:31 AM Allen Li > wrote: > >> > >>> It seems like the right fix here is to make - behave the same as -1, > and > >>> raise a user error for any other

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

2022-06-25 Thread Arthur Miller
Ihor Radchenko writes: > Arthur Miller writes: > >> I have reworked a bit org-capture, but I haven't yet worked on org-agenda >> restrictions and other details. > > I do not think that you need to prioritize re-creating > org-capture/org-agenda/etc The main point is making sure that org-select

Re: Beamer export: Executing LaTeX between two frames

2022-06-25 Thread Ihor Radchenko
"Fraga, Eric" writes: > On Tuesday, 21 Jun 2022 at 10:01, M. ‘quintus’ Gülker wrote: >> I am working on a presentation for a conference (using org-mode and its >> beamer export) and want to exchange the entire background for a specific >> frame with an image. This is possible with Beamer, see >

Org mode export accessibility (was: About 'inline special blocks')

2022-06-25 Thread Ihor Radchenko
Tim Cross writes: > Sadly, org isn't great from an accessibility perspective. This is > something I would like to see improved, but it is a huge and complex > task. There are some 'easy' winds we could try. For example, org still > defaults to using the and tags instead of > and . Likewise,

Re: ox-latex table tabbing support.

2022-06-25 Thread Kyle Meyer
Ihor Radchenko writes: > Daniel Fleischer writes: > >> Thank you very much for the patch. It was merged to master in 4a0d951c. >> Also, you were added to the orgmode contributes at >> https://orgmode.org/worg/contributors.html. >> >> Thanks for the contribution. > > This commit triggers > > In

Re: We have asynchronous sessions, why have anything else?

2022-06-25 Thread Ihor Radchenko
Ivar Fredholm writes: > A session-less block can be executed by starting a session with a special > name (say "*none") which always gets killed after block execution is > completed. For interpreter-less languages, we could use the shell as an > interpreter (for instance, if we wanted to

We have asynchronous sessions, why have anything else?

2022-06-25 Thread Ivar Fredholm
A session-less block can be executed by starting a session with a special name (say "*none") which always gets killed after block execution is completed. For interpreter-less languages, we could use the shell as an interpreter (for instance, if we wanted to execute C, we could just start a

[PATCH] Add missing commands to org-agenda-custom-commands docstring

2022-06-25 Thread Stefan Kangas
It seems like the `org-agenda-custom-commands' docstring had some missing and incorrect information. Please see the attached patch that should improve the situation slightly. From 72dd496e5eba7310854caa6c6daaee2cebd62662 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 26 Jun 2022

Re: [PATCH] Prefer "website" to "homepage"

2022-06-25 Thread Ihor Radchenko
Stefan Kangas writes: > Ihor Radchenko writes: > >> Thanks! So, Emacs now advises to use "website" and "URL:", right? >> Mentioning this fact, and the relevant commit would improve the commit >> message. (that is: please update the commit message explaining the >> change by changed Emacs

Re: ox-latex table tabbing support.

2022-06-25 Thread Ihor Radchenko
Daniel Fleischer writes: > Thank you very much for the patch. It was merged to master in 4a0d951c. > Also, you were added to the orgmode contributes at > https://orgmode.org/worg/contributors.html. > > Thanks for the contribution. This commit triggers In org-latex--align-string-tabbing:

Re: Allowed characters/formatting in Org text blocks

2022-06-25 Thread Ihor Radchenko
Fabio Natali writes: > Now consider a slight variation where "Hello world" is formatted as a > Org heading. The 'org-babel-goto-named-src-block' function is no longer > able to identify the text block. Executing the Emacs Lisp block results > in the error message below. > > #+name: bar >

Allowed characters/formatting in Org text blocks

2022-06-25 Thread Fabio Natali
Hello, I seem to be having problems when selecting an Org text block from an Emacs Lisp snippet. An MVE follows. Consider a buffer with the following blocks. In this first example, the Emacs Lisp block runs successfully. The block "foo" is identified correctly and the point gets moved

Re: Org and Hyperbole

2022-06-25 Thread David Masterson
Robert Weiner writes: > Great to see you here too. We could use you on extended Hyperbole > documentation if you ever get into it. Thanks, my hands don't type well anymore or I might've considered it, > 1. The OO-Browser was part of InfoDock, my IDE framework atop XEmacs. > I have updated it

Re: Org and Hyperbole

2022-06-25 Thread Robert Weiner
Hi David: Great to see you here too. We could use you on extended Hyperbole documentation if you ever get into it. 1. The OO-Browser was part of InfoDock, my IDE framework atop XEmacs. I have updated it for GNU Emacs but never get the time to finish it enough to put it out there again as

Re: Org and Hyperbole

2022-06-25 Thread Robert Weiner
Good idea, Juan. I’m all for quick ways to activate buttons without losing your current context. I’ll take a look at how we might support this as an optional load. -- Bob > On Jun 25, 2022, at 10:32 AM, Juan Manuel Macías > wrote: > > Hi, Robert, > > Robert Weiner writes: > >> We do

Re: Org and Hyperbole

2022-06-25 Thread David Masterson
Robert Weiner writes: > I am happy to answer questions and discuss ways we can make Hyperbole > and Org work even better together; one direct question per message > would typically work best. Responses may take awhile as my schedule > makes it difficult to keep up with high volume mailing lists

Re: [PATCH] Prefer "website" to "homepage"

2022-06-25 Thread Stefan Kangas
Ihor Radchenko writes: > Thanks! So, Emacs now advises to use "website" and "URL:", right? > Mentioning this fact, and the relevant commit would improve the commit > message. (that is: please update the commit message explaining the > change by changed Emacs recommendations). Please see the

Re: [BUG] incorrect cached element under native-comp [9.5.4 (9.5.4-ga8b322 @ /Users/jabrahms/.emacs.d/straight/build/org/)]

2022-06-25 Thread Justin Abrahms
Just to close the loop here: Despite multiple reproductions at the time, I can no longer reproduce this. I'll keep an eye on this function though. Thank you. On Tue, Jun 14, 2022, at 12:20 AM, Ihor Radchenko wrote: > "Justin Abrahms" writes: > > > All of that is correct, yes. > > Which means

Re: Org and Hyperbole

2022-06-25 Thread Juan Manuel Macías
Hi, Robert, Robert Weiner writes: > We do like avy and as you say, Hyperbole can work with it. We try to > avoid requiring any non-builtin Emacs packages for Hyperbole. With a > few, we support them optionally. Unless there is a strong use case > for utilizing avy in certain ways, we would

Re: [BUG] manual: confusing example of adding attributes to a link (affiliated keywords)

2022-06-25 Thread Ihor Radchenko
Max Nikulin writes: > On 25/06/2022 17:39, Ihor Radchenko wrote: >> Max Nikulin writes: >> >>> The following example is somewhat contrived. Try to set different >>> options (width or e.g. angle) for several inline images. It applies to >>> LaTeX as well: >>> >>> #+attr_latex: :center nil

Re: [BUG] manual: confusing example of adding attributes to a link (affiliated keywords)

2022-06-25 Thread Max Nikulin
On 25/06/2022 17:39, Ihor Radchenko wrote: Max Nikulin writes: The following example is somewhat contrived. Try to set different options (width or e.g. angle) for several inline images. It applies to LaTeX as well: #+attr_latex: :center nil :options angle=30 :width 16mm

Re: org-ref3 export html with references of pages

2022-06-25 Thread John Kitchin
Hi Joseph, It looks like what I suggested (e.g. use a csl file that supports what you want) This org file: #+csl-style: american-medical-association-brackets.csl #+csl-locale: en-US See [[cite: 55-56]] bibliography:~/Dropbox/emacs/bibliography/references.bib leads to this output for me. You

Re: [BUG] manual: confusing example of adding attributes to a link (affiliated keywords)

2022-06-25 Thread Ihor Radchenko
Max Nikulin writes: > Certainly it is possible to document that attributes are mostly useful > for image links when they are block-level elements rather than inline > objects. Caveats of trying to use attributes for inline objects should > be clearly stated to avoid false expectation of

Re: [BUG] manual: confusing example of adding attributes to a link (affiliated keywords)

2022-06-25 Thread Max Nikulin
On 25/06/2022 12:29, Ihor Radchenko wrote: Max Nikulin writes: #+ATTR_HTML: :title The Org mode homepage :style color:red; [[https://orgmode.org]] Likely I have seen similar suggestions in this list as well. Actually it assigns attribute to paragraphs in addition to links. That is why, I

org-ref3 export html with references of pages

2022-06-25 Thread Joseph Vidal-Rosset
Hello everyone, With org-ref (version 3) I meet the following (minor) problem with the html export of references when I want to give the pages of a book in numerical csl format. With LaTeX export, no difficulty: I get [1, pp. 55-56] to refer to the book 1 and pages 55-56. With html

Re: [PATCH] New remote resource download policy

2022-06-25 Thread Max Nikulin
On 22/06/2022 17:01, Timothy wrote: — a/lisp/org-attach.el +++ b/lisp/org-attach.el @@ -525,7 +525,11 @@ (defun org-attach-attach (file visit-dir method) [snip] +(if (or (not noninteractive) (org–should-fetch-remote-resource-p file)) I am confused by (not noninteractive). Does it

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-25 Thread Bruno Barbier
Hi Ypo, Ypo writes: > Hi, Bruno > > Yes, I tried your assertion for bug-hunter, but it didn't work. > > (unless (eq 'universal-argument (keymap-lookup global-map "C-u")) > (error "C-u has been redefined")) > I'm not sure in what way it didn't work and I didn't try bug-hunter yet.

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

2022-06-25 Thread Ihor Radchenko
Arthur Miller writes: > I have reworked a bit org-capture, but I haven't yet worked on org-agenda > restrictions and other details. I do not think that you need to prioritize re-creating org-capture/org-agenda/etc The main point is making sure that org-select provides the required