emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Clicking on inline image causes Emacs to segfault when using dynamic cursors
@ 2010-11-23 18:07 Jason Dunsmore
       [not found] ` <8490.1290536989@gamaville.americas.hpqcorp.net>
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Dunsmore @ 2010-11-23 18:07 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-23 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-23 18:07 [BUG] Clicking on inline image causes Emacs to segfault when using dynamic cursors Jason Dunsmore
     [not found] ` <8490.1290536989@gamaville.americas.hpqcorp.net>
2010-11-23 19:25   ` Jason Dunsmore

Code repositories for project(s) associated with this inbox:


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).