From mboxrd@z Thu Jan 1 00:00:00 1970 From: "sgeorgii ." Subject: Re: 24.5; PostScript Print Buffer fails on Agenda buffer Date: Sat, 21 Nov 2015 22:03:48 +0300 Message-ID: References: <87610w1yzu.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0DRv-0001IJ-9C for emacs-orgmode@gnu.org; Sat, 21 Nov 2015 14:03:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0DRt-0007kF-SW for emacs-orgmode@gnu.org; Sat, 21 Nov 2015 14:03:51 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:37432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0DRt-0007jc-J1 for emacs-orgmode@gnu.org; Sat, 21 Nov 2015 14:03:49 -0500 Received: by wmww144 with SMTP id w144so58772310wmw.0 for ; Sat, 21 Nov 2015 11:03:48 -0800 (PST) In-Reply-To: <87610w1yzu.fsf@delle7240.chemeng.ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "sgeorgii ." , emacs-orgmode@gnu.org Sure, here is the bug report: I launch emacs (-q switch makes no difference), open my .org file and proceed as follows: M-x org-agenda a (agenda for current week or day) menu "File" -> "PostScript Print Buffer" instead of printout of agenda on my printer I get the following error in Backtrace: Debugger entered--Lisp error: (wrong-type-argument listp org-priority) ps-face-attribute-list((bold . org-priority)) ps-plot-with-face(78 82 (bold . org-priority)) ps-generate-postscript-with-faces1(1 4783) ps-generate-postscript-with-faces(1 4783) ps-generate(# 1 4783 ps-generate-postscript-with-faces) ps-spool-with-faces(1 4783 nil) ps-print-with-faces(1 4783 nil) ps-print-buffer-with-faces(nil) call-interactively(ps-print-buffer-with-faces nil nil) command-execute(ps-print-buffer-with-faces) I have this error on both Windows and Linux hosts with emacs version 24.5. Emacs version 24.3 or earlier work just fine on same Windows and Linux hosts. I get this error with "PostScript Print Buffer". If I choose "File"-> ""PostScript Print Buffer (B+W)" - this gives me printer printout all right on all versions of emacs on both Windows and Linux hosts . Any help? In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=/c/usr --host=i686-pc-mingw32' Important settings: value of $LANG: ENU locale-coding-system: cp1251 Major mode: Org-Agenda Week Ddl Grid Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Press key for agenda command (unrestricted): Formatting... 0% Collecting face information... ps-plot-with-face: Wrong type argument: listp, org-priority Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils ps-mule ps-print ps-def lpr diary-lib diary-loaddefs cal-iso org-agenda org-element org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view jka-compr image-mode dired cl-loaddefs cl-lib org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu easymenu calendar cal-loaddefs time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 221645 10009) (symbols 32 26574 0) (miscs 32 4419 2098) (strings 16 41593 5657) (string-bytes 1 1344167) (vectors 8 18490) (vector-slots 4 493986 7658) (floats 8 379 246) (intervals 28 2940 838) (buffers 508 16)) Also if I have no items with priority indication ([A], [B], [C]) - then "PostScript Print Buffer" works just fine and gives printout just fine on all emacs versions, with all Linux/Windows hosts. So may I suggest that it is the face of ([A], [B], [C]) priority marks what is confusing "PostScript Print Buffer" ? But as far as I could tell the "org-priority" face is not customized in my system: Org Priority face: [sample] State : STANDARD. Face used for priority cookies. [X] Inherit: INS DEL Face: (sample) font-lock-keyword-face INS Show All Attributes On 20 November 2015 at 18:17, Eric S Fraga wrote: > On Friday, 20 Nov 2015 at 13:05, sgeorgii . wrote: >> Hello! >> >> I filed this in debugs >> >> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21938 >> >> but may be this list is better place to ask? >> >> Please anyone could help me with the above (bug?) of Org-mode? > > Maybe post the details here? (I read all of my emails while offline...) > > In any case, while in agenda view, > > C-u M-x ps-print-buffer RET > > works fine for me as does > > C-u M-x ps-print-buffer-with-faces RET > > I need the C-u as I don't have a printer defined on my system. > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.2-215-gb4af3f