From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jude DaShiell Newsgroups: gmane.emacs.help Subject: Re: rcd-box.el for box drawings and tables Date: Tue, 8 Nov 2022 10:42:27 -0500 Message-ID: <4c6396a5-24c8-37c3-ef9e-768dc99c38e8@panix.com> References: <87r0yi4qly.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13842"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Akib Azmain Turja , Christopher Dimech , Help Gnu Emacs To: Heime , Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 08 16:43:10 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1osQko-0003N0-8R for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Nov 2022 16:43:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osQkJ-0006Ir-3X; Tue, 08 Nov 2022 10:42:39 -0500 Original-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 1osQkC-0006HX-8N for help-gnu-emacs@gnu.org; Tue, 08 Nov 2022 10:42:32 -0500 Original-Received: from mailbackend.panix.com ([166.84.1.89]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osQkA-0003g9-LR for help-gnu-emacs@gnu.org; Tue, 08 Nov 2022 10:42:32 -0500 Original-Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mailbackend.panix.com (Postfix) with ESMTP id 4N6C5v3K7Fz3sW3; Tue, 8 Nov 2022 10:42:27 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1667922147; bh=fz+d1/d5PfcMIBieXYd/6LVaBFc9QlN/W4PY/1TZgCk=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=uSNX0Fb1a5waZ2eyBCC2dWrFqQpaaK+vTXHsu71NX65xg4T/En2tQzGOPG4zZ86+J u/S1gKnbJPVmEErTEMixC0ptkTAKd3rlw/8ROT2Z+aivS8GwVeCIqyfAQwdK2sHghD dbgLgsixultN8o7FmKk0jM1NoRNVc6D/GfNpHt84= Original-Received: by panix1.panix.com (Postfix, from userid 20712) id 4N6C5v3035zcbc; Tue, 8 Nov 2022 10:42:27 -0500 (EST) Original-Received: from localhost (localhost [127.0.0.1]) by panix1.panix.com (Postfix) with ESMTP id 4N6C5v2XkJzcbC; Tue, 8 Nov 2022 10:42:27 -0500 (EST) In-Reply-To: Received-SPF: pass client-ip=166.84.1.89; envelope-from=jdashiel@panix.com; helo=mailbackend.panix.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140839 Archived-At: I examined the first table and the border character in all cases was spoken as a ? in the screen reader I use. Easy enough to understand. Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Tue, 8 Nov 2022, Heime wrote: > > ------- Original Message ------- > On Tuesday, November 8th, 2022 at 6:39 AM, Jean Louis wrote: > > > > Here is my attempt to generate Unicode tables: > > https://hyperscope.link/7/3/9/8/1/Emacs-Lisp-rcd-box-el-package-for-table-drawings-73981.html > > > > (rcd-box-table '(("Transport to Makindye" 1 20.00) > > ("Mobile charges" 1 2000)) > > '("Description" "Quantity" "Subtotal") > > '("left" "center" "right")) ? " > > ????????????????????????????????????????????????????????????????????????? > > ? Description ? Quantity ? Subtotal ? > > ????????????????????????????????????????????????????????????????????????? > > ? Transport to Makindye ? 1 ? 20.0 ? > > ????????????????????????????????????????????????????????????????????????? > > ? Mobile charges ? 1 ? 2000 ? > > ????????????????????????????????????????????????????????????????????????? > > > > " > > > > (rcd-box-table '((1 2 3))) ? " > > ????????????? > > ? 1 ? 2 ? 3 ? > > ????????????? > > > > " > > > > (rcd-box-table '((1 2 3 "Hello"))) ? " > > ????????????????????????????????? > > ? 1 ? 2 ? 3 ? Hello ? > > ????????????????????????????????? > > > > " > > > > (rcd-box-table '((1 2 3 "Hello")) nil "center") ? " > > ????????????????????????????????? > > ? 1 ? 2 ? 3 ? Hello ? > > ????????????????????????????????? > > > > " > > > > > > (rcd-box-table '((1 2 3 "Hello")) nil '("left" "right" "right" "center")) ? " > > ????????????????????????????????? > > ? 1 ? 2 ? 3 ? Hello ? > > ????????????????????????????????? > > > > " > > > > Major bug is that cell width is currently calculated by the > > longest cell length. Later I will calculcate it by column. > > > > I also wish to add the FOOTER option that may include functions > > to calculate column values. > > > > (rcd-box-table '(("Good bye for now"))) ? " > > ???????????????????? > > ? Good bye for now ? > > ???????????????????? > > > > " > > You should consider the possibility when someone does not want a separator between rows. > For instance I did like the idea of introducing a separator with "|--\n") > >