Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: histbeep doesn't work?



On Fri, Apr 03, 2015 at 09:14:54AM -0700, Bart Schaefer wrote:
> On Apr 3, 11:14am, Han Pingtian wrote:
> }
> } > HISTBEEP doesn't refer to bang-history, it refers to history motions
> } > in the ZLE widget set.
> } 
> } I'd like to suggest clarify the doc something like this:
> } 
> } -Beep when an attempt is made to access a history entry which
> } +Beep in ZLE widget when an attempt is made to access a history entry which
> }  isn't there.
> 
> Perhaps "Beep in ZLE when a widget attempts to access ..." but this
> change is otherwise fine.

Thanks. I have composed a new patch according to your suggestion.


From 7c0ff8a0f0e01c33c84ec5b5bab546b84a41a841 Mon Sep 17 00:00:00 2001
From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Apr 2015 11:09:39 +0800
Subject: [PATCH] clarifying doc of HIST_BEEP

Signed-off-by: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
---
 Doc/Zsh/options.yo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index 19920ca..8540256 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -809,7 +809,7 @@ pindex(NOHISTBEEP)
 cindex(history beeping)
 cindex(beep, history)
 item(tt(HIST_BEEP) <D>)(
-Beep when an attempt is made to access a history entry which
+Beep in ZLE when a widget attempts to access a history entry which
 isn't there.
 )
 pindex(HIST_EXPIRE_DUPS_FIRST)
-- 
1.9.3



Messages sorted by: Reverse Date, Date, Thread, Author