[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling occur from within isearch
From: |
Juri Linkov |
Subject: |
Re: Calling occur from within isearch |
Date: |
Tue, 04 Dec 2007 02:27:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
>> ! (if (and (eq case-fold-search t) search-upper-case)
>> ! (isearch-no-upper-case-p regexp t)
>> ! case-fold-search)
>
> This seems kind of ugly. The documentation for case-fold-search doesn't
> talk about any special meaning of a non-nil, non-t value.
What is ugly is that the distinction between `yes' and `t' is mentioned
only in the comments of `isearch-case-fold-search' as if they were
"unofficial" values:
; case-fold-search while searching.
; either nil, t, or 'yes. 'yes means the same as t except that mixed
; case in the search string is ignored.
(defvar isearch-case-fold-search nil)
If these values are valid, then perhaps they should be documented in the
docstrings of `isearch-case-fold-search' and `case-fold-search' saying
that the distinction between `yes' and `t' is valid for some searching
interactive commands.
--
Juri Linkov
http://www.jurta.org/emacs/