Re: [O] Working on iPad Pro

2016-01-31 Thread Ido Magal
The issue with the smart keyboard is that it does not have an ESC key. 

>> On Jan 31, 2016, at 09:54, John Hendy  wrote:
>> 
>>> On Sun, Jan 31, 2016 at 11:52 AM, John Hendy  wrote:
>>> On Sun, Jan 31, 2016 at 11:27 AM, Peter Davis  wrote:
>>> 
>>> 
>>> I've been using org-mode for a few years, mainly for writing blog posts and 
>>> documents, and, to a lesser extent, for keeping track of TODO items, etc. I 
>>> barely scratch the surface of what org-mode can do, and I keep learning new 
>>> bits incrementally, largely by reading this list.
>>> 
>>> I'm now almost ready to shelve my laptop and start using an iPad Pro with 
>>> the Apple "smart" keyboard. However, I haven't found a good way to do my 
>>> org-mode authoring.  I know there's org-mobile, but I don't want to have to 
>>> think about sync'ing, or try to remember where the latest versions of my 
>>> docs are as I move from one computer to another.
>> 
>> I'm in a similar boat with respect to mobile-org... I've set it up a
>> few times but just never got into it other than for being able to view
>> entries from afar. I also don't care for the capture/re-file mechanism
>> of syncing back to the mothership when I add from the phone. I've
>> tried emacs on Android, but typing is awful. I think having a legit
>> keyboard would make this awesome!
>> 
>>> I've thought about using the iPad to ssh to a desktop computer, and just 
>>> running emacs on that. That might be the best solution, but the Apple 
>>> "smart" keyboard doesn't seem to have any meta key. Has anyone figured out 
>>> how to get the option key to work that way in vSSH? Or is there a better 
>>> ssh app?
>> 
>> I'm not on ios, so maybe shouldn't comment (and I think the emacs apps
>> on android are pretty feature-ful, so haven't experienced what's
>> lacking on ios), but there appears to be this relatively simple way to
>> get full blown emacs on ios:
>> - http://gamma-level.com/iphoneos/ports/emacs
>> 
>> Or does that require jailbreaking (says you need development tools
>> available on the device)?
>> 
>> This reddit post suggests the ssh method, and somewhere else I read
>> the claim that Prompt is the best ssh app:
>> - 
>> https://www.reddit.com/r/emacs/comments/2dwapw/emacsish_text_editor_for_ipad/
> 
> Adding: this is where I saw Prompt mentioned, and it happened to
> appear on a thread related to the option key issue you mentioned:
> - 
> http://apple.stackexchange.com/questions/48043/how-to-ssh-from-ipad-with-external-keyboard-and-emacs
> 
> So if you could learn to use Esc, sounds like ssh might be a legit option?
> 
> John
> 
>> 
>>> Is there some other option I'm overlooking? I know there are some "almost 
>>> emacs" apps, but ... they're "almost."
>> 
>> Other than the option key, if ssh would work and the limitation is an
>> always-on box, could you work with a Raspberry Pi? I have one under my
>> desk that I've been fiddling with for a few months. Your post reminded
>> me that this would be an option for me on Android as well. Just
>> throwing it out there... ~$35 and you'd have something easily able to
>> handle anything Org-mode. I set mine to use a static ip address so I
>> can always find it.  Sorry I can't be more helpful, but those are the
>> options that come to mind... (basically, trying emacs itself or ssh
>> like you're already thinking about).
>> a
>>> BTW, I also use emacs for gnus, and for web and software development, but 
>>> org-mode is what I really need on the iPad.
>> 
>> Good luck!
>> John
>> 
>>> Thanks!
>>> -pd
>>> 
>>> 
>>> --
>>> 
>>> Peter Davis
>>> http://www.techcurmudgeon.com
> 



Re: [O] Working on iPad Pro

2016-01-31 Thread Peter Davis
Thanks for the input, all. I did discover after posting this that vSSH 
has a setting to make 'Alt' act as the meta key. The Apple Smart 
Keyboard Cover doesn't actually have an Alt key, but ... lo and behold 
... it works with the Option key! This is great for me, since it's the 
same key I use for meta on my Macs, so no re-learning is required. (I 
did not find an option like this in the Prompt app, though it may be 
there somewhere.)


For now, this seems an adequate, though not ideal, solution. I'll have 
to  use it more to see how well it works for authoring blog posts.


One irksome limitation of any ssh solution is that I can't just export 
my org files to HTML and preview the results automatically. I'm sure 
I'll find other issues as I start using this workflow more heavily.


Thanks,
-pd

--

Peter Davis
http://www.techcurmudgeon.com




Re: [O] Bug: Cannot export document to HTML or Markdown if it has a title [8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)]

2016-01-31 Thread Nicolas Goaziou
Hello,

Matt Moriarity  writes:

> If I include a #+TITLE: directive at the top of my Org file, when I try
> to export it to HTML or markdown, I get an error:
>
> apply: Wrong type argument: listp, #("Guide" 0 5 (:parent (#0)))
>
> Removing the #+TITLE seems to make everything ok. It seems like this
> should not be an issue, but I’m pretty new to org-mode.

I think this is due to a mixed Org installation: default Org from Emacs
probably interferes with ELPA's.

Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: org-activate-plain-links assumes that 'face is a list [8.3.3 (8.3.3-26-ge92a06-elpa @ /home/clement/.emacs.d/elpa/org-20160125/)]

2016-01-31 Thread Nicolas Goaziou
Hello,

Clément Pit--Claudel  writes:

> Updating org a few days ago broke syntax highlighting. The function
> org-activate-plain-links has this snippet:
>
> (memq 'org-tag
>   (get-text-property
> (max (1- (match-beginning 0)) (point-min)) 'face))
>
> However, the text property that gets returned on my machine is
> 'org-level-2 (which is not a list). This causes font-locking to
> fail with the following message:
>
> Error during redisplay: (jit-lock-function 4968) signaled 
> (wrong-type-argument listp org-level-2)
>
> This started happening recently. Can I provide more information?

This was fixed last Monday. ELPA is expected to contain the fix tomorrow.

Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: wrong-type-argument listp org-level-2 [8.3.3 (8.3.3-26-ge92a06-elpa @ /home/manuel/.emacs.d/elpa/org-20160125/)]

2016-01-31 Thread Nicolas Goaziou
Hello,

Manuel Uberti  writes:

> using latest Org, I get this error whenever I have a link (file: or
> http:) as a heading.
>
> Debugger entered--Lisp error: (wrong-type-argument listp org-level-2)
>   org-activate-plain-links(2510)
>   font-lock-fontify-keywords-region(1 2510 nil)
>   font-lock-default-fontify-region(1 2510 nil)
>   font-lock-fontify-region(1 2510 nil)
>   font-lock-default-fontify-buffer()
>   font-lock-fontify-buffer()

Next ELPA release (tomorrow) will contain the fix for this bug.

Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: org-babel-tangle fails with :comments org [8.3beta (release_8.3beta-1286-g20795f @ /home/malsburg/usr/share/emacs/site-lisp/org/)]

2016-01-31 Thread Nicolas Goaziou
Hello,

Titus von der Malsburg  writes:

> I used the following org-mode document:
>
>   #+PROPERTY: header-args:R :tangle yes :comments org
>   
>   * Test
>   
>   Text for testing.
>   
>   #+BEGIN_SRC R
>   message(1)
>   #+END_SRC
>   
>   #+BEGIN_SRC R
>   message(2)
>   #+END_SRC
>
> When I `org-babel-tangle', this fails after the first code block is
> written.  Stacktrace below.  Tested with current development versions of
> Emacs and org-mode.
>
> Debugger entered--Lisp error: (error "Nothing to comment")

Fixed. Thank you.


Regards,

-- 
Nicolas Goaziou



Re: [O] asymptote evaluation

2016-01-31 Thread Nicolas Goaziou
Hello,

Jan-Mark Batke  writes:

> using a source block of asymptote code I found that the global eval
> property is silently ignored, e.g. despite the fact that
>
> #+property: :eval no-export

The syntax is

  #+property: header-args :eval no-export

Regards,

-- 
Nicolas Goaziou



Re: [O] [babel] is there a chance to split arguments in src block calls or noweb syntax

2016-01-31 Thread Charles C. Berry

On Sun, 31 Jan 2016, O.Hamann wrote:


Hi all,

Splitting header arguments for source blocks into different lines works very 
fine,

(and leads one to put more and more args in the header... )

Is there a chance or trick to do similarly when calling such src blocks?
Somehow like in shell scripts a backslash at the end of a line will signal 
continuation?

(example see below)

Any suggestions or workarounds or best-practices to make the call lines 
better readable and editable are welcome!


Kind regards,

Olaf



Try using a custom babel language. Then using variable assignment from 
babel block.


Here I define `fundamental' as a language, which means I can edit src 
blocks like `lorem' in a src edit buffer in fundamental mode without 
needing to do more than execute the `define-fundamental-as-babel' block or 
put that defun in my .emacs. And when I execute the lorem block - as when 
it is used in `:var txt=lorem()' - it returns the body as a string.



#+NAME: define-fundamental-as-babel
#+BEGIN_SRC emacs-lisp
  (defun org-babel-execute:fundamental (body params)
(format "%s" body))
#+END_SRC

#+NAME: lorem
#+BEGIN_SRC fundamental
  Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
#+END_SRC

#+NAME: abc
#+BEGIN_SRC emacs-lisp :results value :var txt="A B C"
(concat "txt-->" txt "<--txt")
#+END_SRC

#+CALL: abc( lorem() ) :results raw :wrap EXAMPLE

#+RESULTS:
#+BEGIN_EXAMPLE
txt-->Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<--txt
#+END_EXAMPLE


BTW, there is already `org-babel-execute:latex', which is very handy for 
editing LaTeX and then handing it to a src block for further processing.


HTH,

Chuck



[O] Bug: Cannot export document to HTML or Markdown if it has a title [8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)]

2016-01-31 Thread Matt Moriarity
If I include a #+TITLE: directive at the top of my Org file, when I try
to export it to HTML or markdown, I get an error:

apply: Wrong type argument: listp, #("Guide" 0 5 (:parent (#0)))

Removing the #+TITLE seems to make everything ok. It seems like this
should not be an issue, but I’m pretty new to org-mode.

Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 
1404.41)
of 2016-01-16 on derrial.local
Package: Org-mode version 8.3.2 (8.3.2-59-g3d4c46-elpa @ 
/Users/matt/.emacs.d/elpa/org-20160104/)

current state:
==
(setq
org-id-locations-file "/Users/matt/.emacs.d/.cache/.org-id-locations"
org-export-backends '(md beamer latex html ascii)
org-tab-first-hook '(org-hide-block-toggle-maybe 
org-babel-hide-result-toggle-maybe
  org-babel-header-arg-expand)
org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}"
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
 ("article" "\\documentclass[11pt]{article}"
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
  ("\\paragraph{%s}" . "\\paragraph*{%s}")
  ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
 ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . 
"\\part*{%s}")
  ("\\chapter{%s}" . "\\chapter*{%s}")
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
 ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . 
"\\part*{%s}")
  ("\\chapter{%s}" . "\\chapter*{%s}")
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
 )
