]> git.pld-linux.org Git - packages/mutt.git/blob - patch-0.94.7.vikas.word_chars.1
252830d2a99c2b7ac90946984beba69660559fb9
[packages/mutt.git] / patch-0.94.7.vikas.word_chars.1
1 Index: enter.c
2 ===================================================================
3 RCS file: /export/home/vikas/CVS/Mutt/enter.c,v
4 retrieving revision 1.1.1.4
5 diff -u -p -r1.1.1.4 enter.c
6 --- enter.c     1998/09/18 13:09:38     1.1.1.4
7 +++ enter.c     1998/09/21 23:05:21
8 @@ -274,9 +274,9 @@ int mutt_enter_string (unsigned char *bu
9               j--;
10             if (j > 0)
11             {
12 -             if (isalnum (buf[j - 1]))
13 +             if (!strchr (NONULL (Wordchars), (buf[j - 1])))
14               {
15 -               for (j--; j > 0 && isalnum (buf[j - 1]); j--)
16 +               for (j--; j > 0 && !strchr (NONULL (Wordchars), buf[j - 1]); j--)
17                   ;
18               }
19               else
20 Index: globals.h
21 ===================================================================
22 RCS file: /export/home/vikas/CVS/Mutt/globals.h,v
23 retrieving revision 1.1.1.2
24 diff -u -p -r1.1.1.2 globals.h
25 --- globals.h   1998/08/24 19:42:35     1.1.1.2
26 +++ globals.h   1998/09/21 23:01:27
27 @@ -80,6 +80,7 @@ WHERE char *Tempdir;
28  WHERE char *Tochars;
29  WHERE char *Username;
30  WHERE char *Visual;
31 +WHERE char *Wordchars;
32  
33  WHERE char *LastFolder;
34  
35 Index: init.h
36 ===================================================================
37 RCS file: /export/home/vikas/CVS/Mutt/init.h,v
38 retrieving revision 1.1.1.8
39 diff -Nru mutt-1.1.11.orig/init.h mutt-1.1.11/init.h
40 --- init.h      Sun Apr  2 22:54:00 2000
41 +++ init.h      Sun Apr  2 22:54:46 2000
42 @@ -2074,6 +2074,7 @@
43    ** When set, Mutt will always ask for a key. When unset, Mutt will wait
44    ** for a key only if the external command returned a non-zero status.
45    */
46 +  { "word_chars",   DT_STR,   R_NONE, UL &Wordchars, UL " *?_-.[]~=/&;!#$%^(){}<>@" },
47    { "weed",            DT_BOOL, R_NONE, OPTWEED, 1 },
48    /*
49    ** .pp
50 diff -u -p -r1.1.1.8 init.h
51 --- patchlist.c.orig    Sat Sep 19 02:29:51 1998
52 +++ patchlist.c Sat Sep 19 02:54:16 1998
53 @@ -16,6 +16,8 @@
54  
55  
56  
57 +  printf("Feature patch: word_chars           0.94.7 by Vikas Agnihotri\n");
58 +
59  
60  
61    /* DO NOT MODIFY AFTER THIS LINE */
This page took 0.02855 seconds and 2 git commands to generate.