2012-04-05 Sebastien Vauban <wxhgmqzgw...@spammotel.com> * org-table.el (org-table-get-remote-range): when a reference to a remote table is not found locally, display a message for 1 second, then go on searching within all known locations
>From 432a57390d8a103d440017664b8a594de61281a4 Mon Sep 17 00:00:00 2001 From: Sebastien Vauban <s...@mygooglest.com> Date: Thu, 5 Apr 2012 15:58:27 +0200 Subject: [PATCH] Add info when reference to remote table is not in the file --- lisp/org-table.el | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lisp/org-table.el b/lisp/org-table.el index ae12cee..c336f89 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -4735,6 +4735,8 @@ list of the fields in the rectangle ." (concat "^[ \t]*#\\+TBLNAME:[ \t]*" (regexp-quote name-or-id) "[ \t]*$") nil t) (setq buffer (current-buffer) loc (match-beginning 0)) + (message "Reference `%s' is not found in the current file" name-or-id) + (sit-for 1) (setq id-loc (org-id-find name-or-id 'marker)) (unless (and id-loc (markerp id-loc)) (error "Can't find remote table \"%s\"" name-or-id)) -- 1.7.9 Best regards, Seb -- Sebastien Vauban