From: Eric Schulte <schulte.eric@gmail.com>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [patch] Incorrect result of org-babel-edit-distance
Date: Fri, 07 Dec 2012 12:43:39 -0700 [thread overview]
Message-ID: <87obi53avk.fsf@gmail.com> (raw)
In-Reply-To: 877govfajj.fsf@yahoo.fr
"Nicolas Richard" <theonewiththeevillook@yahoo.fr> writes:
> Hello,
>
> (org-babel-edit-distance "foo" "ffoo") returns 0, whereas 1 seems
> appropriate. I don't know much about computing the levenshtein distance,
> but it seems that part of the algorithm (which i found explained on
> fr.wikipedia) is missing from the code. Please find a patch below trying
> to address the issue.
>
Applied. Thanks!,
--
Eric Schulte
http://cs.unm.edu/~eschulte
prev parent reply other threads:[~2012-12-07 19:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-06 15:46 [patch] Incorrect result of org-babel-edit-distance Nicolas Richard
2012-12-07 19:43 ` 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=87obi53avk.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=theonewiththeevillook@yahoo.fr \
/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).