unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gary <help-gnu-emacs@garydjones.name>
To: help-gnu-emacs@gnu.org
Subject: Re: Copy Paste Detection
Date: Fri, 21 Jan 2011 12:59:20 +0100	[thread overview]
Message-ID: <ihbseo$l0e$1@dough.gmane.org> (raw)
In-Reply-To: AANLkTimq+YF-Mh5fb+tRBCpWXFU-VFRMgGb_E1qvctWP@mail.gmail.com

Deniz Dogan wrote:

> 2011/1/21 Gary:
>> Does anyone know of any modes that do (programming-)language
> independent
>> copy/paste (kill/yank) detection in emacs?
>>
>> I suppose external tools would also work, but I really would prefer it
>> if it was something I could usable on an emacs buffer.
>>
>
> What do you mean?

I mean that if in some code file someone has written the same code more
than once, or more likely copy/pasted it, I would like to identify those
code blocks. See http://pmd.sourceforge.net/cpd.html for an example. The
difference is, the language that I use is so little known that a tool
explicitly targeting it won't exist, hence the "language independent"
part.

-- 
Gary        Please do NOT send me 'courtesy' replies off-list.
GNU Emacs 23.2.1
emacsclient 23.2





  reply	other threads:[~2011-01-21 11:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-21 10:12 Copy Paste Detection Gary
2011-01-21 10:25 ` Deniz Dogan
2011-01-21 11:59   ` Gary [this message]
     [not found]   ` <mailman.2.1295611177.26310.help-gnu-emacs@gnu.org>
2011-01-21 19:52     ` Jorgen Grahn

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ihbseo$l0e$1@dough.gmane.org' \
    --to=help-gnu-emacs@garydjones.name \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).