all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "leo" <halloleo@noospaam.myrealbox.com>
Subject: Re: how to make dired-do-rename more friendly?
Date: Fri, 21 Nov 2003 16:05:20 +1100	[thread overview]
Message-ID: <bpk6dl$1ll7$1@otis.netspace.net.au> (raw)
In-Reply-To: mailman.353.1069356131.399.help-gnu-emacs@gnu.org

cool i'll try that out!

btw: thanks for all they info!

leo

"Harry Putnam" <reader@newsguy.com> wrote in message
news:mailman.353.1069356131.399.help-gnu-emacs@gnu.org...
> Harry Putnam <reader@newsguy.com> writes:
>
> >   (defadvice dired-mark-read-file-name (around tiad act)
> >     "Instead of asking directory, offer full filename for editing.
> >   This advice is enabled only upon request."
> >     (if (and dir (string-match "/" dir))
> >         (setq dir (dired-get-filename)))
> >     ad-do-it)
> >
> >   (defadvice dired-do-rename  (around joc-tiad-dired-rename act)
> >     "Offer editing the current filename.
> >   Without this advice you don't get the old filename for editing.
> >   Activates advice 'dired-mark-read-file-name 'my 'around during call."
> >     (let* ((ADVICE 'dired-mark-read-file-name))
> >       (ad-enable-advice ADVICE 'around 'tiad)
> >       (ad-activate ADVICE)
> >       ad-do-it
> >       (ad-disable-advice ADVICE 'around 'tiad)
> >       (ad-activate ADVICE)))
>
> OOOPs a couple of ringers slipped in there.  These last two are
> something else.
>
> >   (require 'macro)
> >   (put 'narrow-to-region 'disabled nil)
>
>
>
>

  parent reply	other threads:[~2003-11-21  5:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20  2:52 how to make dired-do-rename more friendly? leo
2003-11-20  6:22 ` Eli Zaretskii
2003-11-20  6:53 ` Dryice Liu
2003-11-20 10:20 ` Harry Putnam
2003-11-20 18:06   ` Harry Putnam
     [not found]   ` <mailman.353.1069356131.399.help-gnu-emacs@gnu.org>
2003-11-21  5:05     ` leo [this message]
2003-11-20 18:39 ` Kevin Rodgers
     [not found] ` <mailman.322.1069327365.399.help-gnu-emacs@gnu.org>
2004-01-25 19:17   ` Jari Aalto+mail.emacs

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='bpk6dl$1ll7$1@otis.netspace.net.au' \
    --to=halloleo@noospaam.myrealbox.com \
    /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.