Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-04 Thread Greg Minshall
for the record, these are the tests i ran with my off-the-cuff "fix" (s/sequencep/listp/): #+name: alist - first item - second item - third item #+begin_src R :var list=alist :session ss list #+end_src #+RESULTS: | first item | second item | third item | #+begin_src R :var variable='(a

Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-04 Thread Greg Minshall
i see this same behavior. to me, (org-babel-R-assign-elisp) seems to be the problem, but it hasn't changed any time recently. (nor, if my =git blame= is done correctly, has anything else in ob-R.el.) i don't understand how (org-babel-R-assign-elisp) thinks. it seems to assign =max= and =min=

Re: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-12-01 Thread Greg Minshall
Frederic, > > It looks like there is something wrong with comint-prompt-regexp in > > R buffers. It somehow does not match the prompt. > > I'm not sure it's the explanation either, since external (i.e., > non-session) evaluation works as expected. (Just remove the ":session > *R*" part of the

Re: processing a literal example line by line in a shell source block?

2022-11-06 Thread Greg Minshall
Ihor, again, thanks for helping me with that problem. and, just for my (or anyone's) future reference, how i probably *should* have debugged this was to tangle the relevant source block, and then examine the resulting shell-script file, and gone from there. cheers, Greg

Re: processing a literal example line by line in a shell source block?

2022-11-03 Thread Greg Minshall
Ihor, > Try > > #+name: lbl > #+begin_example > line 1 > line 2 > #+end_example > > #+begin_src bash :var input=lbl :results output > echo "${input}" > #+end_src ah, the double quotes! thanks very much! cheers, Greg

processing a literal example line by line in a shell source block?

2022-11-02 Thread Greg Minshall
hi. i have a text in a named #+begin_example ... #+end_example block. i would like to process this text line by line in a shell (bash, say) code block. but, it appears that the individual lines are not separated, but passed as one long string to the source block. (example below.) is there a

Re: form-like process for entering rows in an org-mode table?

2022-09-29 Thread Greg Minshall
hi, Jean Louis, > I do not know what is column view. But I understand that you need > descriptive text. that was my state until recently, though i had seen various references to it and its usage on the mailing list. it at least offers some form of completing read, at least for what might be in

Re: how to remove parentheses from the output of a source code block

2022-09-28 Thread Greg Minshall
Andrés, sorry -- of course, you can use base e-lisp =string-join= to accomplish the same thing. #+BEGIN_SRC emacs-lisp :var table=source-in-table :results value raw (let ((sqlcode (mapcar (lambda (row) (concat "INSERT or ignore INTO labels_catalog (id, macro,

Re: how to remove parentheses from the output of a source code block

2022-09-27 Thread Greg Minshall
Andrés, this is maybe more of an e-lisp question, or, at least, here's more of an e-lisp answer. if you have the useful =s= package [1] installed, then will using =s-join= give you what you want? (let ((sqlcode (mapcar (lambda (row) (concat "INSERT or ignore

Re: form-like process for entering rows in an org-mode table?

2022-09-27 Thread Greg Minshall
Jean Louis, > * Greg Minshall [2022-07-22 19:14]: > > hi. does anyone have any code, or know of any existing package, that > > would allow for some sort of form-like (or "transient"-like) interface > > for adding rows to an org-mode table? in particul

Re: per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-19 Thread Greg Minshall
Rudy, > I would deeply appreciate this option for my Org notebook that contains > two kinds of source blocks: (1) workers for on-demand execution and (2) > reproducible examples for anytime execution. I cannot figure out how to > make Org work with both, meaning it would execute just the

Re: per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-12 Thread Greg Minshall
hi, Tim, > There are valid use cases for a configuration which does not require > user interaction (to answer questions on block evaluation), for example, > when you want to process many org files in a batch process without user > interaction. Likewise, I don'tg want Emacs to become too much of a

Org version mismatch -- hooray!

2022-09-12 Thread Greg Minshall
i updated org, and in an existing emacs instance did something (in a .org file), and got byte-code: Org version mismatch. Make sure that correct ‘load-path’ is set early in init.el which i think is great! thanks very much! cheers, Greg

Re: per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-12 Thread Greg Minshall
Ihor, Fedja, et al., i think this is very good. my suggestion would be to *not* permanently mark a file as safe (i.e., i would vote against org-confirm-babel-evaluate-safe-paths); rather, let a local variable do that. i worry about keeping state in "side cars" (if one calls them that), as it

Re: per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-07 Thread Greg Minshall
Steven, > There is a neat solution to this problem using > > * Local Variables :noexport: > > see the discussion at stackoverflow > thanks. yes, if one has to do local variables, that is a very nice

Re: per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-06 Thread Greg Minshall
Fedja, > What I would like to have, to safely and easily use org-mode > as an interactive notebook, is to not have to overload this > function and to be asked only once per buffer/file whether to: > 1) Unconditionally allow executing all code blocks > 2) Unconditionally disallow executing all

