Re: [O] Repeat every X business days and every Xth day-of-the-week

2012-03-17 Thread Nick Dokos
Jay McCarthy  wrote:

> ... 
> I also wish that I could specify in some way that an event happens
> every third Thursday of the month or on the first and third Wednesdays
> (when my recycling cans are picked up). I don't know of a good way to
> fit that into the current annotation scheme of + and ++.
> 
> If you have any advice about how I could do it myself safely, I'd be
> happy to try and contribute.

Diary s-exprs can do things like this:

--8<---cut here---start->8---

* TODO every third Thursday of the month
  <%%(org-float t 4 3)>

* TODO every first and third Wednesday of the month
  <%%(or (org-float t 3 1) (org-float t 3 3))>
--8<---cut here---end--->8---

See
(info "(org) Timestamps")
(info "(emacs) Special Diary entries")

Nick




[O] Repeat every X business days and every Xth day-of-the-week

2012-03-17 Thread Jay McCarthy
Dear org-mode developers,

I wish that I could write +1bd on a repeating tasks so that it skips
from Friday to Monday.

I looked into implementing this myself, but there are a lot of places
(29) where the regexp [dwmy] is used and it scares me off because I
think I'll break something. It almost seems like you should be able to
add a new 'what' to 'org-timestamp-change' and it will Just Work. But
the algorithm in there would need to change a bit, because it would
try to change by a number of days, but then adjust based on the advic
day of the week.

For now, I just manually complete the task on Saturdays and Sundays...
but it seems wrong to get credit in the TODO -> DONE log when I really
didn't do it :)

I also wish that I could specify in some way that an event happens
every third Thursday of the month or on the first and third Wednesdays
(when my recycling cans are picked up). I don't know of a good way to
fit that into the current annotation scheme of + and ++.

If you have any advice about how I could do it myself safely, I'd be
happy to try and contribute.

Jay

-- 
Jay McCarthy 
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93



Re: [O] Sending and archiving emails with capture...

2012-03-17 Thread Peter Salazar
Awesome.

How do you get it to ignore the org star header (** Email) on the first
line?

I'd like to be able to open existing org subtrees in an indirect
buffer—ideally in mail-mode—and then mail-send the contents of the buffer.
When I try this at home, I get "Invalid header line."


On Thu, Mar 15, 2012 at 5:52 PM, Jos'h Fuller <
Jos'h.ful...@arcproductions.com> wrote:

> Hi!
>
> > I tried it and I get "Heading not found on level 1: Emails"
>
> Sorry, I forgot to say that you need to make a heading in your
> org-default-notes-file (whatever that is) called "Emails":
>
>  * Tasks
>  * Done
>  * Emails
>
> The emails will be filed under there, like this:
>
> :* Emails
> :** Email <2012-03-15 Thu 15:20>
> :
> :From: Me 
> :To: y...@you.com
> :Subject: Testing!
> :--text follows this line--
> :This is a test...
> :
> :
>  
> ___
> :
> :Signature!
>
> See if that fixes it!
>
> Jos'h Fuller, Production Programmer
> p: 416.682.5200 x5395 | f: 416.682.5209 | Arc Productions Ltd. | 230
> Richmond Street East | Toronto, ON M5A 1P4 | www.arcproductions.com
>
>
>


[O] [PATCH] Adding Simplified Chinese(UTF-8) translation for org-exp

2012-03-17 Thread tumashu

---
 lisp/org-exp.el |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index a1102a8..229d83c 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -200,7 +200,8 @@ This option can also be set with the +OPTIONS line, e.g. 
\"-:nil\"."
 ("nn" "Forfattar"  "Dato"  "Innhald" "Fotnotar")  ;; nn = Norsk (nynorsk)
 ("pl" "Autor"  "Data" "Spis treści"  "Przypis")
 ("ru" "Автор"  "Дата"  "Содержание" "Сноски")
