From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Is it time to drop ChangeLogs? (Was: bug#21998: Run 'make change-history' on release branch) Date: Thu, 10 Mar 2016 15:14:13 +0600 Message-ID: References: <56BE7E37.3090708@cs.ucla.edu> <4hd1rw1ubr.fsf@fencepost.gnu.org> <83vb50wxhv.fsf@gnu.org> <87y49vz4cg.fsf@acer.localhost.com> <83bn6quugw.fsf@gnu.org> <83k2lbo4ba.fsf@gnu.org> <56E076EC.8040606@cs.ucla.edu> <83egbjo2c6.fsf@gnu.org> <56E0B037.6080700@cs.ucla.edu> <83pov2n8ji.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1457601305 7761 80.91.229.3 (10 Mar 2016 09:15:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2016 09:15:05 +0000 (UTC) Cc: Paul Eggert , John Wiegley , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 10 10:15:00 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1adwgO-0004Yb-4s for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2016 10:15:00 +0100 Original-Received: from localhost ([::1]:47113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adwgN-0002et-Bi for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2016 04:14:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adwg0-0002e3-Fw for emacs-devel@gnu.org; Thu, 10 Mar 2016 04:14:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adwfz-0003uQ-L5 for emacs-devel@gnu.org; Thu, 10 Mar 2016 04:14:36 -0500 Original-Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:36862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adwfz-0003u7-CI; Thu, 10 Mar 2016 04:14:35 -0500 Original-Received: by mail-lb0-x232.google.com with SMTP id x1so102859995lbj.3; Thu, 10 Mar 2016 01:14:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=zKGpZFKDzTNvAQ8bTJcncUSXjwY1ljP4svrgSE+yPag=; b=1IXpfZKB30Lr3SaNIGfYbpUxpFcjTzLgzeneamUQ8W93HtWeT2ruIyrVZNwEBolCZb QpVQEGsygqIxjaD7otT/xvJslNg+zKLBXE2W4K+aZww35YLXayBp0VFZ0I+UVNudFFCc STGMWWsK2yzihp1HfX+P6OicEb/+j64jd9Cdd00xDS40yBgSm0F49zxRk0DY5JMuj71D SadzLDF43npd8bXMW3+ldDNqfEgUzxJ7wdxOqNxS23w3UqMCSWAmt0F23Bhd/Ao7Lqqk P3XfDrUEXTTzZIvH0kOsZbj4UAoGoJIrya3vuj1KvVOxa4BGCu1oBlqwXTGOdCCypJuS 1kSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=zKGpZFKDzTNvAQ8bTJcncUSXjwY1ljP4svrgSE+yPag=; b=aB5ZS2sDa6gsD5Ike0SL9FCYVwus8pvXV0U/oOBsPFzoKwSk3rJpYaaB5AZ7egqu5d BBoYscQpIxSjiGxX13kUgii0dvoKGoexKYGlHJbWLfq3UlydNjy6/bwiuHD6DeF+2G0V LgRGKYlUp9ruDVFjPQp9Y2GXfqsxnonouMWCODmDUHPyTRJxelGCVYMYAT7AQNR0YTkE 5iU3rye3HtBi6kcTkyBqmuEmTFv1MlwkRELBhxe1slk87tZlDv0teBy7SVT9ashNP2y8 8EO+H0BJaYzmYw0HVMCuDFpumBUMVxmoL2QImCgO8AD/nPZLgy4UlNJ45yQMJmtdaQMk pkQg== X-Gm-Message-State: AD7BkJI/ezEThS9PpFEkfE5NcMVlVkJJovofanBulhWNvQOgr++ioonRu4BFA1oPmTExNm3s12EmgmzRCFd0AQ== X-Received: by 10.25.165.20 with SMTP id o20mr804850lfe.105.1457601273592; Thu, 10 Mar 2016 01:14:33 -0800 (PST) Original-Received: by 10.112.254.164 with HTTP; Thu, 10 Mar 2016 01:14:13 -0800 (PST) In-Reply-To: <83pov2n8ji.fsf@gnu.org> X-Google-Sender-Auth: jX4xWSgY_bSO40XREtdOMRdEoc8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:201359 Archived-At: On Thu, Mar 10, 2016 at 12:36 PM, Eli Zaretskii wrote: > Btw, the best solution would be to have these tricks added to standard > Git installation, or maybe to GNU Diff (which I think Git uses?). Why > should users need to reinvent the same wheel all the time? Git in fact predefines header regexps for many languages predefined (see list below). It just does not apply them out-of-the-box; the user has to add the =E2=80=9C*.tex diff=3Dtex=E2=80=9D and similar mappings to o= ne of their gitattributes file. Actually, mappings that are useful for all contributors could be stored in the version-controlled .gitattributes file; no need for magic autogen.sh machinery. The following built in patterns are available: =C2=B7 ada suitable for source code in the Ada language. =C2=B7 bibtex suitable for files with BibTeX coded references. =C2=B7 cpp suitable for source code in the C and C++ languages. =C2=B7 csharp suitable for source code in the C# language. =C2=B7 fortran suitable for source code in the Fortran language. =C2=B7 fountain suitable for Fountain documents. =C2=B7 html suitable for HTML/XHTML documents. =C2=B7 java suitable for source code in the Java language. =C2=B7 matlab suitable for source code in the MATLAB language. =C2=B7 objc suitable for source code in the Objective-C language. =C2=B7 pascal suitable for source code in the Pascal/Delphi langua= ge. =C2=B7 perl suitable for source code in the Perl language. =C2=B7 php suitable for source code in the PHP language. =C2=B7 python suitable for source code in the Python language. =C2=B7 ruby suitable for source code in the Ruby language. =C2=B7 tex suitable for source code for LaTeX documents. (from gitattributes(5) as of Git 2.7.1)