keeping subtree heading on export

2024-04-24 Thread Matt Price
I'm writing a primitive exporter for jupyter-book , which is a neat way to maintain static documentation and executable jupyter notebooks from the same source files. The source files are written in Myst flavored markdown , so I

Re: [BUG] Org-reveal and setupfile conflict [9.6.1 (9.6.1-gaa48c8)]

2023-02-26 Thread Matt Price
On Sun, Feb 26, 2023 at 4:04 PM Joshua Lambert wrote: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > https://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted

Re: citar--library-file-action

2022-10-25 Thread Matt Price
Bruce will know better than me!!! On Tue, Oct 25, 2022 at 4:46 PM Matt Price wrote: > I’d look at the current function definition to be sure (C-h f > citar—library-file-action), but open is the standard macOS command for > opening files. The Linux equivalent is xdg-open.

Re: citar--library-file-action

2022-10-25 Thread Matt Price
I’d look at the current function definition to be sure (C-h f citar—library-file-action), but open is the standard macOS command for opening files. The Linux equivalent is xdg-open. My guess is that somehow you’ve told citar or org or emacs to use open for these links. Or it’s possible that the

unfolding is delayed in relatively small file

2022-07-05 Thread Matt Price
Hi everyone, I just updated to recent main branch of org-mode with the new org folding engine. My emacs is from git, but somewhat out of date (2022-05-08). WIth a relatively small test file, I find that folding and unfolding a subtree with children does not cause a redisplay unless I alt-tab

Re: [PATCH] org-attach-attach: fix symlinks

2022-07-04 Thread Matt Price
sorry I've been MIA -- I have been swamped at work and stopped following the list! Thank you for this, but more generally for the huge amount of work you put in to improving org for everyone. The last year or so has seen such huge improvements for me -- I am immensely grateful to everyone. On

Re: [RFC] DOCT: Declarative Org Capture Templates (easier template syntax)

2022-03-29 Thread Matt Price
On Sat, Mar 26, 2022 at 4:31 AM Ihor Radchenko wrote: > No Wayman writes: > > > I'm open to bringing doct's features into Org mode, but I'd prefer > > it not to be spread out over another two years. > > Proper integration of doct into org-capture.el would indeed be ideal. I > am happy that you

Re: #2 Org mode profiling meetup on Sat, Mar 26 (was: Org mode profiling meetup on Sat, Feb 26 (was: profiling latency in large org-mode buffers (under both main & org-fold feature)))

2022-03-24 Thread Matt Price
On Thu, Mar 24, 2022 at 7:28 AM Bruce D'Arcus wrote: > On Wed, Mar 23, 2022 at 7:10 AM Ihor Radchenko wrote: > > > > Dear all, > > > > There were several people who came to the last meetup looking for > > information about debugging Org mode. The last meetup was rather > > unhelpful in this

folding day headings in org-agenda-mode?

2022-03-03 Thread Matt Price
I am very psyched to have started using Adam Porter's org-super-agenda, and I really enjoy using origami-mode to fold section headings now. However, I do really wish I could use the same keystroke to fold individual days in the org agenda. I tried just invoking `origami-toggle-node from a day

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-23 Thread Matt Price
On Wed, Feb 23, 2022 at 12:22 AM Ihor Radchenko wrote: > Matt Price writes: > > >>20128 80% - redisplay_internal (C function) > >> 7142 28% - assq > >> 908 3% - org-context > > Note that org-context is an obsolete func

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-22 Thread Matt Price
sorry everyone, I accidentally sent this to Kaushal this morning, and then took quite a while to get back to a computer after he let me know my mistake! On Tue, Feb 22, 2022 at 10:12 AM Matt Price wrote: > > On Tue, Feb 22, 2022 at 12:45 AM Kaushal Modi > wrote: > >> &g

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-22 Thread Matt Price
ree. this might > be a dumb suggestion, but is it related to org file size? my files > have not really grown /that/ much but maybe you could bisect one. as > opposed to config. > > i am not saying that your org files are too big. just that maybe it > could lead to insights. &

profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-02-21 Thread Matt Price
I'm trying to figure out what causes high latency while typing in large org-mode files. The issue is very clearly a result of my large config file, but I'm not sure how to track it down with any precision. My main literate config file is ~/.emacs.d/emacs-init.org, currently 15000 lines, 260 src

