GNU bug report logs - #48775
Making company mode with completion from opened files

Previous Next

Package: emacs;

Reported by: ludvig-faddeev <at> gmx.com

Date: Tue, 1 Jun 2021 11:02:01 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 48775 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: ludvig-faddeev <at> gmx.com, 48775 <at> debbugs.gnu.org
Subject: Re: bug#48775: Making company mode with completion from opened files
Date: Tue, 1 Jun 2021 23:42:30 +0300
On 01.06.2021 14:01, ludvig-faddeev <at> gmx.com wrote:
> Am currently working on a fortran project with company mode for completion.
> Although I get emacs specific commands, I would like to get completion on words
> for opened files.

Sounds like you're looking for the backend `company-dabbrev-code`.

You can see which backend is used in a given buffer (at the current 
position) with 'M-x company-diag'.

You can change the backend priorities by customizing `company-backends`.




This bug report was last modified 4 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.