[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57861] GUI editor should save text files with
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character |
Date: |
Wed, 26 Feb 2020 15:35:44 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36 |
Follow-up Comment #14, bug #57861 (project octave):
Thanks, I didn't see an email notification for this update. I've tested now,
looks much better to how I would expect this to work.
There are still a couple oddities left that I'm seeing.
1. If I enable both new settings, open an existing file, delete the entire
buffer, and Save, the file is saved with a trailing newline. The one exception
I mentioned before is when the buffer is completely empty, a newline should
not be appended, the file should be zero bytes.
2. If I disable the "Remove trailing spaces" option, the newline behavior
seems to go back to the original. I don't see why these two options should
interact with each other at all, but they do from what I can tell. If the last
line in the file is only space characters, a newline is appended, that part
works. But if the last line doesn't end in spaces, no newline is appended now
with this option enabled.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57861>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, (continued)
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Torsten Lilge, 2020/02/21
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Rik, 2020/02/21
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, John W. Eaton, 2020/02/21
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Mike Miller, 2020/02/21
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Torsten Lilge, 2020/02/22
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Mike Miller, 2020/02/22
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Torsten Lilge, 2020/02/22
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Mike Miller, 2020/02/22
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Torsten Lilge, 2020/02/22
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Mike Miller, 2020/02/22
- Message not available
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character,
Mike Miller <=
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Torsten Lilge, 2020/02/26
- Message not available
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Mike Miller, 2020/02/27
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Torsten Lilge, 2020/02/27
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Mike Miller, 2020/02/28
- [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character, Torsten Lilge, 2020/02/28