From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gNJENgF8iWTDJAAASxT56A (envelope-from ) for ; Wed, 14 Jun 2023 10:36:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gEYINgF8iWTT8wAAauVa8A (envelope-from ) for ; Wed, 14 Jun 2023 10:36:17 +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 447B53619B for ; Wed, 14 Jun 2023 10:36:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9LyF-0008HP-SV; Wed, 14 Jun 2023 04:35:16 -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 1q8TdK-0007Zw-Fl for emacs-orgmode@gnu.org; Sun, 11 Jun 2023 18:34:02 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8TdH-0002f8-IN for emacs-orgmode@gnu.org; Sun, 11 Jun 2023 18:34:02 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id F1B3823B134; Sun, 11 Jun 2023 22:33:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1686522833; bh=phJjC9wzx+N38NwXJNdUaA29kzhzqZ0wyLkRHnJHl08=; h=Date:From:To:Subject; b=CSw1Xoj18CDQ0W950IgT5hAXRR08Tn5whSSy6mGEnCcCEGu8/idSQ+PzD0Jo5dFNN OXkH3Y+xqeoVF/r8vHEKK3PG9tE2OEBCSQlWbxEQBcrMygxfdYe17DJQwzH++jjow1 /miB2W7AA2evHQqIWH9rnZ7WkSgHPF+wjYv7LM3J51Zr8kq/HKxBw24TCiyu7rG18z eBAVjZAPLVJbo2lQiEWiLHGDTY/OUyXhy6MeXZIa27GY+1c4rPiQao4UVFGgYl3XLE gWgYYSIyv8Ql/XIN6wyftUivB6+2Xe48pxOYF8L+HSi/ADbnba9U5xBmnvFTGOS59U 7XId22/k62/+Aj0RNEWxst3p13l3tL88wN5cbzGqL54lHaCbLGPWa/D7GfPB27J3Hb A8daExDkbK14Av2qAosbYuuBiOCoqeMS6TfQUndpPjfMxqG/Olew6Lu3OWGRbJpnpQ gxo+LofO/5HpGCexL3kNtWI6e+zGKDm9qLwR+l+0eflOq2uV2uge6TDbx4WrcC6fDc 5QGb9kAq4wwxA1/27JTSrG73jIv3tVAHZmtBkmalimmOU0hKgqbrxbmbufVOENQfet E6sivD6/FisOAjpPYt9faOsvOqx/ktdLy7ZroQku7O7+MclCw/dyDCuuCfwsTAkvOj RfcYsGdaJj5LwJ7WRPeqAtWk= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id D283923B1B8 for ; Sun, 11 Jun 2023 22:33:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1686522830; bh=phJjC9wzx+N38NwXJNdUaA29kzhzqZ0wyLkRHnJHl08=; h=Date:From:To:Subject; b=Pj5xzbB5kjqEuHgeSygd3X7Fo4plOSJD47qD0vTlpyc/xjNq0JBKlZwyeRarsiGRy bGPaS4FC66ofkoacxDJyeEBAK+BviQyTS7iWgVJr5+/fNCtm2PG9tf/tZ/Uux5hZf/ uV3scx1kt27lbV/0qP50tKEVTqum/ElW6QZxQFExAM2QhxPJDQo3cw9rO8WbMfUWhC VoOtK/f8dtAHFSQddCrIayQkNlU0iFz0WEQQ0a2iJdQLjw53804mTVIsKjHYOQYc36 5HcSiwk/WbiBLQD9ltiNdjUfAIH1UcPGX93gtBw+UdWrb51FfM3l9frNQi6x1sn+Ac pAutLrYBwnRY8C1QMV+nfGV7dR1HSNJ9hgyHv/QcKfk+ih3l+T7BGySeT6WJK+P+YT dWmYyjHOyJaRvd53bAIiiryIYLa6DWJfD8dXJPfncrzDTWQDkthfQQQliWkzwh6tmW BZ8SyxugjxmNSBp1VaLpe6O530XZ8riP22Y7SI7JJvj3MX4WXV6y5e5xB7GAQQ0xiI 1R3tWe9xSLjzTxWBTltyuKECyQbPgqAms3mhkk3wS/65VzKNqMGYVRPFXkOtraKgW+ GhJ0hjrBdwUsutTzw8sd+B7jOAHx2LU3a7mpIUz660NVlbkvmHQO8WQI7Dzu9MskF2 bNYJnEQhdi3rj8myQwSZwsnQ= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 367d3cc3 for ; Sun, 11 Jun 2023 22:33:50 +0000 (UTC) Date: Mon, 12 Jun 2023 00:33:50 +0200 From: wolf To: emacs-orgmode@gnu.org Subject: [BUG] Source block indentation does not work properly for yaml-mode [9.6.6 ( @ /home/user/.emacs.d/elpa/org-9.6.6/)] Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="occrYg8in3RGewWy" Content-Disposition: inline Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@wolfsnet.cz; helo=wolfsden.cz X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 14 Jun 2023 04:35:13 -0400 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686731777; 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=G5LketxnibiqZdG/Zph6fohxOLnxqI067/V/qGUs6/U=; b=FYG241sLMVQDATApiw/NkidfyG5rVhJFbJlAOytZh8L+D2EgpJ9P45KfinoUZuZZie8O9V p70kYhV9XrbqSEkYHcuQMJ8J7p3LLFTDuKbgHxIYdCki3XTGC23q/da6ZGjSrmmT5gL1iz fxnnoJsGS1EvNJLWeMaXzKpUaNTL7+CXqQe8mJcwImVt30CzsE5g8BfzirZlg0id1x71r5 gwnoCyaVmIUtqN8GMaOVGA5UE+rdPvseq2fFGDTyhDsN/RO217g5uKf+VZIKaiB5Z0rOjp oUcGxL+MuLQXkD4Gw0flJ9s0KxTpd8q7f0VeQAs5CoT7rmUp8URjdejLoiBMxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=CSw1Xoj1; dkim=pass header.d=wolfsden.cz header.s=mail header.b=Pj5xzbB5; dmarc=pass (policy=none) header.from=wolfsden.cz; 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-Seal: i=1; s=key1; d=yhetil.org; t=1686731777; a=rsa-sha256; cv=none; b=i4utRANTGC2KBMKq2p5QuojEpfu9IApmLrgAhfi6jeTdoQiswZ0/DKGBon4NvAo6zVXUtu PXBxE/e5bwsrHiV5P2S2eMtWcUXBtIgRYPYGwVYtnqek97V9U/S4J6I643Ww9YVuaZ963F bAuXJmnJYkvTL8G+HYGGGewUphnTYEdP1fMHxuCDmCDIyylZEpnhBjHiUijGY29n7X2JLY YRTlVpKGkhi89xt650wOn1y5nlDh4OnrKN09Cvb3TvfwM5QnIfsGH+Jh6kuuN2wiSB7ZQO vhb8Te/Lr2pI7n+QwPBb5EjAkJ7lKSfYqjK9xzkSVJzYgLOF5bBcabnMYlrmEw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=CSw1Xoj1; dkim=pass header.d=wolfsden.cz header.s=mail header.b=Pj5xzbB5; dmarc=pass (policy=none) header.from=wolfsden.cz; 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: 447B53619B X-Spam-Score: -5.52 X-TUID: Esb3ZHLiG1fM --occrYg8in3RGewWy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, when editing a source block of yaml type, the indentation does not work pro= perly (tabs are used instead of spaces). I am not sure if org or yaml-mode are t= he cause, however since RET is bound to org-return, I am reporting it here fir= st. I did test it inside a container with nothing but emacs, so no user configuration is involved at all. Reproduction steps: 1. Have org-mode and yaml-mode installed. 2. C-x C-f /tmp/x.org RET 3. Type in: #+begin_src yaml a: b: c: d: #+end_src After each line, press RET to go to the next one. RET is bound to org-retu= rn. Notice that when you press RET after `c:', emacs will insert a TAB characte= r, instead of expected 8 spaces. When editing a yaml document in yaml-mode (either a separate document, or u= sing the C-c '), the indentation works properly. yaml-mode: version 0.0.15 (but I did test the latest from melpa with same r= esult) Emacs : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37= , cairo version 1.16.0) Package: Org mode version 9.6.6 ( @ /home/wolf/.emacs.d/elpa/org-9.6.6/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-link-elisp-confirm-function 'yes-or-no-p org-bibtex-headline-format-function #[257 "\300^A\236A\207" [:title] 3 "\n= \n(fn ENTRY)"] org-persist-after-read-hook '(org-element--cache-persist-after-read) org-export-before-parsing-hook '(org-attach-expand-links) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-he= ader-arg-expand) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lin= es org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-fold-show-all appen= d local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-a= ll append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-confirm-shell-link-function 'yes-or-no-p outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-speed-command-hook '(org-speed-command-activate org-babel-speed-comman= d-activate) org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal org-persist-before-write-hook '(org-element--cache-persist-before-write) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-a= rg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-lin= k) ("rmail" :follow org-rmail-open :store org-rmail-sto= re-link) ("mhe" :follow org-mhe-open :store org-mhe-store-lin= k) ("irc" :follow org-irc-visit :store org-irc-store-li= nk :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link :insert-description org-info-description-as-command) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :st= ore org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-= store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-expor= t :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-do= i-export) ("file+sys") ("file+emacs") ("shell" :follow org-lin= k--open-shell) ("news" :follow #[514 "\301\300\302^DQ^B\"\207" ["news" browse-url = ":"] 6 "\n\n(fn URL ARG)"] ) ("mailto" :follow #[514 "\301\300\302^DQ^B\"\207" ["mailto" browse-ur= l ":"] 6 "\n\n(fn URL ARG)"] ) ("https" :follow #[514 "\301\300\302^DQ^B\"\207" ["https" browse-url= ":"] 6 "\n\n(fn URL ARG)"] ) ("http" :follow #[514 "\301\300\302^DQ^B\"\207" ["http" browse-url = ":"] 6 "\n\n(fn URL ARG)"] ) ("ftp" :follow #[514 "\301\300\302^DQ^B\"\207" ["ftp" browse-url "= :"] 6 "\n\n(fn URL ARG)"] ) ("help" :follow org-link--open-help :store org-link-= -store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-metaup-hook '(org-babel-load-in-session-maybe) ) --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --occrYg8in3RGewWy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmSGS84ACgkQL7/ufbZ/ wamkYBAAiwhbsFOWJwFknAiSFq9LqIV1dvsUN+I64vEOraWgMxJ5U40rJcVqc/kF CL08FhrtJjLqIc82lGq/kDUh3GkyEi55I379TmP/4/+rynYjZnncy3mItFEFx18A pq4Fr0WuZe4iLUbnFdqqDeOoX17C5/aF+Ng8pwoPo9q3pDhu5XpgBLj1nd9P8x9u 6RuenYUO0eb9lzyovE7QTC0xlHL5K2MgzHrKNfW9CD41llbBrz83EY8nMARB0ndU TMmZpuTiNrqLjQfVthB1zu0WMjpfantv3kCsYw5fBm/DUdysZaAM24d+pBWgO26u 1quV9IxkKXhiADFvYEpc+2jKs2Nt4wMglvo0fcfHCvZatvwSsKH+8x3kz50bzkfW 12NG/l7alMxYTSJkut5BJsUyjG3i4UDaVI454mcSSKhtvf9X9bx35r7s8VJ4+MMj YhucE2OUjns66RfP2jWPrCVjcQs7MQaSm/BwDuG6TFdeBEm2rWHj/FmA56j2uN8f KTcp/K5R3P5uYNWk7i84lKQjqIp+En6LHcQCcmdggj0pd+PTcpND2bU8FwUQDMEa ATMGtcGBQ1C8Acko2NuQMx+hKH1U5Cot//SowtuXSyEakE1Z2q7pAimnikDCXQq2 5MQMhSqQO/N82MblROYMmwPOukR0fBOpjv3dljme6I9NQmiR0Mo= =RMN5 -----END PGP SIGNATURE----- --occrYg8in3RGewWy--