From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Need help with org and SSH Date: Wed, 22 Dec 2010 17:49:27 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=60193 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVSoq-0005J1-1S for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 12:49:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVSoo-0003cU-V3 for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 12:49:43 -0500 Received: from lo.gmane.org ([80.91.229.12]:53208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVSoo-0003cQ-ML for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 12:49:42 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PVSoo-0001MX-2f for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 18:49:42 +0100 Received: from 94.197.181.159.threembb.co.uk ([94.197.181.159]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Dec 2010 18:49:42 +0100 Received: from dandavison7 by 94.197.181.159.threembb.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Dec 2010 18:49:42 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Jeff Horn writes: > Hey orgsters, > > For the holiday trip, I decided to see if I could go a week with only > the Cr-48. I left my Macbook at home ready for SSH, just in case. > > It took approximately 30 minutes of using the computer before I > started itching for org. > > I've been having a heck of a time using emacs in the terminal. After a > few hours of cleaning up my init file and wrapping lots of commands in > window-system conditionals, I thought I was ready to invoke agenda. > Wrong! > > Invoking agenda gives me the same error I was having with > emacs-desktop. Specifically, I keep getting the error (void function > clear-image-cache). Any idea what switch to flip to get the agenda > open? lgrep comes up with two occurrences of that function in org-mode/lisp for me: org.el:15935: (if (and overlays (fboundp 'clear-image-cache)) (clear-image-cache)) org.el:16200: (clear-image-cache)) The second one is lacking the fboundp protection. Does it help if you put the fboundp test in, as below? diff --git a/lisp/org.el b/lisp/org.el index 3cecca7..b27f376 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -16197,7 +16197,7 @@ BEG and END default to the buffer boundaries." (interactive "P") (unless refresh (org-remove-inline-images) - (clear-image-cache)) + (if (fboundp 'clear-image-cache) (clear-image-cache))) (save-excursion (save-restriction (widen) Dan