org-clock-persist-file "/Users/matt/.emacs.d/.cache/org-clock-save.el"
org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-html-format-drawer-function '(lambda (name contents) contents)
org-log-done 'time
org-latex-format-inlinetask-function 
'org-latex-format-inlinetask-default-function
org-confirm-shell-link-function 'yes-or-no-p
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-link-translation-function 'toc-org-unhrefify
org-present-mode-hook '(spacemacs//org-present-start)
org-agenda-restore-windows-after-quit t
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-capture-templates '(("ort/checkitem" "Org Repo Checklist Item" checkitem
  (file+headline (ort/todo-file) "Checklist"))
 ("ort/todo" "Org Repo Todo" entry
  (file+headline (ort/todo-file) "Todos")
  "* TODO  %?   %T\n %i\n Link: %l\n")
 )
org-startup-indented t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-latex-format-drawer-function '(lambda (name contents) contents)
org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '(#[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all 
append local] 5]
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook 
org-babel-show-result-all append
local]
   5]
 org-babel-result-hide-spec org-babel-hide-all-hashes
 spacemacs/load-yasnippet toc-org-enable org-bullets-mode
 spacemacs/add-org-surrounds evil-org-mode org-eldoc-load
 spacemacs//init-company-org-mode company-mode)
org-archive-hook '(org-attach-archive-delete-maybe)
org-ascii-format-drawer-function '(lambda (name contents width) contents)
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines 
org-optimize-window-after-visibility-change)
org-present-mode-quit-hook '(spacemacs//org-present-end)
org-export-async-init-file "/Users/matt/.emacs.d/layers/org/org-async-init.el"
org-confirm-elisp-link-function 'yes-or-no-p
org-startup-with-inline-images t
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-html-format-headline-function 

[O] org-mac-link: add "M" option to include Mail content inline.

2016-01-31 Thread Stacey Marshall

I have been using this addition to org-mac-link for a while so thought it was 
about time I shared it with the org-mode community.

https://github.com/alls0rts/org-mode/tree/org-mac-link

It could do with some additional options added, such as not backgrounding Mail. 
 And perhaps a catch for lines that begin with an asterisk within the message 
block; convert them to have a comma first.  But then perhaps someone has some 
better ways of doing that?

Regards,

Stacey

http://orgmode.org/worg/org-contribute.html


[O] org mode unavailable in GNU's (and org's) archives

2016-01-31 Thread Ujjwal Pandey
Hello,

I can't find the org package in the package lists. I have both the gnu and
org archives added to my list of package archives.

Earlier today I could still see org in the list of packages under both gnu
and org archive. However, I had noticed that the package was marked
obsolete under gnu at least. Now the package is simply unlisted. I imagined
the package was being upgraded to a new build, but it's been a few hours
and I still don't see the package. I also don't see the org-plus-contrib
package though I am not sure if this is where I report problems with org's
archives.

I am using the latest emacs installed from homebrew on OSX.

Thanks for your time.

Cheers,

Ujjwal


Re: [O] Require feedback on an idea: move to a central server all my org file and edit from there?

2016-01-31 Thread Eric Brown


Xebar Saram  writes:


Hi all

Was wondering about input regarding having all my orgmode files 
on a remote

server and editing from there?
I keep syncing (via git,unison etc) all my org files all the 
time between 4
machines and i just had enough :) im not (and probably never 
will be) disciplined
enough to properly save and close all my 100's of buffer before 
i leave each
machine each time and im always faced with conflict/merging 
hell..


I was thinking of putting all my org file in one of these cloud 
servers and access the
files directly and edit them there from any machine..is that a 
silly though?


i dont have any real privacy concerns in my files (i use another 
system for sensitive

info) so that shouldn't be a concern

I would love to hear everyone's thoughts, and if they have a 
magic git/unison

solution for idiots like me id also welcome that ;-)

thx alot in advance

Z



Hi Xebar,

I think I've tried all the options, and I have found that a 
centralized
system is best for me.  I'm really tired of the syncing--I spend 
way too
much time obssessing over the perfect system.  Others have pointed 
out

Dropbox -- this might work but is not FLOSS and costs $.

If you put it in the cloud, it costs $ and you lose control.  See
Richard Stallman's missives on the topic. A cloud system large 
enough to

hold all your digital assets could be very very expensive.

Personally, I have settled on one laptop, and a quick pluggable
monitor/keyboard for places that I do a lot of computing, 
e.g. home and

work.  I also carry an ergonomic keyboard in my backpack.

My desktop machine stays home, of course, and every "3 months" or 
so I
transfer old projects off.  The machine is always available over 
cable
modem, with a service like DynDNS running so that I can ssh back 
in at

my leisure.  (I don't need these 8 TB with me at all times.)

Eric



[O] Help

2016-01-31 Thread Heartsayer


> On Jan 31, 2016, at 10:00, emacs-orgmode-requ...@gnu.org wrote:
> 
> Send Emacs-orgmode mailing list submissions to
>emacs-orgmode@gnu.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>https://lists.gnu.org/mailman/listinfo/emacs-orgmode
> or, via email, send a message with subject or body 'help' to
>emacs-orgmode-requ...@gnu.org
> 
> You can reach the person managing the list at
>emacs-orgmode-ow...@gnu.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Emacs-orgmode digest..."
> Today's Topics:
> 
>   1. Re: org-habit: "++" render wrong color (Nicolas Goaziou)
>   2. Re: Cannot build agenda anymore. (Nicolas Goaziou)
>   3. Re: Bug: Habits will not correctly reset timestamp [8.3.2
>  (release_8.3.2-570-gc17fcc @
>  /home/swflint/.emacs.d/org-mode/lisp/)] (Nicolas Goaziou)
>   4. Re: org-player and switch to lexical binding in org.el
>  (Nicolas Goaziou)
>   5. hyperlinks stopped working (Russell L. Carter)
>   6. Re: hyperlinks stopped working (Russell L. Carter)
>   7. Re: hyperlinks stopped working (Titus von der Malsburg)
>   8. Re: hyperlinks stopped working (Russell L. Carter)
>   9. MobileOrg does not sync with local Android calendar (cschr)
>  10. [babel] is there a chance to split arguments in src block
>  calls or noweb syntax (O.Hamann)
>  11. Re: Latex command compilation in HTML export (Eric S Fraga)
>  12. Re: Export not triggering caching (Eric S Fraga)
>  13. Re: "atomic knowledge" modeling tool (Eric S Fraga)
>  14. Re: MobileOrg does not sync with local Android calendar
>  (Eric S Fraga)
>  15. Re: status of mobile (Android) (Eric S Fraga)
>  16. Re: MobileOrg does not sync with local Android calendar
>  (Ramon Diaz-Uriarte)
>  17. Re: status of mobile (Android) (Ramon Diaz-Uriarte)
>  18. Re: "atomic knowledge" modeling tool (Ramon Diaz-Uriarte)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 



Re: [O] elpa/org-plus-contrib-20160111 problem(with fix)

2016-01-31 Thread Nicolas Goaziou
Hello,

Mike Brown  writes:

> I wasn't sure who to send this to.
>
> I was getting 2 errors:
> An element cannot be parsed line XX  # When filling text (fill-paragraph)
> undefined org-clock-line-re  # when editing \C-' #+BEGIN_SRC
>
> Because of ~/.emacs.d/elpa/org-plus-contrib-20160111/ (and prev version)
> To fix it I edited org-plus-contrib-autoloads.el
> I added this (from org.el) and it fixed both.
> (defconst org-clock-line-re
>   (concat "^[ \t]*" org-clock-string)
>   "Matches a line with clock info.")
>
> I'm not sure it's the best fix, but it works for me.
> I hope others are not having problems too.
> How should I find who to email about an error like this?

I think this is due to a mixed installation on your side.
`org-clock-line-re' is already defined in "org.el".


Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: Time called when org-element--cache-sync-keys is nil [8.3.3 (8.3.3-elpa @ /home/mah/.emacs.d/elpa/org-20160108/)]

2016-01-31 Thread Nicolas Goaziou
Hello,

"Mark A. Hershberger"  writes:

> When I open begin to write an email using mu4e, I get an error
> complaining that clrhash wants a hash-table and got nil.
>
> Patch that fixes this:
>
> diff --git a/lisp/org-element.el b/lisp/org-element.el
> index f407578..0941468 100644
> --- a/lisp/org-element.el
> +++ b/lisp/org-element.el
> @@ -5055,7 +5055,8 @@ updated before current modification are actually 
> submitted."
>   ;; Otherwise, reset keys.
>   (if org-element--cache-sync-requests
>   (org-element--cache-set-timer buffer)
> -   (clrhash org-element--cache-sync-keys))
> +   (when org-element--cache-sync-keys
> +(clrhash org-element--cache-sync-keys)))

Actually, I preferred disabling cache for buffers using orgstruct-mode
(and not in Org mode).

Anyway, this is fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Working on iPad Pro

2016-01-31 Thread John Hendy
On Sun, Jan 31, 2016 at 11:52 AM, John Hendy  wrote:
> On Sun, Jan 31, 2016 at 11:27 AM, Peter Davis  wrote:
>>
>>
>> I've been using org-mode for a few years, mainly for writing blog posts and 
>> documents, and, to a lesser extent, for keeping track of TODO items, etc. I 
>> barely scratch the surface of what org-mode can do, and I keep learning new 
>> bits incrementally, largely by reading this list.
>>
>> I'm now almost ready to shelve my laptop and start using an iPad Pro with 
>> the Apple "smart" keyboard. However, I haven't found a good way to do my 
>> org-mode authoring.  I know there's org-mobile, but I don't want to have to 
>> think about sync'ing, or try to remember where the latest versions of my 
>> docs are as I move from one computer to another.
>
> I'm in a similar boat with respect to mobile-org... I've set it up a
> few times but just never got into it other than for being able to view
> entries from afar. I also don't care for the capture/re-file mechanism
> of syncing back to the mothership when I add from the phone. I've
> tried emacs on Android, but typing is awful. I think having a legit
> keyboard would make this awesome!
>
>> I've thought about using the iPad to ssh to a desktop computer, and just 
>> running emacs on that. That might be the best solution, but the Apple 
>> "smart" keyboard doesn't seem to have any meta key. Has anyone figured out 
>> how to get the option key to work that way in vSSH? Or is there a better ssh 
>> app?
>>
>
> I'm not on ios, so maybe shouldn't comment (and I think the emacs apps
> on android are pretty feature-ful, so haven't experienced what's
> lacking on ios), but there appears to be this relatively simple way to
> get full blown emacs on ios:
> - http://gamma-level.com/iphoneos/ports/emacs
>
> Or does that require jailbreaking (says you need development tools
> available on the device)?
>
> This reddit post suggests the ssh method, and somewhere else I read
> the claim that Prompt is the best ssh app:
> - 
> https://www.reddit.com/r/emacs/comments/2dwapw/emacsish_text_editor_for_ipad/

Adding: this is where I saw Prompt mentioned, and it happened to
appear on a thread related to the option key issue you mentioned:
- 
http://apple.stackexchange.com/questions/48043/how-to-ssh-from-ipad-with-external-keyboard-and-emacs

So if you could learn to use Esc, sounds like ssh might be a legit option?

John

>
>> Is there some other option I'm overlooking? I know there are some "almost 
>> emacs" apps, but ... they're "almost."
>>
>
> Other than the option key, if ssh would work and the limitation is an
> always-on box, could you work with a Raspberry Pi? I have one under my
> desk that I've been fiddling with for a few months. Your post reminded
> me that this would be an option for me on Android as well. Just
> throwing it out there... ~$35 and you'd have something easily able to
> handle anything Org-mode. I set mine to use a static ip address so I
> can always find it.  Sorry I can't be more helpful, but those are the
> options that come to mind... (basically, trying emacs itself or ssh
> like you're already thinking about).
> a
>> BTW, I also use emacs for gnus, and for web and software development, but 
>> org-mode is what I really need on the iPad.
>>
>
> Good luck!
> John
>
>> Thanks!
>> -pd
>>
>>
>> --
>> 
>> Peter Davis
>> http://www.techcurmudgeon.com
>>
>>



Re: [O] org-agenda-filter-by-tag-refine defaults to exclude

2016-01-31 Thread Gustav Wikström
Hi Viktor, Kyle

Fair enough. I’m not attached to the refine-function at all. If you like to 
have it removed, then remove it, unless others are of different opinion ofc. 
The functionality is fairly complex, so removing the keybinding might make it 
seem less complicated.

/G

From: Viktor Rosenfeld [mailto:v.rosenf...@gmx.de]
Sent: Saturday, January 30, 2016 00:08
To: emacs-orgmode@gnu.org
Cc: Gustav Wikström ; Kyle Meyer 
Subject: Re: org-agenda-filter-by-tag-refine defaults to exclude

Hi Gustav,

currently, the remove functionality can also be accessed by C-u /. If we want 
to provide a dedicated hotkey, then the following definition will do it:

(add-hook 'org-agenda-mode-hook
  (lambda()
(local-set-key (kbd "\") '(lambda()
(interactive)
(org-agenda-filter-by-tag nil nil 
'exclude
  'append)

I would prefer to remove this function because it doesn’t add functionality. 
Keeping it around just adds another potential source of bugs.

Best,
Viktor

Am 28.01.2016 um 09:27 schrieb Gustav Wikström 
>:

Hi Kyle, Viktor and the group,

I'd say it's a naming-problem. What, really, is the purpose of the function? 
Because applying the proposed change essentially makes the function identical 
to the function it calls. Right? And that function is still available for the 
user, so a "refinement" can be done without the org-agenda-filter-by-tag-refine 
(bound to backslash (\) ) function. As of now, using the function to exclude 
tags in the agenda provides a direct access to that functionality, instead of 
calling org-agenda-filter-by-tag (bound to slash (/) ) plus pushing the minus 
key (-) to switch from filter to exclude.

If you want to make any change, I'd suggest to instead change the name of 
org-agenda-filter-by-tag-refine to org-agenda-filter-by-tag-exclude and to 
leave the code within the function as is (well.. maybe change 'refine to 
'exclude with the same argument as to the function name change).

Best Regards
Gustav

-Original Message-
From: Kyle Meyer [mailto:k...@kyleam.com]
Sent: Tuesday, January 12, 2016 07:19
To: Viktor Rosenfeld >
Cc: emacs-orgmode@gnu.org; Gustav Wikström 
>
Subject: Re: org-agenda-filter-by-tag-refine defaults to exclude

Hi Viktor,

Viktor Rosenfeld > writes:


Hi,

I noticed that org-agenda-filter-by-tag-refine started to exclude
selected tags by default recently because the 'refine in the call to
org-agenda-filter-by-tag is interpreted as an exclude flag.

This seems to have been introduced by 6c6ae99 (org-agenda: Filtering in the 
agenda on grouptags, 2015-01-24).


The attached patch fixes this.

However, it seems that the function is superfluous because
org-agenda-filter-by-tag can filter on multiple tags as well if called
multiple times (that used not to be the case earlier).  So maybe it
should be deprecated and removed?

I agree.  Gustav, does that make sense given your changes in 6c6ae99?


diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index
d91b64d..21928de 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7580,7 +7580,7 @@ to switch between filtering and excluding."
(defun org-agenda-filter-by-tag-refine (arg  char)
  "Refine the current filter.  See `org-agenda-filter-by-tag'."
  (interactive "P")
-  (org-agenda-filter-by-tag arg char 'refine))
+  (org-agenda-filter-by-tag arg char))


(defun org-agenda-filter-make-matcher (filter type  expand)
  "Create the form that tests a line for agenda filter.  Optional


--
Kyle



[O] Bug: Ampersand is not replaced in URLs in html export [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.5/lisp/org/)]

2016-01-31 Thread mail

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Hi,

I write down some notes including URLs like this one:

http://www.reichelt.de/Drehschalter/DS-3/3/index.html?=7217

afterwards I do C-c C-e h h to export my notes to an html-file.

I expect that the & is replaced by .

But it's not replaced.
This causes the w3c validation to fail.

Kind regards
Fritz Reichwald


Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
 of 2015-09-10 on foutrelis
Package: Org-mode version 8.2.10 (release_8.2.10 @ 
/usr/share/emacs/24.5/lisp/org/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe
  org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-from-is-user-regexp nil
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all 
append local] 5]
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook 
org-babel-show-result-all append local] 5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-hide-inline-tasks
  org-cycle-show-empty-lines 
