Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: For thought: "Perl in the greater context of (me and) the software business

by graff (Chancellor)
on Mar 23, 2013 at 07:42 UTC ( #1025006=note: print w/ replies, xml ) Need Help??


in reply to Re^2: For thought: "Perl in the greater context of (me and) the software business
in thread For thought: "Perl in the greater context of (me and) the software business

Actually, I get the impression from the OP that sundialsvc4 is using something that automatically transforms two (or more?) consecutive spaces into a single space followed by one (or more?) &nbsp; (it must be automatic, because doing it manually is too painful to contemplate). And I wouldn't be surprised if the same mechanism does something about changing line breaks into <p> tags.

I'll just mention that when editing human-readable text in emacs (as I often do when documenting the code I write), I've developed a habit of putting two spaces (not one) between a period and the next word, because if I don't do that, emacs' line-wrap strategy won't allow a line break after that period. It's weird, but there is a traditional "rule of style", dating back to the days of typewriters and fixed-width-font printers, that mandated two spaces at every sentence boundary inside a paragraph.

(Who remembers that cover art for an issue of the Perl Journal, showing the start of a perl installation log on an Underwood typewriter? That one was my all-time favorite.)


Comment on Re^3: For thought: "Perl in the greater context of (me and) the software business
Select or Download Code
Replies are listed 'Best First'.
Re^4: For thought: "Perl in the greater context of (me and) the software business
by choroba (Canon) on Mar 23, 2013 at 10:03 UTC
    You can set sentence-end-double-space to nil to make Emacs forget about double spaces (but using M-a and M-e then gets a bit less convenient because they stop at every period, even after an abbreviation).
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re^4: For thought: "Perl in the greater context of (me and) the software business
by LanX (Canon) on Mar 23, 2013 at 11:36 UTC
    > I've developed a habit of putting two spaces (not one) between a period and the next word, because if I don't do that, emacs' line-wrap strategy won't allow a line break after that period.

    Wow, I didn't expect to learn something so valuable in this thread!

    Thanks a lot! =)

    Cheers Rolf

    ( addicted to the Perl Programming Language)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025006]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2015-07-28 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls