From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eL/SJ3xVWmcDTQEAe85BDQ:P1 (envelope-from ) for ; Thu, 12 Dec 2024 03:16:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eL/SJ3xVWmcDTQEAe85BDQ (envelope-from ) for ; Thu, 12 Dec 2024 04:16:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=positron.solutions header.s=google header.b=p9+Dbrj8; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733973372; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cN7O4LuBACLxTb7h3aAhhyinyYn/aTUd+o4as1nX9BM=; b=BeQgQlGn0b8hCSB1ZTp6x6IYAS6KH7Re0Z8Ih0FTJQLdDcXfluryhK5/5MgBFkPhUlXw9k LBzds4aeoeZq+pNcGqM+P5L13wZe0wOc/CLJhF/mh2Ji3D0lNiAFdhwPlvFTfCxWCIm3fS V9MQBsSGCaHEWoUeL2rXjQ2R74Di/60QWYkz9LdPH0Lf6WdA2Y6gGULH1JIj/QAW495UK+ 0zZZ0c+bWFBG0+D4RSH9nFzJlkchsSkNyKumisUN2seOR5fPjGtNw9ZhKU7th/WrRt5a15 tkVTIhTaXuGMcVRgZ/DxdnbT7m9v3bbnMolqpVdn3Jogsg4rFtzPEBC00yfApg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=positron.solutions header.s=google header.b=p9+Dbrj8; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733973372; a=rsa-sha256; cv=none; b=DbrNIyk00SmYdMhVkh7ROUGvyP16cmCxYCUwTz02O/xYDI4nAZH6uhBHjgniiSXdS0THiS oN51AgILPb35OUfnFXTqt5KDa9yqJ7ncYA2bYpi6VCNkouru6j7d4XuBQJHJnDMERB0jVw l7L7hrZzLxgYGrt67gqPF9A8NmTydbiZ61Ht1EvbdSn09uBUE/qVxEE6bzW/E2Y5YuH5XD 9AfM3Ix2ZZRBDGIScYj14pb2Rt2vYzptITaCP0EqoTDSrwSm19ovb93Uj4+TTpGhhUjPk8 1JIfGiFs9fuwtYfoGyXMXBxBXWADfOPecmLbEwZJOOjp62g5/P8oaw9VJUeU+A== 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 4E17A8A267 for ; Thu, 12 Dec 2024 04:16:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLZfg-0004CO-KE; Wed, 11 Dec 2024 22:15:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLZfd-0004CB-SF for emacs-orgmode@gnu.org; Wed, 11 Dec 2024 22:15:22 -0500 Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLZfb-0007SK-VF for emacs-orgmode@gnu.org; Wed, 11 Dec 2024 22:15:21 -0500 Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-6ef81222aaaso1725917b3.3 for ; Wed, 11 Dec 2024 19:15:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1733973317; x=1734578117; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=cN7O4LuBACLxTb7h3aAhhyinyYn/aTUd+o4as1nX9BM=; b=p9+Dbrj8yrWSpQx1gORQmt7JCGI2mJI6ZKENQC5/KBtXwoIMDwy6ysABEKVpt+eZ2Y 3fX/kqI1MeEHb7j5vlo/TrUDdvrVF7mQG/N5L4CwAzG7xdMG0ElZahBWUQVk6LDdIRja x1Kp6V44EV/FPI3nIKHW03unBTiDfMtVeaqzx/qyHLDvnTRECscZL5yuqhe4CCa8GsjO ucW2WVk7O5u3cTTWUvc42ABO7k4a6u1xP7Tj2eMTKfVFM2lqv1HxIOPkYIZzX9HdErTw 8K24oTjeBMBh6wTmMjVcQO+sZ2ufnose3rWgH0Cm62IwB19sNMvUm4jJ1ux6h/uPGOB6 c5nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733973317; x=1734578117; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cN7O4LuBACLxTb7h3aAhhyinyYn/aTUd+o4as1nX9BM=; b=FuhjPMIXIcUBlQHToL0lZy3OU7I/9GXf6PpRbukoVPfNu7Y35idIJYJjcMowUAGm+q PXj2dIoc/fV/jMCjMwpeEDnEHS4HLRgrHqGVipEcOKpTsinS1qTIvUTzGev/HKAUmJtP FeBpnEnGIZZ/HyNx9Q8731ETXGpqYrAVymiR9wwS78vyTvSy86VhAPTarNRLNOePNaY7 lXg94f+fv4aZIJc9fCnwOGVPZjm8rns0L1LqwypiLFvVQUdIMKkUqWoSV+uyu7NuJyy5 byT6Bg5gL9eWPIB1J1ugLsNZtx4uxYYUIdm2GuUzCig78qlEDjwcR6i4NT2XNeAvfhpK XYug== X-Gm-Message-State: AOJu0Yy/jXh8HNVm4tlYk/O3vJMAeyJTB5slD6NRGeK/glUQRdouCtpX qiyyLFOP7xoLFrzYlRpC97IHot69J2w5WAQ5CQMHzgrYpM3KK9lEZL3vz+ibsKC5kgLVrYb4h0e 4TIXgCHcTr5U+L0IYmaRyTPLghtZV6RAFpVQqvsaHFDBh/rJD X-Gm-Gg: ASbGncu+ENNNQkUH9S5zDmufo25buFalahBmN0U/KvQM0hvVvr87UVXTpqWWS4Nbiu7 ghVXPo6Fe+ikjw1xBXioAYUu4df6079xApuhF8eLc X-Google-Smtp-Source: AGHT+IEFMRx8J6KJAvkyRyF3VxxbsVCOK0Fg1t8kAo2qs+uSIrzP7V6N+t86j/EHDAPPLPRa/TkhZ+tGnJZct5U/svQ= X-Received: by 2002:a05:690c:6008:b0:6ef:5abd:d0d with SMTP id 00721157ae682-6f190609617mr21177407b3.0.1733973317363; Wed, 11 Dec 2024 19:15:17 -0800 (PST) MIME-Version: 1.0 From: Psionic K Date: Thu, 12 Dec 2024 12:15:06 +0900 Message-ID: Subject: Completions Registry To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::112b; envelope-from=exec@positron.solutions; helo=mail-yw1-x112b.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.33 X-Spam-Score: -1.33 X-Migadu-Queue-Id: 4E17A8A267 X-TUID: qNtVzYplZnrK Not just a problem for dslide but for org in general, any time a package adds keys to configure blocks or properties, these do not complete except through dabbrev etc. The keys are likely not already in documents. The only way I can reason to make them visible is to provide functions to register various completions and then let completion backends pick up on these. Some keys may even have completions for the allowable values. The values may be dynamic. Language server features are one path to wiring these into org mode without org mode and completion backends doing work. It would be generally good for the ecosystem. However the problem will remain, how can we find the keys? Even if Emacs has a conversation with a language server, someone will have to answer regarding what completions exist. I haven't really looked into the language server implementation, but if not a tree sitter grammar for parsing, the decisions around inline markup etc are critical to making progress. I haven't been a fan of the `#+attr' requirement on affiliated keywords nor the inconsistency about not applying these for headlines. While it may be ambiguous if keywords apply to immediately following elements or the document, I don't see an issue with applying to both when there is an ambiguity. I'm not sure what the conversation around inline markup looks like, but I'm in favor of any remote definition solution like footnotes where we mark the inline region or object and then fill in the details somewhere else. Inline escaping rules and general ugliness are not my preference. Some set of decisions and tree sitter grammar would enable org to make use of the tree sitter tools for parsing, probably good for org element and font locking both. Everyone knows that. Just my +1.