[O] Issues w/ hacking Org font-lock for variable pitch prose

2015-11-30 Thread Göktuğ Kayaalp
Hello, /I’ll first explain the situation and append the code to the message./ Go to code: [ M-x re-search-forward RET ^CODE RET ] I read in Org mode a lot, and I dislike reading prose in monospace fonts. So I have turned on ‘variable-pitch-mode’ for Org mode. But because some stuff

[O] [PATCH] ox-html.el: Add lang attribute to html tag

2015-11-30 Thread Ruben Maher
* lisp/ox-html.el (org-html-template): Add lang attribute to exported html tag. Some features of the CSS Text Module (Level 3) require this attribute to be present (for example, so that the browser knows how to hyphenate the text). For more info, please take a look here:

Re: [O] [PATCH] ox-html.el: Add lang attribute to html tag

2015-11-30 Thread Ruben Maher
Added TINYCHANGE cookie.

Re: [O] asynchronous python code blocks in org-mode

2015-11-30 Thread John Kitchin
Karl Voit writes: > * John Kitchin wrote: >> Hi everyone, > > Hi John! > >> I worked out some ideas on running Python blocks asynchronously in >> org-mode, while seeing the output of the code, /and/ still capturing the >> output in org-mode! > > Found the link to your

[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] Lisp error: (void-function org-babel-get-header)

2015-11-30 Thread Kyle Meyer
Hi Tom, Thomas S. Dye writes: > Aloha all, > > After updating Org mode this weekend and exporting a document that > exported on Friday, I get the error in the subject. Any chance you have (sh . t) in org-babel-do-load-languages? If so, s/sh/shell/ should fix it. See

[O] Lisp error: (void-function org-babel-get-header)

2015-11-30 Thread Thomas S . Dye
Aloha all, After updating Org mode this weekend and exporting a document that exported on Friday, I get the error in the subject. I ran grep org-babel-get-header *.el in org-mode/lisp and didn't get a result. I'm still working on my first cup of coffee this AM, so I might have missed something

[O] Scripting with org-mode

2015-11-30 Thread Shakthi Kannan
Hi, Is there a way to execute all the org-mode code blocks in a file, and send the output to stdout? For example, I have the following org file: === BEGIN === * Greeting #+BEGIN_SRC sh :results output echo "Hello $USER! Today is `date`" #+END_SRC * Current directory #+BEGIN_SRC sh

Re: [O] [bug] org-agenda view fails if I have missed a deadline

