unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: 13592@debbugs.gnu.org
Subject: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today
Date: Sat, 02 Feb 2013 11:46:51 +0200	[thread overview]
Message-ID: <83fw1favzo.fsf@gnu.org> (raw)
In-Reply-To: <87ehgz7ga9.fsf@mail.jurta.org>

> From: Juri Linkov <juri@jurta.org>
> Cc: 13592@debbugs.gnu.org
> Date: Sat, 02 Feb 2013 01:44:06 +0200
> 
> Multi-node I-search in the Info reader already doesn't show "Multi",
> it is identical to a simple search until it's about to cross
> to the next Info node.
> 
> Multi-file I-search could do the same.  What I'm trying to understand is
> the logic of showing "Multi" and should it be customizable?

My take of it is that we should show "Multi" when the user requested
that explicitly.

> What you want is possible to do by the following patch
> that will show the prefix only when the user explicitly
> invokes multi-isearch.  And customizability of the I-search
> prompt was recently discussed in bug#12988.

Works for me, thanks.

> 2. The documentation could be improved with something like this:
> 
> === modified file 'doc/emacs/search.texi'
> --- doc/emacs/search.texi	2013-01-03 00:36:36 +0000
> +++ doc/emacs/search.texi	2013-02-01 23:43:52 +0000
> @@ -1375,6 +1375,22 @@ (@pxref{Repetition}).
>  This command is just like @code{multi-isearch-buffers}, except it
>  performs an incremental regexp search.
>  
> +@item M-x multi-isearch-files
> +Prompt for one or more file names, ending with @key{RET}; then,
> +begin a multi-file incremental search in those files.  (If the
> +search fails in one file, the next @kbd{C-s} tries searching the
> +next specified file, and so forth.)  With a prefix argument, prompt
> +for a regexp and begin a multi-file incremental search in files
> +matching that regexp.
> +
> +@item M-x multi-isearch-files-regexp
> +This command is just like @code{multi-isearch-files}, except it
> +performs an incremental regexp search.
> +
> +In some modes that set the buffer-local variable
> +@code{multi-isearch-next-buffer-function} (e.g., in Change Log mode)
> +a multi-file incremental search is activated automatically.

I would suggest to describe the "Multi I-search" prompt where this is
discussed.  Otherwise, this doc change is fine with me, thanks.






  reply	other threads:[~2013-02-02  9:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-30 18:49 bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Eli Zaretskii
2013-01-30 19:08 ` Drew Adams
2013-01-31  0:34 ` Juri Linkov
2013-01-31  3:56   ` Eli Zaretskii
2013-01-31 23:58     ` Juri Linkov
2013-02-01  7:57       ` Eli Zaretskii
2013-02-01 23:44         ` Juri Linkov
2013-02-02  9:46           ` Eli Zaretskii [this message]
2014-11-09 19:20             ` Juri Linkov

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=83fw1favzo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=13592@debbugs.gnu.org \
    --cc=juri@jurta.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).