[Orgmode] Re: Update? Org-mode and ELPA

2010-12-30 Thread Jambunathan K

Hello Jeff

 Jambunathan,

 Will the org-mode ELPA tar-ball be updated on a regular basis? The
 package in the GNU ELPA repo is from November. I do not recall whether
 this is the original upload you made.

I noticed this as well. Bastien would have more information on the
'brokenness' you are reporting.

Meanwhile, did you experiment with tars at
http://orgmode.org/pkg/daily/? These tars are getting built
regularly. At this moment installation is a two step process - you have
to manually download the tar and install it with M-x package-upload-file
[1].

Once my patch - http://hg.newartisans.com/patch/377/ - gets checked in
and worg server is updated, one will be able to install org tarballs
with a single step.

I hope you were able to install org-20101120.tar (the 'latest' on
elpa.gnu.org) without any issues.

[1] Refer Worg FAQ
http://orgmode.org/worg/org-faq.php#installing-from-elpa-tarball.

Jambunathan K.


 I'm only asking out of curiosity... I still regularly update via git,
 but I was playing around with ELPA earlier today and thought I'd check
 the repo.

 Jeff

___
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] org-mac-protocol usage example

2010-12-30 Thread Urs Rau (UK)
Guys, 

I am still struggling with this. the main problem is making sense of the 
following part of instructions on the org-mac-protocol.org installation page, 
basically how to call on the emacs-server from one of the many org-mac-protocol 
supported apps.

quoted from:
https://github.com/claviclaws/org-mac-protocol/raw/037288fcd2e8d9ffd6e9811d9049b06344b7b865/org-mac-protocol.org

  : (AppleScript remember ?y * %:shortdesc\n  %:initial\n   Source: %u, 
 %c\n\n  %? (concat org-directory inbox.org) Remember)
  
  : (AppleScript note ?z * %?\n\n  Date: %u\n (concat org-directory 
 inbox.org) Notes)
  

quoted from:
https://github.com/claviclaws/org-mac-protocol/raw/037288fcd2e8d9ffd6e9811d9049b06344b7b865/org-mac-protocol.org
  Create =*Remember*= templates
 
 #+BEGIN_SRC emacs-lisp
 (setq org-remember-templates
   '((template 1)
 (template 2)
   ...
   (template n)))
 #+END_SRC
  
  Two separate =*Remember*= templates are required, one for
  =org-remember= and one for =org-note=. Two examples:
 


How do the templates relate to using 'n' and 't' for notes and todos, in most 
other examples? What are the parts of the remember template that relates to 
that choice? What is the reference later oin the page meaning? 

quoted from:
https://github.com/claviclaws/org-mac-protocol/raw/037288fcd2e8d9ffd6e9811d9049b06344b7b865/org-mac-protocol.org
  If you choose to alter the template selection characters, you
  *must* alter =theProtocol= variable in =org-remember.scpt= and
  =org-note.scpt= to reflect your changes.

What are the 'defaults' or 'built-in' ones? 

Should this actually use remember or should this now be capture instead? What 
would need to change to use capture?

And as a last but maybe the most central question, of mine, what do I do with 
the last two AppleScript lines in the above section where I am coming 
unstuck? How or where do I enter this on a Mac OS X Leopard 10.6.5? 

quoted from:
https://github.com/claviclaws/org-mac-protocol/raw/037288fcd2e8d9ffd6e9811d9049b06344b7b865/org-mac-protocol.org
 #+BEGIN_EXAMPLE
 ~/Library/Scripts/org-link.scpt
   org-link-tabs.scpt
 org-remember.scpt
 org-note.scpt
 orgQSLib/escape.rb
  getEmacsClient.scpt
  getItemMetadata.scpt
 #+END_EXAMPLE


Are the above installation instructions of copying the scripts to the users 
Library/Scripts directory still correct with Snow Leopard and it's usage of 
services?

Thanks for any help with taking this to a working setup. I promise that I will 
document my findings on worg.

Regards,


