* Emacs paned UI
@ 2010-02-02 1:05 Tad Fisher
2010-02-03 19:12 ` Jameson Rollins
0 siblings, 1 reply; 2+ messages in thread
From: Tad Fisher @ 2010-02-02 1:05 UTC (permalink / raw)
To: notmuch
Hello everyone!
I've been using notmuch and following its development for a little while
now, and I've come to like it very much. One thing that has been lacking
is an easy-to-use Emacs interface, and I believe Keith and Carl had a
little discussion a while back about how we should go about making a
paned UI.
So, I dusted off my Elisp manual and hacked up notmuch.el to support a
3-paned UI. This involved the creation of a minor mode (I call it
notmuch-browse-mode) that manages window state, along with several
modifications of existing functions to "do the right thing" when we're
in browse-mode (such as close the "show" window, switch to the "folder"
window, etc.).
The UI is thus far usable, but not bug-free. For example,
advancing-and-archiving using SPC sometimes "advances" to the same
message (but I am always able to advance with "a"). Also, the search
window does not update after archiving, but I believe this is an
existing bug.
The code is in the "emacs-ui" branch of the following repo:
git://github.com/tadfisher/notmuch-tad.git
Suggestions, criticism, and a code review are both needed and desired.
--
Tad Fisher
tadfisher@gmail.com
sent via something other than notmuch: http://notmuchmail.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Emacs paned UI
2010-02-02 1:05 Emacs paned UI Tad Fisher
@ 2010-02-03 19:12 ` Jameson Rollins
0 siblings, 0 replies; 2+ messages in thread
From: Jameson Rollins @ 2010-02-03 19:12 UTC (permalink / raw)
To: Tad Fisher, notmuch
[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]
On Mon, 01 Feb 2010 17:05:40 -0800, Tad Fisher <tadfisher@gmail.com> wrote:
> So, I dusted off my Elisp manual and hacked up notmuch.el to support a
> 3-paned UI. This involved the creation of a minor mode (I call it
> notmuch-browse-mode) that manages window state, along with several
> modifications of existing functions to "do the right thing" when we're
> in browse-mode (such as close the "show" window, switch to the "folder"
> window, etc.).
Hey, Tad. Thanks so much for persuing this! I was definitely looking
to put something like this together myself, but your elisp foo is a lot
better than mine. A couple comments:
* I actually would prefer just a two-paned layout, since I don't use
folders. Is there a way to configure it to check if there are folders
defined, and not show the third panel if there isn't?
* I would also like to see the focus remain in the notmuch-search buffer
all the time, unless I specifically switch to the notmuch-show
buffer. I would really like things to behave more like mutt, where
I'm scrolling through my mail from notmuch-search, but then the
messages themselves are just being displayed in the lower pane. Does
that make sense?
jamie.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-03 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02 1:05 Emacs paned UI Tad Fisher
2010-02-03 19:12 ` Jameson Rollins
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).