unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs -nw display bug?
@ 2014-06-30 15:57 Joost Kremers
  2014-06-30 16:10 ` Eli Zaretskii
       [not found] ` <mailman.4590.1404144667.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 10+ messages in thread
From: Joost Kremers @ 2014-06-30 15:57 UTC (permalink / raw)
  To: help-gnu-emacs

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)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-07-03 13:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-30 15:57 emacs -nw display bug? Joost Kremers
2014-06-30 16:10 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).