[Top][All Lists]

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

Re: [O] Problem with org-indent-block

From: Nicolas Goaziou
Subject: Re: [O] Problem with org-indent-block
Date: Fri, 12 Sep 2014 09:53:06 +0200


Fabrice Popineau <address@hidden> writes:

> Recently, I started to get problems with org-indent-block returning errors
> "Not at a block".
> Unfortunately, this is happening while restarting emacs, and I have no idea
> about how to debug it.

AFAICT, nothing in the code base calls `org-indent-block' automatically.
Out of curiosity, is there something in your setup doing this?

> It would be nice if somehow this function could give the file and the point
> in the file where the error is happening.
> Any idea on how to achieve this?

It is an interactive function, so the user is expected to know where he
called it. Anyway, you could modify function in "org.el" to use:

  (user-error "Not at a block in %s, line %s" (buffer-name) (org-current-line))

It will probably help understanding the issue.


Nicolas Goaziou

reply via email to

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