From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Add user customization fido-completion-styles Date: Mon, 01 Jun 2020 01:21:44 +0100 Message-ID: <87imgbmy93.fsf@gmail.com> References: <87r1uzn018.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="110573"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 01 02:22:47 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfYE3-000Sgc-7w for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Jun 2020 02:22:47 +0200 Original-Received: from localhost ([::1]:45274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfYE2-0008No-87 for ged-emacs-devel@m.gmane-mx.org; Sun, 31 May 2020 20:22:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfYD8-0007a9-5z for emacs-devel@gnu.org; Sun, 31 May 2020 20:21:50 -0400 Original-Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:36890) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfYD6-0003XJ-Sj for emacs-devel@gnu.org; Sun, 31 May 2020 20:21:49 -0400 Original-Received: by mail-wm1-x335.google.com with SMTP id f5so9655185wmh.2 for ; Sun, 31 May 2020 17:21:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=PIbSHUk7yQLPZTO8dLlst3IrcyPT55ZYOSDDp6at9Qk=; b=g8dxa6yfkSU/MN32vT3rCCBs1O3dudU20+nvE2IHEmH5M/qS6Q8Cy5TkZJWmWZb64w ulibOgmE/9mpTSPh7xHSvMeFtZxFjF2T92jQQjPOE3gcTVWTwa5AcaBRGBqg/ztcqJm2 PHBHLHibzDkPvGeXrBlw0NuBrK502Fa/f6D4AyrcSSoKT6JdWPJuH+6qgfgKdue3KjCa Zh5fkq0vWJ0FNj8QXBi5oQteJt7J+I5Bb1p2O2CHk3R61mBoiG6utLH/CtCZLkUyTw7O 7Xo50b2YDZCTRTpfY4BuKYCnroGfD4xr7EyM5u+/PLy5itw3551GECv65ZRHZQBjqExg VduA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=PIbSHUk7yQLPZTO8dLlst3IrcyPT55ZYOSDDp6at9Qk=; b=UxKhdT4D6Fo9i+ybdCd7srX7hNLzDBwxpgk49vOMCq/XysVvFoX2t+gmm8a4YRmO64 lHUZ3Ry6ALSx6J27+wshYhOAVIyorZV/WJhJDSVPASy3GEyAsxHACD+0UdUV0suPvC2N UrpGVuoS7AfkqvKdfQkPkqJUukNT5EIkcFqjQtp1OPqRs4l5Mzn6y56KPRhY3toFJvN9 jDaIp2QxtyuGczKcdFw02/N2BnZeCjfv/pBqDkpbAY7WR+c+Jk2FUHU6UChrKzAfa/40 /h7Ir9D0hnMz/nL0dwMPFhzzAF3R6wGEXqWpdl6CD6YLBDjP3uZPqhlxforByj31Pksj fGsw== X-Gm-Message-State: AOAM5323RgMk7ZJ+70UJTKoKH5F5fnhWVVmUnmXjR8QFZfU++/Nxd/qD Ubwkg3gwvWjFKR6cF9yUacg9oLtT7HM= X-Google-Smtp-Source: ABdhPJwLfCinG/5Igfg9aJudcZAevxbdivkuL7wNWuTTd+ZfO9zZKpulFaqWn4DM00K1aop+SMk0xA== X-Received: by 2002:a1c:1904:: with SMTP id 4mr18398292wmz.125.1590970906015; Sun, 31 May 2020 17:21:46 -0700 (PDT) Original-Received: from krug ([89.180.151.241]) by smtp.gmail.com with ESMTPSA id u23sm11202707wmu.20.2020.05.31.17.21.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 17:21:45 -0700 (PDT) In-Reply-To: (Dmitry Gutov's message of "Mon, 1 Jun 2020 02:59:31 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=joaotavora@gmail.com; helo=mail-wm1-x335.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:251704 Archived-At: Dmitry Gutov writes: > On 01.06.2020 02:43, Jo=C3=A3o T=C3=A1vora wrote: >> (add-hook 'icomplete-minibuffer-setup-hook 'my-flex-styles) >> (defun my-flex-styles () (setq-local completion-styles '(initials fle= x))) > I think that's not very obvious, and requires familiarity with how > fido-mode is implemented. I think it requires familiarity with hooks, if anything. The manual is rife with trivial add-hook snippets such as these and I'm going to document it there. As for the "obvious", I'm afraid that's another boring "existential Emacs" discussion. Jo=C3=A3o