[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#434: Minor Enhancement: Toggle narrowing/widen a function regionand
From: |
Chong Yidong |
Subject: |
bug#434: Minor Enhancement: Toggle narrowing/widen a function regionand all |
Date: |
Thu, 12 Apr 2012 14:27:09 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes:
>> 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?
>
> YAGNI. `narrow-to-defun' is `C-x n d'. We don't need a toggle for
> each narrowing command. And certainly not another key binding.
Agreed.