Re: custom function for org-babel src block export

2023-12-25 Thread David Bremner
David Bremner writes: > Ihor Radchenko writes: > >> David Bremner writes: >> >>> I am generating slides using org-beamer. I would like certain code >>> blocks to export as links containing URL-encoded content of the >>> block. >> >> Check out

Re: custom function for org-babel src block export

2023-12-25 Thread David Bremner
Ihor Radchenko writes: > David Bremner writes: > >> I am generating slides using org-beamer. I would like certain code >> blocks to export as links containing URL-encoded content of the >> block. > > Check out https://orgmode.org/manual/Advanced-Export-Configuration.html > You may use export

Re: custom function for org-babel src block export

2023-12-25 Thread Ihor Radchenko
David Bremner writes: > I am generating slides using org-beamer. I would like certain code > blocks to export as links containing URL-encoded content of the > block. Check out https://orgmode.org/manual/Advanced-Export-Configuration.html You may use export filter or extend ox-beamer backend,

custom function for org-babel src block export

2023-12-25 Thread David Bremner
I am generating slides using org-beamer. I would like certain code blocks to export as links containing URL-encoded content of the block. As an example I would like the following block #+begin_src stacker (defvar x 1) (deffun (f) (defvar y 2) (deffun (h) (+ x y)) (h)) (f) #+end_src

Re: Documentation of hline symbol in source blocks results

2023-12-25 Thread Ihor Radchenko
Tim Landscheidt writes: > this is just a data point for anyone looking at restructur- > ing the Org documentation. > > I wanted an Emacs Lisp source block to produce a table with > a column name and a horizontal line separating the column > name and the data cells. The data-only source block: >

Documentation of hline symbol in source blocks results

2023-12-25 Thread Tim Landscheidt
Hi, this is just a data point for anyone looking at restructur- ing the Org documentation. I wanted an Emacs Lisp source block to produce a table with a column name and a horizontal line separating the column name and the data cells. The data-only source block: | #+BEGIN_SRC emacs-lisp |

Re: How can I use org-add-note with emacsclient?

2023-12-25 Thread Ihor Radchenko
equal.moon0...@fastmail.com writes: > I'm trying to figure out how to start a note (C-c C-z) on the currently > clocked task from emacsclient. Here's what I have so far: > ... > emacsclient -s test -nw --eval '(progn (org-clock-goto) (org-add-note))' > > This seems to have no effect. Oddly, if I

Re: Provide org-insert-subitem

2023-12-25 Thread Ihor Radchenko
Bastien writes: >> 1. For org-insert-heading, we have multiple variants that allow >>inserting heading at point, after current subtree, and the same >>variants for TODO heading. We don't have enough key combinations left >>to allow all the equivalents for subheadings. >> >> 2. With

Re: Provide org-insert-subitem

2023-12-25 Thread Bastien
Hi Adam, Adam Porter writes: > The "C-M-RET" binding doesn't feel quite right to me. Using "shift" > feels like a mnemonic for "sub", whereas "C-M" seems like it should do > something much less frequently used, since it requires two > modifiers. I agree that S- suggests "sub". I've been

Re: Provide org-insert-subitem

2023-12-25 Thread Bastien
Ihor Radchenko writes: >> S-RET already "copy down" a table cells, so I'm really suggesting a >> generalization of the current keybinding. > > This makes sense. > >> - S-RET on a list item calls `org-insert-subitem`, a new command. > > Did you mean `org-clone-item'? Yes, sorry (`org-clone-item'

Re: [PATCH] Justify/align image previews in org-mode

2023-12-25 Thread Bastien Guerry
Ihor Radchenko writes: >> From eb1b287c009c2f7eb83e7e31d64980ba79f44527 Mon Sep 17 00:00:00 2001 >> From: Karthik Chikmagalur >> Date: Mon, 18 Dec 2023 12:56:33 -0800 >> Subject: [PATCH] org: Add image alignment > > Bastien, may you please confirm that Karthik's FSF assignment is in > order?