Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

An observation re Notepad

32 views
Skip to first unread message

Jack B

unread,
Mar 14, 2008, 3:02:19 PM3/14/08
to
An observation re Notepad:
If you save anything creating text with Notepad set on "Wrap text," Notepad
will inject paragraph marks at the end of each line where it's wrapped. If
you don't want that to happen, you must turn off "Wrap text," which is sort
of impractical. Anyway, that's irritating. I have, however, found a way to
save a .txt file without those line-by-line paragraph marks: use MS Word
and save as text.

Jack


PD43

unread,
Mar 14, 2008, 3:16:19 PM3/14/08
to
"Jack B" <jslimp0...@earthlink.net> wrote:

> I have, however, found a way to
>save a .txt file without those line-by-line paragraph marks: use MS Word
>and save as text.

THANK you SO much for that.

I've been waiting almost 15 years for that solution! <smirk>

Pegasus (MVP)

unread,
Mar 14, 2008, 3:26:12 PM3/14/08
to

"Jack B" <jslimp0...@earthlink.net> wrote in message
news:eoOi5Xgh...@TK2MSFTNGP06.phx.gbl...

This is not correct: Notepad will not "inject" any paragraph marks.
It will simply break the screen line shortly before the right edge of
the frame. You can easily verify this: Drag the right edge left, then
right again. The lines keep adjusting themselves. If paragraph marks
had been inserted then the "shortened" lines would remain shortened.


Dave Cohen

unread,
Mar 14, 2008, 5:07:34 PM3/14/08
to
The 'wrap' is confined to viewing in notepad. If you save the file and
open in a normal text editor, line breaks only occur where you pressed
newline when in notepad.
If you open in Word, word will wrap between margins. No special marks
are injected into the file. The cr/lf will only be visible if you elect
to show paragraph marks.
Dave Cohen

Pegasus (MVP)

unread,
Mar 14, 2008, 5:16:53 PM3/14/08
to

"Dave Cohen" <us...@example.net> wrote in message
news:qOBCj.753$jw2.508@trndny04...

Since you repeat more or less what I said, I assume that
you're replying to the OP, not to me.


Jack B

unread,
Mar 15, 2008, 5:52:00 PM3/15/08
to
Please note the critical word in what I stated: SAVE

"If you SAVE anything creating text with Notepad set on "Wrap text," Notepad


will inject paragraph marks at the end of each line where it's wrapped. If
you don't want that to happen, you must turn off "Wrap text," which is sort
of impractical. Anyway, that's irritating. I have, however, found a way to
save a .txt file without those line-by-line paragraph marks: use MS Word
and save as text."

Perhaps "insert" is the better word vs. "inject"; however, upon SAVING the
text document created with Notepad, the end of each line (at whatever width
you had Notepad) is ended with a paragraph mark. The next time you open
the file, all the lines of that document will be a fixed length, because
each line ends with a paragraph mark.

Jack

"Pegasus (MVP)" <I....@fly.com.oz> wrote in message
news:u0kv7ihh...@TK2MSFTNGP02.phx.gbl...

Pegasus (MVP)

unread,
Mar 15, 2008, 6:22:23 PM3/15/08
to

"Jack B" <jslimp0...@earthlink.net> wrote in message
news:uks3cbuh...@TK2MSFTNGP04.phx.gbl...

> Please note the critical word in what I stated: SAVE
>
> "If you SAVE anything creating text with Notepad set on "Wrap text,"
> Notepad
> will inject paragraph marks at the end of each line where it's wrapped.
> If
> you don't want that to happen, you must turn off "Wrap text," which is
> sort
> of impractical. Anyway, that's irritating. I have, however, found a way
> to
> save a .txt file without those line-by-line paragraph marks: use MS Word
> and save as text."
>
> Perhaps "insert" is the better word vs. "inject"; however, upon SAVING the
> text document created with Notepad, the end of each line (at whatever
> width
> you had Notepad) is ended with a paragraph mark. The next time you open
> the file, all the lines of that document will be a fixed length, because
> each line ends with a paragraph mark.
>
> Jack

I'm aware that you wrote "Save" but your claim is still incorrect.
Saving a notepad.exe file with "wrap lines" set to active will
NOT insert any paragraph markers. Here is how you can
prove it to yourself:
1. Launch notepad.exe.
2. Make its width about half of your screen.
3. Activate "Word Wrap".
4. Write a text that spans 3 lines. Do NOT press {Enter}
at any time.
5. Save the file as c:\Wrapped.txt. According to your theory,
it should have at least two paragraph markers.
6. Deactivate "Word Wrap".
7. Save the file as "c:\Unwrapped.txt".
8. Open the file c:\Wrapped.txt. According to your theory,
there should be two paragraph markers. Where are they?


LVTravel

unread,
Mar 15, 2008, 7:32:06 PM3/15/08
to
Just tested your little theory and it is wrong.

Saved a 5 line file with word wrap turned on and then turned
off word wrap, and of course it went off the right of the
screen, and did a save as to a different filename. Opened
both in Word and turned on Paragraph marks. Both files were
identical with only one paragraph mark present and that was
at the end of the file.


"Jack B" <jslimp0...@earthlink.net> wrote in message

news:uks3cbuh...@TK2MSFTNGP04.phx.gbl...

Jack B

unread,
Mar 15, 2008, 8:17:17 PM3/15/08
to
Yes, if you turn off word wrap, that's a different story.


Jack

--------------------------------

"LVTravel" <no...@nothere.com> wrote in message
news:%23SugKTv...@TK2MSFTNGP05.phx.gbl...

LVTravel

unread,
Mar 15, 2008, 11:21:16 PM3/15/08
to
Actually it is the same story. Both files, one created with
word wrap on and one created with word wrap off created the
identical file when viewed in MS Word with the paragraph
marks turned on. Only the final paragraph mark was visible.
Spaces between words had the normal dot between them but no
other special characters. Your theory is wrong or you have
issues with your computer.


"Jack B" <jslimp0...@earthlink.net> wrote in message

news:uVOFisvh...@TK2MSFTNGP06.phx.gbl...

Jack B

unread,
Mar 17, 2008, 12:12:05 AM3/17/08
to
LTV --

Please note what PD43 posted above:


"THANK you SO much for that. I've been waiting almost 15 years for that
solution! "

It happens.

Cheers.


Jack

-----------------------------------


"LVTravel" <no...@nothere.com> wrote in message

news:%237xENTx...@TK2MSFTNGP05.phx.gbl...

Pegasus (MVP)

unread,
Mar 17, 2008, 2:37:50 AM3/17/08
to

"Jack B" <jslimp0...@earthlink.net> wrote in message
news:upVUXU%23hIH...@TK2MSFTNGP02.phx.gbl...

> LTV --
>
> Please note what PD43 posted above:
> "THANK you SO much for that. I've been waiting almost 15 years for that
> solution! "
>
> It happens.
>
> Cheers.
>
>
> Jack

Jack,

Please note: PD43 was being sarcastic. He was pulling your
leg. He might as well have said "Thank you so much for telling
me that the earth is flat." If you insist that your notepad earth
is flat then so be it. Your minde is obviously made up - there
no point in trying to confuse you with the facts.


Allan

unread,
Mar 20, 2008, 9:33:49 PM3/20/08
to

"Jack B" <jslimp0...@earthlink.net> wrote in message
news:eoOi5Xgh...@TK2MSFTNGP06.phx.gbl...
I suggest you try using the Emacs text editor. After you start using Emacs
you will not need to use Notepad very much any more.
http://www.gnu.org/software/emacs

--
Allan

Jack B

unread,
Mar 21, 2008, 6:30:01 PM3/21/08
to
LTV --

Please note what PD43 posted above:
"THANK you SO much for that. I've been waiting almost 15 years for that
solution! "

It happens.

Interestingly enough, it is now not happening to me!?

Cheers.


Jack

-----------------------------------

"LVTravel" <no...@nothere.com> wrote in message

news:%237xENTx...@TK2MSFTNGP05.phx.gbl...

Pegasus (MVP)

unread,
Mar 21, 2008, 6:40:36 PM3/21/08
to

"Jack B" <jslimp0...@earthlink.net> wrote in message
news:eOXfwM6i...@TK2MSFTNGP06.phx.gbl...

> LTV --
>
> Please note what PD43 posted above:
> "THANK you SO much for that. I've been waiting almost 15 years for that
> solution! "
>
> It happens.
>
> Interestingly enough, it is now not happening to me!?
>
> Cheers.
>
>
> Jack

Are you saying that you have discovered that the earth is not
flat, after all? If so then this would be a major breakthrough
for you!


MikeB

unread,
Mar 21, 2008, 7:39:25 PM3/21/08
to
On Mar 21, 5:30 pm, "Jack B" <jslimp01nos...@earthlink.net> wrote:
> LTV --
>
> Please note what PD43 posted above:
> "THANK you SO much for that. I've been waiting almost 15 years for that
> solution! "
>
> It happens.
>
> Interestingly enough, it is now not happening to me!?
>
> Cheers.
>
> Jack


Jack, did you notice the "smirk" in that reply? The respondent was
being sarcastic. You are flat-out wrong about Notepad. If you indeed
observe this behavior on your computer, you have either some problem
or not the vanilla Notepad that MS ships.

Jack B

unread,
Mar 22, 2008, 3:37:09 PM3/22/08
to
Facts are facts. It happened.
I had done several things in Notepad for insertion into a website page.
Upon later loading Notepad and opening the file(s) I intended to copy onto
the webpage, I discovered each line in Notepad had a break at the point
where it was configured when saved. I did some testing and discovered that
every time I saved with Word wrap on, I got the same results.

>If you indeed observe this behavior on your computer, you have either some
>problem or not the vanilla Notepad that MS ships.<

My Notepad is the same one that came with the pc and Win XP. I'm not saying
that there was not some pc problem (the situation no longer exists), but I
tested it several times and got the same results. Obviously, PD43 also had
the problem.

Jack

----------------------------------------


"MikeB" <MPB...@gmail.com> wrote in message
news:e86dc6de-b411-4b85...@o22g2000hsh.googlegroups.com...

Pegasus (MVP)

unread,
Mar 22, 2008, 3:59:19 PM3/22/08
to
<snip>

<Obviously, PD43 also had the problem.

Not obvious at all. I recommend you look up the
meaning of "sarcasm" in your dictionary.


0 new messages