GNU bug report logs - #12443
24.2.50; Default values in the minibuffer prompt (fix

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Fri, 14 Sep 2012 14:08:01 UTC

Severity: minor

Found in version 24.2.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #109 received at 12443 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Dani Moncayo <dmoncayo <at> gmail.com>, Stefan Kangas <stefankangas <at> gmail.com>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>, Drew Adams <drew.adams <at> oracle.com>,
 12443 <at> debbugs.gnu.org
Subject: Re: bug#12443: 24.2.50; Default values in the minibuffer prompt
 (fix inconsisntecy)
Date: Sun, 06 Sep 2020 23:56:22 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> 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




This bug report was last modified 4 years and 124 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.