Re: [O] [PATCH] allow klipse export in html

2017-03-21 Thread Matt Price
Hi Bastien, checking again to see if there's any movement on this. I can also repatch against master. m On Thu, Mar 9, 2017 at 10:18 AM, Matt Price wrote: > Hi Bastien, > > Just pinging on this. If the answer is no, that's fine; otherwise I'd love > to get this

Re: [O] "wrong=type-argument listp" on publish

2017-03-14 Thread Matt Price
On Mon, Mar 6, 2017 at 3:51 PM, Nick Dokos wrote: > Matt Price writes: > > > Anyone else getting this? I'm unable to publish. I don't see what is > unlist-like about the first > > argument to plist-put. > > -- > > Debugger entered--Lisp

Re: [O] [PATCH] allow klipse export in html

2017-03-09 Thread Matt Price
Hi Bastien, Just pinging on this. If the answer is no, that's fine; otherwise I'd love to get this merged so I can stop monkey-patching every time I update org :-) On Mon, Jan 30, 2017 at 11:04 PM, Matt Price wrote: > Hi Bastien, I thought I'd just check in on this again

[O] "wrong=type-argument listp" on publish

2017-03-06 Thread Matt Price
Anyone else getting this? I'm unable to publish. I don't see what is unlist-like about the first argument to plist-put. -- Debugger entered--Lisp error: (wrong-type-argument listp (:base-directory "~/RLG231/Lectures/" :base-extension "org" :publishing-directory "/ssh:matt@shimano:/var/

[O] org-annotate/collaboration?

2017-02-08 Thread Matt Price
Does anyone use org-annotate actively? I'm wondering what your workflow is, how you incorporate comments, etc. I'm hoping to embark on a book project with a colleague. I would like to use org-mode if I can, but I need to get a sense of the collaboration workflow. When you work on projects together

Re: [O] extra paragraph in image export?

2017-01-25 Thread Matt Price
(I totally misread the patch, sorry. duh.) On Wed, Jan 25, 2017 at 11:59 AM, Nicolas Goaziou wrote: > Hello, > > Rasmus writes: > > >> So would the following patch fix the issue? > > > > Looks fine to me. > > > > Thanks! > > Applied. Thank you. > > Regards, > > -- > Nicolas Goaziou > >

Re: [O] extra paragraph in image export?

2017-01-24 Thread Matt Price
On Tue, Jan 24, 2017 at 4:27 PM, Nicolas Goaziou wrote: > Hello, > > Rasmus writes: > > > I'm not an expert of HTML either. However, the "p" tag inside the > > "figure" is uncommon looking a bit on the example usages online. Thus, I > > agree with Matt that it should probably not be there. > >

Re: [O] extra paragraph in image export?

2017-01-24 Thread Matt Price
On Tue, Jan 24, 2017 at 4:27 PM, Nicolas Goaziou wrote: > Hello, > > Rasmus writes: > > > I'm not an expert of HTML either. However, the "p" tag inside the > > "figure" is uncommon looking a bit on the example usages online. Thus, I > > agree with Matt that it should probably not be there. > >

Re: [O] VM for org-based reproducible environment?

2017-01-24 Thread Matt Price
en heard of guix, it looks intriguing, thanks. On Tue, Jan 24, 2017 at 4:19 AM, Rasmus wrote: > Matt Price writes: > > > I'd like to provide a way for people to copy my course materials in the > > easiest possible way. At present my export & grading processes re

[O] VM for org-based reproducible environment?

2017-01-23 Thread Matt Price
I'd like to provide a way for people to copy my course materials in the easiest possible way. At present my export & grading processes rely on some customization of various tools, mostly emacs-based. So I'm thinking the easiest thing might be fore me to define a virtual machine, maybe docker-based,

Re: [O] extra paragraph in image export?

2017-01-21 Thread Matt Price
On Sat, Jan 21, 2017 at 11:26 AM, Matt Price wrote: > with org-html-html5-fancy is non-nil, images are exported with something > like this code: > > > https://imgs.xkcd.com/comics/proof_2x.png"; > alt="proof_2x.png" class="fragment (appear) visible curr

[O] extra paragraph in image export?

2017-01-21 Thread Matt Price
with org-html-html5-fancy is non-nil, images are exported with something like this code: https://imgs.xkcd.com/comics/proof_2x.png"; alt="proof_2x.png" class="fragment (appear) visible current-fragment" data-fragment-index="0"> At least in ox-reveal, this makes it quite difficult to address im

Re: [O] org-get-heading and COMMENT

2017-01-18 Thread Matt Price
:-) I look forward to seeing the improved version -- mine felt very cumbersome! On Wed, Jan 18, 2017 at 6:31 PM, Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > Sorry for the delay. I am very slow with regexps! > > No problem. I refactored your patch and

Re: [O] org-get-heading and COMMENT

2017-01-17 Thread Matt Price
Sorry for the delay. I am very slow with regexps! On Sat, Jan 14, 2017 at 6:04 AM, Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > I see that > > > > (org-get-heading t t) > > > > executed on a heading like: > > > > * COMMENT

Re: [O] org-mime: improve handling of cc & bcc

2017-01-12 Thread Matt Price
u. >> >> Could you send it again using git format-patch and with a proper commit >> message? >> >> Regards, >> >> -- >> Nicolas Goaziou >> >> -- > > Kaushal Modi > From ca4dfa5e5a83fe7243affbf7e34a1435cbc5b00a Mon Sep 17 00:00

[O] org-mime: improve handling of cc & bcc

2017-01-11 Thread Matt Price
I have been having some trouble with org-mime & mu4e (iv cc & bcc are empty, then buffer creation fails), and this patch seems to have fixed it. Not 100% sure that this is really the origin of the problem but it fixed an issue for me. diff --git a/contrib/lisp/org-mime.el b/contrib/lisp/org-mime.el

[O] org-get-heading and COMMENT

2017-01-11 Thread Matt Price
I see that (org-get-heading t t) executed on a heading like: * COMMENT Heading Title returns: COMMENT Heading Title Should there be a third switch, something like NO-COMMENT? Or should I maybe be using the org-element API instead? I'm just trying to generate custom id's from headline text + a

[O] [OT] buffer or frame locale color-theme settings?

2017-01-11 Thread Matt Price
Shoot, I've just updated my emacs and and I guess I can no longer set frame-local color themes, a it says in NEWS: ** Some obsolete functions, variables, and faces have been removed: *** make-variable-frame-local. Variables cannot be frame-local any more. Does anyone else rely on multiple color

Re: [O] strange results with org-map-entries

2017-01-11 Thread Matt Price
On Tue, Jan 10, 2017 at 7:34 PM, Matt Price wrote: > > > On Tue, Jan 10, 2017 at 6:58 PM, Nicolas Goaziou > wrote: > >> Hello, >> >> Matt Price writes: >> >> > What's going on here? Can anyone else reproduce this? I'm seeing it on >

Re: [O] strange results with org-map-entries

2017-01-10 Thread Matt Price
On Tue, Jan 10, 2017 at 6:58 PM, Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > What's going on here? Can anyone else reproduce this? I'm seeing it on > org > > 9.0.3 up to date as of today, emacs git from 2017-01-04. > > You mark a regio

Re: [O] "COMMENT" keyword not properly documented in the manual

2017-01-10 Thread Matt Price
On Sun, Jan 8, 2017 at 6:51 PM, Nicolas Goaziou wrote: > Hello, > > alain.coch...@unistra.fr writes: > > > Unaware that "COMMENT" was a specific org string, > > It is special only at the beginning of a headline (but past TODO keyword > and priority cookie, if any). > > > I had used it at the begi

[O] strange results with org-map-entries

2017-01-10 Thread Matt Price
On Tue, Jan 10, 2017 at 9:47 AM, Matt Price wrote: > > In a buffer with text before the first heading, I get an error using > org-map-entries in this function: > > (defun org-export-all (backend) > "Export all subtrees that are *not* tagged with :noexport: to > sep

[O] org-map-entries with 'region-start-level in a buffer with header text

2017-01-10 Thread Matt Price
In a buffer with text before the first heading, I get an error using org-map-entries in this function: (defun org-export-all (backend) "Export all subtrees that are *not* tagged with :noexport: to separate files. Note that subtrees must have the :EXPORT_FILE_NAME: property set to a unique value

Re: [O] publishing subtrees

2017-01-09 Thread Matt Price
On Sun, Jan 8, 2017 at 9:48 PM, Joon Ro wrote: > > In my course repositories, I have all my lecture notes in one file, and > all my assignments in another. So they have the form > > > > * Lecture 1 > > ** Slide 1 > > ** Slide 2 > > * Lecture 2 ... > > > > * Assignment 1 > > ** Description > > **

[O] publishing subtrees

2017-01-06 Thread Matt Price
In my course repositories, I have all my lecture notes in one file, and all my assignments in another. So they have the form * Lecture 1 ** Slide 1 ** Slide 2 * Lecture 2 ... * Assignment 1 ** Description ** Rubric * Assignment 2... I'd like to have publishing functions that, say, export all fi

Re: [O] org-ref: citation types (insert full citation); bib style; bib scope

2017-01-06 Thread Matt Price
Wow, this is pretty awesome, thank you. A couple of notes inline On Fri, Jan 6, 2017 at 3:42 PM, John Kitchin wrote: > > New org-ref update ;) > > I overhauled the formatted citation support in org-ref today. > > Now, you can do the following things: > > 1. from the C-c ] interface (helm-bibtex,

Re: [O] org-ref: citation types (insert full citation); bib style; bib scope

2017-01-06 Thread Matt Price
On Fri, Jan 6, 2017 at 10:26 AM, John Kitchin wrote: > > Matt Price writes: > > > After several years, I'm finally trying to move to bibtex from zotero, > > partly because org-zotxt has stopped working for me (both link insertion > > and html export seem at least

Re: [O] transcluding some org-elements in multiple places

2017-01-06 Thread Matt Price
the link with the content it points to. > > John > > On Thu, Jan 5, 2017 at 9:17 PM, Matt Price wrote: > >> >> Would be cool to somehow include in export. But that's a little too hard >> for me to think about. This is already pretty good. Thank you! >> >> > >

[O] org-ref: citation types (insert full citation); bib style; bib scope

2017-01-06 Thread Matt Price
After several years, I'm finally trying to move to bibtex from zotero, partly because org-zotxt has stopped working for me (both link insertion and html export seem at least temporarily broken). The UI for org-ref is pretty fantastic, and I love it. I'm having trouble getting the behaviour I want

Re: [O] transcluding some org-elements in multiple places

2017-01-05 Thread Matt Price
On Thu, Jan 5, 2017 at 7:30 PM, John Kitchin wrote: > I didn't test it with other files, and it does not seem to work with > them. For some reason (org-open-link-from-string path) does not seem to > actually open the file at path. I am not sure why, since the follow code > works just fine. > > He

Re: [O] transcluding some org-elements in multiple places

2017-01-05 Thread Matt Price
On Wed, Dec 14, 2016 at 11:55 AM, John Kitchin wrote: > > David Talmage writes: > > > On Fri, Dec 9, 2016 at 11:28 AM, Eric S Fraga wrote: > > > >> On Friday, 9 Dec 2016 at 15:29, John Kitchin wrote: > >> > Hi all, > >> > > >> > I have an idea for how I could transclude "copies" or links to > >

Re: [O] "cannot Revert nonexistent file" on odt export

2017-01-02 Thread Matt Price
Please ignore the noise. I had added the odt template to the file to be exported; it included the following line: #+ODT_STYLES_FILE: Which I guess overrode my setting for odt_styles_dir. solved. On Mon, Jan 2, 2017 at 8:59 PM, Matt Price wrote: > I tried and then reverted a very sim

[O] "cannot Revert nonexistent file" on odt export

2017-01-02 Thread Matt Price
I tried and then reverted a very simple change ot ox-odt.el -- I wanted to export a unicode symbol instead of [ ] for an empty checkbox. After this, odt export fails mysteriously with the following: Wrote /tmp/odt-3348W1J/meta.xml Using vacuous schema OpenDocument export failed: Cann

Re: [O] transcluding some org-elements in multiple places

2016-12-16 Thread Matt Price
On Thu, Dec 15, 2016 at 7:26 PM, Matt Price wrote: > Replying only to say that I think both the name and the idea are brilliant. > > In fact am in the middle of a very hectic time trying to write stuff up and if I had transclusion available right now it would be BRILLIANT. Instead res

Re: [O] [PATCH] allow klipse export in html

2016-12-16 Thread Matt Price
On Fri, Dec 16, 2016 at 12:34 AM, Yehonathan Sharvit wrote: > > > On Thu, Dec 15, 2016 at 5:35 PM, Bastien Guerry wrote: > >> Hi Matt, >> >> thanks for the new patch! >> >> Before applying it (and working further on it), I suggest we wait for >> Yehonathan's feedback on making klipse.js librejs-

Re: [O] transcluding some org-elements in multiple places

2016-12-15 Thread Matt Price
Replying only to say that I think both the name and the idea are brilliant.

Re: [O] allow live execution of code snippets in html export

2016-12-15 Thread Matt Price
On Thu, Dec 15, 2016 at 5:07 AM, Bastien wrote: > Hi Matt, > > Matt Price writes: > > > Would we need a switch to permit the old syntax for people with > > complex setups who don't want to change? > > Yes. We need to be more careful on being backward compatib

Re: [O] [PATCH] allow klipse export in html

2016-12-15 Thread Matt Price
(actually attaching the patch) (seemed silly to have a whole bunch of tiny patches but can resubmit as a series if that's preferred). On Thu, Dec 15, 2016 at 9:42 AM, Matt Price wrote: > > > On Thu, Dec 15, 2016 at 8:39 AM, Nicolas Goaziou > wrote: > >> Hello

Re: [O] [PATCH] allow klipse export in html

2016-12-15 Thread Matt Price
On Thu, Dec 15, 2016 at 9:50 AM, Kaushal Modi wrote: > On Thu, Dec 15, 2016, 8:14 PM Matt Price wrote: > >> >> I took a look at org.texi but my understanding of texi syntax is very >> poor and I don't think I have time to learn today. >> > > Why not wri

Re: [O] [PATCH] allow klipse export in html

2016-12-15 Thread Matt Price
On Thu, Dec 15, 2016 at 8:39 AM, Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > I'm such a slow coder that this is all I got to in my free moments > > today:patch for defcustoms that inserts the necessary code into a src > > block. further re

Re: [O] allow live execution of code snippets in html export

2016-12-14 Thread Matt Price
On Wed, Dec 14, 2016 at 5:36 AM, Bastien Guerry wrote: > That said, I think we can take this opportunity to slightly improve > how ox-html handles source code: > > - why only and not ? > Would we need a switch to permit the old syntax for people with complex setups who don't want to change? >

Re: [O] [PATCH] allow klipse export in html

2016-12-14 Thread Matt Price
And this second patch adds support for html rendering with klipse. The default CSS leaves a little to be desired! On Wed, Dec 14, 2016 at 5:44 PM, Matt Price wrote: > > I'm such a slow coder that this is all I got to in my free moments > today:patch for defcustoms that inserts

[O] [PATCH] allow klipse export in html

2016-12-14 Thread Matt Price
2016 at 12:55 PM, Matt Price wrote: > > > > On Wed, Dec 14, 2016 at 5:06 AM, Rasmus wrote: > >> >> I don’t know if much more support is needed. We add some automatic >> configuration scripting or add a per-block switch for enabling klipse. >> >>

Re: [O] allow live execution of code snippets in html export

2016-12-14 Thread Matt Price
On Wed, Dec 14, 2016 at 5:06 AM, Rasmus wrote: > Hi all, > > >> It might be worth investigating whether you can just run Klipse on > >> blocks as that would potentially make it backward compatible. > >> Potentially, an extension to Klipse that recognizes Org src blocks (in > >> html) might be ni

[O] allow live execution of code snippets in html export

2016-12-13 Thread Matt Price
In other threads I've been describing a method to allow live code snippets to be embedded in reveal.js export, using klipse ( https://github.com/viebel/klipse). I have to say it feels somewhat transformative to me, and I wonder if it would be worth integrating into ox-html. I'd be happy to hack t

[O] Fwd: including external file in src block execution; ATTR_HTML on src blocks

2016-12-13 Thread Matt Price
(sent to Charles direcly by mistake. Charles, this resend gave me the chance to modify my response) On Mon, Dec 12, 2016 at 10:52 PM, Charles C. Berry wrote: > On Mon, 12 Dec 2016, Matt Price wrote: > > On Mon, Dec 12, 2016 at 12:16 PM, Charles C. Berry >> wrote: >> >>

Re: [O] including external file in src block execution; ATTR_HTML on src blocks

2016-12-12 Thread Matt Price
On Mon, Dec 12, 2016 at 12:16 PM, Charles C. Berry wrote: > On Mon, 12 Dec 2016, Matt Price wrote: > > > [snip] > > >> My questions are: >> 1. can I pass this html attribute to the block somehow? >> > > Yes. > > ATTR_HTML doesn't seem to w

[O] including external file in src block execution; ATTR_HTML on src blocks

2016-12-12 Thread Matt Price
I use org to write my lecture notes, and have started using klipse in those exported notes to execute code snippets in a browser environment ( http://matt.hackinghistory.ca/2016/12/11/org-mode-run-code-live-in-a-reveal-slideshow-with-klipse/ ). Sometimes I would like to set up the javascript enviro

Re: [O] setting a custom flag for src blocks

2016-12-11 Thread Matt Price
r any other ones. Thanks as always to all readers and commentators! On Sun, Dec 11, 2016 at 12:19 AM, Charles C. Berry wrote: > On Sat, 10 Dec 2016, Matt Price wrote: > > On Sat, Dec 10, 2016 at 12:19 AM, Matt Price wrote: >> >> >>> >>> On Fri, Dec 9, 2016

[O] setting a custom flag for src blocks

2016-12-10 Thread Matt Price
On Sat, Dec 10, 2016 at 12:19 AM, Matt Price wrote: > > > On Fri, Dec 9, 2016 at 12:19 PM, Eric S Fraga wrote: > >> On Friday, 9 Dec 2016 at 16:42, Matt Price wrote: >> > I think I am getting closer, actually (details soon, when I have a >> > fully working

Re: [O] teaching with live-updating code examples

2016-12-09 Thread Matt Price
On Fri, Dec 9, 2016 at 12:19 PM, Eric S Fraga wrote: > On Friday, 9 Dec 2016 at 16:42, Matt Price wrote: > > I think I am getting closer, actually (details soon, when I have a > > fully working solution)). > > I look forward to seeing it! > OK, I've run into the l

Re: [O] teaching with live-updating code examples

2016-12-09 Thread Matt Price
Thanks, Eric. On Fri, Dec 9, 2016 at 12:19 PM, Eric S Fraga wrote: > On Friday, 9 Dec 2016 at 16:42, Matt Price wrote: > > I think I am getting closer, actually (details soon, when I have a > > fully working solution)). > > I look forward to seeing it! > > >

Re: [O] teaching with live-updating code examples

2016-12-09 Thread Matt Price
On Fri, Dec 9, 2016 at 1:33 AM, Eric S Fraga wrote: > On Thursday, 8 Dec 2016 at 18:07, Matt Price wrote: > > I am preparing a set of lectures for a class teaching HTML, CSS, and > > javascript ot humanities students. > > > > I would like to have slides with a sim

[O] teaching with live-updating code examples

2016-12-08 Thread Matt Price
I am preparing a set of lectures for a class teaching HTML, CSS, and javascript ot humanities students. I would like to have slides with a simple code editor on one side, and the results of the code on another: | [1,2,3].map

Re: [O] fuzzy matching of parameters

2016-12-03 Thread Matt Price
not find an exact match, e.g. using helm or ivy to > select the files for attachment, perhaps sorted and matched using their > fuzzy algorithms. > > > > Matt Price writes: > > > I have just done something I'm very excited about. Given a directory > name > >

[O] fuzzy matching of parameters

2016-12-01 Thread Matt Price
I have just done something I'm very excited about. Given a directory name (the variable ~assignment~ in this case) and a list of student info, search through the directory for files whose names contain the student names, and attach those to newly created subtrees. Before now, manually attaching t

[O] dynamically set face [was: semi-visible stars?]

2016-12-01 Thread Matt Price
On Thu, Dec 1, 2016 at 10:22 AM, Matt Price wrote: > > > On Wed, Nov 30, 2016 at 3:41 PM, Matt Price wrote: > >> I have been fooling around a little bit with color-themes and also the >> new emacs 24+ custom themes, and find that (perhaps because of using >> d

Re: [O] Citation syntax: now supported in Pandoc

2016-12-01 Thread Matt Price
Richard, is wip-cite up to date with recent git versions of org-mode? I'd like ot try it out but would rather not go back to a pre-9.0 version or org, having done a certain amount of work to update to the new framework... Thanks! On Thu, Dec 1, 2016 at 8:51 AM, Julian M. Burgos wrote: > This is

Re: [O] semi-visible stars?

2016-12-01 Thread Matt Price
On Wed, Nov 30, 2016 at 3:41 PM, Matt Price wrote: > I have been fooling around a little bit with color-themes and also the new > emacs 24+ custom themes, and find that (perhaps because of using > desktop-mode) there are certain traces of the theming that get left behind > in the

Re: [O] saving outgoing mail from org-mime

2016-11-30 Thread Matt Price
user-agent) plus a small change to an internal function in mu4e-compose.el On Fri, Oct 28, 2016 at 9:29 PM, Matt Price wrote: > I've been using org-mime for a while but now that I have mu4e up and > running I would like to save the outgoing mails sent but message-mode to > the default

Re: [O] replying to emai with org-mode syntax in mu4e

2016-11-17 Thread Matt Price
ng off hte hook and applying the above hook fixed my issue. Added a couple of keybindings and now everything works! On Thu, Nov 17, 2016 at 8:42 PM, Matt Price wrote: > > > On Thu, Nov 17, 2016 at 1:10 PM, Matt Price wrote: > >> Hey everyone, I am definitely still seeing this p

Re: [O] replying to emai with org-mode syntax in mu4e

2016-11-17 Thread Matt Price
On Thu, Nov 17, 2016 at 1:10 PM, Matt Price wrote: > Hey everyone, I am definitely still seeing this problem; I just sent a new > email to the mu list to see if anyone there has the same issue. Google > groups link is here: > https://groups.google.com/forum/#!topic/mu-discuss/Hvl9w

Re: [O] replying to emai with org-mode syntax in mu4e

2016-11-17 Thread Matt Price
ocnfig I'd be grateful to hear about it. Thanks! On Tue, Nov 1, 2016 at 2:13 PM, Matt Price wrote: > OK, I will try -- doesn't immediatley seem to work but I may have some > crud kicking around my config that I need to get rid of. > > With both your orgmime and the standard lib

Re: [O] current, working org-protocol bookmarklet for firefox?

2016-11-17 Thread Matt Price
try to find some time to build a more flexible interface into the plugin -- I have to say I love the org community sometimes it's quite a revelation. On Tue, Nov 15, 2016 at 5:51 PM, Marco Wahl wrote: > Matt Price writes: > > > Does anyone have a current, working org-protocol

[O] current, working org-protocol bookmarklet for firefox?

2016-11-15 Thread Matt Price
Does anyone have a current, working org-protocol bookmarklet that will capture webpage+document title either in store link format [[Document title][http://some.url]] or in a more complex capture template? I have tried various things including the firefox plugin and am not having a lot of success.

Re: [O] html-email in org-mode

2016-11-04 Thread Matt Price
are 'fetchmail', 'getmail' ;; isync or your own shellscript. called when 'U' is pressed in ;; main view. ;; If you get your mail without an explicit command, ;; use "true" for the command (this is the default) (setq mu4e-get-mail-command "offlineimap"

Re: [O] Release 9.0

2016-11-04 Thread Matt Price
One more thank you -- I went through the changelog and man there is a lot of new stuff. Always a thrill. Thanks folks.

Re: [O] replying to emai with org-mode syntax in mu4e

2016-10-28 Thread Matt Price
On Fri, Oct 28, 2016 at 7:48 PM, Thibault Marin wrote: > > It looks like you may be looking for `org-mu4e-compose-org-mode'. > > Hmm, just tested it, andthe message I sent didn't seem to get ocnverted to html. And I found this on github: https://github.com/djcb/mu/issues/392

[O] saving outgoing mail from org-mime

2016-10-28 Thread Matt Price
I've been using org-mime for a while but now that I have mu4e up and running I would like to save the outgoing mails sent but message-mode to the default mu4e sent folder (which is in a Maildir). Is there a straightforward way to do this?

Re: [O] replying to emai with org-mode syntax in mu4e

2016-10-28 Thread Matt Price
On Fri, Oct 28, 2016 at 7:48 PM, Thibault Marin wrote: > > It looks like you may be looking for `org-mu4e-compose-org-mode'. > duh... Thank you. So, if I want this to be on by default, do you happen to know where I should add a hook? Really appreciate the help, m

[O] replying to emai with org-mode syntax in mu4e

2016-10-28 Thread Matt Price
I've just switched to mu4e. It's unbelievably great, thank you everyone who's recommended it over the years. However, I would like to compose my replies in org-mode and send them out as HTML. I guess the older tools for doing this are officially deprecated. Nonetheless, does anyone use them? Woul

[O] html export with editable/runnable js src blocks?

2016-10-27 Thread Matt Price
I feel like I've seen people do this before but my search today did not turn up a working example online. I'd like to be able to export to html (and by extension, to a blog or a reveal.js presentation) and have my source code blocks -- at leas t the javascript ones -- placed in an editing environme

Re: [O] apply attr_html to a whole figure?

2016-09-22 Thread Matt Price
On Thu, Sep 22, 2016 at 5:50 AM, Eric Abrahamsen wrote: > Matt Price writes: > > > When exporting images with captions, ox-html currently creates a > > strucuture like this: > > > > > > > > > > Figure 1: "test" > > > >

Re: [O] apply attr_html to a whole figure?

2016-09-22 Thread Matt Price
On Thu, Sep 22, 2016 at 3:09 AM, Christian Moe wrote: > > I don't think Org syntax provides any way to do this at present, but > ignore the rest of this message if anyone knows better. > > Possible workarounds: > > 1. Wrap your figure in a #+BEGIN_ADDITIONALCLASS...#+END_ADDITIONALCLASS > block,

[O] apply attr_html to a whole figure?

2016-09-21 Thread Matt Price
When exporting images with captions, ox-html currently creates a strucuture like this: Figure 1: "test" (I've tried setting org-html-html5-fancy" to t, but for whatever reason this doesn't result in the useo f the tag. I tried with emacs -q with no luck). I would like to be able to give an

Re: [O] org-file-apps settings?

2016-09-16 Thread Matt Price
") ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default)) I don't undertand why this would work while the others don't. Of course, this is a pretty lousy workaround since now everything opens in libreoffice by d

[O] duration without hours?

2016-09-15 Thread Matt Price
I have a silly table I am planning to use to teach myself a little bit about R; it contains durations measured in minutes and seconds: * Kayaking Log | 500m Trial | <2016-09-14 Wed> | <2016-09-15 Thu> | Mean | |+--+--+--| | 1 |

[O] org-file-apps settings?

2016-09-15 Thread Matt Price
hi Everyone, I have been through this a million times, but I never seem to remember, and have a hard time finding the answer online or in my archives. On a Linux system, how should I set org-file-apps to allow org to open odt files in libreoffice, html files in Firefox, and pdf files in evince (es

Re: [O] modifying/deleting ovelrays; also, un-sparsifying tree?

2016-07-29 Thread Matt Price
On Fri, Jul 29, 2016 at 11:31 AM, Matt Price wrote: > > > On Fri, Jul 29, 2016 at 10:46 AM, Nicolas Goaziou > wrote: > >> Matt Price writes: >> >> > In my gradesheets I use overlays to display the grade property in >> headlines >> > --

Re: [O] modifying/deleting ovelrays; also, un-sparsifying tree?

2016-07-29 Thread Matt Price
On Fri, Jul 29, 2016 at 10:46 AM, Nicolas Goaziou wrote: > Matt Price writes: > > > In my gradesheets I use overlays to display the grade property in > headlines > > -- that way I can see at a glance approximately how my students are > doing: > > > > ;; sti

[O] modifying/deleting ovelrays; also, un-sparsifying tree?

2016-07-29 Thread Matt Price
In my gradesheets I use overlays to display the grade property in headlines -- that way I can see at a glance approximately how my students are doing: ;; still imperfect, but good enough for me. (defun org-grading-overlay-headings () "Show grades at end of headlines that have a 'GRADE' property.

Re: [O] two basic elisp questions

2016-07-29 Thread Matt Price
On Sat, Jul 23, 2016 at 1:24 AM, Michael Welle wrote: > Hello, > > Matt Price writes: > > > On Fri, Jul 22, 2016 at 1:54 PM, Michael Welle > wrote: > > > >> Hello, > >> > >> Matt Price writes: > >> > >> > On Fri, Jul

Re: [O] two basic elisp questions

2016-07-22 Thread Matt Price
On Fri, Jul 22, 2016 at 1:54 PM, Michael Welle wrote: > Hello, > > Matt Price writes: > > > On Fri, Jul 22, 2016 at 11:38 AM, Matt Price wrote: > > > >> > >> (2) Is it possible to set the default value for interactive file > selection > >>

Re: [O] two basic elisp questions

2016-07-22 Thread Matt Price
On Fri, Jul 22, 2016 at 11:38 AM, Matt Price wrote: > > (2) Is it possible to set the default value for interactive file selection > to something OTHER than the currect directory of the current buffer? > Something like: > > (let > ((base-dir "./Assignment1/")) &g

[O] two basic elisp questions

2016-07-22 Thread Matt Price
(1) can I interactively call an e lisp function like "org-set-property" and provide a single argument to it even if it expects 2, e.g.: (call-interactively 'org-set-protertyt (vector "GRADE" ))? (I don't seem to be able to pass ANY arguments via call-interactively so maybe I misunderstand something

[O] get current headline?

2016-02-19 Thread Matt Price
I feel like I should know how to do this -- how od I retrieve the current headline as an org-element object? context: I want to take a headline like this ** Jane Doe - demonstrates an understanding of research topic :: yes - Annotated Bibliography :: very nicely done - Grammar and Spelling :: no

[O] run/edit live JS code in an presentation

2016-02-03 Thread Matt Price
Hi everyone, I would like to be able to pause during lecture and edit some code blocks in a live REPL environment. Does anyone have a solution to do that? I generally use org-reveal, and reveal.js has some plugins for setting up an editable environment, but I don't have any experience with them a

[O] publishing subtrees?

2016-01-13 Thread Matt Price
Hi eveyrone, I've recently consolidated all of my course lectures into a single file, which makes it a lot easier for me to organize and re-organize my notes. I used to have an org-publish-project-alist like this: (setq org-publish-project-alist '( ("courses" :components (

Re: [O] Citation processing via Zotero + zotxt

2015-12-01 Thread Matt Price
On Tue, Dec 1, 2015 at 9:36 AM, Rasmus wrote: > Hi Richard, > > First, thank you for looking into this. I learned something new from this > > > Pretty much all the other options we have talked about seem like they > > will require multi-step, non-trivial installation procedures ("First > > insta

Re: [O] Fwd: Citation processing via Zotero + zotxt

2015-12-01 Thread Matt Price
On Tue, Dec 1, 2015 at 10:51 AM, Richard Lawrence < richard.lawre...@berkeley.edu> wrote: > Hi Eric and all, > > Eric S Fraga writes: > > > On Tuesday, 1 Dec 2015 at 07:12, Matt Price wrote: > >> I love Zotxt. my only concern is for those people who run a remo

[O] Fwd: Citation processing via Zotero + zotxt

2015-12-01 Thread Matt Price
On Sat, Nov 28, 2015 at 3:16 PM, Richard Lawrence < richard.lawre...@berkeley.edu> wrote: > Hi everyone, > > For the past few days, I've been looking more closely at using the > combination of Zotero [1] with Erik Hetzner's zotxt plugin [2] as a > means of processing citations when exporting to no

[O] inserting a copy of an element at point (timestamps)

2015-11-30 Thread Matt Price
Every time I think I'm starting to learn org Mode, I find I'm actually really ignorant. I want to write a simple function that inserts a timestamp at point for a date one week after the previous timestamp. I'm sure it's very simple. But I can't figure out how to do it. i have this: (defun mwp/on

[O] syntax for remote table/cell references

2015-11-30 Thread Matt Price
Hello everyone, I'm trying to simulate a simple "COUNT" spreadsheet function with the following two tables: #+TBLNAME: grades | Student | Precis | POV PAPER | |---+-+---| | | A- | A-| | | A | A-/B+ | | | A- | A

Re: [O] org-reveal questions

2015-11-22 Thread Matt Price
On Sun, Nov 22, 2015 at 11:47 AM, Xebar Saram wrote: > Thanks so much Eric > > this works great! > > but i found that i have to prepend the #+ATTR_HTML: :class left before > every line. is there a way to make it work for the whole section (under the > header) or for the whole document? > If you

Re: [O] Org Mode and PDF Notes!

2015-11-12 Thread Matt Price
On Thu, Nov 12, 2015 at 9:28 AM, Matt Lundin wrote: > Ramon Diaz-Uriarte writes: > > > > I'll do. In the meantime, I think this is a limitation coming from > > poppler. Other people have mentioned similar things (e.g., > > http://coda.caseykuhlman.com/entries/2014/pdf-extract.html) and using > o

Re: [O] Org Mode and PDF Notes!

2015-11-12 Thread Matt Price
On Thu, Nov 12, 2015 at 7:23 AM, Ramon Diaz-Uriarte wrote: > > > > On Wed, 11-11-2015, at 21:33, Matt Price wrote: > >> > >> > >> instead of the text. Bummer! I wonder if RepliGO gives you a lot more > >> than the rest, or if I am doing som

Re: [O] Org Mode and PDF Notes!

2015-11-11 Thread Matt Price
On Wed, Nov 11, 2015 at 3:48 PM, Kaushal Modi wrote: > > Doesn't seem to work with pdfview yet, and I'm sort of addicted now. > > I use pdf-view too (the major mode for viewing PDF files that comes > with pdf-tools, right?) and interleave works great! > ah cool, i didn't know that. > > > I can

Re: [O] Org Mode and PDF Notes!

2015-11-11 Thread Matt Price
On Wed, Nov 11, 2015 at 9:59 AM, Kaushal Modi wrote: > Have you had a look at https://github.com/rudolfochrist/interleave not till now! > > > The interleave package works great for me: taking notes in an org-mode > buffer in one side (buffer) corresponding to the pdf page open in > pdf-tools o

Re: [O] Org Mode and PDF Notes!

2015-11-11 Thread Matt Price
On Wed, Nov 11, 2015 at 12:09 PM, Memnon Anon wrote: > Matt Price writes: > > > [...] Since my blog > > has, I think, a readership of 0 (surely there's a way to get emacsers > > to follow me? ah well), I will post a link here [...] > > http://planet.emacs

Re: [O] Org Mode and PDF Notes!

2015-11-11 Thread Matt Price
On Wed, Nov 11, 2015 at 3:17 PM, Ramon Diaz-Uriarte wrote: > Dear Matt, > > > On Wed, 11-11-2015, at 15:42, Matt Price wrote: > > I've just written up a post on my workflow for PDF's Since my blog has, I > > think, a readership of 0 (surely there's a w

<    1   2   3   4   5   6   7   >