GNU bug report logs - #13687
24.3.50; `read-regexp' should provide regex for symbol at point as defaults

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Mon, 11 Feb 2013 06:30:02 UTC

Severity: wishlist

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jambunathan K <kjambunathan <at> gmail.com>
Subject: bug#13687: closed (Re: bug#13687: 24.3.50; `read-regexp' should
 provide regex for symbol at point as defaults)
Date: Sat, 16 Feb 2013 14:30:05 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#13687: 24.3.50; `read-regexp' should provide regex for symbol at point as defaults

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 13687 <at> debbugs.gnu.org.

-- 
13687: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13687
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 13687-done <at> debbugs.gnu.org
Subject: Re: bug#13687: 24.3.50;
	`read-regexp' should provide regex for symbol at point as defaults
Date: Sat, 16 Feb 2013 09:28:18 -0500
>> This said your patch seems to leave the caller's provided `defaults' at
>> the beginning of the minibuffer's `defaults', so I think your patch is
>> fine, feel free to install it.
> See revno: 111803

Thanks.
You can close bugs simply by sending your email to
"NNN-done <at> debbugs...", as I'm doing with this one.


        Stefan

[Message part 3 (message/rfc822, inline)]
From: Jambunathan K <kjambunathan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
	`read-regexp' should provide regex for symbol at point as defaults
Date: Mon, 11 Feb 2013 11:58:35 +0530
Spun from 

        http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11095

`read-regexp' should provide regex for symbol at point as one of the
defaults.  This should be the first of defaults while in any of the
progmodes.

I provided a patch which can be seen here:
        http://debbugs.gnu.org/cgi/bugreport.cgi?msg=32;filename=bug11095-r110503.diff;att=4;bug=11095


The key thing to note is this:  

1. `find-tag-default' (when find-tag-default-function is nil) will pick
    up the symbol at point.

2. When tag is picked as above, surround it with beginning/end-of-symbol
   regexp delimiters and add it to defaults.

In GNU Emacs 24.3.50.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2013-02-11 on debian-6.05
Bzr revision: 111730 rgm <at> gnu.org-20130211015045-19w1ceor0tkfxc8q
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux 6.0.5 (squeeze)




This bug report was last modified 12 years and 69 days ago.

Previous Next


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