From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30553: 26.0.91; underline appears beneath line-spacing rather than beneath text Date: Wed, 28 Feb 2018 19:56:50 +0200 Message-ID: <83zi3txajh.fsf@gnu.org> References: <83r2pf78x5.fsf@gnu.org> <83fu5v6kdi.fsf@gnu.org> <83371u6xc2.fsf@gnu.org> <83y3jf21wh.fsf@gnu.org> <83inaj1rk6.fsf@gnu.org> <83efl71o1u.fsf@gnu.org> <83a7vu1k51.fsf@gnu.org> <83d10pytub.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1519840514 17148 195.159.176.226 (28 Feb 2018 17:55:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Feb 2018 17:55:14 +0000 (UTC) Cc: alptekin.aker@gmail.com, 30553@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 28 18:55:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er5wb-00046k-UP for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Feb 2018 18:55:10 +0100 Original-Received: from localhost ([::1]:45896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er5ye-00089d-GD for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Feb 2018 12:57:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er5yR-00085i-JO for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2018 12:57:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er5yQ-0006hb-S3 for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2018 12:57:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1er5yQ-0006hG-O6 for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2018 12:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1er5yQ-0004PK-AZ for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2018 12:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Feb 2018 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30553-submit@debbugs.gnu.org id=B30553.151984061416923 (code B ref 30553); Wed, 28 Feb 2018 17:57:02 +0000 Original-Received: (at 30553) by debbugs.gnu.org; 28 Feb 2018 17:56:54 +0000 Original-Received: from localhost ([127.0.0.1]:37793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er5yI-0004Ot-4e for submit@debbugs.gnu.org; Wed, 28 Feb 2018 12:56:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er5yG-0004Og-43 for 30553@debbugs.gnu.org; Wed, 28 Feb 2018 12:56:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er5y6-0006NG-1Z for 30553@debbugs.gnu.org; Wed, 28 Feb 2018 12:56:46 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er5y5-0006N9-Uq; Wed, 28 Feb 2018 12:56:41 -0500 Original-Received: from [176.228.60.248] (port=3715 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1er5y5-0007ii-Dx; Wed, 28 Feb 2018 12:56:41 -0500 In-reply-to: (message from Aaron Jensen on Wed, 28 Feb 2018 09:41:50 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143752 Archived-At: > From: Aaron Jensen > Date: Wed, 28 Feb 2018 09:41:50 -0800 > Cc: Alp Aker , 30553@debbugs.gnu.org > > On Wed, Feb 28, 2018 at 8:14 AM, Eli Zaretskii wrote: > > Fbuffer_local_value can signal an error, which is a no-no in display > > code. So it's best not to use it. buffer_local_value is better in > > that regard, I think (although for built-in variables, I think the > > danger is mainly academic). > > Ah, that's good to know. When would it return Qunbound? It looked like > from the docs it would return it if it wasn't bound in the > buffer--does that mean it does or it doesn't fall back to the default > value or the value set via setq? I'm afraid I don't know exactly how > this works. If there's no buffer-local value, it returns the global value. Only if the variable is entirely unbound (as in "void variable"), it will return Qunbound. > Does this mean that I'd have to do similar code as you suggested for > the int? Yes. > Is there an example of coercing a potentially unbound bool? Just treat Qunbound as the default value of the respective variable. Thanks.