Re: [O] newbie questions about ordered list alignment and line truncation

2011-12-01 Thread Eric S Fraga
sergio  writes:

> Hello.
>
> 1) Is it possible to make ordered list right-aligned? (Or why I should
> prefer left-aligned ones?)

I recommend to get used to it because left aligned is much easier for
implementation and I doubt anybody is going to change this...

> 2) How to set truncate-lines for org-mode? (Or why I should prefer
> default setting)

Well, you can always execute the command =toggle-truncate-lines= upon
creating an org buffer, and you could have this done automatically by
using the appropriate hook (=org-mode-hook= for instance).  However, I
would not recommend you do this as I believe that org-mode uses this
setting on purpose for whatever reason...
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1
: using Org-mode version 7.7 (release_7.7.615.g02c26)



Re: [O] Specify the end of a heading even when there's still some content after it

2011-12-01 Thread Eric S Fraga
Emmanuel Di Pretoro  writes:

> Hi,
>
> Is there a way to ask to org-mode to add something before the
> \end{document} of a LaTeX export?

The only thing that comes to mind would be to see if you can play with 

,[ C-h v org-export-latex-final-hook RET ]
| org-export-latex-final-hook is a variable defined in `org-latex.el'.
| Its value is
| ( ... )
| 
| 
|   This variable is potentially risky when used as a file local variable.
| 
| Documentation:
| Hook run in the finalized LaTeX buffer.
| 
| [back]
`

and fix up the latex created to insert what you need at the right
place?

HTH,
eric
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1
: using Org-mode version 7.7 (release_7.7.615.g02c26)



Re: [O] Implement a new emphasis style to hide text

2011-12-01 Thread Eric S Fraga
Stefan Janik  writes:

> Hello, 
> for some purposes I need to hide some words. (It would help to memorize these
> words). In the enriched mode I can do this just by marking the words and
> choosing M-x facemenu-set-background and then typing "black" for the 
> "Background
> color". 
>
> In the org-mode the enriched mode doesn't work. 
>
> A perfect solution for me would be a new emphasis style: 
> Maybe something like $a hidden text.$ --> $JUSTABLACKBOX$
> (like the _underline style_ ). 
> How can I do that? (Or any other suggestions?)
>  
> Thanks.
>
> Best regard, Stephan 

Have a look at

,[ C-h v org-emphasis-alist RET ]
| org-emphasis-alist is a variable defined in `org.el'.
| Its value is shown below.
| 
| Documentation:
| Special syntax for emphasized text.
| Text starting and ending with a special character will be emphasized, for
| example *bold*, _underlined_ and /italic/.  This variable sets the marker
| characters, the face to be used by font-lock for highlighting in Org-mode
| Emacs buffers, and the HTML tags to be used for this.
| For LaTeX export, see the variable `org-export-latex-emphasis-alist'.
| For DocBook export, see the variable `org-export-docbook-emphasis-alist'.
| Use customize to modify this, or restart Emacs after changing it.
| 
| You can customize this variable.
| 
| Value: (("*" bold "" "")
|  ("/" italic "" "")
|  ("_" underline "" "")
|  ("=" org-code "" "" verbatim)
|  ("~" org-verbatim "" "" verbatim)
|  ("+"
|   (:strike-through t)
|   "" "")
|  ("@" org-warning "" ""))
| 
| Original value was 
| (("*" bold "" "")
|  ("/" italic "" "")
|  ("_" underline "" "")
|  ("=" org-code "" "" verbatim)
|  ("~" org-verbatim "" "" verbatim)
|  ("+"
|   (:strike-through t)
|   "" ""))
`

You can define your own syntax (see my addition for @) with an
associated face (second term in each list).  The face could be one which
/hides/ the text, as you desire.

HTH,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1
: using Org-mode version 7.7 (release_7.7.615.g02c26)



Re: [O] Specify the end of a heading even when there's still some content after it

2011-12-01 Thread Tim Burt
Eric S Fraga  writes:

> Emmanuel Di Pretoro  writes:
>
>> Hi,
>>
>> Is there a way to ask to org-mode to add something before the
>> \end{document} of a LaTeX export?

LaTeX has the command \AtEndDocument{} which defers processing
of  until \end{document} is reached.  Might this suit your
need? 

