Subject: bug#4321: 23.1; bell is not terminal specific

From: Tom Tromey <[email-masked]>
Date: Wed, 02 Sep 2009 13:12:35 -0600

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I use ssh + emacsclient -t on my laptop to let me use my primary emacs
from another room.

I typed C-g here, and was surprised to hear a noise coming from the
other room.

I think that maybe visible-bell and ring-bell-function should be
terminal-local.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.1/etc/DEBUG for instructions.

In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.5)
 of 2009-08-24 on x86-2.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10601901
configured using `configure  '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  gnus-agent-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-spelling-mode: t
  erc-truncate-mode: t
  gnus-undo-mode: t
  erc-status-mode: t
  erc-services-mode: t
  erc-networks-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-f M-f C-k C-/ C-e <backspace> ; <return> <return> 
+ + u s e M-/ ; <return> + + u s e M-/ M-/ ; <return> 
<return> r e s <M-backspace> r e s u l t SPC - = SPC 
u s e M-/ M-/ SPC + S-SPC u s e s _ l i M-/ ; <return> 
<return> r e t u r n r SPC e s u l t ; b C-b M-b C-b 
C-t C-e <backspace> C-x C-s C-z o <f10> <f10> <f10> 
<f10> <f10> <switch-frame> <switch-frame> <help-echo> 
<switch-frame> <switch-frame> <switch-frame> C-z o 
<f10> <f10> <f10> C-l y e a h <return> <f10> C-z o 
C-x b * G <tab> <return> p p p p p n n M-g M-g M-g 
C-p C-p C-p SPC 1 8 8 <backspace> <backspace> 1 8 <return> 
M-> SPC q s C-u C-u C-p C-u C-n C-n C-n C-n M-g M-g 
M-g M-g p SPC M-> SPC SPC SPC SPC q s C-z o <f10> <f10> 
C-h . t e r m i n a l <return> C-x o C-x 1 C-v C-c 
b C-h v t e r m i n <tab> <return> C-h f t e r m i 
<tab> p <tab> <tab> <return> C-x 1 C-h i m d m e l 
i s <tab> <return> C-s t e r m i n a l C-a m <return> 
u C-p m <return> C-s t e r m i n a l C-a n f f r <tab> 
<return> f f r <tab> <return> u m <return> C-s t e 
r m i n a l C-s C-s C-a C-v f m u <tab> <return> C-v 
C-v C-v q <f10> <f10> C-z o M-x r e p o r t - e m <tab> 
b <tab> <return>

Recent messages:
uncompressing elisp-7.gz...done
uncompressing elisp-8.gz...done
uncompressing elisp-9.gz...done
uncompressing elisp-10.gz...done
uncompressing elisp-11.gz...done
Mark saved where search started [2 times]
uncompressing elisp-6.gz...done
uncompressing elisp-1.gz...done
uncompressing elisp-6.gz...done
Mark saved where search started

Tom