[Bug 191923] Re: DEBEMAIL confusion when using dch -e and vim

2010-04-20 Thread Rune Philosof
I believe the reporter wants to change the email-address of the current entry.
This is done automatically when run as so dch -e
Since the editor pops up with the document as you want it, the typical reaction 
is to close the editor and expect the file to be as you saw it in the editor.
However, the changelog does not look like you saw in your editor.

This is true for all editors not just vim, as the reporter implies.

dch -e prints this:
r...@hilbert:~/src/devscripts-2.10.53ubuntu3$ dch -e
dch: debian/changelog unmodified; exiting.

Someone might be able to alter that text to better communicate what just
happened.


** Changed in: devscripts (Ubuntu)
   Status: New = Confirmed

** Summary changed:

- DEBEMAIL confusion when using dch -e and vim
+ DEBEMAIL confusion when using dch -e

** Description changed:

  Binary package hint: devscripts
  
- When changing the DEBEMAIL variable and editing via 'dch -e' the email-
- address of the current entry is changed into the new addresse. Exiting
- vim with an unforced save this change is not written to the file.
+ When changing the DEBEMAIL variable and editing via 'dch -e' the 
email-address of the current entry is changed into the new addresse. If this is 
the only change you wanted. You might exit the editor without saving.
+ However unless you save the file before exiting, the change that 'dch -e' 
automatically made will not be written to the file.
  
- I think this scenario is extremly rare and depends on vim getting a
- buffer which is not written to the disk, but seems to be. Forced writing
- fixes the problem.
+ I think this scenario is extremely rare and depends on the editor (and
+ the user) thinking that the file is unchanged. Forced writing fixes the
+ problem.
  
  Don't know if this is worth fixing it (which I think would be quite
  tricky) - this was just one thing which confused me pretty much, till I
  figured out, what happend.
  
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=7.10
  DISTRIB_CODENAME=gutsy
  DISTRIB_DESCRIPTION=Ubuntu 7.10
  
  2.10.7ubuntu5

-- 
DEBEMAIL confusion when using dch -e
https://bugs.launchpad.net/bugs/191923
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 191923] Re: DEBEMAIL confusion when using dch -e and vim

2010-03-18 Thread James Vega
In general, debchange doesn't update the original changelog unless your
explicitly save the temporary file that you are presented with for
editing.  Unless I'm misunderstanding the description, this seems like
expected behavior.

-- 
DEBEMAIL confusion when using dch -e and vim
https://bugs.launchpad.net/bugs/191923
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 191923] Re: DEBEMAIL confusion when using dch -e and vim

2008-11-28 Thread Daniel T Chen
** Changed in: devscripts (Ubuntu)
   Importance: Undecided = Low

-- 
DEBEMAIL confusion when using dch -e and vim
https://bugs.launchpad.net/bugs/191923
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs