From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69772 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: synchronizing with Emacs, take two Date: Thu, 01 Jul 2010 11:11:29 +0900 Organization: Emacsen advocacy group Message-ID: References: <87zl07ynxi.fsf@gate450.dyndns.org> <87y6dw6w60.fsf@lifelogs.com> <87d3v86vof.fsf_-_@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277950394 10886 80.91.229.12 (1 Jul 2010 02:13:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 02:13:14 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M18162@lists.math.uh.edu Thu Jul 01 04:13:12 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OU9H5-0007RF-59 for ding-account@gmane.org; Thu, 01 Jul 2010 04:13:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OU9GG-0002QH-8g; Wed, 30 Jun 2010 21:12:20 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OU9GD-0002Q0-E9 for ding@lists.math.uh.edu; Wed, 30 Jun 2010 21:12:17 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OU9GB-0005pA-MQ for ding@lists.math.uh.edu; Wed, 30 Jun 2010 21:12:16 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OU9GA-00040k-00 for ; Thu, 01 Jul 2010 04:12:14 +0200 Original-Received: from localhost ([127.0.0.1]:47077) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OU9Fb-0001Mp-5i; Wed, 30 Jun 2010 21:11:39 -0500 X-Hashcash: 1:20:100701:tzz@lifelogs.com::e7o2oM5gmVkDHaKy:06jr0 X-Hashcash: 1:20:100701:ding@gnus.org::cejR41so/4EZLAsm:00003FRn X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:4XHJA7uaTA/sAboQGl+qrHPLGKE= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69772 Archived-At: Ted Zlatanov wrote: [...] > Yamaoka-san, how do you synchronize Gnus and Emacs? Do you use > a script or do it manually? I use a sh script which does: 1. Rearrange the files of Emacs into the directory structure that is the same as Gnus. For instance, gather lisp/mail/binhex.el, lisp/textmodes/dns-mode.el, etc. to lisp/; gather doc/misc/*.texi, etc/refcards/gnus-refcard.tex, etc. to texi/, etc. 2. Apply the offset patch file to the gathered Emacs files. It changes gnus-version-number, the default values of some user options (mainly in message.el), etc. 3. diff -aruN Gnus/ EmacsGnus/ Normally it reports there's no difference. When it alerts, I check if new comers work with Emacs 21~24, XEmacs 21.4/5, and SXEmacs 22.1. And modify changes manually if needed, apply changes from one to another manually, then commit them to Gnus, Emacs, or both. I have no idea for a way to make those manual works automated. > I'd like to help with the process (and automate it, as previously > discussed) while adding these two features: > - for a single change, make the commit message the same as the change's > commit message (with a prefix to indicate it's a synch) To make it worthwhile, we will need to improve commit messages so as to say what they are for briefly in a single line. Easier said than done, though. Anyway we should not use the ones such as the following, that's just a copy of ChangeLog: commit 08dd9f431367713667b1124e633c2ff97697a390 Author: Katsumi Yamaoka Date: Thu Jun 10 05:32:19 2010 +0000 (gnus-mime-buttonized-part-id): New internal variable. (gnus-article-edit-part): Bind it to make last part that is substituted or deleted visible. (gnus-mime-display-single): Buttonize part of which id equals to gnus-mime-buttonized-part-id. > - close bugs when they are mentioned in the commit message > I'd like this to be as automatic as possible, but never do a push > automatically. So it can't happen on every commit. BTW, is `No Gnus' really necessary? Though I've been maintaining it so as to work with various version of Emacsen, I don't know whether there are really a lot of people who use it. People who want the most recent Gnus can upgrade Emacs (if needed, even to use the Emacs head is not so troublesome). The only point may be that the Gnus XEmacs package is very old (it is now Gnus 5.10.8).