From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: about showing all characters including non-printable, control etc
Date: Sun, 04 Oct 2009 04:38:19 +0200 [thread overview]
Message-ID: <87y6nrvq78.fsf@galatea.local> (raw)
In-Reply-To: mailman.7980.1254622935.2239.help-gnu-emacs@gnu.org
Harry Putnam <reader@newsguy.com> writes:
> John A Pershing Jr <pershing@alum.mit.edu> writes:
>
>> Harry Putnam <reader@newsguy.com> writes:
>>
>>> How can I make emacs show all the characters in a given line?
>>
>> Ummmm... By default, Emacs *does* show all the characters in each
>> line. Can you give us a bit more detail on what sort of characters you
>> are using, and what is (or isn't) getting displayed?
>>
>> Note: \x01\x02\x03\x04\x05\x06\a...
>
> In the instant case I was looking for tabs in a rc file that requires
> tabs and not spc... here is a sample:
> (Its an rsnapshot.conf file)
>
> There two tabs after each variable name... then the value:
>
> # All snapshots will be stored under this root directory.
> snapshot_root /bk/rsnap/home
> cmd_cp /bin/cp
> # uncomment this to use the rm program instead of the built-in perl routine
> cmd_rm /bin/rm
>
> Maybe its just a setting on my end and only tabs are invisible.
>
> Do you see the two tabs by default?
Well, there shouldn't be tabs in text files (but Makefiles, as a
legacy exception). Use M-x untabify RET to replace them by spaces.
Now, you can use M-x whitespace-global-mode RET
and toggle on the M-x whitespace-toggle-spacetab-check RET
that will show you when there are spaces before tabs.
You could modify the whitespace-spacetab-regexp to match any sequence
of space and tab containing at least one tab, or just tabs.
--
__Pascal Bourguignon__
next prev parent reply other threads:[~2009-10-04 2:38 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 [this message]
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
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=87y6nrvq78.fsf@galatea.local \
--to=pjb@informatimago.com \
--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.