[O] Emacs batch and bbdb Issue

2015-08-18 Thread Aric Gregson
Hello,

I have cron set up to send me an email with my org calendar each morning
as follows:

/usr/local/bin/emacs --batch -l ~/.emacs --eval '(org-batch-agenda "a"
org-agenda-span (quote day))'

It works fine unless Gnus starts running. When that happens, bbdb is
taken by Gnus and then the emacs --batch gets stuck because it wants to
know if emacs should steal the bbdb file.

I use diary in org. I am not sure if there is a way to not use bbdb file
and still use diary? Is there a way to make stealing the bbdb file the
default for emacs upon start-up?

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] Source Code Header Not Honored in Exportation?

2014-08-08 Thread Aric Gregson
Aric Gregson  writes:

> I am trying to export via org-odt and do not want some of the R source
> run during export. For these blocks I have the following:
>
> #+begin_src R :eval no
>
> However, it seems that they are still being evaluated, despite having
> refreshed the local set-up. Is this not the correct header to tell org
> not to evaluate the code block?

It seems that the file was actually not getting refreshed. Closing and
opening the file caused the headers to be noticed and the evaluation was
not carried out, just as desired. 

Thanks, Aric




[O] Source Code Header Not Honored in Exportation?

2014-08-08 Thread Aric Gregson
Hello,

I am trying to export via org-odt and do not want some of the R source
run during export. For these blocks I have the following:

#+begin_src R :eval no

However, it seems that they are still being evaluated, despite having
refreshed the local set-up. Is this not the correct header to tell org
not to evaluate the code block?

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] Repeat task a fixed number of times

2014-08-05 Thread Aric Gregson
Bastien  writes:

> SabreWolfy  writes:
>
>> How do I indicate that the event should be repeated monthly for 6 months
>> only? Time-shift?
>
> FWIW, this is a frequently requested feature and I will propose
> something other than cloning headlines for the next major Org version.

I entirely agree. Thus far I have been pulling my hair out getting diary
sexp statements to work. They do, but unless you understand how to write
them, it is time consuming searching the web for instructions.

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] Excluding habits from Diary?

2014-07-15 Thread Aric Gregson
Aric Gregson  writes:

> The main improvement for me would be to repress the introduction of
> habits into the diary output. I have not been able to accomplish this
> thus far, and am unsure of how I might go about trying to do so.

The way I have worked around this is to set the habits to show only for
the present day in the agenda. They are then not exported into the diary
calendar unless you export the present day. This works just fine. 

Aric




[O] Excluding habits from Diary?

2014-07-10 Thread Aric Gregson
Hello,

I have recently found that I can combine my org-mode
calendar/scheduling/todo with the Emacs diary to output to latex via
cal-tex.el. This is fantastic, despite a few nagging issues.

The main improvement for me would be to repress the introduction of
habits into the diary output. I have not been able to accomplish this
thus far, and am unsure of how I might go about trying to do so.

To integrate org-mode with the diary I simply have the following at the
top of my diary:

%%(diary-sunrise-sunset)
%%(diary-lunar-phases)
&%%(org-diary)

Thanks in advance, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] MobileOrg

2014-07-03 Thread Aric Gregson
That's what I was looking for. Didn't realize I could do that...

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] MobileOrg

2014-06-25 Thread Aric Gregson
Sean Escriva  writes:

> org-mobile.el which is responsible for the sync has a custom var defined
> called 'org-mobile-files-exclude-regexp' which should exlude files that
> match.

OK. I've tried to play with this, but clearly my understanding of emacs
and regex is inadequate for this. Ideally I would like to exclude all of
the files except for two, agenda.org and organizer.org. Alternatively,
is there a way to list all files you want excluded in the regex match
pattern?

I tried [[:name.of.file:]][[:name.of.another:]] but it didn't like
that. I can exclude a single file just by putting it's name in, but I am
not clear on how to make a list of files to exclude. 

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)



Re: [O] BBDB and Org

2014-04-04 Thread Aric Gregson
Eric Abrahamsen  writes:

> Ah, check the variable bbdb-read-only then -- it's for precisely this
> situation.

Exactly what I was looking for! Thank you.

Aric




Re: [O] BBDB and Org

2014-04-03 Thread Aric Gregson
Thanks Charles. I may try this again. I have had lots of issues moving
From v2 to v3 of bbdb. Still problems with Gnus, but workable at this
point.

Aric


signature.asc
Description: PGP signature


Re: [O] BBDB and Org

2014-04-03 Thread Aric Gregson
Eric Abrahamsen  writes:

> I'm also not sure what you mean by "org pulling bbdb away from gnus" --
> are you running two separate instances of emacs?

