[Top][All Lists]

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

[Orgmode] [BUG] Clicking on inline image causes Emacs to segfault when u

From: Jason Dunsmore
Subject: [Orgmode] [BUG] Clicking on inline image causes Emacs to segfault when using dynamic cursors
Date: Tue, 23 Nov 2010 12:07:18 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

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

--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."
      (set-cursor-color djcb-read-only-color)
      (setq cursor-type djcb-read-only-cursor-type))
      (set-cursor-color djcb-overwrite-color)
      (setq cursor-type djcb-overwrite-cursor-type))
      (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
--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".


Org-mode version 7.3 (release_7.3.120.g666e6)
GNU Emacs 23.2.1

reply via email to

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