From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-kill-line sometimes crashes emacs Date: Tue, 05 Apr 2011 21:20:54 -0400 Message-ID: <20675.1302052854@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=44185 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7HQn-0007Q8-NM for emacs-orgmode@gnu.org; Tue, 05 Apr 2011 21:21:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7HQm-0006gb-L8 for emacs-orgmode@gnu.org; Tue, 05 Apr 2011 21:21:13 -0400 Received: from vms173003pub.verizon.net ([206.46.173.3]:54353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7HQm-0006gG-Fg for emacs-orgmode@gnu.org; Tue, 05 Apr 2011 21:21:12 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LJ700L1RIEVG280@vms173003.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 05 Apr 2011 20:20:55 -0500 (CDT) In-reply-to: Message from Thomas Jack of "Tue, 05 Apr 2011 18:37:31 CDT." 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: Thomas Jack Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Thomas Jack 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---