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
 wrote:
> Alexandre Russel  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
>
>



[O] can't find org-version?

2012-09-02 Thread Benjamin Slade
Since updating to org 7.9, I've had an odd problem with another package that depends on org-mode (org-toodledo). It reports that it can't find org-version. I did have org installed via git, but I decided, given that I'm running emacs24, to change over to the elpa install to see if that made any difference. It didn't.


The following work-around patches the problem, but I was wondering how to "really" solve it:


(require 'org-version)
(setq org-version (org-release))




– 

Dr Benjamin Slade [ http://ling.uta.edu/~ben/ ]
  Dept. of Linguistics & TESOL - University of Texas at Arlington
132E Hammond Hall | Office Hours: tba

   {sent by mu4e on Emacs running under GNU/Linux}


[O] relisp - elisp<->ruby bridge

2012-09-02 Thread Marcelo de Moraes Serpa
Hey list,

I've found about relisp today (there were no github mirrors, so I created
one here: https://github.com/fullofcaffeine/relisp). This gem allows you to
call Ruby from Elisp and vice-versa.

I even built a small proof of concept project that I've been wanting to do
for some time. Since I (still) prefer Ruby over Lisp (also because I don't
know much elisp), I've built the (seemingly) hardest part in Ruby, and the
rest in elisp, here's the URL to it:

https://github.com/fullofcaffeine/org-catalog-ebooks

relips works really well. It can be a great way to extend emacs by using
Ruby and also by using Elisp/orgmode from Ruby apps!

Cheers,

- Marcelo.


[O] emacs24 datetree always entering events under today

2012-09-02 Thread Paul Whipp
The datetree functionality for org-mode capture is very appealing but
google has let me down trying to get it working.

I set it up using
http://members.optusnet.com.au/~charles57/GTD/datetree.html as follows:

template entry:
("e" "Event" entry (file+datetree "~/notes/events.org")
 "* %^{Title} %?
")

My versions are:
(emacs-version)
"GNU Emacs 24.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2012-07-28 on kutjera, modified by Debian"
(org-version)
"Org-mode version 7.8.11"

Starting with a blank events.org file, the current year month and today are
generated as the tutorial describes but all entries appear under it,
whatever year or month or day I actually set for them  using C-c, C-s to
schedule a date (or by just associating a date with them).

* 2012
** 2012-09 September
*** 2012-09-03 Monday
 test for tomorrow again
SCHEDULED: <2012-09-05 Wed>
 TODO try me as a task for tomorrow
SCHEDULED: <2012-09-04 Tue>
 test2
<2012-11-03 Sat 10:31>
 test1
<2012-09-03 Mon 10:30>
 just one date perhaps
SCHEDULED: <2012-09-04 Tue>

Can anyone help with what I'm doing wrong or is this a feature that is no
longer working?

Cheers,
Paul


Re: [O] org-agenda-sticky -> Recursive load

2012-09-02 Thread Thomas S. Dye
Bastien  writes:

> Hi Karl,
>
> Karl Voit  writes:
>
>> I checked out the latest git version and can reproduce this issue.
>>
>> I am unsure if this is my configuration being copy&paste of things I
>> do not completely understand or a bug :-(
>>
>> I can live without a sticky agenda but I am also happy to help
>> narrowing down the problem, if it is a bug.
>
> Mhh.. let's hunt this a bit further then.
>
> I assume you have a fresh git installation (no .elc first and no
> previous ghost installation behind the scene).

Aloha all,

Is there a command that can be used to determine if there is a "ghost
installation behind the scene?"

All the best,
Tom

>
> You start with emacs -Q 
>
> You load a minimal .emacs.el and open a .org file and fire up an
> agenda view.  Can you send me .emacs.el and the .org file (and your
> version of Emacs and Org)? 
>
> Thanks!

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



Re: [O] org-agenda-sticky -> Recursive load

2012-09-02 Thread Bastien
Karl Voit  writes:

> * Karl Voit  wrote:
>> Hi Bastien!
>>
>> This does not show up, when I disable «(setq org-agenda-sticky t)».
>> In that case, I get the desired behavior with the foo bar event
>> showing up on my agenda.
>>
>> I checked out the latest git version and can reproduce this issue.
>
> Is this similar to Ken Mankoffs issue with «Re: timestamped
> items not showing in today agenda view»?

No, unless the guilty agenda view uses  instead of  but 
you'd have noticed this :)

-- 
 Bastien



Re: [O] org-agenda-sticky -> Recursive load

2012-09-02 Thread Bastien
Hi Karl,

Karl Voit  writes:

> I checked out the latest git version and can reproduce this issue.
>
> I am unsure if this is my configuration being copy&paste of things I
> do not completely understand or a bug :-(
>
> I can live without a sticky agenda but I am also happy to help
> narrowing down the problem, if it is a bug.

Mhh.. let's hunt this a bit further then.

I assume you have a fresh git installation (no .elc first and no
previous ghost installation behind the scene).

You start with emacs -Q 

You load a minimal .emacs.el and open a .org file and fire up an
agenda view.  Can you send me .emacs.el and the .org file (and your
version of Emacs and Org)? 

Thanks!

-- 
 Bastien



Re: [O] repeater not working?

2012-09-02 Thread Bastien
Hi Alan,

Alan Schmitt  writes:

> Changing the project status to DONE leaves the "choose a status" window
> open.

Yes, when there is no previous TODO keyword associated to the entry,
you're requested to set a TODO keyword.

> I guess I'm too much into an OmniFocus way of organizing thing, and need
> to dig deeper in orgmode to find the canonical way of doing this. For
> repeating projects, do you use checklists like Memnon Anon?

In my todo list, repeating items are usually 5-mins tasks (like paying
the rent) so no, I don't use checkboxes in these tasks.

Best,

-- 
 Bastien



Re: [O] Org-mode release 7.9

2012-09-02 Thread Bastien
Hi Jambunathan,

Jambunathan K  writes:

> What this mean is that there is no need for Tromey's repo or marmalade
> repo.  Orgmode itself is a repo and can be used in `package-archives'.

Indeed -- that's something we may consider.

> Since release tars are already made available on Orgmode.org servers, I
> think bandwidth costs are not much of a concern for those sponsoring
> Orgmode.org's hosting.

I need to check with Jason first.  I'll ping him about this and
let you know.  Thanks for suggesting this!

-- 
 Bastien



[O] FR: ASCII remove extra lines

2012-09-02 Thread Samuel Wales
Here is a paragraph.

# this is a paragraph, which i decided to comment out, but
# is separate from the previous and next paragraphs.

Currently, ASCII export will create extra blank lines.  This
is undesirable.

Perhaps we can optionally normalize the blank lines?

Thanks.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com



Re: [O] Org-mode release 7.9

2012-09-02 Thread Jambunathan K

> 1.  There is no need to do download and M-x package-install-file RET if
> the publishing server has a `archive-contents' file.
>
> Org's daily tars are already pushed to Orgmode.org and then later
> pulled by GNU's ELPA servers.
>
> So only thing needed is a public URL on Orgmode.org for package tars
> and an archive-contents.

What this mean is that there is no need for Tromey's repo or marmalade
repo.  Orgmode itself is a repo and can be used in `package-archives'.

Since release tars are already made available on Orgmode.org servers, I
think bandwidth costs are not much of a concern for those sponsoring
Orgmode.org's hosting.
-- 



Re: [O] Org-mode release 7.9

2012-09-02 Thread Jambunathan K

1.  There is no need to do download and M-x package-install-file RET if
the publishing server has a `archive-contents' file.

Org's daily tars are already pushed to Orgmode.org and then later
pulled by GNU's ELPA servers.

So only thing needed is a public URL on Orgmode.org for package tars
and an archive-contents.

2.  IMO, packages destined for Emacs are much more valuable than those
that lie in githubs and bitbuckets.

Why is there a hesitation to bundle org-export.el and org-e-*.el
(written by me and Ngz) in to it's own ELPA package or ship it along
with daily tars.

3. There is a `package-upload-file' from package-x.el that can upload
   make-produced-tar and *also* update `archive-contents' with the new
   version.

All of 1, 2 and 3 is available my ELPA makefile changes in
org-jambu.git.

It's clear what needs to be done.  Despite that, IMSNHO, there is
hesitation and too much discussion.


-- 



[O] [PATCH] Fix for relative symlinks in subdirectories

2012-09-02 Thread T.F. Torrey
Hello all,

When publishing a project that contains relative symlinks in
subdirectories, org-publish-cache-ctime-of-src mistakenly connects the
true file name with the base-dir of the project instead of the symlink,
causing an error when the linked file is in a subdirectory and not the
base-dir.

The attached patch modifiies org-publish-cache-ctime-of-src to use the
dir of the current file as the base-dir instead of simply the project
base-dir.

With this change, though, the base-dir argument to this function now
never does anything. This doesn't seem to cause problems for me, but I
am far from intimate with the workings of the org-publish cache system.
Perhaps someone with better knowledge of the system could provide a
better fix. Otherwise, the base-dir argument could be refactored out.

ChangeLog entry: Fix for relative symlinks in subdirectories

Modify org-publish-cache-ctime-of-src to use the dir of the current file
as the base-dir instead of simply the project base-dir.

TINYCHANGE

Emacs : GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of
 2012-08-29 on nannyberry, modified by Debian Package: Org-mode version
 7.9 (release_7.9-190-g845daf.dirty-git @ mixed installation!
 /usr/local/share/emacs/site-lisp/ and
 /home/tftorrey/.emacs.d/src/org-mode/lisp/)

Best regards,
Terry
--
T.F. Torrey

diff --git a/lisp/org-publish.el b/lisp/org-publish.el
index e78e2d4..cd77c82 100644
--- a/lisp/org-publish.el
+++ b/lisp/org-publish.el
@@ -1191,7 +1191,7 @@ Returns value on success, else nil."
 (defun org-publish-cache-ctime-of-src (f base-dir)
   "Get the FILENAME ctime as an integer."
   (let ((attr (file-attributes
-  (expand-file-name (or (file-symlink-p f) f) base-dir
+  (expand-file-name (or (file-symlink-p f) f) (file-name-directory 
f)
 (+ (lsh (car (nth 5 attr)) 16)
(cadr (nth 5 attr)
 


[O] question/suggestions about org-refile

2012-09-02 Thread Arun Persaud
Hello

I'm using org-capture together with org-refile to organize my
todo-items. I also have my notes distributed over several org-files, so
I have set org-refile-use-outline-path to file. There are two things
that I wished org-refile could do, but don't know how to achieve:

a) Include local headers for level1 (instead of only file names)

Using org-refile-use-outline-path=file the path for org refile always
has to start with the file name. It would be great, if in case I don't
give a file name, the current file name would be assumed and  would
show org-file names and current top headings for the first level. This
would be helpful, since I mostly refile to the same file, but sometimes
move things to other files.

b) creating sublevels on the fly

It would be nice, if I could create new a sublevel during the refiling
process. That is, if I have something like

* A
** B

I could refile to A/B/new/ and org-mode would ask me if I want to create
a new subheading with a y/n question. At the moment I get a "no match"
error.

Is this already possible with the current org-mode or can it easily be
added?

thanks

ARUN



Re: [O] agenda bulk actions

2012-09-02 Thread Eric Abrahamsen
On Sun, Sep 02 2012, Bastien wrote:

> Hi Eric,
>
> Eric Abrahamsen  writes:
>
>> It seems to me there's some odd overlap here: we've got 'k' bound to
>> `org-agenda-action', which is used for marking items and shifting their
>> dates to the date under point, or for capturing using the date under
>> point as a default. Then there's 'm' and 'B', which are used for marking
>> items and… doing everything/anything else.
>>
>> Having two different ways of marking agenda items and operating on them
>> seems odd to me. 
>
> Yes, a merge was needed here.
>
>> In my (very subjective) opinion, it would be much nicer
>> to have a single set of functions for this. What I'm envisioning is:
>>
>> 1. Use only m/B for all marking and bulk actions. When we hit 's' or 'd'
>>for reschedule or re-deadline, use the date under point (if there is
>>one) as a default. This covers the 'k' functionality for scheduling
>>and deadlines.
>
> It is implemented now.
>
>> 2. Have the regular capture interface check org-context to see if point
>>is on an agenda date. If it is, use that as the default date for any
>>date fields. This covers the 'k' functionality for capture.
>
> `k' now calls `org-agenda-capture' in agendas, which does this.
>
>> 2(a). If the above is too intrusive, provide a single org agenda key
>>   ('k' would now be free) that calls org-capture using date under
>>   point as a default.
>
> You have `org-capture-use-agenda-date' which, when set to `t', will
> let M-x org-capture RET behave exactly like `k'.

Thanks a lot! I think these are very nice improvements.

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




[O] Small contrib: lookup (was "Preserving the geometry of a table range")

2012-09-02 Thread Jarmo Hurri

Michael Brand  writes:
> Does this help?

Yes indeed! It gave me both a better idea of what the call should look
like and the way to implement it.  The only problem with this approach -
using a separate search and return list - when compared with the lookup
functions of traditional spreadsheets, is that you need to specify the
range twice. But then again in this form the range can be even from
different tables (although that is not very likely to happen).

How do you guys find the definitions and the examples at the end of this
message? I decided to write a macro and use it to define two functions
rather than having one function with an optional argument. Made me learn
how to use elisp macros, and also makes it very explicit for the user
whether he/she is searching for the first or the last match.

The last example demonstrates that you can do lookups in general range
geometries of type (n x m).

Could we have a form of remote which takes just one argument and then
refers to the whole table? (See the last example.)

Can we also have multidimensional tables? :-)

* macro for defining two lookup functions org-lookup-first and org-lookup-last
#+BEGIN_SRC emacs-lisp
(defmacro org-lookup-function (name-str from-end-p)
  `(defun ,(intern (format "org-lookup-%s" name-str)) (val search-list 
return-list &optional predicate)
 (let ((p (if (eq predicate nil) 'equal predicate)))
  (nth (position val search-list :test p :from-end ,from-end-p) 
return-list
(org-lookup-function "first" nil)
(org-lookup-function "last" t)
#+END_SRC

#+RESULTS:
: org-lookup-last

* example 1: exact matches with default predicate equal
  data
  #+TBLNAME: growth-rates
  | year | percentage |
  |--+|
  | 2009 |   12.2 |
  | 2010 |   14.3 |
  | 2011 |   14.3 |
  | 2012 |   19.4 |

  lookups
  | percentage | year |
  |+--|
  |   14.3 | 2010 |
  |   14.3 | 2011 |
  #+TBLFM: @3$1=@2$1::@2$2='(org-lookup-first @2$1 
'(remote(growth-rates,@2$2..@>$2)) 
'(remote(growth-rates,@2$1..@>$1)));N::@3$2='(org-lookup-last @3$1 
'(remote(growth-rates,@2$2..@>$2)) '(remote(growth-rates,@2$1..@>$1)));N 

* example 2: grades with optional predicate
  data
  #+TBLNAME: grade-boundaries
  | lower bound | grade |
  |-+---|
  |   0 | 4 |
  |   2 |  4.25 |
  |   4 |   4.5 |
  |   6 |  4.75 |

  lookups
  | student | marks | grade |
  |-+---+---|
  | A   | 3 |  4.25 |
  | B   | 4 |   4.5 |
  #+TBLFM: $3='(org-lookup-last $2 '(remote(grade-boundaries,@2$1..@>$1)) 
'(remote(grade-boundaries,@2$2..@>$2)) '>=);N

* example 3: searching a true two-dimensional range
  data table 1
  #+TBLNAME: scores
  | 3 | 13 |
  | 4 | 11 |

  data table 2
  #+TBLNAME: groups
  | X | Y |
  | Z | W |

  lookup
  | score | group |
  |---+---|
  |13 | Y |
  | 4 | Z |
  #+TBLFM: $2='(org-lookup-first $1 '(remote(scores,@<$<..@>$>)) 
'(remote(groups,@<$<..@>$>)));L




Re: [O] repeater not working?

2012-09-02 Thread Alan Schmitt
I found the problem, and it was me: my original entry does not have a
"TODO" in the title. (My reasoning for not putting the TODO was that
it's a project, so as such it should not appear in my agenda, only the
tasks should appear.) So when I close it (change the state to DONE), the
"choose a state window" remains open, which I hadn't noticed before.
When I choose a state in this window, then the project becomes scheduled
again.

To reproduce:

* Project
  SCHEDULED: <2012-09-02 Sun +1m>
** TODO task1
** TODO task2

Changing the project status to DONE leaves the "choose a status" window
open.

I guess I'm too much into an OmniFocus way of organizing thing, and need
to dig deeper in orgmode to find the canonical way of doing this. For
repeating projects, do you use checklists like Memnon Anon?

Best,

Alan



Re: [O] org-agenda-sticky -> Recursive load

2012-09-02 Thread Karl Voit
* Karl Voit  wrote:
> Hi Bastien!
>
> This does not show up, when I disable «(setq org-agenda-sticky t)».
> In that case, I get the desired behavior with the foo bar event
> showing up on my agenda.
>
> I checked out the latest git version and can reproduce this issue.

Is this similar to Ken Mankoffs issue with «Re: timestamped
items not showing in today agenda view»?

-- 
Karl Voit




[O] org-agenda-sticky -> Recursive load (was: Agenda hides timestamp)

2012-09-02 Thread Karl Voit
Hi Bastien!

* Bastien  wrote:
>
> Karl Voit  writes:
>
>> I'd like to see this entry on my agenda according to its timestamp
>> at least when I also add [A]rch-files and probably [L]og-all.
>>
>> For now, it never shows up.
>
> I cannot reproduce the problem with emacs -Q and your settings,
> it shows up with a simple M-x org-agenda RET a
>
> Can you try with emacs -Q and confirm we need to further investigate
> your file/config?

emacs -Q does not even know Org at my side :-)

Nevertheless, the problem is somewhere completely different. When I
started with --debug-init I recognized an error «Recursive load:
...» of several elc files.

This does not show up, when I disable «(setq org-agenda-sticky t)».
In that case, I get the desired behavior with the foo bar event
showing up on my agenda.

I checked out the latest git version and can reproduce this issue.

I am unsure if this is my configuration being copy&paste of things I
do not completely understand or a bug :-(

I can live without a sticky agenda but I am also happy to help
narrowing down the problem, if it is a bug.

-- 
Karl Voit




Re: [O] agenda bulk actions

2012-09-02 Thread Bastien
Hi Eric,

Eric Abrahamsen  writes:

> It seems to me there's some odd overlap here: we've got 'k' bound to
> `org-agenda-action', which is used for marking items and shifting their
> dates to the date under point, or for capturing using the date under
> point as a default. Then there's 'm' and 'B', which are used for marking
> items and… doing everything/anything else.
>
> Having two different ways of marking agenda items and operating on them
> seems odd to me. 

Yes, a merge was needed here.

> In my (very subjective) opinion, it would be much nicer
> to have a single set of functions for this. What I'm envisioning is:
>
> 1. Use only m/B for all marking and bulk actions. When we hit 's' or 'd'
>for reschedule or re-deadline, use the date under point (if there is
>one) as a default. This covers the 'k' functionality for scheduling
>and deadlines.

It is implemented now.

> 2. Have the regular capture interface check org-context to see if point
>is on an agenda date. If it is, use that as the default date for any
>date fields. This covers the 'k' functionality for capture.

`k' now calls `org-agenda-capture' in agendas, which does this.

> 2(a). If the above is too intrusive, provide a single org agenda key
>   ('k' would now be free) that calls org-capture using date under
>   point as a default.

You have `org-capture-use-agenda-date' which, when set to `t', will
let M-x org-capture RET behave exactly like `k'.

> Would this not be an improvement? Am I missing anything?

Definitly not.  Thanks for the suggestions!

-- 
 Bastien



Re: [O] Agenda hides timestamp

2012-09-02 Thread Bastien
Hi Karl,

Karl Voit  writes:

> I'd like to see this entry on my agenda according to its timestamp
> at least when I also add [A]rch-files and probably [L]og-all.
>
> For now, it never shows up.

I cannot reproduce the problem with emacs -Q and your settings,
it shows up with a simple M-x org-agenda RET a

Can you try with emacs -Q and confirm we need to further investigate
your file/config?

Thanks,

-- 
 Bastien



Re: [O] Org-mode release 7.9

2012-09-02 Thread Bastien
Hi,

Achim Gratz  writes:

> I was talking about the hypothetical possibility to offer another
> archive that is compatible with package manager and either packages Org
> including contrib or just contrib (so that it could be installed
> alongside the "normal" Org ELPA archive).
>
> Of these two options the first (canned Org + contrib/ in a single
> archive) is considerably easier to implement since all autoload
> dependencies are kept inside the same install.

Let's take the easy road then.

I'd suggest org+ as the name of the package.

Hosting it on something like orgmode.org/pkg/daily/elpa_ would 
do I guess, then the ELPA servers would have to download it.

How does that sound?

-- 
 Bastien



Re: [O] repeater not working?

2012-09-02 Thread Bastien
Hi Alan,

Alan Schmitt  writes:

> By the way, what is the canonical way to install contribs? The
> doc.norang.ca site says to simply add a "load_path" to the source
> directory of org-mode, but maybe there is another way.

Yes, adding the contrib/lisp/ to your load-path is *the* way.

>> Did you set org-todo-repeat-to-state? (Should not be necessary...)
>
> No, it's nil.

Maybe you set up one of these?

`org-after-todo-state-change-hook'
`org-after-todo-statistics-hook'

Best,

-- 
 Bastien



Re: [O] [PATCH] Works around bug in exporting subtree with HTML_CONTAINER_CLASS

2012-09-02 Thread Bastien
Hi Terry,

I applied this patch, thanks for the explanations and the ChangeLog.

Best,

-- 
 Bastien



Re: [O] Proposal: adjust CLOCK directly in agenda

2012-09-02 Thread Bastien
Hi Rainer,

Rainer Stengele  writes:

> I cannot find a property which shows the start and ending time of an
> entry, so changing the total time is useless for me as I do not see
> where the task started or ended.
> I still consider the ability to edit values in the normal agenda view as
> an advantage.

The change I implemented allows you to adjust the last clock of an entry
from the agenda column view.

Just go to such a view, S- in a CLOCKSUM field and this will add
minutes to your clock.

I didn't implement adjusting clocks in cascade yet, as this needs to
be clearly presented to the user, but I had a look and will suggest
something.

Thanks,

-- 
 Bastien



Re: [O] Tags macro?

2012-09-02 Thread Bastien
Hi Marcelo,

Marcelo de Moraes Serpa  writes:

> I find myself tagging items that often go with multiple tags at the
> same time. I'm wondering if a tags "macro" would make sense, where a
> key shortcut would apply multiple tags at once. What do you guys
> think?

I think repeated multiple tags for a lots of entries call for a notion
of grouping tags.  I have plans for this, I'll let you know when this is
implemented.  

Best,

-- 
 Bastien



Re: [O] ODT preferred format option per-file?

2012-09-02 Thread Bastien
Hi Jambunathan,

Jambunathan K  writes:

> I was wrong about the new exporter - org-e-odt.el.
>
> I didn't realize I need to change variable name.  One should use the new
> `org-e-odt-preferred-output-format' instead.

Thanks for the fix you pushed wrt this!

Best,

-- 
 Bastien



Re: [O] [bug] org-babel-load-file

2012-09-02 Thread Bastien
Michael Brand  writes:

> This patch superseeds the last that introduced a new bug.

Applied, thanks!

-- 
 Bastien



[O] Agenda hides timestamp

2012-09-02 Thread Karl Voit
Hi!

I do have an entry like following in misc.org_archive:

,
| ** DONE <2012-09-01 Sat 14:00-15:00> foo bar
| CLOSED: [2012-09-01 Sat 15:10]
| :LOGBOOK:
| - State "DONE"   from "NEXT"   [2012-09-01 Sat 15:10]
| :END:
| :PROPERTIES:
| :CREATED:  [2012-08-29 Wed 19:44]
| :ARCHIVE_TIME: 2012-09-01 Sat 15:10
| :ARCHIVE_FILE: ~/share/all/org-mode/misc.org
| :ARCHIVE_OLPATH: Anzuschauen
| :ARCHIVE_CATEGORY: misc
| :ARCHIVE_TODO: DONE
| :ARCHIVE_ITAGS: 2watch
| :END:
`

I'd like to see this entry on my agenda according to its timestamp
at least when I also add [A]rch-files and probably [L]og-all.

For now, it never shows up.

As far as I know (and I am no Org expert!), I am using only
following settings which might have an effect on this:

,
| (setq org-agenda-todo-ignore-with-date nil)
| (setq org-agenda-todo-ignore-deadlines (quote far))
| (setq org-agenda-todo-ignore-scheduled (quote future))
| ;(setq org-archive-mark-done t)
| (setq org-agenda-skip-deadline-if-done t)
| (setq org-agenda-skip-scheduled-if-done t)
| ;(setq org-agenda-skip-timestamp-if-done t)
| (setq org-log-done (quote time))
| (setq org-agenda-skip-timestamp-if-deadline-is-shown t)
`

My complete Org-mode setup is available (for 72h) on:
http://paste.grml.org/hidden/0e0b6b45/

Yes, org-agenda-files contains «misc.org».

What might be the cause for not displaying the entry above?

Thanks!

-- 
Karl Voit




Re: [O] ODT preferred format option per-file?

2012-09-02 Thread Nicolas Goaziou
Hello,

Jambunathan K  writes:

> James Harkins  writes:
>
>> I have one particular org file that I would like to export to PDF by
>> way of ODT. (I already set up outline styling in LibreOffice and I
>> would like to use that, instead of trying to reconfigure a similar
>> look in LaTeX. For fun, I did try the LaTeX pdf export and the output
>> format is not what I need for this case.)
>>
>> But I may want to export other org files to ODT *without* converting them to 
>> PDF.
>>
>> http://orgmode.org/manual/Extending-ODT-export.html
>>
>> This says I can customize the org-export-odt-preferred-output-format
>> variable. This works beautifully, but it's a global setting that will
>> apply to every ODT export.
>>
>> So my question is -- is there any export option for the preferred
>> format, per file? Something like:
>>
>> #+ODT_PREFERRED_FORMAT: pdf
>>
>> I couldn't find any documentation in the ODT export section of the
>> manual for an option like this.
>>
>> Alternately, I suppose I could write a lisp function that would set
>> the variable and call the export, but that would definitely be a hack.
>
> Old exporter
> 
>
> If you are using org-odt.el, then you can use file local variables.  I
> have pushed a fix which makes string values of this variable safe.
>
> M-x add-file-local-variable RET org-export-odt-preferred-output-format
> RET "pdf" RET
>
> Or 
>
> Add the following to your Org file.  Remember to re-visit the file to
> activate the newly installed value.
>
> # Local Variables:
> # org-export-odt-preferred-output-format: "pdf"
> # End:
>
>
> New exporter
> 
>
> The above local variable trick will fail in case of org-e-odt.el.  When
> I get some time I will introduce a per-buffer keyword for this variable.

Note that Org provides a BIND mechanism for such cases.

So, adding:

  #+BIND: org-e-export-opt-preferred-output-format "pdf"

somewhere in the buffer should be enough.


Regards,

-- 
Nicolas Goaziou



Re: [O] ODT preferred format option per-file?

2012-09-02 Thread James Harkins
    # Local Variables:
    # org-export-odt-preferred-output-format: "pdf"
    # End:

This is a great help, thanks. Will pull and try it tonight.

I suppose I must be using the old exporter, since the variable without -e- 
enabled PDF conversion. That's working fine for me, but I should probably look 
into the new exporter (assuming the old one will be removed sometime). Good to 
know how to do it in both cases.

Thanks again!
hjh

Re: [O] Any way to change the *

2012-09-02 Thread Carsten Dominik

On 2.9.2012, at 10:07, Nicolas Goaziou wrote:

> Hello,
> 
> Marcelo de Moraes Serpa  writes:
> 
>> Oh, indeed -- the face is simply the font settings, the overlay has more
>> display flexibility (i.e images), right?
> 
> Yes. For example, that's how LaTeX fragment preview (C-c C-x C-l) is
> done.

Maybe org-icons.el will work?  Have not used it lately, so I do not know what 
the status is.

https://github.com/ngirard/org-icons


- Carsten


Re: [O] Any way to change the *

2012-09-02 Thread Nicolas Goaziou
Hello,

Marcelo de Moraes Serpa  writes:

> Oh, indeed -- the face is simply the font settings, the overlay has more
> display flexibility (i.e images), right?

Yes. For example, that's how LaTeX fragment preview (C-c C-x C-l) is
done.


Regards,

-- 
Nicolas Goaziou