Wiki: DebugInfo: PasteIndentProblems


Detailed view of a page, which is probably more useful for debugging than anything else.

Querying backend directly for 'PasteIndentProblems'

get_pagedata('PasteIndentProblems')
 _cached_html 
transformedtext Object
(
    [_type] => pagetype_wikitext Object
        (
        )

    [_basepage] => PasteIndentProblems
    [_content] => Array
        (
            [0] => <div class="wikitext"><p class="tightenable top">&lt;cgreen&gt; trying to cut a paste from shell running VIM to another shell running VIM, indents are all screwed</p>
<p class="tightenable">&lt;
            [1] => cached_wikilink Object
                (
                    [_page] => morbuz
                )

            [2] => &gt; :set paste</p>
<p class="tightenable">&lt;
            [3] => cached_wikilink Object
                (
                    [_page] => morbuz
                )

            [4] => &gt; then :set nopaste when you're done</p>
<p class="tightenable">&lt;cgreen&gt; I have tried :set noai but editing python code and need to maintain idents of pasted text</p>
<p class="tightenable">&lt;
            [5] => cached_wikilink Object
                (
                    [_page] => morbuz
                )

            [6] => &gt; turns off autoindenting and stuff like that</p>
<hr />
<p class="tightenable">&lt;ar&gt; use :set paste! to toggle and then use the command scrollback buffer</p>
<hr />
<p class="tightenable">&lt;absolon&gt; I made myself a nice mapping for this.  Put the following in your .vimrc, and if you paste and the indentation gets fscked just press C-a.</p>
<p class="tightenable bottom">&lt;absolon&gt; inoremap &lt;silent&gt; &lt;C-a&gt; &lt;ESC&gt;u:set paste&lt;CR&gt;.:set nopaste&lt;CR&gt;gi</p>
</div>

        )

    [_description] => <absolon> I made myself a nice mapping for this.  Put the following in your .vimrc, and if you paste and the indentation gets fscked just press C-a.
)
 hits  4755
get_versiondata('PasteIndentProblems',16)
 %content  <cgreen> trying to cut a paste from shel ...
 author  74.244.134.44
 author_id  74.244.134.44
 is_minor_edit  1
 markup  2
 mtime  1189045117
 pagetype  wikitext
 summary  spam removed
get_versiondata('PasteIndentProblems',15)
 %content  <cgreen> trying to cut a paste from shel ...
 _supplanted  1189045117
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1186738426
 pagetype  wikitext
get_versiondata('PasteIndentProblems',14)
 %content  <cgreen> trying to cut a paste from shel ...
 _supplanted  1186738426
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1186712327
 pagetype  wikitext
get_versiondata('PasteIndentProblems',13)
 %content  <cgreen> trying to cut a paste from shel ...
 _supplanted  1186712327
 author  195.69.210.2
 author_id  195.69.210.2
 is_minor_edit  1
 markup  2
 mtime  1184858235
 pagetype  wikitext
get_versiondata('PasteIndentProblems',9)
 %content  <cgreen> trying to cut a paste from shel ...
 _supplanted  1183076527
 author  metacosm
 author_id  metacosm
 is_minor_edit  1
 markup  2
 mtime  1082766583
 pagetype  wikitext

Copyright © 2007 RobertMelton.com