From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oO6UMchhVWRAiAAASxT56A (envelope-from ) for ; Fri, 05 May 2023 22:06:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kIF2MchhVWQZawEAauVa8A (envelope-from ) for ; Fri, 05 May 2023 22:06:32 +0200 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 9B50916E29 for ; Fri, 5 May 2023 22:06:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pv1gX-00014g-4e; Fri, 05 May 2023 16:05:45 -0400 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 1pv1gV-00014I-9g for emacs-orgmode@gnu.org; Fri, 05 May 2023 16:05:43 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pv1gT-000757-Mm for emacs-orgmode@gnu.org; Fri, 05 May 2023 16:05:43 -0400 Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-51b0f9d7d70so2025650a12.1 for ; Fri, 05 May 2023 13:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683317140; x=1685909140; h=mime-version:message-id:date:references:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=p2NjaMnOT5pl3/PM17sv209kxCgJ17bXx4i4mwnI7HY=; b=CgAkGjMxq1lb0mnwsshaAjG5Hb8+BeLFizFcTZzFUrXDKH2U/0mwKyAjhmM4as3KjN n7wgzfOGMcYNuV+URXtDgnsm+knqk/2TipaR0X/B6Mm+Eaal5HLY/PySz1dQwaPlB6QY 53tNsVeMxRsTkEbKpoTlSF7mk8YAcjieZ7aZBvXr1OfNO2sfshlBwTyF74Rh/wj9NT/5 R+b617bZZl8L8BKDCXkVHqOnjt0oTCgMit1SyiL3tbq0bvuX45G9Q7V3NToglRnPw5CS RSKLH0X425K3ic/qeAVMU7h/1PQfOz8xbvuknckpigWmyOXUE5XlUa+mvTnH+ma1Ww7M VBGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683317140; x=1685909140; h=mime-version:message-id:date:references:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p2NjaMnOT5pl3/PM17sv209kxCgJ17bXx4i4mwnI7HY=; b=GsN+5DxWy08qC34rcqsOHeiD0A+mgEb6aOnXxqc3AQ+r3nbkXRmGzP6YBCH+X8QiCX qtpFg4yLyCTfjSo7fiMrCqw4LsT4/V28Ik9Tmy6mXFmRNYTN77lmcivce8oiIB3wlBGm QTzdmW085PLbxEOqLIgokDzPxulNCzapXhY3RzEBwb2MVxuPMaX+rgWzKX3GB09KHbAP gapYWnyf2D7/diUiOzkjpgs68TKNGLxQuv9mS7UxTez+H+xn0o51pAHytArZ+aGavc06 /hLoBc+bDsvoMv12xX07hZAVxxkCa2Z4SOR53OrcLAP0n+RG2jy5WSmiCd0InVIMylJ6 If8Q== X-Gm-Message-State: AC+VfDwbDxbeEvqgsvOhweyWuw0Um+C/xcyVoxc+r8h6G+jDImJOQNPo 16ly97/xT8S9QhqAjiD34UY= X-Google-Smtp-Source: ACHHUZ55iqPDpOmeDdoejTsP+xS7Py1ZC9NcmeHId+FkIR3vT5hfeLKodltq03I2dX3Z3Xkcvb8qnQ== X-Received: by 2002:a17:903:230c:b0:1a8:1f43:70f3 with SMTP id d12-20020a170903230c00b001a81f4370f3mr3036179plh.63.1683317140071; Fri, 05 May 2023 13:05:40 -0700 (PDT) Received: from localhost ([2600:8802:5722:9400::3835]) by smtp.gmail.com with ESMTPSA id l6-20020a17090270c600b0019e5fc21663sm2127444plt.218.2023.05.05.13.05.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 13:05:39 -0700 (PDT) From: Karthik Chikmagalur To: Konstantinos Chousos Cc: Timothy , emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system References: <87lek2up0w.fsf@tec.tecosaur.net> <87a5yiveyw.fsf@gmail.com> <875y96y5he.fsf@di.uoa.gr> Date: Fri, 05 May 2023 13:05:38 -0700 Message-ID: <875y96v90t.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pg1-x52b.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683317192; a=rsa-sha256; cv=none; b=j0uczoj8J2xze4/5HtfrLgKWtv8V7AE7ubgIPFpecuYbyznJIp4iqOpJ5m9NHu2YtgvOFv S3k/s8SnqsbsFmVkt1F9l7xK6UxQF3TJcKlpY2cHkBxy5gRktMTvT+hWnkzv+GAeAIu+7X qxbxnQOQQxo7v0Wi9vVOOdke1gE9Co3rsJ1m4qXxwGJ2CEtCCQn0ZGxMgFCMmJWyVeR/JY fRhXEN3xzKL8OHPE+sc0MTC3Rc7fsoWU+BWPM8BEaXj3sSfTkRdCSiE82ZIzFGTVV42glT vaFHfVJuT2UDlbVE8mka9AY56XqYsxnhsUCKmAuhlQiKea3dMpJKrgAJlz/9yA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=CgAkGjMx; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683317192; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=p2NjaMnOT5pl3/PM17sv209kxCgJ17bXx4i4mwnI7HY=; b=ZZFBvLxfoAhP62soN+r3XDgvsUTAAOESjJTiBBdLBlYVqqxiBOd19bTwARlj/DS8kNcUDW 8UF4zz0I1DQlmVC1t3kn6FmfpOlAdkYh/cbUQmjtaAwBB3rg7wHPnDm8U+mLxGyXuKAPbw ojA3uf3UL7ulgJx8r+Uva0Ovsq6fiJsVnWbvQVppXACxJ1qeNOMNRJ5Mt54+3PHYKZuuyo mKwiHeqwaL2N1H37MIMDBJaJ76Aj14EuZSdt4Q1PWU/yyrVxyCqrtcIWQRgFdfg/8NF/cw M/YPSQruj0wWj6HVWo/yNeX5SI1FeUqRhdMaK6vp1+i/WnZxgpvV64XjtOTqlg== X-Migadu-Spam-Score: -4.81 X-Spam-Score: -4.81 X-Migadu-Queue-Id: 9B50916E29 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=CgAkGjMx; 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-TUID: 0ECgTTG83P5a > 1. Use TEC's org-mode =dev= branch, up to the =---NOPUSH PERSONAL > DIVIDER---= commit. > 2. Set some config options, which can be in the above link. > 3. Test the new features. > 4. When a latex fragment contained an error, its color would turn red, > but no popup would appear on hover, or ever for that matter. > > My temporary solution is to directly check the =*Org Preview LaTeX > Output*= buffer. Is tooltip-mode turned on? >> We don't think live previews will be ready or stable enough in time >> for Org 9.7, so it is not currently part of the patch set. > > That's too bad, it looked really neat and useful. We'd like to focus on improving the user experience of the core features first. If these issues are cleaned up before 9.7, I will work on polishing the live previews feature. >> It's available as a later WIP (work in progress) commit on >> tecosaur's dev branch, if you are interested in trying it. > > I noticed that but as I said above, I already use that branch. Perhaps > the bug with the error popups and this are related? After all, both have > to do with popups. Also it is important to note that I have already set > the configuration variables that are relevant to the /live/ preview (at > least those that I could find). There is no documentation for live-previews yet. If you would like to try it -- and I encourage you to -- you could set: (setq org-latex-preview-auto-generate 'live) and then turn on `org-latex-preview-auto-mode'. The variables `org-latex-preview-throttle' and `org-latex-preview-debounce' control the responsiveness of the live previews. If the live preview is not removed automatically after you move away from a LaTeX fragment, you might have to manually eval `(org-latex-preview-live--clearout)'. This is one of the many edge cases with the feature that need to be handled. > All in all this is a huge improvement and a quality-of-life upgrade for > all org-mode users. Thank you both for your work. Thank you! The testing is very helpful as well. -Karthik