From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Kahn Gillmor Newsgroups: gmane.mail.notmuch.general,gmane.emacs.bugs Subject: Re: notmuch-emacs: avoiding deprecated message-default-charset Date: Sun, 21 Apr 2019 15:25:46 -0400 Message-ID: <87a7gjw479.fsf@fifthhorseman.net> References: <87tveswipo.fsf@fifthhorseman.net> <874l6re7zh.fsf@tethera.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6660933919215805009==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="237524"; mail-complaints-to="usenet@blaine.gmane.org" To: David Bremner , Notmuch Mail , bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: notmuch-bounces-gxuj+Tv9EO5zyzON3hdc1g@public.gmane.org Sun Apr 21 23:40:48 2019 Return-path: Envelope-to: gmn-notmuch@m.gmane.org Original-Received: from arlo.cworth.org ([50.126.95.6]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hIKCd-000zZe-2W for gmn-notmuch@m.gmane.org; Sun, 21 Apr 2019 23:40:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2BB576DE0EC7; Sun, 21 Apr 2019 14:40:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Original-Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8T3mzeD-vFuZ; Sun, 21 Apr 2019 14:40:39 -0700 (PDT) Original-Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 1B88D6DE0F2C; Sun, 21 Apr 2019 14:40:37 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 377596DE0274 for ; Sun, 21 Apr 2019 14:40:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Original-Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oE-LLMP8oMgL for ; Sun, 21 Apr 2019 14:40:34 -0700 (PDT) Original-Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id E36DF6DE0318 for ; Sun, 21 Apr 2019 14:40:33 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1555882831; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=AsUMTptZGOzVGrR21QtxNQQj3Pydkq+SDedQBJLwhrE=; b=PKNvGHp4Q8T6VzkNIyBPRIKVSvNuwAi/cFA0DcsJTfsEUuWEUFqerqag eAlWE+7XI/ka/SP4nvGOxTHso0hBAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1555882831; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=AsUMTptZGOzVGrR21QtxNQQj3Pydkq+SDedQBJLwhrE=; b=i42B3afRV7O7cd0yVb7iZ5njLR0FKfM7//dKw3EDT3fUhHZ5llkt59wX z/xFGppNIS+/N43TaHccBYQ0XwOMdwpdeRxlrSlpMCJab6dcIXKBYcXNB+ PEQ8o/uoGRMmBAahDDA2K59BYQ6xxGDMcjuF7kYHJOOCXX0+LzFjDz060H 7T1DJB8KltOsuMWgCgDFS36hKjflLYEGSNR3gGUJsSZivMw8oAazP4RW1w QFSl5hNg8gGsPlOBITb9S9tK5IIopIMaS5Jqwo+4KFmsxiszKhZrAqgG8l boaEMnI4RezRBNRHF2D336wegCWBuoyc2Y84/4/1+ZBTXaK0Vpc5hA== Original-Received: from fifthhorseman.net (ool-6c3a0662.static.optonline.net [108.58.6.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 271D8F99E; Sun, 21 Apr 2019 17:40:30 -0400 (EDT) Original-Received: by fifthhorseman.net (Postfix, from userid 1000) id C91A1200EC; Sun, 21 Apr 2019 15:25:46 -0400 (EDT) In-Reply-To: <874l6re7zh.fsf-1j+SLnlVNwXR7s880joybQ@public.gmane.org> Autocrypt: addr=dkg-QLrU/DhXBlmnlhUoGqYIEF6hYfS7NtTn@public.gmane.org; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQUJA8Jn AAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJcQsbzAhkB AAoJEPIGkReQOOXG4fkBAO1joRxqAZY57PjdzGieXLpluk9RkWa3ufkt3YUVEpH/AP9c+pgIxtyW +FwMQRjlqljuj8amdN4zuEqaCy4hhz/1DbgzBFxCv4sWCSsGAQQB2kcPAQEHQERSZxSPmgtdw6nN u7uxY7bzb9TnPrGAOp9kClBLRwGfiPUEGBYIACYWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUCXEK/ iwIbAgUJAeEzgACBCRDyBpEXkDjlxnYgBBkWCAAdFiEEyQ5tNiAKG5IqFQnndhgZZSmuX/gFAlxC v4sACgkQdhgZZSmuX/iVWgD/fCU4ONzgy8w8UCHGmrmIZfDvdhg512NIBfx+Mz9ls5kA/Rq97vz4 z48MFuBdCuu0W/fVqVjnY7LN5n+CQJwGC0MIA7QA/RyY7Sz2gFIOcrns0RpoHr+3WI+won3xCD8+ sVXSHZvCAP98HCjDnw/b0lGuCR7coTXKLIM44/LFWgXAdZjm1wjODbg4BFxCv50SCisGAQQBl1UB BQEBB0BG4iXnHX/fs35NWKMWQTQoRI7oiAUt0wJHFFJbomxX X-BeenThere: notmuch-gxuj+Tv9EO5zyzON3hdc1g@public.gmane.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: notmuch-bounces-gxuj+Tv9EO5zyzON3hdc1g@public.gmane.org Original-Sender: "notmuch" Xref: news.gmane.org gmane.mail.notmuch.general:27800 gmane.emacs.bugs:157968 Archived-At: --===============6660933919215805009== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun 2019-04-21 11:41:22 -0300, David Bremner wrote: > Daniel Kahn Gillmor writes: > >> When i'm building notmuch in a debian environment with emacs >> 1:26.1+1-3.2, i notice the following deprecation warnings: >> >> In notmuch-maildir-setup-message-for-saving: >> emacs/notmuch-maildir-fcc.el:172:31:Warning: =E2=80=98message-default-ch= arset=E2=80=99 is an >> obsolete variable (as of 26.1); The default charset comes from the >> language environment >> >> I'm not enough of an emacs guru to know the right way to avoid this >> warning, but i'm hoping that someonen else can take a stab at it, since >> extraneous warnings make it easier to ignore real problems. > > Good question. I looked at message.el in emacs master and it > > 1) Obsoletes message-default-charset as in 26.1 > 2) Still uses it in exactly the construction we do. interesting, thanks for digging that up. > I'm not sure if it's exactly a reportable bug in emacs, but it is a bit > annoying. seems reportable, if not exactly high-severity. what does upstream expect downstream users of message-default-charset to do? I'm (trying to) forward this to the emacs upstream bugtracker; maybe we can get guidance from them on what to do. > There is a variable byte-compile-not-obsolete-vars that (probably) can > be used to suppress that warning, but it's not clear that's a good > idea (we currently do something similar for Xapian obsolescence warnings > that we can't fix). I would generally try to avoid that kind of a bypass, because i tend to think that warnings are reasonable to look out for and try to fix before they become real problems. --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXLzDugAKCRB2GBllKa5f +CZdAQCw58ZIKNXezBmU+9GBu96YkS2Gc4vbnbB57N8J6iBmTQD/ebxsB6S/Hu8x SLO5jgOeCd6nCMGVub+RC4AFPs0MeAU= =VrsI -----END PGP SIGNATURE----- --=-=-=-- --===============6660933919215805009== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline