Re: [Orgmode] M-TAB completion of options in indirect buffers

2009-01-28 Thread Carsten Dominik

Fixed in 6.20, thanks.

- Carsten

On Jan 27, 2009, at 5:31 PM, Shaun Johnson wrote:

With Emacs 22.1.1 and Org-mode 6.17c if I am editing a subtree in an  
indirect buffer
(via C-c C-x b) and try to complete an option (i.e. a line starting # 
+) then I get the

following backtrace (bytecodes elided):

   Debugger entered--Lisp error: (wrong-type-argument stringp nil)
 file-name-nondirectory(nil)
 org-get-current-options()
 byte-code("...
 org-complete(nil)
 call-interactively(org-complete)
 recursive-edit()
 byte-code("...
 debug(error (wrong-type-argument stringp nil))
 file-name-nondirectory(nil)
 org-get-current-options()
 byte-code("...
 org-complete(nil)
 call-interactively(org-complete)

This seems to be because org-get-current-options uses buffer-file- 
name to determine the

category but buffer-file-name is nil in an indirect buffer.

If this has been fixed in a later version of Org mode or Emacs I  
will be happy (ish) to

upgrade.

Thanks,

Shaun.


___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] clocktable and ISO week

2009-01-28 Thread Carsten Dominik


On Jan 27, 2009, at 10:24 PM, David Bremner wrote:


I have a clocktable that begins like this.

#+BEGIN: clocktable :maxlevel 2 :block 2009-W05 :scope agenda-with- 
archives

Clock summary at [2009-01-27 Tue 17:15], for week 2009-W04.

[contents snipped]

#+END:

Whatever week I put in :block, it puts one less in the title.
It seems actually gather the clock data from the right week, but the
title is wrong?  Or I misunderstand something as usual :-).

I tried emacs22 and emacs23 (emacs-snapshot on debian) and org-mode
6.19b (6.17c was the same IIRC).


Well, what you have not tried is making this table on a Monday,
in which case it would have worked just fine...

:-)

Thanks, fixed now.

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Release 6.20

2009-01-28 Thread Carsten Dominik

Enjoy!

- Carsten


 Version 6.20
 

Details


Support for simple TODO dependencies
-

John Wiegley's code for enforcing simple TODO dependencies has
been integrated into Org-mode.  Thanks John!

The structure of Org files (hierarchy and lists) makes it easy to
define TODO dependencies.  A parent TODO task should not be
marked DONE until all subtasks (defined as children tasks) are
marked as DONE.  And sometimes there is a logical sequence to a
number of (sub)tasks, so that one task cannot be acted upon
before all siblings above it are done.  If you customize the
variable `org-enforce-todo-dependencies', Org will block entries
from changing state while they have children that are not DONE.
Furthermore, if an entry has a property `ORDERED', each of its
children will be blocked until all earlier siblings are marked
DONE.  Here is an example:

  * TODO Blocked until (two) is done
  ** DONE one
  ** TODO two

  * Parent
  ** TODO a
  ** TODO b, needs to wait for (a)
  ** TODO c, needs to wait for (a) and (b)


The variable `org-agenda-dim-blocked-tasks' controls how blocked
entries should appear in the agenda, where they can be dimmed or
even made invisible.

Support for shift-selection in Emacs 23


Customize the variable `org-support-shift-select' to use S-cursor
key for selecting text.  Make sure that you carefully read the
docstring of that variable first.



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Convert list to checkbox list

2009-01-28 Thread Daniel Clemente

  Hi, I want a simple way to convert from this:


- one
- two
 - twone
 - twotwo
- three


  to:


- [ ] one
- [ ] two
 - twone
 - twotwo
- [ ] three


  Or even this, sometimes:


- [ ] one
- [ ] two
 - [ ] twone
 - [ ] twotwo
- [ ] three


  Is there a function to do this conversion?

  Thanks,
Daniel


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] "

2009-01-28 Thread Tim O'Callaghan
Latley i have been getting this error, and i cannot track it down. The
closes i have come is to find out it's somewhere in the org mode
startup, and it only occurs during the Xemacs startup, works fine for
Emacs.

I get this error:
--
(1) (initialization/error) An error has occurred while loading
g:\home\tim\.emacs:

Malformed list: :background

To ensure normal operation, you should investigate the cause of the error
in your initialization file and remove it.  Use the `-debug-init' option
to XEmacs to view a complete error backtrace.
--

And from the "Recent minibuffer messages (most recent first):"
--
Error in init file: Malformed list: :background
Loading gnus-xmas...done
Loading gnus-xmas...
Loading g:\home\tim\.zemacsen_d\configs\org-remember_config...
--

If i try and use -debug-init, i still get the error but no traceback.

The best guess i have been able to make is that the problem is in one
of these files:
org-colview-xemacs.el
org-faces.el
though it could be in something included.

XEmacs 21.4 (patch 21) "Educational Television" [Lucid]
(i586-pc-win32) of Sun Oct 07 2007 on VSHELTON-PC2
latest git version of org.

Any ideas/pointers as to where to look next?

Tim.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] "

2009-01-28 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Jan 28, 2009, at 10:28 AM, Tim O'Callaghan wrote:


Latley i have been getting this error, and i cannot track it down. The
closes i have come is to find out it's somewhere in the org mode
startup, and it only occurs during the Xemacs startup, works fine for
Emacs.

I get this error:
--
(1) (initialization/error) An error has occurred while loading
g:\home\tim\.emacs:

Malformed list: :background

To ensure normal operation, you should investigate the cause of the  
error
in your initialization file and remove it.  Use the `-debug-init'  
option

to XEmacs to view a complete error backtrace.
--

And from the "Recent minibuffer messages (most recent first):"
--
Error in init file: Malformed list: :background
Loading gnus-xmas...done
Loading gnus-xmas...
Loading g:\home\tim\.zemacsen_d\configs\org-remember_config...
--

If i try and use -debug-init, i still get the error but no traceback.

The best guess i have been able to make is that the problem is in one
of these files:
org-colview-xemacs.el
org-faces.el
though it could be in something included.

XEmacs 21.4 (patch 21) "Educational Television" [Lucid]
(i586-pc-win32) of Sun Oct 07 2007 on VSHELTON-PC2
latest git version of org.

Any ideas/pointers as to where to look next?

Tim.


___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] graphing from org-tables

2009-01-28 Thread Carsten Dominik

Hi Dan,

I don't know anything about R, but this looks really interesting.
Whenever you are ready, I will distribute this with Org.

- Carsten

On Jan 28, 2009, at 4:06 AM, Dan Davison wrote:


On Mon, Jan 26, 2009 at 09:53:37AM +0100, Carsten Dominik wrote:




< ... >


