From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15761 invoked by alias); 19 May 2011 05:47:42 -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: X-Seq: 29318 Received: (qmail 14681 invoked from network); 19 May 2011 05:47:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 18 May 2011 22:47:25 -0700 Message-ID: Subject: Re: tab inserts literal tab instead of completing at beginning of line From: Bart Schaefer To: Zsh hackers list Content-Type: text/plain; charset=ISO-8859-1 On Wed, May 18, 2011 at 3:37 PM, Mikael Magnusson wrote: > > Yes, this actually happened to me. If I were to find where this > special tab-insert-at-start-of-line handling is, could I disable it, > or do I need to add an option? See the doc for the insert-tab zstyle. > There's always ctrl-v tab, and why do > you want to write literal tabs at the start of the line anyway; to > paste random indented scriptlets? Generally speaking, yes. > If that's why, maybe I can make the > thing check if the line is empty instead of $cursor==0? Or try the "pending" setting of the style. If testing for pending input were more reliable, we might make that the default instead of "true".