[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
complete from words in all opened buffers, not just code parts.
From: |
martin-kemp |
Subject: |
complete from words in all opened buffers, not just code parts. |
Date: |
Wed, 9 Jun 2021 20:29:32 +0200 (CEST) |
Have set up things as follows ta allow completion from code buffers,
everywhere, ignoring letter case,
and using all opened buffers.
(setq company-dabbrev-code-everywhere t)
(setq company-dabbrev-code-ignore-case)
(setq company-dabbrev-code-other-buffers t)
I also want to complete from texinfo (.texi) files. Last time you had
mentioned
(setq company-backends '(company-dabbrev-code company-dabbrev))
There are a loads of options and getting hesitant to what to keep and which
ones to discard.
From: Dmitry Gutov <dgutov@yandex.ru>
To: martin-kemp@brusseler.com;
help-gnu-emacs@gnu.org
Subject: Re: complete from words in all opened buffers, not just code parts.
Date: 09/06/2021 18:51:46 Europe/Paris
On 09.06.2021 19:47, martin-kemp@brusseler.com wrote:
> But, in programming languages I cannot complete from all buffers including
> from comments in
>
> opened code files.
Try
(setq company-dabbrev-code-everywhere t)
In general, you can view the available options across the package using
'M-x customize-group company'.