From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Status of Submitted Patches Date: Sun, 20 May 2018 15:46:28 +0200 Message-ID: <87603iwibv.fsf@elephly.net> References: <8ea5d026-fab9-7b12-198e-610ad7743cb2@swecha.net> <871sfxev9w.fsf@elephly.net> <7626275c-3eee-bb05-ab9d-4c88ec6f0329@swecha.net> <87r2nvjte6.fsf@elephly.net> <5ab51417-b635-9725-9f48-3bc3f9b61fdf@swecha.net> <87tvsko2wd.fsf@elephly.net> <7290013c-990d-3f7d-d8db-38e090ed766a@swecha.net> <87zi28kt82.fsf@elephly.net> <8573e97d-d107-cde6-cd17-35f4ef6d2de3@swecha.net> <87k1takumm.fsf@elephly.net> <87o9hycwl6.fsf@elephly.net> <87r2mhdeap.fsf@elephly.net> <618c131c-6ba6-e525-aefc-72acca1c910f@swecha.net> <87a7suwtp7.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKOgQ-0007DA-2G for guix-devel@gnu.org; Sun, 20 May 2018 09:47:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKOgM-0006dE-8v for guix-devel@gnu.org; Sun, 20 May 2018 09:47:34 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fKOgM-0006ck-05 for guix-devel@gnu.org; Sun, 20 May 2018 09:47:30 -0400 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?utf-8?Q?G=C3=A1bor?= Boskovits Cc: Sahitihi , Guix-devel G=C3=A1bor Boskovits writes: > 2018-05-20 11:40 GMT+02:00 Ricardo Wurmus : > >> >> Hi Sahithi, >> >> >> While this achieves the goal for a single character it does not >> >> constitute a custom port. Have you read the documentation for >> >> =E2=80=9Cmake-custom-port=E2=80=9D in the Guile manual? >> > >> > I have tried with the following code for, G=C3=A1bor helped me in proc= ess [=E2=80=A6] >> >> Oh, I haven=E2=80=99t seen those emails on the mailing list. Please kee= p the >> discussion on the mailing list so that all mentors and the community can >> comment. >> >> > The discussion was on IRC in a 1:1 conversation. The task Sahitihi wanted > to achieve was to create a soft-port capitalizing all text sent to it. I > helped her > to achieve that. I was thinking about mailing you the details, but it was > only a > few lines of code. I will also make sure to keep you in the circuit in th= e > future. Ah, okay. No worries. I wasn=E2=80=99t on IRC most of last week because I= was travelling. So one way of doing this is to use a soft port and use it as the current output port (using parameterize) when colorization is enabled; another way is to do this where the code is supposed to be displayed. In the first method the decision to colorize what and how is done by the port procedures; in the second approach it=E2=80=99s done right before the strin= g is passed to =E2=80=9Cformat=E2=80=9D or =E2=80=9Cdisplay=E2=80=9D. -- Ricardo