unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21363: 25.0.50; Some characters confuse display
@ 2015-08-27 16:28 Richard Stallman
  2015-08-27 18:30 ` Eli Zaretskii
  2021-08-16 12:48 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 10+ messages in thread
From: Richard Stallman @ 2015-08-27 16:28 UTC (permalink / raw)
  To: 21363


This text from a message to emacs-devel

   AVGVSTÓ·SACR·
   A·A·LV́CIꟾ·A·FꟾLIꟾ·MEN·
   PROCVLVS·ET·IV́LIÁNVS·
   P · S ·
   DÉDICÁTIÓNE·DECVRIÓNIBVS·ET·
   AVGVSTÁLIBVS·CÉNAM·DEDÉRVNT

confuses display on my Linux console.
If you go to the second line of the text and type C-e,
the cursor appears on the final middledot.

I've seen other strange things happen just moving around on that text,
such as displaying lines in the wrong place, but I can't
reproduce them.




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: RMAIL

Minor modes in effect:
  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
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent messages:
Quit [2 times]
Type C-x 1 to delete the help window.
Char: · (183, #o267, #xb7, file ...) point=1490 of 2018 (74%) column=20

Char: ꟾ (43006, #o123776, #xa7fe, file ...) point=1489 of 2018 (74%) column=19
Quit
R is undefined
Quit
save-excursion: Search failed: "[[]TRUNCATED .*] "
Mark set

Load-path shadows:
None found.

Features:
(shadow emacsbug pp descr-text cal-move cal-menu calendar cal-loaddefs
rmailedit sgml-mode novice dired-aux time-stamp parse-time vc-cvs
texinfo etags thingatpt xref project rect srecode/srt-mode
semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn
semantic/db semantic/format ezimage srecode/template srecode/srt-wy
semantic/wisent semantic/wisent/wisent semantic/ctxt srecode/ctxt
semantic/tag-ls semantic/find srecode/compile srecode/dictionary
srecode/table srecode eieio-base semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local cedet
iso-transl wid-edit dabbrev epa-file rmailout rmailkwd rmailsum
misearch multi-isearch shr-color color quail 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 qp battery shell pcomplete grep compile comint
ansi-color ring mailalias epa-mail epa derived epg 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 336759 74011)
 (symbols 24 39123 6)
 (miscs 20 4128 4107)
 (strings 16 60307 9686)
 (string-bytes 1 1808067)
 (vectors 8 32872)
 (vector-slots 4 1623701 24776)
 (floats 8 610 615)
 (intervals 28 55499 1997)
 (buffers 520 129)
 (heap 1024 22934 1223))
[[[ 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.






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

* bug#21363: 25.0.50; Some characters confuse display
  2015-08-27 16:28 bug#21363: 25.0.50; Some characters confuse display Richard Stallman
@ 2015-08-27 18:30 ` Eli Zaretskii
  2015-08-28  1:41   ` Richard Stallman
  2021-08-16 12:48 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-08-27 18:30 UTC (permalink / raw)
  To: rms; +Cc: 21363

> From: Richard Stallman <rms@gnu.org>
> Date: Thu, 27 Aug 2015 12:28:37 -0400
> 
> This text from a message to emacs-devel
> 
>    AVGVSTÓ·SACR·
>    A·A·LV́CIꟾ·A·FꟾLIꟾ·MEN·
>    PROCVLVS·ET·IV́LIÁNVS·
>    P · S ·
>    DÉDICÁTIÓNE·DECVRIÓNIBVS·ET·
>    AVGVSTÁLIBVS·CÉNAM·DEDÉRVNT
> 
> confuses display on my Linux console.
> If you go to the second line of the text and type C-e,
> the cursor appears on the final middledot.
> 
> I've seen other strange things happen just moving around on that text,
> such as displaying lines in the wrong place, but I can't
> reproduce them.

Do the problems go away if you turn off auto-composition-mode?





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

* bug#21363: 25.0.50; Some characters confuse display
  2015-08-27 18:30 ` Eli Zaretskii
