From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4JJ4BYbEjGOH/wAAbAwnHQ (envelope-from ) for ; Sun, 04 Dec 2022 17:02:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4JymBIbEjGN/0wAAG6o9tA (envelope-from ) for ; Sun, 04 Dec 2022 17:02:14 +0100 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 C4B3B23E1 for ; Sun, 4 Dec 2022 17:02:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1rQh-0005Xl-0Z; Sun, 04 Dec 2022 11:01:23 -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 1p1rQM-0005WD-Eg for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 11:01:05 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1rQK-0005GT-KO for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 11:01:02 -0500 Received: by mail-pl1-x62b.google.com with SMTP id d3so8749972plr.10 for ; Sun, 04 Dec 2022 08:00:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=6JYlTYDsLtcDFNdR4YxRXzH0FiuTE776SNiKT1KzrKY=; b=p2DXvEOq45n9Mzdn78ST0wHrQKg1OW9QdTzitaJRzsbIkYzdbTu4zbne3vCO3bVT3M MXEz8DWRMfvEJdQ33R87LCu5ls0XHCJxOdxiepigtFHj2rAw6pRCKYX1t+7WQFdIHFA6 KxuNIltU8BQfEe4HHbHXY18pm2km3GQQnDoD4ZHG4cpc2FashI2deAsFfmg+4Ai9Bdt4 Q/DdGGt/L7o3dcgNvx1nr9IvTxVn2bqH0HfQA8nSO3xzDwTVGrFRTvRjHRW/aQ3SY5IY bVJrdO+JKA16NnK0W3wBFnqjuIWF+hK+epIqL4kYt+tnBCQwYmZ5phieFDkBNK4mTOGx 4HCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6JYlTYDsLtcDFNdR4YxRXzH0FiuTE776SNiKT1KzrKY=; b=VEyYBc3TJ8qP2SueaiME6mFsqw8jatLvD33d2/tLkFq5AWakF8i/rthAXKyGRpxGlN hQc3Nv4SyjSMG6t0PyVSiMCfuGvqmfg4OWvAce5UjQzXqKNM5Bb8tAOPXPNtNLhZvu0N YXfCZ7pzQMrAiKoH88XmNzuvxzK7JPoszEgiqxFE1QUDF2qdM+XBpTMD+nNcTTyAqmTW Ngo+nuXfCzVpbDDV7DquuHi/3dsU2vz6hDl8KH3OK4CPXr+AgqMEPgmcDdB2fX80sdvE JfxJNsQKFdpNSUpn1lCO+59/WHMMg7yZRChkR0k0AE753sSVqD9wUqh7Qm1cPPNYLjkp kedw== X-Gm-Message-State: ANoB5pkZJnhKXM9JTWlDlW1oQ1wQJ8WXtFY5uDKyv6UQiAlSZF8VK6KF DmTemxvIOB5pAil1nl3AnxyxkkDVAFbSDKNHqtRp+Nnb X-Google-Smtp-Source: AA0mqf4BFuAHMd0+P2NNFHz8KkOzuVFyohockV0Qa46zOooau4V7ZVXdtgBSxLuR+4H77xynnylzyVK6MEVrOL6nuKE= X-Received: by 2002:a17:90a:4207:b0:209:46fe:871b with SMTP id o7-20020a17090a420700b0020946fe871bmr92128995pjg.163.1670169656955; Sun, 04 Dec 2022 08:00:56 -0800 (PST) MIME-Version: 1.0 From: Vikas Rawal Date: Sun, 4 Dec 2022 21:30:45 +0530 Message-ID: Subject: Displaying macros differently To: org-mode mailing list Content-Type: multipart/alternative; boundary="0000000000001e17a505ef02ad2f" Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=vikasrawal@gmail.com; helo=mail-pl1-x62b.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670169733; 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=6JYlTYDsLtcDFNdR4YxRXzH0FiuTE776SNiKT1KzrKY=; b=m5tzpdSi+5gYPRv2FRXi/A6Upzr0Wg52ZSL4x/SG3NW1BpLzO+FfGGoc5g8+v69GOYJABX lrRHoUuwcDG1+cHpSHJ2R/hWW2hyIbWj0Fu0FLYTjfnhrEBw7NiH+wpVdvBzi8SGjKND// SioSKjnskUWu8eVk6P9xyljID2cWuvFEj1b+BKCgXNTMUF7s7xZUlbghaWaadslt+OlR0v SzgZ7hYC5JjuN0INziLRgX31PoOcOk+kLXgw8Pink2QjYy/xHAD6u5U5+bYxIL3kEgwzOX GNWxFL/YUQNNIG2lD18XaHipDF3j9j0CLZcRQaRZ5PJMsJDBJrT8a5/El0xcwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670169733; a=rsa-sha256; cv=none; b=DQ+UlC9aFIymnIqol8+86AaTyst+E0z++II5JJ9G1BGHqrkxLjcdNOgGOwJHzc0mn6SPt9 //MlOjPk26QsAtPpoQT2dFf8g1SGuDhbXzDSe8OvmWOzZy+zB9GFtF+gQXIoWTH2c/sTsH p4UHJO+jOMt3tr2DCRr7UaFo5FYRGn0IKa1LkFVxbeR0d2S/I8ipg7fY2xPrOh3J1ZjD6b F6v9zpLRM9JAkuzI0q7ULi7Ckzwi30yxk4/7iDOpOA/JqrPIRx4EjZqEf5+k6Ko4Q7V+mi 0N0+X65RMLRxzyNaSuJ9QT63M+/uTpjRihvA6J2xNtkThDj5MF7iLtoJVq0sig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p2DXvEOq; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -2.46 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p2DXvEOq; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: C4B3B23E1 X-Spam-Score: -2.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: AJYy1XARjjAH --0000000000001e17a505ef02ad2f Content-Type: text/plain; charset="UTF-8" Hi everyone, I frequently use orgmode macros -- like {{{M(Year 1998--99)}}} -- in tables designed for latex export. I find that the macro syntax occupies many character spaces. At the very least, 9 spaces are taken up even if my macro shortcut is just one character long. This is very difficult with wide tables as often the tables go off the screen just because of this. I was wondering if there is a simple way of making org display the macros differently. That is, use some kind of overlay, and display the above macro may be like M:Year 1998--99. Or some special character could be used to denote that there is a macro underlying what is visible here. I am aware of things like org-bullets which do something like this with headlines. But I was wondering if anyone has done this with macros. My apologies if I have not been able to express my problem clearly. Best wishes, Vikas --0000000000001e17a505ef02ad2f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,

I frequently us= e orgmode macros -- like {{{M(Year 1998--99)}}} -- in tables designed for l= atex export. I find that the macro syntax occupies many character spaces. A= t the very least, 9 spaces are taken up even if my macro shortcut is just o= ne character long. This is very difficult with wide tables as often the tab= les go off the screen just because of this.

I was wonde= ring if there is a simple way of making org=C2=A0display the=C2=A0macros di= fferently. That is, use some kind of overlay, and display the above macro m= ay be like M:Year 1998--99. Or some special character could be used to deno= te that there is a macro underlying what is visible here.

I am aware of things like org-bullets which do something like this with h= eadlines. But I was wondering if anyone has done this with macros.

My apologies if I have not been able to express my problem= clearly.

Best wishes,

Vi= kas
--0000000000001e17a505ef02ad2f--