all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12762: 24.2.50; text-scale-increase wrong-type-argument error when face-remapping-alist is (( default . face))
@ 2012-10-29  7:37 Scott Cummings
  2012-10-29  9:56 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Scott Cummings @ 2012-10-29  7:37 UTC (permalink / raw
  To: 12762

To: bug-gnu-emacs@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@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)






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#12762: 24.2.50; text-scale-increase wrong-type-argument error when face-remapping-alist is (( default . face))
  2012-10-29  7:37 bug#12762: 24.2.50; text-scale-increase wrong-type-argument error when face-remapping-alist is (( default . face)) Scott Cummings
@ 2012-10-29  9:56 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2012-10-29  9:56 UTC (permalink / raw
  To: Scott Cummings; +Cc: 12762

Scott Cummings <rsc@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-29  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29  7:37 bug#12762: 24.2.50; text-scale-increase wrong-type-argument error when face-remapping-alist is (( default . face)) Scott Cummings
2012-10-29  9:56 ` Chong Yidong

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.