unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Josh Wasserstein <ribonucleico@gmail.com>
To: Josh Wasserstein <ribonucleico@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: Disabling Eldoc by default
Date: Tue, 8 Jul 2014 11:28:39 -0400	[thread overview]
Message-ID: <CAD4ivxV2kk2xK-Tuu3Tb2QkeWY0fpHjtdMBCCZPgWCS6kjuipA@mail.gmail.com> (raw)
In-Reply-To: <87bnszri8b.fsf@mailbox.org>

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
> > <https://github.com/jorgenschaefer/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
>


  reply	other threads:[~2014-07-08 15:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-08 14:30 Disabling Eldoc by default Josh Wasserstein
2014-07-08 15:19 ` Alexander Baier
2014-07-08 15:28   ` Josh Wasserstein [this message]
2014-07-09 13:52     ` Alexander Baier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD4ivxV2kk2xK-Tuu3Tb2QkeWY0fpHjtdMBCCZPgWCS6kjuipA@mail.gmail.com \
    --to=ribonucleico@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).