Gnus development mailing list
 help / color / mirror / Atom feed
* Suggestion for a view
@ 2000-10-04  0:34 Matti Koskimies
  2000-10-04  5:22 ` Torgny Nyblom
  0 siblings, 1 reply; 17+ messages in thread
From: Matti Koskimies @ 2000-10-04  0:34 UTC (permalink / raw)



I would like to suggest an additional choice of view to Gnus which I think
would provide a nice hierarchical selection. The view would consist of
three windows, with the following layout:

 _____________________
|          |          |
| Headers  |  Groups  |
|__________|__________|
|                     |
|                     |
|    Selected mail    |
|      contents       |
|_____________________|

ie. You could select from a groups buffer in the upper right window, and
you'd get the corresponding headers buffer for that group in the upper
left window. Selecting a header there would show the mail in a message
buffer in the larger lower window.

I know it would probably not be too hard to script the view, but I believe
it would be worth including this sort of overall hierarchy to the default
views. Unless of course, this feature is actually something a 5-year-old
would manage to configure blindfolded while doing cartwheels along a
rooftop's outer edge, in which case I apologise for even bringing it up,
but would appreciate some hints on how to accomplish it. :)


Regards,

------
Matti Koskimies                                  Fishpool Creations Ltd
msk@fishpool.fi                                  Innopoli
+358-400-438055                                  Tekniikantie 12
http://msk.nocrew.org                            02150 Espoo
matti/irc.esper.net                              Finland




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

* Re: Suggestion for a view
  2000-10-04  0:34 Suggestion for a view Matti Koskimies
@ 2000-10-04  5:22 ` Torgny Nyblom
  2000-10-04  6:54   ` Stein A. Strømme
  0 siblings, 1 reply; 17+ messages in thread
From: Torgny Nyblom @ 2000-10-04  5:22 UTC (permalink / raw)
  Cc: ding

Matti Koskimies <msk@fishpool.fi> writes:

> I would like to suggest an additional choice of view to Gnus which I think
> would provide a nice hierarchical selection. The view would consist of
> three windows, with the following layout:
> 
>  _____________________
> |          |          |
> | Headers  |  Groups  |
> |__________|__________|
> |                     |
> |                     |
> |    Selected mail    |
> |      contents       |
> |_____________________|
 
Try adding this to .gnus. I know there's a bug in this I just don't
remember were.

;;:*================================
;;:* Window layout
;;:*================================
;;:* Make gnus display it's windows in a Forté Agent
;;:* kind of way:
;;:*  ---------------------------
;;:*  |   G   |   Summary       |
;;:*  |   r   |-----------------|
;;:*  |   o   |                 |
;;:*  |   u   |    Article      |
;;:*  |   p   |                 |
;;:*  ---------------------------
;;:*======
;;:* There is some kind of bug in this..
(setq gnus-use-full-window t)			; Use the entire frame
(setq gnus-always-force-window-configuration t)	; Force the window conf I want
(gnus-add-configuration
 '(article					; Forté Agent like window style...
   (horizontal 0.20
	       (group 0.25)
	       (vertical 1.0
			 (summary 0.30 point)
			 (article 1.0))))
)
(gnus-add-configuration
 '(summary
   (horizontal 0.20
	       (group 0.25)
	       (vertical 1.0
			 (summary 0.30 point)
			 (article 1.0))))
)
(gnus-add-configuration
 '(group
   (horizontal 0.20
	       (group 0.25 point)
	       (vertical 1.0
			 (summary 0.30)
			 (article 1.0)))))


-- 
Torgny Nyblom | torgny@linux.nu | +46 (0)709 987246




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

* Re: Suggestion for a view
  2000-10-04  5:22 ` Torgny Nyblom
@ 2000-10-04  6:54   ` Stein A. Strømme
  2000-10-04 11:26     ` Torgny Nyblom
                       ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Stein A. Strømme @ 2000-10-04  6:54 UTC (permalink / raw)


[Torgny Nyblom]

