emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Accepted] [Orgmode] Re: Need help with org and SSH


From: Carsten Dominik
Subject: [Accepted] [Orgmode] Re: Need help with org and SSH
Date: Thu, 23 Dec 2010 08:36:55 +0100 (CET)

Patch 507 (http://patchwork.newartisans.com/patch/507/) is now "Accepted".

Maintainer comment: No comment

This relates to the following submission:

http://mid.gmane.org/%3Cm162ulr93s.fsf%4094.197.185.4.threembb.co.uk%3E

Here is the original message containing the patch:

> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: [Orgmode] Re: Need help with org and SSH
> Date: Wed, 22 Dec 2010 22:49:27 -0000
> From: Dan Davison <address@hidden>
> X-Patchwork-Id: 507
> Message-Id: <address@hidden>
> To: address@hidden
> 
> Jeff Horn <address@hidden> 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?
> 
> 
> Dan
> 
> 
> 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)
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]