emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14565: closed (24.3.50; Error with byte-compiled f


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14565: closed (24.3.50; Error with byte-compiled function using backward-char)
Date: Thu, 06 Jun 2013 21:06:02 +0000

Your message dated Thu, 06 Jun 2013 17:05:31 -0400
with message-id <address@hidden>
and subject line Re: bug#14565: 24.3.50; Error with byte-compiled function 
using backward-char
has caused the debbugs.gnu.org bug report #14565,
regarding 24.3.50; Error with byte-compiled function using backward-char
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14565: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14565
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; Error with byte-compiled function using backward-char Date: Thu, 06 Jun 2013 16:24:17 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
When I evaluate and invoke each of the following functions, they both
work as expected:

(defun my-test-1 () (forward-char nil))

(defun my-test-2 () (backward-char nil))

But if I byte-compile them, only my-test-1 works; my-test-2 raises a
Lisp error: (wrong-type-argument number-or-marker-p nil)

Here are the byte codes:

(byte-code "\300\301\302\"\207" [defalias my-test-1 #[nil "\300u\207" [nil] 1]] 
3)

(byte-code "\300\301\302\"\207" [defalias my-test-2 #[nil "\300[u\207" [nil] 
1]] 3)

and here is the disassembled code:

byte code for my-test-1:
  args: nil
0       constant  nil
1       forward-char 
2       return    

byte code for my-test-2:
  args: nil
0       constant  nil
1       negate    
2       forward-char 
3       return    


In GNU Emacs 24.3.50.1 (x86_64-suse-linux-gnu, GTK+ Version 3.4.4)
 of 2013-06-05 on rosalinde
Bzr revision: 112853 address@hidden
Windowing system distributor `The X.Org Foundation', version 11.0.11203000
System Description:     openSUSE 12.2 (x86_64)

Configured using:
 `configure --without-toolkit-scroll-bars CFLAGS=-g3 -O0'

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



--- End Message ---
--- Begin Message --- Subject: Re: bug#14565: 24.3.50; Error with byte-compiled function using backward-char Date: Thu, 06 Jun 2013 17:05:31 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.4

Thanks; fixed.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]