[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#434: Minor Enhancement: Toggle narrowing/widen a function region and
Lars Magne Ingebrigtsen
bug#434: Minor Enhancement: Toggle narrowing/widen a function region and all
Wed, 11 Apr 2012 14:12:32 +0200
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
`C-x n f', for instance, to toggle narrowing to the current function.
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- bug#434: Minor Enhancement: Toggle narrowing/widen a function region and all,
Lars Magne Ingebrigtsen <=