[O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Kaushal
Hi all, There are quite few documents in which I want to update the date stamp to the last update time. I like that #+DATE keyword value is used aptly in latex/pdf and html exports. But I couldn't find an elegant way for that date to be updated to today's (last updated) date. I came up with

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-06 Thread John Kitchin
I am a happy mu4e + offlineimap user since January. Gmail is my mail server, and I also check mail by phone, tablet, sometimes browser. I run on a Mac with no issues so far. I would guess you could get a similar setup on Linux easily enough. I never got a good solution on Windows. To be fair, I

[O] Exporting multiple images in a float (LaTeX)

2015-08-06 Thread Suvayu Ali
Hi, Is there an easy way to export multiple images wrapped in a single floating environment (e.g. figure) when exporting to LaTeX? For how many years I have been doing this: #+name: fig:myfig1 #+caption: This is a single figure, entered in the usual way. file:myfig1.pdf #+begin_latex

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Rasmus
Kaushal kaushal.m...@gmail.com writes: Hi all, There are quite few documents in which I want to update the date stamp to the last update time. I like that #+DATE keyword value is used aptly in latex/pdf and html exports. But I couldn't find an elegant way for that date to be updated to

[O] Using org-publish for two seperate sites

2015-08-06 Thread Sharon Kimble
I'm trying to set up org-publishing for two sites, with the intention of moving away from wordpress. I have set it up using taste and tgmeds to delineate each site. --8---cut here---start-8--- (setq org-publish-project-alist '((taste :base-directory

[O] [PATCH] Re: What is the best way to set #+DATE to today's date?

2015-08-06 Thread Thomas S . Dye
OK, here is a patch that tries to do that. All the best, Tom Kaushal kaushal.m...@gmail.com writes: Yeah, the documentation definitely needs refining. {{{date}}} / {{{date(FORMAT)}}} [FORMAT is optional] - Inserts the #+DATE keyword value; optionally formats as per FORMAT (Refer

Re: [O] [PATCH] Re: What is the best way to set #+DATE to today's date?

2015-08-06 Thread Thomas S . Dye
Thanks Fabrice, very helpful. A second patch is attached. All the best, Tom Fabrice Niessen fni-n...@pirilampo.org writes: Doesn't it get its information from a timestamp in #+DATE? I think you missed out explaining what {{{time(FORMAT)}}} does. You might be interested by `date', `time'

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Kaushal
Actually the documentation does say what {{{time}}} does; I just didn't read it all this time. {{{date}}}{{{date(FORMAT)}}}{{{time(FORMAT)}}}{{{modification-time(FORMAT )}}} These macros refer to the #+DATE keyword, *the current date*, and the modification time of the file being exported,

Re: [O] Status of macro expansion

2015-08-06 Thread Nicolas Goaziou
Hello, Fabrice Popineau fabrice.popin...@gmail.com writes: I was looking at what text can serve as macro arguments and it seems there are a couple of restrictions. Namely, if I export the following to html: #+MACRO: leftcolumn @@html:div class=left$1/div@@ #+MACRO: rightcolumn @@html:div

Re: [O] Using org-publish for two seperate sites

2015-08-06 Thread Nick Dokos
Sharon Kimble boudic...@skimble.plus.com writes: ... I am calling org-publish by C-c C-e P p which then shows this in *Messages* Loading /home/boudiccas/.org-timestamps/taste.cache...done org-publish-file: No publishing function chosen [entirely untested] Define a publishing function.

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread John Kitchin
You could do something with overlays like this: #+BEGIN_SRC emacs-lisp (require 'ov) (org-map-entries (lambda () (when (org-entry-get (point) GRADE) (setq ov (make-overlay (+ 0 (line-end-position)) (+ 1 (line-end-position (overlay-put ov

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Kaushal
Yeah, the documentation definitely needs refining. {{{date}}} / {{{date(FORMAT)}}} [FORMAT is optional] - Inserts the #+DATE keyword value; optionally formats as per FORMAT (Refer `format-time-string` function for syntax.){{{time(FORMAT)}}} - Inserts the current time stamp as per the FORMAT

Re: [O] problem with beamer slides

2015-08-06 Thread Zhihao Ding
I have solved this problem. It's a problem with latex not org. Thanks for replying to this. Cheers, Zhihao On 6 August 2015 at 13:20, Zhihao Ding zhihao.d...@gmail.com wrote: I export the subtree, below is the org, and after that is the latex === * projects :PROPERTIES: :header-args:

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Matt Price
On Thu, Aug 6, 2015 at 10:06 AM, John Kitchin jkitc...@andrew.cmu.edu wrote: You could do something with overlays like this: #+BEGIN_SRC emacs-lisp (require 'ov) (org-map-entries (lambda () (when (org-entry-get (point) GRADE) (setq ov (make-overlay (+ 0 (line-end-position))

Re: [O] [PATCH] Re: What is the best way to set #+DATE to today's date?

2015-08-06 Thread Fabrice Niessen
Doesn't it get its information from a timestamp in #+DATE? I think you missed out explaining what {{{time(FORMAT)}}} does. You might be interested by `date', `time' and `modification-time', depending on what you want to achieve. I've put some examples in my Org-macros project about those:

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Rasmus
Kaushal kaushal.m...@gmail.com writes: Why don't you just use a timestamp? But that would need me to insert the timestamp manually each time before exports If you *always* want the current date you don't need to set date. You can update whenever you want or using (org-insert-time-stamp

Re: [O] Exporting multiple images in a float (LaTeX)

2015-08-06 Thread Rasmus
Rasmus ras...@gmx.us writes: Hi, Suvayu Ali fatkasuvayu+li...@gmail.com writes: #+name: fig:myfig1 #+caption: This is a single figure, entered in the usual way. file:myfig1.pdf #+begin_latex \begin{figure}[htb] \centering

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Thomas S . Dye
Kaushal kaushal.m...@gmail.com writes: Actually the documentation does say what {{{time}}} does; I just didn't read it all this time. {{{date}}}{{{date(FORMAT)}}}{{{time(FORMAT)}}}{{{modification-time(FORMAT )}}} These macros refer to the #+DATE keyword, *the current date*, and the

Re: [O] 8.3 hangs

2015-08-06 Thread Samuel Wales
it is not consistent, and all of my org files are 500k and private. so althought it might be useless perhaps this lets you know there is an issue. here is another: Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) byte-code org-element--parse-to(524592 t (21955

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-06 Thread Suvayu Ali
On Thu, Aug 06, 2015 at 08:21:15PM +0300, Xebar Saram wrote: thank so much everyone for your great tips and comments you gave me more energy to further pursue gnus and or mu4e There is also notmuch. In fact, notmuch seems to have an edge over mu4e when it comes to performance, at least

Re: [O] [PATCH] Re: What is the best way to set #+DATE to today's date?

2015-08-06 Thread Kaushal
I think you missed out explaining what {{{time(FORMAT)}}} does. -- Kaushal Modi On Thu, Aug 6, 2015 at 4:51 PM, Thomas S. Dye t...@tsdye.com wrote: OK, here is a patch that tries to do that. All the best, Tom Kaushal kaushal.m...@gmail.com writes: Yeah, the documentation definitely

Re: [O] [PATCH] Re: What is the best way to set #+DATE to today's date?

2015-08-06 Thread Thomas S . Dye
Doesn't it get its information from a timestamp in #+DATE? Kaushal kaushal.m...@gmail.com writes: I think you missed out explaining what {{{time(FORMAT)}}} does. -- Thomas S. Dye http://www.tsdye.com

Re: [O] Org 8.3.1 HTML export options

2015-08-06 Thread Rasmus
Scott Randby sran...@gmail.com writes: * COMMENT Setup [...] When I export to HTML, the link to the CSS style sheet is missing, the page title is blank, sections are numbered, MathJax uses the default settings, etc. None of the options I set are recognized (except for the startup

Re: [O] Exporting multiple images in a float (LaTeX)

2015-08-06 Thread Rasmus
Hi, Suvayu Ali fatkasuvayu+li...@gmail.com writes: #+name: fig:myfig1 #+caption: This is a single figure, entered in the usual way. file:myfig1.pdf #+begin_latex \begin{figure}[htb] \centering \includegraphics[width=0.8\linewidth]{myfig2.pdf}

Re: [O] Bug: exporter bug [8.3.1 (8.3.1-elpaplus @ /home/dfeich/.emacs.d/elpa/org-plus-contrib-20150805/)]

2015-08-06 Thread Nicolas Goaziou
Hello, Derek Feichtinger dfe...@gmail.com writes: The current MELPA version (see version details below) seems to have problems with the exporter. I reinstalled several times from older configurations to try and exlude local effects. I get the error with all exporters I tried The file I am

[O] ORDERED property affects next subtree also

2015-08-06 Thread Bingo UV
Hi, For a simple .emacs file like : - (add-to-list 'load-path ~/.emacs.d/orglisp) (require 'org) (setq org-enforce-todo-dependencies t) (setq org-agenda-dim-blocked-tasks 'invisible) (setq org-agenda-files (list ~/org/test.org)) (setq

Re: [O] sudo uninstall org? Can it be done?

2015-08-06 Thread Sharon Kimble
Ista Zahn istaz...@gmail.com writes: I had this problem too, but only on one of my machines. In my case it was triggered by (require 'ob-R). Running byte-compile-file on ob-R.el fixed it for me. I don't know what that means, but maybe it will give someone a clue as to how to track this

Re: [O] Exporting to beamerposter

2015-08-06 Thread Eric S Fraga
On Wednesday, 5 Aug 2015 at 20:26, Titus von der Malsburg wrote: Thank you, Eric! I had to add ignoreheading to the top-level heading because the title of the poster is handled via the #+TITLE attribute, but otherwise it works nicely. It’s a little unfortunate that the wrap-all heading is

[O] Org 8.3.1 HTML export options

2015-08-06 Thread Scott Randby
HTML export in 8.3.1 no longer recognizes export options that are contained under a headline. My documents contain the following: * COMMENT Setup #+STARTUP: hidestars overview indent hideblocks #+HTML_HEAD: link rel=stylesheet type=text/css href=../lesson-style-new.css #+HTML_MATHJAX: path:

Re: [O] ORDERED property affects next subtree also

2015-08-06 Thread Nicolas Goaziou
Hello, Bingo UV right...@gmail.com writes: For a simple .emacs file like : - (add-to-list 'load-path ~/.emacs.d/orglisp) (require 'org) (setq org-enforce-todo-dependencies t) (setq org-agenda-dim-blocked-tasks 'invisible) (setq org-agenda-files (list

Re: [O] Exporting multiple images in a float (LaTeX)

2015-08-06 Thread Suvayu Ali
Hi Rasmus, On Fri, Aug 07, 2015 at 12:31:37AM +0200, Rasmus wrote: Rasmus ras...@gmx.us writes: Suvayu Ali fatkasuvayu+li...@gmail.com writes: #+name: fig:myfig1 #+caption: This is a single figure, entered in the usual way. file:myfig1.pdf #+begin_latex

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Suvayu Ali
On Thu, Aug 06, 2015 at 01:00:31PM -0400, Kaushal wrote: Why don't you just use a timestamp? But that would need me to insert the timestamp manually each time before exports You can update whenever you want or using (org-insert-time-stamp (current-time)) at the right spot.

Re: [O] 8.3 hangs

2015-08-06 Thread Suvayu Ali
On Thu, Aug 06, 2015 at 06:42:49PM -0700, Samuel Wales wrote: just now occurred when refiling from remember subtree to other agenda files. maybe i did a ^G or an isearch or both. Error running timer `org-element--cache-sync': (wrong-type-argument integer-or-marker-p nil) On 8/6/15,

Re: [O] comment trees in 8.3

2015-08-06 Thread Samuel Wales
should (get-text-property (point-at-bol) :org-comment) be nil on a commented headline?

[O] [bug] canonical context not work in 8.3

2015-08-06 Thread Samuel Wales
(setq org-show-context-detail '((default . canonical))) not work going from agenda appears to show the first child, and takes 5s or so. my expectation is that canonical visibility shows no entry and no children. first child is non-canonical (i.e. cannot be reproduced with arrows and tab).

[O] hook on link creation

2015-08-06 Thread Stephen J. Barr
Greetings, I have been thinking about a project I would like to do to add some custom semantic markup to an org-mode. I think that links may be the best way to do this. Looking at this page: http://orgmode.org/manual/Adding-hyperlink-types.html I am wondering if there is a way to have a hook

Re: [O] comment trees in 8.3

2015-08-06 Thread Samuel Wales
On 8/6/15, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: I cannot reproduce it either. Did you try minimal example provided by Kyle in this thread? Does it show the no headline? yes, i put the example into an entry, with odd levels only, in my version of emacs as above, with my testcase as

Re: [O] Org 8.3.1 HTML export options

2015-08-06 Thread Scott Randby
On 08/06/2015 06:20 PM, Rasmus wrote: Scott Randby sran...@gmail.com writes: * COMMENT Setup [...] When I export to HTML, the link to the CSS style sheet is missing, the page title is blank, sections are numbered, MathJax uses the default settings, etc. None of the options I set are

Re: [O] 8.3 hangs

2015-08-06 Thread Nicolas Goaziou
Samuel Wales samolog...@gmail.com writes: it is not consistent, and all of my org files are 500k and private. so althought it might be useless perhaps this lets you know there is an issue. It doesn't help much. Some editing action on your side triggers a cache corruption. The errors you get

Re: [O] 8.3 hangs

2015-08-06 Thread Samuel Wales
nothing special stands out as something i can try to keep doing to make it occur. On 8/6/15, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Do these errors start to appear a short while after you do something typical in your workflow (e.g., sorting a table)?

Re: [O] [bug] canonical context not work in 8.3

2015-08-06 Thread Samuel Wales
thank you for fixing. canonical is always what i want, except for occur-tree. i did profiler-start then went to org file a few times to average out the results. did i use the correct profiler? command-execute 60148 99% - call-interactively

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-06 Thread Ramon Diaz-Uriarte
You have received several great answers already, but my 2 cents here. I've used mu4e with offlineimap[1] for about three years now, and I am reasonably happy with it. I particularly like the search capabilities (which I now often complement with helm-mu). Setting it up was not particularly hard

Re: [O] comment trees in 8.3

2015-08-06 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: can repro with -Q and this old testcase code and restriction lock and org-agenda-list. I cannot reproduce it either. Did you try minimal example provided by Kyle in this thread? Does it show the no headline? Regards, -- Nicolas Goaziou

Re: [O] hook on link creation

2015-08-06 Thread John Kitchin
What is the dbus thing supposed to do? Would it be ok if it happened more than once? Why is it important it happen on creation of the link? Any consequence of a typo? What should happen when you edit a link? I am not aware of a link creation hook. They are recognized through font lock by a

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Richard Lawrence
Hi Matt and all, Matt Price mopto...@gmail.com writes: On Thu, Aug 6, 2015 at 9:13 AM, John Kitchin jkitc...@andrew.cmu.edu wrote: How do you enter your grade? I use a function, bound to a convenient key like s-s g, which sets the grade property. You could have that function change the

Re: [O] 8.3 hangs

2015-08-06 Thread Samuel Wales
just now occurred when refiling from remember subtree to other agenda files. maybe i did a ^G or an isearch or both. Error running timer `org-element--cache-sync': (wrong-type-argument integer-or-marker-p nil) On 8/6/15, Samuel Wales samolog...@gmail.com wrote: nothing special stands out as

Re: [O] [bug] canonical context not work in 8.3

2015-08-06 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: (setq org-show-context-detail '((default . canonical))) not work going from agenda appears to show the first child, This should be fixed in maint. Thank you. and takes 5s or so. Could you provide a profiling report for this? my

[O] Bug: exporter bug [8.3.1 (8.3.1-elpaplus @ /home/dfeich/.emacs.d/elpa/org-plus-contrib-20150805/)]

2015-08-06 Thread Derek Feichtinger
Hi The current MELPA version (see version details below) seems to have problems with the exporter. I reinstalled several times from older configurations to try and exlude local effects. I get the error with all exporters I tried The file I am exporting is

Re: [O] create a send plain text/pdf email with current header function?

2015-08-06 Thread Eric Abrahamsen
Xebar Saram zelt...@gmail.com writes: Perfect! (as always i might add John ;)) thx so muxh Just to add to the mess, here's something I've used before -- kind of a poor man's mail merge, to send spam (not really spam!). (defvar my-spam-sent-names nil Make sure that, even if we have to run

[O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Matt Price
Hello eveyrone! I know the big guns are all working on last-minute 8.3 bugs (thank you!). I am hoping to get some guidance before heading off on vacation. I have switched over to doing all grading for my courses in org. My workflow: - export a csv file containing student names. - generate

[O] Org-mode 8.3.1 bugs report

2015-08-06 Thread Lei Zhe
I found two bugs if the latest org-mode 8.3.1. 1. Footnote is inserted right after the Footnote headline, not the end of this section. 2. When I call org-drill, some entries can not be shown. Only blank buffer shows up. Hope these bugs can be fixed.

Re: [O] Org-mode 8.3.1 bugs report

2015-08-06 Thread Nicolas Goaziou
Hello, Lei Zhe lzhe...@gmail.com writes: 1. Footnote is inserted right after the Footnote headline, not the end of this section. This is not a bug. You need to set `org-footnote-auto-adjust' to your liking. Regards, -- Nicolas Goaziou

Re: [O] Org-mode 8.3.1 bugs report

2015-08-06 Thread Lei Zhe
Sorry, I need to clarify my question. In my org files, some local customization like variables, LaTeX headers and options are also put in the `Footnotes' section. So it can be easier for me to change or append these things if they just come after the headline, especially in the case with large

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I would like something like this as well. The nearest I have found is to use column view. Is there anything wrong with it? Regards, -- Nicolas Goaziou

Re: [O] [BUG] org-collector.el broken by 8.3 beta

2015-08-06 Thread Charles Millar
Hi Bastien, On 08/04/2015 08:01 PM, Bastien Guerry wrote: Hi Charles, Charles Millar mill...@verizon.net writes: org-collector works as expected using GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on binet, modified by Debian Org: 8.2.10 release_8.2.10 but fails if

Re: [O] Org-mode 8.3.1 bugs report

2015-08-06 Thread Lei Zhe
Hi, I tried to customize `org-footnote-auto-adjust'. There are only kind of sort and renumber options. None of them can make the footnote appear at the end of `Footnotes' section. Regards, Zhe Lei On Thu, Aug 6, 2015 at 9:18 PM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Lei Zhe

Re: [O] problem with beamer slides

2015-08-06 Thread Eric S Fraga
On Thursday, 6 Aug 2015 at 12:15, Zhihao Ding wrote: Hi guys, I had some problems producing beamer slides after I installed emacs and org on a new computer. I am using emacs 24.4.1, and installed org (8.2.10 org-2018-08-03) using elpa. I don't seem to be able to get the frame environment

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Eric S Fraga
On Thursday, 6 Aug 2015 at 13:34, Nicolas Goaziou wrote: Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I would like something like this as well. The nearest I have found is to use column view. Is there anything wrong with it? Nothing per se. It's just that it's another mode of

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Matt Price
On Thu, Aug 6, 2015 at 7:34 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I would like something like this as well. The nearest I have found is to use column view. Is there anything wrong with it? I hadn't looked at column-view for

[O] problem with beamer slides

2015-08-06 Thread Zhihao Ding
Hi guys, I had some problems producing beamer slides after I installed emacs and org on a new computer. I am using emacs 24.4.1, and installed org (8.2.10 org-2018-08-03) using elpa. I don't seem to be able to get the frame environment even when I set the H in the options, e.g. :EXPORT_OPTIONS:

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Eric S Fraga
On Thursday, 6 Aug 2015 at 07:24, Matt Price wrote: [...] - I currently store my grades as properties of level-2 headlines. However, I would really like to be able to see the grades when the headline is folded, so I can have a quick visual sense of how many papers I've marked, I would like

Re: [O] problem with beamer slides

2015-08-06 Thread Zhihao Ding
I export the subtree, below is the org, and after that is the latex === * projects :PROPERTIES: :header-args: :cache yes :EXPORT_DATE: \today :EXPORT_AUTHOR: myname :EXPORT_LaTeX_HEADER+: \usepackage{array} :EXPORT_LaTeX_HEADER+: \usepackage{tikz} :EXPORT_LATEX_HEADER+:

Re: [O] Org-mode 8.3.1 bugs report

2015-08-06 Thread Nicolas Goaziou
Lei Zhe lzhe...@gmail.com writes: Hi, I tried to customize `org-footnote-auto-adjust'. There are only kind of sort and renumber options. None of them can make the footnote appear at the end of `Footnotes' section. Then I don't understand why it is an issue. Regards,

[O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-06 Thread Xebar Saram
Hi list I know this is a bit off topic but im desperately looking for some advice regarding email through emacs. i have tried a bunch of them over the last month (gnus, mu4e, wanderlust, rmail,mew and maybe other i forget). I had various levels of success with each one to setup (it was never

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread John Kitchin
How do you enter your grade? I use a function, bound to a convenient key like s-s g, which sets the grade property. You could have that function change the heading TODO state to DONE so you know it is done, and maybe add a tag with the grade, or just append the grade on the end of the headline. I

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-06 Thread Peter Davis
Xebar Saram zelt...@gmail.com writes: Hi list I know this is a bit off topic but im desperately looking for some advice regarding email through emacs. i have tried a bunch of them over the last month (gnus, mu4e, wanderlust, rmail,mew and maybe other i forget). I had various levels of

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-06 Thread Titus von der Malsburg
Seconded. Mu4e is one of my favorite things in Emacs and makes a big difference in my professional life. Its search capabilities are similar to those offered by Gmail but Mu4e is faster and I don’t need to be online. I wrote helm-mu to optimize the search experience even further (gives you

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-06 Thread Xebar Saram
thank so much everyone for your great tips and comments you gave me more energy to further pursue gnus and or mu4e thanks again Z On Thu, Aug 6, 2015 at 7:50 PM, Titus von der Malsburg malsb...@posteo.de wrote: Seconded. Mu4e is one of my favorite things in Emacs and makes a big

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Nick Dokos
Kaushal kaushal.m...@gmail.com writes: Hi all, There are quite few documents in which I want to update the date stamp to the last update time. I like that #+DATE keyword value is used aptly in latex/pdf and html exports. But I couldn't find an elegant way for that date to be updated to

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread John Kitchin
Here is an example syllabus: https://github.com/jkitchin/f15-06625/blob/master/syllabus.org I probably misuse the word rubric a bit, it means an assignment grade is determined by a few components, e.g. technical (70%) and presentation (30%) which are given full letter grades independently, and a

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Matt Price
I'm reading through gb-grade and grade.el, I see you do something interesting with rubrics, could you provide a link to a syllabus document with example rubrics? On Thu, Aug 6, 2015 at 10:19 AM, John Kitchin jkitc...@andrew.cmu.edu wrote: All my gradebook related stuff is here:

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread John Kitchin
I use a function like that here: https://github.com/jkitchin/jmax/blob/master/techela/techela-grade.el#L182 and to set the filetag as you suggest you would call it like this: #+BEGIN_SRC emacs-lisp (gb-set-filetag DATE (format-time-string %b %d %Y, %a (current-time))) #+END_SRC You could put

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread John Kitchin
Matt Price writes: This is fantastic, but it turns out my use case is a little more complex than I thought I've now bnaged my head against it for a hwile, might as well ask you for help! I have non-assignment level-1 headlines in my comments.org files: * Introduction let me explain how

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Kaushal
@Nick That works! Thank you! I used the below instead (learned that I needed to escape that comma). #+DATE: {{{time(%b %d %Y\, %a)}}} I had read about {{{date}}} but assumed that {{{time}}} does the same thing as {{{date}}} because they are put together with the same description. The

Re: [O] What is the best way to set #+DATE to today's date?

2015-08-06 Thread Kaushal
Why don't you just use a timestamp? But that would need me to insert the timestamp manually each time before exports You can update whenever you want or using (org-insert-time-stamp (current-time)) at the right spot. Wouldn't that too need manual navigation to #+date: and then eval that

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Matt Price
This is fantastic, but it turns out my use case is a little more complex than I thought I've now bnaged my head against it for a hwile, might as well ask you for help! I have non-assignment level-1 headlines in my comments.org files: * Introduction let me explain how this system works... and

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-06 Thread Eric S Fraga
On Thursday, 6 Aug 2015 at 15:43, Xebar Saram wrote: Hi list I know this is a bit off topic but im desperately looking for some advice regarding email through emacs. i have tried a bunch of them over the last month (gnus, mu4e, wanderlust, rmail,mew and maybe other i forget). I use gnus

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread John Kitchin
All my gradebook related stuff is here: https://github.com/jkitchin/jmax/tree/master/techela, and there is a lot of it ;) I have a whole ecosystem built around using git through emacs and org-mode with my students, which at this point even I find complex! For grading, I grade directly in the

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Nicolas Goaziou
Matt Price mopto...@gmail.com writes: However, it seems like I lose the color-coding for todo states, as well as bold for tags. It's a shame to lose that, since I rely on those visual cues a fair bit. That is now fixed in maint. Thank you. Regards,

Re: [O] Org-mode 8.3.1 bugs report

2015-08-06 Thread Nicolas Goaziou
Lei Zhe lzhe...@gmail.com writes: In my org files, some local customization like variables, LaTeX headers and options are also put in the `Footnotes' section. So it can be easier for me to change or append these things if they just come after the headline, especially in the case with large

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread Matt Price
On Thu, Aug 6, 2015 at 9:13 AM, John Kitchin jkitc...@andrew.cmu.edu wrote: How do you enter your grade? I use a function, bound to a convenient key like s-s g, which sets the grade property. You could have that function change the heading TODO state to DONE so you know it is done, and maybe

Re: [O] Showing Property in headline; generating table from properties; exporting table to CSV

2015-08-06 Thread John Kitchin
This gets you pretty close to what you want. I changed some grades to make it easier to see it is doing the right thing. #+BEGIN_SRC emacs-lisp (setq assignments '()) (setq students '()) ;; get assignments (org-map-entries (lambda () (when (= 1 (nth 0 (org-heading-components)))

[O] elpa upgrade to 8.3.1 on emacs 24.5

2015-08-06 Thread Paul Schlesinger
When I open an org file I get File mode specification error: (invalid-function setq-local) I just upgraded so I don't know of any other problems Paul Schlesinger -- Paul H. Schlesinger MD, PhD Washington University School of Medicine

Re: [O] [DEV] Bump Emacs requirement to 24.4?

2015-08-06 Thread Nicolas Goaziou
Robert Klein rokl...@roklein.de writes: On Wed, 05 Aug 2015 23:51:32 +0200 Rasmus ras...@gmx.us wrote: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Just to be sure, can we require Emacs 24.4 for development version (a.k.a. Org 8.4)? As a data point, Debian stable provides it. Are

Re: [O] [DEV] Bump Emacs requirement to 24.4?

2015-08-06 Thread Robert Klein
On Thu, 06 Aug 2015 10:03:17 +0200 Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Robert Klein rokl...@roklein.de writes: On Wed, 05 Aug 2015 23:51:32 +0200 Rasmus ras...@gmx.us wrote: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Just to be sure, can we require Emacs 24.4 for

Re: [O] 8.3 hangs

2015-08-06 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: ret and tab and sort hang emacs. previously i got Error running timer `org-element--cache-sync': (wrong-type-argument integer-or-marker-p nil). tdoq at hang produces this (not running on source only): Debugger entered--Lisp error: (quit)

[O] 8.3 hangs

2015-08-06 Thread Samuel Wales
ret and tab and sort hang emacs. previously i got Error running timer `org-element--cache-sync': (wrong-type-argument integer-or-marker-p nil). tdoq at hang produces this (not running on source only): Debugger entered--Lisp error: (quit) org-element--cache-compare...

Re: [O] elpa upgrade to 8.3.1 on emacs 24.5

2015-08-06 Thread Kaushal
That's odd. `setq-local` macro was added in emacs 24.3; it is in subr.el. (defmacro setq-local (var val) Set variable VAR to value VAL in current buffer. ;; Can't use backquote here, it's too early in the bootstrap. (list 'set (list 'make-local-variable (list 'quote var)) val)) --

Re: [O] Status of macro expansion

2015-08-06 Thread Fabrice Popineau
2015-08-06 18:03 GMT+02:00 Nicolas Goaziou m...@nicolasgoaziou.fr: AFAICT the first macro is correctly expanded. What makes you think it doesn't work? Arrgh. My mistake. It expands as I expected if I write the macro as: #+MACRO: leftcolumn @@html:div class=left@@$1@@html:/div@@ However,

Re: [O] sudo uninstall org? Can it be done?

2015-08-06 Thread Kaushal
I do not need to manually remove the inbuilt emacs. I install org-mode with contrib included from elpa: org-plus-contrib is the package name you will see in the package manager. I have these in the following order: ;; For org-plus-contrib (add-to-list 'package-archives '(org .

Re: [O] elpa upgrade to 8.3.1 on emacs 24.5

2015-08-06 Thread Kaushal
But the surprising thing is that Paul mentioned in the subject line that he's on emacs 24.5. -- Kaushal Modi On Thu, Aug 6, 2015 at 10:54 AM, Rasmus ras...@gmx.us wrote: Hi, Paul Schlesinger phschlesin...@gmail.com writes: When I open an org file I get File mode specification error:

Re: [O] elpa upgrade to 8.3.1 on emacs 24.5

2015-08-06 Thread Rasmus
Hi, Paul Schlesinger phschlesin...@gmail.com writes: When I open an org file I get File mode specification error: (invalid-function setq-local) I just upgraded so I don't know of any other problems setq-local only seems to be used in contrib. Contrib'ed files aren't targeted a particular

Re: [O] Bug: exporter bug [8.3.1 (8.3.1-elpaplus @ /home/dfeich/.emacs.d/elpa/org-plus-contrib-20150805/)]

2015-08-06 Thread Derek Feichtinger
Hi Nicolas I must apologize to you. Following your mail, I now did a completely clean rebuild from a naked emacs -Q, and it works fine. I should have made that my default way of installing org for a long time, but the simple recompiling often worked fine - not this time... sorry, again. Thank

Re: [O] [DEV] Bump Emacs requirement to 24.4?

2015-08-06 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Bumping requirements to Emacs 24.3 instead of 24.4 is no biggie. 24.4 is just icing on the cake. I don't care about 24.{3,4,5}. In the end, on a very pragmatic level it's a question of which machines are shown on David's buildbot... Personally,

Re: [O] sudo uninstall org? Can it be done?

2015-08-06 Thread Achim Gratz
Sharon Kimble writes: So I'm now running with org-mode - ╭ │Org-mode version 8.2.10 (release_8.2.10 @ /usr/local/share/emacs/24.5.50/lisp/org/) ╰ How can I remove this version please? How can I install the package manager version of org without the 'org-babel-etc' error message

[O] Status of macro expansion

2015-08-06 Thread Fabrice Popineau
Hi, I was looking at what text can serve as macro arguments and it seems there are a couple of restrictions. Namely, if I export the following to html: #+MACRO: leftcolumn @@html:div class=left$1/div@@ #+MACRO: rightcolumn @@html:div class=right$1/div@@ * Title ** Section {{{leftcolumn(

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-06 Thread Jorge A. Alfaro-Murillo
Xebar Saram writes: What i want is basically pretty simple. an easy to setup email for emacs, but one that would work tightly with gmail since i do a lot of mail checking on the road via my cellphone. any advise. recommendations or setups that maybe people are willing to share? The setup