[O] [org-trello] 0.0.3.1 - emacs minor mode for org-mode to sync with trello

2013-07-13 Thread eniotna
Hi,

I've released the 0.0.3.1 version of org-trello in marmalade.

Features:
- installation through emacs 24's package repository (marmalade, melpa)
- setup routine to install key and token relative to trello (once)
- setup routine to attach an org-mode file to a trello board (once per
org-mode file)
- synchronize entity (card/checklist/items) partially or completely
- synchronize deletion of entity from org-mode buffer and on the trello
board
- synchronize full org-mode file to a trello board
- synchronize a full trello board to an org-mode file
- create a board directly from an org-mode file

For more informations, here are some links:
- github repository -
https://github.com/ardumont/org-trello/blob/master/README.md
- marmalade release - http://www.marmalade-repo.org/packages/org-trello
- an article (with demos in video) - http://adumont.fr/blog/?p=1247

Any feedback (comments, pull requests, etc...) is welcome.

Enjoy,
--
Antoine R. Dumont
https://github.com/ardumont
https://coderwall.com/ardumont
http://twitter.com/ardumont
http://adumont.fr/blog


Re: [O] collect info from org files in agenda when open?

2013-07-13 Thread Noorul Islam K M
Gregor Zattler telegr...@gmx.net writes:

 Dear org-mod users and developers,

 I customized my org-agenda-files variable to contain 4 files.
 But I wished I could automatically add org files to the agenda
 simply by opening them.  Is it possible to automagically add
 some files to the agenda iff they are visited or add the contents
 of org-mode buffers?


I am not sure whether you already went through contents of this link.

http://orgmode.org/manual/Agenda-files.html

Thanks and Regards
Noorul



Re: [O] habit-only agenda that doesn't remove tasks when done?

2013-07-13 Thread Noorul Islam K M
Christopher Allan Webber cweb...@dustycloud.org writes:

 Hello,

 I'd like to have a habit-only agenda view, if possible, that looks a bit
 like:


 Morning habits
 --

 life:  TODO Shave   [   * *  ** !]  habit::morning:
 rsi:   TODO morning stretches   [  **   ****   *!]  habit::morning:

 Night habits
 

 life:  TODO Exercise[   * *  ** !]  habit::night:


 ... and maybe an other category for cathing the rest.

 I'd also like to have these habits not drop off the agenda view when I
 move them to DONE if possible.  However, I'm getting the sense that this
 isn't possible... it seems like the habit system works with
 agendas-only, and there's no way to say give me an agenda with only
 these certain things on it.

Did you try the following custom command?

  (h Habits tags-todo STYLE=\habit\
   ((org-agenda-overriding-header Habits)
(org-agenda-sorting-strategy
 '(todo-state-down effort-up category-keep

Thanks and Regards
Noorul



Re: [O] collect info from org files in agenda when open?

2013-07-13 Thread Gregor Zattler
Hi Noorul, org-mod users and developers,
* Noorul Islam K M noo...@noorul.com [13. Jul. 2013]:
 Gregor Zattler telegr...@gmx.net writes:
 I customized my org-agenda-files variable to contain 4 files.
 But I wished I could automatically add org files to the agenda
 simply by opening them.  Is it possible to automagically add
 some files to the agenda iff they are visited or add the contents
 of org-mode buffers?
 
 I am not sure whether you already went through contents of this link.
 
 http://orgmode.org/manual/Agenda-files.html

Yes I read this part of the manual before posting my question.  

As I understand the manual, I have the possibility to customize a
static list of agenda files in org-agenda-files or to manually
add and remove org files from the agenda or restrict the agenda
manually.
I do not see how to *automatically* add open org-files to the
agenda?  Perhaps I could do this with some hooks?

Actually I think a static list of files which contribute to the
agenda is fine.  
But I wished there was also the ability to define a list of files
which do only contribute to the agenda if already open
(preferably with some pattern matching, so one could customize
org to add any open org file to the agenda).

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-



Re: [O] [PATCH] Add latex option to ox-bibtex.el

2013-07-13 Thread Nicolas Goaziou
Hello,

feng shu tuma...@gmail.com writes:

 I want to add a option which can setting bib for html export and latex
 export separately,
 As it for the reason:
 1. bibtex2html can't work well with complex bib style, so using a simple
 style and making it
 show correctly is reasonable choose,
 2. bibtex2html can't find bib style in current dir, for example
 (./file.sty) ,
 3. the biblatex user.

I understand that. Though, you didn't tell me what was wrong with the
hook I provided.

 In my opinion, the solution seemd more hacky than mine for a user,  

Of course. A hook (or a filter) is a hack. But at least, it doesn't live
in core.

 It let my org-mode file more unportable.

Portability is not an issue here. If you're really worried about it, you
need to share your configuration file along with your Org documents
anyway. If you don't, your documents will never be totally portable.

 Could you share you opinion and reason about my approach:  Is the idea ,
 separating with  a new option, hacky?  or my code hacky? .

My opinion is that we cannot add options to handle every possible use
case. That's why filters and hooks exist in the first place. Thus, when
a feature can be implemented in a couple of lines with a hook/filter,
I just ask to think twice before adding it to core.

Now, speaking about the patch, you only provide an option to ignore
bibliography keyword when exporting with latex back-end, but you still
have to write correct bibliography command by hand in the Org buffer.

I think a cleaner solution would be to be able to choose both
bibliography and style according to back-end from within the keyword
itself. I very much like Babel's by-backend approach.

That's more work for sure, but, meanwhile I think something like the
hook I provided is good enough for the job at hand.

What do you think?


Regards,

-- 
Nicolas Goaziou



Re: [O] [PATCH] Add latex option to ox-bibtex.el

2013-07-13 Thread Feng Shu
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 feng shu tuma...@gmail.com writes:

 I want to add a option which can setting bib for html export and latex
 export separately,
 As it for the reason:
 1. bibtex2html can't work well with complex bib style, so using a simple
 style and making it
 show correctly is reasonable choose,
 2. bibtex2html can't find bib style in current dir, for example
 (./file.sty) ,
 3. the biblatex user.

 I understand that. Though, you didn't tell me what was wrong with the
 hook I provided.

 In my opinion, the solution seemd more hacky than mine for a user,  

 Of course. A hook (or a filter) is a hack. But at least, it doesn't live
 in core.

 It let my org-mode file more unportable.

 Portability is not an issue here. If you're really worried about it, you
 need to share your configuration file along with your Org documents
 anyway. If you don't, your documents will never be totally portable.

You are right, totally protable is impossible.  My goal is that my
document can work correct in standard org-mode environment, But it seemd
impossible in real world.  emacs = toss


 Could you share you opinion and reason about my approach:  Is the idea ,
 separating with  a new option, hacky?  or my code hacky? .

 My opinion is that we cannot add options to handle every possible use
 case. That's why filters and hooks exist in the first place. Thus, when
 a feature can be implemented in a couple of lines with a hook/filter,
 I just ask to think twice before adding it to core.

 Now, speaking about the patch, you only provide an option to ignore
 bibliography keyword when exporting with latex back-end, but you still
 have to write correct bibliography command by hand in the Org buffer.

filter can be used in babel? for example:

#+begin_src emacs-lisp
...
#+end_src


 I think a cleaner solution would be to be able to choose both
 bibliography and style according to back-end from within the keyword
 itself. I very much like Babel's by-backend approach.
I like Babel's by-backend approach too, but it may be  beyond my elisp 
ability... :-(

Before this patch, I tested below code, failed!
I like this approach, but it may be impossible  to realize.

#+BEGIN_HTML
#+BIBLIO
#+END_HTML



 That's more work for sure, but, meanwhile I think something like the
 hook I provided is good enough for the job at hand.

 What do you think?


 Regards,

-- 



[O] [ob][bug] C++-mode is unknown

2013-07-13 Thread Rasmus
Hi,

The Emacs C++ mode is called c++-mode.  In babel C++ is C++.  
Hence, the following problematic case holds. 

With the block, (lowercase c)

  #+begin_src c++ 
   ...
  #+end_src

I can edit it in the c++-mode and get nice fontification, but I can't
execute it.

With (capital c)

  #+begin_src C++ 
   ...
  #+end_src

I can execute the block in Org, but I can't edit it in c++-mode.

I'm not very knowledgeable about Babel, so the best fix I could find
was adding

  (defalias 'C++-mode 'c++-mode)

to the top of ob-c.el (after requiring cc-mode).  Of course C++ could
also be renamed c++, but the correct name does in fact seem to use
capitals (cf. Wikipedia).

Ob-template didn't mention how to associate a language with a given
mode.

Cheers,
Rasmus

-- 
Got mashed potatoes. Ain't got no T-Bone. No T-Bone




Re: [O] [ob][bug] C++-mode is unknown

2013-07-13 Thread Rasmus
Rasmus ras...@gmx.us writes:

 The Emacs C++ mode is called c++-mode.  In babel C++ is C++.  
 Hence, the following problematic case holds. 
 [...]

Also, shouldn't C++ be in the list of languages when running
org-babel-demarcate-block (C-c C-v C-d)?  

Oh, and here's my details if relevant:

Org-mode version 8.0.3 (release_8.0.3-309-gabacff @
/usr/share/emacs/site-lisp/org/)

GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.2) of
2013-07-05 on *host*.

–Rasmus

-- 
Enough with the bla bla!




[O] Adding text properties to all Org mode links

2013-07-13 Thread Suvayu Ali
Hi,

How do I add text properties to org elements?  In my particular case, I
want to echo tooltips when I move my cursor over an org link (or other
org elements for that matter).  To do this, I need to add the properties
point-left and point-entered to all org-links.  How do I do that?

Thanks for any ideas.

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] [ob][bug] C++-mode is unknown

2013-07-13 Thread Eric Schulte
Use the `org-src-lang-modes' variable to associate a src code block name
with a major mode.  This list already contains (cpp . c++) for C++
code blocks, but perhaps (C++ . c++) should be added as well.

Best,

Rasmus ras...@gmx.us writes:

 Hi,

 The Emacs C++ mode is called c++-mode.  In babel C++ is C++.  
 Hence, the following problematic case holds. 

 With the block, (lowercase c)

   #+begin_src c++ 
...
   #+end_src

 I can edit it in the c++-mode and get nice fontification, but I can't
 execute it.

 With (capital c)

   #+begin_src C++ 
...
   #+end_src

 I can execute the block in Org, but I can't edit it in c++-mode.

 I'm not very knowledgeable about Babel, so the best fix I could find
 was adding

   (defalias 'C++-mode 'c++-mode)

 to the top of ob-c.el (after requiring cc-mode).  Of course C++ could
 also be renamed c++, but the correct name does in fact seem to use
 capitals (cf. Wikipedia).

 Ob-template didn't mention how to associate a language with a given
 mode.

 Cheers,
 Rasmus

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



Re: [O] [ob][bug] C++-mode is unknown

2013-07-13 Thread Rasmus
Eric Schulte schulte.e...@gmail.com writes:

 Use the `org-src-lang-modes' variable to associate a src code block name
 with a major mode.  This list already contains (cpp . c++) for C++
 code blocks, but perhaps (C++ . c++) should be added as well.

Thanks for the pointers!

Do you find the attached patch acceptable?

–Rasmus

-- 
This space left intentionally blankFrom de9ffd3f5b3d36f149beafed7882ab78b86c5dd2 Mon Sep 17 00:00:00 2001
From: rasmus ras...@gmx.us
Date: Sat, 13 Jul 2013 16:30:04 +0200
Subject: [PATCH] Better C++ recognition

* ob-C.el: Added =C++= to =`org-babel-load-languages'=
automatically after loading =C=.
* org-src.el (org-src-lang-modes): Added association between
language =C++= and =`c++-mode'=.

=C++= is added to org-babel-load-languages to make
`org-babel-demarcate-block' recognize =C++= as a proper language.
---
 lisp/ob-C.el| 2 ++
 lisp/org-src.el | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/ob-C.el b/lisp/ob-C.el
index e9eec93..b0eaf6f 100644
--- a/lisp/ob-C.el
+++ b/lisp/ob-C.el
@@ -39,6 +39,8 @@
 
 (defvar org-babel-tangle-lang-exts)
 (add-to-list 'org-babel-tangle-lang-exts '(C++ . cpp))
+(let ((x (member '(C . t) org-babel-load-languages)))
+  (setcdr x  (cons '(C++ . t) (subseq x 1
 
 (defvar org-babel-default-header-args:C '())
 
diff --git a/lisp/org-src.el b/lisp/org-src.el
index 81b8e40..0f88174 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -179,7 +179,7 @@ but which mess up the display of a snippet in Org exported files.)
 (defcustom org-src-lang-modes
   '((ocaml . tuareg) (elisp . emacs-lisp) (ditaa . artist)
 (asymptote . asy) (dot . fundamental) (sqlite . sql)
-(calc . fundamental) (C . c) (cpp . c++)
+(calc . fundamental) (C . c) (cpp . c++) (C++ . c++)
 (screen . shell-script))
   Alist mapping languages to their major mode.
 The key is the language name, the value is the string that should
-- 
1.8.3.2



Re: [O] collect info from org files in agenda when open?

2013-07-13 Thread Eric Abrahamsen
Gregor Zattler telegr...@gmx.net writes:

 Hi Noorul, org-mod users and developers,
 * Noorul Islam K M noo...@noorul.com [13. Jul. 2013]:
 Gregor Zattler telegr...@gmx.net writes:
 I customized my org-agenda-files variable to contain 4 files.
 But I wished I could automatically add org files to the agenda
 simply by opening them.  Is it possible to automagically add
 some files to the agenda iff they are visited or add the contents
 of org-mode buffers?
 
 I am not sure whether you already went through contents of this link.
 
 http://orgmode.org/manual/Agenda-files.html

 Yes I read this part of the manual before posting my question.  

 As I understand the manual, I have the possibility to customize a
 static list of agenda files in org-agenda-files or to manually
 add and remove org files from the agenda or restrict the agenda
 manually.
 I do not see how to *automatically* add open org-files to the
 agenda?  Perhaps I could do this with some hooks?

 Actually I think a static list of files which contribute to the
 agenda is fine.  
 But I wished there was also the ability to define a list of files
 which do only contribute to the agenda if already open
 (preferably with some pattern matching, so one could customize
 org to add any open org file to the agenda).

 Ciao, Gregor

You could certainly do this with a function attached to
`find-file-hook'. In the function, check if (buffer-file-name) ends in
.org: if it does, then `org-agenda-file-to-front' and you're good to
go.




Re: [O] [ob][bug] C++-mode is unknown

2013-07-13 Thread Rasmus
Rasmus ras...@gmx.us writes:

 Eric Schulte schulte.e...@gmail.com writes:

 Use the `org-src-lang-modes' variable to associate a src code block name
 with a major mode.  This list already contains (cpp . c++) for C++
 code blocks, but perhaps (C++ . c++) should be added as well.

 Thanks for the pointers!

 Do you find the attached patch acceptable?

Scratch it, it's not working as it should.

–Rasmus

-- 
There are known knowns; there are things we know that we know.




Re: [O] [ob][bug] C++-mode is unknown

2013-07-13 Thread Eric Schulte
Rasmus ras...@gmx.us writes:

 Rasmus ras...@gmx.us writes:

 Eric Schulte schulte.e...@gmail.com writes:

 Use the `org-src-lang-modes' variable to associate a src code block name
 with a major mode.  This list already contains (cpp . c++) for C++
 code blocks, but perhaps (C++ . c++) should be added as well.

 Thanks for the pointers!

 Do you find the attached patch acceptable?

 Scratch it, it's not working as it should.


I actually applied this patch, undid the portion in ob-C.el because we
shouldn't be modifying org-babel-load-languages from ob-* files, and
added another change which include the org-src-lang-mode languages to
the options in org-babel-demarcate-block.

Let me know if this leaves anything out.

Thanks,

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



Re: [O] [ob][bug] C++-mode is unknown

2013-07-13 Thread Rasmus
Eric Schulte schulte.e...@gmail.com writes:

 Do you find the attached patch acceptable?

 Scratch it, it's not working as it should.

 I actually applied this patch, undid the portion in ob-C.el because we
 shouldn't be modifying org-babel-load-languages from ob-* files, 
   ^^

No this was what made my patch suck, but I only discovered when I
tried to export a document and got an error later.  I didn't and don't
understand the finer mechanics of ob well enough, I must admit.

 and added another change which include the org-src-lang-mode
 languages to the options in org-babel-demarcate-block.

Cool.  That was what I tried to archive.

 Let me know if this leaves anything out.

For now, no.

Some of the examples from the Eigen tutorial render horribly, but it's
mostly 'cause they have several matrices/vectors in one 'program' and
strings are added to the beginning, e.g. m * v=\n...  where '...' is
a matrix.  But I can't think of an easy remedy to this.

Thanks,
Rasmus

-- 
Together we'll stand, divided we'll fall




[O] [BUG] exporting to beamer: notes marked with tag don't work

2013-07-13 Thread Nick Dokos
If I try to export the following org file to beamer

--8---cut here---start-8---
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: default
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) 
%8BEAMER_opt(Opt)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC

* Who/what/how

  - who
  - what
  - how


** Note :B_note:
   :PROPERTIES:
   :BEAMER_env: note
   :END:
This is a note.
--8---cut here---end---8---

with the B_note tag or the B_noteNH tag but *without* the property, the
note ends up as a block in the slide which, according to the doc, is
wrong:

  (info (org) Beamer class export)

This sentence in particular:

,
| To simplify note generation, it is actually enough to mark the note with
| a _tag_ (either `:B_note:' or `:B_noteNH:') instead of creating the
| `BEAMER_env' property.
`

*With* the property, it correctly ends up as a \note{}.

Org-mode version 8.0.5 (release_8.0.5-336-g918551 @ 
/home/nick/elisp/org-mode/lisp/)
-- 
Nick






Re: [O] [BUG] exporting to beamer: notes marked with tag don't work

2013-07-13 Thread Nicolas Goaziou
Hello,

Nick Dokos ndo...@gmail.com writes:

 If I try to export the following org file to beamer

 #+LaTeX_CLASS: beamer
 #+LaTeX_CLASS_OPTIONS: [presentation]
 #+BEAMER_THEME: default
 #+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) 
 %8BEAMER_opt(Opt)
 #+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC

 * Who/what/how

   - who
   - what
   - how


 ** Note :B_note:
:PROPERTIES:
:BEAMER_env: note
:END:
 This is a note.

 with the B_note tag or the B_noteNH tag but *without* the property, the
 note ends up as a block in the slide which, according to the doc, is
 wrong:

   (info (org) Beamer class export)

 This sentence in particular:

 ,
 | To simplify note generation, it is actually enough to mark the note with
 | a _tag_ (either `:B_note:' or `:B_noteNH:') instead of creating the
 | `BEAMER_env' property.
 `

The documentation you're referring to seems out of date. Properties are
always needed.


Regards,

-- 
Nicolas Goaziou



Re: [O] [BUG] exporting to beamer: notes marked with tag don't work

2013-07-13 Thread Nick Dokos
Nicolas Goaziou n.goaz...@gmail.com writes:

 Nick Dokos ndo...@gmail.com writes:


 This sentence in particular:

 ,
 | To simplify note generation, it is actually enough to mark the note with
 | a _tag_ (either `:B_note:' or `:B_noteNH:') instead of creating the
 | `BEAMER_env' property.
 `

 The documentation you're referring to seems out of date. Properties are
 always needed.


Correct: I updated emacs yesterday and it installed the 7.9.3f version
*and* I neglected to build the info file for 8.0.6 - sigh... I can hear Achim
saying I told you so :-)

Sorry for the noise.
-- 
Nick




Re: [O] Export to LaTeX and Beamer

2013-07-13 Thread Suvayu Ali
Hello Julien,

On Thu, Jul 11, 2013 at 11:41:45PM +0200, Julien Cubizolles wrote:
 I need to export different parts of an org file with different LaTeX
 classes, one of which is a beamer style.
 
 I've come up with the following solution: manually switching the
 LATEX_CLASS for each export, and using SELECT_TAGS to choose which
 headings to export. For the following file

Sounds a bit clumsy; are you aware of subtree export[1]?  However I'm
not sure if you can export the same headline with different backends
with subtree export.

 does the trick but what if I don't want to export the title of the
 heading but just the text ? I can use the noheading BEAMER_ENV for
 beamer export but I couldn't find a corresponding option for plain
 LaTeX.

There is none, but you can use filters to achieve this.  Take a look
here:
https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L258
Do note, as the comment says, I have not tested it extensively.

Hope this helps,


Footnotes:

[1] (info (org) The Export Dispatcher)

-- 
Suvayu

Open source is the future. It sets us free.



[O] [bug?] Copy content from one to another table changes the content

2013-07-13 Thread Torsten Wagner
Hi,
I just notice a strange behaviour within tables. I want to copy a column of
one table into another... using $1=remote(prf94120_orig, @@#$6). The
original content consist of names in the form lastname,firstnames.
However, executing the above formular I receive lastname + firstnames i

I have totally no clue what is the reason for that a bug?!
Happens within Org-mode version 8.0.3

Thanks

Torsten


[O] execute sbe macro fails

2013-07-13 Thread Torsten Wagner
Hi,

I wrote a python code block which should translate scores into marks.
The python code seems to work. It takes two arguments. The reached score
(out of 100) as well as how many scores where needed to pass. Starting from
that, higher grades are calculated on a even base.

I want to call the python block for each row using the sbe macro
However, this results in an error and I can't see why

| Name | ID   | 1.1 | 1.2 | 1.3 | 1.4 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | Extra
| Sum | Mark |
|-++-+-+-+-+-+-+-+-+-+---+---+|
| Name1 | 11 |  10 |  10 |  10 |  12 |  12 |   3 |   4 |  12 |   3
| 2 |78 | #ERROR |
| Name2 | 2 | | | | | | | | |
|   | 0 | #ERROR |
| Name3 | 3 | | | | | | | | |
|   | 0 | #ERROR |
#+TBLFM: $14='(sbe score2mark (score $13) (passscore 50))

#+name: score2mark(score, passscore)
#+begin_src python
def score2mark(score, passscore):
marklist = [5, 4.3, 4, 3.7, 3.3, 3, 2.7 ,2.3, 2, 1.7, 1.3, 1]
step=(100-passscore)/(len(marklist)-1)
if  score  passscore:
   return marklist[0]
for mark in marklist[1:]:
   if round(passscore) = score = round(passscore+step):
   return mark
   else:
  passscore += step
return -1
#+end_src

Any idea what I am doing wrong? I tried different versions with
score2mark some additional brackets etc. However, no luck yet.

Thanks for help

Torsten


[O] copy entire column of one table into another

2013-07-13 Thread Torsten Wagner
Hi again,

I was wondering, is there a way to copy the entire column of one table into
another possibly adding rows to the target table to make it fit?

I know I can use $1=remote(original, @@#$6) to copy row 6 into row 1
(albeit I did not yet fully understand the @@# part)
However, I would to take care that the target table has the same amount of
rows as the host table.
I work with many tables at the moment and frighten I might overlook a row
soon or later.
Thus, I would prefer a way to say... copy column of table X into table Y.
If table Y has to less rows, add blanks rows until all rows of table X are
copied.

Any chance to get this working?

Thanks for help and ideas

Torsten


[O] export to markdown

2013-07-13 Thread Rill

Hi Everybody,
I'm new to orgmode and I've been reading the manual. In section 12.8 it 
describes exporting to markdown; however, the keystrokes described there 
don't seem to work. I'm using org 8.0.6.
And since I'm new here, I'll tell you that I'm using org on a Raspberry 
Pi with speech and it's great.

Rill




Re: [O] export to markdown

2013-07-13 Thread Suvayu Ali
On Sat, Jul 13, 2013 at 04:53:09PM -0500, Rill wrote:
 Hi Everybody,
 I'm new to orgmode and I've been reading the manual. In section 12.8 it
 describes exporting to markdown; however, the keystrokes described there
 don't seem to work. I'm using org 8.0.6.

Did you load ox-md before trying?  Either require it, or add it to
org-export-backends.

Cheers,

PS: Next time please start a new thread (using compose) instead of
reponding to some an existing thread.  I would have missed your post
had I not been reading the thread you responded to.

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] copy entire column of one table into another

2013-07-13 Thread Suvayu Ali
On Sat, Jul 13, 2013 at 11:03:37PM +0200, Torsten Wagner wrote:
 Hi again,
 
 I was wondering, is there a way to copy the entire column of one table into
 another possibly adding rows to the target table to make it fit?

See:

org-table-copy-region
org-table-paste-rectangle

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Org-mode and Taskjuggler

2013-07-13 Thread John Hendy
Just wanted to post and update that I finally put some more work into
the Taskjuggler (tj3) documentation on Worg. Still haven't migrated
over the export file, but added more about the available settings,
pointed to some helpful tj3 documentation, and mapping tj3 syntax to
Org property syntax.

I was planning to use a simple home renovation project (which I am
undergoing, hence my massive delays in contributing) as an example to
walkthrough basic steps and task attributes.

I can still create a tj3 compatible version of the official
Taskjuggler tutorial in Org-mode format (or probably just modify the
TJ v2.4.3 one that's used at the other Taskjuggler worg tutorial) as a
more full capability example.

Lastly, unless the default report definition is done, I'll include a
reports.tji file with the default Taskjuggler report definition from
their tutorial example as well.

Feedback is welcome based on how the above sounds.

- http://orgmode.org/worg/exporters/taskjuggler/ox-taskjuggler.html

I noticed that this isn't seeming to be indexed by google. I moved it
from the following location probably 2-3 months ago, but when I search
orgmode taskjuggler tj3, only the previous location comes up as a
search results:

- http://orgmode.org/worg/org-tutorials/org-taskjuggler3.html

Is the dir structure too deep to get indexed?


John



Re: [O] Org-mode and Taskjuggler

2013-07-13 Thread Nick Dokos
John Hendy jw.he...@gmail.com writes:

 Just wanted to post and update that I finally put some more work into
 the Taskjuggler (tj3) documentation on Worg. Still haven't migrated
 over the export file, but added more about the available settings,
 pointed to some helpful tj3 documentation, and mapping tj3 syntax to
 Org property syntax.

 I was planning to use a simple home renovation project (which I am
 undergoing, hence my massive delays in contributing) as an example to
 walkthrough basic steps and task attributes.

 I can still create a tj3 compatible version of the official
 Taskjuggler tutorial in Org-mode format (or probably just modify the
 TJ v2.4.3 one that's used at the other Taskjuggler worg tutorial) as a
 more full capability example.

 Lastly, unless the default report definition is done, I'll include a
 reports.tji file with the default Taskjuggler report definition from
 their tutorial example as well.

 Feedback is welcome based on how the above sounds.


Sounds good to me. The org example blocks were coming out funny (at
least on the chromium browser) so I added commas in front of the
headlines (I also made them org src blocks, but I'm not sure that's
the right thing to do). In any case, they look better to me, but can you
take a look and make sure that I didn't screw anything up? Also the footnote
seems to be obsolete, but I didn't change it.

 - http://orgmode.org/worg/exporters/taskjuggler/ox-taskjuggler.html

 I noticed that this isn't seeming to be indexed by google. I moved it
 from the following location probably 2-3 months ago, but when I search
 orgmode taskjuggler tj3, only the previous location comes up as a
 search results:

 - http://orgmode.org/worg/org-tutorials/org-taskjuggler3.html

 Is the dir structure too deep to get indexed?


 John



-- 
Nick




Re: [O] Adding text properties to all Org mode links

2013-07-13 Thread Nick Dokos
Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 Hi,

 How do I add text properties to org elements?  In my particular case, I
 want to echo tooltips when I move my cursor over an org link (or other
 org elements for that matter).  To do this, I need to add the properties
 point-left and point-entered to all org-links.  How do I do that?

 Thanks for any ideas.

Not sure if this is the best method:

o go to (point-min)
o loop
 (goto-char (cdr (org-element-link-successor (point-max
 (org-element-link-parser) and extract :begin and :end values from
 the returned list

Untested (mostly) - termination, error handling (and who knows what
else) left to the interested reader...
-- 
Nick




Re: [O] [bug?] Copy content from one to another table changes the content

2013-07-13 Thread Nick Dokos
Torsten Wagner torsten.wag...@gmail.com writes:

 I just notice a strange behaviour within tables. I want to copy a
 column of one table into another... using $1=remote(prf94120_orig,
 @@#$6). The original content consist of names in the form
 lastname,firstnames. However, executing the above formular I receive
 lastname + firstnames i

 I have totally no clue what is the reason for that a bug?!
 Happens within Org-mode version 8.0.3


I tried it (on a single table too - no remote) and I get the same
behavior. I can't pretend to understand how anything in org-table.el
works, but I think this is a clue: on line 2678,
org-table-make-reference is called. If I call it by hand like this

  (org-table-make-reference a, b nil nil nil) -- (a, b)

Then on line 2706, calc-eval is called. If I call it by hand on the
value above

  (calc-eval (a, b)) -- a + b i

I think it's trying to do arithmetic on complex numbers...
-- 
Nick