From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Code causes complete crash of emacs - sometimes Date: Wed, 26 Aug 2015 15:17:07 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUaZu-0007sd-Ix for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 09:17:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUaZn-0008Pp-23 for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 09:17:22 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:37222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUaZm-0008OQ-Qf for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 09:17:14 -0400 Received: by widdq5 with SMTP id dq5so15139535wid.0 for ; Wed, 26 Aug 2015 06:17:14 -0700 (PDT) Received: from Rainers-MacBook-Pro.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by smtp.gmail.com with ESMTPSA id gj13sm7566177wic.22.2015.08.26.06.17.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2015 06:17:13 -0700 (PDT) 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 Hi I had the following in my emacs.org and it caused under certain conditions a complete crash from emacs: ,---- | ** Fancier Code Block Delimiters | Essentially from Eric Schulte ([O] Prettier (or at least fancier) code bl= ock delimiters) | #+begin_src emacs-lisp | (defun rmk/prettier-org-code-blocks () | (interactive) | (font-lock-add-keywords nil | '(("\\(\+begin_src\\)" | (0 (progn (compose-region (match-beginning 1= ) (match-end 1) ?<) | nil))) | ("\\(\+end_src\\)" | (0 (progn (compose-region (match-beginning 1= ) (match-end 1) ?>) | nil)))))) | (add-hook 'org-mode-hook 'rmk/prettier-org-code-blocks) | #+end_src `---- The steps were: 1) create new header 2) create new