[PATCH] test: use dtach(1) instead of screen(1) in emacs tests

2011-11-11 Thread Tomi Ollila
dtach is simpler than screen and is not setuid/setgid program so TMPDIR does not get cleared by dynamic loader when executed --- The 2 Fixes based Dmitry's comments + Jameson's one too. test/test-lib.sh | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git

[PATCH 1/2] debian: clean up Uploaders and Build-Depends fields in debian/control

2011-11-11 Thread David Bremner
On Thu, 10 Nov 2011 16:17:56 -0800, Jameson Graef Rollins wrote: > No functional change, but this will make for cleaner diffs down the > line. Pushed d

[PATCH 2/2] debian: update build dependency on dtach instead of screen

2011-11-11 Thread David Bremner
On Thu, 10 Nov 2011 16:17:57 -0800, Jameson Graef Rollins wrote: > This reflects a modification to the test suite to use dtach instead of > screen. pushed d

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests

2011-11-11 Thread David Bremner
On Fri, 11 Nov 2011 23:33:58 +0200, Tomi Ollila wrote: > dtach is simpler than screen and is not setuid/setgid program so > TMPDIR does not get cleared by dynamic loader when executed Pushed.

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests

2011-11-11 Thread Tomi Ollila
On Sat, 12 Nov 2011 01:06:40 +0400, Dmitry Kurochkin wrote: > On Fri, 11 Nov 2011 22:48:13 +0200, Tomi Ollila wrote: > > dtach is simpler than screen and is not setuid/setgid program so > > TMPDIR does not get cleared by dynamic loader when executed. > > --- > > > > Updated version after

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests

2011-11-11 Thread Tomi Ollila
dtach is simpler than screen and is not setuid/setgid program so TMPDIR does not get cleared by dynamic loader when executed. --- Updated version after discussion with DmitryKurochkin and amdragon on IRC. Thank you. test/test-lib.sh | 25 + 1 files changed, 13

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests

2011-11-11 Thread Tomi Ollila
dtach is simpler than screen and is not setuid/setgid program so TMPDIR does not get cleared by dynamic loader when executed. --- Updated version after discussion with DmitryKurochkin and amdragon on IRC. Thank you. test/test-lib.sh | 25 + 1 files changed, 13

[PATCH] test: attempt to send QUIT to smtp-dummy in case mail send failed

2011-11-11 Thread Austin Clements
Good idea, but this introduces a dependency on netcat. Would it work to simply kill the SMTP dummy? Quoth Tomi Ollila on Nov 11 at 1:38 am: > If mail sending from emacs fails before it has chance to connect > to the smtp-dummy mail server, the opportunistic QUIT message > sending makes

[PATCH] smtp-dummy: clear sockaddr_in structures before use.

2011-11-11 Thread Austin Clements
Looks good and is the right thing to do. The rest of smtp-dummy uses parens around sizeof operands, but whatever. It's probably not necessary to clear peer_addr, since it's an out-argument of accept and is never used (plus the example in bind(2) doesn't), but there's no harm. Quoth Tomi Ollila

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-11 Thread Dmitry Kurochkin
On Fri, 11 Nov 2011 13:29:48 +0200, Tomi Ollila wrote: > On Fri, 11 Nov 2011 12:41:11 +0400, Dmitry Kurochkin gmail.com> wrote: > > Hi Tomi. > > > > On Thu, 10 Nov 2011 14:22:17 -0800, Jameson Graef Rollins > finestructure.net> wrote: > > > From: Tomi Ollila > > > > > > dtach is lighter than

[PATCH v3] contrib/nmbug: new script for sharing tags with a given prefix.

2011-11-11 Thread David Bremner
On Fri, 11 Nov 2011 15:26:28 -0800, Jameson Graef Rollins wrote: > On Fri, 11 Nov 2011 10:08:15 -0500, David Bremner > wrote: > > The most important commands are > > > > commit xapian -> git > > checkoutgit -> xapian > > merge fetched git + git -> xapian > > status

[PATCH v3] contrib/nmbug: new script for sharing tags with a given prefix.

2011-11-11 Thread Jameson Graef Rollins
it commands"? It seems to me that the fact that nmbug is using git underneath should be almost completely abstracted away from the user. jamie. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: no

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-11 Thread Jameson Graef Rollins
not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/2011/158a576e/attachment.pgp>

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-11 Thread Tomi Ollila
On Fri, 11 Nov 2011 12:41:11 +0400, Dmitry Kurochkin wrote: > Hi Tomi. > > On Thu, 10 Nov 2011 14:22:17 -0800, Jameson Graef Rollins finestructure.net> wrote: > > From: Tomi Ollila > > > > dtach is lighter than screen and is not setuid/setgid program so > > TMPDIR does not get reset by

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-11 Thread Dmitry Kurochkin
Hi Tomi. On Thu, 10 Nov 2011 14:22:17 -0800, Jameson Graef Rollins wrote: > From: Tomi Ollila > > dtach is lighter than screen and is not setuid/setgid program so > TMPDIR does not get reset by dynamic loader when executed. > > Signed-off-by: Jameson Graef Rollins > --- > This tweaks the

[PATCH] emacs: notmuch-hello: respect notmuch-help's wishes

2011-11-11 Thread David Bremner
On Sat, 16 Apr 2011 15:12:43 +0200, Pieter Praet wrote: > Calling notmuch-help in notmuch-hello-mode results in error > "apply: Wrong type argument: listp, keymap" Hi Pieter; I'm a little confused here. I still get the same error after applying your patch. Is there a followup patch I missed?

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-11 Thread Tomi Ollila
On Fri, 11 Nov 2011 01:17:37 +0100, Pieter Praet wrote: > On Thu, 10 Nov 2011 14:22:17 -0800, Jameson Graef Rollins finestructure.net> wrote: > > From: Tomi Ollila > > > > dtach is lighter than screen and is not setuid/setgid program so > > TMPDIR does not get reset by dynamic loader when

[PATCH v3] contrib/nmbug: new script for sharing tags with a given prefix.

2011-11-11 Thread David Bremner
From: David Bremner The main idea is consider the notmuch database as analogous to the work-tree. A bare git repo is maintained in the users home directory, with a tree of the form tags/$message-id/$tag Like notmuch and git, we have a set of subcommnds, mainly modelled on

[PATCH] emacs: Use a single buffer invisibility spec to fix quadratic search cost.

2011-11-11 Thread Pieter Praet
On Thu, 10 Nov 2011 14:22:30 -0500, servilio wrote: > On 10 November 2011 08:33, Sebastian Spaeth wrote: > > On Tue, ?8 Nov 2011 21:55:28 -0500, Austin Clements > > wrote: > >> ?emacs/notmuch.el | ? 11 +++ > >> ?1 files changed, 3 insertions(+), 8 deletions(-) > > > > > > Tested and

[PATCH] Store "from" and "subject" headers in the database.

2011-11-11 Thread Pieter Praet
On Fri, 11 Nov 2011 02:33:38 +0100, Pieter Praet wrote: > On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements > wrote: > > This is a rebase and cleanup of Istvan Marko's patch from > > id:m3pqnj2j7a.fsf at zsu.kismala.com > > > > Fantastic performance improvement Austin! [...] ... and

[PATCH] Store "from" and "subject" headers in the database.

2011-11-11 Thread Pieter Praet
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > This is a rebase and cleanup of Istvan Marko's patch from > id:m3pqnj2j7a.fsf at zsu.kismala.com > Fantastic performance improvement Austin! This should be merged in ASAP. BTW, compacting the db from time to time also has a

[PATCH] exec emacs at the end of run_emacs script

2011-11-11 Thread Tomi Ollila
In the last line of run_emacs, exec the emacs process. With one fork less the process list is (also) neater. --- test/test-lib.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 57cb088..3ad325a 100755 --- a/test/test-lib.sh +++

[PATCH] test: attempt to send QUIT to smtp-dummy in case mail send failed

2011-11-11 Thread Tomi Ollila
If mail sending from emacs fails before it has chance to connect to the smtp-dummy mail server, the opportunistic QUIT message sending makes smtp-dummy to exit. --- test/test-lib.sh |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh

[PATCH] smtp-dummy: clear sockaddr_in structures before use.

2011-11-11 Thread Tomi Ollila
Any junk bytes in sockaddr_in structures before passing those to bind() or accept() functions may cause problems. --- test/smtp-dummy.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c index 9da8202..38d1d62 100644 ---

[PATCH] Do not query on notmuch-search exit

2011-11-11 Thread Pieter Praet
On Sat, 08 Oct 2011 20:46:44 -0700, Jameson Graef Rollins wrote: > On Sat, 27 Aug 2011 14:38:26 +0200, Michal Sojka > wrote: > > Emacs 23.2 queries by default about killing existing processes. This > > is annoying when one wants to interrupt long search with 'q' key. > > Disable this behavior

[PATCH] test: json show format of message with inline attachment with filename

2011-11-11 Thread Pieter Praet
On Fri, 1 Jul 2011 06:03:50 +0400, Dmitry Kurochkin wrote: > The patch adds a test to check that json show format includes > filenames for attachments with inline disposition. > --- > > Carl, I owe you this test case for my patch that added filenames > for inline attachments :) > > Regards, >

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-11 Thread Pieter Praet
On Thu, 10 Nov 2011 14:22:17 -0800, Jameson Graef Rollins wrote: > From: Tomi Ollila > > dtach is lighter than screen and is not setuid/setgid program so > TMPDIR does not get reset by dynamic loader when executed. > `dtach' may be lighter than `screen', but contrary to my expectations, it

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-11 Thread Tomi Ollila
dtach is lighter than screen and is not setuid/setgid program so TMPDIR does not get reset by dynamic loader when executed. --- test/test-lib.sh |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index c81c709..af723ad 100755 ---

Re: [PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-11 Thread Tomi Ollila
On Fri, 11 Nov 2011 12:41:11 +0400, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote: Hi Tomi. On Thu, 10 Nov 2011 14:22:17 -0800, Jameson Graef Rollins jroll...@finestructure.net wrote: From: Tomi Ollila tomi.oll...@iki.fi dtach is lighter than screen and is not setuid/setgid

[PATCH v3] contrib/nmbug: new script for sharing tags with a given prefix.

2011-11-11 Thread David Bremner
From: David Bremner brem...@debian.org The main idea is consider the notmuch database as analogous to the work-tree. A bare git repo is maintained in the users home directory, with a tree of the form tags/$message-id/$tag Like notmuch and git, we have a set of subcommnds, mainly modelled on git.

Re: [PATCH] test: use dtach(1) instead of screen(1) in emacs tests.

2011-11-11 Thread Dmitry Kurochkin
On Fri, 11 Nov 2011 13:29:48 +0200, Tomi Ollila tomi.oll...@iki.fi wrote: On Fri, 11 Nov 2011 12:41:11 +0400, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote: Hi Tomi. On Thu, 10 Nov 2011 14:22:17 -0800, Jameson Graef Rollins jroll...@finestructure.net wrote: From: Tomi Ollila

Re: [PATCH] emacs: notmuch-hello: respect notmuch-help's wishes

2011-11-11 Thread David Bremner
On Sat, 16 Apr 2011 15:12:43 +0200, Pieter Praet pie...@praet.org wrote: Calling notmuch-help in notmuch-hello-mode results in error apply: Wrong type argument: listp, keymap Hi Pieter; I'm a little confused here. I still get the same error after applying your patch. Is there a followup patch

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests

2011-11-11 Thread Tomi Ollila
dtach is simpler than screen and is not setuid/setgid program so TMPDIR does not get cleared by dynamic loader when executed. --- Updated version after discussion with DmitryKurochkin and amdragon on IRC. Thank you. test/test-lib.sh | 25 + 1 files changed, 13

[PATCH] test: use dtach(1) instead of screen(1) in emacs tests

2011-11-11 Thread Tomi Ollila
dtach is simpler than screen and is not setuid/setgid program so TMPDIR does not get cleared by dynamic loader when executed. --- Updated version after discussion with DmitryKurochkin and amdragon on IRC. Thank you. test/test-lib.sh | 25 + 1 files changed, 13

Re: [PATCH v3] contrib/nmbug: new script for sharing tags with a given prefix.

2011-11-11 Thread David Bremner
On Fri, 11 Nov 2011 15:26:28 -0800, Jameson Graef Rollins jroll...@finestructure.net wrote: On Fri, 11 Nov 2011 10:08:15 -0500, David Bremner da...@tethera.net wrote: The most important commands are commit xapian - git checkoutgit - xapian merge fetched git +

Re: [PATCH v3] contrib/nmbug: new script for sharing tags with a given prefix.

2011-11-11 Thread Jameson Graef Rollins
On Fri, 11 Nov 2011 18:55:15 -0500, David Bremner da...@tethera.net wrote: I think the commit message and the online help are aimed a different audience, so it is not crucial (or even desirable) that they be exactly the same. Perhaps it would be more clear to say that these are the

Re: [PATCH] test: attempt to send QUIT to smtp-dummy in case mail send failed

2011-11-11 Thread Austin Clements
Good idea, but this introduces a dependency on netcat. Would it work to simply kill the SMTP dummy? Quoth Tomi Ollila on Nov 11 at 1:38 am: If mail sending from emacs fails before it has chance to connect to the smtp-dummy mail server, the opportunistic QUIT message sending makes smtp-dummy

Re: [PATCH 2/2] debian: update build dependency on dtach instead of screen

2011-11-11 Thread David Bremner
On Thu, 10 Nov 2011 16:17:57 -0800, Jameson Graef Rollins jroll...@finestructure.net wrote: This reflects a modification to the test suite to use dtach instead of screen. pushed d ___ notmuch mailing list notmuch@notmuchmail.org

Re: [PATCH 1/2] debian: clean up Uploaders and Build-Depends fields in debian/control

2011-11-11 Thread David Bremner
On Thu, 10 Nov 2011 16:17:56 -0800, Jameson Graef Rollins jroll...@finestructure.net wrote: No functional change, but this will make for cleaner diffs down the line. Pushed d ___ notmuch mailing list notmuch@notmuchmail.org

Re: [PATCH v3] contrib/nmbug: new script for sharing tags with a given prefix.

2011-11-11 Thread David Bremner
On Fri, 11 Nov 2011 18:43:38 -0800, Jameson Graef Rollins jroll...@finestructure.net wrote: On Fri, 11 Nov 2011 18:55:15 -0500, David Bremner da...@tethera.net wrote: At this point I actually think they're probably exactly the same audience, aren't they? Isn't nmbug primarily aimed at

Configure mail responses headers to use Gcc anddddd not Fcc header in Emacs

2011-11-11 Thread Olivier Berger
Hi. I'm using notmuch together with a local dovecot imap server, and with Gnus in Emacs. When sending mails from notmuch, I'd like to be able to have a nnimap+localdovecot:Sentmail added for instance, instead of a Fcc header. Is this possible ? I can see one way which would be to hack a brutal