(defun org-table-remote-range (id form
  &optional replace keep-empty numbers lispp)
"Get a field value or a list of values in a range from table at ID.


In 6.19, there is now  built-in unction to access data from arbitrary
tables.



Thanks a lot for writing that function Carsten.

I've used that code to extend org-table-R.el so that it can reference
remote tables in org files, and also local csv files and csv files on
the web.

The interface with org-table-R is via #+TBLR lines. These can now
occur anywhere in an org file (previously they had to be beneath the
table being analysed), with a reference to a remote table containing
the data. This reference can take the following forms (these are
options to be supplied in the #+TBLR: line)

1. table:name -- The name of a table in the same file (i.e. one  
named with #+TBLNAME)
2. table:id -- The unique id of an entry in an org file (the first  
table under that entry is used)

3. csv:path/to/file.csv -- A local csv file
4. csv:"http:www.somewhere.xx/file.csv" -- A csv file on the web

org-table-R-apply makes happen whatever is specified in the #+TBLR:
and #+TBLR:: lines. Tabular output is sent to the org buffer as a new
org table, or alternatively org-table-R may be used to graph the data
in the table. Point must be in the first #+TBLR line (previously point
had to be in the table itself).

The code (with some initial documentation) is at

http://www.stats.ox.ac.uk/~davison/software/org-table-R/org-table-R.el

I'll try to put together some examples of usage for worg.

Dan


- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


--
http://www.stats.ox.ac.uk/~davison


___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Emacs 23 (cvs), org-mode (git): Bad sexp

2009-01-28 Thread Jan Seeger
Hey List!

I have just installed emacs23 and org-mode has a kink:

I use sexp expressions in an org file to put my schedule in the agenda, like 
this:

%%(diary-schedule 13 10 2008 7 2 2009 1) 10:15-12:00 TM1 MW2001
%%(diary-schedule 13 10 2008 7 2 2009 1) 12:15-13:00 CAD+MZ MW2001
%%(diary-schedule 13 10 2008 7 2 2009 1) 15:00-16:30 TM1 Zentral  bung MW2001
%%(diary-schedule 13 10 2008 7 2 2009 2) 08:30-10:00 Analysis f  r Informatiker 
PH HS2
%%(diary-schedule 13 10 2008 7 2 2009 2) 16:00-17:30 Informatik 2 MI HS1
%%(diary-schedule 13 10 2008 7 2 2009 3) 08:30-10:00 Analysis f  r Informatiker 
MW 1801
%%(diary-schedule 13 10 2008 7 2 2009 3) 10:15-11:45 GDB MI HS1
%%(diary-schedule 13 10 2008 7 2 2009 3) 12:00-12:45 GBS MI HS1
%%(diary-schedule 13 10 2008 7 2 2009 3) 14:15-15:45 Analysis-  bung 03.10.011
%%(diary-schedule 13 10 2008 7 2 2009 3) 16:00-17:30 Businessplan GATE Saal U

However, on the first time I open the agenda, it takes a long time and
then I get the error "invalid sexp in , line " (replace
angled words with values^^).

However, the second time I open the agenda, everything works.

What could be the problem?

Many thanks in advance,
Jan


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Emacs 23 (cvs), org-mode (git): Bad sexp

2009-01-28 Thread Carsten Dominik

Looks like the function diary-schedule is defined in some package
that des not get loaded in time for creating the agenda.
But when you try for the second time, it is loaded.

- Carsten


On Jan 28, 2009, at 11:42 AM, Jan Seeger wrote:


Hey List!

I have just installed emacs23 and org-mode has a kink:

I use sexp expressions in an org file to put my schedule in the  
agenda, like this:


%%(diary-schedule 13 10 2008 7 2 2009 1) 10:15-12:00 TM1 MW2001
%%(diary-schedule 13 10 2008 7 2 2009 1) 12:15-13:00 CAD+MZ MW2001
%%(diary-schedule 13 10 2008 7 2 2009 1) 15:00-16:30 TM1 Zentral   
bung MW2001
%%(diary-schedule 13 10 2008 7 2 2009 2) 08:30-10:00 Analysis f  r  
Informatiker PH HS2
%%(diary-schedule 13 10 2008 7 2 2009 2) 16:00-17:30 Informatik 2 MI  
HS1
%%(diary-schedule 13 10 2008 7 2 2009 3) 08:30-10:00 Analysis f  r  
Informatiker MW 1801

%%(diary-schedule 13 10 2008 7 2 2009 3) 10:15-11:45 GDB MI HS1
%%(diary-schedule 13 10 2008 7 2 2009 3) 12:00-12:45 GBS MI HS1
%%(diary-schedule 13 10 2008 7 2 2009 3) 14:15-15:45 Analysis-  bung  
03.10.011
%%(diary-schedule 13 10 2008 7 2 2009 3) 16:00-17:30 Businessplan  
GATE Saal U


However, on the first time I open the agenda, it takes a long time and
then I get the error "invalid sexp in , line " (replace
angled words with values^^).

However, the second time I open the agenda, everything works.

What could be the problem?

Many thanks in advance,
Jan


___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Emacs 23 (cvs), org-mode (git): Bad sexp

2009-01-28 Thread Jan Seeger
At Wed, 28 Jan 2009 12:00:56 +0100,
Carsten Dominik wrote:
> 
> Looks like the function diary-schedule is defined in some package
> that des not get loaded in time for creating the agenda.
> But when you try for the second time, it is loaded.

I tried require'ing diary-lib before loading org-mode, but it doesn't
do anything. The strange thing is that the other days are displayed
correctly, only the current day is not shown.

Regards,
Jan Seeger


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Emacs 23 (cvs), org-mode (git): Bad sexp

2009-01-28 Thread Carsten Dominik


On Jan 28, 2009, at 12:09 PM, Jan Seeger wrote:


At Wed, 28 Jan 2009 12:00:56 +0100,
Carsten Dominik wrote:


Looks like the function diary-schedule is defined in some package
that des not get loaded in time for creating the agenda.
But when you try for the second time, it is loaded.


I tried require'ing diary-lib before loading org-mode, but it doesn't
do anything. The strange thing is that the other days are displayed
correctly, only the current day is not shown.


diary-schedule is not defined in diary-lib.el.
Maybe you cut-and-paste it from the emacs wiki?

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Emacs 23 (cvs), org-mode (git): Bad sexp

2009-01-28 Thread Jan Seeger
At Wed, 28 Jan 2009 12:19:06 +0100,
Carsten Dominik wrote:
> 
> 
> On Jan 28, 2009, at 12:09 PM, Jan Seeger wrote:
> 
> > At Wed, 28 Jan 2009 12:00:56 +0100,
> > Carsten Dominik wrote:
> >>
> >> Looks like the function diary-schedule is defined in some package
> >> that des not get loaded in time for creating the agenda.
> >> But when you try for the second time, it is loaded.
> >
> > I tried require'ing diary-lib before loading org-mode, but it doesn't
> > do anything. The strange thing is that the other days are displayed
> > correctly, only the current day is not shown.
> 
> diary-schedule is not defined in diary-lib.el.
> Maybe you cut-and-paste it from the emacs wiki?

Ah yes, the diary-schedule is from the emacswiki.

But I don't see why it works on the days after today and not today.

Regards,
Jan


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Convert list to checkbox list

2009-01-28 Thread Carsten Dominik

In 6.20a, `C-c C-x C-b' does this now.

- Carsten

On Jan 28, 2009, at 9:58 AM, Daniel Clemente wrote:



 Hi, I want a simple way to convert from this:


- one
- two
- twone
- twotwo
- three


 to:


- [ ] one
- [ ] two
- twone
- twotwo
- [ ] three


 Or even this, sometimes:


- [ ] one
- [ ] two
- [ ] twone
- [ ] twotwo
- [ ] three


 Is there a function to do this conversion?

 Thanks,
Daniel


___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-agenda-todo-ignore-scheduled no longer working

2009-01-28 Thread Paul Mead
Hi, I've had the above set for many versions now, but it suddenly seems
to have stopped working. I don't know whether it's only since I
downloaded 6.20 this morning, but I haven't noticed it before.

All TODOs, even those with scheduled dates are appearing in the global
TODO list.

Paul



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-agenda-todo-ignore-scheduled no longer working

2009-01-28 Thread Carsten Dominik

Sorry about that, little hickup, fixed.

- Carsten

On Jan 28, 2009, at 2:12 PM, Paul Mead wrote:

Hi, I've had the above set for many versions now, but it suddenly  
seems

to have stopped working. I don't know whether it's only since I
downloaded 6.20 this morning, but I haven't noticed it before.

All TODOs, even those with scheduled dates are appearing in the global
TODO list.

Paul



___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-agenda-todo-ignore-scheduled no longer working

2009-01-28 Thread Paul Mead
Carsten Dominik  writes:

> Sorry about that, little hickup, fixed.
>
> - Carsten
>
> On Jan 28, 2009, at 2:12 PM, Paul Mead wrote:
>
>> Hi, I've had the above set for many versions now, but it suddenly  seems
>> to have stopped working. I don't know whether it's only since I
>> downloaded 6.20 this morning, but I haven't noticed it before.
>>
>> All TODOs, even those with scheduled dates are appearing in the global
>> TODO list.
>>
>> Paul
>>
>>
>>
>> ___
>> Emacs-orgmode mailing list
>> Remember: 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
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Great job Carsten, thanks!



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] only one [/] or [%]?

2009-01-28 Thread Richard KLINDA
Hi, I have noticed that you can only have one [/] or [%] in a headline.

Like in:

,
| * TODO [/] [%] foo
|   - [ ] a
|   - [ ] b
`

Only the [%] will be updated.

In an older version of org I used to use both in the same headline and
it worked.  Is there some reason for this "regression"?

Thanks, Richard


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] only one [/] or [%]?

2009-01-28 Thread Carsten Dominik


On Jan 28, 2009, at 4:57 PM, Richard KLINDA wrote:

Hi, I have noticed that you can only have one [/] or [%] in a  
headline.


Like in:

,
| * TODO [/] [%] foo
|   - [ ] a
|   - [ ] b
`

Only the [%] will be updated.

In an older version of org I used to use both in the same headline and
it worked.


Did that really ever work


Is there some reason for this "regression"?


No, no reason, and progress has reversed regression in the GIT repo.

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Highlight current date in agenda buffer

2009-01-28 Thread chunhui
Bernt Hansen  norang.ca> writes:


> 
> I have the following in my .emacs
> 
> (add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))
> 


It is very nice.thanks.




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Choosing columns in clock report blocks?

2009-01-28 Thread Oliver Charles
Hello,

I'm now using org-mode to clock my work (much more organised than my
adhoc approach before!) -- and will be sending the generated reports
to my "client" (we have a very informal relationship -- so these will
be adequate).

However, I'd like to trim the cruft off them, and display just the
"Headline" and "Time" columns. Is there anyway to do that? I've had a
read of "Clocking Work Time" in the manual -- but can't see anything
relevent, saddly.

Any tips?

-- 
Oliver Charles / aCiD2


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Choosing columns in clock report blocks?

2009-01-28 Thread Bernt Hansen
Oliver Charles  writes:

> Hello,
>
> I'm now using org-mode to clock my work (much more organised than my
> adhoc approach before!) -- and will be sending the generated reports
> to my "client" (we have a very informal relationship -- so these will
> be adequate).
>
> However, I'd like to trim the cruft off them, and display just the
> "Headline" and "Time" columns. Is there anyway to do that? I've had a
> read of "Clocking Work Time" in the manual -- but can't see anything
> relevent, saddly.
>
> Any tips?

You can generate a clock report with  C-u C-x C-r and edit the block
detail to cover the timeframe you want.

Then it's just an org-mode table - delete the columns you don't want by
putting the point in the column and M-S-

Does that help?

-Bernt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Footnotes and R output when exporting to HTML or Latex

2009-01-28 Thread Dan Davison
On Wed, Jan 21, 2009 at 03:39:36PM +, Graham Smith wrote:
> Mmmm, so busy concerened about the graphics I didn't realise I had
> such a major issue with footnotes.
> 
> I am pasting R output into an org file which comes in like:
> 
> > names(gq3hazard)
> 
> [1] "H1a""H1b""H1c""H2a""H2b""H2c""H3a""H3b"
> 
> [9] "H3c""H3d""H4a""H4b""H4c""H5a""H5b""H5c"
> 
> [17] "Htotal"

Hi Graham,

An alternative might be to format output like this as an org table?
As Tom Short pointed out in another thread, you can use org-tblR.el
(was org-table-R.el) in a trivial way to do that without any
copy/pasting. For example you could use any of the following

||
#+TBLRR: x <- names(gq3hazard)

||
#+TBLRR: x <- t(names(gq3hazard))

||
#+TBLRR: x <- cbind(seq(length(gq3hazard)), names(gq3hazard))

With point in the #+TBLRR line, org-tblR-apply produces respectively


||
||
| H1a|
| H1b|
| H1c|
| H2a|
| H2b|
| H2c|
| H3a|
| H3b|
| H3c|
| H3d|
| H4a|
| H4b|
| H4c|
| H5a|
| H5b|
| H5c|
| Htotal |
#+TBLRR: x <- names(gq3hazard)

| | | | | | | | | | | | | | 
| | ||
|-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+|
| H1a | H1b | H1c | H2a | H2b | H2c | H3a | H3b | H3c | H3d | H4a | H4b | H4c | 
H5a | H5b | H5c | Htotal |
#+TBLRR: x <- t(names(gq3hazard))

|||
|+|
|  1 | H1a|
|  2 | H1b|
|  3 | H1c|
|  4 | H2a|
|  5 | H2b|
|  6 | H2c|
|  7 | H3a|
|  8 | H3b|
|  9 | H3c|
| 10 | H3d|
| 11 | H4a|
| 12 | H4b|
| 13 | H4c|
| 14 | H5a|
| 15 | H5b|
| 16 | H5c|
| 17 | Htotal |
#+TBLRR: x <- cbind(seq(length(gq3hazard)), names(gq3hazard))

Dan

http://www.stats.ox.ac.uk/~davison/software/org-tbl-R/org-tblR.el

(NB The code now uses TBLRR: instead of TBLR::)

p.s. [Explanation if required/interested : TBLRR lines contain R code
that create an R variable called `x' that gets output to the org
buffer as an org table. In these cases a degenerate org table (||) is
provided, and the R code doesn't use it when creating the variable
x. For non-R users: "<-" is the assignment operator in R (you can also
use "="), cbind sticks two vectors together column-wise, t is the
transpose function.]





