From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: about showing all characters including non-printable, control etc Date: Sun, 04 Oct 2009 00:41:26 -0500 Organization: Still searching... Message-ID: <87skdzwwah.fsf@newsguy.com> References: <82eipkw9pd.fsf@alum.mit.edu> <87y6nrvq78.fsf@galatea.local> <87ws3bwzy2.fsf@newsguy.com> <4AC81E68.2080307@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254634966 23338 80.91.229.12 (4 Oct 2009 05:42:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Oct 2009 05:42:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 04 07:42:39 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 1MuJri-0002XZ-HD for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Oct 2009 07:42:38 +0200 Original-Received: from localhost ([127.0.0.1]:37057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuJrh-0005EX-Ja for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Oct 2009 01:42:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuJrA-0005EE-Ie for help-gnu-emacs@gnu.org; Sun, 04 Oct 2009 01:42:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuJr4-0005CB-Bt for help-gnu-emacs@gnu.org; Sun, 04 Oct 2009 01:42:02 -0400 Original-Received: from [199.232.76.173] (port=58431 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuJr4-0005C3-7f for help-gnu-emacs@gnu.org; Sun, 04 Oct 2009 01:41:58 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:59434) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MuJr3-0007rQ-RG for help-gnu-emacs@gnu.org; Sun, 04 Oct 2009 01:41:58 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MuJr1-0002Pq-E8 for help-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:41:55 +0200 Original-Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Oct 2009 07:41:55 +0200 Original-Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Oct 2009 07:41:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 70 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:qFXpliWEyEeYgETSgRBiXa8eYIc= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:68663 Archived-At: Bernardo writes: >> Apparently something has to be loaded to use whitespace-global-mode. >> My emacs knows nothing about it. >> >> C-h i m i whitespace-global-mode >> >> Info doesn't know about it either. >> >> Finally: >> grep -r whitespace-global-mode /usr/share/emacs/23.1.50 >> Shows the name has been aliased to: >> usr/share/emacs/23.1.50/etc/NEWS.22:*** `global-whitespace-mode' >> is a new alias for `whitespace-global-mode'. >> >> M-x load-library global-whitespace-mode >> >> Loads the source file... but still setting the check call fails here: >> >> M-x whitespace-toggle-s fails to find anything >> >> Maybe more names are changed? >> What version of emacs are you running. > does M-x apropos RET whitespace RET > list whitespace-mode? yes... (thanks) under global-whitespace-mode >From what it says apparently if you have global-whitespace-mode on you should have a WS on mode line that toggles `visualization' on/off. I have that. `WS' with it on... what am I supposed to see? When I go to one of the messages with the tab in it... I still don't see them. No one ever said what this mode is supposed to do... I mentioned in my OP the vim command :l that shows tabs and lots of other stuff... in a line. Is there a command in emacs that does that?... or is it an endless bunch of jerking around to see tabs....sorry don't mean to be a wise ass. But this is getting to be a lot of jumping through hoops and no results. I think I'll just stick to my home made defuns... but can you tell me how to make this a toggle? And how to make it apply to just the current line. The toggle would be the most important... in fact showing the whole buffer would probably be more useful than not. (defun vi-list () "Simulate a :set list in Vi." (interactive) (standard-display-ascii ?\t "^I") (standard-display-ascii ?\n "$\n") ) (defun vi-nolist () "Simulate a :set nolist in Vi." (interactive) (standard-display-ascii ?\t "\t") (standard-display-ascii ?\n "\n") ) What would be really useful would be to set things up so that after pressing M-x vi-list The first scroll kind of motion would automatically call vi-nolist. That's pretty much how it works in vim.. I don't know the mechanics but if you press :l The current line is shown but soon as you move it goes off. nice.