From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: isearch region or thing at point. Date: Fri, 03 May 2019 17:28:57 +0100 Message-ID: <87lfznbiye.fsf@tcd.ie> References: <20190427001453.isjx247kc3lu5fe4@Ergus> <87a7gcp51i.fsf@tcd.ie> <20190429004135.rn5tp2gnmbjovrxj@Ergus> <87h8agy4yf.fsf@mail.linkov.net> <20190430162501.xmqh5r5h57sjjlq5@Ergus> <87h8af15kg.fsf@tcd.ie> <20190430231614.l423x6eqta5fbhor@Ergus> <874l6f132f.fsf@tcd.ie> <20190501112025.fnsynkbmkvllapyv@Ergus> <20190501160344.qfh7fslj23meprzu@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="2286"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, Drew Adams , Juri Linkov To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 03 23:16:32 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMfXW-0012u5-6u for ged-emacs-devel@m.gmane.org; Fri, 03 May 2019 23:16:18 +0200 Original-Received: from localhost ([127.0.0.1]:43536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMb5N-0002mQ-OG for ged-emacs-devel@m.gmane.org; Fri, 03 May 2019 12:30:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMb3V-0001tZ-QS for emacs-devel@gnu.org; Fri, 03 May 2019 12:29:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMb3U-0003aD-L8 for emacs-devel@gnu.org; Fri, 03 May 2019 12:29:01 -0400 Original-Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]:33401) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMb3U-0003Zf-Eq for emacs-devel@gnu.org; Fri, 03 May 2019 12:29:00 -0400 Original-Received: by mail-ed1-x543.google.com with SMTP id n17so6704680edb.0 for ; Fri, 03 May 2019 09:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Wkw67472jwxvYD5eYiXQwTfSonUlwkCOi5RhNxc5+z8=; b=xqumIRvYlCVCjMLBhyLL6XFz/LiSHFDA3VehKHpTbj50p8XbOaNllp5s5B0J9FtWoV 1FRDtPsEK5Ouq0RgR/wcbJPWuE+BKP0Zu2xpxHEUiP21nvELhprV/xbUVwpdNzOq67rG XVziiUMJXXtuRKREDcTWUIiiMyTyPlTZ+0TEGo36Pwk59GL/Uv2OnMt4OREZ0ogVe60d VGELoWVJaa3iuLvFQXPyUO3F6EYC4x3CwZjt5UEPNbsLldaZaXSp+7I9G5w51hHT3C/F Ne/2f+qZFjJxNKZzTx0tRwoq58dUovbCkjUmY/Fb5MYj48xHzAg8afHBifQk2DOz6XYG A2cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Wkw67472jwxvYD5eYiXQwTfSonUlwkCOi5RhNxc5+z8=; b=LL4c+GHP+V7W0e6SpMFfr8Fpicu2HPdZoPlfk6P9mz3DoDRn+sAE41BcOFfgM+sZ+q nWsUDdEmRl5ZfQyvriDZoMjw/qgE4j/evVJORb/p0oND02bznEbeGZe21RKHGNaV1dDa OKCjHodARrZpfqYeoqJIk1ccyd2WBzxibvAnYRBrgV2tiI/MS+00uYWS2eqdroVi9xei Y8GNl/K+Spkz9BtWH6pMZCluos56FMJUb7xObbXl5HYVnIZrE/rNsooj1ykcRlh82/OH DiyOuFjq5EqQCr2IsuX3MoHAxLDSAjY1GWfM4r89DS3hUODUTZoa+y0LWQvW3CBbcfkv 11LA== X-Gm-Message-State: APjAAAUTrSogvHSqgduvEkOIu0PDWNt4vlb8bnTstVrXNe2oy87sN6W4 C522T4TucHnoc5H5FA6++ZKVPQ== X-Google-Smtp-Source: APXvYqwQjb0v1SG9oVduglEDOP4xlgbinLcJX18x70c/sc7omr2OLKhn9Ziy1pVWACARtlwKtzyWmA== X-Received: by 2002:a50:86c4:: with SMTP id 4mr9715011edu.172.1556900939543; Fri, 03 May 2019 09:28:59 -0700 (PDT) Original-Received: from localhost ([89.101.223.218]) by smtp.gmail.com with ESMTPSA id 4sm687450edz.24.2019.05.03.09.28.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 03 May 2019 09:28:58 -0700 (PDT) In-Reply-To: <20190501160344.qfh7fslj23meprzu@Ergus> (Ergus's message of "Wed, 1 May 2019 18:03:44 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::543 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:236119 Archived-At: Ergus writes: > I would prefer a keybind for it, even a different one, but otherwise > nobody will use the command and the people will continue using > workarounds like now. I didn't take M-y or C-y because they were already > taken and M-w was not colliding with anything in my emacs -Q. > > Many people just find the emacs commands while using emacs (thanks to > which-key or counsel-completion or Helm they discover the keybinds) and > commands without a keybind are VERY less visible/accessible unless they > explicitly know and configure a bind for them. The users find them only > after reading a lot of documentation in the manual (which no many people > do). But which-key simplifies the life a lot. Specially for new users. FWIW, docstrings of mode functions, etc. can always include a synoptic list of useful commands and/or bindings. It's not always necessary to resort to reading the code or manual, and shouldn't be. > In fact the "right" to do (IN MY OPINION) is to define a keybind for all > the commands like this. (which insert text from active-region into > minibuffer once in the minibuffer, that could help for > replace-regex/find-file/flyspell/and many others) that will solve a lot > of collisions and will simplify the user experience a lot. (memorization) > > We have a lot of package that already proposes patches for this issue > trying to figure out somehow when to insert text from region (or near to > point) to the minibuffer (all the thing-at-point-like packages in elpa > && melpa are workarounds for this general issue). I doubt all of them are "workarounds" per se, so much as customisations, extensions, etc. > BTW: The isearch+ package isn't in elpa||melpa?? I can't find it in the > packages-list, so probably that's why I didn't check it before (I try to > avoid this kind of issues as much as possible before proposing > changes). Is there any reason why it is not in elpa||melpa? Because I > don't know anyone who uses it; for sure because they don't know it. See https://emacs.stackexchange.com/q/38553/15748. > Let's wait for Eli, Basil and the others... Maybe they will propose a > genial solution (as usual). Sorry, I don't usually take a stance on things like default key bindings and the like, because everyone has different preferences and I know I can (almost) always adapt them to my liking. Besides, I'm no authority around here. How well/prominently a mode advertises/documents its usage is a different matter. Thanks, -- Basil