Re: Secrets in org-babel

2022-09-05 Thread Greg Minshall
Felix, my setup is probably too complicated. and, i don't really know what "aws secretsmanager" is, or how you interact with it. but, in case this helps... i put ("long-term") secrets in pass https://www.passwordstore.org/ for "programmatic access" (in particular, for passwords

Re: [FR, DISCUSSION] Re: [:results append] and [:wrap ...] don't play well together

2022-08-09 Thread Greg Minshall
Ihor, thanks for your e-mail and explanation. > We may clarify this in the manual. probably worth doing. though, trying to describe it succinctly will be a challenge, i think! > Another alternative could be treating > :results append drawer/code/pp/org/latex/html > differently and putting

Re: Volunteering to maintain ob-asymptote.el within Org

2022-07-25 Thread Greg Minshall
hi, Munyoki, i'm neutral w.r.t. asymptote support being in "core org" or in "contrib". but, ... > I'm not _against_ supporting a proffesional-level > graphics PL. What I'm trying to say is that > having it installed should be a choice made by the > end-user. Personally, I try to keep my

Re: Specify defaults for In Buffer Settings

2022-07-22 Thread Greg Minshall
Fraga, Eric wrote: > It comes with Emacs: ah! thanks! cheers, Greg

form-like process for entering rows in an org-mode table?

2022-07-22 Thread Greg Minshall
hi. does anyone have any code, or know of any existing package, that would allow for some sort of form-like (or "transient"-like) interface for adding rows to an org-mode table? in particular, that provides some sort of =completing-read= interface for a given set of choices for a given column,

Re: Specify defaults for In Buffer Settings

2022-07-22 Thread Greg Minshall
Eric, > Have a look at #+SETUP but also consider the autoinsert package. sorry, but what is the autoinsert package? cheers, Greg

Re: numbering src blocks in HTML export

2022-07-22 Thread Greg Minshall
Ihor, > Dear All, may we should provide a normal header arg as an equivalent of > switches? Honestly, this whole switch syntax sounds unnecessary and only > over-complicates things. i'm a fan.

Re: [FR] Make :var foo=name-of-src-block assign the source block code instead of currently assigned result of evaluation (was: [PATCH] Add :noweb-prefix and :noweb-trans babel header arguments)

2022-07-16 Thread Greg Minshall
Ihor, > Alternative ideas are welcome though. I'd prefer to avoid breaking > change if we can find an equally simple syntax alternative to assign > source block code to a variable. my two cents would be to avoid the breaking change. (i notice, for example, that i use this construct in some of

Re: [FR] Make :var foo=name-of-src-block assign the source block code instead of currently assigned result of evaluation (was: [PATCH] Add :noweb-prefix and :noweb-trans babel header arguments)

2022-07-16 Thread Greg Minshall
Ihor, > The current behaviour of :var foo=name-of-src-block is assigning result > of evaluation. However, this behaviour is actually not documented. > 16.4 Environment of a Code Block section of the manual only documents > uses like in fact, the text of the info page (on my system?) says > code

Re: Alternatives or org-capture?

2022-07-14 Thread Greg Minshall
ypuntot, by the way, i use =doct= to express org-capture templates: https://github.com/progfolio/doct in case that might seem more "intuitive" for you. cheers, Greg

