From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aldric Giacomoni Newsgroups: gmane.emacs.devel Subject: Re: Exposing Isearch toggleable options Date: Thu, 29 Oct 2015 18:33:11 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1149ae26aca6600523428b66 X-Trace: ger.gmane.org 1446143631 17615 80.91.229.3 (29 Oct 2015 18:33:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Oct 2015 18:33:51 +0000 (UTC) To: Artur Malabarba , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 29 19:33:50 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zrs1A-0005Ii-MA for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 19:33:44 +0100 Original-Received: from localhost ([::1]:45844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrs19-0007k6-V6 for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 14:33:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrs0p-0007jl-KE for emacs-devel@gnu.org; Thu, 29 Oct 2015 14:33:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zrs0o-00009r-Ea for emacs-devel@gnu.org; Thu, 29 Oct 2015 14:33:23 -0400 Original-Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]:36143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrs0o-000093-8J for emacs-devel@gnu.org; Thu, 29 Oct 2015 14:33:22 -0400 Original-Received: by qkcl124 with SMTP id l124so17754542qkc.3 for ; Thu, 29 Oct 2015 11:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=kS8InZ0oWSO5ceAw1hmnfvb6Cm4HkomovV60T9CtF8Q=; b=eweFBmVEqGovoi4glj2rmlGL5szTlP7V85kusRzQ8AL1fUU030zLhWdZ1K7psoWRdM 2dH5GSHo1ypmy4VirLJOwWgVVknsOHZtP5P9K5av/LeQpPlr+YeDCp5hauTxjBrl5Mk1 F1kSF6hTWuYAWgo0dSWT7jUQ+4q0ILgzSri8B5/NsV72HIvs/Ifg8l1nfLWU8KHV3e76 zVugawacXH494p0K94G1s0V+7w3NzZe9+6+JWwDXJw0AU0LenLMWn5ITF0uFzEJXFVK7 dsvFGsPxgF3DvfAZk3BdhirAFg562KxRhMYYZJ68BReqwk9+yvjaVyfvPgVjF7WgOX2i OhdA== X-Received: by 10.55.221.139 with SMTP id u11mr4364446qku.50.1446143601713; Thu, 29 Oct 2015 11:33:21 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c09::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192924 Archived-At: --001a1149ae26aca6600523428b66 Content-Type: text/plain; charset=UTF-8 On Thu, Oct 29, 2015 at 1:53 AM John Wiegley wrote: > >>>>> Artur Malabarba writes: > > > Basically, as soon as isearch starts, you should see something like this. > > Toggles [M-s]: [w] Word OFF [_] Symbol OFF ['] Character-Fold ON [r] > Regexp > > OFF I-search: search string here > > Artur, does this mean the I-search prompt would be two-lines high in the > minibuffer, instead of one-line? If so, I would definitely want a way to > disable it; if I already know the options, it shortens the text window for > documentation I wouldn't need. > > For new users, I'm not sure whether it should be on by default or not. It's > handy, for sure, but distracting maybe? I can't say without that mindset. > I'd > love to hear from some users to see what they think. > > John > > In the wake of magit, Mickey Petersen (who wrote Mastering Emacs) wrote a package called discover.el (blog intro + screenshot): https://www.masteringemacs.org/article/discoverel-discover-emacs-context-menus This might be a good direction for the conversation. I've been an emacs user for ~2 years now. I think some minimal documentation / toggles in the magit spirit would go a long way in demystifying the emacs behavior. As noted by someone else, I would consider it critical to indicate somehow that there are other modifiers and options. I would, of course, want a toggle for this. Some of the things that have made my life as a newbie better were: - discovering which function I just triggered with my keypress - discovering which keypress I can use for the function I just called - discovering how I can modify the default behavior of an emacs function Any way in which emacs can help with these things is good for a beginner, to help them map emacs behavior with emacs terminology. --001a1149ae26aca6600523428b66 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Thu, Oc= t 29, 2015 at 1:53 AM John Wiegley <johnw@newartisans.com> wrote:
>>>>> Artur Malabarba <bruce.connor.am@gmail.com> write= s:

> Basically, as soon as isearch starts, you should see something like th= is.
> Toggles [M-s]: [w] Word OFF [_] Symbol OFF ['] Character-Fold ON [= r] Regexp
> OFF I-search: search string here

Artur, does this mean the I-search prompt would be two-lines high in the minibuffer, instead of one-line? If so, I would definitely want a way to disable it; if I already know the options, it shortens the text window for<= br> documentation I wouldn't need.

For new users, I'm not sure whether it should be on by default or not. = It's
handy, for sure, but distracting maybe? I can't say without that mindse= t. I'd
love to hear from some users to see what they think.

John


In the wake of magit, Mickey Petersen = (who wrote Mastering Emacs) wrote a package called discover.el (blog intro = + screenshot):=C2=A0https://www.masteringemacs.org/article/= discoverel-discover-emacs-context-menus=C2=A0

<= div>This might be a good direction for the conversation.

I've been an emacs user for ~2 years now. I think some mini= mal documentation / toggles in the magit spirit would go a long way in demy= stifying the emacs behavior.

As noted by someone e= lse, I would consider it critical to indicate somehow that there are other = modifiers and options.

I would, of course, want a = toggle for this.

Some of the things that have made= my life as a newbie better were:
- discovering which function I = just triggered with my keypress
- discovering which keypress I ca= n use for the function I just called
- discovering how I can modi= fy the default behavior of an emacs function

Any way in which emacs can help with these things is good for a beginner, = to help them map emacs behavior with emacs terminology.
--001a1149ae26aca6600523428b66--