From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bingo Subject: how to run org-repair-property-drawers after upgrade to 8.3? Date: Thu, 13 Aug 2015 13:11:02 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdc152c02a622051d2c75b2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPn8K-0004Rw-KK for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 03:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPn8J-0004oa-Fz for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 03:41:04 -0400 Received: from mail-ig0-x236.google.com ([2607:f8b0:4001:c05::236]:34586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPn8J-0004oU-Am for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 03:41:03 -0400 Received: by igui7 with SMTP id i7so77346723igu.1 for ; Thu, 13 Aug 2015 00:41:02 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --047d7bdc152c02a622051d2c75b2 Content-Type: text/plain; charset=UTF-8 Hi, I have put the defun of org-repair-property-drawers in my .emacs file copied from http://orgmode.org/Changes.html, and defined a keyboard shortcut for it: (global-set-key (kbd "C-c i") 'org-repair-property-drawers) Now after restarting emacs when I go to an org buffer, and use the keyboard shortcut, I get the error trace: Debugger entered--Lisp error: (wrong-type-argument commandp org-repair-property-drawers) call-interactively(org-repair-property-drawers nil nil) command-execute(org-repair-property-drawers) thanks --047d7bdc152c02a622051d2c75b2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
=C2=A0 =C2=A0I have put the defun of=C2=A0org-repa= ir-property-drawers in my .emacs file copied from http://orgmode.org/Changes.html, and defined a keybo= ard shortcut for it:

(global-set-key (kbd &qu= ot;C-c i") 'org-repair-property-drawers)

Now after restarting emacs when I go to an org buffer, and use the ke= yboard shortcut, I get the error trace:

Debug= ger entered--Lisp error: (wrong-type-argument commandp org-repair-property-= drawers)
=C2=A0 call-interactively(org-repair-property-drawers ni= l nil)
=C2=A0 command-execute(org-repair-property-drawers)
<= /div>

thanks

--047d7bdc152c02a622051d2c75b2-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: how to run org-repair-property-drawers after upgrade to 8.3? Date: Thu, 13 Aug 2015 09:59:33 +0200 Message-ID: <87y4hffwka.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPnOg-00027p-D8 for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 03:57:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPnOf-0002Zx-FL for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 03:57:58 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:37618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPnOf-0002Yv-8O for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 03:57:57 -0400 In-Reply-To: (Bingo's message of "Thu, 13 Aug 2015 13:11:02 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bingo Cc: emacs-orgmode@gnu.org Hello, Bingo writes: > I have put the defun of org-repair-property-drawers in my .emacs file > copied from http://orgmode.org/Changes.html, and defined a keyboard > shortcut for it: > > (global-set-key (kbd "C-c i") 'org-repair-property-drawers) > > Now after restarting emacs when I go to an org buffer, and use the keyboard > shortcut, I get the error trace: > > Debugger entered--Lisp error: (wrong-type-argument commandp > org-repair-property-drawers) > call-interactively(org-repair-property-drawers nil nil) > command-execute(org-repair-property-drawers) You need to add (interactive) to the function's body, right after the docstring. Regards, -- Nicolas Goaziou