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: Wed, 04 May 2011 12:32:34 -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> <87k4eijego.fsf@lifelogs.com> <877hahggrx.fsf@lifelogs.com> <87tyda7fma.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306268622 18048 80.91.229.12 (24 May 2011 20:23:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:23:42 +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:23:38 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 1QOy8f-0007Ab-W3 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:23:38 +0200 Original-Received: from localhost ([::1]:46380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOy8f-0004Aw-Ev for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:23:37 -0400 Original-Path: usenet.stanford.edu!news-transit.tcx.org.uk!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Injection-Info: mx02.eternal-september.org; posting-host="SH9UCpE8J/NOOMHA4fcilQ"; logging-data="14958"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183jRT3Ao9+VswVMT8EEdrS" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:JxR3GVjGVS9RHCxVhuDNyytp/80= sha1:uQ+gcx2+G02AewRLYCGAw5EzoQ0= Original-Xref: usenet.stanford.edu gnu.emacs.help:186783 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:81135 Archived-At: > As long as the merge is smart this should work: if you have > plane=1,face=A on (0, 5) and plane=2,face=B on (3, 10) the merge should > be called just once for the region between 3 and 5. I assume that's how > you picture it too, though `re-merge-property' below doesn't do it. Yes, of course, we wouldn't do it a char at a time. The code was just illustrating the kind of semantics you could expect. > So the default plane is nil? That would be a natural choice, but any value would do. > That seems OK and backwards compatible. But I don't know enough about > the internals to say how much work this will be; I would guess "a > lot" :) Actually, I really don't think this needs that much work. The change should be localized, and in code which is not tricky. It will probably introduce a few minor backward compatibility issues, mostly around the need to distinguish "get the merged value of property `foo'" and "get the value of property `foo' in the default plane". Stefan