From: Yoichi NAKAYAMA <yoichi@geiin.org>
Subject: Re: patch: fix wrong-type-argument error in vc-registered
Date: Wed, 13 Oct 2004 09:20:45 +0900 [thread overview]
Message-ID: <87llebtqn6.wl%yoichi@geiin.org> (raw)
In-Reply-To: <jwvfz4jkjdq.fsf-monnier+emacs@gnu.org>
At Tue, 12 Oct 2004 12:14:39 -0400,
Stefan Monnier wrote:
>
> > 2004-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
>
> > * vc-hooks.el (vc-ignore-dir-regexp): New var.
>
> > overlooked that (file-name-directory file) may return nil.
> > Following is the patch against it.
>
> Hmm... your patch looks fine, except that I don't understand why it's
> needed: I thought vc-registered is only ever called with an absolute file
> name, and (file-name-directory file) never returns nil if file is an
> absolute file name.
>
> In which cases does it return nil on an absolute file name, or in which
> cases is vc-registered called with a non-absolute file name?
For example, mime-view.el in EMIKO module
http://cvs.m17n.org/cgi-bin/viewcvs/semi/mime-view.el?rev=1.150.2.33.2.38&only_with_tag=emiko-1_14&content-type=text/vnd.viewcvs-markup
calles set-auto-mode after setting buffer-file-name to non-absolute path
for highlighting.
--
Yoichi NAKAYAMA
next prev parent reply other threads:[~2004-10-13 0:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-12 14:48 patch: fix wrong-type-argument error in vc-registered Yoichi NAKAYAMA
2004-10-12 16:14 ` Stefan Monnier
2004-10-12 20:51 ` Romain Francoise
2004-10-12 23:00 ` Stefan
2004-10-13 0:20 ` Yoichi NAKAYAMA [this message]
2004-10-13 1:19 ` Stefan
2004-10-13 1:37 ` Yoichi NAKAYAMA
2004-10-13 2:39 ` Yoichi NAKAYAMA
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=87llebtqn6.wl%yoichi@geiin.org \
--to=yoichi@geiin.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 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.