From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iQHqE4kh3l4nUQAA0tVLHw (envelope-from ) for ; Mon, 08 Jun 2020 11:31:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oFpVD4kh3l64RAAA1q6Kng (envelope-from ) for ; Mon, 08 Jun 2020 11:31:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 82D649403E9 for ; Mon, 8 Jun 2020 11:31:20 +0000 (UTC) Received: from localhost ([::1]:48640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiFzp-0003l6-Iv for larch@yhetil.org; Mon, 08 Jun 2020 07:31:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiFz9-0003jK-Fq for emacs-orgmode@gnu.org; Mon, 08 Jun 2020 07:30:36 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:44151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jiFz8-0001zs-Lv for emacs-orgmode@gnu.org; Mon, 08 Jun 2020 07:30:35 -0400 Received: by mail-ed1-x534.google.com with SMTP id l1so13101546ede.11 for ; Mon, 08 Jun 2020 04:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=VGgE/C/gDKL5Ws34fPQJ/UMXJNnHLQErt9fIWh2R9z8=; b=UnFtqgXXEyVlnjdi8MlvL3teKEGrOae6q2Q+QfUv6Ufx5aQoS1ZV08sh3mMUDafAG6 mLa4BQZXTkvE/CKwQqxvY7p207YBnvKcnEWrqJq3cL3aiga0doB/0cgaGAO6vXcngjPe Q8Jh5lfSg2T671VVag9yGH8+wIq7p+ADVhltfo6bqGgLGPVL++NrDCsLqluUvP5Fo9eu B1NWbVk46kccxRNCTZvIiG1XIROHF/hSW92WFAca8RK1mD0gP7rdXEOHxYVXneSydQOE yEAkVOtoSsWsqtSL0YmwuAGS/Y9dtljlBtGR4+G4t/cu8l+OzGmgd2GJNauQPPxK1NVo SPMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=VGgE/C/gDKL5Ws34fPQJ/UMXJNnHLQErt9fIWh2R9z8=; b=gnXGnvImV/yyB0ueGop6xMybRcFDL1ilSrZl5pgQk9pzqgxinCneLZ7D4AqUHn+RyL 1sUBIQpM+IimCcIQI4Pzp/J5KsIKfTyVCkDxvD4+TGEVPiqROqvGPEG7ddVHHonyie75 5hfA/pk8grwF2jWhV7X5uVqVR8e9w9xrA16C/bQeN1+gtAxVhgo+4Hn1QHOMe/mv0+m5 4kX8geaUMi+ZbNwp2Z+f3QcHyRzkrn0jq+Bc4ObbQiCOLNpXuDBQwss2qr+P0ctPsym6 DOUj6PZ5bviG03BlxWFwJa7ZL4OS7VecuYUm/Rafu4lgped8EgilRShUdrr2jfKhXEm8 aOOg== X-Gm-Message-State: AOAM531l5VyHShsHnIezj+TQkyhOjN1d607pshd0zmB0a/mNmEy+IQb7 lleYFWvi8dCsoJkqqg+oYYQFVQbzZ94= X-Google-Smtp-Source: ABdhPJyusHfOJBNnImuSuf4kZry4Wy2lYxf0pByD7/Co+VlIipnunrELN7ejwsNbF04U27Q3R1wlkQ== X-Received: by 2002:a50:fa8d:: with SMTP id w13mr21753220edr.324.1591615832726; Mon, 08 Jun 2020 04:30:32 -0700 (PDT) Received: from kyoncho-H87-D3H ([2a00:4802:28d:1200:c37:c644:1e15:8808]) by smtp.gmail.com with ESMTPSA id f1sm12340148edn.66.2020.06.08.04.30.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 04:30:31 -0700 (PDT) References: <87sgf6hee0.fsf@gmail.com> <874krlkg69.fsf@gmail.com> User-agent: mu4e 1.3.7; emacs 27.0.91 From: Ivan Yonchovski To: TEC Subject: Re: [Announcement] lsp-mode integration with org-mode In-reply-to: <874krlkg69.fsf@gmail.com> Date: Mon, 08 Jun 2020 14:30:30 +0300 Message-ID: <875zc1iyll.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=yyoncho@gmail.com; helo=mail-ed1-x534.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=UnFtqgXX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: B0TDqz4PPAWJ 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