unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "T. V. Raman" <raman@users.sf.net>
To: raman@users.sf.net
Cc: emacs-pretest-bug@gnu.org
Subject: 23.0.50; find-func: can no longer find adviced subrs
Date: Sat, 8 Sep 2007 10:56:00 -0700	[thread overview]
Message-ID: <18146.57904.917867.570685@gargle.gargle.HOWL> (raw)
In-Reply-To: <20070908033930.6065512A4546@localhost>


Here is some additional information to help track down this
problem:

the problem appears to stem from the fact that symbol-function on
an adviced subr now returns the compiled advice form, rather than
the #<subr subrname>
-- this causes find-function-noselect to fail 

the problem also shows up when you do describe-function on an
adviced subr -- the help buffer text wrongly identifies it as an
interactive function at the top of the help text.

Other parts of emacs still know it's a subr -- the bototm of the
help text says "this subr is adviced ..."


>>>>> "tvrReply-to: raman@users.sf.net" == T V Raman <raman@users.sf.net> writes:
    tvrReply-to: raman@users.sf.net> This used to work until
    tvrReply-to: raman@users.sf.net> 23.0.
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> But now, when you do
    tvrReply-to: raman@users.sf.net> find-func on a subr that is
    tvrReply-to: raman@users.sf.net> advised, it no longer finds
    tvrReply-to: raman@users.sf.net> the C source where the subr
    tvrReply-to: raman@users.sf.net> is defined.
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> I suspect this may be
    tvrReply-to: raman@users.sf.net> related to some of the
    tvrReply-to: raman@users.sf.net> changes that went into
    tvrReply-to: raman@users.sf.net> advice.el in the last few
    tvrReply-to: raman@users.sf.net> weeks.
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> In GNU Emacs 23.0.50.9
    tvrReply-to: raman@users.sf.net> (i686-pc-linux-gnu, GTK+
    tvrReply-to: raman@users.sf.net> Version 2.8.20) of
    tvrReply-to: raman@users.sf.net> 2007-09-07 on labrador
    tvrReply-to: raman@users.sf.net> configured using `configure
    tvrReply-to: raman@users.sf.net> '--prefix=/usr/local'
    tvrReply-to: raman@users.sf.net> '--with-gtk' '--with-gpm'
    tvrReply-to: raman@users.sf.net> '--with-rsvg' '--with-png'
    tvrReply-to: raman@users.sf.net> '--with-jpeg' '--with-gif''
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> Important settings: value of
    tvrReply-to: raman@users.sf.net> $LC_ALL: nil value of
    tvrReply-to: raman@users.sf.net> $LC_COLLATE: nil value of
    tvrReply-to: raman@users.sf.net> $LC_CTYPE: nil value of
    tvrReply-to: raman@users.sf.net> $LC_MESSAGES: nil value of
    tvrReply-to: raman@users.sf.net> $LC_MONETARY: nil value of
    tvrReply-to: raman@users.sf.net> $LC_NUMERIC: nil value of
    tvrReply-to: raman@users.sf.net> $LC_TIME: nil value of
    tvrReply-to: raman@users.sf.net> $LANG: en_US.UTF-8
    tvrReply-to: raman@users.sf.net> locale-coding-system: utf-8
    tvrReply-to: raman@users.sf.net> default-enable-multibyte-characters:
    tvrReply-to: raman@users.sf.net> nil
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> Major mode: VM Presentation
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> Minor modes in effect:
    tvrReply-to: raman@users.sf.net> erc-track-minor-mode: t
    tvrReply-to: raman@users.sf.net> jabber-activity-mode: t
    tvrReply-to: raman@users.sf.net> dynamic-completion-mode: t
    tvrReply-to: raman@users.sf.net> dired-omit-mode: t
    tvrReply-to: raman@users.sf.net> shell-dirtrack-mode: t
    tvrReply-to: raman@users.sf.net> savehist-mode: t
    tvrReply-to: raman@users.sf.net> display-time-mode: t
    tvrReply-to: raman@users.sf.net> desktop-save-mode: t
    tvrReply-to: raman@users.sf.net> auto-insert-mode: t
    tvrReply-to: raman@users.sf.net> file-name-shadow-mode: t
    tvrReply-to: raman@users.sf.net> global-font-lock-mode: t
    tvrReply-to: raman@users.sf.net> unify-8859-on-encoding-mode:
    tvrReply-to: raman@users.sf.net> t utf-translate-cjk-mode: t
    tvrReply-to: raman@users.sf.net> auto-compression-mode: t
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> Recent input: SPC d o SPC m
    tvrReply-to: raman@users.sf.net> e SPC n o SPC d o ESC DEL g
    tvrReply-to: raman@users.sf.net> o o d . RET RET T h a n k s
    tvrReply-to: raman@users.sf.net> , RET RET - - R a m a n RET
    tvrReply-to: raman@users.sf.net> T e l : SPC 4 0 8 SPC 3 6 3
    tvrReply-to: raman@users.sf.net> SPC 3 5 6 5 RET E m a i l :
    tvrReply-to: raman@users.sf.net> SPC r DEL t v r a m a n @ c
    tvrReply-to: raman@users.sf.net> o m c a s t . n e t C-x @ h
    tvrReply-to: raman@users.sf.net> s c d RET g r e p SPC c o m
    tvrReply-to: raman@users.sf.net> c a s t SPC . f e t c h m a
    tvrReply-to: raman@users.sf.net> i l r c RET C-p C-p ESC > c
    tvrReply-to: raman@users.sf.net> a t SPC . f e t c h m TAB r
    tvrReply-to: raman@users.sf.net> TAB RET C-p C-p C-p C-e e
    tvrReply-to: raman@users.sf.net> ESC b ESC b ESC b C-e w ESC
    tvrReply-to: raman@users.sf.net> > ESC [ [ C ESC m C-c C-c
    tvrReply-to: raman@users.sf.net> TAB TAB TAB ESC [ C RET C-x
    tvrReply-to: raman@users.sf.net> h C-e n C-e s e C-g C-g C-e
    tvrReply-to: raman@users.sf.net> m q q q q C-t g 4 RET C-t n
    tvrReply-to: raman@users.sf.net> C-t n C-x @ h s c d RET C-e
    tvrReply-to: raman@users.sf.net> t C-e x m ESC m SPC j ' C-h
    tvrReply-to: raman@users.sf.net> f n e x t SPC ESC DEL f o r
    tvrReply-to: raman@users.sf.net> e w TAB C-g C-g C-h ESC f f
    tvrReply-to: raman@users.sf.net> o r e ESC DEL f o r w TAB l
    tvrReply-to: raman@users.sf.net> i n TAB RET C-e m ESC [ [ D
    tvrReply-to: raman@users.sf.net> C-h f C-g C-g C-h ESC f d e
    tvrReply-to: raman@users.sf.net> l e t e SPC w i n d TAB RET
    tvrReply-to: raman@users.sf.net> ESC m ESC x r e p o r t - e
    tvrReply-to: raman@users.sf.net> m ESC TAB C-g C-g ESC x r e
    tvrReply-to: raman@users.sf.net> p o r t SPC e m TAB b TAB
    tvrReply-to: raman@users.sf.net> RET
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> Recent messages: Not on a
    tvrReply-to: raman@users.sf.net> block [2 times] Quit [2
    tvrReply-to: raman@users.sf.net> times] Loading
    tvrReply-to: raman@users.sf.net> find-func...done Emacspeak
    tvrReply-to: raman@users.sf.net> pronunciation dictionaries
    tvrReply-to: raman@users.sf.net> are now active in this
    tvrReply-to: raman@users.sf.net> buffer Loading vc-cvs...done
    tvrReply-to: raman@users.sf.net> Quit [2 times] Don't know
    tvrReply-to: raman@users.sf.net> where `delete-window' is
    tvrReply-to: raman@users.sf.net> defined signal: Don't know
    tvrReply-to: raman@users.sf.net> where `delete-window' is
    tvrReply-to: raman@users.sf.net> defined widget-tabable-at:
    tvrReply-to: raman@users.sf.net> Wrong type argument: consp,
    tvrReply-to: raman@users.sf.net> t Quit Quit
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> -- Best Regards, --raman
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net>       
    tvrReply-to: raman@users.sf.net> Email: raman@users.sf.net
    tvrReply-to: raman@users.sf.net> WWW:
    tvrReply-to: raman@users.sf.net> http://emacspeak.sf.net/raman/
    tvrReply-to: raman@users.sf.net> AIM: emacspeak GTalk:
    tvrReply-to: raman@users.sf.net> tv.raman.tv@gmail.com PGP:
    tvrReply-to: raman@users.sf.net> http://emacspeak.sf.net/raman/raman-almaden.asc
    tvrReply-to: raman@users.sf.net> Google: tv+raman IRC:
    tvrReply-to: raman@users.sf.net> irc://irc.freenode.net/#emacs
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> 
    tvrReply-to: raman@users.sf.net> _______________________________________________
    tvrReply-to: raman@users.sf.net> Emacs-devel mailing list
    tvrReply-to: raman@users.sf.net> Emacs-devel@gnu.org
    tvrReply-to: raman@users.sf.net> http://lists.gnu.org/mailman/listinfo/emacs-devel

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

  parent reply	other threads:[~2007-09-08 17:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08  3:39 23.0.50; find-func: can no longer find adviced subrs raman
2007-09-08  9:04 ` Johan Bockgård
2007-09-08 17:00   ` T. V. Raman
2007-09-08 17:56 ` T. V. Raman [this message]
2007-09-10 20:54   ` Davis Herring
2007-09-11 20:30     ` Richard Stallman
2007-09-19  3:18     ` Richard Stallman
2007-10-02 22:00     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18146.57904.917867.570685@gargle.gargle.HOWL \
    --to=raman@users.sf.net \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).