Re: [O] Transforming org-mode project in Gantt graphes

2015-01-02 Thread Dain Miller
I really love this Alexandre! I have yet to use it, but it has given me ideas 
for a similar tool. 




It did make me realize I would love to see your project management org mode 
system. I also manage projects at my work but don’t use org mode for that (some 
tasks but thats it). Do you have anything written up on how you do it?




Cheers

- Dain

On Fri, Jan 2, 2015 at 3:45 AM, Alexandre Norman nor...@xael.org wrote:

 Hello,
 Sorry, forgotten file. I added it to the archive, it should be ok, right
 now.
 Regards,
 Alexandre
 On Thu, Jan 1, 2015 at 11:06 PM, Manish mailtomanish.sha...@gmail.com
 wrote:
 ​  On Tue, Dec 30, 2014 at 1:49 PM, Alexandre Norman wrote:
   
Hello,
   
I just wrote two python scripts to transform a project managed in
org-mode in (beautifull) gantt graphes.
   
You could find more here :
- example of generated graphes :
  - http://xael.org/norman/python/org2gantt/project.svg
  - http://xael.org/norman/python/org2gantt/project_ressources.svg
- explanations : http://xael.org/norman/python/org2gantt/README.org
- the whole thing :
http://xael.org/norman/python/org2gantt/org2gantt.tar.gz
   
Of course, it is in an early release... Seems to work but not deeply
tested yet.  Comments or improvements are welcome !

 Thanks for sharing.  It looks interesting.  Could you include the
 example.org that you mention in README.org, in the tar file as well?

 Regards,
 -Manish



Re: [O] Conducting end user surveys and analyze data (was: Org-mode to feed a database)

2015-01-02 Thread Marcin Borkowski

On 2015-01-01, at 17:22, Karl Voit devn...@karl-voit.at wrote:

 * Marcin Borkowski mb...@wmi.amu.edu.pl wrote:

 On 2014-12-31, at 14:49, Ista Zahn istaz...@gmail.com wrote:

 Yes, google is very convenient.

 That's why they're so dangerous.

 In case you're survey data contains privacy-related sensible data,
 you can not use Google anyhow - I do think that there's no need to
 mention this explicitly in this community.

Yes, but not only this.  You get accustomed to a nice service, like
Google Reader, and then boom! and it disappears.  How could one rely on
Gmail now?

