unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marc Mientki <mientki@nonet.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 11:01:02 +0200	[thread overview]
Message-ID: <i81jkb$2n5$1@news.onet.pl> (raw)
In-Reply-To: <0816797e-0139-4678-b9b4-63db59a426a8@j18g2000yqd.googlegroups.com>

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.

regards
Marc



  reply	other threads:[~2010-09-30  9:01 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 [this message]
2010-09-30  9:15         ` Xah Lee

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='i81jkb$2n5$1@news.onet.pl' \
    --to=mientki@nonet.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).