repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 19db0ee1c8e2de99725c1ae11a0c8ac938e8a1f0:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 19db0ee1c8e2de99725c1ae11a0c8ac938e8a1f0
Author: Marc Lehmann 
Date:   Thu Jan 12 23:11:23 2006 +0000

    *** empty log message ***

diff --git a/README.FAQ b/README.FAQ
index 2685bde81efaaf9ec22629aecf53d66fdfe2a1c6..
index ..3950361f03b073d7c204035a351b80083db7f8e5 100644
--- a/README.FAQ
+++ b/README.FAQ
@@ -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
diff --git a/doc/rxvt.7.html b/doc/rxvt.7.html
index 97b522d66feb42cc75a3bf759b7015886cabc84a..
index ..c4ce110e114139da55ae93ac479d7ee07f4af52b 100644
--- a/doc/rxvt.7.html
+++ b/doc/rxvt.7.html
@@ -75,6 +75,29 @@ also available on the World Wide Web at
 

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?
diff --git a/doc/rxvt.7.man.in b/doc/rxvt.7.man.in
index b74ef3dcd23f5fedd54ff7e58ae31397d0d00710..
index ..7efc7152e7902db6d035c38266df719208c69d32 100644
--- a/doc/rxvt.7.man.in
+++ b/doc/rxvt.7.man.in
@@ -129,7 +129,7 @@
 .\" ========================================================================
 .\"
 .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
 .
 .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
diff --git a/doc/rxvt.7.pod b/doc/rxvt.7.pod
index 51ade03f7e9cd2570c73bc77d4c225169c745e6a..
index ..76e336f47f228f5bedfcf3ccc390accdc7234786 100644
--- a/doc/rxvt.7.pod
+++ b/doc/rxvt.7.pod
@@ -26,6 +26,21 @@ L.

 =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?

diff --git a/doc/rxvt.7.txt b/doc/rxvt.7.txt
index 257ec8aa656740ce49b908de6ca0f6526a7914ce..
index ..86e732d3de8a60fe33954095314983377163df10 100644
--- a/doc/rxvt.7.txt
+++ b/doc/rxvt.7.txt
@@ -20,6 +20,21 @@ DESCRIPTION
     .

 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
diff --git a/src/perl/selection b/src/perl/selection
index f4a9d4243dcc8444b1a444c3152a1cb0d0d00db5..
index ..927a11c37336aa9656a75986398f23accde9abd4 100644
--- a/src/perl/selection
+++ b/src/perl/selection
@@ -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,

-----END OF PAGE-----