(Disclaimer: I use neither, i.e., I /do/ use Gmail, but not for critical
stuff.  Anecdote: I used to use my private mail account for one
particular purpose, but when people I exchanged email with started to
send me scanned documents in pretty high resolution /and in bmp format/,
I decided it's time to switch to Gmail...)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



Re: [O] Conducting end user surveys and analyze data

2015-01-02 Thread Paul Rudin
Marcin Borkowski mb...@wmi.amu.edu.pl writes:

 On 2015-01-01, at 17:22, Karl Voit devn...@karl-voit.at wrote:

 * Marcin Borkowski mb...@wmi.amu.edu.pl wrote:

 On 2014-12-31, at 14:49, Ista Zahn istaz...@gmail.com wrote:

 Yes, google is very convenient.

 That's why they're so dangerous.

 In case you're survey data contains privacy-related sensible data,
 you can not use Google anyhow - I do think that there's no need to
 mention this explicitly in this community.

 Yes, but not only this.  You get accustomed to a nice service, like
 Google Reader, and then boom! and it disappears.  How could one rely on
 Gmail now?


Well - you can't rely on anyone else beyond that which they're
contractually (or statutorily) obliged to provide (and even then they
might go out of business). But you can pull all your email out of gmail
via pop or imap, so it's not like you'll lose your emails. At worst
you'd lose your email address (although if you register a domain name
then you can keep your email address and still use gmail for as long as
it's there and some other provider later).

On the privacy point, you can send encrypted data via non-secure email
providers.




Re: [O] Transforming org-mode project in Gantt graphes

2015-01-02 Thread Alexandre Norman
Hello,

Sorry, forgotten file. I added it to the archive, it should be ok, right
now.

Regards,
Alexandre

On Thu, Jan 1, 2015 at 11:06 PM, Manish mailtomanish.sha...@gmail.com
wrote:

 ​  On Tue, Dec 30, 2014 at 1:49 PM, Alexandre Norman wrote:
   
Hello,
   
I just wrote two python scripts to transform a project managed in
org-mode in (beautifull) gantt graphes.
   
You could find more here :
- example of generated graphes :
  - http://xael.org/norman/python/org2gantt/project.svg
  - http://xael.org/norman/python/org2gantt/project_ressources.svg
- explanations : http://xael.org/norman/python/org2gantt/README.org
- the whole thing :
http://xael.org/norman/python/org2gantt/org2gantt.tar.gz
   
Of course, it is in an early release... Seems to work but not deeply
tested yet.  Comments or improvements are welcome !

 Thanks for sharing.  It looks interesting.  Could you include the
 example.org that you mention in README.org, in the tar file as well?

 Regards,
 -Manish




Re: [O] ASCII export w/ citations

2015-01-02 Thread Ken Mankoff

* On 2015-01-01 at 15:45, Nicolas Goaziou m...@nicolasgoaziou.fr wrote:
 Anyway, custom export functions during ASCII export are not supported
 in 8.2.10. I fixed it in 8.3. You may want to update Org to test the
 new behaviour.

I don't see mention of custom export functions in the manual. Is there a
page describing how I would use these, or can you provide an example
that would stop printing of links in ASCII export?




[O] Timestamps united similar a diary

2015-01-02 Thread Distopico Vegan
Hi everyone, i have a question...
Is there way to organized org-mode Timestamps similar to diary?

Example:
--
Friday
8:30am Scrum daily
12:00pm Lunch
---

without repeating in org-mode %% (MemQ (calendar-day-of-week date)
'(5)) for each time entry

Example:
--
* Fryday
** 8:30am Scrum Daily
   %% (MemQ (calendar-day-of-week date)'(5))
** 12:00pm Lunch
   %% (MemQ (calendar-day-of-week date)'(5))


thanks for you helm and time

Distopico Vegan

--
Sent with my mu4e



Re: [O] org-babel for prolog

2015-01-02 Thread Bjarte Johansen
I thought you should know that I moved the project here: 
https://github.com/ljos/ob-prolog https://github.com/ljos/ob-prolog This 
makes it a bit easier for me to track issues and do proper commit-messages etc.

I have now implemented the session stuff properly (I think). I still have to 
implement the variable stuff and expansion of the body (or I can perhaps just 
use the generic function). 


 19. des. 2014 kl. 16.25 skrev Bjarte Johansen 
 bjarte.johan...@infomedia.uib.no:
 
 I just wanted to report that it is now possible to evaluate prolog code and 
 it should return the correct result. Both as a call to the executable and in 
 a session. When calling a goal in a session, I add a cut at the end of the 
 goal so that prolog doesn’t ask if you want to get the next possible answer. 
 I am not sure if this is the best approach.
 
 I haven’t implemented variable assignment yet because I haven’t decided how 
 it should do that considering how prolog uses variables. If someone has any 
 ideas for this I would be glad to hear them. I have considered entering the 
 variables into the prolog database with the record predicates or replacing 
 all prolog variables with the same name as in the var declaration with the 
 value. The last one I don’t think is a particularly good idea, except if we 
 only replace the free variables.
 
 Regards,
 Bjarte
 
 
 10. des. 2014 kl. 18.20 skrev Bjarte Johansen 
 bjarte.johan...@infomedia.uib.no mailto:bjarte.johan...@infomedia.uib.no:
 
 Hi,
 
 I have started to implement org-babel support for (swi-)prolog. I have 
 gotten to the point where I can execute a goal in an external process and 
 have the result show up in the org file. I am now working on getting the 
 session to work correctly. It runs and prints, but it doesn’t do the correct 
 thing in the inferior-mode-buffer and the output is garbled. I still have 
 some work ahead of me.
 
 I just thought I would let you know in case someone was interested in 
 following the progress or maybe also in helping me. I have the mode hosted 
 in its current state here https://gist.github.com/ljos/2e346333e1b7bfd56d05 
 https://gist.github.com/ljos/2e346333e1b7bfd56d05 . 
 
 And before you ask, yes, if I get this into a working order, I would 
 eventually be interested in getting this into either contrib or core.
 
 Regards,
 Bjarte
 



Re: [O] ascii does not fill

2015-01-02 Thread Grant Rettke
What version of Emacs and org are you on?

What actions did you take?

What were you expected results?

What were you actual results?

On Fri, Jan 2, 2015 at 7:53 PM, Samuel Wales samolog...@gmail.com wrote:
 in org maint, in ascii export, i get a lot of filling glitches.

   (setq org-ascii-inner-margin 2)
   (setq org-ascii-quote-margin 4)
   (setq org-ascii-text-width 60)

 #+begin_quote
 There are armies of kowtowing defenders of corruption.  They
 are destroying science.[fn:: Some of these armies think they
 ...]
 #+end_quote

 thanks.


 samuel

 --
 The Kafka Pandemic: http://thekafkapandemic.blogspot.com

 The disease DOES progress.  MANY people have died from it.  And
 ANYBODY can get it.

 Denmark: free Karina Hansen NOW.




-- 
Grant Rettke
g...@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson



[O] org-sort says user-error: Region to sort contains a level above the first entry

2015-01-02 Thread Samuel Wales
org-sort says user-error: Region to sort contains a level above the
first entry

in org maint, i sometimes get this error, but i don't know
why.  it sometimes occurs when i do c-c ^ on an entry that
contains children.  the region is not active.

it does not happen for all subtrees.  i do not know what causes it.
it is recent.


samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.



[O] ascii does not fill

2015-01-02 Thread Samuel Wales
in org maint, in ascii export, i get a lot of filling glitches.

  (setq org-ascii-inner-margin 2)
  (setq org-ascii-quote-margin 4)
  (setq org-ascii-text-width 60)

#+begin_quote
There are armies of kowtowing defenders of corruption.  They
are destroying science.[fn:: Some of these armies think they
...]
#+end_quote

thanks.


samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.



[O] failure mode of capture file+headline

2015-01-02 Thread Samuel Wales
file+headline falls back to creating a new task at the end of the
buffer if the target does not exist.  is there an option to make it
error?  i know i can use id instead.


samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.



Re: [O] ascii does not fill

2015-01-02 Thread Samuel Wales
hi grant,

user error, this one.  please disregard.

thanks.



[O] OT: Cloud-dependencies, privacy, decentralization (was: Conducting end user surveys and analyze data)

2015-01-02 Thread Karl Voit
* Marcin Borkowski mb...@wmi.amu.edu.pl wrote:

 On 2015-01-01, at 17:22, Karl Voit devn...@karl-voit.at wrote:

 * Marcin Borkowski mb...@wmi.amu.edu.pl wrote:

 On 2014-12-31, at 14:49, Ista Zahn istaz...@gmail.com wrote:

 Yes, google is very convenient.
 That's why they're so dangerous.

 In case you're survey data contains privacy-related sensible data,
 you can not use Google anyhow - I do think that there's no need to
 mention this explicitly in this community.

 Yes, but not only this.  You get accustomed to a nice service, like
 Google Reader, and then boom! and it disappears.  

I am 100% on your side.

In my opinion, you should avoid cloud/vendor lock-in as much as
possible wherever you can even with additional effort. You'll be
rewarded on the long run. 

Org-mode is able to replace *many* things including some fancy cloud
services like Evernote.

 How could one rely on Gmail now?

Even I do think that Gmail will never be discontinued (in general)
as long as Google will exist. It will be changed in a way that you
are not going to like - this is for sure. But Gmail is going down
not before the day that Google will go down. And I do also think
that we are going to see both days in the next twenty years.

However, I also grieve for Google Reader, Google Code Search, Google
Wave and lots of other discontinued services I was investing my
time. I learned from these mistakes. Most people don't.

 (Disclaimer: I use neither, i.e., I /do/ use Gmail, but not for critical
 stuff.  Anecdote: I used to use my private mail account for one
 particular purpose, but when people I exchanged email with started to
 send me scanned documents in pretty high resolution /and in bmp format/,
 I decided it's time to switch to Gmail...)

I do not use any Google service at all besides Google search
which is giving me better search results than DuchDuckGo -
unfortunately.

And no cloud service is ever going to get my complete set of emails.
This is *way* too sensible in my opinion.

Although I have to confess that GMail offers the best mail
experience out there, I stick with my ssh+mutt+gvim setup. It works
quite well for me and I can do tons of stuff that Gmail (or any
other cloud service or MUA) will never be able to deliver. 

For example, my mail address book is generated from my org-contacts
file. And the same goes for my mail filters (whitelisting) and
from-addresses (I am using different addresses for different
purposes). This flexibility is not possible when you've got a
monolithic MUA with no open interfaces.

This is no strategy for an average computer user - I agree. But hey,
I want to get advantages out of 25 years of learning IT :-)

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
get Memacs from https://github.com/novoid/Memacs 

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github




[O] html export using html5 elements and bootstrap framework

2015-01-02 Thread R C
I would like to have org mode export a project using html5 elements and
bootstrap framework adapting the worg tutorial: org-publish-html-tutorial.html 

I set it up as:
- minimal org file to be published: ~/web/p2/org/tst.org
#+SETUPFILE: ~/web/org-templates/level-0.org
#+TITLE: Testing
* heading 1
  abc

- template with links to bootstrap css and js files, and a local.js file
with my macro definitions for mathjax: ~/web/org-templates/level-0.org 
with lines of the form:
#+STYLE:   link href=css/bootstrap.min.css rel=stylesheet media=screen
etc

- my project is setup as:
  (p2-org
   :base-directory ~/web/p2/org
   :publishing-directory ~/web/p2/public_html
   :recursive t
   :base-extension org
   :publishing-function org-html-publish-to-html
   :style-include-default nil
   :creator-info nil)
  (p2-extra
   :base-directory ~/web/p2/org
   :publishing-directory ~/web/p2/public_html
   :base-extension css\\|pdf\\|png\\|jpg\\|gif
   :publishing-function org-publish-attachment
   :recursive t
   :author nil)
  (p2
   :components (p2-org p2-extra

I also have: (setq org-html-html5-fancy t)

However tst.html does not show any inclusions from the level-0.org file and
does not seem to use the html5 doctype:
?xml version=1.0 encoding=utf-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en
head
titleTesting/title
!-- 2015-01-02 Fri 10:41 --
meta  http-equiv=Content-Type content=text/html;charset=utf-8 /
meta  name=generator content=Org-mode /

script type=text/javascript src=js/org-info.js
...
/script
/head
body
div id=content
h1 class=titleTesting/h1
div id=table-of-contents
h2Table of Contents/h2
div id=text-table-of-contents
ul
lia href=#sec-1heading 1/a/li
/ul
/div
/div

div id=outline-container-sec-1 class=outline-2
h2 id=sec-1heading 1/h2





[O] OT: Gmail and cloud-dependencies (was: Conducting end user surveys and analyze data)

2015-01-02 Thread Karl Voit
* Paul Rudin p...@rudin.co.uk wrote:

 But you can pull all your email out of gmail via pop or imap, so
 it's not like you'll lose your emails. 

There are cases where people lost access to Gmail instantly because
of false accusations or idendity theft. You have to prepare *now*
for not losing yous emails if you don't synchronize often.

 At worst you'd lose your email address (although if you register a
 domain name then you can keep your email address and still use
 gmail for as long as it's there and some other provider later).

You'll lose some more. At least you are going to lose your labels
AFAIR.

 On the privacy point, you can send encrypted data via non-secure
 email providers.

But that's even more pain in the a**.

Besides the point that you'll lose search functionality on Gmail,
you have to find a reliable system that supports you with de- and
encryption. Then you have to trust those tools which are often
browser-based. I would not trust web-browser-modules and
web-browsers at all. Those tools will never see my private GnuPG
key.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
get Memacs from https://github.com/novoid/Memacs 

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github




Re: [O] org tables into R?

2015-01-02 Thread Andreas Leha
Hi Michael,

Michael Gauland mikely...@gmail.com writes:
 I want to use an R block to manipulate data from an org table, but I'm not
 getting what I expect. 

 If I define a table like this:

   #+NAME: data
   |   A |   B |  C |

   |-+-+|
   | 115 |  76 | 60 |
   | 124 |  78 | 55 |
   | 118 |  73 | 65 |
   | 114 |  75 | 61 |
   | 108 |  74 | 82 |

 and pass it into R like this:

   #+BEGIN_SRC R :results output :exports both :session :var data.table=data
   names(data.table)
   head(data.table)
   #+END_SRC

 I expect to get a table with three columns (A, B, and C), but instead I
 seem to get a single column named A.B.C:

   #+RESULTS:
   : [1] A.B.C
   :   A.B.C
   : 1 115 76 60
   : 2 124 78 55
   : 3 118 73 65
   : 4 114 75 61
   : 5 108 74 82


 What am I doing wrong?

I believe, that this is a bug that has been reported already [1] and is
still open.

Regards,
Andreas

[1] 
http://news.gmane.org/find-root.php?message_id=olulhmmtei5.fsf%40med.uni%2dgoettingen.de





Re: [O] ASCII export w/ citations

2015-01-02 Thread Nicolas Goaziou
Ken Mankoff mank...@gmail.com writes:

 I don't see mention of custom export functions in the manual. Is there a
 page describing how I would use these, or can you provide an example
 that would stop printing of links in ASCII export?

In your initial mail, you wrote

  (org-add-link-type
   cite  (lambda (key) (org-open-file cby-references-file t nil key))
   (lambda (path desc format)
 (cond
  ((eq format 'latex) (format \\autocite{%s} path))
  ((eq format 'ascii) (format [@%s] path))
  )))

The second lambda is a custom export function for cite links.

Anyway, I think you should update Org as the behaviour is different than
in your initial mail.

BTW, if you want to remove all links from ASCII export, use an export
filter.

Regards,



Re: [O] Entering Repeating Scheduled Tasks in the Minibuffer

2015-01-02 Thread Kenneth Jacker
  ji Have you tried 2014-12-15 +1m for a monthly repeater?
  ji 2014-12-15 +1w for a weekly repeater and
  ji 2014-12-15 +1d for a daily repeater.

Yes, I'm already doing that and all of them work.


But, that's not my issue ...

I can add the +1m (or whatever) in a newly created capture buffer
*after* I type the date/time, task description, and ENTER.

But how to do this sooner?


I'd like to enter something like Jan 7 +1y in the mini-buffer while
creating the new item.

Maybe there is a way to do this, but I don't know how!  ;-)

Sorry if this is still unclear ... hard to describe ...


Thanks for your comments,

  -Kenneth



[O] org tables into R?

2015-01-02 Thread Michael Gauland
I want to use an R block to manipulate data from an org table, but I'm not
getting what I expect. 

If I define a table like this:

  #+NAME: data
  |   A |   B |  C |
  |-+-+|
  | 115 |  76 | 60 |
  | 124 |  78 | 55 |
  | 118 |  73 | 65 |
  | 114 |  75 | 61 |
  | 108 |  74 | 82 |

and pass it into R like this:

  #+BEGIN_SRC R :results output :exports both :session :var data.table=data
  names(data.table)
  head(data.table)
  #+END_SRC

I expect to get a table with three columns (A, B, and C), but instead I
seem to get a single column named A.B.C:

  #+RESULTS:
  : [1] A.B.C
  :   A.B.C
  : 1 115 76 60
  : 2 124 78 55
  : 3 118 73 65
  : 4 114 75 61
  : 5 108 74 82


What am I doing wrong?

Thanks,
Michael Gauland




Re: [O] ASCII export w/ citations

2015-01-02 Thread Ken Mankoff


* On 2015-01-02 at 15:42, Nicolas Goaziou m...@nicolasgoaziou.fr wrote:
 Ken Mankoff mank...@gmail.com writes:

 In your initial mail, you wrote

   (org-add-link-type
cite  (lambda (key) (org-open-file cby-references-file t nil key))
(lambda (path desc format)
  (cond
   ((eq format 'latex) (format \\autocite{%s} path))
   ((eq format 'ascii) (format [@%s] path))
   )))

 The second lambda is a custom export function for cite links.

 Anyway, I think you should update Org as the behaviour is different
 than in your initial mail.

Yes everything works well now with the updated (Git) Org.

Thanks,

  -k.



Re: [O] org tables into R?

2015-01-02 Thread Vikas Rawal

 Michael Gauland mikely...@gmail.com mailto:mikely...@gmail.com writes:
 I want to use an R block to manipulate data from an org table, but I'm not
 getting what I expect. 
 
 


 
 What am I doing wrong?
 
 I believe, that this is a bug that has been reported already [1] and is
 still open.
 

The code sent by Michael works fine for me (that it, the org table is read as a 
data.frame).

It may help to upgrade your org-mode. What version are you on?

Vikas



Re: [O] Redirecting stderr to stdout with babel/shell

2015-01-02 Thread Samuel Wales
hi karl,

i always wrap as follows and it works for me.

{
  your code
} 21
:

the : eliminates fancy error handling.  i find that much less confusing.


samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.



[O] What might open some org file?

2015-01-02 Thread Marcin Borkowski
Hi there,

I have a strange problem.  When I hit C-a a (org-agenda), Emacs opens
some org files not present in org-agenda-files (which contains only one
directory).  One of these files is mentioned (in the form of a link) in
one of the agenda files, but the other one is not.

How is that possible?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



[O] [PATCH] Patches for agenda exiting commands

2015-01-02 Thread Kyle Meyer
Hello,

I've attached a few patches related to the agenda exiting commands.
Please let me know any comments.

-- 
Kyle

From eda6e1d681ba11d427fe37cfe8af966e82ebab2d Mon Sep 17 00:00:00 2001
From: Kyle Meyer k...@kyleam.com
Date: Fri, 2 Jan 2015 17:38:19 -0500
Subject: [PATCH 1/5] org-agenda: Fix exiting function docstrings

* lisp/org-agenda.el (org-agenda-Quit):
* lisp/org-agenda.el (org-agenda-quit):
* lisp/org-agenda.el (org-agenda-exit): Correct and expand docstrings.
---
 lisp/org-agenda.el | 24 +---
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 5990bbb..49eb07b 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7173,8 +7173,9 @@ (defun org-agenda-check-type (error rest types)
 	nil
 
 (defun org-agenda-Quit ()
-  Exit the agenda and kill buffers loaded by `org-agenda'.
-Also restore the window configuration.
+  Exit the agenda, killing the agenda buffer.
+Like `org-agenda-quit', but kill the buffer even when
+`org-agenda-sticky' is non-nil.
   (interactive)
   (if org-agenda-columns-active
   (org-columns-quit)
@@ -7202,8 +7203,16 @@ (defun org-agenda-Quit ()
 	 (setq org-agenda-pre-window-conf nil
 
 (defun org-agenda-quit ()
-  Exit the agenda and restore the window configuration.
-When `org-agenda-sticky' is non-nil, only bury the agenda.
+  Exit the agenda.
+
+When `org-agenda-sticky' is non-nil, bury the agenda buffer
+instead of killing it.
+
+When `org-agenda-restore-windows-after-quit' is non-nil, restore
+the pre-agenda window configuration.
+
+When column view is active, exit column view instead of the
+agenda.
   (interactive)
   (if (and (eq org-indirect-buffer-display 'other-window)
 	   org-last-indirect-buffer)
@@ -7232,9 +7241,10 @@ (defun org-agenda-quit ()
   (org-agenda-Quit
 
 (defun org-agenda-exit ()
-  Exit the agenda and restore the window configuration.
-Also kill Org-mode buffers loaded by `org-agenda'.  Org-mode
-buffers visited directly by the user will not be touched.
+  Exit the agenda, killing Org buffers loaded by the agenda.
+Like `org-agenda-Quit', but kill any buffers that were created by
+the agenda.  Org buffers visited directly by the user will not be
+touched.
   (interactive)
   (org-release-buffers org-agenda-new-buffers)
   (setq org-agenda-new-buffers nil)
-- 
2.2.1

From 44b71bf3a82ca16037252b13aee491e9807a7c4a Mon Sep 17 00:00:00 2001
From: Kyle Meyer k...@kyleam.com
Date: Fri, 2 Jan 2015 17:38:24 -0500
Subject: [PATCH 2/5] org-agenda-exit: Check column view

* lisp/org-agenda.el (org-agenda-exit): Exit column view before trying to
  exit agenda.

Running org-agenda-exit in column view deleted all buffers loaded by the
agenda, but it didn't actually exit the agenda because, if the agenda is
in column view, org-agenda-Quit turns off column view instead of killing
the agenda.  So org-agenda-exit should either just quit column view if
it is active (and not delete the loaded buffers or quit the agenda) or
make sure that the agenda is not in column view before killing it.
Since org-agenda-Quit and org-agenda-quit already do the former, make
org-agenda-exit completely exit the agenda regardless of whether it is
in column view.
---
 lisp/org-agenda.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 49eb07b..1446d21 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7244,8 +7244,10 @@ (defun org-agenda-exit ()
   Exit the agenda, killing Org buffers loaded by the agenda.
 Like `org-agenda-Quit', but kill any buffers that were created by
 the agenda.  Org buffers visited directly by the user will not be
-touched.
+touched.  Also, exit the agenda even if it is in column view.
   (interactive)
+  (when org-agenda-columns-active
+(org-columns-quit))
   (org-release-buffers org-agenda-new-buffers)
   (setq org-agenda-new-buffers nil)
   (org-agenda-Quit))
-- 
2.2.1

From 6af4d934882720e36228c4b7cc3013829e9bab0b Mon Sep 17 00:00:00 2001
From: Kyle Meyer k...@kyleam.com
Date: Fri, 2 Jan 2015 17:38:30 -0500
Subject: [PATCH 3/5] org-agenda-Quit: Remove unnecessary function calls

* lisp/org-agenda.el (org-agenda-Quit): Remove unnecessary function calls.

- org-agenda-Quit turns off column view if it is active, instead of
  killing the agenda buffer, so there is no need to call
  org-columns-remove-overlays when killing the buffer.
- org-agenda-reset-markers is already called when the kill-buffer-hook
  is run.
---
 lisp/org-agenda.el | 4 
 1 file changed, 4 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 1446d21..2fbfacc 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7182,17 +7182,13 @@ (defun org-agenda-Quit ()
 (let ((buf (current-buffer)))
   (if (eq org-agenda-window-setup 'other-frame)
 	  (progn
-	(org-agenda-reset-markers)
 	(kill-buffer buf)
-	(org-columns-remove-overlays)
 	(setq