From unknown Wed Aug 20 05:43:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#36573 <36573@debbugs.gnu.org> To: bug#36573 <36573@debbugs.gnu.org> Subject: Status: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer Reply-To: bug#36573 <36573@debbugs.gnu.org> Date: Wed, 20 Aug 2025 12:43:26 +0000 retitle 36573 26.1; bufferpos-to-filepos assumes coding-system-eol-type giv= es integer reassign 36573 emacs submitter 36573 Rupert Swarbrick severity 36573 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 06:55:02 2019 Received: (at submit) by debbugs.gnu.org; 10 Jul 2019 10:55:02 +0000 Received: from localhost ([127.0.0.1]:34881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlAFY-0003fW-W9 for submit@debbugs.gnu.org; Wed, 10 Jul 2019 06:55:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:39801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlAFX-0003fO-8n for submit@debbugs.gnu.org; Wed, 10 Jul 2019 06:55:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52630) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlAFT-0006Mu-DX for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 06:54:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlAFQ-0005qy-95 for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 06:54:55 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:38620) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlAFP-0005of-Tt for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 06:54:52 -0400 Received: by mail-wr1-x444.google.com with SMTP id g17so1945642wrr.5 for ; Wed, 10 Jul 2019 03:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=Y+m9upiASjqhEY7BMOw6GgceLMXiXZeriNsUsgmIdqY=; b=Styfo0/GNX4IT9V/zD112VdPO63qWjDDKxIE+doHyWPWyY7kA4+EpEP7FpD2XRQYkC Kvs/IWKzB/IDjobOZN2b3HI/GU4i3cOGMSjHjRFMAUjDnrlxYrP5aVEvNJOfZkZCSuU2 UHy+X04jlKj1F+B0pluZbiG5tYDG0E/pt4ltTZOvW0qw9HEat3ZekOOSSVXxEMBJaEXw xe4uvxUYcZlrewHL1XnwvpHUtHs1zmk7MR9LNVV9fO4njYNuvWVH/EytN5Zug2E1014L pt45LfgG8pVwkT63EcM90Opl0rRHkMOEFRss9EsK7xTu8+28rabGRroydz34PP0JII0g DbFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=Y+m9upiASjqhEY7BMOw6GgceLMXiXZeriNsUsgmIdqY=; b=G4VGpAP64FZeqNNuSfsZCul/FmYy7mZ31+c71Guphkf07RRY2J5wkCEIJ6lC5LgoBf z0oiy1nUPEMtUJhntmkhdH+o3oC6Px/VDZNE/ETVHIbGdyGNPKjwNKA26FsuSWlkQByZ gBMwa++7H5B5By1ROwchtG1KUngl7PWiMYxgXnUhtWMJO3wWGULPXWPQK+70o1HDF1km RDmg2WdUAcWDBUl5HN+L1sS7dz+VoAlDCX1p7N7VbGGYJhhQQDGFNeG3n49PoA0lNC6I h586TTxtZ/aDz6+0H/dlxBncpQrGWRcaGf1Z95LtkBbo0EQXg+KMZaqmmxGJOMxOoJqm y4fw== X-Gm-Message-State: APjAAAUE3jqngcnvr+3nYEky3y3YZ1ivzE3SIgwXrc21b1PZfhbCISnI n7rtss0jnjUk5m8ZQKPRljzbB8gd X-Google-Smtp-Source: APXvYqxDeLcHMAs3AxLj9l3lo+ppC3J9+uZasYA+JvOA57gCiUTic7K7IhiRTr5sSo1BvqS2h2uznw== X-Received: by 2002:adf:ec0d:: with SMTP id x13mr30213737wrn.240.1562756089282; Wed, 10 Jul 2019 03:54:49 -0700 (PDT) Received: from halibut (static-87-74-63-74.vodafonexdsl.co.uk. [87.74.63.74]) by smtp.gmail.com with ESMTPSA id o3sm1737625wrs.59.2019.07.10.03.54.47 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 10 Jul 2019 03:54:48 -0700 (PDT) Received: from rupert by halibut with local (Exim 4.92) (envelope-from ) id 1hlAFL-000811-2A for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 11:54:47 +0100 User-agent: mu4e 1.0; emacs 26.1 From: Rupert Swarbrick To: bug-gnu-emacs@gnu.org Subject: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer Date: Wed, 10 Jul 2019 11:52:24 +0100 Message-ID: <877e8q2mc7.fsf@halibut> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi there, The bufferpos-to-filepos function assumes that the return value fo coding-system-eol-type is an integer, testing it with (let* ((eol (coding-system-eol-type coding-system)) (lineno (if (= eol 1) (1- (line-number-at-pos position)) 0)) ...) ...) However, coding-system-eol-type may return a list if the given coding system doesn't specify eol conversion explicitly. This crops up for me when trying to browse info files: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p [undecided-unix undecided-dos undecided-mac]) =([undecided-unix undecided-dos undecided-mac] 1) (if (= eol 1) (1- (line-number-at-pos position)) 0) (let* /* SNIP contents of bufferpos-to-filepos */) bufferpos-to-filepos(1202 exact) Info-read-subfile(1200) Info-find-node-2("/usr/share/info/gawk" "Top" nil nil) Info-find-node("gawk" "Top" nil nil) Info-goto-node("(gawk)" nil) Info-menu("Gawk" nil) funcall-interactively(Info-menu "Gawk" nil) call-interactively(Info-menu nil nil) command-execute(Info-menu) (I've snipped out the contents of bufferpos-to-filepos from the backtrace). It seems that the coding system for the info file is 'undecided at this point. I'm not sure where the bug lies. If bufferpos-to-filepos (and filepos-to-bufferpos) are supposed to work with an undecided coding system, they need fixing. Manually replacing "(= eol ...)" with "(eql eol ...)" locally in both functions means that I can read the info file again (yippee!) but I'm not sure whether that's a full solution. Alternatively, I guess the documentation for these functions needs to say that they should only be called when the coding system specifies eol conversion. In this case, the info code also needs fixing (and presumably various other places). Auto-collected info below. This is a Debian system with reasonably standard packages, plus some org-related stuff from elpa. Rupert Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-26.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD LCMS2 Important settings: value of $LC_MONETARY: en_GB.utf8 value of $LC_NUMERIC: en_GB.utf8 value of $LC_TIME: en_GB.utf8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8 Major mode: Info Minor modes in effect: show-paren-mode: t keyfreq-autosave-mode: t keyfreq-mode: t global-ede-mode: t savehist-mode: t recentf-mode: t rcirc-track-minor-mode: t global-undo-tree-mode: t undo-tree-mode: t eyebrowse-mode: t pdf-occur-global-minor-mode: t pyvenv-mode: t global-magit-file-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t Load-path shadows: /home/rupert/.emacs.d/other-libraries/other-libraries/small/gas-mode hides /home/rupert/.emacs.d/other-libraries/other-libraries/gas-mode/gas-mode /home/rupert/.emacs.d/other-libraries/other-libraries/small/smooth-scrolling hides /home/rupert/.emacs.d/elpa/smooth-scrolling-20161002.1949/smooth-scrolling /home/rupert/.emacs.d/elpa/color-theme-solarized-20171024.1525/solarized-theme hides /home/rupert/.emacs.d/elpa/solarized-theme-20190625.1632/solarized-theme /home/rupert/.emacs.d/other-libraries/spice-mode/spice-mode hides /home/rupert/.emacs.d/elpa/spice-mode-20190608.1033/spice-mode /usr/share/emacs/site-lisp/llvm-6.0/tablegen-mode hides /usr/share/emacs/site-lisp/llvm-7/tablegen-mode /usr/share/emacs/site-lisp/llvm-6.0/llvm-mode hides /usr/share/emacs/site-lisp/llvm-7/llvm-mode /usr/share/emacs/site-lisp/llvm-6.0/emacs hides /usr/share/emacs/site-lisp/llvm-7/emacs /usr/share/emacs/site-lisp/flim/md4 hides /usr/share/emacs/26.1/lisp/md4 /usr/share/emacs/site-lisp/flim/hex-util hides /usr/share/emacs/26.1/lisp/hex-util /home/rupert/.emacs.d/other-libraries/libfunctions/underline hides /usr/share/emacs/26.1/lisp/textmodes/underline /src/not-mine/verilog-mode/e/verilog-mode hides /usr/share/emacs/26.1/lisp/progmodes/verilog-mode /home/rupert/.emacs.d/elpa/org-20171009/ox hides /usr/share/emacs/26.1/lisp/org/ox /home/rupert/.emacs.d/elpa/org-20171009/ox-texinfo hides /usr/share/emacs/26.1/lisp/org/ox-texinfo /home/rupert/.emacs.d/elpa/org-20171009/ox-publish hides /usr/share/emacs/26.1/lisp/org/ox-publish /home/rupert/.emacs.d/elpa/org-20171009/ox-org hides /usr/share/emacs/26.1/lisp/org/ox-org /home/rupert/.emacs.d/elpa/org-20171009/ox-odt hides /usr/share/emacs/26.1/lisp/org/ox-odt /home/rupert/.emacs.d/elpa/org-20171009/ox-md hides /usr/share/emacs/26.1/lisp/org/ox-md /home/rupert/.emacs.d/elpa/org-20171009/ox-man hides /usr/share/emacs/26.1/lisp/org/ox-man /home/rupert/.emacs.d/elpa/org-20171009/ox-latex hides /usr/share/emacs/26.1/lisp/org/ox-latex /home/rupert/.emacs.d/elpa/org-20171009/ox-icalendar hides /usr/share/emacs/26.1/lisp/org/ox-icalendar /home/rupert/.emacs.d/elpa/org-20171009/ox-html hides /usr/share/emacs/26.1/lisp/org/ox-html /home/rupert/.emacs.d/elpa/org-20171009/ox-beamer hides /usr/share/emacs/26.1/lisp/org/ox-beamer /home/rupert/.emacs.d/elpa/org-20171009/ox-ascii hides /usr/share/emacs/26.1/lisp/org/ox-ascii /home/rupert/.emacs.d/elpa/org-20171009/org hides /usr/share/emacs/26.1/lisp/org/org /home/rupert/.emacs.d/elpa/org-20171009/org-w3m hides /usr/share/emacs/26.1/lisp/org/org-w3m /home/rupert/.emacs.d/elpa/org-20171009/org-version hides /usr/share/emacs/26.1/lisp/org/org-version /home/rupert/.emacs.d/elpa/org-20171009/org-timer hides /usr/share/emacs/26.1/lisp/org/org-timer /home/rupert/.emacs.d/elpa/org-20171009/org-table hides /usr/share/emacs/26.1/lisp/org/org-table /home/rupert/.emacs.d/elpa/org-20171009/org-src hides /usr/share/emacs/26.1/lisp/org/org-src /home/rupert/.emacs.d/elpa/org-20171009/org-rmail hides /usr/share/emacs/26.1/lisp/org/org-rmail /home/rupert/.emacs.d/elpa/org-20171009/org-protocol hides /usr/share/emacs/26.1/lisp/org/org-protocol /home/rupert/.emacs.d/elpa/org-20171009/org-plot hides /usr/share/emacs/26.1/lisp/org/org-plot /home/rupert/.emacs.d/elpa/org-20171009/org-pcomplete hides /usr/share/emacs/26.1/lisp/org/org-pcomplete /home/rupert/.emacs.d/elpa/org-20171009/org-mouse hides /usr/share/emacs/26.1/lisp/org/org-mouse /home/rupert/.emacs.d/elpa/org-20171009/org-mobile hides /usr/share/emacs/26.1/lisp/org/org-mobile /home/rupert/.emacs.d/elpa/org-20171009/org-mhe hides /usr/share/emacs/26.1/lisp/org/org-mhe /home/rupert/.emacs.d/elpa/org-20171009/org-macs hides /usr/share/emacs/26.1/lisp/org/org-macs /home/rupert/.emacs.d/elpa/org-20171009/org-macro hides /usr/share/emacs/26.1/lisp/org/org-macro /home/rupert/.emacs.d/elpa/org-20171009/org-loaddefs hides /usr/share/emacs/26.1/lisp/org/org-loaddefs /home/rupert/.emacs.d/elpa/org-20171009/org-list hides /usr/share/emacs/26.1/lisp/org/org-list /home/rupert/.emacs.d/elpa/org-20171009/org-lint hides /usr/share/emacs/26.1/lisp/org/org-lint /home/rupert/.emacs.d/elpa/org-20171009/org-irc hides /usr/share/emacs/26.1/lisp/org/org-irc /home/rupert/.emacs.d/elpa/org-20171009/org-install hides /usr/share/emacs/26.1/lisp/org/org-install /home/rupert/.emacs.d/elpa/org-20171009/org-inlinetask hides /usr/share/emacs/26.1/lisp/org/org-inlinetask /home/rupert/.emacs.d/elpa/org-20171009/org-info hides /usr/share/emacs/26.1/lisp/org/org-info /home/rupert/.emacs.d/elpa/org-20171009/org-indent hides /usr/share/emacs/26.1/lisp/org/org-indent /home/rupert/.emacs.d/elpa/org-20171009/org-id hides /usr/share/emacs/26.1/lisp/org/org-id /home/rupert/.emacs.d/elpa/org-20171009/org-habit hides /usr/share/emacs/26.1/lisp/org/org-habit /home/rupert/.emacs.d/elpa/org-20171009/org-gnus hides /usr/share/emacs/26.1/lisp/org/org-gnus /home/rupert/.emacs.d/elpa/org-20171009/org-footnote hides /usr/share/emacs/26.1/lisp/org/org-footnote /home/rupert/.emacs.d/elpa/org-20171009/org-feed hides /usr/share/emacs/26.1/lisp/org/org-feed /home/rupert/.emacs.d/elpa/org-20171009/org-faces hides /usr/share/emacs/26.1/lisp/org/org-faces /home/rupert/.emacs.d/elpa/org-20171009/org-eww hides /usr/share/emacs/26.1/lisp/org/org-eww /home/rupert/.emacs.d/elpa/org-20171009/org-eshell hides /usr/share/emacs/26.1/lisp/org/org-eshell /home/rupert/.emacs.d/elpa/org-20171009/org-entities hides /usr/share/emacs/26.1/lisp/org/org-entities /home/rupert/.emacs.d/elpa/org-20171009/org-element hides /usr/share/emacs/26.1/lisp/org/org-element /home/rupert/.emacs.d/elpa/org-20171009/org-duration hides /usr/share/emacs/26.1/lisp/org/org-duration /home/rupert/.emacs.d/elpa/org-20171009/org-docview hides /usr/share/emacs/26.1/lisp/org/org-docview /home/rupert/.emacs.d/elpa/org-20171009/org-datetree hides /usr/share/emacs/26.1/lisp/org/org-datetree /home/rupert/.emacs.d/elpa/org-20171009/org-ctags hides /usr/share/emacs/26.1/lisp/org/org-ctags /home/rupert/.emacs.d/elpa/org-20171009/org-crypt hides /usr/share/emacs/26.1/lisp/org/org-crypt /home/rupert/.emacs.d/elpa/org-20171009/org-compat hides /usr/share/emacs/26.1/lisp/org/org-compat /home/rupert/.emacs.d/elpa/org-20171009/org-colview hides /usr/share/emacs/26.1/lisp/org/org-colview /home/rupert/.emacs.d/elpa/org-20171009/org-clock hides /usr/share/emacs/26.1/lisp/org/org-clock /home/rupert/.emacs.d/elpa/org-20171009/org-capture hides /usr/share/emacs/26.1/lisp/org/org-capture /home/rupert/.emacs.d/elpa/org-20171009/org-bibtex hides /usr/share/emacs/26.1/lisp/org/org-bibtex /home/rupert/.emacs.d/elpa/org-20171009/org-bbdb hides /usr/share/emacs/26.1/lisp/org/org-bbdb /home/rupert/.emacs.d/elpa/org-20171009/org-attach hides /usr/share/emacs/26.1/lisp/org/org-attach /home/rupert/.emacs.d/elpa/org-20171009/org-archive hides /usr/share/emacs/26.1/lisp/org/org-archive /home/rupert/.emacs.d/elpa/org-20171009/org-agenda hides /usr/share/emacs/26.1/lisp/org/org-agenda /home/rupert/.emacs.d/elpa/org-20171009/ob hides /usr/share/emacs/26.1/lisp/org/ob /home/rupert/.emacs.d/elpa/org-20171009/ob-vala hides /usr/share/emacs/26.1/lisp/org/ob-vala /home/rupert/.emacs.d/elpa/org-20171009/ob-tangle hides /usr/share/emacs/26.1/lisp/org/ob-tangle /home/rupert/.emacs.d/elpa/org-20171009/ob-table hides /usr/share/emacs/26.1/lisp/org/ob-table /home/rupert/.emacs.d/elpa/org-20171009/ob-stan hides /usr/share/emacs/26.1/lisp/org/ob-stan /home/rupert/.emacs.d/elpa/org-20171009/ob-sqlite hides /usr/share/emacs/26.1/lisp/org/ob-sqlite /home/rupert/.emacs.d/elpa/org-20171009/ob-sql hides /usr/share/emacs/26.1/lisp/org/ob-sql /home/rupert/.emacs.d/elpa/org-20171009/ob-shen hides /usr/share/emacs/26.1/lisp/org/ob-shen /home/rupert/.emacs.d/elpa/org-20171009/ob-shell hides /usr/share/emacs/26.1/lisp/org/ob-shell /home/rupert/.emacs.d/elpa/org-20171009/ob-sed hides /usr/share/emacs/26.1/lisp/org/ob-sed /home/rupert/.emacs.d/elpa/org-20171009/ob-screen hides /usr/share/emacs/26.1/lisp/org/ob-screen /home/rupert/.emacs.d/elpa/org-20171009/ob-scheme hides /usr/share/emacs/26.1/lisp/org/ob-scheme /home/rupert/.emacs.d/elpa/org-20171009/ob-sass hides /usr/share/emacs/26.1/lisp/org/ob-sass /home/rupert/.emacs.d/elpa/org-20171009/ob-ruby hides /usr/share/emacs/26.1/lisp/org/ob-ruby /home/rupert/.emacs.d/elpa/org-20171009/ob-ref hides /usr/share/emacs/26.1/lisp/org/ob-ref /home/rupert/.emacs.d/elpa/org-20171009/ob-python hides /usr/share/emacs/26.1/lisp/org/ob-python /home/rupert/.emacs.d/elpa/org-20171009/ob-processing hides /usr/share/emacs/26.1/lisp/org/ob-processing /home/rupert/.emacs.d/elpa/org-20171009/ob-plantuml hides /usr/share/emacs/26.1/lisp/org/ob-plantuml /home/rupert/.emacs.d/elpa/org-20171009/ob-picolisp hides /usr/share/emacs/26.1/lisp/org/ob-picolisp /home/rupert/.emacs.d/elpa/org-20171009/ob-perl hides /usr/share/emacs/26.1/lisp/org/ob-perl /home/rupert/.emacs.d/elpa/org-20171009/ob-org hides /usr/share/emacs/26.1/lisp/org/ob-org /home/rupert/.emacs.d/elpa/org-20171009/ob-octave hides /usr/share/emacs/26.1/lisp/org/ob-octave /home/rupert/.emacs.d/elpa/org-20171009/ob-ocaml hides /usr/share/emacs/26.1/lisp/org/ob-ocaml /home/rupert/.emacs.d/elpa/org-20171009/ob-mscgen hides /usr/share/emacs/26.1/lisp/org/ob-mscgen /home/rupert/.emacs.d/elpa/org-20171009/ob-maxima hides /usr/share/emacs/26.1/lisp/org/ob-maxima /home/rupert/.emacs.d/elpa/org-20171009/ob-matlab hides /usr/share/emacs/26.1/lisp/org/ob-matlab /home/rupert/.emacs.d/elpa/org-20171009/ob-makefile hides /usr/share/emacs/26.1/lisp/org/ob-makefile /home/rupert/.emacs.d/elpa/org-20171009/ob-lua hides /usr/share/emacs/26.1/lisp/org/ob-lua /home/rupert/.emacs.d/elpa/org-20171009/ob-lob hides /usr/share/emacs/26.1/lisp/org/ob-lob /home/rupert/.emacs.d/elpa/org-20171009/ob-lisp hides /usr/share/emacs/26.1/lisp/org/ob-lisp /home/rupert/.emacs.d/elpa/org-20171009/ob-lilypond hides /usr/share/emacs/26.1/lisp/org/ob-lilypond /home/rupert/.emacs.d/elpa/org-20171009/ob-ledger hides /usr/share/emacs/26.1/lisp/org/ob-ledger /home/rupert/.emacs.d/elpa/org-20171009/ob-latex hides /usr/share/emacs/26.1/lisp/org/ob-latex /home/rupert/.emacs.d/elpa/org-20171009/ob-keys hides /usr/share/emacs/26.1/lisp/org/ob-keys /home/rupert/.emacs.d/elpa/org-20171009/ob-js hides /usr/share/emacs/26.1/lisp/org/ob-js /home/rupert/.emacs.d/elpa/org-20171009/ob-java hides /usr/share/emacs/26.1/lisp/org/ob-java /home/rupert/.emacs.d/elpa/org-20171009/ob-io hides /usr/share/emacs/26.1/lisp/org/ob-io /home/rupert/.emacs.d/elpa/org-20171009/ob-hledger hides /usr/share/emacs/26.1/lisp/org/ob-hledger /home/rupert/.emacs.d/elpa/org-20171009/ob-haskell hides /usr/share/emacs/26.1/lisp/org/ob-haskell /home/rupert/.emacs.d/elpa/org-20171009/ob-groovy hides /usr/share/emacs/26.1/lisp/org/ob-groovy /home/rupert/.emacs.d/elpa/org-20171009/ob-gnuplot hides /usr/share/emacs/26.1/lisp/org/ob-gnuplot /home/rupert/.emacs.d/elpa/org-20171009/ob-fortran hides /usr/share/emacs/26.1/lisp/org/ob-fortran /home/rupert/.emacs.d/elpa/org-20171009/ob-forth hides /usr/share/emacs/26.1/lisp/org/ob-forth /home/rupert/.emacs.d/elpa/org-20171009/ob-exp hides /usr/share/emacs/26.1/lisp/org/ob-exp /home/rupert/.emacs.d/elpa/org-20171009/ob-eval hides /usr/share/emacs/26.1/lisp/org/ob-eval /home/rupert/.emacs.d/elpa/org-20171009/ob-emacs-lisp hides /usr/share/emacs/26.1/lisp/org/ob-emacs-lisp /home/rupert/.emacs.d/elpa/org-20171009/ob-ebnf hides /usr/share/emacs/26.1/lisp/org/ob-ebnf /home/rupert/.emacs.d/elpa/org-20171009/ob-dot hides /usr/share/emacs/26.1/lisp/org/ob-dot /home/rupert/.emacs.d/elpa/org-20171009/ob-ditaa hides /usr/share/emacs/26.1/lisp/org/ob-ditaa /home/rupert/.emacs.d/elpa/org-20171009/ob-css hides /usr/share/emacs/26.1/lisp/org/ob-css /home/rupert/.emacs.d/elpa/org-20171009/ob-core hides /usr/share/emacs/26.1/lisp/org/ob-core /home/rupert/.emacs.d/elpa/org-20171009/ob-coq hides /usr/share/emacs/26.1/lisp/org/ob-coq /home/rupert/.emacs.d/elpa/org-20171009/ob-comint hides /usr/share/emacs/26.1/lisp/org/ob-comint /home/rupert/.emacs.d/elpa/org-20171009/ob-clojure hides /usr/share/emacs/26.1/lisp/org/ob-clojure /home/rupert/.emacs.d/elpa/org-20171009/ob-calc hides /usr/share/emacs/26.1/lisp/org/ob-calc /home/rupert/.emacs.d/elpa/org-20171009/ob-awk hides /usr/share/emacs/26.1/lisp/org/ob-awk /home/rupert/.emacs.d/elpa/org-20171009/ob-asymptote hides /usr/share/emacs/26.1/lisp/org/ob-asymptote /home/rupert/.emacs.d/elpa/org-20171009/ob-abc hides /usr/share/emacs/26.1/lisp/org/ob-abc /home/rupert/.emacs.d/elpa/org-20171009/ob-R hides /usr/share/emacs/26.1/lisp/org/ob-R /home/rupert/.emacs.d/elpa/org-20171009/ob-J hides /usr/share/emacs/26.1/lisp/org/ob-J /home/rupert/.emacs.d/elpa/org-20171009/ob-C hides /usr/share/emacs/26.1/lisp/org/ob-C /usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/26.1/lisp/net/sasl /usr/share/emacs/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/26.1/lisp/net/sasl-ntlm /usr/share/emacs/site-lisp/flim/sasl-digest hides /usr/share/emacs/26.1/lisp/net/sasl-digest /usr/share/emacs/site-lisp/flim/sasl-cram hides /usr/share/emacs/26.1/lisp/net/sasl-cram /usr/share/emacs/site-lisp/flim/ntlm hides /usr/share/emacs/26.1/lisp/net/ntlm /usr/share/emacs/site-lisp/flim/hmac-md5 hides /usr/share/emacs/26.1/lisp/net/hmac-md5 /usr/share/emacs/site-lisp/flim/hmac-def hides /usr/share/emacs/26.1/lisp/net/hmac-def Features: (shadow sort mail-extr emacsbug helm-external helm-net xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap cl-print debug winner helm-command helm-elisp helm-eval edebug helm-info helm-mode helm-files helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp helm-utils helm-types helm-help helm helm-source eieio-compat helm-multi-match helm-lib misearch multi-isearch highlight-parentheses redshank skeleton paren elisp-slime-nav mu4e desktop frameset mu4e-speedbar mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions org-capture rfc2368 smtpmail sendmail mu4e-mark mu4e-message flow-fill html2text mu4e-proc mu4e-utils doc-view mu4e-lists mu4e-vars org-element avl-tree generator ob-dot ob-maxima org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs hl-line mu4e-meta keyfreq shebang smooth-scrolling pg-vars ede/speedbar ede/files ede ede/detect ede/base ede/auto ede/source eieio-base eieio-speedbar speedbar sb-image ezimage dframe eieio-custom cc-styles cc-align cc-engine cc-vars cc-defs slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime arc-mode archive-mode hyperspec browse-url dired-x info-look solarized-light-theme solarized savehist recentf tree-widget rcirc undo-tree diff cl company-irony company-template irony-completion irony-snippet irony irony-iotask proof-general eyebrowse haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme rx haskell-align-imports haskell-compat haskell-complete-module haskell-ghc-support noutline outline dabbrev haskell-customize pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc pdf-tools pdf-view magit-bookmark bookmark pp jka-compr pdf-cache pdf-info tq pdf-util image-mode yasnippet elec-pair highlight-indentation flymake-proc flymake warnings company-capf company pcase help-fns radix-tree elpy find-file-in-project ivy flx delsel colir color ivy-overlay ffap thingatpt windmove elpy-shell pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util elpy-profile elpy-django s elpy-refactor python tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize parse-time json map ido grep compile files-x etags xref project cus-edit cus-start cus-load wid-edit paredit edmacro kmacro magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process magit-mode transient git-commit magit-git magit-section magit-utils crm log-edit message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp advice async shell pcomplete comint ansi-color ring server dash cl-extra help-mode use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core derived subr-x finder-inf tex-site highline-autoloads proof-site proof-autoloads slime-autoloads info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib w3m-load devhelp time-date mule-util 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 menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 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 748565 52312) (symbols 48 62892 7) (miscs 40 270 398) (strings 32 192397 6437) (string-bytes 1 5948028) (vectors 16 92954) (vector-slots 8 1758995 68914) (floats 8 521 411) (intervals 56 3844 3512) (buffers 992 21)) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 10 10:53:25 2019 Received: (at 36573) by debbugs.gnu.org; 10 Jul 2019 14:53:25 +0000 Received: from localhost ([127.0.0.1]:36393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlDyH-00042j-B7 for submit@debbugs.gnu.org; Wed, 10 Jul 2019 10:53:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlDyD-00042U-Hz for 36573@debbugs.gnu.org; Wed, 10 Jul 2019 10:53:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hlDy8-0001HT-6n; Wed, 10 Jul 2019 10:53:16 -0400 Received: from [176.228.60.248] (port=3509 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hlDy3-0006zU-E1; Wed, 10 Jul 2019 10:53:12 -0400 Date: Wed, 10 Jul 2019 17:52:58 +0300 Message-Id: <83bly23prp.fsf@gnu.org> From: Eli Zaretskii To: Rupert Swarbrick In-reply-to: <877e8q2mc7.fsf@halibut> (message from Rupert Swarbrick on Wed, 10 Jul 2019 11:52:24 +0100) Subject: Re: bug#36573: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer References: <877e8q2mc7.fsf@halibut> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36573 Cc: 36573@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Rupert Swarbrick > Date: Wed, 10 Jul 2019 11:52:24 +0100 > > The bufferpos-to-filepos function assumes that the return value fo > coding-system-eol-type is an integer, testing it with > > (let* ((eol (coding-system-eol-type coding-system)) > (lineno (if (= eol 1) (1- (line-number-at-pos position)) > 0)) > ...) > ...) > > However, coding-system-eol-type may return a list if the given > coding system doesn't specify eol conversion explicitly. That shouldn't happen for a buffer that visits a file, in general. > This crops up for me when trying to browse info files: > > Debugger entered--Lisp error: (wrong-type-argument > number-or-marker-p [undecided-unix undecided-dos undecided-mac]) > =([undecided-unix undecided-dos undecided-mac] 1) > (if (= eol 1) (1- (line-number-at-pos position)) 0) > (let* /* SNIP contents of bufferpos-to-filepos */) > bufferpos-to-filepos(1202 exact) > Info-read-subfile(1200) > Info-find-node-2("/usr/share/info/gawk" "Top" nil nil) > Info-find-node("gawk" "Top" nil nil) > Info-goto-node("(gawk)" nil) > Info-menu("Gawk" nil) > funcall-interactively(Info-menu "Gawk" nil) > call-interactively(Info-menu nil nil) > command-execute(Info-menu) Please show the entire recipe for reproducing this, starting from "emacs -Q". Info files should generally have the -unix EOL type; that's what I see here. So I wonder how did we get into this situation. > (I've snipped out the contents of bufferpos-to-filepos from the > backtrace). It seems that the coding system for the info file is > 'undecided at this point. On my system, "C-u C-h i /path/to/gawk.info RET" yields a buffer whose buffer-file-coding-system is undecided-unix, as I'd expect. This happens both on GNU/Linux and on MS-Windows. So I wonder how you get something different. One can get undecided with empty buffers, or buffers that don't have a single newline, but this is not that case. > I'm not sure where the bug lies. If bufferpos-to-filepos (and > filepos-to-bufferpos) are supposed to work with an undecided > coding system, they need fixing. This function cannot possibly work with an encoding that has no definite EOL type, because obviously the conversion of buffer positions to file offsets depends on that. > Manually replacing "(= eol ...)" with "(eql eol ...)" locally in > both functions means that I can read the info file again (yippee!) > but I'm not sure whether that's a full solution. It could be, but we should first understand how did that happen, because there might be deeper problems hiding here. > Alternatively, I guess the documentation for these functions needs > to say that they should only be called when the coding system > specifies eol conversion. That should be done regardless, I think. But since this function was written specifically for Info files, it must work there (and did, AFAIK, since the day it was written till now). From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 11:14:45 2019 Received: (at 36573) by debbugs.gnu.org; 12 Jul 2019 15:14:45 +0000 Received: from localhost ([127.0.0.1]:40559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlxG1-0002iy-1d for submit@debbugs.gnu.org; Fri, 12 Jul 2019 11:14:45 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlxFx-0002ik-Ni for 36573@debbugs.gnu.org; Fri, 12 Jul 2019 11:14:42 -0400 Received: by mail-wr1-f67.google.com with SMTP id c2so7161236wrm.8 for <36573@debbugs.gnu.org>; Fri, 12 Jul 2019 08:14:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=TvjAGjYa5rJS0NM7xKqYQ+z6WnLdt8iavxLguCIyPZA=; b=bN/EkNGMMwXXJ7voYathZ8ixqHwq2XrbBEFdCnCVp5GYKhwd59RUo2IfiiBM+jWK6T r4B0whQjlW6M0PsLu+Aows4lZ2EhQEpJ6LxbvgEVcE3FtzPpzyevvXsuaPKXROUgee7e S/CLXrMtWzKjF/WbBdsSO7W17D6zhxWUn+IEi525utIQR0xc3DaOdq/d3ClydibFlC0P 5npM8S1PLU0lk0b7Ed0wZ1pKRCA9LWIP2w/RkBhJ+XBexkx9GxqdM9dugECd645OQdXM y3fjSLRToXbESWzed1zQGkNfepTDEIRqg3wXmelINr8cAnuYqcIFqkAgXNqz2EW3Csee rarg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=TvjAGjYa5rJS0NM7xKqYQ+z6WnLdt8iavxLguCIyPZA=; b=l/vg9m1grkP0uLNUcnr3d62F9dPniXqwHDo58goEnScP/VnaB74hSRE9/z8VwHDQrj 0tBMAI0ly+WSUsAnHem6L9ZJbu9v6N6zPUHqkHFLL0d4wfz4WZkPuTxNv14d3lif/Zbz dy6K/uUvLBfIv3GtBDArKZDrGgnekRXrkYBuuai5Z7YdfxJgK/zG/X7LMKyjtSxJB4AG iMYDlAJeB0rbeml8K6FBNCegVlPLGtmH+AGiWThgreguyK1v7cGigExQk/gP2NRSNonm wmQRr2oJBb+FKWLwJ0vIeXD92Y9mHmzbN2HwSPbiMYV6xodlax2wSSm8zPJaDp4LrPaQ maPA== X-Gm-Message-State: APjAAAW6MGxgVhjNMMPvMzXZu6kvk1nzZYFmekuH2xpVetH3DzYiBW3R erj4FP/TuByuuNlcJGkogSqOOyU1 X-Google-Smtp-Source: APXvYqwoUhI6qwNu1huLT2tYfT9ms5Yc9ngQvlOIoDGLvyotJk2Edvk52kUZMNnnQeRGk7jJbhpUNQ== X-Received: by 2002:adf:cc85:: with SMTP id p5mr11590669wrj.47.1562944475685; Fri, 12 Jul 2019 08:14:35 -0700 (PDT) Received: from halibut (static-87-74-63-74.vodafonexdsl.co.uk. [87.74.63.74]) by smtp.gmail.com with ESMTPSA id s10sm10701113wmf.8.2019.07.12.08.14.34 for <36573@debbugs.gnu.org> (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 12 Jul 2019 08:14:34 -0700 (PDT) Received: from rupert by halibut with local (Exim 4.92) (envelope-from ) id 1hlxFp-00089S-A1 for 36573@debbugs.gnu.org; Fri, 12 Jul 2019 16:14:33 +0100 User-agent: mu4e 1.2.0; emacs 26.1 From: Rupert Swarbrick To: 36573@debbugs.gnu.org Subject: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer Date: Fri, 12 Jul 2019 16:14:33 +0100 Message-ID: <87o91zs2sm.fsf@halibut> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36573 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thank you for the reply. I've now found the "culprit" (bisecting my init.el starting with emacs -Q). The dubious setting was: '(file-coding-system-alist (quote (("\\.dz\\'" no-conversion . no-conversion) ("\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . no-conversion) ("\\.tgz\\'" no-conversion . no-conversion) ("\\.tbz\\'" no-conversion . no-conversion) ("\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . no-conversion) ("\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . no-conversion) ("\\.elc\\'" emacs-mule . emacs-mule) ("\\.utf\\(-8\\)?\\'" . utf-8) ("\\(\\`\\|/\\)loaddefs.el\\'" raw-text . raw-text-unix) ("\\.tar\\'" no-conversion . no-conversion) ("\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system) ("\\.lisp\\'" . utf-8-unix)))) I can't remember why I had this setting, rather than the default value, but clearing it out means I can read the info manual again. I think it probably still makes sense to add a note to the manual for bufferpos-to-filepos and filepos-to-bufferpos to point out that they don't work if the line ending convention is unknown. For bonus points, maybe it makes sense to add something to fail earlier (and more understandably!) in the info reading code. I'm not sure exactly where that would be, though. Rupert From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 14:18:01 2019 Received: (at 36573) by debbugs.gnu.org; 12 Jul 2019 18:18:01 +0000 Received: from localhost ([127.0.0.1]:40711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm07N-00014S-1c for submit@debbugs.gnu.org; Fri, 12 Jul 2019 14:18:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm07M-00014H-2q for 36573@debbugs.gnu.org; Fri, 12 Jul 2019 14:18:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hm07G-0008OW-Vu; Fri, 12 Jul 2019 14:17:55 -0400 Received: from [176.228.60.248] (port=2103 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hm07G-0006Y1-B5; Fri, 12 Jul 2019 14:17:54 -0400 Date: Fri, 12 Jul 2019 21:17:47 +0300 Message-Id: <837e8n2k38.fsf@gnu.org> From: Eli Zaretskii To: Rupert Swarbrick In-reply-to: <87o91zs2sm.fsf@halibut> (message from Rupert Swarbrick on Fri, 12 Jul 2019 16:14:33 +0100) Subject: Re: bug#36573: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer References: <877e8q2mc7.fsf@halibut> <87o91zs2sm.fsf@halibut> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36573 Cc: 36573@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Rupert Swarbrick > Date: Fri, 12 Jul 2019 16:14:33 +0100 > > Thank you for the reply. I've now found the "culprit" (bisecting > my init.el starting with emacs -Q). The dubious setting was: > > '(file-coding-system-alist > (quote > (("\\.dz\\'" no-conversion . no-conversion) > ("\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . > no-conversion) > ("\\.tgz\\'" no-conversion . no-conversion) > ("\\.tbz\\'" no-conversion . no-conversion) > ("\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . > no-conversion) > ("\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . > no-conversion) > ("\\.elc\\'" emacs-mule . emacs-mule) > ("\\.utf\\(-8\\)?\\'" . utf-8) > ("\\(\\`\\|/\\)loaddefs.el\\'" raw-text . raw-text-unix) > ("\\.tar\\'" no-conversion . no-conversion) > ("\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system) > ("\\.lisp\\'" . utf-8-unix)))) Was the Info file compressed, i.e. did it have one of extensions that caused no-conversion to be used? > I think it probably still makes sense to add a note to the manual > for bufferpos-to-filepos and filepos-to-bufferpos to point out > that they don't work if the line ending convention is unknown. > > For bonus points, maybe it makes sense to add something to fail > earlier (and more understandably!) in the info reading code. I'm > not sure exactly where that would be, though. Yes, something should be done there, thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 11 14:42:22 2021 Received: (at 36573) by debbugs.gnu.org; 11 Aug 2021 18:42:22 +0000 Received: from localhost ([127.0.0.1]:36606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDtBG-0003LD-0f for submit@debbugs.gnu.org; Wed, 11 Aug 2021 14:42:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:32808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDtBD-0003Kw-NW for 36573@debbugs.gnu.org; Wed, 11 Aug 2021 14:42:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1cOtO1NswW7G/dj/17E6+OjQBq6WPoMmdeBATFLka7A=; b=eK2Ky8VM+S6skLUrFoZXrRDvKD Lt1sDKZvHPcuhTp/ffAffLqDbtQtlDmRMOuIXcMjFvL1fqdy+DlLWo+W+YNFCCG2BYEf3+32QpWCw 2/AVGBZH/3ue+Uphf4rpytQ8cEd5BFjpXigvnbc027iloikUAvxf8GLVuqKux1eOVdd8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDtB3-00038u-1U; Wed, 11 Aug 2021 20:42:13 +0200 From: Lars Ingebrigtsen To: Rupert Swarbrick Subject: Re: bug#36573: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer References: <877e8q2mc7.fsf@halibut> <87o91zs2sm.fsf@halibut> Date: Wed, 11 Aug 2021 20:42:08 +0200 In-Reply-To: <87o91zs2sm.fsf@halibut> (Rupert Swarbrick's message of "Fri, 12 Jul 2019 16:14:33 +0100") Message-ID: <87eeazq0vz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Rupert Swarbrick writes: > Thank you for the reply. I've now found the "culprit" (bisecting my > init.el starting with emacs -Q). The dubious setting was: > > '(file-coding-system-alist > (quote > (("\\.dz\\'" no-conversion . [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36573 Cc: 36573@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Rupert Swarbrick writes: > Thank you for the reply. I've now found the "culprit" (bisecting my > init.el starting with emacs -Q). The dubious setting was: > > '(file-coding-system-alist > (quote > (("\\.dz\\'" no-conversion . no-conversion) (etc) Even with this setting, I'm not able to reproduce the problem. It would be helpful with a recipe, starting from "emacs -Q", to verify that we're fixing this in the correct way. > I think it probably still makes sense to add a note to the manual for > bufferpos-to-filepos and filepos-to-bufferpos to point out that they > don't work if the line ending convention is unknown. Well, manual does say that the coding system has to be known (which implies that the line ending convention should also be known)... > For bonus points, maybe it makes sense to add something to fail > earlier (and more understandably!) in the info reading code. I'm not > sure exactly where that would be, though. I think those functions probably shouldn't signal an error in this situation if asked to do an approximate calculation (but just guess at a one-byte ending), perhaps. But give a better error message when asked to do an exact calculation. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 04:21:30 2021 Received: (at 36573) by debbugs.gnu.org; 12 Aug 2021 08:21:30 +0000 Received: from localhost ([127.0.0.1]:37448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mE5xy-00087X-4F for submit@debbugs.gnu.org; Thu, 12 Aug 2021 04:21:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mE5xw-00087H-Qa for 36573@debbugs.gnu.org; Thu, 12 Aug 2021 04:21:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59750) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mE5xr-000408-If; Thu, 12 Aug 2021 04:21:23 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4560 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mE5xr-0005dP-5o; Thu, 12 Aug 2021 04:21:23 -0400 Date: Thu, 12 Aug 2021 11:21:07 +0300 Message-Id: <831r6zdqfg.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87eeazq0vz.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 11 Aug 2021 20:42:08 +0200) Subject: Re: bug#36573: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer References: <877e8q2mc7.fsf@halibut> <87o91zs2sm.fsf@halibut> <87eeazq0vz.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36573 Cc: 36573@debbugs.gnu.org, rswarbrick@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Wed, 11 Aug 2021 20:42:08 +0200 > Cc: 36573@debbugs.gnu.org > > > I think it probably still makes sense to add a note to the manual for > > bufferpos-to-filepos and filepos-to-bufferpos to point out that they > > don't work if the line ending convention is unknown. > > Well, manual does say that the coding system has to be known (which > implies that the line ending convention should also be known)... > > > For bonus points, maybe it makes sense to add something to fail > > earlier (and more understandably!) in the info reading code. I'm not > > sure exactly where that would be, though. > > I think those functions probably shouldn't signal an error in this > situation if asked to do an approximate calculation (but just guess at a > one-byte ending), perhaps. But give a better error message when asked > to do an exact calculation. I think, since these cases are very rare, it should be okay to assume the -unix EOL type when this happens, and document that if this is the case, the result could be an approximation even if the exact result was requested. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 08:55:15 2021 Received: (at 36573) by debbugs.gnu.org; 12 Aug 2021 12:55:16 +0000 Received: from localhost ([127.0.0.1]:37764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAEt-0000Li-Gg for submit@debbugs.gnu.org; Thu, 12 Aug 2021 08:55:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAEi-0000Kz-J8 for 36573@debbugs.gnu.org; Thu, 12 Aug 2021 08:55:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MkDxQCNKAHA6wjBH9jgIgBjdinXZd88y3oZ22pB9X/U=; b=Iq+rqg5LkpZYojqyWsmz+c2Sov DMYd0S1A6RdCLhpwKxZcHARrtNRZy+kcMTloFrEqzfzshvHpwsOym4W+LDL4fPJVOUJncXggsYhaL 9LYTjaJfsdxLZJo5km2xqAqc/3CmaP5HAUWdF9yo6Sxy70r1Zp87pYwsJwno0HNjw/r8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEAEX-0005qf-Tu; Thu, 12 Aug 2021 14:54:58 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#36573: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer References: <877e8q2mc7.fsf@halibut> <87o91zs2sm.fsf@halibut> <87eeazq0vz.fsf@gnus.org> <831r6zdqfg.fsf@gnu.org> Date: Thu, 12 Aug 2021 14:54:51 +0200 In-Reply-To: <831r6zdqfg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Aug 2021 11:21:07 +0300") Message-ID: <878s16n7qc.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > I think, since these cases are very rare, it should be okay to assume > the -unix EOL type when this happens, and document that if this is the > case, the result could be an approximation even if th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36573 Cc: 36573@debbugs.gnu.org, rswarbrick@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > I think, since these cases are very rare, it should be okay to assume > the -unix EOL type when this happens, and document that if this is the > case, the result could be an approximation even if the exact result > was requested. It is a rare odd corner case, but I think erroring out is a better solution here than having to document this. :-) `exact' meaning "exact" is easier conceptually. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 09:08:34 2021 Received: (at 36573) by debbugs.gnu.org; 12 Aug 2021 13:08:34 +0000 Received: from localhost ([127.0.0.1]:37782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEARi-0000hj-F9 for submit@debbugs.gnu.org; Thu, 12 Aug 2021 09:08:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEARd-0000hP-JW for 36573@debbugs.gnu.org; Thu, 12 Aug 2021 09:08:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36558) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEARY-0007TY-D6; Thu, 12 Aug 2021 09:08:20 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2637 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEARX-0006Nw-VQ; Thu, 12 Aug 2021 09:08:20 -0400 Date: Thu, 12 Aug 2021 16:08:05 +0300 Message-Id: <83pmuidd56.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <878s16n7qc.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 12 Aug 2021 14:54:51 +0200) Subject: Re: bug#36573: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer References: <877e8q2mc7.fsf@halibut> <87o91zs2sm.fsf@halibut> <87eeazq0vz.fsf@gnus.org> <831r6zdqfg.fsf@gnu.org> <878s16n7qc.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36573 Cc: 36573@debbugs.gnu.org, rswarbrick@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: rswarbrick@gmail.com, 36573@debbugs.gnu.org > Date: Thu, 12 Aug 2021 14:54:51 +0200 > > Eli Zaretskii writes: > > > I think, since these cases are very rare, it should be okay to assume > > the -unix EOL type when this happens, and document that if this is the > > case, the result could be an approximation even if the exact result > > was requested. > > It is a rare odd corner case, but I think erroring out is a better > solution here than having to document this. :-) `exact' meaning > "exact" is easier conceptually. Fine with me, but I think we will still need to say in the doc string something like It is an error to request the `exact' method when the buffer's EOL format is not yet decided. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 13 07:07:14 2021 Received: (at 36573) by debbugs.gnu.org; 13 Aug 2021 11:07:14 +0000 Received: from localhost ([127.0.0.1]:40574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEV1u-0001dO-EF for submit@debbugs.gnu.org; Fri, 13 Aug 2021 07:07:14 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEV1s-0001d7-1q for 36573@debbugs.gnu.org; Fri, 13 Aug 2021 07:07:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=le/+wojTulYLwdZwudXct4TzeJ6bIJx0d9oAKPlR/HA=; b=jjHvFyO/T2sR1lHM1XdJEbgxdq ghElhY3vlxids4T+7Ssf2IXE62Kaq5CCOtGAgA60bBj3jOnlArSkffRFpAxB13hkNyWSu+ffCtdtn st+WeHILelGczQ7JVnbfkqyZTKpJhABkikK0arLf4/PcrwzzrgViEPXWQEhZK3/l+vac=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEV1h-0002jG-3s; Fri, 13 Aug 2021 13:07:05 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#36573: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer References: <877e8q2mc7.fsf@halibut> <87o91zs2sm.fsf@halibut> <87eeazq0vz.fsf@gnus.org> <831r6zdqfg.fsf@gnu.org> <878s16n7qc.fsf@gnus.org> <83pmuidd56.fsf@gnu.org> Date: Fri, 13 Aug 2021 13:07:00 +0200 In-Reply-To: <83pmuidd56.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Aug 2021 16:08:05 +0300") Message-ID: <878s15hacr.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Fine with me, but I think we will still need to say in the doc string > something like > > It is an error to request the `exact' method when the buffer's EOL > format is not yet decided. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36573 Cc: 36573@debbugs.gnu.org, rswarbrick@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Fine with me, but I think we will still need to say in the doc string > something like > > It is an error to request the `exact' method when the buffer's EOL > format is not yet decided. Done now, and I've added a bunch of tests for these functions. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 13 07:07:17 2021 Received: (at control) by debbugs.gnu.org; 13 Aug 2021 11:07:17 +0000 Received: from localhost ([127.0.0.1]:40577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEV1x-0001dd-LB for submit@debbugs.gnu.org; Fri, 13 Aug 2021 07:07:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEV1v-0001dE-QY for control@debbugs.gnu.org; Fri, 13 Aug 2021 07:07:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2KfwGkIZU/eEqqccnoA3zKO15NP8zCIq/IXGVk+RNZY=; b=JVi8p/GY2OoNk3o5yC4HJfD6n1 jplnwEkn0ACcyISnWVx50bVVcnTvI1eLi1RyGDspdC8eey4WpvXZrOk2C26BS6MroUSrfi+wOPkij GAYkdhwCHwVt/rwRkhrjEyKHwu06zgVfPUZ5AmpRe909jbs0RdhnqHyN+idiUUHe3PgA=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEV1o-0002jU-3A for control@debbugs.gnu.org; Fri, 13 Aug 2021 13:07:10 +0200 Date: Fri, 13 Aug 2021 13:07:07 +0200 Message-Id: <877dgphack.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36573 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 36573 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 36573 28.1 quit From unknown Wed Aug 20 05:43:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Sep 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator