emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jason Dunsmore <emacs-orgmode@dunsmor.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Clicking on inline image causes Emacs to segfault when using dynamic cursors
Date: Tue, 23 Nov 2010 12:07:18 -0600	[thread overview]
Message-ID: <87mxozhq21.fsf@riotblast.dunsmor.com> (raw)

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	other threads:[~2010-11-23 18:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 18:07 Jason Dunsmore [this message]
     [not found] ` <8490.1290536989@gamaville.americas.hpqcorp.net>
2010-11-23 19:25   ` Jason Dunsmore

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:

  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=87mxozhq21.fsf@riotblast.dunsmor.com \
    --to=emacs-orgmode@dunsmor.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [BUG] Clicking on inline image causes Emacs to segfault when using dynamic cursors' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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