From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6344 invoked by alias); 1 Jun 2014 06:15:33 -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: 32646 Received: (qmail 3210 invoked from network); 1 Jun 2014 06:15:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thedavisons.net; h= mime-version:in-reply-to:references:from:date:message-id:subject :to:cc:content-type; s=thedavisons.net; bh=7PLvR55VMLpdDO2hRThsH SRWfW8=; b=byDI7yMOAgeg1ztW7CNdsE3YVPMuK3reJLjIGpYCGGYMvNmcPAlEA nb44qX1uTkoiJE9kBlAKmxbehWWUHlKjitW4HZV80jLWLtgzC6VKTQgYbVecvTa2 UUg3B+rppiq+1x9tfAovBAb0Vv2R8SMdLhvxX14b0+GgXh66cc7uHA= X-Received: by 10.52.74.196 with SMTP id w4mr19634624vdv.19.1401602749400; Sat, 31 May 2014 23:05:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <87d2eu5mmg.fsf@ft.bewatermyfriend.org> References: <20140531074936.GA9011@valiant.palfrader.org> <87d2eu5mmg.fsf@ft.bewatermyfriend.org> From: Wayne Davison Date: Sat, 31 May 2014 23:05:28 -0700 Message-ID: Subject: Re: Bug#749969: history no longer syncs immediately, INC_APPEND_HISTORY broken To: Frank Terbeck Cc: Zsh list , 749969-forwarded@bugs.debian.org, Peter Palfrader , Han Pingtian Content-Type: multipart/alternative; boundary=20cf3071ce58febbfe04fac011fd --20cf3071ce58febbfe04fac011fd Content-Type: text/plain; charset=UTF-8 On Sat, May 31, 2014 at 2:21 AM, Frank Terbeck wrote: > I think to enable both ways to be possible, there should be two options: > INC_APPEND_HISTORY that enables the original behaviour and (if the name > is agreeable) DELAY_INC_APPEND_HISTORY, that amends the behaviour of the > original option in the way that is reflected by the current behaviour. > You should just be able to setopt SHARE_HISTORY to have zsh always append the entry early. Of course, that also has the effect of the shell importing the shared history from other shells, so it's nice to have things like up/down arrow set to only browse local history (while things like search look in the shared history). There was a fairly recent discussion of up-line-or-local-history() functions and a discussion of making everything local except for isearch functions. ..wayne.. --20cf3071ce58febbfe04fac011fd--