From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id bad94fe8 for ; Wed, 19 Jun 2019 15:10:39 +0000 (UTC) Received: (qmail 18754 invoked by alias); 19 Jun 2019 15:10:34 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44436 Received: (qmail 25290 invoked by uid 1010); 19 Jun 2019 15:10:34 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f42.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25482. spamassassin: 3.4.2. Clear:RC:0(209.85.166.42):SA:0(-2.0/5.0):. Processed in 3.976696 secs); 19 Jun 2019 15:10:34 -0000 X-Envelope-From: roman.perepelitsa@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.42 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6CuK9/ypy76KA88dttpmkws6BV39tIjgfr3mauyA6WA=; b=TmjvaKIkFT5S7iJpujj4DGQtGsChZCndcVJx54MR+2f0WQx52amjOO/rupD37fP68r UUBFzTiMOVGcFv0l+kaW9zvZV8s5biHySCVz4kV9YY5gd2NZPEZj+QkXVH+KmulyKzUD A3ycHFiSVAsWdxqXIZaX4DXNxBXp4kMFmKsIWjiN0PdIFrSHTOCHCD912VPr/td3Q8Jb JlBkH0xc3hYSgMK7yy19MqGNJVRwDw66vxM30RBP9FqOzN0j8jiPacugpFRMgK/vOAex ZukqIHaymZVq63opRZCOR2kaUPMjaG0pUtybc4OoGXel/laHSamhJxDZhj0CTfOox7Uf hS/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6CuK9/ypy76KA88dttpmkws6BV39tIjgfr3mauyA6WA=; b=RZ6FGkjrHoSbnF5BhH1hlHnBdXv4hIfxYCTfqZECoBT9cp/eTdxZNweAFdfG/a8Q85 zFLumht9cYWWlC0N8xw/ANf82JnCOHt4BBNbRmj5icBBmW0FyqiJeaneplsBEqHCx86L fZ3yib9TpHkvbX9/lertO8W4UlG0JPC0Sz9Ley+PmyHUl0xU5RLR6piTMVp7SSt3020l e3LdHPmeo8AXf92IhEEZA4BWivEsx9A8TE3UTvSzLnZ+miWJjpa89j2aMC0P5jLsDd72 nosEKoww7OXLjlSpROeX7m+BXrajF5h2odRhf9XhDjmAsWpxaB+0WQiNqMMrNQJZkMv7 tpwg== X-Gm-Message-State: APjAAAVLYcV+A94Oz4lKLO2bk/jbTOweJPWAcYJtxic7+UmKM1lGgJK2 r5iSKOqwf32Ryn5qSYg/J/qXodwbyl2AZJwn8WE= X-Google-Smtp-Source: APXvYqyQqekvhmxsqjUQhM1iel0NIYtgH+q4Um2KtUZ1MQlhZ6GsSMiL5mHIM5AeP9m1noQms9kv0Sp67TF6ChSdngM= X-Received: by 2002:a5e:9241:: with SMTP id z1mr26286178iop.39.1560956997269; Wed, 19 Jun 2019 08:09:57 -0700 (PDT) MIME-Version: 1.0 References: <1560941762.23478.2.camel@samsung.com> In-Reply-To: From: Roman Perepelitsa Date: Wed, 19 Jun 2019 17:09:46 +0200 Message-ID: Subject: Re: PATCH: several bug fixes in countprompt To: Bart Schaefer Cc: Peter Stephenson , Zsh hackers list Content-Type: text/plain; charset="UTF-8" On Wed, Jun 19, 2019 at 4:58 PM Bart Schaefer wrote: > Sounds as though we should either: > -- document that using a tab character in your prompt is not advisable, or > -- always convert tabs to spaces before emitting the prompt I like both of these. That is, really do both. Right now, in addition to making unjustified assumptions about how tabs overflow, ZSH also assumes that tab stops are set every 8 columns (this is usually true but not always). RPROMPT breaks when it includes tabs, too. Roman.