Re: [External] : Re: missing a character / font in agenda?

2022-07-13 Thread Greg Minshall
for what it's worth, without the symbola font on my machine (though i've now added it), i seem to see the left-arrow 2b60 rendered using: ftcrhb:-GNU-Unifont-normal-normal-normal-Sans-Serif-16-*-*-*-c-80-iso10646-1 (#x2B61) (if i'm interpreting the output of [C-u C-x =] correctly.)

Re: Confused about source code blocks evaluation when exporting

2022-07-12 Thread Greg Minshall
Alain, let's see. maybe look in the org manual for ":results" (with "value" or "output" as options) and ":exports" (with "code" or "results" or "both" as options). that might help? cheers, Greg

Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")

2022-07-10 Thread Greg Minshall
Juan Manuel, > 1. There could be a defcustom, something like 'org-latex-use-fontspec' > (I would vote for nil by default). i just wanted to check: the "nil" case is for those of us who just want it to work "out of the box"? and, in the non-nil case, it would be up to the user to use "fontspec",

Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX?

2022-07-08 Thread Greg Minshall
Juan Manuel, et al., > TL;DR: A list of use cases where using LuaTeX is more advantageous than > using pdfTeX i'm guessing this would be a nice addtion to worg (if it's not already there). cheers, Greg

Re: Efficiently reuse code in org babel with R

2022-07-07 Thread Greg Minshall
Naresh, > I want to source some data from databases, then use this data in > various blocks. I am looking for the most efficient way to achieve > this. In below blocks, is the code in block ``connection'' executed > thrice (economy of code but no saving of time) or is it only executed > once

Re: C-SPC works; C-u C-SPC doesn't. How could be?

2022-06-24 Thread Greg Minshall
Ypo, fwiw, [C-h k C-SPC] has a paragraph that says With prefix argument (e.g., C-u C-SPC), jump to the mark, and set the mark from position popped off the local mark ring (this does not affect the global mark ring). Use C-x C-@ to jump to a mark popped off the global mark ring (see

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links (was: [PATCH v3] Re: Bug in 9.5.3 org--file-default-apps)

2022-06-04 Thread Greg Minshall
hi, Ihor, > It appears that using mailcap is giving us more trouble than benefits. > I am not sure about the situation on Windows and Mac though. > Should we change the default file handlers to Emacs globally (unless > user customizes otherwise)? Should we continue efforts to work around >

Re: [PATCH] Re: tangle option to not write a file with same contents?

2022-06-01 Thread Greg Minshall
Ihor, > The patch is attached. great -- thanks very much! this will be very helpful. cheers, Greg

Re: Fwd: Help with my first elisp

2022-05-24 Thread Greg Minshall
Ypo, > > but, using whatever the name of the logos-focus mode map, pointing at > > your functions? ... > I think "logos" doesn't have a map, is it possible? certainly possible (i don't use logos). in fact, https://gitlab.com/protesilaos/logos/-/blob/main/logos.el has the lines

Re: Help with my first elisp

