From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
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 14:07:19 -0500 [thread overview]
Message-ID: <jwvegsayn9q.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <m3d27u2ej1.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 08 Dec 2014 19:16:18 +0100")
>> 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)))
Why not use this energy to actually fix the underlying bug (i.e. write
code similar to the above but to compute the list of files passed to
the Log-Edit mode).
Stefan
next prev parent reply other threads:[~2014-12-08 19:07 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
2014-12-08 19:07 ` Stefan Monnier [this message]
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=jwvegsayn9q.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=19297@debbugs.gnu.org \
--cc=larsi@gnus.org \
/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.