-("sv" "Författare" "Datum" "Innehåll" "Fotnoter"))
+("sv" "Författare" "Datum" "Innehåll" "Fotnoter")
+("zh_CN" "作者" "日期" "目录" "脚注"))
   "Terms used in export text, translated to different languages.
 Use the variable `org-export-default-language' to set the language,
 or use the +OPTION lines for a per-file setting."
-- 
1.7.9.1




[O] OrgMobile problem: only three files in checksums.dat

2012-03-17 Thread Alexander Vorobiev
Hi,

I have many files in the org-mobile-files list. On org-mobile-push all of
them are copied to my MobileOrg directory, syncronized via Dropbox to my
phone, etc. But the file checksums.dat always has only three lines - for
files index.org, mobileorg.org, and agendas.org.
The org-mobile-checksum-files variable also has the checksums for those
files only. Consequently, MobileOrg for Android only shows one line "Agenda
Views" and does not show any of my org files despite having all of them in
the same Dropbox directory.

Thanks
Alex


[O] Too clumsy to promote/demote a region by multiple levels

2012-03-17 Thread James Harkins
Is there a reason why M-left and M-right (promote/demote tree headings) 
deactivate the selected region?

That is, if I use C-space and move the point to select a number of headings, 
and I want to demote them by three levels, currently after hitting M-right, the 
region goes away -- so I actually have to do

C-space (move the point) M-right
C-space (move the point) M-right
C-space (move the point) M-right

But I would like to be able to do

C-space (move the point) M-right M-right M-right

Is this possible?

I know that if there is no freestanding text underneath the headings, I could 
use C-x r t to add more *'s, but that breaks in a region where one or more 
lines are not headings.

I tried (on a whim) C-u 3 M-right, but the universal argument is ignored here.

Thanks,
James


--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks



Re: [O] #RESULTS folding and clearing

2012-03-17 Thread Nick Dokos
Johnny  wrote:

> Hi all,
> 
> When evaluating src blocks, the #+RESULTS: are inserted just below the
> code block, but some expressions generate long lists; thus:
> 
> 1) How can I fold the RESULTS block? (I have tried the regular tab way
> and searched the manual, but can't find it. Apologies if it should be
> obvious!)

TAB on the #+RESULTS: line folds the results block for me.

> 2) Is there any way to get the results in a folded output by default? 

Not that I know of.

> 3) Can I erase /all/ RESULTS in an org-file by single command?

[answered previously - repeated for completeness]

M-x org-babel-remove-result RET

Nick



Re: [O] #RESULTS folding and clearing

2012-03-17 Thread Johnny
Nick Dokos  writes:

> Johnny  wrote:
>
>
>> 3) Can I erase /all/ RESULTS in an org-file by single command?
>> 
>
> M-x org-babel-remove-result RET
>
> I use it often enough that I've bound it to a key.
>

Thanks, this is very useful!

-- 
Johnny



Re: [O] #RESULTS folding and clearing

2012-03-17 Thread Nick Dokos
Johnny  wrote:


> 3) Can I erase /all/ RESULTS in an org-file by single command?
> 

M-x org-babel-remove-result RET

I use it often enough that I've bound it to a key.

Nick



[O] ot: windows xemacs question

2012-03-17 Thread Jude DaShiell
I had a read of the setup instructions for emacs on windows and 
unfortunately so many of them involve modifying the windows registry.  A 
very experienced software specialist told me it's best never to use 
software that requires these modifications because sooner rather than 
later windows will crash and then the whole mess has to be reinstalled 
after that.  He had no idea about xemacs but he told me emacs and windows 
do not live happily on machines together.  So I'm wondering if xemacs 
might end up being any better and figured this being the closest list to 
emacs support I'm on that actually works to ask this question here.


Jude 





Re: [O] #RESULTS folding and clearing

2012-03-17 Thread Johnny
Johnny  writes:

> Hi all,
>
> When evaluating src blocks, the #+RESULTS: are inserted just below the
> code block, but some expressions generate long lists; thus:
>
> 1) How can I fold the RESULTS block? (I have tried the regular tab way
> and searched the manual, but can't find it. Apologies if it should be
> obvious!)
> 2) Is there any way to get the results in a folded output by default? 
> 3) Can I erase /all/ RESULTS in an org-file by single command?
>
> Thanks!

Btw, I am using org version 7.8.03

-- 
Johnny



[O] #RESULTS folding and clearing

2012-03-17 Thread Johnny
Hi all,

When evaluating src blocks, the #+RESULTS: are inserted just below the
code block, but some expressions generate long lists; thus:

1) How can I fold the RESULTS block? (I have tried the regular tab way
and searched the manual, but can't find it. Apologies if it should be
obvious!)
2) Is there any way to get the results in a folded output by default? 
3) Can I erase /all/ RESULTS in an org-file by single command?

Thanks!

-- 
Johnny



Re: [O] Org release 7.8.04 (BUGFIX-only release)

2012-03-17 Thread Achim Gratz
Bastien  writes:
> There was something wrong in the process of releasing 7.8.04 
> (the release relied on the wrong branch.)  
>
> I released Org 7.8.05.

Maint still needs to be merged back into master, otherwise master picks up
7.8.04 as the release version.  Also, you need to fix that version
script (still inserting the french month for the release date, maybe
wrap with LANG=C?).


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

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra




Re: [O] org-mobile : checksum errors - iPhone?

2012-03-17 Thread Nick Bell

On 05/02/12 15:56, Richard Riley wrote:


I reduced my mobile org file set to a single file "general.org" by
adjusting org-mobile-files.

I did an org-mobile-push but the mobile app falls over when I try to
sync it saying "error downloading checksums". I read on the org-mobile
web page that one should manally run md5 (which was a surprise) and did
this and still I get the same error ("md5 *.org>  checksums.dat") : the
full text is "an error was encountered while downloading checksums.dat
from the server. The file isnt required but the error was unusual, The
error was 'unexpected eror'". So not much to go on there.

I even tried deleting the mobile app with ll its data and reinitialising
drop box but still no joy.

I would be intersted to hear from anyone using this suite that might
have come across similar issues.


I use mobileorg for iPhone (about which I assume you're talking) and 
haven't noticed that error.


The development on the Android version is almost enough to persuade me 
to switch platforms! Anyone know whether any development is taking place 
on the 'original' iPhone version?


Thanks

Nick



Re: [O] Figure and table captions in org-odt.el

2012-03-17 Thread Jambunathan K

A small side note:

Instead of modifying the default "OrgOdtContentTemplate.xml" *directly*,
you can do the following.  Make a *copy* of the file, do the required
modification and then customize `org-export-odt-content-template-file'
to point to the new template file.

