From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#17775: 24.4.50; `ispell-command-loop` -- portion of code occasionally returns `nil`. Date: Sat, 14 Jun 2014 09:54:28 -0700 Message-ID: <16825446-64D4-48B2-83C5-CCCAF19CDC86@lawlist.com> References: <837g4jx61j.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1402764926 23811 80.91.229.3 (14 Jun 2014 16:55:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2014 16:55:26 +0000 (UTC) Cc: 17775@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 18:55:18 2014 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 1WvrEc-0000tm-7H for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2014 18:55:18 +0200 Original-Received: from localhost ([::1]:36064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvrEb-0006tk-T6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2014 12:55:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvrET-0006rv-8e for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 12:55:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvrEN-0003s2-Mc for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 12:55:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvrEN-0003qM-IH for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 12:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WvrEM-0005wq-GN for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 12:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Jun 2014 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17775 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17775-submit@debbugs.gnu.org id=B17775.140276488022828 (code B ref 17775); Sat, 14 Jun 2014 16:55:02 +0000 Original-Received: (at 17775) by debbugs.gnu.org; 14 Jun 2014 16:54:40 +0000 Original-Received: from localhost ([127.0.0.1]:47911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvrDz-0005w6-81 for submit@debbugs.gnu.org; Sat, 14 Jun 2014 12:54:39 -0400 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:53362) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvrDw-0005vq-Um for 17775@debbugs.gnu.org; Sat, 14 Jun 2014 12:54:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Content-Type:Mime-Version:Subject; bh=8Mv90ZabV+QCO01Mh/SNJJpfCQufgSXwJJw660ALXQ8=; b=1LtONajalaXyVBZz+4WsRqvTXWEfqD+U6xxDBWxtG/w3bV2Sd5LUXDLKNblErj4jF14Jc8zNgrpdvWP1yTIG/iG+tSmB8fEoq19WCvAE14WrOxtKCGO8beiXeVUaOIx8; Original-Received: from cpe-75-85-5-102.socal.res.rr.com ([75.85.5.102]:49477 helo=[192.168.0.4]) by cobb.liquidweb.com with esmtpa (Exim 4.82) (envelope-from ) id 1WvrDo-0001FK-6w; Sat, 14 Jun 2014 12:54:28 -0400 In-Reply-To: <837g4jx61j.fsf@gnu.org> X-Mailer: Apple Mail (2.1084) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: authenticated_id: lawlist/from_h 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: 140.186.70.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:90382 Archived-At: My average `(window-width)` is 168 with `linum-mode` active. I have = `visual-line-mode` active. As to the first frame that is generated by = Emacs, scroll bars are removed with code when Emacs starts -- = `(modify-all-frames-parameters (list (cons 'vertical-scroll-bars nil)))` = -- this ensures that my initial calling of `toggle-frame-maximized` = (when Emacs loads) expands the frame to the full screen width. As to = each new frame, scroll bars are not initially present -- `(add-to-list = 'default-frame-alist '(vertical-scroll-bars . nil))`. Scroll bars are = added or removed with a minor mode that calculates whether the the text = is longer than the visual window -- `(set-window-scroll-bars = selected-window 0 'right nil)` or `(set-window-scroll-bars = selected-window 0 'right nil)`. Scroll bar mode is now on an idle = timer, but was previously on the `post-command-hook` -- the spell check = error occurs sporadically in either circumstance. My linum-mode is using a modified version of something I borrowed from = Stackoverflow: http://stackoverflow.com/a/10593165/2112489 (defun my-lawlist-linum-get-format-string () (let* ((width (length (number-to-string (count-lines (point-min) (point-max))))) (format (concat "%" (number-to-string width) "d"))) (setq my-lawlist-linum-format-string format))) I apologize for not writing up a better initial bug report and I'll = update this bug report when I have more useful information. You are = correct in your assumption that the only evidence I have (that the code = snippet caused the problem) iss that the error seems to go away by = commenting it out. Keith --------------------------------------- On Jun 14, 2014, at 1:13 AM, Eli Zaretskii wrote: >=20 > Btw, what was the width of the window when this problem happened?