unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: martin-kemp@brusseler.com
To: help-gnu-emacs@gnu.org
Subject: complete from words in all opened buffers, not just code parts.
Date: Wed,  9 Jun 2021 18:47:47 +0200 (CEST)	[thread overview]
Message-ID: <ea-mime-60c0f0b3-285f-7f94179a@www-8.mailo.com> (raw)


I would like to be able to complete from words in all open buffers, not just code parts.  Is there a setting

in company-mode I can use ?



Have made some progress using the following



 (setq company-backends '(company-dabbrev-code company-dabbrev))



But, in programming languages I cannot complete from all buffers including from comments in

opened code files.




             reply	other threads:[~2021-06-09 16:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-09 16:47 martin-kemp [this message]
2021-06-09 16:51 ` complete from words in all opened buffers, not just code parts Dmitry Gutov
2021-06-09 18:29   ` martin-kemp
2021-06-09 23:13     ` martin-kemp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea-mime-60c0f0b3-285f-7f94179a@www-8.mailo.com \
    --to=martin-kemp@brusseler.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).