Re: [Orgmode] MobileOrg and Voice Capturing (Android)

2010-11-30 Thread Mark Elston

Have you looked at sl4a (formerly ase)?  With it you can
start Intents and perform clipboard operations plus file
manipulations using a standard scripting language like
perl, python, or ruby (among others).  This might be
very useful.

Mark

On 11/28/2010 11:10 AM, Sven Bretfeld wrote:

Hi together

TextToSpeech has made our lives easier, especially for car-drivers like
me. I have tried to capture tasks by voice on my Android device and
implement them automatically to my org-files at home. The results are
practicable but far from optimal by now. Maybe there are some Android
users on this list who like to get involved in trying to find an optimal
solution.

*My method at the moment:*

I use tasker, the Android killer-app for automatizing almost every
thinkable task. Created a new task called org-voice with tasker.
Pressing the associated icon does the following:

1. Plays Darth Vader's voice saying What is thy bidding, my master?

2. Loads app Voice2Clipboard

3. Waits for 30 seconds (to get Voice2Clipboard ready for recording and
for me to finish speaking the note)

4. Write File: Writes the clipboard content to a file
/sdcard/dropbox/org/org-voice.org

After uploading the file with Dropbox, a cronjob on my PC (which is
always switched on) takes care of the file. Its lines (each is a capture
item) are transformed by a series of sed operations and put into a
different file from-org-voice.org together with some TAGS and a TODO
keyword; after that the original file is emptied. That's it.

The problem with this approach is that you still have to manually
download the (empty) capture-file (org-voice.org)[¹] and to manually upload
it again, because Dropbox for Android doesn't sync changed files on the
sdcard automatically. And especially to upload process needs quite a
view clicks.

*What would be better:*

Use MobileOrg and have the clipboard contents written into the file used
by MobileOrg for written captures. This is
/sdcard/mobileorg/mobileorg.org if you use sdcard-storage. This way, you
could use MobileOrg's own syncing process and no cronjob would be
necessary.

This could be done in two ways:

1. Use the same procedure and let tasker write the contents into the
file directly. This is not possible for me since I have to use
internal-storage for reasons of performance[²] and the files in
/data/data/com.matburt.mobileorg/files/ are not writable for other
programs without root.

2. Use tasker to start MobileOrg, enter the capture dialog and have a
voice recognition app started. I simply don't know how to do that.

Maybe tasker can even be programmed to automatically start MobileOrg's
syncing process from time to time. But I don't know if and how this is
possible.

Does anybody have a better solution? Or a better idea?

Greetings,

Sven

[¹]  If you don't, the next sync with dropbox would replace the file
with your notes by the empty file hosted on the Dropbox server.
[²]  On HTC Magic (Android 1.6) sdcard-storage makes MobileOrg
incredibly slow. It takes more than a minute after starting MobileOrg
until the files are displayed.



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


Re: [Orgmode] Creating files for a Kindle

2010-11-30 Thread Mark Elston

On 11/27/2010 2:03 PM, Alan L Tyree wrote:

I have used org to create ePub format by exporting to xhtml then using
Sigil to complete the task. I would then use Calibre to convert from
ePub to Kindle format.

There are lots of instructions on the Web for building ePub directly
from the xhtml file if you don't want to install Sigil, but I have
found Sigil to be an easy to use program for making the ePub.

HTH,
Alan



I have used Calibre to convert directly from HTML to ePub.  What
advantage is there in using Sigil first?

Mark

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


Re: [Orgmode] MobileOrg and Voice Capturing (Android)

2010-11-30 Thread Matthew Jones
I have this grand plan to implement support for this in MobileOrg, I didn't
realize the project had changed, thanks for piquing my interest in it again.

http://matburt.net


