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

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

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

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

2019-08-27 Thread Matt Price
on 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: >> >>>

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

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

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

2019-08-07 Thread Matt Price
om/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 method relaly is... > > HTH, &

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

[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

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Matt Price
hmm, I still get just the attached image (approx). Presumably osmehting wrong w/ my latex setup (I use latex only very rarely). On Tue, May 7, 2019 at 1:52 PM Fraga, Eric wrote: > On Tuesday, 7 May 2019 at 13:22, Matt Price wrote: > > I thought that a latex src block with :export

Re: [O] best ways to generate simple diagrams?

2019-05-07 Thread Matt Price
very thick,red] (humanities); \end{tikzpicture} #+end_src Can you see my error and/or reproduce the issue? Thanks all of you! On Tue, May 7, 2019 at 7:25 AM Fraga, Eric wrote: > On Monday, 6 May 2019 at 14:17, Matt Price wrote: > > So, I'm finding more and more that I want to incl

[O] best ways to generate simple diagrams?

2019-05-06 Thread Matt Price
So, I'm finding more and more that I want to include simple diagrams in my course materials. At present I am generating them as svg's using Inkscape, but that feels really tiresome to me. I would much rather make them programmatically, preferably including the source code as an org-mode block. I

[O] table --> org-drill

2019-04-22 Thread Matt Price
Hello everyone, I'm taking an informal but intensive Nepali language class. There's no textbook, and vocabulary comes rapidly from the teacher during lcass. I end up with notes that look like this: yo & tyo-based constructions *yo* | yatti | this much | | katti | how much | | yaha

Re: [O] property matching in org-agenda-custom-commands

2019-04-05 Thread Matt Price
at 4:17 PM Thomas Plass wrote: > Matt, > > Matt Price wrote at 13:31 on April 5, 2019: > : > : ("F" "Failing Students in Current Buffer Only" tags-tree "+GRADE=\"0\"") > : > : However, this seems to choke, and the agenda is not

[O] property matching in org-agenda-custom-commands

2019-04-05 Thread Matt Price
Embarassed that I still don't really know how to use the agenda commands after all this time :-( I have a bunch of trees that look in part like this: * Asisgnment 1 ** Student A :PROPERTIES: :GRADE: 0 :END: I would like to store a search in org-agenda-custom-commands. I generated it initially

[O] CSS Inliner for HTML emails?

2019-03-12 Thread Matt Price
Does anyone have a satisfactory solution for inlining CSS in HTML emails? I tried org-mime's built-in ~org-mime-change-element-style~ but it is pretty clumsy and does not, for instance, allow me to style "pre code" and "code" differently. Does anyone have a better solution? Thank you!

[O] Bug? svg images do not display on modenr browser on export

2019-01-15 Thread Matt Price
I think this is a bug but I don't know enough about svg images to be sure. On export, links to svg images produce an element rather than an . Here's the docstring of the function (from ox-heml): - Return \"object\" embedding svg file SOURCE with given ATTRIBUTES. INFO is a plist used as a

[O] PATCH: do not restore window config on exit from src buffer

2018-11-27 Thread Matt Price
As per our earlier thread, here is a patch to remove org-src--saved-temp-window-config from org-src.el. From ad2d8d26eee6c2bcfa517e0f7352406c9980bfd4 Mon Sep 17 00:00:00 2001 From: Matt Price Date: Tue, 27 Nov 2018 08:19:03 -0500 Subject: [PATCH] Org-sr.el: On exiting src buffer, do not restore

Re: [O] [PATCH] don't always restore previous window configuration?

2018-11-25 Thread Matt Price
On Sun, Nov 25, 2018, 4:02 AM Nicolas Goaziou Hello, > > Matt Price writes: > > > Then I'm sorry for the noise (and also for this aside!). Magit, or git, > or > > some other tool was doing something quite strange and disturbing, and I > am > > now seeing

Re: [O] [PATCH] don't always restore previous window configuration?

2018-11-24 Thread Matt Price
On Sat, Nov 24, 2018 at 5:55 AM Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > OH man, that was a little harder than I thought it would be. Does `make > > test` randomly checkout a new branch or something? > > No, it doesn't. > Then I'm sorry for t

[O] [PATCH] don't always restore previous window configuration?

2018-11-23 Thread Matt Price
: > On Thursday, 22 Nov 2018 at 14:09, Matt Price wrote: > > SO far this is working for me but I wondered whether other people would > > similarly want to change this behaviour and I should put together a > proper > > proposal & patch? > > Yes, please. This is becoming more

Re: [O] overlay showing computed value of macro?

