delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/13/16:16:56

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=UNA+rbDn5YNooEvp
CQcCS0Gw9Ghzh02fwCc8AH+PxSL5ncOsLCtpOU0N1ADDT8zEZLOj8WtDwOUy5qq+
cx+QFFfbupcTdMyLW9RQ3fbvvVIR2RGFt3GkAkWvNX/20DgA4A+NvlTAjkXPE9dJ
mmw44qQZOIIB/ZIzSMUHY+n+OzM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=zfEO8XqaEGoEIXLZqsT43e
EFq/c=; b=CtANuxkTtyPlmRfLDtMNdnKxsx0UfVNZEC34wS+nn6I+9pwURobAQk
jQF1DcWB1604sFZvyX1SMRbwgTzQhoiU8YADzfJWVq+SJcULMaWvrSDvsnh37DQH
oqMB3FoBiq1aZivK7I2uP1zbsu2PlFFOQeO1f2jRxnxaZJmYPsMEs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=videos, intercept, libre, H*Ad:D*ca
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: [ANNOUNCEMENT] Updated: mintty 2.9.4
To: cygwin AT cygwin DOT com
References: <announce DOT c595f006-ca8c-1a8a-25ac-8c9a6564ad20 AT towo DOT net> <1878070607 DOT 20181113005032 AT yandex DOT ru> <559c8b3d-af18-626a-c2bb-14d546d288ac AT towo DOT net> <87o9asesn8 DOT fsf AT Rainer DOT invalid>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <46aabb4b-8620-9a6b-d304-c9b7d0ae5845@SystematicSw.ab.ca>
Date: Tue, 13 Nov 2018 14:16:40 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
MIME-Version: 1.0
In-Reply-To: <87o9asesn8.fsf@Rainer.invalid>
X-IsSubscribed: yes

On 2018-11-13 11:31, Achim Gratz wrote:
> Thomas Wolff writes:
>> OK, it shall be made configurable. But please describe in which ways
>> workflows are broken and how / in which application HTML tables (HTML
>> source?) would appear.
> 
> I commonly paste things from MinTTY into our Wiki editor (in the
> browser), which choses the advertised HTML as the "obviously better" and
> then screws up royally since for whatever unfathomable reason it gets
> the text wrapped in an HTML table.  I'd have to switch to source view to
> erase the markup I didn't even want in the first place.  So at the
> moment I paste into Emacs (which uses the text selection), re-select it
> there and then paste it back into the Wiki as text.
> 
> Whatever you'd think of "rich text conveyed as HTML", a HTML table is
> certainly not the right thing to use in any case.  HTML actually is an
> anathema for visual formatting if the goal was to have the pasted stuff
> look like it did in the terminal window.
> 
>> Of course plain text clipboard format is still supplied (multiple
>> formats can be copied to the Windows clipboard at the same time,
>> otherwise I wouldn't have enabled this by default), and the assumption
>> was that an application pasting plain text from the Windows clipboard
>> would still retrieve that.
> 
> There are many applications that simply don't give you the option to
> chose from such multi-typed selections (which makes it even more
> important that the application capable of producing them can be
> configured).  In fact, the only ones I know of are MS Office and then
> they don't always give you that choice in an unobtrusive or convenient
> way and sometimes not at all depending on context.

If you insist on pasting HTML, please enclose each clip in <pre> preformatted
text tags, with symbolic character entities for &, <, >, and numeric character
entities for non-ASCII UTF-8 characters, output enclosed in <samp> sample output
tags, input enclosed in <kbd> keyboard input tags, <strong> and <style> tags for
font and colour effects.

Using <table> and related tags is unlikely to produce the expected results in
any paste target (e.g. Android, Google, iOS, Libre, MS, Open, OSX Office) app or
browser.

If would be great if you could intercept all screenshot attempts and generate
HTML instead, as most screenshot pastes (or worse, videos) show huge windows
with little useful content in tiny unreadable fonts, and little context to
explain relevant content e.g. on github mintty project issues ;^>

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019