org-cite: only last names and et al. for more than two coauthors

2022-06-26 Thread M. Pger
Hi, I've recently tried to switch to org-cite, but I still have some problems with the basics. Consider the following entry: @article{akey2022, title = {This is the title}, shorttitle = {This is the short title}, author = {Surname1, Name1 and Surname2, Name2 and Surname3, Name3}, year =

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
These are Action buttons run by the action button type defined via the defib macro in the “hibtypes.el” file. Just search for ‘defib action’ in there. You can invoke its implicit button type function from Lisp as (ibtypes::action) if I recall. -- Bob > On Jun 26, 2022, at 11:48 PM, Eduardo

Re: Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
On Sun, 26 Jun 2022 at 21:50, Robert Weiner wrote: > > So here is a simple implementation (...) Hi Robert, thanks - but most functions of eev that deal with youtube URLs are clearly marked either as "this is part of a 5-minute hack" or as "this is part of an ex-5-minute hack that grew too

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-06-26 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Is it possible to make a donation through Liberapay without running > > any

Re: [PATCH] Re: [BUG] Adding note to heading without newline at the end

2022-06-26 Thread Samuel Banya
Gotcha, after this great advice, I am also able to get the following result: ``` - Note taken on [2022-06-26 Sun 22:31] \\ Adding test note * test ``` However, even after toggling 'M-x toggle-debug-on-error', it didn't enter the debugger since I guess this would be considered a 'user error'

Re: feature proposal: export to html headless

2022-06-26 Thread Samuel Wales
this isn't an answer for you, but it might be useful for a reader for reference or so. for exporting org subtrees to things like textboxes on the web that accept simplified html, my own command has this at the core: (org-export-to-buffer format ; e.g. 'html

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
So here is a simple implementation that is not unlike your own though the functions are a bit simpler and more clearly documented without a listing of every possible test case type and requires neither Hyperbole nor Org until you want to activate things as buttons: (require 'browse-url) (defun

Re: [PATCH] Re: [BUG] Adding note to heading without newline at the end

2022-06-26 Thread Ihor Radchenko
"Samuel Banya" writes: > Ihor, can you take a look at the .mkv video I attached of my test and let me > know what you did to be able to reproduce this because I'm not observing any > errors on my machine. You misunderstood the email formatting. #+begin_example * test #+end_example actually

Re: Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
On Sun, 26 Jun 2022 at 17:24, Robert Weiner wrote: > > That was not the offer. The offer was to show you how to implement a > discrete eev command using another framework, possibly simplifying > its implementation. Hopefully, from seeing the code used to do this, > you could dig in yourself and

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

2022-06-26 Thread Tim Cross
Ypo writes: > Thanks, Bruno > > I've debugged it manually because (keymap-lookup) doesn't seem to exist in my > emacs, if that's possible. > > The problem comes from: > > (define-key org-mode-map (kbd "C-u C-n") #'org-next-item) > > If I eval that line, "C-u C-SPC" stops working on org-mode.

Re: Org and Hyperbole

2022-06-26 Thread Robert Weiner
Hi Jonathan: Yes, I no longer have time to maintain it and based on quality standards don't wish to re-release it unless one or more highly experienced Emacs package developers want to take it on, as it is a good size package. Such a person would have to have developed significant Emacs packages

Re: Org and Hyperbole

2022-06-26 Thread Robert Weiner
Hi Siva: Yes, I think you have a good handle on the concepts behind Hyperbole buttons and additional Action Key contexts. Beyond that, there is also the Koutliner, HyRolo and HyControl in Hyperbole as you grow into it. Look forward to seeing some of the implicit button types you create for your

Re: Org and Hyperbole

2022-06-26 Thread indieterminacy
On 26-06-2022 22:03, David Masterson wrote: writes: On Sat, Jun 25, 2022 at 11:37:55PM -0700, Siva Swaminathan wrote: [...] I feel that some of the questions raised here about Hyperbole sound akin to the story of five blind men feeling the elephant [...] The nice thing about that kind

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
That was not the offer. The offer was to show you how to implement a discrete eev command using another framework, possibly simplifying its implementation. Hopefully, from seeing the code used to do this, you could dig in yourself and follow the flow to whatever level you like. Hyperbole, for

Re: Org and Hyperbole