Re: handling as special special block in derived export

2022-01-20 Thread Matt Price
;) > John > > --- > Professor John Kitchin (he/him/his) > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup

Re: handling as special special block in derived export

2022-01-20 Thread Matt Price
- > Professor John Kitchin (he/him/his) > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > > On Wed, Jan 19, 2022 at 9:42 AM Matt Pric

Re: handling as special special block in derived export

2022-01-20 Thread Matt Price
On Wed, Jan 19, 2022 at 3:56 PM Berry, Charles wrote: > Matt, > > > On Jan 19, 2022, at 5:52 AM, Matt Price wrote: > > > > However, I'd really like to add a less verbose syntax, like this: > > > > #+begin_r-stack :frag (appear appear) > > [[img

handling as special special block in derived export

2022-01-19 Thread Matt Price
I am trying ot figure out if I can create a simplified syntax for a particular special block in a derived HTML exporter. I'm trying to produce HTML like this: The derived backend (org-re-reveal) already has an #+ATTR_REVEAL that an make the data-fragment attributes, so it's not hard to

Re: "Orgdown", the new name for the syntax of Org-mode

2021-11-29 Thread Matt Price
I don't have very thoughtful comments but I'll just say that I really do also like the idea of a formal syntax; that a staged standard seems to make sense to me, though I'm ignorant about how syntaxes are normally defined and managed; and am generally not super enthusiastic about the particular

[PATCH] org-attach-attach: fix symlinks

2021-11-15 Thread Matt Price
paperwork. From f618fb512e62ccb2e700242a7678dacbc2b025e2 Mon Sep 17 00:00:00 2001 From: Matt Price Date: Mon, 15 Nov 2021 08:14:37 -0500 Subject: [PATCH] org-attach-attach: expand file names before linking when using symbolic links for attachments, ensure links are fully expanded to avoid filesys

reference a remote named block in #+CALL: line

2021-11-02 Thread Matt Price
I am getting used to calling library-of-babel functions with local data structures as input variables, e.g. in this line: #+CALL: list2table(data=common-issues-list, order="rows") :results table raw where `common-issues-list` is a named org-mode list in the current file, e.g. #+NAME:

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2021-10-26 Thread Matt Price
On Tue, Sep 21, 2021 at 9:36 AM Timothy wrote: > I’m suspect it too short notice for such a large change to make its way > into Org > 9.5, but Bastien’s release email is certainly a good prompt to bump this. > > Bastien writes: > > > Thank you *very much* for this work and sorry for the slow

Re: New HTML exporter (was a feature request)

2021-10-04 Thread Matt Price
On Mon., Oct. 4, 2021, 2:21 a.m. Timothy, wrote: > Hi Tim, > > > Probably what is needed is a new HTML exporter which is capable of doing > > what slimhtml does as the default, but includes the additional > > functionality already in the exporter which many people are using. > > I think there

Re: add a heading w/ #+print_bibliography to parse tree on export

2021-07-31 Thread Matt Price
or John Kitchin (he/him/his) > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > > On Fri, Jul 30, 2021 at 8:18 PM Matt Price wrote: > >>

add a heading w/ #+print_bibliography to parse tree on export

2021-07-30 Thread Matt Price
Goal: conditionally add a headline with content to parse tree using either org-export-before-parsing-hook or org-export-filter-parse-tree-functions Explanation: I use org-re-reveal to make lecture slides from subtrees. Often I forget to add a heading with #+print_bibliography: and as a result

Re: [BUG] Citations in tables are not exported

2021-07-29 Thread Matt Price
On Thu., Jul. 29, 2021, 8:30 a.m. Nicolas Goaziou, wrote: > Hello, > > Matt Price writes: > > > No doubt this is a bit too broad, though I am not entirely clear on why > > there are any restrictions at all on inserting cites. > > There are locations which can break

Re: [BUG] Citations in tables are not exported

2021-07-27 Thread Matt Price
re: captions, a quick hack is to change line 1373 of oc.el to ((memq type '(nil paragraph keyword))) This makes my life quite a bit easier. No doubt this is a bit too broad, though I am not entirely clear on why there are any restrictions at all on inserting cites. On Sun, Jul 18, 2021 at 7:29

Re: Headings and Headlines

2021-07-24 Thread Matt Price
I don't really have a strong preference for either but I would love to remove the cognitive load of wondering whether the name is heading or header! On Sat., Jul. 24, 2021, 12:04 a.m. Tom Gillespie, wrote: > I enthusiastically support changing the documentation to use heading. > I use heading

Re: [org-cite] issues with org-cite-make-insert-processor select-style

2021-07-22 Thread Matt Price
Bruce, are you loading this code with use-package? If so, and if I'm reading this right, you can perhaps add the missing functions to the :commands directive for org-mode? IIUC that should ensure that they are available to your package, as long as you have an :after (org oc) line in the

Re: setting export options in headline properties

2021-07-21 Thread Matt Price
roperties have an ‘EXPORT_’ prefix. For > example, ‘DATE’ becomes, ‘EXPORT_DATE’ when used for a specific > sub-tree. Except for ‘SETUPFILE’, all other keywords listed above have > an ‘EXPORT_’ equivalent. > > HTH, > > Chuck > > > On Jul 21, 2021, at 11:52 AM, Ma

Re: org-cite: how to include a cite with no key?

2021-07-21 Thread Matt Price
On Tue, Jul 20, 2021 at 3:32 AM Emmanuel Charpentier < emm.charpent...@free.fr> wrote: > Le mardi 20 juillet 2021 à 02:55 -0400, Matt Price a écrit : > > Certainly citation of personal communications is common in the fields of > history and philosophy of science, where it re

setting export options in headline properties

2021-07-21 Thread Matt Price
Hi, I'm not sure if I'm reading the documentation properly, but my understnading is that I ought to be able to set export options as subtree properties, and that if I do so, they should be picked up by export engines when exporting subtrees. However, that doesn't see to be happening for me, and

Re: convert subtree or nested list to table

2021-07-20 Thread Matt Price
On Tue, Jul 20, 2021 at 12:06 PM Nick Dokos wrote: > Matt Price writes: > > > Christian et al, > > > > I seem to have broken something while fiddling around and I can't quite > make out what. Would someone be willing to check for me whether this does > or doe

Re: convert subtree or nested list to table

2021-07-20 Thread Matt Price
Christian et al, I seem to have broken something while fiddling around and I can't quite make out what. Would someone be willing to check for me whether this does or does not produce the desired full table? Right now I am again getting a truncated result and I'm not fully sure what I might be

Re: org-cite: how to include a cite with no key?

2021-07-20 Thread Matt Price
Certainly citation of personal communications is common in the fields of history and philosophy of science, where it represents an effort to responsibly represent the source of ideas owed to other persons. It's not really a question of whether you personally would do it; it's a question of

Re: oc-csl/citeproc: suffixes in cite links

2021-07-16 Thread Matt Price
" or "chapter" -- > hopefully replacing the citation with > [cite:@GentilcoreTastetomatoItaly2009 chap. 4] will fix the rendering, > > best regards, > András > > On Fri, 16 Jul 2021 at 22:40, Matt Price wrote: > > > > (cc:ing Andras in case this issue

oc-csl/citeproc: suffixes in cite links

2021-07-16 Thread Matt Price
(cc:ing Andras in case this issue maybe comes from citeproc) I'm having some trouble with suffixes in cite: links when the oc-csl exporter is enabled, e.g. with something like this: #+cite_export: csl "/home/matt/src/styles/apa.csl" this cite: [cite:@GentilcoreTastetomatoItaly2009 ch4] is

conditionally add heading to tree on export

2021-07-12 Thread Matt Price
Hi everyone, Now that org-cite is working (!!!), I am incrementally updating all my lecture slides to use proper citations. This is mostly quite simple, but I find that in the rush before class I am often forgetting to add a new slide with *both* the #+print_bibliography: line that will

Re: Citations merged!

2021-07-09 Thread Matt Price
Congratulations What time is the parade? On Fri, Jul 9, 2021 at 8:03 AM Julian M. Burgos wrote: > Amazing! Thank you to everyone that contributed. I am looking forward to > start playing with this. :) > > Nicolas Goaziou writes: > > > Hello, > > > > It took years, but citations are now

Re: [wip-cite-new] Merging tomorrow?

2021-07-07 Thread Matt Price
I cannot believe this is finally happening, and I am so stoked and excited about it. I've been using ~wip-cite-new~ in my classes this week, and these new tools are absolutely transformative. Thank you so much for the immense amount of work you put into this. And also to Bruce for championing

Re: convert subtree or nested list to table

2021-07-07 Thread Matt Price
It's totally interesting. It's not quite designed for what I'm looking to do and is perhaps a bit overpowered for my limited needs but I'm going to test whe nI have a little mroe time! On Tue, Jul 6, 2021 at 7:51 AM Uwe Brauer wrote: > >>> "MP" == Matt Price writes:

Re: convert subtree or nested list to table

2021-07-07 Thread Matt Price
thank you Juan Mnauel. I'm testing it out, but I do wonder if I would really rather work with lists and some CSS! On Tue, Jul 6, 2021 at 8:56 AM Juan Manuel Macías wrote: > Hi Matt, sorry for the slow reply... > > Matt Price writes: > > > I'd love to try that, thanks. I think

Re: convert subtree or nested list to table

2021-07-07 Thread Matt Price
-lisp | (("Category" | #+end_src - On Wed, Jul 7, 2021 at 6:29 AM tbanelwebmin wrote: > Hi Matt > > Le 05/07/2021 à 21:44, Matt Price a écrit : > > I have to write a number of text-heavy documents which need to be > > delivered as tables with wrapped pa

Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag

2021-07-05 Thread Matt Price
On Thu, Jul 1, 2021 at 12:18 PM Timothy wrote: > > Matt Price writes: > > >> I would like to be able to surround some portion of a subtree with a > tag, > > > Sorry for the noise, I believe this is user error. I misread the > exported > > source co

Re: convert subtree or nested list to table

2021-07-05 Thread Matt Price
, so I will probably need a real table. I odn't think I could really handle doing this in latex. I am a terrible latex user! On Mon, Jul 5, 2021 at 9:27 PM Tim Cross wrote: > > Matt Price writes: > > > I have to write a number of text-heavy documents which need to be > d

add #+ATTR_SOMETHING to headline?

2021-07-05 Thread Matt Price
Does anyone know if attributes get attached to headline elements during the export process? I am writing a derived backend in which I would like to have a line like (let (add-toggle (org-export-read-attribute :attr_canvas_html headline :toggle)) ) But as var as i can tell, the call to

convert subtree or nested list to table

2021-07-05 Thread Matt Price
I have to write a number of text-heavy documents which need to be delivered as tables with wrapped paragraphs in most cells. Working directly in table format is pretty arduous and uncomfortable. Has anyone ever written a function to accept a list or subtree as input and process it into a table?

Re: modify citation links in a derived HTML backend

2021-07-04 Thread Matt Price
On Sun, Jul 4, 2021 at 8:56 AM Jens Lechtenboerger < lech...@wi.uni-muenster.de> wrote: > On 2021-07-03, Matt Price wrote: > > > I've added some comments in the issue you linked to, but in the meantime > > I've also come up with what seems to be at least a semi-viable ha

Re: modify citation links in a derived HTML backend

2021-07-03 Thread Matt Price
ly body-only ext-plist) ;; Export the client HTML file if org-re-reveal-client-multiplex is set true ;; by previous call to org-export-to-file (if org-re-reveal-client-multiplex (org-export-to-file backend clientfile async subtreep visible-only body-only ext-plist)) file

modify citation links in a derived HTML backend

2021-07-02 Thread Matt Price
Hi, (cc:ing Jens L. in case this is relevant for his dev work on org-re-reveal). I'm experimenting with the new citation syntax in slideshows generated with org-re-reveal. Mostly it works fine, but cite-links don't function properly in the slideshow because in reveal, internal links only work

Re: [wip-cite-new] Exporting to pandoc md (and from there to zotero odt)

2021-07-02 Thread Matt Price
29, 2021 at 2:29 PM Matt Price wrote: > Anders, just to be clear: with your new exporters I can, as of today, > insert the new [cite:@citekey] links using a better-bibtex-generated > bibliography file, export to odt via pandoc, and then manage my citations > with zotero in the r

Re: [wip-cite-new] Exporting to pandoc md (and from there to zotero odt)

2021-06-29 Thread Matt Price
Anders, just to be clear: with your new exporters I can, as of today, insert the new [cite:@citekey] links using a better-bibtex-generated bibliography file, export to odt via pandoc, and then manage my citations with zotero in the resultant odt? it so... cool. On Wed, Jun 23, 2021 at 4:04 PM

Re: allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag

2021-06-22 Thread Matt Price
On Tue., Jun. 22, 2021, 4:30 a.m. Richard Lawrence, < richard.lawre...@uni-tuebingen.de> wrote: > Hi Matt, > > Matt Price writes: > > >> I would like to be able to surround some portion of a subtree with a > tag, > >> e.g.: > >> > >>

html export backend with inlined css?

2021-06-21 Thread Matt Price
I regularly have to upload HTML to a CMS that strips out ,

allow HTML block to escape from outline-text div? WAS: BUG? unable to surround subtrees with html tag

2021-06-21 Thread Matt Price
On Mon, Jun 21, 2021 at 3:07 PM Matt Price wrote: > I'm using the most recent wip-cite-new branch of org, with a recent emacs > git (28.0.50). > > I would like to be able to surround some portion of a subtree with a tag, > e.g.: > > * parent > some text > #+HTML:

BUG? unable to surround subtrees with html tag

2021-06-21 Thread Matt Price
I'm using the most recent wip-cite-new branch of org, with a recent emacs git (28.0.50). I would like to be able to surround some portion of a subtree with a tag, e.g.: * parent some text #+HTML: ** child 2 some boxed content ** child 2 more boxed content #+HTML: ** child 3 unboxed

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-08 Thread Matt Price
On Tue., Jun. 8, 2021, 5:29 a.m. Nicolas Goaziou, wrote: > Hello, > > Matt Price writes: > > > IIUC, the current architecture assigns responsibility for both *citation > > export* and *in-buffer actions* to a processor shosen by the user (right > > now,

Re: [org-cite, oc-basic] configurable open-at-point, font-locking when json?

2021-06-07 Thread Matt Price
Ni Nicolas and Bruce, I'm having trouble keeping up with these emails, let alone testing all these new features! But this most recent response of yours, Nicolas, makes me wonder if it's worth raising a concern. On Mon, Jun 7, 2021 at 5:15 PM Nicolas Goaziou wrote: > Hello, > > "Bruce D'Arcus"

wip-cite-new minimal working example?

2021-05-28 Thread Matt Price
I may have missed something somewhere, but does anyone have a MWE for the new citation syntax, including a minimal bibliography file, style files for the various backends, & an org file with included citations? I am trying to test out oc-csl.el but am pretty sure I am not dong it right.

Re: [wip-cite-new] Initial implementation of `csl' citation processor

2021-05-27 Thread Matt Price
I'm trying to run this on a fairly recent emacs-master w/ native-comp enable, using ~emacs -Q ~/test-cites.org~, where test-cites.org is this: #+cite_export: csl "/home/matt/Zotero/styles/chicago-manual-of-style-16th-edition-inline-notes-for-syllabi.csl" #+bibliography:

Re: there are always ways to go - Re: Sad tweet

2021-05-26 Thread Matt Price
I am not an emacs contributor, but I think Jonas is saying, "I love emacs and I am the primary author of one of the two most important emacs packages. If contributing to emacs is frustrating even for me, think how many people will give up. We need to change our culture." I would be very careful

Re: Multiple calc commands with orgbabel

2021-05-05 Thread Matt Price
Can you explain how you get calc embedded mode working in org? I have never used it and it sounds interesting, but I don't understand what hte delimiters are. On Wed, May 5, 2021 at 2:35 AM Eric S Fraga wrote: > On Wednesday, 5 May 2021 at 07:46, pie...@caramail.com wrote: > > Have been trying

async export and then do something with file

2021-04-29 Thread Matt Price
Hi everyone, I am wondering if I can perform and export asynchronously and then, without tying up emacs, wait around for the export to finish and then perform some other task, like upload the file to a server. Has anyone tried this before? I think perhaps the easiest thing to do would be to use

Re: Using backticks for the inline code delimeter?

2021-04-21 Thread Matt Price
On Tue, Apr 20, 2021 at 4:24 PM John Kitchin wrote: > I have used an approach like the one here > https://endlessparentheses.com/define-context-aware-keys-in-emacs.html > > to make context aware key-bindings. > > THanks John. That post was very helpful -- really all I was looking for was

Re: wip-cite status question and feedback

2021-04-20 Thread Matt Price
As a user, is there any way I can participate at this point? I'm not in a position to contribute code tight now but really do want to have this feature as soon as possible. It's going to improve my students' lives quite a bit. > > >

Re: Using backticks for the inline code delimeter?

2021-04-20 Thread Matt Price
On Wed., Mar. 31, 2021, 3:22 p.m. Timothy, wrote: > > autofrettage writes: > > > Quick and Dirty: Bind key '`' to ~ in Emacs? > > > > (I guess it is clear I haven't thought about the consequences.) > > You can add that just to the Org-mode map. That wouldn't be too bad, > there's always C-q. >

Re: eldoc recursion error

2020-09-08 Thread Matt Price
On Tue, Sep 8, 2020 at 11:27 AM Matt Price wrote: > > > On Tue, Sep 8, 2020 at 10:53 AM Bastien wrote: > >> Hi Matt, >> >> Matt Price writes: >> >> > In a new org file, add these lines: >> > >> > #+begin_src python >> > p

Re: eldoc recursion error

2020-09-08 Thread Matt Price
On Tue, Sep 8, 2020 at 10:53 AM Bastien wrote: > Hi Matt, > > Matt Price writes: > > > In a new org file, add these lines: > > > > #+begin_src python > > print > > #+end_src > > > > position cursor inside block and the error message occurs.

Re: eldoc recursion error

2020-09-08 Thread Matt Price
On Tue, Sep 8, 2020 at 10:25 AM Bastien wrote: > Hi Matt, > > can you provide a recipe to reproduce the problem? > > oops, sorry, that was stupid. In a new org file, add these lines: #+begin_src python print #+end_src position cursor inside block and the error message occurs.

eldoc recursion error

2020-09-08 Thread Matt Price
I know there have been a couple of updates to org-eldoc lately. After updating to current master, I get this error in source blocks if eldoc mode is turned on: eldoc error: (error Lisp nesting exceeds ‘max-lisp-eval-depth’) Is there an easy fix for this? is it a generic eldoc problem or

Re: Improving Org Mode for VSCode - Thinking Aloud

2020-05-27 Thread Matt Price
There are a number of interesting topics here. Like others, I would be very keen to share my org-based projects with non-Emacs users. I also only have very limited time & skills to contribute. There is an existing extension for org-mode on vscode here:

Re: R session and plotting in x11 window

2020-04-06 Thread Matt Price
On Sun, Apr 5, 2020 at 1:19 PM Berry, Charles wrote: > > > > On Apr 4, 2020, at 4:27 PM, Matt Price wrote: > > > > Does anyone know much about the difference between an R session opened > by typing M-x R, and the R session opened by org-babel? > > > Short

R session and plotting in x11 window

2020-04-04 Thread Matt Price
Does anyone know much about the difference between an R session opened by typing M-x R, and the R session opened by org-babel? I'm just learning R and my usual method for learning a language is to keep a kind of notebook in org with code snippets they I can execute and iterate on rapidly as I

Re: rmarkdown-like production of multiple plots in org

2020-04-02 Thread Matt Price
t; On Mar 31, 2020, at 12:23 PM, Matt Price wrote: > > > > I'm completely new to R. > > > > I've started working with a project that creates plots using the ggplot > package -- so by default it creates grid objects, rather than writing to > files. > > >

rmarkdown-like production of multiple plots in org

2020-03-31 Thread Matt Price
I'm completely new to R. I've started working with a project that creates plots using the ggplot package -- so by default it creates grid objects, rather than writing to files. In rmarkdown/rstudio, I can write something like this in a SOMEFILE.Rmd : ``` install_github('eeholmes/CoV19')

get subtree contents as string

2020-02-26 Thread Matt Price
I have the following convenience function that scans contents of a subtree and then sets a property, adds an overlay, and changes the TODO status: (defun org-lms-set-grade () "set grade property for all headings on basis of \"- Grade :: \" line Use with caution." (interactive)

Re: [PATCH] restore window configuration after org-edit-src-exit

2020-01-09 Thread Matt Price
Hi, sorry I missed this thread in the peri-holiday rush, just want to say thank you all for ironing out the difficulties arsing from that change earlier. On Tue, Jan 7, 2020 at 4:06 AM Nicolas Goaziou wrote: > Hello, > > Jack Kamm writes: > > > Attached is a patch to restore the window

Re: Small change to link syntax in maint

2019-12-28 Thread Matt Price
Just an apology for not getting back on this, I haven't managed to text this properly yet (apologies) but I am pretty sure it will fix my use case, for which I'm grateful. Thanks Nicolas. On Sun., Dec. 22, 2019, 9:09 a.m. Nicolas Goaziou, wrote: > Hello, > > Matt Price reported a

Re: managing aggressive link activation within lines?

2019-12-19 Thread Matt Price
On Thu, Dec 19, 2019 at 2:55 AM Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > MWE: > > test.org: > > -- > > This is a paragraph with [[https://google.com][a link]] > > --- > > steps to reproduce: > > > > put cu

managing aggressive link activation within lines?

2019-12-18 Thread Matt Price
Hi everyone, Not sure if this has always been an issue but with a pretty recent org git and emacs-git, I'm running into a usability issue with org-activiate-links. MWE: test.org: -- This is a paragraph with [[https://google.com][a link]] --- steps to reproduce: put cursor at beginning of file

org-custom-id-goto?

2019-12-04 Thread Matt Price
Is there a quasi-equivalent of ~org-id-goto~ or ~org-babel-goto-named-src-block~ which will jump to a header in the current buffer? I' like to be able to quickly navigate to a buffer by name; usually I give custom_id properties to headers that I am likely to link to, so using that property would

Re: [O] org-fast-todo-selection window behaviour?

2019-10-23 Thread Matt Price
e info > window is always in the same predictable place. After the selection is > done, the old window setup is restored to exactly what it was > > Carsten > > On Sun, Oct 20, 2019 at 8:46 PM Matt Price wrote: > >> I've recently noticed a slightly frustrating behavo

[O] org-fast-todo-selection window behaviour?

2019-10-20 Thread Matt Price
I've recently noticed a slightly frustrating behavour on the part of org-todo that I think is new and maybe was introduced in mid-August with f1c030bed54737319aeb1d592e3340d6a48cea3a In a split frame,calling org-todo with org-use-fast-todo-selection enabled, ~C-c C-t~ now calls

[O] org-ref: format full bibliography?

2019-10-18 Thread Matt Price
I'm successfully using org-ref to create bibliographic entries and citations in my lectures and syllabi, using ox-hugo and org-re-reveal, and of late also citeproc-orgref. It's great. Now I'd like to add a "bibliography' page to my course websites, which provides a long list of works that students

[O] managing repetitive code in export & tangling

2019-10-08 Thread Matt Price
In my lectures i often have simple examples that build progressively over several slides. In order to use klipse properly, but also for clarity, I gneerally repeat variable declarations from slide to slide, so for instance: ** Making Lists (Arrays) +#NAME: js-array-historians #+BEGIN_SRC js let

Re: [O] [RFC] Document level property drawer

2019-10-05 Thread Matt Price
On Sat., Oct. 5, 2019, 6:10 p.m. Adam Porter, wrote: > Marco Wahl writes: > > > Just I got the idea that for a good part this discussion is about > > personal preferences. > > Personal preferences are relevant to this issue in that Org is flexible > and allows users to configure it accordingly.

Re: [O] [PATCH] ox-html: add option to restore old src block behaviour?

2019-10-02 Thread Matt Price
So I'm pretty interested in this: what to others thi k? On Sat., Sep. 21, 2019, 8:16 a.m. Jens Lechtenboerger, < jens.lechtenboer...@fsfe.org> wrote: > On 2019-09-19, Matt Price wrote: > > > Over the summer, commit ded3d27b1468b878197e5fe55a70c5e13350ea27 > > by Nik Clay

Re: [O] How many other people want an org-mode client to the Canvas LMS API?

2019-10-02 Thread Matt Price
have time in the > spring before my class starts. > > > Matt Price writes: > > > Hi everyone, > > > > I've been working away slowly on my primitive API client for the Canvas > > Learning Management System, which my university now uses ( > > https://gi

[O] How many other people want an org-mode client to the Canvas LMS API?

2019-09-30 Thread Matt Price
Hi everyone, I've been working away slowly on my primitive API client for the Canvas Learning Management System, which my university now uses ( https://github.com/titaniumbones/org-lms, note the documentation is terrible and may be misleading in places). The code is at my usual very low level of

Re: [O] parsing time strings from properties

2019-09-22 Thread Matt Price
form `2019-09-26`, but optionally including a full time." (ts-format "%Y-%m-%dT%H:%M:%S%:z" (ts-parse-fill 'end date ))) I'm quite looking forward to using dash, s, ts, kv, etc to simplify my often very obtuse legacy code. On Sun, Sep 22, 2019 at 6:10 AM Thomas Plass wrote:

[O] parsing time strings from properties

2019-09-21 Thread Matt Price
I use a very simple property in my assignment descriptions to set the assignment due date: :DUE_AT: 2019-09-26 I then pass this to an API which expects a date parameter like `2019-09-26T23:59:59-04:00`. Since I only work in one time zone, I can just concat the property value with the additional

[O] ox-html: add option to restore old src block behaviour?

2019-09-19 Thread Matt Price
reiterating a question I posted to an old thread that may have gotten lost. Over the summer, commit ded3d27b1468b878197e5fe55a70c5e13350ea27 by Nik Clayton was merged to master. It's a one-line change that adds new ~~ tags around each lin of code in html export of source blocks. It's useful

Re: [O] org-map-entries but with arguments?

2019-09-19 Thread Matt Price
ties I thought it was only reporting back the standard properties, like ITEM. And in any case I had forgotten how to convert strings to symbols. This is enormously helpful. > > --- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical

Re: [O] org-map-entries but with arguments?

2019-09-18 Thread Matt Price
Sorry, replied to Adam directly by accident. On Wed, Sep 18, 2019 at 8:32 PM Matt Price wrote: > > > On Wed, Sep 18, 2019 at 5:31 PM Adam Porter wrote: > >> Matt Price writes: >> >> > Is there a lisp trick for adding arguments to the function called by >>

Re: [O] lisp: scoping vars in repetitive defuns

2019-09-18 Thread Matt Price
mmand))) > > > (defun dh-view () > "Open viewable files in browser" > (loop for f in (plist-get (dh-variables) :browseFiles) > do > (browse-url-of-file (f-join base f > > > ;; Or with the plist as an argument > (defun dh-view

[O] org-map-entries but with arguments?

2019-09-18 Thread Matt Price
Is there a lisp trick for adding arguments to the function called by `org-map-entries`? I have the following function: (cl-defun org-lms-return-all-assignments ( (send-all nil) (also-mail nil) (post-to-lms t) ) "By default mail all subtrees 'READY' to student recipients, unless SEND-ALL is

Re: [O] lisp: scoping vars in repetitive defuns

2019-09-17 Thread Matt Price
ass Grade () > ((:a :initarg :a))) > > (cl-defmethod gf1 ((g Grade) x) > (* (oref g :a) x)) > > (cl-defmethod gf2 ((g Grade) x) > (+ (oref g :a) x)) > > (let ((G (Grade :a 3))) > (list (gf1 G 2) (gf2 G 2))) > #+END_SRC > > #+RESULTS: > | 6 | 5 | > &g

[O] lisp: scoping vars in repetitive defuns

2019-09-17 Thread Matt Price
I have a number of convenience functions define to help me with grading assignments. As I go through the semester, i update all of these functions modestly so that they'rehelpful for grading the current assignment. I big chunk of these simple functions is taken up just declaring variables with

Re: [O] (no subject)

2019-09-15 Thread Matt Price
I'm replying a year late to this thread, post-merge, because I've discovered it breaks interaction with the highlight.js library( https://highlightjs.org/) and therefore my workflow, which depends on highlightjs via reveal.js. My difficulty is with the current version of

Re: [O] superfluous tags in html src block output

2019-09-14 Thread Matt Price
at's very helpful. Clearly this is the issue. I'll have to figure out the best way to make this work with the `highlight.js` library that reveal.js depends on for code highlighting. > > > HTH, > > Chuck > > > > On Sep 14, 2019, at 8:52 AM, Matt Price wrote: > > > >

[O] superfluous tags in html src block output

2019-09-14 Thread Matt Price
I'm seeing something I hadn't noticed before in src block html exports. Instead of producing structures like: ... ... ... each individual like is wrapped in its own tag. In regular HTML exports this doesn't really affect display, but in exports to reveal using the highlight.js plugin, code

  1   2   3   4   5   6   7   >