all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Trey Jackson <bigfaceworm@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs 24.4 and advice
Date: Fri, 31 Oct 2014 11:02:58 -0700	[thread overview]
Message-ID: <CABainDxxtkuzeHjq663SHNt3QSX5TpupVLk-CNEJE_tyexa7Ow@mail.gmail.com> (raw)
In-Reply-To: <jwvh9ykyw8o.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]

On Fri, Oct 31, 2014 at 10:47 AM, Stefan Monnier <monnier@iro.umontreal.ca>
wrote:
>
> What do you use them for?


It's left over code, I presume they were there because, upon first read of
the documentation, it looked as though you needed to call (ad-start-advice)
to get things going.

> Whatever you think of people (over)using 'advice, the 'ad-start-advice and
> > 'ad-stop-advice were a part of the tutorial and documentation in 24.3.
>
> Which tutorial are you referring to?
>

advice.el (distributed with Emacs 24.3) lines 861-1694, beginning with:

;; @ Foo games: An advice tutorial
;; ===============================
;; The following tutorial was created in Emacs 18.59. Left-justified
;; s-expressions are input forms followed by one or more result forms.
;; First we have to start the advice magic:
;;
;; (ad-start-advice)
;; nil


Though it's also in the info pages installed on my machine - I have no idea
where/when they're from.


TJ


-- 
Trey Jackson
bigfaceworm@gmail.com

"Like any truly useful program, `hello' contains a built-in mail reader."
-- GNU's Bulletin, July 1996

[-- Attachment #2: Type: text/html, Size: 2079 bytes --]

  reply	other threads:[~2014-10-31 18:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-30 16:26 Emacs 24.4 and advice Trey Jackson
2014-10-31 17:47 ` Stefan Monnier
2014-10-31 18:02   ` Trey Jackson [this message]
2014-10-31 19:02     ` Stefan Monnier
2014-10-31 19:26       ` Trey Jackson

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

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

  git send-email \
    --in-reply-to=CABainDxxtkuzeHjq663SHNt3QSX5TpupVLk-CNEJE_tyexa7Ow@mail.gmail.com \
    --to=bigfaceworm@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.