From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?C=E9dric_Ch=E9pied?= Newsgroups: gmane.emacs.devel Subject: Erc timestamps and buffer-invisibility-spec Date: Wed, 24 Jun 2015 09:34:03 +0200 Message-ID: <558a5d6c.8651c20a.75f24.1efc@mx.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1435131260 2493 80.91.229.3 (24 Jun 2015 07:34:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 07:34:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 24 09:34:18 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z7fCK-0002EL-22 for ged-emacs-devel@m.gmane.org; Wed, 24 Jun 2015 09:34:16 +0200 Original-Received: from localhost ([::1]:49083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7fCJ-0000Un-FZ for ged-emacs-devel@m.gmane.org; Wed, 24 Jun 2015 03:34:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7fCG-0000Uh-7i for emacs-devel@gnu.org; Wed, 24 Jun 2015 03:34:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7fCB-00025x-8t for emacs-devel@gnu.org; Wed, 24 Jun 2015 03:34:12 -0400 Original-Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:35923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7fCB-00025f-24 for emacs-devel@gnu.org; Wed, 24 Jun 2015 03:34:07 -0400 Original-Received: by wguu7 with SMTP id u7so28411963wgu.3 for ; Wed, 24 Jun 2015 00:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:to:subject:user-agent:mime-version :content-type:content-transfer-encoding; bh=65Y+ig0+sWvOGEZKYk/OnGmMiVD8nHPaSalY1LtiKmo=; b=J/nKSxO4dRptZUBFV58OgBD4KTTWCbQAPKkWu54ENug3WkXoy7IXgjNDVwcYq47Yiw //I1MUkAO12wrXkxseoeIm8qaSoXD5NUEKMsVdggb0jRlMIAjivh8Zbkc2Mqk3AyR7QR ilMrip/+WLDGgpM+44iiQ62k/4Tb4neyXEXu4j6iF5ax9ZmTMtxbv3nUo5MoqjfaZWpD e9Ytort33fVwAWsI+2E+kU+fP5lY9tAc5eYIRztMrNOhmna3H4RFUf4byECnCA1/g5Pp 2m/xnVGOSJGqawrUwbq9WuNQMTZxt5n8lMv0lvEqNtLNrBG808kmtBZs4zbxLCv3nnj0 q+iw== X-Received: by 10.194.205.225 with SMTP id lj1mr68365815wjc.138.1435131245607; Wed, 24 Jun 2015 00:34:05 -0700 (PDT) Original-Received: from Angband.gmail.com ([92.175.67.121]) by mx.google.com with ESMTPSA id a6sm6268961wjy.33.2015.06.24.00.34.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jun 2015 00:34:04 -0700 (PDT) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.0.50 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187463 Archived-At: Hi, I'm trying to fix bug 20468 but I need a little help. The bug is that erc timestamps are not displayed. When starting with emacs -Q and connecting to freenode (for example) via erc I can't see timestamps. I need to call (erc-toggle-timestamp) twice or call (erc-hide-timestamp) and then (erc-show-timestamp). Anyway it only works respectively for existing buffers or current buffer. I need to do this again for each new buffer. (erc-*-timestamp) functions only set the buffer-invisibility-spec variable. It is set by default to t. Erc timestamps have property 'invisible set to 'timestamp. Steps: buffer-invisibility-spec is set to t, then I call erc-hide-timestamp. It is now set to (timestamp t). When I call erc-show-timestamp, buffer-invisibility-spec value is now (t) and timestamps are now displayed... It looks like when buffer-invisibility-spec is t, text with property 'invisible set to anything non nil (here it is 'timestamp) is not displayed (as written in doc). But when the value is (t) only text with property 'invisible equal to t is invisible. Is it a bug? Should the default value be (t) instead of t? Should erc timestamp have no 'invisible property if erc-hide-timestamps is nil (but how to set the property to all existing timestamps when user want it?)? Regards, -- Cédric Chépied