* Re: [Emacs-diffs] scratch/check-declare e7e278c 1/2: check-declare.el (check-declare-ext-errors): New defcustom.
[not found] ` <E1YMGud-0007H1-1V@vcs.savannah.gnu.org>
@ 2015-02-13 20:17 ` Stefan Monnier
2015-02-13 20:22 ` Oleh Krehel
0 siblings, 1 reply; 11+ messages in thread
From: Stefan Monnier @ 2015-02-13 20:17 UTC (permalink / raw)
To: emacs-devel; +Cc: Oleh Krehel
> +(defgroup check-declare nil
> + "Check declare-function statements"
> + :group 'tools)
I think you need a "." at the end of these docstrings. C-u M-x
checkdoc-current-buffer might flag those things (along with others with
which I don't always agree ;-)
> +(defcustom check-declare-ext-errors nil
> + "When non-nil, warn abount functions not found in :ext"
> + :group 'check-declare)
This :group is redundant. OTOH you need a ":type 'boolean".
> + (cl-letf ((warning-prefix-function
Why cl-letf?
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Emacs-diffs] scratch/check-declare e7e278c 1/2: check-declare.el (check-declare-ext-errors): New defcustom.
2015-02-13 20:17 ` [Emacs-diffs] scratch/check-declare e7e278c 1/2: check-declare.el (check-declare-ext-errors): New defcustom Stefan Monnier
@ 2015-02-13 20:22 ` Oleh Krehel
2015-02-13 21:41 ` Artur Malabarba
0 siblings, 1 reply; 11+ messages in thread
From: Oleh Krehel @ 2015-02-13 20:22 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> +(defgroup check-declare nil
>> + "Check declare-function statements"
>> + :group 'tools)
>
> I think you need a "." at the end of these docstrings. C-u M-x
> checkdoc-current-buffer might flag those things (along with others with
> which I don't always agree ;-)
>
>> +(defcustom check-declare-ext-errors nil
>> + "When non-nil, warn abount functions not found in :ext"
>> + :group 'check-declare)
>
> This :group is redundant. OTOH you need a ":type 'boolean".
OK, fixed.
>
>> + (cl-letf ((warning-prefix-function
>
> Why cl-letf?
Because it works. Would you suggest something else?
Oleh
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Emacs-diffs] scratch/check-declare e7e278c 1/2: check-declare.el (check-declare-ext-errors): New defcustom.
2015-02-13 20:22 ` Oleh Krehel
@ 2015-02-13 21:41 ` Artur Malabarba
2015-02-14 10:36 ` Oleh Krehel
0 siblings, 1 reply; 11+ messages in thread
From: Artur Malabarba @ 2015-02-13 21:41 UTC (permalink / raw)
To: Oleh Krehel; +Cc: Stefan Monnier, emacs-devel
>>> + (cl-letf ((warning-prefix-function
>>
>> Why cl-letf?
>
> Because it works. Would you suggest something else?
If I understand the code, `let' should also work there.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Emacs-diffs] scratch/check-declare e7e278c 1/2: check-declare.el (check-declare-ext-errors): New defcustom.
2015-02-13 21:41 ` Artur Malabarba
@ 2015-02-14 10:36 ` Oleh Krehel
2015-02-15 11:09 ` Oleh Krehel
0 siblings, 1 reply; 11+ messages in thread
From: Oleh Krehel @ 2015-02-14 10:36 UTC (permalink / raw)
To: Artur Malabarba; +Cc: Stefan Monnier, emacs-devel
Artur Malabarba <bruce.connor.am@gmail.com> writes:
>>>> + (cl-letf ((warning-prefix-function
>>>
>>> Why cl-letf?
>>
>> Because it works. Would you suggest something else?
>
> If I understand the code, `let' should also work there.
Of course, thanks. I confused it with something else.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Emacs-diffs] scratch/check-declare e7e278c 1/2: check-declare.el (check-declare-ext-errors): New defcustom.
2015-02-14 10:36 ` Oleh Krehel
@ 2015-02-15 11:09 ` Oleh Krehel
2015-02-18 9:03 ` Oleh Krehel
0 siblings, 1 reply; 11+ messages in thread
From: Oleh Krehel @ 2015-02-15 11:09 UTC (permalink / raw)
To: Artur Malabarba; +Cc: Stefan Monnier, emacs-devel
Hi,
Is it OK to merge now? I've dealt with the previous remarks.
Oleh
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Emacs-diffs] scratch/check-declare e7e278c 1/2: check-declare.el (check-declare-ext-errors): New defcustom.
2015-02-15 11:09 ` Oleh Krehel
@ 2015-02-18 9:03 ` Oleh Krehel
2015-02-24 16:20 ` Oleh Krehel
0 siblings, 1 reply; 11+ messages in thread
From: Oleh Krehel @ 2015-02-18 9:03 UTC (permalink / raw)
To: Artur Malabarba; +Cc: Stefan Monnier, emacs-devel
Oleh Krehel <ohwoeowho@gmail.com> writes:
> Is it OK to merge now? I've dealt with the previous remarks.
Same question, but now there's an extra commit ensuring that the order
of the errors isn't reversed and that `first-error' will indeed jump to
the first error.
Oleh
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Emacs-diffs] scratch/check-declare e7e278c 1/2: check-declare.el (check-declare-ext-errors): New defcustom.
2015-02-18 9:03 ` Oleh Krehel
@ 2015-02-24 16:20 ` Oleh Krehel
0 siblings, 0 replies; 11+ messages in thread
From: Oleh Krehel @ 2015-02-24 16:20 UTC (permalink / raw)
To: Artur Malabarba; +Cc: Stefan Monnier, emacs-devel
Oleh Krehel <ohwoeowho@gmail.com> writes:
> Oleh Krehel <ohwoeowho@gmail.com> writes:
>
>> Is it OK to merge now? I've dealt with the previous remarks.
>
> Same question, but now there's an extra commit ensuring that the order
> of the errors isn't reversed and that `first-error' will indeed jump to
> the first error.
If there are no objections, I'll just merge it in a while.
Oleh
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <E1YMGud-0007HA-HJ@vcs.savannah.gnu.org>]
end of thread, other threads:[~2015-02-24 16:20 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20150213140806.27897.63152@vcs.savannah.gnu.org>
[not found] ` <E1YMGud-0007H1-1V@vcs.savannah.gnu.org>
2015-02-13 20:17 ` [Emacs-diffs] scratch/check-declare e7e278c 1/2: check-declare.el (check-declare-ext-errors): New defcustom Stefan Monnier
2015-02-13 20:22 ` Oleh Krehel
2015-02-13 21:41 ` Artur Malabarba
2015-02-14 10:36 ` Oleh Krehel
2015-02-15 11:09 ` Oleh Krehel
2015-02-18 9:03 ` Oleh Krehel
2015-02-24 16:20 ` Oleh Krehel
[not found] ` <E1YMGud-0007HA-HJ@vcs.savannah.gnu.org>
2015-02-13 21:49 ` [Emacs-diffs] scratch/check-declare 1d5cdf1 2/2: check-declare.el: Use compilation-style warnings Artur Malabarba
2015-02-13 21:53 ` Artur Malabarba
2015-02-14 10:36 ` Oleh Krehel
2015-02-14 12:00 ` Artur Malabarba
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.