> Locate your "OrgOdtContentTemplate.xml".  This file is located under the
> styles directory.  See the *Messages* buffer for an output like this:
>
> , *Messages*
> | Debug (org-odt): Searching for OpenDocument styles files...
> | Debug (org-odt): Trying c:/Documents and Settings/kjambunathan/My
> | Documents/My Data/src/org-mode/etc/styles/...
> | Debug (org-odt): Using styles under c:/Documents and
> | Settings/kjambunathan/My Documents/My Data/src/org-mode/etc/styles/
> `
>
> Towards the end of the file, you will find a
> `...' block.  These are the
> OpenDocument "variables" that are used for counting Figures, Tables etc.
>
> Replace text:name="Figure" with text:name="Abbildung".  You can do
> likewise for other categories.
>
> ,
> | diff --git a/etc/styles/OrgOdtContentTemplate.xml 
> b/etc/styles/OrgOdtContentTemplate.xml
> | index cd7ff0e..beeb7f8 100644
> | --- a/etc/styles/OrgOdtContentTemplate.xml
> | +++ b/etc/styles/OrgOdtContentTemplate.xml
> | @@ -255,7 +255,7 @@
> | 
> | 
> |  text:name="Equation"/>
> | -   
> | +text:name="Abbildung"/>
> |
> |  
> |
> `



Re: [O] Org release 7.8.04 (BUGFIX-only release)

2012-03-17 Thread Bastien
Hi all,

Bastien  writes:

> I have just released Org 7.8.04 -- a BUGFIX-only release.

There was something wrong in the process of releasing 7.8.04 
(the release relied on the wrong branch.)  

I released Org 7.8.05.

Thanks,

-- 
 Bastien



[O] Org not accepted as GSOC organization

2012-03-17 Thread Bastien
Hi all,

we were not accepted as an organization for GSOC.

Quite expected.  Thorsten will try to submit his
project under the GNU umbrella -- GNU is accepted
as an organization and has 6 slots.

Best,

-- 
 Bastien



Re: [O] Figure and table captions in org-odt.el

2012-03-17 Thread Jambunathan K
Hello Martin

> Hi,
>
> I was trying to localise the captions of figures or tables. This seems
> not to be built-in (in contrast to the built-in localisation of
> table-of-contents). I wonder whether it is easily possible to get
> "Abbildung 1: ..." instead of the automatic "Figure 1: ..."  in figure
> (and table) captions.

Currently there is no custom setting for it.

For now, you can try out the following.

Locate your "OrgOdtContentTemplate.xml".  This file is located under the
styles directory.  See the *Messages* buffer for an output like this:

, *Messages*
| Debug (org-odt): Searching for OpenDocument styles files...
| Debug (org-odt): Trying c:/Documents and Settings/kjambunathan/My 
Documents/My Data/src/org-mode/etc/styles/...
| Debug (org-odt): Using styles under c:/Documents and Settings/kjambunathan/My 
Documents/My Data/src/org-mode/etc/styles/
`

