From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-users-return-23663-ml=inbox.vuxu.org@zsh.org 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,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 13e41e6e for ; Thu, 20 Sep 2018 16:06:02 +0000 (UTC) Received: (qmail 18992 invoked by alias); 20 Sep 2018 16:05:47 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23663 Received: (qmail 4873 invoked by uid 1010); 20 Sep 2018 16:05:47 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.25):SA:0(-2.6/5.0):. Processed in 6.805832 secs); 20 Sep 2018 16:05:47 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=YK1o7o ZVJ4wv72ipSGmi9lS4zbP1ovkR3T/ciTrIXgI=; b=YP3RYSogCKQaGtN4uU0lVz N698PORwSRl6StUvIsZgceo2gPmKZzSV08mXQNBnZiXD2hQYkxNwFnMVo3fTsRry 4+9xvjhTg2Ytt1z0QhIjckPyCQy2Dv2uVOoBTYaDTJ6oYz8Q4EvbejNE26m5jswR myGqdbfJBDnrmhu4oX2lOxA01JuMFRoU5tRZk1+V6jswkW2NaFfvAFahhMombel8 HvfbMwMnXjS15WGftvUoTlIEqqgVBQLDc3Ofiy2qIgC1G8I2td5gpXHSpzkvNtYC 1NtMRhginxkrxeCkY+xmINUKDViq1GCnQh9eU14ZwT9p4JiNovuw0Ot1N8LeJxYw == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=YK1o7o ZVJ4wv72ipSGmi9lS4zbP1ovkR3T/ciTrIXgI=; b=owiBYaW1uyj+autNb/ESDO rXLprme9AjncFqSiAH0BBx/gSdPI5Xb7ac/nZB2Vr8CJW9CYZwzM14xW4Qp2+Dys /Jwh7srL74kKSju1mpAUZ2GVs5Lvi9HIOEU7MWaJBST8ypFil1jn3FE7hLK58Ms6 HdE8vv1lR7QGXXwnTWwP0ZV6IgJqt+O/V2Pcrp84/t3n+Z4rKkJlncEXGf7oGj3G J0T3+w/4CTEEtD3dOP7y7ZCxVGoxRmh7XLPqnKjBnnUam5mSBWDSM0cjIkcuWXd7 hRi48TwmKFuQ89ZXsrDwyucqRa7tTgzmeGJJ9YCWo8jPTBWN5JZ1kNqN+l//0Saw == X-ME-Proxy: X-ME-Sender: Date: Thu, 20 Sep 2018 16:05:35 +0000 From: Daniel Shahaf To: zsh-users@zsh.org Subject: Re: multibyte implementation (for filename completion with umlauts) Message-ID: <20180920160535.oiflfeb6zxckhfte@tarpaulin.shahaf.local2> References: <20180920101403.unp6epfpqllzzqov@spiegl.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180920101403.unp6epfpqllzzqov@spiegl.de> User-Agent: NeoMutt/20170113 (1.7.2) Andy Spiegl wrote on Thu, Sep 20, 2018 at 12:14:03 +0200: > Actually, all I'd like to achieve is case insensitivity for umlauts like that: > zstyle ':completion:*' matcher-list 'm:{A-ZÄÖÜa-zäöü}={a-zäöüA-ZÄÖÜ} I don't have a fix for you, but . zstyle \* matcher-list 'm:{A-Za-z}={a-zA-Z} m:ae=Ä' . works for me for completing «fooae» to «FOOÄBAR». It doesn't work if I use «ä» instead of «ae». Therefore, how about writing a widget that does s/ẍ/xe/ (for x in a,o,u,A,O,U) before attempting completion. Would that be a workaround? Cheers, Daniel