From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Johann =?UTF-8?Q?H=C3=B6chtl?= Newsgroups: gmane.emacs.bugs Subject: bug#54789: 29.0.50; csv-mode off by one error? Date: Fri, 8 Apr 2022 11:18:20 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000a6d6b05dc2114da" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22239"; mail-complaints-to="usenet@ciao.gmane.io" To: 54789@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 08 14:56:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nco9v-0005cT-U6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Apr 2022 14:56:16 +0200 Original-Received: from localhost ([::1]:58868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nco9u-0000L9-Si for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Apr 2022 08:56:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nco9l-0000IP-4C for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2022 08:56:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40237) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nco9j-0005IT-Fz for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2022 08:56:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nco9j-0004qJ-Es for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2022 08:56:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Johann =?UTF-8?Q?H=C3=B6chtl?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Apr 2022 12:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54789 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164942250518524 (code B ref -1); Fri, 08 Apr 2022 12:56:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Apr 2022 12:55:05 +0000 Original-Received: from localhost ([127.0.0.1]:34127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nco8m-0004oa-Pn for submit@debbugs.gnu.org; Fri, 08 Apr 2022 08:55:05 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncklI-0003Hi-50 for submit@debbugs.gnu.org; Fri, 08 Apr 2022 05:18:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncklI-0000s9-0M for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2022 05:18:36 -0400 Original-Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]:38492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncklF-00085K-RS for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2022 05:18:35 -0400 Original-Received: by mail-io1-xd30.google.com with SMTP id 9so9906311iou.5 for ; Fri, 08 Apr 2022 02:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=6s9VtLt8m3yLlI5QhOs+y4NJhbB1j6A6OMNUEFbdzOg=; b=LjLyEMKQVXDRyPeSDrAR1zNY7q7AFwSdtcMWsxnI+EAoYbKwI7PesZb6xIJexlnK09 q6rfF0NfGieKgNmVXmuWrlF9wsHNaxfqL9LsP3VgRU4ZTOAOKDxvLl1XtCGZUuMAX68l GfTfWd+1ujxdJVmudwEPZNDUWaiA7QllnWduHrFrUKrU5+ptI0M66IA+bQCMbolMObTh agauCf2P6lmLloMEPDdbiZdmIK2eX0w8A2aaq8CA2YoenhMHhUj2ReysWSsdfuals+7U gZAWP8ckpJvo+rvvt065tBcr3d8d9wptPbNp8pYZNUHvrhdynJ4ckTHnMVXSGhenlOa8 +HuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6s9VtLt8m3yLlI5QhOs+y4NJhbB1j6A6OMNUEFbdzOg=; b=yiBtrEOAYs2YhGV2SGgYdATI8ZEnNhURVxNUzYA+bCGJDcGURER3whaNPdk5PMHJ7Y Yec+5P6vPJrkFT0kRmabqK/95Kln/gVLMrZuxLogh8xcbZZLdxF03+0cTh0pK8XG9kx+ koUuLjGK97iu2CxLZPzKOfYGcF6wqyKp8R/AWSnyBFbZnfC1AVRsqp/ScO/+4+a5LNYB qJspj81CCjaN1/o36YaArFGU8huqyxmZdL8wUhKrn1TFKZSqUEq1w55BVdUdI/aDZvXk Cqg9/vvjIWop+IOtvnGttYlKEC3HM/HXb+1smgXKn/q+Pllxwtix0CEmDXWUWB5Zj4gU VuGw== X-Gm-Message-State: AOAM5300X0sCtVvgGC5oqAjBrAOJyi2xRRUTh3y4jVSy/hXuPP7N4Hhz mQzeC7Q3Ghh9HZG8OMaMpfEIzTYha7kAjyf4V/4bQX+NzMVE X-Google-Smtp-Source: ABdhPJyTPRxIsCuFKvrFDIDtqaCRdFqIVdSdUmnIdSUiqGb123gXMIiDzpk8Z/h8+HQh5mZknUAh2XsSuaBpxhxMjBg= X-Received: by 2002:a05:6638:31c1:b0:319:a36f:4120 with SMTP id n1-20020a05663831c100b00319a36f4120mr9207843jav.81.1649409511811; Fri, 08 Apr 2022 02:18:31 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::d30; envelope-from=johann.hoechtl@gmail.com; helo=mail-io1-xd30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 08 Apr 2022 08:55:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229568 Archived-At: --0000000000000a6d6b05dc2114da Content-Type: text/plain; charset="UTF-8" When opening a CSV file, the field number in the modeline is initially displayed as 'F0', if I move point past the first character it get's updated to F1. This behaviour repeats for every other field in the csv file. So If I am in the buffer at the frist character of field 5 it is still reported as F4, if imove to the second character of field 5 it is correctly reported as F5. In GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) Repository revision: c5af19cba5924de89a38e7a177c07f42fd3cd543 Repository branch: master Windowing system distributor 'Microsoft Corp.', version 10.0.18363 System Description: Microsoft Windows 10 Enterprise (v10.0.1909.18363.2158) Configured using: 'configure --prefix=/d/a/emacs-build/emacs-build/pkg/master-x86_64 'CFLAGS=-Ofast -fno-finite-math-only' --with-native-compilation --with-zlib --with-gnutls --with-xml2 --with-lcms2 --with-json --with-harfbuzz --without-cairo --with-rsvg --with-png --with-gif --without-tiff --with-jpeg --with-xpm --disable-build-details --without-dbus --without-compress-install' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TOOLKIT_SCROLL_BARS WEBP XPM ZLIB Important settings: value of $LC_ALL: en_US.utf8 value of $LANG: C locale-coding-system: cp1252 Major mode: CSV Minor modes in effect: csv-field-index-mode: t shell-dirtrack-mode: t windmove-mode: t savehist-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: c:/Users/HoechtlJ/WorkFolders/Documents/.emacs.d/elpa/transient-20220406.1156/transient hides c:/Users/HoechtlJ/AppData/Local/Emacs/share/emacs/29.0.50/lisp/transient Features: (shadow mail-extr emacsbug comp comp-cstr warnings message yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils csv-mode sort rmc sql view mule-util cal-move parse-time org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 ol org-keys oc org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs cl-extra help-mode find-dired ffap shell pcomplete files-x grep compile text-property-search comint ansi-color company-oddmuse company-keywords company-etags etags fileloop generator xref project ring company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company pcase refill flyspell ispell markdown-mode rx color thingatpt noutline outline misearch multi-isearch time-date dired-aux dired dired-loaddefs deeper-blue-theme windmove savehist cus-load pasteex-mode easy-mmode finder-inf info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 434980 18141) (symbols 48 24689 1) (strings 32 123187 4936) (string-bytes 1 3562828) (vectors 16 48098) (vector-slots 8 1612874 86964) (floats 8 236 368) (intervals 56 6687 379) (buffers 992 20)) --0000000000000a6d6b05dc2114da Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When opening a CSV file, the field number in the modeline = is initially
displayed as 'F0', if I move point past the first c= haracter it get's
updated to F1. This behaviour repeats for every ot= her field in the csv
file. So If I am in the buffer at the frist charact= er of field 5 it is
still reported as F4, if imove to the second charact= er of field 5
it is correctly reported as F5.

