Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #7354

Re: JS - prevent keypress bubbling to child with listener on parent?

Message-ID <2998780.SPkdTlGXAF@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2011-10-13 20:34 +0200
Subject Re: JS - prevent keypress bubbling to child with listener on parent?
Newsgroups comp.lang.javascript
References <6600787.2401.1318352909679.JavaMail.geo-discussion-forums@yqar15> <1378357.U43GxOFACv@PointedEars.de> <20wh0sFTsalOFwON@J.A830F0FF37FB96852AD08924D9443D28E23ED5CD> <1666824.aK4W3vaeNJ@PointedEars.de> <+u1sEfDs2rlOFweD@J.A830F0FF37FB96852AD08924D9443D28E23ED5CD>
Followup-To poster

Followups directed to: poster

Show all headers | View raw


John G Harris wrote:

> Thomas 'PointedEars' Lahn wrote:
>> No, the content of a line that ends with `=' in the quoted-printable
>> *transfer* *encoding* is considered to be continued on the next line:
>>
>> <http://tools.ietf.org/html/rfc2045#page-19>
>> (simpler explanation in <http://en.wikipedia.org/wiki/Quoted-printable>)
>>
>> Therefore, even though line 1 of the message body of the posting is only
>> 76 characters long, the decoded line is actually 284 characters long (not
>> counting the trailing CR+LF).
> 
> ... which a sensible mail/news program, such as mine or Andrew's,
> displays sensibly.

"No true Scotsman" fallacy.  (JFTR: KNode word-wraps the message at the pane 
edges.  One could argue as well that no sensible mail/news program would 
generate attribution novels that make for a two-line attribution, so yours 
would disqualify.  Neither argument would change the fact that the message 
is too wide as the decoded maximum line length is too high for proper 
reading *without* assistive technology.)

> Or would you rather blame Google for making its usual mess of things?

A posting agent should assist the user in posting messages with lines that 
are of appropriate length, indeed.  For example, KNode and several other 
programs can word-wrap text at a user-defined column (set to 76 here, which 
is the default) while typing.


F'up2 poster

PointedEars
-- 
    realism:    HTML 4.01 Strict
    evangelism: XHTML 1.0 Strict
    madness:    XHTML 1.1 as application/xhtml+xml
                                                    -- Bjoern Hoehrmann

Back to comp.lang.javascript | Previous | NextPrevious in thread | Find similar


Thread

JS - prevent keypress bubbling to child with listener on parent? cron <cronoklee@hotmail.com> - 2011-10-11 10:08 -0700
  Re: JS - prevent keypress bubbling to child with listener on parent? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-11 19:48 +0200
    Re: JS - prevent keypress bubbling to child with listener on parent? Andrew Poulos <ap_prog@hotmail.com> - 2011-10-12 10:42 +1100
      Re: JS - prevent keypress bubbling to child with listener on parent? Antony Scriven <adscriven@gmail.com> - 2011-10-11 18:19 -0700
        Re: JS - prevent keypress bubbling to child with listener on parent? Andrew Poulos <ap_prog@hotmail.com> - 2011-10-12 13:22 +1100
    Re: JS - prevent keypress bubbling to child with listener on parent? John G Harris <john@nospam.demon.co.uk> - 2011-10-12 15:58 +0100
      Re: JS - prevent keypress bubbling to child with listener on parent? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-12 21:31 +0200
        Re: JS - prevent keypress bubbling to child with listener on parent? John G Harris <john@nospam.demon.co.uk> - 2011-10-13 11:30 +0100
          Re: JS - prevent keypress bubbling to child with listener on parent? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-13 20:34 +0200

csiph-web