Re: [Orgmode] FR: Columnview Tables & Formulas

2008-09-07 Thread Russell Adams
On Sun, Sep 07, 2008 at 08:43:52AM +0200, Carsten Dominik wrote:
> Hi Russel,
>
>
> hmmm, an alternative would be to introduce a new property and do the  
> computation in the properties.  I can see that it would be relatively  
> simple to define a TBLFM line that should be added to the table  
> capturing the the column view, but if you need to add extra columns to  
> the table, this makes things a lot harder.
>
> - Carsten

Do we have to ability to calculate a property from another property?
If I could set that at the parent, where the calculation is inherited
by the children, that would be perfect!

Thanks.


--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] Passing an option to org-file-apps?

2008-09-07 Thread Carsten Dominik


On Jul 17, 2008, at 5:30 AM, anhnmncb wrote:


Hi, list,
I have an external link like this:
 [[file:~/doc/foo.pdf]]
And I have configured to use xpdf to open it, but every time I open  
it,

it always at the first page.

If can I pass an option to xpdf, so after I finish reading, I change  
the

page number, then next time I open it, it will automatically open that
page for me?

Something like this:
 [[file:~/doc/foo.pdf 25]]
So org will invoke xpdf in this way: xpdf ~/doc/foo.pdf 25.


Org has no mechanism to pass switches to external commands.  But you  
can try to find a pdf viewer that supports going back to a previous  
location.  For example, "Preview" in MacOS X does this, maybe there  
are also open source programs that do it.


- 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] FR: Columnview Tables & Formulas

2008-09-07 Thread Carsten Dominik
No, not yet - but with the recently implemented mapping functions, it  
would not be so hard.  Nice extension!  Anyone interested in trying to  
write it?


- Carsten

On Sep 7, 2008, at 8:59 AM, Russell Adams wrote:


On Sun, Sep 07, 2008 at 08:43:52AM +0200, Carsten Dominik wrote:

Hi Russel,


hmmm, an alternative would be to introduce a new property and do the
computation in the properties.  I can see that it would be relatively
simple to define a TBLFM line that should be added to the table
capturing the the column view, but if you need to add extra columns  
to

the table, this makes things a lot harder.

- Carsten


Do we have to ability to calculate a property from another property?
If I could set that at the parent, where the calculation is inherited
by the children, that would be perfect!

Thanks.


--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC indent error

2008-09-07 Thread Carsten Dominik

Hi Tseng,

I don't think the indentation function in Org is good enough to apply  
it to the entire file anyway, so no action on this thread.  Sorry.


- Carsten

On Aug 3, 2008, at 2:04 PM, S.P.Tseng wrote:


Bernt Hansen <[EMAIL PROTECTED]> writes:


S.P.Tseng <[EMAIL PROTECTED]> writes:


2. Press tab at the line "Exclusive or.", indent error.
#+BEGIN_SRC emacs-lisp
(defun org-xor (a b)
  "Exclusive or."
  (if a (not b) b))
#+END_SRC


Switch to the appropriate mode first with C-c ' anywhere inside the  
SRC

block and then indent works fine.  You switch back to org-mode with
another C-c '


In fact I want to stop org-mode treat [[.xx][]] as link with
#+BEGIN_EXAMPLE and #+END_EXAMPLE just like ":".


I don't think it's reasonable that org-mode should know all of the
indentation requirements for all other modes.


I do not mean org-mode should know all of the  indentation  
requirements for all
other modes. I think the code between  #+BEGIN_SRC and  #+END_SRC is  
better to

stop indent when I press Tab in them.

Then I can use follow code two indent the whole buffer.
,
| (defun iwb ()
|   "indent whole buffer"
|   (interactive)
|   (delete-trailing-whitespace)
|   (indent-region (point-min) (point-max) nil)
|   (untabify (point-min) (point-max)))
`

For the moment, If I use the function iwb to indent the whole  
buffer, the indent

of the code between  #+BEGIN_SRC and  #+END_SRC will be destroy.



___
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] Remember integration

2008-09-07 Thread Carsten Dominik

Hi Russel,

remember-handler-functions is a hook that can contain several  
functions.  The first function that returns non-nil is assumed to have  
done the work, so the other ons are not called.


You can do

  (setq remember-handler-functions '(my-ledger-function org-remember- 
handler))


and let the first function do the work for ledger entries.   It needs  
to have a way to identify the corresponding buffer - if that is non- 
trivial, then your template can leave some special text that will be  
removed by my-ledger-fuction before appending the content to a file.


HTH

- Carsten

On Aug 8, 2008, at 9:23 AM, Russell Adams wrote:


Is there a way to override the 'remember files requires a headline'
requirement?

I'd like to have a remember template that just appends the template to
a file. In this case I'm using a remember template to try and create a
ledger entry for expenses. It is not an org file.

Using remember is the right place to do it (ie: in place fast data
entry for later), but the org integration is forcing file validation.

Thanks.

--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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] Passing an option to org-file-apps?

2008-09-07 Thread Daniel Clemente

Hi,

> Something like this:
>   [[file:~/doc/foo.pdf 25]]
> So org will invoke xpdf in this way: xpdf ~/doc/foo.pdf 25.
>
  Maybe it's better:
[[shell:xpdf ~/doc/foo.pdf 25]]

  since you want to pass „25“ to xpdf only. It is meaningless to pass the 25 
*to the PDF*.


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


Re: [Orgmode] Passing an option to org-file-apps?

2008-09-07 Thread Sebastian Rose

Carsten Dominik wrote:


Org has no mechanism to pass switches to external commands.  But you can 
try to find a pdf viewer that supports going back to a previous 
location.  For example, "Preview" in MacOS X does this, maybe there are 
also open source programs that do it.


As you say 'xpdf' I assume you use GNU/Linux? evince goes to the last
visited page autmatically.


Sebastian


___
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-mode opening org files

2008-09-07 Thread Carsten Dominik

Hi Richard,

one way out would be to open all the org files early on in your Emac  
session.  Once they are there, I believe they will not move back to  
the bottom of the history list - or am I mistaken here?


- Carsten

On Jul 30, 2008, at 7:30 PM, Richard G Riley wrote:



Would it be possibly for org-mode to open the org-files using a
different open mechanism which does not contribute to file history? I
use "previous-history-element" a lot in the mini buffer to reopen  
files

but the history includes my 8 or 9 org files which org has opened.


___
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] format table column

2008-09-07 Thread Carsten Dominik

Hi Plutek,

I would like to have this too, but unfortunately many browsers ignore  
alignment specified for an entire column - you need to put the  
alignment into each field.  This was, so far, too annoying to implement.


- Carsten

On Aug 1, 2008, at 4:09 AM, plutek-infinity wrote:


greetings!

i'm wondering if there is a way, within the org-mode table- 
formatting facilities, or within an org-mode css style block, to  
define text formatting on a per-column basis.
i.e. to make a table which, when exported to html, will have column  
A all center-aligned, column B all right-aligned, and column C all  
left-aligned.


it would, of course, be preferable to have the format definition  
somehow defined such that editing, removing, or adding rows to the  
table doesn't disturb the formatting -- i.e. anything added to  
column A becomes center-aligned, etc.


thanks, in advance, for any clues you may have!
cheers!

--
.pltk.


___
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


Fwd: [Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC indent error

2008-09-07 Thread S . P . Tseng
-- Forwarded message --
From: S. P. Tseng <[EMAIL PROTECTED]>
Date: Sun, Sep 7, 2008 at 8:32 PM
Subject: Re: [Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and
#+BEGIN_SRC indent error
To: Carsten Dominik <[EMAIL PROTECTED]>



I think you misunderstand me.

I never want to let the indentation function in Org apply to the entire
file.
The key '' default bind to functon 'org-cycle'. For example I press
'C-c ''
in side SRC block as below, and edit, you know they can ident correctly and
press 'C-c '' to back. Move cursor to line 4, press the TAB key, now the
first
"(" will auto move to the beginning of the line so I say indent will not be
right.

What I mean is when the cursor in side SRC block, press '' key do
nothin.
So I can write a function to indent the entire file.

1 #+BEGIN_SRC emacs-lisp
2 (defun org-xor (a b)
3   "Exclusive or."
4   (if a (not b) b))   <--
5 #+END_SRC


>>>
Carsten Dominik <[EMAIL PROTECTED]> writes:

> Hi Tseng,
>
> I don't think the indentation function in Org is good enough to apply it
to the entire file anyway, so no action on this
> thread.  Sorry.
>
> - Carsten
>
> On Aug 3, 2008, at 2:04 PM, S.P.Tseng wrote:
>
>> Bernt Hansen <[EMAIL PROTECTED]> writes:
>>
>>> S.P.Tseng <[EMAIL PROTECTED]> writes:
>>>
 2. Press tab at the line "Exclusive or.", indent error.
 #+BEGIN_SRC emacs-lisp
 (defun org-xor (a b)
   "Exclusive or."
   (if a (not b) b))
 #+END_SRC
>>>
>>> Switch to the appropriate mode first with C-c ' anywhere inside the SRC
>>> block and then indent works fine.  You switch back to org-mode with
>>> another C-c '
>>
>> In fact I want to stop org-mode treat [[.xx][]] as link with
>> #+BEGIN_EXAMPLE and #+END_EXAMPLE just like ":".
>>>
>>> I don't think it's reasonable that org-mode should know all of the
>>> indentation requirements for all other modes.
>>
>> I do not mean org-mode should know all of the  indentation requirements
for all
>> other modes. I think the code between  #+BEGIN_SRC and  #+END_SRC is
better to
>> stop indent when I press Tab in them.
>>
>> Then I can use follow code two indent the whole buffer.
>> ,
>> | (defun iwb ()
>> |   "indent whole buffer"
>> |   (interactive)
>> |   (delete-trailing-whitespace)
>> |   (indent-region (point-min) (point-max) nil)
>> |   (untabify (point-min) (point-max)))
>> `
>>
>> For the moment, If I use the function iwb to indent the whole buffer, the
indent
>> of the code between  #+BEGIN_SRC and  #+END_SRC will be destroy.
>>
>>
>>
>> ___
>> 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
>

--
The opposite of love is not hate;
the opposite of love is solitude.
___
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: Passing an option to org-file-apps?

2008-09-07 Thread Jose A. Ortega Ruiz

An easy way of getting the desired behaviour is to use a custom
link type:

  (org-add-link-type "pdf" 'my-follow-pdf-link 'identity)
  (defun my-follow-pdf-link (link)
"Follow links of the type path/to/file:line-no"
(when (string-match "\\(.+\\)@\\([0-9]+\\)$" link)
  (start-process "*xpdf*" nil "xpdf"
 (match-string 1 link)
 (match-string 2 link

and then use [[pdf:~/doc/[EMAIL PROTECTED] One can easily write a function
to fix HTML publishing if needed, and use it instead of 'identity'
above. As you can see, there're many variations on this theme: custom
links let you use any elisp you want.

HTH,
jao

Carsten Dominik <[EMAIL PROTECTED]> writes:

> On Jul 17, 2008, at 5:30 AM, anhnmncb wrote:
>
>> Hi, list,
>> I have an external link like this:
>>  [[file:~/doc/foo.pdf]]
>> And I have configured to use xpdf to open it, but every time I open
>> it,
>> it always at the first page.
>>
>> If can I pass an option to xpdf, so after I finish reading, I change
>> the
>> page number, then next time I open it, it will automatically open that
>> page for me?
>>
>> Something like this:
>>  [[file:~/doc/foo.pdf 25]]
>> So org will invoke xpdf in this way: xpdf ~/doc/foo.pdf 25.
>
> Org has no mechanism to pass switches to external commands.  But you
> can try to find a pdf viewer that supports going back to a previous
> location.  For example, "Preview" in MacOS X does this, maybe there
> are also open source programs that do it.
>
> - Carsten
>

--
In this age, the mere example of nonconformity, the mere refusal to bend
the knee to custom, is itself a service.
 -John Stuart Mill, philosopher and economist (1806-1873)



___
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] Bug: Angle brackets in org-time-stamp-format loses in html export

2008-09-07 Thread Carsten Dominik


Hi Raman,

I have thought about it, and I think you are right, we should remove it.

This made more sense when we always skipped the text before the first  
heading, but now, this is not the default, so there is a simpler way  
to get text before the first heading.


OK, it is gone.

- Carsten

On Sep 6, 2008, at 12:28 AM, raman wrote:


Thanks, another org-export irritant: could we lose the "#+ insert some
descriptive text here" line from the default template?




___
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] Graphical Line in File

2008-09-07 Thread Carsten Dominik


On Sep 5, 2008, at 4:36 PM, Parker, Matthew wrote:

This is a really (*really*) trivial problem, but one that I've seen  
many

times, is annoying, and I wonder if anyone knows an easy fix.

I'll get these long lines (not text just some graphical artifact) off
the left of comments. See image attached.


Hi Matthew,

you are telling us how to get rid if it, but not how you get it in the  
first place.  Can you create a step-by-step example to reproduce this  
problem?


Thanks.

- Carsten




The line goes away if:
 * Change to text mode
 * Change to nxml-mode
 * Or if I "hunt-and-peck" to remove a character:

 The "/" changed to "x" fixes it here:
#  _   _
# | |__   _  _| |_ ___ __ _  ___ _ __   _    _
# |  _ \ / _ \ \ /\ / / __/ _ \   / _` |/ _ \ '_ \ / _ \ \ / / _`
|
# | | | | (_) \ V  V /| || (_) | | (_| |  __/ | | |  __/\ V / (_| |
# |_| |_|\___/ \_/\_/  \__\___/   \__, |\___|_| |_|\___| \_/ \__,_|
# |___/
#  _   _
# | |__   _ _| |_ ___ __ _  ___ _ __   _    _
# |  _ \ / _ \ \ x\ / / __/ _ \   / _` |/ _ \ '_ \ / _ \ \ / / _` |
# | | | | (_) \ V  V /| || (_) | | (_| |  __/ | | |  __/\ V / (_| |
# |_| |_|\___/ \_/\_/  \__\___/   \__, |\___|_| |_|\___| \_/ \__,_|
# |___/


 The "_" changed to "x" fixes it here:
#  _ _
#   __ _ _ __  _   _  | (_)_ __  _   ___  __
#  / _` | '_ \| | | | | | | '_ \| | | \ \/ /
# | (_| | | | | |_| | | | | | | | |_| |>  <
#  \__, |_| |_|\__,_| |_|_|_| |_|\__,_/_/\_\
#  |___/
#  _ _
#   __ _ _ __  _   _  | (_)_ __  _   ___  __
#  / _` | '_ \| | | | | | | '_ \| | | \ \/ /
# | (x| | | | | |_| | | | | | | | |_| |>  <
#  \__, |_| |_|\__,_| |_|_|_| |_|\__,_/_/\_\
#  |___/
#


Note - this happens in emacs22 in emacsw32 and in emacs22 over putty.


Thanks again for the great org-mode! :)



comment.png>___

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] {Feature Request] Categories in icalendar export

2008-09-07 Thread Carsten Dominik


On Sep 3, 2008, at 8:40 AM, Charles philip Chan wrote:


Hello:

Is it possible to have the tags (minus the colons) as a comma  
separated

list for the "Categories" field in icalendar export? I usually have a
GTD context as the first tag. This will allow me to see them as  
separate

lists on my pilot.


That would be possible, however, I think this is not a stable  
feature.  How can you make sure the the corresponding tag is always  
the first in your list of tags?


- 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] HTML export problems

2008-09-07 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Aug 23, 2008, at 9:27 PM, David O'Toole wrote:


The first paragraph before any heading is exported, but without
surrounding P paragraph tags; the remaining paragraphs (whether before
other headings, or after those headings) all have P tags and this is
messing up the styling. I'm using org-version 6.06b.

#+OPTIONS skip:nil is on.



___
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] format table column

2008-09-07 Thread plutek-infinity

>Date: Sun, 7 Sep 2008 10:58:14 +0200
>From: Carsten Dominik <[EMAIL PROTECTED]>

>Hi Plutek,
>
>I would like to have this too, but unfortunately many browsers ignore  
>alignment specified for an entire column - you need to put the  
>alignment into each field.  This was, so far, too annoying to implement.
>
>- Carsten

thanks, carsten -- good to know!

>
>On Aug 1, 2008, at 4:09 AM, plutek-infinity wrote:
>
>> greetings!
>>
>> i'm wondering if there is a way, within the org-mode table- 
>> formatting facilities, or within an org-mode css style block, to  
>> define text formatting on a per-column basis.
>> i.e. to make a table which, when exported to html, will have column  
>> A all center-aligned, column B all right-aligned, and column C all  
>> left-aligned.
>>
>> it would, of course, be preferable to have the format definition  
>> somehow defined such that editing, removing, or adding rows to the  
>> table doesn't disturb the formatting -- i.e. anything added to  
>> column A becomes center-aligned, etc.
>>
>> thanks, in advance, for any clues you may have!
>> cheers!
>>
>> -- 
>> .pltk.


-- 
.pltk.


___
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] FR: Columnview Tables & Formulas

2008-09-07 Thread Eric Schulte
Carsten Dominik <[EMAIL PROTECTED]> writes:

> No, not yet - but with the recently implemented mapping functions, it
> would not be so hard.  Nice extension!  Anyone interested in trying to
> write it?
>
> - Carsten

I second that it would be very nice to be able to specify calc/elisp
functions to be applied to property values before dumping the results to
tables.  I run IR experiments, and dump the results to org-mode
formatted text files with individual runs as subtrees and specific
values stored as properties of those trees, I then use column tables to
collect these values into tables which I plot with org-plot.  It would
be nice to be able to preserve #+PLOT lines for these tables as well as
apply formulas to the tables. -- Eric


___
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] spreadsheet in org

2008-09-07 Thread Richard G Riley

Here is a straightforward spreadsheet:


* Test org-mode spreadsheet for cash books


|   | Name |   Cash |
|---+--+|
| _ |  |cashforward |
|   |  |  68000 |
| _ |  |   cashtake |
|   | cash takings |   2340 |
| _ |  |   cashbank |
|   | moved to bank|   2000 |
|---+--+|
| _ |  |   cash |
| # | subtotal |  68340 |
|---+--+|
|   | emp1 |315 |
|   | emp2 |289 |
|   |  |  0 |
|   |  |  0 |
|---+--+|
| _ |  |  wages |
| # | total wages  |604 |
|---+--+|
| _ |  | cashafterwages |
| # | Cash After Wages |  67736 |
|---+--+|
#+TBLFM: 
$cash=$cashforward+$cashtake-$cashbank::$cashafterwages=$cash-$wages::$wages=vsum(@[EMAIL
 PROTECTED])

My questions are:

Can one not actually name a specific cell? Or must the name itself be
stored above or below the cell?

The wages field : how to generalise this to allow for rows to be
added/deleted in the emp1,emp2 block?

Or is there a totally better way to do this? I didnt see a way for all
fields to auto calculate when a certain field was changed. One has to
tab over the "#" in the left hand column. Or?

If you can suggest a neater approach please do - this is my first
attempt at an org-mode spreadsheet.

Oh yes, can one change the enter mode so that the field only edits if
you press enter first? And then it preselects the previous contents so a
single key other than cursor keys will wipe the previous contents?
Currently if I type "5" in the wages field above then, depending where
the cursor is, I get (for example) 6504.



___
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


Fwd: [Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC indent error

2008-09-07 Thread S . P . Tseng
-- Forwarded message --
From: S. P. Tseng <[EMAIL PROTECTED]>
Date: Mon, Sep 8, 2008 at 8:53 AM
Subject: Re: [Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and
#+BEGIN_SRC indent error
To: Carsten Dominik <[EMAIL PROTECTED]>


Carsten Dominik <[EMAIL PROTECTED]> writes:

> Well, I am confused.
>
>> I never want to let the indentation function in Org apply to the entire
file.
>
> This was statement 1.
>
>>
>> The key '' default bind to functon 'org-cycle'. For example I press
'C-c ''
>> in side SRC block as below, and edit, you know they can ident correctly
and
>> press 'C-c '' to back. Move cursor to line 4, press the TAB key, now the
first
>> "(" will auto move to the beginning of the line so I say indent will not
be
>> right.
>>
>> What I mean is when the cursor in side SRC block, press '' key do
nothin.
>> So I can write a function to indent the entire file.
>
> And this was statement 2, seems to be the exact oposite. What am I
> misunderstading?

In statement 1, I meant "I never want to let the indentation function *in
Org*
apply to the entire file".

In statement 2, I meant "The function to indent the entire file can be
writed
*by USER*, only if Org-mode's indentation function do nothing when current
line
is in SRC block."

The indentation function Statement 1 is to Org-mode.
The indentation function Statement 2 is to user's.
Are they oposite?

>
> Anyway, the parsing effort to figure out if we are in a SRC or EXAMPLE
region
> is not negligible, and it would burden the indentation function and make
it slow.
>
I have readed the source of funcion 'org-edit-special', that's right the
parsing
effort to figure out if we are is a SRC block or not cost too much. But I
still
think it's worth. In face, I turned from muse, and muse is do like that.
___
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