org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-html-format-headline-function 'ignore
 org-html-format-inlinetask-function 'ignore
 org-agenda-files '("~/freichw/doc/org/agenda.org" 
"~/freichw/doc/org/first.org" "~/freichw/doc/org/inbox.org"
"~/agenda.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )



[O] asymptote evaluation

2016-01-31 Thread Jan-Mark Batke
Hi list,
using a source block of asymptote code I found that the global eval
property is silently ignored, e.g. despite the fact that

#+property: :eval no-export

is set in document asymptote blocks want to get evaluated while exporting.
I can get along with

(eval-after-load 'ob-asymptote
  '(add-to-list 'org-babel-default-header-args:asymptote
'(:eval . "no-export")))

in my .emacs, I wonder if this behavior is intended (the asy exporter might
look for globally set properties).

Best
Jan-Mark


Re: [O] Adjust Keywords

2016-01-31 Thread Michael Strey

(org-align-all-tags)

-- 
Michael Strey
http://www.strey.biz * https://twitter.com/michaelstrey




[O] Bug: org-babel-tangle fails with :comments org [8.3beta (release_8.3beta-1286-g20795f @ /home/malsburg/usr/share/emacs/site-lisp/org/)]

2016-01-31 Thread Titus von der Malsburg

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


I used the following org-mode document:

  #+PROPERTY: header-args:R :tangle yes :comments org
  
  * Test
  
  Text for testing.
  
  #+BEGIN_SRC R
  message(1)
  #+END_SRC
  
  #+BEGIN_SRC R
  message(2)
  #+END_SRC

When I `org-babel-tangle', this fails after the first code block is
written.  Stacktrace below.  Tested with current development versions of
Emacs and org-mode.

Debugger entered--Lisp error: (error "Nothing to comment")
  signal(error ("Nothing to comment"))
  error("Nothing to comment")
  comment-region-default(1 3 nil)
  comment-region(1 3)
  #[(text) "\205&\303\230?\205&   G\304V\205&\n\203  c\207\305`  
c\210`\"\210\306\210\307c\207" [comments text 
org-babel-tangle-uncomment-comments "no" 0 comment-region nil "\n"] 3](#("\n\n" 
0 1 (font-lock-fontified t fontified t face org-block-end-line) 1 2 
(font-lock-fontified t fontified t)))
  org-babel-spec-to-string((12 "/tmp/test2.org" "file:/tmp/test2.org::*Test" 
Test:1 ((:colname-names) (:rowname-names) (:result-params "replace") 
(:result-type . value) (:comments . "org") (:shebang . "") (:cache . "no") 
(:padline . "") (:noweb . "no") (:tangle . "yes") (:exports . "code") (:results 
. "replace") (:hlines . "no") (:session . "none")) "message(2)" #("\n\n" 0 1 
(font-lock-fontified t fontified t face org-block-end-line) 1 2 
(font-lock-fontified t fontified t
  #[(spec) "\306\211\307!\310!\211G\311V\205\n)\312! \313\230\203%\314\315 
!\2027\316\230\203/\317\2027  G\311V\2057 \211\205P,\203O
\313\230\203O
\320,Q\202P
\211-\205\321!\322-!.\211/\203w.\203w/\316\230\204w\323.\324\"\210*\325-!\203\217-\326\327*\"\235\204\217\330-!\210\331\332!0r0q\210\333\216\3341!\203\247\317\335\336\217\210\203\277-2\235\204\277\337Pc\210-2B2\3403!\210\341
 
4\331\332!5r5q\210\342\216\325-!\203\340\343-!\210db\210\344\345\34638\"A\316\230\204\371`eU\204\371\337c\2104c\210\347\317\211-#\210.\203\f\204\3506T6\351\352-\fB\317\353$.\207"
 [get-spec tangle sheb she-bang tangle-mode base-name #[(name) "\302\303   
8\"A\207" [name spec assoc 4] 4] :tangle :shebang 0 :tangle-mode "yes" 
file-name-sans-extension buffer-file-name "no" nil "." :mkdirp 
file-name-directory make-directory parents file-exists-p mapcar car delete-file 
generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" 
[temp-buffer buffer-name kill-buffer] 2)) fboundp (funcall lang-f) ((error)) 
"\n" org-babel-spec-to-string buffer-string ((byte-code 
"\301!\203\n\302!\210\301\207" [temp-buffer buffer-name kill-buffer] 2)) 
insert-file-contents assoc :padline 4 write-region 493 add-to-list 
path-collector #[(a b) "@  @\232\207" [a b] 2] ext file-name fnd m temp-buffer 
lang-f ...] 6]((12 "/tmp/test2.org" "file:/tmp/test2.org::*Test" Test:1 
((:colname-names) (:rowname-names) (:result-params "replace") (:result-type . 
value) (:comments . "org") (:shebang . "") (:cache . "no") (:padline . "") 
(:noweb . "no") (:tangle . "yes") (:exports . "code") (:results . "replace") 
(:hlines . "no") (:session . "none")) "message(2)" #("\n\n" 0 1 
(font-lock-fontified t fontified t face org-block-end-line) 1 2 
(font-lock-fontified t fontified t
  mapc(#[(spec) "\306\211\307!\310!\211G\311V\205\n)\312!
\313\230\203%\314\315 !\2027\316\230\203/\317\2027  G\311V\2057 
\211\205P,\203O\313\230\203O
\320,Q\202P
\211-\205\321!\322-!.\211/\203w.\203w/\316\230\204w\323.\324\"\210*\325-!\203\217-\326\327*\"\235\204\217\330-!\210\331\332!0r0q\210\333\216\3341!\203\247\317\335\336\217\210\203\277-2\235\204\277\337Pc\210-2B2\3403!\210\341
 
4\331\332!5r5q\210\342\216\325-!\203\340\343-!\210db\210\344\345\34638\"A\316\230\204\371`eU\204\371\337c\2104c\210\347\317\211-#\210.\203\f\204\3506T6\351\352-\fB\317\353$.\207"
 [get-spec tangle sheb she-bang tangle-mode base-name #[(name) "\302\303   
8\"A\207" [name spec assoc 4] 4] :tangle :shebang 0 :tangle-mode "yes" 
file-name-sans-extension buffer-file-name "no" nil "." :mkdirp 
file-name-directory make-directory parents file-exists-p mapcar car delete-file 
generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" 
[temp-buffer buffer-name kill-buffer] 2)) fboundp (funcall lang-f) ((error)) 
"\n" org-babel-spec-to-string buffer-string ((byte-code 
"\301!\203\n\302!\210\301\207" [temp-buffer buffer-name kill-buffer] 2)) 
insert-file-contents assoc :padline 4 write-region 493 add-to-list 
path-collector #[(a b) "@  @\232\207" [a b] 2] ext file-name fnd m temp-buffer 
lang-f ...] 6] ((8 "/tmp/test2.org" "file:/tmp/test2.org::*Test" Test:1 
((:colname-names) (:rowname-names) (:result-params "replace") 

Re: [O] Problem with org-babel-detangle

2016-01-31 Thread Titus von der Malsburg

Thanks for looking into it.  Detangling seems to work now but there is
one problem left:

If I open the org-buffer and the tangled files side by side, and then
detangle, both windows show the org-buffer afterwards.  I think
detangling should leave the buffers alone.  Perhaps there is a misplaced
save-excursion somewhere?

Thanks again, Nicolas!

  Titus

On 2016-01-31 Sun 11:50, Nicolas Goaziou wrote:
> Hello,
>
> Titus von der Malsburg  writes:
>
>> I tangeled the following org-mode file:
>>
>>   #+BEGIN_SRC R :tangle /tmp/test.R :comments link
>>   1 + 2
>>   #+END_SRC
>>   
>>   #+BEGIN_SRC R :tangle /tmp/test.R :comments link
>>   3 + 4
>>   #+END_SRC
>>
>> The result was:
>>
>>   ## [[file:test.org][No\ heading:1]]
>>   1 + 2
>>   ## No\ heading:1 ends here
>>   
>>   ## [[file:test.org][No\ heading:2]]
>>   3 + 4
>>   ## No\ heading:2 ends here
>>
>> Then I changes “3 + 4” to “3 + 5”, revisited the org buffer, and
>> executed `org-babel-detangle'.
>>
>> Expected behavior: The second code block in org file is updated to contain
>> “3 + 5”.
>>
>> Actual behaviour: I find myself in a buffer containing test.R, the
>> cursor is inside the first code block at “1”, the second code block’s
>> content in the org buffer is highlighted, and I have an edit buffer for
>> that code block.  The content of the second code block is not updated.
>
> Fixed. Thank you.
>
> Regards,



signature.asc
Description: PGP signature


[O] Problem with src blocks line numbers when generating PDF output using latex listings.

2016-01-31 Thread P-O Gustafsson
Hello,

I ran into what I think is a bug in ox-latex.el. I tried to generate a PDF
document that contains the source code for two files. The first file is
split into two src block snippets and I used the switches '-n' and '+n' to
have the line numbering starting in the first snippet and continue over to
the second snippet. For the third snippet I used the '-n' switch and I
expected the line numbering for snippet three to start a 1, but it
continued with the line numbering sequence from snippet two. The line
numbering behaved as I expected when I generated HTML output, so I had a
look in ox-latex.el. I solved the problem by deleting the code on line
2800, but that might not be the best solution which is why I thought I'd
report it so that someone who knows the code can take look.

org-version: 8.3.3

Configuration:
(add-to-list 'org-latex-packages-alist '("" "listings"))
(add-to-list 'org-latex-packages-alist '("" "color"))
(setq org-latex-listings t)

Workaround: I deleted the code on line 2800 in ox-latex.el

File  Line   Code
ox-latex.el2800  ((zerop num-start) '(("numbers"
"left")))

Best regards
Per


[O] [ox-html] Why are dedicated targets automatically renamed?

2016-01-31 Thread Sébastien Brisard
Hi,
I have noticed that org-mode now renames dedicated targets. More
precisely, the following org file

= beginning of a.org =
  - <>Item 1
  - <>Item 2
= end of a.org =

gets exported to html as

= beginning of a.html (extract) =



Item 1
Item 2



Author: Sébastien Brisard
Created: 2016-01-21 Thu 07:38
http://www.gnu.org/software/emacs/;>Emacs 24.5.1 (http://orgmode.org;>Org mode 8.3.3)
http://validator.w3.org/check?uri=referer;>Validate


= end of a.html =

Notice that the targets were renamed item1 -> orgtarget1 and item2 ->
orgtarget2. Why is that?  With org-publish, it messes up links across
files.
Is there an option that allows to preserve the user's target name on export?
I've tried to grep for "orgtarget" through all org files, and could
not find where this feature was defined.

Thanks for your help,
Sébastien

PS: org-mode 8.2.1 does not have this problem, while v 8.3.3 does.




[O] Bug: Time called when org-element--cache-sync-keys is nil [8.3.3 (8.3.3-elpa @ /home/mah/.emacs.d/elpa/org-20160108/)]

2016-01-31 Thread Mark A. Hershberger

When I open begin to write an email using mu4e, I get an error
complaining that clrhash wants a hash-table and got nil.

Patch that fixes this:

diff --git a/lisp/org-element.el b/lisp/org-element.el
index f407578..0941468 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -5055,7 +5055,8 @@ updated before current modification are actually 
submitted."
;; Otherwise, reset keys.
(if org-element--cache-sync-requests
(org-element--cache-set-timer buffer)
- (clrhash org-element--cache-sync-keys))
+ (when org-element--cache-sync-keys
+(clrhash org-element--cache-sync-keys)))
 
 (defun org-element--cache-process-request
 (request next threshold time-limit future-change)



Partial backtrace:

Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
  clrhash(nil)
  (if org-element--cache-sync-requests (org-element--cache-set-timer buffer) 
(clrhash org-element--cache-sync-keys))
  (let ((inhibit-quit t) request next) (if org-element--cache-sync-timer (progn 
(cancel-timer org-element--cache-sync-timer))) (catch (quote interrupt) (while 
org-element--cache-sync-requests (setq request (car 
org-element--cache-sync-requests) next (nth 1 
org-element--cache-sync-requests)) (org-element--cache-process-request request 
(and next (aref next 0)) threshold (and (not threshold) (time-add 
(current-time) org-element-cache-sync-duration)) future-change) (if next (progn 
(let* ((v next)) (aset v 3 (+ ... ...))) (aset next 2 (aref request 2 (setq 
org-element--cache-sync-requests (cdr org-element--cache-sync-requests (if 
org-element--cache-sync-requests (org-element--cache-set-timer buffer) (clrhash 
org-element--cache-sync-keys)))
  (save-current-buffer (set-buffer buffer) (let ((inhibit-quit t) request next) 
(if org-element--cache-sync-timer (progn (cancel-timer 
org-element--cache-sync-timer))) (catch (quote interrupt) (while 
org-element--cache-sync-requests (setq request (car 
org-element--cache-sync-requests) next (nth 1 
org-element--cache-sync-requests)) (org-element--cache-process-request request 
(and next (aref next 0)) threshold (and (not threshold) (time-add 
(current-time) org-element-cache-sync-duration)) future-change) (if next (progn 
(let* (...) (aset v 3 ...)) (aset next 2 (aref request 2 (setq 
org-element--cache-sync-requests (cdr org-element--cache-sync-requests (if 
org-element--cache-sync-requests (org-element--cache-set-timer buffer) (clrhash 
org-element--cache-sync-keys
  (progn (save-current-buffer (set-buffer buffer) (let ((inhibit-quit t) 
request next) (if org-element--cache-sync-timer (progn (cancel-timer 
org-element--cache-sync-timer))) (catch (quote interrupt) (while 
org-element--cache-sync-requests (setq request (car 
org-element--cache-sync-requests) next (nth 1 
org-element--cache-sync-requests)) (org-element--cache-process-request request 
(and next (aref next 0)) threshold (and (not threshold) (time-add ... 
org-element-cache-sync-duration)) future-change) (if next (progn (let* ... ...) 
(aset next 2 ...))) (setq org-element--cache-sync-requests (cdr 
org-element--cache-sync-requests (if org-element--cache-sync-requests 
(org-element--cache-set-timer buffer) (clrhash org-element--cache-sync-keys)
  (if (buffer-live-p buffer) (progn (save-current-buffer (set-buffer buffer) 
(let ((inhibit-quit t) request next) (if org-element--cache-sync-timer (progn 
(cancel-timer org-element--cache-sync-timer))) (catch (quote interrupt) (while 
org-element--cache-sync-requests (setq request (car 
org-element--cache-sync-requests) next (nth 1 
org-element--cache-sync-requests)) (org-element--cache-process-request request 
(and next ...) threshold (and ... ...) future-change) (if next (progn ... ...)) 
(setq org-element--cache-sync-requests (cdr 
org-element--cache-sync-requests (if org-element--cache-sync-requests 
(org-element--cache-set-timer buffer) (clrhash 
org-element--cache-sync-keys))
  org-element--cache-sync(#)


Emacs  : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2016-01-10 on flynn, modified by Debian
Package: Org-mode version 8.3.3 (8.3.3-elpa @ 
/home/mah/.emacs.d/elpa/org-20160108/)



[O] a problem about insert link

2016-01-31 Thread mails
 how to set the link in org-mode ? like [[/her.mp3][her]], but
 export to html it is her, but I want
 her

 if I use [[file:her.mp3][her]] it generate  not "/her.mp3"
 and can I use target="_blank" in it ?




[O] bug#22399: org-mode fontification

2016-01-31 Thread Phillip Lord
Rasmus  writes:

> Hi Phillip,
>
> Thanks for your report.
>
> phillip.l...@russet.org.uk (Phillip Lord) writes:
>
>> On emacs-25 ox-html, line 1847, org-html-fontify-code does this...
>>
>> (setq code (with-temp-buffer
>> ;; Switch to language-specific mode.
>> (funcall lang-mode)
>> (insert code)
>> ;; Fontify buffer.
>> (org-font-lock-ensure)
>>
>>
>> But `org-font-lock-ensure' is defined like so
>>
>> (defalias 'org-font-lock-ensure
>>   (if (fboundp 'org-font-lock-ensure)
>>   #'font-lock-ensure
>> (lambda (_beg _end) (font-lock-fontify-buffer
>>
>>
>> which takes two args, causing crashes when exporting to code to HTML.
>
> This is fixed in the most recent stable version of Org, i.e. 8.3.3¹ ,
> which, I guess, will be part of if Emacs 25.2 or 26.1 (whichever comes
> first and allow new features).  It’s also fixed in 8.2.10².  I guess
> Emacs-25 should switch v8.2.10.  [Honestly, when v8.3 couldn’t be merged I
> did not cross my mind to upgrade to v8.2.10].  In case v8.2.10 it too
> radical, a "local fix" must be applied to the version of Org in emacs.git.


Well, the fix on emacs-25 appears to be trivial i.e.

(org-font-lock-ensure (point-min) (point-max))

But I don't know what the protocol is for org-mode as it's upstream.
AFAICT, this is a regression from emacs-24.5, so it would be a shame if
the bug gets into 25.1.

Let me know if you want me to do anything!

Phil





Re: [O] Bug: Ampersand is not replaced in URLs in html export [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.5/lisp/org/)]

2016-01-31 Thread Nicolas Goaziou
Hello,

m...@fritzreichwald.de writes:

> I write down some notes including URLs like this one:
>
> http://www.reichelt.de/Drehschalter/DS-3/3/index.html?=7217
>
> afterwards I do C-c C-e h h to export my notes to an html-file.
>
> I expect that the & is replaced by .
>
> But it's not replaced.
> This causes the w3c validation to fail.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Problem with org-babel-detangle

2016-01-31 Thread Nicolas Goaziou
Hello,

Titus von der Malsburg  writes:

> I tangeled the following org-mode file:
>
>   #+BEGIN_SRC R :tangle /tmp/test.R :comments link
>   1 + 2
>   #+END_SRC
>   
>   #+BEGIN_SRC R :tangle /tmp/test.R :comments link
>   3 + 4
>   #+END_SRC
>
> The result was:
>
>   ## [[file:test.org][No\ heading:1]]
>   1 + 2
>   ## No\ heading:1 ends here
>   
>   ## [[file:test.org][No\ heading:2]]
>   3 + 4
>   ## No\ heading:2 ends here
>
> Then I changes “3 + 4” to “3 + 5”, revisited the org buffer, and
> executed `org-babel-detangle'.
>
> Expected behavior: The second code block in org file is updated to contain
> “3 + 5”.
>
> Actual behaviour: I find myself in a buffer containing test.R, the
> cursor is inside the first code block at “1”, the second code block’s
> content in the org buffer is highlighted, and I have an edit buffer for
> that code block.  The content of the second code block is not updated.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



[O] buglet in org-babel-expand-body:R ?

2016-01-31 Thread Charles C. Berry



org-babel-expand-body:R has this arglist:

(body params  )

which seems to work OK.

But edebug does not like it. The error message is:

 edebug-syntax-error: Invalid read syntax: "Failed matching"...

when I try to instrument the function.

Unless somebody can point me toward a rationale for the `&' prefixed to 
`graphics-file', I will remove it.


Chuck




[O] Bug: Ampersand is not replaced in URLs in html export [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.5/lisp/org/)]

2016-01-31 Thread mail

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Hi,

I write down some notes including URLs like this one:

http://www.reichelt.de/Drehschalter/DS-3/3/index.html?=7217

afterwards I do C-c C-e h h to export my notes to an html-file.

I expect that the & is replaced by .

But it's not replaced.
This causes the w3c validation to fail.

Kind regards
Fritz Reichwald


Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
 of 2015-09-10 on foutrelis
Package: Org-mode version 8.2.10 (release_8.2.10 @ 
/usr/share/emacs/24.5/lisp/org/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe
  org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-from-is-user-regexp nil
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all 
append local] 5]
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook 
org-babel-show-result-all append local] 5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-hide-inline-tasks
  org-cycle-show-empty-lines 
org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-html-format-headline-function 'ignore
 org-html-format-inlinetask-function 'ignore
 org-agenda-files '("~/freichw/doc/org/agenda.org" 
"~/freichw/doc/org/first.org" "~/freichw/doc/org/inbox.org"
"~/agenda.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )



[O] Bug: wrong-type-argument listp org-level-2 [8.3.3 (8.3.3-26-ge92a06-elpa @ /home/manuel/.emacs.d/elpa/org-20160125/)]

2016-01-31 Thread Manuel Uberti
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Hi,

using latest Org, I get this error whenever I have a link (file: or
http:) as a heading.

Debugger entered--Lisp error: (wrong-type-argument listp org-level-2)
  org-activate-plain-links(2510)
  font-lock-fontify-keywords-region(1 2510 nil)
  font-lock-default-fontify-region(1 2510 nil)
  font-lock-fontify-region(1 2510 nil)
  font-lock-default-fontify-buffer()
  font-lock-fontify-buffer()

Emacs  : GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5)
 of 2016-01-26
Package: Org-mode version 8.3.3 (8.3.3-26-ge92a06-elpa @
/home/manuel/.emacs.d/elpa/org-20160125/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe
  org-babel-hide-result-toggle-maybe
  org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
  org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all
append local]
   5]
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook
org-babel-show-result-all append local]
   5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
  org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )

-- 
Manuel Uberti

I prefer to use encrypted email.
GPG fingerprint: 8702 9F53 2466 A6B5 E3F4  6B44 4E57 A6C4 CAA4 8F62



Re: [O] Use of deprecated org-log-note-marker variable in outshine

2016-01-31 Thread Nicolas Richard
Nicolas Goaziou  writes:
> Actually, it was a mistake to remove the variable in the first place. As
> a consequence, I re-introduced it in master.
>
> However, it doesn't store the same location as before, i.e., it merely
> points to the entry where the note is going to be added instead of the
> accurate location for the note.

Did you consider renaming it, in the case some code relies on it ?


>   (with-current-buffer (marker-buffer org-log-note-marker)
> (goto-char (org-log-note-marker))
 ^   ^
 I guess those parens are a typo.
> (copy-marker (org-log-beginning)))

-- 
Nicolas



[O] Bug: Clocktable does not count columns for properties when using :formula % [8.3.3 (8.3.3-elpaplus @ /home/fvaresi/.emacs.d/elpa/org-plus-contrib-20160108/)]

2016-01-31 Thread Fernando Varesi
Hi there! Let me first introduce a test case.

Example content:

===
* DONE Task A  :tag1:
  CLOCK: [2016-01-09 Sat 04:36]--[2016-01-09 Sat 05:20] =>  0:44
* DONE Task B  :tag2:
  CLOCK: [2016-01-09 Sat 05:20]--[2016-01-09 Sat 05:37] =>  0:17

#+BEGIN: clocktable :maxlevel 2 :scope file :formula % :properties ("TAGS")
#+END:
===

After running org-dblock-update, this was the result (note the % column):

===
#+BEGIN: clocktable :maxlevel 2 :scope file :formula % :properties ("TAGS")
#+CAPTION: Clock summary at [2016-01-09 Sat 05:49]
| TAGS   | Headline |   Time |   % |
|+--++-|
|| *Total time* | *1:01* | 0.0 |
|+--++-|
| :tag1: | DONE Task A  |   0:44 | 0.0 |
| :tag2: | DONE Task B  |   0:17 | 0.0 |
#+TBLFM: $4='(org-clock-time% @2$2 $2..$3);%.1f
#+END:
===

If I remove the :properties parameters the percentage values are correct.

I fixed this locally by adding this line both when computing tcol and pcol 
around line 2648 of org-clock.el

(if properties (length properties) 0)

Best regards,

Fernando.



[O] Bug: org-activate-plain-links assumes that 'face is a list [8.3.3 (8.3.3-26-ge92a06-elpa @ /home/clement/.emacs.d/elpa/org-20160125/)]

2016-01-31 Thread Clément Pit--Claudel
Hi all,

Updating org a few days ago broke syntax highlighting. The function
org-activate-plain-links has this snippet:

(memq 'org-tag
  (get-text-property
(max (1- (match-beginning 0)) (point-min)) 'face))

However, the text property that gets returned on my machine is
'org-level-2 (which is not a list). This causes font-locking to
fail with the following message:

Error during redisplay: (jit-lock-function 4968) signaled 
(wrong-type-argument listp org-level-2)

This started happening recently. Can I provide more information?
Clément.

Emacs  : GNU Emacs 25.0.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 of 2016-01-08
Package: Org-mode version 8.3.3 (8.3.3-26-ge92a06-elpa @ 
/home/clement/.emacs.d/elpa/org-20160125/)

current state:
==
(setq
 org-hide-leading-stars t
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-ellipsis " …"
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-log-done 'time
 org-confirm-shell-link-function 'yes-or-no-p
 org-support-shift-select t
 org-after-todo-state-change-hook '(org-clock-out-if-current 
init-org-todo-state-change)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all 
append local] 5]
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook 
org-babel-show-result-all append local] 5]
 org-babel-result-hide-spec org-babel-hide-all-hashes 
init-add-org-line-spacing flyspell-mode)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-todo-keywords '((sequence "(t)" "(s)" "⏳(w)" "(l)" "|" "✓(d)" "✗(c)"))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-odd-levels-only t
 org-completion-use-ido t
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-after-todo-statistics-hook '(init-org-todo-update-summary)
 )



signature.asc
Description: OpenPGP digital signature


[O] elpa/org-plus-contrib-20160111 problem(with fix)

2016-01-31 Thread Mike Brown
I wasn't sure who to send this to.

I was getting 2 errors:
An element cannot be parsed line XX  # When filling text (fill-paragraph)
undefined org-clock-line-re  # when editing \C-' #+BEGIN_SRC

Because of ~/.emacs.d/elpa/org-plus-contrib-20160111/ (and prev version)
To fix it I edited org-plus-contrib-autoloads.el
I added this (from org.el) and it fixed both.
(defconst org-clock-line-re
  (concat "^[ \t]*" org-clock-string)
  "Matches a line with clock info.")

I'm not sure it's the best fix, but it works for me.
I hope others are not having problems too.
How should I find who to email about an error like this?


[O] Working on iPad Pro

2016-01-31 Thread Peter Davis


I've been using org-mode for a few years, mainly for writing blog posts 
and documents, and, to a lesser extent, for keeping track of TODO items, 
etc. I barely scratch the surface of what org-mode can do, and I keep 
learning new bits incrementally, largely by reading this list.


I'm now almost ready to shelve my laptop and start using an iPad Pro 
with the Apple "smart" keyboard. However, I haven't found a good way to 
do my org-mode authoring.  I know there's org-mobile, but I don't want 
to have to think about sync'ing, or try to remember where the latest 
versions of my docs are as I move from one computer to another.


I've thought about using the iPad to ssh to a desktop computer, and just 
running emacs on that. That might be the best solution, but the Apple 
"smart" keyboard doesn't seem to have any meta key. Has anyone figured 
out how to get the option key to work that way in vSSH? Or is there a 
better ssh app?


Is there some other option I'm overlooking? I know there are some 
"almost emacs" apps, but ... they're "almost."


BTW, I also use emacs for gnus, and for web and software development, 
but org-mode is what I really need on the iPad.


Thanks!
-pd


--

Peter Davis
http://www.techcurmudgeon.com




Re: [O] Working on iPad Pro

2016-01-31 Thread John Hendy
On Sun, Jan 31, 2016 at 11:27 AM, Peter Davis  wrote:
>
>
> I've been using org-mode for a few years, mainly for writing blog posts and 
> documents, and, to a lesser extent, for keeping track of TODO items, etc. I 
> barely scratch the surface of what org-mode can do, and I keep learning new 
> bits incrementally, largely by reading this list.
>
> I'm now almost ready to shelve my laptop and start using an iPad Pro with the 
> Apple "smart" keyboard. However, I haven't found a good way to do my org-mode 
> authoring.  I know there's org-mobile, but I don't want to have to think 
> about sync'ing, or try to remember where the latest versions of my docs are 
> as I move from one computer to another.

I'm in a similar boat with respect to mobile-org... I've set it up a
few times but just never got into it other than for being able to view
entries from afar. I also don't care for the capture/re-file mechanism
of syncing back to the mothership when I add from the phone. I've
tried emacs on Android, but typing is awful. I think having a legit
keyboard would make this awesome!

> I've thought about using the iPad to ssh to a desktop computer, and just 
> running emacs on that. That might be the best solution, but the Apple "smart" 
> keyboard doesn't seem to have any meta key. Has anyone figured out how to get 
> the option key to work that way in vSSH? Or is there a better ssh app?
>

I'm not on ios, so maybe shouldn't comment (and I think the emacs apps
on android are pretty feature-ful, so haven't experienced what's
lacking on ios), but there appears to be this relatively simple way to
get full blown emacs on ios:
- http://gamma-level.com/iphoneos/ports/emacs

Or does that require jailbreaking (says you need development tools
available on the device)?

This reddit post suggests the ssh method, and somewhere else I read
the claim that Prompt is the best ssh app:
- https://www.reddit.com/r/emacs/comments/2dwapw/emacsish_text_editor_for_ipad/

> Is there some other option I'm overlooking? I know there are some "almost 
> emacs" apps, but ... they're "almost."
>

Other than the option key, if ssh would work and the limitation is an
always-on box, could you work with a Raspberry Pi? I have one under my
desk that I've been fiddling with for a few months. Your post reminded
me that this would be an option for me on Android as well. Just
throwing it out there... ~$35 and you'd have something easily able to
handle anything Org-mode. I set mine to use a static ip address so I
can always find it.  Sorry I can't be more helpful, but those are the
options that come to mind... (basically, trying emacs itself or ssh
like you're already thinking about).
a
> BTW, I also use emacs for gnus, and for web and software development, but 
> org-mode is what I really need on the iPad.
>

Good luck!
John

> Thanks!
> -pd
>
>
> --
> 
> Peter Davis
> http://www.techcurmudgeon.com
>
>



Re: [O] Working on iPad Pro

2016-01-31 Thread Ido Magal

I'm in the same boat. 

The ios app Serverauditor is the only one I've found (of many tested) that 
sends Alt as Meta. 

You'll want to use the Homebrew color scheme otherwise the cursor is invisible. 
(Would be too easy if it didn't require any troubleshooting, right?)

Unfortunately C-c comes across as "pause" and I don't know how to resolve this 
and it's a nuisance so I've gone gui. If anyone knows the solution, please do 
tell. 

My current preferred solution is using a Kangaroo PC and Splashtop to control 
it with the iPad.

Kangaroo is a display-less pocket PC running Win10. You can purchase them from 
newegg or the MS store. 

 Splashtop is the lowest latency wireless solution I've found and (importantly) 
the only one that supports the smart keyboard. Previously I would use OSLinx or 
DuetDisplay for wired latency but with a separate Bluetooth keyboard for the PC.

The Kangaroo PC is very weak but it works well enough for emacs.

Cheers. 

> On Jan 31, 2016, at 09:27, Peter Davis  wrote:
> 
> 
> I've been using org-mode for a few years, mainly for writing blog posts and 
> documents, and, to a lesser extent, for keeping track of TODO items, etc. I 
> barely scratch the surface of what org-mode can do, and I keep learning new 
> bits incrementally, largely by reading this list.
> 
> I'm now almost ready to shelve my laptop and start using an iPad Pro with the 
> Apple "smart" keyboard. However, I haven't found a good way to do my org-mode 
> authoring.  I know there's org-mobile, but I don't want to have to think 
> about sync'ing, or try to remember where the latest versions of my docs are 
> as I move from one computer to another.
> 
> I've thought about using the iPad to ssh to a desktop computer, and just 
> running emacs on that. That might be the best solution, but the Apple "smart" 
> keyboard doesn't seem to have any meta key. Has anyone figured out how to get 
> the option key to work that way in vSSH? Or is there a better ssh app?
> 
> Is there some other option I'm overlooking? I know there are some "almost 
> emacs" apps, but ... they're "almost."
> 
> BTW, I also use emacs for gnus, and for web and software development, but 
> org-mode is what I really need on the iPad.
> 
> Thanks!
> -pd
> 
> 
> -- 
> 
> Peter Davis
> http://www.techcurmudgeon.com
> 
> 



Re: [O] Bug: org-babel-tangle fails with :comments org [8.3beta (release_8.3beta-1286-g20795f @ /home/malsburg/usr/share/emacs/site-lisp/org/)]

2016-01-31 Thread Titus von der Malsburg

There were apparently bad characters in the backtrace.  Sorry about
that.  Below it is again, plus my org config.

Debugger entered--Lisp error: (error "Nothing to comment")
  signal(error ("Nothing to comment"))
  error("Nothing to comment")
  comment-region-default(1 3 nil)
  comment-region(1 3)
  #[(text) "\205S.\306\230?\205S. G\307V\205S.\n\203..c\207\310`  
\311..\312\313!\2030.\313\307\fG\311\f$\210\202G.\203?.\314\307\fG.\f$\210\202G.\313\307\fG\311\f$\210\f*c\210`\"\210\311\210\315c\207"
 [comments text org-babel-tangle-uncomment-comments restricted s org-rm-props 
"no" 0 comment-region nil fboundp set-text-properties remove-text-properties 
"\n"] 7]("\n\n")
  org-babel-spec-to-string((12 "/tmp/test2.org" "file:/tmp/test2.org::*Test" 
Test:2 ((:colname-names) (:rowname-names) (:result-params "replace") 
(:result-type . value) (:comments . "org") (:shebang . "") (:cache . "no") 
(:padline . "") (:noweb . "no") (:tangle . "yes") (:exports . "code") (:results 
. "replace") (:hlines . "no") (:session . "none")) "message(2)" "\n\n"))
  #[(spec) "\306\211.\307!.\310!\211.G\311V\205..\n).\312!.   
\313\230\203&.\314.A@!\2028.\315\230\2030.\316\2028.G\311V\2058.
\211.*\205T..+\203R.
\313\230\203R..*\317.+Q\202T..*\211.,\205A.\320!\321.,!.-\211..\203{..-\203{...\315\230\204{.\322.-\323\"\210*\324.,!\203\223..,\325\326./\"\235\204\223.\327.,!\210\330\331!.0r.0q\210\332\216\333.1!\203\266.\3341\261..1
 
0\202\265.\210\202\266.\210\203\316..,.2\235\204\316.\335Pc\210.,.2B.2\336.!\210\337
 
.3\330\331!.4r.4q\210\340\216\324.,!\203\356.\341.,!\210db\210\342\343\344.8\"A\315\230\204..`eU\204..\335c\210.3c\210\345\316\211.,#\210.\203..\f\204..\346..5T.5.,\fB.6\347.6./\350\351$\2038../\202@..6./B\211./)..\207"
 [get-spec tangle sheb she-bang tangle-mode spec #[(name) "\302\303   
8\"A\207" [name spec assoc 4] 4] :tangle :shebang 0 :tangle-mode "yes" 
file-name-sans-extension "no" nil "." :mkdirp file-name-directory 
make-directory parents file-exists-p mapcar car delete-file generate-new-buffer 
" *temp*" #[nil "\301!\205.\302!\207" [temp-buffer buffer-name 
kill-buffer] 2] fboundp (error) "\n" org-babel-spec-to-string buffer-string 
#[nil "\301!\205 .\302!\207" [temp-buffer buffer-name kill-buffer] 2] 
insert-file-contents assoc :padline 4 write-region 493 cl-member :test #[(a b) 
"@@\232\207" [a b] 2] base-name ext file-name fnd m path-collector 
temp-buffer lang-f ...] 6]((12 "/tmp/test2.org" "file:/tmp/test2.org::*Test" 
Test:2 ((:colname-names) (:rowname-names) (:result-params "replace") 
(:result-type . value) (:comments . "org") (:shebang . "") (:cache . "no") 
(:padline . "") (:noweb . "no") (:tangle . "yes") (:exports . "code") (:results 
. "replace") (:hlines . "no") (:session . "none")) "message(2)" "\n\n"))
  mapc(#[(spec) "\306\211.\307!.\310!\211.G\311V\205..\n).\312!.  
\313\230\203&.\314.A@!\2028.\315\230\2030.\316\2028.G\311V\2058.
\211.*\205T..+\203R.
\313\230\203R..*\317.+Q\202T..*\211.,\205A.\320!\321.,!.-\211..\203{..-\203{...\315\230\204{.\322.-\323\"\210*\324.,!\203\223..,\325\326./\"\235\204\223.\327.,!\210\330\331!.0r.0q\210\332\216\333.1!\203\266.\3341\261..1
 
0\202\265.\210\202\266.\210\203\316..,.2\235\204\316.\335Pc\210.,.2B.2\336.!\210\337
 
.3\330\331!.4r.4q\210\340\216\324.,!\203\356.\341.,!\210db\210\342\343\344.8\"A\315\230\204..`eU\204..\335c\210.3c\210\345\316\211.,#\210.\203..\f\204..\346..5T.5.,\fB.6\347.6./\350\351$\2038../\202@..6./B\211./)..\207"
 [get-spec tangle sheb she-bang tangle-mode spec #[(name) "\302\303   
8\"A\207" [name spec assoc 4] 4] :tangle :shebang 0 :tangle-mode "yes" 
file-name-sans-extension "no" nil "." :mkdirp file-name-directory 
make-directory parents file-exists-p mapcar car delete-file generate-new-buffer 
" *temp*" #[nil "\301!\205.\302!\207" [temp-buffer buffer-name 
kill-buffer] 2] fboundp (error) "\n" org-babel-spec-to-string buffer-string 
#[nil "\301!\205 .\302!\207" [temp-buffer buffer-name kill-buffer] 2] 
insert-file-contents assoc :padline 4 write-region 493 cl-member :test #[(a b) 
"@@\232\207" [a b] 2] base-name ext file-name fnd m path-collector 
temp-buffer lang-f ...] 6] ((8 "/tmp/test2.org" "file:/tmp/test2.org::*Test" 
Test:1 ((:colname-names) (:rowname-names) (:result-params "replace") 
(:result-type . value) (:comments . "org") (:shebang . "") (:cache . "no") 
(:padline . "") (:noweb . "no") (:tangle . "yes") (:exports . "code") (:results 
. "replace") (:hlines . "no") (:session . "none")) "message(1)" "Test\n\nText 
for testing.\n\n") (12 "/tmp/test2.org" "file:/tmp/test2.org::*Test" Test:2 
((:colname-names) (:rowname-names) (:result-params "replace") (:result-type . 
value) (:comments . "org") (:shebang . "") (:cache . "no") (:padline . "") 
(:noweb . "no") (:tangle . "yes") (:exports . "code") (:results . "replace") 
(:hlines . "no") (:session . "none")) "message(2)" "\n\n")))
  #[(by-lang) "@.A.\306  

