all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Alex Schröder" <kensanata@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#2659: 23.0.91; set-face-attribute :height float on a Mac
Date: Fri, 13 Mar 2009 16:11:40 +0100	[thread overview]
Message-ID: <9abbd5730903130811qfc010di2c45ab84f511d329@mail.gmail.com> (raw)

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






             reply	other threads:[~2009-03-13 15:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13 15:11 Alex Schröder [this message]
2009-03-13 16:08 ` bug#2659: 23.0.91; set-face-attribute :height float on a Mac Stefan Monnier
2009-03-13 16:22   ` Alex Schröder
     [not found] ` <mailman.3128.1237105313.31690.bug-gnu-emacs@gnu.org>
2009-03-16  1:31   ` Miles Bader
2011-02-03  6:55     ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9abbd5730903130811qfc010di2c45ab84f511d329@mail.gmail.com \
    --to=kensanata@gmail.com \
    --cc=2659@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.