Re: [Orgmode] Failed to create radio tables

2010-07-10 Thread Nicolas Goaziou
Hello,

> Nick Dokos writes:
> Second, the name of the list ("to-buy") includes a dash, but the
> regexp in org-list-send-list does not match it: it works better if
> the dash is replaced by an underscore in the example, but maybe the
> regexp should be made more general.

I've already corrected this and the problem of nested lists you're
talking about in my branch redefining lists.

The regexp was indeed too specific: it is now on par with the one used
in ORGTBL. I also redefined org-list-radio-list-templates as they
were inserting a table and not a list.

About the binding, C-c C-c is not a good choice (do I want to send
list or toggle check-box?). Anyway it should belong to orgstruct-mode,
IMO.

Regards,

-- Nicolas

___
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] Failed to create radio tables

2010-07-10 Thread Nick Dokos
Nicolas Goaziou  wrote:

> Hello,
> > Nick Dokos writes:
> 
> > Afaict, the only thing missing is the handy C-c C-c keybinding - or
> > am I wrong about this too?
> 
> You're right. There is no keybinding for that. Though, as a little
> relief, with proper completion, M-x olsl TAB RET is enough.
> 

BTW, Angel was reading appending A.5.4 (not A.5.2 as I mistakenly
assumed) and afaict, he is right: first of all, there is a typo in the
appendix (ORGLIST vs ORGLST); second, the name of the list ("to-buy")
includes a dash, but the regexp in org-list-send-list does not match it:
it works better if the dash is replaced by an underscore in the example,
but maybe the regexp should be made more general.

But the appendix also claims that C-c C-c on the first element of the
list *should* work, and I don't think it does - but it's not clear to me
what minor mode(s) should be in operation in order for this to work.
What binding should I expect for C-C C-c at that poing?

Thanks,
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


Re: [Orgmode] [google] updated awk script for google to org conversion

2010-07-10 Thread Daniel Martins
Eric,

It is working (up to the moment) perfectly!!

I am really grateful to you!

Daniel

2010/7/9 Eric S Fraga :
> I've updated the awk script for converting Google calendar iCal export to org:
>
> - the time zone calculation is now down completely within the awk
>  script, not requiring any external calculations.
>
> - fixed handling of continuation lines as Google seems to have
>  changed, since last night, the format of the export iCal entries.
>
> Again, comments, questions and criticisms all more than welcome!
>
> Please note that the shell command required to use this is now much simpler:
>
>  awk -f thisawkscript < icsfile > orgfile
>
> as there is no longer any need to define the SECONDS variable.
>
> Enjoy! :)
>
> eric
>
> --
> Eric S Fraga
> GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
>
> ___
> 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] Failed to create radio tables

2010-07-10 Thread Nick Dokos
Nicolas Goaziou  wrote:

> > Afaict, the only thing missing is the handy C-c C-c keybinding - or
> > am I wrong about this too?
> 
> You're right. There is no keybinding for that. Though, as a little
> relief, with proper completion, M-x olsl TAB RET is enough.
> 

I expect Carsten will have incorporated it in orgtbl-ctrl-c-ctrl-c by this
time tomorrow :-) Seriously, I don't mind the typing: I just won't
remember the name of the function, but that's my problem, not yours ;-)

As an aside, I get different lists radioed, depending on where point
is when I call the function: if I'm in the second-level list, only
that is radioed; if I'm somewhere in the first level, the whole list
is radioed. Bug or feature? Or maybe pilot error?

Thanks,
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


Re: [Orgmode] Failed to create radio tables

2010-07-10 Thread Nicolas Goaziou
Hello,
> Nick Dokos writes:

> Afaict, the only thing missing is the handy C-c C-c keybinding - or
> am I wrong about this too?

You're right. There is no keybinding for that. Though, as a little
relief, with proper completion, M-x olsl TAB RET is enough.

Regards,

-- Nicolas

___
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: add event reminders to iCalendar export

2010-07-10 Thread Eric S Fraga
Carsten et al.,

Okay, I've tried following the instructions for submitting patches.
I've learned more git than I thought I needed the past few days... ;-) 

Anyway, I've uploaded my changes to

git://github.com/ericsfraga/esf-org.git

under branch "icalalarm" assuming I've done things correctly.  Please
do let me know if I should have done anything differently.

The changes are to allow timed events exported with an alarm reminder
if the variable org-icalendar-alarm-time is non-zero (defaults to 0 so
that default behaviour remains as it was before).

Thanks,
eric
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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: Diary synchronising with Google calendar

2010-07-10 Thread Eric S Fraga
On Sat, 10 Jul 2010 08:53:42 +0200, Jordi Inglada 
 wrote:
> 
> Eric,
> 
> Thanks for your reply. Now I understand.
> 
> The advice function is now called when I add a diary entry, however,
> when I load emacs I get this message:
> 
> Warning: reference to free variable `d1'
> 
> And when I add a diary entry, I get an error message like this:
> 
> org-agenda-diary-entry-in-org-file: Wrong number of arguments: 

[...]

 [ad-return-value d1 dates
> entry d2 day1 nil
> ad-Orig-org-agenda-add-entry-to-org-agenda-diary-file 2 block ...] 17
> #("Advice doc string" 0 17 (ad-advice-info
> org-agenda-add-entry-to-org-agenda-diary-file))], 3
> 
> 
> I am not sure to use the right syntax for the diary entry.

I think this is more than likely due to you using a older version of
org mode.  What version are you using?  (try "M-x org-version RET").
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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] Failed to create radio tables

2010-07-10 Thread Nick Dokos
Nick Dokos  wrote:

> 
> AFAIK, you *cannot* do something similar with lists (which is what
> you seem to have tried with your modifications to the example), but lists
> are much easier to deal with directly in LaTeX.
> 

I stand corrected: as Nicolas Goaziou points out elsewhere in this
thread, you *can* do that with lists - afaict, the only thing missing is
the handy C-c C-c keybinding - or am I wrong about this too?

Thanks,
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


Re: [Orgmode] Failed to create radio tables

2010-07-10 Thread Nicolas Goaziou
Hello,
> Angel Popov writes:
> I copied
>  % BEGIN RECEIVE ORGLST to-buy   % END RECEIVE ORGLST to-buy   
> \begin{comment}   #+ORGLIST: SEND to-buy orgtbl-to-latex   - a new 
> house   
> - a new computer + a new keyboard + a new mouse   - a new 
> life   \end{comment}

> and when I C-c C-c on '- a new house' nothing happend

Try this:

-
\documentclass{article}

\begin{document}
% BEGIN RECEIVE ORGLST tobuy
% END RECEIVE ORGLST tobuy   

\begin{comment}   
#+ORGLST: SEND tobuy org-list-to-latex   
- a new house   
- a new computer
  + a new keyboard 
  + a new mouse   
- a new life   
\end{comment}
\end{document}
-

and M-x org-list-send-list anywhere on the list. It works here.

Regards,

-- Nicolas

___
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: [ANN] New lists definition

2010-07-10 Thread Nicolas Goaziou
If anyone wants to test it, new location is:

   g...@github.com:ngz/org-mode-lists.git  branch: end-lists

It should be mostly on par with git head (which was not the case
before).

-- Nicolas


___
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-freemind-to-org-mode

2010-07-10 Thread David Maus
J. David Boyd wrote:

>How is this used.   My lisp-fu is week, or I would read the source and
>figure it out

>I've tried several variants, and gotten nowhere.

It might be helpful to know (a) what exactly you want to achieve, (b)
what you've tried so far, and (c) why you are not satisfied with it.

Best,
  -- David

http://catb.org/esr/faqs/smart-questions.html

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp4tOsvt3xew.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


Re: [Orgmode] How to setup xdg for org-protocol ?

2010-07-10 Thread David Maus
Sebastian Rose wrote:
>Julien Fantin  writes:
>> I've been struggling this morning trying to get org-protocol setup on my
>> linux box (via http://orgmode.org/worg/org-contrib/org-protocol.php)
>>
>> I can't get a web-browser to register org-protcol with emacsclient, as I'm
>> not using a desktop environment (plain startx and openbox), I'm pretty sure
>> this is an xdg config issue.
>> However, despite reading through the specs I couldn't fathom the proper
>> settings.
>>
>> In chromium, the external application comes up, and calls xdg-open
>> org-protocol://subprotocol/... which ends up firing a new chromium frame
>>
>> In firefox, I've tried setting network.protocol-handler.app.org-protocol to
>> an empty string or my emacsclient path, anyhow I get the following error
>> message :
>> "Firefox doesn't know how to open this address, because the protocol
>> (org-protocol) isn't associated with any program" without showing any
>> external application selection  dialog.


>Hi Julien,


>see
>http://kb.mozillazine.org/Register_protocol#All_Firefox_versions_.28requires_certain_Gnome_libraries_to_be_installed.29

Or, of course "Firefox 3.5 specific (works without installed Gnome
libraries)".  Worked fine for me (dwm), just one thing that is IIRC
not mentioned on Worg: You have to click on protocol link to set path
to emacsclient.  E.g.

cat >> /tmp/test.html

pgpcw4VmML0w3.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


Re: [Orgmode] links customization in org-mode

2010-07-10 Thread David Maus
תומר לוין wrote:
>[1  ]
>[1.1  ]
>Is there an option the set the color of the link to be in the same color of 
>the hirarchy it is related , and not the defaut
>link color ?

>In other words not to assign default color the a link,but keep it as
>like other items in the same hirarchy?

You could customize the face `org-link'.  I.e. 

