From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: Why does make run git? Date: Tue, 1 Aug 2017 23:49:08 +0900 (JST) Message-ID: References: <83bmo00yw7.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1501599557 9623 195.159.176.226 (1 Aug 2017 14:59:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2017 14:59:17 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Eli Zaretskii , Emacs developers To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 01 16:59:12 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcYdX-00023m-KG for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2017 16:59:07 +0200 Original-Received: from localhost ([::1]:43079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcYdd-0001mG-LJ for ged-emacs-devel@m.gmane.org; Tue, 01 Aug 2017 10:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcYU4-0002E1-4t for emacs-devel@gnu.org; Tue, 01 Aug 2017 10:49:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcYU3-0007FV-9P for emacs-devel@gnu.org; Tue, 01 Aug 2017 10:49:20 -0400 Original-Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:34129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcYTw-00078P-U7; Tue, 01 Aug 2017 10:49:13 -0400 Original-Received: by mail-pg0-x243.google.com with SMTP id y192so3040489pgd.1; Tue, 01 Aug 2017 07:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=dsnQ727fb685NgngtWb1TZ4U2Rdgou1Y5da6774HGZ8=; b=M/krfgl70NnE0Qh8+26sSkhf6iNekMF+w3i3EydINlUHh6emczoZP6fgauJ5oG6MA3 Aw7uEGZdVptSYD3sDQn5V15f15L4VHTOSokj4KYkseAdQqrHpqDA8DZM9n57Q2cBQjmy 3eqv5FPjZUvPW9KUJy7QBKrxsJi7OOAT0BvWWk1b70vfN0AgJ7EAG6+bb1GtsFcnPBID DX3eWx0F+YJ33p7QxpSyAcma8B/Qqcefd87ow6Q8IISTNKPlBFMUIF2x3wYWwemlF52E nCvMrfY0Gda/WLFohzq6m19Y/BhhjXtiZKITBqN9GlOoxZJViNhe1bokeRPqBRAR5d4v T4+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=dsnQ727fb685NgngtWb1TZ4U2Rdgou1Y5da6774HGZ8=; b=cNRufuCdv+CFz169Jwv8TwmOdWD8C0vSG3gQU/yzlHenKDH0/TqQu2j/0h9Nu5jozV 3CDDaAF4Ome870ylvPafXtXG6ip9/9/23vubHGeqg3lV0EUgk5uZFOLeUj7xHyJN205L M4R14fXXo7b7hhSaTUfee6HrdttKgnlRR5Y2KNucqWUPQdj1Yvv9UX3EJX+buAxQ2qMP wRxGZSrqsXJr180rSCk6DtZZ058wJeJh6fUfAxVNqYLAnJiMIjKLfQG2v5KwmXly9PCF qvyfRSlmMS2rAwENvF6GFvO9zZzxhXpNvcQ30a2P9Lv8iDpHvNVhtdh8cpwEpPOZHTCp zGkA== X-Gm-Message-State: AIVw112iii3KpCYTiX4oVAU6OuYFFcXLykuvH0dHHpR9Z6svYKUbuCOX 89H5uuvhLQij5Gup X-Received: by 10.99.163.26 with SMTP id s26mr18905510pge.232.1501598951521; Tue, 01 Aug 2017 07:49:11 -0700 (PDT) Original-Received: from calancha-pc (170.224.128.101.dy.bbexcite.jp. [101.128.224.170]) by smtp.gmail.com with ESMTPSA id o4sm51874051pga.47.2017.08.01.07.49.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 07:49:11 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:217206 Archived-At: On Tue, 1 Aug 2017, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > git config transfer.fsckObjects 'true' > > > This makes Git abort if it sees a bad object being pulled or pushed. > > Isn't that a personal preference? It seems wrong for Emacs to set it > arbitrarily. It's recommended for security. It was discussed before being added: https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html > > > git config diff.elisp.xfuncname '^\(def[^[:space:]]+[[:space:]]+([^()[:space:]]+)' > > > git config diff.m4.xfuncname '^((m4_)?define|A._DEFUN(_ONCE)?)\([^),]*' > > > git config diff.make.xfuncname '^([$.[:alnum:]_].*:|[[:alnum:]_]+[[:space:]]*([*:+]?[:?]?|!?)=|define .*)' > > > git config diff.shell.xfuncname '^([[:space:]]*[[:alpha:]_][[:alnum:]_]*[[:space:]]*\(\)|[[:alpha:]_][[:alnum:]_]*=)' > > > git config diff.texinfo.xfuncname '^@node[[:space:]]+([^,[:space:]][^,]+)' > > > These tailor the Git's notion of a "function" for the various > > languages. It's handy in several commands that need to know where a > > function begins and ends. > > Do you mean, several Git commands, or several Emacs commands? > I would guess it is the former. > > Running make on the Emacs checkout seems like an inadequate place to > do this. There is no assurance that you will run make in that > checkout before committing anything. > > Perhaps there should be a function in Emacs that does this, and some > VC commands could call it. I think is for convenience. It is set there once and for all. There are plenty of Git interfaces for Emacs out of there: whatever an user decide to use, s?he already has set up those hooks; then her/him potential contributions will be easier accepted.