From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: Adding an entry to a user option Date: Fri, 06 Mar 2009 10:57:36 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236333522 24111 80.91.229.12 (6 Mar 2009 09:58:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2009 09:58:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Boeters Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 10:59:59 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LfWqU-0007Kl-Nw for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 10:59:58 +0100 Original-Received: from localhost ([127.0.0.1]:54234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfWp9-0002Kf-At for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 04:58:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfWoI-000273-49 for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 04:57:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfWoG-00026X-FT for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 04:57:40 -0500 Original-Received: from [199.232.76.173] (port=56430 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfWoG-00026R-4d for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 04:57:40 -0500 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:59129) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfWoF-0004Cz-46 for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 04:57:39 -0500 Original-Received: from thursday (unknown [78.52.31.26]) by dd18200.kasserver.com (Postfix) with ESMTP id 6BED01811EA56; Fri, 6 Mar 2009 10:57:39 +0100 (CET) In-Reply-To: (Stefan Boeters's message of "Thu, 5 Mar 2009 10:37:24 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62666 Archived-At: Stefan Boeters wrote: > "You can disable the popping up of this buffer by adding the entry > (undo discard-info) to the user option `warning-suppress-types'." > > But how can I achieve this? How do I "add an entry to a user option"? > Can someone suggest a piece of code to be added to the _emacs file? How to solve this depends on the option's format. I don't know the package, so I can't help you there. But ideally, you should be able to M-x customize-variable warning-suppress-types and add an entry with that text. Otherwise, you should look up the documentation for the option. You can do this with: C-h v warning-suppress-types It might be something like this: (add-to-list 'warning-suppress-types '(undo discard-info)) But there's no universal answer. regards, Nikolaj Schumacher