From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Integrating package.el Date: Tue, 02 Mar 2010 07:38:48 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87mxyqonbr.fsf@lifelogs.com> References: <87ocl167wx.fsf@hagelb.org> <8763795zsh.fsf@hagelb.org> <87r5pmwcf8.fsf@hagelb.org> <87ocjh2hyp.fsf@lifelogs.com> <873a0qxrd1.fsf@lifelogs.com> <87635gqe8k.fsf@lifelogs.com> <201bac3a1003011337t54d88508ga10ec83b519eca1d@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1267537218 4188 80.91.229.12 (2 Mar 2010 13:40:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2010 13:40:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 02 14:40:14 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NmSKa-0002e4-23 for ged-emacs-devel@m.gmane.org; Tue, 02 Mar 2010 14:40:12 +0100 Original-Received: from localhost ([127.0.0.1]:40262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmSKZ-0004nS-7u for ged-emacs-devel@m.gmane.org; Tue, 02 Mar 2010 08:40:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmSKT-0004lT-V3 for emacs-devel@gnu.org; Tue, 02 Mar 2010 08:40:06 -0500 Original-Received: from [140.186.70.92] (port=33798 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmSKT-0004l0-7B for emacs-devel@gnu.org; Tue, 02 Mar 2010 08:40:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmSKS-0001rF-M1 for emacs-devel@gnu.org; Tue, 02 Mar 2010 08:40:05 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:46498) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmSKS-0001rB-B5 for emacs-devel@gnu.org; Tue, 02 Mar 2010 08:40:04 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NmSKR-0002XQ-9m for emacs-devel@gnu.org; Tue, 02 Mar 2010 14:40:03 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Mar 2010 14:40:03 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Mar 2010 14:40:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.91 (gnu/linux) Cancel-Lock: sha1:OOYGzWPC0ZrcEYgoQzIQgnMt4+E= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121539 Archived-At: On Mon, 1 Mar 2010 22:37:43 +0100 Jonas Bernoulli wrote: JB> 2010/3/1 Ted Zlatanov : >> OK.  But I still think Emacs should record the version as I suggested >> whenever it finds it in a .el/.elc file.  It would help resolve many >> annoying user-level bugs by showing exactly what version of the library >> was loaded, not implied from the directory but directly from the version >> header. JB> The information you get like this at runtime is not reliable. Some people JB> bump right after making a new release other develop for months keeping JB> the version from the latest release. JB> Rather this information should be extracted by the repository maintainers, JB> They have the full history of the package (if available) and cat determine JB> from that which of the many revision containing a particular version string, JB> actually IS that version... (I have some slightly buggy code for this JB> somewhere). I don't think that's ideal either. I'd rather use the authors' version and then allow an override by the repository maintainer. Otherwise you'll certainly end up with different version levels between repos and that's not a good scenario for the user. The repo could associate a content hash with the version to generate a unique identifier (and some insurance against corruption) for a particular library snapshot. I wonder if Emacs has a standard way to do this (ignoring comments and whitespace). Ted