[bug #16452] mcedit forgets POSIX newline at end of file

2006-06-21 Thread Leonard den Ottolander
Follow-up Comment #7, bug #16452 (project mc): Any patches forthcoming? ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=16452 ___ Message sent via/by

[bug #16452] mcedit forgets POSIX newline at end of file

2006-04-29 Thread Roland Illig
Follow-up Comment #4, bug #16452 (project mc): mcedit is currently suitable for editing binary files, too. I wouldn't like to give up this feature. So we had to do something like: if (the current file looks like a text file) { if (edit-size 0 get_byte(edit-size) != '\n') { if

[bug #16452] mcedit forgets POSIX newline at end of file

2006-04-29 Thread Rudolf Polzer
Follow-up Comment #6, bug #16452 (project mc): I think such a dialog box should rather read: The file you are editing does not end with a newline as required by many programs. Do you want to add one? [Yes] [No] and - since mcedit is suitable for editing binaries - it would not hurt if No was

[bug #16452] mcedit forgets POSIX newline at end of file

2006-04-29 Thread Oswald Buddenhagen
Follow-up Comment #5, bug #16452 (project mc): ... except that this patch does not actually handle the Cancel case ... but other than that i'm fine with it. ___ Reply to this item at:

[bug #16452] mcedit forgets POSIX newline at end of file

2006-04-28 Thread Oswald Buddenhagen
Follow-up Comment #1, bug #16452 (project mc): nothing in the quoted paragraph suggests that a newline has to be present. there are two philosophies regarding newlines: newlines as line terminators (requires newline) and newlines as line breaks (separators - no newline required). personally, i

[bug #16452] mcedit forgets POSIX newline at end of file

2006-04-28 Thread Rudolf Polzer
Follow-up Comment #3, bug #16452 (project mc): Damn, why does it say GNU/Hurd there? I'm quite sure that I didn't select that on purpose (I'm using GNU/Linux and FreeBSD), maybe I just clicked next to the right choice... please change that or ignore it, thanks.

[bug #16452] mcedit forgets POSIX newline at end of file

2006-04-27 Thread Rudolf Polzer
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=16452 Summary: mcedit forgets POSIX newline at end of file Project: GNU Midnight Commander Submitted by: div0 Submitted on: Thursday 04/27/06 at 07:27 Category: