From: Eric Schulte <schulte.eric@gmail.com>
To: Martyn Jago <martyn.jago@btinternet.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [patch] fix 22.x compatibility test issue
Date: Sun, 11 Sep 2011 14:45:55 -0600 [thread overview]
Message-ID: <87lituokqs.fsf@gmail.com> (raw)
In-Reply-To: m2ehzmddxw.fsf@btinternet.com
I've applied this same change. Thanks -- Eric
Martyn Jago <martyn.jago@btinternet.com> writes:
> Replace left-char with backward-char for backward compatibility in
> =test-org-babel/org-babel-get-inline-src-block-matches=
>
> From 08bfac66d69ed6ce739d58710f06444b6f43fb94 Mon Sep 17 00:00:00 2001
> From: Martyn Jago <martyn.jago@btinternet.com>
> Date: Sun, 11 Sep 2011 21:17:40 +0100
> Subject: [PATCH] Replace left-char with backward-char for backward compatibility
> * testing/lisp/test-ob.el (test-org-babel/org-babel-get-inline-src-block-matches):
>
> ---
> testing/lisp/test-ob.el | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el
> index a78bf1e..3a68328 100644
> --- a/testing/lisp/test-ob.el
> +++ b/testing/lisp/test-ob.el
> @@ -226,9 +226,9 @@
> (should (re-search-forward "echo" nil t)) ;; 2
> (should (org-babel-get-inline-src-block-matches))
> (should (re-search-forward "blocks" nil t)) ;; 3
> - (left-char 8) ;; 3
> + (backward-char 8) ;; 3
> (should (org-babel-get-inline-src-block-matches))
> - (right-char 1) ;;3
> + (forward-char 1) ;;3
> (should-not (org-babel-get-inline-src-block-matches))
> (should (re-search-forward ":results" nil t)) ;; 4
> (should (org-babel-get-inline-src-block-matches))
--
Eric Schulte
http://cs.unm.edu/~eschulte/
prev parent reply other threads:[~2011-09-11 21:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-11 20:25 [patch] fix 22.x compatibility test issue Martyn Jago
2011-09-11 20:45 ` Eric Schulte [this message]
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=87lituokqs.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=martyn.jago@btinternet.com \
/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).