* lisp.h (eassert): Assume C89 or later.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9c758578
GM
12012-06-13 Glenn Morris <rgm@gnu.org>
2
3 * international/mule-cmds.el (mule-menu-keymap)
4 (set-language-environment, set-locale-environment): Doc tweaks.
5
9b0e3eba
AA
62012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7
8 * cus-face.el (custom-face-attributes): Add wave-style underline
9 attribute.
10 * faces.el (set-face-attribute): Update docstring to describe
11 wave-style underline attribute.
12
771e3eae
CY
132012-06-16 Chong Yidong <cyd@gnu.org>
14
15 * term/xterm.el (terminal-init-xterm): Discard input before
16 querying background mode (Bug#10959).
17
7ae2ea10
SM
182012-06-16 Stefan Merten <smerten@oekonux.de>
19
20 * textmodes/rst.el: Added and corrected some comments.
21 (rst-re-alist-def): Improve symbol syntax.
22 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
23 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
24 (rst-official-version, rst-official-cvs-rev): Update version
25 information.
7ae2ea10 26
b6974efa
JB
272012-06-15 Juanma Barranquero <lekktu@gmail.com>
28
29 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
30 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
31
8826d473
GM
322012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
33
34 * progmodes/python.el: New python.el merge.
35 (python-guess-indent): Obsolete var.
36 (python-indent-guess-indent-offset): New defcustom.
37 (python-indent): Obsolete var.
38 (python-indent-offset): New defcustom.
39 (python-python-command, python-jython-command): Delete var.
40 (python-shell-interpreter): New defcustom.
41 (python-pdbtrack-do-tracking-p): Delete var.
42 (python-pdbtrack-activate): New defcustom.
43 (python-use-skeletons): Obsolete var.
44 (python-skeleton-autoinsert): New defcustom.
45 (inferior-python-filter-regexp, python-continuation-offset)
46 (python-honour-comment-indentation, python-indent-string-contents)
47 (python-jython-packages, python-mode-hook)
48 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
49 (python-shell-prompt-alist)
50 (python-source-modes): Delete defcustoms.
51 (python-check-buffer-name, python-eldoc-setup-code)
52 (python-eldoc-string-code, python-ffap-setup-code)
53 (python-ffap-string-code, python-fill-comment-function)
54 (python-fill-decorator-function, python-fill-paren-function)
55 (python-fill-string-function, python-imenu-include-defun-type)
56 (python-imenu-make-tree, python-imenu-subtree-root-label)
57 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
58 (python-shell-compilation-regexp-alist)
59 (python-shell-completion-module-string-code)
60 (python-shell-completion-pdb-string-code)
61 (python-shell-completion-setup-code)
62 (python-shell-completion-string-code)
63 (python-shell-enable-font-lock, python-shell-exec-path)
64 (python-shell-extra-pythonpaths)
65 (python-shell-internal-buffer-name, python-shell-interpreter-args)
66 (python-shell-process-environment)
67 (python-shell-prompt-block-regexp)
68 (python-shell-prompt-output-regexp)
69 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
70 (python-shell-send-setup-max-wait, python-shell-setup-codes)
71 (python-shell-virtualenv-path): New defcustoms.
72 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
73 (inferior-python-mode-syntax-table, python--prompt-regexp)
74 (python-buffer, python-command python-python-command)
75 (python-default-template, python-imports, python-indent-index)
76 (python-indent-list, python-indent-list-length)
77 (python-mode-running, python-pdbtrack-is-tracking-p)
78 (python-preoutput-continuation, python-preoutput-leftover)
79 (python-preoutput-result, python-preoutput-skip-next-prompt)
80 (python-prev-dir/file, python-recursing)
81 (python-saved-check-command, python-version-checked)
82 (python-which-func-length-limit)
83 (view-return-to-alist): Delete vars.
84 (python-check-custom-command, python-dotty-syntax-table)
85 (python-imenu-index-alist, python-indent-current-level)
86 (python-indent-dedenters, python-indent-levels)
87 (python-nav-beginning-of-defun-regexp)
88 (python-nav-list-defun-positions-cache)
89 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
90 (python-shell-internal-buffer)
91 (python-skeleton-available): New vars.
92 (def-python-skeleton): Delete macro.
93 (python-skeleton-define): New macro.
94 (python-define-auxiliary-skeleton, python-rx): New macros.
95 (python-insert-class): Delete command.
96 (python-skeleton-class): New command.
97 (python-insert-def): Delete command.
98 (python-skeleton-def): New command.
99 (python-insert-for): Delete command.
100 (python-skeleton-for): New command.
101 (python-insert-if): Delete command.
102 (python-skeleton-if): New command.
103 (python-insert-try/except, python-insert-try/finally): Delete commands.
104 (python-skeleton-try): New command.
105 (python-insert-while): Delete command.
106 (python-skeleton-while): New command.
107 (python-backspace): Delete command.
108 (python-indent-dedent-line-backspace): New command.
109 (python-electric-colon): Delete command.
110 (python-indent-electric-colon): New command.
111 (python-guess-indent): Delete command.
112 (python-indent-guess-indent-offset): New command.
113 (python-shift-left): Delete command.
114 (python-indent-shift-left): New command.
115 (python-shift-right): Delete command.
116 (python-indent-shift-right): New command.
117 (python-find-function): Delete command.
118 (python-nav-jump-to-defun): New command.
119 (python-next-statement): Delete command.
120 (python-nav-forward-sentence): New command.
121 (python-previous-statement): Delete command.
122 (python-nav-backward-sentence): New command.
123 (python-fill-paragraph): Delete command.
124 (python-fill-paragraph-function): New command.
125 (python-send-buffer): Delete command.
126 (python-shell-send-buffer): New command.
127 (python-send-defun): Delete command.
128 (python-shell-send-defun): New command.
129 (python-send-region, python-send-region-and-go): Delete commands.
130 (python-shell-send-region)
131 (python-shell-switch-to-shell): New commands.
132 (python-send-string): Delete command.
133 (python-shell-send-string): New command.
134 (python-switch-to-python): Delete command.
135 (python-shell-switch-to-shell): New command.
136 (python-describe-symbol): Delete command.
137 (python-eldoc-at-point): New command.
138 (python--set-prompt-regexp, python-args-to-list)
139 (python-after-info-look, python-check-version)
140 (python-check-comint-prompt, python-find-imports)
141 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
142 (python-unload-function, python-expand-template)
143 (python-maybe-jython, python-preoutput-filter)
144 (python-pdbtrack-get-source-buffer)
145 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
146 (python-pdbtrack-toggle-stack-tracking)
147 (python-pdbtrack-track-stack-file, python-initial-text)
148 (python-first-word, python-comment-line-p, python-send-command)
149 (python-setup-brm, python-sentinel, python-set-proc)
150 (python-skip-out, python-input-filter, python-outdent-p)
151 (python-outline-level, python-backslash-continuation-line-p)
152 (python-end-of-block, python-end-of-statement, python-mark-block)
153 (python-beginning-of-block, python-beginning-of-statement)
154 (python-blank-line-p, python-beginning-of-string)
155 (python-open-block-statement-p): Delete functions.
156 (python-indent-line, python-indent-line-1): Delete functions.
157 (python-indent-line): New function.
158 (python-indentation-levels): Delete function.
159 (python-indent-calculate-levels): New function.
160 (python-proc): Delete function.
161 (python-shell-get-process): New function.
162 (python-send-receive): Delete function.
163 (python-shell-send-string-no-output): New function.
164 (python-module-path): Delete function.
165 (python-ffap-module-path): New function.
166 (python-completion-at-point)
167 (python-symbol-completions): Delete functions.
168 (python-completion-complete-at-point): New function.
169 (python-load-file): Delete function.
170 (python-shell-send-file): New function.
171 (python-calculate-indentation): Delete function.
172 (python-indent-calculate-indentation): New function.
173 (python-skip-comments/blanks): Delete function.
174 (python-util-forward-comment): New function.
175 (python-continuation-line-p): Delete function.
176 (python-info-continuation-line-p): New function.
177 (python-which-func, python-current-defun): Delete function.
178 (python-info-current-defun): New function.
179 (python-beginning-of-defun): Delete function.
180 (python-nav-beginning-of-defun): New function.
181 (python-close-block-statement-p)
182 (python-block-end-p): Delete function.
183 (python-info-closing-block): New function.
184 (python-comint-output-filter-function)
185 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
186 (python-fill-comment, python-fill-decorator, python-fill-paren)
187 (python-fill-string, python-imenu-make-element-tree)
188 (python-imenu-make-tree, python-imenu-tree-assoc)
189 (python-indent-context, python-indent-dedent-line)
190 (python-indent-line-function)
191 (python-indent-post-self-insert-function)
192 (python-indent-toggle-levels)
193 (python-info-assignment-continuation-line-p)
194 (python-info-beginning-of-backlash)
195 (python-info-block-continuation-line-p)
196 (python-info-closing-block-message)
197 (python-info-line-ends-backslash-p)
198 (python-info-looking-at-beginning-of-defun)
199 (python-info-ppss-context, python-info-ppss-context-type)
200 (python-nav-list-defun-positions, python-nav-read-defun)
201 (python-nav-sentence-end, python-nav-sentence-start)
202 (python-pdbtrack-comint-output-filter-function)
203 (python-pdbtrack-set-tracked-buffer)
204 (python-shell-calculate-exec-path)
205 (python-shell-calculate-process-environment)
206 (python-shell-completion--do-completion-at-point)
207 (python-shell-completion--get-completions)
208 (python-shell-completion-complete-at-point)
209 (python-shell-completion-complete-or-indent)
210 (python-shell-get-or-create-process)
211 (python-shell-get-process-name)
212 (python-shell-internal-get-or-create-process)
213 (python-shell-internal-get-process-name)
214 (python-shell-internal-send-string, python-shell-make-comint)
215 (python-shell-parse-command, python-shell-send-setup-code)
216 (python-skeleton-add-menu-items)
217 (python-util-clone-local-variables, python-util-position)
218 (run-python-internal, python-indentation-levels)
219 (python-nav-beginning-of-defun)
220 (python-completion-complete-at-point): New functions.
221 (run-python): Change arguments. New API requirements.
222
4302f5ba
SM
2232012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
224
f38ea36d
SM
225 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
226 (bug#11649).
227
228 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
229 (macroexp--expand-all): Use it.
230
4302f5ba
SM
231 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
232 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
233 Use `cl-function' instead.
234
33377562
JB
2352012-06-14 Juanma Barranquero <lekktu@gmail.com>
236
237 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
238 Suggested by Stefan Monnier while discussing bug#11657.
239
54c5ba1a
SS
2402012-06-14 Sam Steingold <sds@gnu.org>
241
242 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
243
f9f1b1fe
AS
2442012-06-14 Andreas Schwab <schwab@linux-m68k.org>
245
246 * play/doctor.el (doctor-doc): Remove parameter and use
247 doctor-sent instead of sent.
248 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
249
a81068ba
SM
2502012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
251
5a315f9c
SM
252 * files.el: Require cl-lib.
253 (file-name-non-special): Replace case -> cl-case.
254
255 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
256
a81068ba
SM
257 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
258 mapping from #' to function*.
259
8cca9703
CY
2602012-06-13 Chong Yidong <cyd@gnu.org>
261
262 * mouse.el (mouse-drag-track): Do not set the mark if the user
263 releases the mouse without selecting anything (Bug#11588).
264
a12ac9d7
SM
2652012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
266
ccf1dc18
SM
267 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
268 as well (bug#11646).
269
ef62b23d
SM
270 * loadup.el: Count byte-code functions as well.
271
c4c8444a
SM
272 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
273 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
274
a12ac9d7
SM
275 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
276 (bug#11649). Add cl-defun and cl-defmacro.
277
87e6e64f
DA
2782012-06-13 Drew Adams <drew.adams@oracle.com>
279
280 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
281 Fix last change.
282
682cefaf
MA
2832012-06-13 Michael Albinus <michael.albinus@gmx.de>
284
285 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
286 Otherwise, it blocks in batch mode.
287
773e1f08
JB
2882012-06-13 Juanma Barranquero <lekktu@gmail.com>
289
290 * help-mode.el (bookmark-make-record-default): Declare.
291
60057926
CY
2922012-06-13 Chong Yidong <cyd@gnu.org>
293
294 * emacs-lisp/package.el (list-packages): Compute a list of
295 packages that are newly-available since the last list-packages
296 invocation.
297 (package-menu--new-package-list): New var.
298 (package-menu--generate, package-menu--print-info)
299 (package-menu--status-predicate, package-menu-mark-install):
300 Handle new status label "new".
301
ad4d226c
SM
3022012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
305 conversion to backquotes.
306
f1a4e679
CY
3072012-06-12 Chong Yidong <cyd@gnu.org>
308
309 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
310 Rename from gud-inhibit-global-bindings.
311
312 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
313
314 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
315 hook from nxml-glyph-set-hook.
316
317 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
318 declaration.
319
320 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
321
322 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
323 Convert to defcustom.
324
0c9e42b5
DA
3252012-06-12 Drew Adams <drew.adams@oracle.com>
326
327 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
328 New functions.
329 (help-mode): Use them.
330
09e06855
GM
3312012-06-11 Glenn Morris <rgm@gnu.org>
332
333 * progmodes/fortran.el (fortran-font-lock-keywords-3):
334 Use preprocessor face for directives.
335 (fortran-directive-re): Doc fix.
336
71adb94b
SM
3372012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
338
2eb87922
SM
339 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
340 conversion to backquotes (bug#11652).
341
71adb94b
SM
342 Fix compiler-expansion of CL's cXXr functions (bug#11673).
343 * emacs-lisp/cl-lib.el (cl--defalias): New function.
344 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
345 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
346 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
347 (cl-ninth, cl-tenth): Mark them as inlinable.
348 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
349 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
350 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
351 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
352 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
353 (cl-list*, cl-adjoin): Don't put an autoload manually.
354 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
355 (cl--compiler-macro-list*): Add autoload cookie.
356 (cl--compiler-macro-cXXr): New function.
2eb87922 357
71adb94b
SM
358 * help-fns.el (help-fns--compiler-macro): New function extracted from
359 describe-function-1; follow aliases and use `compiler-macro' property.
360 (describe-function-1): Use it.
361
a6674402
CY
3622012-06-11 Chong Yidong <cyd@gnu.org>
363
364 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
365 is uninstalled, if imagemagick is installed.
366
bb3faf5b
SM
3672012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * emacs-lisp/cl-lib.el: Use lexical-binding.
370 (cl-map-extents, cl-maclisp-member): Remove.
371 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
372 (cl--set-substring, cl--block-wrapper, cl--block-throw)
373 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
374 * emacs-lisp/cl-extra.el: Use lexical-binding.
375 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
376 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
377 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
378 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
379 * emacs-lisp/cl-seq.el: Use lexical-binding.
380 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
381 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
382 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
383 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
384 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
385 CL's internals.
386
2fe4b125
MA
3872012-06-11 Michael Albinus <michael.albinus@gmx.de>
388
389 Sync with Tramp 2.2.6-pre.
390
391 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
392 `print-length' and `print-level' to nil, in order to avoid
393 truncation. Reported by Christopher Schmidt
394 <christopher@ristopher.com>.
395
396 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
397
398 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
399 New defmacro.
400 (tramp-compat-copy-directory): Add optional argument
401 COPY-CONTENTS. It is not handled yet.
402
403 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
404 (tramp-ftp-file-name-p): Simplify.
405
406 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
407 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
408 connection vector.
409
410 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
411 (tramp-methods): Do not use `tramp-password-end-of-line'.
412 (tramp-completion-function-alist-putty): Handle UNIX case.
413 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
414 (tramp-do-file-attributes-with-stat)
415 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
416 gid as real numbers. They could run out of integer range on cygwin.
417 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
418 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
419 (tramp-open-connection-setup-interactive-shell):
420 Use `tramp-cleanup'. Move check for busyboxes ...
421 (tramp-find-shell): ... here. Simplify implementation.
422 Set "remote-shell" property also for alternative shells.
423 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
424 If failing, a regular file would be written otherwise.
425 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
426 (tramp-find-inline-encoding): Cache the coding commands in the
427 process cache. Apply test command on the remote side, if defined.
428 (tramp-find-inline-compress): Cache the compress commands in the
429 process cache.
430 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
431 when requested. Handle hops.
432 (tramp-current-connection): New defvar.
87e6e64f
DA
433 (tramp-maybe-open-connection): Use `tramp-cleanup'.
434 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 435 Handle user interrupt. (Bug#10187)
87e6e64f
DA
436 (tramp-get-inline-compress, tramp-get-inline-coding):
437 Read connection properties from the process cache.
2fe4b125
MA
438
439 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
440 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
441 New defconsts.
2fe4b125
MA
442 (tramp-smb-prompt): Extend for powershell prompt.
443 (tramp-smb-file-name-handler-alist): Add handlers for
444 `process-file', `shell-command' and `start-file-process'.
445 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
446 (tramp-smb-winexe-shell-command-switch): New defcustoms.
447 (tramp-smb-file-name-p): Simplify.
448 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
449 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
450 (tramp-smb-shell-quote-argument): New defuns.
451 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
452 Implement using "tar". By this, time-stamps are preserved.
453 (tramp-smb-handle-copy-file): Handle also the case of directories.
454 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
455 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
456 Use `tramp-get-connection-buffer').
2fe4b125
MA
457 (tramp-smb-handle-rename-file): Use "rename", when source and
458 target are on the same share.
87e6e64f
DA
459 (tramp-smb-maybe-open-connection): Handle wrong passwords.
460 Use `tramp-smb-server-version'.
2fe4b125
MA
461 (tramp-smb-wait-for-output): Remove prompt.
462
463 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
464 (tramp-methods, tramp-rsh-end-of-line):
465 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
466 (tramp-save-ad-hoc-proxies): New defcustom.
467 (tramp-completion-function-alist): Adapt docstring.
468 (tramp-default-password-end-of-line): Remove defcustom.
469 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
470 (tramp-user-regexp, tramp-file-name-regexp-unified)
471 (tramp-file-name-regexp-url): Extend regexp by hop separator.
472 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
473 (tramp-remote-file-name-spec-regexp): New defconst.
474 (tramp-file-name-structure): Extend structure for hops.
475 (tramp-get-method-parameter): Move up.
476 (tramp-file-name-p, tramp-dissect-file-name)
477 (with-parsed-tramp-file-name): Handle hops.
478 (tramp-file-name-hop): New defun.
479 (tramp-make-tramp-file-name): New optional arg HOP.
480 (tramp-message-show-progress-reporter-message): New defvar.
481 (tramp-with-progress-reporter): Use it. We cannot use
482 `tramp-message-show-message' here, because this suppresses also
483 error buffers.
484 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
485 `tramp-message-show-message' is nil.
486 Use `tramp-get-connection-buffer'.
2fe4b125
MA
487 (tramp-cleanup): New defun.
488 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
489 (tramp-file-name-handler): If `debug-on-error' is set, propagate
490 an error unchanged.
491 (tramp-completion-handle-file-name-all-completions): Handle hops.
492 Fix an error when called from ido.
493 (tramp-completion-dissect-file-name): Use better local variable
494 name. Add hop to the vector.
495 (tramp-handle-insert-file-contents): Use progress-reporter for the
496 whole scenario.
497 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
498 to `t'.
499 (tramp-check-for-regexp): Simplify search.
500 (tramp-enter-password): Remove it. Move implementation ...
501 (tramp-action-password): ... here.
502 (tramp-mode-string-to-int, tramp-local-host-p)
503 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
504 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
505 Set tramp-autoload cookie.
2fe4b125
MA
506
507 * net/trampver.el: Update release number.
508
5092012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
510 Michael Albinus <michael.albinus@gmx.de>
511
512 * net/tramp.el (tramp-set-completion-function): Fix docstring.
513 (tramp-parse-group, tramp-parse-file)
514 (tramp-parse-shostkeys-sknownhosts): New defuns.
515 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
516 (tramp-parse-shosts-group, tramp-parse-sconfig)
517 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
518 (tramp-parse-sknownhosts, tramp-parse-hosts)
519 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
520 Use them.
521 (tramp-parse-passwd-group, tramp-parse-netrc-group)
522 (tramp-parse-putty-group): Don't narrow.
523 (tramp-parse-putty): Make a loop.
524 (tramp-file-name-handler): Catch the `suppress' signal.
525
72834e10
CY
5262012-06-11 Chong Yidong <cyd@gnu.org>
527
528 * image.el (imagemagick-register-types): Put the ImageMagick entry
529 at the end of image-type-file-name-regexps.
530
a4712e11
JB
5312012-06-11 Johan Bockgård <bojohan@gnu.org>
532
533 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
534 (pcase, pcase-let*, pcase-dolist): Use them.
535
82ad98e3
SM
5362012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * emacs-lisp/pcase.el (pcase--let*): New function.
539 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
540 (pcase--expand): Use macroexp-let².
541
f80efb86
SM
5422012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
545 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
546 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
547 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
548 * emacs-lisp/derived.el: Use pcase instead of `cl'.
549 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
550
31ca4639 5512012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 552
31ca4639
CY
553 * mail/rmail.el (rmail-yank-current-message): Leave point at
554 correct position. (Bug#11660)
94f0aa34 555
31ca4639 5562012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 557
31ca4639 558 * allout-widgets.el: Fix code header.
9e1b8ec4 559
31ca4639 5602012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 561
f80efb86
SM
562 * cus-edit.el (customize-changed-options-previous-release):
563 Bump to 24.1.
31ca4639 564
642b6d30
AS
5652012-06-09 Andreas Schwab <schwab@linux-m68k.org>
566
567 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
568
4f5d2ba1
CY
5692012-06-09 Chong Yidong <cyd@gnu.org>
570
571 * ebuff-menu.el (electric-buffer-list): Preserve header line.
572
e75852fd
MR
5732012-06-09 Martin Rudalics <rudalics@gmx.at>
574
575 * window.el (special-display-popup-frame): Don't use
576 window--display-buffer (Bug#11651).
577
1e48e282
EZ
5782012-06-09 Eli Zaretskii <eliz@gnu.org>
579
8a26b487
EZ
580 Fix parallel builds: make sure loaddefs.el is not being written
581 while Lisp files are compiled.
582 (compile): Don't depend on 'mh-autoloads'.
583 (compile-CMD, compile-SH): Depend on 'autoloads'.
584 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
585
1e48e282
EZ
586 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
587
6175e34b
CY
5882012-06-09 Chong Yidong <cyd@gnu.org>
589
590 * face-remap.el (face-remap-add-relative, face-remap-set-base)
591 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
592 Doc fixes (Bug#11225).
593
d9857e53
SM
5942012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
597 a function if there's a clear indication that it has a compiler-macro.
598 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
599 (macro-declarations-alist): Add arglist to declaration functions.
600 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
601 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
602 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
603 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
604 Also add autoload to find the compiler macro.
605 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
606 (cl--compiler-macro-member, cl--compiler-macro-assoc)
607 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
608 (cl--compiler-macro-get): New functions, replacing calls to
609 cl-define-compiler-macro.
610 (cl-typep) [compiler-macro]: Use macroexp-let².
611
f81298f8 6122012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
613
614 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
615 string properly, fixes Bug#11473.
616
4b56d0fe
CY
6172012-06-08 Chong Yidong <cyd@gnu.org>
618
619 * faces.el (set-face-attribute): Doc fix.
620 (modify-face): Don't use :bold and :italic.
621 (error, warning, success): Tweak definitions.
622
623 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
624 (custom-modified, custom-set, custom-changed, custom-themed)
625 (custom-saved, custom-button, custom-button-mouse)
626 (custom-button-pressed, custom-state, custom-comment-tag)
627 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
628 (custom-group-subtitle): Use new-style face specs.
629 (custom-invalid-face, custom-rogue-face, custom-modified-face)
630 (custom-set-face, custom-changed-face, custom-saved-face)
631 (custom-button-face, custom-button-pressed-face)
632 (custom-documentation-face, custom-state-face)
633 (custom-comment-face, custom-comment-tag-face)
634 (custom-variable-tag-face, custom-variable-button-face)
635 (custom-face-tag-face, custom-group-tag-face-1)
636 (custom-group-tag-face): Remove obsolete face alias.
637
638 * epa.el (epa-validity-high, epa-validity-medium)
639 (epa-validity-low, epa-mark, epa-field-name, epa-string)
640 (epa-field-name, epa-field-body):
641 * font-lock.el (font-lock-comment-face, font-lock-string-face)
642 (font-lock-keyword-face, font-lock-builtin-face)
643 (font-lock-function-name-face, font-lock-variable-name-face)
644 (font-lock-type-face, font-lock-constant-face):
645 * ido.el (ido-first-match, ido-only-match, ido-subdir)
646 (ido-virtual, ido-indicator, ido-incomplete-regexp):
647 * speedbar.el (speedbar-button-face, speedbar-file-face)
648 (speedbar-directory-face, speedbar-tag-face)
649 (speedbar-selected-face, speedbar-highlight-face)
650 (speedbar-separator-face):
651 * whitespace.el (whitespace-newline, whitespace-space)
652 (whitespace-hspace, whitespace-tab, whitespace-trailing)
653 (whitespace-line, whitespace-space-before-tab)
654 (whitespace-space-after-tab, whitespace-indentation)
655 (whitespace-empty):
656 * emulation/cua-base.el (cua-global-mark):
657 * eshell/em-prompt.el (eshell-prompt):
658 * net/newst-plainview.el (newsticker-new-item-face)
659 (newsticker-old-item-face, newsticker-immortal-item-face)
660 (newsticker-obsolete-item-face, newsticker-date-face)
661 (newsticker-statistics-face, newsticker-default-face):
662 * net/newst-reader.el (newsticker-feed-face)
663 (newsticker-extra-face, newsticker-enclosure-face):
664 * net/newst-treeview.el (newsticker-treeview-face)
665 (newsticker-treeview-new-face, newsticker-treeview-old-face)
666 (newsticker-treeview-immortal-face)
667 (newsticker-treeview-obsolete-face)
668 (newsticker-treeview-selection-face):
669 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
670 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
671 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
672 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
673 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
674 (nxml-outline-active-indicator, nxml-outline-ellipsis):
675 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
676 (mpuz-text):
677 * progmodes/vera-mode.el (vera-font-lock-number)
678 (vera-font-lock-function, vera-font-lock-interface):
679 * textmodes/table.el (table-cell): Use new-style face specs, and
680 don't use the old :bold and :italic attributes.
681
682 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
683 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
684 (ebrowse-member-class, ebrowse-progress): Likewise.
685 (ebrowse-tree-mark-face, ebrowse-root-class-face)
686 (ebrowse-file-name-face, ebrowse-default-face)
687 (ebrowse-member-attribute-face, ebrowse-member-class-face)
688 (ebrowse-progress-face): Remove obsolete faces.
689
690 * progmodes/flymake.el (flymake-errline, flymake-warnline):
691 Inherit from error and warning faces respectively.
692
693 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
694 Likewise.
f80efb86
SM
695 (flyspell-incorrect-face, flyspell-duplicate-face):
696 Remove obsolete aliases.
4b56d0fe 697
03310646
MA
6982012-06-08 Michael Albinus <michael.albinus@gmx.de>
699
700 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
701 Avoid infloop.
702
513749ee
SM
7032012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * startup.el (argv, argi): Make lexically scoped.
706 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
707 * emacs-lisp/cl-macs.el: Use lexical-binding.
708 Rename cl-bind-* to cl--bind-*.
709 * files.el: Don't require `cl' since it doesn't use it.
710 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
711
595ef4ad
JB
7122012-06-08 Juanma Barranquero <lekktu@gmail.com>
713
714 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
715 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
716 instead of calling external sort utility.
717 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
718
e9f66fcb
EZ
7192012-06-08 Eli Zaretskii <eliz@gnu.org>
720
721 * descr-text.el (describe-char): Mention how to insert the
722 character, if the current input method doesn't support it.
723 See the discussion in this thread for the details:
724 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
725
3d10db47
SS
7262012-06-08 Sam Steingold <sds@gnu.org>
727
728 * bindings.el (global-map): Bind XF86Forward to next-buffer and
729 XF86Back to previous-buffer.
730 (minibuffer-local-map): Bind them to next-history-element and
731 previous-history-element respectively.
732 * help-mode.el (help-mode-map): Bind them to help-go-forward and
733 help-go-back respectively.
734 * info.el (Info-mode-map): Bind them to Info-history-forward and
735 Info-history-back respectively.
736 These are the keys next to Up on the ThinkPad keyboard.
737
de7e2b36
SM
7382012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
741 * emacs-lisp/cl-macs.el: Provide itself.
742 (cl--labels-convert-cache): New var.
743 (cl--labels-convert): New function.
744 (cl-flet, cl-labels): New implementation with new semantics, relying on
745 lexical-binding.
746 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
747 (cl-closure-vars, cl--function-convert-cache)
748 (cl--function-convert): Move from cl-macs.el.
749 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
750 rename by removing the "cl-" prefix.
751 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
752
6fa6c4ae
SM
7532012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
756 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
757 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
758 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
759 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
760 (cl-hash-table-count): Add old compatibility aliases.
761
762 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
763 Use macroexpand-all-environment instead.
764 (cl--old-macroexpand): New var.
765 (cl--sm-macroexpand): New function.
766 (cl-symbol-macrolet): Use it during macro expansion.
767 (cl--function-convert-cache): New var.
768 (cl--function-convert): New function, extracted from
769 cl-macroexpand-all.
770 (cl-lexical-let): Use it.
771
772 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
773 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
774 (cl-member): Remove old alias.
775
776 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
777 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
778 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
779 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
780 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
781 (cl-macroexpand-cmacs): Remove var.
782 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
783 Use macroexpand-all instead.
784
4dd1c416
SM
7852012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
788 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
789 (macroexp-copyable-p): New functions and macros.
790 * emacs-lisp/edebug.el (edebug-unwrap):
791 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
792 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
793 (pcase--let*): Remove.
794 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
795 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
796 macroexp-const-p instead.
797 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
798
799 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
800 instead of "cl-" for internal definitions. Use macroexp-const-p.
801 (cl-old-bc-file-form): Remove var.
802 (cl-const-exprs-p): Remove fun.
803 (cl-labels, cl-macrolet): Use backquote.
804 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
805 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
806 (cl-define-setf-expander): Rename from cl-define-setf-method.
807 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
808
809 * international/mule-cmds.el: Don't require CL.
810 (view-hello-file): Don't use `letf'.
811
ed8bd4d7
SM
8122012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
813
7287f2f3
SM
814 * tmm.el (tmm-prompt): Use string-prefix-p.
815 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
816 (tmm-add-prompt): Use minibuffer-completion-help.
817 (tmm-delete-map): Remove.
818
ed8bd4d7
SM
819 * subr.el (kbd): Make it its own function.
820
7b4cdbf4
SM
8212012-06-07 Stefan Merten <smerten@oekonux.de>
822
823 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
824 Silence compiler warnings. Fix versions.
ed8bd4d7 825 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 826 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 827 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
828 (rst-package-emacs-version-alist): Correct Emacs version to
829 represent major merge with upstream.
ed8bd4d7 830 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 831
2b48d721
GM
8322012-06-06 Glenn Morris <rgm@gnu.org>
833
834 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
835 Only print environment variables if set.
836
fa779ab0
SM
8372012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
840 (macroexp--cons): Rename from maybe-cons.
841 (macroexp--accumulate): Rename from macroexp-accumulate.
842 (macroexp--all-forms): Rename from macroexpand-all-forms.
843 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
844 (macroexp--expand-all): Rename from macroexpand-all-1.
845
628299e0
SS
8462012-06-06 Sam Steingold <sds@gnu.org>
847
848 * calendar/calendar.el (calendar-in-read-only-buffer):
849 Call `special-mode' to enable the standard read-only keybindings.
850
b7bb5838
SM
8512012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
854 with "loading" messages (bug#11635).
855
dfb308ba
MA
8562012-06-06 Michael Albinus <michael.albinus@gmx.de>
857
858 * files.el (enable-remote-dir-locals): New option.
859 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
860
0372ee92
MA
861 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
862 Ensure, that the temp directory is local.
863
864 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
865 `temporary-file-directory'.
866
eed0bb91
MA
867 * progmodes/python.el (python-send-region): Ensure, that the
868 temporary file is created also in the remote case.
869
7a58f64d
GM
8702012-06-06 Glenn Morris <rgm@gnu.org>
871
f7dd4e98
GM
872 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
873 (vc-rcs-update-changelog): Use it.
874
276d5f5d
GM
875 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
876
7a58f64d
GM
877 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
878 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
879 (vc-sccs-diff): Replace use of the external vcdiff script.
880
daed4003
GM
8812012-06-05 Glenn Morris <rgm@gnu.org>
882
883 * ledit.el: Move to obsolete/.
884
48c455c7
SS
8852012-06-05 Sam Steingold <sds@gnu.org>
886
887 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
888 patch (Bug#11140).
889
57a7d507
SM
8902012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
891
d32926ff
SM
892 * emacs-list/cust-print.el: Move to obsolete.
893
53aacf21
SM
894 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
895 compiler-macro expansion.
896
57a7d507
SM
897 Add native compiler-macro support.
898 * emacs-lisp/macroexp.el (macroexpand-all-1):
899 Support compiler-macros directly. Properly follow aliases and apply
900 the compiler macros more thoroughly.
901 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
902 macroexpand now properly follows aliases.
903 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
904 (cl-compiler-macroexpand): Use new prop.
905 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
906
907 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
908
51a5f9d8
MR
9092012-06-05 Martin Rudalics <rudalics@gmx.at>
910
911 * window.el (get-lru-window, get-mru-window, get-largest-window):
912 New argument NOT-SELECTED to avoid picking the selected window.
913 (window--display-buffer-1, window--display-buffer-2): Replace by
914 new function window--display-buffer
915 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
916 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
917 Use window--display-buffer.
51a5f9d8
MR
918 (display-buffer-use-some-window): Remove temporary dedication
919 hack by calling get-lru-window and get-largest-window with
920 NOT-SELECTED argument non-nil. Call window--display-buffer.
921
08f9f738
GM
9222012-06-05 Glenn Morris <rgm@gnu.org>
923
924 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
925 Replace external vcdiff script.
926
e364a2b7
SM
9272012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
930
041df390
CY
9312012-06-04 Chong Yidong <cyd@gnu.org>
932
e364a2b7
SM
933 * image.el (imagemagick-types-inhibit): Revert last change.
934 Add INFO and M.
47b36b94 935 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 936
7c1898a7
SM
9372012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * emacs-lisp/cl-lib.el: Rename from cl.el.
940 * emacs-lisp/cl.el: New compatibility file.
941 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
942 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
943 to obey the "cl-" prefix.
944 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
945
0c3461de
GM
9462012-06-03 Glenn Morris <rgm@gnu.org>
947
1e266c88
GM
948 * emacs-lisp/authors.el (authors-aliases): Addition.
949
0c3461de
GM
950 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
951 Fix :version.
952
d8a52e15
SM
9532012-06-03 Stefan Merten <smerten@oekonux.de>
954
955 * textmodes/rst.el: Add comments.
956 (rst-transition, rst-adornment): New faces.
957 (rst-adornment-faces-alist): Make default safe to reevaluate.
958 Fixes
959 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
960 Improve customization tags.
961 (rst-define-level-faces): Clarify meaning.
962
5205d6f6
CY
9632012-06-03 Chong Yidong <cyd@gnu.org>
964
965 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
966 (compilation-mode-line-run, compilation-mode-line-exit):
967 New faces.
5205d6f6
CY
968 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
969
757ee657
JD
9702012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
971
7c1898a7
SM
972 * progmodes/which-func.el (which-func-update-ediff-windows):
973 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 974
5f2c76c6
CY
9752012-06-03 Chong Yidong <cyd@gnu.org>
976
977 * bindings.el: Remove explicit help text from format-mode-line.
978 It is now supplied by mode-line-default-help-echo.
979 (mode-line-front-space, mode-line-end-spaces)
980 (mode-line-misc-info): New variables.
981 (mode-line-modes, mode-line-position): Move the default value to
982 the variable definition.
983 (mode-line-default-help-echo): New defcustom.
383f7350
CY
984 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
985 (mode-line-modified-help-echo): New functions.
986 (mode-line-mule-info, mode-line-modified): Use them.
987 (mode-line-eol-desc, propertized-buffer-identification):
988 Consistency fixes for help text.
cbe46e5f
CY
989 (mode-line-coding-system-map): Allow using mouse-3 to invoke
990 set-buffer-file-coding-system (Bug#289).
991 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 992
f2d6a3df
SM
9932012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * simple.el (execute-extended-command): Set real-this-command
996 (bug#11506).
997
37269466
CY
9982012-06-02 Chong Yidong <cyd@gnu.org>
999
1000 Remove incorrect uses of "modeline" in comments, docstrings, and
1001 function/variable names (Bug#10329).
1002
1003 * cus-edit.el (mode-line):
1004 * dframe.el (dframe-mouse-hscroll):
1005 * emacs-lisp/re-builder.el:
1006 * emacs-lisp/easy-mmode.el (define-minor-mode):
1007 * frame.el (set-frame-name):
1008 * help.el (lookup-minor-mode-from-indicator):
1009 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1010 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1011 (c-toggle-hungry-state):
1012 * progmodes/antlr-mode.el (antlr-language-alist):
1013 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1014 * progmodes/vhdl-mode.el (vhdl-mode):
1015 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1016 * term/ns-win.el (ns-face-at-pos):
1017 * term/sup-mouse.el (sup-mouse-report):
1018 * textmodes/flyspell.el (flyspell-mode-line-string):
1019 * textmodes/ispell.el (ispell-highlight-face):
1020 * textmodes/reftex-global.el:
1021 * vc/vc-arch.el (vc-arch-mode-line-string):
1022 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1023 * vc/vc-git.el (vc-git-mode-line-string):
1024 * vc/vc-hooks.el (vc-display-status)
1025 (vc-default-mode-line-string):
1026 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1027
1028 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1029
1030 * dired.el (dired-sort-set-mode-line): Rename from
1031 dired-sort-set-modeline. All callers changed.
1032
1033 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1034 eshell-status-in-modeline.
1035
1036 * foldout.el (foldout-mode-line-string): Rename from
1037 foldout-modeline-string. All callers changed.
1038 (foldout-update-mode-line): Rename from foldout-update-modeline.
1039
1040 * subr.el (redraw-modeline): Make into obsolete alias.
1041
1042 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1043 timeclock-modeline-display. Make old name an alias.
1044 (timeclock-update-mode-line): Likewise. All callers changed.
1045 (timeclock-mode-line-display): No need to check before using
1046 add-hook.
1047 (timeclock-relative, timeclock-day-over-hook)
1048 (timeclock-use-elapsed, timeclock-mode-string)
1049 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1050
1051 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1052 crisp-mode-modeline-string.
1053
1054 * play/solitaire.el (solitaire-build-mode-line): Rename from
1055 solitaire-build-modeline. All callers changed.
1056
1057 * play/zone.el (zone-hiding-mode-line): Rename from
1058 zone-hiding-modeline. All callers changed.
1059 (zone): Remove unusued `modeline-hidden-level' property.
1060
1061 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1062 xscheme-modeline-initialize. All callers changed.
1063
1064 * strokes.el (strokes-lighter): Rename from
1065 strokes-modeline-string.
1066
1067 * textmodes/sgml-mode.el (html-face-tag-alist)
1068 (html-tag-face-alist): Use mode-line face instead of obsolete
1069 alias modeline.
1070
42152ee4
SM
10712012-06-02 Stefan Merten <smerten@oekonux.de>
1072
1073 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1074 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1075
95f520b5
CY
10762012-06-02 Chong Yidong <cyd@gnu.org>
1077
1078 * image.el (imagemagick-enabled-types): Rename from
1079 imagemagick-types-enable. Add many more types.
1080 (imagemagick-types-inhibit): Change default to nil.
1081 (imagemagick-filter-types): Caller changed.
1082
4a5f187a
SM
10832012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1084
03fef3e6
SM
1085 * emacs-lisp/cl-macs.el: Use backquotes.
1086 (cl-transform-function-property): Use eval-and-compile rather than
1087 abusing `require'.
1088 (defstruct): Use declare-function instead of with-no-warnings.
1089
4a5f187a
SM
1090 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1091 (byte-compile-output-docform): Re-add the print-circle bindings.
1092 (byte-compile-fix-header): Use #$ just because it's shorter.
1093 (byte-compile-output-file-form): Remove defun/defmacro.
1094
bd56924f
MR
10952012-06-01 Martin Rudalics <rudalics@gmx.at>
1096
1097 * simple.el (choose-completion): Remove now obsolete binding for
1098 owindow.
1099
046e38ce
MA
11002012-06-01 Michael Albinus <michael.albinus@gmx.de>
1101
1102 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1103 in order to avoid "Stack overflow in regexp matcher".
1104
32d72c2f
GM
11052012-05-31 Glenn Morris <rgm@gnu.org>
1106
1107 * image.el: For clarity, call imagemagick-register-types at
1108 top-level, rather than relying on a custom :initialize.
1109 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1110 (imagemagick-filter-types): New function. (Bug#7406)
1111 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1112 If disabling support, remove elements altogether rather
1113 than using an impossible regexp.
1114 (imagemagick-types-inhibit): Give it the default init function.
1115
dd41169b
SM
11162012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1117
4a5f187a
SM
1118 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1119 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1120
efc00ab1 11212012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1122
1123 * desktop.el (desktop-read): Clear previous and next buffers for
1124 all windows and bury *Messages* buffer (bug#11556).
1125
500fcedc
SM
11262012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1127
1128 Add `declare' for `defun'. Align `defmacro's with it.
1129 * emacs-lisp/easy-mmode.el (define-minor-mode)
1130 (define-globalized-minor-mode): Don't autoload the var definitions.
1131 * emacs-lisp/byte-run.el: Use lexical-binding.
1132 (defun-declarations-alist, macro-declarations-alist): New vars.
1133 (defmacro, defun): Use them.
1134 (make-obsolete, define-obsolete-function-alias)
1135 (make-obsolete-variable, define-obsolete-variable-alias):
1136 Use `declare'.
1137 (macro-declaration-function): Mark obsolete.
1138 * emacs-lisp/autoload.el: Use lexical-binding.
1139 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1140
6e8a1786
AM
11412012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1142
1143 * textmodes/ispell.el (ispell-with-no-warnings):
1144 Define as a macro.
500fcedc
SM
1145 (ispell-kill-ispell, ispell-change-dictionary):
1146 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1147 `interactive-p'.
1148
61b108cc
SM
11492012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1152 (macro-declaration-function): Move var from C code.
1153 (macro-declaration-function): Define function with defalias.
1154 * emacs-lisp/macroexp.el (macroexpand-all-1):
1155 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1156 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1157 defun/defmacro any more.
1158 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1159 Provide fallback for unknown arglist.
1160 (byte-compile-arglist-warn): Change calling convention.
1161 (byte-compile-output-file-form): Move print-vars binding.
1162 (byte-compile-output-docform): Simplify accordingly.
1163 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1164 (byte-compile-defmacro-declaration): Remove.
1165 (byte-compile-file-form-defmumble): Generalize to defalias.
1166 (byte-compile-output-as-comment): Return byte-positions.
1167 Simplify callers accordingly.
1168 (byte-compile-lambda): Use `assert'.
1169 (byte-compile-defun, byte-compile-defmacro): Remove.
1170 (byte-compile-file-form-defalias):
1171 Use byte-compile-file-form-defmumble.
1172 (byte-compile-defalias-warn): Remove.
1173
6d3f7c2f
SM
11742012-05-29 Stefan Merten <smerten@oekonux.de>
1175
1176 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1177 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1178
1179 (rst-mode-abbrev-table): Merge definition.
1180 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1181 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1182
6dbaa1c7
UJ
11832012-05-29 Ulf Jasper <ulf.jasper@web.de>
1184
1185 * calendar/icalendar.el
1186 (icalendar-export-region): Export UID properly.
1187
11882012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1189 * calendar/icalendar.el (icalendar-import-format):
1190 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1191 (icalendar-import-format-uid): New.
1192 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1193 Export UID.
1194
6876a58d
SM
11952012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1198 different alternative patterns.
1199 (pcase-codegen): Be more careful to preserve identity.
1200 (pcase--u1): Don't forget to mark vars as used.
1201
1202 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1203 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1204 (byte-compile-from-buffer): ...rather than here.
1205
1206 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1207 functions from byte-compile-function-environment.
1208
46b7967e
TN
12092012-05-29 Troels Nielsen <bn.troels@gmail.com>
1210
1211 * window.el (window-deletable-p): Avoid deleting the root window
1212 of a frame with an active minibuffer.
1213
69d565e2
MR
12142012-05-29 Martin Rudalics <rudalics@gmx.at>
1215
1216 * simple.el (choose-completion): Use quit-window (Bug#11567).
1217
a149fa51
CY
12182012-05-29 Chong Yidong <cyd@gnu.org>
1219
1220 * whitespace.el (whitespace-cleanup): Fix usage of
1221 whitespace-empty-at-bob-regexp (Bug#11492).
1222
2b311310
AH
12232012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1224
1225 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1226 revert (Bug#11488).
1227
b9cb2387
JL
12282012-05-29 Juri Linkov <juri@jurta.org>
1229
1230 * isearch.el (isearch-mode-map): Bind `M-s _' to
1231 `isearch-toggle-symbol'. Bind `M-s c' to
1232 `isearch-toggle-case-fold'.
1233 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1234 (isearch-forward): Add `M-s _' to the docstring.
1235 (isearch-forward-symbol, isearch-toggle-case-fold)
1236 (isearch-symbol-regexp): New functions. (Bug#11381)
1237
d5e61c1c
JL
12382012-05-29 Juri Linkov <juri@jurta.org>
1239
1240 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1241 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1242 a function, call it to get the regexp.
1243 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1244 property `isearch-message-prefix' instead of the string "word ".
1245 (isearch-search-fun-default): For the case of `isearch-word',
1246 return a lambda that calls re-search-forward/re-search-backward
1247 with a regexp returned by `word-search-regexp' or by the function
1248 in `isearch-word'.
1249
8cbd80f7
JL
12502012-05-29 Juri Linkov <juri@jurta.org>
1251
1252 * isearch.el (isearch-search-fun-default): New function.
1253 (isearch-search-fun): Move default part to the new function
1254 `isearch-search-fun-default'.
1255 (isearch-search-fun-function): Set the default value to
1256 `isearch-search-fun-default'. (Bug#11381)
1257
1258 * comint.el (comint-history-isearch-end):
1259 Use `isearch-search-fun-default'.
1260 (comint-history-isearch-search): Use `isearch-search-fun-default'
1261 and remove spacial case for `isearch-word'.
1262 (comint-history-isearch-wrap): Remove spacial case for
1263 `isearch-word'.
1264
1265 * hexl.el (hexl-isearch-search-function):
1266 Use `isearch-search-fun-default'.
1267
1268 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1269 Use `word-search-regexp' for `isearch-word'.
1270
1271 * misearch.el (multi-isearch-search-fun):
1272 Use `isearch-search-fun-default'.
1273
1274 * simple.el (minibuffer-history-isearch-search):
1275 Use `isearch-search-fun-default' and remove spacial case for
1276 `isearch-word'.
1277 (minibuffer-history-isearch-wrap): Remove spacial case for
1278 `isearch-word'.
1279
1280 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1281 Remove spacial case for `isearch-word'.
1282 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1283
85c8c5b6
AM
12842012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1285
1286 Decrease XEmacs incompatibilities.
1287 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1288 Use `string-match'.
1289 (flyspell-delete-region-overlays): Use alternative definition for
1290 XEmacs.
1291 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1292 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1293 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1294 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1295 `define-obsolete-face-alias' under XEmacs, but old method.
1296
1297 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1298 `with-no-warnings' definition or Emacs alias.
1299 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1300 (ispell-word): Do not use `region-p' if XEmacs.
1301
8cab9efc
AM
13022012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1303
1304 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1305 Check for `ispell-dictionary-base-alist' instead of full
1306 `ispell-dictionary-alist'.
1307 (ispell-init-process): Show spellchecker when starting new Ispell
1308 process.
1309
fda91268
RZ
13102012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1313 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1314
694ea8e3
JB
13152012-05-27 Juanma Barranquero <lekktu@gmail.com>
1316
1317 * version.el (motif-version-string, gtk-version-string)
1318 (ns-version-string): Declare.
1319
e4d4f539
JL
13202012-05-27 Juri Linkov <juri@jurta.org>
1321
1322 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1323 after the `eval-defun-1' specialcaseing
1324 like in `edebug-eval-defun' (bug#10181).
1325
1326 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1327 like in `eval-defun-1'.
1328
33017faf 13292012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1330
fda91268
RZ
1331 * mail/sendmail.el (mail-yank-region):
1332 Recognize rmail-yank-current-message in addition to insert-buffer.
1333 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1334 a *mail* buffer created through rmail-start-mail with sendmail as
1335 mail-user-agent.
1336
33017faf
GM
13372012-05-27 Chong Yidong <cyd@gnu.org>
1338
1339 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1340 Default to 256 (Bug#11267).
1341
1342 * help.el (describe-mode): Doc fix.
1343
04188bb9
GM
13442012-05-26 Glenn Morris <rgm@gnu.org>
1345
38264cc9
GM
1346 * w32-fns.el (w32-init-info): Remove.
1347 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1348
eb7afdad
GM
1349 * info.el (info-initialize): For self-contained NS builds, put the
1350 included info/ directory at the front. (Bug#2791)
1351
04188bb9
GM
1352 * paths.el (Info-default-directory-list): Make it a defcustom,
1353 mainly so that we can use custom-initialize-delay.
1354
a179e3f7
SM
13552012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1356
43416392
SM
1357 * subr.el (buffer-has-markers-at): Mark obsolete.
1358
a179e3f7 1359 * subr.el (lambda): Use declare.
43416392 1360
a179e3f7
SM
1361 * emacs-lisp/lisp-mode.el (lambda):
1362 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1363
34a008d9
AH
13642012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1365
1366 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1367
0a3b289f
GM
13682012-05-26 Glenn Morris <rgm@gnu.org>
1369
1370 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1371
758c81e8
GM
13722012-05-25 Glenn Morris <rgm@gnu.org>
1373
f9f334f0
GM
1374 * paths.el: Remove no-byte-compile.
1375 * loadup.el: No need to load paths.el uncompiled.
1376
87eb79c2
GM
1377 * image.el (imagemagick-types-inhibit): Doc fix.
1378
758c81e8
GM
1379 * version.el: Remove no-byte-compile and associated formatting.
1380 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1381 is ancient code from when there was an "inc-vers.el".
1382
e7e85dc0
SM
13832012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * progmodes/gdb-mi.el: Minor style changes.
1386 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1387 Turn into minor modes.
1388 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1389 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1390 (gdb-shell): Remove unneeded let-binding.
1391 (gdb-get-many-fields): Eliminate O(n²) behavior.
1392
f31237a4
EZ
13932012-05-25 Eli Zaretskii <eliz@gnu.org>
1394
1395 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1396 platforms that don't link in fontset.c.
1397
bc1b21bb
JL
13982012-05-25 Juri Linkov <juri@jurta.org>
1399
1400 Use the same diff color scheme as in modern VCSes (bug#10181).
1401
1402 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1403 to avoid confusion with `diff-added' that now uses green colors.
1404 (diff-removed): Use shades of red.
1405 (diff-added): Use shades of green.
1406 (diff-changed): Leave just the yellow color.
1407 (diff-use-changed-face): New variable.
1408 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1409 how to highlight context diff changes.
1410 (diff-refine-change): Use shades of yellow.
1411 (diff-refine-removed): New face that uses shades of red.
1412 (diff-refine-added): New face that uses shades of green.
1413 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1414 `diff-refine-removed' in the call to `smerge-refine-subst'
1415 depending on the value of `diff-use-changed-face'.
1416
1417 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1418 (smerge-other): Use shades of green.
1419 (smerge-base): Use shades of yellow.
1420 (smerge-refined-change): Empty face.
1421 (smerge-refined-removed): New face that uses shades of red.
1422 (smerge-refined-added): New face that uses shades of green.
1423 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1424 args `props-r' and `props-a', and use them. Doc fix.
1425 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1426 on its value use different faces `smerge-refined-change',
1427 `smerge-refined-removed', `smerge-refined-added' in the call to
1428 `smerge-refine-subst'.
1429
1430 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1431 Add face condition `min-colors 88' with shades of red.
1432 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1433 `min-colors 88' with shades of green.
1434 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1435 `min-colors 88' with shades of yellow.
1436
6df9112c
GM
14372012-05-24 Glenn Morris <rgm@gnu.org>
1438
ead5edc0
GM
1439 * paths.el (prune-directory-list, remote-shell-program): Move to...
1440 * files.el (prune-directory-list, remote-shell-program): ...here.
1441 For the latter, delay initialization, prefer ssh, just search PATH.
1442
f18b81e6
GM
1443 * paths.el (term-file-prefix): Move to faces.el (the only user).
1444 * faces.el (term-file-prefix): Move here, make it a defcustom.
1445
ee2f89a6
GM
1446 * paths.el (news-directory, news-path, news-inews-program):
1447 Move to gnus/nnspool.el.
61a583ca 1448
f8815e4c
GM
1449 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1450
c8f3b42c
GM
1451 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1452 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1453 Make the latter a defcustom, with a delayed initialization.
1454
6df9112c
GM
1455 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1456 These were deleted from Gnus itself late 2010.
1457
5dadff36
JB
14582012-05-22 Juanma Barranquero <lekktu@gmail.com>
1459
9e1701c6
JB
1460 * progmodes/which-func.el (which-func-ff-hook):
1461 Check against user-error, not error.
1462
bd7239f5 1463 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1464 cl-specs.el, which no longer exists.
1465
3290526d
GM
14662012-05-22 Glenn Morris <rgm@gnu.org>
1467
1468 * info.el (info-emacs-bug): New command.
1469 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1470 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1471
ff0c3cfb
GM
14722012-05-21 Glenn Morris <rgm@gnu.org>
1473
1474 * makefile.w32-in (update-subdirs-SH):
1475 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1476
5814f126
SM
14772012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1478
a52c0aa0
SM
1479 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1480
5814f126
SM
1481 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1482 Simplify Maven regexp, and make sure the file can't start with a space
1483 (bug#11517).
1484
b847032c
GM
14852012-05-21 Glenn Morris <rgm@gnu.org>
1486
1487 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1488 Scrap superfluous subshells.
1489
3858bfe7
SM
14902012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1493 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1494
d14b0029
JB
14952012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1496
1497 * calc/calc.el (calc-ensure-consistent-units): New variable.
1498
a52c0aa0
SM
1499 * calc/calc-units.el (math-consistent-units-p)
1500 (math-check-unit-consistency): New functions.
1501 (calc-quick-units, calc-convert-units):
1502 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1503 is non-nil.
d14b0029
JB
1504 (calc-extract-units): Fix typo.
1505
60c4db3a
SM
15062012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1507
77f3b62e
SM
1508 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1509
60c4db3a
SM
1510 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1511 (flyspell-default-deplacement-commands): Don't spell check after
1512 repeated window/frame switches (e.g. triggered by mouse-movement).
1513 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1514 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1515 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1516 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1517 Remove unused vars.
1518 (flyspell-get-casechars, flyspell-get-not-casechars):
1519 Simplify; Don't bother removing a ] just to add it back.
1520 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1521
b1a10716
RS
15222012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1523
1524 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1525 New functions.
bd7239f5 1526 (math-function-table): Add support for more C functions.
b1a10716 1527
3f1b25b5
AM
15282012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1529
1530 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1531 (flyspell-debug-signal-word-checked): Protect delay handling for
1532 otherchars against empty otherchars.
1533
b581bb5c
SM
15342012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1537 their respective macro declarations.
1538 * skeleton.el (define-skeleton):
1539 * progmodes/compile.el (define-compilation-mode):
1540 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1541 (define-ibuffer-filter):
1542 * emacs-lisp/generic.el (define-generic-mode):
1543 * emacs-lisp/easy-mmode.el (define-minor-mode)
1544 (define-globalized-minor-mode):
1545 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1546 * emacs-lisp/byte-run.el (defsubst):
1547 * custom.el (deftheme): Add doc-string metadata.
1548
70b8ef8f
SM
15492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1552
b1198e17
SM
15532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1554
9abdc45d
SM
1555 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1556
b1198e17
SM
1557 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1558 * emacs-lisp/cl-macs.el: Idem.
1559 * emacs-lisp/cl-specs.el: Remove.
1560
4735906a
SM
15612012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 Minor renaming of internal CL functions and variables.
1564 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1565 (cl--position): Rename from cl-position.
1566 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1567 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1568 (cl--random-state): Rename from *random-state*.
1569
ac348012
SM
15702012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1573 parens around the arg list (bug#11499).
1574
a0a79cde
JL
15752012-05-17 Juri Linkov <juri@jurta.org>
1576
1577 * isearch.el (word-search-regexp, word-search-backward)
1578 (word-search-forward, word-search-backward-lax)
1579 (word-search-forward-lax): Move functions from search.c
1580 (bug#10145, bug#11381).
1581
65034a51
AM
15822012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1583
1584 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1585 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1586 normal word components.
1587
1a72a195
SM
15882012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * minibuffer.el (completion--sifn-requote): Fix last change.
1591 (minibuffer-local-must-match-filename-map):
1592 Move define-obsolete-variable-alias before its var.
1593
fdb058c2
SM
15942012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1595
c41045e6
SM
1596 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1597
036dfb8b
SM
1598 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1599 behavior.
1600 (completion--string-equal-p): New function.
1601 (completion--twq-all): Use it to get better assertion failure data.
1602
2473256d
SM
1603 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1604 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1605 (shell--requote-argument): New functions.
1606 (shell-completion-vars): Use them.
1607 (shell--parse-pcomplete-arguments): Rename from
1608 shell-parse-pcomplete-arguments.
1609 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1610 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1611 Obey comint-file-name-quote-list.
1612
fdb058c2
SM
1613 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1614 (smie-indent-keyword): Use it.
1615
51fa99f1
SM
16162012-05-14 Stefan Merten <smerten@oekonux.de>
1617
1618 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1619
e18afed7 16202012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1621
1622 * net/rlogin.el (rlogin-mode-map): Fix last change.
1623
e18afed7 16242012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1625
1626 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1627 the following \r\n using a single `process-send-string', since the
1628 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1629 with two `process-send-string's (Bug#11444).
8633b1f4 1630
e18afed7 16312012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1632
fdb058c2
SM
1633 * shell.el (shell-parse-pcomplete-arguments):
1634 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1635
2d21d7f6
WJ
16362012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1637
e18afed7 1638 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1639 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1640 (image-transform-width, image-transform-fit-width): New functions.
1641 (image-transform-properties): Use them.
1642 (image-transform-check-size): New function.
1643 (image-toggle-display-image): Use it (for testing).
1644 (image-transform-set-rotation): Reduce angle mod 360.
1645 Delete obsolete comment.
1646
7102e6d0
WJ
16472012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1648
1649 * image-mode.el: Fix scaling (bug#11399).
1650 (image-transform-resize): Doc fix.
1651 (image-transform-properties): Default scale is 1 and height should
1652 be an integer.
1653
06bc5e6e
SM
16542012-05-13 Johan Bockgård <bojohan@gnu.org>
1655
1656 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1657 than hard-coding `car', to fix misbehavior when moving forward.
1658
0ae03b6a
CY
16592012-05-13 Chong Yidong <cyd@gnu.org>
1660
1661 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1662 (tabulated-list-entries, tabulated-list-padding)
1663 (tabulated-list-sort-key): Make permanent-local.
1664
1665 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1666 (electric-buffer-list): Put electric buffer menu
1667 command descriptions in this docstring, instead of the docstring
1668 of electric-buffer-menu-mode. Code cleanups.
1669 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1670 Electric-buffer-menu-mode.
1671 (electric-buffer-update-highlight): Minor code cleanup.
1672
205a7391
MA
16732012-05-13 Michael Albinus <michael.albinus@gmx.de>
1674
1675 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1676 (Bug#11447)
1677
e5bd0a28
SM
16782012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 Move define-obsolete-variable-alias before the var's definition.
1681 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1682 * tooltip.el (tooltip-hook):
1683 * textmodes/reftex-toc.el (reftex-toc-map):
1684 * textmodes/reftex-sel.el (reftex-select-label-map)
1685 (reftex-select-bib-map):
1686 * textmodes/reftex-index.el (reftex-index-map)
1687 (reftex-index-phrases-map):
1688 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1689 * progmodes/meta-mode.el (meta-mode-map):
1690 * novice.el (disabled-command-hook):
1691 * loadhist.el (unload-hook-features-list):
1692 * frame.el (blink-cursor):
1693 * files.el (find-file-not-found-hooks, write-file-hooks)
1694 (write-contents-hooks):
1695 * emulation/tpu-edt.el (GOLD-map):
1696 * emacs-lock.el (emacs-lock-from-exiting):
1697 * emacs-lisp/generic.el (generic-font-lock-defaults):
1698 * emacs-lisp/chart.el (chart-map):
1699 * dos-fns.el (register-name-alist):
1700 * dired-x.el (dired-omit-files-p):
1701 * desktop.el (desktop-enable):
1702 * cus-edit.el (custom-mode-hook):
1703 * buff-menu.el (buffer-menu-mode-hook):
1704 * bookmark.el (bookmark-read-annotation-text-func)
1705 (bookmark-exit-hooks):
1706 * allout.el (allout-mode-deactivate-hook)
1707 (allout-exposure-change-hook, allout-structure-added-hook)
1708 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1709 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1710 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1711 comes before the corresponding variable's definition.
1712
ac59c2f6
CY
17132012-05-12 Chong Yidong <cyd@gnu.org>
1714
1715 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1716 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1717 (Buffer-menu-mode-map): Bind it.
1718 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1719
dee6c9a3
SM
17202012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1721
2171cea5
SM
1722 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1723 (prolog-upper-case-string, prolog-lower-case-string)
1724 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1725 (prolog-use-smie, prolog-smie-grammar): New vars.
1726 (prolog-smie-forward-token, prolog-smie-backward-token)
1727 (prolog-smie-rules): New funs.
1728 (prolog-comment-indent): Remove.
1729 (prolog-mode-variables): Use default comment indentation instead.
1730 Setup SMIE.
1731 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1732 (prolog-mode): Don't call them any more.
1733 (prolog-electric-colon, prolog-electric-dash)
1734 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1735
aa0382bd
SM
1736 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1737
dbacb4bd
SM
1738 * minibuffer.el (completion--twq-all): Again, allow case differences.
1739
13bdd94c
SM
1740 * term.el: Move keymap initialization code to be more idiomatic.
1741 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1742 (term-terminal-menu): Move initialization into declaration.
1743 (term-escape-char): Let the user set it in her .emacs.
1744
ff46c759
SM
1745 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1746 Provide SMIE-based indentation (not enabled by default yet).
1747 (sh-mode-map): Don't bind electric keys.
1748 Use electric-pair-mode instead of skeleton-pair.
1749 (sh-assignment-regexp): Fit within 80 columns.
1750 (sh-indent-supported): Specify actual shell name instead of boolean.
1751 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1752 (sh-maybe-here-document): Use it. Make obsolete.
1753 (sh-electric-here-document-mode) New minor mode.
1754 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1755 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1756 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1757 (sh-smie-rc-grammar, sh-use-smie): New vars.
1758 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1759 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1760 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1761 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1762 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1763 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1764 (sh-set-shell): Use smie-setup if requested.
1765
dee6c9a3
SM
1766 * term.el (term-set-escape-char): Properly set term-escape-char.
1767 See http://stackoverflow.com/questions/10524656.
1768
9f9aa044
CY
17692012-05-10 Chong Yidong <cyd@gnu.org>
1770
1771 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1772 Use url-generic-parse-url, and handle host names and Windows
1773 filenames properly.
1774 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1775 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1776 URL schemes to work on.
1777 (ffap--toggle-read-only): New function.
1778 (ffap-read-only, ffap-read-only-other-window)
1779 (ffap-read-only-other-frame): Use it.
1780 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1781 necessary for ffap-url-unwrap-remote.
1782
836d29b3
DA
17832012-05-10 Dave Abrahams <dave@boostpro.com>
1784
1785 * cus-start.el (create-lockfiles): Add it.
1786
00fd78ed
CY
17872012-05-09 Chong Yidong <cyd@gnu.org>
1788
1789 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1790 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1791
666b903b 17922012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1793
1794 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1795
666b903b 17962012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1797
1798 * ansi-color.el (ansi-color-process-output): Check for validity of
1799 comint-last-output-start before using it. This avoids a bad
1800 interaction with gdb-mi's input/output buffer.
1801
666b903b 18022012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1803
1804 * files.el (dir-locals-read-from-file):
1805 Mention dir-locals in any error message.
1806
666b903b 18072012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1808
1809 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1810 package (Bug#11410).
1811
f677562b
CY
1812 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1813 variables into description.
1814
666b903b 18152012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1816
1817 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1818 shell-delimiter-argument-list (bug#11348).
1819 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1820
b499d8d0
JB
18212012-05-09 Juanma Barranquero <lekktu@gmail.com>
1822
8f6b6da8
JB
1823 * textmodes/rst.el: Silence byte-compiler warnings.
1824 (rst-re-alist, rst-reset-section-caches): Move around.
1825 (rst-re): Use `characterp', not `char-valid-p'.
1826 (font-lock-beg, font-lock-end): Declare.
1827
4824146a
JB
1828 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1829 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1830
b499d8d0
JB
1831 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1832
ad89bb83
GM
18332012-05-08 Glenn Morris <rgm@gnu.org>
1834
1835 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1836
8bba5a75
SM
18372012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1838
49ed9c8e
SM
1839 * vc/log-edit.el: Add GNU coding standards highlighting.
1840 (log-edit-font-lock-gnu-style)
1841 (log-edit-font-lock-gnu-keywords): New vars.
1842 (log-edit-font-lock-keywords): New fun.
1843 (log-edit-mode): Don't fold case in font-lock.
1844 (log-edit-font-lock-keywords): Do not assume case-folding.
1845
07d00b56
SM
1846 * imenu.el: Misc cleanup. Make docstrings out of comments.
1847 Use lexical-binding.
1848 (imenu--index-alist, imenu--last-menubar-index-alist)
1849 (imenu-menubar-modified-tick): Use defvar-local.
1850 (imenu--split-menu): Remove unused var.
1851 (imenu--cleanup-seen): Declare as global.
1852 (imenu--cleanup): Use dolist.
1853
8bba5a75
SM
1854 * subr.el (defvar-local): Add debug spec and doc-string position.
1855
5075bdb5
GM
18562012-05-08 Glenn Morris <rgm@gnu.org>
1857
c052c904
GM
1858 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1859 * language/english.el, language/georgian.el, language/greek.el:
1860 * language/japanese.el, language/khmer.el, language/korean.el:
1861 * language/lao.el, language/misc-lang.el, language/romanian.el:
1862 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1863 * language/thai.el, language/utf-8-lang.el:
1864 Remove no-byte-compile setting.
1865
5075bdb5
GM
1866 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1867
06f679a7
AH
18682012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1869
1870 * progmodes/make-mode.el (makefile-browse):
1871 Remove unnecessary interactive. (Bug#11324)
1872
03794570
GM
18732012-05-07 Glenn Morris <rgm@gnu.org>
1874
af8630f4
GM
1875 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1876
03794570
GM
1877 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1878
f0809a9d
SM
18792012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1880
28be5ce7
SM
1881 * loadup.el: Preload newcomment.el.
1882 * newcomment.el: Move autoload-only code to toplevel.
1883
f0809a9d
SM
1884 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1885 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1886 Handle new :right-align column property.
1887 (tabulated-list-print-col): Idem, plus use `display' text-property to
1888 try and preserve alignment for variable pitch fonts.
1889
1241b724
CY
18902012-05-07 Chong Yidong <cyd@gnu.org>
1891
1892 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1893 (tabulated-list-use-header-line): New var.
1894 (tabulated-list-init-header): Use it.
1895 (tabulated-list-print-fake-header): New function.
1896 (tabulated-list-print): Use it.
1897 (tabulated-list-sort-button-map): Add non-header-line commands.
1898 (tabulated-list-init-header): Add column name property to basic
1899 labels as well.
1900 (tabulated-list-col-sort): Handle non-header-line button case.
1901 (tabulated-list--sort-by-column-name): Fix a corner case.
1902
f0809a9d
SM
1903 * buff-menu.el (list-buffers--refresh):
1904 Handle Buffer-menu-use-header-line.
1241b724 1905
e5f9458f
CY
19062012-05-06 Chong Yidong <cyd@gnu.org>
1907
1908 * buff-menu.el: Convert to Tabulated List mode.
1909 (Buffer-menu-buffer+size-width): Make obsolete.
1910 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1911 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1912 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1913 documentation into docstring of buffer-menu.
1914 (Buffer-menu-toggle-files-only): Add an informative message.
1915 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1916 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1917 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1918 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1919 (Buffer-menu-execute, Buffer-menu-select)
1920 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1921 (Buffer-menu-bury): Use Tabulated List machinery.
1922 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1923 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1924 Delete.
e5f9458f
CY
1925 (list-buffers--refresh): New function.
1926 (list-buffers-noselect): Use it.
1927 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1928 (Buffer-menu--pretty-file-name): New helper functions.
1929
1930 * loadup.el: Preload tabulated-list.
1931
1932 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1933 tabulated-list-sort-column.
1934 (tabulated-list-init-header): Add the initial aligning space even
1935 if tabulated-list-padding is zero.
1936
e129292c
CS
19372012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1938
1939 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1940 whose cdr is not a cons cell correctly (bug#11038).
1941
6632d361
CY
19422012-05-06 Chong Yidong <cyd@gnu.org>
1943
e129292c
CS
1944 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1945 Accept additional plist in column descriptors.
6632d361
CY
1946 (tabulated-list-init-header): Obey it.
1947 (tabulated-list-get-entry): New function.
1948 (tabulated-list-put-tag): Use it. Use string-width instead of
1949 length.
1950 (tabulated-list--column-number): New function.
1951 (tabulated-list-print): Use it.
e129292c
CS
1952 (tabulated-list-print-col): New function.
1953 Set `tabulated-list-column-name' property on each column's text.
6632d361 1954 (tabulated-list-print-entry): Use it.
e129292c
CS
1955 (tabulated-list-delete-entry, tabulated-list-set-col):
1956 New functions.
6632d361
CY
1957 (tabulated-list-sort-column): New command (Bug#11337).
1958
3cc99f68
CY
1959 * buff-menu.el (list-buffers): Move C-x C-b binding from
1960 buff-menu.el to bindings.el.
1961
1962 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1963 :advertised-binding feature.
1964
52b61776
TN
19652012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1966
1967 * progmodes/compile.el (compilation-internal-error-properties):
1968 Calculate start position correctly when end-col is set but
1969 end-line is not (Bug#11382).
1970
ebfe2597
WJ
19712012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1972
1973 * man.el (Man-unindent): Use text-property-default-nonsticky to
1974 prevent untabify from inheriting face properties (Bug#11408).
1975
6d3f7c2f
SM
19762012-05-05 Stefan Merten <smerten@oekonux.de>
1977
1978 * textmodes/rst.el: Major merge with upstream development up to
1979 Docutils SVN r7399 / rst.el V1.2.1.
1980
1981 Clarify maintainership and authors.
1982
1983 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1984 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1985 (rst-official-version, rst-official-cvs-rev, rst-version)
1986 (rst-package-emacs-version-alist): New functions and variables
1987 for version information.
1988
1989 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1990 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1991 (rst-mode-syntax-table, rst-mode): New and corrected functions
1992 and variables representing reStructuredText features.
1993
1994 (rst-re): New function for reStructuredText regexes. Use in
1995 many places.
1996
1997 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1998 (rst-mode-map): Rebind keys.
1999
2000 (rst-mode-lazy, rst-font-lock-keywords)
2001 (rst-font-lock-extend-region)
2002 (rst-font-lock-extend-region-internal)
2003 (rst-font-lock-extend-region-extend)
2004 (rst-font-lock-find-unindented-line-limit)
2005 (rst-font-lock-find-unindented-line-match)
2006 (rst-adornment-level, rst-font-lock-adornment-level)
2007 (rst-font-lock-adornment-match)
2008 (rst-font-lock-handle-adornment-pre-match-form)
2009 (rst-font-lock-handle-adornment-matcher): Major revision of
2010 font-locking. Integrate with other code. Use `jit-lock-mode'.
2011
2012 (rst-preferred-adornments, rst-adjust-hook)
2013 (rst-new-adornment-down, rst-preferred-bullets)
2014 (rst-preferred-bullets, rst-indent, rst-indent-width)
2015 (rst-indent-field, rst-indent-literal-normal)
2016 (rst-indent-literal-minimized, rst-indent-comment): Change,
2017 extend and improve customization.
2018
2019 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2020 (rst-normalize-cursor-position, rst-get-decoration)
2021 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2022 (rst-rstrip, rst-toc-insert-find-delete-contents)
2023 (rst-shift-fill-region, rst-compute-bullet-tabs)
2024 (rst-debug-print-tabs, rst-debug-mark-found)
2025 (rst-shift-region-guts, rst-shift-region-right)
2026 (rst-shift-region-left, rst-use-char-classes)
2027 (rst-font-lock-keywords-function)
2028 (rst-font-lock-indentation-point)
2029 (rst-font-lock-find-unindented-line-begin)
2030 (rst-font-lock-find-unindented-line-end)
2031 (rst-font-lock-find-unindented-line)
2032 (rst-font-lock-adornment-point, rst-font-lock-level)
2033 (rst-adornment-level-alist): Remove functions and variables.
2034
2035 (rst-compare-adornments, rst-get-adornment-match)
2036 (rst-suggest-new-adornment, rst-get-adornments-around)
2037 (rst-adornment-complete-p, rst-get-next-adornment)
2038 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2039 (rst-straighten-adornments): Standardize function names to
2040 use "adornment" instead of "decoration". Correct callers.
2041 Similar standardizing in many places.
2042
2043 (rst-update-section, rst-adjust, rst-promote-region)
2044 (rst-enumerate-region, rst-bullet-list-region)
2045 (rst-repeat-last-character): Correct use of `interactive'.
2046
2047 (rst-classify-adornment, rst-find-all-adornments)
2048 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2049 (rst-find-leftmost-column, rst-repeat-last-character):
2050 Refactor functions.
2051
2052 (rst-find-title-line, rst-reset-section-caches)
2053 (rst-get-adornments-around, rst-adjust-adornment-work)
2054 (rst-arabic-to-roman, rst-roman-to-arabic)
2055 (rst-insert-list-pos, rst-insert-list-new-item)
2056 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2057 New functions.
2058
2059 (rst-all-sections, rst-section-hierarchy)
2060 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2061 New variables.
2062
2063 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2064 configuration instead of only buffer. Change where necessary.
2065
2066 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2067 (rst-shift-region, rst-adaptive-fill): New functions for
2068 indentation and filling.
2069
2070 (rst-comment-line-break, rst-comment-indent)
2071 (rst-comment-insert-comment, rst-comment-region)
2072 (rst-uncomment-region): New functions for handling comments.
2073
2074 (rst-compile): Quote shell arguments.
2075
2076 (rst-compile-pdf-preview, rst-compile-slides-preview):
2077 Delete temporary files after use.
2078
a43f98b3
GM
20792012-05-05 Glenn Morris <rgm@gnu.org>
2080
48176e8b
GM
2081 * calendar/cal-html.el: Optionally include holidays in the output.
2082 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2083 (cal-html-holidays): New option.
2084 (cal-html-css-default): Add holiday entry.
2085 (holiday-in-range): Autoload it.
2086 (cal-html-htmlify-entry): Add optional class argument.
2087 (cal-html-htmlify-list): Add optional holidays argument.
2088 (cal-html-insert-agenda-days): Include holidays in the output.
2089 (cal-html-one-month): Maybe include holidays.
2090
a43f98b3
GM
2091 * calendar/holidays.el (holiday-in-range):
2092 Move here from cal-tex-list-holidays.
2093 * calendar/cal-tex.el (cal-tex-list-holidays):
2094 Make it an obsolete alias for holiday-in-range. Update all callers.
2095
fef9d149 20962012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2097
2098 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2099 Nextstep.
2100
248da2f4
RW
21012012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2102
2103 * files.el (file-auto-mode-skip): New var.
2104 (set-auto-mode-1): Use it.
2105
f95e9344
SM
21062012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2107
df96ab1e
SM
2108 * repeat.el: Use lexical-binding.
2109 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2110 (repeat-undo-count): Remove.
2111 (repeat):
2112 * progmodes/octave-mod.el (octave-abbrev-start):
2113 * progmodes/f90.el (f90-abbrev-start):
2114 * face-remap.el (text-scale-adjust):
2115 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2116
5342bb06
SM
2117 * emacs-lisp/pcase.el (pcase--let*): New function.
2118 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2119 a bit more.
2120 (pcase--split-pred): Be more clever about ruling out overlap between
2121 a predicate and some constant pattern.
2122 (pcase--q1): Use `null' instead of (eq foo nil).
2123
f95e9344
SM
2124 * subr.el (setq-local, defvar-local): New macros.
2125 (kbd): Redefine as an alias.
2126 (with-selected-window): Leave unrelated frames alone.
2127 (set-temporary-overlay-map): New function.
2128
71873e2b
SM
21292012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * subr.el (user-error): New function.
2132 * window.el (switch-to-buffer):
2133 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2134 (smerge-match-conflict):
2135 * simple.el (previous-matching-history-element)
2136 (next-matching-history-element, goto-history-element, undo-more)
2137 (undo-start):
2138 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2139 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2140 (next-file, tags-loop-scan, list-tags, complete-tag):
2141 * progmodes/compile.el (compilation-loop):
2142 * mouse.el (mouse-minibuffer-check):
2143 * man.el (Man-bgproc-sentinel, Man-goto-page):
2144 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2145 (Info-history-forward, Info-follow-reference, Info-menu)
2146 (Info-extract-menu-item, Info-extract-menu-counting)
2147 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2148 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2149 (Info-next-reference, Info-prev-reference, Info-index)
2150 (Info-index-next, Info-follow-nearest-node)
2151 (Info-copy-current-node-name):
2152 * imenu.el (imenu--make-index-alist)
2153 (imenu-default-create-index-function, imenu-add-to-menubar):
2154 * files.el (basic-save-buffer, recover-file):
2155 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2156 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2157 (checkdoc-message-text, checkdoc-defun):
2158 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2159 * cus-edit.el (customize-changed-options, customize-rogue)
2160 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2161 (custom-variable-mark-to-reset-standard)
2162 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2163 (custom-file):
2164 * completion.el (check-completion-length):
2165 * comint.el (comint-search-arg)
2166 (comint-previous-matching-input-string-position)
2167 (comint-previous-matching-input)
2168 (comint-replace-by-expanded-history-before-point, comint-send-input)
2169 (comint-copy-old-input, comint-backward-matching-input)
2170 (comint-goto-process-mark, comint-set-process-mark):
2171 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2172 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2173
8a61ee22
SM
21742012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2175
66408d1e
SM
2176 * dabbrev.el (dabbrev--ignore-case-p): New function.
2177 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2178 Use it.
2179
8a61ee22
SM
2180 * files.el (automount-dir-prefix): Mark as obsolete.
2181
3c74813a
GM
21822012-05-04 Glenn Morris <rgm@gnu.org>
2183
2184 * patcomp.el, play/bruce.el: Move to obsolete/.
2185
0bfcf5c5
PE
21862012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2187
2188 Fix minor Y10k bugs.
2189 * arc-mode.el (archive-unixdate):
2190 * autoinsert.el (auto-insert-alist):
2191 * calc/calc-forms.el (math-this-year):
2192 * emacs-lisp/copyright.el (copyright-current-year)
2193 (copyright-update-year, copyright):
2194 * tar-mode.el (tar-clip-time-string):
2195 * time.el (display-time-update):
2196 Don't assume years have 4 digits.
2197
78f3273a
CY
21982012-05-04 Chong Yidong <cyd@gnu.org>
2199
2200 * dos-w32.el (file-name-buffer-file-type-alist)
2201 (direct-print-region-use-command-dot-com):
2202 * ffap.el (ffap-menu-regexp):
2203 * find-file.el (ff-special-constructs):
2204 * follow.el (follow-debug):
2205 * forms.el (forms--debug):
2206 * iswitchb.el (iswitchb-all-frames):
2207 * ido.el (ido-all-frames):
2208 * emacs-lisp/timer.el (timer-max-repeats):
2209 * mail/feedmail.el (feedmail-mail-send-hook)
2210 (feedmail-mail-send-hook-queued):
2211 * mail/footnote.el (footnote-signature-separator):
2212 * mail/mailabbrev.el (mail-alias-separator-string)
2213 (mail-abbrev-mode-regexp):
2214 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2215 * progmodes/idlwave.el (idlwave-libinfo-file)
2216 (idlwave-default-completion-case-is-down)
2217 (idlwave-library-routines): Convert defvars to defcustoms.
2218
2219 * mail/rmail.el (rmail-decode-mime-charset):
2220 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2221 (idlwave-shell-fix-inserted-breaks)
2222 (idlwave-shell-activate-alt-keybindings)
2223 (idlwave-shell-use-breakpoint-glyph):
2224 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2225
f7ae6719
SM
22262012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2229
47086495
WS
22302012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2231
2232 * progmodes/verilog-mode.el (font-lock-keywords):
2233 Fix mis-highligting auto. Reported by Craig Barner.
2234 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2235 defines from global name space. Reported by Dan Dever.
2236 (verilog-auto-reset, verilog-auto-reset-widths)
2237 (verilog-auto-tieoff): Support using unbased numbers for
2238 AUTORESET and AUTOTIEOFF.
2239 (verilog-submit-bug-report): Update variable list.
2240 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2241 parenthesis from not matching. Reported by Michael Rytting.
2242 (verilog-auto-template-lint): Fix hash error when linting modules
2243 with no used templates.
2244 (verilog-warn, verilog-warn-error)
2245 (verilog-warn-fatal): When non-interactive report multiple
2246 warnings before exiting. Suggested by Brad Dobbie.
2247 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2248 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2249 to report unused template errors. Reported by Brad Dobbie.
2250 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2251 nets, bug438. Reported by Vns Blore.
2252 (verilog-auto-inout-module, verilog-auto-reg)
2253 (verilog-read-decls, verilog-read-sub-decls-sig)
2254 (verilog-signals-edit-wire-reg, verilog-signals-with):
2255 Fix passing of Verilog data types in ANSI input/output ports
2256 such as "output logic" into the AUTOs. Special case "wire" and
2257 "reg" for backwards compatibility presuming Verilog 2001.
2258 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2259 (verilog-preprocess): Fix replication of preprocess output.
2260 Reported by Brad Dobbie.
2261 (verilog-auto-inst-interfaced-ports):
2262 Create verilog-auto-inst-interfaced-ports, bug429.
2263 Reported by Julian Gorfajn.
2264 (verilog-after-save-font-hook)
2265 (verilog-before-save-font-hook): New variable.
2266 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2267 (verilog-save-font-mods): Wrap disabling fontification, reported
2268 by David Rogoff.
2269 (verilog-do-indent, verilog-pretty-declarations-auto)
2270 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2271 Reported by Pierre-David Pfister.
2272 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2273 of class declarations, bug292. Reported by Kevin Heilman.
2274 (verilog-read-decls): Fix 'parameter type' not appearing in
2275 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2276 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2277 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2278 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2279 Reported by David Kravitz.
2280
22812012-05-03 Michael McNamara <mac@mail.brushroad.com>
2282
2283 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2284 assignment with tests in ifs and for loops.
2285 (verilog-extended-complete-re, verilog-complete-reg): Change so
2286 that DPI inport functions don't look like fuction declarations.
2287 (verilog-pretty-expr): Don't line up assignment
2288 operations to the test and increment in if and for loops
2289 (verilog-extended-complete-re, verilog-complete-reg): Change so
2290 that DPI inport functions don't look like fuction declarations
2291
2e51d4b5
KH
22922012-05-03 Kenichi Handa <handa@m17n.org>
2293
2294 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2295 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2296 (Bug#11282).
2297
2bd785a2
SM
22982012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * emacs-lisp/bytecomp.el
2301 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2302 since cconv.el might have introduced :fun-body, internal-make-closure,
2303 and friends for bytecomp to handle (bug#11391).
2304 * custom.el (defcustom): Avoid ((λ ..) ..).
2305
99d27583
SM
23062012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2309
55a71479
JB
23102012-05-02 Juanma Barranquero <lekktu@gmail.com>
2311
2312 * notifications.el (dbus-debug):
2313 * term/linux.el (gpm-mouse-enable):
2314 * term/screen.el (xterm-register-default-colors): Declare.
2315
7b97c764
CY
23162012-05-02 Chong Yidong <cyd@gnu.org>
2317
2bc356d7
CY
2318 * cus-start.el (gc-cons-percentage, exec-suffixes)
2319 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2320 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2321 (make-cursor-line-fully-visible, void-text-area-pointer)
2322 (font-list-limit): Add customization data.
2323
7b97c764
CY
2324 * allout.el (allout-exposure-change-functions)
2325 (allout-structure-added-functions)
2326 (allout-structure-deleted-functions)
2327 (allout-structure-shifted-functions): Rename abnormal hooks from
2328 *-hook, and convert to defcustoms.
5d3385a0
JB
2329 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2330 Convert to defcustoms.
7b97c764
CY
2331 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2332
2333 * allout-widgets.el: Hook callers changed.
2334
90207a15 23352012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2336
2337 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2338 the yanked message in preference to the default value of
2339 buffer-file-coding-system.
2340
90207a15 23412012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2342
5d3385a0
JB
2343 * window.el (display-buffer--action-function-custom-type):
2344 Fix entry.
d9558cad 2345
90207a15 23462012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2347
2348 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2349
d80ac57b
GM
23502012-05-01 Glenn Morris <rgm@gnu.org>
2351
976f7668
GM
2352 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2353
beb83b5a
GM
2354 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2355
d80ac57b
GM
2356 * cus-edit.el (custom-variable-documentation): Simplify with format.
2357
b593d6a9
AH
23582012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2359 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * simple.el (suggest-key-bindings, execute-extended-command):
2362 Move from keyboard.c.
2363
782fbf2a
CY
23642012-05-01 Chong Yidong <cyd@gnu.org>
2365
2366 * follow.el: Eliminate advice.
2367 (set-process-filter, process-filter, sit-for): Advice deleted.
2368 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2369 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2370 Vars deleted.
782fbf2a
CY
2371 (follow-auto): Use a :set function.
2372 (follow-mode): Rewritten. Don't advise process filters.
2373 (follow-switch-to-current-buffer-all, follow-scroll-up)
2374 (follow-scroll-down): Assume follow-mode is bound.
2375 (follow-comint-scroll-to-bottom)
2376 (follow-align-compilation-windows): New functions.
2377 (follow--window-sorter): New function.
2378 (follow-all-followers): Use it to explicitly sort windows by their
2379 positions; don't make assumptions about next-window order.
2380 (follow-windows-start-end, follow-delete-other-windows-and-split)
2381 (follow-calc-win-start): Doc fix.
2382 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2383 vertical-motion unnecessarily.
2384 (follow-adjust-window): New function.
2385 (follow-post-command-hook): Use it.
2386 (follow-call-set-process-filter, follow-call-process-filter)
2387 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2388 (follow-stop-intercept-process-output, follow-generic-filter):
2389 Functions deleted.
2390 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2391 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2392 New functions, replacing advice on scroll-bar-* commands.
87233a14 2393 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2394
2395 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2396 (comint-postoutput-scroll-to-bottom): Use it.
2397 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2398
290af740
GM
23992012-05-01 Glenn Morris <rgm@gnu.org>
2400
2401 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2402 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2403 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2404 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2405 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2406 Remove no-byte-compile setting.
2407
6eac8dc9
SM
24082012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2411 all-completions code to not return a number in the last cdr.
2412
9cc7819c
LL
24132012-04-30 Leo Liu <sdl.web@gmail.com>
2414
2415 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2416 read-only error.
2417
c93b886f
CY
24182012-04-29 Chong Yidong <cyd@gnu.org>
2419
2420 * follow.el (follow-calc-win-end): Rewrite to handle partial
2421 screen lines correctly (Bug#8390).
2422 (follow-avoid-tail-recenter): Minor cleanup.
2423
8b6c19f4
SM
24242012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 Avoid the obsolete `assoc' package.
2427 * speedbar.el (speedbar-refresh): Avoid adelete.
2428 (speedbar-file-lists): Simplify and avoid aput.
2429 * man.el (Man--sections, Man--refpages): New vars, replacing
2430 Man-sections-alist and Man-refpages-alist.
2431 (Man-build-section-alist, Man-build-references-alist):
2432 Use them; avoid aput.
2433 (Man--last-section, Man--last-refpage): New vars.
2434 (Man-follow-manual-reference): Use them.
2435 Use the `default' arg of completing-read.
2436 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2437
c5bb7569
CY
24382012-04-27 Chong Yidong <cyd@gnu.org>
2439
d1d2e2e8
CY
2440 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2441
15cd8efd
CY
2442 * startup.el (x-apply-session-resources): New function.
2443
2444 * term/ns-win.el (ns-initialize-window-system):
2445 * term/w32-win.el (w32-initialize-window-system):
2446 * term/x-win.el (x-initialize-window-system): Use it to properly
2447 set menu-bar-mode and other vars from X resources, even if the
2448 initial frame is not a window-system frame (Bug#2299).
2449
c5bb7569
CY
2450 * subr.el (read-key): Avoid running filter function when setting
2451 up temporary tool bar entries (Bug#9922).
2452
a8e7d6d7 24532012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2454
2455 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2456 (Bug#11344)
2457
a8e7d6d7 24582012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2459
2460 * select.el (xselect--encode-string): New function, split from
2461 xselect-convert-to-string.
2462 (xselect-convert-to-string): Use it.
2463 (xselect-convert-to-filename, xselect-convert-to-os)
2464 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2465 returned strings are properly encoded (Bug#11315).
2466
a8e7d6d7 24672012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2468
2469 * simple.el (delete-active-region): Move to killing custom group.
2470
a8e7d6d7 24712012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2472
2473 * progmodes/which-func.el (which-func-current): Quote %
2474 characters for mode-line processing.
2475
578c1d4b 24762012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2477
2478 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2479 reaching eob (Bug#11286).
2480
a8e7d6d7 24812012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2482
2483 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2484 (gdb): Make it buffer-local and init to zero.
2485 (gdb-control-commands-regexp): New variable.
2486 (gdb-send): Don't wrap in "-interpreter-exec console" if
2487 gdb-control-level is positive. Increment gdb-control-level
2488 whenever the command matches gdb-control-commands-regexp, and
2489 decrement it each time the command is "end". (Bug#11279)
2490
a8e7d6d7 24912012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2492
2493 * window.el (adjust-window-trailing-edge, enlarge-window)
2494 (shrink-window, window-resize):
2495 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2496 windows (Bug#11276).
2497
b3608390
CY
24982012-04-27 Chong Yidong <cyd@gnu.org>
2499
2500 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2501 fix "missing prefix" warning. All callers changed.
b3608390 2502
797e6e88
SM
25032012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * emacs-lisp/assoc.el: Move to obsolete/.
2506
e95a67dc
SM
25072012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2508
657c21e4 2509 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2510
2511 * term/ns-win.el (ns-define-service):
2512 * progmodes/pascal.el (pascal-goto-defun):
2513 * progmodes/js.el (js--read-tab):
2514 * progmodes/etags.el (tags-lazy-completion-table):
2515 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2516 * emacs-lisp/ewoc.el (ewoc--wrap):
2517 * emacs-lisp/assoc.el (aput, adelete, amake):
2518 * doc-view.el (doc-view-convert-current-doc):
2519 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2520
cb3e7ae0
CY
25212012-04-26 Chong Yidong <cyd@gnu.org>
2522
dce04f7f
CY
2523 * image.el (image-type-from-buffer): Only return supported image
2524 type (Bug#9045).
2525
cb3e7ae0
CY
2526 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2527 value, for symmetry with diff-end-of-hunk.
2528 (diff-split-hunk, diff-find-source-location)
2529 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2530 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2531 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2532 compute the relevant hunk or file properly (Bug#6005).
2533 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2534
0d42eb3e
SM
25352012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * vc/vc-mtn.el:
2538 * vc/vc-hg.el:
2539 * vc/vc-git.el:
2540 * vc/vc-dir.el:
2541 * vc/vc-cvs.el:
2542 * vc/vc-bzr.el:
2543 * vc/vc-arch.el:
2544 * vc/vc.el: Replace lexical-let by lexical-binding.
2545 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2546 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2547 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2548
f08ae1c9
CY
25492012-04-26 Chong Yidong <cyd@gnu.org>
2550
8b71081d
CY
2551 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2552 (diff-mode-shared-map): Bind it to / and [remap undo].
2553
f08ae1c9
CY
2554 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2555 (ediff-window-setup-function): Use it as the default, to set up
2556 windows based on whether the current frame is graphical (Bug#2138).
2557 (ediff-choose-window-setup-function-automatically): Make obsolete.
2558
2559 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2560
ef24141c
SM
25612012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2562
cc356a5d
SM
2563 * ffap.el: Remove old code for obsolete package.
2564 (ffap-complete-as-file-p): Remove.
2565
b4ff4f1f
SM
2566 Use completion-table-with-quoting for comint and pcomplete.
2567 * comint.el (comint--unquote&requote-argument)
2568 (comint--unquote-argument, comint--requote-argument): New functions.
2569 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2570 (comint-quote-filename): Use regexp-opt-charset.
2571 (comint--common-suffix, comint--common-quoted-suffix)
2572 (comint--table-subvert): Remove.
2573 (comint-unquote-function, comint-requote-function): New vars.
2574 (comint--complete-file-name-data): Use them with
2575 completion-table-with-quoting.
2576 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2577 * pcomplete.el (pcomplete-arg-quote-list)
2578 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2579 (pcomplete-unquote-argument-function): Default to non-nil.
2580 (pcomplete-unquote-argument): Simplify.
2581 (pcomplete--common-quoted-suffix): Remove.
2582 (pcomplete-requote-argument-function): New var.
2583 (pcomplete--common-suffix): New function.
2584 (pcomplete-completions-at-point): Use completion-table-with-quoting
2585 and completion-table-subvert.
2586
79c4eeb4
SM
2587 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2588 (minibuffer--double-dollars): Preserve properties.
2589 (completion--sifn-requote): New function.
2590 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2591
ef24141c
SM
2592 * minibuffer.el: Add support for completion of quoted/escaped data.
2593 (completion-table-with-quoting, completion-table-subvert): New funs.
2594 (completion--twq-try, completion--twq-all): New functions.
2595 (completion--nth-completion): New function.
2596 (completion-try-completion, completion-all-completions): Use it.
2597
784e7d6e
LL
25982012-04-25 Leo Liu <sdl.web@gmail.com>
2599
dd2ac746
SM
2600 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2601 Use compilation-message if available to find real filename.
784e7d6e 2602
07875ee7
CY
26032012-04-25 Chong Yidong <cyd@gnu.org>
2604
2605 * vc/diff-mode.el (diff-setup-whitespace): New function.
2606 (diff-mode): Use it.
2607
2608 * vc/diff.el (diff-sentinel):
2609 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2610 Whitespace mode variables based on diff style (Bug#8612).
2611
5055880d
LL
26122012-04-25 Leo Liu <sdl.web@gmail.com>
2613
daf75653
LL
2614 * progmodes/python.el (python-send-region): Add suffix .py to the
2615 temp file.
2616
5055880d
LL
2617 * files.el (auto-mode-alist): Use javascript-mode instead.
2618
db9b177b
AH
26192012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2620
ef24141c 2621 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2622
2623 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2624 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2625 references, see Bug#9.
ef24141c 2626 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2627 when receiving a fault reply.
ef24141c 2628 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2629
2630 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2631 (soap-inspect-simple-type): New function.
db9b177b 2632
ef24141c 2633 * soap-client.el (soap-simple-type): New struct.
db9b177b 2634 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2635 (soap-decode-basic-type, soap-encode-basic-type):
2636 support unsignedInt and double basic types.
db9b177b 2637 (soap-resolve-references-for-simple-type)
ef24141c
SM
2638 (soap-parse-simple-type, soap-encode-simple-type): New function.
2639 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2640
2641 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2642 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2643 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2644 the local name of "soapenc:Array".
2645 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2646 decoding integer, byte and anyURI xsd types.
2647
1fc6097b
CY
26482012-04-25 Chong Yidong <cyd@gnu.org>
2649
2650 * cus-edit.el (custom-buffer-create-internal): Update header text.
2651
afc6df87
EZ
26522012-04-25 Eli Zaretskii <eliz@gnu.org>
2653
2654 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2655 settings on 'system-type', not on 'window-system'. On MS-Windows,
2656 set interactive-mode on in GDB.
2657
dfbd787f
SM
26582012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2659
2660 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2661 (ruby-syntax-propertize-regexp): Remove.
2662 (ruby-syntax-propertize-function): Split regexp into chunks.
2663 Match following code directly.
2664
85222d44
DG
26652012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2666
51a8ea2a
DG
2667 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2668 (ruby-syntax-propertize-regexp): New function.
2669 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2670 by a special keyword.
2671
85222d44
DG
2672 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2673 (ruby-syntax-general-delimiters-goto-beg)
2674 (ruby-syntax-propertize-general-delimiters): New functions.
2675 (ruby-syntax-propertize-function): Use them to handle GDL.
2676 (ruby-font-lock-keywords): Move old handling of GDL...
2677 (ruby-font-lock-syntactic-keywords): .. to here.
2678 (ruby-calculate-indent): Adjust indentation for GDL.
2679
b613912b
MA
26802012-04-24 Michael Albinus <michael.albinus@gmx.de>
2681
b5380639
MA
2682 * notifications.el (top): Remove unneeded declarations.
2683 (notifications-specification-version): Change to "1.2".
e43042fe 2684 (notifications-interface, notifications-notify-method)
b613912b
MA
2685 (notifications-close-notification-method): Fix docstring.
2686 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2687 (notifications-notify): Add :action-items, :resident and
2688 :transient hints. Change "image_data" to "image-data" and
2689 "image_path" to "image-path".
b613912b
MA
2690 (notifications-get-capabilities): New defun.
2691
257440aa
LL
26922012-04-24 Leo Liu <sdl.web@gmail.com>
2693
2694 * progmodes/python.el: Move hideshow setup to the end.
2695
b1bac16e
MR
26962012-04-24 Martin Rudalics <rudalics@gmx.at>
2697
2698 * window.el (handle-select-window): Clear echo area since this is
2699 no more done by read_char (Bug#11304).
2700
d81bd059
SM
27012012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2704 and `/ M' to filter-derived-mode.
2705 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2706 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2707 (ibuffer-mark-by-mode): Use default rather than initial-input.
2708 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2709
c4cf6d91
IA
27102012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2711
2712 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2713 (ibuffer-filter-by-derived-mode): New filter.
2714 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2715
7511ded8
CY
27162012-04-23 Andreas Politz <politza@fh-trier.de>
2717
2718 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2719
775c916b
CY
27202012-04-23 Chong Yidong <cyd@gnu.org>
2721
2722 * cus-edit.el (customize-apropos, customize-apropos-options):
2723 Disable matching of non-option variables (Bug#11176).
2724 (customize-option, customize-option-other-window)
2725 (customize-changed-options): Doc fix.
2726 (customize-apropos-options, customize-apropos-faces)
2727 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2728
2729 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2730 Fix word list splitting (Bug#11132).
46c71e23
CY
2731 (apropos-symbol, apropos-keybinding, apropos-label)
2732 (apropos-property, apropos-function-button)
2733 (apropos-variable-button, apropos-misc-button): New faces.
2734 (apropos-symbol-face, apropos-keybinding-face)
2735 (apropos-label-face, apropos-property-face, apropos-match-face):
2736 Variables removed (Bug#8396).
2737 (apropos-library-button, apropos-format-plist, apropos-print)
2738 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2739
2df41f9c
MA
27402012-04-23 Michael Albinus <michael.albinus@gmx.de>
2741
2742 * net/xesam.el (xesam-mode-map): Use let-bound map in
2743 initialization. (Bug#11292)
2744
da00640a
AM
27452012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2746
2747 Preserve ispell session localwords when switching back to
2748 original buffer.
2749
2750 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2751 variable to hold buffer session localwords.
2752 (ispell-kill-ispell): add option 'clear to delete session
2753 localwords.
2754 (ispell-command-loop, ispell-change-dictionary)
2755 (ispell-buffer-local-words): Preserve session localwords when
2756 needed.
2757
2758 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2759 Preserve session localwords when needed.
2760
f621ccf5
AM
27612012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2762
2763 * ispell.el (ispell-insert-word) Remove unneeded function using
2764 obsolete `translation-table-for-input'.
ef24141c
SM
2765 (ispell-word, ispell-process-line, ispell-complete-word):
2766 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2767
c2d1019e
CY
27682012-04-22 Chong Yidong <cyd@gnu.org>
2769
2770 * cus-edit.el (custom-variable-menu)
2771 (custom-variable-reset-saved, custom-face-menu)
2772 (custom-face-reset-saved): If there is no saved value, make the
2773 "reset-saved" operation bring back the default (Bug#9509).
2774 (custom-face-state): Properly detect themed faces.
2775
eeddc531
CY
2776 * faces.el (face-spec-set): Stop supporting deprecated form of
2777 third arg.
2778
dcbf5805
MA
27792012-04-22 Michael Albinus <michael.albinus@gmx.de>
2780
2781 Move functions from C to Lisp. Make non-blocking method calls
2782 the default. Implement further D-Bus standard interfaces.
2783
ef24141c
SM
2784 * net/dbus.el (dbus-message-internal): Declare function.
2785 Remove unneeded function declarations.
dcbf5805
MA
2786 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2787 (dbus-message-type-method-return, dbus-message-type-error)
2788 (dbus-message-type-signal): Declare variables. Remove local
2789 definitions.
2790 (dbus-interface-dbus, dbus-interface-peer)
2791 (dbus-interface-introspectable, dbus-interface-properties)
2792 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2793 Adapt docstring.
2794 (dbus-interface-objectmanager): New defconst.
2795 (dbus-call-method, dbus-call-method-asynchronously)
2796 (dbus-send-signal, dbus-method-return-internal)
2797 (dbus-method-error-internal, dbus-register-service)
2798 (dbus-register-signal, dbus-register-method): New defuns, moved
2799 from dbusbind.c
2800 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2801 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2802 New defuns.
dcbf5805
MA
2803 (dbus-call-method-non-blocking): Make it an obsolete function.
2804 (dbus-unregister-object, dbus-unregister-service)
2805 (dbus-handle-event, dbus-register-property)
2806 (dbus-property-handler): Obey the new structure of
2807 `bus-registered-objects'.
2808 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2809 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2810 Use `dbus-call-method'.
2811
cf20dee0
CY
28122012-04-22 Chong Yidong <cyd@gnu.org>
2813
2814 * cus-edit.el (custom-commands, custom-reset-menu)
2815 (Custom-reset-standard): Tweak labels.
2816 (custom-reset-button-menu): Change default to t.
2817 (custom-buffer-create-internal): For the custom-reset-button-menu
2818 case, put the revert button first.
2819 (custom-group-subtitle): New face.
2820 (custom-group-value-create): Align docstring to a specific column.
2821
2822 * wid-edit.el (widget-documentation-link-add): Don't handle
2823 indentation in this function.
2824 (widget-documentation-string-indent-to): New function.
2825 (widget-documentation-string-value-create): Use it.
2826
2827 * autorevert.el (auto-revert):
2828 * epg-config.el (epg):
2829 * ibuffer.el (ibuffer):
2830 * mpc.el (mpc):
2831 * ses.el (ses):
2832 * eshell/eshell.el (eshell):
2833 * net/ange-ftp.el (ange-ftp):
2834 * progmodes/ebnf2ps.el (postscript):
2835 * progmodes/flymake.el (flymake):
2836 * progmodes/prolog.el (prolog):
2837 * progmodes/verilog-mode.el (verilog-mode):
2838 * progmodes/which-func.el (which-func):
2839 * term/xterm.el (xterm):
2840 * textmodes/picture.el (picture):
2841 * textmodes/tildify.el (tildify):
2842 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2843 customization buffers.
2844
583e23bd
AM
28452012-04-22 Alan Mackenzie <acm@muc.de>
2846
2847 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2848 Adding a ) can hide the resulting (..) from searches. Fix it.
2849 Bound the backward search to the position of the existing (.
2850
7dd51bf1
JB
28512012-04-21 Juanma Barranquero <lekktu@gmail.com>
2852
2853 * progmodes/verilog-mode.el (verilog-mode): Check whether
2854 which-func-modes is t before adding verilog-mode.
2855 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2856
d64a438f
LL
28572012-04-21 Leo Liu <sdl.web@gmail.com>
2858
7dd51bf1 2859 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2860
081e8d65
MV
28612012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2862
2863 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2864 filling of the last column of a table (Bug#5635).
2865 (woman-find-next-control-line): New arg, specifying an additional
2866 regexp component for the control line.
2867 (woman2-roff-buffer): Use it.
2868 (woman-break-table): New function.
2869 (woman2-TS): Use it.
2870
28712012-04-21 Chong Yidong <cyd@gnu.org>
2872
2873 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2874 (woman-horizontal-escapes, woman-negative-vertical-space)
2875 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2876 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2877
ed571ccb
SM
28782012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2879
2880 * minibuffer.el (completion-file-name-table): Complete user names.
2881
39773899
LL
28822012-04-20 Leo Liu <sdl.web@gmail.com>
2883
2884 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2885 and pcase-let*.
2886
de6ff46d
CY
28872012-04-20 Chong Yidong <cyd@gnu.org>
2888
2889 * server.el (server-execute): Respect initial-buffer-choice if it
2890 is a string and there are no files to open (Bug#2825).
2891 (server-create-window-system-frame, server-create-tty-frame):
2892 Don't switch buffers here.
2d0e8e61
CY
2893 (server-process-filter): Only try to open a window system frame if
2894 compiled with graphical support (Bug#8314).
de6ff46d 2895
54071013
DN
28962012-04-20 Dan Nicolaescu <dann@gnu.org>
2897
2898 * battery.el (battery-echo-area-format): Display remaining time
2899 for sysfs backend too (Bug#11269).
2900 (battery-linux-sysfs): Fix conditional for the charge.
2901
f30d612a
CY
29022012-04-20 Chong Yidong <cyd@gnu.org>
2903
c07a4c0b 2904 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2905 (gdb-inferior-io--init-proc): New function.
2906 (gdb-init-1): Use it.
2907 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2908 responsible for allocating a new pty and hooking it to gdb when
2909 the old pty gets an EIO due to process exit.
2910 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2911 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2912 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2913
2116e93c
EZ
29142012-04-20 Eli Zaretskii <eliz@gnu.org>
2915
2916 * window.el (window-min-size, window-sizable, window-min-delta)
2917 (window-max-delta, window--resizable, window-resizable)
2918 (window-total-size, window-full-height-p, window-full-width-p)
2919 (window-in-direction, window--resize-mini-window, window-resize)
2920 (window--resize-child-windows-normal)
2921 (window--resize-child-windows, window--resize-siblings)
2922 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2923 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2924
c07a4c0b 29252012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2926
ef24141c
SM
2927 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2928 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2929 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2930 pty process (Bug#11273).
2931 (gdb-update): New arg to suppress talking to the gdb process.
2932 (gdb-done-or-error): Use it.
2933 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2934 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2935 sentinel not being called.
2936
2937 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2938
d02766ab
CY
2939 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2940
c07a4c0b 29412012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2942
2943 * net/network-stream.el (open-network-stream): Doc fix.
2944
c07a4c0b 29452012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2946
2947 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2948
c07a4c0b 29492012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2950
2951 Ensure searching for keywords is case sensitive.
2952
2953 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2954 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2955 (c-defun-name, c-mark-function, c-cpp-define-name)
2956 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2957 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2958
ef24141c
SM
2959 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2960 Bind case-fold-search to nil.
f0f6bc35 2961
c07a4c0b 29622012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2963
2964 * mail/sendmail.el (mail-bury): Call return action with the right
2965 Rmail buffer (Bug#11242).
2966
9a864fa2
CY
2967 * server.el (server-process-filter): Handle corner case where both
2968 tty and nowait options are present (Bug#11102).
2969
539aa513
EZ
29702012-04-20 Eli Zaretskii <eliz@gnu.org>
2971
2972 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2973 (top level): Put into the executable the ident-style '$Id:' tag on
2974 windows-nt as well.
539aa513 2975
cfc7d5da
SM
29762012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * electric.el (electric-indent-post-self-insert-function): Check that
2979 electric-indent-mode is enabled in current buffer.
2980
5b01685c
JB
29812012-04-19 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * imenu.el (imenu-progress-message): Restore; it is "used" in
2984 erc/erc-imenu.el and net/snmp-mode.el.
2985
4d6769e1
JB
29862012-04-19 Juanma Barranquero <lekktu@gmail.com>
2987
2988 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2989 (mouse-avoidance-nudge-mouse): Remove unused binding.
2990
2991 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2992
2993 * descr-text.el (describe-char):
2994 * progmodes/python.el (python-describe-symbol):
2995 Don't call `toggle-read-only', set `buffer-read-only'.
2996
2997 * imenu.el (imenu-default-goto-function): Mark unused args.
2998 (imenu-progress-message): Remove obsolete macro; all callers changed.
2999
3000 * subr.el (keymap-canonicalize): Remove unused binding.
3001 (read-passwd): Mark unused arg.
3002
3003 * tutorial.el (tutorial--display-changes): Remove unused binding.
3004 (tutorial--save-tutorial-to): Remove unused variable.
3005
3006 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3007 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3008 (package-generate-autoloads, package-menu--generate)
3009 (package-menu--find-upgrades): Remove unused bindings.
3010
3011 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3012 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3013 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3014 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3015 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3016 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3017 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3018 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3019 (cua-delete-char-rectangle): Mark unused args.
3020 (cua-align-rectangle): Remove unused binding.
3021
3022 * mail/rmail.el (compilation--message->loc)
3023 (epa--find-coding-system-for-mime-charset): Declare.
3024
3025 * net/dbus.el (dbus-register-service): Declare.
3026 (dbus-name-owner-changed-handler): Remove unused binding.
3027
3028 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3029 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3030 (nxml-scan-backward-within): Mark unused arg.
3031 (nxml-dynamic-markup-word): Remove unused binding.
3032
3033 * mouse.el (mouse-menu-major-mode-map):
3034 * emacs-lisp/authors.el (authors-scan-change-log)
3035 (authors-add-to-author-list):
3036 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3037 * emacs-lisp/smie.el (smie-auto-fill):
3038 * mail/sendmail.el (mail-bury):
3039 * mail/unrmail.el (unrmail):
3040 * net/tls.el (open-tls-stream):
3041 * textmodes/picture.el (picture-mouse-set-point):
3042 Remove unused bindings.
3043
8c8fc5df
MA
30442012-04-19 Michael Albinus <michael.albinus@gmx.de>
3045
3046 * net/tramp.el (tramp-action-password): Let-bind
3047 `enable-recursive-minibuffers' to t.
3048
a77b0ac9
SS
30492012-04-18 Sam Steingold <sds@gnu.org>
3050
3051 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3052 instead of 'string to accommodate values like [f11].
3053 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3054 * progmodes/gdb-mi.el: Likewise.
3055
12a106a9
LL
30562012-04-18 Leo Liu <sdl.web@gmail.com>
3057
3058 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3059 current buffer.
3060 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3061 LOCAL is nil.
3062
bc6494ef
CY
30632012-04-18 Chong Yidong <cyd@gnu.org>
3064
3065 * simple.el (line-move): Use forward-line if in batch mode
3066 (Bug#11053).
3067
c09c46b2
CS
30682012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3069
3070 * files.el (after-find-file): Do not try to add a final newline if
3071 the buffer is read-only (Bug#11156).
3072
5f6530ea
RS
30732012-04-17 Richard Stallman <rms@gnu.org>
3074
3075 * mail/rmail.el (rmail-start-mail):
3076 Pass (rmail-mail-return...) for the return-action.
3077 Pass (rmail-yank-current-message...) for the yank-action.
3078 (rmail-yank-current-message): New function.
3079 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3080 (rmail-reply): Likewise.
3081 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3082
3083 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3084 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3085 buffer, not newbuf.
3086
197b6f3c
JB
30872012-04-17 Juanma Barranquero <lekktu@gmail.com>
3088
3089 * server.el (server-ensure-safe-dir): Simplify.
3090
2311d8e5 30912012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3092
2311d8e5
GM
3093 * emacs-lisp/smie.el: Provide smarter auto-filling.
3094 (smie-auto-fill): New function.
3095 (smie-setup): Use it.
98fb480e 3096
2311d8e5
GM
3097 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3098
30992012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3100
3101 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3102 (comment-indent): Use it.
3103
2311d8e5 31042012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3105
3106 * ses.el: The overall change is to add cell renaming, that is
3107 setting fancy names for cell symbols other than name matching
3108 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3109 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3110 (ses-create-cell-variable): New defun.
2311d8e5 3111 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3112 (ses-relocate-formula): Relocate formulas only for cells the
3113 symbols of which are not renamed, i.e. symbols whose names do not
3114 match regexp "\\`[A-Z]+[0-9]+\\'".
3115 (ses-relocate-all): Relocate values only for cells the symbols of
3116 which are not renamed.
3117 (ses-load): Create cells variables as the (ses-cell ...) are read,
3118 in order to check row col consistency with cell symbol name only
3119 for cells that are not renamed.
3120 (ses-replace-name-in-formula): New defun.
3121 (ses-rename-cell): New defun.
4bdf2ad2 3122
fc72b15c
PO
31232012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3124
3125 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3126 New option (bug#11118).
3127 (perl-calculate-indent): Respect it.
3128
12e10e61
GM
31292012-04-17 Glenn Morris <rgm@gnu.org>
3130
3131 * dired-aux.el (dired-mark-read-string): Doc fix.
3132
30009afd
DA
31332012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3134
3135 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3136 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3137
41f03f4d
GM
31382012-04-17 Glenn Morris <rgm@gnu.org>
3139
3140 * mouse.el (mouse-drag-track):
3141 * speedbar.el (speedbar-frame-mode):
3142 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3143
f45f90f3
LL
31442012-04-16 Leo Liu <sdl.web@gmail.com>
3145
3146 * progmodes/python.el: Trivial cleanup.
3147
94ee8db5
GM
31482012-04-16 Glenn Morris <rgm@gnu.org>
3149
121b8917
GM
3150 * vc/vc.el (vc-string-prefix-p):
3151 * vc/pcvs-util.el (cvs-string-prefix-p):
3152 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3153 * mpc.el (mpc-string-prefix-p):
3154 Make all of these into obsolete aliases for string-prefix-p.
3155 Update callers.
3156 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3157
1197ecfa
GM
3158 * textmodes/two-column.el: Move custom options to the start.
3159 (frame-width): Remove compat definition.
3160 (2C-associate-buffer, 2C-dissociate):
3161 Use with-current-buffer rather than save-excursion.
3162 (2C-dissociate): Force a mode-line update.
3163 (2C-autoscroll): Use ignore-errors.
3164
099e7202
GM
3165 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3166 Autoload trivia.
3167
bf350d6a
GM
3168 * emacs-lisp/cl-extra.el (*random-state*):
3169 Remove unnecessary declaration.
3170
0e829eab
GM
3171 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3172
e3ad7552
GM
3173 * play/cookie1.el (cookie-snarf):
3174 Give an explicit error if input file cannot be read.
3175
68892d27
GM
3176 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3177
20f0c46d
GM
3178 * progmodes/perl-mode.el (c-macro-expand):
3179 Remove unnecessary autoload (it is in loaddefs.el).
3180
5a0978ce
GM
3181 * textmodes/picture.el (picture-desired-column)
3182 (picture-update-desired-column): Convert comments to doc-strings.
3183 (picture-substitute): Remove function.
3184 (picture-mode-map): Initialize in the defvar.
3185
6b955486
GM
3186 * woman.el: Remove eval-after-load for tar-mode.
3187 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3188 (woman-tar-extract-file): Autoload it.
3189
94ee8db5
GM
3190 * frame.el (automatic-hscrolling): Make this alias obsolete.
3191
177eca34
AM
31922012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3193
3194 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3195 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3196 (ispell-dictionary-base-alist): Revert to original XEmacs
3197 friendly version for default. [:alpha:] will be added in
3198 `ispell-set-spellchecker-params' if needed
177eca34 3199
c505aaeb
CY
32002012-04-16 Chong Yidong <cyd@gnu.org>
3201
3202 * image.el (imagemagick--extension-regexp): New variable.
3203 (imagemagick-register-types): Use it.
3204 (imagemagick-types-inhibit): Add :set function. Allow new value
3205 of t to inhibit all types.
3206
3207 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3208 so we can preload it.
3209
3210 * loadup.el (fboundp): Preload regexp-opt, needed by
3211 imagemagick-register-types.
3212
60efac0f
CY
32132012-04-15 Chong Yidong <cyd@gnu.org>
3214
3215 * frame.el (scrolling): Remove nearly unused customization group.
3216
3217 * scroll-all.el (scroll-all-mode): Move to windows group.
3218
5dd1713e
CY
32192012-04-15 Chong Yidong <cyd@gnu.org>
3220
3221 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3222
e6fd457e
CY
32232012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3226 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3227
e153c136
GM
32282012-04-15 Glenn Morris <rgm@gnu.org>
3229
3230 * simple.el (process-file-side-effects): Doc fix.
3231
e6fd457e 32322012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3233
3234 * international/mule-cmds.el (set-language-environment): Doc fix.
3235
3603c3b1
JB
32362012-04-14 Juanma Barranquero <lekktu@gmail.com>
3237
3238 * server.el (server-auth-key, server-generate-key): Doc fixes.
3239 (server-get-auth-key): Doc fix. Use `string-match-p'.
3240 (server-start): Reflow docstring.
3241
e6de100c
LI
32422012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3243
3244 * server.el (server-generate-key): `called-interactively-p'
3245 requires a parameter.
3246
29734c21
MN
32472012-04-14 Michal Nazarewicz <mina86@mina86.com>
3248
3249 * server.el (server-auth-key): New variable.
75f1671a 3250 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3251 (server-start): Use the new variable and functions to allow
3252 setting a permanent server key (bug#9423).
3253
d65c9521
LL
32542012-04-14 Leo Liu <sdl.web@gmail.com>
3255
3256 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3257
5ae255c7
PE
32582012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3259
3260 Spelling fixes.
3261 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3262 Emacs uses American spelling.
3263
d5e6342e
JB
32642012-04-14 Juanma Barranquero <lekktu@gmail.com>
3265
3266 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3267 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3268 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3269 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3270
ab036cd7
SM
32712012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * progmodes/which-func.el (which-func-modes): Change default.
3274
35dc09a1 32752012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3276
3277 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3278 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3279
35dc09a1 32802012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3281
3282 * custom.el (custom-theme-set-variables): Doc fix.
3283
35dc09a1 32842012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3285
3286 * international/mule.el (set-auto-coding-for-load): Doc fix.
3287
35dc09a1 32882012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3289
35dc09a1
GM
3290 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3291 imenu work again for Objective C Mode. Correct the *-index values,
3292 these having been disturbed by a previous change in 2011-08.
57f845ee 3293
0de3da9f
AM
3294 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3295 Correct two search limits.
3296
35dc09a1 32972012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3298
3299 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3300
35dc09a1 33012012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3302
3303 * international/characters.el: Fix sorting.
3304
35dc09a1 33052012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3306
3307 * international/characters.el: Add more missing Latin case pairs.
3308
35dc09a1 33092012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3310
3311 * files.el (dir-locals-set-class-variables): Doc fix.
3312
35dc09a1 33132012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3314
3f1b5bf8
EZ
3315 * international/characters.el: Add set-case-syntax-pair call for
3316 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3317 counterpart. (Bug#11209)
3318
9f847f41
EZ
3319 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3320
35dc09a1 33212012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3322
3323 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3324
35dc09a1 33252012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3326
35dc09a1
GM
3327 * textmodes/ispell.el (ispell-dictionary-base-alist):
3328 Add data for Hebrew.
e2627d21 3329
35dc09a1 33302012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3331
35dc09a1
GM
3332 * net/rcirc.el (rcirc-cmd-quit):
3333 Revert 2012-03-18 change (Bug#11192).
5c14e333 3334
35dc09a1 33352012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3336
3337 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3338
35dc09a1 33392012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3340
4517fe3a
SM
3341 * minibuffer.el (completion-in-region-mode-map):
3342 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3343
b472a594
VD
33442012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3345
3346 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3347
09b95ce3
MY
33482012-04-13 Masatake YAMATO <yamato@redhat.com>
3349
3350 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3351 to allow `C-M-f' and `C-M-b' to move to the nearest path
3352 separator (bug#9511).
3353
4b63a9ca
LI
33542012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3355
3356 * avoid.el: Require cl when compiling. And also move the
3357 `provide' to the end.
3358
7b55b8bf
TV
33592012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3360
3361 * avoid.el (mouse-avoidance-banish-position): New variable.
3362 (mouse-avoidance-banish-destination): Use it (bug#10165).
3363
adedaa1f
LL
33642012-04-13 Leo Liu <sdl.web@gmail.com>
3365
3366 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3367
70e74021
KB
33682012-04-13 Ken Brown <kbrown@cornell.edu>
3369
3370 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3371 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3372 (browse-url-filename-alist): For the same reason, don't modify
3373 file:// URLs on Cygwin.
3374
e75e89ba
SM
33752012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3378 the region on shift if the binding is already shifted (bug#11221).
3379
82f289a4
GM
33802012-04-12 Glenn Morris <rgm@gnu.org>
3381
3382 * mail/mailpost.el: Move to obsolete/.
3383
d333dc4c
DA
33842012-04-12 Drew Adams <drew.adams@oracle.com>
3385
3386 * imenu.el (imenu--generic-function): Ignore invisible definitions
3387 (bug#10123).
3388
0d15b5ba
VD
33892012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3390
3391 * hexl.el (hexl-bits): New variable.
3392 (hexl-options): Mention the variable in the doc string.
75f1671a 3393 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3394 (hexl-mode): Mention the new variable.
75f1671a
JB
3395 (hexl-mode, hexl-current-address, hexl-current-address):
3396 Use the displen.
0d15b5ba
VD
3397 (hexl-ascii-start-column): New function.
3398 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3399 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3400
64a440db
AM
34012012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3402
3403 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3404 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3405 the encoding, as expected by hunspell.
3406
6decb6c2
SM
34072012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * battery.el (battery--linux-sysfs-regexp): New const.
3410 (battery-status-function): Use it. Remove yeeloong special case.
3411 (battery-yeeloong-sysfs): Remove.
3412 (battery-echo-area-format): Remove yeeloong special case.
3413
088be6fb
SM
34142012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3415
6622e416
SM
3416 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3417 Reported by Noah Friedman.
3418
088be6fb
SM
3419 * subr.el (read-passwd): Use read-string.
3420
b49f886e
LMI
34212012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3422
3423 * vcursor.el (vcursor-move): Increase the priority of the overlay
3424 (bug#9663).
3425
a63067fc
DD
34262012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3427
3428 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3429 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3430
ac3cf14a
WS
34312012-04-11 William Stevenson <yhvh2000@gmail.com>
3432
3433 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3434 define-minor-mode (bug#10760).
3435
c4fc691b 34362012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3437
4d6769e1 3438 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3439 that directories matching `grep-find-ignored-files' won't be
3440 pruned (bug#10351).
3441
af23e2e5
CY
34422012-04-11 Chong Yidong <cyd@gnu.org>
3443
3444 * startup.el (command-line): Remove support for long-obsolete
3445 variable font-lock-face-attributes.
3446
ab7ce8c1
GM
34472012-04-11 Glenn Morris <rgm@gnu.org>
3448
3449 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3450
de8c03dc
SM
34512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3452
3453 * window.el (window--state-get-1): Obey window-point-insertion-type.
3454
050cc68b
LB
34552012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3456
3457 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3458 to previous function when point is on the first character of a
75f1671a 3459 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3460
a38c310c
GM
34612012-04-11 Glenn Morris <rgm@gnu.org>
3462
effed0c2
GM
3463 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3464 not just file-errors.
3465
a38c310c
GM
3466 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3467 (vc-bzr-sha1): Use internal sha1.
3468
0221e323
SM
34692012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3472
43956923
SG
34732012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3474
3475 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3476 that start in the middle of the line (bug#10496).
3477
6a8c9eaf
DN
34782012-04-10 Dan Nicolaescu <dann@gnu.org>
3479
3480 * battery.el (battery-linux-proc-acpi): Only one battery is
3481 discharged at a time, but that seems to confuse battery.el when
3482 computing `rate-type' for the battery not being discharged
3483 (bug#10332).
3484
1930bf5d
SM
34852012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3486
2a718f6f
SM
3487 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3488
599430d0
SM
3489 * international/quail.el: Use dolist and simplify.
3490 (quail-define-package, quail-update-keyboard-layout)
3491 (quail-define-rules): Use dolist.
3492 (quail-insert-kbd-layout, quail-get-translation): CSE.
3493
a2754b6c
SM
3494 * tmm.el: Use dolist, remove left over hook.
3495 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3496 Use dolist.
3497 (calendar-load-hook): Don't mess with it.
3498
1930bf5d
SM
3499 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3500 Use derived-mode-p. Run the diff asynchronously.
3501
9f67961c
LMI
35022012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3503
3504 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3505
2a8ce227
JB
35062012-04-10 Juanma Barranquero <lekktu@gmail.com>
3507
3508 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3509 (list-dynamic-libraries--loaded): New function.
3510 (list-dynamic-libraries--refresh): Use it.
3511
8f33b5f8
NW
35122012-04-10 Nathan Weizenbaum <nweiz@google.com>
3513
1930bf5d
SM
3514 * progmodes/python.el (python-fill-paragraph):
3515 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3516 disabled (bug#7018).
3517
b12f0439
L
35182012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3519
1930bf5d 3520 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3521 DOS/MS Windows for the Baltic languages. There are still plenty
3522 of texts written in this encoding/codepage (bug#6519).
b12f0439 3523
57c3bd01
GM
35242012-04-10 Glenn Morris <rgm@gnu.org>
3525
3526 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3527 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3528
6c3eab30
FA
35292012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3530
1930bf5d 3531 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3532 next-line "n" and previous-line "p" in order to make recentf more
3533 consistent with ibuffer, dired or org-mode (bug#9387).
3534
24d78a88
LMI
35352012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3536
bc72b5d9
LMI
3537 * image.el (put-image): Return the overlay created instead of the
3538 optional input string (bug#7834). Note that this may break code
3539 that is (for some reason or other) depending on `put-image'
3540 returning the string.
3541
bd2dba5a
LMI
3542 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3543
74beb59f
LMI
3544 * simple.el (zap-to-char): Allow zapping using input methods
3545 (bug#1580).
3546
24d78a88
LMI
3547 * textmodes/fill.el (fill-region): Leave point and mark where they
3548 were before filling (bug#5399).
3549
263f20cd
GM
35502012-04-09 Glenn Morris <rgm@gnu.org>
3551
3552 * version.el (emacs-bzr-get-version):
3553 Handle lightweight checkouts of local branches.
3554
58d1f797
AS
35552012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3556
263f20cd 3557 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3558
b4d3bc10
CY
35592012-04-09 Chong Yidong <cyd@gnu.org>
3560
3561 * custom.el (custom-variable-p): Return nil for non-symbol
3562 arguments instead of signaling an error.
3563 (user-variable-p): Obsolete alias for custom-variable-p.
3564
3565 * apropos.el (apropos-variable):
3566 * files-x.el (read-file-local-variable):
3567 * simple.el (set-variable):
3568 * woman.el (woman-mini-help):
3569 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3570
fd06db5d
GM
35712012-04-09 Glenn Morris <rgm@gnu.org>
3572
e5fcdb5e
GM
3573 * startup.el (normal-top-level): Don't look for leim-list.el
3574 in places where it will not be found. (Bug#910)
3575
fd06db5d
GM
3576 * international/mule-cmds.el (set-default-coding-systems):
3577 * files.el (normal-mode):
3578 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3579 This function was removed with ucs-tables.el in 2008.
3580
b39bb7e1
EZ
35812012-04-08 Eli Zaretskii <eliz@gnu.org>
3582
3583 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3584 ispell-encoding8-command to "-i", without a trailing space.
3585 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3586 separate command-line arguments, to specify the encoding, since
3587 that's how hunspell expects it.
3588
5c5b8e23
GM
35892012-04-08 Glenn Morris <rgm@gnu.org>
3590
3591 * loadup.el: Load bindings before cus-start.
3592 This reduces somewhat the number of "rogue" settings in emacs -Q.
3593
a1ed8b05
GM
35942012-04-07 Glenn Morris <rgm@gnu.org>
3595
3596 * version.el (emacs-bzr-get-version): New function.
dfae128a 3597 (emacs-bzr-version): New variable.
a1ed8b05
GM
3598 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3599 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3600
b142f158
EZ
36012012-04-07 Eli Zaretskii <eliz@gnu.org>
3602
dfae128a
GM
3603 * international/uni-bidi.el, international/uni-category.el:
3604 * international/uni-combining.el, international/uni-decimal.el:
3605 * international/uni-decomposition.el, international/uni-digit.el:
3606 * international/uni-lowercase.el, international/uni-mirrored.el:
3607 * international/uni-name.el, international/uni-numeric.el:
3608 * international/uni-titlecase.el, international/uni-uppercase.el:
3609 Update for Unicode 6.1.
b142f158 3610
9078ead6
EZ
36112012-04-07 Eli Zaretskii <eliz@gnu.org>
3612
3613 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3614
f23d2c7d
LMI
36152012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3616
3617 * window.el (shrink-window): Mention the `window-min-height'
3618 variable in the doc string.
3619
0a0a3573
BG
36202012-04-05 Bastien Guerry <bzg@altern.org>
3621
3622 * color.el (color-lighten-name): Fix typo.
3623
e5248ac9
SM
36242012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * server.el (server--on-display-p): New function.
3627 (server--on-display-p): Use it.
3628
b4243e22
GV
36292012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3630
3631 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3632 (bug#11145).
3633
305d9f44
SM
36342012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3635
3636 * comint.el (comint--common-quoted-suffix): Check string boundary
3637 before comparing (bug#11158).
3638 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3639
3d439cd1
CY
36402012-04-04 Chong Yidong <cyd@gnu.org>
3641
321cc491
CY
3642 * minibuffer.el (completion-extra-properties): Doc fix.
3643
3d439cd1
CY
3644 * subr.el (delayed-warnings-hook): Doc fix.
3645
2d562c0f
DU
36462012-04-04 Daiki Ueno <ueno@unixuser.org>
3647
3648 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3649 selection (Bug#11159).
3650 (epa-insert-keys): Inform that the default public key will be
3651 exported if no key is selected.
3652
4443f204
RS
36532012-04-04 Richard Stallman <rms@gnu.org>
3654
3655 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3656
529c06b6
CY
36572012-04-03 Chong Yidong <cyd@gnu.org>
3658
3659 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3660 mail-insert-file, not its obsolete alias mail-attach-file.
3661
66b907dc
MA
36622012-04-03 Michael Albinus <michael.albinus@gmx.de>
3663
3664 * notifications.el (notifications-notify): Fix docstring.
3665
c0ea195d
GM
36662012-04-02 Glenn Morris <rgm@gnu.org>
3667
3668 * emacs-lisp/authors.el (authors-aliases): Another addition.
3669
5ca64e00
MA
36702012-04-02 Michael Albinus <michael.albinus@gmx.de>
3671
3672 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3673 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3674 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3675
42ee526b
CY
36762012-04-01 Chong Yidong <cyd@gnu.org>
3677
3678 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3679 Handle root directory properly.
3680 (copy-directory): Caller changed.
3681
3682 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3683 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3684
0b021094
GM
36852012-03-31 Glenn Morris <rgm@gnu.org>
3686
40f86458
GM
3687 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3688
7019c177
GM
3689 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3690
a1daddd6
GM
3691 * calendar/calendar.el (calendar-window-list)
3692 (calendar-hide-window): Restore. (Bug#11140)
3693 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3694
0b021094
GM
3695 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3696
40311efc
TV
36972012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3698
3699 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3700 Check if file is a symlink (Bug#10489).
3701
3702 * files.el (copy-directory): Likewise.
3703
5319014e
CY
37042012-03-30 Chong Yidong <cyd@gnu.org>
3705
3706 * image.el (imagemagick-types-inhibit)
3707 (imagemagick-register-types): Doc fix.
3708
935d1290
AM
37092012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3710
ef24141c
SM
3711 * ispell.el (ispell-get-extended-character-mode):
3712 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3713 and treats ~word as ordinary words in pipe mode.
935d1290 3714
61c6e8fd
GM
37152012-03-30 Glenn Morris <rgm@gnu.org>
3716
3717 * tutorial.el (help-with-tutorial): Ensure local variables don't
3718 happen to make the buffer read-only. (Bug#11127)
3719
81fdff00
SM
37202012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3721
3722 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3723 (perl-calculate-indent): Return `noindent' in strings.
3724
6e7a6ec0
SS
37252012-03-28 Sam Steingold <sds@gnu.org>
3726
3727 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3728 instead of the broken adhockery which does not prevent calendar
3729 buffers from being displayed at random after exit.
3730 (calendar-window-list, calendar-hide-window): Remove the broken
3731 adhockery.
3732
fee88ca0
GM
37332012-03-28 Glenn Morris <rgm@gnu.org>
3734
3735 * replace.el (query-replace-map): Doc fix.
3736
38de3354
AS
37372012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3738
3739 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3740 contents. (Bug#11109)
3741
b973155e
SM
37422012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3745 (bug#11077).
3746 (avl-tree--check, avl-tree--check-node): New funs.
3747
dcb6e7b3
MR
37482012-03-27 Martin Rudalics <rudalics@gmx.at>
3749
3750 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3751 (switch-to-prev-buffer, switch-to-next-buffer):
3752 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3753 showing a buffer already is done on the same frame.
3754
b4fa35fa
GM
37552012-03-27 Glenn Morris <rgm@gnu.org>
3756
3757 * startup.el (mail-host-address): Doc fix.
3758
f9210e18
SM
37592012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3762 than 197 variables.
3763
c0bf7753
AF
37642012-03-26 Ami Fischman <ami@fischman.org>
3765
3766 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3767
33da7b16
GM
37682012-03-26 Glenn Morris <rgm@gnu.org>
3769
02243d9d
GM
3770 * files.el (save-buffers-kill-emacs): Doc fix.
3771
33da7b16
GM
3772 * startup.el (normal-top-level, command-line, command-line-1):
3773 Give them doc strings.
3774
e5a69fd0
EZ
37752012-03-25 Eli Zaretskii <eliz@gnu.org>
3776
3777 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3778 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3779
9a69676a
CY
37802012-03-25 Chong Yidong <cyd@gnu.org>
3781
4125cb8b
CY
3782 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3783 theme if it was previously enabled before (Bug#11031).
3784
dd470960
CY
3785 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3786 spec with custom-face-get-current-spec if its :shown-value is not
3787 determined yet (Bug#9337).
4125cb8b 3788 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3789
9a69676a
CY
3790 * button.el (button-at): Minor addition to docstring.
3791
6e7e90fa
SL
37922012-03-24 Simon Leinen <simon.leinen@gmail.com>
3793
3794 * vc/vc.el (vc-merge): Fix a prompt.
3795
f06e2758
CY
37962012-03-24 Chong Yidong <cyd@gnu.org>
3797
3798 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3799 point (Bug#9623).
3800
6e7e90fa
SL
3801 * button.el (button-at): Minor addition to docstring.
3802
b9d0879b
SM
38032012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * newcomment.el (comment-choose-indent): No space after BOL.
3806
e71cebb3
SS
38072012-03-22 Sam Steingold <sds@gnu.org>
3808
3809 * window.el (switch-to-prev-buffer): Revert last patch because the
3810 bug turned out to be an advertised feature (Elisp manual 28.14).
3811
335aff35
GM
38122012-03-22 Glenn Morris <rgm@gnu.org>
3813
3814 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3815 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3816
c676576a
LMI
38172012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3818
3819 * net/network-stream.el (network-stream-open-starttls): Make error
3820 message under Windows be less misleading.
3821
126f3d39
LW
38222012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3823
3824 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3825 understands (bug#9942).
3826
64fee311
CY
38272012-03-22 Chong Yidong <cyd@gnu.org>
3828
3829 * simple.el (end-of-visible-line): Handle return value of
3830 next-single-property-change properly (Bug#9371).
3831
a640d29a
KH
38322012-03-22 Kenichi Handa <handa@m17n.org>
3833
3834 * international/quail.el (quail-insert-kbd-layout): Fix previous
3835 change. To avoid unwanted bidi reordering, use
3836 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3837
39675016
DG
38382012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3839
3840 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3841 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3842 (ruby-beginning-of-indent): Be more careful with the difference
3843 between word-boundary and symbol boundary.
3844 (ruby-mode-syntax-table): Make : a symbol constituent.
3845
0a6934fc 38462012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3847
3d008e4f
SM
3848 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3849
0a6934fc
SM
38502012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3851
af67c9d7
SM
3852 * progmodes/etags.el (tags-completion-at-point-function):
3853 Improve last fix.
3854
1acad97c
SM
3855 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3856
e298b5da
SS
38572012-03-21 Sam Steingold <sds@gnu.org>
3858
3859 * progmodes/etags.el (tags-completion-at-point-function):
3860 Avoid the error when point is inside the pattern.
3861
91d82a70
JY
38622012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3863
3864 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3865 line (Bug#10855).
3866
69188b79
CY
38672012-03-21 Drew Adams <drew.adams@oracle.com>
3868
3869 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3870
99fc91fe
AK
38712012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3872
3873 * ido.el (ido-set-current-directory, ido-read-internal)
3874 (ido-choose-completion-string, ido-completion-help): Handle nil
3875 value of ido-completion-buffer (Bug#11008).
3876
087bbb4c
SS
38772012-03-21 Sam Steingold <sds@gnu.org>
3878
3879 * window.el (switch-to-prev-buffer): Do not switch to a visible
3880 window previous buffer, just like with the frame previous buffers.
3881
fb5b8aca
CY
38822012-03-21 Chong Yidong <cyd@gnu.org>
3883
3884 * faces.el (make-face, make-empty-face, copy-face):
3885 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3886 Doc fixes.
3887
dc9924b8
SM
38882012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3889
3890 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3891 (widget-complete): Remove broken use of it.
3892
f0bcceb9
CY
38932012-03-20 Chong Yidong <cyd@gnu.org>
3894
dc9924b8
SM
3895 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3896 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3897 characters.
3898
ee52ebf3
TH
38992012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3900
3901 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3902 to draw rectangles, not squares. (Regression introduced by revno
3903 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3904
4c5779ab
CY
39052012-03-18 Chong Yidong <cyd@gnu.org>
3906
3907 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3908 it is not yet defined (for temacs).
3909
15360934
LL
39102012-03-18 Leo Liu <sdl.web@gmail.com>
3911
dc9924b8 3912 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3913
d9a8eb66
EZ
39142012-03-17 Eli Zaretskii <eliz@gnu.org>
3915
3916 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3917 (ispell-choices-win-default-height, ispell-silently-savep)
3918 (ispell-dictionary-alist, ispell-encoding8-command)
3919 (ispell-check-version, ispell-aspell-find-dictionary)
3920 (ispell-valid-dictionary-list, ispell-words-keyword)
3921 (ispell-get-word, ispell-internal-change-dictionary)
3922 (ispell-region, ispell-skip-region-list)
3923 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3924 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3925 (ispell-message-text-end, ispell-message)
3926 (ispell-buffer-local-parsing): Doc fix.
3927
f02ff80d
J
39282012-03-13 Jambunathan K <kjambunathan@gmail.com>
3929
3930 * htmlfontify.el: Add support for code block fontification for ODT
3931 export (Bug #9914).
3932 (hfy-optimisations): Define new option
3933 `body-text-only'
3934 (hfy-fontify-buffer): Honor above setting.
3935 (hfy-begin-span, hfy-end-span): New routines factored out form
3936 `hfy-fontify-buffer'.
3937 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3938 that permit insertion of custom tags.
3939 (hfy-fontify-buffer): Use above handlers.
3940 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3941 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3942 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3943 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3944 bind a special variable `hfy-user-sheet-assoc'.
3945 (htmlfontify-string): New defun.
3946 (hfy-compile-face-map): Make sure that the last char in the
3947 buffer is correctly fontified.
3948 (hfy-face-resolve-face): Whitespace only change.
3949
9ac7a13f
EZ
39502012-03-17 Eli Zaretskii <eliz@gnu.org>
3951
3952 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3953 message more clear.
3954
e2b5bdd7
LL
39552012-03-16 Leo Liu <sdl.web@gmail.com>
3956
3957 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3958
2e492df3
AM
39592012-03-16 Alan Mackenzie <acm@muc.de>
3960
3961 Further optimise the handling of large macros.
3962
3963 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3964 limit to a call of `c-literal-limits'.
3965 (c-determine-+ve-limit): New function.
dc9924b8
SM
3966 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3967 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3968 In CASE 5B, restrict a search limit to 500.
3969 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3970
3971 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3972 Restrict macro bounds to +-500 from after-change's BEG END.
3973
50e94f0c
LL
39742012-03-16 Leo Liu <sdl.web@gmail.com>
3975
3976 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3977
6f09f6ed
AH
39782012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3979
3980 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3981 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3982
c7e73d51
GM
39832012-03-16 Glenn Morris <rgm@gnu.org>
3984
da986230
GM
3985 * view.el (view-buffer, view-buffer-other-window)
3986 (view-buffer-other-frame): Doc fixes re special mode-class.
3987
0835f01e
GM
3988 * subr.el (eval-after-load): If named feature is provided not from
3989 a file, run after-load forms. (Bug#10946)
3990
c7e73d51
GM
3991 * calendar/calendar.el (calendar-insert-at-column):
3992 Handle non-unit-width characters a bit better. (Bug#10978)
3993
3f2eafd1
CY
39942012-03-15 Chong Yidong <cyd@gnu.org>
3995
3996 * emacs-lisp/ring.el (ring-extend): New function.
3997 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3998
3999 * comint.el (comint-read-input-ring)
4000 (comint-add-to-input-history): Grow comint-input-ring lazily.
4001
103af3fe
SM
40022012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4003
663b1677
SM
4004 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4005 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4006
103af3fe
SM
4007 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4008 (imenu-add-to-menubar): Don't add a redundant index.
4009 (imenu-update-menubar): Handle a dynamically composed keymap.
4010
899cb7cb
KY
40112012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4012
4013 * mail/sendmail.el (mail-encode-header):
4014 Bind rfc2047-encode-encoded-words to nil.
4015
3809f91d
GM
40162012-03-13 Glenn Morris <rgm@gnu.org>
4017
4018 * calendar/calendar.el (calendar-string-spread):
4019 Handle non-unit-width characters a bit better. (Bug#10978)
4020
9e345a01
LL
40212012-03-13 Leo Liu <sdl.web@gmail.com>
4022
4023 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4024 directory and file as argument (Bug#10822).
4025
4a07df36
KS
40262012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4027
4028 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4029 For dynamically generated code, follow $PC.
4030 (gdb-disassembly-handler-custom): Handle no function name case.
4031
4aaa9356
TL
40322012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4033
4034 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4035 * emulation/ws-mode.el (ws-query-replace):
4036 * sort.el (sort-regexp-fields):
4037 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4038
225979da
SM
40392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * dabbrev.el: Fix cycle completion order (bug#10963).
4042 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4043 (dabbrev-completion): Don't use an obarray; provide
4044 a cycle-sort-function.
4045
e2f1fdab
LL
40462012-03-12 Leo Liu <sdl.web@gmail.com>
4047
dc9924b8 4048 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4049 (kill-do-not-save-duplicates): Doc fix.
4050
b19490ed
SM
40512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * dabbrev.el: Fix cycle completion (bug#10963).
4054 Use lexical binding and wrap to 80 columns.
4055 (dabbrev-completion): Delay computing the list of completions.
4056
4b05d722
KH
40572012-03-12 Kenichi Handa <handa@m17n.org>
4058
4059 * international/quail.el (quail-insert-kbd-layout): Surround each
4060 row by LRO and PDF instead of inserting many LRMs. Pad the left
4061 and right of each non-spacing marks. Insert invisible space
4062 between lower and upper characters to prevent composition.
4063
dbbc2e69
SM
40642012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4065
4066 * minibuffer.el (minibuffer-complete): Don't get confused when the
4067 function is run twice via different commands (bug#10958).
4068 (complete-with-action): Fix docstring.
4069
292112ed
CY
40702012-03-12 Chong Yidong <cyd@gnu.org>
4071
5d1ac394
CY
4072 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4073 (nxml-completion-at-point-function): New function.
4074 (nxml-mode): Use it.
4075 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4076
292112ed
CY
4077 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4078 Load generated autoloads file before byte compiling (Bug#10970).
4079 (package--make-autoloads-and-compile): New helper fun.
4080
4098f8f7
CS
40812012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4082
4083 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4084
8f754691
MA
40852012-03-11 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * autorevert.el (auto-revert-handler): Ensure, that
4088 file-readable-p is applied only for local files or in
4089 auto-revert-tail-mode.
4090
e29ab36b
AS
40912012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4092
dbbc2e69
SM
4093 * server.el (server-eval-at): Handle non-tcp connections.
4094 Decode result string.
ad0bf5b6 4095
e29ab36b
AS
4096 * server.el (server-msg-size): New constant.
4097 (server-reply-print): New function.
4098 (server-eval-and-print): Use it.
4099 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4100 Handle -print-nonl.
4101
de5939ba
CS
41022012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4103
4104 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4105 (Bug#10987).
4106
0c93eabf
CY
41072012-03-11 Chong Yidong <cyd@gnu.org>
4108
397a688f
CY
4109 * simple.el (goto-line): Doc fix (Bug#9938).
4110
2cc775f9
CY
4111 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4112
0c93eabf
CY
4113 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4114 when finished (Bug#10963).
4115
c491fa41
MR
41162012-03-11 Martin Rudalics <rudalics@gmx.at>
4117
4118 * window.el (split-window-below): Fix bug in case where
4119 split-window-keep-point is nil (Bug#10971).
4120
300e8fa5
JL
41212012-03-11 Juri Linkov <juri@jurta.org>
4122
4123 * replace.el (replace-highlight): Set isearch-word to nil
4124 unconditionally. (Bug#10887)
4125
dbf6c5a1
EZ
41262012-03-10 Eli Zaretskii <eliz@gnu.org>
4127
4128 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4129 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4130 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4131 (mairix-widget-create-query): Add usage information about mairix
4132 search forms: negating words, searching for substrings, etc.
4133
b9e501de
JP
41342012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4135
4136 * international/fontset.el (font-encoding-alist): Add an entry for
4137 ksx1001 (Bug#5667).
4138
92795c91
RS
41392012-03-10 Richard Stallman <rms@gnu.org>
4140
1694e6c1
RS
4141 * mail/sendmail.el (mail-encode-header):
4142 Set rfc2047-encode-encoded-words.
4143
607e8555
RS
4144 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4145
de3bc99a
RS
4146 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4147 view buffer means not swapped.
4148 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4149 (rmail-write-region-annotate): Error if real text has disappeared.
4150
92795c91
RS
4151 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4152
699bd04e
CY
41532012-03-10 Chong Yidong <cyd@gnu.org>
4154
4155 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4156 * emulation/cua-base.el (cua--init-keymaps):
4157 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4158
570a1714
MR
41592012-03-10 Martin Rudalics <rudalics@gmx.at>
4160
dbbc2e69
SM
4161 * speedbar.el (speedbar-unhighlight-one-tag-line):
4162 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4163
82dcf4e4
CY
41642012-03-10 Chong Yidong <cyd@gnu.org>
4165
7a2c7ca7
CY
4166 * minibuffer.el (completion-in-region, completion-help-at-point):
4167 Give the completion field overlay a high priority (Bug#6830).
4168
82dcf4e4
CY
4169 * dired.el (dired-goto-file): Recognize absolute file name
4170 listings (Bug#7126).
4171 (dired-goto-file-1): New helper function.
4172 (dired-toggle-read-only): Inhibit warnings.
4173
052e28ac
MA
41742012-03-09 Michael Albinus <michael.albinus@gmx.de>
4175
75f1671a 4176 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4177 there are no properties.
4178
95d5e396
LL
41792012-03-09 Leo Liu <sdl.web@gmail.com>
4180
4181 * savehist.el (savehist-printable): Stricter check for string
4182 value (Bug#10937).
4183
3f018d6d
EZ
41842012-03-09 Eli Zaretskii <eliz@gnu.org>
4185
dbbc2e69
SM
4186 * mail/smtpmail.el (smtpmail-send-it):
4187 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4188 valid mbox format.
4189
f7fd3d79
GM
41902012-03-09 Glenn Morris <rgm@gnu.org>
4191
4192 * files.el (dir-locals-find-file):
4193 Don't check result is regular, readable.
4194 (dir-locals-read-from-file): Demote errors.
4195
6ff6e72f
EZ
41962012-03-08 Eli Zaretskii <eliz@gnu.org>
4197
dbbc2e69
SM
4198 * international/quail.el (quail-insert-kbd-layout):
4199 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4200 layout cell, to prevent their reordering by bidi display engine.
4201 For details, see the discussion in
4202 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4203
9cec7834
AM
42042012-03-08 Alan Mackenzie <acm@muc.de>
4205
4206 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4207 the starting position; make it extend the marked region when
4208 invoked repeatedly - all under appropriate circumstances.
4209 Fixes bugs #5525, #10906.
4210
9a40b8d4
GM
42112012-03-08 Glenn Morris <rgm@gnu.org>
4212
4213 * files.el (locate-dominating-file, dir-locals-find-file):
4214 Undo 2012-03-06 change.
4215
7a08ed35
EZ
42162012-03-07 Eli Zaretskii <eliz@gnu.org>
4217
dbbc2e69
SM
4218 * international/quail.el (quail-help):
4219 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4220 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4221 for the reason.
4222
5aca4f71 42232012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4224
4225 Avoid superfluous registering of signals. (Bug#10807)
4226
4227 * notifications.el (notifications-on-action-object)
4228 (notifications-on-close-object): New defvars.
4229 (notifications-on-action-signal, notifications-on-closed-signal):
4230 Unregister the signal if not needed any longer.
4231 (notifications-notify): Register `notifications-action-signal' or
4232 `notifications-closed-signal', if :on-action or :on-close has been
4233 passed as argument.
4234
78e8b10a
CY
42352012-03-07 Chong Yidong <cyd@gnu.org>
4236
4237 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4238 non-X platforms.
4239
69481eb8
GM
42402012-03-06 Glenn Morris <rgm@gnu.org>
4241
4242 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4243 (x-disown-selection-internal, x-get-selection-internal):
4244 Doc fix (add arglist signatures). (Bug#10783)
4245
133b8e11
KS
42462012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4247
4248 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4249 Handle breakpoints with no "type".
4250
99a83064
GM
42512012-03-06 Glenn Morris <rgm@gnu.org>
4252
4253 * files.el (locate-dominating-file): Add optional predicate argument.
4254 (dir-locals-find-file): Make use of above change.
4255
17798e78
TTN
42562012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4257
4258 * info.el (Info-insert-dir): Also try "dir.gz".
4259
eb182446
GM
42602012-03-06 Glenn Morris <rgm@gnu.org>
4261
8f2114ee
GM
4262 * files.el (dir-locals-find-file):
4263 Ignore non-readable or non-regular files. (Bug#10928)
4264
eb182446
GM
4265 * files.el (locate-dominating-file): Doc fix.
4266
24679323
AS
42672012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4268
4269 * calendar/calendar.el (calendar-set-mode-line):
4270 `getenv' returns a string. (Bug#10951)
4271
01d972a9
LL
42722012-03-05 Leo Liu <sdl.web@gmail.com>
4273
109aa8a9
LL
4274 * simple.el (backward-delete-char-untabify): Constrain point to
4275 field (Bug#10939).
4276
01d972a9
LL
4277 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4278
10607bea
CY
42792012-03-05 Chong Yidong <cyd@gnu.org>
4280
4281 * simple.el (count-words): If called from Lisp, return the word
4282 count, for symmetry with `count-lines'. Arglist changed.
4283 (count-words--message): Args changed. Consolidate counting code
4284 from count-words and count-words-region.
4285 (count-words-region): Caller changed.
4286 (count-lines-region): Make it an obsolete alias.
4287
5dd11cfe
TH
42882012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4289
4290 * saveplace.el (save-place-to-alist)
4291 (save-place-ignore-files-regexp): Allow value nil to disable this
4292 feature.
4293
c349f4e6
CY
42942012-03-04 Chong Yidong <cyd@gnu.org>
4295
4296 * faces.el (face-spec-reset-face): For the default face, reset the
4297 attributes to default values (Bug#10748).
4298
e627be4c
LMI
42992012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4300
4301 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4302 previous patch: Check `message-send-mail-function', and not the
4303 default function (bug#10897).
4304
ebeabff4
MA
43052012-03-04 Michael Albinus <michael.albinus@gmx.de>
4306
a41a6cf4
MA
4307 * notifications.el (notifications-on-action-signal)
4308 (notifications-on-closed-signal): Check for unique service name of
4309 incoming event. Fix error in removing entry.
ebeabff4 4310 (top): Register for signals with wildcard service name.
a41a6cf4 4311 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4312
c1ca42b4
CY
43132012-03-04 Chong Yidong <cyd@gnu.org>
4314
dc9924b8 4315 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4316
ea16568d
GM
43172012-03-04 Glenn Morris <rgm@gnu.org>
4318
4319 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4320 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4321 (expand-abbrev, define-abbrev-table): Doc fixes.
4322
fbae4637
LMI
43232012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4324
4325 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4326 `message-default-send-mail-function' and not `send-mail-function'
4327 when doing the prompting for `sendmail-query-once' before sending
4328 in Message buffers (bug#10897).
4329
a1e7225c
LMI
4330 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4331 This is inconsistent with all the other stream functions, which leave
4332 the setting up to the higher levels (if so wanted) (bug#10931).
4333
56d093a9
AM
43342012-03-02 Alan Mackenzie <acm@muc.de>
4335
4336 Depessimize the handling of very large macros.
4337
4338 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4339 (c-macro-cache-syntactic): New variables to implement a one
4340 element macro cache.
4341 (c-invalidate-macro-cache): New function.
4342 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4343 Adapt to use the new cache.
4344 (c-state-safe-place): Use better the cache of safe positions.
4345 (c-state-semi-nonlit-pos-cache)
4346 (c-state-semi-nonlit-pos-cache-limit):
4347 New variables for...
4348 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4349 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4350 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4351 Use c-state-semi-safe-place.
56d093a9 4352
dbbc2e69
SM
4353 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4354 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4355
817e5c3d
MA
43562012-03-02 Michael Albinus <michael.albinus@gmx.de>
4357
dbbc2e69
SM
4358 * jka-compr.el (jka-compr-call-process):
4359 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4360 not remote.
4361
a032a702
MA
43622012-03-01 Michael Albinus <michael.albinus@gmx.de>
4363
4364 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4365 access of FILE2, if FILE1 does not exist.
4366
99a54f21
MA
4367 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4368 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4369
4370 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4371 Add "PAGER=" to `process-environment'.
4372
f6561e1f
MM
43732012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4374
4375 * progmodes/sql.el: Bug fix
4376 (sql-get-login-ext): Save login values in globals.
4377 (sql-get-login): Use new version of `sql-get-login-ext'.
4378 (sql-interactive-mode): Set global `sql-connection' to nil.
4379 (sql-connect): Set global values for connection.
4380 (sql-product-interactive): Save global values as buffer local.
4381
2d44d9cc
LL
43822012-02-29 Leo Liu <sdl.web@gmail.com>
4383
4384 * abbrev.el (define-abbrevs): Reset sys to nil.
4385
96b49301 43862012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4387
bf7f9bc5
JB
4388 * files.el (file-equal-p): Rename from `files-equal-p'.
4389 Return nil when one or both files don't exist.
96b49301 4390 (file-subdir-of-p): Now only top directory must exists,
4391 return nil if it doesn't.
bf7f9bc5
JB
4392 (copy-directory): No need to test with `file-subdir-of-p' after
4393 creating dir.
4394 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4395 to `file-equal-p'.
96b49301 4396
44e97401
GM
43972012-02-28 Glenn Morris <rgm@gnu.org>
4398
4399 * shell.el (shell-mode):
4400 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4401 * play/landmark.el (landmark-font-lock-face-O):
4402 * play/handwrite.el (handwrite):
4403 * play/gomoku.el (gomoku-O):
4404 * net/browse-url.el (browse-url-browser-display):
4405 * international/mule.el (define-charset):
4406 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4407 * filesets.el (filesets-find-file-delay):
4408 * eshell/em-xtra.el (eshell-xtra):
4409 * eshell/em-unix.el (eshell-grep):
4410 * emulation/viper.el (viper-mode):
4411 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4412 * emacs-lisp/easymenu.el (easy-menu-define):
4413 * calendar/timeclock.el (timeclock-use-display-time):
4414 * bs.el (bs-mode):
4415 * bookmark.el (bookmark-save-flag):
4416 Doc fix (standardize possessive apostrophe usage).
4417
c98c6276
CY
44182012-02-27 Chong Yidong <cyd@gnu.org>
4419
bf7f9bc5
JB
4420 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4421 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4422
c98c6276
CY
4423 * font-lock.el (font-lock-specified-p): Rename from
4424 font-lock-spec-present. Callers changed.
4425
9c62cd04 44262012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4427
bf7f9bc5
JB
4428 * emacs-lisp/package.el (package-compute-transaction):
4429 Handle holding a package version to t in package-load-list.
8ac9e529 4430
530739c9
MA
44312012-02-26 Michael Albinus <michael.albinus@gmx.de>
4432
4433 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4434 (tramp-get-inode, tramp-get-device): Use cached values.
4435
487915d7
AM
44362012-02-26 Alan Mackenzie <acm@muc.de>
4437
4438 Check there is a font-lock specification before doing initial
4439 fontification.
4440
4441 * font-core.el (font-lock-mode): Move the conditional from
4442 :after-hook to font-lock-initial-fontify.
4443 (font-lock-default-function): Move the check for a specification
4444 to font-lock-spec-present.
4445
dc9924b8 4446 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4447 (font-lock-spec-present): New function.
4448
4fd96557
JB
44492012-02-26 Jim Blandy <jimb@red-bean.com>
4450
4451 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4452 (gdb-send): Apply it to the operand of the '-interpreter-exec
4453 console' command, so that we can pass arguments with (say) quotes
4454 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4455
9a4888c0
CY
44562012-02-26 Chong Yidong <cyd@gnu.org>
4457
07498861
CY
4458 * help-fns.el (describe-function-1): Clarify description of
4459 remapping (Bug#10844).
4460
9a4888c0
CY
4461 * files.el (files-equal-p): Doc fix.
4462 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4463 and quit the loop once a mismatch is found.
4464
ea8fb88d
JB
44652012-02-25 Juanma Barranquero <lekktu@gmail.com>
4466
4467 * bs.el (bs--show-with-configuration): Don't throw an error
4468 if the window cannot be split; otherwise, subsequent calls to
4469 bs-show fail, restoring a stale window config. (Bug#10882)
4470
525795c1
JD
44712012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4472
4473 * term/ns-win.el (global-map): Bind ns-drag-file to
4474 ns-find-file (Bug#5855, Bug#10050).
4475
f008086f
AS
44762012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4477
4478 * calendar/parse-time.el (parse-time-string): Allow extractor to
4479 return nil.
4480
a3fcfa99
MA
44812012-02-25 Michael Albinus <michael.albinus@gmx.de>
4482
91027d08
JB
4483 * net/tramp.el (tramp-file-name-for-operation):
4484 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4485
4486 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4487 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4488 Add COPY-CONTENTS argument.
a3fcfa99 4489
67b0de11
CY
44902012-02-25 Chong Yidong <cyd@gnu.org>
4491
4492 Add custom groups for VC backends, for consistency with vc-bzr.
4493
4494 * vc/vc-arch.el (vc-arch):
4495 * vc/vc-cvs.el (vc-cvs):
4496 * vc/vc-git.el (vc-git):
4497 * vc/vc-hg.el (vc-hg):
4498 * vc/vc-mtn.el (vc-mtn):
4499 * vc/vc-rcs.el (vc-rcs):
4500 * vc/vc-sccs.el (vc-sccs):
4501 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4502 All relevant defcustoms reassigned.
4503
3c9dfce6
CY
45042012-02-25 Chong Yidong <cyd@gnu.org>
4505
1339bf43
CY
4506 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4507
3c9dfce6
CY
4508 * term/x-win.el (x-initialize-window-system): Reduce default for
4509 x-selection-timeout to 5 seconds (Bug#8869).
4510
25b2e303 45112012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4512
ec70a47d
GM
4513 * files.el (files-equal-p, file-subdir-of-p): New functions.
4514 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4515 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4516 * dired-aux.el (dired-copy-file-recursive): Same.
4517 (dired-create-files): Modify destination when source is equal to
4518 dest when copying files.
53a46cd0 4519 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4520
914260cd
MA
45212012-02-24 Michael Albinus <michael.albinus@gmx.de>
4522
4523 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4524 (Bug#10874)
4525
2cb228f7
AM
45262012-02-23 Alan Mackenzie <acm@muc.de>
4527
4528 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4529 parameter "after-hook:" to allow the expansion to run code after
4530 the execution of the mode hooks.
4531
4532 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4533 from font-lock-mode-internal.
2cb228f7 4534
91027d08 4535 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4536 :after-hook.
4537
8f0fde21
SM
45382012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4539
3e88618b
SM
4540 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4541 (completion--cache-all-sorted-completions): New function.
4542 (completion-all-sorted-completions): Use it.
4543 (completion--do-completion, minibuffer-force-complete):
4544 Use it to re-instate the flush hook.
4545
8f0fde21
SM
4546 * icomplete.el (icomplete-completions): Replace last fix with a better
4547 one (bug#10850).
4548
8e911f6f
DG
45492012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4550
4551 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4552 when it might call us back infinitely (bug#10797).
4553
49fe4321
GM
45542012-02-23 Glenn Morris <rgm@gnu.org>
4555
4556 * minibuffer.el (completion-category-overrides): Doc fix.
4557
b291b572
SM
45582012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4561 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4562
31a9ef2e
GM
45632012-02-23 Glenn Morris <rgm@gnu.org>
4564
5e6e6794 4565 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4566 (authors-obsolete-files-regexps, authors-ignored-files)
4567 (authors-ambiguous-files, authors-renamed-files-alist):
4568 Add more entries.
4569
0bd1e074
JL
45702012-02-23 Juri Linkov <juri@jurta.org>
4571
4572 * isearch.el (isearch-occur): Sync interactive spec with occur's
4573 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4574
b617673c
JL
4575 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4576
19e9789e
JL
45772012-02-22 Juri Linkov <juri@jurta.org>
4578
4579 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4580 (ucs-insert): Doc fix. Check for hex digits in the string.
4581 Don't display `nil' in the error message. (Bug#10857)
4582
f41ce09d
AM
45832012-02-22 Alan Mackenzie <acm@muc.de>
4584
7a71b18d 4585 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4586
ac2eceee
GM
45872012-02-22 Glenn Morris <rgm@gnu.org>
4588
4589 * ffap.el (ffap-c-path):
4590 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4591
abd1f678
CY
45922012-02-22 Chong Yidong <cyd@gnu.org>
4593
4594 * custom.el (load-theme): Doc fix.
4595
f25aef2e
GM
45962012-02-22 Glenn Morris <rgm@gnu.org>
4597
4598 * dired-x.el (dired-guess-shell-alist-default):
4599 Remove escape sequences from nroff output. (Bug#172)
4600
5f8dc2ca
GM
46012012-02-21 Glenn Morris <rgm@gnu.org>
4602
6ff86ec4
GM
4603 * vc/emerge.el (emerge-defvar-local):
4604 Set `permanent-local' property rather than unused `preserved'.
4605
be3223a3 4606 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4607 (picture-mode-map): Use it. (Bug#10860)
4608 (picture-mode): Doc fix.
4609
3fe58f4f
JB
46102012-02-21 Juanma Barranquero <lekktu@gmail.com>
4611
4612 * newcomment.el (uncomment-region-default): Remove unused binding.
4613
f9a998c3
GM
46142012-02-21 Glenn Morris <rgm@gnu.org>
4615
4616 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4617 (picture-self-insert, picture-tab-chars): Doc fix.
4618 (picture-mode-map): Fix C-a, C-e.
4619
c6029348
GM
46202012-02-20 Glenn Morris <rgm@gnu.org>
4621
4622 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4623
ab1ce9d7
LL
46242012-02-20 Leo Liu <sdl.web@gmail.com>
4625
4626 * icomplete.el (icomplete-completions): Check FROM arg before
4627 passing to substring (Bug#10850).
4628
0fd40f89
CY
46292012-02-19 Chong Yidong <cyd@gnu.org>
4630
4631 * comint.el: Require ansi-color.
4632 (comint-output-filter-functions): Add ansi-color-process-output.
4633
4634 * ansi-color.el: Don't set comint-output-filter-functions; it is
4635 now in the initial value defined in comint.el.
4636 (ansi-color-apply-face-function): New variable.
4637 (ansi-color-apply-on-region): Use it.
4638 (ansi-color-apply-overlay-face): New function.
4639
4640 * shell.el (shell): No need to require ansi-color.
4641 (shell-mode): Use ansi-color-apply-face-function to highlight
4642 color escapes using font-lock-face property (Bug#10835).
4643
20af2394
CY
46442012-02-19 Chong Yidong <cyd@gnu.org>
4645
4646 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4647 mode-line formats (Bug#10839).
4648
e23a3fbe
GM
46492012-02-18 Glenn Morris <rgm@gnu.org>
4650
b474519e
GM
4651 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4652
4653 * mail/undigest.el (unforward-rmail-message): Doc fix.
4654
e23a3fbe
GM
4655 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4656
57939ff4
EZ
46572012-02-18 Eli Zaretskii <eliz@gnu.org>
4658
4659 * international/characters.el (script-list): Sync with the latest
4660 Unicode Character Database.
4661
0c23686e
AS
46622012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4663
4664 * international/titdic-cnv.el: Remove duplicate coding tag.
4665 * language/cham.el: Likewise.
4666 * language/tai-viet.el: Likewise.
4667
6818b449
GM
46682012-02-18 Glenn Morris <rgm@gnu.org>
4669
4670 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4671 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4672 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4673 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4674 * calendar/holidays.el (holiday-bahai-holidays)
4675 (calendar-holidays, list-holidays):
4676 Use utf-8 Bahá'í in doc-strings, menus, etc.
4677
0311a3fc
TH
46782012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4679
4680 * saveplace.el (save-place-ignore-files-regexp): New variable
4681 allowing for excluding files from saving their location of point.
4682 The default value matches the temporary commit message editing
4683 files from Git, SVN, Bazaar, and Mercurial.
4684 (save-place-to-alist): Use it.
4685
eb864a71
LM
46862012-02-17 Lawrence Mitchell <wence@gmx.li>
4687 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * newcomment.el (uncomment-region-default): Don't leave extra space
4690 when an arg is provided (bug#8150).
4691
ee0ce425
TZ
46922012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4693
eb864a71 4694 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4695
95ddf442
GM
46962012-02-17 Glenn Morris <rgm@gnu.org>
4697
4698 * net/socks.el: Require network-stream. (Bug#10599)
4699
48dd1e39 47002012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4701
4702 * international/charprop.el:
4703 * international/uni-name.el:
4704 * international/uni-old-name.el:
4705 * international/uni-comment.el: Regenerate.
4706
d68cd087
GM
47072012-02-16 Glenn Morris <rgm@gnu.org>
4708
4709 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4710 Interactively in calendar buffer, give an error if not on a date.
4711
13932042
GM
47122012-02-15 Glenn Morris <rgm@gnu.org>
4713
4714 * shell.el (shell-delimiter-argument-list):
4715 Revert 2011-02-17 change. (Bug#8027)
4716
c3a70e2b
CY
47172012-02-15 Chong Yidong <cyd@gnu.org>
4718
60236b0d
CY
4719 * minibuffer.el (completion-at-point-functions): Doc fix.
4720
c3a70e2b
CY
4721 * custom.el (defcustom): Doc fix; note use of defvar.
4722
9f26dc24
GM
47232012-02-15 Glenn Morris <rgm@gnu.org>
4724
4725 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4726 Doc fixes.
4727
6546b134
GM
47282012-02-14 Glenn Morris <rgm@gnu.org>
4729
4730 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4731
d29b2b4c
LI
47322012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4733
4734 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4735 way the ports list is computed.
835bdcba
LI
4736 (smtpmail-query-smtp-server): Prompt the user for a port number if
4737 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4738
08dcdbc9
TZ
47392012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4740
4741 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4742
2605051a
GM
47432012-02-13 Glenn Morris <rgm@gnu.org>
4744
4745 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4746
7ee99f32
TZ
47472012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4748
4749 * net/gnutls.el (gnutls-trustfiles): New variable.
4750 (gnutls-negotiate): Use it.
4751
5f0af64f
LI
47522012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4753
4754 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4755 does its stuff if Gnus is running.
4756
c14fcc95
AM
47572012-02-13 Alan Mackenzie <acm@muc.de>
4758
4759 Fix a loop in c-set-fl-decl-start.
4760
7a71b18d 4761 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4762 c-backward-syntactic-ws actually moves backwards.
4763
142b4d90
LL
47642012-02-13 Leo Liu <sdl.web@gmail.com>
4765
4766 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4767 beginning so that all \C-o chars are removed.
4768
fa9958a6
TZ
47692012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4770
dc9924b8 4771 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4772
0bc5886a
AM
47732012-02-12 Alan Mackenzie <acm@muc.de>
4774
4775 Fix infinite loop with long macros.
4d6769e1 4776 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4777
d4bd55e7
CY
47782012-02-12 Chong Yidong <cyd@gnu.org>
4779
4780 * window.el (display-buffer): Doc fix (Bug#10785).
4781
66f3fe22
GM
47822012-02-12 Glenn Morris <rgm@gnu.org>
4783
bd7da63e
GM
4784 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4785 (x-disown-selection-internal, x-get-selection-internal):
4786 Sync docs with the xselect.c versions.
4787
66f3fe22
GM
4788 * allout-widgets.el: Add missing license notice.
4789
3e0d2fa7
GM
47902012-02-11 Glenn Morris <rgm@gnu.org>
4791
cfecdf09
GM
4792 * select.el (x-get-selection-internal, x-own-selection-internal)
4793 (x-disown-selection-internal):
4794 * x-dnd.el (x-get-selection-internal): Update declarations.
4795
6d216d7f
GM
4796 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4797
2bed3f04
GM
4798 * window.el (window-sides-slots):
4799 * tool-bar.el (tool-bar-position):
4800 * term/xterm.el (xterm-extra-capabilities):
4801 * ses.el (ses-self-reference-early-detection):
4802 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4803 (verilog-auto-wire-type)
4804 (verilog-auto-delete-trailing-whitespace)
4805 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4806 (verilog-auto-tieoff-declaration):
4807 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4808 (sql-oracle-statement-starters, sql-oracle-scan-on):
4809 * progmodes/prolog.el (prolog-align-comments-flag)
4810 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4811 (prolog-left-indent-regexp, prolog-paren-indent-p)
4812 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4813 (prolog-types, prolog-mode-specificators)
4814 (prolog-determinism-specificators, prolog-directives)
4815 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4816 (prolog-electric-dot-flag)
4817 (prolog-electric-dot-full-predicate-template)
4818 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4819 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4820 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4821 (prolog-program-switches, prolog-prompt-regexp)
4822 (prolog-debug-on-string, prolog-debug-off-string)
4823 (prolog-trace-on-string, prolog-trace-off-string)
4824 (prolog-zip-on-string, prolog-zip-off-string)
4825 (prolog-use-standard-consult-compile-method-flag)
4826 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4827 (prolog-imenu-max-lines, prolog-info-predicate-index)
4828 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4829 (prolog-char-quote-workaround):
4830 * progmodes/cc-vars.el (c-defun-tactic):
4831 * net/tramp.el (tramp-encoding-command-interactive)
4832 (tramp-local-end-of-line):
4833 * net/soap-client.el (soap-client):
4834 * net/netrc.el (netrc-file):
4835 * net/gnutls.el (gnutls):
4836 * minibuffer.el (completion-category-overrides)
4837 (completion-cycle-threshold)
4838 (completion-pcm-complete-word-inserts-delimiters):
4839 * man.el (Man-name-local-regexp):
4840 * mail/feedmail.el (feedmail-display-full-frame):
4841 * international/characters.el (glyphless-char-display-control):
4842 * eshell/em-ls.el (eshell-ls-date-format):
4843 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4844 (lisp-lambda-list-keyword-parameter-indentation)
4845 (lisp-lambda-list-keyword-parameter-alignment):
4846 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4847 * dired-x.el (dired-omit-verbose):
4848 * cus-theme.el (custom-theme-allow-multiple-selections):
4849 * calc/calc.el (calc-highlight-selections-with-faces)
4850 (calc-lu-field-reference, calc-lu-power-reference)
4851 (calc-note-threshold):
4852 * battery.el (battery-mode-line-limit):
4853 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4854 (archive-7z-update):
4855 * allout.el (allout-prefixed-keybindings)
4856 (allout-unprefixed-keybindings)
4857 (allout-inhibit-auto-fill-on-headline)
4858 (allout-flattened-numbering-abbreviation):
4859 * allout-widgets.el (allout-widgets-auto-activation)
4860 (allout-widgets-icons-dark-subdir)
4861 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4862 (allout-widgets-theme-dark-background)
4863 (allout-widgets-theme-light-background)
4864 (allout-widgets-item-image-properties-emacs)
4865 (allout-widgets-item-image-properties-xemacs)
4866 (allout-widgets-run-unit-tests-on-load)
4867 (allout-widgets-time-decoration-activity)
4868 (allout-widgets-hook-error-post-time)
4869 (allout-widgets-track-decoration):
4870 Add missing :version tags to new defcustoms and defgroups.
4871
5fec1b8e
GM
4872 * progmodes/sql.el (sql-ansi-statement-starters)
4873 (sql-oracle-statement-starters): Add custom type.
4874
3e0d2fa7
GM
4875 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4876 (prolog-system-version): Give it a type.
4877
90b671e2
EZ
48782012-02-11 Eli Zaretskii <eliz@gnu.org>
4879
4880 * term/pc-win.el (x-select-text, x-selection-owner-p)
4881 (x-own-selection-internal, x-disown-selection-internal)
4882 (x-get-selection-internal): Sync doc strings and argument lists
4883 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4884
5eac0c02
LL
48852012-02-11 Leo Liu <sdl.web@gmail.com>
4886
4887 * progmodes/python.el (python-end-of-statement): Fix infinite
4888 loop. (Bug#10788)
4889
f82cb659
GM
48902012-02-10 Glenn Morris <rgm@gnu.org>
4891
4892 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4893 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4894
cc26d239
LI
48952012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4896
4897 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4898 about SMTP before checking the From header.
4899
91027d08 4900 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4901 into own function for reuse by emacsbug.el.
4902
1be3ca5a
LL
49032012-02-10 Leo Liu <sdl.web@gmail.com>
4904
4905 * subr.el (condition-case-unless-debug): Rename from
4906 condition-case-no-debug. All callers changed.
4907 (with-demoted-errors): Fix caller.
4908
4909 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4910 * nxml/rng-valid.el (rng-do-some-validation):
4911 * emacs-lisp/package.el (package-refresh-contents)
4912 (package-menu-execute):
4913 * desktop.el (desktop-create-buffer):
91027d08 4914 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4915
b011fbfe
GM
49162012-02-10 Glenn Morris <rgm@gnu.org>
4917
b2096d72
GM
4918 * textmodes/bibtex.el:
4919 Add missing :version tags for new/changed defcustoms.
4920
b011fbfe
GM
4921 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4922
4c7e65bf
LI
49232012-02-09 Lars Ingebrigtsen <larsi@rusty>
4924
4925 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4926 (smtpmail-via-smtp): Use it, or fall back on the From address.
4927 (smtpmail-send-it): Ditto.
4928
f3934f6f
SM
49292012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4932 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4933 (byte-compile-tmp-var): New const.
4934 (byte-compile-defvar): Use it to minimize .elc size.
4935 Just use `defvar' rather than simulate it (bug#10761).
4936
a075a2c5
GM
49372012-02-09 Glenn Morris <rgm@gnu.org>
4938
cf3aa21b
GM
4939 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4940
354998cd
GM
4941 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4942 Add :version tags.
4943
dc9924b8
SM
4944 * progmodes/compile.el (compilation-error-screen-columns)
4945 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4946
dab3703d
GM
4947 * vc/log-view.el (log-view-toggle-entry-display):
4948 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4949
3f88cd72
GM
4950 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4951 (report-emacs-bug-can-use-xdg-email):
4952 (report-emacs-bug-insert-to-mailer): Doc fixes.
4953 (report-emacs-bug): Message fix.
4954
d95b247d
GM
4955 * net/browse-url.el (browse-url-can-use-xdg-open)
4956 (browse-url-xdg-open): Doc fixes.
4957
a075a2c5
GM
4958 * electric.el (electric-indent-mode, electric-pair-mode)
4959 (electric-layout-rules, electric-layout-mode): Doc fixes.
4960 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4961
ffb6157e
MR
49622012-02-08 Martin Rudalics <rudalics@gmx.at>
4963
4964 * server.el (server-unselect-display): Don't inadvertently kill
4965 the current buffer. (Bug#10729)
4966
e1ac4066
GM
49672012-02-08 Glenn Morris <rgm@gnu.org>
4968
34e8a2da
GM
4969 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4970 (sql-list-table): Doc fixes.
4971
b4ac6e8c
GM
4972 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4973 Comment out (does nothing).
4974
e1ac4066
GM
4975 * completion.el (dynamic-completion-mode):
4976 * dirtrack.el (dirtrack-debug-mode):
4977 * electric.el (electric-layout-mode):
4978 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4979 * face-remap.el (text-scale-mode, buffer-face-mode):
4980 * iimage.el (iimage-mode):
4981 * image-mode.el (image-transform-mode):
4982 * minibuffer.el (completion-in-region-mode):
4983 * scroll-lock.el (scroll-lock-mode):
4984 * simple.el (next-error-follow-minor-mode):
4985 * tar-mode.el (tar-subfile-mode):
4986 * tooltip.el (tooltip-mode):
4987 * vcursor.el (vcursor-use-vcursor-map):
4988 * wid-browse.el (widget-minor-mode):
4989 * emulation/tpu-edt.el (tpu-edt-mode):
4990 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4991 * international/iso-ascii.el (iso-ascii-mode):
4992 * language/thai-util.el (thai-word-mode):
4993 * mail/supercite.el (sc-minor-mode):
4994 * net/goto-addr.el (goto-address-mode):
4995 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4996 * progmodes/cwarn.el (cwarn-mode):
4997 * progmodes/flymake.el (flymake-mode):
4998 * progmodes/glasses.el (glasses-mode):
4999 * progmodes/hideshow.el (hs-minor-mode):
5000 * progmodes/pascal.el (pascal-outline-mode):
5001 * textmodes/enriched.el (enriched-mode):
5002 * vc/smerge-mode.el (smerge-mode):
5003 Doc fixes (minor mode argument).
5004
5e0d957f
EZ
50052012-02-07 Eli Zaretskii <eliz@gnu.org>
5006
5007 * ls-lisp.el (ls-lisp-sanitize): New function.
5008 (ls-lisp-insert-directory): Use it to fix or remove any elements
5009 in file-alist with missing attributes. (Bug#4673)
5010
98d7371e
AM
50112012-02-07 Alan Mackenzie <acm@muc.de>
5012
5013 Fix spurious recognition of c-in-knr-argdecl.
5014
5015 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5016 putative K&R region.
5017
667ced3a
AM
50182012-02-07 Alan Mackenzie <acm@muc.de>
5019
eb864a71
LM
5020 * progmodes/cc-engine.el (c-forward-objc-directive):
5021 Prevent looping in "#pragma mark @implementation".
667ced3a 5022
5b77774d
MA
50232012-02-07 Michael Albinus <michael.albinus@gmx.de>
5024
5025 * notifications.el (notifications-on-closed-signal): Make `reason'
5026 optional. (Bug#10744)
5027
af008560
GM
50282012-02-07 Glenn Morris <rgm@gnu.org>
5029
60d47423
GM
5030 * emacs-lisp/easy-mmode.el (define-minor-mode):
5031 Doc fixes for the macro and the mode it defines.
5032
dd605cc4
GM
5033 * image.el (imagemagick-types-inhibit): Doc fix.
5034
af008560
GM
5035 * cus-start.el (imagemagick-render-type): Add it.
5036
5cc59a37
LI
50372012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5038
4d6769e1
JB
5039 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5040 Set the default at load time, too, so that `font-lock-fontify-buffer'
5041 can be called without setting up the entire mode first. This fixes
5042 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5043
9a6dd747
CY
50442012-02-06 Chong Yidong <cyd@gnu.org>
5045
2d16b285
CY
5046 * simple.el (list-processes--refresh): Delete exited processes
5047 (Bug#8094).
5048
171e9b6e
CY
5049 * comint.el (comint-next-prompt): next-single-char-property-change
5050 and prev-single-char-property-change never return nil (Bug#8657).
5051
9a6dd747
CY
5052 * custom.el (defcustom): Doc fix (Bug#9711).
5053
aa4589a7
CY
50542012-02-05 Chong Yidong <cyd@gnu.org>
5055
5c2a252f
CY
5056 * cus-edit.el (custom-variable-reset-backup): Quote the value
5057 before storing it in the customized-value property (Bug#6712).
4aab9006 5058 (custom-display): Add a customization type tag.
983b9602 5059 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5060
aa4589a7
CY
5061 * wid-edit.el (widget-field-value-get): New optional arg to
5062 suppress trailing whitespace truncation.
5063 (character): Use it (Bug#2689).
5064
1ff980ae
AS
50652012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5066
5067 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5068 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5069
03988c98
CY
50702012-02-05 Chong Yidong <cyd@gnu.org>
5071
eeb6cc88
CY
5072 * cus-edit.el (custom-variable-value-create): For mismatched
5073 types, show the current value (Bug#7600).
5074
03988c98
CY
5075 * custom.el (defcustom): Doc fix.
5076
f8cdeef0
GM
50772012-02-05 Glenn Morris <rgm@gnu.org>
5078
5079 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5080
0696d255
JB
50812012-02-05 Juanma Barranquero <lekktu@gmail.com>
5082
5083 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5084 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5085 (pp-last-sexp): Use `looking-at-p'.
5086
34c99998
GM
50872012-02-04 Glenn Morris <rgm@gnu.org>
5088
8f05da42
GM
5089 * files.el (revert-buffer):
5090 Doc fix (mention revert-buffer-in-progress-p).
5091
f160676e
GM
5092 * emacs-lisp/ert-x.el (ert-simulate-command):
5093 Check deferred-action-list (which is obsolete) is bound.
5094
c7291ad9
GM
5095 * subr.el (with-wrapper-hook): Doc fixes.
5096
34c99998
GM
5097 * simple.el (filter-buffer-substring-functions)
5098 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5099
6283a7d3
LL
51002012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5101
5102 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5103 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5104
e96e3013
LL
51052012-02-04 Leo Liu <sdl.web@gmail.com>
5106
5107 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5108
8ded50f2
GM
51092012-02-04 Glenn Morris <rgm@gnu.org>
5110
82ff1d13
GM
5111 * image.el (image-extension-data): Add obsolete alias.
5112
987a0a16
GM
5113 * isearch.el (isearch-update): Doc fix.
5114
ea32ef46
GM
5115 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5116
8ded50f2
GM
5117 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5118
eea14f31
GM
51192012-02-03 Glenn Morris <rgm@gnu.org>
5120
5121 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5122 (image-animate-timeout): Doc fix.
5123
5124 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5125
12f381b7
GM
51262012-02-02 Glenn Morris <rgm@gnu.org>
5127
953cebf5
GM
5128 * server.el (server-auth-dir): Doc fix.
5129 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5130
12f381b7
GM
5131 * subr.el (run-mode-hooks): Doc fix.
5132
953a8c3b
JL
51332012-02-02 Juri Linkov <juri@jurta.org>
5134
5135 * image-mode.el (image-toggle-display-image): Remove tautological
5136 `major-mode' from the `derived-mode-p' test.
5137
c5d3843c
KH
51382012-02-02 Kenichi Handa <handa@m17n.org>
5139
9f6e692e 5140 * composite.el (compose-region): Cancel previous change.
c5d3843c 5141
159462d4 51422012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5143
5144 * composite.el (compose-region, compose-string): Signal error for
5145 a null string component (Bug#6988).
5146
9f562668
CY
51472012-02-01 Chong Yidong <cyd@gnu.org>
5148
e2cef717
CY
5149 * view.el (view-buffer-other-window, view-buffer-other-frame):
5150 Handle special modes like view-buffer (Bug#10650).
5151 (view-buffer): Simplify.
5152
9f562668
CY
5153 * frame.el (set-frame-font): Tweak meaning of third argument.
5154
9f6e692e
JB
5155 * dynamic-setting.el (font-setting-change-default-font):
5156 Use set-frame-font (Bug#9982).
9f562668 5157
781acb9f
GM
51582012-02-01 Glenn Morris <rgm@gnu.org>
5159
6035be52
GM
5160 * progmodes/compile.el (compilation-internal-error-properties):
5161 Respect compilation-first-column in the "*compilation*" buffer.
5162
781acb9f
GM
5163 * emacs-lisp/easy-mmode.el (define-minor-mode):
5164 Relax :variable's test for a named function.
5165
abbceb00
AM
51662012-01-31 Alan Mackenzie <acm@muc.de>
5167
5168 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5169 off by one error.
5170
fce3fdeb
CY
51712012-01-31 Chong Yidong <cyd@gnu.org>
5172
5173 * frame.el (set-frame-font): New arg ALL-FRAMES.
5174
5175 * menu-bar.el (menu-set-font): Use set-frame-font.
5176
5177 * faces.el (face-spec-reset-face): Don't apply unspecified
5178 attribute values to the default face.
5179
47893581
JB
51802012-01-31 Juanma Barranquero <lekktu@gmail.com>
5181
5182 * progmodes/cwarn.el (cwarn): Remove dead link.
5183 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5184 Remove * from defcustom docstrings.
5185 (turn-on-cwarn-mode): Make obsolete.
5186 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5187 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5188
e58e988a
GM
51892012-01-31 Glenn Morris <rgm@gnu.org>
5190
60dc2671 5191 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5192 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5193 Allow named functions to be used as the cdr of :variable.
e58e988a 5194
7a3f511d
GM
51952012-01-30 Glenn Morris <rgm@gnu.org>
5196
5197 * emacs-lisp/authors.el (authors-fixed-entries):
5198 Remove reference to deleted file rnewspost.el.
5199
cb882333
JB
52002012-01-29 Juanma Barranquero <lekktu@gmail.com>
5201
5202 * window.el (window-with-parameter): Remove unused variable `windows'.
5203 (window--side-check): Remove unused variable `code'.
5204 (window--resize-siblings): Remove unused variable `first'.
5205 (adjust-window-trailing-edge): Remove unused variable `failed'.
5206 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5207 Use `let', not `let*'.
5208 (balance-windows-2): Remove unused variable `found'.
5209 (window--state-put-2): Remove unused variable `splits'.
5210 (window-state-put): Remove unused variable `selected'.
5211 (same-window-p): Use `string-match-p'.
5212 (display-buffer-assq-regexp): Remove unused variable `value'.
5213 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5214 Mark argument ALIST as ignored.
5215 (pop-to-buffer): Remove unused variable `old-window'.
5216
907201af
EZ
52172012-01-29 Eli Zaretskii <eliz@gnu.org>
5218
5219 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5220 and .lzma compressed files.
5221
ea162670
CY
52222012-01-29 Chong Yidong <cyd@gnu.org>
5223
5b95ee8a
CY
5224 * frame.el (window-system-default-frame-alist): Doc fix.
5225
ea162670
CY
5226 * dynamic-setting.el (font-setting-change-default-font): Don't
5227 change the default face if SET-FONT argument is non-nil (Bug#9982).
5228
d6e6f4b1
SB
52292012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5230
5231 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5232
0f29fa41 52332012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5234
5235 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5236 breakpoints in files outside current directory (Bug#6098).
5237
db174434
CY
52382012-01-29 Chong Yidong <cyd@gnu.org>
5239
6b25e4e2
SE
5240 * progmodes/python.el: Require ansi-color at top-level.
5241
6df6ae42
JB
5242 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5243 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5244 (lisp-mode-abbrev-table): Add doc.
5245 (lisp-mode-variables): Don't set local-abbrev-table.
5246 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5247
e70ee681
RW
52482012-01-28 Roland Winkler <winkler@gnu.org>
5249
5250 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5251
ace88aa2
RW
52522012-01-28 Roland Winkler <winkler@gnu.org>
5253
5254 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5255 (bibtex-set-dialect): Use it. Either set global values of
5256 dialect-dependent variables or bind these variables buffer-locally
5257 (Bug#10254).
5258 (bibtex-mode): Call bibtex-set-dialect via
5259 hack-local-variables-hook.
eb864a71
LM
5260 (bibtex-dialect): Update docstring.
5261 Add safe-local-variable predicate.
ace88aa2
RW
5262 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5263 bibtex-set-dialect.
5264 (bibtex-mode-map): Define menu for each dialect.
5265 (bibtex-entry): Fix docstring.
5266
93376c5b
CY
52672012-01-28 Chong Yidong <cyd@gnu.org>
5268
5269 * eshell/esh-arg.el (eshell-quote-argument): New function.
5270
5271 * eshell/esh-ext.el (eshell-invoke-batch-file):
5272 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5273 first arg to eshell-parse-command (Bug#10523).
5274
4372494f
DA
52752012-01-28 Drew Adams <drew.adams@oracle.com>
5276
5277 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5278 `default-directory' is non-nil.
5279
4d4ec1f8
EZ
52802012-01-28 Eli Zaretskii <eliz@gnu.org>
5281
5282 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5283 line that displays system-configuration-options. (Bug#9924)
5284
7c188927
DA
52852012-01-28 Drew Adams <drew.adams@oracle.com>
5286
5287 * descr-text.el (describe-char): Show information about POS, in
5288 addition to information about the character at POS. Improve and
5289 update the doc string. Change "code point" to "code point in
5290 charset", to avoid confusion with the character's Unicode code
5291 point shown above that. (Bug#10129)
5292
e0da685a
EZ
52932012-01-28 Eli Zaretskii <eliz@gnu.org>
5294
5295 * descr-text.el (describe-char): Show the raw character, not only
5296 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5297 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5298 for the reasons.
5299
70550acf
PH
53002012-01-28 Phil Hagelberg <phil@hagelb.org>
5301
eb864a71
LM
5302 * emacs-lisp/package.el (package-install):
5303 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5304
0ce8e868
CY
53052012-01-28 Chong Yidong <cyd@gnu.org>
5306
cb882333
JB
5307 * emacs-lisp/package.el (package-maybe-load-descriptor):
5308 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5309 (package-maybe-load-descriptor): Use it.
5310 (package-download-transaction): Fully load required packages
5311 inside the loop, so that `require' calls work (Bug#10593).
5312 (package-install): No need to call package-initialize now.
5313
2e7f3bea
CY
53142012-01-28 Chong Yidong <cyd@gnu.org>
5315
6e9bad14
CY
5316 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5317
f823b8ca
CY
5318 * tooltip.el (tooltip-mode): Doc fix.
5319 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5320
2680c309
CY
5321 * frame.el (set-cursor-color): Doc fix (Bug#352).
5322
d7a9e63b
CY
5323 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5324 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5325
2e7f3bea
CY
5326 * cus-edit.el (custom-buffer-create-internal): Fix search button
5327 action (Bug#10542).
2ae01800 5328 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5329
fc4f7a23
EW
53302012-01-27 Eduard Wiebe <usenet@pusto.de>
5331
5332 * dired.el (dired-mark-files-regexp):
5333 Include any subdirectory components. (Bug#10445)
5334
7dd37071
ML
53352012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5336
5337 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5338 Handle [host]:port syntax. (Bug#10533)
5339
a268160b
AH
53402012-01-27 Alex Harsanyi <harsanyi@mac.com>
5341
5342 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5343
e43273ef
GM
53442012-01-26 Glenn Morris <rgm@gnu.org>
5345
5346 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5347 * term.el (term-raw-escape-map): Use Control-X-prefix.
5348 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5349
1edf595d
MR
53502012-01-25 Martin Rudalics <rudalics@gmx.at>
5351
5352 * window.el (window-state-get, window--state-get-1): Don't deal
5353 with fixed-sizeness of windows. Simplify code.
5354
fa8eafef
JC
53552012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5356
6df6ae42
JB
5357 * window.el (window--state-get-1, window--state-put-2):
5358 Don't save and restore the mark.
fa8eafef 5359
0b21c100
CY
53602012-01-25 Chong Yidong <cyd@gnu.org>
5361
5362 * custom.el (custom-variable-p): Doc fix.
5363
5ae1a6c8
GM
53642012-01-25 Glenn Morris <rgm@gnu.org>
5365
40047858
GM
5366 * dired.el (dired-goto-file): Handle some of the more common
5367 characters that `ls -b' escapes. (Bug#10596)
5368
5ddce96c
GM
5369 * progmodes/compile.el (compilation-next-error-function):
5370 Respect compilation-first-column in the "*compilation*" buffer.
5371 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5372
5ae1a6c8
GM
5373 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5374
b559f1a9
GM
53752012-01-24 Glenn Morris <rgm@gnu.org>
5376
5377 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5378
6725d21a
JD
53792012-01-24 Julien Danjou <julien@danjou.info>
5380
5381 * color.el (color-rgb-to-hsl): Fix value computing.
5382 (color-hue-to-rgb): New function.
5383 (color-hsl-to-rgb): New function.
5384 (color-clamp, color-saturate-hsl, color-saturate-name)
5385 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5386 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5387
70df4bbe
GM
53882012-01-24 Glenn Morris <rgm@gnu.org>
5389
5390 * vc/vc-rcs.el (vc-rcs-create-tag):
5391 * vc/vc-sccs.el (vc-sccs-create-tag):
5392 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5393
802a2ae2
ML
53942012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5395
5396 * eshell/esh-util.el (eshell-read-hosts-file):
5397 Skip comment lines. (Bug#10549)
5398
d7128bb1
ML
5399 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5400
d1a5c3b4
JB
54012012-01-23 Juanma Barranquero <lekktu@gmail.com>
5402
2724d9c7
JB
5403 * subr.el (display-delayed-warnings): Doc fix.
5404 (collapse-delayed-warnings): New function to collapse identical
5405 adjacent warnings.
5406 (delayed-warnings-hook): Add it.
d1a5c3b4 5407
a5509865
MA
54082012-01-22 Michael Albinus <michael.albinus@gmx.de>
5409
5410 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5411
a5509865
MA
5412 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5413 (tramp-default-user-alist): Don't add "pscp".
5414 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5415 property "login-as", if set. (Bug#10530)
5416
cc6d5805
MA
54172012-01-21 Michael Albinus <michael.albinus@gmx.de>
5418
5419 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5420 "plink1" and "psftp". (Bug#10530)
5421
54222012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5423
5424 * international/mule-cmds.el (prefer-coding-system): Show a
5425 warning message if the default value of file-name-coding-system
5426 was not changed.
5427
f0960428
JC
54282012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5429
cb882333
JB
5430 * windmove.el (windmove-reference-loc):
5431 Fix windmove-reference-loc miscalculation.
f0960428 5432
dd6f2a63
JB
54332012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5434
5435 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5436 default unit.
5437
7b447e9b
GM
54382012-01-21 Glenn Morris <rgm@gnu.org>
5439
117a9ea1
GM
5440 * international/mule.el (auto-coding-alist): Add .tbz.
5441
7b447e9b
GM
5442 * files.el (local-enable-local-variables): Doc fix.
5443 (inhibit-local-variables-regexps): Rename from
5444 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5445 Doc fix. Add some extensions from auto-coding-alist.
5446 (inhibit-local-variables-suffixes):
5447 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5448 (inhibit-local-variables-p):
5449 New function, extracted from set-auto-mode-1.
5450 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5451 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5452 (hack-local-variables): Doc fix. Make the mode-only case
5453 respect enable-local-variables and friends.
5454 Respect inhibit-local-variables-regexps for file-locals, but
5455 not for directory-locals.
5456 (set-visited-file-name):
5457 Take account of inhibit-local-variables-regexps.
5458 Whether it applies may change as the file name is changed.
5459 * jka-cmpr-hook.el (jka-compr-install):
5460 * jka-compr.el (jka-compr-uninstall):
5461 Update for inhibit-first-line-modes-suffixes name change.
5462
dd6e3cdd
MR
54632012-01-20 Martin Rudalics <rudalics@gmx.at>
5464
5465 * help-macro.el (make-help-screen): Temporarily restore original
5466 binding for minor-mode-map-alist (Bug#10454).
5467
0d0deb38
JD
54682012-01-19 Julien Danjou <julien@danjou.info>
5469
5470 * color.el (color-name-to-rgb): Use the white color to find the max
5471 color component value and return correctly computed values.
5472 (color-name-to-rgb): Add missing float conversion for max value.
5473
34a02f46
MR
54742012-01-19 Martin Rudalics <rudalics@gmx.at>
5475
5476 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5477 special state value for window-persistent-parameters.
5478 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5479 (window--state-put-2): Reset all window parameters to nil before
5480 assigning values of persistent parameters.
5481
606c44c4
AM
54822012-01-18 Alan Mackenzie <acm@muc.de>
5483
5484 Eliminate sluggishness and hangs in fontification of "semicolon
5485 deserts".
5486
cb882333
JB
5487 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5488 Change value 10000 -> 3000.
606c44c4
AM
5489 (c-state-safe-place): Reformulate so it doesn't stack up an
5490 infinite number of wrong entries in c-state-nonlit-pos-cache.
5491 (c-determine-limit-get-base, c-determine-limit): New functions to
5492 determine backward search limits disregarding literals.
5493 (c-find-decl-spots): Amend commenting.
5494 (c-cheap-inside-bracelist-p): New function which detects "={".
5495
5496 * progmodes/cc-fonts.el
5497 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5498 backward search.
5499 (c-font-lock-declarations): Fix an occurrence of point being
5500 undefined. Check additionally for point being in a bracelist or
5501 near a macro invocation without a semicolon so as to avoid a
5502 fruitless time consuming search for a declarator. Give a more
5503 precise search limit for declarators using the new
5504 c-determine-limit.
5505
f3860cea
GM
55062012-01-18 Glenn Morris <rgm@gnu.org>
5507
5508 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5509 (set-auto-mode): Doc fixes.
5510
1db03b16
GM
55112012-01-17 Glenn Morris <rgm@gnu.org>
5512
0e6038be
GM
5513 * isearch.el (search-nonincremental-instead): Fix doc typo.
5514
1db03b16
GM
5515 * dired.el (dired-insert-directory): Handle newlines in directory name.
5516 (dired-build-subdir-alist): Unescape newlines in directory name.
5517
4cb0aa75
MA
55182012-01-17 Michael Albinus <michael.albinus@gmx.de>
5519
5520 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5521 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5522 (tramp-action-terminal): Use it. (Bug#10530)
5523
1d00653d
SM
55242012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5527
6a6ee00d
MR
55282012-01-16 Martin Rudalics <rudalics@gmx.at>
5529
5530 * window.el (window-state-ignored-parameters): Remove variable.
5531 (window--state-get-1): Rename argument MARKERS to IGNORE.
5532 Handle persistent window parameters. Make copy of clone-of
5533 parameter only if requested. (Bug#10348)
5534 (window--state-put-2): Install a window parameter only if it has
5535 a non-nil value or an existing parameter shall be overwritten.
5536
97912def
MA
55372012-01-15 Michael Albinus <michael.albinus@gmx.de>
5538
5539 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5540
688070a5
EZ
55412012-01-14 Eli Zaretskii <eliz@gnu.org>
5542
5543 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5544 don't pass the (nil) value of `upnode' to string-match.
5545
301afadc
CY
55462012-01-14 Chong Yidong <cyd@gnu.org>
5547
5548 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5549 Fix values recognized by the cursorBlink resource.
301afadc 5550
9e5788aa
PE
55512012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5552
5553 * epg.el (epg--make-temp-file): Avoid permission race condition
5554 when running on old Emacs versions (bug#10403).
5555
3cdb7f5a
GM
55562012-01-14 Glenn Morris <rgm@gnu.org>
5557
5558 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5559
8c82b1b4
AM
55602012-01-13 Alan Mackenzie <acm@muc.de>
5561
5562 Fix filling for when filladapt mode is enabled.
5563
5564 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5565 c-mask-paragraph, pass in `fill-paragraph' rather than
5566 `fill-region-as-paragraph'. (This is a reversion of a previous
5567 change.)
eb864a71
LM
5568 * progmodes/cc-mode.el (c-basic-common-init):
5569 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5570
e517eda4
GM
55712012-01-13 Glenn Morris <rgm@gnu.org>
5572
1498536e
GM
5573 * dired.el (dired-switches-escape-p): New function.
5574 (dired-insert-directory): Use dired-switches-escape-p.
5575 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5576
e517eda4
GM
5577 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5578
328f984d
GM
55792012-01-12 Glenn Morris <rgm@gnu.org>
5580
5581 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5582 changes in adaptive-fill-regexp. (Bug#10276)
5583
2cc769a8
AM
55842012-01-11 Alan Mackenzie <acm@muc.de>
5585
5586 Fix Emacs bug #10463 - put `widen's around the critical spots.
5587
1d00653d 5588 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5589 widen around each invocation of c-state-pp-to-literal. Remove an
5590 unused let variable.
5591
e52c37fa
GM
55922012-01-11 Glenn Morris <rgm@gnu.org>
5593
5594 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5595 Doc fix.
e52c37fa 5596
96f8741e
CY
55972012-01-10 Chong Yidong <cyd@gnu.org>
5598
1d00653d
SM
5599 * net/network-stream.el (network-stream-open-starttls):
5600 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5601 response to the capability command.
5602
b09a806e
GM
56032012-01-10 Glenn Morris <rgm@gnu.org>
5604
5605 * mail/unrmail.el (unrmail): Tweak previous change.
5606
7655cb66
CY
56072012-01-09 Chong Yidong <cyd@gnu.org>
5608
5609 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5610
9d5a8f0b
AM
56112012-01-08 Alan Mackenzie <acm@muc.de>
5612
5613 Optimise font locking in long enum definitions.
5614
5615 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5616 arm to a cond form to handle enums.
5617 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5618 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5619
9a0115ab 56202012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5621
5622 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5623 (Bug#10401)
6bb72cbd 5624
f186bb95
LMI
56252012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5626
29232a68
LMI
5627 * faces.el (set-face-attribute): Clarify the meaning of the nil
5628 frame (bug#10294).
5629
4e5d086d
LMI
5630 * subr.el (with-selected-frame): Mention that the selected frame
5631 is restored (bug#9980).
5632
8e66aebe
LMI
5633 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5634 (bug#9759).
5635
cd394be1 5636 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5637 (password-read): Don't autoload unused function.
5638
adf4e762
JB
56392012-01-07 Juanma Barranquero <lekktu@gmail.com>
5640
5641 * progmodes/which-func.el (which-func-mode): Turn into a
5642 non-interactive function and mark as obsolete (bug#10428).
5643
89bd9ccd
CY
56442012-01-06 Chong Yidong <cyd@gnu.org>
5645
5646 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5647 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5648 functions, along with 1 and -1.
5649
4afee9d5
EZ
56502012-01-06 Eli Zaretskii <eliz@gnu.org>
5651
5652 * time.el (display-time-load-average)
5653 (display-time-default-load-average): Doc fixes. See the thread
5654 starting at
5655 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5656 for the details.
5657
536aea70
GM
56582012-01-06 Glenn Morris <rgm@gnu.org>
5659
665ae865
GM
5660 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5661 has no messages. (Bug#10377)
5662
c869783d
GM
5663 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5664 than Info-edit. (Bug#10385)
5665
2bb4227e
GM
5666 * time.el (display-time-load-average, display-time-next-load-average):
5667 Doc fixes.
5668
7d5944b9
GM
5669 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5670 local setting of buffer-read-only to the input buffer. (Bug#10419)
5671
536aea70
GM
5672 * calendar/calendar.el (calendar-mode):
5673 Locally set scroll-margin to 0. (Bug#10379)
5674
7dccca16
UM
56752012-01-06 Ulrich Mueller <ulm@gentoo.org>
5676
5677 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5678
afbb7930
GM
56792012-01-05 Glenn Morris <rgm@gnu.org>
5680
5681 * eshell/em-unix.el (diff-no-select): Autoload it.
5682 (eshell/diff): Use diff-no-select. (Bug#10420)
5683
04482335
CY
56842012-01-05 Chong Yidong <cyd@gnu.org>
5685
7baca3bc
CY
5686 * shell.el (shell-dynamic-complete-functions): Revert last change.
5687 (shell-command-completion-function): New function.
5688 (shell-completion-vars): Use it to implement
5689 shell-completion-execonly (Bug#10417).
5690
04482335
CY
5691 * custom.el (enable-theme): Don't set custom-safe-themes.
5692
1d00653d
SM
5693 * cus-theme.el (custom-theme-merge-theme):
5694 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5695
bb5aa5d6
MM
56962012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5697
5698 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5699 first prompt in `sql-interacive-mode'.
5700 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5701 keywords.
6df6ae42 5702 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5703 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5704 context of original buffer. Invoke `sql-login-hook'.
5705
a7183d7c
EZ
57062012-01-04 Eli Zaretskii <eliz@gnu.org>
5707
5708 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5709 letters in cite-prefix.
5710
a1eacd1e
LMI
57112012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5712
5713 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5714
787cdb34
CY
57152012-01-03 Chong Yidong <cyd@gnu.org>
5716
1d00653d
SM
5717 * shell.el (shell-dynamic-complete-functions):
5718 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5719 comint-filename-completion first (Bug#10417).
5720
30710442
RS
57212012-01-02 Richard Stallman <rms@gnu.org>
5722
5723 * battery.el (battery-status-function):
5724 Detect when to use battery-yeeloong-sysfs.
5725 (battery-echo-area-format): Add string for Yeeloong.
5726 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5727 (battery-yeeloong-sysfs): New function.
5728
f75bfc33
CY
57292012-01-02 Chong Yidong <cyd@gnu.org>
5730
5731 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5732 (dirtrack): Merge code for handling relative filenames in prompt
5733 from shell-dir-cookie-watcher.
5734 (dirtrack-debug-message): New arg to avoid excess format calls.
5735
5736 * shell.el (shell-dir-cookie-re): Variable deleted.
5737 (shell-dir-cookie-watcher): Function deleted.
5738 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5739 with dirtrack-mode.
5740
651e947e
EZ
57412012-01-01 Eli Zaretskii <eliz@gnu.org>
5742
1d00653d
SM
5743 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5744 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5745 libgnutls-26.dll.
5746
94d4c7dc
AS
57472011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5748
5749 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5750
8d43f3cd
EZ
57512011-12-31 Eli Zaretskii <eliz@gnu.org>
5752
5753 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5754 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5755
98c8795a
MA
57562011-12-29 Michael Albinus <michael.albinus@gmx.de>
5757
5758 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5759 also for alternative shells.
5760 (tramp-open-connection-setup-interactive-shell): Check, whether
5761 the shell is a busybox.
5762 (tramp-send-command): Don't suppress multiple prompts for
5763 busyboxes, it hurts.
5764
51281b32
CY
57652011-12-28 Chong Yidong <cyd@gnu.org>
5766
5767 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5768 (gdb-get-source-file): Move mode line update to
5769 gdb-get-source-file (Bug#10087).
5770
2170cb53
CY
57712011-12-25 Chong Yidong <cyd@gnu.org>
5772
5773 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5774 gud-gdb-marker-filter without taking it as an argument.
5775 (gud-gdb-run-command-fetch-lines): Caller changed.
5776 (gud-gdb-completion-function): New variable.
5777 (gud-gdb-completion-at-point): Use it.
5778 (gud-gdb-completions-1): Split from gud-gdb-completions.
5779
5780 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5781 function as separate arguments.
5782 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5783 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5784 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5785 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5786 (gdb-stopped, def-gdb-auto-update-trigger)
5787 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5788 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5789 Callers changed.
2170cb53
CY
5790 (gud-gdbmi-completions): New function.
5791 (gdb): Use it for generating the completion table.
5792
be8b11bb
AM
57932011-12-24 Alan Mackenzie <acm@muc.de>
5794
5795 Introduce a mechanism to widen the region used in context font
1d00653d 5796 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5797
1d00653d
SM
5798 * progmodes/cc-langs.el (c-before-font-lock-functions):
5799 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5800 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5801 functions to be run just before context (etc.) font locking.
5802
5803 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5804 New, functionality extracted from
be8b11bb 5805 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5806 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5807 (c-after-change): Set c-in-after-change-fontification.
5808 (c-set-fl-decl-start): Rejig its interface, so it can be called
5809 from both after-change and context fontifying.
b81d40f0
JB
5810 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5811 New functions.
5812 (c-standard-font-lock-fontify-region-function): New variable.
5813 (c-font-lock-fontify-region): New function.
be8b11bb 5814
341cf6ac
JL
58152011-12-24 Juri Linkov <juri@jurta.org>
5816
5817 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5818 (Bug#10348)
5819
bffcee0a
MA
58202011-12-23 Michael Albinus <michael.albinus@gmx.de>
5821
5822 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5823 existence of source file. (Bug#10325)
5824
cb5e207c
AM
58252011-12-23 Alan Mackenzie <acm@muc.de>
5826
5827 Fix unstable fontification inside templates.
5828
b81d40f0
JB
5829 * progmodes/cc-langs.el (c-before-font-lock-functions):
5830 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5831 additionally has c-set-fl-decl-start. The other languages (apart
5832 from AWK) have that as a single entry.
5833
b81d40f0
JB
5834 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5835 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5836 c-set-fl-decl-start.
5837
b81d40f0
JB
5838 * progmodes/cc-mode.el (c-common-init, c-after-change):
5839 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5840 (c-set-fl-decl-start): New function, extracted from
5841 c-font-lock-enclosing-decls and enhanced.
5842
60ff536c
JB
58432011-12-23 Juanma Barranquero <lekktu@gmail.com>
5844
5845 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5846
1c4757d6
JL
58472011-12-22 Juri Linkov <juri@jurta.org>
5848
5849 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5850
d031f2c7
CY
58512011-12-22 Chong Yidong <cyd@gnu.org>
5852
5853 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5854
bace743a
DA
58552011-12-21 Drew Adams <drew.adams@oracle.com>
5856
5857 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5858
728a1f2b
JC
58592011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5860
5861 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5862
0d373f73
TZ
58632011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5864
fec0aaa4
TZ
5865 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5866 highlighting and support. Fix up comments for capitalization.
5867 (cfengine-mode-debug): New var.
5868 (cfengine3-mode): Change the modeline indicator to "CFE3".
5869 (cfengine3-font-lock-keywords): Improve defun highlighting.
5870 (cfengine2-actions): Rename from `cfengine-actions'.
5871 (cfengine2-font-lock-keywords): Rename from
5872 `cfengine-font-lock-keywords'.
5873 (cfengine2-imenu-expression): Rename from
5874 `cfengine-imenu-expression'.
5875 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5876 (cfengine2-beginning-of-defun): Rename from
5877 `cfengine-beginning-of-defun'.
5878 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5879 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5880 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5881 modeline indicator to "CFE2".
5882 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5883 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5884
bc86f573
CY
58852011-12-21 Chong Yidong <cyd@gnu.org>
5886
5887 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5888 filename argument.
5889
d45ba96b
MR
58902011-12-20 Martin Rudalics <rudalics@gmx.at>
5891
5892 * window.el (window-normalize-buffer-to-display): Remove.
5893 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5894
a6198c90
CY
58952011-12-19 Chong Yidong <cyd@gnu.org>
5896
5897 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5898 Don't signal an error in a predicate function; return non-nil.
5899 (vc-dir-mark-file): Move the error here.
5900 (vc-dir-mark-unmark): If acting on the region, keep going if one
5901 of the entries cannot be marked/unmarked.
5902 (vc-dir-mark-all-files): If current entry is a directory, mark
5903 only child files, as documented.
5904
34c5fb55
VB
59052011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5906
5907 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5908 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5909 addition.
5910
c803b2b7
JD
59112011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5912
5913 * term/ns-win.el (ns-get-selection-internal)
5914 (ns-store-selection-internal): Declare.
1154d12e
JB
5915 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5916 Declare as obsolete.
5917 (ns-get-pasteboard, ns-paste-secondary):
5918 Use ns-get-selection-internal.
5919 (ns-set-pasteboard, ns-copy-including-secondary):
5920 Use ns-store-selection-internal.
c803b2b7 5921
9cff91f8 59222011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5923
5924 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5925 (vc-deduce-fileset): Doc fix.
99a289d9 5926
f16c898a
AS
59272011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5928
5929 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5930
763237c4
SS
59312011-12-13 Sam Steingold <sds@gnu.org>
5932
5933 * man.el (Man-getpage-in-background): When running under a
5934 window-system, ignore $MANWIDTH and $COLUMNS.
5935
5fc1c122
KH
59362011-12-15 Kenichi Handa <handa@m17n.org>
5937
5938 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5939 (setup-ethiopic-environment-internal): Comment out key-binding for
5940 ethio-toggle-punctuation.
5941
13d49cbb
AM
59422011-12-13 Alan Mackenzie <acm@muc.de>
5943
898169a2
AM
5944 Add the switch statement to AWK Mode.
5945
7a71b18d 5946 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5947 "default" to the keywords regexp.
5948
7a71b18d 5949 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5950 expression as the rest.
1d00653d
SM
5951 (c-nonlabel-token-key): Allow string literals for AWK.
5952 Refactor for the other modes.
898169a2 5953
13d49cbb 5954 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5955 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5956 routines. Limit backward searching in c-font-lock-enclosing.decl.
5957
5958 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5959 pp-state and literal type in addition to the limits.
1d00653d 5960 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5961 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5962 (c-slow-in-literal, c-fast-in-literal): Remove.
5963 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5964
5965 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5966 being in a literal. Add a limit for backward searching.
5967
5968 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5969 c-slow-in-literal.
5970
15e0efc7
SM
59712011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5974
454592a6
MR
59752011-12-13 Martin Rudalics <rudalics@gmx.at>
5976
5977 * window.el (delete-other-windows): Use correct frame in call to
5978 window-with-parameter.
5979
87393f26
DP
59802011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5981
5982 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5983 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5984 (makefile-gmake-statements, makefile-makepp-statements):
5985 Use it and add new makepp keywords.
5986 (makefile-makepp-font-lock-keywords): Add new patterns.
5987 (makefile-match-function-end): Match new [...] and [[...]].
5988
11636b22
JB
59892011-12-11 Juanma Barranquero <lekktu@gmail.com>
5990
5991 * ses.el (ses-call-printer-return, ses-cell-property-get)
5992 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5993 (ses-create-cell-variable, ses-reset-header-string)
5994 (ses-cell-set-formula, ses-repair-cell-reference-all)
5995 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5996 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5997 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5998 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5999 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6000 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6001 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6002 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6003 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6004 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6005 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6006 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6007
cf018193
VB
60082011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6009
6010 * ses.el: The overall change is to add cell renaming, that is
6011 setting fancy names for cell symbols other than name matching
6012 "\\`[A-Z]+[0-9]+\\'" regexp .
6013 (ses-create-cell-variable): New defun.
6014 (ses-relocate-formula): Relocate formulas only for cells the
6015 symbols of which are not renamed, i.e. symbols whose names do not
6016 match regexp "\\`[A-Z]+[0-9]+\\'".
6017 (ses-relocate-all): Relocate values only for cells the symbols of
6018 which are not renamed.
6019 (ses-load): Create cells variables as the (ses-cell ...) are read,
6020 in order to check row col consistency with cell symbol name only
6021 for cells that are not renamed.
6022 (ses-replace-name-in-formula): New defun.
6023 (ses-rename-cell): New defun.
6024
ee957461
CY
60252011-12-11 Chong Yidong <cyd@gnu.org>
6026
6027 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6028 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6029
9a9e9ef0
MR
60302011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6031
6032 * window.el (other-window): Fix docstring.
6033
92a8eba5
EZ
60342011-12-10 Eli Zaretskii <eliz@gnu.org>
6035
6036 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6037 `from' or `to' address before taking its substring.
6038 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6039 encoded name is chopped in the middle of the encoded string, and
6040 thus displayed encoded.
6041
e152e577
JB
60422011-12-10 Juanma Barranquero <lekktu@gmail.com>
6043
6044 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6045
e5d84bfe
EZ
60462011-12-10 Eli Zaretskii <eliz@gnu.org>
6047
6048 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6049 to use texinfo-update-node and commands that call it if the
6050 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6051 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6052 (texinfo-all-menus-update, texinfo-master-menu)
6053 (texinfo-update-node, texinfo-every-node-update)
6054 (texinfo-multiple-files-update): Doc fix. Warn against updating
6055 all the @node lines.
6056 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6057 argument is numeric. Explain better in the doc string what the
6058 function really does.
6059 (texinfo-insert-master-menu-list): Improve the error message
6060 displayed if there's no menu in the Top node.
6061 (Bug#2975) See also this thread:
e5d84bfe
EZ
6062 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6063
1d84e9bb
MG
60642011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6065
6066 * speedbar.el (speedbar-supported-extension-expressions):
6067 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6068
382c953b
JB
60692011-12-09 Juanma Barranquero <lekktu@gmail.com>
6070
6071 * printing.el (pr-mode-alist):
6072 * simple.el (filter-buffer-substring-functions)
6073 (completion-list-insert-choice-function):
6074 * window.el (window-with-parameter, window-atom-root)
6075 (window-sides-slots, window-size-fixed, window-min-delta)
6076 (window-max-delta, window--resize-mini-window)
6077 (window--resize-child-windows-normal, window-tree)
6078 (delete-other-windows, quit-window, split-window)
6079 (display-buffer-record-window, special-display-buffer-names)
6080 (special-display-regexps, special-display-popup-frame)
6081 (same-window-p, split-window-sensibly)
6082 (display-buffer-overriding-action, display-buffer-alist)
6083 (display-buffer-base-action, display-buffer, switch-to-buffer)
6084 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6085 (fit-window-to-buffer, recenter-positions)
6086 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6087 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6088 and remove unneeded backslashes in docstrings.
6089
39c9faef
SM
60902011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6091
98449af8
SM
6092 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6093
39c9faef
SM
6094 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6095 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6096 end in ".mk".
6097 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6098 when reading the makefile (bug#10116).
6099
86ed9fdc
SM
61002011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6103 (bug#10116).
6104
5580f89d
GM
61052011-12-06 Glenn Morris <rgm@gnu.org>
6106
6107 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6108
28d3917c
CY
61092011-12-06 Chong Yidong <cyd@gnu.org>
6110
6111 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6112
a98edce9
JB
61132011-12-06 Juanma Barranquero <lekktu@gmail.com>
6114
6115 * textmodes/table.el (table-shorten-cell): Fix typo.
6116
e65adfac
CG
61172011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6118
6119 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6120
71cc0b74
EZ
61212011-12-05 Eli Zaretskii <eliz@gnu.org>
6122
6123 * descr-text.el (describe-char): Fix display of strong
6124 right-to-left characters and directional embeddings and overrides.
6125
6126 * simple.el (what-cursor-position): Fix display of codepoints of
6127 strong right-to-left characters.
6128
315bc30d
CY
61292011-12-05 Chong Yidong <cyd@gnu.org>
6130
6131 * faces.el (read-color): Doc fix.
6132
58a70b94
GM
61332011-12-05 Glenn Morris <rgm@gnu.org>
6134
6135 * align.el (align--set-marker): Add doc-string.
6136 Don't try to move something that is not a marker. (Bug#10216)
6137
5158face
GM
61382011-12-04 Glenn Morris <rgm@gnu.org>
6139
6140 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6141 overly zealous deletion of trailing whitespace.
6142
520fca41
JB
61432011-12-04 Juanma Barranquero <lekktu@gmail.com>
6144
6145 * server.el (server-delete-client): On Windows, do not try to delete
6146 the only terminal.
6147 (server-process-filter): On Windows, treat requests for a tty frame as
6148 if they were for a GUI frame if the running server is in GUI mode.
6149
5e605a2e
GM
61502011-12-03 Glenn Morris <rgm@gnu.org>
6151
6152 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6153
5c3fe83f
SM
61542011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6f5e57e7
SM
6156 * electric.el: Streamline electric-indent's hook.
6157 (electric-indent-chars): Revert to simple list.
6158 (electric-indent-functions): New var.
6159 (electric-indent-post-self-insert-function): Use it.
6160
5c3fe83f
SM
6161 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6162 there's no inferior buffer (bug#10196).
6163 (prolog-consult-compile): Don't use toggle-read-only.
6164
6bdac736
MA
61652011-12-02 Michael Albinus <michael.albinus@gmx.de>
6166
6167 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6168 interrupt. (Bug#10187)
6169
6131ba7f
SM
61702011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6171
99c79fee
SM
6172 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6173 (bug#9160).
6174
6131ba7f
SM
6175 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6176 (bug#10191).
6177
cb0a02ea
JL
61782011-12-02 Juri Linkov <juri@jurta.org>
6179
6180 * info.el (Info-search): Display "end of manual" when Isearch
6181 reaches the end of single-file Info manual. (Bug#9918)
6182
66e0570c
EZ
61832011-12-02 Eli Zaretskii <eliz@gnu.org>
6184
6185 * isearch.el (isearch-message-prefix): Run the input method part
6186 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6187
02b16839
JL
61882011-12-02 Juri Linkov <juri@jurta.org>
6189
6190 * isearch.el (isearch-occur): Use `word-search-regexp' for
6191 `isearch-word'.
6192 (isearch-search-and-update): Add condition for `isearch-word' and
6193 call `word-search-regexp'. (Bug#10145)
6194
0b950688
GM
61952011-12-01 Glenn Morris <rgm@gnu.org>
6196
6197 * eshell/em-hist.el (eshell-hist-initialize):
6198 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6199 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6200
9505c3c7
SM
62012011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6204
1bbe96b2 62052011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6206
a1beca85
SM
6207 * progmodes/verilog-mode.el (verilog-pretty-expr):
6208 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6209 verilog, such as += *= and the like.
6210 (verilog-assignment-operator-re): Regular expression to find the
6211 assigment operator in a verilog assignment.
6212 (verilog-assignment-operation-re): Regular expression to find an
6213 assignment statement for pretty-expr.
6214 (verilog-in-attribute-p): Query returns true if point is in an
6215 attribute context; used to skip these for expression line up from
6216 pretty-expr.
6217 (verilog-in-parameter-p): Query returns true if point is in an
6218 parameter definition context; used to skip these for expression
6219 line up from pretty-expr.
6220 (verilog-in-parenthesis-p): Query returns true if point is in a
6221 parenthetical expression, specifically ( ) but not [ ] or { };
6222 used by pretty-expr.
6223 (verilog-just-one-space): If there is no space, don't add one.
6224 (verilog-get-lineup-indent-2): Specifically skip just attribute
6225 contexts for expression lineup, rather than skipping all
6226 parenthetical expressions.
6227 (verilog-calculate-indent): Fix comment, and fix indent.
6228 (verilog-do-indent): Indent declarations in lists (suggested by
6229 Joachim Lechner).
6230 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6231 skeleton items.
6232 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6233 by Alain Mellan).
6234
1bbe96b2 62352011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6236
6237 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6238 parameters with embedded comments. Reported by Ray Stevens.
6239 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6240 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6241 Reported by Tim Holt.
6242 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6243 instantiated by upper module causing wrong expansion until AUTOed a
6244 second time. Reported by K C Buckenmaier.
6245 (verilog-diff-auto): Fix showing .* as a difference when
6246 `verilog-auto-star-save' off. Reported by Dan Dever.
6247 (verilog-auto-reset, verilog-read-always-signals)
6248 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6249 temporary signals in reset list if
6250 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6251 style to each signal's assignment type, bug381.
6252 Reported by Thomas Esposito.
6288f0ca
WS
6253 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6254 (verilog-uvm-statement-re): Support UVM indentation and
6255 highlighting, with old OVM keywords only.
a1beca85 6256 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6257 Support AUTOTIEOFF creating non-wire data types.
6258 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6259 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6260 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6261 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6262 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6263 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6264 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6265 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6266 non-numeric vector width. Reported by Alex Reed.
6267 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6268 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6269 (verilog-auto-delete-trailing-whitespace):
6270 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6271 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6272 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6273 Fix verilog-scan-cache corruption when running user AUTO expansion
6274 hooks that call indentation routines.
6275 (verilog-simplify-range-expression): Fix typo ignoring lower case
6276 identifiers.
6277 (verilog-delete-auto): Fix delete-autos to also remove user created
6278 automatics, as long as they start with AUTO.
6279 (verilog-batch-diff-auto, verilog-diff-auto)
6280 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6281 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6282 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6283 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6284 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6285 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6286 is disabled and its cache will get corrupt, causing AUTOS not to
6287 expand. Instead use only -quick functions.
6288 (verilog-scan-region): Fix scanning over escaped quotes.
6289 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6290 (verilog-re-search-backward-quick)
6291 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6292 related functions now ignore strings, to fix misparsing of strings
6293 with magic comments embedded in them.
a1beca85
SM
6294 (verilog-read-auto-template):
6295 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6296 Reported by Brad Dobbie.
6297 (verilog-read-auto-template):
6298 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6299 Reported by Brad Dobbie.
6288f0ca
WS
6300 (verilog-auto-inst, verilog-auto-inst-param)
6301 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6302 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6303 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6304 debugging templates without merge conflicts, bug357.
6305 Reported by Brad Dobbie.
6306 (verilog-read-auto-template):
6307 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6308 Reported by Brad Dobbie.
6309 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6310 abbrevs so user won't be asked to save.
6311 (verilog-read-auto-lisp-present): Fix to start at beginning of
6312 buffer in case called outside of verilog-auto.
6313 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6314 to "X-2". Reported by Matthew Myers.
6315 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6316 all inputs from module templates. Reported by Leith Johnson.
6317 (verilog-module-inside-filename-p): Fix locating programs as with
6318 modules.
6319 (verilog-auto-inst-port): Fix vl-width expressions when using
6320 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6321 (verilog-decls-get-regs, verilog-decls-get-signals,
6322 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6323 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6324 verilog-read-decls): Combine reg and wire structures into one var
6325 structure to represent SystemVerilog concepts.
6326 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6327 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6328 (verilog-auto-wire-type, verilog-insert-definition):
6329 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6330 SystemVerilog "logic" keyword instead of "wire"/"reg".
6331 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6332 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6333 ifdef or generate if so there's not a driver conflict).
6334 Reported by Matthew Myers.
6335 (verilog-auto-declare-nettype, verilog-insert-definition):
6336 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6337 `default_nettype none. Reported by Julian Gorfajn.
6338 (verilog-read-always-signals-recurse, verilog-read-decls)
6339 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6340 malformed end statement, bug325. Reported by Joshua Wise and
6341 Andrew Drake.
6342 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6343 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6344 when expanding .* in interfaces, bug320.
6345 Reported by Pierre-David Pfister.
6288f0ca 6346 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6347 name and open parenthesis, bug317.
6348 Reported by Pierre-David Pfister.
6288f0ca
WS
6349 (verilog-simplify-range-expression): Fix simplification of
6350 multiplications inside AUTOWIRE connections, bug303.
6351 (verilog-auto-inst-port): Support parameter expansion in
6352 multidimensional arrays.
6353 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6354 after "assert property". Reported by Julian Gorfajn.
6355 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6356 with multiplication, bug303.
6357 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6358 Reported by Jan Frode Lonnum.
6359
1bbe96b2
GM
63602011-11-30 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6363 (hfy-shell-file-name, hfy-shell):
6364 * international/fontset.el (x-decompose-font-name): Fix typos.
6365
63662011-11-29 Ken Brown <kbrown@cornell.edu>
6367
6368 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6369 (gdb-version): Remove defvar.
6370 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6371 (gdb-gud-context-command, gdb-non-stop-handler)
6372 (gdb-current-context-command, gdb-stopped): Use it.
6373 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6374 (gdb-non-stop-handler): Don't enable pretty-printing here.
6375 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6376 non-stop mode. Use the following.
6377 (gdb-check-target-async): New defun.
6378 (gud-watch, gdb-stopped): Fix whitespace.
6379 (gdb-get-source-file): Don't try to display the source file if
6380 `gdb-main-file' is nil.
6381
63822011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6383
6384 * align.el: Try to generate fewer markers (bug#10047).
6385 (align--set-marker): New macro.
6386 (align-region): Use it.
6387
c935221f
SM
63882011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6391
e70b5064
CY
63922011-11-29 Chong Yidong <cyd@gnu.org>
6393
6394 * indent.el (indent-for-tab-command, indent-according-to-mode):
6395 Doc fix.
6396 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6397
f3af92b7
MA
63982011-11-29 Michael Albinus <michael.albinus@gmx.de>
6399
6400 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6401 aware of remote file names. (Bug#10124)
6402
ed472be9
CY
64032011-11-29 Chong Yidong <cyd@gnu.org>
6404
6405 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6406
24510c22
SM
64072011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6408
6409 * files.el (find-file): Don't use force-same-window (bug#10144).
6410 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6411 use pop-to-buffer if the selected window can't be used.
6412 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6413
c60c3703
EZ
64142011-11-28 Eli Zaretskii <eliz@gnu.org>
6415
6416 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6417 special-mode-map.
6418
e95def75
CY
64192011-11-28 Chong Yidong <cyd@gnu.org>
6420
6421 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6422
c3f1c606
NR
64232011-11-27 Nick Roberts <nickrob@snap.net.nz>
6424
6425 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6426 gdb-get-source-file-list on gdb-create-source-file-list.
6427
00db469c
EZ
64282011-11-26 Eli Zaretskii <eliz@gnu.org>
6429
6430 * whitespace.el (whitespace-newline): Use a different foreground
6431 color for 16-color light-background displays.
6432
4ad3bc2a
CY
64332011-11-24 Chong Yidong <cyd@gnu.org>
6434
6435 * window.el (display-buffer--special-action): Doc fix.
6436
e9fce1ac
JB
64372011-11-25 Juanma Barranquero <lekktu@gmail.com>
6438
6439 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6440 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6441 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6442 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6443 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6444 (avl-tree-stack-first):
6445 * emacs-lisp/cconv.el (cconv--analyse-use):
6446 * net/gnutls.el (gnutls-negotiate): Fix typos.
6447
cb825e5d
GM
64482011-11-24 Glenn Morris <rgm@gnu.org>
6449
3adbe224
GM
6450 * lpr.el (lpr-windows-system, lpr-lp-system):
6451 * mail/binhex.el (binhex-begin-line):
6452 * progmodes/grep.el (grep-history, grep-find-history):
6453 * textmodes/flyspell.el:
6454 * vc/pcvs-defs.el (cvs-global-menu):
6455 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6456 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6457 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6458
321decc8
GM
6459 * net/tls.el: Fix case of "GnuTLS".
6460
420b63ad
GM
6461 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6462
cb825e5d
GM
6463 * version.el (emacs-build-system): Give it a doc-string.
6464
a0649f08
JL
64652011-11-24 Juri Linkov <juri@jurta.org>
6466
6467 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6468
c0bc0fd4
GM
64692011-11-24 Glenn Morris <rgm@gnu.org>
6470
6471 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6472 if called on a non-mime message just toggle the headers. (Bug#8006)
6473
20db1522
JB
64742011-11-24 Juanma Barranquero <lekktu@gmail.com>
6475
6476 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6477 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6478 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6479 (allout-rebullet-heading, allout-open-sibtopic)
6480 (allout-toggle-current-subtree-encryption)
6481 (allout-toggle-subtree-encryption, allout-encrypt-string)
6482 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6483 (allout-distinctive-bullets-string, allout-auto-activation):
6484 * window.el (window-normalize-buffer-to-display):
6485 * progmodes/verilog-mode.el (verilog-batch-indent):
6486 * textmodes/bibtex.el (bibtex-field-braces-opt)
6487 (bibtex-field-strings-opt):
6488 * vc/cvs-status.el (cvs-tree-merge):
6489 Fix typos.
6490
7262a87c
MA
64912011-11-23 Michael Albinus <michael.albinus@gmx.de>
6492
6493 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6494 `non-essential' to t, in order to avoid remote connections.
6495
283430a1
EZ
64962011-11-23 Eli Zaretskii <eliz@gnu.org>
6497
a1beca85
SM
6498 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6499 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6500 case-insensitively.
6501
d2992a38
ML
65022011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6503
6504 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6505
50419064
GM
65062011-11-23 Glenn Morris <rgm@gnu.org>
6507
da94eca1
GM
6508 * paths.el (rmail-file-name): Reformat the doc-string so that it
6509 is picked up.
6510
9aac4de2
GM
6511 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6512 (rmail-auto-file): Ignore case in the "special" field names,
6513 as mail-fetch-field does for all others.
6514
8038d2d2
GM
6515 * mail/rmail.el (rmail-forward):
6516 * mail/rmailkwd.el (rmail-set-label):
6517 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6518 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6519
f3fe222a
GM
6520 * mail/rmail.el (rmail-current-message): Doc fix.
6521
50419064
GM
6522 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6523
28109f49
SM
65242011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6527
394c65f1
GM
65282011-11-22 Glenn Morris <rgm@gnu.org>
6529
6530 * mail/rmailmm.el (test-rmail-mime-handler)
6531 (test-rmail-mime-bulk-handler)
6532 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6533
f2a0aa3a
JL
65342011-11-21 Juri Linkov <juri@jurta.org>
6535
1154d12e
JB
6536 * calc/calc.el (calc-read-key-sequence):
6537 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6538
9c34a344
LMI
65392011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6540
6541 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6542 Tell the caller that the next line needs recomputation, even
6543 though it doesn't start a sexp (bug#10094).
6544
f04a3be9
SM
65452011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6548
7978747f
SM
65492011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6550
f04a3be9
SM
6551 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6552 Use force-same-window.
7978747f 6553
fe7a3057
JB
65542011-11-20 Juanma Barranquero <lekktu@gmail.com>
6555
6556 * descr-text.el (describe-char-unicode-data):
6557 * json.el (json-string-escape):
6558 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6559 (Footnote-unicode, Footnote-style-p):
6560 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6561
24901d61
CY
65622011-11-20 Chong Yidong <cyd@gnu.org>
6563
6564 * window.el (replace-buffer-in-windows): Restore interactive spec.
6565
bac7ff22
SM
65662011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6567
24f3d7b9
SM
6568 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6569
bac7ff22
SM
6570 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6571 (byte-compile-global-not-obsolete-vars): New var.
6572 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6573 Use it.
6574 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6575
cd1181db
JB
65762011-11-20 Juanma Barranquero <lekktu@gmail.com>
6577
6578 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6579 * progmodes/pascal.el (electric-pascal-equal):
6580 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6581 * xml.el (xml-substitute-special): Fix typos.
6582
7fb18e9e
GM
65832011-11-20 Glenn Morris <rgm@gnu.org>
6584
6585 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6586 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6587 Doc fixes.
6588 (rmail-decode-mime-charset): Mark as obsolete.
6589
6590 * mail/rmailsum.el (rmail-message-regexp-p-1):
6591 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6592 Before using mime functions, check they are set. (Bug#10077)
6593
d5a6b3ba
JL
65942011-11-19 Juri Linkov <juri@jurta.org>
6595
6596 * info.el (Info-finder-find-node): Use `package--builtins' instead
6597 of `package-alist'. Use node names formed by the pattern "Keyword "
6598 and the keyword name.
6599
e981b61f
AS
66002011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6601
1d00653d 6602 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6603
3ffbc301
JL
66042011-11-19 Juri Linkov <juri@jurta.org>
6605
6606 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6607 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6608 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6609 `old-history', `old-history-forward'. Add let-binding
6610 `window-selected'. Remove calls to `kill-buffer',
6611 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6612 before calling `Info-find-node', so `Info-find-node-2' will reread
6613 the Info file. Restore window positions only when `window-selected'
6614 is non-nil.
6615
30c62133
JL
66162011-11-19 Juri Linkov <juri@jurta.org>
6617
6618 * isearch.el (isearch-lazy-highlight-new-loop):
6619 Remove condition `(not isearch-error)'. (Bug#9918)
6620
6621 * misearch.el (multi-isearch-search-fun): Add condition
6622 `(not bound)' to ignore lazy-highlighting search.
6623 Add the search-failed message "end of multi" when the end of
6624 multi-sequence is reached. Uncapitalize the search-failed
6625 message "Repeat for next buffer".
6626
6627 * info.el (Info-search): Add the search-failed message
6628 "end of the manual" when the end of the manual is reached
6629 in Isearch mode.
6630
645ca9cf
JL
66312011-11-19 Juri Linkov <juri@jurta.org>
6632
6633 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6634 Use non-destructive `remove' instead of `delete' because
6635 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6636 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6637
df754f66
JL
66382011-11-19 Juri Linkov <juri@jurta.org>
6639
6640 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6641 to nil instead of binding `search-ring' and `regexp-search-ring'.
6642 (Bug#9185)
6643
0e23d96a
EZ
66442011-11-19 Eli Zaretskii <eliz@gnu.org>
6645
6646 * simple.el (line-move): Force movement by logical lines for any
6647 hscrolled window, not only when auto-hscroll-mode is on.
6648 (line-move-visual): Update doc string to that effect. (Bug#10076)
6649
8a6ccb66
AS
66502011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6651
6652 * language/european.el (macintosh): Define as alias for mac-roman.
6653
49ae5b39
EZ
66542011-11-19 Eli Zaretskii <eliz@gnu.org>
6655
6656 * mail/rmailmm.el (rmail-mime-display-header)
6657 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6658 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6659 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6660 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6661 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6662 of a raw aref.
6663 (rmail-mime-entity-segment): To get past the tagline, move forward
6664 2 more lines, to account for the 2 empty lines that precede and
6665 follow the line with the buttons.
6666 (rmail-mime-update-tagline): Move one more line, to get past the
6667 empty line that follows the buttons in the tagline. (Bug#9520)
6668
c56cad4a
MR
66692011-11-19 Martin Rudalics <rudalics@gmx.at>
6670
6671 * window.el (window-max-delta-1, window-min-delta-1)
6672 (window-min-size-1, window-state-get-1, window-state-put-1)
6673 (window-state-put-2): Use "window--" prefix.
6674
cbe71af3
SM
66752011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6676
2ad52c60
SM
6677 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6678 (smie-warning-count): New var.
6679 (smie-set-prec2tab): Use it.
6680 (smie-bnf->prec2): Improve warnings. Add docstring.
6681 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6682 (smie-bnf--set-class): New function.
6683 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6684 corner case.
6685
6944dbc1
SM
6686 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6687 (compilation-error-properties, compilation-move-to-column):
6688 Handle compilation-first-column while in the target buffer.
6689
c400c4d7
SM
6690 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6691 Don't hardcode point-min==1.
6692
6dbe3e96
SM
6693 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6694 (eshell-rewrite-for-command): Remove workaround.
6695 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6696 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6697 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6698
cbe71af3
SM
6699 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6700
a8e1496d
GM
67012011-11-17 Glenn Morris <rgm@gnu.org>
6702
6703 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6704 Ignore buffer-local generated-autoload-file if it is the same
6705 as the global value. (Bug#10049)
6706
df85d315
JB
67072011-11-17 Juanma Barranquero <lekktu@gmail.com>
6708
6709 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6710 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6711 (reftex-toc-previous-heading, reftex-toc-max-level)
6712 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6713 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6714 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6715 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6716 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6717 (reftex-toc-rename-label, reftex-toc-visit-location)
6718 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6719 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6720 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6721 leaving "*toc*" only for references to the buffer.
6722
a0c2d0ae
MR
67232011-11-17 Martin Rudalics <rudalics@gmx.at>
6724
6725 * window.el (window-resize, delete-window, split-window):
6726 Replace window-splits by window-combination-resize.
1d00653d 6727 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6728
35c0bac8
GM
67292011-11-17 Glenn Morris <rgm@gnu.org>
6730
6731 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6732 Make bash entry derive from sh entry, not shell entry.
6733
d0c8fc8a
MA
67342011-11-16 Michael Albinus <michael.albinus@gmx.de>
6735
7262a87c
MA
6736 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6737 local file name.
6738
7877f373
JB
67392011-11-16 Juanma Barranquero <lekktu@gmail.com>
6740
6741 * menu-bar.el (menu-bar-file-menu):
6742 * printing.el (pr-ps-utility):
6743 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6744 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6745 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6746 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6747 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6748 (icalendar--convert-cyclic-to-ical)
6749 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6750 (icalendar--convert-ical-to-diary)
6751 (icalendar--convert-recurring-to-diary)
6752 (icalendar--convert-non-recurring-all-day-to-diary)
6753 (icalendar-import-format-sample):
6754 * progmodes/idlw-shell.el (idlwave-shell-mode):
6755 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6756 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6757 (vhdl-ps-print-init): Fix typos.
6758
10649b82
KM
67592011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6760
9d0cfcd6
GM
6761 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6762 FSF and collapse date sequence, obscure author/maintainer email address
6763 better, remove extra version line, track relocation of author's webpage.
10649b82 6764
9d0cfcd6
GM
6765 * progmodes/python.el (python-pdbtrack-input-prompt)
6766 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6767 regular python pdb prompts. Adjustments shamelessly taken exactly as
6768 suggested in EmacsWiki page (tiny change):
6769 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6770
58179cce
JB
67712011-11-16 Juanma Barranquero <lekktu@gmail.com>
6772
6773 * expand.el (expand-pos, expand-index, expand-point):
6774 Remove redundant info from docstring.
6775 (expand-add-abbrevs): Doc fix.
6776 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6777 (expand-sample-perl-mode-expand-list): Fix typos.
6778
6779 * net/dbus.el (dbus-event-member-name):
6780 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6781 * term/pc-win.el (msdos-create-frame-with-faces):
6782 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6783
b6f67890
MR
67842011-11-16 Martin Rudalics <rudalics@gmx.at>
6785
6786 * window.el (split-window, window-state-get-1)
6787 (window-state-put-1, window-state-put-2): Rename occurrences of
6788 window-nest to window-combination-limit.
1d00653d 6789 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6790
ce7ddba0
CY
67912011-11-16 Chong Yidong <cyd@gnu.org>
6792
6793 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6794 regexp (Bug#10033).
6795
3ae704f4
SM
67962011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6799 `completing-read' will remove *Completions* and will preserve
6800 current-buffer for us.
6801 (tmm-add-prompt): Users of *Completions* will always (re)set its
6802 major mode.
6803 (tmm-old-comp-map): Remove.
6804
6ad1cdde
GM
68052011-11-16 Glenn Morris <rgm@gnu.org>
6806
6807 * mail/rmailedit.el: Require rmailmm when compiling.
6808 (rmail-old-mime-state): New declaration.
6809 (rmail-edit-current-message): If editing a mime message,
6810 edit the "raw" message from the mbox buffer.
6811 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6812
d20faa20
GM
68132011-11-15 Glenn Morris <rgm@gnu.org>
6814
6815 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6816 which wasn't being used. Add optional arg to force given state.
6817 (rmail-mime): Add optional arg to force given state.
6818
c7015153
JB
68192011-11-15 Juanma Barranquero <lekktu@gmail.com>
6820
6821 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6822 * frame.el (display-mm-dimensions-alist):
6823 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6824 (outline-move-subtree-down):
6825 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6826 (newsticker--treeview-do-get-node):
6827 * net/quickurl.el (quickurl-list-buffer-name):
6828 * progmodes/dcl-mode.el (dcl-mode):
6829 * progmodes/gdb-mi.el (gdb-mapcar*):
6830 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6831
45261b50
GM
68322011-11-15 Glenn Morris <rgm@gnu.org>
6833
6834 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6835 in a boolean sense, so just make it a boolean, and fix the doc.
6836 (rmail-show-mime-function, rmail-mime-feature)
6837 (rmail-require-mime-maybe): Doc fixes.
6838 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6839
6840 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6841
0d26e0b6
JB
68422011-11-15 Juanma Barranquero <lekktu@gmail.com>
6843
6844 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6845 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6846 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6847 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6848
447f30f6
GM
68492011-11-15 Glenn Morris <rgm@gnu.org>
6850
672b871d
GM
6851 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6852 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6853 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6854 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6855 (rmail-mime, rmail-show-mime): Doc fixes.
6856
f6aa5bb1
GM
6857 * term/ns-win.el (mode-line-frame-identification):
6858 Leave it alone. (Bug#10051)
6859
947cd66b
GM
6860 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6861
447f30f6
GM
6862 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6863 Handle empty buffers. (Bug#9978)
6864
0b381c7e
JB
68652011-11-14 Juanma Barranquero <lekktu@gmail.com>
6866
6867 * international/mule.el (define-charset):
6868 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6869 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6870 * progmodes/verilog-mode.el (verilog-backward-token):
6871 * textmodes/ispell.el (lookup-words):
6872 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6873
71e027ac
GM
68742011-11-14 Glenn Morris <rgm@gnu.org>
6875
56632ce4
GM
6876 * progmodes/executable.el
6877 (executable-make-buffer-file-executable-if-script-p):
6878 Handle file-modes returning nil.
6879
40500957
GM
6880 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6881 message - not necessary, and causes problems. (Bug#9831)
6882
071c2340
GM
6883 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6884
d3cfca60
GM
6885 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6886
71e027ac
GM
6887 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6888 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6889 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6890
89d61221
MR
68912011-11-12 Martin Rudalics <rudalics@gmx.at>
6892
6893 * window.el (window-resize, delete-window): Use window-splits
6894 variable instead of function.
6895 (window-state-get-1, window-state-put-2, window-state-put):
6896 Don't deal with windows' splits status.
6897
98282f6f
GM
68982011-11-12 Glenn Morris <rgm@gnu.org>
6899
6900 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6901 (apropos-documentation): Doc fixes.
6902
40a8bdf6
JB
69032011-11-11 Juanma Barranquero <lekktu@gmail.com>
6904
6905 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6906 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6907
65bd19ff
SM
69082011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6909
6910 * electric.el (electric-indent-post-self-insert-function): Make it
6911 possible for a char to only indent in some circumstances.
6912 (electric-indent-mode): Simplify.
6913
54f9154c
MR
69142011-11-11 Martin Rudalics <rudalics@gmx.at>
6915
6916 * window.el (windows-with-parameter): Remove unused function.
6917 (windows-at-side): Rename to window-at-side-list.
6918 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6919 (window-side-check, window-size-ignore, window-size-fixed-1)
6920 (window-in-direction-2): Prefix with "window--".
6921 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6922
68cbc58b
GM
69232011-11-11 Glenn Morris <rgm@gnu.org>
6924
6925 * subr.el (eval-after-load): If FILE is already loaded,
6926 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6927
b2621720
GM
69282011-11-10 Glenn Morris <rgm@gnu.org>
6929
9a4de110
GM
6930 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6931 Call svn via vc-svn-command rather than vc-do-command.
6932 (vc-svn-command): Add --non-interactive. (Bug#9993)
6933 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6934
b2621720
GM
6935 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6936 Add toggle-read-only. (Bug#7292)
6937 * files.el (toggle-read-only): Mention that it should only
6938 be used interactively. (Bug#10006)
6939
1dce7193
SM
69402011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6941
d9ac1a1e
SM
6942 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6943 Adjust regexp for OCaml warnings.
6944
0c325082
SM
6945 * electric.el (electric-pair-post-self-insert-function): Let user
6946 turn it off buffer-locally (bug#9932).
6947
90132c14
SM
6948 * progmodes/python.el (python-beginning-of-statement):
6949 Rewrite (bug#2703).
6950
1dce7193
SM
6951 * progmodes/compile.el: Better handle TABs (bug#9749).
6952 (compilation-internal-error-properties)
6953 (compilation-next-error-function): Obey the target buffer's
6954 compilation-error-screen-columns.
6955
c4e7c63a
JB
69562011-11-09 Juanma Barranquero <lekktu@gmail.com>
6957
6958 * progmodes/meta-mode.el: Remove obsolete comments.
6959 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6960 Fix typos in docstrings.
6961
2cffd681
MR
69622011-11-09 Martin Rudalics <rudalics@gmx.at>
6963
6964 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6965 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6966 (window--resizable): New function. Make all callers of
6967 window-resizable call window--resizable instead.
6968 (window-resizable): Rewrite in terms of window--resizable.
6969
0edcba87
GM
69702011-11-08 Glenn Morris <rgm@gnu.org>
6971
6972 * progmodes/delphi.el (delphi-mode-syntax-table):
6973 Let define-derived-mode define a proper syntax table. (Bug#9994)
6974
4b0d61e3
SM
69752011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * window.el: Stay away from defsubst.
6978 (window-list-no-nils): Remove.
6979 (window-state-get-1, window-state-get): Use backquote instead.
6980
cd394be1 69812011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6982
4b0d61e3 6983 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6984 Fix incorrect use of default argument in `completing-read'.
6985
e1c2c6f2
MR
69862011-11-08 Martin Rudalics <rudalics@gmx.at>
6987
6988 * window.el (display-buffer-function, special-display-function):
6989 Mention display-buffer-record-window but do not mention
6990 help-setup parameter in doc-strings.
b3f4a882 6991 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6992
105216ed
CY
69932011-11-08 Chong Yidong <cyd@gnu.org>
6994
6995 * window.el (window-total-height, window-total-width): Doc fix.
6996 (window-body-size): Move from C.
6997 (window-body-height, window-body-width): Move to C.
6998
0a9f9ab5
SM
69992011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * window.el: Make special-display like display-buffer-alist (bug#9532).
7002 (display-buffer--special-action): New function, morphed
7003 from display-buffer--special.
7004 (display-buffer): Use it to handle special-display-buffers at higher
7005 priority (just after display-buffer-alist).
7006 (display-buffer-fallback-action, display-buffer--other-frame-action)
7007 (pop-to-buffer-same-window): Remove display-buffer--special.
7008
a769dd15
GM
70092011-11-07 Glenn Morris <rgm@gnu.org>
7010
7011 * calendar/cal-menu.el (cal-menu-set-date-title):
7012 Do nothing if not in a calendar. (Bug#9976)
7013
05a61ee3
SM
70142011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * files.el (find-file): Always use selected-window.
7017
be7f5545
MR
70182011-11-07 Martin Rudalics <rudalics@gmx.at>
7019
7020 * window.el (window-combinations): Make WINDOW argument
7021 mandatory. Rewrite doc-string.
7022 (walk-window-subtree, window-atom-check, window-min-delta)
7023 (window-max-delta, window--resize-this-window)
7024 (window--resize-root-window-vertically, window-tree)
7025 (balance-windows, window-state-put): Rewrite doc-strings as to
7026 not mention the term "subwindow".
7027 (window--resize-subwindows-skip-p): Rename to
7028 window--resize-child-windows-skip-p.
7029 (window--resize-subwindows-normal): Rename to
7030 window--resize-child-windows-normal.
7031 (window--resize-subwindows): Rename to
7032 window--resize-child-windows.
7033 (window-or-subwindow-p): Rename to window--in-subtree-p.
7034
3c6702ef
ML
70352011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7036
7037 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7038 Ensure that mbox format messages end in two newlines (Bug#9974).
7039
49745b39
CY
70402011-11-06 Chong Yidong <cyd@gnu.org>
7041
7042 * window.el (window-combination-p): Function deleted; its
7043 side-effect is not used in any existing code.
7044 (window-combinations, window-combined-p): Call window-*-child
7045 directly.
7046
24300f5f
CY
70472011-11-05 Chong Yidong <cyd@gnu.org>
7048
7049 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7050 (window-size-ignore, window-state-get): Callers changed.
7051 (window-normalize-window): Rename from window-normalize-any-window.
7052 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7053 (window-normalize-live-window): Delete.
447f16b8
CY
7054 (window-combination-p, window-combined-p, window-combinations)
7055 (walk-window-subtree, window-atom-root, window-min-size)
7056 (window-sizable, window-sizable-p, window-size-fixed-p)
7057 (window-min-delta, window-max-delta, window-resizable)
7058 (window-resizable-p, window-full-height-p, window-full-width-p)
7059 (window-current-scroll-bars, window-point-1, set-window-point-1)
7060 (window-at-side-p, window-in-direction, window-resize)
7061 (adjust-window-trailing-edge, maximize-window, minimize-window)
7062 (window-deletable-p, delete-window, delete-other-windows)
7063 (record-window-buffer, unrecord-window-buffer)
7064 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7065 (quit-window, split-window, window-state-put)
7066 (set-window-text-height, fit-window-to-buffer)
7067 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7068
89bd5ee1
EZ
70692011-11-04 Eli Zaretskii <eliz@gnu.org>
7070
53479029
EZ
7071 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7072 rfc2047-decode-string.
7073 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7074 warnings.
7075
89bd5ee1
EZ
7076 * window.el (window-body-height, window-body-width): Mention in
7077 the doc string that the return values are in frame's canonical
7078 units. (Bug#9949)
7079
bd17fdee
AM
70802011-11-03 Alan Mackenzie <acm@muc.de>
7081
7082 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7083 change in cc-engine.el.
7084
acc825c5
SM
70852011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7088
1885e5b8
MR
70892011-11-02 Martin Rudalics <rudalics@gmx.at>
7090
7091 * window.el (quit-window): Call unrecord-window-buffer after
7092 showing another buffer in the window. (Bug#9937)
acc825c5 7093 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7094
ebe06da9
JB
70952011-11-02 Juanma Barranquero <lekktu@gmail.com>
7096
7097 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7098 Accept status with more than 9 shelves. (Bug#9935)
7099 Reported by Colin D Bennett <colin@gibibit.com>.
7100
4ee88440
MR
71012011-11-01 Martin Rudalics <rudalics@gmx.at>
7102
7103 * help.el (with-help-window): Don't reference
7104 temp-buffer-show-specifiers in doc-string.
7105
08e1d82c
AS
71062011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7107
7108 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7109 menu-item.
7110
84bd6e9e
VJL
71112011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7112
7113 * whitespace.el: New version 13.2.2.
7114 (whitespace-newline-mode): Disable properly. Reported by Sarah
7115 <EmacsWiki>.
7116
dba0634a
UJ
71172011-10-30 Ulf Jasper <ulf.jasper@web.de>
7118
7119 * net/newst-treeview.el: Remove "Time-stamp".
7120 (newsticker--group-manage-orphan-feeds): Do not call
7121 newsticker--treeview-tree-update.
db22a3c2
JB
7122 (newsticker-treeview-update, newsticker-treeview):
7123 Call newsticker--treeview-tree-update if necessary.
dba0634a 7124
3d8daefe
MR
71252011-10-30 Martin Rudalics <rudalics@gmx.at>
7126
7127 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7128 (window-iso-combinations): Remove "iso-" infix.
7129 Suggested by Chong Yidong.
3d8daefe
MR
7130 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7131 (window-max-delta-1, window-resize, window--resize-siblings)
7132 (window--resize-this-window, adjust-window-trailing-edge)
7133 (split-window, balance-windows-1)
7134 (shrink-window-if-larger-than-buffer):
7135 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7136 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7137
1bc4c3ae
SM
71382011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7141 in place (bug#9907).
7142 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7143 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7144 (eshell-structure-basic-command, eshell-rewrite-while-command)
7145 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7146 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7147 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7148 (eshell-do-pipelines-synchronously, eshell-eval-command):
7149 Use backquotes and prefer setq to set.
7150 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7151 (eshell-macrop): Use functionp.
c1e2f5fa 7152 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7153
30b65d9c
CY
71542011-10-30 Chong Yidong <cyd@gnu.org>
7155
7156 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7157 instead of set-mark (Bug#9810).
7158
2d197ffb
CY
71592011-10-30 Chong Yidong <cyd@gnu.org>
7160
7161 * window.el (split-window-below, split-window-right): Rename from
7162 split-window-above-each-other and split-window-side-by-side
7163 respectively. All callers changed.
7164 (split-window-sensibly, split-window-sensibly): Use them.
7165 (split-window-keep-point): Doc fix.
7166
7167 * isearch.el: Add isearch-scroll property to split-window-below
7168 and split-window-right.
7169
7170 * follow.el (follow-mode):
7171 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7172 * progmodes/ada-xref.el (ada-gdb-application):
7173 * emulation/vip.el (vip-buffer-in-two-windows):
7174 * image-dired.el (image-dired-dired-with-window-configuration):
7175 * dired-x.el (dired-do-find-marked-files):
7176 * dired.el (dired-pop-to-buffer):
7177 * bs.el (bs--show-with-configuration):
7178 * vc/emerge.el (emerge-setup-windows):
7179 * textmodes/two-column.el (2C-two-columns):
7180 * textmodes/reftex-toc.el (reftex-toc):
7181 * progmodes/gdb-mi.el (gdb-setup-windows):
7182 * progmodes/fortran.el (fortran-window-create):
7183 * net/newst-treeview.el (newsticker--treeview-window-init):
7184 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7185 * emulation/tpu-edt.el (tpu-gold-map):
7186 * emulation/crisp.el (crisp-mode-map):
7187 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7188
38bb2ca8
CY
71892011-10-29 Chong Yidong <cyd@gnu.org>
7190
aa4de341
CY
7191 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7192
e1eb5385
CY
7193 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7194
5d2ece3c
CY
7195 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7196 forged Ispell output (Bug#7904).
7197
38bb2ca8
CY
7198 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7199
d0af9f77
SM
72002011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * doc-view.el: Avoid ugly errors about not finding nil.
7203 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7204 (doc-view-dvipdf-program, doc-view-unoconv-program)
7205 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7206 Avoid nil or absolute file name as default value.
7207 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7208
52bedd34
AM
72092011-10-28 Alan Mackenzie <acm@muc.de>
7210
db22a3c2 7211 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7212
7e43cfa5
AM
72132011-10-28 Alan Mackenzie <acm@muc.de>
7214
7215 Amend the handling of c-beginning/end-of-defun in nested declaration
7216 scopes.
7217
52bedd34
AM
7218 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7219 cc-langs.el. Change it to a defcustom.
7e43cfa5 7220
52bedd34
AM
7221 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7222 cc-vars.el.
7e43cfa5 7223
d0af9f77
SM
7224 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7225 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7226
52bedd34 7227 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7228 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7229 (c-widen-to-enclosing-decl-scope): New function.
7230 (c-while-widening-to-decl-block): New macro.
7231 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7232 outward for defun boundaries, and correspondingly change symbol
7233 `respect-enclosure' to `go-outward'.
7234 (c-declaration-limits): Change algorithm to report only the "innermost"
7235 defun's boundaries.
7236
1a2ce9ee
DD
72372011-10-28 Deniz Dogan <deniz@dogan.se>
7238
7239 * net/rcirc.el (rcirc-mode): Use hard newlines.
7240
bc97a826
AM
72412011-10-28 Alan Mackenzie <acm@muc.de>
7242
7243 Amend to indent and fontify macros "which include their own semicolon"
7244 correctly, using the "virtual semicolon" mechanism.
7245
52bedd34 7246 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7247
d0af9f77 7248 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7249 Recode to scan one line at a time rather than having \n and \r
58179cce 7250 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7251 (c-forward-label): Amend for virtual semicolons.
58179cce 7252 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7253
52bedd34
AM
7254 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7255 of the new C macros.
bc97a826 7256
52bedd34 7257 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7258 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7259 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7260 (c-opt-cpp-macro-define): Make into a full language variable.
7261 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7262 AWK Mode (including \n, \r) removed, no longer needed.
7263
d0af9f77
SM
7264 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7265 Invoke c-make-macro-with-semi-re.
bc97a826 7266
52bedd34
AM
7267 * progmodes/cc-vars.el (c-macro-with-semi-re):
7268 (c-macro-names-with-semicolon): New variables.
58179cce 7269 (c-make-macro-with-semi-re): New function.
bc97a826 7270
7a6c0941
SM
72712011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7272
7273 * vc/log-edit.el: Fill empty field rather than adding new one.
7274 (log-edit-add-field): New function.
7275 (log-edit-insert-changelog): Use it.
7276
b0c4cdcf
ML
72772011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7278
7279 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7280
ee1f1da9
SM
72812011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7284 (gdb--check-interpreter): New function.
7285 (gdb): Use it.
7286
51bc5f8b
GM
72872011-10-27 Glenn Morris <rgm@gnu.org>
7288
416a2c45
GM
7289 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7290 (least-positive-float, least-negative-float)
7291 (least-positive-normalized-float, least-negative-normalized-float)
7292 (float-epsilon, float-negative-epsilon):
7293 Remove unnecessary declarations.
7294
7295 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7296 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7297 (least-positive-float, least-negative-float)
7298 (least-positive-normalized-float, least-negative-normalized-float)
7299 (float-epsilon, float-negative-epsilon): Add doc-strings,
7300 based on those in cl.texi.
7301
51bc5f8b
GM
7302 * files.el (set-visited-file-name): If the major-mode changed,
7303 reload the local variables. (Bug#9796)
7304
15de15c6
CY
73052011-10-27 Chong Yidong <cyd@gnu.org>
7306
7307 * subr.el (change-major-mode-after-body-hook): New hook.
7308 (run-mode-hooks): Run it.
7309
ee1f1da9
SM
7310 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7311 Use change-major-mode-before-body-hook.
15de15c6
CY
7312
7313 * simple.el (fundamental-mode):
7314 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7315 change introducing fundamental-mode-hook.
7316
5430d399
JB
73172011-10-26 Juanma Barranquero <lekktu@gmail.com>
7318
acc825c5 7319 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7320
ad74a69e
MA
73212011-10-26 Michael Albinus <michael.albinus@gmx.de>
7322
7323 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7324 tramp.el explicitly. (Bug#7583)
ad74a69e 7325
71d4c2a5
SM
73262011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * progmodes/octave-mod.el:
7329 * progmodes/octave-inf.el: Update maintainer.
7330
b1f6fa26
CY
73312011-10-26 Chong Yidong <cyd@gnu.org>
7332
7333 * subr.el (with-wrapper-hook): Rewrite doc.
7334
3f04efd6
MA
73352011-10-25 Michael Albinus <michael.albinus@gmx.de>
7336
7337 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7338 filenames "/method:foo:". (Bug#9793)
3f04efd6 7339
410488d3
SM
73402011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7343 (bug#9865).
7344
c1ebb47e
GM
73452011-10-24 Glenn Morris <rgm@gnu.org>
7346
7347 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7348
7f5c46c7
MA
73492011-10-24 Michael Albinus <michael.albinus@gmx.de>
7350
7351 * notifications.el: Add the requirement of a running D-Bus session
7352 bus to the Commentary.
7353
db2440b6
JL
73542011-10-24 Juri Linkov <juri@jurta.org>
7355
7356 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7357 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7358 (Bug#9364)
7359
feecf435
JL
73602011-10-24 Juri Linkov <juri@jurta.org>
7361
7362 * info.el (Info-following-node-name-re): Add newline to the list
7363 of allowed characters for leading space. (Bug#9824)
7364
a3839de2
SM
73652011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7366
acc825c5
SM
7367 * progmodes/octave-inf.el (inferior-octave-mode-map):
7368 Fix C-c C-h binding.
a3839de2
SM
7369 * progmodes/octave-mod.el (octave-help): Remove.
7370
09388e76
MA
73712011-10-23 Michael Albinus <michael.albinus@gmx.de>
7372
7373 Sync with Tramp 2.2.3.
7374
7375 * net/tramp-cache.el (top): Pacify byte-compiler using
7376 `init-file-user' and `site-run-file'.
7377
7378 * net/trampver.el: Update release number.
7379
86c60681
CY
73802011-10-23 Chong Yidong <cyd@gnu.org>
7381
7382 * files.el (toggle-read-only): Remove obsolete comment about
7383 version control.
7384
7385 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7386 for toggle-read-only. Note that this hasn't called vc-next-action
7387 since 2008-05-02, though it wasn't documented at the time.
7388
a3839de2
SM
7389 * vc/ediff-init.el (ediff-toggle-read-only-function):
7390 Use toggle-read-only.
86c60681 7391
cd5495ff
AM
73922011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7393
7394 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7395 of c-parse-state.
7396
00b77525 7397 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7398 correct faulty logical expression.
cd5495ff
AM
7399 (c-parse-state-state, c-record-parse-state-state):
7400 (c-replay-parse-state-state): New defvar/defuns.
7401 (c-debug-parse-state): Use new functions.
7402
42ee24ed
MR
74032011-10-22 Martin Rudalics <rudalics@gmx.at>
7404
7405 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7406 last fix. Use window-in-direction correctly.
42ee24ed 7407
a7dee7e7
CY
74082011-10-21 Chong Yidong <cyd@gnu.org>
7409
7410 * progmodes/idlwave.el (idlwave-mode):
7411 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7412 require-final-newline; that's done in prog-mode.
7413 Suggested by Stefan Monnier.
a7dee7e7 7414
e07b9a6d
MR
74152011-10-21 Martin Rudalics <rudalics@gmx.at>
7416
7417 * mouse.el (mouse-drag-window-above)
7418 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7419 (mouse-drag-mode-line-1, mouse-drag-header-line)
7420 (mouse-drag-vertical-line-rightward-window): Remove.
7421 (mouse-drag-line): New function.
7422 (mouse-drag-mode-line, mouse-drag-header-line)
7423 (mouse-drag-vertical-line): Call mouse-drag-line.
7424 * window.el (window-at-side-p, windows-at-side): New functions.
7425
7e1361d9
UM
74262011-10-21 Ulrich Mueller <ulm@gentoo.org>
7427
7428 * tar-mode.el (tar-grind-file-mode):
7429 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7430
30fcaf3a
CY
74312011-10-21 Chong Yidong <cyd@gnu.org>
7432
7433 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7434 * progmodes/vera-mode.el (vera-mode):
7435 Use mode-require-final-newline.
30fcaf3a 7436
516eddb0
GM
74372011-10-20 Glenn Morris <rgm@gnu.org>
7438
db22a3c2 7439 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7440
10d5f513
CS
74412011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7442
7443 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7444
ac6c8639
CY
74452011-10-20 Chong Yidong <cyd@gnu.org>
7446
7447 * emulation/cua-base.el (cua-mode):
7448 * mail/footnote.el (footnote-mode):
7449 * mail/mailabbrev.el (mail-abbrevs-mode):
7450 * net/xesam.el (xesam-minor-mode):
7451 * progmodes/bug-reference.el (bug-reference-mode):
7452 * progmodes/cap-words.el (capitalized-words-mode):
7453 * progmodes/compile.el (compilation-minor-mode)
7454 (compilation-shell-minor-mode):
7455 * progmodes/gud.el (gud-tooltip-mode):
7456 * progmodes/hideif.el (hide-ifdef-mode):
7457 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7458 * progmodes/subword.el (subword-mode):
7459 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7460 * progmodes/which-func.el (which-function-mode):
7461 * term/tvi970.el (tvi970-set-keypad-mode):
7462 * term/vt100.el (vt100-wide-mode):
7463 * textmodes/flyspell.el (flyspell-mode):
7464 * textmodes/ispell.el (ispell-minor-mode):
7465 * textmodes/nroff-mode.el (nroff-electric-mode):
7466 * textmodes/paragraphs.el (use-hard-newlines):
7467 * textmodes/refill.el (refill-mode):
7468 * textmodes/reftex.el (reftex-mode):
7469 * textmodes/rst.el (rst-minor-mode):
7470 * textmodes/sgml-mode.el (html-autoview-mode)
7471 (sgml-electric-tag-pair-mode):
7472 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7473 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7474 * emulation/crisp.el (crisp-mode):
7475 * emacs-lisp/eldoc.el (eldoc-mode):
7476 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7477 minor mode behavior.
7478
aa42ab43
JL
74792011-10-19 Juri Linkov <juri@jurta.org>
7480
7481 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7482 the list of hard-coded chars with escape-glyph face.
7483
89400f1d
SM
74842011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7487
305c07f6
MA
74882011-10-19 Michael Albinus <michael.albinus@gmx.de>
7489
7490 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7491 running process.
7492
13754b54
GM
74932011-10-19 Glenn Morris <rgm@gnu.org>
7494
7495 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7496 Ignore ignored files. (Bug#9726)
7497
06e21633
CY
74982011-10-19 Chong Yidong <cyd@gnu.org>
7499
7500 Doc fix for minor modes, stating that an omitted argument enables
7501 the mode unconditionally when called from Lisp.
7502
7503 * abbrev.el (abbrev-mode):
7504 * allout.el (allout-mode):
7505 * autoinsert.el (auto-insert-mode):
7506 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7507 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7508 (global-auto-revert-mode):
7509 * battery.el (display-battery-mode):
7510 * composite.el (global-auto-composition-mode)
7511 (auto-composition-mode):
7512 * delsel.el (delete-selection-mode):
7513 * desktop.el (desktop-save-mode):
7514 * dired-x.el (dired-omit-mode):
7515 * dirtrack.el (dirtrack-mode):
7516 * doc-view.el (doc-view-minor-mode):
7517 * double.el (double-mode):
7518 * electric.el (electric-indent-mode, electric-pair-mode):
7519 * emacs-lock.el (emacs-lock-mode):
7520 * epa-hook.el (auto-encryption-mode):
7521 * follow.el (follow-mode):
7522 * font-core.el (font-lock-mode):
7523 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7524 * help.el (temp-buffer-resize-mode):
7525 * hilit-chg.el (highlight-changes-mode)
7526 (highlight-changes-visible-mode):
7527 * hi-lock.el (hi-lock-mode):
7528 * hl-line.el (hl-line-mode, global-hl-line-mode):
7529 * icomplete.el (icomplete-mode):
7530 * ido.el (ido-everywhere):
7531 * image-file.el (auto-image-file-mode):
7532 * image-mode.el (image-minor-mode):
7533 * iswitchb.el (iswitchb-mode):
7534 * jka-cmpr-hook.el (auto-compression-mode):
7535 * linum.el (linum-mode):
7536 * longlines.el (longlines-mode):
7537 * master.el (master-mode):
7538 * mb-depth.el (minibuffer-depth-indicate-mode):
7539 * menu-bar.el (menu-bar-mode):
7540 * minibuf-eldef.el (minibuffer-electric-default-mode):
7541 * mouse-sel.el (mouse-sel-mode):
7542 * msb.el (msb-mode):
7543 * mwheel.el (mouse-wheel-mode):
7544 * outline.el (outline-minor-mode):
7545 * paren.el (show-paren-mode):
7546 * recentf.el (recentf-mode):
7547 * reveal.el (reveal-mode, global-reveal-mode):
7548 * rfn-eshadow.el (file-name-shadow-mode):
7549 * ruler-mode.el (ruler-mode):
7550 * savehist.el (savehist-mode):
7551 * scroll-all.el (scroll-all-mode):
7552 * scroll-bar.el (scroll-bar-mode):
7553 * server.el (server-mode):
7554 * shell.el (shell-dirtrack-mode):
7555 * simple.el (auto-fill-mode, transient-mark-mode)
7556 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7557 (line-number-mode, column-number-mode, size-indication-mode)
7558 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7559 * strokes.el (strokes-mode):
7560 * time.el (display-time-mode):
7561 * t-mouse.el (gpm-mouse-mode):
7562 * tool-bar.el (tool-bar-mode):
7563 * tooltip.el (tooltip-mode):
7564 * type-break.el (type-break-mode-line-message-mode)
7565 (type-break-query-mode):
7566 * view.el (view-mode):
7567 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7568 (global-whitespace-mode, global-whitespace-newline-mode):
7569 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7570
a3839de2
SM
7571 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7572 Fix autogenerated docstring.
06e21633 7573
5214e501
JL
75742011-10-19 Juri Linkov <juri@jurta.org>
7575
7576 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7577 by checking environment variables "DESKTOP_SESSION" and
7578 "XDG_CURRENT_DESKTOP". (Bug#9779)
7579
195f8db9
JL
75802011-10-19 Juri Linkov <juri@jurta.org>
7581
7582 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7583 (browse-url-chromium-program, browse-url-chromium-arguments):
7584 New defcustoms.
7585 (browse-url-default-browser): Check for `browse-url-chromium' and
7586 call `browse-url-chromium-program'.
7587 (browse-url-chromium): New command. (Bug#9779)
7588
343a34ff
JB
75892011-10-18 Juanma Barranquero <lekktu@gmail.com>
7590
7591 * facemenu.el (list-colors-duplicates): On Windows, detect more
7592 duplicates by assuming that only colors matching "^System" are
7593 special "system colors". (Bug#9722)
7594
6978a151
SM
75952011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7598 to distinguish the author from the committer.
7599
6a80b297
MA
76002011-10-18 Michael Albinus <michael.albinus@gmx.de>
7601
7602 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7603
b31a5677
JK
76042011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7605
7606 * international/mule.el (sgml-html-meta-auto-coding-function):
7607 Add support for detecting encoding in HTML5 specified only as
7608 <meta charset="UTF-8">. Implementation just makes http-equiv and
7609 content-type parts from HTML4 encoding string optional. (Bug#9716)
7610
80c6d77f
GM
76112011-10-18 Glenn Morris <rgm@gnu.org>
7612
7613 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7614
08b0fee8
CY
76152011-10-18 Chong Yidong <cyd@gnu.org>
7616
7617 * faces.el (cursor): Doc fix.
7618
67e729a5
CY
76192011-10-17 Chong Yidong <cyd@gnu.org>
7620
7621 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7622
343a34ff 76232011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7624
7625 * dirtrack.el (dirtrack): Support shell buffers with path
7626 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7627
0bc06380
TZ
76282011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7629
7630 * json.el: Bump version to 1.3 and note change in History.
7631 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7632
8b79f3e0
SM
76332011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7634
5a7c536b
SM
7635 * comint.el (comint-insert-input, comint-send-input)
7636 (comint-get-old-input-default, comint-backward-matching-input)
7637 (comint-next-prompt): Use nil instead of `input' for field property of
7638 past user input (bug#114).
7639
96a8a0df
SM
7640 * minibuffer.el (completion--replace): Inherit surrounding properties
7641 (bug#114).
7642 (minibuffer-complete-and-exit): Use it.
7643
8b79f3e0
SM
7644 * comint.el (comint--table-subvert): Quote the all-completions output
7645 (bug#9160).
7646
b8f7ff0d
MR
76472011-10-17 Martin Rudalics <rudalics@gmx.at>
7648
8b79f3e0 7649 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7650
b8f7ff0d 7651 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7652 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7653 entries and separate them from frame entries.
7654
c235b555
GM
76552011-10-15 Glenn Morris <rgm@gnu.org>
7656
7657 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7658 Doc fixes.
7659
6bbfa6e1
CY
76602011-10-15 Chong Yidong <cyd@stupidchicken.com>
7661
8b79f3e0
SM
7662 * net/network-stream.el (network-stream-open-starttls):
7663 Improve detection of failure due to lack of TLS support.
ec5c990d 7664
6bbfa6e1
CY
7665 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7666 putting the input text in front and in bold.
7667
98488977
SM
76682011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7669
3d1337be
SM
7670 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7671
ee0b45e4
SM
7672 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7673 empty buffer.
7674
98488977
SM
7675 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7676 unread-command-events rather than pushing yet-another event.
7677
186f4720
EZ
76782011-10-14 Eli Zaretskii <eliz@gnu.org>
7679
7680 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7681 the explanation of the possible choices. Make the options passed
7682 to completing-read shorter.
7683
8b7a997c
AM
76842011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7685
7686 * textmodes/flyspell.el (flyspell-large-region): Make sure
7687 extended character mode is used if defined (Bug#1339).
7688
12587bbb
EZ
76892011-10-13 Eli Zaretskii <eliz@gnu.org>
7690
7691 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7692 character info for LRE, LRO, RLE, and RLO characters by appending
7693 an invisible PDF.
12587bbb 7694
bad41229
SM
76952011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7698 even in case of error; add debug spec; simplify data flow.
7699 (with-timeout-handler): Remove.
7700
28dbc92f
MA
77012011-10-12 Michael Albinus <michael.albinus@gmx.de>
7702
7703 Fix Bug#6019, Bug#9315.
7704
7705 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7706 complete `buffer-file-name', the local file name part could look
7707 remotely (for example on VMS).
7708
7709 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7710 `tramp-run-real-handler'.
7711 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7712 already quoted by '"'.
7713
7714 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7715 Let `file-name-handler-alist' be nil, the local file name part
7716 could look remotely (for example on VMS).
7717
e1b0b23a
SM
77182011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7721 from here...
7722 (flyspell-post-command-hook): ...to here.
7723
a120bde9
SM
77242011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7727 if not needed.
7728 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7729 using completion. Protect against "slow" callers.
7730 Remove the "message hack".
7731
7ce7717b
JL
77322011-10-11 Juri Linkov <juri@jurta.org>
7733
7734 * isearch.el (isearch-lazy-highlight-word): New variable.
7735 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7736 Use it. (Bug#9727)
7737
c02ee9d6
GM
77382011-10-11 Glenn Morris <rgm@gnu.org>
7739
7740 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7741 like f90-previous-statement does.
7742
93e616fd 77432011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7744
1f190e73 7745 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7746 only in interactive use, to avoid error.
7747
af7b6078
SM
77482011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * minibuffer.el (completion-file-name-table): Fix last change,
7751 i.e. ignore normal errors but not the other ones.
7752
0563dae9
MR
77532011-10-10 Martin Rudalics <rudalics@gmx.at>
7754
7755 * window.el (special-display-buffer-names)
7756 (special-display-regexps): Remove some remnants of earlier
7757 changes from doc-strings.
366ca7f3
MR
7758 (quit-windows-on): New function.
7759
7760 * vc/vc.el (vc-revert, vc-rollback):
7761 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7762 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7763 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7764
49677495
MR
77652011-10-09 Martin Rudalics <rudalics@gmx.at>
7766
7767 * window.el (frame-auto-hide-function): Add version tag.
7768 (Bug#9699)
7769
56f2d1e1
MA
77702011-10-09 Michael Albinus <michael.albinus@gmx.de>
7771
7772 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7773 condition.
7774
112a6592
LL
77752011-10-09 Leo Liu <sdl.web@gmail.com>
7776
7777 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7778 (Bug#9701)
7779
0812589b
GM
77802011-10-08 Glenn Morris <rgm@gnu.org>
7781
7782 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7783 before the first code statement zero indent. (Bug#9690)
7784
b2b0776e
CY
77852011-10-08 Chong Yidong <cyd@stupidchicken.com>
7786
7787 * simple.el (count-words-region): Always count in the region.
7788 Report the number of lines and characters too.
7789 (count-words): New command, which counts in the buffer if the
7790 region is inactive, as count-words-region used to.
7791 (count-words--message): New function. Handle plurals.
7792 (count-lines-region): Make it an alias for count-words-region.
7793
7794 * bindings.el (esc-map): Replace count-lines-region with
7795 count-words-region.
7796
c557cd6b
MR
77972011-10-08 Martin Rudalics <rudalics@gmx.at>
7798
7799 * window.el (window--delete): Delete dedicated frame
7800 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7801 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7802
61a57ef4 78032011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7804
3a7d293b 7805 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7806
c3833279
CY
78072011-10-07 Chong Yidong <cyd@stupidchicken.com>
7808
7809 * bindings.el ([M-left],[M-right]): Bind to left-word and
7810 right-word respectively.
7811
21ce8245
GM
78122011-10-07 Glenn Morris <rgm@gnu.org>
7813
7814 * cus-start.el (debug-on-quit): Fix custom type.
7815
6d823bb2
LMI
78162011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7817
0181e193
LMI
7818 * subr.el (define-key-after): Clarify that the function is not
7819 useful for non-menu keymaps.
7820
6d823bb2
LMI
7821 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7822
8e3459ce 78232011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7824
21ce8245 7825 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7826 in current minibuffer (Fix bug with recursive minibuffers).
7827
a1c2d21e
CY
78282011-10-06 Chong Yidong <cyd@stupidchicken.com>
7829
7830 * progmodes/gdb-mi.el (gdb): Doc fix.
7831
5a4cf282
MR
78322011-10-05 Martin Rudalics <rudalics@gmx.at>
7833
7834 * window.el (frame-auto-hide-function): New option replacing
7835 frame-auto-delete. Suggested by Stefan Monnier.
7836 (window--delete): Call frame-auto-hide-function instead of
7837 investigating frame-auto-delete.
c96111ea
MR
7838 (window-point-1, set-window-point-1): New functions.
7839 (window-in-direction, record-window-buffer, window-state-get-1)
7840 (display-buffer-record-window): Use window-point-1 instead of
7841 window-point.
7842 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7843
9854542e
SM
78442011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7847
8943cfb0
GM
78482011-10-05 Glenn Morris <rgm@gnu.org>
7849
7850 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7851 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7852
647ab967
LL
78532011-10-05 Leo Liu <sdl.web@gmail.com>
7854
7855 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7856 works with buffer object.
7857
3ddfbced
SM
78582011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7859
7860 * mpc.el (mpc-tool-bar-map): Add labels.
7861
bdfa5dd2
GM
78622011-10-04 Glenn Morris <rgm@gnu.org>
7863
7864 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7865
0e2070b5
MR
78662011-10-04 Martin Rudalics <rudalics@gmx.at>
7867
7868 * window.el (window--delete): New function.
7869 (frame-auto-delete): Resuscitate option.
7870 (bury-buffer, replace-buffer-in-windows)
7871 (quit-window): Rewrite using window--delete.
7872 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7873 Pass display-buffer-mark-dedicated to window--display-buffer-2
7874 (Bug#9639).
7875
3dc61a09
SM
78762011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7877
915a9b64
SM
7878 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7879 returns a list (bug#9554). Add remote file name completion.
7880 * comint.el (comint--table-subvert): Curry and get quote&unquote
7881 functions as arguments.
7882 (comint--complete-file-name-data): Adjust call accordingly.
7883 * pcomplete.el (pcomplete--table-subvert): Remove.
7884 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7885
3dc61a09
SM
7886 * minibuffer.el (completion-table-case-fold): Use currying.
7887 (completion--styles-type, completion--cycling-threshold-type):
7888 New constants.
7889 (completion-styles, completion-category-overrides)
7890 (completion-cycle-threshold): Use them.
7891 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7892 completion-table-case-fold.
7893
8ea0a993
SB
78942011-10-03 Stephen Berman <stephen.berman@gmx.net>
7895
7896 * minibuffer.el (completion-category-overrides): Fix type of styles
7897 and add more user friendly tags (bug#9660).
7898
8c24b7f6
SM
78992011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7902 (mule-input-method-string): New widget.
7903 (default-input-method, language-info-custom-alist): Use it.
7904
428fe61a
SM
79052011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7906
32c1fffd
SM
7907 * pcomplete.el: Require comint.
7908 (pcomplete--common-suffix): Remove.
7909 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7910 (pcomplete--table-subvert): Sync with comint--table-subvert.
7911 (pcomplete--entries): Use comint-completion-file-name-table.
7912 * comint.el (comint-unquote-filename): Simplify.
7913 (comint-completion-file-name-table): New function (bug#9616).
7914 (comint--complete-file-name-data): Use it.
7915
428fe61a
SM
7916 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7917 (pcmpl-gnu-tar-buffer): Remove.
7918 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7919 around. Make sure pcomplete-suffix-list is only changed temporarily.
7920 Don't look inside the tar's file if it's too large.
428fe61a 7921
04c52e2f
CY
79222011-10-01 Chong Yidong <cyd@stupidchicken.com>
7923
ce3cefcc
CY
7924 * cus-edit.el (custom-mode-map):
7925 * epa.el (epa-key-list-mode-map):
7926 * man.el (Man-mode-map):
7927 * startup.el (splash-screen-keymap):
7928 * simple.el (special-mode-map): Use scroll-up-command and
7929 scroll-down-command.
7930
7931 * progmodes/idlw-help.el (idlwave-help-mode-map):
7932 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7933 * net/newst-plainview.el (newsticker-mode-map):
7934 * emulation/ws-mode.el (wordstar-mode-map):
7935 * emulation/vi.el (vi-com-map):
7936 * calc/calc-graph.el (calc-graph-show-dumb):
7937 * term/sun.el (terminal-init-sun):
7938 * term/ns-win.el (global-map):
7939 * progmodes/grep.el (grep-mode-map):
7940 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7941 * mail/rmail.el (rmail-mode-map):
7942 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7943
04c52e2f
CY
7944 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7945 custom-safe-themes as special.
7946
79adf8c8
JD
79472011-10-01 Julien Danjou <julien@danjou.info>
7948
7949 * notifications.el (notifications-notify): Fix docstring.
7950
63bd50d3
PS
79512011-10-01 Per Starbäck <per@starback.se>
7952
7953 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7954
199e4c7e
MR
79552011-09-30 Martin Rudalics <rudalics@gmx.at>
7956
7957 * startup.el (command-line-1): Fix last fix by inserting
7958 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7959 (Bug#9605) and (Bug#9636)
199e4c7e 7960
fe5f08dd
EZ
79612011-09-29 Eli Zaretskii <eliz@gnu.org>
7962
7963 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7964 window is hscrolled, move by logical lines. (Bug#9607)
7965 (line-move-visual): Update the doc string to the above effect.
7966
b5516bbd
MR
79672011-09-29 Martin Rudalics <rudalics@gmx.at>
7968
ccee00c0
MR
7969 * window.el (display-buffer-record-window): When WINDOW is the
7970 selected window use `point' instead of `window-point'. (Bug#9626)
7971
b5516bbd
MR
7972 * startup.el (command-line-1): Use insert-before-markers when
7973 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7974
b5516bbd
MR
7975 * help.el (help-window): Remove variable.
7976
52aa0014
GM
79772011-09-29 Glenn Morris <rgm@gnu.org>
7978
7979 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7980
df9a7357
JB
79812011-09-29 Juanma Barranquero <lekktu@gmail.com>
7982
7983 * descr-text.el (describe-char-categories): Accept category
7984 descriptions more than one line long.
7985
a8406c20
SM
79862011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7987
88d9610c
SM
7988 * simple.el (delete-trailing-whitespace): Fix last change.
7989
a5daf810
SM
7990 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7991 Don't confuse "y => 3" as the beginning of a `y' operation.
7992
a8406c20
SM
7993 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7994 object has more than 4 slots (bug#9613).
7995
a239d4e9
JB
79962011-09-28 Juanma Barranquero <lekktu@gmail.com>
7997
7998 * subr.el (with-output-to-temp-buffer):
7999 * net/quickurl.el (quickurl, quickurl-browse-url):
8000 Fix typos in docstrings.
8001
693fbdb6
EZ
80022011-09-27 Eli Zaretskii <eliz@gnu.org>
8003
8004 * minibuffer.el (completion-styles)
8005 (completion-category-overrides): Cross reference each other in doc
8006 strings.
8007
8b457e28
GM
80082011-09-27 Glenn Morris <rgm@gnu.org>
8009
8010 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8011 to split-string. (Bug#9606)
8012
85a16208
LMI
80132011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8014
8015 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8016 (bug#9615).
8017
502f9ebd
CY
80182011-09-27 Chong Yidong <cyd@stupidchicken.com>
8019
8020 * emacs-lisp/package.el (list-packages): Fix echo area message.
8021
7690bdea
LL
80222011-09-27 Leo Liu <sdl.web@gmail.com>
8023
8024 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8025
e2ee6f30
MA
80262011-09-25 Michael Albinus <michael.albinus@gmx.de>
8027
8028 * net/dbus.el (dbus-unregister-object): Don't release services for
8029 registered signals. (Bug#9581)
8030
f3f98342
TZ
80312011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8032
8033 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8034 function that picks between cfengine 2 and 3 support
8035 automatically. Update docs accordingly.
8036
dd7aa8dd
KH
80372011-09-22 Kenichi Handa <handa@m17n.org>
8038
8039 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8040 ZERO.
8041 (indian-itrans-v5-table-for-tamil): New variable.
8042 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8043
3f2b07f8
KM
80442011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8045
8046 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8047 that's true if the current command involved collapsing of text.
8048 It's reset to false at the beginning of the next command.
8049 (allout-post-command-business): Move the cursor to the beginning
8050 of entry if the cursor is hidden and collapsing activity just
8051 happened.
8052
371d6a61
CY
80532011-09-24 Chong Yidong <cyd@stupidchicken.com>
8054
8055 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8056 tracking (Bug#9541).
8057
2ac2721a
UJ
80582011-09-24 Ulf Jasper <ulf.jasper@web.de>
8059
8060 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8061 (newsticker-show-news): Automatically load html rendering package
8062 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8063 because w3m-fill-column is let-bound" and the error "Symbol's value
8064 as variable is void: w3m-fill-column".
2ac2721a 8065
fac7ae53
MA
80662011-09-24 Michael Albinus <michael.albinus@gmx.de>
8067
8068 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8069 Release services only if they are defined. (Bug#9581)
8070
e08b633b
RS
80712011-09-23 Richard Stallman <rms@gnu.org>
8072
e488d29c
RS
8073 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8074 distinguish start of paragraph from start of its text.
8075
19c38752
RS
8076 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8077
e08b633b
RS
8078 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8079 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8080 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8081
0a39f27e
AS
80822011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8083
8084 * international/mule-diag.el (mule-diag): Insert a newline after
8085 each fontset description.
8086
db4e950d
SM
80872011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8088
8089 * simple.el (delete-trailing-whitespace):
8090 Document last change; simplify.
8091
eca3f3ea
PW
80922011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8093
d68e189a
PW
8094 * simple.el (delete-trailing-whitespace): Also delete
8095 extra newlines at the end of the buffer.
8096
eca3f3ea
PW
8097 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8098 (picture-newline): Use forward-line so as to ignore fields.
8099
01c157cc
SM
81002011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8101
8102 * subr.el (with-wrapper-hook): Fix edebug spec.
8103
022de23e
LMI
81042011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8105
8106 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8107 (bug#4538).
8108
91683089
MA
81092011-09-23 Michael Albinus <michael.albinus@gmx.de>
8110
eca3f3ea
PW
8111 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8112 Fix nasty bug using wrong cached values.
91683089 8113
5bdd6fa4
AM
81142011-09-23 Alan Mackenzie <acm@muc.de>
8115
8116 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8117
97adfb97
CY
81182011-09-23 Chong Yidong <cyd@stupidchicken.com>
8119
8120 * window.el (pop-to-buffer): Ensure right window is selected if we
8121 chose another frame.
8122
d4ef2b50
EZ
81232011-09-22 Eli Zaretskii <eliz@gnu.org>
8124
8125 * simple.el (what-cursor-position): Use get-char-property-change
8126 and next-single-char-property-change, to be able to show display
8127 properties that come from overlays as well as text properties.
8128
72258fe5
CY
81292011-09-22 Chong Yidong <cyd@stupidchicken.com>
8130
8131 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8132
8133 * cmuscheme.el (run-scheme, switch-to-scheme):
8134 * cus-edit.el (customize-group, custom-buffer-create)
8135 (customize-browse):
8136 * info.el (info):
8137 * shell.el (shell):
8138 * mail/sendmail.el (mail):
8139 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8140
8f098516
RS
81412011-09-22 Richard Stallman <rms@gnu.org>
8142
8143 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8144 move back only to line beg, don't move back over blank lines.
8145
e74f1bb6
MA
81462011-09-22 Michael Albinus <michael.albinus@gmx.de>
8147
8148 * files.el (copy-directory): Set directory attributes only in case
8149 they could be retrieved from the source directory. (Bug#9565)
8150
bfeef8b6
DK
81512011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8152
8153 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8154 (hs-find-block-beginning, hs-hide-level-recursive):
8155 Ignore strings as well as comments. (Bug#9502)
8156
7e423bb8
AS
81572011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8158
8159 * progmodes/sql.el (sql-comint-postgres):
8160 Convert port number to a string. (Bug#9566)
8161
b4d72fcf
MR
81622011-09-22 Martin Rudalics <rudalics@gmx.at>
8163
8164 * window.el (quit-window): Undedicate window when switching to
8165 previous buffer. Reported by Thierry Volpiatto
8166 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8167 (special-display-popup-frame): When popping up a new frame reset
8168 its previous buffers to nil. Simplify code.
b4d72fcf 8169
a7b88dc6
MA
81702011-09-21 Michael Albinus <michael.albinus@gmx.de>
8171
8172 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8173 and process filter, as done also in `shell-command'.
8174
cf4eacfd
MR
81752011-09-21 Martin Rudalics <rudalics@gmx.at>
8176
eca3f3ea 8177 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8178 Call set-window-start with NOFORCE argument t.
8179 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8180 (quit-window): Reword doc-string. Handle new format of
8181 quit-restore parameter. Don't delete window if it has a
8182 previous buffer we can show instead of the present one.
8183 (display-buffer-record-window): Rewrite using a new format for
8184 the quit-restore window parameter
8185 (special-display-popup-frame, display-buffer-same-window)
8186 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8187 (display-buffer-pop-up-window, display-buffer-use-some-window):
8188 Adapt symbol passed to display-buffer-record-window.
8189 * help.el (help-window-setup): Handle new format of quit-restore
8190 parameter.
8191
8d28cb95
SM
81922011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8193
94ab793f
SM
8194 * faces.el (face-list): Fix docstring (bug#9564).
8195
8d28cb95
SM
8196 * window.el (display-buffer--action-function-custom-type):
8197 Don't include internal functions in the Custom interface.
8198
3820edeb
JL
81992011-09-20 Juri Linkov <juri@jurta.org>
8200
8201 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8202 (Info-forward-node, Info-backward-node, Info-next-preorder)
8203 (Info-last-preorder): Use it. (Bug#9528)
8204
5147931d
JL
82052011-09-20 Juri Linkov <juri@jurta.org>
8206
8207 * info.el (Info-last-preorder): Visit last menu item only when
8208 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8209
cf499a1a
JD
82102011-09-20 Julien Danjou <julien@danjou.info>
8211
8212 * password-cache.el (password-cache-remove): Remove entries even if the
8213 value is nil, so that password with a nil value (negative caching) is
8214 possible to invalidate.
8215
f84e2fe2
LM
82162011-09-20 Lawrence Mitchell <wence@gmx.li>
8217
8218 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8219 all whitespace around breakpoint. (Bug#9553)
8220 (f90-find-breakpoint): Only break at whitespace inside a comment.
8221
78054a46
SM
82222011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8223
8224 * minibuffer.el (completion-file-name-table): Keep track of errors.
8225 (completion-table-with-predicate): Handle the case where pred1 is nil.
8226 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8227
345083b2
SM
82282011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8229
e24e27be
SM
8230 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8231 (debugger-return-value): Signal an error if the debugging context does
8232 not await any return value.
8233
345083b2
SM
8234 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8235 * image-mode.el (image-toggle-display-text)
8236 (image-toggle-display-image): Stay away from evil `intangible'.
8237
08d355e3
LL
82382011-09-19 Leo Liu <sdl.web@gmail.com>
8239
8240 * replace.el (occur-revert-arguments): Make it permanent-local.
8241 (occur-mode): Don't call font-lock-defontify.
8242
f01da43f
CY
82432011-09-19 Chong Yidong <cyd@stupidchicken.com>
8244
8245 * net/ldap.el (ldap-search-internal): Don't push empty search
8246 result (Bug#9508).
8247
b6072fa6
SM
82482011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8251
443d6696
MA
82522011-09-19 Michael Albinus <michael.albinus@gmx.de>
8253
8254 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8255 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8256
7cc6e154
JL
82572011-09-18 Juri Linkov <juri@jurta.org>
8258
8259 * buff-menu.el (Buffer-menu-mode-map):
8260 * dired.el (dired-mode-map):
8261 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8262 (lisp-interaction-mode-map):
8263 * emacs-lisp/package.el (package-menu-mode-map):
8264 * epa.el (epa-key-list-mode-map):
8265 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8266 (menu-bar-options-menu):
8267 * outline.el (outline-mode-menu-bar-map):
8268 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8269 * vc/vc-dir.el (vc-dir-menu-map):
8270 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8271 Capitalize non-function content words in menu item strings.
8272
8273 * dired.el (dired-mode-map): Add menu item for
8274 `image-dired-dired-toggle-marked-thumbs'.
8275
80302a81
JL
82762011-09-18 Juri Linkov <juri@jurta.org>
8277
8278 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8279 to `isearch-case-fold-search' and restore its original value
8280 after the `isearch-mode' call.
8281
46c5cf66
JL
82822011-09-18 Juri Linkov <juri@jurta.org>
8283
8284 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8285 because `zgrep' returns 1 for successful matches (bug#9226).
8286
d18b513b
JL
82872011-09-18 Juri Linkov <juri@jurta.org>
8288
8289 * info.el (Info-extract-menu-node-name): Check the second match
8290 for empty string (second test-case of bug#9528).
8291 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8292 intermediate nodes to the history (first test-case of bug#9528).
8293
72753f87
JL
82942011-09-18 Juri Linkov <juri@jurta.org>
8295
8296 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8297 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8298
c9384295
JL
82992011-09-18 Juri Linkov <juri@jurta.org>
8300
1154d12e
JB
8301 * info.el (Info-file-supports-index-cookies):
8302 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8303 outputs one more line for long file names (bug#4142).
c9384295 8304
d473dce8
CY
83052011-09-18 Chong Yidong <cyd@stupidchicken.com>
8306
8307 * newcomment.el (comment-normalize-vars): If prompting for
8308 comment-start, set comment-start-skip too (Bug#8424).
8309
2176854d
JB
83102011-09-18 Johan Bockgård <bojohan@gnu.org>
8311
8312 * icomplete.el: Fix previous fix of Bug#5849.
8313 (icomplete-mode): Don't set completion-show-inline-help.
8314 (icomplete-minibuffer-setup): Set completion-show-inline-help
8315 locally during icompletion.
8316
3aace4e4
CY
83172011-09-18 Chong Yidong <cyd@stupidchicken.com>
8318
c940224f
CY
8319 * woman.el (woman2-process-escapes): Don't delete unrecognized
8320 escapes (Bug#7843).
8321
3aace4e4
CY
8322 * files.el (inhibit-first-line-modes-regexps): Add image files.
8323 (hack-local-variables-prop-line): Return nil for malformed
8324 prop-lines (Bug#9044).
8325
710dec63
MA
83262011-09-18 Michael Albinus <michael.albinus@gmx.de>
8327
8328 * net/tramp.el (top): Don't require 'shell.
8329 (tramp-methods): Fix docstring.
8330 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8331 Return complete remote file name. Handle "smb" case.
8332 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8333 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8334
8335 * net/tramp-compat.el (top): Require 'shell.
8336
8337 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8338 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8339 `tramp-current-host'.
8340 (tramp-get-remote-tmpdir): Remove.
8341
8342 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8343 `tramp-tmpdir' entries.
8344 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8345 (tramp-smb-handle-file-attributes): Ignore errors.
8346 (tramp-smb-wait-for-output): Check also for process end.
8347
5d5ac8ec
LMI
83482011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349
8350 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8351 when sending QUIT (bug#9312).
8352
8c0f49f0
CY
83532011-09-17 Chong Yidong <cyd@stupidchicken.com>
8354
8355 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8356 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8357 occur-mode-display-occurrence.
8358 (occur-edit-mode): Add usage message.
8359 (occur-cease-edit): New command.
8360 (occur-after-change-function): Use text properties to find the
8361 position of the prefix text.
8362 (occur-engine): Set stickiness of prefix text properties.
8363
8f1383f7
GM
83642011-09-17 Glenn Morris <rgm@gnu.org>
8365
8366 * progmodes/etags.el (complete-tag):
8367 Fix call to completion-in-region. (Bug#9526)
8368
744ba0e3
JL
83692011-09-17 Juri Linkov <juri@jurta.org>
8370
8371 * textmodes/ispell.el (ispell-word): Add to the error message
8372 the word, ispell program name and current dictionary (bug#9121).
8373 (ispell-tex-arg-end): Capitalize "error" in the error message.
8374
d9bbf400
AS
83752011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8376
8377 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8378 check. (Bug#4251)
8379
8da11505
JL
83802011-09-17 Juri Linkov <juri@jurta.org>
8381
8382 * window.el (window-safe-min-height, window-safe-min-width):
8383 Fix typos (followup to bug#9522).
8384
a91adc7e
SJ
83852011-09-17 Sven Joachim <svenjoac@gmx.de>
8386
8387 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8388
064f328a
EZ
83892011-09-16 Eli Zaretskii <eliz@gnu.org>
8390
8391 * simple.el (line-move): If goal-column is set, move by logical
8392 lines, not by display lines. (Bug#971)
8393 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8394 to reflect the above change.
8395
e69df516
SM
83962011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 * image.el (imagemagick-register-types): Use regexp-opt.
8399
cbb0f9ab
CY
84002011-09-15 Chong Yidong <cyd@stupidchicken.com>
8401
8402 * window.el (display-buffer-base-action): Rename from
8403 display-buffer-default-action. Make default value empty.
8404 (display-buffer-overriding-action): Convert to defvar.
8405 (display-buffer-fallback-action): New var.
8406
25322144
CY
84072011-09-15 Chong Yidong <cyd@stupidchicken.com>
8408
8409 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8410 declaration.
8411 (package--add-to-archive-contents): If there is a duplicate entry
8412 with an older version, remove it.
8413 (package-menu-mark-delete, package-menu-mark-install)
8414 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8415 (package-menu-mark-obsolete-for-deletion):
8416 Use package-menu-get-status instead of a regexp search.
25322144
CY
8417 (package-menu-get-status): Use tabulated-list-entry.
8418 (package-menu-mark-upgrades): New command.
d770725a 8419 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8420 (package-menu-execute): Do installation before deletion.
8421 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8422 instead of checking major-mode.
8423 (package-menu--find-upgrades): New function.
8424
7520339c
LMI
84252011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8426
8427 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8428 passwords in the log buffer.
65a046c4
LMI
8429 (smtpmail-process-filter): Update the process marker so that the
8430 "broken by peer" status message is inserted in the right place.
7520339c 8431
d3c30954
SM
84322011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8433
3fe48822
SM
8434 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8435 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8436 bibtex-completion-at-point-function.
8437 (bibtex-completion-at-point-function): Use them.
8438
1b8b3954
SM
8439 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8440
d3c30954
SM
8441 * mpc.el (mpc-constraints-tag-lookup): New function.
8442 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8443 also to browser "album|playlist".
8444
72779976
JL
84452011-09-14 Juri Linkov <juri@jurta.org>
8446
8447 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8448 (isearch-edit-string): Use length of `isearch-string' when
8449 `isearch-fail-pos' returns nil.
8450 (isearch-message): Remove duplicate code and call
8451 `isearch-fail-pos' with arg `t'.
8452
a0bf2bcd
CY
84532011-09-14 Chong Yidong <cyd@stupidchicken.com>
8454
17bb0a2d
CY
8455 * replace.el (occur-mode-goto-occurrence): Don't force using other
8456 window (Bug#9499).
8457
a0bf2bcd
CY
8458 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8459
f678e0b6
MR
84602011-09-14 Martin Rudalics <rudalics@gmx.at>
8461
8462 * window.el (display-buffer-window): Remove.
8463 (display-buffer-record-window): Use help-setup window parameter
8464 instead of variable display-buffer-window.
8465 (display-buffer-function, special-display-buffer-names)
8466 (special-display-function): Mention help-setup parameter instead
8467 of display-buffer-window in doc-string.
d3c30954
SM
8468 * help.el (help-window-setup): New argument help-window.
8469 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8470 Reword some messages.
8471 (with-help-window): Pass window used for displaying the buffer
8472 to help-window-setup. Don't set display-buffer-window.
8473
8e39b2e8
GM
84742011-09-13 Glenn Morris <rgm@gnu.org>
8475
8476 * emacs-lisp/debug.el (debugger-make-xrefs):
8477 Preserve point. (Bug#9462)
8478
85e9c04b
CY
84792011-09-13 Chong Yidong <cyd@stupidchicken.com>
8480
8481 * window.el (window-deletable-p): Use next-frame.
8482
1b36ed6a
MR
84832011-09-13 Martin Rudalics <rudalics@gmx.at>
8484
8485 * window.el (window-auto-delete): Remove.
8486 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8487 dedication and previous buffers.
1b36ed6a
MR
8488 (switch-to-prev-buffer): Don't delete window.
8489 (delete-windows-on): Delete a window's frame if and only if the
8490 window is dedicated.
8491 (replace-buffer-in-windows): Delete buffer's window or frame if
8492 and only if window is dedicated.
8493 (quit-window): Handle quit-restore as before last change.
4d61f28d 8494 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8495
ef8ef9fb
CY
84962011-09-13 Chong Yidong <cyd@stupidchicken.com>
8497
8498 * window.el (window-deletable-p): Never delete the last frame on a
8499 given terminal.
8500
b2cba41e
GM
85012011-09-13 Glenn Morris <rgm@gnu.org>
8502
8503 * help.el (describe-key-briefly): Copy previous standard-output change.
8504
51553db6 85052011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8506
8507 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8508
b7556719
GM
85092011-09-13 Glenn Morris <rgm@gnu.org>
8510
8511 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8512 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8513
64b51947
CY
85142011-09-12 Chong Yidong <cyd@stupidchicken.com>
8515
8516 * dired-aux.el (dired-mark-read-string): Don't return default
8517 value on empty input (Bug#9361).
8518 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8519 Omit initial minibuffer contents.
8520 (dired-do-chmod): Signal an error on empty input.
8521 (dired-mark-read-string): Don't return default on empty input.
8522
8523 * files.el (file-modes-symbolic-to-number): Doc fix.
8524
393a301e
SM
85252011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * international/mule-cmds.el (ucs-completions): Remove.
8528 (read-char-by-name): Use complete-with-action instead; add metadata.
8529
fa5660f9
CY
85302011-09-11 Chong Yidong <cyd@stupidchicken.com>
8531
8532 * window.el (display-buffer--action-function-custom-type)
8533 (display-buffer--action-custom-type): New vars.
8534 (display-buffer-alist, display-buffer-default-action)
8535 (display-buffer-overriding-action): Add defcustom types.
8536
4a592f66
CY
8537 * frame.el (delete-other-frames): Doc fix (Bug#276).
8538
73d56dbd
LMI
85392011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8540
8541 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8542
37ac18a3
CY
85432011-09-11 Chong Yidong <cyd@stupidchicken.com>
8544
8545 Change modes that used same-window-* vars to use switch-to-buffer.
8546
8547 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8548 Use switch-to-buffer.
8549
8550 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8551 (customize-browse, custom-buffer-create-other-window):
8552 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8553
8554 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8555 (Info-prev, Info-up, Info-speedbar-goto-node)
8556 (info-display-manual): Use switch-to-buffer.
8557 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8558
8559 * mail/sendmail.el (mail): Use switch-to-buffer.
8560 (mail-recover): Use switch-to-buffer-other-window.
8561
8562 * cmuscheme.el (run-scheme, switch-to-scheme):
8563 * ielm.el (ielm):
8564 * shell.el (shell):
8565 * net/rlogin.el (rlogin):
8566 * net/telnet.el (telnet, rsh):
8567 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8568
10195bd6
AS
85692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8570
8571 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8572
b322f63a
LMI
85732011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8574
39d7fed6
LMI
8575 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8576 so don't mention it (bug#9301).
ba5a81f1 8577 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8578
ee0e9f11
LMI
8579 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8580 match `x', `w32' and `ns', like the manual says (bug#9029).
8581
0b1c89c1 8582 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8583 (process-kill-buffer-query-function): Mention the buffer name in
8584 the query.
0b1c89c1 8585
77549ea8
LMI
8586 * image-mode.el (image-next-line): The line parameter is mandatory
8587 (bug#9258).
8588
803ef892
LMI
8589 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8590 which can be useful (bug#9301).
8591
12980837
LMI
8592 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8593
91054f8f
LMI
8594 * subr.el (match-string): Mention that the current buffer should
8595 be the same as the search was done in (bug#9282).
8596
b322f63a
LMI
8597 * facemenu.el: Disable the remove-* commands if the mark isn't
8598 active (bug#9162).
8599
3199b96f
CY
86002011-09-10 Chong Yidong <cyd@stupidchicken.com>
8601
8602 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8603 of display-buffer.
8604 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8605
8606 * replace.el (occur-mode-goto-occurrence)
8607 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8608 and display-buffer.
8609
8610 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8611 display-buffer.
8612
8613 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8614 special-display and same-window variables.
8615 (mail-other-window): Use switch-to-buffer-other-window.
8616 (mail-other-frame): USe switch-to-buffer-other-frame.
8617
393a301e
SM
8618 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8619 Use display-buffer-other-frame.
3199b96f
CY
8620 (gdb-display-gdb-buffer): Use pop-to-buffer.
8621
8622 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8623
8624 * progmodes/python.el: Don't set same-window-buffer-names.
8625
8626 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8627
8628 * window.el (display-buffer-alist): Add *Python*.
8629
8319e0bf
CY
86302011-09-10 Chong Yidong <cyd@stupidchicken.com>
8631
8632 * window.el (display-buffer-alist): Add entry for buffers
8633 previously handled same-window-*.
8634 (display-buffer-alist, display-buffer-default-action)
8635 (display-buffer-overriding-action): Mark as risky.
8636 (display-buffer-alist): Document action function changes.
8637 (display-buffer--same-window-action)
8638 (display-buffer--other-frame-action): New variables.
8639 (switch-to-buffer, display-buffer-other-frame): Use them.
8640 (display-buffer): Rename reuse-frame entry to reusable-frames.
8641 (display-buffer-reuse-selected-window): Function deleted.
8642 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8643 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8644 (display-buffer-special): New function.
8645 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8646 display-buffer-reuse-or-pop-window. Split off special-display
8647 part into display-buffer-special.
8648 (display-buffer-use-some-window): Don't perform any special
8649 pop-up-frames handling.
8650 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8651 (display-buffer--maybe-same-window): Rename from
0d3ff375 8652 display-buffer-maybe-same-window.
8319e0bf 8653
919a69aa
CY
8654 * info.el: Don't set same-window-regexps.
8655 (info-setup): New function.
8656 (info-other-window, info): Call it.
8657
8658 * cus-edit.el: Don't set same-window-regexps.
8659 (customize-group): New argument.
8660 (customize-group-other-window): Use it.
8661 (customize-face, customize-face-other-window): Likewise.
8662 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8663
8319e0bf
CY
8664 * net/rlogin.el:
8665 * net/telnet.el:
8666 * progmodes/gud.el: Don't set same-window-regexps.
8667
8668 * cmuscheme.el:
8669 * ielm.el:
8670 * shell.el:
8671 * mail/sendmail.el:
8672 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8673
25173000
JL
86742011-09-10 Juri Linkov <juri@jurta.org>
8675
8676 * isearch.el (isearch-edit-string): Remove obsolete mention of
8677 `C-w' (`isearch-yank-word-or-char') from docstring.
8678 (isearch-query-replace): Fix typo in docstring (bug#9466).
8679
056e44ef
JL
86802011-09-10 Juri Linkov <juri@jurta.org>
8681
8682 * paren.el (show-paren-function): Don't show escaped parens.
8683 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8684
c3760c17
EZ
86852011-09-10 Eli Zaretskii <eliz@gnu.org>
8686
8687 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8688 (mm-default-file-encoding): Remove autoload forms, they are
8689 replaced with autoload cookies in mml.el and mm-encode.el.
8690 (mail-add-attachment): New command.
8691 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8692 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8693 the doc string.
8694 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8695
fece895e
RT
86962011-09-10 Reuben Thomas <rrt@sc3d.org>
8697
e69df516
SM
8698 * simple.el (count-words-region): Use buffer if there's no region
8699 (bug#9429).
fece895e 8700
5e68ce4a
JL
87012011-09-09 Juri Linkov <juri@jurta.org>
8702
8703 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8704 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8705 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8706
0a6b9622
AM
87072011-09-09 Alan Mackenzie <acm@muc.de>
8708
8709 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8710 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8711
14a29deb
EZ
87122011-09-09 Eli Zaretskii <eliz@gnu.org>
8713
8714 Fix for Savannah bug#9392.
8715 * simple.el (mail-encode-mml): New defvar.
8716
8717 * mail/rmail.el (mail-encode-mml): Add a defvar.
8718 (rmail-enable-mime-composing): Default to t.
8719 (rmail-forward): Use MIME method of forwarding only if both
8720 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8721 Set mail-encode-mml non-nil if the MIME method was used.
8722
8723 * mail/sendmail.el (mml-to-mime): Add autoload form.
8724 (mail-encode-mml): Add a defvar.
8725 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8726 to nil.
8727 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8728 message through mml-to-mime, and reset mail-encode-mml to nil.
8729
28c45130
GM
87302011-09-09 Glenn Morris <rgm@gnu.org>
8731
8732 * woman.el (woman-if-body): When processing an .el block,
8733 do not delete the next .el block as well. (Bug#9447)
69f4b618 8734 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8735
9b1c252e
MR
87362011-09-08 Martin Rudalics <rudalics@gmx.at>
8737
8738 * window.el (window-deletable-p): Make sure window is live before
8739 invoking window-prev-buffers.
8740
567457e3
LL
87412011-09-08 Leo Liu <sdl.web@gmail.com>
8742
8743 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8744
97f05794
JL
87452011-09-08 Juri Linkov <juri@jurta.org>
8746
8747 * progmodes/compile.el (compilation-environment): Make it
8748 a defcustom (bug#8340).
8749
8b0874b5
MR
87502011-09-08 Martin Rudalics <rudalics@gmx.at>
8751
8752 * window.el (frame-auto-delete): Rename to window-auto-delete.
8753 Make it control auto-deletion of windows and/or frames.
8754 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8755 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8756 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8757 Rewrite handling of case when window/frame can be deleted.
8758 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8759 argument t. (Bug#9456)
8b0874b5 8760
4feb6e73
CY
87612011-09-07 Chong Yidong <cyd@stupidchicken.com>
8762
8763 * help-mode.el (help-mode): Restore autoload.
8764
91ab9c13
JL
87652011-09-07 Juri Linkov <juri@jurta.org>
8766
8767 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8768 `compilation-environment'. Set buffer-local
8769 `compilation-environment' to `thisenv' later after (funcall mode).
8770 (Bug#8340)
8771
8772 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8773 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8774 instead of replacing its value. (Bug#8340)
8775
0527e251
JL
87762011-09-07 Juri Linkov <juri@jurta.org>
8777
8778 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8779 based on text properties put by `grep-filter' instead of matching
8780 escape sequences.
8781 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8782 to the value of `grep-error-screen-columns' (bug#9438).
8783
249f792c
JL
87842011-09-07 Juri Linkov <juri@jurta.org>
8785
8786 * simple.el (next-error-highlight, next-error-highlight-no-select):
8787 Doc fix (bug#9432).
8788
ff7271b9
OT
87892011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8790
8791 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8792 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8793
183fc730
LL
87942011-09-07 Leo Liu <sdl.web@gmail.com>
8795
8796 * net/rcirc.el (rcirc-mode): Conditionally initialize
8797 rcirc-input-ring.
8798
77694924
SM
87992011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * emacs-lisp/find-func.el (find-function-C-source): Only set
8802 find-function-C-source-directory after checking that we found a source
8803 file there (bug#9440).
8804
d809b8eb
AM
88052011-09-06 Alan Mackenzie <acm@muc.de>
8806
8807 * isearch.el (isearch-other-meta-char): Wherever a key list is
8808 unread, "unread" the prefix arg, too. This fixes bug #8901.
8809
453de99f
OG
88102011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8811
8812 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8813
90439906
JL
88142011-09-05 Juri Linkov <juri@jurta.org>
8815
8816 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8817
f62bd846
JL
88182011-09-05 Juri Linkov <juri@jurta.org>
8819
8820 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8821 keeping point where processing of grep matches begins, and
8822 continue to delete remaining escape sequences from the same point.
8823 (grep-filter): Make leading zero optional in "0?1;31m" because
8824 git-grep emits "\033[1;31m" escape sequences unlike expected
8825 "\033[01;31m" as GNU Grep does (bug#9408).
8826 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8827
045820ec
JL
88282011-09-05 Juri Linkov <juri@jurta.org>
8829
8830 * subr.el (y-or-n-p): Capitalize "yes".
8831
f5e29b9b
MA
88322011-09-04 Michael Albinus <michael.albinus@gmx.de>
8833
8834 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8835 `tramp-cache-unload-hook' where appropriate.
8836 (tramp-methods): Rename `tramp-remote-sh' to
8837 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8838 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8839
8840 * net/tramp-sh.el (top): Don't require 'shell.
8841 (tramp-methods): Add `tramp-remote-shell' and
8842 `tramp-remote-shell-args' entries.
8843 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8844 (tramp-sh-handle-shell-command): Remove.
8845 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8846 Use `tramp-remote-shell'.
8847
2784c434
CY
88482011-09-03 Chong Yidong <cyd@stupidchicken.com>
8849
393a301e 8850 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8851 (sendmail-query-once): Save directly to send-mail-function.
8852 Update message-send-mail-function too.
8853
8854 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8855
464cdf56
CS
88562011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8857
8858 * progmodes/python.el (python-mode-map): Use correct function to
8859 start python interpreter from menu-bar (as reported by Geert
8860 Kloosterman).
8861 (inferior-python-mode-map): Fix typo.
393a301e 8862 (python-shell-map): Remove.
464cdf56 8863
d37e5c87
DD
88642011-09-03 Deniz Dogan <deniz@dogan.se>
8865
8866 * net/rcirc.el (rcirc-print): Simplify code for
8867 rcirc-scroll-show-maximum-output. There is no need to walk
8868 through all windows to find the right one.
8869
f3ada0ee
CS
88702011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8871
8872 * help.el (help-return-method): Doc fix.
8873
1f3c99ca
MR
88742011-09-03 Martin Rudalics <rudalics@gmx.at>
8875
8876 * window.el (window-deletable-p): Don't return a non-nil value
8877 when there's a buffer that was shown in the window before.
8878 (Bug#9419)
393a301e
SM
8879 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8880 Set window's previous buffers to nil.
1f3c99ca 8881
a3cf097f
EZ
88822011-09-03 Eli Zaretskii <eliz@gnu.org>
8883
8884 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8885 newline before and after the tag line, so it doesn't interfere
8886 with determining the paragraph direction of bidirectional text.
8887
3d03de90
LL
88882011-09-03 Leo Liu <sdl.web@gmail.com>
8889
8890 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8891
c3313451
CY
88922011-09-02 Chong Yidong <cyd@stupidchicken.com>
8893
393a301e 8894 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8895 (pop-to-buffer): Change interactive spec. Pass second argument
8896 directly to display-buffer.
8897 (display-buffer): Fix interactive spec. Use functionp to
8898 distinguish between a function and a list of functions.
8899
8900 * abbrev.el (edit-abbrevs):
8901 * arc-mode.el (archive-extract):
8902 * autoinsert.el (auto-insert):
8903 * bookmark.el (bookmark-bmenu-list):
8904 * files.el (find-file):
8905 * view.el (view-buffer):
8906 * progmodes/compile.el (compilation-goto-locus):
8907 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8908
89894cd8
CY
89092011-09-02 Chong Yidong <cyd@stupidchicken.com>
8910
8911 * window.el (display-buffer-alist): Doc fix.
8912 (display-buffer): Add docstring. Don't treat
8913 display-buffer-default specially.
8914 (display-buffer-reuse-selected-window)
8915 (display-buffer-same-window, display-buffer-maybe-same-window)
8916 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8917 (display-buffer-pop-up-window)
8918 (display-buffer-reuse-or-pop-window)
8919 (display-buffer-use-some-window): New functions.
8920 (display-buffer-default-action): Use them.
393a301e 8921 (display-buffer-default): Delete.
89894cd8
CY
8922 (pop-to-buffer-1): Fix choice of actions.
8923
ae0bc9fb
SM
89242011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * minibuffer.el (completion--insert-strings): Don't get confused by
8927 completion entries that end with an LF char.
8928
e9d90883
EZ
89292011-09-01 Eli Zaretskii <eliz@gnu.org>
8930
8931 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8932
437014c8
CY
89332011-09-01 Chong Yidong <cyd@stupidchicken.com>
8934
8935 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8936 (display-buffer-same-window, display-buffer-other-window):
8937 New functions.
437014c8
CY
8938 (pop-to-buffer-1): New function. Use the above.
8939 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8940 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8941
8942 * view.el (view-buffer-other-window, view-buffer-other-frame):
8943 Just use pop-to-buffer.
8944
a5e063d5
TV
89452011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8946
8947 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8948
793d32bb
WH
89492011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8950
8951 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8952
d65e4c15
RS
89532011-08-31 Richard Stallman <rms@gnu.org>
8954
8955 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8956 of the separation of rmail-view-buffer from rmail-buffer.
8957 If you say no to "replace original", the decrypt is in the
8958 view buffer. If you say yes, the decrypt goes into the
8959 rmail buffer also.
8960
f818cd2a
MR
89612011-08-31 Martin Rudalics <rudalics@gmx.at>
8962
8963 * window.el (display-buffer-window): Rewrite doc-string.
8964 (display-buffer-record-window): New function.
8965 (display-buffer-macro-specifiers)
8966 (display-buffer-even-window-sizes, display-buffer-set-height)
8967 (display-buffer-set-width, display-buffer-in-window)
8968 (display-buffer-reuse-window, display-buffer-split-specifiers)
8969 (display-buffer-side-specifiers, display-buffer-split-window-1)
8970 (display-buffer-split-window, display-buffer-split-atom-window)
8971 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8972 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8973 (display-buffer-other-window-means-other-frame)
8974 (display-buffer-normalize-special)
8975 (display-buffer-normalize-default)
8976 (display-buffer-normalize-argument)
8977 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8978 (display-buffer-normalize-specifiers, display-buffer-frame)
8979 (display-buffer-same-window, display-buffer-same-frame)
8980 (display-buffer-other-window)
8981 (display-buffer-same-frame-other-window)
8982 (display-buffer-other-frame, pop-to-buffer-same-window)
8983 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8984 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8985 (switch-to-buffer-same-frame)
8986 (switch-to-buffer-other-window-same-frame)
8987 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8988 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8989 (display-buffer-alist-set): Remove.
8990 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8991 (special-display-regexps, special-display-function):
8992 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8993 parameter.
8994 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8995 (special-display-frame-alist, special-display-popup-frame)
8996 (same-window-buffer-names, same-window-regexps, same-window-p)
8997 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8998 (split-window-preferred-function, split-height-threshold)
8999 (split-width-threshold, window-splittable-p)
9000 (split-window-sensibly, window--try-to-split-window)
9001 (window--frame-usable-p, even-window-heights)
9002 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9003 (window--display-buffer-2, display-buffer-other-frame):
9004 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9005 (display-buffer-default, display-buffer-assq-regexp): New functions.
9006 (display-buffer-alist): Rewrite doc-string.
9007 (display-buffer-default-action)
9008 (display-buffer-overriding-action): New variables.
9009 (display-buffer, switch-to-buffer): Rewrite.
9010 (pop-to-buffer): Restore Emacs 23 behavior but use
9011 window-normalize-buffer-to-display.
9012 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9013 Restore Emacs 23 behavior but use
9014 window-normalize-buffer-to-switch-to.
9015 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9016 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9017 Rewrite using Emacs 23 options.
f818cd2a 9018
5bc3b51d
MA
90192011-08-31 Michael Albinus <michael.albinus@gmx.de>
9020
9021 * net/tramp.el (tramp-root-regexp): Remove.
9022 (tramp-completion-file-name-regexp-unified)
9023 (tramp-completion-file-name-regexp-separate)
9024 (tramp-completion-file-name-regexp-url): Don't use leading volume
9025 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9026 (tramp-drop-volume-letter): Simplify definition.
9027 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9028
b1a4f8e1
SM
90292011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9032 (bug#9356).
9033
5664fa7b
RT
90342011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9035
b1a4f8e1 9036 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9037
9a45d6c3
JL
90382011-08-29 Juri Linkov <juri@jurta.org>
9039
9040 * isearch.el (isearch-done): Don't display message "Mark saved"
9041 when arg `edit' is non-nil to prevent its flicker in the echo area.
9042
fb87e0fb
CY
90432011-08-28 Chong Yidong <cyd@stupidchicken.com>
9044
9045 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9046 obsolete packages for deletion.
9047
09ac1c2a
CS
90482011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9049
9050 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9051 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9052 view-mode from help-mode.
9053 (help-xref-override-view-map): Remove.
9054 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9055 view-mode is not used anymore.
9056
7a1ff57f
CY
90572011-08-28 Chong Yidong <cyd@stupidchicken.com>
9058
9059 * server.el (server-port): Doc fix.
9060
b9696605
CY
9061 * cus-theme.el (custom-theme-choose-mode): Inherit from
9062 special-mode (Bug#9124).
9063 (custom-theme-choose-mode-map): Add special-mode to parent.
9064
ef8cdf8c
AM
90652011-08-28 Alan Mackenzie <acm@muc.de>
9066
9067 * progmodes/cc-fonts.el
9068 (c-make-font-lock-BO-decl-search-function): New function.
9069 (c-basic-matchers-after - "Fontify the clauses after various
9070 keywords"): Extract the three keyword lists for the 3 erroneous
9071 constructs from the list of four, and use the new function above
9072 in place of an old one.
9073
27de4e20
DD
90742011-08-28 Deniz Dogan <deniz@dogan.se>
9075
9076 * net/rcirc.el (rcirc-insert-prev-input)
9077 (rcirc-insert-next-input): Remove unused argument.
9078
356a3681
SM
90792011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9082
3fc9b218
AM
90832011-08-27 Alan Mackenzie <acm@muc.de>
9084
9085 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9086 handle function pointer parameters properly.
9087
538a061c
MR
90882011-08-27 Martin Rudalics <rudalics@gmx.at>
9089
9090 * window.el (display-buffer-reuse-window): Fix case where
9091 selected window was reused with non-nil OTHER-WINDOW argument.
9092 (Bug#9381)
9093
35b1c40c
DD
90942011-08-27 Deniz Dogan <deniz@dogan.se>
9095
9096 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9097 oftc's NickServ messages.
9098
2f6a3e79
GM
90992011-08-27 Glenn Morris <rgm@gnu.org>
9100
9101 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9102
7254299e
CY
91032011-08-26 Chong Yidong <cyd@stupidchicken.com>
9104
9105 * emacs-lisp/package.el (package-install): Call package-initialize
9106 if called interactively.
9107
f8ccf167
LL
91082011-08-26 Leo Liu <sdl.web@gmail.com>
9109
9110 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9111
3e8cd5ce
JL
91122011-08-25 Juri Linkov <juri@jurta.org>
9113
9114 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9115 `search-whitespace-regexp' (bug#9364).
9116
93eb7113
JL
91172011-08-25 Juri Linkov <juri@jurta.org>
9118
9119 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9120 `regexp-search-ring' to their global values to protect from
9121 updating by `read-from-minibuffer' (bug#9185).
9122
f65d1611
JL
91232011-08-25 Juri Linkov <juri@jurta.org>
9124
9125 * textmodes/ispell.el (ispell-command-loop): Add newline
9126 at the end of the "Use option `i'..." line.
9127
f1cf7a31
JL
91282011-08-25 Juri Linkov <juri@jurta.org>
9129
9130 * battery.el (display-battery-mode): If `battery-status-function'
9131 or `battery-mode-line-format' is nil, display the message and set
9132 `display-battery-mode' to nil (bug#9363).
9133
0c95fcf7
EZ
91342011-08-25 Eli Zaretskii <eliz@gnu.org>
9135
9136 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9137 bidi-string-mark-left-to-right; they are unnecessary now.
9138
a2ebe600
DD
91392011-08-25 Deniz Dogan <deniz@dogan.se>
9140
9141 * net/quickurl.el: Documentation typo fixes.
9142
e4ed06f1
CY
91432011-08-25 Chong Yidong <cyd@stupidchicken.com>
9144
9145 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9146
e5f1c99e
GM
91472011-08-25 Glenn Morris <rgm@gnu.org>
9148
b2948976
GM
9149 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9150
e5f1c99e
GM
9151 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9152 (smtpmail-via-smtp): Handle nil response from smtp.
9153
f22f4808
JL
91542011-08-24 Juri Linkov <juri@jurta.org>
9155
9156 * proced.el (proced-marked): Inherit from `error' instead of
9157 `font-lock-warning-face'.
9158
9159 * ibuffer.el (ibuffer-marked-face): Change default face from
9160 `font-lock-warning-face' to `warning'.
9161 (ibuffer-deletion-face): Change default face from
9162 `font-lock-type-face' to `error'.
9163
9164 * battery.el (battery-update): Use the face `error' instead of
9165 `font-lock-warning-face' (bug#6117).
9166
6a93965e
JL
91672011-08-24 Juri Linkov <juri@jurta.org>
9168
9169 * faces.el (success): Change face color from "Green3" to
9170 "ForestGreen" on light background (bug#9353).
9171
1ed43b09
CY
91722011-08-24 Chong Yidong <cyd@stupidchicken.com>
9173
5664fa7b
RT
9174 * window.el (quit-window): Rename from quit-restore-window.
9175 Use same arglist as old quit-window.
1ed43b09
CY
9176 (frame-auto-delete): Doc fix.
9177
9178 * view.el (view-mode-exit): Use quit-window.
9179
11dcdbb2
JL
91802011-08-24 Juri Linkov <juri@jurta.org>
9181
9182 * isearch.el (isearch-ring-adjust1): Start visiting previous
9183 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9184 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9185 for empty search string (when the last search string is reused
9186 automatically) to adjust the isearch ring to the last element and
9187 prepare the correct index for further M-p commands (bug#9185).
9188
de62b4df
KH
91892011-08-24 Kenichi Handa <handa@m17n.org>
9190
9191 * international/ucs-normalize.el: If decomposition property of
9192 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9193 nil.
9194 (nfd, nfkd): Likewise.
9195
963b492b
SM
91962011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9199 from process filters aren't reliably transmitted to the surrounding
9200 accept-process-output.
9201 (mpc-proc-check): New function.
9202 (mpc-proc-sync): Use it (bug#8293)
9203
93b6b5e1
SM
92042011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9205
9206 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9207 Add compatibility functions (bug#9313).
9208
bca633fb
EZ
92092011-08-23 Eli Zaretskii <eliz@gnu.org>
9210
b177498a
EZ
9211 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9212
6df6ae42 9213 * international/uni-bidi.el: Regenerate.
bca633fb 9214
0902a04e
KH
92152011-08-23 Kenichi Handa <handa@m17n.org>
9216
9217 * international/charprop.el:
9218 * international/uni-bidi.el:
9219 * international/uni-category.el:
9220 * international/uni-combining.el:
9221 * international/uni-comment.el:
9222 * international/uni-decimal.el:
9223 * international/uni-decomposition.el:
9224 * international/uni-digit.el:
9225 * international/uni-lowercase.el:
9226 * international/uni-mirrored.el:
9227 * international/uni-name.el:
9228 * international/uni-numeric.el:
9229 * international/uni-old-name.el:
9230 * international/uni-titlecase.el:
9231 * international/uni-uppercase.el: Regenerate.
9232
3bbf23bc
MR
92332011-08-23 Martin Rudalics <rudalics@gmx.at>
9234
9235 * help.el (help-window-setup): Fix message displayed when other
9236 window is reused. (Bug#9341)
9237
b3fd59bd
SM
92382011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9239
1802e444
SM
9240 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9241 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9242
b3fd59bd
SM
9243 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9244 Mark obsolete.
9245 * shell.el (shell-parse-pcomplete-arguments): New function.
9246 (shell-completion-vars): Use it instead (bug#9160).
9247
4eb61348
SM
92482011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9249
867cab74
SM
9250 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9251 strings and comments (bug#9333).
9252
4eb61348
SM
9253 * emacs-lisp/debug.el (debug-arglist): New function.
9254 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9255 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9256
262a1439
JL
92572011-08-22 Juri Linkov <juri@jurta.org>
9258
56ee679c
JL
9259 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9260 Revert regexp that highlights output switches to its old
9261 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9262
262a1439
JL
9263 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9264 to check for empty output (bug#9226).
9265
f13f86fb
CY
92662011-08-22 Chong Yidong <cyd@stupidchicken.com>
9267
9268 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9269 symbol-constituent as the default, as that stops font-lock from
9270 working properly (Bug#8843).
9271
c65c9622
LMI
92722011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9273
9274 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9275 `coding-system-for-*' around the process open call to avoid
9276 auth-source side effects.
e7f2c178 9277 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9278 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9279 probe hangs.
c65c9622 9280
23a8a5ab
CY
92812011-08-21 Chong Yidong <cyd@stupidchicken.com>
9282
ff98b2dd
CY
9283 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9284
23a8a5ab
CY
9285 * emacs-lisp/find-func.el (find-function-noselect): New arg
9286 lisp-only.
9287
9288 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9289 signal an error for built-in functions (Bug#6664).
9290
f5e3c598
LMI
92912011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9292
9293 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9294 (smtpmail-try-auth-methods): Use it.
9295
a3f2468a
CY
92962011-08-21 Chong Yidong <cyd@stupidchicken.com>
9297
2c34e8da
CY
9298 * font-lock.el (font-lock-fontify-region)
9299 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9300 (font-lock-default-unfontify-buffer)
9301 (font-lock-default-fontify-region)
9302 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9303
b3fd59bd
SM
9304 * progmodes/compile.el (compilation-error-properties):
9305 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9306 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9307 `ant' regexp.
ee31aabc 9308
a3f2468a
CY
9309 * net/browse-url.el (browse-url-firefox): Don't call
9310 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9311
8e999f70
GM
93122011-08-20 Glenn Morris <rgm@gnu.org>
9313
c21a496a
GM
9314 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9315
59ee0542
GM
9316 * tutorial.el (tutorial--default-keys): Update some default bindings.
9317
8e999f70
GM
9318 * files.el (hack-local-variables): Fully ignore case for "mode:".
9319
e3715033
AM
93202011-08-20 Alan Mackenzie <acm@muc.de>
9321
9322 Resolve invalid use of a regexp in regexp-opt.
9323
4d61f28d
JB
9324 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9325 detection for a java annotation.
e3715033 9326
4d61f28d 9327 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9328 detection for a java annotation.
9329
4d61f28d
JB
9330 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9331 handling for java.
e3715033
AM
9332 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9333
04ed2e9c
CY
93342011-08-20 Chong Yidong <cyd@stupidchicken.com>
9335
9336 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9337 (Bug#9274).
9338
826cee64
AM
93392011-08-20 Alan Mackenzie <acm@muc.de>
9340
58179cce 9341 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9342 such a construct. Mainly for when jit-lock etc. starts a chunk
9343 here.
9344
58179cce 9345 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9346 variable.
58179cce 9347 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9348 c-make-font-lock-search-function.
9349 (c-make-font-lock-search-function): Use the above function.
9350 (c-make-font-lock-context-search-function): New function.
9351 (c-cpp-matchers): Enhance the preprocessor expression case with
9352 the above function
9353 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9354 which takes an expression.
9355
9356 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9357
13009bd8
MR
93582011-08-20 Martin Rudalics <rudalics@gmx.at>
9359
9360 * window.el (display-buffer-reuse-window)
9361 (display-buffer-pop-up-window): Don't reuse or split a side
9362 window.
9363
9234ff7f
GM
93642011-08-19 Glenn Morris <rgm@gnu.org>
9365
9366 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9367 Downcase "Mode:". (Bug#9331)
9234ff7f 9368
f635daa1
CY
93692011-08-18 Chong Yidong <cyd@stupidchicken.com>
9370
9371 * international/characters.el: Add L and R categories.
9372
9373 * subr.el (bidi-string-mark-left-to-right): Rename from
9374 string-mark-left-to-right. Use category search.
9375
9376 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9377
bc987f8b
JL
93782011-08-18 Juri Linkov <juri@jurta.org>
9379
9380 * faces.el (error, warning, success): New faces with definitions
9381 copied from old default values of `font-lock-warning-face',
9382 `compilation-warning', `compilation-info' (bug#6117).
9383
9384 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9385
9386 * progmodes/compile.el (compilation-error): Inherit from `error'.
9387 (compilation-warning): Inherit from `warning'.
9388 (compilation-info): Inherit from `success'.
9389
9390 * dired.el (dired-marked): Inherit from `warning'.
9391 (dired-flagged): Inherit from `error'.
9392
57173b96
LMI
93932011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9394
3e79eb87
LMI
9395 * mail/smtpmail.el (auth-source): Require to avoid problems with
9396 binding variables (bug#9298). Also clean up some unused
9397 autoloads.
9398
b3fd59bd
SM
9399 * net/network-stream.el (network-stream-open-starttls):
9400 Support using starttls.el without using gnutls-cli.
57173b96 9401
02b404de
JL
94022011-08-17 Juri Linkov <juri@jurta.org>
9403
9404 * progmodes/grep.el (rgrep): Handle the case when
9405 `grep-find-command' is a cons cell (bug#9278).
9406
8c9177f2
MR
94072011-08-17 Martin Rudalics <rudalics@gmx.at>
9408
9409 * window.el (display-buffer-pop-up-frame): Run frame creation
9410 function with BUFFER current (as special-display-popup-frame
9411 does). Reported by Drew Adams.
9412
3644a0ab
DU
94132011-08-17 Daiki Ueno <ueno@unixuser.org>
9414
9415 * epa-mail.el: Simplify GnuPG group expansion using
9416 epg-expand-group.
9417 (epa-mail-group-alist, epa-mail-group-modtime)
9418 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9419 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9420 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9421 Remove.
9422
5e617bc2 94232011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9424
9425 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9426
9c4aeabf
AM
94272011-08-16 Alan Mackenzie <acm@muc.de>
9428
9429 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9430 Correct, to avoid the inside of macros.
9431
3a99bf64
RS
94322011-08-16 Richard Stallman <rms@gnu.org>
9433
04963aa8
RS
9434 * epa-mail.el: Handle GnuPG group definitions.
9435 (epa-mail-group-alist, epa-mail-group-modtime)
9436 (epa-mail-gnupg-conf-file): New variables.
9437 (epa-mail-parse-groups, epa-mail-sync-groups)
9438 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9439 (epa-mail-expand-recipients): New functions.
9440 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9441
177549d0
RS
9442 * mail/rmail.el (rmail-epa-decrypt): New command.
9443
fe38beef
RS
9444 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9445 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9446 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9447 (epa-decrypt-armor-in-region): Make error message clearer.
9448
934eacb9
SM
94492011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9452 and "a2b" to "ab" for `prefix'.
9453
d024fb4e
CY
94542011-08-14 Chong Yidong <cyd@stupidchicken.com>
9455
9456 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9457 filter groups.
de148fee
CY
9458 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9459 Fourquet (Bug#8804).
d024fb4e 9460
62f1ca49
JB
94612011-08-12 Juanma Barranquero <lekktu@gmail.com>
9462
9463 * startup.el (argi): Declare as global variable (bug#9275).
9464
9ccaaa4b
CY
94652011-08-12 Chong Yidong <cyd@stupidchicken.com>
9466
9467 * subr.el (string-mark-left-to-right): Search the entire string
9468 for RTL script, not just the terminating character. Doc fix.
9469
a3dae87a
SM
94702011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9471
6cd18349
SM
9472 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9473 New function.
9474 (js--regexp-literal, js-syntax-propertize-function): Remove.
9475 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9476 (js-mode-map): Don't rebind electric keys.
9477 (js-insert-and-indent): Remove.
9478 (js-mode): Setup electric-layout and electric-indent instead.
9479
a3dae87a
SM
9480 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9481
9d5cb631
DU
94822011-08-12 Daiki Ueno <ueno@unixuser.org>
9483
9484 * epa.el (epa-progress-callback-function): Fix the logic of
9485 displaying progress.
9486 * epa-file.el (epa-file-insert-file-contents): Make progress
9487 display more user-friendly.
9488 (epa-file-write-region): Ditto.
9489
3e26a4a2
CY
94902011-08-10 Chong Yidong <cyd@stupidchicken.com>
9491
9492 * subr.el (string-mark-left-to-right): New function.
9493
9494 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9495 Use string-mark-left-to-right.
9496 (list-buffers-noselect): Caller changed.
9497
a3dae87a
SM
9498 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9499 Use string-mark-left-to-right.
3e26a4a2
CY
9500 (tabulated-list-print): Recenter after moving point.
9501
ac8cf6e6
JL
95022011-08-10 Juri Linkov <juri@jurta.org>
9503
9504 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9505 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9506 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9507
8d96c9a4
CY
95082011-08-09 Chong Yidong <cyd@stupidchicken.com>
9509
9510 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9511 (Bug#7554).
9512
7be1c708 95132011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9514
9515 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9516 character. (Bug#6594)
9517
37e11a63
CY
95182011-08-08 Chong Yidong <cyd@stupidchicken.com>
9519
839dde57
CY
9520 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9521 (image-dired--with-db-file): New macro.
9522 (image-dired-write-tags, image-dired-remove-tag)
9523 (image-dired-create-gallery-lists, image-dired-write-comments)
9524 (image-dired-get-comment, image-dired-mark-tagged-files)
9525 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9526 (image-dired-gallery-generate): Use insert-file-contents.
9527
37e11a63
CY
9528 * time.el (display-time-world-list, display-time-world-display):
9529 * time-stamp.el (time-stamp-string):
9530 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9531 set-time-zone-rule (Bug#7337).
9532
0b4946c4
DU
95332011-08-08 Daiki Ueno <ueno@unixuser.org>
9534
9535 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9536 (epg-error-to-string, epg-errors-to-string): New function.
9537 (epg-wait-for-completion): Reverse errors list.
9538 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9539 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9540 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9541 (epg-sign-keys, epg-generate-key-from-file)
9542 (epg-generate-key-from-string): Format errors by using
9543 epg-errors-to-string (bug#9255).
9544 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9545
75bfc667
JL
95462011-08-07 Juri Linkov <juri@jurta.org>
9547
9548 * faces.el (list-faces-display): Remove extra angle bracket
9549 from `help-mode-map'.
9550
9551 * info.el (Info-history-toc-nodes): Doc fix.
9552
9553 * longlines.el (longlines-mode): Doc fix.
9554
673e08bb
SM
95552011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9556
4640dd88
SM
9557 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9558 of statements and in a few more cases (bug#9183).
9559
673e08bb
SM
9560 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9561 New functions.
9562 (cl-transform-lambda): Use them (bug#9239).
9563
89b3f019
MR
95642011-08-05 Martin Rudalics <rudalics@gmx.at>
9565
9566 * window.el (display-buffer-same-window)
9567 (display-buffer-same-frame, display-buffer-other-window)
9568 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9569 (pop-to-buffer-other-window)
9570 (pop-to-buffer-same-frame-other-window)
9571 (pop-to-buffer-other-frame): Make them defuns.
9572 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9573
640c8776
SM
95742011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9575
9576 * subr.el (make-composed-keymap): Move from C. Change calling
9577 convention, and improve docstring to bring attention to a subtle point.
9578 * minibuffer.el (completing-read-default): Adjust accordingly.
9579
63648a95
MA
95802011-08-03 Michael Albinus <michael.albinus@gmx.de>
9581
9582 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9583 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9584
9585 * net/trampver.el: Update release number.
9586
b796c9b7
SM
95872011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9588
9589 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9590 "in" (bug#9190).
9591
2239d7d5
LMI
95922011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9593
e07dd7c3
LMI
9594 * mail/sendmail.el (sendmail-query-once): Restore the current
9595 buffer after querying (bug#9074).
9596
0e6a2bd7
LMI
9597 * dired.el (dired-flagged): Use different faces for marked and
9598 flagged files (bug#6117).
9599
ce887515
LMI
9600 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9601 (bug#4433).
9602
92f2affc
LMI
9603 * ido.el (ido-mode): Switch off the message if called
9604 non-interactively.
9605
57d5aff0
LMI
9606 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9607 before 587, since it appears that that's more likely to work for
9608 more people.
9609
98cd6c18 9610 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9611 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9612 exist.
9613
b96dec83
LMI
9614 * info.el: Remove the `Info-beginning-of-buffer' function
9615 (bug#8325).
9616
b796c9b7
SM
9617 * net/network-stream.el (network-stream-open-starttls):
9618 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9619
d90e2ea0
MR
96202011-08-01 Martin Rudalics <rudalics@gmx.at>
9621
9622 * window.el (display-buffer-in-window): Don't set dedicated status
9623 of window here (Bug#9215).
9624 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9625 (display-buffer-pop-up-side-window)
b796c9b7 9626 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9627
cca09170
SM
96282011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9631 before binding generated-autoload-file.
9632
027b979c
DD
96332011-08-01 Deniz Dogan <deniz@dogan.se>
9634
9635 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9636
3c7ee4f3
MA
96372011-07-30 Michael Albinus <michael.albinus@gmx.de>
9638
9639 Sync with Tramp 2.2.2.
9640
9641 * net/trampver.el: Update release number.
9642
2cc8e51a
JL
96432011-07-30 Juri Linkov <juri@jurta.org>
9644
9645 * dired-aux.el (dired-touch-initial): Remove function.
9646 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9647 current time, and `default' to the last modification time of the
9648 current marked file (bug#6887).
9649
a514d856
JM
96502011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9651
9652 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9653 numeric argument to read-number (bug#9163).
a514d856 9654
8a7eddd7
MA
96552011-07-27 Michael Albinus <michael.albinus@gmx.de>
9656
9657 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9658 connection process, it could be nil.
9659
1ddd96f5
LL
96602011-07-27 Leo Liu <sdl.web@gmail.com>
9661
9662 Simplify url handling in rcirc-mode.
9663
9664 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9665 (rcirc-browse-url-at-mouse): Remove.
9666 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9667
b248a85d
AM
96682011-07-26 Alan Mackenzie <acm@muc.de>
9669
9670 Fontify bitfield declarations properly.
9671
9672 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9673 (c-symbol-chars): Now exported as a lang variable.
9674 (c-not-primitive-type-keywords): New lang variable.
9675
9676 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9677 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9678 parsed as a bitfield declaration.
b248a85d 9679
b796c9b7
SM
9680 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9681 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9682 (c-punctuation-in): New function.
9683 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9684 declarations properly.
9685
68575ab0
UJ
96862011-07-26 Ulf Jasper <ulf.jasper@web.de>
9687
9688 * calendar/icalendar.el (icalendar--all-events): Take care of
9689 multiple vcalendars in a single file.
b796c9b7 9690 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9691
0f0a88b9
DD
96922011-07-25 Deniz Dogan <deniz@dogan.se>
9693
9694 * image.el (insert-image): Clarifying docstring.
9695
0b3f36df
MA
96962011-07-24 Michael Albinus <michael.albinus@gmx.de>
9697
9698 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9699 `tramp-send-command-and-check' if there is no error.
9700 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9701
a9901f61
AM
97022011-07-22 Alan Mackenzie <acm@muc.de>
9703
9704 Prevent cc-langs.elc being loaded at run time.
9705
9706 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9707 cc-langs.
9708
4d61f28d 9709 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9710 "(require 'cc-langs)". Quote a form so it will evaluate at
9711 (cc-mode's) compilation time.
9712
11d074b2
MA
97132011-07-22 Michael Albinus <michael.albinus@gmx.de>
9714
9715 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9716 loading. (Bug#9114)
9717
938b94c8
MR
97182011-07-21 Martin Rudalics <rudalics@gmx.at>
9719
9720 * window.el (display-buffer-pop-up-window)
9721 (display-buffer-pop-up-side-window)
9722 (display-buffer-in-side-window): Call display-buffer-set-height
9723 and display-buffer-set-width after setting the new window's
b796c9b7 9724 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9725
bfa4f190
SS
97262011-07-20 Sam Steingold <sds@gnu.org>
9727
9728 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9729 (etags-tags-included-tables): Call `convert-standard-filename' on
9730 the file names contained in TAGS so that windows Emacs can handle
9731 TAGS files created by cygwin ctags.
9732
8ca42262
LMI
97332011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9734
9735 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9736 which apparently didn't work.
9737
5db2afd2 97382011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9739
5db2afd2
RW
9740 * proced.el (proced-send-signal): For *Marked Processes* buffer
9741 put point at beginning of buffer.
9742
92e15d10
SB
97432011-07-19 Stephen Berman <stephen.berman@gmx.net>
9744
9745 * proced.el (proced-format): Make header lines align with the text
9746 (bug#1779).
9747
1bfd59e5
LMI
97482011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9749
9750 * view.el (view-buffer): Allow running in `special' modes if we're
9751 visiting a file (bug#8615).
9752
f5aae37c
MR
97532011-07-19 Martin Rudalics <rudalics@gmx.at>
9754
9755 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9756 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9757 New functions.
f5aae37c
MR
9758 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9759 more accurately.
9760
bf2c1571
AM
97612011-07-18 Alan Mackenzie <acm@muc.de>
9762
9763 Fontify declarators properly when, e.g., a jit-lock chunk begins
9764 inside a declaration.
9765
9766 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9767
b796c9b7
SM
9768 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9769 New function.
bf2c1571
AM
9770 (c-complex-decl-matchers): Insert reference to
9771 c-font-lock-enclosing-decls.
9772
9773 * progmodes/cc-engine.el (c-backward-single-comment):
9774 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9775 to nil around calls to (forward-comment -1).
9776
4e190b80
LMI
97772011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9778
12dc863d
LMI
9779 * image.el (put-image): Doc typo fix.
9780
a762e966
LMI
9781 * progmodes/etags.el (tags-search): Doc typo fix.
9782
4e190b80
LMI
9783 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9784 password if we get errors 550 to 554.
9785
f019fb21
LMI
97862011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9787
b796c9b7 9788 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9789
81746738
LMI
9790 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9791 indentation character (bug#6380).
9792
3ee3a1b5
LMI
9793 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9794
c82f64de
LMI
9795 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9796 to clarify what the problem is (bug#4291).
9797
f019fb21
LMI
9798 * simple.el (current-kill): Clarify what
9799 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9800 (auto-fill-mode): Document `auto-fill-function' in relation to
9801 `auto-fill-mode' (bug#2470).
f019fb21 9802
0794775d
LM
98032011-07-16 Lawrence Mitchell <wence@gmx.li>
9804
9805 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9806 method if slot is read-only (bug#9035).
9807
be39b8cc
MR
98082011-07-16 Martin Rudalics <rudalics@gmx.at>
9809
b796c9b7 9810 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9811 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9812 selected before, see discussion of (Bug#8615), (Bug#6954).
9813 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9814
6ccf7859
GM
98152011-07-15 Glenn Morris <rgm@gnu.org>
9816
9817 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9818 Respect help-form.
6ccf7859 9819
87e86684
LM
98202011-07-09 Lawrence Mitchell <wence@gmx.li>
9821
9822 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9823 (gnutls-negotiate): Use it.
9824
d6066239
LMI
98252011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9826
b796c9b7
SM
9827 * net/gnutls.el (gnutls-negotiate):
9828 Upcase `gnutls-algorithm-priority'.
d6066239 9829
bd23ebc0
GM
98302011-07-15 Glenn Morris <rgm@gnu.org>
9831
c65bca65
GM
9832 * jka-compr.el (jka-compr-verbose): Move from here...
9833 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9834 Add missing :version tag.
9835 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9836
478615cc
LMI
98372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9838
7b41decb
LMI
9839 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9840 (gnutls-negotiate): Use it.
9841
dbc44fcd
LMI
9842 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9843
06789f97
LMI
9844 * info.el (Info-beginning-of-buffer): New command.
9845 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9846 announcing `b' as the key (bug#8325).
ab896c37 9847 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9848
c39da690
LMI
9849 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9850
3aa5f34b
LMI
9851 * international/mule-cmds.el
9852 (describe-specified-language-support): Make the error message
9853 clearer (bug#8905).
9854
4bf0979f
LMI
9855 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9856
478615cc
LMI
9857 * isearch.el (isearch-barrier): Add a doc string, since it's
9858 mentioned in a function doc string (bug#8678).
9859
75c68aa1
MR
98602011-07-15 Martin Rudalics <rudalics@gmx.at>
9861
9862 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9863 buffer argument (Bug#9083) and self-identifying label argument.
9864
a7c33da2
GM
98652011-07-15 Glenn Morris <rgm@gnu.org>
9866
9867 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9868
2f5c6024
LMI
98692011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9870
9871 * man.el (Man-fontify-manpage): Fix message when formatting the
9872 man page (bug#7929).
9873
0bb23927 98742011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9875
9876 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9877 argument LRM; if non-nil, append an invisible LRM character to the
9878 buffer name.
9879 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9880 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9881 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9882 paragraph direction.
cce4b0a7 9883
621ef9ab
LMI
98842011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9885
d1583c48
LMI
9886 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9887 the man page name (bug#7929).
9888
6a57fb5f
LMI
9889 * image.el (put-image): Mention the `put-image' overlay property
9890 (bug#7834).
9891
d7956b14
LMI
9892 * scroll-bar.el (set-scroll-bar-mode): Mention that
9893 `scroll-bar-mode' lists the values (bug#7772).
9894
5b2d4a66
LMI
9895 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9896 command (bug#7729).
9897
7509a874
LMI
9898 * rect.el (apply-on-rectangle): Return the point after the last
9899 operation.
9900 (string-rectangle): Go to the point after the last operation
9901 (bug#7522).
9902
4fe74b19
LMI
9903 * printing.el (pr-toggle-region): Clarify the documentation
9904 slightly (bug#7493).
9905
b796c9b7
SM
9906 * time.el (display-time-update):
9907 Allow `display-time-mail-function' to return nil (bug#7158).
9908 Fix suggested by Detlev Zundel.
ab283561 9909
fc233c9d
LMI
9910 * vc/diff.el (diff): Clarify the order the file names are read
9911 (bug#7111).
9912
43f5740b
LMI
9913 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9914 the doc string (bug#7015).
9915
f2182a76
LMI
9916 * font-lock.el (font-lock-maximum-decoration): Mention what
9917 numeric levels mean (bug#6935).
9918
621ef9ab
LMI
9919 * startup.el (initial-buffer-choice): Don't mention the `none'
9920 selection, which is against policy.
9921
adc47434
MR
99222011-07-14 Martin Rudalics <rudalics@gmx.at>
9923
b796c9b7
SM
9924 * window.el (display-buffer-normalize-special):
9925 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9926
7e5bfb8f
EZ
99272011-07-14 Eli Zaretskii <eliz@gnu.org>
9928
9929 * subr.el (version<, version<=, version=): Mention "-CVS" and
9930 "-12345" alpha version numbers.
9931
27fa387a
CY
99322011-07-14 Chong Yidong <cyd@stupidchicken.com>
9933
9934 * bindings.el: Add advertised binding for set-mark-command
9935 (Bug#5772).
9936
8bdfa064
CY
99372011-07-14 Chong Yidong <cyd@stupidchicken.com>
9938
9939 * bindings.el (mode-line-other-buffer):
9940 * bookmark.el (bookmark-bmenu-2-window):
9941 * bs.el (bs-cycle-next, bs-cycle-previous):
9942 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9943 switch-to-buffer.
9944
9945 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9946 Delete.
8bdfa064 9947
5eba16a3
JB
99482011-07-14 Juanma Barranquero <lekktu@gmail.com>
9949
9950 * follow.el (follow-debug-message, follow-redisplay):
9951 * jka-cmpr-hook.el (with-auto-compression-mode):
9952 Fix typos in docstrings.
9953
15853710
LMI
99542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9955
a28e4607
LMI
9956 * subr.el (with-silent-modifications): Clarify somewhat what the
9957 macro inhibits (bug#6525).
9958
15853710
LMI
9959 * simple.el (eval-expression): Note what it does if called
9960 interactively (bug#6495).
9961
bee0fcef
CY
99622011-07-13 Chong Yidong <cyd@stupidchicken.com>
9963
b796c9b7
SM
9964 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9965 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9966
9967 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9968 Remove switch-to-buffer.
9969
58274504
LMI
99702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9971
bd2fcc8d
LMI
9972 * files.el (make-directory): Clarify that an error will be raised
9973 if there's an error (bug#6397).
9974
0f04b32c
LMI
9975 * startup.el (initial-buffer-choice): Add `none' as a choice
9976 (bug#6234).
9977
465c5fc8
LMI
9978 * subr.el (add-hook): Clarify section about buffer-local hooks
9979 (bug#6218).
9980
58274504
LMI
9981 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9982
bead9a43
JB
99832011-07-13 Juanma Barranquero <lekktu@gmail.com>
9984
9985 * tabify.el (untabify): Preserve the current column so that point
9986 doesn't move (bug#6032).
9987
3af98a7b
LMI
99882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9989
b796c9b7
SM
9990 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9991 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9992
6240145a
GM
99932011-07-13 Glenn Morris <rgm@gnu.org>
9994
9995 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9996 (dired-insert-directory): Give a message the first time
9997 if ls is found not to support --dired.
9998
1d8c2ccc
LMI
99992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10000
10001 * simple.el (toggle-truncate-lines): Clarify what is toggled
10002 (bug#5580). Text by Drew Adams.
10003
5fc4038e
CY
100042011-07-13 Chong Yidong <cyd@stupidchicken.com>
10005
10006 * simple.el (blink-matching-open): Make the error message from the
10007 last change less verbose.
10008
bf6012e5
DN
100092011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10010
10011 * font-lock.el (font-lock-comment-face): Use the high contrast
10012 "yellow" color for font-lock-comment-face on low color terminals
10013 using a dark background color (bug#4221).
10014
343c3b5a
LMI
100152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10016
7e9505c5
LMI
10017 * dired.el (dired-insert-set-properties): Make the doc string
10018 reflect what it does now (bug#5325).
10019
c26fdcf5
LMI
10020 * simple.el (blink-matching-open): Say that we were unable to find
10021 the match within the limit, if we're limited (bug#5122).
10022
bb388cc5
LMI
10023 * international/mule-cmds.el (prefer-coding-system): Add an
10024 example (bug#4869).
10025
343c3b5a
LMI
10026 * progmodes/etags.el (tags-search): Document `file-list-form'
10027 (bug#4731).
10028
2a517d45
LM
100292011-07-13 Lawrence Mitchell <wence@gmx.li>
10030
10031 * net/browse-url.el (browse-url-default-browser)
10032 (browse-url-browser-function): Make the default browser choice a
10033 bit more logical (bug#4300). Also clean up the doc string.
10034
b6c78ef2
JB
100352011-07-13 Juanma Barranquero <lekktu@gmail.com>
10036
10037 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10038 binary endings (bug#4440).
10039
1c4dd947
LMI
100402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10041
a2014063
LMI
10042 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10043 which can be pretty annoying (bug#8971).
10044
9c9c2d88
LMI
10045 * jka-compr.el (jka-compr-verbose): New variable, and use
10046 throughout (bug#8971).
10047
1c4dd947
LMI
10048 * info.el (Info-find-file): Fall back on the installation
10049 directory if we can't find the info node anywhere else.
10050
a1c9f41b
SO
100512011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10052
10053 * vc/vc.el (vc-revert-file):
10054 Don't set file time-stamp in the past. (Bug#5181)
10055
536f3d36
LMI
100562011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10057
7152b011
LMI
10058 * files.el (after-find-file): Give a better error message when
10059 trying to find a symlink that points to a file that doesn't exist
10060 (bug#4398).
10061
536f3d36
LMI
10062 * progmodes/cc-vars.el: Remove (probably) misleading comment
10063 (bug#4396).
10064
460c0fba
JB
100652011-07-12 Johan Bockgård <bojohan@gnu.org>
10066
10067 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10068
7a6bda45
CY
100692011-07-12 Chong Yidong <cyd@stupidchicken.com>
10070
10071 * mouse-sel.el: Hack restoring functionality, while keeping
10072 compatibility with 2010-07-03 changes to mouse selection.
10073 (mouse-sel-primary-overlay): New var.
10074 (mouse-sel-selection-alist): Use it.
10075 (mouse-sel-mode): Doc fix; remove points that are default features
10076 of mouse.el.
10077
c79598ef
JB
100782011-07-12 Johan Bockgård <bojohan@gnu.org>
10079
10080 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10081 Fix previous fix (bug#2490).
10082
ff8be6ef
RW
100832011-07-12 Roland Winkler <winkler@gnu.org>
10084
b796c9b7
SM
10085 * textmodes/bibtex.el (bibtex-initialize):
10086 Use pop-to-buffer-same-window.
ff8be6ef
RW
10087 (bibtex-search-entries): Fix interactive call.
10088
296ba3ee
LMI
100892011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10090
f5242a02 10091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10092 Fontise bytecomp Error lines more correctly (bug#2490).
10093 Fix suggested by Johan Bockgård.
f5242a02 10094
296ba3ee
LMI
10095 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10096
10097 * dired-x.el (dired-guess-default): Use `delete-dups'.
10098
f69fd0d2
CY
100992011-07-12 Chong Yidong <cyd@stupidchicken.com>
10100
10101 * dired.el (dired-mark-prompt):
10102 * dired-aux.el (dired-read-shell-command): Doc fix.
10103
eab5dc07
LMI
101042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10105
b796c9b7
SM
10106 * mail/sendmail.el (sendmail-query-once):
10107 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10108 emacs -Q.
10109
10110 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10111
eab5dc07
LMI
10112 * cus-edit.el (custom-file): Take an optional no-error variable.
10113 (customize-save-variable): Set the variable, and give a warning if
10114 running under "emacs -q".
10115
a1e65d42
JB
101162011-07-11 Juanma Barranquero <lekktu@gmail.com>
10117
10118 * loadhist.el (unload-feature-special-hooks):
10119 Add `auto-coding-functions', `fill-nobreak-predicate' and
10120 `find-directory-functions' (bug#5327).
10121
1d52da10
LMI
101222011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10123
be958f1d
LMI
10124 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10125
5bedb26c
LMI
10126 * cus-edit.el (custom-guess-name-alist): -alist variables should
10127 use the `alist' type (bug#3120). Suggested by Drew Adams.
10128
1d52da10
LMI
10129 * printing.el: Add documentation to all the `pr-toggle-' commands.
10130
cd394be1 101312011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10132
10133 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10134 backends where it makes sense (bug#2623).
10135
dcc88d8a
LMI
101362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10137
c3de9feb
LMI
10138 * dired-x.el (dired-guess-default): Remove duplicate shell command
10139 entries (bug#2028).
8a93078b 10140 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10141 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10142
dcc88d8a
LMI
10143 * subr.el (remove-duplicates): New conveniency function.
10144
505e3645
LMI
101452011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10146
10147 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10148 (bug#1526).
10149
101502011-07-10 Martin Rudalics <rudalics@gmx.at>
10151
10152 * window.el (display-buffer-normalize-default): Don't invert
10153 meaning of even-window-heights. Reported by Eli Zaretskii
10154 <eliz@gnu.org>.
10155
455e4fa1
BR
101562011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10157
10158 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10159
8e0bc3e9
CY
101602011-07-10 Chong Yidong <cyd@stupidchicken.com>
10161
10162 * window.el (display-buffer): Fix arguments to
10163 display-buffer-reuse-window in last change.
10164
fa7c3228
CY
10165 * faces.el (link): Use a less saturated blue on light backgrounds.
10166
10167 * startup.el (fancy-startup-text, fancy-about-text)
10168 (fancy-startup-tail): Use font-lock faces, for background safety.
10169
c0a7f300
BN
101702011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10171
b796c9b7
SM
10172 * emulation/viper-cmd.el (viper-change-state-to-vi):
10173 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10174
4dc2a129
MR
101752011-07-09 Martin Rudalics <rudalics@gmx.at>
10176
10177 * window.el (display-buffer-default-specifiers): Remove.
10178 (display-buffer-macro-specifiers): Remove default specifiers.
10179 (display-buffer-alist): Default to nil.
b796c9b7 10180 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10181 (display-buffer-pop-up-window): Allow splitting internal
10182 windows. Check whether a live window was created.
10183 (display-buffer-other-window-means-other-frame)
10184 (display-buffer-normalize-arguments): Rename to
10185 display-buffer-normalize-argument and rewrite. Set the
10186 other-window specifier.
10187 (display-buffer-normalize-special): New function.
10188 (display-buffer-normalize-options): Rename to
10189 display-buffer-normalize-default and rewrite.
10190 (display-buffer-normalize-options-inhibit): Remove.
10191 (display-buffer-normalize-specifiers): Rewrite.
10192 (display-buffer): Process other-window specifier and call
10193 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10194 more faithfully.
b796c9b7 10195 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10196 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10197 (display-buffer-in-window, display-buffer-alist-set):
10198 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10199 <tassilo@member.fsf.org>.
10200
2d43b8c9
LL
102012011-07-09 Leo Liu <sdl.web@gmail.com>
10202
10203 * register.el (insert-register): Restore accidental change on
10204 2011-06-26. (Bug#9028)
10205
7f9b7c53
GM
102062011-07-09 Glenn Morris <rgm@gnu.org>
10207
10208 * subr.el (remq): Handle the empty list. (Bug#9024)
10209
f042cfd8
AS
102102011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10211
10212 * mail/sendmail.el (send-mail-function): No longer delay custom
10213 initialization.
10214 * custom.el (custom-initialize-delay): Doc fix.
10215
856b2f11
SM
102162011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10219
afae1d68
MA
102202011-07-08 Michael Albinus <michael.albinus@gmx.de>
10221
10222 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10223 human-friendly prompt.
10224
0757af94
SM
102252011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10228 provided by a particular plugin.
10229
d760b731
LMI
102302011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10231
10232 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10233 save customizations (with "emacs -Q"), just set the variable
10234 instead of erroring out.
10235
10236 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10237
cd79ce90
JL
102382011-07-08 Juri Linkov <juri@jurta.org>
10239
10240 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10241 (archive-zip-update-case): Use 7z if found by `executable-find'.
10242 The order of searching the available programs is the same as in
10243 `archive-zip-extract' (bug#8968).
10244
14cc04aa
CY
102452011-07-07 Chong Yidong <cyd@stupidchicken.com>
10246
10247 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10248 (menu-bar-options-menu): Tweak descriptions.
10249
0a1848ec
LMI
102502011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10251
10252 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10253 menu items into verb phrases (bug#1421). Also refill to fit under
10254 80 columns.
10255
f5bd0689
CY
102562011-07-07 Chong Yidong <cyd@stupidchicken.com>
10257
538e85c6
CY
10258 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10259 (Info-read-node-name): Doc fix (Bug#1084).
10260
f5bd0689
CY
10261 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10262 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10263 (end-of-sexp, beginning-of-sexp)
10264 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10265 (forward-symbol, forward-same-syntax, word-at-point)
10266 (sentence-at-point): Doc fix (Bug#1144).
10267
56ec5115
LMI
102682011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10269
f3f8e37f
LMI
10270 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10271 should cover it (bug#1281).
10272
0757af94 10273 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10274
e9fce1ac 10275 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10276 negotiation fails, then possibly try again with a non-encrypted
10277 connection (bug#9017).
10278
56ec5115
LMI
10279 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10280 be used.
10281
c2f9aec8
RS
102822011-07-07 Richard Stallman <rms@gnu.org>
10283
10284 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10285 property, and handle its changed format.
10286 Look for the correct line number.
10287 Use file's line contents (but not past first =) to find
10288 correct line in message.
10289
ef7b981d 102902011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10291
10292 * international/characters.el (build-unicode-category-table):
10293 Delete it.
0757af94 10294 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10295
0757af94 10296 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10297 to src/chartab.c.
10298 (get-char-code-property): Call unicode-property-table-internal to
10299 load a file. Call get-unicode-property-internal where necessary.
10300 (put-char-code-property): Call unicode-property-table-internal to
10301 load a file. Call put-unicode-property-internal where necessary.
10302 put-unicode-property-internal where necessary.
0757af94
SM
10303 (char-code-property-description):
10304 Call unicode-property-table-internal to load a file.
c805dec0
KH
10305
10306 * international/charprop.el:
10307 * international/uni-bidi.el:
10308 * international/uni-category.el:
10309 * international/uni-combining.el:
10310 * international/uni-comment.el:
10311 * international/uni-decimal.el:
10312 * international/uni-decomposition.el:
10313 * international/uni-digit.el:
10314 * international/uni-lowercase.el:
10315 * international/uni-mirrored.el:
10316 * international/uni-name.el:
10317 * international/uni-numeric.el:
10318 * international/uni-old-name.el:
10319 * international/uni-titlecase.el:
10320 * international/uni-uppercase.el: Regenerate.
10321
10322 * loadup.el: Load international/charprop.el before
10323 international/characters.
10324
e14b388a
CY
103252011-07-07 Chong Yidong <cyd@stupidchicken.com>
10326
10327 * window.el (next-buffer, previous-buffer): Signal an error if
10328 called from a minibuffer window.
10329
10330 * bindings.el: Revert 2011-07-04 change.
10331
354cf0ba
RS
103322011-07-06 Richard Stallman <rms@gnu.org>
10333
10334 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10335 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10336 Treat markers like ints.
10337 (rmail-mime-entity): Doc fix.
10338
a48868a7
LMI
103392011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10340
4906cd3d
LMI
10341 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10342 defcustom again for backwards compatibility.
10343
e0457abe
LMI
10344 * simple.el (shell-command-on-region): Fill.
10345
d67f7e1f
LMI
10346 * dired-aux.el (dired-kill-line): Add a doc string.
10347
fe204702
LMI
10348 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10349 to "\\sw\\|\\s_" (bug#358).
10350
a48868a7
LMI
10351 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10352 (dired-unmark-backward): Ditto.
10353 (dired-flag-backup-files): Ditto.
10354
10355 * dired-x.el (dired-mark-sexp): Ditto.
10356
aa8a705c
RS
103572011-07-06 Richard Stallman <rms@gnu.org>
10358
10359 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10360 (rmail-mime-entity): New arg TRUNCATED.
10361 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10362 New functions.
10363 (rmail-mime-save): Warn if entity is truncated.
10364 (rmail-mime-toggle-hidden): Likewise, for showing.
10365 (rmail-mime-process-multipart): Record when an entity is truncated.
10366
a9a936b9
RS
10367 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10368 if ENTITY is a string.
10369
1f2b92cb
LMI
103702011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10371
f4f73198 10372 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10373 of faces when `M-C-x'-ing their definitions (bug#8378).
10374 Also clean up the code slightly.
f4f73198 10375
12b16734 10376 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10377 because that makes the colors go away.
12b16734 10378
f0691d22
LMI
10379 * mail/sendmail.el (send-mail-function): Change the default to
10380 `sendmail-query-once'.
9e87df06 10381 (sendmail-query-once): Add an autoload cookie.
f0691d22 10382
1f2b92cb
LMI
10383 * net/network-stream.el (network-stream-open-starttls): Try using
10384 a plain connection even if the server offered STARTTLS, and we
10385 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10386 capability. This should make smtpmail.el work in slightly more
10387 configurations.
10388
1cdd2a1b
MA
103892011-07-06 Michael Albinus <michael.albinus@gmx.de>
10390
10391 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10392 New defun.
10393 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10394
fbcc67e2
MM
103952011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10396
10397 * progmodes/sql.el: Version 3.0
0757af94 10398 (sql-product-alist): Add product :completion-object,
fbcc67e2 10399 :completion-column, and :statement attributes.
0757af94 10400 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10401 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10402 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10403 ansi keywords.
10404 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10405 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10406 (sql-oracle-show-reserved-words): New function for development.
10407 (sql-product-font-lock): Simplify for source code buffers.
10408 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10409 New functions.
10410 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10411 (sql-mode-map): Add statement movement functions.
10412 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10413 New variable.
fbcc67e2
MM
10414 (sql-statement-regexp, sql-beginning-of-statement)
10415 (sql-end-of-statement, sql-signum): New functions.
0757af94 10416 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10417 (sql-show-sqli-buffer): Bug fix.
10418 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10419 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10420 with sql-interactive-mode.
10421 (sql-save-connection): Save buffer local settings.
0757af94 10422 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10423 (sql-product-interactive): Bug fix.
10424 (sql-preoutput-hold): New variable.
10425 (sql-interactive-remove-continuation-prompt): Bug fixes.
10426 (sql-debug-redirect): New variable.
10427 (sql-str-literal): New function.
10428 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10429 Redesign.
fbcc67e2
MM
10430 (sql-oracle-save-settings, sql-oracle-restore-settings)
10431 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10432 (sql-completion-object, sql-completion-column)
10433 (sql-completion-sqlbuf): New variables.
10434 (sql-build-completions-1, sql-build-completions)
10435 (sql-try-completion): New functions.
10436 (sql-read-table-name): Use them.
10437 (sql-contains-names): New buffer local variable.
10438 (sql-list-all, sql-list-table): Use it.
10439 (sql-oracle-completion-types): New variable.
10440 (sql-oracle-completion-object, sql-sqlite-completion-object)
10441 (sql-postgres-completion-object): New functions.
10442
d4eaeab1
GM
104432011-07-06 Glenn Morris <rgm@gnu.org>
10444
10445 * window.el (pop-to-buffer): Doc fix.
10446
322b7dab 104472011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10448
10449 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10450
322b7dab 104512011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10452
322b7dab 10453 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10454
322b7dab 10455 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10456
605dd5bf
CY
104572011-07-05 Chong Yidong <cyd@stupidchicken.com>
10458
10459 * button.el (button): Inherit from link face. Suggested by Dan
10460 Nicolaescu.
10461
7dbfa719
SM
104622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10463
3db614b0
SM
10464 * progmodes/gdb-mi.el: Fit in 80 columns.
10465 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10466 switch-to-buffer.
10467
7dbfa719
SM
10468 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10469 if imenu is simply not configured (bug#8941).
10470
919d884a
KM
104712011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10472
10473 * allout.el (allout-post-undo-hook): New allout outline-change
10474 event hook to signal undo activity.
10475 (allout-post-command-business): Run allout-post-undo-hook if an
10476 undo just occurred.
7dbfa719
SM
10477 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10478 * allout-widgets.el (allout-widgets-after-undo-function):
10479 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10480 in the vicinity of an undo.
10481 (allout-widgets-mode): Include allout-widgets-after-undo-function
10482 on the new allout-post-undo-hook.
10483
450a0f09
SM
104842011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10485
10486 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10487 Let define-derived-mode define it.
10488 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10489 cycles of abbrev-table inheritance (bug#8998).
10490
2de69e00
RW
104912011-07-05 Roland Winkler <winkler@gnu.org>
10492
10493 * textmodes/bibtex.el: Add support for biblatex.
10494 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10495 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10496 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10497 (bibtex-entry-alist, bibtex-field-alist): New variables.
10498 (bibtex-entry-field-alist): Obsolete alias for
10499 bibtex-BibTeX-entry-alist.
10500 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10501 (bibtex-set-dialect): New command.
10502 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10503 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10504 Bind via bibtex-set-dialect.
2de69e00
RW
10505 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10506 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10507 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10508 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10509 Define via bibtex-set-dialect.
450a0f09
SM
10510 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10511 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10512 (bibtex-vec-push, bibtex-vec-incr): New functions.
10513 (bibtex-format-entry, bibtex-field-list)
10514 (bibtex-print-help-message, bibtex-validate)
10515 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10516
2dcdbdd9
SM
105172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10518
10519 * progmodes/compile.el (compilation-goto-locus):
10520 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10521 * bs.el (bs-cycle-next, bs-cycle-previous):
10522 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10523 * bindings.el (mode-line-other-buffer):
10524 * autoinsert.el (auto-insert):
10525 * arc-mode.el (archive-extract):
10526 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10527
b27640fe
JB
105282011-07-05 Juanma Barranquero <lekktu@gmail.com>
10529
10530 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10531 Fix check of `emacs-lock-unlockable-modes'.
10532 Coerce true values of `emacs-lock--try-unlocking' to t.
10533
53bbe3ad
JB
105342011-07-05 Juanma Barranquero <lekktu@gmail.com>
10535
10536 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10537 * emacs-lock.el: New file.
10538
1d3cdbc7
JD
105392011-07-05 Julien Danjou <julien@danjou.info>
10540
10541 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10542 than `boundp' to check if face is set.
10543
9173deec
JB
105442011-07-05 Juanma Barranquero <lekktu@gmail.com>
10545
10546 * register.el (registerv-make):
10547 * window.el (window-min-height): Fix typos in docstrings.
10548
869795d6
JD
105492011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10550
9173deec 10551 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10552 Update doc string.
10553
b768cdcd
JB
105542011-07-04 Juanma Barranquero <lekktu@gmail.com>
10555
10556 * server.el (server-execute): Catch quit and call
10557 `server-return-error' to pass the error back to emacsclient and
10558 close the connection (bug#8942).
10559
13aa217b
KM
105602011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10561
10562 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10563 insecure exception for current topic. Also note that auto-saves
10564 are handled differently.
10565
5d3385a0 10566 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10567 State variables for tracking auto-save inhibition situation.
10568
10569 (allout-write-contents-hook-handler): Rename from
10570 'allout-write-file-hook-handler', and describe how it depends on
10571 write-contents-functions sensitivity to non-nil value to prevent
10572 file write.
10573
10574 (allout-auto-save-hook-handler): Remove. auto-save does not check
10575 this in individual buffers, only in the starting buffer, so this
10576 is not the right way for us to inhibit auto-save in a buffer
10577 according to its condition.
10578
10579 (allout-mode): Use new allout-write-contents-hook-handler, and
10580 only with write-contents-functions. Remove auto-save provisions -
10581 they're implemented elsewhere.
10582
10583 (allout-before-change-handler): If undo is in progress, note that
10584 for attention of allout-post-command-business.
10585
10586 (allout-post-command-business): If the command we're following was
10587 an undo, check for change in the status of encrypted items and
10588 adjust auto-save inhibitions accordingly.
10589
10590 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10591 according to whether there are or aren't any plain-text topics
10592 pending encryption.
10593
2dcdbdd9 10594 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10595 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10596 if there are plain-text topics pending encryption.
13aa217b
KM
10597
10598 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10599 buffer-saved-size and some allout state to not inhibit auto-saves
10600 if there are no longer any plain-text topics pending encryption.
10601
0757af94
SM
10602 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10603 No longer provide for exemption of the current topic.
13aa217b 10604
ac89b32c
JL
106052011-07-04 Juri Linkov <juri@jurta.org>
10606
10607 Add 7z operations to delete and save changed members (bug#8968).
10608 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10609 New defcustoms.
10610 (archive-7z-write-file-member): New function.
10611 (archive-7z-summarize): Fix the number of dashes in the
10612 listing output.
10613
8fa39615
SM
106142011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10615
10616 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10617 (bug#8958).
10618
2f11b3f1
CY
106192011-07-04 Chong Yidong <cyd@stupidchicken.com>
10620
d66fef2b
CY
10621 * bindings.el: Ignore next-buffer and previous-buffer in
10622 minibuffer-local-map.
10623
2f11b3f1
CY
10624 * font-lock.el (font-lock-builtin-face): Change light background
10625 color to dark slate blue (Bug#6693).
10626
f932a347
WD
106272011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10628
10629 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10630
c8af70e1
SM
106312011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10634 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10635 Add switch-to-buffer.
10636
f158badc
LMI
106372011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10638
10639 * isearch.el (isearch-search-fun-function): Clarify further the
10640 meaning of the function returned.
10641
6d95bd46
MA
106422011-07-04 Michael Albinus <michael.albinus@gmx.de>
10643
10644 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10645
10646 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10647 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10648 Use it.
10649 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10650 `tramp-default-remote-path' does not exist.
10651 (tramp-send-command-and-read): New optional argument NOERROR.
10652 (tramp-open-connection-setup-interactive-shell)
10653 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10654 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10655 (tramp-process-sentinel): Flush also process' connection property.
10656 (tramp-sh-handle-start-file-process): Do not set process
10657 sentinel. It is done now ...
10658 (tramp-maybe-open-connection): ... here. (Bug#8929)
10659
909e6b67
MK
106602011-07-04 MON KEY <monkey@sandpframing.com>
10661
10662 * play/animate.el (animate-string): Doc fixes and allow changing
10663 the buffer name (bug#5417).
10664
106652011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10666
c8af70e1 10667 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10668
f34755dc
PE
106692011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10670
396cec72
PE
10671 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10672 This is simpler and helps future-proof the code.
10673 (timer-until): Use time-subtract and float-time.
08235028 10674 (timer--time-less-p): Use time-less-p.
f34755dc 10675
56e6cc31
JB
106762011-07-04 Juanma Barranquero <lekktu@gmail.com>
10677
3abb79e5
JB
10678 * type-break.el (timep): Use the value of `float-time' to avoid a
10679 byte-compiler warning.
10680
56e6cc31
JB
10681 * server.el (server-eval-and-print): Return any result, even nil.
10682
7b9430b4
PE
106832011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10684
10685 * type-break.el: Accept time formats that the builtins accept.
10686 (timep, type-break-time-difference): Accept any format that
10687 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10688 This is simpler and helps future-proof the code.
10689 (type-break-time-difference): Round rather than ignoring
10690 subseconds components.
10691
3034e9e7
LMI
106922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10693
10694 * info.el (Info-apropos-matches): Make non-interactive, since it
10695 doesn't seem to do anything useful as a command (bug#8829).
10696
1485f4c0
CY
106972011-07-03 Chong Yidong <cyd@stupidchicken.com>
10698
10699 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10700 Move from faces.el.
1485f4c0
CY
10701 (frame-default-terminal-background): New function.
10702
10703 * custom.el (custom-push-theme): Don't record faces in `changed'
10704 theme; this doesn't work correctly for per-frame face settings.
10705 (disable-theme): Use face-set-after-frame-default to reset faces.
10706 (custom--frame-color-default): New function.
10707
9fa3dd45
LMI
107082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10709
c8af70e1 10710 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10711 (bug#8769).
10712
6cbbc20c
KR
107132011-03-29 Kevin Ryde <user42@zip.com.au>
10714
10715 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10716 `perl-Test2' extend to match possible "fail #N" rep count
10717 (bug#8377).
10718
c7f98048
LMI
107192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10720
65676592
LMI
10721 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10722 `smtpmail-via-smtp' now returns the error instead of nil.
10723
c7f98048
LMI
10724 * isearch.el (isearch-search-fun-function): Clarify the doc string
10725 (bug#8101).
10726
56e6cc31 107272011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10728
10729 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10730 unnecessary spaces (bug#8987).
10731
2b216704
LMI
107322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10733
10734 * net/network-stream.el (open-network-stream): Use the
10735 :end-of-capability command thoughout.
10736
107372011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10738
10739 * net/network-stream.el (open-network-stream): Add the
10740 :end-of-capability command parameter, used by pop3.el.
10741
36adf6ce
LMI
107422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10743
1ca0da0e
LMI
10744 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10745
fc00f69c
LMI
10746 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10747 for list)" (bug#6475).
10748
28fd8759 10749 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10750 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10751 an error (bug#6297).
10752
0dd8b6da
LMI
10753 * man.el (Man-reference-regexp): Allow matching possible
10754 word-wrapped references (bug#6289).
10755
ce1438d6
LMI
10756 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10757 for consistency with the other vc buffers (bug#6197).
10758 (vc-checkin): Ditto.
10759
10760 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10761
36adf6ce
LMI
10762 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10763
e83cc1f7
LMI
107642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10765
8a20ca4c
LMI
10766 * custom.el (defcustom): Clarify that :set is only used in the
10767 Customize user interface (bug#6089).
10768
83319045
LMI
10769 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10770 associated with a file, refuse to run instead of erroring out
10771 (bug#6084).
10772
a8392169
LMI
10773 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10774 the doc string, since it appears that using `fill-column' always
10775 controls the width (bug#7845).
10776
e83cc1f7
LMI
10777 * simple.el (shell-command-on-region): Say where the error output
10778 went if `shell-command-default-error-buffer' is set (bug#6857).
10779
e47ca23b
KM
107802011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10781
10782 * allout.el (allout-yank-processing): Adjust cursor position for
10783 backwards-deleted space.
10784
10785 (allout-rebullet-heading): Register changes with
10786 allout-exposure-changed-hook, so the modified topic is properly
10787 decorated.
10788
5cf56143
LMI
107892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10790
08549772
LMI
10791 * minibuffer.el (completion-in-region): Document PREDICATE
10792 (bug#7136).
10793
48e96771
LMI
10794 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10795 of keyword/argument pairs (bug#6904).
10796
c8af70e1
SM
10797 * replace.el (multi-occur):
10798 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10799
e17d05e2
LMI
108002011-07-02 Drew Adams <drew.adams@oracle.com>
10801
10802 * dired.el (dired-mark-if): Make the message about whether it's
10803 marking or unmarking clearer (bug#8523).
10804
063b0e45
LMI
108052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10806
10807 * disp-table.el (display-table-print-array): New function.
10808 (describe-display-table): Use it to print the vectors more pretty
10809 (Bug#8859).
10810
28545e04
MR
108112011-07-02 Martin Rudalics <rudalics@gmx.at>
10812
10813 * window.el (window-state-get-1): Don't assign clone numbers.
10814 Add clone-of item to list of window parameters.
10815 (window-state-put-2): Don't process clone numbers.
10816 (display-buffer-alist): Fix doc-string.
10817
3349e122
SM
108182011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10819
10820 * subr.el (remq): Don't allocate if it's not needed.
10821 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10822 (keymap--merge-bindings): New functions.
10823 (keymap-canonicalize): Use them to refine the canonicalization.
10824 * minibuffer.el (minibuffer-local-completion-map)
10825 (minibuffer-local-must-match-map): Move initialization from C.
10826 (minibuffer-local-filename-completion-map): Move initialization from C;
10827 don't inherit from anything here.
10828 (minibuffer-local-filename-must-match-map): Make obsolete.
10829 (completing-read-default): Use make-composed-keymap to combine
10830 minibuffer-local-filename-completion-map with either
10831 minibuffer-local-must-match-map or
10832 minibuffer-local-filename-completion-map.
10833
d224ac83
GM
108342011-07-01 Glenn Morris <rgm@gnu.org>
10835
3de63bf8
GM
10836 * type-break.el (type-break-time-sum): Use dolist.
10837
d224ac83
GM
10838 * textmodes/flyspell.el (flyspell-word-search-backward):
10839 Replace CL function.
10840
1a1e3f32
SM
108412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10842
fe3f64d5
SM
10843 * mouse.el (mouse--strip-first-event): New function.
10844 (function-key-map): Use it to map fringe clicks to normal clicks
10845 by default.
10846
eb604e34
SM
10847 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10848 (vc-bzr-revision-completion-table): Add support for annotate and date.
10849
1a1e3f32
SM
10850 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10851 inherit from parent.
10852
5bd35902
LMI
108532011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10854
ace6c69c 10855 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10856 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10857
191e2bed
LMI
10858 * dired.el (dired-mode): Fix up the doc string as suggested by
10859 Drew Adams (bug#8817).
10860
5bd35902
LMI
10861 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10862 cookie, since the manual says that it should be possible to add
10863 this function to `find-file-hook' (bug#8709).
10864
eee8207a
TZ
108652011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10866
10867 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10868 here. Noted Ted Zlatanov as the maintainer.
10869 (cfengine-common-settings, cfengine-common-syntax): New functions
10870 to set up common things between `cfengine-mode' and
10871 `cfengine3-mode'.
10872 (cfengine3-mode): New mode.
10873 (cfengine3-defuns cfengine3-defuns-regex
10874 (cfengine3-class-selector-regex cfengine3-category-regex)
10875 (cfengine3-vartypes cfengine3-font-lock-keywords)
10876 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10877 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10878
36b148cf
MA
108792011-07-01 Michael Albinus <michael.albinus@gmx.de>
10880
10881 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10882
10883 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10884
0bf4ba9a
MR
108852011-07-01 Martin Rudalics <rudalics@gmx.at>
10886
10887 * window.el (same-window-buffer-names, same-window-regexps)
10888 (same-window-p, special-display-frame-alist)
10889 (special-display-popup-frame, special-display-function)
10890 (special-display-buffer-names, special-display-regexps)
10891 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10892 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10893 (split-window-preferred-function, split-height-threshold)
10894 (split-width-threshold, even-window-heights)
10895 (display-buffer-mark-dedicated, window-splittable-p)
10896 (split-window-sensibly, window-safely-shrinkable-p):
10897 Un-obsolete.
10898 (display-buffer): Don't spread args with function specifier
10899 because special-display-popup-frame won't like it.
10900
35837f51
PE
109012011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10902
d0672f86
PE
10903 Time-stamp simplifications and fixes.
10904 These improve accuracy slightly, and future-proof the code
10905 against some potential changes to current-time format.
10906
b9444d97
PE
10907 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10908 by using time-since and float-time.
10909
0ef923dc
PE
10910 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10911 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10912 + NNN microseconds".
10913
2f81380d
PE
10914 * type-break.el (type-break-time-sum): Rewrite using time-add.
10915
845b5c3e
PE
10916 * play/hanoi.el (hanoi-current-time-float): Remove.
10917 All uses replaced by float-time.
10918
ee6f1be0
PE
10919 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10920 This yields a more-accurate answer.
10921 (rng-time-to-float): Remove; no longer needed.
10922
fe955043
PE
10923 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10924
5777162a
PE
10925 * calendar/timeclock.el (timeclock-seconds-to-time):
10926 Defalias to seconds-to-time, since they're the same thing.
10927
3103f8b6 10928 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10929 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10930 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10931
0e61a35f
SM
109322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * window.el (bury-buffer): Don't iconify the only frame.
10935 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10936 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10937
ddd63a1e
CY
109382011-07-01 Chong Yidong <cyd@stupidchicken.com>
10939
0e61a35f
SM
10940 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10941 Add mouse-yank-primary.
ddd63a1e 10942
055f4923
TZ
109432011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10944
10945 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10946
6a2fb145
SM
109472011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10950 (find-library-name): Use it to find relative load names when provided
10951 absolute file name (bug#8803).
10952
fd4983f2
LMI
109532011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10954
887d14ad
LMI
10955 * textmodes/flyspell.el (flyspell-word): Consider words that
10956 differ only in case as potential doublons (bug#5687).
10957
c53dc7fc
LMI
10958 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10959 Remove two rather uninteresting debugging-like messages to make
10960 debbugs.el more silent.
10961
fd4983f2
LMI
10962 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10963 a password-like phrase.
10964
7a71b18d 109652011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10966
10967 * progmodes/cc-guess.el: New file.
10968
6a2fb145 10969 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10970
10971 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10972 derived from `c-basic-common-init'.
10973
10974 * progmodes/cc-mode.el (top-level): Require cc-guess.
10975 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10976
1fa280a3
LM
109772011-06-30 Lawrence Mitchell <wence@gmx.li>
10978
10979 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10980
e6597158
AM
109812011-06-30 Alan Mackenzie <acm@muc.de>
10982
1fa280a3
LM
10983 * progmodes/cc-engine.el (c-guess-continued-construct):
10984 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10985 lock is disabled. Name this case as "CASE G".
10986
68ba37fb
KM
109872011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10988
10989 * allout.el (allout-yank-processing): Fix injection of extra space
10990 between bullet and non-whitespace character in first topic when
10991 pasting, ensuring that the actual spacing in the pasted topic
10992 following the bullet char is preserved. This extra space was
10993 causing pasted encrypted topics to get a decrypted status even
10994 when the content was actually still encrypted. Now the decryption
10995 status from before the paste is preserved.
10996
10997 (allout-flag-region): Set all allout overlays so they evaporate
10998 when reduced to zero length (evanescent), to prevent overlay
10999 leakage.
11000
887a0b34
GM
110012011-06-30 Glenn Morris <rgm@gnu.org>
11002
94b9acce
GM
11003 * w32-fns.el (w32-charset-info-alist): Declare.
11004
1d9b46d4
GM
11005 * find-dired.el (find-grep-options): Simplify.
11006
cc232200
GM
11007 * term/ns-win.el (ns-set-resource): Declare.
11008
28e77c46
GM
11009 * ses.el (row, col): Declare dynamic variables honestly.
11010
887a0b34
GM
11011 * textmodes/reftex-parse.el (index-tags): Declare.
11012
658d8eb8
CY
110132011-06-30 Chong Yidong <cyd@stupidchicken.com>
11014
11015 * cus-edit.el (customize-push-and-save): New function.
11016
11017 * files.el (hack-local-variables-confirm): Use it.
11018
1fa280a3
LM
11019 * custom.el (load-theme): New arg NO-CONFIRM.
11020 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11021 (custom-enabled-themes): Doc fix.
11022
11023 * cus-theme.el (customize-create-theme)
11024 (custom-theme-merge-theme): Callers to load-theme changed.
11025
bb617717
LMI
110262011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11027
d61bdd5d
LMI
11028 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11029 short URLs have at least one dot in them (bug #7614).
11030
bb617717
LMI
11031 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11032 nil, because using a pty is apparently too slow (bug #895).
11033
2f31f37a
LMI
110342011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11035
11036 * mail/sendmail.el (sendmail-query-once): New function.
11037 (sendmail-query-once-function): New variable.
11038
3076b24e
GM
110392011-06-29 Glenn Morris <rgm@gnu.org>
11040
faf2a174
GM
11041 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11042
3076b24e
GM
11043 * ses.el (top-level): Require cl when compiling.
11044 (ses-set-localvars): Fix error statement.
11045 Call it at compile time to silence a storm of warnings.
11046
5386012d
MR
110472011-06-29 Martin Rudalics <rudalics@gmx.at>
11048
11049 * window.el (normalize-live-buffer): Rename to
11050 window-normalize-buffer.
11051 (normalize-live-frame): Rename to window-normalize-frame.
11052 (normalize-any-window): Rename to window-normalize-any-window.
11053 (normalize-live-window): Rename to window-normalize-live-window.
11054 (make-window-atom): Rename to window-make-atom.
11055 (window-resize-reset): Rename to window--resize-reset.
11056 (window-resize-reset-1): Rename to window--resize-reset-1.
11057 (resize-mini-window): Rename to window--resize-mini-window.
11058 (resize-subwindows-skip-p): Rename to
11059 window--resize-subwindows-skip-p.
11060 (resize-subwindows-normal): Rename to
11061 window--resize-subwindows-normal.
11062 (resize-subwindows): Rename to window--resize-subwindows.
11063 (resize-other-windows): Rename to window--resize-siblings.
11064 (resize-this-window): Rename to window--resize-this-window.
11065 (resize-root-window): Rename to window--resize-root-window.
11066 (resize-root-window-vertically): Rename to
11067 window--resize-root-window-vertically.
11068 (normalize-buffer-to-display): Rename to
11069 window-normalize-buffer-to-display.
11070 (normalize-buffer-to-switch-to): Rename to
11071 window-normalize-buffer-to-switch-to.
11072 Correspondingly update all callers of the functions listed
11073 above.
11074 (display-buffer-alist, display-buffer-normalize-arguments)
11075 (display-buffer-normalize-options, display-buffer)
11076 (display-buffer-alist-set): Use "function" instead of
11077 "fun-with-args".
11078
1176868d
CY
110792011-06-28 Chong Yidong <cyd@stupidchicken.com>
11080
11081 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11082 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11083 debbugs.gnu.org. Mention acknowledgment email.
11084
20a7a65f
LMI
110852011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11086
11087 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11088 buffer multibyteness, since it shouldn't matter.
11089
5f45cca5
MR
110902011-06-28 Martin Rudalics <rudalics@gmx.at>
11091
11092 * window.el (display-buffer-in-side-window): Handle dedicated
11093 windows as in display-buffer-reuse-window.
11094 (display-buffer-normalize-alist): Use value of override
11095 specifier.
11096 (display-buffer-normalize-specifiers): Use value of
11097 other-window-means-other-frame specifier.
11098 (display-buffer-alist): Rewrite some texts in widgets.
11099 (display-buffer): Spread arguments when calling function
11100 specified by fun-with-args.
11101
ad85fe1f
DD
111022011-06-28 Deniz Dogan <deniz@dogan.se>
11103
1fa280a3
LM
11104 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11105 Unnest `let'.
da68c4c8 11106
ad85fe1f
DD
11107 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11108 selectors (Bug#5732).
ec49bd31 11109 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11110
a08cc025
JA
111112011-06-27 Jari Aalto <jari.aalto@cante.net>
11112
11113 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11114 (eshell-ls-date-format): New defcustom.
11115 (eshell-ls-file): Use it.
11116
e2b551c5
SM
111172011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11120
8982b231
KY
111212011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11122
11123 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11124 (ange-ftp-make-tmp-name): New arg.
11125 (ange-ftp-file-local-copy): Use it.
11126
36c9fa27
J
111272011-06-27 Jambunathan K <kjambunathan@gmail.com>
11128
11129 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11130 no-conversion (Bug#8870).
11131
d68443dc
MR
111322011-06-27 Martin Rudalics <rudalics@gmx.at>
11133
11134 * window.el (window-right, window-left, window-child)
11135 (window-child-count, window-last-child)
11136 (window-iso-combination-p, walk-window-tree-1)
11137 (window-atom-check-1, window-tree-1, delete-window)
11138 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11139 new naming conventions - window-vchild, window-hchild,
11140 window-next and window-prev are now called window-top-child,
11141 window-left-child, window-next-sibling and window-prev-sibling
11142 respectively.
d615d6d2
MR
11143 (resize-window-reset): Rename to window-resize-reset.
11144 (resize-window-reset-1): Rename to window-resize-reset-1.
11145 (resize-window): Rename to window-resize.
11146 (window-min-height, window-min-width)
11147 (resize-mini-window, resize-this-window, resize-root-window)
11148 (resize-root-window-vertically, adjust-window-trailing-edge)
11149 (enlarge-window, shrink-window, maximize-window)
11150 (minimize-window, delete-window, quit-restore-window)
11151 (split-window, balance-windows, balance-windows-area-adjust)
11152 (balance-windows-area, window-state-put-2)
11153 (display-buffer-even-window-sizes, display-buffer-set-height)
11154 (display-buffer-set-width, set-window-text-height)
11155 (fit-window-to-buffer): Rename all "resize-window" prefixed
11156 calls to use the "window-resize" prefix convention.
11157 (display-buffer-alist): Fix symbol for label specifier.
11158 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11159 corresponding specifier.
11160 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11161
b6458526
VB
111622011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11163
11164 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11165 convention.
11166 (ses-call-printer): Does not pass an empty string to formatter when the
11167 cell is empty to keep from barking printer Calc math-format-value.
11168
d31fd9ac
RS
111692011-06-27 Richard Stallman <rms@gnu.org>
11170
43d5bf84
RS
11171 * battery.el (battery-mode-line-limit): New variable.
11172 (battery-update): Handle it.
11173
d31fd9ac
RS
11174 * mail/rmailmm.el (rmail-mime-process-multipart):
11175 Handle truncated messages.
11176
819a6054
GM
111772011-06-27 Glenn Morris <rgm@gnu.org>
11178
11179 * progmodes/flymake.el (flymake-err-line-patterns):
11180 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11181
cedc73f2
VB
111822011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11183
819a6054 11184 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11185 (ses--clean-!, ses--clean-_): New functions.
11186 (ses-range): Add configurability of readout order, and conversion
11187 to Calc vector.
11188
5e5d49b6
VB
11189 * ses.el (ses-repair-cell-reference-all): New function.
11190 (ses-cell-symbol): Set macro as safe, so that it can be used in
11191 formulas.
11192
56e6cc31 11193 * ses.el: Update cycle detection algorithm.
90ca8b49 11194 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11195 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11196 (ses-set-localvars): New function.
11197 (ses-make-cell): Add property-list as a cell element.
11198 (ses-cell-property-get-fun, ses-cell-property-get)
11199 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11200 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11201 New functions.
90ca8b49
VB
11202 (ses-cell-property-set, ses-cell-property-pop)
11203 (ses-cell-property-get-handle): New macro.
11204 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11205 New aliases, used for code readability.
11206 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11207 cycle detection.
11208 (ses-self-reference-early-detection): New defcustom.
fac916bf 11209 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11210 (ses-mode): Use ses-set-localvars.
11211 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11212 before lauching the update processing.
11213 (ses-initialize-Dijkstra-attempt): New function.
11214 (ses-recalculate-cell): Update for cycle detection based on
11215 Dijkstra algorithm.
11216
2bb63e81
VB
11217 * ses.el: Fix commenting and indenting convention.
11218
c9d29fb8
SM
112192011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11220
11221 * bs.el (bs-cycle-next): Complete last change.
11222
d8e4b68b
JB
112232011-06-27 Drew Adams <drew.adams@oracle.com>
11224
11225 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11226
40098786
LMI
112272011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11228
c9d29fb8
SM
11229 * net/network-stream.el (network-stream-open-starttls):
11230 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11231 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11232
40098786
LMI
11233 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11234 to binary to possibly avoid line encoding issues on Windows (among
11235 other things).
11236
468d09d4
LMI
112372011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11238
11239 * net/network-stream.el (open-network-stream): Return an :error
11240 saying what the problem was, if possible.
11241
11242 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11243 server.
11244
11245 * net/network-stream.el (network-stream-open-starttls): If we
11246 wanted to use STARTTLS, and the server offered it, but we weren't
11247 able to because we had no STARTTLS support, then close the connection.
11248 (open-network-stream): Return an :error element, if present.
11249
16f07dd7
CY
112502011-06-26 Chong Yidong <cyd@stupidchicken.com>
11251
88821ca0
CY
11252 * hl-line.el (hl-line-sticky-flag): Doc fix.
11253 (global-hl-line-sticky-flag): New option (Bug#8323).
11254 (global-hl-line-highlight): Obey it.
11255
16f07dd7
CY
11256 * vc/vc.el (vc-revert-show-diff): Default to t.
11257
6b5ccddf
KM
112582011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11259
c9d29fb8
SM
11260 * allout-widgets.el (allout-widgets-post-command-business):
11261 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11262 undecorated when an isearch is continued past, and isearch
11263 automatically collapses them. This leads to "widget leaks", where
11264 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11265 hidden widgets can slow down cursor travel, substantially.
11266 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11267 so we're doing without this nicety.
11268
11269 (allout-widgets-tally-string): Don't try to do a hash-table-count
11270 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11271 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11272 *Messages* when allout-widgets-maintain-tally is t.
11273
355f2e07
MR
112742011-06-26 Martin Rudalics <rudalics@gmx.at>
11275
11276 * window.el (display-buffer-normalize-argument): Rename to
11277 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11278 LABEL argument. Respect special-display-function when popping up
11279 a new frame. Fix code searching for a window showing the buffer
11280 on another frame.
c9d29fb8
SM
11281 (display-buffer-normalize-specifiers):
11282 Call display-buffer-normalize-arguments.
355f2e07
MR
11283 (display-buffer-in-window): Don't undedicate the window if its
11284 buffer remains the same.
11285 Reported by Drew Adams <drew.adams@oracle.com>.
11286 (display-buffer-alist): Add choice for same-window macro
11287 specfier.
11288 (display-buffer): Mention special meaning of LABEL argument in
11289 doc-string. Fix quoting. Don't pop up a new frame even as
11290 fallback.
11291
7ca8fc42
JB
112922011-06-26 Juanma Barranquero <lekktu@gmail.com>
11293
11294 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11295 avoid deleting the current window in some cases (bug#8911).
11296
bc312254
AS
112972011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11298
11299 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11300 (Bug#8934)
11301
2db18f3f
LMI
113022011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11303
c9d29fb8
SM
11304 * net/network-stream.el (network-stream-open-starttls):
11305 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11306 (network-stream-open-tls): Ditto.
11307
6302e0d3
LL
113082011-06-26 Leo Liu <sdl.web@gmail.com>
11309
11310 * register.el (registerv): New struct.
11311 (registerv-make): New function.
c9d29fb8
SM
11312 (jump-to-register, describe-register-1, insert-register):
11313 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11314 struct. (Bug#8415)
11315
5fdd4046
CY
113162011-06-26 Chong Yidong <cyd@stupidchicken.com>
11317
2afef60a
CY
11318 * vc/vc.el (vc-revert-show-diff): New defcustom.
11319 (vc-diff-internal): New arg specifying diff buffer.
11320 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11321 reuse an existing *vc-diff* buffer (Bug#8927).
11322
5fdd4046
CY
11323 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11324
e93db24a
GM
113252011-06-26 Glenn Morris <rgm@gnu.org>
11326
11327 * progmodes/f90.el (f90-critical-indent): New option.
11328 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11329 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11330 (f90-mode): Doc fix.
11331 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11332 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11333 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11334 (f90-match-end): Handle block, critical.
11335
eefff499
GM
113362011-06-25 Glenn Morris <rgm@gnu.org>
11337
f6ba4cc9
GM
11338 * calendar/diary-lib.el (diary-included-files): Doc fix.
11339 (diary-include-files): New function, extracted from
11340 diary-include-other-diary-files and diary-mark-included-diary-files.
11341 (diary-include-other-diary-files, diary-mark-included-diary-files):
11342 Just call diary-include-files.
11343 (diary-mark-entries): Reset diary-included-files on first call.
11344
16712304
GM
11345 * calendar/diary-lib.el (diary-mark-entries)
11346 (diary-mark-included-diary-files):
11347 Visit included diary-files in temp buffers.
11348
5d8e0d43
GM
11349 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11350 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11351 (f90-start-block-re, f90-imenu-generic-expression)
11352 (f90-looking-at-program-block-start, f90-no-block-limit):
11353 Add support for submodules.
11354
ccf7a5d5
GM
11355 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11356 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11357
11fdef7d 113582011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11359
11360 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11361 buffer-file-type before setting its value, to avoid disastrous
eefff499 11362 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11363
74f53697
JB
113642011-06-25 Juanma Barranquero <lekktu@gmail.com>
11365
11366 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11367
11368 * ses.el (ses-unload-function):
11369 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11370
11371 * proced.el (proced-unload-function):
11372 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11373
18a4ce5e
AR
113742011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11375
11376 * server.el (server-create-window-system-frame): Add parameters arg.
11377 (server-process-filter): Doc fix. Handle frame-parameters.
11378
519d22cc
JB
113792011-06-25 Juanma Barranquero <lekktu@gmail.com>
11380
11381 Fix bug#8730, bug#8781.
11382
11383 * loadhist.el (unload--set-major-mode): New function.
11384 (unload-feature): Use it.
11385
11386 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11387 (python-unload-function): New function.
11388
c206f5b0
SM
113892011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11392
f9ad64f3
GS
113932011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11394
11395 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11396 the candidates list.
11397
7d0da90e
JB
113982011-06-24 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11401
14b4e83d
RS
114022011-06-23 Richard Stallman <rms@gnu.org>
11403
11404 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11405 (rmail-variables): Set next-error-move-function.
11406 (rmail-what-message): Take argument POS.
11407 (rmail-next-error-move): New function.
11408
273d2baf
SM
114092011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11412 messages for adjacent non-terminals.
11413
56c2cc9a
RS
114142011-06-23 Richard Stallman <rms@gnu.org>
11415
11416 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11417 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11418 (rmail-start-mail): Don't specify use of rmail-mail-return;
11419 that's done by mail-bury now.
11420 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11421
d59eb518
MA
114222011-06-23 Michael Albinus <michael.albinus@gmx.de>
11423
11424 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11425 SIZE is a number.
11426
02cfc6d6
MR
114272011-06-23 Martin Rudalics <rudalics@gmx.at>
11428
11429 * window.el (get-lru-window, get-mru-window)
11430 (get-largest-window): Never return a minibuffer window.
11431 (display-buffer-pop-up-window): Fix a bug that could lead to
11432 reusing the minibuffer window.
11433 (display-buffer): Pass original specifier argument to
11434 display-buffer-function instead of the normalized one.
11435 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11436
4e323265
LL
114372011-06-22 Leo Liu <sdl.web@gmail.com>
11438
11439 * minibuffer.el (completing-read-function)
11440 (completing-read-default): Move from minibuf.c
11441
7a70468f
RS
114422011-06-22 Richard Stallman <rms@gnu.org>
11443
50718fc2
RS
11444 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11445 to Rmail even if not started by a special Rmail command.
11446
7a70468f
RS
11447 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11448 Copy the buffer currently showing just one message.
11449
297dde5a
RW
114502011-06-22 Roland Winkler <winkler@gnu.org>
11451
11452 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11453 (bibtex-clean-entry): First delete the old key so that a
11454 customized algorithm for generating the new key does not get
11455 confused by the old key.
11456 (bibtex-url): Obey regexp of first step.
11457 (bibtex-search-entries): Do not use add-to-list with local
11458 list-var.
11459
97bb1093
LMI
114602011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11461
11462 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11463 stored a user name, then query for the password first, instead of
11464 waiting for SMTP to give an error message and the trying again.
11465
1c0f1a19
JD
114662011-06-22 Lawrence Mitchell <wence@gmx.li>
11467
11468 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11469 BUFFER in call-process.
11470
396f7c9d
LMI
114712011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11472
11473 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11474 QUIT twice.
ddb7ffee
LMI
11475 (smtpmail-try-auth-methods): Require user name and password from
11476 auth-source.
396f7c9d 11477
8998d1b3
MR
114782011-06-22 Martin Rudalics <rudalics@gmx.at>
11479
11480 * window.el (display-buffer-default-specifiers)
11481 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11482 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11483 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11484
11485 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11486 (special-display-frame-alist, special-display-popup-frame):
11487 Remove duplicate declarations. These are now in window.el.
11488
4ea31e07
LMI
114892011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11490
c9d29fb8
SM
11491 * mail/smtpmail.el (smtpmail-via-smtp):
11492 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11493 server supports it. SMTP servers that support STARTTLS commonly
11494 require it.
11495
11496 * net/network-stream.el (network-stream-open-starttls): Support
11497 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11498 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11499
95f41d9a
LMI
11500 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11501 upgrades with `open-network-stream', and rely solely on
11502 auth-source for all credentials. Big changes throughout the file,
11503 but in particular:
c9d29fb8
SM
11504 (smtpmail-auth-credentials): Remove.
11505 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11506 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11507 MAIL FROM, too.
95f41d9a 11508
c9d29fb8
SM
11509 * net/network-stream.el (network-stream-open-starttls):
11510 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11511 STARTTLS.
11512 (auth-source): Require.
11513 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11514 (network-stream-certificate): Change cert-cert to cert and
11515 cert-key to key.
4ea31e07 11516
065ec2c7
MA
115172011-06-21 Michael Albinus <michael.albinus@gmx.de>
11518
11519 * net/tramp-cache.el (top): Don't load the persistency file when
11520 "emacs -Q" has been called.
11521
cd93b359
DR
115222011-06-21 Tim Harper <timcharper@gmail.com>
11523
d8e4b68b
JB
11524 * term/ns-win.el (ns-initialize-window-system):
11525 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11526 resource to NO as it is not yet supported by the NS port.
11527
ae9c0411
JB
115282011-06-21 Juanma Barranquero <lekktu@gmail.com>
11529
11530 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11531 (list-dynamic-libraries): ...not here.
11532
7f3f739f
LL
115332011-06-21 Leo Liu <sdl.web@gmail.com>
11534
11535 * subr.el (sha1): Implement sha1 using secure-hash.
11536
327c8fb1
MR
115372011-06-21 Martin Rudalics <rudalics@gmx.at>
11538
11539 * window.el (display-buffer-alist): In default value do not
11540 enforce searching a window on any but the selected frame.
11541 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11542 (display-buffer-select-window): Remove function.
11543 (display-buffer-in-window): When a window on another frame gets
11544 reused, do not select it any more but just raise its frame if
11545 necessary (Bug#8851) and (Bug#8856).
11546 (display-buffer-normalize-options): Handle pop-up-frames related
11547 options more faithfully.
11548 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11549 window if it is on another frame.
c9d29fb8
SM
11550 (display-buffer-alist, display-buffer-default-specifiers):
11551 Don't make new frame unsplittable by default.
9e9de014
MR
11552 (display-buffer-normalize-argument): Fix doc-string typo and use
11553 'same-frame-other-window instead of 'other-window when associating
11554 with display-buffer-macro-specifiers.
327c8fb1 11555
7cf3f556
VB
115562011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11557
11558 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11559 New functions.
11560 (5x5-mode-map, 5x5-mode-menu): Bind them.
11561 (5x5-draw-grid): Tweak the solver's rendering.
11562
60a406cf
SM
115632011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11566 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11567
d8e4b68b 115682011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11569
11570 * menu-bar.el: Use function variable instead of switch-to-buffer.
11571 (menu-bar-select-buffer-function): New variable.
60a406cf 11572 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11573
478d6f95
SM
115742011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11577 variable's status.
11578
ca530739
JD
115792011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11580
11581 * x-dnd.el (x-dnd-version-from-flags)
11582 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11583 and long as number (Bug#8899).
11584 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11585
bcd70d97
SM
115862011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11587
60a406cf 11588 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11589 (completion-try-completion, completion-all-completions): Compute the
11590 metadata argument if it's missing; make it optional (bug#8795).
11591
60a406cf 11592 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11593 (widget-complete): Use new :completion-function property.
11594 (widget-completions-at-point): New function.
11595 (default): Use :completion-function instead of :complete.
60a406cf
SM
11596 (widget-default-completions): Rename from widget-default-complete;
11597 Rewrite.
bcd70d97
SM
11598 (widget-string-complete, widget-file-complete, widget-color-complete):
11599 Remove functions.
11600 (file, symbol, function, variable, coding-system, color):
11601 * international/mule-cmds.el (default-input-method, charset)
11602 (language-info-custom-alist):
11603 * cus-edit.el (face): Use new property :completions.
11604
11605 * progmodes/pascal.el (pascal-completions-at-point): New function.
11606 (pascal-mode): Use it.
11607 (pascal-mode-map): Use completion-at-point.
11608 (pascal-toggle-completions): Make obsolete.
11609 (pascal-complete-word, pascal-show-completions):
11610 * progmodes/octave-mod.el (octave-complete-symbol):
11611 Redefine as obsolete alias.
11612 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11613 Signal absence of completion info for old Octave,
11614 (inferior-octave-complete): Redefine as obsolete alias.
11615 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11616 (meta-completions-at-point): Rename from meta-complete-symbol and
11617 adapt it for use on completion-at-point-functions.
11618 (meta-common-mode): Use it.
11619 (meta-looking-at-backward, meta-match-buffer): Remove.
11620 (meta-complete-symbol): Redefine as obsolete alias.
11621 (meta-common-mode-map): Use completion-at-point.
11622 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11623 (makefile-mode-map): Use completion-at-point.
11624 (makefile-completions-at-point): Rename from makefile-complete and
11625 adapt it for use on completion-at-point-functions.
11626 (makefile-mode): Use it.
11627 (makefile-complete): Redefine as obsolete alias.
11628
aebf69c8
DD
116292011-06-20 Deniz Dogan <deniz@dogan.se>
11630
11631 * net/rcirc.el: Delete trailing whitespaces once and for all.
11632
bfbbb27d
DC
116332011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11634
11635 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11636
d264a46b
CY
116372011-06-19 Chong Yidong <cyd@stupidchicken.com>
11638
4ca009e5
CY
11639 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11640
d264a46b
CY
11641 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11642
fbf5b3ce
MR
116432011-06-19 Martin Rudalics <rudalics@gmx.at>
11644
11645 * window.el (display-buffer-other-window-means-other-frame):
11646 Call display-buffer-normalize-alist.
11647 (display-buffer-normalize-specifiers-1): Rename to
11648 display-buffer-normalize-argument. New argument other-frame.
11649 Rewrite.
11650 (display-buffer-normalize-specifiers-2): Rename to
11651 display-buffer-normalize-options.
11652 (display-buffer-normalize-alist-1): New function.
11653 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11654 display-buffer-normalize-alist.
11655 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11656 (display-buffer-normalize-options-inhibit): New variable.
11657 (display-buffer-normalize-specifiers): Rewrite calling
11658 display-buffer-normalize-alist,
11659 display-buffer-normalize-argument, and
11660 display-buffer-normalize-options. Don't call the latter if
11661 display-buffer-normalize-options-inhibit is non-nil.
11662 (frame-auto-delete): New option.
11663 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11664 (window-list-no-nils, window-state-ignored-parameters)
11665 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11666 (window-state-put-1, window-state-put-2, window-state-put):
11667 New functions.
9a028c23
MR
11668 (display-buffer-normalize-options): Move special-display-p group
11669 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11670
6d10d800
CY
116712011-06-18 Chong Yidong <cyd@stupidchicken.com>
11672
6420d28b
CY
11673 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11674 groups (Bug#8776).
11675 (rx-submatch-n): New function.
11676 (rx): Document it.
11677
ddb8b596
CY
11678 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11679 (Bug#8768).
11680
11681 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11682
77080289
CY
11683 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11684
61dfb316
CY
11685 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11686 anytime existing face settings are present (Bug#8889).
11687
6d10d800
CY
11688 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11689 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11690 Remove unused argument.
11691
be3fb2b8
MR
116922011-06-18 Martin Rudalics <rudalics@gmx.at>
11693
bcd70d97
SM
11694 * window.el (display-buffer-default-specifiers):
11695 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11696 pop-up-window-min-width, and another reuse-window specifier
11697 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11698 (display-buffer-normalize-specifiers-2):
11699 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11700 pop-up-windows is unset. Add a reuse-window specifier for the
11701 case popping up a new window fails.
11702 (special-display-popup-frame): Remove double quoting.
28dec25a 11703 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11704
1c6d8c76
SM
117052011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11708 according to comint-completion-addsuffix.
11709
11710 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11711 (pcomplete-suffix-list): Mark as obsolete.
11712 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11713 pcomplete-seen in the closure.
11714 (pcomplete-comint-setup): Setup completion-at-point as well.
11715 (pcomplete--entries): New function.
11716 (pcomplete--env-regexp): New var.
11717 (pcomplete-entries): Rewrite to work with partial-completion and
11718 without relying on pcomplete-suffix-list.
11719 (pcomplete-pare-list): Remove, unused.
11720
25aef8b8
MR
117212011-06-17 Martin Rudalics <rudalics@gmx.at>
11722
11723 * window.el (display-buffer-alist): Set pop-up-window-min-height
11724 and pop-up-window-min-width in default value. Reported by
11725 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11726 other-window-means-other-frame.
11727 (display-buffer-macro-specifiers): Comment out entry for
11728 other-window specifier.
11729 (display-buffer-other-window-means-other-frame): New function.
11730 (display-buffer-normalize-specifiers-1): New arguments
11731 buffer-name and label. Treat other-window case specially.
11732 (display-buffer-normalize-specifiers-2): Treat other-window case
11733 specially.
11734 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11735 (display-buffer-normalize-specifiers):
11736 Call display-buffer-normalize-specifiers-3.
25aef8b8 11737
dbad4f69
MR
117382011-06-17 Martin Rudalics <rudalics@gmx.at>
11739
11740 * window.el (same-window-p): Fix two typos introduced when
11741 adding with-no-warnings.
d1067961
MR
11742 (display-buffer-normalize-specifiers-1): Don't check
11743 pop-up-frames for 'unset initialization.
11744 (display-buffer-normalize-specifiers-2): Major rewrite using
11745 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11746 (pop-up-frames, display-buffer-reuse-frames)
11747 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11748 Suggested by David Engster <deng@randomsample.de>.
11749 (even-window-heights): Initialize to 'unset.
11750 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11751 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11752 other window case.
dbad4f69 11753
9b9c9e3a
MR
117542011-06-16 Martin Rudalics <rudalics@gmx.at>
11755
bcd70d97
SM
11756 * window.el (display-buffer-normalize-specifiers-1):
11757 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11758 second argument of display-buffer (Bug#8865).
981d5c09
MR
11759 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11760 (switch-to-buffer-other-window-same-frame)
11761 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11762 Adams (Bug#8875).
9c2755e9
MR
11763 (display-buffer): Don't check noninteractive when calling
11764 display-buffer-pop-up-frame.
11765 (display-buffer-pop-up-frame): Never pop up a frame in
11766 noninteractive mode (Bug#8857).
67222e1d
MR
11767 (enlarge-window, shrink-window): Don't report an error when the
11768 window can't be resized as requested (Bug#8862).
9b9c9e3a 11769
2b75be67
SM
117702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11771
9ffdd3ba
SM
11772 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11773
cb581a67
SM
11774 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11775
2b75be67
SM
11776 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11777
8c0e3589
AM
117782011-06-15 Alan Mackenzie <acm@muc.de>
11779
cb581a67
SM
11780 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11781 for declarators, disable knr checking to speed up for normal files.
11782 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11783
b96e6cde
LMI
117842011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11785
4bba86e6
LMI
11786 * net/network-stream.el (open-network-stream): Add the keyword
11787 :always-query-capabilities for the case where you want to force a
11788 `plain' network connection, but the protocol still requires the
11789 capabilitiy command (i.e., SMTP and EHLO).
11790
2b75be67 11791 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11792 consistency with other `-live-p' functions.
11793
efdcdbf8
SM
117942011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11795
11796 * window.el (same-window-buffer-names, same-window-regexps)
11797 (special-display-frame-alist, special-display-popup-frame)
11798 (special-display-function, special-display-buffer-names)
11799 (special-display-regexps, pop-up-frame-alist)
11800 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11801 (pop-up-windows, split-window-preferred-function)
11802 (split-height-threshold, split-width-threshold, even-window-heights)
11803 (display-buffer-mark-dedicated): Don't encourage the use of
11804 display-buffer-alist from Elisp code.
11805
c5cde042
DN
118062011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11807
11808 * progmodes/python.el (python-mode): Derive from prog-mode.
11809 * progmodes/ps-mode.el (ps-mode):
11810 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11811 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11812 * progmodes/ld-script.el (ld-script-mode): Likewise.
11813
baa1c9ab
MR
118142011-06-15 Martin Rudalics <rudalics@gmx.at>
11815
11816 * window.el (display-buffer-alist): Trim default value to avoid
11817 popping up a new frame (Bug#8857) or reusing an arbitrary window
11818 on another frame.
11819 (display-buffer): Do not fall back on popping up a new frame in
11820 batch mode (Bug#8857).
11821
c5dd5a51
CY
118222011-06-14 Chong Yidong <cyd@stupidchicken.com>
11823
11824 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11825 (custom-theme-summary): New function.
11826 (customize-themes): Use it.
11827
d647b7c4
GM
118282011-06-13 Glenn Morris <rgm@gnu.org>
11829
11830 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11831
9481c002
MR
118322011-06-13 Martin Rudalics <rudalics@gmx.at>
11833
357f93d2
MR
11834 * help.el (help-window): Remove variable.
11835 (help-window-point-marker, temp-buffer-max-height)
11836 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11837 (help-print-return-message): Don't set help-window.
11838 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11839 (help-window-setup-finish): Remove.
11840 (help-window-display-message, help-window-setup)
11841 (with-help-window): Major rewrite based on new
11842 display-buffer-window variable.
11843
11844 * help-mode.el (help-mode-finish): Remove help-window related
11845 code.
11846
11847 * view.el (view-exits-all-viewing-windows): Remove reference to
11848 view-return-to-alist in doc-string.
11849 (view-return-to-alist): Make obsolete.
11850 (view-buffer): Call pop-to-buffer-same-window and remove
11851 undo-window code.
11852 (view-buffer-other-window): Call pop-to-buffer-other-window and
11853 simplify code. Ignore second argument.
11854 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11855 simplify code. Ignore second argument.
11856 (view-return-to-alist-update): Make obsolete.
11857 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11858 Rewrite using quit-restore window parameters.
2b75be67
SM
11859 (view-mode-exit): Rename second argument to EXIT-ONLY.
11860 Rewrite using quit-restore-window.
357f93d2
MR
11861 (View-exit, View-exit-and-edit, View-leave, View-quit)
11862 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11863 appropriate arguments.
11864 (view-end-message): Use quit-restore window parameter.
11865
9481c002
MR
11866 * window.el (display-buffer-function): Rewrite doc-string.
11867 (display-buffer-window, display-buffer-alist): New variables.
11868 (display-buffer-split-specifiers)
11869 (display-buffer-side-specifiers)
11870 (display-buffer-macro-specifiers): New constants.
11871 (display-buffer-even-window-sizes, display-buffer-set-height)
11872 (display-buffer-set-width, display-buffer-select-window)
11873 (display-buffer-in-window, display-buffer-reuse-window)
11874 (display-buffer-split-window-1, display-buffer-split-window)
11875 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11876 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11877 (display-buffer-in-side-window, normalize-buffer-to-display)
11878 (display-buffer-normalize-specifiers-1)
11879 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11880 (display-buffer-normalize-specifiers, display-buffer-frame):
11881 New functions.
9481c002
MR
11882 (display-buffer): Major rewrite.
11883 (display-buffer-other-window, display-buffer-other-frame)
11884 (pop-to-buffer, switch-to-buffer-other-window)
11885 (switch-to-buffer-other-frame): Rewrite.
11886 (display-buffer-same-window, display-buffer-same-frame)
11887 (display-buffer-same-frame-other-window)
11888 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11889 (pop-to-buffer-other-window)
11890 (pop-to-buffer-same-frame-other-window)
11891 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11892 (switch-to-buffer-other-window-same-frame): New functions.
11893 (same-window-p, special-display-p): Rewrite disabling warnings.
11894 Make obsolete.
11895 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11896 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11897 Make obsolete
11898 (same-window-buffer-names, same-window-regexps)
11899 (special-display-frame-alist, special-display-popup-frame)
11900 (special-display-function, special-display-buffer-names)
11901 (special-display-regexps, pop-up-frame-alist)
11902 (pop-up-frame-function, split-window-preferred-function)
11903 (split-height-threshold, split-width-threshold)
11904 (even-window-heights): Make obsolete.
11905
9db51aca
GM
119062011-06-12 Glenn Morris <rgm@gnu.org>
11907
11908 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11909 Misc simplifications.
9db51aca 11910
39cffb44
MR
119112011-06-12 Martin Rudalics <rudalics@gmx.at>
11912
11913 * window.el (window-safely-shrinkable-p): Restore function which
11914 was inadvertently removed in change from 2011-06-11. Declare as
11915 obsolete.
11916
2b75be67
SM
11917 * calendar/calendar.el (calendar-generate-window):
11918 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11919 window-safely-shrinkable-p.
11920
a8955be7
GM
119212011-06-12 Glenn Morris <rgm@gnu.org>
11922
11923 * progmodes/fortran.el (fortran-mode-syntax-table):
11924 * progmodes/f90.el (f90-mode-syntax-table):
11925 Set % to punctuation. (Bug#8820)
11926 (f90-find-tag-default): Remove, no longer needed.
11927
f0d4059d
DC
119282011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11929
11930 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11931
1100a63c
CY
119322011-06-11 Chong Yidong <cyd@stupidchicken.com>
11933
11934 * image.el (image-animated-p): Return animation delay in seconds.
11935 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11936 (image-animate-timeout): Remove DELAY argument. Don't assume
11937 every subimage has the same delay; get it from image-animated-p.
11938 (image-animate): Caller changed.
11939
def722bf
MA
119402011-06-11 Michael Albinus <michael.albinus@gmx.de>
11941
11942 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11943 to ignored backtrace functions.
11944
0a2bb1a9
GM
119452011-06-11 Glenn Morris <rgm@gnu.org>
11946
11947 * calendar/appt.el (appt-disp-window-function): Doc fix.
11948 (appt-check): Handle overlapping appointments. (Bug#8337)
11949
6198ccd0
MR
119502011-06-11 Martin Rudalics <rudalics@gmx.at>
11951
11952 * window.el (window-tree-1, window-tree): New functions, moving
11953 the latter to window.el.
11954 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11955 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11956 (bw-refresh-edges): Remove.
11957 (balance-windows-1, balance-windows-2): New functions.
11958 (balance-windows): Rewrite in terms of window tree functions,
11959 balance-windows-1 and balance-windows-2.
11960 (bw-adjust-window): Remove.
11961 (balance-windows-area-adjust): New function with functionality of
11962 bw-adjust-window but using resize-window.
2b75be67
SM
11963 (set-window-text-height): Rewrite doc-string.
11964 Use normalize-live-window and resize-window.
11965 (enlarge-window-horizontally, shrink-window-horizontally):
11966 Rename argument to DELTA.
6198ccd0
MR
11967 (window-buffer-height): New function.
11968 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11969 Rewrite using new window resize routines.
2b75be67
SM
11970 (kill-buffer-and-window, mouse-autoselect-window-select):
11971 Use ignore-errors instead of condition-case.
6198ccd0
MR
11972 (quit-window): Call delete-frame instead of delete-windows-on
11973 for the only buffer on frame.
11974
9397e56f
MR
119752011-06-10 Martin Rudalics <rudalics@gmx.at>
11976
11977 * loadup.el (top-level): Load window before files for the sake
11978 of replace-buffer-in-windows.
11979
11980 * files.el (read-buffer-to-switch)
11981 (switch-to-buffer-other-window)
2b75be67
SM
11982 (switch-to-buffer-other-frame, display-buffer-other-frame):
11983 Move to window.el.
9397e56f
MR
11984
11985 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11986 (previous-buffer): Move to window.el.
11987
11988 * bindings.el (unbury-buffer): Move to window.el.
11989
11990 * window.el (delete-other-windows-vertically): Move after
11991 definition of delete-other-windows.
11992 (other-window, delete-windows-on, replace-buffer-in-windows):
11993 Move here from window.c.
11994 (record-window-buffer, unrecord-window-buffer)
11995 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11996 (switch-to-next-buffer): New functions.
11997 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11998 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11999 (previous-buffer): Move here from simple.el.
12000 Call switch-to-prev-buffer.
9397e56f
MR
12001 (bury-buffer): Move here from buffer.c. Switch to previous
12002 buffer when window cannot be deleted.
12003 (unbury-buffer): Move here from bindings.el.
12004 (ctl-x-map): Move binding for other-window from window.c to
12005 here.
12006 (read-buffer-to-switch, switch-to-buffer-other-window)
12007 (switch-to-buffer-other-frame): Move here from files.el.
12008 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12009 (switch-to-buffer): Move here from buffer.c.
12010 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12011
562dd5e9
MR
120122011-06-10 Martin Rudalics <rudalics@gmx.at>
12013
12014 * window.el (window-min-height, window-min-width): Move here
12015 from window.c. Add defcustoms and rewrite doc-strings.
12016 (resize-mini-window, resize-window): New functions.
12017 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12018 Move here from window.c.
12019 (maximize-window, minimize-window): New functions.
12020 (delete-window, delete-other-windows, split-window): Move here
12021 from window.c.
12022 (window-split-min-size): New function.
12023 (split-window-keep-point): Mention split-window-above-each-other
12024 instead of split-window-vertically.
2b75be67 12025 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12026 Rename split-window-vertically to split-window-above-each-other
12027 and provide defalias for old definition.
12028 (split-window-side-by-side, split-window-horizontally):
12029 Rename split-window-horizontally to split-window-side-by-side
12030 and provide defalias for the old definition.
562dd5e9
MR
12031 (ctl-x-map): Move bindings for delete-window,
12032 delete-other-windows and enlarge-window here from window.c.
12033 Replace bindings for split-window-vertically and
12034 split-window-horizontally by bindings for
12035 split-window-above-each-other and split-window-side-by-side.
12036
12037 * cus-start.el (all): Remove entries for window-min-height and
12038 window-min-width. Add entries for window-splits and
12039 window-nest.
12040
f0da764a
GM
120412011-06-09 Glenn Morris <rgm@gnu.org>
12042
80675c21
GM
12043 * calendar/appt.el (appt-mode-line): New function.
12044 (appt-check, appt-disp-window): Use it.
12045
f0da764a
GM
12046 * files.el (hack-one-local-variable-eval-safep):
12047 Allow minor-modes with explicit +/-1 arguments.
12048
59f623b7
TZ
120492011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12050
12051 * term/xterm.el (xterm): Add defgroup.
12052 (xterm-extra-capabilities): Add defcustom to supply known xterm
12053 capabilities, skip querying them, or query them (default).
12054 (terminal-init-xterm): Use it.
12055 (terminal-init-xterm-modify-other-keys): New function to set up
12056 modifyOtherKeys support to simplify `terminal-init-xterm'.
12057
9aab8e0d
MR
120582011-06-09 Martin Rudalics <rudalics@gmx.at>
12059
12060 * window.el (resize-window-reset, resize-window-reset-1)
12061 (resize-subwindows-skip-p, resize-subwindows-normal)
12062 (resize-subwindows, resize-other-windows, resize-this-window)
12063 (resize-root-window, resize-root-window-vertically)
12064 (window-deletable-p, window-or-subwindow-p)
12065 (frame-root-window-p): New functions.
12066
e8b08aee
GM
120672011-06-09 Glenn Morris <rgm@gnu.org>
12068
12069 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12070 (ange-ftp-get-files): Use it.
12071
254c37a5
AK
120722011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12073
12074 * mail/sendmail.el (mail-recover-1, mail-recover):
12075 * files.el (recover-file, recover-session):
12076 Handle dired-listing-switches not being just a single short option.
12077
35d7dbd3
GM
120782011-06-09 Glenn Morris <rgm@gnu.org>
12079
12080 * calendar/appt.el (appt-display-message, appt-disp-window):
12081 Handle lists of appointments.
12082
387522b2
MR
120832011-06-08 Martin Rudalics <rudalics@gmx.at>
12084
2b75be67
SM
12085 * window.el (one-window-p): Move down in code.
12086 Rewrite doc-string.
12087 (window-current-scroll-bars): Rewrite doc-string.
12088 Normalize live window argument.
387522b2
MR
12089 (walk-windows, get-window-with-predicate, count-windows):
12090 Rewrite doc-string. Use window-list-1.
12091 (window-in-direction-2, window-in-direction, get-mru-window):
12092 New functions.
12093
d8e4b68b 120942011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12095
12096 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12097 Doc fix (Bug#8713).
12098
120992011-06-08 Chong Yidong <cyd@stupidchicken.com>
12100
12101 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12102
121032011-06-08 Juanma Barranquero <lekktu@gmail.com>
12104
12105 * loadhist.el (unload-feature-special-hooks):
12106 Add `comint-output-filter-functions'.
12107
0de12c52
IK
121082011-06-08 Ivan Kanis <gnu@kanis.fr>
12109
12110 * calendar/appt.el (appt-check): Move some initializations into the let.
12111
f3d1777e
MR
121122011-06-08 Martin Rudalics <rudalics@gmx.at>
12113
12114 * window.el (window-height): Defalias to window-total-height.
12115 (window-width): Defalias to window-body-width.
12116
18af70d0
CY
121172011-06-07 Chong Yidong <cyd@stupidchicken.com>
12118
12119 * image-mode.el (image-toggle-animation): New command.
12120 (image-mode-map): Bind it to RET.
12121 (image-mode): Update message.
12122 (image-toggle-display-image): Avoid a spurious cache flush.
12123 (image-transform-rotation): Doc fix.
12124 (image-transform-properties): Return quickly in the normal case.
12125 (image-animate-loop): Rename from image-animate-max-time.
12126
2b75be67 12127 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12128 (create-animated-image): Remove unnecessary function.
12129 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12130 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12131 (image-animate-timer): Use car-safe.
12132 (image-animate-timeout): Rename argument.
12133
190b47e6
MR
121342011-06-07 Martin Rudalics <rudalics@gmx.at>
12135
12136 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12137 window.c. Rename first argument to ALL-FRAMES.
12138 Rephrase doc-strings.
12139 (get-buffer-window-list): Rewrite using window-list-1.
12140 Rephrase doc-string.
a1511caf
MR
12141 (window-safe-min-height, window-safe-min-width): New constants.
12142 (window-size-ignore, window-min-size, window-min-size-1)
12143 (window-sizable, window-sizable-p, window-size-fixed-1)
12144 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12145 (window-max-delta-1, window-max-delta, window-resizable)
12146 (window-resizable-p, window-total-height, window-total-width)
12147 (window-body-width): New functions.
12148 (window-full-height-p, window-full-width-p): Rewrite using
12149 window-total-size.
12150 (window-body-height): Rewrite using window-body-size.
190b47e6 12151
85cc1f11
MR
121522011-06-06 Martin Rudalics <rudalics@gmx.at>
12153
12154 * window.el (window-right, window-left, window-child)
12155 (window-child-count, window-last-child, window-any-p)
12156 (normalize-live-buffer, normalize-live-frame)
12157 (normalize-any-window, normalize-live-window)
12158 (window-iso-combination-p, window-iso-combined-p)
12159 (window-iso-combinations)
12160 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12161 (windows-with-parameter, window-with-parameter)
12162 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12163 (window-atom-check, window-side-check, window-check):
12164 New functions.
85cc1f11
MR
12165 (ignore-window-parameters, window-sides, window-sides-vertical)
12166 (window-sides-slots): New variables.
12167 (window-size-fixed): Move down in code. Minor doc-string fix.
12168
e7156492
AS
121692011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12170
12171 * comint.el (comint-dynamic-complete-as-filename)
12172 (comint-dynamic-complete-filename): Correctly call
12173 completion-in-region.
12174
7e821d0d
DD
121752011-06-05 Deniz Dogan <deniz@dogan.se>
12176
12177 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12178 in last change.
12179
ac09b8a1
DD
121802011-06-05 Deniz Dogan <deniz@dogan.se>
12181
12182 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12183 (rcirc): Use it to prompt for encryption.
12184
34699b85
RW
121852011-06-05 Roland Winkler <winkler@gnu.org>
12186
12187 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12188 (bibtex-search-entries): New command bound to C-c C-a.
12189 (bibtex-display-entries): New function.
12190
004dedd3
RW
121912011-06-05 Roland Winkler <winkler@gnu.org>
12192
12193 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12194 (bibtex-insert-kill): After yanking insert newline if necessary.
12195 (bibtex-initialize): Call bibtex-string-files-init only once.
12196 (bibtex-mode): Do not call easy-menu-add.
12197 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12198 (bibtex-yank): Set arg properly if nil.
12199
022fe7ce
RW
122002011-06-05 Roland Winkler <winkler@gnu.org>
12201
2b75be67
SM
12202 * textmodes/bibtex.el (bibtex-search-entry-globally):
12203 New variable.
022fe7ce
RW
12204 (bibtex-search-entry): Use it.
12205
b7c3692a
RW
122062011-06-05 Roland Winkler <winkler@gnu.org>
12207
12208 * textmodes/bibtex.el (bibtex-entry-format): New option
12209 sort-fields.
12210 (bibtex-format-entry, bibtex-reformat): Honor this option.
12211 (bibtex-parse-entry): Return fields in proper order.
12212
8eda563d
JB
122132011-06-05 Juanma Barranquero <lekktu@gmail.com>
12214
12215 * doc-view.el (doc-view-remove-if): Move computation of result out
12216 of `dolist' to silence misleading lexical-binding warning.
12217
7dbe3dbc
CY
122182011-06-04 Chong Yidong <cyd@stupidchicken.com>
12219
12220 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12221 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12222
0c33dd17
MA
122232011-06-04 Michael Albinus <michael.albinus@gmx.de>
12224
12225 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12226 "SunOS 5.10".
12227
f8f91c2b
MA
122282011-06-04 Michael Albinus <michael.albinus@gmx.de>
12229
12230 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12231 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12232 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12233 (tramp-parse-putty):
12234 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12235 (tramp-completion-function-alist-ssh)
12236 (tramp-completion-function-alist-telnet)
12237 (tramp-completion-function-alist-su)
12238 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12239 cookie.
12240
12241 * net/tramp-ftp.el:
12242 * net/tramp-sh.el:
12243 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12244 load "tramp.el" `tramp-set-completion-function'.
12245
e17d9003
SM
122462011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12247
12248 * shell.el: Require and use pcomplete.
12249 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12250 (shell-completion-vars): Set pcomplete-default-completion-function.
12251
6c4cab03
DD
122522011-06-04 Deniz Dogan <deniz@dogan.se>
12253
12254 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12255 `memq' (Bug#8799).
12256
ea9fafe0
SM
122572011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12258
12259 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12260
b3e945d3
JB
122612011-06-02 Juanma Barranquero <lekktu@gmail.com>
12262
12263 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12264 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12265 * vc/log-view.el (log-view-beginning-of-defun):
12266 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12267 (smerge-refine-forward, smerge-refine-chopup-region):
12268 Silence warning for unused `dotimes' counter variables.
12269
7d520089
SM
122702011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * net/tramp.el (tramp-with-progress-reporter): Rename from
12273 with-progress-reporter. Use `declare'.
12274 * net/tramp-smb.el:
12275 * net/tramp-sh.el:
12276 * net/tramp-gvfs.el: Update all uses.
12277
a1c2400f
JB
122782011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12279
12280 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12281 buffer isn't killed before making it current.
12282
2403c841
SM
122832011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12284
12285 Silence various byte-compiler warnings.
12286 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12287 `access-type' and new obsolescence format.
12288 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12289 new format.
12290 (byte-compile-check-variable): New `access-type' argument.
12291 Only warn if the access-type is obsolete.
12292 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12293 (byte-compile-variable-set): Adjust callers.
12294 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12295 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12296 setting it as obsolete.
12297 * simple.el (minibuffer-completing-symbol):
12298 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12299 access as obsolete.
12300 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12301 obsolete yet.
12302 * international/quail.el (quail-mouse-choose-completion): Remove unused
12303 code referring to obsolete var.
12304 (quail-choose-completion-string): Remove.
12305 * server.el (server-clients-with, server-kill-buffer-query-function)
12306 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12307 * proced.el (proced-send-signal):
12308 * emacs-lisp/lisp.el (lisp-complete-symbol):
12309 Replace completion-annotate-function with completion-extra-properties.
12310
2462470b
SM
123112011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12312
fb5b2591
SM
12313 * simple.el (goto-line): Use read-number.
12314 (overriding-map-is-bound): Remove.
12315 (saved-overriding-map): Change default.
12316 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12317 Take the map as argument.
12318 (universal-argument, negative-argument, digit-argument): Use it.
12319 (restore-overriding-map): Adjust.
12320 (do-auto-fill): Use fill-forward-paragraph.
12321 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12322
fd6fa53f
SM
12323 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12324 (minibuffer-inactive-mode): New major mode.
12325 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12326 the *Messages* buffer" hack.
12327 (mouse-popup-menubar): Don't burp if the event is a normal key.
12328
2462470b
SM
12329 Miscellaneous tweaks.
12330 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12331 lexical scoping as in subr.el's dolist and dotimes.
12332 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12333 Silence compiler warning.
12334 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12335 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12336 * international/ccl.el (ccl-compile): Trivial simplification.
12337 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12338 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12339 `printflag' argument.
12340 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12341 Purecopy the whole obsolescence data.
12342
108bf785
LL
123432011-06-01 Leo Liu <sdl.web@gmail.com>
12344
12345 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12346 improve doc-string as suggested by Marco Pessotto
12347 <melmothx@gmail.com>.
12348 (rcirc-print): Fix last change.
12349
30a23501
SM
123502011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12351
12352 * minibuffer.el (complete-with-action): Return nil for the metadata and
12353 boundaries of non-functional tables.
12354 (completion-table-dynamic): Return nil for the metadata.
12355 (completion-table-with-terminator): Add default case, using
12356 complete-with-action.
12357 (completion--metadata): New function.
12358 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12359 to try and avoid pathological performance problems.
12360 (completion--embedded-envvar-table): Return `category' metadata.
12361
bcd54f83
LMI
123622011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12363
12364 * subr.el (process-alive-p): New tiny convenience function.
12365
e227544d
SM
123662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12369 content but also its previous major mode.
12370
e8296fdc
HE
123712011-05-31 Helmut Eller <eller.helmut@gmail.com>
12372
4d61f28d 12373 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12374 *Backtrace* buffer when we exit with C-M-c.
12375
620c53a6
SM
123762011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12377
12378 * minibuffer.el: Add metadata method to completion tables.
12379 (completion-category-overrides): New defcustom.
12380 (completion-metadata, completion--field-metadata)
12381 (completion-metadata-get, completion--styles)
12382 (completion--cycle-threshold): New functions.
12383 (completion-try-completion, completion-all-completions):
12384 Add `metadata' argument to choose completion-styles.
12385 (completion--do-completion): Use metadata to choose cycling.
12386 (completion-all-sorted-completions): Use metadata for sorting.
12387 Remove :completion-cycle-penalty which is not needed any more.
12388 (completion--try-word-completion): Add `metadata' argument.
12389 (minibuffer-completion-help): Check metadata for annotation function
12390 and sorting.
12391 (completion-file-name-table): Return `category' metadata.
12392 (minibuffer-completing-file-name): Make obsolete.
12393 * simple.el (minibuffer-completing-symbol): Make obsolete.
12394 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12395 completion-try-completion.
12396
1257e755
SM
123972011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12398
12399 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12400
3767e706
LL
124012011-05-30 Leo Liu <sdl.web@gmail.com>
12402
12403 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12404 (rcirc-print): Decode all incoming messages (bug#8744).
12405 (rcirc-decode-coding-system): Allow value nil for automatic coding
12406 system detection.
3767e706 12407
d1a5d56a
GM
124082011-06-01 Glenn Morris <rgm@gnu.org>
12409
12410 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12411
e8cbec34
CY
124122011-05-29 Chong Yidong <cyd@stupidchicken.com>
12413
12414 * image.el (image-animate-max-time): Allow nil and t values.
12415 Default to nil.
12416 (create-animated-image): Doc fix.
12417 (image-animate-start): Remove second arg; just use
12418 image-animate-max-time.
12419 (image-animate-timeout): Doc fix. Args changed.
12420
12421 * image-mode.el (image-toggle-display-image): Ensure that the
12422 image spec passed to the animate timer is the same object as in
58179cce 12423 the buffer's display property (Bug#6981).
e8cbec34
CY
12424 (image-transform-properties): Doc fix.
12425
12426 * image.el (image-animate-max-time): Default to nil.
12427
159daf87
MR
124282011-05-29 Martin Rudalics <rudalics@gmx.at>
12429
12430 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12431 entire buffer list (Bug#8184).
12432
d66c4c7c
CY
124332011-05-29 Chong Yidong <cyd@stupidchicken.com>
12434
12435 * image.el (imagemagick-types-inhibit)
12436 (imagemagick-register-types): Doc fix.
12437
80aec780
DD
124382011-05-29 Deniz Dogan <deniz@dogan.se>
12439
12440 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12441 default.
12442
1dd3c2d9
CY
124432011-05-29 Chong Yidong <cyd@stupidchicken.com>
12444
12445 * select.el: Don't perform clipboard-manager saving in hooks;
12446 leave the hooks empty.
12447
60e56523
LL
124482011-05-28 Leo Liu <sdl.web@gmail.com>
12449
12450 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12451 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12452 (occur-edit-mode): New major mode (Bug#8463).
12453 (occur-after-change-function): New function.
12454 (occur-engine): Give Occur tags a read-only property.
12455
2b1e1a22
KR
124562011-05-28 Kevin Ryde <user42@zip.com.au>
12457
12458 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12459
5d344e88
CY
124602011-05-28 Chong Yidong <cyd@stupidchicken.com>
12461
8e6ca83d
CY
12462 * bindings.el (help-echo): Make the initial non-indicator dash
12463 empty on graphical terminals (Bug#7295).
12464
5d344e88
CY
12465 * files.el (auto-mode-alist): Move config rule after the
12466 in-stripping one (Bug#8547).
12467
bfbbace7
CY
12468 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12469
fbeba6e2
CY
12470 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12471 setting (Bug#8740).
12472
60ed8c72
AA
124732011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12474
4ac619f0
AA
12475 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12476 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12477 (Bug#8539).
60ed8c72 12478
23db196e
CY
124792011-05-28 Chong Yidong <cyd@stupidchicken.com>
12480
12481 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12482
5012f24c
DK
124832011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12484
12485 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12486 (hs-hide-block-at-point, hs-find-block-beginning)
12487 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12488 (Bug#8279).
12489
6a639b16
GM
124902011-05-28 Glenn Morris <rgm@gnu.org>
12491
12492 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12493
d43eaf2c
CY
124942011-05-28 Chong Yidong <cyd@stupidchicken.com>
12495
5199bde1
CY
12496 * help-fns.el (describe-function-1): If the function is a derived
12497 major mode, print the parent mode.
12498
d43eaf2c
CY
12499 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12500 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12501
423428a8
SM
125022011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12503
0ff8e1ba 12504 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12505 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12506 * progmodes/etags.el (tags-completion-at-point-function):
12507 * info-look.el (info-lookup-completions-at-point): Mark as
12508 non-exclusive.
12509 (info-complete): Adjust accordingly.
12510
423428a8
SM
12511 * info-look.el: Convert to lexical-binding and completion-at-point.
12512 (info-lookup-completions-at-point): New function.
12513 (info-complete): Use it and completion-in-region.
12514
b74aa22b
DA
125152011-05-28 Drew Adams <drew.adams@oracle.com>
12516
12517 * isearch.el: Let M-e start with point at the first mismatched char.
12518 (isearch-fail-pos): New function.
12519 (isearch-edit-string): Use it.
12520
66e2e71d
DK
125212011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12522
12523 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12524
b1890b0f 125252011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12526
12527 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12528 traversal functions for avl-trees.
12529 (avl-tree--stack): New struct.
12530 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12531 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12532 (avl-tree--do-enter): Add optional `updatefun' arg.
12533 Change return value.
eb95d01d 12534 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12535 (avl-tree--do-delete): Add `test' and `nilflag' args.
12536 Change return value.
eb95d01d
TC
12537 (avl-tree-member): Add optional `nilflag'
12538 (avl-tree-member-p): New function.
12539 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12540 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12541 (avl-tree-stack-empty-p): New functions.
12542
3769ddcf
TC
12543 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12544 avl-tree--del-balance1 and make it work both ways.
12545 (avl-tree--del-balance2): Remove.
12546 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12547 make it work both ways.
12548 (avl-tree--enter-balance2): Remove.
12549 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12550 New macros.
12551 (avl-tree--mapc, avl-tree-map): Add direction argument.
12552
eb95d01d 125532011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12554
12555 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12556
a9f737ee
CY
125572011-05-27 Chong Yidong <cyd@stupidchicken.com>
12558
12559 * select.el: Support clipboard managers with built-in function
12560 x-clipboard-manager-save, via delete-frame-functions and
12561 kill-emacs-hook.
12562 (xselect-convert-to-targets): Add MULTIPLE target to list.
12563 (xselect-convert-to-save-targets): New function.
12564
c92a1e54
KH
125652011-05-27 Kenichi Handa <handa@m17n.org>
12566
12567 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12568 let-binding rfc2047-encode-encoded-words to nil.
12569
e145f188
GM
125702011-05-27 Glenn Morris <rgm@gnu.org>
12571
5ec8a862
GM
12572 * mail/emacsbug.el: Don't require url-util.
12573
4b29d9fb
GM
12574 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12575
e145f188
GM
12576 * files.el (set-auto-mode):
12577 Also respect mode: entries at the end of the file. (Bug#8586)
12578
7d15102b
GM
125792011-05-26 Glenn Morris <rgm@gnu.org>
12580
98f593b8
GM
12581 * files.el (hack-local-variables-prop-line, hack-local-variables):
12582 Downcase mode names, as seems to be traditional.
27b48e63 12583 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12584
7d15102b
GM
12585 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12586 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12587
51d5b4ec
JD
125882011-05-25 Julien Danjou <julien@danjou.info>
12589
12590 * textmodes/rst.el (rst-define-level-faces): Do not define face
12591 symbol if it is already defined.
12592
91513f63
VB
125932011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12594
12595 * play/5x5.el (5x5-new-game, 5x5-randomize):
12596 Reset 5x5-solver-output to nil when a new grid is cast.
12597 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12598 these debugging traces, as defmacro breaks the compiled code.
12599
4d90d6d0
DK
126002011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12601
12602 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12603
e1b90ef6
LL
126042011-05-24 Leo Liu <sdl.web@gmail.com>
12605
12606 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12607 (vc-bzr-sha1): Adapt.
12608
d8e4b68b 12609 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12610
12611 * bindings.el: Provide sha1 feature.
12612
db0406bb 126132011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12614
12615 * mail/sendmail.el: Require `rfc2047'.
12616 (mail-insert-from-field): Do not perform RFC2047 encoding.
12617 (mail-encode-header): New function.
12618 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12619 buffer to the return value of select-message-coding-system.
12620 Call mail-encode-header.
b8d747b9
KH
12621
12622 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12623
db0406bb 126242011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12625
4d90d6d0
DK
12626 * mail/supercite.el (sc-default-cite-frame):
12627 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12628
eb8a5e9b
GM
126292011-05-24 Glenn Morris <rgm@gnu.org>
12630
f8630703
GM
12631 * progmodes/python.el (brm-menu): Declare.
12632
8831bbed
GM
12633 * emulation/viper.el (viper-set-hooks): Declare.
12634
eb8a5e9b
GM
12635 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12636 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12637 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12638 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12639 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12640 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12641
a2a25d24
SM
126422011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12643
12644 Add an :exit-function for completion-at-point.
12645
12646 * minibuffer.el (completion--done): New fun.
12647 (completion--do-completion): Use it. New arg `expect-exact'.
12648 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12649 since completion--do-completion does it for us now.
12650 (minibuffer-force-complete): Use completion--done and
12651 completion--replace. Handle sole-completion case with more care.
12652 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12653 (completion-extra-properties): New var.
12654 (completion-annotate-function): Make obsolete.
12655 (minibuffer-completion-help): Adjust accordingly.
12656 Use completion-list-insert-choice-function.
12657 (completion-at-point, completion-help-at-point):
12658 Bind completion-extra-properties.
12659 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12660 * simple.el (completion-list-insert-choice-function): New var.
12661 (completion-setup-function): Preserve it.
12662 (choose-completion): Pay attention to it, shuffle the code a bit.
12663 (choose-completion-string): New arg `insert-function'.
12664
12665 * textmodes/bibtex.el: Convert to lexical binding.
12666 (bibtex-mode-map): Use completion-at-point.
12667 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12668 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12669 (bibtex-complete): Define as obsolete alias.
12670 (bibtex-complete-internal): Remove.
12671 (bibtex-format-entry): Remove unused sub-group in regexp.
12672 * shell.el (shell--command-completion-data)
12673 (shell-environment-variable-completion):
12674 * pcomplete.el (pcomplete-completions-at-point):
12675 * comint.el (comint--complete-file-name-data): Use :exit-function
12676 instead of completion-table-with-terminator so it also works for
12677 choose-completion.
12678
e44e373d
SM
126792011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12680
4f91a816
SM
12681 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12682
782fc819
SM
12683 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12684 (bug#8710).
12685
e44e373d
SM
12686 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12687
381987c3
KM
126882011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12689
12690 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12691 customization variable and implement: If non-nil, auto-fill will
12692 be inhibited while on topic's header line.
12693
b776bc70
VB
126942011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12695
12696 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12697 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12698 always have a solution in grid size = 5 cases.
12699 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12700 (5x5-solver-output, 5x5-log-buffer): New vars.
12701 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12702 Make these variables buffer local to achieve 5x5 multi-session-ness.
12703 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12704 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12705 (5x5-solve-suggest): New funs.
12706 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12707 randomize a grid so that we ensure that there is always a solution.
12708 (5x5-make-random-grid): Allow other movement than flipping.
12709
7de88b6e
KR
127102011-05-23 Kevin Ryde <user42@zip.com.au>
12711
12712 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12713 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12714 advice and passes PREDICATE.
12715
b1ef1257
SM
127162011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12717
bbca48fe
SM
12718 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12719 byte-compile-lambda if it's actually a lambda.
12720
b1ef1257
SM
12721 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12722 Fix function quoting. Use backquote better.
12723
92a9cc65
YS
127242011-05-22 Yuanle Song <sylecn@gmail.com>
12725
12726 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12727 matching (Bug#8516).
12728
f0fb8059
JA
127292011-01-22 Jari Aalto <jari.aalto@cante.net>
12730
12731 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12732 different face (Bug#8178).
12733
d5b44c93
CY
127342011-05-22 Chong Yidong <cyd@stupidchicken.com>
12735
12736 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12737 defface (Bug#8144).
12738
79106a44
SM
127392011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12740
9c848d8a
SM
12741 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12742 funcall as well (bug#8712). Warn when performing those conversions.
12743 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12744
79106a44
SM
12745 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12746
88dfa756
GM
127472011-05-22 Glenn Morris <rgm@gnu.org>
12748
12749 * files.el (hack-local-variables-prop-line): Small simplifications.
12750 (hack-local-variables, hack-local-variables-prop-line):
12751 If MODE-ONLY, return the mode, rather than just `t'.
12752
b7cf2c79
SM
127532011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12756
3f1a8558
GM
127572011-05-21 Glenn Morris <rgm@gnu.org>
12758
7e4ccca3
GM
12759 * files.el (hack-local-variables-prop-line, hack-local-variables):
12760 If only interested in the mode, don't bother doing the other stuff.
12761
637d46ca
GM
12762 * image-mode.el (image-after-revert-hook):
12763 Redraw all frames on which the image is visible. (Bug#8567)
12764
973d955b
GM
12765 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12766
3f1a8558
GM
12767 * wid-edit.el (widget-checklist-match-inline):
12768 Fix 2011-04-19 change. (Bug#8649)
12769
96479927
SM
127702011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12771
1dcf791f
SM
12772 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12773 Also allow singlespace after single-letter capitals followed by a dot.
12774
96479927
SM
12775 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12776 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12777
35fd0881
N
127782011-05-20 Nix <nix@esperi.org.uk>
12779
12780 * files.el (basic-save-buffer-2):
12781 Fix handling of break-hardlink-on-save with non-existent files.
12782
82745640
DD
127832011-05-19 Deniz Dogan <deniz@dogan.se>
12784
12785 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12786 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12787
4a720484
GM
127882011-05-19 Glenn Morris <rgm@gnu.org>
12789
d1f21341
GM
12790 * progmodes/f90.el (f90-type-def-re):
12791 Handle "type, bind(c)". (Bug#8691)
12792
4a720484
GM
12793 * emacs-lisp/autoload.el (batch-update-autoloads):
12794 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12795
2fb0a219
MA
127962011-05-18 Michael Albinus <michael.albinus@gmx.de>
12797
12798 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12799 property for the correct connection in case of multihops.
12800
e565dd37
GM
128012011-05-18 Glenn Morris <rgm@gnu.org>
12802
c2571358 12803 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12804 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12805
e565dd37
GM
12806 Rationalize calendar handling of day and month abbrev-arrays.
12807 * calendar/calendar.el (calendar-customized-p): New function.
12808 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12809 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12810 Add :set function.
12811 (calendar-abbrev-length, calendar-day-abbrev-array)
12812 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12813 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12814 Elements may no longer be nil.
12815 (calendar-day-name, calendar-month-name):
12816 Update for changed nature of abbrev arrays.
12817 * calendar/diary-lib.el (diary-name-pattern):
12818 Update for changed nature of abbrev arrays.
12819 (diary-mark-entries-1): Update calendar-make-alist calls.
12820 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12821 * calendar/cal-html.el (cal-html-day-abbrev-array):
12822 Simply inherit from calendar-day-abbrev-array.
12823
1d99a745
SM
128242011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12825
12826 * progmodes/grep.el (grep-mode): Disable default
12827 compilation-directory-matcher setting (bug#8684).
12828
7c1d9aa0
MA
128292011-05-17 Michael Albinus <michael.albinus@gmx.de>
12830
12831 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12832 instead of "head" and "tail". There were problems with SunOS 5.9,
12833 and it performs better.
12834
3952e9d8
GM
128352011-05-17 Glenn Morris <rgm@gnu.org>
12836
2dd12e7f
GM
12837 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12838
e4157b9c
GM
12839 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12840 Replace obsolete function.
12841
8e249bbd
GM
12842 * shell.el (pcomplete-parse-arguments-function): Declare.
12843
3952e9d8
GM
12844 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12845 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12846 (appt-check): Doc fixes.
12847 (appt-disp-window-function, appt-delete-window-function):
12848 Remove needless special case in custom :type.
12849 (appt-display-count): Default to 0, not nil.
12850 (appt-check): Reset appt-display-count to 0, not nil.
12851
c71a0d48 128522011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12853
c71a0d48
GM
12854 * progmodes/python.el (python-font-lock-keywords):
12855 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12856
31d55be9
SM
128572011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12858
12859 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12860
3bfacb2f
KR
128612011-05-16 Kevin Ryde <user42@zip.com.au>
12862
12863 * info-look.el (makefile-automake-mode): New setups, looking in
12864 automake manual, then makefile-mode.
12865 (makefile-mode): Remove automake manual, have it just in
12866 makefile-automake-mode since there's various things different or
12867 not relevant to plain make.
12868 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12869 believe a hypothetical automake-mode would go to makefile-mode,
12870 not the other way around.
12871
c8e83751
CY
128722011-05-15 Chong Yidong <cyd@stupidchicken.com>
12873
5e9e35cd
CY
12874 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12875 hunk-end tags (Bug#8672).
12876
c8e83751
CY
12877 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12878 vc-annotate-show-diff-revision-at-line (Bug#8671).
12879
50b23e5a
GM
128802011-05-14 Glenn Morris <rgm@gnu.org>
12881
7210a739
GM
12882 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12883 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12884 (change-log-font-lock-keywords): Also handle multiple author lines
12885 with leading tabs. (Bug#8644)
7210a739 12886
4691905a
GM
12887 * calendar/appt.el (appt-check): Rename some local variables.
12888 Some simplification/reordering.
12889
50b23e5a
GM
12890 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12891 (feedmail-sendmail-f-doesnt-sell-me-out)
12892 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12893 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12894 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12895 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12896 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12897 (feedmail-binmail-gnulinuxish-template):
12898 Rename from feedmail-binmail-linuxish-template.
12899 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12900 Use insert-buffer-substring.
12901
215cda7c
BC
129022011-05-14 Bill Carpenter <bill@carpenter.org>
12903
12904 * mail/feedmail.el (feedmail-patch-level): Increase.
12905 (feedmail-debug): New custom group.
12906 (feedmail-confirm-outgoing-timeout)
12907 (feedmail-sendmail-f-doesnt-sell-me-out)
12908 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12909 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12910 (feedmail-sender-line, feedmail-from-line)
12911 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12912 (feedmail-spray-this-address)
215cda7c
BC
12913 (feedmail-spray-address-fiddle-plex-list)
12914 (feedmail-queue-use-send-time-for-date)
12915 (feedmail-queue-use-send-time-for-message-id)
12916 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12917 (feedmail-buffer-eating-function):
12918 Doc fixes.
12919 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12920 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12921 (feedmail-message-action-scroll-down): New functions.
12922 (feedmail-queue-directory, feedmail-queue-draft-directory):
12923 Use expand-file-name.
12924 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12925 Remove C-v help entry.
12926 (feedmail-queue-buffer-file-name): New variable.
12927 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12928 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12929 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12930 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12931 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12932 (feedmail-message-action-toggle-spray)
12933 (feedmail-run-the-queue-no-prompts)
12934 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12935 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12936 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12937 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12938 (feedmail-envelope-deducer, feedmail-fiddle-from)
12939 (feedmail-fiddle-sender, feedmail-default-date-generator)
12940 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12941 (feedmail-fiddle-spray-address)
12942 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12943 (feedmail-fiddle-list-of-fiddle-plexes)
12944 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12945 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12946 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12947 Change default. Doc fix.
12948 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12949 (feedmail-binmail-linuxish-template): New constant.
12950 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12951 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12952 (feedmail-send-it): Add debug call.
12953 Use feedmail-queue-buffer-file-name, and
12954 feedmail-send-it-immediately-wrapper.
12955 (feedmail-message-action-send): Add debug call.
12956 Use feedmail-send-it-immediately-wrapper.
12957 (feedmail-queue-express-to-queue): Add debug call.
12958 Run feedmail-queue-express-hook.
12959 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12960 (feedmail-message-action-help-blat):
12961 Rename from feedmail-queue-send-edit-prompt-help-first.
12962 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12963 Check line-endings. Handle errors better.
12964 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12965 Doc fix. Add debug call.
12966 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12967 Use feedmail-queue-send-edit-prompt-inner.
12968 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12969 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12970 from feedmail-queue-send-edit-prompt.
12971 (feedmail-queue-send-edit-prompt-help)
12972 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12973 (feedmail-tidy-up-slug): Add debug call.
12974 Respect feedmail-queue-slug-suspect-regexp.
12975 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12976 (feedmail-dump-message-to-queue): Add debug call.
12977 Expand queue-directory.
12978 (feedmail-dump-message-to-queue): Change message slightly.
12979 Use feedmail-say-chatter.
12980 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12981 (feedmail-send-it-immediately-wrapper): New function.
12982 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12983 Insert empty string rather than newline. Handle full-frame case.
12984 Use catch/throw. Use feedmail-say-chatter.
12985 (feedmail-fiddle-from): Try mail-host-address.
12986 (feedmail-default-message-id-generator): Doc fix.
12987 Bind system-time-locale. Handle missing end.
12988 (feedmail-fiddle-x-mailer): Add debug call.
12989 Handle feedmail-x-mailer-line being nil.
12990 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12991 Add debug call. Use buffer-substring-no-properties.
12992 (feedmail-say-debug, feedmail-say-chatter): New functions.
12993 (feedmail-find-eoh): Give an explicit error.
12994
42c7e61e
UJ
129952011-05-13 Ulf Jasper <ulf.jasper@web.de>
12996
c2571358 12997 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12998 family from helvetica to sans.
c2571358 12999 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13000 etc/images/newsticker.
13001
c2571358 13002 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13003 family from helvetica to sans.
13004
13005 * net/newst-plainview.el (newsticker-new-item-face)
13006 (newsticker-old-item-face, newsticker-immortal-item-face)
13007 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13008 (newsticker-statistics-face): Change default family from
42c7e61e 13009 helvetica to sans.
c2571358 13010 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13011 etc/images/newsticker.
13012
5d3385a0
JB
13013 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13014 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13015 auto-marking.
13016
8497a297
DV
130172011-05-13 Didier Verna <didier@xemacs.org>
13018
13019 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13020 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13021 TODO entries.
8497a297
DV
13022 (lisp-lambda-list-keyword-parameter-indentation)
13023 (lisp-lambda-list-keyword-parameter-alignment)
13024 (lisp-lambda-list-keyword-alignment): New customizable user options.
13025 (lisp-indent-defun-method): Improve docstring.
13026 (extended-loop-p): Fix comment.
13027 (lisp-indent-lambda-list-keywords-regexp): New variable.
13028 (lisp-indent-lambda-list): New function.
13029 (lisp-indent-259): Use it.
13030 (lisp-indent-defmethod): Support for more than one
13031 method qualifier and properly indent methods lambda-lists.
13032 (defgeneric): Provide a missing common-lisp-indent-function property.
13033
f278f87f
SM
130342011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13035
13036 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13037 bounds for the empty string (bug#8667).
13038
5233edd7
GM
130392011-05-13 Glenn Morris <rgm@gnu.org>
13040
5237a44f
GM
13041 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13042
8340026c 13043 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13044 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13045
5233edd7 13046 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13047 (appt-time-msg-list): Doc fix.
a5464014 13048 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13049
92d10796
AS
130502011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13051
13052 * progmodes/ld-script.el (ld-script-keywords)
13053 (ld-script-builtins): Update keywords list.
13054
914a0ae1
SM
130552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13056
c89be45f
SM
13057 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13058
914a0ae1
SM
13059 * shell.el (shell-completion-vars): New function.
13060 (shell-mode):
13061 * simple.el (read-shell-command): Use it.
13062 (blink-matching-open): No need for " [...]" in minibuffer-message.
13063
98dc3df3
GM
130642011-05-12 Glenn Morris <rgm@gnu.org>
13065
13066 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13067 (appt-check): Simplify.
13068
d2fc7e3d 130692011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13070
4d61f28d 13071 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13072 literal "/dev/null".
13073
d2fc7e3d 130742011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13075
13076 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13077 Fix typo.
13078
d2fc7e3d 130792011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13080
3f254caa
SM
13081 * progmodes/which-func.el (which-function):
13082 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13083 which might not be defined (Bug#8260).
13084
d45885f7
GM
130852011-05-12 Glenn Morris <rgm@gnu.org>
13086
13087 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13088 Let byte-compile-initial-macro-environment always take precedence.
13089
488086f4
SM
130902011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13091
13092 * net/rcirc.el: Add support for SSL/TLS connections.
13093 (rcirc-server-alist): New field `encryption'.
13094 (rcirc): Check `encryption' settings.
13095 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13096 Merge make-local-variable into `set'.
13097 (rcirc--connection-open-p): New function.
13098 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13099 the process is not a network process (e.g. running gnutls-cli).
13100 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13101 Make rcirc-(en|de)code-coding-system local here.
13102 (rcirc-mode): Merge make-local-variable into `set'.
13103 (rcirc-parent-buffer): Make permanent buffer-local.
13104 (rcirc-multiline-minor-mode): Don't do it here.
13105 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13106 there's no server buffer.
13107
7d3b9d44
GM
131082011-05-11 Glenn Morris <rgm@gnu.org>
13109
f64049c6
GM
13110 * newcomment.el (comment-kill): Prefix "unused" local.
13111
93c9df73
GM
13112 * term/w32console.el (get-screen-color): Declare.
13113
7d3b9d44
GM
13114 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13115 Handle symbol elements of byte-compile-initial-macro-environment.
13116
9e2dd53f
LL
131172011-05-10 Leo Liu <sdl.web@gmail.com>
13118
488086f4
SM
13119 * bookmark.el (bookmark-bmenu-mode-map):
13120 Bind bookmark-bmenu-search to `/'.
8b340240 13121
9e2dd53f 13122 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13123 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13124 (Footnote-unicode): New function.
13125 (footnote-style-alist): Add unicode style to the list.
13126 (footnote-style): Doc fix.
9e2dd53f 13127
79b70037
GM
131282011-05-10 Jim Meyering <meyering@redhat.com>
13129
13130 Fix doubled-word typos.
13131 * international/quail.el (quail-insert-kbd-layout): and and -> and
13132 * kermit.el: and and -> and
13133 * net/ldap.el (ldap-search-internal): to to -> to
13134 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13135 * progmodes/js.el (js-mode): and and -> and
13136 * textmodes/artist.el (artist-move-to-xy): at at -> at
13137 (artist-draw-region-trim-line-endings): if if -> if
13138 And Safetyc -> Safety.
13139 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13140
b8f82dc1 131412011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13142 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13143
13144 * files.el (hack-one-local-variable-eval-safep):
13145 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13146
4f99f44b
GM
131472011-05-10 Glenn Morris <rgm@gnu.org>
13148
13149 * calendar/diary-lib.el (diary-list-entries-hook)
13150 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13151 (diary-nongregorian-marking-hook, diary-list-entries)
13152 (diary-include-other-diary-files, diary-mark-entries)
13153 (diary-mark-included-diary-files): Doc fixes.
13154
84f29e6b
JB
131552011-05-09 Juanma Barranquero <lekktu@gmail.com>
13156
13157 * misc.el: Require tabulated-list.el during compilation.
13158
9bedd73a
CY
131592011-05-09 Chong Yidong <cyd@stupidchicken.com>
13160
488086f4
SM
13161 * progmodes/compile.el (compilation-start):
13162 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13163 (compilation-filter-hook): Doc fix.
13164
797c735c
DD
131652011-05-09 Deniz Dogan <deniz@dogan.se>
13166
13167 * wdired.el: Remove outdated installation comment. Fix usage
13168 comment.
13169
5f4b1dfe
JB
131702011-05-09 Juanma Barranquero <lekktu@gmail.com>
13171
13172 * misc.el: Implement new command `list-dynamic-libraries'.
13173 (list-dynamic-libraries--loaded-only-p): New variable.
13174 (list-dynamic-libraries--refresh): New function.
13175 (list-dynamic-libraries): New command.
13176
4c44026c
CY
131772011-05-09 Chong Yidong <cyd@stupidchicken.com>
13178
488086f4
SM
13179 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13180 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13181 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13182 higher priority to avoid clobbering by gnu.
13183
027f966d
CY
131842011-05-08 Chong Yidong <cyd@stupidchicken.com>
13185
13186 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13187 if the face has existing theme settings (Bug#8454).
13188
085f5d7d
CY
131892011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13190
488086f4
SM
13191 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13192 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13193
2a86a00c
RS
13194 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13195 special file names `.' and `..' (Bug#8259).
13196
d9c54a06
CY
131972011-05-08 Chong Yidong <cyd@stupidchicken.com>
13198
488086f4
SM
13199 * progmodes/grep.el (grep-mode-font-lock-keywords):
13200 Remove buffer-changing entries.
d9c54a06
CY
13201 (grep-filter): New function.
13202 (grep-mode): Add it to compilation-filter-hook.
13203
13204 * progmodes/compile.el (compilation-filter-hook)
13205 (compilation-filter-start): New defvars.
13206 (compilation-filter): Call compilation-filter-hook prior to
13207 updating the process mark.
13208
c4662635
SM
132092011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13210
13211 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13212
b0512a1d
EZ
132132011-05-07 Eli Zaretskii <eliz@gnu.org>
13214
605c9376
EZ
13215 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13216 mailclient-send-it even if window-system is nil. (Bug#8595)
13217
c4662635
SM
13218 * term/w32console.el (terminal-init-w32console):
13219 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13220 background-mode. (Bug#8597)
13221
d1dc2cc2
SM
132222011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13223
13224 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13225 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13226 New functions.
13227 (defgeneric, eieio--defmethod): Use them.
13228 (eieio-defgeneric): Remove.
13229 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13230
915d1300
GM
132312011-05-07 Glenn Morris <rgm@gnu.org>
13232
a3961c3e
GM
13233 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13234 Use let rather than let*.
13235 (timeclock-find-discrep): Remove unused local.
13236
314347b9
GM
13237 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13238
915d1300
GM
13239 * calendar/appt.el (appt-time-msg-list): Doc fix.
13240
275b59b0
NF
132412011-05-06 Noah Friedman <friedman@splode.com>
13242
13243 * apropos.el (apropos-print-doc): Only use
13244 emacs-lisp-docstring-fill-column when it is bound to an integer,
13245 per that variable's documentation.
13246
6c19f744
SM
132472011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13250 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13251
60f884b2
GM
132522011-05-06 Glenn Morris <rgm@gnu.org>
13253
5006e634
GM
13254 * calendar/appt.el (appt-message-warning-time): Doc fix.
13255 (appt-warning-time-regexp): New option.
13256 (appt-make-list): Respect appt-message-warning-time.
13257
548d0a63
GM
13258 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13259 New options.
13260 (diary-add-to-list): Strip comments from the displayed string.
13261 (diary-mode): Set comment-start and comment-end.
13262
60f884b2
GM
13263 * vc/diff-mode.el (smerge-refine-subst): Declare.
13264 (diff-refine-hunk): Don't require smerge-mode when compiling.
13265
989681bb
JB
132662011-05-06 Juanma Barranquero <lekktu@gmail.com>
13267
13268 * simple.el (list-processes): Return nil as the docstring says.
13269
a6bc05e1
MA
132702011-05-05 Michael Albinus <michael.albinus@gmx.de>
13271
13272 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13273 to "".
13274 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13275 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13276 determining of binary transfer. (Bug#7383)
13277
23c22e9a
MA
132782011-05-05 Michael Albinus <michael.albinus@gmx.de>
13279
c4662635
SM
13280 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13281 Fix port computation bug. (Bug#8618)
23c22e9a 13282
0bff894f
GM
132832011-05-05 Glenn Morris <rgm@gnu.org>
13284
b8296902
GM
13285 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13286
1f522ce8
GM
13287 * simple.el (shell-dynamic-complete-functions)
13288 (comint-dynamic-complete-functions): Declare.
13289
cf5bee67
GM
13290 * net/network-stream.el (gnutls-negotiate):
13291 * simple.el (tabulated-list-print): Fix declarations.
13292
13293 * progmodes/gud.el (syntax-symbol, syntax-point):
13294 Remove unnecessary and incorrect declarations.
13295
0bff894f
GM
13296 * emacs-lisp/check-declare.el (check-declare-scan):
13297 Handle byte-compile-initial-macro-environment in bytecomp.el
13298
9869b3ae
SM
132992011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 Fix earlier half-done eieio-defmethod change (bug#8338).
13302 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13303 Streamline and change calling convention.
13304 (defmethod): Adjust accordingly and simplify.
13305 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13306 new eieio--defmethod.
13307 (slot-boundp): Minor CSE simplification.
13308
9c1d5ac5
MZ
133092011-05-05 Milan Zamazal <pdm@zamazal.org>
13310
13311 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13312 (glasses-make-readable): Use glasses-separate-capital-groups.
13313
455c834e
JB
133142011-05-05 Juanma Barranquero <lekktu@gmail.com>
13315
13316 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13317 (warning-series): Doc fix.
13318 (display-warning): Don't try to create the buffer if we just found it.
13319
9ed7c8cb
CY
133202011-05-04 Chong Yidong <cyd@stupidchicken.com>
13321
13322 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13323 (autoload-find-generated-file): New function.
13324 (generate-file-autoloads): Bind generated-autoload-file to
13325 buffer-file-name.
9869b3ae
SM
13326 (update-file-autoloads, update-directory-autoloads):
13327 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13328 output file (Bug#7989).
13329 (batch-update-autoloads): Doc fix.
13330
0898ca10
JB
133312011-05-04 Juanma Barranquero <lekktu@gmail.com>
13332
13333 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13334
31dfb76c
GM
133352011-05-04 Glenn Morris <rgm@gnu.org>
13336
f330b642
GM
13337 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13338 function, so it follows changes in calendar-date-style.
13339 (diary-fancy-date-matcher): New function.
13340 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13341 (diary-fancy-font-lock-fontify-region-function):
13342 Use diary-fancy-date-pattern as a function.
13343
31dfb76c
GM
13344 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13345 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13346
48e79d6a
TZ
133472011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13348
13349 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13350 instead of positional arguments. Allow :keylist and :crlfiles
13351 arguments.
13352 (open-gnutls-stream): Call it.
13353
13354 * net/network-stream.el (network-stream-open-starttls): Adjust to
13355 call `gnutls-negotiate' with :process and :hostname arguments.
13356
dd5a5ee0
SM
133572011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13358
ef80fc09
SM
13359 * minibuffer.el (completion--message): New function.
13360 (completion--do-completion, minibuffer-complete)
13361 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13362 (completion--do-completion): Don't ignore completion-auto-help when in
13363 icomplete-mode.
13364
dd5a5ee0
SM
13365 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13366 internal encoding (e.g. tibetan zero is not whitespace).
13367 (global-whitespace-mode): Prefer save-current-buffer.
13368 (whitespace-trailing-regexp): Remove useless save-match-data.
13369 (whitespace-empty-at-bob-regexp): Minor simplification.
13370
b7d22a83
CY
133712011-05-03 Chong Yidong <cyd@stupidchicken.com>
13372
13373 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13374
5192af46
AM
133752011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13376
13377 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13378 Use `concat' to create string for insertion.
5192af46 13379
5767d190
SM
133802011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13381
13382 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13383 Avoid open-line which runs post-self-insert-hook.
13384 (bibtex-fill-entry): Remove unused `end' var.
13385
bf242939
AM
133862011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13387
5767d190
SM
13388 * textmodes/ispell.el (ispell-add-per-file-word-list):
13389 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13390
25666126
LL
133912011-05-03 Leo Liu <sdl.web@gmail.com>
13392
13393 * isearch.el (isearch-yank-pop): New command.
5767d190 13394 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13395 (isearch-forward): Mention it.
13396
52d3c2d0
SM
133972011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13398
1bcace58
SM
13399 * simple.el (minibuffer-complete-shell-command): Remove.
13400 (minibuffer-local-shell-command-map): Use completion-at-point.
13401 (read-shell-command): Setup completion vars here instead.
13402 (read-expression-map): Bind TAB to symbol completion.
13403
52d3c2d0
SM
13404 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13405 error directly rather via storing it into `results'.
13406
35813471
LL
134072011-05-02 Leo Liu <sdl.web@gmail.com>
13408
13409 * vc/diff.el: Fix description.
13410
e793a940
LMI
134112011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13412
13413 * server.el (server-eval-at): New function.
13414
8de66e05
LMI
134152011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13416
13417 * net/network-stream.el (open-network-stream): Take a :nowait
13418 parameter and pass it on to `make-network-process'.
13419 (network-stream-open-plain): Ditto.
13420
dcb79f20
AS
134212011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13422
13423 * faces.el (face-spec-set-match-display): Don't match toolkit
13424 options on terminal frames.
13425
14a7fbd8
SM
134262011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13427
7eabc1be
SM
13428 * progmodes/pascal.el: Use lexical binding.
13429 (pascal-mode-map): Remove author preferences.
13430
14a7fbd8
SM
13431 * pcomplete.el (pcomplete-std-complete): Don't abuse
13432 completion-at-point.
13433
50f84510
JB
134342011-04-28 Juanma Barranquero <lekktu@gmail.com>
13435
6e087a44
JB
13436 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13437 removing code that has been dead since 1991 or so.
13438
50f84510
JB
13439 * startup.el (command-line): When warning about "_emacs", use a
13440 delayed warning to allow the user to filter it out.
13441
0ba690bd
DD
134422011-04-28 Deniz Dogan <deniz@dogan.se>
13443
13444 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13445 user has not joined.
13446
08abfaad
SM
134472011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13448
13449 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13450 aren't any completions at point.
13451
638f053a
JB
134522011-04-28 Juanma Barranquero <lekktu@gmail.com>
13453
13454 * subr.el (display-delayed-warnings): New function.
13455 (delayed-warnings-hook): New variable.
13456
8fff8daa
SM
134572011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13458
08abfaad
SM
13459 * minibuffer.el (completion-at-point, completion-help-at-point):
13460 Don't presume that a given completion-at-point-function will always
13461 use the same calling convention.
13462
8fff8daa
SM
13463 * pcomplete.el (pcomplete-completions-at-point):
13464 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13465 pcomplete-seen is non-nil.
13466 (pcomplete-comint-setup): Also recognize the new comint/shell
13467 completion functions.
13468 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13469 pcomplete-seen is non-nil.
13470
841a1577 134712011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13472
841a1577 13473 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13474 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13475 the first character in the entry. This allows for code to add its
211ec907
UJ
13476 own uid to the entry.
13477 (icalendar--convert-float-to-ical): Add export of
13478 `diary-float'-entries save for those with the optional DAY
13479 argument.
13480
2a782793
DC
134812011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13482
13483 * subr.el (shell-quote-argument): Use alternate escaping strategy
13484 when we spot a variable reference in a string.
13485
0438ce91
DC
134862011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13487
13488 * cus-start.el (all): Define customization for debug-on-event.
13489
841a1577 134902011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13491
13492 * subr.el (shell-quote-argument): Escape correctly under Windows.
13493
d090ed6c
SM
134942011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13495
13496 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13497
bfd31217
MA
134982011-04-25 Michael Albinus <michael.albinus@gmx.de>
13499
d090ed6c
SM
13500 * net/tramp.el (tramp-process-actions): Add POS argument.
13501 Delete region between POS and (pos).
bfd31217 13502
d090ed6c
SM
13503 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13504 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13505 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13506
13507 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13508 position in `tramp-process-actions' call.
13509
13510 * net/trampver.el: Update release number.
13511
e92f3bd3
SM
135122011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13513
850256b5
SM
13514 * custom.el (defcustom): Obey lexical-binding.
13515
e92f3bd3
SM
13516 Fix octave-inf completion problems reported by Alexander Klimov.
13517 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13518 Inherit from octave-mode-syntax-table.
13519 (inferior-octave-mode): Set info-lookup-mode.
13520 (inferior-octave-completion-at-point): New function.
13521 (inferior-octave-complete): Use it and completion-in-region.
13522 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13523 comint-filename-completion.
13524 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13525 symbol elements which shouldn't be word elements.
13526 (octave-font-lock-keywords, octave-beginning-of-defun)
13527 (octave-function-header-regexp): Adjust regexps accordingly.
13528 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13529
cd22b309
JB
135302011-04-25 Juanma Barranquero <lekktu@gmail.com>
13531
13532 * net/gnutls.el (gnutls-errorp): Declare before first use.
13533
8b492194
TZ
135342011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13535
13536 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13537 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13538 default trustfile exists before going to use it. Add missing
5a5fa834 13539 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13540 Reported by Claudio Bley <claudio.bley@gmail.com>.
13541 (open-gnutls-stream): Add usage example.
13542
13543 * net/network-stream.el (network-stream-open-starttls): Give host
13544 parameter to `gnutls-negotiate'.
13545 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13546 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13547
841a1577 135482011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13549
cd22b309
JB
13550 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13551 Use correct match group (bug#8438).
05842630 13552
3ba7869c
CY
135532011-04-24 Chong Yidong <cyd@stupidchicken.com>
13554
512e3ae1
CY
13555 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13556 (package-menu--generate): New arg specifying packages to show.
13557 (package-menu-refresh, package-menu-execute, list-packages):
13558 Callers changed.
13559 (package-show-package-list): New function, replacing deleted
13560 package--list-packages (renamed because it is non-internal).
13561
13562 * finder.el (finder-list-matches): Use package-show-package-list
13563 instead of deleted package--list-packages.
13564
e92f3bd3
SM
13565 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13566 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13567 (vc-annotate-mode-map): Bind it to RET.
13568
7031be6d
UR
135692011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13570
13571 * progmodes/etags.el (next-file): Don't use set-buffer to change
13572 buffers (Bug#8478).
13573
4ef177aa
CY
135742011-04-24 Chong Yidong <cyd@stupidchicken.com>
13575
c8d173eb
CY
13576 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13577
4ef177aa
CY
13578 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13579 (apropos-accumulator): Doc fix.
13580 (apropos-function, apropos-macro, apropos-command)
13581 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13582 (apropos-plist): Add face property.
13583 (apropos-symbols-internal): Fix indentation.
13584 (apropos-print): Simplify help, and recognize apropos-multi-type.
13585 (apropos-print-doc): Use button-type-get to extract the button's
13586 face property. Fill docstring (Bug#8352).
13587
4ffd0d6b 135882011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13589
13590 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13591
c6c32125 13592 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13593 (mpuz-mode-map): Use mapc.
c6c32125
JB
13594 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13595 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13596 Fix typos in docstrings.
13597
58d468b4
JB
13598 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13599 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13600
6470c3c6
JB
13601 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13602
4ffd0d6b 136032011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13604
13605 * minibuffer.el (completion--do-completion): Avoid the "Next char
13606 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13607
3ad8bad0
CY
13608 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13609 mouse-2 into unread-command-events, it is interpreted correctly.
13610
71d73c9c 13611 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13612 (image-toggle-display): Doc fix.
71d73c9c 13613
841a1577 136142011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13615
4ffd0d6b
GM
13616 * textmodes/page.el (what-page): Use line-number-at-pos to
13617 calculate line number (Bug#6825).
6e1dbaa9 13618
c2fb1b60
JB
136192011-04-22 Juanma Barranquero <lekktu@gmail.com>
13620
13621 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13622 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13623 Pass argument NO-DEFAULT to `find-tag-interactive'.
13624
e02f48d7
JB
136252011-04-22 Juanma Barranquero <lekktu@gmail.com>
13626
13627 Lexical-binding cleanup.
13628
13629 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13630 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13631 * progmodes/ada-prj.el (ada-prj-initialize-values)
13632 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13633 (ada-prj-show-value):
13634 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13635 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13636 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13637 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13638 * progmodes/bug-reference.el (bug-reference-push-button):
13639 * progmodes/fortran.el (fortran-line-length):
13640 * progmodes/glasses.el (glasses-change):
13641 * progmodes/octave-mod.el (octave-fill-paragraph):
13642 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13643 (python-pdbtrack-grub-for-buffer, python-sentinel):
13644 * progmodes/sql.el (sql-save-connection):
13645 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13646 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13647 Mark unused parameters.
13648
13649 * progmodes/compile.el (compilation--flush-directory-cache)
13650 (compilation--flush-parse, compile-internal): Mark unused parameters.
13651 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13652 (compilation-next-error-function): Remove unused variable `timestamp'.
13653
13654 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13655 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13656
13657 * progmodes/dcl-mode.el (dcl-end-of-command):
13658 Remove unused variable `start'.
13659 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13660 (dcl-option-value-basic, dcl-option-value-offset)
13661 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13662 Mark unused parameters.
13663 (dcl-save-local-variable): Remove unused variable `val'.
13664 (mode): Declare.
13665
13666 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13667 Mark unused parameters.
13668 (delphi-ignore-changes): Move before first use.
13669 (delphi-charset-token-at): Remove unused variable `start'.
13670 (delphi-else-start): Remove unused variable `if-count'.
13671 (delphi-comment-block-start, delphi-comment-block-end):
13672 Remove unused variable `kind'.
13673 (delphi-indent-line): Remove unused variable `new-point'.
13674
13675 * progmodes/ebrowse.el (ebrowse-files-list)
13676 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13677 Mark unused parameters. Don't quote `lambda'.
13678 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13679 Don't quote `lambda'.
13680 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13681 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13682 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13683 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13684 Use `ignore-errors'.
13685 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13686 (ebrowse-view/find-file-and-search-pattern)
13687 (ebrowse-view/find-member-declaration/definition):
13688 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13689 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13690 Rename parameter PREFIX-ARG to PREFIX.
13691 (ebrowse-tags-read-name): Remove unused variables `start' and
13692 `member-info'.
13693 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13694 to `tags-file'.
13695
13696 * progmodes/etags.el (local-find-tag-hook): Declare.
13697 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13698 Mark unused parameters.
13699
13700 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13701 (executable-interpret): Mark unused parameter.
13702
13703 * progmodes/flymake.el (flymake-process-sentinel)
13704 (flymake-after-change-function)
13705 (flymake-create-temp-with-folder-structure)
13706 (flymake-get-include-dirs-dot): Mark unused parameters.
13707 (flymake-safe-delete-directory): Remove unused variable `err'.
13708
13709 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13710 (speedbar-timer-fn, speedbar-line-text)
13711 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13712 (speedbar-center-buffer-smartly): Declare functions.
13713 (gdb-find-watch-expression): Remove unused variable `array'.
13714 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13715 (gdb-starting): Mark unused parameters.
13716 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13717 (gdb-table-string): Remove unused variable `res'.
13718 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13719 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13720 (gdb-display-buffer): Remove unused variable `cur-size'.
13721
13722 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13723 allow lexical-binding compilation.
13724 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13725 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13726 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13727 Mark unused parameters.
13728 (gud-gdb-marker-filter): Remove unused variable `match'.
13729 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13730 lambda expressions and funcall them, instead of using `fset'.
13731
13732 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13733 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13734
13735 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13736 variable `header-beg'; use `let'.
13737
13738 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13739 `restart', `last-sexp' and `at-do'.
13740
13741 * progmodes/js.el (js--debug): Mark unused parameter.
13742 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13743 (js--splice-into-items): Remove unused variable `item'.
13744 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13745
13746 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13747 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13748 (makefile-complete): Remove unused variable `try'.
13749 (makefile-fill-paragraph, makefile-match-function-end):
13750 Mark unused parameters.
13751
13752 * progmodes/octave-inf.el (inferior-octave-complete):
13753 Remove unused variable `proc'.
13754 (inferior-octave-output-digest): Mark unused parameter.
13755
13756 * progmodes/perl-mode.el (perl-calculate-indent):
13757 Remove unused variable `err'.
13758
13759 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13760 (prolog-indent-line): Mark unused parameters.
13761 (prolog-indent-line): Remove unused variable `beg'.
13762
13763 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13764 (reporter-dont-compact-list): Declare.
13765
13766 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13767 Remove unused variable `char'.
13768 (sh-debug): Mark unused parameter.
13769 (sh-get-indent-info): Remove unused variable `start'.
13770 (sh-calculate-indent): Remove unused variable `var'.
13771
13772 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13773 (simula-electric-keyword): Remove unused variable `null'.
13774 (simula-search-backward, simula-search-forward): Remove unused
13775 variables `begin' and `end'.
13776
13777 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13778 Remove unused variable `pos'.
13779 (vera-electric-tab, vera-comment-uncomment-region):
13780 Mark unused parameters.
13781 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13782
7ede3b65
CY
137832011-04-22 Chong Yidong <cyd@stupidchicken.com>
13784
13785 * emacs-lisp/package.el (package--builtins, package-alist)
13786 (package-load-descriptor, package-built-in-p, package-activate)
13787 (define-package, package-installed-p)
13788 (package-compute-transaction, package-buffer-info)
13789 (package--push): Doc fix. Distinguish more clearly between
13790 version strings and version lists.
13791
121656e9
JB
137922011-04-21 Juanma Barranquero <lekktu@gmail.com>
13793
13794 Lexical-binding cleanup.
13795
13796 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13797 (5x5-make-mutate-best):
13798 * play/fortune.el (fortune-in-buffer):
13799 * play/gomoku.el (gomoku-init-display):
13800 * play/solitaire.el (solitaire, solitaire-do-check):
13801 * play/tetris.el (tetris-default-update-speed-function):
13802 Mark unused parameters.
13803
13804 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13805 (bubbles--shift): Remove unused variable `char-org'.
13806 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13807 (bubbles--show-images): Remove unused variable `char'.
13808
13809 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13810 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13811 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13812 (decipher-analyze-buffer): Use ?\s.
13813 (decipher-make-checkpoint): Remove unused variable `mapping'.
13814
13815 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13816
13817 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13818 Remove unused variable `result'; use `let'.
13819
13820 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13821 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13822 (gametree-children-shown-p, gametree-compute-reduced-score):
13823 Use `ignore-errors'.
13824
13825 * play/handwrite.el (ps-lpr-switches): Declare.
13826 (handwrite): Remove unused variables `pmin' and `lastp'.
13827
13828 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13829
13830 * play/landmark.el (landmark-init-display)
13831 (landmark-update-naught-weights): Mark unused parameters.
13832 (landmark-y): Remove unused variable `noise'. Simplify.
13833 (landmark-human-plays): Remove unused variable `score'.
13834
13835 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13836 (mpuz-try-proposal): Remove unused variable `game'.
13837
13838 * play/zone.el (life-patterns): Declare.
13839
80f499c7
JB
138402011-04-20 Juanma Barranquero <lekktu@gmail.com>
13841
13842 * vc/vc.el (ediff-vc-internal): Declare function.
13843
024ff170
SM
138442011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13845
c0a193ea
SM
13846 * shell.el: Use lexical-binding and std completion UI.
13847 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13848 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13849 comint-preoutput-filter-functions rather than on
13850 comint-output-filter-functions.
13851 (shell-command-completion, shell--command-completion-data)
13852 (shell-filename-completion, shell-environment-variable-completion)
13853 (shell-c-a-p-replace-by-expanded-directory): New functions.
13854 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13855 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13856 (shell-dynamic-complete-environment-variable): Use them.
13857 (shell-dynamic-complete-as-environment-variable)
13858 (shell-dynamic-complete-as-command): Remove.
13859 (shell-match-partial-variable): Match past point.
13860 * comint.el: Clean up use of completion-at-point-functions.
13861 (comint-completion-at-point): New function.
13862 (comint-mode): Use it completion-at-point-functions.
13863 (comint-dynamic-complete): Make it obsolete.
13864 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13865 (comint-c-a-p-replace-by-expanded-history): New function.
13866 (comint-dynamic-complete-functions)
13867 (comint-replace-by-expanded-history): Use it.
13868 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13869 termination strings. Try harder to avoid second try-completion.
13870 (completion-in-region-mode-map): Disable bindings that don't work yet.
13871
2dbaa080
SM
13872 * comint.el: Use lexical-binding. Require CL.
13873 (comint-dynamic-complete-functions): Use comint-filename-completion.
13874 (comint-completion-addsuffix): Tweak custom type.
13875 (comint-filename-completion, comint--common-suffix)
13876 (comint--common-quoted-suffix, comint--table-subvert)
13877 (comint--complete-file-name-data): New functions.
13878 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13879 (comint-dynamic-list-filename-completions): Use them.
13880 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13881
2dbaa080
SM
13882 * minibuffer.el (completion-in-region-mode):
13883 Keep completion-in-region-mode--predicate global.
13884 (completion-in-region--postch):
13885 Assume completion-in-region-mode--predicate is not null.
13886
c79a6f38
SM
13887 * progmodes/flymake.el (flymake-start-syntax-check-process):
13888 Obey `dir'. Simplify.
13889
024ff170
SM
13890 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13891 we're in VC after all.
13892
1c6c854e
CS
138932011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13894
13895 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13896 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13897 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13898
bed7f140
SM
138992011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13900
332e62ab
SM
13901 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13902 add sanity check.
13903
bed7f140
SM
13904 * obsolete/erc-hecomplete.el: Make obsolete.
13905 * obsolete/: Standardize obsolescence info in the header.
13906
f195c582
GM
139072011-04-20 Glenn Morris <rgm@gnu.org>
13908
13909 * calendar/solar.el (solar-horizontal-coordinates):
13910 Use the longitude argument rather than `calendar-longitude'.
13911 (solar-date-next-longitude): Remove unused locals.
13912
cb79b8c0
VJL
139132011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13914
13915 * whitespace.el: New version 13.2.1.
13916
139172011-04-20 felix <EmacsWiki> (tiny change)
13918
d8e4b68b 13919 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13920 switching between major modes on a file.
13921
602ea69d
SM
139222011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13923
13924 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13925 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13926 multi-line comments as well.
13927
06b60517
JB
139282011-04-19 Juanma Barranquero <lekktu@gmail.com>
13929
13930 Lexical-binding cleanup.
13931
13932 * arc-mode.el (archive-mode-revert):
13933 * cmuscheme.el (scheme-interactively-start-process):
13934 * custom.el (custom-initialize-delay):
13935 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13936 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13937 * emacs-lock.el (emacs-lock-clear-sentinel):
13938 * ezimage.el (defezimage):
13939 * follow.el (follow-avoid-tail-recenter):
13940 * fringe.el (set-fringe-mode-1):
13941 * generic-x.el (bat-generic-mode-compile):
13942 * help-mode.el (help-info-variable, help-do-xref)
13943 (help-mode-revert-buffer):
13944 * help.el (view-emacs-todo):
13945 * iswitchb.el (iswitchb-completion-help):
13946 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13947 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13948 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13949 * locate.el (locate-update):
13950 * longlines.el (longlines-encode-region)
13951 (longlines-after-change-function):
13952 * outline.el (outline-isearch-open-invisible):
13953 * ps-def.el (declare-function, charset-dimension, char-width)
13954 (encode-char):
13955 * ps-mule.el (ps-mule-plot-string):
13956 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13957 (recentf-edit-list-select, recentf-edit-list-validate)
13958 (recentf-open-files-action):
13959 * rect.el (delete-whitespace-rectangle-line)
13960 (rectangle-number-line-callback):
13961 * register.el (window-configuration-to-register)
13962 (frame-configuration-to-register):
13963 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13964 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13965 (xselect-convert-to-targets, xselect-convert-to-delete)
13966 (xselect-convert-to-filename, xselect-convert-to-charpos)
13967 (xselect-convert-to-lineno, xselect-convert-to-colno)
13968 (xselect-convert-to-os, xselect-convert-to-host)
13969 (xselect-convert-to-user, xselect-convert-to-class)
13970 (xselect-convert-to-name, xselect-convert-to-integer)
13971 (xselect-convert-to-atom, xselect-convert-to-identity):
13972 * subr.el (declare, ignore, process-kill-without-query)
13973 (text-clone-maintain):
13974 * terminal.el (te-get-char, te-tic-sentinel):
13975 * tool-bar.el (tool-bar-make-keymap):
13976 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13977 * type-break.el (type-break-mode, type-break-noninteractive-query):
13978 * view.el (View-back-to-mark):
13979 * wid-browse.el (widget-browse-action, widget-browse-widget)
13980 (widget-browse-widgets, widget-browse-sexp):
13981 * widget.el (define-widget-keywords):
13982 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13983 Mark unused parameters.
13984
13985 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13986 (align-areas): Remove unused variable `look'.
13987 (align-region): Remove unused variables `real-end' and `pos-list'.
13988
13989 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13990
13991 * bindings.el (mode-line-modified, mode-line-remote):
13992 Mark unused parameters.
13993 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13994
13995 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13996 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13997
13998 * comint.el (comint-history-isearch-pop-state)
13999 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14000 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14001 (comint-substitute-in-file-name): Doc fix.
14002
14003 * completion.el (cmpl-statistics-block): Mark unused parameter.
14004 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14005 (save-completions-to-file, load-completions-from-file):
14006 Remove unused local variable `e'.
14007
14008 * composite.el (compose-chars): Remove unused variable `len'.
14009 (lgstring-insert-glyph): Remove unused variable `g'.
14010 (compose-glyph-string): Remove unused variables `ascent',
14011 `descent', `lbearing' and `rbearing'.
14012 (compose-glyph-string-relative): Remove unused variables
14013 `lbearing', `rbearing' and `wadjust'.
14014 (compose-gstring-for-graphic): Remove unused variables `header',
14015 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14016 (compose-gstring-for-terminal): Remove unused variables `header'
14017 and `nchars'. Use `let', not `let*'.
14018
14019 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14020 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14021 (Custom-buffer-done, custom-buffer-create-internal)
14022 (custom-browse-visibility-action, custom-browse-group-tag-action)
14023 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14024 (widget-magic-mouse-down-action, custom-toggle-parent)
14025 (custom-add-parent-links, custom-toggle-hide-variable)
14026 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14027 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14028 (custom-face-menu-create, custom-variable-menu-create, get)
14029 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14030 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14031 (customize-apropos): Remove unused variable `tests'.
14032 (custom-group-value-create): Remove unused variable `hidden-p'.
14033 (sort-fold-case): Declare.
14034
14035 * cus-theme.el (custom-reset-standard-faces-list)
14036 (custom-reset-standard-variables-list): Declare.
14037 (customize-create-theme, custom-theme-revert, custom-theme-write)
14038 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14039 Mark unused parameters.
14040
14041 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14042
14043 * delim-col.el (delimit-columns-max): Move defvar before first use.
14044
14045 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14046 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14047
14048 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14049 (auto-insert): Declare.
14050 (desktop-restore-file-buffer): Rename desktop-* parameters;
14051 mark unused ones.
14052 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14053 (desktop-buffer): Rename desktop-* parameters.
14054
14055 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14056 (dframe-reposition-frame-xemacs, dframe-help-echo)
14057 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14058 Mark unused parameters.
14059
14060 * dired-aux.el (backup-extract-version-start, overwrite-query)
14061 (overwrite-backup-query, rename-regexp-query)
14062 (rename-non-directory-query): Declare.
14063 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14064 (dired-add-entry): Remove unused variable `orig-file-name'.
14065 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14066 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14067 `dired-copy-preserve-time' directly.
14068 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14069 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14070
14071 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14072 (dired-virtual-revert, dired-make-relative-symlink):
14073 Mark unused parameters.
14074 (manual-program): Declare.
14075 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14076 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14077 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14078
14079 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14080
14081 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14082
14083 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14084 Declare.
14085
14086 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14087
14088 * electric.el (Electric-command-loop): Rename parameter
14089 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14090
14091 * expand.el (expand-in-literal): Remove unused variable `here'.
14092
14093 * facemenu.el (facemenu-add-new-color):
14094 Remove unused variable `docstring'.
14095
14096 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14097 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14098 (face-attr-construct): Mark unused parameter. Doc fix.
14099 (read-color): Remove unused variable `hex-string'.
14100
14101 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14102 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14103 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14104 (display-buffer-other-frame): Remove unused variable `old-window'.
14105 (kill-buffer-hook): Declare.
14106 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14107 Mark unused parameters.
14108 (after-find-file): Pass 1 to `auto-save-mode', not t.
14109
14110 * files-x.el (auto-insert): Declare.
14111 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14112
14113 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14114 variable `buf'. Mark unused parameter.
06b60517
JB
14115 (find-lisp-insert-directory): Mark unused parameter.
14116
14117 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14118 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14119 (format-common-tail): Remove, unused.
14120 (format-deannotate-region): Remove unused variable `loc'.
14121 (format-annotate-region): Remove unused variable `p'.
14122 (format-annotate-single-property-change): Remove unused variables
14123 `default' and `tail'.
14124
14125 * forms.el (read-file-filter): Declare.
14126 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14127
14128 * frame.el (frame-creation-function-alist): Mark unused parameter.
14129 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14130
14131 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14132 Remove unused parameters.
14133 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14134 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14135
14136 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14137 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14138 (hfy-prepare-tag-map): Mark unused parameters.
14139 (htmlfontify-buffer): Use `called-interactively-p'.
14140
14141 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14142 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14143 (ibuffer-do-occur): Mark unused parameters.
14144 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14145 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14146
14147 * ibuffer.el: Don't quote `lambda'.
14148 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14149 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14150 Mark unused parameters.
14151
14152 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14153 (ido-completing-read): Mark unused parameters.
14154 (ido-copy-current-word): Mark unused parameters;
14155 remove unused variable `name'.
14156 (ido-sort-merged-list): Remove unused parameter `dirs'.
14157
14158 * ielm.el (ielm-input-sender): Mark unused parameter.
14159 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14160 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14161 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14162 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14163 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14164
14165 * image-dired.el (image-dired-display-thumbs): Remove unused
14166 variables `curr-file' and `count'.
14167 (image-dired-remove-tag): Remove unused variable `start'.
14168 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14169 variable `curr-file'
14170 (image-dired-rotate-original): Remove unused variable `temp-file'.
14171 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14172 Remove unused variable `file'.
14173 (image-dired-gallery-generate): Remove unused variable `curr'.
14174 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14175
14176 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14177
14178 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14179
14180 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14181
14182 * isearch.el (minibuffer-history-symbol): Declare.
14183 (isearch-edit-string): Remove unused variable `err'.
14184 (isearch-message-prefix, isearch-message-suffix):
14185 Mark unused parameters.
14186
14187 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14188
14189 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14190
14191 * makesum.el (double-column): Remove unused variable `cnt'.
14192
14193 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14194 (ido-ignore-item-temp-list): Declare.
14195
14196 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14197 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14198 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14199 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14200 `mouse-col-delta'.
14201
14202 * mouse-sel.el (mouse-extend-internal):
14203 Remove unused variable `orig-window-frame'.
14204
14205 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14206 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14207 Move declarations before first use.
14208 (pcomplete-opt): Mark unused parameters; doc fix.
14209
14210 * proced.el (proced-revert): Mark unused parameter.
14211 (proced-send-signal): Remove unused variable `err'.
14212
14213 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14214 Rename parameter PREFIX-ARG to ARG.
14215 (ps-basic-plot-string, ps-basic-plot-whitespace):
14216 Mark unused parameters.
14217
14218 * replace.el (replace-count): Define.
14219 (occur-revert-function): Mark unused parameters.
14220 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14221 (isearch-case-fold-search, isearch-string): Declare.
14222 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14223 bind `case-fold-search'. Remove unused variables `beg' and `end',
14224 and simplify.
14225 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14226 COUNT and bind `replace-count'.
14227 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14228 to COUNT.
14229
14230 * savehist.el (print-readably, print-string-length): Declare.
14231
14232 * shadowfile.el (shadow-expand-cluster-in-file-name):
14233 Remove unused variable `cluster'.
14234 (shadow-copy-file): Remove unused variable `i'.
14235 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14236 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14237 (shadow-define-literal-group, shadow-define-regexp-group)
14238 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14239
14240 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14241 (shell): Use `called-interactively-p'.
14242 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14243
14244 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14245 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14246 (delete-backward-char): Remove unused variable `ocol'.
14247 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14248 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14249 (event-apply-hyper-modifier, event-apply-shift-modifier)
14250 (event-apply-control-modifier, event-apply-meta-modifier):
14251 Mark unused parameters.
14252 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14253 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14254
14255 * speedbar.el (speedbar-ignored-directory-expressions)
14256 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14257 (speedbar-find-file, speedbar-dir-follow)
14258 (speedbar-directory-buttons-follow, speedbar-tag-find)
14259 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14260 (speedbar-buffers-line-directory, speedbar-buffer-click):
14261 Mark unused parameters.
14262 (speedbar-tag-file): Remove unused variable `mode'.
14263 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14264
14265 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14266
14267 * talk.el (talk): Remove unused variable `display'.
14268
14269 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14270 (tar-write-region-annotate): Mark unused parameter.
14271
14272 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14273 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14274 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14275 warning by another.
14276
14277 * time-stamp.el (time-stamp-string-preprocess):
14278 Remove unused variable `require-padding'.
14279
14280 * tree-widget.el (widget-glyph-enable): Declare.
14281 (tree-widget-action): Mark unused parameter.
14282
14283 * w32-fns.el (x-get-selection): Mark unused parameter.
14284 (autoload-make-program, generated-autoload-file): Declare.
14285
14286 * wdired.el (wdired-revert): Mark unused parameters.
14287 (wdired-xcase-word): Remove unused variable `err'.
14288
14289 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14290 (whitespace-help-scroll): Remove unused variable `data-help'.
14291
14292 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14293 (widget-image-insert, widget-after-change, default)
14294 (widget-default-format-handler, widget-default-notify)
14295 (widget-default-prompt-value, widget-info-link-action)
14296 (widget-url-link-action, widget-function-link-action)
14297 (widget-variable-link-action, widget-file-link-action)
14298 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14299 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14300 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14301 (widget-insert-button-action, widget-delete-button-action, visibility)
14302 (widget-documentation-link-action, widget-documentation-string-action)
14303 (widget-const-prompt-value, widget-regexp-match, symbol)
14304 (widget-coding-system-prompt-value)
14305 (widget-key-sequence-value-to-external, sexp)
14306 (widget-sexp-value-to-internal, character, vector, cons)
14307 (widget-choice-prompt-value, widget-boolean-prompt-value)
14308 (widget-color--choose-action): Mark unused parameters.
14309 (widget-item-match-inline, widget-choice-match-inline)
14310 (widget-checklist-match, widget-checklist-match-inline)
14311 (widget-group-match): Rename parameter VALUES to VALS.
14312 (widget-field-value-set): Remove unused variable `size'.
14313 (widget-color-action): Remove unused variables `value' and `start'.
14314
14315 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14316 variable `dir'. Doc fix.
06b60517
JB
14317 (windmove-find-other-window): Don't pass it.
14318
14319 * window.el (count-windows): Mark unused parameter.
14320 (bw-adjust-window): Remove unused variable `err'.
14321
14322 * woman.el (woman-file-name): Remove unused variable `default'.
14323 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14324 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14325 (global-font-lock-mode): Declare.
14326 (woman-decode-region): Mark unused parameter.
14327 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14328
14329 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14330 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14331 (x-dnd-handle-moz-url): Remove unused variable `title'.
14332 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14333
14334 * xml.el (xml-parse-tag, xml-parse-attlist):
14335 Remove unused variable `pos'.
14336
bc4f7f3d
GM
143372011-04-19 Glenn Morris <rgm@gnu.org>
14338
14339 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14340 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14341 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14342 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14343 * calendar/cal-html.el (cal-html-insert-minical):
14344 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14345 (calendar-mark-date-pattern):
14346 Prefix "unused" locals.
14347
14348 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14349 optional argument `style'.
14350
14351 * calendar/appt.el (appt-make-list):
14352 * calendar/cal-china.el (calendar-chinese-date-string):
14353 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14354 (diary-hebrew-yahrzeit):
14355 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14356 * calendar/calendar.el (calendar-generate-window):
14357 * calendar/time-date.el (time-to-days):
14358 Remove unused local variables.
14359
16a43933
CY
143602011-04-18 Chong Yidong <cyd@stupidchicken.com>
14361
14362 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14363 glyphless-char-display table.
14364 (tabulated-list-glyphless-char-display): New var.
14365
7eed1860
SS
143662011-04-18 Sam Steingold <sds@gnu.org>
14367
14368 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14369 to acknowledgments.
14370
4d2d1ccd
GM
143712011-04-17 Glenn Morris <rgm@gnu.org>
14372
14373 * calendar/diary-lib.el (diary-sexp-entry):
14374 * calendar/holidays.el (holiday-sexp):
14375 Set debug-on-error rather than the removed stack-trace-on-error.
14376
239da61d
GM
143772011-04-16 Glenn Morris <rgm@gnu.org>
14378
14379 * progmodes/f90.el: Use lexical-binding.
14380 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14381
8b05752a
SM
143822011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14383
daca8ba5
SM
14384 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14385 (mail-mode): Setup mailalias completion here instead.
14386 * mail/mailalias.el: Use lexical-binding.
14387 (pattern, mailalias-done): Declare dynamic.
14388 (mail-completion-at-point-function): New function, from mail-complete.
14389 (mail-complete): Use it.
14390 (mail-completion-expand): New function.
14391 (mail-get-names): Use it.
14392 (mail-directory, mail-directory-process, mail-directory-stream):
14393 Don't use `pattern' for lexically bound arg.
14394
6f542485
SM
14395 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14396
037e7c3f
SM
14397 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14398 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14399 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14400
8b05752a
SM
14401 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14402 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14403 (byte-interactive-p): Define them again, for use when inlining
14404 old code.
14405
49093f60
JB
144062011-04-15 Juanma Barranquero <lekktu@gmail.com>
14407
14408 * loadup.el: Use `string-to-number', not `string-to-int'.
14409
b5b8e7de
SM
144102011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14411
14412 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14413 gud-gdb-complete-command.
14414 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14415 (gud-gdb-completion-at-point): New function.
14416 (gud-gdb-completions): Remove.
14417
f42efeb5
MA
144182011-04-14 Michael Albinus <michael.albinus@gmx.de>
14419
49093f60
JB
14420 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14421 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14422 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14423 whether `executable-find' is bound.
f42efeb5
MA
14424
14425 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14426
e240cc21
SM
144272011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * minibuffer.el (completion-in-region-mode-predicate)
14430 (completion-in-region-mode--predicate): New vars.
14431 (completion-in-region, completion-in-region--postch)
14432 (completion-in-region-mode): Use them.
14433 (completion--capf-wrapper): Also return the hook function.
14434 (completion-at-point, completion-help-at-point):
14435 Adjust and provide a predicate.
c2bd2ab0
SM
14436
14437 Preserve arg names for advice of subr and lexical functions (bug#8457).
14438 * help-fns.el (help-function-arglist): Consolidate the subr and
14439 new-byte-code cases. Add argument `preserve-names' to extract names
14440 from the docstring when needed.
14441 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14442 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14443 (ad-arglist): Use help-function-arglist's new arg.
14444 (ad-definition-type): Use cond.
14445
c183f693
JB
144462011-04-13 Juanma Barranquero <lekktu@gmail.com>
14447
06641a47
JB
14448 * autorevert.el (auto-revert-handler):
14449 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14450 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14451 Don't quote lambda.
14452
c183f693
JB
14453 * image-mode.el (image-transform-set-scale):
14454 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14455
1e3b6001
G
144562011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14457
14458 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14459 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14460 Upgrades via gnutls-cli are too slow to be done opportunistically.
14461
2d6af8dd
JB
144622011-04-12 Juanma Barranquero <lekktu@gmail.com>
14463
14464 * dframe.el (dframe-current-frame): Remove spurious quote.
14465
c0749a51
GM
144662011-04-12 Glenn Morris <rgm@gnu.org>
14467
088d0d61
GM
14468 * calendar/cal-tex.el (cal-tex-end-document):
14469 Try to automatically use latin1 input if needed.
14470
c0749a51
GM
14471 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14472 Don't try to cons a mark onto an empty element.
14473
5c90fde0
LL
144742011-04-11 Leo Liu <sdl.web@gmail.com>
14475
14476 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14477 buffers.
14478 (ido-kill-buffer-at-head): Support killing virtual buffers.
14479
369e974d
CY
144802011-04-10 Chong Yidong <cyd@stupidchicken.com>
14481
14482 * minibuffer.el (completion-show-inline-help): New var.
14483 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14484 (minibuffer-force-complete, minibuffer-complete-word):
14485 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14486
14487 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14488 to avoid interference from inline help (Bug#5849).
14489
37f1c930
LL
144902011-04-10 Leo Liu <sdl.web@gmail.com>
14491
099c39a4
JB
14492 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14493 Fix typo.
37f1c930 14494
a32d4040
CY
144952011-04-09 Chong Yidong <cyd@stupidchicken.com>
14496
14497 * image-mode.el (image-toggle-display-image): Signal an error if
14498 not in Image mode.
14499 (image-transform-mode, image-transform-resize)
14500 (image-transform-set-rotation): Doc fix.
daca8ba5 14501 (image-transform-set-resize): Delete.
a32d4040
CY
14502 (image-transform-set-scale, image-transform-fit-to-height)
14503 (image-transform-fit-to-width): Handle image-toggle-display-image
14504 and image-transform-resize directly.
14505
099c39a4 145062011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14507
14508 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14509 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14510 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14511 (doc-view-mode-map): Add bindings for the new functions.
14512
099c39a4 145132011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14514
4d61f28d 14515 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14516 Fix typo in docstring.
14517
3726838a
EZ
145182011-04-08 Eli Zaretskii <eliz@gnu.org>
14519
04f33f1e
EZ
14520 * files.el (file-size-human-readable): Produce one digit after
14521 decimal, like "ls -lh" does.
14522
14523 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14524 the file size representation.
14525
3726838a
EZ
14526 * simple.el (list-processes): If async subprocesses are not
14527 available, error out with a clear error message.
14528
cbb59342
CY
145292011-04-08 Chong Yidong <cyd@stupidchicken.com>
14530
14531 * help.el (help-form-show): New function, to be called from C.
14532 Put help-form output in a buffer named differently than *Help*.
14533
e3971c44
EZ
145342011-04-08 Eli Zaretskii <eliz@gnu.org>
14535
14536 * files.el (file-size-human-readable): New function.
14537
14538 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14539 computing the representation inline. Don't require `cl'.
14540
12544bbe
GM
145412011-04-08 Glenn Morris <rgm@gnu.org>
14542
a1de6c6a
GM
14543 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14544
3c4671f4
GM
14545 * net/browse-url.el (browse-url-firefox):
14546 Test system-type, not system-configuration.
14547
b605679c
GM
14548 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14549 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14550 Use log-edit-empty-buffer-p. (Bug#7598)
14551
56442f0c
GM
14552 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14553 (rlogin-mode-map): Initialize in the defvar.
14554 (rlogin): Use ignore-errors.
14555
12544bbe
GM
14556 * replace.el (occur-mode-map): Some fixes for menu items.
14557
eb237b0f
AH
145582011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14559
14560 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14561
7d668f2c
CY
145622011-04-06 Chong Yidong <cyd@stupidchicken.com>
14563
e67a13ab
CY
14564 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14565 issuing unused warnings.
14566
14567 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14568 macro directly.
14569
7d668f2c
CY
14570 * simple.el: Lisp reimplement of list-processes. Based on an
14571 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14572 (process-menu-mode): New major mode.
14573 (list-processes--refresh, list-processes):
14574 (process-menu-visit-buffer): New functions.
14575
14576 * files.el (save-buffers-kill-emacs): Don't assume any return
14577 value of list-processes, which is undocumented anyway.
14578
a83ec3c9
CY
145792011-04-06 Chong Yidong <cyd@stupidchicken.com>
14580
14581 * emacs-lisp/tabulated-list.el: New file.
14582
e91a96fe
CY
14583 * emacs-lisp/package.el: Use Tabulated List mode.
14584 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14585 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14586 table format using Tabulated List mode variables.
14587 (package--push): New macro, replacing package-list-maybe-add.
14588 (package-menu--generate): Use package--push. Renamed from
14589 package--generate-package-list.
14590 (package-menu-refresh, list-packages): Use it.
daca8ba5 14591 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14592 Return insertion data instead of inserting it directly.
099c39a4
JB
14593 (package-menu-describe-package, package-menu-execute):
14594 Use tabulated-list-get-id.
e91a96fe
CY
14595 (package-menu-mark-delete, package-menu-mark-install)
14596 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14597 (package-menu-mark-obsolete-for-deletion):
14598 Use tabulated-list-put-tag.
e91a96fe
CY
14599 (package--list-packages, package-menu-revert)
14600 (package-menu-get-package, package-menu-get-version)
14601 (package-menu-sort-by-column): Functions deleted.
14602 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14603 (package-menu--status-predicate, package-menu--version-predicate)
14604 (package-menu--name-predicate)
14605 (package-menu--description-predicate): Handle arguments in the
14606 Tabulated List format.
14607 (package-list-packages-no-fetch): Call list-packages.
14608
3e214b50
JB
146092011-04-06 Juanma Barranquero <lekktu@gmail.com>
14610
14611 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14612 (after-find-file): Don't bind it.
3e214b50
JB
14613 (revert-buffer-in-progress-p): New variable.
14614 (revert-buffer): Bind it.
14615 Pass nil for `after-find-file-from-revert-buffer'.
14616
14617 * saveplace.el (save-place-find-file-hook): Use new variable
14618 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14619
3f0f1700
GM
146202011-04-06 Glenn Morris <rgm@gnu.org>
14621
c0274801
GM
14622 * Makefile.in (AUTOGEN_VCS): New variable.
14623 (autoloads): Use $AUTOGEN_VCS.
14624
3f0f1700
GM
14625 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14626 * calendar/calendar.el (calendar-mode-map):
14627 Check for toolkit scroll bars. (Bug#8305)
14628
41ea9e48
CY
146292011-04-05 Chong Yidong <cyd@stupidchicken.com>
14630
14631 * minibuffer.el (completion-in-region--postch)
14632 (completion-in-region-mode): Remove unnecessary messages.
14633
6194c800
JB
146342011-04-05 Juanma Barranquero <lekktu@gmail.com>
14635
33256f14
JB
14636 * font-lock.el (font-lock-refresh-defaults):
14637 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14638 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14639
6194c800
JB
14640 * info.el (Info-directory-list, Info-read-node-name-2)
14641 (Info-split-parameter-string): Doc fixes.
14642 (Info-virtual-nodes): Reflow docstring.
14643 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14644 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14645 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14646 Fix typos in docstrings.
14647 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14648 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14649 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14650 (Info-restore-desktop-buffer): Mark unused parameters.
14651 (Info-directory-find-file, Info-directory-find-node)
14652 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14653 (Info-virtual-index-find-node, Info-apropos-find-file)
14654 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14655 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14656 (Info-virtual-index): Remove unused local variable `nodename'.
14657
b87a8200 146582011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14659
b87a8200
DD
14660 * net/rcirc.el: Update my e-mail address.
14661 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14662
3b2ff876
CY
146632011-04-05 Chong Yidong <cyd@stupidchicken.com>
14664
14665 * startup.el (command-line): Save the cursor's theme-face
14666 directly, instead of using face-override-spec.
14667
14668 * custom.el (load-theme): Minor optimization in assigning faces.
14669
8d17e7ca
JB
146702011-04-04 Juanma Barranquero <lekktu@gmail.com>
14671
14672 * help-fns.el (describe-variable): Complete all variables having
14673 documentation, including keywords.
14674 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14675
2fbc1934
JB
146762011-04-04 Juanma Barranquero <lekktu@gmail.com>
14677
14678 Convert to lexical-binding.
14679
14680 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14681 (bs--get-marked-string, bs--get-modified-string)
14682 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14683 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14684 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14685
14686 * ehelp.el (electric-help-execute-extended)
14687 (electric-help-ctrl-x-prefix):
14688 * hexl.el (hexl-revert-buffer-function):
14689 * linum.el (linum-after-change, linum-after-scroll):
14690 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14691
14692 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14693
74f50695
DU
146942011-04-04 Daiki Ueno <ueno@unixuser.org>
14695
14696 * epa-dired.el:
14697 * epa-mail.el:
14698 * epa-hook.el:
14699 * epa-file.el:
14700 * epa.el:
14701 * epg.el: Use lexical binding.
14702
c11325f7
CY
147032011-04-03 Chong Yidong <cyd@stupidchicken.com>
14704
0d9e9a12
CY
14705 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14706
c11325f7 14707 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14708 dictionary case for flyspell-mark-duplications-exceptions.
14709 Use regexp matching for languages.
c11325f7
CY
14710 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14711 default dictionary (Bug#7926).
14712
da91b5f2
CY
147132011-04-02 Chong Yidong <cyd@stupidchicken.com>
14714
099c39a4
JB
14715 * emacs-lisp/package.el (package--with-work-buffer):
14716 Recognize https URLs.
da91b5f2 14717
099c39a4
JB
14718 * net/network-stream.el: Move from gnus/proto-stream.el.
14719 Change prefix to network-stream throughout.
da91b5f2
CY
14720 (open-protocol-stream): Merge into open-network-stream, leaving
14721 open-protocol-stream as an alias. Handle nil BUFFER args.
14722
14723 * subr.el (open-network-stream): Move to net/network-stream.el.
14724
afa8e9f6
GM
147252011-04-02 Glenn Morris <rgm@gnu.org>
14726
1d2e369d
GM
14727 * find-dired.el (find-exec-terminator): New option.
14728 (find-ls-option): Test for -ls support.
14729 (find-ls-subdir-switches): Test for -b in find-ls-option.
14730 (find-dired, find-grep-dired): Doc fixes.
14731 (find-dired): Use find-exec-terminator.
14732
8abb7da8 14733 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14734 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14735 (find-name-arg): Remove purecopy.
8abb7da8 14736
f3ca7378
GM
14737 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14738 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14739 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14740 accordingly. Don't add the null-device if not needed.
14741
afa8e9f6
GM
14742 * files.el (save-some-buffers): Doc fix.
14743
35eae264
EZ
147442011-04-02 Eli Zaretskii <eliz@gnu.org>
14745
14746 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14747
26b51db5
JB
147482011-04-01 Juanma Barranquero <lekktu@gmail.com>
14749
14750 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14751 Use `dolist' rather than `mapcar'.
14752
7200d79c
SM
147532011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14754
03408648 14755 Add lexical binding.
7200d79c 14756
03408648
SM
14757 * subr.el (apply-partially): Use new closures rather than CL.
14758 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14759 (dolist, dotimes): Use slightly different expansion for lexical code.
14760 (functionp): Move to C.
14761 (letrec): New macro.
14762 (with-wrapper-hook): Use it and apply-partially instead of CL.
14763 (eval-after-load): Preserve lexical-binding.
14764 (save-window-excursion, with-output-to-temp-buffer): Turn them
14765 into macros.
7200d79c 14766
03408648
SM
14767 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14768
14769 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14770 than the arglist.
14771 (help-add-fundoc-usage): Don't add `Not documented'.
14772 (help-function-arglist): Handle closures, subroutines, and new
14773 byte-code-functions.
14774 (help-make-usage): Remove leading underscores.
14775 (describe-function-1): Handle closures.
14776 (describe-variable): Use special-variable-p for completion.
14777
14778 * files.el (lexical-binding): Declare safe.
f488fb65 14779
03408648
SM
14780 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14781 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14782 (pcase): Add `let' pattern.
14783 Change memoization so it actually works.
14784 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14785 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14786 <let>: New case.
f488fb65 14787
03408648
SM
14788 * emacs-lisp/macroexp.el: Use lexical binding.
14789 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14790 Don't convert ' to #' without checking that it's indeed quoting
14791 a lambda.
14792
14793 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14794 Use eval-sexp-add-defvars.
03408648
SM
14795 (eval-sexp-add-defvars): New fun.
14796
14797 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14798
14799 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14800 Don't autoload.
14801 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14802 than the internal `byte-compile-lambda'.
14803 (defmethod): Don't hide code under quotes.
14804 (eieio-defmethod): New `code' argument.
14805
14806 * emacs-lisp/eieio-comp.el: Remove.
14807
14808 * emacs-lisp/edebug.el (edebug-eval-defun)
14809 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14810 (edebug-toggle): Avoid `eval'.
14811
14812 * emacs-lisp/disass.el (disassemble-internal): Handle new
14813 `closure' objects.
14814 (disassemble-1): Handle new byte codes.
14815
14816 * emacs-lisp/cl.el (pushnew): Silence warning.
14817
14818 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14819 (cl-byte-compile-throw): Remove.
14820 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14821
14822 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14823 closures.
14824
14825 * emacs-lisp/cconv.el: New file.
14826
14827 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14828 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14829 (byte-compile-initial-macro-environment):
14830 Handle declare-function here.
14831 (byte-compile--lexical-environment): New var.
14832 (byte-stack-ref, byte-stack-set, byte-discardN)
14833 (byte-discardN-preserve-tos): New lap codes.
14834 (byte-interactive-p): Don't use any more.
14835 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14836 New macros.
14837 (byte-compile-lapcode): Use them and handle new lap codes.
14838 (byte-compile-obsolete): Remove.
14839 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14840 (byte-compile-arglist-warn): Check late def of inlinable funs.
14841 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14842 since they should have been expanded by now.
14843 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14844 (byte-compile-from-buffer): Remove unused second arg.
14845 (byte-compile-preprocess): New function.
14846 (byte-compile-toplevel-file-form): New function to distinguish
14847 file-form calls from outside from file-form calls from hunk-handlers.
14848 (byte-compile-file-form): Simplify.
14849 (byte-compile-file-form-defsubst): Remove.
14850 (byte-compile-file-form-defmumble): Simplify now that
14851 byte-compile-lambda always returns a byte-code-function.
14852 (byte-compile): Preprocess.
14853 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14854 Remove, not used any more.
14855 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14856 (byte-compile-make-args-desc): New funs.
14857 (byte-compile-lambda): Handle lexical functions. Always return
14858 a byte-code-function.
14859 (byte-compile-reserved-constants): New var, to make up room for
14860 closed-over variables.
14861 (byte-compile-constants-vector): Obey it.
14862 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14863 (byte-compile-macroexpand-declare-function): New function.
14864 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14865 byte-code-functions.
14866 (byte-compile-form): Check obsolescence here.
14867 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14868 (byte-compile-variable-ref): Remove.
14869 (byte-compile-dynamic-variable-op): New fun.
14870 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14871 (byte-compile-variable-set): New funs.
14872 (byte-compile-discard): Add 2 args.
14873 (byte-compile-stack-ref, byte-compile-stack-set)
14874 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14875 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14876 macroexpand-all instead.
14877 (byte-compile-quote-form): Remove.
14878 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14879 (byte-compile-bind, byte-compile-unbind): New funs.
14880 (byte-compile-let): Handle let* and lexical binding.
14881 (byte-compile-let*): Remove.
14882 (byte-compile-catch, byte-compile-unwind-protect)
14883 (byte-compile-track-mouse, byte-compile-condition-case):
14884 Handle a new :fun-body form, used for lexical scoping.
14885 (byte-compile-save-window-excursion)
14886 (byte-compile-with-output-to-temp-buffer): Remove.
14887 (byte-compile-defun): Simplify.
14888 (byte-compile-stack-adjustment): New fun.
14889 (byte-compile-out): Use it.
14890 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14891
14892 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14893 handler any more.
14894
14895 * emacs-lisp/byte-opt.el: Use lexical binding.
14896 (byte-inline-lapcode): Remove (to bytecomp).
14897 (byte-compile-inline-expand): Pay attention to inlining to/from
14898 lexically bound code.
14899 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14900 any more.
14901 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14902 any more and don't call compiler-macros.
14903 (byte-compile-splice-in-already-compiled-code): Remove.
14904 (byte-code): Don't inline any more.
14905 (disassemble-offset): Receive `bytes' as argument rather than via
14906 dynamic scoping.
14907 (byte-compile-tag-number): Declare before first use.
14908 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14909 `return' even if make-spliceable.
14910 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14911 obsolete interactive-p.
14912 (byte-optimize-lapcode): Optimize new lap-codes.
14913 Don't trip up on new form of `byte-constant' lap code.
14914
14915 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14916
14917 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14918
14919 * custom.el (custom-initialize-default, custom-declare-variable):
14920 Use `defvar'.
14921
14922 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14923 New variables.
14924 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14925 (COMPILE_FIRST): Add macroexp and cconv.
14926 * makefile.w32-in: Mirror changes in Makefile.in.
14927
14928 * vc/cvs-status.el:
14929 * vc/diff-mode.el:
14930 * vc/log-edit.el:
14931 * vc/log-view.el:
14932 * vc/smerge-mode.el:
14933 * textmodes/bibtex-style.el:
14934 * textmodes/css.el:
14935 * startup.el:
14936 * uniquify.el:
da91b5f2
CY
14937 * minibuffer.el:
14938 * newcomment.el:
14939 * reveal.el:
14940 * server.el:
14941 * mpc.el:
14942 * emacs-lisp/smie.el:
14943 * doc-view.el:
14944 * dired.el:
03408648
SM
14945 * abbrev.el: Use lexical binding.
14946
0f0c1f27
EZ
149472011-04-01 Eli Zaretskii <eliz@gnu.org>
14948
14949 * info.el (info-display-manual): New function.
14950
c82b2579
SM
149512011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14952
14953 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14954
221ddf68
TH
149552011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14956
14957 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14958 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14959
cba6e77e
GM
149602011-03-31 Glenn Morris <rgm@gnu.org>
14961
e040639f
GM
14962 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14963
cba6e77e
GM
14964 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14965
6d0f1c9e
CS
149662011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14967
14968 * progmodes/python.el (python-default-interpreter)
14969 (python-python-command-args, python-jython-command-args)
14970 (python-which-shell, python-which-args, python-which-bufname)
14971 (python-file-queue, python-comint-output-filter-function)
14972 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14973 variables and functions.
14974
3e2d70fd
SM
149752011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14976
14977 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14978 (completion-in-region-mode): New minor mode.
14979 (completion-in-region): Use it.
14980 (completion-in-region--data, completion-in-region-mode-map): New vars.
14981 (completion-in-region--postch): New function.
14982 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14983 New vars.
14984 (completion--capf-wrapper): New function.
14985 (completion-at-point): Use it to track well-behavedness of
14986 hook functions.
14987 (completion-help-at-point): New command.
14988
f3e4086c
JM
149892011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14990
14991 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14992 syntax class to search for whitespace on a single line
14993 (Message-ID: <4D938140.4030905@redhat.com>).
14994
eb7ffc14
LL
149952011-03-30 Leo Liu <sdl.web@gmail.com>
14996
14997 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14998 New commands.
14999 (edit-abbrevs-map): Bind them here.
15000 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15001
d806ab68
KM
150022011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15003
15004 * allout.el (allout-hide-by-annotation, allout-flag-region):
15005 Reduce possibility of overlay leakage by making them volatile.
15006
15007 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15008 hash is not shared between buffers. Mode initialization is
15009 responsible for giving it a useful starting value.
15010 (allout-item-span): Reduce possibility of overlay leakage by
15011 making them volatile.
15012 (allout-widgets-count-buttons-in-region): Add diagnostic function
15013 for tracking down button overlay leaks.
15014
ea622834
LL
150152011-03-29 Leo Liu <sdl.web@gmail.com>
15016
15017 * ido.el (ido-read-internal): Use the default history var
15018 minibuffer-history if no HISTORY is specified.
15019
b62f8267
G
150202011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15021
03408648
SM
15022 * net/imap.el (imap-shell-open, imap-process-connection-type):
15023 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15024 Kerberos, SSL, other subprocesses.
15025
947b6566
LL
150262011-03-28 Leo Liu <sdl.web@gmail.com>
15027
15028 * abbrev.el (abbrev-table-empty-p): New function.
15029 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15030 nonempty ones. (Bug#5937)
15031
5ffb62aa
JD
150322011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15033
15034 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15035
7a097943
LL
150362011-03-27 Leo Liu <sdl.web@gmail.com>
15037
15038 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15039 for foreground and background colors.
15040 (ansi-color-make-color-map): Adapt.
15041
c5b40130
LL
150422011-03-25 Leo Liu <sdl.web@gmail.com>
15043
1f48f7d2
LL
15044 * midnight.el (midnight-time-float): Remove. Note it calculates
15045 the microsecond component incorrectly and seconds-to-time does the
15046 same job.
625897ec 15047 Remove redundant (require 'timer).
1f48f7d2 15048
c5b40130
LL
15049 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15050 (ido-completions): Remove unused arguments. (Bug#8329)
15051
d86d2721
SM
150522011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15053
15054 * minibuffer.el (completion--flush-all-sorted-completions):
15055 Remove itself from hook.
15056 (completion-at-point): Let the functions perform the completion
15057 immediately and return nil or t.
15058 * comint.el (comint-dynamic-complete-functions): Now identical to
15059 completion-at-point-functions.
15060 (comint-dynamic-list-input-ring): Remove unused var `index'.
15061 (comint--match-partial-filename, comint--unquote&expand-filename):
15062 New funs, split from comint-match-partial-filename.
15063 (comint-dynamic-complete): Use completion-at-point.
15064 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15065
e8974c48
DA
150662011-03-24 Drew Adams <drew.adams@oracle.com>
15067
15068 * thingatpt.el: Support `defun'.
15069
def71b5e
LL
150702011-03-23 Leo Liu <sdl.web@gmail.com>
15071
cb5af48e
LL
15072 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15073
def71b5e
LL
15074 * help-mode.el (help-mode-finish): Tweak regexp.
15075
927c53e7
GM
150762011-03-23 Glenn Morris <rgm@gnu.org>
15077
18d05bed
GM
15078 * eshell/esh-opt.el (eshell-eval-using-options):
15079 Do not bind unused local variable `eshell-option-stub'.
15080
927c53e7
GM
15081 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15082
9d0da923
JB
150832011-03-22 Juanma Barranquero <lekktu@gmail.com>
15084
15085 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15086 keymap variable in `with-no-warnings' to avoid a warning when the
15087 keymap has been already `defconst'ed.
15088
4b978a67
LL
150892011-03-22 Leo Liu <sdl.web@gmail.com>
15090
15091 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15092 encode all chars in abbrevs; otherwise use emacs-mule or
15093 utf-8-emacs. (Bug#8308)
15094
5fd62452
JB
150952011-03-22 Juanma Barranquero <lekktu@gmail.com>
15096
0b1596c6
JB
15097 * simple.el (backward-delete-char-untabify):
15098 Avoid warning about using `delete-backward-char'.
15099
5fd62452
JB
15100 * image.el (image-type-file-name-regexps): Make it variable.
15101 `imagemagick-register-types' modifies it, and the user may want
15102 to add new extensions for known image types.
15103 (imagemagick-register-types): Throw error if not using ImageMagick.
15104
0b4e93f1
LL
151052011-03-22 Leo Liu <sdl.web@gmail.com>
15106
15107 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15108 located before rcirc-prompt-end-marker.
15109 (rcirc-complete): Error if point is not after rcirc prompt.
15110 Handle the case when table is nil.
9882e214 15111 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15112
fccee4ab
CY
151132011-03-22 Chong Yidong <cyd@stupidchicken.com>
15114
15115 * custom.el (custom--inhibit-theme-enable): Make it affect only
15116 custom-theme-set-variables and custom-theme-set-faces.
15117 (provide-theme): Ignore custom--inhibit-theme-enable.
15118 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15119 (custom-enabling-themes): Delete variable.
d86d2721
SM
15120 (enable-theme): Accept only loaded themes as arguments.
15121 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15122 (custom-enabled-themes): Forbid themes from setting this.
15123 Eliminate use of custom-enabling-themes.
15124 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15125
af896da6
LL
151262011-03-21 Leo Liu <sdl.web@gmail.com>
15127
15128 * ido.el (ido-read-internal): Add ido-selected to history instead
15129 of user input.
15130
78f64af0
SM
151312011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15132
15133 * subr.el (deferred-action-list, deferred-action-function):
15134 Mark obsolete.
15135
b16ac1ec
LL
151362011-03-21 Leo Liu <sdl.web@gmail.com>
15137
810f7698
LL
15138 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15139 change on 2011-02-13 (bug#8309).
15140
b16ac1ec
LL
15141 * minibuffer.el (read-file-name-function): Change default value.
15142 (read-file-name--defaults): Rename from read-file-name-defaults.
15143 (read-file-name-default): Rename from read-file-name.
15144 (read-file-name): Call read-file-name-function.
15145
4e05e67e
GM
151462011-03-21 Glenn Morris <rgm@gnu.org>
15147
15148 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15149 Doc fixes.
15150
4359915b
CY
151512011-03-21 Chong Yidong <cyd@stupidchicken.com>
15152
15153 * cus-theme.el: Add missing provide statement.
15154 (customize-create-theme): Extract theme value correctly.
15155 (custom-theme-visit-theme): Autoload.
15156 (customize-create-theme): Prompt before inserting default faces.
15157
1fe275ee
JB
151582011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15159
15160 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15161 units and musical notes.
15162
cd394be1 151632011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15164
15165 * ido.el (ido-read-internal): Use completing-read-default.
15166 (ido-completing-read): Fix compatibility with completing-read.
15167
7d476bde
CO
151682011-03-20 Christian Ohler <ohler@gnu.org>
15169
15170 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15171 (ert-delete-all-tests): Use `called-interactively-p' rather than
15172 `interactive-p'.
15173 (ert--make-xrefs-region): Respect END.
15174
fe0fb33e
CY
151752011-03-19 Chong Yidong <cyd@stupidchicken.com>
15176
ff854b0b
CY
15177 * dired-aux.el (dired-create-directory): Signal an error if the
15178 directory already exists (Bug#8246).
15179
fe0fb33e
CY
15180 * facemenu.el (list-colors-display): Call list-faces-display
15181 inside with-help-window.
15182 (list-colors-print): Use display property to align the final
15183 column, instead of checking window-width.
15184
576bce32
EZ
151852011-03-19 Eli Zaretskii <eliz@gnu.org>
15186
4d61f28d 15187 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15188 windows-nt systems.
15189 (emerge-protect-metachars): Quote correctly for ms-dos and
15190 windows-nt systems.
15191
89c41d68 151922011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15193
15194 * info.el (info-initialize): Replace all uses of `:' with
15195 path-separator for compatibility with non-Unix systems.
15196 Cache quoting of path-separator. (Bug#8258)
15197
b14e3e21 151982011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15199
15200 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15201 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15202 (mouse-avoidance-mode): Fix typos in docstrings.
15203
4525ce3e
CY
152042011-03-19 Chong Yidong <cyd@stupidchicken.com>
15205
15206 * startup.el (package-subdirectory-regexp): Move from package.el.
15207 Omit \\` and \\', and let callers add them.
15208
15209 * emacs-lisp/package.el (package-strip-version)
15210 (package-load-all-descriptors): Add \\` and \\' to
15211 package-subdirectory-regexp before using it.
15212 (package-untar-buffer): New arg DIR; ensure that file untars only
15213 into this expected directory. Remove superfluous delete-region.
15214 (package-unpack): Caller changed.
15215 (package-tar-file-info): Use package-subdirectory-regexp.
15216
a904a09a 152172011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15218
a904a09a
SM
15219 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15220 diff-mode-shared-map (bug#8284).
15221 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15222
152232011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15224
15225 * calendar/time-date.el (format-seconds): Use assoc instead of
15226 assoc-string, since assoc-string doesn't exist in XEmacs.
15227
171fc304
JB
152282011-03-17 Juanma Barranquero <lekktu@gmail.com>
15229
15230 * custom.el (custom-known-themes): Reflow docstring.
15231 (custom-theme-load-path): Fix typo in docstring.
15232 (load-theme): Fix typo in error message.
15233 (custom-available-themes, custom-variable-theme-value):
15234 Use `let', not `let*'.
15235
d71990a1
JB
152362011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15237
15238 * calc/README: Mention inclusion of musical notes.
15239
15240 * calc/calc-units.el (calc-lu-quant): Rename from
15241 `calc-logunits-quantity'.
15242 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15243 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15244 (calc-db): Rename from `calc-dblevel'.
15245 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15246 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15247 (calc-np): Rename from `calc-nplevel'.
15248 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15249 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15250 (calc-lu-plus): Rename from `calc-logunits-add'.
15251 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15252 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15253 (calc-lu-minus): Rename from `calc-logunits-sub'.
15254 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15255 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15256 (calc-lu-times): Rename from `calc-logunits-mul'.
15257 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15258 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15259 (calc-lu-divide): Rename from `calc-logunits-div'.
15260 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15261 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15262
15263 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15264 functions being autoloaded.
15265
15266 * calc/calc.el (calc-lu-power-reference): Rename from
15267 `calc-logunits-power-reference'.
15268 (calc-lu-field-reference): Rename from
15269 `calc-logunits-field-reference'.
15270
7a71b18d
GM
15271 * calc/calc-help.el (calc-l-prefix-help):
15272 Mention musical note functions.
d71990a1 15273
40c2934b
SM
152742011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15275
15276 * minibuffer.el (completion-all-sorted-completions):
15277 Use :completion-cycle-penalty text property if present.
15278
b0911414
KM
152792011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15280
15281 * allout.el (allout-yank-processing): Adjust for new rebulleting
15282 regime so bullet being yanked is used without prompting the user
15283 for a choice.
15284
8a05b668
JB
152852011-03-16 Juanma Barranquero <lekktu@gmail.com>
15286
15287 * startup.el (command-line): Warn the user that _emacs is deprecated.
15288
5ba5fb81
JB
152892011-03-16 Juanma Barranquero <lekktu@gmail.com>
15290
15291 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15292 (delphi-verbose, delphi-comment-face, delphi-string-face)
15293 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15294 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15295 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15296 (delphi-new-comment-line, delphi-font-lock-defaults)
15297 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15298 Fix typos in docstrings.
15299
2dab465b
KM
153002011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15301
5ba5fb81 15302 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15303 Invert the roles of character and string values for INSTEAD, so a
15304 string is used for the more common case of a defaulting prompt.
15305
0adf5618
SM
153062011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15307
15308 * progmodes/ruby-mode.el (ruby-backward-sexp):
15309 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15310 * play/gamegrid.el (gamegrid-make-face):
15311 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15312 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15313 * notifications.el (notifications-notify):
15314 * net/xesam.el (xesam-search-engines):
15315 * net/quickurl.el (quickurl-list-insert):
15316 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15317
d72700e5
CY
153182011-03-15 Chong Yidong <cyd@stupidchicken.com>
15319
15320 * startup.el (command-line): Update package subdirectory regexp.
15321
49c5410a
SM
153222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15323
c6eee9aa
SM
15324 * allout.el (allout-abbreviate-flattened-numbering)
15325 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15326
49c5410a
SM
15327 * subr.el (read-char-choice): Only show the cursor after the prompt,
15328 not after the answer.
15329
047b2bb9
KR
153302011-03-15 Kevin Ryde <user42@zip.com.au>
15331
15332 * help-fns.el (variable-at-point): Skip leading quotes, if any
15333 (bug#8253).
15334
0a57d256
SM
153352011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15336
15337 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15338 warning message.
15339
77c992bc
MA
153402011-03-14 Michael Albinus <michael.albinus@gmx.de>
15341
15342 * shell.el (shell): When called interactively, offer to change the
15343 shell file name on remote hosts.
15344
eebc475d
TZ
153452011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15346
15347 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15348 integration for LDAP parameters. The host, base, user or binddn,
15349 and secret tokens can be specified in a netrc file, for instance.
15350 This is optional because an `auth-source' parameter must be
15351 specified in the search attributes.
15352
9d05d1ba
JB
153532011-03-13 Juanma Barranquero <lekktu@gmail.com>
15354
15355 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15356
09d9db2c
GM
153572011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15358
15359 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15360 into declaration. Remove redundant and harmful binding.
15361
153622011-03-12 Eli Zaretskii <eliz@gnu.org>
15363
15364 * files.el (file-ownership-preserved-p): Pass `integer' as an
15365 explicit 2nd argument to `file-attributes'. If the file's owner
15366 is the Administrators group on Windows, and the current user is
15367 Administrator, consider that a match.
15368
15369 * server.el (server-ensure-safe-dir): Consider server directory
15370 safe on MS-Windows if its owner is the Administrators group while
15371 the current Emacs user is Administrator. Use `=' to compare
15372 numerical UIDs, since they could be integers or floats.
15373
219bd536
JB
153742011-03-12 Juanma Barranquero <lekktu@gmail.com>
15375
15376 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15377
f3afd36b
MA
153782011-03-12 Michael Albinus <michael.albinus@gmx.de>
15379
15380 Sync with Tramp 2.2.1.
15381
15382 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15383
15384 * net/trampver.el: Update release number.
15385
3aaaa6f1
SM
153862011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15387
94642599
SM
15388 * progmodes/compile.el (compilation--previous-directory): Fix up
15389 various nil/dead-marker mismatches (bug#8014).
15390 (compilation-directory-properties, compilation-error-properties):
15391 Don't call it at a position past the one we're about to change.
15392
3aaaa6f1
SM
15393 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15394 Disable obsolescence warnings in the file that declares it.
15395
14239447
KM
153962011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15397
099c39a4
JB
15398 * allout-widgets.el (allout-widgets-tally):
15399 Initialize allout-widgets-tally as a hash table rather than nil to
15400 prevent mode-line redisplay warnings. Also, clarify the module
15401 description and fix a comment typo.
14239447 15402
135e287c
JB
154032011-03-11 Juanma Barranquero <lekktu@gmail.com>
15404
15405 * help-fns.el (describe-variable): Don't complete keywords.
15406 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15407
ffbf300e
CY
154082011-03-10 Chong Yidong <cyd@stupidchicken.com>
15409
ba08b241
CY
15410 * emacs-lisp/package.el (package-version-join): Impose a standard
15411 string representation for pre/alpha/beta version lists.
15412 (package-unpack-single): Standardize the directory name by passing
15413 it through package-version-join.
15414 (package-strip-rcs-id): Accept any version string that does not
15415 signal an error in version-to-list.
ffbf300e 15416
f346fd6b
MA
154172011-03-10 Michael Albinus <michael.albinus@gmx.de>
15418
15419 * simple.el (delete-trailing-whitespace): Return nil for the
15420 benefit of `write-file-functions'.
15421
ccb55d27
GM
154222011-03-10 Glenn Morris <rgm@gnu.org>
15423
5ceaac0c
GM
15424 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15425
02da65ff
GM
15426 * vc/vc-git.el (vc-git-program): New option.
15427 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15428 (vc-git--call): Use it.
15429
b2f603cc
GM
15430 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15431
5772caab
GM
15432 * cus-edit.el (Custom-newline): If no button at point, look
15433 for a subgroup button at start-of-line. (Bug#2298)
15434
ccb55d27
GM
15435 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15436
ec6ecaed
JD
154372011-03-10 Julien Danjou <julien@danjou.info>
15438
15439 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15440 `cursor-type' is nil.
15441
9d5aa01d
JB
154422011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15443
15444 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15445
b6a5875b
KM
154462011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15447
7a71b18d 15448 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15449 preserves the existing header prefix, rebulleting it if necessary,
15450 rather than replacing it. This is necessary for proper operation
15451 of cooperative addons like allout-widgets.
1154d12e
JB
15452 (allout-make-topic-prefix, allout-rebullet-heading):
15453 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15454 value as alternate bullet to be used, instead of prompting the user
15455 for a bullet character.
b6a5875b 15456
ee545c35
MA
154572011-03-09 Michael Albinus <michael.albinus@gmx.de>
15458
d86d2721
SM
15459 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15460 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15461 `tramp-default-port'.
15462
c47971d7
DD
154632011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15464
15465 * net/rcirc.el (rcirc-handler-001): Remove useless
15466 with-rcirc-process-buffer.
15467 (rcirc-check-auth-status): Swap arguments to string-match.
15468
13522cb4
GM
154692011-03-09 Glenn Morris <rgm@gnu.org>
15470
0be6f4f1
GM
15471 * shell.el (shell-mode):
15472 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15473
13522cb4
GM
15474 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15475 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15476
515de2e3
CY
154772011-03-08 Chong Yidong <cyd@stupidchicken.com>
15478
15479 * emacs-lisp/package.el (package-refresh-contents)
15480 (package-menu-execute): Use condition-case-no-debug.
15481
b511b994
MA
154822011-03-08 Michael Albinus <michael.albinus@gmx.de>
15483
15484 * simple.el (shell-command-to-string): Use `process-file'.
15485
15486 * emacs-lisp/package.el (package-tar-file-info): Handle also
15487 remote files.
15488
d86d2721
SM
15489 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15490 Use `equal' for upload base check.
b511b994 15491
25bbfb31
AM
154922011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15493
15494 * textmodes/texinfo.el (texinfo-environments):
15495 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15496
be996521
GM
154972011-03-08 Glenn Morris <rgm@gnu.org>
15498
e9c8529f
GM
15499 * cus-start.el (cursor-in-non-selected-windows):
15500 Fix :set quoting oddness. (Bug#8192)
15501
be996521
GM
15502 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15503 in some setf expressions. (Bug#2159)
15504
2bb5649e
CY
155052011-03-08 Chong Yidong <cyd@stupidchicken.com>
15506
15507 * custom.el (custom-available-themes): Return themes in
15508 alphabetical order.
15509
33383987 15510See ChangeLog.15 for earlier changes.
e3d51b27
MR
15511
15512;; Local Variables:
15513;; coding: utf-8
e3d51b27
MR
15514;; End:
15515
acaf905b 15516 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15517
15518 This file is part of GNU Emacs.
15519
15520 GNU Emacs is free software: you can redistribute it and/or modify
15521 it under the terms of the GNU General Public License as published by
15522 the Free Software Foundation, either version 3 of the License, or
15523 (at your option) any later version.
15524
15525 GNU Emacs is distributed in the hope that it will be useful,
15526 but WITHOUT ANY WARRANTY; without even the implied warranty of
15527 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15528 GNU General Public License for more details.
15529
15530 You should have received a copy of the GNU General Public License
15531 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.