2022-06-26 Thread David Masterson
writes: > On Sat, Jun 25, 2022 at 11:37:55PM -0700, Siva Swaminathan wrote: >> [...] I feel that some of the >> questions raised here about Hyperbole sound akin to the story of five >> blind men feeling the elephant [...] > > The nice thing about that kind of situation is that it only can

Re: Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
On Sun, 26 Jun 2022 at 15:23, Robert Weiner wrote: > > Maybe if you could pick a single eev function that you think could > be implemented with Org and Hyperbole and pointed us to the > documentation for that, then we could show you an equivalent one > using these packages and begin to give you a

Re: Beamer export: Executing LaTeX between two frames

2022-06-26 Thread Fraga, Eric
On Sunday, 26 Jun 2022 at 12:17, Ihor Radchenko wrote: > This is too hacky as for my taste. > > I'd rather use :ignore: tag from ox-extra: Excellent. I did not know that the ignore tag processing closed the previous headline body as it seems to do given your example. This definitely makes

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

2022-06-26 Thread Ypo
Thanks, Bruno I will save your advice for future debugging :-) Maybe you could use the keys that are already defined by org, to move between list items ? ‘S-’ ‘S-’ Jump to the previous/next item in the current list, but only if ‘org-support-shift-select’ is

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

2022-06-26 Thread Ivar Fredholm
Hi, Ihor, I believe the two could be unified if we expand the functionality of the async filter to look for 'exception' tags. Then each language implementation must only put the org-babel src block in a try-except type construction and put the error message into the except block. The async

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

2022-06-26 Thread Bruno Barbier
Ypo writes: > Thanks, Bruno > > I've debugged it manually because (keymap-lookup) doesn't seem to exist > in my emacs, if that's possible. Sorry, my bad. 'keymap-lookup' will only exist in 29. I should have used 'lookup-key': (lookup-key global-map (kbd "C-u")) > > The problem

Re: [PATCH] Re: ox-latex table tabbing support.

2022-06-26 Thread Daniel Fleischer
Kyle Meyer [2022-06-26 Sun 14:18] wrote: > Thanks for the follow-up patch. > This format doesn't quite align to the conventions. Here are two > examples: > > ,[ https://orgmode.org/worg/org-contribute.html#commit-messages ] > | * lisp/org-capture.el (org-capture-set-plist): Make sure txt

Re: [PATCH] Re: ox-latex table tabbing support.

2022-06-26 Thread Kyle Meyer
Thanks for the follow-up patch. Daniel Fleischer writes: > Subject: [PATCH] lisp/ox-latex.el: tabbing code refactor > > * lisp/ox-latex.el: documentation, indentation, cleaning > (org-latex-table) > (org-latex--align-string-tabbing) > (org-table--org-tabbing) This format doesn't quite align to

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
Hi Eduardo: I do get this and see this is why you have not leveraged Hyperbole or Org for eev implementation. (I do feel eev has a number of interesting and useful ideas, and as I've said to you personally, I just hoped you could use Hyperbole or other existing Emacs infrastructure to avoid

Re: Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
On Sun, 26 Jun 2022 at 13:29, Robert Weiner wrote: > Hi Eduardo: > > I really think that you are confused in saying that Hyperbole and Org are > hacker-unfriendly. Yes, they are targeted at users who don't have to > understand the programming, but if you do understand Lisp programming well, >

Re: Allowed characters/formatting in Org text blocks

2022-06-26 Thread Fabio Natali
On 2022-06-26 19:39:25 +0800, Ihor Radchenko wrote: [...] > So, headlines always have higher priority over other elements because > they always serve as separators of the document or parent heading > contents. > > The high priority of headline elements has prons and cons. Hey Ihor, I see, it

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

2022-06-26 Thread Ypo
Thanks, Bruno I've debugged it manually because (keymap-lookup) doesn't seem to exist in my emacs, if that's possible. The problem comes from: (define-key org-mode-map (kbd "C-u C-n") #'org-next-item) If I eval that line, "C-u C-SPC" stops working on org-mode. Same problem in runemacs -q.

Re: Org, Hyperbole, and eev

2022-06-26 Thread Robert Weiner
Hi Eduardo: I really think that you are confused in saying that Hyperbole and Org are hacker-unfriendly. Yes, they are targeted at users who don't have to understand the programming, but if you do understand Lisp programming well, the interactive features are available as Lisp functions in