| Try adding this to .gnus. I know there's a bug in this I just don't
| remember were.
| 
| ;;:*================================
| ;;:* Window layout
| ;;:*================================
| ;;:* Make gnus display it's windows in a Forté Agent
| ;;:* kind of way:
| ;;:*  ---------------------------
| ;;:*  |   G   |   Summary       |
| ;;:*  |   r   |-----------------|
| ;;:*  |   o   |                 |
| ;;:*  |   u   |    Article      |
| ;;:*  |   p   |                 |
| ;;:*  ---------------------------
| ;;:*======
| ;;:* There is some kind of bug in this..

Try this instead:

    (gnus-add-configuration
     '(article
       (horizontal 1.0
                   (vertical 25
                             (group 1.0)
                             )
                   (vertical 1.0
                             (summary 0.16 point)
                             (article 1.0)
                             ))))

    (gnus-add-configuration
     '(summary
       (horizontal 1.0
                   (vertical 25
                             (group 1.0)
                             )
                   (vertical 1.0
                             (summary 1.0 point)
                             ))))


-- 
Stein Arild Strømme <mailto:stromme@mi.uib.no>  telefon +47 55584825
Universitetet i Bergen, Matematisk institutt      mobil +47 95801887
Johs Brunsg 12, N--5008 Bergen                  telefax +47 55589672



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

* Re: Suggestion for a view
  2000-10-04  6:54   ` Stein A. Strømme
@ 2000-10-04 11:26     ` Torgny Nyblom
  2000-10-04 18:44     ` Kai Großjohann
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 17+ messages in thread
From: Torgny Nyblom @ 2000-10-04 11:26 UTC (permalink / raw)
  Cc: ding

stromme@mi.uib.no (Stein A. Strømme) writes:

[...]

> Try this instead:

[...]

Thanks!

-- 
Torgny Nyblom | torgny@linux.nu | +46 (0)709 987246




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

* Re: Suggestion for a view
  2000-10-04  6:54   ` Stein A. Strømme
  2000-10-04 11:26     ` Torgny Nyblom
@ 2000-10-04 18:44     ` Kai Großjohann
  2000-10-05  7:22       ` Stein A. Strømme
  2000-10-05 15:26     ` Kai Großjohann
  2000-10-05 16:52     ` Kai Großjohann
  3 siblings, 1 reply; 17+ messages in thread
From: Kai Großjohann @ 2000-10-04 18:44 UTC (permalink / raw)
  Cc: ding

On 04 Oct 2000, Stein A. Strømme wrote:

> Try this instead:

I think it might be useful to have a couple of canned views ready for
copying and pasting in the Gnus manual.  If only there wasn't the
copyright problem...

kai
-- 
I like BOTH kinds of music.



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

* Re: Suggestion for a view
  2000-10-04 18:44     ` Kai Großjohann
@ 2000-10-05  7:22       ` Stein A. Strømme
  2000-10-05 12:32         ` David S. Goldberg
                           ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Stein A. Strømme @ 2000-10-05  7:22 UTC (permalink / raw)


[Kai Großjohann]

| I think it might be useful to have a couple of canned views ready for
| copying and pasting in the Gnus manual.  If only there wasn't the
| copyright problem...

You're joking, right?  I'd certainly be happy to donate the copyright
of my gnus-add-configuration to the author of the Gnus manual :-)

| kai
-- 
Stein Arild Strømme <mailto:stromme@mi.uib.no>  telefon +47 55584825
Universitetet i Bergen, Matematisk institutt      mobil +47 95801887
Johs Brunsg 12, N--5008 Bergen                  telefax +47 55589672



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

* Re: Suggestion for a view
  2000-10-05  7:22       ` Stein A. Strømme
@ 2000-10-05 12:32         ` David S. Goldberg
  2000-10-05 12:50         ` Kai Großjohann
  2000-10-05 13:07         ` Stein A. Strømme
  2 siblings, 0 replies; 17+ messages in thread
From: David S. Goldberg @ 2000-10-05 12:32 UTC (permalink / raw)


Don't laugh too hard.  About the only major contribution I can think
of that I've made to gnus in the current series is documentation of
gnus-add-configuration and I just sent my papers to Gerd.  I don't
know what threshold of contribution FSF requires before asking for
papers, but I made lots more contributions in previous series and was
never contacted about assigning copyright for those.
-- 
Dave Goldberg
dsg@world.std.com



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

