Re: [O] org-caldav: New version with proper two-way sync

2013-01-17 Thread Detlef Steuer

 Having said this, my org diary file has had the encoding changed 
 out from under me so that all my UTF-8 characters have been 
 mangled.  I've not quite figured out how this happened or when it 
 happened between yesterday and today.  I cannot reproduce the 
 problem at the moment.  This may be coincidental and have nothing 
 to do with org-caldav.  However, it may be something to do with 
 using org-caldav in emacs -batch mode and whether files get loaded 
 in the same way.  Still playing with this.

FWIW: here UTF-8 is respected and stays UTF-8, in -batch, too.

Detlef




Re: [O] org-caldav: New version with proper two-way sync

2013-01-17 Thread Detlef Steuer
 Detlef Steuer writes:
  So it seems all events get deleted immediately after loading them up.
  Indeed my calendars show up empty again in owncloud :-)
 
  Any hints?
 
 Could you post the contents of the *org-caldav-debug* buffer when this
 happens?

As soon as it happens again. 
I can't reproduce the emptying of calendars at the moment. 
Whatever that was I saw yesterday.

Sorry for the noise.

Detlef


 
 -David
 
 





Re: [O] org-caldav: New version with proper two-way sync

2013-01-17 Thread Eric S Fraga

Detlef Steuer detlef.ste...@gmx.de writes:


FWIW: here UTF-8 is respected and stays UTF-8, in -batch, too. 

Detlef 


Thanks for the data point.  What Emacs version are you using?  I 
seem to have run into a coding problem elsewhere (in gnus within 
Emacs) so maybe I'm hitting a recently introduced bug in 
Emacs.  One of the risks of tracking Emacs development...


--
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 + Ma Gnus v0.6
: BBDB version 3.02 ($Date: 2013/01/13 22:41:36 $)




Re: [O] commenting out a SCHEDULED line does not remove todo from agenda.

2013-01-17 Thread Nick Dokos
Carsten Dominik carsten.domi...@gmail.com wrote:

 
 On 17.1.2013, at 06:02, Nick Dokos nicholas.do...@hp.com wrote:
 
  ...
  It sets p to the point at the beginning of the line and then
  checks if the character after it is '#'. Only then does it skip
  the entry.
 
 And this is done for speed.  Maybe Moore's law has progressed enough to relax 
 this assumption?
 

For me, probably yes: my agenda is fairly simple. More complicated
agendas still seem to take a fairly substantial time to construct
however - Bastien spent considerable effort recently to speed up the
agenda and might look askance at any attempt to slow it down :-)

