GNU bug report logs - #2659
23.0.91; set-face-attribute :height float on a Mac

Previous Next

Package: emacs;

Reported by: Alex Schröder <kensanata <at> gmail.com>

Date: Fri, 13 Mar 2009 15:20:03 UTC

Severity: minor

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alex Schröder <kensanata <at> gmail.com>
Subject: bug#2659: closed (Re: bug#2659: 23.0.91; set-face-attribute
 :height float on a Mac)
Date: Thu, 03 Feb 2011 06:48:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#2659: 23.0.91; set-face-attribute :height float on a Mac

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 2659 <at> debbugs.gnu.org.

-- 
2659: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2659
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 2659-done <at> debbugs.gnu.org
Subject: Re: bug#2659: 23.0.91; set-face-attribute :height float on a Mac
Date: Thu, 03 Feb 2011 01:55:59 -0500
Version: 23.3

Tried to improve the doc-string of set-face-attribute, and the error message.
The lispref already seems pretty clear on this.

[Message part 3 (message/rfc822, inline)]
From: Alex Schröder <kensanata <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.91; set-face-attribute :height float on a Mac
Date: Fri, 13 Mar 2009 16:11:40 +0100
The following results in an error:

(set-face-attribute 'default nil :height 1.1)

Debugger entered--Lisp error: (error "Invalid default face height" 1.1)
  internal-set-lisp-face-attribute(default :height 1.1 0)
  set-face-attribute(default nil :height 1.1)

I think it should not because the doc string says:

`:height'

VALUE must be either an integer specifying the height of the font to use
in 1/10 pt, a floating point number specifying the amount by which to
scale any underlying face, or a function, which is called with the old
height (from the underlying face), and should return the new height.

Either that, or the doc string must be improved. :)

I'm using Apple's Mac OS 10.3.9.


In GNU Emacs 23.0.91.1 (powerpc-apple-darwin7.9.0, NS apple-appkit-743.43)
 of 2009-03-13 on Alpinobombus.local
Windowing system distributor `Apple', version 10.3.743
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t



This bug report was last modified 14 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.