unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: C-q SPC in isearch
Date: Wed, 08 Dec 2004 02:59:07 +0200	[thread overview]
Message-ID: <87is7d1u78.fsf@jurta.org> (raw)
In-Reply-To: <87hdn02oyz.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 05 Dec 2004 20:37:20 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:
> I suggest the patch below which additionally introduces the function
> subregexp-context-p which can be used at other places that need the same
> kind of information (e.g. regexp-opt).
>
> Any objection?

There is a small problem:

> RCS file: /cvsroot/emacs/emacs/lisp/isearch.el,v
> [...]
> +	(if (subregexp-context-p isearch-string pos)
                                                ===
`pos' is not defined.

I can't deduce a useful value for it from the context.  So it seems
it should be removed from isearch.el, and the argument `pos' of
subregexp-context-p be changed to optional.  Is it what you intended?

PS: I noticed this problem only during testing.  Even if the byte
compiler generated a warning message, it remains unnoticed among other
numerous similar warnings.  There is an urgent need to get rid of all
warnings that refer to a valid use of free variables, and to find and
fix true bugs reported by remaining warnings before the next release.

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2004-12-08  0:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-06  1:37 C-q SPC in isearch Stefan Monnier
2004-12-08  0:59 ` Juri Linkov [this message]
2004-12-08  1:38   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87is7d1u78.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).