In GNU Emacs 29.0.5= 0 (build 1, x86_64-w64-mingw32)
Repository revision: c5af19cba5924de89a3= 8e7a177c07f42fd3cd543
Repository branch: master
Windowing system dist= ributor 'Microsoft Corp.', version 10.0.18363
System Description= : Microsoft Windows 10 Enterprise (v10.0.1909.18363.2158)

Configured= using:
=C2=A0'configure --prefix=3D/d/a/emacs-build/emacs-build/pkg= /master-x86_64
=C2=A0'CFLAGS=3D-Ofast -fno-finite-math-only' --w= ith-native-compilation
=C2=A0--with-zlib --with-gnutls --with-xml2 --wit= h-lcms2 --with-json
=C2=A0--with-harfbuzz --without-cairo --with-rsvg --= with-png --with-gif
=C2=A0--without-tiff --with-jpeg --with-xpm --disabl= e-build-details
=C2=A0--without-dbus --without-compress-install'
=
Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIB= XML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3= THREADS
TOOLKIT_SCROLL_BARS WEBP XPM ZLIB

Important settings:=C2=A0 value of $LC_ALL: en_US.utf8
=C2=A0 value of $LANG: C
=C2=A0 = locale-coding-system: cp1252

Major mode: CSV

Minor modes in e= ffect:
=C2=A0 csv-field-index-mode: t
=C2=A0 shell-dirtrack-mode: t=C2=A0 windmove-mode: t
=C2=A0 savehist-mode: t
=C2=A0 tooltip-mode= : t
=C2=A0 global-eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 e= lectric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mod= e: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2= =A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cu= rsor-mode: t
=C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mode: t=C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0= auto-encryption-mode: t
=C2=A0 auto-compression-mode: t

