Open bclaudel opened 8 years ago
I noticed in the command line: /bin/csh -c /home/beclaude/.emacs.d/irony/bin/irony-server -i 2> ...
Hence, this bug is due to the inconsistency of stderr redirection between tcsh and bash.
Using bash instead of tcsh everything works fine.
that's right I think someone got a similar issue once on FreeBSD
My work-around for this is the following. Perhaps shell-file-name should be set (relying on dynamic binding) within irony code.
(defun my--advice-irony-start-process (orig-func &rest args)
(let ((shell-file-name "/bin/sh"))
(apply orig-func args)))
(advice-add 'irony--start-server-process :around 'my--advice-irony-start-process)
Hi,
I am a happy user of the irony-mode on Mac OS X, but I did not succeed to make it work on my Linux.
I am using emacs-24.5.1, clang-3.8.0 and irony-mode from MELPA (20160317.1527). Emacs seems able to start the irony-server, send it commands but unable to receive the answers (or to parse the log file).
Starting emacs in this simple example:
starts the irony-server:
Trying to complete b. (L8) gives the following log (server side):
which seems ok. But emacs displays anything.
Displaying the content of the variable irony-completion--candidates right after gives nothing:
Thanks for your help.