* Re: Suggestion for a view
  2000-10-05  7:22       ` Stein A. Strømme
  2000-10-05 12:32         ` David S. Goldberg
@ 2000-10-05 12:50         ` Kai Großjohann
  2000-10-05 13:07         ` Stein A. Strømme
  2 siblings, 0 replies; 17+ messages in thread
From: Kai Großjohann @ 2000-10-05 12:50 UTC (permalink / raw)
  Cc: ding

On 05 Oct 2000, Stein A. Strømme wrote:

> You're joking, right?  I'd certainly be happy to donate the
> copyright of my gnus-add-configuration to the author of the Gnus
> manual :-)

... to the FSF.  Thanks!

The limit is 10 lines of changes, `or a few such changes'.

kai
-- 
I like BOTH kinds of music.



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

* Re: Suggestion for a view
  2000-10-05  7:22       ` Stein A. Strømme
  2000-10-05 12:32         ` David S. Goldberg
  2000-10-05 12:50         ` Kai Großjohann
@ 2000-10-05 13:07         ` Stein A. Strømme
  2000-10-10 11:26           ` Per Abrahamsen
  2 siblings, 1 reply; 17+ messages in thread
From: Stein A. Strømme @ 2000-10-05 13:07 UTC (permalink / raw)


[Kai Großjohann]

| On 05 Oct 2000, Stein A. Strømme wrote:
| 
| > You're joking, right?  I'd certainly be happy to donate the
| > copyright of my gnus-add-configuration to the author of the Gnus
| > manual :-)
| 
| ... to the FSF.  Thanks!
| 
| The limit is 10 lines of changes, `or a few such changes'.

I did not change any code, I just called gnus-add-configuration with a
few easy-to-figure-out arguments.  Here they are again, for emphasis:

    (gnus-add-configuration
     '(article
       (horizontal 1.0
                   (vertical 25
                             (group 1.0)
                             )
                   (vertical 1.0
                             (summary 0.16 point)
                             (article 1.0)
                             ))))

    (gnus-add-configuration
     '(summary
       (horizontal 1.0
                   (vertical 25
                             (group 1.0)
                             )
                   (vertical 1.0
                             (summary 1.0 point)
                             ))))

Trivial variation on examples already in the (Gnus) *Windows
Configuration* info node.  It seems to me a bit pompous to "donate"
this configuration to the FSF, but if it needs be, let it hereby be
declared :-!

(I still suspect that you're not serious.)

Best,
Stein
-- 
Stein Arild Strømme <mailto:stromme@mi.uib.no>  telefon +47 55584825
Universitetet i Bergen, Matematisk institutt      mobil +47 95801887
Johs Brunsg 12, N--5008 Bergen                  telefax +47 55589672



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

* Re: Suggestion for a view
  2000-10-04  6:54   ` Stein A. Strømme
  2000-10-04 11:26     ` Torgny Nyblom
  2000-10-04 18:44     ` Kai Großjohann
@ 2000-10-05 15:26     ` Kai Großjohann
  2000-10-06  6:09       ` Stein A. Strømme
  2000-10-13 12:33       ` Gerd Moellmann
  2000-10-05 16:52     ` Kai Großjohann
  3 siblings, 2 replies; 17+ messages in thread
From: Kai Großjohann @ 2000-10-05 15:26 UTC (permalink / raw)
  Cc: ding

On 04 Oct 2000, Stein A. Strømme wrote:

> Try this instead: [...]

I'm about to commit the following patch to the Gnus manual.  The
example Lisp code is from Stein, the rest from me.  Though the code is
12 lines, the structure is sufficiently simple that I think we might
get away without copyright assignment.

Gerd?  Dave?  (Should I ask emacs-hackers next time, rather than you
personally?)

Stein, are you a he or a she?  Need that for the ChangeLog entry...


Index: texi/gnus.texi
===================================================================
RCS file: /usr/local/cvsroot/gnus/texi/gnus.texi,v
retrieving revision 5.208
diff -u -r5.208 gnus.texi
--- texi/gnus.texi      2000/10/04 12:36:34     5.208
+++ texi/gnus.texi      2000/10/05 14:23:59
@@ -17344,6 +17344,43 @@
 to fiddle with @code{gnus-tree-minimize-window} to avoid having the
 windows resized.
 
