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

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

bug#974: marked as done (23.0.60; byte-compilation problem)


From: Emacs bug Tracking System
Subject: bug#974: marked as done (23.0.60; byte-compilation problem)
Date: Mon, 15 Sep 2008 01:45:05 -0700

Your message dated Mon, 15 Sep 2008 10:34:07 +0200
with message-id <48CE1DFF.7010407@gmx.at>
and subject line Re: bug#974: 23.0.60; byte-compilation problem
has caused the Emacs bug report #974,
regarding 23.0.60; byte-compilation problem
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
974: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=974
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
--- Begin Message --- Subject: 23.0.60; byte-compilation problem Date: Fri, 12 Sep 2008 16:57:18 -0700
1. byte-compile the attached file in Emacs 22.2.
 
2. emacs -Q for Emacs 23:
 
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-09-03 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 
3. M-x load-file bug-desc-var.elc   ; byte-compiled version
 
4. C-h v features
 
You get the Wrong number of arguments error shown below. The attached
file has exactly the Emacs 23 CVS code for `describe-variable' from
2008-09-04, except for the interactive spec and doc string. The only
change was to add another optional argument, which is not referenced
anywhere in the body of the definition.
 
The attached file also includes the Emacs 23 macro definitions of
`with-selected-frame' and `with-help-window' (from the Emacs 23
version cited above), for byte-compilation.
 
I know we don't guarantee that you can byte-compile in Emacs 22 and
use the byte-compiled file in Emacs 23, but it is a shame that this
won't work in this case. I suspect there is a bug somewhere. If not,
I would at least like to understand what's happening.
 
Notice from the end of the backtrace message below that the original
`describe-variable' interactive spec is printed there, not the
interactive spec from the attached file. You can see this from (if
(equal val "") v (intern val)), which is missing from the code in the
attached file. Also, the backtrace includes
("c:/Emacs-23-2008-09-03/lisp/help-fns.elc" . 14258), which refers to
the original code for `describe-variable', not to the attached version.
That does not seem correct, to me.
 
 
 
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-09-03 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 
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: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t
 
Major mode: Dired by name
 
Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
 
Recent input:
<help-echo> M-x l o a d - f <return> b u g - d e s 
<tab> c <return> C-h v f e a t u r e s <return> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <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.
Loading c:/drews-lisp-20/bug-desc-var.elc...done
call-interactively: Wrong number of arguments: #[(variable &optional buffer
frame) "=c6=c7 !=84... <binary stuff skipped>"
[file-name buffer frame variable locus val-start-pos nil buffer-live-p
frame-live-p selected-frame ...] 10 ("c:/Emacs-23-2008-09-03/lisp/help-fns.elc"
. 14258) (let ((v (variable-at-point)) (enable-recursive-minibuffers t) val)
(setq val (completing-read (if (symbolp v) (format "Describe variable (default
%s): " v) "Describe variable: ") obarray (quote (lambda (vv) (or (boundp vv)
(get vv (quote variable-documentation))))) t nil nil (if (symbolp v)
(symbol-name v)))) (list (if (equal val "") v (intern val))))], 4



Attachment: bug-desc-var.el
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#974: 23.0.60; byte-compilation problem Date: Mon, 15 Sep 2008 10:34:07 +0200 User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
>>  > 1. byte-compile the attached file in Emacs 22.2.
>>  > 2. emacs -Q for Emacs 23:
>>  > 3. M-x load-file bug-desc-var.elc ; byte-compiled version
>>  > 4. C-h v features
>>
>> I'd simply put a (require 'help-fns) _before_ the definition of
>> `describe-variable' in bug-desc-var.el.
>
> Very weird.
>
> I already have (require 'help-fns) in the original file in which I came across
> the bug (and before the definition).
>
> But I can't reproduce the problem now - so no bug. Dunno what I did before, 
but
> it must have been user error somehow. ;-) Sorry for the noise.

OK.  Marked as done.

martin



--- End Message ---

reply via email to

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