]> git.pld-linux.org Git - packages/mutt.git/blame - patch-0.94.7.vikas.word_chars.1
1.3.17i
[packages/mutt.git] / patch-0.94.7.vikas.word_chars.1
CommitLineData
7e5fb030 1Index: enter.c
2===================================================================
3RCS file: /export/home/vikas/CVS/Mutt/enter.c,v
4retrieving revision 1.1.1.4
5diff -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
20Index: globals.h
21===================================================================
22RCS file: /export/home/vikas/CVS/Mutt/globals.h,v
23retrieving revision 1.1.1.2
24diff -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
35Index: init.h
36===================================================================
37RCS file: /export/home/vikas/CVS/Mutt/init.h,v
38retrieving revision 1.1.1.8
39diff -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
50diff -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.04135 seconds and 4 git commands to generate.