From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8ESZIvgj6mThswAAauVa8A:P1 (envelope-from ) for ; Sat, 26 Aug 2023 18:10:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8ESZIvgj6mThswAAauVa8A (envelope-from ) for ; Sat, 26 Aug 2023 18:10: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 3772C52C37 for ; Sat, 26 Aug 2023 18:10:32 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=c5NtlfRo; 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=pass (policy=quarantine) header.from=mailfence.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693066232; a=rsa-sha256; cv=none; b=HFimbudaQ/7E8HXabAKMcEEpPVe3ijlTMx64ejbndejZvXi/d8UeveexLRdRpOrXuqt2pu x7R871xs4/MQuhSpxdfFUFhWqjq7qGGYXdusKYF4rHbKw+5Ru6oF2SuhhiZ7dSMQkHdpmk qiUIuhLiY8JPOIJ5bcCfsz2X/bVwi7oPehDc5VPMfl+NdPaoXfFDcT7Dd2N+gACjj1eZOx F4xJp37SJBsPO9AXUC5OmXpIbb95a5ZX1EsG8PN5B6hfbDa69tAQ3G1e1bUsYQ/ruP2AM/ V0r2B14BOUIXhC45/leb0j+zLH5P7vu2c/lZuHLLGNwLPvbQBy7i0dxpjHSkDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=c5NtlfRo; 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=pass (policy=quarantine) header.from=mailfence.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693066232; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=r0VaLJpzZ7y+9IBnwqoyQ3gpotOBAz87YlQufwHMxtA=; b=QYqZoF2MRKFwfGsnoIIWvpZV6T15NeHZDAC07Vw8qvdTjlTD2mT3/cXeb4TrnYDh2olDKt madxlmxFWDoI+ZeHvsWwfncVr0Y5j4kU9ZDSxTRss1E/xnu1IwNPqiffI7eEujDZDCq7J8 Dbd1OvKwTVjtYvv5MvFuRX01dl46jnaH1dXq8u+pO4x8efzHakzHi93q2/TsAo02epYHFk gcRGidoTfX8C/PAp3XqTS2lpBCdpGNCxGD1JZC1jznBK5gavmES+iqGWOsXWEPpIYGxsFl W0qn046ENIoP+qfW1XPc4FCxNMKOC/DswndtBIHanhsW0EKv7PBNTKEhf3lP6Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZvOK-0000gG-P7; Sat, 26 Aug 2023 11:40:00 -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 1qZvOJ-0000fu-78 for emacs-orgmode@gnu.org; Sat, 26 Aug 2023 11:39:59 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZvOF-00046W-Rm for emacs-orgmode@gnu.org; Sat, 26 Aug 2023 11:39:58 -0400 Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id CB93AF50 for ; Sat, 26 Aug 2023 17:39:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1693064389; s=20210208-e7xh; d=mailfence.com; i=edgarlux@mailfence.com; h=Date:From:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1889; bh=r0VaLJpzZ7y+9IBnwqoyQ3gpotOBAz87YlQufwHMxtA=; b=c5NtlfRodS7b6E8qXZkUloqjGZqg5xgADfhprOpS2V4hSfCIZWWLP7FUxp9OEmmM w3aDB1T033qlqT4wriLN5H8zQUPlYGxnWziTkkuboCKkbJULI0aWlZRikfLhbVnmj2d tcK7KP9urcEfNPcG2SxzvhGiz/NqqO+cXMmv0P/PQFd1DyIUz1ZH9nnuLNGJb2EorVr 0WGNzzKtyGpC/JsefYuORb6yYp5mWUvEFSunF8LHBXwYf2R3uphcWFZFV36N7T+vLov O+QCNfHfpURIFhVqTdIFkdREb3k45xqwz2igOc20cuYk0zulaKOyutyOBQi7hIlALSi X9QFroeF4Q== Date: Sat, 26 Aug 2023 17:39:48 +0200 (CEST) From: Edgar Lux To: Emacs Orgmode Message-ID: <862042460.651091.1693064387981@ichabod.co-bxl> In-Reply-To: <877cpm8a4m.fsf@localhost> References: <1650384805.753459.1692364837267@ichabod.co-bxl> <87ttsw8hha.fsf@localhost> <89484759.168944.1692721769762@ichabod.co-bxl> <877cpm8a4m.fsf@localhost> Subject: Re: [BUG] Warning when creating preview MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:195124330 Received-SPF: pass client-ip=212.3.242.68; envelope-from=edgarlux@mailfence.com; helo=wilbur.contactoffice.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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 X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -9.76 X-Migadu-Queue-Id: 3772C52C37 X-Migadu-Spam-Score: -9.76 X-TUID: n6sSfN7+bMjJ On Aug 23, 2023 at 9:56 AM, Ihor Radchenko > 1. Save the equation to file /tmp/bug.org > 2. Save your `setq' snippet to /tmp/bug.el > 3. cd /path/to/org/repo > 4. make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" > 5. Move point to "t = 0" line > 6. C-c C-x C-l (2x) > 7. The preview appears and then disappears, as expected. > > May you please repeat my steps and let me know if your are seeing the warning? 1. emacs (loading my full configuration) 2. find the file of my previous bug report: t.org 3. dedent and mark the equation (without the =_quote=) 4. M-x copy-to-buffer RET bug.org RET 5. Save to /tmp/bug.org 6. add :tangle /tmp/bug.el to the emacs-lisp source block 7. C-u C-c C-v t to tangle (save) the file 8. find /path/to/org/repo (with dired) 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" 10. M-x switch-to-buffer RET /tmp/bug.org RET 11. Move point to "t = 0" line 12. C-c C-x C-l (2x) I see the warning. After step 10, I removed the files in ltximg, ran =emacs -q=, find file /tmp/bug.org, step 11 & 12, and I see no warning. There must be something else in my configuration which triggers the error (if you want to follow the rabbit, let me know). In this case, the warning was: #+begin_example Warning (org-element-cache): org-element--cache: Org parser error in bug.org::22. Resetting. The error was: (error "Invalid search bound (wrong side of point)") Backtrace: " backtrace-to-string(nil) org-element-at-point() org-element-context() org-latex-preview(nil) funcall-interactively(org-latex-preview nil) call-interactively(org-latex-preview nil nil) command-execute(org-latex-preview) " Please report this to Org mode mailing list (M-x org-submit-bug-report). Disable showing Disable logging #+end_example -- Sent with https://mailfence.com Secure and private email