Re: printing problems
Michael Heerdegen via Users list for the GNU Emacs text editor <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
gfp <[email protected]> writes: > Now I don´t get a backtrace any more, which is good, > but I am getting a warning: > > ⛔ Warning (emacs): Value ‘((prt_06a "lpr" nil "prt_06a") (prt_07c nil > nil "prt_07c"))’ does not match type (repeat (list :tag Text Printer > (symbol :tag Printer Symbol Name) (string :tag Printer Command) > (repeat :tag Printer Switches (sexp :tag Switch :value )) (choice > :menu-tag Printer Name :tag Printer Name (const :tag None nil) > string))) > [...] Hmm - that's actually a bug in Emacs. Sorry about that. You can either ignore the warnings for now until it is fixed in Emacs, or suppress the warnings by using "lpr" instead of nil as printer command everywhere. Any string value is accepted without warning, but the test for the value is currently too strict, it barfs about nil printer commands although that should pass. So, for example (setopt pr-ps-printer-alist '((lps_06b "lpr" nil "-P" "lps_06b") (lps_07c "lpr" nil nil "lps_07c") (lps_08c "lpr" nil nil "lps_08c") )) will not produce a (wrong) warning. Of course you can also still switch back to use `setq' instead of `setopt' in this case for now. Michael.