all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7958: Unresponsive visual bell on OSX
@ 2011-02-02  4:39 Neil Conway
  2011-02-02 19:47 ` Jan Djärv
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Conway @ 2011-02-02  4:39 UTC (permalink / raw)
  To: 7958

I'm using Emacs 23.2 (from MacPorts) on OSX 10.6.6. My .emacs includes
"(setq visible-bell t)", but when I do something that causes the bell
to be triggered, Emacs becomes very unresponsive (sometimes hanging
for 3 or 4 seconds, usually (much) longer).

Steps to repro:
1. Set visual bell to true
2. Run Emacs in console mode; I've tested using Terminal.app and iTerm2
3. Open a reasonably-sized file (e.g., 10 lines) and scroll past the
end of the file, e.g., using C-v

Instead of a visual bell, emacs instead refuses to respond to user
input for a lengthy period of time. If I attach with gdb, a typical
call stack looks like:

#0  0x00007fff88c81fca in __semwait_signal ()
#1  0x00007fff88c81e59 in nanosleep ()
#2  0x0000000100544fe5 in napms ()
#3  0x00000001005494fb in delay_output ()
#4  0x0000000100549738 in tputs ()
#5  0x0000000100067007 in tty_ring_bell ()
#6  0x0000000100005ae5 in Fding ()
#7  0x00000001000f3713 in Feval ()
[...]

I can actually get emacs to operate normally by forcing the bottom few
stack frames to return via "ret".

If I remove (setq visual-bell t) from my .emacs, I don't see this behavior.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-03 23:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02  4:39 bug#7958: Unresponsive visual bell on OSX Neil Conway
2011-02-02 19:47 ` Jan Djärv
2014-02-03 23:46   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.