M-x customize-face RET org-face RET

and remove face properties.

HTH
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpef04MLcWAV.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


Re: [Orgmode] Failed to create radio tables

2010-07-10 Thread Nick Dokos
Angel Popov  wrote:

> Hi, 
> I am following example on radio tables but it looks that it does not work.
> I copied
> 
>  % BEGIN RECEIVE ORGLST to-buy
>  % END RECEIVE ORGLST to-buy
>  \begin{comment}
>  #+ORGLIST: SEND to-buy orgtbl-to-latex
>  - a new house
>  - a new computer
>+ a new keyboard
>+ a new mouse
>  - a new life
>  \end{comment}
> 
> and when I C-c C-c on '- a new house' nothing happend
> 

Well, you are not following the example exactly (App. A.5.2 of the Org
manual): you are trying to extend it to lists and I'm not sure that you
can do that.  So let me go back to the example in the manual and explain
the rationale:

The idea is that specifying tables in Org is easy, but specifying tables
in LaTeX is harder. It would be convenient if you could use Org mode
syntax for tables *in your LaTeX file* and have the LaTeX table
generated automatically from that.  That's what radio tables do for you:
in your LaTeX file, you include the table in Org syntax *as a comment* and
then you use orgtbl facilities to automatically generate your LaTeX
table.

So here's my LaTeX file with the example table:

--8<---cut here---start->8---
\documentclass{article}

\begin{document}
Here's a table of stuff:

% BEGIN RECEIVE ORGTBL to-buy
% END RECEIVE ORGTBL to-buy


\begin{comment}
The Org table is inside a LaTeX comment.

#+ORGTBL: SEND to-buy orgtbl-to-latex
| foo | bar |
|-+-|
|   1 |   2 |
|   3 |   4 |
\end{comment}

\end{document}
--8<---cut here---end--->8---

When you edit this file, the major mode of the buffer is going to be
LaTeX-mode, not Org-mode. This is where orgtbl-mode comes in: it's a
minor mode, so you can enable it in your LaTeX-mode buffer:

M-x orgtbl-mode 

and then you have the orgtbl facilities available in the buffer where
you are editing your LaTeX file. Now put your cursor somewhere in the
Org table and say C-c C-c - presto, change-o, you get this:

--8<---cut here---start->8---
\documentclass{article}

\begin{document}
Here's a table of stuff:

% BEGIN RECEIVE ORGTBL to-buy
\begin{tabular}{rr}
foo & bar \\
\hline
1 & 2 \\
3 & 4 \\
\end{tabular}
% END RECEIVE ORGTBL to-buy


\begin{comment}
The Org table is inside a LaTeX comment.

#+ORGTBL: SEND to-buy orgtbl-to-latex
| foo | bar |
|-+-|
|   1 |   2 |
|   3 |   4 |
\end{comment}

\end{document}
--8<---cut here---end--->8---

Process this with LaTeX and you get a nicely typeset table, without
having to worry much about the finicky LaTeX syntax. Plus, if you
need to change the table, you change the Org table in the comment,
press C-c C-c again and the change is propagated automatically to the
LaTeX table.

In addition, if you enable orgtbl-mode before you even start, then you
have all the nice shortcuts for *editing* the Org table in the first
place. In fact, it's handy to have orgtbl-mode *always* enabled when you
edit LaTeX files. You can do that by using the appropriate hook.  For
example, if you use AucTeX, add the following line to your .emacs (after
the place where AucTeX is initialized, so that it has a chance to define
the hook):

  (add-hook 'LaTeX-mode-hook 'orgtbl-mode)


AFAIK, you *cannot* do something similar with lists (which is what
you seem to have tried with your modifications to the example), but lists
are much easier to deal with directly in LaTeX.

Hope this makes things clearer,
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


Re: [Orgmode] How to setup xdg for org-protocol ?

2010-07-10 Thread Sebastian Rose
Julien Fantin  writes:
> I've been struggling this morning trying to get org-protocol setup on my
> linux box (via http://orgmode.org/worg/org-contrib/org-protocol.php)
>
> I can't get a web-browser to register org-protcol with emacsclient, as I'm
> not using a desktop environment (plain startx and openbox), I'm pretty sure
> this is an xdg config issue.
> However, despite reading through the specs I couldn't fathom the proper
> settings.
>
> In chromium, the external application comes up, and calls xdg-open
> org-protocol://subprotocol/... which ends up firing a new chromium frame
>
> In firefox, I've tried setting network.protocol-handler.app.org-protocol to
> an empty string or my emacsclient path, anyhow I get the following error
> message :
> "Firefox doesn't know how to open this address, because the protocol
> (org-protocol) isn't associated with any program" without showing any
> external application selection  dialog.


Hi Julien,


see
http://kb.mozillazine.org/Register_protocol#All_Firefox_versions_.28requires_certain_Gnome_libraries_to_be_installed.29
 



HTH

  Sebastian



___
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] key binding requests

2010-07-10 Thread Jonathan Arkell
> I'm loving the level of polish and sophistication that have been
> achieved with org-babel.  My entire PhD thesis is currently written in
> org and org-babel, and it's the best authoring system I've ever used.

Agreed!  Although I am coming from a completely different perspective 
(Developer using it for literate programming), org-babel is, in fact, as the 
kids say, the bomb.

> First, in terms of navigation, I would love to have keybindings under
> the C-c C-v prefix that would navigate to the next and previous babel
> blocks.  org-babel-goto-named-source-block[fn:1] is great, but a) not all my 
> blocks are named, and b) I don't always remember the name of the block
> I'm looking for.

One of the things you could do here is to search forward or backward for 
#+BEGIN_SRC.  You could even record a macro to make it.  That would at least 
hold you over till it was developed.

I also agree about completion based on the name of the source block.  That 
would be very handy.  If I may be so bold as to piggyback on Austins feature 
request, if the gathering of the candidates happened in a separate function 
from the interactive function that does the completion, then it could be used 
by packages like auto-complete.


__

Jonathan Arkell
Tech Lead
Inspired By Drum & Bass, Scheme, Kawaii

p. 403.206.4377

402 -- 11th Ave SE
Calgary, AB, Canada T2G 0Y4

jonath...@criticalmass.com
criticalmass.com







On Jul 10, 2010, at 8:22 AM, Austin Frank wrote:

