From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: emacs-devel@gnu.org
Subject: Re: uniquify & advice
Date: Fri, 06 Jun 2003 11:31:15 -0400 [thread overview]
Message-ID: <200306061531.h56FVFBl006394@rum.cs.yale.edu> (raw)
In-Reply-To: buovfvj263o.fsf@mcspd15.ucom.lsi.nec.co.jp
> uniquify.el still uses `defadvice' for some of its functionality;
> shouldn't we just add appropriate code (or hooks) to the underlying
> functions instead?
>
> Here's what it uses:
>
> (defadvice rename-buffer (after rename-buffer-uniquify activate)
> "Uniquify buffer names with parts of directory name."
>
> (defadvice create-file-buffer (after create-file-buffer-uniquify activate)
> "Uniquify buffer names with parts of directory name."
Yes. I remember looking at it in the past and ended up not doing it
because I couldn't come up with a good hook.
Stefan
next prev parent reply other threads:[~2003-06-06 15:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-06 4:16 uniquify & advice Miles Bader
2003-06-06 15:31 ` Stefan Monnier [this message]
2003-06-08 1:08 ` Richard Stallman
2003-06-07 10:22 ` 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=200306061531.h56FVFBl006394@rum.cs.yale.edu \
--to=monnier+gnu/emacs@rum.cs.yale.edu \
--cc=emacs-devel@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).