Re: [O] [PATCH] typo in org-e-ascii.el

2012-07-23 Thread Nicolas Goaziou
Hello,

Achim Gratz  writes:

> diff --git a/contrib/lisp/org-e-ascii.el b/contrib/lisp/org-e-ascii.el
> index 1851273..a9551af 100644
> --- a/contrib/lisp/org-e-ascii.el
> +++ b/contrib/lisp/org-e-ascii.el
> @@ -1100,7 +1100,7 @@ (defun org-e-ascii-horizontal-rule (horizontal-rule 
> contents info)
>"Transcode an HORIZONTAL-RULE  object from Org to ASCII.
>  CONTENTS is nil.  INFO is a plist holding contextual
>  information."
> -  (let ((width (org-export-read-attribte :attr_ascii horizontal-rule 
> :width)))
> +  (let ((width (org-export-read-attribute :attr_ascii horizontal-rule 
> :width)))
>  (make-string (or (and (wholenump width) width)
>(org-e-ascii--current-text-width horizontal-rule info))
>(if (eq (plist-get info :ascii-charset) 'utf-8) ?― ?-
>

Applied. Thank you.


Regards,

-- 
Nicolas Goaziou



Re: [O] The "problem" with `flet' in Org-mode and (future) Emacs 24.2

2012-07-23 Thread Achim Gratz
Eric Schulte writes:
> Okay, I've noticed a number of these errors as well.  It looks like the
> old version of flet allowed the definition of recursive functions, but
> the new cl-flet does not.

The defalias checks for the wrong Emacs version.  I've just built
another Emacs24 which got version 24.1.2, of which the "2" really is the
build number; this should fix it (trunk starts from 24.1.50.1):


diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index 41ae999..ad04ccd 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -115,19 +115,11 @@ (defun org-emacs-full-version ()
 
 
 ;;; cl macros no longer available in the trunk
-(defalias 'org-flet (if (or (> emacs-major-version 24)
-   (and (= emacs-major-version 24)
-(let ((full (org-emacs-full-version)))
-  (and (third full)
-   (> (third full) 1)
+(defalias 'org-flet (if (org-version-check "24.1.50" "cl" :predicate)
'cl-flet*
  'flet))
 
-(defalias 'org-labels (if (or (> emacs-major-version 24)
- (and (= emacs-major-version 24)
-  (let ((full (org-emacs-full-version)))
-(and (third full)
- (> (third full) 1)
+(defalias 'org-labels (if (org-version-check "24.1.50" "cl" :predicate)
  'cl-labels
'labels))



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

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] org-caldav: Sync Org with external calendars through CalDAV (Owncloud, Google, ...)

2012-07-23 Thread Suvayu Ali
On Fri, Jul 20, 2012 at 06:36:40PM +0200, David Engster wrote:
> David Engster writes:
> > I have written a package 'org-caldav' which can sync items to a remote
> > calendar server using the CalDAV protocol. The main purpose of this
> > package is to make better use of Org in combination with Android-based
> > mobile devices (yes, there is mobileOrg, but I have several problems
> > with it; that's a topic for another day, though).
> >
> > I think org-caldav is now "good enough" to allow some testing by
> > adventurous people. I put the code up on github here
> >
> > https://github.com/dengste/org-caldav
> 
> I must admit I'm a tiny bit baffled that no one seems to be interested
> in this. Anyway, no hard feelings ( ;-) ), but could please someone with
> the necessary permissions put a link to the above on
> 
> http://orgmode.org/worg/org-tutorials/org-google-sync.html
> 

I am very interested, just extremely short of time. I think I will have
some time to have a look at this in about a week from now.

> Thanks,
> David
> 

:)

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] is there some example for parse org-mode file in emacs lisp script mode ?

2012-07-23 Thread Suvayu Ali
On Sun, Jul 22, 2012 at 04:40:45PM +0800, Tongzhu Zhang wrote:
> 
> help command_a will display : 
> 
>   some description or params for this command 
> 

If you wait a few weeks, Luis Anya's org-e-man.el exporter for man pages
might be ready. You can actually try the current version too.

https://github.com/papoanaya/emacs_utils

Check the mailing list archives for more information.

-- 
Suvayu

Open source is the future. It sets us free.