X-Loop: help-debbugs@HIDDEN Subject: bug#34950: 27.0.50; Silently and unexpectedly falling back to `no-conversion` Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 22 Mar 2019 19:42:01 +0000 Resent-Message-ID: <handler.34950.B.155328370618160 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 34950 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 34950 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.155328370618160 (code B ref -1); Fri, 22 Mar 2019 19:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2019 19:41:46 +0000 Received: from localhost ([127.0.0.1]:54697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1h7Q30-0004iq-3M for submit <at> debbugs.gnu.org; Fri, 22 Mar 2019 15:41:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1h7Q2w-0004ib-EC for submit <at> debbugs.gnu.org; Fri, 22 Mar 2019 15:41:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:47344) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1h7Q2o-0004Tl-D2 for submit <at> debbugs.gnu.org; Fri, 22 Mar 2019 15:41:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1h7Q2n-0000V5-8C for bug-gnu-emacs@HIDDEN; Fri, 22 Mar 2019 15:41:34 -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.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1h7Pvz-0002Le-6B for bug-gnu-emacs@HIDDEN; Fri, 22 Mar 2019 15:34:32 -0400 Received: from alt24.smtp-out.videotron.ca ([70.80.0.75]:25390) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <monnier@HIDDEN>) id 1h7Pvv-0002B4-0J for bug-gnu-emacs@HIDDEN; Fri, 22 Mar 2019 15:34:29 -0400 Received: from fmsmemgm.homelinux.net ([24.203.163.157]) by Videotron with SMTP id 7PhKhSpVfHTT37PhLhtOIU; Fri, 22 Mar 2019 15:19:23 -0400 X-Authority-Analysis: v=2.3 cv=ZegzyPdA c=1 sm=1 tr=0 a=271BjrAMcq2W4n6OKK/JJg==:117 a=271BjrAMcq2W4n6OKK/JJg==:17 a=NTGMnVQrEZIA:10 a=eUg5rSCazj0qEhIMMlIA:9 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 8908EAEC22; Fri, 22 Mar 2019 15:19:22 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> Date: Fri, 22 Mar 2019 15:19:22 -0400 Message-ID: <jwvsgveg1j9.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-CMAE-Envelope: MS4wfCH89FXt5Z+/5dyd301jFlDgvL8X4QozTh5G7uolxEnLwIZR0od1gtLMGoqBVbo9ANo8gzgS1Ll/cqmtumOGqW+9dm5+2zNSnoSOTxH7XiIDdd04jKP+ fvRLgyo3dBN4LeeP81rg0Xb9Eg2xRzz/4wbEFriYnN1DrJnDrJWNEDcRH3Kiy3xVxjjLuyKyyp5wZg== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 70.80.0.75 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Package: Emacs Version: 27.0.50 I've seen a few reports now where users are puzzled by \NNN thingies in their buffers (typically because Emacs ended up deciding that the file should be opened with `no-conversion` instead of utf-8) and have no idea where they come from or how to fix them. I think we should try and change the auto-detection of the coding-system, so as to keep track of the reason for the choice (where possible), and then offer a command that uses this info to explain what happened (e.g. "inhibit-nul-byte-detection set and found a NUL char at position <foo>"). For extra bonus points we could change some major modes (e.g. prog-mode and text-mode) to automatically warn the user when the buffer is in unibyte mode and suggest running that new command. Stefan
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Stefan Monnier <monnier@HIDDEN> Subject: bug#34950: Acknowledgement (27.0.50; Silently and unexpectedly falling back to `no-conversion`) Message-ID: <handler.34950.B.155328370618160.ack <at> debbugs.gnu.org> References: <jwvsgveg1j9.fsf@HIDDEN> X-Gnu-PR-Message: ack 34950 X-Gnu-PR-Package: emacs Reply-To: 34950 <at> debbugs.gnu.org Date: Fri, 22 Mar 2019 19:42:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 34950 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 34950: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34950 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 2 Apr 2019 01:15:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 01 21:15:45 2019 Received: from localhost ([127.0.0.1]:40173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hB81f-0000Fv-FL for submit <at> debbugs.gnu.org; Mon, 01 Apr 2019 21:15:45 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:47010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1hB81c-00007c-9B for control <at> debbugs.gnu.org; Mon, 01 Apr 2019 21:15:41 -0400 Received: by mail-qt1-f181.google.com with SMTP id z17so13066145qts.13 for <control <at> debbugs.gnu.org>; Mon, 01 Apr 2019 18:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=/3S+nsDrWVbZy24hkGP2pQhW4mH5NbUFvIbjO8QV0sw=; b=avUR7I3ACnSo7WILNtjJHSyPuidGDr3SWAwVHR1VJzuH0XvDtuYwUEJK5nc0BcEvtA wbsGosdVMQLft4z5OsXS4Dl3tl+4HmQuaELuc3iDaZTDnGNI99VKJo5yBjNFOAqj6E5N egwK4+c9XIU5Pxon6I3MxLdyupAZzUzE3wRPZweAC5ke34fgNAkCRJtoO50s4wgVw0j9 U4soNiu0POZp3WMk0R+5s6gM08siSb3dY+W8EvPl3jkDLJlL0c060+DBujhbAeBABi15 Jm/6/EzHh2NgqaOpBCEv3tNZaSklhYh22mZ/aCb5HsvYmEs5TsxedMkYD8vuYCqaFxJi z66A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=/3S+nsDrWVbZy24hkGP2pQhW4mH5NbUFvIbjO8QV0sw=; b=eUWEW1FsBtLbWtIroknFI+LandokzZKwz2F1cYa+B8UT4EC9LAf6ObXRA+GAldE7ar hIh27mWPdkJD1i4HMgPEYOYg/1q+ISkwFFMdx3KFHtn0DMONmVUfGSqeCaOZmwTsAOB4 4+KCJC2HiOmOI+wZfNfA1in/PXd2wSQYiC5zeXwEYh0AJda3s8nfIM45KJfgIO7RKnOw RGFyhZceRZbEcr2sFaAJDl81XZr6nQjun7XkDlFcSlQCuDVhQFn3ZIjtTApWwz3hfeve wzL7Mmy6Kc02V5rG7ZgAcRD0Iu7YlSZVSUbfNnEqWOq6aMHeXKFy5wv/BJCKyDgc4ej+ m1IQ== X-Gm-Message-State: APjAAAU3F66bRp8nI7cnoB7Y1QAmPXLx20eNf1nyM+gK7aM97tKvOeCH e7iYq0hafnOE8Boj++BBC5iw0f4T X-Google-Smtp-Source: APXvYqxErnCoQrK+NC/2X8p9dJJnu6vj3983Pt7VMoj51q23tIOVUT8zjPq3hMpsZ1pOLoHTFlstkw== X-Received: by 2002:a0c:874a:: with SMTP id 10mr17329157qvi.164.1554167734786; Mon, 01 Apr 2019 18:15:34 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id g5sm6209693qke.71.2019.04.01.18.15.33 for <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Apr 2019 18:15:34 -0700 (PDT) From: Noam Postavsky <npostavs@HIDDEN> To: control <at> debbugs.gnu.org Subject: control message for bug #34950 Date: Mon, 01 Apr 2019 21:15:33 -0400 Message-ID: <87d0m5gqbu.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) severity 34950 wishlist quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.