2015-11-30 Thread Eric S Fraga
On Monday, 30 Nov 2015 at 15:48, Nicolas Goaziou wrote: [...] > I cannot reproduce it. What is your value for > `org-agenda-deadline-leaders'? It should consists of 3 strings. Ahhh. Interesting. It is indeed not 3 strings. But this never used to cause a problem! My bad, in any case. Sorry

Re: [O] fails to start on 32 bit

2015-11-30 Thread Nicolas Goaziou
Hello, Sam Halliday writes: > I discovered an error on startup on a 32 bit Windows build. > > The line in org-footnote.el > > (format "fn:%x" (random #x1)) > > is too large and this fails with an overflow. > > Please consider using a number that is

[O] Moving from org-mode 6.33 to 8.3.2

2015-11-30 Thread Steve Moreau
Hi, Moving from an emacs with an old org-mode (6.33) to the latest stable one currently (8.3.2), I noticed two changes which made me out of my comfort area. 1. Demoting/promoting a header now changes the indentation of text below. I reverted to the previous mode with '(setf

Re: [O] [PATCH] ox-html.el: Remove superflous whitespace

2015-11-30 Thread Nicolas Goaziou
Hello, Ruben Maher writes: > * lisp/ox-html.el: Remove superfluous whitespace from meta tags, put > there by `org-html--buld-meta-info' and `org-html--build-head'. > `org-html-close-tag' already inserts a space, so it is not necessary > to add another. Previously these

[O] Moving from org-mode 6.33 to 8.3.2

2015-11-30 Thread Steve Moreau
Hi, Moving from an emacs with an old org-mode (6.33) to the latest stable one currently (8.3.2), I noticed two changes which made me out of my comfort area. 1. Demoting/promoting a header now changes the indentation of text below. I reverted to the previous mode with '(setf

Re: [O] Bug: Avoid following link when using org-return-follows-link and point is at end of line [8.3.2 (8.3.2-39-gd537a3-elpaplus @ /home/Erik/.emacs.d/elpa/org-plus-contrib-20151123/)]

2015-11-30 Thread Rasmus
Erik Anderson writes: > Not a bug per se, but a tweak to existing behavior which I think most > people would prefer. The option org-return-follows-link is wonderfully > convenient except when the point is at the end of the line where the > intention is usually to

[O] Bug: Avoid following link when using org-return-follows-link and point is at end of line [8.3.2 (8.3.2-39-gd537a3-elpaplus @ /home/Erik/.emacs.d/elpa/org-plus-contrib-20151123/)]

2015-11-30 Thread Erik Anderson
Not a bug per se, but a tweak to existing behavior which I think most people would prefer. The option org-return-follows-link is wonderfully convenient except when the point is at the end of the line where the intention is usually to insert a carriage return.

[O] fails to start on 32 bit

2015-11-30 Thread Sam Halliday
Dear org-mode authors, I discovered an error on startup on a 32 bit Windows build. The line in org-footnote.el (format "fn:%x" (random #x1)) is too large and this fails with an overflow. Please consider using a number that is 32bit compatible, I'm sure there are plenty

[O] Bug: Cannot open load file: No such file or directory, htmlize [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.1.50/lisp/org/)]

2015-11-30 Thread Novak Boškov
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 http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

Re: [O] Scripting with org-mode

2015-11-30 Thread briangpowell .
* Assuming that entire file is made up of shell commands (like the ones in the example you gave) since, in such a case as your example the "#" in the first column would ignore the rest of the lines as comments: M< Mx set-mark M> Mx shell-command-on-region On Mon, Nov 30, 2015 at 11:43 AM,

Re: [O] Scripting with org-mode

2015-11-30 Thread John Kitchin
I think one of these will do what you want: ** Rerun all src blocks #+BEGIN_SRC emacs-lisp (defun run-blocks () (interactive) (save-excursion (org-element-map (org-element-parse-buffer) 'src-block (lambda (src-block) (goto-char (org-element-property :begin src-block))

Re: [O] Lisp error: (void-function org-babel-get-header)

2015-11-30 Thread Thomas S . Dye
Aloha Kyle, Kyle Meyer writes: > Hi Tom, > > Thomas S. Dye writes: > >> Aloha all, >> >> After updating Org mode this weekend and exporting a document that >> exported on Friday, I get the error in the subject. > > Any chance you have (sh . t) in

Re: [O] syntax for remote table/cell references

2015-11-30 Thread Thierry Banel
You may want to give the orgtbl-aggregate package a try. (Available on http://melpa.org, documentation here: https://github.com/tbanel/orgaggregate) It creates the following table: #+BEGIN: aggregate :table "grades" :cols "Precis count()" | Precis | count() | |-+-| | A-

Re: [O] Scripting with org-mode

2015-11-30 Thread Nick Dokos
John Kitchin writes: > I think one of these will do what you want: > > ** Rerun all src blocks > > #+BEGIN_SRC emacs-lisp > (defun run-blocks () > (interactive) > (save-excursion > (org-element-map (org-element-parse-buffer) 'src-block > (lambda (src-block)

Re: [O] Scripting with org-mode

2015-11-30 Thread John Kitchin
of course there is a simpler way ;) John --- Professor 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 Mon, Nov 30, 2015 at 3:22 PM,

[O] [PATCH] ox-html.el: Remove superflous whitespace

2015-11-30 Thread Ruben Maher
* lisp/ox-html.el: Remove superfluous whitespace from meta tags, put there by `org-html--buld-meta-info' and `org-html--build-head'. `org-html-close-tag' already inserts a space, so it is not necessary to add another. Previously these affected tags would look like . TINYCHANGE ---

[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

Re: [O] Citation processing via Zotero + zotxt

2015-11-30 Thread Richard Lawrence
Hi John and all, Thanks for your input! John Kitchin writes: > This really means you are using bibtex as the reference database > backend, and probably helm-bibtex to insert citations as org-mode links. > Bibliography generation is probably managed by LaTeX/Bibtex.

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

2015-11-30 Thread John Kitchin
Try this. You may want use <> intead of [], and you can see org-re-timestamp for other options than all. (defun insert-ts+7 () (interactive) (insert (concat "[" (save-excursion (re-search-backward (org-re-timestamp 'all)) (match-string

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

2015-11-30 Thread Rasmus
Hi, Matt Price writes: > 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

Re: [O] Citation processing via Zotero + zotxt

2015-11-30 Thread John Kitchin
Martin Yrjölä writes: > Hi Richard. > > Thank you for your work on improving citation support for org-mode. I > have some experiences from using Zotero, but for the moment I'm using > org-ref[1] to manage my citations. This really means you are using bibtex as the reference database backend,

Re: [O] Scripting with org-mode

2015-11-30 Thread Shakthi Kannan
Hi, --- On Tue, Dec 1, 2015 at 1:52 AM, Nick Dokos wrote: | IIUC, org-babel-execute-buffer is exactly what the OP | needs. \-- Yes, that did it. Thanks! SK -- Shakthi Kannan http://www.shakthimaan.com

Re: [O] How to hide past days in Agenda view

2015-11-30 Thread sgeorgii .
Thank you Charlie! >Hi, >On 11/27/2015 08:45 AM, sgeorgii . wrote: >> Hello! >> >> The subject question. When I >> >> M-x org-agenda >> >> and it is now Friday - in my weekly agenda view I want only to see >> Friday (today), Saturday and Sunday. I.e. only remaining part of the week. >> >> By

Re: [O] Moving from org-mode 6.33/7.9.3 to 8.3.2

2015-11-30 Thread Steve Moreau
Hello, Well, actually, it seems that I did not understand anything at all :-) Sorry about that, but I am new to the source code, and it is not very clear to me. So if I try to summarize what I have got: - In the past, what I could see with the standard 'M-x fill-region' over paragraphs or lists

Re: [O] Citation processing via Zotero + zotxt

2015-11-30 Thread Martin Yrjölä
Hi Richard. Thank you for your work on improving citation support for org-mode. I have some experiences from using Zotero, but for the moment I'm using org-ref[1] to manage my citations. Richard Lawrence writes: > For the past few days, I've been looking more closely at using the > combination

[O] WORG git down? (was: orgmode.org is down?)

2015-11-30 Thread Karl Voit
* Robert Klein wrote: > Hi, > > Bastien apparently already restarted it. > Thanks a lot, Bastien! Thanks! However, did this affect the WORG git repository? I haven't accessed the git a couple of weeks but now I can't pull any more: , | vk@sherri

Re: [O] Citation processing via Zotero + zotxt

2015-11-30 Thread Eric S Fraga
On Saturday, 28 Nov 2015 at 12:16, Richard Lawrence 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 non-LaTeX backends. I > am now

Re: [O] Citation processing via Zotero + zotxt

2015-11-30 Thread Ramon Diaz-Uriarte
Dear Eric, On Mon, 30-11-2015, at 12:35, Eric S Fraga wrote: > On Saturday, 28 Nov 2015 at 12:16, Richard Lawrence 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]

Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex

2015-11-30 Thread Alan Schmitt
Hi, On 2015-11-27 22:05, Rasmus writes: >>> Also, you need to denote that the defcustom was changed. >>> >>> :version "25.1" >>> :package-version '(Org . "9.0") >>> >>> When you are at it, please add the missing tags, :group and :type. >> >> It's not a defcustom but a defvar.

Re: [O] asynchronous python code blocks in org-mode

2015-11-30 Thread Karl Voit
* John Kitchin wrote: > Hi everyone, Hi John! > I worked out some ideas on running Python blocks asynchronously in > org-mode, while seeing the output of the code, /and/ still capturing the > output in org-mode! Found the link to your video + blog on Twitter. On the

[O] [bug] org-agenda view fails if I have missed a deadline

2015-11-30 Thread Eric S Fraga
(posted this to gnus mailing list by mistake... sigh) Hello, with org up to date as of a minute ago, if I try to view my current agenda, which happens to have an entry that has missed its deadline (i.e. the deadline is in the past), org fails with an error: --8<---cut

Re: [O] interaction between org-latex-custom-lang-environments and name when exporting to latex

2015-11-30 Thread Rasmus
Alan Schmitt writes: >> It should be a defcustom. Feel free to fix it, preferably in a separate >> patch. > > Here is a patch to do so. > > From b94b5ba0bdb619cb9047efb19432216812eaf6a2 Mon Sep 17 00:00:00 2001 > From: Alan Schmitt

Re: [O] [bug] org-agenda view fails if I have missed a deadline

2015-11-30 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > (posted this to gnus mailing list by mistake... sigh) > > Hello, > > with org up to date as of a minute ago, if I try to view my current > agenda, which happens to have an entry that has missed its deadline > (i.e. the deadline is in the past),

Re: [O] Moving from org-mode 6.33/7.9.3 to 8.3.2

2015-11-30 Thread Nicolas Goaziou
Hello, Steve Moreau writes: > Thanks for you answer. > OK, I understand. That explains why I needed to add blank lines between > list items before to fill region, such as: > > - item1 > > - item2 > > This is a new paragraph > > I have 2 more questions for you please.