From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69383 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: gnus-summary-toggle-truncation Date: Sun, 31 Jan 2010 19:21:44 +0100 Message-ID: <877hqy5e4n.fsf@marauder.physik.uni-ulm.de> References: <87ljfe5swf.fsf@marauder.physik.uni-ulm.de> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264962132 12031 80.91.229.12 (31 Jan 2010 18:22:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Jan 2010 18:22:12 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 31 19:22:09 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NbeQz-00076K-86 for ged-emacs-devel@m.gmane.org; Sun, 31 Jan 2010 19:22:09 +0100 Original-Received: from localhost ([127.0.0.1]:41589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbeQy-0007OP-JK for ged-emacs-devel@m.gmane.org; Sun, 31 Jan 2010 13:22:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbeQm-0007LE-OA for emacs-devel@gnu.org; Sun, 31 Jan 2010 13:21:56 -0500 Original-Received: from [199.232.76.173] (port=57140 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbeQm-0007Kw-4s for emacs-devel@gnu.org; Sun, 31 Jan 2010 13:21:56 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbeQk-0003xC-Pc for emacs-devel@gnu.org; Sun, 31 Jan 2010 13:21:55 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]:47797) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NbeQg-0003vJ-UM; Sun, 31 Jan 2010 13:21:51 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.3/8.14.2) with ESMTP id o0VILlhT004598; Sun, 31 Jan 2010 19:21:47 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 37A9513C99; Sun, 31 Jan 2010 19:21:47 +0100 (CET) X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T; w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv, vbL^XF1nIp\:F=$Ei2o&mEe:%N~, :3]vtQ~s9u$9izmX$IF@VgGl7/, ^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Followup-To: Miles Bader , ding@gnus.org, emacs-devel@gnu.org In-Reply-To: <87ljfe5swf.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sun, 31 Jan 2010 14:02:40 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-SIHOPE-DCC-3-Metrics: poseidon 1085; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120754 gmane.emacs.gnus.general:69383 Archived-At: [ 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/