> Hello!
>
> I'm loving the level of polish and sophistication that have been
> achieved with org-babel.  My entire PhD thesis is currently written in
> org and org-babel, and it's the best authoring system I've ever used.
>
> That said, I have a couple of features that I regularly find myself
> missing.  I wonder whether other folks might also find them useful.
>
> First, in terms of navigation, I would love to have keybindings under
> the C-c C-v prefix that would navigate to the next and previous babel
> blocks.  org-babel-goto-named-source-block[fn:1] is great, but a) not all my
> blocks are named, and b) I don't always remember the name of the block
> I'm looking for.  On that note...
>
> Currently, org-babel-goto-named-source-block doesn't currently offer any
> completion facilities in my setup.  Is there a way to hook it into the
> rest of org's completion mechanisms so that I can hit tab to complete
> the names of my source blocks?
>
> Finally, to go along with facilities to navigate from source block to
> source block, I'd also make regular use of something like
> org-execute-src-block-and-step, which would execute the current block
> and then jump to the next (or previous) one.
>
> Thanks again for these excellent tools,
> /au
>
> Footnotes:
>
> [fn:1] This is the only function that uses "source" instead of "src" in
> its name.  Should this be changed for consistency?
>
>
> --
> Austin Frank
> http://aufrank.net
> GPG Public Key (D7398C2F): http://aufrank.net/personal.asc
> 


The information contained in this message is confidential. It is intended to be 
read only by the individual or entity named above or their designee. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any distribution of this message, in any form, is strictly prohibited. If 
you have received this message in error, please immediately notify the sender 
and delete or destroy any copy of this message.

___
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 setup xdg for org-protocol ?

2010-07-10 Thread Sebastian Rose
Julien Fantin  writes:

> I've been struggling this morning trying to get org-protocol setup on my
> linux box (via http://orgmode.org/worg/org-contrib/org-protocol.php)
>
> I can't get a web-browser to register org-protcol with emacsclient, as I'm
> not using a desktop environment (plain startx and openbox), I'm pretty sure
> this is an xdg config issue.
> However, despite reading through the specs I couldn't fathom the proper
> settings.
>
> In chromium, the external application comes up, and calls xdg-open
> org-protocol://subprotocol/... which ends up firing a new chromium frame
>
> In firefox, I've tried setting network.protocol-handler.app.org-protocol to
> an empty string or my emacsclient path, anyhow I get the following error
> message :
> "Firefox doesn't know how to open this address, because the protocol
> (org-protocol) isn't associated with any program" without showing any
> external application selection  dialog.
>
>
> Has anyone already adressed this ?

First of all:

Seems you have tried

  http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3_1

already??  Current versions of FF do not work like that anymore.


I don't use xdg.  But I think xdg-mime is what your searching for?

I you succeed, would you please mail a recipe, so we can add it to
http://orgmode.org/worg/org-contrib/org-protocol.php
??


  Sebastian


___
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] key binding requests

2010-07-10 Thread Austin Frank
Hello!

I'm loving the level of polish and sophistication that have been
achieved with org-babel.  My entire PhD thesis is currently written in
org and org-babel, and it's the best authoring system I've ever used.

That said, I have a couple of features that I regularly find myself
missing.  I wonder whether other folks might also find them useful.

First, in terms of navigation, I would love to have keybindings under
the C-c C-v prefix that would navigate to the next and previous babel
blocks.  org-babel-goto-named-source-block[fn:1] is great, but a) not all my
blocks are named, and b) I don't always remember the name of the block
I'm looking for.  On that note...

Currently, org-babel-goto-named-source-block doesn't currently offer any
completion facilities in my setup.  Is there a way to hook it into the
rest of org's completion mechanisms so that I can hit tab to complete
the names of my source blocks?

Finally, to go along with facilities to navigate from source block to
source block, I'd also make regular use of something like
org-execute-src-block-and-step, which would execute the current block
and then jump to the next (or previous) one.

Thanks again for these excellent tools,
/au

Footnotes:

[fn:1] This is the only function that uses "source" instead of "src" in
its name.  Should this be changed for consistency?


-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc


pgpUVITjy9T3J.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


[Orgmode] [babel] apply #+TABLEFM lines during export?

2010-07-10 Thread Austin Frank
Hi all--

I have a (hopefully quick question) about formatting tabular output from
ob-R.  Consider the following block:

