Bug#980538: elpa-company should recommend clang
David Bremner writes: > Gard Spreemann writes: > >> David Bremner writes: >> >>> Can you try with a more minimal init file? I don't have clang installed, >>> and I don't see that failure. > >> Note that I see the error when starting company-mode in a buffer that's >> in c++-mode. If the buffer is in for example fundamental-mode, I can >> start company-mode without problems. > > Ah, that makes sense. I can duplicate that. > > Clang is pretty heavyweight for a recommends. For me it was going to > install another 300+ MB of disk space. That would be OK if most people > were installing company for C++ development, but I guess that's not > really the case. > > We could certainly add a suggests (for what little that is worth) or > perhaps disable company-clang by default. That sounds very reasonable. At least that'll be a hint to a user experiencing the error message. Thanks. -- Gard
Bug#980538: elpa-company should recommend clang
Gard Spreemann writes: > David Bremner writes: > >> Can you try with a more minimal init file? I don't have clang installed, >> and I don't see that failure. > Note that I see the error when starting company-mode in a buffer that's > in c++-mode. If the buffer is in for example fundamental-mode, I can > start company-mode without problems. Ah, that makes sense. I can duplicate that. Clang is pretty heavyweight for a recommends. For me it was going to install another 300+ MB of disk space. That would be OK if most people were installing company for C++ development, but I guess that's not really the case. We could certainly add a suggests (for what little that is worth) or perhaps disable company-clang by default. d
Bug#980538: elpa-company should recommend clang
David Bremner writes: > Can you try with a more minimal init file? I don't have clang installed, > and I don't see that failure. I'm seeing the same error on a different machine with default emacs settings, where I freshly installed emacs and elpa-company, and where the ~/.emacs file is empty. Note that I see the error when starting company-mode in a buffer that's in c++-mode. If the buffer is in for example fundamental-mode, I can start company-mode without problems. -- Gard
Bug#980538: elpa-company should recommend clang
Gard Spreemann writes: > > If elpa-company is installed on a system where clang is not available, > starting company-mode fails with > > Company backend ’company-clang’ could not be initialized: > Company found no clang executable > > I believe it would be helpful if the package would recommend the clang > package. Can you try with a more minimal init file? I don't have clang installed, and I don't see that failure. d
Bug#980538: elpa-company should recommend clang
Package: elpa-company Version: 0.9.13-1 Severity: normal Dear Maintainer, If elpa-company is installed on a system where clang is not available, starting company-mode fails with Company backend ’company-clang’ could not be initialized: Company found no clang executable I believe it would be helpful if the package would recommend the clang package. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-1-amd64 (SMP w/6 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages elpa-company depends on: ii dh-elpa-helper 2.0.6 ii emacsen-common 3.0.4 elpa-company recommends no packages. elpa-company suggests no packages. -- no debconf information