From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50731: `progress-reporter-update' docstring and `backward-sexp' interaction Date: Wed, 22 Sep 2021 10:37:24 +0300 Message-ID: <83k0j9vz63.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29671"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50731@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 22 09:38:10 2021 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 1mSwpW-0007Xs-4c for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Sep 2021 09:38:10 +0200 Original-Received: from localhost ([::1]:45022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSwpV-0002O1-1a for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Sep 2021 03:38:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSwpO-0002Ns-Jw for bug-gnu-emacs@gnu.org; Wed, 22 Sep 2021 03:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37199) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSwpO-0004mz-CP for bug-gnu-emacs@gnu.org; Wed, 22 Sep 2021 03:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSwpO-0002Qa-A9 for bug-gnu-emacs@gnu.org; Wed, 22 Sep 2021 03:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Sep 2021 07:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50731 X-GNU-PR-Package: emacs Original-Received: via spool by 50731-submit@debbugs.gnu.org id=B50731.16322962549274 (code B ref 50731); Wed, 22 Sep 2021 07:38:02 +0000 Original-Received: (at 50731) by debbugs.gnu.org; 22 Sep 2021 07:37:34 +0000 Original-Received: from localhost ([127.0.0.1]:48745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSwow-0002PW-1i for submit@debbugs.gnu.org; Wed, 22 Sep 2021 03:37:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSwot-0002PG-Vp for 50731@debbugs.gnu.org; Wed, 22 Sep 2021 03:37:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55156) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSwoo-0004JN-G3; Wed, 22 Sep 2021 03:37:26 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1153 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 1mSwoo-0002uT-02; Wed, 22 Sep 2021 03:37:26 -0400 In-Reply-To: (message from Stefan Kangas on Tue, 21 Sep 2021 23:52:58 -0700) 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:215070 Archived-At: > From: Stefan Kangas > Date: Tue, 21 Sep 2021 23:52:58 -0700 > > If REPORTER is a numerical progress reporter---i.e. if it was > made using non-nil MIN-VALUE and MAX-VALUE arguments to > `make-progress-reporter'---then VALUE should be a number between > MIN-VALUE and MAX-VALUE. > > If I place point on the space after "i.e." on the first row, and type > C-M-b (backward-sexp), point ends up before "reporter". (This happens > in `emacs-lisp-mode', but not in `message-mode'; `message-mode' seems to > have no concept of an abbreviation and lands on the "e".) > > This in turn leads to checkdoc flagging this as a mistake, and asks you > to put two spaces after dot. Why does it do that? because it doesn't recognize "i.e." as something that doesn't end a sentence? And if so, how does the "---" thing come into play here? > A) We should support the above convention of using three dashes in > `backward-sexp'. (This is the rough ASCII equivalent of an em dash.) > > B) We should just not use the above convention in > `progress-reporter-update'. None of the above? I guess I don't yet understand the root cause for the problem.