+@subsection Example Window Configurations
+
+@itemize @bullet
+@item 
+Narrow left hand side occupied by group buffer.  Right hand side split
+between summary buffer (top one-sixth) and article buffer (bottom).
+
+@ifinfo
+@example
++---+---------+
+| G | Summary |
+| r +---------+
+| o |         |
+| u | Article |
+| p |         |
++---+---------+
+@end example
+@end ifinfo
+
+@lisp
+(gnus-add-configuration
+ '(article
+   (horizontal 1.0
+               (vertical 25 (group 1.0))
+               (vertical 1.0
+                         (summary 0.16 point)
+                         (article 1.0)))))
+
+(gnus-add-configuration
+ '(summary
+   (horizontal 1.0
+               (vertical 25 (group 1.0))
+               (vertical 1.0 (summary 1.0 point)))))
+@end lisp
+
+@end itemize
+
 
 @node Faces and Fonts
 @section Faces and Fonts

kai
-- 
I like BOTH kinds of music.



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

* Re: Suggestion for a view
  2000-10-04  6:54   ` Stein A. Strømme
                       ` (2 preceding siblings ...)
  2000-10-05 15:26     ` Kai Großjohann
@ 2000-10-05 16:52     ` Kai Großjohann
  2000-10-05 17:02       ` ShengHuo ZHU
  2000-10-05 19:52       ` Dave Love
  3 siblings, 2 replies; 17+ messages in thread
From: Kai Großjohann @ 2000-10-05 16:52 UTC (permalink / raw)
  Cc: ding

On 04 Oct 2000, Stein A. Strømme wrote:

> Try this instead:

I have now added stuff to the Gnus info file:

/----
| Example Window Configurations
| -----------------------------
| 
|    * Narrow left hand side occupied by group buffer.  Right hand side
|      split between summary buffer (top one-sixth) and article buffer
|      (bottom).
| 
|           (gnus-add-configuration
|            '(article
|              (horizontal 1.0
|                          (vertical 25 (group 1.0))
|                          (vertical 1.0
|                                    (summary 0.16 point)
|                                    (article 1.0)))))
|           
|           (gnus-add-configuration
|            '(summary
|              (horizontal 1.0
|                          (vertical 25 (group 1.0))
|                          (vertical 1.0
|                                    (summary 1.0 point)))))
\----

You like?

Should I include a picture?  How to put it into the printed manual?

Give me more examples!

kai
-- 
I like BOTH kinds of music.



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

* Re: Suggestion for a view
  2000-10-05 16:52     ` Kai Großjohann
@ 2000-10-05 17:02       ` ShengHuo ZHU
  2000-10-06 10:22         ` Kai Großjohann
  2000-10-05 19:52       ` Dave Love
  1 sibling, 1 reply; 17+ messages in thread
From: ShengHuo ZHU @ 2000-10-05 17:02 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:


> Should I include a picture?  How to put it into the printed manual?

You could try 

@iftex
@iflatex
\epsfig{figure=ps/the-figure.ps}
@end iflatex
@end iftex 

@ifnottex

@c put text box here.

@end ifnottex

ShengHuo



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

* Re: Suggestion for a view
  2000-10-05 16:52     ` Kai Großjohann
  2000-10-05 17:02       ` ShengHuo ZHU
@ 2000-10-05 19:52       ` Dave Love
  1 sibling, 0 replies; 17+ messages in thread
From: Dave Love @ 2000-10-05 19:52 UTC (permalink / raw)


>>>>> "KG" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:

 KG> Should I include a picture?  How to put it into the printed manual?

`@image' (in Texinfo 4).



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