On Mon, Nov 29, 2010 at 10:10 PM, Mark Elston m_els...@comcast.net wrote:

 Have you looked at sl4a (formerly ase)?  With it you can
 start Intents and perform clipboard operations plus file
 manipulations using a standard scripting language like
 perl, python, or ruby (among others).  This might be
 very useful.

 Mark


 On 11/28/2010 11:10 AM, Sven Bretfeld wrote:

 Hi together

 TextToSpeech has made our lives easier, especially for car-drivers like
 me. I have tried to capture tasks by voice on my Android device and
 implement them automatically to my org-files at home. The results are
 practicable but far from optimal by now. Maybe there are some Android
 users on this list who like to get involved in trying to find an optimal
 solution.

 *My method at the moment:*

 I use tasker, the Android killer-app for automatizing almost every
 thinkable task. Created a new task called org-voice with tasker.
 Pressing the associated icon does the following:

 1. Plays Darth Vader's voice saying What is thy bidding, my master?

 2. Loads app Voice2Clipboard

 3. Waits for 30 seconds (to get Voice2Clipboard ready for recording and
for me to finish speaking the note)

 4. Write File: Writes the clipboard content to a file
/sdcard/dropbox/org/org-voice.org

 After uploading the file with Dropbox, a cronjob on my PC (which is
 always switched on) takes care of the file. Its lines (each is a capture
 item) are transformed by a series of sed operations and put into a
 different file from-org-voice.org together with some TAGS and a TODO
 keyword; after that the original file is emptied. That's it.

 The problem with this approach is that you still have to manually
 download the (empty) capture-file (org-voice.org)[¹] and to manually
 upload
 it again, because Dropbox for Android doesn't sync changed files on the
 sdcard automatically. And especially to upload process needs quite a
 view clicks.

 *What would be better:*

 Use MobileOrg and have the clipboard contents written into the file used
 by MobileOrg for written captures. This is
 /sdcard/mobileorg/mobileorg.org if you use sdcard-storage. This way, you
 could use MobileOrg's own syncing process and no cronjob would be
 necessary.

 This could be done in two ways:

 1. Use the same procedure and let tasker write the contents into the
file directly. This is not possible for me since I have to use
internal-storage for reasons of performance[²] and the files in
/data/data/com.matburt.mobileorg/files/ are not writable for other
programs without root.

 2. Use tasker to start MobileOrg, enter the capture dialog and have a
voice recognition app started. I simply don't know how to do that.

 Maybe tasker can even be programmed to automatically start MobileOrg's
 syncing process from time to time. But I don't know if and how this is
 possible.

 Does anybody have a better solution? Or a better idea?

 Greetings,

 Sven

 [¹]  If you don't, the next sync with dropbox would replace the file
 with your notes by the empty file hosted on the Dropbox server.
 [²]  On HTC Magic (Android 1.6) sdcard-storage makes MobileOrg
 incredibly slow. It takes more than a minute after starting MobileOrg
 until the files are displayed.


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

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


Re: [Orgmode] [PATCH] org-agenda: rework ndays and span handling

2010-11-30 Thread Carsten Dominik

Hi everyone,

can we have a few testers for this patch?  Apply it an play with your  
agenda, switching from day to week view etc, refresh with r and g,  
and check if everything works as expected?  That would be nice, thanks.


- Carsten

On Nov 29, 2010, at 11:49 AM, Julien Danjou wrote:


* org-agenda.el (org-agenda-custom-commands-local-options):
Allow org-agenda-span to be a symbol.
(org-agenda-ndays): Make obsolete.
(org-agenda-span): New variable superseding org-agenda-ndays.
(org-agenda-menu): Use org-agenda-current-span.
(org-agenda-current-span): New local variable storing current
span.
(org-agenda-list): Take a span instead of ndays as argument.
This function is now responsible for computing the ndays based
on span.
(org-agenda-ndays-to-span): Return span only if number of days
really matches.
(org-agenda-span-to-ndays): New function.
(org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
(org-agenda-goto-today): Use org-agenda-compute-starting-span.
(org-agenda-later): Do not give compute a new span, use the
current one.
(org-agenda-day-view, org-agenda-week-view)
(org-agenda-month-view, org-agenda-year-view): Stop touching
org-agenda-ndays.
(org-agenda-change-time-span): Only compute starting-span.
(org-agenda-compute-starting-span): New function derived from
the old org-agenda-compute-time-span.
(org-agenda-set-mode-name): Compute mode based on
org-agenda-current-span.
(org-agenda-span-name): New function.

* org-mouse.el: Replace Replace org-agenda-ndays by
org-agenda-current-span.

* org.texi, orgguide.texi: Replace org-agenda-ndays by org-agenda- 
span.


Signed-off-by: Julien Danjou jul...@danjou.info
---

Hi,

This patch is pretty huge, so I'll give a bit of context about it.

I'm weird, but I used org-agenda-ndays set to 14. Unfortunately, this
settings was interpreted as a month view. Pressing 'f' key to see  
later,

would show me the next month, which was not at all what I wanted.

On the same idea, day view or week view would change my org-agenda- 
ndays
settings, which I think is not a good idea. Changing user setting is  
*bad*.

:-)

