Re: Syncing orgcard.tex with upstream Emacs (was: bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych.)

2023-12-07 Thread Kyle Meyer
Ihor Radchenko writes: > I see now. I guess I did not really have a full understanding of the > purpose of emacs-sync. So, it might be helpful to add a similar > explanation to worg/org-maintenance.org. Okay, I'll plan to do that. >> I don't see what problem it solves. It's moving the divergenc

Re: Provide org-insert-subitem

2023-12-07 Thread Adam Porter
Hi Bastien, I think that's a good idea to promote org-insert-subheading either by binding it to a key or another way. I already have some drafty code that might touch things in this (very sensible) area, so if you don't mind, I'll come back to the details of your suggestions when I can articula

[PATCH] Add new option 'org-imenu-flatten'

2023-12-07 Thread Morgan Smith
* lisp/org/org-compat.el: Add definition of 'org-imenu-flatten'. (org-imenu-get-tree): Use 'org-imenu-flatten'. --- Hello! I've been using this patch for a bit and I quite like it. One would think there would be an option in imenu itself to flatten trees but that does not seem to be the case. I

Re: Getting email from MS outlook into emacs

2023-12-07 Thread Leo Butler
On Thu, Nov 30 2023, "Fraga, Eric" wrote: > > Caution: This message was sent from outside the University of Manitoba. > > > On Wednesday, 29 Nov 2023 at 14:08, Presnell,Brett Douglas

Re: [PATCH] Set Python shell in Org edit buffer

2023-12-07 Thread Ihor Radchenko
Liu Hui writes: > Ihor Radchenko 于2023年12月7日周四 18:33写道: > >> > +(defun org-babel-edit-prep:python (info) >> > + "Set Python shell in Org edit buffer according to INFO." >> > + (let ((session (cdr (assq :session (nth 2 info) >> > +(when (and session (not (string= session "none"))) >> >

Re: Using backticks for the inline code delimiter? (now with `org-publish-all`)

2023-12-07 Thread Ihor Radchenko
chris writes: >> You will need to patch the parser in org-element.el. > > Yes, that seems a very good idea. > I've never "patched" emacs before: in the hack I've been using so far I was > doing some `(advice-add 'org-do-emphasis-faces :override #'org-do-emphasis- > faces-fixed)` thing. This is

Re: [PATCH] Set Python shell in Org edit buffer

2023-12-07 Thread Liu Hui
Ihor Radchenko 于2023年12月7日周四 18:33写道: > > +(defun org-babel-edit-prep:python (info) > > + "Set Python shell in Org edit buffer according to INFO." > > + (let ((session (cdr (assq :session (nth 2 info) > > +(when (and session (not (string= session "none"))) > > + (setq-local python-

Re: Citations and basic processor: examples of some things that don't work

2023-12-07 Thread William Denton
On 7 December 2023, Ihor Radchenko wrote: This is another, new bug I introduced while fixing the previous one :) Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a59193e47 Fantastic! Thanks. Now it all works. It would be nice to have proper tests for oc-basic

Re: [BUG] org-babel-load-file, org-babel-tangle-use-relative-file-links and :tangle header [9.6.11 (release_9.6.11 @ /opt/emacs/share/emacs/30.0.50/lisp/org/)]

2023-12-07 Thread TAKAHASHI Yoshio
TAKAHASHI Yoshio writes: >> This is because the default value of `org-babel-default-header-args' >> already contains (:tangle . "no"). > Your explanation is very clear. Thank you. I did some tests. Please check below transcript. I expect to have the same results in bloth case. tkh:~$ cd /tm

Re: oeg-add-note and double backslash ?

2023-12-07 Thread Ihor Radchenko
David Masterson writes: > Hmm. glancing through the manual, there is a bit of assumption implicit > about the use of '\\'. We had the problem with Unix Shell scripts that > we would need a backslash at the end of a line to prevent the EOL as > being interpreted as end-of-input. Depending on the

Re: Syncing orgcard.tex with upstream Emacs (was: bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych.)

2023-12-07 Thread Ihor Radchenko
Kyle Meyer writes: >> Maybe we should even have that file in the main repo as a part of >> emacs-sync branch? > > I prefer not to. I intended that branch to track the state of Org files > that are synced, not to store auxiliary logs. > ... > The emacs-sync branch provides a transparent way to ke

Re: [PATCH] Set Python shell in Org edit buffer

2023-12-07 Thread Ihor Radchenko
Liu Hui writes: >> May you also mention what this means in practice? Like that users can >> now send region for evaluation right from the edit src buffer? >> Otherwise, it may not be very clear for ordinary users what this feature >> adds. > > Yes, I have updated the text and you're welcome to im

Re: Citations and basic processor: examples of some things that don't work

2023-12-07 Thread Ihor Radchenko
William Denton writes: > Thanks for digging into this, Ihor. It exports now, but I'm afraid it's > doing too much capitaliztion. > > A name like "van Dongen" should become "Van Dongen" when cited with a caps > variant, for example [cite/a/c:@friends]. This is turning it into "VAN > DONGEN",