From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexis Roda Newsgroups: gmane.emacs.help Subject: Re: Enclosing text in a box Date: Wed, 16 Nov 2022 14:34:09 +0100 Message-ID: References: <_AODCZ2cNjiSAkIvdrGzDgeSNSWqJoJ9xfXn-zFenyY-yTUYx-Ijx0k4-Lq46rN4CjdkyIrzIBD1h4YY23BAP089R0Tg0kzM9MOUnaEOFrs=@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29898"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 16 14:34:47 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 1ovIYx-0007VJ-M1 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Nov 2022 14:34:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovIYc-0001td-Um; Wed, 16 Nov 2022 08:34:26 -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 1ovIYb-0001tJ-WF for help-gnu-emacs@gnu.org; Wed, 16 Nov 2022 08:34:26 -0500 Original-Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovIYa-0004Zz-8B for help-gnu-emacs@gnu.org; Wed, 16 Nov 2022 08:34:25 -0500 Original-Received: by mail-lf1-x12f.google.com with SMTP id g12so29566816lfh.3 for ; Wed, 16 Nov 2022 05:34:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Kh6GpsEAj8wHxYdlSbmxzkqam68Q/roWQJNeIpNPQ50=; b=bh5COfBlFWUH800PUMX5DzHgYolOEjbKySOuU73n3V8Tf/1+NYjQwCK61aRrqFfdRw Mhye32MIQ+Vu4GomkmVisIKpWn3TmLXHM91cjU2R0H8c38SOntnY4lrf7T4nvQW37l7O 49eiyUwUtglnnRNK8LoynymNQrbFlXoPm2wyGVxKHOclZjrdS0DQI9qTblNF04M+Z8fx DuLt2PNyetBB8OouXBqipRRb0eU6+dO50eUl+GLPYtLWaoihVUS3Zg2IfxvfOMRlvE3b h4yUHlrvlDb74tx5r4lZa2uz0Mtz6x56/RVAacy/XmZatAe/cbf6Vpcm/XOvHn7cnSBE VOtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Kh6GpsEAj8wHxYdlSbmxzkqam68Q/roWQJNeIpNPQ50=; b=sM61kACy0EVvXyI34kSB1vHAVyOZG3EkSjC0flsgRbvpvSDDhomqKd2iHY08oXLweh iBozcQg9bQShcEtmg6B5hmZQa/6lLIBdU2gYipcbz4N2D0pf3nHvwbyE0m5tAKscu7yf JABjR+zuFPjjZ+DsMlA8jtHCsGG6/YuhG02X4x+BUPQMgMHCSfjVly15AMGH6m4b7w5N ZUwBbH6mpcofXCYWB02Vxi+13+zLfCAasi0hSKiuXAbr/xiP72C3aGfczIjyECsZ4Rrm We2kRQlrttjwa5ElfMhVWUQfBpbMsFjtUNMvfYQMItLFOu4lkIuJ6gAs2qFbZ1xGXj+7 fMIQ== X-Gm-Message-State: ANoB5plxPNbJd+uyMWCy4DR+yWfJCkOHJNJJ5lqPkEEs5SLgYpV0pF/7 g5muCSynFMrLGhECdb2kpYuzsvhMV1wr0frU0W8= X-Google-Smtp-Source: AA0mqf7PPE/QW4rUJS++fSXI+VSuSn4cCfAStEOCygLMTox+ecadG/I7n3/1CDg1Keo43eyOhOncTyh+Kauy88XmEZU= X-Received: by 2002:a05:6512:287:b0:4b0:efed:e3a8 with SMTP id j7-20020a056512028700b004b0efede3a8mr6880138lfp.650.1668605660917; Wed, 16 Nov 2022 05:34:20 -0800 (PST) In-Reply-To: <_AODCZ2cNjiSAkIvdrGzDgeSNSWqJoJ9xfXn-zFenyY-yTUYx-Ijx0k4-Lq46rN4CjdkyIrzIBD1h4YY23BAP089R0Tg0kzM9MOUnaEOFrs=@protonmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=alexis.roda.villalonga@gmail.com; helo=mail-lf1-x12f.google.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:140998 Archived-At: You were almost there, (make-string (length text") ?=3D) https://www.gnu.org/software/emacs/manual/html_node/elisp/Creating-Strings.= html Missatge de Heime del dia dc., 16 de nov. 2022 a les 14:09: > > ------- Original Message ------- > On Wednesday, November 16th, 2022 at 12:47 PM, Heime < > heimeborgia@protonmail.com> wrote: > > > > Would like to enclose some text in a box? The box has to automatically > adjust its size > > according to the size of the text. > > > > (insert "=E2=95=94=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=97\n") > > (insert (concat "=E2=95=91" text "=E2=95=91\n" )) > > (insert "=E2=95=9A=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95=90=E2=95= =90=E2=95=9D" ) > > Is there a repeat character in elisp? > > Then I could do > > (repeat-string (length text) "=E2=95=90") > > > > >