Org, Hyperbole, and eev

2022-06-26 Thread Eduardo Ochs
Hi all, this message is slightly off-topic, and a shameless plug... Eev can do many things that Org and Hyperbole and do, but it makes very little sense to people who can play the role of "users" well, in the sense of people who can "use" Emacs packages without looking at the elisp source and

[PATCH] Re: ox-latex table tabbing support.

2022-06-26 Thread Daniel Fleischer
Kyle Meyer [2022-06-25 Sat 23:49] wrote: > Thanks for flagging this, Ihor. I was just glancing at this commit > (4a0d951c6) due to seeing this warning. It's doing > > (let ((align ...)) > (setq align ...)) > > where the align value is returned, so the align binding can be dropped >

Re: [PATCH] describe how to override Author

2022-06-26 Thread Daniel Fleischer
Robert Pluim [2022-06-26 Sun 15:47] wrote: > Something like this? (I hope Iʼve got the syntax right, I seldom write > org for exporting purposes). The emacs CONTRIBUTE guidelines talk > about setting 'Author', but I guess not everyone reads those... > +When applying patches written by other

[PATCH] describe how to override Author

2022-06-26 Thread Robert Pluim
Robert> The thing thatʼs missing is any discussion of how to ensure the Author Robert> of the commit is set correctly. When applying git patches it all Robert> works, but not when applying diffs. Iʼll read through the Robert> org-contribute section and see if I can come up with

feature proposal: export to html headless

