emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 24.5; PostScript Print Buffer fails on Agenda buffer
@ 2015-11-20 10:05 sgeorgii .
  2015-11-20 15:17 ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: sgeorgii . @ 2015-11-20 10:05 UTC (permalink / raw)
  To: emacs-orgmode

 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?

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

* Re: 24.5; PostScript Print Buffer fails on Agenda buffer
  2015-11-20 10:05 24.5; PostScript Print Buffer fails on Agenda buffer sgeorgii .
@ 2015-11-20 15:17 ` Eric S Fraga
  2015-11-21 19:03   ` sgeorgii .
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2015-11-20 15:17 UTC (permalink / raw)
  To: sgeorgii .; +Cc: emacs-orgmode

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

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

* Re: 24.5; PostScript Print Buffer fails on Agenda buffer
  2015-11-20 15:17 ` Eric S Fraga
@ 2015-11-21 19:03   ` sgeorgii .
  2015-11-23 16:26     ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: sgeorgii . @ 2015-11-21 19:03 UTC (permalink / raw)
  To: sgeorgii ., emacs-orgmode

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(#<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))




 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 <e.fraga@ucl.ac.uk> 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

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

* Re: 24.5; PostScript Print Buffer fails on Agenda buffer
  2015-11-21 19:03   ` sgeorgii .
@ 2015-11-23 16:26     ` Eric S Fraga
  2015-11-23 18:12       ` sgeorgii .
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2015-11-23 16:26 UTC (permalink / raw)
  To: sgeorgii .; +Cc: emacs-orgmode

On Saturday, 21 Nov 2015 at 22:03, sgeorgii . wrote:
> Sure, here is the bug report:
> I launch emacs (-q switch makes no difference), open my .org file and
> proceed as follows:

I see nothing that I can help with in this unfortunately.
Works for me just fine with or without priorities in my agenda items.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.2-215-gb4af3f

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

* Re: 24.5; PostScript Print Buffer fails on Agenda buffer
  2015-11-23 16:26     ` Eric S Fraga
@ 2015-11-23 18:12       ` sgeorgii .
  0 siblings, 0 replies; 5+ messages in thread
From: sgeorgii . @ 2015-11-23 18:12 UTC (permalink / raw)
  To: sgeorgii ., emacs-orgmode

Thank you for the effort Eric.

Turns out the problem got solved when I updated my org-mode to the
current version.

Now it works just fine!

On 23 November 2015 at 19:26, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> On Saturday, 21 Nov 2015 at 22:03, sgeorgii . wrote:
>> Sure, here is the bug report:
>> I launch emacs (-q switch makes no difference), open my .org file and
>> proceed as follows:
>
> I see nothing that I can help with in this unfortunately.
> Works for me just fine with or without priorities in my agenda items.
>
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.2-215-gb4af3f

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-20 10:05 24.5; PostScript Print Buffer fails on Agenda buffer sgeorgii .
2015-11-20 15:17 ` Eric S Fraga
2015-11-21 19:03   ` sgeorgii .
2015-11-23 16:26     ` Eric S Fraga
2015-11-23 18:12       ` sgeorgii .

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).