From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.help Subject: Re: Test Alternative initialize scheme Date: Tue, 10 Apr 2018 01:24:39 +0300 Message-ID: References: <20180404231211.GB31955@mail.akwebsoft.com> <86zi2g2lzp.fsf@zoho.com> <86muygyp84.fsf@zoho.com> <86woxi8oco.fsf@zoho.com> <86r2nprbxx.fsf@zoho.com> <86o9isp5sh.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1523312590 31622 195.159.176.226 (9 Apr 2018 22:23:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 9 Apr 2018 22:23:10 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 To: Emanuel Berg , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 10 00:23:05 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f5fBp-00089z-Ef for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2018 00:23:05 +0200 Original-Received: from localhost ([::1]:43502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5fDv-0004c4-7E for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Apr 2018 18:25:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5fDS-0004Zc-Bp for help-gnu-emacs@gnu.org; Mon, 09 Apr 2018 18:24:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5fDR-00012r-Kg for help-gnu-emacs@gnu.org; Mon, 09 Apr 2018 18:24:46 -0400 Original-Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:41687) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5fDR-00011U-CD for help-gnu-emacs@gnu.org; Mon, 09 Apr 2018 18:24:45 -0400 Original-Received: by mail-lf0-x22e.google.com with SMTP id o102-v6so8828904lfg.8 for ; Mon, 09 Apr 2018 15:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=jDlghTC9VscrQXJinuYT14M6qHDW0mR2fWXEzLqVFac=; b=mvth6AUi6drLGAPgAHgdvl3RpDD837VxeHvYT4xzxrzle4CsrKzcnjCU1Cgen0uyoe 7BmXIPN95A7dKUmDJR7FK6DueJed6uwd9vKygD3Hq/BnWAjmPFaRQRN6e14BJqqUcSCO HSKcC/2GL6Gtg8Kzb+PNkzcj3SZ0EA214DWi7tra1Vyb3ugAEfIHw6TReQ79Sjf3FmA9 2O1D0qQsNMU0aoM7nm/YeHJvNW/r5EF+1MHE6eXErhDRQYm7RXMzVzHMznTV7q78Vu1p ZhZJJeJtm15mCSYOcbLVN1Uw/z1Epi5YGwBo8ZXzPeJHHqe0rlmW+BNpVuvkp3uHE+3d KRKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=jDlghTC9VscrQXJinuYT14M6qHDW0mR2fWXEzLqVFac=; b=KC/AAtr7FpFkRKS5lg9K6NoFq2BS0eVUp3ruxJIEtywOEt1J09j/ookTrwmLVODTpj HQXtNDTu4Cl404xcgjs3hKG3rrYniCwC0cECl+77fA+KwW6MDNMjjyfEvO5B8D0kdume xoIatH07T/7ipwdPALf3RW7fca/OyYKb5/V7NkW4RkV5KTCN49zI/27E0G6ZvF1bX0gI O+JrIYWU2qeo74oEsA9wcu8P+HUtZljlo11WFpBWbOOe7UZl8oMXQo9gnluR46OSieFH VDM+j5DruGDC17Jw6VGKh6BgOq/Izv96ZX6nOr6G+ZlPrNizO/Dn5fwDhQY5s1CIogYj V0xA== X-Gm-Message-State: ALQs6tDUasqeEQz/NiESxvqR2/8r8f0hO09H3E4sQ7kfQvt55Gampqs7 6CRBEMbm2O9mjYEMt93lCuuiig== X-Google-Smtp-Source: AIpwx48oJlDt1GufSlm2YW5GsZxeJqlV6zdsgY71FCCaM3DDFX549+94LN3PtjWaV2DSLHMIVXhrBQ== X-Received: by 10.46.135.6 with SMTP id m6mr385546lji.124.1523312683811; Mon, 09 Apr 2018 15:24:43 -0700 (PDT) Original-Received: from ?IPv6:2a02:2168:2634:7100:35eb:f73c:8871:3b55? ([2a02:2168:2634:7100:35eb:f73c:8871:3b55]) by smtp.gmail.com with ESMTPSA id h66-v6sm269041lfi.89.2018.04.09.15.24.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Apr 2018 15:24:42 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev In-Reply-To: <86o9isp5sh.fsf@zoho.com> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116431 Archived-At: You're missing the point. Ivy is not hard-coded in any way. It's just that its default settings are set up for vanilla Emacs keybindings. E. g. previous-candidate in Ivy is "C-p". But if we're using Evil we want "k" to be that key(while respecting the mode). With ergoemacs-mode we would expect "M-i". I don't think that we should expect any package developer to provide defaults for all available keyboard layout packages. To continue the whole "things that would help, but are unlikely to be implemented" thing, I think Emacs would have benefited from ability to remap keybindings in a similar fashion to commands. So in the previous example I could do something like (remap "C-p" "M-i") and then in Ivy (define-key keymap "C-p" 'previous) would automatically do (define-key keymap "M-i" 'previous) instead. This would have made layout customization much more pleasant. -- Best Regards, Nikolay Kudryavtsev