From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy) Date: Sun, 06 Sep 2020 23:56:22 +0200 Message-ID: <877dt6d0xl.fsf@gnus.org> References: <871ui48di4.fsf@mail.jurta.org> <878se2aox0.fsf@gnus.org> <87imd669dh.fsf@gnus.org> <875z961u2l.fsf@mail.linkov.net> <871rjt1uc1.fsf@gnus.org> <878se0gc25.fsf@mail.linkov.net> <87imd2vp1k.fsf@gnus.org> <87sgbv7xtn.fsf@gnus.org> <877dt6er29.fsf@gnus.org> <87tuwaslq3.fsf@web.de> <87pn6yd4it.fsf@gnus.org> <87pn6yshgx.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27427"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 12443@debbugs.gnu.org, Stefan Kangas , Stefan Monnier , Dani Moncayo To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 06 23:58:00 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kF2fg-00071F-7f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Sep 2020 23:58:00 +0200 Original-Received: from localhost ([::1]:36174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kF2ff-0001l1-6x for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Sep 2020 17:57:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kF2ek-0001Us-43 for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2020 17:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kF2ej-0008Ae-Ql for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2020 17:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kF2ej-0003s0-Q5 for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2020 17:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Sep 2020 21:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12443 X-GNU-PR-Package: emacs Original-Received: via spool by 12443-submit@debbugs.gnu.org id=B12443.159942939614845 (code B ref 12443); Sun, 06 Sep 2020 21:57:01 +0000 Original-Received: (at 12443) by debbugs.gnu.org; 6 Sep 2020 21:56:36 +0000 Original-Received: from localhost ([127.0.0.1]:47302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kF2eK-0003rM-Kt for submit@debbugs.gnu.org; Sun, 06 Sep 2020 17:56:36 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:49096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kF2eJ-0003r9-03 for 12443@debbugs.gnu.org; Sun, 06 Sep 2020 17:56:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jpwzkganj/r7eJLmJz21MAElfWMdO2mviucMToIaduk=; b=fGeyArb6B+p7MyYVtld1lJtkJm 8RVppzHGtDwfTmqZP/7z/TLsSqKkDVeWfZ2BH270QeTUVBjb8IIPUlNE90+nbWtG0gkSwSnF77ihh MfE7ExAw2h5NI0ywttGL7kzJgtztREHYLXJZek0AD6UJIfK7F5pyuDNkt/BFHFypKNhI=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kF2e8-0006LR-Jz; Sun, 06 Sep 2020 23:56:27 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXw8PBdXV2joqP/ //8t2MV5AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QJBhU0H0W1UQAAAAFTSURBVCjPjZGxasMwEIYv ojF2phI6ZDShMa6ewkuGbg00xngKpRLGT6GaJiSeMpQQMgnTmuSesifZqV269IaTvtPp190J4Jfd 5O8rt3S3O0UwFPXqXgopDXjzu2iYybk0aY6onz1nvhaRBZl46/XnI6XxAgvEM0fEI3C8XJYIVbiF WwN5BqyanMGHAE+ablYcCXjqG03EShMoW0elNIRg440PSaIxZiIt0H0yA0yjslfHBl7yRmZ87PXG L7qDKaoOxr2D5jkG5dmmGTdA1CNKn5gDlqLyQ/vo7E1qBE0wbcTIF9oKuH5PrVRUs3uV1u3GN520 LdIy0x2w/EP9wMB1ulJdzq5DoIRRG+z56/If481H0YfhHh7S+KteYp6e8j3AIanUNiwcr6a34nix yAIhNgeaRRSn1dPsVZTUNkvSJIsCKXZmWLFYJKtgtxFB19efcr4ByGtiboM3kVUAAAAldEVYdGRh dGU6Y3JlYXRlADIwMjAtMDktMDZUMjE6NTI6MzErMDA6MDDg7P/LAAAAJXRFWHRkYXRlOm1vZGlm eQAyMDIwLTA5LTA2VDIxOjUyOjMxKzAwOjAwkbFHdwAAAABJRU5ErkJggg== X-Now-Playing: Neil Young & Crazy Horse's _Zuma_: "Pardon My Heart" In-Reply-To: <87pn6yshgx.fsf@web.de> (Michael Heerdegen's message of "Sun, 06 Sep 2020 23:50:06 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187390 Archived-At: Michael Heerdegen writes: > I didn't have this use case in mind. The current way to do this would > write like > > #+begin_src emacs-lisp > (el-search--occur > (el-search-make-search > '`(read-string ,(pred stringp) nil ,_ ,t) > (lambda () > (el-search-stream-of-directory-files > (expand-file-name "~/src/emacs/trunk/lisp"))))) > #+end_src > > I think. Do you think this is worth an own defun? I think so -- I've been using el-search now for a few hours, and what takes 90% of my time is typing `C-u M-x el-search-directory RET ~/src/emacs/trunk/lisp/ RET M-p' and then I can edit the pcase form, and then RET, wait a bit, and O, wait some more, and then I can start working. Well, OK, it's really `C-u M-x M-p RET M-p RET M-p', but that's not kind on the fingers, either. :-) I'd just like to plop the some expression in *scratch* and eval it after each pcase edit. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no