From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dunsmore Subject: [BUG] Clicking on inline image causes Emacs to segfault when using dynamic cursors Date: Tue, 23 Nov 2010 12:07:18 -0600 Message-ID: <87mxozhq21.fsf@riotblast.dunsmor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=44943 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKxH1-0004Xz-Nj for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 13:07:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKxGz-0002ph-Lt for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 13:07:23 -0500 Received: from deathroller.dunsmor.com ([98.129.169.48]:56026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKxGz-0002pK-IW for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 13:07:21 -0500 Received: from riotblast.dunsmor.com (67-198-71-121.dyn.grandenetworks.net [67.198.71.121]) by deathroller.dunsmor.com (Postfix) with ESMTP id D1C7A8C2C1 for ; Tue, 23 Nov 2010 12:07:19 -0600 (CST) 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 The following message is a courtesy copy of an article that has been posted to gmane.emacs.orgmode as well. 1) What exactly did you do? Evaluate the following Emacs config (dynamic cursor config is from http://emacs-fu.blogspot.com/2009/12/changing-cursor-color-and-shape.html): --8<---------------cut here---------------start------------->8--- (add-to-list 'load-path "~/.emacs.d/org-mode/lisp") (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp") (require 'org-install) (setq djcb-read-only-color "gray") (setq djcb-read-only-cursor-type 'hbar) (setq djcb-overwrite-color "red") (setq djcb-overwrite-cursor-type 'box) (setq djcb-normal-color "yellow") (setq djcb-normal-cursor-type 'bar) (defun djcb-set-cursor-according-to-mode () "change cursor color and type according to some minor modes." (cond (buffer-read-only (set-cursor-color djcb-read-only-color) (setq cursor-type djcb-read-only-cursor-type)) (overwrite-mode (set-cursor-color djcb-overwrite-color) (setq cursor-type djcb-overwrite-cursor-type)) (t (set-cursor-color djcb-normal-color) (setq cursor-type djcb-normal-cursor-type)))) (add-hook 'post-command-hook 'djcb-set-cursor-according-to-mode) --8<---------------cut here---------------end--------------->8--- Create the following org file: --8<---------------cut here---------------start------------->8--- #+STARTUP: inlineimages [[file:/usr/local/share/emacs/23.2/etc/images/splash.png]] --8<---------------cut here---------------end--------------->8--- Open the org-file and click on the image. 2) What did you expect to happen? The image to be displayed in it's own buffer. 3) What happened instead? Emacs crashed with "Segmentation fault". Versions: Org-mode version 7.3 (release_7.3.120.g666e6) GNU Emacs 23.2.1