[PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-30 Thread David Bremner
Tomi Ollila  writes:

> Some (declare-function ...) definitions were drifted away from the
> actual (defun ...)'s. To find the drifts and to verify changes
> the following command line was used:
>
> $ emacs --batch -L emacs --eval '(check-declare-directory "emacs")'

pushed,

d


Re: [PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-30 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes:

 Some (declare-function ...) definitions were drifted away from the
 actual (defun ...)'s. To find the drifts and to verify changes
 the following command line was used:

 $ emacs --batch -L emacs --eval '(check-declare-directory emacs)'

pushed,

d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-27 Thread Tomi Ollila
On Sat, Apr 13 2013, David Bremner  wrote:

> Mark Walters  writes:
>
>> On Wed, 10 Apr 2013, Tomi Ollila  wrote:
>>> Some (declare-function ...) definitions were drifted away from the
>>> actual (defun ...)'s. To find the drifts and to verify changes
>>> the following command line was used:
>>>
>>> $ emacs --batch -L emacs --eval '(check-declare-directory "emacs")'
>>
>> This patch looks good to me +1.
>>
>> Is it worth making the above command into a test?

I attempted to do a test -- failed miserably with test_emacs ()

> Maybe a release check?

You want to delegate the work developers should do to yourself
(if not fixing the things, moan about those ;)

For the time being I drop needs-review tag.

> d

Tomi


Re: [PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-27 Thread Tomi Ollila
On Sat, Apr 13 2013, David Bremner da...@tethera.net wrote:

 Mark Walters markwalters1...@gmail.com writes:

 On Wed, 10 Apr 2013, Tomi Ollila tomi.oll...@iki.fi wrote:
 Some (declare-function ...) definitions were drifted away from the
 actual (defun ...)'s. To find the drifts and to verify changes
 the following command line was used:

 $ emacs --batch -L emacs --eval '(check-declare-directory emacs)'

 This patch looks good to me +1.

 Is it worth making the above command into a test?

I attempted to do a test -- failed miserably with test_emacs ()

 Maybe a release check?

You want to delegate the work developers should do to yourself
(if not fixing the things, moan about those ;)

For the time being I drop needs-review tag.

 d

Tomi
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-13 Thread David Bremner
Mark Walters  writes:

> On Wed, 10 Apr 2013, Tomi Ollila  wrote:
>> Some (declare-function ...) definitions were drifted away from the
>> actual (defun ...)'s. To find the drifts and to verify changes
>> the following command line was used:
>>
>> $ emacs --batch -L emacs --eval '(check-declare-directory "emacs")'
>
> This patch looks good to me +1.
>
> Is it worth making the above command into a test?

Maybe a release check?

d


[PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-13 Thread Mark Walters

On Wed, 10 Apr 2013, Tomi Ollila  wrote:
> Some (declare-function ...) definitions were drifted away from the
> actual (defun ...)'s. To find the drifts and to verify changes
> the following command line was used:
>
> $ emacs --batch -L emacs --eval '(check-declare-directory "emacs")'

This patch looks good to me +1.

Is it worth making the above command into a test?

Best wishes

Mark


>  emacs/notmuch-hello.el | 2 +-
>  emacs/notmuch-show.el  | 1 -
>  emacs/notmuch-wash.el  | 2 +-
>  3 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
> index cda79f1..c1c6f4b 100644
> --- a/emacs/notmuch-hello.el
> +++ b/emacs/notmuch-hello.el
> @@ -26,7 +26,7 @@
>  (require 'notmuch-lib)
>  (require 'notmuch-mua)
>  
> -(declare-function notmuch-search "notmuch" (query  oldest-first 
> target-thread target-line continuation))
> +(declare-function notmuch-search "notmuch" ( query oldest-first 
> target-thread target-line continuation))
>  (declare-function notmuch-poll "notmuch" ())
>  
>  (defcustom notmuch-hello-recent-searches-max 10
> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
> index a4d2c12..face2a0 100644
> --- a/emacs/notmuch-show.el
> +++ b/emacs/notmuch-show.el
> @@ -38,7 +38,6 @@
>  (require 'notmuch-print)
>  
>  (declare-function notmuch-call-notmuch-process "notmuch" ( args))
> -(declare-function notmuch-fontify-headers "notmuch" nil)
>  (declare-function notmuch-search-next-thread "notmuch" nil)
>  (declare-function notmuch-search-show-thread "notmuch" nil)
>  
> diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el
> index 826b6f4..80c475c 100644
> --- a/emacs/notmuch-wash.el
> +++ b/emacs/notmuch-wash.el
> @@ -23,7 +23,7 @@
>  
>  (require 'coolj)
>  
> -(declare-function notmuch-show-insert-bodypart "notmuch-show" (msg part 
> depth))
> +(declare-function notmuch-show-insert-bodypart "notmuch-show" (msg part 
> depth  hide))
>  
>  ;;
>  
> -- 
> 1.8.0
>
> ___
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-13 Thread Mark Walters

On Wed, 10 Apr 2013, Tomi Ollila tomi.oll...@iki.fi wrote:
 Some (declare-function ...) definitions were drifted away from the
 actual (defun ...)'s. To find the drifts and to verify changes
 the following command line was used:

 $ emacs --batch -L emacs --eval '(check-declare-directory emacs)'

This patch looks good to me +1.

Is it worth making the above command into a test?

Best wishes

Mark


  emacs/notmuch-hello.el | 2 +-
  emacs/notmuch-show.el  | 1 -
  emacs/notmuch-wash.el  | 2 +-
  3 files changed, 2 insertions(+), 3 deletions(-)

 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
 index cda79f1..c1c6f4b 100644
 --- a/emacs/notmuch-hello.el
 +++ b/emacs/notmuch-hello.el
 @@ -26,7 +26,7 @@
  (require 'notmuch-lib)
  (require 'notmuch-mua)
  
 -(declare-function notmuch-search notmuch (query optional oldest-first 
 target-thread target-line continuation))
 +(declare-function notmuch-search notmuch (optional query oldest-first 
 target-thread target-line continuation))
  (declare-function notmuch-poll notmuch ())
  
  (defcustom notmuch-hello-recent-searches-max 10
 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
 index a4d2c12..face2a0 100644
 --- a/emacs/notmuch-show.el
 +++ b/emacs/notmuch-show.el
 @@ -38,7 +38,6 @@
  (require 'notmuch-print)
  
  (declare-function notmuch-call-notmuch-process notmuch (rest args))
 -(declare-function notmuch-fontify-headers notmuch nil)
  (declare-function notmuch-search-next-thread notmuch nil)
  (declare-function notmuch-search-show-thread notmuch nil)
  
 diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el
 index 826b6f4..80c475c 100644
 --- a/emacs/notmuch-wash.el
 +++ b/emacs/notmuch-wash.el
 @@ -23,7 +23,7 @@
  
  (require 'coolj)
  
 -(declare-function notmuch-show-insert-bodypart notmuch-show (msg part 
 depth))
 +(declare-function notmuch-show-insert-bodypart notmuch-show (msg part 
 depth optional hide))
  
  ;;
  
 -- 
 1.8.0

 ___
 notmuch mailing list
 notmuch@notmuchmail.org
 http://notmuchmail.org/mailman/listinfo/notmuch
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-13 Thread David Bremner
Mark Walters markwalters1...@gmail.com writes:

 On Wed, 10 Apr 2013, Tomi Ollila tomi.oll...@iki.fi wrote:
 Some (declare-function ...) definitions were drifted away from the
 actual (defun ...)'s. To find the drifts and to verify changes
 the following command line was used:

 $ emacs --batch -L emacs --eval '(check-declare-directory emacs)'

 This patch looks good to me +1.

 Is it worth making the above command into a test?

Maybe a release check?

d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-11 Thread Tomi Ollila
Some (declare-function ...) definitions were drifted away from the
actual (defun ...)'s. To find the drifts and to verify changes
the following command line was used:

$ emacs --batch -L emacs --eval '(check-declare-directory "emacs")'
---
 emacs/notmuch-hello.el | 2 +-
 emacs/notmuch-show.el  | 1 -
 emacs/notmuch-wash.el  | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index cda79f1..c1c6f4b 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -26,7 +26,7 @@
 (require 'notmuch-lib)
 (require 'notmuch-mua)

-(declare-function notmuch-search "notmuch" (query  oldest-first 
target-thread target-line continuation))
+(declare-function notmuch-search "notmuch" ( query oldest-first 
target-thread target-line continuation))
 (declare-function notmuch-poll "notmuch" ())

 (defcustom notmuch-hello-recent-searches-max 10
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index a4d2c12..face2a0 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -38,7 +38,6 @@
 (require 'notmuch-print)

 (declare-function notmuch-call-notmuch-process "notmuch" ( args))
-(declare-function notmuch-fontify-headers "notmuch" nil)
 (declare-function notmuch-search-next-thread "notmuch" nil)
 (declare-function notmuch-search-show-thread "notmuch" nil)

diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el
index 826b6f4..80c475c 100644
--- a/emacs/notmuch-wash.el
+++ b/emacs/notmuch-wash.el
@@ -23,7 +23,7 @@

 (require 'coolj)

-(declare-function notmuch-show-insert-bodypart "notmuch-show" (msg part depth))
+(declare-function notmuch-show-insert-bodypart "notmuch-show" (msg part depth 
 hide))

 ;;

-- 
1.8.0



[PATCH 1/1] emacs: fixed (declare-function ...) definitions

2013-04-10 Thread Tomi Ollila
Some (declare-function ...) definitions were drifted away from the
actual (defun ...)'s. To find the drifts and to verify changes
the following command line was used:

$ emacs --batch -L emacs --eval '(check-declare-directory emacs)'
---
 emacs/notmuch-hello.el | 2 +-
 emacs/notmuch-show.el  | 1 -
 emacs/notmuch-wash.el  | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index cda79f1..c1c6f4b 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -26,7 +26,7 @@
 (require 'notmuch-lib)
 (require 'notmuch-mua)
 
-(declare-function notmuch-search notmuch (query optional oldest-first 
target-thread target-line continuation))
+(declare-function notmuch-search notmuch (optional query oldest-first 
target-thread target-line continuation))
 (declare-function notmuch-poll notmuch ())
 
 (defcustom notmuch-hello-recent-searches-max 10
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index a4d2c12..face2a0 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -38,7 +38,6 @@
 (require 'notmuch-print)
 
 (declare-function notmuch-call-notmuch-process notmuch (rest args))
-(declare-function notmuch-fontify-headers notmuch nil)
 (declare-function notmuch-search-next-thread notmuch nil)
 (declare-function notmuch-search-show-thread notmuch nil)
 
diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el
index 826b6f4..80c475c 100644
--- a/emacs/notmuch-wash.el
+++ b/emacs/notmuch-wash.el
@@ -23,7 +23,7 @@
 
 (require 'coolj)
 
-(declare-function notmuch-show-insert-bodypart notmuch-show (msg part depth))
+(declare-function notmuch-show-insert-bodypart notmuch-show (msg part depth 
optional hide))
 
 ;;
 
-- 
1.8.0

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch