all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joost.m.kremers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: emacs -nw display bug?
Date: 30 Jun 2014 15:57:09 GMT	[thread overview]
Message-ID: <slrnlr326l.3eg.joost.m.kremers@j.kremers4.news.arnhem.chello.nl> (raw)

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)


             reply	other threads:[~2014-06-30 15:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 15:57 Joost Kremers [this message]
2014-06-30 16:10 ` emacs -nw display bug? Eli Zaretskii
     [not found] ` <mailman.4590.1404144667.1147.help-gnu-emacs@gnu.org>
2014-06-30 16:22   ` Joost Kremers
2014-06-30 16:58     ` Eli Zaretskii
2014-06-30 17:04       ` Eli Zaretskii
2014-06-30 21:06   ` Stefan Monnier
2014-07-01  8:53     ` Joost Kremers
2014-07-01 14:32       ` Stefan Monnier
2014-07-01 17:21       ` Eli Zaretskii
     [not found]       ` <mailman.4669.1404235282.1147.help-gnu-emacs@gnu.org>
2014-07-03 13:42         ` Joost Kremers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnlr326l.3eg.joost.m.kremers@j.kremers4.news.arnhem.chello.nl \
    --to=joost.m.kremers@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.