From: "Rudolf Adamkovič via General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: "Berry, Charles" <ccberry@health.ucsd.edu>
Cc: Kyle Meyer <kyle@kyleam.com>,
"52545@debbugs.gnu.org" <52545@debbugs.gnu.org>,
Ihor Radchenko <yantar92@gmail.com>
Subject: bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks
Date: Thu, 30 Dec 2021 08:26:14 +0100 [thread overview]
Message-ID: <m2o84y7dux.fsf@me.com> (raw)
In-Reply-To: <CB38105C-55D4-432A-92C0-5DCDB54BB249@health.ucsd.edu>
"Berry, Charles" <ccberry@health.ucsd.edu> writes:
> Rudy,
>
> Thanks for the comment, but ...
>
>> On Dec 25, 2021, at 1:37 PM, Rudolf Adamkovič <salutis@me.com> wrote:
>>
>> I think we look at the problem from two different perspectives. You
>> look at the problem from the "how" perspective, whereas I look at it
>> from the "why" perspective. Sure, we can work around everything in
>> Org. Now, does that mean that Org should try to execute BibTeX
>> blocks when executing a buffer? I do not think so.
>
> Using standard features (properties, header-args) in a standard way
> does not strike me as a `work around'.
I apologize for the lack of clarity. I used the term "workaround" from
the perspective of a user, who probably does not expect Org to try
"execute BibTeX" ever.
> You have not made a clear case that src blocks are even needed to
> support your use case. It may well be that export blocks (which never
> execute) would work just as well. But with no ECM, one can only
> guess.
True that, I did not include an example! Below, I include a typical use
case: Org notes about an article with a corresponding BibTeX entry.
(Note: I do not know what ECM stands for.)
[…]
#+property: header-args+ :comments link
#+cite_export: csl apa.csl
* Notes
[…]
* References
#+print_bibliography:
* Sources
#+begin_src bibtex :tangle knuth+2021.bib
@Article{knuth+2021,
author = {Knuth, Donald E. and Shustek, Len},
title = {Let's Not Dumb down the History of Computer Science},
journal = {Communications of the {ACM}},
year = 2021,
volume = 64,
number = 2,
pages = {33–35},
month = {jan},
issue_date = {February 2021},
publisher = {Association for Computing Machinery, {ACM}},
issn = {0001-0782},
doi = {10.1145/3442377},
abstract = {Donald Knuth on the best way to recognize the history
of computer science.},
numpages = 3
}
#+end_src
> I'm still inclined to call this a feature request, not a bug. And
> decisions about adding complexity to an already complicated code base
> should take that point of view, IMO.
Sure. As a user, I can see it as both a bug, where Org tries to execute
BibTeX, but also as a feature, where Org needs to become smarter and
differentiate BibTeX from, say, Scheme or C.
Rudy
--
"Logic is a science of the necessary laws of thought, without which no
employment of the understanding and the reason takes place." -- Immanuel
Kant, 1785
Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia
next prev parent reply other threads:[~2021-12-30 7:28 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m2h7b8u9a7.fsf@me.com>
2021-12-17 4:51 ` bug#52545: 29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks Kyle Meyer
2021-12-17 19:25 ` Berry, Charles
2021-12-18 9:49 ` Ihor Radchenko
2021-12-18 19:57 ` Berry, Charles
2021-12-18 20:13 ` Berry, Charles
2021-12-21 22:53 ` Rudolf Adamkovič via General discussions about Org-mode.
2021-12-21 23:14 ` Berry, Charles
2021-12-22 15:04 ` Ihor Radchenko
2021-12-23 22:00 ` Rudolf Adamkovič via General discussions about Org-mode.
2021-12-24 4:09 ` Ihor Radchenko
2021-12-24 19:52 ` Berry, Charles
2021-12-25 21:37 ` Rudolf Adamkovič via General discussions about Org-mode.
2021-12-25 23:34 ` Berry, Charles
2021-12-30 7:26 ` Rudolf Adamkovič via General discussions about Org-mode. [this message]
2021-12-30 8:00 ` Rudolf Adamkovič via General discussions about Org-mode.
2021-12-31 12:05 ` Max Nikulin
2021-12-31 19:11 ` Berry, Charles
2022-01-01 20:32 ` Rudolf Adamkovič via General discussions about Org-mode.
2022-01-01 20:23 ` Rudolf Adamkovič via General discussions about Org-mode.
2021-12-30 20:14 ` Berry, Charles
2021-12-29 12:53 ` Max Nikulin
2021-12-29 17:47 ` Berry, Charles
2021-12-30 15:41 ` Max Nikulin
2021-12-25 21:40 ` Rudolf Adamkovič via General discussions about Org-mode.
2021-12-26 12:49 ` Max Nikulin
2021-12-26 13:27 ` Ihor Radchenko
2022-01-04 14:59 ` Max Nikulin
2021-12-26 19:51 ` Rudolf Adamkovič
2021-12-27 11:18 ` Max Nikulin
2021-12-27 21:37 ` Rudolf Adamkovič via General discussions about Org-mode.
2021-12-28 11:45 ` Max Nikulin
2021-12-28 20:39 ` Rudolf Adamkovič via General discussions about Org-mode.
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=m2o84y7dux.fsf@me.com \
--to=emacs-orgmode@gnu.org \
--cc=52545@debbugs.gnu.org \
--cc=ccberry@health.ucsd.edu \
--cc=kyle@kyleam.com \
--cc=salutis@me.com \
--cc=yantar92@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).