diff options
| author | Miles Bader | 2008-02-25 00:21:57 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-02-25 00:21:57 +0000 |
| commit | ffe832ea680b4820f5ff399191f7f2d41350ee2e (patch) | |
| tree | dd42d69046f8209a8e2c89f54409ac7a0ce9bf7d | |
| parent | d8891294b81672883c21b6b957e5a17b6990b8e4 (diff) | |
| parent | ff20fdbbd2bbfa87a058c182768e3731025013ca (diff) | |
| download | emacs-ffe832ea680b4820f5ff399191f7f2d41350ee2e.tar.gz emacs-ffe832ea680b4820f5ff399191f7f2d41350ee2e.zip | |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1081
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/ChangeLog.12 | 2 | ||||
| -rw-r--r-- | lisp/files.el | 4 | ||||
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/w32fns.c | 12 |
5 files changed, 23 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eb3a907d6c3..4489d7e247f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-02-25 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * files.el (file-name-invalid-regexp): Fix octal/decimal confusion. | ||
| 4 | |||
| 1 | 2008-02-25 Juri Linkov <juri@jurta.org> | 5 | 2008-02-25 Juri Linkov <juri@jurta.org> |
| 2 | 6 | ||
| 3 | * isearch.el (isearch-fail): Use "RosyBrown1" for a light | 7 | * isearch.el (isearch-fail): Use "RosyBrown1" for a light |
diff --git a/lisp/ChangeLog.12 b/lisp/ChangeLog.12 index e7666973521..82814f2226d 100644 --- a/lisp/ChangeLog.12 +++ b/lisp/ChangeLog.12 | |||
| @@ -2595,7 +2595,7 @@ | |||
| 2595 | * bookmark.el (bookmark-buffer-file-name): Abbreviate the bookmark | 2595 | * bookmark.el (bookmark-buffer-file-name): Abbreviate the bookmark |
| 2596 | path. Rewrite function in `cond' style for readability. | 2596 | path. Rewrite function in `cond' style for readability. |
| 2597 | 2597 | ||
| 2598 | Suggested by: Stephen Eglen <S.J.Eglen{_AT_}damtp.cam.ac.uk>. | 2598 | Suggested by Stephen Eglen <S.J.Eglen{_AT_}damtp.cam.ac.uk>. |
| 2599 | (The path shortening, that is, not the rearrangement.) | 2599 | (The path shortening, that is, not the rearrangement.) |
| 2600 | 2600 | ||
| 2601 | 2007-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2601 | 2007-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
diff --git a/lisp/files.el b/lisp/files.el index 3950d5e7195..908bc95356b 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -226,12 +226,12 @@ have fast storage with limited space, such as a RAM disk." | |||
| 226 | (cond ((and (eq system-type 'ms-dos) (not (msdos-long-file-names))) | 226 | (cond ((and (eq system-type 'ms-dos) (not (msdos-long-file-names))) |
| 227 | (concat "^\\([^A-Z[-`a-z]\\|..+\\)?:\\|" ; colon except after drive | 227 | (concat "^\\([^A-Z[-`a-z]\\|..+\\)?:\\|" ; colon except after drive |
| 228 | "[+, ;=|<>\"?*]\\|\\[\\|\\]\\|" ; invalid characters | 228 | "[+, ;=|<>\"?*]\\|\\[\\|\\]\\|" ; invalid characters |
| 229 | "[\000-\031]\\|" ; control characters | 229 | "[\000-\037]\\|" ; control characters |
| 230 | "\\(/\\.\\.?[^/]\\)\\|" ; leading dots | 230 | "\\(/\\.\\.?[^/]\\)\\|" ; leading dots |
| 231 | "\\(/[^/.]+\\.[^/.]*\\.\\)")) ; more than a single dot | 231 | "\\(/[^/.]+\\.[^/.]*\\.\\)")) ; more than a single dot |
| 232 | ((memq system-type '(ms-dos windows-nt cygwin)) | 232 | ((memq system-type '(ms-dos windows-nt cygwin)) |
| 233 | (concat "^\\([^A-Z[-`a-z]\\|..+\\)?:\\|" ; colon except after drive | 233 | (concat "^\\([^A-Z[-`a-z]\\|..+\\)?:\\|" ; colon except after drive |
| 234 | "[|<>\"?*\000-\031]")) ; invalid characters | 234 | "[|<>\"?*\000-\037]")) ; invalid characters |
| 235 | (t "[\000]")) | 235 | (t "[\000]")) |
| 236 | "Regexp recognizing file names which aren't allowed by the filesystem.") | 236 | "Regexp recognizing file names which aren't allowed by the filesystem.") |
| 237 | 237 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index 928a2d9fd42..71026e1d77e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-02-25 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32fns.c (enum_font_cb2): Don't use raster fonts for Unicode. | ||
| 4 | |||
| 1 | 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu> | 5 | 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 6 | ||
| 3 | * s/vms4-0.h: | 7 | * s/vms4-0.h: |
diff --git a/src/w32fns.c b/src/w32fns.c index 838367fe399..ae6cc88ea6b 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -6063,6 +6063,12 @@ enum_font_cb2 (lplf, lptm, FontType, lpef) | |||
| 6063 | && lpef->logfont.lfCharSet == DEFAULT_CHARSET | 6063 | && lpef->logfont.lfCharSet == DEFAULT_CHARSET |
| 6064 | && strcmp (charset, w32_to_x_charset (DEFAULT_CHARSET, NULL)) != 0) | 6064 | && strcmp (charset, w32_to_x_charset (DEFAULT_CHARSET, NULL)) != 0) |
| 6065 | return 1; | 6065 | return 1; |
| 6066 | |||
| 6067 | /* Reject raster fonts if we are looking for a unicode font. */ | ||
| 6068 | if (charset | ||
| 6069 | && FontType == RASTER_FONTTYPE | ||
| 6070 | && strncmp (charset, "iso10646", 8) == 0) | ||
| 6071 | return 1; | ||
| 6066 | } | 6072 | } |
| 6067 | 6073 | ||
| 6068 | if (charset) | 6074 | if (charset) |
| @@ -6079,6 +6085,12 @@ enum_font_cb2 (lplf, lptm, FontType, lpef) | |||
| 6079 | Lisp_Object this_charset = Fcar (charset_list); | 6085 | Lisp_Object this_charset = Fcar (charset_list); |
| 6080 | charset = SDATA (this_charset); | 6086 | charset = SDATA (this_charset); |
| 6081 | 6087 | ||
| 6088 | /* Don't list raster fonts as unicode. */ | ||
| 6089 | if (charset | ||
| 6090 | && FontType == RASTER_FONTTYPE | ||
| 6091 | && strncmp (charset, "iso10646", 8) == 0) | ||
| 6092 | continue; | ||
| 6093 | |||
| 6082 | enum_font_maybe_add_to_list (lpef, &(lplf->elfLogFont), | 6094 | enum_font_maybe_add_to_list (lpef, &(lplf->elfLogFont), |
| 6083 | charset, width); | 6095 | charset, width); |
| 6084 | 6096 | ||