[O] Making formatting of links in tables inheriting org-table

2012-06-29 Thread Dov Grobgeld
I like to use a variable font for my org-notebooks, which works very
nicely. But since tables are aligned by fixed number of characters, I use a
fixed font for tables. The problem is when I add a link within a table. The
link then gets the face 'org-link' and not 'org-table'. Is there any
posibility to apply the the attributes of the faces of both 'org-table' *and
* 'org-link' in that order to receive both properties, so that links
outside of tables are shown in variable fonts and links in tables in a
fixed font?

Thanks!
Dov


[O] Backtrace of Error when running org-mobile-push

2012-06-29 Thread Jeffrey Spencer
When I run org-mobile push I get this error:

Debugger entered--Lisp error: (wrong-type-argument window-live-p #window
3)
  select-window(#window 3)
  org-mobile-push()
  call-interactively(org-mobile-push t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)


I can't seem to figure out the issue but does anyone have any idea? It
seems to only happen if I have an agenda view open and run org-mobile-push.


[O] ASCII export: footer possible?

2012-06-29 Thread Loris Bennett
Hi,

I want to maintain a list of news for a message of the day in an org
file and export it to ASCII:

/=\
| #+OPTIONS: author:nil timestamp:nil toc:nil num:nil tags:nil H:3  
  |
| #+EXPORT_SELECT_TAGS: current 
  |
| #+TITLE:  
  |
|   
  |
| 
--- 
|
|   
  |
|  WELCOME TO MY COMPUTER   
  |
|   
  |
| 
--- 
|
| EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * 
NEW |
| 
--- 
|
|   
  |
| * 29.06.2012:current: 
  |
|   
  |
| No news is good news. 
  |
|   
  |
| * 28.06.2012:current: 
  |
|   
  |
| Everything fine today.
  |
|   
  |
| * 20.06.2012  
  |
|   
  |
| Down for maintenance. 
  |
|   
  |
| * 18.06.2012  
  |
|   
  |
| My computer is now online 
  |
|   
  |
| 
--- 
|
| EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * 
NEW |
| 
--- 
|
\=/

When exported this gives me:

/=\
| 
--- 
|
|   
  |
|   WELCOME TO MY BIG COMPUTER  
  |
|   
  |
| 
--- 
|
| EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * 
NEW |
| 
--- 
|
|   
  |
| 29.06.2012
  |
| --
  |
|   
  |
| No news is good news. 
  |
|   
  |
| 28.06.2012
  |
| --
  |
|   
  |
| Everything fine today.
  |
|   
  |
\=/


Currently the footer is not exported.  Is there any way to achieve this?

Thanks,

Loris

-- 
Loris Bennett






Re: [O] ASCII export: footer possible?

2012-06-29 Thread Loris Bennett
Loris Bennett loris.benn...@fu-berlin.de writes:

 Hi,

 I want to maintain a list of news for a message of the day in an org
 file and export it to ASCII:

 /=\
 | #+OPTIONS: author:nil timestamp:nil toc:nil num:nil tags:nil H:3
 |
 | #+EXPORT_SELECT_TAGS: current   
 |
 | #+TITLE:
 |
 | 
 |
 | 
 ---
  |
 | 
 |
 |  WELCOME TO MY COMPUTER 
 |
 | 
 |
 | 
 ---
  |
 | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * 
 NEW |
 | 
 ---
  |
 | 
 |
 | * 29.06.2012
 :current:   |
 | 
 |
 | No news is good news.   
 |
 | 
 |
 | * 28.06.2012
 :current:   |
 | 
 |
 | Everything fine today.  
 |
 | 
 |
 | * 20.06.2012
 |
 | 
 |
 | Down for maintenance.   
 |
 | 
 |
 | * 18.06.2012
 |
 | 
 |
 | My computer is now online   
 |
 | 
 |
 | 
 ---
  |
 | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * 
 NEW |
 | 
 ---
  |
 \=/

 When exported this gives me:

 /=\
 | 
 ---
  |
 | 
 |
 |   WELCOME TO MY BIG COMPUTER
 |
 | 
 |
 | 
 ---
  |
 | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * 
 NEW |
 | 
 ---
  |
 | 
 |
 | 29.06.2012  
 |
 | --  
 |
 | 
 |
 | No news is good news.   
 |
 | 
 |
 | 28.06.2012  
 |
 | --  
 |
 | 
 |
 | Everything fine today.  
 |
 | 
 |
 \=/


 Currently the footer is not exported.  Is there any way to achieve this?


What I should have said is that currently the footer is obviously part of the 
last
section and so is only 

Re: [O] ASCII export: footer possible?

2012-06-29 Thread Jambunathan K

There are two exporters now - old and new.

What command are you using for the export? C-c C-e a, M-x
org-export-dispatch.

If you customize org-e-ascii (yourself), it is possible that you can
generate the box programmatically on export and not have it in your Org
file.

How is the status generated - programmatically or otherwise?

 Hi,

 I want to maintain a list of news for a message of the day in an org
 file and export it to ASCII:

 /=\
 | #+OPTIONS: author:nil timestamp:nil toc:nil num:nil tags:nil H:3
 |
 | #+EXPORT_SELECT_TAGS: current   
 |
 | #+TITLE:
 |
 | 
 |
 | 
 ---
  |
 | 
 |
 |  WELCOME TO MY COMPUTER 
 |
 | 
 |
 | 
 ---
  |
 | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * 
 NEW |
 | 
 ---
  |
 | 
 |
 | * 29.06.2012
 :current:   |
 | 
 |
 | No news is good news.   
 |
 | 
 |
 | * 28.06.2012
 :current:   |
 | 
 |
 | Everything fine today.  
 |
 | 
 |
 | * 20.06.2012
 |
 | 
 |
 | Down for maintenance.   
 |
 | 
 |
 | * 18.06.2012
 |
 | 
 |
 | My computer is now online   
 |
 | 
 |
 | 
 ---
  |
 | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * 
 NEW |
 | 
 ---
  |
 \=/

 When exported this gives me:

 /=\
 | 
 ---
  |
 | 
 |
 |   WELCOME TO MY BIG COMPUTER
 |
 | 
 |
 | 
 ---
  |
 | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * 
 NEW |
 | 
 ---
  |
 | 
 |
 | 29.06.2012  
 |
 | --  
 |
 | 
 |
 | No news is good news.   
 |
 | 
 |
 | 28.06.2012  
 |
 | --  
 |
 | 
 |
 | Everything fine today.  
 |
 |

Re: [O] ASCII export: footer possible?

2012-06-29 Thread Loris Bennett
Jambunathan K kjambunat...@gmail.com writes:

 There are two exporters now - old and new.

 What command are you using for the export? C-c C-e a, M-x
 org-export-dispatch.

I'm using C-c C-e a with Org 7.8.11.

 If you customize org-e-ascii (yourself), it is possible that you can
 generate the box programmatically on export and not have it in your Org
 file.

 How is the status generated - programmatically or otherwise?

Sorry, my post was obviously confusing.  I just added the box in the
posting using Emacs's rebox.  By the footer I just meant this bit:

---
EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEW
---

at the end of the file. 

If by status you mean the 'current' tag, I just set it by hand when I
add a new message or remove it if I think the message is too old.

Cheers,

Loris

 Hi,

 I want to maintain a list of news for a message of the day in an org
 file and export it to ASCII:

 /=\
 | #+OPTIONS: author:nil timestamp:nil toc:nil num:nil tags:nil H:3   
  |
 | #+EXPORT_SELECT_TAGS: current  
  |
 | #+TITLE:   
  |
 |
  |
 | 
 ---
  |
 |
  |
 |  WELCOME TO MY COMPUTER
  |
 |
  |
 | 
 ---
  |
 | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS 
 * NEW |
 | 
 ---
  |
 |
  |
 | * 29.06.2012
 :current:   |
 |
  |
 | No news is good news.  
  |
 |
  |
 | * 28.06.2012
 :current:   |
 |
  |
 | Everything fine today. 
  |
 |
  |
 | * 20.06.2012   
  |
 |
  |
 | Down for maintenance.  
  |
 |
  |
 | * 18.06.2012   
  |
 |
  |
 | My computer is now online  
  |
 |
  |
 | 
 ---
  |
 | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS 
 * NEW |
 | 
 ---
  |
 \=/

 When exported this gives me:

 /=\
 | 
 ---
  |
 |
  |
 |   WELCOME TO MY BIG COMPUTER   
  |
 |
  |
 | 
 ---
  |
 | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS 
 * NEW |
 | 
 ---
  |
 |
  |
 | 29.06.2012 
  |
 | -- 
  |
 |  

Re: [O] ASCII export: footer possible?

2012-06-29 Thread Jambunathan K
Loris Bennett loris.benn...@fu-berlin.de writes:

 There are two exporters now - old and new.

 What command are you using for the export? C-c C-e a, M-x
 org-export-dispatch.

 I'm using C-c C-e a with Org 7.8.11.

I am just persuading you to try the new exporter as well :-).  It is
possible that you get what you want.