Yes, that is precisely what I am doing. I tend to work in the Emacs
instance running org mode and use the other just for email. Too much
blocking if I do it all in one instance. Plus, previously there were
lots of crashes, but things do appear more stable now.

Thanks, Aric




[O] BBDB and Org

2014-04-03 Thread Aric Gregson
Hello,

I am just wondering if there is a way to get org mode to stop playing
with bbdb. Because I use both gnus and org, it is a bit of a hassle to
have org always pulling bbdb away from gnus when I create an agenda. I
have taken out all reference to bbdb and org in my start-up files. I
don't use anniversary any longer (could not get it to work properly with
version 3 of bbdb, despite some help from the list) and really don't see
why org needs it. Any idea of how to turn it off? 

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] Org Agenda and BBDB File

2014-03-18 Thread Aric Gregson
Nick Dokos  writes:

> I think your impression is correct, assuming that org-agenda-file-regexp
> has not been modified:

Thanks Nick. So I am left trying to figure out why org agenda creation
keeps pulling in the bbdb file.

Aric




[O] Org Agenda and BBDB File

2014-03-17 Thread Aric Gregson
Hello,

I am wondering if it is possible to get org-mode to stop asking to read
the bbdb file when creating the new agenda. It is a bit annoying because
GNUS in another instance of emacs generally has the file. 

I have seemingly removed any calls to bbdb in my org set-up (initially
used it for anniversaries, but now doesn't appear to work in bbbd v3). I
now have no dates that need to be looked at for agenda creation in org
mode.

If I have  '(org-agenda-files (quote ("~/org"))) and the bbdb file is in
this directory, it is then used by org mode to create the agenda? My
impression was that only files ending in '.org' in the directory were
used. 

Thanks, Aric




Re: [O] MobileOrg

2014-03-14 Thread Aric Gregson
Sean Escriva  writes:

> org-mobile.el which is responsible for the sync has a custom var defined
> called 'org-mobile-files-exclude-regexp' which should exlude files that
> match.

Thanks very much. I'll give this a try again. Would be nice to have on
the phone once and a while. For computer syncing I find github to work
very well. 

Thanks, Aric



Re: [O] MobileOrg

2014-03-14 Thread Aric Gregson
Hello,

I was wondering if it is possible to export only some of the org files
for mobileorg? Like have a list of included or excluded files?

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)



Re: [O] Habits and Diary Type Dates?

2014-01-29 Thread Aric Gregson
--On January 29, 2014 9:18:57 PM -0800 Josiah Schwab  
wrote:



I have a habit that I only do on weekdays, and the workaround that I
ended up using was to have separate copies of the task for each day of
the week that I want to do it.


Thanks, I read the link. Sounds like they are just not meant to work that 
way.


Aric






[O] GPG Files and Agenda

2014-01-29 Thread Aric Gregson
Hello,

I have a gpg encrypted org file in my org directory that I have tracked
time on. I would like this to show up in the Agenda view when I create
it and have logging on, but it seems that logged time from the gpg file
is not included in the agenda. I have loaded the module org-crypt, but
that does not seem to do anything different. I should note that I
encrypted it outside of org-mode, I used just the emacs 'Encrypt-file'
function. 

Must the file be encrypted from within org mode? Or is this just
something you cannot do? 

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




[O] Habits and Diary Type Dates?

2014-01-29 Thread Aric Gregson
Hello,

I believe that what I want to do will not work, but I thought I would
ask. I have a habit that I want to do on certain days of the week
only. I had the date in the org file set as the following:

#+begin_src org
<%%(memq (calendar-day-of-week date) '(2 3 0))>
#+end_src 

While it shows up on the calendar on the correct dates, it will not
cycle like a habit should. It will actually move to a "DONE"
state. Changing the date format back to an org date type format seems to
solve the problem.

Is there a work-around? 

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] [ANN] ELPA package for ODT and JabRef exporters

2014-01-29 Thread Aric Gregson
Jambunathan K  writes:

> 3. Visit an Org file and export to ODT

I think this was the key because I had entirely altered my org and
org-odt set-up to use elpa and your tar file, so there had never been an
export. 

> Now check the *Messages* buffer and the value of the above variables.

Yes, now they are defined. And they point to 
"~/.emacs.d/elpa/org-odt-20140127/etc/styles/"

Thanks. 



Re: [O] [ANN] ELPA package for ODT and JabRef exporters

2014-01-29 Thread Aric Gregson
Jambunathan,

I have tried to install this. I even created a blank .emacs file as you
suggested. Everything appears to be fine with the exception of 

