all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: make ps-print-buffer-with-faces all bold
Date: Sun, 24 Jul 2016 15:06:04 +0200	[thread overview]
Message-ID: <86invvxk1v.fsf@student.uu.se> (raw)
In-Reply-To: mailman.1954.1469320813.26859.help-gnu-emacs@gnu.org

myglc2 wrote:

> I alway want emacs printout in color but find
> the 'normal' faces frustratingly unreadable,
> especially in low contrast colors. So... Here
> is how to make everything bold in
> ps-print-buffer-with-faces, etc.
>
> ;; ps-print in all bold fonts
> (ps-extend-face-list
>  (mapcar (function  (lambda (x) (list x
> 				      (face-attribute x :foreground)     
> 				      (face-attribute x :background)
> 				      'bold)))
> 	 (face-list)) 'MERGE)

Cool, but perhaps you should change the "low
contrast colors" instead? Or do they look good
on the screen, only not so when printed?

In what context should one use the code? I.e.,
do you run it once or every time you print?

And: I don't think you need `function' before
`lambda'.

Last, aren't there other attributes than
foreground and background? Perhaps you can find
a function that returns the whole thing, and
then just set it to bold?

Otherwise keep it up...

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 58 Blogomatic articles -                   


       reply	other threads:[~2016-07-24 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1954.1469320813.26859.help-gnu-emacs@gnu.org>
2016-07-24 13:06 ` Emanuel Berg [this message]
2016-07-24 15:49   ` make ps-print-buffer-with-faces all bold myglc2
     [not found]   ` <mailman.1968.1469375478.26859.help-gnu-emacs@gnu.org>
2016-07-24 20:42     ` Emanuel Berg
2016-07-25 15:08       ` myglc2
2016-07-23 21:09 myglc2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86invvxk1v.fsf@student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.