[O] Visiting an Entry with an ID

2016-02-09 Thread Alan Parker Lue
Trying to figure out how to switch buffers when visiting an entry given an ID in Elisp. To elaborate: http://stackoverflow.com/questions/35299171/org-mode-elisp-how-does-one-switch-the-buffer-when-using-an-id-to-visit-an-en Does anyone have an answer for this?

Re: [O] [PATCH] org-attach.el: Get attachments from git annex

2016-02-09 Thread Achim Gratz
Erik Hetzner writes: > Sorry - I misunderstood how `org-test-for-executable' works. I’ll fix the > issue. Thanks. > As for the rm -rf, it does not work in the way you suggest, at least on ubuntu > GNU/Linux. Here is the result I get locally without the chmod: For pete's sake, what are the

Re: [O] Visiting an Entry with an ID

2016-02-09 Thread John Kitchin
I posted this answer on SO: (defun open-id (id) (org-id-goto id) (message "%s" (current-buffer))) It seems to do what you want. Alan Parker Lue writes: > Trying to figure out how to switch buffers when visiting an entry given an > ID in Elisp. To elaborate: > >

Re: [O] What does the _ in `(defun org-element-section-parser (_) ...)' stands for?

2016-02-09 Thread John Kitchin
I guess it is a required signature for the function (i.e. some other function will call it with some argument), and _ indicates it is not used in the body. If you were to give it the arg a name, then checkdoc would complain about it not being in the docstring. Thorsten Jolitz writes: > Hi List,

Re: [O] Visiting an Entry with an ID

2016-02-09 Thread Alan Parker Lue
That's perfect, thanks! On Tuesday, February 9, 2016, John Kitchin wrote: > I posted this answer on SO: > > (defun open-id (id) > (org-id-goto id) > (message "%s" (current-buffer))) > > It seems to do what you want. > > Alan Parker Lue writes: > > > Trying to figure

Re: [O] MobileOrg does not sync with local Android calendar

2016-02-09 Thread Ramon Diaz-Uriarte
On Sat, 06-02-2016, at 19:03, cschr wrote: > Thanks Ramon and Eric > > Are you using custom agenda views ? Someone wrote on the web that this Not that I am aware of. Where would I have done that (so I can check)? > is required - is he right ? > > Chris > > -Original

[O] Sync org-contacts with google

