emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ivan Yonchovski <yyoncho@gmail.com>
To: TEC <tecosaur@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Announcement] lsp-mode integration with org-mode
Date: Mon, 08 Jun 2020 14:30:30 +0300	[thread overview]
Message-ID: <875zc1iyll.fsf@gmail.com> (raw)
In-Reply-To: <874krlkg69.fsf@gmail.com>

Hi TEC,


TEC writes:

> That sounds great! Just to check, in the demo you have :tangle "demo2.cpp",
> this would also work with :tangle yes, yes?

lsp-mode will need actual file path to work. I am not sure what "yes"
will mean in this context. Generaly, we could plug a mechanism to
interactively pick the file name (which is what we are going to do for
markdown-mode) but still lsp-mode will expect org-babel-tangle to export
to that file(or we should have replacement for that mechanism).

>
> One question --- does this also work in the minibuffers? At the moment I have a
> hack in my config
> (https://tecosaur.github.io/emacs-config/config.html#lsp-support-src) to provide
> this functionality, but it doesn't use the context of the entire file, which
> would be a nice improvement.

Can you give me an example of that usecase? Generally, we have
introduced "virtual-buffer" abstraction so technically we could
implement running language server over anything. E. g. one could select
random text block and run a language server over it.

Thanks,
Ivan


  reply	other threads:[~2020-06-08 11:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-07 19:20 [Announcement] lsp-mode integration with org-mode Ivan Yonchovski
2020-06-08  9:54 ` TEC
2020-06-08 11:30   ` Ivan Yonchovski [this message]
2020-06-08 13:53     ` TEC
2020-06-08 14:20       ` Ivan Yonchovski
2020-06-09  1:08 ` stardiviner
2020-09-03 10:09   ` Bastien

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.orgmode.org/

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

  git send-email \
    --in-reply-to=875zc1iyll.fsf@gmail.com \
    --to=yyoncho@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tecosaur@gmail.com \
    /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 public inbox

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

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).