bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#434: Minor Enhancement: Toggle narrowing/widen a function region and


From: Lars Magne Ingebrigtsen
Subject: bug#434: Minor Enhancement: Toggle narrowing/widen a function region and all
Date: Wed, 11 Apr 2012 14:12:32 +0200
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux)

Kazuo YAGI <address@hidden> writes:

> This is to let you toggle narrowing/widen a function region and all
> when editing a source code.
>
> This works with C-s, M-%. M-x replace-string, M-x occur, etc ...
>
> I think it make us easy to search/replace a word within a function.
> And it is for not to jump over a function if you want to edit it only.

I think it's an interesting idea.  Narrowing to the current function to
search around in it (especially when refactoring) is something that I
often do "manually", so having a handy keystroke for it would be nice, I
think.

`C-x n f', for instance, to toggle narrowing to the current function.

Opinions?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]