[ESS] Help pops up in web browser
Naresh Gurbuxani
n@re@h_gurbux@n| @end|ng |rom hotm@||@com
Sat Feb 22 21:54:06 CET 2020
Dirk,
My problem is that I do not use auto-complete. I use company only. Below are relevant sections from my init.el file. What changes can be made here to avoid this annoying behavior?
Thanks,
Naresh
;; ESS for R
(use-package ess
:ensure t
:defer t
:config
(setq-default inferior-R-program-name "c:/Progra~1/R/R-3.6.1/bin/x64/Rterm.exe")
(setq org-babel-R-command "c:/Progra~1/R/R-3.6.1/bin/x64/R --slave --no-save")
(setq inferior-ess-r-help-command "help(\"%s\", help_type=\"text\")\n")
(load "ess-autoloads")
(require 'ess-r-mode)
(require 'ess-site)
(define-key ess-r-mode-map "_" #'ess-insert-assign)
(define-key inferior-ess-r-mode-map "_" #'ess-insert-assign))
;; company mode set up
(use-package company
:ensure t
:config
(add-hook 'after-init-hook 'global-company-mode)
(setq company-frontends '(company-pseudo-tooltip-frontend
company-echo-metadata-frontend)))
;; company-quickhelp set up
(use-package company-quickhelp
:ensure t
:init
(company-quickhelp-mode 1))
From: Dirk Eddelbuettel <edd using debian.org>
Sent: Saturday, February 22, 2020 8:34 AM
To: Naresh Gurbuxani <naresh_gurbuxani using hotmail.com>
Cc: Julian M. Burgos <julian.burgos using hafogvatn.is>; ess-help using r-project.org <ess-help using r-project.org>
Subject: Re: [ESS] Help pops up in web browser
On 22 February 2020 at 11:22, Naresh Gurbuxani via ESS-help wrote:
| But the first problem remains. When I type and incomplete command (e.g., "libr"), emacs displays the entire documentation of "library" in inferior ESS window. So emacs still opens the help file, not in browser but in inferior ESS window.
I had the same problem, and asked here. See the long-ish thread at
https://stat.ethz.ch/pipermail/ess-help/2020-February/thread.html
The list was most helpful (as well as a few private messages, thank you
all!). It is indeed an interaction between modes, so I now turned off the
older auto-complete mode:
;; edd 2020-02-10 possible interaction with ESS
;(require 'auto-complete-config)
;(ac-config-default)
I kept other uses of company, irony, ... as set as I actually like them and
the fact that I get a pretty consistent Emacs experience across languages and
buffers.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the ESS-help
mailing list