@ 2015-08-28  1:41   ` Richard Stallman
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Stallman @ 2015-08-28  1:41 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 21363

[[[ 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. ]]]

  > Do the problems go away if you turn off auto-composition-mode?

Yes, they do.  The bug seems limited to when Auto-Composition mode is enabled.


-- 
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.






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

* bug#21363: 25.0.50; Some characters confuse display
  2015-08-27 16:28 bug#21363: 25.0.50; Some characters confuse display Richard Stallman
  2015-08-27 18:30 ` Eli Zaretskii
@ 2021-08-16 12:48 ` Lars Ingebrigtsen
  2021-08-16 13:04   ` Andreas Schwab
  2021-08-16 13:16   ` Eli Zaretskii
  1 sibling, 2 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-16 12:48 UTC (permalink / raw)
  To: Richard Stallman; +Cc: 21363

Richard Stallman <rms@gnu.org> writes:

> This text from a message to emacs-devel
>
>    AVGVSTÓ·SACR·
>    A·A·LV́CIꟾ·A·FꟾLIꟾ·MEN·
>    PROCVLVS·ET·IV́LIÁNVS·
>    P · S ·
>    DÉDICÁTIÓNE·DECVRIÓNIBVS·ET·
>    AVGVSTÁLIBVS·CÉNAM·DEDÉRVNT
>
> confuses display on my Linux console.
> If you go to the second line of the text and type C-e,
> the cursor appears on the final middledot.

I can reproduce this problem in Emacs 28 (on the Linux console).

Switching `auto-composition-mode' indeed fixes the problem, so perhaps
we should just do that automatically when running on the console?  Let's
see...  is that the lisp/term/linux.el file?

Let's see...  Yes, putting

  ;; Compositions confuse cursor movement.
  (global-auto-composition-mode -1)

into that file fixes the issue for me on the Linux console, and does not
seem to be triggered when running from a terminal, so I'll go ahead and
push that change.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#21363: 25.0.50; Some characters confuse display
  2021-08-16 12:48 ` Lars Ingebrigtsen
@ 2021-08-16 13:04   ` Andreas Schwab
  2021-08-16 13:50     ` Lars Ingebrigtsen
  2021-08-16 13:16   ` Eli Zaretskii
  1 sibling, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2021-08-16 13:04 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 21363, Richard Stallman

On Aug 16 2021, Lars Ingebrigtsen wrote:

> Switching `auto-composition-mode' indeed fixes the problem, so perhaps
> we should just do that automatically when running on the console?  Let's
> see...  is that the lisp/term/linux.el file?
>
> Let's see...  Yes, putting
>
>   ;; Compositions confuse cursor movement.
>   (global-auto-composition-mode -1)
>
> into that file fixes the issue for me on the Linux console, and does not
> seem to be triggered when running from a terminal, so I'll go ahead and
> push that change.

I think auto-composition-mode should only be disabled on this terminal.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





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

* bug#21363: 25.0.50; Some characters confuse display
  2021-08-16 12:48 ` Lars Ingebrigtsen
  2021-08-16 13:04   ` Andreas Schwab
@ 2021-08-16 13:16   ` Eli Zaretskii
  2021-08-16 14:14     ` Stephen Berman
  1 sibling, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2021-08-16 13:16 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 21363, rms

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Mon, 16 Aug 2021 14:48:32 +0200
> Cc: 21363@debbugs.gnu.org
> 
> Switching `auto-composition-mode' indeed fixes the problem, so perhaps
> we should just do that automatically when running on the console?  Let's
> see...  is that the lisp/term/linux.el file?
> 
> Let's see...  Yes, putting
> 
>   ;; Compositions confuse cursor movement.
>   (global-auto-composition-mode -1)
> 
> into that file fixes the issue for me on the Linux console, and does not
> seem to be triggered when running from a terminal, so I'll go ahead and
> push that change.

I think we should only do that if this happens to everyone.  Can more
people please try this recipe and report back?





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

* bug#21363: 25.0.50; Some characters confuse display
  2021-08-16 13:04   ` Andreas Schwab
@ 2021-08-16 13:50     ` Lars Ingebrigtsen
  2021-08-16 13:58       ` Andreas Schwab
  0 siblings, 1 reply; 10+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-16 13:50 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 21363, Richard Stallman

Andreas Schwab <schwab@linux-m68k.org> writes:

> I think auto-composition-mode should only be disabled on this terminal.

Makes sense.  So would calling `(auto-composition-mode -1)' instead here
to the trick?  (I'm slightly vague on the evaluation order of the term
files...)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#21363: 25.0.50; Some characters confuse display
  2021-08-16 13:50     ` Lars Ingebrigtsen
@ 2021-08-16 13:58       ` Andreas Schwab
  2021-08-16 14:03         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2021-08-16 13:58 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 21363, Richard Stallman

On Aug 16 2021, Lars Ingebrigtsen wrote:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> I think auto-composition-mode should only be disabled on this terminal.
>
> Makes sense.  So would calling `(auto-composition-mode -1)' instead here
> to the trick?  (I'm slightly vague on the evaluation order of the term
> files...)

Since auto-composition-mode is a automatic buffer-local variable, that
won't work, it would have to be made terminal-local.  Unfortunately, you
can't have both.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





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

* bug#21363: 25.0.50; Some characters confuse display
  2021-08-16 13:58       ` Andreas Schwab
@ 2021-08-16 14:03         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-16 14:03 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 21363, Richard Stallman

Andreas Schwab <schwab@linux-m68k.org> writes:

>> Makes sense.  So would calling `(auto-composition-mode -1)' instead here
>> to the trick?  (I'm slightly vague on the evaluation order of the term
>> files...)
>
> Since auto-composition-mode is a automatic buffer-local variable, that
> won't work, it would have to be made terminal-local.  Unfortunately, you
> can't have both.

We have terminal-local variables!?

So I guess we'll have to introduce a predicate for
`global-auto-composition-mode' that would allow us to turn on
auto-composition-mode only in buffers on certain terminals, I guess.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#21363: 25.0.50; Some characters confuse display
  2021-08-16 13:16   ` Eli Zaretskii
@ 2021-08-16 14:14     ` Stephen Berman
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Berman @ 2021-08-16 14:14 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 21363, Lars Ingebrigtsen, rms

On Mon, 16 Aug 2021 16:16:06 +0300 Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Lars Ingebrigtsen <larsi@gnus.org>
>> Date: Mon, 16 Aug 2021 14:48:32 +0200
>> Cc: 21363@debbugs.gnu.org
>>
>> Switching `auto-composition-mode' indeed fixes the problem, so perhaps
>> we should just do that automatically when running on the console?  Let's
>> see...  is that the lisp/term/linux.el file?
>>
>> Let's see...  Yes, putting
>>
>>   ;; Compositions confuse cursor movement.
>>   (global-auto-composition-mode -1)
>>
>> into that file fixes the issue for me on the Linux console, and does not
>> seem to be triggered when running from a terminal, so I'll go ahead and
>> push that change.
>
> I think we should only do that if this happens to everyone.  Can more
> people please try this recipe and report back?

I can reproduce the problem on the Linux console and the proposed fix
works for me: after disabling global-auto-composition-mode and then
visiting the file containing that text, the problem is gone.  (If I
first visit the file and then disable global-auto-composition-mode (or
just auto-composition-mode), I have to switch the buffer off the window
and then back to it in order to get the correct display.)

Steve Berman





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

end of thread, other threads:[~2021-08-16 14:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-27 16:28 bug#21363: 25.0.50; Some characters confuse display Richard Stallman
2015-08-27 18:30 ` Eli Zaretskii
2015-08-28  1:41   ` Richard Stallman
2021-08-16 12:48 ` Lars Ingebrigtsen
2021-08-16 13:04   ` Andreas Schwab
2021-08-16 13:50     ` Lars Ingebrigtsen
2021-08-16 13:58       ` Andreas Schwab
2021-08-16 14:03         ` Lars Ingebrigtsen
2021-08-16 13:16   ` Eli Zaretskii
2021-08-16 14:14     ` Stephen Berman

Code repositories for project(s) associated with this public inbox

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

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).