-- 



Re: [O] [LibreOffice] (void-variable org-line)

2012-06-29 Thread Sebastien Vauban
Hi Jambunathan,

Jambunathan K wrote:
 Debugger entered--Lisp error: (error Cannot determine style name for
 entity default of type character)

 I have pushed a fix.  The problem is:

 There is a string that matches `org-emph-re'. (May be you are using @...@
 for marking things specially).

You must have a crystal ball... That's exactly it -- and I would never have
thought at that, despite the message.

 But there is no entry for it in `org-lparse-char-styles'. Since a style name
 was not found, org-odt.el is complaining. For now, such text spans will be
 marked with Default character style.

 If you want them to be marked with emphasis (or any of the known styles)
 then do,

  (eval-after-load 'org-lparse
'(push (quote (@ emphasis)) org-lparse-char-styles))

 If want to roll out your own style (for example highlight the text span),
 you need to add relevant entries to `org-lparse-char-styles',
 `org-export-odt-default-org-styles-alist' and also the styles.xml. i.e.,
 changes are going to be a bit elaborate.

I've updated Org, and retried the export -- without changing one single line
to my document.

It works perfectly. Thanks a lot, Jambunathan!

Best regards,
  Seb

-- 
Sebastien Vauban




[O] [LibreOffice] Modified buffers

2012-06-29 Thread Sebastien Vauban
Hi Jambunathan,

There is one little annoyance after converting to ODT: the fact that files
such as...

  c:/WINDOWS/Temp/odt-172wPK/content.xml

... stay as modified buffers.  I wouldn't mind much if they would be open but
saved.  But, now, we have to answer to a question for every of them, when
quitting Emacs.

Is there a way to work around this?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] R and babel on Windows problem

2012-06-29 Thread Alexander Vorobiev
John,

Do you have native Windows emacs or cygwin emacs? I use native emacs on XP
with the latest released ess and org-mode, and have no problems with
calling R from babel. I do not set the  org-babel-R-command which has its
default value R --slave --no-save and let ess find path to R on my system.

Regards,
Alex

On Thu, Jun 28, 2012 at 12:46 PM, John Hendy jw.he...@gmail.com wrote:

 I typically use orgmode + babel on Linux and have no problems. Trying
 to run on Windows 7 and having issues...

 The pertinent bits from .emacs:
 --
 ;; setup babel
 (add-to-list 'load-path ~/.emacs.d/ess-12.04/lisp)
 (require 'ess-site)
 (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R)
 (org-babel-do-load-languages
  'org-babel-load-languages
  '((latex . t)
   (R . t)))
 --

 When I try to execute a simple R src block, I get: The system cannot
 find the path specified. I get the same with or without setting the
 org-babel-R-command path and with or without using R.exe instead of
 just R.

 There's an *ESS* buffer that /appears/ to be finding the versions of R
 on my machine:
 --
 [ess-site.el]: ess-customize-alist=nil
 [ess-site.el _2_]: ess-customize-alist=nil
 (R): ess-r-versions-create making M-x defuns for
  R-2.15.0-64bit
  R-2.14.1-64bit
 --

 Any suggestions?


 Best regards,
 John




Re: [O] R and babel on Windows problem

2012-06-29 Thread John Hendy
On Fri, Jun 29, 2012 at 9:59 AM, Alexander Vorobiev
alexander.vorob...@gmail.com wrote:
 John,

 Do you have native Windows emacs or cygwin emacs? I use native emacs on XP
 with the latest released ess and org-mode, and have no problems with calling
 R from babel. I do not set the  org-babel-R-command which has its default
 value R --slave --no-save and let ess find path to R on my system.


I installed native Windows and compile org-mode from git with that no
compiler worg ditty.
-- http://orgmode.org/worg/org-hacks.html#compiling-org-without-make

Actually, in finding that page, it looks like it's been updated. I've
been using that compile-org lisp code in .emacs and now it appears
that functionality is included by default. Maybe I'll update via git
and use the built in stuff to see if that helps?

Like I said, setting org-babel-R-command makes no difference
(commenting it out and re-loading .emacs still produces the error).

Also, ess, as posted below, *does* seem to find my installed R
versions, so it doesn't seem to be an ess issue?


Any other suggestions to try?
John

 Regards,
 Alex


 On Thu, Jun 28, 2012 at 12:46 PM, John Hendy jw.he...@gmail.com wrote:

 I typically use orgmode + babel on Linux and have no problems. Trying
 to run on Windows 7 and having issues...

 The pertinent bits from .emacs:
 --
 ;; setup babel
 (add-to-list 'load-path ~/.emacs.d/ess-12.04/lisp)
 (require 'ess-site)
 (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R)
 (org-babel-do-load-languages
  'org-babel-load-languages
  '((latex . t)
   (R . t)))
 --

 When I try to execute a simple R src block, I get: The system cannot
 find the path specified. I get the same with or without setting the
 org-babel-R-command path and with or without using R.exe instead of
 just R.

 There's an *ESS* buffer that /appears/ to be finding the versions of R
 on my machine:
 --
 [ess-site.el]: ess-customize-alist=nil
 [ess-site.el _2_]: ess-customize-alist=nil
 (R): ess-r-versions-create making M-x defuns for
  R-2.15.0-64bit
  R-2.14.1-64bit
 --

 Any suggestions?


 Best regards,
 John





Re: [O] local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC

2012-06-29 Thread Giacomo M
Actually it was just the space
sorry for the noise

On Fri, Jun 29, 2012 at 4:23 PM, Giacomo M jackja...@gmail.com wrote:

 apparently these lines in my emacs init file were causing the export error:
 (add-hook 'org-mode-hook
  (lambda ()
 (local-set-key \C-c a 'org-agenda)
 ))

 but I'm not enough competent to say why.

 Il 27/06/2012 18.36, Giacomo M ha scritto:

  Dear all,
 I'm getting the error in the subject when trying to export an .org file,
 e.g. to HTML or LATEX.
 who would be so kind to explain me what's happening?
 Thanks,

 Giacomo






Re: [O] local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC

2012-06-29 Thread Nick Dokos
Giacomo M jackja...@gmail.com wrote:

 Actually it was just the space
 sorry for the noise
 
 On Fri, Jun 29, 2012 at 4:23 PM, Giacomo M jackja...@gmail.com wrote:
 
 apparently these lines in my emacs init file were causing the export 
 error:
 (add-hook 'org-mode-hook
          (lambda ()
             (local-set-key \C-c a 'org-agenda)
 ))

 but I'm not enough competent to say why.

 Il 27/06/2012 18.36, Giacomo M ha scritto:
 
 Dear all,
 I'm getting the error in the subject when trying to export an .org 
 file, e.g. to HTML or
 LATEX.
 who would be so kind to explain me what's happening?
 Thanks,

 Giacomo
 

But in any case, don't you want a *global* binding, so that you can
invoke the agenda from anywhere? With the above, you have to be in an
org-mode buffer to do so.

Nick



Re: [O] Organizing a collection of papers

2012-06-29 Thread Thomas S. Dye
John Wiegley jo...@newartisans.com writes:

 Frank  f...@muenn.net writes:

 I've used org-mode about a year and a half, and I don't think it's the best
 application for what you describe.  There are several packages available to
 do this; the one I've used most often and successfully is Zotero
 (zotero.org).  This is a browswer plug-in which implements a very nice
 database for your papers.  At this point, I've indexed 1092 papers (PDFs,
 web pages and other materials).  In some cases, I have multiple files
 attached to each of them.

 If you happen to have a Mac, the application DEVONthink Pro is simply
 wonderful for organizing collections like this.  I have about 7k PDFs in a
 financial database, and it's always easy to find what I'm looking for.

 John


I work in Org mode and LaTeX.  Ebib is integrated with both of them.
I follow an Org mode link or a LaTeX citation to the BibTeX entry in
Ebib, then open the pdf from Ebib using a link stored in the BibTeX
file.  I think Ebib is a splendid tool in this situation.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] git repository via http broken

2012-06-29 Thread Jason Dunsmore
On Tue, Jun 26 2012, Nick Dokos wrote:

 PS BTW, I know that git gc is recommended on local repos, but is that
applicable to the repo on orgmode.org? and would that help with the
cloning time?  2.5 mins seems long to me. If not gc, is there
something else that would help?

Hi Nick,

It looks like git gc was needed on the server.

Before git gc on server:

--8---cut here---start-8---
$ time git clone git://orgmode.org/org-mode.git
Cloning into org-mode...
remote: Counting objects: 62414, done. - Server disk I/O 
bottleneck
remote: Compressing objects: 100% (18532/18532), done. - Server CPU 
bottleneck
remote: Total 62414 (delta 49455), reused 55032 (delta 43761)
Receiving objects: 100% (62414/62414), 55.46 MiB | 1.16 MiB/s, done.  - 
Network bottleneck
Resolving deltas: 100% (49455/49455), done.- Local CPU 
bottleneck

real2m44.757s
user0m11.269s
sys0m0.740s
--8---cut here---end---8---

After git gc on server:

--8---cut here---start-8---
$ time git clone git://orgmode.org/org-mode.git
Cloning into org-mode...
remote: Counting objects: 62414, done.
remote: Compressing objects: 100% (12836/12836), done.
remote: Total 62414 (delta 49457), reused 62414 (delta 49457)
Receiving objects: 100% (62414/62414), 55.41 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (49457/49457), done.

real0m59.071s
user0m11.305s
sys0m0.668s
--8---cut here---end---8---

I've set up a weekly cron job to run git gc on the org-mode repo.

Jason



Re: [O] R and babel on Windows problem

2012-06-29 Thread Alexander Vorobiev
John,

I have no experience with the development version of org-mode. Try
activating 'enter debugger on error' flag to see where exactly it runs into
problems. Also try launching R first in ess so that there is active R
session available to babel.

Regards,
Alex


On Fri, Jun 29, 2012 at 10:24 AM, John Hendy jw.he...@gmail.com wrote:

 On Fri, Jun 29, 2012 at 9:59 AM, Alexander Vorobiev
 alexander.vorob...@gmail.com wrote:
  John,
 
  Do you have native Windows emacs or cygwin emacs? I use native emacs on
 XP
  with the latest released ess and org-mode, and have no problems with
 calling
  R from babel. I do not set the  org-babel-R-command which has its default
  value R --slave --no-save and let ess find path to R on my system.
 

 I installed native Windows and compile org-mode from git with that no
 compiler worg ditty.
 -- http://orgmode.org/worg/org-hacks.html#compiling-org-without-make

 Actually, in finding that page, it looks like it's been updated. I've
 been using that compile-org lisp code in .emacs and now it appears
 that functionality is included by default. Maybe I'll update via git
 and use the built in stuff to see if that helps?

 Like I said, setting org-babel-R-command makes no difference
 (commenting it out and re-loading .emacs still produces the error).

 Also, ess, as posted below, *does* seem to find my installed R
 versions, so it doesn't seem to be an ess issue?


 Any other suggestions to try?
 John

  Regards,
  Alex
 
 
  On Thu, Jun 28, 2012 at 12:46 PM, John Hendy jw.he...@gmail.com wrote:
 
  I typically use orgmode + babel on Linux and have no problems. Trying
  to run on Windows 7 and having issues...
 
  The pertinent bits from .emacs:
  --
  ;; setup babel
  (add-to-list 'load-path ~/.emacs.d/ess-12.04/lisp)
  (require 'ess-site)
  (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R)
  (org-babel-do-load-languages
   'org-babel-load-languages
   '((latex . t)
(R . t)))
  --
 
  When I try to execute a simple R src block, I get: The system cannot
  find the path specified. I get the same with or without setting the
  org-babel-R-command path and with or without using R.exe instead of
  just R.
 
  There's an *ESS* buffer that /appears/ to be finding the versions of R
  on my machine:
  --
  [ess-site.el]: ess-customize-alist=nil
  [ess-site.el _2_]: ess-customize-alist=nil
  (R): ess-r-versions-create making M-x defuns for
   R-2.15.0-64bit
   R-2.14.1-64bit
  --
 
  Any suggestions?
 
 
  Best regards,
  John
 
 



Re: [O] local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC

2012-06-29 Thread Jambunathan K

1. M-x local-set-key (or M-x global-set-key) (and follow the prompts).

2. Once done, do M-x list-command-history and you will see a lisp form
   that you can insert in to your .emacs.

Giacomo M jackja...@gmail.com writes:

 Actually it was just the space
 sorry for the noise

 On Fri, Jun 29, 2012 at 4:23 PM, Giacomo M jackja...@gmail.com
 wrote:

 apparently these lines in my emacs init file were causing the
 export error:
 (add-hook 'org-mode-hook
          (lambda ()
             (local-set-key \C-c a 'org-agenda)
 ))

 but I'm not enough competent to say why.

 Il 27/06/2012 18.36, Giacomo M ha scritto:


 Dear all,
 I'm getting the error in the subject when trying to export an
 .org file, e.g. to HTML or LATEX.
 who would be so kind to explain me what's happening?
 Thanks,

 Giacomo








-- 



Re: [O] [LibreOffice] Modified buffers

2012-06-29 Thread Jambunathan K
Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes:

 Hi Jambunathan,

 There is one little annoyance after converting to ODT: the fact that files
 such as...

   c:/WINDOWS/Temp/odt-172wPK/content.xml

 ... stay as modified buffers.  I wouldn't mind much if they would be open but
 saved.  But, now, we have to answer to a question for every of them, when
 quitting Emacs.

 Is there a way to work around this?

The temporary XML buffers remain open only when the export throws an
error.  I definitely to cleanup the temporary buffers.

I will put in a fix sometime soon.

 Best regards,
   Seb

-- 



Re: [O] git repository via http broken

2012-06-29 Thread Nick Dokos
Jason Dunsmore jasondunsm...@gmail.com wrote:

 On Tue, Jun 26 2012, Nick Dokos wrote:
 
  PS BTW, I know that git gc is recommended on local repos, but is that
 applicable to the repo on orgmode.org? and would that help with the
 cloning time?  2.5 mins seems long to me. If not gc, is there
 something else that would help?
 
 Hi Nick,
 
 It looks like git gc was needed on the server.
 
 Before git gc on server:
 
 $ time git clone git://orgmode.org/org-mode.git
 Cloning into org-mode...
 remote: Counting objects: 62414, done. - Server disk I/O 
 bottleneck
 remote: Compressing objects: 100% (18532/18532), done. - Server CPU 
 bottleneck
 remote: Total 62414 (delta 49455), reused 55032 (delta 43761)
 Receiving objects: 100% (62414/62414), 55.46 MiB | 1.16 MiB/s, done.  - 
 Network bottleneck
 Resolving deltas: 100% (49455/49455), done.- Local CPU 
 bottleneck
 
 real2m44.757s
 user0m11.269s
 sys0m0.740s
 
 After git gc on server:
 
 $ time git clone git://orgmode.org/org-mode.git
 Cloning into org-mode...
 remote: Counting objects: 62414, done.
 remote: Compressing objects: 100% (12836/12836), done.
 remote: Total 62414 (delta 49457), reused 62414 (delta 49457)
 Receiving objects: 100% (62414/62414), 55.41 MiB | 1.12 MiB/s, done.
 Resolving deltas: 100% (49457/49457), done.
 
 real0m59.071s
 user0m11.305s
 sys0m0.668s
 

That's a pretty good speed-up! I tried the same with http just now and got:

$ time git clone http://orgmode.org/org-mode.git
Cloning into org-mode...

real3m30.619s
user0m10.970s
sys 0m0.750s

so it improved on the 5 mins I was getting before by roughly 35%.

My git time was pretty bad though (4.5 mins): I suspect clogging on the
link to my ISP, so both of these numbers are probably suspect. I'll try
again later tonight and see what I get.

 I've set up a weekly cron job to run git gc on the org-mode repo.
 

Great!

Thanks,
Nick



Re: [O] new exporter

2012-06-29 Thread Achim Gratz
Nicolas Goaziou writes:
 I think you can go ahead and commit it: your description of the problem
 will be more accurate than mine.

 Thank you for this investigation and, obviously, for the fix.

You give me too much credit here... the patch fixes things in that it
will now consistently compile, but it doesn't work correctly anymore,
compiled or otherwise.  I'm not sure what you intended the
macroexpansion to be at the place of use, hence my suggestion to check
these macros again.


Regards,
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] R and babel on Windows problem

2012-06-29 Thread Achim Gratz
[re-sent]

John Hendy writes:
 I typically use orgmode + babel on Linux and have no problems. Trying
 to run on Windows 7 and having issues...

 (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R)

Try the 8.3 compatible name to avoid the space in the path.  If it ever
goes through more than one level of unquoting it will otherwise break.

(setq org-babel-R-command C:/Progra~1/R/R-2.15.0/bin/R)


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

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] R and babel on Windows problem

2012-06-29 Thread John Hendy
On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz strom...@nexgo.de wrote:
 [re-sent]

 John Hendy writes:
 I typically use orgmode + babel on Linux and have no problems. Trying
 to run on Windows 7 and having issues...

 (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R)

 Try the 8.3 compatible name to avoid the space in the path.  If it ever
 goes through more than one level of unquoting it will otherwise break.

 (setq org-babel-R-command C:/Progra~1/R/R-2.15.0/bin/R)

Same error. Also, curiously, =M-x customize-variable RET org-babel-R
TAB= yields no results... is this the right variable?


John



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

 Factory and User Sound Singles for Waldorf Blofeld:
 http://Synth.Stromeko.net/Downloads.html#WaldorfSounds





Re: [O] R and babel on Windows problem

2012-06-29 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote:

 On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz strom...@nexgo.de wrote:
  [re-sent]
 
  John Hendy writes:
  I typically use orgmode + babel on Linux and have no problems. Trying
  to run on Windows 7 and having issues...
 
  (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R)
 
  Try the 8.3 compatible name to avoid the space in the path.  If it ever
  goes through more than one level of unquoting it will otherwise break.
 
  (setq org-babel-R-command C:/Progra~1/R/R-2.15.0/bin/R)
 
 Same error. Also, curiously, =M-x customize-variable RET org-babel-R
 TAB= yields no results... is this the right variable?
 

It is, but it seems not to have a customizable interface I guess: I get
the same result you do with customize-variable. OTOH, C-h v
org-babel-R-TAB brings it up with no problem.

Nick




Re: [O] R and babel on Windows problem

2012-06-29 Thread John Hendy
On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos nicholas.do...@hp.com wrote:
 John Hendy jw.he...@gmail.com wrote:

 On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz strom...@nexgo.de wrote:
  [re-sent]
 
  John Hendy writes:
  I typically use orgmode + babel on Linux and have no problems. Trying
  to run on Windows 7 and having issues...
 
  (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R)
 
  Try the 8.3 compatible name to avoid the space in the path.  If it ever
  goes through more than one level of unquoting it will otherwise break.
 
  (setq org-babel-R-command C:/Progra~1/R/R-2.15.0/bin/R)

 Same error. Also, curiously, =M-x customize-variable RET org-babel-R
 TAB= yields no results... is this the right variable?



 It is, but it seems not to have a customizable interface I guess: I get
 the same result you do with customize-variable. OTOH, C-h v
 org-babel-R-TAB brings it up with no problem.

Good call. It comes up with that and is set to the above (Progra~1
version) but is still saying command not found when I try C-c C-c on a
babel block.

Any debug methods?

Using =M-x R= works find. ESS is finding R. I successfully loaded a
.csv, ggplot2 and plotted.


John

John


 Nick




Re: [O] R and babel on Windows problem

2012-06-29 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote:

 On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos nicholas.do...@hp.com wrote:
  John Hendy jw.he...@gmail.com wrote:
 
  On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz strom...@nexgo.de wrote:
   [re-sent]
  
   John Hendy writes:
   I typically use orgmode + babel on Linux and have no problems. Trying
   to run on Windows 7 and having issues...
  
   (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R)
  
   Try the 8.3 compatible name to avoid the space in the path.  If it ever
   goes through more than one level of unquoting it will otherwise break.
  
   (setq org-babel-R-command C:/Progra~1/R/R-2.15.0/bin/R)
 
  Same error. Also, curiously, =M-x customize-variable RET org-babel-R
  TAB= yields no results... is this the right variable?
 
 
 
  It is, but it seems not to have a customizable interface I guess: I get
  the same result you do with customize-variable. OTOH, C-h v
  org-babel-R-TAB brings it up with no problem.
 
 Good call. It comes up with that and is set to the above (Progra~1
 version) but is still saying command not found when I try C-c C-c on a
 babel block.
 
 Any debug methods?
 

edebug org-babel-R-evaluate-external-process and single step through it
perhaps? I would clean up .elc files and start a new emacs before trying
that just to makee sure that I have a clean slate. You might have to go
down to org-babel-eval as well and single step through that.

Nick

 Using =M-x R= works find. ESS is finding R. I successfully loaded a
 .csv, ggplot2 and plotted.
 
 
 John
 
 John
 
 
  Nick
 
 



[O] Exporting to groff, now in org-export.el ...

2012-06-29 Thread Luis Anaya

 
  Nick Dokos nicholas.do...@hp.com writes:
 
 
  Oh... ok.. good! I have no problem taking a look at it. I'll just create
  a groff exporter based on that code then. I have a vested interest being
 
 Also, you have some documentation for back-end developers at:
 
   http://orgmode.org/worg/dev/org-export-reference.html
 

Hi:

First release (?!) of the org-e-groff.el is available. I still need to do more 
testing
but it manages to export from org. 
 
The code is in the same github location, 
http://github.com/papoanaya/emacs_utils. 

Sample Output at http://ppl.ug/VzS3BGQjFgw/

One thing I have not managed to export are the deadlines/scheduled dates. 
The code to export and add the appropriate markup is completed, but 
that code is not running. 

I am aware that there is a flag at org-export.el to control the output,  but 
they are 
all t.  Before I go all crazy on this, I need to ask if this is a feature to 
control its output
or am I missing something that I should take a look.

Thanks a bunch.


Luis

  


Re: [O] essentially turn off font-lock except for headings

2012-06-29 Thread Eric Fraga
Enda enda...@yahoo.com writes:

 Is there a way to do this on a per-file setting?

Not that I am aware of.
Sorry.

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.1.50.1 and Org release_7.8.11-14-g4b0121




Re: [O] R and babel on Windows problem

2012-06-29 Thread Achim Gratz
John Hendy writes:
 (setq org-babel-R-command C:/Progra~1/R/R-2.15.0/bin/R)

 Same error. Also, curiously, =M-x customize-variable RET org-babel-R
 TAB= yields no results... is this the right variable?

That variable doesn't seem to have acustomize interface.  Might be worth
a bug report.

If the error persists, then it doesn't seem to be the R command that is
not found.  I don't know what is involved in setting up an R session,
much less on Windows.  You might have more luck to just install Cygwin
and use Emacs/R from there if you already know your way around Linux.


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

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables