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

Previous Next

Package: emacs;

Reported by: Scott Cummings <rsc <at> usfamily.net>

Date: Mon, 29 Oct 2012 08:03:02 UTC

Severity: normal

Found in version 24.2.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12762 in the body.
You can then email your comments to 12762 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12762; Package emacs. (Mon, 29 Oct 2012 08:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Scott Cummings <rsc <at> usfamily.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 29 Oct 2012 08:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Scott Cummings <rsc <at> usfamily.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; text-scale-increase wrong-type-argument error when
	face-remapping-alist is (( default . face))
Date: Mon, 29 Oct 2012 02:37:49 -0500 (CDT)
To: bug-gnu-emacs <at> gnu.org
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 cyd <at> gnu.org-20121027050352-gq7xij6e4ycv9zpk
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)





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12762; Package emacs. (Mon, 29 Oct 2012 10:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 12762 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Scott Cummings <rsc <at> usfamily.net>
Cc: 12762 <at> debbugs.gnu.org
Subject: Re: bug#12762: 24.2.50;
	text-scale-increase wrong-type-argument error when
	face-remapping-alist is (( default . face))
Date: Mon, 29 Oct 2012 17:56:36 +0800
Scott Cummings <rsc <at> usfamily.net> writes:

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

Fixed in trunk, thanks for the bug report.




bug closed, send any further explanations to 12762 <at> debbugs.gnu.org and Scott Cummings <rsc <at> usfamily.net> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 29 Oct 2012 10:00:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Nov 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 178 days ago.

Previous Next


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