2022-05-23 Thread Greg Minshall
Ypo, > (defun salto () > (interactive) > (if posicion 1 > (posicion2) > (if posicion 2 > (posicion3) > (if posicion 3 > (posicion1) your function =salto= may be using =if= incorrectly. try marking that =defun= and hitting TAB to justify it. my guess is,

Re: Help with my first elisp

2022-05-22 Thread Greg Minshall
Ypo, > Additional problem: I don't know how to recover keys 1, 2 and 3 to > their normal functioning, right now I can't type 1, 2 or 3 on my > Emacs. xD you have, e.g., > (define-key global-map (kbd "1") #'posicion1) > (define-key global-map (kbd "2") #'posicion2) > (define-key global-map (kbd

Re: Tips on using Org-mode to manage a reading list

2022-05-16 Thread Greg Minshall
hi, Sébastien, > I got to many books and articles for a table... hmm. why too many? each column would be an attribute (title, author, score, publisher, ...), or a status (unread, finished, ...) and each row would be a book. that should scale. the downside of a table (though that is almost

Re: Regarding arbitrary Org blocks

2022-05-11 Thread Greg Minshall
Russell, the behavior you describe, that used to work, sounds reasonable to me. otoh, in case you haven't discovered =narrow-to-region= and friends, (which i only recently did), that might also give you some of what you want. cheers, Greg

Re: leading superscript on a line for ODT export

2022-03-16 Thread Greg Minshall
Max and Eric, thanks for the explanation! "hmm...", about manual patches at the moment.

Re: leading superscript on a line for ODT export

2022-03-16 Thread Greg Minshall
hi. > @@org:@@^1 blah i'm not familiar with the '@@' construct. in the manual, searching for the string "@@", i see references to various =@@foo...=, but not, for example, =@@org:@@=. is there a general definition? might the index (or, one of the indices) usefully have references to

Re: interleaving comment between rows of a table?

2022-03-07 Thread Greg Minshall
Juan Manuel, > I find the annotate package useful for inserting comments and > annotations in "difficult" places. thanks -- annotate looks very applicable! cheers, Greg

interleaving comment between rows of a table?

2022-03-07 Thread Greg Minshall
hi, all. i don't remember anybody asking about this. i'd sometimes find it useful to be able to interleave comments -- using (almost) whatever syntax -- between rows in an org-mode table. (normally, this would be to provide context/rationale for the subsequent row(s).) something like: |

Re: quotation marks in table cell vs. org-babel-ref-resolve

2022-02-28 Thread Greg Minshall
i have a problem similar to this from a few months ago. in this case, it seems to be when trying to pass a column with a quoted-string inside of it. (this is on the "bugfix" branch.) my e-lisp code seems to get just the initial part of the string from the cell with "odd" contents. #+name:

Re: including one double quote in an anonymous footnote?

2022-02-28 Thread Greg Minshall
Nicolas and Juan Manuel, thanks very much. the bugfix branch seems to work for my case. cheers, Greg

Re: including one double quote in an anonymous footnote?

2022-02-26 Thread Greg Minshall
Juan Manuel, > I can confirm that behavior. One possible solution is to use an entity > (M-x org-entities-help): thanks very much -- that does the trick for my case. cheers, Greg

including one double quote in an anonymous footnote?

2022-02-26 Thread Greg Minshall
hi. experimenting [after significant confusion!], it appears that including a single (unpaired) double quote inside an anonymous footnote eliminates the recognition of the footnote. is this intentional? this works: this is a test.[fn:: a very long footnote] whereas this doesn't:

Re: How to enforce sub-scripts with {} only for HTML export?

2022-02-20 Thread Greg Minshall
Edgar, one of my .org files has this # ^:{}: disable super/subscripting: https://stackoverflow.com/a/698791/1527747 #+options: ^:{} ymmv.

Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-20 Thread Greg Minshall
Ihor, > Which is perfectly fine. 24:29 is one of the expected time formats for > org-agenda. If I recall correctly, this kind of time range is used in > the wild. See https://orgmode.org/list/874l3w7woq@gmail.com ah, i see. thanks for the correction! cheers, Greg

Re: Bug: SCHEDULED's end time wrong [9.5.2 (9.5.2-gfbff08 @ /Users/liutos/.emacs.d/elpa/org-9.5.2/)]

2022-02-20 Thread Greg Minshall
Ihor, i tried Liutos' example, and ended up with > * a simple entry > SCHEDULED: <2022-02-20 Sun 23:59-24:29> i think it is the "-24:29" that is of concern.

Re: [PATCH] lisp/org-capture.el: Add hook & hook options to org-capture (Valentin Herrmann)

2022-02-10 Thread Greg Minshall
fwiw... > I've implemented what you're proposing here (and much more) in a > package you may find useful a couple years ago. I pitched adopting > some of the ideas into org-mode proper and was willing to do the > work. My proposal was met with enthusiastic silence: > >

Re: Unable to get current or via use-package

2022-02-09 Thread Greg Minshall
Loris, et al., > Thanks, that did the trick. I was hoping that when I use the same > init.el on a different machine I wouldn't have to remember anything and > use-package would automatically install the latest version. Seemingly > not :-/ this is maybe an appropriate time to insert a plug for

Re: [BUG] bug in 'ox-man?

2022-01-31 Thread Greg Minshall
know enough to have any idea if there is some general mechanism that might solve all those. cheers, Greg From 0d0dadc6b4e7f3358612f056a9eb032c1eb4145f Mon Sep 17 00:00:00 2001 From: Greg Minshall Date: Mon, 31 Jan 2022 16:08:35 -0800 Subject: [PATCH] lisp/ox-man.el: escape backslashes from org src bl

[BUG] bug in 'ox-man?

2022-01-31 Thread Greg Minshall
hi, all. this works when exporting as a .pdf or a .html. but, not when exporting to 'ox-man: #+begin_src bash :results output :exports code :eval never-export echo 'lf "\n"' #+end_src (the result has a "0" in it, appears to have gotten confused by maybe trying to substitute a newline

Re: Depreciating TeX-style LaTeX fragments

2022-01-16 Thread Greg Minshall
Colin, > > Colin Baxter writes: > >> Ah, LaTeX3 - whatever happened to that? ... > Yes, I know. My remark was tongue in cheek. which leaves open whether your tongue was already in your cheek at: > Indeed. Compare something like > > $g=\lim_{\delta m\to 0}(\delta F/\delta m)$ > > with

Re: Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-10 Thread Greg Minshall
> I'm wondering if your opinion about Ledger isn't influenced by the fact > that it uses basic accounting principles, like the idea of double-entry > accounting. For me, it's /very/ simple and intuitive, but I graduated > in economics many years ago and had a (basic, but still) course on >

Re: [BUG] Eval src block does not redisplay inline image [9.5.1 (9.5.1-g36086a @ /Users/rob/.emacs.d/elpa/org-9.5.1/)]

2021-12-09 Thread Greg Minshall
Robert, i have the following commented out in my .emacs. i have no memory of it, why i put it in, why i took it out, or if it might provide you any clue. but, with all those caveats... ;; in org-mode, display images inline after execution ;; except, after a while, this gets tiresome. one

Re: On zero width spaces and Org syntax

2021-12-06 Thread Greg Minshall
Robert, > Thereʼs no need to modify Emacs: see > `glyphless-char-display-control'. ZWS falls under 'format-control'. very nice. thanks! cheers, Greg

Re: Concrete suggestions to improve Org mode third-party integration :: an afterthought following Karl Voit's Orgdown proposal

2021-12-06 Thread Greg Minshall
Ihor, > Search result is just an entrance for users to be curious about the > new beast of "Org mode". The website front page is the means to make > users try. And the Org mode itself is the way to make users fall in > love with Org in one way or another (even unrelated to Emacs [at least >

Re: Concrete suggestions to improve Org mode third-party integration :: an afterthought following Karl Voit's Orgdown proposal

2021-12-06 Thread Greg Minshall
Juan Manuel (and, Tim, i think), > On the other hand, we must not forget that Org, as part of Emacs, is > part of GNU, and this is a mailing list from the GNU project. I think > everything related to the (possible) extension of GNU Org Mode outside > of GNU Emacs (even in software incompatible

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-06 Thread Greg Minshall
sigh. the following is pretty much a lie. apologies. > =org-babel-ref-resolve= is convenient to use (as you provide a REF, > rather than create a [temp] buffer, visit the file, whatever). the creating a temp buffer, visiting the file, are *not* provided by =org-babel-ref-resolve=. cheers (or,

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-05 Thread Greg Minshall
hi, Tim, thanks for the reply. > I don't know. It could be related to the spreadsheet capabilities or it > could simply be an oversight in how the code extracts values from > tables. if anyone has any knowledge in this area, i'd be curious to hear. > I tend to use the function

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-03 Thread Greg Minshall
hi, Tim, > The key question is what is the use case for having this 'mixed' content > in a table cell? in my case, i am putting RFC822('ish) e-mail addresses in a column of an org-mode table. and, i want to extract them. | oxymo...@example.com | | Greg Oxymoron |

Re: On zero width spaces and Org syntax

2021-12-03 Thread Greg Minshall
Juan Manuel, > however, I find it problematic that this character is part, more or > less de facto, of the Org syntax. For two main reasons: in fact, i am always queasy when i enter ZWNBSP in a .org (or any other) file. some sort of "visible" sequence would be great. backwards compatibility

Re: quotation marks in table cell vs. org-babel-ref-resolve

2021-12-03 Thread Greg Minshall
fwiw, tracing, the problem appears to be this line ((eq (string-to-char cell) ?\") (read cell)) in =org-babel-read=. presumably there are many cases where this is the right thing to do. but, maybe look for a simple =^"[^"]*"$= (i.e., a quotation mark, some other stuff, a quotation

quotation marks in table cell vs. org-babel-ref-resolve

2021-12-03 Thread Greg Minshall
hi. i'm trying to use =org-babel-ref-resolve= to access the values of a column in a table. it all works fine for many cases. however, if the contents of an entry in the column starts with quotation marks, those quotation marks disappear, and anything outside the quoted part of the cell

Re: Orgdown: negative feedback & attempt of a root-cause analysis

2021-12-02 Thread Greg Minshall
Karl, thanks for all of this, and for writing and posting your blog entry (words of caution for many). my thoughts on your project are something like this: - i think non-emacs tools to deal with org mode files is a Good Thing. - for me, the main motivation is to allow *me* to share an org mode

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-28 Thread Greg Minshall
Richard, i also see an error message when entering M-j running: : emacs -Q foo.org cheers, Greg Org mode version 9.5 (9.5-gced2b3 @ /home/minshall/.emacs.d/straight/build/org/) GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-26

Re: [PATCH] Accept more :tangle-mode specification forms

2021-11-20 Thread Greg Minshall
Timothy, > Just a quick note (see my long recent reply to Tim where I expand on this > more), > but this isn’t new behaviour (isn’t actually affected by my recent changes) > and > my concerns are with the viability of the necessary changes rather than > whether > this would be good (we are of

Re: [PATCH] Accept more :tangle-mode specification forms

2021-11-20 Thread Greg Minshall
hi, Timothy, > I’ve just pushed three commits that > 1. Add “o555” as an octal shorthand > 2. Perform a simple check that integer modes are valid* > 3. Make the ls-style regex stricter > ... > * For example, “:tangle-mode 755” will now produce the warning: > “1363 is not a valid file mode

Re: [PATCH] Accept more :tangle-mode specification forms

2021-11-19 Thread Greg Minshall
> Timothy writes: > I would just accept two formats, both being strings with either "o400" > (or perhaps "#o400") and "u+rwx" symbolic form and anything else > generates an error (a hard error, not a warning i.e. stop processing, > don't tangle). +1. (i'm neutral w.r.t. "o400" vs. "#o400".)

Re: Tables and org babel

2021-11-08 Thread Greg Minshall
sorry, in fact, =-Q= doesn't matter: failing: - Org mode version 9.5 (9.5-g531577 @ /home/minshall/.emacs.d/straight/build/org/) succeeding: - Org mode version 9.5 (9.5-gced2b3 @ /home/minshall/.emacs.d/straight/build/org/) cheers, Greg

Re: Tables and org babel

2021-11-08 Thread Greg Minshall
my data point: - emacs -Q: works as (i assume) expected - emacs: i get an error, with this backtrace Debugger entered--Lisp error: (wrong-type-argument markerp nil) #f(compiled-function () #)() org-babel-insert-result((1 2 3 4) ("replace") ("emacs-lisp" "data" ((:var data 1 2 3 4)

Re: typescript from org src buffer -- tide, lsp

2021-11-06 Thread Greg Minshall
Tim and Samuel, thanks. :dir is a thought; and, links may yield treasures. cheers, Greg

typescript from org src buffer -- tide, lsp

2021-11-03 Thread Greg Minshall
hi. i'm wondering if anyone programming in typescript might have run into, and solved, this "problem", of tangling into a subdirectory, and tide [1] not being able to resolve "relative" imports. i have a file in path /a/b/foo.org. it includes various source blocks, and they do things like

Re: transclusion, tangling, flycheck/flymake, etc.

2021-11-03 Thread Greg Minshall
Ihor, thanks for the clarification. maybe, in that ideal world, <> might expand, optionally. another point: watching Noboru's "most recent" (9?) video, i see another feature of his transclusion: a way to say, "this is *exactly* like a source block -- with language, :results, :tangle, :var,

transclusion, tangling, flycheck/flymake, etc.

2021-11-03 Thread Greg Minshall
Ihor, (Noboru Ota -- i do find transclusion very interesting.) > 2. A much faster tangle system. If we can directly transclude and sync >contents of source blocks with actual programming language buffer, >C-c ' can trivially support flycheck-mode and provide a more >IDE-like

Re: tangle option to not write a file with same contents?

2021-10-30 Thread Greg Minshall
Max, thanks for the reply. > In the meanwhile I realized that check for modification by user should > be performed *before* tangle, and hash to detect changes is > appropriate for such purpose. I think, a copy of tangled file just to > detect modification will cause some tension from users. i

Re: tangle option to not write a file with same contents?

2021-10-29 Thread Greg Minshall
Max, > > i wonder if it would be reasonable to add an option such that, when > > tangling, `org-babel-tangle` would not write a file with the > > already-existing contents of the target file? > > Are you going to celebrate a decade of the feature request? > I agree with you, make is wide spread

tangle option to not write a file with same contents?

2021-10-27 Thread Greg Minshall
hi. i wonder if it would be reasonable to add an option such that, when tangling, `org-babel-tangle` would not write a file with the already-existing contents of the target file? this would be helpful, e.g., for those of us who use make(1)-based work flows. then, if this might generally be

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-26 Thread Greg Minshall
> Actually, when I told my daughter I was programming "Woof!" as a tool > to ensure that important emails where receiving enough attention from > the community, she suggested I should program something for the "poor > unimportant emails" out there... of course she'd call it "Mew!" > > And I'm

Re: Bug: font-lock error with - in code-mode [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-10-26 Thread Greg Minshall
Bastien, > PS: I'm not sure how to do this with Woof! but I'm working on the next > version of Woof! where this will be possible. i hope you will call the next version: Woof, woof! :)

Re: Fwd: errors when using org-agenda

2021-10-24 Thread Greg Minshall
Tim, > The key point to remember is that a mized installation is not about > loading org sources from two different org versions. The problem is > about compilation of org where some of the source definitions are > already loaded (from existing installation) and result in output which > is a

Re: Fwd: errors when using org-agenda

2021-10-23 Thread Greg Minshall
Tim, i wonder if the emacs variable `load-history` might be of (approximate) help? i submit a starter routine below. as the comments say: caveat, caveat, caveat. i don't think something as uncertain as this would be a candidate for normal run-time checking (and, i'm not even sure when one

Re: Fwd: errors when using org-agenda

2021-10-23 Thread Greg Minshall
Tim, thanks. i see that it is more complicated. (and, after fifteen years of vi, and now 25 of emacs, i guess i'll skip the spacemacs experience. :) cheers, Greg

Re: org-capture broken?

2021-10-23 Thread Greg Minshall
Ihor, > > make of org mode? (remote possibility: emacs?) > > Org mode build process is not standard. Org mode needs to create > autoload file and generate documentation in addition to normal > byte-compilation. thanks. does that mean running "make" in the org directory? cheers, Greg

Re: Fwd: errors when using org-agenda

2021-10-23 Thread Greg Minshall
Tim, et al., > These types of errors are frequently caused by a 'mixed' installation > of org versions. This will happen if you upgrade org when org is > already loaded in the instance of emacs used to perform the upgrade. a question: is there any way that we can, as org starts up, detect either

Re: org-capture broken?

2021-10-21 Thread Greg Minshall
Ihor, > Fixed on current main (5315773e8). confirmed. thanks! from a previous e-mail (but, for my future reference): > Are you on Emacs 24? i'm on GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-26 > Can you try to run make

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-21 Thread Greg Minshall
Carlos, > > ps -- the org-version was > > : Org mode version 9.5 (9.5-gdc154f @ > > /home/minshall/.emacs.d/straight/build/org/) > What are these? Seemingly not git revisions. Can I checkout that > version somehow? If not, pass me your git revision and I will rerun my > recipe there. my belief

org-capture broken?

2021-10-21 Thread Greg Minshall
hi. with a recent org-mode (*), `org-capture` seems to crash with the message: Variable binding depth exceeds max-specpdl-size this happens with (a suitably -L'd) `emacs -Q` - M-x org-capture - t - then crashes after this crash, i seem to be unable to enter the debugger, etc. (`(setq

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-20 Thread Greg Minshall
Carlos, fwiw, using : emacs -Q -L ~/.emacs.d/straight/build/org foo.org on my system, i don't seem to be able to recreate this problem. cheers, Greg ps -- the org-version was : Org mode version 9.5 (9.5-gdc154f @ /home/minshall/.emacs.d/straight/build/org/)

Re: "begin_src R :session" opens R session when file first visited

2021-10-16 Thread Greg Minshall
Bill, > I run Org from the source tree, and recently (a couple of weeks ago or > so) something new started happening with my Org files with R source > blocks: when I open one up, an R session automatically starts, > without me doing anything. i don't see that behavior. does it do this for

Re: How to keep getting org updates

2021-10-13 Thread Greg Minshall
hi, Tim, > I think it is always a mistake to google for answers without first > checking what Emacs has in the built-in documentation and manual. What > is in the Emacs manual or docstrings for variables and functions is > guaranteed to be accurate for the version of Emacs your running. What >

Re: How to keep getting org updates

2021-10-13 Thread Greg Minshall
> The install instructions on the main org page were not very clear, to > say the least. yes, that does sound messy. sorry your experience was so unfortunate. i guess one question for the list: is there a general solution to the "20200912" > "9.5" issue? or, "now" that we are only distributing

Re: How to keep getting org updates

2021-10-11 Thread Greg Minshall
Lawrence, in case it helps, my *straight.el* (not package.el) recipe looks like this: (org :type git :repo "https://git.savannah.gnu.org/git/emacs/org-mode.git; :local-repo "org" :depth full :pre-build (straight-recipes-org-elpa--build) :build (:not autoloads) :files

Re: Someone to help merging orgmode.org/contribute.html and orgmode.org/worg/org-contribute.html ?

2021-10-08 Thread Greg Minshall
Bastien, > I added you, you can now clone g...@git.sr.ht:~bzg/worg > and push commits. thanks. cheers, Greg

Re: Someone to help merging orgmode.org/contribute.html and orgmode.org/worg/org-contribute.html ?

2021-10-08 Thread Greg Minshall
Bastien, > Applied, thanks a lot! Let me know if you have a user on git.sr.ht, I > can add you as a regular committer on https://git.sr.ht/~bzg/worg thanks. i'm "minshall" there, too. cheers, Greg

Re: Inequalities in math blocks

2021-10-08 Thread Greg Minshall
Rudolf, > I do not understand. As Max pointed out, inequalities break HTML > export in \( and \) as well. my apologies for not having understood where we were in the discussion! cheers, Greg

Re: Someone to help merging orgmode.org/contribute.html and orgmode.org/worg/org-contribute.html ?

2021-10-08 Thread Greg Minshall
08c94c2f8bbc0abcfc5cf948dc0a0820e3 Mon Sep 17 00:00:00 2001 From: Greg Minshall Date: Fri, 8 Oct 2021 15:08:17 +0300 Subject: [PATCH 2/2] org-contribute.org: Edit and re-organize slightly --- org-contribute.org | 90 -- 1 file changed, 48 insert

Re: Someone to help merging orgmode.org/contribute.html and orgmode.org/worg/org-contribute.html ?

2021-10-07 Thread Greg Minshall
hi, Bastien, in the absence of any other volunteer, i'd be happy to produce a merge for review. (though it might take a few weeks.) cheers, Greg > as the subject says: > > https://orgmode.org/contribute.html is very straightforward and > https://orgmode.org/worg/org-contribute.html is very

  1   2   3   4   >