From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IPlzMToiqWQFSAAASxT56A (envelope-from ) for ; Sat, 08 Jul 2023 10:45:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +CpXMDoiqWTgYwAAG6o9tA (envelope-from ) for ; Sat, 08 Jul 2023 10:45:46 +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 63A7755EF2 for ; Sat, 8 Jul 2023 10:45:46 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=etcPUqWJ; 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=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688805946; 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: 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=BPu5jnQErEd+YSHc+8LCZkLxyitwdWf8nPxZc/N7+BQ=; b=OyJcSET72h9vRmcdIySmkaMrGNkxIYW1FyZmQWWCoTK+0he+BqDjh9tfRrrj4npi0GoQzH TChnsGtzudqauloVoKtgARRlzNYJgqp8vWJJLsB2y4ip8v1AVw67Cr6/htxBh5G/O4bNtw zB7iySN2CkMBnuiWizGbS8SBRky+GSMuN+gODQFR519rfU8mLzySvCjj0OgCsTHDMLAFT+ EqN1ogXgAE8nE3TKtxY6QaCqh7ELjX61PM0W+CiIfVrSbB6GlKl0QgwcyclPBpE71o+C14 dUNC1X4Pg7+owroi8AGzVRTSXHWQKuU6pyrbUEtyHRJZzmkRgVc1AASxJShRDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688805946; a=rsa-sha256; cv=none; b=Dvng6//899EMyCTCWMrAYpcP+SmqKwJIt202TSwvJueURWqW5PBpYYIp+ClyQ1pZydxbMF jdWwJaS3+5+eoWFGRJ0dPQ4miABiaDwYLyLWVvgRsi5OIbUWsPxaKMM9uRMoL3I+HOJMvX Dw3YnRX22SlbLp35G12K4Lb9f+9uw5JST0bpevfp0s34X6ve88VKVauMgGzQzQCP57qel1 LR1xdSJbHDbNr5xvZyYDvKyaLZFOPZ/kYhXFrtYPR1oYa9IOFMRMvOT1ij5/cKHdAsFAJ/ dMZtvh5QS4dTy3YzPkzscXKaA4Wy54clLyPM7kWmzEtRz6xcRqm8aS5stfa7pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=etcPUqWJ; 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=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qI3Yi-0001W6-Gf; Sat, 08 Jul 2023 04:44:52 -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 1qI3Yg-0001Vq-Tb for emacs-orgmode@gnu.org; Sat, 08 Jul 2023 04:44:50 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qI3Yf-0008Qq-7S for emacs-orgmode@gnu.org; Sat, 08 Jul 2023 04:44:50 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DD613240027 for ; Sat, 8 Jul 2023 10:44:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1688805887; bh=uY5vpPdnienNUPhVEcUnNAiE5PLC1nHFUAF6nXPbGis=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=etcPUqWJRaRXzw/V9pVxY8rFMtwZVcwU/+O45T277V9c7lBJ+/5IACfwNda3UpyVD 5M05JsBRSaE3HeVRo1eYd6lJkdRDjZKmPy4nM+79DAoHse4yF5vcehDIZxQxIPrg5K OILkXWXLx8j9f/R5dJL91HRH6BGscmKOalRyMj/qllpM/pJUF2ccLq0cFXr8nq6lWM e/6Bz/52g/5wWa1hE7IWaXdvGgXMJ6jMCjvZEWXREd5gvkgKRs3v//SaGBZAv951pV aOYoJ1LwC4xUQpAmEnXGsREUNGsE+P442Xe3N8gYaLOM0LZUYDr49oqCBJgoE1Dh8h S6ILVOd4al0pw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QykNH1w3lz9rxG; Sat, 8 Jul 2023 10:44:47 +0200 (CEST) From: Ihor Radchenko To: sebastien.miquel@posteo.eu Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Source block indentation does not work properly for yaml-mode [9.6.6 ( @ /home/user/.emacs.d/elpa/org-9.6.6/)] In-Reply-To: <685a46ca-07c4-d7ad-e710-b4ae151e43fe@posteo.eu> References: <274bbd61-790d-8e19-d3a0-0793126c3bb0@posteo.eu> <87cz1itp8k.fsf@localhost> <1a97917c-bbab-4d7f-b629-0c84807448f2@posteo.eu> <87a5wmtmug.fsf@localhost> <87o7l0vt5z.fsf@localhost> <1d145455-2047-2b7a-8222-8eadc2529c8c@posteo.eu> <87edltqiox.fsf@localhost> <87sfa7opo9.fsf@localhost> <4eb9a5ad-2d91-15ae-ccd9-894c0303cca2@posteo.eu> <874jml8ggm.fsf@localhost> <8d6dd95e-5bce-44c3-638a-52351b69cc66@posteo.eu> <87cz19gn6i.fsf@localhost> <40b8bf4b-2c1c-ad5b-7109-e0684973bf81@posteo.eu> <87a5wcez7e.fsf@localhost> <87fs60xebo.fsf@localhost> <874jmgxd06.fsf@localhost> <685a46ca-07c4-d7ad-e710-b4ae151e43fe@posteo.eu> Date: Sat, 08 Jul 2023 08:44:50 +0000 Message-ID: <87r0piaj25.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 X-Migadu-Spam-Score: -7.74 X-Spam-Score: -7.74 X-Migadu-Queue-Id: 63A7755EF2 X-Migadu-Scanner: mx2.migadu.com X-TUID: O9KhQ8uiOr9C S=C3=A9bastien Miquel writes: > Ihor Radchenko writes: >> Sebastien, it looks like one of the tests is failing on the older Emacs: >> https://builds.sr.ht/~bzg/job/1020247 > > Does this specify anywhere what version of emacs it is using ? Yup. In the full log https://builds.sr.ht/query/log/1020247/build/log It is Emacs 28.2. Older Emacs versions are also failing. >> Most likely, because `current-column' did not take into account 'display >> property until recently. > > Here's a workaround. I think I found what emacs commit makes it work, > but I haven't been able to test it with an older emacs version. We should probably reserve the workaround to Emacs 28 and older and eventually remove it when Org drops Emacs 28 support. > Subject: [PATCH] test-org-src.el: Work around `current-column' bug in old= er > emacs > > * testing/lisp/test-org-src.el (test-org-src/indented-blocks): Work > around `current-column' not working in the presence of display strings > in older emacs. I tested using Emacs 28 and 27 and your patch is passing all the tests. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at