Re: [O] Problem with src blocks line numbers when generating PDF output using latex listings.

2016-01-31 Thread Nicolas Goaziou
Hello,

P-O Gustafsson  writes:

> I ran into what I think is a bug in ox-latex.el. I tried to generate a PDF
> document that contains the source code for two files. The first file is
> split into two src block snippets and I used the switches '-n' and '+n' to
> have the line numbering starting in the first snippet and continue over to
> the second snippet. For the third snippet I used the '-n' switch and I
> expected the line numbering for snippet three to start a 1, but it
> continued with the line numbering sequence from snippet two. The line
> numbering behaved as I expected when I generated HTML output, so I had a
> look in ox-latex.el. I solved the problem by deleting the code on line
> 2800, but that might not be the best solution which is why I thought I'd
> report it so that someone who knows the code can take look.
>
> org-version: 8.3.3
>
> Configuration:
> (add-to-list 'org-latex-packages-alist '("" "listings"))
> (add-to-list 'org-latex-packages-alist '("" "color"))
> (setq org-latex-listings t)
>
> Workaround: I deleted the code on line 2800 in ox-latex.el

Indeed. Fixed. Thank you.


Regards,

-- 
Nicolas Goaziou



[O] Adjust Keywords

2016-01-31 Thread Martin
Hi there.