* Re: Suggestion for a view
  2000-10-05 15:26     ` Kai Großjohann
@ 2000-10-06  6:09       ` Stein A. Strømme
  2000-10-13 12:33       ` Gerd Moellmann
  1 sibling, 0 replies; 17+ messages in thread
From: Stein A. Strømme @ 2000-10-06  6:09 UTC (permalink / raw)


[Kai Großjohann]

| On 04 Oct 2000, Stein A. Strømme wrote:
| 
| > Try this instead: [...]
| 
| I'm about to commit the following patch to the Gnus manual.  The
| example Lisp code is from Stein, the rest from me.  Though the code is
| 12 lines, the structure is sufficiently simple that I think we might
| get away without copyright assignment.
| 
| Gerd?  Dave?  (Should I ask emacs-hackers next time, rather than you
| personally?)
| 
| Stein, are you a he or a she?  Need that for the ChangeLog entry...

A he :)
-- 
Stein Arild Strømme <mailto:stromme@mi.uib.no>  telefon +47 55584825
Universitetet i Bergen, Matematisk institutt      mobil +47 95801887
Johs Brunsg 12, N--5008 Bergen                  telefax +47 55589672



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

* Re: Suggestion for a view
  2000-10-05 17:02       ` ShengHuo ZHU
@ 2000-10-06 10:22         ` Kai Großjohann
  0 siblings, 0 replies; 17+ messages in thread
From: Kai Großjohann @ 2000-10-06 10:22 UTC (permalink / raw)
  Cc: ding

On 05 Oct 2000, ShengHuo ZHU wrote:

> @iftex
> @iflatex
> \epsfig{figure=ps/the-figure.ps}
> @end iflatex
> @end iftex 

I was thinking of using @tex ... @end tex and then the plain TeX
equivalent of a tabular environment.  Hm.  OTOH, there's a lot of
LaTeX code in there, so maybe I want to use a LaTeX tabular anyway.
Hm.

kai
-- 
I like BOTH kinds of music.



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

* Re: Suggestion for a view
  2000-10-05 13:07         ` Stein A. Strømme
@ 2000-10-10 11:26           ` Per Abrahamsen
  0 siblings, 0 replies; 17+ messages in thread
From: Per Abrahamsen @ 2000-10-10 11:26 UTC (permalink / raw)


stromme@mi.uib.no (Stein A. Strømme) writes:

> Trivial variation on examples already in the (Gnus) *Windows
> Configuration* info node.  It seems to me a bit pompous to "donate"
> this configuration to the FSF, but if it needs be, let it hereby be
> declared :-!

I think the code is too trivial to be covered by copyright law (the 10
lines is not a hard limit), but if it was covered, the FSF would
require a disclaimer with a signature on paper.



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

* Re: Suggestion for a view
  2000-10-05 15:26     ` Kai Großjohann
  2000-10-06  6:09       ` Stein A. Strømme
@ 2000-10-13 12:33       ` Gerd Moellmann
  1 sibling, 0 replies; 17+ messages in thread
From: Gerd Moellmann @ 2000-10-13 12:33 UTC (permalink / raw)
  Cc: Stein A. =?iso-8859-1?q?Str=F8mme, Dave Love, ding

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> On 04 Oct 2000, Stein A. Strømme wrote:
> 
> > Try this instead: [...]
> 
> I'm about to commit the following patch to the Gnus manual.  The
> example Lisp code is from Stein, the rest from me.  Though the code is
> 12 lines, the structure is sufficiently simple that I think we might
> get away without copyright assignment.

I agree.

> Gerd?  Dave?  (Should I ask emacs-hackers next time, rather than you
> personally?)

No, please ask me.



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

end of thread, other threads:[~2000-10-13 12:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-04  0:34 Suggestion for a view Matti Koskimies
2000-10-04  5:22 ` Torgny Nyblom
2000-10-04  6:54   ` Stein A. Strømme
2000-10-04 11:26     ` Torgny Nyblom
2000-10-04 18:44     ` Kai Großjohann
2000-10-05  7:22       ` Stein A. Strømme
2000-10-05 12:32         ` David S. Goldberg
2000-10-05 12:50         ` Kai Großjohann
2000-10-05 13:07         ` Stein A. Strømme
2000-10-10 11:26           ` Per Abrahamsen
2000-10-05 15:26     ` Kai Großjohann
2000-10-06  6:09       ` Stein A. Strømme
2000-10-13 12:33       ` Gerd Moellmann
2000-10-05 16:52     ` Kai Großjohann
2000-10-05 17:02       ` ShengHuo ZHU
2000-10-06 10:22         ` Kai Großjohann
2000-10-05 19:52       ` Dave Love

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