From: Vinicius Jose Latorre <viniciusjl@ig.com.br>
To: Nikolaj Schumacher <n_schumacher@web.de>
Cc: emacs-pretest-bug@gnu.org, Stephan Hennig <stephanhennig@arcor.de>
Subject: Re: ps-print-buffer-with-faces chokes on face attribute property lists
Date: Wed, 10 Oct 2007 23:08:29 -0300 [thread overview]
Message-ID: <470D859D.5070400@ig.com.br> (raw)
In-Reply-To: <m2hcl5wlhi.fsf@nschum.de>
Hi Nikolaj,
Sorry for the delay. I've just fixed this problem in Emacs CVS trunk,
emacs-unicode and EMACS-22-BRANCH.
Thanks for your report,
Vinicius
Nikolaj Schumacher wrote:
> Hello,
>
> this bug was reported to me, but I think ps-print is at fault.
>
> When printing a buffer with overlays that specify the 'face property
> using a property list, `ps-print-buffer-with-faces' fails.
>
>
> For instance, the following snippet will throw an error.
>
> (let ((ov (make-overlay (point-min) (point-max) nil)))
> (overlay-put ov 'face '(:foreground "gray"))
> (ps-print-buffer-with-faces))
>
>
> The reason appears to be `ps-face-attribute-list':
>
> (ps-face-attribute-list '(foreground-color . "gray")) ; ok
> (ps-face-attribute-list '(:foreground "gray")) ; fails
>
>
>
> The original report:
>
>
>> Hi Nikolaj,
>>
>>
>> Symptoms:
>> ps-print-buffer-with-faces returns an error if
>> highlight-parentheses-mode is enabled and point is located inside a pair
>> of parentheses. Mini-buffer contains the following error message:
>>
>> ps-face-attribute-list: Wrong type argument: listp, "firebrick1"
>>
>>
>> Recipe:
>> 1. emacs -q
>> 2. M-x load-file highlight-parentheses.el RET
>> 3. M-x highlight-parentheses-mode RET
>> 4. Now, type: (abc)
>> 5. C-b
>> 6. M-x ps-print-buffer-with-faces
>>
>>
>> I'm using highlight-parentheses v1.0 with Emacs 22.1:
>>
>>
>>> In GNU Emacs 22.1.50.1 (i386-mingw-nt5.1.2600)
>>> of 2007-07-07 on NEUTRINO
>>> Windowing system distributor `Microsoft Corp.', version 5.1.2600
>>> configured using `configure --with-gcc (3.4) --cflags -Ic:/Programme/GnuWin32/include'
>>>
>> Thanks,
>> Stephan Hennig
>>
>
> The package in question can be found at
> http://nschum.de/src/emacs/highlight-parentheses/
>
>
> regards,
> Nikolaj Schumacher
>
prev parent reply other threads:[~2007-10-11 2:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <47052898.2060607@arcor.de>
2007-10-05 16:54 ` ps-print-buffer-with-faces chokes on face attribute property lists Nikolaj Schumacher
2007-10-11 2:08 ` Vinicius Jose Latorre [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=470D859D.5070400@ig.com.br \
--to=viniciusjl@ig.com.br \
--cc=emacs-pretest-bug@gnu.org \
--cc=n_schumacher@web.de \
--cc=stephanhennig@arcor.de \
/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 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).