So I rewrote the things this way:
- Rename org-agenda-span to org-agenda-current-span
 Which has the same meaning has before, except it can be numeric.
- Rename org-agenda-ndays to org-agenda-span
 I think the name is better choosen. You can set it to a symbol  
instead of
 only a numeric value. That means you can set it to 'month and it  
will show
 you the number of days of the current month in your agenda. Better  
than

 30. But you can still set it to 30, or 31, or whatever you want.
- Do not change org-agenda-span. Never.
- Use org-agenda-current-span for navigation.
 That means if you press 'f', it will shows you really the next
 org-agenda-current-span ndays, and not something based on I think  
you

 want a weekly view.

Tested, no bug found so far. :-)

doc/org.texi   |   14 ++--
doc/orgguide.texi  |6 +-
lisp/org-agenda.el |  188  
+--

lisp/org-mouse.el  |4 +-
4 files changed, 119 insertions(+), 93 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index e2e9af5..b5b70c9 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -6966,14 +6966,14 @@ paper agenda, showing all the tasks for the  
current week or day.

@table @kbd
@cindex org-agenda, command
@orgcmd{C-c a a,org-agenda-list}
-...@vindex org-agenda-ndays
+...@vindex org-agenda-span
Compile an agenda for the current week from a list of Org files.   
The agenda
shows the entries for each day.  With a numeric pre...@footnote{for  
backward
compatibility, the universal prefix @kbd{C-u} causes all TODO  
entries to be
listed before the agenda.  This feature is deprecated, use the  
dedicated TODO
list, or a block agenda instead (@pxref{Block agenda}).}  (like  
@kbd{C-u 2 1

C-c a a}) you may set the number of days to be displayed (see also the
-variable @code{org-agenda-ndays})
+variable @code{org-agenda-span})
@end table

Remote editing from the agenda buffer means, for example, that you can
@@ -7621,10 +7621,10 @@ argument as well.  For example, @kbd{200712  
w} will jump to week 12 in

be mapped to the interval 1938-2037.
@c
@orgcmd{f,org-agenda-later}
-...@vindex org-agenda-ndays
-Go forward in time to display the following @code{org-agenda-ndays}  
days.

+...@vindex org-agenda-span
+Go forward in time to display the following @code{org-agenda- 
current-span} days.
For example, if the display covers a week, switch to the following  
week.
-With prefix arg, go forward that many times @code{org-agenda-ndays}  
days.
+With prefix arg, go forward that many times @code{org-agenda- 
current-span} days.

@c
@orgcmd{b,org-agenda-earlier}
Go backward in time to display earlier dates.
@@ -8369,7 +8369,7 @@ or, if you need to modify some  
paramet...@footnote{quoting depends on the

system you use, please check the FAQ for examples.}
@example
emacs -eval '(org-batch-store-agenda-views  \
-

[Orgmode] [org-babel] R, :session and empty line in #+results

2010-11-30 Thread Bernd Weiss

Dear all,

I would like to use R objects across/among code blocks. Therefore, I 
included the header argument :session which then produces the 
following results:



#+BEGIN_SRC R  :results output :session
x - 1
x
x + 1
#+END_SRC

#+results:
:
: [1] 1
: [1] 2

#+BEGIN_SRC R :results output :session
x
#+END_SRC

#+results:
: [1] 1


How can I get rid of the first line of the first #+results-block? BTW: 
if I remove the :session argument this empty line disappears.


Thanks for your help,

Bernd


P.S. As far as I can see my question is not related to Dr. Bate's 
question on Removing the blank lines between code and results blocks in 
LaTeX export 
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg29957.html


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


Re: [Orgmode] MobileOrg and Voice Capturing (Android)

2010-11-30 Thread Sven Bretfeld
Hi Matthew

Matthew Jones bsdmatb...@gmail.com writes:

 MobileOrg Android already supports speech to text in that, you can go to
 capture a new note and click the mic button on the soft keyboard and start
 speaking.  I don't see that it would be particularly difficult to integrate
 this in a larger fashion.  There could be a button on the capture interface
 that would let you start it automatically.   

Thanks for your ideas. Using MobileOrg's ability to process spoken texts
is fine. In the car, however, it would be necessary to reduce clicks to
one or two. Switching on speech input on the soft-keyboard would be
difficult, because the respective key is much too tiny. At the moment
I'm using Voice Command which starts recording when pressing the
search key (hardware). This is fine. But still one has to manually
start MobileOrg, switch to the capture screen and paste the text. That
could be easier with the help of Tasker.

 Also... given that you had a button to activate the speech to text without
 having to pull up the soft keyboard... you could write another application
 that calls MobileOrg's Capture activity with that mode enabled.

I have tried to teach Tasker how to call the Capture activity. Without
success so far. Am I right that the activity is called by the command
com.matburt.mobileorg.Capture? To my regret, Tasker's Action Intent
task doesn't seem to understand that command. If I could get that
working, it would be easy to create an icon to capture a spoken note and
save it with only one click.

Greetings,

Sven


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


[Accepted] [Orgmode] Re: Clean capture from command line?

