[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: directory names ending with a colon confuse dired
From: |
Johan Bockgård |
Subject: |
Re: directory names ending with a colon confuse dired |
Date: |
Sat, 23 Sep 2006 13:48:39 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Chris Moore <address@hidden> writes:
> The match data which the (match-beginning 1) refers to is that which
> was saved by the
>
> (re-search-forward dired-subdir-regexp nil t)
>
> not by the looking-at, and so the save-match-data call is really not
> needed.
The manual gives this piece of advice:
A search which fails may or may not alter the match data. In the
past, a failing search did not do this, but we may change it in
the future. So don't try to rely on the value of the match data
after a failing search.
(info "(elisp)Simple Match Data")
--
Johan Bockgård
- directory names ending with a colon confuse dired, Chris Moore, 2006/09/21
- Re: directory names ending with a colon confuse dired, Chris Moore, 2006/09/21
- Re: directory names ending with a colon confuse dired, Chris Moore, 2006/09/21
- Re: directory names ending with a colon confuse dired, Chris Moore, 2006/09/21
- Re: directory names ending with a colon confuse dired, Richard Stallman, 2006/09/22
- Re: directory names ending with a colon confuse dired, Chris Moore, 2006/09/22
- Re: directory names ending with a colon confuse dired,
Johan Bockgård <=
- Re: directory names ending with a colon confuse dired, Richard Stallman, 2006/09/23
- Re: directory names ending with a colon confuse dired, Chris Moore, 2006/09/25