From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: user-error: Not at a block -- how to debug? Date: Mon, 15 Sep 2014 17:09:23 +0100 Message-ID: <87y4tkoogc.fsf@ucl.ac.uk> References: <87egvd2p77.fsf@pinto.chemeng.ucl.ac.uk> <87sijt2mxy.fsf@gmail.com> <87ha0917rw.fsf@pinto.chemeng.ucl.ac.uk> <87a961ktf4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTZHy-0002bA-39 for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 12:38:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTZHo-0005pB-IE for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 12:38:06 -0400 Received: from mail-am1on0130.outbound.protection.outlook.com ([157.56.112.130]:39002 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTZHo-0005oo-A6 for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 12:37:56 -0400 In-Reply-To: <87a961ktf4.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 15 Sep 2014 13:35:43 +0200") 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas, again, thanks for fixing this bug but I wonder if you would mind thinking about the approach to error handling. The user error handling was short-circuiting the normal file handling, in particular some of the hooks and other processing that would have been expected to be invoked. In this case, I had used recentf to visit the file. Because of the user error, the buffer wouldn't appear at all. Likewise, projectile processing was being terminated. Both aspects caused me some confusion, to say the least... Is there an alternative means of raising an error or warning without terminating normal processing? thanks, eric =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-265-g7cf7e4 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlQXDzMACgkQyJGT2P/89n1CVQCfVHMvItgEjtnRspKclzHrBuiG pfIAnRkLY2HYLZ3q2uAprn1BZ34sn7o8 =PC9R -----END PGP SIGNATURE----- --=-=-=--