Browse Source

Reverse the introduction of @0 as a reference to the last row.

Carsten Dominik 16 years ago
parent
commit
0805d7ec9f
3 changed files with 9 additions and 5 deletions
  1. 7 1
      ORGWEBPAGE/Changes.org
  2. 1 2
      doc/org.texi
  3. 1 2
      lisp/org-table.el

+ 7 - 1
ORGWEBPAGE/Changes.org

@@ -10,10 +10,16 @@
 #+LINK_UP: index.html
 #+LINK_UP: index.html
 #+LINK_HOME: http://orgmode.org
 #+LINK_HOME: http://orgmode.org
 
 
-* Version 6.15
+* Version 6.16
   :PROPERTIES:
   :PROPERTIES:
   :VISIBILITY: content
   :VISIBILITY: content
   :END:
   :END:
+
+  This version reverses the introduction of @0 as a reference to
+  the last rwo in a table, because of a conflict with the use of
+  @0 for the current row.
+
+* Version 6.15
 ** Overview
 ** Overview
 
 
 - All known LaTeX export issues fixed 
 - All known LaTeX export issues fixed 

+ 1 - 2
doc/org.texi

@@ -1782,8 +1782,7 @@ Org also uses another, more general operator that looks like this:
 
 
 @noindent
 @noindent
 Column references can be absolute like @samp{1}, @samp{2},...@samp{N},
 Column references can be absolute like @samp{1}, @samp{2},...@samp{N},
-or relative to the current column like @samp{+1} or @samp{-2}.  As a special
-case, @samp{@@0} references the last data line in the table.
+or relative to the current column like @samp{+1} or @samp{-2}.
 
 
 The row specification only counts data lines and ignores horizontal
 The row specification only counts data lines and ignores horizontal
 separator lines (hlines).  You can use absolute row numbers
 separator lines (hlines).  You can use absolute row numbers

+ 1 - 2
lisp/org-table.el

@@ -1897,8 +1897,7 @@ For all numbers larger than LIMIT, shift them by DELTA."
 	(beginning-of-line 2)
 	(beginning-of-line 2)
 	(setq l (1+ l)))
 	(setq l (1+ l)))
       (setq org-table-current-line-types (apply 'vector (nreverse types))
       (setq org-table-current-line-types (apply 'vector (nreverse types))
-	    org-table-dlines (apply 'vector (cons (car dlines)
-						  (nreverse dlines)))
+	    org-table-dlines (apply 'vector (cons nil (nreverse dlines)))
 	    org-table-hlines (apply 'vector (cons nil (nreverse hlines)))))))
 	    org-table-hlines (apply 'vector (cons nil (nreverse hlines)))))))
 
 
 (defun org-table-maybe-eval-formula ()
 (defun org-table-maybe-eval-formula ()