unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21938: 24.5; PostScript Print Buffer fails on Agenda buffer
@ 2015-11-17  8:06 sgeorgii .
  2015-11-19 10:11 ` bug#21938: sgeorgii .
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: sgeorgii . @ 2015-11-17  8:06 UTC (permalink / raw)
  To: 21938

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(#<buffer *Org Agenda*> 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))





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21938:
  2015-11-17  8:06 bug#21938: 24.5; PostScript Print Buffer fails on Agenda buffer sgeorgii .
@ 2015-11-19 10:11 ` sgeorgii .
  2015-11-20 19:21 ` bug#21938: 24.5; PostScript Print Buffer fails on Agenda buffer John Wiegley
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: sgeorgii . @ 2015-11-19 10:11 UTC (permalink / raw)
  To: 21938

 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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21938: 24.5; PostScript Print Buffer fails on Agenda buffer
  2015-11-17  8:06 bug#21938: 24.5; PostScript Print Buffer fails on Agenda buffer sgeorgii .
  2015-11-19 10:11 ` bug#21938: sgeorgii .
@ 2015-11-20 19:21 ` John Wiegley
       [not found] ` <CA+2xvWmAEKp0mo7_R72xiShhx2RfMA7MuJNp2XWRGmXjj35i3w__27178.3163458624$1448051231$gmane$org@mail.gmail.com>
  2015-11-23 13:51 ` bug#21938: [sgeorgii .] [O] bug#21938: John Wiegley
  3 siblings, 0 replies; 6+ messages in thread
From: John Wiegley @ 2015-11-20 19:21 UTC (permalink / raw)
  To: sgeorgii .; +Cc: 21938-done

>>>>> sgeorgii  <sgeorgii@gmail.com> writes:

> I launch emacs (-q switch makes no difference), open my .org file and
> proceed as follows:

> M-x org-agenda

I've forwarded this to the Org-mode mailing list.

John





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21938:
       [not found] ` <CA+2xvWmAEKp0mo7_R72xiShhx2RfMA7MuJNp2XWRGmXjj35i3w__27178.3163458624$1448051231$gmane$org@mail.gmail.com>
@ 2015-11-22 22:58   ` Nicolas Goaziou
  2015-11-23 12:23     ` bug#21938: sgeorgii .
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2015-11-22 22:58 UTC (permalink / raw)
  To: sgeorgii .; +Cc: 21938

Hello,

"sgeorgii ." <sgeorgii@gmail.com> writes:

>  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

What is the face used in the agenda when displaying the priority cookie
("C-u C-x =" with point on the cookie). 

I get (bold org-priority). You seem to have (bold . org-priority).

Also, could you try a more recent Org and check if bug still exists?

Regards,

-- 
Nicolas Goaziou





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21938:
  2015-11-22 22:58   ` bug#21938: Nicolas Goaziou
@ 2015-11-23 12:23     ` sgeorgii .
  0 siblings, 0 replies; 6+ messages in thread
From: sgeorgii . @ 2015-11-23 12:23 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 21938

Indeed updating Org to the current 8.3.2 solved all my problems so far!

Thank you Nicolas!

On 23 November 2015 at 01:58, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> "sgeorgii ." <sgeorgii@gmail.com> writes:
>
>>  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
>
> What is the face used in the agenda when displaying the priority cookie
> ("C-u C-x =" with point on the cookie).
>
> I get (bold org-priority). You seem to have (bold . org-priority).
>
> Also, could you try a more recent Org and check if bug still exists?
>
> Regards,
>
> --
> Nicolas Goaziou





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21938: [sgeorgii .] [O] bug#21938:
  2015-11-17  8:06 bug#21938: 24.5; PostScript Print Buffer fails on Agenda buffer sgeorgii .
                   ` (2 preceding siblings ...)
       [not found] ` <CA+2xvWmAEKp0mo7_R72xiShhx2RfMA7MuJNp2XWRGmXjj35i3w__27178.3163458624$1448051231$gmane$org@mail.gmail.com>
@ 2015-11-23 13:51 ` John Wiegley
  3 siblings, 0 replies; 6+ messages in thread
From: John Wiegley @ 2015-11-23 13:51 UTC (permalink / raw)
  To: 21938-done

Closed





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-11-23 13:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17  8:06 bug#21938: 24.5; PostScript Print Buffer fails on Agenda buffer sgeorgii .
2015-11-19 10:11 ` bug#21938: sgeorgii .
2015-11-20 19:21 ` bug#21938: 24.5; PostScript Print Buffer fails on Agenda buffer John Wiegley
     [not found] ` <CA+2xvWmAEKp0mo7_R72xiShhx2RfMA7MuJNp2XWRGmXjj35i3w__27178.3163458624$1448051231$gmane$org@mail.gmail.com>
2015-11-22 22:58   ` bug#21938: Nicolas Goaziou
2015-11-23 12:23     ` bug#21938: sgeorgii .
2015-11-23 13:51 ` bug#21938: [sgeorgii .] [O] bug#21938: John Wiegley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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