2016-02-09 Thread Martin
Hi there, I found google-contacts which can download my contacts from google and save it as org-contact. But ist there anything like org-caldav-sync (where I really sync google calender very well) with the org-concats? In my case I have Project specific contacts in different org files (one per

[O] [PATCH] ob-sql.el: fix typo preventing mysql table headers from being parsed

2016-02-09 Thread Gary Oberbrunner
* ob-sql.el (org-babel-execute:sql): fix typo (introduced in 8c2e232) which prevented correct parsing of mysql table headers. --- lisp/ob-sql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el index 724f7c6..6488afe 100644 --- a/lisp/ob-sql.el

[O] problems with org and pabbrev

2016-02-09 Thread orgmode
Hi, somehow pabbrev mode doesn't work anymore with org, since I use org from elpa. after loading org, pabbrev is a minor mode, as indicated in the modeline. However runs the command org-cycle instead of pabbrev-expand-maybe. So I wrote the following functions: (defun

[O] Archiving?

2016-02-09 Thread Johann Spies
I cannot get archiving to work as expected. Example: With the cursor on * DONE Werk aan die normalisering van skrywers CLOSED: [2015-10-13 Di 07:50] :PROPERTIES: :ID: d48a7607-0a66-42a6-8819-b98be5f612aa :END: and #+ARCHIVE: %s_done:: in the file Then I did C-c $ As a result,

Re: [O] problems with org and pabbrev

2016-02-09 Thread Eric S Fraga
On Tuesday, 9 Feb 2016 at 15:43, orgmode wrote: > Hi, > > somehow pabbrev mode doesn't work anymore with org, since I use org > from elpa. > > after loading org, pabbrev is a minor mode, as indicated in the > modeline. > > However runs the command org-cycle instead of > pabbrev-expand-maybe. In

Re: [O] MobileOrg does not sync with local Android calendar

2016-02-09 Thread Eric S Fraga
On Saturday, 6 Feb 2016 at 19:03, cschr wrote: > Thanks Ramon and Eric > > Are you using custom agenda views ? Someone wrote on the web that > this is required - is he right ? I am using some custom views but not sure if this is necessary for calendar synchronisation. It should be easy enough

[O] #+BEGIN_LaTeX deprecated

2016-02-09 Thread Julien Cubizolles
The #+BEGIN_LaTeX... #+END_LaTeX has been deprecated in favor of #+BEGIN_EXPORT latex ... #+END_EXPORT. I have however a lot of older org files that I will need to export again. I can manually change the blocks but I was wondering if some automatic conversion function has been implemented.

Re: [O] Bug: OpenDocument export failed: End of file during parsing [8.2.10 (release_8.2.10 @ /nix/store/2v8f4l0ikhjnqmbqn0lm9vshssm5apaq-emacs-24.5/share/emacs/24.5/lisp/org/)]

2016-02-09 Thread Nicolas Goaziou
Hello, Damien Cassou writes: > Then, I quit Emacs, I remove all .elc files, then I launch Emacs again and > > - M-x toggle-debug-on-error > - open an empty org file, try to export to .odt, and get > > OpenDocument export failed: Buffer is read-only: # I cannot reproduce

Re: [O] [PATCH] org-attach.el: Get attachments from git annex

2016-02-09 Thread Achim Gratz
Erik Hetzner writes: > Here are the permissions: > > 0755 /tmp/tmp-orgtest/ > 0700 /tmp/tmp-orgtest/org-annex-test19785b6F/ > 0775 /tmp/tmp-orgtest/org-annex-test19785b6F/.git/ > 0775 /tmp/tmp-orgtest/org-annex-test19785b6F/.git/annex/ > 0775

Re: [O] [PATCH] org-attach.el: Get attachments from git annex

2016-02-09 Thread Erik Hetzner
Hi Achim, On Tue, 09 Feb 2016 11:40:54 -0800, Achim Gratz wrote: > > Erik Hetzner writes: > > Sorry - I misunderstood how `org-test-for-executable' works. I’ll fix the > > issue. > > Thanks. > > > As for the rm -rf, it does not work in the way you suggest, at least on > >

Re: [O] [PATCH] ob-sql.el: fix typo preventing mysql table headers from being parsed

2016-02-09 Thread Nicolas Goaziou
Hello, Gary Oberbrunner writes: > * ob-sql.el (org-babel-execute:sql): fix typo (introduced in 8c2e232) > which prevented correct parsing of mysql table headers. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] #+BEGIN_LaTeX deprecated

2016-02-09 Thread Myles English
Hello Julien, Julien Cubizolles writes: > The #+BEGIN_LaTeX... #+END_LaTeX has been deprecated in favor of > #+BEGIN_EXPORT latex ... #+END_EXPORT. I have however a lot of older org > files that I will need to export again. I can manually change the > blocks but I was wondering if some automatic

Re: [O] #+BEGIN_LaTeX deprecated

2016-02-09 Thread Kaushal Modi
Check out this announcement email about the syntax change: https://lists.gnu.org/archive/html/emacs-orgmode/2015-12/msg00525.html It has a snippet to convert the old syntax files to new syntax. -- Kaushal Modi On Feb 9, 2016 6:45 PM, "Myles English" wrote: > Hello

[O] What does the _ in `(defun org-element-section-parser (_) ...)' stands for?

2016-02-09 Thread Thorsten Jolitz
Hi List, just out of curiosity, a few functions in org-element.el contain _ in their parameter list, but its not used in the body. What does it stand for? -- cheers, Thorsten