Re: [PATCH] Change default ob-python session command to match run-python

2023-12-30 Thread Jack Kamm
Ihor Radchenko writes: > Thanks! > I have several comments. Thanks for the feedback! I attach a followup patch in response. If all looks good, I will squash before applying. >> -(defcustom org-babel-python-command "python" >> - "Name of the command for executing Python code." >> - :version

Re: Should org-link-parser add type "file" when link has no "file:" prefix?

2023-12-30 Thread Joseph Turner
Joseph Turner writes: > - When handling "file" type links, check if `org-current-uri-scheme' > matches one of the keys in `org-link-parameters', and use the > appropriate handler instead of the "file" handler. (see attached patch > for an example usage in `org-link-open') Please ignore the last

Re: Should org-link-parser add type "file" when link has no "file:" prefix?

2023-12-30 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: [...] > Thanks for reporting! > Fixed, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d15e52fef Thank you for the quick fix! >> In hyperdrive.el currently, "[[/foobar]]" and "[[file:/foobar]]" have >> different

[PATCH] Fix org-agenda-skip-scheduled-if-deadline-is-shown bug

2023-12-30 Thread Morgan Smith
lisp/org-agenda.el (org-agenda-get-scheduled): Consolidate deadline fetching code. Don't check if deadline is shown when 'org-agenda-skip-scheduled-if-deadline-is-shown' has a value of 'repeated-after-deadline'. Currently when 'org-agenda-skip-scheduled-if-deadline-is-shown' has a value of

Month-week and quarter-week datetrees (RFC and package announcement)

2023-12-30 Thread Jack Kamm
I have started a package that defines org-capture datetrees following year-quarter-week and year-month-week formats: https://gitlab.com/jackkamm/org-grouped-weektree I'd appreciate feedback on 2 points: 1. Are any of these datetree formats worth upstreaming into org-mode proper? 2. Can we

Re: [DISCUSSION] org-capture.el vs remember.el (was: [ELPA] New package: jami-bot and org-jami-bot)

2023-12-30 Thread João Távora
On Sat, Dec 30, 2023 at 7:16 PM João Távora wrote: > > On the face of things, remember.el does not comprise a huge amount of > > code, and I don't see why the above two features couldn't be retrofitted > > into it. > > Seems like the first one could be done with narrowing. > But would also need

Re: [DISCUSSION] org-capture.el vs remember.el (was: [ELPA] New package: jami-bot and org-jami-bot)

2023-12-30 Thread João Távora
On Sat, Dec 30, 2023 at 5:21 PM Stefan Kangas wrote: > > Ihor Radchenko writes: > > > The refactoring de-coupled what used to be org-remember.el into > > completely rewritten org-capture.el that added important features that > > could not be implemented within remember.el framework: > > > > 1.

[PATCH] org-babel-demarcate-block: duplicate switches too

2023-12-30 Thread gerard . vermeulen
Hi, The purpose of this patch is to duplicate switches when org-babel-demarcate-block duplicates headers (meaning point in the source block when demarcating). Regards -- Gerard 0001-org-babel-demarcate-block-duplicate-switches-too.patch Description: Binary data

Re: [DISCUSSION] Possible inclusion of org-capture.el into Emacs core (was: [ELPA] New package: jami-bot and org-jami-bot)

2023-12-30 Thread Stefan Kangas
Ihor Radchenko writes: > With org-protocol, one can also make Emacs receive data from browser and > perform any action defined by custom handler function - all fully > configurable and not necessarily related to Org mode. I don't have much to add besides giving support to the idea. It would be

Re: [DISCUSSION] org-capture.el vs remember.el (was: [ELPA] New package: jami-bot and org-jami-bot)

2023-12-30 Thread Stefan Kangas
Ihor Radchenko writes: > The refactoring de-coupled what used to be org-remember.el into > completely rewritten org-capture.el that added important features that > could not be implemented within remember.el framework: > > 1. org-capture arranges writing the text to remember directly into the >

Re: [PATCH] Change default ob-python session command to match run-python

2023-12-30 Thread Ihor Radchenko
Jack Kamm writes: > The attached patch changes the default behavior of ob-python sessions, > to respect python-shell-interpreter(-args) when starting an interactive > session. Thanks! I have several comments. > -(defcustom org-babel-python-command "python" > - "Name of the command for

[DISCUSSION] org-capture.el vs remember.el (was: [ELPA] New package: jami-bot and org-jami-bot)

2023-12-30 Thread Ihor Radchenko
Recent emacs-devel discussion brought up some concerns about org-capture being very specific to Org mode and not integrated with the rest of Emacs. However, org-capture was once built on top of the built-in remember.el before it was refactored into independent code by Carsten:

[DISCUSSION] Possible inclusion of org-capture.el into Emacs core (was: [ELPA] New package: jami-bot and org-jami-bot)

2023-12-30 Thread Ihor Radchenko
Richard Stallman writes: > Dependence of various features on Org mode causes problems in two ways: > > * It makes those features hard to use for those that don't use Org mode. > > * It adds the need to learn Org mode to the need to learn Emacs itself. > > Therefore, new features which make sense