Subject: bug#12762: 24.2.50; text-scale-increase wrong-type-argument error when face-remapping-alist is (( default . face))

From: Scott Cummings <[email-masked]>
Date: Mon, 29 Oct 2012 02:37:49 -0500 (CDT)

To: [email-masked]
Subject: 24.2.50; text-scale-increase wrong-type-argument error when face-remapping-alist is (( default . face))
--text follows this line--
This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgment at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

/Applications/Emacs.app/Contents/MacOS/Emacs -Q

use C-x C-e to eval these - 

;; this errors
  (set (make-local-variable 'face-remapping-alist)
       '((default  . bold)))  ;; Aquamacs uses this kind of mapping.
  (text-scale-increase 1)

------------------------------------------------------------

;; this works
  (set (make-local-variable 'face-remapping-alist)
       '((default   bold)))
  (text-scale-increase 1)

-----------------------------------------------------------

I was trying to follow this documentation.

GNU Emacs 24.2.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-10-27 on bob.porkrind.org - 
Documentation:
Alist of face remappings.
Each element is of the form:

   (FACE . REPLACEMENT),

GNU Emacs 23.3.50.1  - 
Documentation:
Alist of face remappings.
Each element is of the form:

   (FACE REPLACEMENT...),

--------------------------------------------------------

error - 

Lisp error: (wrong-type-argument listp bold)
  face-remap-order(((:height 1.2)))
  face-remap-add-relative(default :height 1.2)
  text-scale-mode(1)
  text-scale-increase(1)
  eval((text-scale-increase 1) nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/Applications/Emacs.app/Contents/Resources/etc/DEBUG.

In GNU Emacs 24.2.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2012-10-27 on bob.porkrind.org
Bzr revision: 110684 [email-masked]
Windowing system distributor `Apple', version 10.3.1038
Configured using:
 `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin'
 '--with-ns' 'build_alias=i686-apple-darwin'
 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger

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

Recent input:
C-x C-f e l <tab> f i <tab> <return> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down-mouse-1> 
<mouse-1> C-x C-e <down> C-x C-e <help-echo> <help-echo> 
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
((default . bold))
Entering debugger...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils help-mode easymenu debug face-remap time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)