From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: efficiently viewing Unix timestamps as dates Date: Sun, 24 Apr 2011 02:18:49 -0300 Organization: A noiseless patient Spider Message-ID: References: <87mxo9mvxm.fsf@lifelogs.com> <87bp4la59u.fsf@lifelogs.com> <87fwtx5n3c.fsf@lifelogs.com> <87sjtk73tb.fsf@lifelogs.com> <877hav4fj9.fsf@lifelogs.com> <87r58ygyse.fsf@lifelogs.com> <87r58yf6zg.fsf@lifelogs.com> <87vcy7pbze.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306267800 12443 80.91.229.12 (24 May 2011 20:10:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:10:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:09:57 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOxvQ-0006s2-Mh for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:09:56 +0200 Original-Received: from localhost ([::1]:54586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOxvQ-0003xz-5e for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:09:56 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Injection-Info: mx01.eternal-september.org; posting-host="XiIAvY72ZUxKiQYrt+73Dw"; logging-data="17131"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19G59SF9OdPXG9oW/BTOYL/" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:gseHUwEGHIa725G2s4Rpk5oYIXs= sha1:NuvKVukj8yXufdJWE4DiFy/k4zw= Original-Xref: usenet.stanford.edu gnu.emacs.help:186713 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81059 Archived-At: SM> The issue is to not remove the display property placed on *other* SM> chunks of text. >>> The package only applies the display property to text it matches. SM> Yes, but you do want to remove that property at some point. > Why remove it? Do you mean when the package is turned off, or at some > point in the redisplay process? I mean when the text gets modified so it doesn't represent a timestamp any more. [ When the user turns off the mode would be good as well, tho I didn't pay any attention to this case. ] > Hmm, does Emacs need a `font-lock-display' property, to be used iff > `display' is not specified? This seems like a lot of pain that should > not be passed to the package authors but handled in the core. Well, I do think Emacs should make it easier for various packages to use the same property without stepping on each other's toes, but right now there isn't any good support for that. The font-lock-face thingy is kind of a solution, but I don't think it's very convincing and would rather not use it for more things. I've already outlined the way I think things should work, on emacs-devel a few months ago. > Are there packages that set `display' without letting font-lock > manage it? I can think of a good bunch, but they're all special-modes, so not used on files. > My previous question remains: is this serious enough that epoch-view.el > should not go in the GNU ELPA until it's fixed, or is it a minor bug I > can work on later? It's not serious, no. And packages don't need to be flawless in order to be accepted for GNU ELPA, as should be evident if you look at many of the packages included in Emacs ;-) Stefan