From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Useful Or spurious: New byte-compiler warnings Date: Tue, 31 May 2022 09:30:53 -0700 Message-ID: <25238.17085.616496.278563@google.com> References: <25238.13907.389397.270232@google.com> <87sfop7lfm.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32178"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, emacs-devel@gnu.org To: larsi@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 31 18:46:03 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nw50M-0008B9-TA for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 18:46:02 +0200 Original-Received: from localhost ([::1]:38236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw50L-000446-7C for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 12:46:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw4lp-0003pZ-Ef for emacs-devel@gnu.org; Tue, 31 May 2022 12:31:01 -0400 Original-Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:44693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nw4ln-0005tJ-Ma for emacs-devel@gnu.org; Tue, 31 May 2022 12:31:01 -0400 Original-Received: by mail-pl1-x636.google.com with SMTP id h1so4089264plf.11 for ; Tue, 31 May 2022 09:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=YCZsDK9Ed61IODAhalFJjMK677eq9NAS5H3uhVfhxho=; b=kH2COaqmZdrSgxLTh3BN1/PK/4WUl3/p1UcaSRow6/Zitf01pKoQjzOkRlo1zOI4Eu j2LZ5hQHGnA77+RI59JXvKkmZ7LufjMwZBQZXK3Zp/K9JIBYKGNkUqMqPZkjLPeYE38o 7gQJADJX3bhHSxmjMCNRaNQlN0OOAjnpibkMHx+d8gR9X5u9GEe5HinRzepAOiGjc6EM CT3eXKXzuZnEnwKFvsWfDduy5X7EZtsx3+mAGqY7inooYfU/9YIj6vd2IxHlpnH9rE7Q hhj17SNHXI+dnuLSj1kna4dc+/qAbezb9i0YgkcJVksafaqNxi1gr+34BFUNS9tVXd8q K+nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=YCZsDK9Ed61IODAhalFJjMK677eq9NAS5H3uhVfhxho=; b=jVtIyYeYmzpzstMckiyDO+iUPZiHLEZISF/8td2TYqZY5D39ELEMeJMS9miJjU1qlW hnla9EublxqPz0zS5k9mzGFOr/I17IZmt6kiRdyJ/hDMdmwv44omiWL+1daVpkkeUCuE CKcsqIIwzYUJSo2FiJBh4xG7HZt56fMypK7FGtmCkz4I752shw5byq8H2TGMiRdLJdZ/ 8oMLZrSakIX2kBl7AfUceOGwUcv5brrorvEf3eaN7TsmPxbOK6c24+iOkRfciXeFK8cj eRyonZb8tJrFXp8PI5EXpewkm7bgO9xw1bJxnwFNNTeRC9zVm0w9WCB9SPECvc9cm9Lm +uyQ== X-Gm-Message-State: AOAM530/zYu7NhHm41V0jZZinBbMQ5uFOwF6ALm3OMFgiE+2dLw7Q25h C2eFw8s3Oul5NZq+r4v5BvDinIWXBWjZS+0i X-Google-Smtp-Source: ABdhPJy1tk4nd/lw8bVeFTJJpwVz2uJ7fLFSWoMfYtbjMJkOPq6Ies2x5Jm9mdx/EActuUoCECcjTw== X-Received: by 2002:a17:902:dac6:b0:161:f394:3e7a with SMTP id q6-20020a170902dac600b00161f3943e7amr55381787plx.19.1654014657488; Tue, 31 May 2022 09:30:57 -0700 (PDT) Original-Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id u20-20020a627914000000b0051b90ac6c15sm1705982pfc.125.2022.05.31.09.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 May 2022 09:30:55 -0700 (PDT) In-Reply-To: <87sfop7lfm.fsf@gnus.org> X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=raman@google.com; helo=mail-pl1-x636.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290421 Archived-At: thanks for the clarification -- sounds useful, but perhaps it could avoid warning about strings like: " ... 's' means set. 'e' means erase. ..." though am not sure how hard checking for corner cases will get. I did fix all my code relatively quickly so am past it for now=20 Lars Ingebrigtsen writes: > "T.V Raman" writes: >=20 > > I recently started getting warnings of the form: > > > > emacspeak-speak.el:2267:2: Warning: docstring has wrong usage of > > unescaped single quotes (use \=3D or different quoting) > > > > Is this truly useful -- or is it spurious and therefore an annoyan= ce > > -- I just can tell. >=20 > It's to warn about things like >=20 > (setq foo '(1 2 3)) >=20 > in doc strings which turns into invalid code when displayed in *Help= *. >=20 > --=20 > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