From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 19297@debbugs.gnu.org
Subject: bug#19297: 25.0.50; `C-c C-a' does not do the right thing from the trunk root
Date: Mon, 08 Dec 2014 19:16:18 +0100 [thread overview]
Message-ID: <m3d27u2ej1.fsf@stories.gnus.org> (raw)
In-Reply-To: <jwvtx162naa.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Mon, 08 Dec 2014 10:12:13 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Clearly changes to "." shouldn't go into lisp/ChangeLog, so there's no
> point looking for them in lisp/ChangeLog. So you can work around this
> problem by marking those files you want to commit rather than just
> committing "everything that's changed".
Eek. Manual labour!
I hacked up this beautiful, beautiful function instead:
(global-set-key
[(hyper e)]
(lambda ()
(interactive)
(save-some-buffers t)
(when (get-buffer "*vc-dir*")
(kill-buffer (get-buffer "*vc-dir*")))
(vc-dir "~/src/emacs/trunk")
(goto-char (point-min))
(while (not (search-forward "edited" nil t))
(sit-for 0.01))
(beginning-of-line)
(while (search-forward "edited" nil t)
(vc-dir-mark)
(beginning-of-line))
(vc-diff nil)
(other-window 1)))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2014-12-08 18:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-07 19:54 bug#19297: 25.0.50; `C-c C-a' does not do the right thing from the trunk root Lars Magne Ingebrigtsen
2014-12-08 15:12 ` Stefan Monnier
2014-12-08 18:16 ` Lars Magne Ingebrigtsen [this message]
2014-12-08 19:07 ` Stefan Monnier
2014-12-08 19:11 ` Lars Magne Ingebrigtsen
2014-12-08 20:15 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3d27u2ej1.fsf@stories.gnus.org \
--to=larsi@gnus.org \
--cc=19297@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.