* sysdep.c [__FreeBSD__]: Fix recently-introduced typos.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e33c6771
SM
12012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
b68581e2
SM
3 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4 (bug#11719).
5
e33c6771
SM
6 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7 the requote function doesn't work properly (bug#11714).
8
7117e105
GM
92012-06-23 Glenn Morris <rgm@gnu.org>
10
11 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12
36cec983
SM
132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 Further GV/CL cleanups.
16 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
17 gv-expander.
18 (gv--defun-declaration): New function.
19 (defun-declarations-alist): Use it.
20 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
21 (gv-place): Autoload.
22 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
23 original definition of dotimes and dolist.
24 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
25 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
26 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
27 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
28 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
29 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
30 to the function's definition.
31 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
32 * window.el:
33 * files.el:
34 * faces.el:
35 * env.el: Don't use CL.
36
d35af63c
PE
372012-06-22 Paul Eggert <eggert@cs.ucla.edu>
38
39 Support higher-resolution time stamps (Bug#9000).
40
41 * calendar/time-date.el (with-decoded-time-value): New arg
42 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
43 (encode-time-value): New optional arg PICO. New type 3.
44 (time-to-seconds) [!float-time]: Support the new picoseconds
45 component if it's used.
46 (seconds-to-time, time-subtract, time-add):
47 Support ps-resolution time stamps as well.
48
49 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
50 (timerp): Timer vectors now have length 9, not 8.
51 (timer--time): Support new-style (4-part) time stamps.
52 (timer-next-integral-multiple-of-time): Time stamps now have
53 picosecond resolution, so take a bit more care about rounding.
54 (timer-relative-time, timer-inc-time): New optional arg psecs.
55 (timer-set-time-with-usecs): Set psecs to 0.
56 (timer--activate): Check psecs component, too.
57
58 * proced.el (proced-time-lessp): Support ps-resolution stamps.
59
ac77b21a
SM
602012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
61
f143bfe3
SM
62 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
63 Move the non-essential binding to the post/pre-command-hook where it is
64 more obviously correct.
65
ac77b21a
SM
66 * subr.el (read-passwd): Don't use a history at all.
67 * savehist.el (savehist-save): Remove password saved accidentally
68 because of the above bug.
69
76386c5a
BG
702012-06-22 Bastien Guerry <bzg@gnu.org>
71
72 * files.el (toggle-read-only): Display a message telling whether
73 the buffer is read-only or not (bug#11726).
74
2ee3d7f0
SM
752012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * emacs-lisp/gv.el: New file.
78 * subr.el (push, pop): Extend to generalized variables.
79 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
80 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
81 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
82 gv-define-simple-setter, and gv-define-expander.
83 Remove setf-methods defined in gv. Rename cl-setf -> setf.
84 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
85 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
86 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
87 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
88 gv-letplace.
89 (cl-defstruct): Don't define setf-method any more.
90 * emacs-lisp/cl.el (flet): Don't autoload.
91 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
92 (define-setf-expander, defsetf, define-modify-macro)
93 (cl-struct-setf-expander): Move from cl-lib.el.
94 * emacs-lisp/syntax.el:
95 * emacs-lisp/ewoc.el:
96 * emacs-lisp/smie.el:
97 * emacs-lisp/cconv.el:
98 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
99 (timer--time): Use gv-define-simple-setter.
100 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
101 to avoid coding-system problems in subr.el. Adjust all users.
102 (macroexp--maxsize, macroexp-small-p): New functions.
103 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
104 * scroll-bar.el (scroll-bar-mode):
105 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
106 (normal-erase-is-backspace-mode): Don't use the `eq' place.
107 * winner.el (winner-configuration, winner-make-point-alist)
108 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
109 * files.el (locate-file-completion-table): Avoid list*.
110
c5695d1d
CY
1112012-06-22 Chong Yidong <cyd@gnu.org>
112
113 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
114 (dired-create-files): Doc fix (Bug#11329).
115 (dired-do-copy): Doc fix (Bug#11334).
116 (dired-mark-read-string): Doc fix (Bug#11553).
117
2ee3d7f0
SM
118 * dired.el (dired-recursive-copies, dired-recursive-deletes):
119 Doc fix (Bug#11326).
c5695d1d
CY
120 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
121 (dired-dwim-target): Doc fix.
122
123 * wdired.el (wdired-mode): Doc fix.
124
89b5595a
GM
1252012-06-22 Glenn Morris <rgm@gnu.org>
126
575db3f1
GM
127 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
128 (pcmpl-rpm-cache-stamp-file): New constant.
129 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
130 (pcmpl-rpm-packages): Optionally cache list of packages.
131
a4c8dd51
GM
132 * pcmpl-rpm.el (pcmpl-rpm): New group.
133 (pcmpl-rpm-query-options): New option.
134 (pcmpl-rpm-packages): No need to inline it.
135 Use pcmpl-rpm-query-options.
136
89b5595a
GM
137 * calendar/calendar.el (calendar-in-read-only-buffer):
138 Avoid some needless mode changes.
139
e76f0800
CY
1402012-06-21 Chong Yidong <cyd@gnu.org>
141
142 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
143 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 144 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 145
297a8f1d
CY
1462012-06-20 Chong Yidong <cyd@gnu.org>
147
148 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
149
d34c18b1
DR
1502012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
151
152 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
153 (bug#11201).
154
32f7f28e
CY
1552012-06-20 Chong Yidong <cyd@gnu.org>
156
157 * term.el (term-window-width): Handle the case of a missing right
158 fringe (Bug#8837).
159 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
160 (term-mode): Use define-derived-mode. Minor cleanups.
161 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
162 (term-move-columns, term-insert-char, term-emulate-terminal)
163 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 164
493c6688
MA
1652012-06-20 Michael Albinus <michael.albinus@gmx.de>
166
d34c18b1
DR
167 * net/ange-ftp.el (ange-ftp-get-passwd):
168 Bind `enable-recursive-minibuffers'.
493c6688
MA
169 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
170
3f06ecf4
DR
1712012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
172
173 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
174
68f12411
GM
1752012-06-19 Glenn Morris <rgm@gnu.org>
176
177 * progmodes/python.el (python-mode): Derive from prog-mode.
178
b3820318
KG
1792012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
180
181 * emulation/edt.el (edt-default-menu-bar-update-buffers)
182 (edt-user-menu-bar-update-buffers): New functions.
183 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
184
c6bf3022
CY
1852012-06-19 Chong Yidong <cyd@gnu.org>
186
187 * subr.el (with-selected-window): Preserve the selected window's
188 terminal's top-frame (Bug#4702).
189
190 * window.el (save-selected-window): Likewise.
191
25f09295
SM
1922012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * progmodes/python.el (python-rx-constituents): Move backquote.
195 (python-skeleton-define, python-define-auxiliary-skeleton):
196 Use `declare'.
197
6b11952a
MA
1982012-06-18 Michael Albinus <michael.albinus@gmx.de>
199
200 * minibuffer.el (read-file-name-default): Revert the patch from
201 2012-06-17.
202
ee4b1330
SM
2032012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
206 (pcase--u1, pcase--q1): Don't use apply-partially.
207
35647f79
GM
2082012-06-18 Glenn Morris <rgm@gnu.org>
209
210 * progmodes/python.el (python-proc, python-buffer)
211 (python-send-receive, python-send-string): Fix obsolete versions.
212
24b0cff0
MR
2132012-06-18 Martin Rudalics <rudalics@gmx.at>
214
215 * window.el (special-display-p): Completely remove stringp
216 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
217
29855149
MA
2182012-06-17 Michael Albinus <michael.albinus@gmx.de>
219
220 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
221
222 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
223
224 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
225 * net/tramp-sh.el (tramp-maybe-open-connection):
226 Throw if `non-essential' is non-nil.
227
07463363
MR
2282012-06-17 Martin Rudalics <rudalics@gmx.at>
229
230 * window.el (special-display-p): Signal an error if BUFFER-NAME
231 is not a string (Bug#11713).
232
48d1354e
PE
2332012-06-17 Paul Eggert <eggert@cs.ucla.edu>
234
235 * progmodes/python.el (python-info-beginning-of-backslash):
236 Rename from python-info-beginning-of-backlash, as a spelling fix.
237
eb4a8a9a
CY
2382012-06-17 Chong Yidong <cyd@gnu.org>
239
240 * term.el (term-emulate-terminal): If term-check-size is called,
241 move point to the process mark without resetting point (Bug#4635).
242
ddfbf826 2432012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
244
245 * international/mule-cmds.el (mule-menu-keymap)
246 (set-language-environment, set-locale-environment): Doc tweaks.
247
9b0e3eba
AA
2482012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
249
250 * cus-face.el (custom-face-attributes): Add wave-style underline
251 attribute.
252 * faces.el (set-face-attribute): Update docstring to describe
253 wave-style underline attribute.
254
771e3eae
CY
2552012-06-16 Chong Yidong <cyd@gnu.org>
256
257 * term/xterm.el (terminal-init-xterm): Discard input before
258 querying background mode (Bug#10959).
259
7ae2ea10
SM
2602012-06-16 Stefan Merten <smerten@oekonux.de>
261
262 * textmodes/rst.el: Added and corrected some comments.
263 (rst-re-alist-def): Improve symbol syntax.
264 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
265 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
266 (rst-official-version, rst-official-cvs-rev): Update version
267 information.
7ae2ea10 268
b6974efa
JB
2692012-06-15 Juanma Barranquero <lekktu@gmail.com>
270
271 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
272 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
273
8826d473
GM
2742012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
275
276 * progmodes/python.el: New python.el merge.
277 (python-guess-indent): Obsolete var.
278 (python-indent-guess-indent-offset): New defcustom.
279 (python-indent): Obsolete var.
280 (python-indent-offset): New defcustom.
281 (python-python-command, python-jython-command): Delete var.
282 (python-shell-interpreter): New defcustom.
283 (python-pdbtrack-do-tracking-p): Delete var.
284 (python-pdbtrack-activate): New defcustom.
285 (python-use-skeletons): Obsolete var.
286 (python-skeleton-autoinsert): New defcustom.
287 (inferior-python-filter-regexp, python-continuation-offset)
288 (python-honour-comment-indentation, python-indent-string-contents)
289 (python-jython-packages, python-mode-hook)
290 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
291 (python-shell-prompt-alist)
292 (python-source-modes): Delete defcustoms.
293 (python-check-buffer-name, python-eldoc-setup-code)
294 (python-eldoc-string-code, python-ffap-setup-code)
295 (python-ffap-string-code, python-fill-comment-function)
296 (python-fill-decorator-function, python-fill-paren-function)
297 (python-fill-string-function, python-imenu-include-defun-type)
298 (python-imenu-make-tree, python-imenu-subtree-root-label)
299 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
300 (python-shell-compilation-regexp-alist)
301 (python-shell-completion-module-string-code)
302 (python-shell-completion-pdb-string-code)
303 (python-shell-completion-setup-code)
304 (python-shell-completion-string-code)
305 (python-shell-enable-font-lock, python-shell-exec-path)
306 (python-shell-extra-pythonpaths)
307 (python-shell-internal-buffer-name, python-shell-interpreter-args)
308 (python-shell-process-environment)
309 (python-shell-prompt-block-regexp)
310 (python-shell-prompt-output-regexp)
311 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
312 (python-shell-send-setup-max-wait, python-shell-setup-codes)
313 (python-shell-virtualenv-path): New defcustoms.
314 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
315 (inferior-python-mode-syntax-table, python--prompt-regexp)
316 (python-buffer, python-command python-python-command)
317 (python-default-template, python-imports, python-indent-index)
318 (python-indent-list, python-indent-list-length)
319 (python-mode-running, python-pdbtrack-is-tracking-p)
320 (python-preoutput-continuation, python-preoutput-leftover)
321 (python-preoutput-result, python-preoutput-skip-next-prompt)
322 (python-prev-dir/file, python-recursing)
323 (python-saved-check-command, python-version-checked)
324 (python-which-func-length-limit)
325 (view-return-to-alist): Delete vars.
326 (python-check-custom-command, python-dotty-syntax-table)
327 (python-imenu-index-alist, python-indent-current-level)
328 (python-indent-dedenters, python-indent-levels)
329 (python-nav-beginning-of-defun-regexp)
330 (python-nav-list-defun-positions-cache)
331 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
332 (python-shell-internal-buffer)
333 (python-skeleton-available): New vars.
334 (def-python-skeleton): Delete macro.
335 (python-skeleton-define): New macro.
336 (python-define-auxiliary-skeleton, python-rx): New macros.
337 (python-insert-class): Delete command.
338 (python-skeleton-class): New command.
339 (python-insert-def): Delete command.
340 (python-skeleton-def): New command.
341 (python-insert-for): Delete command.
342 (python-skeleton-for): New command.
343 (python-insert-if): Delete command.
344 (python-skeleton-if): New command.
345 (python-insert-try/except, python-insert-try/finally): Delete commands.
346 (python-skeleton-try): New command.
347 (python-insert-while): Delete command.
348 (python-skeleton-while): New command.
349 (python-backspace): Delete command.
350 (python-indent-dedent-line-backspace): New command.
351 (python-electric-colon): Delete command.
352 (python-indent-electric-colon): New command.
353 (python-guess-indent): Delete command.
354 (python-indent-guess-indent-offset): New command.
355 (python-shift-left): Delete command.
356 (python-indent-shift-left): New command.
357 (python-shift-right): Delete command.
358 (python-indent-shift-right): New command.
359 (python-find-function): Delete command.
360 (python-nav-jump-to-defun): New command.
361 (python-next-statement): Delete command.
362 (python-nav-forward-sentence): New command.
363 (python-previous-statement): Delete command.
364 (python-nav-backward-sentence): New command.
365 (python-fill-paragraph): Delete command.
366 (python-fill-paragraph-function): New command.
367 (python-send-buffer): Delete command.
368 (python-shell-send-buffer): New command.
369 (python-send-defun): Delete command.
370 (python-shell-send-defun): New command.
371 (python-send-region, python-send-region-and-go): Delete commands.
372 (python-shell-send-region)
373 (python-shell-switch-to-shell): New commands.
374 (python-send-string): Delete command.
375 (python-shell-send-string): New command.
376 (python-switch-to-python): Delete command.
377 (python-shell-switch-to-shell): New command.
378 (python-describe-symbol): Delete command.
379 (python-eldoc-at-point): New command.
380 (python--set-prompt-regexp, python-args-to-list)
381 (python-after-info-look, python-check-version)
382 (python-check-comint-prompt, python-find-imports)
383 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
384 (python-unload-function, python-expand-template)
385 (python-maybe-jython, python-preoutput-filter)
386 (python-pdbtrack-get-source-buffer)
387 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
388 (python-pdbtrack-toggle-stack-tracking)
389 (python-pdbtrack-track-stack-file, python-initial-text)
390 (python-first-word, python-comment-line-p, python-send-command)
391 (python-setup-brm, python-sentinel, python-set-proc)
392 (python-skip-out, python-input-filter, python-outdent-p)
393 (python-outline-level, python-backslash-continuation-line-p)
394 (python-end-of-block, python-end-of-statement, python-mark-block)
395 (python-beginning-of-block, python-beginning-of-statement)
396 (python-blank-line-p, python-beginning-of-string)
397 (python-open-block-statement-p): Delete functions.
398 (python-indent-line, python-indent-line-1): Delete functions.
399 (python-indent-line): New function.
400 (python-indentation-levels): Delete function.
401 (python-indent-calculate-levels): New function.
402 (python-proc): Delete function.
403 (python-shell-get-process): New function.
404 (python-send-receive): Delete function.
405 (python-shell-send-string-no-output): New function.
406 (python-module-path): Delete function.
407 (python-ffap-module-path): New function.
408 (python-completion-at-point)
409 (python-symbol-completions): Delete functions.
410 (python-completion-complete-at-point): New function.
411 (python-load-file): Delete function.
412 (python-shell-send-file): New function.
413 (python-calculate-indentation): Delete function.
414 (python-indent-calculate-indentation): New function.
415 (python-skip-comments/blanks): Delete function.
416 (python-util-forward-comment): New function.
417 (python-continuation-line-p): Delete function.
418 (python-info-continuation-line-p): New function.
419 (python-which-func, python-current-defun): Delete function.
420 (python-info-current-defun): New function.
421 (python-beginning-of-defun): Delete function.
422 (python-nav-beginning-of-defun): New function.
423 (python-close-block-statement-p)
424 (python-block-end-p): Delete function.
425 (python-info-closing-block): New function.
426 (python-comint-output-filter-function)
427 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
428 (python-fill-comment, python-fill-decorator, python-fill-paren)
429 (python-fill-string, python-imenu-make-element-tree)
430 (python-imenu-make-tree, python-imenu-tree-assoc)
431 (python-indent-context, python-indent-dedent-line)
432 (python-indent-line-function)
433 (python-indent-post-self-insert-function)
434 (python-indent-toggle-levels)
435 (python-info-assignment-continuation-line-p)
436 (python-info-beginning-of-backlash)
437 (python-info-block-continuation-line-p)
438 (python-info-closing-block-message)
439 (python-info-line-ends-backslash-p)
440 (python-info-looking-at-beginning-of-defun)
441 (python-info-ppss-context, python-info-ppss-context-type)
442 (python-nav-list-defun-positions, python-nav-read-defun)
443 (python-nav-sentence-end, python-nav-sentence-start)
444 (python-pdbtrack-comint-output-filter-function)
445 (python-pdbtrack-set-tracked-buffer)
446 (python-shell-calculate-exec-path)
447 (python-shell-calculate-process-environment)
448 (python-shell-completion--do-completion-at-point)
449 (python-shell-completion--get-completions)
450 (python-shell-completion-complete-at-point)
451 (python-shell-completion-complete-or-indent)
452 (python-shell-get-or-create-process)
453 (python-shell-get-process-name)
454 (python-shell-internal-get-or-create-process)
455 (python-shell-internal-get-process-name)
456 (python-shell-internal-send-string, python-shell-make-comint)
457 (python-shell-parse-command, python-shell-send-setup-code)
458 (python-skeleton-add-menu-items)
459 (python-util-clone-local-variables, python-util-position)
460 (run-python-internal, python-indentation-levels)
461 (python-nav-beginning-of-defun)
462 (python-completion-complete-at-point): New functions.
463 (run-python): Change arguments. New API requirements.
464
4302f5ba
SM
4652012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
466
f38ea36d
SM
467 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
468 (bug#11649).
469
470 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
471 (macroexp--expand-all): Use it.
472
4302f5ba
SM
473 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
474 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
475 Use `cl-function' instead.
476
33377562
JB
4772012-06-14 Juanma Barranquero <lekktu@gmail.com>
478
479 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
480 Suggested by Stefan Monnier while discussing bug#11657.
481
54c5ba1a
SS
4822012-06-14 Sam Steingold <sds@gnu.org>
483
484 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
485
f9f1b1fe
AS
4862012-06-14 Andreas Schwab <schwab@linux-m68k.org>
487
488 * play/doctor.el (doctor-doc): Remove parameter and use
489 doctor-sent instead of sent.
490 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
491
a81068ba
SM
4922012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
493
5a315f9c
SM
494 * files.el: Require cl-lib.
495 (file-name-non-special): Replace case -> cl-case.
496
497 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
498
a81068ba
SM
499 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
500 mapping from #' to function*.
501
8cca9703
CY
5022012-06-13 Chong Yidong <cyd@gnu.org>
503
504 * mouse.el (mouse-drag-track): Do not set the mark if the user
505 releases the mouse without selecting anything (Bug#11588).
506
a12ac9d7
SM
5072012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
508
ccf1dc18
SM
509 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
510 as well (bug#11646).
511
ef62b23d
SM
512 * loadup.el: Count byte-code functions as well.
513
c4c8444a
SM
514 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
515 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
516
a12ac9d7
SM
517 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
518 (bug#11649). Add cl-defun and cl-defmacro.
519
87e6e64f
DA
5202012-06-13 Drew Adams <drew.adams@oracle.com>
521
522 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
523 Fix last change.
524
682cefaf
MA
5252012-06-13 Michael Albinus <michael.albinus@gmx.de>
526
527 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
528 Otherwise, it blocks in batch mode.
529
773e1f08
JB
5302012-06-13 Juanma Barranquero <lekktu@gmail.com>
531
532 * help-mode.el (bookmark-make-record-default): Declare.
533
60057926
CY
5342012-06-13 Chong Yidong <cyd@gnu.org>
535
536 * emacs-lisp/package.el (list-packages): Compute a list of
537 packages that are newly-available since the last list-packages
538 invocation.
539 (package-menu--new-package-list): New var.
540 (package-menu--generate, package-menu--print-info)
541 (package-menu--status-predicate, package-menu-mark-install):
542 Handle new status label "new".
543
ad4d226c
SM
5442012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
547 conversion to backquotes.
548
f1a4e679
CY
5492012-06-12 Chong Yidong <cyd@gnu.org>
550
551 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
552 Rename from gud-inhibit-global-bindings.
553
554 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
555
556 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
557 hook from nxml-glyph-set-hook.
558
559 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
560 declaration.
561
562 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
563
564 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
565 Convert to defcustom.
566
0c9e42b5
DA
5672012-06-12 Drew Adams <drew.adams@oracle.com>
568
569 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
570 New functions.
571 (help-mode): Use them.
572
09e06855
GM
5732012-06-11 Glenn Morris <rgm@gnu.org>
574
575 * progmodes/fortran.el (fortran-font-lock-keywords-3):
576 Use preprocessor face for directives.
577 (fortran-directive-re): Doc fix.
578
71adb94b
SM
5792012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
580
2eb87922
SM
581 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
582 conversion to backquotes (bug#11652).
583
71adb94b
SM
584 Fix compiler-expansion of CL's cXXr functions (bug#11673).
585 * emacs-lisp/cl-lib.el (cl--defalias): New function.
586 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
587 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
588 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
589 (cl-ninth, cl-tenth): Mark them as inlinable.
590 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
591 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
592 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
593 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
594 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
595 (cl-list*, cl-adjoin): Don't put an autoload manually.
596 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
597 (cl--compiler-macro-list*): Add autoload cookie.
598 (cl--compiler-macro-cXXr): New function.
2eb87922 599
71adb94b
SM
600 * help-fns.el (help-fns--compiler-macro): New function extracted from
601 describe-function-1; follow aliases and use `compiler-macro' property.
602 (describe-function-1): Use it.
603
a6674402
CY
6042012-06-11 Chong Yidong <cyd@gnu.org>
605
606 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
607 is uninstalled, if imagemagick is installed.
608
bb3faf5b
SM
6092012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * emacs-lisp/cl-lib.el: Use lexical-binding.
612 (cl-map-extents, cl-maclisp-member): Remove.
613 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
614 (cl--set-substring, cl--block-wrapper, cl--block-throw)
615 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
616 * emacs-lisp/cl-extra.el: Use lexical-binding.
617 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
618 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
619 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
620 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
621 * emacs-lisp/cl-seq.el: Use lexical-binding.
622 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
623 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
624 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
625 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
626 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
627 CL's internals.
628
2fe4b125
MA
6292012-06-11 Michael Albinus <michael.albinus@gmx.de>
630
631 Sync with Tramp 2.2.6-pre.
632
633 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
634 `print-length' and `print-level' to nil, in order to avoid
635 truncation. Reported by Christopher Schmidt
636 <christopher@ristopher.com>.
637
638 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
639
640 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
641 New defmacro.
642 (tramp-compat-copy-directory): Add optional argument
643 COPY-CONTENTS. It is not handled yet.
644
645 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
646 (tramp-ftp-file-name-p): Simplify.
647
648 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
649 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
650 connection vector.
651
652 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
653 (tramp-methods): Do not use `tramp-password-end-of-line'.
654 (tramp-completion-function-alist-putty): Handle UNIX case.
655 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
656 (tramp-do-file-attributes-with-stat)
657 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
658 gid as real numbers. They could run out of integer range on cygwin.
659 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
660 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
661 (tramp-open-connection-setup-interactive-shell):
662 Use `tramp-cleanup'. Move check for busyboxes ...
663 (tramp-find-shell): ... here. Simplify implementation.
664 Set "remote-shell" property also for alternative shells.
665 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
666 If failing, a regular file would be written otherwise.
667 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
668 (tramp-find-inline-encoding): Cache the coding commands in the
669 process cache. Apply test command on the remote side, if defined.
670 (tramp-find-inline-compress): Cache the compress commands in the
671 process cache.
672 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
673 when requested. Handle hops.
674 (tramp-current-connection): New defvar.
87e6e64f
DA
675 (tramp-maybe-open-connection): Use `tramp-cleanup'.
676 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 677 Handle user interrupt. (Bug#10187)
87e6e64f
DA
678 (tramp-get-inline-compress, tramp-get-inline-coding):
679 Read connection properties from the process cache.
2fe4b125
MA
680
681 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
682 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
683 New defconsts.
2fe4b125
MA
684 (tramp-smb-prompt): Extend for powershell prompt.
685 (tramp-smb-file-name-handler-alist): Add handlers for
686 `process-file', `shell-command' and `start-file-process'.
687 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
688 (tramp-smb-winexe-shell-command-switch): New defcustoms.
689 (tramp-smb-file-name-p): Simplify.
690 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
691 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
692 (tramp-smb-shell-quote-argument): New defuns.
693 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
694 Implement using "tar". By this, time-stamps are preserved.
695 (tramp-smb-handle-copy-file): Handle also the case of directories.
696 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
697 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
698 Use `tramp-get-connection-buffer').
2fe4b125
MA
699 (tramp-smb-handle-rename-file): Use "rename", when source and
700 target are on the same share.
87e6e64f
DA
701 (tramp-smb-maybe-open-connection): Handle wrong passwords.
702 Use `tramp-smb-server-version'.
2fe4b125
MA
703 (tramp-smb-wait-for-output): Remove prompt.
704
705 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
706 (tramp-methods, tramp-rsh-end-of-line):
707 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
708 (tramp-save-ad-hoc-proxies): New defcustom.
709 (tramp-completion-function-alist): Adapt docstring.
710 (tramp-default-password-end-of-line): Remove defcustom.
711 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
712 (tramp-user-regexp, tramp-file-name-regexp-unified)
713 (tramp-file-name-regexp-url): Extend regexp by hop separator.
714 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
715 (tramp-remote-file-name-spec-regexp): New defconst.
716 (tramp-file-name-structure): Extend structure for hops.
717 (tramp-get-method-parameter): Move up.
718 (tramp-file-name-p, tramp-dissect-file-name)
719 (with-parsed-tramp-file-name): Handle hops.
720 (tramp-file-name-hop): New defun.
721 (tramp-make-tramp-file-name): New optional arg HOP.
722 (tramp-message-show-progress-reporter-message): New defvar.
723 (tramp-with-progress-reporter): Use it. We cannot use
724 `tramp-message-show-message' here, because this suppresses also
725 error buffers.
726 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
727 `tramp-message-show-message' is nil.
728 Use `tramp-get-connection-buffer'.
2fe4b125
MA
729 (tramp-cleanup): New defun.
730 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
731 (tramp-file-name-handler): If `debug-on-error' is set, propagate
732 an error unchanged.
733 (tramp-completion-handle-file-name-all-completions): Handle hops.
734 Fix an error when called from ido.
735 (tramp-completion-dissect-file-name): Use better local variable
736 name. Add hop to the vector.
737 (tramp-handle-insert-file-contents): Use progress-reporter for the
738 whole scenario.
739 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
740 to `t'.
741 (tramp-check-for-regexp): Simplify search.
742 (tramp-enter-password): Remove it. Move implementation ...
743 (tramp-action-password): ... here.
744 (tramp-mode-string-to-int, tramp-local-host-p)
745 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
746 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
747 Set tramp-autoload cookie.
2fe4b125
MA
748
749 * net/trampver.el: Update release number.
750
7512012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
752 Michael Albinus <michael.albinus@gmx.de>
753
754 * net/tramp.el (tramp-set-completion-function): Fix docstring.
755 (tramp-parse-group, tramp-parse-file)
756 (tramp-parse-shostkeys-sknownhosts): New defuns.
757 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
758 (tramp-parse-shosts-group, tramp-parse-sconfig)
759 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
760 (tramp-parse-sknownhosts, tramp-parse-hosts)
761 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
762 Use them.
763 (tramp-parse-passwd-group, tramp-parse-netrc-group)
764 (tramp-parse-putty-group): Don't narrow.
765 (tramp-parse-putty): Make a loop.
766 (tramp-file-name-handler): Catch the `suppress' signal.
767
72834e10
CY
7682012-06-11 Chong Yidong <cyd@gnu.org>
769
770 * image.el (imagemagick-register-types): Put the ImageMagick entry
771 at the end of image-type-file-name-regexps.
772
a4712e11
JB
7732012-06-11 Johan Bockgård <bojohan@gnu.org>
774
775 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
776 (pcase, pcase-let*, pcase-dolist): Use them.
777
82ad98e3
SM
7782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * emacs-lisp/pcase.el (pcase--let*): New function.
781 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
782 (pcase--expand): Use macroexp-let².
783
f80efb86
SM
7842012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
787 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
788 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
789 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
790 * emacs-lisp/derived.el: Use pcase instead of `cl'.
791 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
792
31ca4639 7932012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 794
31ca4639
CY
795 * mail/rmail.el (rmail-yank-current-message): Leave point at
796 correct position. (Bug#11660)
94f0aa34 797
31ca4639 7982012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 799
31ca4639 800 * allout-widgets.el: Fix code header.
9e1b8ec4 801
31ca4639 8022012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 803
f80efb86
SM
804 * cus-edit.el (customize-changed-options-previous-release):
805 Bump to 24.1.
31ca4639 806
642b6d30
AS
8072012-06-09 Andreas Schwab <schwab@linux-m68k.org>
808
809 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
810
4f5d2ba1
CY
8112012-06-09 Chong Yidong <cyd@gnu.org>
812
813 * ebuff-menu.el (electric-buffer-list): Preserve header line.
814
e75852fd
MR
8152012-06-09 Martin Rudalics <rudalics@gmx.at>
816
817 * window.el (special-display-popup-frame): Don't use
818 window--display-buffer (Bug#11651).
819
1e48e282
EZ
8202012-06-09 Eli Zaretskii <eliz@gnu.org>
821
8a26b487
EZ
822 Fix parallel builds: make sure loaddefs.el is not being written
823 while Lisp files are compiled.
824 (compile): Don't depend on 'mh-autoloads'.
825 (compile-CMD, compile-SH): Depend on 'autoloads'.
826 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
827
1e48e282
EZ
828 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
829
6175e34b
CY
8302012-06-09 Chong Yidong <cyd@gnu.org>
831
832 * face-remap.el (face-remap-add-relative, face-remap-set-base)
833 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
834 Doc fixes (Bug#11225).
835
d9857e53
SM
8362012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
839 a function if there's a clear indication that it has a compiler-macro.
840 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
841 (macro-declarations-alist): Add arglist to declaration functions.
842 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
843 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
844 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
845 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
846 Also add autoload to find the compiler macro.
847 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
848 (cl--compiler-macro-member, cl--compiler-macro-assoc)
849 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
850 (cl--compiler-macro-get): New functions, replacing calls to
851 cl-define-compiler-macro.
852 (cl-typep) [compiler-macro]: Use macroexp-let².
853
f81298f8 8542012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
855
856 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
857 string properly, fixes Bug#11473.
858
4b56d0fe
CY
8592012-06-08 Chong Yidong <cyd@gnu.org>
860
861 * faces.el (set-face-attribute): Doc fix.
862 (modify-face): Don't use :bold and :italic.
863 (error, warning, success): Tweak definitions.
864
865 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
866 (custom-modified, custom-set, custom-changed, custom-themed)
867 (custom-saved, custom-button, custom-button-mouse)
868 (custom-button-pressed, custom-state, custom-comment-tag)
869 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
870 (custom-group-subtitle): Use new-style face specs.
871 (custom-invalid-face, custom-rogue-face, custom-modified-face)
872 (custom-set-face, custom-changed-face, custom-saved-face)
873 (custom-button-face, custom-button-pressed-face)
874 (custom-documentation-face, custom-state-face)
875 (custom-comment-face, custom-comment-tag-face)
876 (custom-variable-tag-face, custom-variable-button-face)
877 (custom-face-tag-face, custom-group-tag-face-1)
878 (custom-group-tag-face): Remove obsolete face alias.
879
880 * epa.el (epa-validity-high, epa-validity-medium)
881 (epa-validity-low, epa-mark, epa-field-name, epa-string)
882 (epa-field-name, epa-field-body):
883 * font-lock.el (font-lock-comment-face, font-lock-string-face)
884 (font-lock-keyword-face, font-lock-builtin-face)
885 (font-lock-function-name-face, font-lock-variable-name-face)
886 (font-lock-type-face, font-lock-constant-face):
887 * ido.el (ido-first-match, ido-only-match, ido-subdir)
888 (ido-virtual, ido-indicator, ido-incomplete-regexp):
889 * speedbar.el (speedbar-button-face, speedbar-file-face)
890 (speedbar-directory-face, speedbar-tag-face)
891 (speedbar-selected-face, speedbar-highlight-face)
892 (speedbar-separator-face):
893 * whitespace.el (whitespace-newline, whitespace-space)
894 (whitespace-hspace, whitespace-tab, whitespace-trailing)
895 (whitespace-line, whitespace-space-before-tab)
896 (whitespace-space-after-tab, whitespace-indentation)
897 (whitespace-empty):
898 * emulation/cua-base.el (cua-global-mark):
899 * eshell/em-prompt.el (eshell-prompt):
900 * net/newst-plainview.el (newsticker-new-item-face)
901 (newsticker-old-item-face, newsticker-immortal-item-face)
902 (newsticker-obsolete-item-face, newsticker-date-face)
903 (newsticker-statistics-face, newsticker-default-face):
904 * net/newst-reader.el (newsticker-feed-face)
905 (newsticker-extra-face, newsticker-enclosure-face):
906 * net/newst-treeview.el (newsticker-treeview-face)
907 (newsticker-treeview-new-face, newsticker-treeview-old-face)
908 (newsticker-treeview-immortal-face)
909 (newsticker-treeview-obsolete-face)
910 (newsticker-treeview-selection-face):
911 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
912 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
913 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
914 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
915 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
916 (nxml-outline-active-indicator, nxml-outline-ellipsis):
917 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
918 (mpuz-text):
919 * progmodes/vera-mode.el (vera-font-lock-number)
920 (vera-font-lock-function, vera-font-lock-interface):
921 * textmodes/table.el (table-cell): Use new-style face specs, and
922 don't use the old :bold and :italic attributes.
923
924 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
925 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
926 (ebrowse-member-class, ebrowse-progress): Likewise.
927 (ebrowse-tree-mark-face, ebrowse-root-class-face)
928 (ebrowse-file-name-face, ebrowse-default-face)
929 (ebrowse-member-attribute-face, ebrowse-member-class-face)
930 (ebrowse-progress-face): Remove obsolete faces.
931
932 * progmodes/flymake.el (flymake-errline, flymake-warnline):
933 Inherit from error and warning faces respectively.
934
935 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
936 Likewise.
f80efb86
SM
937 (flyspell-incorrect-face, flyspell-duplicate-face):
938 Remove obsolete aliases.
4b56d0fe 939
03310646
MA
9402012-06-08 Michael Albinus <michael.albinus@gmx.de>
941
942 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
943 Avoid infloop.
944
513749ee
SM
9452012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * startup.el (argv, argi): Make lexically scoped.
948 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
949 * emacs-lisp/cl-macs.el: Use lexical-binding.
950 Rename cl-bind-* to cl--bind-*.
951 * files.el: Don't require `cl' since it doesn't use it.
952 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
953
595ef4ad
JB
9542012-06-08 Juanma Barranquero <lekktu@gmail.com>
955
956 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
957 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
958 instead of calling external sort utility.
959 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
960
e9f66fcb
EZ
9612012-06-08 Eli Zaretskii <eliz@gnu.org>
962
963 * descr-text.el (describe-char): Mention how to insert the
964 character, if the current input method doesn't support it.
965 See the discussion in this thread for the details:
966 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
967
3d10db47
SS
9682012-06-08 Sam Steingold <sds@gnu.org>
969
970 * bindings.el (global-map): Bind XF86Forward to next-buffer and
971 XF86Back to previous-buffer.
972 (minibuffer-local-map): Bind them to next-history-element and
973 previous-history-element respectively.
974 * help-mode.el (help-mode-map): Bind them to help-go-forward and
975 help-go-back respectively.
976 * info.el (Info-mode-map): Bind them to Info-history-forward and
977 Info-history-back respectively.
978 These are the keys next to Up on the ThinkPad keyboard.
979
de7e2b36
SM
9802012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
983 * emacs-lisp/cl-macs.el: Provide itself.
984 (cl--labels-convert-cache): New var.
985 (cl--labels-convert): New function.
986 (cl-flet, cl-labels): New implementation with new semantics, relying on
987 lexical-binding.
988 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
989 (cl-closure-vars, cl--function-convert-cache)
990 (cl--function-convert): Move from cl-macs.el.
991 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
992 rename by removing the "cl-" prefix.
993 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
994
6fa6c4ae
SM
9952012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
998 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
999 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1000 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1001 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1002 (cl-hash-table-count): Add old compatibility aliases.
1003
1004 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1005 Use macroexpand-all-environment instead.
1006 (cl--old-macroexpand): New var.
1007 (cl--sm-macroexpand): New function.
1008 (cl-symbol-macrolet): Use it during macro expansion.
1009 (cl--function-convert-cache): New var.
1010 (cl--function-convert): New function, extracted from
1011 cl-macroexpand-all.
1012 (cl-lexical-let): Use it.
1013
1014 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1015 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1016 (cl-member): Remove old alias.
1017
1018 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1019 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1020 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1021 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1022 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1023 (cl-macroexpand-cmacs): Remove var.
1024 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1025 Use macroexpand-all instead.
1026
4dd1c416
SM
10272012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1030 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1031 (macroexp-copyable-p): New functions and macros.
1032 * emacs-lisp/edebug.el (edebug-unwrap):
1033 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1034 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1035 (pcase--let*): Remove.
1036 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1037 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1038 macroexp-const-p instead.
1039 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1040
1041 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1042 instead of "cl-" for internal definitions. Use macroexp-const-p.
1043 (cl-old-bc-file-form): Remove var.
1044 (cl-const-exprs-p): Remove fun.
1045 (cl-labels, cl-macrolet): Use backquote.
1046 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1047 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1048 (cl-define-setf-expander): Rename from cl-define-setf-method.
1049 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1050
1051 * international/mule-cmds.el: Don't require CL.
1052 (view-hello-file): Don't use `letf'.
1053
ed8bd4d7
SM
10542012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1055
7287f2f3
SM
1056 * tmm.el (tmm-prompt): Use string-prefix-p.
1057 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1058 (tmm-add-prompt): Use minibuffer-completion-help.
1059 (tmm-delete-map): Remove.
1060
ed8bd4d7
SM
1061 * subr.el (kbd): Make it its own function.
1062
7b4cdbf4
SM
10632012-06-07 Stefan Merten <smerten@oekonux.de>
1064
1065 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1066 Silence compiler warnings. Fix versions.
ed8bd4d7 1067 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1068 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1069 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1070 (rst-package-emacs-version-alist): Correct Emacs version to
1071 represent major merge with upstream.
ed8bd4d7 1072 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1073
2b48d721
GM
10742012-06-06 Glenn Morris <rgm@gnu.org>
1075
1076 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1077 Only print environment variables if set.
1078
fa779ab0
SM
10792012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1080
1081 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1082 (macroexp--cons): Rename from maybe-cons.
1083 (macroexp--accumulate): Rename from macroexp-accumulate.
1084 (macroexp--all-forms): Rename from macroexpand-all-forms.
1085 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1086 (macroexp--expand-all): Rename from macroexpand-all-1.
1087
628299e0
SS
10882012-06-06 Sam Steingold <sds@gnu.org>
1089
1090 * calendar/calendar.el (calendar-in-read-only-buffer):
1091 Call `special-mode' to enable the standard read-only keybindings.
1092
b7bb5838
SM
10932012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1096 with "loading" messages (bug#11635).
1097
dfb308ba
MA
10982012-06-06 Michael Albinus <michael.albinus@gmx.de>
1099
1100 * files.el (enable-remote-dir-locals): New option.
1101 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1102
0372ee92
MA
1103 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1104 Ensure, that the temp directory is local.
1105
1106 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1107 `temporary-file-directory'.
1108
eed0bb91
MA
1109 * progmodes/python.el (python-send-region): Ensure, that the
1110 temporary file is created also in the remote case.
1111
7a58f64d
GM
11122012-06-06 Glenn Morris <rgm@gnu.org>
1113
f7dd4e98
GM
1114 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1115 (vc-rcs-update-changelog): Use it.
1116
276d5f5d
GM
1117 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1118
7a58f64d
GM
1119 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1120 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1121 (vc-sccs-diff): Replace use of the external vcdiff script.
1122
daed4003
GM
11232012-06-05 Glenn Morris <rgm@gnu.org>
1124
1125 * ledit.el: Move to obsolete/.
1126
48c455c7
SS
11272012-06-05 Sam Steingold <sds@gnu.org>
1128
1129 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1130 patch (Bug#11140).
1131
57a7d507
SM
11322012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1133
d32926ff
SM
1134 * emacs-list/cust-print.el: Move to obsolete.
1135
53aacf21
SM
1136 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1137 compiler-macro expansion.
1138
57a7d507
SM
1139 Add native compiler-macro support.
1140 * emacs-lisp/macroexp.el (macroexpand-all-1):
1141 Support compiler-macros directly. Properly follow aliases and apply
1142 the compiler macros more thoroughly.
1143 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1144 macroexpand now properly follows aliases.
1145 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1146 (cl-compiler-macroexpand): Use new prop.
1147 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1148
1149 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1150
51a5f9d8
MR
11512012-06-05 Martin Rudalics <rudalics@gmx.at>
1152
1153 * window.el (get-lru-window, get-mru-window, get-largest-window):
1154 New argument NOT-SELECTED to avoid picking the selected window.
1155 (window--display-buffer-1, window--display-buffer-2): Replace by
1156 new function window--display-buffer
1157 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1158 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1159 Use window--display-buffer.
51a5f9d8
MR
1160 (display-buffer-use-some-window): Remove temporary dedication
1161 hack by calling get-lru-window and get-largest-window with
1162 NOT-SELECTED argument non-nil. Call window--display-buffer.
1163
08f9f738
GM
11642012-06-05 Glenn Morris <rgm@gnu.org>
1165
1166 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1167 Replace external vcdiff script.
1168
e364a2b7
SM
11692012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1172
041df390
CY
11732012-06-04 Chong Yidong <cyd@gnu.org>
1174
e364a2b7
SM
1175 * image.el (imagemagick-types-inhibit): Revert last change.
1176 Add INFO and M.
47b36b94 1177 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1178
7c1898a7
SM
11792012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * emacs-lisp/cl-lib.el: Rename from cl.el.
1182 * emacs-lisp/cl.el: New compatibility file.
1183 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1184 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1185 to obey the "cl-" prefix.
1186 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1187
0c3461de
GM
11882012-06-03 Glenn Morris <rgm@gnu.org>
1189
1e266c88
GM
1190 * emacs-lisp/authors.el (authors-aliases): Addition.
1191
0c3461de
GM
1192 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1193 Fix :version.
1194
d8a52e15
SM
11952012-06-03 Stefan Merten <smerten@oekonux.de>
1196
1197 * textmodes/rst.el: Add comments.
1198 (rst-transition, rst-adornment): New faces.
1199 (rst-adornment-faces-alist): Make default safe to reevaluate.
1200 Fixes
1201 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1202 Improve customization tags.
1203 (rst-define-level-faces): Clarify meaning.
1204
5205d6f6
CY
12052012-06-03 Chong Yidong <cyd@gnu.org>
1206
1207 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1208 (compilation-mode-line-run, compilation-mode-line-exit):
1209 New faces.
5205d6f6
CY
1210 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1211
757ee657
JD
12122012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1213
7c1898a7
SM
1214 * progmodes/which-func.el (which-func-update-ediff-windows):
1215 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1216
5f2c76c6
CY
12172012-06-03 Chong Yidong <cyd@gnu.org>
1218
1219 * bindings.el: Remove explicit help text from format-mode-line.
1220 It is now supplied by mode-line-default-help-echo.
1221 (mode-line-front-space, mode-line-end-spaces)
1222 (mode-line-misc-info): New variables.
1223 (mode-line-modes, mode-line-position): Move the default value to
1224 the variable definition.
1225 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1226 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1227 (mode-line-modified-help-echo): New functions.
1228 (mode-line-mule-info, mode-line-modified): Use them.
1229 (mode-line-eol-desc, propertized-buffer-identification):
1230 Consistency fixes for help text.
cbe46e5f
CY
1231 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1232 set-buffer-file-coding-system (Bug#289).
1233 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1234
f2d6a3df
SM
12352012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * simple.el (execute-extended-command): Set real-this-command
1238 (bug#11506).
1239
37269466
CY
12402012-06-02 Chong Yidong <cyd@gnu.org>
1241
1242 Remove incorrect uses of "modeline" in comments, docstrings, and
1243 function/variable names (Bug#10329).
1244
1245 * cus-edit.el (mode-line):
1246 * dframe.el (dframe-mouse-hscroll):
1247 * emacs-lisp/re-builder.el:
1248 * emacs-lisp/easy-mmode.el (define-minor-mode):
1249 * frame.el (set-frame-name):
1250 * help.el (lookup-minor-mode-from-indicator):
1251 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1252 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1253 (c-toggle-hungry-state):
1254 * progmodes/antlr-mode.el (antlr-language-alist):
1255 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1256 * progmodes/vhdl-mode.el (vhdl-mode):
1257 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1258 * term/ns-win.el (ns-face-at-pos):
1259 * term/sup-mouse.el (sup-mouse-report):
1260 * textmodes/flyspell.el (flyspell-mode-line-string):
1261 * textmodes/ispell.el (ispell-highlight-face):
1262 * textmodes/reftex-global.el:
1263 * vc/vc-arch.el (vc-arch-mode-line-string):
1264 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1265 * vc/vc-git.el (vc-git-mode-line-string):
1266 * vc/vc-hooks.el (vc-display-status)
1267 (vc-default-mode-line-string):
1268 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1269
1270 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1271
1272 * dired.el (dired-sort-set-mode-line): Rename from
1273 dired-sort-set-modeline. All callers changed.
1274
1275 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1276 eshell-status-in-modeline.
1277
1278 * foldout.el (foldout-mode-line-string): Rename from
1279 foldout-modeline-string. All callers changed.
1280 (foldout-update-mode-line): Rename from foldout-update-modeline.
1281
1282 * subr.el (redraw-modeline): Make into obsolete alias.
1283
1284 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1285 timeclock-modeline-display. Make old name an alias.
1286 (timeclock-update-mode-line): Likewise. All callers changed.
1287 (timeclock-mode-line-display): No need to check before using
1288 add-hook.
1289 (timeclock-relative, timeclock-day-over-hook)
1290 (timeclock-use-elapsed, timeclock-mode-string)
1291 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1292
1293 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1294 crisp-mode-modeline-string.
1295
1296 * play/solitaire.el (solitaire-build-mode-line): Rename from
1297 solitaire-build-modeline. All callers changed.
1298
1299 * play/zone.el (zone-hiding-mode-line): Rename from
1300 zone-hiding-modeline. All callers changed.
1301 (zone): Remove unusued `modeline-hidden-level' property.
1302
1303 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1304 xscheme-modeline-initialize. All callers changed.
1305
1306 * strokes.el (strokes-lighter): Rename from
1307 strokes-modeline-string.
1308
1309 * textmodes/sgml-mode.el (html-face-tag-alist)
1310 (html-tag-face-alist): Use mode-line face instead of obsolete
1311 alias modeline.
1312
42152ee4
SM
13132012-06-02 Stefan Merten <smerten@oekonux.de>
1314
1315 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1316 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1317
95f520b5
CY
13182012-06-02 Chong Yidong <cyd@gnu.org>
1319
1320 * image.el (imagemagick-enabled-types): Rename from
1321 imagemagick-types-enable. Add many more types.
1322 (imagemagick-types-inhibit): Change default to nil.
1323 (imagemagick-filter-types): Caller changed.
1324
4a5f187a
SM
13252012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1326
03fef3e6
SM
1327 * emacs-lisp/cl-macs.el: Use backquotes.
1328 (cl-transform-function-property): Use eval-and-compile rather than
1329 abusing `require'.
1330 (defstruct): Use declare-function instead of with-no-warnings.
1331
4a5f187a
SM
1332 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1333 (byte-compile-output-docform): Re-add the print-circle bindings.
1334 (byte-compile-fix-header): Use #$ just because it's shorter.
1335 (byte-compile-output-file-form): Remove defun/defmacro.
1336
bd56924f
MR
13372012-06-01 Martin Rudalics <rudalics@gmx.at>
1338
1339 * simple.el (choose-completion): Remove now obsolete binding for
1340 owindow.
1341
046e38ce
MA
13422012-06-01 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1345 in order to avoid "Stack overflow in regexp matcher".
1346
32d72c2f
GM
13472012-05-31 Glenn Morris <rgm@gnu.org>
1348
1349 * image.el: For clarity, call imagemagick-register-types at
1350 top-level, rather than relying on a custom :initialize.
1351 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1352 (imagemagick-filter-types): New function. (Bug#7406)
1353 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1354 If disabling support, remove elements altogether rather
1355 than using an impossible regexp.
1356 (imagemagick-types-inhibit): Give it the default init function.
1357
dd41169b
SM
13582012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1359
4a5f187a
SM
1360 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1361 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1362
efc00ab1 13632012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1364
1365 * desktop.el (desktop-read): Clear previous and next buffers for
1366 all windows and bury *Messages* buffer (bug#11556).
1367
500fcedc
SM
13682012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1369
1370 Add `declare' for `defun'. Align `defmacro's with it.
1371 * emacs-lisp/easy-mmode.el (define-minor-mode)
1372 (define-globalized-minor-mode): Don't autoload the var definitions.
1373 * emacs-lisp/byte-run.el: Use lexical-binding.
1374 (defun-declarations-alist, macro-declarations-alist): New vars.
1375 (defmacro, defun): Use them.
1376 (make-obsolete, define-obsolete-function-alias)
1377 (make-obsolete-variable, define-obsolete-variable-alias):
1378 Use `declare'.
1379 (macro-declaration-function): Mark obsolete.
1380 * emacs-lisp/autoload.el: Use lexical-binding.
1381 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1382
6e8a1786
AM
13832012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1384
1385 * textmodes/ispell.el (ispell-with-no-warnings):
1386 Define as a macro.
500fcedc
SM
1387 (ispell-kill-ispell, ispell-change-dictionary):
1388 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1389 `interactive-p'.
1390
61b108cc
SM
13912012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1394 (macro-declaration-function): Move var from C code.
1395 (macro-declaration-function): Define function with defalias.
1396 * emacs-lisp/macroexp.el (macroexpand-all-1):
1397 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1398 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1399 defun/defmacro any more.
1400 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1401 Provide fallback for unknown arglist.
1402 (byte-compile-arglist-warn): Change calling convention.
1403 (byte-compile-output-file-form): Move print-vars binding.
1404 (byte-compile-output-docform): Simplify accordingly.
1405 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1406 (byte-compile-defmacro-declaration): Remove.
1407 (byte-compile-file-form-defmumble): Generalize to defalias.
1408 (byte-compile-output-as-comment): Return byte-positions.
1409 Simplify callers accordingly.
1410 (byte-compile-lambda): Use `assert'.
1411 (byte-compile-defun, byte-compile-defmacro): Remove.
1412 (byte-compile-file-form-defalias):
1413 Use byte-compile-file-form-defmumble.
1414 (byte-compile-defalias-warn): Remove.
1415
6d3f7c2f
SM
14162012-05-29 Stefan Merten <smerten@oekonux.de>
1417
1418 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1419 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1420
1421 (rst-mode-abbrev-table): Merge definition.
1422 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1423 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1424
6dbaa1c7
UJ
14252012-05-29 Ulf Jasper <ulf.jasper@web.de>
1426
1427 * calendar/icalendar.el
1428 (icalendar-export-region): Export UID properly.
1429
14302012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1431 * calendar/icalendar.el (icalendar-import-format):
1432 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1433 (icalendar-import-format-uid): New.
1434 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1435 Export UID.
1436
6876a58d
SM
14372012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1440 different alternative patterns.
1441 (pcase-codegen): Be more careful to preserve identity.
1442 (pcase--u1): Don't forget to mark vars as used.
1443
1444 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1445 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1446 (byte-compile-from-buffer): ...rather than here.
1447
1448 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1449 functions from byte-compile-function-environment.
1450
46b7967e
TN
14512012-05-29 Troels Nielsen <bn.troels@gmail.com>
1452
1453 * window.el (window-deletable-p): Avoid deleting the root window
1454 of a frame with an active minibuffer.
1455
69d565e2
MR
14562012-05-29 Martin Rudalics <rudalics@gmx.at>
1457
1458 * simple.el (choose-completion): Use quit-window (Bug#11567).
1459
a149fa51
CY
14602012-05-29 Chong Yidong <cyd@gnu.org>
1461
1462 * whitespace.el (whitespace-cleanup): Fix usage of
1463 whitespace-empty-at-bob-regexp (Bug#11492).
1464
2b311310
AH
14652012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1466
1467 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1468 revert (Bug#11488).
1469
b9cb2387
JL
14702012-05-29 Juri Linkov <juri@jurta.org>
1471
1472 * isearch.el (isearch-mode-map): Bind `M-s _' to
1473 `isearch-toggle-symbol'. Bind `M-s c' to
1474 `isearch-toggle-case-fold'.
1475 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1476 (isearch-forward): Add `M-s _' to the docstring.
1477 (isearch-forward-symbol, isearch-toggle-case-fold)
1478 (isearch-symbol-regexp): New functions. (Bug#11381)
1479
d5e61c1c
JL
14802012-05-29 Juri Linkov <juri@jurta.org>
1481
1482 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1483 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1484 a function, call it to get the regexp.
1485 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1486 property `isearch-message-prefix' instead of the string "word ".
1487 (isearch-search-fun-default): For the case of `isearch-word',
1488 return a lambda that calls re-search-forward/re-search-backward
1489 with a regexp returned by `word-search-regexp' or by the function
1490 in `isearch-word'.
1491
8cbd80f7
JL
14922012-05-29 Juri Linkov <juri@jurta.org>
1493
1494 * isearch.el (isearch-search-fun-default): New function.
1495 (isearch-search-fun): Move default part to the new function
1496 `isearch-search-fun-default'.
1497 (isearch-search-fun-function): Set the default value to
1498 `isearch-search-fun-default'. (Bug#11381)
1499
1500 * comint.el (comint-history-isearch-end):
1501 Use `isearch-search-fun-default'.
1502 (comint-history-isearch-search): Use `isearch-search-fun-default'
1503 and remove spacial case for `isearch-word'.
1504 (comint-history-isearch-wrap): Remove spacial case for
1505 `isearch-word'.
1506
1507 * hexl.el (hexl-isearch-search-function):
1508 Use `isearch-search-fun-default'.
1509
1510 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1511 Use `word-search-regexp' for `isearch-word'.
1512
1513 * misearch.el (multi-isearch-search-fun):
1514 Use `isearch-search-fun-default'.
1515
1516 * simple.el (minibuffer-history-isearch-search):
1517 Use `isearch-search-fun-default' and remove spacial case for
1518 `isearch-word'.
1519 (minibuffer-history-isearch-wrap): Remove spacial case for
1520 `isearch-word'.
1521
1522 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1523 Remove spacial case for `isearch-word'.
1524 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1525
85c8c5b6
AM
15262012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1527
1528 Decrease XEmacs incompatibilities.
1529 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1530 Use `string-match'.
1531 (flyspell-delete-region-overlays): Use alternative definition for
1532 XEmacs.
1533 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1534 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1535 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1536 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1537 `define-obsolete-face-alias' under XEmacs, but old method.
1538
1539 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1540 `with-no-warnings' definition or Emacs alias.
1541 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1542 (ispell-word): Do not use `region-p' if XEmacs.
1543
8cab9efc
AM
15442012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1545
1546 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1547 Check for `ispell-dictionary-base-alist' instead of full
1548 `ispell-dictionary-alist'.
1549 (ispell-init-process): Show spellchecker when starting new Ispell
1550 process.
1551
fda91268
RZ
15522012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1555 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1556
694ea8e3
JB
15572012-05-27 Juanma Barranquero <lekktu@gmail.com>
1558
1559 * version.el (motif-version-string, gtk-version-string)
1560 (ns-version-string): Declare.
1561
e4d4f539
JL
15622012-05-27 Juri Linkov <juri@jurta.org>
1563
1564 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1565 after the `eval-defun-1' specialcaseing
1566 like in `edebug-eval-defun' (bug#10181).
1567
1568 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1569 like in `eval-defun-1'.
1570
33017faf 15712012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1572
fda91268
RZ
1573 * mail/sendmail.el (mail-yank-region):
1574 Recognize rmail-yank-current-message in addition to insert-buffer.
1575 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1576 a *mail* buffer created through rmail-start-mail with sendmail as
1577 mail-user-agent.
1578
33017faf
GM
15792012-05-27 Chong Yidong <cyd@gnu.org>
1580
1581 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1582 Default to 256 (Bug#11267).
1583
1584 * help.el (describe-mode): Doc fix.
1585
04188bb9
GM
15862012-05-26 Glenn Morris <rgm@gnu.org>
1587
38264cc9
GM
1588 * w32-fns.el (w32-init-info): Remove.
1589 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1590
eb7afdad
GM
1591 * info.el (info-initialize): For self-contained NS builds, put the
1592 included info/ directory at the front. (Bug#2791)
1593
04188bb9
GM
1594 * paths.el (Info-default-directory-list): Make it a defcustom,
1595 mainly so that we can use custom-initialize-delay.
1596
a179e3f7
SM
15972012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1598
43416392
SM
1599 * subr.el (buffer-has-markers-at): Mark obsolete.
1600
a179e3f7 1601 * subr.el (lambda): Use declare.
43416392 1602
a179e3f7
SM
1603 * emacs-lisp/lisp-mode.el (lambda):
1604 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1605
34a008d9
AH
16062012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1607
1608 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1609
0a3b289f
GM
16102012-05-26 Glenn Morris <rgm@gnu.org>
1611
1612 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1613
758c81e8
GM
16142012-05-25 Glenn Morris <rgm@gnu.org>
1615
f9f334f0
GM
1616 * paths.el: Remove no-byte-compile.
1617 * loadup.el: No need to load paths.el uncompiled.
1618
87eb79c2
GM
1619 * image.el (imagemagick-types-inhibit): Doc fix.
1620
758c81e8
GM
1621 * version.el: Remove no-byte-compile and associated formatting.
1622 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1623 is ancient code from when there was an "inc-vers.el".
1624
e7e85dc0
SM
16252012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * progmodes/gdb-mi.el: Minor style changes.
1628 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1629 Turn into minor modes.
1630 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1631 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1632 (gdb-shell): Remove unneeded let-binding.
1633 (gdb-get-many-fields): Eliminate O(n²) behavior.
1634
f31237a4
EZ
16352012-05-25 Eli Zaretskii <eliz@gnu.org>
1636
1637 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1638 platforms that don't link in fontset.c.
1639
bc1b21bb
JL
16402012-05-25 Juri Linkov <juri@jurta.org>
1641
1642 Use the same diff color scheme as in modern VCSes (bug#10181).
1643
1644 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1645 to avoid confusion with `diff-added' that now uses green colors.
1646 (diff-removed): Use shades of red.
1647 (diff-added): Use shades of green.
1648 (diff-changed): Leave just the yellow color.
1649 (diff-use-changed-face): New variable.
1650 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1651 how to highlight context diff changes.
1652 (diff-refine-change): Use shades of yellow.
1653 (diff-refine-removed): New face that uses shades of red.
1654 (diff-refine-added): New face that uses shades of green.
1655 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1656 `diff-refine-removed' in the call to `smerge-refine-subst'
1657 depending on the value of `diff-use-changed-face'.
1658
1659 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1660 (smerge-other): Use shades of green.
1661 (smerge-base): Use shades of yellow.
1662 (smerge-refined-change): Empty face.
1663 (smerge-refined-removed): New face that uses shades of red.
1664 (smerge-refined-added): New face that uses shades of green.
1665 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1666 args `props-r' and `props-a', and use them. Doc fix.
1667 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1668 on its value use different faces `smerge-refined-change',
1669 `smerge-refined-removed', `smerge-refined-added' in the call to
1670 `smerge-refine-subst'.
1671
1672 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1673 Add face condition `min-colors 88' with shades of red.
1674 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1675 `min-colors 88' with shades of green.
1676 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1677 `min-colors 88' with shades of yellow.
1678
6df9112c
GM
16792012-05-24 Glenn Morris <rgm@gnu.org>
1680
ead5edc0
GM
1681 * paths.el (prune-directory-list, remote-shell-program): Move to...
1682 * files.el (prune-directory-list, remote-shell-program): ...here.
1683 For the latter, delay initialization, prefer ssh, just search PATH.
1684
f18b81e6
GM
1685 * paths.el (term-file-prefix): Move to faces.el (the only user).
1686 * faces.el (term-file-prefix): Move here, make it a defcustom.
1687
ee2f89a6
GM
1688 * paths.el (news-directory, news-path, news-inews-program):
1689 Move to gnus/nnspool.el.
61a583ca 1690
f8815e4c
GM
1691 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1692
c8f3b42c
GM
1693 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1694 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1695 Make the latter a defcustom, with a delayed initialization.
1696
6df9112c
GM
1697 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1698 These were deleted from Gnus itself late 2010.
1699
5dadff36
JB
17002012-05-22 Juanma Barranquero <lekktu@gmail.com>
1701
9e1701c6
JB
1702 * progmodes/which-func.el (which-func-ff-hook):
1703 Check against user-error, not error.
1704
bd7239f5 1705 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1706 cl-specs.el, which no longer exists.
1707
3290526d
GM
17082012-05-22 Glenn Morris <rgm@gnu.org>
1709
1710 * info.el (info-emacs-bug): New command.
1711 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1712 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1713
ff0c3cfb
GM
17142012-05-21 Glenn Morris <rgm@gnu.org>
1715
1716 * makefile.w32-in (update-subdirs-SH):
1717 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1718
5814f126
SM
17192012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1720
a52c0aa0
SM
1721 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1722
5814f126
SM
1723 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1724 Simplify Maven regexp, and make sure the file can't start with a space
1725 (bug#11517).
1726
b847032c
GM
17272012-05-21 Glenn Morris <rgm@gnu.org>
1728
1729 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1730 Scrap superfluous subshells.
1731
3858bfe7
SM
17322012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1735 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1736
d14b0029
JB
17372012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1738
1739 * calc/calc.el (calc-ensure-consistent-units): New variable.
1740
a52c0aa0
SM
1741 * calc/calc-units.el (math-consistent-units-p)
1742 (math-check-unit-consistency): New functions.
1743 (calc-quick-units, calc-convert-units):
1744 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1745 is non-nil.
d14b0029
JB
1746 (calc-extract-units): Fix typo.
1747
60c4db3a
SM
17482012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1749
77f3b62e
SM
1750 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1751
60c4db3a
SM
1752 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1753 (flyspell-default-deplacement-commands): Don't spell check after
1754 repeated window/frame switches (e.g. triggered by mouse-movement).
1755 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1756 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1757 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1758 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1759 Remove unused vars.
1760 (flyspell-get-casechars, flyspell-get-not-casechars):
1761 Simplify; Don't bother removing a ] just to add it back.
1762 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1763
b1a10716
RS
17642012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1765
1766 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1767 New functions.
bd7239f5 1768 (math-function-table): Add support for more C functions.
b1a10716 1769
3f1b25b5
AM
17702012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1771
1772 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1773 (flyspell-debug-signal-word-checked): Protect delay handling for
1774 otherchars against empty otherchars.
1775
b581bb5c
SM
17762012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1779 their respective macro declarations.
1780 * skeleton.el (define-skeleton):
1781 * progmodes/compile.el (define-compilation-mode):
1782 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1783 (define-ibuffer-filter):
1784 * emacs-lisp/generic.el (define-generic-mode):
1785 * emacs-lisp/easy-mmode.el (define-minor-mode)
1786 (define-globalized-minor-mode):
1787 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1788 * emacs-lisp/byte-run.el (defsubst):
1789 * custom.el (deftheme): Add doc-string metadata.
1790
70b8ef8f
SM
17912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1792
1793 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1794
b1198e17
SM
17952012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1796
9abdc45d
SM
1797 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1798
b1198e17
SM
1799 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1800 * emacs-lisp/cl-macs.el: Idem.
1801 * emacs-lisp/cl-specs.el: Remove.
1802
4735906a
SM
18032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 Minor renaming of internal CL functions and variables.
1806 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1807 (cl--position): Rename from cl-position.
1808 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1809 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1810 (cl--random-state): Rename from *random-state*.
1811
ac348012
SM
18122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1815 parens around the arg list (bug#11499).
1816
a0a79cde
JL
18172012-05-17 Juri Linkov <juri@jurta.org>
1818
1819 * isearch.el (word-search-regexp, word-search-backward)
1820 (word-search-forward, word-search-backward-lax)
1821 (word-search-forward-lax): Move functions from search.c
1822 (bug#10145, bug#11381).
1823
65034a51
AM
18242012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1825
1826 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1827 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1828 normal word components.
1829
1a72a195
SM
18302012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1831
1832 * minibuffer.el (completion--sifn-requote): Fix last change.
1833 (minibuffer-local-must-match-filename-map):
1834 Move define-obsolete-variable-alias before its var.
1835
fdb058c2
SM
18362012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1837
c41045e6
SM
1838 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1839
036dfb8b
SM
1840 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1841 behavior.
1842 (completion--string-equal-p): New function.
1843 (completion--twq-all): Use it to get better assertion failure data.
1844
2473256d
SM
1845 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1846 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1847 (shell--requote-argument): New functions.
1848 (shell-completion-vars): Use them.
1849 (shell--parse-pcomplete-arguments): Rename from
1850 shell-parse-pcomplete-arguments.
1851 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1852 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1853 Obey comint-file-name-quote-list.
1854
fdb058c2
SM
1855 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1856 (smie-indent-keyword): Use it.
1857
51fa99f1
SM
18582012-05-14 Stefan Merten <smerten@oekonux.de>
1859
1860 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1861
e18afed7 18622012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1863
1864 * net/rlogin.el (rlogin-mode-map): Fix last change.
1865
e18afed7 18662012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1867
1868 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1869 the following \r\n using a single `process-send-string', since the
1870 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1871 with two `process-send-string's (Bug#11444).
8633b1f4 1872
e18afed7 18732012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1874
fdb058c2
SM
1875 * shell.el (shell-parse-pcomplete-arguments):
1876 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1877
2d21d7f6
WJ
18782012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1879
e18afed7 1880 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1881 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1882 (image-transform-width, image-transform-fit-width): New functions.
1883 (image-transform-properties): Use them.
1884 (image-transform-check-size): New function.
1885 (image-toggle-display-image): Use it (for testing).
1886 (image-transform-set-rotation): Reduce angle mod 360.
1887 Delete obsolete comment.
1888
7102e6d0
WJ
18892012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1890
1891 * image-mode.el: Fix scaling (bug#11399).
1892 (image-transform-resize): Doc fix.
1893 (image-transform-properties): Default scale is 1 and height should
1894 be an integer.
1895
06bc5e6e
SM
18962012-05-13 Johan Bockgård <bojohan@gnu.org>
1897
1898 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1899 than hard-coding `car', to fix misbehavior when moving forward.
1900
0ae03b6a
CY
19012012-05-13 Chong Yidong <cyd@gnu.org>
1902
1903 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1904 (tabulated-list-entries, tabulated-list-padding)
1905 (tabulated-list-sort-key): Make permanent-local.
1906
1907 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1908 (electric-buffer-list): Put electric buffer menu
1909 command descriptions in this docstring, instead of the docstring
1910 of electric-buffer-menu-mode. Code cleanups.
1911 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1912 Electric-buffer-menu-mode.
1913 (electric-buffer-update-highlight): Minor code cleanup.
1914
205a7391
MA
19152012-05-13 Michael Albinus <michael.albinus@gmx.de>
1916
1917 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1918 (Bug#11447)
1919
e5bd0a28
SM
19202012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 Move define-obsolete-variable-alias before the var's definition.
1923 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1924 * tooltip.el (tooltip-hook):
1925 * textmodes/reftex-toc.el (reftex-toc-map):
1926 * textmodes/reftex-sel.el (reftex-select-label-map)
1927 (reftex-select-bib-map):
1928 * textmodes/reftex-index.el (reftex-index-map)
1929 (reftex-index-phrases-map):
1930 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1931 * progmodes/meta-mode.el (meta-mode-map):
1932 * novice.el (disabled-command-hook):
1933 * loadhist.el (unload-hook-features-list):
1934 * frame.el (blink-cursor):
1935 * files.el (find-file-not-found-hooks, write-file-hooks)
1936 (write-contents-hooks):
1937 * emulation/tpu-edt.el (GOLD-map):
1938 * emacs-lock.el (emacs-lock-from-exiting):
1939 * emacs-lisp/generic.el (generic-font-lock-defaults):
1940 * emacs-lisp/chart.el (chart-map):
1941 * dos-fns.el (register-name-alist):
1942 * dired-x.el (dired-omit-files-p):
1943 * desktop.el (desktop-enable):
1944 * cus-edit.el (custom-mode-hook):
1945 * buff-menu.el (buffer-menu-mode-hook):
1946 * bookmark.el (bookmark-read-annotation-text-func)
1947 (bookmark-exit-hooks):
1948 * allout.el (allout-mode-deactivate-hook)
1949 (allout-exposure-change-hook, allout-structure-added-hook)
1950 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1951 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1952 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1953 comes before the corresponding variable's definition.
1954
ac59c2f6
CY
19552012-05-12 Chong Yidong <cyd@gnu.org>
1956
1957 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1958 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1959 (Buffer-menu-mode-map): Bind it.
1960 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1961
dee6c9a3
SM
19622012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1963
2171cea5
SM
1964 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1965 (prolog-upper-case-string, prolog-lower-case-string)
1966 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1967 (prolog-use-smie, prolog-smie-grammar): New vars.
1968 (prolog-smie-forward-token, prolog-smie-backward-token)
1969 (prolog-smie-rules): New funs.
1970 (prolog-comment-indent): Remove.
1971 (prolog-mode-variables): Use default comment indentation instead.
1972 Setup SMIE.
1973 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1974 (prolog-mode): Don't call them any more.
1975 (prolog-electric-colon, prolog-electric-dash)
1976 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1977
aa0382bd
SM
1978 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1979
dbacb4bd
SM
1980 * minibuffer.el (completion--twq-all): Again, allow case differences.
1981
13bdd94c
SM
1982 * term.el: Move keymap initialization code to be more idiomatic.
1983 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1984 (term-terminal-menu): Move initialization into declaration.
1985 (term-escape-char): Let the user set it in her .emacs.
1986
ff46c759
SM
1987 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1988 Provide SMIE-based indentation (not enabled by default yet).
1989 (sh-mode-map): Don't bind electric keys.
1990 Use electric-pair-mode instead of skeleton-pair.
1991 (sh-assignment-regexp): Fit within 80 columns.
1992 (sh-indent-supported): Specify actual shell name instead of boolean.
1993 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1994 (sh-maybe-here-document): Use it. Make obsolete.
1995 (sh-electric-here-document-mode) New minor mode.
1996 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1997 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1998 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1999 (sh-smie-rc-grammar, sh-use-smie): New vars.
2000 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2001 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2002 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2003 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2004 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2005 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2006 (sh-set-shell): Use smie-setup if requested.
2007
dee6c9a3
SM
2008 * term.el (term-set-escape-char): Properly set term-escape-char.
2009 See http://stackoverflow.com/questions/10524656.
2010
9f9aa044
CY
20112012-05-10 Chong Yidong <cyd@gnu.org>
2012
2013 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2014 Use url-generic-parse-url, and handle host names and Windows
2015 filenames properly.
2016 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2017 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2018 URL schemes to work on.
2019 (ffap--toggle-read-only): New function.
2020 (ffap-read-only, ffap-read-only-other-window)
2021 (ffap-read-only-other-frame): Use it.
2022 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2023 necessary for ffap-url-unwrap-remote.
2024
836d29b3
DA
20252012-05-10 Dave Abrahams <dave@boostpro.com>
2026
2027 * cus-start.el (create-lockfiles): Add it.
2028
00fd78ed
CY
20292012-05-09 Chong Yidong <cyd@gnu.org>
2030
2031 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2032 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2033
666b903b 20342012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2035
2036 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2037
666b903b 20382012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2039
2040 * ansi-color.el (ansi-color-process-output): Check for validity of
2041 comint-last-output-start before using it. This avoids a bad
2042 interaction with gdb-mi's input/output buffer.
2043
666b903b 20442012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2045
2046 * files.el (dir-locals-read-from-file):
2047 Mention dir-locals in any error message.
2048
666b903b 20492012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2050
2051 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2052 package (Bug#11410).
2053
f677562b
CY
2054 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2055 variables into description.
2056
666b903b 20572012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2058
2059 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2060 shell-delimiter-argument-list (bug#11348).
2061 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2062
b499d8d0
JB
20632012-05-09 Juanma Barranquero <lekktu@gmail.com>
2064
8f6b6da8
JB
2065 * textmodes/rst.el: Silence byte-compiler warnings.
2066 (rst-re-alist, rst-reset-section-caches): Move around.
2067 (rst-re): Use `characterp', not `char-valid-p'.
2068 (font-lock-beg, font-lock-end): Declare.
2069
4824146a
JB
2070 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2071 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2072
b499d8d0
JB
2073 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2074
ad89bb83
GM
20752012-05-08 Glenn Morris <rgm@gnu.org>
2076
2077 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2078
8bba5a75
SM
20792012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2080
49ed9c8e
SM
2081 * vc/log-edit.el: Add GNU coding standards highlighting.
2082 (log-edit-font-lock-gnu-style)
2083 (log-edit-font-lock-gnu-keywords): New vars.
2084 (log-edit-font-lock-keywords): New fun.
2085 (log-edit-mode): Don't fold case in font-lock.
2086 (log-edit-font-lock-keywords): Do not assume case-folding.
2087
07d00b56
SM
2088 * imenu.el: Misc cleanup. Make docstrings out of comments.
2089 Use lexical-binding.
2090 (imenu--index-alist, imenu--last-menubar-index-alist)
2091 (imenu-menubar-modified-tick): Use defvar-local.
2092 (imenu--split-menu): Remove unused var.
2093 (imenu--cleanup-seen): Declare as global.
2094 (imenu--cleanup): Use dolist.
2095
8bba5a75
SM
2096 * subr.el (defvar-local): Add debug spec and doc-string position.
2097
5075bdb5
GM
20982012-05-08 Glenn Morris <rgm@gnu.org>
2099
c052c904
GM
2100 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2101 * language/english.el, language/georgian.el, language/greek.el:
2102 * language/japanese.el, language/khmer.el, language/korean.el:
2103 * language/lao.el, language/misc-lang.el, language/romanian.el:
2104 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2105 * language/thai.el, language/utf-8-lang.el:
2106 Remove no-byte-compile setting.
2107
5075bdb5
GM
2108 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2109
06f679a7
AH
21102012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2111
2112 * progmodes/make-mode.el (makefile-browse):
2113 Remove unnecessary interactive. (Bug#11324)
2114
03794570
GM
21152012-05-07 Glenn Morris <rgm@gnu.org>
2116
af8630f4
GM
2117 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2118
03794570
GM
2119 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2120
f0809a9d
SM
21212012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2122
28be5ce7
SM
2123 * loadup.el: Preload newcomment.el.
2124 * newcomment.el: Move autoload-only code to toplevel.
2125
f0809a9d
SM
2126 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2127 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2128 Handle new :right-align column property.
2129 (tabulated-list-print-col): Idem, plus use `display' text-property to
2130 try and preserve alignment for variable pitch fonts.
2131
1241b724
CY
21322012-05-07 Chong Yidong <cyd@gnu.org>
2133
2134 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2135 (tabulated-list-use-header-line): New var.
2136 (tabulated-list-init-header): Use it.
2137 (tabulated-list-print-fake-header): New function.
2138 (tabulated-list-print): Use it.
2139 (tabulated-list-sort-button-map): Add non-header-line commands.
2140 (tabulated-list-init-header): Add column name property to basic
2141 labels as well.
2142 (tabulated-list-col-sort): Handle non-header-line button case.
2143 (tabulated-list--sort-by-column-name): Fix a corner case.
2144
f0809a9d
SM
2145 * buff-menu.el (list-buffers--refresh):
2146 Handle Buffer-menu-use-header-line.
1241b724 2147
e5f9458f
CY
21482012-05-06 Chong Yidong <cyd@gnu.org>
2149
2150 * buff-menu.el: Convert to Tabulated List mode.
2151 (Buffer-menu-buffer+size-width): Make obsolete.
2152 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2153 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2154 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2155 documentation into docstring of buffer-menu.
2156 (Buffer-menu-toggle-files-only): Add an informative message.
2157 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2158 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2159 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2160 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2161 (Buffer-menu-execute, Buffer-menu-select)
2162 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2163 (Buffer-menu-bury): Use Tabulated List machinery.
2164 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2165 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2166 Delete.
e5f9458f
CY
2167 (list-buffers--refresh): New function.
2168 (list-buffers-noselect): Use it.
2169 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2170 (Buffer-menu--pretty-file-name): New helper functions.
2171
2172 * loadup.el: Preload tabulated-list.
2173
2174 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2175 tabulated-list-sort-column.
2176 (tabulated-list-init-header): Add the initial aligning space even
2177 if tabulated-list-padding is zero.
2178
e129292c
CS
21792012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2180
2181 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2182 whose cdr is not a cons cell correctly (bug#11038).
2183
6632d361
CY
21842012-05-06 Chong Yidong <cyd@gnu.org>
2185
e129292c
CS
2186 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2187 Accept additional plist in column descriptors.
6632d361
CY
2188 (tabulated-list-init-header): Obey it.
2189 (tabulated-list-get-entry): New function.
2190 (tabulated-list-put-tag): Use it. Use string-width instead of
2191 length.
2192 (tabulated-list--column-number): New function.
2193 (tabulated-list-print): Use it.
e129292c
CS
2194 (tabulated-list-print-col): New function.
2195 Set `tabulated-list-column-name' property on each column's text.
6632d361 2196 (tabulated-list-print-entry): Use it.
e129292c
CS
2197 (tabulated-list-delete-entry, tabulated-list-set-col):
2198 New functions.
6632d361
CY
2199 (tabulated-list-sort-column): New command (Bug#11337).
2200
3cc99f68
CY
2201 * buff-menu.el (list-buffers): Move C-x C-b binding from
2202 buff-menu.el to bindings.el.
2203
2204 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2205 :advertised-binding feature.
2206
52b61776
TN
22072012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2208
2209 * progmodes/compile.el (compilation-internal-error-properties):
2210 Calculate start position correctly when end-col is set but
2211 end-line is not (Bug#11382).
2212
ebfe2597
WJ
22132012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2214
2215 * man.el (Man-unindent): Use text-property-default-nonsticky to
2216 prevent untabify from inheriting face properties (Bug#11408).
2217
6d3f7c2f
SM
22182012-05-05 Stefan Merten <smerten@oekonux.de>
2219
2220 * textmodes/rst.el: Major merge with upstream development up to
2221 Docutils SVN r7399 / rst.el V1.2.1.
2222
2223 Clarify maintainership and authors.
2224
2225 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2226 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2227 (rst-official-version, rst-official-cvs-rev, rst-version)
2228 (rst-package-emacs-version-alist): New functions and variables
2229 for version information.
2230
2231 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2232 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2233 (rst-mode-syntax-table, rst-mode): New and corrected functions
2234 and variables representing reStructuredText features.
2235
2236 (rst-re): New function for reStructuredText regexes. Use in
2237 many places.
2238
2239 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2240 (rst-mode-map): Rebind keys.
2241
2242 (rst-mode-lazy, rst-font-lock-keywords)
2243 (rst-font-lock-extend-region)
2244 (rst-font-lock-extend-region-internal)
2245 (rst-font-lock-extend-region-extend)
2246 (rst-font-lock-find-unindented-line-limit)
2247 (rst-font-lock-find-unindented-line-match)
2248 (rst-adornment-level, rst-font-lock-adornment-level)
2249 (rst-font-lock-adornment-match)
2250 (rst-font-lock-handle-adornment-pre-match-form)
2251 (rst-font-lock-handle-adornment-matcher): Major revision of
2252 font-locking. Integrate with other code. Use `jit-lock-mode'.
2253
2254 (rst-preferred-adornments, rst-adjust-hook)
2255 (rst-new-adornment-down, rst-preferred-bullets)
2256 (rst-preferred-bullets, rst-indent, rst-indent-width)
2257 (rst-indent-field, rst-indent-literal-normal)
2258 (rst-indent-literal-minimized, rst-indent-comment): Change,
2259 extend and improve customization.
2260
2261 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2262 (rst-normalize-cursor-position, rst-get-decoration)
2263 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2264 (rst-rstrip, rst-toc-insert-find-delete-contents)
2265 (rst-shift-fill-region, rst-compute-bullet-tabs)
2266 (rst-debug-print-tabs, rst-debug-mark-found)
2267 (rst-shift-region-guts, rst-shift-region-right)
2268 (rst-shift-region-left, rst-use-char-classes)
2269 (rst-font-lock-keywords-function)
2270 (rst-font-lock-indentation-point)
2271 (rst-font-lock-find-unindented-line-begin)
2272 (rst-font-lock-find-unindented-line-end)
2273 (rst-font-lock-find-unindented-line)
2274 (rst-font-lock-adornment-point, rst-font-lock-level)
2275 (rst-adornment-level-alist): Remove functions and variables.
2276
2277 (rst-compare-adornments, rst-get-adornment-match)
2278 (rst-suggest-new-adornment, rst-get-adornments-around)
2279 (rst-adornment-complete-p, rst-get-next-adornment)
2280 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2281 (rst-straighten-adornments): Standardize function names to
2282 use "adornment" instead of "decoration". Correct callers.
2283 Similar standardizing in many places.
2284
2285 (rst-update-section, rst-adjust, rst-promote-region)
2286 (rst-enumerate-region, rst-bullet-list-region)
2287 (rst-repeat-last-character): Correct use of `interactive'.
2288
2289 (rst-classify-adornment, rst-find-all-adornments)
2290 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2291 (rst-find-leftmost-column, rst-repeat-last-character):
2292 Refactor functions.
2293
2294 (rst-find-title-line, rst-reset-section-caches)
2295 (rst-get-adornments-around, rst-adjust-adornment-work)
2296 (rst-arabic-to-roman, rst-roman-to-arabic)
2297 (rst-insert-list-pos, rst-insert-list-new-item)
2298 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2299 New functions.
2300
2301 (rst-all-sections, rst-section-hierarchy)
2302 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2303 New variables.
2304
2305 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2306 configuration instead of only buffer. Change where necessary.
2307
2308 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2309 (rst-shift-region, rst-adaptive-fill): New functions for
2310 indentation and filling.
2311
2312 (rst-comment-line-break, rst-comment-indent)
2313 (rst-comment-insert-comment, rst-comment-region)
2314 (rst-uncomment-region): New functions for handling comments.
2315
2316 (rst-compile): Quote shell arguments.
2317
2318 (rst-compile-pdf-preview, rst-compile-slides-preview):
2319 Delete temporary files after use.
2320
a43f98b3
GM
23212012-05-05 Glenn Morris <rgm@gnu.org>
2322
48176e8b
GM
2323 * calendar/cal-html.el: Optionally include holidays in the output.
2324 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2325 (cal-html-holidays): New option.
2326 (cal-html-css-default): Add holiday entry.
2327 (holiday-in-range): Autoload it.
2328 (cal-html-htmlify-entry): Add optional class argument.
2329 (cal-html-htmlify-list): Add optional holidays argument.
2330 (cal-html-insert-agenda-days): Include holidays in the output.
2331 (cal-html-one-month): Maybe include holidays.
2332
a43f98b3
GM
2333 * calendar/holidays.el (holiday-in-range):
2334 Move here from cal-tex-list-holidays.
2335 * calendar/cal-tex.el (cal-tex-list-holidays):
2336 Make it an obsolete alias for holiday-in-range. Update all callers.
2337
fef9d149 23382012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2339
2340 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2341 Nextstep.
2342
248da2f4
RW
23432012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2344
2345 * files.el (file-auto-mode-skip): New var.
2346 (set-auto-mode-1): Use it.
2347
f95e9344
SM
23482012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2349
df96ab1e
SM
2350 * repeat.el: Use lexical-binding.
2351 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2352 (repeat-undo-count): Remove.
2353 (repeat):
2354 * progmodes/octave-mod.el (octave-abbrev-start):
2355 * progmodes/f90.el (f90-abbrev-start):
2356 * face-remap.el (text-scale-adjust):
2357 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2358
5342bb06
SM
2359 * emacs-lisp/pcase.el (pcase--let*): New function.
2360 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2361 a bit more.
2362 (pcase--split-pred): Be more clever about ruling out overlap between
2363 a predicate and some constant pattern.
2364 (pcase--q1): Use `null' instead of (eq foo nil).
2365
f95e9344
SM
2366 * subr.el (setq-local, defvar-local): New macros.
2367 (kbd): Redefine as an alias.
2368 (with-selected-window): Leave unrelated frames alone.
2369 (set-temporary-overlay-map): New function.
2370
71873e2b
SM
23712012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2372
2373 * subr.el (user-error): New function.
2374 * window.el (switch-to-buffer):
2375 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2376 (smerge-match-conflict):
2377 * simple.el (previous-matching-history-element)
2378 (next-matching-history-element, goto-history-element, undo-more)
2379 (undo-start):
2380 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2381 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2382 (next-file, tags-loop-scan, list-tags, complete-tag):
2383 * progmodes/compile.el (compilation-loop):
2384 * mouse.el (mouse-minibuffer-check):
2385 * man.el (Man-bgproc-sentinel, Man-goto-page):
2386 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2387 (Info-history-forward, Info-follow-reference, Info-menu)
2388 (Info-extract-menu-item, Info-extract-menu-counting)
2389 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2390 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2391 (Info-next-reference, Info-prev-reference, Info-index)
2392 (Info-index-next, Info-follow-nearest-node)
2393 (Info-copy-current-node-name):
2394 * imenu.el (imenu--make-index-alist)
2395 (imenu-default-create-index-function, imenu-add-to-menubar):
2396 * files.el (basic-save-buffer, recover-file):
2397 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2398 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2399 (checkdoc-message-text, checkdoc-defun):
2400 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2401 * cus-edit.el (customize-changed-options, customize-rogue)
2402 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2403 (custom-variable-mark-to-reset-standard)
2404 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2405 (custom-file):
2406 * completion.el (check-completion-length):
2407 * comint.el (comint-search-arg)
2408 (comint-previous-matching-input-string-position)
2409 (comint-previous-matching-input)
2410 (comint-replace-by-expanded-history-before-point, comint-send-input)
2411 (comint-copy-old-input, comint-backward-matching-input)
2412 (comint-goto-process-mark, comint-set-process-mark):
2413 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2414 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2415
8a61ee22
SM
24162012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2417
66408d1e
SM
2418 * dabbrev.el (dabbrev--ignore-case-p): New function.
2419 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2420 Use it.
2421
8a61ee22
SM
2422 * files.el (automount-dir-prefix): Mark as obsolete.
2423
3c74813a
GM
24242012-05-04 Glenn Morris <rgm@gnu.org>
2425
2426 * patcomp.el, play/bruce.el: Move to obsolete/.
2427
0bfcf5c5
PE
24282012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2429
2430 Fix minor Y10k bugs.
2431 * arc-mode.el (archive-unixdate):
2432 * autoinsert.el (auto-insert-alist):
2433 * calc/calc-forms.el (math-this-year):
2434 * emacs-lisp/copyright.el (copyright-current-year)
2435 (copyright-update-year, copyright):
2436 * tar-mode.el (tar-clip-time-string):
2437 * time.el (display-time-update):
2438 Don't assume years have 4 digits.
2439
78f3273a
CY
24402012-05-04 Chong Yidong <cyd@gnu.org>
2441
2442 * dos-w32.el (file-name-buffer-file-type-alist)
2443 (direct-print-region-use-command-dot-com):
2444 * ffap.el (ffap-menu-regexp):
2445 * find-file.el (ff-special-constructs):
2446 * follow.el (follow-debug):
2447 * forms.el (forms--debug):
2448 * iswitchb.el (iswitchb-all-frames):
2449 * ido.el (ido-all-frames):
2450 * emacs-lisp/timer.el (timer-max-repeats):
2451 * mail/feedmail.el (feedmail-mail-send-hook)
2452 (feedmail-mail-send-hook-queued):
2453 * mail/footnote.el (footnote-signature-separator):
2454 * mail/mailabbrev.el (mail-alias-separator-string)
2455 (mail-abbrev-mode-regexp):
2456 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2457 * progmodes/idlwave.el (idlwave-libinfo-file)
2458 (idlwave-default-completion-case-is-down)
2459 (idlwave-library-routines): Convert defvars to defcustoms.
2460
2461 * mail/rmail.el (rmail-decode-mime-charset):
2462 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2463 (idlwave-shell-fix-inserted-breaks)
2464 (idlwave-shell-activate-alt-keybindings)
2465 (idlwave-shell-use-breakpoint-glyph):
2466 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2467
f7ae6719
SM
24682012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2471
47086495
WS
24722012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2473
2474 * progmodes/verilog-mode.el (font-lock-keywords):
2475 Fix mis-highligting auto. Reported by Craig Barner.
2476 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2477 defines from global name space. Reported by Dan Dever.
2478 (verilog-auto-reset, verilog-auto-reset-widths)
2479 (verilog-auto-tieoff): Support using unbased numbers for
2480 AUTORESET and AUTOTIEOFF.
2481 (verilog-submit-bug-report): Update variable list.
2482 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2483 parenthesis from not matching. Reported by Michael Rytting.
2484 (verilog-auto-template-lint): Fix hash error when linting modules
2485 with no used templates.
2486 (verilog-warn, verilog-warn-error)
2487 (verilog-warn-fatal): When non-interactive report multiple
2488 warnings before exiting. Suggested by Brad Dobbie.
2489 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2490 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2491 to report unused template errors. Reported by Brad Dobbie.
2492 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2493 nets, bug438. Reported by Vns Blore.
2494 (verilog-auto-inout-module, verilog-auto-reg)
2495 (verilog-read-decls, verilog-read-sub-decls-sig)
2496 (verilog-signals-edit-wire-reg, verilog-signals-with):
2497 Fix passing of Verilog data types in ANSI input/output ports
2498 such as "output logic" into the AUTOs. Special case "wire" and
2499 "reg" for backwards compatibility presuming Verilog 2001.
2500 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2501 (verilog-preprocess): Fix replication of preprocess output.
2502 Reported by Brad Dobbie.
2503 (verilog-auto-inst-interfaced-ports):
2504 Create verilog-auto-inst-interfaced-ports, bug429.
2505 Reported by Julian Gorfajn.
2506 (verilog-after-save-font-hook)
2507 (verilog-before-save-font-hook): New variable.
2508 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2509 (verilog-save-font-mods): Wrap disabling fontification, reported
2510 by David Rogoff.
2511 (verilog-do-indent, verilog-pretty-declarations-auto)
2512 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2513 Reported by Pierre-David Pfister.
2514 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2515 of class declarations, bug292. Reported by Kevin Heilman.
2516 (verilog-read-decls): Fix 'parameter type' not appearing in
2517 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2518 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2519 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2520 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2521 Reported by David Kravitz.
2522
25232012-05-03 Michael McNamara <mac@mail.brushroad.com>
2524
2525 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2526 assignment with tests in ifs and for loops.
2527 (verilog-extended-complete-re, verilog-complete-reg): Change so
2528 that DPI inport functions don't look like fuction declarations.
2529 (verilog-pretty-expr): Don't line up assignment
2530 operations to the test and increment in if and for loops
2531 (verilog-extended-complete-re, verilog-complete-reg): Change so
2532 that DPI inport functions don't look like fuction declarations
2533
2e51d4b5
KH
25342012-05-03 Kenichi Handa <handa@m17n.org>
2535
2536 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2537 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2538 (Bug#11282).
2539
2bd785a2
SM
25402012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * emacs-lisp/bytecomp.el
2543 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2544 since cconv.el might have introduced :fun-body, internal-make-closure,
2545 and friends for bytecomp to handle (bug#11391).
2546 * custom.el (defcustom): Avoid ((λ ..) ..).
2547
99d27583
SM
25482012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2551
55a71479
JB
25522012-05-02 Juanma Barranquero <lekktu@gmail.com>
2553
2554 * notifications.el (dbus-debug):
2555 * term/linux.el (gpm-mouse-enable):
2556 * term/screen.el (xterm-register-default-colors): Declare.
2557
7b97c764
CY
25582012-05-02 Chong Yidong <cyd@gnu.org>
2559
2bc356d7
CY
2560 * cus-start.el (gc-cons-percentage, exec-suffixes)
2561 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2562 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2563 (make-cursor-line-fully-visible, void-text-area-pointer)
2564 (font-list-limit): Add customization data.
2565
7b97c764
CY
2566 * allout.el (allout-exposure-change-functions)
2567 (allout-structure-added-functions)
2568 (allout-structure-deleted-functions)
2569 (allout-structure-shifted-functions): Rename abnormal hooks from
2570 *-hook, and convert to defcustoms.
5d3385a0
JB
2571 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2572 Convert to defcustoms.
7b97c764
CY
2573 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2574
2575 * allout-widgets.el: Hook callers changed.
2576
90207a15 25772012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2578
2579 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2580 the yanked message in preference to the default value of
2581 buffer-file-coding-system.
2582
90207a15 25832012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2584
5d3385a0
JB
2585 * window.el (display-buffer--action-function-custom-type):
2586 Fix entry.
d9558cad 2587
90207a15 25882012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2589
2590 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2591
d80ac57b
GM
25922012-05-01 Glenn Morris <rgm@gnu.org>
2593
976f7668
GM
2594 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2595
beb83b5a
GM
2596 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2597
d80ac57b
GM
2598 * cus-edit.el (custom-variable-documentation): Simplify with format.
2599
b593d6a9
AH
26002012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2601 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * simple.el (suggest-key-bindings, execute-extended-command):
2604 Move from keyboard.c.
2605
782fbf2a
CY
26062012-05-01 Chong Yidong <cyd@gnu.org>
2607
2608 * follow.el: Eliminate advice.
2609 (set-process-filter, process-filter, sit-for): Advice deleted.
2610 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2611 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2612 Vars deleted.
782fbf2a
CY
2613 (follow-auto): Use a :set function.
2614 (follow-mode): Rewritten. Don't advise process filters.
2615 (follow-switch-to-current-buffer-all, follow-scroll-up)
2616 (follow-scroll-down): Assume follow-mode is bound.
2617 (follow-comint-scroll-to-bottom)
2618 (follow-align-compilation-windows): New functions.
2619 (follow--window-sorter): New function.
2620 (follow-all-followers): Use it to explicitly sort windows by their
2621 positions; don't make assumptions about next-window order.
2622 (follow-windows-start-end, follow-delete-other-windows-and-split)
2623 (follow-calc-win-start): Doc fix.
2624 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2625 vertical-motion unnecessarily.
2626 (follow-adjust-window): New function.
2627 (follow-post-command-hook): Use it.
2628 (follow-call-set-process-filter, follow-call-process-filter)
2629 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2630 (follow-stop-intercept-process-output, follow-generic-filter):
2631 Functions deleted.
2632 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2633 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2634 New functions, replacing advice on scroll-bar-* commands.
87233a14 2635 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2636
2637 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2638 (comint-postoutput-scroll-to-bottom): Use it.
2639 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2640
290af740
GM
26412012-05-01 Glenn Morris <rgm@gnu.org>
2642
2643 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2644 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2645 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2646 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2647 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2648 Remove no-byte-compile setting.
2649
6eac8dc9
SM
26502012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2653 all-completions code to not return a number in the last cdr.
2654
9cc7819c
LL
26552012-04-30 Leo Liu <sdl.web@gmail.com>
2656
2657 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2658 read-only error.
2659
c93b886f
CY
26602012-04-29 Chong Yidong <cyd@gnu.org>
2661
2662 * follow.el (follow-calc-win-end): Rewrite to handle partial
2663 screen lines correctly (Bug#8390).
2664 (follow-avoid-tail-recenter): Minor cleanup.
2665
8b6c19f4
SM
26662012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 Avoid the obsolete `assoc' package.
2669 * speedbar.el (speedbar-refresh): Avoid adelete.
2670 (speedbar-file-lists): Simplify and avoid aput.
2671 * man.el (Man--sections, Man--refpages): New vars, replacing
2672 Man-sections-alist and Man-refpages-alist.
2673 (Man-build-section-alist, Man-build-references-alist):
2674 Use them; avoid aput.
2675 (Man--last-section, Man--last-refpage): New vars.
2676 (Man-follow-manual-reference): Use them.
2677 Use the `default' arg of completing-read.
2678 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2679
c5bb7569
CY
26802012-04-27 Chong Yidong <cyd@gnu.org>
2681
d1d2e2e8
CY
2682 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2683
15cd8efd
CY
2684 * startup.el (x-apply-session-resources): New function.
2685
2686 * term/ns-win.el (ns-initialize-window-system):
2687 * term/w32-win.el (w32-initialize-window-system):
2688 * term/x-win.el (x-initialize-window-system): Use it to properly
2689 set menu-bar-mode and other vars from X resources, even if the
2690 initial frame is not a window-system frame (Bug#2299).
2691
c5bb7569
CY
2692 * subr.el (read-key): Avoid running filter function when setting
2693 up temporary tool bar entries (Bug#9922).
2694
a8e7d6d7 26952012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2696
2697 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2698 (Bug#11344)
2699
a8e7d6d7 27002012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2701
2702 * select.el (xselect--encode-string): New function, split from
2703 xselect-convert-to-string.
2704 (xselect-convert-to-string): Use it.
2705 (xselect-convert-to-filename, xselect-convert-to-os)
2706 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2707 returned strings are properly encoded (Bug#11315).
2708
a8e7d6d7 27092012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2710
2711 * simple.el (delete-active-region): Move to killing custom group.
2712
a8e7d6d7 27132012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2714
2715 * progmodes/which-func.el (which-func-current): Quote %
2716 characters for mode-line processing.
2717
578c1d4b 27182012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2719
2720 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2721 reaching eob (Bug#11286).
2722
a8e7d6d7 27232012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2724
2725 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2726 (gdb): Make it buffer-local and init to zero.
2727 (gdb-control-commands-regexp): New variable.
2728 (gdb-send): Don't wrap in "-interpreter-exec console" if
2729 gdb-control-level is positive. Increment gdb-control-level
2730 whenever the command matches gdb-control-commands-regexp, and
2731 decrement it each time the command is "end". (Bug#11279)
2732
a8e7d6d7 27332012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2734
2735 * window.el (adjust-window-trailing-edge, enlarge-window)
2736 (shrink-window, window-resize):
2737 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2738 windows (Bug#11276).
2739
b3608390
CY
27402012-04-27 Chong Yidong <cyd@gnu.org>
2741
2742 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2743 fix "missing prefix" warning. All callers changed.
b3608390 2744
797e6e88
SM
27452012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * emacs-lisp/assoc.el: Move to obsolete/.
2748
e95a67dc
SM
27492012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2750
657c21e4 2751 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2752
2753 * term/ns-win.el (ns-define-service):
2754 * progmodes/pascal.el (pascal-goto-defun):
2755 * progmodes/js.el (js--read-tab):
2756 * progmodes/etags.el (tags-lazy-completion-table):
2757 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2758 * emacs-lisp/ewoc.el (ewoc--wrap):
2759 * emacs-lisp/assoc.el (aput, adelete, amake):
2760 * doc-view.el (doc-view-convert-current-doc):
2761 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2762
cb3e7ae0
CY
27632012-04-26 Chong Yidong <cyd@gnu.org>
2764
dce04f7f
CY
2765 * image.el (image-type-from-buffer): Only return supported image
2766 type (Bug#9045).
2767
cb3e7ae0
CY
2768 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2769 value, for symmetry with diff-end-of-hunk.
2770 (diff-split-hunk, diff-find-source-location)
2771 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2772 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2773 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2774 compute the relevant hunk or file properly (Bug#6005).
2775 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2776
0d42eb3e
SM
27772012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * vc/vc-mtn.el:
2780 * vc/vc-hg.el:
2781 * vc/vc-git.el:
2782 * vc/vc-dir.el:
2783 * vc/vc-cvs.el:
2784 * vc/vc-bzr.el:
2785 * vc/vc-arch.el:
2786 * vc/vc.el: Replace lexical-let by lexical-binding.
2787 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2788 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2789 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2790
f08ae1c9
CY
27912012-04-26 Chong Yidong <cyd@gnu.org>
2792
8b71081d
CY
2793 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2794 (diff-mode-shared-map): Bind it to / and [remap undo].
2795
f08ae1c9
CY
2796 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2797 (ediff-window-setup-function): Use it as the default, to set up
2798 windows based on whether the current frame is graphical (Bug#2138).
2799 (ediff-choose-window-setup-function-automatically): Make obsolete.
2800
2801 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2802
ef24141c
SM
28032012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2804
cc356a5d
SM
2805 * ffap.el: Remove old code for obsolete package.
2806 (ffap-complete-as-file-p): Remove.
2807
b4ff4f1f
SM
2808 Use completion-table-with-quoting for comint and pcomplete.
2809 * comint.el (comint--unquote&requote-argument)
2810 (comint--unquote-argument, comint--requote-argument): New functions.
2811 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2812 (comint-quote-filename): Use regexp-opt-charset.
2813 (comint--common-suffix, comint--common-quoted-suffix)
2814 (comint--table-subvert): Remove.
2815 (comint-unquote-function, comint-requote-function): New vars.
2816 (comint--complete-file-name-data): Use them with
2817 completion-table-with-quoting.
2818 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2819 * pcomplete.el (pcomplete-arg-quote-list)
2820 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2821 (pcomplete-unquote-argument-function): Default to non-nil.
2822 (pcomplete-unquote-argument): Simplify.
2823 (pcomplete--common-quoted-suffix): Remove.
2824 (pcomplete-requote-argument-function): New var.
2825 (pcomplete--common-suffix): New function.
2826 (pcomplete-completions-at-point): Use completion-table-with-quoting
2827 and completion-table-subvert.
2828
79c4eeb4
SM
2829 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2830 (minibuffer--double-dollars): Preserve properties.
2831 (completion--sifn-requote): New function.
2832 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2833
ef24141c
SM
2834 * minibuffer.el: Add support for completion of quoted/escaped data.
2835 (completion-table-with-quoting, completion-table-subvert): New funs.
2836 (completion--twq-try, completion--twq-all): New functions.
2837 (completion--nth-completion): New function.
2838 (completion-try-completion, completion-all-completions): Use it.
2839
784e7d6e
LL
28402012-04-25 Leo Liu <sdl.web@gmail.com>
2841
dd2ac746
SM
2842 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2843 Use compilation-message if available to find real filename.
784e7d6e 2844
07875ee7
CY
28452012-04-25 Chong Yidong <cyd@gnu.org>
2846
2847 * vc/diff-mode.el (diff-setup-whitespace): New function.
2848 (diff-mode): Use it.
2849
2850 * vc/diff.el (diff-sentinel):
2851 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2852 Whitespace mode variables based on diff style (Bug#8612).
2853
5055880d
LL
28542012-04-25 Leo Liu <sdl.web@gmail.com>
2855
daf75653
LL
2856 * progmodes/python.el (python-send-region): Add suffix .py to the
2857 temp file.
2858
5055880d
LL
2859 * files.el (auto-mode-alist): Use javascript-mode instead.
2860
db9b177b
AH
28612012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2862
ef24141c 2863 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2864
2865 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2866 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2867 references, see Bug#9.
ef24141c 2868 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2869 when receiving a fault reply.
ef24141c 2870 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2871
2872 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2873 (soap-inspect-simple-type): New function.
db9b177b 2874
ef24141c 2875 * soap-client.el (soap-simple-type): New struct.
db9b177b 2876 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2877 (soap-decode-basic-type, soap-encode-basic-type):
2878 support unsignedInt and double basic types.
db9b177b 2879 (soap-resolve-references-for-simple-type)
ef24141c
SM
2880 (soap-parse-simple-type, soap-encode-simple-type): New function.
2881 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2882
2883 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2884 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2885 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2886 the local name of "soapenc:Array".
2887 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2888 decoding integer, byte and anyURI xsd types.
2889
1fc6097b
CY
28902012-04-25 Chong Yidong <cyd@gnu.org>
2891
2892 * cus-edit.el (custom-buffer-create-internal): Update header text.
2893
afc6df87
EZ
28942012-04-25 Eli Zaretskii <eliz@gnu.org>
2895
2896 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2897 settings on 'system-type', not on 'window-system'. On MS-Windows,
2898 set interactive-mode on in GDB.
2899
dfbd787f
SM
29002012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2903 (ruby-syntax-propertize-regexp): Remove.
2904 (ruby-syntax-propertize-function): Split regexp into chunks.
2905 Match following code directly.
2906
85222d44
DG
29072012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2908
51a8ea2a
DG
2909 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2910 (ruby-syntax-propertize-regexp): New function.
2911 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2912 by a special keyword.
2913
85222d44
DG
2914 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2915 (ruby-syntax-general-delimiters-goto-beg)
2916 (ruby-syntax-propertize-general-delimiters): New functions.
2917 (ruby-syntax-propertize-function): Use them to handle GDL.
2918 (ruby-font-lock-keywords): Move old handling of GDL...
2919 (ruby-font-lock-syntactic-keywords): .. to here.
2920 (ruby-calculate-indent): Adjust indentation for GDL.
2921
b613912b
MA
29222012-04-24 Michael Albinus <michael.albinus@gmx.de>
2923
b5380639
MA
2924 * notifications.el (top): Remove unneeded declarations.
2925 (notifications-specification-version): Change to "1.2".
e43042fe 2926 (notifications-interface, notifications-notify-method)
b613912b
MA
2927 (notifications-close-notification-method): Fix docstring.
2928 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2929 (notifications-notify): Add :action-items, :resident and
2930 :transient hints. Change "image_data" to "image-data" and
2931 "image_path" to "image-path".
b613912b
MA
2932 (notifications-get-capabilities): New defun.
2933
257440aa
LL
29342012-04-24 Leo Liu <sdl.web@gmail.com>
2935
2936 * progmodes/python.el: Move hideshow setup to the end.
2937
b1bac16e
MR
29382012-04-24 Martin Rudalics <rudalics@gmx.at>
2939
2940 * window.el (handle-select-window): Clear echo area since this is
2941 no more done by read_char (Bug#11304).
2942
d81bd059
SM
29432012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2946 and `/ M' to filter-derived-mode.
2947 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2948 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2949 (ibuffer-mark-by-mode): Use default rather than initial-input.
2950 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2951
c4cf6d91
IA
29522012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2953
2954 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2955 (ibuffer-filter-by-derived-mode): New filter.
2956 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2957
7511ded8
CY
29582012-04-23 Andreas Politz <politza@fh-trier.de>
2959
2960 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2961
775c916b
CY
29622012-04-23 Chong Yidong <cyd@gnu.org>
2963
2964 * cus-edit.el (customize-apropos, customize-apropos-options):
2965 Disable matching of non-option variables (Bug#11176).
2966 (customize-option, customize-option-other-window)
2967 (customize-changed-options): Doc fix.
2968 (customize-apropos-options, customize-apropos-faces)
2969 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2970
2971 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2972 Fix word list splitting (Bug#11132).
46c71e23
CY
2973 (apropos-symbol, apropos-keybinding, apropos-label)
2974 (apropos-property, apropos-function-button)
2975 (apropos-variable-button, apropos-misc-button): New faces.
2976 (apropos-symbol-face, apropos-keybinding-face)
2977 (apropos-label-face, apropos-property-face, apropos-match-face):
2978 Variables removed (Bug#8396).
2979 (apropos-library-button, apropos-format-plist, apropos-print)
2980 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2981
2df41f9c
MA
29822012-04-23 Michael Albinus <michael.albinus@gmx.de>
2983
2984 * net/xesam.el (xesam-mode-map): Use let-bound map in
2985 initialization. (Bug#11292)
2986
da00640a
AM
29872012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2988
2989 Preserve ispell session localwords when switching back to
2990 original buffer.
2991
2992 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2993 variable to hold buffer session localwords.
2994 (ispell-kill-ispell): add option 'clear to delete session
2995 localwords.
2996 (ispell-command-loop, ispell-change-dictionary)
2997 (ispell-buffer-local-words): Preserve session localwords when
2998 needed.
2999
3000 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3001 Preserve session localwords when needed.
3002
f621ccf5
AM
30032012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3004
3005 * ispell.el (ispell-insert-word) Remove unneeded function using
3006 obsolete `translation-table-for-input'.
ef24141c
SM
3007 (ispell-word, ispell-process-line, ispell-complete-word):
3008 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3009
c2d1019e
CY
30102012-04-22 Chong Yidong <cyd@gnu.org>
3011
3012 * cus-edit.el (custom-variable-menu)
3013 (custom-variable-reset-saved, custom-face-menu)
3014 (custom-face-reset-saved): If there is no saved value, make the
3015 "reset-saved" operation bring back the default (Bug#9509).
3016 (custom-face-state): Properly detect themed faces.
3017
eeddc531
CY
3018 * faces.el (face-spec-set): Stop supporting deprecated form of
3019 third arg.
3020
dcbf5805
MA
30212012-04-22 Michael Albinus <michael.albinus@gmx.de>
3022
3023 Move functions from C to Lisp. Make non-blocking method calls
3024 the default. Implement further D-Bus standard interfaces.
3025
ef24141c
SM
3026 * net/dbus.el (dbus-message-internal): Declare function.
3027 Remove unneeded function declarations.
dcbf5805
MA
3028 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3029 (dbus-message-type-method-return, dbus-message-type-error)
3030 (dbus-message-type-signal): Declare variables. Remove local
3031 definitions.
3032 (dbus-interface-dbus, dbus-interface-peer)
3033 (dbus-interface-introspectable, dbus-interface-properties)
3034 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3035 Adapt docstring.
3036 (dbus-interface-objectmanager): New defconst.
3037 (dbus-call-method, dbus-call-method-asynchronously)
3038 (dbus-send-signal, dbus-method-return-internal)
3039 (dbus-method-error-internal, dbus-register-service)
3040 (dbus-register-signal, dbus-register-method): New defuns, moved
3041 from dbusbind.c
3042 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3043 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3044 New defuns.
dcbf5805
MA
3045 (dbus-call-method-non-blocking): Make it an obsolete function.
3046 (dbus-unregister-object, dbus-unregister-service)
3047 (dbus-handle-event, dbus-register-property)
3048 (dbus-property-handler): Obey the new structure of
3049 `bus-registered-objects'.
3050 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3051 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3052 Use `dbus-call-method'.
3053
cf20dee0
CY
30542012-04-22 Chong Yidong <cyd@gnu.org>
3055
3056 * cus-edit.el (custom-commands, custom-reset-menu)
3057 (Custom-reset-standard): Tweak labels.
3058 (custom-reset-button-menu): Change default to t.
3059 (custom-buffer-create-internal): For the custom-reset-button-menu
3060 case, put the revert button first.
3061 (custom-group-subtitle): New face.
3062 (custom-group-value-create): Align docstring to a specific column.
3063
3064 * wid-edit.el (widget-documentation-link-add): Don't handle
3065 indentation in this function.
3066 (widget-documentation-string-indent-to): New function.
3067 (widget-documentation-string-value-create): Use it.
3068
3069 * autorevert.el (auto-revert):
3070 * epg-config.el (epg):
3071 * ibuffer.el (ibuffer):
3072 * mpc.el (mpc):
3073 * ses.el (ses):
3074 * eshell/eshell.el (eshell):
3075 * net/ange-ftp.el (ange-ftp):
3076 * progmodes/ebnf2ps.el (postscript):
3077 * progmodes/flymake.el (flymake):
3078 * progmodes/prolog.el (prolog):
3079 * progmodes/verilog-mode.el (verilog-mode):
3080 * progmodes/which-func.el (which-func):
3081 * term/xterm.el (xterm):
3082 * textmodes/picture.el (picture):
3083 * textmodes/tildify.el (tildify):
3084 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3085 customization buffers.
3086
583e23bd
AM
30872012-04-22 Alan Mackenzie <acm@muc.de>
3088
3089 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3090 Adding a ) can hide the resulting (..) from searches. Fix it.
3091 Bound the backward search to the position of the existing (.
3092
7dd51bf1
JB
30932012-04-21 Juanma Barranquero <lekktu@gmail.com>
3094
3095 * progmodes/verilog-mode.el (verilog-mode): Check whether
3096 which-func-modes is t before adding verilog-mode.
3097 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3098
d64a438f
LL
30992012-04-21 Leo Liu <sdl.web@gmail.com>
3100
7dd51bf1 3101 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3102
081e8d65
MV
31032012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3104
3105 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3106 filling of the last column of a table (Bug#5635).
3107 (woman-find-next-control-line): New arg, specifying an additional
3108 regexp component for the control line.
3109 (woman2-roff-buffer): Use it.
3110 (woman-break-table): New function.
3111 (woman2-TS): Use it.
3112
31132012-04-21 Chong Yidong <cyd@gnu.org>
3114
3115 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3116 (woman-horizontal-escapes, woman-negative-vertical-space)
3117 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3118 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3119
ed571ccb
SM
31202012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 * minibuffer.el (completion-file-name-table): Complete user names.
3123
39773899
LL
31242012-04-20 Leo Liu <sdl.web@gmail.com>
3125
3126 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3127 and pcase-let*.
3128
de6ff46d
CY
31292012-04-20 Chong Yidong <cyd@gnu.org>
3130
3131 * server.el (server-execute): Respect initial-buffer-choice if it
3132 is a string and there are no files to open (Bug#2825).
3133 (server-create-window-system-frame, server-create-tty-frame):
3134 Don't switch buffers here.
2d0e8e61
CY
3135 (server-process-filter): Only try to open a window system frame if
3136 compiled with graphical support (Bug#8314).
de6ff46d 3137
54071013
DN
31382012-04-20 Dan Nicolaescu <dann@gnu.org>
3139
3140 * battery.el (battery-echo-area-format): Display remaining time
3141 for sysfs backend too (Bug#11269).
3142 (battery-linux-sysfs): Fix conditional for the charge.
3143
f30d612a
CY
31442012-04-20 Chong Yidong <cyd@gnu.org>
3145
c07a4c0b 3146 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3147 (gdb-inferior-io--init-proc): New function.
3148 (gdb-init-1): Use it.
3149 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3150 responsible for allocating a new pty and hooking it to gdb when
3151 the old pty gets an EIO due to process exit.
3152 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3153 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3154 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3155
2116e93c
EZ
31562012-04-20 Eli Zaretskii <eliz@gnu.org>
3157
3158 * window.el (window-min-size, window-sizable, window-min-delta)
3159 (window-max-delta, window--resizable, window-resizable)
3160 (window-total-size, window-full-height-p, window-full-width-p)
3161 (window-in-direction, window--resize-mini-window, window-resize)
3162 (window--resize-child-windows-normal)
3163 (window--resize-child-windows, window--resize-siblings)
3164 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3165 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3166
c07a4c0b 31672012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3168
ef24141c
SM
3169 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3170 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3171 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3172 pty process (Bug#11273).
3173 (gdb-update): New arg to suppress talking to the gdb process.
3174 (gdb-done-or-error): Use it.
3175 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3176 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3177 sentinel not being called.
3178
3179 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3180
d02766ab
CY
3181 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3182
c07a4c0b 31832012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3184
3185 * net/network-stream.el (open-network-stream): Doc fix.
3186
c07a4c0b 31872012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3188
3189 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3190
c07a4c0b 31912012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3192
3193 Ensure searching for keywords is case sensitive.
3194
3195 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3196 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3197 (c-defun-name, c-mark-function, c-cpp-define-name)
3198 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3199 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3200
ef24141c
SM
3201 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3202 Bind case-fold-search to nil.
f0f6bc35 3203
c07a4c0b 32042012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3205
3206 * mail/sendmail.el (mail-bury): Call return action with the right
3207 Rmail buffer (Bug#11242).
3208
9a864fa2
CY
3209 * server.el (server-process-filter): Handle corner case where both
3210 tty and nowait options are present (Bug#11102).
3211
539aa513
EZ
32122012-04-20 Eli Zaretskii <eliz@gnu.org>
3213
3214 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3215 (top level): Put into the executable the ident-style '$Id:' tag on
3216 windows-nt as well.
539aa513 3217
cfc7d5da
SM
32182012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * electric.el (electric-indent-post-self-insert-function): Check that
3221 electric-indent-mode is enabled in current buffer.
3222
5b01685c
JB
32232012-04-19 Juanma Barranquero <lekktu@gmail.com>
3224
3225 * imenu.el (imenu-progress-message): Restore; it is "used" in
3226 erc/erc-imenu.el and net/snmp-mode.el.
3227
4d6769e1
JB
32282012-04-19 Juanma Barranquero <lekktu@gmail.com>
3229
3230 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3231 (mouse-avoidance-nudge-mouse): Remove unused binding.
3232
3233 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3234
3235 * descr-text.el (describe-char):
3236 * progmodes/python.el (python-describe-symbol):
3237 Don't call `toggle-read-only', set `buffer-read-only'.
3238
3239 * imenu.el (imenu-default-goto-function): Mark unused args.
3240 (imenu-progress-message): Remove obsolete macro; all callers changed.
3241
3242 * subr.el (keymap-canonicalize): Remove unused binding.
3243 (read-passwd): Mark unused arg.
3244
3245 * tutorial.el (tutorial--display-changes): Remove unused binding.
3246 (tutorial--save-tutorial-to): Remove unused variable.
3247
3248 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3249 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3250 (package-generate-autoloads, package-menu--generate)
3251 (package-menu--find-upgrades): Remove unused bindings.
3252
3253 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3254 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3255 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3256 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3257 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3258 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3259 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3260 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3261 (cua-delete-char-rectangle): Mark unused args.
3262 (cua-align-rectangle): Remove unused binding.
3263
3264 * mail/rmail.el (compilation--message->loc)
3265 (epa--find-coding-system-for-mime-charset): Declare.
3266
3267 * net/dbus.el (dbus-register-service): Declare.
3268 (dbus-name-owner-changed-handler): Remove unused binding.
3269
3270 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3271 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3272 (nxml-scan-backward-within): Mark unused arg.
3273 (nxml-dynamic-markup-word): Remove unused binding.
3274
3275 * mouse.el (mouse-menu-major-mode-map):
3276 * emacs-lisp/authors.el (authors-scan-change-log)
3277 (authors-add-to-author-list):
3278 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3279 * emacs-lisp/smie.el (smie-auto-fill):
3280 * mail/sendmail.el (mail-bury):
3281 * mail/unrmail.el (unrmail):
3282 * net/tls.el (open-tls-stream):
3283 * textmodes/picture.el (picture-mouse-set-point):
3284 Remove unused bindings.
3285
8c8fc5df
MA
32862012-04-19 Michael Albinus <michael.albinus@gmx.de>
3287
3288 * net/tramp.el (tramp-action-password): Let-bind
3289 `enable-recursive-minibuffers' to t.
3290
a77b0ac9
SS
32912012-04-18 Sam Steingold <sds@gnu.org>
3292
3293 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3294 instead of 'string to accommodate values like [f11].
3295 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3296 * progmodes/gdb-mi.el: Likewise.
3297
12a106a9
LL
32982012-04-18 Leo Liu <sdl.web@gmail.com>
3299
3300 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3301 current buffer.
3302 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3303 LOCAL is nil.
3304
bc6494ef
CY
33052012-04-18 Chong Yidong <cyd@gnu.org>
3306
3307 * simple.el (line-move): Use forward-line if in batch mode
3308 (Bug#11053).
3309
c09c46b2
CS
33102012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3311
3312 * files.el (after-find-file): Do not try to add a final newline if
3313 the buffer is read-only (Bug#11156).
3314
5f6530ea
RS
33152012-04-17 Richard Stallman <rms@gnu.org>
3316
3317 * mail/rmail.el (rmail-start-mail):
3318 Pass (rmail-mail-return...) for the return-action.
3319 Pass (rmail-yank-current-message...) for the yank-action.
3320 (rmail-yank-current-message): New function.
3321 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3322 (rmail-reply): Likewise.
3323 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3324
3325 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3326 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3327 buffer, not newbuf.
3328
197b6f3c
JB
33292012-04-17 Juanma Barranquero <lekktu@gmail.com>
3330
3331 * server.el (server-ensure-safe-dir): Simplify.
3332
2311d8e5 33332012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3334
2311d8e5
GM
3335 * emacs-lisp/smie.el: Provide smarter auto-filling.
3336 (smie-auto-fill): New function.
3337 (smie-setup): Use it.
98fb480e 3338
2311d8e5
GM
3339 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3340
33412012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3342
3343 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3344 (comment-indent): Use it.
3345
2311d8e5 33462012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3347
3348 * ses.el: The overall change is to add cell renaming, that is
3349 setting fancy names for cell symbols other than name matching
3350 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3351 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3352 (ses-create-cell-variable): New defun.
2311d8e5 3353 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3354 (ses-relocate-formula): Relocate formulas only for cells the
3355 symbols of which are not renamed, i.e. symbols whose names do not
3356 match regexp "\\`[A-Z]+[0-9]+\\'".
3357 (ses-relocate-all): Relocate values only for cells the symbols of
3358 which are not renamed.
3359 (ses-load): Create cells variables as the (ses-cell ...) are read,
3360 in order to check row col consistency with cell symbol name only
3361 for cells that are not renamed.
3362 (ses-replace-name-in-formula): New defun.
3363 (ses-rename-cell): New defun.
4bdf2ad2 3364
fc72b15c
PO
33652012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3366
3367 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3368 New option (bug#11118).
3369 (perl-calculate-indent): Respect it.
3370
12e10e61
GM
33712012-04-17 Glenn Morris <rgm@gnu.org>
3372
3373 * dired-aux.el (dired-mark-read-string): Doc fix.
3374
30009afd
DA
33752012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3376
3377 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3378 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3379
41f03f4d
GM
33802012-04-17 Glenn Morris <rgm@gnu.org>
3381
3382 * mouse.el (mouse-drag-track):
3383 * speedbar.el (speedbar-frame-mode):
3384 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3385
f45f90f3
LL
33862012-04-16 Leo Liu <sdl.web@gmail.com>
3387
3388 * progmodes/python.el: Trivial cleanup.
3389
94ee8db5
GM
33902012-04-16 Glenn Morris <rgm@gnu.org>
3391
121b8917
GM
3392 * vc/vc.el (vc-string-prefix-p):
3393 * vc/pcvs-util.el (cvs-string-prefix-p):
3394 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3395 * mpc.el (mpc-string-prefix-p):
3396 Make all of these into obsolete aliases for string-prefix-p.
3397 Update callers.
3398 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3399
1197ecfa
GM
3400 * textmodes/two-column.el: Move custom options to the start.
3401 (frame-width): Remove compat definition.
3402 (2C-associate-buffer, 2C-dissociate):
3403 Use with-current-buffer rather than save-excursion.
3404 (2C-dissociate): Force a mode-line update.
3405 (2C-autoscroll): Use ignore-errors.
3406
099e7202
GM
3407 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3408 Autoload trivia.
3409
bf350d6a
GM
3410 * emacs-lisp/cl-extra.el (*random-state*):
3411 Remove unnecessary declaration.
3412
0e829eab
GM
3413 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3414
e3ad7552
GM
3415 * play/cookie1.el (cookie-snarf):
3416 Give an explicit error if input file cannot be read.
3417
68892d27
GM
3418 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3419
20f0c46d
GM
3420 * progmodes/perl-mode.el (c-macro-expand):
3421 Remove unnecessary autoload (it is in loaddefs.el).
3422
5a0978ce
GM
3423 * textmodes/picture.el (picture-desired-column)
3424 (picture-update-desired-column): Convert comments to doc-strings.
3425 (picture-substitute): Remove function.
3426 (picture-mode-map): Initialize in the defvar.
3427
6b955486
GM
3428 * woman.el: Remove eval-after-load for tar-mode.
3429 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3430 (woman-tar-extract-file): Autoload it.
3431
94ee8db5
GM
3432 * frame.el (automatic-hscrolling): Make this alias obsolete.
3433
177eca34
AM
34342012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3435
3436 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3437 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3438 (ispell-dictionary-base-alist): Revert to original XEmacs
3439 friendly version for default. [:alpha:] will be added in
3440 `ispell-set-spellchecker-params' if needed
177eca34 3441
c505aaeb
CY
34422012-04-16 Chong Yidong <cyd@gnu.org>
3443
3444 * image.el (imagemagick--extension-regexp): New variable.
3445 (imagemagick-register-types): Use it.
3446 (imagemagick-types-inhibit): Add :set function. Allow new value
3447 of t to inhibit all types.
3448
3449 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3450 so we can preload it.
3451
3452 * loadup.el (fboundp): Preload regexp-opt, needed by
3453 imagemagick-register-types.
3454
60efac0f
CY
34552012-04-15 Chong Yidong <cyd@gnu.org>
3456
3457 * frame.el (scrolling): Remove nearly unused customization group.
3458
3459 * scroll-all.el (scroll-all-mode): Move to windows group.
3460
5dd1713e
CY
34612012-04-15 Chong Yidong <cyd@gnu.org>
3462
3463 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3464
e6fd457e
CY
34652012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3468 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3469
e153c136
GM
34702012-04-15 Glenn Morris <rgm@gnu.org>
3471
3472 * simple.el (process-file-side-effects): Doc fix.
3473
e6fd457e 34742012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3475
3476 * international/mule-cmds.el (set-language-environment): Doc fix.
3477
3603c3b1
JB
34782012-04-14 Juanma Barranquero <lekktu@gmail.com>
3479
3480 * server.el (server-auth-key, server-generate-key): Doc fixes.
3481 (server-get-auth-key): Doc fix. Use `string-match-p'.
3482 (server-start): Reflow docstring.
3483
e6de100c
LI
34842012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3485
3486 * server.el (server-generate-key): `called-interactively-p'
3487 requires a parameter.
3488
29734c21
MN
34892012-04-14 Michal Nazarewicz <mina86@mina86.com>
3490
3491 * server.el (server-auth-key): New variable.
75f1671a 3492 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3493 (server-start): Use the new variable and functions to allow
3494 setting a permanent server key (bug#9423).
3495
d65c9521
LL
34962012-04-14 Leo Liu <sdl.web@gmail.com>
3497
3498 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3499
5ae255c7
PE
35002012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3501
3502 Spelling fixes.
3503 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3504 Emacs uses American spelling.
3505
d5e6342e
JB
35062012-04-14 Juanma Barranquero <lekktu@gmail.com>
3507
3508 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3509 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3510 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3511 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3512
ab036cd7
SM
35132012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * progmodes/which-func.el (which-func-modes): Change default.
3516
35dc09a1 35172012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3518
3519 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3520 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3521
35dc09a1 35222012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3523
3524 * custom.el (custom-theme-set-variables): Doc fix.
3525
35dc09a1 35262012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3527
3528 * international/mule.el (set-auto-coding-for-load): Doc fix.
3529
35dc09a1 35302012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3531
35dc09a1
GM
3532 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3533 imenu work again for Objective C Mode. Correct the *-index values,
3534 these having been disturbed by a previous change in 2011-08.
57f845ee 3535
0de3da9f
AM
3536 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3537 Correct two search limits.
3538
35dc09a1 35392012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3540
3541 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3542
35dc09a1 35432012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3544
3545 * international/characters.el: Fix sorting.
3546
35dc09a1 35472012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3548
3549 * international/characters.el: Add more missing Latin case pairs.
3550
35dc09a1 35512012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3552
3553 * files.el (dir-locals-set-class-variables): Doc fix.
3554
35dc09a1 35552012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3556
3f1b5bf8
EZ
3557 * international/characters.el: Add set-case-syntax-pair call for
3558 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3559 counterpart. (Bug#11209)
3560
9f847f41
EZ
3561 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3562
35dc09a1 35632012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3564
3565 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3566
35dc09a1 35672012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3568
35dc09a1
GM
3569 * textmodes/ispell.el (ispell-dictionary-base-alist):
3570 Add data for Hebrew.
e2627d21 3571
35dc09a1 35722012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3573
35dc09a1
GM
3574 * net/rcirc.el (rcirc-cmd-quit):
3575 Revert 2012-03-18 change (Bug#11192).
5c14e333 3576
35dc09a1 35772012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3578
3579 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3580
35dc09a1 35812012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3582
4517fe3a
SM
3583 * minibuffer.el (completion-in-region-mode-map):
3584 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3585
b472a594
VD
35862012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3587
3588 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3589
09b95ce3
MY
35902012-04-13 Masatake YAMATO <yamato@redhat.com>
3591
3592 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3593 to allow `C-M-f' and `C-M-b' to move to the nearest path
3594 separator (bug#9511).
3595
4b63a9ca
LI
35962012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3597
3598 * avoid.el: Require cl when compiling. And also move the
3599 `provide' to the end.
3600
7b55b8bf
TV
36012012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3602
3603 * avoid.el (mouse-avoidance-banish-position): New variable.
3604 (mouse-avoidance-banish-destination): Use it (bug#10165).
3605
adedaa1f
LL
36062012-04-13 Leo Liu <sdl.web@gmail.com>
3607
3608 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3609
70e74021
KB
36102012-04-13 Ken Brown <kbrown@cornell.edu>
3611
3612 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3613 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3614 (browse-url-filename-alist): For the same reason, don't modify
3615 file:// URLs on Cygwin.
3616
e75e89ba
SM
36172012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3620 the region on shift if the binding is already shifted (bug#11221).
3621
82f289a4
GM
36222012-04-12 Glenn Morris <rgm@gnu.org>
3623
3624 * mail/mailpost.el: Move to obsolete/.
3625
d333dc4c
DA
36262012-04-12 Drew Adams <drew.adams@oracle.com>
3627
3628 * imenu.el (imenu--generic-function): Ignore invisible definitions
3629 (bug#10123).
3630
0d15b5ba
VD
36312012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3632
3633 * hexl.el (hexl-bits): New variable.
3634 (hexl-options): Mention the variable in the doc string.
75f1671a 3635 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3636 (hexl-mode): Mention the new variable.
75f1671a
JB
3637 (hexl-mode, hexl-current-address, hexl-current-address):
3638 Use the displen.
0d15b5ba
VD
3639 (hexl-ascii-start-column): New function.
3640 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3641 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3642
64a440db
AM
36432012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3644
3645 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3646 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3647 the encoding, as expected by hunspell.
3648
6decb6c2
SM
36492012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * battery.el (battery--linux-sysfs-regexp): New const.
3652 (battery-status-function): Use it. Remove yeeloong special case.
3653 (battery-yeeloong-sysfs): Remove.
3654 (battery-echo-area-format): Remove yeeloong special case.
3655
088be6fb
SM
36562012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3657
6622e416
SM
3658 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3659 Reported by Noah Friedman.
3660
088be6fb
SM
3661 * subr.el (read-passwd): Use read-string.
3662
b49f886e
LMI
36632012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3664
3665 * vcursor.el (vcursor-move): Increase the priority of the overlay
3666 (bug#9663).
3667
a63067fc
DD
36682012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3669
3670 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3671 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3672
ac3cf14a
WS
36732012-04-11 William Stevenson <yhvh2000@gmail.com>
3674
3675 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3676 define-minor-mode (bug#10760).
3677
c4fc691b 36782012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3679
4d6769e1 3680 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3681 that directories matching `grep-find-ignored-files' won't be
3682 pruned (bug#10351).
3683
af23e2e5
CY
36842012-04-11 Chong Yidong <cyd@gnu.org>
3685
3686 * startup.el (command-line): Remove support for long-obsolete
3687 variable font-lock-face-attributes.
3688
ab7ce8c1
GM
36892012-04-11 Glenn Morris <rgm@gnu.org>
3690
3691 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3692
de8c03dc
SM
36932012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * window.el (window--state-get-1): Obey window-point-insertion-type.
3696
050cc68b
LB
36972012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3698
3699 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3700 to previous function when point is on the first character of a
75f1671a 3701 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3702
a38c310c
GM
37032012-04-11 Glenn Morris <rgm@gnu.org>
3704
effed0c2
GM
3705 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3706 not just file-errors.
3707
a38c310c
GM
3708 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3709 (vc-bzr-sha1): Use internal sha1.
3710
0221e323
SM
37112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3714
43956923
SG
37152012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3716
3717 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3718 that start in the middle of the line (bug#10496).
3719
6a8c9eaf
DN
37202012-04-10 Dan Nicolaescu <dann@gnu.org>
3721
3722 * battery.el (battery-linux-proc-acpi): Only one battery is
3723 discharged at a time, but that seems to confuse battery.el when
3724 computing `rate-type' for the battery not being discharged
3725 (bug#10332).
3726
1930bf5d
SM
37272012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3728
2a718f6f
SM
3729 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3730
599430d0
SM
3731 * international/quail.el: Use dolist and simplify.
3732 (quail-define-package, quail-update-keyboard-layout)
3733 (quail-define-rules): Use dolist.
3734 (quail-insert-kbd-layout, quail-get-translation): CSE.
3735
a2754b6c
SM
3736 * tmm.el: Use dolist, remove left over hook.
3737 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3738 Use dolist.
3739 (calendar-load-hook): Don't mess with it.
3740
1930bf5d
SM
3741 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3742 Use derived-mode-p. Run the diff asynchronously.
3743
9f67961c
LMI
37442012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3745
3746 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3747
2a8ce227
JB
37482012-04-10 Juanma Barranquero <lekktu@gmail.com>
3749
3750 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3751 (list-dynamic-libraries--loaded): New function.
3752 (list-dynamic-libraries--refresh): Use it.
3753
8f33b5f8
NW
37542012-04-10 Nathan Weizenbaum <nweiz@google.com>
3755
1930bf5d
SM
3756 * progmodes/python.el (python-fill-paragraph):
3757 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3758 disabled (bug#7018).
3759
b12f0439
L
37602012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3761
1930bf5d 3762 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3763 DOS/MS Windows for the Baltic languages. There are still plenty
3764 of texts written in this encoding/codepage (bug#6519).
b12f0439 3765
57c3bd01
GM
37662012-04-10 Glenn Morris <rgm@gnu.org>
3767
3768 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3769 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3770
6c3eab30
FA
37712012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3772
1930bf5d 3773 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3774 next-line "n" and previous-line "p" in order to make recentf more
3775 consistent with ibuffer, dired or org-mode (bug#9387).
3776
24d78a88
LMI
37772012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3778
bc72b5d9
LMI
3779 * image.el (put-image): Return the overlay created instead of the
3780 optional input string (bug#7834). Note that this may break code
3781 that is (for some reason or other) depending on `put-image'
3782 returning the string.
3783
bd2dba5a
LMI
3784 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3785
74beb59f
LMI
3786 * simple.el (zap-to-char): Allow zapping using input methods
3787 (bug#1580).
3788
24d78a88
LMI
3789 * textmodes/fill.el (fill-region): Leave point and mark where they
3790 were before filling (bug#5399).
3791
263f20cd
GM
37922012-04-09 Glenn Morris <rgm@gnu.org>
3793
3794 * version.el (emacs-bzr-get-version):
3795 Handle lightweight checkouts of local branches.
3796
58d1f797
AS
37972012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3798
263f20cd 3799 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3800
b4d3bc10
CY
38012012-04-09 Chong Yidong <cyd@gnu.org>
3802
3803 * custom.el (custom-variable-p): Return nil for non-symbol
3804 arguments instead of signaling an error.
3805 (user-variable-p): Obsolete alias for custom-variable-p.
3806
3807 * apropos.el (apropos-variable):
3808 * files-x.el (read-file-local-variable):
3809 * simple.el (set-variable):
3810 * woman.el (woman-mini-help):
3811 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3812
fd06db5d
GM
38132012-04-09 Glenn Morris <rgm@gnu.org>
3814
e5fcdb5e
GM
3815 * startup.el (normal-top-level): Don't look for leim-list.el
3816 in places where it will not be found. (Bug#910)
3817
fd06db5d
GM
3818 * international/mule-cmds.el (set-default-coding-systems):
3819 * files.el (normal-mode):
3820 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3821 This function was removed with ucs-tables.el in 2008.
3822
b39bb7e1
EZ
38232012-04-08 Eli Zaretskii <eliz@gnu.org>
3824
3825 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3826 ispell-encoding8-command to "-i", without a trailing space.
3827 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3828 separate command-line arguments, to specify the encoding, since
3829 that's how hunspell expects it.
3830
5c5b8e23
GM
38312012-04-08 Glenn Morris <rgm@gnu.org>
3832
3833 * loadup.el: Load bindings before cus-start.
3834 This reduces somewhat the number of "rogue" settings in emacs -Q.
3835
a1ed8b05
GM
38362012-04-07 Glenn Morris <rgm@gnu.org>
3837
3838 * version.el (emacs-bzr-get-version): New function.
dfae128a 3839 (emacs-bzr-version): New variable.
a1ed8b05
GM
3840 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3841 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3842
b142f158
EZ
38432012-04-07 Eli Zaretskii <eliz@gnu.org>
3844
dfae128a
GM
3845 * international/uni-bidi.el, international/uni-category.el:
3846 * international/uni-combining.el, international/uni-decimal.el:
3847 * international/uni-decomposition.el, international/uni-digit.el:
3848 * international/uni-lowercase.el, international/uni-mirrored.el:
3849 * international/uni-name.el, international/uni-numeric.el:
3850 * international/uni-titlecase.el, international/uni-uppercase.el:
3851 Update for Unicode 6.1.
b142f158 3852
9078ead6
EZ
38532012-04-07 Eli Zaretskii <eliz@gnu.org>
3854
3855 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3856
f23d2c7d
LMI
38572012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3858
3859 * window.el (shrink-window): Mention the `window-min-height'
3860 variable in the doc string.
3861
0a0a3573
BG
38622012-04-05 Bastien Guerry <bzg@altern.org>
3863
3864 * color.el (color-lighten-name): Fix typo.
3865
e5248ac9
SM
38662012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * server.el (server--on-display-p): New function.
3869 (server--on-display-p): Use it.
3870
b4243e22
GV
38712012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3872
3873 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3874 (bug#11145).
3875
305d9f44
SM
38762012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * comint.el (comint--common-quoted-suffix): Check string boundary
3879 before comparing (bug#11158).
3880 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3881
3d439cd1
CY
38822012-04-04 Chong Yidong <cyd@gnu.org>
3883
321cc491
CY
3884 * minibuffer.el (completion-extra-properties): Doc fix.
3885
3d439cd1
CY
3886 * subr.el (delayed-warnings-hook): Doc fix.
3887
2d562c0f
DU
38882012-04-04 Daiki Ueno <ueno@unixuser.org>
3889
3890 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3891 selection (Bug#11159).
3892 (epa-insert-keys): Inform that the default public key will be
3893 exported if no key is selected.
3894
4443f204
RS
38952012-04-04 Richard Stallman <rms@gnu.org>
3896
3897 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3898
529c06b6
CY
38992012-04-03 Chong Yidong <cyd@gnu.org>
3900
3901 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3902 mail-insert-file, not its obsolete alias mail-attach-file.
3903
66b907dc
MA
39042012-04-03 Michael Albinus <michael.albinus@gmx.de>
3905
3906 * notifications.el (notifications-notify): Fix docstring.
3907
c0ea195d
GM
39082012-04-02 Glenn Morris <rgm@gnu.org>
3909
3910 * emacs-lisp/authors.el (authors-aliases): Another addition.
3911
5ca64e00
MA
39122012-04-02 Michael Albinus <michael.albinus@gmx.de>
3913
3914 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3915 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3916 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3917
42ee526b
CY
39182012-04-01 Chong Yidong <cyd@gnu.org>
3919
3920 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3921 Handle root directory properly.
3922 (copy-directory): Caller changed.
3923
3924 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3925 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3926
0b021094
GM
39272012-03-31 Glenn Morris <rgm@gnu.org>
3928
40f86458
GM
3929 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3930
7019c177
GM
3931 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3932
a1daddd6
GM
3933 * calendar/calendar.el (calendar-window-list)
3934 (calendar-hide-window): Restore. (Bug#11140)
3935 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3936
0b021094
GM
3937 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3938
40311efc
TV
39392012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3940
3941 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3942 Check if file is a symlink (Bug#10489).
3943
3944 * files.el (copy-directory): Likewise.
3945
5319014e
CY
39462012-03-30 Chong Yidong <cyd@gnu.org>
3947
3948 * image.el (imagemagick-types-inhibit)
3949 (imagemagick-register-types): Doc fix.
3950
935d1290
AM
39512012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3952
ef24141c
SM
3953 * ispell.el (ispell-get-extended-character-mode):
3954 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3955 and treats ~word as ordinary words in pipe mode.
935d1290 3956
61c6e8fd
GM
39572012-03-30 Glenn Morris <rgm@gnu.org>
3958
3959 * tutorial.el (help-with-tutorial): Ensure local variables don't
3960 happen to make the buffer read-only. (Bug#11127)
3961
81fdff00
SM
39622012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3965 (perl-calculate-indent): Return `noindent' in strings.
3966
6e7a6ec0
SS
39672012-03-28 Sam Steingold <sds@gnu.org>
3968
3969 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3970 instead of the broken adhockery which does not prevent calendar
3971 buffers from being displayed at random after exit.
3972 (calendar-window-list, calendar-hide-window): Remove the broken
3973 adhockery.
3974
fee88ca0
GM
39752012-03-28 Glenn Morris <rgm@gnu.org>
3976
3977 * replace.el (query-replace-map): Doc fix.
3978
38de3354
AS
39792012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3980
3981 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3982 contents. (Bug#11109)
3983
b973155e
SM
39842012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3985
3986 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3987 (bug#11077).
3988 (avl-tree--check, avl-tree--check-node): New funs.
3989
dcb6e7b3
MR
39902012-03-27 Martin Rudalics <rudalics@gmx.at>
3991
3992 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3993 (switch-to-prev-buffer, switch-to-next-buffer):
3994 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3995 showing a buffer already is done on the same frame.
3996
b4fa35fa
GM
39972012-03-27 Glenn Morris <rgm@gnu.org>
3998
3999 * startup.el (mail-host-address): Doc fix.
4000
f9210e18
SM
40012012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4004 than 197 variables.
4005
c0bf7753
AF
40062012-03-26 Ami Fischman <ami@fischman.org>
4007
4008 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4009
33da7b16
GM
40102012-03-26 Glenn Morris <rgm@gnu.org>
4011
02243d9d
GM
4012 * files.el (save-buffers-kill-emacs): Doc fix.
4013
33da7b16
GM
4014 * startup.el (normal-top-level, command-line, command-line-1):
4015 Give them doc strings.
4016
e5a69fd0
EZ
40172012-03-25 Eli Zaretskii <eliz@gnu.org>
4018
4019 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4020 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4021
9a69676a
CY
40222012-03-25 Chong Yidong <cyd@gnu.org>
4023
4125cb8b
CY
4024 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4025 theme if it was previously enabled before (Bug#11031).
4026
dd470960
CY
4027 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4028 spec with custom-face-get-current-spec if its :shown-value is not
4029 determined yet (Bug#9337).
4125cb8b 4030 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4031
9a69676a
CY
4032 * button.el (button-at): Minor addition to docstring.
4033
6e7e90fa
SL
40342012-03-24 Simon Leinen <simon.leinen@gmail.com>
4035
4036 * vc/vc.el (vc-merge): Fix a prompt.
4037
f06e2758
CY
40382012-03-24 Chong Yidong <cyd@gnu.org>
4039
4040 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4041 point (Bug#9623).
4042
6e7e90fa
SL
4043 * button.el (button-at): Minor addition to docstring.
4044
b9d0879b
SM
40452012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * newcomment.el (comment-choose-indent): No space after BOL.
4048
e71cebb3
SS
40492012-03-22 Sam Steingold <sds@gnu.org>
4050
4051 * window.el (switch-to-prev-buffer): Revert last patch because the
4052 bug turned out to be an advertised feature (Elisp manual 28.14).
4053
335aff35
GM
40542012-03-22 Glenn Morris <rgm@gnu.org>
4055
4056 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4057 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4058
c676576a
LMI
40592012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4060
4061 * net/network-stream.el (network-stream-open-starttls): Make error
4062 message under Windows be less misleading.
4063
126f3d39
LW
40642012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4065
4066 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4067 understands (bug#9942).
4068
64fee311
CY
40692012-03-22 Chong Yidong <cyd@gnu.org>
4070
4071 * simple.el (end-of-visible-line): Handle return value of
4072 next-single-property-change properly (Bug#9371).
4073
a640d29a
KH
40742012-03-22 Kenichi Handa <handa@m17n.org>
4075
4076 * international/quail.el (quail-insert-kbd-layout): Fix previous
4077 change. To avoid unwanted bidi reordering, use
4078 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4079
39675016
DG
40802012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4081
4082 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4083 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4084 (ruby-beginning-of-indent): Be more careful with the difference
4085 between word-boundary and symbol boundary.
4086 (ruby-mode-syntax-table): Make : a symbol constituent.
4087
0a6934fc 40882012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4089
3d008e4f
SM
4090 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4091
0a6934fc
SM
40922012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4093
af67c9d7
SM
4094 * progmodes/etags.el (tags-completion-at-point-function):
4095 Improve last fix.
4096
1acad97c
SM
4097 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4098
e298b5da
SS
40992012-03-21 Sam Steingold <sds@gnu.org>
4100
4101 * progmodes/etags.el (tags-completion-at-point-function):
4102 Avoid the error when point is inside the pattern.
4103
91d82a70
JY
41042012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4105
4106 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4107 line (Bug#10855).
4108
69188b79
CY
41092012-03-21 Drew Adams <drew.adams@oracle.com>
4110
4111 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4112
99fc91fe
AK
41132012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4114
4115 * ido.el (ido-set-current-directory, ido-read-internal)
4116 (ido-choose-completion-string, ido-completion-help): Handle nil
4117 value of ido-completion-buffer (Bug#11008).
4118
087bbb4c
SS
41192012-03-21 Sam Steingold <sds@gnu.org>
4120
4121 * window.el (switch-to-prev-buffer): Do not switch to a visible
4122 window previous buffer, just like with the frame previous buffers.
4123
fb5b8aca
CY
41242012-03-21 Chong Yidong <cyd@gnu.org>
4125
4126 * faces.el (make-face, make-empty-face, copy-face):
4127 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4128 Doc fixes.
4129
dc9924b8
SM
41302012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4131
4132 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4133 (widget-complete): Remove broken use of it.
4134
f0bcceb9
CY
41352012-03-20 Chong Yidong <cyd@gnu.org>
4136
dc9924b8
SM
4137 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4138 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4139 characters.
4140
ee52ebf3
TH
41412012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4142
4143 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4144 to draw rectangles, not squares. (Regression introduced by revno
4145 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4146
4c5779ab
CY
41472012-03-18 Chong Yidong <cyd@gnu.org>
4148
4149 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4150 it is not yet defined (for temacs).
4151
15360934
LL
41522012-03-18 Leo Liu <sdl.web@gmail.com>
4153
dc9924b8 4154 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4155
d9a8eb66
EZ
41562012-03-17 Eli Zaretskii <eliz@gnu.org>
4157
4158 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4159 (ispell-choices-win-default-height, ispell-silently-savep)
4160 (ispell-dictionary-alist, ispell-encoding8-command)
4161 (ispell-check-version, ispell-aspell-find-dictionary)
4162 (ispell-valid-dictionary-list, ispell-words-keyword)
4163 (ispell-get-word, ispell-internal-change-dictionary)
4164 (ispell-region, ispell-skip-region-list)
4165 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4166 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4167 (ispell-message-text-end, ispell-message)
4168 (ispell-buffer-local-parsing): Doc fix.
4169
f02ff80d
J
41702012-03-13 Jambunathan K <kjambunathan@gmail.com>
4171
4172 * htmlfontify.el: Add support for code block fontification for ODT
4173 export (Bug #9914).
4174 (hfy-optimisations): Define new option
4175 `body-text-only'
4176 (hfy-fontify-buffer): Honor above setting.
4177 (hfy-begin-span, hfy-end-span): New routines factored out form
4178 `hfy-fontify-buffer'.
4179 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4180 that permit insertion of custom tags.
4181 (hfy-fontify-buffer): Use above handlers.
4182 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4183 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4184 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4185 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4186 bind a special variable `hfy-user-sheet-assoc'.
4187 (htmlfontify-string): New defun.
4188 (hfy-compile-face-map): Make sure that the last char in the
4189 buffer is correctly fontified.
4190 (hfy-face-resolve-face): Whitespace only change.
4191
9ac7a13f
EZ
41922012-03-17 Eli Zaretskii <eliz@gnu.org>
4193
4194 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4195 message more clear.
4196
e2b5bdd7
LL
41972012-03-16 Leo Liu <sdl.web@gmail.com>
4198
4199 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4200
2e492df3
AM
42012012-03-16 Alan Mackenzie <acm@muc.de>
4202
4203 Further optimise the handling of large macros.
4204
4205 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4206 limit to a call of `c-literal-limits'.
4207 (c-determine-+ve-limit): New function.
dc9924b8
SM
4208 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4209 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4210 In CASE 5B, restrict a search limit to 500.
4211 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4212
4213 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4214 Restrict macro bounds to +-500 from after-change's BEG END.
4215
50e94f0c
LL
42162012-03-16 Leo Liu <sdl.web@gmail.com>
4217
4218 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4219
6f09f6ed
AH
42202012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4221
4222 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4223 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4224
c7e73d51
GM
42252012-03-16 Glenn Morris <rgm@gnu.org>
4226
da986230
GM
4227 * view.el (view-buffer, view-buffer-other-window)
4228 (view-buffer-other-frame): Doc fixes re special mode-class.
4229
0835f01e
GM
4230 * subr.el (eval-after-load): If named feature is provided not from
4231 a file, run after-load forms. (Bug#10946)
4232
c7e73d51
GM
4233 * calendar/calendar.el (calendar-insert-at-column):
4234 Handle non-unit-width characters a bit better. (Bug#10978)
4235
3f2eafd1
CY
42362012-03-15 Chong Yidong <cyd@gnu.org>
4237
4238 * emacs-lisp/ring.el (ring-extend): New function.
4239 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4240
4241 * comint.el (comint-read-input-ring)
4242 (comint-add-to-input-history): Grow comint-input-ring lazily.
4243
103af3fe
SM
42442012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4245
663b1677
SM
4246 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4247 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4248
103af3fe
SM
4249 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4250 (imenu-add-to-menubar): Don't add a redundant index.
4251 (imenu-update-menubar): Handle a dynamically composed keymap.
4252
899cb7cb
KY
42532012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4254
4255 * mail/sendmail.el (mail-encode-header):
4256 Bind rfc2047-encode-encoded-words to nil.
4257
3809f91d
GM
42582012-03-13 Glenn Morris <rgm@gnu.org>
4259
4260 * calendar/calendar.el (calendar-string-spread):
4261 Handle non-unit-width characters a bit better. (Bug#10978)
4262
9e345a01
LL
42632012-03-13 Leo Liu <sdl.web@gmail.com>
4264
4265 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4266 directory and file as argument (Bug#10822).
4267
4a07df36
KS
42682012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4269
4270 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4271 For dynamically generated code, follow $PC.
4272 (gdb-disassembly-handler-custom): Handle no function name case.
4273
4aaa9356
TL
42742012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4275
4276 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4277 * emulation/ws-mode.el (ws-query-replace):
4278 * sort.el (sort-regexp-fields):
4279 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4280
225979da
SM
42812012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * dabbrev.el: Fix cycle completion order (bug#10963).
4284 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4285 (dabbrev-completion): Don't use an obarray; provide
4286 a cycle-sort-function.
4287
e2f1fdab
LL
42882012-03-12 Leo Liu <sdl.web@gmail.com>
4289
dc9924b8 4290 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4291 (kill-do-not-save-duplicates): Doc fix.
4292
b19490ed
SM
42932012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * dabbrev.el: Fix cycle completion (bug#10963).
4296 Use lexical binding and wrap to 80 columns.
4297 (dabbrev-completion): Delay computing the list of completions.
4298
4b05d722
KH
42992012-03-12 Kenichi Handa <handa@m17n.org>
4300
4301 * international/quail.el (quail-insert-kbd-layout): Surround each
4302 row by LRO and PDF instead of inserting many LRMs. Pad the left
4303 and right of each non-spacing marks. Insert invisible space
4304 between lower and upper characters to prevent composition.
4305
dbbc2e69
SM
43062012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * minibuffer.el (minibuffer-complete): Don't get confused when the
4309 function is run twice via different commands (bug#10958).
4310 (complete-with-action): Fix docstring.
4311
292112ed
CY
43122012-03-12 Chong Yidong <cyd@gnu.org>
4313
5d1ac394
CY
4314 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4315 (nxml-completion-at-point-function): New function.
4316 (nxml-mode): Use it.
4317 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4318
292112ed
CY
4319 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4320 Load generated autoloads file before byte compiling (Bug#10970).
4321 (package--make-autoloads-and-compile): New helper fun.
4322
4098f8f7
CS
43232012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4324
4325 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4326
8f754691
MA
43272012-03-11 Michael Albinus <michael.albinus@gmx.de>
4328
4329 * autorevert.el (auto-revert-handler): Ensure, that
4330 file-readable-p is applied only for local files or in
4331 auto-revert-tail-mode.
4332
e29ab36b
AS
43332012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4334
dbbc2e69
SM
4335 * server.el (server-eval-at): Handle non-tcp connections.
4336 Decode result string.
ad0bf5b6 4337
e29ab36b
AS
4338 * server.el (server-msg-size): New constant.
4339 (server-reply-print): New function.
4340 (server-eval-and-print): Use it.
4341 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4342 Handle -print-nonl.
4343
de5939ba
CS
43442012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4345
4346 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4347 (Bug#10987).
4348
0c93eabf
CY
43492012-03-11 Chong Yidong <cyd@gnu.org>
4350
397a688f
CY
4351 * simple.el (goto-line): Doc fix (Bug#9938).
4352
2cc775f9
CY
4353 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4354
0c93eabf
CY
4355 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4356 when finished (Bug#10963).
4357
c491fa41
MR
43582012-03-11 Martin Rudalics <rudalics@gmx.at>
4359
4360 * window.el (split-window-below): Fix bug in case where
4361 split-window-keep-point is nil (Bug#10971).
4362
300e8fa5
JL
43632012-03-11 Juri Linkov <juri@jurta.org>
4364
4365 * replace.el (replace-highlight): Set isearch-word to nil
4366 unconditionally. (Bug#10887)
4367
dbf6c5a1
EZ
43682012-03-10 Eli Zaretskii <eliz@gnu.org>
4369
4370 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4371 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4372 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4373 (mairix-widget-create-query): Add usage information about mairix
4374 search forms: negating words, searching for substrings, etc.
4375
b9e501de
JP
43762012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4377
4378 * international/fontset.el (font-encoding-alist): Add an entry for
4379 ksx1001 (Bug#5667).
4380
92795c91
RS
43812012-03-10 Richard Stallman <rms@gnu.org>
4382
1694e6c1
RS
4383 * mail/sendmail.el (mail-encode-header):
4384 Set rfc2047-encode-encoded-words.
4385
607e8555
RS
4386 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4387
de3bc99a
RS
4388 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4389 view buffer means not swapped.
4390 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4391 (rmail-write-region-annotate): Error if real text has disappeared.
4392
92795c91
RS
4393 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4394
699bd04e
CY
43952012-03-10 Chong Yidong <cyd@gnu.org>
4396
4397 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4398 * emulation/cua-base.el (cua--init-keymaps):
4399 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4400
570a1714
MR
44012012-03-10 Martin Rudalics <rudalics@gmx.at>
4402
dbbc2e69
SM
4403 * speedbar.el (speedbar-unhighlight-one-tag-line):
4404 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4405
82dcf4e4
CY
44062012-03-10 Chong Yidong <cyd@gnu.org>
4407
7a2c7ca7
CY
4408 * minibuffer.el (completion-in-region, completion-help-at-point):
4409 Give the completion field overlay a high priority (Bug#6830).
4410
82dcf4e4
CY
4411 * dired.el (dired-goto-file): Recognize absolute file name
4412 listings (Bug#7126).
4413 (dired-goto-file-1): New helper function.
4414 (dired-toggle-read-only): Inhibit warnings.
4415
052e28ac
MA
44162012-03-09 Michael Albinus <michael.albinus@gmx.de>
4417
75f1671a 4418 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4419 there are no properties.
4420
95d5e396
LL
44212012-03-09 Leo Liu <sdl.web@gmail.com>
4422
4423 * savehist.el (savehist-printable): Stricter check for string
4424 value (Bug#10937).
4425
3f018d6d
EZ
44262012-03-09 Eli Zaretskii <eliz@gnu.org>
4427
dbbc2e69
SM
4428 * mail/smtpmail.el (smtpmail-send-it):
4429 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4430 valid mbox format.
4431
f7fd3d79
GM
44322012-03-09 Glenn Morris <rgm@gnu.org>
4433
4434 * files.el (dir-locals-find-file):
4435 Don't check result is regular, readable.
4436 (dir-locals-read-from-file): Demote errors.
4437
6ff6e72f
EZ
44382012-03-08 Eli Zaretskii <eliz@gnu.org>
4439
dbbc2e69
SM
4440 * international/quail.el (quail-insert-kbd-layout):
4441 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4442 layout cell, to prevent their reordering by bidi display engine.
4443 For details, see the discussion in
4444 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4445
9cec7834
AM
44462012-03-08 Alan Mackenzie <acm@muc.de>
4447
4448 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4449 the starting position; make it extend the marked region when
4450 invoked repeatedly - all under appropriate circumstances.
4451 Fixes bugs #5525, #10906.
4452
9a40b8d4
GM
44532012-03-08 Glenn Morris <rgm@gnu.org>
4454
4455 * files.el (locate-dominating-file, dir-locals-find-file):
4456 Undo 2012-03-06 change.
4457
7a08ed35
EZ
44582012-03-07 Eli Zaretskii <eliz@gnu.org>
4459
dbbc2e69
SM
4460 * international/quail.el (quail-help):
4461 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4462 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4463 for the reason.
4464
5aca4f71 44652012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4466
4467 Avoid superfluous registering of signals. (Bug#10807)
4468
4469 * notifications.el (notifications-on-action-object)
4470 (notifications-on-close-object): New defvars.
4471 (notifications-on-action-signal, notifications-on-closed-signal):
4472 Unregister the signal if not needed any longer.
4473 (notifications-notify): Register `notifications-action-signal' or
4474 `notifications-closed-signal', if :on-action or :on-close has been
4475 passed as argument.
4476
78e8b10a
CY
44772012-03-07 Chong Yidong <cyd@gnu.org>
4478
4479 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4480 non-X platforms.
4481
69481eb8
GM
44822012-03-06 Glenn Morris <rgm@gnu.org>
4483
4484 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4485 (x-disown-selection-internal, x-get-selection-internal):
4486 Doc fix (add arglist signatures). (Bug#10783)
4487
133b8e11
KS
44882012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4489
4490 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4491 Handle breakpoints with no "type".
4492
99a83064
GM
44932012-03-06 Glenn Morris <rgm@gnu.org>
4494
4495 * files.el (locate-dominating-file): Add optional predicate argument.
4496 (dir-locals-find-file): Make use of above change.
4497
17798e78
TTN
44982012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4499
4500 * info.el (Info-insert-dir): Also try "dir.gz".
4501
eb182446
GM
45022012-03-06 Glenn Morris <rgm@gnu.org>
4503
8f2114ee
GM
4504 * files.el (dir-locals-find-file):
4505 Ignore non-readable or non-regular files. (Bug#10928)
4506
eb182446
GM
4507 * files.el (locate-dominating-file): Doc fix.
4508
24679323
AS
45092012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4510
4511 * calendar/calendar.el (calendar-set-mode-line):
4512 `getenv' returns a string. (Bug#10951)
4513
01d972a9
LL
45142012-03-05 Leo Liu <sdl.web@gmail.com>
4515
109aa8a9
LL
4516 * simple.el (backward-delete-char-untabify): Constrain point to
4517 field (Bug#10939).
4518
01d972a9
LL
4519 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4520
10607bea
CY
45212012-03-05 Chong Yidong <cyd@gnu.org>
4522
4523 * simple.el (count-words): If called from Lisp, return the word
4524 count, for symmetry with `count-lines'. Arglist changed.
4525 (count-words--message): Args changed. Consolidate counting code
4526 from count-words and count-words-region.
4527 (count-words-region): Caller changed.
4528 (count-lines-region): Make it an obsolete alias.
4529
5dd11cfe
TH
45302012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4531
4532 * saveplace.el (save-place-to-alist)
4533 (save-place-ignore-files-regexp): Allow value nil to disable this
4534 feature.
4535
c349f4e6
CY
45362012-03-04 Chong Yidong <cyd@gnu.org>
4537
4538 * faces.el (face-spec-reset-face): For the default face, reset the
4539 attributes to default values (Bug#10748).
4540
e627be4c
LMI
45412012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4542
4543 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4544 previous patch: Check `message-send-mail-function', and not the
4545 default function (bug#10897).
4546
ebeabff4
MA
45472012-03-04 Michael Albinus <michael.albinus@gmx.de>
4548
a41a6cf4
MA
4549 * notifications.el (notifications-on-action-signal)
4550 (notifications-on-closed-signal): Check for unique service name of
4551 incoming event. Fix error in removing entry.
ebeabff4 4552 (top): Register for signals with wildcard service name.
a41a6cf4 4553 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4554
c1ca42b4
CY
45552012-03-04 Chong Yidong <cyd@gnu.org>
4556
dc9924b8 4557 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4558
ea16568d
GM
45592012-03-04 Glenn Morris <rgm@gnu.org>
4560
4561 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4562 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4563 (expand-abbrev, define-abbrev-table): Doc fixes.
4564
fbae4637
LMI
45652012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4566
4567 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4568 `message-default-send-mail-function' and not `send-mail-function'
4569 when doing the prompting for `sendmail-query-once' before sending
4570 in Message buffers (bug#10897).
4571
a1e7225c
LMI
4572 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4573 This is inconsistent with all the other stream functions, which leave
4574 the setting up to the higher levels (if so wanted) (bug#10931).
4575
56d093a9
AM
45762012-03-02 Alan Mackenzie <acm@muc.de>
4577
4578 Depessimize the handling of very large macros.
4579
4580 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4581 (c-macro-cache-syntactic): New variables to implement a one
4582 element macro cache.
4583 (c-invalidate-macro-cache): New function.
4584 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4585 Adapt to use the new cache.
4586 (c-state-safe-place): Use better the cache of safe positions.
4587 (c-state-semi-nonlit-pos-cache)
4588 (c-state-semi-nonlit-pos-cache-limit):
4589 New variables for...
4590 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4591 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4592 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4593 Use c-state-semi-safe-place.
56d093a9 4594
dbbc2e69
SM
4595 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4596 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4597
817e5c3d
MA
45982012-03-02 Michael Albinus <michael.albinus@gmx.de>
4599
dbbc2e69
SM
4600 * jka-compr.el (jka-compr-call-process):
4601 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4602 not remote.
4603
a032a702
MA
46042012-03-01 Michael Albinus <michael.albinus@gmx.de>
4605
4606 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4607 access of FILE2, if FILE1 does not exist.
4608
99a54f21
MA
4609 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4610 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4611
4612 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4613 Add "PAGER=" to `process-environment'.
4614
f6561e1f
MM
46152012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4616
4617 * progmodes/sql.el: Bug fix
4618 (sql-get-login-ext): Save login values in globals.
4619 (sql-get-login): Use new version of `sql-get-login-ext'.
4620 (sql-interactive-mode): Set global `sql-connection' to nil.
4621 (sql-connect): Set global values for connection.
4622 (sql-product-interactive): Save global values as buffer local.
4623
2d44d9cc
LL
46242012-02-29 Leo Liu <sdl.web@gmail.com>
4625
4626 * abbrev.el (define-abbrevs): Reset sys to nil.
4627
96b49301 46282012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4629
bf7f9bc5
JB
4630 * files.el (file-equal-p): Rename from `files-equal-p'.
4631 Return nil when one or both files don't exist.
96b49301 4632 (file-subdir-of-p): Now only top directory must exists,
4633 return nil if it doesn't.
bf7f9bc5
JB
4634 (copy-directory): No need to test with `file-subdir-of-p' after
4635 creating dir.
4636 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4637 to `file-equal-p'.
96b49301 4638
44e97401
GM
46392012-02-28 Glenn Morris <rgm@gnu.org>
4640
4641 * shell.el (shell-mode):
4642 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4643 * play/landmark.el (landmark-font-lock-face-O):
4644 * play/handwrite.el (handwrite):
4645 * play/gomoku.el (gomoku-O):
4646 * net/browse-url.el (browse-url-browser-display):
4647 * international/mule.el (define-charset):
4648 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4649 * filesets.el (filesets-find-file-delay):
4650 * eshell/em-xtra.el (eshell-xtra):
4651 * eshell/em-unix.el (eshell-grep):
4652 * emulation/viper.el (viper-mode):
4653 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4654 * emacs-lisp/easymenu.el (easy-menu-define):
4655 * calendar/timeclock.el (timeclock-use-display-time):
4656 * bs.el (bs-mode):
4657 * bookmark.el (bookmark-save-flag):
4658 Doc fix (standardize possessive apostrophe usage).
4659
c98c6276
CY
46602012-02-27 Chong Yidong <cyd@gnu.org>
4661
bf7f9bc5
JB
4662 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4663 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4664
c98c6276
CY
4665 * font-lock.el (font-lock-specified-p): Rename from
4666 font-lock-spec-present. Callers changed.
4667
9c62cd04 46682012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4669
bf7f9bc5
JB
4670 * emacs-lisp/package.el (package-compute-transaction):
4671 Handle holding a package version to t in package-load-list.
8ac9e529 4672
530739c9
MA
46732012-02-26 Michael Albinus <michael.albinus@gmx.de>
4674
4675 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4676 (tramp-get-inode, tramp-get-device): Use cached values.
4677
487915d7
AM
46782012-02-26 Alan Mackenzie <acm@muc.de>
4679
4680 Check there is a font-lock specification before doing initial
4681 fontification.
4682
4683 * font-core.el (font-lock-mode): Move the conditional from
4684 :after-hook to font-lock-initial-fontify.
4685 (font-lock-default-function): Move the check for a specification
4686 to font-lock-spec-present.
4687
dc9924b8 4688 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4689 (font-lock-spec-present): New function.
4690
4fd96557
JB
46912012-02-26 Jim Blandy <jimb@red-bean.com>
4692
4693 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4694 (gdb-send): Apply it to the operand of the '-interpreter-exec
4695 console' command, so that we can pass arguments with (say) quotes
4696 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4697
9a4888c0
CY
46982012-02-26 Chong Yidong <cyd@gnu.org>
4699
07498861
CY
4700 * help-fns.el (describe-function-1): Clarify description of
4701 remapping (Bug#10844).
4702
9a4888c0
CY
4703 * files.el (files-equal-p): Doc fix.
4704 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4705 and quit the loop once a mismatch is found.
4706
ea8fb88d
JB
47072012-02-25 Juanma Barranquero <lekktu@gmail.com>
4708
4709 * bs.el (bs--show-with-configuration): Don't throw an error
4710 if the window cannot be split; otherwise, subsequent calls to
4711 bs-show fail, restoring a stale window config. (Bug#10882)
4712
525795c1
JD
47132012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4714
4715 * term/ns-win.el (global-map): Bind ns-drag-file to
4716 ns-find-file (Bug#5855, Bug#10050).
4717
f008086f
AS
47182012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4719
4720 * calendar/parse-time.el (parse-time-string): Allow extractor to
4721 return nil.
4722
a3fcfa99
MA
47232012-02-25 Michael Albinus <michael.albinus@gmx.de>
4724
91027d08
JB
4725 * net/tramp.el (tramp-file-name-for-operation):
4726 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4727
4728 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4729 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4730 Add COPY-CONTENTS argument.
a3fcfa99 4731
67b0de11
CY
47322012-02-25 Chong Yidong <cyd@gnu.org>
4733
4734 Add custom groups for VC backends, for consistency with vc-bzr.
4735
4736 * vc/vc-arch.el (vc-arch):
4737 * vc/vc-cvs.el (vc-cvs):
4738 * vc/vc-git.el (vc-git):
4739 * vc/vc-hg.el (vc-hg):
4740 * vc/vc-mtn.el (vc-mtn):
4741 * vc/vc-rcs.el (vc-rcs):
4742 * vc/vc-sccs.el (vc-sccs):
4743 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4744 All relevant defcustoms reassigned.
4745
3c9dfce6
CY
47462012-02-25 Chong Yidong <cyd@gnu.org>
4747
1339bf43
CY
4748 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4749
3c9dfce6
CY
4750 * term/x-win.el (x-initialize-window-system): Reduce default for
4751 x-selection-timeout to 5 seconds (Bug#8869).
4752
25b2e303 47532012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4754
ec70a47d
GM
4755 * files.el (files-equal-p, file-subdir-of-p): New functions.
4756 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4757 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4758 * dired-aux.el (dired-copy-file-recursive): Same.
4759 (dired-create-files): Modify destination when source is equal to
4760 dest when copying files.
53a46cd0 4761 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4762
914260cd
MA
47632012-02-24 Michael Albinus <michael.albinus@gmx.de>
4764
4765 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4766 (Bug#10874)
4767
2cb228f7
AM
47682012-02-23 Alan Mackenzie <acm@muc.de>
4769
4770 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4771 parameter "after-hook:" to allow the expansion to run code after
4772 the execution of the mode hooks.
4773
4774 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4775 from font-lock-mode-internal.
2cb228f7 4776
91027d08 4777 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4778 :after-hook.
4779
8f0fde21
SM
47802012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4781
3e88618b
SM
4782 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4783 (completion--cache-all-sorted-completions): New function.
4784 (completion-all-sorted-completions): Use it.
4785 (completion--do-completion, minibuffer-force-complete):
4786 Use it to re-instate the flush hook.
4787
8f0fde21
SM
4788 * icomplete.el (icomplete-completions): Replace last fix with a better
4789 one (bug#10850).
4790
8e911f6f
DG
47912012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4792
4793 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4794 when it might call us back infinitely (bug#10797).
4795
49fe4321
GM
47962012-02-23 Glenn Morris <rgm@gnu.org>
4797
4798 * minibuffer.el (completion-category-overrides): Doc fix.
4799
b291b572
SM
48002012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4801
4802 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4803 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4804
31a9ef2e
GM
48052012-02-23 Glenn Morris <rgm@gnu.org>
4806
5e6e6794 4807 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4808 (authors-obsolete-files-regexps, authors-ignored-files)
4809 (authors-ambiguous-files, authors-renamed-files-alist):
4810 Add more entries.
4811
0bd1e074
JL
48122012-02-23 Juri Linkov <juri@jurta.org>
4813
4814 * isearch.el (isearch-occur): Sync interactive spec with occur's
4815 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4816
b617673c
JL
4817 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4818
19e9789e
JL
48192012-02-22 Juri Linkov <juri@jurta.org>
4820
4821 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4822 (ucs-insert): Doc fix. Check for hex digits in the string.
4823 Don't display `nil' in the error message. (Bug#10857)
4824
f41ce09d
AM
48252012-02-22 Alan Mackenzie <acm@muc.de>
4826
7a71b18d 4827 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4828
ac2eceee
GM
48292012-02-22 Glenn Morris <rgm@gnu.org>
4830
4831 * ffap.el (ffap-c-path):
4832 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4833
abd1f678
CY
48342012-02-22 Chong Yidong <cyd@gnu.org>
4835
4836 * custom.el (load-theme): Doc fix.
4837
f25aef2e
GM
48382012-02-22 Glenn Morris <rgm@gnu.org>
4839
4840 * dired-x.el (dired-guess-shell-alist-default):
4841 Remove escape sequences from nroff output. (Bug#172)
4842
5f8dc2ca
GM
48432012-02-21 Glenn Morris <rgm@gnu.org>
4844
6ff86ec4
GM
4845 * vc/emerge.el (emerge-defvar-local):
4846 Set `permanent-local' property rather than unused `preserved'.
4847
be3223a3 4848 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4849 (picture-mode-map): Use it. (Bug#10860)
4850 (picture-mode): Doc fix.
4851
3fe58f4f
JB
48522012-02-21 Juanma Barranquero <lekktu@gmail.com>
4853
4854 * newcomment.el (uncomment-region-default): Remove unused binding.
4855
f9a998c3
GM
48562012-02-21 Glenn Morris <rgm@gnu.org>
4857
4858 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4859 (picture-self-insert, picture-tab-chars): Doc fix.
4860 (picture-mode-map): Fix C-a, C-e.
4861
c6029348
GM
48622012-02-20 Glenn Morris <rgm@gnu.org>
4863
4864 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4865
ab1ce9d7
LL
48662012-02-20 Leo Liu <sdl.web@gmail.com>
4867
4868 * icomplete.el (icomplete-completions): Check FROM arg before
4869 passing to substring (Bug#10850).
4870
0fd40f89
CY
48712012-02-19 Chong Yidong <cyd@gnu.org>
4872
4873 * comint.el: Require ansi-color.
4874 (comint-output-filter-functions): Add ansi-color-process-output.
4875
4876 * ansi-color.el: Don't set comint-output-filter-functions; it is
4877 now in the initial value defined in comint.el.
4878 (ansi-color-apply-face-function): New variable.
4879 (ansi-color-apply-on-region): Use it.
4880 (ansi-color-apply-overlay-face): New function.
4881
4882 * shell.el (shell): No need to require ansi-color.
4883 (shell-mode): Use ansi-color-apply-face-function to highlight
4884 color escapes using font-lock-face property (Bug#10835).
4885
20af2394
CY
48862012-02-19 Chong Yidong <cyd@gnu.org>
4887
4888 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4889 mode-line formats (Bug#10839).
4890
e23a3fbe
GM
48912012-02-18 Glenn Morris <rgm@gnu.org>
4892
b474519e
GM
4893 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4894
4895 * mail/undigest.el (unforward-rmail-message): Doc fix.
4896
e23a3fbe
GM
4897 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4898
57939ff4
EZ
48992012-02-18 Eli Zaretskii <eliz@gnu.org>
4900
4901 * international/characters.el (script-list): Sync with the latest
4902 Unicode Character Database.
4903
0c23686e
AS
49042012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4905
4906 * international/titdic-cnv.el: Remove duplicate coding tag.
4907 * language/cham.el: Likewise.
4908 * language/tai-viet.el: Likewise.
4909
6818b449
GM
49102012-02-18 Glenn Morris <rgm@gnu.org>
4911
4912 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4913 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4914 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4915 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4916 * calendar/holidays.el (holiday-bahai-holidays)
4917 (calendar-holidays, list-holidays):
4918 Use utf-8 Bahá'í in doc-strings, menus, etc.
4919
0311a3fc
TH
49202012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4921
4922 * saveplace.el (save-place-ignore-files-regexp): New variable
4923 allowing for excluding files from saving their location of point.
4924 The default value matches the temporary commit message editing
4925 files from Git, SVN, Bazaar, and Mercurial.
4926 (save-place-to-alist): Use it.
4927
eb864a71
LM
49282012-02-17 Lawrence Mitchell <wence@gmx.li>
4929 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * newcomment.el (uncomment-region-default): Don't leave extra space
4932 when an arg is provided (bug#8150).
4933
ee0ce425
TZ
49342012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4935
eb864a71 4936 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4937
95ddf442
GM
49382012-02-17 Glenn Morris <rgm@gnu.org>
4939
4940 * net/socks.el: Require network-stream. (Bug#10599)
4941
48dd1e39 49422012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4943
4944 * international/charprop.el:
4945 * international/uni-name.el:
4946 * international/uni-old-name.el:
4947 * international/uni-comment.el: Regenerate.
4948
d68cd087
GM
49492012-02-16 Glenn Morris <rgm@gnu.org>
4950
4951 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4952 Interactively in calendar buffer, give an error if not on a date.
4953
13932042
GM
49542012-02-15 Glenn Morris <rgm@gnu.org>
4955
4956 * shell.el (shell-delimiter-argument-list):
4957 Revert 2011-02-17 change. (Bug#8027)
4958
c3a70e2b
CY
49592012-02-15 Chong Yidong <cyd@gnu.org>
4960
60236b0d
CY
4961 * minibuffer.el (completion-at-point-functions): Doc fix.
4962
c3a70e2b
CY
4963 * custom.el (defcustom): Doc fix; note use of defvar.
4964
9f26dc24
GM
49652012-02-15 Glenn Morris <rgm@gnu.org>
4966
4967 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4968 Doc fixes.
4969
6546b134
GM
49702012-02-14 Glenn Morris <rgm@gnu.org>
4971
4972 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4973
d29b2b4c
LI
49742012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4975
4976 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4977 way the ports list is computed.
835bdcba
LI
4978 (smtpmail-query-smtp-server): Prompt the user for a port number if
4979 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4980
08dcdbc9
TZ
49812012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4982
4983 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4984
2605051a
GM
49852012-02-13 Glenn Morris <rgm@gnu.org>
4986
4987 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4988
7ee99f32
TZ
49892012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4990
4991 * net/gnutls.el (gnutls-trustfiles): New variable.
4992 (gnutls-negotiate): Use it.
4993
5f0af64f
LI
49942012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4995
4996 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4997 does its stuff if Gnus is running.
4998
c14fcc95
AM
49992012-02-13 Alan Mackenzie <acm@muc.de>
5000
5001 Fix a loop in c-set-fl-decl-start.
5002
7a71b18d 5003 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5004 c-backward-syntactic-ws actually moves backwards.
5005
142b4d90
LL
50062012-02-13 Leo Liu <sdl.web@gmail.com>
5007
5008 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5009 beginning so that all \C-o chars are removed.
5010
fa9958a6
TZ
50112012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5012
dc9924b8 5013 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5014
0bc5886a
AM
50152012-02-12 Alan Mackenzie <acm@muc.de>
5016
5017 Fix infinite loop with long macros.
4d6769e1 5018 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5019
d4bd55e7
CY
50202012-02-12 Chong Yidong <cyd@gnu.org>
5021
5022 * window.el (display-buffer): Doc fix (Bug#10785).
5023
66f3fe22
GM
50242012-02-12 Glenn Morris <rgm@gnu.org>
5025
bd7da63e
GM
5026 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5027 (x-disown-selection-internal, x-get-selection-internal):
5028 Sync docs with the xselect.c versions.
5029
66f3fe22
GM
5030 * allout-widgets.el: Add missing license notice.
5031
3e0d2fa7
GM
50322012-02-11 Glenn Morris <rgm@gnu.org>
5033
cfecdf09
GM
5034 * select.el (x-get-selection-internal, x-own-selection-internal)
5035 (x-disown-selection-internal):
5036 * x-dnd.el (x-get-selection-internal): Update declarations.
5037
6d216d7f
GM
5038 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5039
2bed3f04
GM
5040 * window.el (window-sides-slots):
5041 * tool-bar.el (tool-bar-position):
5042 * term/xterm.el (xterm-extra-capabilities):
5043 * ses.el (ses-self-reference-early-detection):
5044 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5045 (verilog-auto-wire-type)
5046 (verilog-auto-delete-trailing-whitespace)
5047 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5048 (verilog-auto-tieoff-declaration):
5049 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5050 (sql-oracle-statement-starters, sql-oracle-scan-on):
5051 * progmodes/prolog.el (prolog-align-comments-flag)
5052 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5053 (prolog-left-indent-regexp, prolog-paren-indent-p)
5054 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5055 (prolog-types, prolog-mode-specificators)
5056 (prolog-determinism-specificators, prolog-directives)
5057 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5058 (prolog-electric-dot-flag)
5059 (prolog-electric-dot-full-predicate-template)
5060 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5061 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5062 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5063 (prolog-program-switches, prolog-prompt-regexp)
5064 (prolog-debug-on-string, prolog-debug-off-string)
5065 (prolog-trace-on-string, prolog-trace-off-string)
5066 (prolog-zip-on-string, prolog-zip-off-string)
5067 (prolog-use-standard-consult-compile-method-flag)
5068 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5069 (prolog-imenu-max-lines, prolog-info-predicate-index)
5070 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5071 (prolog-char-quote-workaround):
5072 * progmodes/cc-vars.el (c-defun-tactic):
5073 * net/tramp.el (tramp-encoding-command-interactive)
5074 (tramp-local-end-of-line):
5075 * net/soap-client.el (soap-client):
5076 * net/netrc.el (netrc-file):
5077 * net/gnutls.el (gnutls):
5078 * minibuffer.el (completion-category-overrides)
5079 (completion-cycle-threshold)
5080 (completion-pcm-complete-word-inserts-delimiters):
5081 * man.el (Man-name-local-regexp):
5082 * mail/feedmail.el (feedmail-display-full-frame):
5083 * international/characters.el (glyphless-char-display-control):
5084 * eshell/em-ls.el (eshell-ls-date-format):
5085 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5086 (lisp-lambda-list-keyword-parameter-indentation)
5087 (lisp-lambda-list-keyword-parameter-alignment):
5088 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5089 * dired-x.el (dired-omit-verbose):
5090 * cus-theme.el (custom-theme-allow-multiple-selections):
5091 * calc/calc.el (calc-highlight-selections-with-faces)
5092 (calc-lu-field-reference, calc-lu-power-reference)
5093 (calc-note-threshold):
5094 * battery.el (battery-mode-line-limit):
5095 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5096 (archive-7z-update):
5097 * allout.el (allout-prefixed-keybindings)
5098 (allout-unprefixed-keybindings)
5099 (allout-inhibit-auto-fill-on-headline)
5100 (allout-flattened-numbering-abbreviation):
5101 * allout-widgets.el (allout-widgets-auto-activation)
5102 (allout-widgets-icons-dark-subdir)
5103 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5104 (allout-widgets-theme-dark-background)
5105 (allout-widgets-theme-light-background)
5106 (allout-widgets-item-image-properties-emacs)
5107 (allout-widgets-item-image-properties-xemacs)
5108 (allout-widgets-run-unit-tests-on-load)
5109 (allout-widgets-time-decoration-activity)
5110 (allout-widgets-hook-error-post-time)
5111 (allout-widgets-track-decoration):
5112 Add missing :version tags to new defcustoms and defgroups.
5113
5fec1b8e
GM
5114 * progmodes/sql.el (sql-ansi-statement-starters)
5115 (sql-oracle-statement-starters): Add custom type.
5116
3e0d2fa7
GM
5117 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5118 (prolog-system-version): Give it a type.
5119
90b671e2
EZ
51202012-02-11 Eli Zaretskii <eliz@gnu.org>
5121
5122 * term/pc-win.el (x-select-text, x-selection-owner-p)
5123 (x-own-selection-internal, x-disown-selection-internal)
5124 (x-get-selection-internal): Sync doc strings and argument lists
5125 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5126
5eac0c02
LL
51272012-02-11 Leo Liu <sdl.web@gmail.com>
5128
5129 * progmodes/python.el (python-end-of-statement): Fix infinite
5130 loop. (Bug#10788)
5131
f82cb659
GM
51322012-02-10 Glenn Morris <rgm@gnu.org>
5133
5134 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5135 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5136
cc26d239
LI
51372012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5138
5139 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5140 about SMTP before checking the From header.
5141
91027d08 5142 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5143 into own function for reuse by emacsbug.el.
5144
1be3ca5a
LL
51452012-02-10 Leo Liu <sdl.web@gmail.com>
5146
5147 * subr.el (condition-case-unless-debug): Rename from
5148 condition-case-no-debug. All callers changed.
5149 (with-demoted-errors): Fix caller.
5150
5151 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5152 * nxml/rng-valid.el (rng-do-some-validation):
5153 * emacs-lisp/package.el (package-refresh-contents)
5154 (package-menu-execute):
5155 * desktop.el (desktop-create-buffer):
91027d08 5156 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5157
b011fbfe
GM
51582012-02-10 Glenn Morris <rgm@gnu.org>
5159
b2096d72
GM
5160 * textmodes/bibtex.el:
5161 Add missing :version tags for new/changed defcustoms.
5162
b011fbfe
GM
5163 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5164
4c7e65bf
LI
51652012-02-09 Lars Ingebrigtsen <larsi@rusty>
5166
5167 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5168 (smtpmail-via-smtp): Use it, or fall back on the From address.
5169 (smtpmail-send-it): Ditto.
5170
f3934f6f
SM
51712012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5174 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5175 (byte-compile-tmp-var): New const.
5176 (byte-compile-defvar): Use it to minimize .elc size.
5177 Just use `defvar' rather than simulate it (bug#10761).
5178
a075a2c5
GM
51792012-02-09 Glenn Morris <rgm@gnu.org>
5180
cf3aa21b
GM
5181 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5182
354998cd
GM
5183 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5184 Add :version tags.
5185
dc9924b8
SM
5186 * progmodes/compile.el (compilation-error-screen-columns)
5187 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5188
dab3703d
GM
5189 * vc/log-view.el (log-view-toggle-entry-display):
5190 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5191
3f88cd72
GM
5192 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5193 (report-emacs-bug-can-use-xdg-email):
5194 (report-emacs-bug-insert-to-mailer): Doc fixes.
5195 (report-emacs-bug): Message fix.
5196
d95b247d
GM
5197 * net/browse-url.el (browse-url-can-use-xdg-open)
5198 (browse-url-xdg-open): Doc fixes.
5199
a075a2c5
GM
5200 * electric.el (electric-indent-mode, electric-pair-mode)
5201 (electric-layout-rules, electric-layout-mode): Doc fixes.
5202 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5203
ffb6157e
MR
52042012-02-08 Martin Rudalics <rudalics@gmx.at>
5205
5206 * server.el (server-unselect-display): Don't inadvertently kill
5207 the current buffer. (Bug#10729)
5208
e1ac4066
GM
52092012-02-08 Glenn Morris <rgm@gnu.org>
5210
34e8a2da
GM
5211 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5212 (sql-list-table): Doc fixes.
5213
b4ac6e8c
GM
5214 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5215 Comment out (does nothing).
5216
e1ac4066
GM
5217 * completion.el (dynamic-completion-mode):
5218 * dirtrack.el (dirtrack-debug-mode):
5219 * electric.el (electric-layout-mode):
5220 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5221 * face-remap.el (text-scale-mode, buffer-face-mode):
5222 * iimage.el (iimage-mode):
5223 * image-mode.el (image-transform-mode):
5224 * minibuffer.el (completion-in-region-mode):
5225 * scroll-lock.el (scroll-lock-mode):
5226 * simple.el (next-error-follow-minor-mode):
5227 * tar-mode.el (tar-subfile-mode):
5228 * tooltip.el (tooltip-mode):
5229 * vcursor.el (vcursor-use-vcursor-map):
5230 * wid-browse.el (widget-minor-mode):
5231 * emulation/tpu-edt.el (tpu-edt-mode):
5232 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5233 * international/iso-ascii.el (iso-ascii-mode):
5234 * language/thai-util.el (thai-word-mode):
5235 * mail/supercite.el (sc-minor-mode):
5236 * net/goto-addr.el (goto-address-mode):
5237 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5238 * progmodes/cwarn.el (cwarn-mode):
5239 * progmodes/flymake.el (flymake-mode):
5240 * progmodes/glasses.el (glasses-mode):
5241 * progmodes/hideshow.el (hs-minor-mode):
5242 * progmodes/pascal.el (pascal-outline-mode):
5243 * textmodes/enriched.el (enriched-mode):
5244 * vc/smerge-mode.el (smerge-mode):
5245 Doc fixes (minor mode argument).
5246
5e0d957f
EZ
52472012-02-07 Eli Zaretskii <eliz@gnu.org>
5248
5249 * ls-lisp.el (ls-lisp-sanitize): New function.
5250 (ls-lisp-insert-directory): Use it to fix or remove any elements
5251 in file-alist with missing attributes. (Bug#4673)
5252
98d7371e
AM
52532012-02-07 Alan Mackenzie <acm@muc.de>
5254
5255 Fix spurious recognition of c-in-knr-argdecl.
5256
5257 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5258 putative K&R region.
5259
667ced3a
AM
52602012-02-07 Alan Mackenzie <acm@muc.de>
5261
eb864a71
LM
5262 * progmodes/cc-engine.el (c-forward-objc-directive):
5263 Prevent looping in "#pragma mark @implementation".
667ced3a 5264
5b77774d
MA
52652012-02-07 Michael Albinus <michael.albinus@gmx.de>
5266
5267 * notifications.el (notifications-on-closed-signal): Make `reason'
5268 optional. (Bug#10744)
5269
af008560
GM
52702012-02-07 Glenn Morris <rgm@gnu.org>
5271
60d47423
GM
5272 * emacs-lisp/easy-mmode.el (define-minor-mode):
5273 Doc fixes for the macro and the mode it defines.
5274
dd605cc4
GM
5275 * image.el (imagemagick-types-inhibit): Doc fix.
5276
af008560
GM
5277 * cus-start.el (imagemagick-render-type): Add it.
5278
5cc59a37
LI
52792012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5280
4d6769e1
JB
5281 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5282 Set the default at load time, too, so that `font-lock-fontify-buffer'
5283 can be called without setting up the entire mode first. This fixes
5284 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5285
9a6dd747
CY
52862012-02-06 Chong Yidong <cyd@gnu.org>
5287
2d16b285
CY
5288 * simple.el (list-processes--refresh): Delete exited processes
5289 (Bug#8094).
5290
171e9b6e
CY
5291 * comint.el (comint-next-prompt): next-single-char-property-change
5292 and prev-single-char-property-change never return nil (Bug#8657).
5293
9a6dd747
CY
5294 * custom.el (defcustom): Doc fix (Bug#9711).
5295
aa4589a7
CY
52962012-02-05 Chong Yidong <cyd@gnu.org>
5297
5c2a252f
CY
5298 * cus-edit.el (custom-variable-reset-backup): Quote the value
5299 before storing it in the customized-value property (Bug#6712).
4aab9006 5300 (custom-display): Add a customization type tag.
983b9602 5301 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5302
aa4589a7
CY
5303 * wid-edit.el (widget-field-value-get): New optional arg to
5304 suppress trailing whitespace truncation.
5305 (character): Use it (Bug#2689).
5306
1ff980ae
AS
53072012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5308
5309 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5310 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5311
03988c98
CY
53122012-02-05 Chong Yidong <cyd@gnu.org>
5313
eeb6cc88
CY
5314 * cus-edit.el (custom-variable-value-create): For mismatched
5315 types, show the current value (Bug#7600).
5316
03988c98
CY
5317 * custom.el (defcustom): Doc fix.
5318
f8cdeef0
GM
53192012-02-05 Glenn Morris <rgm@gnu.org>
5320
5321 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5322
0696d255
JB
53232012-02-05 Juanma Barranquero <lekktu@gmail.com>
5324
5325 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5326 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5327 (pp-last-sexp): Use `looking-at-p'.
5328
34c99998
GM
53292012-02-04 Glenn Morris <rgm@gnu.org>
5330
8f05da42
GM
5331 * files.el (revert-buffer):
5332 Doc fix (mention revert-buffer-in-progress-p).
5333
f160676e
GM
5334 * emacs-lisp/ert-x.el (ert-simulate-command):
5335 Check deferred-action-list (which is obsolete) is bound.
5336
c7291ad9
GM
5337 * subr.el (with-wrapper-hook): Doc fixes.
5338
34c99998
GM
5339 * simple.el (filter-buffer-substring-functions)
5340 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5341
6283a7d3
LL
53422012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5343
5344 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5345 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5346
e96e3013
LL
53472012-02-04 Leo Liu <sdl.web@gmail.com>
5348
5349 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5350
8ded50f2
GM
53512012-02-04 Glenn Morris <rgm@gnu.org>
5352
82ff1d13
GM
5353 * image.el (image-extension-data): Add obsolete alias.
5354
987a0a16
GM
5355 * isearch.el (isearch-update): Doc fix.
5356
ea32ef46
GM
5357 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5358
8ded50f2
GM
5359 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5360
eea14f31
GM
53612012-02-03 Glenn Morris <rgm@gnu.org>
5362
5363 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5364 (image-animate-timeout): Doc fix.
5365
5366 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5367
12f381b7
GM
53682012-02-02 Glenn Morris <rgm@gnu.org>
5369
953cebf5
GM
5370 * server.el (server-auth-dir): Doc fix.
5371 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5372
12f381b7
GM
5373 * subr.el (run-mode-hooks): Doc fix.
5374
953a8c3b
JL
53752012-02-02 Juri Linkov <juri@jurta.org>
5376
5377 * image-mode.el (image-toggle-display-image): Remove tautological
5378 `major-mode' from the `derived-mode-p' test.
5379
c5d3843c
KH
53802012-02-02 Kenichi Handa <handa@m17n.org>
5381
9f6e692e 5382 * composite.el (compose-region): Cancel previous change.
c5d3843c 5383
159462d4 53842012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5385
5386 * composite.el (compose-region, compose-string): Signal error for
5387 a null string component (Bug#6988).
5388
9f562668
CY
53892012-02-01 Chong Yidong <cyd@gnu.org>
5390
e2cef717
CY
5391 * view.el (view-buffer-other-window, view-buffer-other-frame):
5392 Handle special modes like view-buffer (Bug#10650).
5393 (view-buffer): Simplify.
5394
9f562668
CY
5395 * frame.el (set-frame-font): Tweak meaning of third argument.
5396
9f6e692e
JB
5397 * dynamic-setting.el (font-setting-change-default-font):
5398 Use set-frame-font (Bug#9982).
9f562668 5399
781acb9f
GM
54002012-02-01 Glenn Morris <rgm@gnu.org>
5401
6035be52
GM
5402 * progmodes/compile.el (compilation-internal-error-properties):
5403 Respect compilation-first-column in the "*compilation*" buffer.
5404
781acb9f
GM
5405 * emacs-lisp/easy-mmode.el (define-minor-mode):
5406 Relax :variable's test for a named function.
5407
abbceb00
AM
54082012-01-31 Alan Mackenzie <acm@muc.de>
5409
5410 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5411 off by one error.
5412
fce3fdeb
CY
54132012-01-31 Chong Yidong <cyd@gnu.org>
5414
5415 * frame.el (set-frame-font): New arg ALL-FRAMES.
5416
5417 * menu-bar.el (menu-set-font): Use set-frame-font.
5418
5419 * faces.el (face-spec-reset-face): Don't apply unspecified
5420 attribute values to the default face.
5421
47893581
JB
54222012-01-31 Juanma Barranquero <lekktu@gmail.com>
5423
5424 * progmodes/cwarn.el (cwarn): Remove dead link.
5425 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5426 Remove * from defcustom docstrings.
5427 (turn-on-cwarn-mode): Make obsolete.
5428 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5429 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5430
e58e988a
GM
54312012-01-31 Glenn Morris <rgm@gnu.org>
5432
60dc2671 5433 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5434 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5435 Allow named functions to be used as the cdr of :variable.
e58e988a 5436
7a3f511d
GM
54372012-01-30 Glenn Morris <rgm@gnu.org>
5438
5439 * emacs-lisp/authors.el (authors-fixed-entries):
5440 Remove reference to deleted file rnewspost.el.
5441
cb882333
JB
54422012-01-29 Juanma Barranquero <lekktu@gmail.com>
5443
5444 * window.el (window-with-parameter): Remove unused variable `windows'.
5445 (window--side-check): Remove unused variable `code'.
5446 (window--resize-siblings): Remove unused variable `first'.
5447 (adjust-window-trailing-edge): Remove unused variable `failed'.
5448 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5449 Use `let', not `let*'.
5450 (balance-windows-2): Remove unused variable `found'.
5451 (window--state-put-2): Remove unused variable `splits'.
5452 (window-state-put): Remove unused variable `selected'.
5453 (same-window-p): Use `string-match-p'.
5454 (display-buffer-assq-regexp): Remove unused variable `value'.
5455 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5456 Mark argument ALIST as ignored.
5457 (pop-to-buffer): Remove unused variable `old-window'.
5458
907201af
EZ
54592012-01-29 Eli Zaretskii <eliz@gnu.org>
5460
5461 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5462 and .lzma compressed files.
5463
ea162670
CY
54642012-01-29 Chong Yidong <cyd@gnu.org>
5465
5b95ee8a
CY
5466 * frame.el (window-system-default-frame-alist): Doc fix.
5467
ea162670
CY
5468 * dynamic-setting.el (font-setting-change-default-font): Don't
5469 change the default face if SET-FONT argument is non-nil (Bug#9982).
5470
d6e6f4b1
SB
54712012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5472
5473 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5474
0f29fa41 54752012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5476
5477 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5478 breakpoints in files outside current directory (Bug#6098).
5479
db174434
CY
54802012-01-29 Chong Yidong <cyd@gnu.org>
5481
6b25e4e2
SE
5482 * progmodes/python.el: Require ansi-color at top-level.
5483
6df6ae42
JB
5484 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5485 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5486 (lisp-mode-abbrev-table): Add doc.
5487 (lisp-mode-variables): Don't set local-abbrev-table.
5488 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5489
e70ee681
RW
54902012-01-28 Roland Winkler <winkler@gnu.org>
5491
5492 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5493
ace88aa2
RW
54942012-01-28 Roland Winkler <winkler@gnu.org>
5495
5496 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5497 (bibtex-set-dialect): Use it. Either set global values of
5498 dialect-dependent variables or bind these variables buffer-locally
5499 (Bug#10254).
5500 (bibtex-mode): Call bibtex-set-dialect via
5501 hack-local-variables-hook.
eb864a71
LM
5502 (bibtex-dialect): Update docstring.
5503 Add safe-local-variable predicate.
ace88aa2
RW
5504 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5505 bibtex-set-dialect.
5506 (bibtex-mode-map): Define menu for each dialect.
5507 (bibtex-entry): Fix docstring.
5508
93376c5b
CY
55092012-01-28 Chong Yidong <cyd@gnu.org>
5510
5511 * eshell/esh-arg.el (eshell-quote-argument): New function.
5512
5513 * eshell/esh-ext.el (eshell-invoke-batch-file):
5514 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5515 first arg to eshell-parse-command (Bug#10523).
5516
4372494f
DA
55172012-01-28 Drew Adams <drew.adams@oracle.com>
5518
5519 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5520 `default-directory' is non-nil.
5521
4d4ec1f8
EZ
55222012-01-28 Eli Zaretskii <eliz@gnu.org>
5523
5524 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5525 line that displays system-configuration-options. (Bug#9924)
5526
7c188927
DA
55272012-01-28 Drew Adams <drew.adams@oracle.com>
5528
5529 * descr-text.el (describe-char): Show information about POS, in
5530 addition to information about the character at POS. Improve and
5531 update the doc string. Change "code point" to "code point in
5532 charset", to avoid confusion with the character's Unicode code
5533 point shown above that. (Bug#10129)
5534
e0da685a
EZ
55352012-01-28 Eli Zaretskii <eliz@gnu.org>
5536
5537 * descr-text.el (describe-char): Show the raw character, not only
5538 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5539 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5540 for the reasons.
5541
70550acf
PH
55422012-01-28 Phil Hagelberg <phil@hagelb.org>
5543
eb864a71
LM
5544 * emacs-lisp/package.el (package-install):
5545 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5546
0ce8e868
CY
55472012-01-28 Chong Yidong <cyd@gnu.org>
5548
cb882333
JB
5549 * emacs-lisp/package.el (package-maybe-load-descriptor):
5550 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5551 (package-maybe-load-descriptor): Use it.
5552 (package-download-transaction): Fully load required packages
5553 inside the loop, so that `require' calls work (Bug#10593).
5554 (package-install): No need to call package-initialize now.
5555
2e7f3bea
CY
55562012-01-28 Chong Yidong <cyd@gnu.org>
5557
6e9bad14
CY
5558 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5559
f823b8ca
CY
5560 * tooltip.el (tooltip-mode): Doc fix.
5561 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5562
2680c309
CY
5563 * frame.el (set-cursor-color): Doc fix (Bug#352).
5564
d7a9e63b
CY
5565 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5566 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5567
2e7f3bea
CY
5568 * cus-edit.el (custom-buffer-create-internal): Fix search button
5569 action (Bug#10542).
2ae01800 5570 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5571
fc4f7a23
EW
55722012-01-27 Eduard Wiebe <usenet@pusto.de>
5573
5574 * dired.el (dired-mark-files-regexp):
5575 Include any subdirectory components. (Bug#10445)
5576
7dd37071
ML
55772012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5578
5579 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5580 Handle [host]:port syntax. (Bug#10533)
5581
a268160b
AH
55822012-01-27 Alex Harsanyi <harsanyi@mac.com>
5583
5584 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5585
e43273ef
GM
55862012-01-26 Glenn Morris <rgm@gnu.org>
5587
5588 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5589 * term.el (term-raw-escape-map): Use Control-X-prefix.
5590 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5591
1edf595d
MR
55922012-01-25 Martin Rudalics <rudalics@gmx.at>
5593
5594 * window.el (window-state-get, window--state-get-1): Don't deal
5595 with fixed-sizeness of windows. Simplify code.
5596
fa8eafef
JC
55972012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5598
6df6ae42
JB
5599 * window.el (window--state-get-1, window--state-put-2):
5600 Don't save and restore the mark.
fa8eafef 5601
0b21c100
CY
56022012-01-25 Chong Yidong <cyd@gnu.org>
5603
5604 * custom.el (custom-variable-p): Doc fix.
5605
5ae1a6c8
GM
56062012-01-25 Glenn Morris <rgm@gnu.org>
5607
40047858
GM
5608 * dired.el (dired-goto-file): Handle some of the more common
5609 characters that `ls -b' escapes. (Bug#10596)
5610
5ddce96c
GM
5611 * progmodes/compile.el (compilation-next-error-function):
5612 Respect compilation-first-column in the "*compilation*" buffer.
5613 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5614
5ae1a6c8
GM
5615 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5616
b559f1a9
GM
56172012-01-24 Glenn Morris <rgm@gnu.org>
5618
5619 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5620
6725d21a
JD
56212012-01-24 Julien Danjou <julien@danjou.info>
5622
5623 * color.el (color-rgb-to-hsl): Fix value computing.
5624 (color-hue-to-rgb): New function.
5625 (color-hsl-to-rgb): New function.
5626 (color-clamp, color-saturate-hsl, color-saturate-name)
5627 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5628 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5629
70df4bbe
GM
56302012-01-24 Glenn Morris <rgm@gnu.org>
5631
5632 * vc/vc-rcs.el (vc-rcs-create-tag):
5633 * vc/vc-sccs.el (vc-sccs-create-tag):
5634 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5635
802a2ae2
ML
56362012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5637
5638 * eshell/esh-util.el (eshell-read-hosts-file):
5639 Skip comment lines. (Bug#10549)
5640
d7128bb1
ML
5641 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5642
d1a5c3b4
JB
56432012-01-23 Juanma Barranquero <lekktu@gmail.com>
5644
2724d9c7
JB
5645 * subr.el (display-delayed-warnings): Doc fix.
5646 (collapse-delayed-warnings): New function to collapse identical
5647 adjacent warnings.
5648 (delayed-warnings-hook): Add it.
d1a5c3b4 5649
a5509865
MA
56502012-01-22 Michael Albinus <michael.albinus@gmx.de>
5651
5652 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5653
a5509865
MA
5654 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5655 (tramp-default-user-alist): Don't add "pscp".
5656 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5657 property "login-as", if set. (Bug#10530)
5658
cc6d5805
MA
56592012-01-21 Michael Albinus <michael.albinus@gmx.de>
5660
5661 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5662 "plink1" and "psftp". (Bug#10530)
5663
56642012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5665
5666 * international/mule-cmds.el (prefer-coding-system): Show a
5667 warning message if the default value of file-name-coding-system
5668 was not changed.
5669
f0960428
JC
56702012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5671
cb882333
JB
5672 * windmove.el (windmove-reference-loc):
5673 Fix windmove-reference-loc miscalculation.
f0960428 5674
dd6f2a63
JB
56752012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5676
5677 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5678 default unit.
5679
7b447e9b
GM
56802012-01-21 Glenn Morris <rgm@gnu.org>
5681
117a9ea1
GM
5682 * international/mule.el (auto-coding-alist): Add .tbz.
5683
7b447e9b
GM
5684 * files.el (local-enable-local-variables): Doc fix.
5685 (inhibit-local-variables-regexps): Rename from
5686 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5687 Doc fix. Add some extensions from auto-coding-alist.
5688 (inhibit-local-variables-suffixes):
5689 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5690 (inhibit-local-variables-p):
5691 New function, extracted from set-auto-mode-1.
5692 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5693 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5694 (hack-local-variables): Doc fix. Make the mode-only case
5695 respect enable-local-variables and friends.
5696 Respect inhibit-local-variables-regexps for file-locals, but
5697 not for directory-locals.
5698 (set-visited-file-name):
5699 Take account of inhibit-local-variables-regexps.
5700 Whether it applies may change as the file name is changed.
5701 * jka-cmpr-hook.el (jka-compr-install):
5702 * jka-compr.el (jka-compr-uninstall):
5703 Update for inhibit-first-line-modes-suffixes name change.
5704
dd6e3cdd
MR
57052012-01-20 Martin Rudalics <rudalics@gmx.at>
5706
5707 * help-macro.el (make-help-screen): Temporarily restore original
5708 binding for minor-mode-map-alist (Bug#10454).
5709
0d0deb38
JD
57102012-01-19 Julien Danjou <julien@danjou.info>
5711
5712 * color.el (color-name-to-rgb): Use the white color to find the max
5713 color component value and return correctly computed values.
5714 (color-name-to-rgb): Add missing float conversion for max value.
5715
34a02f46
MR
57162012-01-19 Martin Rudalics <rudalics@gmx.at>
5717
5718 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5719 special state value for window-persistent-parameters.
5720 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5721 (window--state-put-2): Reset all window parameters to nil before
5722 assigning values of persistent parameters.
5723
606c44c4
AM
57242012-01-18 Alan Mackenzie <acm@muc.de>
5725
5726 Eliminate sluggishness and hangs in fontification of "semicolon
5727 deserts".
5728
cb882333
JB
5729 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5730 Change value 10000 -> 3000.
606c44c4
AM
5731 (c-state-safe-place): Reformulate so it doesn't stack up an
5732 infinite number of wrong entries in c-state-nonlit-pos-cache.
5733 (c-determine-limit-get-base, c-determine-limit): New functions to
5734 determine backward search limits disregarding literals.
5735 (c-find-decl-spots): Amend commenting.
5736 (c-cheap-inside-bracelist-p): New function which detects "={".
5737
5738 * progmodes/cc-fonts.el
5739 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5740 backward search.
5741 (c-font-lock-declarations): Fix an occurrence of point being
5742 undefined. Check additionally for point being in a bracelist or
5743 near a macro invocation without a semicolon so as to avoid a
5744 fruitless time consuming search for a declarator. Give a more
5745 precise search limit for declarators using the new
5746 c-determine-limit.
5747
f3860cea
GM
57482012-01-18 Glenn Morris <rgm@gnu.org>
5749
5750 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5751 (set-auto-mode): Doc fixes.
5752
1db03b16
GM
57532012-01-17 Glenn Morris <rgm@gnu.org>
5754
0e6038be
GM
5755 * isearch.el (search-nonincremental-instead): Fix doc typo.
5756
1db03b16
GM
5757 * dired.el (dired-insert-directory): Handle newlines in directory name.
5758 (dired-build-subdir-alist): Unescape newlines in directory name.
5759
4cb0aa75
MA
57602012-01-17 Michael Albinus <michael.albinus@gmx.de>
5761
5762 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5763 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5764 (tramp-action-terminal): Use it. (Bug#10530)
5765
1d00653d
SM
57662012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5769
6a6ee00d
MR
57702012-01-16 Martin Rudalics <rudalics@gmx.at>
5771
5772 * window.el (window-state-ignored-parameters): Remove variable.
5773 (window--state-get-1): Rename argument MARKERS to IGNORE.
5774 Handle persistent window parameters. Make copy of clone-of
5775 parameter only if requested. (Bug#10348)
5776 (window--state-put-2): Install a window parameter only if it has
5777 a non-nil value or an existing parameter shall be overwritten.
5778
97912def
MA
57792012-01-15 Michael Albinus <michael.albinus@gmx.de>
5780
5781 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5782
688070a5
EZ
57832012-01-14 Eli Zaretskii <eliz@gnu.org>
5784
5785 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5786 don't pass the (nil) value of `upnode' to string-match.
5787
301afadc
CY
57882012-01-14 Chong Yidong <cyd@gnu.org>
5789
5790 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5791 Fix values recognized by the cursorBlink resource.
301afadc 5792
9e5788aa
PE
57932012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5794
5795 * epg.el (epg--make-temp-file): Avoid permission race condition
5796 when running on old Emacs versions (bug#10403).
5797
3cdb7f5a
GM
57982012-01-14 Glenn Morris <rgm@gnu.org>
5799
5800 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5801
8c82b1b4
AM
58022012-01-13 Alan Mackenzie <acm@muc.de>
5803
5804 Fix filling for when filladapt mode is enabled.
5805
5806 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5807 c-mask-paragraph, pass in `fill-paragraph' rather than
5808 `fill-region-as-paragraph'. (This is a reversion of a previous
5809 change.)
eb864a71
LM
5810 * progmodes/cc-mode.el (c-basic-common-init):
5811 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5812
e517eda4
GM
58132012-01-13 Glenn Morris <rgm@gnu.org>
5814
1498536e
GM
5815 * dired.el (dired-switches-escape-p): New function.
5816 (dired-insert-directory): Use dired-switches-escape-p.
5817 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5818
e517eda4
GM
5819 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5820
328f984d
GM
58212012-01-12 Glenn Morris <rgm@gnu.org>
5822
5823 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5824 changes in adaptive-fill-regexp. (Bug#10276)
5825
2cc769a8
AM
58262012-01-11 Alan Mackenzie <acm@muc.de>
5827
5828 Fix Emacs bug #10463 - put `widen's around the critical spots.
5829
1d00653d 5830 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5831 widen around each invocation of c-state-pp-to-literal. Remove an
5832 unused let variable.
5833
e52c37fa
GM
58342012-01-11 Glenn Morris <rgm@gnu.org>
5835
5836 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5837 Doc fix.
e52c37fa 5838
96f8741e
CY
58392012-01-10 Chong Yidong <cyd@gnu.org>
5840
1d00653d
SM
5841 * net/network-stream.el (network-stream-open-starttls):
5842 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5843 response to the capability command.
5844
b09a806e
GM
58452012-01-10 Glenn Morris <rgm@gnu.org>
5846
5847 * mail/unrmail.el (unrmail): Tweak previous change.
5848
7655cb66
CY
58492012-01-09 Chong Yidong <cyd@gnu.org>
5850
5851 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5852
9d5a8f0b
AM
58532012-01-08 Alan Mackenzie <acm@muc.de>
5854
5855 Optimise font locking in long enum definitions.
5856
5857 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5858 arm to a cond form to handle enums.
5859 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5860 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5861
9a0115ab 58622012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5863
5864 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5865 (Bug#10401)
6bb72cbd 5866
f186bb95
LMI
58672012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5868
29232a68
LMI
5869 * faces.el (set-face-attribute): Clarify the meaning of the nil
5870 frame (bug#10294).
5871
4e5d086d
LMI
5872 * subr.el (with-selected-frame): Mention that the selected frame
5873 is restored (bug#9980).
5874
8e66aebe
LMI
5875 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5876 (bug#9759).
5877
cd394be1 5878 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5879 (password-read): Don't autoload unused function.
5880
adf4e762
JB
58812012-01-07 Juanma Barranquero <lekktu@gmail.com>
5882
5883 * progmodes/which-func.el (which-func-mode): Turn into a
5884 non-interactive function and mark as obsolete (bug#10428).
5885
89bd9ccd
CY
58862012-01-06 Chong Yidong <cyd@gnu.org>
5887
5888 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5889 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5890 functions, along with 1 and -1.
5891
4afee9d5
EZ
58922012-01-06 Eli Zaretskii <eliz@gnu.org>
5893
5894 * time.el (display-time-load-average)
5895 (display-time-default-load-average): Doc fixes. See the thread
5896 starting at
5897 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5898 for the details.
5899
536aea70
GM
59002012-01-06 Glenn Morris <rgm@gnu.org>
5901
665ae865
GM
5902 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5903 has no messages. (Bug#10377)
5904
c869783d
GM
5905 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5906 than Info-edit. (Bug#10385)
5907
2bb4227e
GM
5908 * time.el (display-time-load-average, display-time-next-load-average):
5909 Doc fixes.
5910
7d5944b9
GM
5911 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5912 local setting of buffer-read-only to the input buffer. (Bug#10419)
5913
536aea70
GM
5914 * calendar/calendar.el (calendar-mode):
5915 Locally set scroll-margin to 0. (Bug#10379)
5916
7dccca16
UM
59172012-01-06 Ulrich Mueller <ulm@gentoo.org>
5918
5919 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5920
afbb7930
GM
59212012-01-05 Glenn Morris <rgm@gnu.org>
5922
5923 * eshell/em-unix.el (diff-no-select): Autoload it.
5924 (eshell/diff): Use diff-no-select. (Bug#10420)
5925
04482335
CY
59262012-01-05 Chong Yidong <cyd@gnu.org>
5927
7baca3bc
CY
5928 * shell.el (shell-dynamic-complete-functions): Revert last change.
5929 (shell-command-completion-function): New function.
5930 (shell-completion-vars): Use it to implement
5931 shell-completion-execonly (Bug#10417).
5932
04482335
CY
5933 * custom.el (enable-theme): Don't set custom-safe-themes.
5934
1d00653d
SM
5935 * cus-theme.el (custom-theme-merge-theme):
5936 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5937
bb5aa5d6
MM
59382012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5939
5940 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5941 first prompt in `sql-interacive-mode'.
5942 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5943 keywords.
6df6ae42 5944 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5945 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5946 context of original buffer. Invoke `sql-login-hook'.
5947
a7183d7c
EZ
59482012-01-04 Eli Zaretskii <eliz@gnu.org>
5949
5950 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5951 letters in cite-prefix.
5952
a1eacd1e
LMI
59532012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5954
5955 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5956
787cdb34
CY
59572012-01-03 Chong Yidong <cyd@gnu.org>
5958
1d00653d
SM
5959 * shell.el (shell-dynamic-complete-functions):
5960 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5961 comint-filename-completion first (Bug#10417).
5962
30710442
RS
59632012-01-02 Richard Stallman <rms@gnu.org>
5964
5965 * battery.el (battery-status-function):
5966 Detect when to use battery-yeeloong-sysfs.
5967 (battery-echo-area-format): Add string for Yeeloong.
5968 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5969 (battery-yeeloong-sysfs): New function.
5970
f75bfc33
CY
59712012-01-02 Chong Yidong <cyd@gnu.org>
5972
5973 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5974 (dirtrack): Merge code for handling relative filenames in prompt
5975 from shell-dir-cookie-watcher.
5976 (dirtrack-debug-message): New arg to avoid excess format calls.
5977
5978 * shell.el (shell-dir-cookie-re): Variable deleted.
5979 (shell-dir-cookie-watcher): Function deleted.
5980 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5981 with dirtrack-mode.
5982
651e947e
EZ
59832012-01-01 Eli Zaretskii <eliz@gnu.org>
5984
1d00653d
SM
5985 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5986 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5987 libgnutls-26.dll.
5988
94d4c7dc
AS
59892011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5990
5991 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5992
8d43f3cd
EZ
59932011-12-31 Eli Zaretskii <eliz@gnu.org>
5994
5995 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5996 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5997
98c8795a
MA
59982011-12-29 Michael Albinus <michael.albinus@gmx.de>
5999
6000 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6001 also for alternative shells.
6002 (tramp-open-connection-setup-interactive-shell): Check, whether
6003 the shell is a busybox.
6004 (tramp-send-command): Don't suppress multiple prompts for
6005 busyboxes, it hurts.
6006
51281b32
CY
60072011-12-28 Chong Yidong <cyd@gnu.org>
6008
6009 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6010 (gdb-get-source-file): Move mode line update to
6011 gdb-get-source-file (Bug#10087).
6012
2170cb53
CY
60132011-12-25 Chong Yidong <cyd@gnu.org>
6014
6015 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6016 gud-gdb-marker-filter without taking it as an argument.
6017 (gud-gdb-run-command-fetch-lines): Caller changed.
6018 (gud-gdb-completion-function): New variable.
6019 (gud-gdb-completion-at-point): Use it.
6020 (gud-gdb-completions-1): Split from gud-gdb-completions.
6021
6022 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6023 function as separate arguments.
6024 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6025 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6026 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6027 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6028 (gdb-stopped, def-gdb-auto-update-trigger)
6029 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6030 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6031 Callers changed.
2170cb53
CY
6032 (gud-gdbmi-completions): New function.
6033 (gdb): Use it for generating the completion table.
6034
be8b11bb
AM
60352011-12-24 Alan Mackenzie <acm@muc.de>
6036
6037 Introduce a mechanism to widen the region used in context font
1d00653d 6038 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6039
1d00653d
SM
6040 * progmodes/cc-langs.el (c-before-font-lock-functions):
6041 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6042 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6043 functions to be run just before context (etc.) font locking.
6044
6045 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6046 New, functionality extracted from
be8b11bb 6047 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6048 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6049 (c-after-change): Set c-in-after-change-fontification.
6050 (c-set-fl-decl-start): Rejig its interface, so it can be called
6051 from both after-change and context fontifying.
b81d40f0
JB
6052 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6053 New functions.
6054 (c-standard-font-lock-fontify-region-function): New variable.
6055 (c-font-lock-fontify-region): New function.
be8b11bb 6056
341cf6ac
JL
60572011-12-24 Juri Linkov <juri@jurta.org>
6058
6059 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6060 (Bug#10348)
6061
bffcee0a
MA
60622011-12-23 Michael Albinus <michael.albinus@gmx.de>
6063
6064 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6065 existence of source file. (Bug#10325)
6066
cb5e207c
AM
60672011-12-23 Alan Mackenzie <acm@muc.de>
6068
6069 Fix unstable fontification inside templates.
6070
b81d40f0
JB
6071 * progmodes/cc-langs.el (c-before-font-lock-functions):
6072 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6073 additionally has c-set-fl-decl-start. The other languages (apart
6074 from AWK) have that as a single entry.
6075
b81d40f0
JB
6076 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6077 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6078 c-set-fl-decl-start.
6079
b81d40f0
JB
6080 * progmodes/cc-mode.el (c-common-init, c-after-change):
6081 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6082 (c-set-fl-decl-start): New function, extracted from
6083 c-font-lock-enclosing-decls and enhanced.
6084
60ff536c
JB
60852011-12-23 Juanma Barranquero <lekktu@gmail.com>
6086
6087 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6088
1c4757d6
JL
60892011-12-22 Juri Linkov <juri@jurta.org>
6090
6091 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6092
d031f2c7
CY
60932011-12-22 Chong Yidong <cyd@gnu.org>
6094
6095 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6096
bace743a
DA
60972011-12-21 Drew Adams <drew.adams@oracle.com>
6098
6099 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6100
728a1f2b
JC
61012011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6102
6103 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6104
0d373f73
TZ
61052011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6106
fec0aaa4
TZ
6107 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6108 highlighting and support. Fix up comments for capitalization.
6109 (cfengine-mode-debug): New var.
6110 (cfengine3-mode): Change the modeline indicator to "CFE3".
6111 (cfengine3-font-lock-keywords): Improve defun highlighting.
6112 (cfengine2-actions): Rename from `cfengine-actions'.
6113 (cfengine2-font-lock-keywords): Rename from
6114 `cfengine-font-lock-keywords'.
6115 (cfengine2-imenu-expression): Rename from
6116 `cfengine-imenu-expression'.
6117 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6118 (cfengine2-beginning-of-defun): Rename from
6119 `cfengine-beginning-of-defun'.
6120 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6121 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6122 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6123 modeline indicator to "CFE2".
6124 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6125 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6126
bc86f573
CY
61272011-12-21 Chong Yidong <cyd@gnu.org>
6128
6129 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6130 filename argument.
6131
d45ba96b
MR
61322011-12-20 Martin Rudalics <rudalics@gmx.at>
6133
6134 * window.el (window-normalize-buffer-to-display): Remove.
6135 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6136
a6198c90
CY
61372011-12-19 Chong Yidong <cyd@gnu.org>
6138
6139 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6140 Don't signal an error in a predicate function; return non-nil.
6141 (vc-dir-mark-file): Move the error here.
6142 (vc-dir-mark-unmark): If acting on the region, keep going if one
6143 of the entries cannot be marked/unmarked.
6144 (vc-dir-mark-all-files): If current entry is a directory, mark
6145 only child files, as documented.
6146
34c5fb55
VB
61472011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6148
6149 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6150 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6151 addition.
6152
c803b2b7
JD
61532011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6154
6155 * term/ns-win.el (ns-get-selection-internal)
6156 (ns-store-selection-internal): Declare.
1154d12e
JB
6157 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6158 Declare as obsolete.
6159 (ns-get-pasteboard, ns-paste-secondary):
6160 Use ns-get-selection-internal.
6161 (ns-set-pasteboard, ns-copy-including-secondary):
6162 Use ns-store-selection-internal.
c803b2b7 6163
9cff91f8 61642011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6165
6166 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6167 (vc-deduce-fileset): Doc fix.
99a289d9 6168
f16c898a
AS
61692011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6170
6171 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6172
763237c4
SS
61732011-12-13 Sam Steingold <sds@gnu.org>
6174
6175 * man.el (Man-getpage-in-background): When running under a
6176 window-system, ignore $MANWIDTH and $COLUMNS.
6177
5fc1c122
KH
61782011-12-15 Kenichi Handa <handa@m17n.org>
6179
6180 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6181 (setup-ethiopic-environment-internal): Comment out key-binding for
6182 ethio-toggle-punctuation.
6183
13d49cbb
AM
61842011-12-13 Alan Mackenzie <acm@muc.de>
6185
898169a2
AM
6186 Add the switch statement to AWK Mode.
6187
7a71b18d 6188 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6189 "default" to the keywords regexp.
6190
7a71b18d 6191 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6192 expression as the rest.
1d00653d
SM
6193 (c-nonlabel-token-key): Allow string literals for AWK.
6194 Refactor for the other modes.
898169a2 6195
13d49cbb 6196 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6197 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6198 routines. Limit backward searching in c-font-lock-enclosing.decl.
6199
6200 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6201 pp-state and literal type in addition to the limits.
1d00653d 6202 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6203 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6204 (c-slow-in-literal, c-fast-in-literal): Remove.
6205 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6206
6207 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6208 being in a literal. Add a limit for backward searching.
6209
6210 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6211 c-slow-in-literal.
6212
15e0efc7
SM
62132011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6216
454592a6
MR
62172011-12-13 Martin Rudalics <rudalics@gmx.at>
6218
6219 * window.el (delete-other-windows): Use correct frame in call to
6220 window-with-parameter.
6221
87393f26
DP
62222011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6223
6224 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6225 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6226 (makefile-gmake-statements, makefile-makepp-statements):
6227 Use it and add new makepp keywords.
6228 (makefile-makepp-font-lock-keywords): Add new patterns.
6229 (makefile-match-function-end): Match new [...] and [[...]].
6230
11636b22
JB
62312011-12-11 Juanma Barranquero <lekktu@gmail.com>
6232
6233 * ses.el (ses-call-printer-return, ses-cell-property-get)
6234 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6235 (ses-create-cell-variable, ses-reset-header-string)
6236 (ses-cell-set-formula, ses-repair-cell-reference-all)
6237 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6238 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6239 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6240 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6241 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6242 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6243 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6244 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6245 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6246 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6247 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6248 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6249
cf018193
VB
62502011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6251
6252 * ses.el: The overall change is to add cell renaming, that is
6253 setting fancy names for cell symbols other than name matching
6254 "\\`[A-Z]+[0-9]+\\'" regexp .
6255 (ses-create-cell-variable): New defun.
6256 (ses-relocate-formula): Relocate formulas only for cells the
6257 symbols of which are not renamed, i.e. symbols whose names do not
6258 match regexp "\\`[A-Z]+[0-9]+\\'".
6259 (ses-relocate-all): Relocate values only for cells the symbols of
6260 which are not renamed.
6261 (ses-load): Create cells variables as the (ses-cell ...) are read,
6262 in order to check row col consistency with cell symbol name only
6263 for cells that are not renamed.
6264 (ses-replace-name-in-formula): New defun.
6265 (ses-rename-cell): New defun.
6266
ee957461
CY
62672011-12-11 Chong Yidong <cyd@gnu.org>
6268
6269 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6270 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6271
9a9e9ef0
MR
62722011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6273
6274 * window.el (other-window): Fix docstring.
6275
92a8eba5
EZ
62762011-12-10 Eli Zaretskii <eliz@gnu.org>
6277
6278 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6279 `from' or `to' address before taking its substring.
6280 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6281 encoded name is chopped in the middle of the encoded string, and
6282 thus displayed encoded.
6283
e152e577
JB
62842011-12-10 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6287
e5d84bfe
EZ
62882011-12-10 Eli Zaretskii <eliz@gnu.org>
6289
6290 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6291 to use texinfo-update-node and commands that call it if the
6292 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6293 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6294 (texinfo-all-menus-update, texinfo-master-menu)
6295 (texinfo-update-node, texinfo-every-node-update)
6296 (texinfo-multiple-files-update): Doc fix. Warn against updating
6297 all the @node lines.
6298 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6299 argument is numeric. Explain better in the doc string what the
6300 function really does.
6301 (texinfo-insert-master-menu-list): Improve the error message
6302 displayed if there's no menu in the Top node.
6303 (Bug#2975) See also this thread:
e5d84bfe
EZ
6304 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6305
1d84e9bb
MG
63062011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6307
6308 * speedbar.el (speedbar-supported-extension-expressions):
6309 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6310
382c953b
JB
63112011-12-09 Juanma Barranquero <lekktu@gmail.com>
6312
6313 * printing.el (pr-mode-alist):
6314 * simple.el (filter-buffer-substring-functions)
6315 (completion-list-insert-choice-function):
6316 * window.el (window-with-parameter, window-atom-root)
6317 (window-sides-slots, window-size-fixed, window-min-delta)
6318 (window-max-delta, window--resize-mini-window)
6319 (window--resize-child-windows-normal, window-tree)
6320 (delete-other-windows, quit-window, split-window)
6321 (display-buffer-record-window, special-display-buffer-names)
6322 (special-display-regexps, special-display-popup-frame)
6323 (same-window-p, split-window-sensibly)
6324 (display-buffer-overriding-action, display-buffer-alist)
6325 (display-buffer-base-action, display-buffer, switch-to-buffer)
6326 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6327 (fit-window-to-buffer, recenter-positions)
6328 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6329 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6330 and remove unneeded backslashes in docstrings.
6331
39c9faef
SM
63322011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6333
98449af8
SM
6334 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6335
39c9faef
SM
6336 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6337 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6338 end in ".mk".
6339 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6340 when reading the makefile (bug#10116).
6341
86ed9fdc
SM
63422011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6345 (bug#10116).
6346
5580f89d
GM
63472011-12-06 Glenn Morris <rgm@gnu.org>
6348
6349 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6350
28d3917c
CY
63512011-12-06 Chong Yidong <cyd@gnu.org>
6352
6353 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6354
a98edce9
JB
63552011-12-06 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * textmodes/table.el (table-shorten-cell): Fix typo.
6358
e65adfac
CG
63592011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6360
6361 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6362
71cc0b74
EZ
63632011-12-05 Eli Zaretskii <eliz@gnu.org>
6364
6365 * descr-text.el (describe-char): Fix display of strong
6366 right-to-left characters and directional embeddings and overrides.
6367
6368 * simple.el (what-cursor-position): Fix display of codepoints of
6369 strong right-to-left characters.
6370
315bc30d
CY
63712011-12-05 Chong Yidong <cyd@gnu.org>
6372
6373 * faces.el (read-color): Doc fix.
6374
58a70b94
GM
63752011-12-05 Glenn Morris <rgm@gnu.org>
6376
6377 * align.el (align--set-marker): Add doc-string.
6378 Don't try to move something that is not a marker. (Bug#10216)
6379
5158face
GM
63802011-12-04 Glenn Morris <rgm@gnu.org>
6381
6382 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6383 overly zealous deletion of trailing whitespace.
6384
520fca41
JB
63852011-12-04 Juanma Barranquero <lekktu@gmail.com>
6386
6387 * server.el (server-delete-client): On Windows, do not try to delete
6388 the only terminal.
6389 (server-process-filter): On Windows, treat requests for a tty frame as
6390 if they were for a GUI frame if the running server is in GUI mode.
6391
5e605a2e
GM
63922011-12-03 Glenn Morris <rgm@gnu.org>
6393
6394 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6395
5c3fe83f
SM
63962011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6397
6f5e57e7
SM
6398 * electric.el: Streamline electric-indent's hook.
6399 (electric-indent-chars): Revert to simple list.
6400 (electric-indent-functions): New var.
6401 (electric-indent-post-self-insert-function): Use it.
6402
5c3fe83f
SM
6403 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6404 there's no inferior buffer (bug#10196).
6405 (prolog-consult-compile): Don't use toggle-read-only.
6406
6bdac736
MA
64072011-12-02 Michael Albinus <michael.albinus@gmx.de>
6408
6409 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6410 interrupt. (Bug#10187)
6411
6131ba7f
SM
64122011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6413
99c79fee
SM
6414 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6415 (bug#9160).
6416
6131ba7f
SM
6417 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6418 (bug#10191).
6419
cb0a02ea
JL
64202011-12-02 Juri Linkov <juri@jurta.org>
6421
6422 * info.el (Info-search): Display "end of manual" when Isearch
6423 reaches the end of single-file Info manual. (Bug#9918)
6424
66e0570c
EZ
64252011-12-02 Eli Zaretskii <eliz@gnu.org>
6426
6427 * isearch.el (isearch-message-prefix): Run the input method part
6428 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6429
02b16839
JL
64302011-12-02 Juri Linkov <juri@jurta.org>
6431
6432 * isearch.el (isearch-occur): Use `word-search-regexp' for
6433 `isearch-word'.
6434 (isearch-search-and-update): Add condition for `isearch-word' and
6435 call `word-search-regexp'. (Bug#10145)
6436
0b950688
GM
64372011-12-01 Glenn Morris <rgm@gnu.org>
6438
6439 * eshell/em-hist.el (eshell-hist-initialize):
6440 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6441 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6442
9505c3c7
SM
64432011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6446
1bbe96b2 64472011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6448
a1beca85
SM
6449 * progmodes/verilog-mode.el (verilog-pretty-expr):
6450 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6451 verilog, such as += *= and the like.
6452 (verilog-assignment-operator-re): Regular expression to find the
6453 assigment operator in a verilog assignment.
6454 (verilog-assignment-operation-re): Regular expression to find an
6455 assignment statement for pretty-expr.
6456 (verilog-in-attribute-p): Query returns true if point is in an
6457 attribute context; used to skip these for expression line up from
6458 pretty-expr.
6459 (verilog-in-parameter-p): Query returns true if point is in an
6460 parameter definition context; used to skip these for expression
6461 line up from pretty-expr.
6462 (verilog-in-parenthesis-p): Query returns true if point is in a
6463 parenthetical expression, specifically ( ) but not [ ] or { };
6464 used by pretty-expr.
6465 (verilog-just-one-space): If there is no space, don't add one.
6466 (verilog-get-lineup-indent-2): Specifically skip just attribute
6467 contexts for expression lineup, rather than skipping all
6468 parenthetical expressions.
6469 (verilog-calculate-indent): Fix comment, and fix indent.
6470 (verilog-do-indent): Indent declarations in lists (suggested by
6471 Joachim Lechner).
6472 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6473 skeleton items.
6474 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6475 by Alain Mellan).
6476
1bbe96b2 64772011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6478
6479 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6480 parameters with embedded comments. Reported by Ray Stevens.
6481 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6482 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6483 Reported by Tim Holt.
6484 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6485 instantiated by upper module causing wrong expansion until AUTOed a
6486 second time. Reported by K C Buckenmaier.
6487 (verilog-diff-auto): Fix showing .* as a difference when
6488 `verilog-auto-star-save' off. Reported by Dan Dever.
6489 (verilog-auto-reset, verilog-read-always-signals)
6490 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6491 temporary signals in reset list if
6492 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6493 style to each signal's assignment type, bug381.
6494 Reported by Thomas Esposito.
6288f0ca
WS
6495 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6496 (verilog-uvm-statement-re): Support UVM indentation and
6497 highlighting, with old OVM keywords only.
a1beca85 6498 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6499 Support AUTOTIEOFF creating non-wire data types.
6500 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6501 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6502 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6503 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6504 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6505 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6506 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6507 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6508 non-numeric vector width. Reported by Alex Reed.
6509 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6510 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6511 (verilog-auto-delete-trailing-whitespace):
6512 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6513 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6514 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6515 Fix verilog-scan-cache corruption when running user AUTO expansion
6516 hooks that call indentation routines.
6517 (verilog-simplify-range-expression): Fix typo ignoring lower case
6518 identifiers.
6519 (verilog-delete-auto): Fix delete-autos to also remove user created
6520 automatics, as long as they start with AUTO.
6521 (verilog-batch-diff-auto, verilog-diff-auto)
6522 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6523 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6524 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6525 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6526 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6527 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6528 is disabled and its cache will get corrupt, causing AUTOS not to
6529 expand. Instead use only -quick functions.
6530 (verilog-scan-region): Fix scanning over escaped quotes.
6531 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6532 (verilog-re-search-backward-quick)
6533 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6534 related functions now ignore strings, to fix misparsing of strings
6535 with magic comments embedded in them.
a1beca85
SM
6536 (verilog-read-auto-template):
6537 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6538 Reported by Brad Dobbie.
6539 (verilog-read-auto-template):
6540 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6541 Reported by Brad Dobbie.
6288f0ca
WS
6542 (verilog-auto-inst, verilog-auto-inst-param)
6543 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6544 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6545 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6546 debugging templates without merge conflicts, bug357.
6547 Reported by Brad Dobbie.
6548 (verilog-read-auto-template):
6549 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6550 Reported by Brad Dobbie.
6551 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6552 abbrevs so user won't be asked to save.
6553 (verilog-read-auto-lisp-present): Fix to start at beginning of
6554 buffer in case called outside of verilog-auto.
6555 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6556 to "X-2". Reported by Matthew Myers.
6557 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6558 all inputs from module templates. Reported by Leith Johnson.
6559 (verilog-module-inside-filename-p): Fix locating programs as with
6560 modules.
6561 (verilog-auto-inst-port): Fix vl-width expressions when using
6562 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6563 (verilog-decls-get-regs, verilog-decls-get-signals,
6564 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6565 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6566 verilog-read-decls): Combine reg and wire structures into one var
6567 structure to represent SystemVerilog concepts.
6568 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6569 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6570 (verilog-auto-wire-type, verilog-insert-definition):
6571 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6572 SystemVerilog "logic" keyword instead of "wire"/"reg".
6573 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6574 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6575 ifdef or generate if so there's not a driver conflict).
6576 Reported by Matthew Myers.
6577 (verilog-auto-declare-nettype, verilog-insert-definition):
6578 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6579 `default_nettype none. Reported by Julian Gorfajn.
6580 (verilog-read-always-signals-recurse, verilog-read-decls)
6581 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6582 malformed end statement, bug325. Reported by Joshua Wise and
6583 Andrew Drake.
6584 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6585 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6586 when expanding .* in interfaces, bug320.
6587 Reported by Pierre-David Pfister.
6288f0ca 6588 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6589 name and open parenthesis, bug317.
6590 Reported by Pierre-David Pfister.
6288f0ca
WS
6591 (verilog-simplify-range-expression): Fix simplification of
6592 multiplications inside AUTOWIRE connections, bug303.
6593 (verilog-auto-inst-port): Support parameter expansion in
6594 multidimensional arrays.
6595 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6596 after "assert property". Reported by Julian Gorfajn.
6597 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6598 with multiplication, bug303.
6599 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6600 Reported by Jan Frode Lonnum.
6601
1bbe96b2
GM
66022011-11-30 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6605 (hfy-shell-file-name, hfy-shell):
6606 * international/fontset.el (x-decompose-font-name): Fix typos.
6607
66082011-11-29 Ken Brown <kbrown@cornell.edu>
6609
6610 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6611 (gdb-version): Remove defvar.
6612 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6613 (gdb-gud-context-command, gdb-non-stop-handler)
6614 (gdb-current-context-command, gdb-stopped): Use it.
6615 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6616 (gdb-non-stop-handler): Don't enable pretty-printing here.
6617 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6618 non-stop mode. Use the following.
6619 (gdb-check-target-async): New defun.
6620 (gud-watch, gdb-stopped): Fix whitespace.
6621 (gdb-get-source-file): Don't try to display the source file if
6622 `gdb-main-file' is nil.
6623
66242011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * align.el: Try to generate fewer markers (bug#10047).
6627 (align--set-marker): New macro.
6628 (align-region): Use it.
6629
c935221f
SM
66302011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6633
e70b5064
CY
66342011-11-29 Chong Yidong <cyd@gnu.org>
6635
6636 * indent.el (indent-for-tab-command, indent-according-to-mode):
6637 Doc fix.
6638 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6639
f3af92b7
MA
66402011-11-29 Michael Albinus <michael.albinus@gmx.de>
6641
6642 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6643 aware of remote file names. (Bug#10124)
6644
ed472be9
CY
66452011-11-29 Chong Yidong <cyd@gnu.org>
6646
6647 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6648
24510c22
SM
66492011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6650
6651 * files.el (find-file): Don't use force-same-window (bug#10144).
6652 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6653 use pop-to-buffer if the selected window can't be used.
6654 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6655
c60c3703
EZ
66562011-11-28 Eli Zaretskii <eliz@gnu.org>
6657
6658 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6659 special-mode-map.
6660
e95def75
CY
66612011-11-28 Chong Yidong <cyd@gnu.org>
6662
6663 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6664
c3f1c606
NR
66652011-11-27 Nick Roberts <nickrob@snap.net.nz>
6666
6667 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6668 gdb-get-source-file-list on gdb-create-source-file-list.
6669
00db469c
EZ
66702011-11-26 Eli Zaretskii <eliz@gnu.org>
6671
6672 * whitespace.el (whitespace-newline): Use a different foreground
6673 color for 16-color light-background displays.
6674
4ad3bc2a
CY
66752011-11-24 Chong Yidong <cyd@gnu.org>
6676
6677 * window.el (display-buffer--special-action): Doc fix.
6678
e9fce1ac
JB
66792011-11-25 Juanma Barranquero <lekktu@gmail.com>
6680
6681 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6682 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6683 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6684 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6685 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6686 (avl-tree-stack-first):
6687 * emacs-lisp/cconv.el (cconv--analyse-use):
6688 * net/gnutls.el (gnutls-negotiate): Fix typos.
6689
cb825e5d
GM
66902011-11-24 Glenn Morris <rgm@gnu.org>
6691
3adbe224
GM
6692 * lpr.el (lpr-windows-system, lpr-lp-system):
6693 * mail/binhex.el (binhex-begin-line):
6694 * progmodes/grep.el (grep-history, grep-find-history):
6695 * textmodes/flyspell.el:
6696 * vc/pcvs-defs.el (cvs-global-menu):
6697 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6698 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6699 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6700
321decc8
GM
6701 * net/tls.el: Fix case of "GnuTLS".
6702
420b63ad
GM
6703 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6704
cb825e5d
GM
6705 * version.el (emacs-build-system): Give it a doc-string.
6706
a0649f08
JL
67072011-11-24 Juri Linkov <juri@jurta.org>
6708
6709 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6710
c0bc0fd4
GM
67112011-11-24 Glenn Morris <rgm@gnu.org>
6712
6713 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6714 if called on a non-mime message just toggle the headers. (Bug#8006)
6715
20db1522
JB
67162011-11-24 Juanma Barranquero <lekktu@gmail.com>
6717
6718 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6719 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6720 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6721 (allout-rebullet-heading, allout-open-sibtopic)
6722 (allout-toggle-current-subtree-encryption)
6723 (allout-toggle-subtree-encryption, allout-encrypt-string)
6724 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6725 (allout-distinctive-bullets-string, allout-auto-activation):
6726 * window.el (window-normalize-buffer-to-display):
6727 * progmodes/verilog-mode.el (verilog-batch-indent):
6728 * textmodes/bibtex.el (bibtex-field-braces-opt)
6729 (bibtex-field-strings-opt):
6730 * vc/cvs-status.el (cvs-tree-merge):
6731 Fix typos.
6732
7262a87c
MA
67332011-11-23 Michael Albinus <michael.albinus@gmx.de>
6734
6735 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6736 `non-essential' to t, in order to avoid remote connections.
6737
283430a1
EZ
67382011-11-23 Eli Zaretskii <eliz@gnu.org>
6739
a1beca85
SM
6740 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6741 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6742 case-insensitively.
6743
d2992a38
ML
67442011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6745
6746 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6747
50419064
GM
67482011-11-23 Glenn Morris <rgm@gnu.org>
6749
da94eca1
GM
6750 * paths.el (rmail-file-name): Reformat the doc-string so that it
6751 is picked up.
6752
9aac4de2
GM
6753 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6754 (rmail-auto-file): Ignore case in the "special" field names,
6755 as mail-fetch-field does for all others.
6756
8038d2d2
GM
6757 * mail/rmail.el (rmail-forward):
6758 * mail/rmailkwd.el (rmail-set-label):
6759 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6760 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6761
f3fe222a
GM
6762 * mail/rmail.el (rmail-current-message): Doc fix.
6763
50419064
GM
6764 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6765
28109f49
SM
67662011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6769
394c65f1
GM
67702011-11-22 Glenn Morris <rgm@gnu.org>
6771
6772 * mail/rmailmm.el (test-rmail-mime-handler)
6773 (test-rmail-mime-bulk-handler)
6774 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6775
f2a0aa3a
JL
67762011-11-21 Juri Linkov <juri@jurta.org>
6777
1154d12e
JB
6778 * calc/calc.el (calc-read-key-sequence):
6779 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6780
9c34a344
LMI
67812011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6782
6783 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6784 Tell the caller that the next line needs recomputation, even
6785 though it doesn't start a sexp (bug#10094).
6786
f04a3be9
SM
67872011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6790
7978747f
SM
67912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6792
f04a3be9
SM
6793 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6794 Use force-same-window.
7978747f 6795
fe7a3057
JB
67962011-11-20 Juanma Barranquero <lekktu@gmail.com>
6797
6798 * descr-text.el (describe-char-unicode-data):
6799 * json.el (json-string-escape):
6800 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6801 (Footnote-unicode, Footnote-style-p):
6802 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6803
24901d61
CY
68042011-11-20 Chong Yidong <cyd@gnu.org>
6805
6806 * window.el (replace-buffer-in-windows): Restore interactive spec.
6807
bac7ff22
SM
68082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6809
24f3d7b9
SM
6810 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6811
bac7ff22
SM
6812 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6813 (byte-compile-global-not-obsolete-vars): New var.
6814 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6815 Use it.
6816 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6817
cd1181db
JB
68182011-11-20 Juanma Barranquero <lekktu@gmail.com>
6819
6820 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6821 * progmodes/pascal.el (electric-pascal-equal):
6822 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6823 * xml.el (xml-substitute-special): Fix typos.
6824
7fb18e9e
GM
68252011-11-20 Glenn Morris <rgm@gnu.org>
6826
6827 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6828 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6829 Doc fixes.
6830 (rmail-decode-mime-charset): Mark as obsolete.
6831
6832 * mail/rmailsum.el (rmail-message-regexp-p-1):
6833 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6834 Before using mime functions, check they are set. (Bug#10077)
6835
d5a6b3ba
JL
68362011-11-19 Juri Linkov <juri@jurta.org>
6837
6838 * info.el (Info-finder-find-node): Use `package--builtins' instead
6839 of `package-alist'. Use node names formed by the pattern "Keyword "
6840 and the keyword name.
6841
e981b61f
AS
68422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6843
1d00653d 6844 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6845
3ffbc301
JL
68462011-11-19 Juri Linkov <juri@jurta.org>
6847
6848 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6849 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6850 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6851 `old-history', `old-history-forward'. Add let-binding
6852 `window-selected'. Remove calls to `kill-buffer',
6853 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6854 before calling `Info-find-node', so `Info-find-node-2' will reread
6855 the Info file. Restore window positions only when `window-selected'
6856 is non-nil.
6857
30c62133
JL
68582011-11-19 Juri Linkov <juri@jurta.org>
6859
6860 * isearch.el (isearch-lazy-highlight-new-loop):
6861 Remove condition `(not isearch-error)'. (Bug#9918)
6862
6863 * misearch.el (multi-isearch-search-fun): Add condition
6864 `(not bound)' to ignore lazy-highlighting search.
6865 Add the search-failed message "end of multi" when the end of
6866 multi-sequence is reached. Uncapitalize the search-failed
6867 message "Repeat for next buffer".
6868
6869 * info.el (Info-search): Add the search-failed message
6870 "end of the manual" when the end of the manual is reached
6871 in Isearch mode.
6872
645ca9cf
JL
68732011-11-19 Juri Linkov <juri@jurta.org>
6874
6875 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6876 Use non-destructive `remove' instead of `delete' because
6877 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6878 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6879
df754f66
JL
68802011-11-19 Juri Linkov <juri@jurta.org>
6881
6882 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6883 to nil instead of binding `search-ring' and `regexp-search-ring'.
6884 (Bug#9185)
6885
0e23d96a
EZ
68862011-11-19 Eli Zaretskii <eliz@gnu.org>
6887
6888 * simple.el (line-move): Force movement by logical lines for any
6889 hscrolled window, not only when auto-hscroll-mode is on.
6890 (line-move-visual): Update doc string to that effect. (Bug#10076)
6891
8a6ccb66
AS
68922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6893
6894 * language/european.el (macintosh): Define as alias for mac-roman.
6895
49ae5b39
EZ
68962011-11-19 Eli Zaretskii <eliz@gnu.org>
6897
6898 * mail/rmailmm.el (rmail-mime-display-header)
6899 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6900 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6901 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6902 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6903 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6904 of a raw aref.
6905 (rmail-mime-entity-segment): To get past the tagline, move forward
6906 2 more lines, to account for the 2 empty lines that precede and
6907 follow the line with the buttons.
6908 (rmail-mime-update-tagline): Move one more line, to get past the
6909 empty line that follows the buttons in the tagline. (Bug#9520)
6910
c56cad4a
MR
69112011-11-19 Martin Rudalics <rudalics@gmx.at>
6912
6913 * window.el (window-max-delta-1, window-min-delta-1)
6914 (window-min-size-1, window-state-get-1, window-state-put-1)
6915 (window-state-put-2): Use "window--" prefix.
6916
cbe71af3
SM
69172011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6918
2ad52c60
SM
6919 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6920 (smie-warning-count): New var.
6921 (smie-set-prec2tab): Use it.
6922 (smie-bnf->prec2): Improve warnings. Add docstring.
6923 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6924 (smie-bnf--set-class): New function.
6925 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6926 corner case.
6927
6944dbc1
SM
6928 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6929 (compilation-error-properties, compilation-move-to-column):
6930 Handle compilation-first-column while in the target buffer.
6931
c400c4d7
SM
6932 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6933 Don't hardcode point-min==1.
6934
6dbe3e96
SM
6935 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6936 (eshell-rewrite-for-command): Remove workaround.
6937 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6938 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6939 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6940
cbe71af3
SM
6941 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6942
a8e1496d
GM
69432011-11-17 Glenn Morris <rgm@gnu.org>
6944
6945 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6946 Ignore buffer-local generated-autoload-file if it is the same
6947 as the global value. (Bug#10049)
6948
df85d315
JB
69492011-11-17 Juanma Barranquero <lekktu@gmail.com>
6950
6951 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6952 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6953 (reftex-toc-previous-heading, reftex-toc-max-level)
6954 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6955 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6956 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6957 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6958 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6959 (reftex-toc-rename-label, reftex-toc-visit-location)
6960 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6961 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6962 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6963 leaving "*toc*" only for references to the buffer.
6964
a0c2d0ae
MR
69652011-11-17 Martin Rudalics <rudalics@gmx.at>
6966
6967 * window.el (window-resize, delete-window, split-window):
6968 Replace window-splits by window-combination-resize.
1d00653d 6969 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6970
35c0bac8
GM
69712011-11-17 Glenn Morris <rgm@gnu.org>
6972
6973 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6974 Make bash entry derive from sh entry, not shell entry.
6975
d0c8fc8a
MA
69762011-11-16 Michael Albinus <michael.albinus@gmx.de>
6977
7262a87c
MA
6978 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6979 local file name.
6980
7877f373
JB
69812011-11-16 Juanma Barranquero <lekktu@gmail.com>
6982
6983 * menu-bar.el (menu-bar-file-menu):
6984 * printing.el (pr-ps-utility):
6985 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6986 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6987 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6988 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6989 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6990 (icalendar--convert-cyclic-to-ical)
6991 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6992 (icalendar--convert-ical-to-diary)
6993 (icalendar--convert-recurring-to-diary)
6994 (icalendar--convert-non-recurring-all-day-to-diary)
6995 (icalendar-import-format-sample):
6996 * progmodes/idlw-shell.el (idlwave-shell-mode):
6997 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6998 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6999 (vhdl-ps-print-init): Fix typos.
7000
10649b82
KM
70012011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7002
9d0cfcd6
GM
7003 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7004 FSF and collapse date sequence, obscure author/maintainer email address
7005 better, remove extra version line, track relocation of author's webpage.
10649b82 7006
9d0cfcd6
GM
7007 * progmodes/python.el (python-pdbtrack-input-prompt)
7008 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7009 regular python pdb prompts. Adjustments shamelessly taken exactly as
7010 suggested in EmacsWiki page (tiny change):
7011 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7012
58179cce
JB
70132011-11-16 Juanma Barranquero <lekktu@gmail.com>
7014
7015 * expand.el (expand-pos, expand-index, expand-point):
7016 Remove redundant info from docstring.
7017 (expand-add-abbrevs): Doc fix.
7018 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7019 (expand-sample-perl-mode-expand-list): Fix typos.
7020
7021 * net/dbus.el (dbus-event-member-name):
7022 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7023 * term/pc-win.el (msdos-create-frame-with-faces):
7024 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7025
b6f67890
MR
70262011-11-16 Martin Rudalics <rudalics@gmx.at>
7027
7028 * window.el (split-window, window-state-get-1)
7029 (window-state-put-1, window-state-put-2): Rename occurrences of
7030 window-nest to window-combination-limit.
1d00653d 7031 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7032
ce7ddba0
CY
70332011-11-16 Chong Yidong <cyd@gnu.org>
7034
7035 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7036 regexp (Bug#10033).
7037
3ae704f4
SM
70382011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7039
7040 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7041 `completing-read' will remove *Completions* and will preserve
7042 current-buffer for us.
7043 (tmm-add-prompt): Users of *Completions* will always (re)set its
7044 major mode.
7045 (tmm-old-comp-map): Remove.
7046
6ad1cdde
GM
70472011-11-16 Glenn Morris <rgm@gnu.org>
7048
7049 * mail/rmailedit.el: Require rmailmm when compiling.
7050 (rmail-old-mime-state): New declaration.
7051 (rmail-edit-current-message): If editing a mime message,
7052 edit the "raw" message from the mbox buffer.
7053 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7054
d20faa20
GM
70552011-11-15 Glenn Morris <rgm@gnu.org>
7056
7057 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7058 which wasn't being used. Add optional arg to force given state.
7059 (rmail-mime): Add optional arg to force given state.
7060
c7015153
JB
70612011-11-15 Juanma Barranquero <lekktu@gmail.com>
7062
7063 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7064 * frame.el (display-mm-dimensions-alist):
7065 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7066 (outline-move-subtree-down):
7067 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7068 (newsticker--treeview-do-get-node):
7069 * net/quickurl.el (quickurl-list-buffer-name):
7070 * progmodes/dcl-mode.el (dcl-mode):
7071 * progmodes/gdb-mi.el (gdb-mapcar*):
7072 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7073
45261b50
GM
70742011-11-15 Glenn Morris <rgm@gnu.org>
7075
7076 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7077 in a boolean sense, so just make it a boolean, and fix the doc.
7078 (rmail-show-mime-function, rmail-mime-feature)
7079 (rmail-require-mime-maybe): Doc fixes.
7080 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7081
7082 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7083
0d26e0b6
JB
70842011-11-15 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7087 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7088 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7089 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7090
447f30f6
GM
70912011-11-15 Glenn Morris <rgm@gnu.org>
7092
672b871d
GM
7093 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7094 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7095 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7096 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7097 (rmail-mime, rmail-show-mime): Doc fixes.
7098
f6aa5bb1
GM
7099 * term/ns-win.el (mode-line-frame-identification):
7100 Leave it alone. (Bug#10051)
7101
947cd66b
GM
7102 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7103
447f30f6
GM
7104 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7105 Handle empty buffers. (Bug#9978)
7106
0b381c7e
JB
71072011-11-14 Juanma Barranquero <lekktu@gmail.com>
7108
7109 * international/mule.el (define-charset):
7110 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7111 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7112 * progmodes/verilog-mode.el (verilog-backward-token):
7113 * textmodes/ispell.el (lookup-words):
7114 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7115
71e027ac
GM
71162011-11-14 Glenn Morris <rgm@gnu.org>
7117
56632ce4
GM
7118 * progmodes/executable.el
7119 (executable-make-buffer-file-executable-if-script-p):
7120 Handle file-modes returning nil.
7121
40500957
GM
7122 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7123 message - not necessary, and causes problems. (Bug#9831)
7124
071c2340
GM
7125 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7126
d3cfca60
GM
7127 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7128
71e027ac
GM
7129 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7130 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7131 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7132
89d61221
MR
71332011-11-12 Martin Rudalics <rudalics@gmx.at>
7134
7135 * window.el (window-resize, delete-window): Use window-splits
7136 variable instead of function.
7137 (window-state-get-1, window-state-put-2, window-state-put):
7138 Don't deal with windows' splits status.
7139
98282f6f
GM
71402011-11-12 Glenn Morris <rgm@gnu.org>
7141
7142 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7143 (apropos-documentation): Doc fixes.
7144
40a8bdf6
JB
71452011-11-11 Juanma Barranquero <lekktu@gmail.com>
7146
7147 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7148 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7149
65bd19ff
SM
71502011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7151
7152 * electric.el (electric-indent-post-self-insert-function): Make it
7153 possible for a char to only indent in some circumstances.
7154 (electric-indent-mode): Simplify.
7155
54f9154c
MR
71562011-11-11 Martin Rudalics <rudalics@gmx.at>
7157
7158 * window.el (windows-with-parameter): Remove unused function.
7159 (windows-at-side): Rename to window-at-side-list.
7160 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7161 (window-side-check, window-size-ignore, window-size-fixed-1)
7162 (window-in-direction-2): Prefix with "window--".
7163 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7164
68cbc58b
GM
71652011-11-11 Glenn Morris <rgm@gnu.org>
7166
7167 * subr.el (eval-after-load): If FILE is already loaded,
7168 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7169
b2621720
GM
71702011-11-10 Glenn Morris <rgm@gnu.org>
7171
9a4de110
GM
7172 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7173 Call svn via vc-svn-command rather than vc-do-command.
7174 (vc-svn-command): Add --non-interactive. (Bug#9993)
7175 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7176
b2621720
GM
7177 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7178 Add toggle-read-only. (Bug#7292)
7179 * files.el (toggle-read-only): Mention that it should only
7180 be used interactively. (Bug#10006)
7181
1dce7193
SM
71822011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7183
d9ac1a1e
SM
7184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7185 Adjust regexp for OCaml warnings.
7186
0c325082
SM
7187 * electric.el (electric-pair-post-self-insert-function): Let user
7188 turn it off buffer-locally (bug#9932).
7189
90132c14
SM
7190 * progmodes/python.el (python-beginning-of-statement):
7191 Rewrite (bug#2703).
7192
1dce7193
SM
7193 * progmodes/compile.el: Better handle TABs (bug#9749).
7194 (compilation-internal-error-properties)
7195 (compilation-next-error-function): Obey the target buffer's
7196 compilation-error-screen-columns.
7197
c4e7c63a
JB
71982011-11-09 Juanma Barranquero <lekktu@gmail.com>
7199
7200 * progmodes/meta-mode.el: Remove obsolete comments.
7201 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7202 Fix typos in docstrings.
7203
2cffd681
MR
72042011-11-09 Martin Rudalics <rudalics@gmx.at>
7205
7206 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7207 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7208 (window--resizable): New function. Make all callers of
7209 window-resizable call window--resizable instead.
7210 (window-resizable): Rewrite in terms of window--resizable.
7211
0edcba87
GM
72122011-11-08 Glenn Morris <rgm@gnu.org>
7213
7214 * progmodes/delphi.el (delphi-mode-syntax-table):
7215 Let define-derived-mode define a proper syntax table. (Bug#9994)
7216
4b0d61e3
SM
72172011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * window.el: Stay away from defsubst.
7220 (window-list-no-nils): Remove.
7221 (window-state-get-1, window-state-get): Use backquote instead.
7222
cd394be1 72232011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7224
4b0d61e3 7225 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7226 Fix incorrect use of default argument in `completing-read'.
7227
e1c2c6f2
MR
72282011-11-08 Martin Rudalics <rudalics@gmx.at>
7229
7230 * window.el (display-buffer-function, special-display-function):
7231 Mention display-buffer-record-window but do not mention
7232 help-setup parameter in doc-strings.
b3f4a882 7233 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7234
105216ed
CY
72352011-11-08 Chong Yidong <cyd@gnu.org>
7236
7237 * window.el (window-total-height, window-total-width): Doc fix.
7238 (window-body-size): Move from C.
7239 (window-body-height, window-body-width): Move to C.
7240
0a9f9ab5
SM
72412011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * window.el: Make special-display like display-buffer-alist (bug#9532).
7244 (display-buffer--special-action): New function, morphed
7245 from display-buffer--special.
7246 (display-buffer): Use it to handle special-display-buffers at higher
7247 priority (just after display-buffer-alist).
7248 (display-buffer-fallback-action, display-buffer--other-frame-action)
7249 (pop-to-buffer-same-window): Remove display-buffer--special.
7250
a769dd15
GM
72512011-11-07 Glenn Morris <rgm@gnu.org>
7252
7253 * calendar/cal-menu.el (cal-menu-set-date-title):
7254 Do nothing if not in a calendar. (Bug#9976)
7255
05a61ee3
SM
72562011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7257
7258 * files.el (find-file): Always use selected-window.
7259
be7f5545
MR
72602011-11-07 Martin Rudalics <rudalics@gmx.at>
7261
7262 * window.el (window-combinations): Make WINDOW argument
7263 mandatory. Rewrite doc-string.
7264 (walk-window-subtree, window-atom-check, window-min-delta)
7265 (window-max-delta, window--resize-this-window)
7266 (window--resize-root-window-vertically, window-tree)
7267 (balance-windows, window-state-put): Rewrite doc-strings as to
7268 not mention the term "subwindow".
7269 (window--resize-subwindows-skip-p): Rename to
7270 window--resize-child-windows-skip-p.
7271 (window--resize-subwindows-normal): Rename to
7272 window--resize-child-windows-normal.
7273 (window--resize-subwindows): Rename to
7274 window--resize-child-windows.
7275 (window-or-subwindow-p): Rename to window--in-subtree-p.
7276
3c6702ef
ML
72772011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7278
7279 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7280 Ensure that mbox format messages end in two newlines (Bug#9974).
7281
49745b39
CY
72822011-11-06 Chong Yidong <cyd@gnu.org>
7283
7284 * window.el (window-combination-p): Function deleted; its
7285 side-effect is not used in any existing code.
7286 (window-combinations, window-combined-p): Call window-*-child
7287 directly.
7288
24300f5f
CY
72892011-11-05 Chong Yidong <cyd@gnu.org>
7290
7291 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7292 (window-size-ignore, window-state-get): Callers changed.
7293 (window-normalize-window): Rename from window-normalize-any-window.
7294 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7295 (window-normalize-live-window): Delete.
447f16b8
CY
7296 (window-combination-p, window-combined-p, window-combinations)
7297 (walk-window-subtree, window-atom-root, window-min-size)
7298 (window-sizable, window-sizable-p, window-size-fixed-p)
7299 (window-min-delta, window-max-delta, window-resizable)
7300 (window-resizable-p, window-full-height-p, window-full-width-p)
7301 (window-current-scroll-bars, window-point-1, set-window-point-1)
7302 (window-at-side-p, window-in-direction, window-resize)
7303 (adjust-window-trailing-edge, maximize-window, minimize-window)
7304 (window-deletable-p, delete-window, delete-other-windows)
7305 (record-window-buffer, unrecord-window-buffer)
7306 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7307 (quit-window, split-window, window-state-put)
7308 (set-window-text-height, fit-window-to-buffer)
7309 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7310
89bd5ee1
EZ
73112011-11-04 Eli Zaretskii <eliz@gnu.org>
7312
53479029
EZ
7313 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7314 rfc2047-decode-string.
7315 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7316 warnings.
7317
89bd5ee1
EZ
7318 * window.el (window-body-height, window-body-width): Mention in
7319 the doc string that the return values are in frame's canonical
7320 units. (Bug#9949)
7321
bd17fdee
AM
73222011-11-03 Alan Mackenzie <acm@muc.de>
7323
7324 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7325 change in cc-engine.el.
7326
acc825c5
SM
73272011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7330
1885e5b8
MR
73312011-11-02 Martin Rudalics <rudalics@gmx.at>
7332
7333 * window.el (quit-window): Call unrecord-window-buffer after
7334 showing another buffer in the window. (Bug#9937)
acc825c5 7335 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7336
ebe06da9
JB
73372011-11-02 Juanma Barranquero <lekktu@gmail.com>
7338
7339 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7340 Accept status with more than 9 shelves. (Bug#9935)
7341 Reported by Colin D Bennett <colin@gibibit.com>.
7342
4ee88440
MR
73432011-11-01 Martin Rudalics <rudalics@gmx.at>
7344
7345 * help.el (with-help-window): Don't reference
7346 temp-buffer-show-specifiers in doc-string.
7347
08e1d82c
AS
73482011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7349
7350 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7351 menu-item.
7352
84bd6e9e
VJL
73532011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7354
7355 * whitespace.el: New version 13.2.2.
7356 (whitespace-newline-mode): Disable properly. Reported by Sarah
7357 <EmacsWiki>.
7358
dba0634a
UJ
73592011-10-30 Ulf Jasper <ulf.jasper@web.de>
7360
7361 * net/newst-treeview.el: Remove "Time-stamp".
7362 (newsticker--group-manage-orphan-feeds): Do not call
7363 newsticker--treeview-tree-update.
db22a3c2
JB
7364 (newsticker-treeview-update, newsticker-treeview):
7365 Call newsticker--treeview-tree-update if necessary.
dba0634a 7366
3d8daefe
MR
73672011-10-30 Martin Rudalics <rudalics@gmx.at>
7368
7369 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7370 (window-iso-combinations): Remove "iso-" infix.
7371 Suggested by Chong Yidong.
3d8daefe
MR
7372 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7373 (window-max-delta-1, window-resize, window--resize-siblings)
7374 (window--resize-this-window, adjust-window-trailing-edge)
7375 (split-window, balance-windows-1)
7376 (shrink-window-if-larger-than-buffer):
7377 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7378 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7379
1bc4c3ae
SM
73802011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7381
7382 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7383 in place (bug#9907).
7384 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7385 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7386 (eshell-structure-basic-command, eshell-rewrite-while-command)
7387 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7388 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7389 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7390 (eshell-do-pipelines-synchronously, eshell-eval-command):
7391 Use backquotes and prefer setq to set.
7392 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7393 (eshell-macrop): Use functionp.
c1e2f5fa 7394 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7395
30b65d9c
CY
73962011-10-30 Chong Yidong <cyd@gnu.org>
7397
7398 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7399 instead of set-mark (Bug#9810).
7400
2d197ffb
CY
74012011-10-30 Chong Yidong <cyd@gnu.org>
7402
7403 * window.el (split-window-below, split-window-right): Rename from
7404 split-window-above-each-other and split-window-side-by-side
7405 respectively. All callers changed.
7406 (split-window-sensibly, split-window-sensibly): Use them.
7407 (split-window-keep-point): Doc fix.
7408
7409 * isearch.el: Add isearch-scroll property to split-window-below
7410 and split-window-right.
7411
7412 * follow.el (follow-mode):
7413 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7414 * progmodes/ada-xref.el (ada-gdb-application):
7415 * emulation/vip.el (vip-buffer-in-two-windows):
7416 * image-dired.el (image-dired-dired-with-window-configuration):
7417 * dired-x.el (dired-do-find-marked-files):
7418 * dired.el (dired-pop-to-buffer):
7419 * bs.el (bs--show-with-configuration):
7420 * vc/emerge.el (emerge-setup-windows):
7421 * textmodes/two-column.el (2C-two-columns):
7422 * textmodes/reftex-toc.el (reftex-toc):
7423 * progmodes/gdb-mi.el (gdb-setup-windows):
7424 * progmodes/fortran.el (fortran-window-create):
7425 * net/newst-treeview.el (newsticker--treeview-window-init):
7426 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7427 * emulation/tpu-edt.el (tpu-gold-map):
7428 * emulation/crisp.el (crisp-mode-map):
7429 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7430
38bb2ca8
CY
74312011-10-29 Chong Yidong <cyd@gnu.org>
7432
aa4de341
CY
7433 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7434
e1eb5385
CY
7435 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7436
5d2ece3c
CY
7437 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7438 forged Ispell output (Bug#7904).
7439
38bb2ca8
CY
7440 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7441
d0af9f77
SM
74422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * doc-view.el: Avoid ugly errors about not finding nil.
7445 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7446 (doc-view-dvipdf-program, doc-view-unoconv-program)
7447 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7448 Avoid nil or absolute file name as default value.
7449 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7450
52bedd34
AM
74512011-10-28 Alan Mackenzie <acm@muc.de>
7452
db22a3c2 7453 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7454
7e43cfa5
AM
74552011-10-28 Alan Mackenzie <acm@muc.de>
7456
7457 Amend the handling of c-beginning/end-of-defun in nested declaration
7458 scopes.
7459
52bedd34
AM
7460 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7461 cc-langs.el. Change it to a defcustom.
7e43cfa5 7462
52bedd34
AM
7463 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7464 cc-vars.el.
7e43cfa5 7465
d0af9f77
SM
7466 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7467 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7468
52bedd34 7469 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7470 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7471 (c-widen-to-enclosing-decl-scope): New function.
7472 (c-while-widening-to-decl-block): New macro.
7473 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7474 outward for defun boundaries, and correspondingly change symbol
7475 `respect-enclosure' to `go-outward'.
7476 (c-declaration-limits): Change algorithm to report only the "innermost"
7477 defun's boundaries.
7478
1a2ce9ee
DD
74792011-10-28 Deniz Dogan <deniz@dogan.se>
7480
7481 * net/rcirc.el (rcirc-mode): Use hard newlines.
7482
bc97a826
AM
74832011-10-28 Alan Mackenzie <acm@muc.de>
7484
7485 Amend to indent and fontify macros "which include their own semicolon"
7486 correctly, using the "virtual semicolon" mechanism.
7487
52bedd34 7488 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7489
d0af9f77 7490 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7491 Recode to scan one line at a time rather than having \n and \r
58179cce 7492 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7493 (c-forward-label): Amend for virtual semicolons.
58179cce 7494 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7495
52bedd34
AM
7496 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7497 of the new C macros.
bc97a826 7498
52bedd34 7499 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7500 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7501 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7502 (c-opt-cpp-macro-define): Make into a full language variable.
7503 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7504 AWK Mode (including \n, \r) removed, no longer needed.
7505
d0af9f77
SM
7506 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7507 Invoke c-make-macro-with-semi-re.
bc97a826 7508
52bedd34
AM
7509 * progmodes/cc-vars.el (c-macro-with-semi-re):
7510 (c-macro-names-with-semicolon): New variables.
58179cce 7511 (c-make-macro-with-semi-re): New function.
bc97a826 7512
7a6c0941
SM
75132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * vc/log-edit.el: Fill empty field rather than adding new one.
7516 (log-edit-add-field): New function.
7517 (log-edit-insert-changelog): Use it.
7518
b0c4cdcf
ML
75192011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7520
7521 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7522
ee1f1da9
SM
75232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7526 (gdb--check-interpreter): New function.
7527 (gdb): Use it.
7528
51bc5f8b
GM
75292011-10-27 Glenn Morris <rgm@gnu.org>
7530
416a2c45
GM
7531 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7532 (least-positive-float, least-negative-float)
7533 (least-positive-normalized-float, least-negative-normalized-float)
7534 (float-epsilon, float-negative-epsilon):
7535 Remove unnecessary declarations.
7536
7537 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7538 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7539 (least-positive-float, least-negative-float)
7540 (least-positive-normalized-float, least-negative-normalized-float)
7541 (float-epsilon, float-negative-epsilon): Add doc-strings,
7542 based on those in cl.texi.
7543
51bc5f8b
GM
7544 * files.el (set-visited-file-name): If the major-mode changed,
7545 reload the local variables. (Bug#9796)
7546
15de15c6
CY
75472011-10-27 Chong Yidong <cyd@gnu.org>
7548
7549 * subr.el (change-major-mode-after-body-hook): New hook.
7550 (run-mode-hooks): Run it.
7551
ee1f1da9
SM
7552 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7553 Use change-major-mode-before-body-hook.
15de15c6
CY
7554
7555 * simple.el (fundamental-mode):
7556 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7557 change introducing fundamental-mode-hook.
7558
5430d399
JB
75592011-10-26 Juanma Barranquero <lekktu@gmail.com>
7560
acc825c5 7561 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7562
ad74a69e
MA
75632011-10-26 Michael Albinus <michael.albinus@gmx.de>
7564
7565 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7566 tramp.el explicitly. (Bug#7583)
ad74a69e 7567
71d4c2a5
SM
75682011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * progmodes/octave-mod.el:
7571 * progmodes/octave-inf.el: Update maintainer.
7572
b1f6fa26
CY
75732011-10-26 Chong Yidong <cyd@gnu.org>
7574
7575 * subr.el (with-wrapper-hook): Rewrite doc.
7576
3f04efd6
MA
75772011-10-25 Michael Albinus <michael.albinus@gmx.de>
7578
7579 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7580 filenames "/method:foo:". (Bug#9793)
3f04efd6 7581
410488d3
SM
75822011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7585 (bug#9865).
7586
c1ebb47e
GM
75872011-10-24 Glenn Morris <rgm@gnu.org>
7588
7589 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7590
7f5c46c7
MA
75912011-10-24 Michael Albinus <michael.albinus@gmx.de>
7592
7593 * notifications.el: Add the requirement of a running D-Bus session
7594 bus to the Commentary.
7595
db2440b6
JL
75962011-10-24 Juri Linkov <juri@jurta.org>
7597
7598 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7599 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7600 (Bug#9364)
7601
feecf435
JL
76022011-10-24 Juri Linkov <juri@jurta.org>
7603
7604 * info.el (Info-following-node-name-re): Add newline to the list
7605 of allowed characters for leading space. (Bug#9824)
7606
a3839de2
SM
76072011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7608
acc825c5
SM
7609 * progmodes/octave-inf.el (inferior-octave-mode-map):
7610 Fix C-c C-h binding.
a3839de2
SM
7611 * progmodes/octave-mod.el (octave-help): Remove.
7612
09388e76
MA
76132011-10-23 Michael Albinus <michael.albinus@gmx.de>
7614
7615 Sync with Tramp 2.2.3.
7616
7617 * net/tramp-cache.el (top): Pacify byte-compiler using
7618 `init-file-user' and `site-run-file'.
7619
7620 * net/trampver.el: Update release number.
7621
86c60681
CY
76222011-10-23 Chong Yidong <cyd@gnu.org>
7623
7624 * files.el (toggle-read-only): Remove obsolete comment about
7625 version control.
7626
7627 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7628 for toggle-read-only. Note that this hasn't called vc-next-action
7629 since 2008-05-02, though it wasn't documented at the time.
7630
a3839de2
SM
7631 * vc/ediff-init.el (ediff-toggle-read-only-function):
7632 Use toggle-read-only.
86c60681 7633
cd5495ff
AM
76342011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7635
7636 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7637 of c-parse-state.
7638
00b77525 7639 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7640 correct faulty logical expression.
cd5495ff
AM
7641 (c-parse-state-state, c-record-parse-state-state):
7642 (c-replay-parse-state-state): New defvar/defuns.
7643 (c-debug-parse-state): Use new functions.
7644
42ee24ed
MR
76452011-10-22 Martin Rudalics <rudalics@gmx.at>
7646
7647 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7648 last fix. Use window-in-direction correctly.
42ee24ed 7649
a7dee7e7
CY
76502011-10-21 Chong Yidong <cyd@gnu.org>
7651
7652 * progmodes/idlwave.el (idlwave-mode):
7653 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7654 require-final-newline; that's done in prog-mode.
7655 Suggested by Stefan Monnier.
a7dee7e7 7656
e07b9a6d
MR
76572011-10-21 Martin Rudalics <rudalics@gmx.at>
7658
7659 * mouse.el (mouse-drag-window-above)
7660 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7661 (mouse-drag-mode-line-1, mouse-drag-header-line)
7662 (mouse-drag-vertical-line-rightward-window): Remove.
7663 (mouse-drag-line): New function.
7664 (mouse-drag-mode-line, mouse-drag-header-line)
7665 (mouse-drag-vertical-line): Call mouse-drag-line.
7666 * window.el (window-at-side-p, windows-at-side): New functions.
7667
7e1361d9
UM
76682011-10-21 Ulrich Mueller <ulm@gentoo.org>
7669
7670 * tar-mode.el (tar-grind-file-mode):
7671 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7672
30fcaf3a
CY
76732011-10-21 Chong Yidong <cyd@gnu.org>
7674
7675 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7676 * progmodes/vera-mode.el (vera-mode):
7677 Use mode-require-final-newline.
30fcaf3a 7678
516eddb0
GM
76792011-10-20 Glenn Morris <rgm@gnu.org>
7680
db22a3c2 7681 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7682
10d5f513
CS
76832011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7684
7685 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7686
ac6c8639
CY
76872011-10-20 Chong Yidong <cyd@gnu.org>
7688
7689 * emulation/cua-base.el (cua-mode):
7690 * mail/footnote.el (footnote-mode):
7691 * mail/mailabbrev.el (mail-abbrevs-mode):
7692 * net/xesam.el (xesam-minor-mode):
7693 * progmodes/bug-reference.el (bug-reference-mode):
7694 * progmodes/cap-words.el (capitalized-words-mode):
7695 * progmodes/compile.el (compilation-minor-mode)
7696 (compilation-shell-minor-mode):
7697 * progmodes/gud.el (gud-tooltip-mode):
7698 * progmodes/hideif.el (hide-ifdef-mode):
7699 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7700 * progmodes/subword.el (subword-mode):
7701 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7702 * progmodes/which-func.el (which-function-mode):
7703 * term/tvi970.el (tvi970-set-keypad-mode):
7704 * term/vt100.el (vt100-wide-mode):
7705 * textmodes/flyspell.el (flyspell-mode):
7706 * textmodes/ispell.el (ispell-minor-mode):
7707 * textmodes/nroff-mode.el (nroff-electric-mode):
7708 * textmodes/paragraphs.el (use-hard-newlines):
7709 * textmodes/refill.el (refill-mode):
7710 * textmodes/reftex.el (reftex-mode):
7711 * textmodes/rst.el (rst-minor-mode):
7712 * textmodes/sgml-mode.el (html-autoview-mode)
7713 (sgml-electric-tag-pair-mode):
7714 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7715 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7716 * emulation/crisp.el (crisp-mode):
7717 * emacs-lisp/eldoc.el (eldoc-mode):
7718 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7719 minor mode behavior.
7720
aa42ab43
JL
77212011-10-19 Juri Linkov <juri@jurta.org>
7722
7723 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7724 the list of hard-coded chars with escape-glyph face.
7725
89400f1d
SM
77262011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7727
7728 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7729
305c07f6
MA
77302011-10-19 Michael Albinus <michael.albinus@gmx.de>
7731
7732 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7733 running process.
7734
13754b54
GM
77352011-10-19 Glenn Morris <rgm@gnu.org>
7736
7737 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7738 Ignore ignored files. (Bug#9726)
7739
06e21633
CY
77402011-10-19 Chong Yidong <cyd@gnu.org>
7741
7742 Doc fix for minor modes, stating that an omitted argument enables
7743 the mode unconditionally when called from Lisp.
7744
7745 * abbrev.el (abbrev-mode):
7746 * allout.el (allout-mode):
7747 * autoinsert.el (auto-insert-mode):
7748 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7749 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7750 (global-auto-revert-mode):
7751 * battery.el (display-battery-mode):
7752 * composite.el (global-auto-composition-mode)
7753 (auto-composition-mode):
7754 * delsel.el (delete-selection-mode):
7755 * desktop.el (desktop-save-mode):
7756 * dired-x.el (dired-omit-mode):
7757 * dirtrack.el (dirtrack-mode):
7758 * doc-view.el (doc-view-minor-mode):
7759 * double.el (double-mode):
7760 * electric.el (electric-indent-mode, electric-pair-mode):
7761 * emacs-lock.el (emacs-lock-mode):
7762 * epa-hook.el (auto-encryption-mode):
7763 * follow.el (follow-mode):
7764 * font-core.el (font-lock-mode):
7765 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7766 * help.el (temp-buffer-resize-mode):
7767 * hilit-chg.el (highlight-changes-mode)
7768 (highlight-changes-visible-mode):
7769 * hi-lock.el (hi-lock-mode):
7770 * hl-line.el (hl-line-mode, global-hl-line-mode):
7771 * icomplete.el (icomplete-mode):
7772 * ido.el (ido-everywhere):
7773 * image-file.el (auto-image-file-mode):
7774 * image-mode.el (image-minor-mode):
7775 * iswitchb.el (iswitchb-mode):
7776 * jka-cmpr-hook.el (auto-compression-mode):
7777 * linum.el (linum-mode):
7778 * longlines.el (longlines-mode):
7779 * master.el (master-mode):
7780 * mb-depth.el (minibuffer-depth-indicate-mode):
7781 * menu-bar.el (menu-bar-mode):
7782 * minibuf-eldef.el (minibuffer-electric-default-mode):
7783 * mouse-sel.el (mouse-sel-mode):
7784 * msb.el (msb-mode):
7785 * mwheel.el (mouse-wheel-mode):
7786 * outline.el (outline-minor-mode):
7787 * paren.el (show-paren-mode):
7788 * recentf.el (recentf-mode):
7789 * reveal.el (reveal-mode, global-reveal-mode):
7790 * rfn-eshadow.el (file-name-shadow-mode):
7791 * ruler-mode.el (ruler-mode):
7792 * savehist.el (savehist-mode):
7793 * scroll-all.el (scroll-all-mode):
7794 * scroll-bar.el (scroll-bar-mode):
7795 * server.el (server-mode):
7796 * shell.el (shell-dirtrack-mode):
7797 * simple.el (auto-fill-mode, transient-mark-mode)
7798 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7799 (line-number-mode, column-number-mode, size-indication-mode)
7800 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7801 * strokes.el (strokes-mode):
7802 * time.el (display-time-mode):
7803 * t-mouse.el (gpm-mouse-mode):
7804 * tool-bar.el (tool-bar-mode):
7805 * tooltip.el (tooltip-mode):
7806 * type-break.el (type-break-mode-line-message-mode)
7807 (type-break-query-mode):
7808 * view.el (view-mode):
7809 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7810 (global-whitespace-mode, global-whitespace-newline-mode):
7811 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7812
a3839de2
SM
7813 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7814 Fix autogenerated docstring.
06e21633 7815
5214e501
JL
78162011-10-19 Juri Linkov <juri@jurta.org>
7817
7818 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7819 by checking environment variables "DESKTOP_SESSION" and
7820 "XDG_CURRENT_DESKTOP". (Bug#9779)
7821
195f8db9
JL
78222011-10-19 Juri Linkov <juri@jurta.org>
7823
7824 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7825 (browse-url-chromium-program, browse-url-chromium-arguments):
7826 New defcustoms.
7827 (browse-url-default-browser): Check for `browse-url-chromium' and
7828 call `browse-url-chromium-program'.
7829 (browse-url-chromium): New command. (Bug#9779)
7830
343a34ff
JB
78312011-10-18 Juanma Barranquero <lekktu@gmail.com>
7832
7833 * facemenu.el (list-colors-duplicates): On Windows, detect more
7834 duplicates by assuming that only colors matching "^System" are
7835 special "system colors". (Bug#9722)
7836
6978a151
SM
78372011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7840 to distinguish the author from the committer.
7841
6a80b297
MA
78422011-10-18 Michael Albinus <michael.albinus@gmx.de>
7843
7844 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7845
b31a5677
JK
78462011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7847
7848 * international/mule.el (sgml-html-meta-auto-coding-function):
7849 Add support for detecting encoding in HTML5 specified only as
7850 <meta charset="UTF-8">. Implementation just makes http-equiv and
7851 content-type parts from HTML4 encoding string optional. (Bug#9716)
7852
80c6d77f
GM
78532011-10-18 Glenn Morris <rgm@gnu.org>
7854
7855 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7856
08b0fee8
CY
78572011-10-18 Chong Yidong <cyd@gnu.org>
7858
7859 * faces.el (cursor): Doc fix.
7860
67e729a5
CY
78612011-10-17 Chong Yidong <cyd@gnu.org>
7862
7863 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7864
343a34ff 78652011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7866
7867 * dirtrack.el (dirtrack): Support shell buffers with path
7868 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7869
0bc06380
TZ
78702011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7871
7872 * json.el: Bump version to 1.3 and note change in History.
7873 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7874
8b79f3e0
SM
78752011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7876
5a7c536b
SM
7877 * comint.el (comint-insert-input, comint-send-input)
7878 (comint-get-old-input-default, comint-backward-matching-input)
7879 (comint-next-prompt): Use nil instead of `input' for field property of
7880 past user input (bug#114).
7881
96a8a0df
SM
7882 * minibuffer.el (completion--replace): Inherit surrounding properties
7883 (bug#114).
7884 (minibuffer-complete-and-exit): Use it.
7885
8b79f3e0
SM
7886 * comint.el (comint--table-subvert): Quote the all-completions output
7887 (bug#9160).
7888
b8f7ff0d
MR
78892011-10-17 Martin Rudalics <rudalics@gmx.at>
7890
8b79f3e0 7891 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7892
b8f7ff0d 7893 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7894 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7895 entries and separate them from frame entries.
7896
c235b555
GM
78972011-10-15 Glenn Morris <rgm@gnu.org>
7898
7899 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7900 Doc fixes.
7901
6bbfa6e1
CY
79022011-10-15 Chong Yidong <cyd@stupidchicken.com>
7903
8b79f3e0
SM
7904 * net/network-stream.el (network-stream-open-starttls):
7905 Improve detection of failure due to lack of TLS support.
ec5c990d 7906
6bbfa6e1
CY
7907 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7908 putting the input text in front and in bold.
7909
98488977
SM
79102011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7911
3d1337be
SM
7912 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7913
ee0b45e4
SM
7914 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7915 empty buffer.
7916
98488977
SM
7917 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7918 unread-command-events rather than pushing yet-another event.
7919
186f4720
EZ
79202011-10-14 Eli Zaretskii <eliz@gnu.org>
7921
7922 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7923 the explanation of the possible choices. Make the options passed
7924 to completing-read shorter.
7925
8b7a997c
AM
79262011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7927
7928 * textmodes/flyspell.el (flyspell-large-region): Make sure
7929 extended character mode is used if defined (Bug#1339).
7930
12587bbb
EZ
79312011-10-13 Eli Zaretskii <eliz@gnu.org>
7932
7933 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7934 character info for LRE, LRO, RLE, and RLO characters by appending
7935 an invisible PDF.
12587bbb 7936
bad41229
SM
79372011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7940 even in case of error; add debug spec; simplify data flow.
7941 (with-timeout-handler): Remove.
7942
28dbc92f
MA
79432011-10-12 Michael Albinus <michael.albinus@gmx.de>
7944
7945 Fix Bug#6019, Bug#9315.
7946
7947 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7948 complete `buffer-file-name', the local file name part could look
7949 remotely (for example on VMS).
7950
7951 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7952 `tramp-run-real-handler'.
7953 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7954 already quoted by '"'.
7955
7956 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7957 Let `file-name-handler-alist' be nil, the local file name part
7958 could look remotely (for example on VMS).
7959
e1b0b23a
SM
79602011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7961
7962 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7963 from here...
7964 (flyspell-post-command-hook): ...to here.
7965
a120bde9
SM
79662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7969 if not needed.
7970 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7971 using completion. Protect against "slow" callers.
7972 Remove the "message hack".
7973
7ce7717b
JL
79742011-10-11 Juri Linkov <juri@jurta.org>
7975
7976 * isearch.el (isearch-lazy-highlight-word): New variable.
7977 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7978 Use it. (Bug#9727)
7979
c02ee9d6
GM
79802011-10-11 Glenn Morris <rgm@gnu.org>
7981
7982 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7983 like f90-previous-statement does.
7984
93e616fd 79852011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7986
1f190e73 7987 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7988 only in interactive use, to avoid error.
7989
af7b6078
SM
79902011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7991
7992 * minibuffer.el (completion-file-name-table): Fix last change,
7993 i.e. ignore normal errors but not the other ones.
7994
0563dae9
MR
79952011-10-10 Martin Rudalics <rudalics@gmx.at>
7996
7997 * window.el (special-display-buffer-names)
7998 (special-display-regexps): Remove some remnants of earlier
7999 changes from doc-strings.
366ca7f3
MR
8000 (quit-windows-on): New function.
8001
8002 * vc/vc.el (vc-revert, vc-rollback):
8003 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8004 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8005 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8006
49677495
MR
80072011-10-09 Martin Rudalics <rudalics@gmx.at>
8008
8009 * window.el (frame-auto-hide-function): Add version tag.
8010 (Bug#9699)
8011
56f2d1e1
MA
80122011-10-09 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8015 condition.
8016
112a6592
LL
80172011-10-09 Leo Liu <sdl.web@gmail.com>
8018
8019 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8020 (Bug#9701)
8021
0812589b
GM
80222011-10-08 Glenn Morris <rgm@gnu.org>
8023
8024 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8025 before the first code statement zero indent. (Bug#9690)
8026
b2b0776e
CY
80272011-10-08 Chong Yidong <cyd@stupidchicken.com>
8028
8029 * simple.el (count-words-region): Always count in the region.
8030 Report the number of lines and characters too.
8031 (count-words): New command, which counts in the buffer if the
8032 region is inactive, as count-words-region used to.
8033 (count-words--message): New function. Handle plurals.
8034 (count-lines-region): Make it an alias for count-words-region.
8035
8036 * bindings.el (esc-map): Replace count-lines-region with
8037 count-words-region.
8038
c557cd6b
MR
80392011-10-08 Martin Rudalics <rudalics@gmx.at>
8040
8041 * window.el (window--delete): Delete dedicated frame
8042 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8043 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8044
61a57ef4 80452011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8046
3a7d293b 8047 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8048
c3833279
CY
80492011-10-07 Chong Yidong <cyd@stupidchicken.com>
8050
8051 * bindings.el ([M-left],[M-right]): Bind to left-word and
8052 right-word respectively.
8053
21ce8245
GM
80542011-10-07 Glenn Morris <rgm@gnu.org>
8055
8056 * cus-start.el (debug-on-quit): Fix custom type.
8057
6d823bb2
LMI
80582011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8059
0181e193
LMI
8060 * subr.el (define-key-after): Clarify that the function is not
8061 useful for non-menu keymaps.
8062
6d823bb2
LMI
8063 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8064
8e3459ce 80652011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8066
21ce8245 8067 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8068 in current minibuffer (Fix bug with recursive minibuffers).
8069
a1c2d21e
CY
80702011-10-06 Chong Yidong <cyd@stupidchicken.com>
8071
8072 * progmodes/gdb-mi.el (gdb): Doc fix.
8073
5a4cf282
MR
80742011-10-05 Martin Rudalics <rudalics@gmx.at>
8075
8076 * window.el (frame-auto-hide-function): New option replacing
8077 frame-auto-delete. Suggested by Stefan Monnier.
8078 (window--delete): Call frame-auto-hide-function instead of
8079 investigating frame-auto-delete.
c96111ea
MR
8080 (window-point-1, set-window-point-1): New functions.
8081 (window-in-direction, record-window-buffer, window-state-get-1)
8082 (display-buffer-record-window): Use window-point-1 instead of
8083 window-point.
8084 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8085
9854542e
SM
80862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8087
8088 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8089
8943cfb0
GM
80902011-10-05 Glenn Morris <rgm@gnu.org>
8091
8092 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8093 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8094
647ab967
LL
80952011-10-05 Leo Liu <sdl.web@gmail.com>
8096
8097 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8098 works with buffer object.
8099
3ddfbced
SM
81002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8101
8102 * mpc.el (mpc-tool-bar-map): Add labels.
8103
bdfa5dd2
GM
81042011-10-04 Glenn Morris <rgm@gnu.org>
8105
8106 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8107
0e2070b5
MR
81082011-10-04 Martin Rudalics <rudalics@gmx.at>
8109
8110 * window.el (window--delete): New function.
8111 (frame-auto-delete): Resuscitate option.
8112 (bury-buffer, replace-buffer-in-windows)
8113 (quit-window): Rewrite using window--delete.
8114 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8115 Pass display-buffer-mark-dedicated to window--display-buffer-2
8116 (Bug#9639).
8117
3dc61a09
SM
81182011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8119
915a9b64
SM
8120 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8121 returns a list (bug#9554). Add remote file name completion.
8122 * comint.el (comint--table-subvert): Curry and get quote&unquote
8123 functions as arguments.
8124 (comint--complete-file-name-data): Adjust call accordingly.
8125 * pcomplete.el (pcomplete--table-subvert): Remove.
8126 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8127
3dc61a09
SM
8128 * minibuffer.el (completion-table-case-fold): Use currying.
8129 (completion--styles-type, completion--cycling-threshold-type):
8130 New constants.
8131 (completion-styles, completion-category-overrides)
8132 (completion-cycle-threshold): Use them.
8133 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8134 completion-table-case-fold.
8135
8ea0a993
SB
81362011-10-03 Stephen Berman <stephen.berman@gmx.net>
8137
8138 * minibuffer.el (completion-category-overrides): Fix type of styles
8139 and add more user friendly tags (bug#9660).
8140
8c24b7f6
SM
81412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8144 (mule-input-method-string): New widget.
8145 (default-input-method, language-info-custom-alist): Use it.
8146
428fe61a
SM
81472011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8148
32c1fffd
SM
8149 * pcomplete.el: Require comint.
8150 (pcomplete--common-suffix): Remove.
8151 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8152 (pcomplete--table-subvert): Sync with comint--table-subvert.
8153 (pcomplete--entries): Use comint-completion-file-name-table.
8154 * comint.el (comint-unquote-filename): Simplify.
8155 (comint-completion-file-name-table): New function (bug#9616).
8156 (comint--complete-file-name-data): Use it.
8157
428fe61a
SM
8158 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8159 (pcmpl-gnu-tar-buffer): Remove.
8160 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8161 around. Make sure pcomplete-suffix-list is only changed temporarily.
8162 Don't look inside the tar's file if it's too large.
428fe61a 8163
04c52e2f
CY
81642011-10-01 Chong Yidong <cyd@stupidchicken.com>
8165
ce3cefcc
CY
8166 * cus-edit.el (custom-mode-map):
8167 * epa.el (epa-key-list-mode-map):
8168 * man.el (Man-mode-map):
8169 * startup.el (splash-screen-keymap):
8170 * simple.el (special-mode-map): Use scroll-up-command and
8171 scroll-down-command.
8172
8173 * progmodes/idlw-help.el (idlwave-help-mode-map):
8174 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8175 * net/newst-plainview.el (newsticker-mode-map):
8176 * emulation/ws-mode.el (wordstar-mode-map):
8177 * emulation/vi.el (vi-com-map):
8178 * calc/calc-graph.el (calc-graph-show-dumb):
8179 * term/sun.el (terminal-init-sun):
8180 * term/ns-win.el (global-map):
8181 * progmodes/grep.el (grep-mode-map):
8182 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8183 * mail/rmail.el (rmail-mode-map):
8184 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8185
04c52e2f
CY
8186 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8187 custom-safe-themes as special.
8188
79adf8c8
JD
81892011-10-01 Julien Danjou <julien@danjou.info>
8190
8191 * notifications.el (notifications-notify): Fix docstring.
8192
63bd50d3
PS
81932011-10-01 Per Starbäck <per@starback.se>
8194
8195 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8196
199e4c7e
MR
81972011-09-30 Martin Rudalics <rudalics@gmx.at>
8198
8199 * startup.el (command-line-1): Fix last fix by inserting
8200 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8201 (Bug#9605) and (Bug#9636)
199e4c7e 8202
fe5f08dd
EZ
82032011-09-29 Eli Zaretskii <eliz@gnu.org>
8204
8205 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8206 window is hscrolled, move by logical lines. (Bug#9607)
8207 (line-move-visual): Update the doc string to the above effect.
8208
b5516bbd
MR
82092011-09-29 Martin Rudalics <rudalics@gmx.at>
8210
ccee00c0
MR
8211 * window.el (display-buffer-record-window): When WINDOW is the
8212 selected window use `point' instead of `window-point'. (Bug#9626)
8213
b5516bbd
MR
8214 * startup.el (command-line-1): Use insert-before-markers when
8215 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8216
b5516bbd
MR
8217 * help.el (help-window): Remove variable.
8218
52aa0014
GM
82192011-09-29 Glenn Morris <rgm@gnu.org>
8220
8221 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8222
df9a7357
JB
82232011-09-29 Juanma Barranquero <lekktu@gmail.com>
8224
8225 * descr-text.el (describe-char-categories): Accept category
8226 descriptions more than one line long.
8227
a8406c20
SM
82282011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8229
88d9610c
SM
8230 * simple.el (delete-trailing-whitespace): Fix last change.
8231
a5daf810
SM
8232 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8233 Don't confuse "y => 3" as the beginning of a `y' operation.
8234
a8406c20
SM
8235 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8236 object has more than 4 slots (bug#9613).
8237
a239d4e9
JB
82382011-09-28 Juanma Barranquero <lekktu@gmail.com>
8239
8240 * subr.el (with-output-to-temp-buffer):
8241 * net/quickurl.el (quickurl, quickurl-browse-url):
8242 Fix typos in docstrings.
8243
693fbdb6
EZ
82442011-09-27 Eli Zaretskii <eliz@gnu.org>
8245
8246 * minibuffer.el (completion-styles)
8247 (completion-category-overrides): Cross reference each other in doc
8248 strings.
8249
8b457e28
GM
82502011-09-27 Glenn Morris <rgm@gnu.org>
8251
8252 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8253 to split-string. (Bug#9606)
8254
85a16208
LMI
82552011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8256
8257 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8258 (bug#9615).
8259
502f9ebd
CY
82602011-09-27 Chong Yidong <cyd@stupidchicken.com>
8261
8262 * emacs-lisp/package.el (list-packages): Fix echo area message.
8263
7690bdea
LL
82642011-09-27 Leo Liu <sdl.web@gmail.com>
8265
8266 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8267
e2ee6f30
MA
82682011-09-25 Michael Albinus <michael.albinus@gmx.de>
8269
8270 * net/dbus.el (dbus-unregister-object): Don't release services for
8271 registered signals. (Bug#9581)
8272
f3f98342
TZ
82732011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8274
8275 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8276 function that picks between cfengine 2 and 3 support
8277 automatically. Update docs accordingly.
8278
dd7aa8dd
KH
82792011-09-22 Kenichi Handa <handa@m17n.org>
8280
8281 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8282 ZERO.
8283 (indian-itrans-v5-table-for-tamil): New variable.
8284 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8285
3f2b07f8
KM
82862011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8287
8288 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8289 that's true if the current command involved collapsing of text.
8290 It's reset to false at the beginning of the next command.
8291 (allout-post-command-business): Move the cursor to the beginning
8292 of entry if the cursor is hidden and collapsing activity just
8293 happened.
8294
371d6a61
CY
82952011-09-24 Chong Yidong <cyd@stupidchicken.com>
8296
8297 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8298 tracking (Bug#9541).
8299
2ac2721a
UJ
83002011-09-24 Ulf Jasper <ulf.jasper@web.de>
8301
8302 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8303 (newsticker-show-news): Automatically load html rendering package
8304 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8305 because w3m-fill-column is let-bound" and the error "Symbol's value
8306 as variable is void: w3m-fill-column".
2ac2721a 8307
fac7ae53
MA
83082011-09-24 Michael Albinus <michael.albinus@gmx.de>
8309
8310 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8311 Release services only if they are defined. (Bug#9581)
8312
e08b633b
RS
83132011-09-23 Richard Stallman <rms@gnu.org>
8314
e488d29c
RS
8315 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8316 distinguish start of paragraph from start of its text.
8317
19c38752
RS
8318 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8319
e08b633b
RS
8320 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8321 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8322 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8323
0a39f27e
AS
83242011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8325
8326 * international/mule-diag.el (mule-diag): Insert a newline after
8327 each fontset description.
8328
db4e950d
SM
83292011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8330
8331 * simple.el (delete-trailing-whitespace):
8332 Document last change; simplify.
8333
eca3f3ea
PW
83342011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8335
d68e189a
PW
8336 * simple.el (delete-trailing-whitespace): Also delete
8337 extra newlines at the end of the buffer.
8338
eca3f3ea
PW
8339 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8340 (picture-newline): Use forward-line so as to ignore fields.
8341
01c157cc
SM
83422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * subr.el (with-wrapper-hook): Fix edebug spec.
8345
022de23e
LMI
83462011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8347
8348 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8349 (bug#4538).
8350
91683089
MA
83512011-09-23 Michael Albinus <michael.albinus@gmx.de>
8352
eca3f3ea
PW
8353 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8354 Fix nasty bug using wrong cached values.
91683089 8355
5bdd6fa4
AM
83562011-09-23 Alan Mackenzie <acm@muc.de>
8357
8358 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8359
97adfb97
CY
83602011-09-23 Chong Yidong <cyd@stupidchicken.com>
8361
8362 * window.el (pop-to-buffer): Ensure right window is selected if we
8363 chose another frame.
8364
d4ef2b50
EZ
83652011-09-22 Eli Zaretskii <eliz@gnu.org>
8366
8367 * simple.el (what-cursor-position): Use get-char-property-change
8368 and next-single-char-property-change, to be able to show display
8369 properties that come from overlays as well as text properties.
8370
72258fe5
CY
83712011-09-22 Chong Yidong <cyd@stupidchicken.com>
8372
8373 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8374
8375 * cmuscheme.el (run-scheme, switch-to-scheme):
8376 * cus-edit.el (customize-group, custom-buffer-create)
8377 (customize-browse):
8378 * info.el (info):
8379 * shell.el (shell):
8380 * mail/sendmail.el (mail):
8381 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8382
8f098516
RS
83832011-09-22 Richard Stallman <rms@gnu.org>
8384
8385 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8386 move back only to line beg, don't move back over blank lines.
8387
e74f1bb6
MA
83882011-09-22 Michael Albinus <michael.albinus@gmx.de>
8389
8390 * files.el (copy-directory): Set directory attributes only in case
8391 they could be retrieved from the source directory. (Bug#9565)
8392
bfeef8b6
DK
83932011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8394
8395 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8396 (hs-find-block-beginning, hs-hide-level-recursive):
8397 Ignore strings as well as comments. (Bug#9502)
8398
7e423bb8
AS
83992011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8400
8401 * progmodes/sql.el (sql-comint-postgres):
8402 Convert port number to a string. (Bug#9566)
8403
b4d72fcf
MR
84042011-09-22 Martin Rudalics <rudalics@gmx.at>
8405
8406 * window.el (quit-window): Undedicate window when switching to
8407 previous buffer. Reported by Thierry Volpiatto
8408 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8409 (special-display-popup-frame): When popping up a new frame reset
8410 its previous buffers to nil. Simplify code.
b4d72fcf 8411
a7b88dc6
MA
84122011-09-21 Michael Albinus <michael.albinus@gmx.de>
8413
8414 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8415 and process filter, as done also in `shell-command'.
8416
cf4eacfd
MR
84172011-09-21 Martin Rudalics <rudalics@gmx.at>
8418
eca3f3ea 8419 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8420 Call set-window-start with NOFORCE argument t.
8421 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8422 (quit-window): Reword doc-string. Handle new format of
8423 quit-restore parameter. Don't delete window if it has a
8424 previous buffer we can show instead of the present one.
8425 (display-buffer-record-window): Rewrite using a new format for
8426 the quit-restore window parameter
8427 (special-display-popup-frame, display-buffer-same-window)
8428 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8429 (display-buffer-pop-up-window, display-buffer-use-some-window):
8430 Adapt symbol passed to display-buffer-record-window.
8431 * help.el (help-window-setup): Handle new format of quit-restore
8432 parameter.
8433
8d28cb95
SM
84342011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8435
94ab793f
SM
8436 * faces.el (face-list): Fix docstring (bug#9564).
8437
8d28cb95
SM
8438 * window.el (display-buffer--action-function-custom-type):
8439 Don't include internal functions in the Custom interface.
8440
3820edeb
JL
84412011-09-20 Juri Linkov <juri@jurta.org>
8442
8443 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8444 (Info-forward-node, Info-backward-node, Info-next-preorder)
8445 (Info-last-preorder): Use it. (Bug#9528)
8446
5147931d
JL
84472011-09-20 Juri Linkov <juri@jurta.org>
8448
8449 * info.el (Info-last-preorder): Visit last menu item only when
8450 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8451
cf499a1a
JD
84522011-09-20 Julien Danjou <julien@danjou.info>
8453
8454 * password-cache.el (password-cache-remove): Remove entries even if the
8455 value is nil, so that password with a nil value (negative caching) is
8456 possible to invalidate.
8457
f84e2fe2
LM
84582011-09-20 Lawrence Mitchell <wence@gmx.li>
8459
8460 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8461 all whitespace around breakpoint. (Bug#9553)
8462 (f90-find-breakpoint): Only break at whitespace inside a comment.
8463
78054a46
SM
84642011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * minibuffer.el (completion-file-name-table): Keep track of errors.
8467 (completion-table-with-predicate): Handle the case where pred1 is nil.
8468 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8469
345083b2
SM
84702011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8471
e24e27be
SM
8472 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8473 (debugger-return-value): Signal an error if the debugging context does
8474 not await any return value.
8475
345083b2
SM
8476 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8477 * image-mode.el (image-toggle-display-text)
8478 (image-toggle-display-image): Stay away from evil `intangible'.
8479
08d355e3
LL
84802011-09-19 Leo Liu <sdl.web@gmail.com>
8481
8482 * replace.el (occur-revert-arguments): Make it permanent-local.
8483 (occur-mode): Don't call font-lock-defontify.
8484
f01da43f
CY
84852011-09-19 Chong Yidong <cyd@stupidchicken.com>
8486
8487 * net/ldap.el (ldap-search-internal): Don't push empty search
8488 result (Bug#9508).
8489
b6072fa6
SM
84902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8493
443d6696
MA
84942011-09-19 Michael Albinus <michael.albinus@gmx.de>
8495
8496 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8497 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8498
7cc6e154
JL
84992011-09-18 Juri Linkov <juri@jurta.org>
8500
8501 * buff-menu.el (Buffer-menu-mode-map):
8502 * dired.el (dired-mode-map):
8503 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8504 (lisp-interaction-mode-map):
8505 * emacs-lisp/package.el (package-menu-mode-map):
8506 * epa.el (epa-key-list-mode-map):
8507 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8508 (menu-bar-options-menu):
8509 * outline.el (outline-mode-menu-bar-map):
8510 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8511 * vc/vc-dir.el (vc-dir-menu-map):
8512 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8513 Capitalize non-function content words in menu item strings.
8514
8515 * dired.el (dired-mode-map): Add menu item for
8516 `image-dired-dired-toggle-marked-thumbs'.
8517
80302a81
JL
85182011-09-18 Juri Linkov <juri@jurta.org>
8519
8520 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8521 to `isearch-case-fold-search' and restore its original value
8522 after the `isearch-mode' call.
8523
46c5cf66
JL
85242011-09-18 Juri Linkov <juri@jurta.org>
8525
8526 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8527 because `zgrep' returns 1 for successful matches (bug#9226).
8528
d18b513b
JL
85292011-09-18 Juri Linkov <juri@jurta.org>
8530
8531 * info.el (Info-extract-menu-node-name): Check the second match
8532 for empty string (second test-case of bug#9528).
8533 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8534 intermediate nodes to the history (first test-case of bug#9528).
8535
72753f87
JL
85362011-09-18 Juri Linkov <juri@jurta.org>
8537
8538 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8539 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8540
c9384295
JL
85412011-09-18 Juri Linkov <juri@jurta.org>
8542
1154d12e
JB
8543 * info.el (Info-file-supports-index-cookies):
8544 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8545 outputs one more line for long file names (bug#4142).
c9384295 8546
d473dce8
CY
85472011-09-18 Chong Yidong <cyd@stupidchicken.com>
8548
8549 * newcomment.el (comment-normalize-vars): If prompting for
8550 comment-start, set comment-start-skip too (Bug#8424).
8551
2176854d
JB
85522011-09-18 Johan Bockgård <bojohan@gnu.org>
8553
8554 * icomplete.el: Fix previous fix of Bug#5849.
8555 (icomplete-mode): Don't set completion-show-inline-help.
8556 (icomplete-minibuffer-setup): Set completion-show-inline-help
8557 locally during icompletion.
8558
3aace4e4
CY
85592011-09-18 Chong Yidong <cyd@stupidchicken.com>
8560
c940224f
CY
8561 * woman.el (woman2-process-escapes): Don't delete unrecognized
8562 escapes (Bug#7843).
8563
3aace4e4
CY
8564 * files.el (inhibit-first-line-modes-regexps): Add image files.
8565 (hack-local-variables-prop-line): Return nil for malformed
8566 prop-lines (Bug#9044).
8567
710dec63
MA
85682011-09-18 Michael Albinus <michael.albinus@gmx.de>
8569
8570 * net/tramp.el (top): Don't require 'shell.
8571 (tramp-methods): Fix docstring.
8572 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8573 Return complete remote file name. Handle "smb" case.
8574 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8575 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8576
8577 * net/tramp-compat.el (top): Require 'shell.
8578
8579 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8580 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8581 `tramp-current-host'.
8582 (tramp-get-remote-tmpdir): Remove.
8583
8584 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8585 `tramp-tmpdir' entries.
8586 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8587 (tramp-smb-handle-file-attributes): Ignore errors.
8588 (tramp-smb-wait-for-output): Check also for process end.
8589
5d5ac8ec
LMI
85902011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8591
8592 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8593 when sending QUIT (bug#9312).
8594
8c0f49f0
CY
85952011-09-17 Chong Yidong <cyd@stupidchicken.com>
8596
8597 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8598 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8599 occur-mode-display-occurrence.
8600 (occur-edit-mode): Add usage message.
8601 (occur-cease-edit): New command.
8602 (occur-after-change-function): Use text properties to find the
8603 position of the prefix text.
8604 (occur-engine): Set stickiness of prefix text properties.
8605
8f1383f7
GM
86062011-09-17 Glenn Morris <rgm@gnu.org>
8607
8608 * progmodes/etags.el (complete-tag):
8609 Fix call to completion-in-region. (Bug#9526)
8610
744ba0e3
JL
86112011-09-17 Juri Linkov <juri@jurta.org>
8612
8613 * textmodes/ispell.el (ispell-word): Add to the error message
8614 the word, ispell program name and current dictionary (bug#9121).
8615 (ispell-tex-arg-end): Capitalize "error" in the error message.
8616
d9bbf400
AS
86172011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8618
8619 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8620 check. (Bug#4251)
8621
8da11505
JL
86222011-09-17 Juri Linkov <juri@jurta.org>
8623
8624 * window.el (window-safe-min-height, window-safe-min-width):
8625 Fix typos (followup to bug#9522).
8626
a91adc7e
SJ
86272011-09-17 Sven Joachim <svenjoac@gmx.de>
8628
8629 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8630
064f328a
EZ
86312011-09-16 Eli Zaretskii <eliz@gnu.org>
8632
8633 * simple.el (line-move): If goal-column is set, move by logical
8634 lines, not by display lines. (Bug#971)
8635 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8636 to reflect the above change.
8637
e69df516
SM
86382011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * image.el (imagemagick-register-types): Use regexp-opt.
8641
cbb0f9ab
CY
86422011-09-15 Chong Yidong <cyd@stupidchicken.com>
8643
8644 * window.el (display-buffer-base-action): Rename from
8645 display-buffer-default-action. Make default value empty.
8646 (display-buffer-overriding-action): Convert to defvar.
8647 (display-buffer-fallback-action): New var.
8648
25322144
CY
86492011-09-15 Chong Yidong <cyd@stupidchicken.com>
8650
8651 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8652 declaration.
8653 (package--add-to-archive-contents): If there is a duplicate entry
8654 with an older version, remove it.
8655 (package-menu-mark-delete, package-menu-mark-install)
8656 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8657 (package-menu-mark-obsolete-for-deletion):
8658 Use package-menu-get-status instead of a regexp search.
25322144
CY
8659 (package-menu-get-status): Use tabulated-list-entry.
8660 (package-menu-mark-upgrades): New command.
d770725a 8661 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8662 (package-menu-execute): Do installation before deletion.
8663 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8664 instead of checking major-mode.
8665 (package-menu--find-upgrades): New function.
8666
7520339c
LMI
86672011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8668
8669 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8670 passwords in the log buffer.
65a046c4
LMI
8671 (smtpmail-process-filter): Update the process marker so that the
8672 "broken by peer" status message is inserted in the right place.
7520339c 8673
d3c30954
SM
86742011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8675
3fe48822
SM
8676 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8677 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8678 bibtex-completion-at-point-function.
8679 (bibtex-completion-at-point-function): Use them.
8680
1b8b3954
SM
8681 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8682
d3c30954
SM
8683 * mpc.el (mpc-constraints-tag-lookup): New function.
8684 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8685 also to browser "album|playlist".
8686
72779976
JL
86872011-09-14 Juri Linkov <juri@jurta.org>
8688
8689 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8690 (isearch-edit-string): Use length of `isearch-string' when
8691 `isearch-fail-pos' returns nil.
8692 (isearch-message): Remove duplicate code and call
8693 `isearch-fail-pos' with arg `t'.
8694
a0bf2bcd
CY
86952011-09-14 Chong Yidong <cyd@stupidchicken.com>
8696
17bb0a2d
CY
8697 * replace.el (occur-mode-goto-occurrence): Don't force using other
8698 window (Bug#9499).
8699
a0bf2bcd
CY
8700 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8701
f678e0b6
MR
87022011-09-14 Martin Rudalics <rudalics@gmx.at>
8703
8704 * window.el (display-buffer-window): Remove.
8705 (display-buffer-record-window): Use help-setup window parameter
8706 instead of variable display-buffer-window.
8707 (display-buffer-function, special-display-buffer-names)
8708 (special-display-function): Mention help-setup parameter instead
8709 of display-buffer-window in doc-string.
d3c30954
SM
8710 * help.el (help-window-setup): New argument help-window.
8711 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8712 Reword some messages.
8713 (with-help-window): Pass window used for displaying the buffer
8714 to help-window-setup. Don't set display-buffer-window.
8715
8e39b2e8
GM
87162011-09-13 Glenn Morris <rgm@gnu.org>
8717
8718 * emacs-lisp/debug.el (debugger-make-xrefs):
8719 Preserve point. (Bug#9462)
8720
85e9c04b
CY
87212011-09-13 Chong Yidong <cyd@stupidchicken.com>
8722
8723 * window.el (window-deletable-p): Use next-frame.
8724
1b36ed6a
MR
87252011-09-13 Martin Rudalics <rudalics@gmx.at>
8726
8727 * window.el (window-auto-delete): Remove.
8728 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8729 dedication and previous buffers.
1b36ed6a
MR
8730 (switch-to-prev-buffer): Don't delete window.
8731 (delete-windows-on): Delete a window's frame if and only if the
8732 window is dedicated.
8733 (replace-buffer-in-windows): Delete buffer's window or frame if
8734 and only if window is dedicated.
8735 (quit-window): Handle quit-restore as before last change.
4d61f28d 8736 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8737
ef8ef9fb
CY
87382011-09-13 Chong Yidong <cyd@stupidchicken.com>
8739
8740 * window.el (window-deletable-p): Never delete the last frame on a
8741 given terminal.
8742
b2cba41e
GM
87432011-09-13 Glenn Morris <rgm@gnu.org>
8744
8745 * help.el (describe-key-briefly): Copy previous standard-output change.
8746
51553db6 87472011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8748
8749 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8750
b7556719
GM
87512011-09-13 Glenn Morris <rgm@gnu.org>
8752
8753 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8754 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8755
64b51947
CY
87562011-09-12 Chong Yidong <cyd@stupidchicken.com>
8757
8758 * dired-aux.el (dired-mark-read-string): Don't return default
8759 value on empty input (Bug#9361).
8760 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8761 Omit initial minibuffer contents.
8762 (dired-do-chmod): Signal an error on empty input.
8763 (dired-mark-read-string): Don't return default on empty input.
8764
8765 * files.el (file-modes-symbolic-to-number): Doc fix.
8766
393a301e
SM
87672011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * international/mule-cmds.el (ucs-completions): Remove.
8770 (read-char-by-name): Use complete-with-action instead; add metadata.
8771
fa5660f9
CY
87722011-09-11 Chong Yidong <cyd@stupidchicken.com>
8773
8774 * window.el (display-buffer--action-function-custom-type)
8775 (display-buffer--action-custom-type): New vars.
8776 (display-buffer-alist, display-buffer-default-action)
8777 (display-buffer-overriding-action): Add defcustom types.
8778
4a592f66
CY
8779 * frame.el (delete-other-frames): Doc fix (Bug#276).
8780
73d56dbd
LMI
87812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8782
8783 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8784
37ac18a3
CY
87852011-09-11 Chong Yidong <cyd@stupidchicken.com>
8786
8787 Change modes that used same-window-* vars to use switch-to-buffer.
8788
8789 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8790 Use switch-to-buffer.
8791
8792 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8793 (customize-browse, custom-buffer-create-other-window):
8794 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8795
8796 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8797 (Info-prev, Info-up, Info-speedbar-goto-node)
8798 (info-display-manual): Use switch-to-buffer.
8799 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8800
8801 * mail/sendmail.el (mail): Use switch-to-buffer.
8802 (mail-recover): Use switch-to-buffer-other-window.
8803
8804 * cmuscheme.el (run-scheme, switch-to-scheme):
8805 * ielm.el (ielm):
8806 * shell.el (shell):
8807 * net/rlogin.el (rlogin):
8808 * net/telnet.el (telnet, rsh):
8809 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8810
10195bd6
AS
88112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8812
8813 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8814
b322f63a
LMI
88152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8816
39d7fed6
LMI
8817 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8818 so don't mention it (bug#9301).
ba5a81f1 8819 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8820
ee0e9f11
LMI
8821 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8822 match `x', `w32' and `ns', like the manual says (bug#9029).
8823
0b1c89c1 8824 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8825 (process-kill-buffer-query-function): Mention the buffer name in
8826 the query.
0b1c89c1 8827
77549ea8
LMI
8828 * image-mode.el (image-next-line): The line parameter is mandatory
8829 (bug#9258).
8830
803ef892
LMI
8831 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8832 which can be useful (bug#9301).
8833
12980837
LMI
8834 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8835
91054f8f
LMI
8836 * subr.el (match-string): Mention that the current buffer should
8837 be the same as the search was done in (bug#9282).
8838
b322f63a
LMI
8839 * facemenu.el: Disable the remove-* commands if the mark isn't
8840 active (bug#9162).
8841
3199b96f
CY
88422011-09-10 Chong Yidong <cyd@stupidchicken.com>
8843
8844 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8845 of display-buffer.
8846 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8847
8848 * replace.el (occur-mode-goto-occurrence)
8849 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8850 and display-buffer.
8851
8852 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8853 display-buffer.
8854
8855 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8856 special-display and same-window variables.
8857 (mail-other-window): Use switch-to-buffer-other-window.
8858 (mail-other-frame): USe switch-to-buffer-other-frame.
8859
393a301e
SM
8860 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8861 Use display-buffer-other-frame.
3199b96f
CY
8862 (gdb-display-gdb-buffer): Use pop-to-buffer.
8863
8864 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8865
8866 * progmodes/python.el: Don't set same-window-buffer-names.
8867
8868 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8869
8870 * window.el (display-buffer-alist): Add *Python*.
8871
8319e0bf
CY
88722011-09-10 Chong Yidong <cyd@stupidchicken.com>
8873
8874 * window.el (display-buffer-alist): Add entry for buffers
8875 previously handled same-window-*.
8876 (display-buffer-alist, display-buffer-default-action)
8877 (display-buffer-overriding-action): Mark as risky.
8878 (display-buffer-alist): Document action function changes.
8879 (display-buffer--same-window-action)
8880 (display-buffer--other-frame-action): New variables.
8881 (switch-to-buffer, display-buffer-other-frame): Use them.
8882 (display-buffer): Rename reuse-frame entry to reusable-frames.
8883 (display-buffer-reuse-selected-window): Function deleted.
8884 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8885 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8886 (display-buffer-special): New function.
8887 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8888 display-buffer-reuse-or-pop-window. Split off special-display
8889 part into display-buffer-special.
8890 (display-buffer-use-some-window): Don't perform any special
8891 pop-up-frames handling.
8892 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8893 (display-buffer--maybe-same-window): Rename from
0d3ff375 8894 display-buffer-maybe-same-window.
8319e0bf 8895
919a69aa
CY
8896 * info.el: Don't set same-window-regexps.
8897 (info-setup): New function.
8898 (info-other-window, info): Call it.
8899
8900 * cus-edit.el: Don't set same-window-regexps.
8901 (customize-group): New argument.
8902 (customize-group-other-window): Use it.
8903 (customize-face, customize-face-other-window): Likewise.
8904 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8905
8319e0bf
CY
8906 * net/rlogin.el:
8907 * net/telnet.el:
8908 * progmodes/gud.el: Don't set same-window-regexps.
8909
8910 * cmuscheme.el:
8911 * ielm.el:
8912 * shell.el:
8913 * mail/sendmail.el:
8914 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8915
25173000
JL
89162011-09-10 Juri Linkov <juri@jurta.org>
8917
8918 * isearch.el (isearch-edit-string): Remove obsolete mention of
8919 `C-w' (`isearch-yank-word-or-char') from docstring.
8920 (isearch-query-replace): Fix typo in docstring (bug#9466).
8921
056e44ef
JL
89222011-09-10 Juri Linkov <juri@jurta.org>
8923
8924 * paren.el (show-paren-function): Don't show escaped parens.
8925 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8926
c3760c17
EZ
89272011-09-10 Eli Zaretskii <eliz@gnu.org>
8928
8929 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8930 (mm-default-file-encoding): Remove autoload forms, they are
8931 replaced with autoload cookies in mml.el and mm-encode.el.
8932 (mail-add-attachment): New command.
8933 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8934 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8935 the doc string.
8936 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8937
fece895e
RT
89382011-09-10 Reuben Thomas <rrt@sc3d.org>
8939
e69df516
SM
8940 * simple.el (count-words-region): Use buffer if there's no region
8941 (bug#9429).
fece895e 8942
5e68ce4a
JL
89432011-09-09 Juri Linkov <juri@jurta.org>
8944
8945 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8946 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8947 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8948
0a6b9622
AM
89492011-09-09 Alan Mackenzie <acm@muc.de>
8950
8951 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8952 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8953
14a29deb
EZ
89542011-09-09 Eli Zaretskii <eliz@gnu.org>
8955
8956 Fix for Savannah bug#9392.
8957 * simple.el (mail-encode-mml): New defvar.
8958
8959 * mail/rmail.el (mail-encode-mml): Add a defvar.
8960 (rmail-enable-mime-composing): Default to t.
8961 (rmail-forward): Use MIME method of forwarding only if both
8962 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8963 Set mail-encode-mml non-nil if the MIME method was used.
8964
8965 * mail/sendmail.el (mml-to-mime): Add autoload form.
8966 (mail-encode-mml): Add a defvar.
8967 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8968 to nil.
8969 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8970 message through mml-to-mime, and reset mail-encode-mml to nil.
8971
28c45130
GM
89722011-09-09 Glenn Morris <rgm@gnu.org>
8973
8974 * woman.el (woman-if-body): When processing an .el block,
8975 do not delete the next .el block as well. (Bug#9447)
69f4b618 8976 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8977
9b1c252e
MR
89782011-09-08 Martin Rudalics <rudalics@gmx.at>
8979
8980 * window.el (window-deletable-p): Make sure window is live before
8981 invoking window-prev-buffers.
8982
567457e3
LL
89832011-09-08 Leo Liu <sdl.web@gmail.com>
8984
8985 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8986
97f05794
JL
89872011-09-08 Juri Linkov <juri@jurta.org>
8988
8989 * progmodes/compile.el (compilation-environment): Make it
8990 a defcustom (bug#8340).
8991
8b0874b5
MR
89922011-09-08 Martin Rudalics <rudalics@gmx.at>
8993
8994 * window.el (frame-auto-delete): Rename to window-auto-delete.
8995 Make it control auto-deletion of windows and/or frames.
8996 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8997 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8998 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8999 Rewrite handling of case when window/frame can be deleted.
9000 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9001 argument t. (Bug#9456)
8b0874b5 9002
4feb6e73
CY
90032011-09-07 Chong Yidong <cyd@stupidchicken.com>
9004
9005 * help-mode.el (help-mode): Restore autoload.
9006
91ab9c13
JL
90072011-09-07 Juri Linkov <juri@jurta.org>
9008
9009 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9010 `compilation-environment'. Set buffer-local
9011 `compilation-environment' to `thisenv' later after (funcall mode).
9012 (Bug#8340)
9013
9014 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9015 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9016 instead of replacing its value. (Bug#8340)
9017
0527e251
JL
90182011-09-07 Juri Linkov <juri@jurta.org>
9019
9020 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9021 based on text properties put by `grep-filter' instead of matching
9022 escape sequences.
9023 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9024 to the value of `grep-error-screen-columns' (bug#9438).
9025
249f792c
JL
90262011-09-07 Juri Linkov <juri@jurta.org>
9027
9028 * simple.el (next-error-highlight, next-error-highlight-no-select):
9029 Doc fix (bug#9432).
9030
ff7271b9
OT
90312011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9032
9033 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9034 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9035
183fc730
LL
90362011-09-07 Leo Liu <sdl.web@gmail.com>
9037
9038 * net/rcirc.el (rcirc-mode): Conditionally initialize
9039 rcirc-input-ring.
9040
77694924
SM
90412011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * emacs-lisp/find-func.el (find-function-C-source): Only set
9044 find-function-C-source-directory after checking that we found a source
9045 file there (bug#9440).
9046
d809b8eb
AM
90472011-09-06 Alan Mackenzie <acm@muc.de>
9048
9049 * isearch.el (isearch-other-meta-char): Wherever a key list is
9050 unread, "unread" the prefix arg, too. This fixes bug #8901.
9051
453de99f
OG
90522011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9053
9054 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9055
90439906
JL
90562011-09-05 Juri Linkov <juri@jurta.org>
9057
9058 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9059
f62bd846
JL
90602011-09-05 Juri Linkov <juri@jurta.org>
9061
9062 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9063 keeping point where processing of grep matches begins, and
9064 continue to delete remaining escape sequences from the same point.
9065 (grep-filter): Make leading zero optional in "0?1;31m" because
9066 git-grep emits "\033[1;31m" escape sequences unlike expected
9067 "\033[01;31m" as GNU Grep does (bug#9408).
9068 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9069
045820ec
JL
90702011-09-05 Juri Linkov <juri@jurta.org>
9071
9072 * subr.el (y-or-n-p): Capitalize "yes".
9073
f5e29b9b
MA
90742011-09-04 Michael Albinus <michael.albinus@gmx.de>
9075
9076 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9077 `tramp-cache-unload-hook' where appropriate.
9078 (tramp-methods): Rename `tramp-remote-sh' to
9079 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9080 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9081
9082 * net/tramp-sh.el (top): Don't require 'shell.
9083 (tramp-methods): Add `tramp-remote-shell' and
9084 `tramp-remote-shell-args' entries.
9085 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9086 (tramp-sh-handle-shell-command): Remove.
9087 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9088 Use `tramp-remote-shell'.
9089
2784c434
CY
90902011-09-03 Chong Yidong <cyd@stupidchicken.com>
9091
393a301e 9092 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9093 (sendmail-query-once): Save directly to send-mail-function.
9094 Update message-send-mail-function too.
9095
9096 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9097
464cdf56
CS
90982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9099
9100 * progmodes/python.el (python-mode-map): Use correct function to
9101 start python interpreter from menu-bar (as reported by Geert
9102 Kloosterman).
9103 (inferior-python-mode-map): Fix typo.
393a301e 9104 (python-shell-map): Remove.
464cdf56 9105
d37e5c87
DD
91062011-09-03 Deniz Dogan <deniz@dogan.se>
9107
9108 * net/rcirc.el (rcirc-print): Simplify code for
9109 rcirc-scroll-show-maximum-output. There is no need to walk
9110 through all windows to find the right one.
9111
f3ada0ee
CS
91122011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9113
9114 * help.el (help-return-method): Doc fix.
9115
1f3c99ca
MR
91162011-09-03 Martin Rudalics <rudalics@gmx.at>
9117
9118 * window.el (window-deletable-p): Don't return a non-nil value
9119 when there's a buffer that was shown in the window before.
9120 (Bug#9419)
393a301e
SM
9121 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9122 Set window's previous buffers to nil.
1f3c99ca 9123
a3cf097f
EZ
91242011-09-03 Eli Zaretskii <eliz@gnu.org>
9125
9126 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9127 newline before and after the tag line, so it doesn't interfere
9128 with determining the paragraph direction of bidirectional text.
9129
3d03de90
LL
91302011-09-03 Leo Liu <sdl.web@gmail.com>
9131
9132 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9133
c3313451
CY
91342011-09-02 Chong Yidong <cyd@stupidchicken.com>
9135
393a301e 9136 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9137 (pop-to-buffer): Change interactive spec. Pass second argument
9138 directly to display-buffer.
9139 (display-buffer): Fix interactive spec. Use functionp to
9140 distinguish between a function and a list of functions.
9141
9142 * abbrev.el (edit-abbrevs):
9143 * arc-mode.el (archive-extract):
9144 * autoinsert.el (auto-insert):
9145 * bookmark.el (bookmark-bmenu-list):
9146 * files.el (find-file):
9147 * view.el (view-buffer):
9148 * progmodes/compile.el (compilation-goto-locus):
9149 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9150
89894cd8
CY
91512011-09-02 Chong Yidong <cyd@stupidchicken.com>
9152
9153 * window.el (display-buffer-alist): Doc fix.
9154 (display-buffer): Add docstring. Don't treat
9155 display-buffer-default specially.
9156 (display-buffer-reuse-selected-window)
9157 (display-buffer-same-window, display-buffer-maybe-same-window)
9158 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9159 (display-buffer-pop-up-window)
9160 (display-buffer-reuse-or-pop-window)
9161 (display-buffer-use-some-window): New functions.
9162 (display-buffer-default-action): Use them.
393a301e 9163 (display-buffer-default): Delete.
89894cd8
CY
9164 (pop-to-buffer-1): Fix choice of actions.
9165
ae0bc9fb
SM
91662011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * minibuffer.el (completion--insert-strings): Don't get confused by
9169 completion entries that end with an LF char.
9170
e9d90883
EZ
91712011-09-01 Eli Zaretskii <eliz@gnu.org>
9172
9173 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9174
437014c8
CY
91752011-09-01 Chong Yidong <cyd@stupidchicken.com>
9176
9177 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9178 (display-buffer-same-window, display-buffer-other-window):
9179 New functions.
437014c8
CY
9180 (pop-to-buffer-1): New function. Use the above.
9181 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9182 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9183
9184 * view.el (view-buffer-other-window, view-buffer-other-frame):
9185 Just use pop-to-buffer.
9186
a5e063d5
TV
91872011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9188
9189 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9190
793d32bb
WH
91912011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9192
9193 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9194
d65e4c15
RS
91952011-08-31 Richard Stallman <rms@gnu.org>
9196
9197 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9198 of the separation of rmail-view-buffer from rmail-buffer.
9199 If you say no to "replace original", the decrypt is in the
9200 view buffer. If you say yes, the decrypt goes into the
9201 rmail buffer also.
9202
f818cd2a
MR
92032011-08-31 Martin Rudalics <rudalics@gmx.at>
9204
9205 * window.el (display-buffer-window): Rewrite doc-string.
9206 (display-buffer-record-window): New function.
9207 (display-buffer-macro-specifiers)
9208 (display-buffer-even-window-sizes, display-buffer-set-height)
9209 (display-buffer-set-width, display-buffer-in-window)
9210 (display-buffer-reuse-window, display-buffer-split-specifiers)
9211 (display-buffer-side-specifiers, display-buffer-split-window-1)
9212 (display-buffer-split-window, display-buffer-split-atom-window)
9213 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9214 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9215 (display-buffer-other-window-means-other-frame)
9216 (display-buffer-normalize-special)
9217 (display-buffer-normalize-default)
9218 (display-buffer-normalize-argument)
9219 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9220 (display-buffer-normalize-specifiers, display-buffer-frame)
9221 (display-buffer-same-window, display-buffer-same-frame)
9222 (display-buffer-other-window)
9223 (display-buffer-same-frame-other-window)
9224 (display-buffer-other-frame, pop-to-buffer-same-window)
9225 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9226 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9227 (switch-to-buffer-same-frame)
9228 (switch-to-buffer-other-window-same-frame)
9229 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9230 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9231 (display-buffer-alist-set): Remove.
9232 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9233 (special-display-regexps, special-display-function):
9234 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9235 parameter.
9236 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9237 (special-display-frame-alist, special-display-popup-frame)
9238 (same-window-buffer-names, same-window-regexps, same-window-p)
9239 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9240 (split-window-preferred-function, split-height-threshold)
9241 (split-width-threshold, window-splittable-p)
9242 (split-window-sensibly, window--try-to-split-window)
9243 (window--frame-usable-p, even-window-heights)
9244 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9245 (window--display-buffer-2, display-buffer-other-frame):
9246 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9247 (display-buffer-default, display-buffer-assq-regexp): New functions.
9248 (display-buffer-alist): Rewrite doc-string.
9249 (display-buffer-default-action)
9250 (display-buffer-overriding-action): New variables.
9251 (display-buffer, switch-to-buffer): Rewrite.
9252 (pop-to-buffer): Restore Emacs 23 behavior but use
9253 window-normalize-buffer-to-display.
9254 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9255 Restore Emacs 23 behavior but use
9256 window-normalize-buffer-to-switch-to.
9257 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9258 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9259 Rewrite using Emacs 23 options.
f818cd2a 9260
5bc3b51d
MA
92612011-08-31 Michael Albinus <michael.albinus@gmx.de>
9262
9263 * net/tramp.el (tramp-root-regexp): Remove.
9264 (tramp-completion-file-name-regexp-unified)
9265 (tramp-completion-file-name-regexp-separate)
9266 (tramp-completion-file-name-regexp-url): Don't use leading volume
9267 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9268 (tramp-drop-volume-letter): Simplify definition.
9269 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9270
b1a4f8e1
SM
92712011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9274 (bug#9356).
9275
5664fa7b
RT
92762011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9277
b1a4f8e1 9278 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9279
9a45d6c3
JL
92802011-08-29 Juri Linkov <juri@jurta.org>
9281
9282 * isearch.el (isearch-done): Don't display message "Mark saved"
9283 when arg `edit' is non-nil to prevent its flicker in the echo area.
9284
fb87e0fb
CY
92852011-08-28 Chong Yidong <cyd@stupidchicken.com>
9286
9287 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9288 obsolete packages for deletion.
9289
09ac1c2a
CS
92902011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9291
9292 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9293 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9294 view-mode from help-mode.
9295 (help-xref-override-view-map): Remove.
9296 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9297 view-mode is not used anymore.
9298
7a1ff57f
CY
92992011-08-28 Chong Yidong <cyd@stupidchicken.com>
9300
9301 * server.el (server-port): Doc fix.
9302
b9696605
CY
9303 * cus-theme.el (custom-theme-choose-mode): Inherit from
9304 special-mode (Bug#9124).
9305 (custom-theme-choose-mode-map): Add special-mode to parent.
9306
ef8cdf8c
AM
93072011-08-28 Alan Mackenzie <acm@muc.de>
9308
9309 * progmodes/cc-fonts.el
9310 (c-make-font-lock-BO-decl-search-function): New function.
9311 (c-basic-matchers-after - "Fontify the clauses after various
9312 keywords"): Extract the three keyword lists for the 3 erroneous
9313 constructs from the list of four, and use the new function above
9314 in place of an old one.
9315
27de4e20
DD
93162011-08-28 Deniz Dogan <deniz@dogan.se>
9317
9318 * net/rcirc.el (rcirc-insert-prev-input)
9319 (rcirc-insert-next-input): Remove unused argument.
9320
356a3681
SM
93212011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9322
9323 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9324
3fc9b218
AM
93252011-08-27 Alan Mackenzie <acm@muc.de>
9326
9327 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9328 handle function pointer parameters properly.
9329
538a061c
MR
93302011-08-27 Martin Rudalics <rudalics@gmx.at>
9331
9332 * window.el (display-buffer-reuse-window): Fix case where
9333 selected window was reused with non-nil OTHER-WINDOW argument.
9334 (Bug#9381)
9335
35b1c40c
DD
93362011-08-27 Deniz Dogan <deniz@dogan.se>
9337
9338 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9339 oftc's NickServ messages.
9340
2f6a3e79
GM
93412011-08-27 Glenn Morris <rgm@gnu.org>
9342
9343 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9344
7254299e
CY
93452011-08-26 Chong Yidong <cyd@stupidchicken.com>
9346
9347 * emacs-lisp/package.el (package-install): Call package-initialize
9348 if called interactively.
9349
f8ccf167
LL
93502011-08-26 Leo Liu <sdl.web@gmail.com>
9351
9352 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9353
3e8cd5ce
JL
93542011-08-25 Juri Linkov <juri@jurta.org>
9355
9356 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9357 `search-whitespace-regexp' (bug#9364).
9358
93eb7113
JL
93592011-08-25 Juri Linkov <juri@jurta.org>
9360
9361 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9362 `regexp-search-ring' to their global values to protect from
9363 updating by `read-from-minibuffer' (bug#9185).
9364
f65d1611
JL
93652011-08-25 Juri Linkov <juri@jurta.org>
9366
9367 * textmodes/ispell.el (ispell-command-loop): Add newline
9368 at the end of the "Use option `i'..." line.
9369
f1cf7a31
JL
93702011-08-25 Juri Linkov <juri@jurta.org>
9371
9372 * battery.el (display-battery-mode): If `battery-status-function'
9373 or `battery-mode-line-format' is nil, display the message and set
9374 `display-battery-mode' to nil (bug#9363).
9375
0c95fcf7
EZ
93762011-08-25 Eli Zaretskii <eliz@gnu.org>
9377
9378 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9379 bidi-string-mark-left-to-right; they are unnecessary now.
9380
a2ebe600
DD
93812011-08-25 Deniz Dogan <deniz@dogan.se>
9382
9383 * net/quickurl.el: Documentation typo fixes.
9384
e4ed06f1
CY
93852011-08-25 Chong Yidong <cyd@stupidchicken.com>
9386
9387 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9388
e5f1c99e
GM
93892011-08-25 Glenn Morris <rgm@gnu.org>
9390
b2948976
GM
9391 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9392
e5f1c99e
GM
9393 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9394 (smtpmail-via-smtp): Handle nil response from smtp.
9395
f22f4808
JL
93962011-08-24 Juri Linkov <juri@jurta.org>
9397
9398 * proced.el (proced-marked): Inherit from `error' instead of
9399 `font-lock-warning-face'.
9400
9401 * ibuffer.el (ibuffer-marked-face): Change default face from
9402 `font-lock-warning-face' to `warning'.
9403 (ibuffer-deletion-face): Change default face from
9404 `font-lock-type-face' to `error'.
9405
9406 * battery.el (battery-update): Use the face `error' instead of
9407 `font-lock-warning-face' (bug#6117).
9408
6a93965e
JL
94092011-08-24 Juri Linkov <juri@jurta.org>
9410
9411 * faces.el (success): Change face color from "Green3" to
9412 "ForestGreen" on light background (bug#9353).
9413
1ed43b09
CY
94142011-08-24 Chong Yidong <cyd@stupidchicken.com>
9415
5664fa7b
RT
9416 * window.el (quit-window): Rename from quit-restore-window.
9417 Use same arglist as old quit-window.
1ed43b09
CY
9418 (frame-auto-delete): Doc fix.
9419
9420 * view.el (view-mode-exit): Use quit-window.
9421
11dcdbb2
JL
94222011-08-24 Juri Linkov <juri@jurta.org>
9423
9424 * isearch.el (isearch-ring-adjust1): Start visiting previous
9425 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9426 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9427 for empty search string (when the last search string is reused
9428 automatically) to adjust the isearch ring to the last element and
9429 prepare the correct index for further M-p commands (bug#9185).
9430
de62b4df
KH
94312011-08-24 Kenichi Handa <handa@m17n.org>
9432
9433 * international/ucs-normalize.el: If decomposition property of
9434 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9435 nil.
9436 (nfd, nfkd): Likewise.
9437
963b492b
SM
94382011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9439
9440 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9441 from process filters aren't reliably transmitted to the surrounding
9442 accept-process-output.
9443 (mpc-proc-check): New function.
9444 (mpc-proc-sync): Use it (bug#8293)
9445
93b6b5e1
SM
94462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9447
9448 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9449 Add compatibility functions (bug#9313).
9450
bca633fb
EZ
94512011-08-23 Eli Zaretskii <eliz@gnu.org>
9452
b177498a
EZ
9453 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9454
6df6ae42 9455 * international/uni-bidi.el: Regenerate.
bca633fb 9456
0902a04e
KH
94572011-08-23 Kenichi Handa <handa@m17n.org>
9458
9459 * international/charprop.el:
9460 * international/uni-bidi.el:
9461 * international/uni-category.el:
9462 * international/uni-combining.el:
9463 * international/uni-comment.el:
9464 * international/uni-decimal.el:
9465 * international/uni-decomposition.el:
9466 * international/uni-digit.el:
9467 * international/uni-lowercase.el:
9468 * international/uni-mirrored.el:
9469 * international/uni-name.el:
9470 * international/uni-numeric.el:
9471 * international/uni-old-name.el:
9472 * international/uni-titlecase.el:
9473 * international/uni-uppercase.el: Regenerate.
9474
3bbf23bc
MR
94752011-08-23 Martin Rudalics <rudalics@gmx.at>
9476
9477 * help.el (help-window-setup): Fix message displayed when other
9478 window is reused. (Bug#9341)
9479
b3fd59bd
SM
94802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9481
1802e444
SM
9482 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9483 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9484
b3fd59bd
SM
9485 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9486 Mark obsolete.
9487 * shell.el (shell-parse-pcomplete-arguments): New function.
9488 (shell-completion-vars): Use it instead (bug#9160).
9489
4eb61348
SM
94902011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9491
867cab74
SM
9492 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9493 strings and comments (bug#9333).
9494
4eb61348
SM
9495 * emacs-lisp/debug.el (debug-arglist): New function.
9496 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9497 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9498
262a1439
JL
94992011-08-22 Juri Linkov <juri@jurta.org>
9500
56ee679c
JL
9501 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9502 Revert regexp that highlights output switches to its old
9503 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9504
262a1439
JL
9505 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9506 to check for empty output (bug#9226).
9507
f13f86fb
CY
95082011-08-22 Chong Yidong <cyd@stupidchicken.com>
9509
9510 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9511 symbol-constituent as the default, as that stops font-lock from
9512 working properly (Bug#8843).
9513
c65c9622
LMI
95142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9515
9516 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9517 `coding-system-for-*' around the process open call to avoid
9518 auth-source side effects.
e7f2c178 9519 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9520 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9521 probe hangs.
c65c9622 9522
23a8a5ab
CY
95232011-08-21 Chong Yidong <cyd@stupidchicken.com>
9524
ff98b2dd
CY
9525 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9526
23a8a5ab
CY
9527 * emacs-lisp/find-func.el (find-function-noselect): New arg
9528 lisp-only.
9529
9530 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9531 signal an error for built-in functions (Bug#6664).
9532
f5e3c598
LMI
95332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9534
9535 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9536 (smtpmail-try-auth-methods): Use it.
9537
a3f2468a
CY
95382011-08-21 Chong Yidong <cyd@stupidchicken.com>
9539
2c34e8da
CY
9540 * font-lock.el (font-lock-fontify-region)
9541 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9542 (font-lock-default-unfontify-buffer)
9543 (font-lock-default-fontify-region)
9544 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9545
b3fd59bd
SM
9546 * progmodes/compile.el (compilation-error-properties):
9547 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9548 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9549 `ant' regexp.
ee31aabc 9550
a3f2468a
CY
9551 * net/browse-url.el (browse-url-firefox): Don't call
9552 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9553
8e999f70
GM
95542011-08-20 Glenn Morris <rgm@gnu.org>
9555
c21a496a
GM
9556 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9557
59ee0542
GM
9558 * tutorial.el (tutorial--default-keys): Update some default bindings.
9559
8e999f70
GM
9560 * files.el (hack-local-variables): Fully ignore case for "mode:".
9561
e3715033
AM
95622011-08-20 Alan Mackenzie <acm@muc.de>
9563
9564 Resolve invalid use of a regexp in regexp-opt.
9565
4d61f28d
JB
9566 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9567 detection for a java annotation.
e3715033 9568
4d61f28d 9569 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9570 detection for a java annotation.
9571
4d61f28d
JB
9572 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9573 handling for java.
e3715033
AM
9574 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9575
04ed2e9c
CY
95762011-08-20 Chong Yidong <cyd@stupidchicken.com>
9577
9578 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9579 (Bug#9274).
9580
826cee64
AM
95812011-08-20 Alan Mackenzie <acm@muc.de>
9582
58179cce 9583 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9584 such a construct. Mainly for when jit-lock etc. starts a chunk
9585 here.
9586
58179cce 9587 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9588 variable.
58179cce 9589 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9590 c-make-font-lock-search-function.
9591 (c-make-font-lock-search-function): Use the above function.
9592 (c-make-font-lock-context-search-function): New function.
9593 (c-cpp-matchers): Enhance the preprocessor expression case with
9594 the above function
9595 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9596 which takes an expression.
9597
9598 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9599
13009bd8
MR
96002011-08-20 Martin Rudalics <rudalics@gmx.at>
9601
9602 * window.el (display-buffer-reuse-window)
9603 (display-buffer-pop-up-window): Don't reuse or split a side
9604 window.
9605
9234ff7f
GM
96062011-08-19 Glenn Morris <rgm@gnu.org>
9607
9608 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9609 Downcase "Mode:". (Bug#9331)
9234ff7f 9610
f635daa1
CY
96112011-08-18 Chong Yidong <cyd@stupidchicken.com>
9612
9613 * international/characters.el: Add L and R categories.
9614
9615 * subr.el (bidi-string-mark-left-to-right): Rename from
9616 string-mark-left-to-right. Use category search.
9617
9618 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9619
bc987f8b
JL
96202011-08-18 Juri Linkov <juri@jurta.org>
9621
9622 * faces.el (error, warning, success): New faces with definitions
9623 copied from old default values of `font-lock-warning-face',
9624 `compilation-warning', `compilation-info' (bug#6117).
9625
9626 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9627
9628 * progmodes/compile.el (compilation-error): Inherit from `error'.
9629 (compilation-warning): Inherit from `warning'.
9630 (compilation-info): Inherit from `success'.
9631
9632 * dired.el (dired-marked): Inherit from `warning'.
9633 (dired-flagged): Inherit from `error'.
9634
57173b96
LMI
96352011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9636
3e79eb87
LMI
9637 * mail/smtpmail.el (auth-source): Require to avoid problems with
9638 binding variables (bug#9298). Also clean up some unused
9639 autoloads.
9640
b3fd59bd
SM
9641 * net/network-stream.el (network-stream-open-starttls):
9642 Support using starttls.el without using gnutls-cli.
57173b96 9643
02b404de
JL
96442011-08-17 Juri Linkov <juri@jurta.org>
9645
9646 * progmodes/grep.el (rgrep): Handle the case when
9647 `grep-find-command' is a cons cell (bug#9278).
9648
8c9177f2
MR
96492011-08-17 Martin Rudalics <rudalics@gmx.at>
9650
9651 * window.el (display-buffer-pop-up-frame): Run frame creation
9652 function with BUFFER current (as special-display-popup-frame
9653 does). Reported by Drew Adams.
9654
3644a0ab
DU
96552011-08-17 Daiki Ueno <ueno@unixuser.org>
9656
9657 * epa-mail.el: Simplify GnuPG group expansion using
9658 epg-expand-group.
9659 (epa-mail-group-alist, epa-mail-group-modtime)
9660 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9661 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9662 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9663 Remove.
9664
5e617bc2 96652011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9666
9667 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9668
9c4aeabf
AM
96692011-08-16 Alan Mackenzie <acm@muc.de>
9670
9671 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9672 Correct, to avoid the inside of macros.
9673
3a99bf64
RS
96742011-08-16 Richard Stallman <rms@gnu.org>
9675
04963aa8
RS
9676 * epa-mail.el: Handle GnuPG group definitions.
9677 (epa-mail-group-alist, epa-mail-group-modtime)
9678 (epa-mail-gnupg-conf-file): New variables.
9679 (epa-mail-parse-groups, epa-mail-sync-groups)
9680 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9681 (epa-mail-expand-recipients): New functions.
9682 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9683
177549d0
RS
9684 * mail/rmail.el (rmail-epa-decrypt): New command.
9685
fe38beef
RS
9686 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9687 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9688 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9689 (epa-decrypt-armor-in-region): Make error message clearer.
9690
934eacb9
SM
96912011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9692
9693 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9694 and "a2b" to "ab" for `prefix'.
9695
d024fb4e
CY
96962011-08-14 Chong Yidong <cyd@stupidchicken.com>
9697
9698 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9699 filter groups.
de148fee
CY
9700 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9701 Fourquet (Bug#8804).
d024fb4e 9702
62f1ca49
JB
97032011-08-12 Juanma Barranquero <lekktu@gmail.com>
9704
9705 * startup.el (argi): Declare as global variable (bug#9275).
9706
9ccaaa4b
CY
97072011-08-12 Chong Yidong <cyd@stupidchicken.com>
9708
9709 * subr.el (string-mark-left-to-right): Search the entire string
9710 for RTL script, not just the terminating character. Doc fix.
9711
a3dae87a
SM
97122011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9713
6cd18349
SM
9714 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9715 New function.
9716 (js--regexp-literal, js-syntax-propertize-function): Remove.
9717 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9718 (js-mode-map): Don't rebind electric keys.
9719 (js-insert-and-indent): Remove.
9720 (js-mode): Setup electric-layout and electric-indent instead.
9721
a3dae87a
SM
9722 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9723
9d5cb631
DU
97242011-08-12 Daiki Ueno <ueno@unixuser.org>
9725
9726 * epa.el (epa-progress-callback-function): Fix the logic of
9727 displaying progress.
9728 * epa-file.el (epa-file-insert-file-contents): Make progress
9729 display more user-friendly.
9730 (epa-file-write-region): Ditto.
9731
3e26a4a2
CY
97322011-08-10 Chong Yidong <cyd@stupidchicken.com>
9733
9734 * subr.el (string-mark-left-to-right): New function.
9735
9736 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9737 Use string-mark-left-to-right.
9738 (list-buffers-noselect): Caller changed.
9739
a3dae87a
SM
9740 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9741 Use string-mark-left-to-right.
3e26a4a2
CY
9742 (tabulated-list-print): Recenter after moving point.
9743
ac8cf6e6
JL
97442011-08-10 Juri Linkov <juri@jurta.org>
9745
9746 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9747 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9748 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9749
8d96c9a4
CY
97502011-08-09 Chong Yidong <cyd@stupidchicken.com>
9751
9752 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9753 (Bug#7554).
9754
7be1c708 97552011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9756
9757 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9758 character. (Bug#6594)
9759
37e11a63
CY
97602011-08-08 Chong Yidong <cyd@stupidchicken.com>
9761
839dde57
CY
9762 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9763 (image-dired--with-db-file): New macro.
9764 (image-dired-write-tags, image-dired-remove-tag)
9765 (image-dired-create-gallery-lists, image-dired-write-comments)
9766 (image-dired-get-comment, image-dired-mark-tagged-files)
9767 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9768 (image-dired-gallery-generate): Use insert-file-contents.
9769
37e11a63
CY
9770 * time.el (display-time-world-list, display-time-world-display):
9771 * time-stamp.el (time-stamp-string):
9772 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9773 set-time-zone-rule (Bug#7337).
9774
0b4946c4
DU
97752011-08-08 Daiki Ueno <ueno@unixuser.org>
9776
9777 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9778 (epg-error-to-string, epg-errors-to-string): New function.
9779 (epg-wait-for-completion): Reverse errors list.
9780 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9781 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9782 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9783 (epg-sign-keys, epg-generate-key-from-file)
9784 (epg-generate-key-from-string): Format errors by using
9785 epg-errors-to-string (bug#9255).
9786 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9787
75bfc667
JL
97882011-08-07 Juri Linkov <juri@jurta.org>
9789
9790 * faces.el (list-faces-display): Remove extra angle bracket
9791 from `help-mode-map'.
9792
9793 * info.el (Info-history-toc-nodes): Doc fix.
9794
9795 * longlines.el (longlines-mode): Doc fix.
9796
673e08bb
SM
97972011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9798
4640dd88
SM
9799 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9800 of statements and in a few more cases (bug#9183).
9801
673e08bb
SM
9802 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9803 New functions.
9804 (cl-transform-lambda): Use them (bug#9239).
9805
89b3f019
MR
98062011-08-05 Martin Rudalics <rudalics@gmx.at>
9807
9808 * window.el (display-buffer-same-window)
9809 (display-buffer-same-frame, display-buffer-other-window)
9810 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9811 (pop-to-buffer-other-window)
9812 (pop-to-buffer-same-frame-other-window)
9813 (pop-to-buffer-other-frame): Make them defuns.
9814 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9815
640c8776
SM
98162011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9817
9818 * subr.el (make-composed-keymap): Move from C. Change calling
9819 convention, and improve docstring to bring attention to a subtle point.
9820 * minibuffer.el (completing-read-default): Adjust accordingly.
9821
63648a95
MA
98222011-08-03 Michael Albinus <michael.albinus@gmx.de>
9823
9824 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9825 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9826
9827 * net/trampver.el: Update release number.
9828
b796c9b7
SM
98292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9830
9831 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9832 "in" (bug#9190).
9833
2239d7d5
LMI
98342011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9835
e07dd7c3
LMI
9836 * mail/sendmail.el (sendmail-query-once): Restore the current
9837 buffer after querying (bug#9074).
9838
0e6a2bd7
LMI
9839 * dired.el (dired-flagged): Use different faces for marked and
9840 flagged files (bug#6117).
9841
ce887515
LMI
9842 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9843 (bug#4433).
9844
92f2affc
LMI
9845 * ido.el (ido-mode): Switch off the message if called
9846 non-interactively.
9847
57d5aff0
LMI
9848 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9849 before 587, since it appears that that's more likely to work for
9850 more people.
9851
98cd6c18 9852 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9853 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9854 exist.
9855
b96dec83
LMI
9856 * info.el: Remove the `Info-beginning-of-buffer' function
9857 (bug#8325).
9858
b796c9b7
SM
9859 * net/network-stream.el (network-stream-open-starttls):
9860 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9861
d90e2ea0
MR
98622011-08-01 Martin Rudalics <rudalics@gmx.at>
9863
9864 * window.el (display-buffer-in-window): Don't set dedicated status
9865 of window here (Bug#9215).
9866 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9867 (display-buffer-pop-up-side-window)
b796c9b7 9868 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9869
cca09170
SM
98702011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9873 before binding generated-autoload-file.
9874
027b979c
DD
98752011-08-01 Deniz Dogan <deniz@dogan.se>
9876
9877 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9878
3c7ee4f3
MA
98792011-07-30 Michael Albinus <michael.albinus@gmx.de>
9880
9881 Sync with Tramp 2.2.2.
9882
9883 * net/trampver.el: Update release number.
9884
2cc8e51a
JL
98852011-07-30 Juri Linkov <juri@jurta.org>
9886
9887 * dired-aux.el (dired-touch-initial): Remove function.
9888 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9889 current time, and `default' to the last modification time of the
9890 current marked file (bug#6887).
9891
a514d856
JM
98922011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9893
9894 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9895 numeric argument to read-number (bug#9163).
a514d856 9896
8a7eddd7
MA
98972011-07-27 Michael Albinus <michael.albinus@gmx.de>
9898
9899 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9900 connection process, it could be nil.
9901
1ddd96f5
LL
99022011-07-27 Leo Liu <sdl.web@gmail.com>
9903
9904 Simplify url handling in rcirc-mode.
9905
9906 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9907 (rcirc-browse-url-at-mouse): Remove.
9908 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9909
b248a85d
AM
99102011-07-26 Alan Mackenzie <acm@muc.de>
9911
9912 Fontify bitfield declarations properly.
9913
9914 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9915 (c-symbol-chars): Now exported as a lang variable.
9916 (c-not-primitive-type-keywords): New lang variable.
9917
9918 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9919 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9920 parsed as a bitfield declaration.
b248a85d 9921
b796c9b7
SM
9922 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9923 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9924 (c-punctuation-in): New function.
9925 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9926 declarations properly.
9927
68575ab0
UJ
99282011-07-26 Ulf Jasper <ulf.jasper@web.de>
9929
9930 * calendar/icalendar.el (icalendar--all-events): Take care of
9931 multiple vcalendars in a single file.
b796c9b7 9932 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9933
0f0a88b9
DD
99342011-07-25 Deniz Dogan <deniz@dogan.se>
9935
9936 * image.el (insert-image): Clarifying docstring.
9937
0b3f36df
MA
99382011-07-24 Michael Albinus <michael.albinus@gmx.de>
9939
9940 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9941 `tramp-send-command-and-check' if there is no error.
9942 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9943
a9901f61
AM
99442011-07-22 Alan Mackenzie <acm@muc.de>
9945
9946 Prevent cc-langs.elc being loaded at run time.
9947
9948 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9949 cc-langs.
9950
4d61f28d 9951 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9952 "(require 'cc-langs)". Quote a form so it will evaluate at
9953 (cc-mode's) compilation time.
9954
11d074b2
MA
99552011-07-22 Michael Albinus <michael.albinus@gmx.de>
9956
9957 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9958 loading. (Bug#9114)
9959
938b94c8
MR
99602011-07-21 Martin Rudalics <rudalics@gmx.at>
9961
9962 * window.el (display-buffer-pop-up-window)
9963 (display-buffer-pop-up-side-window)
9964 (display-buffer-in-side-window): Call display-buffer-set-height
9965 and display-buffer-set-width after setting the new window's
b796c9b7 9966 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9967
bfa4f190
SS
99682011-07-20 Sam Steingold <sds@gnu.org>
9969
9970 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9971 (etags-tags-included-tables): Call `convert-standard-filename' on
9972 the file names contained in TAGS so that windows Emacs can handle
9973 TAGS files created by cygwin ctags.
9974
8ca42262
LMI
99752011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9976
9977 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9978 which apparently didn't work.
9979
5db2afd2 99802011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9981
5db2afd2
RW
9982 * proced.el (proced-send-signal): For *Marked Processes* buffer
9983 put point at beginning of buffer.
9984
92e15d10
SB
99852011-07-19 Stephen Berman <stephen.berman@gmx.net>
9986
9987 * proced.el (proced-format): Make header lines align with the text
9988 (bug#1779).
9989
1bfd59e5
LMI
99902011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9991
9992 * view.el (view-buffer): Allow running in `special' modes if we're
9993 visiting a file (bug#8615).
9994
f5aae37c
MR
99952011-07-19 Martin Rudalics <rudalics@gmx.at>
9996
9997 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9998 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9999 New functions.
f5aae37c
MR
10000 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10001 more accurately.
10002
bf2c1571
AM
100032011-07-18 Alan Mackenzie <acm@muc.de>
10004
10005 Fontify declarators properly when, e.g., a jit-lock chunk begins
10006 inside a declaration.
10007
10008 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10009
b796c9b7
SM
10010 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10011 New function.
bf2c1571
AM
10012 (c-complex-decl-matchers): Insert reference to
10013 c-font-lock-enclosing-decls.
10014
10015 * progmodes/cc-engine.el (c-backward-single-comment):
10016 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10017 to nil around calls to (forward-comment -1).
10018
4e190b80
LMI
100192011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10020
12dc863d
LMI
10021 * image.el (put-image): Doc typo fix.
10022
a762e966
LMI
10023 * progmodes/etags.el (tags-search): Doc typo fix.
10024
4e190b80
LMI
10025 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10026 password if we get errors 550 to 554.
10027
f019fb21
LMI
100282011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10029
b796c9b7 10030 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10031
81746738
LMI
10032 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10033 indentation character (bug#6380).
10034
3ee3a1b5
LMI
10035 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10036
c82f64de
LMI
10037 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10038 to clarify what the problem is (bug#4291).
10039
f019fb21
LMI
10040 * simple.el (current-kill): Clarify what
10041 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10042 (auto-fill-mode): Document `auto-fill-function' in relation to
10043 `auto-fill-mode' (bug#2470).
f019fb21 10044
0794775d
LM
100452011-07-16 Lawrence Mitchell <wence@gmx.li>
10046
10047 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10048 method if slot is read-only (bug#9035).
10049
be39b8cc
MR
100502011-07-16 Martin Rudalics <rudalics@gmx.at>
10051
b796c9b7 10052 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10053 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10054 selected before, see discussion of (Bug#8615), (Bug#6954).
10055 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10056
6ccf7859
GM
100572011-07-15 Glenn Morris <rgm@gnu.org>
10058
10059 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10060 Respect help-form.
6ccf7859 10061
87e86684
LM
100622011-07-09 Lawrence Mitchell <wence@gmx.li>
10063
10064 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10065 (gnutls-negotiate): Use it.
10066
d6066239
LMI
100672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10068
b796c9b7
SM
10069 * net/gnutls.el (gnutls-negotiate):
10070 Upcase `gnutls-algorithm-priority'.
d6066239 10071
bd23ebc0
GM
100722011-07-15 Glenn Morris <rgm@gnu.org>
10073
c65bca65
GM
10074 * jka-compr.el (jka-compr-verbose): Move from here...
10075 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10076 Add missing :version tag.
10077 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10078
478615cc
LMI
100792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10080
7b41decb
LMI
10081 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10082 (gnutls-negotiate): Use it.
10083
dbc44fcd
LMI
10084 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10085
06789f97
LMI
10086 * info.el (Info-beginning-of-buffer): New command.
10087 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10088 announcing `b' as the key (bug#8325).
ab896c37 10089 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10090
c39da690
LMI
10091 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10092
3aa5f34b
LMI
10093 * international/mule-cmds.el
10094 (describe-specified-language-support): Make the error message
10095 clearer (bug#8905).
10096
4bf0979f
LMI
10097 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10098
478615cc
LMI
10099 * isearch.el (isearch-barrier): Add a doc string, since it's
10100 mentioned in a function doc string (bug#8678).
10101
75c68aa1
MR
101022011-07-15 Martin Rudalics <rudalics@gmx.at>
10103
10104 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10105 buffer argument (Bug#9083) and self-identifying label argument.
10106
a7c33da2
GM
101072011-07-15 Glenn Morris <rgm@gnu.org>
10108
10109 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10110
2f5c6024
LMI
101112011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10112
10113 * man.el (Man-fontify-manpage): Fix message when formatting the
10114 man page (bug#7929).
10115
0bb23927 101162011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10117
10118 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10119 argument LRM; if non-nil, append an invisible LRM character to the
10120 buffer name.
10121 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10122 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10123 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10124 paragraph direction.
cce4b0a7 10125
621ef9ab
LMI
101262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10127
d1583c48
LMI
10128 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10129 the man page name (bug#7929).
10130
6a57fb5f
LMI
10131 * image.el (put-image): Mention the `put-image' overlay property
10132 (bug#7834).
10133
d7956b14
LMI
10134 * scroll-bar.el (set-scroll-bar-mode): Mention that
10135 `scroll-bar-mode' lists the values (bug#7772).
10136
5b2d4a66
LMI
10137 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10138 command (bug#7729).
10139
7509a874
LMI
10140 * rect.el (apply-on-rectangle): Return the point after the last
10141 operation.
10142 (string-rectangle): Go to the point after the last operation
10143 (bug#7522).
10144
4fe74b19
LMI
10145 * printing.el (pr-toggle-region): Clarify the documentation
10146 slightly (bug#7493).
10147
b796c9b7
SM
10148 * time.el (display-time-update):
10149 Allow `display-time-mail-function' to return nil (bug#7158).
10150 Fix suggested by Detlev Zundel.
ab283561 10151
fc233c9d
LMI
10152 * vc/diff.el (diff): Clarify the order the file names are read
10153 (bug#7111).
10154
43f5740b
LMI
10155 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10156 the doc string (bug#7015).
10157
f2182a76
LMI
10158 * font-lock.el (font-lock-maximum-decoration): Mention what
10159 numeric levels mean (bug#6935).
10160
621ef9ab
LMI
10161 * startup.el (initial-buffer-choice): Don't mention the `none'
10162 selection, which is against policy.
10163
adc47434
MR
101642011-07-14 Martin Rudalics <rudalics@gmx.at>
10165
b796c9b7
SM
10166 * window.el (display-buffer-normalize-special):
10167 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10168
7e5bfb8f
EZ
101692011-07-14 Eli Zaretskii <eliz@gnu.org>
10170
10171 * subr.el (version<, version<=, version=): Mention "-CVS" and
10172 "-12345" alpha version numbers.
10173
27fa387a
CY
101742011-07-14 Chong Yidong <cyd@stupidchicken.com>
10175
10176 * bindings.el: Add advertised binding for set-mark-command
10177 (Bug#5772).
10178
8bdfa064
CY
101792011-07-14 Chong Yidong <cyd@stupidchicken.com>
10180
10181 * bindings.el (mode-line-other-buffer):
10182 * bookmark.el (bookmark-bmenu-2-window):
10183 * bs.el (bs-cycle-next, bs-cycle-previous):
10184 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10185 switch-to-buffer.
10186
10187 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10188 Delete.
8bdfa064 10189
5eba16a3
JB
101902011-07-14 Juanma Barranquero <lekktu@gmail.com>
10191
10192 * follow.el (follow-debug-message, follow-redisplay):
10193 * jka-cmpr-hook.el (with-auto-compression-mode):
10194 Fix typos in docstrings.
10195
15853710
LMI
101962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10197
a28e4607
LMI
10198 * subr.el (with-silent-modifications): Clarify somewhat what the
10199 macro inhibits (bug#6525).
10200
15853710
LMI
10201 * simple.el (eval-expression): Note what it does if called
10202 interactively (bug#6495).
10203
bee0fcef
CY
102042011-07-13 Chong Yidong <cyd@stupidchicken.com>
10205
b796c9b7
SM
10206 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10207 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10208
10209 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10210 Remove switch-to-buffer.
10211
58274504
LMI
102122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10213
bd2fcc8d
LMI
10214 * files.el (make-directory): Clarify that an error will be raised
10215 if there's an error (bug#6397).
10216
0f04b32c
LMI
10217 * startup.el (initial-buffer-choice): Add `none' as a choice
10218 (bug#6234).
10219
465c5fc8
LMI
10220 * subr.el (add-hook): Clarify section about buffer-local hooks
10221 (bug#6218).
10222
58274504
LMI
10223 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10224
bead9a43
JB
102252011-07-13 Juanma Barranquero <lekktu@gmail.com>
10226
10227 * tabify.el (untabify): Preserve the current column so that point
10228 doesn't move (bug#6032).
10229
3af98a7b
LMI
102302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10231
b796c9b7
SM
10232 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10233 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10234
6240145a
GM
102352011-07-13 Glenn Morris <rgm@gnu.org>
10236
10237 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10238 (dired-insert-directory): Give a message the first time
10239 if ls is found not to support --dired.
10240
1d8c2ccc
LMI
102412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10242
10243 * simple.el (toggle-truncate-lines): Clarify what is toggled
10244 (bug#5580). Text by Drew Adams.
10245
5fc4038e
CY
102462011-07-13 Chong Yidong <cyd@stupidchicken.com>
10247
10248 * simple.el (blink-matching-open): Make the error message from the
10249 last change less verbose.
10250
bf6012e5
DN
102512011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10252
10253 * font-lock.el (font-lock-comment-face): Use the high contrast
10254 "yellow" color for font-lock-comment-face on low color terminals
10255 using a dark background color (bug#4221).
10256
343c3b5a
LMI
102572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10258
7e9505c5
LMI
10259 * dired.el (dired-insert-set-properties): Make the doc string
10260 reflect what it does now (bug#5325).
10261
c26fdcf5
LMI
10262 * simple.el (blink-matching-open): Say that we were unable to find
10263 the match within the limit, if we're limited (bug#5122).
10264
bb388cc5
LMI
10265 * international/mule-cmds.el (prefer-coding-system): Add an
10266 example (bug#4869).
10267
343c3b5a
LMI
10268 * progmodes/etags.el (tags-search): Document `file-list-form'
10269 (bug#4731).
10270
2a517d45
LM
102712011-07-13 Lawrence Mitchell <wence@gmx.li>
10272
10273 * net/browse-url.el (browse-url-default-browser)
10274 (browse-url-browser-function): Make the default browser choice a
10275 bit more logical (bug#4300). Also clean up the doc string.
10276
b6c78ef2
JB
102772011-07-13 Juanma Barranquero <lekktu@gmail.com>
10278
10279 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10280 binary endings (bug#4440).
10281
1c4dd947
LMI
102822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10283
a2014063
LMI
10284 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10285 which can be pretty annoying (bug#8971).
10286
9c9c2d88
LMI
10287 * jka-compr.el (jka-compr-verbose): New variable, and use
10288 throughout (bug#8971).
10289
1c4dd947
LMI
10290 * info.el (Info-find-file): Fall back on the installation
10291 directory if we can't find the info node anywhere else.
10292
a1c9f41b
SO
102932011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10294
10295 * vc/vc.el (vc-revert-file):
10296 Don't set file time-stamp in the past. (Bug#5181)
10297
536f3d36
LMI
102982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10299
7152b011
LMI
10300 * files.el (after-find-file): Give a better error message when
10301 trying to find a symlink that points to a file that doesn't exist
10302 (bug#4398).
10303
536f3d36
LMI
10304 * progmodes/cc-vars.el: Remove (probably) misleading comment
10305 (bug#4396).
10306
460c0fba
JB
103072011-07-12 Johan Bockgård <bojohan@gnu.org>
10308
10309 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10310
7a6bda45
CY
103112011-07-12 Chong Yidong <cyd@stupidchicken.com>
10312
10313 * mouse-sel.el: Hack restoring functionality, while keeping
10314 compatibility with 2010-07-03 changes to mouse selection.
10315 (mouse-sel-primary-overlay): New var.
10316 (mouse-sel-selection-alist): Use it.
10317 (mouse-sel-mode): Doc fix; remove points that are default features
10318 of mouse.el.
10319
c79598ef
JB
103202011-07-12 Johan Bockgård <bojohan@gnu.org>
10321
10322 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10323 Fix previous fix (bug#2490).
10324
ff8be6ef
RW
103252011-07-12 Roland Winkler <winkler@gnu.org>
10326
b796c9b7
SM
10327 * textmodes/bibtex.el (bibtex-initialize):
10328 Use pop-to-buffer-same-window.
ff8be6ef
RW
10329 (bibtex-search-entries): Fix interactive call.
10330
296ba3ee
LMI
103312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10332
f5242a02 10333 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10334 Fontise bytecomp Error lines more correctly (bug#2490).
10335 Fix suggested by Johan Bockgård.
f5242a02 10336
296ba3ee
LMI
10337 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10338
10339 * dired-x.el (dired-guess-default): Use `delete-dups'.
10340
f69fd0d2
CY
103412011-07-12 Chong Yidong <cyd@stupidchicken.com>
10342
10343 * dired.el (dired-mark-prompt):
10344 * dired-aux.el (dired-read-shell-command): Doc fix.
10345
eab5dc07
LMI
103462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10347
b796c9b7
SM
10348 * mail/sendmail.el (sendmail-query-once):
10349 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10350 emacs -Q.
10351
10352 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10353
eab5dc07
LMI
10354 * cus-edit.el (custom-file): Take an optional no-error variable.
10355 (customize-save-variable): Set the variable, and give a warning if
10356 running under "emacs -q".
10357
a1e65d42
JB
103582011-07-11 Juanma Barranquero <lekktu@gmail.com>
10359
10360 * loadhist.el (unload-feature-special-hooks):
10361 Add `auto-coding-functions', `fill-nobreak-predicate' and
10362 `find-directory-functions' (bug#5327).
10363
1d52da10
LMI
103642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10365
be958f1d
LMI
10366 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10367
5bedb26c
LMI
10368 * cus-edit.el (custom-guess-name-alist): -alist variables should
10369 use the `alist' type (bug#3120). Suggested by Drew Adams.
10370
1d52da10
LMI
10371 * printing.el: Add documentation to all the `pr-toggle-' commands.
10372
cd394be1 103732011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10374
10375 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10376 backends where it makes sense (bug#2623).
10377
dcc88d8a
LMI
103782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10379
c3de9feb
LMI
10380 * dired-x.el (dired-guess-default): Remove duplicate shell command
10381 entries (bug#2028).
8a93078b 10382 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10383 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10384
dcc88d8a
LMI
10385 * subr.el (remove-duplicates): New conveniency function.
10386
505e3645
LMI
103872011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10388
10389 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10390 (bug#1526).
10391
103922011-07-10 Martin Rudalics <rudalics@gmx.at>
10393
10394 * window.el (display-buffer-normalize-default): Don't invert
10395 meaning of even-window-heights. Reported by Eli Zaretskii
10396 <eliz@gnu.org>.
10397
455e4fa1
BR
103982011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10399
10400 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10401
8e0bc3e9
CY
104022011-07-10 Chong Yidong <cyd@stupidchicken.com>
10403
10404 * window.el (display-buffer): Fix arguments to
10405 display-buffer-reuse-window in last change.
10406
fa7c3228
CY
10407 * faces.el (link): Use a less saturated blue on light backgrounds.
10408
10409 * startup.el (fancy-startup-text, fancy-about-text)
10410 (fancy-startup-tail): Use font-lock faces, for background safety.
10411
c0a7f300
BN
104122011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10413
b796c9b7
SM
10414 * emulation/viper-cmd.el (viper-change-state-to-vi):
10415 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10416
4dc2a129
MR
104172011-07-09 Martin Rudalics <rudalics@gmx.at>
10418
10419 * window.el (display-buffer-default-specifiers): Remove.
10420 (display-buffer-macro-specifiers): Remove default specifiers.
10421 (display-buffer-alist): Default to nil.
b796c9b7 10422 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10423 (display-buffer-pop-up-window): Allow splitting internal
10424 windows. Check whether a live window was created.
10425 (display-buffer-other-window-means-other-frame)
10426 (display-buffer-normalize-arguments): Rename to
10427 display-buffer-normalize-argument and rewrite. Set the
10428 other-window specifier.
10429 (display-buffer-normalize-special): New function.
10430 (display-buffer-normalize-options): Rename to
10431 display-buffer-normalize-default and rewrite.
10432 (display-buffer-normalize-options-inhibit): Remove.
10433 (display-buffer-normalize-specifiers): Rewrite.
10434 (display-buffer): Process other-window specifier and call
10435 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10436 more faithfully.
b796c9b7 10437 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10438 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10439 (display-buffer-in-window, display-buffer-alist-set):
10440 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10441 <tassilo@member.fsf.org>.
10442
2d43b8c9
LL
104432011-07-09 Leo Liu <sdl.web@gmail.com>
10444
10445 * register.el (insert-register): Restore accidental change on
10446 2011-06-26. (Bug#9028)
10447
7f9b7c53
GM
104482011-07-09 Glenn Morris <rgm@gnu.org>
10449
10450 * subr.el (remq): Handle the empty list. (Bug#9024)
10451
f042cfd8
AS
104522011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10453
10454 * mail/sendmail.el (send-mail-function): No longer delay custom
10455 initialization.
10456 * custom.el (custom-initialize-delay): Doc fix.
10457
856b2f11
SM
104582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10461
afae1d68
MA
104622011-07-08 Michael Albinus <michael.albinus@gmx.de>
10463
10464 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10465 human-friendly prompt.
10466
0757af94
SM
104672011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10470 provided by a particular plugin.
10471
d760b731
LMI
104722011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10473
10474 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10475 save customizations (with "emacs -Q"), just set the variable
10476 instead of erroring out.
10477
10478 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10479
cd79ce90
JL
104802011-07-08 Juri Linkov <juri@jurta.org>
10481
10482 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10483 (archive-zip-update-case): Use 7z if found by `executable-find'.
10484 The order of searching the available programs is the same as in
10485 `archive-zip-extract' (bug#8968).
10486
14cc04aa
CY
104872011-07-07 Chong Yidong <cyd@stupidchicken.com>
10488
10489 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10490 (menu-bar-options-menu): Tweak descriptions.
10491
0a1848ec
LMI
104922011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10493
10494 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10495 menu items into verb phrases (bug#1421). Also refill to fit under
10496 80 columns.
10497
f5bd0689
CY
104982011-07-07 Chong Yidong <cyd@stupidchicken.com>
10499
538e85c6
CY
10500 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10501 (Info-read-node-name): Doc fix (Bug#1084).
10502
f5bd0689
CY
10503 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10504 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10505 (end-of-sexp, beginning-of-sexp)
10506 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10507 (forward-symbol, forward-same-syntax, word-at-point)
10508 (sentence-at-point): Doc fix (Bug#1144).
10509
56ec5115
LMI
105102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10511
f3f8e37f
LMI
10512 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10513 should cover it (bug#1281).
10514
0757af94 10515 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10516
e9fce1ac 10517 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10518 negotiation fails, then possibly try again with a non-encrypted
10519 connection (bug#9017).
10520
56ec5115
LMI
10521 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10522 be used.
10523
c2f9aec8
RS
105242011-07-07 Richard Stallman <rms@gnu.org>
10525
10526 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10527 property, and handle its changed format.
10528 Look for the correct line number.
10529 Use file's line contents (but not past first =) to find
10530 correct line in message.
10531
ef7b981d 105322011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10533
10534 * international/characters.el (build-unicode-category-table):
10535 Delete it.
0757af94 10536 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10537
0757af94 10538 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10539 to src/chartab.c.
10540 (get-char-code-property): Call unicode-property-table-internal to
10541 load a file. Call get-unicode-property-internal where necessary.
10542 (put-char-code-property): Call unicode-property-table-internal to
10543 load a file. Call put-unicode-property-internal where necessary.
10544 put-unicode-property-internal where necessary.
0757af94
SM
10545 (char-code-property-description):
10546 Call unicode-property-table-internal to load a file.
c805dec0
KH
10547
10548 * international/charprop.el:
10549 * international/uni-bidi.el:
10550 * international/uni-category.el:
10551 * international/uni-combining.el:
10552 * international/uni-comment.el:
10553 * international/uni-decimal.el:
10554 * international/uni-decomposition.el:
10555 * international/uni-digit.el:
10556 * international/uni-lowercase.el:
10557 * international/uni-mirrored.el:
10558 * international/uni-name.el:
10559 * international/uni-numeric.el:
10560 * international/uni-old-name.el:
10561 * international/uni-titlecase.el:
10562 * international/uni-uppercase.el: Regenerate.
10563
10564 * loadup.el: Load international/charprop.el before
10565 international/characters.
10566
e14b388a
CY
105672011-07-07 Chong Yidong <cyd@stupidchicken.com>
10568
10569 * window.el (next-buffer, previous-buffer): Signal an error if
10570 called from a minibuffer window.
10571
10572 * bindings.el: Revert 2011-07-04 change.
10573
354cf0ba
RS
105742011-07-06 Richard Stallman <rms@gnu.org>
10575
10576 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10577 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10578 Treat markers like ints.
10579 (rmail-mime-entity): Doc fix.
10580
a48868a7
LMI
105812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10582
4906cd3d
LMI
10583 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10584 defcustom again for backwards compatibility.
10585
e0457abe
LMI
10586 * simple.el (shell-command-on-region): Fill.
10587
d67f7e1f
LMI
10588 * dired-aux.el (dired-kill-line): Add a doc string.
10589
fe204702
LMI
10590 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10591 to "\\sw\\|\\s_" (bug#358).
10592
a48868a7
LMI
10593 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10594 (dired-unmark-backward): Ditto.
10595 (dired-flag-backup-files): Ditto.
10596
10597 * dired-x.el (dired-mark-sexp): Ditto.
10598
aa8a705c
RS
105992011-07-06 Richard Stallman <rms@gnu.org>
10600
10601 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10602 (rmail-mime-entity): New arg TRUNCATED.
10603 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10604 New functions.
10605 (rmail-mime-save): Warn if entity is truncated.
10606 (rmail-mime-toggle-hidden): Likewise, for showing.
10607 (rmail-mime-process-multipart): Record when an entity is truncated.
10608
a9a936b9
RS
10609 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10610 if ENTITY is a string.
10611
1f2b92cb
LMI
106122011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10613
f4f73198 10614 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10615 of faces when `M-C-x'-ing their definitions (bug#8378).
10616 Also clean up the code slightly.
f4f73198 10617
12b16734 10618 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10619 because that makes the colors go away.
12b16734 10620
f0691d22
LMI
10621 * mail/sendmail.el (send-mail-function): Change the default to
10622 `sendmail-query-once'.
9e87df06 10623 (sendmail-query-once): Add an autoload cookie.
f0691d22 10624
1f2b92cb
LMI
10625 * net/network-stream.el (network-stream-open-starttls): Try using
10626 a plain connection even if the server offered STARTTLS, and we
10627 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10628 capability. This should make smtpmail.el work in slightly more
10629 configurations.
10630
1cdd2a1b
MA
106312011-07-06 Michael Albinus <michael.albinus@gmx.de>
10632
10633 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10634 New defun.
10635 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10636
fbcc67e2
MM
106372011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10638
10639 * progmodes/sql.el: Version 3.0
0757af94 10640 (sql-product-alist): Add product :completion-object,
fbcc67e2 10641 :completion-column, and :statement attributes.
0757af94 10642 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10643 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10644 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10645 ansi keywords.
10646 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10647 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10648 (sql-oracle-show-reserved-words): New function for development.
10649 (sql-product-font-lock): Simplify for source code buffers.
10650 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10651 New functions.
10652 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10653 (sql-mode-map): Add statement movement functions.
10654 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10655 New variable.
fbcc67e2
MM
10656 (sql-statement-regexp, sql-beginning-of-statement)
10657 (sql-end-of-statement, sql-signum): New functions.
0757af94 10658 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10659 (sql-show-sqli-buffer): Bug fix.
10660 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10661 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10662 with sql-interactive-mode.
10663 (sql-save-connection): Save buffer local settings.
0757af94 10664 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10665 (sql-product-interactive): Bug fix.
10666 (sql-preoutput-hold): New variable.
10667 (sql-interactive-remove-continuation-prompt): Bug fixes.
10668 (sql-debug-redirect): New variable.
10669 (sql-str-literal): New function.
10670 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10671 Redesign.
fbcc67e2
MM
10672 (sql-oracle-save-settings, sql-oracle-restore-settings)
10673 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10674 (sql-completion-object, sql-completion-column)
10675 (sql-completion-sqlbuf): New variables.
10676 (sql-build-completions-1, sql-build-completions)
10677 (sql-try-completion): New functions.
10678 (sql-read-table-name): Use them.
10679 (sql-contains-names): New buffer local variable.
10680 (sql-list-all, sql-list-table): Use it.
10681 (sql-oracle-completion-types): New variable.
10682 (sql-oracle-completion-object, sql-sqlite-completion-object)
10683 (sql-postgres-completion-object): New functions.
10684
d4eaeab1
GM
106852011-07-06 Glenn Morris <rgm@gnu.org>
10686
10687 * window.el (pop-to-buffer): Doc fix.
10688
322b7dab 106892011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10690
10691 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10692
322b7dab 106932011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10694
322b7dab 10695 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10696
322b7dab 10697 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10698
605dd5bf
CY
106992011-07-05 Chong Yidong <cyd@stupidchicken.com>
10700
10701 * button.el (button): Inherit from link face. Suggested by Dan
10702 Nicolaescu.
10703
7dbfa719
SM
107042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10705
3db614b0
SM
10706 * progmodes/gdb-mi.el: Fit in 80 columns.
10707 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10708 switch-to-buffer.
10709
7dbfa719
SM
10710 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10711 if imenu is simply not configured (bug#8941).
10712
919d884a
KM
107132011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10714
10715 * allout.el (allout-post-undo-hook): New allout outline-change
10716 event hook to signal undo activity.
10717 (allout-post-command-business): Run allout-post-undo-hook if an
10718 undo just occurred.
7dbfa719
SM
10719 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10720 * allout-widgets.el (allout-widgets-after-undo-function):
10721 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10722 in the vicinity of an undo.
10723 (allout-widgets-mode): Include allout-widgets-after-undo-function
10724 on the new allout-post-undo-hook.
10725
450a0f09
SM
107262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10729 Let define-derived-mode define it.
10730 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10731 cycles of abbrev-table inheritance (bug#8998).
10732
2de69e00
RW
107332011-07-05 Roland Winkler <winkler@gnu.org>
10734
10735 * textmodes/bibtex.el: Add support for biblatex.
10736 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10737 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10738 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10739 (bibtex-entry-alist, bibtex-field-alist): New variables.
10740 (bibtex-entry-field-alist): Obsolete alias for
10741 bibtex-BibTeX-entry-alist.
10742 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10743 (bibtex-set-dialect): New command.
10744 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10745 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10746 Bind via bibtex-set-dialect.
2de69e00
RW
10747 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10748 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10749 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10750 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10751 Define via bibtex-set-dialect.
450a0f09
SM
10752 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10753 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10754 (bibtex-vec-push, bibtex-vec-incr): New functions.
10755 (bibtex-format-entry, bibtex-field-list)
10756 (bibtex-print-help-message, bibtex-validate)
10757 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10758
2dcdbdd9
SM
107592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10760
10761 * progmodes/compile.el (compilation-goto-locus):
10762 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10763 * bs.el (bs-cycle-next, bs-cycle-previous):
10764 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10765 * bindings.el (mode-line-other-buffer):
10766 * autoinsert.el (auto-insert):
10767 * arc-mode.el (archive-extract):
10768 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10769
b27640fe
JB
107702011-07-05 Juanma Barranquero <lekktu@gmail.com>
10771
10772 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10773 Fix check of `emacs-lock-unlockable-modes'.
10774 Coerce true values of `emacs-lock--try-unlocking' to t.
10775
53bbe3ad
JB
107762011-07-05 Juanma Barranquero <lekktu@gmail.com>
10777
10778 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10779 * emacs-lock.el: New file.
10780
1d3cdbc7
JD
107812011-07-05 Julien Danjou <julien@danjou.info>
10782
10783 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10784 than `boundp' to check if face is set.
10785
9173deec
JB
107862011-07-05 Juanma Barranquero <lekktu@gmail.com>
10787
10788 * register.el (registerv-make):
10789 * window.el (window-min-height): Fix typos in docstrings.
10790
869795d6
JD
107912011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10792
9173deec 10793 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10794 Update doc string.
10795
b768cdcd
JB
107962011-07-04 Juanma Barranquero <lekktu@gmail.com>
10797
10798 * server.el (server-execute): Catch quit and call
10799 `server-return-error' to pass the error back to emacsclient and
10800 close the connection (bug#8942).
10801
13aa217b
KM
108022011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10803
10804 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10805 insecure exception for current topic. Also note that auto-saves
10806 are handled differently.
10807
5d3385a0 10808 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10809 State variables for tracking auto-save inhibition situation.
10810
10811 (allout-write-contents-hook-handler): Rename from
10812 'allout-write-file-hook-handler', and describe how it depends on
10813 write-contents-functions sensitivity to non-nil value to prevent
10814 file write.
10815
10816 (allout-auto-save-hook-handler): Remove. auto-save does not check
10817 this in individual buffers, only in the starting buffer, so this
10818 is not the right way for us to inhibit auto-save in a buffer
10819 according to its condition.
10820
10821 (allout-mode): Use new allout-write-contents-hook-handler, and
10822 only with write-contents-functions. Remove auto-save provisions -
10823 they're implemented elsewhere.
10824
10825 (allout-before-change-handler): If undo is in progress, note that
10826 for attention of allout-post-command-business.
10827
10828 (allout-post-command-business): If the command we're following was
10829 an undo, check for change in the status of encrypted items and
10830 adjust auto-save inhibitions accordingly.
10831
10832 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10833 according to whether there are or aren't any plain-text topics
10834 pending encryption.
10835
2dcdbdd9 10836 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10837 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10838 if there are plain-text topics pending encryption.
13aa217b
KM
10839
10840 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10841 buffer-saved-size and some allout state to not inhibit auto-saves
10842 if there are no longer any plain-text topics pending encryption.
10843
0757af94
SM
10844 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10845 No longer provide for exemption of the current topic.
13aa217b 10846
ac89b32c
JL
108472011-07-04 Juri Linkov <juri@jurta.org>
10848
10849 Add 7z operations to delete and save changed members (bug#8968).
10850 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10851 New defcustoms.
10852 (archive-7z-write-file-member): New function.
10853 (archive-7z-summarize): Fix the number of dashes in the
10854 listing output.
10855
8fa39615
SM
108562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10859 (bug#8958).
10860
2f11b3f1
CY
108612011-07-04 Chong Yidong <cyd@stupidchicken.com>
10862
d66fef2b
CY
10863 * bindings.el: Ignore next-buffer and previous-buffer in
10864 minibuffer-local-map.
10865
2f11b3f1
CY
10866 * font-lock.el (font-lock-builtin-face): Change light background
10867 color to dark slate blue (Bug#6693).
10868
f932a347
WD
108692011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10870
10871 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10872
c8af70e1
SM
108732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10874
10875 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10876 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10877 Add switch-to-buffer.
10878
f158badc
LMI
108792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10880
10881 * isearch.el (isearch-search-fun-function): Clarify further the
10882 meaning of the function returned.
10883
6d95bd46
MA
108842011-07-04 Michael Albinus <michael.albinus@gmx.de>
10885
10886 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10887
10888 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10889 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10890 Use it.
10891 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10892 `tramp-default-remote-path' does not exist.
10893 (tramp-send-command-and-read): New optional argument NOERROR.
10894 (tramp-open-connection-setup-interactive-shell)
10895 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10896 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10897 (tramp-process-sentinel): Flush also process' connection property.
10898 (tramp-sh-handle-start-file-process): Do not set process
10899 sentinel. It is done now ...
10900 (tramp-maybe-open-connection): ... here. (Bug#8929)
10901
909e6b67
MK
109022011-07-04 MON KEY <monkey@sandpframing.com>
10903
10904 * play/animate.el (animate-string): Doc fixes and allow changing
10905 the buffer name (bug#5417).
10906
109072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10908
c8af70e1 10909 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10910
f34755dc
PE
109112011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10912
396cec72
PE
10913 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10914 This is simpler and helps future-proof the code.
10915 (timer-until): Use time-subtract and float-time.
08235028 10916 (timer--time-less-p): Use time-less-p.
f34755dc 10917
56e6cc31
JB
109182011-07-04 Juanma Barranquero <lekktu@gmail.com>
10919
3abb79e5
JB
10920 * type-break.el (timep): Use the value of `float-time' to avoid a
10921 byte-compiler warning.
10922
56e6cc31
JB
10923 * server.el (server-eval-and-print): Return any result, even nil.
10924
7b9430b4
PE
109252011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10926
10927 * type-break.el: Accept time formats that the builtins accept.
10928 (timep, type-break-time-difference): Accept any format that
10929 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10930 This is simpler and helps future-proof the code.
10931 (type-break-time-difference): Round rather than ignoring
10932 subseconds components.
10933
3034e9e7
LMI
109342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10935
10936 * info.el (Info-apropos-matches): Make non-interactive, since it
10937 doesn't seem to do anything useful as a command (bug#8829).
10938
1485f4c0
CY
109392011-07-03 Chong Yidong <cyd@stupidchicken.com>
10940
10941 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10942 Move from faces.el.
1485f4c0
CY
10943 (frame-default-terminal-background): New function.
10944
10945 * custom.el (custom-push-theme): Don't record faces in `changed'
10946 theme; this doesn't work correctly for per-frame face settings.
10947 (disable-theme): Use face-set-after-frame-default to reset faces.
10948 (custom--frame-color-default): New function.
10949
9fa3dd45
LMI
109502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10951
c8af70e1 10952 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10953 (bug#8769).
10954
6cbbc20c
KR
109552011-03-29 Kevin Ryde <user42@zip.com.au>
10956
10957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10958 `perl-Test2' extend to match possible "fail #N" rep count
10959 (bug#8377).
10960
c7f98048
LMI
109612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10962
65676592
LMI
10963 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10964 `smtpmail-via-smtp' now returns the error instead of nil.
10965
c7f98048
LMI
10966 * isearch.el (isearch-search-fun-function): Clarify the doc string
10967 (bug#8101).
10968
56e6cc31 109692011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10970
10971 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10972 unnecessary spaces (bug#8987).
10973
2b216704
LMI
109742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10975
10976 * net/network-stream.el (open-network-stream): Use the
10977 :end-of-capability command thoughout.
10978
109792011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10980
10981 * net/network-stream.el (open-network-stream): Add the
10982 :end-of-capability command parameter, used by pop3.el.
10983
36adf6ce
LMI
109842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10985
1ca0da0e
LMI
10986 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10987
fc00f69c
LMI
10988 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10989 for list)" (bug#6475).
10990
28fd8759 10991 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10992 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10993 an error (bug#6297).
10994
0dd8b6da
LMI
10995 * man.el (Man-reference-regexp): Allow matching possible
10996 word-wrapped references (bug#6289).
10997
ce1438d6
LMI
10998 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10999 for consistency with the other vc buffers (bug#6197).
11000 (vc-checkin): Ditto.
11001
11002 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11003
36adf6ce
LMI
11004 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11005
e83cc1f7
LMI
110062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11007
8a20ca4c
LMI
11008 * custom.el (defcustom): Clarify that :set is only used in the
11009 Customize user interface (bug#6089).
11010
83319045
LMI
11011 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11012 associated with a file, refuse to run instead of erroring out
11013 (bug#6084).
11014
a8392169
LMI
11015 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11016 the doc string, since it appears that using `fill-column' always
11017 controls the width (bug#7845).
11018
e83cc1f7
LMI
11019 * simple.el (shell-command-on-region): Say where the error output
11020 went if `shell-command-default-error-buffer' is set (bug#6857).
11021
e47ca23b
KM
110222011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11023
11024 * allout.el (allout-yank-processing): Adjust cursor position for
11025 backwards-deleted space.
11026
11027 (allout-rebullet-heading): Register changes with
11028 allout-exposure-changed-hook, so the modified topic is properly
11029 decorated.
11030
5cf56143
LMI
110312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11032
08549772
LMI
11033 * minibuffer.el (completion-in-region): Document PREDICATE
11034 (bug#7136).
11035
48e96771
LMI
11036 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11037 of keyword/argument pairs (bug#6904).
11038
c8af70e1
SM
11039 * replace.el (multi-occur):
11040 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11041
e17d05e2
LMI
110422011-07-02 Drew Adams <drew.adams@oracle.com>
11043
11044 * dired.el (dired-mark-if): Make the message about whether it's
11045 marking or unmarking clearer (bug#8523).
11046
063b0e45
LMI
110472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11048
11049 * disp-table.el (display-table-print-array): New function.
11050 (describe-display-table): Use it to print the vectors more pretty
11051 (Bug#8859).
11052
28545e04
MR
110532011-07-02 Martin Rudalics <rudalics@gmx.at>
11054
11055 * window.el (window-state-get-1): Don't assign clone numbers.
11056 Add clone-of item to list of window parameters.
11057 (window-state-put-2): Don't process clone numbers.
11058 (display-buffer-alist): Fix doc-string.
11059
3349e122
SM
110602011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * subr.el (remq): Don't allocate if it's not needed.
11063 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11064 (keymap--merge-bindings): New functions.
11065 (keymap-canonicalize): Use them to refine the canonicalization.
11066 * minibuffer.el (minibuffer-local-completion-map)
11067 (minibuffer-local-must-match-map): Move initialization from C.
11068 (minibuffer-local-filename-completion-map): Move initialization from C;
11069 don't inherit from anything here.
11070 (minibuffer-local-filename-must-match-map): Make obsolete.
11071 (completing-read-default): Use make-composed-keymap to combine
11072 minibuffer-local-filename-completion-map with either
11073 minibuffer-local-must-match-map or
11074 minibuffer-local-filename-completion-map.
11075
d224ac83
GM
110762011-07-01 Glenn Morris <rgm@gnu.org>
11077
3de63bf8
GM
11078 * type-break.el (type-break-time-sum): Use dolist.
11079
d224ac83
GM
11080 * textmodes/flyspell.el (flyspell-word-search-backward):
11081 Replace CL function.
11082
1a1e3f32
SM
110832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11084
fe3f64d5
SM
11085 * mouse.el (mouse--strip-first-event): New function.
11086 (function-key-map): Use it to map fringe clicks to normal clicks
11087 by default.
11088
eb604e34
SM
11089 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11090 (vc-bzr-revision-completion-table): Add support for annotate and date.
11091
1a1e3f32
SM
11092 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11093 inherit from parent.
11094
5bd35902
LMI
110952011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11096
ace6c69c 11097 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11098 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11099
191e2bed
LMI
11100 * dired.el (dired-mode): Fix up the doc string as suggested by
11101 Drew Adams (bug#8817).
11102
5bd35902
LMI
11103 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11104 cookie, since the manual says that it should be possible to add
11105 this function to `find-file-hook' (bug#8709).
11106
eee8207a
TZ
111072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11108
11109 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11110 here. Noted Ted Zlatanov as the maintainer.
11111 (cfengine-common-settings, cfengine-common-syntax): New functions
11112 to set up common things between `cfengine-mode' and
11113 `cfengine3-mode'.
11114 (cfengine3-mode): New mode.
11115 (cfengine3-defuns cfengine3-defuns-regex
11116 (cfengine3-class-selector-regex cfengine3-category-regex)
11117 (cfengine3-vartypes cfengine3-font-lock-keywords)
11118 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11119 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11120
36b148cf
MA
111212011-07-01 Michael Albinus <michael.albinus@gmx.de>
11122
11123 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11124
11125 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11126
0bf4ba9a
MR
111272011-07-01 Martin Rudalics <rudalics@gmx.at>
11128
11129 * window.el (same-window-buffer-names, same-window-regexps)
11130 (same-window-p, special-display-frame-alist)
11131 (special-display-popup-frame, special-display-function)
11132 (special-display-buffer-names, special-display-regexps)
11133 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11134 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11135 (split-window-preferred-function, split-height-threshold)
11136 (split-width-threshold, even-window-heights)
11137 (display-buffer-mark-dedicated, window-splittable-p)
11138 (split-window-sensibly, window-safely-shrinkable-p):
11139 Un-obsolete.
11140 (display-buffer): Don't spread args with function specifier
11141 because special-display-popup-frame won't like it.
11142
35837f51
PE
111432011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11144
d0672f86
PE
11145 Time-stamp simplifications and fixes.
11146 These improve accuracy slightly, and future-proof the code
11147 against some potential changes to current-time format.
11148
b9444d97
PE
11149 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11150 by using time-since and float-time.
11151
0ef923dc
PE
11152 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11153 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11154 + NNN microseconds".
11155
2f81380d
PE
11156 * type-break.el (type-break-time-sum): Rewrite using time-add.
11157
845b5c3e
PE
11158 * play/hanoi.el (hanoi-current-time-float): Remove.
11159 All uses replaced by float-time.
11160
ee6f1be0
PE
11161 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11162 This yields a more-accurate answer.
11163 (rng-time-to-float): Remove; no longer needed.
11164
fe955043
PE
11165 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11166
5777162a
PE
11167 * calendar/timeclock.el (timeclock-seconds-to-time):
11168 Defalias to seconds-to-time, since they're the same thing.
11169
3103f8b6 11170 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11171 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11172 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11173
0e61a35f
SM
111742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11175
11176 * window.el (bury-buffer): Don't iconify the only frame.
11177 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11178 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11179
ddd63a1e
CY
111802011-07-01 Chong Yidong <cyd@stupidchicken.com>
11181
0e61a35f
SM
11182 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11183 Add mouse-yank-primary.
ddd63a1e 11184
055f4923
TZ
111852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11186
11187 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11188
6a2fb145
SM
111892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11192 (find-library-name): Use it to find relative load names when provided
11193 absolute file name (bug#8803).
11194
fd4983f2
LMI
111952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11196
887d14ad
LMI
11197 * textmodes/flyspell.el (flyspell-word): Consider words that
11198 differ only in case as potential doublons (bug#5687).
11199
c53dc7fc
LMI
11200 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11201 Remove two rather uninteresting debugging-like messages to make
11202 debbugs.el more silent.
11203
fd4983f2
LMI
11204 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11205 a password-like phrase.
11206
7a71b18d 112072011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11208
11209 * progmodes/cc-guess.el: New file.
11210
6a2fb145 11211 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11212
11213 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11214 derived from `c-basic-common-init'.
11215
11216 * progmodes/cc-mode.el (top-level): Require cc-guess.
11217 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11218
1fa280a3
LM
112192011-06-30 Lawrence Mitchell <wence@gmx.li>
11220
11221 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11222
e6597158
AM
112232011-06-30 Alan Mackenzie <acm@muc.de>
11224
1fa280a3
LM
11225 * progmodes/cc-engine.el (c-guess-continued-construct):
11226 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11227 lock is disabled. Name this case as "CASE G".
11228
68ba37fb
KM
112292011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11230
11231 * allout.el (allout-yank-processing): Fix injection of extra space
11232 between bullet and non-whitespace character in first topic when
11233 pasting, ensuring that the actual spacing in the pasted topic
11234 following the bullet char is preserved. This extra space was
11235 causing pasted encrypted topics to get a decrypted status even
11236 when the content was actually still encrypted. Now the decryption
11237 status from before the paste is preserved.
11238
11239 (allout-flag-region): Set all allout overlays so they evaporate
11240 when reduced to zero length (evanescent), to prevent overlay
11241 leakage.
11242
887a0b34
GM
112432011-06-30 Glenn Morris <rgm@gnu.org>
11244
94b9acce
GM
11245 * w32-fns.el (w32-charset-info-alist): Declare.
11246
1d9b46d4
GM
11247 * find-dired.el (find-grep-options): Simplify.
11248
cc232200
GM
11249 * term/ns-win.el (ns-set-resource): Declare.
11250
28e77c46
GM
11251 * ses.el (row, col): Declare dynamic variables honestly.
11252
887a0b34
GM
11253 * textmodes/reftex-parse.el (index-tags): Declare.
11254
658d8eb8
CY
112552011-06-30 Chong Yidong <cyd@stupidchicken.com>
11256
11257 * cus-edit.el (customize-push-and-save): New function.
11258
11259 * files.el (hack-local-variables-confirm): Use it.
11260
1fa280a3
LM
11261 * custom.el (load-theme): New arg NO-CONFIRM.
11262 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11263 (custom-enabled-themes): Doc fix.
11264
11265 * cus-theme.el (customize-create-theme)
11266 (custom-theme-merge-theme): Callers to load-theme changed.
11267
bb617717
LMI
112682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11269
d61bdd5d
LMI
11270 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11271 short URLs have at least one dot in them (bug #7614).
11272
bb617717
LMI
11273 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11274 nil, because using a pty is apparently too slow (bug #895).
11275
2f31f37a
LMI
112762011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11277
11278 * mail/sendmail.el (sendmail-query-once): New function.
11279 (sendmail-query-once-function): New variable.
11280
3076b24e
GM
112812011-06-29 Glenn Morris <rgm@gnu.org>
11282
faf2a174
GM
11283 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11284
3076b24e
GM
11285 * ses.el (top-level): Require cl when compiling.
11286 (ses-set-localvars): Fix error statement.
11287 Call it at compile time to silence a storm of warnings.
11288
5386012d
MR
112892011-06-29 Martin Rudalics <rudalics@gmx.at>
11290
11291 * window.el (normalize-live-buffer): Rename to
11292 window-normalize-buffer.
11293 (normalize-live-frame): Rename to window-normalize-frame.
11294 (normalize-any-window): Rename to window-normalize-any-window.
11295 (normalize-live-window): Rename to window-normalize-live-window.
11296 (make-window-atom): Rename to window-make-atom.
11297 (window-resize-reset): Rename to window--resize-reset.
11298 (window-resize-reset-1): Rename to window--resize-reset-1.
11299 (resize-mini-window): Rename to window--resize-mini-window.
11300 (resize-subwindows-skip-p): Rename to
11301 window--resize-subwindows-skip-p.
11302 (resize-subwindows-normal): Rename to
11303 window--resize-subwindows-normal.
11304 (resize-subwindows): Rename to window--resize-subwindows.
11305 (resize-other-windows): Rename to window--resize-siblings.
11306 (resize-this-window): Rename to window--resize-this-window.
11307 (resize-root-window): Rename to window--resize-root-window.
11308 (resize-root-window-vertically): Rename to
11309 window--resize-root-window-vertically.
11310 (normalize-buffer-to-display): Rename to
11311 window-normalize-buffer-to-display.
11312 (normalize-buffer-to-switch-to): Rename to
11313 window-normalize-buffer-to-switch-to.
11314 Correspondingly update all callers of the functions listed
11315 above.
11316 (display-buffer-alist, display-buffer-normalize-arguments)
11317 (display-buffer-normalize-options, display-buffer)
11318 (display-buffer-alist-set): Use "function" instead of
11319 "fun-with-args".
11320
1176868d
CY
113212011-06-28 Chong Yidong <cyd@stupidchicken.com>
11322
11323 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11324 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11325 debbugs.gnu.org. Mention acknowledgment email.
11326
20a7a65f
LMI
113272011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11328
11329 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11330 buffer multibyteness, since it shouldn't matter.
11331
5f45cca5
MR
113322011-06-28 Martin Rudalics <rudalics@gmx.at>
11333
11334 * window.el (display-buffer-in-side-window): Handle dedicated
11335 windows as in display-buffer-reuse-window.
11336 (display-buffer-normalize-alist): Use value of override
11337 specifier.
11338 (display-buffer-normalize-specifiers): Use value of
11339 other-window-means-other-frame specifier.
11340 (display-buffer-alist): Rewrite some texts in widgets.
11341 (display-buffer): Spread arguments when calling function
11342 specified by fun-with-args.
11343
ad85fe1f
DD
113442011-06-28 Deniz Dogan <deniz@dogan.se>
11345
1fa280a3
LM
11346 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11347 Unnest `let'.
da68c4c8 11348
ad85fe1f
DD
11349 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11350 selectors (Bug#5732).
ec49bd31 11351 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11352
a08cc025
JA
113532011-06-27 Jari Aalto <jari.aalto@cante.net>
11354
11355 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11356 (eshell-ls-date-format): New defcustom.
11357 (eshell-ls-file): Use it.
11358
e2b551c5
SM
113592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11362
8982b231
KY
113632011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11364
11365 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11366 (ange-ftp-make-tmp-name): New arg.
11367 (ange-ftp-file-local-copy): Use it.
11368
36c9fa27
J
113692011-06-27 Jambunathan K <kjambunathan@gmail.com>
11370
11371 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11372 no-conversion (Bug#8870).
11373
d68443dc
MR
113742011-06-27 Martin Rudalics <rudalics@gmx.at>
11375
11376 * window.el (window-right, window-left, window-child)
11377 (window-child-count, window-last-child)
11378 (window-iso-combination-p, walk-window-tree-1)
11379 (window-atom-check-1, window-tree-1, delete-window)
11380 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11381 new naming conventions - window-vchild, window-hchild,
11382 window-next and window-prev are now called window-top-child,
11383 window-left-child, window-next-sibling and window-prev-sibling
11384 respectively.
d615d6d2
MR
11385 (resize-window-reset): Rename to window-resize-reset.
11386 (resize-window-reset-1): Rename to window-resize-reset-1.
11387 (resize-window): Rename to window-resize.
11388 (window-min-height, window-min-width)
11389 (resize-mini-window, resize-this-window, resize-root-window)
11390 (resize-root-window-vertically, adjust-window-trailing-edge)
11391 (enlarge-window, shrink-window, maximize-window)
11392 (minimize-window, delete-window, quit-restore-window)
11393 (split-window, balance-windows, balance-windows-area-adjust)
11394 (balance-windows-area, window-state-put-2)
11395 (display-buffer-even-window-sizes, display-buffer-set-height)
11396 (display-buffer-set-width, set-window-text-height)
11397 (fit-window-to-buffer): Rename all "resize-window" prefixed
11398 calls to use the "window-resize" prefix convention.
11399 (display-buffer-alist): Fix symbol for label specifier.
11400 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11401 corresponding specifier.
11402 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11403
b6458526
VB
114042011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11405
11406 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11407 convention.
11408 (ses-call-printer): Does not pass an empty string to formatter when the
11409 cell is empty to keep from barking printer Calc math-format-value.
11410
d31fd9ac
RS
114112011-06-27 Richard Stallman <rms@gnu.org>
11412
43d5bf84
RS
11413 * battery.el (battery-mode-line-limit): New variable.
11414 (battery-update): Handle it.
11415
d31fd9ac
RS
11416 * mail/rmailmm.el (rmail-mime-process-multipart):
11417 Handle truncated messages.
11418
819a6054
GM
114192011-06-27 Glenn Morris <rgm@gnu.org>
11420
11421 * progmodes/flymake.el (flymake-err-line-patterns):
11422 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11423
cedc73f2
VB
114242011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11425
819a6054 11426 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11427 (ses--clean-!, ses--clean-_): New functions.
11428 (ses-range): Add configurability of readout order, and conversion
11429 to Calc vector.
11430
5e5d49b6
VB
11431 * ses.el (ses-repair-cell-reference-all): New function.
11432 (ses-cell-symbol): Set macro as safe, so that it can be used in
11433 formulas.
11434
56e6cc31 11435 * ses.el: Update cycle detection algorithm.
90ca8b49 11436 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11437 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11438 (ses-set-localvars): New function.
11439 (ses-make-cell): Add property-list as a cell element.
11440 (ses-cell-property-get-fun, ses-cell-property-get)
11441 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11442 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11443 New functions.
90ca8b49
VB
11444 (ses-cell-property-set, ses-cell-property-pop)
11445 (ses-cell-property-get-handle): New macro.
11446 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11447 New aliases, used for code readability.
11448 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11449 cycle detection.
11450 (ses-self-reference-early-detection): New defcustom.
fac916bf 11451 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11452 (ses-mode): Use ses-set-localvars.
11453 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11454 before lauching the update processing.
11455 (ses-initialize-Dijkstra-attempt): New function.
11456 (ses-recalculate-cell): Update for cycle detection based on
11457 Dijkstra algorithm.
11458
2bb63e81
VB
11459 * ses.el: Fix commenting and indenting convention.
11460
c9d29fb8
SM
114612011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11462
11463 * bs.el (bs-cycle-next): Complete last change.
11464
d8e4b68b
JB
114652011-06-27 Drew Adams <drew.adams@oracle.com>
11466
11467 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11468
40098786
LMI
114692011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11470
c9d29fb8
SM
11471 * net/network-stream.el (network-stream-open-starttls):
11472 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11473 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11474
40098786
LMI
11475 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11476 to binary to possibly avoid line encoding issues on Windows (among
11477 other things).
11478
468d09d4
LMI
114792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11480
11481 * net/network-stream.el (open-network-stream): Return an :error
11482 saying what the problem was, if possible.
11483
11484 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11485 server.
11486
11487 * net/network-stream.el (network-stream-open-starttls): If we
11488 wanted to use STARTTLS, and the server offered it, but we weren't
11489 able to because we had no STARTTLS support, then close the connection.
11490 (open-network-stream): Return an :error element, if present.
11491
16f07dd7
CY
114922011-06-26 Chong Yidong <cyd@stupidchicken.com>
11493
88821ca0
CY
11494 * hl-line.el (hl-line-sticky-flag): Doc fix.
11495 (global-hl-line-sticky-flag): New option (Bug#8323).
11496 (global-hl-line-highlight): Obey it.
11497
16f07dd7
CY
11498 * vc/vc.el (vc-revert-show-diff): Default to t.
11499
6b5ccddf
KM
115002011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11501
c9d29fb8
SM
11502 * allout-widgets.el (allout-widgets-post-command-business):
11503 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11504 undecorated when an isearch is continued past, and isearch
11505 automatically collapses them. This leads to "widget leaks", where
11506 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11507 hidden widgets can slow down cursor travel, substantially.
11508 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11509 so we're doing without this nicety.
11510
11511 (allout-widgets-tally-string): Don't try to do a hash-table-count
11512 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11513 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11514 *Messages* when allout-widgets-maintain-tally is t.
11515
355f2e07
MR
115162011-06-26 Martin Rudalics <rudalics@gmx.at>
11517
11518 * window.el (display-buffer-normalize-argument): Rename to
11519 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11520 LABEL argument. Respect special-display-function when popping up
11521 a new frame. Fix code searching for a window showing the buffer
11522 on another frame.
c9d29fb8
SM
11523 (display-buffer-normalize-specifiers):
11524 Call display-buffer-normalize-arguments.
355f2e07
MR
11525 (display-buffer-in-window): Don't undedicate the window if its
11526 buffer remains the same.
11527 Reported by Drew Adams <drew.adams@oracle.com>.
11528 (display-buffer-alist): Add choice for same-window macro
11529 specfier.
11530 (display-buffer): Mention special meaning of LABEL argument in
11531 doc-string. Fix quoting. Don't pop up a new frame even as
11532 fallback.
11533
7ca8fc42
JB
115342011-06-26 Juanma Barranquero <lekktu@gmail.com>
11535
11536 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11537 avoid deleting the current window in some cases (bug#8911).
11538
bc312254
AS
115392011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11540
11541 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11542 (Bug#8934)
11543
2db18f3f
LMI
115442011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11545
c9d29fb8
SM
11546 * net/network-stream.el (network-stream-open-starttls):
11547 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11548 (network-stream-open-tls): Ditto.
11549
6302e0d3
LL
115502011-06-26 Leo Liu <sdl.web@gmail.com>
11551
11552 * register.el (registerv): New struct.
11553 (registerv-make): New function.
c9d29fb8
SM
11554 (jump-to-register, describe-register-1, insert-register):
11555 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11556 struct. (Bug#8415)
11557
5fdd4046
CY
115582011-06-26 Chong Yidong <cyd@stupidchicken.com>
11559
2afef60a
CY
11560 * vc/vc.el (vc-revert-show-diff): New defcustom.
11561 (vc-diff-internal): New arg specifying diff buffer.
11562 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11563 reuse an existing *vc-diff* buffer (Bug#8927).
11564
5fdd4046
CY
11565 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11566
e93db24a
GM
115672011-06-26 Glenn Morris <rgm@gnu.org>
11568
11569 * progmodes/f90.el (f90-critical-indent): New option.
11570 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11571 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11572 (f90-mode): Doc fix.
11573 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11574 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11575 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11576 (f90-match-end): Handle block, critical.
11577
eefff499
GM
115782011-06-25 Glenn Morris <rgm@gnu.org>
11579
f6ba4cc9
GM
11580 * calendar/diary-lib.el (diary-included-files): Doc fix.
11581 (diary-include-files): New function, extracted from
11582 diary-include-other-diary-files and diary-mark-included-diary-files.
11583 (diary-include-other-diary-files, diary-mark-included-diary-files):
11584 Just call diary-include-files.
11585 (diary-mark-entries): Reset diary-included-files on first call.
11586
16712304
GM
11587 * calendar/diary-lib.el (diary-mark-entries)
11588 (diary-mark-included-diary-files):
11589 Visit included diary-files in temp buffers.
11590
5d8e0d43
GM
11591 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11592 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11593 (f90-start-block-re, f90-imenu-generic-expression)
11594 (f90-looking-at-program-block-start, f90-no-block-limit):
11595 Add support for submodules.
11596
ccf7a5d5
GM
11597 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11598 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11599
11fdef7d 116002011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11601
11602 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11603 buffer-file-type before setting its value, to avoid disastrous
eefff499 11604 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11605
74f53697
JB
116062011-06-25 Juanma Barranquero <lekktu@gmail.com>
11607
11608 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11609
11610 * ses.el (ses-unload-function):
11611 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11612
11613 * proced.el (proced-unload-function):
11614 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11615
18a4ce5e
AR
116162011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11617
11618 * server.el (server-create-window-system-frame): Add parameters arg.
11619 (server-process-filter): Doc fix. Handle frame-parameters.
11620
519d22cc
JB
116212011-06-25 Juanma Barranquero <lekktu@gmail.com>
11622
11623 Fix bug#8730, bug#8781.
11624
11625 * loadhist.el (unload--set-major-mode): New function.
11626 (unload-feature): Use it.
11627
11628 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11629 (python-unload-function): New function.
11630
c206f5b0
SM
116312011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11632
11633 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11634
f9ad64f3
GS
116352011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11636
11637 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11638 the candidates list.
11639
7d0da90e
JB
116402011-06-24 Juanma Barranquero <lekktu@gmail.com>
11641
11642 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11643
14b4e83d
RS
116442011-06-23 Richard Stallman <rms@gnu.org>
11645
11646 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11647 (rmail-variables): Set next-error-move-function.
11648 (rmail-what-message): Take argument POS.
11649 (rmail-next-error-move): New function.
11650
273d2baf
SM
116512011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11654 messages for adjacent non-terminals.
11655
56c2cc9a
RS
116562011-06-23 Richard Stallman <rms@gnu.org>
11657
11658 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11659 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11660 (rmail-start-mail): Don't specify use of rmail-mail-return;
11661 that's done by mail-bury now.
11662 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11663
d59eb518
MA
116642011-06-23 Michael Albinus <michael.albinus@gmx.de>
11665
11666 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11667 SIZE is a number.
11668
02cfc6d6
MR
116692011-06-23 Martin Rudalics <rudalics@gmx.at>
11670
11671 * window.el (get-lru-window, get-mru-window)
11672 (get-largest-window): Never return a minibuffer window.
11673 (display-buffer-pop-up-window): Fix a bug that could lead to
11674 reusing the minibuffer window.
11675 (display-buffer): Pass original specifier argument to
11676 display-buffer-function instead of the normalized one.
11677 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11678
4e323265
LL
116792011-06-22 Leo Liu <sdl.web@gmail.com>
11680
11681 * minibuffer.el (completing-read-function)
11682 (completing-read-default): Move from minibuf.c
11683
7a70468f
RS
116842011-06-22 Richard Stallman <rms@gnu.org>
11685
50718fc2
RS
11686 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11687 to Rmail even if not started by a special Rmail command.
11688
7a70468f
RS
11689 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11690 Copy the buffer currently showing just one message.
11691
297dde5a
RW
116922011-06-22 Roland Winkler <winkler@gnu.org>
11693
11694 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11695 (bibtex-clean-entry): First delete the old key so that a
11696 customized algorithm for generating the new key does not get
11697 confused by the old key.
11698 (bibtex-url): Obey regexp of first step.
11699 (bibtex-search-entries): Do not use add-to-list with local
11700 list-var.
11701
97bb1093
LMI
117022011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11703
11704 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11705 stored a user name, then query for the password first, instead of
11706 waiting for SMTP to give an error message and the trying again.
11707
1c0f1a19
JD
117082011-06-22 Lawrence Mitchell <wence@gmx.li>
11709
11710 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11711 BUFFER in call-process.
11712
396f7c9d
LMI
117132011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11714
11715 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11716 QUIT twice.
ddb7ffee
LMI
11717 (smtpmail-try-auth-methods): Require user name and password from
11718 auth-source.
396f7c9d 11719
8998d1b3
MR
117202011-06-22 Martin Rudalics <rudalics@gmx.at>
11721
11722 * window.el (display-buffer-default-specifiers)
11723 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11724 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11725 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11726
11727 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11728 (special-display-frame-alist, special-display-popup-frame):
11729 Remove duplicate declarations. These are now in window.el.
11730
4ea31e07
LMI
117312011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11732
c9d29fb8
SM
11733 * mail/smtpmail.el (smtpmail-via-smtp):
11734 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11735 server supports it. SMTP servers that support STARTTLS commonly
11736 require it.
11737
11738 * net/network-stream.el (network-stream-open-starttls): Support
11739 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11740 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11741
95f41d9a
LMI
11742 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11743 upgrades with `open-network-stream', and rely solely on
11744 auth-source for all credentials. Big changes throughout the file,
11745 but in particular:
c9d29fb8
SM
11746 (smtpmail-auth-credentials): Remove.
11747 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11748 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11749 MAIL FROM, too.
95f41d9a 11750
c9d29fb8
SM
11751 * net/network-stream.el (network-stream-open-starttls):
11752 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11753 STARTTLS.
11754 (auth-source): Require.
11755 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11756 (network-stream-certificate): Change cert-cert to cert and
11757 cert-key to key.
4ea31e07 11758
065ec2c7
MA
117592011-06-21 Michael Albinus <michael.albinus@gmx.de>
11760
11761 * net/tramp-cache.el (top): Don't load the persistency file when
11762 "emacs -Q" has been called.
11763
cd93b359
DR
117642011-06-21 Tim Harper <timcharper@gmail.com>
11765
d8e4b68b
JB
11766 * term/ns-win.el (ns-initialize-window-system):
11767 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11768 resource to NO as it is not yet supported by the NS port.
11769
ae9c0411
JB
117702011-06-21 Juanma Barranquero <lekktu@gmail.com>
11771
11772 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11773 (list-dynamic-libraries): ...not here.
11774
7f3f739f
LL
117752011-06-21 Leo Liu <sdl.web@gmail.com>
11776
11777 * subr.el (sha1): Implement sha1 using secure-hash.
11778
327c8fb1
MR
117792011-06-21 Martin Rudalics <rudalics@gmx.at>
11780
11781 * window.el (display-buffer-alist): In default value do not
11782 enforce searching a window on any but the selected frame.
11783 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11784 (display-buffer-select-window): Remove function.
11785 (display-buffer-in-window): When a window on another frame gets
11786 reused, do not select it any more but just raise its frame if
11787 necessary (Bug#8851) and (Bug#8856).
11788 (display-buffer-normalize-options): Handle pop-up-frames related
11789 options more faithfully.
11790 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11791 window if it is on another frame.
c9d29fb8
SM
11792 (display-buffer-alist, display-buffer-default-specifiers):
11793 Don't make new frame unsplittable by default.
9e9de014
MR
11794 (display-buffer-normalize-argument): Fix doc-string typo and use
11795 'same-frame-other-window instead of 'other-window when associating
11796 with display-buffer-macro-specifiers.
327c8fb1 11797
7cf3f556
VB
117982011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11799
11800 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11801 New functions.
11802 (5x5-mode-map, 5x5-mode-menu): Bind them.
11803 (5x5-draw-grid): Tweak the solver's rendering.
11804
60a406cf
SM
118052011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11806
11807 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11808 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11809
d8e4b68b 118102011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11811
11812 * menu-bar.el: Use function variable instead of switch-to-buffer.
11813 (menu-bar-select-buffer-function): New variable.
60a406cf 11814 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11815
478d6f95
SM
118162011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11817
11818 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11819 variable's status.
11820
ca530739
JD
118212011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11822
11823 * x-dnd.el (x-dnd-version-from-flags)
11824 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11825 and long as number (Bug#8899).
11826 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11827
bcd70d97
SM
118282011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11829
60a406cf 11830 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11831 (completion-try-completion, completion-all-completions): Compute the
11832 metadata argument if it's missing; make it optional (bug#8795).
11833
60a406cf 11834 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11835 (widget-complete): Use new :completion-function property.
11836 (widget-completions-at-point): New function.
11837 (default): Use :completion-function instead of :complete.
60a406cf
SM
11838 (widget-default-completions): Rename from widget-default-complete;
11839 Rewrite.
bcd70d97
SM
11840 (widget-string-complete, widget-file-complete, widget-color-complete):
11841 Remove functions.
11842 (file, symbol, function, variable, coding-system, color):
11843 * international/mule-cmds.el (default-input-method, charset)
11844 (language-info-custom-alist):
11845 * cus-edit.el (face): Use new property :completions.
11846
11847 * progmodes/pascal.el (pascal-completions-at-point): New function.
11848 (pascal-mode): Use it.
11849 (pascal-mode-map): Use completion-at-point.
11850 (pascal-toggle-completions): Make obsolete.
11851 (pascal-complete-word, pascal-show-completions):
11852 * progmodes/octave-mod.el (octave-complete-symbol):
11853 Redefine as obsolete alias.
11854 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11855 Signal absence of completion info for old Octave,
11856 (inferior-octave-complete): Redefine as obsolete alias.
11857 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11858 (meta-completions-at-point): Rename from meta-complete-symbol and
11859 adapt it for use on completion-at-point-functions.
11860 (meta-common-mode): Use it.
11861 (meta-looking-at-backward, meta-match-buffer): Remove.
11862 (meta-complete-symbol): Redefine as obsolete alias.
11863 (meta-common-mode-map): Use completion-at-point.
11864 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11865 (makefile-mode-map): Use completion-at-point.
11866 (makefile-completions-at-point): Rename from makefile-complete and
11867 adapt it for use on completion-at-point-functions.
11868 (makefile-mode): Use it.
11869 (makefile-complete): Redefine as obsolete alias.
11870
aebf69c8
DD
118712011-06-20 Deniz Dogan <deniz@dogan.se>
11872
11873 * net/rcirc.el: Delete trailing whitespaces once and for all.
11874
bfbbb27d
DC
118752011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11876
11877 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11878
d264a46b
CY
118792011-06-19 Chong Yidong <cyd@stupidchicken.com>
11880
4ca009e5
CY
11881 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11882
d264a46b
CY
11883 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11884
fbf5b3ce
MR
118852011-06-19 Martin Rudalics <rudalics@gmx.at>
11886
11887 * window.el (display-buffer-other-window-means-other-frame):
11888 Call display-buffer-normalize-alist.
11889 (display-buffer-normalize-specifiers-1): Rename to
11890 display-buffer-normalize-argument. New argument other-frame.
11891 Rewrite.
11892 (display-buffer-normalize-specifiers-2): Rename to
11893 display-buffer-normalize-options.
11894 (display-buffer-normalize-alist-1): New function.
11895 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11896 display-buffer-normalize-alist.
11897 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11898 (display-buffer-normalize-options-inhibit): New variable.
11899 (display-buffer-normalize-specifiers): Rewrite calling
11900 display-buffer-normalize-alist,
11901 display-buffer-normalize-argument, and
11902 display-buffer-normalize-options. Don't call the latter if
11903 display-buffer-normalize-options-inhibit is non-nil.
11904 (frame-auto-delete): New option.
11905 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11906 (window-list-no-nils, window-state-ignored-parameters)
11907 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11908 (window-state-put-1, window-state-put-2, window-state-put):
11909 New functions.
9a028c23
MR
11910 (display-buffer-normalize-options): Move special-display-p group
11911 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11912
6d10d800
CY
119132011-06-18 Chong Yidong <cyd@stupidchicken.com>
11914
6420d28b
CY
11915 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11916 groups (Bug#8776).
11917 (rx-submatch-n): New function.
11918 (rx): Document it.
11919
ddb8b596
CY
11920 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11921 (Bug#8768).
11922
11923 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11924
77080289
CY
11925 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11926
61dfb316
CY
11927 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11928 anytime existing face settings are present (Bug#8889).
11929
6d10d800
CY
11930 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11931 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11932 Remove unused argument.
11933
be3fb2b8
MR
119342011-06-18 Martin Rudalics <rudalics@gmx.at>
11935
bcd70d97
SM
11936 * window.el (display-buffer-default-specifiers):
11937 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11938 pop-up-window-min-width, and another reuse-window specifier
11939 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11940 (display-buffer-normalize-specifiers-2):
11941 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11942 pop-up-windows is unset. Add a reuse-window specifier for the
11943 case popping up a new window fails.
11944 (special-display-popup-frame): Remove double quoting.
28dec25a 11945 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11946
1c6d8c76
SM
119472011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11948
11949 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11950 according to comint-completion-addsuffix.
11951
11952 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11953 (pcomplete-suffix-list): Mark as obsolete.
11954 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11955 pcomplete-seen in the closure.
11956 (pcomplete-comint-setup): Setup completion-at-point as well.
11957 (pcomplete--entries): New function.
11958 (pcomplete--env-regexp): New var.
11959 (pcomplete-entries): Rewrite to work with partial-completion and
11960 without relying on pcomplete-suffix-list.
11961 (pcomplete-pare-list): Remove, unused.
11962
25aef8b8
MR
119632011-06-17 Martin Rudalics <rudalics@gmx.at>
11964
11965 * window.el (display-buffer-alist): Set pop-up-window-min-height
11966 and pop-up-window-min-width in default value. Reported by
11967 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11968 other-window-means-other-frame.
11969 (display-buffer-macro-specifiers): Comment out entry for
11970 other-window specifier.
11971 (display-buffer-other-window-means-other-frame): New function.
11972 (display-buffer-normalize-specifiers-1): New arguments
11973 buffer-name and label. Treat other-window case specially.
11974 (display-buffer-normalize-specifiers-2): Treat other-window case
11975 specially.
11976 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11977 (display-buffer-normalize-specifiers):
11978 Call display-buffer-normalize-specifiers-3.
25aef8b8 11979
dbad4f69
MR
119802011-06-17 Martin Rudalics <rudalics@gmx.at>
11981
11982 * window.el (same-window-p): Fix two typos introduced when
11983 adding with-no-warnings.
d1067961
MR
11984 (display-buffer-normalize-specifiers-1): Don't check
11985 pop-up-frames for 'unset initialization.
11986 (display-buffer-normalize-specifiers-2): Major rewrite using
11987 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11988 (pop-up-frames, display-buffer-reuse-frames)
11989 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11990 Suggested by David Engster <deng@randomsample.de>.
11991 (even-window-heights): Initialize to 'unset.
11992 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11993 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11994 other window case.
dbad4f69 11995
9b9c9e3a
MR
119962011-06-16 Martin Rudalics <rudalics@gmx.at>
11997
bcd70d97
SM
11998 * window.el (display-buffer-normalize-specifiers-1):
11999 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12000 second argument of display-buffer (Bug#8865).
981d5c09
MR
12001 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12002 (switch-to-buffer-other-window-same-frame)
12003 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12004 Adams (Bug#8875).
9c2755e9
MR
12005 (display-buffer): Don't check noninteractive when calling
12006 display-buffer-pop-up-frame.
12007 (display-buffer-pop-up-frame): Never pop up a frame in
12008 noninteractive mode (Bug#8857).
67222e1d
MR
12009 (enlarge-window, shrink-window): Don't report an error when the
12010 window can't be resized as requested (Bug#8862).
9b9c9e3a 12011
2b75be67
SM
120122011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12013
9ffdd3ba
SM
12014 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12015
cb581a67
SM
12016 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12017
2b75be67
SM
12018 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12019
8c0e3589
AM
120202011-06-15 Alan Mackenzie <acm@muc.de>
12021
cb581a67
SM
12022 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12023 for declarators, disable knr checking to speed up for normal files.
12024 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12025
b96e6cde
LMI
120262011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12027
4bba86e6
LMI
12028 * net/network-stream.el (open-network-stream): Add the keyword
12029 :always-query-capabilities for the case where you want to force a
12030 `plain' network connection, but the protocol still requires the
12031 capabilitiy command (i.e., SMTP and EHLO).
12032
2b75be67 12033 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12034 consistency with other `-live-p' functions.
12035
efdcdbf8
SM
120362011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * window.el (same-window-buffer-names, same-window-regexps)
12039 (special-display-frame-alist, special-display-popup-frame)
12040 (special-display-function, special-display-buffer-names)
12041 (special-display-regexps, pop-up-frame-alist)
12042 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12043 (pop-up-windows, split-window-preferred-function)
12044 (split-height-threshold, split-width-threshold, even-window-heights)
12045 (display-buffer-mark-dedicated): Don't encourage the use of
12046 display-buffer-alist from Elisp code.
12047
c5cde042
DN
120482011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12049
12050 * progmodes/python.el (python-mode): Derive from prog-mode.
12051 * progmodes/ps-mode.el (ps-mode):
12052 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12053 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12054 * progmodes/ld-script.el (ld-script-mode): Likewise.
12055
baa1c9ab
MR
120562011-06-15 Martin Rudalics <rudalics@gmx.at>
12057
12058 * window.el (display-buffer-alist): Trim default value to avoid
12059 popping up a new frame (Bug#8857) or reusing an arbitrary window
12060 on another frame.
12061 (display-buffer): Do not fall back on popping up a new frame in
12062 batch mode (Bug#8857).
12063
c5dd5a51
CY
120642011-06-14 Chong Yidong <cyd@stupidchicken.com>
12065
12066 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12067 (custom-theme-summary): New function.
12068 (customize-themes): Use it.
12069
d647b7c4
GM
120702011-06-13 Glenn Morris <rgm@gnu.org>
12071
12072 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12073
9481c002
MR
120742011-06-13 Martin Rudalics <rudalics@gmx.at>
12075
357f93d2
MR
12076 * help.el (help-window): Remove variable.
12077 (help-window-point-marker, temp-buffer-max-height)
12078 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12079 (help-print-return-message): Don't set help-window.
12080 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12081 (help-window-setup-finish): Remove.
12082 (help-window-display-message, help-window-setup)
12083 (with-help-window): Major rewrite based on new
12084 display-buffer-window variable.
12085
12086 * help-mode.el (help-mode-finish): Remove help-window related
12087 code.
12088
12089 * view.el (view-exits-all-viewing-windows): Remove reference to
12090 view-return-to-alist in doc-string.
12091 (view-return-to-alist): Make obsolete.
12092 (view-buffer): Call pop-to-buffer-same-window and remove
12093 undo-window code.
12094 (view-buffer-other-window): Call pop-to-buffer-other-window and
12095 simplify code. Ignore second argument.
12096 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12097 simplify code. Ignore second argument.
12098 (view-return-to-alist-update): Make obsolete.
12099 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12100 Rewrite using quit-restore window parameters.
2b75be67
SM
12101 (view-mode-exit): Rename second argument to EXIT-ONLY.
12102 Rewrite using quit-restore-window.
357f93d2
MR
12103 (View-exit, View-exit-and-edit, View-leave, View-quit)
12104 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12105 appropriate arguments.
12106 (view-end-message): Use quit-restore window parameter.
12107
9481c002
MR
12108 * window.el (display-buffer-function): Rewrite doc-string.
12109 (display-buffer-window, display-buffer-alist): New variables.
12110 (display-buffer-split-specifiers)
12111 (display-buffer-side-specifiers)
12112 (display-buffer-macro-specifiers): New constants.
12113 (display-buffer-even-window-sizes, display-buffer-set-height)
12114 (display-buffer-set-width, display-buffer-select-window)
12115 (display-buffer-in-window, display-buffer-reuse-window)
12116 (display-buffer-split-window-1, display-buffer-split-window)
12117 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12118 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12119 (display-buffer-in-side-window, normalize-buffer-to-display)
12120 (display-buffer-normalize-specifiers-1)
12121 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12122 (display-buffer-normalize-specifiers, display-buffer-frame):
12123 New functions.
9481c002
MR
12124 (display-buffer): Major rewrite.
12125 (display-buffer-other-window, display-buffer-other-frame)
12126 (pop-to-buffer, switch-to-buffer-other-window)
12127 (switch-to-buffer-other-frame): Rewrite.
12128 (display-buffer-same-window, display-buffer-same-frame)
12129 (display-buffer-same-frame-other-window)
12130 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12131 (pop-to-buffer-other-window)
12132 (pop-to-buffer-same-frame-other-window)
12133 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12134 (switch-to-buffer-other-window-same-frame): New functions.
12135 (same-window-p, special-display-p): Rewrite disabling warnings.
12136 Make obsolete.
12137 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12138 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12139 Make obsolete
12140 (same-window-buffer-names, same-window-regexps)
12141 (special-display-frame-alist, special-display-popup-frame)
12142 (special-display-function, special-display-buffer-names)
12143 (special-display-regexps, pop-up-frame-alist)
12144 (pop-up-frame-function, split-window-preferred-function)
12145 (split-height-threshold, split-width-threshold)
12146 (even-window-heights): Make obsolete.
12147
9db51aca
GM
121482011-06-12 Glenn Morris <rgm@gnu.org>
12149
12150 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12151 Misc simplifications.
9db51aca 12152
39cffb44
MR
121532011-06-12 Martin Rudalics <rudalics@gmx.at>
12154
12155 * window.el (window-safely-shrinkable-p): Restore function which
12156 was inadvertently removed in change from 2011-06-11. Declare as
12157 obsolete.
12158
2b75be67
SM
12159 * calendar/calendar.el (calendar-generate-window):
12160 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12161 window-safely-shrinkable-p.
12162
a8955be7
GM
121632011-06-12 Glenn Morris <rgm@gnu.org>
12164
12165 * progmodes/fortran.el (fortran-mode-syntax-table):
12166 * progmodes/f90.el (f90-mode-syntax-table):
12167 Set % to punctuation. (Bug#8820)
12168 (f90-find-tag-default): Remove, no longer needed.
12169
f0d4059d
DC
121702011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12171
12172 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12173
1100a63c
CY
121742011-06-11 Chong Yidong <cyd@stupidchicken.com>
12175
12176 * image.el (image-animated-p): Return animation delay in seconds.
12177 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12178 (image-animate-timeout): Remove DELAY argument. Don't assume
12179 every subimage has the same delay; get it from image-animated-p.
12180 (image-animate): Caller changed.
12181
def722bf
MA
121822011-06-11 Michael Albinus <michael.albinus@gmx.de>
12183
12184 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12185 to ignored backtrace functions.
12186
0a2bb1a9
GM
121872011-06-11 Glenn Morris <rgm@gnu.org>
12188
12189 * calendar/appt.el (appt-disp-window-function): Doc fix.
12190 (appt-check): Handle overlapping appointments. (Bug#8337)
12191
6198ccd0
MR
121922011-06-11 Martin Rudalics <rudalics@gmx.at>
12193
12194 * window.el (window-tree-1, window-tree): New functions, moving
12195 the latter to window.el.
12196 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12197 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12198 (bw-refresh-edges): Remove.
12199 (balance-windows-1, balance-windows-2): New functions.
12200 (balance-windows): Rewrite in terms of window tree functions,
12201 balance-windows-1 and balance-windows-2.
12202 (bw-adjust-window): Remove.
12203 (balance-windows-area-adjust): New function with functionality of
12204 bw-adjust-window but using resize-window.
2b75be67
SM
12205 (set-window-text-height): Rewrite doc-string.
12206 Use normalize-live-window and resize-window.
12207 (enlarge-window-horizontally, shrink-window-horizontally):
12208 Rename argument to DELTA.
6198ccd0
MR
12209 (window-buffer-height): New function.
12210 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12211 Rewrite using new window resize routines.
2b75be67
SM
12212 (kill-buffer-and-window, mouse-autoselect-window-select):
12213 Use ignore-errors instead of condition-case.
6198ccd0
MR
12214 (quit-window): Call delete-frame instead of delete-windows-on
12215 for the only buffer on frame.
12216
9397e56f
MR
122172011-06-10 Martin Rudalics <rudalics@gmx.at>
12218
12219 * loadup.el (top-level): Load window before files for the sake
12220 of replace-buffer-in-windows.
12221
12222 * files.el (read-buffer-to-switch)
12223 (switch-to-buffer-other-window)
2b75be67
SM
12224 (switch-to-buffer-other-frame, display-buffer-other-frame):
12225 Move to window.el.
9397e56f
MR
12226
12227 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12228 (previous-buffer): Move to window.el.
12229
12230 * bindings.el (unbury-buffer): Move to window.el.
12231
12232 * window.el (delete-other-windows-vertically): Move after
12233 definition of delete-other-windows.
12234 (other-window, delete-windows-on, replace-buffer-in-windows):
12235 Move here from window.c.
12236 (record-window-buffer, unrecord-window-buffer)
12237 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12238 (switch-to-next-buffer): New functions.
12239 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12240 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12241 (previous-buffer): Move here from simple.el.
12242 Call switch-to-prev-buffer.
9397e56f
MR
12243 (bury-buffer): Move here from buffer.c. Switch to previous
12244 buffer when window cannot be deleted.
12245 (unbury-buffer): Move here from bindings.el.
12246 (ctl-x-map): Move binding for other-window from window.c to
12247 here.
12248 (read-buffer-to-switch, switch-to-buffer-other-window)
12249 (switch-to-buffer-other-frame): Move here from files.el.
12250 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12251 (switch-to-buffer): Move here from buffer.c.
12252 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12253
562dd5e9
MR
122542011-06-10 Martin Rudalics <rudalics@gmx.at>
12255
12256 * window.el (window-min-height, window-min-width): Move here
12257 from window.c. Add defcustoms and rewrite doc-strings.
12258 (resize-mini-window, resize-window): New functions.
12259 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12260 Move here from window.c.
12261 (maximize-window, minimize-window): New functions.
12262 (delete-window, delete-other-windows, split-window): Move here
12263 from window.c.
12264 (window-split-min-size): New function.
12265 (split-window-keep-point): Mention split-window-above-each-other
12266 instead of split-window-vertically.
2b75be67 12267 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12268 Rename split-window-vertically to split-window-above-each-other
12269 and provide defalias for old definition.
12270 (split-window-side-by-side, split-window-horizontally):
12271 Rename split-window-horizontally to split-window-side-by-side
12272 and provide defalias for the old definition.
562dd5e9
MR
12273 (ctl-x-map): Move bindings for delete-window,
12274 delete-other-windows and enlarge-window here from window.c.
12275 Replace bindings for split-window-vertically and
12276 split-window-horizontally by bindings for
12277 split-window-above-each-other and split-window-side-by-side.
12278
12279 * cus-start.el (all): Remove entries for window-min-height and
12280 window-min-width. Add entries for window-splits and
12281 window-nest.
12282
f0da764a
GM
122832011-06-09 Glenn Morris <rgm@gnu.org>
12284
80675c21
GM
12285 * calendar/appt.el (appt-mode-line): New function.
12286 (appt-check, appt-disp-window): Use it.
12287
f0da764a
GM
12288 * files.el (hack-one-local-variable-eval-safep):
12289 Allow minor-modes with explicit +/-1 arguments.
12290
59f623b7
TZ
122912011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12292
12293 * term/xterm.el (xterm): Add defgroup.
12294 (xterm-extra-capabilities): Add defcustom to supply known xterm
12295 capabilities, skip querying them, or query them (default).
12296 (terminal-init-xterm): Use it.
12297 (terminal-init-xterm-modify-other-keys): New function to set up
12298 modifyOtherKeys support to simplify `terminal-init-xterm'.
12299
9aab8e0d
MR
123002011-06-09 Martin Rudalics <rudalics@gmx.at>
12301
12302 * window.el (resize-window-reset, resize-window-reset-1)
12303 (resize-subwindows-skip-p, resize-subwindows-normal)
12304 (resize-subwindows, resize-other-windows, resize-this-window)
12305 (resize-root-window, resize-root-window-vertically)
12306 (window-deletable-p, window-or-subwindow-p)
12307 (frame-root-window-p): New functions.
12308
e8b08aee
GM
123092011-06-09 Glenn Morris <rgm@gnu.org>
12310
12311 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12312 (ange-ftp-get-files): Use it.
12313
254c37a5
AK
123142011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12315
12316 * mail/sendmail.el (mail-recover-1, mail-recover):
12317 * files.el (recover-file, recover-session):
12318 Handle dired-listing-switches not being just a single short option.
12319
35d7dbd3
GM
123202011-06-09 Glenn Morris <rgm@gnu.org>
12321
12322 * calendar/appt.el (appt-display-message, appt-disp-window):
12323 Handle lists of appointments.
12324
387522b2
MR
123252011-06-08 Martin Rudalics <rudalics@gmx.at>
12326
2b75be67
SM
12327 * window.el (one-window-p): Move down in code.
12328 Rewrite doc-string.
12329 (window-current-scroll-bars): Rewrite doc-string.
12330 Normalize live window argument.
387522b2
MR
12331 (walk-windows, get-window-with-predicate, count-windows):
12332 Rewrite doc-string. Use window-list-1.
12333 (window-in-direction-2, window-in-direction, get-mru-window):
12334 New functions.
12335
d8e4b68b 123362011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12337
12338 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12339 Doc fix (Bug#8713).
12340
123412011-06-08 Chong Yidong <cyd@stupidchicken.com>
12342
12343 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12344
123452011-06-08 Juanma Barranquero <lekktu@gmail.com>
12346
12347 * loadhist.el (unload-feature-special-hooks):
12348 Add `comint-output-filter-functions'.
12349
0de12c52
IK
123502011-06-08 Ivan Kanis <gnu@kanis.fr>
12351
12352 * calendar/appt.el (appt-check): Move some initializations into the let.
12353
f3d1777e
MR
123542011-06-08 Martin Rudalics <rudalics@gmx.at>
12355
12356 * window.el (window-height): Defalias to window-total-height.
12357 (window-width): Defalias to window-body-width.
12358
18af70d0
CY
123592011-06-07 Chong Yidong <cyd@stupidchicken.com>
12360
12361 * image-mode.el (image-toggle-animation): New command.
12362 (image-mode-map): Bind it to RET.
12363 (image-mode): Update message.
12364 (image-toggle-display-image): Avoid a spurious cache flush.
12365 (image-transform-rotation): Doc fix.
12366 (image-transform-properties): Return quickly in the normal case.
12367 (image-animate-loop): Rename from image-animate-max-time.
12368
2b75be67 12369 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12370 (create-animated-image): Remove unnecessary function.
12371 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12372 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12373 (image-animate-timer): Use car-safe.
12374 (image-animate-timeout): Rename argument.
12375
190b47e6
MR
123762011-06-07 Martin Rudalics <rudalics@gmx.at>
12377
12378 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12379 window.c. Rename first argument to ALL-FRAMES.
12380 Rephrase doc-strings.
12381 (get-buffer-window-list): Rewrite using window-list-1.
12382 Rephrase doc-string.
a1511caf
MR
12383 (window-safe-min-height, window-safe-min-width): New constants.
12384 (window-size-ignore, window-min-size, window-min-size-1)
12385 (window-sizable, window-sizable-p, window-size-fixed-1)
12386 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12387 (window-max-delta-1, window-max-delta, window-resizable)
12388 (window-resizable-p, window-total-height, window-total-width)
12389 (window-body-width): New functions.
12390 (window-full-height-p, window-full-width-p): Rewrite using
12391 window-total-size.
12392 (window-body-height): Rewrite using window-body-size.
190b47e6 12393
85cc1f11
MR
123942011-06-06 Martin Rudalics <rudalics@gmx.at>
12395
12396 * window.el (window-right, window-left, window-child)
12397 (window-child-count, window-last-child, window-any-p)
12398 (normalize-live-buffer, normalize-live-frame)
12399 (normalize-any-window, normalize-live-window)
12400 (window-iso-combination-p, window-iso-combined-p)
12401 (window-iso-combinations)
12402 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12403 (windows-with-parameter, window-with-parameter)
12404 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12405 (window-atom-check, window-side-check, window-check):
12406 New functions.
85cc1f11
MR
12407 (ignore-window-parameters, window-sides, window-sides-vertical)
12408 (window-sides-slots): New variables.
12409 (window-size-fixed): Move down in code. Minor doc-string fix.
12410
e7156492
AS
124112011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12412
12413 * comint.el (comint-dynamic-complete-as-filename)
12414 (comint-dynamic-complete-filename): Correctly call
12415 completion-in-region.
12416
7e821d0d
DD
124172011-06-05 Deniz Dogan <deniz@dogan.se>
12418
12419 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12420 in last change.
12421
ac09b8a1
DD
124222011-06-05 Deniz Dogan <deniz@dogan.se>
12423
12424 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12425 (rcirc): Use it to prompt for encryption.
12426
34699b85
RW
124272011-06-05 Roland Winkler <winkler@gnu.org>
12428
12429 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12430 (bibtex-search-entries): New command bound to C-c C-a.
12431 (bibtex-display-entries): New function.
12432
004dedd3
RW
124332011-06-05 Roland Winkler <winkler@gnu.org>
12434
12435 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12436 (bibtex-insert-kill): After yanking insert newline if necessary.
12437 (bibtex-initialize): Call bibtex-string-files-init only once.
12438 (bibtex-mode): Do not call easy-menu-add.
12439 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12440 (bibtex-yank): Set arg properly if nil.
12441
022fe7ce
RW
124422011-06-05 Roland Winkler <winkler@gnu.org>
12443
2b75be67
SM
12444 * textmodes/bibtex.el (bibtex-search-entry-globally):
12445 New variable.
022fe7ce
RW
12446 (bibtex-search-entry): Use it.
12447
b7c3692a
RW
124482011-06-05 Roland Winkler <winkler@gnu.org>
12449
12450 * textmodes/bibtex.el (bibtex-entry-format): New option
12451 sort-fields.
12452 (bibtex-format-entry, bibtex-reformat): Honor this option.
12453 (bibtex-parse-entry): Return fields in proper order.
12454
8eda563d
JB
124552011-06-05 Juanma Barranquero <lekktu@gmail.com>
12456
12457 * doc-view.el (doc-view-remove-if): Move computation of result out
12458 of `dolist' to silence misleading lexical-binding warning.
12459
7dbe3dbc
CY
124602011-06-04 Chong Yidong <cyd@stupidchicken.com>
12461
12462 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12463 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12464
0c33dd17
MA
124652011-06-04 Michael Albinus <michael.albinus@gmx.de>
12466
12467 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12468 "SunOS 5.10".
12469
f8f91c2b
MA
124702011-06-04 Michael Albinus <michael.albinus@gmx.de>
12471
12472 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12473 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12474 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12475 (tramp-parse-putty):
12476 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12477 (tramp-completion-function-alist-ssh)
12478 (tramp-completion-function-alist-telnet)
12479 (tramp-completion-function-alist-su)
12480 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12481 cookie.
12482
12483 * net/tramp-ftp.el:
12484 * net/tramp-sh.el:
12485 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12486 load "tramp.el" `tramp-set-completion-function'.
12487
e17d9003
SM
124882011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12489
12490 * shell.el: Require and use pcomplete.
12491 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12492 (shell-completion-vars): Set pcomplete-default-completion-function.
12493
6c4cab03
DD
124942011-06-04 Deniz Dogan <deniz@dogan.se>
12495
12496 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12497 `memq' (Bug#8799).
12498
ea9fafe0
SM
124992011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12500
12501 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12502
b3e945d3
JB
125032011-06-02 Juanma Barranquero <lekktu@gmail.com>
12504
12505 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12506 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12507 * vc/log-view.el (log-view-beginning-of-defun):
12508 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12509 (smerge-refine-forward, smerge-refine-chopup-region):
12510 Silence warning for unused `dotimes' counter variables.
12511
7d520089
SM
125122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12513
12514 * net/tramp.el (tramp-with-progress-reporter): Rename from
12515 with-progress-reporter. Use `declare'.
12516 * net/tramp-smb.el:
12517 * net/tramp-sh.el:
12518 * net/tramp-gvfs.el: Update all uses.
12519
a1c2400f
JB
125202011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12521
12522 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12523 buffer isn't killed before making it current.
12524
2403c841
SM
125252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12526
12527 Silence various byte-compiler warnings.
12528 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12529 `access-type' and new obsolescence format.
12530 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12531 new format.
12532 (byte-compile-check-variable): New `access-type' argument.
12533 Only warn if the access-type is obsolete.
12534 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12535 (byte-compile-variable-set): Adjust callers.
12536 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12537 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12538 setting it as obsolete.
12539 * simple.el (minibuffer-completing-symbol):
12540 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12541 access as obsolete.
12542 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12543 obsolete yet.
12544 * international/quail.el (quail-mouse-choose-completion): Remove unused
12545 code referring to obsolete var.
12546 (quail-choose-completion-string): Remove.
12547 * server.el (server-clients-with, server-kill-buffer-query-function)
12548 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12549 * proced.el (proced-send-signal):
12550 * emacs-lisp/lisp.el (lisp-complete-symbol):
12551 Replace completion-annotate-function with completion-extra-properties.
12552
2462470b
SM
125532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12554
fb5b2591
SM
12555 * simple.el (goto-line): Use read-number.
12556 (overriding-map-is-bound): Remove.
12557 (saved-overriding-map): Change default.
12558 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12559 Take the map as argument.
12560 (universal-argument, negative-argument, digit-argument): Use it.
12561 (restore-overriding-map): Adjust.
12562 (do-auto-fill): Use fill-forward-paragraph.
12563 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12564
fd6fa53f
SM
12565 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12566 (minibuffer-inactive-mode): New major mode.
12567 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12568 the *Messages* buffer" hack.
12569 (mouse-popup-menubar): Don't burp if the event is a normal key.
12570
2462470b
SM
12571 Miscellaneous tweaks.
12572 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12573 lexical scoping as in subr.el's dolist and dotimes.
12574 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12575 Silence compiler warning.
12576 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12577 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12578 * international/ccl.el (ccl-compile): Trivial simplification.
12579 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12580 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12581 `printflag' argument.
12582 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12583 Purecopy the whole obsolescence data.
12584
108bf785
LL
125852011-06-01 Leo Liu <sdl.web@gmail.com>
12586
12587 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12588 improve doc-string as suggested by Marco Pessotto
12589 <melmothx@gmail.com>.
12590 (rcirc-print): Fix last change.
12591
30a23501
SM
125922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12593
12594 * minibuffer.el (complete-with-action): Return nil for the metadata and
12595 boundaries of non-functional tables.
12596 (completion-table-dynamic): Return nil for the metadata.
12597 (completion-table-with-terminator): Add default case, using
12598 complete-with-action.
12599 (completion--metadata): New function.
12600 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12601 to try and avoid pathological performance problems.
12602 (completion--embedded-envvar-table): Return `category' metadata.
12603
bcd54f83
LMI
126042011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12605
12606 * subr.el (process-alive-p): New tiny convenience function.
12607
e227544d
SM
126082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12611 content but also its previous major mode.
12612
e8296fdc
HE
126132011-05-31 Helmut Eller <eller.helmut@gmail.com>
12614
4d61f28d 12615 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12616 *Backtrace* buffer when we exit with C-M-c.
12617
620c53a6
SM
126182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * minibuffer.el: Add metadata method to completion tables.
12621 (completion-category-overrides): New defcustom.
12622 (completion-metadata, completion--field-metadata)
12623 (completion-metadata-get, completion--styles)
12624 (completion--cycle-threshold): New functions.
12625 (completion-try-completion, completion-all-completions):
12626 Add `metadata' argument to choose completion-styles.
12627 (completion--do-completion): Use metadata to choose cycling.
12628 (completion-all-sorted-completions): Use metadata for sorting.
12629 Remove :completion-cycle-penalty which is not needed any more.
12630 (completion--try-word-completion): Add `metadata' argument.
12631 (minibuffer-completion-help): Check metadata for annotation function
12632 and sorting.
12633 (completion-file-name-table): Return `category' metadata.
12634 (minibuffer-completing-file-name): Make obsolete.
12635 * simple.el (minibuffer-completing-symbol): Make obsolete.
12636 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12637 completion-try-completion.
12638
1257e755
SM
126392011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12640
12641 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12642
3767e706
LL
126432011-05-30 Leo Liu <sdl.web@gmail.com>
12644
12645 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12646 (rcirc-print): Decode all incoming messages (bug#8744).
12647 (rcirc-decode-coding-system): Allow value nil for automatic coding
12648 system detection.
3767e706 12649
d1a5d56a
GM
126502011-06-01 Glenn Morris <rgm@gnu.org>
12651
12652 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12653
e8cbec34
CY
126542011-05-29 Chong Yidong <cyd@stupidchicken.com>
12655
12656 * image.el (image-animate-max-time): Allow nil and t values.
12657 Default to nil.
12658 (create-animated-image): Doc fix.
12659 (image-animate-start): Remove second arg; just use
12660 image-animate-max-time.
12661 (image-animate-timeout): Doc fix. Args changed.
12662
12663 * image-mode.el (image-toggle-display-image): Ensure that the
12664 image spec passed to the animate timer is the same object as in
58179cce 12665 the buffer's display property (Bug#6981).
e8cbec34
CY
12666 (image-transform-properties): Doc fix.
12667
12668 * image.el (image-animate-max-time): Default to nil.
12669
159daf87
MR
126702011-05-29 Martin Rudalics <rudalics@gmx.at>
12671
12672 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12673 entire buffer list (Bug#8184).
12674
d66c4c7c
CY
126752011-05-29 Chong Yidong <cyd@stupidchicken.com>
12676
12677 * image.el (imagemagick-types-inhibit)
12678 (imagemagick-register-types): Doc fix.
12679
80aec780
DD
126802011-05-29 Deniz Dogan <deniz@dogan.se>
12681
12682 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12683 default.
12684
1dd3c2d9
CY
126852011-05-29 Chong Yidong <cyd@stupidchicken.com>
12686
12687 * select.el: Don't perform clipboard-manager saving in hooks;
12688 leave the hooks empty.
12689
60e56523
LL
126902011-05-28 Leo Liu <sdl.web@gmail.com>
12691
12692 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12693 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12694 (occur-edit-mode): New major mode (Bug#8463).
12695 (occur-after-change-function): New function.
12696 (occur-engine): Give Occur tags a read-only property.
12697
2b1e1a22
KR
126982011-05-28 Kevin Ryde <user42@zip.com.au>
12699
12700 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12701
5d344e88
CY
127022011-05-28 Chong Yidong <cyd@stupidchicken.com>
12703
8e6ca83d
CY
12704 * bindings.el (help-echo): Make the initial non-indicator dash
12705 empty on graphical terminals (Bug#7295).
12706
5d344e88
CY
12707 * files.el (auto-mode-alist): Move config rule after the
12708 in-stripping one (Bug#8547).
12709
bfbbace7
CY
12710 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12711
fbeba6e2
CY
12712 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12713 setting (Bug#8740).
12714
60ed8c72
AA
127152011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12716
4ac619f0
AA
12717 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12718 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12719 (Bug#8539).
60ed8c72 12720
23db196e
CY
127212011-05-28 Chong Yidong <cyd@stupidchicken.com>
12722
12723 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12724
5012f24c
DK
127252011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12726
12727 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12728 (hs-hide-block-at-point, hs-find-block-beginning)
12729 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12730 (Bug#8279).
12731
6a639b16
GM
127322011-05-28 Glenn Morris <rgm@gnu.org>
12733
12734 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12735
d43eaf2c
CY
127362011-05-28 Chong Yidong <cyd@stupidchicken.com>
12737
5199bde1
CY
12738 * help-fns.el (describe-function-1): If the function is a derived
12739 major mode, print the parent mode.
12740
d43eaf2c
CY
12741 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12742 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12743
423428a8
SM
127442011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12745
0ff8e1ba 12746 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12747 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12748 * progmodes/etags.el (tags-completion-at-point-function):
12749 * info-look.el (info-lookup-completions-at-point): Mark as
12750 non-exclusive.
12751 (info-complete): Adjust accordingly.
12752
423428a8
SM
12753 * info-look.el: Convert to lexical-binding and completion-at-point.
12754 (info-lookup-completions-at-point): New function.
12755 (info-complete): Use it and completion-in-region.
12756
b74aa22b
DA
127572011-05-28 Drew Adams <drew.adams@oracle.com>
12758
12759 * isearch.el: Let M-e start with point at the first mismatched char.
12760 (isearch-fail-pos): New function.
12761 (isearch-edit-string): Use it.
12762
66e2e71d
DK
127632011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12764
12765 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12766
b1890b0f 127672011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12768
12769 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12770 traversal functions for avl-trees.
12771 (avl-tree--stack): New struct.
12772 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12773 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12774 (avl-tree--do-enter): Add optional `updatefun' arg.
12775 Change return value.
eb95d01d 12776 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12777 (avl-tree--do-delete): Add `test' and `nilflag' args.
12778 Change return value.
eb95d01d
TC
12779 (avl-tree-member): Add optional `nilflag'
12780 (avl-tree-member-p): New function.
12781 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12782 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12783 (avl-tree-stack-empty-p): New functions.
12784
3769ddcf
TC
12785 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12786 avl-tree--del-balance1 and make it work both ways.
12787 (avl-tree--del-balance2): Remove.
12788 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12789 make it work both ways.
12790 (avl-tree--enter-balance2): Remove.
12791 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12792 New macros.
12793 (avl-tree--mapc, avl-tree-map): Add direction argument.
12794
eb95d01d 127952011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12796
12797 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12798
a9f737ee
CY
127992011-05-27 Chong Yidong <cyd@stupidchicken.com>
12800
12801 * select.el: Support clipboard managers with built-in function
12802 x-clipboard-manager-save, via delete-frame-functions and
12803 kill-emacs-hook.
12804 (xselect-convert-to-targets): Add MULTIPLE target to list.
12805 (xselect-convert-to-save-targets): New function.
12806
c92a1e54
KH
128072011-05-27 Kenichi Handa <handa@m17n.org>
12808
12809 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12810 let-binding rfc2047-encode-encoded-words to nil.
12811
e145f188
GM
128122011-05-27 Glenn Morris <rgm@gnu.org>
12813
5ec8a862
GM
12814 * mail/emacsbug.el: Don't require url-util.
12815
4b29d9fb
GM
12816 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12817
e145f188
GM
12818 * files.el (set-auto-mode):
12819 Also respect mode: entries at the end of the file. (Bug#8586)
12820
7d15102b
GM
128212011-05-26 Glenn Morris <rgm@gnu.org>
12822
98f593b8
GM
12823 * files.el (hack-local-variables-prop-line, hack-local-variables):
12824 Downcase mode names, as seems to be traditional.
27b48e63 12825 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12826
7d15102b
GM
12827 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12828 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12829
51d5b4ec
JD
128302011-05-25 Julien Danjou <julien@danjou.info>
12831
12832 * textmodes/rst.el (rst-define-level-faces): Do not define face
12833 symbol if it is already defined.
12834
91513f63
VB
128352011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12836
12837 * play/5x5.el (5x5-new-game, 5x5-randomize):
12838 Reset 5x5-solver-output to nil when a new grid is cast.
12839 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12840 these debugging traces, as defmacro breaks the compiled code.
12841
4d90d6d0
DK
128422011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12843
12844 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12845
e1b90ef6
LL
128462011-05-24 Leo Liu <sdl.web@gmail.com>
12847
12848 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12849 (vc-bzr-sha1): Adapt.
12850
d8e4b68b 12851 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12852
12853 * bindings.el: Provide sha1 feature.
12854
db0406bb 128552011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12856
12857 * mail/sendmail.el: Require `rfc2047'.
12858 (mail-insert-from-field): Do not perform RFC2047 encoding.
12859 (mail-encode-header): New function.
12860 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12861 buffer to the return value of select-message-coding-system.
12862 Call mail-encode-header.
b8d747b9
KH
12863
12864 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12865
db0406bb 128662011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12867
4d90d6d0
DK
12868 * mail/supercite.el (sc-default-cite-frame):
12869 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12870
eb8a5e9b
GM
128712011-05-24 Glenn Morris <rgm@gnu.org>
12872
f8630703
GM
12873 * progmodes/python.el (brm-menu): Declare.
12874
8831bbed
GM
12875 * emulation/viper.el (viper-set-hooks): Declare.
12876
eb8a5e9b
GM
12877 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12878 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12879 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12880 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12881 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12882 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12883
a2a25d24
SM
128842011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12885
12886 Add an :exit-function for completion-at-point.
12887
12888 * minibuffer.el (completion--done): New fun.
12889 (completion--do-completion): Use it. New arg `expect-exact'.
12890 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12891 since completion--do-completion does it for us now.
12892 (minibuffer-force-complete): Use completion--done and
12893 completion--replace. Handle sole-completion case with more care.
12894 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12895 (completion-extra-properties): New var.
12896 (completion-annotate-function): Make obsolete.
12897 (minibuffer-completion-help): Adjust accordingly.
12898 Use completion-list-insert-choice-function.
12899 (completion-at-point, completion-help-at-point):
12900 Bind completion-extra-properties.
12901 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12902 * simple.el (completion-list-insert-choice-function): New var.
12903 (completion-setup-function): Preserve it.
12904 (choose-completion): Pay attention to it, shuffle the code a bit.
12905 (choose-completion-string): New arg `insert-function'.
12906
12907 * textmodes/bibtex.el: Convert to lexical binding.
12908 (bibtex-mode-map): Use completion-at-point.
12909 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12910 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12911 (bibtex-complete): Define as obsolete alias.
12912 (bibtex-complete-internal): Remove.
12913 (bibtex-format-entry): Remove unused sub-group in regexp.
12914 * shell.el (shell--command-completion-data)
12915 (shell-environment-variable-completion):
12916 * pcomplete.el (pcomplete-completions-at-point):
12917 * comint.el (comint--complete-file-name-data): Use :exit-function
12918 instead of completion-table-with-terminator so it also works for
12919 choose-completion.
12920
e44e373d
SM
129212011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12922
4f91a816
SM
12923 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12924
782fc819
SM
12925 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12926 (bug#8710).
12927
e44e373d
SM
12928 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12929
381987c3
KM
129302011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12931
12932 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12933 customization variable and implement: If non-nil, auto-fill will
12934 be inhibited while on topic's header line.
12935
b776bc70
VB
129362011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12937
12938 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12939 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12940 always have a solution in grid size = 5 cases.
12941 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12942 (5x5-solver-output, 5x5-log-buffer): New vars.
12943 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12944 Make these variables buffer local to achieve 5x5 multi-session-ness.
12945 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12946 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12947 (5x5-solve-suggest): New funs.
12948 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12949 randomize a grid so that we ensure that there is always a solution.
12950 (5x5-make-random-grid): Allow other movement than flipping.
12951
7de88b6e
KR
129522011-05-23 Kevin Ryde <user42@zip.com.au>
12953
12954 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12955 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12956 advice and passes PREDICATE.
12957
b1ef1257
SM
129582011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12959
bbca48fe
SM
12960 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12961 byte-compile-lambda if it's actually a lambda.
12962
b1ef1257
SM
12963 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12964 Fix function quoting. Use backquote better.
12965
92a9cc65
YS
129662011-05-22 Yuanle Song <sylecn@gmail.com>
12967
12968 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12969 matching (Bug#8516).
12970
f0fb8059
JA
129712011-01-22 Jari Aalto <jari.aalto@cante.net>
12972
12973 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12974 different face (Bug#8178).
12975
d5b44c93
CY
129762011-05-22 Chong Yidong <cyd@stupidchicken.com>
12977
12978 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12979 defface (Bug#8144).
12980
79106a44
SM
129812011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12982
9c848d8a
SM
12983 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12984 funcall as well (bug#8712). Warn when performing those conversions.
12985 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12986
79106a44
SM
12987 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12988
88dfa756
GM
129892011-05-22 Glenn Morris <rgm@gnu.org>
12990
12991 * files.el (hack-local-variables-prop-line): Small simplifications.
12992 (hack-local-variables, hack-local-variables-prop-line):
12993 If MODE-ONLY, return the mode, rather than just `t'.
12994
b7cf2c79
SM
129952011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12996
12997 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12998
3f1a8558
GM
129992011-05-21 Glenn Morris <rgm@gnu.org>
13000
7e4ccca3
GM
13001 * files.el (hack-local-variables-prop-line, hack-local-variables):
13002 If only interested in the mode, don't bother doing the other stuff.
13003
637d46ca
GM
13004 * image-mode.el (image-after-revert-hook):
13005 Redraw all frames on which the image is visible. (Bug#8567)
13006
973d955b
GM
13007 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13008
3f1a8558
GM
13009 * wid-edit.el (widget-checklist-match-inline):
13010 Fix 2011-04-19 change. (Bug#8649)
13011
96479927
SM
130122011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13013
1dcf791f
SM
13014 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13015 Also allow singlespace after single-letter capitals followed by a dot.
13016
96479927
SM
13017 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13018 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13019
35fd0881
N
130202011-05-20 Nix <nix@esperi.org.uk>
13021
13022 * files.el (basic-save-buffer-2):
13023 Fix handling of break-hardlink-on-save with non-existent files.
13024
82745640
DD
130252011-05-19 Deniz Dogan <deniz@dogan.se>
13026
13027 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13028 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13029
4a720484
GM
130302011-05-19 Glenn Morris <rgm@gnu.org>
13031
d1f21341
GM
13032 * progmodes/f90.el (f90-type-def-re):
13033 Handle "type, bind(c)". (Bug#8691)
13034
4a720484
GM
13035 * emacs-lisp/autoload.el (batch-update-autoloads):
13036 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13037
2fb0a219
MA
130382011-05-18 Michael Albinus <michael.albinus@gmx.de>
13039
13040 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13041 property for the correct connection in case of multihops.
13042
e565dd37
GM
130432011-05-18 Glenn Morris <rgm@gnu.org>
13044
c2571358 13045 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13046 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13047
e565dd37
GM
13048 Rationalize calendar handling of day and month abbrev-arrays.
13049 * calendar/calendar.el (calendar-customized-p): New function.
13050 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13051 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13052 Add :set function.
13053 (calendar-abbrev-length, calendar-day-abbrev-array)
13054 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13055 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13056 Elements may no longer be nil.
13057 (calendar-day-name, calendar-month-name):
13058 Update for changed nature of abbrev arrays.
13059 * calendar/diary-lib.el (diary-name-pattern):
13060 Update for changed nature of abbrev arrays.
13061 (diary-mark-entries-1): Update calendar-make-alist calls.
13062 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13063 * calendar/cal-html.el (cal-html-day-abbrev-array):
13064 Simply inherit from calendar-day-abbrev-array.
13065
1d99a745
SM
130662011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13067
13068 * progmodes/grep.el (grep-mode): Disable default
13069 compilation-directory-matcher setting (bug#8684).
13070
7c1d9aa0
MA
130712011-05-17 Michael Albinus <michael.albinus@gmx.de>
13072
13073 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13074 instead of "head" and "tail". There were problems with SunOS 5.9,
13075 and it performs better.
13076
3952e9d8
GM
130772011-05-17 Glenn Morris <rgm@gnu.org>
13078
2dd12e7f
GM
13079 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13080
e4157b9c
GM
13081 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13082 Replace obsolete function.
13083
8e249bbd
GM
13084 * shell.el (pcomplete-parse-arguments-function): Declare.
13085
3952e9d8
GM
13086 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13087 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13088 (appt-check): Doc fixes.
13089 (appt-disp-window-function, appt-delete-window-function):
13090 Remove needless special case in custom :type.
13091 (appt-display-count): Default to 0, not nil.
13092 (appt-check): Reset appt-display-count to 0, not nil.
13093
c71a0d48 130942011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13095
c71a0d48
GM
13096 * progmodes/python.el (python-font-lock-keywords):
13097 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13098
31d55be9
SM
130992011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13100
13101 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13102
3bfacb2f
KR
131032011-05-16 Kevin Ryde <user42@zip.com.au>
13104
13105 * info-look.el (makefile-automake-mode): New setups, looking in
13106 automake manual, then makefile-mode.
13107 (makefile-mode): Remove automake manual, have it just in
13108 makefile-automake-mode since there's various things different or
13109 not relevant to plain make.
13110 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13111 believe a hypothetical automake-mode would go to makefile-mode,
13112 not the other way around.
13113
c8e83751
CY
131142011-05-15 Chong Yidong <cyd@stupidchicken.com>
13115
5e9e35cd
CY
13116 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13117 hunk-end tags (Bug#8672).
13118
c8e83751
CY
13119 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13120 vc-annotate-show-diff-revision-at-line (Bug#8671).
13121
50b23e5a
GM
131222011-05-14 Glenn Morris <rgm@gnu.org>
13123
7210a739
GM
13124 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13125 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13126 (change-log-font-lock-keywords): Also handle multiple author lines
13127 with leading tabs. (Bug#8644)
7210a739 13128
4691905a
GM
13129 * calendar/appt.el (appt-check): Rename some local variables.
13130 Some simplification/reordering.
13131
50b23e5a
GM
13132 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13133 (feedmail-sendmail-f-doesnt-sell-me-out)
13134 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13135 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13136 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13137 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13138 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13139 (feedmail-binmail-gnulinuxish-template):
13140 Rename from feedmail-binmail-linuxish-template.
13141 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13142 Use insert-buffer-substring.
13143
215cda7c
BC
131442011-05-14 Bill Carpenter <bill@carpenter.org>
13145
13146 * mail/feedmail.el (feedmail-patch-level): Increase.
13147 (feedmail-debug): New custom group.
13148 (feedmail-confirm-outgoing-timeout)
13149 (feedmail-sendmail-f-doesnt-sell-me-out)
13150 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13151 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13152 (feedmail-sender-line, feedmail-from-line)
13153 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13154 (feedmail-spray-this-address)
215cda7c
BC
13155 (feedmail-spray-address-fiddle-plex-list)
13156 (feedmail-queue-use-send-time-for-date)
13157 (feedmail-queue-use-send-time-for-message-id)
13158 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13159 (feedmail-buffer-eating-function):
13160 Doc fixes.
13161 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13162 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13163 (feedmail-message-action-scroll-down): New functions.
13164 (feedmail-queue-directory, feedmail-queue-draft-directory):
13165 Use expand-file-name.
13166 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13167 Remove C-v help entry.
13168 (feedmail-queue-buffer-file-name): New variable.
13169 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13170 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13171 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13172 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13173 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13174 (feedmail-message-action-toggle-spray)
13175 (feedmail-run-the-queue-no-prompts)
13176 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13177 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13178 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13179 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13180 (feedmail-envelope-deducer, feedmail-fiddle-from)
13181 (feedmail-fiddle-sender, feedmail-default-date-generator)
13182 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13183 (feedmail-fiddle-spray-address)
13184 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13185 (feedmail-fiddle-list-of-fiddle-plexes)
13186 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13187 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13188 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13189 Change default. Doc fix.
13190 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13191 (feedmail-binmail-linuxish-template): New constant.
13192 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13193 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13194 (feedmail-send-it): Add debug call.
13195 Use feedmail-queue-buffer-file-name, and
13196 feedmail-send-it-immediately-wrapper.
13197 (feedmail-message-action-send): Add debug call.
13198 Use feedmail-send-it-immediately-wrapper.
13199 (feedmail-queue-express-to-queue): Add debug call.
13200 Run feedmail-queue-express-hook.
13201 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13202 (feedmail-message-action-help-blat):
13203 Rename from feedmail-queue-send-edit-prompt-help-first.
13204 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13205 Check line-endings. Handle errors better.
13206 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13207 Doc fix. Add debug call.
13208 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13209 Use feedmail-queue-send-edit-prompt-inner.
13210 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13211 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13212 from feedmail-queue-send-edit-prompt.
13213 (feedmail-queue-send-edit-prompt-help)
13214 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13215 (feedmail-tidy-up-slug): Add debug call.
13216 Respect feedmail-queue-slug-suspect-regexp.
13217 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13218 (feedmail-dump-message-to-queue): Add debug call.
13219 Expand queue-directory.
13220 (feedmail-dump-message-to-queue): Change message slightly.
13221 Use feedmail-say-chatter.
13222 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13223 (feedmail-send-it-immediately-wrapper): New function.
13224 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13225 Insert empty string rather than newline. Handle full-frame case.
13226 Use catch/throw. Use feedmail-say-chatter.
13227 (feedmail-fiddle-from): Try mail-host-address.
13228 (feedmail-default-message-id-generator): Doc fix.
13229 Bind system-time-locale. Handle missing end.
13230 (feedmail-fiddle-x-mailer): Add debug call.
13231 Handle feedmail-x-mailer-line being nil.
13232 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13233 Add debug call. Use buffer-substring-no-properties.
13234 (feedmail-say-debug, feedmail-say-chatter): New functions.
13235 (feedmail-find-eoh): Give an explicit error.
13236
42c7e61e
UJ
132372011-05-13 Ulf Jasper <ulf.jasper@web.de>
13238
c2571358 13239 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13240 family from helvetica to sans.
c2571358 13241 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13242 etc/images/newsticker.
13243
c2571358 13244 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13245 family from helvetica to sans.
13246
13247 * net/newst-plainview.el (newsticker-new-item-face)
13248 (newsticker-old-item-face, newsticker-immortal-item-face)
13249 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13250 (newsticker-statistics-face): Change default family from
42c7e61e 13251 helvetica to sans.
c2571358 13252 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13253 etc/images/newsticker.
13254
5d3385a0
JB
13255 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13256 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13257 auto-marking.
13258
8497a297
DV
132592011-05-13 Didier Verna <didier@xemacs.org>
13260
13261 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13262 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13263 TODO entries.
8497a297
DV
13264 (lisp-lambda-list-keyword-parameter-indentation)
13265 (lisp-lambda-list-keyword-parameter-alignment)
13266 (lisp-lambda-list-keyword-alignment): New customizable user options.
13267 (lisp-indent-defun-method): Improve docstring.
13268 (extended-loop-p): Fix comment.
13269 (lisp-indent-lambda-list-keywords-regexp): New variable.
13270 (lisp-indent-lambda-list): New function.
13271 (lisp-indent-259): Use it.
13272 (lisp-indent-defmethod): Support for more than one
13273 method qualifier and properly indent methods lambda-lists.
13274 (defgeneric): Provide a missing common-lisp-indent-function property.
13275
f278f87f
SM
132762011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13277
13278 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13279 bounds for the empty string (bug#8667).
13280
5233edd7
GM
132812011-05-13 Glenn Morris <rgm@gnu.org>
13282
5237a44f
GM
13283 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13284
8340026c 13285 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13286 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13287
5233edd7 13288 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13289 (appt-time-msg-list): Doc fix.
a5464014 13290 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13291
92d10796
AS
132922011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13293
13294 * progmodes/ld-script.el (ld-script-keywords)
13295 (ld-script-builtins): Update keywords list.
13296
914a0ae1
SM
132972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13298
c89be45f
SM
13299 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13300
914a0ae1
SM
13301 * shell.el (shell-completion-vars): New function.
13302 (shell-mode):
13303 * simple.el (read-shell-command): Use it.
13304 (blink-matching-open): No need for " [...]" in minibuffer-message.
13305
98dc3df3
GM
133062011-05-12 Glenn Morris <rgm@gnu.org>
13307
13308 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13309 (appt-check): Simplify.
13310
d2fc7e3d 133112011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13312
4d61f28d 13313 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13314 literal "/dev/null".
13315
d2fc7e3d 133162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13317
13318 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13319 Fix typo.
13320
d2fc7e3d 133212011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13322
3f254caa
SM
13323 * progmodes/which-func.el (which-function):
13324 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13325 which might not be defined (Bug#8260).
13326
d45885f7
GM
133272011-05-12 Glenn Morris <rgm@gnu.org>
13328
13329 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13330 Let byte-compile-initial-macro-environment always take precedence.
13331
488086f4
SM
133322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13333
13334 * net/rcirc.el: Add support for SSL/TLS connections.
13335 (rcirc-server-alist): New field `encryption'.
13336 (rcirc): Check `encryption' settings.
13337 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13338 Merge make-local-variable into `set'.
13339 (rcirc--connection-open-p): New function.
13340 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13341 the process is not a network process (e.g. running gnutls-cli).
13342 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13343 Make rcirc-(en|de)code-coding-system local here.
13344 (rcirc-mode): Merge make-local-variable into `set'.
13345 (rcirc-parent-buffer): Make permanent buffer-local.
13346 (rcirc-multiline-minor-mode): Don't do it here.
13347 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13348 there's no server buffer.
13349
7d3b9d44
GM
133502011-05-11 Glenn Morris <rgm@gnu.org>
13351
f64049c6
GM
13352 * newcomment.el (comment-kill): Prefix "unused" local.
13353
93c9df73
GM
13354 * term/w32console.el (get-screen-color): Declare.
13355
7d3b9d44
GM
13356 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13357 Handle symbol elements of byte-compile-initial-macro-environment.
13358
9e2dd53f
LL
133592011-05-10 Leo Liu <sdl.web@gmail.com>
13360
488086f4
SM
13361 * bookmark.el (bookmark-bmenu-mode-map):
13362 Bind bookmark-bmenu-search to `/'.
8b340240 13363
9e2dd53f 13364 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13365 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13366 (Footnote-unicode): New function.
13367 (footnote-style-alist): Add unicode style to the list.
13368 (footnote-style): Doc fix.
9e2dd53f 13369
79b70037
GM
133702011-05-10 Jim Meyering <meyering@redhat.com>
13371
13372 Fix doubled-word typos.
13373 * international/quail.el (quail-insert-kbd-layout): and and -> and
13374 * kermit.el: and and -> and
13375 * net/ldap.el (ldap-search-internal): to to -> to
13376 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13377 * progmodes/js.el (js-mode): and and -> and
13378 * textmodes/artist.el (artist-move-to-xy): at at -> at
13379 (artist-draw-region-trim-line-endings): if if -> if
13380 And Safetyc -> Safety.
13381 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13382
b8f82dc1 133832011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13384 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13385
13386 * files.el (hack-one-local-variable-eval-safep):
13387 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13388
4f99f44b
GM
133892011-05-10 Glenn Morris <rgm@gnu.org>
13390
13391 * calendar/diary-lib.el (diary-list-entries-hook)
13392 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13393 (diary-nongregorian-marking-hook, diary-list-entries)
13394 (diary-include-other-diary-files, diary-mark-entries)
13395 (diary-mark-included-diary-files): Doc fixes.
13396
84f29e6b
JB
133972011-05-09 Juanma Barranquero <lekktu@gmail.com>
13398
13399 * misc.el: Require tabulated-list.el during compilation.
13400
9bedd73a
CY
134012011-05-09 Chong Yidong <cyd@stupidchicken.com>
13402
488086f4
SM
13403 * progmodes/compile.el (compilation-start):
13404 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13405 (compilation-filter-hook): Doc fix.
13406
797c735c
DD
134072011-05-09 Deniz Dogan <deniz@dogan.se>
13408
13409 * wdired.el: Remove outdated installation comment. Fix usage
13410 comment.
13411
5f4b1dfe
JB
134122011-05-09 Juanma Barranquero <lekktu@gmail.com>
13413
13414 * misc.el: Implement new command `list-dynamic-libraries'.
13415 (list-dynamic-libraries--loaded-only-p): New variable.
13416 (list-dynamic-libraries--refresh): New function.
13417 (list-dynamic-libraries): New command.
13418
4c44026c
CY
134192011-05-09 Chong Yidong <cyd@stupidchicken.com>
13420
488086f4
SM
13421 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13422 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13423 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13424 higher priority to avoid clobbering by gnu.
13425
027f966d
CY
134262011-05-08 Chong Yidong <cyd@stupidchicken.com>
13427
13428 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13429 if the face has existing theme settings (Bug#8454).
13430
085f5d7d
CY
134312011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13432
488086f4
SM
13433 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13434 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13435
2a86a00c
RS
13436 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13437 special file names `.' and `..' (Bug#8259).
13438
d9c54a06
CY
134392011-05-08 Chong Yidong <cyd@stupidchicken.com>
13440
488086f4
SM
13441 * progmodes/grep.el (grep-mode-font-lock-keywords):
13442 Remove buffer-changing entries.
d9c54a06
CY
13443 (grep-filter): New function.
13444 (grep-mode): Add it to compilation-filter-hook.
13445
13446 * progmodes/compile.el (compilation-filter-hook)
13447 (compilation-filter-start): New defvars.
13448 (compilation-filter): Call compilation-filter-hook prior to
13449 updating the process mark.
13450
c4662635
SM
134512011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13452
13453 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13454
b0512a1d
EZ
134552011-05-07 Eli Zaretskii <eliz@gnu.org>
13456
605c9376
EZ
13457 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13458 mailclient-send-it even if window-system is nil. (Bug#8595)
13459
c4662635
SM
13460 * term/w32console.el (terminal-init-w32console):
13461 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13462 background-mode. (Bug#8597)
13463
d1dc2cc2
SM
134642011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13465
13466 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13467 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13468 New functions.
13469 (defgeneric, eieio--defmethod): Use them.
13470 (eieio-defgeneric): Remove.
13471 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13472
915d1300
GM
134732011-05-07 Glenn Morris <rgm@gnu.org>
13474
a3961c3e
GM
13475 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13476 Use let rather than let*.
13477 (timeclock-find-discrep): Remove unused local.
13478
314347b9
GM
13479 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13480
915d1300
GM
13481 * calendar/appt.el (appt-time-msg-list): Doc fix.
13482
275b59b0
NF
134832011-05-06 Noah Friedman <friedman@splode.com>
13484
13485 * apropos.el (apropos-print-doc): Only use
13486 emacs-lisp-docstring-fill-column when it is bound to an integer,
13487 per that variable's documentation.
13488
6c19f744
SM
134892011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13490
13491 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13492 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13493
60f884b2
GM
134942011-05-06 Glenn Morris <rgm@gnu.org>
13495
5006e634
GM
13496 * calendar/appt.el (appt-message-warning-time): Doc fix.
13497 (appt-warning-time-regexp): New option.
13498 (appt-make-list): Respect appt-message-warning-time.
13499
548d0a63
GM
13500 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13501 New options.
13502 (diary-add-to-list): Strip comments from the displayed string.
13503 (diary-mode): Set comment-start and comment-end.
13504
60f884b2
GM
13505 * vc/diff-mode.el (smerge-refine-subst): Declare.
13506 (diff-refine-hunk): Don't require smerge-mode when compiling.
13507
989681bb
JB
135082011-05-06 Juanma Barranquero <lekktu@gmail.com>
13509
13510 * simple.el (list-processes): Return nil as the docstring says.
13511
a6bc05e1
MA
135122011-05-05 Michael Albinus <michael.albinus@gmx.de>
13513
13514 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13515 to "".
13516 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13517 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13518 determining of binary transfer. (Bug#7383)
13519
23c22e9a
MA
135202011-05-05 Michael Albinus <michael.albinus@gmx.de>
13521
c4662635
SM
13522 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13523 Fix port computation bug. (Bug#8618)
23c22e9a 13524
0bff894f
GM
135252011-05-05 Glenn Morris <rgm@gnu.org>
13526
b8296902
GM
13527 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13528
1f522ce8
GM
13529 * simple.el (shell-dynamic-complete-functions)
13530 (comint-dynamic-complete-functions): Declare.
13531
cf5bee67
GM
13532 * net/network-stream.el (gnutls-negotiate):
13533 * simple.el (tabulated-list-print): Fix declarations.
13534
13535 * progmodes/gud.el (syntax-symbol, syntax-point):
13536 Remove unnecessary and incorrect declarations.
13537
0bff894f
GM
13538 * emacs-lisp/check-declare.el (check-declare-scan):
13539 Handle byte-compile-initial-macro-environment in bytecomp.el
13540
9869b3ae
SM
135412011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13542
13543 Fix earlier half-done eieio-defmethod change (bug#8338).
13544 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13545 Streamline and change calling convention.
13546 (defmethod): Adjust accordingly and simplify.
13547 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13548 new eieio--defmethod.
13549 (slot-boundp): Minor CSE simplification.
13550
9c1d5ac5
MZ
135512011-05-05 Milan Zamazal <pdm@zamazal.org>
13552
13553 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13554 (glasses-make-readable): Use glasses-separate-capital-groups.
13555
455c834e
JB
135562011-05-05 Juanma Barranquero <lekktu@gmail.com>
13557
13558 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13559 (warning-series): Doc fix.
13560 (display-warning): Don't try to create the buffer if we just found it.
13561
9ed7c8cb
CY
135622011-05-04 Chong Yidong <cyd@stupidchicken.com>
13563
13564 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13565 (autoload-find-generated-file): New function.
13566 (generate-file-autoloads): Bind generated-autoload-file to
13567 buffer-file-name.
9869b3ae
SM
13568 (update-file-autoloads, update-directory-autoloads):
13569 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13570 output file (Bug#7989).
13571 (batch-update-autoloads): Doc fix.
13572
0898ca10
JB
135732011-05-04 Juanma Barranquero <lekktu@gmail.com>
13574
13575 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13576
31dfb76c
GM
135772011-05-04 Glenn Morris <rgm@gnu.org>
13578
f330b642
GM
13579 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13580 function, so it follows changes in calendar-date-style.
13581 (diary-fancy-date-matcher): New function.
13582 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13583 (diary-fancy-font-lock-fontify-region-function):
13584 Use diary-fancy-date-pattern as a function.
13585
31dfb76c
GM
13586 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13587 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13588
48e79d6a
TZ
135892011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13590
13591 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13592 instead of positional arguments. Allow :keylist and :crlfiles
13593 arguments.
13594 (open-gnutls-stream): Call it.
13595
13596 * net/network-stream.el (network-stream-open-starttls): Adjust to
13597 call `gnutls-negotiate' with :process and :hostname arguments.
13598
dd5a5ee0
SM
135992011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13600
ef80fc09
SM
13601 * minibuffer.el (completion--message): New function.
13602 (completion--do-completion, minibuffer-complete)
13603 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13604 (completion--do-completion): Don't ignore completion-auto-help when in
13605 icomplete-mode.
13606
dd5a5ee0
SM
13607 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13608 internal encoding (e.g. tibetan zero is not whitespace).
13609 (global-whitespace-mode): Prefer save-current-buffer.
13610 (whitespace-trailing-regexp): Remove useless save-match-data.
13611 (whitespace-empty-at-bob-regexp): Minor simplification.
13612
b7d22a83
CY
136132011-05-03 Chong Yidong <cyd@stupidchicken.com>
13614
13615 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13616
5192af46
AM
136172011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13618
13619 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13620 Use `concat' to create string for insertion.
5192af46 13621
5767d190
SM
136222011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13623
13624 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13625 Avoid open-line which runs post-self-insert-hook.
13626 (bibtex-fill-entry): Remove unused `end' var.
13627
bf242939
AM
136282011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13629
5767d190
SM
13630 * textmodes/ispell.el (ispell-add-per-file-word-list):
13631 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13632
25666126
LL
136332011-05-03 Leo Liu <sdl.web@gmail.com>
13634
13635 * isearch.el (isearch-yank-pop): New command.
5767d190 13636 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13637 (isearch-forward): Mention it.
13638
52d3c2d0
SM
136392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13640
1bcace58
SM
13641 * simple.el (minibuffer-complete-shell-command): Remove.
13642 (minibuffer-local-shell-command-map): Use completion-at-point.
13643 (read-shell-command): Setup completion vars here instead.
13644 (read-expression-map): Bind TAB to symbol completion.
13645
52d3c2d0
SM
13646 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13647 error directly rather via storing it into `results'.
13648
35813471
LL
136492011-05-02 Leo Liu <sdl.web@gmail.com>
13650
13651 * vc/diff.el: Fix description.
13652
e793a940
LMI
136532011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13654
13655 * server.el (server-eval-at): New function.
13656
8de66e05
LMI
136572011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13658
13659 * net/network-stream.el (open-network-stream): Take a :nowait
13660 parameter and pass it on to `make-network-process'.
13661 (network-stream-open-plain): Ditto.
13662
dcb79f20
AS
136632011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13664
13665 * faces.el (face-spec-set-match-display): Don't match toolkit
13666 options on terminal frames.
13667
14a7fbd8
SM
136682011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13669
7eabc1be
SM
13670 * progmodes/pascal.el: Use lexical binding.
13671 (pascal-mode-map): Remove author preferences.
13672
14a7fbd8
SM
13673 * pcomplete.el (pcomplete-std-complete): Don't abuse
13674 completion-at-point.
13675
50f84510
JB
136762011-04-28 Juanma Barranquero <lekktu@gmail.com>
13677
6e087a44
JB
13678 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13679 removing code that has been dead since 1991 or so.
13680
50f84510
JB
13681 * startup.el (command-line): When warning about "_emacs", use a
13682 delayed warning to allow the user to filter it out.
13683
0ba690bd
DD
136842011-04-28 Deniz Dogan <deniz@dogan.se>
13685
13686 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13687 user has not joined.
13688
08abfaad
SM
136892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13692 aren't any completions at point.
13693
638f053a
JB
136942011-04-28 Juanma Barranquero <lekktu@gmail.com>
13695
13696 * subr.el (display-delayed-warnings): New function.
13697 (delayed-warnings-hook): New variable.
13698
8fff8daa
SM
136992011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13700
08abfaad
SM
13701 * minibuffer.el (completion-at-point, completion-help-at-point):
13702 Don't presume that a given completion-at-point-function will always
13703 use the same calling convention.
13704
8fff8daa
SM
13705 * pcomplete.el (pcomplete-completions-at-point):
13706 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13707 pcomplete-seen is non-nil.
13708 (pcomplete-comint-setup): Also recognize the new comint/shell
13709 completion functions.
13710 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13711 pcomplete-seen is non-nil.
13712
841a1577 137132011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13714
841a1577 13715 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13716 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13717 the first character in the entry. This allows for code to add its
211ec907
UJ
13718 own uid to the entry.
13719 (icalendar--convert-float-to-ical): Add export of
13720 `diary-float'-entries save for those with the optional DAY
13721 argument.
13722
2a782793
DC
137232011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13724
13725 * subr.el (shell-quote-argument): Use alternate escaping strategy
13726 when we spot a variable reference in a string.
13727
0438ce91
DC
137282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13729
13730 * cus-start.el (all): Define customization for debug-on-event.
13731
841a1577 137322011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13733
13734 * subr.el (shell-quote-argument): Escape correctly under Windows.
13735
d090ed6c
SM
137362011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13737
13738 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13739
bfd31217
MA
137402011-04-25 Michael Albinus <michael.albinus@gmx.de>
13741
d090ed6c
SM
13742 * net/tramp.el (tramp-process-actions): Add POS argument.
13743 Delete region between POS and (pos).
bfd31217 13744
d090ed6c
SM
13745 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13746 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13747 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13748
13749 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13750 position in `tramp-process-actions' call.
13751
13752 * net/trampver.el: Update release number.
13753
e92f3bd3
SM
137542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13755
850256b5
SM
13756 * custom.el (defcustom): Obey lexical-binding.
13757
e92f3bd3
SM
13758 Fix octave-inf completion problems reported by Alexander Klimov.
13759 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13760 Inherit from octave-mode-syntax-table.
13761 (inferior-octave-mode): Set info-lookup-mode.
13762 (inferior-octave-completion-at-point): New function.
13763 (inferior-octave-complete): Use it and completion-in-region.
13764 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13765 comint-filename-completion.
13766 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13767 symbol elements which shouldn't be word elements.
13768 (octave-font-lock-keywords, octave-beginning-of-defun)
13769 (octave-function-header-regexp): Adjust regexps accordingly.
13770 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13771
cd22b309
JB
137722011-04-25 Juanma Barranquero <lekktu@gmail.com>
13773
13774 * net/gnutls.el (gnutls-errorp): Declare before first use.
13775
8b492194
TZ
137762011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13777
13778 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13779 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13780 default trustfile exists before going to use it. Add missing
5a5fa834 13781 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13782 Reported by Claudio Bley <claudio.bley@gmail.com>.
13783 (open-gnutls-stream): Add usage example.
13784
13785 * net/network-stream.el (network-stream-open-starttls): Give host
13786 parameter to `gnutls-negotiate'.
13787 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13788 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13789
841a1577 137902011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13791
cd22b309
JB
13792 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13793 Use correct match group (bug#8438).
05842630 13794
3ba7869c
CY
137952011-04-24 Chong Yidong <cyd@stupidchicken.com>
13796
512e3ae1
CY
13797 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13798 (package-menu--generate): New arg specifying packages to show.
13799 (package-menu-refresh, package-menu-execute, list-packages):
13800 Callers changed.
13801 (package-show-package-list): New function, replacing deleted
13802 package--list-packages (renamed because it is non-internal).
13803
13804 * finder.el (finder-list-matches): Use package-show-package-list
13805 instead of deleted package--list-packages.
13806
e92f3bd3
SM
13807 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13808 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13809 (vc-annotate-mode-map): Bind it to RET.
13810
7031be6d
UR
138112011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13812
13813 * progmodes/etags.el (next-file): Don't use set-buffer to change
13814 buffers (Bug#8478).
13815
4ef177aa
CY
138162011-04-24 Chong Yidong <cyd@stupidchicken.com>
13817
c8d173eb
CY
13818 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13819
4ef177aa
CY
13820 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13821 (apropos-accumulator): Doc fix.
13822 (apropos-function, apropos-macro, apropos-command)
13823 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13824 (apropos-plist): Add face property.
13825 (apropos-symbols-internal): Fix indentation.
13826 (apropos-print): Simplify help, and recognize apropos-multi-type.
13827 (apropos-print-doc): Use button-type-get to extract the button's
13828 face property. Fill docstring (Bug#8352).
13829
4ffd0d6b 138302011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13831
13832 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13833
c6c32125 13834 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13835 (mpuz-mode-map): Use mapc.
c6c32125
JB
13836 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13837 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13838 Fix typos in docstrings.
13839
58d468b4
JB
13840 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13841 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13842
6470c3c6
JB
13843 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13844
4ffd0d6b 138452011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13846
13847 * minibuffer.el (completion--do-completion): Avoid the "Next char
13848 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13849
3ad8bad0
CY
13850 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13851 mouse-2 into unread-command-events, it is interpreted correctly.
13852
71d73c9c 13853 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13854 (image-toggle-display): Doc fix.
71d73c9c 13855
841a1577 138562011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13857
4ffd0d6b
GM
13858 * textmodes/page.el (what-page): Use line-number-at-pos to
13859 calculate line number (Bug#6825).
6e1dbaa9 13860
c2fb1b60
JB
138612011-04-22 Juanma Barranquero <lekktu@gmail.com>
13862
13863 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13864 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13865 Pass argument NO-DEFAULT to `find-tag-interactive'.
13866
e02f48d7
JB
138672011-04-22 Juanma Barranquero <lekktu@gmail.com>
13868
13869 Lexical-binding cleanup.
13870
13871 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13872 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13873 * progmodes/ada-prj.el (ada-prj-initialize-values)
13874 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13875 (ada-prj-show-value):
13876 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13877 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13878 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13879 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13880 * progmodes/bug-reference.el (bug-reference-push-button):
13881 * progmodes/fortran.el (fortran-line-length):
13882 * progmodes/glasses.el (glasses-change):
13883 * progmodes/octave-mod.el (octave-fill-paragraph):
13884 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13885 (python-pdbtrack-grub-for-buffer, python-sentinel):
13886 * progmodes/sql.el (sql-save-connection):
13887 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13888 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13889 Mark unused parameters.
13890
13891 * progmodes/compile.el (compilation--flush-directory-cache)
13892 (compilation--flush-parse, compile-internal): Mark unused parameters.
13893 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13894 (compilation-next-error-function): Remove unused variable `timestamp'.
13895
13896 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13897 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13898
13899 * progmodes/dcl-mode.el (dcl-end-of-command):
13900 Remove unused variable `start'.
13901 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13902 (dcl-option-value-basic, dcl-option-value-offset)
13903 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13904 Mark unused parameters.
13905 (dcl-save-local-variable): Remove unused variable `val'.
13906 (mode): Declare.
13907
13908 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13909 Mark unused parameters.
13910 (delphi-ignore-changes): Move before first use.
13911 (delphi-charset-token-at): Remove unused variable `start'.
13912 (delphi-else-start): Remove unused variable `if-count'.
13913 (delphi-comment-block-start, delphi-comment-block-end):
13914 Remove unused variable `kind'.
13915 (delphi-indent-line): Remove unused variable `new-point'.
13916
13917 * progmodes/ebrowse.el (ebrowse-files-list)
13918 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13919 Mark unused parameters. Don't quote `lambda'.
13920 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13921 Don't quote `lambda'.
13922 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13923 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13924 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13925 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13926 Use `ignore-errors'.
13927 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13928 (ebrowse-view/find-file-and-search-pattern)
13929 (ebrowse-view/find-member-declaration/definition):
13930 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13931 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13932 Rename parameter PREFIX-ARG to PREFIX.
13933 (ebrowse-tags-read-name): Remove unused variables `start' and
13934 `member-info'.
13935 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13936 to `tags-file'.
13937
13938 * progmodes/etags.el (local-find-tag-hook): Declare.
13939 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13940 Mark unused parameters.
13941
13942 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13943 (executable-interpret): Mark unused parameter.
13944
13945 * progmodes/flymake.el (flymake-process-sentinel)
13946 (flymake-after-change-function)
13947 (flymake-create-temp-with-folder-structure)
13948 (flymake-get-include-dirs-dot): Mark unused parameters.
13949 (flymake-safe-delete-directory): Remove unused variable `err'.
13950
13951 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13952 (speedbar-timer-fn, speedbar-line-text)
13953 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13954 (speedbar-center-buffer-smartly): Declare functions.
13955 (gdb-find-watch-expression): Remove unused variable `array'.
13956 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13957 (gdb-starting): Mark unused parameters.
13958 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13959 (gdb-table-string): Remove unused variable `res'.
13960 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13961 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13962 (gdb-display-buffer): Remove unused variable `cur-size'.
13963
13964 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13965 allow lexical-binding compilation.
13966 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13967 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13968 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13969 Mark unused parameters.
13970 (gud-gdb-marker-filter): Remove unused variable `match'.
13971 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13972 lambda expressions and funcall them, instead of using `fset'.
13973
13974 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13975 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13976
13977 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13978 variable `header-beg'; use `let'.
13979
13980 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13981 `restart', `last-sexp' and `at-do'.
13982
13983 * progmodes/js.el (js--debug): Mark unused parameter.
13984 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13985 (js--splice-into-items): Remove unused variable `item'.
13986 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13987
13988 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13989 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13990 (makefile-complete): Remove unused variable `try'.
13991 (makefile-fill-paragraph, makefile-match-function-end):
13992 Mark unused parameters.
13993
13994 * progmodes/octave-inf.el (inferior-octave-complete):
13995 Remove unused variable `proc'.
13996 (inferior-octave-output-digest): Mark unused parameter.
13997
13998 * progmodes/perl-mode.el (perl-calculate-indent):
13999 Remove unused variable `err'.
14000
14001 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14002 (prolog-indent-line): Mark unused parameters.
14003 (prolog-indent-line): Remove unused variable `beg'.
14004
14005 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14006 (reporter-dont-compact-list): Declare.
14007
14008 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14009 Remove unused variable `char'.
14010 (sh-debug): Mark unused parameter.
14011 (sh-get-indent-info): Remove unused variable `start'.
14012 (sh-calculate-indent): Remove unused variable `var'.
14013
14014 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14015 (simula-electric-keyword): Remove unused variable `null'.
14016 (simula-search-backward, simula-search-forward): Remove unused
14017 variables `begin' and `end'.
14018
14019 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14020 Remove unused variable `pos'.
14021 (vera-electric-tab, vera-comment-uncomment-region):
14022 Mark unused parameters.
14023 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14024
7ede3b65
CY
140252011-04-22 Chong Yidong <cyd@stupidchicken.com>
14026
14027 * emacs-lisp/package.el (package--builtins, package-alist)
14028 (package-load-descriptor, package-built-in-p, package-activate)
14029 (define-package, package-installed-p)
14030 (package-compute-transaction, package-buffer-info)
14031 (package--push): Doc fix. Distinguish more clearly between
14032 version strings and version lists.
14033
121656e9
JB
140342011-04-21 Juanma Barranquero <lekktu@gmail.com>
14035
14036 Lexical-binding cleanup.
14037
14038 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14039 (5x5-make-mutate-best):
14040 * play/fortune.el (fortune-in-buffer):
14041 * play/gomoku.el (gomoku-init-display):
14042 * play/solitaire.el (solitaire, solitaire-do-check):
14043 * play/tetris.el (tetris-default-update-speed-function):
14044 Mark unused parameters.
14045
14046 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14047 (bubbles--shift): Remove unused variable `char-org'.
14048 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14049 (bubbles--show-images): Remove unused variable `char'.
14050
14051 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14052 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14053 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14054 (decipher-analyze-buffer): Use ?\s.
14055 (decipher-make-checkpoint): Remove unused variable `mapping'.
14056
14057 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14058
14059 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14060 Remove unused variable `result'; use `let'.
14061
14062 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14063 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14064 (gametree-children-shown-p, gametree-compute-reduced-score):
14065 Use `ignore-errors'.
14066
14067 * play/handwrite.el (ps-lpr-switches): Declare.
14068 (handwrite): Remove unused variables `pmin' and `lastp'.
14069
14070 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14071
14072 * play/landmark.el (landmark-init-display)
14073 (landmark-update-naught-weights): Mark unused parameters.
14074 (landmark-y): Remove unused variable `noise'. Simplify.
14075 (landmark-human-plays): Remove unused variable `score'.
14076
14077 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14078 (mpuz-try-proposal): Remove unused variable `game'.
14079
14080 * play/zone.el (life-patterns): Declare.
14081
80f499c7
JB
140822011-04-20 Juanma Barranquero <lekktu@gmail.com>
14083
14084 * vc/vc.el (ediff-vc-internal): Declare function.
14085
024ff170
SM
140862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14087
c0a193ea
SM
14088 * shell.el: Use lexical-binding and std completion UI.
14089 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14090 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14091 comint-preoutput-filter-functions rather than on
14092 comint-output-filter-functions.
14093 (shell-command-completion, shell--command-completion-data)
14094 (shell-filename-completion, shell-environment-variable-completion)
14095 (shell-c-a-p-replace-by-expanded-directory): New functions.
14096 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14097 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14098 (shell-dynamic-complete-environment-variable): Use them.
14099 (shell-dynamic-complete-as-environment-variable)
14100 (shell-dynamic-complete-as-command): Remove.
14101 (shell-match-partial-variable): Match past point.
14102 * comint.el: Clean up use of completion-at-point-functions.
14103 (comint-completion-at-point): New function.
14104 (comint-mode): Use it completion-at-point-functions.
14105 (comint-dynamic-complete): Make it obsolete.
14106 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14107 (comint-c-a-p-replace-by-expanded-history): New function.
14108 (comint-dynamic-complete-functions)
14109 (comint-replace-by-expanded-history): Use it.
14110 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14111 termination strings. Try harder to avoid second try-completion.
14112 (completion-in-region-mode-map): Disable bindings that don't work yet.
14113
2dbaa080
SM
14114 * comint.el: Use lexical-binding. Require CL.
14115 (comint-dynamic-complete-functions): Use comint-filename-completion.
14116 (comint-completion-addsuffix): Tweak custom type.
14117 (comint-filename-completion, comint--common-suffix)
14118 (comint--common-quoted-suffix, comint--table-subvert)
14119 (comint--complete-file-name-data): New functions.
14120 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14121 (comint-dynamic-list-filename-completions): Use them.
14122 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14123
2dbaa080
SM
14124 * minibuffer.el (completion-in-region-mode):
14125 Keep completion-in-region-mode--predicate global.
14126 (completion-in-region--postch):
14127 Assume completion-in-region-mode--predicate is not null.
14128
c79a6f38
SM
14129 * progmodes/flymake.el (flymake-start-syntax-check-process):
14130 Obey `dir'. Simplify.
14131
024ff170
SM
14132 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14133 we're in VC after all.
14134
1c6c854e
CS
141352011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14136
14137 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14138 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14139 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14140
bed7f140
SM
141412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14142
332e62ab
SM
14143 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14144 add sanity check.
14145
bed7f140
SM
14146 * obsolete/erc-hecomplete.el: Make obsolete.
14147 * obsolete/: Standardize obsolescence info in the header.
14148
f195c582
GM
141492011-04-20 Glenn Morris <rgm@gnu.org>
14150
14151 * calendar/solar.el (solar-horizontal-coordinates):
14152 Use the longitude argument rather than `calendar-longitude'.
14153 (solar-date-next-longitude): Remove unused locals.
14154
cb79b8c0
VJL
141552011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14156
14157 * whitespace.el: New version 13.2.1.
14158
141592011-04-20 felix <EmacsWiki> (tiny change)
14160
d8e4b68b 14161 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14162 switching between major modes on a file.
14163
602ea69d
SM
141642011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14165
14166 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14167 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14168 multi-line comments as well.
14169
06b60517
JB
141702011-04-19 Juanma Barranquero <lekktu@gmail.com>
14171
14172 Lexical-binding cleanup.
14173
14174 * arc-mode.el (archive-mode-revert):
14175 * cmuscheme.el (scheme-interactively-start-process):
14176 * custom.el (custom-initialize-delay):
14177 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14178 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14179 * emacs-lock.el (emacs-lock-clear-sentinel):
14180 * ezimage.el (defezimage):
14181 * follow.el (follow-avoid-tail-recenter):
14182 * fringe.el (set-fringe-mode-1):
14183 * generic-x.el (bat-generic-mode-compile):
14184 * help-mode.el (help-info-variable, help-do-xref)
14185 (help-mode-revert-buffer):
14186 * help.el (view-emacs-todo):
14187 * iswitchb.el (iswitchb-completion-help):
14188 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14189 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14190 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14191 * locate.el (locate-update):
14192 * longlines.el (longlines-encode-region)
14193 (longlines-after-change-function):
14194 * outline.el (outline-isearch-open-invisible):
14195 * ps-def.el (declare-function, charset-dimension, char-width)
14196 (encode-char):
14197 * ps-mule.el (ps-mule-plot-string):
14198 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14199 (recentf-edit-list-select, recentf-edit-list-validate)
14200 (recentf-open-files-action):
14201 * rect.el (delete-whitespace-rectangle-line)
14202 (rectangle-number-line-callback):
14203 * register.el (window-configuration-to-register)
14204 (frame-configuration-to-register):
14205 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14206 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14207 (xselect-convert-to-targets, xselect-convert-to-delete)
14208 (xselect-convert-to-filename, xselect-convert-to-charpos)
14209 (xselect-convert-to-lineno, xselect-convert-to-colno)
14210 (xselect-convert-to-os, xselect-convert-to-host)
14211 (xselect-convert-to-user, xselect-convert-to-class)
14212 (xselect-convert-to-name, xselect-convert-to-integer)
14213 (xselect-convert-to-atom, xselect-convert-to-identity):
14214 * subr.el (declare, ignore, process-kill-without-query)
14215 (text-clone-maintain):
14216 * terminal.el (te-get-char, te-tic-sentinel):
14217 * tool-bar.el (tool-bar-make-keymap):
14218 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14219 * type-break.el (type-break-mode, type-break-noninteractive-query):
14220 * view.el (View-back-to-mark):
14221 * wid-browse.el (widget-browse-action, widget-browse-widget)
14222 (widget-browse-widgets, widget-browse-sexp):
14223 * widget.el (define-widget-keywords):
14224 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14225 Mark unused parameters.
14226
14227 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14228 (align-areas): Remove unused variable `look'.
14229 (align-region): Remove unused variables `real-end' and `pos-list'.
14230
14231 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14232
14233 * bindings.el (mode-line-modified, mode-line-remote):
14234 Mark unused parameters.
14235 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14236
14237 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14238 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14239
14240 * comint.el (comint-history-isearch-pop-state)
14241 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14242 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14243 (comint-substitute-in-file-name): Doc fix.
14244
14245 * completion.el (cmpl-statistics-block): Mark unused parameter.
14246 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14247 (save-completions-to-file, load-completions-from-file):
14248 Remove unused local variable `e'.
14249
14250 * composite.el (compose-chars): Remove unused variable `len'.
14251 (lgstring-insert-glyph): Remove unused variable `g'.
14252 (compose-glyph-string): Remove unused variables `ascent',
14253 `descent', `lbearing' and `rbearing'.
14254 (compose-glyph-string-relative): Remove unused variables
14255 `lbearing', `rbearing' and `wadjust'.
14256 (compose-gstring-for-graphic): Remove unused variables `header',
14257 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14258 (compose-gstring-for-terminal): Remove unused variables `header'
14259 and `nchars'. Use `let', not `let*'.
14260
14261 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14262 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14263 (Custom-buffer-done, custom-buffer-create-internal)
14264 (custom-browse-visibility-action, custom-browse-group-tag-action)
14265 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14266 (widget-magic-mouse-down-action, custom-toggle-parent)
14267 (custom-add-parent-links, custom-toggle-hide-variable)
14268 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14269 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14270 (custom-face-menu-create, custom-variable-menu-create, get)
14271 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14272 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14273 (customize-apropos): Remove unused variable `tests'.
14274 (custom-group-value-create): Remove unused variable `hidden-p'.
14275 (sort-fold-case): Declare.
14276
14277 * cus-theme.el (custom-reset-standard-faces-list)
14278 (custom-reset-standard-variables-list): Declare.
14279 (customize-create-theme, custom-theme-revert, custom-theme-write)
14280 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14281 Mark unused parameters.
14282
14283 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14284
14285 * delim-col.el (delimit-columns-max): Move defvar before first use.
14286
14287 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14288 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14289
14290 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14291 (auto-insert): Declare.
14292 (desktop-restore-file-buffer): Rename desktop-* parameters;
14293 mark unused ones.
14294 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14295 (desktop-buffer): Rename desktop-* parameters.
14296
14297 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14298 (dframe-reposition-frame-xemacs, dframe-help-echo)
14299 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14300 Mark unused parameters.
14301
14302 * dired-aux.el (backup-extract-version-start, overwrite-query)
14303 (overwrite-backup-query, rename-regexp-query)
14304 (rename-non-directory-query): Declare.
14305 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14306 (dired-add-entry): Remove unused variable `orig-file-name'.
14307 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14308 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14309 `dired-copy-preserve-time' directly.
14310 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14311 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14312
14313 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14314 (dired-virtual-revert, dired-make-relative-symlink):
14315 Mark unused parameters.
14316 (manual-program): Declare.
14317 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14318 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14319 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14320
14321 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14322
14323 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14324
14325 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14326 Declare.
14327
14328 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14329
14330 * electric.el (Electric-command-loop): Rename parameter
14331 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14332
14333 * expand.el (expand-in-literal): Remove unused variable `here'.
14334
14335 * facemenu.el (facemenu-add-new-color):
14336 Remove unused variable `docstring'.
14337
14338 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14339 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14340 (face-attr-construct): Mark unused parameter. Doc fix.
14341 (read-color): Remove unused variable `hex-string'.
14342
14343 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14344 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14345 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14346 (display-buffer-other-frame): Remove unused variable `old-window'.
14347 (kill-buffer-hook): Declare.
14348 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14349 Mark unused parameters.
14350 (after-find-file): Pass 1 to `auto-save-mode', not t.
14351
14352 * files-x.el (auto-insert): Declare.
14353 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14354
14355 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14356 variable `buf'. Mark unused parameter.
06b60517
JB
14357 (find-lisp-insert-directory): Mark unused parameter.
14358
14359 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14360 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14361 (format-common-tail): Remove, unused.
14362 (format-deannotate-region): Remove unused variable `loc'.
14363 (format-annotate-region): Remove unused variable `p'.
14364 (format-annotate-single-property-change): Remove unused variables
14365 `default' and `tail'.
14366
14367 * forms.el (read-file-filter): Declare.
14368 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14369
14370 * frame.el (frame-creation-function-alist): Mark unused parameter.
14371 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14372
14373 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14374 Remove unused parameters.
14375 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14376 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14377
14378 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14379 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14380 (hfy-prepare-tag-map): Mark unused parameters.
14381 (htmlfontify-buffer): Use `called-interactively-p'.
14382
14383 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14384 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14385 (ibuffer-do-occur): Mark unused parameters.
14386 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14387 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14388
14389 * ibuffer.el: Don't quote `lambda'.
14390 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14391 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14392 Mark unused parameters.
14393
14394 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14395 (ido-completing-read): Mark unused parameters.
14396 (ido-copy-current-word): Mark unused parameters;
14397 remove unused variable `name'.
14398 (ido-sort-merged-list): Remove unused parameter `dirs'.
14399
14400 * ielm.el (ielm-input-sender): Mark unused parameter.
14401 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14402 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14403 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14404 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14405 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14406
14407 * image-dired.el (image-dired-display-thumbs): Remove unused
14408 variables `curr-file' and `count'.
14409 (image-dired-remove-tag): Remove unused variable `start'.
14410 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14411 variable `curr-file'
14412 (image-dired-rotate-original): Remove unused variable `temp-file'.
14413 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14414 Remove unused variable `file'.
14415 (image-dired-gallery-generate): Remove unused variable `curr'.
14416 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14417
14418 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14419
14420 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14421
14422 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14423
14424 * isearch.el (minibuffer-history-symbol): Declare.
14425 (isearch-edit-string): Remove unused variable `err'.
14426 (isearch-message-prefix, isearch-message-suffix):
14427 Mark unused parameters.
14428
14429 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14430
14431 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14432
14433 * makesum.el (double-column): Remove unused variable `cnt'.
14434
14435 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14436 (ido-ignore-item-temp-list): Declare.
14437
14438 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14439 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14440 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14441 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14442 `mouse-col-delta'.
14443
14444 * mouse-sel.el (mouse-extend-internal):
14445 Remove unused variable `orig-window-frame'.
14446
14447 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14448 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14449 Move declarations before first use.
14450 (pcomplete-opt): Mark unused parameters; doc fix.
14451
14452 * proced.el (proced-revert): Mark unused parameter.
14453 (proced-send-signal): Remove unused variable `err'.
14454
14455 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14456 Rename parameter PREFIX-ARG to ARG.
14457 (ps-basic-plot-string, ps-basic-plot-whitespace):
14458 Mark unused parameters.
14459
14460 * replace.el (replace-count): Define.
14461 (occur-revert-function): Mark unused parameters.
14462 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14463 (isearch-case-fold-search, isearch-string): Declare.
14464 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14465 bind `case-fold-search'. Remove unused variables `beg' and `end',
14466 and simplify.
14467 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14468 COUNT and bind `replace-count'.
14469 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14470 to COUNT.
14471
14472 * savehist.el (print-readably, print-string-length): Declare.
14473
14474 * shadowfile.el (shadow-expand-cluster-in-file-name):
14475 Remove unused variable `cluster'.
14476 (shadow-copy-file): Remove unused variable `i'.
14477 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14478 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14479 (shadow-define-literal-group, shadow-define-regexp-group)
14480 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14481
14482 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14483 (shell): Use `called-interactively-p'.
14484 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14485
14486 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14487 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14488 (delete-backward-char): Remove unused variable `ocol'.
14489 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14490 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14491 (event-apply-hyper-modifier, event-apply-shift-modifier)
14492 (event-apply-control-modifier, event-apply-meta-modifier):
14493 Mark unused parameters.
14494 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14495 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14496
14497 * speedbar.el (speedbar-ignored-directory-expressions)
14498 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14499 (speedbar-find-file, speedbar-dir-follow)
14500 (speedbar-directory-buttons-follow, speedbar-tag-find)
14501 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14502 (speedbar-buffers-line-directory, speedbar-buffer-click):
14503 Mark unused parameters.
14504 (speedbar-tag-file): Remove unused variable `mode'.
14505 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14506
14507 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14508
14509 * talk.el (talk): Remove unused variable `display'.
14510
14511 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14512 (tar-write-region-annotate): Mark unused parameter.
14513
14514 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14515 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14516 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14517 warning by another.
14518
14519 * time-stamp.el (time-stamp-string-preprocess):
14520 Remove unused variable `require-padding'.
14521
14522 * tree-widget.el (widget-glyph-enable): Declare.
14523 (tree-widget-action): Mark unused parameter.
14524
14525 * w32-fns.el (x-get-selection): Mark unused parameter.
14526 (autoload-make-program, generated-autoload-file): Declare.
14527
14528 * wdired.el (wdired-revert): Mark unused parameters.
14529 (wdired-xcase-word): Remove unused variable `err'.
14530
14531 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14532 (whitespace-help-scroll): Remove unused variable `data-help'.
14533
14534 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14535 (widget-image-insert, widget-after-change, default)
14536 (widget-default-format-handler, widget-default-notify)
14537 (widget-default-prompt-value, widget-info-link-action)
14538 (widget-url-link-action, widget-function-link-action)
14539 (widget-variable-link-action, widget-file-link-action)
14540 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14541 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14542 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14543 (widget-insert-button-action, widget-delete-button-action, visibility)
14544 (widget-documentation-link-action, widget-documentation-string-action)
14545 (widget-const-prompt-value, widget-regexp-match, symbol)
14546 (widget-coding-system-prompt-value)
14547 (widget-key-sequence-value-to-external, sexp)
14548 (widget-sexp-value-to-internal, character, vector, cons)
14549 (widget-choice-prompt-value, widget-boolean-prompt-value)
14550 (widget-color--choose-action): Mark unused parameters.
14551 (widget-item-match-inline, widget-choice-match-inline)
14552 (widget-checklist-match, widget-checklist-match-inline)
14553 (widget-group-match): Rename parameter VALUES to VALS.
14554 (widget-field-value-set): Remove unused variable `size'.
14555 (widget-color-action): Remove unused variables `value' and `start'.
14556
14557 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14558 variable `dir'. Doc fix.
06b60517
JB
14559 (windmove-find-other-window): Don't pass it.
14560
14561 * window.el (count-windows): Mark unused parameter.
14562 (bw-adjust-window): Remove unused variable `err'.
14563
14564 * woman.el (woman-file-name): Remove unused variable `default'.
14565 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14566 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14567 (global-font-lock-mode): Declare.
14568 (woman-decode-region): Mark unused parameter.
14569 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14570
14571 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14572 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14573 (x-dnd-handle-moz-url): Remove unused variable `title'.
14574 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14575
14576 * xml.el (xml-parse-tag, xml-parse-attlist):
14577 Remove unused variable `pos'.
14578
bc4f7f3d
GM
145792011-04-19 Glenn Morris <rgm@gnu.org>
14580
14581 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14582 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14583 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14584 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14585 * calendar/cal-html.el (cal-html-insert-minical):
14586 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14587 (calendar-mark-date-pattern):
14588 Prefix "unused" locals.
14589
14590 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14591 optional argument `style'.
14592
14593 * calendar/appt.el (appt-make-list):
14594 * calendar/cal-china.el (calendar-chinese-date-string):
14595 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14596 (diary-hebrew-yahrzeit):
14597 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14598 * calendar/calendar.el (calendar-generate-window):
14599 * calendar/time-date.el (time-to-days):
14600 Remove unused local variables.
14601
16a43933
CY
146022011-04-18 Chong Yidong <cyd@stupidchicken.com>
14603
14604 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14605 glyphless-char-display table.
14606 (tabulated-list-glyphless-char-display): New var.
14607
7eed1860
SS
146082011-04-18 Sam Steingold <sds@gnu.org>
14609
14610 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14611 to acknowledgments.
14612
4d2d1ccd
GM
146132011-04-17 Glenn Morris <rgm@gnu.org>
14614
14615 * calendar/diary-lib.el (diary-sexp-entry):
14616 * calendar/holidays.el (holiday-sexp):
14617 Set debug-on-error rather than the removed stack-trace-on-error.
14618
239da61d
GM
146192011-04-16 Glenn Morris <rgm@gnu.org>
14620
14621 * progmodes/f90.el: Use lexical-binding.
14622 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14623
8b05752a
SM
146242011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14625
daca8ba5
SM
14626 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14627 (mail-mode): Setup mailalias completion here instead.
14628 * mail/mailalias.el: Use lexical-binding.
14629 (pattern, mailalias-done): Declare dynamic.
14630 (mail-completion-at-point-function): New function, from mail-complete.
14631 (mail-complete): Use it.
14632 (mail-completion-expand): New function.
14633 (mail-get-names): Use it.
14634 (mail-directory, mail-directory-process, mail-directory-stream):
14635 Don't use `pattern' for lexically bound arg.
14636
6f542485
SM
14637 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14638
037e7c3f
SM
14639 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14640 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14641 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14642
8b05752a
SM
14643 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14644 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14645 (byte-interactive-p): Define them again, for use when inlining
14646 old code.
14647
49093f60
JB
146482011-04-15 Juanma Barranquero <lekktu@gmail.com>
14649
14650 * loadup.el: Use `string-to-number', not `string-to-int'.
14651
b5b8e7de
SM
146522011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14653
14654 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14655 gud-gdb-complete-command.
14656 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14657 (gud-gdb-completion-at-point): New function.
14658 (gud-gdb-completions): Remove.
14659
f42efeb5
MA
146602011-04-14 Michael Albinus <michael.albinus@gmx.de>
14661
49093f60
JB
14662 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14663 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14664 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14665 whether `executable-find' is bound.
f42efeb5
MA
14666
14667 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14668
e240cc21
SM
146692011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * minibuffer.el (completion-in-region-mode-predicate)
14672 (completion-in-region-mode--predicate): New vars.
14673 (completion-in-region, completion-in-region--postch)
14674 (completion-in-region-mode): Use them.
14675 (completion--capf-wrapper): Also return the hook function.
14676 (completion-at-point, completion-help-at-point):
14677 Adjust and provide a predicate.
c2bd2ab0
SM
14678
14679 Preserve arg names for advice of subr and lexical functions (bug#8457).
14680 * help-fns.el (help-function-arglist): Consolidate the subr and
14681 new-byte-code cases. Add argument `preserve-names' to extract names
14682 from the docstring when needed.
14683 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14684 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14685 (ad-arglist): Use help-function-arglist's new arg.
14686 (ad-definition-type): Use cond.
14687
c183f693
JB
146882011-04-13 Juanma Barranquero <lekktu@gmail.com>
14689
06641a47
JB
14690 * autorevert.el (auto-revert-handler):
14691 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14692 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14693 Don't quote lambda.
14694
c183f693
JB
14695 * image-mode.el (image-transform-set-scale):
14696 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14697
1e3b6001
G
146982011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14699
14700 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14701 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14702 Upgrades via gnutls-cli are too slow to be done opportunistically.
14703
2d6af8dd
JB
147042011-04-12 Juanma Barranquero <lekktu@gmail.com>
14705
14706 * dframe.el (dframe-current-frame): Remove spurious quote.
14707
c0749a51
GM
147082011-04-12 Glenn Morris <rgm@gnu.org>
14709
088d0d61
GM
14710 * calendar/cal-tex.el (cal-tex-end-document):
14711 Try to automatically use latin1 input if needed.
14712
c0749a51
GM
14713 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14714 Don't try to cons a mark onto an empty element.
14715
5c90fde0
LL
147162011-04-11 Leo Liu <sdl.web@gmail.com>
14717
14718 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14719 buffers.
14720 (ido-kill-buffer-at-head): Support killing virtual buffers.
14721
369e974d
CY
147222011-04-10 Chong Yidong <cyd@stupidchicken.com>
14723
14724 * minibuffer.el (completion-show-inline-help): New var.
14725 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14726 (minibuffer-force-complete, minibuffer-complete-word):
14727 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14728
14729 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14730 to avoid interference from inline help (Bug#5849).
14731
37f1c930
LL
147322011-04-10 Leo Liu <sdl.web@gmail.com>
14733
099c39a4
JB
14734 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14735 Fix typo.
37f1c930 14736
a32d4040
CY
147372011-04-09 Chong Yidong <cyd@stupidchicken.com>
14738
14739 * image-mode.el (image-toggle-display-image): Signal an error if
14740 not in Image mode.
14741 (image-transform-mode, image-transform-resize)
14742 (image-transform-set-rotation): Doc fix.
daca8ba5 14743 (image-transform-set-resize): Delete.
a32d4040
CY
14744 (image-transform-set-scale, image-transform-fit-to-height)
14745 (image-transform-fit-to-width): Handle image-toggle-display-image
14746 and image-transform-resize directly.
14747
099c39a4 147482011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14749
14750 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14751 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14752 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14753 (doc-view-mode-map): Add bindings for the new functions.
14754
099c39a4 147552011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14756
4d61f28d 14757 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14758 Fix typo in docstring.
14759
3726838a
EZ
147602011-04-08 Eli Zaretskii <eliz@gnu.org>
14761
04f33f1e
EZ
14762 * files.el (file-size-human-readable): Produce one digit after
14763 decimal, like "ls -lh" does.
14764
14765 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14766 the file size representation.
14767
3726838a
EZ
14768 * simple.el (list-processes): If async subprocesses are not
14769 available, error out with a clear error message.
14770
cbb59342
CY
147712011-04-08 Chong Yidong <cyd@stupidchicken.com>
14772
14773 * help.el (help-form-show): New function, to be called from C.
14774 Put help-form output in a buffer named differently than *Help*.
14775
e3971c44
EZ
147762011-04-08 Eli Zaretskii <eliz@gnu.org>
14777
14778 * files.el (file-size-human-readable): New function.
14779
14780 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14781 computing the representation inline. Don't require `cl'.
14782
12544bbe
GM
147832011-04-08 Glenn Morris <rgm@gnu.org>
14784
a1de6c6a
GM
14785 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14786
3c4671f4
GM
14787 * net/browse-url.el (browse-url-firefox):
14788 Test system-type, not system-configuration.
14789
b605679c
GM
14790 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14791 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14792 Use log-edit-empty-buffer-p. (Bug#7598)
14793
56442f0c
GM
14794 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14795 (rlogin-mode-map): Initialize in the defvar.
14796 (rlogin): Use ignore-errors.
14797
12544bbe
GM
14798 * replace.el (occur-mode-map): Some fixes for menu items.
14799
eb237b0f
AH
148002011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14801
14802 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14803
7d668f2c
CY
148042011-04-06 Chong Yidong <cyd@stupidchicken.com>
14805
e67a13ab
CY
14806 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14807 issuing unused warnings.
14808
14809 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14810 macro directly.
14811
7d668f2c
CY
14812 * simple.el: Lisp reimplement of list-processes. Based on an
14813 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14814 (process-menu-mode): New major mode.
14815 (list-processes--refresh, list-processes):
14816 (process-menu-visit-buffer): New functions.
14817
14818 * files.el (save-buffers-kill-emacs): Don't assume any return
14819 value of list-processes, which is undocumented anyway.
14820
a83ec3c9
CY
148212011-04-06 Chong Yidong <cyd@stupidchicken.com>
14822
14823 * emacs-lisp/tabulated-list.el: New file.
14824
e91a96fe
CY
14825 * emacs-lisp/package.el: Use Tabulated List mode.
14826 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14827 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14828 table format using Tabulated List mode variables.
14829 (package--push): New macro, replacing package-list-maybe-add.
14830 (package-menu--generate): Use package--push. Renamed from
14831 package--generate-package-list.
14832 (package-menu-refresh, list-packages): Use it.
daca8ba5 14833 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14834 Return insertion data instead of inserting it directly.
099c39a4
JB
14835 (package-menu-describe-package, package-menu-execute):
14836 Use tabulated-list-get-id.
e91a96fe
CY
14837 (package-menu-mark-delete, package-menu-mark-install)
14838 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14839 (package-menu-mark-obsolete-for-deletion):
14840 Use tabulated-list-put-tag.
e91a96fe
CY
14841 (package--list-packages, package-menu-revert)
14842 (package-menu-get-package, package-menu-get-version)
14843 (package-menu-sort-by-column): Functions deleted.
14844 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14845 (package-menu--status-predicate, package-menu--version-predicate)
14846 (package-menu--name-predicate)
14847 (package-menu--description-predicate): Handle arguments in the
14848 Tabulated List format.
14849 (package-list-packages-no-fetch): Call list-packages.
14850
3e214b50
JB
148512011-04-06 Juanma Barranquero <lekktu@gmail.com>
14852
14853 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14854 (after-find-file): Don't bind it.
3e214b50
JB
14855 (revert-buffer-in-progress-p): New variable.
14856 (revert-buffer): Bind it.
14857 Pass nil for `after-find-file-from-revert-buffer'.
14858
14859 * saveplace.el (save-place-find-file-hook): Use new variable
14860 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14861
3f0f1700
GM
148622011-04-06 Glenn Morris <rgm@gnu.org>
14863
c0274801
GM
14864 * Makefile.in (AUTOGEN_VCS): New variable.
14865 (autoloads): Use $AUTOGEN_VCS.
14866
3f0f1700
GM
14867 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14868 * calendar/calendar.el (calendar-mode-map):
14869 Check for toolkit scroll bars. (Bug#8305)
14870
41ea9e48
CY
148712011-04-05 Chong Yidong <cyd@stupidchicken.com>
14872
14873 * minibuffer.el (completion-in-region--postch)
14874 (completion-in-region-mode): Remove unnecessary messages.
14875
6194c800
JB
148762011-04-05 Juanma Barranquero <lekktu@gmail.com>
14877
33256f14
JB
14878 * font-lock.el (font-lock-refresh-defaults):
14879 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14880 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14881
6194c800
JB
14882 * info.el (Info-directory-list, Info-read-node-name-2)
14883 (Info-split-parameter-string): Doc fixes.
14884 (Info-virtual-nodes): Reflow docstring.
14885 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14886 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14887 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14888 Fix typos in docstrings.
14889 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14890 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14891 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14892 (Info-restore-desktop-buffer): Mark unused parameters.
14893 (Info-directory-find-file, Info-directory-find-node)
14894 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14895 (Info-virtual-index-find-node, Info-apropos-find-file)
14896 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14897 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14898 (Info-virtual-index): Remove unused local variable `nodename'.
14899
b87a8200 149002011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14901
b87a8200
DD
14902 * net/rcirc.el: Update my e-mail address.
14903 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14904
3b2ff876
CY
149052011-04-05 Chong Yidong <cyd@stupidchicken.com>
14906
14907 * startup.el (command-line): Save the cursor's theme-face
14908 directly, instead of using face-override-spec.
14909
14910 * custom.el (load-theme): Minor optimization in assigning faces.
14911
8d17e7ca
JB
149122011-04-04 Juanma Barranquero <lekktu@gmail.com>
14913
14914 * help-fns.el (describe-variable): Complete all variables having
14915 documentation, including keywords.
14916 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14917
2fbc1934
JB
149182011-04-04 Juanma Barranquero <lekktu@gmail.com>
14919
14920 Convert to lexical-binding.
14921
14922 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14923 (bs--get-marked-string, bs--get-modified-string)
14924 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14925 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14926 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14927
14928 * ehelp.el (electric-help-execute-extended)
14929 (electric-help-ctrl-x-prefix):
14930 * hexl.el (hexl-revert-buffer-function):
14931 * linum.el (linum-after-change, linum-after-scroll):
14932 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14933
14934 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14935
74f50695
DU
149362011-04-04 Daiki Ueno <ueno@unixuser.org>
14937
14938 * epa-dired.el:
14939 * epa-mail.el:
14940 * epa-hook.el:
14941 * epa-file.el:
14942 * epa.el:
14943 * epg.el: Use lexical binding.
14944
c11325f7
CY
149452011-04-03 Chong Yidong <cyd@stupidchicken.com>
14946
0d9e9a12
CY
14947 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14948
c11325f7 14949 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14950 dictionary case for flyspell-mark-duplications-exceptions.
14951 Use regexp matching for languages.
c11325f7
CY
14952 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14953 default dictionary (Bug#7926).
14954
da91b5f2
CY
149552011-04-02 Chong Yidong <cyd@stupidchicken.com>
14956
099c39a4
JB
14957 * emacs-lisp/package.el (package--with-work-buffer):
14958 Recognize https URLs.
da91b5f2 14959
099c39a4
JB
14960 * net/network-stream.el: Move from gnus/proto-stream.el.
14961 Change prefix to network-stream throughout.
da91b5f2
CY
14962 (open-protocol-stream): Merge into open-network-stream, leaving
14963 open-protocol-stream as an alias. Handle nil BUFFER args.
14964
14965 * subr.el (open-network-stream): Move to net/network-stream.el.
14966
afa8e9f6
GM
149672011-04-02 Glenn Morris <rgm@gnu.org>
14968
1d2e369d
GM
14969 * find-dired.el (find-exec-terminator): New option.
14970 (find-ls-option): Test for -ls support.
14971 (find-ls-subdir-switches): Test for -b in find-ls-option.
14972 (find-dired, find-grep-dired): Doc fixes.
14973 (find-dired): Use find-exec-terminator.
14974
8abb7da8 14975 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14976 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14977 (find-name-arg): Remove purecopy.
8abb7da8 14978
f3ca7378
GM
14979 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14980 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14981 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14982 accordingly. Don't add the null-device if not needed.
14983
afa8e9f6
GM
14984 * files.el (save-some-buffers): Doc fix.
14985
35eae264
EZ
149862011-04-02 Eli Zaretskii <eliz@gnu.org>
14987
14988 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14989
26b51db5
JB
149902011-04-01 Juanma Barranquero <lekktu@gmail.com>
14991
14992 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14993 Use `dolist' rather than `mapcar'.
14994
7200d79c
SM
149952011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14996
03408648 14997 Add lexical binding.
7200d79c 14998
03408648
SM
14999 * subr.el (apply-partially): Use new closures rather than CL.
15000 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15001 (dolist, dotimes): Use slightly different expansion for lexical code.
15002 (functionp): Move to C.
15003 (letrec): New macro.
15004 (with-wrapper-hook): Use it and apply-partially instead of CL.
15005 (eval-after-load): Preserve lexical-binding.
15006 (save-window-excursion, with-output-to-temp-buffer): Turn them
15007 into macros.
7200d79c 15008
03408648
SM
15009 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15010
15011 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15012 than the arglist.
15013 (help-add-fundoc-usage): Don't add `Not documented'.
15014 (help-function-arglist): Handle closures, subroutines, and new
15015 byte-code-functions.
15016 (help-make-usage): Remove leading underscores.
15017 (describe-function-1): Handle closures.
15018 (describe-variable): Use special-variable-p for completion.
15019
15020 * files.el (lexical-binding): Declare safe.
f488fb65 15021
03408648
SM
15022 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15023 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15024 (pcase): Add `let' pattern.
15025 Change memoization so it actually works.
15026 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15027 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15028 <let>: New case.
f488fb65 15029
03408648
SM
15030 * emacs-lisp/macroexp.el: Use lexical binding.
15031 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15032 Don't convert ' to #' without checking that it's indeed quoting
15033 a lambda.
15034
15035 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15036 Use eval-sexp-add-defvars.
03408648
SM
15037 (eval-sexp-add-defvars): New fun.
15038
15039 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15040
15041 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15042 Don't autoload.
15043 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15044 than the internal `byte-compile-lambda'.
15045 (defmethod): Don't hide code under quotes.
15046 (eieio-defmethod): New `code' argument.
15047
15048 * emacs-lisp/eieio-comp.el: Remove.
15049
15050 * emacs-lisp/edebug.el (edebug-eval-defun)
15051 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15052 (edebug-toggle): Avoid `eval'.
15053
15054 * emacs-lisp/disass.el (disassemble-internal): Handle new
15055 `closure' objects.
15056 (disassemble-1): Handle new byte codes.
15057
15058 * emacs-lisp/cl.el (pushnew): Silence warning.
15059
15060 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15061 (cl-byte-compile-throw): Remove.
15062 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15063
15064 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15065 closures.
15066
15067 * emacs-lisp/cconv.el: New file.
15068
15069 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15070 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15071 (byte-compile-initial-macro-environment):
15072 Handle declare-function here.
15073 (byte-compile--lexical-environment): New var.
15074 (byte-stack-ref, byte-stack-set, byte-discardN)
15075 (byte-discardN-preserve-tos): New lap codes.
15076 (byte-interactive-p): Don't use any more.
15077 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15078 New macros.
15079 (byte-compile-lapcode): Use them and handle new lap codes.
15080 (byte-compile-obsolete): Remove.
15081 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15082 (byte-compile-arglist-warn): Check late def of inlinable funs.
15083 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15084 since they should have been expanded by now.
15085 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15086 (byte-compile-from-buffer): Remove unused second arg.
15087 (byte-compile-preprocess): New function.
15088 (byte-compile-toplevel-file-form): New function to distinguish
15089 file-form calls from outside from file-form calls from hunk-handlers.
15090 (byte-compile-file-form): Simplify.
15091 (byte-compile-file-form-defsubst): Remove.
15092 (byte-compile-file-form-defmumble): Simplify now that
15093 byte-compile-lambda always returns a byte-code-function.
15094 (byte-compile): Preprocess.
15095 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15096 Remove, not used any more.
15097 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15098 (byte-compile-make-args-desc): New funs.
15099 (byte-compile-lambda): Handle lexical functions. Always return
15100 a byte-code-function.
15101 (byte-compile-reserved-constants): New var, to make up room for
15102 closed-over variables.
15103 (byte-compile-constants-vector): Obey it.
15104 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15105 (byte-compile-macroexpand-declare-function): New function.
15106 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15107 byte-code-functions.
15108 (byte-compile-form): Check obsolescence here.
15109 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15110 (byte-compile-variable-ref): Remove.
15111 (byte-compile-dynamic-variable-op): New fun.
15112 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15113 (byte-compile-variable-set): New funs.
15114 (byte-compile-discard): Add 2 args.
15115 (byte-compile-stack-ref, byte-compile-stack-set)
15116 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15117 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15118 macroexpand-all instead.
15119 (byte-compile-quote-form): Remove.
15120 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15121 (byte-compile-bind, byte-compile-unbind): New funs.
15122 (byte-compile-let): Handle let* and lexical binding.
15123 (byte-compile-let*): Remove.
15124 (byte-compile-catch, byte-compile-unwind-protect)
15125 (byte-compile-track-mouse, byte-compile-condition-case):
15126 Handle a new :fun-body form, used for lexical scoping.
15127 (byte-compile-save-window-excursion)
15128 (byte-compile-with-output-to-temp-buffer): Remove.
15129 (byte-compile-defun): Simplify.
15130 (byte-compile-stack-adjustment): New fun.
15131 (byte-compile-out): Use it.
15132 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15133
15134 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15135 handler any more.
15136
15137 * emacs-lisp/byte-opt.el: Use lexical binding.
15138 (byte-inline-lapcode): Remove (to bytecomp).
15139 (byte-compile-inline-expand): Pay attention to inlining to/from
15140 lexically bound code.
15141 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15142 any more.
15143 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15144 any more and don't call compiler-macros.
15145 (byte-compile-splice-in-already-compiled-code): Remove.
15146 (byte-code): Don't inline any more.
15147 (disassemble-offset): Receive `bytes' as argument rather than via
15148 dynamic scoping.
15149 (byte-compile-tag-number): Declare before first use.
15150 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15151 `return' even if make-spliceable.
15152 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15153 obsolete interactive-p.
15154 (byte-optimize-lapcode): Optimize new lap-codes.
15155 Don't trip up on new form of `byte-constant' lap code.
15156
15157 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15158
15159 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15160
15161 * custom.el (custom-initialize-default, custom-declare-variable):
15162 Use `defvar'.
15163
15164 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15165 New variables.
15166 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15167 (COMPILE_FIRST): Add macroexp and cconv.
15168 * makefile.w32-in: Mirror changes in Makefile.in.
15169
15170 * vc/cvs-status.el:
15171 * vc/diff-mode.el:
15172 * vc/log-edit.el:
15173 * vc/log-view.el:
15174 * vc/smerge-mode.el:
15175 * textmodes/bibtex-style.el:
15176 * textmodes/css.el:
15177 * startup.el:
15178 * uniquify.el:
da91b5f2
CY
15179 * minibuffer.el:
15180 * newcomment.el:
15181 * reveal.el:
15182 * server.el:
15183 * mpc.el:
15184 * emacs-lisp/smie.el:
15185 * doc-view.el:
15186 * dired.el:
03408648
SM
15187 * abbrev.el: Use lexical binding.
15188
0f0c1f27
EZ
151892011-04-01 Eli Zaretskii <eliz@gnu.org>
15190
15191 * info.el (info-display-manual): New function.
15192
c82b2579
SM
151932011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15194
15195 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15196
221ddf68
TH
151972011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15198
15199 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15200 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15201
cba6e77e
GM
152022011-03-31 Glenn Morris <rgm@gnu.org>
15203
e040639f
GM
15204 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15205
cba6e77e
GM
15206 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15207
6d0f1c9e
CS
152082011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15209
15210 * progmodes/python.el (python-default-interpreter)
15211 (python-python-command-args, python-jython-command-args)
15212 (python-which-shell, python-which-args, python-which-bufname)
15213 (python-file-queue, python-comint-output-filter-function)
15214 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15215 variables and functions.
15216
3e2d70fd
SM
152172011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15220 (completion-in-region-mode): New minor mode.
15221 (completion-in-region): Use it.
15222 (completion-in-region--data, completion-in-region-mode-map): New vars.
15223 (completion-in-region--postch): New function.
15224 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15225 New vars.
15226 (completion--capf-wrapper): New function.
15227 (completion-at-point): Use it to track well-behavedness of
15228 hook functions.
15229 (completion-help-at-point): New command.
15230
f3e4086c
JM
152312011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15232
15233 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15234 syntax class to search for whitespace on a single line
15235 (Message-ID: <4D938140.4030905@redhat.com>).
15236
eb7ffc14
LL
152372011-03-30 Leo Liu <sdl.web@gmail.com>
15238
15239 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15240 New commands.
15241 (edit-abbrevs-map): Bind them here.
15242 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15243
d806ab68
KM
152442011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15245
15246 * allout.el (allout-hide-by-annotation, allout-flag-region):
15247 Reduce possibility of overlay leakage by making them volatile.
15248
15249 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15250 hash is not shared between buffers. Mode initialization is
15251 responsible for giving it a useful starting value.
15252 (allout-item-span): Reduce possibility of overlay leakage by
15253 making them volatile.
15254 (allout-widgets-count-buttons-in-region): Add diagnostic function
15255 for tracking down button overlay leaks.
15256
ea622834
LL
152572011-03-29 Leo Liu <sdl.web@gmail.com>
15258
15259 * ido.el (ido-read-internal): Use the default history var
15260 minibuffer-history if no HISTORY is specified.
15261
b62f8267
G
152622011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15263
03408648
SM
15264 * net/imap.el (imap-shell-open, imap-process-connection-type):
15265 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15266 Kerberos, SSL, other subprocesses.
15267
947b6566
LL
152682011-03-28 Leo Liu <sdl.web@gmail.com>
15269
15270 * abbrev.el (abbrev-table-empty-p): New function.
15271 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15272 nonempty ones. (Bug#5937)
15273
5ffb62aa
JD
152742011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15275
15276 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15277
7a097943
LL
152782011-03-27 Leo Liu <sdl.web@gmail.com>
15279
15280 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15281 for foreground and background colors.
15282 (ansi-color-make-color-map): Adapt.
15283
c5b40130
LL
152842011-03-25 Leo Liu <sdl.web@gmail.com>
15285
1f48f7d2
LL
15286 * midnight.el (midnight-time-float): Remove. Note it calculates
15287 the microsecond component incorrectly and seconds-to-time does the
15288 same job.
625897ec 15289 Remove redundant (require 'timer).
1f48f7d2 15290
c5b40130
LL
15291 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15292 (ido-completions): Remove unused arguments. (Bug#8329)
15293
d86d2721
SM
152942011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15295
15296 * minibuffer.el (completion--flush-all-sorted-completions):
15297 Remove itself from hook.
15298 (completion-at-point): Let the functions perform the completion
15299 immediately and return nil or t.
15300 * comint.el (comint-dynamic-complete-functions): Now identical to
15301 completion-at-point-functions.
15302 (comint-dynamic-list-input-ring): Remove unused var `index'.
15303 (comint--match-partial-filename, comint--unquote&expand-filename):
15304 New funs, split from comint-match-partial-filename.
15305 (comint-dynamic-complete): Use completion-at-point.
15306 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15307
e8974c48
DA
153082011-03-24 Drew Adams <drew.adams@oracle.com>
15309
15310 * thingatpt.el: Support `defun'.
15311
def71b5e
LL
153122011-03-23 Leo Liu <sdl.web@gmail.com>
15313
cb5af48e
LL
15314 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15315
def71b5e
LL
15316 * help-mode.el (help-mode-finish): Tweak regexp.
15317
927c53e7
GM
153182011-03-23 Glenn Morris <rgm@gnu.org>
15319
18d05bed
GM
15320 * eshell/esh-opt.el (eshell-eval-using-options):
15321 Do not bind unused local variable `eshell-option-stub'.
15322
927c53e7
GM
15323 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15324
9d0da923
JB
153252011-03-22 Juanma Barranquero <lekktu@gmail.com>
15326
15327 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15328 keymap variable in `with-no-warnings' to avoid a warning when the
15329 keymap has been already `defconst'ed.
15330
4b978a67
LL
153312011-03-22 Leo Liu <sdl.web@gmail.com>
15332
15333 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15334 encode all chars in abbrevs; otherwise use emacs-mule or
15335 utf-8-emacs. (Bug#8308)
15336
5fd62452
JB
153372011-03-22 Juanma Barranquero <lekktu@gmail.com>
15338
0b1596c6
JB
15339 * simple.el (backward-delete-char-untabify):
15340 Avoid warning about using `delete-backward-char'.
15341
5fd62452
JB
15342 * image.el (image-type-file-name-regexps): Make it variable.
15343 `imagemagick-register-types' modifies it, and the user may want
15344 to add new extensions for known image types.
15345 (imagemagick-register-types): Throw error if not using ImageMagick.
15346
0b4e93f1
LL
153472011-03-22 Leo Liu <sdl.web@gmail.com>
15348
15349 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15350 located before rcirc-prompt-end-marker.
15351 (rcirc-complete): Error if point is not after rcirc prompt.
15352 Handle the case when table is nil.
9882e214 15353 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15354
fccee4ab
CY
153552011-03-22 Chong Yidong <cyd@stupidchicken.com>
15356
15357 * custom.el (custom--inhibit-theme-enable): Make it affect only
15358 custom-theme-set-variables and custom-theme-set-faces.
15359 (provide-theme): Ignore custom--inhibit-theme-enable.
15360 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15361 (custom-enabling-themes): Delete variable.
d86d2721
SM
15362 (enable-theme): Accept only loaded themes as arguments.
15363 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15364 (custom-enabled-themes): Forbid themes from setting this.
15365 Eliminate use of custom-enabling-themes.
15366 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15367
af896da6
LL
153682011-03-21 Leo Liu <sdl.web@gmail.com>
15369
15370 * ido.el (ido-read-internal): Add ido-selected to history instead
15371 of user input.
15372
78f64af0
SM
153732011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15374
15375 * subr.el (deferred-action-list, deferred-action-function):
15376 Mark obsolete.
15377
b16ac1ec
LL
153782011-03-21 Leo Liu <sdl.web@gmail.com>
15379
810f7698
LL
15380 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15381 change on 2011-02-13 (bug#8309).
15382
b16ac1ec
LL
15383 * minibuffer.el (read-file-name-function): Change default value.
15384 (read-file-name--defaults): Rename from read-file-name-defaults.
15385 (read-file-name-default): Rename from read-file-name.
15386 (read-file-name): Call read-file-name-function.
15387
4e05e67e
GM
153882011-03-21 Glenn Morris <rgm@gnu.org>
15389
15390 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15391 Doc fixes.
15392
4359915b
CY
153932011-03-21 Chong Yidong <cyd@stupidchicken.com>
15394
15395 * cus-theme.el: Add missing provide statement.
15396 (customize-create-theme): Extract theme value correctly.
15397 (custom-theme-visit-theme): Autoload.
15398 (customize-create-theme): Prompt before inserting default faces.
15399
1fe275ee
JB
154002011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15401
15402 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15403 units and musical notes.
15404
cd394be1 154052011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15406
15407 * ido.el (ido-read-internal): Use completing-read-default.
15408 (ido-completing-read): Fix compatibility with completing-read.
15409
7d476bde
CO
154102011-03-20 Christian Ohler <ohler@gnu.org>
15411
15412 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15413 (ert-delete-all-tests): Use `called-interactively-p' rather than
15414 `interactive-p'.
15415 (ert--make-xrefs-region): Respect END.
15416
fe0fb33e
CY
154172011-03-19 Chong Yidong <cyd@stupidchicken.com>
15418
ff854b0b
CY
15419 * dired-aux.el (dired-create-directory): Signal an error if the
15420 directory already exists (Bug#8246).
15421
fe0fb33e
CY
15422 * facemenu.el (list-colors-display): Call list-faces-display
15423 inside with-help-window.
15424 (list-colors-print): Use display property to align the final
15425 column, instead of checking window-width.
15426
576bce32
EZ
154272011-03-19 Eli Zaretskii <eliz@gnu.org>
15428
4d61f28d 15429 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15430 windows-nt systems.
15431 (emerge-protect-metachars): Quote correctly for ms-dos and
15432 windows-nt systems.
15433
89c41d68 154342011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15435
15436 * info.el (info-initialize): Replace all uses of `:' with
15437 path-separator for compatibility with non-Unix systems.
15438 Cache quoting of path-separator. (Bug#8258)
15439
b14e3e21 154402011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15441
15442 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15443 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15444 (mouse-avoidance-mode): Fix typos in docstrings.
15445
4525ce3e
CY
154462011-03-19 Chong Yidong <cyd@stupidchicken.com>
15447
15448 * startup.el (package-subdirectory-regexp): Move from package.el.
15449 Omit \\` and \\', and let callers add them.
15450
15451 * emacs-lisp/package.el (package-strip-version)
15452 (package-load-all-descriptors): Add \\` and \\' to
15453 package-subdirectory-regexp before using it.
15454 (package-untar-buffer): New arg DIR; ensure that file untars only
15455 into this expected directory. Remove superfluous delete-region.
15456 (package-unpack): Caller changed.
15457 (package-tar-file-info): Use package-subdirectory-regexp.
15458
a904a09a 154592011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15460
a904a09a
SM
15461 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15462 diff-mode-shared-map (bug#8284).
15463 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15464
154652011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15466
15467 * calendar/time-date.el (format-seconds): Use assoc instead of
15468 assoc-string, since assoc-string doesn't exist in XEmacs.
15469
171fc304
JB
154702011-03-17 Juanma Barranquero <lekktu@gmail.com>
15471
15472 * custom.el (custom-known-themes): Reflow docstring.
15473 (custom-theme-load-path): Fix typo in docstring.
15474 (load-theme): Fix typo in error message.
15475 (custom-available-themes, custom-variable-theme-value):
15476 Use `let', not `let*'.
15477
d71990a1
JB
154782011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15479
15480 * calc/README: Mention inclusion of musical notes.
15481
15482 * calc/calc-units.el (calc-lu-quant): Rename from
15483 `calc-logunits-quantity'.
15484 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15485 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15486 (calc-db): Rename from `calc-dblevel'.
15487 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15488 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15489 (calc-np): Rename from `calc-nplevel'.
15490 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15491 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15492 (calc-lu-plus): Rename from `calc-logunits-add'.
15493 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15494 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15495 (calc-lu-minus): Rename from `calc-logunits-sub'.
15496 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15497 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15498 (calc-lu-times): Rename from `calc-logunits-mul'.
15499 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15500 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15501 (calc-lu-divide): Rename from `calc-logunits-div'.
15502 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15503 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15504
15505 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15506 functions being autoloaded.
15507
15508 * calc/calc.el (calc-lu-power-reference): Rename from
15509 `calc-logunits-power-reference'.
15510 (calc-lu-field-reference): Rename from
15511 `calc-logunits-field-reference'.
15512
7a71b18d
GM
15513 * calc/calc-help.el (calc-l-prefix-help):
15514 Mention musical note functions.
d71990a1 15515
40c2934b
SM
155162011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15517
15518 * minibuffer.el (completion-all-sorted-completions):
15519 Use :completion-cycle-penalty text property if present.
15520
b0911414
KM
155212011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15522
15523 * allout.el (allout-yank-processing): Adjust for new rebulleting
15524 regime so bullet being yanked is used without prompting the user
15525 for a choice.
15526
8a05b668
JB
155272011-03-16 Juanma Barranquero <lekktu@gmail.com>
15528
15529 * startup.el (command-line): Warn the user that _emacs is deprecated.
15530
5ba5fb81
JB
155312011-03-16 Juanma Barranquero <lekktu@gmail.com>
15532
15533 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15534 (delphi-verbose, delphi-comment-face, delphi-string-face)
15535 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15536 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15537 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15538 (delphi-new-comment-line, delphi-font-lock-defaults)
15539 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15540 Fix typos in docstrings.
15541
2dab465b
KM
155422011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15543
5ba5fb81 15544 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15545 Invert the roles of character and string values for INSTEAD, so a
15546 string is used for the more common case of a defaulting prompt.
15547
0adf5618
SM
155482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * progmodes/ruby-mode.el (ruby-backward-sexp):
15551 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15552 * play/gamegrid.el (gamegrid-make-face):
15553 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15554 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15555 * notifications.el (notifications-notify):
15556 * net/xesam.el (xesam-search-engines):
15557 * net/quickurl.el (quickurl-list-insert):
15558 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15559
d72700e5
CY
155602011-03-15 Chong Yidong <cyd@stupidchicken.com>
15561
15562 * startup.el (command-line): Update package subdirectory regexp.
15563
49c5410a
SM
155642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15565
c6eee9aa
SM
15566 * allout.el (allout-abbreviate-flattened-numbering)
15567 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15568
49c5410a
SM
15569 * subr.el (read-char-choice): Only show the cursor after the prompt,
15570 not after the answer.
15571
047b2bb9
KR
155722011-03-15 Kevin Ryde <user42@zip.com.au>
15573
15574 * help-fns.el (variable-at-point): Skip leading quotes, if any
15575 (bug#8253).
15576
0a57d256
SM
155772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15578
15579 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15580 warning message.
15581
77c992bc
MA
155822011-03-14 Michael Albinus <michael.albinus@gmx.de>
15583
15584 * shell.el (shell): When called interactively, offer to change the
15585 shell file name on remote hosts.
15586
eebc475d
TZ
155872011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15588
15589 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15590 integration for LDAP parameters. The host, base, user or binddn,
15591 and secret tokens can be specified in a netrc file, for instance.
15592 This is optional because an `auth-source' parameter must be
15593 specified in the search attributes.
15594
9d05d1ba
JB
155952011-03-13 Juanma Barranquero <lekktu@gmail.com>
15596
15597 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15598
09d9db2c
GM
155992011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15600
15601 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15602 into declaration. Remove redundant and harmful binding.
15603
156042011-03-12 Eli Zaretskii <eliz@gnu.org>
15605
15606 * files.el (file-ownership-preserved-p): Pass `integer' as an
15607 explicit 2nd argument to `file-attributes'. If the file's owner
15608 is the Administrators group on Windows, and the current user is
15609 Administrator, consider that a match.
15610
15611 * server.el (server-ensure-safe-dir): Consider server directory
15612 safe on MS-Windows if its owner is the Administrators group while
15613 the current Emacs user is Administrator. Use `=' to compare
15614 numerical UIDs, since they could be integers or floats.
15615
219bd536
JB
156162011-03-12 Juanma Barranquero <lekktu@gmail.com>
15617
15618 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15619
f3afd36b
MA
156202011-03-12 Michael Albinus <michael.albinus@gmx.de>
15621
15622 Sync with Tramp 2.2.1.
15623
15624 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15625
15626 * net/trampver.el: Update release number.
15627
3aaaa6f1
SM
156282011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15629
94642599
SM
15630 * progmodes/compile.el (compilation--previous-directory): Fix up
15631 various nil/dead-marker mismatches (bug#8014).
15632 (compilation-directory-properties, compilation-error-properties):
15633 Don't call it at a position past the one we're about to change.
15634
3aaaa6f1
SM
15635 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15636 Disable obsolescence warnings in the file that declares it.
15637
14239447
KM
156382011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15639
099c39a4
JB
15640 * allout-widgets.el (allout-widgets-tally):
15641 Initialize allout-widgets-tally as a hash table rather than nil to
15642 prevent mode-line redisplay warnings. Also, clarify the module
15643 description and fix a comment typo.
14239447 15644
135e287c
JB
156452011-03-11 Juanma Barranquero <lekktu@gmail.com>
15646
15647 * help-fns.el (describe-variable): Don't complete keywords.
15648 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15649
ffbf300e
CY
156502011-03-10 Chong Yidong <cyd@stupidchicken.com>
15651
ba08b241
CY
15652 * emacs-lisp/package.el (package-version-join): Impose a standard
15653 string representation for pre/alpha/beta version lists.
15654 (package-unpack-single): Standardize the directory name by passing
15655 it through package-version-join.
15656 (package-strip-rcs-id): Accept any version string that does not
15657 signal an error in version-to-list.
ffbf300e 15658
f346fd6b
MA
156592011-03-10 Michael Albinus <michael.albinus@gmx.de>
15660
15661 * simple.el (delete-trailing-whitespace): Return nil for the
15662 benefit of `write-file-functions'.
15663
ccb55d27
GM
156642011-03-10 Glenn Morris <rgm@gnu.org>
15665
5ceaac0c
GM
15666 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15667
02da65ff
GM
15668 * vc/vc-git.el (vc-git-program): New option.
15669 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15670 (vc-git--call): Use it.
15671
b2f603cc
GM
15672 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15673
5772caab
GM
15674 * cus-edit.el (Custom-newline): If no button at point, look
15675 for a subgroup button at start-of-line. (Bug#2298)
15676
ccb55d27
GM
15677 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15678
ec6ecaed
JD
156792011-03-10 Julien Danjou <julien@danjou.info>
15680
15681 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15682 `cursor-type' is nil.
15683
9d5aa01d
JB
156842011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15685
15686 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15687
b6a5875b
KM
156882011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15689
7a71b18d 15690 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15691 preserves the existing header prefix, rebulleting it if necessary,
15692 rather than replacing it. This is necessary for proper operation
15693 of cooperative addons like allout-widgets.
1154d12e
JB
15694 (allout-make-topic-prefix, allout-rebullet-heading):
15695 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15696 value as alternate bullet to be used, instead of prompting the user
15697 for a bullet character.
b6a5875b 15698
ee545c35
MA
156992011-03-09 Michael Albinus <michael.albinus@gmx.de>
15700
d86d2721
SM
15701 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15702 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15703 `tramp-default-port'.
15704
c47971d7
DD
157052011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15706
15707 * net/rcirc.el (rcirc-handler-001): Remove useless
15708 with-rcirc-process-buffer.
15709 (rcirc-check-auth-status): Swap arguments to string-match.
15710
13522cb4
GM
157112011-03-09 Glenn Morris <rgm@gnu.org>
15712
0be6f4f1
GM
15713 * shell.el (shell-mode):
15714 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15715
13522cb4
GM
15716 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15717 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15718
515de2e3
CY
157192011-03-08 Chong Yidong <cyd@stupidchicken.com>
15720
15721 * emacs-lisp/package.el (package-refresh-contents)
15722 (package-menu-execute): Use condition-case-no-debug.
15723
b511b994
MA
157242011-03-08 Michael Albinus <michael.albinus@gmx.de>
15725
15726 * simple.el (shell-command-to-string): Use `process-file'.
15727
15728 * emacs-lisp/package.el (package-tar-file-info): Handle also
15729 remote files.
15730
d86d2721
SM
15731 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15732 Use `equal' for upload base check.
b511b994 15733
25bbfb31
AM
157342011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15735
15736 * textmodes/texinfo.el (texinfo-environments):
15737 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15738
be996521
GM
157392011-03-08 Glenn Morris <rgm@gnu.org>
15740
e9c8529f
GM
15741 * cus-start.el (cursor-in-non-selected-windows):
15742 Fix :set quoting oddness. (Bug#8192)
15743
be996521
GM
15744 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15745 in some setf expressions. (Bug#2159)
15746
2bb5649e
CY
157472011-03-08 Chong Yidong <cyd@stupidchicken.com>
15748
15749 * custom.el (custom-available-themes): Return themes in
15750 alphabetical order.
15751
33383987 15752See ChangeLog.15 for earlier changes.
e3d51b27
MR
15753
15754;; Local Variables:
15755;; coding: utf-8
e3d51b27
MR
15756;; End:
15757
acaf905b 15758 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15759
15760 This file is part of GNU Emacs.
15761
15762 GNU Emacs is free software: you can redistribute it and/or modify
15763 it under the terms of the GNU General Public License as published by
15764 the Free Software Foundation, either version 3 of the License, or
15765 (at your option) any later version.
15766
15767 GNU Emacs is distributed in the hope that it will be useful,
15768 but WITHOUT ANY WARRANTY; without even the implied warranty of
15769 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15770 GNU General Public License for more details.
15771
15772 You should have received a copy of the GNU General Public License
15773 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.