From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Org-toggle-checkbox broken in 7.5? Date: Mon, 13 Jun 2011 09:24:47 -0400 Message-ID: <30159.1307971487@alphaville.dokosmarshall.org> References: <3DC4AE9DA481CC4DAED5422B18C4CE45027B06C9@sogorex01.ad.sogeti.se> <4375.1307814644@alphaville.dokosmarshall.org> <3DC4AE9DA481CC4DAED5422B18C4CE45027B086C@sogorex01.ad.sogeti.se> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW78y-000446-MT for emacs-orgmode@gnu.org; Mon, 13 Jun 2011 09:25:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW78w-0005SE-Hp for emacs-orgmode@gnu.org; Mon, 13 Jun 2011 09:25:28 -0400 Received: from vms173005pub.verizon.net ([206.46.173.5]:49910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW78w-0005S6-7B for emacs-orgmode@gnu.org; Mon, 13 Jun 2011 09:25:26 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LMQ00D4HD9CBU30@vms173005.mailsrvcs.net> for emacs-orgmode@gnu.org; Mon, 13 Jun 2011 08:24:54 -0500 (CDT) In-reply-to: Message from =?us-ascii?Q?=3D=3Futf-8=3FB=3FIldpa3N0csO2bSwgR?= =?us-ascii?Q?3VzdGF2Ig=3D=3D=3F=3D?= of "Mon\, 13 Jun 2011 15\:05\:33 +0200." <3DC4AE9DA481CC4DAED5422B18C4CE45027B086C@sogorex01.ad.sogeti.se> 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: =?us-ascii?Q?=3D=3Futf-8=3FB=3FIldpa3N0csO2bSwgR3VzdGF2Ig=3D=3D=3F=3D?= Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Wikstr=C3=B6m, Gustav wrote: > Good comments! >=20 > I did some tests beforehand but did not try the minimal .emacs. >=20 > The key is still bound to the function according to C-h c and M-x > org-toggle-checkbox did not do any difference. There is something > blocking the function in my initialization though, because when using > a minimal init.el it did work! Since it's probably a local error > springing from something altered by me I'll continue with the > debugging on my own. >=20 A useful technique for finding such local errors is to systematically eliminate (about) half of your .emacs and try with the remaining half, then continue halving, keeping the half that shows the problem. You can usually bisect your way through to the problem fairly efficiently. > Thanks for the input. >=20 Glad it helped. Nick > /Gustav >=20 > -----Original Message----- > From: nick@dokosmarshall.org [mailto:nick@dokosmarshall.org] On Behalf Of= Nick Dokos > Sent: den 11 juni 2011 19:51 > To: Wikstr=C3=B6m, Gustav > Cc: emacs-orgmode@gnu.org; nicholas.dokos@hp.com > Subject: Re: [O] Org-toggle-checkbox broken in 7.5? >=20 > Wikstr=C3=B6m, Gustav wrote: >=20 > > Hello! > >=20 > > The command C-c C-x C-b has stopped working for me and I quietly blame = 7.5 for it. Anyone who can > > attest or reject this statement? > >=20 >=20 > Works here: Org-mode version 7.5 (baseline.273.g889a48) >=20 > Before blaming org, please do your due diligence: >=20 > Execute the function by hand, with M-x org-toggle-checkbox RET, and > *report the results*: "it does not work" is just not specific enough, > because it depends on your expectations which may or may not match > reality. If it does nothing, then say so explicitly. >=20 > Is the key still bound to the correct function? C-h c C-c C-x C-b will > tell you whether the key is still bound to what it is supposed to be > bound to (org-toggle-checkbox in this case). If not, then you are > probably using some minor mode that hijacks the key. Check the mode > line for what minor modes you are running, eliminate them one by one and > see if you can get the functionality back. >=20 > If this doesn't resolve it, next start up emacs without your > customizations, just a minimal .emacs file that initializes org-mode, > visit the file and do the things above again. I keep a very short > minimal.emacs file for exactly this purpose, start up emacs with >=20 > emacs -q -l ~/minimal.emacs >=20 > and try to reproduce the problem. >=20 > In 99% of problems, these are enough to identify the culprit. >=20 > If you feel a bit adventurous and have the time, you can learn a bit > about debugging (see section 18.2, "Edebug", of the Elisp manual) and > trace the execution of the function. If you don't know elisp, you may > feel somewhat apprehensive about this, but it's a good way to dig deeper > into emacs. >=20 > Nick