unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Showing who it was sent to in gnus summary buffer
@ 2016-02-04  1:24 Sharon Kimble
  2016-02-04  1:32 ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Sharon Kimble @ 2016-02-04  1:24 UTC (permalink / raw)
  To: help-emacs

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

How can I have every email that I've sent using 'gnus' be displayed in
its 'nnfolder+archive:sent.2016' folder showing who it was sent *to*
instead of the current =from= in the summary buffer please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.3, fluxbox 1.3.7, emacs 24.5.3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: Showing who it was sent to in gnus summary buffer
  2016-02-04  1:24 Showing who it was sent to in gnus summary buffer Sharon Kimble
@ 2016-02-04  1:32 ` Emanuel Berg
  2016-02-04 19:10   ` Sharon Kimble
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2016-02-04  1:32 UTC (permalink / raw)
  To: help-gnu-emacs

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> How can I have every email that I've sent using
> 'gnus' be displayed in its
> 'nnfolder+archive:sent.2016' folder showing who it
> was sent *to* instead of the current =from= in the
> summary buffer please?

Look for an %F in `gnus-summary-line-format' and
change it into %f.

Try this:

    (setq gnus-summary-line-format "%*%U%3{%R%} %I%0{%f%} %1{%s%}\n")

Or the default: "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n"

Docstring of `gnus-summary-line-format':

    The format specification of the lines in the
    summary buffer.

    [...]

    %F          Contents of the From: header (string)
    %f          Contents of the From: or To: headers (string)

-- 
underground experts united
http://user.it.uu.se/~embe8573




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

* Re: Showing who it was sent to in gnus summary buffer
  2016-02-04  1:32 ` Emanuel Berg
@ 2016-02-04 19:10   ` Sharon Kimble
  2016-02-04 21:59     ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Sharon Kimble @ 2016-02-04 19:10 UTC (permalink / raw)
  To: help-gnu-emacs

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

Emanuel Berg <embe8573@student.uu.se> writes:

> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> How can I have every email that I've sent using
>> 'gnus' be displayed in its
>> 'nnfolder+archive:sent.2016' folder showing who it
>> was sent *to* instead of the current =from= in the
>> summary buffer please?
>
> Look for an %F in `gnus-summary-line-format' and
> change it into %f.
>
> Try this:
>
>     (setq gnus-summary-line-format "%*%U%3{%R%} %I%0{%f%} %1{%s%}\n")

Thanks, this is what I tried -

--8<---------------cut here---------------start------------->8---
     gnus-summary-line-format "%U%R%z %(%&user-date;  %-15,15f  %B (%c) %s%)\n"
     ;; gnus-summary-line-format "%U%R%z %(%&user-date;  %-15,15(%f%)  %B (%c) %s%)\n"
     ;; gnus-summary-line-format "%*%U%3{%R%} %I%0{%f%} %1{%s%}\n"
--8<---------------cut here---------------end--------------->8---

The first line is what I'm using now.
The second line failed with showing every email in a mess on the screen,
which was totally unusable or readable.
The third line displayed everything except the dates which is what I'm
needing.

What I'm looking for is date, email name that the mail has been sent to,
similar to what is showing in the summary of *Summary
nnml:help-gnu-emacs*, except in my sent mail folders - one for each year
that I've used gnu for [2014-2016].

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.3, fluxbox 1.3.7, emacs 24.5.3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: Showing who it was sent to in gnus summary buffer
  2016-02-04 19:10   ` Sharon Kimble
@ 2016-02-04 21:59     ` Emanuel Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2016-02-04 21:59 UTC (permalink / raw)
  To: help-gnu-emacs

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> The third line displayed everything [...]

I agree the third line is good :)

> except the dates which is what I'm needing

The help for `gnus-summary-line-format' says:

    %D  Date of the article (string)
    %d  Date of the article (string) in DD-MMM format
    %o  Date of the article (string) in YYYYMMDD`T'HHMMSS format

Of these, I'd say %o is something a computer or
autistic genius would parse, so try %D and %d, as in:

    (setq gnus-summary-line-format "%*%U%3{%R%} %I%0{%f%} %1{%s%} %D\n")

If you wonder what the %1{ ... %} are, it is to set
the face to `gnus-face-1' and so on. So how good it
looks depends what colors those faces are set to, and
what those colors are. If you think it could look
good, then I guess it should.

By the way, the 0 can probably be removed as %{ ... %}
defaults to 0, i.e. `gnus-face-0' which is `bold'
by default.

The rest of the comic-book insult is explained in the
help for `gnus-summary-line-format'.

-- 
underground experts united
http://user.it.uu.se/~embe8573




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

end of thread, other threads:[~2016-02-04 21:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04  1:24 Showing who it was sent to in gnus summary buffer Sharon Kimble
2016-02-04  1:32 ` Emanuel Berg
2016-02-04 19:10   ` Sharon Kimble
2016-02-04 21:59     ` Emanuel Berg

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).