[O] getting access to a self-invented option?

2019-08-02 Thread Matt Price
I'm trying to streamline some veyr ad-hoc workflows I have. One thing I do a lot during the school year is make some changes to an org source file, and then export to hugo markdown with ox-hugo, and finally commit to git (after that I have a git hook that generates the website & uploads the changed

Re: [O] getting access to a self-invented option?

2019-08-07 Thread Matt Price
On Sat, Aug 3, 2019 at 1:28 AM Thibault Marin wrote: > Hi, > > I am not sure where you are trying to get to the value (in the > publishing function?), but I use something like the following to handle > custom keywords: > > , > | #+MWP_EXPORT_TYPE: slides > | > | #+name: elt > | #+begin_src em

Re: [O] getting access to a self-invented option?

2019-08-07 Thread Matt Price
ackend: https://github.com/titaniumbones/ox-huveal . So my preference is to evaluate the variable BEFORE export begins. I guess another option is to just set a buffer-local variable in the file, or use #+FILETAGS: and hack htings that way. I'm not sure what the most sustainable & org-like meth

Re: [O] getting access to a self-invented option?

2019-08-07 Thread Matt Price
On Fri, Aug 2, 2019 at 4:02 PM Tim Cross wrote: > > Could you just use a tag for this? My shallow thought is that if you > tagged headlines, over time you could use different tags for different > content type whereas if you use a new custom type, you would need to > repeat the definition process

[O] minimal testing setup for pdf export?

2019-08-26 Thread Matt Price
Can someone point me to a minimal setup for testing PDF export with "emacs -Q"? I am unable to produce a pdf with default settings and I am pretty sure that the latex is invalid... but I'm having trouble testing it since I 9still) know so little about latex. Thanks everyone! Matt

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Matt Price
rred, no output PDF file produced! Transcript written on .//texput.log. However, empty.tex is clearly present. Latex and pdflatex are both in my $PATH. Maybe this is a problem with pdflatex? On Tue, Aug 27, 2019 at 2:14 AM Robert Klein wrote: > On Mon, 26 Aug 2019 21:20:53 -0400 >

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Matt Price
ssor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > > On Tue, Aug 27, 2019 at 7:57 AM Julius Dittmar > wrote: &g

Re: [O] minimal testing setup for pdf export?

2019-08-27 Thread Matt Price
; Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > > On Tue, Aug 27, 2019 at 8:57 AM Matt Price wrote: > >> >> >> On Tue, Aug 27, 2019 at 8:27 AM John Kitchin >> wrote: >&g

Re: [O] minimal testing setup for pdf export?

2019-08-30 Thread Matt Price
On Thu, Aug 29, 2019 at 11:27 AM John Hendy wrote: > On Tue, Aug 27, 2019 at 6:34 PM Matt Price wrote: > > > > > > > > On Tue, Aug 27, 2019 at 1:33 PM John Kitchin > wrote: > >> > >> that does suggest that pdflatex is getting called somewhere

[O] org-ref: conditionally add url to formatted citation

2019-08-30 Thread Matt Price
On Sat, Jan 7, 2017 at 8:23 AM John Kitchin wrote: > > > >> > >> 2. If you click on a citation link, you can select an action to copy the > >> formatted entry for that key. > > > > > > I had trouble with this. I constructed a minimal emacs config: > > > > #+BEGIN_SRC emacs-lisp > > ;;; elpa inter

[O] add class to *figure*, not *img*, on html export?

2019-09-04 Thread Matt Price
in HTML export, the following org text: #+ATTR_HTML: :class paired [[file:~/DH/Images/louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg]] exports for me as: - -- Is there a way to get the ~class="paired"~ attached to the *figure* rather than the *img* tag? Thank you!

[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

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

2019-09-14 Thread Matt Price
#x27;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: > >

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 ~org-html-do-format-code~,

[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 (le

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

2019-09-17 Thread Matt Price
emacs-lisp > (require 'eieio) > > (defclass 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))) > #

[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 (&optional (send-all nil) (also-mail nil) (post-to-lms t) ) "By default mail all subtrees 'READY' to student recipients, unless SEND-AL

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

2019-09-18 Thread Matt Price
testOutput > :testCommand testCommand))) > > > (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

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] 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

[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 becau

[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

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

[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 q

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

2019-10-02 Thread Matt Price
I will 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 ( > >

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

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.

[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 h

[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] 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 ~delete-other-wind

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

2019-10-23 Thread Matt Price
entation, the 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 f

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 m

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 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 cursor

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 report

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 configur

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) (save-restric

[O] counter macro in dates?

2017-08-17 Thread Matt Price
I'd love to be able generate dates dynamically using the {{{n}}} org macro, or some other mechanism. I don't immediately see how that would be possible but maybe someone can guide me. I'd want to do something equivalent to this pseudo-elisp: (let ((base-date 2017-09-05)) (+ base-date (* 7 {{{n

[O] merging subtrees (in a syllabus)

2017-08-22 Thread Matt Price
I maintain syllabi for courses htat have *discussion* ocmponents and *lab* ocmponents; these are often quite separate from one another. I end up with trees that look like this: * Outline ** <2017-09-12 Tue> (Week {{{n}}}) Hacking History in the Himalaya Why we should write history, why everyone

[O] dynamic date arithmetic in a macro or otherwise (simulating a "date counter")?

2017-08-22 Thread Matt Price
On Thu, Aug 17, 2017 at 3:25 PM, Matt Price wrote: > I'd love to be able generate dates dynamically using the {{{n}}} org > macro, or some other mechanism. I don't immediately see how that would be > possible but maybe someone can guide me. I'd want to do something >

Re: [O] dynamic date arithmetic in a macro or otherwise (simulating a "date counter")?

2017-08-23 Thread Matt Price
On Tue, Aug 22, 2017 at 8:14 PM, Sacha Chua wrote: > org-clone-subtree-with-time-shift might be a good starting point, too. It > could be interesting to be able to replace dates within text and > priorities. Good luck! > Interesting, I didn't know about `org-clone-subtree-with-time-shjift`. than

Re: [O] merging subtrees (in a syllabus)

2017-08-23 Thread Matt Price
On Wed, Aug 23, 2017 at 4:55 PM, Kaushal Modi wrote: > On Tue, Aug 22, 2017 at 4:10 PM Matt Price wrote: > >> And then I'd run some elisp that mashes them all up together, and give >> that to the students, since I think that'll make it easier for them to read. >&

[O] counter macro doesn't increment when additional macro is on same line

2017-08-26 Thread Matt Price
{{n(w)}}}) (week {{{n(w)}}}) (week {{{n(w)}}}) ** <2017-09-12 Tue> (Week {{{n(w)}}}) Hacking History in the Himalaya ** {{{ts}}} (Week {{{n(w)}}}) Language of the Web - And here's the ASCII export: -- Matt Price , | (defun mwp-add-week-to-next-ts () |

Re: [O] Questions about using macro replacement

2017-08-26 Thread Matt Price
Answering without full knowledge! On Wed, Aug 23, 2017 at 11:13 PM, Joon Ro wrote: > Hi, > > I have several questions about macro replacement usage. > > 1. I saw people using {{{n}}} macros, which looks very useful, but I could > not find it in current documentation about macro replacement ( > h

Re: [O] counter macro doesn't increment when additional macro is on same line

2017-08-26 Thread Matt Price
>" (time-add (date-to-time base-date) (days-to-time (1+ 7)))) )) On Sat, Aug 26, 2017 at 5:09 PM, Matt Price wrote: > > the {{{n}}} macro seems to reset to "1" if it is located on the same line > as another macro that I'v

Re: [O] Date macro - Org Mode

2017-09-01 Thread Matt Price
Hi Jay, I'm sorry for the long delay in writing back -- I was travelling and let my email get away from me. I'm doing something kind of similar but not exactly the same. My problem is a little bit easier -- my dates aleays change by exactly a week, so what I have done is to retain the first date

[O] ics calendar?

2017-09-07 Thread Matt Price
I've been using Kaushal's fantastic ox-hugo to build my course websites (see http://2017.hackinghistory.ca/ for one more or less finished example; slightly out of date and not-yet documented source files are on Github at https://github.com/titaniumbones/Hacking-History/tree/2017). It's a great sys

Re: [O] ics calendar?

2017-09-11 Thread Matt Price
On Fri, Sep 8, 2017 at 11:52 AM, Eric Abrahamsen wrote: > Matt Price writes: > > > I've been using Kaushal's fantastic ox-hugo to build my course websites > (see http://2017.hackinghistory.ca/ for one more or less finished > example; slightly out of date and not-yet

[O] run shell command after publishing project

2017-12-08 Thread Matt Price
Hi everyone, Feeling a little rude after a long absence in which I dropped all my non-work commitments -- but still here to ask a question! I'm setting up a new workflow using Kauhsal's ox-hugo. I keep all my course materials in a few org files & publish to hugo-flavoured markdown. My source mate

Re: [O] run shell command after publishing project

2017-12-08 Thread Matt Price
This sounds fantastic, Kaushal. I'm struggling to follow, so wl lask some questions inline. On Fri, Dec 8, 2017 at 2:58 PM, Kaushal Modi wrote: > On Fri, Dec 8, 2017, 2:29 PM Matt Price wrote: > >> Hi everyone, >> Feeling a little rude after a long absence in which I dro

[O] export entities inside code/verbatim markup?

2017-12-15 Thread Matt Price
IIUC, org does not by default export entities contained inside ~code~ and =verbatim= markup. Is there any way to get around that? I have lots of markup like this: ~Tools \rarr Web Developer \rarr Console~ in various help texts. If there's a way to push this out to markdown or HTML I'd be very gra

Re: [O] export entities inside code/verbatim markup?

2017-12-15 Thread Matt Price
On Fri, Dec 15, 2017 at 9:52 AM, Matt Price wrote: > IIUC, org does not by default export entities contained inside ~code~ and > =verbatim= markup. Is there any way to get around that? I have lots of > markup like this: > > ~Tools \rarr Web Developer \rarr Console~ > > in v

Re: [O] export entities inside code/verbatim markup?

2017-12-15 Thread Matt Price
On Fri, Dec 15, 2017 at 10:03 AM, Eric S Fraga wrote: > On Friday, 15 Dec 2017 at 09:52, Matt Price wrote: > > IIUC, org does not by default export entities contained inside ~code~ and > > =verbatim= markup. > > it does for me... what happens when you try? can you p

Re: [O] export entities inside code/verbatim markup?

2017-12-15 Thread Matt Price
On Fri, Dec 15, 2017 at 10:48 AM, Eric S Fraga wrote: > On Friday, 15 Dec 2017 at 10:40, Matt Price wrote: > > Of particular value in both Chrome and Firefox is the "Javascript > > Consoles," accessible from the developer tools: ~Tools \rarr Web > Developer > >

Re: [O] export entities inside code/verbatim markup?

2017-12-15 Thread Matt Price
On Fri, Dec 15, 2017 at 11:28 AM, Eric S Fraga wrote: > On Friday, 15 Dec 2017 at 16:19, Kaushal Modi wrote: > > I believe that Matt wants to render the entities inside the verbatim/code > > markup. > > Ah, I did completely misunderstand his question! Thanks. > > > To do what you want, I would

Re: [O] Restore old easy template feature (Re: function for inserting a block)

2017-12-18 Thread Matt Price
On Wed, Nov 8, 2017 at 9:08 AM, Bastien Guerry wrote: > Hi Kaushal, > > Kaushal Modi writes: > > > I am suggesting to have a minor mode that simply binds "<" to do the > > template insertion (only when that is typed at BOL with optional > > leading whitespace, or if a region is selected). > > I

Re: [O] run shell command after publishing project

2017-12-18 Thread Matt Price
On Fri, Dec 8, 2017 at 5:19 PM, Kaushal Modi wrote: > On Fri, Dec 8, 2017 at 4:38 PM Matt Price wrote: > >> This sounds fantastic, Kaushal. I'm struggling to follow, so wl lask some >> questions inline. >> > > Sure, my answers are below. > > thank you

Re: [O] Restore old easy template feature (Re: function for inserting a block)

2017-12-19 Thread Matt Price
On Tue, Dec 19, 2017 at 5:04 AM, Rasmus wrote: > Matt Price writes: > > > On Wed, Nov 8, 2017 at 9:08 AM, Bastien Guerry wrote: > > > >> Hi Kaushal, > >> > >> Kaushal Modi writes: > >> > >> > I am suggesting to have a minor mo

Re: [O] org-reveal: content side by side

2018-02-05 Thread Matt Price
for this issue, I define a class "paired" in my local cass file (or actually, I now use a very modestly edited custom theme) : .paired { float:left !important; max-width:47% !important; } and then in the org file: :#+ATTR_HTML: :class paired That works OK for me. the "!important" is ne

[O] [OT] org-mode bindings in markdown-mode?

2018-04-13 Thread Matt Price
Hi eveyrone, I'm using markdown more and more in collaborative projects (sigh). I am getting used to the syntax but it drives me crazy not to be able to edit document structure with commands like C-return,, M-return, etc. Does anyone have a solution for this that works with recent versions of org

Re: [O] [OT] org-mode bindings in markdown-mode?

2018-04-15 Thread Matt Price
n University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > On Fri, Apr 13, 2018 at 7:38 AM, Marcin Borkowski wrote: > >> >> On 2018-04-13, at 15:14, Matt Price wrote: >> >> > Hi eveyrone, >> &

Re: [O] Time shifting functions

2018-04-27 Thread Matt Price
On Thu, Apr 26, 2018 at 7:34 PM, Bastien wrote: > Hi Andrei, > > Andrei Beliankou writes: > > > I wonder if Org-mode has a convinient function to shift a timestamp with > > a (weekly) repeating interval by that interval. > > Actually the same way `org-read-date' reads the time in the timestamp >

[O] quick copy-to-slack-syntax?

2018-07-30 Thread Matt Price
Does anyone by chance already have a method for quickly copying the region or subheading to the very simple Slack syntax? ASCII export seems to be pretty close but not perfect. If you have a solution I'd love to hear it! Otherwise I'll try to roll my own sometime soon, will post in this thread if

[O] orgalist & variable binding depth

2018-09-05 Thread Matt Price
I've just started enabling orgalist in message-mode, and it's awesome. However, I'm getting very frequent variable binding depth errors, possibly because of conflicts with other packages. When orgalist is turned off, all the errors go away. When it's turned on, my *Messages* buffer starts to look l

Re: [O] orgalist & variable binding depth

2018-09-05 Thread Matt Price
so, I think there is an infinite loop generated between yas--auto-fill and orgalist--auto-fill: -- Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’") current-left-margin() move-to-left-margin() forward-paragraph() yas--auto-fill() orgalist--aut

Re: [O] Custom keymaps on org blocks

2018-09-05 Thread Matt Price
Necroposting here. I was wondering if anyone has tried polymode recently, and whether it still has the problems John described in his earlier posts. I notice that poly-org is being actively developed but I haven't tried it out yet... On Sat, Jun 10, 2017 at 3:32 PM John Kitchin wrote: > In case

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 may

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 rep

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: common-is

[PATCH] org-attach-attach: fix symlinks

2021-11-15 Thread Matt Price
so I have signed FSF 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 expan

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 na

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 produ

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) > >

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

Re: handling as special special block in derived export

2022-01-20 Thread Matt Price
t;) :help-echo "Click me for a message.") > John > > --- > Professor John Kitchin (he/him/his) > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-78

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 b

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

2022-02-22 Thread Matt Price
ndo-tree. 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 insigh

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-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

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 head

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 rega

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 a

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') library(

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.

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 lear

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

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: https://github.com/vscode-org-mode/vscode-org

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 specific

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.

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 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: [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 Mon

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 away

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 ci

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. My gues

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 t

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: keeping subtree heading on export

2024-04-26 Thread Matt Price
thanks for the response, Ihor -- reply inline below: On Fri, Apr 26, 2024 at 9:45 AM Ihor Radchenko wrote: > Matt Price writes: > > > ... I need to export each individual page > > of the "book" to its own markdown page. However, jupyter-book expects to > >

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: 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. > > >

<    1   2   3   4   5   6   7   >