From: Wolfgang Jenkner <wjenkner@inode.at>
To: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
Cc: Nic Ferrier <nferrier@ferrier.me.uk>, emacs-devel@gnu.org
Subject: Re: eww as a package?
Date: Tue, 29 Jul 2014 13:48:49 +0200 [thread overview]
Message-ID: <85d2coqt6f.fsf@iznogoud.viz> (raw)
In-Reply-To: 1475521.glt13NV13Q@descartes
On Mon, Jul 28 2014, Rüdiger Sonderfeld wrote:
> The problem is that `eww' or rather `shr' relies on the C function `add-face-
> text-property' which is only available in 24.4/trunk. It is therefore not
> possible to package it for older versions.
I think Lars wrote this only for performance reasons as primitive (see
the thread starting with [1]).
Otherwise, the visual effect is the same as with
(defun add-face-text-property (start end face &optional append object)
(funcall (if append
#'font-lock-append-text-property
#'font-lock-prepend-text-property)
start end 'face face object))
The functions called here seem to exist since
1995-10-26 Simon Marshall <simon@duality.gnu.ai.mit.edu>
* font-lock.el: General reorganization.
[...]
(font-lock-fillin-text-property, font-lock-prepend-text-property,
font-lock-append-text-property): New text property functions.
[1] http://permalink.gmane.org/gmane.emacs.devel/153114
Wolfgang
next prev parent reply other threads:[~2014-07-29 11:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-27 10:34 eww as a package? Nic Ferrier
2014-07-27 23:34 ` eww, shr, and mm-text-html-renderer Bill Wohler
2014-07-28 19:34 ` Rüdiger Sonderfeld
2014-07-29 4:45 ` Bill Wohler
2014-11-13 21:32 ` Lars Magne Ingebrigtsen
2014-11-13 21:49 ` Bill Wohler
2014-07-28 19:30 ` eww as a package? Rüdiger Sonderfeld
2014-07-29 11:48 ` Wolfgang Jenkner [this message]
2014-07-29 13:08 ` Rüdiger Sonderfeld
2014-07-29 15:30 ` Nic Ferrier
2014-07-30 20:24 ` Ted Zlatanov
2014-11-13 21:29 ` 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=85d2coqt6f.fsf@iznogoud.viz \
--to=wjenkner@inode.at \
--cc=emacs-devel@gnu.org \
--cc=nferrier@ferrier.me.uk \
--cc=ruediger@c-plusplus.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 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.