From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Breitfeld Newsgroups: gmane.emacs.help Subject: indentation of summary buffer after display-as-charset Date: Sun, 19 Apr 2009 23:55:52 +0200 Organization: SFZ Bad Saulgau Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240180853 11784 80.91.229.12 (19 Apr 2009 22:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Apr 2009 22:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 20 00:42:13 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LvfiG-0002CF-G0 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2009 00:42:13 +0200 Original-Received: from localhost ([127.0.0.1]:60149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lvfgr-0005GP-M4 for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Apr 2009 18:40:45 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-X-Trace: news.t-online.com 1240178152 03 n5661 YvPrQHPlFNTMGVh 090419 21:55:52 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: VC5Uh8ZUreoLfBiCL83HFARZlBamLfU7IEabjmGLKA8JkDlzcsOFgG User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) X-Face: &mv`(~f`UJW/gSnc3iLGGeudu3IA^,uQh?!NM$!X2|XdZO!3|~GQh^)N*(waL ybsdD*ANF)Q(ol:{n:uX;OBLnm!./~MX% List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63889 Archived-At: To change the display of articles to another charset I use the following function in my .gnus: (defun brf-view-article-as-charset () (interactive) (message "Anzeige in: latin-[1], latin-[9]/15, [u]tf-8, [c]p1252") (let ((answer (read-char))) (cond ((eq answer ?1) (gnus-summary-show-article-from-menu-as-charset-iso-8859-1)) ((eq answer ?9) (gnus-summary-show-article-from-menu-as-charset-iso-8859-9)) ((eq answer ?c) (gnus-summary-show-article-from-menu-as-charset-cp1252)) ((eq answer ?u) (gnus-summary-show-article-from-menu-as-charset-utf-8)))) (gnus-summary-rethread-current)) This works pretty well, but there is a little annoyance: Sometimes -- not always -- the threading gets distorted. The current article in the summary thread is shifted to the left or even became the root of a new thread. This also happens when I call the display change from the menu (Article/Display/Display as charset). I tried several approaches for the last line instead of (gnus-summary-rethread-current) including to omit this line. What I want is just to have the article altered and keep the summary-buffer unchanged. Any hints TIA -- _________________________________________________________________ Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de