Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'formatting': 0.07; 'lines.': 0.07; 'creighton': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'snippet': 0.09; 'worse': 0.09; 'python': 0.10; 'python.': 0.11; "'this": 0.16; 'follow-up': 0.16; 'marker': 0.16; 'quoted': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sebastian': 0.16; 'snippets': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'try:': 0.18; '>>>': 0.20; '2015': 0.20; 'sat,': 0.23; 'this:': 0.23; "haven't": 0.24; 'plain': 0.24; 'feature': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.26; 'coding': 0.27; '+0200,': 0.27; 'received:24': 0.28; 'looks': 0.29; 'concern': 0.29; "people's": 0.29; 'quoting': 0.29; 'sure,': 0.29; 'thinks': 0.29; "i'm": 0.30; 'that.': 0.30; 'code': 0.30; 'probably': 0.31; 'post': 0.31; 'up.': 0.32; 'says': 0.32; 'message.': 0.33; 'wrap': 0.33; 'message-id:@gmail.com': 0.34; 'except': 0.34; 'text': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:org': 0.37; 'to:addr:python.org': 0.40; 'some': 0.40; 'skip:u 10': 0.61; 'show': 0.62; 'back': 0.62; 'skip:a 40': 0.64; 'viewing': 0.64; 'generated.': 0.66; 'skip:w 40': 0.66; 'here': 0.66; 'reply': 0.68; 'teach': 0.70; 'jul': 0.72; 'saw': 0.77; 'received:shawcable.net': 0.84; 'received:wp.shawcable.net': 0.84; 'subject:Gmail': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Sebastian P. Luque Subject: Re: Gmail eats Python Date: Sun, 26 Jul 2015 13:15:03 -0500 Organization: Church of Emacs References: <201507251634.t6PGYUvo028820@fido.openend.se> Mime-Version: 1.0 Content-Type: text/plain X-Gmane-NNTP-Posting-Host: s0106503955564c1f.wp.shawcable.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:Qso6f6o4KZsGcGeIqt80GqAO6SU= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 37 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437934547 news.xs4all.nl 2961 [2001:888:2000:d::a6]:35613 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 4614 X-Received-Body-CRC: 1156714847 Xref: csiph.com comp.lang.python:94642 On Sat, 25 Jul 2015 18:34:30 +0200, Laura Creighton wrote: > Gmail eats Python. We just saw this mail back from Sebastian Luque > which says in part: >>>> try: all_your_code_which_is_happy_with_non_scalars except >>>> WhateverErrorPythonGivesYouWhenYouTryThisWithScalars: >>>> whatever_you_want_to_do_when_this_happens > Ow! Gmail is understanding the >>> I stuck in as 'this is from the > python console as a quoting marker and thinks it can reflow that. > I think that splunqe must already have gmail set for plain text or > else even worse mangling must show up. > How do you teach gmail not to reflow what it thinks of as 'other > people's quoted text'? Apologies for all the concern the formatting of the quoted message in my reply has generated. I actually cannot see the multiple ">" you quote here on my original follow-up message. I can tell you I'm using Emacs Gnus, and when viewing my un-processed message, that snippet looks like this: >> try: all_your_code_which_is_happy_with_non_scalars except >> WhateverErrorPythonGivesYouWhenYouTryThisWithScalars: >> whatever_you_want_to_do_when_this_happens Sure, the reflowing is probably a feature I've set up to wrap long lines. I know it annoys some people (mildly myself, as I haven't found a fix), but when reading coding fora, I never really take quoted code snippets seriously and always check the original post for these... -- Seb