Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Paul Graham on Great Hackers ('newlines')

by tye (Sage)
on Jul 29, 2004 at 14:36 UTC ( [id://378391]=note: print w/replies, xml ) Need Help??


in reply to Re: Paul Graham on Great Hackers
in thread Paul Graham on Great Hackers

You have three lines in your first code block that contain several dozen trailing spaces each (and these spaces get wrapped by PM, which makes the "weird newlines").

I'll go out on a limb and guess that you are using Opera. Although I like a lot of things about Opera, it certainly has the most stupid bugs. This probably replaces the previous Opera bug where they'd add an extra blank line per non-blank line each time you preview.

Since this is affecting several people, it would be nice to track down the source and any work-arounds.

- tye        

  • Comment on Re^2: Paul Graham on Great Hackers ('newlines')

Replies are listed 'Best First'.
Re^3: Paul Graham on Great Hackers ('newlines')
by Ovid (Cardinal) on Jul 31, 2004 at 01:17 UTC

    Actually, I'm using Firefox 0.8. If there is any more information you like, just let me know.

    I've noticed that it seems to happen if I select the text from another window and just paste it in with my middle mouse button. If I type it in normally, there's no problem.

    Typed:

    sub foo { bar(); baz(); }

    Pasted:

    sub foo { bar(); + baz(); }

    Cheers,
    Ovid

    New address of my CGI Course.

      This probably has nothing to do with the problem you're having, but whenever I cut text out of a terminal window, there's always trailing spaces, so when I paste into something else, it sometimes messes up the format. So I often paste into Vim first, and remove all the trailing spaces before cut n pasting somewhere else (and I nearly always have a Vim window open).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found