2018-11-23 Thread Matt Price
On Fri, Nov 23, 2018 at 4:32 AM Eric S Fraga wrote: > Matt, > > you might like to have a look at how the n() macro was implemented as it > has some similar goals. Check out org-macro-initialize-templates and > org-macro--counter-increment. > ah. no stupid searching backwards through the

Re: [O] overlay showing computed value of macro?

2018-11-23 Thread Matt Price
OH man, I know this is a lot of replies to my own thread. Sorry for the noise. I just wanted to point out something I somehow failed to see as I was pretending to cook Thanksgiving dinner while working on this project (!!) -- my code does just fine producing overlays, which might be useful to

Re: [O] overlay showing computed value of macro?

2018-11-22 Thread Matt Price
On Thu, Nov 22, 2018 at 4:06 PM Matt Price wrote: > > > On Thu, Nov 22, 2018 at 1:19 PM Matt Price wrote: > >> It would be nice for me to overlay the macro invocations with the values >> that they will evaluate to on export. I guess I would have to figure out >>

Re: [O] overlay showing computed value of macro?

2018-11-22 Thread Matt Price
On Thu, Nov 22, 2018 at 1:19 PM Matt Price wrote: > It would be nice for me to overlay the macro invocations with the values > that they will evaluate to on export. I guess I would have to figure out > when to trigger recalculation of the values (maybe not too often, say only > wh

[O] don't always restore previous window configuration?

2018-11-22 Thread Matt Price
I've recently switched to using the current window for editing src blocks w ~(setq org-src-window-setup 'current=window)~. I like this a lot, and it lets me swtich rapidly back and forth between the parent buffer and source code. Often when I ma working I split some of hte other windows to

[O] overlay showing computed value of macro?

2018-11-22 Thread Matt Price
I use macros in my course syllabi to automate creation of timestamps It looksl ike this: # see bottom of this email for the defn of ~get-ts~ #+MACRO: ts (eval (get-ts+7)) ** Week {{{n}}} ({{{ts}}}): Time Scales in Rivers, Geology, and Human Relationships * Week {{{n}}} ({{{ts}}}): +READING

Re: [O] creating new #+KEYWORD: variables

2018-11-15 Thread Matt Price
On Sat, Nov 10, 2018 at 1:58 PM Nicolas Goaziou wrote: > Hello, > > John Kitchin writes: > > > You can retrieve keywords in the org-file like this: > > > > (defun get-keyword (key) > > (org-element-map (org-element-parse-buffer) 'keyword > > (lambda (k) > > (when (string= key

Re: [O] creating new #+KEYWORD: variables

2018-11-10 Thread Matt Price
On Sat, Nov 10, 2018 at 2:22 AM Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > I am writing this interface to my university's learning management > system: > > > https://github.com/titaniumbones/Org-Marking-Mode/tree/use-structured-course-def > .

[O] Writing Exporter Tests [was: slack syntax exporter/copier]

2018-11-09 Thread Matt Price
started on my own, so, once again, I appreciate any help you cna give! Thanks, Matt On Mon, Oct 22, 2018 at 9:02 PM Matt Price wrote: > > > On Mon, Oct 22, 2018 at 5:29 PM Neil Jerram > wrote: > >> Matt Price writes: >> >> > A while ago I asked about a slack s

Re: [O] creating new #+KEYWORD: variables

2018-11-09 Thread Matt Price
up, including the two functions, here: > https://github.com/zzamboni/dot-emacs/blob/master/init.org#publishing-to-leanpub > > Hope this helps! > > --Diego > > > > On Fri, Nov 9, 2018 at 4:33 AM Matt Price wrote: > >> I am writing this interface to my universit

[O] creating new #+KEYWORD: variables

2018-11-08 Thread Matt Price
I am writing this interface to my university's learning management system: https://github.com/titaniumbones/Org-Marking-Mode/tree/use-structured-course-def. I am only using hte exporting system tangentially and I have not defined a new exporter. However, I would really like to be able to set some

Re: [O] map function definitions to org src blocks?

2018-11-08 Thread Matt Price
orks on describe-function. That would be an interesting > addition perhaps. I guess though that describe-function would go to the > elisp code. I never figured out how to get links in the tangled code to > jump back to the org file though. > > On Thu, Nov 8, 2018 at 5:39 PM Matt Price wro

[O] map function definitions to org src blocks?

2018-11-08 Thread Matt Price
I feel like I saw someone do this but can't find it in my notes. When tangling code to elisp, is it possible to point ~describe-function~ to the original org-mode source (or at least the src block) as the "source code" for the function, rather than the resultant .e file produced by

[O] Org --> Canvas LMS

2018-11-06 Thread Matt Price
So, this really isn't ready for anyone else to use yet, but I've spent the last day or so exploring the API for the Canvas Learning Management System and adapting my grading system to interact with it. My results are rough and I think a little buggy (I'm worried about timeouts and how to manage

Re: [O] using flet to suppress meta generation in html export?

2018-11-06 Thread Matt Price
AH, THISI S SUPER-HELPFUL, aARON. MANY THANK. i'M HOPING THAT BY THE TIME i RETIRE i WILL BEGIN TO UNDERSTAND LEXICAL SCOPING IN LISP... On Tue, Nov 6, 2018 at 10:35 AM Aaron Ecay wrote: > Hi Matt, > > 2018ko azaroak 6an, Matt Price-ek idatzi zuen: > > > > Hi, > > &

[O] using flet to suppress meta generation in html export?

2018-11-06 Thread Matt Price
Hi, I was writing a function to quickly post the ocntents of subtrees to the Canvas Learning Management System. I was trying to strip down the exported HTML to an absolute minimum and had forgotten about the body-only paramter to org-export-as (!!). So, my solution was to try to rebind

Re: [O] getting close on latex letterheads [was: letterhead and signature in odt export]

2018-11-01 Thread Matt Price
On Thu, Nov 1, 2018 at 9:58 AM Eric S Fraga wrote: > Cannot help you on this but I did enjoy reading the references for the > students! :-) > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.1.11-620-ga548e4 > Having @ckelty on the CC: list inspires me no end.

Re: [O] Best way to process a collection of .org files as one?

2018-11-01 Thread Matt Price
This isn't really an answer to your question, but I keep all my lectures for each course in a single file, then export subtrees when I need them. For me, this works well. I have recently started using a -dwim export scope based on Kaushal's org-hugo-export-dwim functions. But... I seem to have

[O] getting close on latex letterheads [was: letterhead and signature in odt export]

2018-11-01 Thread Matt Price
OK, so I'm getting close to being able to do this. My almost-working example doc is at the bottom of this email, I have a question about suppressing the headline text. On Tue, Oct 30, 2018 at 11:50 PM ckelty ckelty wrote: > Matt, > > > > On Oct 30, 2018, at 6:26 PM, Ma

Re: [O] letterhead and signature in odt export

2018-10-30 Thread Matt Price
letterhead. Which, I realize, is just a bunch of words written i nHelvetica with a picture of a beaver next to it. #+STARTUP: indent #+LANGUAGE: en #+OPTIONS: num:nil toc:nil ':t #+AUTHOR: Matt Price #+EMAIL: Your Email Here #+LATEX_HEADER: \usepackage[utf8]{inputenc} #+LATEX_HEADER: \usepackage[T1

Re: [O] letterhead and signature in odt export

2018-10-30 Thread Matt Price
Hi again Chris! OK, so I understand a little bit of this. I would like to keep all my letters in subheadings in a single org doc, and just export once. This version requires a fair amount of latex in every subtree. It would be nicer if the exporter just took care of the latex for me and I didn't

Re: [O] letterhead and signature in odt export

2018-10-30 Thread Matt Price
On Tue, Oct 30, 2018 at 5:41 PM Tim Cross wrote: > > I've never delved into the XML nightmare that is ODT and stick with > latex/PDF export. > > Here is how I handled needing to have a logo and banner at the top of my > documents. Essentially, it involves using the Latex 'minipage' > environment

Re: [O] letterhead and signature in odt export

2018-10-30 Thread Matt Price
On Tue, Oct 30, 2018 at 2:54 AM Eric S Fraga wrote: > On Tuesday, 30 Oct 2018 at 01:55, Matt Price wrote: > > in North America it's letter-of-reference season for professors, and I am > > writing a lot of them. > > I sympathise fully :) > > > These are some of the

[O] letterhead and signature in odt export

2018-10-29 Thread Matt Price
in North America it's letter-of-reference season for professors, and I am writing a lot of them. These are some of the only documents I still compose in libreoffice, because I need to use a letterhead that contains both image and text, and I need to insert a .png of my signature near the bottom.

[O] org-mime with recent versions of org and emacs

2018-10-25 Thread Matt Price
nd emacs. I'd love to hear comments from others. On Sun, Oct 21, 2018 at 10:04 PM Matt Price wrote: > I'm having a whole bunch of trouble getting org-mime to work, and I > wondered ifo ther people are using it productively? > > Two biggest issues so far, both reproduced with emacs -Q o

Re: [O] electric-pair, autopair, smartparens, etc in org-mode

2018-10-24 Thread Matt Price
Eric, you seem to be replying to an email that I sometimes don't have -- I would love to see what @stardiviner wrote, do you stil lhave the email? On Tue, Oct 23, 2018 at 9:12 AM Eric S Fraga wrote: > On Tuesday, 23 Oct 2018 at 19:48, stardiviner wrote: > > This is really helpful for me, I use

Re: [O] access a let* value whe ndefining a function?

2018-10-24 Thread Matt Price
On Tue, Oct 23, 2018 at 4:34 PM John Kitchin wrote: > > Matt Price writes: > > > On Tue, Oct 23, 2018 at 2:32 PM John Kitchin > > wrote: > > > >> I think that what you really want to do here is modify org-mime-compose > so > >> that you c

Re: [O] access a let* value whe ndefining a function?

2018-10-23 Thread Matt Price
On Tue, Oct 23, 2018 at 3:38 PM Matt Price wrote: > > > On Tue, Oct 23, 2018 at 2:32 PM John Kitchin > wrote: > >> I think that what you really want to do here is modify org-mime-compose >> so that you can use the send-actions argument to message-mail.

Re: [O] access a let* value whe ndefining a function?

2018-10-23 Thread Matt Price
ocmmas even now. > John > > --- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.chem

[O] access a let* value whe ndefining a function?

2018-10-23 Thread Matt Price
Hey, I guess this is OT. I'm trying to advice org-mime-org-buffer-htmlize so that it returns to the org buffer when its done. I want to do something like this: (let ((thisbuffer (current-buffer)) (advice-add 'mu4e-sent-handler :after (lambda (docid props)

Re: [O] slack syntax exporter/copier

2018-10-22 Thread Matt Price
On Mon, Oct 22, 2018 at 5:29 PM Neil Jerram wrote: > Matt Price writes: > > > A while ago I asked about a slack syntax exporter. I cpy text from org > to > > slack often enough that I spent an hour or two today writing a simple > one, > > which I put up in a gis

[O] slack syntax exporter/copier

2018-10-22 Thread Matt Price
A while ago I asked about a slack syntax exporter. I cpy text from org to slack often enough that I spent an hour or two today writing a simple one, which I put up in a gist: https://gist.github.com/titaniumbones/c0c171e4df8a6ff5f0f564b8a655c079 If people are interested, I will be happy to

[O] lots of trouble w/ org-mime...

2018-10-21 Thread Matt Price
I'm having a whole bunch of trouble getting org-mime to work, and I wondered ifo ther people are using it productively? Two biggest issues so far, both reproduced with emacs -Q on recent emacs git, org-mode git, and org-mime git: - org-mime-org-subtree-htmlize fails for me with

Re: [O] electric-pair, autopair, smartparens, etc in org-mode

2018-10-21 Thread Matt Price
(c) (and (eq ?\[ c) (eq major-mode 'org-mode)) This works fine, though I'd still like the other :-/ Thanks Nicholas! On Sun, Oct 21, 2018 at 3:28 AM Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > - electric-pair and autopair complete [[ immediately, and do

[O] electric-pair, autopair, smartparens, etc in org-mode

2018-10-20 Thread Matt Price
Hi eveyrone, I'm just wondering what tools other people use to manage paired parentheses and other markers in org. I'm revisiting my long-ago decision to turn all pairing tools off in org, but every tool I try is pretty frustrating out of the box: - smartparens steals a large number of really

Re: [O] use-package and "Error Autoloading file"

2018-10-17 Thread Matt Price
oh jeez, this was a trivial fix: :mode "\\.org" . ;; ---> :mode ("\\.org" . org-mode) Sorry for the noise, hope that maybe someone benefits from my stupidity! On Wed, Oct 17, 2018 at 11:53 AM Matt Price wrote: > Hello everyone, > > I'm trying to swit

[O] use-package and "Error Autoloading file"

2018-10-17 Thread Matt Price
Hello everyone, I'm trying to switch my config over to use-package and running into an issue with org. Most of my init file seems to be org-related (!), so I won't post the whole thing, but will try to summarize. I've also posted a bug report to the use-package repo (

[O] ox-hugo-like "DWIM" cope for other exporters?

2018-09-27 Thread Matt Price
Kaushal's ox-hugo includes a "Do what I mean" scope which is different from other exporters I've seen. It goes up the heading tree looking for a heading with the "export_file_name" property set, and exports from there, or if it doesn't find one, from the whole file. The code is here:

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

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

[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

[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

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'

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

2018-04-15 Thread Matt Price
hemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > On Fri, Apr 13, 2018 at 7:38 AM, Marcin Borkowski <mb...@mbork.pl> wrote: > >> >> On 2018-04-13, at 15:14, Matt Pric

[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

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

  1   2   3   4   5   6   >