[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org-toggle-checkbox broken in 7.5?

From: Nick Dokos
Subject: Re: [O] Org-toggle-checkbox broken in 7.5?
Date: Mon, 13 Jun 2011 09:24:47 -0400

Wikström, Gustav <address@hidden> wrote:

> Good comments!
> I did some tests beforehand but did not try the minimal .emacs.
> 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.

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.

Glad it helped.


> /Gustav
> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf Of Nick Dokos
> Sent: den 11 juni 2011 19:51
> To: Wikström, Gustav
> Cc: address@hidden; address@hidden
> Subject: Re: [O] Org-toggle-checkbox broken in 7.5?
> Wikström, Gustav <address@hidden> wrote:
> > Hello!
> > 
> > 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?
> > 
> Works here: Org-mode version 7.5 (baseline.273.g889a48)
> Before blaming org, please do your due diligence:
> 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.
> 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.
> 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
>     emacs -q -l ~/minimal.emacs
> and try to reproduce the problem.
> In 99% of problems, these are enough to identify the culprit.
> 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.
> Nick

reply via email to

[Prev in Thread] Current Thread [Next in Thread]