Bug 117451

Summary: mutt do not longer recognise aborted edits as unchanged messages
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Karsten Keil <karsten.keil>
Component: ConsoleAppsAssignee: Mads Martin Joergensen <mmj>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: RC 3   
Target Milestone: ---   
Hardware: x86   
OS: All   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Karsten Keil 2005-09-16 13:16:12 UTC
After update my main workstation from SL 9.2 to 10.0 RC4, mutt does not  
longer act as before regard aborted edits.  
Under 9.2 if I leave the editor without saving, mutt discard the edited  
message as unchanged. After update it doesn't, so I have to press q to abort  
the message.  
On a new installed system (10.0 RC4) it works as before (under 9.2) even with  
the same copied .muttrc.
Comment 1 Karsten Keil 2005-09-16 20:36:16 UTC
Seems I found the reason.  
It was my .signature file.  
For some reason I do not remember the file had no newline at the last line.  
Now I added a extra newline and now mutt works again. 
I think mutt should not depend on a newline for the changed/unchanged 
detection.  
  
Comment 2 Mads Martin Joergensen 2005-09-29 11:04:13 UTC
Changed/unchanged should do exactly what it means. A newline is a change.
Comment 3 Karsten Keil 2005-09-29 12:27:11 UTC
I agree that  changed/unchanged should do exactly what it means, but here is 
no newline changed. 
If the .signature ends without a newline it detects a changed file, but in the 
editor there is no newline inserted at the end in this case (the .signature is 
included). 
 
 
Comment 4 Mads Martin Joergensen 2005-09-29 12:34:15 UTC
Now I get what you mean.
Comment 5 Mads Martin Joergensen 2005-10-03 07:49:57 UTC
Fixed in STABLE.