GNU bug report logs - #21682
25.0.50; display bug

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Tue, 13 Oct 2015 23:38:02 UTC

Severity: normal

Merged with 21363

Found in version 25.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21682 in the body.
You can then email your comments to 21682 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Tue, 13 Oct 2015 23:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to rms <at> gnu.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 13 Oct 2015 23:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; display bug
Date: Tue, 13 Oct 2015 19:37:07 -0400
[Message part 1 (text/plain, inline)]
In emacs -Q, do C-u M-x rmail RET foo RET with the data below in file
foo.  It messes up display on my terminal -- characters appear
on the wrong screen line.

[foo (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]



In GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.23)
 of 2015-08-12 on freetop
Repository revision: 79a169684dfad2c0bbb9fdbae539c1f30d9f0ac3
System Description:	Trisquel GNU/Linux 7.0, Belenos

Configured using:
 `configure 'CFLAGS=-g -O0''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GCONF GSETTINGS NOTIFY
LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  gpm-mouse-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent messages:
Showing message 830...done
Mark set
Mark saved where search started
Mark set
Quit
Mark activated
File /home/rms/foo already exists; overwrite anyway? (y or n) y
Wrote /home/rms/foo
Quit
Mark saved where search started

Load-path shadows:
None found.

Features:
(shadow emacsbug pp wid-edit descr-text eieio-opt speedbar sb-image
ezimage dframe find-func jka-compr ispell pcmpl-unix debug etags
thingatpt xref project parse-time vc-cvs sgml-mode dired-aux cal-move
cal-menu calendar cal-loaddefs compare-w diff-mode easy-mmode rect
rmailout misearch multi-isearch epa-mail quail rmailkwd url-util
url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile
cl-extra seq cconv eieio-core cl-macs gv gnus-util password-cache
url-vars shr dom subr-x browse-url epa derived epg shell pcomplete
grep compile comint ansi-color ring rmailsum dabbrev mailalias qp
rmailmm message sendmail format-spec rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231
rmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode
cl-loaddefs pcase cl-lib mail-prsvr mail-utils dired t-mouse view
time-date paren cus-start cus-load advice finder-inf package easymenu
epg-config mule-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese charscript case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face
macroexp files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 8 398770 84865)
 (symbols 24 37751 2)
 (miscs 20 7161 4506)
 (strings 16 56716 18065)
 (string-bytes 1 1933809)
 (vectors 8 31947)
 (vector-slots 4 1544326 35582)
 (floats 8 290 471)
 (intervals 28 90175 1692)
 (buffers 520 124)
 (heap 1024 25713 10736))
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]


-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.


Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Wed, 14 Oct 2015 07:53:02 GMT) Full text and rfc822 format available.

Message #8 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Richard Stallman <rms <at> gnu.org>
Cc: 21682 <at> debbugs.gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Wed, 14 Oct 2015 09:52:27 +0200
Richard Stallman <rms <at> gnu.org> writes:

> In emacs -Q, do C-u M-x rmail RET foo RET with the data below in file
> foo.  It messes up display on my terminal -- characters appear
> on the wrong screen line.

Which terminal?  I see no artefacts in konsole, so it's more likely a
bug in the terminal you use.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Wed, 14 Oct 2015 16:47:01 GMT) Full text and rfc822 format available.

Message #11 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> suse.de>
Cc: rms <at> gnu.org, 21682 <at> debbugs.gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Wed, 14 Oct 2015 19:46:28 +0300
> From: Andreas Schwab <schwab <at> suse.de>
> Date: Wed, 14 Oct 2015 09:52:27 +0200
> Cc: 21682 <at> debbugs.gnu.org
> 
> Richard Stallman <rms <at> gnu.org> writes:
> 
> > In emacs -Q, do C-u M-x rmail RET foo RET with the data below in file
> > foo.  It messes up display on my terminal -- characters appear
> > on the wrong screen line.
> 
> Which terminal?  I see no artefacts in konsole

Neither do I in PuTTY, which emulates xterm.

Richard, if you disable auto-composition-mode, does that help?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Thu, 15 Oct 2015 01:25:02 GMT) Full text and rfc822 format available.

Message #14 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 21682 <at> debbugs.gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Wed, 14 Oct 2015 21:24:06 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > In emacs -Q, do C-u M-x rmail RET foo RET with the data below in file
  > > foo.  It messes up display on my terminal -- characters appear
  > > on the wrong screen line.

  > Which terminal?  I see no artefacts in konsole, so it's more likely a
  > bug in the terminal you use.

I am using a Linux terminal.

Emacs needs to cope with it, unless we can get it fixed.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Thu, 15 Oct 2015 01:26:02 GMT) Full text and rfc822 format available.

Message #17 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: schwab <at> suse.de, 21682 <at> debbugs.gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Wed, 14 Oct 2015 21:25:32 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > Richard, if you disable auto-composition-mode, does that help?

The bug does not happen when auto-composition-mode is disabled.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Thu, 15 Oct 2015 07:05:02 GMT) Full text and rfc822 format available.

Message #20 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Richard Stallman <rms <at> gnu.org>
Cc: 21682 <at> debbugs.gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Thu, 15 Oct 2015 09:04:24 +0200
Richard Stallman <rms <at> gnu.org> writes:

> Emacs needs to cope with it, unless we can get it fixed.

Emacs cannot know how characters are drawn on a tty.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Thu, 15 Oct 2015 16:36:03 GMT) Full text and rfc822 format available.

Message #23 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> suse.de>, Kenichi Handa <handa <at> gnu.org>
Cc: rms <at> gnu.org, 21682 <at> debbugs.gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Thu, 15 Oct 2015 19:35:28 +0300
> From: Andreas Schwab <schwab <at> suse.de>
> Date: Thu, 15 Oct 2015 09:04:24 +0200
> Cc: 21682 <at> debbugs.gnu.org
> 
> Richard Stallman <rms <at> gnu.org> writes:
> 
> > Emacs needs to cope with it, unless we can get it fixed.
> 
> Emacs cannot know how characters are drawn on a tty.

Does that mean you understood what causes Richard's problem?  If so,
can you explain?

I thought asking Richard for dribble files in both cases, but if you
already understand what's going on, there would be no need.

I actually don't understand why we have auto-composition-mode turned
on for TTY frames, and where do we take the data for composing
characters there (there's no font back-end).  Kenichi, can you
explain, please?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Thu, 15 Oct 2015 17:08:01 GMT) Full text and rfc822 format available.

Message #26 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Kenichi Handa <handa <at> gnu.org>, rms <at> gnu.org, 21682 <at> debbugs.gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Thu, 15 Oct 2015 19:07:05 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Andreas Schwab <schwab <at> suse.de>
>> Date: Thu, 15 Oct 2015 09:04:24 +0200
>> Cc: 21682 <at> debbugs.gnu.org
>> 
>> Richard Stallman <rms <at> gnu.org> writes:
>> 
>> > Emacs needs to cope with it, unless we can get it fixed.
>> 
>> Emacs cannot know how characters are drawn on a tty.
>
> Does that mean you understood what causes Richard's problem?  If so,
> can you explain?

The terminal has to support composition.  The Linux console doesn't.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Thu, 15 Oct 2015 17:17:01 GMT) Full text and rfc822 format available.

Message #29 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> suse.de>
Cc: handa <at> gnu.org, rms <at> gnu.org, 21682 <at> debbugs.gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Thu, 15 Oct 2015 20:16:26 +0300
> From: Andreas Schwab <schwab <at> suse.de>
> Cc: Kenichi Handa <handa <at> gnu.org>,  rms <at> gnu.org,  21682 <at> debbugs.gnu.org
> Date: Thu, 15 Oct 2015 19:07:05 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Andreas Schwab <schwab <at> suse.de>
> >> Date: Thu, 15 Oct 2015 09:04:24 +0200
> >> Cc: 21682 <at> debbugs.gnu.org
> >> 
> >> Richard Stallman <rms <at> gnu.org> writes:
> >> 
> >> > Emacs needs to cope with it, unless we can get it fixed.
> >> 
> >> Emacs cannot know how characters are drawn on a tty.
> >
> > Does that mean you understood what causes Richard's problem?  If so,
> > can you explain?
> 
> The terminal has to support composition.  The Linux console doesn't.

Ah, I see, thanks.

So maybe we should only turn on auto-composition-mode in
terminal-specific files like term/xterm.el?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Fri, 16 Oct 2015 15:58:02 GMT) Full text and rfc822 format available.

Message #32 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 21682 <at> debbugs.gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Fri, 16 Oct 2015 11:57:35 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > Emacs needs to cope with it, unless we can get it fixed.

  > Emacs cannot know how characters are drawn on a tty.

It can, and it does -- with the help of termcap.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Fri, 16 Oct 2015 16:00:05 GMT) Full text and rfc822 format available.

Message #35 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: schwab <at> suse.de, 21682 <at> debbugs.gnu.org, handa <at> gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Fri, 16 Oct 2015 11:58:47 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I thought asking Richard for dribble files in both cases, but if you
  > already understand what's going on, there would be no need.

I sent a very simple reproducible test case -- better than a dribble
file.  Did you mean a termscript file?

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21682; Package emacs. (Fri, 16 Oct 2015 16:15:02 GMT) Full text and rfc822 format available.

Message #38 received at 21682 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: schwab <at> suse.de, 21682 <at> debbugs.gnu.org, handa <at> gnu.org
Subject: Re: bug#21682: 25.0.50; display bug
Date: Fri, 16 Oct 2015 19:14:06 +0300
> From: Richard Stallman <rms <at> gnu.org>
> CC: schwab <at> suse.de, handa <at> gnu.org, 21682 <at> debbugs.gnu.org
> Date: Fri, 16 Oct 2015 11:58:47 -0400
> 
>   > I thought asking Richard for dribble files in both cases, but if you
>   > already understand what's going on, there would be no need.
> 
> I sent a very simple reproducible test case -- better than a dribble
> file.

I don't see the problem on fencepost accessed via PuTTY.

> Did you mean a termscript file?

Yes, sorry.  But now that Andreas explained the problem, there's no
need.




Merged 21363 21682. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 20 Nov 2017 22:46:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 21363 <at> debbugs.gnu.org and rms <at> gnu.org Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 16 Aug 2021 12:50:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 14 Sep 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.