unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Emacs UI improvement suggestion
@ 2010-11-05  7:45 Sebastian Spaeth
  2010-11-05  9:05 ` David Edmondson
  2010-11-05 11:23 ` Jameson Rollins
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Spaeth @ 2010-11-05  7:45 UTC (permalink / raw)
  To: Notmuch developer list

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

One UI improvement I would love is to see the number of unread 
emails in a thread in notmuch-show view. I often reply to a 
mail in a thread just to see that there are followup mails that 
resolve the issue already.

If I had seen that there are more unread mails in that thread 
(or at least that branch of the thread), I would read those first 
before hitting reply.

What do others think?

Sebastian

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs UI improvement suggestion
  2010-11-05  7:45 Emacs UI improvement suggestion Sebastian Spaeth
@ 2010-11-05  9:05 ` David Edmondson
  2010-11-05  9:36   ` Sebastian Spaeth
  2010-11-05 11:23 ` Jameson Rollins
  1 sibling, 1 reply; 5+ messages in thread
From: David Edmondson @ 2010-11-05  9:05 UTC (permalink / raw)
  To: Sebastian Spaeth, Notmuch developer list

On Fri, 05 Nov 2010 08:45:27 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
> One UI improvement I would love is to see the number of unread 
> emails in a thread in notmuch-show view. I often reply to a 
> mail in a thread just to see that there are followup mails that 
> resolve the issue already.
> 
> If I had seen that there are more unread mails in that thread 
> (or at least that branch of the thread), I would read those first 
> before hitting reply.
> 
> What do others think?

Does `C-u M-RET' help?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs UI improvement suggestion
  2010-11-05  9:05 ` David Edmondson
@ 2010-11-05  9:36   ` Sebastian Spaeth
  2010-11-05 17:48     ` Carl Worth
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Spaeth @ 2010-11-05  9:36 UTC (permalink / raw)
  To: Notmuch developer list

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

> Does `C-u M-RET' help?

mmh, that "closes" all open mails in this thread. pressing the same keys
does not open them again. Not sure if that would help me a lot :)

But thanks for the key hint, it's not listed on the '?' page...

C-u often appears as black magic to this emacs user.
Sebastian

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs UI improvement suggestion
  2010-11-05  7:45 Emacs UI improvement suggestion Sebastian Spaeth
  2010-11-05  9:05 ` David Edmondson
@ 2010-11-05 11:23 ` Jameson Rollins
  1 sibling, 0 replies; 5+ messages in thread
From: Jameson Rollins @ 2010-11-05 11:23 UTC (permalink / raw)
  To: Sebastian Spaeth, Notmuch developer list

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

On Fri, 05 Nov 2010 08:45:27 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
> One UI improvement I would love is to see the number of unread 
> emails in a thread in notmuch-show view. I often reply to a 
> mail in a thread just to see that there are followup mails that 
> resolve the issue already.
> 
> If I had seen that there are more unread mails in that thread 
> (or at least that branch of the thread), I would read those first 
> before hitting reply.
> 
> What do others think?

Hey, Sebastian.  Try looking at notmuch-search-line-faces (not very well
named, my fault) which sets the face of search lines based on tags.
I've been using the following setting:

(setq notmuch-search-line-faces
      '(("delete" . '(:background "grey8"))
	("unread" . '(:weight bold))))

Threads with unread messages show up in bold, which makes them pretty
easy to identify.  I also bind a key to filter

"tag:unread and not tag:delete"

which allows me to easily pop view the unread messages.

jamie.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs UI improvement suggestion
  2010-11-05  9:36   ` Sebastian Spaeth
@ 2010-11-05 17:48     ` Carl Worth
  0 siblings, 0 replies; 5+ messages in thread
From: Carl Worth @ 2010-11-05 17:48 UTC (permalink / raw)
  To: Sebastian Spaeth, Notmuch developer list

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

On Fri, 05 Nov 2010 10:36:32 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
> But thanks for the key hint, it's not listed on the '?' page...

Oops. I need to fix that.

> C-u often appears as black magic to this emacs user.

I've got some strange plans for our emacs interface. The idea is to
support things that emacs users would expect (like C-u), but to also do
things in a way that would be perhaps more natural, (for users who don't
use emacs except for notmuch).

For example, in this specific case I plan to make the '*' keybinding act
as a prefix modifier to make the following command operate on all
messages. So, for example, you would have:

	|	Pipe the current message to an external command
	* |	Pipe all open messages to an external command
	RET	Hide/show the current message
	* RET	Hide/show all messages

I think this will fit in well with existing uses of '*' in the
interface, and also bring in some missing functionality in some cases.

-Carl

-- 
carl.d.worth@intel.com

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-05 17:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-05  7:45 Emacs UI improvement suggestion Sebastian Spaeth
2010-11-05  9:05 ` David Edmondson
2010-11-05  9:36   ` Sebastian Spaeth
2010-11-05 17:48     ` Carl Worth
2010-11-05 11:23 ` 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).