GNU bug report logs -
#11569
defadvice fails if DOC file is missing
Previous Next
Reported by: Vitalie Spinu <spinuvit <at> gmail.com>
Date: Sun, 27 May 2012 18:12:02 UTC
Severity: minor
Found in version 24.1.50
Done: Glenn Morris <rgm <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 11569 in the body.
You can then email your comments to 11569 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11569
; Package
emacs
.
(Sun, 27 May 2012 18:12:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vitalie Spinu <spinuvit <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 27 May 2012 18:12:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Recent emacs-snapshot fails to load my .emacs with several occurrences
of defadvice in it. The weird part of it is that I cannot easily
reproduce that with emacs-snapshot -Q. This is a back-trace:
Debugger entered--Lisp error: (error "Cannot open doc string file \"/usr/share/emacs/24.1.50/etc/DOC-24.1.50.1\"")
ad-real-documentation(#[(n &optional killflag) "\250\204\f\305\306\307D\"\210\310 \203. \203.\311U\203. \312=\203(\313\314 \315 \"\207\314 \315 |\207\n\203]\316X\204]`Sf\317>\204]m\204]\320f\321=\204]i\322[\f\"\210\212\323\324iZ\320#*\207\322[\f\"\207" [n delete-active-region overwrite-mode ocol killflag signal wrong-type-argument integerp use-region-p 1 kill kill-region region-beginning region-end 0 (9 10) nil 10 delete-char insert-char 32] 4 1928790 "p\nP"] t)
ad-make-advised-docstring(delete-backward-char)
ad-real-documentation(#[(n &optional killflag) "\303\304 \n\"\211)\207" [ad-return-value n killflag nil ad-Orig-delete-backward-char] 4 #("Advice doc string" 0 17 (ad-advice-info delete-backward-char)) "p\nP"] t)
ad-docstring(#[(n &optional killflag) "\303\304 \n\"\211)\207" [ad-return-value n killflag nil ad-Orig-delete-backward-char] 4 #("Advice doc string" 0 17 (ad-advice-info delete-backward-char)) "p\nP"])
ad-advised-definition-p(#[(n &optional killflag) "\303\304 \n\"\211)\207" [ad-return-value n killflag nil ad-Orig-delete-backward-char] 4 #("Advice doc string" 0 17 (ad-advice-info delete-backward-char)) "p\nP"])
ad-handle-definition(delete-backward-char)
ad-activate(delete-backward-char nil)
(progn (ad-add-advice (quote delete-backward-char) (quote (delete-empty-pair nil t (advice lambda nil nil))) (quote before) (quote nil)) (ad-activate (quote delete-backward-char) nil) (quote delete-backward-char))
(defadvice delete-backward-char (before delete-empty-pair activate) nil)
eval((defadvice delete-backward-char (before delete-empty-pair activate) nil) nil)
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
How to interactively reproduce:
Start with -Q and load this:
(require 'ido)
(ido-mode t)
(setq ido-use-virtual-buffers t)
Now do C-x b and select an unloaded buffer. Evaluate the following
*twice*:
(defadvice delete-backward-char (before delete-empty-pair activate)
())
This is the only way I could reproduce the error interactively.
I've been loading the same .emacs with previous emacs snapshots with no
trouble. It might have something to do with this recent issue
http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00472.html
Thanks,
Vitalie.
===============================================================
In GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.1)
of 2012-05-24 on lansones, modified by Debian
(emacs-snapshot package, version 2:20120524-1~ppa1~precise1)
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
Configured using:
`configure '--build' 'i686-linux-gnu' '--host' 'i686-linux-gnu'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1.50/site-lisp:/usr/share/emacs/site-lisp'
'--without-compress-info' '--with-crt-dir=/usr/lib/i386-linux-gnu/'
'--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes'
'build_alias=i686-linux-gnu' 'host_alias=i686-linux-gnu'
'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g
-Wl,--as-needed -znocombreloc' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''
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: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Debugger
Minor modes in effect:
recentf-mode: t
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
line-number-mode: t
transient-mark-mode: t
Recent input:
C-y C-p C-p C-p C-p C-p C-p C-p C-e C-x C-e C-n C-x
C-e C-n C-x C-e C-g q C-e C-e C-x C-e C-g C-x C-e C-n
C-n C-x b t e x <return> C-x b s c <return> C-n C-n
C-e C-x C-e C-x C-e M-x r e p o r <tab> <return>
Recent messages:
Quit
Back to top level.
t
Quit
t
Loading /home/vitoshka/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading vc-git...done
delete-backward-char
Entering debugger...
Load-path shadows:
To:
Subject:
Gcc: nnfolder+archive:sent-2012-May
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11569
; Package
emacs
.
(Mon, 28 May 2012 19:51:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 11569 <at> debbugs.gnu.org (full text, mbox):
severity 11569 minor
retitle 11569 defadvice fails if DOC file is missing
stop
Vitalie Spinu wrote:
> http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00472.html
To clarify, the missing DOC file is a problem for whoever supplied your
pre-built binary (sounds like they already know about it).
Stefan feels it is an advice.el bug that it fails to work without a DOC
file. (IMO, an Emacs missing a DOC file is basically broken, and I
imagine it is likely to fail in various ways, so I think this is only a
minor issue.)
Severity set to 'minor' from 'normal'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 28 May 2012 19:51:01 GMT)
Full text and
rfc822 format available.
Changed bug title to 'defadvice fails if DOC file is missing' from '24.1.50; Defadvice fails after IDO load ("Cannot open doc string file")'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 28 May 2012 19:51:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11569
; Package
emacs
.
(Sat, 05 Jan 2013 19:55:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 11569 <at> debbugs.gnu.org (full text, mbox):
I'm guessing that the new nadvice.el in Emacs trunk doesn't have this
problem.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11569
; Package
emacs
.
(Sun, 06 Jan 2013 09:03:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 11569 <at> debbugs.gnu.org (full text, mbox):
>> Glenn Morris <rgm <at> gnu.org>
>> on Sat, 05 Jan 2013 14:54:21 -0500 wrote:
GM> I'm guessing that the new nadvice.el in Emacs trunk doesn't have this
GM> problem.
Yes, it was fixed long back. Thanks.
Vitalie
bug closed, send any further explanations to
11569 <at> debbugs.gnu.org and Vitalie Spinu <spinuvit <at> gmail.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 06 Jan 2013 20:38: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, 04 Feb 2013 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 134 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.