> 
> 
> I suspect some of you are ahead of me, becasue the Org mode export
> takes these to be footnotes so in the PDF I get
> 
> > names(gq3hazard)
> 1
> "H1a" "H1b" "H1c" "H2a" "H2b" "H2c" "H3a" "H3b"
> $??9$ "H3c" "H3d" "H4a" "H4b" "H4c" "H5a" "H5b" "H5c"
> $??17$ "Htotal"
> 
> 
> with a footnote
> 
> 1
> 5 3 7 > library(boot) > medianCI(na.omit(H1b))
> 
> I have no idea where the >medianCI bit has come from but looking
> through the file, the spurious footnotes seems to be causing havoc
> with the layout.
> 
> 
> Is it possible to disable the footnote feature and then explicityly
> tell orgmode that a specific instance of square brackets should be
> interpreted as a footnote.
> 
> Thanks,
> 
> Graham
> 
> 
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
http://www.stats.ox.ac.uk/~davison


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] filtering timeline view

2009-01-28 Thread Ilya Shlyakhter
Is it possible to filter the timeline view (agenda) by tag and/or by
headline regexp?

I use orgmode for a research notebook, where the outline organizes
ideas on various projects and sub-projects.
I put timestamps into entries when I work on them, so that I can use
the Timeline agenda view to quickly find recently
worked-on items.  But I want to be able to find only the _important_
recently worked-on items, skipping things like
temporary brainstorming notes.   I can tag the important items (or the
unimportant items) with particular tags,
or with particular strings in the headlines; but is there a way to
restrict the timeline view based on that info?

thanks,

ilya


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode