[O] Org Mode dedicated app on OS X

2011-07-04 Thread Ken Mankoff
Hi, I'm just beginning to use org-mode on OS X. I'm in a terminal a lot, and in Aquamacs Emacs a lot too, but not all the time. To make it easier to use org-mode, I would like to give it a dedicated app with the org-mode icon (unicorn) in the dock. Is there a way to do this? Fluid.app is a s

Re: [O] Org Mode dedicated app on OS X

2011-07-05 Thread Ken Mankoff
Hi Stefan, Thanks for the tips. Most already done. On Tue, 5 Jul 2011, Stefan Vollmar wrote: you could start with an Emacs-typical approach by editing your ~/.emacs-file so that .org-files are automatically opened with org-mode Yes I've followed the initial instructions and love that emacs k

[O] Org, Mobile Org, & DropBox

2012-08-08 Thread Ken Mankoff
Hi, I'm interested in using Mobile Org (on 2 devices) & DropBox. However, the mobile devices are read-only. Do I need to do the org-mobile-push and have the files move from ~/org to ~/Dropbox/MobileOrg, or can I just store all my org files in ~/Dropbox/MobileOrg and not worry about syncing,

[O] auto-push to mobile (but only when editing org buffer)

2012-08-14 Thread Ken Mankoff
I'm trying to set up auto-pushing via org-mobile-push to make org-mode work more seamlessly with the iPhone. I have the following in my .emacs: (run-at-time "00:10" 10 'org-mobile-push) which is running org-mobile-push every 10 seconds. This is for testing. I'll reduce it to every 5 minutes once

Re: [O] auto-push to mobile (but only when editing org buffer)

