From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: [PATCH] Add info when reference to remote table is not in the file Date: Thu, 05 Apr 2012 16:07:16 +0200 Message-ID: <80398i5l2j.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 2012-04-05 Sebastien Vauban * 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 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