Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Miles Bader <miles@gnu.org>
Cc: ding@gnus.org, emacs-devel@gnu.org
Subject: Re: gnus-summary-toggle-truncation
Date: Sun, 31 Jan 2010 19:21:44 +0100	[thread overview]
Message-ID: <877hqy5e4n.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87ljfe5swf.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sun, 31 Jan 2010 14:02:40 +0100")

[ Resending: should have been ding@gnus.org not ding@gnu.org in Miles'
  message and my followup ]

On Wed, Jan 20 2010, Miles Bader wrote:

> Is there a reason not to apply the following patch?
> `toggle-truncate-lines' seems to do the same thing as
> `gnus-summary-toggle-truncation', but in a less annoying manner (no
> screen flashing).

Fine with me - assuming you tested it. :-)

It's up to Stefan and Yidong to decide if it's ok for Emacs 23.2 (or
use the "pending" branch).

> diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
> index 2464b13..cf97cc2 100644
> --- a/lisp/gnus/gnus-sum.el
> +++ b/lisp/gnus/gnus-sum.el
> @@ -6956,14 +6956,7 @@ displayed, no centering will be performed."
>  	  (gnus-summary-remove-process-mark article)))))
>    (gnus-summary-position-point))
>
> -(defun gnus-summary-toggle-truncation (&optional arg)
> -  "Toggle truncation of summary lines.
> -With ARG, turn line truncation on if ARG is positive."
> -  (interactive "P")
> -  (setq truncate-lines
> -	(if (null arg) (not truncate-lines)
> -	  (> (prefix-numeric-value arg) 0)))
> -  (redraw-display))
> +(defalias 'gnus-summary-toggle-truncation 'toggle-truncate-lines)
>
>  (defun gnus-summary-find-for-reselect ()
>    "Return the number of an article to stay on across a reselect.

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




       reply	other threads:[~2010-01-31 18:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <buo3a214azb.fsf@dhlpc061.dev.necel.com>
     [not found] ` <87ljfe5swf.fsf@marauder.physik.uni-ulm.de>
2010-01-31 18:21   ` Reiner Steib [this message]
2010-01-31 18:25     ` gnus-summary-toggle-truncation Chong Yidong

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hqy5e4n.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.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.
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).