[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Lisp's future
From: |
Emilio Lopes |
Subject: |
Re: Emacs Lisp's future |
Date: |
Tue, 23 Sep 2014 09:45:49 +0200 |
2014-09-19 2:03 GMT+02:00 Rasmus <address@hidden>:
> Richard Stallman <address@hidden> writes:
>> What is magit?
> […]
> 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ílio
- Re: Emacs Lisp's future, (continued)
- Re: Emacs Lisp's future, Nic Ferrier, 2014/09/19
- Re: Emacs Lisp's future, Richard Stallman, 2014/09/19
- Re: Emacs Lisp's future, Rasmus, 2014/09/19
- Re: Emacs Lisp's future, Richard Stallman, 2014/09/19
- RE: Emacs Lisp's future, Drew Adams, 2014/09/19
- Re: Emacs Lisp's future, Richard Stallman, 2014/09/18
- Re: Emacs Lisp's future, Rasmus, 2014/09/18
- Re: Emacs Lisp's future, Eric S. Raymond, 2014/09/19
- Re: Emacs Lisp's future,
Emilio Lopes <=
- Re: Emacs Lisp's future, Jonas Bernoulli, 2014/09/26
- Re: Emacs Lisp's future, Christopher Allan Webber, 2014/09/26
- Re: Emacs Lisp's future, Phillip Lord, 2014/09/29
- Re: Emacs Lisp's future, Stefan Monnier, 2014/09/29
- Re: Emacs Lisp's future, Phillip Lord, 2014/09/29
- Re: Emacs Lisp's future, Thorsten Jolitz, 2014/09/30
- Re: Emacs Lisp's future, Phillip Lord, 2014/09/30
- Re: Emacs Lisp's future, Nic Ferrier, 2014/09/30
- Re: Emacs Lisp's future, Thorsten Jolitz, 2014/09/30
- Re: Emacs Lisp's future, Thorsten Jolitz, 2014/09/30