From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabian Braennstroem Newsgroups: gmane.emacs.help Subject: Re: hide comments using preview-latex Date: Mon, 18 Dec 2006 21:58:18 +0000 Organization: www.braennstroem.de Message-ID: References: <851wmyf39a.fsf@lola.goethe.zz> Reply-To: f.braennstroem@gmx.de NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1166481650 19393 80.91.229.2 (18 Dec 2006 22:40:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Dec 2006 22:40:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 18 23:40:49 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GwR9x-0001V8-Fd for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Dec 2006 23:40:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GwR9w-0007BU-Rp for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Dec 2006 17:40:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-koe1.dfn.de!tamarack.fernuni-hagen.de!news.fernuni-hagen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: bonsai.fernuni-hagen.de Original-X-Trace: tamarack.fernuni-hagen.de 1166479093 9514 132.176.114.21 (18 Dec 2006 21:58:13 GMT) Original-X-Complaints-To: newsadmin@fernuni-hagen.de Original-NNTP-Posting-Date: Mon, 18 Dec 2006 21:58:13 +0000 (UTC) User-Agent: slrn/0.9.8.1 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:144109 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:39715 Archived-At: Hi David, * David Kastrup wrote: > Fabian Braennstroem writes: > >> Hi, >> >> I am using preview-latex (auctex version 11.83) with an >> 'old' emacs 21.3.1 on a scientific linux (redhat clone). It >> works pretty nice, but I wonder, if there is a setting to >> translate commented lines to an e.g. empty image!? Maybe, it >> is even possible to 'hide'/translate them independent of the >> actual document. Right now, I use a small function which >> hides these lines, but they are not 'folded' and auctex >> folding mode does not have a special 'comment' option. >> Does there exist such a nice function/option in >> preview-latex? Would be nice! > > That would be an awful lot of comments! Anyway, preview-latex hides > LaTeX constructs, attaching itself to macros, and comments are not > actual LaTeX constructs. So if at all, one would need to convince > syntax highlighting and/or TeX-fold-mode to cater for folding > comments. Actually I have to many comments in most of my latex files until I get close to the end ... it is a kind of collecting ideas, but maybe I should change my working habit, if 'preview' is not able to handle it. I will take a look at the other methods to hide the comments, thanks! Greetings! Fabian