From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yeX+Fa394l7HRAAA0tVLHw (envelope-from ) for ; Fri, 12 Jun 2020 03:59:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qLJIEa394l53DwAA1q6Kng (envelope-from ) for ; Fri, 12 Jun 2020 03:59:41 +0000 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 CDE6B9404C7 for ; Fri, 12 Jun 2020 03:59:39 +0000 (UTC) Received: from localhost ([::1]:40006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjaqv-0004HJ-CL for larch@yhetil.org; Thu, 11 Jun 2020 23:59:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjaqc-0004HD-9u for emacs-orgmode@gnu.org; Thu, 11 Jun 2020 23:59:18 -0400 Received: from [183.249.130.108] (port=1328 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjaqa-0005Lf-6y for emacs-orgmode@gnu.org; Thu, 11 Jun 2020 23:59:18 -0400 Received: by localhost (Postfix, from userid 1000) id 10F1D24168A; Fri, 12 Jun 2020 11:49:16 +0800 (CST) From: stardiviner To: ciolfi@mathworks.com Subject: Re: Bug: fontification error with #end_src in 9.3.7 [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)] References: User-agent: mu4e 1.4; emacs 28.0.50 In-reply-to: Date: Fri, 12 Jun 2020 11:49:12 +0800 Message-ID: <87wo4dosef.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 183.249.130.108 (deferred) Received-SPF: softfail client-ip=183.249.130.108; envelope-from=numbchild@gmail.com; helo=localhost X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/11 23:49:16 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 63 X-Spam_score: 6.3 X-Spam_bar: ++++++ X-Spam_report: (6.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, FSL_HELO_NON_FQDN_1=0.001, HELO_LOCALHOST=3.828, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=1 autolearn=_AUTOLEARN X-Spam_action: reject X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: numbchild@gmail.com Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 3.09 X-TUID: hedmJ0rCncSw =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I got same problem, fontification on the ~#+end_src~ seems failed. John Ciolfi writes: > Given the following org file, on the #+end_src line, I get "Org mode font= ification error in # at 9". If I place a newline before the= #+end_src line, the error goes away. This is a recent regression. This wor= ked fine in 9.2.6 and prior. > > #+begin_src C++ > #include > int main() { > std::cout << "hello"; > return 0; > } > > // The results: > #+end_src > > #+RESULTS: > > > > Emacs : GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.= 5) > of 2019-09-22, modified by Debian > Package: Org mode version 9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/= site-lisp/org/) > > current state: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > (setq > org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-con= figure-edit-buffer) > org-link-shell-confirm-function 'yes-or-no-p > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-clock-out-hook '(org-clock-remove-empty-clock-drawer) > org-latex-default-packages-alist '(("colorlinks=3Dtrue,linkcolor=3D{red!= 50!black},citecolor=3D{blue!50!black},urlcolor=3D{blue!80!black}" "hyperref= " nil) > ("AUTO" "inputenc" t ("pdflatex")) > ("T1" "fontenc" t ("pdflatex")) ("" "= graphicx" t) > ("" "grffile" t) ("" "longtable" nil)= ("" "wrapfig" nil) > ("" "rotating" nil) ("normalem" "ulem= " t) ("" "amsmath" t) > ("" "textcomp" t) ("" "amssymb" t) ("= " "capt-of" nil) > ("" "hyperref" nil)) > org-mode-hook '(#[0 "\300\301\302\303\304$\207" > [add-hook change-major-mode-hook org-show-all append l= ocal] 5] > #[0 "\300\301\302\303\304$\207" > [add-hook change-major-mode-hook org-babel-show-result= -all append local] 5] > org-babel-result-hide-spec org-babel-hide-all-hashes) > org-archive-hook '(org-attach-archive-delete-maybe) > org-confirm-elisp-link-function 'yes-or-no-p > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-metaup-hook '(org-babel-load-in-session-maybe) > org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n= \n(fn ENTRY)"] > org-babel-pre-tangle-hook '(save-buffer) > org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header= -arg-expand) > org-link-file-path-type 'relative > org-occur-hook '(org-first-headline-recenter) > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-l= ines > org-optimize-window-after-visibility-change) > org-speed-command-hook '(org-speed-command-activate org-babel-speed-comm= and-activate) > org-babel-tangle-lang-exts '(("perl" . "pl") ("D" . "d") ("C++" . "cpp")= ("emacs-lisp" . "el") > ("elisp" . "el")) > org-confirm-shell-link-function 'yes-or-no-p > org-link-parameters '(("attachment" :follow org-attach-open-link :export= org-attach-export-link > :complete org-attach-complete-link) > ("id" :follow org-id-open) ("eww" :follow eww :sto= re org-eww-store-link) > ("rmail" :follow org-rmail-open :store org-rmail-s= tore-link) > ("mhe" :follow org-mhe-open :store org-mhe-store-l= ink) > ("irc" :follow org-irc-visit :store org-irc-store-= link :export > org-irc-export) > ("info" :follow org-info-open :export org-info-exp= ort :store > org-info-store-link) > ("gnus" :follow org-gnus-open :store org-gnus-stor= e-link) > ("docview" :follow org-docview-open :export org-do= cview-export :store > org-docview-store-link) > ("bibtex" :follow org-bibtex-open :store org-bibte= x-store-link) > ("bbdb" :follow org-bbdb-open :export org-bbdb-exp= ort :complete > org-bbdb-complete-link :store org-bbdb-store-link) > ("w3m" :store org-w3m-store-link) ("file+sys") ("f= ile+emacs") > ("shell" :follow org-link--open-shell) > ("news" :follow > #[257 "\301\300\302Q!\207" ["news" browse-url ":"= ] 5 "\n\n(fn URL)"]) > ("mailto" :follow > #[257 "\301\300\302Q!\207" ["mailto" browse-url "= :"] 5 "\n\n(fn URL)"]) > ("https" :follow > #[257 "\301\300\302Q!\207" ["https" browse-url ":= "] 5 "\n\n(fn URL)"]) > ("http" :follow > #[257 "\301\300\302Q!\207" ["http" browse-url ":"= ] 5 "\n\n(fn URL)"]) > ("ftp" :follow > #[257 "\301\300\302Q!\207" ["ftp" browse-url ":"]= 5 "\n\n(fn URL)"]) > ("help" :follow org-link--open-help) > ("file" :complete org-link-complete-file) > ("elisp" :follow org-link--open-elisp) ("doi" :fol= low org-link--open-doi)) > org-link-elisp-confirm-function 'yes-or-no-p > org-list-indent-offset 2 > ) =2D --=20 [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 =2D----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7i+zgUHG51bWJjaGls ZEBnbWFpbC5jb20ACgkQG13xyVromsODLwgAoO1OD+5Rsvzr4HYWynlVYFmu2LIw atICi53TXYdZF7FIQfbtKwKIMn8ltqwu2ByMhrXm67ArcRFYO5A4u6BXinYj1G/w Al+KZ8zoNUnq/8oUdGQpFcj/leOzS1ZTpCzHpj9hKq6Urw20egqS8p7MFcG62mJ0 TmSmsoj//f6F65TxrX+bdtWI1UkfJOvXQRr5QzXGj3jHprZfVRKbXdVSmC3Jho+w S7DqCOn0oTRgiNZiQRDm0xIATFrgCsPqLkRUejblV4YK01smhxUCGEtGTUcOhi50 v0NQYT6wyiGmvZWu5cJQfI3thxId+fy2CY/Qo68jynQsXAyFDHe7vqpNbw=3D=3D =3DPzO7 =2D----END PGP SIGNATURE-----