[O] [PATCH 0/3] Support week trees in datetree/capture

2015-09-02 Thread Rüdiger Sonderfeld
Hello, this series of patches adds support for ISO week trees in org-datetree and subsequently in org-capture. Week trees differ from regular date trees because they are ordered by week and not by month. Example * 2015 ** 2015-W35 ** 2015-W36 *** 2015-08-31 Monday (I did try to send those patc

[O] [PATCH 1/3] org-datetree.el: Code cleanup.

2015-09-02 Thread Rüdiger Sonderfeld
* lisp/org-datetree.el (org-datetree--find-create): New function. (org-datetree-find-year-create, org-datetree-find-month-create, org-datetree-find-day-create): Removed functions (org-datetree-find-date-create): Use `org-datetree--find-create' instead of removed functions. Use calendar extract fun

[O] [PATCH 2/3] org-datetree.el: Add support for ISO week trees.

2015-09-02 Thread Rüdiger Sonderfeld
* lisp/org-datetree.el (org-datetree-find-iso-date-create): New function. (org-datetree--find-create): Support fixed text for insert. (org-datetree-insert-line): Support fixed text for insert. * testing/lisp/test-org-datetree.el (test-org-datetree/find-iso-date-create): New test. ISO week trees or

[O] [PATCH 3/3] org-capture.el: Add support for week trees.

2015-09-02 Thread Rüdiger Sonderfeld
* lisp/org-capture.el (org-capture-templates): Add file+weektree(+prompt) options. (org-capture-set-target-location): Add support for week trees. * doc/org.texi (Template elements): Document file+weektree(+prompt) options. --- doc/org.texi| 7 +++ lisp/org-capture.el | 26 ++

Re: [O] porting guide from old to new beamer export?

2015-09-02 Thread Suvayu Ali
On Tue, Sep 01, 2015 at 09:11:36PM +0200, Joseph Vidal-Rosset wrote: > 2015-08-31 10:32 GMT+02:00 Loris Bennett : > > > #+BEAMER_THEME: CambridgeUS > > > > If that doesn't work, you should post a minimal working example which > > illustrates the problem. > > > > > I must say to the list that the

[O] Bug: Smart left single quote broken

2015-09-02 Thread T.F. Torrey
Hello all, The smart quote code has gotten a little borked, at least in HTML. This: #+BEGIN_EXAMPLE He said, "You should believe me, 'cause it's 'true'." #+END_EXAMPLE Exports to this: #+BEGIN_EXAMPLE He said, “You should believe me, ’cause it’s ’true’.” #+END_EXAMPLE The quote before "true

Re: [O] emacs & org mode for scholars questions

2015-09-02 Thread John Kitchin
Cool! Thanks for the shout out to org-ref! my jmax starter package (http://github.com/jkitchin/jmax) is basically designed for the last point you described. I use it with students (41 this semester!) as a standalone "package". It isn't as polished as prelude or others, but it allows them to do thi

[O] Outline DOM?

2015-09-02 Thread Lawrence Bottorff
When I do an HTML export, I notice that my headings are all converted from stars to numbers -- rather deeply. Is there an underlying DOM-like object that you can glean the org buffer's hierarchical structure from? LB

Re: [O] emacs & org mode for scholars questions

2015-09-02 Thread Rasmus
Hi, Erik Hetzner writes: > http://www.e6h.org/talks/emacsconf-2015/index.html Thanks, I really enjoyed them. One technical question. Why do the flow of the slides sometimes change from L→R to T→B? It's quite confusing and makes it hard to go back and forth between slides (IMO of course).

Re: [O] Outline DOM?

2015-09-02 Thread Rasmus
Lawrence Bottorff writes: > When I do an HTML export, I notice that my headings are all converted from > stars to numbers -- rather deeply. Is there an underlying DOM-like object > that you can glean the org buffer's hierarchical structure from? Yeah, (org-element-parse-buffer) will give you som

Re: [O] porting guide from old to new beamer export?

2015-09-02 Thread Eric S Fraga
On Tuesday, 1 Sep 2015 at 21:11, Joseph Vidal-Rosset wrote: > 2015-08-31 10:32 GMT+02:00 Loris Bennett : > >> #+BEAMER_THEME: CambridgeUS >> >> If that doesn't work, you should post a minimal working example which >> illustrates the problem. >> > > > I must say to the list that the code that solve

[O] Helm update brings "funcall: Symbol's value as variable is void: helm-walk-ignore-directories"

2015-09-02 Thread Eduardo Mercovich
Dear all. After updating a 7 packages yesterday, including helm, I found my org-mode (Emacs 24.3.1 in Linux) semi-functional with this message: "funcall: Symbol's value as variable is void: helm-walk-ignore-directories" This is defined in https://github.com/emacs-helm/helm/blob/master/helm-lib.e

Re: [O] emacs & org mode for scholars questions

2015-09-02 Thread Xebar Saram
Hi the slides are really nice! are they done in org and beamer? best z On Wed, Sep 2, 2015 at 2:00 PM, Rasmus wrote: > Hi, > > Erik Hetzner writes: > > > http://www.e6h.org/talks/emacsconf-2015/index.html > > Thanks, I really enjoyed them. One technical question. Why do the flow > of the

Re: [O] emacs & org mode for scholars questions

2015-09-02 Thread Rasmus
Hi, Xebar Saram writes: > the slides are really nice! are they done in org and beamer? Not my slides, but: Reveal.js http://lab.hakim.se/reveal-js/ It's a very capable program¹ as long as you don't require too complicated math. There's an ox exporter, with I havne't tried:

[O] [BUG?] Org Mode 20150831, ob-R not working

2015-09-02 Thread thomas
Hi There, updating from Org Mode 20150713 to 20150831 (Elpa package) gives me an error at startup: #+BEGIN_EXAMPLE Warning (initialization): An error occurred while loading `/home/thomas/.emacs': Invalid function: org-babel-header-args-safe-fn To ensure normal operation, you should investi

Re: [O] emacs & org mode for scholars questions

2015-09-02 Thread Marcin Borkowski
On 2015-09-02, at 14:51, Rasmus wrote: > Hi, > > Xebar Saram writes: > >> the slides are really nice! are they done in org and beamer? > > Not my slides, but: Reveal.js > > http://lab.hakim.se/reveal-js/ > > It's a very capable program¹ as long as you don't require too complicated > ma

Re: [O] Bug: Smart left single quote broken

2015-09-02 Thread Nicolas Goaziou
Hello, "T.F. Torrey" writes: > The smart quote code has gotten a little borked, at least in HTML. > > This: > > #+BEGIN_EXAMPLE > He said, "You should believe me, 'cause it's 'true'." > #+END_EXAMPLE > > Exports to this: > > #+BEGIN_EXAMPLE > > He said, “You should believe me, ’cause it’s > ’tr

Re: [O] [BUG?] Org Mode 20150831, ob-R not working

2015-09-02 Thread Kyle Meyer
Hello, thomas writes: > Hi There, > > updating from Org Mode 20150713 to 20150831 (Elpa package) gives me an > error at startup: > > #+BEGIN_EXAMPLE > Warning (initialization): An error occurred while loading > `/home/thomas/.emacs': > > Invalid function: org-babel-header-args-safe-fn When this

Re: [O] Helm update brings "funcall: Symbol's value as variable is void: helm-walk-ignore-directories"

2015-09-02 Thread Eduardo Mercovich
Hi all. > After updating a 7 packages yesterday, including helm, I found my > org-mode (Emacs 24.3.1 in Linux) semi-functional with this message: > "funcall: Symbol's value as variable is void: helm-walk-ignore-directories" Just found it. The new installed version was not included in .emacs in th

Re: [O] emacs & org mode for scholars questions

2015-09-02 Thread Jorge A. Alfaro-Murillo
Rasmus writes: One technical question. Why do the flow of the slides sometimes change from L→R to T→B? It's quite confusing and makes it hard to go back and forth between slides (IMO of course). None of your slides seem optional. That is reveal.js standard, left to right are "sections" and

[O] Get editing window back?

2015-09-02 Thread Lawrence Bottorff
If I do a quick entry with C-c C-z, I get a nice separate window to do my entry in. Then I do C-c C-c to "commit" my entry. Q: Is there any way to get that separate editing window back to do more changes? LB

[O] the (old) remember

2015-09-02 Thread Uwe Brauer
Hello I am over the years very acquainted with remember.el. In the old version, compatible with org-mode <8, regions could be installed the old unix mailbox format. I have zillons of information in that format and would like to keep it that way. However it seems that starting with org-mode =>

Re: [O] Bug: Smart left single quote broken

2015-09-02 Thread T.F. Torrey
> I doubt it is possible to tell that 'cause begins with an apostrophe and > not an opening single quote without grammatical analysis. Indeed. I pointed it out because it was unexpectedly doing the right thing. Thank you. T.

[O] Bug: html export [8.3.1 (8.3.1-95-g1dbb25-elpa @ /Volumes/passchaos/.emacs.d/elpa/org-20150831/)]

2015-09-02 Thread Greedwolf DSS
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] [PATCH] org-mime: make plain/text mime export a choice

