[Top][All Lists]

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

&optional arguments in defuns stopped working

From: Stefan Reichör
Subject: &optional arguments in defuns stopped working
Date: Mon, 29 Mar 2004 08:59:00 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (berkeley-unix)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I use the latest cvs emacs. When I define a function like this:

(defun test-o (&optional arg)
  (interactive "P")
  (message "arg: %S" arg))

M-x test-o yields:
Debugger entered--Lisp error: (void-function &optional)
  (&optional arg)
* call-interactively(test-o)

There seems to be something wrong with the lisp parser...


In GNU Emacs (i386-unknown-freebsd5.2, X toolkit, Xaw3d scroll bars)
 of 2004-03-29 on nanni.riic.uni-linz.ac.at
configured using `configure '--prefix=/home/reichr/prg/stow/emacs-cvs''

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
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  desktop-save-mode: t
  auto-compression-mode: t
  global-cwarn-mode: t
  file-name-shadow-mode: t
  global-auto-revert-mode: t
  recentf-mode: t
  cua-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
- o <return> <S-down> <S-down> <S-down> <S-down> M-w 
<help-echo> <down-mouse-1> <mouse-1> C-v <up> <up> 
<up> <up> <up> <return> <return> M - x SPC t e s t 
- o SPC y i e l d s : <f4> <C-prior> <S-next> <S-left> 
<S-down> <S-down> <S-down> <S-down> <S-down> M-w <f4> 
<down> <home> C-v <S-down> <S-down> <S-down> <S-down> 
<delete> <down-mouse-1> <mouse-movement> <mouse-1> 
<home> <S-down> <S-down> <S-down> M-w C-1 M-x <up> 
<return> <down> <up> <up> <up> <up> <S-next> <S-down> 
<S-down> <S-down> <S-down> <S-down> <S-down> <S-down> 
<S-down> <S-down> <S-down> <S-down> M-w M-x r e p o 
r t - e m <tab> b <tab> <return>

Recent messages:
Next: ("scroll-in-place.el" "diss.tex" "StowPackages" "*Pymacs*" "*Fancy Diary 
E ... [2 times]
Previous: [beginning-of-bubble-list] ...
Entering debugger...
Mark set [2 times]
call-interactively: Symbol's function definition is void: &optional
call-interactively: Beginning of buffer
Mark set
call-interactively: Symbol's function definition is void: &optional [2 times]
Loading emacsbug...done

reply via email to

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