From: "Frédéric Baldit" <frederic.baldit@free.fr>
To: 46590@debbugs.gnu.org
Subject: bug#46590: 27.1.91; abnormal whitespace-mode behavior
Date: Wed, 17 Feb 2021 15:06:14 +0100 [thread overview]
Message-ID: <20210217150614.1eaecfdd@Cornafion.lan> (raw)
--text follows this line--
Recipe to reproduce the bug:
1) I'm using emacs version 27.1.91 built from git sources in my /home
directory (same bug is experimented with emacs version 26.1 installed
from debian stable package). Command used to run emacs:
emacs -Q test.txt &
2) M-x whitespace-mode RET
3) type the following text («.» for spacebar key):
«....First line of text in emacs», then type RET
4) DEL DEL to suppress backward two spaces on line 2, then type text
«Second one»
5) M-2 M-b
6) TAB TAB TAB TAB: point should be at line 2, column 18, vertically
aligned with fourth word of line 1 («text»), but it is at column 26:
that's the bug.
Rq1: what is curious (to me) is that deactivating whitespace-mode
removes abnormally inserted tab character (8 spaces) and everything is
OK.
Rq2: I noted that with a different text, this behavior of
whitespace-mode disappears. For example, if one uses the following first
line of text:
«....This.is.a.first.line.of.text.with.a.few.words»,
then the result of typing TAB multiple times is as expected, with or
without whitespace-mode activated!
Rq3: as I'm not an emacs expert, I first posted on help-gnu-emacs list
in order to see if someone could explain me what I was missing:
https://lists.gnu.org/archive/html/help-gnu-emacs/2021-02/msg00321.html
Nobody explained me why I see this behavior (of whitespace-mode), thus I
came to the conclusion it might be a bug (both answers are from persons
using emacs 28.0.50). I must say that I followed as precisely as I could
the advices found to submit a bug, in particular I read and followed
«52-Reporting bugs» of emacs manual.
--end of bug description--
In GNU Emacs 27.1.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
of 2021-02-04 built on Cornafion
Repository revision: 89f1634afcca318def07151424a21b81c70acd76
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version
11.0.12004000 System Description: Debian GNU/Linux 10 (buster)
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Whitespace mode enabled in current buffer
You can run the command ‘whitespace-mode’ with M-x whit-m RET
Whitespace mode enabled in current buffer
Auto-saving...done
Auto-saving...done
Making completion list...
Configured using:
'configure --prefix=/home/fred/emacs-03022021/'
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER
LCMS2 GMP
Important settings:
value of $LC_MONETARY: fr_FR.UTF-8
value of $LC_NUMERIC: fr_FR.UTF-8
value of $LC_TIME: fr_FR.UTF-8
value of $LANG: fr_FR.UTF-8
locale-coding-system: utf-8-unix
Major mode: Text
Minor modes in effect:
whitespace-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-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
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search seq
byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date subr-x
cl-loaddefs cl-lib disp-table whitespace tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer 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 composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray 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 threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)
Memory information:
((conses 16 49999 5008)
(symbols 48 6166 1)
(strings 32 16282 1605)
(string-bytes 1 538103)
(vectors 16 10378)
(vector-slots 8 138289 8918)
(floats 8 20 41)
(intervals 56 535 0)
(buffers 1000 14))
--
Frédéric Baldit
next reply other threads:[~2021-02-17 14:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-17 14:06 Frédéric Baldit [this message]
2021-02-17 18:12 ` bug#46590: 27.1.91; abnormal whitespace-mode behavior Bhavin Gandhi
2021-02-20 9:27 ` Eli Zaretskii
2021-02-23 14:05 ` Frédéric Baldit
2021-02-23 15:54 ` Eli Zaretskii
2022-06-17 15:37 ` Lars Ingebrigtsen
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=20210217150614.1eaecfdd@Cornafion.lan \
--to=frederic.baldit@free.fr \
--cc=46590@debbugs.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.