[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

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

Re: [O] Basic vcard-to-org-contacts converter

2014-03-24 Thread Ken Mankoff
And I posted a solution a few weeks ago that parses the Apple AddressBook to Org contacts. Wrapped in a LaunchAgent that runs the script whenever the addressbook is updated (file timestamp changes) and it keeps mu4e up-to-date with Apple OS X and iDevices. -k. On 2014-03-24 at 20:07, Feng Shu

Re: [O] Space in Exported Text

2014-03-26 Thread Ken Mankoff
On 2014-03-26 at 14:32, Esben Stien wrote: If I f.ex make a beautiful table in org-mode: |-+-+---++-| | foo | bar | xyzzy | hukarz | | | qux | | corge | grault | garply waldo fred plugh | | baz | | ||

Re: [O] Zotero: import HTML -- org syntax?

2014-03-28 Thread Ken Mankoff
On Fri, Mar 28, 2014 at 10:43 AM, Matt Price mopto...@gmail.com wrote: Hi, so, in my ponderously slow efforts to figure out a decent citation workflow for Org, I am trying for some modest integration with Zotero, which is the tool my humanities colleagues are most likely to use. I keep all

Re: [O] Using Emacs Org-mode on a server with ssh on an iPad

2014-04-03 Thread Ken Mankoff
If you jailbreak the iPad, you can run a full emacs on the iPad locally. http://gamma-level.com/iphoneos/ports/emacs -k. On 2014-04-02 at 09:10, Pere Quintana Seguí wrote: As I mentioned in a previous message, I recently bought an iPad. I'm considering the possibility to not use Mobileorg

[O] Mac OS Alias file links

2014-04-08 Thread Ken Mankoff
I use links to files quite often in Org Mode. Either by C-l file: or drag-and-drop (with smart-dnd). But when files move, the links break. BibDesk solves this by storing Mac OS Aliases to files. Then if files move, the alias still works. BibDesk actually stores more: The Bdsk-File entries

[O] how to debug Archive view in custom agenda

2014-04-11 Thread Ken Mankoff
when I try to view the Archive (v A) in my custom agenda view, I get an error: Rebuilding agenda buffer... org-refresh-properties: Wrong type argument: integer-or-marker-p, nil When I view Archive in the timeline for a single Org file (C-c a L v A) it works just fine. How do I debug the above

Re: [O] how to debug Archive view in custom agenda

2014-04-11 Thread Ken Mankoff
On 2014-04-11 at 18:26, Nick Dokos wrote: Ken Mankoff mank...@gmail.com writes: when I try to view the Archive (v A) in my custom agenda view, I get an error: Rebuilding agenda buffer... org-refresh-properties: Wrong type argument: integer-or-marker-p, nil When I view Archive

Re: [O] how to debug Archive view in custom agenda

2014-04-11 Thread Ken Mankoff
On 2014-04-11 at 19:04, Nick Dokos wrote: Did you figure it out with the help of the backtrace? Yes. Pasted below. But when I send it, mu4e warns than NUL characters exist. I've replaced them with one of the options provided, the . character. Send it anyway: it can't hurt and it might help

Re: [O] how to debug Archive view in custom agenda

2014-04-11 Thread Ken Mankoff
Hm.. That didn't work. Trying again... On 2014-04-11 at 19:47, Ken Mankoff wrote: On 2014-04-11 at 19:04, Nick Dokos wrote: Did you figure it out with the help of the backtrace? Yes. Pasted below. But when I send it, mu4e warns than NUL characters exist. I've replaced them with one

[O] Fwd: Mac OS Alias file links

2014-04-13 Thread Ken Mankoff
send the email again... -k. On 2014-04-08 at 03:03, Ken Mankoff wrote: I use links to files quite often in Org Mode. Either by C-l file: or drag-and-drop (with smart-dnd). But when files move, the links break. BibDesk solves this by storing Mac OS Aliases to files. Then if files move

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
Hi Bastien, Thanks for letting me know it displays properly and email received. The URL works for me this morning too. On 2014-04-14 at 05:22, Bastien wrote: Even for those who uses MacOSX, you should perhaps be more specific on how Org-mode would store such links, then somebody might step up.

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
On 2014-04-14 at 08:42, Nick Dokos wrote: What does emacs do when you C-x C-f an alias? Alias in OS X (and Shortcut in Windows) present as files. Org treats it just as it should - as a file. Everything works. If it opens it properly (i.e. opens the target file) then why is anything needed in

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
On 2014-04-14 at 12:26, Achim Gratz wrote: Ken Mankoff writes: Aliases are a type of links (ln on linux, shortcut on Windows alias on OS X (OS X of course also supports ln)). The difference between an OS X alias and ln is that if the target is moved, the OS X alias still points

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
On 2014-04-14 at 13:42, Charles Berry wrote: The point of using an alias rather than a filename or the name of a symbolic link that points to the file is that it inherits the property of Mac OS X aliases that moving the file does not break the alias --- it still points to file. Exactly!

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Ken Mankoff
On 2014-04-14 at 20:21, Charles C. Berry wrote: BibDesk has an archive of entries typically stored at ~/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/*.bdskcache and the 'NS.data' element of Bdsk-File-1 seems to point to one element. The *.bdskcache file has a bplist and I guess the

Re: [O] Mobileorg doesn't correctly import one .org file

2014-04-16 Thread Ken Mankoff
On 2014-04-16 at 12:49, Bastien wrote: Pere Quintana Seguí p...@quintanasegui.com writes: Everything looks fine except one file which is not correctly imported. I missed and can't find the original email, but does the erroneous file have an in the filename? That is a known MobileOrg bug.

[O] python babel not running startup file

2014-04-24 Thread Ken Mankoff
I have the PYTHONSTARTUP environment variable set to ~/.pythonrc. That file is not run by Org babel. Can anyone recommend how to execute that file, or some other method for customizing all Org babel python executions. Specifically, I load a custom colorbar in my ~/.pythonrc and ~/.ipythonrc

Re: [O] python babel not running startup file

2014-04-25 Thread Ken Mankoff
On 2014-04-25 at 11:28, Eric Schulte wrote: Yes, customize the org-babel-python-command variable. Right. I had tried that and it didn't work before I sent the email. This does work: (setq org-babel-python-command python -i /Users/mankoff/.pythonrc) Perhaps I had a typo or other bug with my

Re: [O] State of the art in citations

2014-04-27 Thread Ken Mankoff
Hi Clément and Others, On 2014-04-27 at 10:14, Clément B. wrote: (setq reftex-cite-format '((?\C-m . \\cite[]{%l}) (?b . [[ref:%l][%A (%y)]]))) I've been using reftex in Org - LaTeX for a while and have my Org text sprinkled with \cite{foo:}. I just saw the

Re: [O] State of the art in citations

2014-04-27 Thread Ken Mankoff
On 2014-04-27 at 10:53, Clément B. wrote: Hi Ken, When I export this to LaTeX, it is not treated as a proper LaTeX citation. The text is just the %A (%y) part. Is there some way to export so that the ref:%l turns into a \cite{%l}? The ref is a custom link type, you can define those in org

Re: [O] State of the art in citations

2014-04-27 Thread Ken Mankoff
On 2014-04-27 at 12:05, Clément B. wrote: Still looking into lastname (Year) format... I hadn't noticed that before, but now that you mention it, I think this is related to the way you format your bib file. For example %A (%y) with: 1. name = {Darwin, Charles} year = {1859} will

Re: [O] State of the art in citations

2014-04-27 Thread Ken Mankoff
On 2014-04-27 at 12:01, Thomas S. Dye wrote: Clément B. clem...@inventati.org writes: This makes inserting custom links (ref) easier with the usual `reftex-citation` bound to C-c [. On the other hand, it will work with multicite commands, whereas Clement's does not look like it will. It

[O] minted in Org 8.6

2014-04-29 Thread Ken Mankoff
When I export w/ the latest Org all code environments are verbatim, not minted. I'm using a test example from https://lists.gnu.org/archive/html/emacs-orgmode/2011-11/msg00585.html which is: #+begin_src emacs-lisp ;; minted latex export (setq org-export-latex-listings 'minted

Re: [O] Bibliography woes!

2014-05-05 Thread Ken Mankoff
On 2014-05-05 at 19:39, John Hendy wrote: If this works, someone can chime in regarding how to modify Org so that it will run the necessary biber/biblatex commands so you don't have to jump to a command line every time. Or perhaps that's a one time thing -- maybe as long as biber generates

Re: [O] Bibliography woes!

2014-05-06 Thread Ken Mankoff
On 2014-05-06 at 03:33, Rainer M Krug wrote: Ken Mankoff mank...@gmail.com writes: I've found latexmk to be the best tool for compiling LaTeX documents. This sounds very interesting. Could you please provide some details on how you use latexmk? Do you use any special options? My

[O] export section body but not section title

2014-05-06 Thread Ken Mankoff
Is there a way (tag?) in Org to export the body but not the title/heading? For example, * Section 1 :noexport: Some Text * Section 2 Some more text Would not export the Some Text or any part of Section 1. I'd like to export the Some Text text, just not the title Section 1. Use Case:

Re: [O] How to generate an index?

2014-05-07 Thread Ken Mankoff
Hi Sharon, * Things not working properly - I can't find how to get the title, author and date on a page of their own. - I can't find how to get references showing in the table of contents. - The index is working with the default of 2 columns, but I want the page numbers to all be aligned

[O] Adding export option for babel language

2014-05-07 Thread Ken Mankoff
I'd like to add support for PythonTeX to Org Babel https://github.com/gpoore/pythontex The motivation is that PythonTeX is a better literate environment than just Org + Babel, because it can print results inline just like an interactive Python session, instead of all the code followed by all

[O] Org + Elpy Python + IPython

2014-05-07 Thread Ken Mankoff
FYI Org + Elpy + IPython all play nicely now. There have been some previous posts about people (me included) having trouble using the full IPython stack in Org Mode. Some of those problems were limited to when using sessions, and others only if trying to take full advantage of the nice Python

Re: [O] Adding export option for babel language

2014-05-08 Thread Ken Mankoff
Hi Chuck, On 2014-05-08 at 12:17, Charles Berry ccbe...@ucsd.edu wrote: I'd like the python code blocks to behave just as they do now, but if I have set (setq org-latex-listings 'pythontex) instead of (setq org-latex-listings 'minted), then instead of wrapping python code blocks with:

Re: [O] Adding export option for babel language

2014-05-08 Thread Ken Mankoff
there in an interactive session. I set :export code so the Org results are not shown in the PDF, and PythonTeX re-generates the results and puts them inline! -k. On 2014-05-08 at 15:53, Ken Mankoff mank...@gmail.com wrote: Hi Chuck, On 2014-05-08 at 12:17, Charles Berry ccbe...@ucsd.edu wrote: I'd like

Re: [O] org-edit-src-code outside of org

2014-05-13 Thread Ken Mankoff
Hi Jorge, mu4e has an option to edit mail messages in Org mode. You can insert and execute code blocks, etc. See example at bottom of this blog post: http://www.brool.com/index.php/using-mu4e -k. On 2014-05-13 at 14:49, Jorge A. Alfaro-Murillo jorge.a.alf...@gmail.com wrote: Hi, I would

Re: [O] Using Emacs, Org-mode and R for Research Writing in Social Sciencess

2014-05-13 Thread Ken Mankoff
Hi Vikas On 2014-05-13 at 12:52, Vikas Rawal vikasli...@agrarianresearch.org wrote: You mentioning pandoc as one of the tools to use made me finally sit down and look at it. I am very glad I did. Just today, I started working on a paper that has to be in Word format in the end. This is

Re: [O] Using Emacs, Org-mode and R for Research Writing in Social Sciencess

2014-05-14 Thread Ken Mankoff
On 2014-05-14 at 01:00, Vikas Rawal vikasli...@agrarianresearch.org wrote: pandoc -f latex -t docx test.tex -o test.docx I see Org has exported my W m^{-2} as W m$^{\text{-2}}$, which is not what I would expect in LaTeX. In OS X Pages.app viewing the docx this appears as W m. In Word it

[O] Org based websites w/o export

2014-05-19 Thread Ken Mankoff
I've just come across an interesting website generator that I think has potential for making Org websites. I have no affiliation with this project, but thought it might interest this community. I have an interest in an org-based website, but none of the existing ones have met my needs yet. Jr

Re: [O] Org + Elpy Python + IPython

2014-05-20 Thread Ken Mankoff
Addendum to this old thread: On 2014-05-07 at 22:52, Ken Mankoff mank...@gmail.com wrote: FYI Org + Elpy + IPython all play nicely now. There have been some previous posts about people (me included) having trouble using the full IPython stack in Org Mode. Some of those problems were limited

Re: [O] Org + Elpy Python + IPython

2014-05-20 Thread Ken Mankoff
And with a bit more work (and help from others) I have it working. IPython, Org, Elpy, session or no-session. Still cannot set (elpy-use-ipython) which makes the IPython sessions a bit less awesome (no popup help, for example). But everything else appears to work. (setq org-babel-python-command

Re: [O] Advice needed: Cant find a decent way to autosync my work TODO org file between laptop and work pc

2014-05-24 Thread Ken Mankoff
Do you have auto-revert enabled for that file? At the top of a dropbox-shared Org file I have this: # -*- coding: utf-8; eval: (auto-revert-mode 1); -*- I still find it a bit buggy, and also have this code snippet which I execute whenever I begin editing in that Org file. I also try to remember

Re: [O] [FR] Archive subtree with parent structure

2014-05-28 Thread Ken Mankoff
On 2014-05-28 at 15:39, Bastien wrote: If I also archive AB after that, it gets inserted in the structure which is now identical to the structure we started with. FR noted, thanks. I'm curious to see if people would really find this a good option, as I like having my archives stored as flat

Re: [O] proposal to have ignoreheading tags/properties

2014-06-12 Thread Ken Mankoff
+1 to the OP. On 2014-06-12 at 13:32, Thorsten Jolitz wrote: In a tree structure, when ignoring the parent node, it seems only logical that the siblings are ignored too. I'm found myself in all of the following situations: 1. I want the heading and everything below not-exported 2. I

Re: [O] proposal to have ignoreheading tags/properties

2014-06-12 Thread Ken Mankoff
On 2014-06-12 at 14:11, Thorsten Jolitz wrote: Ken Mankoff mank...@gmail.com writes: Another common (for me) example is to have a heading called * Appendix in a paper, and then the LaTeX \appendix command. The Org heading is just for me. It should not be exported. All headings below

Re: [O] proposal to have ignoreheading tags/properties

2014-06-12 Thread Ken Mankoff
On 2014-06-12 at 15:21, Nicolas Girard wrote: I also ran across this need. What I had in mind was that certain todo types would be treated as inline. ... Such a feature is more generic and would be useful in other contexts ; and the LaTeX-related issues discussed in this thread would be

Re: [O] proposal to have ignoreheading tags/properties

2014-06-12 Thread Ken Mankoff
On 2014-06-12 at 16:13, Eric Schulte wrote: What do you think about the attached patch which should add this functionality to the core. Why inline? Org already has inline TODO items which is a different thing. I don't think the word inline signifies that a heading will or won't be exported

Re: [O] proposal to have ignoreheading tags/properties

2014-06-12 Thread Ken Mankoff
Hi Eric, On 2014-06-12 at 20:46, Eric Schulte wrote: Can you suggest a more intuitive/appropriate tag name? I'm not personally partial to inline, it was just the first thing that occurred to me. Previous implementations of similar behavior used the tag prelim. I posted the following

[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

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 aarone...@gmail.com 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

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

Re: [O] Directly search for Headlines?

2014-07-07 Thread Ken Mankoff
On 2014-07-07 at 11:19, Nick Dokos wrote: John Durden johndur...@yandex.com 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

Re: [O] Directly search for Headlines?

2014-07-07 Thread Ken Mankoff
On 2014-07-07 at 15:11, Nick Dokos wrote: Ken Mankoff mank...@gmail.com writes: On 2014-07-07 at 11:19, Nick Dokos wrote: John Durden johndur...@yandex.com writes: Can you search directly for headlines in all agenda-files, with the name of the headline, not tags? If so, how

[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

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 mank...@gmail.com 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. it should. You're right. It does! Not sure why I

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

Re: [O] emails written in Org Mode

2014-07-10 Thread Ken Mankoff
think this will work for now. -k. * On 2014-07-10 at 04:28, Thorsten Jolitz wrote: Ken Mankoff mank...@gmail.com writes: Hi Ken, orgstruct++-mode and orgtbl-mode help a lot. It would be nice to be able to execute code too. they are both nice but not the real thing I have an email

[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

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 mank...@gmail.com writes: 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

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. mdoy...@ur.rochester.edu 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

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 lang :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.

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 Python

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:

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 have

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 fa-orgm...@haktar.org wrote: Dear Ken, On Tuesday, Aug 05 2014, Ken Mankoff mank...@gmail.com wrote: You are correct that M-x org-archive-subtree

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 dsmaster...@gmail.com wrote: jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: David Masterson

[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

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 sql TAB. Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard. On Sep 9, 2014, at 13:24, Subhan Michael

[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

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 mank...@gmail.com 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 space. When I

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 aarone...@gmail.com 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 *Messages* How about

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-paragraph, because that triggers this too, even

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 isn't in latest emacs HEAD. I'll submit

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 mank...@gmail.com wrote

[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 mank...@gmail.com 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 equation preview preamble, but no file preamble.tex

[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

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:32 PM, Ken Mankoff mank

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 mank...@gmail.com 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 _set_ the effort

[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 of

Re: [O] Hide empty custom agenda sections

2013-06-27 Thread Ken Mankoff
-agenda-overriding-header REFILE))) ) nil (org.txt org.html org.ics On Thu, Jun 27, 2013 at 10:44 AM, Bastien b...@gnu.org wrote: Hi Ken, Ken Mankoff mank...@gmail.com writes: Right now I have this at the bottom of my custom agenda, and it is therefore often off-screen. I would like

Re: [O] Hide empty custom agenda sections

2013-06-28 Thread Ken Mankoff
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 mank...@gmail.com wrote: Hi Bastien, Here is my custom agenda section. I'd like to have the DEADLINE and the REFILE

Re: [O] Hide empty custom agenda sections

2013-07-01 Thread Ken Mankoff
On Mon, Jul 1, 2013 at 9:38 AM, Bastien b...@gnu.org 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 this

[O] No ODT export option

2014-01-10 Thread Ken Mankoff
/emacs/etc/org which does not exist. Any help for ODT (and/or DOC) much appreciated. FYI I also have LibreOffice installed which is how I will view the ODT files, and/or do the DOC conversion if I can't get that straight from org. Thank you, Ken Mankoff

Re: [O] No ODT export option

2014-01-10 Thread Ken Mankoff
it by putting (require 'ox-odt) in your config file and restart emacs. Best, Ista On Fri, Jan 10, 2014 at 11:23 AM, Ken Mankoff mank...@gmail.com wrote: Hi, I'd like to export to ODT or even directly to DOC. But I notice I do not have an ODT export option. Can someone help me set this up

Re: [O] No ODT export option

2014-01-10 Thread Ken Mankoff
Oh! I tried it from the CLI emacs rather than the GUI one and it worked. I think I can figure it out from here. Thank you! On Fri, Jan 10, 2014 at 11:42 AM, Ken Mankoff mank...@gmail.com wrote: Ok I seen the option now but when I try to export I get the following error: OpenDocument export

[O] Citations and references in ODT

2014-01-10 Thread Ken Mankoff
Hi, I have export with references and bibliography working well in LaTeX export. I'm now exporting to ODT, and wonder if there is reference and bibliography support for this file format. I've found this 2011 post saying no https://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00296.html

Re: [O] Citations and references in ODT

2014-01-11 Thread Ken Mankoff
Hi, On Sat, 11 Jan 2014, Jambunathan K wrote: If you run in to issues, write me a note and I will happy to make fixes or enhancements. I do have some issues. The unit test is nice, and LaTeX export with it appears to work perfectly once I add the following: \bibliographystyle{unsrt}

Re: [O] Citations and references in ODT

2014-01-11 Thread Ken Mankoff
OK I got it working. THANK YOU. This is amazing. One good authoring environment that does both LaTeX and lets me collaborate (somewhat, partially, if I'm the primary author) with people using MS Word. On Sat, 11 Jan 2014, Jambunathan K wrote: At the minimum you may have to M-x

[O] multi-line citation export issue

2014-01-12 Thread Ken Mankoff
If I have some text and then \cite{a, b c, d, e}, these citations do not export properly to LaTeX, due to the newline in the \cite{}. The command is escaped and appears as \cite\{a, b, c, d, e\}. -k.

Re: [O] multi-line citation export issue

2014-01-12 Thread Ken Mankoff
And a slightly more complicated example: \cite[some text here where spaces are not optional]{citekey1,citekey2} Exports as \cite[some text here where spaces are not optional]\{citekey1,citekey2\} -k. On Sun, Jan 12, 2014 at 6:21 PM, Ken Mankoff mank...@gmail.com wrote: If I have some

Re: [O] multi-line citation export issue

2014-01-12 Thread Ken Mankoff
On Mon, 13 Jan 2014, Nicolas Goaziou wrote: Use export snippets: @@latex:\cite{}@@ I am not familiar with export snippets, but I guess from that syntax that I will not be able to export with citations to ODT/DOC. Right now one org file exports well to both formats. I will deal with

Re: [O] Citations and references in ODT

2014-01-12 Thread Ken Mankoff
Hi, I find the ODT export very useful. Working on another document imported from LaTeX I have a lot of \citep{} and \citet{} in addition to \cite{}. Is it possible for ox-jabref.el to support this even if it does not distinguish between the T and P? I edited the line near the bottom with the

Re: [O] multi-line citation export issue

2014-01-13 Thread Ken Mankoff
Hi Nicolas et al., On Mon, 13 Jan 2014, Nicolas Goaziou wrote: Ken Mankoff mank...@gmail.com writes: I am not familiar with export snippets, but I guess from that syntax that I will not be able to export with citations to ODT/DOC. Right now one org file exports well to both formats. You

Re: [O] Citations and references in ODT

2014-01-13 Thread Ken Mankoff
Yes I just figured out I need the . before the ?. It works now. I also made changes in both ox-odt.el and ox-jabref.el, everywhere that I found the \cite regex. Works well now. Thank you! -k. On Mon, Jan 13, 2014 at 1:31 AM, Nick Dokos ndo...@gmail.com wrote: Ken Mankoff mank

[O] python :session does return

2014-01-14 Thread Ken Mankoff
I've seen various historical issues with :session but it seems I may have a different problem. This is the latest org in emacs 24.3. If I do not have :session, then everything works just fine. If I C-c C-c in the following code: #+BEGIN_SRC python :session transect import numpy as np x =

  1   2   3   4   5   >