emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug in remote references in spreadsheet
@ 2009-04-06 20:07 Rares Vernica
  2009-04-15 13:20 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Rares Vernica @ 2009-04-06 20:07 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I think the standard references do not work correctly in the "remote"
function. Moreover, the "edit all formulas" (C-c ') window replaces the
internal references with standard references. Even if I toggle the
references back to internal ones, the references in the "remote"
function do not get updated.

Here is an example:

#+TBLNAME: TableA
| 101 |
#+TBLFM: @1$1=remote(TableC,@1$1)

#+TBLNAME: TableB
| A1 |
#+TBLFM: @1$1=remote(TableC,A1)

#+TBLNAME: TableC
| 101 |

If I do C-c * in TableA, it works correctly. In TableB it doesn't. If I
do C-c ' in TableA and then (with or without C-c C-r) C-c C-c and C-c *,
then the contents of TableA will be equivalent to the ones of TableB and
the reference will be broken.

Here is version info (I updated both emacs and org-mode from repository
today):

emacs-version is a variable defined in `version.el'.
Its value is "23.0.92.2"

org-version is a variable defined in `org.el'.
Its value is "6.25d"

Thanks for org!
Rares

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug in remote references in spreadsheet
  2009-04-06 20:07 bug in remote references in spreadsheet Rares Vernica
@ 2009-04-15 13:20 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-04-15 13:20 UTC (permalink / raw)
  To: Rares Vernica; +Cc: emacs-orgmode

This is now fixed, thanks for the report.

Please note that also modifying the remote table will not
change references in a table that refers to it, because the
remote table does not know who might be referring to it.

- Carsten

On Apr 6, 2009, at 10:07 PM, Rares Vernica wrote:

> Hello,
>
> I think the standard references do not work correctly in the "remote"
> function. Moreover, the "edit all formulas" (C-c ') window replaces  
> the
> internal references with standard references. Even if I toggle the
> references back to internal ones, the references in the "remote"
> function do not get updated.
>
> Here is an example:
>
> #+TBLNAME: TableA
> | 101 |
> #+TBLFM: @1$1=remote(TableC,@1$1)
>
> #+TBLNAME: TableB
> | A1 |
> #+TBLFM: @1$1=remote(TableC,A1)
>
> #+TBLNAME: TableC
> | 101 |
>
> If I do C-c * in TableA, it works correctly. In TableB it doesn't.  
> If I
> do C-c ' in TableA and then (with or without C-c C-r) C-c C-c and C- 
> c *,
> then the contents of TableA will be equivalent to the ones of TableB  
> and
> the reference will be broken.
>
> Here is version info (I updated both emacs and org-mode from  
> repository
> today):
>
> emacs-version is a variable defined in `version.el'.
> Its value is "23.0.92.2"
>
> org-version is a variable defined in `org.el'.
> Its value is "6.25d"
>
> Thanks for org!
> Rares
>
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-15 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-06 20:07 bug in remote references in spreadsheet Rares Vernica
2009-04-15 13:20 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).