2015-09-02 Thread Will O'Brien
On 1 Sep 2015 08:18, "Nicolas Goaziou" wrote: > > Is there any reason to keep using "org" exporter if "ascii" is superior? > I.e., what about simply replacing 'org with 'ascii? > FWIW There's a nice use case for exporting as org. If I compose an email which includes source code and I send it to

Re: [O] Bug: Smart left single quote broken

2015-09-02 Thread Nicolas Goaziou
Hello, "T.F. Torrey" writes: > > The smart quote code has gotten a little borked, at least in HTML. > > This: > > #+BEGIN_EXAMPLE > He said, "You should believe me, 'cause it's 'true'." > #+END_EXAMPLE > > Exports to this: > > #+BEGIN_EXAMPLE > > He said, “You should believe me, ’cause it’s > ’t

[O] org-mac-link to Mail.app doesn't work as expected

2015-09-02 Thread Tobias Frischholz
Hi there, I’m using org-mac-link.el (http://orgmode.org/worg/org-contrib/org-mac-link.html ), which is a fantastic tool for grabbing links from various Mac apps. But somehow it isn’t correctly linking to mails in Mail.app: The links work a

Re: [O] Bug: html export [8.3.1 (8.3.1-95-g1dbb25-elpa @ /Volumes/passchaos/.emacs.d/elpa/org-20150831/)]

2015-09-02 Thread Nicolas Goaziou
Hello, "Greedwolf DSS" writes: > 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 mail

Re: [O] [PATCH 1/3] org-datetree.el: Code cleanup.

2015-09-02 Thread Nicolas Goaziou
Hello, Rüdiger Sonderfeld writes: > * lisp/org-datetree.el (org-datetree--find-create): New function. > (org-datetree-find-year-create, org-datetree-find-month-create, > org-datetree-find-day-create): Removed functions > (org-datetree-find-date-create): Use `org-datetree--find-create' instead >

Re: [O] [PATCH 2/3] org-datetree.el: Add support for ISO week trees.

2015-09-02 Thread Nicolas Goaziou
Rüdiger Sonderfeld writes: > +(defun org-datetree-find-iso-week-create (date &optional keep-restriction) > + "Find or create an ISO week entry for DATE. > +Compared to `org-datetree-find-date-create' this function creates > +entries ordered by week instead of months. > +If KEEP-RESTRICTION is no

Re: [O] [PATCH 3/3] org-capture.el: Add support for week trees.

2015-09-02 Thread Nicolas Goaziou
Rüdiger Sonderfeld writes: > * lisp/org-capture.el (org-capture-templates): Add > file+weektree(+prompt) options. > (org-capture-set-target-location): Add support for week trees. > * doc/org.texi (Template elements): Document file+weektree(+prompt) > options. Looks good. Regards,

[O] org-do-**mote does not work properly on empty headings

2015-09-02 Thread Konstantin Kliakhandler
Hello, When I start a new heading and don't add text yet but click M-right/M-left, new spaces are tacked to the end so that when I do begin to write, sometimes there are too many spaces at the front. I tracked this down to org-do-demote/promote, since calling org-promote and org-demote does not a

Re: [O] [PATCH 2/3] org-datetree.el: Add support for ISO week trees.

2015-09-02 Thread Rüdiger Sonderfeld
On Wednesday 02 September 2015 21:58:17 Nicolas Goaziou wrote: > Rüdiger Sonderfeld writes: > > +(let ((prop (org-find-property "DATE_WEEK_TREE"))) > > I don't think we need to introduce a new property for that. DATE_TREE is > enough. Since DATE_TREE and DATE_WEEK_TREE (or WEEK_TREE instead?

Re: [O] org-do-**mote does not work properly on empty headings

2015-09-02 Thread Kyle Meyer
Hello, Konstantin Kliakhandler writes: > Hello, > > When I start a new heading and don't add text yet but click M-right/M-left, > new spaces are tacked to the end so that when I do begin to write, > sometimes there are too many spaces at the front. [...] > Steps to reproduce: > 1. Make a headi

Re: [O] emacs & org mode for scholars questions

2015-09-02 Thread Erik Hetzner
Thanks, John. I was really blown away by org-ref. It’s a great package. I love, for instance, the citation displayed in the minibuffer when the cursor is on a cite. If you need help with the MELPA packaging process, let me know. best, Erik On Wed, 02 Sep 2015 03:40:42-0700, John Kitchin wrote:

Re: [O] emacs & org mode for scholars questions

2015-09-02 Thread Erik Hetzner
Hi Rasmus, On Wed, 02 Sep 2015 04:00:50 -0700, Rasmus wrote: > > Hi, > > Thanks, I really enjoyed them. One technical question. Why do the flow > of the slides sometimes change from L→R to T→B? It's quite confusing and > makes it hard to go back and forth between slides (IMO of course). None

Re: [O] org-do-**mote does not work properly on empty headings

2015-09-02 Thread Konstantin Kliakhandler
Thanks Kyle, First, I apologise for the poorly chosen subject. I indeed looks like something in my setup - I am also unable to reproduce with emacs -Q. Since I posted this, I looked further and found that the place where the problem occurs for me is in the function `org-fix-position-after-promot

Re: [O] org-do-**mote does not work properly on empty headings

2015-09-02 Thread Kyle Meyer
Konstantin Kliakhandler writes: >(setq org-todo-keywords > '((type "TODO(t!)" "|" "DONE(d!)" "CANCELLED(c@)") >(type "HABIT(h!)" "|" "DONE(d!)") >(type "WAITING(w@/!)" "FUTURE(f!/@)" "STARTED(s@/!)" "|" > "DONE(d!)") >(type "|" "NOTE(n)" "NUMBER(#

Re: [O] org-do-**mote does not work properly on empty headings

2015-09-02 Thread Konstantin Kliakhandler
Good to know, thanks! -- Konstantin Kliakhandler http://slumpy.org )°) )°( (°( On 2 September 2015 at 22:22, Kyle Meyer wrote: > Konstantin Kliakhandler writes: > > >(setq org-todo-keywords > > '((type "TODO(t!)" "|" "DONE(d!)" "CANCELLED(c@)") > >(type

Re: [O] [PATCH 2/3] org-datetree.el: Add support for ISO week trees.

2015-09-02 Thread Nicolas Goaziou
Rüdiger Sonderfeld writes: > On Wednesday 02 September 2015 21:58:17 Nicolas Goaziou wrote: >> Rüdiger Sonderfeld writes: >> > +(let ((prop (org-find-property "DATE_WEEK_TREE"))) >> >> I don't think we need to introduce a new property for that. DATE_TREE is >> enough. > > Since DATE_TREE an