emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Suhail Singh <suhailsingh247@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [SUMMARY] #9 [[bbb:OrgMeetup]] on Wed, July 10, 19:00 UTC+3
Date: Wed, 17 Jul 2024 14:46:26 +0000	[thread overview]
Message-ID: <87a5ig6pq5.fsf@localhost> (raw)
In-Reply-To: <87msmht0t1.fsf@gmail.com>

Suhail Singh <suhailsingh247@gmail.com> writes:

> Ihor Radchenko <yantar92@posteo.net> writes:
>
>>   - Aside, built-in ox-odt has quite a history
>>     - Its original author is... (to say) no longer interested to deal
>>       with FSF copyright assignment (it was quite a drama at some point)
>
> Out of curiosity, would you happen to have a reference to associated
> discussion in case it happened on a public mailing list?  I am curious
> as to the reasons.

https://list.orgmode.org/orgmode/87ppydmigz.fsf@gmail.com/t/#u

>>   - Oh well. ~org-sbe~ is a hack (on top of
>>     ~org-babel-execute-src-block~) in reality and not a properly
>>     designed API
>>   - One day we need to implement something better
>>   - Patches welcome! At least, it is a good idea to start a discussion
>>     on the mailing list. See https://orgmode.org/manual/Feedback.html#Feedback
>
> Could you please elaborate on what about ~org-sbe~ makes it a "hack"?
> On a related note, what would "something better" look like?

Because it uses `org-babel-execute-src-block', which works with code
block at point. `org-sbe' tries to make it work with code blocks that
are not at point, against `org-babel-execute-src-block' docstring.

Something better would be a proper API function that can execute code
block at arbitrary location, not just at point. Such API function is
likely something to be factored out from `org-babel-execute-src-block'
and many helper functions it uses.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2024-07-17 14:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-26 15:48 #9 [[bbb:OrgMeetup]] on Wed, July 10, 19:00 UTC+3 Ihor Radchenko
2024-07-10 16:09 ` Dave Marquardt
2024-07-10 16:12 ` William Denton
2024-07-10 16:22   ` Ihor Radchenko
2024-07-16 15:42 ` [SUMMARY] " Ihor Radchenko
2024-07-16 22:43   ` Suhail Singh
2024-07-17 14:46     ` Ihor Radchenko [this message]
2024-07-17 19:06       ` Suhail Singh
2024-07-17 21:56         ` Thomas S. Dye
2024-07-18  3:08           ` Suhail Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5ig6pq5.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=suhailsingh247@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).