* vc-next-action on unregistered files
@ 2008-01-17 11:40 Christoph Conrad
2008-01-18 14:13 ` Dan Nicolaescu
0 siblings, 1 reply; 8+ messages in thread
From: Christoph Conrad @ 2008-01-17 11:40 UTC (permalink / raw)
To: bug-gnu-emacs; +Cc: Christoph Conrad
In GNU Emacs 23.0.50 (i386-msvc-nt5.1.2600)
of 2008-01-11 on CLEOPATRA
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-msvc (13.10)'
vc-next-action does not work anymore on unregistered files for me. It
does nothing on "C-x v v". Explicit M-x vc-register works.
in vc-next-action:
;; Files aren't registered
((not state)
(mapc 'vc-register files))
state is 'unregistered from previous `vc-state'. So testing (not state)
is obviously wrong.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vc-next-action on unregistered files
2008-01-17 11:40 vc-next-action on unregistered files Christoph Conrad
@ 2008-01-18 14:13 ` Dan Nicolaescu
2008-01-18 23:45 ` Christoph Conrad
2008-01-21 9:29 ` Christoph Conrad
0 siblings, 2 replies; 8+ messages in thread
From: Dan Nicolaescu @ 2008-01-18 14:13 UTC (permalink / raw)
To: Christoph Conrad; +Cc: bug-gnu-emacs
"Christoph Conrad" <christoph.conrad@gmx.de> writes:
> In GNU Emacs 23.0.50 (i386-msvc-nt5.1.2600)
> of 2008-01-11 on CLEOPATRA
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> configured using `configure --with-msvc (13.10)'
>
> vc-next-action does not work anymore on unregistered files for me. It
> does nothing on "C-x v v". Explicit M-x vc-register works.
>
> in vc-next-action:
>
> ;; Files aren't registered
> ((not state)
> (mapc 'vc-register files))
>
> state is 'unregistered from previous `vc-state'. So testing (not state)
> is obviously wrong.
Thanks for the bug report, it should be fixed now.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vc-next-action on unregistered files
2008-01-18 14:13 ` Dan Nicolaescu
@ 2008-01-18 23:45 ` Christoph Conrad
2008-01-21 9:29 ` Christoph Conrad
1 sibling, 0 replies; 8+ messages in thread
From: Christoph Conrad @ 2008-01-18 23:45 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: bug-gnu-emacs
Hi Dan,
> Thanks for the bug report, it should be fixed now.
Can test it on next monday, but the change looks good. Thank you!
With kind regards,
Christoph
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vc-next-action on unregistered files
2008-01-18 14:13 ` Dan Nicolaescu
2008-01-18 23:45 ` Christoph Conrad
@ 2008-01-21 9:29 ` Christoph Conrad
2008-01-21 14:55 ` Dan Nicolaescu
1 sibling, 1 reply; 8+ messages in thread
From: Christoph Conrad @ 2008-01-21 9:29 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: bug-gnu-emacs, Christoph Conrad
Hi Dan,
> Thanks for the bug report, it should be fixed now.
Tested, yes, works.
The message "Previous master file has vanished. Make a new one? " is
new, isn't it? I wondered what it means seeing it the first time, and
looked into the source. Doesn't it simply mean "You really want to
register this file? "?
With kind regards,
Christoph
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vc-next-action on unregistered files
2008-01-21 9:29 ` Christoph Conrad
@ 2008-01-21 14:55 ` Dan Nicolaescu
2008-01-21 15:19 ` Christoph Conrad
0 siblings, 1 reply; 8+ messages in thread
From: Dan Nicolaescu @ 2008-01-21 14:55 UTC (permalink / raw)
To: Christoph Conrad; +Cc: bug-gnu-emacs
"Christoph Conrad" <christoph.conrad@gmx.de> writes:
> Hi Dan,
>
> > Thanks for the bug report, it should be fixed now.
>
> Tested, yes, works.
>
> The message "Previous master file has vanished. Make a new one? " is
> new, isn't it? I wondered what it means seeing it the first time, and
> looked into the source. Doesn't it simply mean "You really want to
> register this file? "?
Hi,
That message should only appear if the file you are trying to register
is already registered with the version control system in use. (The
terminology used in the message seems to be from RCS, which is not that
helpful nowadays when very few people are familiar with RCS...).
If you get the message in a different situation, it might be a bug. In
that case please send a step by step description of what you did when
you got the message.
Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vc-next-action on unregistered files
2008-01-21 14:55 ` Dan Nicolaescu
@ 2008-01-21 15:19 ` Christoph Conrad
2008-01-21 15:27 ` Dan Nicolaescu
0 siblings, 1 reply; 8+ messages in thread
From: Christoph Conrad @ 2008-01-21 15:19 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: bug-gnu-emacs, Christoph Conrad
Hi Dan,
> That message should only appear if the file you are trying to register
> is already registered with the version control system in use.
No, it's displayed when the file is unregistered. See:
(if (vc-registered fname)
(error "This file is already registered")
(unless (y-or-n-p "Previous master file has vanished. Make a new one? ")
(error "Aborted")))
With kind regards,
Christoph
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vc-next-action on unregistered files
2008-01-21 15:19 ` Christoph Conrad
@ 2008-01-21 15:27 ` Dan Nicolaescu
2008-01-22 9:44 ` Christoph Conrad
0 siblings, 1 reply; 8+ messages in thread
From: Dan Nicolaescu @ 2008-01-21 15:27 UTC (permalink / raw)
To: Christoph Conrad; +Cc: bug-gnu-emacs
"Christoph Conrad" <christoph.conrad@gmx.de> writes:
> Hi Dan,
>
> > That message should only appear if the file you are trying to register
> > is already registered with the version control system in use.
>
> No, it's displayed when the file is unregistered. See:
>
> (if (vc-registered fname)
> (error "This file is already registered")
> (unless (y-or-n-p "Previous master file has vanished. Make a new one? ")
> (error "Aborted")))
Look at the context, that code is inside a (when (vc-backend fname) ...
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vc-next-action on unregistered files
2008-01-21 15:27 ` Dan Nicolaescu
@ 2008-01-22 9:44 ` Christoph Conrad
0 siblings, 0 replies; 8+ messages in thread
From: Christoph Conrad @ 2008-01-22 9:44 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: bug-gnu-emacs, Christoph Conrad
Hi Dan,
> Look at the context, that code is inside a (when (vc-backend fname)
> ...
I updated my Emacs to current CVS (before 2008-01-11), now it works as
expected.
With kind regards,
Christoph
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-01-22 9:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-17 11:40 vc-next-action on unregistered files Christoph Conrad
2008-01-18 14:13 ` Dan Nicolaescu
2008-01-18 23:45 ` Christoph Conrad
2008-01-21 9:29 ` Christoph Conrad
2008-01-21 14:55 ` Dan Nicolaescu
2008-01-21 15:19 ` Christoph Conrad
2008-01-21 15:27 ` Dan Nicolaescu
2008-01-22 9:44 ` Christoph Conrad
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.