unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [elpa] master 78ed9a1: packages/transcribe.el: Add native discourse analysis in elisp
       [not found] ` <E1a6L4p-0008Pv-54@vcs.savannah.gnu.org>
@ 2015-12-08 18:12   ` Artur Malabarba
  0 siblings, 0 replies; only message in thread
From: Artur Malabarba @ 2015-12-08 18:12 UTC (permalink / raw)
  To: emacs-devel, David Gonzalez Gandara

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).



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-08 18:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20151208162519.32321.71630@vcs.savannah.gnu.org>
     [not found] ` <E1a6L4p-0008Pv-54@vcs.savannah.gnu.org>
2015-12-08 18:12   ` [elpa] master 78ed9a1: packages/transcribe.el: Add native discourse analysis in elisp Artur Malabarba

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).