>C-h v org-odt-styles-dir
>C-h v org-odt-schema-dir

These do not appear as options for me. I'm not sure if that matters.

Thanks, Aric




Re: [O] Citations and references in ODT

2014-01-20 Thread Aric Gregson
--On January 19, 2014 11:16:53 AM +0530 Jambunathan K 
 wrote:



Are you still stuck here or you made some repairs and stuck elsewhere.

...

IMO, starting from scratch (i.e., an empty .emacs) and installing Org
via M-x list-packages is a sure way to have a working setup with minimal
fuss.


Yes, still stuck here. All works fine so long as I don't try to use your 
modified files, thus I imagined it was due to some error when installing 
your modified files for org, which it must be. I will look through and 
reinstall again and see what I can find. Otherwise, works well enough now 
without the ox-jabref.el.


Aric







Re: [O] Citations and references in ODT

2014-01-16 Thread Aric Gregson
Ken Mankoff  writes:

> Aric, perhaps you could add markdown support using export filters? I have
> just come across this feature and it looks useful.
>
> http://thread.gmane.org/gmane.emacs.orgmode/74816/focus=74876

I'll give this a try, but my lisp knowledge is nil. I can pretty easily
change the references to latex format with a search and replace, but I
am running into issues going from latex to docx with pandoc. Will
probably need to explore this option here more and wait to see if
Jambunathan has any ideas as to why his exporter is not working with my
set-up.

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)



Re: [O] Org Export to ODT Problem Files

2014-01-14 Thread Aric Gregson
Jambunathan K  writes:

> You are looking for this
>
> (custom-set-variables
>  '(org-odt-display-outline-level 0))

Thanks, Aric



Re: [O] Citations and references in ODT

2014-01-14 Thread Aric Gregson
Jambunathan K  writes:

> C-h v org-version

org-version is a variable defined in `org.el'.
Its value is "8.2.5c"

> M-x find-library org-loaddefs

;;; org-loaddefs.el --- autogenerated file, do not edit
;;
;;; Code:

;;;### (autoloads (org-babel-mark-block org-babel-previous-src-block
;;  org-babel-next-src-block org-babel-goto-named-result 
org-babel-goto-named-src-block
...

> M-x find-library ox

;;; ox.el --- Generic Export Engine for Org Mode

;; Copyright (C) 2012-2014 Free Software Foundation, Inc.

;; Author: Nicolas Goaziou 
;; Keywords: outlines, hypermedia, calendar, wp

;; This file is part of GNU Emacs.
...

> M-x find-library ox-odt

;;; ox-odt.el --- OpenDocument Text Exporter for Org Mode

;; Copyright (C) 2010-2013 Free Software Foundation, Inc.

;; Author: Jambunathan K 
;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org

;; This file is part of GNU Emacs.
...

> M-x find-library ox-jabref

;;; ox-jabref.el --- JabRef Citation Processor for Orgmode

;; Copyright (C) 2013 Jambunathan K 

;; Author: Jambunathan K 
;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org
;; Version: 8.0.6

;;; Commentary:

 Quick start guide:
;;
;; 1. Install [[http://jabref.sourceforge.net/][JabRef]]
;;
;;This module is tested with version JabRef-2.9.2.jar.
;;
...

> M-x list-load-path-shadows org

I am not able to put in the org. It just runs after the command and does
not allow options. Sorry for the large output. 

/fitz/home/aorchid/.emacs.d/gnus/lisp/sasl-ntlm hides 
/usr/local/share/emacs/24.3/site-lisp/flim/sasl-ntlm
/fitz/home/aorchid/.emacs.d/gnus/lisp/hmac-md5 hides 
/usr/local/share/emacs/24.3/site-lisp/flim/hmac-md5
/fitz/home/aorchid/.emacs.d/gnus/lisp/md4 hides 
/usr/local/share/emacs/24.3/site-lisp/flim/md4
/fitz/home/aorchid/.emacs.d/gnus/lisp/sasl-cram hides 
/usr/local/share/emacs/24.3/site-lisp/flim/sasl-cram
/fitz/home/aorchid/.emacs.d/gnus/lisp/hex-util hides 
/usr/local/share/emacs/24.3/site-lisp/flim/hex-util
/fitz/home/aorchid/.emacs.d/gnus/lisp/sasl-digest hides 
/usr/local/share/emacs/24.3/site-lisp/flim/sasl-digest
/fitz/home/aorchid/.emacs.d/gnus/lisp/hmac-def hides 
/usr/local/share/emacs/24.3/site-lisp/flim/hmac-def
/fitz/home/aorchid/.emacs.d/gnus/lisp/ntlm hides 
/usr/local/share/emacs/24.3/site-lisp/flim/ntlm
/fitz/home/aorchid/.emacs.d/gnus/lisp/sasl hides 
/usr/local/share/emacs/24.3/site-lisp/flim/sasl
/fitz/home/aorchid/.emacs.d/gnus/lisp/sha1 hides 
/usr/local/share/emacs/24.3/site-lisp/flim/sha1
/fitz/home/aorchid/.emacs.d/gnus/lisp/smime hides 
/usr/local/share/emacs/24.3/site-lisp/semi/smime
/fitz/home/aorchid/.emacs.d/gnus/lisp/utf7 hides 
/usr/local/share/emacs/24.3/site-lisp/wl/utf7
/fitz/home/aorchid/.emacs.d/gnus/lisp/hex-util hides 
/usr/local/share/emacs/24.3/lisp/hex-util
/fitz/home/aorchid/.emacs.d/gnus/lisp/password-cache hides 
/usr/local/share/emacs/24.3/lisp/password-cache
/fitz/home/aorchid/.emacs.d/gnus/lisp/format-spec hides 
/usr/local/share/emacs/24.3/lisp/format-spec
/fitz/home/aorchid/.emacs.d/gnus/lisp/color hides 
/usr/local/share/emacs/24.3/lisp/color
/fitz/home/aorchid/.emacs.d/gnus/lisp/md4 hides 
/usr/local/share/emacs/24.3/lisp/md4
/fitz/home/aorchid/.emacs.d/gnus/lisp/dns-mode hides 
/usr/local/share/emacs/24.3/lisp/textmodes/dns-mode
~/.emacs.d/remember/remember hides 
/usr/local/share/emacs/24.3/lisp/textmodes/remember
~/.emacs.d/org-mode/lisp/ob-picolisp hides 
/usr/local/share/emacs/24.3/lisp/org/ob-picolisp
~/.emacs.d/org-mode/lisp/org-eshell hides 
/usr/local/share/emacs/24.3/lisp/org/org-eshell
~/.emacs.d/org-mode/lisp/org-capture hides 
/usr/local/share/emacs/24.3/lisp/org/org-capture
~/.emacs.d/org-mode/lisp/ob-keys hides 
/usr/local/share/emacs/24.3/lisp/org/ob-keys
~/.emacs.d/org-mode/lisp/org-archive hides 
/usr/local/share/emacs/24.3/lisp/org/org-archive
~/.emacs.d/org-mode/lisp/ob-asymptote hides 
/usr/local/share/emacs/24.3/lisp/org/ob-asymptote
~/.emacs.d/org-mode/lisp/org-mouse hides 
/usr/local/share/emacs/24.3/lisp/org/org-mouse
~/.emacs.d/org-mode/lisp/org-agenda hides 
/usr/local/share/emacs/24.3/lisp/org/org-agenda
~/.emacs.d/org-mode/lisp/ob-lob hides 
/usr/local/share/emacs/24.3/lisp/org/ob-lob
~/.emacs.d/org-mode/lisp/ob-js hides /usr/local/share/emacs/24.3/lisp/org/ob-js
~/.emacs.d/org-mode/lisp/ob-gnuplot hides 
/usr/local/share/emacs/24.3/lisp/org/ob-gnuplot
~/.emacs.d/org-mode/lisp/org-loaddefs hides 
/usr/local/share/emacs/24.3/lisp/org/org-loaddefs
~/.emacs.d/org-mode/lisp/ob-fortran hides 
/usr/local/share/emacs/24.3/lisp/org/ob-fortran
~/.emacs.d/org-mode/lisp/ob-scheme hides 
/usr/local/share/emacs/24.3/lisp/org/ob-scheme
~/.emacs.d/org-mode/lisp/org-plot hides 
/usr/local/share/emacs/24.3/lisp/org/org-plot
~/.emacs.d/org-mode/lisp/ob-sh hides /usr/local/share/emacs/24.3/lisp/org/ob-sh
~/.emacs.d/org-mode/lisp/org-footnote hides 
/usr/local/share/emacs/24.3/lisp/org/org-footnote
~/.emacs.d/org-mode/contrib/lisp/or

Re: [O] Citations and references in ODT

2014-01-14 Thread Aric Gregson
Jambunathan K  writes:

> This will be an one-off change, so I am hesitant to consider this.
...
> I am interested in considering all suggestions or use-cases that extends
> or improves upon the current practice. 

Clearly for me, this would not be a one off change...

Thanks, Aric



Re: [O] Citations and references in ODT

2014-01-13 Thread Aric Gregson
Jambunathan,

Thanks for posting your instructions and links again. I followed the
instructions and am receiving the following error on export attempt:

OpenDocument export failed: Symbol's function definition is void:
org-element-cache-reset

I also receive this error the first time that I try to open an org
file. I can open the file if I try another time. 

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] Org Export to ODT Problem Files - Latex Equations Work

2014-01-13 Thread Aric Gregson
Bastien  writes:

> can you give more details about your setup? 

I am using the mathtoweb function and so far so good. Here is what I
have and what I understand of it, but I could be wrong about why it is
working. 

The file has this header:

#+OPTIONS:   LaTeX:t 

I have this in my .emacs file:

;; to convert latex equations to mathml for ODT export
; uses mattoweb (http://www.mathtoweb.com/cgi-bin/mathtoweb_home.pl)
(setq org-latex-to-mathml-convert-command
  "java -jar %j -unicode -force -df %o %I"
  org-latex-to-mathml-jar-file
  "~/.emacs.d/mathtoweb.jar")

Now it just works after updating to Java 7. 

> This could well deserve a link to worg/org-hacks.org!

Yes, some of those files are outdated and it has been somewhat
challenging to find all the needed info in one place. 

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] Org Export to ODT Problem Files

2014-01-13 Thread Aric Gregson
Jambunathan K  writes:

> 2. MathToWeb
>
>Pro: Uses MathML
>
>Con: MathToWeb is new kid on the block.  May prove to be problematic
>with more complex formulae.
>
>If ltx->mathml conversion is problematic for some equations, you can
>create "ODF files" (OpenDocumentFormula files created with
>LibreOffice Math) by hand and insert an Org link to them.

Yes, this works very well for me. There is an issue with export of
$\geq$ that the author is looking into. 

>>   4. Figure and table references are by section, sort of like old
>> fashioned latex.

For me, I am not writing a book or anything very long, just
manuscripts. Thus, I would prefer just to label each figure in order and
each table in order. I would therefore get Figure 1, Figure 2, etc and
Table 1, Table 2, etc in the order of appearance in the text. There is
no reference to section that way. 

Maybe this is something that can be set in my odt reference file for
exporting? I have not yet investigated that.

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] Citations and references in ODT

2014-01-13 Thread Aric Gregson
Ken Mankoff  writes:

> 3) I put MathToWeb.jar in the unit test folder. However, if I run
> "java -jar MathToWeb.jar" I get the following error. I have an email
> in to the MathToWeb developer/maintainer about this
>
> $ java -jar mathtoweb.jar
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> mathtoweb/engine/MathToWeb : Unsupported major.minor version 51.0

I had the same issue and the author of mathtoweb quickly got back to me
with it being an incompatibility with java 6. I installed OpenJDK7 on my
machine and it worked just fine!

Aric




Re: [O] Citations and references in ODT

2014-01-13 Thread Aric Gregson

> I have found this useful for converting latex export to doc[x]

Thanks for that idea, I will give that a try as well. 

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)




Re: [O] Citations and references in ODT

2014-01-13 Thread Aric Gregson
Ken Mankoff  writes:

> 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?

On a similar note, would it be possible to add support for the markdown
style of references?

[@Authoryear; @anotherauthoryear]

I have so many like this across files.

Thanks, Aric



Re: [O] No Export Tag Not Working?

2014-01-10 Thread Aric Gregson
t...@tsdye.com (Thomas S. Dye) writes:

> Section 7.2, Special properties, says that TAGS shouldn't be used as a key
> in the properties drawer. Chapter 6, Tags, explains that "tags occur at
> the end of the headline". 

Thank you for pointing that out. I'll give that whirl.

aric




Re: [O] Org Table Export to Markdown Table Question

2014-01-09 Thread Aric Gregson
--On January 9, 2014 11:58:37 AM -0500 Rick Frankel  
wrote:



I'm not sure why you are using markdown as an intermediate file
format. Org will export to latex, pdf (via latex) and openoffice odt
(which can be exported from open/libre office to doc/docx.).


I had originally tried because of problems with the odt exporter, which 
appears to have been fixed with the recent release, as noted previously. 
Markdown is still extremely useful for formatting references/bibliographies 
with bibtex and csl. Latex is not as useful because it is nearly impossible 
to share latex files with those using Word and most journals in my field do 
not accept latex files.


Thanks, Aric



Re: [O] Org Export to ODT Problem Files

2014-01-08 Thread Aric Gregson
Bastien  writes:

> What version of Org and Emacs are you using?
> M-x org-version RET

8.2.1-dist

> M-x emacs-version RET

24.3.1 freebsd-amd64

Thanks, Aric

-- 
~O
/\_,
###-\  |_
(*) / (*)