Towards the end of the file, you will find a
`...' block.  These are the
OpenDocument "variables" that are used for counting Figures, Tables etc.

Replace text:name="Figure" with text:name="Abbildung".  You can do
likewise for other categories.

,
| diff --git a/etc/styles/OrgOdtContentTemplate.xml 
b/etc/styles/OrgOdtContentTemplate.xml
| index cd7ff0e..beeb7f8 100644
| --- a/etc/styles/OrgOdtContentTemplate.xml
| +++ b/etc/styles/OrgOdtContentTemplate.xml
| @@ -255,7 +255,7 @@
|   
|   
|   
| - 
| + 
|
|  
|
`

Now add the following to your init file.  You can compare the default
setting of `org-odt-category-map-alist' with the value below.  Here
also, you have replaced "Figure" with "Abbildung".

#+begin_src emacs-lisp
  (eval-after-load 'org-odt
'(setq org-odt-category-map-alist
   '(("__Table__" "Table" "value")
 ("__Figure__" "Abbildung" "value")
 ("__MathFormula__" "Equation" "text")
 ("__DvipngImage__" "Equation" "value"
#+end_src

This should do what you want.  Let me know how it goes.

> Thanks,
>
> Martin



Re: [O] org-mobile : checksum errors - iPhone?

2012-03-17 Thread Nick Bell

On 05/02/12 15:56, Richard Riley wrote:


I reduced my mobile org file set to a single file "general.org" by
adjusting org-mobile-files.

I did an org-mobile-push but the mobile app falls over when I try to
sync it saying "error downloading checksums". I read on the org-mobile
web page that one should manally run md5 (which was a surprise) and did
this and still I get the same error ("md5 *.org>  checksums.dat") : the
full text is "an error was encountered while downloading checksums.dat
from the server. The file isnt required but the error was unusual, The
error was 'unexpected eror'". So not much to go on there.

I even tried deleting the mobile app with ll its data and reinitialising
drop box but still no joy.

I would be intersted to hear from anyone using this suite that might
have come across similar issues.


I use mobileorg for iPhone (about which I assume you're talking) and 
haven't noticed that error.


The development on the Android version is almost enough to persuade me 
to switch platforms! Anyone know whether any development is taking place 
on the 'original' iPhone version?


Thanks

Nick



Re: [O] [PATCH] documentation patch clarifying ITEM special property

2012-03-17 Thread Bastien
Hi Ilya,

Ilya Shlyakhter  writes:

> Documentation patch clarifying that ITEM refers to the headline not the
> contents of an entry, and that it currently isn't supported for
> tags/property searchers.  Added a footnote pointing to a partial
> workaround using org-agenda-skip-entry-if.

applied and pushed to the master branch.  Thanks!

-- 
 Bastien



Re: [O] [PATCH] Adding Russian translation for org-exp

2012-03-17 Thread Bastien
Hi Vladimir,

Vladimir Lomov  writes:

> I prepared small patch to add Russian translation to org-exp.

I pushed your change to the master branch.

Thanks a lot for this!

-- 
 Bastien



[O] [PATCH] Adding Russian translation for org-exp

2012-03-17 Thread Vladimir Lomov
Hello,
I prepared small patch to add Russian translation to org-exp.

---
WBR, Vladimir Lomov

-- 
Weiner's Law of Libraries:
There are no answers, only cross references.
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 174619a..a1102a8 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -199,6 +199,7 @@ This option can also be set with the +OPTIONS line, e.g. 
\"-:nil\"."
 ("nb" "Forfatter"  "Dato"  "Innhold" "Fotnoter")  ;; nb = Norsk (bokm.l)
 ("nn" "Forfattar"  "Dato"  "Innhald" "Fotnotar")  ;; nn = Norsk (nynorsk)
 ("pl" "Autor"  "Data" "Spis treści"  "Przypis")
+("ru" "Автор"  "Дата"  "Содержание" "Сноски")
 ("sv" "Författare" "Datum" "Innehåll" "Fotnoter"))
   "Terms used in export text, translated to different languages.
 Use the variable `org-export-default-language' to set the language,


