*** empty log message ***
authorroot <root>
Thu, 12 Jan 2006 23:11:23 +0000 (23:11 +0000)
committerroot <root>
Thu, 12 Jan 2006 23:11:23 +0000 (23:11 +0000)
README.FAQ
doc/rxvt.7.html
doc/rxvt.7.man.in
doc/rxvt.7.pod
doc/rxvt.7.txt
src/perl/selection

index 2685bde81efaaf9ec22629aecf53d66fdfe2a1c6..3950361f03b073d7c204035a351b80083db7f8e5 100644 (file)
@@ -1,4 +1,19 @@
 FREQUENTLY ASKED QUESTIONS
+    The new selection selects pieces that are too big/too small, can I
+    change this?
+        Yes. For example, if you want to select smaller pieces ("words") you
+        can use the following resource:
+
+           URxvt.selection.pattern-0: ([[:word:]]+)
+
+        If you click more than twice, the selection will be extended more
+        and more.
+
+        To get a selection that is very similar to the old code, try this
+        pattern:
+
+           URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+)
+
     I don't like the new selection/popups/hotkeys/perl, how do I
     change/disable it?
         You can disable the perl extension completely by setting the
index 97b522d66feb42cc75a3bf759b7015886cabc84a..c4ce110e114139da55ae93ac479d7ee07f4af52b 100644 (file)
@@ -75,6 +75,29 @@ also available on the World Wide Web at
 <hr />
 <h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1>
 <dl>
+<dt><strong><a name="item_the_new_selection_selects_pieces_that_are_too_big_">The new selection selects pieces that are too big/too small, can I
+change this?</a></strong><br />
+</dt>
+<dd>
+Yes. For example, if you want to select smaller pieces (``words'') you can
+use the following resource:
+</dd>
+<dd>
+<pre>
+   URxvt.selection.pattern-0: ([[:word:]]+)</pre>
+</dd>
+<dd>
+<p>If you click more than twice, the selection will be extended
+more and more.</p>
+</dd>
+<dd>
+<p>To get a selection that is very similar to the old code, try this pattern:</p>
+</dd>
+<dd>
+<pre>
+   URxvt.selection.pattern-0: ([^&quot;&amp;'()*,;&lt;=&gt;?@[\\\\]^`{|})]+)</pre>
+</dd>
+<p></p>
 <dt><strong><a name="item_i_don_27t_like_the_new_selection_2fpopups_2fhotkey">I don't like the new selection/popups/hotkeys/perl, how do I
 change/disable it?</a></strong><br />
 </dt>
index b74ef3dcd23f5fedd54ff7e58ae31397d0d00710..7efc7152e7902db6d035c38266df719208c69d32 100644 (file)
 .\" ========================================================================
 .\"
 .IX Title "rxvt 7"
-.TH rxvt 7 "2006-01-12" "7.0" "RXVT-UNICODE"
+.TH rxvt 7 "2006-01-13" "7.0" "RXVT-UNICODE"
 .SH "NAME"
 RXVT REFERENCE \- FAQ, command sequences and other background information
 .SH "SYNOPSIS"
@@ -158,6 +158,23 @@ also available on the World Wide Web at
 <http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>.
 .SH "FREQUENTLY ASKED QUESTIONS"
 .IX Header "FREQUENTLY ASKED QUESTIONS"
+.IP "The new selection selects pieces that are too big/too small, can I change this?" 4
+.IX Item "The new selection selects pieces that are too big/too small, can I change this?"
+Yes. For example, if you want to select smaller pieces (\*(L"words\*(R") you can
+use the following resource:
+.Sp
+.Vb 1
+\&   URxvt.selection.pattern-0: ([[:word:]]+)
+.Ve
+.Sp
+If you click more than twice, the selection will be extended
+more and more.
+.Sp
+To get a selection that is very similar to the old code, try this pattern:
+.Sp
+.Vb 1
+\&   URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\e\e\e\e]^`{|})]+)
+.Ve
 .IP "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4
 .IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?"
 You can disable the perl extension completely by setting the
index 51ade03f7e9cd2570c73bc77d4c225169c745e6a..76e336f47f228f5bedfcf3ccc390accdc7234786 100644 (file)
@@ -26,6 +26,21 @@ L<http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>.
 
 =over 4
 
+=item The new selection selects pieces that are too big/too small, can I
+change this?
+
+Yes. For example, if you want to select smaller pieces ("words") you can
+use the following resource:
+
+   URxvt.selection.pattern-0: ([[:word:]]+)
+
+If you click more than twice, the selection will be extended
+more and more.
+
+To get a selection that is very similar to the old code, try this pattern:
+
+   URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+)
+
 =item I don't like the new selection/popups/hotkeys/perl, how do I
 change/disable it?
 
index 257ec8aa656740ce49b908de6ca0f6526a7914ce..86e732d3de8a60fe33954095314983377163df10 100644 (file)
@@ -20,6 +20,21 @@ DESCRIPTION
     <http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>.
 
 FREQUENTLY ASKED QUESTIONS
+    The new selection selects pieces that are too big/too small, can I
+    change this?
+        Yes. For example, if you want to select smaller pieces ("words") you
+        can use the following resource:
+
+           URxvt.selection.pattern-0: ([[:word:]]+)
+
+        If you click more than twice, the selection will be extended more
+        and more.
+
+        To get a selection that is very similar to the old code, try this
+        pattern:
+
+           URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+)
+
     I don't like the new selection/popups/hotkeys/perl, how do I
     change/disable it?
         You can disable the perl extension completely by setting the
index f4a9d4243dcc8444b1a444c3152a1cb0d0d00db5..927a11c37336aa9656a75986398f23accde9abd4 100644 (file)
@@ -22,9 +22,7 @@ sub on_init {
 
 # "find interetsing things"-patterns
 my @mark_patterns = (
-   qr{([[:word:]]+)},
-
-   # common "parentheses"
+   # common types of "parentheses"
    qr{(?:^|\s) ‘  ([^‘’]+?) ’ (?:\s|\)|$)}x,
    qr{(?:^|\s) `  ([^`']+?) ' (?:\s|\)|$)}x,
    qr{         \{ ([^{}]+?) \} }x,