Ben,

Excellent answer!  Thanks!

--Fred
------------------------------------------------------------------------
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.
------------------------------------------------------------------------

On 5/23/17 6:46 PM, Ben Finney wrote:
Fred Stluka <f...@bristle.com> writes:

On 5/23/17 4:43 PM, Ben Finney wrote:

The ‘set-selective-display’ command […] is bound to ‘C-x $’ in
default Emacs.
How do I specify the number of columns when using "C-x $"?
You will remember, from doing the Emacs tutorial when you first learned
Emacs, that all commands have a “prefix argument” available
<URL:https://www.emacswiki.org/emacs/PrefixArgument> that the command
can use to modify its behaviour.

So, use the prefix argument to specify the number of columns for
‘set-selective-display’.

E.g.:

     M-9 C-x $          # Indentation >= 9 disappears.
     C-u C-x $          # Indentation >= 4 disappears.
     C-u 1 3 C-x $      # Indentation >= 13 disappears.
     C-u C-u C-u $      # Indentation >= 64 disappears.
     C-x $              # All lines reappear.

etc.

Same for using the command at the M-x prompt. I type "M-x" and see the
M-x prompt, then then type "set-selective-display" using tab to
autocomplete it. But I can't then type a column number after a space
or in parens or anything. What am I missing?
Time to work through the Emacs tutorial again; ‘C-h t’ :-)


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to