GNU bug report logs -
#31192
27.0.50; artist-mode throws a wrong type argument
Previous Next
Reported by: Tino Calancha <tino.calancha <at> gmail.com>
Date: Tue, 17 Apr 2018 12:58:02 UTC
Severity: normal
Found in version 27.0.50
Done: Tino Calancha <tino.calancha <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31192 in the body.
You can then email your comments to 31192 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
larsi <at> gnus.org, bug-gnu-emacs <at> gnu.org
:
bug#31192
; Package
emacs
.
(Tue, 17 Apr 2018 12:58:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tino Calancha <tino.calancha <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
larsi <at> gnus.org, bug-gnu-emacs <at> gnu.org
.
(Tue, 17 Apr 2018 12:58:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
X-Debbugs-CC: Lars Ingebrigtsen <larsi <at> gnus.org>
After commit '(artist-mode): Warn about proportional fonts'
(36e5673753b985dee06b255be237dce9e96b0eb7)
emacs -batch -eval "(artist-mode)"
throws
Wrong type argument: font, unspecified
That causes two ibuffer-tests.el to fail:
(ibuffer-filter-inclusion-7, ibuffer-filter-inclusion-8)
--8<-----------------------------cut here---------------start------------->8---
commit 04f528b864490f22e773d185f2a4980b29306eb0
Author: Tino Calancha <tino.calancha <at> gmail.com>
Date: Tue Apr 17 21:34:25 2018 +0900
* lisp/textmodes/artist.el (artist-mode): Ensure we have a font
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index 7c261f8d2d..e9ae6a4ce9 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -1402,8 +1402,9 @@ artist-mode
(t
;; Turn mode on
(artist-mode-init)
- (unless (font-get (face-attribute 'default :font) :spacing)
- (message "The default font isn't monospaced, so the drawings in this buffer may look odd")))))
+ (let ((font (face-attribute 'default :font)))
+ (when (and (fontp font) (not (font-get font :spacing)))
+ (message "The default font isn't monospaced, so the drawings in this buffer may look odd"))))))
;; Init and exit
(defun artist-mode-init ()
--8<-----------------------------cut here---------------end--------------->8---
In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
of 2018-04-17
Repository revision: 003071346cdc914f28a8e8b3a8bf0c8f5f3b52dc
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#31192
; Package
emacs
.
(Tue, 17 Apr 2018 13:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 31192 <at> debbugs.gnu.org (full text, mbox):
Tino Calancha <tino.calancha <at> gmail.com> writes:
> * lisp/textmodes/artist.el (artist-mode): Ensure we have a font
Makes sense. Are you applying it or do you want me to? :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#31192
; Package
emacs
.
(Tue, 17 Apr 2018 13:21:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 31192 <at> debbugs.gnu.org (full text, mbox):
On Tue, 17 Apr 2018, Lars Ingebrigtsen wrote:
> Tino Calancha <tino.calancha <at> gmail.com> writes:
>
>> * lisp/textmodes/artist.el (artist-mode): Ensure we have a font
>
> Makes sense. Are you applying it or do you want me to? :-)
HeheHe, in your house or in mine? :-)
OK, I will do it.
Reply sent
to
Tino Calancha <tino.calancha <at> gmail.com>
:
You have taken responsibility.
(Tue, 17 Apr 2018 13:23:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tino Calancha <tino.calancha <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 17 Apr 2018 13:23:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 31192-done <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Tino Calancha <tino.calancha <at> gmail.com> writes:
>
>> * lisp/textmodes/artist.el (artist-mode): Ensure we have a font
>
> Makes sense.
Fixed in master branch with commit
'* lisp/textmodes/artist.el (artist-mode): Ensure we have a font'
(c969fbd40bcad0de6322895a5ad4d53144309315)
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 16 May 2018 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.