From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#21895: [PATCH] shr: don't invoke unbound function (Bug#21895) Date: Fri, 13 Nov 2015 09:04:37 +0100 Message-ID: <56459995.90008@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1447401929 21663 80.91.229.3 (13 Nov 2015 08:05:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2015 08:05:29 +0000 (UTC) To: Eric Hanchrow , 21895@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 13 09:05:18 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zx9M9-00016t-HK for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Nov 2015 09:05:13 +0100 Original-Received: from localhost ([::1]:51528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx9M9-0000yJ-2q for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Nov 2015 03:05:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx9M3-0000sh-F7 for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2015 03:05:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zx9Ly-0000vu-D9 for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2015 03:05:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx9Ly-0000vq-9k for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2015 03:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zx9Lx-000077-TL for bug-gnu-emacs@gnu.org; Fri, 13 Nov 2015 03:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Nov 2015 08:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21895 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21895-submit@debbugs.gnu.org id=B21895.1447401889390 (code B ref 21895); Fri, 13 Nov 2015 08:05:01 +0000 Original-Received: (at 21895) by debbugs.gnu.org; 13 Nov 2015 08:04:49 +0000 Original-Received: from localhost ([127.0.0.1]:36546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zx9Ll-00006E-8b for submit@debbugs.gnu.org; Fri, 13 Nov 2015 03:04:49 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:62184) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zx9Li-000061-V9 for 21895@debbugs.gnu.org; Fri, 13 Nov 2015 03:04:47 -0500 Original-Received: from [192.168.1.100] ([213.162.68.46]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MU11l-1ZoB5Q1cqv-00QnPX; Fri, 13 Nov 2015 09:04:45 +0100 In-Reply-To: X-Provags-ID: V03:K0:nb8PA+jD1ISHzeLe0HsPflwjaPynAAHINTZw0WdG18YXtjCrvnO hTWpBUCbKQWaMjI4AdO8+jzZHgY3QTWpQqZAOiQcJCgDPPLv2BJTbdNRuUOZOD9O4LMNs+7 iW3qT6QOG4uHvGZlRwNnYip7pv/OZ7iJXCTr0w3SgJW+/2VeZ7hP8A2WbX0Td8EurhvCZCv TjkVV0GB4ZcUjjneX3X3A== X-UI-Out-Filterresults: notjunk:1;V01:K0:Sj4fir/hPUY=:MeybjXxVjoi/l/VotS1CfP Dv/KKzQSAiMRp52Gcj1Ebc3S/tfXQsNv/FqhE7mLUfEg0FOdkkMkTgjHpw8U+HL7TrPIBpG1G 2yqDnY3d3OH/kLFcf1AJIoV12FDryM3idedUih0SSGD4SzzhrWzw5Gd875rfLNh6VdW56+Opy 07rrIDTQRnDNVFBDpaK/Te1y9AmzhcCAcQ5SW5iJyd/xSM/CXwYDOJsknxExZe1/D6qVmAILM PsoZevHxm8albGMU07jvGThCDi5Kwp1lCbIIuQlahvtjkbvyghPRh9Ge3p7Qz/ySs6CkeQ9Zc Gt2PwSh7Vi/MoDWgmfbdKZBl3+Rz0tM5+2QOh6wtbpfDeOoT1MHdnCL6OM8UzHEQZR4Z5znWk 0XdFgkJYZjZJLz6hF8uUeHOenSA4qTHHsj/FzcHJOQZ1nb0YnghoxSya3v6+4R15Jydv38cFz TvUby+JEQaf13t3bFFhAtZu9EA6ptwY05IP4wG0ZyXkwVFK952VfQeNNGBDh5W9WDPz7/BTv/ WsHFqg31mct17ZLuPpcurWWqGqagSPUj2TDPwvDxy18nQAJgKH9kD1VAe9rxDV0PGnwirts3Z Rw3aCxveuVmazsO4HZWnFUvGOMpgMMwdCkczYgHOYzk5qCo9OWV/fOxDKui7wee0CtO6tVjaq 6XDznCNFCAJlaYmiI/crtQ4kdbPFrFJa5RrTa9NaRjCkzZonM5ugH7cze+b+BrheTX2bptCXJ kRMnz8wI+SOi2tzM9dRhYNUa79lmlTCbY1s/YLKBhKl7A+LfDAbS3iiR6nrzPlX7oYUSDfJM X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108709 Archived-At: > +(defun fringes-p () > + "Return t if fringe-columns is bound, and either (fringe-columns 'l= eft) > or (fringe-columns 'right) returns nonzero." > + (and (fboundp 'fringe-columns) > + (or (not (zerop (fringe-columns 'right))) > + (not (zerop (fringe-columns 'left)))))) > + This is wrong when =E2=80=98fringe-columns=E2=80=99 is unbound and a frin= ge is present. The right solution is to (require 'fringe) in =E2=80=98shr-mode=E2=80=99 as you proposed earlier. martin