--8<---cut here---start->8---
#+source:  anova-example
#+BEGIN_SRC R :cache yes :exports results :colnames yes :results value
library(ez)
library(lme4)

eza <- ezANOVA(dv = .(Reaction),
   sid = .(Subject),
   within = .(Days),
   data = sleepstudy)

print(eza$ANOVA)
#+END_SRC
--8<---cut here---end--->8---

This produces the following output:
--8<---cut here---start->8---
#+results[7e7015e41d95ed8986fb9a211a8b5c6e121ae99d]: anova-example
| Effect | DFn | DFd | SSn |  SSd |F |  
  p | p<.05 |  pes |
|+-+-+-+--+--+--+---+--|
| Days   |   9 | 153 | 166235.12250176 | 151101.038615303 | 18.7026979326383 | 
8.99534541600196e-21 | * | 0.52384550792003 |
--8<---cut here---end--->8---

That's more precision than I want in export, so I add a formula line to
the results, hoping to change the formatting of the floats.  After
hitting C-u C-u C-c C-c in the table, I get the following:

--8<---cut here---start->8---
#+results[7e7015e41d95ed8986fb9a211a8b5c6e121ae99d]: anova-example
| Effect | DFn | DFd | SSn | SSd |   F |  p | p<.05 |   
 pes |
|+-+-+-+-+-++---+|
| Days   |   9 | 153 | 166235.1200 | 151101.0400 | 18.7027 | 0. | * | 
0.5238 |
#+TBLFM: $4=$4;%.4f::$5=$5;%.4f::$6=$6;%.4f::$7=$7;%.4f::$9=$9;%.4f
--8<---cut here---end--->8---

That's much better!  But, if I export this section to LaTeX, the formula
line is not applied and I end up with the full precision in my table.

--8<---cut here---start->8---
\begin{center}
\begin{tabular}{lrrlr}
 Effect  &  DFn  &  DFd  &  SSn  &   SSd  & 
F  & p  &  p<.05  &   pes  \\
\hline
 Days&9  &  153  &  166235.12250176  &  151101.038615303  &  
18.7026979326383  &  8.99534541600196e-21  &  *  &  0.52384550792003  \\
\end{tabular}
\end{center}
--8<---cut here---end--->8---

Is there a way to make sure that the table formula is applied to the
results block during export?  Alternatively, is there another way to
reduce the precision of the numbers produced during export?

Thanks for any help!
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc


pgpHFIPcCavpX.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


[Orgmode] Re: Failed to create radio tables

2010-07-10 Thread Bernt Hansen
Angel Popov  writes:

> Hi, 
> I am following example on radio tables but it looks that it does not work.
> I copied
>
>  % BEGIN RECEIVE ORGLST to-buy
>  % END RECEIVE ORGLST to-buy
>  \begin{comment}
>  #+ORGLIST: SEND to-buy orgtbl-to-latex
>  - a new house
>  - a new computer
>+ a new keyboard
>+ a new mouse
>  - a new life
>  \end{comment}
>
> and when I C-c C-c on '- a new house' nothing happend
>
> Regards, Angel

Hi Angel,

I'm not sure what it is you are trying to accomplish.  A link to the
example you are following would have been helpful.

Maybe you mean checkbox lists?

 - [ ] a new house
 - [ ] a new computer
   + [ ] a new keyboard
   + [ ] a new mouse
 - [ ] a new life

then C-c C-c toggles the checkbox on and off.

-Bernt

___
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] How to setup xdg for org-protocol ?

2010-07-10 Thread Julien Fantin
I've been struggling this morning trying to get org-protocol setup on my
linux box (via http://orgmode.org/worg/org-contrib/org-protocol.php)

I can't get a web-browser to register org-protcol with emacsclient, as I'm
not using a desktop environment (plain startx and openbox), I'm pretty sure
this is an xdg config issue.
However, despite reading through the specs I couldn't fathom the proper
settings.

In chromium, the external application comes up, and calls xdg-open
org-protocol://subprotocol/... which ends up firing a new chromium frame

In firefox, I've tried setting network.protocol-handler.app.org-protocol to
an empty string or my emacsclient path, anyhow I get the following error
message :
"Firefox doesn't know how to open this address, because the protocol
(org-protocol) isn't associated with any program" without showing any
external application selection  dialog.


Has anyone already adressed this ?

Cheers
___
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] Failed to create radio tables

2010-07-10 Thread Angel Popov
Hi, 

I am following example on radio tables but it looks that it does not work.
I copied
 % BEGIN RECEIVE ORGLST to-buy   % END RECEIVE ORGLST to-buy   
\begin{comment}   #+ORGLIST: SEND to-buy orgtbl-to-latex   - a new 
house   
- a new computer + a new keyboard + a new mouse   - a new 
life   \end{comment}

and when I C-c C-c on '- a new house' nothing happend

Regards, Angel


___
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] add some documentation for 'capture' to org-agenda

2010-07-10 Thread Dirk-Jan C . Binnema
Hi,

A trivial patch to add some documentation for 'capture' to org-agenda (against
HEAD).

Best wishes,
Dirk.

-- 
Dirk-Jan C. Binnema  Helsinki, Finland
e:d...@djcbsoftware.nl   w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 1fe4639..191ee52 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6965,13 +6965,14 @@ m Mark the entry at point for an agenda action
 s Schedule the marked entry to the date at the cursor
 d Set the deadline of the marked entry to the date at the cursor
 r Call `org-remember' with cursor date as the default date
+c Call `org-capture' with cursor date as the default date
 SPC   Show marked entry in other window
 TAB   Visit marked entry in other window
 
 The cursor may be at a date in the calendar, or in the Org agenda."
   (interactive)
   (let (ans)
-(message "Select action: [m]ark | [s]chedule [d]eadline [r]emember [ 
]show")
+(message "Select action: [m]ark | [s]chedule [d]eadline [r]emember 
[c]apture [ ]show")
 (setq ans (read-char-exclusive))
 (cond
  ((equal ans ?m)

___
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: remember template is slow

2010-07-10 Thread Bernt Hansen
"Daniel J. Sinder"  writes:

> On Wed, Jul 7, 2010 at 9:30 AM, Buck Brody  wrote:
>
> I'm finding that my remember templates are slow to load.  I've got a lag 
> of about three to four
> seconds.  I know that doesn't sound like much, but it's kind of puts a 
> kink in the workflow.  I
> use GNU emacs on Windows.  I also have cygwin installed, and I have 
> noticed that the problem
> doesn't occur when using cygwin.  Any ideas?
>
> For what it's worth, I've also had this problem for a while now.  However, I 
> *do* use emacs w/
> cygwin:
> Windows XP (w/ Cygwin)
> GNU Emacs 23.2.1
> Org-mode version 6.36trans (release_6.36.453.g0cd4)
>
> I suspect (for no particular reason other than disdain for Windows) that it 
> is related to poor file
> system (NTFS) access speeds.  For example, maybe org is trying to open 
> several files to look for
> TODO keywords and/or tags?

You may want to try profiling the code as described by Carsten in the
following post:

http://thread.gmane.org/gmane.emacs.orgmode/13182

That may provide additional information to show exactly where the
slowdown is taking place.

Regards,
Bernt

___
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: Bib system based on org-mode

2010-07-10 Thread Andreas Burtzlaff
Qiang Guo  writes:

> Hi, Community
>
> org-mode is a great tool to record and recognize
> things. Has anybody ever thought of using it as a
> bibliographical system as Endnote, and etc ?

Yes, the format you propose below is used by Fireforg. Have a look at
its documentation at:

http://orgmode.org/worg/org-devel.php

It's currently experimental and has some performance problems, but I
plan a stable and improved release after the feature freeze.


Andreas

>
> Right now, I am trying to organize my reference records in
> org-mode. This is handy because org-mode has some nice
> features such as :PROPERTY:, tags, ... For example, an entry
> could be like this
> /--/
> * Spectrum Sensing based on 
>   :PROPERTIES:
>   :author: XXX and XXX
>   :journal: Trans on Wireless Comm
>   :month: june
>   ...
>   :END:
>   ** Notes
>  Some notes can be put here. 
>
> /--/
>
> Of course, the record can be imported from any structured
> bib file such as bibtex files, endnote files by implementing
> some lisp code.
>
> Are there some other ways of using org-mode to organize
> paper records I don't know about ? Or are there any people
> interested in writing a extension or something to org-mode ?
> I am a elisp newbie, but I can of course join in such a
> project if there are such one.
>
> Cheers~
>
> Qiang
>
> ___
> 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] Re: remember template is slow

2010-07-10 Thread Richard Riley
"Daniel J. Sinder"  writes:

> On Fri, Jul 9, 2010 at 2:44 PM, Richard Riley  wrote:
>
> "Daniel J. Sinder"  writes:
>
> > On Wed, Jul 7, 2010 at 9:30 AM, Buck Brody  wrote:
> >
> >     I'm finding that my remember templates are slow to load.  I've got
> >     a lag of about three to four seconds.  I know that doesn't sound
> >     like much, but it's kind of puts a kink
>
> What does "remember templates are slow to load" mean in this context?
> You mean when you want to enter any new remember item or only the first
> one? Any delay is normally once only when org is initialised.
>
> Another thing to look at which crucified my erc (irc client for emacs)
> performance was flyspell - I had to remove it from my erc setup.
>
> >     in the workflow.  I use GNU emacs on Windows.  I also have cygwin 
> installed, and I have noticed that the problem doesn't occur when using 
> cygwin.  Any ideas?
> >
> > For what it's worth, I've also had this problem for a while now.  
> However, I *do* use emacs w/ cygwin:
> > Windows XP (w/ Cygwin)
> > GNU Emacs 23.2.1
> > Org-mode version 6.36trans (release_6.36.453.g0cd4)
> >
> > I suspect (for no particular reason other than disdain for Windows) 
> that it is related to poor file system (NTFS) access speeds.  For example, 
> maybe org is trying to open
> > several files to look for TODO keywords and/or tags?
>
> What makes you think ntfs would be a bottle neck? Bringing religious
> wars into help discussions is rarely productive and better kept to the
> advocacy groups ;) People use org on pretty much all mainstream OSen.
>
> >
> > Dan
>
> Actually, I should have been more explicit -- I use emacs and org 
> *exclusively* on Windows (via cygwin).  In fact, for years now, I exclusively 
> use Windows as far as operating
> systems go.  However, not being an OS expert, but just a user, I am 
> frequently frustrated by file access speeds.  I have heard (just water-cooler 
> talk) that as the registry gets
> bloated over time, NTFS file access slows, having something to do with 
> frequent checks of the registry prior to file access.  Originally, I didn't 
> feel I understood the issue
> well enough to claim this as a legitimate reason in this forum.  But, seeing 
> your (over)reaction, perhaps I should have explained myself better.
>
> Did I bring a religious war into the discussion?  No, I most certainly did 
> not.  I didn't mention any other OS's, nor make comparisons between OS's.  
> Rather, I suggested a
> possible cause (slow NTFS file access) for the problem that others and myself 
> are seeing with org on Windows.  I followed that with a question about 
> whether org is trying to
> open several files when calling remember, to see if that would lead to a 
> proper diagnosis of the problem.
>
> How did you contribute to the conversation?  I didn't bring up OS
> comparisons -- you did!  Now I know org is used on all OSen.  Thanks! 
> If you have nothing to contribute tobago

Without wanting to get into a silly tit for tat match here I would point
out two things :-

1) You said "I suspect (for no particular reason other than disdain for
Windows) that it is related to poor file system (NTFS) access speeds"
... If that is not bringing OS comparisons into it then I apologise. It
seem fairly clear to me that that is exactly what you did.

2) When you asked "what did I contribute", I asked you to be more
specific about "slow loading times" e.g only first time or each and
every time and also mentioned that flyspell can often create large
pauses in buffer creation. Apologies if you feel that request for more
info and suggestion about one potential were not contributing.


> this topic, and can't help solve my problem, then I suggest you reserve your 
> accusations for an appropriate forum.
>
> Dan

Best of luck with your issues




___
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