Re: [O] coloring source for scala

2012-09-02 Thread Alexandre Russel
thanks for your help, I've put it all in a post
http://arussel.blogspot.be/2012/09/showing-scala-code-with-orgmode-to-code.html

On Thu, Aug 30, 2012 at 10:50 AM, Thorsten Jolitz
tjol...@googlemail.com wrote:
 Alexandre Russel alexan...@russel.fr writes:

 Is there a way to have color for scala ?


 Don't know about the colors, but I think ENSIME is the enhanced Scala
 mode for Emacs:

 https://github.com/aemoncannon/ensime

 http://jawher.net/2011/01/17/scala-development-environment-emacs-sbt-ensime/


 --
 cheers,
 Thorsten





Re: [O] org for blogger

2012-09-01 Thread Alexandre Russel
I've seen some code that would help but never found the use. I have my
blog in one org file with one entry per level. To create the blog, I:
1. C-C C-e (for export)
2. 1 (to switch from export buffer to export subtree)
3. H (export as html to temp buffer)
4. copy/paste the div id=content.../div into blogger

What else do  you need ?

Alex

On Sat, Sep 1, 2012 at 7:37 AM, Puneeth Chaganti puncha...@gmail.com wrote:
 On Sat, Sep 1, 2012 at 8:09 AM, Rustom Mody rustompm...@gmail.com wrote:
 What is the best way to use orgmode to prepare posts for blogger?

 Sorry if this is a FAQ; I did google around and best I get is
 http://orgmode.org/worg/org-blog-wiki.html which does not seem to have
 something specifically for blogger.

 I haven't used it, but there's org2blog/atom by tehom --
 http://repo.or.cz/r/org2blog.git/




[O] showing orgmode source in orgmode

2012-08-30 Thread Alexandre Russel
Hi,
I couldn't find how to show orgmode source in orgmode, I've tried the
obvious(ly stupid):
#+begin_src orgmode
#+begin_src foobar
#+end_src
#+end_src

but when exporting it shows only
#+begin_src foobar

when I would have like:
#+begin_src foobar
#+end_src

any ideas ?

alex



Re: [O] showing orgmode source in orgmode

2012-08-30 Thread Alexandre Russel
On Fri, Aug 31, 2012 at 6:44 AM, Charles Philip Chan cpc...@bell.net wrote:
 Charles Philip Chan cpc...@bell.net writes:

 Hi Alexandre:

 #+begin_src only works with certain programming languages. Please
 refer to section 14 of the manual.

 Sorry, it seems that org-mode is supported, try:

 ,
 | #+begin_src org
 | #+end_src
 `

#+begin_example org
#+begin_src java
#+end_src
#+end_src
exports without color:
#+begin_src java
#+end_src

#+begin_src org
#+begin_src java
#+end_src
#+end_src
exports with color but only:
#+begin_src java

Alex


 Cheers,
 Charles

 --
 Dijkstra probably hates me
 (Linus Torvalds, in kernel/sched.c)



[O] coloring source for scala

2012-08-29 Thread Alexandre Russel
Hi,

I have some source code in scala, how can I get the color when
exporting to html ?
ie:
#+begin_src scala
case class foo()
#+end_src

Alex



Re: [O] coloring source for scala

2012-08-29 Thread Alexandre Russel
thanks for your quick answer


 (setq org-src-fontify-natively t)


it doesn't give exactly what I was looking for. This fontify the code
inside my org file.
Now, when I set the language to 'java', I have color, but when I set
it to scala, I don't have nice color.
Is there a way to have color for scala ?

Alex



[Orgmode] clocksum of scheduled task

2010-03-30 Thread Alexandre Russel
Hi all,

  I have scheduled task:

* TODO daily work review   :WORK:
  SCHEDULED: 2010-03-30 Tue +1d
  CLOCK: [2010-03-30 Tue 07:36]
  - State DONE   [2010-03-29 Mon 09:04]
CLOCK: [2010-03-29 Mon 08:27]--[2010-03-29 Mon 09:04] =  0:37
  :PROPERTIES:
  :CLOCK_MODELINE_TOTAL: today
  :LAST_REPEAT: [2010-03-29 Mon 21:31]
  :END:

When I C-c a a, I see the task every day but monday with for each day
a 37mn clocksum.
I would like:
- to see the task on monday, marked done, with a clocksum of 37 mn
- see the task every other day, marked todo, with a clocksum of 0mn
(or no clocksum)

Is it possible or do I have to go throught cloning task ?
Note that I tried with/without the CLOCK_MODELINE_TOTAL and it has no
influence on the clocksum.

I am using version 6.34c

alex


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: removing blocked tasks from custom agenda view

2010-03-29 Thread Alexandre Russel
  I created a custom agenda view with:
  (tags-todo CALLS\|PC)
 but it shows all the todo, even the blocked task. How can I make
 tags-todo respect the org-agenda-dim-blocked-tasks settings ?

I believe this is because the agenda view of tags-todo doesn't have
the 'todo-state property so org-blocker-hook are never called.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: removing blocked tasks from custom agenda view

2010-03-29 Thread Alexandre Russel
  I created a custom agenda view with:
  (tags-todo CALLS\|PC)
 but it shows all the todo, even the blocked task. How can I make
 tags-todo respect the org-agenda-dim-blocked-tasks settings ?

 I believe this is because the agenda view of tags-todo doesn't have
 the 'todo-state property so org-blocker-hook are never called.

 tags-todo views have this property.

thanks, you are right (I had to upgrade from 6.21b to 6.34c)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] removing blocked tasks from custom agenda view

2010-03-28 Thread Alexandre Russel
Hi all,

  when I C-c a t, I don't see the blocked task because I set:
(setq org-agenda-dim-blocked-tasks 'invisible)

 I created a custom agenda view with:
  (tags-todo CALLS\|PC)
but it shows all the todo, even the blocked task. How can I make
tags-todo respect the org-agenda-dim-blocked-tasks settings ?

alex


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode