From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Wed, 25 Mar 2015 08:21:47 +0100 Message-ID: <877fu5o838.fsf@zigzag.favinet> References: <86egoeusg2.fsf@example.com> <83pp7yp5po.fsf@gnu.org> <5511BB2A.2070909@dancol.org> <83oanip42b.fsf@gnu.org> <874mp9nc2k.fsf@uwakimon.sk.tsukuba.ac.jp> <83h9t9pwos.fsf@gnu.org> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1427267902 20515 80.91.229.3 (25 Mar 2015 07:18:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2015 07:18:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 08:18:17 2015 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 1YafZw-0004xk-Nc for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 08:18:16 +0100 Original-Received: from localhost ([::1]:36521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YafZv-0000Dm-Fw for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 03:18:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YafZh-0000DY-Oc for emacs-devel@gnu.org; Wed, 25 Mar 2015 03:18:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YafZe-0003jL-Hw for emacs-devel@gnu.org; Wed, 25 Mar 2015 03:18:01 -0400 Original-Received: from mail.agora-net.com ([67.59.132.6]:59665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YafZe-0003jF-DC for emacs-devel@gnu.org; Wed, 25 Mar 2015 03:17:58 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.71) (envelope-from ) id 1YafZd-0000Ye-Vm for emacs-devel@gnu.org; Wed, 25 Mar 2015 03:17:58 -0400 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1YafdY-0007N6-OS for emacs-devel@gnu.org; Wed, 25 Mar 2015 08:22:00 +0100 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <83h9t9pwos.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Mar 2015 05:45:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ttn@gnuvola.org X-SA-Exim-Scanned: No (on mail.agora-net.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 67.59.132.6 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:184198 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Eli Zaretskii () Wed, 25 Mar 2015 05:45:07 +0200 We could support the "commit much more often" workflows by having an option that determines whether and when to try pushing after a commit, one of the values could be 'never'. I think in practice many people will set this to =E2=80=98never=E2=80=99 and then continue "manual push" (whether it be in the form of a future =E2=80=98vc-push=E2=80=99 or as a shell command invocation). Furthe= rmore when the weirdness happens for slightly-misaligned functionality for those users who do not set it to =E2=80=98never=E2=80=99, those users w= ill be less likely to report problems and follow through w/ their resolutions than to query the net.wisdom and finally move to the =E2=80=98never=E2=80=99 camp, washing their hands of the mess once and for = all. Thus, long term, such a feature will be underused, undertested and definitely underappreciated. So my lazy-maintainer spidey-sense tells me that, rather than adding an imperfect heuristic layer, it would be better to add a primitive (i.e., =E2=80=98vc-push=E2=80=99) and let people invoke it as par= t of their personal (and IME instance-specific!) post-commit workflow by the standard means (keyboard macro, hook, advice). In this way, the hacking we encourage will be likewise addative, instead of deconstructive and ultimately ignorant. [recips clamped] =2D-=20 Thien-Thi Nguyen ----------------------------------------------- (if you're human and you know it) read my lisp: (defun responsep (type via) (case type (technical (eq 'mailing-list via)) ...)) =2D--------------------------------------------- GPG key: 4C807502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlUSYhIACgkQZwMiJEyAdQLWBQCdFLb1JJreKPexOB27jw7IibrN yz0AoLJatCDLJ5TnTe5rADvDLQnIkZ+Y =cLmk -----END PGP SIGNATURE----- --=-=-=--