unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>,
	David Gonzalez Gandara <dggandara@member.fsf.org>
Subject: Re: [elpa] master 78ed9a1: packages/transcribe.el: Add native discourse analysis in elisp
Date: Tue, 8 Dec 2015 18:12:38 +0000	[thread overview]
Message-ID: <CAAdUY-LRAjej15sXg=YJN10w0wGX9fa3oTm+x_FK3_AZVD2Kdw@mail.gmail.com> (raw)
In-Reply-To: <E1a6L4p-0008Pv-54@vcs.savannah.gnu.org>

Hi David

2015-12-08 16:25 GMT+00:00 David Gonzalez Gandara <dggandara@member.fsf.org>:
> +(defun transcribe-analyze (episodenumber personid)
> +  "Extract from a given episode and person the number of asunits per
> +   second produced, and the number of clauses per asunits, for L2 and L1."
> +  (interactive "sepisodenumber: \nspersonid:")
> +  (setq interventionsl2 '())
> +  (setq interventionsl1 '())
> +  (setq xml (xml-parse-region (point-min) (point-max)))
> +  (setq results (car xml))
> +  (setq episodes (xml-get-children results 'episode))
> +  (setq asunitsl2 0.0000)
> +  (setq asunitsl1 0.0000)
> +  (setq clausesl1 0.0000)
> +  (setq errorsl1 0.0000)
> +  (setq clausesl2 0.0000)
> +  (setq errorsl2 0.0000)

Are these local or global variables?
If they're local, turn this list of `setq's into a `let'. If they're
global, rename them to start with `transcribe-' and add a top-level
`defvar' for each one.

Also:
> +  (setq shifts)
This should be (setq shifts nil). Emacs 25.1 no longer allows (setq shifts).



           reply	other threads:[~2015-12-08 18:12 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <E1a6L4p-0008Pv-54@vcs.savannah.gnu.org>]

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='CAAdUY-LRAjej15sXg=YJN10w0wGX9fa3oTm+x_FK3_AZVD2Kdw@mail.gmail.com' \
    --to=bruce.connor.am@gmail.com \
    --cc=dggandara@member.fsf.org \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).