Tim


>
> The only thing that comes to mind would be to see if you can play with 
>
> ,[ C-h v org-export-latex-final-hook RET ]
> | org-export-latex-final-hook is a variable defined in `org-latex.el'.
> | Its value is
> | ( ... )
> | 
> | 
> |   This variable is potentially risky when used as a file local variable.
> | 
> | Documentation:
> | Hook run in the finalized LaTeX buffer.
> | 
> | [back]
> `
>
> and fix up the latex created to insert what you need at the right
> place?
>
> HTH,
> eric

-- 
Tim Burt
www.rketburt.org
"It is healthful to every sane man to utter the art within him;" -- GK 
Chesterton



[O] [bug] Symbol's function definition is void: org-pop-to-buffer-same-window

2011-12-01 Thread Sebastien Vauban
Hello,

In conditions which I consider unchanged (I speak of my emacs config file),
with the latest Org-mode version, I now have the message:

let*: Symbol's function definition is void: org-pop-to-buffer-same-window

when doing, for example, `C-c C-x C-j' to jump on the currently clocked item.

Explicitly Loading `org-compat' does cure this problem... But we must miss a
`require' somewhere, but where?  In `org.el' itself?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] [Orgmode] Feature request: IDs on anything

2011-12-01 Thread sindikat
Apparently my post wasn't connected to the original thread, so here it is - 
http://lists.gnu.org/archive/html/emacs-orgmode/2009-03/msg00176.html 

Samuel, may be i will start implementing something like that locally, on my 
computer. Org already can substitute a spreadsheet or a plain-text data 
storage with tables, a wiki with external and internal links etc, but it 
still can't be a full-pledged key-value store (which can be used as 
semantic NoSQL database). 

So i would start implementing maps (dicts, key-value stores) upon org-mode. 
I want to do it incrementally, adding one small feature at a time. I want 
to implement the following features: 


- Automatically assign unique IDs to all headlines in buffer/region/subtree
- Nested properties (properties are maps basically) - does that require 
nested drawers?
- Property :LINKS: and commands to navigate across headlines linked to each 
other
- Previous property does not set the nature of a link (parent, child, 
prerequisite, reference), implement :LINK-TYPE: or something like that
- Previous task allows to export to RDF, because now any relationship of 
headlines can be seen as triple headline1 - type-of-link - headline2 

These additions do not require any new syntax, they build upon good old 
properties. After that id-markers would be a magnificent generalization. 

Also, i do not promise i will do this anytime soon, i'm no expert in Emacs 
Lisp. 


Any thoughts welcome :)



Re: [O] [bug] Symbol's function definition is void: org-pop-to-buffer-same-window

2011-12-01 Thread Kenny Meyer
I am getting the same message here upon calling various org-functions
(e.g.: org-drill, org-submit-bug-report), since I have compiled
org-mode from git, but I am not sure where exactly the error was
introduced.

> Explicitly Loading `org-compat' does cure this problem...
Requiring org-compat does not fix that here.
Can you tell me where exactly you loaded org-compat?

Org-mode version 7.7 (release_7.7.617.gb1f2)
GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0) of 2011-09-29

--
Kenny Meyer



On Thu, Dec 1, 2011 at 9:51 AM, Sebastien Vauban
 wrote:
> Hello,
>
> In conditions which I consider unchanged (I speak of my emacs config file),
> with the latest Org-mode version, I now have the message:
>
>    let*: Symbol's function definition is void: org-pop-to-buffer-same-window
>
> when doing, for example, `C-c C-x C-j' to jump on the currently clocked item.
>
> Explicitly Loading `org-compat' does cure this problem... But we must miss a
> `require' somewhere, but where?  In `org.el' itself?
>
> Best regards,
>  Seb
>
> --
> Sebastien Vauban
>
>



Re: [O] [bug] Symbol's function definition is void: org-pop-to-buffer-same-window

2011-12-01 Thread Nick Dokos
Kenny Meyer  wrote:

> I am getting the same message here upon calling various org-functions
> (e.g.: org-drill, org-submit-bug-report), since I have compiled
> org-mode from git, but I am not sure where exactly the error was
> introduced.
> 
> > Explicitly Loading `org-compat' does cure this problem...
> Requiring org-compat does not fix that here.
> Can you tell me where exactly you loaded org-compat?
> 
> Org-mode version 7.7 (release_7.7.617.gb1f2)
> GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0) of 
> 2011-09-29
> 
> --
> Kenny Meyer
> 

IIRC, the cure for macro problems like this is to

  make clean
  make

(alternatively, make clean and just use uncompiled code). There might be
something missing to cause it, but I don't think so in this case: I
tried a minimal .emacs with the same version as above (Org-mode version
7.7 (release_7.7.617.gb1f2) and I can start, goto the active clock and
stop it with no errors.

Nick


> 
> 
> On Thu, Dec 1, 2011 at 9:51 AM, Sebastien Vauban
>  wrote:
> > Hello,
> >
> > In conditions which I consider unchanged (I speak of my emacs config file),
> > with the latest Org-mode version, I now have the message:
> >
> >    let*: Symbol's function definition is void: org-pop-to-buffer-same-window
> >
> > when doing, for example, `C-c C-x C-j' to jump on the currently clocked 
> > item.
> >
> > Explicitly Loading `org-compat' does cure this problem... But we must miss a
> > `require' somewhere, but where?  In `org.el' itself?
> >
> > Best regards,
> >  Seb
> >
> > --
> > Sebastien Vauban
> >
> >
> 



Re: [O] Hang on incomplete input

2011-12-01 Thread Ken Williams

Rafael wrote:

> In Ubuntu 10.10, emacs 23.2 and recent org, I get an *Org-Babel Error
> Output* buffer, saying:
>
> Error: unexpected '}' in:
> "ddply(x,
> }"
> Execution halted

I'm using:

GNU Emacs 23.3 (from http://vgoulet.act.ulaval.ca/en/emacs/windows/)
Windows 7
org-mode 7.7
ESS 5.14

What version of ESS do you have?  Maybe that's the difference?

Any suggestions for how to debug a hang like this?  Is there a signal I can 
send it, to generate a stack trace (if signals are even possible in Windows, 
I'm not even sure)?

 -Ken

CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. Any 
unauthorized review, use, disclosure or distribution of any kind is strictly 
prohibited. If you are not the intended recipient, please contact the sender 
via reply e-mail and destroy all copies of the original message. Thank you.



Re: [O] [bug] Symbol's function definition is void: org-pop-to-buffer-same-window

2011-12-01 Thread Nick Dokos
Nick Dokos  wrote:

> Kenny Meyer  wrote:
> 
> > I am getting the same message here upon calling various org-functions
> > (e.g.: org-drill, org-submit-bug-report), since I have compiled
> > org-mode from git, but I am not sure where exactly the error was
> > introduced.
> > 
> > > Explicitly Loading `org-compat' does cure this problem...
> > Requiring org-compat does not fix that here.
> > Can you tell me where exactly you loaded org-compat?
> > 
> > Org-mode version 7.7 (release_7.7.617.gb1f2)
> > GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0) of 
> > 2011-09-29
> > 
> > --
> > Kenny Meyer
> > 
> 
> IIRC, the cure for macro problems like this is to
> 

Sorry - I thought it was a macro but it isn't. Nevertheless,
the note below still stands.

Nick

>   make clean
>   make
> 
> (alternatively, make clean and just use uncompiled code). There might be
> something missing to cause it, but I don't think so in this case: I
> tried a minimal .emacs with the same version as above (Org-mode version
> 7.7 (release_7.7.617.gb1f2) and I can start, goto the active clock and
> stop it with no errors.
> 
> Nick
> 
> 
> > 
> > 
> > On Thu, Dec 1, 2011 at 9:51 AM, Sebastien Vauban
> >  wrote:
> > > Hello,
> > >
> > > In conditions which I consider unchanged (I speak of my emacs config 
> > > file),
> > > with the latest Org-mode version, I now have the message:
> > >
> > >    let*: Symbol's function definition is void: 
> > > org-pop-to-buffer-same-window
> > >
> > > when doing, for example, `C-c C-x C-j' to jump on the currently clocked 
> > > item.
> > >
> > > Explicitly Loading `org-compat' does cure this problem... But we must 
> > > miss a
> > > `require' somewhere, but where?  In `org.el' itself?
> > >
> > > Best regards,
> > >  Seb
> > >
> > > --
> > > Sebastien Vauban
> > >
> > >
> > 
> 



Re: [O] Hang on incomplete input

2011-12-01 Thread Nick Dokos
Ken Williams  wrote:

> 
> Rafael wrote:
> 
> > In Ubuntu 10.10, emacs 23.2 and recent org, I get an *Org-Babel Error
> > Output* buffer, saying:
> >
> > Error: unexpected '}' in:
> > "ddply(x,
> > }"
> > Execution halted
> 
> I'm using:
> 
> GNU Emacs 23.3 (from http://vgoulet.act.ulaval.ca/en/emacs/windows/)
> Windows 7
> org-mode 7.7
> ESS 5.14
> 
> What version of ESS do you have?  Maybe that's the difference?
> 

FWIW, I got the same thing as Rafael:

Linux 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 
GNU/Linux
GNU Emacs 24.0.90.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 
2011-10-27
Org-mode version 7.7 (release_7.7.617.gb1f2)

Forgive my ignorance: how do I check the ESS version? And what does ESS have
to do with R? I thought this was an R code block, but as you can probably
tell, I'm an ignoRamus.

When I start R interactively, I get 

,
| R version 2.11.1 (2010-05-31)
| Copyright (C) 2010 The R Foundation for Statistical Computing
| ISBN 3-900051-07-0
`

> Any suggestions for how to debug a hang like this?  Is there a signal I can 
> send it, to generate a stack trace (if signals are even possible in Windows, 
> I'm not even sure)?
> 

Probably the best thing to do is cut out the middleman: execute the code
snippet in the appropriate environment directly - no emacs, no org, no
babel - and see if you have the problem. There are differences of course
that babel tries to minimize but it can only simulate certain cases. E.g
when I enter the incomplete form in the interactive session, it keeps giving
me a secondary prompt attempting to convince me to do something sensible:

,
| 
| >  dply(x,
| + 
| + 
| + )
| Error: could not find function "dply"
| >
`

babel does not have that luxury.

If that does not bear fruit, you can M-x toggle-debug-on-quit, run the
code block and press C-g to get a backtrace. Rinse, repeat to see
whether you always stop at the same point. It's somewhat hit-or-miss but
it can be effective sometimes.

Nick





Re: [O] Hang on incomplete input

2011-12-01 Thread Ken Williams


> -Original Message-
> From: n...@dokosmarshall.org [mailto:n...@dokosmarshall.org] On Behalf
> Of Nick Dokos
> Sent: Thursday, December 01, 2011 9:21 AM
>
> Forgive my ignorance: how do I check the ESS version? And what does ESS
> have to do with R? I thought this was an R code block, but as you can
> probably tell, I'm an ignoRamus.

ESS is the mechanism by which org-mode interfaces with a running R process.

And I think I left out a crucial piece of information in my first message: I 
run R in a session buffer, my full .org file looks like this:

###
#+TITLE: Test doc
#+AUTHOR: Ken Williams
#+BABEL: :session *Rt*

* My Header

Some code:

#+begin_src R
ddply(x,
#+end_src
###

With that change, is the hang reproducible?


> If that does not bear fruit, you can M-x toggle-debug-on-quit, run the code
> block and press C-g to get a backtrace. Rinse, repeat to see whether you
> always stop at the same point. It's somewhat hit-or-miss but it can be
> effective sometimes.

I could *SWEAR* I had tried C-g to abort the running R command (and C-c C-c, 
and C-c C-g, and about a dozen other things), but couldn't get it to react.  
Now it aborts as desired.  I must have not actually tried a simple C-g.  I can 
never remember which keys abort which aspect of operation.

When I'm armed with that C-g, the hang is a much smaller issue!

 -Ken


CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. Any 
unauthorized review, use, disclosure or distribution of any kind is strictly 
prohibited. If you are not the intended recipient, please contact the sender 
via reply e-mail and destroy all copies of the original message. Thank you.



[O] delete, add new row

2011-12-01 Thread henry atting
Suppose I have this table:

| month | expenses | average |
|---+--+-|
| 1 |   20 | |
| 2 |   30 |25.0 |
| 3 |   40 |30.0 |
#+TBLFM: @3$3..@>$3=vmean(@2$2..@0$2);%.1f

Then I want to delete the second row and add a new one at the bottom.
If I do so I get `#ERROR' on every recalculation.

| month | expenses | average |
|---+--+-|
| 2 |   30 |  #ERROR |
| 3 |   40 |  #ERROR |
| 4 | 50   |  #ERROR |
#+TBLFM: @2$3..@>$3=vmean(@INVALID$2..@0$2);%.1f

If I push the second row to the bottom the
result is as if the last row is still the second one.

| month | expenses | average |
|---+--+-|
| 2 |   30 |30.0 |
| 3 |   40 |30.0 |
| 1 |   20 |20.0 |
#+TBLFM: @2$3..@>$3=vmean(@4$2..@0$2);%.1f


henry

-- 
http://literaturlatenight.de




[O] Worg migration complete

2011-12-01 Thread Jason Dunsmore
Worg contributors,

The Worg git repository migration to the org server is complete.  To
contribute, you'll need to send your public SSH key to Bastien or I.
Then, once you receive confirmation that the key has been added, edit
your worg/.git/config file and set the remote URL to
w...@orgmode.org:worg.git OR delete your old repo and run:

git clone w...@orgmode.org:worg.git

I've set up a new Worg publishing process which is triggered as soon as
a commit is pushed.  You'll see the output from the emacs process in
your terminal (should aid in debugging export issues).  The changes will
be available on the Worg site immediately.

I've updated http://orgmode.org/worg/worg-setup.html.  Please let me
know if you find any out-dated Worg documentation.

You can browse the worg repo at:
http://orgmode.org/w/?p=worg.git;a=summary

Read-only git access for the worg repo is available via:

git clone git://orgmode.org/worg.git

Regards,
Jason



Re: [O] Hang on incomplete input

2011-12-01 Thread Nick Dokos
Ken Williams  wrote:

> 
> 
> > -Original Message-
> > From: n...@dokosmarshall.org [mailto:n...@dokosmarshall.org] On Behalf
> > Of Nick Dokos
> > Sent: Thursday, December 01, 2011 9:21 AM
> >
> > Forgive my ignorance: how do I check the ESS version? And what does ESS
> > have to do with R? I thought this was an R code block, but as you can
> > probably tell, I'm an ignoRamus.
> 
> ESS is the mechanism by which org-mode interfaces with a running R process.
> 

Ok, thanks! I must have set it up at some point, but I had completely forgotten
about it. The README says it's 5.11.

> And I think I left out a crucial piece of information in my first message: =
> I run R in a session buffer, my full .org file looks like this:
> 
> ###
> #+TITLE: Test doc
> #+AUTHOR: Ken Williams
> #+BABEL: :session *Rt*
> 
> * My Header
> 
> Some code:
> 
> #+begin_src R
> ddply(x,
> #+end_src
> ###
> 
> With that change, is the hang reproducible?
> 

Yup - I did it twice and got the backtrace at the bottom of this mail
both times.  One funky thing is that it only happens every second C-c C-c
for me.

Note also that #+BABEL: is obsolete for versions of org more recent than
Oct. 20 or so. You seem to still be running 7.7 from late July or early
August, so you should still be OK, but when you next upgrade, you will
need to make changes to your files. I had to change it to #+PROPERTIES:
...  for my org version.

A good starting point on this change  is Eric Schulte's message entitled

  "Standardized code block syntax and Property Accumulation merged into Master"

Nick


> 
> > If that does not bear fruit, you can M-x toggle-debug-on-quit, run the co=
> de
> > block and press C-g to get a backtrace. Rinse, repeat to see whether you
> > always stop at the same point. It's somewhat hit-or-miss but it can be
> > effective sometimes.
> 
> I could *SWEAR* I had tried C-g to abort the running R command (and C-c C-c=
> , and C-c C-g, and about a dozen other things), but couldn't get it to reac=
> t.  Now it aborts as desired.  I must have not actually tried a simple C-g.=
>   I can never remember which keys abort which aspect of operation.
> 
> When I'm armed with that C-g, the hang is a much smaller issue!
> 
>  -Ken
> 
> 
> CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte=
> nded recipient(s) and may contain confidential and privileged information. =
> Any unauthorized review, use, disclosure or distribution of any kind is str=
> ictly prohibited. If you are not the intended recipient, please contact the=
>  sender via reply e-mail and destroy all copies of the original message. Th=
> ank you.
> 

Backtrace:

Debugger entered--Lisp error: (quit)
  file-exists-p("/tmp/babel-5986bN8/R-5986N_O")
  (not (file-exists-p file))
  (while (not (file-exists-p file)) (sit-for (or period 0.25)))
  org-babel-comint-eval-invisibly-and-wait-for-file("*Rt*" 
"/tmp/babel-5986bN8/R-5986N_O" 
"{function(object,transfer.file){object;invisible(if(inherits(try({tfile<-tempfile();write.table(object,file=tfile,sep=\"\\t\",na=\"nil\",row.names=FALSE,col.names=FALSE,quote=FALSE);file.rename(tfile,transfer.file)},silent=TRUE),\"try-error\")){if(!file.exists(transfer.file))file.create(transfer.file)})}}(object=.Last.value,transfer.file=\"/tmp/babel-5986bN8/R-5986N_O\")")
  (let ((tmp-file (org-babel-temp-file "R-"))) 
(org-babel-comint-eval-invisibly-and-wait-for-file session tmp-file (format 
org-babel-R-write-object-command (if row-names-p "TRUE" "FALSE") (if 
column-names-p (if row-names-p "NA" "TRUE") "FALSE") ".Last.value" 
(org-babel-process-file-name tmp-file (quote noquote 
(org-babel-R-process-value-result (org-babel-import-elisp-from-file tmp-file 
(quote (16))) column-names-p))
  (cond ((eql result-type (quote value)) (with-temp-buffer (insert 
(org-babel-chomp body)) (let ((ess-local-process-name (process-name 
(get-buffer-process session (ess-eval-buffer nil))) (let ((tmp-file 
(org-babel-temp-file "R-"))) (org-babel-comint-eval-invisibly-and-wait-for-file 
session tmp-file (format org-babel-R-write-object-command (if row-names-p 
"TRUE" "FALSE") (if column-names-p (if row-names-p "NA" "TRUE") "FALSE") 
".Last.value" (org-babel-process-file-name tmp-file (quote noquote 
(org-babel-R-process-value-result (org-babel-import-elisp-from-file tmp-file 
(quote (16))) column-names-p))) ((eql result-type (quote output)) (mapconcat 
(function org-babel-chomp) (butlast (delq nil (mapcar (lambda (line) (when ... 
line)) (mapcar (lambda ... ...) (org-babel-comint-with-output ... ... ...) 
"\n")))
  (case result-type (value (with-temp-buffer (insert (org-babel-chomp body)) 
(let ((ess-local-process-name (process-name (get-buffer-process session 
(ess-eval-buffer nil))) (let ((tmp-file (org-babel-temp-file "R-"))) 
(org-babel-comint-eval-invisibly-and-wait-for-file session tmp-file (format 
org-babel-R-write-object-command (if row-names-p "TRUE" "FAL

Re: [O] Hang on incomplete input

2011-12-01 Thread Ken Williams


> -Original Message-
> From: nicholas.dokos
> Sent: Thursday, December 01, 2011 12:19 PM
>
> Note also that #+BABEL: is obsolete for versions of org more recent than Oct.
> 20 or so. You seem to still be running 7.7 from late July or early August, so 
> you
> should still be OK, but when you next upgrade, you will need to make
> changes to your files. I had to change it to #+PROPERTIES:
> ...  for my org version.
>
> A good starting point on this change  is Eric Schulte's message entitled
>
>   "Standardized code block syntax and Property Accumulation merged into
> Master"

Thanks for the heads up, I'll make the change.  But it seems like the thread 
you referenced might only be tangentially related to a BABEL->PROPERTIES change:

  http://thread.gmane.org/gmane.emacs.orgmode/49247/focus=49309

Or if it's there, I'm not seeing it. =)

 -Ken


CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. Any 
unauthorized review, use, disclosure or distribution of any kind is strictly 
prohibited. If you are not the intended recipient, please contact the sender 
via reply e-mail and destroy all copies of the original message. Thank you.



Re: [O] Hang on incomplete input

2011-12-01 Thread Nick Dokos
Ken Williams  wrote:

> 
> > A good starting point on this change  is Eric Schulte's message entitled
> >
> >   "Standardized code block syntax and Property Accumulation merged into
> > Master"
> 
> Thanks for the heads up, I'll make the change.  But it seems like the thread 
> you referenced might only be tangentially related to a BABEL->PROPERTIES 
> change:
> 
>   http://thread.gmane.org/gmane.emacs.orgmode/49247/focus=49309
> 
> Or if it's there, I'm not seeing it. =)
> 

You are probably right - I haven't had the time to keep up with the discussion,
This change is slightly older and it was discussed a lot during October.

And I got it wrong too: it's #+PROPERTY: , not #+PROPERTIES: ...
Sorry about that.

In a recent version of the info version of the manual, check out (info "(org) 
Buffer-wide header arguments")

Nick




Re: [O] delete, add new row

2011-12-01 Thread Jonathan Leech-Pepin
I'm not sure as to the reason why it does so, but based on your example,
the formula is referencing the specific cell itself, rather than the
relative position of the cell.  If you change your formula to use a
relative reference, it will continue to work even when you add, remove and
move the rows.

#+TBLFM: @2$3..@>$3=vmean(@I$2..@0$2);%.1f
or
#+TBLFM: @2$3..@>$3=vmean(@<<$2..@0$2);%.1f
will both provide you with the result you seem to be looking for.  The
former uses your (first) horizontal line as the starting point, whereas the
latter uses the 2nd row from the top.

Regards,
Jonathan

On Thu, Dec 1, 2011 at 12:42, henry atting  wrote:

> Suppose I have this table:
>
> | month | expenses | average |
> |---+--+-|
> | 1 |   20 | |
> | 2 |   30 |25.0 |
> | 3 |   40 |30.0 |
> #+TBLFM: @3$3..@>$3=vmean(@2$2..@0$2);%.1f
>
> Then I want to delete the second row and add a new one at the bottom.
> If I do so I get `#ERROR' on every recalculation.
>
> | month | expenses | average |
> |---+--+-|
> | 2 |   30 |  #ERROR |
> | 3 |   40 |  #ERROR |
> | 4 | 50   |  #ERROR |
> #+TBLFM: @2$3..@>$3=vmean(@INVALID$2..@0$2);%.1f
>
> If I push the second row to the bottom the
> result is as if the last row is still the second one.
>
> | month | expenses | average |
> |---+--+-|
> | 2 |   30 |30.0 |
> | 3 |   40 |30.0 |
> | 1 |   20 |20.0 |
> #+TBLFM: @2$3..@>$3=vmean(@4$2..@0$2);%.1f
>
>
> henry
>
> --
> http://literaturlatenight.de
>
>
>


Re: [O] Open Drawer using keys or even better automatically

2011-12-01 Thread Herbert Sitz
Markus Grebenstein  mgrebenstein.de> writes:
> 
> Dear List,
> 
> after converting my whole thesis from Scrivener to Orgmode I'm missing  
> just one feature:
> Synopsis
> 
> The method proposed in the list using the VISIBILITY property is not  
> suitable for me since I want to have the synopsis at the level of the  
> text it describes and I want to be able to have some introduction text  
> also besides the synopsis.

Markus -- Was this the method you didn't like that used the VISIBILITY property,
or was it the same author's previous solution?:

http://article.gmane.org/gmane.emacs.orgmode/34949/match=synopsis

-- Herb Sitz





Re: [O] how to show deadlines in global to-do list?

2011-12-01 Thread Herbert Sitz
James Harkins  gmail.com> writes:

> I like the out-of-the-box to-do list, except one thing: I would like
> to see the items' deadlines. The weekly agenda view shows the
> deadlines, but I need a view where I can see *only* to-do items and
> their deadlines.
> 
Here is one way:

Include this line in your org-file's config lines, or just stick it in if you
don't have config-line block:

#+COLUMNS: %45ITEM %18DEADLINE

Now either save and reload or press  on the #+COLUMNS line.

Now do your agenda search.  Once in agenda, turn on column view by pressing:



This is a more-or-less temporary solution.  I'm sure there's way to make the
columns setting above a default without having to put the config line in your
buffers, but don't remember offhand.  I believe turning on column-view is a
setting you can include when defining a user-defined search. . .