Re: [O] [bug] org-agenda-write does not handle date stamps without day of week

2012-03-17 Thread Simon Thum

Hi Karl,

why don't you add something like an "xx" day which will probably please 
org-mode - in my tests org ignored the weekday. I concluded it's there 
for viewing convenience, and editing (C-.) always got me the right DOW.


I don't use org2ical, however.

Cheers,

Simon


On 03/05/2012 03:44 PM, Karl Voit wrote:

Hi!

I verified the behavior below with the most current git version of
Org-mode.

Whenever I call my function to export the current agenda, it
«converts» events that do have a beginning and end time to events
that span the whole day (without begin and end times at all).

,[ my LISP command to export ]
| (defun vk-export-agenda()
|   "Exports monthly Org-mode agenda to agenda.ics file"
|   (interactive)
|   (org-agenda-list nil nil 60)
|   (org-agenda-write "~/org/agenda.ics")
| )
`

I traced down the problem to this:

*<2012-03-05 Mon 08:00-09:00>  works fine
*<2012-03-05 Mon 8:00-9:00>  works fine too

*<2012-03-05 08:00-09:00>  Wrong: ends up as full day event

Unfortunately, I do have certain mechanisms that generate parts of
my Org-mode files where I skip the day of the week. Org-mode in
general is able to handle date stamps without day of week pretty
well. But whenever I export it to ics (in order to send it to
Google), I end up with a messed up online agenda.

I guess that org-agenda-write is the one to blame. It would be very
handy to me if somebody could fix that issue.

Let me know, if you need any further information!

Thank you very much!






Re: [O] org-mobile : checksum errors

2012-03-17 Thread aaron barclay
Hi,

I found this that discusses the issue - although the solution did not work
for me. I am getting sync from emacs to dropbox, but not from dropbox to
ios.

Has any else had a similar issue, any ideas?

regards,
aaron.

https://github.com/richard/mobileorg/wiki/known-issues

On 17 March 2012 19:58, aaron barclay  wrote:

> Hi Richard,
>
> I am setting up mobile org for the first time and having the same problem.
> Did you ever come up with a solution?
>
> cheers,
> aaron.
>
>
>
> On 6 February 2012 02:56, Richard Riley  wrote:
>
>>
>> I reduced my mobile org file set to a single file "general.org" by
>> adjusting org-mobile-files.
>>
>> I did an org-mobile-push but the mobile app falls over when I try to
>> sync it saying "error downloading checksums". I read on the org-mobile
>> web page that one should manally run md5 (which was a surprise) and did
>> this and still I get the same error ("md5 *.org > checksums.dat") : the
>> full text is "an error was encountered while downloading checksums.dat
>> from the server. The file isnt required but the error was unusual, The
>> error was 'unexpected eror'". So not much to go on there.
>>
>> I even tried deleting the mobile app with ll its data and reinitialising
>> drop box but still no joy.
>>
>> I would be intersted to hear from anyone using this suite that might
>> have come across similar issues.
>>
>>
>>
>


Re: [O] org-mobile : checksum errors

2012-03-17 Thread aaron barclay
Hi Richard,

I am setting up mobile org for the first time and having the same problem.
Did you ever come up with a solution?

cheers,
aaron.



On 6 February 2012 02:56, Richard Riley  wrote:

>
> I reduced my mobile org file set to a single file "general.org" by
> adjusting org-mobile-files.
>
> I did an org-mobile-push but the mobile app falls over when I try to
> sync it saying "error downloading checksums". I read on the org-mobile
> web page that one should manally run md5 (which was a surprise) and did
> this and still I get the same error ("md5 *.org > checksums.dat") : the
> full text is "an error was encountered while downloading checksums.dat
> from the server. The file isnt required but the error was unusual, The
> error was 'unexpected eror'". So not much to go on there.
>
> I even tried deleting the mobile app with ll its data and reinitialising
> drop box but still no joy.
>
> I would be intersted to hear from anyone using this suite that might
> have come across similar issues.
>
>
>