Re: [PATCH] emacs: Correctly count the number of lines in a signature.

2010-11-11 Thread Carl Worth
On Tue,  9 Nov 2010 18:15:31 +, David Edmondson  wrote:
> -  (sig-lines (1- (count-lines sig-start (point-max)
> +  (sig-lines (count-lines sig-start (point-max

Thanks. This is pushed.

-Carl

-- 
carl.d.wo...@intel.com


pgpe5fg7O8plu.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH] emacs: Correctly count the number of lines in a signature.

2010-11-11 Thread Carl Worth
On Tue,  9 Nov 2010 18:15:31 +, David Edmondson  wrote:
> -  (sig-lines (1- (count-lines sig-start (point-max)
> +  (sig-lines (count-lines sig-start (point-max

Thanks. This is pushed.

-Carl

-- 
carl.d.worth at intel.com
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 



[PATCH] emacs: Correctly count the number of lines in a signature.

2010-11-09 Thread David Edmondson
---
 emacs/notmuch-wash.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el
index 26a3f88..cfcfb21 100644
--- a/emacs/notmuch-wash.el
+++ b/emacs/notmuch-wash.el
@@ -145,7 +145,7 @@ is what to put on the button."
   (re-search-forward notmuch-wash-signature-regexp nil t))
   (let* ((sig-start (match-beginning 0))
 (sig-end (match-end 0))
-(sig-lines (1- (count-lines sig-start (point-max)
+(sig-lines (count-lines sig-start (point-max
(if (<= sig-lines notmuch-wash-signature-lines-max)
(let ((sig-start-marker (make-marker))
  (sig-end-marker (make-marker)))
-- 
1.7.2.3



[PATCH] emacs: Correctly count the number of lines in a signature.

2010-11-09 Thread David Edmondson
---
 emacs/notmuch-wash.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el
index 26a3f88..cfcfb21 100644
--- a/emacs/notmuch-wash.el
+++ b/emacs/notmuch-wash.el
@@ -145,7 +145,7 @@ is what to put on the button."
   (re-search-forward notmuch-wash-signature-regexp nil t))
   (let* ((sig-start (match-beginning 0))
 (sig-end (match-end 0))
-(sig-lines (1- (count-lines sig-start (point-max)
+(sig-lines (count-lines sig-start (point-max
(if (<= sig-lines notmuch-wash-signature-lines-max)
(let ((sig-start-marker (make-marker))
  (sig-end-marker (make-marker)))
-- 
1.7.2.3

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