From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ludvig-faddeev@gmx.com Newsgroups: gmane.emacs.bugs Subject: bug#48775: Making company mode with completion from opened files Date: Tue, 1 Jun 2021 13:01:26 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32506"; mail-complaints-to="usenet@ciao.gmane.io" To: 48775@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 01 13:02:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lo2A4-0008Dt-Sp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Jun 2021 13:02:16 +0200 Original-Received: from localhost ([::1]:45136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo2A3-00011C-V8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Jun 2021 07:02:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo29q-0000y0-51 for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2021 07:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lo29p-00022H-SN for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2021 07:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lo29p-0008Ju-QO for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2021 07:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludvig-faddeev@gmx.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Jun 2021 11:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48775 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162254529531945 (code B ref -1); Tue, 01 Jun 2021 11:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Jun 2021 11:01:35 +0000 Original-Received: from localhost ([127.0.0.1]:35832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lo29P-0008JA-2t for submit@debbugs.gnu.org; Tue, 01 Jun 2021 07:01:35 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lo29N-0008J2-Tq for submit@debbugs.gnu.org; Tue, 01 Jun 2021 07:01:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo29N-0000gm-HN for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2021 07:01:33 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:54911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo29I-0001e4-3F for bug-gnu-emacs@gnu.org; Tue, 01 Jun 2021 07:01:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1622545286; bh=+nVtxSn4oZrbr+zlMUxCblIiSvuM2kF+371K7BvIIVQ=; h=X-UI-Sender-Class:From:To:Subject:Date; b=ikRjIIDQ/9XgynSoTP/WpJA6tRdsCQCY1ZpHYbHi3l4qSJaOp3yWR1/Mrpyds2yEV ydqDwDB9g3/QeRrCf6+XxdDFjD1ccw83PVeHXVldaPXHU06LQbJfSB0eSuj4JyAyiY gGL1aFmjVdrAnWeH1qJMdNKKx336KBByCWiufpTo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs01.server.lan [172.19.170.58]) (via HTTP); Tue, 1 Jun 2021 13:01:26 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:H7jR5zWVo4TNs/1gVYLH57KggkhEYWAgjoc4rTgrCCahP/QgxCc5OFpeHhxOgQndYekGJ E9K5fgVeSbaBn+1f/5hqpzLDIVrunQszNU4TatVJhFpVuVbo3XX/jYvU3lU2Tkj/4x2HmFfAt/fO u1VnAhjqTfppt5HYrLKu1/A6PVDixKYtn1ZHyQGnb17X+Vuy5FJv8KIBnB5S0g4gETTReKk5sWMX CqsUFvk/hDxv73f92+SwFNsVBaMGBvyEt2EV85N8jLK/aawbWcMm1QMhLJyr7tg3H4ySdDpg2wpO EY= X-UI-Out-Filterresults: notjunk:1;V03:K0:w1EmfNvFfLA=:XD3ph/pYWshp1TbTU5LL8T +AhbuSXQfk1k3rOMoY39UodYfNsjQhIdMk0KG0UX4bYtGgzrCoLlloZHxk+tieGe39xUIXOHK P4Ei77iJN3YEY9HnZZQvdj6tm8FLSdlPmQD/Zt9lqwlzl6LYxzLs/JzEcIfZSuj8XNeaS+p9Y 6kcvJvSZCoHlyhlvrAR8BTQRbITBKbngvirM/3F7zJr1zzO41TQlWyrMc6lj4db68NoY+nMdk fXcnH7hzO9Pw8XkGPhxSKewGoC1lMmm5AdulUiLB/UqUX9QjGL9TO6ZXn709FTukNVOb3sAdt udM5X/ITDeHJ9WXL6l65cFHK7urZJqMCQ+c8H6+6mz05x/UIKuIM14aCbrvzWHBgEZj+iZqwy 9em4b6jBdvTjbu1851R2SHNPKlZKTmAw5TAHI+ndw67tIJ8MDZLgOlofoqu1H7T8Go4rLUTdU aoVC2Dzblqf1BPni7VJwtrQFGHbRhDkhb0rYNtzCY7KhCLJQ0IH3R3+lIdJsOIx0IPydIlIiY hZvhvAA7wf0UapqJtMHWYP6rPFMQzvIQvFu4UN3Sk7bKpr321rMRB05CrE1UAJJOiXs8ooRJo TEJl+ufMpJ3SZgV+avt7DuwIwj7oF/nsX1T15WKd82tnoOJtFhqO6U3nIsOCewXaQr6Wd2lVI hqlQUb9FPmIR5Nza1wdzPYljP8xyxI/memrOJZMfKwW2v1hIKEP/F3YHRexc1YFUIkJSV6KnV wO+29alU+8PjPsoadwwpIpcZI7pveVX3RmzYwfdNhHoIpNtQg4+9Kjaer5E11JXX05SmG38H Received-SPF: pass client-ip=212.227.15.18; envelope-from=ludvig-faddeev@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207764 Archived-At: 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 =2D------- An inverse problem in science is the process of calculating from a set of = observations the causal factors that produced them: for example, calculati= ng an image in X-ray computed tomography, source reconstruction in acousti= cs, or calculating the density of the Earth from measurements of its gravi= ty field. It is called an inverse problem because it starts with the effec= ts and then calculates the causes. It is the inverse of a forward problem,= which starts with the causes and then calculates the effects. =2D------- Then if I start writing "tom", company-mode will show me completion with "= tomography"