From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Several suggestions for image support Date: 23 Apr 2004 01:53:37 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082671594 26899 80.91.224.253 (22 Apr 2004 22:06:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 22:06:34 +0000 (UTC) Cc: dak@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 23 00:06:25 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGmKv-0001bk-00 for ; Fri, 23 Apr 2004 00:06:25 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGmKp-00088u-00 for ; Fri, 23 Apr 2004 00:06:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGmKN-0005gh-IN for emacs-devel@quimby.gnus.org; Thu, 22 Apr 2004 18:05:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BGmIo-000598-EX for emacs-devel@gnu.org; Thu, 22 Apr 2004 18:04:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BGmIE-0004wj-Mh for emacs-devel@gnu.org; Thu, 22 Apr 2004 18:04:09 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGm8p-0002Lp-Lf; Thu, 22 Apr 2004 17:53:55 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id B41BB47FE5B; Thu, 22 Apr 2004 23:53:54 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22049 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22049 Richard Stallman writes: > However, I have fixed the treatment of newline characters > so that non-empty lines are no longer made a minimum > height equal to the frame default line height. > > That could have bad effects in many cases. I honestly don't understand why this is a problem. Quite contrary, I always found it very odd (i.e. buggy) that emacs forces all lines to be at least as high as the default frame line height. That means that you cannot have any "fine print". With my change, if you have just ONE character in the frame default font in the line, it will be shown exactly as before. Also, if the line is empty, ie. only contains the newline, it is also shown as before. The only time you will see my change in effect is if you have a line where ALL glyphs are lower than the default frame line height; in that case, the line is only as high as the tallest character on that line. > I don't think > it is ok, unless it is limited to special conditions. Of course, I can change this, but my feeling is that the new behaviour is more in line with what people would expect, so we should provide a way to force a specific height. If you really have an application where you want to force the old behaviour (I doubt there are currently any such uses), there are ways to force the line to be shown with the default line height (e.g. use a 'display space property with a zero width and a height of 1 -- ok, that is currently not supported, but it could easily be added). -- Kim F. Storm http://www.cua.dk