unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Cédric Chépied" <cedric.chepied@gmail.com>
Cc: 20468-done@debbugs.gnu.org
Subject: bug#20468: 25.0.50; erc timestamps not displayed
Date: Wed, 24 Jun 2015 16:41:01 -0400	[thread overview]
Message-ID: <jwvzj3ovo0t.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <556c20c2.4934c20a.3e9c.ffffe2b6@mx.google.com> ("Cédric Chépied"'s message of "Mon, 01 Jun 2015 11:07:12 +0200")

> 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))))
 \f
 ;;;; Syntax tables.
 





  reply	other threads:[~2015-06-24 20:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30  7:49 bug#20468: 25.0.50; erc timestamps not displayed Cédric Chépied
2015-04-30 13:59 ` Eli Zaretskii
2015-05-04 12:43   ` Cédric Chépied
2015-05-04 14:15     ` Eli Zaretskii
2015-05-04 14:30       ` Cédric Chépied
2015-05-05 12:32         ` Cédric Chépied
2015-05-25 15:17           ` Stefan Monnier
2015-06-01  9:07             ` Cédric Chépied
2015-06-24 20:41               ` Stefan Monnier [this message]
2015-06-25  7:58                 ` Cédric Chépied

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvzj3ovo0t.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=20468-done@debbugs.gnu.org \
    --cc=cedric.chepied@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).