Re: [O] Problem with org-entities-user

2012-09-17 Thread Nicolas Goaziou
Hello,

t...@tsdye.com (Thomas S. Dye) writes:

 I'm probably doing something silly here, but can't figure it out.  Using
 the new LaTeX exporter, and with org-entities-user defined as below,
 this:

 \C14 \frac12 \Omacron

 exports as:

 \C14 \textonehalf{} \={O}

 Why isn't my C14 entity being exported correctly?

 All the best,
 Tom

 Value: ((U234 \\textsuperscript{234}U nil sup234/supU 234U 234U 
 234U)
  (Th230 \\textsuperscript{230}Th nil sup230/supTh 230Th 230Th 
 230Th)
  (C14 \\textsuperscript{14}C nil  14C 14C 14C)
  (Umacron \\={U} nil #0362 U U Ū)
  (Omacron \\={O} nil #0332 O O Ō)
  (Imacron \\={I} nil #0298 I I Ī)
  (Emacron \\={E} nil #0274 E E Ē)
  (Amacron \\={A} nil #0256 A A Ā)
  (umacron \\={u} nil #0363 u u ū)
  (omacron \\={o} nil #0333 o o ō)
  (imacron \\={i} nil #0299 i i ī)
  (emacron \\={e} nil #0275 e e ē)
  (amacron \\={a} nil #0257 a a ā)
  (space \\  nil))

That's because numbers are not allowed in entities, except for a few
exceptions:

  
\\(there4\\|sup[123]\\|frac[13][24]\\|[a-zA-Z]+\\)\\($\\|{}\\|[^[:alpha:]]\\)

Note that this regexp also matches LaTeX commands.

One seducing idea would be to drop support for such commands (I'm _not_
talking about math environments and snippets, but about commands like
\hfill{} or \bigskip{}). After all, if you want to write raw LaTeX in an
Org buffer, you can always use #+LATEX: or @@latex:...@@ like with any
other back-end. I see no compelling reason to keep this convenience if
it gets in the way.

It would speed-up a bit entities matching, and would allow for a relaxed
regexp (i.e. a regexp built upon already defined entities).


Regards,

-- 
Nicolas Goaziou



Re: [O] Buffer is read-only: #buffer *SUMO*

2012-09-17 Thread Moritz Ulrich

Aaron Ecay writes:

 OK, I’ve tracked this down.  I added a function to
 ‘org-agenda-finalize-hook’ which makes modifications to the agenda
 buffer (viz. removing the 'mouse-highlight text properties).  At line
 3441 of org-agenda.el, in the ‘org-agenda-finalize’ function, this hook
 is run outside of any (let ((inhibit-read-only t)) ...).  This gives the
 error.

I use the same hook.

 Only some types of agenda buffers are set to be read-only –
 e.g. ‘org-todo-list’ sets read-only at l. 4418 of org-agenda.el.  I
 think ‘org-agenda-finalize-hook’ should be run with inhibit-read-only
 bound to t, to let the hook modify the agenda buffer in any case.  But
 otherwise, it should be added to the hook’s documentation that any
 changes to the agenda buffer could be turned into an error by a
 read-only setting.

Yup, I agree. For me, it looks like a documentation issue. For my part,
I'll just modify the function in the hook to check if the buffer is
read-only.

Thanks,
Moritz Ulrich


-- 
Moritz Ulrich


pgpjq1KlqGMaR.pgp
Description: PGP signature


[O] org-habit config tinypatch

2012-09-17 Thread Robert Horn
This patch fixes my problem, but indicates that there is a startup
sequencing issue that may also affect other parts of org.  

First the patch

--- org-agenda.el~  2012-09-12 21:24:27.0 -0400
+++ org-agenda.el   2012-09-17 06:02:45.0 -0400
@@ -90,7 +90,7 @@
 (defvar org-mobile-force-id-on-agenda-items)  ; defined in org-mobile.el
 (defvar org-habit-show-habits); defined in org-habit.el
 (defvar org-habit-show-habits-only-for-today)
-(defvar org-habit-show-all-today nil)
+(defvar org-habit-show-all-today) ; defined in org-habit.el
 
 ;; Defined somewhere in this file, but used before definition.
 (defvar org-agenda-buffer-name *Org Agenda*)

Second, the symptom

Without this patch the emacs config shows the show-all-today as having
been changed outside the config process, and it is set to nil rather
than the setting in the .emacs file.  It shows this immediately upon
startup when the config option is started and nothing else has been done.

If I understand defvar properly, this means that the org-agenda is being
evaluated before the .emacs, which is not what I expected at all.  So
either I don't understand defvar properly or the order of evaluation at
startup is not what I thought.  Either way, there are possibly other
defvars that need fixing.

Now that org-habit is part of the base org-mode, perhaps the proper fix
is to remove those three defvars.  Someone who understands the startup
sequence should make that decision.

R Horn 
rjh...@alum.mit.edu



[O] [OT] Org spotted in the wild

2012-09-17 Thread Loris Bennett
Hi,

While looking for a solution to the problem of emacs hanging if the SSH
connection to remote files goes down, I came across this website:

http://mosh.mit.edu/

which is about an alternative for SSH, but has a
screenshot of Org on its frontpage.

Cheers

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de





[O] org-e-beamer export bug

2012-09-17 Thread Suvayu Ali
Hi,

I think I found a bug in the beamer export of org-e-beamer.  The ecm and
the produced TeX file is attached.  During the export the documentclass
is incorrectly set to article.

This is how I load org-export:

  (setq debug-on-error t
debug-on-signal nil
debug-on-quit nil)

  (add-to-list 'load-path (expand-file-name ~/build/org-mode/lisp))
  (add-to-list 'load-path (expand-file-name ~/build/org-mode/contrib/lisp))
  
  ;; activate org
  (require 'org-install)
  (load-library org-export)
  (load-library org-e-latex)
  (load-library org-e-beamer)
  (load-library org-e-html)
  
  (setq org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch
org-e-latex-pdf-process ; for experimental org-export
'(xelatex -interaction nonstopmode -output-directory %o %f
xelatex -interaction nonstopmode -output-directory %o %f
xelatex -interaction nonstopmode -output-directory %o %f))
  
  ;; beamer export with the new exporter
  (add-to-list 'org-e-latex-classes
   '(beamer
 \\documentclass\[presentation\]\{beamer\}
 (\\section\{%s\} . \\section*\{%s\})
 (\\subsection\{%s\} . \\subsection*\{%s\})
 (\\subsubsection\{%s\} . \\subsubsection*\{%s\})))


-- 
Suvayu

Open source is the future. It sets us free.
* Some headline
  :PROPERTIES:
  :LaTeX_CLASS: beamer
  :LaTeX_CLASS_OPTIONS: [smaller,presentation]
  :EXPORT_FILE_NAME: analysis_review.pdf
  :EXPORT_BEAMER_THEME: Montpellier
  :EXPORT_BEAMER_COLOR_THEME: orchid
  :EXPORT_OPTIONS: H:1 ^:t
  :COLUMNS:  %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) 
%8BEAMER_opt(Opt)
  :BEAMER_col_ALL: 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC
  :EXPORT_TITLE: ECM
  :END:

** Background
#+begin_latex
  \begin{equation}
\mathcal{A}_{f}(t) = \dots
  \end{equation}
#+end_latex

* Ds⁻ Ds⁺ production asymmetry
% Created 2012-09-17 Mon 15:07
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usetheme{Montpellier}
\usecolortheme{orchid}
\author{Suvayu Ali}
\date{\today}
\title{ECM}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.50.1.}}
\begin{document}

\maketitle
\begin{frame}{Outline}
\tableofcontents
\end{frame}


\begin{frame}[label=sec-1]{Background}
\begin{equation}
  \mathcal{A}_{f}(t) = \dots
\end{equation}
\end{frame}
% Generated by Org mode 7.9.1 in Emacs 24.2.50.1.
\end{document}


[O] org-habit config contd

2012-09-17 Thread Robert Horn
There is more to this bug.  I don't think there is a problem with my
patch, but it doesn't fix it on all systems.  It fixed things on my Mac,
but not on Linux or Windows.  

Blessed with a lack of understanding for exactly what is going on I find
that changing the line in .emacs for custom-set-variables from:

'(org-habit-show-all-today t) 

to 

'(org-habit-show-all-today t t)

Makes the error go away.  Curiouser and curiouser.  This is looking less
like an org bug and more like something going on with the built-in
customization logic.

R Horn
rjh...@alum.mit.edu



Re: [O] org-e-beamer export bug

2012-09-17 Thread Suvayu Ali
On Mon, Sep 17, 2012 at 03:18:47PM +0200, Suvayu Ali wrote:
 Hi,
 
 I think I found a bug in the beamer export of org-e-beamer.  The ecm and
 the produced TeX file is attached.  During the export the documentclass
 is incorrectly set to article.
 

Please ignore my report.  I found my typo

   :LaTeX_CLASS: beamer
   :LaTeX_CLASS_OPTIONS: [smaller,presentation]

should be

   :EXPORT_LaTeX_CLASS: beamer
   :EXPORT_LaTeX_CLASS_OPTIONS: [smaller,presentation]

Sorry for the noise.

-- 
Suvayu

Open source is the future. It sets us free.



[O] New exporter: no custom timestamps

2012-09-17 Thread Giovanni Ridolfi
Hello everybody,

I am not able to export with custiom timestamps with the new exporter. 

file:
---
* [2012-09-17 lun]
** [2013-04-28 dom] sunday
* COMMENT s
# Local Variables:
# org-display-custom-times: t
# org-time-stamp-custom-formats: (%d/%m/%Y %A . %d/%m/%Y %A %H:%M)
# End:
--
If I open the file the local variables are set. I toggle the timestamp format 

C-c C-x C-t and C-c C-e H exports to HTML with my custom timestamp in
the headline:

h2 id=sec-1span class=section-number-21/span span 
class=timestamp-wrapper span class=timestamp17/09/2012 
lunedì/span/span/h2

Whereas with the new exporter

M-x org-export-dispatch h H

I get the ISO format:
h2 id=sec-1span class=section-number-21/span span 
class=timestamp-wrapperspan class=timestamp2012-09-17 
lun/span/span/h2

cheers,
Giovanni




[O] New exporter: export to ics ?

2012-09-17 Thread Giovanni Ridolfi
Hello everybody,

the new exporter does not have options to export to ics format.

Are there plans to keep this feature or will it be dropped with the old-export?
or will we have access to it via a new interface, not the export interface?

thank you in advance, cheers,

Giovanni 




Re: [O] [OT] Org spotted in the wild

2012-09-17 Thread Toke Høiland-Jørgensen
Loris Bennett loris.benn...@fu-berlin.de writes:

 While looking for a solution to the problem of emacs hanging if the SSH
 connection to remote files goes down

Did you find one (a solution, that is)? This has been bothering me for a
while as well...

-Toke

-- 
Toke Høiland-Jørgensen
t...@toke.dk




Re: [O] [OT] Org spotted in the wild

2012-09-17 Thread Loris Bennett
Toke Høiland-Jørgensen t...@toke.dk writes:

 Loris Bennett loris.benn...@fu-berlin.de writes:

 While looking for a solution to the problem of emacs hanging if the SSH
 connection to remote files goes down

 Did you find one (a solution, that is)? This has been bothering me for a
 while as well...

 -Toke

Following this article 

http://blogs.perl.org/users/smylers/2011/08/ssh-productivity-tips.html

I'm currently trying out the following settings in .ssh/config

,---
| TCPKeepAlive no
| ServerAliveInterval 60
| ServerAliveCountMax 10
`---

Seems to be OK, but the problem is fairly sporadic anyway and normally
I'm on a less flaky network, so it might be a little difficult to say if
that is really the solution.

However, looking at 

,---
| man ssh_config
`---

setting TCPKeepAlive to 'no' seems like a good idea.

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de




Re: [O] org-e-beamer export bug

2012-09-17 Thread Suvayu Ali
Hi,

On Mon, Sep 17, 2012 at 03:30:17PM +0200, Suvayu Ali wrote:
 On Mon, Sep 17, 2012 at 03:18:47PM +0200, Suvayu Ali wrote:
  
  I think I found a bug in the beamer export of org-e-beamer.  The ecm and
  the produced TeX file is attached.  During the export the documentclass
  is incorrectly set to article.
  
 
 Please ignore my report.  I found my typo
 
:LaTeX_CLASS: beamer
:LaTeX_CLASS_OPTIONS: [smaller,presentation]
 
 should be
 
:EXPORT_LaTeX_CLASS: beamer
:EXPORT_LaTeX_CLASS_OPTIONS: [smaller,presentation]
 

The typo was actually in org-e-beamer-insert-options-template.  A patch
is attached.

-- 
Suvayu

Open source is the future. It sets us free.
From 1d80cdf2a4a087d2784eb9600f7da2c027d754a4 Mon Sep 17 00:00:00 2001
From: Suvayu Ali fatkasuvayu+li...@gmail.com
Date: Mon, 17 Sep 2012 17:28:03 +0200
Subject: [PATCH] Fix org-e-beamer subtree export options template

Prepend EXPORT_ to LaTeX_CLASS* properties in the beamer subtree
export options template.
---
 contrib/lisp/org-e-beamer.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/lisp/org-e-beamer.el b/contrib/lisp/org-e-beamer.el
index fba3c43..94336d7 100644
--- a/contrib/lisp/org-e-beamer.el
+++ b/contrib/lisp/org-e-beamer.el
@@ -1130,8 +1130,8 @@ (defun org-e-beamer-insert-options-template (optional 
kind)
   (progn
(org-back-to-heading t)
(org-reveal)
-   (org-entry-put nil LaTeX_CLASS beamer)
-   (org-entry-put nil LaTeX_CLASS_OPTIONS [presentation])
+   (org-entry-put nil EXPORT_LaTeX_CLASS beamer)
+   (org-entry-put nil EXPORT_LaTeX_CLASS_OPTIONS [presentation])
(org-entry-put nil EXPORT_FILE_NAME presentation.pdf)
(when org-e-beamer-column-view-format
  (org-entry-put nil COLUMNS org-e-beamer-column-view-format))
-- 
1.7.11.4



[O] fill paragraph: math and latex environments

2012-09-17 Thread Albert Z. Wang

Hello,

First off, thanks for this great piece of software!  It's made
document/markup management so much easier since I've discovered it.
I've just recently been having an issue I was wondering if anybody could
help with, namely, that fill-paragraph does not seem to work as
expected.

For display math equations delimited as
\[
a^2 + b^2 = c^2
\]
the equation gets folded inline -- seems to work fine with explicit
environments though ( \begin{equation*}...\end{equation*} ).  Has
anybody else experienced this?  Tweaking paragraph-start and
paragraph-separate do not seem to be doing the trick...

I just recently did a big update of the emacs system after a few months,
so it's possible there've been some relevant changes I'm unaware of, but
I wasn't able to find a solution by searching.

Thanks for any help!

--Albert







Re: [O] Problem with org-entities-user

2012-09-17 Thread Thomas S. Dye
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 t...@tsdye.com (Thomas S. Dye) writes:

 I'm probably doing something silly here, but can't figure it out.  Using
 the new LaTeX exporter, and with org-entities-user defined as below,
 this:

 \C14 \frac12 \Omacron

 exports as:

 \C14 \textonehalf{} \={O}

 Why isn't my C14 entity being exported correctly?

 All the best,
 Tom

 Value: ((U234 \\textsuperscript{234}U nil sup234/supU
 234U 234U 234U)
  (Th230 \\textsuperscript{230}Th nil sup230/supTh 230Th
 230Th 230Th)
  (C14 \\textsuperscript{14}C nil  14C 14C 14C)
  (Umacron \\={U} nil #0362 U U Ū)
  (Omacron \\={O} nil #0332 O O Ō)
  (Imacron \\={I} nil #0298 I I Ī)
  (Emacron \\={E} nil #0274 E E Ē)
  (Amacron \\={A} nil #0256 A A Ā)
  (umacron \\={u} nil #0363 u u ū)
  (omacron \\={o} nil #0333 o o ō)
  (imacron \\={i} nil #0299 i i ī)
  (emacron \\={e} nil #0275 e e ē)
  (amacron \\={a} nil #0257 a a ā)
  (space \\  nil))

 That's because numbers are not allowed in entities, except for a few
 exceptions:

   
 \\(there4\\|sup[123]\\|frac[13][24]\\|[a-zA-Z]+\\)\\($\\|{}\\|[^[:alpha:]]\\)

 Note that this regexp also matches LaTeX commands.

 One seducing idea would be to drop support for such commands (I'm _not_
 talking about math environments and snippets, but about commands like
 \hfill{} or \bigskip{}). After all, if you want to write raw LaTeX in an
 Org buffer, you can always use #+LATEX: or @@latex:...@@ like with any
 other back-end. I see no compelling reason to keep this convenience if
 it gets in the way.

 It would speed-up a bit entities matching, and would allow for a relaxed
 regexp (i.e. a regexp built upon already defined entities).

Thanks Nicolas.  I was confused by the exceptional numbers into thinking
they were generally allowed.  

I'm not sure about support for \hfill{}, etc.  The new latex and html
exporters pass \hfill{} through unchanged, which might be what the latex
author wants, or what the html author writing about latex commands
wants. 

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] org-e-beamer export bug

2012-09-17 Thread Bastien
Hi Suvayu,

Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 The typo was actually in org-e-beamer-insert-options-template.  A patch
 is attached.

Applied, thanks!

-- 
 Bastien



[O] MobileOrg missing from app store

2012-09-17 Thread Kyle Sexton
I upgraded to iOS 6 and now can't find MobileOrg in the App Store.
Anyone know if it's still there and just not compatible with the new
iOS?

Sent from my iPhone



Re: [O] org-habit config tinypatch

2012-09-17 Thread Bastien
Hi Robert,

Robert Horn rjh...@alum.mit.edu writes:

 This patch fixes my problem, but indicates that there is a startup
 sequencing issue that may also affect other parts of org.  

 First the patch

 --- org-agenda.el~2012-09-12 21:24:27.0 -0400
 +++ org-agenda.el 2012-09-17 06:02:45.0 -0400
 @@ -90,7 +90,7 @@
  (defvar org-mobile-force-id-on-agenda-items)  ; defined in org-mobile.el
  (defvar org-habit-show-habits); defined in org-habit.el
  (defvar org-habit-show-habits-only-for-today)
 -(defvar org-habit-show-all-today nil)
 +(defvar org-habit-show-all-today) ; defined in org-habit.el
  
  ;; Defined somewhere in this file, but used before definition.
  (defvar org-agenda-buffer-name *Org Agenda*)

Thanks.

I've applied a patch that does not (defvar ... nil), since we only
defvar here to silent the byte-compiler, not to initialize the var.
The rest of my change check whether the variable has been already
initialized (boundp '...) so that the agenda does not choke.

 Second, the symptom

 Without this patch the emacs config shows the show-all-today as having
 been changed outside the config process, and it is set to nil rather
 than the setting in the .emacs file.  It shows this immediately upon
 startup when the config option is started and nothing else has been done.

 If I understand defvar properly, this means that the org-agenda is being
 evaluated before the .emacs, which is not what I expected at all.  So
 either I don't understand defvar properly or the order of evaluation at
 startup is not what I thought.  Either way, there are possibly other
 defvars that need fixing.

 Now that org-habit is part of the base org-mode, perhaps the proper fix
 is to remove those three defvars.  Someone who understands the startup
 sequence should make that decision.

This is weird.  If the variable has been set through .emacs.el or the
.emacs-custom.el file at startup, then defvar'ing it to nil should not
do anything.

(setq ahem 3)= 3
(defvar ahem nil)= ahem
(eval ahem)  = 3

If you don't have the above results, perhaps you should report this as
an Emacs bug.

Thanks,

-- 
 Bastien



Re: [O] [OT] Org spotted in the wild

2012-09-17 Thread Toke Høiland-Jørgensen
Loris Bennett loris.benn...@fu-berlin.de writes:

 setting TCPKeepAlive to 'no' seems like a good idea.

Right, well my connection problems usually come from suspending my
laptop and/or moving it to a different network, so it seems to me this
change would probably be counter productive in my case... But thanks
anyway, and that SSH productivity thing does seem to be useful. :)

-Toke

-- 
Toke Høiland-Jørgensen
t...@toke.dk




Re: [O] Org-mode release 7.9

2012-09-17 Thread Eric Schulte
 I'm not sure what providing the link entails.  Does this mean
 coordinating with elpa.gnu.org so that orgplus becomes available through
 the gnu elpa?  That sounds ideal.

 I was actually thinking of using orgmode.org as the package repository
 for orgplus.  I don't think it is a good idea to provide both org and
 orgplus via ELPA as long as no negative dependencies can be expressed
 via the package manager.


Agreed, this would simply mean generating an archive-contents file on
the Org-mode site which lists the latest org and orgplus archive.  I'm
not sure which elisp function is used to generate this file, but it
could be done directly from the server.mk file with something like...

# -*- Makefile -*-
archive-contents:
echo (1 (org . [($(PKG_TAG)) nil \$(PKG_DOC)\])   $; \
echo(orgplus . [($(PKG_TAG)) nil \$(PKG_DOC)\]))  $;

Bastien, does this sound like a good idea?  I'd love to finally get this
package published.

Thanks,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



Re: [O] Org-mode release 7.9

2012-09-17 Thread Achim Gratz
Eric Schulte writes:
 Agreed, this would simply mean generating an archive-contents file on
 the Org-mode site which lists the latest org and orgplus archive.  I'm
 not sure which elisp function is used to generate this file, but it
 could be done directly from the server.mk file with something like...

 # -*- Makefile -*-
 archive-contents:
 echo (1 (org . [($(PKG_TAG)) nil \$(PKG_DOC)\])   $; \
 echo(orgplus . [($(PKG_TAG)) nil \$(PKG_DOC)\]))  $;

No, you'd need  on the second line.

BTW, I'm going to revert your change for removing PGK_REQ since you've
done it in the wrong branch.  I'd like to keep the PKG_REQ variable for
possible future use, can you please test if the package archives that
choke on nil can correctly deal with () or (())?  Otherwise I'd
leave the variable undefined, which results in the same thing as your
patch.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] New exporter: export to ics ?

2012-09-17 Thread Nicolas Goaziou
Hello,

Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 the new exporter does not have options to export to ics format.

 Are there plans to keep this feature or will it be dropped with the
 old-export?

I started to look at org-icalendar.el. I will provide an
org-e-icalendar.el, although it may take some time.


Regards,

-- 
Nicolas Goaziou



Re: [O] New exporter: no custom timestamps

2012-09-17 Thread Jambunathan K

 Hello everybody,

 I am not able to export with custiom timestamps with the new
 exporter. 

`org-translate-time' expects  and [] to be passed to it.

I am not sure whether (all) the exporters should be changed or just the
API needs to be fixed.

,
| *** Welcome to IELM ***  Type (describe-mode) for help.
| ELISP org-display-custom-times
| t
| ELISP org-time-stamp-custom-formats
| (%d/%m/%Y %A . %d/%m/%Y %A %H:%M)
| 
| ELISP (setq T '(timestamp
| (:type inactive :value 2012-09-17 lun :range-end nil)))
| (timestamp
|  (:type inactive :value 2012-09-17 lun :range-end nil))
| 
| ELISP (org-translate-time (org-element-property :value T))
| 2012-09-17 lun
| ELISP (org-translate-time (format [%s] (org-element-property :value 
T)))
| [17/09/2012 Monday]
| ELISP 
`

 file:
 ---
 * [2012-09-17 lun]
 ** [2013-04-28 dom] sunday
 * COMMENT s
 # Local Variables:
 # org-display-custom-times: t
 # org-time-stamp-custom-formats: (%d/%m/%Y %A . %d/%m/%Y %A %H:%M)
 # End:
 --

Use #+BIND:

 If I open the file the local variables are set. I toggle the timestamp format 

 C-c C-x C-t and C-c C-e H exports to HTML with my custom timestamp in
 the headline:

 h2 id=sec-1span class=section-number-21/span span
 class=timestamp-wrapper span class=timestamp17/09/2012
 lunedì/span/span/h2

 Whereas with the new exporter

 M-x org-export-dispatch h H

 I get the ISO format:
 h2 id=sec-1span class=section-number-21/span span
 class=timestamp-wrapperspan class=timestamp2012-09-17
 lun/span/span/h2

 cheers,
 Giovanni




-- 



[O] New user, my use case, request basic advice

2012-09-17 Thread David Rogers
Hi

I'm gradually getting accustomed to org-mode; thanks to all those whose
work makes this great software keep getting even better.

I've been trying to figure out how to integrate org-mode into my gadgets
and my situation, and realize that I've been thinking about it upside
down. The missing piece of the puzzle, for me, the thing I don't know
how to accomplish, is the most important one to have. So, here's what
I've got and what I'm trying to do:

- Working at home part of the time, usually near the computer; and at
  various other locations the rest of the time, NOT near a computer.

- Android phone, with root access and (often) able to use wi-fi at work

- Home computer, with internet access obviously

- Off-site web server where I'm free to install and run whatever is necessary

- No laptops or tablets, and none planned. Got more than enough
  machinery already. :)



My main goals:

1. I need audible alerts from my phone for appointments  reminders
   when I'm away from home. I don't really mind how those are
   accomplished, but I have to hear a sound of some kind at the
   appropriate times. I can't be counted on to check my phone
   periodically - I need the phone to check me instead, or I'll forget
   a lot of things. For example, I'm very attracted to 0rg-notify, but
   have no clue how to transfer that functionality onto the phone. (SSH
   the phone onto the server and run emacs on there? But I don't even
   know if that would give audible alerts.)

2. I need a way (any reasonable way) of keeping the home computer's
   appointments  reminders, and the phone's appointments  reminders,
   in sync. Automatic sync is nice but definitely not a requirement - I
   can sync manually if needed. (MobileOrg the obvious choice? or
   something else?)

3. In all of this, I want to maximize use of org-mode/gnus/emacs and
   associated tools, and minimize use of other tools.


Thanks for any thoughts or advice on how this might be done.

-- 
David Rogers



Re: [O] =...= invalid

2012-09-17 Thread Jorge Timón
I've been testing a little more. I anyone wants to reproduce the error.

Here's a simpler example, just create a file with this:

#+AUTHOR: test

* 123 1 2 3 4
aaa =...= aa a a

And export it with C-c C-e L.

The output buffer will look like this:

% Created 2012-09-17 Mon 21:09
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{soul}
\usepackage{hyperref}


\title{test}
\author{test}
\date{17 September 2012}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

\section{[[sec-1]\$\^{}{123}\$] \hyperref[sec-1]{1 2} \hyperref[sec-1]{3 4}}

[[sec-1][aaa]] \texttt{...} aa \hyperref[sec-1]{a a}

\end{document}

It doesn't reproduce with =...= nor =...= nor ==. But
interestingly, by changing the number of dots inside the inequality
signs, the places where the hyperrefs appear change too. The number of
dots seems to determine the number of chars that each of these false
links will have. They can include spaces.

I have no idea about what is happening, though.
Any help is welcomed.

On 9/15/12, Jorge Timón jtimo...@gmail.com wrote:
 Hi, I'm working with a document to export to LaTeX and I had a crazy
 problem that only reproduced with emacs23, not with the emacs-snapshot
 repository for ubuntu. But it started to happen with the latest
 snapshot too.
 Lot's of short words (3 or less chars) appeared as links and when I
 exported the document to LaTeX they all appeared with
 \hyperref{sec-1}.
 Finally I identified the part that was messing with the export and it
 was ~...~ or =...=.
 It seems that two  are treated speacially, I don't know.
 I'll fix that later but I don't really know how. =aaa= was supposed to
 be \{verbatim}. ... is a sintaxis to call CUDA kernels, the
 place to put the parameters and I want to mention it in the text. I'll
 use =  ...  = for now and the dammed symbols still couple.

 The little words as links is a strange thing. I thought it was for
 being on windows at first, but it was about the version: I had ubuntu
 with emacs24 at home and winXP with emacs23 at work. I can't rememeber
 if it happened with other documents but in any case doesn't looks
 good. Has anyone had a similar problem with another forbidden
 string?
 How can I put that string verbatim in my text?
 Do I have to go back to pure LaTeX for that paragraph?

 Thank you in advance.

 If the error doesn't reproduce just like that, please tell me and I'll
 do more tests in a separate document or link you to a copy. Well, I'll
 just do it now:
 http://preann.svn.sourceforge.net/viewvc/preann/preann/doc/preann-doc.org

 Note: I've using emacs only for five months and I don't think I can
 change to another editor if it has not org-mode, congratulations to
 the developers. I still feel that something bigger is going to come
 out of this.
 Still using Eclipse for coding, but that has to change.

 --
 Jorge Timón



-- 
Jorge Timón



Re: [O] Org-mode version N/A-fixup

2012-09-17 Thread Achim Gratz
Markus Heller writes:
 What's going on?  I did run M-x org-reload ...

http://orgmode.org/worg/org-hacks.html#compiling-org-without-make


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Waldorf MIDI Implementation  additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




Re: [O] fill paragraph: math and latex environments

2012-09-17 Thread Nicolas Goaziou
Hello,

a...@fastmail.fm (Albert Z. Wang) writes:

 I've just recently been having an issue I was wondering if anybody
 could help with, namely, that fill-paragraph does not seem to work as
 expected.

 For display math equations delimited as
 \[
 a^2 + b^2 = c^2
 \]
 the equation gets folded inline -- seems to work fine with explicit
 environments though ( \begin{equation*}...\end{equation*} ).  Has
 anybody else experienced this?  Tweaking paragraph-start and
 paragraph-separate do not seem to be doing the trick...

Yes, \[...\] constructs are considered as inline objects (they belong to
a paragraph, so they will be filled along with the paragraph). On the
other hand, \begin{equation*} environments are full-fledged elements:
they do not belong to a paragraph and are not filled.


Regards,

-- 
Nicolas Goaziou



Re: [O] New user, my use case, request basic advice

2012-09-17 Thread Charles Philip Chan
David Rogers davidandrewrog...@gmail.com writes:

Hi David:

 My main goals:

 1. I need audible alerts from my phone for appointments  reminders
when I'm away from home. I don't really mind how those are
accomplished, but I have to hear a sound of some kind at the
appropriate times. I can't be counted on to check my phone
periodically - I need the phone to check me instead, or I'll forget
a lot of things. For example, I'm very attracted to 0rg-notify, but
have no clue how to transfer that functionality onto the phone. (SSH
the phone onto the server and run emacs on there? But I don't even
know if that would give audible alerts.)

 2. I need a way (any reasonable way) of keeping the home computer's
appointments  reminders, and the phone's appointments  reminders,
in sync. Automatic sync is nice but definitely not a requirement - I
can sync manually if needed. (MobileOrg the obvious choice? or
something else?)

Since you use Android, the solution is:

https://play.google.com/store/apps/details?id=com.matburt.mobileorgfeature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5tYXRidXJ0Lm1vYmlsZW9yZyJd

in conjunction with org-mobile.el, which is part of org-mode. Please
read the manual:

http://orgmode.org/manual/MobileOrg.html

Cheers,
Charles

-- 
How do I type for i in *.dvi do xdvi i done in a GUI?
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)



Re: [O] =...= invalid

2012-09-17 Thread Achim Gratz

Search the manual for radio targets.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] Org-mode version N/A-fixup

2012-09-17 Thread Markus Heller
Achim Gratz strom...@nexgo.de writes:

 Markus Heller writes:
 What's going on?  I did run M-x org-reload ...

 http://orgmode.org/worg/org-hacks.html#compiling-org-without-make


Hi Achim,

worked like a charm, thanks!!

Markus




Re: [O] Org-mode version N/A-fixup

2012-09-17 Thread Achim Gratz
Markus Heller writes:
 worked like a charm, thanks!!

BTW, how exactly did you update?  A tarball should not need this and if
it's a Git directory the version should be found automatically.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] =...= invalid

2012-09-17 Thread Jorge Timón
Thank you very much, now all makes sense. And I hopefully find some
use for radio targets.

The only way I know to do what I want is \verb==...\verb==, in
case someone has a similar problem.

On 9/17/12, Achim Gratz strom...@nexgo.de wrote:

 Search the manual for radio targets.


 Regards,
 Achim.
 --
 +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

 Factory and User Sound Singles for Waldorf rackAttack:
 http://Synth.Stromeko.net/Downloads.html#WaldorfSounds





-- 
Jorge Timón



Re: [O] Differences between MobileOrg and MobileOrgNG

2012-09-17 Thread Robert Eckl
Laurent Hoeltgen writes:

 I noticed today, that there are two apps for org-mode on android, 
 namely MobileOrg and MobileOrgNG.

 Is there any significant difference between them in terms of 
 functionality and stability? Is any of them to be recommended over the 
 other one?

MobileOrg has some useful features more than MobileOrgNG, for example
sync with calendar (IIRC google or telephone) at least Org to calendar. 

Here you find a short opinion to the difference:
http://sachachua.com/blog//00/06/ 

In past IIRC MobileOrg does not provide to see the entries of the different
org-files, only the agenda and TODO-List was visible.

If i Push the org-files under Windows with MobileOrg the different
org-files are not synced, but with MobileOrgNG they are. If i push the
org-files under Mac OS, the org-files are synced even with MobileOrg.  

I'm mostly using MobileOrgNG with the disadvantage, that the content of Drawers
on Android are not visible. 

You can play with both and decide later, whats your favorite.

Cu,
Robert



Re: [O] =...= invalid

2012-09-17 Thread Nick Dokos
Jorge Timón jtimo...@gmail.com wrote:

 The only way I know to do what I want is \verb==...\verb==, in
 case someone has a similar problem.
 

If you don't mind the extra space around the dots, you can say

   aaa ~~ ... ~~ aa a a

the advantage being that it is backend-independent, so it will export
correctly to HTML and presumably all the other backends --- at least
with the new exporter: I didn't try the old one.

There are ways to deal with the spaces as well (the one before the dots
is no problem: it's the one after that causes a problem in this case),
but imo they are not worth the bother unless you really, really need that
exact behavior. I'd rather live with the spaces (or edit the resulting latex
file, but that has disadvantages of its own).

Nick






Re: [O] =...= invalid

2012-09-17 Thread Jorge Timón
I wouldn't care about the spaces and I would prefer not to use latex.
The problem is that that produces:

\texttt{} \ldots{} \texttt{}

and then latex joins the first  and the first  together, which is
really ugly.

My document is already LaTeX specific, but if I'm able replace more
latex with org mode, I should consider a later edition of the tex
produced to keep it backend-independent. Not critical for this
document, but it is always cool to be able to export to different
formats.

Thank you for the suggestion, anyway.

On 9/17/12, Nick Dokos nicholas.do...@hp.com wrote:
   Jorge Timón jtimo...@gmail.com wrote:

 The only way I know to do what I want is \verb==...\verb==, in
 case someone has a similar problem.


 If you don't mind the extra space around the dots, you can say

aaa ~~ ... ~~ aa a a

 the advantage being that it is backend-independent, so it will export
 correctly to HTML and presumably all the other backends --- at least
 with the new exporter: I didn't try the old one.

 There are ways to deal with the spaces as well (the one before the dots
 is no problem: it's the one after that causes a problem in this case),
 but imo they are not worth the bother unless you really, really need that
 exact behavior. I'd rather live with the spaces (or edit the resulting
 latex
 file, but that has disadvantages of its own).

 Nick






-- 
Jorge Timón



Re: [O] =...= invalid

2012-09-17 Thread Nick Dokos
Jorge Timón jtimo...@gmail.com wrote:

 I wouldn't care about the spaces and I would prefer not to use latex.
 The problem is that that produces:
 
 \texttt{} \ldots{} \texttt{}
 

Did you try it with the tildes instead of the equal signs?
Here, both old and new exporters produce

aaa \verb~~ \ldots{} \verb~~ aa a a

at least with the version I'm running (Org-mode version 7.9.1 
(release_7.9.1-214-gf025d1))

Nick

 and then latex joins the first  and the first  together, which is
 really ugly.
 
 My document is already LaTeX specific, but if I'm able replace more
 latex with org mode, I should consider a later edition of the tex
 produced to keep it backend-independent. Not critical for this
 document, but it is always cool to be able to export to different
 formats.
 
 Thank you for the suggestion, anyway.
 
 On 9/17/12, Nick Dokos nicholas.do...@hp.com wrote:
  Jorge Timón jtimo...@gmail.com wrote:
 
  The only way I know to do what I want is \verb==...\verb==, in
  case someone has a similar problem.
 
 
  If you don't mind the extra space around the dots, you can say
 
 aaa ~~ ... ~~ aa a a
 
  the advantage being that it is backend-independent, so it will export
  correctly to HTML and presumably all the other backends --- at least
  with the new exporter: I didn't try the old one.
 
  There are ways to deal with the spaces as well (the one before the dots
  is no problem: it's the one after that causes a problem in this case),
  but imo they are not worth the bother unless you really, really need that
  exact behavior. I'd rather live with the spaces (or edit the resulting
  latex
  file, but that has disadvantages of its own).
 
  Nick
 
 
 
 
 
 
 -- 
 Jorge Timón
 



Re: [O] Differences between MobileOrg and MobileOrgNG

2012-09-17 Thread Henning Weiss
Hi,

On Mon, Sep 17, 2012 at 9:20 PM, Robert Eckl eckl.rob...@arcor.de wrote:

 If i Push the org-files under Windows with MobileOrg the different
 org-files are not synced, but with MobileOrgNG they are. If i push the
 org-files under Mac OS, the org-files are synced even with MobileOrg.


This sounds like a known bug with org-mode on Windows, as it does not
generate a complete checksum file. See the discussion
herehttps://github.com/matburt/mobileorg-android/issues/201.
It seems that changing from sha1sum.exe to md5sum.exe for the generation of
the checksum file fixes that issue.

Henning


Re: [O] fill paragraph: math and latex environments

2012-09-17 Thread Albert Z. Wang
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 a...@fastmail.fm (Albert Z. Wang) writes:

 I've just recently been having an issue I was wondering if anybody
 could help with, namely, that fill-paragraph does not seem to work as
 expected.

 For display math equations delimited as
 \[
 a^2 + b^2 = c^2
 \]
 the equation gets folded inline -- seems to work fine with explicit
 environments though ( \begin{equation*}...\end{equation*} ).  Has
 anybody else experienced this?  Tweaking paragraph-start and
 paragraph-separate do not seem to be doing the trick...

 Yes, \[...\] constructs are considered as inline objects (they belong to
 a paragraph, so they will be filled along with the paragraph). On the
 other hand, \begin{equation*} environments are full-fledged elements:
 they do not belong to a paragraph and are not filled.

Thanks for the clarification!  Is there an easy way to have them be
treated as full-fledged environments?  I usually prefer to use the above
for unnumbered display equations since it reduces visual clutter and
looks closer to the intent.

I've noticed that adding \\[ and \\] to
org-element-paragraph-separate will prevent complete inlining, but that
the newline after the mark will be removed, which makes the formatting a
little less clear.  Is it possible to treat \[ ... \] as full-fledged
unnumbered equation environments?  My own understanding of how the
parser works is insufficient to the task of changing its behavior
here...

It's not a very big deal, but if there's an easy way to accomplish this
I'd appreciate any help.  

Thanks,

--Albert




[O] [OT] Xiki - could something like that be done with emacs+orgmode?

2012-09-17 Thread Marcelo de Moraes Serpa
Hi list,

I've found a pretty interesting piece of software today. It's called Xiki,
check out the video:

http://www.youtube.com/watch?v=bUR_eUVcABgfeature=youtu.be

I'm wondering it something like that could be done with emacs (and possibly
integrating orgmode to add the outlining features)?

That could be interesting.

Just food for thought,

Cheers!

- Marcelo.


[O] auto-fill non-op, fill-paragraph error

2012-09-17 Thread Edward DeMeulle
The last several weeks or so I've noticed that auto-fill isn't working
and when I try to invoke fill-paragraph I receive the following error:

org-element-map: Symbol's function definition is void: 
org-element--parse-objects

I've been tied up in the middle of a system migration at work, so I'd
figured that the problem would surface elsewhere and eventually go away
but now maybe it's something I'm doing?

Also, fill-paragraph works fine in gnus. That's about all I know.





Re: [O] [OT] Does anyone use Tinderbox?

2012-09-17 Thread Eric Abrahamsen
On Fri, Sep 14 2012, Bastien wrote:

 Hi Eric,

 Eric Abrahamsen e...@ericabrahamsen.net writes:

 I've daydreamed about this before: what if, instead of agenda views, we
 took a page from the Tinderbox method and made agendas simple
 headlines, with some cookie saying I'm an agenda, and a property
 containing the search string. Instead of having an ephemeral *Org
 Agenda* buffer, your agenda views are simply another in-file headline,
 whose children are TODOs/headlines that match the query. Multiple and
 persistent agendas are suddenly a matter of course.

 What about this?

 * [[elisp:(org-agenda nil a)]]

But this is still just a link to an *Org Agenda* buffer. What I was
describing (and again, I'm not at all convinced this is a good idea) is
a headline in a regular org file that looks like this:

* [ag] Next Tasks
  :PROPERTIES:
  :AGENDA_QUERY: -WAITING-CANCELLED/!NEXT
  :END:

The [ag] cookie tells Org that this is an agenda headline. You hit C-c
C-g (or something) within this headline, and Org runs the query and
inserts the results as children of the headline. It's just a plain old
Org headline, and can be saved or exported as part of the file. The only
difference is that you can continue to update it (either manually or
with a hook), and that certain Org agenda keybindings are in effect
while point is in the headline (actually this part would probably be the
most difficult).

Anyhoo, just an idea.

 I see how the Tinderbox feature may be a bit more general.

 If anybody comes up with a precise feature request based
 on Tinderbox or any other software, let's try to see if it 
 fits with Org's approach and let's implement it.

-- 
GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
 of 2012-09-05 on pellet
7.9.1




Re: [O] [OT] Does anyone use Tinderbox?

2012-09-17 Thread Kyle Sexton
On Sep 17, 2012, at 9:47 PM, Eric Abrahamsen e...@ericabrahamsen.net
wrote:

On Fri, Sep 14 2012, Bastien wrote:

Hi Eric,


Eric Abrahamsen e...@ericabrahamsen.net writes:


I've daydreamed about this before: what if, instead of agenda views, we

took a page from the Tinderbox method and made agendas simple

headlines, with some cookie saying I'm an agenda, and a property

containing the search string. Instead of having an ephemeral *Org

Agenda* buffer, your agenda views are simply another in-file headline,

whose children are TODOs/headlines that match the query. Multiple and

persistent agendas are suddenly a matter of course.


What about this?


* [[elisp:(org-agenda nil a)]]


But this is still just a link to an *Org Agenda* buffer. What I was
describing (and again, I'm not at all convinced this is a good idea) is
a headline in a regular org file that looks like this:

* [ag] Next Tasks
 :PROPERTIES:
 :AGENDA_QUERY: -WAITING-CANCELLED/!NEXT
 :END:

The [ag] cookie tells Org that this is an agenda headline. You hit C-c
C-g (or something) within this headline, and Org runs the query and
inserts the results as children of the headline. It's just a plain old
Org headline, and can be saved or exported as part of the file. The only
difference is that you can continue to update it (either manually or
with a hook), and that certain Org agenda keybindings are in effect
while point is in the headline (actually this part would probably be the
most difficult).

Anyhoo, just an idea.


This sounds somewhat similar to dynamic blocks, maybe something like that
can help get you started?

http://orgmode.org/manual/Dynamic-blocks.html