But actual numbers would carry more weight than any guesses I might
make.  Here is a (probably stupid) implementation of the generalized
mechanism.  In org-agenda-skip, replace

 (if (equal (char-after p) ?#) (throw :skip t))

with

 (save-excursion
  (goto-char p)
  (skip-chars-forward [:blank:])
  (if (equal (char-after) ?#) (throw :skip t)))

Assuming it's correct (and no better implementation is suggested), maybe
somebody with a time-consuming agenda can try profiling with and without
the generalized mechanism and let us know.

I tried with my agenda which calls org-agenda-skip 5768 times. Without
the mod, they took 0.13s; with the mod, they took 0.19s, so that's a 50%
increase - but the overall time was actually shorter in the second case:
1.64s vs 1.72s.  The data look noisy however (I only tried it once in
each case) so it's hard to say anything meaningful. I'd need to run many
more experiments before I'd trust these numbers.

Nick







Re: [O] org-indent-mode sans-serif font support

2013-01-17 Thread Loris Bennett
onguarde ongua...@gmail.com writes:

 org-indent-mode doesn't work well except on monospaced font. 
 Is there a way around this?

I don't think any form of indentation in Emacs with a non-monospaced
font is going to work properly.

 I want to use Arial font. (sans-serif font)
 But with org-indent-mode, the body and entry indents are misaligned, 
 This is very apparent at higher indent levels.

There are several nice sans-serif monospaced fonts, such as Lucida Sans
Typwriter, DejaVu Sans Mono, or Liberation Mono.  In my .emacs I have
the following

,---
| (set-face-attribute 'default nil :font Liberation Mono-12 :weight 'bold)
`---

Cheers,

Loris

-- 
no sig is good sig







Re: [O] org-caldav: New version with proper two-way sync

2013-01-17 Thread Detlef Steuer
On Thu, 17 Jan 2013 19:05:15 +1030
Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Detlef Steuer detlef.ste...@gmx.de writes:
  
  FWIW: here UTF-8 is respected and stays UTF-8, in -batch, too. 
  
  Detlef 
 
 Thanks for the data point.  What Emacs version are you using?  


emacs 23.2 under linux
Detlef 

 I 
 seem to have run into a coding problem elsewhere (in gnus within 
 Emacs) so maybe I'm hitting a recently introduced bug in 
 Emacs.  One of the risks of tracking Emacs development...
 
 -- 
 : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
 : in Emacs 24.3.50.1 + Ma Gnus v0.6
 : BBDB version 3.02 ($Date: 2013/01/13 22:41:36 $)
 
 
 





Re: [O] commenting out a SCHEDULED line does not remove todo from agenda.

2013-01-17 Thread Rainer Stengele
Am 17.01.2013 09:54, schrieb Nick Dokos:
 Carsten Dominik carsten.domi...@gmail.com wrote:
 

 On 17.1.2013, at 06:02, Nick Dokos nicholas.do...@hp.com wrote:

 ...
 It sets p to the point at the beginning of the line and then
 checks if the character after it is '#'. Only then does it skip
 the entry.

 And this is done for speed.  Maybe Moore's law has progressed enough to 
 relax this assumption?

 
 For me, probably yes: my agenda is fairly simple. More complicated
 agendas still seem to take a fairly substantial time to construct
 however - Bastien spent considerable effort recently to speed up the
 agenda and might look askance at any attempt to slow it down :-)
 
 But actual numbers would carry more weight than any guesses I might
 make.  Here is a (probably stupid) implementation of the generalized
 mechanism.  In org-agenda-skip, replace
 
  (if (equal (char-after p) ?#) (throw :skip t))
 
 with
 
  (save-excursion
   (goto-char p)
   (skip-chars-forward [:blank:])
   (if (equal (char-after) ?#) (throw :skip t)))
 
 Assuming it's correct (and no better implementation is suggested), maybe
 somebody with a time-consuming agenda can try profiling with and without
 the generalized mechanism and let us know.
 
 I tried with my agenda which calls org-agenda-skip 5768 times. Without
 the mod, they took 0.13s; with the mod, they took 0.19s, so that's a 50%
 increase - but the overall time was actually shorter in the second case:
 1.64s vs 1.72s.  The data look noisy however (I only tried it once in
 each case) so it's hard to say anything meaningful. I'd need to run many
 more experiments before I'd trust these numbers.
 
 Nick


Hi,

setting '# at bol works.
As my agenda was and is slow and only became faster after Bastiens
optimisations lately I do not want to motivate changes which makes the
agenda creation slower again. I am happy with setting a '#' at bol.

Thanks for investigating.

If I find time I will test your org-agenda-skip modifikation and measure
performance.

Rainer



Re: [O] commenting out a SCHEDULED line does not remove todo from agenda.

2013-01-17 Thread Carsten Dominik

On 17.1.2013, at 09:54, Nick Dokos nicholas.do...@hp.com wrote:

 Carsten Dominik carsten.domi...@gmail.com wrote:
 
 
 On 17.1.2013, at 06:02, Nick Dokos nicholas.do...@hp.com wrote:
 
 ...
 It sets p to the point at the beginning of the line and then
 checks if the character after it is '#'. Only then does it skip
 the entry.
 
 And this is done for speed.  Maybe Moore's law has progressed enough to 
 relax this assumption?
 
 
 For me, probably yes: my agenda is fairly simple. More complicated
 agendas still seem to take a fairly substantial time to construct
 however - Bastien spent considerable effort recently to speed up the
 agenda and might look askance at any attempt to slow it down :-)
 
 But actual numbers would carry more weight than any guesses I might
 make.  Here is a (probably stupid) implementation of the generalized
 mechanism.  In org-agenda-skip, replace
 
 (if (equal (char-after p) ?#) (throw :skip t))
 
 with
 
 (save-excursion
  (goto-char p)
  (skip-chars-forward [:blank:])
  (if (equal (char-after) ?#) (throw :skip t)))
 
 Assuming it's correct (and no better implementation is suggested), maybe
 somebody with a time-consuming agenda can try profiling with and without
 the generalized mechanism and let us know.
 
 I tried with my agenda which calls org-agenda-skip 5768 times. Without
 the mod, they took 0.13s; with the mod, they took 0.19s, so that's a 50%
 increase - but the overall time was actually shorter in the second case:
 1.64s vs 1.72s.  

Did you have a number of commented SCHEDULED items in there, so that time was 
saved on those items?  Otherwise it would be hard to see why things should 
actually go faster.

- Carsten

 The data look noisy however (I only tried it once in
 each case) so it's hard to say anything meaningful. I'd need to run many
 more experiments before I'd trust these numbers.
 
 Nick
 
 
 
 




Re: [O] Bug (?) in new exporter (export subtree)

2013-01-17 Thread Rick Frankel
On Wed, Jan 16, 2013 at 07:36:10PM +0100, Nicolas Goaziou wrote:
 Rick Frankel r...@rickster.com writes:
 
  In the new exporter, when the option to export only the subtree is
  specified, the first heading in the subtree is used as the title of
  the document. This seems wrong, as it becomes the title, the first
  element in the table of contents and the first (not necessarily
  the top level) section in the document.
 
 It doesn't, AFAIU. Could you explain how you do export (in particular,
 where is the point when you call the export subtree process) and what do
 you expect on a simple example ?
 
 For me:
 
 #+begin_src org
 #+TITLE: title
 #+OPTIONS: toc:t
 * Level 1
   Body 1 X
 ** Level 2
Body 2
 *** Level 3
 Body 3
 #+end_src
 
 with point at X will have Level 1 as its title, but Level 1 will
 appear neither in the table of contents nor as the first section of the
 produced document.

So, it seems that as long as there is a body (or blank) line after the
parent heading and you position the cursor on that line, it works
(point at X):

#+begin_src org
* Title
  X
** heading 1
   text
** heading 2
   ...
#+end_src

But if there is no blank line after the title, there is no way to
get the expected results with the point either on the title line or
the first asterix on heading 1:

#+begin_src org
* Title
** heading 1
   text
** heading 2
   ...
#+end_src


rick



[O] no pdf-output in lilypond code blocks

2013-01-17 Thread Florian Beck
Hi,

execute the following code block:

#+begin_src lilypond :exports results :file 
93bff287-036e-4129-8f17-fd6374f4ccdc.pdf
\header { tagline = ##f }
\score{
\relative c' {
\key d \minor
d2 a'2 f2 d2 }}
#+END_src

This will create a results block:

#+RESULTS:
[[file:93bff287-036e-4129-8f17-fd6374f4ccdc.pdf]]

but actually create the file 93bff287-036e-4129-8f17-fd6374f4ccdc.eps
(note the extension). [I need pdf, because I cannot get xelatex handle
eps files.]

It seems `ly-process-basic' hardcodes a --png option. If I change it
to --pdf everything works fine (though it won't produce pngs any more,
I guess). Of course, it should really be set as appropriate for the extension.


-- 
Florian Beck



[O] how to narrow buffer to two consecutive nodes

2013-01-17 Thread Christopher W. Ryan
Ooops, make that C-x n s
-- 
Christopher W. Ryan, MD, MS
SUNY Upstate Medical University Clinical Campus at Binghamton
425 Robinson Street, Binghamton, NY  13904
cryanatbinghamtondotedu

Once we recognize that we do not err out of laziness, stupidity, or
evil intent, we can liberate ourselves from the impossible burden of
trying to be permanently right. We can take seriously the proposition
that we could be in error, without deeming ourselves idiotic or
unworthy. [Karen Schulz, in Being Wrong: Adventures in the Margin of Error]




[O] org-caldav feedback

2013-01-17 Thread Torsten Wagner
Hi,
we just tried org-caldav and it seems to work very nice.
We use Sogo http://www.sogo.nu/ and hence David might like to ad Sogo on
the list of possible caldav servers.
We will test further and report problems and success ;)
Thumbs up. For me org-caldav is a new success story of org-mode, please try
to get it into the org-mode standard package :)
Any plans to sync tasks too?

Greetings

Torsten

CC. Since Sogo does not allow a print view. Does someone know how to create
a printable weekly calendar which contains org-agenda entries?
I barley remember there was a possibility to create a PDF but can't find it
anymore


Re: [O] commenting out a SCHEDULED line does not remove todo from agenda.

2013-01-17 Thread Nick Dokos
Carsten Dominik carsten.domi...@gmail.com wrote:

 
 On 17.1.2013, at 09:54, Nick Dokos nicholas.do...@hp.com wrote:
 
  ... 
  I tried with my agenda which calls org-agenda-skip 5768 times. Without
  the mod, they took 0.13s; with the mod, they took 0.19s, so that's a 50%
  increase - but the overall time was actually shorter in the second case:
  1.64s vs 1.72s.  
 

 Did you have a number of commented SCHEDULED items in there, so that
 time was saved on those items?  Otherwise it would be hard to see why
 things should actually go faster.

No, I just ran it on my standard items which do not include any
commmented SCHEDULED items. It may have been just scheduling delays
because of all the *other* things running on my laptop, or there may
have been caching effects - or I may have screwed up. As I said, I would
have to do many more (and more careful) experiments before I'd trust
these numbers.

Nick




Re: [O] Org and Habits

2013-01-17 Thread Christopher Allan Webber
The right way to be using org-habits is not to have tasks that are being
marked as done... they are meant to be repeating tasks.  See:

  [[info:org#Repeated tasks]]

in the orgmode manual to set these up.

J. David Boyd writes:

 I think these are working, but how do I tell for certain.

 If I am in the file with the habit, and I changed it from TODO to DONE,
 it stays DONE, and I get an entry in PROPERTIES about 'last repeat',
 yeah, seems to be fine.

 But if I mark it DONE in the agenda, it stays DONE, I think.  I was
 interrupted halfway through, and am not certain what I did.

 Should it work the same from the agenda that it does from the file?   I
 mean, I don't expect to see it say DONE, I expect it to disappear.

 What should I see?




[O] Issue with org-link and %

2013-01-17 Thread Russell Carden

Hello,
Is there a known issue with org-links if they having the encoded special 
character %25 in a link.  Is this something that may have been fixed 
elsewhere.  Any links that have %25, never make it to my link handler.


Thank you,

Russell




[O] Orgmode is loading very slowly

2013-01-17 Thread Igor Sosa Mayor
Hi,

in the last time (maybe 3-4 weeks) I am noticing that orgmode starts
very slowly. Yes, I know, this is highly subjective. 

Is there a way in emacs to `trace' what emacs is doing/loading?

I'm using: orgmode 7.9.3d on emacs 24.2.1 (archlinux)

many thanks in advance!

Igor

PS: i'm speaking of ~10 files, most of them under 80Kb. Only one with
850kb and three with ~150Kb.

-- 
:: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
:: jabberid: rogorido  ::::


pgpIoWYE57spM.pgp
Description: PGP signature


[O] Prefix arguments, checklists, and lists

2013-01-17 Thread Robert Horn
The keystroke bindings for lists need some examination and repair.  In 7.9.3 
the situation is:

| Keystrokes  | First Item| Any other item  
  |
|-+---+---|
| C-c C-c | Toggle completion this item   | Toggle this item
  |
| C-u C-c C-c | Toggle checkbox on/off whole list | Toggle checkbox 
this item |
| C-u C-u C-c C-c | Set in-progess whole list | Set in-progress 
this item |
| M-- C-c C-c | Toggle completion whole list  | Toggle this item
  |
| M-- C-u C-c C-c | Toggle completion whole list  | Toggle this item
  |
| M-- C-u C-u C-c C-c | Toggle completion whole list  | Toggle this item
  |


Is this what is really intended?  The present behavior has the odd result that 
there is no sequence to toggle presence of checkbox for the first item, and 
there is no sequence to set in-progress for the first item.  The first item 
must be manually edited.  (Or maybe there's another sequence that I haven't 
found.)

I think this is a bug.  But the intended behavior is unclear, and the proper 
fix is unclear. 

I personally find that I want to apply a change to individual items far more 
often than I want to change the whole list.  So I would pick the prefixes C-u 
and C-u C-u for the single item behavior in all cases, and add a different 
prefix to mean apply to whole list.  Perhaps a numeric prefix of -1?  
That's not unreasonably hard to type.  Then toggling checkbox presence for the 
whole list would be M-- C-u C-c C-c, and toggling the whole list for 
in-progress would be M-- C-u C-u C-c C-c.  The user mental model becomes M-- 
means apply to whole list, which means tracking down any other relevant 
commands and fixing them too. The current implementation is close to this.


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



Re: [O] org-indent-mode sans-serif font support

2013-01-17 Thread Samuel Wales
Hi onguarde,

On 1/16/13, onguarde ongua...@gmail.com wrote:
 org-indent-mode doesn't work well except on monospaced font.
 Is there a way around this?

Just so you know, and because you are talking about fonts, Gmail with
large fonts displays your email in a completely unreadable way where
the lines overlap.

It is only legible at all when replying.

Samuel

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

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is no hope without action.



[O] Follow link scrolls current buffer when table aligns

2013-01-17 Thread Michael Brand
(continued from bug-gnu-em...@gnu.org:
“find-file-noselect scrolls current buffer”
http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-01/msg00619.html )

Hi all

On Thu, Jan 17, 2013 at 12:10 AM, Stefan Monnier
monn...@iro.umontreal.ca wrote:
 I.e. use
   M-: (add-hook 'text-mode-hook (lambda () (goto-char (point-max

I changed my code for the org-mode-hook accordingly to resolve the
first issue related with using end-of-buffer.

This change uncovers a second scroll issue, this time caused by
set-window-start used in org-table-align. The scroll happens in an Org
buffer under some circumstances when a link to an other Org mode
buffer with a table alignment is followed. The first time when the
target file is opened by find-file-noselect, org-table-align is called
and its set-window-start is the reason for the scroll in the original
buffer.

Minimal test to reproduce:
1) put the attached n.org and t.org into one directory
2) emacs -q
3) C-x 3
4) open n.org
5) M-, C-p, C-c C-o
The last step changes the scroll state of n.org but the return value
of window-start is expected be the same before and after.

How can org-table-align be changed that set-window-start affects only
the visited target buffer but not the original buffer which called
find-file-noselect to follow its link?

Michael


n.org
Description: Binary data


t.org
Description: Binary data


Re: [O] Orgmode is loading very slowly

2013-01-17 Thread Igor Sosa Mayor
I answer myself.

It is a problem with org-bullets, which makes the loading of a file a
little bit slower. That's all.

Am Thu, Jan 17, 2013 at 11:37:29AM +0100, Igor Sosa Mayor wrote:
 Hi,
 
 in the last time (maybe 3-4 weeks) I am noticing that orgmode starts
 very slowly. Yes, I know, this is highly subjective. 
 
 Is there a way in emacs to `trace' what emacs is doing/loading?
 
 I'm using: orgmode 7.9.3d on emacs 24.2.1 (archlinux)
 
 many thanks in advance!
 
 Igor
 
 PS: i'm speaking of ~10 files, most of them under 80Kb. Only one with
 850kb and three with ~150Kb.
 
 -- 
 :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
 :: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
 :: jabberid: rogorido  ::::



-- 
:: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
:: jabberid: rogorido  ::::


pgpBPUR4qib7X.pgp
Description: PGP signature


Re: [O] org-caldav feedback

2013-01-17 Thread David Engster
Torsten Wagner writes:
 we just tried org-caldav and it seems to work very nice.
 We use Sogo http://www.sogo.nu/ and hence David might like to ad Sogo on the
 list of possible caldav servers.

Thanks, that's good news. I'm actually pretty surprised that it works
right out of the box.

  Any plans to sync tasks too?

Could you elaborate? What exactly to you mean by 'task'? Everything with
an active timestamp should get synced.

-David



[O] Wish: iCalendar export with free/busy only

2013-01-17 Thread Karl Voit
Hi!

I'd love to have my agenda exported (for now I am using the snippet
below[1]) to an ics file which only contains (anonymized) events
optionally still containing (a set of allowed) tags.

So an event like:

** Meeting with ClientX 2013-01-17 Thu 17:00-18:30 :ProjectY:@town:
:PROPERTIES:
:CREATED:  [2013-01-08 Tue 14:39]
:END:

Some notes about the event I want to keep private.

... should be exported like:

** (busy) @town 2013-01-17 Thu 17:00-18:30

... if @town is in the list of «allowed» tags. If no tag is
«allowed», the event should be exported like:

** (busy) 2013-01-17 Thu 17:00-18:30

... probably with a configurable string for «(busy)».


Currently, I can not give away the URL of my ics file because there
is too much private stuff in it. But a free/busy-only list without
all of my details, I am happy to spread out to my friends in order
to let them see, when I am available.

I do think that this has great advantages with a small or medium
effort to implement.



[1] (defun vk-export-agenda()
  Exports bi-monthly Org-mode agenda to agenda.ics file
  (interactive)
  (org-agenda-list nil nil 60)
  (org-agenda-write ~/org-mode/agenda.ics)

-- 
Karl Voit

Hallo, mein Name ist Web 2.0: Gib mir dein Adressbuch und lass mich Emails lesen




Re: [O] org-caldav feedback

2013-01-17 Thread Torsten Wagner
Hi David,

hehehe well we just started testing it a bit. Don't frighten there are
problems... ;)
So far, we could see appointments in the SOGo calendar which magically
appeared after calling sync.

Just to get started with problems:

I noticed that there seems to be a problem with syncing events back to org.
E.g., if I move a entry from within org-caldav, after sync I get a message
about sync caldav-org, they still appear at the same position in the
org-mode fie but the entry has no date at all. The old entry can be found
in org-caldav-backup.org

Furthermore, I notice, that entries have a 1 hour shift (an appointment at
9:00 in org appears as 10:00 in SOGo). I set already the timezone but the
problem remain. Since 1 hour is exactly the time difference between UTC and
the local timezone (Europe/Berlin), as well as summer/winter time settings,
I would assume the problem is related to this. I know that this kind of
stuff can be a mess.

I would like to say that I really love the debug and sync messages. For
those kind of procedures, I always frighten that something goes wrong
unnoticed and I was really happy to see a the user readable status messages.

I also noticed the files org-caldav-2094e16.el and org-caldav-backup.org.
However, they are stored in my .emacs.d folder. Would it make sens to have
an option to save them relatively to the org-file? E.g. relative to the
path set in org-caldav-files? That would help to keep infos together and
might be even a security concern (e.g., you might forget to move or delete
backup infos in .emacs.d)!?

Thanks, that's good news. I'm actually pretty surprised that it works
 right out of the box.

   Any plans to sync tasks too?


SOGo calendars allow to set events and tasks (not sure whether tasks are
part of the caldav specs). From what I can say they differ only in the fact
that a task has a certain deadline and can be marked done. Thus, this would
be equivalent to a TODO DEADLINE entry in org-mode

Thanks again for this great work and please tell us how to help you to get
SOGo 100% compatible, we would like to help as much as we can.

Greetings

Torsten


Re: [O] Orgmode is loading very slowly

2013-01-17 Thread Sebastien Vauban
Hi Igor,

 in the last time (maybe 3-4 weeks) I am noticing that orgmode starts
 very slowly. Yes, I know, this is highly subjective. 
 
 Is there a way in emacs to `trace' what emacs is doing/loading?
 
 I'm using: orgmode 7.9.3d on emacs 24.2.1 (archlinux)
 
 PS: i'm speaking of ~10 files, most of them under 80Kb. Only one with
 850kb and three with ~150Kb.

I've written the following code, which I'm using to get insight about opening
times (in and out of Org):

--8---cut here---start-8---
  (defadvice find-file (around find-file-around activate)
Open FILENAME and report time spent.
(let ((filename (ad-get-arg 0))
  (find-file-time-start (float-time)))
  (message (info) Finding file %s... filename)
  ad-do-it
  (message (info) Found file %s in %.2f s. filename
   (- (float-time) find-file-time-start
--8---cut here---end---8---

Pretty useful (to me)...

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] commenting out a SCHEDULED line does not remove todo from agenda.

2013-01-17 Thread Carsten Dominik

On 17.1.2013, at 16:47, Nick Dokos nicholas.do...@hp.com wrote:

 Carsten Dominik carsten.domi...@gmail.com wrote:
 
 
 On 17.1.2013, at 09:54, Nick Dokos nicholas.do...@hp.com wrote:
 
 ... 
 I tried with my agenda which calls org-agenda-skip 5768 times. Without
 the mod, they took 0.13s; with the mod, they took 0.19s, so that's a 50%
 increase - but the overall time was actually shorter in the second case:
 1.64s vs 1.72s.  
 
 
 Did you have a number of commented SCHEDULED items in there, so that
 time was saved on those items?  Otherwise it would be hard to see why
 things should actually go faster.
 
 No, I just ran it on my standard items which do not include any
 commmented SCHEDULED items. It may have been just scheduling delays
 because of all the *other* things running on my laptop, or there may
 have been caching effects - or I may have screwed up. As I said, I would
 have to do many more (and more careful) experiments before I'd trust
 these numbers.

OK, NIck, thanks for your reply.

- Carsten

 
 Nick
 




Re: [O] Multiple notions for what's a day

2013-01-17 Thread Sebastien Vauban
Hello Bastien,

Bastien wrote:
 Bastien b...@altern.org writes:

 Indeed, there is a problem here.

 Please try the attached patch against master

 I've now applied the patch in master.

 Let me know if you see anything weird.

I'm just slowly coming back to life ;-), and reading this ML again.

I'll test the above soon, and report any trouble. Thanks!

Best regards,
  Seb

-- 
Sebastien Vauban




[O] Export a weekly calendar view from org-agenda

2013-01-17 Thread Torsten Wagner
Hi,

I was wondering if it is possible to export an agenda in form of a weekly
calendar.
For the good old offline times, I would like to carry a printed version
of e.g., the last week, current week and the next week with me (e.g.
printed all on a double sided printed A5 page).
That would allow me to jot down changes and have a quick look on my
schedules at all time. Those changes, I would transfer back as soon as I
sit again in front of a PC.
I notice that I tend to forget to enter appointments just out of my head
esp. if things get busy.
The second benefit would be that I can file those weekly paper copies, in a
classic manner and hence keep a paper based backup version (which due to
the overlap even has a CVS like versioning mechanism ;)) just in case.
I started to use org-caldav and hence, I know about the possibility to
perform an export to caldav and using a calendar program with caldav
support to print such a calendar.
However, the groupware I am using does not allow pretty printing of the
web-based client and I hesitate to install another client (most are big
beasts like thunderbird+lightning, evolution, etc.) just for printing.
In addition I would like to keep the workflow more org-mode centric and not
caldav centric. Hence, a direct export from org-mode would be more welcome.

I somehow remember that there was a way to create a PDF file but I can't
find it anymore and I remember that the entries overlapped each other and
it wasn't that pretty.
Does someone here has a method or work-chain to export a org-agenda into
such a calendar view?
I'm happy with an external (console script, TeX, etc.) solution too.

Alternatively, I am happy to hear how others try to get paper and org
versions together.


Thanks

Torsten


[O] org-store-link: Thanks!

2013-01-17 Thread François Pinard
Hi, Org people.

I just noticed that org-store-link has been improved, and now uses
#+TITLE contents by default when executed before the first header.
Thanks for this improvement which, even if tiny, is helpful to me!

The fun thing is that I found it by mistake.  Because org-store-link did
not save a description in this case, I was always carefully retyping the tile at
org-insert-link time.



[O] org-store-link: Thanks!

2013-01-17 Thread François Pinard
[Oops, might have C-c C-c'ed in the wrong buffer! :-)]

Hi, Org people.

I just noticed that org-store-link has been improved, and now uses
#+TITLE contents by default when executed before the first header.

The fun thing is that I found it by mistake.  Because org-store-link did
not save a description in this case, I was always carefully retyping the
tile at org-insert-link time.  Then, I just forgot to do so, and it
miraculously did what I expected.  Nice!

Thanks for this improvement which, even if tiny, is helpful to me!

François



Re: [O] org-mode failing on org-mobile-push with error

2013-01-17 Thread J. David Boyd
Jeffrey Spencer jeffspenc...@gmail.com writes:

 This is the error I receive when running org-mobile-push. I think I
 only see the error when I open an agenda buffer and run the command.
 Then it creates two agenda buffers. The normal and the one labeled
 *SUMO* and I get the error below. What is the reason for this and
 there is a way to run org-mobile-push and alleviate this error?

 Saving all Org-mode buffers... done
 Copying files...
 OVERVIEW
 Writing index file...
 Writing checksums...
 Rebuilding agenda buffer...done
 org-mobile-push: Wrong type argument: window-live-p, #window 30

 Cheers,
 Jeff

What versions of org and emacs are you using?   I'm using org mode
7.9.3c, and emacs 24.2, and don't get that error you are reporting.

Dave




Re: [O] Orgmode is loading very slowly

2013-01-17 Thread Igor Sosa Mayor
Am Thu, Jan 17, 2013 at 10:35:29PM +0100, Sebastien Vauban wrote:
 
 I've written the following code, which I'm using to get insight about opening
 times (in and out of Org):
 

thanks!

I will give it a try!

-- 
:: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
:: jabberid: rogorido  ::::


pgpJjTZPpKN9Q.pgp
Description: PGP signature


Re: [O] org-mode failing on org-mobile-push with error

2013-01-17 Thread Sean Escriva
I'm also using emacs 24.2, with org-mode 7.9.3d and do not get this
error. Can you give more details?

On Thu, Jan 17, 2013 at 2:01 PM, J. David Boyd da...@adboyd.com wrote:
 Jeffrey Spencer jeffspenc...@gmail.com writes:

 This is the error I receive when running org-mobile-push. I think I
 only see the error when I open an agenda buffer and run the command.
 Then it creates two agenda buffers. The normal and the one labeled
 *SUMO* and I get the error below. What is the reason for this and
 there is a way to run org-mobile-push and alleviate this error?

 Saving all Org-mode buffers... done
 Copying files...
 OVERVIEW
 Writing index file...
 Writing checksums...
 Rebuilding agenda buffer...done
 org-mobile-push: Wrong type argument: window-live-p, #window 30

 Cheers,
 Jeff

 What versions of org and emacs are you using?   I'm using org mode
 7.9.3c, and emacs 24.2, and don't get that error you are reporting.

 Dave





Re: [O] Export a weekly calendar view from org-agenda

2013-01-17 Thread Kyle Machulis
Sure, you can just set a custom agenda view, like so:

  (w agenda Week with events and no daily/chores
   ((org-agenda-ndays-to-span 7)
(org-agenda-ndays 7)
(org-agenda-filter-preset '(-daily

Then export that. I have a system similar to what you're mentioning,
except I use email at the moment. I have a cron job that emails me a
ascii daily/weekly agenda depending on what day of the week it is
(daily every day, weekly + daily on sunday). Since my mobile devices
usually cache off my email, that does the job of getting it offline
for me. Same idea could be used for paper though.

I should clean the code up for the export system I use, though since I
rely on el-get and a few packages, it's a rather me-specific
configuration. Will post if I get that done.

I'm actually planning on building a Freerange printer
(http://gofreerange.com/printer) that I'd like to be able to export
org stuff too. Assuming that project actually gets done, I'll post
about it here also. Wouldn't be surprised if someone set up a BERG
Littleprinter feed too. :)

On Thu, Jan 17, 2013 at 1:50 PM, Torsten Wagner
torsten.wag...@gmail.com wrote:
 Hi,

 I was wondering if it is possible to export an agenda in form of a weekly
 calendar.
 For the good old offline times, I would like to carry a printed version of
 e.g., the last week, current week and the next week with me (e.g. printed
 all on a double sided printed A5 page).
 That would allow me to jot down changes and have a quick look on my
 schedules at all time. Those changes, I would transfer back as soon as I sit
 again in front of a PC.
 I notice that I tend to forget to enter appointments just out of my head
 esp. if things get busy.
 The second benefit would be that I can file those weekly paper copies, in a
 classic manner and hence keep a paper based backup version (which due to the
 overlap even has a CVS like versioning mechanism ;)) just in case.
 I started to use org-caldav and hence, I know about the possibility to
 perform an export to caldav and using a calendar program with caldav support
 to print such a calendar.
 However, the groupware I am using does not allow pretty printing of the
 web-based client and I hesitate to install another client (most are big
 beasts like thunderbird+lightning, evolution, etc.) just for printing.
 In addition I would like to keep the workflow more org-mode centric and not
 caldav centric. Hence, a direct export from org-mode would be more welcome.

 I somehow remember that there was a way to create a PDF file but I can't
 find it anymore and I remember that the entries overlapped each other and it
 wasn't that pretty.
 Does someone here has a method or work-chain to export a org-agenda into
 such a calendar view?
 I'm happy with an external (console script, TeX, etc.) solution too.

 Alternatively, I am happy to hear how others try to get paper and org
 versions together.


 Thanks

 Torsten





[O] Agenda search C-c a s

2013-01-17 Thread Alan L Tyree
Since a recent ELPA update I get strange behavior when searching agenda 
files.


If the word searched for is NOT in the agenda files, everything works OK.

If the word IS in the agenda files, I get a blank Org Agenda buffer and 
a message: Wrong type argument: listp, t.


Is anyone else having this problem? If not where do I begin to fix it.

Thanks for help,
Alan



--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:172...@iptel.org




Re: [O] Export a weekly calendar view from org-agenda

2013-01-17 Thread Torsten Wagner
Hey Kyle,
thanks for the info I will look into it.
Maybe I should say more specific, I am looking for a typical calendar view
(sort of table) as you know them from paper-based organizers.
If I understood your solution, I would get a plain list of all events.

Thanks again

Torsten



On 18 January 2013 00:55, Kyle Machulis k...@nonpolynomial.com wrote:

 Sure, you can just set a custom agenda view, like so:

   (w agenda Week with events and no daily/chores
((org-agenda-ndays-to-span 7)
 (org-agenda-ndays 7)
 (org-agenda-filter-preset '(-daily

 Then export that. I have a system similar to what you're mentioning,
 except I use email at the moment. I have a cron job that emails me a
 ascii daily/weekly agenda depending on what day of the week it is
 (daily every day, weekly + daily on sunday). Since my mobile devices
 usually cache off my email, that does the job of getting it offline
 for me. Same idea could be used for paper though.

 I should clean the code up for the export system I use, though since I
 rely on el-get and a few packages, it's a rather me-specific
 configuration. Will post if I get that done.

 I'm actually planning on building a Freerange printer
 (http://gofreerange.com/printer) that I'd like to be able to export
 org stuff too. Assuming that project actually gets done, I'll post
 about it here also. Wouldn't be surprised if someone set up a BERG
 Littleprinter feed too. :)

 On Thu, Jan 17, 2013 at 1:50 PM, Torsten Wagner
 torsten.wag...@gmail.com wrote:
  Hi,
 
  I was wondering if it is possible to export an agenda in form of a weekly
  calendar.
  For the good old offline times, I would like to carry a printed
 version of
  e.g., the last week, current week and the next week with me (e.g. printed
  all on a double sided printed A5 page).
  That would allow me to jot down changes and have a quick look on my
  schedules at all time. Those changes, I would transfer back as soon as I
 sit
  again in front of a PC.
  I notice that I tend to forget to enter appointments just out of my head
  esp. if things get busy.
  The second benefit would be that I can file those weekly paper copies,
 in a
  classic manner and hence keep a paper based backup version (which due to
 the
  overlap even has a CVS like versioning mechanism ;)) just in case.
  I started to use org-caldav and hence, I know about the possibility to
  perform an export to caldav and using a calendar program with caldav
 support
  to print such a calendar.
  However, the groupware I am using does not allow pretty printing of the
  web-based client and I hesitate to install another client (most are big
  beasts like thunderbird+lightning, evolution, etc.) just for printing.
  In addition I would like to keep the workflow more org-mode centric and
 not
  caldav centric. Hence, a direct export from org-mode would be more
 welcome.
 
  I somehow remember that there was a way to create a PDF file but I can't
  find it anymore and I remember that the entries overlapped each other
 and it
  wasn't that pretty.
  Does someone here has a method or work-chain to export a org-agenda into
  such a calendar view?
  I'm happy with an external (console script, TeX, etc.) solution too.
 
  Alternatively, I am happy to hear how others try to get paper and org
  versions together.
 
 
  Thanks
 
  Torsten
 
 



Re: [O] Export a weekly calendar view from org-agenda

2013-01-17 Thread Rasmus

 Maybe I should say more specific, I am looking for a typical calendar view
 (sort of table) as you know them from paper-based organizers.
 If I understood your solution, I would get a plain list of all events.


Here's some options requiring little effort, but also somewhat
unsatisfactory:

1. export to ical and use some script to convert to pdf. This may of
   may not work for complex agenda
2. org2hpda in contrib and diary
3. import into Emacs calendar and use its export facilities.
   This may of may not work for complex agendas.

# run this makefile with 
#
#  make -f org2hpda
#
# The makfile will take the entries from your diary file and generate
# two PDFs containing nicely printed weekly and monthly calendars. One
# is done in the style of a pocketMod (http://www.pocketmod.com/) and
# the other is done in the style of the Hipster PDA
# (http://en.wikipedia.org/wiki/Hipster_PDA). 


-- 
And let me remind you also that moderation in the pursuit of justice
is no virtue




[O] New LaTeX exporter, problem with quotes

2013-01-17 Thread Thomas S. Dye
Aloha all,

I just noticed quotes aren't exporting correctly with the new LaTeX
exporter.  The old one seems to work fine.  

Does anyone else see this?  Or is this a SIMS (something in
my setup) bug?

For me, this Org mode buffer:

** Quotes
This should have good LaTeX quotes.

Generates this LaTeX output:

% Created 2013-01-17 Thu 15:46
\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
\author{Thomas Dye}
\date{\today}
\title{}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Generated by Org mode 7.9.3b in Emacs 24.2.1.}}
\begin{document}

\tableofcontents
\vspace*{1cm}

\section{Quotes}
\label{sec-1}
This should have good \LaTeX{} quotes.
% Generated by Org mode 7.9.3b in Emacs 24.2.1.
\end{document}

All the best,
Tom

-- 
T.S. Dye  Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



Re: [O] org-indent-mode sans-serif font support

2013-01-17 Thread onguarde
Oh ok, I'll make it a point to convert it to plain text before sending here.
=p

On 18 January 2013 01:14, Samuel Wales samolog...@gmail.com wrote:

 Hi onguarde,

 On 1/16/13, onguarde ongua...@gmail.com wrote:
  org-indent-mode doesn't work well except on monospaced font.
  Is there a way around this?

 Just so you know, and because you are talking about fonts, Gmail with
 large fonts displays your email in a completely unreadable way where
 the lines overlap.

 It is only legible at all when replying.

 Samuel

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

 The disease DOES progress.  MANY people have died from it.  ANYBODY
 can get it.  There is no hope without action.



Re: [O] org-caldav feedback

2013-01-17 Thread Eric S Fraga

Torsten Wagner torsten.wag...@gmail.com writes:
Thumbs up. For me org-caldav is a new success story of org-mode, 
please try to get it into the org-mode standard package :) 


+1

It would be great to see org-caldav added to contrib/ at the very 
least (avoiding having to track two different git 
repositories...).


Any plans to sync tasks too? 


This could be useful but would require that the org side match 
VTODO objects closely?  Org is very flexible in the way it defines 
and handles todo elements, allowing a user to completely change 
how these entries are defined and handled.  More importantly, 
within a given org file, you can have different todo types 
(sequences of states).


CC. Since Sogo does not allow a print view. Does someone know 
how to create a printable weekly calendar which contains 
org-agenda entries?  I barley remember there was a possibility 
to create a PDF but can't find it anymore 


Maybe have a look at

,[ C-h f org-agenda-write RET ] | org-agenda-write is an 
interactive compiled Lisp function in | `org-agenda.el'.  |  | 
(org-agenda-write FILE optional OPEN NOSETTINGS AGENDA-BUFNAME) | 
| Write the current buffer (an agenda view) as a file.  | 
Depending on the extension of the file name, plain text (.txt), | 
HTML (.html or .htm) or Postscript (.ps) is produced.  | If the 
extension is .ics, run icalendar export over all files used | to 
construct the agenda and limit the export to entries listed in the 
| agenda now.  | With prefix argument OPEN, open the new file 
immediately.  | If NOSETTINGS is given, do not scope the settings 
of | `org-agenda-exporter-settings' into the export 
commands.  This is used when | the settings have already been 
scoped and we do not wish to overrule other, | higher priority 
settings.  | If AGENDA-BUFFER-NAME, use this as the buffer name 
for the agenda to write.  |  | [back] `  HTH,

eric
--
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_7.9.3d-826-gbe0d87




Re: [O] org-caldav: New version with proper two-way sync

2013-01-17 Thread Eric S Fraga

Detlef Steuer detlef.ste...@gmx.de writes:

On Thu, 17 Jan 2013 19:05:15 +1030 Eric S Fraga 
e.fr...@ucl.ac.uk wrote: 

Detlef Steuer detlef.ste...@gmx.de writes: 
  FWIW: here UTF-8 is respected and stays UTF-8, in -batch, 
 too.Detlef  
 Thanks for the data point.  What Emacs version are you using?   
 
emacs 23.2 under linux 


Thanks.  I'm definitely running a much newer version.  I'll keep 
playing around to see if I can find the source of my encoding 
problems.

--
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_7.9.3d-826-gbe0d87




Re: [O] Agenda search C-c a s

2013-01-17 Thread Nick Dokos
Alan L Tyree alanty...@gmail.com wrote:

 Since a recent ELPA update I get strange behavior when searching
 agenda files.
 
 If the word searched for is NOT in the agenda files, everything works OK.
 
 If the word IS in the agenda files, I get a blank Org Agenda buffer
 and a message: Wrong type argument: listp, t.
 
 Is anyone else having this problem? If not where do I begin to fix it.
 

Get a backtrace and post it here. See sec. 1.4, Feedback, of the
org manual to find out how to get a useful backtrace.

Nick



[O] Bug: The homepage of gnuplot-mode has been moved [7.9.3d (7.9.3d-GNU-Emacs-24-3 (commit e8f5b0ad) @ /usr/local/share/emacs/24.3.50/lisp/org/)]

2013-01-17 Thread Xue Fuqiao

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

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

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


In (info (org) Org-Plot):

Org-Plot can produce 2D and 3D graphs of information stored in org
tables using `Gnuplot' `http://www.gnuplot.info/' and `gnuplot-mode'
`http://cars9.uchicago.edu/~ravel/software/gnuplot-mode.html'.

But the homepage of gnuplot-mode has been moved to:
http://xafs.org/BruceRavel/GnuplotMode

Emacs  : GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.13)
 of 2013-01-18 on Emacs
Package: Org-mode version 7.9.3d (7.9.3d-GNU-Emacs-24-3 (commit e8f5b0ad) @ 
/usr/local/share/emacs/24.3.50/lisp/org/)

current state:
==
(setq
 org-footnote-auto-adjust t
 org-export-preprocess-before-selecting-backend-code-hook 
'(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe
  org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-export-preprocess-before-normalizing-links-hook 
'(org-remove-file-link-modifiers)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc 
org-beamer-auto-fragile-frames
   org-beamer-place-default-actions-for-lists)
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook org-show-block-all 
append local] 5]
 #[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook 
org-babel-show-result-all append local] 5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
 org-insert-mode-line-in-empty-file t
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-export-blocks '((src org-babel-exp-src-block nil) (export-comment 
org-export-blocks-format-comment t)
 (ditaa org-export-blocks-format-ditaa nil) (dot 
org-export-blocks-format-dot nil))
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-table-formula-constants '((c . 299792458.))
 org-agenda-files '(~/note/TODO)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )


-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



Re: [O] Agenda search C-c a s

2013-01-17 Thread Alan L Tyree

Nick Dokos writes:

 Alan L Tyree alanty...@gmail.com wrote:

 Since a recent ELPA update I get strange behavior when searching
 agenda files.
 
 If the word searched for is NOT in the agenda files, everything works OK.
 
 If the word IS in the agenda files, I get a blank Org Agenda buffer
 and a message: Wrong type argument: listp, t.
 
 Is anyone else having this problem? If not where do I begin to fix it.
 

 Get a backtrace and post it here. See sec. 1.4, Feedback, of the
 org manual to find out how to get a useful backtrace.

 Nick
Thanks, Nick. Here are the details.

Emacs version 24.2.1 on Debian Wheezy (with emacs24 from Sid)
Org org-plus-contrib-20130114

I started emacs with the min org file as explained in Section 1.4

C-U M-X org-reload

Loaded an agenda file addr.org and added to agenda

M-x agenda

s

Enter a search term in the minibuffer that I know is in addr.org

Obtain the following backtrace:

Debugger entered--Lisp error: (wrong-type-argument listp t)
  memq(todo t)
  (or (eq org-agenda-show-inherited-tags (quote always)) (memq (quote todo) 
org-agenda-show-inherited-tags) (and (eq org-agenda-show-inherited-tags t) (or 
(eq org-agenda-use-tag-inheritance t) (memq (quote todo) 
org-agenda-use-tag-inheritance
  (setq marker (org-agenda-new-marker (point)) category (org-get-category) 
category-pos (get-text-property (point) (quote org-category-position)) 
inherited-tags (or (eq org-agenda-show-inherited-tags (quote always)) (memq 
(quote todo) org-agenda-show-inherited-tags) (and (eq 
org-agenda-show-inherited-tags t) (or (eq org-agenda-use-tag-inheritance t) 
(memq (quote todo) org-agenda-use-tag-inheritance tags (org-get-tags-at nil 
(not inherited-tags)) txt (org-agenda-format-item  
(buffer-substring-no-properties beg1 (point-at-eol)) category tags t))
  (catch :skip (goto-char beg) (org-agenda-skip) (setq str 
(buffer-substring-no-properties (point-at-bol) (if hdl-only (point-at-eol) 
end))) (mapc (lambda (wr) (when (string-match wr str) (goto-char (1- end)) 
(throw :skip t))) regexps-) (mapc (lambda (wr) (unless (string-match wr str) 
(goto-char (1- end)) (throw :skip t))) (if todo-only (cons (concat ^*+[  ]+ 
org-not-done-regexp) regexps+) regexps+)) (goto-char beg) (setq marker 
(org-agenda-new-marker (point)) category (org-get-category) category-pos 
(get-text-property (point) (quote org-category-position)) inherited-tags (or 
(eq org-agenda-show-inherited-tags (quote always)) (memq (quote todo) 
org-agenda-show-inherited-tags) (and (eq org-agenda-show-inherited-tags t) (or 
(eq org-agenda-use-tag-inheritance t) (memq (quote todo) 
org-agenda-use-tag-inheritance tags (org-get-tags-at nil (not 
inherited-tags)) txt (org-agenda-format-item  (buffer-substring-no-properties 
beg1 (point-at-eol)) category tags t)) (org-add-props txt props (quote 
org-marker) marker (quote org-hd-marker) marker (quote org-todo-regexp) 
org-todo-regexp (quote org-complex-heading-regexp) org-complex-heading-regexp 
(quote priority) 1000 (quote org-category) category (quote 
org-category-position) category-pos (quote type) search) (push txt ee) 
(goto-char (1- end)))
  (while (re-search-forward regexp nil t) (org-back-to-heading t) 
(skip-chars-forward * ) (setq beg (point-at-bol) beg1 (point) end (progn 
(outline-next-heading) (point))) (catch :skip (goto-char beg) (org-agenda-skip) 
(setq str (buffer-substring-no-properties (point-at-bol) (if hdl-only 
(point-at-eol) end))) (mapc (lambda (wr) (when (string-match wr str) (goto-char 
(1- end)) (throw :skip t))) regexps-) (mapc (lambda (wr) (unless (string-match 
wr str) (goto-char (1- end)) (throw :skip t))) (if todo-only (cons (concat 
^*+[  ]+ org-not-done-regexp) regexps+) regexps+)) (goto-char beg) (setq 
marker (org-agenda-new-marker (point)) category (org-get-category) category-pos 
(get-text-property (point) (quote org-category-position)) inherited-tags (or 
(eq org-agenda-show-inherited-tags (quote always)) (memq (quote todo) 
org-agenda-show-inherited-tags) (and (eq org-agenda-show-inherited-tags t) (or 
(eq org-agenda-use-tag-inheritance t) (memq (quote todo) 
org-agenda-use-tag-inheritance tags (org-get-tags-at nil (not 
inherited-tags)) txt (org-agenda-format-item  (buffer-substring-no-properties 
beg1 (point-at-eol)) category tags t)) (org-add-props txt props (quote 
org-marker) marker (quote org-hd-marker) marker (quote org-todo-regexp) 
org-todo-regexp (quote org-complex-heading-regexp) org-complex-heading-regexp 
(quote priority) 1000 (quote org-category) category (quote 
org-category-position) category-pos (quote type) search) (push txt ee) 
(goto-char (1- end
  (save-restriction (if org-agenda-restrict (narrow-to-region 
org-agenda-restrict-begin org-agenda-restrict-end) (widen)) (goto-char 
(point-min)) (unless (or (org-at-heading-p) (outline-next-heading)) (throw 
(quote nextfile) t)) (goto-char (max (point-min) (1- (point (while 
(re-search-forward regexp nil t) (org-back-to-heading t) (skip-chars-forward 

[O] MobileOrg status

2013-01-17 Thread Mobile Org
Hi Everyone,

Here is a quick status update regarding MobileOrg.

Several people have stepped in to take over maintaining MobileOrg in
place of Richard. His excellent work has gotten the app very far and
we look forward to improving it further.

We've had a lot of questions regarding getting MobileOrg back in the
app store and we intend to do so as soon as possible.

We are currently working out all the logistics for the transition to
new maintainers and adding support for v1 of the Dropbox API.

When the app is back in the store we'll be sure to notify the list for
those interested.

You can track the status and check out the current code on github:
https://github.com/MobileOrg/mobileorg

We will be tracking all issues there as well.

Feel free to contact us directly if you have any further questions and
thanks for the continued interest!

-MobileOrg team



[O] New exporter documentation?

2013-01-17 Thread James Harkins
I apologize in advance for what is likely to be a dumb question, but I'm 
struggling to find documentation of the new exporter. Google pointed to 
[1], but this is documentation for developers of new backends. I only 
want to use the existing backends, and I want to understand how the new 
_exporter_ is different from the old__.


Specific question: Is there an easy way to use a given LaTeX template 
(.cls and .bib)? (I also found [2] but easy is not how I would 
describe that.)


I suppose I've just overlooked a blindingly obvious link somewhere...TIA,
hjh

[1] http://orgmode.org/worg/dev/org-export-reference.html
[2] https://github.com/novoid/orgmode-ACM-template