From: Prof Jayanth R Varma <jrvarma@gmail.com>
To: notmuch@notmuchmail.org
Subject: Re: emacs: Split wide window vertically for tree mode message pane
Date: Fri, 11 May 2018 21:47:33 +0530 [thread overview]
Message-ID: <87r2mi2mle.fsf@JRVLAPTOP.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <m21sejtf1i.fsf@guru.guru-group.fi>
On Wed, May 09 2018, David Bremner wrote:
> Prof Jayanth R Varma <jrvarma@gmail.com> writes:
>> This patch modifies the function notmuch-tree-show-message-in
>> in notmuch-tree.el to split the window vertically while
>> creating a message pane in tree-mode if the window is wider
>> than 160 (so that after splitting, the message pane can show
>> the standard 76 character plain text email lines without
>> wrapping).
> 2) I noticed that the horizontal splitting leads to truncation
> of tag display. So I think not everyone will want this (it would
> be pretty frustrating to widen the emacs frame to see a full tag
> list, just to have it truncated). One option would be to control
> the splitting by a variable specifying the minimum width at
> which to switch to horizonal splitting.
I agree that the customization option is superior to my original
patch. The default value of the customization variable could be
set equal to the emacs variable "most-positive-fixnum" (the
largest value that is representable in a Lisp integer) so that the
patch would not have an impact for anybody who does not explicitly
customize it.
> 3) The commit message / NEWS talks about splitting the window
> vertically, but that seems contrary to the emacs terminology (as
> evinced by the source code in the patch)
My mistake: vertically should be changed to horizontally in the
commit message, NEWS and source code comments.
prev parent reply other threads:[~2018-05-11 16:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-03 9:27 emacs: Split wide window vertically for tree mode message pane Prof Jayanth R Varma
2018-05-09 20:52 ` David Bremner
2018-05-10 20:46 ` Tomi Ollila
2018-05-10 20:57 ` David Bremner
2018-05-11 16:17 ` Prof Jayanth R Varma [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2mi2mle.fsf@JRVLAPTOP.i-did-not-set--mail-host-address--so-tickle-me \
--to=jrvarma@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).