Gnus development mailing list
 help / color / mirror / Atom feed
* feature request: extended gnus-article-hide-citation
@ 2002-05-25 18:45 Reiner Steib
  2002-05-27  9:48 ` ignotus-dated-1022838433.eab532
  0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2002-05-25 18:45 UTC (permalink / raw)


gnus-article-hide-citation `W W c' hides the citation and displays a
button (`[+]') to toggle the cited text instead:

,----[ (setq gnus-treat-hide-citation-display-some-lines nil) ]
| foo
| 
| [+]
| 
| bar
`----

Nice feature! It would be even more nice if it would display the first
and last words (or lines) of the omitted text. Maybe similar to this:

,----[ (setq gnus-treat-hide-citation-display-some-lines 1) ]
| foo
| 
| > First word of cited text [...] last word of the cited text. 
| 
| bar
`----

(with `[...]' buttonized). Or, customizable by the value (a number) of
`gnus-treat-hide-citation-display-some-lines':

,----[ (setq gnus-treat-hide-citation-display-some-lines 2) ]
| foo
| 
| > First line of cited text .................................
| > [+]
| > .............................. last line of the cited text. 
| 
| bar
`----

It's just an idea. Dunno if it's too complicated to code.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



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

* Re: feature request: extended gnus-article-hide-citation
  2002-05-25 18:45 feature request: extended gnus-article-hide-citation Reiner Steib
@ 2002-05-27  9:48 ` ignotus-dated-1022838433.eab532
  2002-05-28 12:05   ` Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: ignotus-dated-1022838433.eab532 @ 2002-05-27  9:48 UTC (permalink / raw)


>>>>> Reiner Steib wrote:

Hello,

> gnus-article-hide-citation `W W c' hides the citation and displays a
> button (`[+]') to toggle the cited text instead:

[...]

> Nice feature! It would be even more nice if it would display the first
> and last words (or lines) of the omitted text.

It's already implemented, see:

,----
| `gnus-cited-lines-visible' is a variable declared in Lisp.
|   -- loaded from "gnus-cite"
| 
| Value: (3 . 2)
| 
| Documentation:
| The number of lines of hidden cited text to remain visible.
| Or a pair (cons) of numbers which are the number of lines at the top
| and bottom of the text, respectively, to remain visible.
`----

-- 
ignotus
                   If Perl is the solution, you're solving the wrong problem.



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

* Re: feature request: extended gnus-article-hide-citation
  2002-05-27  9:48 ` ignotus-dated-1022838433.eab532
@ 2002-05-28 12:05   ` Reiner Steib
  0 siblings, 0 replies; 3+ messages in thread
From: Reiner Steib @ 2002-05-28 12:05 UTC (permalink / raw)


On Mon, May 27 2002, ignotus-dated wrote:

>>>>>> Reiner Steib wrote:

>> Nice feature! It would be even more nice if it would display the first
>> and last words (or lines) of the omitted text.
>
> It's already implemented, see:
[...]
> | `gnus-cited-lines-visible' is a variable declared in Lisp.

Thanks, for the pointer! Maybe I need new glasses. Sorry for the
noise. 8-)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



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

end of thread, other threads:[~2002-05-28 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-25 18:45 feature request: extended gnus-article-hide-citation Reiner Steib
2002-05-27  9:48 ` ignotus-dated-1022838433.eab532
2002-05-28 12:05   ` Reiner Steib

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