emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <dandavison7@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Need help with org and SSH
Date: Wed, 22 Dec 2010 17:49:27 +0000	[thread overview]
Message-ID: <m162ulr93s.fsf@94.197.185.4.threembb.co.uk> (raw)
In-Reply-To: AANLkTimeKnSQNkvo0jWnbkCL2mrSNXc--qmteM_jBKzc@mail.gmail.com

Jeff Horn <jrhorn424@gmail.com> 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

  parent reply	other threads:[~2010-12-22 17:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-22 17:10 Need help with org and SSH Jeff Horn
2010-12-22 17:45 ` Bernt Hansen
2010-12-22 18:28   ` Jeff Horn
2010-12-22 19:00     ` Jeff Horn
2010-12-22 19:59       ` Jeff Horn
2010-12-22 20:32         ` Nick Dokos
2010-12-22 22:07           ` Jeff Horn
2010-12-22 22:18             ` Nick Dokos
2010-12-23  6:41               ` Jeff Horn
2010-12-23  7:23               ` Jeff Horn
2010-12-22 17:49 ` Dan Davison [this message]
2010-12-22 18:18   ` Jeff Horn
2010-12-23  1:06     ` Dan Davison
2010-12-23  6:40       ` Jeff Horn
2010-12-23  7:36   ` [Accepted] " Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m162ulr93s.fsf@94.197.185.4.threembb.co.uk \
    --to=dandavison7@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).