From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: wael-zwaiter@gmx.com Newsgroups: gmane.emacs.help Subject: Re: Lisp error when using M-x Date: Sun, 10 Jan 2021 22:10:19 +0100 Message-ID: References: <87r1mswm0x.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9582"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 10 22:11:26 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1kyhzh-0002Pn-Uc for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 22:11:25 +0100 Original-Received: from localhost ([::1]:44220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyhzg-0005yz-P8 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 16:11:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyhyk-0005y5-86 for help-gnu-emacs@gnu.org; Sun, 10 Jan 2021 16:10:26 -0500 Original-Received: from mout-xforward.gmx.net ([82.165.159.14]:55141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyhyh-0000CX-BM for help-gnu-emacs@gnu.org; Sun, 10 Jan 2021 16:10:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610313019; bh=Fmcf7WmsdKMreq1TxhCtZbJLCP0uTwSBcfn0Pbyq660=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=YkAIe4EdKEr7+ocA2uRKjlRo3j5yUVl5D3KHR5TOevxlVNLzV3agzfiHoS7wN9rWY 6dx+cpq9+SIlv3/yNlmP5pxaEKscOnHL4Mq2mA//glgg4p0MSVrOLezD+QK14f3sq5 YMntl8cYqifi84tdysk4bEyNy/WRpMGLbqvtSQB4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [185.244.212.219] ([185.244.212.219]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Sun, 10 Jan 2021 22:10:19 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:IED5upjWwK9VfzjaSoHDr7OxYara28yAH538jYqVfgYiL0PFzsV/o2DOjU7utu9E+lQtd KKMhC7hEqW+JVRpqWUECuiVfS1pMbxTJi6fjleEQJVaPImvURDwTPed6Tx6zwYC/Dbft/LtLnT7F wOCF5Hz9UVP3K7BIlFS2f17EKh+irHm/fAIvhdi8Is73qzVRBF9e66GMlqfLit3P77+iqO/Zh75B dfCFfEx02M2t2cx3N4Zt0wfTb24C1Bh9qH9yBe58RglepYjwh0PtzhVNyLwr4LPR70Veomr7XU3P Xs= X-UI-Out-Filterresults: junk:10;V03:K0:wcYuQFDgTyI=:kBc2gi6KoIaQuG58+SE309n2 ARjAOnlJBND4SuOIQoY0GroUwBRAgrUT46sgdeCE6jEWfaFJTl2eHlzzjeo7uyaqKngN0N1Z9 tn8nUknI7wbVXMr4N0mhj4Owdm+u8+Uhroq4lBVsJsLzpNoxjIO+cPtAVWrx/MxH794RAU4bC 85IweiEPxjbQzFIM9Qdnp4fmgT5vm1EhSLSIIUtfc7CQVy0tKXS1xsSI+XJpXZl6AxlC2Quy7 mi9wF79CV246g7GMgJBL08qVc2ycK5QTtpxwbUWa6mSK3/kaauQDzTdXFzy6sR9vfinkrSPEL JGfVEV6++RqHofZf2/x25+BIpMnBBPm8kTz5J7371Da3Z1JI5m63LOisRpV26miMtri/hrMYA lHdGL2NmaQPsY2F8gn6eRZ2TfGLVN0zAQYx62lcRqfgOXjErHXl2UPXOoy7iI7PDXQkj2HJht Yece0EXkhLnADlr3VhYeEwPz54X/pfF3ygtumYzsn4+KPPMJPncMn8z8NYZCMUwtj1fTOacc5 vBWGS46NzeEf4n8jeHfbguXnp1uF6Wx0jcXpe2Plq8mv6rAFko27ukuFh3uHJAX2sAPxo/LL/ ku+eHdjo9F0B/TSctFQr8fJItAr33dOp0PMf4fTHsleA9UB3APz/pQ== Received-SPF: pass client-ip=82.165.159.14; envelope-from=wael-zwaiter@gmx.com; helo=mout-xforward.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127167 Archived-At: > Sent: Monday, January 11, 2021 at 9:03 AM > From: "Stefan Monnier" > To: help-gnu-emacs@gnu.org > Subject: Re: Lisp error when using M-x > > >> The problem occurs with ivy as follows. How is best to have the keyb= indings? > >> > >> (require 'ivy) > >> (ivy-mode 1) > > How did you install `ivy`? The normal installation via `package.el` > should make the above `require` unnecessary. I am using ivy from source. > >> (setq ivy-use-virtual-buffers t) > >> (setq ivy-count-format "(%d/%d) ") > >> > >> (global-set-key (kbd "C-s") 'swiper-isearch) > >> (global-set-key (kbd "M-x") 'counsel-M-x) > > > > Probably you need a (require 'counsel) and a (require 'swiper) as well > > before those two lines. > > But shouldn't those packages's autoloads take care of that already? If you say so > Stefan > > >