From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Wasserstein Newsgroups: gmane.emacs.help Subject: Re: Disabling Eldoc by default Date: Tue, 8 Jul 2014 11:28:39 -0400 Message-ID: References: <87bnszri8b.fsf@mailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1404833366 15843 80.91.229.3 (8 Jul 2014 15:29:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jul 2014 15:29:26 +0000 (UTC) To: Josh Wasserstein , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 08 17:29:20 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X4XKW-00015I-Tu for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jul 2014 17:29:17 +0200 Original-Received: from localhost ([::1]:56249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4XKW-0001Ra-I3 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jul 2014 11:29:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4XKI-0001RF-Cb for help-gnu-emacs@gnu.org; Tue, 08 Jul 2014 11:29:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4XKG-0006U6-K4 for help-gnu-emacs@gnu.org; Tue, 08 Jul 2014 11:29:02 -0400 Original-Received: from mail-qa0-x232.google.com ([2607:f8b0:400d:c00::232]:46823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4XKG-0006U2-E0 for help-gnu-emacs@gnu.org; Tue, 08 Jul 2014 11:29:00 -0400 Original-Received: by mail-qa0-f50.google.com with SMTP id m5so4959753qaj.23 for ; Tue, 08 Jul 2014 08:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=TbWmDOXS2NGYD8y8/TAA8ShQqJNd/WF5DsFBvhXAq0A=; b=kFtUQq60ohv2aqU1WOriqBl8EPDT21IL7q6z7lKmtnAa1LMr7jr05lBAo/oRJ7li3V lJJ1WWlbOO10ARlljHwdN7I04RkFMAxqbOupLpuQdZhiEhuziZZ8p8HaT0xQlS5yGs1M VK0kaw2fGJMEz55rB2P7qJQZfwC6P2n3JFe8Q+cZ4VXeXjdv/P4fEynFOq5UPtAPrmrd lObPVePhJ+IKzyBEN2niYkRfifO63TG7BxyjvDzR8y2F7GeaIB3Jgyok8rzNUAzJjt9c DY9mnwrorkbYH/0KOBX+osiskPTTY4XtDpRMbYJ4Tji9kQJPN0/HBcMRXt2Mmui30GHr mIhg== X-Received: by 10.224.169.20 with SMTP id w20mr62853764qay.2.1404833339980; Tue, 08 Jul 2014 08:28:59 -0700 (PDT) Original-Received: by 10.140.97.198 with HTTP; Tue, 8 Jul 2014 08:28:39 -0700 (PDT) In-Reply-To: <87bnszri8b.fsf@mailbox.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::232 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98585 Archived-At: Thanks Alexander. That was helpful. I have tried restarting Emacs a few times, and I know for sure there aren't any direct references to Eldoc or Elpy (which I uninstalled) in my .emacs file. My current python-mode hook has the following value (my-python-mode-hook is the only function I defined manually and only includes (linum-mode 1)). ===================== Value: (jedi:setup (lambda nil (setq ffap-alist (remove '(python-mode . py-ffap-module-path) ffap-alist)) (setq ffap-alist (remove '(python-mode . py-module-path) ffap-alist)) (setq ffap-alist (remove '(inferior-python-mode . py-ffap-module-path) ffap-alist))) #[nil " \304\302!\210\305 \304\303!\210\306\211 \207" [py-indent-tabs-mode indent-tabs-mode beginning-of-defun-function end-of-defun-function make-local-variable py-beginning-of-def-or-class py-end-of-def-or-class] 2] py-set-ffap-form my-python-mode-hook) Original value was nil ===================== Josh On Tue, Jul 8, 2014 at 11:19 AM, Alexander Baier < alexander.baier@mailbox.org> wrote: > On 2014-07-08 16:30 Josh Wasserstein wrote: > > [...] > > > install and later uninstall elpy > > . > > > > How can I disable Eldoc by default on all my buffers? > > Just a shot in the dark: Is it possible that elpy added the activation > of eldoc to the python-mode-hook? I think merely uninstalling it will > not removed said hook. You will probably have to restart emacs or edit > the python-mode-hook variable by hand. > > HTH, > -- > Alexander Baier >