From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Problem with simple script to clean out an ERC buffer Date: Thu, 7 Jun 2018 23:18:30 -0600 Message-ID: <20180607230002092087381@bob.proulx.com> References: <86lgbs2tav.fsf@zoho.com> <86h8mg2j2z.fsf@zoho.com> <864lie29p0.fsf@zoho.com> <86bmcmznjt.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1528435036 14315 195.159.176.226 (8 Jun 2018 05:17:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2018 05:17:16 +0000 (UTC) User-Agent: Mutt/1.10.0 (2018-05-17) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 08 07:17:12 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fR9lw-0003ak-0L for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 07:17:12 +0200 Original-Received: from localhost ([::1]:33132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fR9o3-0006AG-06 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jun 2018 01:19:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fR9nI-00068Y-Iz for help-gnu-emacs@gnu.org; Fri, 08 Jun 2018 01:18:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fR9nF-00016P-7K for help-gnu-emacs@gnu.org; Fri, 08 Jun 2018 01:18:36 -0400 Original-Received: from havoc.proulx.com ([96.88.95.61]:52696) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fR9nF-00014Z-1C for help-gnu-emacs@gnu.org; Fri, 08 Jun 2018 01:18:33 -0400 Original-Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id 809DD1589 for ; Thu, 7 Jun 2018 23:18:31 -0600 (MDT) Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 4A3E7217EE for ; Thu, 7 Jun 2018 23:18:31 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 274F22DC75; Thu, 7 Jun 2018 23:18:30 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <86bmcmznjt.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 96.88.95.61 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117032 Archived-At: Emanuel Berg wrote: > Seriously, what is it in the IRC logs that is > so important you have to check it like some > 20-ish moronic dude who wants to attend every > single party fearing otherwise he will > "miss" something? I get a "IRC highlight" if someone addresses my nickname. But I might not be at the keyboard. Here is an example. Alice> Hey Bob can you help me out? A light switch is broken. Can you stop by the house and look at it? And then conversation keeps going with other people. I return to the keyboard some long time later. I see that I have been addressed sometime in the near past. Who was speaking to me? But all I immediately see is a sea of text from other conversation. What I do is I search back for my nickname and see what would have caused me to have been addressed (hightlighted). I find the message from my friend. I respond. Bob> Hi Alice. Sure. I would be happy to come look at your broken light switch. When can I drop by? Now you might say that after a day or two when there was no response because I didn't see it that she should try a different communication method such as email. Timeout and retry. But IRC works for my friend who happens to be a widower and needs a little help like this every so often and it also works for me using the above technique. It wouldn't work if I didn't have enough history to look back to see the message that addressed me. You may think I am a "20-ish moronic dude" but it is just "different strokes for different folks". Bob P.S. The above is a true story summary of a recent exchange that happened in real life. Busted three way hall switch needed to be replaced. I did change the names to the usual placeholder names though. But the events are real. "Ladies and gentlemen: the story you are about to hear is true. Only the names have been changed to protect the innocent."