emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Thomas Jack <thomasjack@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: org-kill-line sometimes crashes emacs
Date: Tue, 05 Apr 2011 21:20:54 -0400	[thread overview]
Message-ID: <20675.1302052854@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Thomas Jack <thomasjack@gmail.com> of "Tue, 05 Apr 2011 18:37:31 CDT." <BANLkTikrBCFn02jcmfRBn-nhCD2UpYTJPA@mail.gmail.com>

Thomas Jack <thomasjack@gmail.com> wrote:

> Steps to reproduce:
> 
> Include an entry like this in your org-capture-templates:
> ("t" "Todo" entry (file+headline "~/org/gtd.org" "Tasks")
>          "* TODO %?\n  %i\n  %a")
> 
> Now, delete everything in ~/org/gtd.org except for a lone "Tasks" headline.
> 
> Put point on the next line, and start a capture with the template
> above. Move point down to the beginning of the line with the "Tasks"
> link, and C-k (org-kill-line).
> 
> For me, emacs crashes with "Fatal error (6)Aborted". If I first modify
> the link and undo the changes, there is no crash.
> 
> Can anyone else reproduce?
> 

Yes, I can. What version of emacs are you using?

Mine is: GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version
2.22.0) of 2011-03-16. I'll update 

I tried running emacs under gdb, but I cannot reproduce it in that
situation. Nasty.

Nick

PS. I tried it with the following minimal.emacs by invoking emacs like
this:

   emacs -Q -l ~/minimal.emacs

--8<---------------cut here---------------start------------->8---
;;; constant part
(add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/lisp"))
(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
(require 'org-install)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)

(setq org-capture-templates
'( ("T" "Todo" entry (file+headline "~/org/gtd.org" "Tasks") "* TODO %?\n  %i\n  %a")))
--8<---------------cut here---------------end--------------->8---

  reply	other threads:[~2011-04-06  1:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 23:37 org-kill-line sometimes crashes emacs Thomas Jack
2011-04-06  1:20 ` Nick Dokos [this message]
2011-04-06 21:57   ` Thomas Jack
2011-04-06 22:13     ` Nick Dokos

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=20675.1302052854@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=thomasjack@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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