emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: emacs-orgmode@gnu.org
Subject: Re: user-error: Not at a block -- how to debug?
Date: Mon, 15 Sep 2014 20:28:29 +0200	[thread overview]
Message-ID: <87wq94kab6.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87y4tkoogc.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 15 Sep 2014 17:09:23 +0100")

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Is there an alternative means of raising an error or warning without
> terminating normal processing?

In this case, no error should be thrown.

"hideblocks" startup options triggers `org-hide-block-all', which, in
turn, calls `org-hide-block-toggle-maybe', which is the safe version of
`org-hide-block-toggle'.

Unfortunately, `org-hide-block-toggle-maybe' wasn't very safe. I fixed
it too.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2014-09-15 18:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-15  9:44 user-error: Not at a block -- how to debug? Eric S Fraga
2014-09-15 10:32 ` Thorsten Jolitz
2014-09-15 10:45   ` Eric S Fraga
2014-09-15 11:35     ` Nicolas Goaziou
2014-09-15 16:02       ` Eric S Fraga
2014-09-15 16:09       ` Eric S Fraga
2014-09-15 18:28         ` Nicolas Goaziou [this message]
2014-09-15 10:36 ` Eric S Fraga, Eric S Fraga
2014-09-15 10:53 ` Andrea Rossetti
2014-09-15 16:03   ` Eric S Fraga

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87wq94kab6.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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