unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Adding an entry to a user option
@ 2009-03-05 18:37 Stefan Boeters
  2009-03-06  9:52 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stefan Boeters @ 2009-03-05 18:37 UTC (permalink / raw)
  To: help-gnu-emacs

I'm new to Emacs -- and this might be a very basic question. But I've
invested some time searching in the FAQ, in the Emacs Wiki and in this
group, but could not find an answer.

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.

Stefan

--
Den Haag, Netherlands


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Adding an entry to a user option
@ 2009-03-07 18:56 martin rudalics
  0 siblings, 0 replies; 6+ messages in thread
From: martin rudalics @ 2009-03-07 18:56 UTC (permalink / raw)
  To: st.boeters; +Cc: help-gnu-emacs

 > 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.





^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.2654.1236452395.31690.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2009-03-13 22:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 18:37 Adding an entry to a user option Stefan Boeters
2009-03-06  9:52 ` Peter Dyballa
2009-03-06  9:57 ` Nikolaj Schumacher
2009-03-06 15:17 ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2009-03-07 18:56 martin rudalics
     [not found] <mailman.2654.1236452395.31690.help-gnu-emacs@gnu.org>
2009-03-13 22:24 ` Stefan Boeters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).