diff options
| -rw-r--r-- | admin/CPP-DEFINES | 1 | ||||
| -rw-r--r-- | admin/ChangeLog | 7 | ||||
| -rw-r--r-- | admin/bzrmerge.el | 8 | ||||
| -rw-r--r-- | lisp/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/shr.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/sh-script.el | 8 | ||||
| -rw-r--r-- | src/ChangeLog | 31 | ||||
| -rw-r--r-- | src/buffer.c | 14 | ||||
| -rw-r--r-- | src/dired.c | 3 | ||||
| -rw-r--r-- | src/fileio.c | 6 | ||||
| -rw-r--r-- | src/s/msdos.h | 4 |
12 files changed, 74 insertions, 28 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 73c4ed2eb4d..9fc7ce3e33d 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -95,7 +95,6 @@ EMACS_CONFIGURATION | |||
| 95 | EMACS_CONFIG_OPTIONS | 95 | EMACS_CONFIG_OPTIONS |
| 96 | EMACS_INT | 96 | EMACS_INT |
| 97 | EMACS_UINT | 97 | EMACS_UINT |
| 98 | FILE_SYSTEM_CASE | ||
| 99 | FLOAT_CHECK_DOMAIN | 98 | FLOAT_CHECK_DOMAIN |
| 100 | GC_LISP_OBJECT_ALIGNMENT | 99 | GC_LISP_OBJECT_ALIGNMENT |
| 101 | GC_MARK_SECONDARY_STACK | 100 | GC_MARK_SECONDARY_STACK |
diff --git a/admin/ChangeLog b/admin/ChangeLog index 1aa086cd52e..0d059714788 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-07-17 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * CPP-DEFINES: Remove FILE_SYSTEM_CASE. | ||
| 4 | |||
| 5 | 2012-07-17 Chong Yidong <cyd@gnu.org> | ||
| 6 | |||
| 7 | * Version 24.1 released. | ||
| 1 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | Assume mkdir, perror, rename, rmdir, strerror. | 10 | Assume mkdir, perror, rename, rmdir, strerror. |
diff --git a/admin/bzrmerge.el b/admin/bzrmerge.el index 4f5cee14737..977e95860e2 100644 --- a/admin/bzrmerge.el +++ b/admin/bzrmerge.el | |||
| @@ -138,17 +138,17 @@ Type `y' to skip this revision, | |||
| 138 | `N' to include it and go on to the next revision, | 138 | `N' to include it and go on to the next revision, |
| 139 | `n' to not skip, but continue to search this log entry for skip regexps, | 139 | `n' to not skip, but continue to search this log entry for skip regexps, |
| 140 | `q' to quit merging.")) | 140 | `q' to quit merging.")) |
| 141 | (case (save-excursion | 141 | (pcase (save-excursion |
| 142 | (read-char-choice | 142 | (read-char-choice |
| 143 | (format "%s: Skip (y/n/N/q/%s)? " str | 143 | (format "%s: Skip (y/n/N/q/%s)? " str |
| 144 | (key-description (vector help-char))) | 144 | (key-description (vector help-char))) |
| 145 | '(?y ?n ?N ?q))) | 145 | '(?y ?n ?N ?q))) |
| 146 | (?y (setq skip t)) | 146 | (`?y (setq skip t)) |
| 147 | (?q (keyboard-quit)) | 147 | (`?q (keyboard-quit)) |
| 148 | ;; A single log entry can match skip-regexp multiple | 148 | ;; A single log entry can match skip-regexp multiple |
| 149 | ;; times. If you are sure you don't want to skip it, | 149 | ;; times. If you are sure you don't want to skip it, |
| 150 | ;; you don't want to be asked multiple times. | 150 | ;; you don't want to be asked multiple times. |
| 151 | (?N (setq skip 'no)))))) | 151 | (`?N (setq skip 'no)))))) |
| 152 | (if (eq skip t) | 152 | (if (eq skip t) |
| 153 | (push revno skipped) | 153 | (push revno skipped) |
| 154 | (push revno revnos))))) | 154 | (push revno revnos))))) |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 04cf8291dff..1648aa3bea7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last | ||
| 4 | change (bug#11826). | ||
| 5 | |||
| 6 | 2012-07-17 Glenn Morris <rgm@gnu.org> | ||
| 7 | 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 8 | |||
| 3 | * progmodes/cc-engine.el (c-forward-sws, c-backward-sws): | 9 | * progmodes/cc-engine.el (c-forward-sws, c-backward-sws): |
| 4 | Avoid spuriously marking the buffer as modified because of c-is-sws. | 10 | Avoid spuriously marking the buffer as modified because of c-is-sws. |
| 5 | 11 | ||
| @@ -340,6 +346,12 @@ | |||
| 340 | read-file-name-completion-ignore-case is non-nil. Don't use | 346 | read-file-name-completion-ignore-case is non-nil. Don't use |
| 341 | case-fold-search for this purpose. (Bug#11827) | 347 | case-fold-search for this purpose. (Bug#11827) |
| 342 | 348 | ||
| 349 | 2012-07-17 Andreas Schwab <schwab@linux-m68k.org> | ||
| 350 | |||
| 351 | * calendar/cal-dst.el (calendar-current-time-zone): | ||
| 352 | Return calendar-current-time-zone-cache if non-nil. | ||
| 353 | |||
| 354 | 2012-07-17 Masatake YAMATO <yamato@redhat.com> | ||
| 343 | 2012-07-06 Andreas Schwab <schwab@linux-m68k.org> | 355 | 2012-07-06 Andreas Schwab <schwab@linux-m68k.org> |
| 344 | 356 | ||
| 345 | * calendar/cal-dst.el (calendar-current-time-zone): | 357 | * calendar/cal-dst.el (calendar-current-time-zone): |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 41966497607..6c1d2b9b624 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-07-17 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * shr.el (shr-expand-url): Handle URL starting with `//'. | ||
| 4 | |||
| 5 | 2012-07-17 Toke Høiland-Jørgensen <toke@toke.dk> (tiny change) | ||
| 1 | 2012-07-13 Chong Yidong <cyd@gnu.org> | 6 | 2012-07-13 Chong Yidong <cyd@gnu.org> |
| 2 | 7 | ||
| 3 | * smime.el (smime-certificate-info): Set buffer-read-only directly, | 8 | * smime.el (smime-certificate-info): Set buffer-read-only directly, |
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index bf6e57e8d79..e7a6c5d2081 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el | |||
| @@ -484,6 +484,9 @@ size, and full-buffer size." | |||
| 484 | (string-match "\\`[a-z]*:" url) | 484 | (string-match "\\`[a-z]*:" url) |
| 485 | (not shr-base)) | 485 | (not shr-base)) |
| 486 | url) | 486 | url) |
| 487 | ((and (string-match "\\`//" url) | ||
| 488 | (string-match "\\`[a-z]*:" shr-base)) | ||
| 489 | (concat (match-string 0 shr-base) url)) | ||
| 487 | ((and (not (string-match "/\\'" shr-base)) | 490 | ((and (not (string-match "/\\'" shr-base)) |
| 488 | (not (string-match "\\`/" url))) | 491 | (not (string-match "\\`/" url))) |
| 489 | (concat shr-base "/" url)) | 492 | (concat shr-base "/" url)) |
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 034cfa4b394..be664c6fc6e 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -1096,12 +1096,12 @@ subshells can nest." | |||
| 1096 | (")" (0 (sh-font-lock-paren (match-beginning 0)))) | 1096 | (")" (0 (sh-font-lock-paren (match-beginning 0)))) |
| 1097 | ;; Highlight (possibly nested) subshells inside "" quoted | 1097 | ;; Highlight (possibly nested) subshells inside "" quoted |
| 1098 | ;; regions correctly. | 1098 | ;; regions correctly. |
| 1099 | ("\"\\(?:\\(?:[^\\\"]\\|\\)*?[^\\]\\(?:\\\\\\\\\\)*\\)??\\(\\$(\\|`\\)" | 1099 | ("\"\\(?:\\(?:[^\\\"]\\|\\\\.\\)*?\\)??\\(\\$(\\|`\\)" |
| 1100 | (1 (ignore | 1100 | (1 (ignore |
| 1101 | ;; Save excursion because we want to also apply other | 1101 | (if (nth 8 (save-excursion (syntax-ppss (match-beginning 0)))) |
| 1102 | ;; syntax-propertize rules within the affected region. | ||
| 1103 | (if (nth 8 (syntax-ppss)) | ||
| 1104 | (goto-char (1+ (match-beginning 0))) | 1102 | (goto-char (1+ (match-beginning 0))) |
| 1103 | ;; Save excursion because we want to also apply other | ||
| 1104 | ;; syntax-propertize rules within the affected region. | ||
| 1105 | (save-excursion | 1105 | (save-excursion |
| 1106 | (sh-font-lock-quoted-subshell end))))))) | 1106 | (sh-font-lock-quoted-subshell end))))))) |
| 1107 | (point) end)) | 1107 | (point) end)) |
diff --git a/src/ChangeLog b/src/ChangeLog index b169bcca880..b78f261b496 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,34 @@ | |||
| 1 | 2012-07-17 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | Remove FILE_SYSTEM_CASE. | ||
| 4 | * s/msdos.h (FILE_SYSTEM_CASE): Don't define. | ||
| 5 | |||
| 6 | * fileio.c (FILE_SYSTEM_CASE): Don't define. | ||
| 7 | (Ffile_name_directory, Fexpand_file_name): Don't use FILE_SYSTEM_CASE. | ||
| 8 | Fixes problems on MS-DOS with Vtemp_file_name_pattern when | ||
| 9 | call-process-region passes it through expand-file-name. | ||
| 10 | |||
| 11 | * dired.c (file_name_completion): Don't use FILE_SYSTEM_CASE. | ||
| 12 | |||
| 13 | 2012-07-17 Andreas Schwab <schwab@linux-m68k.org> | ||
| 14 | |||
| 15 | Fix crash when creating indirect buffer (Bug#11917) | ||
| 16 | * buffer.c (buffer_lisp_local_variables): Add argument CLONE. | ||
| 17 | Don't handle unbound variables specially if non-zero. | ||
| 18 | (Fbuffer_local_variables): Pass zero. | ||
| 19 | (clone_per_buffer_values): Pass non-zero. | ||
| 20 | |||
| 21 | 2012-07-17 Andreas Schwab <schwab@linux-m68k.org> | ||
| 22 | |||
| 23 | * gnutls.c (emacs_gnutls_handshake): Revert last change. Add QUIT | ||
| 24 | to make the loop interruptible. | ||
| 25 | |||
| 26 | 2012-07-17 Andreas Schwab <schwab@linux-m68k.org> | ||
| 27 | |||
| 28 | * gnutls.c (emacs_gnutls_handshake): Only retry if | ||
| 29 | GNUTLS_E_INTERRUPTED. | ||
| 30 | |||
| 31 | 2012-07-17 Eli Zaretskii <eliz@gnu.org> | ||
| 1 | 2012-07-17 Dmitry Antipov <dmantipov@yandex.ru> | 32 | 2012-07-17 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 33 | ||
| 3 | Cleanup and convert miscellaneous checks to eassert. | 34 | Cleanup and convert miscellaneous checks to eassert. |
diff --git a/src/buffer.c b/src/buffer.c index eaa3d94de34..1e1bd933f93 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -153,7 +153,7 @@ static void alloc_buffer_text (struct buffer *, ptrdiff_t); | |||
| 153 | static void free_buffer_text (struct buffer *b); | 153 | static void free_buffer_text (struct buffer *b); |
| 154 | static struct Lisp_Overlay * copy_overlays (struct buffer *, struct Lisp_Overlay *); | 154 | static struct Lisp_Overlay * copy_overlays (struct buffer *, struct Lisp_Overlay *); |
| 155 | static void modify_overlay (struct buffer *, ptrdiff_t, ptrdiff_t); | 155 | static void modify_overlay (struct buffer *, ptrdiff_t, ptrdiff_t); |
| 156 | static Lisp_Object buffer_lisp_local_variables (struct buffer *); | 156 | static Lisp_Object buffer_lisp_local_variables (struct buffer *, int); |
| 157 | 157 | ||
| 158 | /* For debugging; temporary. See set_buffer_internal. */ | 158 | /* For debugging; temporary. See set_buffer_internal. */ |
| 159 | /* Lisp_Object Qlisp_mode, Vcheck_symbol; */ | 159 | /* Lisp_Object Qlisp_mode, Vcheck_symbol; */ |
| @@ -487,7 +487,7 @@ clone_per_buffer_values (struct buffer *from, struct buffer *to) | |||
| 487 | 487 | ||
| 488 | /* Get (a copy of) the alist of Lisp-level local variables of FROM | 488 | /* Get (a copy of) the alist of Lisp-level local variables of FROM |
| 489 | and install that in TO. */ | 489 | and install that in TO. */ |
| 490 | BVAR (to, local_var_alist) = buffer_lisp_local_variables (from); | 490 | BVAR (to, local_var_alist) = buffer_lisp_local_variables (from, 1); |
| 491 | } | 491 | } |
| 492 | 492 | ||
| 493 | 493 | ||
| @@ -1012,10 +1012,12 @@ buffer_local_value_1 (Lisp_Object variable, Lisp_Object buffer) | |||
| 1012 | 1012 | ||
| 1013 | /* Return an alist of the Lisp-level buffer-local bindings of | 1013 | /* Return an alist of the Lisp-level buffer-local bindings of |
| 1014 | buffer BUF. That is, don't include the variables maintained | 1014 | buffer BUF. That is, don't include the variables maintained |
| 1015 | in special slots in the buffer object. */ | 1015 | in special slots in the buffer object. |
| 1016 | If CLONE is zero elements of the form (VAR . unbound) are replaced | ||
| 1017 | by VAR. */ | ||
| 1016 | 1018 | ||
| 1017 | static Lisp_Object | 1019 | static Lisp_Object |
| 1018 | buffer_lisp_local_variables (struct buffer *buf) | 1020 | buffer_lisp_local_variables (struct buffer *buf, int clone) |
| 1019 | { | 1021 | { |
| 1020 | Lisp_Object result = Qnil; | 1022 | Lisp_Object result = Qnil; |
| 1021 | register Lisp_Object tail; | 1023 | register Lisp_Object tail; |
| @@ -1035,7 +1037,7 @@ buffer_lisp_local_variables (struct buffer *buf) | |||
| 1035 | if (buf != current_buffer) | 1037 | if (buf != current_buffer) |
| 1036 | val = XCDR (elt); | 1038 | val = XCDR (elt); |
| 1037 | 1039 | ||
| 1038 | result = Fcons (EQ (val, Qunbound) | 1040 | result = Fcons (!clone && EQ (val, Qunbound) |
| 1039 | ? XCAR (elt) | 1041 | ? XCAR (elt) |
| 1040 | : Fcons (XCAR (elt), val), | 1042 | : Fcons (XCAR (elt), val), |
| 1041 | result); | 1043 | result); |
| @@ -1064,7 +1066,7 @@ No argument or nil as argument means use current buffer as BUFFER. */) | |||
| 1064 | buf = XBUFFER (buffer); | 1066 | buf = XBUFFER (buffer); |
| 1065 | } | 1067 | } |
| 1066 | 1068 | ||
| 1067 | result = buffer_lisp_local_variables (buf); | 1069 | result = buffer_lisp_local_variables (buf, 0); |
| 1068 | 1070 | ||
| 1069 | /* Add on all the variables stored in special slots. */ | 1071 | /* Add on all the variables stored in special slots. */ |
| 1070 | { | 1072 | { |
diff --git a/src/dired.c b/src/dired.c index 48d3da1eada..7c047f97e6f 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -470,9 +470,6 @@ file_name_completion (Lisp_Object file, Lisp_Object dirname, int all_flag, int v | |||
| 470 | 470 | ||
| 471 | CHECK_STRING (file); | 471 | CHECK_STRING (file); |
| 472 | 472 | ||
| 473 | #ifdef FILE_SYSTEM_CASE | ||
| 474 | file = FILE_SYSTEM_CASE (file); | ||
| 475 | #endif | ||
| 476 | bestmatch = Qnil; | 473 | bestmatch = Qnil; |
| 477 | encoded_file = encoded_dir = Qnil; | 474 | encoded_file = encoded_dir = Qnil; |
| 478 | GCPRO5 (file, dirname, bestmatch, encoded_file, encoded_dir); | 475 | GCPRO5 (file, dirname, bestmatch, encoded_file, encoded_dir); |
diff --git a/src/fileio.c b/src/fileio.c index 2b55b6f6bd1..185dd650438 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -84,10 +84,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 84 | 84 | ||
| 85 | #include "commands.h" | 85 | #include "commands.h" |
| 86 | 86 | ||
| 87 | #ifndef FILE_SYSTEM_CASE | ||
| 88 | #define FILE_SYSTEM_CASE(filename) (filename) | ||
| 89 | #endif | ||
| 90 | |||
| 91 | /* Nonzero during writing of auto-save files. */ | 87 | /* Nonzero during writing of auto-save files. */ |
| 92 | static int auto_saving; | 88 | static int auto_saving; |
| 93 | 89 | ||
| @@ -334,7 +330,6 @@ Given a Unix syntax file name, returns a string ending in slash. */) | |||
| 334 | return STRINGP (handled_name) ? handled_name : Qnil; | 330 | return STRINGP (handled_name) ? handled_name : Qnil; |
| 335 | } | 331 | } |
| 336 | 332 | ||
| 337 | filename = FILE_SYSTEM_CASE (filename); | ||
| 338 | #ifdef DOS_NT | 333 | #ifdef DOS_NT |
| 339 | beg = alloca (SBYTES (filename) + 1); | 334 | beg = alloca (SBYTES (filename) + 1); |
| 340 | memcpy (beg, SSDATA (filename), SBYTES (filename) + 1); | 335 | memcpy (beg, SSDATA (filename), SBYTES (filename) + 1); |
| @@ -861,7 +856,6 @@ filesystem tree, not (expand-file-name ".." dirname). */) | |||
| 861 | UNGCPRO; | 856 | UNGCPRO; |
| 862 | } | 857 | } |
| 863 | } | 858 | } |
| 864 | name = FILE_SYSTEM_CASE (name); | ||
| 865 | multibyte = STRING_MULTIBYTE (name); | 859 | multibyte = STRING_MULTIBYTE (name); |
| 866 | if (multibyte != STRING_MULTIBYTE (default_directory)) | 860 | if (multibyte != STRING_MULTIBYTE (default_directory)) |
| 867 | { | 861 | { |
diff --git a/src/s/msdos.h b/src/s/msdos.h index e1d97d5cc85..15112dad7a7 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h | |||
| @@ -86,10 +86,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ | |||
| 86 | :se=</SO>:so=<SO>:us=<UL>:ue=</UL>:md=<BD>:mh=<DIM>:mb=<BL>:mr=<RV>:me=<NV>:\ | 86 | :se=</SO>:so=<SO>:us=<UL>:ue=</UL>:md=<BD>:mh=<DIM>:mb=<BL>:mr=<RV>:me=<NV>:\ |
| 87 | :AB=<BG %d>:AF=<FG %d>:op=<DefC>:" | 87 | :AB=<BG %d>:AF=<FG %d>:op=<DefC>:" |
| 88 | 88 | ||
| 89 | /* Define this to a function (Fdowncase, Fupcase) if your file system | ||
| 90 | likes that. */ | ||
| 91 | #define FILE_SYSTEM_CASE Fmsdos_downcase_filename | ||
| 92 | |||
| 93 | /* Define this to be the separator between devices and paths. Used by | 89 | /* Define this to be the separator between devices and paths. Used by |
| 94 | lisp.h to define IS_DEVICE_SEP. */ | 90 | lisp.h to define IS_DEVICE_SEP. */ |
| 95 | #define DEVICE_SEP ':' | 91 | #define DEVICE_SEP ':' |