unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: A Soare <alinsoar@voila.fr>
To: Thien-Thi Nguyen <ttn@gnuvola.org>
Cc: "Emacs   Dev  \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: Report the evolution of Emacs Lisp sources.
Date: Tue, 19 Aug 2008 22:13:32 +0200 (CEST)	[thread overview]
Message-ID: <27927462.5712671219176812011.JavaMail.www@wwinf4619> (raw)


>    Yes, it could generate a simple prototype for change logs... as
>    application. When you cut, add, or modify an old structure it
>    will immediately see that.
> 
> The analysis described in the paper you referenced is very
> superficial compared to what is possible w/ elisp.  For example,
> you can use byte-compiler properties (e.g., no side-effects) to
> report the safety of a change.

Yes, lap is a kind of expressing the parsing tree directly, without generating parsing tree during evaluation. So you are almost right (not taking into account that anyways we must run for every file byte-compile instead of read).

In fact all the problem is to compare 2 trees (the parsed code) whose each node keeps a key = <function name> and a leave has key = <a variable name [or] a lisp_object (string, number, etc)>. and to report a minimum set of changes.

> 
>    But note that if you work on version X from the day x, you must
>    keep the original from the day x, otherwise it will detect in
>    your report the changes made by others!
> 
> Actually, reporting the changes made by others is exactly what i
> had in mind.  Sometimes what people write in ChangeLog files is
> better understood w/ a little help from a "second opinion".
> 

true


Yes, I can do it, and maybe I will do it, but later. For now I am concentrated on another issues.




____________________________________________________

Avant de prendre le volant, repérez votre itinéraire et visualisez le trafic ! http://itineraire.voila.fr/itineraire.html






             reply	other threads:[~2008-08-19 20:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-19 20:13 A Soare [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-20 20:53 Report the evolution of Emacs Lisp sources A Soare
2008-08-21  2:02 ` Thien-Thi Nguyen
2008-08-20 11:46 A Soare
2008-08-20 20:14 ` Thien-Thi Nguyen
2008-08-18 10:14 A Soare
2008-08-19 13:22 ` Thien-Thi Nguyen
2008-08-18  7:05 A Soare
2008-08-18  7:05 A Soare
2008-08-18  9:44 ` Thien-Thi Nguyen
2008-08-18 10:05   ` Miles Bader
2008-08-19 13:11     ` Thien-Thi Nguyen

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=27927462.5712671219176812011.JavaMail.www@wwinf4619 \
    --to=alinsoar@voila.fr \
    --cc=emacs-devel@gnu.org \
    --cc=ttn@gnuvola.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).