From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: Adding an entry to a user option Date: Sat, 07 Mar 2009 19:56:06 +0100 Message-ID: <49B2C346.30509@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236452513 18227 80.91.229.12 (7 Mar 2009 19:01:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2009 19:01:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: st.boeters@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 07 20:03:10 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 1Lg1nh-0003vq-2A for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 20:03:09 +0100 Original-Received: from localhost ([127.0.0.1]:47716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lg1mL-0007JK-Ng for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 14:01:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lg1kX-0006aU-0u for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 13:59:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lg1kV-0006ZD-EX for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 13:59:52 -0500 Original-Received: from [199.232.76.173] (port=50558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lg1kU-0006Z5-V2 for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 13:59:51 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:45517) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Lg1kU-0001lU-9n for help-gnu-emacs@gnu.org; Sat, 07 Mar 2009 13:59:50 -0500 Original-Received: (qmail invoked by alias); 07 Mar 2009 18:59:47 -0000 Original-Received: from 88-117-45-79.adsl.highway.telekom.at (EHLO [88.117.45.79]) [88.117.45.79] by mail.gmx.net (mp046) with SMTP; 07 Mar 2009 19:59:47 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+JRyFvnoiJT9/3W8JrMZ7jYTjQuQeet7KBNVe1dd gBtlngbCMMZY5A User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) Original-References: c669990d-7203-4f80-994c-78fa88992042@h5g2000yqh.googlegroups.com X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:62745 Archived-At: > I want to discard a warning, that often pops up and which is not > relevant in my situation. The warning self says how to proceed, in > priciple, in this case: > > "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? > > I would also appreciate to pointed to some documentation where this is > described and which has (obviously) escaped me so far. Please write a bug report so Emacs developers will take care of this. Meanwhile you can try to add an entry like '(warning-suppress-types (quote ((undo discard-info))))) to your customizations which usually reside in your .emacs (or _emacs) file. That is, if so far you have customized `debug-on-error' and `yank-excluded-properties' only, your .emacs should then contain the following form: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(debug-on-error t) '(warning-suppress-types (quote ((undo discard-info)))) '(yank-excluded-properties t)) Restart Emacs and tell us whether it works. Thanks, martin.