2012-08-14 Thread Ken Mankoff
How can I wrap that to only run when the active buffer is in Org Mode? (run-at-time "00:10" 10 (lambda () (if (eq major-mode 'org-mode) (org-mobile-push That works well. After reading run-at-time documentation, the "00:10" isn't ideal. I now use the following, which syncs files every

Re: [O] auto-push to mobile (but only when editing org buffer)

2012-08-16 Thread Ken Mankoff
Hi Marcel, On Wed, Aug 15, 2012 at 12:33 AM, Marcel van der Boom wrote: > Perhaps you will find https://gist.github.com/3111823 interesting. It > contains a bit of code to do the org-mobile-push asynchronously (and > notify me about it when done). This makes the push work in the > background, in

[O] Load Custom Agenda at emacs launch

2012-08-16 Thread Ken Mankoff
Hi, I find the first thing I do after launching emacs is to load my custom agenda, bound to C-c a c. Is there a way I can launch this from the command-line? I know I can run 'emacs -eval "(foo)"', but I haven't been able to determine the function that loads my custom agenda. Does such a function

Re: [O] Load Custom Agenda at emacs launch

2012-08-16 Thread Ken Mankoff
Hi Eric, On Thu, Aug 16, 2012 at 3:50 PM, Eric Abrahamsen wrote: > On Fri, Aug 17 2012, Ken Mankoff wrote: > >> Hi, >> >> I find the first thing I do after launching emacs is to load my custom >> agenda, bound to C-c a c. >> >> Is there a way I can launc

Re: [O] Load Custom Agenda at emacs launch

2012-08-16 Thread Ken Mankoff
On Thu, Aug 16, 2012 at 8:25 PM, Nick Dokos wrote: > > Try > > emacs -q -l /path/to/minimal/org.el\ >--eval '(progn (setq org-agenda-window-setup (quote current-window)) > (org-agenda nil "c" nil))' > > Nick Works perfectly! Thank you. -k.

Re: [O] auto-push to mobile (but only when editing org buffer)

2012-08-17 Thread Ken Mankoff
On Thu, Aug 16, 2012 at 2:54 PM, Ken Mankoff wrote: > Hi Marcel, > > On Wed, Aug 15, 2012 at 12:33 AM, Marcel van der Boom > wrote: >> Perhaps you will find https://gist.github.com/3111823 interesting. It >> contains a bit of code to do the org-mobile-push asynchronously

[O] timestamped items not showing in today agenda view

2012-08-20 Thread Ken Mankoff
Hi, I have an issue where items that are scheduled with a timestamp don't show up in an agenda view. I have the following three views: (tags-todo "+DEADLINE<=\"<+3d>\"") (tags-todo "+SCHEDULED<=\"\"") (agenda "") If I have items: * Foo SCHEDULED: <2012-12-20 12:34> * Bar DEADLINE: <2012-12

Re: [O] timestamped items not showing in today agenda view

2012-08-21 Thread Ken Mankoff
Hi Bastien, On Wed, 22 Aug 2012, Bastien wrote: Can you tell what is the value of these variables? org-agenda-todo-ignore-deadlines org-agenda-todo-ignore-scheduled org-agenda-todo-ignore-timestamp org-agenda-todo-ignore-with-date org-agenda-tags-todo-honor-ignore-options At the time I wrote

Re: [O] timestamped items not showing in today agenda view

2012-08-27 Thread Ken Mankoff
Hi List, Just to follow up on this, Bastien helped me figure it out off-list. The solution is to use or in place of , and some combination of < or <= depending on exactly what you want to see where and when. -k. On Wed, Aug 22, 2012 at 1:59 AM, Bastien wrote: > Hi Ken, > &

[O] Filtering Agenda View

2012-09-05 Thread Ken Mankoff
I'd like my agenda to not show waiting items. I'm not sure of the best way to implement this, but my current solution has been: (agenda "" ( (org-agenda-overriding-header "Scheduled") (org-agenda

Re: [O] Filtering Agenda View

2012-09-08 Thread Ken Mankoff
On Thu, Sep 6, 2012 at 9:27 AM, Memnon Anon wrote: > > Does that help? > It does perfectly. Thanks. That was an obvious one in the documentation. Sorry for not finding it myself... -k.

[O] external process modifying buffers

2012-09-16 Thread Ken Mankoff
Hi, I'd like to have my Mac iCal events appear in my agenda. I was using org-mac-iCal for this without problem, but it doesn't parse things as well as the external python ical2org program (http://www.doughellmann.com/projects/ical2org/). Right now I'm running ical2org via cron and re-generating i

Re: [O] external process modifying buffers

2012-09-16 Thread Ken Mankoff
Sun, Sep 16, 2012 at 2:08 PM, Charles Philip Chan wrote: > Ken Mankoff writes: > > Hi Ken: > >> Right now I'm running ical2org via cron and re-generating iCal.org >> (redirecting stdout with ">"). When I try to regenerate the agenda, >> emacs compla

Re: [O] external process modifying buffers

2012-10-13 Thread Ken Mankoff
Hi Moritz, On Tue, Sep 18, 2012 at 2:28 PM, Moritz Ulrich wrote: > Please note that `global-auto-revert-mode' reverts ALL Emacs buffers > when the underlaying file changes. This isn't just active for the > iCal.org buffer, but for all open buffers. > > If you like this behavior, ok, but if you pr

[O] BEGIN_LATEX_HEADER [cont]

2014-06-19 Thread Ken Mankoff
Hi, I'm following up on a thread suggesting a method to easily include large amounts of LaTeX header material. See https://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg00480.html Please consider this a +1 for that feature request. One suggestion was: You could have a LaTeX block and

Re: [O] BEGIN_LATEX_HEADER [cont]

2014-06-20 Thread Ken Mankoff
On 2014-06-20 at 04:50, Nicolas Goaziou wrote: > I suggest to use existing solutions instead: configure > `org-latex-classes'. I'm all for using existing solutions, but cannot see how I might use this to easily customize export differently for different documents when large amounts of LaTeX pr

Re: [O] BEGIN_LATEX_HEADER [cont]

2014-06-21 Thread Ken Mankoff
On 2014-06-21 at 20:42, Aaron Ecay wrote: > 2014ko ekainak 21an, Nicolas Goaziou-ek idatzi zuen: >> >> Aaron Ecay writes: >> >>> The first is that editing non-trivial latex code embedded in an >>> elisp string quickly becomes tedious, whereas it’s much pleasanter >>> in org using org-edit-speci

Re: [O] org-ref in action

2014-06-26 Thread Ken Mankoff
On 2014-06-26 at 10:11, Grant Rettke wrote: > Why choose bibtex over biblatex? People choose bibtex because that is how it has been done and is well supported/documented and still popular on Google results. People choose biblatex because that appears to be the new under-development with-bells-and

Re: [O] Directly search for Headlines?

2014-07-07 Thread Ken Mankoff
On 2014-07-07 at 11:19, Nick Dokos wrote: > John Durden writes: > >> Can you search directly for headlines in all agenda-files, with the >> name of the headline, not tags? If so, how? If not, wouldn't this be >> useful? >> > > Try `s' in the agenda perhaps? Yes this feature would be useful. "s

Re: [O] Directly search for Headlines?

2014-07-07 Thread Ken Mankoff
On 2014-07-07 at 15:11, Nick Dokos wrote: > Ken Mankoff writes: > >> On 2014-07-07 at 11:19, Nick Dokos wrote: >>> John Durden writes: >>> >>>> Can you search directly for headlines in all agenda-files, with the >>>> name of the he

[O] emails written in Org Mode

2014-07-08 Thread Ken Mankoff
Hi Thorsten, On a recent thread you wrote: ... *outorg-edit-buffer* (where I write my message-mode email in full org-mode). I already write emails in emacs. I'm interested in being able to compose emails using Org Mode. I see you use gnus. I use mu4e[1]. I wonder if your setup is gnus-specif

Re: [O] Directly search for Headlines?

2014-07-09 Thread Ken Mankoff
On 2014-07-08 at 17:01, Samuel Wales wrote: > On 7/7/14, Ken Mankoff wrote: >> "s" in agenda just saves all Org Buffers for me. > > c-c a s > >> My work-around is to search for "* Foo", but this doesn't find headlines >> with TODO items

Re: [O] emails written in Org Mode

2014-07-09 Thread Ken Mankoff
Hi All, Thanks for the suggestions. orgstruct++-mode and orgtbl-mode help a lot. It would be nice to be able to execute code too. I have an email in to the mu4e group about just switching to org-mode and then back to message-mode. Since mu4e isn't gnus, and doesn't use plain message-mode as the

Re: [O] emails written in Org Mode

2014-07-10 Thread Ken Mankoff
I'm sure it will in the future, and then things might be better integrated, but I think this will work for now. -k. * On 2014-07-10 at 04:28, Thorsten Jolitz wrote: > Ken Mankoff writes: > > Hi Ken, > >> orgstruct++-mode and orgtbl-mode help a lot. It would be nice to be

[O] latex export for 4th-level heading

2014-07-10 Thread Ken Mankoff
When exporting to LaTeX, fourth-level headings become \enumerate. In LaTeX, the item below \subsubsection is \paragraph, not \enumerate. Here is what happens: * Top becomes \section ** Second becomes \subsection *** Third becomes \subsubsection Fourth becomes \enumerate Is there a way to s

Re: [O] latex export for 4th-level heading

2014-07-10 Thread Ken Mankoff
* On 2014-07-10 at 17:08, Thomas S. Dye wrote: > Aloha Ken, > > Ken Mankoff writes: > >> When exporting to LaTeX, fourth-level headings become \enumerate. In >> LaTeX, the item below \subsubsection is \paragraph, not \enumerate. >> >> Here is what h

Re: [O] An Org centric research lab: Goodbye MS word, excel, and powerpoint

2014-07-10 Thread Ken Mankoff
* On 2014-07-10 at 20:45, Grant Rettke wrote: > On Wed, Jul 9, 2014 at 5:37 PM, Doyley, Marvin M. > wrote: >> I notice that you prefer to use python rather than matlab. Is there a reason >> for this ? Matlab is free at my >> institution so cost is not an issue. It won't be free in the future

Re: [O] How to call org-display-inline-images so that after a graphviz block is evaluated the image is refreshed?

2014-07-11 Thread Ken Mankoff
Try (org-redisplay-inline-images). Note "re". #+BEGIN_SRC :post (org-redisplay-inline-images) #+END_SRC #+RESULTS: -k. * On 2014-07-11 at 20:14, Grant Rettke wrote: > Hi, > > The ability to use graphviz in an org document is stellar and makes it > so much more productive to use org. > > Comb

Re: [O] An Org centric research lab: Goodbye MS word, excel, and powerpoint

2014-07-11 Thread Ken Mankoff
Hi Marvin, * On 2014-07-09 at 18:37, Doyley, Marvin M. wrote: > I notice that you prefer to use python rather than matlab. Is there a > reason for this ? Matlab is free at my institution so cost is not an > issue. An additional blog post (with good discussion and links to other posts) on the Pyth

Re: [O] Include lengthy LaTeX in export preamble

2014-07-27 Thread Ken Mankoff
Hi Jacob, #+LATEX_HEADER: does work on export (when else would it work?) I think I recall a space between the ":" and the LaTeX command is needed. Do you have one? For more ideas on how to have lengthy custom headers, see thread here: https://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg0

Re: [O] Archive subtrees hierarchical (keep the parent structure)

2014-08-05 Thread Ken Mankoff
Hi Florian, This code looks useful and an improvement over the previous setup I was using. https://lists.gnu.org/archive/html/emacs-orgmode/2014-05/msg01218.html Can you explain what else is needed for your code to work? Currently I have #+BEGIN_SRC emacs-lisp (setq org-archive-location (concat

Re: [O] Archive subtrees hierarchical (keep the parent structure)

2014-08-05 Thread Ken Mankoff
Hi Florian, * On 2014-08-05 at 11:32, Florian Adamsky wrote: >> This code looks useful and an improvement over the previous setup I >> was >> using. https://lists.gnu.org/archive/html/emacs-orgmode/2014-05/msg01218.html >> >> Can you explain what else is needed for your code to work? Currently I >

Re: [O] Archive subtrees hierarchical (keep the parent structure)

2014-08-05 Thread Ken Mankoff
Yes that works perfectly. Not sure why I had memorized a different keystroke. Thank you! On Tue, Aug 5, 2014 at 1:46 PM, Florian Adamsky wrote: > Dear Ken, > > On Tuesday, Aug 05 2014, Ken Mankoff wrote: > > > You are correct that M-x org-archive-subtree-hierarchical works

Re: [O] MobileOrg documentation?

2014-08-08 Thread Ken Mankoff
Advance Capture is Android only, not on my iPhone version. On iPhone, you cannot add sub-headings. You can type it out as much as you want with "**" and "***", but you'll need to do some editing on the desktop side. Those modifications could be made automagically when the desktop auto-detects that

Re: [O] MobileOrg documentation?

2014-08-08 Thread Ken Mankoff
Some code to auto-update Org when Mobile Org pushes: http://kenmankoff.com/2012/08/17/emacs-org-mode-and-mobileorg-auto-sync/ -k. On Fri, Aug 8, 2014 at 5:15 PM, David Masterson wrote: > jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: > > > David Masterson writes: > > > >> H

[O] problem with markdown exporter

2014-08-20 Thread Ken Mankoff
I've turn on Markdown exporting with (require 'ox-md). Citations aren't being exported properly, so I'm trying to customize it. I have the following setup: (org-add-link-type "textcite" (lambda (key) (org-open-file cby-references-file t nil key)) (lambda (path desc format) (cond ((eq for

Re: [O] default headers for source code blocks

2014-09-09 Thread Ken Mankoff
What about custom template expansions? http://nicholasvanhorn.com/2014/04/07/org-structure-completion/ Advantage: your C-c C-v d sql RET becomes only On Sep 9, 2014, at 13:24, Subhan Michael Tindall > wrote: > > My apologies if this is in TFM, but I can’t seem to find it after substantial >

[O] Emacs StackExchange Site

2014-09-15 Thread Ken Mankoff
Some on this list might be interested to know there is a proposal to create a StackExchange site specifically for Emacs. https://area51.stackexchange.com/proposals/76571/emacs -k.

[O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-26 Thread Ken Mankoff
I'm experiencing a strange Org bug in the latest few versions. If I have a #+CAPTION line, I can type my figure caption as I would expect. But as soon as I pass the 70th column, the spacebar triggers an error. I can type letters after the 70th column, but not a space. When I press the spacebar on

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-26 Thread Ken Mankoff
* On 2014-09-26 at 11:53, Rasmus wrote: > Ken Mankoff writes: >> If I have a #+CAPTION line, I can type my figure caption as I would >> expect. But as soon as I pass the 70th column, the spacebar triggers >> an error. I can type letters after the 70th column, but not a >&

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Ken Mankoff
> On Sep 27, 2014, at 15:27, Aaron Ecay wrote: > > Hi Ken, > > 2014ko irailak 26an, Ken Mankoff-ek idatzi zuen: >> debug-on-error doesn't help because there isn't actually an error as far >> as I can tell. It is a bug, not an error. Nothing shows up in

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Ken Mankoff
* On 2014-09-27 at 21:02, Aaron Ecay wrote: > Hi Ken, > > 2014ko irailak 27an, Ken Mankoff-ek idatzi zuen: >>> How about setting debug-on-quit and hitting C-g when the prompt shows >>> up? >> >> Still nothing in *Messages*. I know this is related to fill-p

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Ken Mankoff
* On 2014-09-27 at 23:45, Ken Mankoff wrote: > I find it strange that y'all can't re-create this since I can do it > with emacs -Q, although perhaps it is specific to the emacs-mac > port. Just checked and it isn't in latest emacs HEAD. I'll submit a bug report to the emacs-mac project. -k.

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Ken Mankoff
* On 2014-09-28 at 00:27, Ken Mankoff wrote: > * On 2014-09-27 at 23:45, Ken Mankoff wrote: >> I find it strange that y'all can't re-create this since I can do it >> with emacs -Q, although perhaps it is specific to the emacs-mac port. > > Just checked and it i

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-28 Thread Ken Mankoff
So in addition to this only appearing in the emacs-mac port, it is also only in recent Org version. I now think this is related to the new feature of allowing multiple #+CAPTION lines, instead of just one #+CAPTION line. -k. On Sun, Sep 28, 2014 at 12:41 AM, Ken Mankoff wrote: > > * O

[O] \input causes conflict with LaTeX equation preview

2014-10-18 Thread Ken Mankoff
I have #+LATEX_HEADER: \input{preamble} in an Org file. When I try to preview equations, it does not work because "\input{preamble}" is exported to the equation preview preamble, but no file "preamble.tex" is exported. The "preamble.tex" file is not needed just to preview an equation. Can anyone

Re: [O] \input causes conflict with LaTeX equation preview

2014-10-20 Thread Ken Mankoff
* On 2014-10-20 at 18:26, Rasmus wrote: > Ken Mankoff writes: > >> I have >> >> #+LATEX_HEADER: \input{preamble} >> >> in an Org file. When I try to preview equations, it does not work >> because "\input{preamble}" is exported to the equatio

[O] Code, Sessions, and org-edit-special

2014-11-21 Thread Ken Mankoff
Hi List, I'm trying to improve my code workflow. I use python and sessions. I'd like to be able to run code in the session even if I'm editing/viewing the code via `org-edit-special`. Furthermore, when I edit code outside of Org, I'd like to have sessions, that is, optionally one Python session pe

Re: [O] Code, Sessions, and org-edit-special

2014-11-22 Thread Ken Mankoff
far upstream, Org is happening. Perhaps this is the wrong approach? Rather than examining the stack, should I just be checking if Org is the active mode? But I think when a code segment is executed, a temp file is created and Org isn't the active mode? Thanks, -k. * On 2014-11-21 at 18:38

Re: [O] Code, Sessions, and org-edit-special

2014-11-23 Thread Ken Mankoff
* On 2014-11-22 at 19:17, Ken Mankoff wrote: > Hi List, > > A simpler phrasing of my previous question. > > How do I find out if an Org function, `org-ctrl-c-ctrl-c`, was called > somewhere up the stack. I'm trying to modify a function > "python-shell-get-process-n

[O] Efficiency of Org v. LaTeX v. Word

2014-12-26 Thread Ken Mankoff
People here might be interested in a publication from [2014-12-19 Fri] available at http://dx.doi.org/10.1371/journal.pone.0115069 Title: An Efficiency Comparison of Document Preparation Systems Used in Academic Research and Development Summary: Word users are more efficient and have less errors

[O] ASCII export w/ citations

2015-01-01 Thread Ken Mankoff
Hi, I have the following setup for citing in Org documents: (org-add-link-type "textcite" (lambda (key) (org-open-file cby-references-file t nil key)) (lambda (path desc format) (cond ((eq format 'latex) (format "\\textcite{%s}" path)) ((eq format 'ascii) (format "@%s" path)) ))

Re: [O] ASCII export w/ citations

2015-01-01 Thread Ken Mankoff
* On 2015-01-01 at 13:36, Nicolas Goaziou wrote: >> When I export to ASCII, things look mostly great. Except, at the >> bottom of every section, I have the "raw" Org citations repeated. >> That is, if I [[cite:Foo2001]] somewhere in the text, at the bottom >> I'll see: >> >> [(Foo, 2001)] cite:Fo

Re: [O] ASCII export w/ citations

2015-01-01 Thread Ken Mankoff
* On 2015-01-01 at 13:59, Ken Mankoff wrote: > OK. If I set that to nil then the links are not at the bottom of the > section, they are inline. But ASCII (in my opinion) shouldn't have > links. If I wanted links, I'd use Org or Markdown. Can you advise how > I get no li

Re: [O] ASCII export w/ citations

2015-01-02 Thread Ken Mankoff
* On 2015-01-01 at 15:45, Nicolas Goaziou 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 describin

Re: [O] ASCII export w/ citations

2015-01-02 Thread Ken Mankoff
* On 2015-01-02 at 15:42, Nicolas Goaziou wrote: > Ken Mankoff 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 &

[O] Effort entry and confusing effort estimates

2013-05-20 Thread Ken Mankoff
Hi, I'm looking into effort and time tracking and have a few questions about efforts, 1) What is the difference between C-c C-x C-e and C-c C-x e? When I set an effort while clocked in, C-c C-x C-e asks for an effort and formats it in a format I understand such as 00:30 or 1d. When not clocked i

Re: [O] Effort entry and confusing effort estimates

2013-05-20 Thread Ken Mankoff
Doh. I get the math now. 3d is 3*8h = 1d. Ok. Confusing but I get it. But I'm still confused what 'org-set-effort' expects/interprets compared to 'org-clock-modify-effort-estimate'. Any clarification will be much appreciated. Thanks, -k. On Mon, May 20, 2013 at 8:

Re: [O] Effort entry and confusing effort estimates

2013-05-21 Thread Ken Mankoff
Hi Bastien, On Tue, 21 May 2013, Bastien wrote: Ken Mankoff writes: But I'm still confused what 'org-set-effort' expects/interprets compared to 'org-clock-modify-effort-estimate'. Any clarification will be much appreciated. `org-set-effort' allows you to

[O] Hide empty custom agenda sections

2013-06-17 Thread Ken Mankoff
Hi, I have a section of my custom agenda that shows items synced through mobile-org. My mobile.org file has #+FILETAGS: REFILE Which means a custom agenda command of (tags "REFILE" ((org-agenda-overriding-header "REFILE"))) shows all items from that file. Right now I have this at the bottom o

Re: [O] Hide empty custom agenda sections

2013-06-27 Thread Ken Mankoff
;))) (agenda "" ( (org-agenda-overriding-header "Scheduled") (org-deadline-warning-days 0) )) (todo "SOMEDAY" ((org-agenda-overriding-header "Someday"))) (tags "REFILE" ((org-agenda-overriding-header "REFILE")))

Re: [O] Hide empty custom agenda sections

2013-06-28 Thread Ken Mankoff
t;))) But having (nil) caused an error. I guess I could make the entire "My Custom Agenda" section be the output of a function, but that seems overly complex. -k. On Thu, Jun 27, 2013 at 11:18 AM, Ken Mankoff wrote: > Hi Bastien, > > Here is my custom agenda section. I&

Re: [O] Hide empty custom agenda sections

2013-07-01 Thread Ken Mankoff
On Mon, Jul 1, 2013 at 9:38 AM, Bastien wrote: > > > I gave another quick look but this would be too complex to implement, > even if I agree this would be nice to have. > > Ok. Oh well. Thank you for considering and replying. -k.

[O] auto-creating checkbox list items

2013-11-28 Thread Ken Mankoff
I think an older version of org-mode had the behavior where if I am making a list like this: * Some list + [ ] and I then make a new item by pressing ESC+RET + [ ] the "+" and "[]" are auto-magically created. The current version only populates the "+", not the "[ ]". Does anyone else recall thi

Re: [O] LaTeX equation align in orgmode?

2015-09-29 Thread Ken Mankoff
Nested align in equation is incorrect format. -k. Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard. On Sep 29, 2015, at 00:06, Andreas Leha wrote: >> >> \begin{equation} >> \begin{align}

[O] Agenda to iCal not working

2015-10-21 Thread Ken Mankoff
I'm using the examples from https://www.gnu.org/software/emacs/manual/html_node/org/Exporting-Agenda-Views.html Specifically, (setq org-agenda-custom-commands '(("X" agenda "" nil ("agenda.html" "agenda.ps")) ("Y" alltodo "" nil ("todo.html" "todo.txt" "todo.ps")) ("h" "Age

Re: [O] Org-mode reinvented?

2015-10-25 Thread Ken Mankoff
On 2015-10-25 at 07:12, John Kitchin wrote: > Interesting. One day I imagine something like this, or sharelatex > exists for collaborating on org-files with people who don't like > Emacs... One can hope, but unfortunately it seems Markdown is the default implementation for people supporting a s

Re: [O] Using org-mode with iOS?

2015-10-30 Thread Ken Mankoff
> On Oct 30, 2015, at 07:13, Peter Davis wrote: > > I don't think there will be an IOS version of emacs anytime soon http://gamma-level.com/iphoneos/ports/emacs -k. Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard.

Re: [O] LaTeX export with section number, name and page in internal links

2015-12-08 Thread Ken Mankoff
> 03.12.2015, 16:31, "John Kitchin" : > > Try this. > > * Chapter 1 > ** Section 1.1 \label{manual-section-1} > :PROPERTIES: > :CUSTOM_ID: section-1 > :END: > * Chapter 2 > ** Section 2.1 > I want reference to Section 1.1 from here (See Section \ref > {

Re: [O] [ANN] Export block syntax change

2015-12-21 Thread Ken Mankoff
Does this new syntax support that oft (or occasionally?) requested LaTeX header export? I don't think so out of the box, because while LaTeX is a valid export word, LaTeX_preamble is not. But, can the new syntax be used like this? \include{preamble} #+BEGIN_EXPORT LaTeX :file preamble

Re: [O] org files and projects nested git repositories

2015-12-31 Thread Ken Mankoff
Hi Tyler, I have a similar setup. On 2015-12-31 at 12:38, Tyler Smith wrote: > ├── org > │ ├── todo.org > │ ├── reading.org > │ └── personal.org On my system this is a git repository and a cron (or actually LaunchAgent since I'm on OS X) does a =git commit -a = every night. I also have

Re: [O] org files and projects nested git repositories

2016-01-01 Thread Ken Mankoff
On 2016-01-01 at 05:02, Alan Schmitt wrote: > Hello Ken, >> >> On my system this is a git repository and a cron (or actually >> LaunchAgent since I'm on OS X) does a =git commit -a >> = every night. > > I'm very interested about this. Could you please share your LaunchAgent > configuration file?

[O] Tags v. PROPERTIES for noexport and ignoreheadings

2016-01-05 Thread Ken Mankoff
Hi List, I'm trying to figure out when I should be using tags and when I should be using properties, for the cases of "noexport" and "ignoringheading". I think I began using Org before either of these features were supported. Then people provide code snippets that added this functionality based

Re: [O] Tags v. PROPERTIES for noexport and ignoreheadings

2016-01-05 Thread Ken Mankoff
On 2016-01-05 at 18:29, Rasmus wrote: > Ken Mankoff writes: >> I'm trying to figure out when I should be using tags and when I >> should be using properties, for the cases of "noexport" and >> "ignoringheading". > > If you are working

[O] Keep buffer visible w/ capture template

2016-01-13 Thread Ken Mankoff
I'd like to keep the active buffer visible while capturing. Currently, when I invoke a capture template, the text I was viewing disappears. The frame splits into two parts: The capture template, and a calendar. Is there a way to have it split into three? Or have the capture buffer open in a new

Re: [O] Keep buffer visible w/ capture template

2016-01-13 Thread Ken Mankoff
Hi Kaushal, On 2016-01-13 at 13:08, Kaushal Modi wrote: >> I'd like to keep the active buffer visible while capturing. > > That's how it works for me. I do not see a calendar buffer unless I do > something like C-c C-d (org-deadline) or C-c C-s (org-schedule) in an > org buffer. You're right, a

Re: [O] Keep buffer visible w/ capture template

2016-01-13 Thread Ken Mankoff
On 2016-01-13 at 13:17, Ken Mankoff wrote: > On 2016-01-13 at 13:08, Kaushal Modi wrote: >>> I'd like to keep the active buffer visible while capturing. > >I think the issue is that the template requests a timestamp or a >SCHEDULED field (or as you describe, you ma

Re: [O] Evaluating simple inline expressions in org-mode

2016-02-03 Thread Ken Mankoff
On 2016-02-03 at 08:45, Gary Oberbrunner wrote: > I'd like to just have a few inline formulas evaluated in my org-mode > document (I'm exporting to LaTeX if that matters). Something like this: > > = > # a constant: > # pi = 3.14159 > > The value of interest is {{{2*$pi}}}.

[O] Org + MS DOC

2016-02-04 Thread Ken Mankoff
Hi, There is occasional discussion on the list (or SE or Reddit) about how to best work with Word documents. In the past I've suggested Org -> Pandoc -> DOCX because that worked best for me when producing documents with equations, figures and tables. It didn't work great, but it worked best. I

Re: [O] Org + MS DOC

2016-02-04 Thread Ken Mankoff
On 2016-02-04 at 16:28, Julian M. Burgos wrote: > The advantage of exporting via Pandoc is the possibility of including > bibliographic citations. Do you know if it is possible to do this via > ODT? I think ODT can do it w/ extra work (JabRef?) but my method does not. Yes pandoc does support th

Re: [O] streamlined capture on iphone

2016-02-26 Thread Ken Mankoff
On 2016-02-24 at 17:59, Skip Collins wrote: > MobileOrg on the iPhone is not very useful to me. As many people do, I > use my iPhone as a way to capture input on the go, usually in the form > of short text snippets or notes. One thing that has made this work > better for me is a streamlined proce

[O] OS X quick-access to Emacs

2016-03-15 Thread Ken Mankoff
Hi Lists, Cross-post to Org and mu4e because Org and mu4e are my primary uses of Emacs. I've created a BitBar plugin for quick-access to Emacs, such as a new *scratch* buffer or a new "Compose Email" buffer. I thought these might be useful to others, hence this post. 1) Download and install Bi

Re: [O] OS X quick-access to Emacs

2016-03-19 Thread Ken Mankoff
On 2016-03-15 at 10:55, Ken Mankoff wrote: > I've created a BitBar plugin for quick-access to Emacs, such as a new > *scratch* buffer or a new "Compose Email" buffer. I thought these > might be useful to others, hence this post. One last follow-up to this. The followin

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread Ken Mankoff
On 2016-03-19 at 13:20, Eric S Fraga wrote: > On Saturday, 19 Mar 2016 at 12:44, John Kitchin wrote: >> I noticed that you try to uncomment a region in a src block a # gets >> inserted! >> >> #+BEGIN_SRC emacs-lisp >> ; test >> #+END_SRC >> >> >> If you select ; test and run uncomment-region you

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread Ken Mankoff
On 2016-03-19 at 19:27, John Kitchin wrote: > Thanks! That is a nice function. > > I adapted it to make Tab work in python mode blocks. This might already do that: (setq org-src-tab-acts-natively nil) -k.

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-20 Thread Ken Mankoff
On 2016-03-20 at 11:17, John Kitchin wrote: > I think you mean (setq org-src-tab-acts-natively t) right? Yes. I think I may have disabled it due to Yasnippet conflicts. -k.

Re: [O] orgmode and a database

2016-04-04 Thread Ken Mankoff
On 2016-04-04 at 15:46, Uwe Brauer wrote: > I am looking for a sort of database I could use with orgmode. Anybody > has a suggestion? What's about recutils? Can you be more specific? Org tables? They can be joined... Org supports SQLite http://orgmode.org/worg/org-contrib/babel/languages/ob-d

Re: [O] the role of org-odt-preferred-output-format etc

2016-04-10 Thread Ken Mankoff
I convert to DOC with the following on OS X: (use-package ox-odt :ensure nil :config (progn (setq org-odt-preferred-output-format "doc") (setq org-odt-convert-processes '(("LibreOffice" "/path/to/LibreOffice.app/Contents/MacOS/soffice --headless --co

Re: [O] the role of org-odt-preferred-output-format etc

2016-04-10 Thread Ken Mankoff
On 2016-04-10 at 11:52, Uwe Brauer wrote: > Thanks that works, as far as the setq are concerned, what is use-package > supposed to do, in my GNU emacs 25 I cannot find it. https://github.com/jwiegley/use-package It is a replacement for (require) that takes care of installing dependencies and d

Re: [O] [BUG] Failure to run sh source block

2016-04-10 Thread Ken Mankoff
On 2016-04-10 at 16:44, Christian Moe wrote: > I've hit a couple of odd problems after updating to Emacs 24.5 and Org > 8.3.4 (freshly pulled). > > Trying to run a simple shell source block, e.g. > > #+begin_src sh > pwd > #+end_src > > fails with this error: > > org-babel-variable-assignments

Re: [O] Several %(expression) in org-agenda-prefix-format

2016-04-15 Thread Ken Mankoff
What about setting ":CATEGORY: PD v. BS" in the top level :PROPERTIES: drawer. Then in the agenda you'd see: PD v BS: My first pleadings -k. On 2016-04-14 at 09:02, laurent.jucqu...@posteo.de wrote: > Hi list, > > I'm trying to setup some custom agenda views that would be useful for my >

Re: [O] Agenda month view or year view for a specific selection of days of the week

2016-04-23 Thread Ken Mankoff
On 2016-04-23 at 15:48, leho.y...@gmail.com wrote: > Is it possible to build an agenda month view or year view for a > specific selection of days of the week (ie. saturday and sunday) ? > I'm very interesting with this feature, but the manual does not seem > to show a such possibility. Here is a

Re: [O] Adding information to tangled code regarding org-source

2016-05-03 Thread Ken Mankoff
How about ":comments link" header arg? https://org-babel.readthedocs.io/en/latest/header-args/#comments -k. On 2016-05-03 at 17:33, Ethan Ligon wrote: > When one exports from org to, say, latex the resulting *.tex file > includes a comment at the top indicating the time of creation. This is

Re: [O] add some babel supports (PHP, Lua, Redis)

2016-05-10 Thread Ken Mankoff
On 2016-05-10 at 11:44, Rasmus wrote: > "numbch...@gmail.com" writes: > > Normally you "only" need to sign a piece of paper and send it by snail > mail to the FSF office in the US of A. It is easier than this - it can be done via email. Print sign and scan (photograph w/ phone), or don't even

Re: [O] add some babel supports (PHP, Lua, Redis)

2016-05-10 Thread Ken Mankoff
On 2016-05-10 at 11:58, Rasmus wrote: > Ken Mankoff writes: > >> On 2016-05-10 at 11:44, Rasmus wrote: >>> "numbch...@gmail.com" writes: >>> >>> Normally you "only" need to sign a piece of paper and send it by >>> snail mail

Re: [O] No output from babel shell src block

2016-05-12 Thread Ken Mankoff
This is a known issue with diff, I think. Add a line containing ":" below, or "echo" or "diff foo bar | cat". https://stackoverflow.com/questions/27304469/capturing-the-output-of-diff-with-org-babel I have (setq org-babel-default-header-args:sh '((:prologue . "exec 2>&1") (:epilogue . ":"))

  1   2   3   4   5   6   >