From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: trunk r116454: Some doc for read-regexp Date: Thu, 06 Mar 2014 11:04:41 +0530 Message-ID: <87ha7bgaa6.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1394084069 20392 80.91.229.3 (6 Mar 2014 05:34:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2014 05:34:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 06:34:37 2014 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 1WLQx2-0001eB-Sd for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2014 06:34:37 +0100 Original-Received: from localhost ([::1]:55826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLQx2-0004bK-F4 for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2014 00:34:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLQwt-0004b4-RM for emacs-devel@gnu.org; Thu, 06 Mar 2014 00:34:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLQwn-0005jL-WC for emacs-devel@gnu.org; Thu, 06 Mar 2014 00:34:27 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLQwn-0005jE-Ps for emacs-devel@gnu.org; Thu, 06 Mar 2014 00:34:21 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WLQwn-0001RV-9E for emacs-devel@gnu.org; Thu, 06 Mar 2014 06:34:21 +0100 Original-Received: from 101.63.239.18 ([101.63.239.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Mar 2014 06:34:21 +0100 Original-Received: from kjambunathan by 101.63.239.18 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Mar 2014 06:34:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 101.63.239.18 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:ESlqTos36M3KZrYPakhayUlxB8c= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:170173 Archived-At: `read-regexp-defaults-function' deserves a mention in the User Manual. Even though it is not a custom variable, it is meant to be user facing. I use it this way: (setq read-regexp-defaults-function (lambda nil (pcase this-command (`rgrep (find-tag-default-as-regexp)) (_ (find-tag-default-as-symbol-regexp))))) This way 1. M-x rgrep will work at point. 2. M-s o will work on symbol at point. Glenn Morris writes: > ------------------------------------------------------------ > revno: 116454 > revision-id: rgm@gnu.org-20140217021250-xbrzrdkdrquhf6mw > parent: michael.albinus@gmx.de-20140216172300-zwab4d5ltv4hbpot > committer: Glenn Morris > branch nick: trunk > timestamp: Sun 2014-02-16 18:12:50 -0800 > message: > Some doc for read-regexp > > * doc/lispref/minibuf.texi (Text from Minibuffer): > Update read-regexp details. > Mention read-regexp-defaults-function.