2022-06-26 Thread Uwe Brauer
Hi Some time ago I asked whether it would be possible to have a simplified html export function (basically I need it to insert it in certain moodle forms) I was pointed out to me by the author/maintainer of org-mode that the following would do the trick (defun my-org-export-to-html ()

Re: Re : Re: org-ref3 export html with references of pages

2022-06-26 Thread Joseph Vidal-Rosset
Hi John, hello everyone, For your information, the numerical style that produces perfectly that I wanted is oil-shale.csl https://www.zotero.org/styles?fields=geology=numeric the code [[first_author_key, 80]] is exported into [1, p. 80] and [[second_author_key, 81-86] , [2, pp. 81-86] url

Re: Allowed characters/formatting in Org text blocks

2022-06-26 Thread Ihor Radchenko
Fabio Natali writes: > Incidentally and FWIW, this is a bit counter-intuitive to me. I'd have > expected everything withing a comment or literal block to be treated as > content until the ending statement, =#+end_comment= or =#+end_src= > respectively. I suppose that this makes sense in the

[PATCH] Improve "Speeding Up Your Agendas" chapters

2022-06-26 Thread Stefan Kangas
Please see the attached patches. Thanks. From 061255f1d6441f1496a3b062d6f29193ff2fb3c2 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 26 Jun 2022 12:48:06 +0200 Subject: [PATCH 1/2] Move appendix on performance in manual to agenda chapter * doc/org-manual.org (Speeding Up Your

Re: Allowed characters/formatting in Org text blocks

2022-06-26 Thread Fabio Natali
On 2022-06-26 08:29:02 +0800, Ihor Radchenko wrote: [...] > You need to escape "*" and "#+" at the beginning of line inside code > blocks using comma: ",*", ",#+". Hi Ihor, Thanks for getting back to me! I see, and yes, the documentation is pretty clear in that regard, you're right. Escaping

Re: Org mode export accessibility

2022-06-26 Thread Ihor Radchenko
Let me take a freedom to add T.V Raman to the discussion. This thread might be of interest for him and he probably knows a lot more about accessibility options. This thread starts at https://list.orgmode.org/87v8sn3obd@gmail.com/T/#u Juan Manuel Macías writes: > Tim Cross writes: > >> As I

Re: Org mode export accessibility

2022-06-26 Thread Juan Manuel Macías
Tim Cross writes: > As I understand it (which isn't brilliant), the core problem is more to > do with how the LaTeX/TeX engine processes the input to generate the > postscript and pdf output. Modern PDFs have a wealth of internal tagging > which simply sin't supported via the tex -> pdf pathway.

Re: ox-latex table tabbing support.

2022-06-26 Thread Robert Pluim
> On Sat, 25 Jun 2022 11:32:21 +0800, Ihor Radchenko > said: Ihor> em...@vergauwen.me writes: >> Hi Robert,  >> I used the instructions provide on  >> https://orgmode.org/worg/org-contribute.html#first-patch. >> For me, it was a first too, send a patch via email. Can

org-capture and fast selection of tags

2022-06-26 Thread Christian Heinrich
Hi everyone, I am trying to set up an org-capture template that presents me with the fast selection window for tags instead of just the prompt one gets when using org-capture's %^g / %^G placeholders. I often have project related tags that I need to apply to many but not all tasks, so this

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

2022-06-26 Thread Bastien Guerry
Hi Ihor and Rudolf, Ihor Radchenko writes: > Bastien, AFAIK Rudolf has completed his FSF copyright assignment. I do confirm. > Can you please add him to the contributor list? Done, thanks, -- Bastien

Re: [BUG] org parser error [9.5.1 (release_9.5.1-256-gf1929a @ /Users/raymondjohn/org-mode/lisp/)]

2022-06-26 Thread Ihor Radchenko
Raymond John Abayan writes: > I have the following error and coudn't seem to find a solution online. > Warning (org-element-cache): org-element--cache: Org parser error in *Org Src > init.org[ elisp ]*::115. Resetting. > The error was: (error "rx ‘**’ range error") > Backtrace: > nil Thanks

[BUG] org parser error [9.5.1 (release_9.5.1-256-gf1929a @ /Users/raymondjohn/org-mode/lisp/)]

2022-06-26 Thread Raymond John Abayan
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [BUG] Async execution fails to detect exceptions

2022-06-26 Thread Ihor Radchenko
Ivar Fredholm writes: > Specifically for ob-python, if an exception happens before we can print the > 'end' token used by async-filter, there will be no output or indication of an > error. Could you please provide steps to reproduce, detail what you expected and what you actually get? See

[BUG] Async execution fails to detect exceptions

2022-06-26 Thread Ivar Fredholm
Specifically for ob-python, if an exception happens before we can print the 'end' token used by async-filter, there will be no output or indication of an error. Sent with [Proton Mail](https://proton.me/) secure email.

Re: Org and Hyperbole

2022-06-26 Thread tomas
On Sat, Jun 25, 2022 at 11:37:55PM -0700, Siva Swaminathan wrote: > Hello, > [...] I feel that some of the > questions raised here about Hyperbole sound akin to the story of five > blind men feeling the elephant [...] The nice thing about that kind of situation is that it only can improve by

Re : Re: org-ref3 export html with references of pages

2022-06-26 Thread Joseph Vidal-Rosset
Hi John, I am ashamed for having not understood this solution by myself ! It works perfectly also with my csl style. Many thanks again for your so kind and very efficient help. Best wishes, Jo. --- https://www.vidal-rosset.net Envoyé avec la messagerie sécurisée [Proton

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

2022-06-26 Thread Tim Cross
Ihor Radchenko writes: > 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

Re: Org and Hyperbole

2022-06-26 Thread Siva Swaminathan
Hello, I only recently became aware of Hyperbole (through Bob's demo video available on Youtube), and came across this thread while googling to find more information about Hyperbole. I feel that some of the questions raised here about Hyperbole sound akin to the story of five blind men feeling

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-26 Thread Ihor Radchenko
Allen Li writes: > Attached Thanks! Applied onto main via 711ada5ac. I changed the patch slightly adding ;; FIXME: Add tests for all other allowed prefix arguments. line to the test. Best, Ihor

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

2022-06-26 Thread Ihor Radchenko
Ihor Radchenko writes: > Applied onto main via 15068ce30. Forgot to mention that I amended the commit message adding the "." at the end of the sentence and using the `symbol' quoting style for symbols. Best, Ihor

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

2022-06-26 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Please, see the attached patch. > ... > Subject: [PATCH] Fix incorrectly documented MathJax options > > * lisp/org/ox-html.el (org-html-mathjax-options): Fix some incorrect > choices for 'indent' and 'autonumber' in the docstring Thanks! Applied onto main via

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

2022-06-26 Thread Rudolf Adamkovič
Please, see the attached patch. >From e12a2bdd28b73661bbe89550409355ebdea7a082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Date: Sun, 26 Jun 2022 08:04:40 +0200 Subject: [PATCH] Fix incorrectly documented MathJax options * lisp/org/ox-html.el (org-html-mathjax-options):