Your message dated Sat, 12 Jan 2019 23:00:14 +0000
with message-id <e1gisge-00009w...@fasolo.debian.org>
and subject line Bug#864644: fixed in dictionary-el 1.10+git20190107-1
has caused the Debian Bug report #864644,
regarding dictionary-el: No font face support for default font
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
864644: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864644
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dictionary-el
Version: 1.10-3
Severity: wishlist
Tags: patch
Dear Maintainer,
Since emacs can handle nice variable width fonts, it makes sense to
have dictionary.el use them by default. While there is support for
changing some of the font faces, such as the buttons at the top, the
package is mysteriously missing the ability to change the font of the
definition itself.
Here is a patch that defines dictionary-word-definition-face, which
defaults to "DejaVu Serif", if that font family is supported. If that
font isn't available and the display type is "X", "Sans Serif" is
used. Otherwise, the default fonts are used.
[Side note: I may have a misunderstanding of how font availabilty
checking is supposed to work in Emacs. I based my code on the
documentation in the Emacs Lisp Reference Manual ("Defining Faces").
The actual behavior of Emacs seems to differ slightly, but I'll report
that in a different bug.]
----8<----8<----8<----8<-------CUT HERE-------8<----8<----8<----8<----
--- /usr/share/emacs/site-lisp/dictionary-el/dictionary.el 2017-01-05
18:32:36.000000000 -0800
+++ ~/.local/share/elisp/dictionary.el 2017-06-12 02:45:19.188853099 -0700
@@ -202,6 +202,16 @@
(if (fboundp 'defface)
(progn
+ (defface dictionary-word-definition-face
+ '((((supports '(:family "DejaVu Serif")))
+ (:family "DejaVu Serif"))
+ (((type x))
+ (:font "Sans Serif"))
+ (t
+ (:font "default")))
+ "The face that is used for displaying the definition of the word."
+ :group 'dictionary)
+
(defface dictionary-word-entry-face
'((((type x))
(:italic t))
@@ -760,6 +770,7 @@
(let ((start (point)))
(insert (dictionary-decode-charset reply dictionary))
(insert "\n\n")
+ (put-text-property start (point) 'face 'dictionary-word-definition-face)
(let ((regexp "\\({+\\)\\([^ '\"][^}]*\\)\\(}+\\)"))
(goto-char start)
(while (< (point) (point-max))
----8<----8<----8<----8<-------CUT HERE-------8<----8<----8<----8<----
-- System Information:
Debian Release: 8.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dictionary-el depends on:
ii emacs 46.1
ii emacs23 [emacsen] 23.4+1-4
ii emacs24 [emacsen] 24.4+1-5
ii emacsen-common 2.0.8
dictionary-el recommends no packages.
dictionary-el suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: dictionary-el
Source-Version: 1.10+git20190107-1
We believe that the bug you reported is fixed in the latest version of
dictionary-el, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 864...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aaron M. Ucko <u...@debian.org> (supplier of updated dictionary-el package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 10 Jan 2019 22:19:53 -0500
Source: dictionary-el
Binary: elpa-dictionary dictionary-el
Architecture: all source
Version: 1.10+git20190107-1
Distribution: unstable
Urgency: medium
Maintainer: Aaron M. Ucko <u...@debian.org>
Changed-By: Aaron M. Ucko <u...@debian.org>
Closes: 864644
Description:
dictionary-el - transitional dummy package, dictionary-el to elpa-dictionary
elpa-dictionary - dictionary client for Emacs
Changes:
dictionary-el (1.10+git20190107-1) unstable; urgency=medium
.
* New upstream snapshot, incorporating most previous outstanding Debian
changes and adding among other things support for custom definition
body faces, preferably variable-width. (Closes: #864644.)
* Rework packaging in terms of dh-elpa. (There's little benefit in
keeping formal XEmacs support when XEmacs already bundles a version.)
- debian/control:
+ Build-depend on dh-elpa.
+ Rename the main binary package to elpa-dictionary (but leave the
source package name as is, at least for now.)
+ Add a formal dependency on ${elpa:Depends}; relegate emacs to
Recommends and Enhances.
+ Turn dictionary-el into a transitional dummy package.
- debian/dictionary-pkg.el: New, based on the generated version but
with (internal) dependencies commented out.
- debian/{dirs,emacsen-*}: Removed, no longer needed.
- debian/elpa-dictionary.elpa: New, listing files to install.
- debian/rules: Replace with a dh-elpa oneliner.
* debian/compat: Advance to level 11 (from 9).
* debian/control:
- Bump debhelper version requirement to 11~ accordingly.
- Rules-Requires-Root: no (confirmed safe).
- Repoint Vcs-{Browser,Git} at salsa.
- Standards-Version: 4.3.0 (already compliant).
* debian/copyright: Extend upstream copyright through 2014. (The only
subsequent upstream change was merging a small patch contributed by a
third party, and as such doesn't count.)
* debian/source/format: Explicitly set to 1.0.
Checksums-Sha1:
92dabda064c12c2d653c444849022c86a5c77ebe 2123
dictionary-el_1.10+git20190107-1.dsc
a56f50926812c2028beda21d1918b0207a4f33b3 33627
dictionary-el_1.10+git20190107.orig.tar.gz
84d7ad152cd7b04d6aa64b2cfb5179828af99f7f 5649
dictionary-el_1.10+git20190107-1.diff.gz
d81b6ed751fec44f0ffef88a93e7b9b9e2b93fb4 6068
dictionary-el_1.10+git20190107-1_all.deb
9248d2454d9a0ade07f37de47179c4cc1ad11fa5 15816
dictionary-el_1.10+git20190107-1_amd64.buildinfo
85e1ee422cc538842e5a634aa0fce7f6347ce4fd 29444
elpa-dictionary_1.10+git20190107-1_all.deb
Checksums-Sha256:
6b0f818f2ac755ec2cbd55d50fcb8a3aa46a12af7e67c3f3b2b82c5209d29325 2123
dictionary-el_1.10+git20190107-1.dsc
948c6188c84f58cc33f3cfc1cffea2cda749232a016754ff59040ca238d7afa7 33627
dictionary-el_1.10+git20190107.orig.tar.gz
3c60412369252b214024b1d1e6a0cddf036abfca9f7a7ce0c228b0ff16431385 5649
dictionary-el_1.10+git20190107-1.diff.gz
345a88c46f7e7bc58783ea2a8697e7cff1d9e7b1581ddf4fceef60998c1c7354 6068
dictionary-el_1.10+git20190107-1_all.deb
ae0297fa87a717cf307059157a9c2e3813e06a68e2ce168f7103a5c9cae94ccf 15816
dictionary-el_1.10+git20190107-1_amd64.buildinfo
fb311066366276d8995aa4c270b9f8d62aaf12f7cb96a109efb0603722f25af8 29444
elpa-dictionary_1.10+git20190107-1_all.deb
Files:
15fcf10ca7dd0dbd7451fc6795298175 2123 lisp optional
dictionary-el_1.10+git20190107-1.dsc
a4148e0f5ae9d9fa8c189f4f8e0181be 33627 lisp optional
dictionary-el_1.10+git20190107.orig.tar.gz
8a5a71cc3861f830838a2c38ef26536c 5649 lisp optional
dictionary-el_1.10+git20190107-1.diff.gz
05cb71be61dd0c4e223d9e31ecc56818 6068 oldlibs optional
dictionary-el_1.10+git20190107-1_all.deb
f73fb07c60548eacb961784862a3cf4a 15816 lisp optional
dictionary-el_1.10+git20190107-1_amd64.buildinfo
9fd405596d4539d215dffba70a9c8957 29444 lisp optional
elpa-dictionary_1.10+git20190107-1_all.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEfDq5z9IwvTDdAJxZHnCRsfFKZKIFAlw4DxcACgkQHnCRsfFK
ZKLbLw//QPWnugg7ZPaNC3G64Lg1+t9maqVnx8aSpTWoAd5B4osdZtFU8ehTcB0t
YLhC04RFE55EbawiyvHGrzaua/lctgSkdcKVs2VZ6cOxPRv5gjWm0rPtyou7lLyd
rb/vWhj2PVI8gofvcKO3twucRaozbeu0Dc6rOJ7wUsxF2qaQ+0Q7NPezkLpnPLf2
p5L8No1Rn6uvUW9cJ4CyTQITJQIYkTRWHKcw4CN0OvZMVJadGLFD7AWdJzzjXSNP
WL+5XwAmm3H3v4U41hw/26MV9kn4LgszUtheHQCnUcJum58G+wVLo3nycbsRnzR9
upRUhbbwWor2SNgojmhJpqSeF7Wxl96piiAb7z4z0bZzVl5nFf+bwVf2C9IngH6S
2K321WX7LoxJ+OWf1r0yWyNPfqqPvhnjbFldxYVcQtI5BbFJEkEaz2ZZXZnEac2p
oEuwP8ERZvw4YtXDf1pDQRmviHYlJ6nrl5j/FrG/YhUGJxd5gD2uweYH+mToC4PB
5nK8lW+WAPCid8U1eEhN6+HgSlNClVJfEOJI73wBeRwBTEDFNkJegLvv/ijxbZZd
kpmLIztddOW9AeLpWCjmBYYlQgZWSyXiPVXe1mK6nuGN4Mf+U50aGSLIOhvWXG+0
YTUc6uEtGmtxgVARMn6zK2ual338McrxVJ6+ZbNqYgoLhugDRPs=
=Mlae
-----END PGP SIGNATURE-----
--- End Message ---