Load-pat= h shadows:
c:/Users/HoechtlJ/WorkFolders/Documents/.emacs.d/elpa/transie= nt-20220406.1156/transient hides c:/Users/HoechtlJ/AppData/Local/Emacs/shar= e/emacs/29.0.50/lisp/transient

Features:
(shadow mail-extr emacsb= ug comp comp-cstr warnings message yank-media
puny rfc822 mml mml-sec ep= a derived epg rfc6068 epg-config gnus-util
mm-decode mm-bodies mm-encode= mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc= 2045 ietf-drums mm-util mail-prsvr
mail-utils csv-mode sort rmc sql view= mule-util cal-move parse-time org
ob ob-tangle ob-ref ob-lob ob-table o= b-exp org-macro org-footnote
org-src ob-comint org-pcomplete org-list or= g-faces org-entities
org-version ob-emacs-lisp ob-core ob-eval org-table= oc-basic bibtex
iso8601 ol org-keys oc org-compat advice org-macs org-l= oaddefs
format-spec find-func cal-menu calendar cal-loaddefs cl-extra he= lp-mode
find-dired ffap shell pcomplete files-x grep compile
text-pro= perty-search comint ansi-color company-oddmuse company-keywords
company-= etags etags fileloop generator xref project ring company-gtags
company-d= abbrev-code company-dabbrev company-files company-clang
company-capf com= pany-cmake company-semantic company-template
company-bbdb company pcase = refill flyspell ispell markdown-mode rx color
thingatpt noutline outline= misearch multi-isearch time-date dired-aux
dired dired-loaddefs deeper-= blue-theme windmove savehist cus-load
pasteex-mode easy-mmode finder-inf= info package browse-url url url-proxy
url-privacy url-expand url-method= s url-history url-cookie url-domsuf
url-util mailcap url-handlers url-pa= rse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-= cache json map url-vars seq
gv subr-x byte-opt bytecomp byte-compile cco= nv cl-loaddefs cl-lib
iso-transl tooltip eldoc paren electric uniquify e= diff-hook vc-hooks
lisp-float-type elisp-mode mwheel dos-w32 ls-lisp dis= p-table
term/w32-win w32-win w32-vars term/common-win tool-bar dnd fonts= et image
regexp-opt fringe tabulated-list replace newcomment text-mode l= isp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch ea= symenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core=
term/tty-colors frame minibuffer nadvice simple cl-generic cham georgia= n
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
ja= panese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethi= opic indian cyrillic chinese composite emoji-zwj charscript charprop
cas= e-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded= button loaddefs faces cus-face macroexp files window
text-properties ov= erlay sha1 md5 base64 format env code-pages mule
custom widget keymap ha= shtable-print-readable backquote threads
w32notify w32 lcms2 multi-tty m= ake-network-process native-compile emacs)

Memory information:
((c= onses 16 434980 18141)
=C2=A0(symbols 48 24689 1)
=C2=A0(strings 32 1= 23187 4936)
=C2=A0(string-bytes 1 3562828)
=C2=A0(vectors 16 48098)=C2=A0(vector-slots 8 1612874 86964)
=C2=A0(floats 8 236 368)
=C2= =A0(intervals 56 6687 379)
=C2=A0(buffers 992 20))
--0000000000000a6d6b05dc2114da--