From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#57969: 29.0.50; `device-class' errors when NAME is nil Date: Wed, 21 Sep 2022 17:45:16 +0530 Message-ID: <87fsgkdiuj.fsf@gmail.com> References: <87r105tblc.fsf@gmail.com> <87k05x6jas.fsf@gnus.org> <87y1udeyez.fsf@yahoo.com> <87sfkl5408.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="6029"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Po Lu , 57969@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 21 14:59:37 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 1oazKD-0001PU-8j for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 14:59:37 +0200 Original-Received: from localhost ([::1]:42040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oazKA-0000G1-Ei for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 08:59:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaye5-0006f4-UI for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 08:16:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaye1-0007de-Rp for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 08:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaye1-0005nS-LD for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 08:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Sep 2022 12:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57969 X-GNU-PR-Package: emacs Original-Received: via spool by 57969-submit@debbugs.gnu.org id=B57969.166376252722241 (code B ref 57969); Wed, 21 Sep 2022 12:16:01 +0000 Original-Received: (at 57969) by debbugs.gnu.org; 21 Sep 2022 12:15:27 +0000 Original-Received: from localhost ([127.0.0.1]:32812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaydT-0005mf-4M for submit@debbugs.gnu.org; Wed, 21 Sep 2022 08:15:27 -0400 Original-Received: from mail-pg1-f196.google.com ([209.85.215.196]:37751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaydQ-0005mR-W3 for 57969@debbugs.gnu.org; Wed, 21 Sep 2022 08:15:25 -0400 Original-Received: by mail-pg1-f196.google.com with SMTP id bh13so5765699pgb.4 for <57969@debbugs.gnu.org>; Wed, 21 Sep 2022 05:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=ZaR2FS8k4xA9XQRi1woD2wJmlvKGiZq7mAAy4w8Dm40=; b=E7Qtvzn51WwcH1sMC9+fSY/iQhfDyql4hiqP0HqChtChcab/X2yZ7VdLpD/6+XZ+8C wC8bRx0XC++Yalu5Gx2XBdLHHUgHZwDf2rd0jIGk7cLIolsaANKRhI4X5mbdSrgHKYlX cQbzUjqQ1WM9zjrpW9+pKrRYDb2FNmvPhqeFLUpb7K3VUw3EWvgSbIAOCazSumv2SFke 2yY7dblvO8O5vccZXtUzoNcAL+6LaJSrK43DkuoUgD5sY2jVJK7HV2uW9JWIua52MkVf GJwg6WFq3oN1Qnye3TbVnv6FBuwgGr5/HfLhVLCXw8kbQfMOtkhtYneoxmUArMdG7chf rH8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=ZaR2FS8k4xA9XQRi1woD2wJmlvKGiZq7mAAy4w8Dm40=; b=dqNdUEnWd7ah2VPoIVT8HCE+p3P2/8cqRAI/IPQt80w1LFQIvIRZYbQwmaRdTKpHms y0u6JKz7Ay2JalIJ2aYONJxLY9v0wKKxuXbl72Or8oo7c7MI294auCp2xNnkJUbFvMFz wVeN3q2F/IpUbmbtcePKRCqb6nlRYmRgqhI1IdfjTQdYkGX8ocxhbgpZcG3Fvpd1BeHu o9kstkKsr+snq2k9qmJwILv5QUq5bL89F1ivSZTjOFgfu5UpzqlLl/bHnGyWTSyGbOKL JPGqr6ILc4BD41NpxwXvB6EMOQJytHv3Tqn87gV5sqlM6RlyjpXtnLhr7YhtxY74Cbiv 9MSA== X-Gm-Message-State: ACrzQf0Wtf9MOz47cji6ltpiR4WmaqEvLaKZN8COmQEHKmS66W3xg/1w eRdxQVK0PJqQ4n7//LnYsMA= X-Google-Smtp-Source: AMsMyM4A1EltX5yChI5DZv3ZvGbrO0073Ake257v1kzZsLpQEDKv9AAiJ4xh+PF6aisNKQSJK8JGMw== X-Received: by 2002:a05:6a00:238c:b0:544:c42d:8a67 with SMTP id f12-20020a056a00238c00b00544c42d8a67mr28324676pfc.21.1663762519048; Wed, 21 Sep 2022 05:15:19 -0700 (PDT) Original-Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id d4-20020a170902654400b001781a7c28bcsm1858568pln.237.2022.09.21.05.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 05:15:18 -0700 (PDT) In-Reply-To: <87sfkl5408.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 21 Sep 2022 14:03:03 +0200") 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:243332 Archived-At: [=E0=AE=AA=E0=AF=81=E0=AE=A4=E0=AE=A9=E0=AF=8D =E0=AE=9A=E0=AF=86=E0=AE=AA= =E0=AF=8D=E0=AE=9F=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 21, 2022] L= ars Ingebrigtsen wrote: > Po Lu writes: > >> It does say later on that if the type could not be determined, the >> return value is nil. So that is what I made it return. > > So a nil NAME should lead to `device-class' returning nil? Po Lu pushed a fixed. See https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D3ed9a1b0be02452370= 3397b91c1b2ba66d848596 BTW, the real life scenario where this came up was me trying to scroll in a pdf-view buffer (from pdf-tools) using the scroll-wheel with pixel-scroll-precision-mode turned on. I thought I would mention it in case you were wondering.