emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: =?utf-8?B?Ildpa3N0csO2bSwgR3VzdGF2Ig==?= <Gustav.Wikstrom@sogeti.se>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Org-toggle-checkbox broken in 7.5?
Date: Mon, 13 Jun 2011 09:24:47 -0400	[thread overview]
Message-ID: <30159.1307971487@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from =?us-ascii?Q?=3D=3Futf-8=3FB=3FIldpa3N0csO2bSwgR?= =?us-ascii?Q?3VzdGF2Ig=3D=3D=3F=3D?= <Gustav.Wikstrom@sogeti.se> of "Mon\, 13 Jun 2011 15\:05\:33 +0200." <3DC4AE9DA481CC4DAED5422B18C4CE45027B086C@sogorex01.ad.sogeti.se>

Wikström, Gustav <Gustav.Wikstrom@sogeti.se> 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: nick@dokosmarshall.org [mailto:nick@dokosmarshall.org] On Behalf Of Nick Dokos
> Sent: den 11 juni 2011 19:51
> To: Wikström, Gustav
> Cc: emacs-orgmode@gnu.org; nicholas.dokos@hp.com
> Subject: Re: [O] Org-toggle-checkbox broken in 7.5?
> Wikström, Gustav <Gustav.Wikstrom@sogeti.se> 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	other threads:[~2011-06-13 13:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 13:53 Org-toggle-checkbox broken in 7.5? "Wikström, Gustav"
2011-06-11 16:55 ` Memnon Anon
2011-06-11 17:50 ` Nick Dokos
2011-06-13 13:05   ` "Wikström, Gustav"
2011-06-13 13:24     ` Nick Dokos [this message]
2011-06-13 14:22       ` Nick Dokos
2011-06-13 17:11     ` Ido Magal
2011-06-13 18:40       ` Nicolas Goaziou
2011-06-13 20:54         ` Ido Magal
2011-06-14  6:00           ` Nicolas Goaziou
2011-06-12  6:20 ` Achim Gratz

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:

  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=30159.1307971487@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=Gustav.Wikstrom@sogeti.se \
    --cc=emacs-orgmode@gnu.org \


* 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


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