From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to call a function on every directory change (in dired)?
Date: Thu, 30 Sep 2010 02:15:32 -0700 (PDT) [thread overview]
Message-ID: <106e4192-16f6-44f2-8268-24cbe8a170ca@h40g2000pro.googlegroups.com> (raw)
In-Reply-To: i81jkb$2n5$1@news.onet.pl
On Sep 30, 2:01 am, Marc Mientki <mien...@nonet.com> wrote:
> Am 28.09.2010 21:04, schrieb Xah Lee:
>
>
>
>
>
> > On Sep 28, 5:55 am, Marc Mientki<mien...@nonet.com> wrote:
> >> Am 28.09.2010 14:37, schrieb Marc Mientki:
>
> >>> Maybe is defadvice on dired-find-file a solution??
>
> >> Yes, I know, I talk to myself. However, this could also be interesting
> >> to others. So I post my solution:
>
> >> The advice idea was right! It works:
>
> >> (defun foo ()
> >> (message "--> hoho: current directory: %s" (dired-current-directory)))
>
> >> (defadvice dired-find-file (after foo)
> >> "Call foo each time on directory entry in dired."
> >> (foo))
>
> >> (ad-activate 'dired-find-file)
>
> >> regards
> >> Marc
>
> > Hi Marc Would you be interested To write a guest blog on my website on
> > this problem. Thanks.
>
> Hello Xah!
>
> Please do not be offended but my answer is no. I completly disagree with
> your Emacs and Lisp criticism and your "Emacs modernisation ideas" so I
> don't want support your Emacs blogs. I don't want to be associated with
> your point of view of Emacs.
no problem. :)
didn't notice i also posted to gnu.emacs.help. :) must have made a
fool of myself. ☺
Xah
prev parent reply other threads:[~2010-09-30 9:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 12:34 How to call a function on every directory change (in dired)? Marc Mientki
2010-09-28 12:37 ` Marc Mientki
2010-09-28 12:55 ` Marc Mientki
2010-09-28 19:04 ` Xah Lee
2010-09-30 9:01 ` Marc Mientki
2010-09-30 9:15 ` Xah Lee [this message]
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=106e4192-16f6-44f2-8268-24cbe8a170ca@h40g2000pro.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@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.
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).