From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: Re: how to not show images? Date: Thu, 19 May 2005 16:53:23 -0500 Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1116539814 20449 80.91.229.2 (19 May 2005 21:56:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 May 2005 21:56:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 19 23:56:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYsxR-0002BP-Hp for geh-help-gnu-emacs@m.gmane.org; Thu, 19 May 2005 23:53:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYt09-0005nI-Ua for geh-help-gnu-emacs@m.gmane.org; Thu, 19 May 2005 17:56:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DYszd-0005e4-56 for help-gnu-emacs@gnu.org; Thu, 19 May 2005 17:55:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DYszb-0005cY-Ay for help-gnu-emacs@gnu.org; Thu, 19 May 2005 17:55:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYszb-0005cG-2C for help-gnu-emacs@gnu.org; Thu, 19 May 2005 17:55:47 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DYt5c-0008Jy-GE for help-gnu-emacs@gnu.org; Thu, 19 May 2005 18:02:00 -0400 Original-Received: from lab2.ma.utexas.edu (mail@lab2.ma.utexas.edu [128.83.133.46]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id j4JLrNx27505; Thu, 19 May 2005 16:53:23 -0500 Original-Received: from jcorneli by lab2.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1DYsxH-0006pu-00; Thu, 19 May 2005 16:53:23 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: 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:26845 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26845 > Is there some way to _not_ show the images in a buffer or in all displayed > buffers - that is, not to remove them, but to simply not display them > (perhaps temporarily)? > > I'm looking for a user option (e.g. `show-images-flag') or a toggle command > (e.g. M-x toggle-image-display). emacs -nw Uh, that's a bit overkill, dontcha think? It is (sort of) a user option and (sort of) a toggle command. If you had said that you wanted to run an X-enabled Emacs, than yes, it would have been overkill, and off topic to boot. You could have even put how to not show images in X-enabled Emacs or how to toggle images in X-enabled Emacs in your subject line if you were feeling paranoid. As it is, I wouldn't blame your correspondent for coming up with this suggestion. This is untested, but what happens if you redefine display-images-p to return nil, reload the content you were looking at, and then define it back to normal and reload again? You could also try ,---- | remove-images is a compiled Lisp function in `image'. | (remove-images start end &optional buffer) | | Remove images between start and end in buffer. | Remove only images that were put in buffer with calls to `put-image'. | buffer nil or omitted means use the current buffer. `---- These ideas where found via apropos. It seems to me from the apropos results that toggling images is not directly supported. To make your request for information still more specific, you could run apropos to find things like `display-images-p' and `remove-images' and then say why you don't like them (assuming that you don't). You could include more information about the specific sorts of buffers you want to toggle images in, and what might happen in these buffers in between toggle operations. You could state your ideas or question about a work around or ask for help with code. Generally speaking, the more specific your messages (at whatever level), the more likely it is that people will be able to help you.