aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* notmuch.el: Make the magic spacebar archive a thread in the end.Gravatar Carl Worth2009-11-04
| | | | Next all it needs to do is kill the buffer and show the next thread.
* notmuch.el: Start implementing the magic space bar.Gravatar Carl Worth2009-11-04
| | | | | | | | | Currently this will either advance by screenfuls, or to the next message if it's already within a screenful, and will mark each message read as it is left. It doesn't yet complete the magic by archiving the messages nor by advancing to the next thread in the search.
* notmuch.el: Fix to hide citations in body of read messages.Gravatar Carl Worth2009-11-04
| | | | | Previously, unhinding a read message would still show all the citations in that message without an explicit command to make them visible. Fix.
* notmuch.el: Redefine behavior of notmuch-show-previous-messageGravatar Carl Worth2009-11-04
| | | | | | | | Now, if the user has manually moved point to somewhere within a message, executing the previous-message command onece will rewind point only to the beginning of the current message. Previously this would go back to the previous message, (which the user can now do easily and naturally by simply executing the command one more time).
* notmuch.el: Fix notmuch-snow-next-message when on the last message.Gravatar Carl Worth2009-11-04
| | | | | | | | | Before this just brought the current line to the top of the window. Now it actually moves to the beginning of the current message. This is built on a much more solid foundation now with a function to move to the summary-line of the current message, and then moving from there.
* notmuch.el: Add more complete documentation to the major modes.Gravatar Carl Worth2009-11-03
| | | | | | These now provide a summary of the most useful features/bindings as well as a complete printout of the relevant mode maps to show all available keybindings.
* notmuch.el: Make archive-thread advance to next line.Gravatar Carl Worth2009-11-03
| | | | | | | This is the command in notmuch-search mode and it's cer convenient for it to advance to the next line there. (It would be even more convenient if it didn't also take forever, but as mentioned before that's an issue we'll need to fix in Xapian.)
* notmuch.el: Add 't' binding to filter results to a specific tag.Gravatar Carl Worth2009-11-03
| | | | | This is a convenience function to avoid having to type "tag:" with the (f)ilter command.
* notmuch.el: Add bindings for scrolling to notmuch-search mode.Gravatar Carl Worth2009-11-03
| | | | | | | We turn on the scroll-preserve-screen-position option which seems like what's desired here, (though that's not what I normally use when editing files---but I think scrolling through a list of email threads is different).
* Drop inapplicable copyright statements.Gravatar Carl Worth2009-11-03
| | | | | | | | | | I had put these in here since I had originally planned to copy liberally from the body of the implementation of 'compile in order to get process output into a buffer. But once I found call-process in the documentation of emacs, that was all I needed. And all the code I've written since has been entirely my own with just the help of emacs documentation.
* notmuch-el: Fix implementation of show/hide-thread-ids.Gravatar Carl Worth2009-11-03
| | | | | | I'm definitely more comfortable with the add-to-invisibility-spec now than I was when I first wrote these functions, (which weren't working at all).
* notmuch.el: Add command to (a)rchive a thread from notmuch-show mode.Gravatar Carl Worth2009-11-03
| | | | | | | This is our first race-free implementation of archive-thread! It acts only on the messages explcitly contained in the buffer, not on an entire thread ID, so it's safe in the face of new messages have been delivered for this thread since the view was made.
* notmuch.el: Don't try to remove an "unread" tag that's not there.Gravatar Carl Worth2009-11-03
| | | | | | | This optimization wouldn't be necessary if we had a nice fast "notmuch tag" command. But since it's currently fairly slow, (see Xapian defect 250: http://trac.xapian.org/ticket/250), we're willing to take some extra care to avoid calling "notmuch tag" unnecessarily.
* notmuch show: Remove custom "unread" hack, (printing tag in two locations).Gravatar Carl Worth2009-11-03
| | | | | | | | I previously had a hack that special-cased the "unread" tag and printed it on the same line as the message ID. But now that we are printing all tags at the end of the one-line summary we don't need this anymore. Get rid of it, and just read "unread" from the list of tags just like any other tag.
* notmuch.el: Add + and - bindings to add/remove tags from messages.Gravatar Carl Worth2009-11-03
| | | | | | | This is in notmuch-show mode rather than in notmuch-search mode, (where we had + and - working already). This gives the same visual feedback as in notmuch-search-mode, (the tags are manipulated first in the database and then the list of tags in the buffer is updated).
* notmuch show: Print tags for each message.Gravatar Carl Worth2009-11-03
| | | | | This is in the one-line summary so should always be visible even in our emacs client that's so eager to make things invisible.
* notmuch.el: Preserve current thread when refreshing search results.Gravatar Carl Worth2009-11-03
| | | | | Otherwise, try to keep point in the same place, (such as when the current thread has been archived away).
* notmuch.el: Add an '=' key to refresh the current view.Gravatar Carl Worth2009-11-03
| | | | | This will allow for updates when a separate process (say, a notmuch- show buffer), has archived messages.
* notmuch.el: Mark messages read when the (n)ext keybinding is pressedGravatar Carl Worth2009-11-03
| | | | | Of course, technically, we're removing the "unread" tag, but you get the idea. :-)
* notmuch.el: Hide citations and signatures.Gravatar Carl Worth2009-11-03
| | | | | The user can make these visible again by pressing 'c' or 's', (though we'd like to move to direct manipulation instead soon).
* Hide bodies of message that have already been read.Gravatar Carl Worth2009-11-03
| | | | | | | | | | | | Also hide all markers. From here, all we really need for legibility is the following: * Hide away citations and signatures * Call out the one-line summary some way, (larger font size?) * Add nesting for replies
* notmuch.el: Hide email headers by default.Gravatar Carl Worth2009-11-02
| | | | The display of the header can be toggled with the 'h' key.
* notmuch show: Switch to control character to mark sections of outputGravatar Carl Worth2009-11-02
| | | | | | | | | | We were previously using things like "%message{" which were not guaranteed to never appear in an email message. Using a control character (^L or '\f' instead of '%') gives us better assurance that our delimiter doesn't show up in an original email message. This still isn't entirely safe since we're decoding encoded text in the body of the email message so almost all bets are off really.
* notmuch.el: Make 'n' and 'p' bring the current message to the top.Gravatar Carl Worth2009-11-02
| | | | | This is much more convenient for reading the messages, and happens to match the behavior of sup.
* notmuch.el: Add (n)ext and (p)revious bindings to notmuch-show mode.Gravatar Carl Worth2009-11-02
| | | | | | Almost starting to get usable now. Still need to make it mark messages as they are read, (by removing the unread tag), and selectively hiding the full header.
* TODO: Add an idea from talking with keithp on the train.Gravatar Carl Worth2009-11-02
| | | | | I mentioned the read-only directory optimization to Keith, and he liked it but wanted to be able to configure it to be fully automated.
* notmuch.el: Add '<' and '>' bindings to goto first/last thread.Gravatar Carl Worth2009-11-02
| | | | | Also, take care to remove a final blank line to avoid the point going beyond the last thread in the buffer.
* TODO: Organize tasks based on emacs interface, command-line tool, or library.Gravatar Carl Worth2009-11-02
| | | | | There are conceptually three different projects here, so it helps to keep the tasks for each separated.
* notmuch.el: Add commands to (s)earch globally, and (f)ilter a searchGravatar Carl Worth2009-11-02
| | | | Also add 'q' and 'x' keybindings to kill the current buffer.
* Tweak relative dates to be close to the same length.Gravatar Carl Worth2009-11-02
| | | | | Most all of the returned strings will now fill most of a 12-character string, (depending on the length of the month).
* Remove notmuch_message_get_header_size and notmuch_message_get_all_headersGravatar Carl Worth2009-11-02
| | | | | | The notmuch.c main program now uses GMime directly rather than using these functions, and I'd rather not export any functions unless we have good evidence that the functions are necessary.
* notmuch.el: Hide thread IDs in notmuch-search mode.Gravatar Carl Worth2009-11-02
| | | | One more baby step toward something that's pleasant to use.
* notmuch.el: Implement visual feedback for add/remove tags.Gravatar Carl Worth2009-11-02
| | | | | There's no undo still, but at least you can see what you are doing now.
* Drop date.c file, (use identical function from GMime instead).Gravatar Carl Worth2009-11-02
| | | | | | | We had originally copied this function in at a time when notmuch wasn't actually depending on the GMime library. Now that it does, we might as well call the function that exists there rather than having a private copy of it.
* notmuch show: Don't print non-text MIME parts.Gravatar Carl Worth2009-11-02
| | | | | | Additionally, print a part number for each MIME part so that the client could (conceivably) ask for the contents of a specific part by part number.
* Fix to decode header values, (primarily subject).Gravatar Carl Worth2009-11-02
| | | | | Use GMime function to decode message-header values according to RFC 2047.
* Print "part" markers for each MIME part (with Content-type).Gravatar Carl Worth2009-11-02
| | | | | This can allow for the client to hide undesired MIME parts such as text/html.
* notmuch show: Use GMime to decode messages.Gravatar Carl Worth2009-11-02
| | | | We now actually get text content rather than blocks of BASE64, etc.
* TODO: Add several items.Gravatar Carl Worth2009-11-02
| | | | | These are the things that are actively preventing me from being able to use notmuch as an email-reading client.
* Add an INSTALL file.Gravatar Carl Worth2009-11-02
| | | | | The README file was already referring to this, so we actually add it now.
* Add a simple configure script.Gravatar Carl Worth2009-11-02
| | | | | | | | | | | This is *not* based on autoconf. In fact, this doesn't actually configure anything, (one can compile notmuch directly with just "make" without running configure if the dependencies are all satisfied). The only thing that this configure script does is to check for the presence of the various dependencies and provide some guidance to the user if they are not all available.
* Makefile: Rewrite to use NOTMUCH rather than MY in variable names.Gravatar Carl Worth2009-11-02
| | | | | I was about to refer to these names in some documentation, so I wanted a slightly better name for them.
* README: Add a simple file explaining notmuch and pointing out resources.Gravatar Carl Worth2009-11-02
| | | | This is part of getting notmuch ready for a more public announcement.
* Add a simple manual page for notmuch.Gravatar Carl Worth2009-11-02
| | | | | By pulling content out of notmuch help, and also the messages printed by "notmuch setup".
* notmuch: Add a talloc context argument to each top-level command function.Gravatar Carl Worth2009-10-31
| | | | | | | I had noticed several times earlier that having a talloc context passed in would make things more convenient. I'm not exercising that convenience yet, but the context is there now, (and there's one fewer item on our TODO list).
* Rename message_results/thread_results to messages/threads.Gravatar Carl Worth2009-10-31
| | | | Shorter naming without being any less clear. A definite win.
* notmuch.el: Add commands to add tag, remove tag, and archive (== remove ↵Gravatar Carl Worth2009-10-31
| | | | | | | | | | | | | | inbox tag) These have keybindings of '+', '-', and 'a'. The bug they have so far is lack of visual feedback for their effect, and lack of undo. (Also the fact that adding or removing a single tag for a thread takes way too long--but that's as a Xapian issue as discussed here: replace_document should make minimal changes to database file http://trac.xapian.org/ticket/250 )
* notmuch: Reference help, don't print it for unknown commands.Gravatar Carl Worth2009-10-31
| | | | | The shorter output is much nicer for something that might end up in an emacs mini-buffer, for example.
* notmuch.el: Add final '*' to generated buffer names.Gravatar Carl Worth2009-10-31
| | | | Just looks a little neater that way.
* notmuch.el: Enter now calls "notmuch show" on the current threadGravatar Carl Worth2009-10-31
| | | | | It's remarkable how little code we need for a very functional GUI here. I think we're doing something right.