Re: 2 questions

Giorgos Keramidas <[email protected]>
Newsgroups gmane.os.freebsd.bugbusters
Message-ID <[email protected]>
On 2002-07-02 17:48 +0000, Dmitry Sivachenko wrote:
> 2) When I changed the state of a PR open->feedback, vi was launched to edit
> the change reason.  When I exited vi with :w! (without saving), state was
> changed without the appropriate message.  Is it possible to abort changing
> the state when quitting with :w!

If you really did :w! then you did save the buffer.  To quit without
saving you'll have to use :q! instead.  This will still attempt to
refile the PR if you have previously written the buffer out though, as
shown below:

	% edit-pr 19760
	[ vi fires up ]
	[ change something ]
	:w
	[ change something else ]
	:q!

The PR will still be refiled with the first changes that you saved!
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9IbEG1g+UGjGGA7YRAgrSAJ4+TDNfCUKttaYyJ+o7Hrao4+rx9QCghH+9
QO2g4+ztMM38jCZZiZTJ/oo=
=XYx1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.