Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: narrow-to-region (was Re: This widget implementation feels a bit clunky)
- X-seq: zsh-workers 35825
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: narrow-to-region (was Re: This widget implementation feels a bit clunky)
- Date: Sun, 19 Jul 2015 05:55:14 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1437278115; bh=YbNortPvG2tVZQA6YtAzYF0EWalI+k31ouDG4IAPKnk=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=nmj+airPWl3s5LsEs0sTNQw7zXwmuyVjQdtBTMiNTamHiUnrxAjZmC6B6uGUx0xqv7poirqCWyJ5OpJzDFcR6C1ATmzGcmI8WRKOpScyBCxS21ce5ZtOEwYfw4Bibe2hpt7jl7IdoFXdlfmywtd/k0DSl6Rc1EnGO3Zv9Eo2TLWXDyXqKFONshsO/gJY3cTrsCYy3uBA1C4vZ0p4p9vau7nCn5vIZR68i26rkg6Tccthc3Nm5f0v0BD9RzmXSBXBXXuqVJc0MZMQsU5sGQnfUDl6P2eJJLLb9kZbgS7ucnagJRRjRM1JCmuCp2iJkocdOrydPVNLjUcFNp66VtuPYw==
- In-reply-to: <150718164224.ZM4759@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAHYJk3RYUhLuQEvGWLF5sdAK-g=MpiJwV0x-UrfQ35e3r4dHAg@mail.gmail.com> <150620102144.ZM5618@torch.brasslantern.com> <150718164224.ZM4759@torch.brasslantern.com>
> emulate -L zsh
> setopt extendedglob
These lines (not introduced by Bart's patch) have the effect of
resetting lots of options when inside the recursive-edit. That
affects the behaviour of some things such as completion.
How much of emulate zsh is actually needed by narrow-to-region itself?
Can we get by with just setopt localoptions and a few extras? Or use an
anonymous function around everything but recursive-edit?
It'd also be good for the function to use the new undo limit features.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author