Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* gnus-summary-line-format when using non-fixed width font?
@ 2012-07-25  8:43 moabi2000
  2012-07-25 17:56 ` Tassilo Horn
  2012-08-01 15:06 ` Dave Abrahams
  0 siblings, 2 replies; 3+ messages in thread
From: moabi2000 @ 2012-07-25  8:43 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 359 bytes --]

Hi,

Using a non-monospaced font makes reading mail and news far easier.
However, it makes the summary line look awful since you can't just pad with
spaces to make the date, author and subject line up. The arrows used for
threads don't line up either.

Is there any way to make things line up in the summary buffer when using a
non-monospace font?

Thanks
M.

[-- Attachment #1.2: Type: text/html, Size: 395 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: gnus-summary-line-format when using non-fixed width font?
  2012-07-25  8:43 gnus-summary-line-format when using non-fixed width font? moabi2000
@ 2012-07-25 17:56 ` Tassilo Horn
  2012-08-01 15:06 ` Dave Abrahams
  1 sibling, 0 replies; 3+ messages in thread
From: Tassilo Horn @ 2012-07-25 17:56 UTC (permalink / raw)
  To: info-gnus-english

moabi2000 <moabi2000@gmail.com> writes:

> Using a non-monospaced font makes reading mail and news far easier.

That's very subjective, but if it is for you it's fine with me. :-)

> However, it makes the summary line look awful since you can't just pad
> with spaces to make the date, author and subject line up. The arrows
> used for threads don't line up either.
>
> Is there any way to make things line up in the summary buffer when
> using a non-monospace font?

Sure.  All things that should line up should be specified first in the
summary line format using a monospaced font, and all other things should
be appended with whatever font you prefer.

For example, take that one:

  "%1{%U%R┃%(%-23,23f%)┃ %*%B %}%2{%s}\n"

Every format spec surrounded by %1{...} will be fontified using the
gnus-face-1 face, and everything surrounded by %2{...} with gnus-face-2.
You may use as many different faces as you like.

Then you can M-x customize-face RET gnus-face-1 RET to some monospaced
font, and gnus-face-2 used for the subject of messages to some
proportional font.

Bye,
Tassilo


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: gnus-summary-line-format when using non-fixed width font?
  2012-07-25  8:43 gnus-summary-line-format when using non-fixed width font? moabi2000
  2012-07-25 17:56 ` Tassilo Horn
@ 2012-08-01 15:06 ` Dave Abrahams
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Abrahams @ 2012-08-01 15:06 UTC (permalink / raw)
  To: info-gnus-english

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


on Wed Jul 25 2012, moabi2000 <moabi2000-AT-gmail.com> wrote:

> Hi,
>
> Using a non-monospaced font makes reading mail and news far
> easier. However, it makes the summary line look awful since you can't
> just pad with spaces to make the date, author and subject line up. The
> arrows used for threads don't line up either.
>
> Is there any way to make things line up in the summary buffer when
> using a non-monospace font?

I get what I think are pretty good results, e.g.


[-- Attachment #2: gnus-sum.png --]
[-- Type: image/png, Size: 43946 bytes --]

[-- Attachment #3: Type: text/plain, Size: 345 bytes --]


http://cl.ly/image/160H1Q0J2z3r

If you want to replicate this you can inspect my gnus configuration at
https://github.com/dabrahams/dwamacs/blob/master/settings/gnus-settings.el

-- 
Dave Abrahams
BoostPro Computing                  Software Development        Training
http://www.boostpro.com             Clang/LLVM/EDG Compilers  C++  Boost

[-- Attachment #4: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

end of thread, other threads:[~2012-08-01 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-25  8:43 gnus-summary-line-format when using non-fixed width font? moabi2000
2012-07-25 17:56 ` Tassilo Horn
2012-08-01 15:06 ` Dave Abrahams

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 NNTP newsgroup(s).