From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 755341F466 for ; Mon, 3 Feb 2020 11:45:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726992AbgBCLpu (ORCPT ); Mon, 3 Feb 2020 06:45:50 -0500 Received: from cloud.peff.net ([104.130.231.41]:51208 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726278AbgBCLpu (ORCPT ); Mon, 3 Feb 2020 06:45:50 -0500 Received: (qmail 2146 invoked by uid 109); 3 Feb 2020 11:45:49 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Mon, 03 Feb 2020 11:45:49 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 24149 invoked by uid 111); 3 Feb 2020 11:53:55 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Mon, 03 Feb 2020 06:53:55 -0500 Authentication-Results: peff.net; auth=none Date: Mon, 3 Feb 2020 06:45:49 -0500 From: Jeff King To: Martin =?utf-8?B?w4VncmVu?= Cc: git@vger.kernel.org, Elijah Newren Subject: Re: [PATCH] git-filter-branch.txt: use {caret} for ^ Message-ID: <20200203114549.GA4157558@coredump.intra.peff.net> References: <20200202193319.1966-1-martin.agren@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200202193319.1966-1-martin.agren@gmail.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Sun, Feb 02, 2020 at 08:33:19PM +0100, Martin Ă…gren wrote: > In this paragraph, we have a few instances of the '^' character, which > we give as "\^". This renders well with AsciiDoc ("^"), but Asciidoctor > renders it literally as "\^". Dropping the backslashes renders fine > with Asciidoctor, but not AsciiDoc... Let's use "{caret}" instead, to > avoid these escaping problems. Makes sense. The source is pretty ugly to read both before and after, though. I wonder if using a literal like `5*10^5` would be even nicer. That makes the source pretty readable, and the output would put it in or similar. Which maybe is a little funny, but kind of makes sense to me typographically as a kind of "this is math" style. -Peff