all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vladimir Lomov <v.p.lomov@yandex.ru>
To: 24998@debbugs.gnu.org
Cc: Philipp Stephani <p.stephani2@gmail.com>
Subject: bug#24998: Commit 'b5b997b95...' (Checkdoc: Don't require a space before an arg list) breaks defvar
Date: Sat, 31 Dec 2016 08:43:58 +0800	[thread overview]
Message-ID: <20161231004358.GK1039@smoon.vl-lomov.ru> (raw)
In-Reply-To: <CAArVCkSQHE6w2YaSt=AWKRoJsk-BX8LE5iFopwDx8g0AcfP+RA@mail.gmail.com>

** Philipp Stephani [2016-12-30 17:04:04 +0000]:

> Vladimir Lomov <lomov.vl@gmail.com> schrieb am Do., 29. Dez. 2016 um
> 05:29 Uhr:
> 
>> 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.
>>
>>
> Thanks for reporting. I've attached a patch that replaces the regex
> completely.

Thank you, your patch works fine on my example and other real el file.

---
WBR, Vladimir Lomov

-- 
God must have loved calories, she made so many of them.





  reply	other threads:[~2016-12-31  0:43 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 ` bug#24998: Commit 'b5b997b95...' (Checkdoc: Don't require a space before an arg list) breaks defvar Vladimir Lomov
2016-12-29  6:42   ` Vladimir Lomov
2016-12-30 17:04   ` Philipp Stephani
2016-12-31  0:43     ` Vladimir Lomov [this message]
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

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

  git send-email \
    --in-reply-to=20161231004358.GK1039@smoon.vl-lomov.ru \
    --to=v.p.lomov@yandex.ru \
    --cc=24998@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.