From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Suppressing beginning/end-of-buffer error messages (WAS: GNU Emacs raison d'etre) Date: Sat, 23 May 2020 07:10:46 -0400 Message-ID: References: <5230692c-c665-a330-7a12-e59fa25d97dd@gmail.com> <5d158a63-7173-424c-9d9f-ce7856f1eae7@default> <4bb36686-34e7-4ac8-898c-74e254902349@default> <29f65907-affb-481e-82f3-62522a766f69@default> <83sgfybn22.fsf@gnu.org> <1701f0b1-a481-bb45-08b8-99da4a6139fc@gmx.at> <11bfe86b-131c-4f55-5125-c269a73e360d@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="57930"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 23 13:11:52 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jcS4F-000EzJ-Ce for ged-emacs-devel@m.gmane-mx.org; Sat, 23 May 2020 13:11:51 +0200 Original-Received: from localhost ([::1]:52768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcS4E-0005wK-Ei for ged-emacs-devel@m.gmane-mx.org; Sat, 23 May 2020 07:11:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcS3T-0004pi-PB for emacs-devel@gnu.org; Sat, 23 May 2020 07:11:03 -0400 Original-Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]:40091) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcS3S-0000sx-WB for emacs-devel@gnu.org; Sat, 23 May 2020 07:11:03 -0400 Original-Received: by mail-oi1-x22a.google.com with SMTP id v128so11602256oia.7 for ; Sat, 23 May 2020 04:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=phzP52jlSsP8QjvQn1QGPO8dLNY57siatrjEmrCznes=; b=jJUZYIcbHCqtQ6xzjPNRctzj2yTVQBE4aqjfj8p4Ie1l6qitF3KK9x+3h06fmgrJKO XZTTLlyIuj6cJXp4b1QidklSpOa7UcUuc3LAyuvy5Ww7LLnzanYE23zKx7Vt/m6rMNGZ wYPCPrMN5Fnrt5lMMt01v5uX5eYW3YhDXbebW/vIPV8+E4EKmU7gFzQ0QJhkWw7F9WxY 1qvQiByplwATm8Ahzk672xErdt8GOO8ayUY3XFFXVujaPrzGtqaRM0j+xLepkIyQqAO6 dtGCieFsXo7VabKImb09AeTfPkBWrYf5LKNsN+Qr7RYeyIdIr2vPpSVl42Cvtj7oATf+ sBGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=phzP52jlSsP8QjvQn1QGPO8dLNY57siatrjEmrCznes=; b=bOCwqJJT3Ujc6Zw44jgRJpxzejwt9MTtS/xnNcw1f6NTRIFAFRbuLjHWDPb6EHqs1o RHeJ8Re5cqpaRH92jqcmTB5ljvCPISvVprwWmd80oHWbjBlZ1piIucJVn6sc26qiCP17 0oL23V/idhbHaDIMQvfv/FKwZxFK+8bO91dECtg+YfNmSiG2qvMX/cullQwLgSlM1zn9 jXdkHlD9tUP+Ujjic7hQ0nEiWKMkZK2OFcRAJgvueC2uUNM9FvZfvckN+k7Yvfag10vP 3T4i0PxFLl1xDpn2UJrNkEvZaSQat/QE5D64EjjsjMUyVQNyww3Odl8uFF/XkvnrXiJj MlNQ== X-Gm-Message-State: AOAM530dqO7xdDWOd2hbwFVb5Y0mcFvPtRjTYJsXeDeGa7U0d5FDSuS3 rcvGSf4xYnSe15f3iiYDAFY424DyCKc4JPUYFY0= X-Google-Smtp-Source: ABdhPJx+6YWWb6NnOj8bPmdTg4nm8HbOJLK6bP7pFIUIHo0HCGq8z1L2dOZ5RL/dMhV+dqy+SunNw1jn0uPY5RIoEZI= X-Received: by 2002:aca:c516:: with SMTP id v22mr5809865oif.177.1590232261998; Sat, 23 May 2020 04:11:01 -0700 (PDT) In-Reply-To: <11bfe86b-131c-4f55-5125-c269a73e360d@gmx.at> Received-SPF: pass client-ip=2607:f8b0:4864:20::22a; envelope-from=npostavs@gmail.com; helo=mail-oi1-x22a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:251263 Archived-At: On Sat, 23 May 2020 at 04:22, martin rudalics wrote: > (setq original-command-error-function #'command-error-function That should be #'command-error-default-function, > > (alternatively, you can hardcode command-error-default-function, but which is what I meant by this. > > then you lose other additions to command-error-function, like > > help-command-error-confusable-suggestions) > > And maybe 'minibuffer-error-function'. So I'll stick with your original > proposal making it the first occurrence of 'add-function' in my initial > file.