From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: emacs -nw display bug? Date: 30 Jun 2014 15:57:09 GMT Message-ID: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1404144076 5676 80.91.229.3 (30 Jun 2014 16:01:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2014 16:01:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 30 18:01:08 2014 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 1X1e0p-0000t1-M4 for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jun 2014 18:00:59 +0200 Original-Received: from localhost ([::1]:35245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1e0p-00037g-85 for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jun 2014 12:00:59 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-X-Trace: individual.net axaFIvrGkAVmHxldGFreGwagTHQjKHqIWuP36CaJdk6nPljX80 Cancel-Lock: sha1:qvyT6nLWD1TUknq0HCWkXUVT3vE= User-Agent: slrn/pre1.0.0-18 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:206186 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:98457 Archived-At: Hi all, I seem to have run into a bug in Emacs's display code. Recipe to reproduce: - start Emacs with `emacs -nw' - open a longish text file - (set-window-margins nil 40 40) ; use some value appropriate to the window width - (setq-local mode-line-format nil) ; disable the mode line in the current window Now, if the file is long enough (that is, longer than one screen), the last line of the file will not have the appropriate window margin but will instead start at the left window edge, as if the left margin equals 0. I suspect this may be due to interference with the mode line, even though there isn't one, but that's speculation. The problem does not occur with GUI Emacs. Furthermore, it is independent of the terminal emulator being used and even occurs on the Linux console (i.e., without X altogether), so it's safe to assume it is indeed an Emacs bug. Anyone have an idea what's going on, or should I simply submit a bug report? TIA -- Joost Kremers joostkremers@fastmail.fm Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)