From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: Re: Built-in HTML renderer in Emacs?
Date: Mon, 30 Aug 2010 22:30:10 +0200 [thread overview]
Message-ID: <87pqwzdest.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <87pqwzsvrc.fsf@topper.koldfront.dk>
Ok, so this is what I am edebugging my way into: gnus-xmas-create-image
tries to use the filename extension as the type.
So type becomes the entire filename
"~/News/html-cache/2e3c3819257fbbdf9d03712c188dad90c3667387"; and this
code:
(make-glyph
(vector
(or (intern type)
(mm-image-type-from-buffer))
:data (buffer-string))))))
returns nil.
So, I tried changing the filename to end in '.jpg'. Well, that failed
spectacularly with nil.
I have no idea what 'intern'¹ does, but it doesn't seem to do any good
there?
Ok, so I changed the filename to end in '.jpeg', and - lo and behold -
now I got something other than nil in the mini-buffer:
Wrong type argument: lisp, #<glyph (buffer) #<image-specificer
global=((x) . [jpeg :data "ÿØÿà........etc.etc.
Close? elisp is hard, let's go shopping.
Best regards,
Adam
¹
,----
| `intern' is a built-in function
| -- loaded from "/usr/src/xemacs/xemacs-snapshot-21.5/src/symbols.c"
| (intern STRING &optional OBARRAY)
|
| Documentation:
| Return the canonical symbol whose name is STRING.
| If there is none, one is created by this function and returned.
| Optional second argument OBARRAY specifies the obarray to use;
| it defaults to the value of the variable `obarray'.
`----
--
"Sunday morning when the rain begins to fall Adam Sjøgren
I believe I have seen the end of it all" asjo@koldfront.dk
next prev parent reply other threads:[~2010-08-30 20:30 UTC|newest]
Thread overview: 110+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-28 22:43 Lars Magne Ingebrigtsen
2010-08-28 22:54 ` Leo
2010-08-28 23:02 ` Lars Magne Ingebrigtsen
2010-08-28 23:10 ` Lars Magne Ingebrigtsen
2010-08-28 23:21 ` Adam Sjøgren
2010-08-29 0:03 ` Steinar Bang
2010-08-29 1:29 ` Lars Magne Ingebrigtsen
2010-08-29 2:45 ` Lars Magne Ingebrigtsen
2010-08-29 14:17 ` Adam Sjøgren
2010-08-29 14:26 ` Lars Magne Ingebrigtsen
2010-08-29 14:29 ` Adam Sjøgren
2010-08-29 14:34 ` Lars Magne Ingebrigtsen
2010-08-29 14:43 ` Adam Sjøgren
2010-08-29 18:29 ` Adam Sjøgren
2010-08-29 18:38 ` Lars Magne Ingebrigtsen
2010-08-29 18:54 ` Adam Sjøgren
2010-08-30 19:39 ` Andreas Schwab
2010-08-30 19:47 ` Lars Magne Ingebrigtsen
2010-08-30 16:21 ` Adam Sjøgren
2010-08-30 16:51 ` Lars Magne Ingebrigtsen
2010-08-30 17:15 ` Adam Sjøgren
2010-08-30 17:18 ` Lars Magne Ingebrigtsen
2010-08-30 17:32 ` Adam Sjøgren
2010-08-30 18:24 ` Adam Sjøgren
2010-08-30 18:28 ` Lars Magne Ingebrigtsen
2010-08-30 18:36 ` Adam Sjøgren
2010-08-30 18:39 ` Adam Sjøgren
2010-08-30 20:05 ` Adam Sjøgren
2010-08-30 20:11 ` Lars Magne Ingebrigtsen
2010-08-30 20:14 ` Adam Sjøgren
2010-08-30 20:30 ` Adam Sjøgren [this message]
2010-08-30 20:41 ` Lars Magne Ingebrigtsen
2010-08-30 20:47 ` Adam Sjøgren
2010-08-30 20:52 ` Lars Magne Ingebrigtsen
2010-08-30 21:20 ` Adam Sjøgren
2010-08-30 21:29 ` Lars Magne Ingebrigtsen
2010-08-30 21:34 ` Adam Sjøgren
2010-08-30 18:39 ` Lars Magne Ingebrigtsen
2010-08-30 18:47 ` Adam Sjøgren
2010-08-31 15:08 ` Lars Magne Ingebrigtsen
2010-08-31 16:12 ` Lars Magne Ingebrigtsen
2010-08-31 16:40 ` Steinar Bang
2010-08-31 16:47 ` Lars Magne Ingebrigtsen
2010-08-31 16:50 ` Lars Magne Ingebrigtsen
2010-08-31 18:39 ` Ted Zlatanov
2010-08-31 18:42 ` Lars Magne Ingebrigtsen
2010-08-31 18:58 ` Ted Zlatanov
2010-08-31 19:01 ` Lars Magne Ingebrigtsen
2010-08-31 19:14 ` Ted Zlatanov
2010-08-31 19:17 ` Lars Magne Ingebrigtsen
2010-09-01 13:45 ` Ted Zlatanov
2010-09-01 14:27 ` Lars Magne Ingebrigtsen
2010-09-01 14:55 ` Ted Zlatanov
2010-09-01 15:32 ` Lars Magne Ingebrigtsen
2010-09-01 15:40 ` Ted Zlatanov
2010-09-01 15:56 ` Lars Magne Ingebrigtsen
2010-09-01 16:28 ` Ted Zlatanov
2010-09-01 16:43 ` Lars Magne Ingebrigtsen
2010-09-01 17:05 ` Ted Zlatanov
2010-09-01 17:10 ` Lars Magne Ingebrigtsen
2010-09-01 17:14 ` Lars Magne Ingebrigtsen
2010-09-01 17:21 ` Ted Zlatanov
2010-09-01 17:27 ` Lars Magne Ingebrigtsen
2010-09-01 17:43 ` Ted Zlatanov
2010-09-01 17:51 ` Lars Magne Ingebrigtsen
2010-09-01 18:27 ` Ted Zlatanov
2010-09-01 18:38 ` Lars Magne Ingebrigtsen
2010-09-01 19:33 ` Ted Zlatanov
2010-09-01 19:57 ` Lars Magne Ingebrigtsen
2010-09-01 20:20 ` Ted Zlatanov
2010-09-01 20:26 ` Lars Magne Ingebrigtsen
2010-09-01 20:33 ` Lars Magne Ingebrigtsen
2010-09-01 20:44 ` Lars Magne Ingebrigtsen
2010-09-01 21:18 ` Steinar Bang
2010-09-01 22:52 ` Lars Magne Ingebrigtsen
2010-09-02 7:24 ` Steinar Bang
2010-09-02 8:20 ` Daniel Pittman
2010-09-02 12:29 ` Steinar Bang
2010-09-02 10:21 ` Lars Magne Ingebrigtsen
2010-09-01 20:49 ` Ted Zlatanov
2010-09-01 20:55 ` Lars Magne Ingebrigtsen
2010-09-03 14:20 ` Ted Zlatanov
2010-09-03 17:54 ` Lars Magne Ingebrigtsen
2010-09-03 18:47 ` Lars Magne Ingebrigtsen
2010-09-07 17:51 ` Ted Zlatanov
2010-09-07 17:55 ` Lars Magne Ingebrigtsen
2010-09-08 8:34 ` Julien Danjou
2010-09-08 13:53 ` Ted Zlatanov
2010-09-08 14:13 ` Lars Magne Ingebrigtsen
2010-09-08 15:48 ` Ted Zlatanov
2010-09-08 15:59 ` Lars Magne Ingebrigtsen
2010-09-08 18:11 ` Ted Zlatanov
2010-09-08 17:48 ` Lars Magne Ingebrigtsen
2010-09-02 7:18 ` Frank Schmitt
2010-09-01 21:00 ` Steinar Bang
2010-09-01 21:03 ` Lars Magne Ingebrigtsen
2010-09-01 21:20 ` Steinar Bang
2010-09-01 21:52 ` Lars Magne Ingebrigtsen
2010-08-29 18:41 ` Adam Sjøgren
2010-08-29 18:51 ` Lars Magne Ingebrigtsen
2010-09-08 20:22 ` Adam Sjøgren
2010-09-08 20:31 ` Adam Sjøgren
2010-09-08 21:01 ` Lars Magne Ingebrigtsen
2010-09-08 21:15 ` Adam Sjøgren
2010-08-30 19:41 ` Andreas Schwab
2010-08-30 19:48 ` Lars Magne Ingebrigtsen
2010-08-30 21:17 ` Andreas Schwab
2010-08-29 5:32 ` Leo
2010-08-29 6:26 ` David Engster
2010-08-29 13:48 ` Lars Magne Ingebrigtsen
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=87pqwzdest.fsf@topper.koldfront.dk \
--to=asjo@koldfront.dk \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).