aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | emacs: invert relation between 'notmuch-send and 'message customization groupsPieter Praet2012-01-21
| | | | | | | | | | | | | | 'message contains options relevant to 'notmuch-send, not the other way around. Thanks to Austin for suggesting `custom-add-to-group'. id:"20120118184408.GD16740@mit.edu"
* | emacs: Improved printing support.David Edmondson2012-01-21
| | | | | | | | | | | | | | | | | | | | Add various functions to print notmuch messages and tie them together with a simple frontend. Add a binding ('#') in `notmuch-show-mode' to print the current message. one trailing space removed by db.
* | Document external dependencies in the test suiteEthan Glasser-Camp2012-01-21
| | | | | | | | | | | | | | | | Add an explicit note to the README explaining what programs are necessary and the perhaps-surprising behavior of skipping tests if they aren't present. Signed-off-by: Ethan Glasser-Camp <ethan@betacantrips.com>
* | emacs: Truncate lines and do not enable visual-line-mode in notmuch-show ↵David Edmondson2012-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | buffers. Enable the truncation of lines in `notmuch-show-mode' to avoid visual noise caused by the wrapping of the header lines. Don't enable `visual-line-mode' because it disables line truncation. The benefits of `visual-line-mode' were that it wrapped long lines in received messages. With `notmuch-wash-wrap-long-lines' now default behaviour, this is no longer required.
* | emacs: globally replace non-branching "(if (not ..." with "(unless ..."Pieter Praet2012-01-21
| | | | | | | | Less code, same results, without sacrificing readability.
* | config: Better formatting for search section commentAustin Clements2012-01-20
| | | | | | | | | | Since "auto_exclude_tags" is long and its description is multi-line, start the description on the next line and indent it consistently.
* | News for tag exclusionAustin Clements2012-01-19
| |
* | emacs: logically group def{custom,face}sPieter Praet2012-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow for expansion whilst keeping everything tidy and organized, move all defcustom/defface variables to the following subgroups, defined in notmuch-lib.el: - Hello - Search - Show - Send - Crypto - Hooks - External Commands - Appearance As an added benefit, defcustom keyword args are now consistently ordered as they appear @ defcustom's docstring (OCD much?). Proper defgroup docstrings and various other improvements by courtesy of Austin Clements.
* | Fix dependency generation for compat, test, and utilAustin Clements2012-01-19
| | | | | | | | | | This adds source files in compat, test, and util to SRCS so that the top-level Makefile.local will generate dependency files for them.
* | Fix dependency generation for CLI sourcesAustin Clements2012-01-19
| | | | | | | | | | | | Previously, the dependency file list was generated before the CLI sources were added to SRCS, so dependency files weren't generated for CLI sources. This moves that code to after the CLI sources are added.
* | Start devel directory for developer tools and documentation.David Bremner2012-01-17
| | | | | | | | | | | | We had a lot of back and forth about the name of this directory, but nothing very conclusive. In the end, I just chose "devel" just to move on.
* | fix .gitignore for gzipped man pagesJani Nikula2012-01-17
| |
* | Revert "emacs: Don't attempt to colour tags in `notmuch-show-mode'."David Bremner2012-01-17
| | | | | | | | | | | | | | This reverts commit 4b256ff557e924fbaffca144d25a9d5f92026146. According to id:"87aa5nlwwg.fsf@praet.org" and followup messages, the assumptions of the patch seem not to hold in emacs 23.
* | NEWS: consistent 2-space indentationTomi Ollila2012-01-17
| | | | | | | | | | | | | | In NEWS file, indentation for item descriptions is generally 2 spaces but in a few cases there were 3 or 4 (4 caused different markdown handling) space indentations. Indentation in those lines are brought to consistent 2-space indentation.
* | search: Support automatic tag exclusionsAustin Clements2012-01-16
| | | | | | | | | | | | This adds a "search" section to the config file and an "auto_tag_exclusions" setting in that section. The search and count commands pass tag tags from the configuration to the library.
* | lib: Add support for automatically excluding tags from queriesAustin Clements2012-01-16
| | | | | | | | | | | | This is useful for tags like "deleted" and "spam" that people generally want to exclude from query results. These exclusions will be overridden if a tag is explicitly mentioned in a query.
* | cli: pick the user's address in a group list as from addressJani Nikula2012-01-16
| | | | | | | | | | | | | | Messages received to a group list were not replied to using the from address in the list. Fix it. Signed-off-by: Jani Nikula <jani@nikula.org>
* | test: add known broken test for reply from address in named group listJani Nikula2012-01-16
| | | | | | | | | | | | | | | | | | | | If a message was received to the user's address that was in a named group list, notmuch reply does not use that address for picking the from address. Groups lists are of the form: foo:bar@example.com,baz@example.com; Signed-off-by: Jani Nikula <jani@nikula.org>
* | py3k: add a specialized version of _str for python3Justus Winter2012-01-16
| | | | | | | | | | | | | | All strings are unicode strings in python 3 and the basestring and unicode types are removed hence the need for a specialized version. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | test: don't bail out of `run_emacs' too early when missing prereqsPieter Praet2012-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running the Emacs tests in verbose mode, only the first missing prereq is reported because the `run_emacs' function is short-circuited early: #+begin_example emacs: Testing emacs interface missing prerequisites: [0] emacs(1) skipping test: [0] Basic notmuch-hello view in emacs SKIP [0] Basic notmuch-hello view in emacs #+end_example This can lead to situations reminiscent of "dependency hell", so instead of returning based on each individual `test_require_external_prereq's exit status, we now do so only after checking all the prereqs: #+begin_example emacs: Testing emacs interface missing prerequisites: [0] dtach(1) emacs(1) emacsclient(1) skipping test: [0] Basic notmuch-hello view in emacs SKIP [0] Basic notmuch-hello view in emacs #+end_example Also added missing prereq for dtach(1).
* | emacs: Cycle through notmuch buffers rather than jumping to the last.David Edmondson2012-01-15
| | | | | | | | | | | | | | | | As suggested by j4ni in #notmuch, rename `notmuch-jump-to-recent-buffer' as `notmuch-cycle-notmuch-buffers' and have it behave accordingly. Consider `message-mode' buffers to be of interest.
* | emacs: Don't attempt to colour tags in `notmuch-show-mode'.David Edmondson2012-01-15
| | | | | | | | | | | | | | The tags were coloured using text properties. Unfortunately that text (the header line) also has an overlay, which overrides the text properties. There's not point in applying text properties that will never be seen.
* | NEWS: add news items for reply to senderJani Nikula2012-01-14
| |
* | Fix build warning: "/*" within commentAustin Clements2012-01-14
| |
* | test: add tests for "notmuch reply" --reply-to=senderMark Walters2012-01-14
| |
* | emacs: bind 'r' to reply-to-sender and 'R' to reply-to-allJani Nikula2012-01-14
| | | | | | | | | | | | | | Change the default reply key bindings, making 'r' reply-to-sender and 'R' reply-to-all. Signed-off-by: Jani Nikula <jani@nikula.org>
* | emacs: add support for replying just to the senderJani Nikula2012-01-14
| | | | | | | | | | | | | | | | Provide reply to sender counterparts to the search and show reply functions. Add key binding 'R' to reply to sender, while keeping 'r' as reply to all, both in search and show views. Signed-off-by: Jani Nikula <jani@nikula.org>
* | cli: add support for replying just to the sender in "notmuch reply"Jani Nikula2012-01-14
| | | | | | | | | | | | | | | | | | | | | | | | Add new option --reply-to=(all|sender) to "notmuch reply" to select whether to reply to all (sender and all recipients), or just sender. Reply to all remains the default. Credits to Mark Walters <markwalters1009@gmail.com> for his similar earlier work where I picked up the basic idea of handling reply-to-sender in add_recipients_from_message(). All bugs are mine, though. Signed-off-by: Jani Nikula <jani@nikula.org>
* | cli: slightly refactor "notmuch reply" address scanning functionsJani Nikula2012-01-14
| | | | | | | | | | | | | | | | | | | | | | | | Slightly refactor "notmuch reply" recipient and user from address scanning functions in preparation for reply-to-sender feature. Add support for not adding recipients at all (just scan for user from address), and returning the number of recipients added. No externally visible functional changes. Signed-off-by: Jani Nikula <jani@nikula.org>
* | notmuch/emacs: Observe the charset of text/html parts, where known.David Edmondson2012-01-13
| | | | | | | | | | | | Add the charset of text/html parts to the JSON output of 'notmuch -show' when it is known. Observe the encoding when rendering such parts in emacs.
* | count: Convert to new-style argument parsingAustin Clements2012-01-13
| |
* | Set fill column to 70 in .dir-locals.el.Austin Clements2012-01-13
| | | | | | | | | | | | This controls where comments and other text wraps. 70 is the default value, so this simply returns it to the default for people who have overridden it. Most notmuch code already adheres to this.
* | Merge branch 'release'David Bremner2012-01-13
|\| | | | | | | | | | | Conflicts: notmuch-reply.c notmuch.1
| * NEWS: set release date.David Bremner2012-01-13
| | | | | | | | It's Friday the thirteenth. What could possibly go wrong?
| * debian: changelog stanza for 0.11David Bremner2012-01-13
| |
| * Update version to 0.11David Bremner2012-01-13
| |
| * NEWS: add news entry for notmuch reply uninitialized variable bugfixJani Nikula2012-01-09
| |
| * debian: add changelog stanza for 0.11~rc3-1David Bremner2012-01-09
| | | | | | | | as usual for pre-releases, fairly minimal commentary.
| * version: update to 0.11~rc3David Bremner2012-01-09
| | | | | | | | We found another serious-ish bug during freeze.
| * cli: fix use of uninitialized variable in "notmuch reply"Jani Nikula2012-01-09
| | | | | | | | | | | | | | | | | | | | | | notmuch_show_params_t params is only initialized partially in notmuch_reply_command(). The only field that is used uninitialized is params.decrypt. It is usually non-zero, making "notmuch reply" on encrypted messages work by coincidence. Initialize params properly, and set params.decrypt as needed. Signed-off-by: Jani Nikula <jani@nikula.org>
| * Update NEWS for Emacs changesThomas Jost2012-01-05
| | | | | | | | - A fair amount of conflict resolution by db.
| * NEWS: give a hint about using sort to achieve the old dump behavior.David Bremner2012-01-05
| | | | | | | | | | This is needed for a few applications, and actually is quite fast (relative to the actual dump).
| * NEWS: fix typos.David Bremner2012-01-05
| | | | | | | | Thanks to Xavier for one of these.
| * update NEWSJameson Graef Rollins2012-01-05
| | | | | | | | | | | | This change looks slightly larger than it actually is, since I moved the emacs section below the Performance and Memory Management sections.
| * emacs: fix notmuch-show-indent-messages-width customization variable nameJameson Graef Rollins2012-01-05
| | | | | | | | | | The name was originally notmuch-indent-messages-width, which is inconsistent with our variable naming convention.
| * debian: changelog stanza for 0.11~rc2-1David Bremner2012-01-02
| | | | | | | | Set dist=experimental the first time.
| * debian: fix typo in changelogDavid Bremner2012-01-02
| | | | | | | | Previous version was actually uploaded to experimental, not unstable
| * version: bump to 0.11~rc2David Bremner2012-01-02
| | | | | | | | This to "celebrate" pushing a bugfix in at the last minute.
| * lib: call g_mime_init() from notmuch_database_open()Kazuo Teramoto2012-01-02
| | | | | | | | | | | | | | | | | | | | | | | | As reported in id:"CAEbOPGyuHnz4BPtDutnTPUHcP3eYcRCRkXhYoJR43RUMw671+g@mail.gmail.com" sometimes gmime tries to access a NULL pointer, e.g. g_mime_iconv_open() tries to access iconv_cache that is NULL if g_mime_init() is not called. This causes notmuch to segfault when calling gmime functions. Calling g_mime_init() initializes iconv_cache and others variables needed by gmime, making sure they are initialized when notmuch calls gmime functions.
| * Update NEWS for change by Aaron EcayAaron Ecay2011-12-30
| | | | | | | | | | - text moved around within NEWS into existing Emacs section by committer