From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#20468: 25.0.50; erc timestamps not displayed Date: Wed, 24 Jun 2015 16:41:01 -0400 Message-ID: References: <5541dea4.e152b40a.26b5.5b29@mx.google.com> <831tj1u36o.fsf@gnu.org> <55476962.a24fb40a.0c0d.ffff87ec@mx.google.com> <837fsoton9.fsf@gnu.org> <55478291.a25fb40a.52d6.ffffb6aa@mx.google.com> <5548b870.83c8c20a.2e83.ffffaa56@mx.google.com> <556c20c2.4934c20a.3e9c.ffffe2b6@mx.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435178550 423 80.91.229.3 (24 Jun 2015 20:42:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 20:42:30 +0000 (UTC) Cc: 20468-done@debbugs.gnu.org To: =?UTF-8?Q?C=C3=A9dric_?= =?UTF-8?Q?Ch=C3=A9pied?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 24 22:42:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Z7rUp-00083R-Gh for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 22:42:11 +0200 Original-Received: from localhost ([::1]:52835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7rUo-0006N3-S4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 16:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7rUm-0006Mw-CA for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 16:42:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7rUh-0003tI-DJ for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 16:42:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7rUh-0003t7-9g for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 16:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z7rUg-0002ww-Uz for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2015 16:42:02 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jun 2015 20:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20468 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20468@debbugs.gnu.org, monnier@iro.umontreal.ca, cedric.chepied@gmail.com Original-Received: via spool by 20468-done@debbugs.gnu.org id=D20468.143517847611280 (code D ref 20468); Wed, 24 Jun 2015 20:42:02 +0000 Original-Received: (at 20468-done) by debbugs.gnu.org; 24 Jun 2015 20:41:16 +0000 Original-Received: from localhost ([127.0.0.1]:56660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7rTt-0002vq-RT for submit@debbugs.gnu.org; Wed, 24 Jun 2015 16:41:14 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:27796) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7rTq-0002vb-D6 for 20468-done@debbugs.gnu.org; Wed, 24 Jun 2015 16:41:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A2FgA731xV/3+MCkxcgxCEAoVVu0CEfoJNBAICgTw7EgEBAQEBAQGBCkEFg10BAQMBViMFCws0EhQYDSSINwjPIwEBAQEBAQQBAQEBHos6hQUHhC0Fsz+BRSOEFCKCeAEBAQ X-IPAS-Result: A0A2FgA731xV/3+MCkxcgxCEAoVVu0CEfoJNBAICgTw7EgEBAQEBAQGBCkEFg10BAQMBViMFCws0EhQYDSSINwjPIwEBAQEBAQQBAQEBHos6hQUHhC0Fsz+BRSOEFCKCeAEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="128202815" Original-Received: from 76-10-140-127.dsl.teksavvy.com (HELO ceviche.home) ([76.10.140.127]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Jun 2015 16:41:03 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B37CD660D6; Wed, 24 Jun 2015 16:41:01 -0400 (EDT) In-Reply-To: <556c20c2.4934c20a.3e9c.ffffe2b6@mx.google.com> ("=?UTF-8?Q?C=C3=A9dric_?= =?UTF-8?Q?Ch=C3=A9pied?="'s message of "Mon, 01 Jun 2015 11:07:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104316 Archived-At: > I don't think so. It's worse here. Now I need to call (erc-toggle-timestamps) > twice. I installed the patch below which should hopefully fix the problem. Can you confirm it fixes it for you, Stefan diff --git a/lisp/subr.el b/lisp/subr.el index 5d40aaa..535fa2d 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -4066,9 +4066,10 @@ that can be added." (defun remove-from-invisibility-spec (element) "Remove ELEMENT from `buffer-invisibility-spec'." - (if (consp buffer-invisibility-spec) - (setq buffer-invisibility-spec - (delete element buffer-invisibility-spec)))) + (setq buffer-invisibility-spec + (if (consp buffer-invisibility-spec) + (delete element buffer-invisibility-spec) + (list t)))) ;;;; Syntax tables.