I don't know why, but sometimes the Keywords which are ragged right are
not in line anymore.  Is there a way to put them all in the correct
position as if I would do C-c C-c RET on  the header in all the lines?

Thanks,
Martin

-- 
Lösungen statt Diagnosen



Re: [O] [ox-html] Why are dedicated targets automatically renamed?

2016-01-31 Thread Nicolas Goaziou
Hello,

Sébastien Brisard  writes:

> I have noticed that org-mode now renames dedicated targets. More
> precisely, the following org file
>
> = beginning of a.org =
>   - <>Item 1
>   - <>Item 2
> = end of a.org =
>
> gets exported to html as
>
> = beginning of a.html (extract) =
> 
> 
> 
> Item 1
> Item 2
> 
> 
> 
> Author: Sébastien Brisard
> Created: 2016-01-21 Thu 07:38
>  href="http://www.gnu.org/software/emacs/;>Emacs 24.5.1 ( href="http://orgmode.org;>Org mode 8.3.3)
>  href="http://validator.w3.org/check?uri=referer;>Validate
> 
> 
> = end of a.html =
>
> Notice that the targets were renamed item1 -> orgtarget1 and item2 ->
> orgtarget2. Why is that?

It allows using any kind of character for a target without knowing
HTML's forbidden ones.

