From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: [PATCH] Consider verse/quote environments that end at eob. Date: Tue, 15 Jun 2010 17:20:38 +0200 Message-ID: <1276615239-23288-1-git-send-email-dmaus@ictsoc.de> Return-path: Received: from [140.186.70.92] (port=58344 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOXxx-0000xb-9Z for emacs-orgmode@gnu.org; Tue, 15 Jun 2010 11:22:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOXxv-0003Jn-Rg for emacs-orgmode@gnu.org; Tue, 15 Jun 2010 11:22:17 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:59282) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOXxv-0003JZ-MV for emacs-orgmode@gnu.org; Tue, 15 Jun 2010 11:22:15 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Attached patch fixes an error when exporting a region with a verse or quote block at the end. During preparation with `org-export-mark-blockquote-verse-center' such a block ends at end-of-buffer, i.e. without a newline after the #+end_ declaration. `org-export-mark-blockquote-verse-center' assumes the end of the block to be at the end of the line with the #+end_ declaration + 1, what causes `delete-region' to fail when there this position is invalid. Available at git://github.com/dmj/dmj-org-mode.git quickfix David Maus (1): Consider environments that end at eob. lisp/org-exp.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)