unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: 24998@debbugs.gnu.org
Subject: bug#24998: Commit 'b5b997b95...' (Checkdoc: Don't require a space before an arg list) breaks defvar
Date: Thu, 29 Dec 2016 12:28:07 +0800	[thread overview]
Message-ID: <20161229042806.GG1039@smoon.vl-lomov.ru> (raw)
In-Reply-To: <wvr44m2y4ib6.fsf@a.muc.corp.google.com>

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

Hello,

I found that the commit 'b5b997b95' breaks a valid defvar, see
attached example file 'b.el'. If I run 'M-x checkdoc' in Emacs after
that commit (I tried in Emacs compiled from commit 112460da70) it shows
me error message (copy-pasted from *Message* buffer):

  forward-sexp: Scan error: "Containing expression ends prematurely", 60, 61

while before that commit (I tested in Emacs compiled from commit
e5ef59b87d) it works like a charm.

---
WBR, Vladimir Lomov

-- 
"An anthropologist at Tulane has just come back from a field trip to New 
Guinea with reports of a tribe so primitive that they have Tide but not 
new Tide with lemon-fresh Borax."
-- David Letterman

[-- Attachment #2: b.el --]
[-- Type: text/plain, Size: 81 bytes --]

;;; b.el --- bbb

;;; Commentary:

;;; Code:

(defvar b-b-b)

;;; b.el ends here

  parent reply	other threads:[~2016-12-29  4:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23 10:11 bug#24998: 25.1.50; Checkdoc ignores functions if there is no space before the argument list Philipp Stephani
2016-11-23 19:35 ` Philipp Stephani
2016-12-02  9:02   ` Eli Zaretskii
2016-12-26 20:17     ` Philipp Stephani
2016-12-29  4:28 ` Vladimir Lomov [this message]
2016-12-29  6:42   ` bug#24998: Commit 'b5b997b95...' (Checkdoc: Don't require a space before an arg list) breaks defvar Vladimir Lomov
2016-12-30 17:04   ` Philipp Stephani
2016-12-31  0:43     ` Vladimir Lomov
2016-12-31 16:35       ` Philipp Stephani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161229042806.GG1039@smoon.vl-lomov.ru \
    --to=lomov.vl@gmail.com \
    --cc=24998@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).