> With org-publish, it messes up links across files.

What do you mean? <<...>> are internal targets, and by no mean meant to
link across documents.

> Is there an option that allows to preserve the user's target name on
> export?

No, there isn't. "ox-latex" provides one, but not "ox-html". Note that
custom ID are always preserved, tho.


Regards,

-- 
Nicolas Goaziou



Re: [O] Use of deprecated org-log-note-marker variable in outshine

2016-01-31 Thread Nicolas Goaziou
Hello,

Nicolas Richard  writes:

> Did you consider renaming it, in the case some code relies on it ?

I don't consider it worth the hassle to rename internal variables
whenever we change their value.

>>   (with-current-buffer (marker-buffer org-log-note-marker)
>> (goto-char (org-log-note-marker))
>  ^   ^
>  I guess those parens are a typo.

Indeed.

Regards,

-- 
Nicolas Goaziou



Re: [O] org-player and switch to lexical binding in org.el

2016-01-31 Thread Michael Brand
Hi Nicolas and Paul

On Sun, Jan 31, 2016 at 12:30 AM, Nicolas Goaziou
 wrote:

> Michael Brand  writes:
>
>> Only slowly I begin to get it partially. My observation is that if the
>> current `org-open-file' would be changed to
>>
>> (eval cmd
>>   ;; LEXICAL argument.
>>   `((file . ,(convert-standard-filename file))
>> (link . ,dlink)))
>
> Actually, that should be (eval cmd t). Providing an alist is not
> necessary here.
>
>> to provide also the `link' symbol then a
>>
>> (add-to-list 'org-file-apps
>>  (cons (concat org-player-file-extensions-regexp
>>"::\\([0-9]+:[0-9]+\\(:[0-9]+\\)?\\)")
>>'(org-player-play-file file (match-string 1 link
>>
>> which is simple enough for me to understand in org-player.el works.
>> This situation looks favorable to me at least for a first step because
>> it would mean a version of org-player.el that remains compatible with
>> "any" Org before lexical binding in org.el
>> (release_8.3.3-426-g1f49e9f) but would also become compatible again
>> starting with one of the next commits in Org master.
>>
>> Do I understand correct that this would not break any backward
>> compatibility with all other existing and correct use of
>> `org-file-apps'?
>
> Although it does the job, it would leave an `eval' in the code base,
> which is not very pretty, and more difficult to maintain (scope is less
> obvious). That's why I prefer the functions. Of course, it may not be
> worth the trouble if introduced backward incompatibility is really
> nasty.

I see the pros and cons of either solution with a slight bias to not
break backward compatibility and am OK with what you and others
decide.

(Corrigenda: In my code examples earlier in this thread I should have
used `link' instead of `dlink' which is ~(downcase link)~.)

Michael



Re: [O] display org-link url

2016-01-31 Thread Satoru KURASHIKI
hi,

Thank you guys. I've tried them and found C-c C-l way is handy for me.

regards,
-- 
KURASHIKI Satoru



Re: [O] Radio target appears as a link in html export (in Emacs stable)

2016-01-31 Thread H. Dieter Wilhelm
Nicolas Goaziou  writes:

> Hello,
>
> die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:
>
>> But then I would have to turn all my radio links into proper links,
>> which I see no method - except with radio targets - to do this
>> automatically.
>
> Instead of 
>
>   <<>> ... radio
>
> you would have to type
>
>   <>   ... [[radio]]
>
> which, IMO, is almost equally simple.

Hmmm, that is true.  In the worst case I've to get used to it...

>> The radio links are turned correctly into links. :-)
>>
>> But the targets (anchors) appear *also* as links (in HTML).  Which is
>> confusing and redundant because there are not linked to anything.
>
> I'm confused, mainly because I'm not well versed in HTML. Let's consider
> the following document:
>
>   <<>> :target link: radio
>
> When exporting it to HTML, I get the following:
>
>   radio :target link:  href="#orgradiotarget1">radio


I'm getting  instead,
which *appears* in my html page as a link (which is wrong IMHO, Org-mode
version 8.2.10, Emacs stable).

> What would you expect instead?

I would expect an invisible html entity or just the apperance of the
text "orgradiotarget1".

Thanks
   Dieter

-- 

Best wishes
H. Dieter Wilhelm
Darmstadt, Germany




[O] New error when setting the publishing directory

2016-01-31 Thread Julien Cubizolles

I've been using the following for a long time to export to a remote ftp
site. 

--8<---cut here---start->8---
#+begin_src emacs-lisp :exports none
  (setq org-export-in-background t)
  (setq org-publish-project-alist
 '(("orgfiles"
 :publishing-directory "/ftp:login@ftpserver:"
 )))
#+end_src
--8<---cut here---end--->8---


Since a few days, this fails with:

--8<---cut here---start->8---
Debugger entered--Lisp error: (wrong-type-argument listp org-table)
  org-activate-plain-links(#)
  font-lock-fontify-keywords-region(251 # nil)
  font-lock-default-fontify-region(251 # nil)
  font-lock-fontify-region(251 #)
  org-table-align()
  org-babel-insert-result((("orgfiles" :publishing-directory 
"/ftp:mpsi2...@ftpperso.free.fr:")) ("replace") ("emacs-lisp" "(setq 
org-export-in-background t)\n(setq org-publish-project-alist\n   
'((\"orgfiles\"\n   :publishing-directory 
\"/ftp:mpsi2...@ftpperso.free.fr:\"\n   )))" ((:comments . "") 
(:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . 
"no") (:exports . "none") (:results . "replace") (:session . "none") (:hlines . 
"no") (:result-type . value) (:result-params "replace") (:rowname-names) 
(:colname-names)) "" nil 0 1) nil 0 "emacs-lisp")
  org-babel-execute-src-block(nil)
  org-babel-execute-src-block-maybe()
  org-babel-execute-maybe()
  org-babel-execute-safely-maybe()
  run-hook-with-args-until-success(org-babel-execute-safely-maybe)
  org-ctrl-c-ctrl-c(nil)
  funcall-interactively(org-ctrl-c-ctrl-c nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
  command-execute(org-ctrl-c-ctrl-c)
  --8<---cut here---end--->8---

Julien.




[O] ascii sublist indentation configurable?

2016-01-31 Thread Samuel Wales
ascii export i get

  8) low
   - prefer

- is indented too far

configurable?



Re: [O] Adjust Keywords

2016-01-31 Thread William Denton

On 31 January 2016, Martin wrote:


I don't know why, but sometimes the Keywords which are ragged right are
not in line anymore.  Is there a way to put them all in the correct
position as if I would do C-c C-c RET on  the header in all the lines?


Tags on headlines?  They will realign with C-u C-c C-q.

Bill
--
William Denton ↔  Toronto, Canada ↔  https://www.miskatonic.org/

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

2016-01-31 Thread Erik Hetzner
Hi Rasmus,

Thanks again for the feedback!

On Wed, 27 Jan 2016 14:20:59 -0800,
Rasmus  wrote:
> 
> Hi Erik,
> 
> Thanks for the updated patch!
> 
> A couple of more comments follow.
> I hope I’m not being too annoying! 

Not at all, I appreciate it.

> Erik Hetzner  writes:
> 
> > +(defcustom org-attach-annex-confirm-get-function #'y-or-n-p
> > +  "Function to call to confirm if Org should call git annex get if 
> > necessary.
> > +If t, always get, if nil, never get."
> 
> 
> Please note that the function should accept one argument cf. your code
> below.  Also, I wonder if there’s really a point in having the increased
> flexibility of a function over just: t, nil and ’ask.

This is a good point - I was following the pattern of
`org-confirm-shell-link-function' but I don’t think that in this case
it is necessary.

> > +  :group 'org-attach
> > +  :package-version '(Org . "8.3")
> > +  :type '(choice
> > + (const :tag "confirm with y-or-n" y-or-n-p)
> > + (const :tag "always get from annex if necessary" t)
> > + (const :tag "never get from annex" nil)))
> 
> Nitpick: package version should be org 9.  You should add :version tag as
> well.  Probably "25.1" is good.  Then we can mass-update them all when we
> are allowed to merge...

Thank you, I wasn’t sure what to use here.

> > +(defun org-attach-annex-get-maybe (path)
> > +  "Call git annex get PATH if using git annex."
> > +  (when (and (org-attach-use-annex)
> > +(not (string-equal "found"
> > +   (shell-command-to-string
> > +(format "git annex find --format=found 
> > --in=here %s" (shell-quote-argument path))
> > +(if (if (functionp org-attach-annex-confirm-get-function)
> > +   (funcall org-attach-annex-confirm-get-function (format "Run git 
> > annex get %s? " path))
> > + org-attach-annex-confirm-get-function)
> > +   (progn (message "Running git annex get \"%s\"." path)
> > +  (call-process "git" nil nil nil "annex" "get" path))
> > +  (error "File %s stored in git annex but it is not available, and was 
> > not retrieved" path
> 
> Can’t you factor out the inner "if", e.g. to an outer let?  Shouldn’t you
> check the return of annex get and show a warning or an error if it fails?
> It seems the error is only called if the inner if fails (in which case the
> error message is not precise since we didn’t try to retrieve the file).

This has been since refactored, but the point about the error remains. The
reason I used `error' is that the user has been attempting to open the file. If
the content is unavailable, then surely the attempt to open the file will be
unsuccessful. Perhaps a more clear docstring in `org-attach-annex-get-maybe' is
in order, though.

> >  (defun org-attach-commit ()
> 
> Looks fine. 
> 
> >  cleantest:
> > +# git annex makes files 444, change to user writable so we can delete them
> > +   if [ -d $(testdir) ] ; then chmod u+w -R $(testdir) ; fi
> > $(RMR) $(testdir)
> 
> I wonder if it would be better to directly target the files you use?  I
> don’t think there’s a case where changing the mod of the testdir is a
> problem though

Since it is about to be removed via =rm -rf= it doesn’t seem worth worrying
about it :)

best, Erik

> 
> > +;;; test-org-attach.el --- Tests for Org Attach
> 
> Skipped again...
> 
> -- 
> Slowly unravels in a ball of yarn and the devil collects it



[O] [babel] is there a chance to split arguments in src block calls or noweb syntax

2016-01-31 Thread O.Hamann

Hi all,

Splitting header arguments for source blocks into different lines works 
very fine,

(and leads one to put more and more args in the header... )

Is there a chance or trick to do similarly when calling such src blocks?
Somehow like in shell scripts a backslash at the end of a line will 
signal continuation?

(example see below)

Any suggestions or workarounds or best-practices to make the call lines 
better readable and editable are welcome!


Kind regards,

Olaf




What I mean:

#+NAME: namedSrcBlock
#+HEADER: :var arg1="val for arg1"
#+HEADER: :var arg2="val for arg2"
...
#+HEADER: :var argN="val for argN"
#+BEGIN_SRC
...
#+END_SRC

results in long call lines for #CALL: or noweb syntax hard to edit

#+CALL: namedSrcBlock(arg1="long argument value",arg2="even longer 
argument value",...,argN="many args later ")

<>


How to split those long lines, so that each arg-value pair stands on its 
own line?



The 'orgish' way would be sth like this, I guess:

#+CALL namedSrcBlock
#+ARGS: :arg arg1="..:"
#+ARGS: :arg arg2="..."
#+CALL_END

in noweb ref might be
<>

But I did not find such anywhere.







Re: [O] Export not triggering caching

2016-01-31 Thread Eric S Fraga
On Friday, 29 Jan 2016 at 09:22, Loris Bennett wrote:
> Hi,
>
> I've just notice that if I have the following:
>
> * Ditaa Image
>
> #+BEGIN_SRC ditaa :file ecm.png :cmdline -r :cache yes
> +-+
> | |
> +-+
> #+END_SRC
>
> and export to PDF via LaTeX, the image is generated but the caching
> mechanism is not triggered.  It is only when I do 'C-c C-c' explicitly
> on the BEGIN_SRC line that the SHA1 hash of the block is generated.
>
> Is this the intended behaviour?

I believe so because the export works on a copy of the buffer generated
by processing a number of directives etc.  The original buffer is not
modified in any way.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3.3-497-gc74b99



Re: [O] status of mobile (Android)

2016-01-31 Thread Eric S Fraga
On Friday, 29 Jan 2016 at 20:11, Saša Janiška wrote:
> Hello,
>
> I'm returning to Emacs-land and wonder whether mobile-org is still
> working with org-mode?

I use MobileOrg on Android daily so yes.

> Do you have any other recommendation to sync tasks with Android phones?

All tasks with scheduled dates and deadlines appear in my Android
calendar app.

> For contacts/calendars I was using org-vcard/org-caldav and they worked
> pretty well via ownCloud, but now, when i use GNOME, I can't tell
> whether calendars are visible on GNOME's status bar?

No idea.  I don't use GNOME and I don't even attempt to sync
contacts.

> There is Orgly, which is not open-source, but not sure whether it's
> better than mobileorg?

Not open source so clearly not better than mobileorg...

> Is there something which would work with ownCloud?

Don't know.

HTH,
eric
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3.3-497-gc74b99



Re: [O] Latex command compilation in HTML export

2016-01-31 Thread Eric S Fraga
On Saturday, 30 Jan 2016 at 17:11, Sylvain Salvati wrote:
> Dear Orgmode list,
>
> during the HTML export of an org document, I would like to compile its
> latex fragments to SVG using the sequence of commands
>
> lualatex --shell-escape --interaction=nonstopmode --output-format=dvi
> --output-directory=%o %b
> dvisvgm %b

I am not sure this is possible although maybe it should be...  The info
pages at

(org) LaTeX fragments

seem to imply rather hard-coded methods and the only variable that seems
relevant is this one:

,[ C-h v org-html-with-latex RET ]
| org-html-with-latex is a variable defined in ‘ox-html.el’.
| Its value is ‘imagemagick’
| Original value was t
| 
| Documentation:
| Non-nil means process LaTeX math snippets.
| 
| When set, the exporter will process LaTeX environments and
| fragments.
| 
| This option can also be set with the +OPTIONS line,
| e.g. "tex:mathjax".  Allowed values are:
| 
| nilIgnore math snippets.
| ‘verbatim’ Keep everything in verbatim
| ‘dvipng’   Process the LaTeX fragments to images.  This will also
|include processing of non-math environments.
| ‘imagemagick’  Convert the LaTeX fragments to pdf files and use
|imagemagick to convert pdf files to png files.
| ‘mathjax’  Do MathJax preprocessing and arrange for MathJax.js to
|be loaded.
| t  Synonym for ‘mathjax’.
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 24.4 of Emacs.
| 
| [back]
`

You could maybe export to verbatim and then apply an export filter to
do what you want.  Non-trivial, or at least beyond my capabilities ;-)

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3.3-497-gc74b99



Re: [O] "atomic knowledge" modeling tool

2016-01-31 Thread Eric S Fraga
I'll bite: so what does onemodel solve that org does not do?  Serious
question as I have gone through the web site and I cannot see the USP of
this system.

Thanks,
eric
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3.3-497-gc74b99



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

2016-01-31 Thread Eric S Fraga
On Sunday, 31 Jan 2016 at 08:42, cschr wrote:
> Hi
>
> I set up MobileOrg and it now shows the appointments from my emacs
> diary and my orgmode agenda. But nothing shows in my local android
> calendar, although I configured MobileOrg to sync with the android
> calendar. Is this functionality known to work, at all, and are there
> any special preconditions ?   I tried with two different smartphones
> – a Sony Xperia Pro with Android 4.0.4, and a Mobistel Cygnus with
> Android 4.4.2
>

It syncs with my calendar on cyanogenmod latest nightly snapshot on a
Nexus 4.  I've had no issues in this regard in a very long time.

I think what I am using is roughly equivalent to android 5.1?  Not
entirely sure however but definitely well past 4.x versions.  Whether
this is relevant or not is unclear!
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3.3-497-gc74b99



Re: [O] status of mobile (Android)

2016-01-31 Thread Ramon Diaz-Uriarte



On Fri, 29-01-2016, at 20:11, Saša Janiška  wrote:
> Hello,
>
> I'm returning to Emacs-land and wonder whether mobile-org is still
> working with org-mode?
>

Yes, I use it daily in a tablet and a phone.

> Do you have any other recommendation to sync tasks with Android phones?
>

I don't know of any other alternatives.

> For contacts/calendars I was using org-vcard/org-caldav and they worked
> pretty well via ownCloud, but now, when i use GNOME, I can't tell
> whether calendars are visible on GNOME's status bar?
>
> There is Orgly, which is not open-source, but not sure whether it's
> better than mobileorg?
>

Orgzly's author has said that probably around Q2 2016 Orgzly will be
opensourced
(https://plus.google.com/112212983680346701286/posts/hGnkkxDsUjT).

However, as far as I can tell, Orgzly will not (as of now at least?) sync
tasks/update your android calendar.

> Is there something which would work with ownCloud?
>

No idea about ownCloud. I do all the syncing of my org files via Syncthing
(https://syncthing.net/) but of course there is nothing org-specific
here. This is just syncing files.


Best,

R.


>
> Sincerely,
> Gour


-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdia...@gmail.com
   ramon.d...@iib.uam.es

http://ligarto.org/rdiaz



Re: [O] "atomic knowledge" modeling tool

2016-01-31 Thread Ramon Diaz-Uriarte



On Fri, 29-01-2016, at 19:21, luke call  wrote:
> There's a program that org-mode users (as I have been) specifically 
> might be interested in, a personal "knowledge manager"/list 
> manager/organizer/etc called OneModel (Free/AGPL).  Instead of storing 
> data as text, it puts *everything* in a single object model backed by 
> postgresql, but text import/export are available.  Everything one needs 
> to know at any given time is always on the screen, and it is *highly* 
> efficient to navigate (so far keyboard-only).  Current strengths, 
> limitations, and future plans are at:
>http://onemodel.org
>
> Pls forgive & spare the flames, I'll probably go quiet unless to answer 
> good-faith questions.  Details & discussion at http://onemodel.org 
> site/lists if desired.

Thanks for the link. Good-faith question here: does it support spaced
repetition such as provided by org-drill
(http://orgmode.org/worg/org-contrib/org-drill.html) or Anki
(http://ankisrs.net/), for memorizing some of the stored knowledge? I
skimmed through the docs and googled for it, but did not find anything
relevant.

Best,

R.




>
> -Luke


-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdia...@gmail.com
   ramon.d...@iib.uam.es

http://ligarto.org/rdiaz



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

2016-01-31 Thread Ramon Diaz-Uriarte



On Sun, 31-01-2016, at 13:36, Eric S Fraga  wrote:
> On Sunday, 31 Jan 2016 at 08:42, cschr wrote:
>> Hi
>>
>> I set up MobileOrg and it now shows the appointments from my emacs
>> diary and my orgmode agenda. But nothing shows in my local android
>> calendar, although I configured MobileOrg to sync with the android
>> calendar. Is this functionality known to work, at all, and are there
>> any special preconditions ?   I tried with two different smartphones
>> – a Sony Xperia Pro with Android 4.0.4, and a Mobistel Cygnus with
>> Android 4.4.2
>>
>
> It syncs with my calendar on cyanogenmod latest nightly snapshot on a
> Nexus 4.  I've had no issues in this regard in a very long time.
>

It has also worked for me for a long time in several tablets/phones. Right
now it is working on two tablets (BQ edison 3 and Nexus 7) with stock
android 4.4 and a phone with stock android 5. It has worked in the past
with Android 4.1.




> I think what I am using is roughly equivalent to android 5.1?  Not
> entirely sure however but definitely well past 4.x versions.  Whether
> this is relevant or not is unclear!


-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdia...@gmail.com
   ramon.d...@iib.uam.es

http://ligarto.org/rdiaz