From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iJumJvwNjGbagQEA62LTzQ:P1 (envelope-from ) for ; Mon, 08 Jul 2024 16:04:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iJumJvwNjGbagQEA62LTzQ (envelope-from ) for ; Mon, 08 Jul 2024 18:04:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fPIfih10; dmarc=pass (policy=none) header.from=posteo.net; 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=1720454652; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=X/vCTGeY0kKZdPjOp3uqAfDIlz6flyBlmF+CZEvVC/4=; b=e6BunIKbIDvltT/WpD1eNg5PPOqLqBUM0dn4Xl5Lcq8PV0Gv/ons1547vyFPOqg8UPARBo tgNpWxctPijLLaIut5aqZRGifF2/TAgVaGhJ+aMYlpfgpn3WxJmAiGstkRr5Dw5F6+9R2y D9mSsQhS4BZRgYiDjIDvGj1pVYCbPuiKHfK0aKOXcj8T68yJ1pNLu6zVmuDTQGCBZKAZWd 5aC5ezRxQI2NABjEcYHyw/Tkq5WFnaDomjrs/yBpWOxKrMHr+QizbSWH+PX44NnnY6aW6w BI/r6hQAQngto14ngPidMmaotV2khO2bD85yCW441+QafWKROvMY6lnToGY6Cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720454652; a=rsa-sha256; cv=none; b=TVtSKUE6Ep3a0FA80UsiwPyGE4DwbRrXTbqOmhOUSC4xip/YsnDFivkyVnnR45vkr+4C7N svIwdEt58bn6MhQF/4hAsV7yl9FSHAqRuVpPnQSLCJkc6tYcDVMWrB9ZS4fyM4ASdJYSUt DQyZEO+UYHyIlkDsWEQDMyLJTyxqX3BbDONO59ql2fC7e9gIQbmFOGYn3NoUao9C4ZgRSF EmU2Ddv+NMbzwF1EATDU+kih17UQfGfkCWI5KivFYl7k6ZL01RUjB0qbHNA7/7Y+2lachx ygiWNolLNq6JyJG7iLntDXexXuQ4efoIYqGS2uDGNFLtoFtHYL1aGl++Ed2jJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fPIfih10; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 807D0355EC for ; Mon, 8 Jul 2024 18:04:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQqpk-00087w-K8; Mon, 08 Jul 2024 12:03:20 -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 1sQqpd-0007pn-LS for emacs-orgmode@gnu.org; Mon, 08 Jul 2024 12:03:14 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQqpa-0006y8-HI for emacs-orgmode@gnu.org; Mon, 08 Jul 2024 12:03:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 869A4240103 for ; Mon, 8 Jul 2024 18:03:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1720454588; bh=DrSgGKEJPPRf6LX9/D+apHi7+n7S5Xx8RYYTwdcZmU8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=fPIfih10fTVUuG0nBcOg0FRRzOL971mEU+OmBMeYFVjMkDn6SJqnbsd49hHErMuKQ PAdun5lmVbeRfgm6vxebELsxdCWvGoJGs2JfYCKZQZUelkobcl/nxQdgcEsYf1wd0y oMHYKlfVlL6vAvWPszRUl8CteAI6Ij1ov+MjVL96g+6kjk9Ikw3FtTK5h11qYFtgbN 3jvfkbnYn/V0u+dVfTvgiOkOxxLS8IRsXCIRdFAOk4ekqOTuxo2vT8xtgNsIeFZ3Mv 9EEWHwWFWAO9RRtKlTKfzGDvK+ETLhjyNDbQDP5DEu7WfL0J4i65IehmM3s6/4UzlV nZdVh60j5mFtA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WHpn816mmz9rxG; Mon, 8 Jul 2024 18:03:08 +0200 (CEST) From: Ihor Radchenko To: Li Yuxiao Cc: "emacs-orgmode@gnu.org" Subject: Re: [BUG] org-at-table-p does not recognize table inside \begin{} \end{} block [9.8 (9.8-??-571f1ce0d @ /Users/liyuxiao/.emacs.d/.local/straight/build-29.1/org/)] In-Reply-To: References: Date: Mon, 08 Jul 2024 16:04:42 +0000 Message-ID: <87ikxfzx7p.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Queue-Id: 807D0355EC X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.62 X-Spam-Score: -9.62 X-TUID: n+tJhG+LDhei Li Yuxiao writes: > When I tried to type table between \between \end blocks, for example > \begin{pmatrix} > \* table contents *\ > \end{pmatrix} > > The table contents are not recognized. For instance, I can't use Tab to > go to next line. It turns out the result of org-at-table-p is nil. I > deleted all my configurations, but it doesn't get recognized as well. > I'm quite new to emacs, and I can't figure out why. Any instructions on > solving the problem or how to debug is appreciated. Thanks for your assistance! This is because text between \begin{...}...\end{...} is considered verbatim LaTeX - Org mode markup is not recognized inside. Instead, Org will pass the whole text inside this "latex environment" directly to LaTeX, without any processing. (see https://orgmode.org/manual/LaTeX-fragments.html) If you want to enter Org mode table, you should _not_ use LaTeX \begin{...}...\end{...} markup. In short, if you want Org table features, use Org markup for tables. Feel free to ask anything if you still feel confused. Not a bug. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at