all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludvig-faddeev@gmx.com
To: 48775@debbugs.gnu.org
Subject: bug#48775: Making company mode with completion from opened files
Date: Tue, 1 Jun 2021 13:01:26 +0200	[thread overview]
Message-ID: <trinity-7fc5d5fe-6ca9-4a90-9e51-c2bb571920f4-1622545285984@3c-app-mailcom-bs01> (raw)

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.

If I have an opened file with the following text

--------

An inverse problem in science is the process of calculating from a set of observations the causal factors that produced them: for example, calculating an image in X-ray computed tomography, source reconstruction in acoustics, or calculating the density of the Earth from measurements of its gravity field. It is called an inverse problem because it starts with the effects and then calculates the causes. It is the inverse of a forward problem, which starts with the causes and then calculates the effects.

--------

Then if I start writing "tom", company-mode will show me completion with "tomography"






             reply	other threads:[~2021-06-01 11:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01 11:01 ludvig-faddeev [this message]
2021-06-01 20:42 ` bug#48775: Making company mode with completion from opened files Dmitry Gutov
2021-06-02  5:50   ` Lars Ingebrigtsen
2021-06-02  9:35     ` Dmitry Gutov
2021-06-02 13:25     ` ludvig-faddeev
2021-06-02 13:30       ` Dmitry Gutov
2021-06-02 14:00     ` ludvig-faddeev

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

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

  git send-email \
    --in-reply-to=trinity-7fc5d5fe-6ca9-4a90-9e51-c2bb571920f4-1622545285984@3c-app-mailcom-bs01 \
    --to=ludvig-faddeev@gmx.com \
    --cc=48775@debbugs.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.