From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_FROM, RCVD_IN_DNSWL_NONE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 829 invoked from network); 4 Dec 2020 08:37:34 -0000 Received: from ewsd.inri.net (107.191.116.128) by inbox.vuxu.org with ESMTPUTF8; 4 Dec 2020 08:37:34 -0000 Received: from mail-lf1-f53.google.com ([209.85.167.53]) by ewsd; Fri Dec 4 03:35:10 -0500 2020 Received: by mail-lf1-f53.google.com with SMTP id v14so6579045lfo.3 for <9front@9front.org>; Fri, 04 Dec 2020 00:35:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:to:subject:from:date:in-reply-to:mime-version; bh=1au/1xzTZTo2wRFaRpkcNS30ZlPnkXD2mL/2shqyJiM=; b=SZOUyS8l59HNXQNyov/Ms2W+m8GRNfa9TcVzJz1ujRMHIUL0xnvOks8vkXs5Fcnjvc VY/yP6LmalzOWIGu2ugI6Ie5Yswk8nnF9bPKm2W9ACH7REJNGj9B36SKXPVsUMiQQmWw XR16Pqeujn3ql+Yy4bJ8o923igOPPn+5rOhcBZwaDo3BnvQfh3l9J/JNURD2K7EVesK5 b3jkpkQXljPGsEnmlBiARBGg+Q5VlXtOtmUxulbZpjvek/20NJ/jR3Ue6HEAwainWxeR 1A+nNe2eHV4Ja2ilqBBcBfzfG3NOdfHRZW/ONFcDEOVLWo+fRWmk2WO8bAE6oZb66WpR MKmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:to:subject:from:date:in-reply-to :mime-version; bh=1au/1xzTZTo2wRFaRpkcNS30ZlPnkXD2mL/2shqyJiM=; b=DqtZljDgzL1/aeM/4QZ5JZnew8CwQAno05j+lA+3/62D6WL2uP056KD+rXhBOIMXtL njhLlPNXb6DnnWdIJq0+FS8A+Pv6YPpqRPAoyzwiD+Iw4zzfDFwQ4z+8XtkaRVj9s3MK eps5TJRc/9biAxIJMUqGXcR2vSX2G4tdRUoBAVhMqJP6guBWq97cIKvpSAqLSKkCgY0C e994hNfyX0x+acxOIi72RJY+33EphhA4F1LZqEVwwSIpQW9Vdvd6aClbLROGg05iZmLK oGlmcXE3cuJOIww8HbAqWRgKeOZXFhGGTrR2DO8kooddvwUk6vcWjZmMv6qvEARlrAG+ 7RvQ== X-Gm-Message-State: AOAM532+BYJm4Y76QMQtjDjkY7hwfr3osjAvY1DDLPbvsIpt/zO1Gy1a qmY7dpoXvZeLJXgvSg0j/Dw= X-Google-Smtp-Source: ABdhPJwAjceKRNQYsYl56eya5iPlnLlYaBBFJFMtlB6sMdJPlJITlls+GvZ8lHTjgs0UKSIM5sY7+w== X-Received: by 2002:a19:ac9:: with SMTP id 192mr2741569lfk.342.1607070904472; Fri, 04 Dec 2020 00:35:04 -0800 (PST) Return-Path: Received: from localhost (c-adc9e655.027-406-73746f40.bbcust.telenor.se. [85.230.201.173]) by smtp.gmail.com with ESMTPSA id z199sm1421930lfc.42.2020.12.04.00.35.03 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Dec 2020 00:35:03 -0800 (PST) Message-ID: To: sirjofri+ml-9front@sirjofri.de, 9front@9front.org From: "Sigrid Solveig Haflínudóttir" Date: Fri, 04 Dec 2020 09:35:02 +0100 In-Reply-To: <986B00BF344BEA5138FCE87D1E515963@sirjofri.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-whxxuxtvlrhrtqycyzlaflfaqb" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: scale-out callback engine-aware control Subject: Re: [9front] patch: faces -c remove faces on click Reply-To: 9front@9front.org Precedence: bulk This is a multi-part message in MIME format. --upas-whxxuxtvlrhrtqycyzlaflfaqb Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Merged, thanks! --upas-whxxuxtvlrhrtqycyzlaflfaqb Content-Disposition: inline Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Delivered-To: ftrvxmtrx@gmail.com Received: by 2002:ab0:548c:0:0:0:0:0 with SMTP id p12csp344552uaa; Fri, 4 Dec 2020 00:28:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSK/I+OKON0NVUK5PSaL42xvQWqWpbMj/Wv/6bSnYlNldocny6s9fOqpEPZr18LlgWII0F X-Received: by 2002:a63:c43:: with SMTP id 3mr6657598pgm.222.1607070536036; Fri, 04 Dec 2020 00:28:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607070536; cv=none; d=google.com; s=arc-20160816; b=ZaXlkYewZ7C8r6izRybyuv3fs47WH4SHvhrCJMcq8BLQZ0NOwrMYJMViTKKuyHtIjY RkAjan1sO6ku9vwY+BuaJbJ4nxx2Ef7boaNTz0Tqtas4tUMEFmuCk0oUSoGrkCIje8zW schJq52CHx2sQe7aYwaoBxNcPey4TRso4lhbtIisVyvtz2TsTbbR6l1enRt+gb+uy7/q wjmbXpvLu7Fz0o1NtDdIf/hF/ZZpBJIgHYxHO01pQz+uXxqHhGWGzh/S1JaeJ5KovQ89 UKWAV2Rg8bwUG5wNGoCxRIDOY3RwoQpAQQmWCKB2dC7bS64HbOE+jw2Q+oIdUuST0RHM MKCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=precedence:reply-to:subject:list-help:list-id:mime-version :in-reply-to:from:date:to:message-id; bh=xgyzxMPD0K/3Oga5nxMlVlei8YDk84bAuI+5ZgMxML0=; b=WG1HmcGTs9juAj272Mk1mkTGA3MVGIWz8zIbtw3EsrNT/xA3Bp5rSMScuckrrAPY+T BnubmTd50jKes7naysut00KAvrGZ1H4FhsWgcexnPTVMbHCgVSPjTLuThI5zJMl5dfHa rttj0sMjF9rcoUi9mp0pm7YXEHuLib0CTZYl/rlhB3e7oULahxGHSpeGhRqvV6/UDMPj k6mW/1X6mA516a8Ypu2JHcFINfKKKXPeSL/VSo4flaN0E2STJvG21Ay9BsQAezGRAZoh MhJCfaM2ZSkC2gn5JoC+Hiz8/lBuSC3mtt8IoBSG+w+8XdU+7uX53d0ocYvby56K6831 Xy0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of 9front-bounces@ewsd.inri.net designates 107.191.116.128 as permitted sender) smtp.mailfrom=9front-bounces@ewsd.inri.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sirjofri.de Return-Path: <9front-bounces@ewsd.inri.net> Received: from ewsd.inri.net (ewsd.inri.net. [107.191.116.128]) by mx.google.com with ESMTP id x12si1531143plb.237.2020.12.04.00.28.52; Fri, 04 Dec 2020 00:28:56 -0800 (PST) Received-SPF: pass (google.com: domain of 9front-bounces@ewsd.inri.net designates 107.191.116.128 as permitted sender) client-ip=107.191.116.128; Authentication-Results: mx.google.com; spf=pass (google.com: domain of 9front-bounces@ewsd.inri.net designates 107.191.116.128 as permitted sender) smtp.mailfrom=9front-bounces@ewsd.inri.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sirjofri.de Received: from oat.nine.sirjofri.de ([5.45.105.127]) by ewsd; Fri Dec 4 03:28:47 -0500 2020 Message-ID: <986B00BF344BEA5138FCE87D1E515963@sirjofri.de> To: 9front@9front.org Date: Fri, 04 Dec 2020 09:28:34 +0100 From: sirjofri+ml-9front@sirjofri.de In-Reply-To: <609D21C8EF9760D5791F1710BBF1CA12@sirjofri.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ddndvuuvikhujjnyzbhwqzliqo" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: managed social NoSQL-based service Subject: Re: [9front] patch: faces -c remove faces on click Reply-To: 9front@9front.org Precedence: bulk This is a multi-part message in MIME format. --upas-ddndvuuvikhujjnyzbhwqzliqo Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit hello again, I guess this is the final patch version, this time with an updated 'usage' message. So in total we have: - The change itself. - Notes in the man page. - Updated 'usage' message. sirjofri . --upas-ddndvuuvikhujjnyzbhwqzliqo Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit diff -r 73caf2698436 sys/man/1/faces --- a/sys/man/1/faces Tue Dec 01 09:23:16 2020 +0100 +++ b/sys/man/1/faces Fri Dec 04 09:24:34 2020 +0100 @@ -4,7 +4,7 @@ .SH SYNOPSIS .B faces [ -.B -ih +.B -ihc ] [ .B -m .I maildir @@ -86,6 +86,12 @@ .B -m flags may be used to watch multiple mailboxes. .PP +Starting +.I faces +with the +.B -c +flag allows the user to remove faces with a click with button 1. +.PP The .B -h flag causes a different, venerable behavior in which diff -r 73caf2698436 sys/src/cmd/faces/main.c --- a/sys/src/cmd/faces/main.c Tue Dec 01 09:23:16 2020 +0100 +++ b/sys/src/cmd/faces/main.c Fri Dec 04 09:24:34 2020 +0100 @@ -9,6 +9,7 @@ int history = 0; /* use old interface, showing history of mailbox rather than current state */ int initload = 0; /* initialize program with contents of mail box */ +int clickrm = 0; /* allows removing mail faces by left clicking */ enum { @@ -600,7 +601,7 @@ }else{ for(i=first; istr[Sshow], "/XXXvwhois")){ + && (clickrm || strstr(faces[i]->str[Sshow], "/XXXvwhois"))){ delface(i); flushimage(display, 1); } @@ -675,7 +676,7 @@ void usage(void) { - fprint(2, "usage: faces [-hi] [-m maildir]\n"); + fprint(2, "usage: faces [-chi] [-m maildir]\n"); exits("usage"); } @@ -695,6 +696,9 @@ addmaildir(EARGF(usage())); maildir = nil; break; + case 'c': + clickrm++; + break; default: usage(); }ARGEND --upas-ddndvuuvikhujjnyzbhwqzliqo-- --upas-whxxuxtvlrhrtqycyzlaflfaqb--