On 21 Dec 2010, at 22:02, Urs Rau (UK) wrote:

 Sorry, if this is soo obvious to all you regular emacs and org-mode users. 
 But I am a newbie when it comes to emacs and especially org-mode, I just 
 don't see the tree for the forrest.
 
 I have installed the org-mac-protocol as per it's webpage at 
 
 https://github.com/claviclaws/org-mac-protocol/blob/master/org-mac-protocol.org
 
 I am running on Snow Leopard 10.6.5 under GNU Emacs 23.2.1 
 (x86_64-apple-darwin, NS apple-appkit-1038.29) of 2010-05-09 on black.local 
 and in the Install instructions o that page,  I made it all the way down to 
 
 and add org-mac-protocol to External packages
 
 Start emacsserver
 (server-start)
 
 Create *Remember* templates
 
 And here is where I get stuck, the sample;e templates don't make sense to 
 me, and besides I already have working ones in my .emacs anyway, one for 
 todos and one for notes.
 
 How do these templates relate to either org-capture or org-remember? And what 
 are the default selectors? Is it t for todo and n for notes?
 
 I have the following org-capture templates already working for me
 
 (setq org-capture-templates
 '((t Agenda Todo entry
   (file+datetree ~/org/tasksnotes.org )
   \n\n** TODO %?\n%T\n\n%i\n%a\n\n\n
   :empty-lines 1)
 
  (n Agenda Notes entry
   (file+datetree ~/org/tasksnotes.org )
   \n\n** %?\n%T\n%i\n%a\n\n\n
   :empty-lines 1)))
 
 
 
 How or where do I now save or put the applescript? and how or where from do I 
 call it up? What are the steps I have to do, leading up to a new todo or note 
 being saved to the named buffers.
 
 I have the *.scpt files in the ~/Library/Scripts/ folder (which I had to 
 create btw) 
 
 A very simple one or two sample in a step by step format would help e 
 greatly. maybe one for iCal for creating a todo from an iCal event and one 
 for a note for an apple mail item? 
 
 step 1 open ical
 step 2 highlight or mark event
 step 3 
 step 4 ???
 step 5 switch to emacs and find new todo in .
 
 Thanks for any help or pointers,
 
 Regards,
 
 -- 
 Urs Rau
 
 
 ___
 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 Android 0.5.0 - Now with native Dropbox support!

2010-12-30 Thread Sven Bretfeld
Dear Matthew

Thank you very much for this present. Thank you also for all the good
work you have done for making MobileOrg on Android possible. 

For the first time ever I also have syncing problems which takes about
four times longer than before (filesize hasn't changed). I will give you
a report on the issues-site. Anyway, I will switch from webdav to the
Dropbox solution in a few days.

I remember that it was possible to edit an org file directly within
MobileOrg in one of the earlier versions. This seems to have been
dropped now. We can go down to the file level, but it is read-only. Do I
remember right? Or does this depend on my switch from sdcard to
internal some weeks ago?

Best wishes and a happy new year to all

Sven

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

 Merry Christmas to all MobileOrg Android users... I am pleased to announce the
 0.5.0 release of MobileOrg for Android.

 This release includes support for Dropbox which is the single most requested
 feature.  I actually finished writing the code for this a few weeks ago, but
 it has taken a little while for the Dropbox folks to approve it for release.

 This release also includes some bug fixes, although I have not yet managed to
 get a handle on the SSL bug if the CA is not recognized by the Android OS.  
 I'm planning this for the 0.5.1 release

 Also included in this release is some basic scripting for calling the Capture
 interface from outside of the application, see this URL:

 https://github.com/matburt/mobileorg-android/wiki/Scripting

 for an example of how to use this from the Android Scripting Interface (now
 called SL4A)

 You can either download directly from the market or find a direct download
 link to the APK on the wiki (for those who don't have access to the Market):

 https://github.com/matburt/mobileorg-android/wiki

 There are some really great features coming in the near future, including
 better support for capturing notes with TODO, Priority, and Tags and support
 for editing the body of an Org entry.  I'm also working on a UI overhaul that
 should make things more attractive and easier to use.

 Merry Christmas and, as always, please report any bugs or features on Github: 
 https://github.com/matburt/mobileorg-android/issues

 http://matburt.net

 ___
 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


[Orgmode] Convert iCalendar files to org files

2010-12-30 Thread Michael Markert

Hi,

i created `ical2org'[1] to convert iCalendar files to org files in elisp.

It does:
* Traverse the iCalendar using `icalendar.el' and constructs a struct
  for each event
* Format each struct via a (userdefined) formatstring
* Convert times to orgmode timestrings (limitations below)

It does not (at the moment):
* Fully translate VEVENTs to org mode entries and only captures a few
  (sensible) attributes
* Convert iCalendar recurrences to org recurrences[2]
* Use Duration to determine endtime
* (I'm quite sure there's more, it's very young)
  
I'm aware of Doug Hellmann's `ical2org', but for the functionality it
didn't fulfill my needs and for the name, well I didn't come to a better
one yet, suggestions are welcome.

The same holds for the code, patches or ideas to fix the shortcomings
are highly appreciated. 

Michael

Footnotes:
[1] https://github.com/cofi/ical2org
[2] And I'm quite sure it can't be done because orgmode has no concept
of a recurrence end like iCalendar does.

___
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: Update? Org-mode and ELPA

2010-12-30 Thread Jeff Horn
On Thu, Dec 30, 2010 at 4:59 AM, Jambunathan K
kjambunat...@coextrix.com wrote:

 I noticed this as well. Bastien would have more information on the
 'brokenness' you are reporting.

 Meanwhile, did you experiment with tars at
 http://orgmode.org/pkg/daily/? These tars are getting built
 regularly. At this moment installation is a two step process - you have
 to manually download the tar and install it with M-x package-upload-file
 [1].

 Once my patch - http://hg.newartisans.com/patch/377/ - gets checked in
 and worg server is updated, one will be able to install org tarballs
 with a single step.

 I hope you were able to install org-20101120.tar (the 'latest' on
 elpa.gnu.org) without any issues.

 [1] Refer Worg FAQ
 http://orgmode.org/worg/org-faq.php#installing-from-elpa-tarball.

Thanks, Jambunathan. This is just the information I was looking for.
Since ELPA will be in Emacs 24, I'm glad to org will be easy to
install.

This means I'll be able to download the emacs-starter-kit and install
org very quickly for people I'm trying to convince to adopt org. :)

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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] [Babel] Output of multiple variables from octave source

2010-12-30 Thread RCY
Hi,
 I would like to output multiple variables from an octave program. When I
evaluate:

  #+srcname: test.m
  #+begin_src octave
  clear variables
  x=5.1;
  y=3*x;
  sprintf('x=%.1f',x)
  sprintf('y=%.1f',y)
  #+end_src

I get
  #+results: test.m
  : y=15.3

Is there a way to get multiple variables output, other than something like:
#+srcname: test.m
  #+begin_src octave
  clear variables
  x=5.1;
  y=3*x;
  sprintf('x=%.1f,\n y=%.1f',x,y)
  #+end_src

  #+results: test.m
  : x=5.1, y=15.3

which starts to get unwieldy for a larger number of variables.

I am using the org-mode from git in Emacs 23.1.

Thanks for any help.
RC
___
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: [Babel] Output of multiple variables from octave source

2010-12-30 Thread RC
Hi,
 I found the following workaround for what I was trying to do:

 #+srcname: test.m
 #+begin_src octave
 clear variables
 x=5.2;
 y=3*x;
 [sprintf('x=%.1f\n',x),...
 sprintf('y=%.1f',y)]
 #+end_src
  
 #+results: test.m
 | x=5.2  |
 | y=15.6 |

RC




___
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] How to match tags when no tag present

2010-12-30 Thread Jeff Horn
Copy to list.

On Thu, Dec 30, 2010 at 7:57 PM, Jeffrey Horn jrhorn...@gmail.com wrote:
 Carsten Dominik carsten.domi...@gmail.com writes:

 How would I match all TODOs that are untagged?

 For example with

 -{.}/!

 That indeed does the trick. Thanks, Carsten. A few questions, if you
 have a moment:

 1) What does /! do above?
 2) Can we insert anything (property matches, TODO keyword matches,
 c.f. [[info:org:Matching%20tags%20and%20properties][info:org:Matching
 tags and properties]]) into the agenda custom command tag search?

 TIA,
 Jeff

 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/




-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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] How to match tags when no tag present

2010-12-30 Thread Nick Dokos
Jeff Horn jrhorn...@gmail.com wrote:

 Copy to list.
 
 On Thu, Dec 30, 2010 at 7:57 PM, Jeffrey Horn jrhorn...@gmail.com wrote:
  Carsten Dominik carsten.domi...@gmail.com writes:
 
  How would I match all TODOs that are untagged?
 
  For example with
 
  -{.}/!
 
  That indeed does the trick. Thanks, Carsten. A few questions, if you
  have a moment:
 
  1) What does /! do above?
  2) Can we insert anything (property matches, TODO keyword matches,
  c.f. [[info:org:Matching%20tags%20and%20properties][info:org:Matching
  tags and properties]]) into the agenda custom command tag search?
 

The section of the manual that you quote in your item 2) contains the
answer to 1): read the last paragraph and the examples - carefully!

As for 2), I think that the answer is yes.

Nick



___
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