From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mJicFISQKWSdawAASxT56A (envelope-from ) for ; Sun, 02 Apr 2023 16:26:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KMMUFISQKWSABgEAauVa8A (envelope-from ) for ; Sun, 02 Apr 2023 16:26:12 +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 1D90123ACA for ; Sun, 2 Apr 2023 16:26:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piye2-0002yd-Fn; Sun, 02 Apr 2023 10:25:22 -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 1piydx-0002yO-F4 for emacs-orgmode@gnu.org; Sun, 02 Apr 2023 10:25:17 -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 1piydv-00008B-A3 for emacs-orgmode@gnu.org; Sun, 02 Apr 2023 10:25:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C5A382402FA for ; Sun, 2 Apr 2023 16:25:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1680445509; bh=yKnWzKs6K2z/uI4SftK8VK2ui8DVsdx2z0IeGojNK9g=; h=From:To:Cc:Subject:Date:From; b=rjv7+x/P4KRWif+LSl6z4ikJ3Fcb7apGiRGHeiXj1j0KOQ7riWsbB8oG2aEvNE8UB qEFQrze4F9FK1vpaOvCpzvqO86luekcQ2azU+b3TEceACVnAe3Pvn7vNsAczSjPH8x sadviDVvk/E+inEppNEAI+P2WwXjyA1/5rfYUeCeHWdyI4uqLi6abV3Bqi/SkickuU CwpBVD6zqcN26lNlSfvczOIYy7qvcxEOqY8j1wQNp2zqO38yNrxBvvbxJ37MrwNEeM /NtvjrnQ1isRwOKOBSQq9o6StyiJDxEGqklpiSzDJKBAexNcpKkrWEdNYYgKV6ci/p bYEdXJz6gQw8w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PqGWn2fLhz6tsf; Sun, 2 Apr 2023 16:25:09 +0200 (CEST) From: Ihor Radchenko To: David Lukes Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] ox-odt: Prevent auto-formatting in export buffers In-Reply-To: <87zg8axp30.fsf@localhost> References: <20221002035931.12191-1-dafydd.lukes@gmail.com> <87zg8axp30.fsf@localhost> Date: Sun, 02 Apr 2023 14:27:31 +0000 Message-ID: <87bkk6l5po.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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_H2=-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680445572; a=rsa-sha256; cv=none; b=eVKc8SKtoIZyQCIQUdPY291oA6yx0u9Qvinr5xTnTKhVW78Ud1F+qIEZAbm0A4xPnI22Fo L3puNnTPDfTxxHcFqDZzVKzD+mxgOOUeRvh982+LPusv72uac0Vj4ernK4vJk2ru0W3Hjs KnFh+ubD71mqMH5jld3mbfOZgR698AlcvnH7MYmYWJvm65Kd5sbrXU9xgtKcnSHvbLdxoA Y8lB9NBmAxRpSBQQPyP232rfG1GTCq4evdG95MxWlwQ5ggD3mpcZHp8prOwgjOsuBsZ0+5 i0ff1W9oE5gCkOF5WkSu88dRV/jRLP99i9r6e5DkPkEIV0yWD8V5QTXkCQgc4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="rjv7+x/P"; 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=1680445572; 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=QApVcIXpqTiw0x7RpDL4iHcWwi9MjnUdagetFjNPftI=; b=EHYxdFhCN6RpJp15UqFcSvZmv7j3FbMwrUazhG66a+5xad48JzIjiX/syvxppBzYvj04I6 FFsSXXnrPwLkhYdqSFQVtDJPdg2CH2pIiLWRbZrRwEqhQxYtK1F38RNRRUcsFCbNvIIRxy fOUnoFUGVF8G2/udNuZX4I9R0vw1swqmesguqR0swE0P5mqeNzeWiMhHRtx8nCMQlp8FYS s/CmiBkChKGRN04ZHrGOUEIirWXlC5hZ9dA/hnlM0kkqYIo81Ce2xHSkaGB0H2wU3egEWy QjmW97USCJ2YjhwXCayZxnwvZUCHC2WA72dMFKsBAecT0EtNiqa8VPNT6AMCPw== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="rjv7+x/P"; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.34 X-Spam-Score: -6.34 X-Migadu-Queue-Id: 1D90123ACA X-TUID: aO/IQJPoV0h9 Ihor Radchenko writes: > See the attached patch where I applied the idea across Org, where it > made sense. Note that I did not alter `org-odt--export-wrap' because > `save-buffer' there is applied only when XML files are opened as buffers > in Emacs, presumably manually. Interactive `save-buffer' makes sense > then. (Though maybe that code is not needed at all, IDK) > > Please let me know if there are any objections. Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2289739ed -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at