From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Emilio Lopes <eclig@gmx.net>
Newsgroups: gmane.emacs.devel
Subject: Re: Emacs Lisp's future
Date: Tue, 23 Sep 2014 09:45:49 +0200
Message-ID: <CANiPZaDEmjwck-nxrK=LNqq-xSHzaYk5_gAwD-P1Zwc24+BXbw@mail.gmail.com>
References: <87wq97i78i.fsf@earlgrey.lan>
	<jwviokn4n6w.fsf-monnier+emacs@gnu.org>
	<87sijqxzr2.fsf@newcastle.ac.uk> <E1XULj6-00060t-Cb@fencepost.gnu.org>
	<877g11c8wh.fsf@gmx.us> <87wq91uhe8.fsf@newcastle.ac.uk>
	<E1XUkxY-0001Lg-EE@fencepost.gnu.org> <87k3508oie.fsf@gmx.us>
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 1411458393 23121 80.91.229.3 (23 Sep 2014 07:46:33 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 23 Sep 2014 07:46:33 +0000 (UTC)
Cc: Rasmus <rasmus@gmx.us>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 23 09:46:28 2014
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1XWKnp-0000px-43
	for ged-emacs-devel@m.gmane.org; Tue, 23 Sep 2014 09:46:25 +0200
Original-Received: from localhost ([::1]:51268 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1XWKno-0002nY-Nj
	for ged-emacs-devel@m.gmane.org; Tue, 23 Sep 2014 03:46:24 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34956)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <lopes.emilio@gmail.com>) id 1XWKnh-0002nS-KI
	for emacs-devel@gnu.org; Tue, 23 Sep 2014 03:46:22 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <lopes.emilio@gmail.com>) id 1XWKnf-00070l-Se
	for emacs-devel@gnu.org; Tue, 23 Sep 2014 03:46:17 -0400
Original-Received: from mail-vc0-x235.google.com ([2607:f8b0:400c:c03::235]:32792)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <lopes.emilio@gmail.com>) id 1XWKnf-00070F-NW
	for emacs-devel@gnu.org; Tue, 23 Sep 2014 03:46:15 -0400
Original-Received: by mail-vc0-f181.google.com with SMTP id ik5so3912316vcb.12
	for <emacs-devel@gnu.org>; Tue, 23 Sep 2014 00:46:09 -0700 (PDT)
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-type:content-transfer-encoding;
	bh=ByHO57XrgDLJ8gpYugiYW7PFKWa8b322B1RSEtHGrec=;
	b=jGONIgp6MG73xVfkBp0TaBgwHR/FO9WmiadJ4q2sHm1GPpuA67nZx7u7aV4iHzA5y/
	feqdLyllj8/XSTKiKqZKneRznEX85+fYk4rTXEeR6Ckkq/aorsYPnOF+Hl4t3eTgTR5B
	ESpwP4kdJr5sYf9esMq781v41K+UHhvGEo1dLBnKWUalregbOwFpx7Mn3pt9fT1nxwoj
	hVmNnlaLpbEAckTIxcZb4jhPwItljkvte4QVbiCsvIUZUS6O22bYB199+Z6f0gWxxRJS
	2MhKrOgRJo0MZkp0Yr/rvZ+Tu6vCX4N5KiQkdla9kReo7kXJt2yao+RQ6qjK0QxTIy/B
	6mfA==
X-Received: by 10.221.41.198 with SMTP id tv6mr11179829vcb.4.1411458369763;
	Tue, 23 Sep 2014 00:46:09 -0700 (PDT)
Original-Received: by 10.220.163.194 with HTTP; Tue, 23 Sep 2014 00:45:49 -0700 (PDT)
In-Reply-To: <87k3508oie.fsf@gmx.us>
X-Google-Sender-Auth: OROt5A7S_mpwRQshtHnZmmYeGz8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Received-From: 2607:f8b0:400c:c03::235
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=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:174666
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/174666>

2014-09-19 2:03 GMT+02:00 Rasmus <rasmus@gmx.us>:
> Richard Stallman <rms@gnu.org> writes:
>> What is magit?
> [=E2=80=A6]
> It has so very nice features but it very git-centric.  For instance in
> the diff-view you can stash (precommit) only a subset of changed
> lines, effectively splitting your uncommited work into several patches
> easily.

An a side remark: I've tried magit sometime ago found it sluggish.

These days I'm pretty satisfied with the integration provided by `vc'
and git itself.
It's nice to read git's docs in `woman' when you write `git commit --help'.

For editing diffs, just use `git add -e' and you can use the excellent
(and underused) `diff-mode' to manipulate the patch your heart's
content.  Alternatively one can edit the output from `vc-diff' directly
and use `commit-patch'
(http://porkrind.org/missives/commit-patch-managing-your-mess) to
commit it out of the Emacs buffer.  This approach also works for svn,
bzr etc. btw.

Here is a trivial integration of `git grep':

    (defun git-grep (command-args)
      "Use the `grep' machinery to run `git grep'."
      (interactive
       (let ((sap (thing-at-point 'symbol))
             (grep-command "git grep -n "))
         (list (read-shell-command "Run git grep (like this): "
                                   (if sap (concat grep-command sap)
grep-command)))))
      (compilation-start (concat "< /dev/null " command-args) 'grep-mode))

 Em=C3=ADlio