unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 23010@debbugs.gnu.org
Subject: bug#23010: 25.1.50; Isearch help key to indicate current search state/mode
Date: Mon, 14 Mar 2016 08:28:30 -0700 (PDT)	[thread overview]
Message-ID: <b6124828-1fb7-4a2f-85bd-89bbd8cb1900@default> (raw)

This report was requested by Kaushal Modi in bug #22991.  See that
bug for more context.

This request is for a help key, to show the current state/modes of
Isearch.  The info shown should include all of the possible toggle
states, such as case folding, whitespace folding, regexp/literal, and
char folding, as well as indicate the various toggle keys for these.

This is a _temporary_ stopgap.  What is needed for the next release is a
well designed implementation that provides for easy configuration by
users and switching among _sets_ of character equivalence classes,
toggling of such sets, and toggling of individual equivalence classes.
A useful and supple design will no doubt change the needs for both state
toggling keys (probably at least one "toggle" prefix key) and any help
display about the current state/mode.

For now, the state/mode help could be bound to a new, dedicated key.  Or
it could added to the current mode help, `C-h m'.

Unless it were added to the top of the `C-h m' output, a separate help
key (and separate *Help* content) would probably be better, so users can
easily see all of the state info without scrolling the help window etc.

It is important to provide a succinct summary in a few lines, and then
follow that by any additional detailed info that might be helpful.

Such additional info could give details about the behavior of the
different modes, as well as info about how to change among them.  Yes,
some of that info might repeat some of what is in the `C-h m' output,
but that's OK.

Another possibility might be to add this info to the regular `C-h m'
output, but have a new help key that takes you directly to the part of
that output that shows the current modes and explains the possibile
modes, i.e., scrolls to that part.  That would have the advantage of
providing this info in the context of isearch help in general.

Again, it is likely that the help output for this and the key(s) for
displaying it will change soon.  The char-folding feature is very
immature, and will hopefully be developed quite a bit further.  What
directions that might take are unknown now.


In GNU Emacs 25.1.50.1 (i686-pc-mingw32)
 of 2015-12-10
Repository revision: 6148555ee5a3d0139ae517803718b3e0357933c7
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
 'configure --prefix=/c/Devel/emacs/snapshot/trunk --enable-checking=yes
 --enable-check-lisp-object-type --without-compress-install 'CFLAGS=-Og
 -ggdb3' LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''





             reply	other threads:[~2016-03-14 15:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-14 15:28 Drew Adams [this message]
2022-05-12 16:27 ` bug#23010: 25.1.50; Isearch help key to indicate current search state/mode Lars Ingebrigtsen
2022-05-12 16:34   ` Drew Adams
2022-05-12 17:30     ` Juri Linkov
2022-05-12 17:43       ` Drew Adams
2022-05-13 17:03         ` Juri Linkov
2022-05-13 21:05           ` Drew Adams
2022-06-13 12:48   ` Lars Ingebrigtsen

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=b6124828-1fb7-4a2f-85bd-89bbd8cb1900@default \
    --to=drew.adams@oracle.com \
    --cc=23010@debbugs.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).