2010-11-30 Thread Carsten Dominik
Patch 390 (http://patchwork.newartisans.com/patch/390/) is now Accepted.

Maintainer comment: No comment

This relates to the following submission:

http://mid.gmane.org/%3C874obebkqi.fsf%40ufl.edu%3E

Here is the original message containing the patch:

 Content-Type: text/plain; charset=utf-8
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Subject: [Orgmode] Re: Clean capture from command line?
 Date: Thu, 18 Nov 2010 22:32:53 -
 From: Allen S. Rout a...@ufl.edu
 X-Patchwork-Id: 390
 Message-Id: 874obebkqi@ufl.edu
 To: emacs-orgmode@gnu.org
 
 Friedrich Delgado frie...@nomaden.org writes:
 
  I use zsh and I already use this:
 
  ,[ ~/bin/uriescapepwd.pl ]
#!/usr/bin/perl -w
use URI::Escape qw/ uri_escape uri_escape_utf8 /;
use Cwd qw/getcwd abs_path/;
$pwd = abs_path(getcwd);
print uri_escape_utf8($pwd);
  `
 
 Woot, one step. 
 
 Then I also did a quick filter.
 
 ---
 use URI::Escape qw/ uri_escape uri_escape_utf8 /;
 use Cwd qw/getcwd abs_path/;
 
 print uri_escape_utf8();
 ---
 
 At that point, I could do: 
 
 ---
 
 emacsclient  -c 
 org-protocol://capture:/I/file:`~/bin/uriescapepwd`/`~/bin/uriescapepwd`/`/usr/bin/zenity
  --entry --text=New TODO |~/bin/uriescape`
 
 
 
 The 'I' selects template, in which I'm using :immediate-finish.  That's
 one.
 
 For the 'Close the client frame' purpose, I applied the attached patch,
 and then I could, in my own myorg.el file:
 
 -
 
 ( defun asr-org-capture-finalize ()
   If we set the correct property in the capture template, then delete frame.
   ( if (org-capture-get :asr-delete-frame-on-finalize)
  (delete-frame)
   )
 )
 
 
 (add-hook 'org-capture-after-finalize-hook 'asr-org-capture-finalize )
 
 -
 
 
 which lets me define a capture template with property
 
 :asr-delete-frame-on-finalize 1
 
 and then use that template.
 
 Thanks, Eric and Friedrich... 
 
 
 - Allen S. Rout
 
 From 2086fe4be30d5383b9db4d5db91da6b03357c128 Mon Sep 17 00:00:00 2001
 From: Allen S. Rout a...@ufl.edu
 Date: Wed, 17 Nov 2010 12:52:02 -0500
 Subject: [PATCH 3/3] Add post-finalize hook
 
 ---
  lisp/org-capture.el |8 
  1 files changed, 8 insertions(+), 0 deletions(-)
 
 diff --git a/lisp/org-capture.el b/lisp/org-capture.el
 index 2abe5c7..5d2f8d3 100644
 --- a/lisp/org-capture.el
 +++ b/lisp/org-capture.el
 @@ -313,6 +313,12 @@ The remember buffer is still current when this hook 
 runs.
:group 'org-capture
:type 'hook)
  
 +(defcustom org-capture-after-finalize-hook nil
 +  Hook that is run right after a capture process is finalized.
 +  Suitable for window cleanup
 +  :group 'org-capture
 +  :type 'hook)
 +
  ;;; The property list for keeping information about the capture process
  
  (defvar org-capture-plist nil
 @@ -548,6 +554,8 @@ bypassed.
  
;; Restore the window configuration before capture
(set-window-configuration return-wconf))
 +
 +(run-hooks 'org-capture-after-finalize-hook)
  (when abort-note
(cond
 ((equal abort-note 'clean)
 -- 
 1.7.0.4
 
 

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


Re: [Orgmode] Tutorial on advanced searches

2010-11-30 Thread Eric S Fraga
Matt Lundin m...@imapmail.org writes:

 These days I find myself frequently searching a mountainous pile of org
 files. To clarify my own understanding of Org-mode's powerful search
 tools, I wrote a tutorial on advanced searches. It's available on
 Worg:

 http://orgmode.org/worg/org-tutorials/advanced-searching.php

Fantastic document!  Many thanks.  Although I use a few of the
techniques you illustrate, I had no idea of how many different ways of
searching there are.
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.99.g9db0.dirty)

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


Re: [Orgmode] [Babel] How to pass variables to SQL blocks?

2010-11-30 Thread Eric Schulte
Hi Seb,

Babel's sql support did not have any variable handling.  I just copied
over the variable support from ob-sqlite to ob-sql, so the following
should now work (notice: my code block is different from yours)

** sql variables
#+results: sql-param
| table   | valueTable0   |
| column  | valueColumn0  |
| type| valueType0|
| nullability | valueNullability0 |

I want to apply the values onto the following chunk of code:

#+srcname: add-column-in-table-0
#+begin_src sql :var table=sql-param[0,1] :var column=sql-param[1,1] :var 
type=sql-param[2,1] :var nullability=sql-param[3,1]
-- add column `...@column' (if column does not exist yet)
IF NOT EXISTS (SELECT *
   FROM INFORMATION_SCHEMA.COLUMNS
   WHERE TABLE_NAME = '@table'
   AND COLUMN_NAME = '@column')
BEGIN
ALTER TABLE $table
ADD $column $type @nullability
END
#+end_src

results in the following code block expansion (C-c C-v v)
#+begin_src sql
  -- add column `...@column' (if column does not exist yet)
  IF NOT EXISTS (SELECT *
 FROM INFORMATION_SCHEMA.COLUMNS
 WHERE TABLE_NAME = '@table'
 AND COLUMN_NAME = '@column')
  BEGIN
  ALTER TABLE valueTable0
  ADD valueColumn0 valueType0 @nullability
  END
#+end_src

-- Eric

Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 #+TITLE: How to pass variables to SQL code blocks?
 #+DATE:  2010-11-29
 #+LANGUAGE:  en

 * Abstract

 I'm trying to abstract similar blocks of SQL code, making use of variables
 passed to blocks. Though, I can't get any var passed to the SQL block --
 maybe my mistake!

 While doing this exercise:

 - I tried an alternative way using Noweb syntax -- but this only works for one
   instantiation of the parameters --, and

 - I found that no warning are emitted if referring to inexistent blocks.

 * Using vars

 Using this table of parameters,

 #+results: param
 | table   | valueTable0   |
 | column  | valueColumn0  |
 | type| valueType0|
 | nullability | valueNullability0 |

 I want to apply the values onto the following chunk of code:

 #+srcname: add-column-in-table-0
 #+begin_src sql :var @table=param[0,1] :var @column=param[1,1] :var 
 @type=param[2,1] :var @nullability=param[3,1]
 -- add column `...@column' (if column does not exist yet)
 IF NOT EXISTS (SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = '@table'
AND COLUMN_NAME = '@column')
 BEGIN
 ALTER TABLE @table
 ADD @column @type @nullability
 END
 #+end_src

 * Using Noweb

 Using Noweb, I can pass values to some variables, doing this:

 #+srcname: table
 #+begin_src sql
 valueTable1
 #+end_src

 #+srcname: column
 #+begin_src sql
 valueColumn1
 #+end_src

 #+srcname: type
 #+begin_src sql
 valueType1
 #+end_src

 #+srcname: nullability
 #+begin_src sql
 valueNullability1
 #+end_src

 It works:

 #+srcname: add-column-in-table-1
 #+begin_src sql :noweb yes
 -- add column `column' (if column does not exist yet)
 IF NOT EXISTS (SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'table'
AND COLUMN_NAME = 'column')
 BEGIN
 ALTER TABLE table
 ADD column type nullability
 END
 #+end_src

 but *only once*, as I can't overwrite the value of the 4 variables...

 #+srcname: table
 #+begin_src sql
 valueTable2
 #+end_src

 #+srcname: column
 #+begin_src sql
 valueColumn2
 #+end_src

 #+srcname: type
 #+begin_src sql
 valueType2
 #+end_src

 #+srcname: nullability
 #+begin_src sql
 valueNullability2
 #+end_src

 The above chunks of code (with *new values*) were silently ignored, as you can
 see when exporting this code, which should add another column in another
 table:

 #+srcname: add-column-in-table-2
 #+begin_src sql :noweb yes
 add-column-in-table-1
 #+end_src

 * No warning if block does not exist

 Please note that inexistent references are ignored, without further notice.
 That's the case for such a block (where I forgot the number suffix):

 #+srcname: contains-inexistent-ref
 #+begin_src sql :noweb yes
 add-column-in-table
 #+end_src

 Best regards,
   Seb

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


[Orgmode] Re: Invalid capture target specification

2010-11-30 Thread Thorsten
Thanks David, 
it works with org-mode 7.3
cheers
Thorsten




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


[Orgmode] [PATCH] make Nth consistent

2010-11-30 Thread Brian Gough
From 67ff0e20cede3ae9afa332a6881184a5153c0881 Mon Sep 17 00:00:00 2001
From: Brian Gough b...@network-theory.co.uk
Date: Thu, 25 Nov 2010 17:05:06 +
Subject: [PATCH] make Nth consistent

---
 doc/org.texi |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 5267148..f511d36 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -4992,7 +4992,7 @@ Move through the column view from field to field.
 Switch to the next/previous allowed value of the field.  For this, you
 have to have specified allowed values for a property.
 @item 1..9,0
-Directly select the nth allowed value, @kbd{0} selects the 10th value.
+Directly select the Nth allowed value, @kbd{0} selects the 10th value.
 
@orgcmdkkcc{n,p,org-columns-next-allowed-value,org-columns-previous-allowed-value}
 Same as @kbd...@key{left}/@key{right}}
 @orgcmd{e,org-columns-edit-value}
@@ -5326,7 +5326,7 @@ letter ([dwmy]) to indicate change in days, weeks, 
months, or years.  With a
 single plus or minus, the date is always relative to today.  With a
 double plus or minus, it is relative to the default date.  If instead of
 a single letter, you use the abbreviation of day name, the date will be
-the nth such day.  E.g.
+the Nth such day.  E.g.
 
 @example
 +0-- today
@@ -5971,7 +5971,7 @@ for an entry with the following commands:
 @table @kbd
 @orgcmd{C-c C-x e,org-set-effort}
 Set the effort estimate for the current entry.  With a numeric prefix
-argument, set it to the NTH allowed value (see below).  This command is also
+argument, set it to the Nth allowed value (see below).  This command is also
 accessible from the agenda with the @kbd{e} key.
 @orgcmd{C-c C-x C-e,org-clock-modify-effort-estimate}
 Modify the effort estimate of the item currently being clocked.
@@ -7095,7 +7095,7 @@ Like the above, but allows selection of a specific TODO 
keyword.  You can
 also do this by specifying a prefix argument to @kbd{C-c a t}.  You are
 prompted for a keyword, and you may also specify several keywords by
 separating them with @samp{|} as the boolean OR operator.  With a numeric
-prefix, the nth keyword in @code{org-todo-keywords} is selected.
+prefix, the Nth keyword in @code{org-todo-keywords} is selected.
 @kindex r
 The @kbd{r} key in the agenda buffer regenerates it, and you can give
 a prefix argument to this command to change the selected TODO keyword,
-- 
1.6.0.6


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


Re: [Orgmode] [PATCH 1/4] Rename org-agenda-today to org-today.

2010-11-30 Thread Carsten Dominik


On Nov 30, 2010, at 10:06 AM, Julien Danjou wrote:


On Tue, Nov 30 2010, Carsten Dominik wrote:


the purpose of this change is  to be able to use
this also in org.el without having to load org-agenda.el?


Yes, and to be consistent. The variable org-extend-today-until is
defined in org.el, it seems more general than org-agenda, i.e. it  
has no

sense to be defined as an agenda function.


Applied, thanks.

- Carsten


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


Re: [Orgmode] Creating files for a Kindle

2010-11-30 Thread Alan L Tyree
On Mon, 29 Nov 2010 18:33:06 -0800
Mark Elston m_els...@comcast.net wrote:

 On 11/27/2010 2:03 PM, Alan L Tyree wrote:
  I have used org to create ePub format by exporting to xhtml then
  using Sigil to complete the task. I would then use Calibre to
  convert from ePub to Kindle format.
 
  There are lots of instructions on the Web for building ePub directly
  from the xhtml file if you don't want to install Sigil, but I have
  found Sigil to be an easy to use program for making the ePub.
 
  HTH,
  Alan
 
 
 I have used Calibre to convert directly from HTML to ePub.  What
 advantage is there in using Sigil first?

Modest, but it depends on what you want. I use it to split into
chapters, make minor modifications and add a cover. If you just want to
read it, Calibre direct works just fine. Sigil just gives you a bit
more control.

Cheers,
Alan

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


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


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


[Orgmode] [mobileorg-android] sync error, sdcard, index.org was not found

2010-11-30 Thread Martin G. Skjæveland

Hi,

I just got myself a HTC Z, but I cannot get mobileorg to sync. The error 
message I get when pressing the sync button is:


  The file /sdcard/dropbox/org/index.org was not found.

Here is what I did to get the error:

- Installed Dropbox from Android Market. (Downloaded org-files to 
/sdcard/dropbox/org/. This I have checked with a file manager.)

- Installed MobileOrg from Android Market. (Version 0.4.7, it says.)
- Setup MobileOrg:
  - Synchronization Mode: SDCard
  - Full local path to your index.org file: /sdcard/dropbox/org/index.org
  - Storage Mode: sdcard
- Go back to MobileOrg menu, press Sync, and get the error.

Originally I had no index.org file (should I have had one?) so I created 
one. I'm guessing that that this might be the problem? It says on [1] 
that index.org will be created, but it is not clear if this also goes 
for local system setup (and not WebDAV). My index.org file looks like this:


--cut
 * [[work.org][work]]
 * [[home.org][home]]
--cut

The instructions on mobileorg-android's page [2] are not completely 
clear. Have I done all the necessary preparations?


Thanks!

Martin

[1] https://github.com/matburt/mobileorg-android/wiki/SetupNotes
[2] https://github.com/matburt/mobileorg-android/wiki/

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


Re: [Orgmode] [PATCH 1/4] Rename org-agenda-today to org-today.

2010-11-30 Thread Julien Danjou
On Tue, Nov 30 2010, Carsten Dominik wrote:

 the purpose of this change is  to be able to use
 this also in org.el without having to load org-agenda.el?

Yes, and to be consistent. The variable org-extend-today-until is
defined in org.el, it seems more general than org-agenda, i.e. it has no
sense to be defined as an agenda function.

-- 
Julien Danjou
// ᐰ jul...@danjou.info   http://julien.danjou.info


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