all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Disabling Eldoc by default
@ 2014-07-08 14:30 Josh Wasserstein
  2014-07-08 15:19 ` Alexander Baier
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Wasserstein @ 2014-07-08 14:30 UTC (permalink / raw)
  To: help-gnu-emacs

Not sure why, but all off a sudden my Python buffers now have Eldoc mode
enabled by default. I didn't change anything in my .emacs file. All I did
was install Emacs nightly from yesterday (July 7, 2014) and install and
later uninstall elpy <https://github.com/jorgenschaefer/elpy>.

How can I disable Eldoc by default on all my buffers?

I could not find instructions for this on the EmacsWiki
<http://www.emacswiki.org/emacs/ElDoc> nor the package documentation,
although perhaps I am missing something here.

Thanks,

Josh


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Disabling Eldoc by default
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Baier @ 2014-07-08 15:19 UTC (permalink / raw)
  To: Josh Wasserstein; +Cc: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Disabling Eldoc by default
  2014-07-08 15:19 ` Alexander Baier
@ 2014-07-08 15:28   ` Josh Wasserstein
  2014-07-09 13:52     ` Alexander Baier
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Wasserstein @ 2014-07-08 15:28 UTC (permalink / raw)
  To: Josh Wasserstein, help-gnu-emacs

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
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Disabling Eldoc by default
  2014-07-08 15:28   ` Josh Wasserstein
@ 2014-07-09 13:52     ` Alexander Baier
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Baier @ 2014-07-09 13:52 UTC (permalink / raw)
  To: Josh Wasserstein; +Cc: help-gnu-emacs

Hi Josh,

I never did any python development in Emacs and thus I am not familiar
with any environments or configurations concerning this.

On 2014-07-08 17:28 Josh Wasserstein wrote:
> 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
          ^^^^^^^^^^

Maybe jedi (this is some kind of IDE-like functionality for python,
right?) activates eldoc?

Regards,
-- 
Alexander Baier



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-09 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-07-09 13:52     ` Alexander Baier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.