Re: [orgmode] time-to-number-of-days

2010-01-12 Thread Carsten Dominik


On Jan 11, 2010, at 10:11 PM, Eric Schulte wrote:


Adding

 (require 'time-date)

to your .emacs should make the functions in time-date available... but
it looks like the require statement above is called in org.el, so  
maybe

try adding the more forceful

 (load "path/to/time-date.el")

to your .emacs

I'm not sure why the require statement in org.el isn't sufficient?


Indeed, time-date is explicitly required be org.el, so I
don't know why this function is would not be available by
the time you are using column view.

- Carsten



Best -- Eric

David Ellis  writes:

When I try to use column view in my org file (C-c C-x C-c), I get  
the following error:


  Symbol's function definition is void: time-to-number-of-days

I looked at time-date.el and found the definition of time-to-number- 
of-days. I noticed that many of
the functions in time-date.el have the following comment before the  
function is defined:


  ;;;###autoload

I am using emacs 23.1.1 on Windows XP.

Can anyone give me some help how to get this working.

Thanks,

Dave

___
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


- 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] Exporting Column view Estimate

2010-01-12 Thread Carsten Dominik

Hi Dustin

(Dustin Hoffman?  really??? :-)

On Jan 11, 2010, at 8:41 PM, Dustin Hoffman wrote:

I would like to export an estimate in column view via the text  
exporter.  When I export the file now, none of the hour estimates or  
summation of estimates is displayed.


I am not sure is anyone understands what you are talking about - I  
certainly don't.

Please try to explain again, maybe with an example... ?

- 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] external program choices?

2010-01-12 Thread Giovanni Ridolfi
Matt Price  writes:

> this seems like a stupid question, but how do I control what programs
> org uses when it launches an exported file in an external viewer?  

files:
/etc/mailcap 

$HOME/.mailcap

already answered, at least, here:

[Orgmode] Links and file association, Christoph Herzog, 2009/10/19 
[Orgmode] OT?: viewing pdf as attachment, John Rakestraw, 2008/11/18

cheers,
Giovanni


___
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] external program choices?

2010-01-12 Thread Carsten Dominik

Time for a FAQ?

Who is going to write it?

:-)

- Carsten

On Jan 12, 2010, at 10:13 AM, Giovanni Ridolfi wrote:


Matt Price  writes:


this seems like a stupid question, but how do I control what programs
org uses when it launches an exported file in an external viewer?


files:
/etc/mailcap

$HOME/.mailcap

already answered, at least, here:

[Orgmode] Links and file association, Christoph Herzog, 2009/10/19
[Orgmode] OT?: viewing pdf as attachment, John Rakestraw, 2008/11/18

cheers,
Giovanni


___
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


- 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] TODO dependencies and file-level keywords

2010-01-12 Thread Giovanni Ridolfi
Carsten Dominik  writes:
> On Jan 11, 2010, at 5:01 PM, Giovanni Ridolfi wrote:
>
>> + setting the variable in my .emacs and reloading emacs
>>  (closed and re-run)
>>  does not have effect: I can still change line a
  !!^
>
> Same here, you need to set this variable *before* org.el gets loaded - 
> I am suspecting that you are setting it after?
Is the second line of my .emacs  *before* enough?
  (I wrote in the 2nd line so I can find and remove it easily ;-)
Please, note that the first line is a comment.

> I am curious if, after you fix this, blocking will still not work.
> Please let us know.
=:-\

However as you can see before I wrote: "I can still change line a" !! (sic.)
I confused the blocking order:
I have been thinking that the first line'd have blocked by the following lines,
whereas it is the inverse:
the following line is blocked by the upper line!

Now I managed to make it work correctly. Sorry for the noise.
cheers,
Giovanni


___
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] external program choices?

2010-01-12 Thread Giovanni Ridolfi
Carsten Dominik  writes:

> Time for a FAQ?
>
> Who is going to write it?
>
> :-)

this FAQ can be places under the "Errors and general problems" section 

*** How can I control the program launched by Org-mode to open a certain file 
pdf, html
This is more a Operating System question than a Org-mode question, however:

In GNU/Linux (OS x ??  Carsten ) systems you have to 
check your mailcap settings, search the files:

: /etc/mailcap
: 
: or 
: 
: $HOME/.mailcap

and modify them accordingly. Please read their manual entry.

For Windows systems 
+ for html pages you may configure the =browse-url-= variables through the 
Customize interface,
+ the pdf files are automatically opened with Acrobat Reader (if it is 
installed)


___
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 reset timestamp format?

2010-01-12 Thread Water Lin

I am using Chinese system so if I insert timestamp by C-c .

I will get timestamp about weekday in Chinese character. I want to use
English to express weekday, How can I set the language for timestamp?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



___
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] external program choices?

2010-01-12 Thread Carsten Dominik

Thanks,

I have put it in.

- Carsten

On Jan 12, 2010, at 11:12 AM, Giovanni Ridolfi wrote:


Carsten Dominik  writes:


Time for a FAQ?

Who is going to write it?

:-)


this FAQ can be places under the "Errors and general problems" section

*** How can I control the program launched by Org-mode to open a  
certain file pdf, html
This is more a Operating System question than a Org-mode question,  
however:


In GNU/Linux (OS x ??  Carsten ) systems you have to
check your mailcap settings, search the files:

: /etc/mailcap
:
: or
:
: $HOME/.mailcap

and modify them accordingly. Please read their manual entry.

For Windows systems
+ for html pages you may configure the =browse-url-= variables  
through the Customize interface,
+ the pdf files are automatically opened with Acrobat Reader (if it  
is installed)


- 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


[Orgmode] org-babel-R and windows ?

2010-01-12 Thread d . tchin

I need help to be able to use org-babel functionality. 
I use emacs 22.3.1 in windows XP and org-mode 6.34.

I have the following instructions in .emacs

(require 'org-install)
(require 'org-plot)
(require 'org-babel-init)  
(require 'org-babel-R) ;; requires R and ess-mode
(require 'org-babel-python);; requires python, and python-mode
(require 'org-babel-ditaa)

ESS module is loaded before :

(load "~/emacs/emacs-22.3/site-lisp/ess-5.7.1/lisp/ess-site")


I don't manage to get any output with R Software. 

Below you will find test I have done :

#+srcname:trial
#+begin_src sh
  echo output
#+end_src

#+results: trial
: output

#+srcname:trial
#+begin_src R
  c(4,5,6,7,8,9)
#+end_src


I manage to have shell output, but when I tried R procedure,
I have the following output in *Messages* buffer

executing R source code block...
Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
Source block produced no output

I have a look on temporary directory and I have the folllowing
file :

R-in-functional-results4452lyl

Inside the following source code :

main <- function ()
{

c(4,5,6,7,8,9)


}
write.table(main(), file="c:/Temp/emacs/tmp/R-out-functional-results4452y8r", 
sep="\t", na="nil",row.names=FALSE, col.names=FALSE, quote=FALSE)


The file  R-out-functional-results4452y8r exists but is empty.
What I miss to make it work ?

Regards



___
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] org-babel-R and windows ?

2010-01-12 Thread Giovanni Ridolfi
d.tchin  writes:

Hi, d.tchin ,

> I need help to be able to use org-babel functionality. 
> I use emacs 22.3.1 in windows XP and org-mode 6.34.
>
> I have the following instructions in .emacs
>
> (require 'org-install)
> (require 'org-plot)
> (require 'org-babel-init)  
> (require 'org-babel-R) ;; requires R and ess-mode
> (require 'org-babel-python);; requires python, and python-mode
> (require 'org-babel-ditaa)
>
> ESS module is loaded before :
>
> (load "~/emacs/emacs-22.3/site-lisp/ess-5.7.1/lisp/ess-site")
>
> I don't manage to get any output with R Software. 
>
> Below you will find test I have done :
>
> #+srcname:trial
> #+begin_src sh
>   echo output
> #+end_src
>
> #+results: trial
> : output
>
> #+srcname:trial
> #+begin_src R
>   c(4,5,6,7,8,9)
> #+end_src
>
> I manage to have shell output, but when I tried R procedure,
> I have the following output in *Messages* buffer
>
> executing R source code block...
> Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
joking: "what does that mean in *English*, you French-centric guy?!"  ;-)
ah,yes,  google translator is my friend:

Syntax of the file name, directory or volume error.

I suspect that R is not loaded/called correctly from org-babel

+ can you run R from emacs shell?
+ is the R executable in the path?
+ do you have all the backslashes defined correctly when you call the R 
executable?

cheers,
Giovanni


___
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] hitting tab on last number item in list hides next paragraph

2010-01-12 Thread Eric S Fraga
Carsten et al.,

with the attached file, if I position the cursor on the 3rd numbered
entry in the first list and hit tab, the following single sentence
paragraph is hidden.  This seems somewhat non-intuitive to me or have
I misunderstood something.  My impression was that indentation was
used to identify continuing elements in a list or paragraph.  Even
adding more blank lines between that 3rd entry and the sentence
doesn't make any difference.

This is not critical by any means!  Just a curious behaviour.

I am using org 6.34a from git repository as of half an hour ago.

Thanks,
eric

===File ~/s/test/test.org===
#+TITLE: test file for org mode
#+DESCRIPTION: used for bug reports

* A headline
  1. a numbered list
  2. the second entry
  3. and another

  hopefully a new paragraph which separates the lists

  1. another numbered list
  2. and the second entry
  3. and the third and last entry



___
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] no syntax defined for comments

2010-01-12 Thread andrea

I sometimes want to write comments in my org-mode files, but the handy
function *comment-region* doesn't work, "no syntax defined for.."
Then I can choose '#' but it doesn't put it in the beginning of the
line.

I normally end in selecting the rectangle and run *string-rectangle*
with '#', but that's a bit annoying.

Why we can't just set '#' as the comment character so that normal
functions work fine?
Thanks



___
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: [Fwd: Orgmode] Proposal: Enhanced link capabilites to Wanderlust messages

2010-01-12 Thread Tokuya Kameshima
Hi David,

Thank you for the mail.  I missed your proposal on the mailing list.

I totally agree with your modification on "1.1 Messages in filter
folders" and "1.2 Messages in shimbun folders".  Thanks!  Please go
ahead and ask Carsten to merge the modification to the git repository.

As for "1.3 Link to thread", I think we can avoid the global level
implementation by the following modification:

In the WL summary mode, you can toggle the thread open/close
status by pressing '/' key.  If `org-wl-link-to-thread' is set to
t and the thread is *closed*, `org-wl-store-link' stores a link to
the thread.  Otherwise, it stores a link to the message.

The patch is below.

--
--- org-wl.el.BAK   Sun Jan 10 14:16:05 2010
+++ org-wl.el   Tue Jan 12 16:22:25 2010
@@ -129,6 +129,9 @@
   (folder-type (org-wl-folder-type folder-name))
   (message-id (elmo-message-field wl-summary-buffer-elmo-folder
   msgnum 'message-id))
+  (org-wl-link-to-thread (if (wl-thread-entity-get-opened
+  (wl-thread-get-entity msgnum))
+ nil org-wl-link-to-thread))
   (wl-message-entity
(if (fboundp 'elmo-message-entity)
(elmo-message-entity
--

I am not sure this is a good solution since this behavior seems a
little bit tricky for the users.  But at least it avoids the global
setting problem.

Thanks,
--Tokuya


On Sat, 09 Jan 2010 10:17:35 +0100,
David Maus  wrote:
>
> Hi Tokuya,
> 
> Some days ago I posted a proposal about enhanced link capabilities to
> Wanderlust messages for Emacs/Orgmode on the orgmode Mailinglist
> 
> http://thread.gmane.org/gmane.emacs.orgmode/21046
> 
> and as there are (as it seems) not that much Orgmode users who use
> Wanderlust Carsten suggested to contact you directly, too, just in
> case you don't read the orgmode mailinglist regularly.
> 
> So if you happen to have any suggestion, comments or more ideas on
> extending Orgmodes capabilities I'd be glad to hear.
> 
> Regards
> 
>   -- David
> 
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber dmj...@jabber.org
> Email. maus.da...@gmail.com


___
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] org-babel-R and windows ?

2010-01-12 Thread Manish
On Tue, Jan 12, 2010 at 8:26 PM, Giovanni Ridolfi wrote:
> d.tchin writes:
>
> Hi, d.tchin ,
>
>> I need help to be able to use org-babel functionality.
>> I use emacs 22.3.1 in windows XP and org-mode 6.34.
>>
>> I have the following instructions in .emacs
>>
>> (require 'org-install)
>> (require 'org-plot)
>> (require 'org-babel-init)
>> (require 'org-babel-R) ;; requires R and ess-mode
>> (require 'org-babel-python);; requires python, and python-mode
>> (require 'org-babel-ditaa)
>>
>> ESS module is loaded before :
>>
>> (load "~/emacs/emacs-22.3/site-lisp/ess-5.7.1/lisp/ess-site")
>>
>> I don't manage to get any output with R Software.
>>
>> Below you will find test I have done :
>>
>> #+srcname:trial
>> #+begin_src sh
>>   echo output
>> #+end_src
>>
>> #+results: trial
>> : output
>>
>> #+srcname:trial
>> #+begin_src R
>>   c(4,5,6,7,8,9)
>> #+end_src
>>
>> I manage to have shell output, but when I tried R procedure,
>> I have the following output in *Messages* buffer
>>
>> executing R source code block...
>> Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
> joking: "what does that mean in *English*, you French-centric guy?!"  ;-)
> ah,yes,  google translator is my friend:
>
> Syntax of the file name, directory or volume error.

I face the exact same problem on:
 - Windows XP SP 2
 - R 2.10.0
 - ESS 5.3.11
 - Emacs 23.1.1
 - bleeding edge Org.

> I suspect that R is not loaded/called correctly from org-babel

Ruby calls from Org babel work.  And R was configured the same way.
The temporary files are created in $TEMP but the out file is empty.

>
> + can you run R from emacs shell?

Yes.

> + is the R executable in the path?

Yes.

> + do you have all the backslashes defined correctly when you call the R 
> executable?

Yes.


-- 
Manish


___
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-babel-R and windows ?

2010-01-12 Thread Dan Davison
"d.tchin"  writes:

> I need help to be able to use org-babel functionality. 
> I use emacs 22.3.1 in windows XP and org-mode 6.34.
>
> I have the following instructions in .emacs
>
> (require 'org-install)
> (require 'org-plot)
> (require 'org-babel-init)  
> (require 'org-babel-R) ;; requires R and ess-mode
> (require 'org-babel-python);; requires python, and python-mode
> (require 'org-babel-ditaa)
>
> ESS module is loaded before :
>
> (load "~/emacs/emacs-22.3/site-lisp/ess-5.7.1/lisp/ess-site")
>
>
> I don't manage to get any output with R Software. 
>
> Below you will find test I have done :
>
> #+srcname:trial
> #+begin_src sh
>   echo output
> #+end_src
>
> #+results: trial
> : output
>
> #+srcname:trial
> #+begin_src R
>   c(4,5,6,7,8,9)
> #+end_src
>
>
> I manage to have shell output, but when I tried R procedure,
> I have the following output in *Messages* buffer
>
> executing R source code block...
> Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
> Source block produced no output

The org-babel default is to invoke R as an external shell command, and I
think this is what is causing the problem. It requires that the emacs
function shell-command can use the string "R" to invoke an R process,
i.e. the R installation and the shell path must be such that this is the
case.

Seeing as you have ESS installed, how about using session-based
evaluation? This means that org-babel uses an interactive R session
running under the control of ESS. In general it is a better way to work
with R in org-babel. It is described in the section "Session-based
Evaluation" in

http://orgmode.org/worg/org-contrib/babel/intro.php

and also in the reference manual:

http://orgmode.org/worg/org-contrib/babel/reference.php#header-argument-session

basically you just set the :session header argument, e.g.

#+srcname:trial
#+begin_src R :session org-babel-R-session
   c(4,5,6,7,8,9)
#+end_src

Have a look here to see the different methods you can use to make this
the default (without having to explicitly set the header arg each time)

http://orgmode.org/worg/org-contrib/babel/reference.php#sec-3.1

Dan

>
> I have a look on temporary directory and I have the folllowing
> file :
>
> R-in-functional-results4452lyl
>
> Inside the following source code :
>
> main <- function ()
> {
>
> c(4,5,6,7,8,9)
>
>
> }
> write.table(main(), file="c:/Temp/emacs/tmp/R-out-functional-results4452y8r", 
> sep="\t", na="nil",row.names=FALSE, col.names=FALSE, quote=FALSE)
>
>
> The file  R-out-functional-results4452y8r exists but is empty.
> What I miss to make it work ?
>
> Regards
>
>
>
> ___
> 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] org-babel-R and windows ?

2010-01-12 Thread Eric Schulte
Dan Davison  writes:

[...]

>
> The org-babel default is to invoke R as an external shell command, and I
> think this is what is causing the problem. It requires that the emacs
> function shell-command can use the string "R" to invoke an R process,
> i.e. the R installation and the shell path must be such that this is the
> case.
>

If the "R" command turns out to be the culprit it would be an easy fix
to make the command used to run R externally a user-defined variable.

 -- Eric


___
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] S-TAB folding

2010-01-12 Thread Thomas S. Dye

Aloha all,

S-TAB on a #+begin_src line folds only the source code block and not  
the entire buffer, as it does elsewhere.  Is this the desired behavior?


All the best,
Tom


___
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] no syntax defined for comments

2010-01-12 Thread Carsten Dominik


On Jan 12, 2010, at 5:05 PM, andrea wrote:



I sometimes want to write comments in my org-mode files, but the handy
function *comment-region* doesn't work, "no syntax defined for.."
Then I can choose '#' but it doesn't put it in the beginning of the
line.

I normally end in selecting the rectangle and run *string-rectangle*
with '#', but that's a bit annoying.

Why we can't just set '#' as the comment character so that normal
functions work fine?


For some reason, setting the comment character causes problems with  
autofilling, inserting that character in places where it does not  
belong - his has come up several times here -we even have a FAQ about  
it.


http://orgmode.org/worg/org-faq.php#auto-fill-and-unwanted-comments

I'd love to see a solution for this problem, but I do not have one.

- 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] no syntax defined for comments

2010-01-12 Thread Samuel Wales
Search this list for filladapt.

On 2010-01-12, Carsten Dominik  wrote:
>
> On Jan 12, 2010, at 5:05 PM, andrea wrote:
>
>>
>> I sometimes want to write comments in my org-mode files, but the handy
>> function *comment-region* doesn't work, "no syntax defined for.."
>> Then I can choose '#' but it doesn't put it in the beginning of the
>> line.
>>
>> I normally end in selecting the rectangle and run *string-rectangle*
>> with '#', but that's a bit annoying.
>>
>> Why we can't just set '#' as the comment character so that normal
>> functions work fine?
>
> For some reason, setting the comment character causes problems with
> autofilling, inserting that character in places where it does not
> belong - his has come up several times here -we even have a FAQ about
> it.
>
>  http://orgmode.org/worg/org-faq.php#auto-fill-and-unwanted-comments
>
> I'd love to see a solution for this problem, but I do not have one.
>
> - 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
>


-- 
Q: How many CDC "scientists" does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied ME/CFS for 25 years]
=
Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.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


[Orgmode] footnote export fails if footnote indented

2010-01-12 Thread Dan Davison
If you hit  on a footnote definition, it indents it away from
column 1, to align with its heading. However, the footnote definition
needs to start in column 1 in order for the footnote to be correctly
exported. It would be nice if the footnote exported correctly even when
indented (or if that's problematic, then a less preferable solution
would be having  not indent it).

Dan

---
* A
  That[1] was a reference to a footnote.

* Footnotes
  [1] This is the footnote
---


___
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] ... but no headline or content in org-mode

2010-01-12 Thread Deric Bytes
I had a look on your FAQS about problems.

I could not see anything about  "eclipses ... but no healine or content"

I can not open the elipses. I can see the content if I change to text-mode.

I know this was most probably caused by some random unconcious key pressing.

I had noticed lone elipses before. Not knowing what to do I just deleted
them. I think a little note should be put on the website to advise the
content is still there.

 If there is no simple solution to fix this problem.

You can always recommend they cut and paste the elipses into a temporay
text-mode file, so they can manually put it back into their org-file.
___
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 reset timestamp format?

2010-01-12 Thread iemacs
You can try (setq system-time-locale "C")

On Tue, Jan 12, 2010 at 6:45 PM, Water Lin  wrote:
>
> I am using Chinese system so if I insert timestamp by C-c .
>
> I will get timestamp about weekday in Chinese character. I want to use
> English to express weekday, How can I set the language for timestamp?
>
> Thanks
>
> Water Lin
>
> --
> Water Lin's notes and pencils: http://en.waterlin.org
> Email: water...@ymail.com
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
>
> ___
> 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
>



-- 
Kind regards,

Tian Qiu


___
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: ... but no headline or content in org-mode

2010-01-12 Thread Matt Lundin
Deric Bytes  writes:

> I had a look on your FAQS about problems.
>
> I could not see anything about  "eclipses ... but no healine or
> content"
>
> I can not open the elipses. I can see the content if I change to
> text-mode.
>
> I know this was most probably caused by some random unconcious key
> pressing.
>
> I had noticed lone elipses before. Not knowing what to do I just
> deleted them. I think a little note should be put on the website to
> advise the content is still there.

http://orgmode.org/worg/org-faq.php#org-ellipses

Best,
Matt


___
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 reset timestamp format?

2010-01-12 Thread Water Lin
iem...@gmail.com writes:

> You can try (setq system-time-locale "C")

Yes, it works. But one more question. The system will show my Chinese
weekday in short way. If I want to show it in full name. What should I
do?

This is the case similar with this one: the system will show "Fri" for
short when it is "Friday". But if I want to show "Friday" instead of
"Fri", what should I do?

Thanks

Water Lin

>
> On Tue, Jan 12, 2010 at 6:45 PM, Water Lin  wrote:
>>
>> I am using Chinese system so if I insert timestamp by C-c .
>>
>> I will get timestamp about weekday in Chinese character. I want to use
>> English to express weekday, How can I set the language for timestamp?
>>
>> Thanks
>>
>> Water Lin
>>
>> --
>> Water Lin's notes and pencils: http://en.waterlin.org
>> Email: water...@ymail.com
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>>
>>
>> ___
>> 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
>>

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



___
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] Which version org-mode

2010-01-12 Thread Shawn Koons
How can I tell which version of Org-mode I am using? I originally installed
emacs-snapshot and org-mode through Ubuntu's Synaptic Package manager, then
found out about git, which I have used since.  I just want to make sure that
I am using the latest version.

Thanks
___
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: Which version org-mode

2010-01-12 Thread Benjamin Andresen
Hey Shawn,

Shawn Koons  writes:

> How can I tell which version of Org-mode I am using? I originally installed
> emacs-snapshot and org-mode through Ubuntu's Synaptic Package manager, then
> found out about git, which I have used since.  I just want to make sure that
> I am using the latest version.

General strategy under Emacs. Use apropos. It takes regexp and therefor
something like "org.*version" works as an input.

M-x apropos RET org.*version RET

The result will be org-version

>
> Thanks

HTH,
benny


___
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: Which version org-mode

2010-01-12 Thread Charles Cave
> How can I tell which version of Org-mode I am using? 

There is a built in command for this.

M-x org-version RET





___
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-babel-R and windows ?

2010-01-12 Thread Manish
On Tue, Jan 12, 2010 at 11:13 PM, Dan Davison wrote:
[snip:  snipped (43 lines)]
>
> The org-babel default is to invoke R as an external shell command, and I
> think this is what is causing the problem. It requires that the emacs
> function shell-command can use the string "R" to invoke an R process,
> i.e. the R installation and the shell path must be such that this is the
> case.
>
> Seeing as you have ESS installed, how about using session-based
> evaluation? This means that org-babel uses an interactive R session
> running under the control of ESS. In general it is a better way to work
> with R in org-babel. It is described in the section "Session-based
> Evaluation" in
>
> http://orgmode.org/worg/org-contrib/babel/intro.php
>
> and also in the reference manual:
>
> http://orgmode.org/worg/org-contrib/babel/reference.php#header-argument-session
>
> basically you just set the :session header argument, e.g.
>
> #+srcname:trial
> #+begin_src R :session org-babel-R-session
>   c(4,5,6,7,8,9)
> #+end_src
>

Thanks for the advice regarding using sessions.  It works now.  But I
have something interesting to report.

With following test org file, evaluation of R block fails to produce
desired results.  If the lines with "require" are removed, the
evaluation works fine.  R session buffer contents are pasted below as
well just in case they are of any help.

--8<---cut here---start->8---
* Test

Here's how to set it up.

(require 'org_babel_init)
(require 'org_babel_R)
(org_babel_load_library_of_babel)

#+srcname: strings
#+begin_src R :colnames t :session org-babel-R-strings
  t(sort(table(tolower(scan("~/personal/test-org-babel.org", what="",
na.strings="|"))), decreasing=TRUE)[1:10])
#+end_src

#+results: strings
--8<---cut here---end--->8---


--8<---cut here---start->8---
R version 2.10.0 (2009-10-26)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> options(chmhelp = FALSE)
> options(STERM='iESS', editor='gnuclient.exe')
>
t(sort(table(tolower(scan("~/personal/test-org-babel.org", what="",
na.strings="|"))), decreasing=TRUE)[1:10])
write.table(.Last.value, file="d:/home/zms/tmp/org-babel-R1752nPK",
sep="\t", na="nil",row.names=FALSE, col.names=TRUE, quote=FALSE)
'org_babel_R_eoe'

> t(sort(table(tolower(scan("~/personal/test-org-babel.org", what="", 
> na.strings="|"))), decreasing=TRUE)[1:10])
Read 27 items

   strings #+begin_src #+end_src #+results: #+srcname:
  [1,]   2   1 1  1  1

   (org_babel_load_library_of_babel) (require * :colnames :session
  [1,] 11 1 11
> write.table(.Last.value, file="d:/home/zms/tmp/org-babel-R1752nPK", sep="\t", 
> na="nil",row.names=FALSE, col.names=TRUE, quote=FALSE)
> 'org_babel_R_eoe'
[1] "org_babel_R_eoe"
>
--8<---cut here---end--->8---

Thank you
-- 
Manish


___
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