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 ms0.migadu.com with LMTPS id 2BJ0AKLBvWF5+QAAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 12:10:26 +0100 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 cJLUN6HBvWHYFQAA1q6Kng (envelope-from ) for ; Sat, 18 Dec 2021 11:10:25 +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 B9AD1477C for ; Sat, 18 Dec 2021 12:10:25 +0100 (CET) Received: from localhost ([::1]:56338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myXbc-00008o-F5 for larch@yhetil.org; Sat, 18 Dec 2021 06:10:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myXbD-00008d-Bk for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 06:09:59 -0500 Received: from mout01.posteo.de ([185.67.36.65]:48521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myXb8-0004h0-5B for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 06:09:59 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 98043240026 for ; Sat, 18 Dec 2021 12:09:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1639825791; bh=p7puJnMTEFwQkq7dWmFpYxgjByRkiGlwVii0GMkaq9w=; h=From:To:Cc:Subject:Date:From; b=IP3J2u5bKteVhWmnbAcSypaWBvYAQO0X1d0s7itJqPxDLXD/xfYTU2YMZ+bmdxJKZ XFfMKl9dM3MTNUw7qXjDF243k8pYImRGv1ljsF/3krfeMBD0w493QJJwWjcdrQzNjR mvRsODeFeIV+ELYsst428hU3HZnrgd84J6qsi2PvExSnZrUFLn0lUkou/1eW/Tbssv i1vrOajNXpDv2qNE+fCr9uPnrfNp2jf7/Fd+uYMAGKuRWDIW0YjqZWOua/LfT4QuKM dexwCUpkSZvlAdZ90s9Y8aW7bQs5gQ6fihy4Quw7jWOu1ZSCajnf/9iJF+xWGqId+E vJTwFKoMqsBzg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JGNRL5SXzz6tpk; Sat, 18 Dec 2021 12:09:50 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Uwe Brauer Subject: Re: format/fill of text in a cell in tables References: <874k78evcr.fsf@localhost> <87mtl0b1u2.fsf@gmail.com> <87pmpufk43.fsf@mat.ucm.es> Date: Sat, 18 Dec 2021 11:09:48 +0000 In-Reply-To: <87pmpufk43.fsf@mat.ucm.es> (Uwe Brauer's message of "Sat, 18 Dec 2021 08:27:40 +0100") Message-ID: <877dc2goeb.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@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: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639825825; 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=rfBYBv+YVw1Ij3exOMXq+F173zbOJVbPNl8N9Qz5pU0=; b=kJBuv1jU0R4eLECHxAucDvlGkt3nXn6mNMdcA4rbuV3Gf2mulVYQL/d8/y3jUT+BhNRNwy rin/0lHNO6d7CrZwk3WWmVqT1gLQNV/uzVxakH+jjzNxv3GZGT0ZtW4VC+BSBFYdZMiLoq tqAHdazu/SiRJil9UbPNAFxwxIHRoO48r9o0zZV+/T8OWgtbULMP6E6B1YZes8o7OQF+kM psEij3IRE92pJP3tccIgg1Hh729MmGw2rKHzaYKWQuQPs6aWrcpdQQ/ntH6RbKfb2FMMoe DQGdGWL3djdNeRHlwWz1N8j2fh14hHFaNYy0nDj0c5rbAY0z0BX5dvFexhVPhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639825825; a=rsa-sha256; cv=none; b=VyUSrdsqbFm0rcuEIof4uA6/HYTTQ8Y9w+NV8xFcS7d3d6IpRTFER7Yg2tYXRfbGm98yth jKe/Qf1qUnvxzqntA34YUhF4U6qvCvZWqKNv5LkdlYFE0i7SKqPQZoIAnXwaIYla8Bfkus KJi0iTH9weAbt202hzIbhqIOO2isGX1jRFK/W0Bz3QvGhhO2gZfh/bIW92jP5844WnmnJ0 NQDjBG6p3rizb7CXm88qm1IUtDUmEXMkSm5mWZXSVdcbPIAtJrqbjYx8ZIUvc9et/673Ry OqVEuMtD+lWdHScyVep1stRQ8rniT1VQ4ce3qjyDvwDbSvI69OeK7gCBFTExZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IP3J2u5b; 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-Spam-Score: -5.70 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IP3J2u5b; 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-Queue-Id: B9AD1477C X-Spam-Score: -5.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: gn2f/LY3y75N Uwe Brauer writes: > I think, one attempt could be to use org-edit-special, to edit a cell, > type the text in a temporary buffer, fill it and then return to the table. > > That seems so obvious that I think there might be technical problems, > because otherwise it would have been implemented already. I proposed that here the last time a similar discussion came up, but now I don't think it's a good idea. I believe the root problem is that the visual representation of the tables in Org is line oriented. Cells with a lot of content (paragraphs, for example) should be shrunken, because the content is a single line; when editing each cell in its special buffer, that content would have to be converted into paragraphs, and when saving the edition buffer, convert it back to a single line again. I tried to write something similar for my personal use, but it is very tricky. Maybe such an implementation would work better for AUCTeX, since tables in LaTeX are not line oriented. About a possible solution for Org regarding the topic of 'complex' tables, I have ended up giving up. I think it is better to create the complex tables in raw LaTeX. To export them to HTML you could perhaps think of a LaTeX block that would return the results compiling with tex4ht (https://ctan.org/pkg/tex4ht?lang=en) instead of LaTeX. But I don't know if it would work. The point is that anything other than a simple and clean table (visually speaking) in Org, is to enter the land of the tricks. Best regards, Juan Manuel