all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: about showing all characters including non-printable, control etc
Date: Mon, 05 Oct 2009 11:03:48 +1100	[thread overview]
Message-ID: <87y6nqogez.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.7984.1254634925.2239.help-gnu-emacs@gnu.org

Harry Putnam <reader@newsguy.com> writes:

> Bernardo <bernardo.bacic@pobox.com> writes:
>
>>> Apparently something has to be loaded to use whitespace-global-mode.
>>> My emacs knows nothing about it.
>>>
>>> C-h i <RET> m <RET> i whitespace-global-mode <RET>
>>>
>>> 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 <RET> global-whitespace-mode
>>>
>>> Loads the source file... but still setting the check call fails here:
>>>
>>>   M-x whitespace-toggle-s<tab>  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.
>
>
For emacs 23

>

-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2009-10-05  0:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7947.1254592734.2239.help-gnu-emacs@gnu.org>
2009-10-03 19:37 ` about showing all characters including non-printable, control etc John A Pershing Jr
2009-10-04  2:21   ` Harry Putnam
     [not found]   ` <mailman.7980.1254622935.2239.help-gnu-emacs@gnu.org>
2009-10-04  2:38     ` Pascal J. Bourguignon
2009-10-04  4:22       ` Harry Putnam
2009-10-04  4:02         ` Bernardo
2009-10-04  5:41           ` Harry Putnam
2009-10-04 22:39             ` Bernardo
2009-10-05 15:34               ` Harry Putnam
     [not found]               ` <mailman.8080.1254756945.2239.help-gnu-emacs@gnu.org>
2009-10-06  4:25                 ` Xah Lee
2009-10-06 14:23                   ` Harry Putnam
     [not found]           ` <mailman.7984.1254634925.2239.help-gnu-emacs@gnu.org>
2009-10-05  0:03             ` Tim X [this message]
2009-10-05 15:36               ` Harry Putnam
     [not found]               ` <mailman.8081.1254757216.2239.help-gnu-emacs@gnu.org>
2009-10-06  6:43                 ` Tim X
2009-10-06 14:19                   ` Harry Putnam
2009-10-03 17:58 Harry Putnam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y6nqogez.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.