From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.bugs Subject: Re: Emacs Lisp manual issues regarding overlays, display properties, margins, etc. Date: Sat, 29 Sep 2007 13:44:01 +0200 Message-ID: References: <86d4w2y1ej.fsf@macs.hw.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1191066399 29020 80.91.229.12 (29 Sep 2007 11:46:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2007 11:46:39 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 29 13:46:35 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ibals-0005Ya-NB for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 13:46:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ibalp-0005R5-04 for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 07:46:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ibalm-0005R0-Rh for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 07:46:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ibalm-0005Qo-8D for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 07:46:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ibalm-0005Ql-1P for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 07:46:02 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iball-0005T6-JY for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 07:46:01 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ibakp-0000Mv-W7 for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2007 11:45:04 +0000 Original-Received: from gamma02.me.chalmers.se ([129.16.50.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Sep 2007 11:45:03 +0000 Original-Received: from bojohan+news by gamma02.me.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Sep 2007 11:45:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gamma02.me.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:GVBFqmnb2288rsVZxbcTzj0a3TE= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16657 Archived-At: Joe Wells writes: > Issue 1: The “height” display specification seems not to work at > all. For example, in the following the B is not larger: > > (test-overlays > (insert "ABC") > (let ((o (make-overlay 2 3))) > (overlay-put o 'display '(height 2)))) This worked for me. > Issue 6: The “Overlay Properties” manual node says this on > overlay priorities: [...] > So what is the relative priority of an overlay which has a > nonnegative integer value of its priority property, and one which > has no priority property at all? It seems that nil is below 0: > > (test-overlays > (insert "ABC") > (let ((o1 (make-overlay 2 3)) > (o2 (make-overlay 2 3))) > (overlay-put o1 'display "123") > (overlay-put o2 'priority 0) > (overlay-put o2 'display "abc"))) Both overlays have priority 0. o2 takes precedence because it is on top (you get the same result without the second last line). -- Johan Bockgård