all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
Subject: Re: PCL-CVS only committing some files
Date: 07 Dec 2002 11:58:33 +0900	[thread overview]
Message-ID: <87vg26h6w6.fsf@tc-1-100.kawasaki.gol.ne.jp> (raw)
In-Reply-To: 5lr8d0me0i.fsf@rum.cs.yale.edu

"Stefan Monnier <foo@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> writes:
> The set of files committed is not determined when you hit `c' or `C'
> but when you hit C-c C-c.
> Usually they are the same, but not always.

I've always hated that ... sometimes I inadvertently move point in the
*cvs* buffer while I'm editing the log-entry (e.g., if start switching
buffers to lookup some info), and end up committing the wrong file!

I guess it could be handy in the case of committing _multiple_ files
though, to be able to change the set of files to commit while editing
the log...  Hmmm, I'm not sure _what_ I want.

What do you think of the following:

  * For a single file, display the to-be-committed filename in
    *log-entry*'s (not sure if that's the right buffer name, but anyway)
    mode-line, otherwise display something like `(marked files)'; update
    this mode-line info dynamically if the user changes the *cvs* buffer
    state

  * When the user hits `C-c C-c', if the set of to-be-committed
    file/files is different from what it was at `c'/`C' time, ask the
    user to confirm the commit (`Really commit foo.c?' or `Really commit
    these files?' [+ temp-buffer showing the files])

Stefan, does this sound hard to implement?

Thanks,

-Miles
-- 
"I distrust a research person who is always obviously busy on a task."
   --Robert Frosch, VP, GM Research

  parent reply	other threads:[~2002-12-07  2:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-02 13:06 PCL-CVS only committing some files Kai Großjohann
2002-12-02 19:12 ` Stefan Monnier <foo@acm.com>
2002-12-02 20:12   ` CVS and EMACS Gurucharan
2002-12-02 20:15   ` PCL-CVS only committing some files Kai Großjohann
2002-12-02 21:02     ` Stefan Monnier <foo@acm.com>
2002-12-03  8:38       ` Kai Großjohann
     [not found]   ` <mailman.1038858724.30082.help-gnu-emacs@gnu.org>
2002-12-03  7:33     ` CVS and EMACS Kai Großjohann
2002-12-07  2:58   ` Miles Bader [this message]
2002-12-07 12:38     ` PCL-CVS only committing some files Klaus Berndl
2002-12-07 14:22     ` Kai Großjohann
2002-12-07 14:51       ` Miles Bader
2002-12-07 15:37         ` Kai Großjohann
2002-12-09 16:50         ` Stefan Monnier <foo@acm.com>
2002-12-09 16:51       ` Stefan Monnier <foo@acm.com>
2002-12-10  8:50         ` Kai Großjohann
2002-12-09 16:49     ` Stefan Monnier <foo@acm.com>
2002-12-10  1:47       ` Miles Bader

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=87vg26h6w6.fsf@tc-1-100.kawasaki.gol.ne.jp \
    --to=miles@gnu.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.