From: Nikolaj Schumacher <me@nschum.de>
To: pedz <pedzsan@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: help with file not found hook
Date: Sat, 21 Mar 2009 13:26:13 +0100 [thread overview]
Message-ID: <m2bprvrriy.fsf@nschum.de> (raw)
In-Reply-To: <e6c5683e-4b48-48b6-b39a-e7db774b220b@y13g2000yqn.googlegroups.com> (pedz's message of "Fri, 20 Mar 2009 15:54:37 -0700 (PDT)")
pedz <pedzsan@gmail.com> wrote:
> Questions:
> 1) After I find the file, I currently set buffer-file-name to the
> full path and then call insert-file-contents and return true. Is that
> what I should be doing?
I think you should call `find-alternate-file' with the new name. That
should take care of everything (including running the hook again).
regards,
Nikolaj Schumacher
prev parent reply other threads:[~2009-03-21 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-20 22:54 help with file not found hook pedz
2009-03-21 12:26 ` Nikolaj Schumacher [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bprvrriy.fsf@nschum.de \
--to=me@nschum.de \
--cc=help-gnu-emacs@gnu.org \
--cc=pedzsan@gmail.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.