From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: unfrostedpoptart Newsgroups: gmane.emacs.help Subject: Re: linum + narrow = hang Date: Sat, 30 Jan 2016 20:04:56 -0800 (PST) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1454213121 27101 80.91.229.3 (31 Jan 2016 04:05:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Jan 2016 04:05:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 31 05:05:20 2016 Return-path: Envelope-to: geh-help-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 1aPjGI-0005vG-Hj for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Jan 2016 05:05:18 +0100 Original-Received: from localhost ([::1]:40465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPjGH-0000Iy-Mi for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jan 2016 23:05:17 -0500 X-Received: by 10.31.165.1 with SMTP id o1mr16685526vke.12.1454213096793; Sat, 30 Jan 2016 20:04:56 -0800 (PST) X-Received: by 10.50.124.1 with SMTP id me1mr91004igb.2.1454213096737; Sat, 30 Jan 2016 20:04:56 -0800 (PST) Original-Path: usenet.stanford.edu!94no8333103qgt.1!news-out.google.com!kr2ni2133igb.0!nntp.google.com!h5no966084igh.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=98.176.102.8; posting-account=S61AnQkAAADt4_PSYpI-Tm-z1E4cd7xa Original-NNTP-Posting-Host: 98.176.102.8 User-Agent: G2/1.0 Injection-Date: Sun, 31 Jan 2016 04:04:56 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:216643 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108935 Archived-At: On Saturday, January 30, 2016 at 6:09:09 PM UTC-8, Drew Adams wrote: > > emacs hangs if I try and narrow while linum is on. It displays > > Error in Post-command-hook (linum-update-current): (args-out-of-range 1= 1) > > ... > > Any ideas? >=20 > `M-x report-emacs-bug'. Provide a step-by-step recipe to repro > the problem, starting with `emacs -Q'. Thanks. I ran with -Q and then manually loaded parts of my init.el. It t= urned out to be in the custom-set-face section. Specifically, the default = font included setting a box around it: :box (:line-width 1 :color "black") I did this because I had put boxes around other font faces since I liked ho= w it looked in various modes and I had to put the same size box around defa= ult face or text didn't line up anymore. If I comment out that one line o= f my init.el, everything is fine. So there's some odd interaction between = linum and narrow if there's a box around default! =20 David