From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ED3dIJnmrmTYJQAASxT56A (envelope-from ) for ; Wed, 12 Jul 2023 19:44:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4LzJIJnmrmRTHgAAauVa8A (envelope-from ) for ; Wed, 12 Jul 2023 19:44:57 +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 BB9584A94F for ; Wed, 12 Jul 2023 19:44:56 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MhyTidFc; 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=1689183897; 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=rv5gN6liV0sB03rgCL61Tnnzejoh6VkwffghtvhpPN4=; b=niMbkub4Npnq42s8D8YK8nmoFoNcG8zsVonsM4mvPYalSe21/jXPwBN6cWq2FpK3Y542K+ DdJaHWDyKNEiEwweKqNc7/M0OhDjKrGbcXID7+KRd5AVTveXjiMBeXonst9IjtrGZFWv/i psU+QQgUNgXoBSo8Ei1m8PU4V5SVQQpPbSniE7bbTsdUe6TD8HZPyT4Ppo5ccg9Jy9cOSB BudcDfyZOxGVSIsdihvlML88iFbhG03gqgizJKmQD1UT0JHNePI6N1Bd4xMy0LrDKKGgmf 43p1ieYFk4btL+pvlmUtIZgdH3r/uUyCHxXmEtWLGY8Ims3E3h85wVGfFQ8/Kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MhyTidFc; 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-Seal: i=1; s=key1; d=yhetil.org; t=1689183897; a=rsa-sha256; cv=none; b=CqZ9v+Wxpzqx638KD8x8BUnf9nyVECFLpcJKDIKLudjhycht04acJJUw2sznJrQzuyLMcX VEnc6+rLCIi3hBLtxG5f8hnLOtwDoHbuB1zQH6+gNPxYxe3JxJEgRLmo7m6c3r84FywA0C HSfWEosWRm4YcN//LF3BIZRb+SyXOze8aQo8nz8KqgB/YdMY42xLMKONMvlx1iRPT3BdwH 161UhctI6pZzgLbdW8KGjXkjcvqX7tvXWPQOGToHaGXl5aCt2YmVaAPaHWlGVgdAESRibw Vf7exgXj+nc+XlRqqKuC2+qu3MUe43eYnTtdh3S5zzrzbspD0Onx8rInF158dA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJdsW-0002OQ-T4; Wed, 12 Jul 2023 13:43: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 1qJdsU-0002OB-Ca for emacs-orgmode@gnu.org; Wed, 12 Jul 2023 13:43: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 1qJdsP-0006X5-EU for emacs-orgmode@gnu.org; Wed, 12 Jul 2023 13:43:50 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5478A240029 for ; Wed, 12 Jul 2023 19:43:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689183820; bh=p1BPErHPoFM0dr3DdYI0KUf20kV5NB54D82fSEQ5flA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version: Content-Disposition:From; b=MhyTidFcbMCCHErqrg/oghRE5hYY6WN5VAwR+1Ap3dxp4wBoPriU2uf16hXkM/cEo G2lpO1M7Ec08nIwhTGKN3LagarxG6upJvCrw0/VVZbqV+L6Y/YzWGS0/w2L83Y4t5E I7ow47fobFuAflSqnU2l693Vx4phzPGvLEi7P10inLnKg8jr9rv5SrrpaNCDH3Gf6v PNRh40lPABa+f1boVdX9cLZVswzR1b/6ferHa0lFmewVEj3ZX2TTXsoTECFAIfJZ1p fbGngEly4DG5aJIL+mHmq9+3cXg/zR9GNPNEX3wChksiUqIORmr1ECxUKstQ3uJnOB nFipf+5v8z4Ew== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R1Q8C3JTfz6tsB; Wed, 12 Jul 2023 19:43:39 +0200 (CEST) Date: Wed, 12 Jul 2023 17:43:38 +0000 From: Hammer Hu To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)] Message-ID: References: <87mt027klw.fsf@localhost> <44rsvv2dwp2cnpbikqs7kysct5ylsxivm3scirj55efm7qvwat@flec34dbbdbb> <87fs5u7fcp.fsf@localhost> <87cz0y7agn.fsf@localhost> <87r0pd5xmt.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87r0pd5xmt.fsf@localhost> Received-SPF: pass client-ip=185.67.36.65; envelope-from=hammer@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-Spam-Score: -9.29 X-Migadu-Queue-Id: BB9584A94F X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -9.29 X-TUID: hVg/SCe4b096 When indent-region, instead of getting: --- ** heading text 1 #+begin_quote block #+end_quote text 2 --- we allow the it to be: --- ** heading text 1 #+begin_quote block #+end_quote text 2 --- It makes it easy to copy code snippets from org file without emacs. I put together casual numerical codes with other research records in org files and have them synced to cloud drive. So sometimes when I need to extract codes from org files and don't have access to a computer with emacs, I either bear with messy codes or adjust then manually. Even worse, when python codes is in need, it would be a disaster. Best, --------------------------------------------- From: Ihor Radchenko Sent: 12.07.2023 08:42 To: Hammer Hu Subject: Re: [BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)] Hammer Hu writes: > Thanks for your accommodations. Is it possible to introduce a feature to align > all blocks to the begining to the lines when indenting? I thing it helps when > copying contents from a org file without emacs installed. May you elaborate? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at