From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Beeping (was: Emacs for new users) Date: Fri, 27 Nov 2009 00:12:49 +0100 Message-ID: References: <912155b0911230837i48326730m82e0d54d4004be59@mail.gmail.com> <87y6lxdvnl.fsf@mandingo.thematica.it> <87zl6dgjt1.fsf@stupidchicken.com> <874oolarvt.fsf@stupidchicken.com> <87aay91k9j.fsf_-_@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1259277215 26062 80.91.229.12 (26 Nov 2009 23:13:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2009 23:13:35 +0000 (UTC) Cc: Chong Yidong , =?UTF-8?Q?Per_Starb=C3=A4ck?= , 1305@emacsbugs.donarmstrong.com, Giuseppe Scrivano , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 00:13:28 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDnWg-0006Qq-Tf for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2009 00:13:27 +0100 Original-Received: from localhost ([127.0.0.1]:40132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDnWg-0004pX-2z for ged-emacs-devel@m.gmane.org; Thu, 26 Nov 2009 18:13:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDnWY-0004o7-7F for emacs-devel@gnu.org; Thu, 26 Nov 2009 18:13:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDnWT-0004kt-Mu for emacs-devel@gnu.org; Thu, 26 Nov 2009 18:13:17 -0500 Original-Received: from [199.232.76.173] (port=49169 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDnWT-0004km-E9 for emacs-devel@gnu.org; Thu, 26 Nov 2009 18:13:13 -0500 Original-Received: from mail-yx0-f175.google.com ([209.85.210.175]:51197) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDnWP-0000f1-UF; Thu, 26 Nov 2009 18:13:10 -0500 Original-Received: by yxe5 with SMTP id 5so1097032yxe.24 for ; Thu, 26 Nov 2009 15:13:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=PCAbcoAtV0fxYQeqng7qJ6zuWde2ilgbmNgcShAoASc=; b=aVcMYT4zWQkx55QgEVqB167pi4ST4OaTxPNSm+xJRYmRvXdJLFWKLQeb7G9Oj5lnQh t8dNM++aGSwo2OO1+2jKIqossbt0k1I/NEegoWZHpZPjdtcNIdYEyg3S7dHCJIWAbZTF wDbQY+6cTfp2B01hrUfTXBXXtVxgWYu9YROQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=psVNYaInEZ0MuNJBB8S/he12vnb2sDASDY87W6TaQ9mSisDOCeS6HmtH7wVPiiBic5 jddytoPNh/G8kKa1QEyYyLOKLuJF5EO0WzhVbtZzaXQIMWzTiFyx0WpGCmmve7WL8o18 2NtNWApopA5yFmjAiFOF4udHQbQW+J/bAKpn0= Original-Received: by 10.101.176.2 with SMTP id d2mr133156anp.27.1259277189087; Thu, 26 Nov 2009 15:13:09 -0800 (PST) In-Reply-To: <87aay91k9j.fsf_-_@mail.jurta.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117836 Archived-At: On Thu, Nov 26, 2009 at 11:35 PM, Juri Linkov wrote: >> >> The problem is that we have no mechanism for telling Emacs not to ring >> the bell for certain classes of errors. > > I suggest to implement this mechanism by adding a new symbol property, > e.g. `error-bell' by analogy with properties `error-message' and > `error-conditions', with possible values t, nil and `visible'. > > And to put this property with the value nil on `beginning-of-buffer', > `end-of-buffer' and `keyboard-quit' - most annoying beeping commands. Maybe the problem is a bit different. There is currently no dedicated mechanism in Emacs to go to command level. Instead a lot of functions throws an error when they want to go to command level. Could we not implement something like (command-level) akin to (top-level)?