Fixes for Info link-following mouse commands.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
136e1c1d
CY
12012-06-23 Chong Yidong <cyd@gnu.org>
2
3 * info.el (Info-mouse-follow-link): Accept symbol values of the
4 link-args property. Select the window (Bug#11672).
5 (Info-fontify-node): Use Info-link-keymap for all navigation
6 buttons, with link-args property to perform the desired action.
7 (Info-link-keymap): Doc fix.
8 (Info-next-link-keymap, Info-prev-link-keymap)
9 (Info-up-link-keymap): Delete now-unused keymaps.
10
0e9e6c6a
CY
112012-06-23 Chong Yidong <cyd@gnu.org>
12
05e89fea
CY
13 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
14
0e9e6c6a
CY
15 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
16 system abbrevs.
17
18 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
19
e33c6771
SM
202012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21
b68581e2
SM
22 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
23 (bug#11719).
24
e33c6771
SM
25 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
26 the requote function doesn't work properly (bug#11714).
27
7117e105
GM
282012-06-23 Glenn Morris <rgm@gnu.org>
29
30 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
31
36cec983
SM
322012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 Further GV/CL cleanups.
35 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
36 gv-expander.
37 (gv--defun-declaration): New function.
38 (defun-declarations-alist): Use it.
39 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
40 (gv-place): Autoload.
41 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
42 original definition of dotimes and dolist.
43 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
44 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
45 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
46 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
47 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
48 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
49 to the function's definition.
50 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
51 * window.el:
52 * files.el:
53 * faces.el:
54 * env.el: Don't use CL.
55
d35af63c
PE
562012-06-22 Paul Eggert <eggert@cs.ucla.edu>
57
58 Support higher-resolution time stamps (Bug#9000).
59
60 * calendar/time-date.el (with-decoded-time-value): New arg
61 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
62 (encode-time-value): New optional arg PICO. New type 3.
63 (time-to-seconds) [!float-time]: Support the new picoseconds
64 component if it's used.
65 (seconds-to-time, time-subtract, time-add):
66 Support ps-resolution time stamps as well.
67
68 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
69 (timerp): Timer vectors now have length 9, not 8.
70 (timer--time): Support new-style (4-part) time stamps.
71 (timer-next-integral-multiple-of-time): Time stamps now have
72 picosecond resolution, so take a bit more care about rounding.
73 (timer-relative-time, timer-inc-time): New optional arg psecs.
74 (timer-set-time-with-usecs): Set psecs to 0.
75 (timer--activate): Check psecs component, too.
76
77 * proced.el (proced-time-lessp): Support ps-resolution stamps.
78
ac77b21a
SM
792012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
80
f143bfe3
SM
81 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
82 Move the non-essential binding to the post/pre-command-hook where it is
83 more obviously correct.
84
ac77b21a
SM
85 * subr.el (read-passwd): Don't use a history at all.
86 * savehist.el (savehist-save): Remove password saved accidentally
87 because of the above bug.
88
76386c5a
BG
892012-06-22 Bastien Guerry <bzg@gnu.org>
90
91 * files.el (toggle-read-only): Display a message telling whether
92 the buffer is read-only or not (bug#11726).
93
2ee3d7f0
SM
942012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
95
96 * emacs-lisp/gv.el: New file.
97 * subr.el (push, pop): Extend to generalized variables.
98 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
99 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
100 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
101 gv-define-simple-setter, and gv-define-expander.
102 Remove setf-methods defined in gv. Rename cl-setf -> setf.
103 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
104 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
105 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
106 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
107 gv-letplace.
108 (cl-defstruct): Don't define setf-method any more.
109 * emacs-lisp/cl.el (flet): Don't autoload.
110 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
111 (define-setf-expander, defsetf, define-modify-macro)
112 (cl-struct-setf-expander): Move from cl-lib.el.
113 * emacs-lisp/syntax.el:
114 * emacs-lisp/ewoc.el:
115 * emacs-lisp/smie.el:
116 * emacs-lisp/cconv.el:
117 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
118 (timer--time): Use gv-define-simple-setter.
119 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
120 to avoid coding-system problems in subr.el. Adjust all users.
121 (macroexp--maxsize, macroexp-small-p): New functions.
122 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
123 * scroll-bar.el (scroll-bar-mode):
124 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
125 (normal-erase-is-backspace-mode): Don't use the `eq' place.
126 * winner.el (winner-configuration, winner-make-point-alist)
127 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
128 * files.el (locate-file-completion-table): Avoid list*.
129
c5695d1d
CY
1302012-06-22 Chong Yidong <cyd@gnu.org>
131
132 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
133 (dired-create-files): Doc fix (Bug#11329).
134 (dired-do-copy): Doc fix (Bug#11334).
135 (dired-mark-read-string): Doc fix (Bug#11553).
136
2ee3d7f0
SM
137 * dired.el (dired-recursive-copies, dired-recursive-deletes):
138 Doc fix (Bug#11326).
c5695d1d
CY
139 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
140 (dired-dwim-target): Doc fix.
141
142 * wdired.el (wdired-mode): Doc fix.
143
89b5595a
GM
1442012-06-22 Glenn Morris <rgm@gnu.org>
145
575db3f1
GM
146 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
147 (pcmpl-rpm-cache-stamp-file): New constant.
148 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
149 (pcmpl-rpm-packages): Optionally cache list of packages.
150
a4c8dd51
GM
151 * pcmpl-rpm.el (pcmpl-rpm): New group.
152 (pcmpl-rpm-query-options): New option.
153 (pcmpl-rpm-packages): No need to inline it.
154 Use pcmpl-rpm-query-options.
155
89b5595a
GM
156 * calendar/calendar.el (calendar-in-read-only-buffer):
157 Avoid some needless mode changes.
158
e76f0800
CY
1592012-06-21 Chong Yidong <cyd@gnu.org>
160
161 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
162 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 163 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 164
297a8f1d
CY
1652012-06-20 Chong Yidong <cyd@gnu.org>
166
167 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
168
d34c18b1
DR
1692012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
170
171 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
172 (bug#11201).
173
32f7f28e
CY
1742012-06-20 Chong Yidong <cyd@gnu.org>
175
176 * term.el (term-window-width): Handle the case of a missing right
177 fringe (Bug#8837).
178 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
179 (term-mode): Use define-derived-mode. Minor cleanups.
180 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
181 (term-move-columns, term-insert-char, term-emulate-terminal)
182 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 183
493c6688
MA
1842012-06-20 Michael Albinus <michael.albinus@gmx.de>
185
d34c18b1
DR
186 * net/ange-ftp.el (ange-ftp-get-passwd):
187 Bind `enable-recursive-minibuffers'.
493c6688
MA
188 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
189
3f06ecf4
DR
1902012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
191
192 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
193
68f12411
GM
1942012-06-19 Glenn Morris <rgm@gnu.org>
195
196 * progmodes/python.el (python-mode): Derive from prog-mode.
197
b3820318
KG
1982012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
199
200 * emulation/edt.el (edt-default-menu-bar-update-buffers)
201 (edt-user-menu-bar-update-buffers): New functions.
202 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
203
c6bf3022
CY
2042012-06-19 Chong Yidong <cyd@gnu.org>
205
206 * subr.el (with-selected-window): Preserve the selected window's
207 terminal's top-frame (Bug#4702).
208
209 * window.el (save-selected-window): Likewise.
210
25f09295
SM
2112012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * progmodes/python.el (python-rx-constituents): Move backquote.
214 (python-skeleton-define, python-define-auxiliary-skeleton):
215 Use `declare'.
216
6b11952a
MA
2172012-06-18 Michael Albinus <michael.albinus@gmx.de>
218
219 * minibuffer.el (read-file-name-default): Revert the patch from
220 2012-06-17.
221
ee4b1330
SM
2222012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
223
224 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
225 (pcase--u1, pcase--q1): Don't use apply-partially.
226
35647f79
GM
2272012-06-18 Glenn Morris <rgm@gnu.org>
228
229 * progmodes/python.el (python-proc, python-buffer)
230 (python-send-receive, python-send-string): Fix obsolete versions.
231
24b0cff0
MR
2322012-06-18 Martin Rudalics <rudalics@gmx.at>
233
234 * window.el (special-display-p): Completely remove stringp
235 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
236
29855149
MA
2372012-06-17 Michael Albinus <michael.albinus@gmx.de>
238
239 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
240
241 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
242
243 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
244 * net/tramp-sh.el (tramp-maybe-open-connection):
245 Throw if `non-essential' is non-nil.
246
07463363
MR
2472012-06-17 Martin Rudalics <rudalics@gmx.at>
248
249 * window.el (special-display-p): Signal an error if BUFFER-NAME
250 is not a string (Bug#11713).
251
48d1354e
PE
2522012-06-17 Paul Eggert <eggert@cs.ucla.edu>
253
254 * progmodes/python.el (python-info-beginning-of-backslash):
255 Rename from python-info-beginning-of-backlash, as a spelling fix.
256
eb4a8a9a
CY
2572012-06-17 Chong Yidong <cyd@gnu.org>
258
259 * term.el (term-emulate-terminal): If term-check-size is called,
260 move point to the process mark without resetting point (Bug#4635).
261
ddfbf826 2622012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
263
264 * international/mule-cmds.el (mule-menu-keymap)
265 (set-language-environment, set-locale-environment): Doc tweaks.
266
9b0e3eba
AA
2672012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
268
269 * cus-face.el (custom-face-attributes): Add wave-style underline
270 attribute.
271 * faces.el (set-face-attribute): Update docstring to describe
272 wave-style underline attribute.
273
771e3eae
CY
2742012-06-16 Chong Yidong <cyd@gnu.org>
275
276 * term/xterm.el (terminal-init-xterm): Discard input before
277 querying background mode (Bug#10959).
278
7ae2ea10
SM
2792012-06-16 Stefan Merten <smerten@oekonux.de>
280
281 * textmodes/rst.el: Added and corrected some comments.
282 (rst-re-alist-def): Improve symbol syntax.
283 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
284 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
285 (rst-official-version, rst-official-cvs-rev): Update version
286 information.
7ae2ea10 287
b6974efa
JB
2882012-06-15 Juanma Barranquero <lekktu@gmail.com>
289
290 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
291 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
292
8826d473
GM
2932012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
294
295 * progmodes/python.el: New python.el merge.
296 (python-guess-indent): Obsolete var.
297 (python-indent-guess-indent-offset): New defcustom.
298 (python-indent): Obsolete var.
299 (python-indent-offset): New defcustom.
300 (python-python-command, python-jython-command): Delete var.
301 (python-shell-interpreter): New defcustom.
302 (python-pdbtrack-do-tracking-p): Delete var.
303 (python-pdbtrack-activate): New defcustom.
304 (python-use-skeletons): Obsolete var.
305 (python-skeleton-autoinsert): New defcustom.
306 (inferior-python-filter-regexp, python-continuation-offset)
307 (python-honour-comment-indentation, python-indent-string-contents)
308 (python-jython-packages, python-mode-hook)
309 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
310 (python-shell-prompt-alist)
311 (python-source-modes): Delete defcustoms.
312 (python-check-buffer-name, python-eldoc-setup-code)
313 (python-eldoc-string-code, python-ffap-setup-code)
314 (python-ffap-string-code, python-fill-comment-function)
315 (python-fill-decorator-function, python-fill-paren-function)
316 (python-fill-string-function, python-imenu-include-defun-type)
317 (python-imenu-make-tree, python-imenu-subtree-root-label)
318 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
319 (python-shell-compilation-regexp-alist)
320 (python-shell-completion-module-string-code)
321 (python-shell-completion-pdb-string-code)
322 (python-shell-completion-setup-code)
323 (python-shell-completion-string-code)
324 (python-shell-enable-font-lock, python-shell-exec-path)
325 (python-shell-extra-pythonpaths)
326 (python-shell-internal-buffer-name, python-shell-interpreter-args)
327 (python-shell-process-environment)
328 (python-shell-prompt-block-regexp)
329 (python-shell-prompt-output-regexp)
330 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
331 (python-shell-send-setup-max-wait, python-shell-setup-codes)
332 (python-shell-virtualenv-path): New defcustoms.
333 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
334 (inferior-python-mode-syntax-table, python--prompt-regexp)
335 (python-buffer, python-command python-python-command)
336 (python-default-template, python-imports, python-indent-index)
337 (python-indent-list, python-indent-list-length)
338 (python-mode-running, python-pdbtrack-is-tracking-p)
339 (python-preoutput-continuation, python-preoutput-leftover)
340 (python-preoutput-result, python-preoutput-skip-next-prompt)
341 (python-prev-dir/file, python-recursing)
342 (python-saved-check-command, python-version-checked)
343 (python-which-func-length-limit)
344 (view-return-to-alist): Delete vars.
345 (python-check-custom-command, python-dotty-syntax-table)
346 (python-imenu-index-alist, python-indent-current-level)
347 (python-indent-dedenters, python-indent-levels)
348 (python-nav-beginning-of-defun-regexp)
349 (python-nav-list-defun-positions-cache)
350 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
351 (python-shell-internal-buffer)
352 (python-skeleton-available): New vars.
353 (def-python-skeleton): Delete macro.
354 (python-skeleton-define): New macro.
355 (python-define-auxiliary-skeleton, python-rx): New macros.
356 (python-insert-class): Delete command.
357 (python-skeleton-class): New command.
358 (python-insert-def): Delete command.
359 (python-skeleton-def): New command.
360 (python-insert-for): Delete command.
361 (python-skeleton-for): New command.
362 (python-insert-if): Delete command.
363 (python-skeleton-if): New command.
364 (python-insert-try/except, python-insert-try/finally): Delete commands.
365 (python-skeleton-try): New command.
366 (python-insert-while): Delete command.
367 (python-skeleton-while): New command.
368 (python-backspace): Delete command.
369 (python-indent-dedent-line-backspace): New command.
370 (python-electric-colon): Delete command.
371 (python-indent-electric-colon): New command.
372 (python-guess-indent): Delete command.
373 (python-indent-guess-indent-offset): New command.
374 (python-shift-left): Delete command.
375 (python-indent-shift-left): New command.
376 (python-shift-right): Delete command.
377 (python-indent-shift-right): New command.
378 (python-find-function): Delete command.
379 (python-nav-jump-to-defun): New command.
380 (python-next-statement): Delete command.
381 (python-nav-forward-sentence): New command.
382 (python-previous-statement): Delete command.
383 (python-nav-backward-sentence): New command.
384 (python-fill-paragraph): Delete command.
385 (python-fill-paragraph-function): New command.
386 (python-send-buffer): Delete command.
387 (python-shell-send-buffer): New command.
388 (python-send-defun): Delete command.
389 (python-shell-send-defun): New command.
390 (python-send-region, python-send-region-and-go): Delete commands.
391 (python-shell-send-region)
392 (python-shell-switch-to-shell): New commands.
393 (python-send-string): Delete command.
394 (python-shell-send-string): New command.
395 (python-switch-to-python): Delete command.
396 (python-shell-switch-to-shell): New command.
397 (python-describe-symbol): Delete command.
398 (python-eldoc-at-point): New command.
399 (python--set-prompt-regexp, python-args-to-list)
400 (python-after-info-look, python-check-version)
401 (python-check-comint-prompt, python-find-imports)
402 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
403 (python-unload-function, python-expand-template)
404 (python-maybe-jython, python-preoutput-filter)
405 (python-pdbtrack-get-source-buffer)
406 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
407 (python-pdbtrack-toggle-stack-tracking)
408 (python-pdbtrack-track-stack-file, python-initial-text)
409 (python-first-word, python-comment-line-p, python-send-command)
410 (python-setup-brm, python-sentinel, python-set-proc)
411 (python-skip-out, python-input-filter, python-outdent-p)
412 (python-outline-level, python-backslash-continuation-line-p)
413 (python-end-of-block, python-end-of-statement, python-mark-block)
414 (python-beginning-of-block, python-beginning-of-statement)
415 (python-blank-line-p, python-beginning-of-string)
416 (python-open-block-statement-p): Delete functions.
417 (python-indent-line, python-indent-line-1): Delete functions.
418 (python-indent-line): New function.
419 (python-indentation-levels): Delete function.
420 (python-indent-calculate-levels): New function.
421 (python-proc): Delete function.
422 (python-shell-get-process): New function.
423 (python-send-receive): Delete function.
424 (python-shell-send-string-no-output): New function.
425 (python-module-path): Delete function.
426 (python-ffap-module-path): New function.
427 (python-completion-at-point)
428 (python-symbol-completions): Delete functions.
429 (python-completion-complete-at-point): New function.
430 (python-load-file): Delete function.
431 (python-shell-send-file): New function.
432 (python-calculate-indentation): Delete function.
433 (python-indent-calculate-indentation): New function.
434 (python-skip-comments/blanks): Delete function.
435 (python-util-forward-comment): New function.
436 (python-continuation-line-p): Delete function.
437 (python-info-continuation-line-p): New function.
438 (python-which-func, python-current-defun): Delete function.
439 (python-info-current-defun): New function.
440 (python-beginning-of-defun): Delete function.
441 (python-nav-beginning-of-defun): New function.
442 (python-close-block-statement-p)
443 (python-block-end-p): Delete function.
444 (python-info-closing-block): New function.
445 (python-comint-output-filter-function)
446 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
447 (python-fill-comment, python-fill-decorator, python-fill-paren)
448 (python-fill-string, python-imenu-make-element-tree)
449 (python-imenu-make-tree, python-imenu-tree-assoc)
450 (python-indent-context, python-indent-dedent-line)
451 (python-indent-line-function)
452 (python-indent-post-self-insert-function)
453 (python-indent-toggle-levels)
454 (python-info-assignment-continuation-line-p)
455 (python-info-beginning-of-backlash)
456 (python-info-block-continuation-line-p)
457 (python-info-closing-block-message)
458 (python-info-line-ends-backslash-p)
459 (python-info-looking-at-beginning-of-defun)
460 (python-info-ppss-context, python-info-ppss-context-type)
461 (python-nav-list-defun-positions, python-nav-read-defun)
462 (python-nav-sentence-end, python-nav-sentence-start)
463 (python-pdbtrack-comint-output-filter-function)
464 (python-pdbtrack-set-tracked-buffer)
465 (python-shell-calculate-exec-path)
466 (python-shell-calculate-process-environment)
467 (python-shell-completion--do-completion-at-point)
468 (python-shell-completion--get-completions)
469 (python-shell-completion-complete-at-point)
470 (python-shell-completion-complete-or-indent)
471 (python-shell-get-or-create-process)
472 (python-shell-get-process-name)
473 (python-shell-internal-get-or-create-process)
474 (python-shell-internal-get-process-name)
475 (python-shell-internal-send-string, python-shell-make-comint)
476 (python-shell-parse-command, python-shell-send-setup-code)
477 (python-skeleton-add-menu-items)
478 (python-util-clone-local-variables, python-util-position)
479 (run-python-internal, python-indentation-levels)
480 (python-nav-beginning-of-defun)
481 (python-completion-complete-at-point): New functions.
482 (run-python): Change arguments. New API requirements.
483
4302f5ba
SM
4842012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
485
f38ea36d
SM
486 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
487 (bug#11649).
488
489 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
490 (macroexp--expand-all): Use it.
491
4302f5ba
SM
492 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
493 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
494 Use `cl-function' instead.
495
33377562
JB
4962012-06-14 Juanma Barranquero <lekktu@gmail.com>
497
498 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
499 Suggested by Stefan Monnier while discussing bug#11657.
500
54c5ba1a
SS
5012012-06-14 Sam Steingold <sds@gnu.org>
502
503 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
504
f9f1b1fe
AS
5052012-06-14 Andreas Schwab <schwab@linux-m68k.org>
506
507 * play/doctor.el (doctor-doc): Remove parameter and use
508 doctor-sent instead of sent.
509 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
510
a81068ba
SM
5112012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
512
5a315f9c
SM
513 * files.el: Require cl-lib.
514 (file-name-non-special): Replace case -> cl-case.
515
516 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
517
a81068ba
SM
518 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
519 mapping from #' to function*.
520
8cca9703
CY
5212012-06-13 Chong Yidong <cyd@gnu.org>
522
523 * mouse.el (mouse-drag-track): Do not set the mark if the user
524 releases the mouse without selecting anything (Bug#11588).
525
a12ac9d7
SM
5262012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
527
ccf1dc18
SM
528 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
529 as well (bug#11646).
530
ef62b23d
SM
531 * loadup.el: Count byte-code functions as well.
532
c4c8444a
SM
533 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
534 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
535
a12ac9d7
SM
536 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
537 (bug#11649). Add cl-defun and cl-defmacro.
538
87e6e64f
DA
5392012-06-13 Drew Adams <drew.adams@oracle.com>
540
541 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
542 Fix last change.
543
682cefaf
MA
5442012-06-13 Michael Albinus <michael.albinus@gmx.de>
545
546 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
547 Otherwise, it blocks in batch mode.
548
773e1f08
JB
5492012-06-13 Juanma Barranquero <lekktu@gmail.com>
550
551 * help-mode.el (bookmark-make-record-default): Declare.
552
60057926
CY
5532012-06-13 Chong Yidong <cyd@gnu.org>
554
555 * emacs-lisp/package.el (list-packages): Compute a list of
556 packages that are newly-available since the last list-packages
557 invocation.
558 (package-menu--new-package-list): New var.
559 (package-menu--generate, package-menu--print-info)
560 (package-menu--status-predicate, package-menu-mark-install):
561 Handle new status label "new".
562
ad4d226c
SM
5632012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
566 conversion to backquotes.
567
f1a4e679
CY
5682012-06-12 Chong Yidong <cyd@gnu.org>
569
570 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
571 Rename from gud-inhibit-global-bindings.
572
573 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
574
575 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
576 hook from nxml-glyph-set-hook.
577
578 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
579 declaration.
580
581 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
582
583 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
584 Convert to defcustom.
585
0c9e42b5
DA
5862012-06-12 Drew Adams <drew.adams@oracle.com>
587
588 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
589 New functions.
590 (help-mode): Use them.
591
09e06855
GM
5922012-06-11 Glenn Morris <rgm@gnu.org>
593
594 * progmodes/fortran.el (fortran-font-lock-keywords-3):
595 Use preprocessor face for directives.
596 (fortran-directive-re): Doc fix.
597
71adb94b
SM
5982012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
599
2eb87922
SM
600 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
601 conversion to backquotes (bug#11652).
602
71adb94b
SM
603 Fix compiler-expansion of CL's cXXr functions (bug#11673).
604 * emacs-lisp/cl-lib.el (cl--defalias): New function.
605 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
606 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
607 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
608 (cl-ninth, cl-tenth): Mark them as inlinable.
609 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
610 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
611 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
612 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
613 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
614 (cl-list*, cl-adjoin): Don't put an autoload manually.
615 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
616 (cl--compiler-macro-list*): Add autoload cookie.
617 (cl--compiler-macro-cXXr): New function.
2eb87922 618
71adb94b
SM
619 * help-fns.el (help-fns--compiler-macro): New function extracted from
620 describe-function-1; follow aliases and use `compiler-macro' property.
621 (describe-function-1): Use it.
622
a6674402
CY
6232012-06-11 Chong Yidong <cyd@gnu.org>
624
625 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
626 is uninstalled, if imagemagick is installed.
627
bb3faf5b
SM
6282012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * emacs-lisp/cl-lib.el: Use lexical-binding.
631 (cl-map-extents, cl-maclisp-member): Remove.
632 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
633 (cl--set-substring, cl--block-wrapper, cl--block-throw)
634 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
635 * emacs-lisp/cl-extra.el: Use lexical-binding.
636 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
637 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
638 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
639 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
640 * emacs-lisp/cl-seq.el: Use lexical-binding.
641 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
642 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
643 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
644 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
645 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
646 CL's internals.
647
2fe4b125
MA
6482012-06-11 Michael Albinus <michael.albinus@gmx.de>
649
650 Sync with Tramp 2.2.6-pre.
651
652 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
653 `print-length' and `print-level' to nil, in order to avoid
654 truncation. Reported by Christopher Schmidt
655 <christopher@ristopher.com>.
656
657 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
658
659 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
660 New defmacro.
661 (tramp-compat-copy-directory): Add optional argument
662 COPY-CONTENTS. It is not handled yet.
663
664 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
665 (tramp-ftp-file-name-p): Simplify.
666
667 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
668 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
669 connection vector.
670
671 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
672 (tramp-methods): Do not use `tramp-password-end-of-line'.
673 (tramp-completion-function-alist-putty): Handle UNIX case.
674 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
675 (tramp-do-file-attributes-with-stat)
676 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
677 gid as real numbers. They could run out of integer range on cygwin.
678 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
679 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
680 (tramp-open-connection-setup-interactive-shell):
681 Use `tramp-cleanup'. Move check for busyboxes ...
682 (tramp-find-shell): ... here. Simplify implementation.
683 Set "remote-shell" property also for alternative shells.
684 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
685 If failing, a regular file would be written otherwise.
686 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
687 (tramp-find-inline-encoding): Cache the coding commands in the
688 process cache. Apply test command on the remote side, if defined.
689 (tramp-find-inline-compress): Cache the compress commands in the
690 process cache.
691 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
692 when requested. Handle hops.
693 (tramp-current-connection): New defvar.
87e6e64f
DA
694 (tramp-maybe-open-connection): Use `tramp-cleanup'.
695 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 696 Handle user interrupt. (Bug#10187)
87e6e64f
DA
697 (tramp-get-inline-compress, tramp-get-inline-coding):
698 Read connection properties from the process cache.
2fe4b125
MA
699
700 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
701 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
702 New defconsts.
2fe4b125
MA
703 (tramp-smb-prompt): Extend for powershell prompt.
704 (tramp-smb-file-name-handler-alist): Add handlers for
705 `process-file', `shell-command' and `start-file-process'.
706 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
707 (tramp-smb-winexe-shell-command-switch): New defcustoms.
708 (tramp-smb-file-name-p): Simplify.
709 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
710 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
711 (tramp-smb-shell-quote-argument): New defuns.
712 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
713 Implement using "tar". By this, time-stamps are preserved.
714 (tramp-smb-handle-copy-file): Handle also the case of directories.
715 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
716 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
717 Use `tramp-get-connection-buffer').
2fe4b125
MA
718 (tramp-smb-handle-rename-file): Use "rename", when source and
719 target are on the same share.
87e6e64f
DA
720 (tramp-smb-maybe-open-connection): Handle wrong passwords.
721 Use `tramp-smb-server-version'.
2fe4b125
MA
722 (tramp-smb-wait-for-output): Remove prompt.
723
724 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
725 (tramp-methods, tramp-rsh-end-of-line):
726 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
727 (tramp-save-ad-hoc-proxies): New defcustom.
728 (tramp-completion-function-alist): Adapt docstring.
729 (tramp-default-password-end-of-line): Remove defcustom.
730 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
731 (tramp-user-regexp, tramp-file-name-regexp-unified)
732 (tramp-file-name-regexp-url): Extend regexp by hop separator.
733 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
734 (tramp-remote-file-name-spec-regexp): New defconst.
735 (tramp-file-name-structure): Extend structure for hops.
736 (tramp-get-method-parameter): Move up.
737 (tramp-file-name-p, tramp-dissect-file-name)
738 (with-parsed-tramp-file-name): Handle hops.
739 (tramp-file-name-hop): New defun.
740 (tramp-make-tramp-file-name): New optional arg HOP.
741 (tramp-message-show-progress-reporter-message): New defvar.
742 (tramp-with-progress-reporter): Use it. We cannot use
743 `tramp-message-show-message' here, because this suppresses also
744 error buffers.
745 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
746 `tramp-message-show-message' is nil.
747 Use `tramp-get-connection-buffer'.
2fe4b125
MA
748 (tramp-cleanup): New defun.
749 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
750 (tramp-file-name-handler): If `debug-on-error' is set, propagate
751 an error unchanged.
752 (tramp-completion-handle-file-name-all-completions): Handle hops.
753 Fix an error when called from ido.
754 (tramp-completion-dissect-file-name): Use better local variable
755 name. Add hop to the vector.
756 (tramp-handle-insert-file-contents): Use progress-reporter for the
757 whole scenario.
758 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
759 to `t'.
760 (tramp-check-for-regexp): Simplify search.
761 (tramp-enter-password): Remove it. Move implementation ...
762 (tramp-action-password): ... here.
763 (tramp-mode-string-to-int, tramp-local-host-p)
764 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
765 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
766 Set tramp-autoload cookie.
2fe4b125
MA
767
768 * net/trampver.el: Update release number.
769
7702012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
771 Michael Albinus <michael.albinus@gmx.de>
772
773 * net/tramp.el (tramp-set-completion-function): Fix docstring.
774 (tramp-parse-group, tramp-parse-file)
775 (tramp-parse-shostkeys-sknownhosts): New defuns.
776 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
777 (tramp-parse-shosts-group, tramp-parse-sconfig)
778 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
779 (tramp-parse-sknownhosts, tramp-parse-hosts)
780 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
781 Use them.
782 (tramp-parse-passwd-group, tramp-parse-netrc-group)
783 (tramp-parse-putty-group): Don't narrow.
784 (tramp-parse-putty): Make a loop.
785 (tramp-file-name-handler): Catch the `suppress' signal.
786
72834e10
CY
7872012-06-11 Chong Yidong <cyd@gnu.org>
788
789 * image.el (imagemagick-register-types): Put the ImageMagick entry
790 at the end of image-type-file-name-regexps.
791
a4712e11
JB
7922012-06-11 Johan Bockgård <bojohan@gnu.org>
793
794 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
795 (pcase, pcase-let*, pcase-dolist): Use them.
796
82ad98e3
SM
7972012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * emacs-lisp/pcase.el (pcase--let*): New function.
800 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
801 (pcase--expand): Use macroexp-let².
802
f80efb86
SM
8032012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
806 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
807 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
808 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
809 * emacs-lisp/derived.el: Use pcase instead of `cl'.
810 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
811
31ca4639 8122012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 813
31ca4639
CY
814 * mail/rmail.el (rmail-yank-current-message): Leave point at
815 correct position. (Bug#11660)
94f0aa34 816
31ca4639 8172012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 818
31ca4639 819 * allout-widgets.el: Fix code header.
9e1b8ec4 820
31ca4639 8212012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 822
f80efb86
SM
823 * cus-edit.el (customize-changed-options-previous-release):
824 Bump to 24.1.
31ca4639 825
642b6d30
AS
8262012-06-09 Andreas Schwab <schwab@linux-m68k.org>
827
828 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
829
4f5d2ba1
CY
8302012-06-09 Chong Yidong <cyd@gnu.org>
831
832 * ebuff-menu.el (electric-buffer-list): Preserve header line.
833
e75852fd
MR
8342012-06-09 Martin Rudalics <rudalics@gmx.at>
835
836 * window.el (special-display-popup-frame): Don't use
837 window--display-buffer (Bug#11651).
838
1e48e282
EZ
8392012-06-09 Eli Zaretskii <eliz@gnu.org>
840
8a26b487
EZ
841 Fix parallel builds: make sure loaddefs.el is not being written
842 while Lisp files are compiled.
843 (compile): Don't depend on 'mh-autoloads'.
844 (compile-CMD, compile-SH): Depend on 'autoloads'.
845 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
846
1e48e282
EZ
847 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
848
6175e34b
CY
8492012-06-09 Chong Yidong <cyd@gnu.org>
850
851 * face-remap.el (face-remap-add-relative, face-remap-set-base)
852 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
853 Doc fixes (Bug#11225).
854
d9857e53
SM
8552012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
858 a function if there's a clear indication that it has a compiler-macro.
859 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
860 (macro-declarations-alist): Add arglist to declaration functions.
861 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
862 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
863 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
864 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
865 Also add autoload to find the compiler macro.
866 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
867 (cl--compiler-macro-member, cl--compiler-macro-assoc)
868 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
869 (cl--compiler-macro-get): New functions, replacing calls to
870 cl-define-compiler-macro.
871 (cl-typep) [compiler-macro]: Use macroexp-let².
872
f81298f8 8732012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
874
875 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
876 string properly, fixes Bug#11473.
877
4b56d0fe
CY
8782012-06-08 Chong Yidong <cyd@gnu.org>
879
880 * faces.el (set-face-attribute): Doc fix.
881 (modify-face): Don't use :bold and :italic.
882 (error, warning, success): Tweak definitions.
883
884 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
885 (custom-modified, custom-set, custom-changed, custom-themed)
886 (custom-saved, custom-button, custom-button-mouse)
887 (custom-button-pressed, custom-state, custom-comment-tag)
888 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
889 (custom-group-subtitle): Use new-style face specs.
890 (custom-invalid-face, custom-rogue-face, custom-modified-face)
891 (custom-set-face, custom-changed-face, custom-saved-face)
892 (custom-button-face, custom-button-pressed-face)
893 (custom-documentation-face, custom-state-face)
894 (custom-comment-face, custom-comment-tag-face)
895 (custom-variable-tag-face, custom-variable-button-face)
896 (custom-face-tag-face, custom-group-tag-face-1)
897 (custom-group-tag-face): Remove obsolete face alias.
898
899 * epa.el (epa-validity-high, epa-validity-medium)
900 (epa-validity-low, epa-mark, epa-field-name, epa-string)
901 (epa-field-name, epa-field-body):
902 * font-lock.el (font-lock-comment-face, font-lock-string-face)
903 (font-lock-keyword-face, font-lock-builtin-face)
904 (font-lock-function-name-face, font-lock-variable-name-face)
905 (font-lock-type-face, font-lock-constant-face):
906 * ido.el (ido-first-match, ido-only-match, ido-subdir)
907 (ido-virtual, ido-indicator, ido-incomplete-regexp):
908 * speedbar.el (speedbar-button-face, speedbar-file-face)
909 (speedbar-directory-face, speedbar-tag-face)
910 (speedbar-selected-face, speedbar-highlight-face)
911 (speedbar-separator-face):
912 * whitespace.el (whitespace-newline, whitespace-space)
913 (whitespace-hspace, whitespace-tab, whitespace-trailing)
914 (whitespace-line, whitespace-space-before-tab)
915 (whitespace-space-after-tab, whitespace-indentation)
916 (whitespace-empty):
917 * emulation/cua-base.el (cua-global-mark):
918 * eshell/em-prompt.el (eshell-prompt):
919 * net/newst-plainview.el (newsticker-new-item-face)
920 (newsticker-old-item-face, newsticker-immortal-item-face)
921 (newsticker-obsolete-item-face, newsticker-date-face)
922 (newsticker-statistics-face, newsticker-default-face):
923 * net/newst-reader.el (newsticker-feed-face)
924 (newsticker-extra-face, newsticker-enclosure-face):
925 * net/newst-treeview.el (newsticker-treeview-face)
926 (newsticker-treeview-new-face, newsticker-treeview-old-face)
927 (newsticker-treeview-immortal-face)
928 (newsticker-treeview-obsolete-face)
929 (newsticker-treeview-selection-face):
930 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
931 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
932 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
933 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
934 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
935 (nxml-outline-active-indicator, nxml-outline-ellipsis):
936 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
937 (mpuz-text):
938 * progmodes/vera-mode.el (vera-font-lock-number)
939 (vera-font-lock-function, vera-font-lock-interface):
940 * textmodes/table.el (table-cell): Use new-style face specs, and
941 don't use the old :bold and :italic attributes.
942
943 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
944 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
945 (ebrowse-member-class, ebrowse-progress): Likewise.
946 (ebrowse-tree-mark-face, ebrowse-root-class-face)
947 (ebrowse-file-name-face, ebrowse-default-face)
948 (ebrowse-member-attribute-face, ebrowse-member-class-face)
949 (ebrowse-progress-face): Remove obsolete faces.
950
951 * progmodes/flymake.el (flymake-errline, flymake-warnline):
952 Inherit from error and warning faces respectively.
953
954 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
955 Likewise.
f80efb86
SM
956 (flyspell-incorrect-face, flyspell-duplicate-face):
957 Remove obsolete aliases.
4b56d0fe 958
03310646
MA
9592012-06-08 Michael Albinus <michael.albinus@gmx.de>
960
961 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
962 Avoid infloop.
963
513749ee
SM
9642012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * startup.el (argv, argi): Make lexically scoped.
967 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
968 * emacs-lisp/cl-macs.el: Use lexical-binding.
969 Rename cl-bind-* to cl--bind-*.
970 * files.el: Don't require `cl' since it doesn't use it.
971 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
972
595ef4ad
JB
9732012-06-08 Juanma Barranquero <lekktu@gmail.com>
974
975 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
976 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
977 instead of calling external sort utility.
978 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
979
e9f66fcb
EZ
9802012-06-08 Eli Zaretskii <eliz@gnu.org>
981
982 * descr-text.el (describe-char): Mention how to insert the
983 character, if the current input method doesn't support it.
984 See the discussion in this thread for the details:
985 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
986
3d10db47
SS
9872012-06-08 Sam Steingold <sds@gnu.org>
988
989 * bindings.el (global-map): Bind XF86Forward to next-buffer and
990 XF86Back to previous-buffer.
991 (minibuffer-local-map): Bind them to next-history-element and
992 previous-history-element respectively.
993 * help-mode.el (help-mode-map): Bind them to help-go-forward and
994 help-go-back respectively.
995 * info.el (Info-mode-map): Bind them to Info-history-forward and
996 Info-history-back respectively.
997 These are the keys next to Up on the ThinkPad keyboard.
998
de7e2b36
SM
9992012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1002 * emacs-lisp/cl-macs.el: Provide itself.
1003 (cl--labels-convert-cache): New var.
1004 (cl--labels-convert): New function.
1005 (cl-flet, cl-labels): New implementation with new semantics, relying on
1006 lexical-binding.
1007 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1008 (cl-closure-vars, cl--function-convert-cache)
1009 (cl--function-convert): Move from cl-macs.el.
1010 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1011 rename by removing the "cl-" prefix.
1012 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1013
6fa6c4ae
SM
10142012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1017 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1018 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1019 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1020 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1021 (cl-hash-table-count): Add old compatibility aliases.
1022
1023 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1024 Use macroexpand-all-environment instead.
1025 (cl--old-macroexpand): New var.
1026 (cl--sm-macroexpand): New function.
1027 (cl-symbol-macrolet): Use it during macro expansion.
1028 (cl--function-convert-cache): New var.
1029 (cl--function-convert): New function, extracted from
1030 cl-macroexpand-all.
1031 (cl-lexical-let): Use it.
1032
1033 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1034 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1035 (cl-member): Remove old alias.
1036
1037 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1038 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1039 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1040 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1041 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1042 (cl-macroexpand-cmacs): Remove var.
1043 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1044 Use macroexpand-all instead.
1045
4dd1c416
SM
10462012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1049 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1050 (macroexp-copyable-p): New functions and macros.
1051 * emacs-lisp/edebug.el (edebug-unwrap):
1052 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1053 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1054 (pcase--let*): Remove.
1055 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1056 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1057 macroexp-const-p instead.
1058 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1059
1060 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1061 instead of "cl-" for internal definitions. Use macroexp-const-p.
1062 (cl-old-bc-file-form): Remove var.
1063 (cl-const-exprs-p): Remove fun.
1064 (cl-labels, cl-macrolet): Use backquote.
1065 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1066 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1067 (cl-define-setf-expander): Rename from cl-define-setf-method.
1068 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1069
1070 * international/mule-cmds.el: Don't require CL.
1071 (view-hello-file): Don't use `letf'.
1072
ed8bd4d7
SM
10732012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1074
7287f2f3
SM
1075 * tmm.el (tmm-prompt): Use string-prefix-p.
1076 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1077 (tmm-add-prompt): Use minibuffer-completion-help.
1078 (tmm-delete-map): Remove.
1079
ed8bd4d7
SM
1080 * subr.el (kbd): Make it its own function.
1081
7b4cdbf4
SM
10822012-06-07 Stefan Merten <smerten@oekonux.de>
1083
1084 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1085 Silence compiler warnings. Fix versions.
ed8bd4d7 1086 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1087 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1088 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1089 (rst-package-emacs-version-alist): Correct Emacs version to
1090 represent major merge with upstream.
ed8bd4d7 1091 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1092
2b48d721
GM
10932012-06-06 Glenn Morris <rgm@gnu.org>
1094
1095 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1096 Only print environment variables if set.
1097
fa779ab0
SM
10982012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1101 (macroexp--cons): Rename from maybe-cons.
1102 (macroexp--accumulate): Rename from macroexp-accumulate.
1103 (macroexp--all-forms): Rename from macroexpand-all-forms.
1104 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1105 (macroexp--expand-all): Rename from macroexpand-all-1.
1106
628299e0
SS
11072012-06-06 Sam Steingold <sds@gnu.org>
1108
1109 * calendar/calendar.el (calendar-in-read-only-buffer):
1110 Call `special-mode' to enable the standard read-only keybindings.
1111
b7bb5838
SM
11122012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1115 with "loading" messages (bug#11635).
1116
dfb308ba
MA
11172012-06-06 Michael Albinus <michael.albinus@gmx.de>
1118
1119 * files.el (enable-remote-dir-locals): New option.
1120 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1121
0372ee92
MA
1122 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1123 Ensure, that the temp directory is local.
1124
1125 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1126 `temporary-file-directory'.
1127
eed0bb91
MA
1128 * progmodes/python.el (python-send-region): Ensure, that the
1129 temporary file is created also in the remote case.
1130
7a58f64d
GM
11312012-06-06 Glenn Morris <rgm@gnu.org>
1132
f7dd4e98
GM
1133 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1134 (vc-rcs-update-changelog): Use it.
1135
276d5f5d
GM
1136 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1137
7a58f64d
GM
1138 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1139 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1140 (vc-sccs-diff): Replace use of the external vcdiff script.
1141
daed4003
GM
11422012-06-05 Glenn Morris <rgm@gnu.org>
1143
1144 * ledit.el: Move to obsolete/.
1145
48c455c7
SS
11462012-06-05 Sam Steingold <sds@gnu.org>
1147
1148 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1149 patch (Bug#11140).
1150
57a7d507
SM
11512012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1152
d32926ff
SM
1153 * emacs-list/cust-print.el: Move to obsolete.
1154
53aacf21
SM
1155 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1156 compiler-macro expansion.
1157
57a7d507
SM
1158 Add native compiler-macro support.
1159 * emacs-lisp/macroexp.el (macroexpand-all-1):
1160 Support compiler-macros directly. Properly follow aliases and apply
1161 the compiler macros more thoroughly.
1162 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1163 macroexpand now properly follows aliases.
1164 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1165 (cl-compiler-macroexpand): Use new prop.
1166 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1167
1168 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1169
51a5f9d8
MR
11702012-06-05 Martin Rudalics <rudalics@gmx.at>
1171
1172 * window.el (get-lru-window, get-mru-window, get-largest-window):
1173 New argument NOT-SELECTED to avoid picking the selected window.
1174 (window--display-buffer-1, window--display-buffer-2): Replace by
1175 new function window--display-buffer
1176 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1177 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1178 Use window--display-buffer.
51a5f9d8
MR
1179 (display-buffer-use-some-window): Remove temporary dedication
1180 hack by calling get-lru-window and get-largest-window with
1181 NOT-SELECTED argument non-nil. Call window--display-buffer.
1182
08f9f738
GM
11832012-06-05 Glenn Morris <rgm@gnu.org>
1184
1185 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1186 Replace external vcdiff script.
1187
e364a2b7
SM
11882012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1189
1190 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1191
041df390
CY
11922012-06-04 Chong Yidong <cyd@gnu.org>
1193
e364a2b7
SM
1194 * image.el (imagemagick-types-inhibit): Revert last change.
1195 Add INFO and M.
47b36b94 1196 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1197
7c1898a7
SM
11982012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * emacs-lisp/cl-lib.el: Rename from cl.el.
1201 * emacs-lisp/cl.el: New compatibility file.
1202 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1203 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1204 to obey the "cl-" prefix.
1205 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1206
0c3461de
GM
12072012-06-03 Glenn Morris <rgm@gnu.org>
1208
1e266c88
GM
1209 * emacs-lisp/authors.el (authors-aliases): Addition.
1210
0c3461de
GM
1211 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1212 Fix :version.
1213
d8a52e15
SM
12142012-06-03 Stefan Merten <smerten@oekonux.de>
1215
1216 * textmodes/rst.el: Add comments.
1217 (rst-transition, rst-adornment): New faces.
1218 (rst-adornment-faces-alist): Make default safe to reevaluate.
1219 Fixes
1220 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1221 Improve customization tags.
1222 (rst-define-level-faces): Clarify meaning.
1223
5205d6f6
CY
12242012-06-03 Chong Yidong <cyd@gnu.org>
1225
1226 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1227 (compilation-mode-line-run, compilation-mode-line-exit):
1228 New faces.
5205d6f6
CY
1229 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1230
757ee657
JD
12312012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1232
7c1898a7
SM
1233 * progmodes/which-func.el (which-func-update-ediff-windows):
1234 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1235
5f2c76c6
CY
12362012-06-03 Chong Yidong <cyd@gnu.org>
1237
1238 * bindings.el: Remove explicit help text from format-mode-line.
1239 It is now supplied by mode-line-default-help-echo.
1240 (mode-line-front-space, mode-line-end-spaces)
1241 (mode-line-misc-info): New variables.
1242 (mode-line-modes, mode-line-position): Move the default value to
1243 the variable definition.
1244 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1245 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1246 (mode-line-modified-help-echo): New functions.
1247 (mode-line-mule-info, mode-line-modified): Use them.
1248 (mode-line-eol-desc, propertized-buffer-identification):
1249 Consistency fixes for help text.
cbe46e5f
CY
1250 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1251 set-buffer-file-coding-system (Bug#289).
1252 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1253
f2d6a3df
SM
12542012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * simple.el (execute-extended-command): Set real-this-command
1257 (bug#11506).
1258
37269466
CY
12592012-06-02 Chong Yidong <cyd@gnu.org>
1260
1261 Remove incorrect uses of "modeline" in comments, docstrings, and
1262 function/variable names (Bug#10329).
1263
1264 * cus-edit.el (mode-line):
1265 * dframe.el (dframe-mouse-hscroll):
1266 * emacs-lisp/re-builder.el:
1267 * emacs-lisp/easy-mmode.el (define-minor-mode):
1268 * frame.el (set-frame-name):
1269 * help.el (lookup-minor-mode-from-indicator):
1270 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1271 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1272 (c-toggle-hungry-state):
1273 * progmodes/antlr-mode.el (antlr-language-alist):
1274 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1275 * progmodes/vhdl-mode.el (vhdl-mode):
1276 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1277 * term/ns-win.el (ns-face-at-pos):
1278 * term/sup-mouse.el (sup-mouse-report):
1279 * textmodes/flyspell.el (flyspell-mode-line-string):
1280 * textmodes/ispell.el (ispell-highlight-face):
1281 * textmodes/reftex-global.el:
1282 * vc/vc-arch.el (vc-arch-mode-line-string):
1283 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1284 * vc/vc-git.el (vc-git-mode-line-string):
1285 * vc/vc-hooks.el (vc-display-status)
1286 (vc-default-mode-line-string):
1287 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1288
1289 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1290
1291 * dired.el (dired-sort-set-mode-line): Rename from
1292 dired-sort-set-modeline. All callers changed.
1293
1294 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1295 eshell-status-in-modeline.
1296
1297 * foldout.el (foldout-mode-line-string): Rename from
1298 foldout-modeline-string. All callers changed.
1299 (foldout-update-mode-line): Rename from foldout-update-modeline.
1300
1301 * subr.el (redraw-modeline): Make into obsolete alias.
1302
1303 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1304 timeclock-modeline-display. Make old name an alias.
1305 (timeclock-update-mode-line): Likewise. All callers changed.
1306 (timeclock-mode-line-display): No need to check before using
1307 add-hook.
1308 (timeclock-relative, timeclock-day-over-hook)
1309 (timeclock-use-elapsed, timeclock-mode-string)
1310 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1311
1312 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1313 crisp-mode-modeline-string.
1314
1315 * play/solitaire.el (solitaire-build-mode-line): Rename from
1316 solitaire-build-modeline. All callers changed.
1317
1318 * play/zone.el (zone-hiding-mode-line): Rename from
1319 zone-hiding-modeline. All callers changed.
1320 (zone): Remove unusued `modeline-hidden-level' property.
1321
1322 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1323 xscheme-modeline-initialize. All callers changed.
1324
1325 * strokes.el (strokes-lighter): Rename from
1326 strokes-modeline-string.
1327
1328 * textmodes/sgml-mode.el (html-face-tag-alist)
1329 (html-tag-face-alist): Use mode-line face instead of obsolete
1330 alias modeline.
1331
42152ee4
SM
13322012-06-02 Stefan Merten <smerten@oekonux.de>
1333
1334 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1335 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1336
95f520b5
CY
13372012-06-02 Chong Yidong <cyd@gnu.org>
1338
1339 * image.el (imagemagick-enabled-types): Rename from
1340 imagemagick-types-enable. Add many more types.
1341 (imagemagick-types-inhibit): Change default to nil.
1342 (imagemagick-filter-types): Caller changed.
1343
4a5f187a
SM
13442012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1345
03fef3e6
SM
1346 * emacs-lisp/cl-macs.el: Use backquotes.
1347 (cl-transform-function-property): Use eval-and-compile rather than
1348 abusing `require'.
1349 (defstruct): Use declare-function instead of with-no-warnings.
1350
4a5f187a
SM
1351 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1352 (byte-compile-output-docform): Re-add the print-circle bindings.
1353 (byte-compile-fix-header): Use #$ just because it's shorter.
1354 (byte-compile-output-file-form): Remove defun/defmacro.
1355
bd56924f
MR
13562012-06-01 Martin Rudalics <rudalics@gmx.at>
1357
1358 * simple.el (choose-completion): Remove now obsolete binding for
1359 owindow.
1360
046e38ce
MA
13612012-06-01 Michael Albinus <michael.albinus@gmx.de>
1362
1363 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1364 in order to avoid "Stack overflow in regexp matcher".
1365
32d72c2f
GM
13662012-05-31 Glenn Morris <rgm@gnu.org>
1367
1368 * image.el: For clarity, call imagemagick-register-types at
1369 top-level, rather than relying on a custom :initialize.
1370 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1371 (imagemagick-filter-types): New function. (Bug#7406)
1372 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1373 If disabling support, remove elements altogether rather
1374 than using an impossible regexp.
1375 (imagemagick-types-inhibit): Give it the default init function.
1376
dd41169b
SM
13772012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1378
4a5f187a
SM
1379 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1380 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1381
efc00ab1 13822012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1383
1384 * desktop.el (desktop-read): Clear previous and next buffers for
1385 all windows and bury *Messages* buffer (bug#11556).
1386
500fcedc
SM
13872012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1388
1389 Add `declare' for `defun'. Align `defmacro's with it.
1390 * emacs-lisp/easy-mmode.el (define-minor-mode)
1391 (define-globalized-minor-mode): Don't autoload the var definitions.
1392 * emacs-lisp/byte-run.el: Use lexical-binding.
1393 (defun-declarations-alist, macro-declarations-alist): New vars.
1394 (defmacro, defun): Use them.
1395 (make-obsolete, define-obsolete-function-alias)
1396 (make-obsolete-variable, define-obsolete-variable-alias):
1397 Use `declare'.
1398 (macro-declaration-function): Mark obsolete.
1399 * emacs-lisp/autoload.el: Use lexical-binding.
1400 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1401
6e8a1786
AM
14022012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1403
1404 * textmodes/ispell.el (ispell-with-no-warnings):
1405 Define as a macro.
500fcedc
SM
1406 (ispell-kill-ispell, ispell-change-dictionary):
1407 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1408 `interactive-p'.
1409
61b108cc
SM
14102012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1411
1412 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1413 (macro-declaration-function): Move var from C code.
1414 (macro-declaration-function): Define function with defalias.
1415 * emacs-lisp/macroexp.el (macroexpand-all-1):
1416 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1417 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1418 defun/defmacro any more.
1419 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1420 Provide fallback for unknown arglist.
1421 (byte-compile-arglist-warn): Change calling convention.
1422 (byte-compile-output-file-form): Move print-vars binding.
1423 (byte-compile-output-docform): Simplify accordingly.
1424 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1425 (byte-compile-defmacro-declaration): Remove.
1426 (byte-compile-file-form-defmumble): Generalize to defalias.
1427 (byte-compile-output-as-comment): Return byte-positions.
1428 Simplify callers accordingly.
1429 (byte-compile-lambda): Use `assert'.
1430 (byte-compile-defun, byte-compile-defmacro): Remove.
1431 (byte-compile-file-form-defalias):
1432 Use byte-compile-file-form-defmumble.
1433 (byte-compile-defalias-warn): Remove.
1434
6d3f7c2f
SM
14352012-05-29 Stefan Merten <smerten@oekonux.de>
1436
1437 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1438 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1439
1440 (rst-mode-abbrev-table): Merge definition.
1441 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1442 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1443
6dbaa1c7
UJ
14442012-05-29 Ulf Jasper <ulf.jasper@web.de>
1445
1446 * calendar/icalendar.el
1447 (icalendar-export-region): Export UID properly.
1448
14492012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1450 * calendar/icalendar.el (icalendar-import-format):
1451 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1452 (icalendar-import-format-uid): New.
1453 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1454 Export UID.
1455
6876a58d
SM
14562012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1459 different alternative patterns.
1460 (pcase-codegen): Be more careful to preserve identity.
1461 (pcase--u1): Don't forget to mark vars as used.
1462
1463 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1464 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1465 (byte-compile-from-buffer): ...rather than here.
1466
1467 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1468 functions from byte-compile-function-environment.
1469
46b7967e
TN
14702012-05-29 Troels Nielsen <bn.troels@gmail.com>
1471
1472 * window.el (window-deletable-p): Avoid deleting the root window
1473 of a frame with an active minibuffer.
1474
69d565e2
MR
14752012-05-29 Martin Rudalics <rudalics@gmx.at>
1476
1477 * simple.el (choose-completion): Use quit-window (Bug#11567).
1478
a149fa51
CY
14792012-05-29 Chong Yidong <cyd@gnu.org>
1480
1481 * whitespace.el (whitespace-cleanup): Fix usage of
1482 whitespace-empty-at-bob-regexp (Bug#11492).
1483
2b311310
AH
14842012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1485
1486 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1487 revert (Bug#11488).
1488
b9cb2387
JL
14892012-05-29 Juri Linkov <juri@jurta.org>
1490
1491 * isearch.el (isearch-mode-map): Bind `M-s _' to
1492 `isearch-toggle-symbol'. Bind `M-s c' to
1493 `isearch-toggle-case-fold'.
1494 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1495 (isearch-forward): Add `M-s _' to the docstring.
1496 (isearch-forward-symbol, isearch-toggle-case-fold)
1497 (isearch-symbol-regexp): New functions. (Bug#11381)
1498
d5e61c1c
JL
14992012-05-29 Juri Linkov <juri@jurta.org>
1500
1501 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1502 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1503 a function, call it to get the regexp.
1504 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1505 property `isearch-message-prefix' instead of the string "word ".
1506 (isearch-search-fun-default): For the case of `isearch-word',
1507 return a lambda that calls re-search-forward/re-search-backward
1508 with a regexp returned by `word-search-regexp' or by the function
1509 in `isearch-word'.
1510
8cbd80f7
JL
15112012-05-29 Juri Linkov <juri@jurta.org>
1512
1513 * isearch.el (isearch-search-fun-default): New function.
1514 (isearch-search-fun): Move default part to the new function
1515 `isearch-search-fun-default'.
1516 (isearch-search-fun-function): Set the default value to
1517 `isearch-search-fun-default'. (Bug#11381)
1518
1519 * comint.el (comint-history-isearch-end):
1520 Use `isearch-search-fun-default'.
1521 (comint-history-isearch-search): Use `isearch-search-fun-default'
1522 and remove spacial case for `isearch-word'.
1523 (comint-history-isearch-wrap): Remove spacial case for
1524 `isearch-word'.
1525
1526 * hexl.el (hexl-isearch-search-function):
1527 Use `isearch-search-fun-default'.
1528
1529 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1530 Use `word-search-regexp' for `isearch-word'.
1531
1532 * misearch.el (multi-isearch-search-fun):
1533 Use `isearch-search-fun-default'.
1534
1535 * simple.el (minibuffer-history-isearch-search):
1536 Use `isearch-search-fun-default' and remove spacial case for
1537 `isearch-word'.
1538 (minibuffer-history-isearch-wrap): Remove spacial case for
1539 `isearch-word'.
1540
1541 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1542 Remove spacial case for `isearch-word'.
1543 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1544
85c8c5b6
AM
15452012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1546
1547 Decrease XEmacs incompatibilities.
1548 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1549 Use `string-match'.
1550 (flyspell-delete-region-overlays): Use alternative definition for
1551 XEmacs.
1552 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1553 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1554 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1555 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1556 `define-obsolete-face-alias' under XEmacs, but old method.
1557
1558 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1559 `with-no-warnings' definition or Emacs alias.
1560 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1561 (ispell-word): Do not use `region-p' if XEmacs.
1562
8cab9efc
AM
15632012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1564
1565 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1566 Check for `ispell-dictionary-base-alist' instead of full
1567 `ispell-dictionary-alist'.
1568 (ispell-init-process): Show spellchecker when starting new Ispell
1569 process.
1570
fda91268
RZ
15712012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1574 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1575
694ea8e3
JB
15762012-05-27 Juanma Barranquero <lekktu@gmail.com>
1577
1578 * version.el (motif-version-string, gtk-version-string)
1579 (ns-version-string): Declare.
1580
e4d4f539
JL
15812012-05-27 Juri Linkov <juri@jurta.org>
1582
1583 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1584 after the `eval-defun-1' specialcaseing
1585 like in `edebug-eval-defun' (bug#10181).
1586
1587 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1588 like in `eval-defun-1'.
1589
33017faf 15902012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1591
fda91268
RZ
1592 * mail/sendmail.el (mail-yank-region):
1593 Recognize rmail-yank-current-message in addition to insert-buffer.
1594 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1595 a *mail* buffer created through rmail-start-mail with sendmail as
1596 mail-user-agent.
1597
33017faf
GM
15982012-05-27 Chong Yidong <cyd@gnu.org>
1599
1600 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1601 Default to 256 (Bug#11267).
1602
1603 * help.el (describe-mode): Doc fix.
1604
04188bb9
GM
16052012-05-26 Glenn Morris <rgm@gnu.org>
1606
38264cc9
GM
1607 * w32-fns.el (w32-init-info): Remove.
1608 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1609
eb7afdad
GM
1610 * info.el (info-initialize): For self-contained NS builds, put the
1611 included info/ directory at the front. (Bug#2791)
1612
04188bb9
GM
1613 * paths.el (Info-default-directory-list): Make it a defcustom,
1614 mainly so that we can use custom-initialize-delay.
1615
a179e3f7
SM
16162012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1617
43416392
SM
1618 * subr.el (buffer-has-markers-at): Mark obsolete.
1619
a179e3f7 1620 * subr.el (lambda): Use declare.
43416392 1621
a179e3f7
SM
1622 * emacs-lisp/lisp-mode.el (lambda):
1623 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1624
34a008d9
AH
16252012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1626
1627 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1628
0a3b289f
GM
16292012-05-26 Glenn Morris <rgm@gnu.org>
1630
1631 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1632
758c81e8
GM
16332012-05-25 Glenn Morris <rgm@gnu.org>
1634
f9f334f0
GM
1635 * paths.el: Remove no-byte-compile.
1636 * loadup.el: No need to load paths.el uncompiled.
1637
87eb79c2
GM
1638 * image.el (imagemagick-types-inhibit): Doc fix.
1639
758c81e8
GM
1640 * version.el: Remove no-byte-compile and associated formatting.
1641 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1642 is ancient code from when there was an "inc-vers.el".
1643
e7e85dc0
SM
16442012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * progmodes/gdb-mi.el: Minor style changes.
1647 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1648 Turn into minor modes.
1649 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1650 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1651 (gdb-shell): Remove unneeded let-binding.
1652 (gdb-get-many-fields): Eliminate O(n²) behavior.
1653
f31237a4
EZ
16542012-05-25 Eli Zaretskii <eliz@gnu.org>
1655
1656 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1657 platforms that don't link in fontset.c.
1658
bc1b21bb
JL
16592012-05-25 Juri Linkov <juri@jurta.org>
1660
1661 Use the same diff color scheme as in modern VCSes (bug#10181).
1662
1663 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1664 to avoid confusion with `diff-added' that now uses green colors.
1665 (diff-removed): Use shades of red.
1666 (diff-added): Use shades of green.
1667 (diff-changed): Leave just the yellow color.
1668 (diff-use-changed-face): New variable.
1669 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1670 how to highlight context diff changes.
1671 (diff-refine-change): Use shades of yellow.
1672 (diff-refine-removed): New face that uses shades of red.
1673 (diff-refine-added): New face that uses shades of green.
1674 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1675 `diff-refine-removed' in the call to `smerge-refine-subst'
1676 depending on the value of `diff-use-changed-face'.
1677
1678 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1679 (smerge-other): Use shades of green.
1680 (smerge-base): Use shades of yellow.
1681 (smerge-refined-change): Empty face.
1682 (smerge-refined-removed): New face that uses shades of red.
1683 (smerge-refined-added): New face that uses shades of green.
1684 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1685 args `props-r' and `props-a', and use them. Doc fix.
1686 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1687 on its value use different faces `smerge-refined-change',
1688 `smerge-refined-removed', `smerge-refined-added' in the call to
1689 `smerge-refine-subst'.
1690
1691 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1692 Add face condition `min-colors 88' with shades of red.
1693 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1694 `min-colors 88' with shades of green.
1695 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1696 `min-colors 88' with shades of yellow.
1697
6df9112c
GM
16982012-05-24 Glenn Morris <rgm@gnu.org>
1699
ead5edc0
GM
1700 * paths.el (prune-directory-list, remote-shell-program): Move to...
1701 * files.el (prune-directory-list, remote-shell-program): ...here.
1702 For the latter, delay initialization, prefer ssh, just search PATH.
1703
f18b81e6
GM
1704 * paths.el (term-file-prefix): Move to faces.el (the only user).
1705 * faces.el (term-file-prefix): Move here, make it a defcustom.
1706
ee2f89a6
GM
1707 * paths.el (news-directory, news-path, news-inews-program):
1708 Move to gnus/nnspool.el.
61a583ca 1709
f8815e4c
GM
1710 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1711
c8f3b42c
GM
1712 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1713 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1714 Make the latter a defcustom, with a delayed initialization.
1715
6df9112c
GM
1716 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1717 These were deleted from Gnus itself late 2010.
1718
5dadff36
JB
17192012-05-22 Juanma Barranquero <lekktu@gmail.com>
1720
9e1701c6
JB
1721 * progmodes/which-func.el (which-func-ff-hook):
1722 Check against user-error, not error.
1723
bd7239f5 1724 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1725 cl-specs.el, which no longer exists.
1726
3290526d
GM
17272012-05-22 Glenn Morris <rgm@gnu.org>
1728
1729 * info.el (info-emacs-bug): New command.
1730 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1731 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1732
ff0c3cfb
GM
17332012-05-21 Glenn Morris <rgm@gnu.org>
1734
1735 * makefile.w32-in (update-subdirs-SH):
1736 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1737
5814f126
SM
17382012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1739
a52c0aa0
SM
1740 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1741
5814f126
SM
1742 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1743 Simplify Maven regexp, and make sure the file can't start with a space
1744 (bug#11517).
1745
b847032c
GM
17462012-05-21 Glenn Morris <rgm@gnu.org>
1747
1748 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1749 Scrap superfluous subshells.
1750
3858bfe7
SM
17512012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1754 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1755
d14b0029
JB
17562012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1757
1758 * calc/calc.el (calc-ensure-consistent-units): New variable.
1759
a52c0aa0
SM
1760 * calc/calc-units.el (math-consistent-units-p)
1761 (math-check-unit-consistency): New functions.
1762 (calc-quick-units, calc-convert-units):
1763 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1764 is non-nil.
d14b0029
JB
1765 (calc-extract-units): Fix typo.
1766
60c4db3a
SM
17672012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1768
77f3b62e
SM
1769 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1770
60c4db3a
SM
1771 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1772 (flyspell-default-deplacement-commands): Don't spell check after
1773 repeated window/frame switches (e.g. triggered by mouse-movement).
1774 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1775 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1776 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1777 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1778 Remove unused vars.
1779 (flyspell-get-casechars, flyspell-get-not-casechars):
1780 Simplify; Don't bother removing a ] just to add it back.
1781 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1782
b1a10716
RS
17832012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1784
1785 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1786 New functions.
bd7239f5 1787 (math-function-table): Add support for more C functions.
b1a10716 1788
3f1b25b5
AM
17892012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1790
1791 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1792 (flyspell-debug-signal-word-checked): Protect delay handling for
1793 otherchars against empty otherchars.
1794
b581bb5c
SM
17952012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1796
1797 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1798 their respective macro declarations.
1799 * skeleton.el (define-skeleton):
1800 * progmodes/compile.el (define-compilation-mode):
1801 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1802 (define-ibuffer-filter):
1803 * emacs-lisp/generic.el (define-generic-mode):
1804 * emacs-lisp/easy-mmode.el (define-minor-mode)
1805 (define-globalized-minor-mode):
1806 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1807 * emacs-lisp/byte-run.el (defsubst):
1808 * custom.el (deftheme): Add doc-string metadata.
1809
70b8ef8f
SM
18102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1813
b1198e17
SM
18142012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1815
9abdc45d
SM
1816 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1817
b1198e17
SM
1818 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1819 * emacs-lisp/cl-macs.el: Idem.
1820 * emacs-lisp/cl-specs.el: Remove.
1821
4735906a
SM
18222012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 Minor renaming of internal CL functions and variables.
1825 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1826 (cl--position): Rename from cl-position.
1827 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1828 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1829 (cl--random-state): Rename from *random-state*.
1830
ac348012
SM
18312012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1834 parens around the arg list (bug#11499).
1835
a0a79cde
JL
18362012-05-17 Juri Linkov <juri@jurta.org>
1837
1838 * isearch.el (word-search-regexp, word-search-backward)
1839 (word-search-forward, word-search-backward-lax)
1840 (word-search-forward-lax): Move functions from search.c
1841 (bug#10145, bug#11381).
1842
65034a51
AM
18432012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1844
1845 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1846 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1847 normal word components.
1848
1a72a195
SM
18492012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * minibuffer.el (completion--sifn-requote): Fix last change.
1852 (minibuffer-local-must-match-filename-map):
1853 Move define-obsolete-variable-alias before its var.
1854
fdb058c2
SM
18552012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1856
c41045e6
SM
1857 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1858
036dfb8b
SM
1859 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1860 behavior.
1861 (completion--string-equal-p): New function.
1862 (completion--twq-all): Use it to get better assertion failure data.
1863
2473256d
SM
1864 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1865 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1866 (shell--requote-argument): New functions.
1867 (shell-completion-vars): Use them.
1868 (shell--parse-pcomplete-arguments): Rename from
1869 shell-parse-pcomplete-arguments.
1870 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1871 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1872 Obey comint-file-name-quote-list.
1873
fdb058c2
SM
1874 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1875 (smie-indent-keyword): Use it.
1876
51fa99f1
SM
18772012-05-14 Stefan Merten <smerten@oekonux.de>
1878
1879 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1880
e18afed7 18812012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1882
1883 * net/rlogin.el (rlogin-mode-map): Fix last change.
1884
e18afed7 18852012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1886
1887 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1888 the following \r\n using a single `process-send-string', since the
1889 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1890 with two `process-send-string's (Bug#11444).
8633b1f4 1891
e18afed7 18922012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1893
fdb058c2
SM
1894 * shell.el (shell-parse-pcomplete-arguments):
1895 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1896
2d21d7f6
WJ
18972012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1898
e18afed7 1899 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1900 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1901 (image-transform-width, image-transform-fit-width): New functions.
1902 (image-transform-properties): Use them.
1903 (image-transform-check-size): New function.
1904 (image-toggle-display-image): Use it (for testing).
1905 (image-transform-set-rotation): Reduce angle mod 360.
1906 Delete obsolete comment.
1907
7102e6d0
WJ
19082012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1909
1910 * image-mode.el: Fix scaling (bug#11399).
1911 (image-transform-resize): Doc fix.
1912 (image-transform-properties): Default scale is 1 and height should
1913 be an integer.
1914
06bc5e6e
SM
19152012-05-13 Johan Bockgård <bojohan@gnu.org>
1916
1917 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1918 than hard-coding `car', to fix misbehavior when moving forward.
1919
0ae03b6a
CY
19202012-05-13 Chong Yidong <cyd@gnu.org>
1921
1922 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1923 (tabulated-list-entries, tabulated-list-padding)
1924 (tabulated-list-sort-key): Make permanent-local.
1925
1926 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1927 (electric-buffer-list): Put electric buffer menu
1928 command descriptions in this docstring, instead of the docstring
1929 of electric-buffer-menu-mode. Code cleanups.
1930 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1931 Electric-buffer-menu-mode.
1932 (electric-buffer-update-highlight): Minor code cleanup.
1933
205a7391
MA
19342012-05-13 Michael Albinus <michael.albinus@gmx.de>
1935
1936 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1937 (Bug#11447)
1938
e5bd0a28
SM
19392012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 Move define-obsolete-variable-alias before the var's definition.
1942 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1943 * tooltip.el (tooltip-hook):
1944 * textmodes/reftex-toc.el (reftex-toc-map):
1945 * textmodes/reftex-sel.el (reftex-select-label-map)
1946 (reftex-select-bib-map):
1947 * textmodes/reftex-index.el (reftex-index-map)
1948 (reftex-index-phrases-map):
1949 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1950 * progmodes/meta-mode.el (meta-mode-map):
1951 * novice.el (disabled-command-hook):
1952 * loadhist.el (unload-hook-features-list):
1953 * frame.el (blink-cursor):
1954 * files.el (find-file-not-found-hooks, write-file-hooks)
1955 (write-contents-hooks):
1956 * emulation/tpu-edt.el (GOLD-map):
1957 * emacs-lock.el (emacs-lock-from-exiting):
1958 * emacs-lisp/generic.el (generic-font-lock-defaults):
1959 * emacs-lisp/chart.el (chart-map):
1960 * dos-fns.el (register-name-alist):
1961 * dired-x.el (dired-omit-files-p):
1962 * desktop.el (desktop-enable):
1963 * cus-edit.el (custom-mode-hook):
1964 * buff-menu.el (buffer-menu-mode-hook):
1965 * bookmark.el (bookmark-read-annotation-text-func)
1966 (bookmark-exit-hooks):
1967 * allout.el (allout-mode-deactivate-hook)
1968 (allout-exposure-change-hook, allout-structure-added-hook)
1969 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1970 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1971 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1972 comes before the corresponding variable's definition.
1973
ac59c2f6
CY
19742012-05-12 Chong Yidong <cyd@gnu.org>
1975
1976 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1977 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1978 (Buffer-menu-mode-map): Bind it.
1979 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1980
dee6c9a3
SM
19812012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1982
2171cea5
SM
1983 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1984 (prolog-upper-case-string, prolog-lower-case-string)
1985 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1986 (prolog-use-smie, prolog-smie-grammar): New vars.
1987 (prolog-smie-forward-token, prolog-smie-backward-token)
1988 (prolog-smie-rules): New funs.
1989 (prolog-comment-indent): Remove.
1990 (prolog-mode-variables): Use default comment indentation instead.
1991 Setup SMIE.
1992 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1993 (prolog-mode): Don't call them any more.
1994 (prolog-electric-colon, prolog-electric-dash)
1995 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1996
aa0382bd
SM
1997 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1998
dbacb4bd
SM
1999 * minibuffer.el (completion--twq-all): Again, allow case differences.
2000
13bdd94c
SM
2001 * term.el: Move keymap initialization code to be more idiomatic.
2002 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2003 (term-terminal-menu): Move initialization into declaration.
2004 (term-escape-char): Let the user set it in her .emacs.
2005
ff46c759
SM
2006 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2007 Provide SMIE-based indentation (not enabled by default yet).
2008 (sh-mode-map): Don't bind electric keys.
2009 Use electric-pair-mode instead of skeleton-pair.
2010 (sh-assignment-regexp): Fit within 80 columns.
2011 (sh-indent-supported): Specify actual shell name instead of boolean.
2012 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2013 (sh-maybe-here-document): Use it. Make obsolete.
2014 (sh-electric-here-document-mode) New minor mode.
2015 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2016 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2017 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2018 (sh-smie-rc-grammar, sh-use-smie): New vars.
2019 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2020 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2021 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2022 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2023 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2024 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2025 (sh-set-shell): Use smie-setup if requested.
2026
dee6c9a3
SM
2027 * term.el (term-set-escape-char): Properly set term-escape-char.
2028 See http://stackoverflow.com/questions/10524656.
2029
9f9aa044
CY
20302012-05-10 Chong Yidong <cyd@gnu.org>
2031
2032 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2033 Use url-generic-parse-url, and handle host names and Windows
2034 filenames properly.
2035 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2036 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2037 URL schemes to work on.
2038 (ffap--toggle-read-only): New function.
2039 (ffap-read-only, ffap-read-only-other-window)
2040 (ffap-read-only-other-frame): Use it.
2041 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2042 necessary for ffap-url-unwrap-remote.
2043
836d29b3
DA
20442012-05-10 Dave Abrahams <dave@boostpro.com>
2045
2046 * cus-start.el (create-lockfiles): Add it.
2047
00fd78ed
CY
20482012-05-09 Chong Yidong <cyd@gnu.org>
2049
2050 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2051 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2052
666b903b 20532012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2054
2055 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2056
666b903b 20572012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2058
2059 * ansi-color.el (ansi-color-process-output): Check for validity of
2060 comint-last-output-start before using it. This avoids a bad
2061 interaction with gdb-mi's input/output buffer.
2062
666b903b 20632012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2064
2065 * files.el (dir-locals-read-from-file):
2066 Mention dir-locals in any error message.
2067
666b903b 20682012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2069
2070 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2071 package (Bug#11410).
2072
f677562b
CY
2073 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2074 variables into description.
2075
666b903b 20762012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2077
2078 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2079 shell-delimiter-argument-list (bug#11348).
2080 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2081
b499d8d0
JB
20822012-05-09 Juanma Barranquero <lekktu@gmail.com>
2083
8f6b6da8
JB
2084 * textmodes/rst.el: Silence byte-compiler warnings.
2085 (rst-re-alist, rst-reset-section-caches): Move around.
2086 (rst-re): Use `characterp', not `char-valid-p'.
2087 (font-lock-beg, font-lock-end): Declare.
2088
4824146a
JB
2089 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2090 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2091
b499d8d0
JB
2092 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2093
ad89bb83
GM
20942012-05-08 Glenn Morris <rgm@gnu.org>
2095
2096 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2097
8bba5a75
SM
20982012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2099
49ed9c8e
SM
2100 * vc/log-edit.el: Add GNU coding standards highlighting.
2101 (log-edit-font-lock-gnu-style)
2102 (log-edit-font-lock-gnu-keywords): New vars.
2103 (log-edit-font-lock-keywords): New fun.
2104 (log-edit-mode): Don't fold case in font-lock.
2105 (log-edit-font-lock-keywords): Do not assume case-folding.
2106
07d00b56
SM
2107 * imenu.el: Misc cleanup. Make docstrings out of comments.
2108 Use lexical-binding.
2109 (imenu--index-alist, imenu--last-menubar-index-alist)
2110 (imenu-menubar-modified-tick): Use defvar-local.
2111 (imenu--split-menu): Remove unused var.
2112 (imenu--cleanup-seen): Declare as global.
2113 (imenu--cleanup): Use dolist.
2114
8bba5a75
SM
2115 * subr.el (defvar-local): Add debug spec and doc-string position.
2116
5075bdb5
GM
21172012-05-08 Glenn Morris <rgm@gnu.org>
2118
c052c904
GM
2119 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2120 * language/english.el, language/georgian.el, language/greek.el:
2121 * language/japanese.el, language/khmer.el, language/korean.el:
2122 * language/lao.el, language/misc-lang.el, language/romanian.el:
2123 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2124 * language/thai.el, language/utf-8-lang.el:
2125 Remove no-byte-compile setting.
2126
5075bdb5
GM
2127 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2128
06f679a7
AH
21292012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2130
2131 * progmodes/make-mode.el (makefile-browse):
2132 Remove unnecessary interactive. (Bug#11324)
2133
03794570
GM
21342012-05-07 Glenn Morris <rgm@gnu.org>
2135
af8630f4
GM
2136 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2137
03794570
GM
2138 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2139
f0809a9d
SM
21402012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2141
28be5ce7
SM
2142 * loadup.el: Preload newcomment.el.
2143 * newcomment.el: Move autoload-only code to toplevel.
2144
f0809a9d
SM
2145 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2146 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2147 Handle new :right-align column property.
2148 (tabulated-list-print-col): Idem, plus use `display' text-property to
2149 try and preserve alignment for variable pitch fonts.
2150
1241b724
CY
21512012-05-07 Chong Yidong <cyd@gnu.org>
2152
2153 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2154 (tabulated-list-use-header-line): New var.
2155 (tabulated-list-init-header): Use it.
2156 (tabulated-list-print-fake-header): New function.
2157 (tabulated-list-print): Use it.
2158 (tabulated-list-sort-button-map): Add non-header-line commands.
2159 (tabulated-list-init-header): Add column name property to basic
2160 labels as well.
2161 (tabulated-list-col-sort): Handle non-header-line button case.
2162 (tabulated-list--sort-by-column-name): Fix a corner case.
2163
f0809a9d
SM
2164 * buff-menu.el (list-buffers--refresh):
2165 Handle Buffer-menu-use-header-line.
1241b724 2166
e5f9458f
CY
21672012-05-06 Chong Yidong <cyd@gnu.org>
2168
2169 * buff-menu.el: Convert to Tabulated List mode.
2170 (Buffer-menu-buffer+size-width): Make obsolete.
2171 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2172 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2173 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2174 documentation into docstring of buffer-menu.
2175 (Buffer-menu-toggle-files-only): Add an informative message.
2176 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2177 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2178 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2179 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2180 (Buffer-menu-execute, Buffer-menu-select)
2181 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2182 (Buffer-menu-bury): Use Tabulated List machinery.
2183 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2184 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2185 Delete.
e5f9458f
CY
2186 (list-buffers--refresh): New function.
2187 (list-buffers-noselect): Use it.
2188 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2189 (Buffer-menu--pretty-file-name): New helper functions.
2190
2191 * loadup.el: Preload tabulated-list.
2192
2193 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2194 tabulated-list-sort-column.
2195 (tabulated-list-init-header): Add the initial aligning space even
2196 if tabulated-list-padding is zero.
2197
e129292c
CS
21982012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2199
2200 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2201 whose cdr is not a cons cell correctly (bug#11038).
2202
6632d361
CY
22032012-05-06 Chong Yidong <cyd@gnu.org>
2204
e129292c
CS
2205 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2206 Accept additional plist in column descriptors.
6632d361
CY
2207 (tabulated-list-init-header): Obey it.
2208 (tabulated-list-get-entry): New function.
2209 (tabulated-list-put-tag): Use it. Use string-width instead of
2210 length.
2211 (tabulated-list--column-number): New function.
2212 (tabulated-list-print): Use it.
e129292c
CS
2213 (tabulated-list-print-col): New function.
2214 Set `tabulated-list-column-name' property on each column's text.
6632d361 2215 (tabulated-list-print-entry): Use it.
e129292c
CS
2216 (tabulated-list-delete-entry, tabulated-list-set-col):
2217 New functions.
6632d361
CY
2218 (tabulated-list-sort-column): New command (Bug#11337).
2219
3cc99f68
CY
2220 * buff-menu.el (list-buffers): Move C-x C-b binding from
2221 buff-menu.el to bindings.el.
2222
2223 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2224 :advertised-binding feature.
2225
52b61776
TN
22262012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2227
2228 * progmodes/compile.el (compilation-internal-error-properties):
2229 Calculate start position correctly when end-col is set but
2230 end-line is not (Bug#11382).
2231
ebfe2597
WJ
22322012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2233
2234 * man.el (Man-unindent): Use text-property-default-nonsticky to
2235 prevent untabify from inheriting face properties (Bug#11408).
2236
6d3f7c2f
SM
22372012-05-05 Stefan Merten <smerten@oekonux.de>
2238
2239 * textmodes/rst.el: Major merge with upstream development up to
2240 Docutils SVN r7399 / rst.el V1.2.1.
2241
2242 Clarify maintainership and authors.
2243
2244 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2245 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2246 (rst-official-version, rst-official-cvs-rev, rst-version)
2247 (rst-package-emacs-version-alist): New functions and variables
2248 for version information.
2249
2250 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2251 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2252 (rst-mode-syntax-table, rst-mode): New and corrected functions
2253 and variables representing reStructuredText features.
2254
2255 (rst-re): New function for reStructuredText regexes. Use in
2256 many places.
2257
2258 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2259 (rst-mode-map): Rebind keys.
2260
2261 (rst-mode-lazy, rst-font-lock-keywords)
2262 (rst-font-lock-extend-region)
2263 (rst-font-lock-extend-region-internal)
2264 (rst-font-lock-extend-region-extend)
2265 (rst-font-lock-find-unindented-line-limit)
2266 (rst-font-lock-find-unindented-line-match)
2267 (rst-adornment-level, rst-font-lock-adornment-level)
2268 (rst-font-lock-adornment-match)
2269 (rst-font-lock-handle-adornment-pre-match-form)
2270 (rst-font-lock-handle-adornment-matcher): Major revision of
2271 font-locking. Integrate with other code. Use `jit-lock-mode'.
2272
2273 (rst-preferred-adornments, rst-adjust-hook)
2274 (rst-new-adornment-down, rst-preferred-bullets)
2275 (rst-preferred-bullets, rst-indent, rst-indent-width)
2276 (rst-indent-field, rst-indent-literal-normal)
2277 (rst-indent-literal-minimized, rst-indent-comment): Change,
2278 extend and improve customization.
2279
2280 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2281 (rst-normalize-cursor-position, rst-get-decoration)
2282 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2283 (rst-rstrip, rst-toc-insert-find-delete-contents)
2284 (rst-shift-fill-region, rst-compute-bullet-tabs)
2285 (rst-debug-print-tabs, rst-debug-mark-found)
2286 (rst-shift-region-guts, rst-shift-region-right)
2287 (rst-shift-region-left, rst-use-char-classes)
2288 (rst-font-lock-keywords-function)
2289 (rst-font-lock-indentation-point)
2290 (rst-font-lock-find-unindented-line-begin)
2291 (rst-font-lock-find-unindented-line-end)
2292 (rst-font-lock-find-unindented-line)
2293 (rst-font-lock-adornment-point, rst-font-lock-level)
2294 (rst-adornment-level-alist): Remove functions and variables.
2295
2296 (rst-compare-adornments, rst-get-adornment-match)
2297 (rst-suggest-new-adornment, rst-get-adornments-around)
2298 (rst-adornment-complete-p, rst-get-next-adornment)
2299 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2300 (rst-straighten-adornments): Standardize function names to
2301 use "adornment" instead of "decoration". Correct callers.
2302 Similar standardizing in many places.
2303
2304 (rst-update-section, rst-adjust, rst-promote-region)
2305 (rst-enumerate-region, rst-bullet-list-region)
2306 (rst-repeat-last-character): Correct use of `interactive'.
2307
2308 (rst-classify-adornment, rst-find-all-adornments)
2309 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2310 (rst-find-leftmost-column, rst-repeat-last-character):
2311 Refactor functions.
2312
2313 (rst-find-title-line, rst-reset-section-caches)
2314 (rst-get-adornments-around, rst-adjust-adornment-work)
2315 (rst-arabic-to-roman, rst-roman-to-arabic)
2316 (rst-insert-list-pos, rst-insert-list-new-item)
2317 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2318 New functions.
2319
2320 (rst-all-sections, rst-section-hierarchy)
2321 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2322 New variables.
2323
2324 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2325 configuration instead of only buffer. Change where necessary.
2326
2327 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2328 (rst-shift-region, rst-adaptive-fill): New functions for
2329 indentation and filling.
2330
2331 (rst-comment-line-break, rst-comment-indent)
2332 (rst-comment-insert-comment, rst-comment-region)
2333 (rst-uncomment-region): New functions for handling comments.
2334
2335 (rst-compile): Quote shell arguments.
2336
2337 (rst-compile-pdf-preview, rst-compile-slides-preview):
2338 Delete temporary files after use.
2339
a43f98b3
GM
23402012-05-05 Glenn Morris <rgm@gnu.org>
2341
48176e8b
GM
2342 * calendar/cal-html.el: Optionally include holidays in the output.
2343 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2344 (cal-html-holidays): New option.
2345 (cal-html-css-default): Add holiday entry.
2346 (holiday-in-range): Autoload it.
2347 (cal-html-htmlify-entry): Add optional class argument.
2348 (cal-html-htmlify-list): Add optional holidays argument.
2349 (cal-html-insert-agenda-days): Include holidays in the output.
2350 (cal-html-one-month): Maybe include holidays.
2351
a43f98b3
GM
2352 * calendar/holidays.el (holiday-in-range):
2353 Move here from cal-tex-list-holidays.
2354 * calendar/cal-tex.el (cal-tex-list-holidays):
2355 Make it an obsolete alias for holiday-in-range. Update all callers.
2356
fef9d149 23572012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2358
2359 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2360 Nextstep.
2361
248da2f4
RW
23622012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2363
2364 * files.el (file-auto-mode-skip): New var.
2365 (set-auto-mode-1): Use it.
2366
f95e9344
SM
23672012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2368
df96ab1e
SM
2369 * repeat.el: Use lexical-binding.
2370 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2371 (repeat-undo-count): Remove.
2372 (repeat):
2373 * progmodes/octave-mod.el (octave-abbrev-start):
2374 * progmodes/f90.el (f90-abbrev-start):
2375 * face-remap.el (text-scale-adjust):
2376 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2377
5342bb06
SM
2378 * emacs-lisp/pcase.el (pcase--let*): New function.
2379 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2380 a bit more.
2381 (pcase--split-pred): Be more clever about ruling out overlap between
2382 a predicate and some constant pattern.
2383 (pcase--q1): Use `null' instead of (eq foo nil).
2384
f95e9344
SM
2385 * subr.el (setq-local, defvar-local): New macros.
2386 (kbd): Redefine as an alias.
2387 (with-selected-window): Leave unrelated frames alone.
2388 (set-temporary-overlay-map): New function.
2389
71873e2b
SM
23902012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2391
2392 * subr.el (user-error): New function.
2393 * window.el (switch-to-buffer):
2394 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2395 (smerge-match-conflict):
2396 * simple.el (previous-matching-history-element)
2397 (next-matching-history-element, goto-history-element, undo-more)
2398 (undo-start):
2399 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2400 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2401 (next-file, tags-loop-scan, list-tags, complete-tag):
2402 * progmodes/compile.el (compilation-loop):
2403 * mouse.el (mouse-minibuffer-check):
2404 * man.el (Man-bgproc-sentinel, Man-goto-page):
2405 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2406 (Info-history-forward, Info-follow-reference, Info-menu)
2407 (Info-extract-menu-item, Info-extract-menu-counting)
2408 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2409 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2410 (Info-next-reference, Info-prev-reference, Info-index)
2411 (Info-index-next, Info-follow-nearest-node)
2412 (Info-copy-current-node-name):
2413 * imenu.el (imenu--make-index-alist)
2414 (imenu-default-create-index-function, imenu-add-to-menubar):
2415 * files.el (basic-save-buffer, recover-file):
2416 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2417 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2418 (checkdoc-message-text, checkdoc-defun):
2419 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2420 * cus-edit.el (customize-changed-options, customize-rogue)
2421 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2422 (custom-variable-mark-to-reset-standard)
2423 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2424 (custom-file):
2425 * completion.el (check-completion-length):
2426 * comint.el (comint-search-arg)
2427 (comint-previous-matching-input-string-position)
2428 (comint-previous-matching-input)
2429 (comint-replace-by-expanded-history-before-point, comint-send-input)
2430 (comint-copy-old-input, comint-backward-matching-input)
2431 (comint-goto-process-mark, comint-set-process-mark):
2432 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2433 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2434
8a61ee22
SM
24352012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2436
66408d1e
SM
2437 * dabbrev.el (dabbrev--ignore-case-p): New function.
2438 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2439 Use it.
2440
8a61ee22
SM
2441 * files.el (automount-dir-prefix): Mark as obsolete.
2442
3c74813a
GM
24432012-05-04 Glenn Morris <rgm@gnu.org>
2444
2445 * patcomp.el, play/bruce.el: Move to obsolete/.
2446
0bfcf5c5
PE
24472012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2448
2449 Fix minor Y10k bugs.
2450 * arc-mode.el (archive-unixdate):
2451 * autoinsert.el (auto-insert-alist):
2452 * calc/calc-forms.el (math-this-year):
2453 * emacs-lisp/copyright.el (copyright-current-year)
2454 (copyright-update-year, copyright):
2455 * tar-mode.el (tar-clip-time-string):
2456 * time.el (display-time-update):
2457 Don't assume years have 4 digits.
2458
78f3273a
CY
24592012-05-04 Chong Yidong <cyd@gnu.org>
2460
2461 * dos-w32.el (file-name-buffer-file-type-alist)
2462 (direct-print-region-use-command-dot-com):
2463 * ffap.el (ffap-menu-regexp):
2464 * find-file.el (ff-special-constructs):
2465 * follow.el (follow-debug):
2466 * forms.el (forms--debug):
2467 * iswitchb.el (iswitchb-all-frames):
2468 * ido.el (ido-all-frames):
2469 * emacs-lisp/timer.el (timer-max-repeats):
2470 * mail/feedmail.el (feedmail-mail-send-hook)
2471 (feedmail-mail-send-hook-queued):
2472 * mail/footnote.el (footnote-signature-separator):
2473 * mail/mailabbrev.el (mail-alias-separator-string)
2474 (mail-abbrev-mode-regexp):
2475 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2476 * progmodes/idlwave.el (idlwave-libinfo-file)
2477 (idlwave-default-completion-case-is-down)
2478 (idlwave-library-routines): Convert defvars to defcustoms.
2479
2480 * mail/rmail.el (rmail-decode-mime-charset):
2481 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2482 (idlwave-shell-fix-inserted-breaks)
2483 (idlwave-shell-activate-alt-keybindings)
2484 (idlwave-shell-use-breakpoint-glyph):
2485 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2486
f7ae6719
SM
24872012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2490
47086495
WS
24912012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2492
2493 * progmodes/verilog-mode.el (font-lock-keywords):
2494 Fix mis-highligting auto. Reported by Craig Barner.
2495 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2496 defines from global name space. Reported by Dan Dever.
2497 (verilog-auto-reset, verilog-auto-reset-widths)
2498 (verilog-auto-tieoff): Support using unbased numbers for
2499 AUTORESET and AUTOTIEOFF.
2500 (verilog-submit-bug-report): Update variable list.
2501 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2502 parenthesis from not matching. Reported by Michael Rytting.
2503 (verilog-auto-template-lint): Fix hash error when linting modules
2504 with no used templates.
2505 (verilog-warn, verilog-warn-error)
2506 (verilog-warn-fatal): When non-interactive report multiple
2507 warnings before exiting. Suggested by Brad Dobbie.
2508 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2509 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2510 to report unused template errors. Reported by Brad Dobbie.
2511 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2512 nets, bug438. Reported by Vns Blore.
2513 (verilog-auto-inout-module, verilog-auto-reg)
2514 (verilog-read-decls, verilog-read-sub-decls-sig)
2515 (verilog-signals-edit-wire-reg, verilog-signals-with):
2516 Fix passing of Verilog data types in ANSI input/output ports
2517 such as "output logic" into the AUTOs. Special case "wire" and
2518 "reg" for backwards compatibility presuming Verilog 2001.
2519 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2520 (verilog-preprocess): Fix replication of preprocess output.
2521 Reported by Brad Dobbie.
2522 (verilog-auto-inst-interfaced-ports):
2523 Create verilog-auto-inst-interfaced-ports, bug429.
2524 Reported by Julian Gorfajn.
2525 (verilog-after-save-font-hook)
2526 (verilog-before-save-font-hook): New variable.
2527 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2528 (verilog-save-font-mods): Wrap disabling fontification, reported
2529 by David Rogoff.
2530 (verilog-do-indent, verilog-pretty-declarations-auto)
2531 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2532 Reported by Pierre-David Pfister.
2533 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2534 of class declarations, bug292. Reported by Kevin Heilman.
2535 (verilog-read-decls): Fix 'parameter type' not appearing in
2536 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2537 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2538 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2539 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2540 Reported by David Kravitz.
2541
25422012-05-03 Michael McNamara <mac@mail.brushroad.com>
2543
2544 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2545 assignment with tests in ifs and for loops.
2546 (verilog-extended-complete-re, verilog-complete-reg): Change so
2547 that DPI inport functions don't look like fuction declarations.
2548 (verilog-pretty-expr): Don't line up assignment
2549 operations to the test and increment in if and for loops
2550 (verilog-extended-complete-re, verilog-complete-reg): Change so
2551 that DPI inport functions don't look like fuction declarations
2552
2e51d4b5
KH
25532012-05-03 Kenichi Handa <handa@m17n.org>
2554
2555 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2556 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2557 (Bug#11282).
2558
2bd785a2
SM
25592012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * emacs-lisp/bytecomp.el
2562 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2563 since cconv.el might have introduced :fun-body, internal-make-closure,
2564 and friends for bytecomp to handle (bug#11391).
2565 * custom.el (defcustom): Avoid ((λ ..) ..).
2566
99d27583
SM
25672012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2570
55a71479
JB
25712012-05-02 Juanma Barranquero <lekktu@gmail.com>
2572
2573 * notifications.el (dbus-debug):
2574 * term/linux.el (gpm-mouse-enable):
2575 * term/screen.el (xterm-register-default-colors): Declare.
2576
7b97c764
CY
25772012-05-02 Chong Yidong <cyd@gnu.org>
2578
2bc356d7
CY
2579 * cus-start.el (gc-cons-percentage, exec-suffixes)
2580 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2581 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2582 (make-cursor-line-fully-visible, void-text-area-pointer)
2583 (font-list-limit): Add customization data.
2584
7b97c764
CY
2585 * allout.el (allout-exposure-change-functions)
2586 (allout-structure-added-functions)
2587 (allout-structure-deleted-functions)
2588 (allout-structure-shifted-functions): Rename abnormal hooks from
2589 *-hook, and convert to defcustoms.
5d3385a0
JB
2590 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2591 Convert to defcustoms.
7b97c764
CY
2592 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2593
2594 * allout-widgets.el: Hook callers changed.
2595
90207a15 25962012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2597
2598 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2599 the yanked message in preference to the default value of
2600 buffer-file-coding-system.
2601
90207a15 26022012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2603
5d3385a0
JB
2604 * window.el (display-buffer--action-function-custom-type):
2605 Fix entry.
d9558cad 2606
90207a15 26072012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2608
2609 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2610
d80ac57b
GM
26112012-05-01 Glenn Morris <rgm@gnu.org>
2612
976f7668
GM
2613 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2614
beb83b5a
GM
2615 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2616
d80ac57b
GM
2617 * cus-edit.el (custom-variable-documentation): Simplify with format.
2618
b593d6a9
AH
26192012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2620 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * simple.el (suggest-key-bindings, execute-extended-command):
2623 Move from keyboard.c.
2624
782fbf2a
CY
26252012-05-01 Chong Yidong <cyd@gnu.org>
2626
2627 * follow.el: Eliminate advice.
2628 (set-process-filter, process-filter, sit-for): Advice deleted.
2629 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2630 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2631 Vars deleted.
782fbf2a
CY
2632 (follow-auto): Use a :set function.
2633 (follow-mode): Rewritten. Don't advise process filters.
2634 (follow-switch-to-current-buffer-all, follow-scroll-up)
2635 (follow-scroll-down): Assume follow-mode is bound.
2636 (follow-comint-scroll-to-bottom)
2637 (follow-align-compilation-windows): New functions.
2638 (follow--window-sorter): New function.
2639 (follow-all-followers): Use it to explicitly sort windows by their
2640 positions; don't make assumptions about next-window order.
2641 (follow-windows-start-end, follow-delete-other-windows-and-split)
2642 (follow-calc-win-start): Doc fix.
2643 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2644 vertical-motion unnecessarily.
2645 (follow-adjust-window): New function.
2646 (follow-post-command-hook): Use it.
2647 (follow-call-set-process-filter, follow-call-process-filter)
2648 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2649 (follow-stop-intercept-process-output, follow-generic-filter):
2650 Functions deleted.
2651 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2652 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2653 New functions, replacing advice on scroll-bar-* commands.
87233a14 2654 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2655
2656 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2657 (comint-postoutput-scroll-to-bottom): Use it.
2658 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2659
290af740
GM
26602012-05-01 Glenn Morris <rgm@gnu.org>
2661
2662 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2663 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2664 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2665 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2666 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2667 Remove no-byte-compile setting.
2668
6eac8dc9
SM
26692012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2672 all-completions code to not return a number in the last cdr.
2673
9cc7819c
LL
26742012-04-30 Leo Liu <sdl.web@gmail.com>
2675
2676 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2677 read-only error.
2678
c93b886f
CY
26792012-04-29 Chong Yidong <cyd@gnu.org>
2680
2681 * follow.el (follow-calc-win-end): Rewrite to handle partial
2682 screen lines correctly (Bug#8390).
2683 (follow-avoid-tail-recenter): Minor cleanup.
2684
8b6c19f4
SM
26852012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 Avoid the obsolete `assoc' package.
2688 * speedbar.el (speedbar-refresh): Avoid adelete.
2689 (speedbar-file-lists): Simplify and avoid aput.
2690 * man.el (Man--sections, Man--refpages): New vars, replacing
2691 Man-sections-alist and Man-refpages-alist.
2692 (Man-build-section-alist, Man-build-references-alist):
2693 Use them; avoid aput.
2694 (Man--last-section, Man--last-refpage): New vars.
2695 (Man-follow-manual-reference): Use them.
2696 Use the `default' arg of completing-read.
2697 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2698
c5bb7569
CY
26992012-04-27 Chong Yidong <cyd@gnu.org>
2700
d1d2e2e8
CY
2701 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2702
15cd8efd
CY
2703 * startup.el (x-apply-session-resources): New function.
2704
2705 * term/ns-win.el (ns-initialize-window-system):
2706 * term/w32-win.el (w32-initialize-window-system):
2707 * term/x-win.el (x-initialize-window-system): Use it to properly
2708 set menu-bar-mode and other vars from X resources, even if the
2709 initial frame is not a window-system frame (Bug#2299).
2710
c5bb7569
CY
2711 * subr.el (read-key): Avoid running filter function when setting
2712 up temporary tool bar entries (Bug#9922).
2713
a8e7d6d7 27142012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2715
2716 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2717 (Bug#11344)
2718
a8e7d6d7 27192012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2720
2721 * select.el (xselect--encode-string): New function, split from
2722 xselect-convert-to-string.
2723 (xselect-convert-to-string): Use it.
2724 (xselect-convert-to-filename, xselect-convert-to-os)
2725 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2726 returned strings are properly encoded (Bug#11315).
2727
a8e7d6d7 27282012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2729
2730 * simple.el (delete-active-region): Move to killing custom group.
2731
a8e7d6d7 27322012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2733
2734 * progmodes/which-func.el (which-func-current): Quote %
2735 characters for mode-line processing.
2736
578c1d4b 27372012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2738
2739 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2740 reaching eob (Bug#11286).
2741
a8e7d6d7 27422012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2743
2744 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2745 (gdb): Make it buffer-local and init to zero.
2746 (gdb-control-commands-regexp): New variable.
2747 (gdb-send): Don't wrap in "-interpreter-exec console" if
2748 gdb-control-level is positive. Increment gdb-control-level
2749 whenever the command matches gdb-control-commands-regexp, and
2750 decrement it each time the command is "end". (Bug#11279)
2751
a8e7d6d7 27522012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2753
2754 * window.el (adjust-window-trailing-edge, enlarge-window)
2755 (shrink-window, window-resize):
2756 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2757 windows (Bug#11276).
2758
b3608390
CY
27592012-04-27 Chong Yidong <cyd@gnu.org>
2760
2761 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2762 fix "missing prefix" warning. All callers changed.
b3608390 2763
797e6e88
SM
27642012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * emacs-lisp/assoc.el: Move to obsolete/.
2767
e95a67dc
SM
27682012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2769
657c21e4 2770 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2771
2772 * term/ns-win.el (ns-define-service):
2773 * progmodes/pascal.el (pascal-goto-defun):
2774 * progmodes/js.el (js--read-tab):
2775 * progmodes/etags.el (tags-lazy-completion-table):
2776 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2777 * emacs-lisp/ewoc.el (ewoc--wrap):
2778 * emacs-lisp/assoc.el (aput, adelete, amake):
2779 * doc-view.el (doc-view-convert-current-doc):
2780 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2781
cb3e7ae0
CY
27822012-04-26 Chong Yidong <cyd@gnu.org>
2783
dce04f7f
CY
2784 * image.el (image-type-from-buffer): Only return supported image
2785 type (Bug#9045).
2786
cb3e7ae0
CY
2787 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2788 value, for symmetry with diff-end-of-hunk.
2789 (diff-split-hunk, diff-find-source-location)
2790 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2791 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2792 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2793 compute the relevant hunk or file properly (Bug#6005).
2794 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2795
0d42eb3e
SM
27962012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * vc/vc-mtn.el:
2799 * vc/vc-hg.el:
2800 * vc/vc-git.el:
2801 * vc/vc-dir.el:
2802 * vc/vc-cvs.el:
2803 * vc/vc-bzr.el:
2804 * vc/vc-arch.el:
2805 * vc/vc.el: Replace lexical-let by lexical-binding.
2806 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2807 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2808 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2809
f08ae1c9
CY
28102012-04-26 Chong Yidong <cyd@gnu.org>
2811
8b71081d
CY
2812 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2813 (diff-mode-shared-map): Bind it to / and [remap undo].
2814
f08ae1c9
CY
2815 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2816 (ediff-window-setup-function): Use it as the default, to set up
2817 windows based on whether the current frame is graphical (Bug#2138).
2818 (ediff-choose-window-setup-function-automatically): Make obsolete.
2819
2820 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2821
ef24141c
SM
28222012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2823
cc356a5d
SM
2824 * ffap.el: Remove old code for obsolete package.
2825 (ffap-complete-as-file-p): Remove.
2826
b4ff4f1f
SM
2827 Use completion-table-with-quoting for comint and pcomplete.
2828 * comint.el (comint--unquote&requote-argument)
2829 (comint--unquote-argument, comint--requote-argument): New functions.
2830 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2831 (comint-quote-filename): Use regexp-opt-charset.
2832 (comint--common-suffix, comint--common-quoted-suffix)
2833 (comint--table-subvert): Remove.
2834 (comint-unquote-function, comint-requote-function): New vars.
2835 (comint--complete-file-name-data): Use them with
2836 completion-table-with-quoting.
2837 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2838 * pcomplete.el (pcomplete-arg-quote-list)
2839 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2840 (pcomplete-unquote-argument-function): Default to non-nil.
2841 (pcomplete-unquote-argument): Simplify.
2842 (pcomplete--common-quoted-suffix): Remove.
2843 (pcomplete-requote-argument-function): New var.
2844 (pcomplete--common-suffix): New function.
2845 (pcomplete-completions-at-point): Use completion-table-with-quoting
2846 and completion-table-subvert.
2847
79c4eeb4
SM
2848 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2849 (minibuffer--double-dollars): Preserve properties.
2850 (completion--sifn-requote): New function.
2851 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2852
ef24141c
SM
2853 * minibuffer.el: Add support for completion of quoted/escaped data.
2854 (completion-table-with-quoting, completion-table-subvert): New funs.
2855 (completion--twq-try, completion--twq-all): New functions.
2856 (completion--nth-completion): New function.
2857 (completion-try-completion, completion-all-completions): Use it.
2858
784e7d6e
LL
28592012-04-25 Leo Liu <sdl.web@gmail.com>
2860
dd2ac746
SM
2861 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2862 Use compilation-message if available to find real filename.
784e7d6e 2863
07875ee7
CY
28642012-04-25 Chong Yidong <cyd@gnu.org>
2865
2866 * vc/diff-mode.el (diff-setup-whitespace): New function.
2867 (diff-mode): Use it.
2868
2869 * vc/diff.el (diff-sentinel):
2870 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2871 Whitespace mode variables based on diff style (Bug#8612).
2872
5055880d
LL
28732012-04-25 Leo Liu <sdl.web@gmail.com>
2874
daf75653
LL
2875 * progmodes/python.el (python-send-region): Add suffix .py to the
2876 temp file.
2877
5055880d
LL
2878 * files.el (auto-mode-alist): Use javascript-mode instead.
2879
db9b177b
AH
28802012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2881
ef24141c 2882 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2883
2884 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2885 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2886 references, see Bug#9.
ef24141c 2887 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2888 when receiving a fault reply.
ef24141c 2889 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2890
2891 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2892 (soap-inspect-simple-type): New function.
db9b177b 2893
ef24141c 2894 * soap-client.el (soap-simple-type): New struct.
db9b177b 2895 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2896 (soap-decode-basic-type, soap-encode-basic-type):
2897 support unsignedInt and double basic types.
db9b177b 2898 (soap-resolve-references-for-simple-type)
ef24141c
SM
2899 (soap-parse-simple-type, soap-encode-simple-type): New function.
2900 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2901
2902 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2903 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2904 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2905 the local name of "soapenc:Array".
2906 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2907 decoding integer, byte and anyURI xsd types.
2908
1fc6097b
CY
29092012-04-25 Chong Yidong <cyd@gnu.org>
2910
2911 * cus-edit.el (custom-buffer-create-internal): Update header text.
2912
afc6df87
EZ
29132012-04-25 Eli Zaretskii <eliz@gnu.org>
2914
2915 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2916 settings on 'system-type', not on 'window-system'. On MS-Windows,
2917 set interactive-mode on in GDB.
2918
dfbd787f
SM
29192012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2922 (ruby-syntax-propertize-regexp): Remove.
2923 (ruby-syntax-propertize-function): Split regexp into chunks.
2924 Match following code directly.
2925
85222d44
DG
29262012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2927
51a8ea2a
DG
2928 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2929 (ruby-syntax-propertize-regexp): New function.
2930 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2931 by a special keyword.
2932
85222d44
DG
2933 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2934 (ruby-syntax-general-delimiters-goto-beg)
2935 (ruby-syntax-propertize-general-delimiters): New functions.
2936 (ruby-syntax-propertize-function): Use them to handle GDL.
2937 (ruby-font-lock-keywords): Move old handling of GDL...
2938 (ruby-font-lock-syntactic-keywords): .. to here.
2939 (ruby-calculate-indent): Adjust indentation for GDL.
2940
b613912b
MA
29412012-04-24 Michael Albinus <michael.albinus@gmx.de>
2942
b5380639
MA
2943 * notifications.el (top): Remove unneeded declarations.
2944 (notifications-specification-version): Change to "1.2".
e43042fe 2945 (notifications-interface, notifications-notify-method)
b613912b
MA
2946 (notifications-close-notification-method): Fix docstring.
2947 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2948 (notifications-notify): Add :action-items, :resident and
2949 :transient hints. Change "image_data" to "image-data" and
2950 "image_path" to "image-path".
b613912b
MA
2951 (notifications-get-capabilities): New defun.
2952
257440aa
LL
29532012-04-24 Leo Liu <sdl.web@gmail.com>
2954
2955 * progmodes/python.el: Move hideshow setup to the end.
2956
b1bac16e
MR
29572012-04-24 Martin Rudalics <rudalics@gmx.at>
2958
2959 * window.el (handle-select-window): Clear echo area since this is
2960 no more done by read_char (Bug#11304).
2961
d81bd059
SM
29622012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2965 and `/ M' to filter-derived-mode.
2966 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2967 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2968 (ibuffer-mark-by-mode): Use default rather than initial-input.
2969 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2970
c4cf6d91
IA
29712012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2972
2973 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2974 (ibuffer-filter-by-derived-mode): New filter.
2975 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2976
7511ded8
CY
29772012-04-23 Andreas Politz <politza@fh-trier.de>
2978
2979 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2980
775c916b
CY
29812012-04-23 Chong Yidong <cyd@gnu.org>
2982
2983 * cus-edit.el (customize-apropos, customize-apropos-options):
2984 Disable matching of non-option variables (Bug#11176).
2985 (customize-option, customize-option-other-window)
2986 (customize-changed-options): Doc fix.
2987 (customize-apropos-options, customize-apropos-faces)
2988 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2989
2990 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2991 Fix word list splitting (Bug#11132).
46c71e23
CY
2992 (apropos-symbol, apropos-keybinding, apropos-label)
2993 (apropos-property, apropos-function-button)
2994 (apropos-variable-button, apropos-misc-button): New faces.
2995 (apropos-symbol-face, apropos-keybinding-face)
2996 (apropos-label-face, apropos-property-face, apropos-match-face):
2997 Variables removed (Bug#8396).
2998 (apropos-library-button, apropos-format-plist, apropos-print)
2999 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3000
2df41f9c
MA
30012012-04-23 Michael Albinus <michael.albinus@gmx.de>
3002
3003 * net/xesam.el (xesam-mode-map): Use let-bound map in
3004 initialization. (Bug#11292)
3005
da00640a
AM
30062012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3007
3008 Preserve ispell session localwords when switching back to
3009 original buffer.
3010
3011 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3012 variable to hold buffer session localwords.
3013 (ispell-kill-ispell): add option 'clear to delete session
3014 localwords.
3015 (ispell-command-loop, ispell-change-dictionary)
3016 (ispell-buffer-local-words): Preserve session localwords when
3017 needed.
3018
3019 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3020 Preserve session localwords when needed.
3021
f621ccf5
AM
30222012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3023
3024 * ispell.el (ispell-insert-word) Remove unneeded function using
3025 obsolete `translation-table-for-input'.
ef24141c
SM
3026 (ispell-word, ispell-process-line, ispell-complete-word):
3027 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3028
c2d1019e
CY
30292012-04-22 Chong Yidong <cyd@gnu.org>
3030
3031 * cus-edit.el (custom-variable-menu)
3032 (custom-variable-reset-saved, custom-face-menu)
3033 (custom-face-reset-saved): If there is no saved value, make the
3034 "reset-saved" operation bring back the default (Bug#9509).
3035 (custom-face-state): Properly detect themed faces.
3036
eeddc531
CY
3037 * faces.el (face-spec-set): Stop supporting deprecated form of
3038 third arg.
3039
dcbf5805
MA
30402012-04-22 Michael Albinus <michael.albinus@gmx.de>
3041
3042 Move functions from C to Lisp. Make non-blocking method calls
3043 the default. Implement further D-Bus standard interfaces.
3044
ef24141c
SM
3045 * net/dbus.el (dbus-message-internal): Declare function.
3046 Remove unneeded function declarations.
dcbf5805
MA
3047 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3048 (dbus-message-type-method-return, dbus-message-type-error)
3049 (dbus-message-type-signal): Declare variables. Remove local
3050 definitions.
3051 (dbus-interface-dbus, dbus-interface-peer)
3052 (dbus-interface-introspectable, dbus-interface-properties)
3053 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3054 Adapt docstring.
3055 (dbus-interface-objectmanager): New defconst.
3056 (dbus-call-method, dbus-call-method-asynchronously)
3057 (dbus-send-signal, dbus-method-return-internal)
3058 (dbus-method-error-internal, dbus-register-service)
3059 (dbus-register-signal, dbus-register-method): New defuns, moved
3060 from dbusbind.c
3061 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3062 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3063 New defuns.
dcbf5805
MA
3064 (dbus-call-method-non-blocking): Make it an obsolete function.
3065 (dbus-unregister-object, dbus-unregister-service)
3066 (dbus-handle-event, dbus-register-property)
3067 (dbus-property-handler): Obey the new structure of
3068 `bus-registered-objects'.
3069 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3070 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3071 Use `dbus-call-method'.
3072
cf20dee0
CY
30732012-04-22 Chong Yidong <cyd@gnu.org>
3074
3075 * cus-edit.el (custom-commands, custom-reset-menu)
3076 (Custom-reset-standard): Tweak labels.
3077 (custom-reset-button-menu): Change default to t.
3078 (custom-buffer-create-internal): For the custom-reset-button-menu
3079 case, put the revert button first.
3080 (custom-group-subtitle): New face.
3081 (custom-group-value-create): Align docstring to a specific column.
3082
3083 * wid-edit.el (widget-documentation-link-add): Don't handle
3084 indentation in this function.
3085 (widget-documentation-string-indent-to): New function.
3086 (widget-documentation-string-value-create): Use it.
3087
3088 * autorevert.el (auto-revert):
3089 * epg-config.el (epg):
3090 * ibuffer.el (ibuffer):
3091 * mpc.el (mpc):
3092 * ses.el (ses):
3093 * eshell/eshell.el (eshell):
3094 * net/ange-ftp.el (ange-ftp):
3095 * progmodes/ebnf2ps.el (postscript):
3096 * progmodes/flymake.el (flymake):
3097 * progmodes/prolog.el (prolog):
3098 * progmodes/verilog-mode.el (verilog-mode):
3099 * progmodes/which-func.el (which-func):
3100 * term/xterm.el (xterm):
3101 * textmodes/picture.el (picture):
3102 * textmodes/tildify.el (tildify):
3103 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3104 customization buffers.
3105
583e23bd
AM
31062012-04-22 Alan Mackenzie <acm@muc.de>
3107
3108 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3109 Adding a ) can hide the resulting (..) from searches. Fix it.
3110 Bound the backward search to the position of the existing (.
3111
7dd51bf1
JB
31122012-04-21 Juanma Barranquero <lekktu@gmail.com>
3113
3114 * progmodes/verilog-mode.el (verilog-mode): Check whether
3115 which-func-modes is t before adding verilog-mode.
3116 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3117
d64a438f
LL
31182012-04-21 Leo Liu <sdl.web@gmail.com>
3119
7dd51bf1 3120 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3121
081e8d65
MV
31222012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3123
3124 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3125 filling of the last column of a table (Bug#5635).
3126 (woman-find-next-control-line): New arg, specifying an additional
3127 regexp component for the control line.
3128 (woman2-roff-buffer): Use it.
3129 (woman-break-table): New function.
3130 (woman2-TS): Use it.
3131
31322012-04-21 Chong Yidong <cyd@gnu.org>
3133
3134 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3135 (woman-horizontal-escapes, woman-negative-vertical-space)
3136 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3137 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3138
ed571ccb
SM
31392012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 * minibuffer.el (completion-file-name-table): Complete user names.
3142
39773899
LL
31432012-04-20 Leo Liu <sdl.web@gmail.com>
3144
3145 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3146 and pcase-let*.
3147
de6ff46d
CY
31482012-04-20 Chong Yidong <cyd@gnu.org>
3149
3150 * server.el (server-execute): Respect initial-buffer-choice if it
3151 is a string and there are no files to open (Bug#2825).
3152 (server-create-window-system-frame, server-create-tty-frame):
3153 Don't switch buffers here.
2d0e8e61
CY
3154 (server-process-filter): Only try to open a window system frame if
3155 compiled with graphical support (Bug#8314).
de6ff46d 3156
54071013
DN
31572012-04-20 Dan Nicolaescu <dann@gnu.org>
3158
3159 * battery.el (battery-echo-area-format): Display remaining time
3160 for sysfs backend too (Bug#11269).
3161 (battery-linux-sysfs): Fix conditional for the charge.
3162
f30d612a
CY
31632012-04-20 Chong Yidong <cyd@gnu.org>
3164
c07a4c0b 3165 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3166 (gdb-inferior-io--init-proc): New function.
3167 (gdb-init-1): Use it.
3168 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3169 responsible for allocating a new pty and hooking it to gdb when
3170 the old pty gets an EIO due to process exit.
3171 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3172 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3173 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3174
2116e93c
EZ
31752012-04-20 Eli Zaretskii <eliz@gnu.org>
3176
3177 * window.el (window-min-size, window-sizable, window-min-delta)
3178 (window-max-delta, window--resizable, window-resizable)
3179 (window-total-size, window-full-height-p, window-full-width-p)
3180 (window-in-direction, window--resize-mini-window, window-resize)
3181 (window--resize-child-windows-normal)
3182 (window--resize-child-windows, window--resize-siblings)
3183 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3184 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3185
c07a4c0b 31862012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3187
ef24141c
SM
3188 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3189 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3190 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3191 pty process (Bug#11273).
3192 (gdb-update): New arg to suppress talking to the gdb process.
3193 (gdb-done-or-error): Use it.
3194 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3195 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3196 sentinel not being called.
3197
3198 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3199
d02766ab
CY
3200 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3201
c07a4c0b 32022012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3203
3204 * net/network-stream.el (open-network-stream): Doc fix.
3205
c07a4c0b 32062012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3207
3208 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3209
c07a4c0b 32102012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3211
3212 Ensure searching for keywords is case sensitive.
3213
3214 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3215 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3216 (c-defun-name, c-mark-function, c-cpp-define-name)
3217 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3218 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3219
ef24141c
SM
3220 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3221 Bind case-fold-search to nil.
f0f6bc35 3222
c07a4c0b 32232012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3224
3225 * mail/sendmail.el (mail-bury): Call return action with the right
3226 Rmail buffer (Bug#11242).
3227
9a864fa2
CY
3228 * server.el (server-process-filter): Handle corner case where both
3229 tty and nowait options are present (Bug#11102).
3230
539aa513
EZ
32312012-04-20 Eli Zaretskii <eliz@gnu.org>
3232
3233 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3234 (top level): Put into the executable the ident-style '$Id:' tag on
3235 windows-nt as well.
539aa513 3236
cfc7d5da
SM
32372012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3238
3239 * electric.el (electric-indent-post-self-insert-function): Check that
3240 electric-indent-mode is enabled in current buffer.
3241
5b01685c
JB
32422012-04-19 Juanma Barranquero <lekktu@gmail.com>
3243
3244 * imenu.el (imenu-progress-message): Restore; it is "used" in
3245 erc/erc-imenu.el and net/snmp-mode.el.
3246
4d6769e1
JB
32472012-04-19 Juanma Barranquero <lekktu@gmail.com>
3248
3249 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3250 (mouse-avoidance-nudge-mouse): Remove unused binding.
3251
3252 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3253
3254 * descr-text.el (describe-char):
3255 * progmodes/python.el (python-describe-symbol):
3256 Don't call `toggle-read-only', set `buffer-read-only'.
3257
3258 * imenu.el (imenu-default-goto-function): Mark unused args.
3259 (imenu-progress-message): Remove obsolete macro; all callers changed.
3260
3261 * subr.el (keymap-canonicalize): Remove unused binding.
3262 (read-passwd): Mark unused arg.
3263
3264 * tutorial.el (tutorial--display-changes): Remove unused binding.
3265 (tutorial--save-tutorial-to): Remove unused variable.
3266
3267 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3268 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3269 (package-generate-autoloads, package-menu--generate)
3270 (package-menu--find-upgrades): Remove unused bindings.
3271
3272 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3273 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3274 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3275 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3276 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3277 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3278 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3279 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3280 (cua-delete-char-rectangle): Mark unused args.
3281 (cua-align-rectangle): Remove unused binding.
3282
3283 * mail/rmail.el (compilation--message->loc)
3284 (epa--find-coding-system-for-mime-charset): Declare.
3285
3286 * net/dbus.el (dbus-register-service): Declare.
3287 (dbus-name-owner-changed-handler): Remove unused binding.
3288
3289 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3290 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3291 (nxml-scan-backward-within): Mark unused arg.
3292 (nxml-dynamic-markup-word): Remove unused binding.
3293
3294 * mouse.el (mouse-menu-major-mode-map):
3295 * emacs-lisp/authors.el (authors-scan-change-log)
3296 (authors-add-to-author-list):
3297 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3298 * emacs-lisp/smie.el (smie-auto-fill):
3299 * mail/sendmail.el (mail-bury):
3300 * mail/unrmail.el (unrmail):
3301 * net/tls.el (open-tls-stream):
3302 * textmodes/picture.el (picture-mouse-set-point):
3303 Remove unused bindings.
3304
8c8fc5df
MA
33052012-04-19 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * net/tramp.el (tramp-action-password): Let-bind
3308 `enable-recursive-minibuffers' to t.
3309
a77b0ac9
SS
33102012-04-18 Sam Steingold <sds@gnu.org>
3311
3312 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3313 instead of 'string to accommodate values like [f11].
3314 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3315 * progmodes/gdb-mi.el: Likewise.
3316
12a106a9
LL
33172012-04-18 Leo Liu <sdl.web@gmail.com>
3318
3319 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3320 current buffer.
3321 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3322 LOCAL is nil.
3323
bc6494ef
CY
33242012-04-18 Chong Yidong <cyd@gnu.org>
3325
3326 * simple.el (line-move): Use forward-line if in batch mode
3327 (Bug#11053).
3328
c09c46b2
CS
33292012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3330
3331 * files.el (after-find-file): Do not try to add a final newline if
3332 the buffer is read-only (Bug#11156).
3333
5f6530ea
RS
33342012-04-17 Richard Stallman <rms@gnu.org>
3335
3336 * mail/rmail.el (rmail-start-mail):
3337 Pass (rmail-mail-return...) for the return-action.
3338 Pass (rmail-yank-current-message...) for the yank-action.
3339 (rmail-yank-current-message): New function.
3340 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3341 (rmail-reply): Likewise.
3342 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3343
3344 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3345 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3346 buffer, not newbuf.
3347
197b6f3c
JB
33482012-04-17 Juanma Barranquero <lekktu@gmail.com>
3349
3350 * server.el (server-ensure-safe-dir): Simplify.
3351
2311d8e5 33522012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3353
2311d8e5
GM
3354 * emacs-lisp/smie.el: Provide smarter auto-filling.
3355 (smie-auto-fill): New function.
3356 (smie-setup): Use it.
98fb480e 3357
2311d8e5
GM
3358 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3359
33602012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3361
3362 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3363 (comment-indent): Use it.
3364
2311d8e5 33652012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3366
3367 * ses.el: The overall change is to add cell renaming, that is
3368 setting fancy names for cell symbols other than name matching
3369 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3370 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3371 (ses-create-cell-variable): New defun.
2311d8e5 3372 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3373 (ses-relocate-formula): Relocate formulas only for cells the
3374 symbols of which are not renamed, i.e. symbols whose names do not
3375 match regexp "\\`[A-Z]+[0-9]+\\'".
3376 (ses-relocate-all): Relocate values only for cells the symbols of
3377 which are not renamed.
3378 (ses-load): Create cells variables as the (ses-cell ...) are read,
3379 in order to check row col consistency with cell symbol name only
3380 for cells that are not renamed.
3381 (ses-replace-name-in-formula): New defun.
3382 (ses-rename-cell): New defun.
4bdf2ad2 3383
fc72b15c
PO
33842012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3385
3386 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3387 New option (bug#11118).
3388 (perl-calculate-indent): Respect it.
3389
12e10e61
GM
33902012-04-17 Glenn Morris <rgm@gnu.org>
3391
3392 * dired-aux.el (dired-mark-read-string): Doc fix.
3393
30009afd
DA
33942012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3395
3396 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3397 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3398
41f03f4d
GM
33992012-04-17 Glenn Morris <rgm@gnu.org>
3400
3401 * mouse.el (mouse-drag-track):
3402 * speedbar.el (speedbar-frame-mode):
3403 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3404
f45f90f3
LL
34052012-04-16 Leo Liu <sdl.web@gmail.com>
3406
3407 * progmodes/python.el: Trivial cleanup.
3408
94ee8db5
GM
34092012-04-16 Glenn Morris <rgm@gnu.org>
3410
121b8917
GM
3411 * vc/vc.el (vc-string-prefix-p):
3412 * vc/pcvs-util.el (cvs-string-prefix-p):
3413 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3414 * mpc.el (mpc-string-prefix-p):
3415 Make all of these into obsolete aliases for string-prefix-p.
3416 Update callers.
3417 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3418
1197ecfa
GM
3419 * textmodes/two-column.el: Move custom options to the start.
3420 (frame-width): Remove compat definition.
3421 (2C-associate-buffer, 2C-dissociate):
3422 Use with-current-buffer rather than save-excursion.
3423 (2C-dissociate): Force a mode-line update.
3424 (2C-autoscroll): Use ignore-errors.
3425
099e7202
GM
3426 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3427 Autoload trivia.
3428
bf350d6a
GM
3429 * emacs-lisp/cl-extra.el (*random-state*):
3430 Remove unnecessary declaration.
3431
0e829eab
GM
3432 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3433
e3ad7552
GM
3434 * play/cookie1.el (cookie-snarf):
3435 Give an explicit error if input file cannot be read.
3436
68892d27
GM
3437 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3438
20f0c46d
GM
3439 * progmodes/perl-mode.el (c-macro-expand):
3440 Remove unnecessary autoload (it is in loaddefs.el).
3441
5a0978ce
GM
3442 * textmodes/picture.el (picture-desired-column)
3443 (picture-update-desired-column): Convert comments to doc-strings.
3444 (picture-substitute): Remove function.
3445 (picture-mode-map): Initialize in the defvar.
3446
6b955486
GM
3447 * woman.el: Remove eval-after-load for tar-mode.
3448 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3449 (woman-tar-extract-file): Autoload it.
3450
94ee8db5
GM
3451 * frame.el (automatic-hscrolling): Make this alias obsolete.
3452
177eca34
AM
34532012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3454
3455 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3456 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3457 (ispell-dictionary-base-alist): Revert to original XEmacs
3458 friendly version for default. [:alpha:] will be added in
3459 `ispell-set-spellchecker-params' if needed
177eca34 3460
c505aaeb
CY
34612012-04-16 Chong Yidong <cyd@gnu.org>
3462
3463 * image.el (imagemagick--extension-regexp): New variable.
3464 (imagemagick-register-types): Use it.
3465 (imagemagick-types-inhibit): Add :set function. Allow new value
3466 of t to inhibit all types.
3467
3468 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3469 so we can preload it.
3470
3471 * loadup.el (fboundp): Preload regexp-opt, needed by
3472 imagemagick-register-types.
3473
60efac0f
CY
34742012-04-15 Chong Yidong <cyd@gnu.org>
3475
3476 * frame.el (scrolling): Remove nearly unused customization group.
3477
3478 * scroll-all.el (scroll-all-mode): Move to windows group.
3479
5dd1713e
CY
34802012-04-15 Chong Yidong <cyd@gnu.org>
3481
3482 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3483
e6fd457e
CY
34842012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3487 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3488
e153c136
GM
34892012-04-15 Glenn Morris <rgm@gnu.org>
3490
3491 * simple.el (process-file-side-effects): Doc fix.
3492
e6fd457e 34932012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3494
3495 * international/mule-cmds.el (set-language-environment): Doc fix.
3496
3603c3b1
JB
34972012-04-14 Juanma Barranquero <lekktu@gmail.com>
3498
3499 * server.el (server-auth-key, server-generate-key): Doc fixes.
3500 (server-get-auth-key): Doc fix. Use `string-match-p'.
3501 (server-start): Reflow docstring.
3502
e6de100c
LI
35032012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3504
3505 * server.el (server-generate-key): `called-interactively-p'
3506 requires a parameter.
3507
29734c21
MN
35082012-04-14 Michal Nazarewicz <mina86@mina86.com>
3509
3510 * server.el (server-auth-key): New variable.
75f1671a 3511 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3512 (server-start): Use the new variable and functions to allow
3513 setting a permanent server key (bug#9423).
3514
d65c9521
LL
35152012-04-14 Leo Liu <sdl.web@gmail.com>
3516
3517 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3518
5ae255c7
PE
35192012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3520
3521 Spelling fixes.
3522 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3523 Emacs uses American spelling.
3524
d5e6342e
JB
35252012-04-14 Juanma Barranquero <lekktu@gmail.com>
3526
3527 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3528 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3529 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3530 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3531
ab036cd7
SM
35322012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * progmodes/which-func.el (which-func-modes): Change default.
3535
35dc09a1 35362012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3537
3538 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3539 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3540
35dc09a1 35412012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3542
3543 * custom.el (custom-theme-set-variables): Doc fix.
3544
35dc09a1 35452012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3546
3547 * international/mule.el (set-auto-coding-for-load): Doc fix.
3548
35dc09a1 35492012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3550
35dc09a1
GM
3551 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3552 imenu work again for Objective C Mode. Correct the *-index values,
3553 these having been disturbed by a previous change in 2011-08.
57f845ee 3554
0de3da9f
AM
3555 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3556 Correct two search limits.
3557
35dc09a1 35582012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3559
3560 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3561
35dc09a1 35622012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3563
3564 * international/characters.el: Fix sorting.
3565
35dc09a1 35662012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3567
3568 * international/characters.el: Add more missing Latin case pairs.
3569
35dc09a1 35702012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3571
3572 * files.el (dir-locals-set-class-variables): Doc fix.
3573
35dc09a1 35742012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3575
3f1b5bf8
EZ
3576 * international/characters.el: Add set-case-syntax-pair call for
3577 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3578 counterpart. (Bug#11209)
3579
9f847f41
EZ
3580 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3581
35dc09a1 35822012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3583
3584 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3585
35dc09a1 35862012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3587
35dc09a1
GM
3588 * textmodes/ispell.el (ispell-dictionary-base-alist):
3589 Add data for Hebrew.
e2627d21 3590
35dc09a1 35912012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3592
35dc09a1
GM
3593 * net/rcirc.el (rcirc-cmd-quit):
3594 Revert 2012-03-18 change (Bug#11192).
5c14e333 3595
35dc09a1 35962012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3597
3598 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3599
35dc09a1 36002012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3601
4517fe3a
SM
3602 * minibuffer.el (completion-in-region-mode-map):
3603 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3604
b472a594
VD
36052012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3606
3607 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3608
09b95ce3
MY
36092012-04-13 Masatake YAMATO <yamato@redhat.com>
3610
3611 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3612 to allow `C-M-f' and `C-M-b' to move to the nearest path
3613 separator (bug#9511).
3614
4b63a9ca
LI
36152012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3616
3617 * avoid.el: Require cl when compiling. And also move the
3618 `provide' to the end.
3619
7b55b8bf
TV
36202012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3621
3622 * avoid.el (mouse-avoidance-banish-position): New variable.
3623 (mouse-avoidance-banish-destination): Use it (bug#10165).
3624
adedaa1f
LL
36252012-04-13 Leo Liu <sdl.web@gmail.com>
3626
3627 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3628
70e74021
KB
36292012-04-13 Ken Brown <kbrown@cornell.edu>
3630
3631 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3632 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3633 (browse-url-filename-alist): For the same reason, don't modify
3634 file:// URLs on Cygwin.
3635
e75e89ba
SM
36362012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3639 the region on shift if the binding is already shifted (bug#11221).
3640
82f289a4
GM
36412012-04-12 Glenn Morris <rgm@gnu.org>
3642
3643 * mail/mailpost.el: Move to obsolete/.
3644
d333dc4c
DA
36452012-04-12 Drew Adams <drew.adams@oracle.com>
3646
3647 * imenu.el (imenu--generic-function): Ignore invisible definitions
3648 (bug#10123).
3649
0d15b5ba
VD
36502012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3651
3652 * hexl.el (hexl-bits): New variable.
3653 (hexl-options): Mention the variable in the doc string.
75f1671a 3654 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3655 (hexl-mode): Mention the new variable.
75f1671a
JB
3656 (hexl-mode, hexl-current-address, hexl-current-address):
3657 Use the displen.
0d15b5ba
VD
3658 (hexl-ascii-start-column): New function.
3659 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3660 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3661
64a440db
AM
36622012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3663
3664 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3665 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3666 the encoding, as expected by hunspell.
3667
6decb6c2
SM
36682012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * battery.el (battery--linux-sysfs-regexp): New const.
3671 (battery-status-function): Use it. Remove yeeloong special case.
3672 (battery-yeeloong-sysfs): Remove.
3673 (battery-echo-area-format): Remove yeeloong special case.
3674
088be6fb
SM
36752012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3676
6622e416
SM
3677 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3678 Reported by Noah Friedman.
3679
088be6fb
SM
3680 * subr.el (read-passwd): Use read-string.
3681
b49f886e
LMI
36822012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3683
3684 * vcursor.el (vcursor-move): Increase the priority of the overlay
3685 (bug#9663).
3686
a63067fc
DD
36872012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3688
3689 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3690 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3691
ac3cf14a
WS
36922012-04-11 William Stevenson <yhvh2000@gmail.com>
3693
3694 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3695 define-minor-mode (bug#10760).
3696
c4fc691b 36972012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3698
4d6769e1 3699 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3700 that directories matching `grep-find-ignored-files' won't be
3701 pruned (bug#10351).
3702
af23e2e5
CY
37032012-04-11 Chong Yidong <cyd@gnu.org>
3704
3705 * startup.el (command-line): Remove support for long-obsolete
3706 variable font-lock-face-attributes.
3707
ab7ce8c1
GM
37082012-04-11 Glenn Morris <rgm@gnu.org>
3709
3710 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3711
de8c03dc
SM
37122012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * window.el (window--state-get-1): Obey window-point-insertion-type.
3715
050cc68b
LB
37162012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3717
3718 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3719 to previous function when point is on the first character of a
75f1671a 3720 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3721
a38c310c
GM
37222012-04-11 Glenn Morris <rgm@gnu.org>
3723
effed0c2
GM
3724 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3725 not just file-errors.
3726
a38c310c
GM
3727 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3728 (vc-bzr-sha1): Use internal sha1.
3729
0221e323
SM
37302012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3733
43956923
SG
37342012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3735
3736 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3737 that start in the middle of the line (bug#10496).
3738
6a8c9eaf
DN
37392012-04-10 Dan Nicolaescu <dann@gnu.org>
3740
3741 * battery.el (battery-linux-proc-acpi): Only one battery is
3742 discharged at a time, but that seems to confuse battery.el when
3743 computing `rate-type' for the battery not being discharged
3744 (bug#10332).
3745
1930bf5d
SM
37462012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3747
2a718f6f
SM
3748 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3749
599430d0
SM
3750 * international/quail.el: Use dolist and simplify.
3751 (quail-define-package, quail-update-keyboard-layout)
3752 (quail-define-rules): Use dolist.
3753 (quail-insert-kbd-layout, quail-get-translation): CSE.
3754
a2754b6c
SM
3755 * tmm.el: Use dolist, remove left over hook.
3756 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3757 Use dolist.
3758 (calendar-load-hook): Don't mess with it.
3759
1930bf5d
SM
3760 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3761 Use derived-mode-p. Run the diff asynchronously.
3762
9f67961c
LMI
37632012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3764
3765 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3766
2a8ce227
JB
37672012-04-10 Juanma Barranquero <lekktu@gmail.com>
3768
3769 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3770 (list-dynamic-libraries--loaded): New function.
3771 (list-dynamic-libraries--refresh): Use it.
3772
8f33b5f8
NW
37732012-04-10 Nathan Weizenbaum <nweiz@google.com>
3774
1930bf5d
SM
3775 * progmodes/python.el (python-fill-paragraph):
3776 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3777 disabled (bug#7018).
3778
b12f0439
L
37792012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3780
1930bf5d 3781 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3782 DOS/MS Windows for the Baltic languages. There are still plenty
3783 of texts written in this encoding/codepage (bug#6519).
b12f0439 3784
57c3bd01
GM
37852012-04-10 Glenn Morris <rgm@gnu.org>
3786
3787 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3788 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3789
6c3eab30
FA
37902012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3791
1930bf5d 3792 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3793 next-line "n" and previous-line "p" in order to make recentf more
3794 consistent with ibuffer, dired or org-mode (bug#9387).
3795
24d78a88
LMI
37962012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3797
bc72b5d9
LMI
3798 * image.el (put-image): Return the overlay created instead of the
3799 optional input string (bug#7834). Note that this may break code
3800 that is (for some reason or other) depending on `put-image'
3801 returning the string.
3802
bd2dba5a
LMI
3803 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3804
74beb59f
LMI
3805 * simple.el (zap-to-char): Allow zapping using input methods
3806 (bug#1580).
3807
24d78a88
LMI
3808 * textmodes/fill.el (fill-region): Leave point and mark where they
3809 were before filling (bug#5399).
3810
263f20cd
GM
38112012-04-09 Glenn Morris <rgm@gnu.org>
3812
3813 * version.el (emacs-bzr-get-version):
3814 Handle lightweight checkouts of local branches.
3815
58d1f797
AS
38162012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3817
263f20cd 3818 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3819
b4d3bc10
CY
38202012-04-09 Chong Yidong <cyd@gnu.org>
3821
3822 * custom.el (custom-variable-p): Return nil for non-symbol
3823 arguments instead of signaling an error.
3824 (user-variable-p): Obsolete alias for custom-variable-p.
3825
3826 * apropos.el (apropos-variable):
3827 * files-x.el (read-file-local-variable):
3828 * simple.el (set-variable):
3829 * woman.el (woman-mini-help):
3830 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3831
fd06db5d
GM
38322012-04-09 Glenn Morris <rgm@gnu.org>
3833
e5fcdb5e
GM
3834 * startup.el (normal-top-level): Don't look for leim-list.el
3835 in places where it will not be found. (Bug#910)
3836
fd06db5d
GM
3837 * international/mule-cmds.el (set-default-coding-systems):
3838 * files.el (normal-mode):
3839 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3840 This function was removed with ucs-tables.el in 2008.
3841
b39bb7e1
EZ
38422012-04-08 Eli Zaretskii <eliz@gnu.org>
3843
3844 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3845 ispell-encoding8-command to "-i", without a trailing space.
3846 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3847 separate command-line arguments, to specify the encoding, since
3848 that's how hunspell expects it.
3849
5c5b8e23
GM
38502012-04-08 Glenn Morris <rgm@gnu.org>
3851
3852 * loadup.el: Load bindings before cus-start.
3853 This reduces somewhat the number of "rogue" settings in emacs -Q.
3854
a1ed8b05
GM
38552012-04-07 Glenn Morris <rgm@gnu.org>
3856
3857 * version.el (emacs-bzr-get-version): New function.
dfae128a 3858 (emacs-bzr-version): New variable.
a1ed8b05
GM
3859 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3860 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3861
b142f158
EZ
38622012-04-07 Eli Zaretskii <eliz@gnu.org>
3863
dfae128a
GM
3864 * international/uni-bidi.el, international/uni-category.el:
3865 * international/uni-combining.el, international/uni-decimal.el:
3866 * international/uni-decomposition.el, international/uni-digit.el:
3867 * international/uni-lowercase.el, international/uni-mirrored.el:
3868 * international/uni-name.el, international/uni-numeric.el:
3869 * international/uni-titlecase.el, international/uni-uppercase.el:
3870 Update for Unicode 6.1.
b142f158 3871
9078ead6
EZ
38722012-04-07 Eli Zaretskii <eliz@gnu.org>
3873
3874 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3875
f23d2c7d
LMI
38762012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3877
3878 * window.el (shrink-window): Mention the `window-min-height'
3879 variable in the doc string.
3880
0a0a3573
BG
38812012-04-05 Bastien Guerry <bzg@altern.org>
3882
3883 * color.el (color-lighten-name): Fix typo.
3884
e5248ac9
SM
38852012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * server.el (server--on-display-p): New function.
3888 (server--on-display-p): Use it.
3889
b4243e22
GV
38902012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3891
3892 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3893 (bug#11145).
3894
305d9f44
SM
38952012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * comint.el (comint--common-quoted-suffix): Check string boundary
3898 before comparing (bug#11158).
3899 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3900
3d439cd1
CY
39012012-04-04 Chong Yidong <cyd@gnu.org>
3902
321cc491
CY
3903 * minibuffer.el (completion-extra-properties): Doc fix.
3904
3d439cd1
CY
3905 * subr.el (delayed-warnings-hook): Doc fix.
3906
2d562c0f
DU
39072012-04-04 Daiki Ueno <ueno@unixuser.org>
3908
3909 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3910 selection (Bug#11159).
3911 (epa-insert-keys): Inform that the default public key will be
3912 exported if no key is selected.
3913
4443f204
RS
39142012-04-04 Richard Stallman <rms@gnu.org>
3915
3916 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3917
529c06b6
CY
39182012-04-03 Chong Yidong <cyd@gnu.org>
3919
3920 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3921 mail-insert-file, not its obsolete alias mail-attach-file.
3922
66b907dc
MA
39232012-04-03 Michael Albinus <michael.albinus@gmx.de>
3924
3925 * notifications.el (notifications-notify): Fix docstring.
3926
c0ea195d
GM
39272012-04-02 Glenn Morris <rgm@gnu.org>
3928
3929 * emacs-lisp/authors.el (authors-aliases): Another addition.
3930
5ca64e00
MA
39312012-04-02 Michael Albinus <michael.albinus@gmx.de>
3932
3933 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3934 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3935 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3936
42ee526b
CY
39372012-04-01 Chong Yidong <cyd@gnu.org>
3938
3939 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3940 Handle root directory properly.
3941 (copy-directory): Caller changed.
3942
3943 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3944 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3945
0b021094
GM
39462012-03-31 Glenn Morris <rgm@gnu.org>
3947
40f86458
GM
3948 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3949
7019c177
GM
3950 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3951
a1daddd6
GM
3952 * calendar/calendar.el (calendar-window-list)
3953 (calendar-hide-window): Restore. (Bug#11140)
3954 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3955
0b021094
GM
3956 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3957
40311efc
TV
39582012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3959
3960 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3961 Check if file is a symlink (Bug#10489).
3962
3963 * files.el (copy-directory): Likewise.
3964
5319014e
CY
39652012-03-30 Chong Yidong <cyd@gnu.org>
3966
3967 * image.el (imagemagick-types-inhibit)
3968 (imagemagick-register-types): Doc fix.
3969
935d1290
AM
39702012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3971
ef24141c
SM
3972 * ispell.el (ispell-get-extended-character-mode):
3973 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3974 and treats ~word as ordinary words in pipe mode.
935d1290 3975
61c6e8fd
GM
39762012-03-30 Glenn Morris <rgm@gnu.org>
3977
3978 * tutorial.el (help-with-tutorial): Ensure local variables don't
3979 happen to make the buffer read-only. (Bug#11127)
3980
81fdff00
SM
39812012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3982
3983 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3984 (perl-calculate-indent): Return `noindent' in strings.
3985
6e7a6ec0
SS
39862012-03-28 Sam Steingold <sds@gnu.org>
3987
3988 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3989 instead of the broken adhockery which does not prevent calendar
3990 buffers from being displayed at random after exit.
3991 (calendar-window-list, calendar-hide-window): Remove the broken
3992 adhockery.
3993
fee88ca0
GM
39942012-03-28 Glenn Morris <rgm@gnu.org>
3995
3996 * replace.el (query-replace-map): Doc fix.
3997
38de3354
AS
39982012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3999
4000 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4001 contents. (Bug#11109)
4002
b973155e
SM
40032012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4006 (bug#11077).
4007 (avl-tree--check, avl-tree--check-node): New funs.
4008
dcb6e7b3
MR
40092012-03-27 Martin Rudalics <rudalics@gmx.at>
4010
4011 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4012 (switch-to-prev-buffer, switch-to-next-buffer):
4013 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4014 showing a buffer already is done on the same frame.
4015
b4fa35fa
GM
40162012-03-27 Glenn Morris <rgm@gnu.org>
4017
4018 * startup.el (mail-host-address): Doc fix.
4019
f9210e18
SM
40202012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4021
4022 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4023 than 197 variables.
4024
c0bf7753
AF
40252012-03-26 Ami Fischman <ami@fischman.org>
4026
4027 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4028
33da7b16
GM
40292012-03-26 Glenn Morris <rgm@gnu.org>
4030
02243d9d
GM
4031 * files.el (save-buffers-kill-emacs): Doc fix.
4032
33da7b16
GM
4033 * startup.el (normal-top-level, command-line, command-line-1):
4034 Give them doc strings.
4035
e5a69fd0
EZ
40362012-03-25 Eli Zaretskii <eliz@gnu.org>
4037
4038 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4039 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4040
9a69676a
CY
40412012-03-25 Chong Yidong <cyd@gnu.org>
4042
4125cb8b
CY
4043 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4044 theme if it was previously enabled before (Bug#11031).
4045
dd470960
CY
4046 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4047 spec with custom-face-get-current-spec if its :shown-value is not
4048 determined yet (Bug#9337).
4125cb8b 4049 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4050
9a69676a
CY
4051 * button.el (button-at): Minor addition to docstring.
4052
6e7e90fa
SL
40532012-03-24 Simon Leinen <simon.leinen@gmail.com>
4054
4055 * vc/vc.el (vc-merge): Fix a prompt.
4056
f06e2758
CY
40572012-03-24 Chong Yidong <cyd@gnu.org>
4058
4059 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4060 point (Bug#9623).
4061
6e7e90fa
SL
4062 * button.el (button-at): Minor addition to docstring.
4063
b9d0879b
SM
40642012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4065
4066 * newcomment.el (comment-choose-indent): No space after BOL.
4067
e71cebb3
SS
40682012-03-22 Sam Steingold <sds@gnu.org>
4069
4070 * window.el (switch-to-prev-buffer): Revert last patch because the
4071 bug turned out to be an advertised feature (Elisp manual 28.14).
4072
335aff35
GM
40732012-03-22 Glenn Morris <rgm@gnu.org>
4074
4075 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4076 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4077
c676576a
LMI
40782012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4079
4080 * net/network-stream.el (network-stream-open-starttls): Make error
4081 message under Windows be less misleading.
4082
126f3d39
LW
40832012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4084
4085 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4086 understands (bug#9942).
4087
64fee311
CY
40882012-03-22 Chong Yidong <cyd@gnu.org>
4089
4090 * simple.el (end-of-visible-line): Handle return value of
4091 next-single-property-change properly (Bug#9371).
4092
a640d29a
KH
40932012-03-22 Kenichi Handa <handa@m17n.org>
4094
4095 * international/quail.el (quail-insert-kbd-layout): Fix previous
4096 change. To avoid unwanted bidi reordering, use
4097 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4098
39675016
DG
40992012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4100
4101 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4102 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4103 (ruby-beginning-of-indent): Be more careful with the difference
4104 between word-boundary and symbol boundary.
4105 (ruby-mode-syntax-table): Make : a symbol constituent.
4106
0a6934fc 41072012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4108
3d008e4f
SM
4109 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4110
0a6934fc
SM
41112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4112
af67c9d7
SM
4113 * progmodes/etags.el (tags-completion-at-point-function):
4114 Improve last fix.
4115
1acad97c
SM
4116 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4117
e298b5da
SS
41182012-03-21 Sam Steingold <sds@gnu.org>
4119
4120 * progmodes/etags.el (tags-completion-at-point-function):
4121 Avoid the error when point is inside the pattern.
4122
91d82a70
JY
41232012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4124
4125 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4126 line (Bug#10855).
4127
69188b79
CY
41282012-03-21 Drew Adams <drew.adams@oracle.com>
4129
4130 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4131
99fc91fe
AK
41322012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4133
4134 * ido.el (ido-set-current-directory, ido-read-internal)
4135 (ido-choose-completion-string, ido-completion-help): Handle nil
4136 value of ido-completion-buffer (Bug#11008).
4137
087bbb4c
SS
41382012-03-21 Sam Steingold <sds@gnu.org>
4139
4140 * window.el (switch-to-prev-buffer): Do not switch to a visible
4141 window previous buffer, just like with the frame previous buffers.
4142
fb5b8aca
CY
41432012-03-21 Chong Yidong <cyd@gnu.org>
4144
4145 * faces.el (make-face, make-empty-face, copy-face):
4146 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4147 Doc fixes.
4148
dc9924b8
SM
41492012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4152 (widget-complete): Remove broken use of it.
4153
f0bcceb9
CY
41542012-03-20 Chong Yidong <cyd@gnu.org>
4155
dc9924b8
SM
4156 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4157 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4158 characters.
4159
ee52ebf3
TH
41602012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4161
4162 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4163 to draw rectangles, not squares. (Regression introduced by revno
4164 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4165
4c5779ab
CY
41662012-03-18 Chong Yidong <cyd@gnu.org>
4167
4168 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4169 it is not yet defined (for temacs).
4170
15360934
LL
41712012-03-18 Leo Liu <sdl.web@gmail.com>
4172
dc9924b8 4173 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4174
d9a8eb66
EZ
41752012-03-17 Eli Zaretskii <eliz@gnu.org>
4176
4177 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4178 (ispell-choices-win-default-height, ispell-silently-savep)
4179 (ispell-dictionary-alist, ispell-encoding8-command)
4180 (ispell-check-version, ispell-aspell-find-dictionary)
4181 (ispell-valid-dictionary-list, ispell-words-keyword)
4182 (ispell-get-word, ispell-internal-change-dictionary)
4183 (ispell-region, ispell-skip-region-list)
4184 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4185 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4186 (ispell-message-text-end, ispell-message)
4187 (ispell-buffer-local-parsing): Doc fix.
4188
f02ff80d
J
41892012-03-13 Jambunathan K <kjambunathan@gmail.com>
4190
4191 * htmlfontify.el: Add support for code block fontification for ODT
4192 export (Bug #9914).
4193 (hfy-optimisations): Define new option
4194 `body-text-only'
4195 (hfy-fontify-buffer): Honor above setting.
4196 (hfy-begin-span, hfy-end-span): New routines factored out form
4197 `hfy-fontify-buffer'.
4198 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4199 that permit insertion of custom tags.
4200 (hfy-fontify-buffer): Use above handlers.
4201 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4202 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4203 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4204 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4205 bind a special variable `hfy-user-sheet-assoc'.
4206 (htmlfontify-string): New defun.
4207 (hfy-compile-face-map): Make sure that the last char in the
4208 buffer is correctly fontified.
4209 (hfy-face-resolve-face): Whitespace only change.
4210
9ac7a13f
EZ
42112012-03-17 Eli Zaretskii <eliz@gnu.org>
4212
4213 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4214 message more clear.
4215
e2b5bdd7
LL
42162012-03-16 Leo Liu <sdl.web@gmail.com>
4217
4218 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4219
2e492df3
AM
42202012-03-16 Alan Mackenzie <acm@muc.de>
4221
4222 Further optimise the handling of large macros.
4223
4224 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4225 limit to a call of `c-literal-limits'.
4226 (c-determine-+ve-limit): New function.
dc9924b8
SM
4227 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4228 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4229 In CASE 5B, restrict a search limit to 500.
4230 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4231
4232 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4233 Restrict macro bounds to +-500 from after-change's BEG END.
4234
50e94f0c
LL
42352012-03-16 Leo Liu <sdl.web@gmail.com>
4236
4237 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4238
6f09f6ed
AH
42392012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4240
4241 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4242 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4243
c7e73d51
GM
42442012-03-16 Glenn Morris <rgm@gnu.org>
4245
da986230
GM
4246 * view.el (view-buffer, view-buffer-other-window)
4247 (view-buffer-other-frame): Doc fixes re special mode-class.
4248
0835f01e
GM
4249 * subr.el (eval-after-load): If named feature is provided not from
4250 a file, run after-load forms. (Bug#10946)
4251
c7e73d51
GM
4252 * calendar/calendar.el (calendar-insert-at-column):
4253 Handle non-unit-width characters a bit better. (Bug#10978)
4254
3f2eafd1
CY
42552012-03-15 Chong Yidong <cyd@gnu.org>
4256
4257 * emacs-lisp/ring.el (ring-extend): New function.
4258 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4259
4260 * comint.el (comint-read-input-ring)
4261 (comint-add-to-input-history): Grow comint-input-ring lazily.
4262
103af3fe
SM
42632012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4264
663b1677
SM
4265 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4266 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4267
103af3fe
SM
4268 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4269 (imenu-add-to-menubar): Don't add a redundant index.
4270 (imenu-update-menubar): Handle a dynamically composed keymap.
4271
899cb7cb
KY
42722012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4273
4274 * mail/sendmail.el (mail-encode-header):
4275 Bind rfc2047-encode-encoded-words to nil.
4276
3809f91d
GM
42772012-03-13 Glenn Morris <rgm@gnu.org>
4278
4279 * calendar/calendar.el (calendar-string-spread):
4280 Handle non-unit-width characters a bit better. (Bug#10978)
4281
9e345a01
LL
42822012-03-13 Leo Liu <sdl.web@gmail.com>
4283
4284 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4285 directory and file as argument (Bug#10822).
4286
4a07df36
KS
42872012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4288
4289 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4290 For dynamically generated code, follow $PC.
4291 (gdb-disassembly-handler-custom): Handle no function name case.
4292
4aaa9356
TL
42932012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4294
4295 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4296 * emulation/ws-mode.el (ws-query-replace):
4297 * sort.el (sort-regexp-fields):
4298 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4299
225979da
SM
43002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * dabbrev.el: Fix cycle completion order (bug#10963).
4303 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4304 (dabbrev-completion): Don't use an obarray; provide
4305 a cycle-sort-function.
4306
e2f1fdab
LL
43072012-03-12 Leo Liu <sdl.web@gmail.com>
4308
dc9924b8 4309 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4310 (kill-do-not-save-duplicates): Doc fix.
4311
b19490ed
SM
43122012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 * dabbrev.el: Fix cycle completion (bug#10963).
4315 Use lexical binding and wrap to 80 columns.
4316 (dabbrev-completion): Delay computing the list of completions.
4317
4b05d722
KH
43182012-03-12 Kenichi Handa <handa@m17n.org>
4319
4320 * international/quail.el (quail-insert-kbd-layout): Surround each
4321 row by LRO and PDF instead of inserting many LRMs. Pad the left
4322 and right of each non-spacing marks. Insert invisible space
4323 between lower and upper characters to prevent composition.
4324
dbbc2e69
SM
43252012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * minibuffer.el (minibuffer-complete): Don't get confused when the
4328 function is run twice via different commands (bug#10958).
4329 (complete-with-action): Fix docstring.
4330
292112ed
CY
43312012-03-12 Chong Yidong <cyd@gnu.org>
4332
5d1ac394
CY
4333 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4334 (nxml-completion-at-point-function): New function.
4335 (nxml-mode): Use it.
4336 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4337
292112ed
CY
4338 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4339 Load generated autoloads file before byte compiling (Bug#10970).
4340 (package--make-autoloads-and-compile): New helper fun.
4341
4098f8f7
CS
43422012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4343
4344 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4345
8f754691
MA
43462012-03-11 Michael Albinus <michael.albinus@gmx.de>
4347
4348 * autorevert.el (auto-revert-handler): Ensure, that
4349 file-readable-p is applied only for local files or in
4350 auto-revert-tail-mode.
4351
e29ab36b
AS
43522012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4353
dbbc2e69
SM
4354 * server.el (server-eval-at): Handle non-tcp connections.
4355 Decode result string.
ad0bf5b6 4356
e29ab36b
AS
4357 * server.el (server-msg-size): New constant.
4358 (server-reply-print): New function.
4359 (server-eval-and-print): Use it.
4360 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4361 Handle -print-nonl.
4362
de5939ba
CS
43632012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4364
4365 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4366 (Bug#10987).
4367
0c93eabf
CY
43682012-03-11 Chong Yidong <cyd@gnu.org>
4369
397a688f
CY
4370 * simple.el (goto-line): Doc fix (Bug#9938).
4371
2cc775f9
CY
4372 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4373
0c93eabf
CY
4374 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4375 when finished (Bug#10963).
4376
c491fa41
MR
43772012-03-11 Martin Rudalics <rudalics@gmx.at>
4378
4379 * window.el (split-window-below): Fix bug in case where
4380 split-window-keep-point is nil (Bug#10971).
4381
300e8fa5
JL
43822012-03-11 Juri Linkov <juri@jurta.org>
4383
4384 * replace.el (replace-highlight): Set isearch-word to nil
4385 unconditionally. (Bug#10887)
4386
dbf6c5a1
EZ
43872012-03-10 Eli Zaretskii <eliz@gnu.org>
4388
4389 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4390 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4391 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4392 (mairix-widget-create-query): Add usage information about mairix
4393 search forms: negating words, searching for substrings, etc.
4394
b9e501de
JP
43952012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4396
4397 * international/fontset.el (font-encoding-alist): Add an entry for
4398 ksx1001 (Bug#5667).
4399
92795c91
RS
44002012-03-10 Richard Stallman <rms@gnu.org>
4401
1694e6c1
RS
4402 * mail/sendmail.el (mail-encode-header):
4403 Set rfc2047-encode-encoded-words.
4404
607e8555
RS
4405 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4406
de3bc99a
RS
4407 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4408 view buffer means not swapped.
4409 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4410 (rmail-write-region-annotate): Error if real text has disappeared.
4411
92795c91
RS
4412 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4413
699bd04e
CY
44142012-03-10 Chong Yidong <cyd@gnu.org>
4415
4416 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4417 * emulation/cua-base.el (cua--init-keymaps):
4418 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4419
570a1714
MR
44202012-03-10 Martin Rudalics <rudalics@gmx.at>
4421
dbbc2e69
SM
4422 * speedbar.el (speedbar-unhighlight-one-tag-line):
4423 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4424
82dcf4e4
CY
44252012-03-10 Chong Yidong <cyd@gnu.org>
4426
7a2c7ca7
CY
4427 * minibuffer.el (completion-in-region, completion-help-at-point):
4428 Give the completion field overlay a high priority (Bug#6830).
4429
82dcf4e4
CY
4430 * dired.el (dired-goto-file): Recognize absolute file name
4431 listings (Bug#7126).
4432 (dired-goto-file-1): New helper function.
4433 (dired-toggle-read-only): Inhibit warnings.
4434
052e28ac
MA
44352012-03-09 Michael Albinus <michael.albinus@gmx.de>
4436
75f1671a 4437 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4438 there are no properties.
4439
95d5e396
LL
44402012-03-09 Leo Liu <sdl.web@gmail.com>
4441
4442 * savehist.el (savehist-printable): Stricter check for string
4443 value (Bug#10937).
4444
3f018d6d
EZ
44452012-03-09 Eli Zaretskii <eliz@gnu.org>
4446
dbbc2e69
SM
4447 * mail/smtpmail.el (smtpmail-send-it):
4448 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4449 valid mbox format.
4450
f7fd3d79
GM
44512012-03-09 Glenn Morris <rgm@gnu.org>
4452
4453 * files.el (dir-locals-find-file):
4454 Don't check result is regular, readable.
4455 (dir-locals-read-from-file): Demote errors.
4456
6ff6e72f
EZ
44572012-03-08 Eli Zaretskii <eliz@gnu.org>
4458
dbbc2e69
SM
4459 * international/quail.el (quail-insert-kbd-layout):
4460 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4461 layout cell, to prevent their reordering by bidi display engine.
4462 For details, see the discussion in
4463 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4464
9cec7834
AM
44652012-03-08 Alan Mackenzie <acm@muc.de>
4466
4467 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4468 the starting position; make it extend the marked region when
4469 invoked repeatedly - all under appropriate circumstances.
4470 Fixes bugs #5525, #10906.
4471
9a40b8d4
GM
44722012-03-08 Glenn Morris <rgm@gnu.org>
4473
4474 * files.el (locate-dominating-file, dir-locals-find-file):
4475 Undo 2012-03-06 change.
4476
7a08ed35
EZ
44772012-03-07 Eli Zaretskii <eliz@gnu.org>
4478
dbbc2e69
SM
4479 * international/quail.el (quail-help):
4480 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4481 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4482 for the reason.
4483
5aca4f71 44842012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4485
4486 Avoid superfluous registering of signals. (Bug#10807)
4487
4488 * notifications.el (notifications-on-action-object)
4489 (notifications-on-close-object): New defvars.
4490 (notifications-on-action-signal, notifications-on-closed-signal):
4491 Unregister the signal if not needed any longer.
4492 (notifications-notify): Register `notifications-action-signal' or
4493 `notifications-closed-signal', if :on-action or :on-close has been
4494 passed as argument.
4495
78e8b10a
CY
44962012-03-07 Chong Yidong <cyd@gnu.org>
4497
4498 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4499 non-X platforms.
4500
69481eb8
GM
45012012-03-06 Glenn Morris <rgm@gnu.org>
4502
4503 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4504 (x-disown-selection-internal, x-get-selection-internal):
4505 Doc fix (add arglist signatures). (Bug#10783)
4506
133b8e11
KS
45072012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4508
4509 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4510 Handle breakpoints with no "type".
4511
99a83064
GM
45122012-03-06 Glenn Morris <rgm@gnu.org>
4513
4514 * files.el (locate-dominating-file): Add optional predicate argument.
4515 (dir-locals-find-file): Make use of above change.
4516
17798e78
TTN
45172012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4518
4519 * info.el (Info-insert-dir): Also try "dir.gz".
4520
eb182446
GM
45212012-03-06 Glenn Morris <rgm@gnu.org>
4522
8f2114ee
GM
4523 * files.el (dir-locals-find-file):
4524 Ignore non-readable or non-regular files. (Bug#10928)
4525
eb182446
GM
4526 * files.el (locate-dominating-file): Doc fix.
4527
24679323
AS
45282012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4529
4530 * calendar/calendar.el (calendar-set-mode-line):
4531 `getenv' returns a string. (Bug#10951)
4532
01d972a9
LL
45332012-03-05 Leo Liu <sdl.web@gmail.com>
4534
109aa8a9
LL
4535 * simple.el (backward-delete-char-untabify): Constrain point to
4536 field (Bug#10939).
4537
01d972a9
LL
4538 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4539
10607bea
CY
45402012-03-05 Chong Yidong <cyd@gnu.org>
4541
4542 * simple.el (count-words): If called from Lisp, return the word
4543 count, for symmetry with `count-lines'. Arglist changed.
4544 (count-words--message): Args changed. Consolidate counting code
4545 from count-words and count-words-region.
4546 (count-words-region): Caller changed.
4547 (count-lines-region): Make it an obsolete alias.
4548
5dd11cfe
TH
45492012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4550
4551 * saveplace.el (save-place-to-alist)
4552 (save-place-ignore-files-regexp): Allow value nil to disable this
4553 feature.
4554
c349f4e6
CY
45552012-03-04 Chong Yidong <cyd@gnu.org>
4556
4557 * faces.el (face-spec-reset-face): For the default face, reset the
4558 attributes to default values (Bug#10748).
4559
e627be4c
LMI
45602012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4561
4562 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4563 previous patch: Check `message-send-mail-function', and not the
4564 default function (bug#10897).
4565
ebeabff4
MA
45662012-03-04 Michael Albinus <michael.albinus@gmx.de>
4567
a41a6cf4
MA
4568 * notifications.el (notifications-on-action-signal)
4569 (notifications-on-closed-signal): Check for unique service name of
4570 incoming event. Fix error in removing entry.
ebeabff4 4571 (top): Register for signals with wildcard service name.
a41a6cf4 4572 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4573
c1ca42b4
CY
45742012-03-04 Chong Yidong <cyd@gnu.org>
4575
dc9924b8 4576 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4577
ea16568d
GM
45782012-03-04 Glenn Morris <rgm@gnu.org>
4579
4580 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4581 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4582 (expand-abbrev, define-abbrev-table): Doc fixes.
4583
fbae4637
LMI
45842012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4585
4586 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4587 `message-default-send-mail-function' and not `send-mail-function'
4588 when doing the prompting for `sendmail-query-once' before sending
4589 in Message buffers (bug#10897).
4590
a1e7225c
LMI
4591 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4592 This is inconsistent with all the other stream functions, which leave
4593 the setting up to the higher levels (if so wanted) (bug#10931).
4594
56d093a9
AM
45952012-03-02 Alan Mackenzie <acm@muc.de>
4596
4597 Depessimize the handling of very large macros.
4598
4599 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4600 (c-macro-cache-syntactic): New variables to implement a one
4601 element macro cache.
4602 (c-invalidate-macro-cache): New function.
4603 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4604 Adapt to use the new cache.
4605 (c-state-safe-place): Use better the cache of safe positions.
4606 (c-state-semi-nonlit-pos-cache)
4607 (c-state-semi-nonlit-pos-cache-limit):
4608 New variables for...
4609 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4610 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4611 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4612 Use c-state-semi-safe-place.
56d093a9 4613
dbbc2e69
SM
4614 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4615 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4616
817e5c3d
MA
46172012-03-02 Michael Albinus <michael.albinus@gmx.de>
4618
dbbc2e69
SM
4619 * jka-compr.el (jka-compr-call-process):
4620 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4621 not remote.
4622
a032a702
MA
46232012-03-01 Michael Albinus <michael.albinus@gmx.de>
4624
4625 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4626 access of FILE2, if FILE1 does not exist.
4627
99a54f21
MA
4628 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4629 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4630
4631 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4632 Add "PAGER=" to `process-environment'.
4633
f6561e1f
MM
46342012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4635
4636 * progmodes/sql.el: Bug fix
4637 (sql-get-login-ext): Save login values in globals.
4638 (sql-get-login): Use new version of `sql-get-login-ext'.
4639 (sql-interactive-mode): Set global `sql-connection' to nil.
4640 (sql-connect): Set global values for connection.
4641 (sql-product-interactive): Save global values as buffer local.
4642
2d44d9cc
LL
46432012-02-29 Leo Liu <sdl.web@gmail.com>
4644
4645 * abbrev.el (define-abbrevs): Reset sys to nil.
4646
96b49301 46472012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4648
bf7f9bc5
JB
4649 * files.el (file-equal-p): Rename from `files-equal-p'.
4650 Return nil when one or both files don't exist.
96b49301 4651 (file-subdir-of-p): Now only top directory must exists,
4652 return nil if it doesn't.
bf7f9bc5
JB
4653 (copy-directory): No need to test with `file-subdir-of-p' after
4654 creating dir.
4655 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4656 to `file-equal-p'.
96b49301 4657
44e97401
GM
46582012-02-28 Glenn Morris <rgm@gnu.org>
4659
4660 * shell.el (shell-mode):
4661 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4662 * play/landmark.el (landmark-font-lock-face-O):
4663 * play/handwrite.el (handwrite):
4664 * play/gomoku.el (gomoku-O):
4665 * net/browse-url.el (browse-url-browser-display):
4666 * international/mule.el (define-charset):
4667 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4668 * filesets.el (filesets-find-file-delay):
4669 * eshell/em-xtra.el (eshell-xtra):
4670 * eshell/em-unix.el (eshell-grep):
4671 * emulation/viper.el (viper-mode):
4672 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4673 * emacs-lisp/easymenu.el (easy-menu-define):
4674 * calendar/timeclock.el (timeclock-use-display-time):
4675 * bs.el (bs-mode):
4676 * bookmark.el (bookmark-save-flag):
4677 Doc fix (standardize possessive apostrophe usage).
4678
c98c6276
CY
46792012-02-27 Chong Yidong <cyd@gnu.org>
4680
bf7f9bc5
JB
4681 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4682 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4683
c98c6276
CY
4684 * font-lock.el (font-lock-specified-p): Rename from
4685 font-lock-spec-present. Callers changed.
4686
9c62cd04 46872012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4688
bf7f9bc5
JB
4689 * emacs-lisp/package.el (package-compute-transaction):
4690 Handle holding a package version to t in package-load-list.
8ac9e529 4691
530739c9
MA
46922012-02-26 Michael Albinus <michael.albinus@gmx.de>
4693
4694 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4695 (tramp-get-inode, tramp-get-device): Use cached values.
4696
487915d7
AM
46972012-02-26 Alan Mackenzie <acm@muc.de>
4698
4699 Check there is a font-lock specification before doing initial
4700 fontification.
4701
4702 * font-core.el (font-lock-mode): Move the conditional from
4703 :after-hook to font-lock-initial-fontify.
4704 (font-lock-default-function): Move the check for a specification
4705 to font-lock-spec-present.
4706
dc9924b8 4707 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4708 (font-lock-spec-present): New function.
4709
4fd96557
JB
47102012-02-26 Jim Blandy <jimb@red-bean.com>
4711
4712 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4713 (gdb-send): Apply it to the operand of the '-interpreter-exec
4714 console' command, so that we can pass arguments with (say) quotes
4715 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4716
9a4888c0
CY
47172012-02-26 Chong Yidong <cyd@gnu.org>
4718
07498861
CY
4719 * help-fns.el (describe-function-1): Clarify description of
4720 remapping (Bug#10844).
4721
9a4888c0
CY
4722 * files.el (files-equal-p): Doc fix.
4723 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4724 and quit the loop once a mismatch is found.
4725
ea8fb88d
JB
47262012-02-25 Juanma Barranquero <lekktu@gmail.com>
4727
4728 * bs.el (bs--show-with-configuration): Don't throw an error
4729 if the window cannot be split; otherwise, subsequent calls to
4730 bs-show fail, restoring a stale window config. (Bug#10882)
4731
525795c1
JD
47322012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4733
4734 * term/ns-win.el (global-map): Bind ns-drag-file to
4735 ns-find-file (Bug#5855, Bug#10050).
4736
f008086f
AS
47372012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4738
4739 * calendar/parse-time.el (parse-time-string): Allow extractor to
4740 return nil.
4741
a3fcfa99
MA
47422012-02-25 Michael Albinus <michael.albinus@gmx.de>
4743
91027d08
JB
4744 * net/tramp.el (tramp-file-name-for-operation):
4745 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4746
4747 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4748 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4749 Add COPY-CONTENTS argument.
a3fcfa99 4750
67b0de11
CY
47512012-02-25 Chong Yidong <cyd@gnu.org>
4752
4753 Add custom groups for VC backends, for consistency with vc-bzr.
4754
4755 * vc/vc-arch.el (vc-arch):
4756 * vc/vc-cvs.el (vc-cvs):
4757 * vc/vc-git.el (vc-git):
4758 * vc/vc-hg.el (vc-hg):
4759 * vc/vc-mtn.el (vc-mtn):
4760 * vc/vc-rcs.el (vc-rcs):
4761 * vc/vc-sccs.el (vc-sccs):
4762 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4763 All relevant defcustoms reassigned.
4764
3c9dfce6
CY
47652012-02-25 Chong Yidong <cyd@gnu.org>
4766
1339bf43
CY
4767 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4768
3c9dfce6
CY
4769 * term/x-win.el (x-initialize-window-system): Reduce default for
4770 x-selection-timeout to 5 seconds (Bug#8869).
4771
25b2e303 47722012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4773
ec70a47d
GM
4774 * files.el (files-equal-p, file-subdir-of-p): New functions.
4775 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4776 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4777 * dired-aux.el (dired-copy-file-recursive): Same.
4778 (dired-create-files): Modify destination when source is equal to
4779 dest when copying files.
53a46cd0 4780 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4781
914260cd
MA
47822012-02-24 Michael Albinus <michael.albinus@gmx.de>
4783
4784 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4785 (Bug#10874)
4786
2cb228f7
AM
47872012-02-23 Alan Mackenzie <acm@muc.de>
4788
4789 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4790 parameter "after-hook:" to allow the expansion to run code after
4791 the execution of the mode hooks.
4792
4793 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4794 from font-lock-mode-internal.
2cb228f7 4795
91027d08 4796 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4797 :after-hook.
4798
8f0fde21
SM
47992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4800
3e88618b
SM
4801 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4802 (completion--cache-all-sorted-completions): New function.
4803 (completion-all-sorted-completions): Use it.
4804 (completion--do-completion, minibuffer-force-complete):
4805 Use it to re-instate the flush hook.
4806
8f0fde21
SM
4807 * icomplete.el (icomplete-completions): Replace last fix with a better
4808 one (bug#10850).
4809
8e911f6f
DG
48102012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4811
4812 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4813 when it might call us back infinitely (bug#10797).
4814
49fe4321
GM
48152012-02-23 Glenn Morris <rgm@gnu.org>
4816
4817 * minibuffer.el (completion-category-overrides): Doc fix.
4818
b291b572
SM
48192012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4822 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4823
31a9ef2e
GM
48242012-02-23 Glenn Morris <rgm@gnu.org>
4825
5e6e6794 4826 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4827 (authors-obsolete-files-regexps, authors-ignored-files)
4828 (authors-ambiguous-files, authors-renamed-files-alist):
4829 Add more entries.
4830
0bd1e074
JL
48312012-02-23 Juri Linkov <juri@jurta.org>
4832
4833 * isearch.el (isearch-occur): Sync interactive spec with occur's
4834 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4835
b617673c
JL
4836 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4837
19e9789e
JL
48382012-02-22 Juri Linkov <juri@jurta.org>
4839
4840 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4841 (ucs-insert): Doc fix. Check for hex digits in the string.
4842 Don't display `nil' in the error message. (Bug#10857)
4843
f41ce09d
AM
48442012-02-22 Alan Mackenzie <acm@muc.de>
4845
7a71b18d 4846 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4847
ac2eceee
GM
48482012-02-22 Glenn Morris <rgm@gnu.org>
4849
4850 * ffap.el (ffap-c-path):
4851 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4852
abd1f678
CY
48532012-02-22 Chong Yidong <cyd@gnu.org>
4854
4855 * custom.el (load-theme): Doc fix.
4856
f25aef2e
GM
48572012-02-22 Glenn Morris <rgm@gnu.org>
4858
4859 * dired-x.el (dired-guess-shell-alist-default):
4860 Remove escape sequences from nroff output. (Bug#172)
4861
5f8dc2ca
GM
48622012-02-21 Glenn Morris <rgm@gnu.org>
4863
6ff86ec4
GM
4864 * vc/emerge.el (emerge-defvar-local):
4865 Set `permanent-local' property rather than unused `preserved'.
4866
be3223a3 4867 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4868 (picture-mode-map): Use it. (Bug#10860)
4869 (picture-mode): Doc fix.
4870
3fe58f4f
JB
48712012-02-21 Juanma Barranquero <lekktu@gmail.com>
4872
4873 * newcomment.el (uncomment-region-default): Remove unused binding.
4874
f9a998c3
GM
48752012-02-21 Glenn Morris <rgm@gnu.org>
4876
4877 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4878 (picture-self-insert, picture-tab-chars): Doc fix.
4879 (picture-mode-map): Fix C-a, C-e.
4880
c6029348
GM
48812012-02-20 Glenn Morris <rgm@gnu.org>
4882
4883 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4884
ab1ce9d7
LL
48852012-02-20 Leo Liu <sdl.web@gmail.com>
4886
4887 * icomplete.el (icomplete-completions): Check FROM arg before
4888 passing to substring (Bug#10850).
4889
0fd40f89
CY
48902012-02-19 Chong Yidong <cyd@gnu.org>
4891
4892 * comint.el: Require ansi-color.
4893 (comint-output-filter-functions): Add ansi-color-process-output.
4894
4895 * ansi-color.el: Don't set comint-output-filter-functions; it is
4896 now in the initial value defined in comint.el.
4897 (ansi-color-apply-face-function): New variable.
4898 (ansi-color-apply-on-region): Use it.
4899 (ansi-color-apply-overlay-face): New function.
4900
4901 * shell.el (shell): No need to require ansi-color.
4902 (shell-mode): Use ansi-color-apply-face-function to highlight
4903 color escapes using font-lock-face property (Bug#10835).
4904
20af2394
CY
49052012-02-19 Chong Yidong <cyd@gnu.org>
4906
4907 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4908 mode-line formats (Bug#10839).
4909
e23a3fbe
GM
49102012-02-18 Glenn Morris <rgm@gnu.org>
4911
b474519e
GM
4912 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4913
4914 * mail/undigest.el (unforward-rmail-message): Doc fix.
4915
e23a3fbe
GM
4916 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4917
57939ff4
EZ
49182012-02-18 Eli Zaretskii <eliz@gnu.org>
4919
4920 * international/characters.el (script-list): Sync with the latest
4921 Unicode Character Database.
4922
0c23686e
AS
49232012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4924
4925 * international/titdic-cnv.el: Remove duplicate coding tag.
4926 * language/cham.el: Likewise.
4927 * language/tai-viet.el: Likewise.
4928
6818b449
GM
49292012-02-18 Glenn Morris <rgm@gnu.org>
4930
4931 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4932 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4933 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4934 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4935 * calendar/holidays.el (holiday-bahai-holidays)
4936 (calendar-holidays, list-holidays):
4937 Use utf-8 Bahá'í in doc-strings, menus, etc.
4938
0311a3fc
TH
49392012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4940
4941 * saveplace.el (save-place-ignore-files-regexp): New variable
4942 allowing for excluding files from saving their location of point.
4943 The default value matches the temporary commit message editing
4944 files from Git, SVN, Bazaar, and Mercurial.
4945 (save-place-to-alist): Use it.
4946
eb864a71
LM
49472012-02-17 Lawrence Mitchell <wence@gmx.li>
4948 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * newcomment.el (uncomment-region-default): Don't leave extra space
4951 when an arg is provided (bug#8150).
4952
ee0ce425
TZ
49532012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4954
eb864a71 4955 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4956
95ddf442
GM
49572012-02-17 Glenn Morris <rgm@gnu.org>
4958
4959 * net/socks.el: Require network-stream. (Bug#10599)
4960
48dd1e39 49612012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4962
4963 * international/charprop.el:
4964 * international/uni-name.el:
4965 * international/uni-old-name.el:
4966 * international/uni-comment.el: Regenerate.
4967
d68cd087
GM
49682012-02-16 Glenn Morris <rgm@gnu.org>
4969
4970 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4971 Interactively in calendar buffer, give an error if not on a date.
4972
13932042
GM
49732012-02-15 Glenn Morris <rgm@gnu.org>
4974
4975 * shell.el (shell-delimiter-argument-list):
4976 Revert 2011-02-17 change. (Bug#8027)
4977
c3a70e2b
CY
49782012-02-15 Chong Yidong <cyd@gnu.org>
4979
60236b0d
CY
4980 * minibuffer.el (completion-at-point-functions): Doc fix.
4981
c3a70e2b
CY
4982 * custom.el (defcustom): Doc fix; note use of defvar.
4983
9f26dc24
GM
49842012-02-15 Glenn Morris <rgm@gnu.org>
4985
4986 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4987 Doc fixes.
4988
6546b134
GM
49892012-02-14 Glenn Morris <rgm@gnu.org>
4990
4991 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4992
d29b2b4c
LI
49932012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4994
4995 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4996 way the ports list is computed.
835bdcba
LI
4997 (smtpmail-query-smtp-server): Prompt the user for a port number if
4998 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4999
08dcdbc9
TZ
50002012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5001
5002 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5003
2605051a
GM
50042012-02-13 Glenn Morris <rgm@gnu.org>
5005
5006 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5007
7ee99f32
TZ
50082012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5009
5010 * net/gnutls.el (gnutls-trustfiles): New variable.
5011 (gnutls-negotiate): Use it.
5012
5f0af64f
LI
50132012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5014
5015 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5016 does its stuff if Gnus is running.
5017
c14fcc95
AM
50182012-02-13 Alan Mackenzie <acm@muc.de>
5019
5020 Fix a loop in c-set-fl-decl-start.
5021
7a71b18d 5022 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5023 c-backward-syntactic-ws actually moves backwards.
5024
142b4d90
LL
50252012-02-13 Leo Liu <sdl.web@gmail.com>
5026
5027 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5028 beginning so that all \C-o chars are removed.
5029
fa9958a6
TZ
50302012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5031
dc9924b8 5032 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5033
0bc5886a
AM
50342012-02-12 Alan Mackenzie <acm@muc.de>
5035
5036 Fix infinite loop with long macros.
4d6769e1 5037 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5038
d4bd55e7
CY
50392012-02-12 Chong Yidong <cyd@gnu.org>
5040
5041 * window.el (display-buffer): Doc fix (Bug#10785).
5042
66f3fe22
GM
50432012-02-12 Glenn Morris <rgm@gnu.org>
5044
bd7da63e
GM
5045 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5046 (x-disown-selection-internal, x-get-selection-internal):
5047 Sync docs with the xselect.c versions.
5048
66f3fe22
GM
5049 * allout-widgets.el: Add missing license notice.
5050
3e0d2fa7
GM
50512012-02-11 Glenn Morris <rgm@gnu.org>
5052
cfecdf09
GM
5053 * select.el (x-get-selection-internal, x-own-selection-internal)
5054 (x-disown-selection-internal):
5055 * x-dnd.el (x-get-selection-internal): Update declarations.
5056
6d216d7f
GM
5057 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5058
2bed3f04
GM
5059 * window.el (window-sides-slots):
5060 * tool-bar.el (tool-bar-position):
5061 * term/xterm.el (xterm-extra-capabilities):
5062 * ses.el (ses-self-reference-early-detection):
5063 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5064 (verilog-auto-wire-type)
5065 (verilog-auto-delete-trailing-whitespace)
5066 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5067 (verilog-auto-tieoff-declaration):
5068 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5069 (sql-oracle-statement-starters, sql-oracle-scan-on):
5070 * progmodes/prolog.el (prolog-align-comments-flag)
5071 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5072 (prolog-left-indent-regexp, prolog-paren-indent-p)
5073 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5074 (prolog-types, prolog-mode-specificators)
5075 (prolog-determinism-specificators, prolog-directives)
5076 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5077 (prolog-electric-dot-flag)
5078 (prolog-electric-dot-full-predicate-template)
5079 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5080 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5081 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5082 (prolog-program-switches, prolog-prompt-regexp)
5083 (prolog-debug-on-string, prolog-debug-off-string)
5084 (prolog-trace-on-string, prolog-trace-off-string)
5085 (prolog-zip-on-string, prolog-zip-off-string)
5086 (prolog-use-standard-consult-compile-method-flag)
5087 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5088 (prolog-imenu-max-lines, prolog-info-predicate-index)
5089 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5090 (prolog-char-quote-workaround):
5091 * progmodes/cc-vars.el (c-defun-tactic):
5092 * net/tramp.el (tramp-encoding-command-interactive)
5093 (tramp-local-end-of-line):
5094 * net/soap-client.el (soap-client):
5095 * net/netrc.el (netrc-file):
5096 * net/gnutls.el (gnutls):
5097 * minibuffer.el (completion-category-overrides)
5098 (completion-cycle-threshold)
5099 (completion-pcm-complete-word-inserts-delimiters):
5100 * man.el (Man-name-local-regexp):
5101 * mail/feedmail.el (feedmail-display-full-frame):
5102 * international/characters.el (glyphless-char-display-control):
5103 * eshell/em-ls.el (eshell-ls-date-format):
5104 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5105 (lisp-lambda-list-keyword-parameter-indentation)
5106 (lisp-lambda-list-keyword-parameter-alignment):
5107 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5108 * dired-x.el (dired-omit-verbose):
5109 * cus-theme.el (custom-theme-allow-multiple-selections):
5110 * calc/calc.el (calc-highlight-selections-with-faces)
5111 (calc-lu-field-reference, calc-lu-power-reference)
5112 (calc-note-threshold):
5113 * battery.el (battery-mode-line-limit):
5114 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5115 (archive-7z-update):
5116 * allout.el (allout-prefixed-keybindings)
5117 (allout-unprefixed-keybindings)
5118 (allout-inhibit-auto-fill-on-headline)
5119 (allout-flattened-numbering-abbreviation):
5120 * allout-widgets.el (allout-widgets-auto-activation)
5121 (allout-widgets-icons-dark-subdir)
5122 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5123 (allout-widgets-theme-dark-background)
5124 (allout-widgets-theme-light-background)
5125 (allout-widgets-item-image-properties-emacs)
5126 (allout-widgets-item-image-properties-xemacs)
5127 (allout-widgets-run-unit-tests-on-load)
5128 (allout-widgets-time-decoration-activity)
5129 (allout-widgets-hook-error-post-time)
5130 (allout-widgets-track-decoration):
5131 Add missing :version tags to new defcustoms and defgroups.
5132
5fec1b8e
GM
5133 * progmodes/sql.el (sql-ansi-statement-starters)
5134 (sql-oracle-statement-starters): Add custom type.
5135
3e0d2fa7
GM
5136 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5137 (prolog-system-version): Give it a type.
5138
90b671e2
EZ
51392012-02-11 Eli Zaretskii <eliz@gnu.org>
5140
5141 * term/pc-win.el (x-select-text, x-selection-owner-p)
5142 (x-own-selection-internal, x-disown-selection-internal)
5143 (x-get-selection-internal): Sync doc strings and argument lists
5144 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5145
5eac0c02
LL
51462012-02-11 Leo Liu <sdl.web@gmail.com>
5147
5148 * progmodes/python.el (python-end-of-statement): Fix infinite
5149 loop. (Bug#10788)
5150
f82cb659
GM
51512012-02-10 Glenn Morris <rgm@gnu.org>
5152
5153 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5154 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5155
cc26d239
LI
51562012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5157
5158 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5159 about SMTP before checking the From header.
5160
91027d08 5161 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5162 into own function for reuse by emacsbug.el.
5163
1be3ca5a
LL
51642012-02-10 Leo Liu <sdl.web@gmail.com>
5165
5166 * subr.el (condition-case-unless-debug): Rename from
5167 condition-case-no-debug. All callers changed.
5168 (with-demoted-errors): Fix caller.
5169
5170 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5171 * nxml/rng-valid.el (rng-do-some-validation):
5172 * emacs-lisp/package.el (package-refresh-contents)
5173 (package-menu-execute):
5174 * desktop.el (desktop-create-buffer):
91027d08 5175 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5176
b011fbfe
GM
51772012-02-10 Glenn Morris <rgm@gnu.org>
5178
b2096d72
GM
5179 * textmodes/bibtex.el:
5180 Add missing :version tags for new/changed defcustoms.
5181
b011fbfe
GM
5182 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5183
4c7e65bf
LI
51842012-02-09 Lars Ingebrigtsen <larsi@rusty>
5185
5186 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5187 (smtpmail-via-smtp): Use it, or fall back on the From address.
5188 (smtpmail-send-it): Ditto.
5189
f3934f6f
SM
51902012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5193 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5194 (byte-compile-tmp-var): New const.
5195 (byte-compile-defvar): Use it to minimize .elc size.
5196 Just use `defvar' rather than simulate it (bug#10761).
5197
a075a2c5
GM
51982012-02-09 Glenn Morris <rgm@gnu.org>
5199
cf3aa21b
GM
5200 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5201
354998cd
GM
5202 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5203 Add :version tags.
5204
dc9924b8
SM
5205 * progmodes/compile.el (compilation-error-screen-columns)
5206 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5207
dab3703d
GM
5208 * vc/log-view.el (log-view-toggle-entry-display):
5209 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5210
3f88cd72
GM
5211 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5212 (report-emacs-bug-can-use-xdg-email):
5213 (report-emacs-bug-insert-to-mailer): Doc fixes.
5214 (report-emacs-bug): Message fix.
5215
d95b247d
GM
5216 * net/browse-url.el (browse-url-can-use-xdg-open)
5217 (browse-url-xdg-open): Doc fixes.
5218
a075a2c5
GM
5219 * electric.el (electric-indent-mode, electric-pair-mode)
5220 (electric-layout-rules, electric-layout-mode): Doc fixes.
5221 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5222
ffb6157e
MR
52232012-02-08 Martin Rudalics <rudalics@gmx.at>
5224
5225 * server.el (server-unselect-display): Don't inadvertently kill
5226 the current buffer. (Bug#10729)
5227
e1ac4066
GM
52282012-02-08 Glenn Morris <rgm@gnu.org>
5229
34e8a2da
GM
5230 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5231 (sql-list-table): Doc fixes.
5232
b4ac6e8c
GM
5233 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5234 Comment out (does nothing).
5235
e1ac4066
GM
5236 * completion.el (dynamic-completion-mode):
5237 * dirtrack.el (dirtrack-debug-mode):
5238 * electric.el (electric-layout-mode):
5239 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5240 * face-remap.el (text-scale-mode, buffer-face-mode):
5241 * iimage.el (iimage-mode):
5242 * image-mode.el (image-transform-mode):
5243 * minibuffer.el (completion-in-region-mode):
5244 * scroll-lock.el (scroll-lock-mode):
5245 * simple.el (next-error-follow-minor-mode):
5246 * tar-mode.el (tar-subfile-mode):
5247 * tooltip.el (tooltip-mode):
5248 * vcursor.el (vcursor-use-vcursor-map):
5249 * wid-browse.el (widget-minor-mode):
5250 * emulation/tpu-edt.el (tpu-edt-mode):
5251 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5252 * international/iso-ascii.el (iso-ascii-mode):
5253 * language/thai-util.el (thai-word-mode):
5254 * mail/supercite.el (sc-minor-mode):
5255 * net/goto-addr.el (goto-address-mode):
5256 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5257 * progmodes/cwarn.el (cwarn-mode):
5258 * progmodes/flymake.el (flymake-mode):
5259 * progmodes/glasses.el (glasses-mode):
5260 * progmodes/hideshow.el (hs-minor-mode):
5261 * progmodes/pascal.el (pascal-outline-mode):
5262 * textmodes/enriched.el (enriched-mode):
5263 * vc/smerge-mode.el (smerge-mode):
5264 Doc fixes (minor mode argument).
5265
5e0d957f
EZ
52662012-02-07 Eli Zaretskii <eliz@gnu.org>
5267
5268 * ls-lisp.el (ls-lisp-sanitize): New function.
5269 (ls-lisp-insert-directory): Use it to fix or remove any elements
5270 in file-alist with missing attributes. (Bug#4673)
5271
98d7371e
AM
52722012-02-07 Alan Mackenzie <acm@muc.de>
5273
5274 Fix spurious recognition of c-in-knr-argdecl.
5275
5276 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5277 putative K&R region.
5278
667ced3a
AM
52792012-02-07 Alan Mackenzie <acm@muc.de>
5280
eb864a71
LM
5281 * progmodes/cc-engine.el (c-forward-objc-directive):
5282 Prevent looping in "#pragma mark @implementation".
667ced3a 5283
5b77774d
MA
52842012-02-07 Michael Albinus <michael.albinus@gmx.de>
5285
5286 * notifications.el (notifications-on-closed-signal): Make `reason'
5287 optional. (Bug#10744)
5288
af008560
GM
52892012-02-07 Glenn Morris <rgm@gnu.org>
5290
60d47423
GM
5291 * emacs-lisp/easy-mmode.el (define-minor-mode):
5292 Doc fixes for the macro and the mode it defines.
5293
dd605cc4
GM
5294 * image.el (imagemagick-types-inhibit): Doc fix.
5295
af008560
GM
5296 * cus-start.el (imagemagick-render-type): Add it.
5297
5cc59a37
LI
52982012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5299
4d6769e1
JB
5300 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5301 Set the default at load time, too, so that `font-lock-fontify-buffer'
5302 can be called without setting up the entire mode first. This fixes
5303 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5304
9a6dd747
CY
53052012-02-06 Chong Yidong <cyd@gnu.org>
5306
2d16b285
CY
5307 * simple.el (list-processes--refresh): Delete exited processes
5308 (Bug#8094).
5309
171e9b6e
CY
5310 * comint.el (comint-next-prompt): next-single-char-property-change
5311 and prev-single-char-property-change never return nil (Bug#8657).
5312
9a6dd747
CY
5313 * custom.el (defcustom): Doc fix (Bug#9711).
5314
aa4589a7
CY
53152012-02-05 Chong Yidong <cyd@gnu.org>
5316
5c2a252f
CY
5317 * cus-edit.el (custom-variable-reset-backup): Quote the value
5318 before storing it in the customized-value property (Bug#6712).
4aab9006 5319 (custom-display): Add a customization type tag.
983b9602 5320 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5321
aa4589a7
CY
5322 * wid-edit.el (widget-field-value-get): New optional arg to
5323 suppress trailing whitespace truncation.
5324 (character): Use it (Bug#2689).
5325
1ff980ae
AS
53262012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5327
5328 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5329 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5330
03988c98
CY
53312012-02-05 Chong Yidong <cyd@gnu.org>
5332
eeb6cc88
CY
5333 * cus-edit.el (custom-variable-value-create): For mismatched
5334 types, show the current value (Bug#7600).
5335
03988c98
CY
5336 * custom.el (defcustom): Doc fix.
5337
f8cdeef0
GM
53382012-02-05 Glenn Morris <rgm@gnu.org>
5339
5340 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5341
0696d255
JB
53422012-02-05 Juanma Barranquero <lekktu@gmail.com>
5343
5344 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5345 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5346 (pp-last-sexp): Use `looking-at-p'.
5347
34c99998
GM
53482012-02-04 Glenn Morris <rgm@gnu.org>
5349
8f05da42
GM
5350 * files.el (revert-buffer):
5351 Doc fix (mention revert-buffer-in-progress-p).
5352
f160676e
GM
5353 * emacs-lisp/ert-x.el (ert-simulate-command):
5354 Check deferred-action-list (which is obsolete) is bound.
5355
c7291ad9
GM
5356 * subr.el (with-wrapper-hook): Doc fixes.
5357
34c99998
GM
5358 * simple.el (filter-buffer-substring-functions)
5359 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5360
6283a7d3
LL
53612012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5362
5363 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5364 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5365
e96e3013
LL
53662012-02-04 Leo Liu <sdl.web@gmail.com>
5367
5368 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5369
8ded50f2
GM
53702012-02-04 Glenn Morris <rgm@gnu.org>
5371
82ff1d13
GM
5372 * image.el (image-extension-data): Add obsolete alias.
5373
987a0a16
GM
5374 * isearch.el (isearch-update): Doc fix.
5375
ea32ef46
GM
5376 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5377
8ded50f2
GM
5378 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5379
eea14f31
GM
53802012-02-03 Glenn Morris <rgm@gnu.org>
5381
5382 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5383 (image-animate-timeout): Doc fix.
5384
5385 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5386
12f381b7
GM
53872012-02-02 Glenn Morris <rgm@gnu.org>
5388
953cebf5
GM
5389 * server.el (server-auth-dir): Doc fix.
5390 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5391
12f381b7
GM
5392 * subr.el (run-mode-hooks): Doc fix.
5393
953a8c3b
JL
53942012-02-02 Juri Linkov <juri@jurta.org>
5395
5396 * image-mode.el (image-toggle-display-image): Remove tautological
5397 `major-mode' from the `derived-mode-p' test.
5398
c5d3843c
KH
53992012-02-02 Kenichi Handa <handa@m17n.org>
5400
9f6e692e 5401 * composite.el (compose-region): Cancel previous change.
c5d3843c 5402
159462d4 54032012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5404
5405 * composite.el (compose-region, compose-string): Signal error for
5406 a null string component (Bug#6988).
5407
9f562668
CY
54082012-02-01 Chong Yidong <cyd@gnu.org>
5409
e2cef717
CY
5410 * view.el (view-buffer-other-window, view-buffer-other-frame):
5411 Handle special modes like view-buffer (Bug#10650).
5412 (view-buffer): Simplify.
5413
9f562668
CY
5414 * frame.el (set-frame-font): Tweak meaning of third argument.
5415
9f6e692e
JB
5416 * dynamic-setting.el (font-setting-change-default-font):
5417 Use set-frame-font (Bug#9982).
9f562668 5418
781acb9f
GM
54192012-02-01 Glenn Morris <rgm@gnu.org>
5420
6035be52
GM
5421 * progmodes/compile.el (compilation-internal-error-properties):
5422 Respect compilation-first-column in the "*compilation*" buffer.
5423
781acb9f
GM
5424 * emacs-lisp/easy-mmode.el (define-minor-mode):
5425 Relax :variable's test for a named function.
5426
abbceb00
AM
54272012-01-31 Alan Mackenzie <acm@muc.de>
5428
5429 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5430 off by one error.
5431
fce3fdeb
CY
54322012-01-31 Chong Yidong <cyd@gnu.org>
5433
5434 * frame.el (set-frame-font): New arg ALL-FRAMES.
5435
5436 * menu-bar.el (menu-set-font): Use set-frame-font.
5437
5438 * faces.el (face-spec-reset-face): Don't apply unspecified
5439 attribute values to the default face.
5440
47893581
JB
54412012-01-31 Juanma Barranquero <lekktu@gmail.com>
5442
5443 * progmodes/cwarn.el (cwarn): Remove dead link.
5444 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5445 Remove * from defcustom docstrings.
5446 (turn-on-cwarn-mode): Make obsolete.
5447 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5448 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5449
e58e988a
GM
54502012-01-31 Glenn Morris <rgm@gnu.org>
5451
60dc2671 5452 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5453 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5454 Allow named functions to be used as the cdr of :variable.
e58e988a 5455
7a3f511d
GM
54562012-01-30 Glenn Morris <rgm@gnu.org>
5457
5458 * emacs-lisp/authors.el (authors-fixed-entries):
5459 Remove reference to deleted file rnewspost.el.
5460
cb882333
JB
54612012-01-29 Juanma Barranquero <lekktu@gmail.com>
5462
5463 * window.el (window-with-parameter): Remove unused variable `windows'.
5464 (window--side-check): Remove unused variable `code'.
5465 (window--resize-siblings): Remove unused variable `first'.
5466 (adjust-window-trailing-edge): Remove unused variable `failed'.
5467 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5468 Use `let', not `let*'.
5469 (balance-windows-2): Remove unused variable `found'.
5470 (window--state-put-2): Remove unused variable `splits'.
5471 (window-state-put): Remove unused variable `selected'.
5472 (same-window-p): Use `string-match-p'.
5473 (display-buffer-assq-regexp): Remove unused variable `value'.
5474 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5475 Mark argument ALIST as ignored.
5476 (pop-to-buffer): Remove unused variable `old-window'.
5477
907201af
EZ
54782012-01-29 Eli Zaretskii <eliz@gnu.org>
5479
5480 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5481 and .lzma compressed files.
5482
ea162670
CY
54832012-01-29 Chong Yidong <cyd@gnu.org>
5484
5b95ee8a
CY
5485 * frame.el (window-system-default-frame-alist): Doc fix.
5486
ea162670
CY
5487 * dynamic-setting.el (font-setting-change-default-font): Don't
5488 change the default face if SET-FONT argument is non-nil (Bug#9982).
5489
d6e6f4b1
SB
54902012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5491
5492 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5493
0f29fa41 54942012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5495
5496 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5497 breakpoints in files outside current directory (Bug#6098).
5498
db174434
CY
54992012-01-29 Chong Yidong <cyd@gnu.org>
5500
6b25e4e2
SE
5501 * progmodes/python.el: Require ansi-color at top-level.
5502
6df6ae42
JB
5503 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5504 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5505 (lisp-mode-abbrev-table): Add doc.
5506 (lisp-mode-variables): Don't set local-abbrev-table.
5507 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5508
e70ee681
RW
55092012-01-28 Roland Winkler <winkler@gnu.org>
5510
5511 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5512
ace88aa2
RW
55132012-01-28 Roland Winkler <winkler@gnu.org>
5514
5515 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5516 (bibtex-set-dialect): Use it. Either set global values of
5517 dialect-dependent variables or bind these variables buffer-locally
5518 (Bug#10254).
5519 (bibtex-mode): Call bibtex-set-dialect via
5520 hack-local-variables-hook.
eb864a71
LM
5521 (bibtex-dialect): Update docstring.
5522 Add safe-local-variable predicate.
ace88aa2
RW
5523 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5524 bibtex-set-dialect.
5525 (bibtex-mode-map): Define menu for each dialect.
5526 (bibtex-entry): Fix docstring.
5527
93376c5b
CY
55282012-01-28 Chong Yidong <cyd@gnu.org>
5529
5530 * eshell/esh-arg.el (eshell-quote-argument): New function.
5531
5532 * eshell/esh-ext.el (eshell-invoke-batch-file):
5533 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5534 first arg to eshell-parse-command (Bug#10523).
5535
4372494f
DA
55362012-01-28 Drew Adams <drew.adams@oracle.com>
5537
5538 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5539 `default-directory' is non-nil.
5540
4d4ec1f8
EZ
55412012-01-28 Eli Zaretskii <eliz@gnu.org>
5542
5543 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5544 line that displays system-configuration-options. (Bug#9924)
5545
7c188927
DA
55462012-01-28 Drew Adams <drew.adams@oracle.com>
5547
5548 * descr-text.el (describe-char): Show information about POS, in
5549 addition to information about the character at POS. Improve and
5550 update the doc string. Change "code point" to "code point in
5551 charset", to avoid confusion with the character's Unicode code
5552 point shown above that. (Bug#10129)
5553
e0da685a
EZ
55542012-01-28 Eli Zaretskii <eliz@gnu.org>
5555
5556 * descr-text.el (describe-char): Show the raw character, not only
5557 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5558 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5559 for the reasons.
5560
70550acf
PH
55612012-01-28 Phil Hagelberg <phil@hagelb.org>
5562
eb864a71
LM
5563 * emacs-lisp/package.el (package-install):
5564 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5565
0ce8e868
CY
55662012-01-28 Chong Yidong <cyd@gnu.org>
5567
cb882333
JB
5568 * emacs-lisp/package.el (package-maybe-load-descriptor):
5569 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5570 (package-maybe-load-descriptor): Use it.
5571 (package-download-transaction): Fully load required packages
5572 inside the loop, so that `require' calls work (Bug#10593).
5573 (package-install): No need to call package-initialize now.
5574
2e7f3bea
CY
55752012-01-28 Chong Yidong <cyd@gnu.org>
5576
6e9bad14
CY
5577 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5578
f823b8ca
CY
5579 * tooltip.el (tooltip-mode): Doc fix.
5580 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5581
2680c309
CY
5582 * frame.el (set-cursor-color): Doc fix (Bug#352).
5583
d7a9e63b
CY
5584 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5585 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5586
2e7f3bea
CY
5587 * cus-edit.el (custom-buffer-create-internal): Fix search button
5588 action (Bug#10542).
2ae01800 5589 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5590
fc4f7a23
EW
55912012-01-27 Eduard Wiebe <usenet@pusto.de>
5592
5593 * dired.el (dired-mark-files-regexp):
5594 Include any subdirectory components. (Bug#10445)
5595
7dd37071
ML
55962012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5597
5598 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5599 Handle [host]:port syntax. (Bug#10533)
5600
a268160b
AH
56012012-01-27 Alex Harsanyi <harsanyi@mac.com>
5602
5603 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5604
e43273ef
GM
56052012-01-26 Glenn Morris <rgm@gnu.org>
5606
5607 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5608 * term.el (term-raw-escape-map): Use Control-X-prefix.
5609 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5610
1edf595d
MR
56112012-01-25 Martin Rudalics <rudalics@gmx.at>
5612
5613 * window.el (window-state-get, window--state-get-1): Don't deal
5614 with fixed-sizeness of windows. Simplify code.
5615
fa8eafef
JC
56162012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5617
6df6ae42
JB
5618 * window.el (window--state-get-1, window--state-put-2):
5619 Don't save and restore the mark.
fa8eafef 5620
0b21c100
CY
56212012-01-25 Chong Yidong <cyd@gnu.org>
5622
5623 * custom.el (custom-variable-p): Doc fix.
5624
5ae1a6c8
GM
56252012-01-25 Glenn Morris <rgm@gnu.org>
5626
40047858
GM
5627 * dired.el (dired-goto-file): Handle some of the more common
5628 characters that `ls -b' escapes. (Bug#10596)
5629
5ddce96c
GM
5630 * progmodes/compile.el (compilation-next-error-function):
5631 Respect compilation-first-column in the "*compilation*" buffer.
5632 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5633
5ae1a6c8
GM
5634 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5635
b559f1a9
GM
56362012-01-24 Glenn Morris <rgm@gnu.org>
5637
5638 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5639
6725d21a
JD
56402012-01-24 Julien Danjou <julien@danjou.info>
5641
5642 * color.el (color-rgb-to-hsl): Fix value computing.
5643 (color-hue-to-rgb): New function.
5644 (color-hsl-to-rgb): New function.
5645 (color-clamp, color-saturate-hsl, color-saturate-name)
5646 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5647 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5648
70df4bbe
GM
56492012-01-24 Glenn Morris <rgm@gnu.org>
5650
5651 * vc/vc-rcs.el (vc-rcs-create-tag):
5652 * vc/vc-sccs.el (vc-sccs-create-tag):
5653 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5654
802a2ae2
ML
56552012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5656
5657 * eshell/esh-util.el (eshell-read-hosts-file):
5658 Skip comment lines. (Bug#10549)
5659
d7128bb1
ML
5660 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5661
d1a5c3b4
JB
56622012-01-23 Juanma Barranquero <lekktu@gmail.com>
5663
2724d9c7
JB
5664 * subr.el (display-delayed-warnings): Doc fix.
5665 (collapse-delayed-warnings): New function to collapse identical
5666 adjacent warnings.
5667 (delayed-warnings-hook): Add it.
d1a5c3b4 5668
a5509865
MA
56692012-01-22 Michael Albinus <michael.albinus@gmx.de>
5670
5671 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5672
a5509865
MA
5673 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5674 (tramp-default-user-alist): Don't add "pscp".
5675 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5676 property "login-as", if set. (Bug#10530)
5677
cc6d5805
MA
56782012-01-21 Michael Albinus <michael.albinus@gmx.de>
5679
5680 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5681 "plink1" and "psftp". (Bug#10530)
5682
56832012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5684
5685 * international/mule-cmds.el (prefer-coding-system): Show a
5686 warning message if the default value of file-name-coding-system
5687 was not changed.
5688
f0960428
JC
56892012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5690
cb882333
JB
5691 * windmove.el (windmove-reference-loc):
5692 Fix windmove-reference-loc miscalculation.
f0960428 5693
dd6f2a63
JB
56942012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5695
5696 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5697 default unit.
5698
7b447e9b
GM
56992012-01-21 Glenn Morris <rgm@gnu.org>
5700
117a9ea1
GM
5701 * international/mule.el (auto-coding-alist): Add .tbz.
5702
7b447e9b
GM
5703 * files.el (local-enable-local-variables): Doc fix.
5704 (inhibit-local-variables-regexps): Rename from
5705 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5706 Doc fix. Add some extensions from auto-coding-alist.
5707 (inhibit-local-variables-suffixes):
5708 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5709 (inhibit-local-variables-p):
5710 New function, extracted from set-auto-mode-1.
5711 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5712 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5713 (hack-local-variables): Doc fix. Make the mode-only case
5714 respect enable-local-variables and friends.
5715 Respect inhibit-local-variables-regexps for file-locals, but
5716 not for directory-locals.
5717 (set-visited-file-name):
5718 Take account of inhibit-local-variables-regexps.
5719 Whether it applies may change as the file name is changed.
5720 * jka-cmpr-hook.el (jka-compr-install):
5721 * jka-compr.el (jka-compr-uninstall):
5722 Update for inhibit-first-line-modes-suffixes name change.
5723
dd6e3cdd
MR
57242012-01-20 Martin Rudalics <rudalics@gmx.at>
5725
5726 * help-macro.el (make-help-screen): Temporarily restore original
5727 binding for minor-mode-map-alist (Bug#10454).
5728
0d0deb38
JD
57292012-01-19 Julien Danjou <julien@danjou.info>
5730
5731 * color.el (color-name-to-rgb): Use the white color to find the max
5732 color component value and return correctly computed values.
5733 (color-name-to-rgb): Add missing float conversion for max value.
5734
34a02f46
MR
57352012-01-19 Martin Rudalics <rudalics@gmx.at>
5736
5737 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5738 special state value for window-persistent-parameters.
5739 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5740 (window--state-put-2): Reset all window parameters to nil before
5741 assigning values of persistent parameters.
5742
606c44c4
AM
57432012-01-18 Alan Mackenzie <acm@muc.de>
5744
5745 Eliminate sluggishness and hangs in fontification of "semicolon
5746 deserts".
5747
cb882333
JB
5748 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5749 Change value 10000 -> 3000.
606c44c4
AM
5750 (c-state-safe-place): Reformulate so it doesn't stack up an
5751 infinite number of wrong entries in c-state-nonlit-pos-cache.
5752 (c-determine-limit-get-base, c-determine-limit): New functions to
5753 determine backward search limits disregarding literals.
5754 (c-find-decl-spots): Amend commenting.
5755 (c-cheap-inside-bracelist-p): New function which detects "={".
5756
5757 * progmodes/cc-fonts.el
5758 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5759 backward search.
5760 (c-font-lock-declarations): Fix an occurrence of point being
5761 undefined. Check additionally for point being in a bracelist or
5762 near a macro invocation without a semicolon so as to avoid a
5763 fruitless time consuming search for a declarator. Give a more
5764 precise search limit for declarators using the new
5765 c-determine-limit.
5766
f3860cea
GM
57672012-01-18 Glenn Morris <rgm@gnu.org>
5768
5769 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5770 (set-auto-mode): Doc fixes.
5771
1db03b16
GM
57722012-01-17 Glenn Morris <rgm@gnu.org>
5773
0e6038be
GM
5774 * isearch.el (search-nonincremental-instead): Fix doc typo.
5775
1db03b16
GM
5776 * dired.el (dired-insert-directory): Handle newlines in directory name.
5777 (dired-build-subdir-alist): Unescape newlines in directory name.
5778
4cb0aa75
MA
57792012-01-17 Michael Albinus <michael.albinus@gmx.de>
5780
5781 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5782 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5783 (tramp-action-terminal): Use it. (Bug#10530)
5784
1d00653d
SM
57852012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5788
6a6ee00d
MR
57892012-01-16 Martin Rudalics <rudalics@gmx.at>
5790
5791 * window.el (window-state-ignored-parameters): Remove variable.
5792 (window--state-get-1): Rename argument MARKERS to IGNORE.
5793 Handle persistent window parameters. Make copy of clone-of
5794 parameter only if requested. (Bug#10348)
5795 (window--state-put-2): Install a window parameter only if it has
5796 a non-nil value or an existing parameter shall be overwritten.
5797
97912def
MA
57982012-01-15 Michael Albinus <michael.albinus@gmx.de>
5799
5800 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5801
688070a5
EZ
58022012-01-14 Eli Zaretskii <eliz@gnu.org>
5803
5804 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5805 don't pass the (nil) value of `upnode' to string-match.
5806
301afadc
CY
58072012-01-14 Chong Yidong <cyd@gnu.org>
5808
5809 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5810 Fix values recognized by the cursorBlink resource.
301afadc 5811
9e5788aa
PE
58122012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5813
5814 * epg.el (epg--make-temp-file): Avoid permission race condition
5815 when running on old Emacs versions (bug#10403).
5816
3cdb7f5a
GM
58172012-01-14 Glenn Morris <rgm@gnu.org>
5818
5819 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5820
8c82b1b4
AM
58212012-01-13 Alan Mackenzie <acm@muc.de>
5822
5823 Fix filling for when filladapt mode is enabled.
5824
5825 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5826 c-mask-paragraph, pass in `fill-paragraph' rather than
5827 `fill-region-as-paragraph'. (This is a reversion of a previous
5828 change.)
eb864a71
LM
5829 * progmodes/cc-mode.el (c-basic-common-init):
5830 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5831
e517eda4
GM
58322012-01-13 Glenn Morris <rgm@gnu.org>
5833
1498536e
GM
5834 * dired.el (dired-switches-escape-p): New function.
5835 (dired-insert-directory): Use dired-switches-escape-p.
5836 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5837
e517eda4
GM
5838 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5839
328f984d
GM
58402012-01-12 Glenn Morris <rgm@gnu.org>
5841
5842 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5843 changes in adaptive-fill-regexp. (Bug#10276)
5844
2cc769a8
AM
58452012-01-11 Alan Mackenzie <acm@muc.de>
5846
5847 Fix Emacs bug #10463 - put `widen's around the critical spots.
5848
1d00653d 5849 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5850 widen around each invocation of c-state-pp-to-literal. Remove an
5851 unused let variable.
5852
e52c37fa
GM
58532012-01-11 Glenn Morris <rgm@gnu.org>
5854
5855 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5856 Doc fix.
e52c37fa 5857
96f8741e
CY
58582012-01-10 Chong Yidong <cyd@gnu.org>
5859
1d00653d
SM
5860 * net/network-stream.el (network-stream-open-starttls):
5861 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5862 response to the capability command.
5863
b09a806e
GM
58642012-01-10 Glenn Morris <rgm@gnu.org>
5865
5866 * mail/unrmail.el (unrmail): Tweak previous change.
5867
7655cb66
CY
58682012-01-09 Chong Yidong <cyd@gnu.org>
5869
5870 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5871
9d5a8f0b
AM
58722012-01-08 Alan Mackenzie <acm@muc.de>
5873
5874 Optimise font locking in long enum definitions.
5875
5876 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5877 arm to a cond form to handle enums.
5878 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5879 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5880
9a0115ab 58812012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5882
5883 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5884 (Bug#10401)
6bb72cbd 5885
f186bb95
LMI
58862012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5887
29232a68
LMI
5888 * faces.el (set-face-attribute): Clarify the meaning of the nil
5889 frame (bug#10294).
5890
4e5d086d
LMI
5891 * subr.el (with-selected-frame): Mention that the selected frame
5892 is restored (bug#9980).
5893
8e66aebe
LMI
5894 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5895 (bug#9759).
5896
cd394be1 5897 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5898 (password-read): Don't autoload unused function.
5899
adf4e762
JB
59002012-01-07 Juanma Barranquero <lekktu@gmail.com>
5901
5902 * progmodes/which-func.el (which-func-mode): Turn into a
5903 non-interactive function and mark as obsolete (bug#10428).
5904
89bd9ccd
CY
59052012-01-06 Chong Yidong <cyd@gnu.org>
5906
5907 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5908 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5909 functions, along with 1 and -1.
5910
4afee9d5
EZ
59112012-01-06 Eli Zaretskii <eliz@gnu.org>
5912
5913 * time.el (display-time-load-average)
5914 (display-time-default-load-average): Doc fixes. See the thread
5915 starting at
5916 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5917 for the details.
5918
536aea70
GM
59192012-01-06 Glenn Morris <rgm@gnu.org>
5920
665ae865
GM
5921 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5922 has no messages. (Bug#10377)
5923
c869783d
GM
5924 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5925 than Info-edit. (Bug#10385)
5926
2bb4227e
GM
5927 * time.el (display-time-load-average, display-time-next-load-average):
5928 Doc fixes.
5929
7d5944b9
GM
5930 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5931 local setting of buffer-read-only to the input buffer. (Bug#10419)
5932
536aea70
GM
5933 * calendar/calendar.el (calendar-mode):
5934 Locally set scroll-margin to 0. (Bug#10379)
5935
7dccca16
UM
59362012-01-06 Ulrich Mueller <ulm@gentoo.org>
5937
5938 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5939
afbb7930
GM
59402012-01-05 Glenn Morris <rgm@gnu.org>
5941
5942 * eshell/em-unix.el (diff-no-select): Autoload it.
5943 (eshell/diff): Use diff-no-select. (Bug#10420)
5944
04482335
CY
59452012-01-05 Chong Yidong <cyd@gnu.org>
5946
7baca3bc
CY
5947 * shell.el (shell-dynamic-complete-functions): Revert last change.
5948 (shell-command-completion-function): New function.
5949 (shell-completion-vars): Use it to implement
5950 shell-completion-execonly (Bug#10417).
5951
04482335
CY
5952 * custom.el (enable-theme): Don't set custom-safe-themes.
5953
1d00653d
SM
5954 * cus-theme.el (custom-theme-merge-theme):
5955 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5956
bb5aa5d6
MM
59572012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5958
5959 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5960 first prompt in `sql-interacive-mode'.
5961 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5962 keywords.
6df6ae42 5963 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5964 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5965 context of original buffer. Invoke `sql-login-hook'.
5966
a7183d7c
EZ
59672012-01-04 Eli Zaretskii <eliz@gnu.org>
5968
5969 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5970 letters in cite-prefix.
5971
a1eacd1e
LMI
59722012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5973
5974 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5975
787cdb34
CY
59762012-01-03 Chong Yidong <cyd@gnu.org>
5977
1d00653d
SM
5978 * shell.el (shell-dynamic-complete-functions):
5979 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5980 comint-filename-completion first (Bug#10417).
5981
30710442
RS
59822012-01-02 Richard Stallman <rms@gnu.org>
5983
5984 * battery.el (battery-status-function):
5985 Detect when to use battery-yeeloong-sysfs.
5986 (battery-echo-area-format): Add string for Yeeloong.
5987 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5988 (battery-yeeloong-sysfs): New function.
5989
f75bfc33
CY
59902012-01-02 Chong Yidong <cyd@gnu.org>
5991
5992 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5993 (dirtrack): Merge code for handling relative filenames in prompt
5994 from shell-dir-cookie-watcher.
5995 (dirtrack-debug-message): New arg to avoid excess format calls.
5996
5997 * shell.el (shell-dir-cookie-re): Variable deleted.
5998 (shell-dir-cookie-watcher): Function deleted.
5999 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6000 with dirtrack-mode.
6001
651e947e
EZ
60022012-01-01 Eli Zaretskii <eliz@gnu.org>
6003
1d00653d
SM
6004 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6005 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6006 libgnutls-26.dll.
6007
94d4c7dc
AS
60082011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6009
6010 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6011
8d43f3cd
EZ
60122011-12-31 Eli Zaretskii <eliz@gnu.org>
6013
6014 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6015 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6016
98c8795a
MA
60172011-12-29 Michael Albinus <michael.albinus@gmx.de>
6018
6019 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6020 also for alternative shells.
6021 (tramp-open-connection-setup-interactive-shell): Check, whether
6022 the shell is a busybox.
6023 (tramp-send-command): Don't suppress multiple prompts for
6024 busyboxes, it hurts.
6025
51281b32
CY
60262011-12-28 Chong Yidong <cyd@gnu.org>
6027
6028 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6029 (gdb-get-source-file): Move mode line update to
6030 gdb-get-source-file (Bug#10087).
6031
2170cb53
CY
60322011-12-25 Chong Yidong <cyd@gnu.org>
6033
6034 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6035 gud-gdb-marker-filter without taking it as an argument.
6036 (gud-gdb-run-command-fetch-lines): Caller changed.
6037 (gud-gdb-completion-function): New variable.
6038 (gud-gdb-completion-at-point): Use it.
6039 (gud-gdb-completions-1): Split from gud-gdb-completions.
6040
6041 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6042 function as separate arguments.
6043 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6044 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6045 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6046 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6047 (gdb-stopped, def-gdb-auto-update-trigger)
6048 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6049 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6050 Callers changed.
2170cb53
CY
6051 (gud-gdbmi-completions): New function.
6052 (gdb): Use it for generating the completion table.
6053
be8b11bb
AM
60542011-12-24 Alan Mackenzie <acm@muc.de>
6055
6056 Introduce a mechanism to widen the region used in context font
1d00653d 6057 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6058
1d00653d
SM
6059 * progmodes/cc-langs.el (c-before-font-lock-functions):
6060 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6061 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6062 functions to be run just before context (etc.) font locking.
6063
6064 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6065 New, functionality extracted from
be8b11bb 6066 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6067 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6068 (c-after-change): Set c-in-after-change-fontification.
6069 (c-set-fl-decl-start): Rejig its interface, so it can be called
6070 from both after-change and context fontifying.
b81d40f0
JB
6071 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6072 New functions.
6073 (c-standard-font-lock-fontify-region-function): New variable.
6074 (c-font-lock-fontify-region): New function.
be8b11bb 6075
341cf6ac
JL
60762011-12-24 Juri Linkov <juri@jurta.org>
6077
6078 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6079 (Bug#10348)
6080
bffcee0a
MA
60812011-12-23 Michael Albinus <michael.albinus@gmx.de>
6082
6083 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6084 existence of source file. (Bug#10325)
6085
cb5e207c
AM
60862011-12-23 Alan Mackenzie <acm@muc.de>
6087
6088 Fix unstable fontification inside templates.
6089
b81d40f0
JB
6090 * progmodes/cc-langs.el (c-before-font-lock-functions):
6091 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6092 additionally has c-set-fl-decl-start. The other languages (apart
6093 from AWK) have that as a single entry.
6094
b81d40f0
JB
6095 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6096 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6097 c-set-fl-decl-start.
6098
b81d40f0
JB
6099 * progmodes/cc-mode.el (c-common-init, c-after-change):
6100 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6101 (c-set-fl-decl-start): New function, extracted from
6102 c-font-lock-enclosing-decls and enhanced.
6103
60ff536c
JB
61042011-12-23 Juanma Barranquero <lekktu@gmail.com>
6105
6106 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6107
1c4757d6
JL
61082011-12-22 Juri Linkov <juri@jurta.org>
6109
6110 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6111
d031f2c7
CY
61122011-12-22 Chong Yidong <cyd@gnu.org>
6113
6114 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6115
bace743a
DA
61162011-12-21 Drew Adams <drew.adams@oracle.com>
6117
6118 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6119
728a1f2b
JC
61202011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6121
6122 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6123
0d373f73
TZ
61242011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6125
fec0aaa4
TZ
6126 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6127 highlighting and support. Fix up comments for capitalization.
6128 (cfengine-mode-debug): New var.
6129 (cfengine3-mode): Change the modeline indicator to "CFE3".
6130 (cfengine3-font-lock-keywords): Improve defun highlighting.
6131 (cfengine2-actions): Rename from `cfengine-actions'.
6132 (cfengine2-font-lock-keywords): Rename from
6133 `cfengine-font-lock-keywords'.
6134 (cfengine2-imenu-expression): Rename from
6135 `cfengine-imenu-expression'.
6136 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6137 (cfengine2-beginning-of-defun): Rename from
6138 `cfengine-beginning-of-defun'.
6139 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6140 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6141 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6142 modeline indicator to "CFE2".
6143 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6144 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6145
bc86f573
CY
61462011-12-21 Chong Yidong <cyd@gnu.org>
6147
6148 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6149 filename argument.
6150
d45ba96b
MR
61512011-12-20 Martin Rudalics <rudalics@gmx.at>
6152
6153 * window.el (window-normalize-buffer-to-display): Remove.
6154 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6155
a6198c90
CY
61562011-12-19 Chong Yidong <cyd@gnu.org>
6157
6158 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6159 Don't signal an error in a predicate function; return non-nil.
6160 (vc-dir-mark-file): Move the error here.
6161 (vc-dir-mark-unmark): If acting on the region, keep going if one
6162 of the entries cannot be marked/unmarked.
6163 (vc-dir-mark-all-files): If current entry is a directory, mark
6164 only child files, as documented.
6165
34c5fb55
VB
61662011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6167
6168 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6169 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6170 addition.
6171
c803b2b7
JD
61722011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6173
6174 * term/ns-win.el (ns-get-selection-internal)
6175 (ns-store-selection-internal): Declare.
1154d12e
JB
6176 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6177 Declare as obsolete.
6178 (ns-get-pasteboard, ns-paste-secondary):
6179 Use ns-get-selection-internal.
6180 (ns-set-pasteboard, ns-copy-including-secondary):
6181 Use ns-store-selection-internal.
c803b2b7 6182
9cff91f8 61832011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6184
6185 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6186 (vc-deduce-fileset): Doc fix.
99a289d9 6187
f16c898a
AS
61882011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6189
6190 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6191
763237c4
SS
61922011-12-13 Sam Steingold <sds@gnu.org>
6193
6194 * man.el (Man-getpage-in-background): When running under a
6195 window-system, ignore $MANWIDTH and $COLUMNS.
6196
5fc1c122
KH
61972011-12-15 Kenichi Handa <handa@m17n.org>
6198
6199 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6200 (setup-ethiopic-environment-internal): Comment out key-binding for
6201 ethio-toggle-punctuation.
6202
13d49cbb
AM
62032011-12-13 Alan Mackenzie <acm@muc.de>
6204
898169a2
AM
6205 Add the switch statement to AWK Mode.
6206
7a71b18d 6207 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6208 "default" to the keywords regexp.
6209
7a71b18d 6210 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6211 expression as the rest.
1d00653d
SM
6212 (c-nonlabel-token-key): Allow string literals for AWK.
6213 Refactor for the other modes.
898169a2 6214
13d49cbb 6215 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6216 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6217 routines. Limit backward searching in c-font-lock-enclosing.decl.
6218
6219 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6220 pp-state and literal type in addition to the limits.
1d00653d 6221 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6222 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6223 (c-slow-in-literal, c-fast-in-literal): Remove.
6224 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6225
6226 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6227 being in a literal. Add a limit for backward searching.
6228
6229 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6230 c-slow-in-literal.
6231
15e0efc7
SM
62322011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6235
454592a6
MR
62362011-12-13 Martin Rudalics <rudalics@gmx.at>
6237
6238 * window.el (delete-other-windows): Use correct frame in call to
6239 window-with-parameter.
6240
87393f26
DP
62412011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6242
6243 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6244 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6245 (makefile-gmake-statements, makefile-makepp-statements):
6246 Use it and add new makepp keywords.
6247 (makefile-makepp-font-lock-keywords): Add new patterns.
6248 (makefile-match-function-end): Match new [...] and [[...]].
6249
11636b22
JB
62502011-12-11 Juanma Barranquero <lekktu@gmail.com>
6251
6252 * ses.el (ses-call-printer-return, ses-cell-property-get)
6253 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6254 (ses-create-cell-variable, ses-reset-header-string)
6255 (ses-cell-set-formula, ses-repair-cell-reference-all)
6256 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6257 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6258 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6259 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6260 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6261 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6262 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6263 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6264 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6265 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6266 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6267 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6268
cf018193
VB
62692011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6270
6271 * ses.el: The overall change is to add cell renaming, that is
6272 setting fancy names for cell symbols other than name matching
6273 "\\`[A-Z]+[0-9]+\\'" regexp .
6274 (ses-create-cell-variable): New defun.
6275 (ses-relocate-formula): Relocate formulas only for cells the
6276 symbols of which are not renamed, i.e. symbols whose names do not
6277 match regexp "\\`[A-Z]+[0-9]+\\'".
6278 (ses-relocate-all): Relocate values only for cells the symbols of
6279 which are not renamed.
6280 (ses-load): Create cells variables as the (ses-cell ...) are read,
6281 in order to check row col consistency with cell symbol name only
6282 for cells that are not renamed.
6283 (ses-replace-name-in-formula): New defun.
6284 (ses-rename-cell): New defun.
6285
ee957461
CY
62862011-12-11 Chong Yidong <cyd@gnu.org>
6287
6288 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6289 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6290
9a9e9ef0
MR
62912011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6292
6293 * window.el (other-window): Fix docstring.
6294
92a8eba5
EZ
62952011-12-10 Eli Zaretskii <eliz@gnu.org>
6296
6297 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6298 `from' or `to' address before taking its substring.
6299 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6300 encoded name is chopped in the middle of the encoded string, and
6301 thus displayed encoded.
6302
e152e577
JB
63032011-12-10 Juanma Barranquero <lekktu@gmail.com>
6304
6305 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6306
e5d84bfe
EZ
63072011-12-10 Eli Zaretskii <eliz@gnu.org>
6308
6309 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6310 to use texinfo-update-node and commands that call it if the
6311 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6312 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6313 (texinfo-all-menus-update, texinfo-master-menu)
6314 (texinfo-update-node, texinfo-every-node-update)
6315 (texinfo-multiple-files-update): Doc fix. Warn against updating
6316 all the @node lines.
6317 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6318 argument is numeric. Explain better in the doc string what the
6319 function really does.
6320 (texinfo-insert-master-menu-list): Improve the error message
6321 displayed if there's no menu in the Top node.
6322 (Bug#2975) See also this thread:
e5d84bfe
EZ
6323 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6324
1d84e9bb
MG
63252011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6326
6327 * speedbar.el (speedbar-supported-extension-expressions):
6328 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6329
382c953b
JB
63302011-12-09 Juanma Barranquero <lekktu@gmail.com>
6331
6332 * printing.el (pr-mode-alist):
6333 * simple.el (filter-buffer-substring-functions)
6334 (completion-list-insert-choice-function):
6335 * window.el (window-with-parameter, window-atom-root)
6336 (window-sides-slots, window-size-fixed, window-min-delta)
6337 (window-max-delta, window--resize-mini-window)
6338 (window--resize-child-windows-normal, window-tree)
6339 (delete-other-windows, quit-window, split-window)
6340 (display-buffer-record-window, special-display-buffer-names)
6341 (special-display-regexps, special-display-popup-frame)
6342 (same-window-p, split-window-sensibly)
6343 (display-buffer-overriding-action, display-buffer-alist)
6344 (display-buffer-base-action, display-buffer, switch-to-buffer)
6345 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6346 (fit-window-to-buffer, recenter-positions)
6347 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6348 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6349 and remove unneeded backslashes in docstrings.
6350
39c9faef
SM
63512011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6352
98449af8
SM
6353 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6354
39c9faef
SM
6355 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6356 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6357 end in ".mk".
6358 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6359 when reading the makefile (bug#10116).
6360
86ed9fdc
SM
63612011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6364 (bug#10116).
6365
5580f89d
GM
63662011-12-06 Glenn Morris <rgm@gnu.org>
6367
6368 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6369
28d3917c
CY
63702011-12-06 Chong Yidong <cyd@gnu.org>
6371
6372 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6373
a98edce9
JB
63742011-12-06 Juanma Barranquero <lekktu@gmail.com>
6375
6376 * textmodes/table.el (table-shorten-cell): Fix typo.
6377
e65adfac
CG
63782011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6379
6380 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6381
71cc0b74
EZ
63822011-12-05 Eli Zaretskii <eliz@gnu.org>
6383
6384 * descr-text.el (describe-char): Fix display of strong
6385 right-to-left characters and directional embeddings and overrides.
6386
6387 * simple.el (what-cursor-position): Fix display of codepoints of
6388 strong right-to-left characters.
6389
315bc30d
CY
63902011-12-05 Chong Yidong <cyd@gnu.org>
6391
6392 * faces.el (read-color): Doc fix.
6393
58a70b94
GM
63942011-12-05 Glenn Morris <rgm@gnu.org>
6395
6396 * align.el (align--set-marker): Add doc-string.
6397 Don't try to move something that is not a marker. (Bug#10216)
6398
5158face
GM
63992011-12-04 Glenn Morris <rgm@gnu.org>
6400
6401 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6402 overly zealous deletion of trailing whitespace.
6403
520fca41
JB
64042011-12-04 Juanma Barranquero <lekktu@gmail.com>
6405
6406 * server.el (server-delete-client): On Windows, do not try to delete
6407 the only terminal.
6408 (server-process-filter): On Windows, treat requests for a tty frame as
6409 if they were for a GUI frame if the running server is in GUI mode.
6410
5e605a2e
GM
64112011-12-03 Glenn Morris <rgm@gnu.org>
6412
6413 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6414
5c3fe83f
SM
64152011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6f5e57e7
SM
6417 * electric.el: Streamline electric-indent's hook.
6418 (electric-indent-chars): Revert to simple list.
6419 (electric-indent-functions): New var.
6420 (electric-indent-post-self-insert-function): Use it.
6421
5c3fe83f
SM
6422 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6423 there's no inferior buffer (bug#10196).
6424 (prolog-consult-compile): Don't use toggle-read-only.
6425
6bdac736
MA
64262011-12-02 Michael Albinus <michael.albinus@gmx.de>
6427
6428 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6429 interrupt. (Bug#10187)
6430
6131ba7f
SM
64312011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6432
99c79fee
SM
6433 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6434 (bug#9160).
6435
6131ba7f
SM
6436 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6437 (bug#10191).
6438
cb0a02ea
JL
64392011-12-02 Juri Linkov <juri@jurta.org>
6440
6441 * info.el (Info-search): Display "end of manual" when Isearch
6442 reaches the end of single-file Info manual. (Bug#9918)
6443
66e0570c
EZ
64442011-12-02 Eli Zaretskii <eliz@gnu.org>
6445
6446 * isearch.el (isearch-message-prefix): Run the input method part
6447 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6448
02b16839
JL
64492011-12-02 Juri Linkov <juri@jurta.org>
6450
6451 * isearch.el (isearch-occur): Use `word-search-regexp' for
6452 `isearch-word'.
6453 (isearch-search-and-update): Add condition for `isearch-word' and
6454 call `word-search-regexp'. (Bug#10145)
6455
0b950688
GM
64562011-12-01 Glenn Morris <rgm@gnu.org>
6457
6458 * eshell/em-hist.el (eshell-hist-initialize):
6459 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6460 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6461
9505c3c7
SM
64622011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6465
1bbe96b2 64662011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6467
a1beca85
SM
6468 * progmodes/verilog-mode.el (verilog-pretty-expr):
6469 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6470 verilog, such as += *= and the like.
6471 (verilog-assignment-operator-re): Regular expression to find the
6472 assigment operator in a verilog assignment.
6473 (verilog-assignment-operation-re): Regular expression to find an
6474 assignment statement for pretty-expr.
6475 (verilog-in-attribute-p): Query returns true if point is in an
6476 attribute context; used to skip these for expression line up from
6477 pretty-expr.
6478 (verilog-in-parameter-p): Query returns true if point is in an
6479 parameter definition context; used to skip these for expression
6480 line up from pretty-expr.
6481 (verilog-in-parenthesis-p): Query returns true if point is in a
6482 parenthetical expression, specifically ( ) but not [ ] or { };
6483 used by pretty-expr.
6484 (verilog-just-one-space): If there is no space, don't add one.
6485 (verilog-get-lineup-indent-2): Specifically skip just attribute
6486 contexts for expression lineup, rather than skipping all
6487 parenthetical expressions.
6488 (verilog-calculate-indent): Fix comment, and fix indent.
6489 (verilog-do-indent): Indent declarations in lists (suggested by
6490 Joachim Lechner).
6491 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6492 skeleton items.
6493 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6494 by Alain Mellan).
6495
1bbe96b2 64962011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6497
6498 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6499 parameters with embedded comments. Reported by Ray Stevens.
6500 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6501 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6502 Reported by Tim Holt.
6503 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6504 instantiated by upper module causing wrong expansion until AUTOed a
6505 second time. Reported by K C Buckenmaier.
6506 (verilog-diff-auto): Fix showing .* as a difference when
6507 `verilog-auto-star-save' off. Reported by Dan Dever.
6508 (verilog-auto-reset, verilog-read-always-signals)
6509 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6510 temporary signals in reset list if
6511 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6512 style to each signal's assignment type, bug381.
6513 Reported by Thomas Esposito.
6288f0ca
WS
6514 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6515 (verilog-uvm-statement-re): Support UVM indentation and
6516 highlighting, with old OVM keywords only.
a1beca85 6517 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6518 Support AUTOTIEOFF creating non-wire data types.
6519 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6520 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6521 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6522 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6523 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6524 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6525 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6526 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6527 non-numeric vector width. Reported by Alex Reed.
6528 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6529 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6530 (verilog-auto-delete-trailing-whitespace):
6531 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6532 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6533 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6534 Fix verilog-scan-cache corruption when running user AUTO expansion
6535 hooks that call indentation routines.
6536 (verilog-simplify-range-expression): Fix typo ignoring lower case
6537 identifiers.
6538 (verilog-delete-auto): Fix delete-autos to also remove user created
6539 automatics, as long as they start with AUTO.
6540 (verilog-batch-diff-auto, verilog-diff-auto)
6541 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6542 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6543 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6544 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6545 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6546 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6547 is disabled and its cache will get corrupt, causing AUTOS not to
6548 expand. Instead use only -quick functions.
6549 (verilog-scan-region): Fix scanning over escaped quotes.
6550 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6551 (verilog-re-search-backward-quick)
6552 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6553 related functions now ignore strings, to fix misparsing of strings
6554 with magic comments embedded in them.
a1beca85
SM
6555 (verilog-read-auto-template):
6556 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6557 Reported by Brad Dobbie.
6558 (verilog-read-auto-template):
6559 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6560 Reported by Brad Dobbie.
6288f0ca
WS
6561 (verilog-auto-inst, verilog-auto-inst-param)
6562 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6563 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6564 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6565 debugging templates without merge conflicts, bug357.
6566 Reported by Brad Dobbie.
6567 (verilog-read-auto-template):
6568 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6569 Reported by Brad Dobbie.
6570 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6571 abbrevs so user won't be asked to save.
6572 (verilog-read-auto-lisp-present): Fix to start at beginning of
6573 buffer in case called outside of verilog-auto.
6574 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6575 to "X-2". Reported by Matthew Myers.
6576 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6577 all inputs from module templates. Reported by Leith Johnson.
6578 (verilog-module-inside-filename-p): Fix locating programs as with
6579 modules.
6580 (verilog-auto-inst-port): Fix vl-width expressions when using
6581 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6582 (verilog-decls-get-regs, verilog-decls-get-signals,
6583 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6584 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6585 verilog-read-decls): Combine reg and wire structures into one var
6586 structure to represent SystemVerilog concepts.
6587 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6588 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6589 (verilog-auto-wire-type, verilog-insert-definition):
6590 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6591 SystemVerilog "logic" keyword instead of "wire"/"reg".
6592 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6593 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6594 ifdef or generate if so there's not a driver conflict).
6595 Reported by Matthew Myers.
6596 (verilog-auto-declare-nettype, verilog-insert-definition):
6597 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6598 `default_nettype none. Reported by Julian Gorfajn.
6599 (verilog-read-always-signals-recurse, verilog-read-decls)
6600 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6601 malformed end statement, bug325. Reported by Joshua Wise and
6602 Andrew Drake.
6603 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6604 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6605 when expanding .* in interfaces, bug320.
6606 Reported by Pierre-David Pfister.
6288f0ca 6607 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6608 name and open parenthesis, bug317.
6609 Reported by Pierre-David Pfister.
6288f0ca
WS
6610 (verilog-simplify-range-expression): Fix simplification of
6611 multiplications inside AUTOWIRE connections, bug303.
6612 (verilog-auto-inst-port): Support parameter expansion in
6613 multidimensional arrays.
6614 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6615 after "assert property". Reported by Julian Gorfajn.
6616 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6617 with multiplication, bug303.
6618 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6619 Reported by Jan Frode Lonnum.
6620
1bbe96b2
GM
66212011-11-30 Juanma Barranquero <lekktu@gmail.com>
6622
6623 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6624 (hfy-shell-file-name, hfy-shell):
6625 * international/fontset.el (x-decompose-font-name): Fix typos.
6626
66272011-11-29 Ken Brown <kbrown@cornell.edu>
6628
6629 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6630 (gdb-version): Remove defvar.
6631 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6632 (gdb-gud-context-command, gdb-non-stop-handler)
6633 (gdb-current-context-command, gdb-stopped): Use it.
6634 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6635 (gdb-non-stop-handler): Don't enable pretty-printing here.
6636 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6637 non-stop mode. Use the following.
6638 (gdb-check-target-async): New defun.
6639 (gud-watch, gdb-stopped): Fix whitespace.
6640 (gdb-get-source-file): Don't try to display the source file if
6641 `gdb-main-file' is nil.
6642
66432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * align.el: Try to generate fewer markers (bug#10047).
6646 (align--set-marker): New macro.
6647 (align-region): Use it.
6648
c935221f
SM
66492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6650
6651 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6652
e70b5064
CY
66532011-11-29 Chong Yidong <cyd@gnu.org>
6654
6655 * indent.el (indent-for-tab-command, indent-according-to-mode):
6656 Doc fix.
6657 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6658
f3af92b7
MA
66592011-11-29 Michael Albinus <michael.albinus@gmx.de>
6660
6661 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6662 aware of remote file names. (Bug#10124)
6663
ed472be9
CY
66642011-11-29 Chong Yidong <cyd@gnu.org>
6665
6666 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6667
24510c22
SM
66682011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * files.el (find-file): Don't use force-same-window (bug#10144).
6671 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6672 use pop-to-buffer if the selected window can't be used.
6673 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6674
c60c3703
EZ
66752011-11-28 Eli Zaretskii <eliz@gnu.org>
6676
6677 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6678 special-mode-map.
6679
e95def75
CY
66802011-11-28 Chong Yidong <cyd@gnu.org>
6681
6682 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6683
c3f1c606
NR
66842011-11-27 Nick Roberts <nickrob@snap.net.nz>
6685
6686 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6687 gdb-get-source-file-list on gdb-create-source-file-list.
6688
00db469c
EZ
66892011-11-26 Eli Zaretskii <eliz@gnu.org>
6690
6691 * whitespace.el (whitespace-newline): Use a different foreground
6692 color for 16-color light-background displays.
6693
4ad3bc2a
CY
66942011-11-24 Chong Yidong <cyd@gnu.org>
6695
6696 * window.el (display-buffer--special-action): Doc fix.
6697
e9fce1ac
JB
66982011-11-25 Juanma Barranquero <lekktu@gmail.com>
6699
6700 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6701 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6702 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6703 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6704 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6705 (avl-tree-stack-first):
6706 * emacs-lisp/cconv.el (cconv--analyse-use):
6707 * net/gnutls.el (gnutls-negotiate): Fix typos.
6708
cb825e5d
GM
67092011-11-24 Glenn Morris <rgm@gnu.org>
6710
3adbe224
GM
6711 * lpr.el (lpr-windows-system, lpr-lp-system):
6712 * mail/binhex.el (binhex-begin-line):
6713 * progmodes/grep.el (grep-history, grep-find-history):
6714 * textmodes/flyspell.el:
6715 * vc/pcvs-defs.el (cvs-global-menu):
6716 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6717 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6718 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6719
321decc8
GM
6720 * net/tls.el: Fix case of "GnuTLS".
6721
420b63ad
GM
6722 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6723
cb825e5d
GM
6724 * version.el (emacs-build-system): Give it a doc-string.
6725
a0649f08
JL
67262011-11-24 Juri Linkov <juri@jurta.org>
6727
6728 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6729
c0bc0fd4
GM
67302011-11-24 Glenn Morris <rgm@gnu.org>
6731
6732 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6733 if called on a non-mime message just toggle the headers. (Bug#8006)
6734
20db1522
JB
67352011-11-24 Juanma Barranquero <lekktu@gmail.com>
6736
6737 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6738 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6739 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6740 (allout-rebullet-heading, allout-open-sibtopic)
6741 (allout-toggle-current-subtree-encryption)
6742 (allout-toggle-subtree-encryption, allout-encrypt-string)
6743 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6744 (allout-distinctive-bullets-string, allout-auto-activation):
6745 * window.el (window-normalize-buffer-to-display):
6746 * progmodes/verilog-mode.el (verilog-batch-indent):
6747 * textmodes/bibtex.el (bibtex-field-braces-opt)
6748 (bibtex-field-strings-opt):
6749 * vc/cvs-status.el (cvs-tree-merge):
6750 Fix typos.
6751
7262a87c
MA
67522011-11-23 Michael Albinus <michael.albinus@gmx.de>
6753
6754 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6755 `non-essential' to t, in order to avoid remote connections.
6756
283430a1
EZ
67572011-11-23 Eli Zaretskii <eliz@gnu.org>
6758
a1beca85
SM
6759 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6760 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6761 case-insensitively.
6762
d2992a38
ML
67632011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6764
6765 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6766
50419064
GM
67672011-11-23 Glenn Morris <rgm@gnu.org>
6768
da94eca1
GM
6769 * paths.el (rmail-file-name): Reformat the doc-string so that it
6770 is picked up.
6771
9aac4de2
GM
6772 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6773 (rmail-auto-file): Ignore case in the "special" field names,
6774 as mail-fetch-field does for all others.
6775
8038d2d2
GM
6776 * mail/rmail.el (rmail-forward):
6777 * mail/rmailkwd.el (rmail-set-label):
6778 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6779 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6780
f3fe222a
GM
6781 * mail/rmail.el (rmail-current-message): Doc fix.
6782
50419064
GM
6783 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6784
28109f49
SM
67852011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6788
394c65f1
GM
67892011-11-22 Glenn Morris <rgm@gnu.org>
6790
6791 * mail/rmailmm.el (test-rmail-mime-handler)
6792 (test-rmail-mime-bulk-handler)
6793 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6794
f2a0aa3a
JL
67952011-11-21 Juri Linkov <juri@jurta.org>
6796
1154d12e
JB
6797 * calc/calc.el (calc-read-key-sequence):
6798 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6799
9c34a344
LMI
68002011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6801
6802 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6803 Tell the caller that the next line needs recomputation, even
6804 though it doesn't start a sexp (bug#10094).
6805
f04a3be9
SM
68062011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6809
7978747f
SM
68102011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6811
f04a3be9
SM
6812 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6813 Use force-same-window.
7978747f 6814
fe7a3057
JB
68152011-11-20 Juanma Barranquero <lekktu@gmail.com>
6816
6817 * descr-text.el (describe-char-unicode-data):
6818 * json.el (json-string-escape):
6819 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6820 (Footnote-unicode, Footnote-style-p):
6821 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6822
24901d61
CY
68232011-11-20 Chong Yidong <cyd@gnu.org>
6824
6825 * window.el (replace-buffer-in-windows): Restore interactive spec.
6826
bac7ff22
SM
68272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6828
24f3d7b9
SM
6829 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6830
bac7ff22
SM
6831 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6832 (byte-compile-global-not-obsolete-vars): New var.
6833 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6834 Use it.
6835 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6836
cd1181db
JB
68372011-11-20 Juanma Barranquero <lekktu@gmail.com>
6838
6839 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6840 * progmodes/pascal.el (electric-pascal-equal):
6841 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6842 * xml.el (xml-substitute-special): Fix typos.
6843
7fb18e9e
GM
68442011-11-20 Glenn Morris <rgm@gnu.org>
6845
6846 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6847 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6848 Doc fixes.
6849 (rmail-decode-mime-charset): Mark as obsolete.
6850
6851 * mail/rmailsum.el (rmail-message-regexp-p-1):
6852 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6853 Before using mime functions, check they are set. (Bug#10077)
6854
d5a6b3ba
JL
68552011-11-19 Juri Linkov <juri@jurta.org>
6856
6857 * info.el (Info-finder-find-node): Use `package--builtins' instead
6858 of `package-alist'. Use node names formed by the pattern "Keyword "
6859 and the keyword name.
6860
e981b61f
AS
68612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6862
1d00653d 6863 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6864
3ffbc301
JL
68652011-11-19 Juri Linkov <juri@jurta.org>
6866
6867 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6868 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6869 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6870 `old-history', `old-history-forward'. Add let-binding
6871 `window-selected'. Remove calls to `kill-buffer',
6872 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6873 before calling `Info-find-node', so `Info-find-node-2' will reread
6874 the Info file. Restore window positions only when `window-selected'
6875 is non-nil.
6876
30c62133
JL
68772011-11-19 Juri Linkov <juri@jurta.org>
6878
6879 * isearch.el (isearch-lazy-highlight-new-loop):
6880 Remove condition `(not isearch-error)'. (Bug#9918)
6881
6882 * misearch.el (multi-isearch-search-fun): Add condition
6883 `(not bound)' to ignore lazy-highlighting search.
6884 Add the search-failed message "end of multi" when the end of
6885 multi-sequence is reached. Uncapitalize the search-failed
6886 message "Repeat for next buffer".
6887
6888 * info.el (Info-search): Add the search-failed message
6889 "end of the manual" when the end of the manual is reached
6890 in Isearch mode.
6891
645ca9cf
JL
68922011-11-19 Juri Linkov <juri@jurta.org>
6893
6894 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6895 Use non-destructive `remove' instead of `delete' because
6896 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6897 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6898
df754f66
JL
68992011-11-19 Juri Linkov <juri@jurta.org>
6900
6901 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6902 to nil instead of binding `search-ring' and `regexp-search-ring'.
6903 (Bug#9185)
6904
0e23d96a
EZ
69052011-11-19 Eli Zaretskii <eliz@gnu.org>
6906
6907 * simple.el (line-move): Force movement by logical lines for any
6908 hscrolled window, not only when auto-hscroll-mode is on.
6909 (line-move-visual): Update doc string to that effect. (Bug#10076)
6910
8a6ccb66
AS
69112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6912
6913 * language/european.el (macintosh): Define as alias for mac-roman.
6914
49ae5b39
EZ
69152011-11-19 Eli Zaretskii <eliz@gnu.org>
6916
6917 * mail/rmailmm.el (rmail-mime-display-header)
6918 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6919 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6920 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6921 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6922 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6923 of a raw aref.
6924 (rmail-mime-entity-segment): To get past the tagline, move forward
6925 2 more lines, to account for the 2 empty lines that precede and
6926 follow the line with the buttons.
6927 (rmail-mime-update-tagline): Move one more line, to get past the
6928 empty line that follows the buttons in the tagline. (Bug#9520)
6929
c56cad4a
MR
69302011-11-19 Martin Rudalics <rudalics@gmx.at>
6931
6932 * window.el (window-max-delta-1, window-min-delta-1)
6933 (window-min-size-1, window-state-get-1, window-state-put-1)
6934 (window-state-put-2): Use "window--" prefix.
6935
cbe71af3
SM
69362011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6937
2ad52c60
SM
6938 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6939 (smie-warning-count): New var.
6940 (smie-set-prec2tab): Use it.
6941 (smie-bnf->prec2): Improve warnings. Add docstring.
6942 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6943 (smie-bnf--set-class): New function.
6944 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6945 corner case.
6946
6944dbc1
SM
6947 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6948 (compilation-error-properties, compilation-move-to-column):
6949 Handle compilation-first-column while in the target buffer.
6950
c400c4d7
SM
6951 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6952 Don't hardcode point-min==1.
6953
6dbe3e96
SM
6954 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6955 (eshell-rewrite-for-command): Remove workaround.
6956 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6957 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6958 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6959
cbe71af3
SM
6960 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6961
a8e1496d
GM
69622011-11-17 Glenn Morris <rgm@gnu.org>
6963
6964 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6965 Ignore buffer-local generated-autoload-file if it is the same
6966 as the global value. (Bug#10049)
6967
df85d315
JB
69682011-11-17 Juanma Barranquero <lekktu@gmail.com>
6969
6970 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6971 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6972 (reftex-toc-previous-heading, reftex-toc-max-level)
6973 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6974 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6975 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6976 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6977 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6978 (reftex-toc-rename-label, reftex-toc-visit-location)
6979 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6980 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6981 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6982 leaving "*toc*" only for references to the buffer.
6983
a0c2d0ae
MR
69842011-11-17 Martin Rudalics <rudalics@gmx.at>
6985
6986 * window.el (window-resize, delete-window, split-window):
6987 Replace window-splits by window-combination-resize.
1d00653d 6988 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6989
35c0bac8
GM
69902011-11-17 Glenn Morris <rgm@gnu.org>
6991
6992 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6993 Make bash entry derive from sh entry, not shell entry.
6994
d0c8fc8a
MA
69952011-11-16 Michael Albinus <michael.albinus@gmx.de>
6996
7262a87c
MA
6997 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6998 local file name.
6999
7877f373
JB
70002011-11-16 Juanma Barranquero <lekktu@gmail.com>
7001
7002 * menu-bar.el (menu-bar-file-menu):
7003 * printing.el (pr-ps-utility):
7004 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7005 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7006 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7007 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7008 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7009 (icalendar--convert-cyclic-to-ical)
7010 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7011 (icalendar--convert-ical-to-diary)
7012 (icalendar--convert-recurring-to-diary)
7013 (icalendar--convert-non-recurring-all-day-to-diary)
7014 (icalendar-import-format-sample):
7015 * progmodes/idlw-shell.el (idlwave-shell-mode):
7016 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7017 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7018 (vhdl-ps-print-init): Fix typos.
7019
10649b82
KM
70202011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7021
9d0cfcd6
GM
7022 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7023 FSF and collapse date sequence, obscure author/maintainer email address
7024 better, remove extra version line, track relocation of author's webpage.
10649b82 7025
9d0cfcd6
GM
7026 * progmodes/python.el (python-pdbtrack-input-prompt)
7027 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7028 regular python pdb prompts. Adjustments shamelessly taken exactly as
7029 suggested in EmacsWiki page (tiny change):
7030 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7031
58179cce
JB
70322011-11-16 Juanma Barranquero <lekktu@gmail.com>
7033
7034 * expand.el (expand-pos, expand-index, expand-point):
7035 Remove redundant info from docstring.
7036 (expand-add-abbrevs): Doc fix.
7037 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7038 (expand-sample-perl-mode-expand-list): Fix typos.
7039
7040 * net/dbus.el (dbus-event-member-name):
7041 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7042 * term/pc-win.el (msdos-create-frame-with-faces):
7043 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7044
b6f67890
MR
70452011-11-16 Martin Rudalics <rudalics@gmx.at>
7046
7047 * window.el (split-window, window-state-get-1)
7048 (window-state-put-1, window-state-put-2): Rename occurrences of
7049 window-nest to window-combination-limit.
1d00653d 7050 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7051
ce7ddba0
CY
70522011-11-16 Chong Yidong <cyd@gnu.org>
7053
7054 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7055 regexp (Bug#10033).
7056
3ae704f4
SM
70572011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7060 `completing-read' will remove *Completions* and will preserve
7061 current-buffer for us.
7062 (tmm-add-prompt): Users of *Completions* will always (re)set its
7063 major mode.
7064 (tmm-old-comp-map): Remove.
7065
6ad1cdde
GM
70662011-11-16 Glenn Morris <rgm@gnu.org>
7067
7068 * mail/rmailedit.el: Require rmailmm when compiling.
7069 (rmail-old-mime-state): New declaration.
7070 (rmail-edit-current-message): If editing a mime message,
7071 edit the "raw" message from the mbox buffer.
7072 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7073
d20faa20
GM
70742011-11-15 Glenn Morris <rgm@gnu.org>
7075
7076 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7077 which wasn't being used. Add optional arg to force given state.
7078 (rmail-mime): Add optional arg to force given state.
7079
c7015153
JB
70802011-11-15 Juanma Barranquero <lekktu@gmail.com>
7081
7082 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7083 * frame.el (display-mm-dimensions-alist):
7084 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7085 (outline-move-subtree-down):
7086 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7087 (newsticker--treeview-do-get-node):
7088 * net/quickurl.el (quickurl-list-buffer-name):
7089 * progmodes/dcl-mode.el (dcl-mode):
7090 * progmodes/gdb-mi.el (gdb-mapcar*):
7091 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7092
45261b50
GM
70932011-11-15 Glenn Morris <rgm@gnu.org>
7094
7095 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7096 in a boolean sense, so just make it a boolean, and fix the doc.
7097 (rmail-show-mime-function, rmail-mime-feature)
7098 (rmail-require-mime-maybe): Doc fixes.
7099 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7100
7101 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7102
0d26e0b6
JB
71032011-11-15 Juanma Barranquero <lekktu@gmail.com>
7104
7105 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7106 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7107 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7108 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7109
447f30f6
GM
71102011-11-15 Glenn Morris <rgm@gnu.org>
7111
672b871d
GM
7112 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7113 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7114 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7115 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7116 (rmail-mime, rmail-show-mime): Doc fixes.
7117
f6aa5bb1
GM
7118 * term/ns-win.el (mode-line-frame-identification):
7119 Leave it alone. (Bug#10051)
7120
947cd66b
GM
7121 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7122
447f30f6
GM
7123 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7124 Handle empty buffers. (Bug#9978)
7125
0b381c7e
JB
71262011-11-14 Juanma Barranquero <lekktu@gmail.com>
7127
7128 * international/mule.el (define-charset):
7129 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7130 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7131 * progmodes/verilog-mode.el (verilog-backward-token):
7132 * textmodes/ispell.el (lookup-words):
7133 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7134
71e027ac
GM
71352011-11-14 Glenn Morris <rgm@gnu.org>
7136
56632ce4
GM
7137 * progmodes/executable.el
7138 (executable-make-buffer-file-executable-if-script-p):
7139 Handle file-modes returning nil.
7140
40500957
GM
7141 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7142 message - not necessary, and causes problems. (Bug#9831)
7143
071c2340
GM
7144 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7145
d3cfca60
GM
7146 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7147
71e027ac
GM
7148 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7149 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7150 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7151
89d61221
MR
71522011-11-12 Martin Rudalics <rudalics@gmx.at>
7153
7154 * window.el (window-resize, delete-window): Use window-splits
7155 variable instead of function.
7156 (window-state-get-1, window-state-put-2, window-state-put):
7157 Don't deal with windows' splits status.
7158
98282f6f
GM
71592011-11-12 Glenn Morris <rgm@gnu.org>
7160
7161 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7162 (apropos-documentation): Doc fixes.
7163
40a8bdf6
JB
71642011-11-11 Juanma Barranquero <lekktu@gmail.com>
7165
7166 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7167 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7168
65bd19ff
SM
71692011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * electric.el (electric-indent-post-self-insert-function): Make it
7172 possible for a char to only indent in some circumstances.
7173 (electric-indent-mode): Simplify.
7174
54f9154c
MR
71752011-11-11 Martin Rudalics <rudalics@gmx.at>
7176
7177 * window.el (windows-with-parameter): Remove unused function.
7178 (windows-at-side): Rename to window-at-side-list.
7179 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7180 (window-side-check, window-size-ignore, window-size-fixed-1)
7181 (window-in-direction-2): Prefix with "window--".
7182 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7183
68cbc58b
GM
71842011-11-11 Glenn Morris <rgm@gnu.org>
7185
7186 * subr.el (eval-after-load): If FILE is already loaded,
7187 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7188
b2621720
GM
71892011-11-10 Glenn Morris <rgm@gnu.org>
7190
9a4de110
GM
7191 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7192 Call svn via vc-svn-command rather than vc-do-command.
7193 (vc-svn-command): Add --non-interactive. (Bug#9993)
7194 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7195
b2621720
GM
7196 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7197 Add toggle-read-only. (Bug#7292)
7198 * files.el (toggle-read-only): Mention that it should only
7199 be used interactively. (Bug#10006)
7200
1dce7193
SM
72012011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7202
d9ac1a1e
SM
7203 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7204 Adjust regexp for OCaml warnings.
7205
0c325082
SM
7206 * electric.el (electric-pair-post-self-insert-function): Let user
7207 turn it off buffer-locally (bug#9932).
7208
90132c14
SM
7209 * progmodes/python.el (python-beginning-of-statement):
7210 Rewrite (bug#2703).
7211
1dce7193
SM
7212 * progmodes/compile.el: Better handle TABs (bug#9749).
7213 (compilation-internal-error-properties)
7214 (compilation-next-error-function): Obey the target buffer's
7215 compilation-error-screen-columns.
7216
c4e7c63a
JB
72172011-11-09 Juanma Barranquero <lekktu@gmail.com>
7218
7219 * progmodes/meta-mode.el: Remove obsolete comments.
7220 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7221 Fix typos in docstrings.
7222
2cffd681
MR
72232011-11-09 Martin Rudalics <rudalics@gmx.at>
7224
7225 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7226 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7227 (window--resizable): New function. Make all callers of
7228 window-resizable call window--resizable instead.
7229 (window-resizable): Rewrite in terms of window--resizable.
7230
0edcba87
GM
72312011-11-08 Glenn Morris <rgm@gnu.org>
7232
7233 * progmodes/delphi.el (delphi-mode-syntax-table):
7234 Let define-derived-mode define a proper syntax table. (Bug#9994)
7235
4b0d61e3
SM
72362011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * window.el: Stay away from defsubst.
7239 (window-list-no-nils): Remove.
7240 (window-state-get-1, window-state-get): Use backquote instead.
7241
cd394be1 72422011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7243
4b0d61e3 7244 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7245 Fix incorrect use of default argument in `completing-read'.
7246
e1c2c6f2
MR
72472011-11-08 Martin Rudalics <rudalics@gmx.at>
7248
7249 * window.el (display-buffer-function, special-display-function):
7250 Mention display-buffer-record-window but do not mention
7251 help-setup parameter in doc-strings.
b3f4a882 7252 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7253
105216ed
CY
72542011-11-08 Chong Yidong <cyd@gnu.org>
7255
7256 * window.el (window-total-height, window-total-width): Doc fix.
7257 (window-body-size): Move from C.
7258 (window-body-height, window-body-width): Move to C.
7259
0a9f9ab5
SM
72602011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7261
7262 * window.el: Make special-display like display-buffer-alist (bug#9532).
7263 (display-buffer--special-action): New function, morphed
7264 from display-buffer--special.
7265 (display-buffer): Use it to handle special-display-buffers at higher
7266 priority (just after display-buffer-alist).
7267 (display-buffer-fallback-action, display-buffer--other-frame-action)
7268 (pop-to-buffer-same-window): Remove display-buffer--special.
7269
a769dd15
GM
72702011-11-07 Glenn Morris <rgm@gnu.org>
7271
7272 * calendar/cal-menu.el (cal-menu-set-date-title):
7273 Do nothing if not in a calendar. (Bug#9976)
7274
05a61ee3
SM
72752011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 * files.el (find-file): Always use selected-window.
7278
be7f5545
MR
72792011-11-07 Martin Rudalics <rudalics@gmx.at>
7280
7281 * window.el (window-combinations): Make WINDOW argument
7282 mandatory. Rewrite doc-string.
7283 (walk-window-subtree, window-atom-check, window-min-delta)
7284 (window-max-delta, window--resize-this-window)
7285 (window--resize-root-window-vertically, window-tree)
7286 (balance-windows, window-state-put): Rewrite doc-strings as to
7287 not mention the term "subwindow".
7288 (window--resize-subwindows-skip-p): Rename to
7289 window--resize-child-windows-skip-p.
7290 (window--resize-subwindows-normal): Rename to
7291 window--resize-child-windows-normal.
7292 (window--resize-subwindows): Rename to
7293 window--resize-child-windows.
7294 (window-or-subwindow-p): Rename to window--in-subtree-p.
7295
3c6702ef
ML
72962011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7297
7298 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7299 Ensure that mbox format messages end in two newlines (Bug#9974).
7300
49745b39
CY
73012011-11-06 Chong Yidong <cyd@gnu.org>
7302
7303 * window.el (window-combination-p): Function deleted; its
7304 side-effect is not used in any existing code.
7305 (window-combinations, window-combined-p): Call window-*-child
7306 directly.
7307
24300f5f
CY
73082011-11-05 Chong Yidong <cyd@gnu.org>
7309
7310 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7311 (window-size-ignore, window-state-get): Callers changed.
7312 (window-normalize-window): Rename from window-normalize-any-window.
7313 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7314 (window-normalize-live-window): Delete.
447f16b8
CY
7315 (window-combination-p, window-combined-p, window-combinations)
7316 (walk-window-subtree, window-atom-root, window-min-size)
7317 (window-sizable, window-sizable-p, window-size-fixed-p)
7318 (window-min-delta, window-max-delta, window-resizable)
7319 (window-resizable-p, window-full-height-p, window-full-width-p)
7320 (window-current-scroll-bars, window-point-1, set-window-point-1)
7321 (window-at-side-p, window-in-direction, window-resize)
7322 (adjust-window-trailing-edge, maximize-window, minimize-window)
7323 (window-deletable-p, delete-window, delete-other-windows)
7324 (record-window-buffer, unrecord-window-buffer)
7325 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7326 (quit-window, split-window, window-state-put)
7327 (set-window-text-height, fit-window-to-buffer)
7328 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7329
89bd5ee1
EZ
73302011-11-04 Eli Zaretskii <eliz@gnu.org>
7331
53479029
EZ
7332 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7333 rfc2047-decode-string.
7334 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7335 warnings.
7336
89bd5ee1
EZ
7337 * window.el (window-body-height, window-body-width): Mention in
7338 the doc string that the return values are in frame's canonical
7339 units. (Bug#9949)
7340
bd17fdee
AM
73412011-11-03 Alan Mackenzie <acm@muc.de>
7342
7343 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7344 change in cc-engine.el.
7345
acc825c5
SM
73462011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7349
1885e5b8
MR
73502011-11-02 Martin Rudalics <rudalics@gmx.at>
7351
7352 * window.el (quit-window): Call unrecord-window-buffer after
7353 showing another buffer in the window. (Bug#9937)
acc825c5 7354 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7355
ebe06da9
JB
73562011-11-02 Juanma Barranquero <lekktu@gmail.com>
7357
7358 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7359 Accept status with more than 9 shelves. (Bug#9935)
7360 Reported by Colin D Bennett <colin@gibibit.com>.
7361
4ee88440
MR
73622011-11-01 Martin Rudalics <rudalics@gmx.at>
7363
7364 * help.el (with-help-window): Don't reference
7365 temp-buffer-show-specifiers in doc-string.
7366
08e1d82c
AS
73672011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7368
7369 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7370 menu-item.
7371
84bd6e9e
VJL
73722011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7373
7374 * whitespace.el: New version 13.2.2.
7375 (whitespace-newline-mode): Disable properly. Reported by Sarah
7376 <EmacsWiki>.
7377
dba0634a
UJ
73782011-10-30 Ulf Jasper <ulf.jasper@web.de>
7379
7380 * net/newst-treeview.el: Remove "Time-stamp".
7381 (newsticker--group-manage-orphan-feeds): Do not call
7382 newsticker--treeview-tree-update.
db22a3c2
JB
7383 (newsticker-treeview-update, newsticker-treeview):
7384 Call newsticker--treeview-tree-update if necessary.
dba0634a 7385
3d8daefe
MR
73862011-10-30 Martin Rudalics <rudalics@gmx.at>
7387
7388 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7389 (window-iso-combinations): Remove "iso-" infix.
7390 Suggested by Chong Yidong.
3d8daefe
MR
7391 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7392 (window-max-delta-1, window-resize, window--resize-siblings)
7393 (window--resize-this-window, adjust-window-trailing-edge)
7394 (split-window, balance-windows-1)
7395 (shrink-window-if-larger-than-buffer):
7396 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7397 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7398
1bc4c3ae
SM
73992011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7400
7401 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7402 in place (bug#9907).
7403 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7404 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7405 (eshell-structure-basic-command, eshell-rewrite-while-command)
7406 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7407 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7408 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7409 (eshell-do-pipelines-synchronously, eshell-eval-command):
7410 Use backquotes and prefer setq to set.
7411 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7412 (eshell-macrop): Use functionp.
c1e2f5fa 7413 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7414
30b65d9c
CY
74152011-10-30 Chong Yidong <cyd@gnu.org>
7416
7417 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7418 instead of set-mark (Bug#9810).
7419
2d197ffb
CY
74202011-10-30 Chong Yidong <cyd@gnu.org>
7421
7422 * window.el (split-window-below, split-window-right): Rename from
7423 split-window-above-each-other and split-window-side-by-side
7424 respectively. All callers changed.
7425 (split-window-sensibly, split-window-sensibly): Use them.
7426 (split-window-keep-point): Doc fix.
7427
7428 * isearch.el: Add isearch-scroll property to split-window-below
7429 and split-window-right.
7430
7431 * follow.el (follow-mode):
7432 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7433 * progmodes/ada-xref.el (ada-gdb-application):
7434 * emulation/vip.el (vip-buffer-in-two-windows):
7435 * image-dired.el (image-dired-dired-with-window-configuration):
7436 * dired-x.el (dired-do-find-marked-files):
7437 * dired.el (dired-pop-to-buffer):
7438 * bs.el (bs--show-with-configuration):
7439 * vc/emerge.el (emerge-setup-windows):
7440 * textmodes/two-column.el (2C-two-columns):
7441 * textmodes/reftex-toc.el (reftex-toc):
7442 * progmodes/gdb-mi.el (gdb-setup-windows):
7443 * progmodes/fortran.el (fortran-window-create):
7444 * net/newst-treeview.el (newsticker--treeview-window-init):
7445 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7446 * emulation/tpu-edt.el (tpu-gold-map):
7447 * emulation/crisp.el (crisp-mode-map):
7448 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7449
38bb2ca8
CY
74502011-10-29 Chong Yidong <cyd@gnu.org>
7451
aa4de341
CY
7452 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7453
e1eb5385
CY
7454 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7455
5d2ece3c
CY
7456 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7457 forged Ispell output (Bug#7904).
7458
38bb2ca8
CY
7459 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7460
d0af9f77
SM
74612011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * doc-view.el: Avoid ugly errors about not finding nil.
7464 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7465 (doc-view-dvipdf-program, doc-view-unoconv-program)
7466 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7467 Avoid nil or absolute file name as default value.
7468 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7469
52bedd34
AM
74702011-10-28 Alan Mackenzie <acm@muc.de>
7471
db22a3c2 7472 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7473
7e43cfa5
AM
74742011-10-28 Alan Mackenzie <acm@muc.de>
7475
7476 Amend the handling of c-beginning/end-of-defun in nested declaration
7477 scopes.
7478
52bedd34
AM
7479 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7480 cc-langs.el. Change it to a defcustom.
7e43cfa5 7481
52bedd34
AM
7482 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7483 cc-vars.el.
7e43cfa5 7484
d0af9f77
SM
7485 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7486 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7487
52bedd34 7488 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7489 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7490 (c-widen-to-enclosing-decl-scope): New function.
7491 (c-while-widening-to-decl-block): New macro.
7492 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7493 outward for defun boundaries, and correspondingly change symbol
7494 `respect-enclosure' to `go-outward'.
7495 (c-declaration-limits): Change algorithm to report only the "innermost"
7496 defun's boundaries.
7497
1a2ce9ee
DD
74982011-10-28 Deniz Dogan <deniz@dogan.se>
7499
7500 * net/rcirc.el (rcirc-mode): Use hard newlines.
7501
bc97a826
AM
75022011-10-28 Alan Mackenzie <acm@muc.de>
7503
7504 Amend to indent and fontify macros "which include their own semicolon"
7505 correctly, using the "virtual semicolon" mechanism.
7506
52bedd34 7507 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7508
d0af9f77 7509 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7510 Recode to scan one line at a time rather than having \n and \r
58179cce 7511 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7512 (c-forward-label): Amend for virtual semicolons.
58179cce 7513 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7514
52bedd34
AM
7515 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7516 of the new C macros.
bc97a826 7517
52bedd34 7518 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7519 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7520 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7521 (c-opt-cpp-macro-define): Make into a full language variable.
7522 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7523 AWK Mode (including \n, \r) removed, no longer needed.
7524
d0af9f77
SM
7525 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7526 Invoke c-make-macro-with-semi-re.
bc97a826 7527
52bedd34
AM
7528 * progmodes/cc-vars.el (c-macro-with-semi-re):
7529 (c-macro-names-with-semicolon): New variables.
58179cce 7530 (c-make-macro-with-semi-re): New function.
bc97a826 7531
7a6c0941
SM
75322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7533
7534 * vc/log-edit.el: Fill empty field rather than adding new one.
7535 (log-edit-add-field): New function.
7536 (log-edit-insert-changelog): Use it.
7537
b0c4cdcf
ML
75382011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7539
7540 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7541
ee1f1da9
SM
75422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7545 (gdb--check-interpreter): New function.
7546 (gdb): Use it.
7547
51bc5f8b
GM
75482011-10-27 Glenn Morris <rgm@gnu.org>
7549
416a2c45
GM
7550 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7551 (least-positive-float, least-negative-float)
7552 (least-positive-normalized-float, least-negative-normalized-float)
7553 (float-epsilon, float-negative-epsilon):
7554 Remove unnecessary declarations.
7555
7556 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7557 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7558 (least-positive-float, least-negative-float)
7559 (least-positive-normalized-float, least-negative-normalized-float)
7560 (float-epsilon, float-negative-epsilon): Add doc-strings,
7561 based on those in cl.texi.
7562
51bc5f8b
GM
7563 * files.el (set-visited-file-name): If the major-mode changed,
7564 reload the local variables. (Bug#9796)
7565
15de15c6
CY
75662011-10-27 Chong Yidong <cyd@gnu.org>
7567
7568 * subr.el (change-major-mode-after-body-hook): New hook.
7569 (run-mode-hooks): Run it.
7570
ee1f1da9
SM
7571 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7572 Use change-major-mode-before-body-hook.
15de15c6
CY
7573
7574 * simple.el (fundamental-mode):
7575 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7576 change introducing fundamental-mode-hook.
7577
5430d399
JB
75782011-10-26 Juanma Barranquero <lekktu@gmail.com>
7579
acc825c5 7580 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7581
ad74a69e
MA
75822011-10-26 Michael Albinus <michael.albinus@gmx.de>
7583
7584 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7585 tramp.el explicitly. (Bug#7583)
ad74a69e 7586
71d4c2a5
SM
75872011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * progmodes/octave-mod.el:
7590 * progmodes/octave-inf.el: Update maintainer.
7591
b1f6fa26
CY
75922011-10-26 Chong Yidong <cyd@gnu.org>
7593
7594 * subr.el (with-wrapper-hook): Rewrite doc.
7595
3f04efd6
MA
75962011-10-25 Michael Albinus <michael.albinus@gmx.de>
7597
7598 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7599 filenames "/method:foo:". (Bug#9793)
3f04efd6 7600
410488d3
SM
76012011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7604 (bug#9865).
7605
c1ebb47e
GM
76062011-10-24 Glenn Morris <rgm@gnu.org>
7607
7608 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7609
7f5c46c7
MA
76102011-10-24 Michael Albinus <michael.albinus@gmx.de>
7611
7612 * notifications.el: Add the requirement of a running D-Bus session
7613 bus to the Commentary.
7614
db2440b6
JL
76152011-10-24 Juri Linkov <juri@jurta.org>
7616
7617 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7618 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7619 (Bug#9364)
7620
feecf435
JL
76212011-10-24 Juri Linkov <juri@jurta.org>
7622
7623 * info.el (Info-following-node-name-re): Add newline to the list
7624 of allowed characters for leading space. (Bug#9824)
7625
a3839de2
SM
76262011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7627
acc825c5
SM
7628 * progmodes/octave-inf.el (inferior-octave-mode-map):
7629 Fix C-c C-h binding.
a3839de2
SM
7630 * progmodes/octave-mod.el (octave-help): Remove.
7631
09388e76
MA
76322011-10-23 Michael Albinus <michael.albinus@gmx.de>
7633
7634 Sync with Tramp 2.2.3.
7635
7636 * net/tramp-cache.el (top): Pacify byte-compiler using
7637 `init-file-user' and `site-run-file'.
7638
7639 * net/trampver.el: Update release number.
7640
86c60681
CY
76412011-10-23 Chong Yidong <cyd@gnu.org>
7642
7643 * files.el (toggle-read-only): Remove obsolete comment about
7644 version control.
7645
7646 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7647 for toggle-read-only. Note that this hasn't called vc-next-action
7648 since 2008-05-02, though it wasn't documented at the time.
7649
a3839de2
SM
7650 * vc/ediff-init.el (ediff-toggle-read-only-function):
7651 Use toggle-read-only.
86c60681 7652
cd5495ff
AM
76532011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7654
7655 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7656 of c-parse-state.
7657
00b77525 7658 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7659 correct faulty logical expression.
cd5495ff
AM
7660 (c-parse-state-state, c-record-parse-state-state):
7661 (c-replay-parse-state-state): New defvar/defuns.
7662 (c-debug-parse-state): Use new functions.
7663
42ee24ed
MR
76642011-10-22 Martin Rudalics <rudalics@gmx.at>
7665
7666 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7667 last fix. Use window-in-direction correctly.
42ee24ed 7668
a7dee7e7
CY
76692011-10-21 Chong Yidong <cyd@gnu.org>
7670
7671 * progmodes/idlwave.el (idlwave-mode):
7672 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7673 require-final-newline; that's done in prog-mode.
7674 Suggested by Stefan Monnier.
a7dee7e7 7675
e07b9a6d
MR
76762011-10-21 Martin Rudalics <rudalics@gmx.at>
7677
7678 * mouse.el (mouse-drag-window-above)
7679 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7680 (mouse-drag-mode-line-1, mouse-drag-header-line)
7681 (mouse-drag-vertical-line-rightward-window): Remove.
7682 (mouse-drag-line): New function.
7683 (mouse-drag-mode-line, mouse-drag-header-line)
7684 (mouse-drag-vertical-line): Call mouse-drag-line.
7685 * window.el (window-at-side-p, windows-at-side): New functions.
7686
7e1361d9
UM
76872011-10-21 Ulrich Mueller <ulm@gentoo.org>
7688
7689 * tar-mode.el (tar-grind-file-mode):
7690 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7691
30fcaf3a
CY
76922011-10-21 Chong Yidong <cyd@gnu.org>
7693
7694 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7695 * progmodes/vera-mode.el (vera-mode):
7696 Use mode-require-final-newline.
30fcaf3a 7697
516eddb0
GM
76982011-10-20 Glenn Morris <rgm@gnu.org>
7699
db22a3c2 7700 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7701
10d5f513
CS
77022011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7703
7704 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7705
ac6c8639
CY
77062011-10-20 Chong Yidong <cyd@gnu.org>
7707
7708 * emulation/cua-base.el (cua-mode):
7709 * mail/footnote.el (footnote-mode):
7710 * mail/mailabbrev.el (mail-abbrevs-mode):
7711 * net/xesam.el (xesam-minor-mode):
7712 * progmodes/bug-reference.el (bug-reference-mode):
7713 * progmodes/cap-words.el (capitalized-words-mode):
7714 * progmodes/compile.el (compilation-minor-mode)
7715 (compilation-shell-minor-mode):
7716 * progmodes/gud.el (gud-tooltip-mode):
7717 * progmodes/hideif.el (hide-ifdef-mode):
7718 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7719 * progmodes/subword.el (subword-mode):
7720 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7721 * progmodes/which-func.el (which-function-mode):
7722 * term/tvi970.el (tvi970-set-keypad-mode):
7723 * term/vt100.el (vt100-wide-mode):
7724 * textmodes/flyspell.el (flyspell-mode):
7725 * textmodes/ispell.el (ispell-minor-mode):
7726 * textmodes/nroff-mode.el (nroff-electric-mode):
7727 * textmodes/paragraphs.el (use-hard-newlines):
7728 * textmodes/refill.el (refill-mode):
7729 * textmodes/reftex.el (reftex-mode):
7730 * textmodes/rst.el (rst-minor-mode):
7731 * textmodes/sgml-mode.el (html-autoview-mode)
7732 (sgml-electric-tag-pair-mode):
7733 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7734 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7735 * emulation/crisp.el (crisp-mode):
7736 * emacs-lisp/eldoc.el (eldoc-mode):
7737 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7738 minor mode behavior.
7739
aa42ab43
JL
77402011-10-19 Juri Linkov <juri@jurta.org>
7741
7742 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7743 the list of hard-coded chars with escape-glyph face.
7744
89400f1d
SM
77452011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7748
305c07f6
MA
77492011-10-19 Michael Albinus <michael.albinus@gmx.de>
7750
7751 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7752 running process.
7753
13754b54
GM
77542011-10-19 Glenn Morris <rgm@gnu.org>
7755
7756 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7757 Ignore ignored files. (Bug#9726)
7758
06e21633
CY
77592011-10-19 Chong Yidong <cyd@gnu.org>
7760
7761 Doc fix for minor modes, stating that an omitted argument enables
7762 the mode unconditionally when called from Lisp.
7763
7764 * abbrev.el (abbrev-mode):
7765 * allout.el (allout-mode):
7766 * autoinsert.el (auto-insert-mode):
7767 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7768 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7769 (global-auto-revert-mode):
7770 * battery.el (display-battery-mode):
7771 * composite.el (global-auto-composition-mode)
7772 (auto-composition-mode):
7773 * delsel.el (delete-selection-mode):
7774 * desktop.el (desktop-save-mode):
7775 * dired-x.el (dired-omit-mode):
7776 * dirtrack.el (dirtrack-mode):
7777 * doc-view.el (doc-view-minor-mode):
7778 * double.el (double-mode):
7779 * electric.el (electric-indent-mode, electric-pair-mode):
7780 * emacs-lock.el (emacs-lock-mode):
7781 * epa-hook.el (auto-encryption-mode):
7782 * follow.el (follow-mode):
7783 * font-core.el (font-lock-mode):
7784 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7785 * help.el (temp-buffer-resize-mode):
7786 * hilit-chg.el (highlight-changes-mode)
7787 (highlight-changes-visible-mode):
7788 * hi-lock.el (hi-lock-mode):
7789 * hl-line.el (hl-line-mode, global-hl-line-mode):
7790 * icomplete.el (icomplete-mode):
7791 * ido.el (ido-everywhere):
7792 * image-file.el (auto-image-file-mode):
7793 * image-mode.el (image-minor-mode):
7794 * iswitchb.el (iswitchb-mode):
7795 * jka-cmpr-hook.el (auto-compression-mode):
7796 * linum.el (linum-mode):
7797 * longlines.el (longlines-mode):
7798 * master.el (master-mode):
7799 * mb-depth.el (minibuffer-depth-indicate-mode):
7800 * menu-bar.el (menu-bar-mode):
7801 * minibuf-eldef.el (minibuffer-electric-default-mode):
7802 * mouse-sel.el (mouse-sel-mode):
7803 * msb.el (msb-mode):
7804 * mwheel.el (mouse-wheel-mode):
7805 * outline.el (outline-minor-mode):
7806 * paren.el (show-paren-mode):
7807 * recentf.el (recentf-mode):
7808 * reveal.el (reveal-mode, global-reveal-mode):
7809 * rfn-eshadow.el (file-name-shadow-mode):
7810 * ruler-mode.el (ruler-mode):
7811 * savehist.el (savehist-mode):
7812 * scroll-all.el (scroll-all-mode):
7813 * scroll-bar.el (scroll-bar-mode):
7814 * server.el (server-mode):
7815 * shell.el (shell-dirtrack-mode):
7816 * simple.el (auto-fill-mode, transient-mark-mode)
7817 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7818 (line-number-mode, column-number-mode, size-indication-mode)
7819 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7820 * strokes.el (strokes-mode):
7821 * time.el (display-time-mode):
7822 * t-mouse.el (gpm-mouse-mode):
7823 * tool-bar.el (tool-bar-mode):
7824 * tooltip.el (tooltip-mode):
7825 * type-break.el (type-break-mode-line-message-mode)
7826 (type-break-query-mode):
7827 * view.el (view-mode):
7828 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7829 (global-whitespace-mode, global-whitespace-newline-mode):
7830 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7831
a3839de2
SM
7832 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7833 Fix autogenerated docstring.
06e21633 7834
5214e501
JL
78352011-10-19 Juri Linkov <juri@jurta.org>
7836
7837 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7838 by checking environment variables "DESKTOP_SESSION" and
7839 "XDG_CURRENT_DESKTOP". (Bug#9779)
7840
195f8db9
JL
78412011-10-19 Juri Linkov <juri@jurta.org>
7842
7843 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7844 (browse-url-chromium-program, browse-url-chromium-arguments):
7845 New defcustoms.
7846 (browse-url-default-browser): Check for `browse-url-chromium' and
7847 call `browse-url-chromium-program'.
7848 (browse-url-chromium): New command. (Bug#9779)
7849
343a34ff
JB
78502011-10-18 Juanma Barranquero <lekktu@gmail.com>
7851
7852 * facemenu.el (list-colors-duplicates): On Windows, detect more
7853 duplicates by assuming that only colors matching "^System" are
7854 special "system colors". (Bug#9722)
7855
6978a151
SM
78562011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7859 to distinguish the author from the committer.
7860
6a80b297
MA
78612011-10-18 Michael Albinus <michael.albinus@gmx.de>
7862
7863 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7864
b31a5677
JK
78652011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7866
7867 * international/mule.el (sgml-html-meta-auto-coding-function):
7868 Add support for detecting encoding in HTML5 specified only as
7869 <meta charset="UTF-8">. Implementation just makes http-equiv and
7870 content-type parts from HTML4 encoding string optional. (Bug#9716)
7871
80c6d77f
GM
78722011-10-18 Glenn Morris <rgm@gnu.org>
7873
7874 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7875
08b0fee8
CY
78762011-10-18 Chong Yidong <cyd@gnu.org>
7877
7878 * faces.el (cursor): Doc fix.
7879
67e729a5
CY
78802011-10-17 Chong Yidong <cyd@gnu.org>
7881
7882 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7883
343a34ff 78842011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7885
7886 * dirtrack.el (dirtrack): Support shell buffers with path
7887 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7888
0bc06380
TZ
78892011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7890
7891 * json.el: Bump version to 1.3 and note change in History.
7892 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7893
8b79f3e0
SM
78942011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7895
5a7c536b
SM
7896 * comint.el (comint-insert-input, comint-send-input)
7897 (comint-get-old-input-default, comint-backward-matching-input)
7898 (comint-next-prompt): Use nil instead of `input' for field property of
7899 past user input (bug#114).
7900
96a8a0df
SM
7901 * minibuffer.el (completion--replace): Inherit surrounding properties
7902 (bug#114).
7903 (minibuffer-complete-and-exit): Use it.
7904
8b79f3e0
SM
7905 * comint.el (comint--table-subvert): Quote the all-completions output
7906 (bug#9160).
7907
b8f7ff0d
MR
79082011-10-17 Martin Rudalics <rudalics@gmx.at>
7909
8b79f3e0 7910 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7911
b8f7ff0d 7912 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7913 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7914 entries and separate them from frame entries.
7915
c235b555
GM
79162011-10-15 Glenn Morris <rgm@gnu.org>
7917
7918 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7919 Doc fixes.
7920
6bbfa6e1
CY
79212011-10-15 Chong Yidong <cyd@stupidchicken.com>
7922
8b79f3e0
SM
7923 * net/network-stream.el (network-stream-open-starttls):
7924 Improve detection of failure due to lack of TLS support.
ec5c990d 7925
6bbfa6e1
CY
7926 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7927 putting the input text in front and in bold.
7928
98488977
SM
79292011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7930
3d1337be
SM
7931 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7932
ee0b45e4
SM
7933 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7934 empty buffer.
7935
98488977
SM
7936 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7937 unread-command-events rather than pushing yet-another event.
7938
186f4720
EZ
79392011-10-14 Eli Zaretskii <eliz@gnu.org>
7940
7941 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7942 the explanation of the possible choices. Make the options passed
7943 to completing-read shorter.
7944
8b7a997c
AM
79452011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7946
7947 * textmodes/flyspell.el (flyspell-large-region): Make sure
7948 extended character mode is used if defined (Bug#1339).
7949
12587bbb
EZ
79502011-10-13 Eli Zaretskii <eliz@gnu.org>
7951
7952 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7953 character info for LRE, LRO, RLE, and RLO characters by appending
7954 an invisible PDF.
12587bbb 7955
bad41229
SM
79562011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7959 even in case of error; add debug spec; simplify data flow.
7960 (with-timeout-handler): Remove.
7961
28dbc92f
MA
79622011-10-12 Michael Albinus <michael.albinus@gmx.de>
7963
7964 Fix Bug#6019, Bug#9315.
7965
7966 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7967 complete `buffer-file-name', the local file name part could look
7968 remotely (for example on VMS).
7969
7970 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7971 `tramp-run-real-handler'.
7972 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7973 already quoted by '"'.
7974
7975 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7976 Let `file-name-handler-alist' be nil, the local file name part
7977 could look remotely (for example on VMS).
7978
e1b0b23a
SM
79792011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7980
7981 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7982 from here...
7983 (flyspell-post-command-hook): ...to here.
7984
a120bde9
SM
79852011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7986
7987 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7988 if not needed.
7989 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7990 using completion. Protect against "slow" callers.
7991 Remove the "message hack".
7992
7ce7717b
JL
79932011-10-11 Juri Linkov <juri@jurta.org>
7994
7995 * isearch.el (isearch-lazy-highlight-word): New variable.
7996 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7997 Use it. (Bug#9727)
7998
c02ee9d6
GM
79992011-10-11 Glenn Morris <rgm@gnu.org>
8000
8001 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8002 like f90-previous-statement does.
8003
93e616fd 80042011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8005
1f190e73 8006 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8007 only in interactive use, to avoid error.
8008
af7b6078
SM
80092011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * minibuffer.el (completion-file-name-table): Fix last change,
8012 i.e. ignore normal errors but not the other ones.
8013
0563dae9
MR
80142011-10-10 Martin Rudalics <rudalics@gmx.at>
8015
8016 * window.el (special-display-buffer-names)
8017 (special-display-regexps): Remove some remnants of earlier
8018 changes from doc-strings.
366ca7f3
MR
8019 (quit-windows-on): New function.
8020
8021 * vc/vc.el (vc-revert, vc-rollback):
8022 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8023 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8024 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8025
49677495
MR
80262011-10-09 Martin Rudalics <rudalics@gmx.at>
8027
8028 * window.el (frame-auto-hide-function): Add version tag.
8029 (Bug#9699)
8030
56f2d1e1
MA
80312011-10-09 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8034 condition.
8035
112a6592
LL
80362011-10-09 Leo Liu <sdl.web@gmail.com>
8037
8038 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8039 (Bug#9701)
8040
0812589b
GM
80412011-10-08 Glenn Morris <rgm@gnu.org>
8042
8043 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8044 before the first code statement zero indent. (Bug#9690)
8045
b2b0776e
CY
80462011-10-08 Chong Yidong <cyd@stupidchicken.com>
8047
8048 * simple.el (count-words-region): Always count in the region.
8049 Report the number of lines and characters too.
8050 (count-words): New command, which counts in the buffer if the
8051 region is inactive, as count-words-region used to.
8052 (count-words--message): New function. Handle plurals.
8053 (count-lines-region): Make it an alias for count-words-region.
8054
8055 * bindings.el (esc-map): Replace count-lines-region with
8056 count-words-region.
8057
c557cd6b
MR
80582011-10-08 Martin Rudalics <rudalics@gmx.at>
8059
8060 * window.el (window--delete): Delete dedicated frame
8061 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8062 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8063
61a57ef4 80642011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8065
3a7d293b 8066 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8067
c3833279
CY
80682011-10-07 Chong Yidong <cyd@stupidchicken.com>
8069
8070 * bindings.el ([M-left],[M-right]): Bind to left-word and
8071 right-word respectively.
8072
21ce8245
GM
80732011-10-07 Glenn Morris <rgm@gnu.org>
8074
8075 * cus-start.el (debug-on-quit): Fix custom type.
8076
6d823bb2
LMI
80772011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8078
0181e193
LMI
8079 * subr.el (define-key-after): Clarify that the function is not
8080 useful for non-menu keymaps.
8081
6d823bb2
LMI
8082 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8083
8e3459ce 80842011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8085
21ce8245 8086 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8087 in current minibuffer (Fix bug with recursive minibuffers).
8088
a1c2d21e
CY
80892011-10-06 Chong Yidong <cyd@stupidchicken.com>
8090
8091 * progmodes/gdb-mi.el (gdb): Doc fix.
8092
5a4cf282
MR
80932011-10-05 Martin Rudalics <rudalics@gmx.at>
8094
8095 * window.el (frame-auto-hide-function): New option replacing
8096 frame-auto-delete. Suggested by Stefan Monnier.
8097 (window--delete): Call frame-auto-hide-function instead of
8098 investigating frame-auto-delete.
c96111ea
MR
8099 (window-point-1, set-window-point-1): New functions.
8100 (window-in-direction, record-window-buffer, window-state-get-1)
8101 (display-buffer-record-window): Use window-point-1 instead of
8102 window-point.
8103 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8104
9854542e
SM
81052011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8108
8943cfb0
GM
81092011-10-05 Glenn Morris <rgm@gnu.org>
8110
8111 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8112 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8113
647ab967
LL
81142011-10-05 Leo Liu <sdl.web@gmail.com>
8115
8116 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8117 works with buffer object.
8118
3ddfbced
SM
81192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8120
8121 * mpc.el (mpc-tool-bar-map): Add labels.
8122
bdfa5dd2
GM
81232011-10-04 Glenn Morris <rgm@gnu.org>
8124
8125 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8126
0e2070b5
MR
81272011-10-04 Martin Rudalics <rudalics@gmx.at>
8128
8129 * window.el (window--delete): New function.
8130 (frame-auto-delete): Resuscitate option.
8131 (bury-buffer, replace-buffer-in-windows)
8132 (quit-window): Rewrite using window--delete.
8133 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8134 Pass display-buffer-mark-dedicated to window--display-buffer-2
8135 (Bug#9639).
8136
3dc61a09
SM
81372011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8138
915a9b64
SM
8139 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8140 returns a list (bug#9554). Add remote file name completion.
8141 * comint.el (comint--table-subvert): Curry and get quote&unquote
8142 functions as arguments.
8143 (comint--complete-file-name-data): Adjust call accordingly.
8144 * pcomplete.el (pcomplete--table-subvert): Remove.
8145 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8146
3dc61a09
SM
8147 * minibuffer.el (completion-table-case-fold): Use currying.
8148 (completion--styles-type, completion--cycling-threshold-type):
8149 New constants.
8150 (completion-styles, completion-category-overrides)
8151 (completion-cycle-threshold): Use them.
8152 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8153 completion-table-case-fold.
8154
8ea0a993
SB
81552011-10-03 Stephen Berman <stephen.berman@gmx.net>
8156
8157 * minibuffer.el (completion-category-overrides): Fix type of styles
8158 and add more user friendly tags (bug#9660).
8159
8c24b7f6
SM
81602011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8161
8162 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8163 (mule-input-method-string): New widget.
8164 (default-input-method, language-info-custom-alist): Use it.
8165
428fe61a
SM
81662011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8167
32c1fffd
SM
8168 * pcomplete.el: Require comint.
8169 (pcomplete--common-suffix): Remove.
8170 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8171 (pcomplete--table-subvert): Sync with comint--table-subvert.
8172 (pcomplete--entries): Use comint-completion-file-name-table.
8173 * comint.el (comint-unquote-filename): Simplify.
8174 (comint-completion-file-name-table): New function (bug#9616).
8175 (comint--complete-file-name-data): Use it.
8176
428fe61a
SM
8177 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8178 (pcmpl-gnu-tar-buffer): Remove.
8179 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8180 around. Make sure pcomplete-suffix-list is only changed temporarily.
8181 Don't look inside the tar's file if it's too large.
428fe61a 8182
04c52e2f
CY
81832011-10-01 Chong Yidong <cyd@stupidchicken.com>
8184
ce3cefcc
CY
8185 * cus-edit.el (custom-mode-map):
8186 * epa.el (epa-key-list-mode-map):
8187 * man.el (Man-mode-map):
8188 * startup.el (splash-screen-keymap):
8189 * simple.el (special-mode-map): Use scroll-up-command and
8190 scroll-down-command.
8191
8192 * progmodes/idlw-help.el (idlwave-help-mode-map):
8193 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8194 * net/newst-plainview.el (newsticker-mode-map):
8195 * emulation/ws-mode.el (wordstar-mode-map):
8196 * emulation/vi.el (vi-com-map):
8197 * calc/calc-graph.el (calc-graph-show-dumb):
8198 * term/sun.el (terminal-init-sun):
8199 * term/ns-win.el (global-map):
8200 * progmodes/grep.el (grep-mode-map):
8201 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8202 * mail/rmail.el (rmail-mode-map):
8203 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8204
04c52e2f
CY
8205 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8206 custom-safe-themes as special.
8207
79adf8c8
JD
82082011-10-01 Julien Danjou <julien@danjou.info>
8209
8210 * notifications.el (notifications-notify): Fix docstring.
8211
63bd50d3
PS
82122011-10-01 Per Starbäck <per@starback.se>
8213
8214 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8215
199e4c7e
MR
82162011-09-30 Martin Rudalics <rudalics@gmx.at>
8217
8218 * startup.el (command-line-1): Fix last fix by inserting
8219 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8220 (Bug#9605) and (Bug#9636)
199e4c7e 8221
fe5f08dd
EZ
82222011-09-29 Eli Zaretskii <eliz@gnu.org>
8223
8224 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8225 window is hscrolled, move by logical lines. (Bug#9607)
8226 (line-move-visual): Update the doc string to the above effect.
8227
b5516bbd
MR
82282011-09-29 Martin Rudalics <rudalics@gmx.at>
8229
ccee00c0
MR
8230 * window.el (display-buffer-record-window): When WINDOW is the
8231 selected window use `point' instead of `window-point'. (Bug#9626)
8232
b5516bbd
MR
8233 * startup.el (command-line-1): Use insert-before-markers when
8234 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8235
b5516bbd
MR
8236 * help.el (help-window): Remove variable.
8237
52aa0014
GM
82382011-09-29 Glenn Morris <rgm@gnu.org>
8239
8240 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8241
df9a7357
JB
82422011-09-29 Juanma Barranquero <lekktu@gmail.com>
8243
8244 * descr-text.el (describe-char-categories): Accept category
8245 descriptions more than one line long.
8246
a8406c20
SM
82472011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8248
88d9610c
SM
8249 * simple.el (delete-trailing-whitespace): Fix last change.
8250
a5daf810
SM
8251 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8252 Don't confuse "y => 3" as the beginning of a `y' operation.
8253
a8406c20
SM
8254 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8255 object has more than 4 slots (bug#9613).
8256
a239d4e9
JB
82572011-09-28 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * subr.el (with-output-to-temp-buffer):
8260 * net/quickurl.el (quickurl, quickurl-browse-url):
8261 Fix typos in docstrings.
8262
693fbdb6
EZ
82632011-09-27 Eli Zaretskii <eliz@gnu.org>
8264
8265 * minibuffer.el (completion-styles)
8266 (completion-category-overrides): Cross reference each other in doc
8267 strings.
8268
8b457e28
GM
82692011-09-27 Glenn Morris <rgm@gnu.org>
8270
8271 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8272 to split-string. (Bug#9606)
8273
85a16208
LMI
82742011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8275
8276 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8277 (bug#9615).
8278
502f9ebd
CY
82792011-09-27 Chong Yidong <cyd@stupidchicken.com>
8280
8281 * emacs-lisp/package.el (list-packages): Fix echo area message.
8282
7690bdea
LL
82832011-09-27 Leo Liu <sdl.web@gmail.com>
8284
8285 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8286
e2ee6f30
MA
82872011-09-25 Michael Albinus <michael.albinus@gmx.de>
8288
8289 * net/dbus.el (dbus-unregister-object): Don't release services for
8290 registered signals. (Bug#9581)
8291
f3f98342
TZ
82922011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8293
8294 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8295 function that picks between cfengine 2 and 3 support
8296 automatically. Update docs accordingly.
8297
dd7aa8dd
KH
82982011-09-22 Kenichi Handa <handa@m17n.org>
8299
8300 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8301 ZERO.
8302 (indian-itrans-v5-table-for-tamil): New variable.
8303 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8304
3f2b07f8
KM
83052011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8306
8307 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8308 that's true if the current command involved collapsing of text.
8309 It's reset to false at the beginning of the next command.
8310 (allout-post-command-business): Move the cursor to the beginning
8311 of entry if the cursor is hidden and collapsing activity just
8312 happened.
8313
371d6a61
CY
83142011-09-24 Chong Yidong <cyd@stupidchicken.com>
8315
8316 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8317 tracking (Bug#9541).
8318
2ac2721a
UJ
83192011-09-24 Ulf Jasper <ulf.jasper@web.de>
8320
8321 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8322 (newsticker-show-news): Automatically load html rendering package
8323 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8324 because w3m-fill-column is let-bound" and the error "Symbol's value
8325 as variable is void: w3m-fill-column".
2ac2721a 8326
fac7ae53
MA
83272011-09-24 Michael Albinus <michael.albinus@gmx.de>
8328
8329 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8330 Release services only if they are defined. (Bug#9581)
8331
e08b633b
RS
83322011-09-23 Richard Stallman <rms@gnu.org>
8333
e488d29c
RS
8334 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8335 distinguish start of paragraph from start of its text.
8336
19c38752
RS
8337 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8338
e08b633b
RS
8339 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8340 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8341 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8342
0a39f27e
AS
83432011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8344
8345 * international/mule-diag.el (mule-diag): Insert a newline after
8346 each fontset description.
8347
db4e950d
SM
83482011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 * simple.el (delete-trailing-whitespace):
8351 Document last change; simplify.
8352
eca3f3ea
PW
83532011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8354
d68e189a
PW
8355 * simple.el (delete-trailing-whitespace): Also delete
8356 extra newlines at the end of the buffer.
8357
eca3f3ea
PW
8358 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8359 (picture-newline): Use forward-line so as to ignore fields.
8360
01c157cc
SM
83612011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * subr.el (with-wrapper-hook): Fix edebug spec.
8364
022de23e
LMI
83652011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8366
8367 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8368 (bug#4538).
8369
91683089
MA
83702011-09-23 Michael Albinus <michael.albinus@gmx.de>
8371
eca3f3ea
PW
8372 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8373 Fix nasty bug using wrong cached values.
91683089 8374
5bdd6fa4
AM
83752011-09-23 Alan Mackenzie <acm@muc.de>
8376
8377 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8378
97adfb97
CY
83792011-09-23 Chong Yidong <cyd@stupidchicken.com>
8380
8381 * window.el (pop-to-buffer): Ensure right window is selected if we
8382 chose another frame.
8383
d4ef2b50
EZ
83842011-09-22 Eli Zaretskii <eliz@gnu.org>
8385
8386 * simple.el (what-cursor-position): Use get-char-property-change
8387 and next-single-char-property-change, to be able to show display
8388 properties that come from overlays as well as text properties.
8389
72258fe5
CY
83902011-09-22 Chong Yidong <cyd@stupidchicken.com>
8391
8392 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8393
8394 * cmuscheme.el (run-scheme, switch-to-scheme):
8395 * cus-edit.el (customize-group, custom-buffer-create)
8396 (customize-browse):
8397 * info.el (info):
8398 * shell.el (shell):
8399 * mail/sendmail.el (mail):
8400 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8401
8f098516
RS
84022011-09-22 Richard Stallman <rms@gnu.org>
8403
8404 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8405 move back only to line beg, don't move back over blank lines.
8406
e74f1bb6
MA
84072011-09-22 Michael Albinus <michael.albinus@gmx.de>
8408
8409 * files.el (copy-directory): Set directory attributes only in case
8410 they could be retrieved from the source directory. (Bug#9565)
8411
bfeef8b6
DK
84122011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8413
8414 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8415 (hs-find-block-beginning, hs-hide-level-recursive):
8416 Ignore strings as well as comments. (Bug#9502)
8417
7e423bb8
AS
84182011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8419
8420 * progmodes/sql.el (sql-comint-postgres):
8421 Convert port number to a string. (Bug#9566)
8422
b4d72fcf
MR
84232011-09-22 Martin Rudalics <rudalics@gmx.at>
8424
8425 * window.el (quit-window): Undedicate window when switching to
8426 previous buffer. Reported by Thierry Volpiatto
8427 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8428 (special-display-popup-frame): When popping up a new frame reset
8429 its previous buffers to nil. Simplify code.
b4d72fcf 8430
a7b88dc6
MA
84312011-09-21 Michael Albinus <michael.albinus@gmx.de>
8432
8433 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8434 and process filter, as done also in `shell-command'.
8435
cf4eacfd
MR
84362011-09-21 Martin Rudalics <rudalics@gmx.at>
8437
eca3f3ea 8438 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8439 Call set-window-start with NOFORCE argument t.
8440 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8441 (quit-window): Reword doc-string. Handle new format of
8442 quit-restore parameter. Don't delete window if it has a
8443 previous buffer we can show instead of the present one.
8444 (display-buffer-record-window): Rewrite using a new format for
8445 the quit-restore window parameter
8446 (special-display-popup-frame, display-buffer-same-window)
8447 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8448 (display-buffer-pop-up-window, display-buffer-use-some-window):
8449 Adapt symbol passed to display-buffer-record-window.
8450 * help.el (help-window-setup): Handle new format of quit-restore
8451 parameter.
8452
8d28cb95
SM
84532011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8454
94ab793f
SM
8455 * faces.el (face-list): Fix docstring (bug#9564).
8456
8d28cb95
SM
8457 * window.el (display-buffer--action-function-custom-type):
8458 Don't include internal functions in the Custom interface.
8459
3820edeb
JL
84602011-09-20 Juri Linkov <juri@jurta.org>
8461
8462 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8463 (Info-forward-node, Info-backward-node, Info-next-preorder)
8464 (Info-last-preorder): Use it. (Bug#9528)
8465
5147931d
JL
84662011-09-20 Juri Linkov <juri@jurta.org>
8467
8468 * info.el (Info-last-preorder): Visit last menu item only when
8469 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8470
cf499a1a
JD
84712011-09-20 Julien Danjou <julien@danjou.info>
8472
8473 * password-cache.el (password-cache-remove): Remove entries even if the
8474 value is nil, so that password with a nil value (negative caching) is
8475 possible to invalidate.
8476
f84e2fe2
LM
84772011-09-20 Lawrence Mitchell <wence@gmx.li>
8478
8479 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8480 all whitespace around breakpoint. (Bug#9553)
8481 (f90-find-breakpoint): Only break at whitespace inside a comment.
8482
78054a46
SM
84832011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * minibuffer.el (completion-file-name-table): Keep track of errors.
8486 (completion-table-with-predicate): Handle the case where pred1 is nil.
8487 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8488
345083b2
SM
84892011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8490
e24e27be
SM
8491 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8492 (debugger-return-value): Signal an error if the debugging context does
8493 not await any return value.
8494
345083b2
SM
8495 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8496 * image-mode.el (image-toggle-display-text)
8497 (image-toggle-display-image): Stay away from evil `intangible'.
8498
08d355e3
LL
84992011-09-19 Leo Liu <sdl.web@gmail.com>
8500
8501 * replace.el (occur-revert-arguments): Make it permanent-local.
8502 (occur-mode): Don't call font-lock-defontify.
8503
f01da43f
CY
85042011-09-19 Chong Yidong <cyd@stupidchicken.com>
8505
8506 * net/ldap.el (ldap-search-internal): Don't push empty search
8507 result (Bug#9508).
8508
b6072fa6
SM
85092011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8512
443d6696
MA
85132011-09-19 Michael Albinus <michael.albinus@gmx.de>
8514
8515 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8516 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8517
7cc6e154
JL
85182011-09-18 Juri Linkov <juri@jurta.org>
8519
8520 * buff-menu.el (Buffer-menu-mode-map):
8521 * dired.el (dired-mode-map):
8522 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8523 (lisp-interaction-mode-map):
8524 * emacs-lisp/package.el (package-menu-mode-map):
8525 * epa.el (epa-key-list-mode-map):
8526 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8527 (menu-bar-options-menu):
8528 * outline.el (outline-mode-menu-bar-map):
8529 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8530 * vc/vc-dir.el (vc-dir-menu-map):
8531 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8532 Capitalize non-function content words in menu item strings.
8533
8534 * dired.el (dired-mode-map): Add menu item for
8535 `image-dired-dired-toggle-marked-thumbs'.
8536
80302a81
JL
85372011-09-18 Juri Linkov <juri@jurta.org>
8538
8539 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8540 to `isearch-case-fold-search' and restore its original value
8541 after the `isearch-mode' call.
8542
46c5cf66
JL
85432011-09-18 Juri Linkov <juri@jurta.org>
8544
8545 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8546 because `zgrep' returns 1 for successful matches (bug#9226).
8547
d18b513b
JL
85482011-09-18 Juri Linkov <juri@jurta.org>
8549
8550 * info.el (Info-extract-menu-node-name): Check the second match
8551 for empty string (second test-case of bug#9528).
8552 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8553 intermediate nodes to the history (first test-case of bug#9528).
8554
72753f87
JL
85552011-09-18 Juri Linkov <juri@jurta.org>
8556
8557 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8558 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8559
c9384295
JL
85602011-09-18 Juri Linkov <juri@jurta.org>
8561
1154d12e
JB
8562 * info.el (Info-file-supports-index-cookies):
8563 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8564 outputs one more line for long file names (bug#4142).
c9384295 8565
d473dce8
CY
85662011-09-18 Chong Yidong <cyd@stupidchicken.com>
8567
8568 * newcomment.el (comment-normalize-vars): If prompting for
8569 comment-start, set comment-start-skip too (Bug#8424).
8570
2176854d
JB
85712011-09-18 Johan Bockgård <bojohan@gnu.org>
8572
8573 * icomplete.el: Fix previous fix of Bug#5849.
8574 (icomplete-mode): Don't set completion-show-inline-help.
8575 (icomplete-minibuffer-setup): Set completion-show-inline-help
8576 locally during icompletion.
8577
3aace4e4
CY
85782011-09-18 Chong Yidong <cyd@stupidchicken.com>
8579
c940224f
CY
8580 * woman.el (woman2-process-escapes): Don't delete unrecognized
8581 escapes (Bug#7843).
8582
3aace4e4
CY
8583 * files.el (inhibit-first-line-modes-regexps): Add image files.
8584 (hack-local-variables-prop-line): Return nil for malformed
8585 prop-lines (Bug#9044).
8586
710dec63
MA
85872011-09-18 Michael Albinus <michael.albinus@gmx.de>
8588
8589 * net/tramp.el (top): Don't require 'shell.
8590 (tramp-methods): Fix docstring.
8591 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8592 Return complete remote file name. Handle "smb" case.
8593 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8594 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8595
8596 * net/tramp-compat.el (top): Require 'shell.
8597
8598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8599 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8600 `tramp-current-host'.
8601 (tramp-get-remote-tmpdir): Remove.
8602
8603 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8604 `tramp-tmpdir' entries.
8605 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8606 (tramp-smb-handle-file-attributes): Ignore errors.
8607 (tramp-smb-wait-for-output): Check also for process end.
8608
5d5ac8ec
LMI
86092011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8610
8611 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8612 when sending QUIT (bug#9312).
8613
8c0f49f0
CY
86142011-09-17 Chong Yidong <cyd@stupidchicken.com>
8615
8616 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8617 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8618 occur-mode-display-occurrence.
8619 (occur-edit-mode): Add usage message.
8620 (occur-cease-edit): New command.
8621 (occur-after-change-function): Use text properties to find the
8622 position of the prefix text.
8623 (occur-engine): Set stickiness of prefix text properties.
8624
8f1383f7
GM
86252011-09-17 Glenn Morris <rgm@gnu.org>
8626
8627 * progmodes/etags.el (complete-tag):
8628 Fix call to completion-in-region. (Bug#9526)
8629
744ba0e3
JL
86302011-09-17 Juri Linkov <juri@jurta.org>
8631
8632 * textmodes/ispell.el (ispell-word): Add to the error message
8633 the word, ispell program name and current dictionary (bug#9121).
8634 (ispell-tex-arg-end): Capitalize "error" in the error message.
8635
d9bbf400
AS
86362011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8637
8638 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8639 check. (Bug#4251)
8640
8da11505
JL
86412011-09-17 Juri Linkov <juri@jurta.org>
8642
8643 * window.el (window-safe-min-height, window-safe-min-width):
8644 Fix typos (followup to bug#9522).
8645
a91adc7e
SJ
86462011-09-17 Sven Joachim <svenjoac@gmx.de>
8647
8648 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8649
064f328a
EZ
86502011-09-16 Eli Zaretskii <eliz@gnu.org>
8651
8652 * simple.el (line-move): If goal-column is set, move by logical
8653 lines, not by display lines. (Bug#971)
8654 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8655 to reflect the above change.
8656
e69df516
SM
86572011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8658
8659 * image.el (imagemagick-register-types): Use regexp-opt.
8660
cbb0f9ab
CY
86612011-09-15 Chong Yidong <cyd@stupidchicken.com>
8662
8663 * window.el (display-buffer-base-action): Rename from
8664 display-buffer-default-action. Make default value empty.
8665 (display-buffer-overriding-action): Convert to defvar.
8666 (display-buffer-fallback-action): New var.
8667
25322144
CY
86682011-09-15 Chong Yidong <cyd@stupidchicken.com>
8669
8670 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8671 declaration.
8672 (package--add-to-archive-contents): If there is a duplicate entry
8673 with an older version, remove it.
8674 (package-menu-mark-delete, package-menu-mark-install)
8675 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8676 (package-menu-mark-obsolete-for-deletion):
8677 Use package-menu-get-status instead of a regexp search.
25322144
CY
8678 (package-menu-get-status): Use tabulated-list-entry.
8679 (package-menu-mark-upgrades): New command.
d770725a 8680 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8681 (package-menu-execute): Do installation before deletion.
8682 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8683 instead of checking major-mode.
8684 (package-menu--find-upgrades): New function.
8685
7520339c
LMI
86862011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8687
8688 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8689 passwords in the log buffer.
65a046c4
LMI
8690 (smtpmail-process-filter): Update the process marker so that the
8691 "broken by peer" status message is inserted in the right place.
7520339c 8692
d3c30954
SM
86932011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8694
3fe48822
SM
8695 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8696 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8697 bibtex-completion-at-point-function.
8698 (bibtex-completion-at-point-function): Use them.
8699
1b8b3954
SM
8700 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8701
d3c30954
SM
8702 * mpc.el (mpc-constraints-tag-lookup): New function.
8703 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8704 also to browser "album|playlist".
8705
72779976
JL
87062011-09-14 Juri Linkov <juri@jurta.org>
8707
8708 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8709 (isearch-edit-string): Use length of `isearch-string' when
8710 `isearch-fail-pos' returns nil.
8711 (isearch-message): Remove duplicate code and call
8712 `isearch-fail-pos' with arg `t'.
8713
a0bf2bcd
CY
87142011-09-14 Chong Yidong <cyd@stupidchicken.com>
8715
17bb0a2d
CY
8716 * replace.el (occur-mode-goto-occurrence): Don't force using other
8717 window (Bug#9499).
8718
a0bf2bcd
CY
8719 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8720
f678e0b6
MR
87212011-09-14 Martin Rudalics <rudalics@gmx.at>
8722
8723 * window.el (display-buffer-window): Remove.
8724 (display-buffer-record-window): Use help-setup window parameter
8725 instead of variable display-buffer-window.
8726 (display-buffer-function, special-display-buffer-names)
8727 (special-display-function): Mention help-setup parameter instead
8728 of display-buffer-window in doc-string.
d3c30954
SM
8729 * help.el (help-window-setup): New argument help-window.
8730 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8731 Reword some messages.
8732 (with-help-window): Pass window used for displaying the buffer
8733 to help-window-setup. Don't set display-buffer-window.
8734
8e39b2e8
GM
87352011-09-13 Glenn Morris <rgm@gnu.org>
8736
8737 * emacs-lisp/debug.el (debugger-make-xrefs):
8738 Preserve point. (Bug#9462)
8739
85e9c04b
CY
87402011-09-13 Chong Yidong <cyd@stupidchicken.com>
8741
8742 * window.el (window-deletable-p): Use next-frame.
8743
1b36ed6a
MR
87442011-09-13 Martin Rudalics <rudalics@gmx.at>
8745
8746 * window.el (window-auto-delete): Remove.
8747 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8748 dedication and previous buffers.
1b36ed6a
MR
8749 (switch-to-prev-buffer): Don't delete window.
8750 (delete-windows-on): Delete a window's frame if and only if the
8751 window is dedicated.
8752 (replace-buffer-in-windows): Delete buffer's window or frame if
8753 and only if window is dedicated.
8754 (quit-window): Handle quit-restore as before last change.
4d61f28d 8755 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8756
ef8ef9fb
CY
87572011-09-13 Chong Yidong <cyd@stupidchicken.com>
8758
8759 * window.el (window-deletable-p): Never delete the last frame on a
8760 given terminal.
8761
b2cba41e
GM
87622011-09-13 Glenn Morris <rgm@gnu.org>
8763
8764 * help.el (describe-key-briefly): Copy previous standard-output change.
8765
51553db6 87662011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8767
8768 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8769
b7556719
GM
87702011-09-13 Glenn Morris <rgm@gnu.org>
8771
8772 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8773 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8774
64b51947
CY
87752011-09-12 Chong Yidong <cyd@stupidchicken.com>
8776
8777 * dired-aux.el (dired-mark-read-string): Don't return default
8778 value on empty input (Bug#9361).
8779 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8780 Omit initial minibuffer contents.
8781 (dired-do-chmod): Signal an error on empty input.
8782 (dired-mark-read-string): Don't return default on empty input.
8783
8784 * files.el (file-modes-symbolic-to-number): Doc fix.
8785
393a301e
SM
87862011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * international/mule-cmds.el (ucs-completions): Remove.
8789 (read-char-by-name): Use complete-with-action instead; add metadata.
8790
fa5660f9
CY
87912011-09-11 Chong Yidong <cyd@stupidchicken.com>
8792
8793 * window.el (display-buffer--action-function-custom-type)
8794 (display-buffer--action-custom-type): New vars.
8795 (display-buffer-alist, display-buffer-default-action)
8796 (display-buffer-overriding-action): Add defcustom types.
8797
4a592f66
CY
8798 * frame.el (delete-other-frames): Doc fix (Bug#276).
8799
73d56dbd
LMI
88002011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8801
8802 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8803
37ac18a3
CY
88042011-09-11 Chong Yidong <cyd@stupidchicken.com>
8805
8806 Change modes that used same-window-* vars to use switch-to-buffer.
8807
8808 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8809 Use switch-to-buffer.
8810
8811 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8812 (customize-browse, custom-buffer-create-other-window):
8813 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8814
8815 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8816 (Info-prev, Info-up, Info-speedbar-goto-node)
8817 (info-display-manual): Use switch-to-buffer.
8818 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8819
8820 * mail/sendmail.el (mail): Use switch-to-buffer.
8821 (mail-recover): Use switch-to-buffer-other-window.
8822
8823 * cmuscheme.el (run-scheme, switch-to-scheme):
8824 * ielm.el (ielm):
8825 * shell.el (shell):
8826 * net/rlogin.el (rlogin):
8827 * net/telnet.el (telnet, rsh):
8828 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8829
10195bd6
AS
88302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8831
8832 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8833
b322f63a
LMI
88342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8835
39d7fed6
LMI
8836 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8837 so don't mention it (bug#9301).
ba5a81f1 8838 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8839
ee0e9f11
LMI
8840 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8841 match `x', `w32' and `ns', like the manual says (bug#9029).
8842
0b1c89c1 8843 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8844 (process-kill-buffer-query-function): Mention the buffer name in
8845 the query.
0b1c89c1 8846
77549ea8
LMI
8847 * image-mode.el (image-next-line): The line parameter is mandatory
8848 (bug#9258).
8849
803ef892
LMI
8850 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8851 which can be useful (bug#9301).
8852
12980837
LMI
8853 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8854
91054f8f
LMI
8855 * subr.el (match-string): Mention that the current buffer should
8856 be the same as the search was done in (bug#9282).
8857
b322f63a
LMI
8858 * facemenu.el: Disable the remove-* commands if the mark isn't
8859 active (bug#9162).
8860
3199b96f
CY
88612011-09-10 Chong Yidong <cyd@stupidchicken.com>
8862
8863 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8864 of display-buffer.
8865 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8866
8867 * replace.el (occur-mode-goto-occurrence)
8868 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8869 and display-buffer.
8870
8871 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8872 display-buffer.
8873
8874 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8875 special-display and same-window variables.
8876 (mail-other-window): Use switch-to-buffer-other-window.
8877 (mail-other-frame): USe switch-to-buffer-other-frame.
8878
393a301e
SM
8879 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8880 Use display-buffer-other-frame.
3199b96f
CY
8881 (gdb-display-gdb-buffer): Use pop-to-buffer.
8882
8883 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8884
8885 * progmodes/python.el: Don't set same-window-buffer-names.
8886
8887 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8888
8889 * window.el (display-buffer-alist): Add *Python*.
8890
8319e0bf
CY
88912011-09-10 Chong Yidong <cyd@stupidchicken.com>
8892
8893 * window.el (display-buffer-alist): Add entry for buffers
8894 previously handled same-window-*.
8895 (display-buffer-alist, display-buffer-default-action)
8896 (display-buffer-overriding-action): Mark as risky.
8897 (display-buffer-alist): Document action function changes.
8898 (display-buffer--same-window-action)
8899 (display-buffer--other-frame-action): New variables.
8900 (switch-to-buffer, display-buffer-other-frame): Use them.
8901 (display-buffer): Rename reuse-frame entry to reusable-frames.
8902 (display-buffer-reuse-selected-window): Function deleted.
8903 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8904 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8905 (display-buffer-special): New function.
8906 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8907 display-buffer-reuse-or-pop-window. Split off special-display
8908 part into display-buffer-special.
8909 (display-buffer-use-some-window): Don't perform any special
8910 pop-up-frames handling.
8911 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8912 (display-buffer--maybe-same-window): Rename from
0d3ff375 8913 display-buffer-maybe-same-window.
8319e0bf 8914
919a69aa
CY
8915 * info.el: Don't set same-window-regexps.
8916 (info-setup): New function.
8917 (info-other-window, info): Call it.
8918
8919 * cus-edit.el: Don't set same-window-regexps.
8920 (customize-group): New argument.
8921 (customize-group-other-window): Use it.
8922 (customize-face, customize-face-other-window): Likewise.
8923 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8924
8319e0bf
CY
8925 * net/rlogin.el:
8926 * net/telnet.el:
8927 * progmodes/gud.el: Don't set same-window-regexps.
8928
8929 * cmuscheme.el:
8930 * ielm.el:
8931 * shell.el:
8932 * mail/sendmail.el:
8933 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8934
25173000
JL
89352011-09-10 Juri Linkov <juri@jurta.org>
8936
8937 * isearch.el (isearch-edit-string): Remove obsolete mention of
8938 `C-w' (`isearch-yank-word-or-char') from docstring.
8939 (isearch-query-replace): Fix typo in docstring (bug#9466).
8940
056e44ef
JL
89412011-09-10 Juri Linkov <juri@jurta.org>
8942
8943 * paren.el (show-paren-function): Don't show escaped parens.
8944 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8945
c3760c17
EZ
89462011-09-10 Eli Zaretskii <eliz@gnu.org>
8947
8948 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8949 (mm-default-file-encoding): Remove autoload forms, they are
8950 replaced with autoload cookies in mml.el and mm-encode.el.
8951 (mail-add-attachment): New command.
8952 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8953 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8954 the doc string.
8955 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8956
fece895e
RT
89572011-09-10 Reuben Thomas <rrt@sc3d.org>
8958
e69df516
SM
8959 * simple.el (count-words-region): Use buffer if there's no region
8960 (bug#9429).
fece895e 8961
5e68ce4a
JL
89622011-09-09 Juri Linkov <juri@jurta.org>
8963
8964 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8965 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8966 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8967
0a6b9622
AM
89682011-09-09 Alan Mackenzie <acm@muc.de>
8969
8970 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8971 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8972
14a29deb
EZ
89732011-09-09 Eli Zaretskii <eliz@gnu.org>
8974
8975 Fix for Savannah bug#9392.
8976 * simple.el (mail-encode-mml): New defvar.
8977
8978 * mail/rmail.el (mail-encode-mml): Add a defvar.
8979 (rmail-enable-mime-composing): Default to t.
8980 (rmail-forward): Use MIME method of forwarding only if both
8981 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8982 Set mail-encode-mml non-nil if the MIME method was used.
8983
8984 * mail/sendmail.el (mml-to-mime): Add autoload form.
8985 (mail-encode-mml): Add a defvar.
8986 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8987 to nil.
8988 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8989 message through mml-to-mime, and reset mail-encode-mml to nil.
8990
28c45130
GM
89912011-09-09 Glenn Morris <rgm@gnu.org>
8992
8993 * woman.el (woman-if-body): When processing an .el block,
8994 do not delete the next .el block as well. (Bug#9447)
69f4b618 8995 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8996
9b1c252e
MR
89972011-09-08 Martin Rudalics <rudalics@gmx.at>
8998
8999 * window.el (window-deletable-p): Make sure window is live before
9000 invoking window-prev-buffers.
9001
567457e3
LL
90022011-09-08 Leo Liu <sdl.web@gmail.com>
9003
9004 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9005
97f05794
JL
90062011-09-08 Juri Linkov <juri@jurta.org>
9007
9008 * progmodes/compile.el (compilation-environment): Make it
9009 a defcustom (bug#8340).
9010
8b0874b5
MR
90112011-09-08 Martin Rudalics <rudalics@gmx.at>
9012
9013 * window.el (frame-auto-delete): Rename to window-auto-delete.
9014 Make it control auto-deletion of windows and/or frames.
9015 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9016 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9017 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9018 Rewrite handling of case when window/frame can be deleted.
9019 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9020 argument t. (Bug#9456)
8b0874b5 9021
4feb6e73
CY
90222011-09-07 Chong Yidong <cyd@stupidchicken.com>
9023
9024 * help-mode.el (help-mode): Restore autoload.
9025
91ab9c13
JL
90262011-09-07 Juri Linkov <juri@jurta.org>
9027
9028 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9029 `compilation-environment'. Set buffer-local
9030 `compilation-environment' to `thisenv' later after (funcall mode).
9031 (Bug#8340)
9032
9033 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9034 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9035 instead of replacing its value. (Bug#8340)
9036
0527e251
JL
90372011-09-07 Juri Linkov <juri@jurta.org>
9038
9039 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9040 based on text properties put by `grep-filter' instead of matching
9041 escape sequences.
9042 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9043 to the value of `grep-error-screen-columns' (bug#9438).
9044
249f792c
JL
90452011-09-07 Juri Linkov <juri@jurta.org>
9046
9047 * simple.el (next-error-highlight, next-error-highlight-no-select):
9048 Doc fix (bug#9432).
9049
ff7271b9
OT
90502011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9051
9052 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9053 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9054
183fc730
LL
90552011-09-07 Leo Liu <sdl.web@gmail.com>
9056
9057 * net/rcirc.el (rcirc-mode): Conditionally initialize
9058 rcirc-input-ring.
9059
77694924
SM
90602011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * emacs-lisp/find-func.el (find-function-C-source): Only set
9063 find-function-C-source-directory after checking that we found a source
9064 file there (bug#9440).
9065
d809b8eb
AM
90662011-09-06 Alan Mackenzie <acm@muc.de>
9067
9068 * isearch.el (isearch-other-meta-char): Wherever a key list is
9069 unread, "unread" the prefix arg, too. This fixes bug #8901.
9070
453de99f
OG
90712011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9072
9073 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9074
90439906
JL
90752011-09-05 Juri Linkov <juri@jurta.org>
9076
9077 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9078
f62bd846
JL
90792011-09-05 Juri Linkov <juri@jurta.org>
9080
9081 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9082 keeping point where processing of grep matches begins, and
9083 continue to delete remaining escape sequences from the same point.
9084 (grep-filter): Make leading zero optional in "0?1;31m" because
9085 git-grep emits "\033[1;31m" escape sequences unlike expected
9086 "\033[01;31m" as GNU Grep does (bug#9408).
9087 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9088
045820ec
JL
90892011-09-05 Juri Linkov <juri@jurta.org>
9090
9091 * subr.el (y-or-n-p): Capitalize "yes".
9092
f5e29b9b
MA
90932011-09-04 Michael Albinus <michael.albinus@gmx.de>
9094
9095 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9096 `tramp-cache-unload-hook' where appropriate.
9097 (tramp-methods): Rename `tramp-remote-sh' to
9098 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9099 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9100
9101 * net/tramp-sh.el (top): Don't require 'shell.
9102 (tramp-methods): Add `tramp-remote-shell' and
9103 `tramp-remote-shell-args' entries.
9104 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9105 (tramp-sh-handle-shell-command): Remove.
9106 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9107 Use `tramp-remote-shell'.
9108
2784c434
CY
91092011-09-03 Chong Yidong <cyd@stupidchicken.com>
9110
393a301e 9111 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9112 (sendmail-query-once): Save directly to send-mail-function.
9113 Update message-send-mail-function too.
9114
9115 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9116
464cdf56
CS
91172011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9118
9119 * progmodes/python.el (python-mode-map): Use correct function to
9120 start python interpreter from menu-bar (as reported by Geert
9121 Kloosterman).
9122 (inferior-python-mode-map): Fix typo.
393a301e 9123 (python-shell-map): Remove.
464cdf56 9124
d37e5c87
DD
91252011-09-03 Deniz Dogan <deniz@dogan.se>
9126
9127 * net/rcirc.el (rcirc-print): Simplify code for
9128 rcirc-scroll-show-maximum-output. There is no need to walk
9129 through all windows to find the right one.
9130
f3ada0ee
CS
91312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9132
9133 * help.el (help-return-method): Doc fix.
9134
1f3c99ca
MR
91352011-09-03 Martin Rudalics <rudalics@gmx.at>
9136
9137 * window.el (window-deletable-p): Don't return a non-nil value
9138 when there's a buffer that was shown in the window before.
9139 (Bug#9419)
393a301e
SM
9140 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9141 Set window's previous buffers to nil.
1f3c99ca 9142
a3cf097f
EZ
91432011-09-03 Eli Zaretskii <eliz@gnu.org>
9144
9145 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9146 newline before and after the tag line, so it doesn't interfere
9147 with determining the paragraph direction of bidirectional text.
9148
3d03de90
LL
91492011-09-03 Leo Liu <sdl.web@gmail.com>
9150
9151 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9152
c3313451
CY
91532011-09-02 Chong Yidong <cyd@stupidchicken.com>
9154
393a301e 9155 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9156 (pop-to-buffer): Change interactive spec. Pass second argument
9157 directly to display-buffer.
9158 (display-buffer): Fix interactive spec. Use functionp to
9159 distinguish between a function and a list of functions.
9160
9161 * abbrev.el (edit-abbrevs):
9162 * arc-mode.el (archive-extract):
9163 * autoinsert.el (auto-insert):
9164 * bookmark.el (bookmark-bmenu-list):
9165 * files.el (find-file):
9166 * view.el (view-buffer):
9167 * progmodes/compile.el (compilation-goto-locus):
9168 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9169
89894cd8
CY
91702011-09-02 Chong Yidong <cyd@stupidchicken.com>
9171
9172 * window.el (display-buffer-alist): Doc fix.
9173 (display-buffer): Add docstring. Don't treat
9174 display-buffer-default specially.
9175 (display-buffer-reuse-selected-window)
9176 (display-buffer-same-window, display-buffer-maybe-same-window)
9177 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9178 (display-buffer-pop-up-window)
9179 (display-buffer-reuse-or-pop-window)
9180 (display-buffer-use-some-window): New functions.
9181 (display-buffer-default-action): Use them.
393a301e 9182 (display-buffer-default): Delete.
89894cd8
CY
9183 (pop-to-buffer-1): Fix choice of actions.
9184
ae0bc9fb
SM
91852011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9186
9187 * minibuffer.el (completion--insert-strings): Don't get confused by
9188 completion entries that end with an LF char.
9189
e9d90883
EZ
91902011-09-01 Eli Zaretskii <eliz@gnu.org>
9191
9192 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9193
437014c8
CY
91942011-09-01 Chong Yidong <cyd@stupidchicken.com>
9195
9196 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9197 (display-buffer-same-window, display-buffer-other-window):
9198 New functions.
437014c8
CY
9199 (pop-to-buffer-1): New function. Use the above.
9200 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9201 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9202
9203 * view.el (view-buffer-other-window, view-buffer-other-frame):
9204 Just use pop-to-buffer.
9205
a5e063d5
TV
92062011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9207
9208 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9209
793d32bb
WH
92102011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9211
9212 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9213
d65e4c15
RS
92142011-08-31 Richard Stallman <rms@gnu.org>
9215
9216 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9217 of the separation of rmail-view-buffer from rmail-buffer.
9218 If you say no to "replace original", the decrypt is in the
9219 view buffer. If you say yes, the decrypt goes into the
9220 rmail buffer also.
9221
f818cd2a
MR
92222011-08-31 Martin Rudalics <rudalics@gmx.at>
9223
9224 * window.el (display-buffer-window): Rewrite doc-string.
9225 (display-buffer-record-window): New function.
9226 (display-buffer-macro-specifiers)
9227 (display-buffer-even-window-sizes, display-buffer-set-height)
9228 (display-buffer-set-width, display-buffer-in-window)
9229 (display-buffer-reuse-window, display-buffer-split-specifiers)
9230 (display-buffer-side-specifiers, display-buffer-split-window-1)
9231 (display-buffer-split-window, display-buffer-split-atom-window)
9232 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9233 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9234 (display-buffer-other-window-means-other-frame)
9235 (display-buffer-normalize-special)
9236 (display-buffer-normalize-default)
9237 (display-buffer-normalize-argument)
9238 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9239 (display-buffer-normalize-specifiers, display-buffer-frame)
9240 (display-buffer-same-window, display-buffer-same-frame)
9241 (display-buffer-other-window)
9242 (display-buffer-same-frame-other-window)
9243 (display-buffer-other-frame, pop-to-buffer-same-window)
9244 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9245 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9246 (switch-to-buffer-same-frame)
9247 (switch-to-buffer-other-window-same-frame)
9248 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9249 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9250 (display-buffer-alist-set): Remove.
9251 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9252 (special-display-regexps, special-display-function):
9253 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9254 parameter.
9255 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9256 (special-display-frame-alist, special-display-popup-frame)
9257 (same-window-buffer-names, same-window-regexps, same-window-p)
9258 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9259 (split-window-preferred-function, split-height-threshold)
9260 (split-width-threshold, window-splittable-p)
9261 (split-window-sensibly, window--try-to-split-window)
9262 (window--frame-usable-p, even-window-heights)
9263 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9264 (window--display-buffer-2, display-buffer-other-frame):
9265 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9266 (display-buffer-default, display-buffer-assq-regexp): New functions.
9267 (display-buffer-alist): Rewrite doc-string.
9268 (display-buffer-default-action)
9269 (display-buffer-overriding-action): New variables.
9270 (display-buffer, switch-to-buffer): Rewrite.
9271 (pop-to-buffer): Restore Emacs 23 behavior but use
9272 window-normalize-buffer-to-display.
9273 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9274 Restore Emacs 23 behavior but use
9275 window-normalize-buffer-to-switch-to.
9276 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9277 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9278 Rewrite using Emacs 23 options.
f818cd2a 9279
5bc3b51d
MA
92802011-08-31 Michael Albinus <michael.albinus@gmx.de>
9281
9282 * net/tramp.el (tramp-root-regexp): Remove.
9283 (tramp-completion-file-name-regexp-unified)
9284 (tramp-completion-file-name-regexp-separate)
9285 (tramp-completion-file-name-regexp-url): Don't use leading volume
9286 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9287 (tramp-drop-volume-letter): Simplify definition.
9288 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9289
b1a4f8e1
SM
92902011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9291
9292 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9293 (bug#9356).
9294
5664fa7b
RT
92952011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9296
b1a4f8e1 9297 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9298
9a45d6c3
JL
92992011-08-29 Juri Linkov <juri@jurta.org>
9300
9301 * isearch.el (isearch-done): Don't display message "Mark saved"
9302 when arg `edit' is non-nil to prevent its flicker in the echo area.
9303
fb87e0fb
CY
93042011-08-28 Chong Yidong <cyd@stupidchicken.com>
9305
9306 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9307 obsolete packages for deletion.
9308
09ac1c2a
CS
93092011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9310
9311 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9312 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9313 view-mode from help-mode.
9314 (help-xref-override-view-map): Remove.
9315 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9316 view-mode is not used anymore.
9317
7a1ff57f
CY
93182011-08-28 Chong Yidong <cyd@stupidchicken.com>
9319
9320 * server.el (server-port): Doc fix.
9321
b9696605
CY
9322 * cus-theme.el (custom-theme-choose-mode): Inherit from
9323 special-mode (Bug#9124).
9324 (custom-theme-choose-mode-map): Add special-mode to parent.
9325
ef8cdf8c
AM
93262011-08-28 Alan Mackenzie <acm@muc.de>
9327
9328 * progmodes/cc-fonts.el
9329 (c-make-font-lock-BO-decl-search-function): New function.
9330 (c-basic-matchers-after - "Fontify the clauses after various
9331 keywords"): Extract the three keyword lists for the 3 erroneous
9332 constructs from the list of four, and use the new function above
9333 in place of an old one.
9334
27de4e20
DD
93352011-08-28 Deniz Dogan <deniz@dogan.se>
9336
9337 * net/rcirc.el (rcirc-insert-prev-input)
9338 (rcirc-insert-next-input): Remove unused argument.
9339
356a3681
SM
93402011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9343
3fc9b218
AM
93442011-08-27 Alan Mackenzie <acm@muc.de>
9345
9346 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9347 handle function pointer parameters properly.
9348
538a061c
MR
93492011-08-27 Martin Rudalics <rudalics@gmx.at>
9350
9351 * window.el (display-buffer-reuse-window): Fix case where
9352 selected window was reused with non-nil OTHER-WINDOW argument.
9353 (Bug#9381)
9354
35b1c40c
DD
93552011-08-27 Deniz Dogan <deniz@dogan.se>
9356
9357 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9358 oftc's NickServ messages.
9359
2f6a3e79
GM
93602011-08-27 Glenn Morris <rgm@gnu.org>
9361
9362 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9363
7254299e
CY
93642011-08-26 Chong Yidong <cyd@stupidchicken.com>
9365
9366 * emacs-lisp/package.el (package-install): Call package-initialize
9367 if called interactively.
9368
f8ccf167
LL
93692011-08-26 Leo Liu <sdl.web@gmail.com>
9370
9371 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9372
3e8cd5ce
JL
93732011-08-25 Juri Linkov <juri@jurta.org>
9374
9375 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9376 `search-whitespace-regexp' (bug#9364).
9377
93eb7113
JL
93782011-08-25 Juri Linkov <juri@jurta.org>
9379
9380 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9381 `regexp-search-ring' to their global values to protect from
9382 updating by `read-from-minibuffer' (bug#9185).
9383
f65d1611
JL
93842011-08-25 Juri Linkov <juri@jurta.org>
9385
9386 * textmodes/ispell.el (ispell-command-loop): Add newline
9387 at the end of the "Use option `i'..." line.
9388
f1cf7a31
JL
93892011-08-25 Juri Linkov <juri@jurta.org>
9390
9391 * battery.el (display-battery-mode): If `battery-status-function'
9392 or `battery-mode-line-format' is nil, display the message and set
9393 `display-battery-mode' to nil (bug#9363).
9394
0c95fcf7
EZ
93952011-08-25 Eli Zaretskii <eliz@gnu.org>
9396
9397 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9398 bidi-string-mark-left-to-right; they are unnecessary now.
9399
a2ebe600
DD
94002011-08-25 Deniz Dogan <deniz@dogan.se>
9401
9402 * net/quickurl.el: Documentation typo fixes.
9403
e4ed06f1
CY
94042011-08-25 Chong Yidong <cyd@stupidchicken.com>
9405
9406 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9407
e5f1c99e
GM
94082011-08-25 Glenn Morris <rgm@gnu.org>
9409
b2948976
GM
9410 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9411
e5f1c99e
GM
9412 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9413 (smtpmail-via-smtp): Handle nil response from smtp.
9414
f22f4808
JL
94152011-08-24 Juri Linkov <juri@jurta.org>
9416
9417 * proced.el (proced-marked): Inherit from `error' instead of
9418 `font-lock-warning-face'.
9419
9420 * ibuffer.el (ibuffer-marked-face): Change default face from
9421 `font-lock-warning-face' to `warning'.
9422 (ibuffer-deletion-face): Change default face from
9423 `font-lock-type-face' to `error'.
9424
9425 * battery.el (battery-update): Use the face `error' instead of
9426 `font-lock-warning-face' (bug#6117).
9427
6a93965e
JL
94282011-08-24 Juri Linkov <juri@jurta.org>
9429
9430 * faces.el (success): Change face color from "Green3" to
9431 "ForestGreen" on light background (bug#9353).
9432
1ed43b09
CY
94332011-08-24 Chong Yidong <cyd@stupidchicken.com>
9434
5664fa7b
RT
9435 * window.el (quit-window): Rename from quit-restore-window.
9436 Use same arglist as old quit-window.
1ed43b09
CY
9437 (frame-auto-delete): Doc fix.
9438
9439 * view.el (view-mode-exit): Use quit-window.
9440
11dcdbb2
JL
94412011-08-24 Juri Linkov <juri@jurta.org>
9442
9443 * isearch.el (isearch-ring-adjust1): Start visiting previous
9444 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9445 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9446 for empty search string (when the last search string is reused
9447 automatically) to adjust the isearch ring to the last element and
9448 prepare the correct index for further M-p commands (bug#9185).
9449
de62b4df
KH
94502011-08-24 Kenichi Handa <handa@m17n.org>
9451
9452 * international/ucs-normalize.el: If decomposition property of
9453 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9454 nil.
9455 (nfd, nfkd): Likewise.
9456
963b492b
SM
94572011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9460 from process filters aren't reliably transmitted to the surrounding
9461 accept-process-output.
9462 (mpc-proc-check): New function.
9463 (mpc-proc-sync): Use it (bug#8293)
9464
93b6b5e1
SM
94652011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9468 Add compatibility functions (bug#9313).
9469
bca633fb
EZ
94702011-08-23 Eli Zaretskii <eliz@gnu.org>
9471
b177498a
EZ
9472 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9473
6df6ae42 9474 * international/uni-bidi.el: Regenerate.
bca633fb 9475
0902a04e
KH
94762011-08-23 Kenichi Handa <handa@m17n.org>
9477
9478 * international/charprop.el:
9479 * international/uni-bidi.el:
9480 * international/uni-category.el:
9481 * international/uni-combining.el:
9482 * international/uni-comment.el:
9483 * international/uni-decimal.el:
9484 * international/uni-decomposition.el:
9485 * international/uni-digit.el:
9486 * international/uni-lowercase.el:
9487 * international/uni-mirrored.el:
9488 * international/uni-name.el:
9489 * international/uni-numeric.el:
9490 * international/uni-old-name.el:
9491 * international/uni-titlecase.el:
9492 * international/uni-uppercase.el: Regenerate.
9493
3bbf23bc
MR
94942011-08-23 Martin Rudalics <rudalics@gmx.at>
9495
9496 * help.el (help-window-setup): Fix message displayed when other
9497 window is reused. (Bug#9341)
9498
b3fd59bd
SM
94992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9500
1802e444
SM
9501 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9502 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9503
b3fd59bd
SM
9504 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9505 Mark obsolete.
9506 * shell.el (shell-parse-pcomplete-arguments): New function.
9507 (shell-completion-vars): Use it instead (bug#9160).
9508
4eb61348
SM
95092011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9510
867cab74
SM
9511 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9512 strings and comments (bug#9333).
9513
4eb61348
SM
9514 * emacs-lisp/debug.el (debug-arglist): New function.
9515 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9516 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9517
262a1439
JL
95182011-08-22 Juri Linkov <juri@jurta.org>
9519
56ee679c
JL
9520 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9521 Revert regexp that highlights output switches to its old
9522 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9523
262a1439
JL
9524 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9525 to check for empty output (bug#9226).
9526
f13f86fb
CY
95272011-08-22 Chong Yidong <cyd@stupidchicken.com>
9528
9529 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9530 symbol-constituent as the default, as that stops font-lock from
9531 working properly (Bug#8843).
9532
c65c9622
LMI
95332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9534
9535 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9536 `coding-system-for-*' around the process open call to avoid
9537 auth-source side effects.
e7f2c178 9538 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9539 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9540 probe hangs.
c65c9622 9541
23a8a5ab
CY
95422011-08-21 Chong Yidong <cyd@stupidchicken.com>
9543
ff98b2dd
CY
9544 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9545
23a8a5ab
CY
9546 * emacs-lisp/find-func.el (find-function-noselect): New arg
9547 lisp-only.
9548
9549 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9550 signal an error for built-in functions (Bug#6664).
9551
f5e3c598
LMI
95522011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9553
9554 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9555 (smtpmail-try-auth-methods): Use it.
9556
a3f2468a
CY
95572011-08-21 Chong Yidong <cyd@stupidchicken.com>
9558
2c34e8da
CY
9559 * font-lock.el (font-lock-fontify-region)
9560 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9561 (font-lock-default-unfontify-buffer)
9562 (font-lock-default-fontify-region)
9563 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9564
b3fd59bd
SM
9565 * progmodes/compile.el (compilation-error-properties):
9566 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9567 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9568 `ant' regexp.
ee31aabc 9569
a3f2468a
CY
9570 * net/browse-url.el (browse-url-firefox): Don't call
9571 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9572
8e999f70
GM
95732011-08-20 Glenn Morris <rgm@gnu.org>
9574
c21a496a
GM
9575 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9576
59ee0542
GM
9577 * tutorial.el (tutorial--default-keys): Update some default bindings.
9578
8e999f70
GM
9579 * files.el (hack-local-variables): Fully ignore case for "mode:".
9580
e3715033
AM
95812011-08-20 Alan Mackenzie <acm@muc.de>
9582
9583 Resolve invalid use of a regexp in regexp-opt.
9584
4d61f28d
JB
9585 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9586 detection for a java annotation.
e3715033 9587
4d61f28d 9588 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9589 detection for a java annotation.
9590
4d61f28d
JB
9591 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9592 handling for java.
e3715033
AM
9593 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9594
04ed2e9c
CY
95952011-08-20 Chong Yidong <cyd@stupidchicken.com>
9596
9597 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9598 (Bug#9274).
9599
826cee64
AM
96002011-08-20 Alan Mackenzie <acm@muc.de>
9601
58179cce 9602 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9603 such a construct. Mainly for when jit-lock etc. starts a chunk
9604 here.
9605
58179cce 9606 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9607 variable.
58179cce 9608 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9609 c-make-font-lock-search-function.
9610 (c-make-font-lock-search-function): Use the above function.
9611 (c-make-font-lock-context-search-function): New function.
9612 (c-cpp-matchers): Enhance the preprocessor expression case with
9613 the above function
9614 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9615 which takes an expression.
9616
9617 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9618
13009bd8
MR
96192011-08-20 Martin Rudalics <rudalics@gmx.at>
9620
9621 * window.el (display-buffer-reuse-window)
9622 (display-buffer-pop-up-window): Don't reuse or split a side
9623 window.
9624
9234ff7f
GM
96252011-08-19 Glenn Morris <rgm@gnu.org>
9626
9627 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9628 Downcase "Mode:". (Bug#9331)
9234ff7f 9629
f635daa1
CY
96302011-08-18 Chong Yidong <cyd@stupidchicken.com>
9631
9632 * international/characters.el: Add L and R categories.
9633
9634 * subr.el (bidi-string-mark-left-to-right): Rename from
9635 string-mark-left-to-right. Use category search.
9636
9637 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9638
bc987f8b
JL
96392011-08-18 Juri Linkov <juri@jurta.org>
9640
9641 * faces.el (error, warning, success): New faces with definitions
9642 copied from old default values of `font-lock-warning-face',
9643 `compilation-warning', `compilation-info' (bug#6117).
9644
9645 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9646
9647 * progmodes/compile.el (compilation-error): Inherit from `error'.
9648 (compilation-warning): Inherit from `warning'.
9649 (compilation-info): Inherit from `success'.
9650
9651 * dired.el (dired-marked): Inherit from `warning'.
9652 (dired-flagged): Inherit from `error'.
9653
57173b96
LMI
96542011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9655
3e79eb87
LMI
9656 * mail/smtpmail.el (auth-source): Require to avoid problems with
9657 binding variables (bug#9298). Also clean up some unused
9658 autoloads.
9659
b3fd59bd
SM
9660 * net/network-stream.el (network-stream-open-starttls):
9661 Support using starttls.el without using gnutls-cli.
57173b96 9662
02b404de
JL
96632011-08-17 Juri Linkov <juri@jurta.org>
9664
9665 * progmodes/grep.el (rgrep): Handle the case when
9666 `grep-find-command' is a cons cell (bug#9278).
9667
8c9177f2
MR
96682011-08-17 Martin Rudalics <rudalics@gmx.at>
9669
9670 * window.el (display-buffer-pop-up-frame): Run frame creation
9671 function with BUFFER current (as special-display-popup-frame
9672 does). Reported by Drew Adams.
9673
3644a0ab
DU
96742011-08-17 Daiki Ueno <ueno@unixuser.org>
9675
9676 * epa-mail.el: Simplify GnuPG group expansion using
9677 epg-expand-group.
9678 (epa-mail-group-alist, epa-mail-group-modtime)
9679 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9680 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9681 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9682 Remove.
9683
5e617bc2 96842011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9685
9686 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9687
9c4aeabf
AM
96882011-08-16 Alan Mackenzie <acm@muc.de>
9689
9690 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9691 Correct, to avoid the inside of macros.
9692
3a99bf64
RS
96932011-08-16 Richard Stallman <rms@gnu.org>
9694
04963aa8
RS
9695 * epa-mail.el: Handle GnuPG group definitions.
9696 (epa-mail-group-alist, epa-mail-group-modtime)
9697 (epa-mail-gnupg-conf-file): New variables.
9698 (epa-mail-parse-groups, epa-mail-sync-groups)
9699 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9700 (epa-mail-expand-recipients): New functions.
9701 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9702
177549d0
RS
9703 * mail/rmail.el (rmail-epa-decrypt): New command.
9704
fe38beef
RS
9705 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9706 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9707 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9708 (epa-decrypt-armor-in-region): Make error message clearer.
9709
934eacb9
SM
97102011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9711
9712 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9713 and "a2b" to "ab" for `prefix'.
9714
d024fb4e
CY
97152011-08-14 Chong Yidong <cyd@stupidchicken.com>
9716
9717 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9718 filter groups.
de148fee
CY
9719 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9720 Fourquet (Bug#8804).
d024fb4e 9721
62f1ca49
JB
97222011-08-12 Juanma Barranquero <lekktu@gmail.com>
9723
9724 * startup.el (argi): Declare as global variable (bug#9275).
9725
9ccaaa4b
CY
97262011-08-12 Chong Yidong <cyd@stupidchicken.com>
9727
9728 * subr.el (string-mark-left-to-right): Search the entire string
9729 for RTL script, not just the terminating character. Doc fix.
9730
a3dae87a
SM
97312011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9732
6cd18349
SM
9733 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9734 New function.
9735 (js--regexp-literal, js-syntax-propertize-function): Remove.
9736 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9737 (js-mode-map): Don't rebind electric keys.
9738 (js-insert-and-indent): Remove.
9739 (js-mode): Setup electric-layout and electric-indent instead.
9740
a3dae87a
SM
9741 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9742
9d5cb631
DU
97432011-08-12 Daiki Ueno <ueno@unixuser.org>
9744
9745 * epa.el (epa-progress-callback-function): Fix the logic of
9746 displaying progress.
9747 * epa-file.el (epa-file-insert-file-contents): Make progress
9748 display more user-friendly.
9749 (epa-file-write-region): Ditto.
9750
3e26a4a2
CY
97512011-08-10 Chong Yidong <cyd@stupidchicken.com>
9752
9753 * subr.el (string-mark-left-to-right): New function.
9754
9755 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9756 Use string-mark-left-to-right.
9757 (list-buffers-noselect): Caller changed.
9758
a3dae87a
SM
9759 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9760 Use string-mark-left-to-right.
3e26a4a2
CY
9761 (tabulated-list-print): Recenter after moving point.
9762
ac8cf6e6
JL
97632011-08-10 Juri Linkov <juri@jurta.org>
9764
9765 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9766 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9767 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9768
8d96c9a4
CY
97692011-08-09 Chong Yidong <cyd@stupidchicken.com>
9770
9771 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9772 (Bug#7554).
9773
7be1c708 97742011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9775
9776 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9777 character. (Bug#6594)
9778
37e11a63
CY
97792011-08-08 Chong Yidong <cyd@stupidchicken.com>
9780
839dde57
CY
9781 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9782 (image-dired--with-db-file): New macro.
9783 (image-dired-write-tags, image-dired-remove-tag)
9784 (image-dired-create-gallery-lists, image-dired-write-comments)
9785 (image-dired-get-comment, image-dired-mark-tagged-files)
9786 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9787 (image-dired-gallery-generate): Use insert-file-contents.
9788
37e11a63
CY
9789 * time.el (display-time-world-list, display-time-world-display):
9790 * time-stamp.el (time-stamp-string):
9791 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9792 set-time-zone-rule (Bug#7337).
9793
0b4946c4
DU
97942011-08-08 Daiki Ueno <ueno@unixuser.org>
9795
9796 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9797 (epg-error-to-string, epg-errors-to-string): New function.
9798 (epg-wait-for-completion): Reverse errors list.
9799 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9800 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9801 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9802 (epg-sign-keys, epg-generate-key-from-file)
9803 (epg-generate-key-from-string): Format errors by using
9804 epg-errors-to-string (bug#9255).
9805 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9806
75bfc667
JL
98072011-08-07 Juri Linkov <juri@jurta.org>
9808
9809 * faces.el (list-faces-display): Remove extra angle bracket
9810 from `help-mode-map'.
9811
9812 * info.el (Info-history-toc-nodes): Doc fix.
9813
9814 * longlines.el (longlines-mode): Doc fix.
9815
673e08bb
SM
98162011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9817
4640dd88
SM
9818 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9819 of statements and in a few more cases (bug#9183).
9820
673e08bb
SM
9821 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9822 New functions.
9823 (cl-transform-lambda): Use them (bug#9239).
9824
89b3f019
MR
98252011-08-05 Martin Rudalics <rudalics@gmx.at>
9826
9827 * window.el (display-buffer-same-window)
9828 (display-buffer-same-frame, display-buffer-other-window)
9829 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9830 (pop-to-buffer-other-window)
9831 (pop-to-buffer-same-frame-other-window)
9832 (pop-to-buffer-other-frame): Make them defuns.
9833 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9834
640c8776
SM
98352011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * subr.el (make-composed-keymap): Move from C. Change calling
9838 convention, and improve docstring to bring attention to a subtle point.
9839 * minibuffer.el (completing-read-default): Adjust accordingly.
9840
63648a95
MA
98412011-08-03 Michael Albinus <michael.albinus@gmx.de>
9842
9843 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9844 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9845
9846 * net/trampver.el: Update release number.
9847
b796c9b7
SM
98482011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9849
9850 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9851 "in" (bug#9190).
9852
2239d7d5
LMI
98532011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9854
e07dd7c3
LMI
9855 * mail/sendmail.el (sendmail-query-once): Restore the current
9856 buffer after querying (bug#9074).
9857
0e6a2bd7
LMI
9858 * dired.el (dired-flagged): Use different faces for marked and
9859 flagged files (bug#6117).
9860
ce887515
LMI
9861 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9862 (bug#4433).
9863
92f2affc
LMI
9864 * ido.el (ido-mode): Switch off the message if called
9865 non-interactively.
9866
57d5aff0
LMI
9867 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9868 before 587, since it appears that that's more likely to work for
9869 more people.
9870
98cd6c18 9871 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9872 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9873 exist.
9874
b96dec83
LMI
9875 * info.el: Remove the `Info-beginning-of-buffer' function
9876 (bug#8325).
9877
b796c9b7
SM
9878 * net/network-stream.el (network-stream-open-starttls):
9879 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9880
d90e2ea0
MR
98812011-08-01 Martin Rudalics <rudalics@gmx.at>
9882
9883 * window.el (display-buffer-in-window): Don't set dedicated status
9884 of window here (Bug#9215).
9885 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9886 (display-buffer-pop-up-side-window)
b796c9b7 9887 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9888
cca09170
SM
98892011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9890
9891 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9892 before binding generated-autoload-file.
9893
027b979c
DD
98942011-08-01 Deniz Dogan <deniz@dogan.se>
9895
9896 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9897
3c7ee4f3
MA
98982011-07-30 Michael Albinus <michael.albinus@gmx.de>
9899
9900 Sync with Tramp 2.2.2.
9901
9902 * net/trampver.el: Update release number.
9903
2cc8e51a
JL
99042011-07-30 Juri Linkov <juri@jurta.org>
9905
9906 * dired-aux.el (dired-touch-initial): Remove function.
9907 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9908 current time, and `default' to the last modification time of the
9909 current marked file (bug#6887).
9910
a514d856
JM
99112011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9912
9913 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9914 numeric argument to read-number (bug#9163).
a514d856 9915
8a7eddd7
MA
99162011-07-27 Michael Albinus <michael.albinus@gmx.de>
9917
9918 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9919 connection process, it could be nil.
9920
1ddd96f5
LL
99212011-07-27 Leo Liu <sdl.web@gmail.com>
9922
9923 Simplify url handling in rcirc-mode.
9924
9925 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9926 (rcirc-browse-url-at-mouse): Remove.
9927 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9928
b248a85d
AM
99292011-07-26 Alan Mackenzie <acm@muc.de>
9930
9931 Fontify bitfield declarations properly.
9932
9933 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9934 (c-symbol-chars): Now exported as a lang variable.
9935 (c-not-primitive-type-keywords): New lang variable.
9936
9937 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9938 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9939 parsed as a bitfield declaration.
b248a85d 9940
b796c9b7
SM
9941 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9942 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9943 (c-punctuation-in): New function.
9944 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9945 declarations properly.
9946
68575ab0
UJ
99472011-07-26 Ulf Jasper <ulf.jasper@web.de>
9948
9949 * calendar/icalendar.el (icalendar--all-events): Take care of
9950 multiple vcalendars in a single file.
b796c9b7 9951 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9952
0f0a88b9
DD
99532011-07-25 Deniz Dogan <deniz@dogan.se>
9954
9955 * image.el (insert-image): Clarifying docstring.
9956
0b3f36df
MA
99572011-07-24 Michael Albinus <michael.albinus@gmx.de>
9958
9959 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9960 `tramp-send-command-and-check' if there is no error.
9961 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9962
a9901f61
AM
99632011-07-22 Alan Mackenzie <acm@muc.de>
9964
9965 Prevent cc-langs.elc being loaded at run time.
9966
9967 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9968 cc-langs.
9969
4d61f28d 9970 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9971 "(require 'cc-langs)". Quote a form so it will evaluate at
9972 (cc-mode's) compilation time.
9973
11d074b2
MA
99742011-07-22 Michael Albinus <michael.albinus@gmx.de>
9975
9976 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9977 loading. (Bug#9114)
9978
938b94c8
MR
99792011-07-21 Martin Rudalics <rudalics@gmx.at>
9980
9981 * window.el (display-buffer-pop-up-window)
9982 (display-buffer-pop-up-side-window)
9983 (display-buffer-in-side-window): Call display-buffer-set-height
9984 and display-buffer-set-width after setting the new window's
b796c9b7 9985 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9986
bfa4f190
SS
99872011-07-20 Sam Steingold <sds@gnu.org>
9988
9989 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9990 (etags-tags-included-tables): Call `convert-standard-filename' on
9991 the file names contained in TAGS so that windows Emacs can handle
9992 TAGS files created by cygwin ctags.
9993
8ca42262
LMI
99942011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9995
9996 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9997 which apparently didn't work.
9998
5db2afd2 99992011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10000
5db2afd2
RW
10001 * proced.el (proced-send-signal): For *Marked Processes* buffer
10002 put point at beginning of buffer.
10003
92e15d10
SB
100042011-07-19 Stephen Berman <stephen.berman@gmx.net>
10005
10006 * proced.el (proced-format): Make header lines align with the text
10007 (bug#1779).
10008
1bfd59e5
LMI
100092011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10010
10011 * view.el (view-buffer): Allow running in `special' modes if we're
10012 visiting a file (bug#8615).
10013
f5aae37c
MR
100142011-07-19 Martin Rudalics <rudalics@gmx.at>
10015
10016 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10017 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10018 New functions.
f5aae37c
MR
10019 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10020 more accurately.
10021
bf2c1571
AM
100222011-07-18 Alan Mackenzie <acm@muc.de>
10023
10024 Fontify declarators properly when, e.g., a jit-lock chunk begins
10025 inside a declaration.
10026
10027 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10028
b796c9b7
SM
10029 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10030 New function.
bf2c1571
AM
10031 (c-complex-decl-matchers): Insert reference to
10032 c-font-lock-enclosing-decls.
10033
10034 * progmodes/cc-engine.el (c-backward-single-comment):
10035 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10036 to nil around calls to (forward-comment -1).
10037
4e190b80
LMI
100382011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10039
12dc863d
LMI
10040 * image.el (put-image): Doc typo fix.
10041
a762e966
LMI
10042 * progmodes/etags.el (tags-search): Doc typo fix.
10043
4e190b80
LMI
10044 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10045 password if we get errors 550 to 554.
10046
f019fb21
LMI
100472011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10048
b796c9b7 10049 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10050
81746738
LMI
10051 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10052 indentation character (bug#6380).
10053
3ee3a1b5
LMI
10054 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10055
c82f64de
LMI
10056 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10057 to clarify what the problem is (bug#4291).
10058
f019fb21
LMI
10059 * simple.el (current-kill): Clarify what
10060 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10061 (auto-fill-mode): Document `auto-fill-function' in relation to
10062 `auto-fill-mode' (bug#2470).
f019fb21 10063
0794775d
LM
100642011-07-16 Lawrence Mitchell <wence@gmx.li>
10065
10066 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10067 method if slot is read-only (bug#9035).
10068
be39b8cc
MR
100692011-07-16 Martin Rudalics <rudalics@gmx.at>
10070
b796c9b7 10071 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10072 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10073 selected before, see discussion of (Bug#8615), (Bug#6954).
10074 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10075
6ccf7859
GM
100762011-07-15 Glenn Morris <rgm@gnu.org>
10077
10078 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10079 Respect help-form.
6ccf7859 10080
87e86684
LM
100812011-07-09 Lawrence Mitchell <wence@gmx.li>
10082
10083 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10084 (gnutls-negotiate): Use it.
10085
d6066239
LMI
100862011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10087
b796c9b7
SM
10088 * net/gnutls.el (gnutls-negotiate):
10089 Upcase `gnutls-algorithm-priority'.
d6066239 10090
bd23ebc0
GM
100912011-07-15 Glenn Morris <rgm@gnu.org>
10092
c65bca65
GM
10093 * jka-compr.el (jka-compr-verbose): Move from here...
10094 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10095 Add missing :version tag.
10096 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10097
478615cc
LMI
100982011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10099
7b41decb
LMI
10100 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10101 (gnutls-negotiate): Use it.
10102
dbc44fcd
LMI
10103 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10104
06789f97
LMI
10105 * info.el (Info-beginning-of-buffer): New command.
10106 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10107 announcing `b' as the key (bug#8325).
ab896c37 10108 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10109
c39da690
LMI
10110 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10111
3aa5f34b
LMI
10112 * international/mule-cmds.el
10113 (describe-specified-language-support): Make the error message
10114 clearer (bug#8905).
10115
4bf0979f
LMI
10116 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10117
478615cc
LMI
10118 * isearch.el (isearch-barrier): Add a doc string, since it's
10119 mentioned in a function doc string (bug#8678).
10120
75c68aa1
MR
101212011-07-15 Martin Rudalics <rudalics@gmx.at>
10122
10123 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10124 buffer argument (Bug#9083) and self-identifying label argument.
10125
a7c33da2
GM
101262011-07-15 Glenn Morris <rgm@gnu.org>
10127
10128 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10129
2f5c6024
LMI
101302011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10131
10132 * man.el (Man-fontify-manpage): Fix message when formatting the
10133 man page (bug#7929).
10134
0bb23927 101352011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10136
10137 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10138 argument LRM; if non-nil, append an invisible LRM character to the
10139 buffer name.
10140 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10141 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10142 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10143 paragraph direction.
cce4b0a7 10144
621ef9ab
LMI
101452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10146
d1583c48
LMI
10147 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10148 the man page name (bug#7929).
10149
6a57fb5f
LMI
10150 * image.el (put-image): Mention the `put-image' overlay property
10151 (bug#7834).
10152
d7956b14
LMI
10153 * scroll-bar.el (set-scroll-bar-mode): Mention that
10154 `scroll-bar-mode' lists the values (bug#7772).
10155
5b2d4a66
LMI
10156 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10157 command (bug#7729).
10158
7509a874
LMI
10159 * rect.el (apply-on-rectangle): Return the point after the last
10160 operation.
10161 (string-rectangle): Go to the point after the last operation
10162 (bug#7522).
10163
4fe74b19
LMI
10164 * printing.el (pr-toggle-region): Clarify the documentation
10165 slightly (bug#7493).
10166
b796c9b7
SM
10167 * time.el (display-time-update):
10168 Allow `display-time-mail-function' to return nil (bug#7158).
10169 Fix suggested by Detlev Zundel.
ab283561 10170
fc233c9d
LMI
10171 * vc/diff.el (diff): Clarify the order the file names are read
10172 (bug#7111).
10173
43f5740b
LMI
10174 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10175 the doc string (bug#7015).
10176
f2182a76
LMI
10177 * font-lock.el (font-lock-maximum-decoration): Mention what
10178 numeric levels mean (bug#6935).
10179
621ef9ab
LMI
10180 * startup.el (initial-buffer-choice): Don't mention the `none'
10181 selection, which is against policy.
10182
adc47434
MR
101832011-07-14 Martin Rudalics <rudalics@gmx.at>
10184
b796c9b7
SM
10185 * window.el (display-buffer-normalize-special):
10186 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10187
7e5bfb8f
EZ
101882011-07-14 Eli Zaretskii <eliz@gnu.org>
10189
10190 * subr.el (version<, version<=, version=): Mention "-CVS" and
10191 "-12345" alpha version numbers.
10192
27fa387a
CY
101932011-07-14 Chong Yidong <cyd@stupidchicken.com>
10194
10195 * bindings.el: Add advertised binding for set-mark-command
10196 (Bug#5772).
10197
8bdfa064
CY
101982011-07-14 Chong Yidong <cyd@stupidchicken.com>
10199
10200 * bindings.el (mode-line-other-buffer):
10201 * bookmark.el (bookmark-bmenu-2-window):
10202 * bs.el (bs-cycle-next, bs-cycle-previous):
10203 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10204 switch-to-buffer.
10205
10206 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10207 Delete.
8bdfa064 10208
5eba16a3
JB
102092011-07-14 Juanma Barranquero <lekktu@gmail.com>
10210
10211 * follow.el (follow-debug-message, follow-redisplay):
10212 * jka-cmpr-hook.el (with-auto-compression-mode):
10213 Fix typos in docstrings.
10214
15853710
LMI
102152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10216
a28e4607
LMI
10217 * subr.el (with-silent-modifications): Clarify somewhat what the
10218 macro inhibits (bug#6525).
10219
15853710
LMI
10220 * simple.el (eval-expression): Note what it does if called
10221 interactively (bug#6495).
10222
bee0fcef
CY
102232011-07-13 Chong Yidong <cyd@stupidchicken.com>
10224
b796c9b7
SM
10225 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10226 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10227
10228 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10229 Remove switch-to-buffer.
10230
58274504
LMI
102312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10232
bd2fcc8d
LMI
10233 * files.el (make-directory): Clarify that an error will be raised
10234 if there's an error (bug#6397).
10235
0f04b32c
LMI
10236 * startup.el (initial-buffer-choice): Add `none' as a choice
10237 (bug#6234).
10238
465c5fc8
LMI
10239 * subr.el (add-hook): Clarify section about buffer-local hooks
10240 (bug#6218).
10241
58274504
LMI
10242 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10243
bead9a43
JB
102442011-07-13 Juanma Barranquero <lekktu@gmail.com>
10245
10246 * tabify.el (untabify): Preserve the current column so that point
10247 doesn't move (bug#6032).
10248
3af98a7b
LMI
102492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10250
b796c9b7
SM
10251 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10252 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10253
6240145a
GM
102542011-07-13 Glenn Morris <rgm@gnu.org>
10255
10256 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10257 (dired-insert-directory): Give a message the first time
10258 if ls is found not to support --dired.
10259
1d8c2ccc
LMI
102602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10261
10262 * simple.el (toggle-truncate-lines): Clarify what is toggled
10263 (bug#5580). Text by Drew Adams.
10264
5fc4038e
CY
102652011-07-13 Chong Yidong <cyd@stupidchicken.com>
10266
10267 * simple.el (blink-matching-open): Make the error message from the
10268 last change less verbose.
10269
bf6012e5
DN
102702011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10271
10272 * font-lock.el (font-lock-comment-face): Use the high contrast
10273 "yellow" color for font-lock-comment-face on low color terminals
10274 using a dark background color (bug#4221).
10275
343c3b5a
LMI
102762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10277
7e9505c5
LMI
10278 * dired.el (dired-insert-set-properties): Make the doc string
10279 reflect what it does now (bug#5325).
10280
c26fdcf5
LMI
10281 * simple.el (blink-matching-open): Say that we were unable to find
10282 the match within the limit, if we're limited (bug#5122).
10283
bb388cc5
LMI
10284 * international/mule-cmds.el (prefer-coding-system): Add an
10285 example (bug#4869).
10286
343c3b5a
LMI
10287 * progmodes/etags.el (tags-search): Document `file-list-form'
10288 (bug#4731).
10289
2a517d45
LM
102902011-07-13 Lawrence Mitchell <wence@gmx.li>
10291
10292 * net/browse-url.el (browse-url-default-browser)
10293 (browse-url-browser-function): Make the default browser choice a
10294 bit more logical (bug#4300). Also clean up the doc string.
10295
b6c78ef2
JB
102962011-07-13 Juanma Barranquero <lekktu@gmail.com>
10297
10298 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10299 binary endings (bug#4440).
10300
1c4dd947
LMI
103012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10302
a2014063
LMI
10303 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10304 which can be pretty annoying (bug#8971).
10305
9c9c2d88
LMI
10306 * jka-compr.el (jka-compr-verbose): New variable, and use
10307 throughout (bug#8971).
10308
1c4dd947
LMI
10309 * info.el (Info-find-file): Fall back on the installation
10310 directory if we can't find the info node anywhere else.
10311
a1c9f41b
SO
103122011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10313
10314 * vc/vc.el (vc-revert-file):
10315 Don't set file time-stamp in the past. (Bug#5181)
10316
536f3d36
LMI
103172011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10318
7152b011
LMI
10319 * files.el (after-find-file): Give a better error message when
10320 trying to find a symlink that points to a file that doesn't exist
10321 (bug#4398).
10322
536f3d36
LMI
10323 * progmodes/cc-vars.el: Remove (probably) misleading comment
10324 (bug#4396).
10325
460c0fba
JB
103262011-07-12 Johan Bockgård <bojohan@gnu.org>
10327
10328 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10329
7a6bda45
CY
103302011-07-12 Chong Yidong <cyd@stupidchicken.com>
10331
10332 * mouse-sel.el: Hack restoring functionality, while keeping
10333 compatibility with 2010-07-03 changes to mouse selection.
10334 (mouse-sel-primary-overlay): New var.
10335 (mouse-sel-selection-alist): Use it.
10336 (mouse-sel-mode): Doc fix; remove points that are default features
10337 of mouse.el.
10338
c79598ef
JB
103392011-07-12 Johan Bockgård <bojohan@gnu.org>
10340
10341 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10342 Fix previous fix (bug#2490).
10343
ff8be6ef
RW
103442011-07-12 Roland Winkler <winkler@gnu.org>
10345
b796c9b7
SM
10346 * textmodes/bibtex.el (bibtex-initialize):
10347 Use pop-to-buffer-same-window.
ff8be6ef
RW
10348 (bibtex-search-entries): Fix interactive call.
10349
296ba3ee
LMI
103502011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10351
f5242a02 10352 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10353 Fontise bytecomp Error lines more correctly (bug#2490).
10354 Fix suggested by Johan Bockgård.
f5242a02 10355
296ba3ee
LMI
10356 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10357
10358 * dired-x.el (dired-guess-default): Use `delete-dups'.
10359
f69fd0d2
CY
103602011-07-12 Chong Yidong <cyd@stupidchicken.com>
10361
10362 * dired.el (dired-mark-prompt):
10363 * dired-aux.el (dired-read-shell-command): Doc fix.
10364
eab5dc07
LMI
103652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10366
b796c9b7
SM
10367 * mail/sendmail.el (sendmail-query-once):
10368 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10369 emacs -Q.
10370
10371 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10372
eab5dc07
LMI
10373 * cus-edit.el (custom-file): Take an optional no-error variable.
10374 (customize-save-variable): Set the variable, and give a warning if
10375 running under "emacs -q".
10376
a1e65d42
JB
103772011-07-11 Juanma Barranquero <lekktu@gmail.com>
10378
10379 * loadhist.el (unload-feature-special-hooks):
10380 Add `auto-coding-functions', `fill-nobreak-predicate' and
10381 `find-directory-functions' (bug#5327).
10382
1d52da10
LMI
103832011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10384
be958f1d
LMI
10385 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10386
5bedb26c
LMI
10387 * cus-edit.el (custom-guess-name-alist): -alist variables should
10388 use the `alist' type (bug#3120). Suggested by Drew Adams.
10389
1d52da10
LMI
10390 * printing.el: Add documentation to all the `pr-toggle-' commands.
10391
cd394be1 103922011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10393
10394 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10395 backends where it makes sense (bug#2623).
10396
dcc88d8a
LMI
103972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10398
c3de9feb
LMI
10399 * dired-x.el (dired-guess-default): Remove duplicate shell command
10400 entries (bug#2028).
8a93078b 10401 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10402 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10403
dcc88d8a
LMI
10404 * subr.el (remove-duplicates): New conveniency function.
10405
505e3645
LMI
104062011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10407
10408 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10409 (bug#1526).
10410
104112011-07-10 Martin Rudalics <rudalics@gmx.at>
10412
10413 * window.el (display-buffer-normalize-default): Don't invert
10414 meaning of even-window-heights. Reported by Eli Zaretskii
10415 <eliz@gnu.org>.
10416
455e4fa1
BR
104172011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10418
10419 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10420
8e0bc3e9
CY
104212011-07-10 Chong Yidong <cyd@stupidchicken.com>
10422
10423 * window.el (display-buffer): Fix arguments to
10424 display-buffer-reuse-window in last change.
10425
fa7c3228
CY
10426 * faces.el (link): Use a less saturated blue on light backgrounds.
10427
10428 * startup.el (fancy-startup-text, fancy-about-text)
10429 (fancy-startup-tail): Use font-lock faces, for background safety.
10430
c0a7f300
BN
104312011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10432
b796c9b7
SM
10433 * emulation/viper-cmd.el (viper-change-state-to-vi):
10434 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10435
4dc2a129
MR
104362011-07-09 Martin Rudalics <rudalics@gmx.at>
10437
10438 * window.el (display-buffer-default-specifiers): Remove.
10439 (display-buffer-macro-specifiers): Remove default specifiers.
10440 (display-buffer-alist): Default to nil.
b796c9b7 10441 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10442 (display-buffer-pop-up-window): Allow splitting internal
10443 windows. Check whether a live window was created.
10444 (display-buffer-other-window-means-other-frame)
10445 (display-buffer-normalize-arguments): Rename to
10446 display-buffer-normalize-argument and rewrite. Set the
10447 other-window specifier.
10448 (display-buffer-normalize-special): New function.
10449 (display-buffer-normalize-options): Rename to
10450 display-buffer-normalize-default and rewrite.
10451 (display-buffer-normalize-options-inhibit): Remove.
10452 (display-buffer-normalize-specifiers): Rewrite.
10453 (display-buffer): Process other-window specifier and call
10454 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10455 more faithfully.
b796c9b7 10456 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10457 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10458 (display-buffer-in-window, display-buffer-alist-set):
10459 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10460 <tassilo@member.fsf.org>.
10461
2d43b8c9
LL
104622011-07-09 Leo Liu <sdl.web@gmail.com>
10463
10464 * register.el (insert-register): Restore accidental change on
10465 2011-06-26. (Bug#9028)
10466
7f9b7c53
GM
104672011-07-09 Glenn Morris <rgm@gnu.org>
10468
10469 * subr.el (remq): Handle the empty list. (Bug#9024)
10470
f042cfd8
AS
104712011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10472
10473 * mail/sendmail.el (send-mail-function): No longer delay custom
10474 initialization.
10475 * custom.el (custom-initialize-delay): Doc fix.
10476
856b2f11
SM
104772011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10478
10479 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10480
afae1d68
MA
104812011-07-08 Michael Albinus <michael.albinus@gmx.de>
10482
10483 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10484 human-friendly prompt.
10485
0757af94
SM
104862011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10489 provided by a particular plugin.
10490
d760b731
LMI
104912011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10492
10493 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10494 save customizations (with "emacs -Q"), just set the variable
10495 instead of erroring out.
10496
10497 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10498
cd79ce90
JL
104992011-07-08 Juri Linkov <juri@jurta.org>
10500
10501 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10502 (archive-zip-update-case): Use 7z if found by `executable-find'.
10503 The order of searching the available programs is the same as in
10504 `archive-zip-extract' (bug#8968).
10505
14cc04aa
CY
105062011-07-07 Chong Yidong <cyd@stupidchicken.com>
10507
10508 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10509 (menu-bar-options-menu): Tweak descriptions.
10510
0a1848ec
LMI
105112011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10512
10513 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10514 menu items into verb phrases (bug#1421). Also refill to fit under
10515 80 columns.
10516
f5bd0689
CY
105172011-07-07 Chong Yidong <cyd@stupidchicken.com>
10518
538e85c6
CY
10519 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10520 (Info-read-node-name): Doc fix (Bug#1084).
10521
f5bd0689
CY
10522 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10523 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10524 (end-of-sexp, beginning-of-sexp)
10525 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10526 (forward-symbol, forward-same-syntax, word-at-point)
10527 (sentence-at-point): Doc fix (Bug#1144).
10528
56ec5115
LMI
105292011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10530
f3f8e37f
LMI
10531 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10532 should cover it (bug#1281).
10533
0757af94 10534 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10535
e9fce1ac 10536 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10537 negotiation fails, then possibly try again with a non-encrypted
10538 connection (bug#9017).
10539
56ec5115
LMI
10540 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10541 be used.
10542
c2f9aec8
RS
105432011-07-07 Richard Stallman <rms@gnu.org>
10544
10545 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10546 property, and handle its changed format.
10547 Look for the correct line number.
10548 Use file's line contents (but not past first =) to find
10549 correct line in message.
10550
ef7b981d 105512011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10552
10553 * international/characters.el (build-unicode-category-table):
10554 Delete it.
0757af94 10555 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10556
0757af94 10557 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10558 to src/chartab.c.
10559 (get-char-code-property): Call unicode-property-table-internal to
10560 load a file. Call get-unicode-property-internal where necessary.
10561 (put-char-code-property): Call unicode-property-table-internal to
10562 load a file. Call put-unicode-property-internal where necessary.
10563 put-unicode-property-internal where necessary.
0757af94
SM
10564 (char-code-property-description):
10565 Call unicode-property-table-internal to load a file.
c805dec0
KH
10566
10567 * international/charprop.el:
10568 * international/uni-bidi.el:
10569 * international/uni-category.el:
10570 * international/uni-combining.el:
10571 * international/uni-comment.el:
10572 * international/uni-decimal.el:
10573 * international/uni-decomposition.el:
10574 * international/uni-digit.el:
10575 * international/uni-lowercase.el:
10576 * international/uni-mirrored.el:
10577 * international/uni-name.el:
10578 * international/uni-numeric.el:
10579 * international/uni-old-name.el:
10580 * international/uni-titlecase.el:
10581 * international/uni-uppercase.el: Regenerate.
10582
10583 * loadup.el: Load international/charprop.el before
10584 international/characters.
10585
e14b388a
CY
105862011-07-07 Chong Yidong <cyd@stupidchicken.com>
10587
10588 * window.el (next-buffer, previous-buffer): Signal an error if
10589 called from a minibuffer window.
10590
10591 * bindings.el: Revert 2011-07-04 change.
10592
354cf0ba
RS
105932011-07-06 Richard Stallman <rms@gnu.org>
10594
10595 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10596 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10597 Treat markers like ints.
10598 (rmail-mime-entity): Doc fix.
10599
a48868a7
LMI
106002011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10601
4906cd3d
LMI
10602 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10603 defcustom again for backwards compatibility.
10604
e0457abe
LMI
10605 * simple.el (shell-command-on-region): Fill.
10606
d67f7e1f
LMI
10607 * dired-aux.el (dired-kill-line): Add a doc string.
10608
fe204702
LMI
10609 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10610 to "\\sw\\|\\s_" (bug#358).
10611
a48868a7
LMI
10612 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10613 (dired-unmark-backward): Ditto.
10614 (dired-flag-backup-files): Ditto.
10615
10616 * dired-x.el (dired-mark-sexp): Ditto.
10617
aa8a705c
RS
106182011-07-06 Richard Stallman <rms@gnu.org>
10619
10620 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10621 (rmail-mime-entity): New arg TRUNCATED.
10622 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10623 New functions.
10624 (rmail-mime-save): Warn if entity is truncated.
10625 (rmail-mime-toggle-hidden): Likewise, for showing.
10626 (rmail-mime-process-multipart): Record when an entity is truncated.
10627
a9a936b9
RS
10628 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10629 if ENTITY is a string.
10630
1f2b92cb
LMI
106312011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10632
f4f73198 10633 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10634 of faces when `M-C-x'-ing their definitions (bug#8378).
10635 Also clean up the code slightly.
f4f73198 10636
12b16734 10637 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10638 because that makes the colors go away.
12b16734 10639
f0691d22
LMI
10640 * mail/sendmail.el (send-mail-function): Change the default to
10641 `sendmail-query-once'.
9e87df06 10642 (sendmail-query-once): Add an autoload cookie.
f0691d22 10643
1f2b92cb
LMI
10644 * net/network-stream.el (network-stream-open-starttls): Try using
10645 a plain connection even if the server offered STARTTLS, and we
10646 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10647 capability. This should make smtpmail.el work in slightly more
10648 configurations.
10649
1cdd2a1b
MA
106502011-07-06 Michael Albinus <michael.albinus@gmx.de>
10651
10652 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10653 New defun.
10654 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10655
fbcc67e2
MM
106562011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10657
10658 * progmodes/sql.el: Version 3.0
0757af94 10659 (sql-product-alist): Add product :completion-object,
fbcc67e2 10660 :completion-column, and :statement attributes.
0757af94 10661 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10662 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10663 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10664 ansi keywords.
10665 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10666 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10667 (sql-oracle-show-reserved-words): New function for development.
10668 (sql-product-font-lock): Simplify for source code buffers.
10669 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10670 New functions.
10671 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10672 (sql-mode-map): Add statement movement functions.
10673 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10674 New variable.
fbcc67e2
MM
10675 (sql-statement-regexp, sql-beginning-of-statement)
10676 (sql-end-of-statement, sql-signum): New functions.
0757af94 10677 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10678 (sql-show-sqli-buffer): Bug fix.
10679 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10680 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10681 with sql-interactive-mode.
10682 (sql-save-connection): Save buffer local settings.
0757af94 10683 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10684 (sql-product-interactive): Bug fix.
10685 (sql-preoutput-hold): New variable.
10686 (sql-interactive-remove-continuation-prompt): Bug fixes.
10687 (sql-debug-redirect): New variable.
10688 (sql-str-literal): New function.
10689 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10690 Redesign.
fbcc67e2
MM
10691 (sql-oracle-save-settings, sql-oracle-restore-settings)
10692 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10693 (sql-completion-object, sql-completion-column)
10694 (sql-completion-sqlbuf): New variables.
10695 (sql-build-completions-1, sql-build-completions)
10696 (sql-try-completion): New functions.
10697 (sql-read-table-name): Use them.
10698 (sql-contains-names): New buffer local variable.
10699 (sql-list-all, sql-list-table): Use it.
10700 (sql-oracle-completion-types): New variable.
10701 (sql-oracle-completion-object, sql-sqlite-completion-object)
10702 (sql-postgres-completion-object): New functions.
10703
d4eaeab1
GM
107042011-07-06 Glenn Morris <rgm@gnu.org>
10705
10706 * window.el (pop-to-buffer): Doc fix.
10707
322b7dab 107082011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10709
10710 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10711
322b7dab 107122011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10713
322b7dab 10714 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10715
322b7dab 10716 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10717
605dd5bf
CY
107182011-07-05 Chong Yidong <cyd@stupidchicken.com>
10719
10720 * button.el (button): Inherit from link face. Suggested by Dan
10721 Nicolaescu.
10722
7dbfa719
SM
107232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10724
3db614b0
SM
10725 * progmodes/gdb-mi.el: Fit in 80 columns.
10726 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10727 switch-to-buffer.
10728
7dbfa719
SM
10729 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10730 if imenu is simply not configured (bug#8941).
10731
919d884a
KM
107322011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10733
10734 * allout.el (allout-post-undo-hook): New allout outline-change
10735 event hook to signal undo activity.
10736 (allout-post-command-business): Run allout-post-undo-hook if an
10737 undo just occurred.
7dbfa719
SM
10738 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10739 * allout-widgets.el (allout-widgets-after-undo-function):
10740 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10741 in the vicinity of an undo.
10742 (allout-widgets-mode): Include allout-widgets-after-undo-function
10743 on the new allout-post-undo-hook.
10744
450a0f09
SM
107452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10746
10747 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10748 Let define-derived-mode define it.
10749 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10750 cycles of abbrev-table inheritance (bug#8998).
10751
2de69e00
RW
107522011-07-05 Roland Winkler <winkler@gnu.org>
10753
10754 * textmodes/bibtex.el: Add support for biblatex.
10755 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10756 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10757 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10758 (bibtex-entry-alist, bibtex-field-alist): New variables.
10759 (bibtex-entry-field-alist): Obsolete alias for
10760 bibtex-BibTeX-entry-alist.
10761 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10762 (bibtex-set-dialect): New command.
10763 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10764 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10765 Bind via bibtex-set-dialect.
2de69e00
RW
10766 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10767 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10768 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10769 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10770 Define via bibtex-set-dialect.
450a0f09
SM
10771 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10772 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10773 (bibtex-vec-push, bibtex-vec-incr): New functions.
10774 (bibtex-format-entry, bibtex-field-list)
10775 (bibtex-print-help-message, bibtex-validate)
10776 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10777
2dcdbdd9
SM
107782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * progmodes/compile.el (compilation-goto-locus):
10781 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10782 * bs.el (bs-cycle-next, bs-cycle-previous):
10783 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10784 * bindings.el (mode-line-other-buffer):
10785 * autoinsert.el (auto-insert):
10786 * arc-mode.el (archive-extract):
10787 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10788
b27640fe
JB
107892011-07-05 Juanma Barranquero <lekktu@gmail.com>
10790
10791 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10792 Fix check of `emacs-lock-unlockable-modes'.
10793 Coerce true values of `emacs-lock--try-unlocking' to t.
10794
53bbe3ad
JB
107952011-07-05 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10798 * emacs-lock.el: New file.
10799
1d3cdbc7
JD
108002011-07-05 Julien Danjou <julien@danjou.info>
10801
10802 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10803 than `boundp' to check if face is set.
10804
9173deec
JB
108052011-07-05 Juanma Barranquero <lekktu@gmail.com>
10806
10807 * register.el (registerv-make):
10808 * window.el (window-min-height): Fix typos in docstrings.
10809
869795d6
JD
108102011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10811
9173deec 10812 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10813 Update doc string.
10814
b768cdcd
JB
108152011-07-04 Juanma Barranquero <lekktu@gmail.com>
10816
10817 * server.el (server-execute): Catch quit and call
10818 `server-return-error' to pass the error back to emacsclient and
10819 close the connection (bug#8942).
10820
13aa217b
KM
108212011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10822
10823 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10824 insecure exception for current topic. Also note that auto-saves
10825 are handled differently.
10826
5d3385a0 10827 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10828 State variables for tracking auto-save inhibition situation.
10829
10830 (allout-write-contents-hook-handler): Rename from
10831 'allout-write-file-hook-handler', and describe how it depends on
10832 write-contents-functions sensitivity to non-nil value to prevent
10833 file write.
10834
10835 (allout-auto-save-hook-handler): Remove. auto-save does not check
10836 this in individual buffers, only in the starting buffer, so this
10837 is not the right way for us to inhibit auto-save in a buffer
10838 according to its condition.
10839
10840 (allout-mode): Use new allout-write-contents-hook-handler, and
10841 only with write-contents-functions. Remove auto-save provisions -
10842 they're implemented elsewhere.
10843
10844 (allout-before-change-handler): If undo is in progress, note that
10845 for attention of allout-post-command-business.
10846
10847 (allout-post-command-business): If the command we're following was
10848 an undo, check for change in the status of encrypted items and
10849 adjust auto-save inhibitions accordingly.
10850
10851 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10852 according to whether there are or aren't any plain-text topics
10853 pending encryption.
10854
2dcdbdd9 10855 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10856 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10857 if there are plain-text topics pending encryption.
13aa217b
KM
10858
10859 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10860 buffer-saved-size and some allout state to not inhibit auto-saves
10861 if there are no longer any plain-text topics pending encryption.
10862
0757af94
SM
10863 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10864 No longer provide for exemption of the current topic.
13aa217b 10865
ac89b32c
JL
108662011-07-04 Juri Linkov <juri@jurta.org>
10867
10868 Add 7z operations to delete and save changed members (bug#8968).
10869 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10870 New defcustoms.
10871 (archive-7z-write-file-member): New function.
10872 (archive-7z-summarize): Fix the number of dashes in the
10873 listing output.
10874
8fa39615
SM
108752011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10878 (bug#8958).
10879
2f11b3f1
CY
108802011-07-04 Chong Yidong <cyd@stupidchicken.com>
10881
d66fef2b
CY
10882 * bindings.el: Ignore next-buffer and previous-buffer in
10883 minibuffer-local-map.
10884
2f11b3f1
CY
10885 * font-lock.el (font-lock-builtin-face): Change light background
10886 color to dark slate blue (Bug#6693).
10887
f932a347
WD
108882011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10889
10890 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10891
c8af70e1
SM
108922011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10893
10894 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10895 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10896 Add switch-to-buffer.
10897
f158badc
LMI
108982011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10899
10900 * isearch.el (isearch-search-fun-function): Clarify further the
10901 meaning of the function returned.
10902
6d95bd46
MA
109032011-07-04 Michael Albinus <michael.albinus@gmx.de>
10904
10905 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10906
10907 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10908 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10909 Use it.
10910 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10911 `tramp-default-remote-path' does not exist.
10912 (tramp-send-command-and-read): New optional argument NOERROR.
10913 (tramp-open-connection-setup-interactive-shell)
10914 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10915 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10916 (tramp-process-sentinel): Flush also process' connection property.
10917 (tramp-sh-handle-start-file-process): Do not set process
10918 sentinel. It is done now ...
10919 (tramp-maybe-open-connection): ... here. (Bug#8929)
10920
909e6b67
MK
109212011-07-04 MON KEY <monkey@sandpframing.com>
10922
10923 * play/animate.el (animate-string): Doc fixes and allow changing
10924 the buffer name (bug#5417).
10925
109262011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10927
c8af70e1 10928 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10929
f34755dc
PE
109302011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10931
396cec72
PE
10932 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10933 This is simpler and helps future-proof the code.
10934 (timer-until): Use time-subtract and float-time.
08235028 10935 (timer--time-less-p): Use time-less-p.
f34755dc 10936
56e6cc31
JB
109372011-07-04 Juanma Barranquero <lekktu@gmail.com>
10938
3abb79e5
JB
10939 * type-break.el (timep): Use the value of `float-time' to avoid a
10940 byte-compiler warning.
10941
56e6cc31
JB
10942 * server.el (server-eval-and-print): Return any result, even nil.
10943
7b9430b4
PE
109442011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10945
10946 * type-break.el: Accept time formats that the builtins accept.
10947 (timep, type-break-time-difference): Accept any format that
10948 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10949 This is simpler and helps future-proof the code.
10950 (type-break-time-difference): Round rather than ignoring
10951 subseconds components.
10952
3034e9e7
LMI
109532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10954
10955 * info.el (Info-apropos-matches): Make non-interactive, since it
10956 doesn't seem to do anything useful as a command (bug#8829).
10957
1485f4c0
CY
109582011-07-03 Chong Yidong <cyd@stupidchicken.com>
10959
10960 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10961 Move from faces.el.
1485f4c0
CY
10962 (frame-default-terminal-background): New function.
10963
10964 * custom.el (custom-push-theme): Don't record faces in `changed'
10965 theme; this doesn't work correctly for per-frame face settings.
10966 (disable-theme): Use face-set-after-frame-default to reset faces.
10967 (custom--frame-color-default): New function.
10968
9fa3dd45
LMI
109692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10970
c8af70e1 10971 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10972 (bug#8769).
10973
6cbbc20c
KR
109742011-03-29 Kevin Ryde <user42@zip.com.au>
10975
10976 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10977 `perl-Test2' extend to match possible "fail #N" rep count
10978 (bug#8377).
10979
c7f98048
LMI
109802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10981
65676592
LMI
10982 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10983 `smtpmail-via-smtp' now returns the error instead of nil.
10984
c7f98048
LMI
10985 * isearch.el (isearch-search-fun-function): Clarify the doc string
10986 (bug#8101).
10987
56e6cc31 109882011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10989
10990 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10991 unnecessary spaces (bug#8987).
10992
2b216704
LMI
109932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10994
10995 * net/network-stream.el (open-network-stream): Use the
10996 :end-of-capability command thoughout.
10997
109982011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10999
11000 * net/network-stream.el (open-network-stream): Add the
11001 :end-of-capability command parameter, used by pop3.el.
11002
36adf6ce
LMI
110032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11004
1ca0da0e
LMI
11005 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11006
fc00f69c
LMI
11007 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11008 for list)" (bug#6475).
11009
28fd8759 11010 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11011 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11012 an error (bug#6297).
11013
0dd8b6da
LMI
11014 * man.el (Man-reference-regexp): Allow matching possible
11015 word-wrapped references (bug#6289).
11016
ce1438d6
LMI
11017 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11018 for consistency with the other vc buffers (bug#6197).
11019 (vc-checkin): Ditto.
11020
11021 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11022
36adf6ce
LMI
11023 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11024
e83cc1f7
LMI
110252011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11026
8a20ca4c
LMI
11027 * custom.el (defcustom): Clarify that :set is only used in the
11028 Customize user interface (bug#6089).
11029
83319045
LMI
11030 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11031 associated with a file, refuse to run instead of erroring out
11032 (bug#6084).
11033
a8392169
LMI
11034 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11035 the doc string, since it appears that using `fill-column' always
11036 controls the width (bug#7845).
11037
e83cc1f7
LMI
11038 * simple.el (shell-command-on-region): Say where the error output
11039 went if `shell-command-default-error-buffer' is set (bug#6857).
11040
e47ca23b
KM
110412011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11042
11043 * allout.el (allout-yank-processing): Adjust cursor position for
11044 backwards-deleted space.
11045
11046 (allout-rebullet-heading): Register changes with
11047 allout-exposure-changed-hook, so the modified topic is properly
11048 decorated.
11049
5cf56143
LMI
110502011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11051
08549772
LMI
11052 * minibuffer.el (completion-in-region): Document PREDICATE
11053 (bug#7136).
11054
48e96771
LMI
11055 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11056 of keyword/argument pairs (bug#6904).
11057
c8af70e1
SM
11058 * replace.el (multi-occur):
11059 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11060
e17d05e2
LMI
110612011-07-02 Drew Adams <drew.adams@oracle.com>
11062
11063 * dired.el (dired-mark-if): Make the message about whether it's
11064 marking or unmarking clearer (bug#8523).
11065
063b0e45
LMI
110662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11067
11068 * disp-table.el (display-table-print-array): New function.
11069 (describe-display-table): Use it to print the vectors more pretty
11070 (Bug#8859).
11071
28545e04
MR
110722011-07-02 Martin Rudalics <rudalics@gmx.at>
11073
11074 * window.el (window-state-get-1): Don't assign clone numbers.
11075 Add clone-of item to list of window parameters.
11076 (window-state-put-2): Don't process clone numbers.
11077 (display-buffer-alist): Fix doc-string.
11078
3349e122
SM
110792011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11080
11081 * subr.el (remq): Don't allocate if it's not needed.
11082 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11083 (keymap--merge-bindings): New functions.
11084 (keymap-canonicalize): Use them to refine the canonicalization.
11085 * minibuffer.el (minibuffer-local-completion-map)
11086 (minibuffer-local-must-match-map): Move initialization from C.
11087 (minibuffer-local-filename-completion-map): Move initialization from C;
11088 don't inherit from anything here.
11089 (minibuffer-local-filename-must-match-map): Make obsolete.
11090 (completing-read-default): Use make-composed-keymap to combine
11091 minibuffer-local-filename-completion-map with either
11092 minibuffer-local-must-match-map or
11093 minibuffer-local-filename-completion-map.
11094
d224ac83
GM
110952011-07-01 Glenn Morris <rgm@gnu.org>
11096
3de63bf8
GM
11097 * type-break.el (type-break-time-sum): Use dolist.
11098
d224ac83
GM
11099 * textmodes/flyspell.el (flyspell-word-search-backward):
11100 Replace CL function.
11101
1a1e3f32
SM
111022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11103
fe3f64d5
SM
11104 * mouse.el (mouse--strip-first-event): New function.
11105 (function-key-map): Use it to map fringe clicks to normal clicks
11106 by default.
11107
eb604e34
SM
11108 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11109 (vc-bzr-revision-completion-table): Add support for annotate and date.
11110
1a1e3f32
SM
11111 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11112 inherit from parent.
11113
5bd35902
LMI
111142011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11115
ace6c69c 11116 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11117 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11118
191e2bed
LMI
11119 * dired.el (dired-mode): Fix up the doc string as suggested by
11120 Drew Adams (bug#8817).
11121
5bd35902
LMI
11122 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11123 cookie, since the manual says that it should be possible to add
11124 this function to `find-file-hook' (bug#8709).
11125
eee8207a
TZ
111262011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11127
11128 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11129 here. Noted Ted Zlatanov as the maintainer.
11130 (cfengine-common-settings, cfengine-common-syntax): New functions
11131 to set up common things between `cfengine-mode' and
11132 `cfengine3-mode'.
11133 (cfengine3-mode): New mode.
11134 (cfengine3-defuns cfengine3-defuns-regex
11135 (cfengine3-class-selector-regex cfengine3-category-regex)
11136 (cfengine3-vartypes cfengine3-font-lock-keywords)
11137 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11138 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11139
36b148cf
MA
111402011-07-01 Michael Albinus <michael.albinus@gmx.de>
11141
11142 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11143
11144 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11145
0bf4ba9a
MR
111462011-07-01 Martin Rudalics <rudalics@gmx.at>
11147
11148 * window.el (same-window-buffer-names, same-window-regexps)
11149 (same-window-p, special-display-frame-alist)
11150 (special-display-popup-frame, special-display-function)
11151 (special-display-buffer-names, special-display-regexps)
11152 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11153 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11154 (split-window-preferred-function, split-height-threshold)
11155 (split-width-threshold, even-window-heights)
11156 (display-buffer-mark-dedicated, window-splittable-p)
11157 (split-window-sensibly, window-safely-shrinkable-p):
11158 Un-obsolete.
11159 (display-buffer): Don't spread args with function specifier
11160 because special-display-popup-frame won't like it.
11161
35837f51
PE
111622011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11163
d0672f86
PE
11164 Time-stamp simplifications and fixes.
11165 These improve accuracy slightly, and future-proof the code
11166 against some potential changes to current-time format.
11167
b9444d97
PE
11168 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11169 by using time-since and float-time.
11170
0ef923dc
PE
11171 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11172 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11173 + NNN microseconds".
11174
2f81380d
PE
11175 * type-break.el (type-break-time-sum): Rewrite using time-add.
11176
845b5c3e
PE
11177 * play/hanoi.el (hanoi-current-time-float): Remove.
11178 All uses replaced by float-time.
11179
ee6f1be0
PE
11180 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11181 This yields a more-accurate answer.
11182 (rng-time-to-float): Remove; no longer needed.
11183
fe955043
PE
11184 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11185
5777162a
PE
11186 * calendar/timeclock.el (timeclock-seconds-to-time):
11187 Defalias to seconds-to-time, since they're the same thing.
11188
3103f8b6 11189 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11190 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11191 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11192
0e61a35f
SM
111932011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * window.el (bury-buffer): Don't iconify the only frame.
11196 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11197 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11198
ddd63a1e
CY
111992011-07-01 Chong Yidong <cyd@stupidchicken.com>
11200
0e61a35f
SM
11201 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11202 Add mouse-yank-primary.
ddd63a1e 11203
055f4923
TZ
112042011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11205
11206 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11207
6a2fb145
SM
112082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11211 (find-library-name): Use it to find relative load names when provided
11212 absolute file name (bug#8803).
11213
fd4983f2
LMI
112142011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11215
887d14ad
LMI
11216 * textmodes/flyspell.el (flyspell-word): Consider words that
11217 differ only in case as potential doublons (bug#5687).
11218
c53dc7fc
LMI
11219 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11220 Remove two rather uninteresting debugging-like messages to make
11221 debbugs.el more silent.
11222
fd4983f2
LMI
11223 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11224 a password-like phrase.
11225
7a71b18d 112262011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11227
11228 * progmodes/cc-guess.el: New file.
11229
6a2fb145 11230 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11231
11232 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11233 derived from `c-basic-common-init'.
11234
11235 * progmodes/cc-mode.el (top-level): Require cc-guess.
11236 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11237
1fa280a3
LM
112382011-06-30 Lawrence Mitchell <wence@gmx.li>
11239
11240 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11241
e6597158
AM
112422011-06-30 Alan Mackenzie <acm@muc.de>
11243
1fa280a3
LM
11244 * progmodes/cc-engine.el (c-guess-continued-construct):
11245 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11246 lock is disabled. Name this case as "CASE G".
11247
68ba37fb
KM
112482011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11249
11250 * allout.el (allout-yank-processing): Fix injection of extra space
11251 between bullet and non-whitespace character in first topic when
11252 pasting, ensuring that the actual spacing in the pasted topic
11253 following the bullet char is preserved. This extra space was
11254 causing pasted encrypted topics to get a decrypted status even
11255 when the content was actually still encrypted. Now the decryption
11256 status from before the paste is preserved.
11257
11258 (allout-flag-region): Set all allout overlays so they evaporate
11259 when reduced to zero length (evanescent), to prevent overlay
11260 leakage.
11261
887a0b34
GM
112622011-06-30 Glenn Morris <rgm@gnu.org>
11263
94b9acce
GM
11264 * w32-fns.el (w32-charset-info-alist): Declare.
11265
1d9b46d4
GM
11266 * find-dired.el (find-grep-options): Simplify.
11267
cc232200
GM
11268 * term/ns-win.el (ns-set-resource): Declare.
11269
28e77c46
GM
11270 * ses.el (row, col): Declare dynamic variables honestly.
11271
887a0b34
GM
11272 * textmodes/reftex-parse.el (index-tags): Declare.
11273
658d8eb8
CY
112742011-06-30 Chong Yidong <cyd@stupidchicken.com>
11275
11276 * cus-edit.el (customize-push-and-save): New function.
11277
11278 * files.el (hack-local-variables-confirm): Use it.
11279
1fa280a3
LM
11280 * custom.el (load-theme): New arg NO-CONFIRM.
11281 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11282 (custom-enabled-themes): Doc fix.
11283
11284 * cus-theme.el (customize-create-theme)
11285 (custom-theme-merge-theme): Callers to load-theme changed.
11286
bb617717
LMI
112872011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11288
d61bdd5d
LMI
11289 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11290 short URLs have at least one dot in them (bug #7614).
11291
bb617717
LMI
11292 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11293 nil, because using a pty is apparently too slow (bug #895).
11294
2f31f37a
LMI
112952011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11296
11297 * mail/sendmail.el (sendmail-query-once): New function.
11298 (sendmail-query-once-function): New variable.
11299
3076b24e
GM
113002011-06-29 Glenn Morris <rgm@gnu.org>
11301
faf2a174
GM
11302 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11303
3076b24e
GM
11304 * ses.el (top-level): Require cl when compiling.
11305 (ses-set-localvars): Fix error statement.
11306 Call it at compile time to silence a storm of warnings.
11307
5386012d
MR
113082011-06-29 Martin Rudalics <rudalics@gmx.at>
11309
11310 * window.el (normalize-live-buffer): Rename to
11311 window-normalize-buffer.
11312 (normalize-live-frame): Rename to window-normalize-frame.
11313 (normalize-any-window): Rename to window-normalize-any-window.
11314 (normalize-live-window): Rename to window-normalize-live-window.
11315 (make-window-atom): Rename to window-make-atom.
11316 (window-resize-reset): Rename to window--resize-reset.
11317 (window-resize-reset-1): Rename to window--resize-reset-1.
11318 (resize-mini-window): Rename to window--resize-mini-window.
11319 (resize-subwindows-skip-p): Rename to
11320 window--resize-subwindows-skip-p.
11321 (resize-subwindows-normal): Rename to
11322 window--resize-subwindows-normal.
11323 (resize-subwindows): Rename to window--resize-subwindows.
11324 (resize-other-windows): Rename to window--resize-siblings.
11325 (resize-this-window): Rename to window--resize-this-window.
11326 (resize-root-window): Rename to window--resize-root-window.
11327 (resize-root-window-vertically): Rename to
11328 window--resize-root-window-vertically.
11329 (normalize-buffer-to-display): Rename to
11330 window-normalize-buffer-to-display.
11331 (normalize-buffer-to-switch-to): Rename to
11332 window-normalize-buffer-to-switch-to.
11333 Correspondingly update all callers of the functions listed
11334 above.
11335 (display-buffer-alist, display-buffer-normalize-arguments)
11336 (display-buffer-normalize-options, display-buffer)
11337 (display-buffer-alist-set): Use "function" instead of
11338 "fun-with-args".
11339
1176868d
CY
113402011-06-28 Chong Yidong <cyd@stupidchicken.com>
11341
11342 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11343 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11344 debbugs.gnu.org. Mention acknowledgment email.
11345
20a7a65f
LMI
113462011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11347
11348 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11349 buffer multibyteness, since it shouldn't matter.
11350
5f45cca5
MR
113512011-06-28 Martin Rudalics <rudalics@gmx.at>
11352
11353 * window.el (display-buffer-in-side-window): Handle dedicated
11354 windows as in display-buffer-reuse-window.
11355 (display-buffer-normalize-alist): Use value of override
11356 specifier.
11357 (display-buffer-normalize-specifiers): Use value of
11358 other-window-means-other-frame specifier.
11359 (display-buffer-alist): Rewrite some texts in widgets.
11360 (display-buffer): Spread arguments when calling function
11361 specified by fun-with-args.
11362
ad85fe1f
DD
113632011-06-28 Deniz Dogan <deniz@dogan.se>
11364
1fa280a3
LM
11365 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11366 Unnest `let'.
da68c4c8 11367
ad85fe1f
DD
11368 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11369 selectors (Bug#5732).
ec49bd31 11370 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11371
a08cc025
JA
113722011-06-27 Jari Aalto <jari.aalto@cante.net>
11373
11374 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11375 (eshell-ls-date-format): New defcustom.
11376 (eshell-ls-file): Use it.
11377
e2b551c5
SM
113782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11379
11380 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11381
8982b231
KY
113822011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11383
11384 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11385 (ange-ftp-make-tmp-name): New arg.
11386 (ange-ftp-file-local-copy): Use it.
11387
36c9fa27
J
113882011-06-27 Jambunathan K <kjambunathan@gmail.com>
11389
11390 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11391 no-conversion (Bug#8870).
11392
d68443dc
MR
113932011-06-27 Martin Rudalics <rudalics@gmx.at>
11394
11395 * window.el (window-right, window-left, window-child)
11396 (window-child-count, window-last-child)
11397 (window-iso-combination-p, walk-window-tree-1)
11398 (window-atom-check-1, window-tree-1, delete-window)
11399 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11400 new naming conventions - window-vchild, window-hchild,
11401 window-next and window-prev are now called window-top-child,
11402 window-left-child, window-next-sibling and window-prev-sibling
11403 respectively.
d615d6d2
MR
11404 (resize-window-reset): Rename to window-resize-reset.
11405 (resize-window-reset-1): Rename to window-resize-reset-1.
11406 (resize-window): Rename to window-resize.
11407 (window-min-height, window-min-width)
11408 (resize-mini-window, resize-this-window, resize-root-window)
11409 (resize-root-window-vertically, adjust-window-trailing-edge)
11410 (enlarge-window, shrink-window, maximize-window)
11411 (minimize-window, delete-window, quit-restore-window)
11412 (split-window, balance-windows, balance-windows-area-adjust)
11413 (balance-windows-area, window-state-put-2)
11414 (display-buffer-even-window-sizes, display-buffer-set-height)
11415 (display-buffer-set-width, set-window-text-height)
11416 (fit-window-to-buffer): Rename all "resize-window" prefixed
11417 calls to use the "window-resize" prefix convention.
11418 (display-buffer-alist): Fix symbol for label specifier.
11419 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11420 corresponding specifier.
11421 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11422
b6458526
VB
114232011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11424
11425 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11426 convention.
11427 (ses-call-printer): Does not pass an empty string to formatter when the
11428 cell is empty to keep from barking printer Calc math-format-value.
11429
d31fd9ac
RS
114302011-06-27 Richard Stallman <rms@gnu.org>
11431
43d5bf84
RS
11432 * battery.el (battery-mode-line-limit): New variable.
11433 (battery-update): Handle it.
11434
d31fd9ac
RS
11435 * mail/rmailmm.el (rmail-mime-process-multipart):
11436 Handle truncated messages.
11437
819a6054
GM
114382011-06-27 Glenn Morris <rgm@gnu.org>
11439
11440 * progmodes/flymake.el (flymake-err-line-patterns):
11441 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11442
cedc73f2
VB
114432011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11444
819a6054 11445 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11446 (ses--clean-!, ses--clean-_): New functions.
11447 (ses-range): Add configurability of readout order, and conversion
11448 to Calc vector.
11449
5e5d49b6
VB
11450 * ses.el (ses-repair-cell-reference-all): New function.
11451 (ses-cell-symbol): Set macro as safe, so that it can be used in
11452 formulas.
11453
56e6cc31 11454 * ses.el: Update cycle detection algorithm.
90ca8b49 11455 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11456 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11457 (ses-set-localvars): New function.
11458 (ses-make-cell): Add property-list as a cell element.
11459 (ses-cell-property-get-fun, ses-cell-property-get)
11460 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11461 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11462 New functions.
90ca8b49
VB
11463 (ses-cell-property-set, ses-cell-property-pop)
11464 (ses-cell-property-get-handle): New macro.
11465 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11466 New aliases, used for code readability.
11467 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11468 cycle detection.
11469 (ses-self-reference-early-detection): New defcustom.
fac916bf 11470 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11471 (ses-mode): Use ses-set-localvars.
11472 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11473 before lauching the update processing.
11474 (ses-initialize-Dijkstra-attempt): New function.
11475 (ses-recalculate-cell): Update for cycle detection based on
11476 Dijkstra algorithm.
11477
2bb63e81
VB
11478 * ses.el: Fix commenting and indenting convention.
11479
c9d29fb8
SM
114802011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11481
11482 * bs.el (bs-cycle-next): Complete last change.
11483
d8e4b68b
JB
114842011-06-27 Drew Adams <drew.adams@oracle.com>
11485
11486 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11487
40098786
LMI
114882011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11489
c9d29fb8
SM
11490 * net/network-stream.el (network-stream-open-starttls):
11491 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11492 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11493
40098786
LMI
11494 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11495 to binary to possibly avoid line encoding issues on Windows (among
11496 other things).
11497
468d09d4
LMI
114982011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11499
11500 * net/network-stream.el (open-network-stream): Return an :error
11501 saying what the problem was, if possible.
11502
11503 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11504 server.
11505
11506 * net/network-stream.el (network-stream-open-starttls): If we
11507 wanted to use STARTTLS, and the server offered it, but we weren't
11508 able to because we had no STARTTLS support, then close the connection.
11509 (open-network-stream): Return an :error element, if present.
11510
16f07dd7
CY
115112011-06-26 Chong Yidong <cyd@stupidchicken.com>
11512
88821ca0
CY
11513 * hl-line.el (hl-line-sticky-flag): Doc fix.
11514 (global-hl-line-sticky-flag): New option (Bug#8323).
11515 (global-hl-line-highlight): Obey it.
11516
16f07dd7
CY
11517 * vc/vc.el (vc-revert-show-diff): Default to t.
11518
6b5ccddf
KM
115192011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11520
c9d29fb8
SM
11521 * allout-widgets.el (allout-widgets-post-command-business):
11522 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11523 undecorated when an isearch is continued past, and isearch
11524 automatically collapses them. This leads to "widget leaks", where
11525 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11526 hidden widgets can slow down cursor travel, substantially.
11527 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11528 so we're doing without this nicety.
11529
11530 (allout-widgets-tally-string): Don't try to do a hash-table-count
11531 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11532 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11533 *Messages* when allout-widgets-maintain-tally is t.
11534
355f2e07
MR
115352011-06-26 Martin Rudalics <rudalics@gmx.at>
11536
11537 * window.el (display-buffer-normalize-argument): Rename to
11538 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11539 LABEL argument. Respect special-display-function when popping up
11540 a new frame. Fix code searching for a window showing the buffer
11541 on another frame.
c9d29fb8
SM
11542 (display-buffer-normalize-specifiers):
11543 Call display-buffer-normalize-arguments.
355f2e07
MR
11544 (display-buffer-in-window): Don't undedicate the window if its
11545 buffer remains the same.
11546 Reported by Drew Adams <drew.adams@oracle.com>.
11547 (display-buffer-alist): Add choice for same-window macro
11548 specfier.
11549 (display-buffer): Mention special meaning of LABEL argument in
11550 doc-string. Fix quoting. Don't pop up a new frame even as
11551 fallback.
11552
7ca8fc42
JB
115532011-06-26 Juanma Barranquero <lekktu@gmail.com>
11554
11555 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11556 avoid deleting the current window in some cases (bug#8911).
11557
bc312254
AS
115582011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11559
11560 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11561 (Bug#8934)
11562
2db18f3f
LMI
115632011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11564
c9d29fb8
SM
11565 * net/network-stream.el (network-stream-open-starttls):
11566 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11567 (network-stream-open-tls): Ditto.
11568
6302e0d3
LL
115692011-06-26 Leo Liu <sdl.web@gmail.com>
11570
11571 * register.el (registerv): New struct.
11572 (registerv-make): New function.
c9d29fb8
SM
11573 (jump-to-register, describe-register-1, insert-register):
11574 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11575 struct. (Bug#8415)
11576
5fdd4046
CY
115772011-06-26 Chong Yidong <cyd@stupidchicken.com>
11578
2afef60a
CY
11579 * vc/vc.el (vc-revert-show-diff): New defcustom.
11580 (vc-diff-internal): New arg specifying diff buffer.
11581 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11582 reuse an existing *vc-diff* buffer (Bug#8927).
11583
5fdd4046
CY
11584 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11585
e93db24a
GM
115862011-06-26 Glenn Morris <rgm@gnu.org>
11587
11588 * progmodes/f90.el (f90-critical-indent): New option.
11589 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11590 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11591 (f90-mode): Doc fix.
11592 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11593 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11594 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11595 (f90-match-end): Handle block, critical.
11596
eefff499
GM
115972011-06-25 Glenn Morris <rgm@gnu.org>
11598
f6ba4cc9
GM
11599 * calendar/diary-lib.el (diary-included-files): Doc fix.
11600 (diary-include-files): New function, extracted from
11601 diary-include-other-diary-files and diary-mark-included-diary-files.
11602 (diary-include-other-diary-files, diary-mark-included-diary-files):
11603 Just call diary-include-files.
11604 (diary-mark-entries): Reset diary-included-files on first call.
11605
16712304
GM
11606 * calendar/diary-lib.el (diary-mark-entries)
11607 (diary-mark-included-diary-files):
11608 Visit included diary-files in temp buffers.
11609
5d8e0d43
GM
11610 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11611 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11612 (f90-start-block-re, f90-imenu-generic-expression)
11613 (f90-looking-at-program-block-start, f90-no-block-limit):
11614 Add support for submodules.
11615
ccf7a5d5
GM
11616 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11617 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11618
11fdef7d 116192011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11620
11621 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11622 buffer-file-type before setting its value, to avoid disastrous
eefff499 11623 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11624
74f53697
JB
116252011-06-25 Juanma Barranquero <lekktu@gmail.com>
11626
11627 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11628
11629 * ses.el (ses-unload-function):
11630 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11631
11632 * proced.el (proced-unload-function):
11633 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11634
18a4ce5e
AR
116352011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11636
11637 * server.el (server-create-window-system-frame): Add parameters arg.
11638 (server-process-filter): Doc fix. Handle frame-parameters.
11639
519d22cc
JB
116402011-06-25 Juanma Barranquero <lekktu@gmail.com>
11641
11642 Fix bug#8730, bug#8781.
11643
11644 * loadhist.el (unload--set-major-mode): New function.
11645 (unload-feature): Use it.
11646
11647 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11648 (python-unload-function): New function.
11649
c206f5b0
SM
116502011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11653
f9ad64f3
GS
116542011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11655
11656 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11657 the candidates list.
11658
7d0da90e
JB
116592011-06-24 Juanma Barranquero <lekktu@gmail.com>
11660
11661 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11662
14b4e83d
RS
116632011-06-23 Richard Stallman <rms@gnu.org>
11664
11665 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11666 (rmail-variables): Set next-error-move-function.
11667 (rmail-what-message): Take argument POS.
11668 (rmail-next-error-move): New function.
11669
273d2baf
SM
116702011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11671
11672 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11673 messages for adjacent non-terminals.
11674
56c2cc9a
RS
116752011-06-23 Richard Stallman <rms@gnu.org>
11676
11677 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11678 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11679 (rmail-start-mail): Don't specify use of rmail-mail-return;
11680 that's done by mail-bury now.
11681 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11682
d59eb518
MA
116832011-06-23 Michael Albinus <michael.albinus@gmx.de>
11684
11685 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11686 SIZE is a number.
11687
02cfc6d6
MR
116882011-06-23 Martin Rudalics <rudalics@gmx.at>
11689
11690 * window.el (get-lru-window, get-mru-window)
11691 (get-largest-window): Never return a minibuffer window.
11692 (display-buffer-pop-up-window): Fix a bug that could lead to
11693 reusing the minibuffer window.
11694 (display-buffer): Pass original specifier argument to
11695 display-buffer-function instead of the normalized one.
11696 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11697
4e323265
LL
116982011-06-22 Leo Liu <sdl.web@gmail.com>
11699
11700 * minibuffer.el (completing-read-function)
11701 (completing-read-default): Move from minibuf.c
11702
7a70468f
RS
117032011-06-22 Richard Stallman <rms@gnu.org>
11704
50718fc2
RS
11705 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11706 to Rmail even if not started by a special Rmail command.
11707
7a70468f
RS
11708 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11709 Copy the buffer currently showing just one message.
11710
297dde5a
RW
117112011-06-22 Roland Winkler <winkler@gnu.org>
11712
11713 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11714 (bibtex-clean-entry): First delete the old key so that a
11715 customized algorithm for generating the new key does not get
11716 confused by the old key.
11717 (bibtex-url): Obey regexp of first step.
11718 (bibtex-search-entries): Do not use add-to-list with local
11719 list-var.
11720
97bb1093
LMI
117212011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11722
11723 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11724 stored a user name, then query for the password first, instead of
11725 waiting for SMTP to give an error message and the trying again.
11726
1c0f1a19
JD
117272011-06-22 Lawrence Mitchell <wence@gmx.li>
11728
11729 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11730 BUFFER in call-process.
11731
396f7c9d
LMI
117322011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11733
11734 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11735 QUIT twice.
ddb7ffee
LMI
11736 (smtpmail-try-auth-methods): Require user name and password from
11737 auth-source.
396f7c9d 11738
8998d1b3
MR
117392011-06-22 Martin Rudalics <rudalics@gmx.at>
11740
11741 * window.el (display-buffer-default-specifiers)
11742 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11743 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11744 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11745
11746 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11747 (special-display-frame-alist, special-display-popup-frame):
11748 Remove duplicate declarations. These are now in window.el.
11749
4ea31e07
LMI
117502011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11751
c9d29fb8
SM
11752 * mail/smtpmail.el (smtpmail-via-smtp):
11753 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11754 server supports it. SMTP servers that support STARTTLS commonly
11755 require it.
11756
11757 * net/network-stream.el (network-stream-open-starttls): Support
11758 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11759 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11760
95f41d9a
LMI
11761 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11762 upgrades with `open-network-stream', and rely solely on
11763 auth-source for all credentials. Big changes throughout the file,
11764 but in particular:
c9d29fb8
SM
11765 (smtpmail-auth-credentials): Remove.
11766 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11767 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11768 MAIL FROM, too.
95f41d9a 11769
c9d29fb8
SM
11770 * net/network-stream.el (network-stream-open-starttls):
11771 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11772 STARTTLS.
11773 (auth-source): Require.
11774 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11775 (network-stream-certificate): Change cert-cert to cert and
11776 cert-key to key.
4ea31e07 11777
065ec2c7
MA
117782011-06-21 Michael Albinus <michael.albinus@gmx.de>
11779
11780 * net/tramp-cache.el (top): Don't load the persistency file when
11781 "emacs -Q" has been called.
11782
cd93b359
DR
117832011-06-21 Tim Harper <timcharper@gmail.com>
11784
d8e4b68b
JB
11785 * term/ns-win.el (ns-initialize-window-system):
11786 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11787 resource to NO as it is not yet supported by the NS port.
11788
ae9c0411
JB
117892011-06-21 Juanma Barranquero <lekktu@gmail.com>
11790
11791 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11792 (list-dynamic-libraries): ...not here.
11793
7f3f739f
LL
117942011-06-21 Leo Liu <sdl.web@gmail.com>
11795
11796 * subr.el (sha1): Implement sha1 using secure-hash.
11797
327c8fb1
MR
117982011-06-21 Martin Rudalics <rudalics@gmx.at>
11799
11800 * window.el (display-buffer-alist): In default value do not
11801 enforce searching a window on any but the selected frame.
11802 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11803 (display-buffer-select-window): Remove function.
11804 (display-buffer-in-window): When a window on another frame gets
11805 reused, do not select it any more but just raise its frame if
11806 necessary (Bug#8851) and (Bug#8856).
11807 (display-buffer-normalize-options): Handle pop-up-frames related
11808 options more faithfully.
11809 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11810 window if it is on another frame.
c9d29fb8
SM
11811 (display-buffer-alist, display-buffer-default-specifiers):
11812 Don't make new frame unsplittable by default.
9e9de014
MR
11813 (display-buffer-normalize-argument): Fix doc-string typo and use
11814 'same-frame-other-window instead of 'other-window when associating
11815 with display-buffer-macro-specifiers.
327c8fb1 11816
7cf3f556
VB
118172011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11818
11819 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11820 New functions.
11821 (5x5-mode-map, 5x5-mode-menu): Bind them.
11822 (5x5-draw-grid): Tweak the solver's rendering.
11823
60a406cf
SM
118242011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11825
11826 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11827 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11828
d8e4b68b 118292011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11830
11831 * menu-bar.el: Use function variable instead of switch-to-buffer.
11832 (menu-bar-select-buffer-function): New variable.
60a406cf 11833 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11834
478d6f95
SM
118352011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11836
11837 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11838 variable's status.
11839
ca530739
JD
118402011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11841
11842 * x-dnd.el (x-dnd-version-from-flags)
11843 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11844 and long as number (Bug#8899).
11845 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11846
bcd70d97
SM
118472011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11848
60a406cf 11849 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11850 (completion-try-completion, completion-all-completions): Compute the
11851 metadata argument if it's missing; make it optional (bug#8795).
11852
60a406cf 11853 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11854 (widget-complete): Use new :completion-function property.
11855 (widget-completions-at-point): New function.
11856 (default): Use :completion-function instead of :complete.
60a406cf
SM
11857 (widget-default-completions): Rename from widget-default-complete;
11858 Rewrite.
bcd70d97
SM
11859 (widget-string-complete, widget-file-complete, widget-color-complete):
11860 Remove functions.
11861 (file, symbol, function, variable, coding-system, color):
11862 * international/mule-cmds.el (default-input-method, charset)
11863 (language-info-custom-alist):
11864 * cus-edit.el (face): Use new property :completions.
11865
11866 * progmodes/pascal.el (pascal-completions-at-point): New function.
11867 (pascal-mode): Use it.
11868 (pascal-mode-map): Use completion-at-point.
11869 (pascal-toggle-completions): Make obsolete.
11870 (pascal-complete-word, pascal-show-completions):
11871 * progmodes/octave-mod.el (octave-complete-symbol):
11872 Redefine as obsolete alias.
11873 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11874 Signal absence of completion info for old Octave,
11875 (inferior-octave-complete): Redefine as obsolete alias.
11876 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11877 (meta-completions-at-point): Rename from meta-complete-symbol and
11878 adapt it for use on completion-at-point-functions.
11879 (meta-common-mode): Use it.
11880 (meta-looking-at-backward, meta-match-buffer): Remove.
11881 (meta-complete-symbol): Redefine as obsolete alias.
11882 (meta-common-mode-map): Use completion-at-point.
11883 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11884 (makefile-mode-map): Use completion-at-point.
11885 (makefile-completions-at-point): Rename from makefile-complete and
11886 adapt it for use on completion-at-point-functions.
11887 (makefile-mode): Use it.
11888 (makefile-complete): Redefine as obsolete alias.
11889
aebf69c8
DD
118902011-06-20 Deniz Dogan <deniz@dogan.se>
11891
11892 * net/rcirc.el: Delete trailing whitespaces once and for all.
11893
bfbbb27d
DC
118942011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11895
11896 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11897
d264a46b
CY
118982011-06-19 Chong Yidong <cyd@stupidchicken.com>
11899
4ca009e5
CY
11900 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11901
d264a46b
CY
11902 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11903
fbf5b3ce
MR
119042011-06-19 Martin Rudalics <rudalics@gmx.at>
11905
11906 * window.el (display-buffer-other-window-means-other-frame):
11907 Call display-buffer-normalize-alist.
11908 (display-buffer-normalize-specifiers-1): Rename to
11909 display-buffer-normalize-argument. New argument other-frame.
11910 Rewrite.
11911 (display-buffer-normalize-specifiers-2): Rename to
11912 display-buffer-normalize-options.
11913 (display-buffer-normalize-alist-1): New function.
11914 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11915 display-buffer-normalize-alist.
11916 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11917 (display-buffer-normalize-options-inhibit): New variable.
11918 (display-buffer-normalize-specifiers): Rewrite calling
11919 display-buffer-normalize-alist,
11920 display-buffer-normalize-argument, and
11921 display-buffer-normalize-options. Don't call the latter if
11922 display-buffer-normalize-options-inhibit is non-nil.
11923 (frame-auto-delete): New option.
11924 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11925 (window-list-no-nils, window-state-ignored-parameters)
11926 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11927 (window-state-put-1, window-state-put-2, window-state-put):
11928 New functions.
9a028c23
MR
11929 (display-buffer-normalize-options): Move special-display-p group
11930 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11931
6d10d800
CY
119322011-06-18 Chong Yidong <cyd@stupidchicken.com>
11933
6420d28b
CY
11934 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11935 groups (Bug#8776).
11936 (rx-submatch-n): New function.
11937 (rx): Document it.
11938
ddb8b596
CY
11939 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11940 (Bug#8768).
11941
11942 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11943
77080289
CY
11944 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11945
61dfb316
CY
11946 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11947 anytime existing face settings are present (Bug#8889).
11948
6d10d800
CY
11949 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11950 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11951 Remove unused argument.
11952
be3fb2b8
MR
119532011-06-18 Martin Rudalics <rudalics@gmx.at>
11954
bcd70d97
SM
11955 * window.el (display-buffer-default-specifiers):
11956 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11957 pop-up-window-min-width, and another reuse-window specifier
11958 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11959 (display-buffer-normalize-specifiers-2):
11960 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11961 pop-up-windows is unset. Add a reuse-window specifier for the
11962 case popping up a new window fails.
11963 (special-display-popup-frame): Remove double quoting.
28dec25a 11964 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11965
1c6d8c76
SM
119662011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11969 according to comint-completion-addsuffix.
11970
11971 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11972 (pcomplete-suffix-list): Mark as obsolete.
11973 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11974 pcomplete-seen in the closure.
11975 (pcomplete-comint-setup): Setup completion-at-point as well.
11976 (pcomplete--entries): New function.
11977 (pcomplete--env-regexp): New var.
11978 (pcomplete-entries): Rewrite to work with partial-completion and
11979 without relying on pcomplete-suffix-list.
11980 (pcomplete-pare-list): Remove, unused.
11981
25aef8b8
MR
119822011-06-17 Martin Rudalics <rudalics@gmx.at>
11983
11984 * window.el (display-buffer-alist): Set pop-up-window-min-height
11985 and pop-up-window-min-width in default value. Reported by
11986 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11987 other-window-means-other-frame.
11988 (display-buffer-macro-specifiers): Comment out entry for
11989 other-window specifier.
11990 (display-buffer-other-window-means-other-frame): New function.
11991 (display-buffer-normalize-specifiers-1): New arguments
11992 buffer-name and label. Treat other-window case specially.
11993 (display-buffer-normalize-specifiers-2): Treat other-window case
11994 specially.
11995 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11996 (display-buffer-normalize-specifiers):
11997 Call display-buffer-normalize-specifiers-3.
25aef8b8 11998
dbad4f69
MR
119992011-06-17 Martin Rudalics <rudalics@gmx.at>
12000
12001 * window.el (same-window-p): Fix two typos introduced when
12002 adding with-no-warnings.
d1067961
MR
12003 (display-buffer-normalize-specifiers-1): Don't check
12004 pop-up-frames for 'unset initialization.
12005 (display-buffer-normalize-specifiers-2): Major rewrite using
12006 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12007 (pop-up-frames, display-buffer-reuse-frames)
12008 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12009 Suggested by David Engster <deng@randomsample.de>.
12010 (even-window-heights): Initialize to 'unset.
12011 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12012 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12013 other window case.
dbad4f69 12014
9b9c9e3a
MR
120152011-06-16 Martin Rudalics <rudalics@gmx.at>
12016
bcd70d97
SM
12017 * window.el (display-buffer-normalize-specifiers-1):
12018 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12019 second argument of display-buffer (Bug#8865).
981d5c09
MR
12020 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12021 (switch-to-buffer-other-window-same-frame)
12022 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12023 Adams (Bug#8875).
9c2755e9
MR
12024 (display-buffer): Don't check noninteractive when calling
12025 display-buffer-pop-up-frame.
12026 (display-buffer-pop-up-frame): Never pop up a frame in
12027 noninteractive mode (Bug#8857).
67222e1d
MR
12028 (enlarge-window, shrink-window): Don't report an error when the
12029 window can't be resized as requested (Bug#8862).
9b9c9e3a 12030
2b75be67
SM
120312011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12032
9ffdd3ba
SM
12033 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12034
cb581a67
SM
12035 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12036
2b75be67
SM
12037 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12038
8c0e3589
AM
120392011-06-15 Alan Mackenzie <acm@muc.de>
12040
cb581a67
SM
12041 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12042 for declarators, disable knr checking to speed up for normal files.
12043 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12044
b96e6cde
LMI
120452011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12046
4bba86e6
LMI
12047 * net/network-stream.el (open-network-stream): Add the keyword
12048 :always-query-capabilities for the case where you want to force a
12049 `plain' network connection, but the protocol still requires the
12050 capabilitiy command (i.e., SMTP and EHLO).
12051
2b75be67 12052 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12053 consistency with other `-live-p' functions.
12054
efdcdbf8
SM
120552011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12056
12057 * window.el (same-window-buffer-names, same-window-regexps)
12058 (special-display-frame-alist, special-display-popup-frame)
12059 (special-display-function, special-display-buffer-names)
12060 (special-display-regexps, pop-up-frame-alist)
12061 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12062 (pop-up-windows, split-window-preferred-function)
12063 (split-height-threshold, split-width-threshold, even-window-heights)
12064 (display-buffer-mark-dedicated): Don't encourage the use of
12065 display-buffer-alist from Elisp code.
12066
c5cde042
DN
120672011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12068
12069 * progmodes/python.el (python-mode): Derive from prog-mode.
12070 * progmodes/ps-mode.el (ps-mode):
12071 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12072 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12073 * progmodes/ld-script.el (ld-script-mode): Likewise.
12074
baa1c9ab
MR
120752011-06-15 Martin Rudalics <rudalics@gmx.at>
12076
12077 * window.el (display-buffer-alist): Trim default value to avoid
12078 popping up a new frame (Bug#8857) or reusing an arbitrary window
12079 on another frame.
12080 (display-buffer): Do not fall back on popping up a new frame in
12081 batch mode (Bug#8857).
12082
c5dd5a51
CY
120832011-06-14 Chong Yidong <cyd@stupidchicken.com>
12084
12085 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12086 (custom-theme-summary): New function.
12087 (customize-themes): Use it.
12088
d647b7c4
GM
120892011-06-13 Glenn Morris <rgm@gnu.org>
12090
12091 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12092
9481c002
MR
120932011-06-13 Martin Rudalics <rudalics@gmx.at>
12094
357f93d2
MR
12095 * help.el (help-window): Remove variable.
12096 (help-window-point-marker, temp-buffer-max-height)
12097 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12098 (help-print-return-message): Don't set help-window.
12099 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12100 (help-window-setup-finish): Remove.
12101 (help-window-display-message, help-window-setup)
12102 (with-help-window): Major rewrite based on new
12103 display-buffer-window variable.
12104
12105 * help-mode.el (help-mode-finish): Remove help-window related
12106 code.
12107
12108 * view.el (view-exits-all-viewing-windows): Remove reference to
12109 view-return-to-alist in doc-string.
12110 (view-return-to-alist): Make obsolete.
12111 (view-buffer): Call pop-to-buffer-same-window and remove
12112 undo-window code.
12113 (view-buffer-other-window): Call pop-to-buffer-other-window and
12114 simplify code. Ignore second argument.
12115 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12116 simplify code. Ignore second argument.
12117 (view-return-to-alist-update): Make obsolete.
12118 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12119 Rewrite using quit-restore window parameters.
2b75be67
SM
12120 (view-mode-exit): Rename second argument to EXIT-ONLY.
12121 Rewrite using quit-restore-window.
357f93d2
MR
12122 (View-exit, View-exit-and-edit, View-leave, View-quit)
12123 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12124 appropriate arguments.
12125 (view-end-message): Use quit-restore window parameter.
12126
9481c002
MR
12127 * window.el (display-buffer-function): Rewrite doc-string.
12128 (display-buffer-window, display-buffer-alist): New variables.
12129 (display-buffer-split-specifiers)
12130 (display-buffer-side-specifiers)
12131 (display-buffer-macro-specifiers): New constants.
12132 (display-buffer-even-window-sizes, display-buffer-set-height)
12133 (display-buffer-set-width, display-buffer-select-window)
12134 (display-buffer-in-window, display-buffer-reuse-window)
12135 (display-buffer-split-window-1, display-buffer-split-window)
12136 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12137 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12138 (display-buffer-in-side-window, normalize-buffer-to-display)
12139 (display-buffer-normalize-specifiers-1)
12140 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12141 (display-buffer-normalize-specifiers, display-buffer-frame):
12142 New functions.
9481c002
MR
12143 (display-buffer): Major rewrite.
12144 (display-buffer-other-window, display-buffer-other-frame)
12145 (pop-to-buffer, switch-to-buffer-other-window)
12146 (switch-to-buffer-other-frame): Rewrite.
12147 (display-buffer-same-window, display-buffer-same-frame)
12148 (display-buffer-same-frame-other-window)
12149 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12150 (pop-to-buffer-other-window)
12151 (pop-to-buffer-same-frame-other-window)
12152 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12153 (switch-to-buffer-other-window-same-frame): New functions.
12154 (same-window-p, special-display-p): Rewrite disabling warnings.
12155 Make obsolete.
12156 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12157 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12158 Make obsolete
12159 (same-window-buffer-names, same-window-regexps)
12160 (special-display-frame-alist, special-display-popup-frame)
12161 (special-display-function, special-display-buffer-names)
12162 (special-display-regexps, pop-up-frame-alist)
12163 (pop-up-frame-function, split-window-preferred-function)
12164 (split-height-threshold, split-width-threshold)
12165 (even-window-heights): Make obsolete.
12166
9db51aca
GM
121672011-06-12 Glenn Morris <rgm@gnu.org>
12168
12169 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12170 Misc simplifications.
9db51aca 12171
39cffb44
MR
121722011-06-12 Martin Rudalics <rudalics@gmx.at>
12173
12174 * window.el (window-safely-shrinkable-p): Restore function which
12175 was inadvertently removed in change from 2011-06-11. Declare as
12176 obsolete.
12177
2b75be67
SM
12178 * calendar/calendar.el (calendar-generate-window):
12179 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12180 window-safely-shrinkable-p.
12181
a8955be7
GM
121822011-06-12 Glenn Morris <rgm@gnu.org>
12183
12184 * progmodes/fortran.el (fortran-mode-syntax-table):
12185 * progmodes/f90.el (f90-mode-syntax-table):
12186 Set % to punctuation. (Bug#8820)
12187 (f90-find-tag-default): Remove, no longer needed.
12188
f0d4059d
DC
121892011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12190
12191 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12192
1100a63c
CY
121932011-06-11 Chong Yidong <cyd@stupidchicken.com>
12194
12195 * image.el (image-animated-p): Return animation delay in seconds.
12196 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12197 (image-animate-timeout): Remove DELAY argument. Don't assume
12198 every subimage has the same delay; get it from image-animated-p.
12199 (image-animate): Caller changed.
12200
def722bf
MA
122012011-06-11 Michael Albinus <michael.albinus@gmx.de>
12202
12203 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12204 to ignored backtrace functions.
12205
0a2bb1a9
GM
122062011-06-11 Glenn Morris <rgm@gnu.org>
12207
12208 * calendar/appt.el (appt-disp-window-function): Doc fix.
12209 (appt-check): Handle overlapping appointments. (Bug#8337)
12210
6198ccd0
MR
122112011-06-11 Martin Rudalics <rudalics@gmx.at>
12212
12213 * window.el (window-tree-1, window-tree): New functions, moving
12214 the latter to window.el.
12215 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12216 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12217 (bw-refresh-edges): Remove.
12218 (balance-windows-1, balance-windows-2): New functions.
12219 (balance-windows): Rewrite in terms of window tree functions,
12220 balance-windows-1 and balance-windows-2.
12221 (bw-adjust-window): Remove.
12222 (balance-windows-area-adjust): New function with functionality of
12223 bw-adjust-window but using resize-window.
2b75be67
SM
12224 (set-window-text-height): Rewrite doc-string.
12225 Use normalize-live-window and resize-window.
12226 (enlarge-window-horizontally, shrink-window-horizontally):
12227 Rename argument to DELTA.
6198ccd0
MR
12228 (window-buffer-height): New function.
12229 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12230 Rewrite using new window resize routines.
2b75be67
SM
12231 (kill-buffer-and-window, mouse-autoselect-window-select):
12232 Use ignore-errors instead of condition-case.
6198ccd0
MR
12233 (quit-window): Call delete-frame instead of delete-windows-on
12234 for the only buffer on frame.
12235
9397e56f
MR
122362011-06-10 Martin Rudalics <rudalics@gmx.at>
12237
12238 * loadup.el (top-level): Load window before files for the sake
12239 of replace-buffer-in-windows.
12240
12241 * files.el (read-buffer-to-switch)
12242 (switch-to-buffer-other-window)
2b75be67
SM
12243 (switch-to-buffer-other-frame, display-buffer-other-frame):
12244 Move to window.el.
9397e56f
MR
12245
12246 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12247 (previous-buffer): Move to window.el.
12248
12249 * bindings.el (unbury-buffer): Move to window.el.
12250
12251 * window.el (delete-other-windows-vertically): Move after
12252 definition of delete-other-windows.
12253 (other-window, delete-windows-on, replace-buffer-in-windows):
12254 Move here from window.c.
12255 (record-window-buffer, unrecord-window-buffer)
12256 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12257 (switch-to-next-buffer): New functions.
12258 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12259 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12260 (previous-buffer): Move here from simple.el.
12261 Call switch-to-prev-buffer.
9397e56f
MR
12262 (bury-buffer): Move here from buffer.c. Switch to previous
12263 buffer when window cannot be deleted.
12264 (unbury-buffer): Move here from bindings.el.
12265 (ctl-x-map): Move binding for other-window from window.c to
12266 here.
12267 (read-buffer-to-switch, switch-to-buffer-other-window)
12268 (switch-to-buffer-other-frame): Move here from files.el.
12269 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12270 (switch-to-buffer): Move here from buffer.c.
12271 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12272
562dd5e9
MR
122732011-06-10 Martin Rudalics <rudalics@gmx.at>
12274
12275 * window.el (window-min-height, window-min-width): Move here
12276 from window.c. Add defcustoms and rewrite doc-strings.
12277 (resize-mini-window, resize-window): New functions.
12278 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12279 Move here from window.c.
12280 (maximize-window, minimize-window): New functions.
12281 (delete-window, delete-other-windows, split-window): Move here
12282 from window.c.
12283 (window-split-min-size): New function.
12284 (split-window-keep-point): Mention split-window-above-each-other
12285 instead of split-window-vertically.
2b75be67 12286 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12287 Rename split-window-vertically to split-window-above-each-other
12288 and provide defalias for old definition.
12289 (split-window-side-by-side, split-window-horizontally):
12290 Rename split-window-horizontally to split-window-side-by-side
12291 and provide defalias for the old definition.
562dd5e9
MR
12292 (ctl-x-map): Move bindings for delete-window,
12293 delete-other-windows and enlarge-window here from window.c.
12294 Replace bindings for split-window-vertically and
12295 split-window-horizontally by bindings for
12296 split-window-above-each-other and split-window-side-by-side.
12297
12298 * cus-start.el (all): Remove entries for window-min-height and
12299 window-min-width. Add entries for window-splits and
12300 window-nest.
12301
f0da764a
GM
123022011-06-09 Glenn Morris <rgm@gnu.org>
12303
80675c21
GM
12304 * calendar/appt.el (appt-mode-line): New function.
12305 (appt-check, appt-disp-window): Use it.
12306
f0da764a
GM
12307 * files.el (hack-one-local-variable-eval-safep):
12308 Allow minor-modes with explicit +/-1 arguments.
12309
59f623b7
TZ
123102011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12311
12312 * term/xterm.el (xterm): Add defgroup.
12313 (xterm-extra-capabilities): Add defcustom to supply known xterm
12314 capabilities, skip querying them, or query them (default).
12315 (terminal-init-xterm): Use it.
12316 (terminal-init-xterm-modify-other-keys): New function to set up
12317 modifyOtherKeys support to simplify `terminal-init-xterm'.
12318
9aab8e0d
MR
123192011-06-09 Martin Rudalics <rudalics@gmx.at>
12320
12321 * window.el (resize-window-reset, resize-window-reset-1)
12322 (resize-subwindows-skip-p, resize-subwindows-normal)
12323 (resize-subwindows, resize-other-windows, resize-this-window)
12324 (resize-root-window, resize-root-window-vertically)
12325 (window-deletable-p, window-or-subwindow-p)
12326 (frame-root-window-p): New functions.
12327
e8b08aee
GM
123282011-06-09 Glenn Morris <rgm@gnu.org>
12329
12330 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12331 (ange-ftp-get-files): Use it.
12332
254c37a5
AK
123332011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12334
12335 * mail/sendmail.el (mail-recover-1, mail-recover):
12336 * files.el (recover-file, recover-session):
12337 Handle dired-listing-switches not being just a single short option.
12338
35d7dbd3
GM
123392011-06-09 Glenn Morris <rgm@gnu.org>
12340
12341 * calendar/appt.el (appt-display-message, appt-disp-window):
12342 Handle lists of appointments.
12343
387522b2
MR
123442011-06-08 Martin Rudalics <rudalics@gmx.at>
12345
2b75be67
SM
12346 * window.el (one-window-p): Move down in code.
12347 Rewrite doc-string.
12348 (window-current-scroll-bars): Rewrite doc-string.
12349 Normalize live window argument.
387522b2
MR
12350 (walk-windows, get-window-with-predicate, count-windows):
12351 Rewrite doc-string. Use window-list-1.
12352 (window-in-direction-2, window-in-direction, get-mru-window):
12353 New functions.
12354
d8e4b68b 123552011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12356
12357 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12358 Doc fix (Bug#8713).
12359
123602011-06-08 Chong Yidong <cyd@stupidchicken.com>
12361
12362 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12363
123642011-06-08 Juanma Barranquero <lekktu@gmail.com>
12365
12366 * loadhist.el (unload-feature-special-hooks):
12367 Add `comint-output-filter-functions'.
12368
0de12c52
IK
123692011-06-08 Ivan Kanis <gnu@kanis.fr>
12370
12371 * calendar/appt.el (appt-check): Move some initializations into the let.
12372
f3d1777e
MR
123732011-06-08 Martin Rudalics <rudalics@gmx.at>
12374
12375 * window.el (window-height): Defalias to window-total-height.
12376 (window-width): Defalias to window-body-width.
12377
18af70d0
CY
123782011-06-07 Chong Yidong <cyd@stupidchicken.com>
12379
12380 * image-mode.el (image-toggle-animation): New command.
12381 (image-mode-map): Bind it to RET.
12382 (image-mode): Update message.
12383 (image-toggle-display-image): Avoid a spurious cache flush.
12384 (image-transform-rotation): Doc fix.
12385 (image-transform-properties): Return quickly in the normal case.
12386 (image-animate-loop): Rename from image-animate-max-time.
12387
2b75be67 12388 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12389 (create-animated-image): Remove unnecessary function.
12390 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12391 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12392 (image-animate-timer): Use car-safe.
12393 (image-animate-timeout): Rename argument.
12394
190b47e6
MR
123952011-06-07 Martin Rudalics <rudalics@gmx.at>
12396
12397 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12398 window.c. Rename first argument to ALL-FRAMES.
12399 Rephrase doc-strings.
12400 (get-buffer-window-list): Rewrite using window-list-1.
12401 Rephrase doc-string.
a1511caf
MR
12402 (window-safe-min-height, window-safe-min-width): New constants.
12403 (window-size-ignore, window-min-size, window-min-size-1)
12404 (window-sizable, window-sizable-p, window-size-fixed-1)
12405 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12406 (window-max-delta-1, window-max-delta, window-resizable)
12407 (window-resizable-p, window-total-height, window-total-width)
12408 (window-body-width): New functions.
12409 (window-full-height-p, window-full-width-p): Rewrite using
12410 window-total-size.
12411 (window-body-height): Rewrite using window-body-size.
190b47e6 12412
85cc1f11
MR
124132011-06-06 Martin Rudalics <rudalics@gmx.at>
12414
12415 * window.el (window-right, window-left, window-child)
12416 (window-child-count, window-last-child, window-any-p)
12417 (normalize-live-buffer, normalize-live-frame)
12418 (normalize-any-window, normalize-live-window)
12419 (window-iso-combination-p, window-iso-combined-p)
12420 (window-iso-combinations)
12421 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12422 (windows-with-parameter, window-with-parameter)
12423 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12424 (window-atom-check, window-side-check, window-check):
12425 New functions.
85cc1f11
MR
12426 (ignore-window-parameters, window-sides, window-sides-vertical)
12427 (window-sides-slots): New variables.
12428 (window-size-fixed): Move down in code. Minor doc-string fix.
12429
e7156492
AS
124302011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12431
12432 * comint.el (comint-dynamic-complete-as-filename)
12433 (comint-dynamic-complete-filename): Correctly call
12434 completion-in-region.
12435
7e821d0d
DD
124362011-06-05 Deniz Dogan <deniz@dogan.se>
12437
12438 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12439 in last change.
12440
ac09b8a1
DD
124412011-06-05 Deniz Dogan <deniz@dogan.se>
12442
12443 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12444 (rcirc): Use it to prompt for encryption.
12445
34699b85
RW
124462011-06-05 Roland Winkler <winkler@gnu.org>
12447
12448 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12449 (bibtex-search-entries): New command bound to C-c C-a.
12450 (bibtex-display-entries): New function.
12451
004dedd3
RW
124522011-06-05 Roland Winkler <winkler@gnu.org>
12453
12454 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12455 (bibtex-insert-kill): After yanking insert newline if necessary.
12456 (bibtex-initialize): Call bibtex-string-files-init only once.
12457 (bibtex-mode): Do not call easy-menu-add.
12458 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12459 (bibtex-yank): Set arg properly if nil.
12460
022fe7ce
RW
124612011-06-05 Roland Winkler <winkler@gnu.org>
12462
2b75be67
SM
12463 * textmodes/bibtex.el (bibtex-search-entry-globally):
12464 New variable.
022fe7ce
RW
12465 (bibtex-search-entry): Use it.
12466
b7c3692a
RW
124672011-06-05 Roland Winkler <winkler@gnu.org>
12468
12469 * textmodes/bibtex.el (bibtex-entry-format): New option
12470 sort-fields.
12471 (bibtex-format-entry, bibtex-reformat): Honor this option.
12472 (bibtex-parse-entry): Return fields in proper order.
12473
8eda563d
JB
124742011-06-05 Juanma Barranquero <lekktu@gmail.com>
12475
12476 * doc-view.el (doc-view-remove-if): Move computation of result out
12477 of `dolist' to silence misleading lexical-binding warning.
12478
7dbe3dbc
CY
124792011-06-04 Chong Yidong <cyd@stupidchicken.com>
12480
12481 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12482 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12483
0c33dd17
MA
124842011-06-04 Michael Albinus <michael.albinus@gmx.de>
12485
12486 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12487 "SunOS 5.10".
12488
f8f91c2b
MA
124892011-06-04 Michael Albinus <michael.albinus@gmx.de>
12490
12491 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12492 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12493 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12494 (tramp-parse-putty):
12495 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12496 (tramp-completion-function-alist-ssh)
12497 (tramp-completion-function-alist-telnet)
12498 (tramp-completion-function-alist-su)
12499 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12500 cookie.
12501
12502 * net/tramp-ftp.el:
12503 * net/tramp-sh.el:
12504 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12505 load "tramp.el" `tramp-set-completion-function'.
12506
e17d9003
SM
125072011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12508
12509 * shell.el: Require and use pcomplete.
12510 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12511 (shell-completion-vars): Set pcomplete-default-completion-function.
12512
6c4cab03
DD
125132011-06-04 Deniz Dogan <deniz@dogan.se>
12514
12515 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12516 `memq' (Bug#8799).
12517
ea9fafe0
SM
125182011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12519
12520 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12521
b3e945d3
JB
125222011-06-02 Juanma Barranquero <lekktu@gmail.com>
12523
12524 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12525 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12526 * vc/log-view.el (log-view-beginning-of-defun):
12527 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12528 (smerge-refine-forward, smerge-refine-chopup-region):
12529 Silence warning for unused `dotimes' counter variables.
12530
7d520089
SM
125312011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 * net/tramp.el (tramp-with-progress-reporter): Rename from
12534 with-progress-reporter. Use `declare'.
12535 * net/tramp-smb.el:
12536 * net/tramp-sh.el:
12537 * net/tramp-gvfs.el: Update all uses.
12538
a1c2400f
JB
125392011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12540
12541 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12542 buffer isn't killed before making it current.
12543
2403c841
SM
125442011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12545
12546 Silence various byte-compiler warnings.
12547 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12548 `access-type' and new obsolescence format.
12549 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12550 new format.
12551 (byte-compile-check-variable): New `access-type' argument.
12552 Only warn if the access-type is obsolete.
12553 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12554 (byte-compile-variable-set): Adjust callers.
12555 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12556 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12557 setting it as obsolete.
12558 * simple.el (minibuffer-completing-symbol):
12559 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12560 access as obsolete.
12561 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12562 obsolete yet.
12563 * international/quail.el (quail-mouse-choose-completion): Remove unused
12564 code referring to obsolete var.
12565 (quail-choose-completion-string): Remove.
12566 * server.el (server-clients-with, server-kill-buffer-query-function)
12567 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12568 * proced.el (proced-send-signal):
12569 * emacs-lisp/lisp.el (lisp-complete-symbol):
12570 Replace completion-annotate-function with completion-extra-properties.
12571
2462470b
SM
125722011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12573
fb5b2591
SM
12574 * simple.el (goto-line): Use read-number.
12575 (overriding-map-is-bound): Remove.
12576 (saved-overriding-map): Change default.
12577 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12578 Take the map as argument.
12579 (universal-argument, negative-argument, digit-argument): Use it.
12580 (restore-overriding-map): Adjust.
12581 (do-auto-fill): Use fill-forward-paragraph.
12582 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12583
fd6fa53f
SM
12584 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12585 (minibuffer-inactive-mode): New major mode.
12586 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12587 the *Messages* buffer" hack.
12588 (mouse-popup-menubar): Don't burp if the event is a normal key.
12589
2462470b
SM
12590 Miscellaneous tweaks.
12591 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12592 lexical scoping as in subr.el's dolist and dotimes.
12593 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12594 Silence compiler warning.
12595 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12596 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12597 * international/ccl.el (ccl-compile): Trivial simplification.
12598 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12599 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12600 `printflag' argument.
12601 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12602 Purecopy the whole obsolescence data.
12603
108bf785
LL
126042011-06-01 Leo Liu <sdl.web@gmail.com>
12605
12606 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12607 improve doc-string as suggested by Marco Pessotto
12608 <melmothx@gmail.com>.
12609 (rcirc-print): Fix last change.
12610
30a23501
SM
126112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12612
12613 * minibuffer.el (complete-with-action): Return nil for the metadata and
12614 boundaries of non-functional tables.
12615 (completion-table-dynamic): Return nil for the metadata.
12616 (completion-table-with-terminator): Add default case, using
12617 complete-with-action.
12618 (completion--metadata): New function.
12619 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12620 to try and avoid pathological performance problems.
12621 (completion--embedded-envvar-table): Return `category' metadata.
12622
bcd54f83
LMI
126232011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12624
12625 * subr.el (process-alive-p): New tiny convenience function.
12626
e227544d
SM
126272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12628
12629 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12630 content but also its previous major mode.
12631
e8296fdc
HE
126322011-05-31 Helmut Eller <eller.helmut@gmail.com>
12633
4d61f28d 12634 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12635 *Backtrace* buffer when we exit with C-M-c.
12636
620c53a6
SM
126372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12638
12639 * minibuffer.el: Add metadata method to completion tables.
12640 (completion-category-overrides): New defcustom.
12641 (completion-metadata, completion--field-metadata)
12642 (completion-metadata-get, completion--styles)
12643 (completion--cycle-threshold): New functions.
12644 (completion-try-completion, completion-all-completions):
12645 Add `metadata' argument to choose completion-styles.
12646 (completion--do-completion): Use metadata to choose cycling.
12647 (completion-all-sorted-completions): Use metadata for sorting.
12648 Remove :completion-cycle-penalty which is not needed any more.
12649 (completion--try-word-completion): Add `metadata' argument.
12650 (minibuffer-completion-help): Check metadata for annotation function
12651 and sorting.
12652 (completion-file-name-table): Return `category' metadata.
12653 (minibuffer-completing-file-name): Make obsolete.
12654 * simple.el (minibuffer-completing-symbol): Make obsolete.
12655 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12656 completion-try-completion.
12657
1257e755
SM
126582011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12661
3767e706
LL
126622011-05-30 Leo Liu <sdl.web@gmail.com>
12663
12664 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12665 (rcirc-print): Decode all incoming messages (bug#8744).
12666 (rcirc-decode-coding-system): Allow value nil for automatic coding
12667 system detection.
3767e706 12668
d1a5d56a
GM
126692011-06-01 Glenn Morris <rgm@gnu.org>
12670
12671 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12672
e8cbec34
CY
126732011-05-29 Chong Yidong <cyd@stupidchicken.com>
12674
12675 * image.el (image-animate-max-time): Allow nil and t values.
12676 Default to nil.
12677 (create-animated-image): Doc fix.
12678 (image-animate-start): Remove second arg; just use
12679 image-animate-max-time.
12680 (image-animate-timeout): Doc fix. Args changed.
12681
12682 * image-mode.el (image-toggle-display-image): Ensure that the
12683 image spec passed to the animate timer is the same object as in
58179cce 12684 the buffer's display property (Bug#6981).
e8cbec34
CY
12685 (image-transform-properties): Doc fix.
12686
12687 * image.el (image-animate-max-time): Default to nil.
12688
159daf87
MR
126892011-05-29 Martin Rudalics <rudalics@gmx.at>
12690
12691 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12692 entire buffer list (Bug#8184).
12693
d66c4c7c
CY
126942011-05-29 Chong Yidong <cyd@stupidchicken.com>
12695
12696 * image.el (imagemagick-types-inhibit)
12697 (imagemagick-register-types): Doc fix.
12698
80aec780
DD
126992011-05-29 Deniz Dogan <deniz@dogan.se>
12700
12701 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12702 default.
12703
1dd3c2d9
CY
127042011-05-29 Chong Yidong <cyd@stupidchicken.com>
12705
12706 * select.el: Don't perform clipboard-manager saving in hooks;
12707 leave the hooks empty.
12708
60e56523
LL
127092011-05-28 Leo Liu <sdl.web@gmail.com>
12710
12711 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12712 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12713 (occur-edit-mode): New major mode (Bug#8463).
12714 (occur-after-change-function): New function.
12715 (occur-engine): Give Occur tags a read-only property.
12716
2b1e1a22
KR
127172011-05-28 Kevin Ryde <user42@zip.com.au>
12718
12719 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12720
5d344e88
CY
127212011-05-28 Chong Yidong <cyd@stupidchicken.com>
12722
8e6ca83d
CY
12723 * bindings.el (help-echo): Make the initial non-indicator dash
12724 empty on graphical terminals (Bug#7295).
12725
5d344e88
CY
12726 * files.el (auto-mode-alist): Move config rule after the
12727 in-stripping one (Bug#8547).
12728
bfbbace7
CY
12729 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12730
fbeba6e2
CY
12731 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12732 setting (Bug#8740).
12733
60ed8c72
AA
127342011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12735
4ac619f0
AA
12736 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12737 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12738 (Bug#8539).
60ed8c72 12739
23db196e
CY
127402011-05-28 Chong Yidong <cyd@stupidchicken.com>
12741
12742 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12743
5012f24c
DK
127442011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12745
12746 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12747 (hs-hide-block-at-point, hs-find-block-beginning)
12748 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12749 (Bug#8279).
12750
6a639b16
GM
127512011-05-28 Glenn Morris <rgm@gnu.org>
12752
12753 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12754
d43eaf2c
CY
127552011-05-28 Chong Yidong <cyd@stupidchicken.com>
12756
5199bde1
CY
12757 * help-fns.el (describe-function-1): If the function is a derived
12758 major mode, print the parent mode.
12759
d43eaf2c
CY
12760 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12761 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12762
423428a8
SM
127632011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12764
0ff8e1ba 12765 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12766 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12767 * progmodes/etags.el (tags-completion-at-point-function):
12768 * info-look.el (info-lookup-completions-at-point): Mark as
12769 non-exclusive.
12770 (info-complete): Adjust accordingly.
12771
423428a8
SM
12772 * info-look.el: Convert to lexical-binding and completion-at-point.
12773 (info-lookup-completions-at-point): New function.
12774 (info-complete): Use it and completion-in-region.
12775
b74aa22b
DA
127762011-05-28 Drew Adams <drew.adams@oracle.com>
12777
12778 * isearch.el: Let M-e start with point at the first mismatched char.
12779 (isearch-fail-pos): New function.
12780 (isearch-edit-string): Use it.
12781
66e2e71d
DK
127822011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12783
12784 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12785
b1890b0f 127862011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12787
12788 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12789 traversal functions for avl-trees.
12790 (avl-tree--stack): New struct.
12791 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12792 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12793 (avl-tree--do-enter): Add optional `updatefun' arg.
12794 Change return value.
eb95d01d 12795 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12796 (avl-tree--do-delete): Add `test' and `nilflag' args.
12797 Change return value.
eb95d01d
TC
12798 (avl-tree-member): Add optional `nilflag'
12799 (avl-tree-member-p): New function.
12800 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12801 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12802 (avl-tree-stack-empty-p): New functions.
12803
3769ddcf
TC
12804 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12805 avl-tree--del-balance1 and make it work both ways.
12806 (avl-tree--del-balance2): Remove.
12807 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12808 make it work both ways.
12809 (avl-tree--enter-balance2): Remove.
12810 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12811 New macros.
12812 (avl-tree--mapc, avl-tree-map): Add direction argument.
12813
eb95d01d 128142011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12815
12816 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12817
a9f737ee
CY
128182011-05-27 Chong Yidong <cyd@stupidchicken.com>
12819
12820 * select.el: Support clipboard managers with built-in function
12821 x-clipboard-manager-save, via delete-frame-functions and
12822 kill-emacs-hook.
12823 (xselect-convert-to-targets): Add MULTIPLE target to list.
12824 (xselect-convert-to-save-targets): New function.
12825
c92a1e54
KH
128262011-05-27 Kenichi Handa <handa@m17n.org>
12827
12828 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12829 let-binding rfc2047-encode-encoded-words to nil.
12830
e145f188
GM
128312011-05-27 Glenn Morris <rgm@gnu.org>
12832
5ec8a862
GM
12833 * mail/emacsbug.el: Don't require url-util.
12834
4b29d9fb
GM
12835 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12836
e145f188
GM
12837 * files.el (set-auto-mode):
12838 Also respect mode: entries at the end of the file. (Bug#8586)
12839
7d15102b
GM
128402011-05-26 Glenn Morris <rgm@gnu.org>
12841
98f593b8
GM
12842 * files.el (hack-local-variables-prop-line, hack-local-variables):
12843 Downcase mode names, as seems to be traditional.
27b48e63 12844 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12845
7d15102b
GM
12846 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12847 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12848
51d5b4ec
JD
128492011-05-25 Julien Danjou <julien@danjou.info>
12850
12851 * textmodes/rst.el (rst-define-level-faces): Do not define face
12852 symbol if it is already defined.
12853
91513f63
VB
128542011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12855
12856 * play/5x5.el (5x5-new-game, 5x5-randomize):
12857 Reset 5x5-solver-output to nil when a new grid is cast.
12858 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12859 these debugging traces, as defmacro breaks the compiled code.
12860
4d90d6d0
DK
128612011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12862
12863 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12864
e1b90ef6
LL
128652011-05-24 Leo Liu <sdl.web@gmail.com>
12866
12867 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12868 (vc-bzr-sha1): Adapt.
12869
d8e4b68b 12870 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12871
12872 * bindings.el: Provide sha1 feature.
12873
db0406bb 128742011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12875
12876 * mail/sendmail.el: Require `rfc2047'.
12877 (mail-insert-from-field): Do not perform RFC2047 encoding.
12878 (mail-encode-header): New function.
12879 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12880 buffer to the return value of select-message-coding-system.
12881 Call mail-encode-header.
b8d747b9
KH
12882
12883 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12884
db0406bb 128852011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12886
4d90d6d0
DK
12887 * mail/supercite.el (sc-default-cite-frame):
12888 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12889
eb8a5e9b
GM
128902011-05-24 Glenn Morris <rgm@gnu.org>
12891
f8630703
GM
12892 * progmodes/python.el (brm-menu): Declare.
12893
8831bbed
GM
12894 * emulation/viper.el (viper-set-hooks): Declare.
12895
eb8a5e9b
GM
12896 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12897 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12898 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12899 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12900 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12901 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12902
a2a25d24
SM
129032011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 Add an :exit-function for completion-at-point.
12906
12907 * minibuffer.el (completion--done): New fun.
12908 (completion--do-completion): Use it. New arg `expect-exact'.
12909 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12910 since completion--do-completion does it for us now.
12911 (minibuffer-force-complete): Use completion--done and
12912 completion--replace. Handle sole-completion case with more care.
12913 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12914 (completion-extra-properties): New var.
12915 (completion-annotate-function): Make obsolete.
12916 (minibuffer-completion-help): Adjust accordingly.
12917 Use completion-list-insert-choice-function.
12918 (completion-at-point, completion-help-at-point):
12919 Bind completion-extra-properties.
12920 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12921 * simple.el (completion-list-insert-choice-function): New var.
12922 (completion-setup-function): Preserve it.
12923 (choose-completion): Pay attention to it, shuffle the code a bit.
12924 (choose-completion-string): New arg `insert-function'.
12925
12926 * textmodes/bibtex.el: Convert to lexical binding.
12927 (bibtex-mode-map): Use completion-at-point.
12928 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12929 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12930 (bibtex-complete): Define as obsolete alias.
12931 (bibtex-complete-internal): Remove.
12932 (bibtex-format-entry): Remove unused sub-group in regexp.
12933 * shell.el (shell--command-completion-data)
12934 (shell-environment-variable-completion):
12935 * pcomplete.el (pcomplete-completions-at-point):
12936 * comint.el (comint--complete-file-name-data): Use :exit-function
12937 instead of completion-table-with-terminator so it also works for
12938 choose-completion.
12939
e44e373d
SM
129402011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12941
4f91a816
SM
12942 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12943
782fc819
SM
12944 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12945 (bug#8710).
12946
e44e373d
SM
12947 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12948
381987c3
KM
129492011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12950
12951 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12952 customization variable and implement: If non-nil, auto-fill will
12953 be inhibited while on topic's header line.
12954
b776bc70
VB
129552011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12956
12957 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12958 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12959 always have a solution in grid size = 5 cases.
12960 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12961 (5x5-solver-output, 5x5-log-buffer): New vars.
12962 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12963 Make these variables buffer local to achieve 5x5 multi-session-ness.
12964 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12965 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12966 (5x5-solve-suggest): New funs.
12967 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12968 randomize a grid so that we ensure that there is always a solution.
12969 (5x5-make-random-grid): Allow other movement than flipping.
12970
7de88b6e
KR
129712011-05-23 Kevin Ryde <user42@zip.com.au>
12972
12973 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12974 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12975 advice and passes PREDICATE.
12976
b1ef1257
SM
129772011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12978
bbca48fe
SM
12979 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12980 byte-compile-lambda if it's actually a lambda.
12981
b1ef1257
SM
12982 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12983 Fix function quoting. Use backquote better.
12984
92a9cc65
YS
129852011-05-22 Yuanle Song <sylecn@gmail.com>
12986
12987 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12988 matching (Bug#8516).
12989
f0fb8059
JA
129902011-01-22 Jari Aalto <jari.aalto@cante.net>
12991
12992 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12993 different face (Bug#8178).
12994
d5b44c93
CY
129952011-05-22 Chong Yidong <cyd@stupidchicken.com>
12996
12997 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12998 defface (Bug#8144).
12999
79106a44
SM
130002011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13001
9c848d8a
SM
13002 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13003 funcall as well (bug#8712). Warn when performing those conversions.
13004 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13005
79106a44
SM
13006 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13007
88dfa756
GM
130082011-05-22 Glenn Morris <rgm@gnu.org>
13009
13010 * files.el (hack-local-variables-prop-line): Small simplifications.
13011 (hack-local-variables, hack-local-variables-prop-line):
13012 If MODE-ONLY, return the mode, rather than just `t'.
13013
b7cf2c79
SM
130142011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13017
3f1a8558
GM
130182011-05-21 Glenn Morris <rgm@gnu.org>
13019
7e4ccca3
GM
13020 * files.el (hack-local-variables-prop-line, hack-local-variables):
13021 If only interested in the mode, don't bother doing the other stuff.
13022
637d46ca
GM
13023 * image-mode.el (image-after-revert-hook):
13024 Redraw all frames on which the image is visible. (Bug#8567)
13025
973d955b
GM
13026 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13027
3f1a8558
GM
13028 * wid-edit.el (widget-checklist-match-inline):
13029 Fix 2011-04-19 change. (Bug#8649)
13030
96479927
SM
130312011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13032
1dcf791f
SM
13033 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13034 Also allow singlespace after single-letter capitals followed by a dot.
13035
96479927
SM
13036 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13037 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13038
35fd0881
N
130392011-05-20 Nix <nix@esperi.org.uk>
13040
13041 * files.el (basic-save-buffer-2):
13042 Fix handling of break-hardlink-on-save with non-existent files.
13043
82745640
DD
130442011-05-19 Deniz Dogan <deniz@dogan.se>
13045
13046 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13047 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13048
4a720484
GM
130492011-05-19 Glenn Morris <rgm@gnu.org>
13050
d1f21341
GM
13051 * progmodes/f90.el (f90-type-def-re):
13052 Handle "type, bind(c)". (Bug#8691)
13053
4a720484
GM
13054 * emacs-lisp/autoload.el (batch-update-autoloads):
13055 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13056
2fb0a219
MA
130572011-05-18 Michael Albinus <michael.albinus@gmx.de>
13058
13059 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13060 property for the correct connection in case of multihops.
13061
e565dd37
GM
130622011-05-18 Glenn Morris <rgm@gnu.org>
13063
c2571358 13064 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13065 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13066
e565dd37
GM
13067 Rationalize calendar handling of day and month abbrev-arrays.
13068 * calendar/calendar.el (calendar-customized-p): New function.
13069 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13070 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13071 Add :set function.
13072 (calendar-abbrev-length, calendar-day-abbrev-array)
13073 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13074 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13075 Elements may no longer be nil.
13076 (calendar-day-name, calendar-month-name):
13077 Update for changed nature of abbrev arrays.
13078 * calendar/diary-lib.el (diary-name-pattern):
13079 Update for changed nature of abbrev arrays.
13080 (diary-mark-entries-1): Update calendar-make-alist calls.
13081 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13082 * calendar/cal-html.el (cal-html-day-abbrev-array):
13083 Simply inherit from calendar-day-abbrev-array.
13084
1d99a745
SM
130852011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 * progmodes/grep.el (grep-mode): Disable default
13088 compilation-directory-matcher setting (bug#8684).
13089
7c1d9aa0
MA
130902011-05-17 Michael Albinus <michael.albinus@gmx.de>
13091
13092 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13093 instead of "head" and "tail". There were problems with SunOS 5.9,
13094 and it performs better.
13095
3952e9d8
GM
130962011-05-17 Glenn Morris <rgm@gnu.org>
13097
2dd12e7f
GM
13098 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13099
e4157b9c
GM
13100 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13101 Replace obsolete function.
13102
8e249bbd
GM
13103 * shell.el (pcomplete-parse-arguments-function): Declare.
13104
3952e9d8
GM
13105 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13106 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13107 (appt-check): Doc fixes.
13108 (appt-disp-window-function, appt-delete-window-function):
13109 Remove needless special case in custom :type.
13110 (appt-display-count): Default to 0, not nil.
13111 (appt-check): Reset appt-display-count to 0, not nil.
13112
c71a0d48 131132011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13114
c71a0d48
GM
13115 * progmodes/python.el (python-font-lock-keywords):
13116 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13117
31d55be9
SM
131182011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13121
3bfacb2f
KR
131222011-05-16 Kevin Ryde <user42@zip.com.au>
13123
13124 * info-look.el (makefile-automake-mode): New setups, looking in
13125 automake manual, then makefile-mode.
13126 (makefile-mode): Remove automake manual, have it just in
13127 makefile-automake-mode since there's various things different or
13128 not relevant to plain make.
13129 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13130 believe a hypothetical automake-mode would go to makefile-mode,
13131 not the other way around.
13132
c8e83751
CY
131332011-05-15 Chong Yidong <cyd@stupidchicken.com>
13134
5e9e35cd
CY
13135 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13136 hunk-end tags (Bug#8672).
13137
c8e83751
CY
13138 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13139 vc-annotate-show-diff-revision-at-line (Bug#8671).
13140
50b23e5a
GM
131412011-05-14 Glenn Morris <rgm@gnu.org>
13142
7210a739
GM
13143 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13144 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13145 (change-log-font-lock-keywords): Also handle multiple author lines
13146 with leading tabs. (Bug#8644)
7210a739 13147
4691905a
GM
13148 * calendar/appt.el (appt-check): Rename some local variables.
13149 Some simplification/reordering.
13150
50b23e5a
GM
13151 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13152 (feedmail-sendmail-f-doesnt-sell-me-out)
13153 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13154 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13155 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13156 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13157 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13158 (feedmail-binmail-gnulinuxish-template):
13159 Rename from feedmail-binmail-linuxish-template.
13160 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13161 Use insert-buffer-substring.
13162
215cda7c
BC
131632011-05-14 Bill Carpenter <bill@carpenter.org>
13164
13165 * mail/feedmail.el (feedmail-patch-level): Increase.
13166 (feedmail-debug): New custom group.
13167 (feedmail-confirm-outgoing-timeout)
13168 (feedmail-sendmail-f-doesnt-sell-me-out)
13169 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13170 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13171 (feedmail-sender-line, feedmail-from-line)
13172 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13173 (feedmail-spray-this-address)
215cda7c
BC
13174 (feedmail-spray-address-fiddle-plex-list)
13175 (feedmail-queue-use-send-time-for-date)
13176 (feedmail-queue-use-send-time-for-message-id)
13177 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13178 (feedmail-buffer-eating-function):
13179 Doc fixes.
13180 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13181 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13182 (feedmail-message-action-scroll-down): New functions.
13183 (feedmail-queue-directory, feedmail-queue-draft-directory):
13184 Use expand-file-name.
13185 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13186 Remove C-v help entry.
13187 (feedmail-queue-buffer-file-name): New variable.
13188 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13189 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13190 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13191 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13192 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13193 (feedmail-message-action-toggle-spray)
13194 (feedmail-run-the-queue-no-prompts)
13195 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13196 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13197 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13198 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13199 (feedmail-envelope-deducer, feedmail-fiddle-from)
13200 (feedmail-fiddle-sender, feedmail-default-date-generator)
13201 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13202 (feedmail-fiddle-spray-address)
13203 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13204 (feedmail-fiddle-list-of-fiddle-plexes)
13205 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13206 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13207 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13208 Change default. Doc fix.
13209 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13210 (feedmail-binmail-linuxish-template): New constant.
13211 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13212 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13213 (feedmail-send-it): Add debug call.
13214 Use feedmail-queue-buffer-file-name, and
13215 feedmail-send-it-immediately-wrapper.
13216 (feedmail-message-action-send): Add debug call.
13217 Use feedmail-send-it-immediately-wrapper.
13218 (feedmail-queue-express-to-queue): Add debug call.
13219 Run feedmail-queue-express-hook.
13220 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13221 (feedmail-message-action-help-blat):
13222 Rename from feedmail-queue-send-edit-prompt-help-first.
13223 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13224 Check line-endings. Handle errors better.
13225 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13226 Doc fix. Add debug call.
13227 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13228 Use feedmail-queue-send-edit-prompt-inner.
13229 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13230 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13231 from feedmail-queue-send-edit-prompt.
13232 (feedmail-queue-send-edit-prompt-help)
13233 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13234 (feedmail-tidy-up-slug): Add debug call.
13235 Respect feedmail-queue-slug-suspect-regexp.
13236 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13237 (feedmail-dump-message-to-queue): Add debug call.
13238 Expand queue-directory.
13239 (feedmail-dump-message-to-queue): Change message slightly.
13240 Use feedmail-say-chatter.
13241 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13242 (feedmail-send-it-immediately-wrapper): New function.
13243 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13244 Insert empty string rather than newline. Handle full-frame case.
13245 Use catch/throw. Use feedmail-say-chatter.
13246 (feedmail-fiddle-from): Try mail-host-address.
13247 (feedmail-default-message-id-generator): Doc fix.
13248 Bind system-time-locale. Handle missing end.
13249 (feedmail-fiddle-x-mailer): Add debug call.
13250 Handle feedmail-x-mailer-line being nil.
13251 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13252 Add debug call. Use buffer-substring-no-properties.
13253 (feedmail-say-debug, feedmail-say-chatter): New functions.
13254 (feedmail-find-eoh): Give an explicit error.
13255
42c7e61e
UJ
132562011-05-13 Ulf Jasper <ulf.jasper@web.de>
13257
c2571358 13258 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13259 family from helvetica to sans.
c2571358 13260 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13261 etc/images/newsticker.
13262
c2571358 13263 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13264 family from helvetica to sans.
13265
13266 * net/newst-plainview.el (newsticker-new-item-face)
13267 (newsticker-old-item-face, newsticker-immortal-item-face)
13268 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13269 (newsticker-statistics-face): Change default family from
42c7e61e 13270 helvetica to sans.
c2571358 13271 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13272 etc/images/newsticker.
13273
5d3385a0
JB
13274 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13275 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13276 auto-marking.
13277
8497a297
DV
132782011-05-13 Didier Verna <didier@xemacs.org>
13279
13280 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13281 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13282 TODO entries.
8497a297
DV
13283 (lisp-lambda-list-keyword-parameter-indentation)
13284 (lisp-lambda-list-keyword-parameter-alignment)
13285 (lisp-lambda-list-keyword-alignment): New customizable user options.
13286 (lisp-indent-defun-method): Improve docstring.
13287 (extended-loop-p): Fix comment.
13288 (lisp-indent-lambda-list-keywords-regexp): New variable.
13289 (lisp-indent-lambda-list): New function.
13290 (lisp-indent-259): Use it.
13291 (lisp-indent-defmethod): Support for more than one
13292 method qualifier and properly indent methods lambda-lists.
13293 (defgeneric): Provide a missing common-lisp-indent-function property.
13294
f278f87f
SM
132952011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13296
13297 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13298 bounds for the empty string (bug#8667).
13299
5233edd7
GM
133002011-05-13 Glenn Morris <rgm@gnu.org>
13301
5237a44f
GM
13302 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13303
8340026c 13304 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13305 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13306
5233edd7 13307 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13308 (appt-time-msg-list): Doc fix.
a5464014 13309 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13310
92d10796
AS
133112011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13312
13313 * progmodes/ld-script.el (ld-script-keywords)
13314 (ld-script-builtins): Update keywords list.
13315
914a0ae1
SM
133162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13317
c89be45f
SM
13318 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13319
914a0ae1
SM
13320 * shell.el (shell-completion-vars): New function.
13321 (shell-mode):
13322 * simple.el (read-shell-command): Use it.
13323 (blink-matching-open): No need for " [...]" in minibuffer-message.
13324
98dc3df3
GM
133252011-05-12 Glenn Morris <rgm@gnu.org>
13326
13327 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13328 (appt-check): Simplify.
13329
d2fc7e3d 133302011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13331
4d61f28d 13332 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13333 literal "/dev/null".
13334
d2fc7e3d 133352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13336
13337 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13338 Fix typo.
13339
d2fc7e3d 133402011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13341
3f254caa
SM
13342 * progmodes/which-func.el (which-function):
13343 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13344 which might not be defined (Bug#8260).
13345
d45885f7
GM
133462011-05-12 Glenn Morris <rgm@gnu.org>
13347
13348 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13349 Let byte-compile-initial-macro-environment always take precedence.
13350
488086f4
SM
133512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 * net/rcirc.el: Add support for SSL/TLS connections.
13354 (rcirc-server-alist): New field `encryption'.
13355 (rcirc): Check `encryption' settings.
13356 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13357 Merge make-local-variable into `set'.
13358 (rcirc--connection-open-p): New function.
13359 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13360 the process is not a network process (e.g. running gnutls-cli).
13361 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13362 Make rcirc-(en|de)code-coding-system local here.
13363 (rcirc-mode): Merge make-local-variable into `set'.
13364 (rcirc-parent-buffer): Make permanent buffer-local.
13365 (rcirc-multiline-minor-mode): Don't do it here.
13366 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13367 there's no server buffer.
13368
7d3b9d44
GM
133692011-05-11 Glenn Morris <rgm@gnu.org>
13370
f64049c6
GM
13371 * newcomment.el (comment-kill): Prefix "unused" local.
13372
93c9df73
GM
13373 * term/w32console.el (get-screen-color): Declare.
13374
7d3b9d44
GM
13375 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13376 Handle symbol elements of byte-compile-initial-macro-environment.
13377
9e2dd53f
LL
133782011-05-10 Leo Liu <sdl.web@gmail.com>
13379
488086f4
SM
13380 * bookmark.el (bookmark-bmenu-mode-map):
13381 Bind bookmark-bmenu-search to `/'.
8b340240 13382
9e2dd53f 13383 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13384 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13385 (Footnote-unicode): New function.
13386 (footnote-style-alist): Add unicode style to the list.
13387 (footnote-style): Doc fix.
9e2dd53f 13388
79b70037
GM
133892011-05-10 Jim Meyering <meyering@redhat.com>
13390
13391 Fix doubled-word typos.
13392 * international/quail.el (quail-insert-kbd-layout): and and -> and
13393 * kermit.el: and and -> and
13394 * net/ldap.el (ldap-search-internal): to to -> to
13395 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13396 * progmodes/js.el (js-mode): and and -> and
13397 * textmodes/artist.el (artist-move-to-xy): at at -> at
13398 (artist-draw-region-trim-line-endings): if if -> if
13399 And Safetyc -> Safety.
13400 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13401
b8f82dc1 134022011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13403 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13404
13405 * files.el (hack-one-local-variable-eval-safep):
13406 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13407
4f99f44b
GM
134082011-05-10 Glenn Morris <rgm@gnu.org>
13409
13410 * calendar/diary-lib.el (diary-list-entries-hook)
13411 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13412 (diary-nongregorian-marking-hook, diary-list-entries)
13413 (diary-include-other-diary-files, diary-mark-entries)
13414 (diary-mark-included-diary-files): Doc fixes.
13415
84f29e6b
JB
134162011-05-09 Juanma Barranquero <lekktu@gmail.com>
13417
13418 * misc.el: Require tabulated-list.el during compilation.
13419
9bedd73a
CY
134202011-05-09 Chong Yidong <cyd@stupidchicken.com>
13421
488086f4
SM
13422 * progmodes/compile.el (compilation-start):
13423 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13424 (compilation-filter-hook): Doc fix.
13425
797c735c
DD
134262011-05-09 Deniz Dogan <deniz@dogan.se>
13427
13428 * wdired.el: Remove outdated installation comment. Fix usage
13429 comment.
13430
5f4b1dfe
JB
134312011-05-09 Juanma Barranquero <lekktu@gmail.com>
13432
13433 * misc.el: Implement new command `list-dynamic-libraries'.
13434 (list-dynamic-libraries--loaded-only-p): New variable.
13435 (list-dynamic-libraries--refresh): New function.
13436 (list-dynamic-libraries): New command.
13437
4c44026c
CY
134382011-05-09 Chong Yidong <cyd@stupidchicken.com>
13439
488086f4
SM
13440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13441 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13442 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13443 higher priority to avoid clobbering by gnu.
13444
027f966d
CY
134452011-05-08 Chong Yidong <cyd@stupidchicken.com>
13446
13447 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13448 if the face has existing theme settings (Bug#8454).
13449
085f5d7d
CY
134502011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13451
488086f4
SM
13452 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13453 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13454
2a86a00c
RS
13455 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13456 special file names `.' and `..' (Bug#8259).
13457
d9c54a06
CY
134582011-05-08 Chong Yidong <cyd@stupidchicken.com>
13459
488086f4
SM
13460 * progmodes/grep.el (grep-mode-font-lock-keywords):
13461 Remove buffer-changing entries.
d9c54a06
CY
13462 (grep-filter): New function.
13463 (grep-mode): Add it to compilation-filter-hook.
13464
13465 * progmodes/compile.el (compilation-filter-hook)
13466 (compilation-filter-start): New defvars.
13467 (compilation-filter): Call compilation-filter-hook prior to
13468 updating the process mark.
13469
c4662635
SM
134702011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13473
b0512a1d
EZ
134742011-05-07 Eli Zaretskii <eliz@gnu.org>
13475
605c9376
EZ
13476 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13477 mailclient-send-it even if window-system is nil. (Bug#8595)
13478
c4662635
SM
13479 * term/w32console.el (terminal-init-w32console):
13480 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13481 background-mode. (Bug#8597)
13482
d1dc2cc2
SM
134832011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13484
13485 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13486 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13487 New functions.
13488 (defgeneric, eieio--defmethod): Use them.
13489 (eieio-defgeneric): Remove.
13490 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13491
915d1300
GM
134922011-05-07 Glenn Morris <rgm@gnu.org>
13493
a3961c3e
GM
13494 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13495 Use let rather than let*.
13496 (timeclock-find-discrep): Remove unused local.
13497
314347b9
GM
13498 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13499
915d1300
GM
13500 * calendar/appt.el (appt-time-msg-list): Doc fix.
13501
275b59b0
NF
135022011-05-06 Noah Friedman <friedman@splode.com>
13503
13504 * apropos.el (apropos-print-doc): Only use
13505 emacs-lisp-docstring-fill-column when it is bound to an integer,
13506 per that variable's documentation.
13507
6c19f744
SM
135082011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13511 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13512
60f884b2
GM
135132011-05-06 Glenn Morris <rgm@gnu.org>
13514
5006e634
GM
13515 * calendar/appt.el (appt-message-warning-time): Doc fix.
13516 (appt-warning-time-regexp): New option.
13517 (appt-make-list): Respect appt-message-warning-time.
13518
548d0a63
GM
13519 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13520 New options.
13521 (diary-add-to-list): Strip comments from the displayed string.
13522 (diary-mode): Set comment-start and comment-end.
13523
60f884b2
GM
13524 * vc/diff-mode.el (smerge-refine-subst): Declare.
13525 (diff-refine-hunk): Don't require smerge-mode when compiling.
13526
989681bb
JB
135272011-05-06 Juanma Barranquero <lekktu@gmail.com>
13528
13529 * simple.el (list-processes): Return nil as the docstring says.
13530
a6bc05e1
MA
135312011-05-05 Michael Albinus <michael.albinus@gmx.de>
13532
13533 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13534 to "".
13535 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13536 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13537 determining of binary transfer. (Bug#7383)
13538
23c22e9a
MA
135392011-05-05 Michael Albinus <michael.albinus@gmx.de>
13540
c4662635
SM
13541 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13542 Fix port computation bug. (Bug#8618)
23c22e9a 13543
0bff894f
GM
135442011-05-05 Glenn Morris <rgm@gnu.org>
13545
b8296902
GM
13546 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13547
1f522ce8
GM
13548 * simple.el (shell-dynamic-complete-functions)
13549 (comint-dynamic-complete-functions): Declare.
13550
cf5bee67
GM
13551 * net/network-stream.el (gnutls-negotiate):
13552 * simple.el (tabulated-list-print): Fix declarations.
13553
13554 * progmodes/gud.el (syntax-symbol, syntax-point):
13555 Remove unnecessary and incorrect declarations.
13556
0bff894f
GM
13557 * emacs-lisp/check-declare.el (check-declare-scan):
13558 Handle byte-compile-initial-macro-environment in bytecomp.el
13559
9869b3ae
SM
135602011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13561
13562 Fix earlier half-done eieio-defmethod change (bug#8338).
13563 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13564 Streamline and change calling convention.
13565 (defmethod): Adjust accordingly and simplify.
13566 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13567 new eieio--defmethod.
13568 (slot-boundp): Minor CSE simplification.
13569
9c1d5ac5
MZ
135702011-05-05 Milan Zamazal <pdm@zamazal.org>
13571
13572 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13573 (glasses-make-readable): Use glasses-separate-capital-groups.
13574
455c834e
JB
135752011-05-05 Juanma Barranquero <lekktu@gmail.com>
13576
13577 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13578 (warning-series): Doc fix.
13579 (display-warning): Don't try to create the buffer if we just found it.
13580
9ed7c8cb
CY
135812011-05-04 Chong Yidong <cyd@stupidchicken.com>
13582
13583 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13584 (autoload-find-generated-file): New function.
13585 (generate-file-autoloads): Bind generated-autoload-file to
13586 buffer-file-name.
9869b3ae
SM
13587 (update-file-autoloads, update-directory-autoloads):
13588 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13589 output file (Bug#7989).
13590 (batch-update-autoloads): Doc fix.
13591
0898ca10
JB
135922011-05-04 Juanma Barranquero <lekktu@gmail.com>
13593
13594 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13595
31dfb76c
GM
135962011-05-04 Glenn Morris <rgm@gnu.org>
13597
f330b642
GM
13598 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13599 function, so it follows changes in calendar-date-style.
13600 (diary-fancy-date-matcher): New function.
13601 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13602 (diary-fancy-font-lock-fontify-region-function):
13603 Use diary-fancy-date-pattern as a function.
13604
31dfb76c
GM
13605 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13606 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13607
48e79d6a
TZ
136082011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13609
13610 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13611 instead of positional arguments. Allow :keylist and :crlfiles
13612 arguments.
13613 (open-gnutls-stream): Call it.
13614
13615 * net/network-stream.el (network-stream-open-starttls): Adjust to
13616 call `gnutls-negotiate' with :process and :hostname arguments.
13617
dd5a5ee0
SM
136182011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13619
ef80fc09
SM
13620 * minibuffer.el (completion--message): New function.
13621 (completion--do-completion, minibuffer-complete)
13622 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13623 (completion--do-completion): Don't ignore completion-auto-help when in
13624 icomplete-mode.
13625
dd5a5ee0
SM
13626 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13627 internal encoding (e.g. tibetan zero is not whitespace).
13628 (global-whitespace-mode): Prefer save-current-buffer.
13629 (whitespace-trailing-regexp): Remove useless save-match-data.
13630 (whitespace-empty-at-bob-regexp): Minor simplification.
13631
b7d22a83
CY
136322011-05-03 Chong Yidong <cyd@stupidchicken.com>
13633
13634 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13635
5192af46
AM
136362011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13637
13638 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13639 Use `concat' to create string for insertion.
5192af46 13640
5767d190
SM
136412011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13642
13643 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13644 Avoid open-line which runs post-self-insert-hook.
13645 (bibtex-fill-entry): Remove unused `end' var.
13646
bf242939
AM
136472011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13648
5767d190
SM
13649 * textmodes/ispell.el (ispell-add-per-file-word-list):
13650 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13651
25666126
LL
136522011-05-03 Leo Liu <sdl.web@gmail.com>
13653
13654 * isearch.el (isearch-yank-pop): New command.
5767d190 13655 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13656 (isearch-forward): Mention it.
13657
52d3c2d0
SM
136582011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13659
1bcace58
SM
13660 * simple.el (minibuffer-complete-shell-command): Remove.
13661 (minibuffer-local-shell-command-map): Use completion-at-point.
13662 (read-shell-command): Setup completion vars here instead.
13663 (read-expression-map): Bind TAB to symbol completion.
13664
52d3c2d0
SM
13665 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13666 error directly rather via storing it into `results'.
13667
35813471
LL
136682011-05-02 Leo Liu <sdl.web@gmail.com>
13669
13670 * vc/diff.el: Fix description.
13671
e793a940
LMI
136722011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13673
13674 * server.el (server-eval-at): New function.
13675
8de66e05
LMI
136762011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13677
13678 * net/network-stream.el (open-network-stream): Take a :nowait
13679 parameter and pass it on to `make-network-process'.
13680 (network-stream-open-plain): Ditto.
13681
dcb79f20
AS
136822011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13683
13684 * faces.el (face-spec-set-match-display): Don't match toolkit
13685 options on terminal frames.
13686
14a7fbd8
SM
136872011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13688
7eabc1be
SM
13689 * progmodes/pascal.el: Use lexical binding.
13690 (pascal-mode-map): Remove author preferences.
13691
14a7fbd8
SM
13692 * pcomplete.el (pcomplete-std-complete): Don't abuse
13693 completion-at-point.
13694
50f84510
JB
136952011-04-28 Juanma Barranquero <lekktu@gmail.com>
13696
6e087a44
JB
13697 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13698 removing code that has been dead since 1991 or so.
13699
50f84510
JB
13700 * startup.el (command-line): When warning about "_emacs", use a
13701 delayed warning to allow the user to filter it out.
13702
0ba690bd
DD
137032011-04-28 Deniz Dogan <deniz@dogan.se>
13704
13705 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13706 user has not joined.
13707
08abfaad
SM
137082011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13709
13710 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13711 aren't any completions at point.
13712
638f053a
JB
137132011-04-28 Juanma Barranquero <lekktu@gmail.com>
13714
13715 * subr.el (display-delayed-warnings): New function.
13716 (delayed-warnings-hook): New variable.
13717
8fff8daa
SM
137182011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13719
08abfaad
SM
13720 * minibuffer.el (completion-at-point, completion-help-at-point):
13721 Don't presume that a given completion-at-point-function will always
13722 use the same calling convention.
13723
8fff8daa
SM
13724 * pcomplete.el (pcomplete-completions-at-point):
13725 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13726 pcomplete-seen is non-nil.
13727 (pcomplete-comint-setup): Also recognize the new comint/shell
13728 completion functions.
13729 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13730 pcomplete-seen is non-nil.
13731
841a1577 137322011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13733
841a1577 13734 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13735 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13736 the first character in the entry. This allows for code to add its
211ec907
UJ
13737 own uid to the entry.
13738 (icalendar--convert-float-to-ical): Add export of
13739 `diary-float'-entries save for those with the optional DAY
13740 argument.
13741
2a782793
DC
137422011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13743
13744 * subr.el (shell-quote-argument): Use alternate escaping strategy
13745 when we spot a variable reference in a string.
13746
0438ce91
DC
137472011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13748
13749 * cus-start.el (all): Define customization for debug-on-event.
13750
841a1577 137512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13752
13753 * subr.el (shell-quote-argument): Escape correctly under Windows.
13754
d090ed6c
SM
137552011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13758
bfd31217
MA
137592011-04-25 Michael Albinus <michael.albinus@gmx.de>
13760
d090ed6c
SM
13761 * net/tramp.el (tramp-process-actions): Add POS argument.
13762 Delete region between POS and (pos).
bfd31217 13763
d090ed6c
SM
13764 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13765 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13766 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13767
13768 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13769 position in `tramp-process-actions' call.
13770
13771 * net/trampver.el: Update release number.
13772
e92f3bd3
SM
137732011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13774
850256b5
SM
13775 * custom.el (defcustom): Obey lexical-binding.
13776
e92f3bd3
SM
13777 Fix octave-inf completion problems reported by Alexander Klimov.
13778 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13779 Inherit from octave-mode-syntax-table.
13780 (inferior-octave-mode): Set info-lookup-mode.
13781 (inferior-octave-completion-at-point): New function.
13782 (inferior-octave-complete): Use it and completion-in-region.
13783 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13784 comint-filename-completion.
13785 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13786 symbol elements which shouldn't be word elements.
13787 (octave-font-lock-keywords, octave-beginning-of-defun)
13788 (octave-function-header-regexp): Adjust regexps accordingly.
13789 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13790
cd22b309
JB
137912011-04-25 Juanma Barranquero <lekktu@gmail.com>
13792
13793 * net/gnutls.el (gnutls-errorp): Declare before first use.
13794
8b492194
TZ
137952011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13796
13797 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13798 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13799 default trustfile exists before going to use it. Add missing
5a5fa834 13800 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13801 Reported by Claudio Bley <claudio.bley@gmail.com>.
13802 (open-gnutls-stream): Add usage example.
13803
13804 * net/network-stream.el (network-stream-open-starttls): Give host
13805 parameter to `gnutls-negotiate'.
13806 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13807 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13808
841a1577 138092011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13810
cd22b309
JB
13811 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13812 Use correct match group (bug#8438).
05842630 13813
3ba7869c
CY
138142011-04-24 Chong Yidong <cyd@stupidchicken.com>
13815
512e3ae1
CY
13816 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13817 (package-menu--generate): New arg specifying packages to show.
13818 (package-menu-refresh, package-menu-execute, list-packages):
13819 Callers changed.
13820 (package-show-package-list): New function, replacing deleted
13821 package--list-packages (renamed because it is non-internal).
13822
13823 * finder.el (finder-list-matches): Use package-show-package-list
13824 instead of deleted package--list-packages.
13825
e92f3bd3
SM
13826 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13827 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13828 (vc-annotate-mode-map): Bind it to RET.
13829
7031be6d
UR
138302011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13831
13832 * progmodes/etags.el (next-file): Don't use set-buffer to change
13833 buffers (Bug#8478).
13834
4ef177aa
CY
138352011-04-24 Chong Yidong <cyd@stupidchicken.com>
13836
c8d173eb
CY
13837 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13838
4ef177aa
CY
13839 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13840 (apropos-accumulator): Doc fix.
13841 (apropos-function, apropos-macro, apropos-command)
13842 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13843 (apropos-plist): Add face property.
13844 (apropos-symbols-internal): Fix indentation.
13845 (apropos-print): Simplify help, and recognize apropos-multi-type.
13846 (apropos-print-doc): Use button-type-get to extract the button's
13847 face property. Fill docstring (Bug#8352).
13848
4ffd0d6b 138492011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13850
13851 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13852
c6c32125 13853 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13854 (mpuz-mode-map): Use mapc.
c6c32125
JB
13855 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13856 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13857 Fix typos in docstrings.
13858
58d468b4
JB
13859 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13860 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13861
6470c3c6
JB
13862 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13863
4ffd0d6b 138642011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13865
13866 * minibuffer.el (completion--do-completion): Avoid the "Next char
13867 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13868
3ad8bad0
CY
13869 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13870 mouse-2 into unread-command-events, it is interpreted correctly.
13871
71d73c9c 13872 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13873 (image-toggle-display): Doc fix.
71d73c9c 13874
841a1577 138752011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13876
4ffd0d6b
GM
13877 * textmodes/page.el (what-page): Use line-number-at-pos to
13878 calculate line number (Bug#6825).
6e1dbaa9 13879
c2fb1b60
JB
138802011-04-22 Juanma Barranquero <lekktu@gmail.com>
13881
13882 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13883 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13884 Pass argument NO-DEFAULT to `find-tag-interactive'.
13885
e02f48d7
JB
138862011-04-22 Juanma Barranquero <lekktu@gmail.com>
13887
13888 Lexical-binding cleanup.
13889
13890 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13891 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13892 * progmodes/ada-prj.el (ada-prj-initialize-values)
13893 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13894 (ada-prj-show-value):
13895 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13896 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13897 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13898 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13899 * progmodes/bug-reference.el (bug-reference-push-button):
13900 * progmodes/fortran.el (fortran-line-length):
13901 * progmodes/glasses.el (glasses-change):
13902 * progmodes/octave-mod.el (octave-fill-paragraph):
13903 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13904 (python-pdbtrack-grub-for-buffer, python-sentinel):
13905 * progmodes/sql.el (sql-save-connection):
13906 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13907 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13908 Mark unused parameters.
13909
13910 * progmodes/compile.el (compilation--flush-directory-cache)
13911 (compilation--flush-parse, compile-internal): Mark unused parameters.
13912 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13913 (compilation-next-error-function): Remove unused variable `timestamp'.
13914
13915 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13916 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13917
13918 * progmodes/dcl-mode.el (dcl-end-of-command):
13919 Remove unused variable `start'.
13920 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13921 (dcl-option-value-basic, dcl-option-value-offset)
13922 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13923 Mark unused parameters.
13924 (dcl-save-local-variable): Remove unused variable `val'.
13925 (mode): Declare.
13926
13927 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13928 Mark unused parameters.
13929 (delphi-ignore-changes): Move before first use.
13930 (delphi-charset-token-at): Remove unused variable `start'.
13931 (delphi-else-start): Remove unused variable `if-count'.
13932 (delphi-comment-block-start, delphi-comment-block-end):
13933 Remove unused variable `kind'.
13934 (delphi-indent-line): Remove unused variable `new-point'.
13935
13936 * progmodes/ebrowse.el (ebrowse-files-list)
13937 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13938 Mark unused parameters. Don't quote `lambda'.
13939 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13940 Don't quote `lambda'.
13941 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13942 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13943 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13944 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13945 Use `ignore-errors'.
13946 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13947 (ebrowse-view/find-file-and-search-pattern)
13948 (ebrowse-view/find-member-declaration/definition):
13949 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13950 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13951 Rename parameter PREFIX-ARG to PREFIX.
13952 (ebrowse-tags-read-name): Remove unused variables `start' and
13953 `member-info'.
13954 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13955 to `tags-file'.
13956
13957 * progmodes/etags.el (local-find-tag-hook): Declare.
13958 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13959 Mark unused parameters.
13960
13961 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13962 (executable-interpret): Mark unused parameter.
13963
13964 * progmodes/flymake.el (flymake-process-sentinel)
13965 (flymake-after-change-function)
13966 (flymake-create-temp-with-folder-structure)
13967 (flymake-get-include-dirs-dot): Mark unused parameters.
13968 (flymake-safe-delete-directory): Remove unused variable `err'.
13969
13970 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13971 (speedbar-timer-fn, speedbar-line-text)
13972 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13973 (speedbar-center-buffer-smartly): Declare functions.
13974 (gdb-find-watch-expression): Remove unused variable `array'.
13975 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13976 (gdb-starting): Mark unused parameters.
13977 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13978 (gdb-table-string): Remove unused variable `res'.
13979 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13980 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13981 (gdb-display-buffer): Remove unused variable `cur-size'.
13982
13983 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13984 allow lexical-binding compilation.
13985 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13986 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13987 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13988 Mark unused parameters.
13989 (gud-gdb-marker-filter): Remove unused variable `match'.
13990 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13991 lambda expressions and funcall them, instead of using `fset'.
13992
13993 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13994 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13995
13996 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13997 variable `header-beg'; use `let'.
13998
13999 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14000 `restart', `last-sexp' and `at-do'.
14001
14002 * progmodes/js.el (js--debug): Mark unused parameter.
14003 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14004 (js--splice-into-items): Remove unused variable `item'.
14005 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14006
14007 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14008 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14009 (makefile-complete): Remove unused variable `try'.
14010 (makefile-fill-paragraph, makefile-match-function-end):
14011 Mark unused parameters.
14012
14013 * progmodes/octave-inf.el (inferior-octave-complete):
14014 Remove unused variable `proc'.
14015 (inferior-octave-output-digest): Mark unused parameter.
14016
14017 * progmodes/perl-mode.el (perl-calculate-indent):
14018 Remove unused variable `err'.
14019
14020 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14021 (prolog-indent-line): Mark unused parameters.
14022 (prolog-indent-line): Remove unused variable `beg'.
14023
14024 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14025 (reporter-dont-compact-list): Declare.
14026
14027 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14028 Remove unused variable `char'.
14029 (sh-debug): Mark unused parameter.
14030 (sh-get-indent-info): Remove unused variable `start'.
14031 (sh-calculate-indent): Remove unused variable `var'.
14032
14033 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14034 (simula-electric-keyword): Remove unused variable `null'.
14035 (simula-search-backward, simula-search-forward): Remove unused
14036 variables `begin' and `end'.
14037
14038 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14039 Remove unused variable `pos'.
14040 (vera-electric-tab, vera-comment-uncomment-region):
14041 Mark unused parameters.
14042 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14043
7ede3b65
CY
140442011-04-22 Chong Yidong <cyd@stupidchicken.com>
14045
14046 * emacs-lisp/package.el (package--builtins, package-alist)
14047 (package-load-descriptor, package-built-in-p, package-activate)
14048 (define-package, package-installed-p)
14049 (package-compute-transaction, package-buffer-info)
14050 (package--push): Doc fix. Distinguish more clearly between
14051 version strings and version lists.
14052
121656e9
JB
140532011-04-21 Juanma Barranquero <lekktu@gmail.com>
14054
14055 Lexical-binding cleanup.
14056
14057 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14058 (5x5-make-mutate-best):
14059 * play/fortune.el (fortune-in-buffer):
14060 * play/gomoku.el (gomoku-init-display):
14061 * play/solitaire.el (solitaire, solitaire-do-check):
14062 * play/tetris.el (tetris-default-update-speed-function):
14063 Mark unused parameters.
14064
14065 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14066 (bubbles--shift): Remove unused variable `char-org'.
14067 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14068 (bubbles--show-images): Remove unused variable `char'.
14069
14070 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14071 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14072 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14073 (decipher-analyze-buffer): Use ?\s.
14074 (decipher-make-checkpoint): Remove unused variable `mapping'.
14075
14076 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14077
14078 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14079 Remove unused variable `result'; use `let'.
14080
14081 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14082 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14083 (gametree-children-shown-p, gametree-compute-reduced-score):
14084 Use `ignore-errors'.
14085
14086 * play/handwrite.el (ps-lpr-switches): Declare.
14087 (handwrite): Remove unused variables `pmin' and `lastp'.
14088
14089 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14090
14091 * play/landmark.el (landmark-init-display)
14092 (landmark-update-naught-weights): Mark unused parameters.
14093 (landmark-y): Remove unused variable `noise'. Simplify.
14094 (landmark-human-plays): Remove unused variable `score'.
14095
14096 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14097 (mpuz-try-proposal): Remove unused variable `game'.
14098
14099 * play/zone.el (life-patterns): Declare.
14100
80f499c7
JB
141012011-04-20 Juanma Barranquero <lekktu@gmail.com>
14102
14103 * vc/vc.el (ediff-vc-internal): Declare function.
14104
024ff170
SM
141052011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14106
c0a193ea
SM
14107 * shell.el: Use lexical-binding and std completion UI.
14108 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14109 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14110 comint-preoutput-filter-functions rather than on
14111 comint-output-filter-functions.
14112 (shell-command-completion, shell--command-completion-data)
14113 (shell-filename-completion, shell-environment-variable-completion)
14114 (shell-c-a-p-replace-by-expanded-directory): New functions.
14115 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14116 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14117 (shell-dynamic-complete-environment-variable): Use them.
14118 (shell-dynamic-complete-as-environment-variable)
14119 (shell-dynamic-complete-as-command): Remove.
14120 (shell-match-partial-variable): Match past point.
14121 * comint.el: Clean up use of completion-at-point-functions.
14122 (comint-completion-at-point): New function.
14123 (comint-mode): Use it completion-at-point-functions.
14124 (comint-dynamic-complete): Make it obsolete.
14125 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14126 (comint-c-a-p-replace-by-expanded-history): New function.
14127 (comint-dynamic-complete-functions)
14128 (comint-replace-by-expanded-history): Use it.
14129 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14130 termination strings. Try harder to avoid second try-completion.
14131 (completion-in-region-mode-map): Disable bindings that don't work yet.
14132
2dbaa080
SM
14133 * comint.el: Use lexical-binding. Require CL.
14134 (comint-dynamic-complete-functions): Use comint-filename-completion.
14135 (comint-completion-addsuffix): Tweak custom type.
14136 (comint-filename-completion, comint--common-suffix)
14137 (comint--common-quoted-suffix, comint--table-subvert)
14138 (comint--complete-file-name-data): New functions.
14139 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14140 (comint-dynamic-list-filename-completions): Use them.
14141 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14142
2dbaa080
SM
14143 * minibuffer.el (completion-in-region-mode):
14144 Keep completion-in-region-mode--predicate global.
14145 (completion-in-region--postch):
14146 Assume completion-in-region-mode--predicate is not null.
14147
c79a6f38
SM
14148 * progmodes/flymake.el (flymake-start-syntax-check-process):
14149 Obey `dir'. Simplify.
14150
024ff170
SM
14151 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14152 we're in VC after all.
14153
1c6c854e
CS
141542011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14155
14156 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14157 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14158 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14159
bed7f140
SM
141602011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14161
332e62ab
SM
14162 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14163 add sanity check.
14164
bed7f140
SM
14165 * obsolete/erc-hecomplete.el: Make obsolete.
14166 * obsolete/: Standardize obsolescence info in the header.
14167
f195c582
GM
141682011-04-20 Glenn Morris <rgm@gnu.org>
14169
14170 * calendar/solar.el (solar-horizontal-coordinates):
14171 Use the longitude argument rather than `calendar-longitude'.
14172 (solar-date-next-longitude): Remove unused locals.
14173
cb79b8c0
VJL
141742011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14175
14176 * whitespace.el: New version 13.2.1.
14177
141782011-04-20 felix <EmacsWiki> (tiny change)
14179
d8e4b68b 14180 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14181 switching between major modes on a file.
14182
602ea69d
SM
141832011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14184
14185 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14186 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14187 multi-line comments as well.
14188
06b60517
JB
141892011-04-19 Juanma Barranquero <lekktu@gmail.com>
14190
14191 Lexical-binding cleanup.
14192
14193 * arc-mode.el (archive-mode-revert):
14194 * cmuscheme.el (scheme-interactively-start-process):
14195 * custom.el (custom-initialize-delay):
14196 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14197 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14198 * emacs-lock.el (emacs-lock-clear-sentinel):
14199 * ezimage.el (defezimage):
14200 * follow.el (follow-avoid-tail-recenter):
14201 * fringe.el (set-fringe-mode-1):
14202 * generic-x.el (bat-generic-mode-compile):
14203 * help-mode.el (help-info-variable, help-do-xref)
14204 (help-mode-revert-buffer):
14205 * help.el (view-emacs-todo):
14206 * iswitchb.el (iswitchb-completion-help):
14207 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14208 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14209 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14210 * locate.el (locate-update):
14211 * longlines.el (longlines-encode-region)
14212 (longlines-after-change-function):
14213 * outline.el (outline-isearch-open-invisible):
14214 * ps-def.el (declare-function, charset-dimension, char-width)
14215 (encode-char):
14216 * ps-mule.el (ps-mule-plot-string):
14217 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14218 (recentf-edit-list-select, recentf-edit-list-validate)
14219 (recentf-open-files-action):
14220 * rect.el (delete-whitespace-rectangle-line)
14221 (rectangle-number-line-callback):
14222 * register.el (window-configuration-to-register)
14223 (frame-configuration-to-register):
14224 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14225 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14226 (xselect-convert-to-targets, xselect-convert-to-delete)
14227 (xselect-convert-to-filename, xselect-convert-to-charpos)
14228 (xselect-convert-to-lineno, xselect-convert-to-colno)
14229 (xselect-convert-to-os, xselect-convert-to-host)
14230 (xselect-convert-to-user, xselect-convert-to-class)
14231 (xselect-convert-to-name, xselect-convert-to-integer)
14232 (xselect-convert-to-atom, xselect-convert-to-identity):
14233 * subr.el (declare, ignore, process-kill-without-query)
14234 (text-clone-maintain):
14235 * terminal.el (te-get-char, te-tic-sentinel):
14236 * tool-bar.el (tool-bar-make-keymap):
14237 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14238 * type-break.el (type-break-mode, type-break-noninteractive-query):
14239 * view.el (View-back-to-mark):
14240 * wid-browse.el (widget-browse-action, widget-browse-widget)
14241 (widget-browse-widgets, widget-browse-sexp):
14242 * widget.el (define-widget-keywords):
14243 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14244 Mark unused parameters.
14245
14246 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14247 (align-areas): Remove unused variable `look'.
14248 (align-region): Remove unused variables `real-end' and `pos-list'.
14249
14250 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14251
14252 * bindings.el (mode-line-modified, mode-line-remote):
14253 Mark unused parameters.
14254 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14255
14256 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14257 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14258
14259 * comint.el (comint-history-isearch-pop-state)
14260 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14261 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14262 (comint-substitute-in-file-name): Doc fix.
14263
14264 * completion.el (cmpl-statistics-block): Mark unused parameter.
14265 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14266 (save-completions-to-file, load-completions-from-file):
14267 Remove unused local variable `e'.
14268
14269 * composite.el (compose-chars): Remove unused variable `len'.
14270 (lgstring-insert-glyph): Remove unused variable `g'.
14271 (compose-glyph-string): Remove unused variables `ascent',
14272 `descent', `lbearing' and `rbearing'.
14273 (compose-glyph-string-relative): Remove unused variables
14274 `lbearing', `rbearing' and `wadjust'.
14275 (compose-gstring-for-graphic): Remove unused variables `header',
14276 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14277 (compose-gstring-for-terminal): Remove unused variables `header'
14278 and `nchars'. Use `let', not `let*'.
14279
14280 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14281 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14282 (Custom-buffer-done, custom-buffer-create-internal)
14283 (custom-browse-visibility-action, custom-browse-group-tag-action)
14284 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14285 (widget-magic-mouse-down-action, custom-toggle-parent)
14286 (custom-add-parent-links, custom-toggle-hide-variable)
14287 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14288 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14289 (custom-face-menu-create, custom-variable-menu-create, get)
14290 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14291 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14292 (customize-apropos): Remove unused variable `tests'.
14293 (custom-group-value-create): Remove unused variable `hidden-p'.
14294 (sort-fold-case): Declare.
14295
14296 * cus-theme.el (custom-reset-standard-faces-list)
14297 (custom-reset-standard-variables-list): Declare.
14298 (customize-create-theme, custom-theme-revert, custom-theme-write)
14299 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14300 Mark unused parameters.
14301
14302 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14303
14304 * delim-col.el (delimit-columns-max): Move defvar before first use.
14305
14306 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14307 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14308
14309 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14310 (auto-insert): Declare.
14311 (desktop-restore-file-buffer): Rename desktop-* parameters;
14312 mark unused ones.
14313 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14314 (desktop-buffer): Rename desktop-* parameters.
14315
14316 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14317 (dframe-reposition-frame-xemacs, dframe-help-echo)
14318 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14319 Mark unused parameters.
14320
14321 * dired-aux.el (backup-extract-version-start, overwrite-query)
14322 (overwrite-backup-query, rename-regexp-query)
14323 (rename-non-directory-query): Declare.
14324 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14325 (dired-add-entry): Remove unused variable `orig-file-name'.
14326 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14327 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14328 `dired-copy-preserve-time' directly.
14329 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14330 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14331
14332 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14333 (dired-virtual-revert, dired-make-relative-symlink):
14334 Mark unused parameters.
14335 (manual-program): Declare.
14336 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14337 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14338 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14339
14340 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14341
14342 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14343
14344 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14345 Declare.
14346
14347 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14348
14349 * electric.el (Electric-command-loop): Rename parameter
14350 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14351
14352 * expand.el (expand-in-literal): Remove unused variable `here'.
14353
14354 * facemenu.el (facemenu-add-new-color):
14355 Remove unused variable `docstring'.
14356
14357 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14358 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14359 (face-attr-construct): Mark unused parameter. Doc fix.
14360 (read-color): Remove unused variable `hex-string'.
14361
14362 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14363 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14364 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14365 (display-buffer-other-frame): Remove unused variable `old-window'.
14366 (kill-buffer-hook): Declare.
14367 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14368 Mark unused parameters.
14369 (after-find-file): Pass 1 to `auto-save-mode', not t.
14370
14371 * files-x.el (auto-insert): Declare.
14372 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14373
14374 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14375 variable `buf'. Mark unused parameter.
06b60517
JB
14376 (find-lisp-insert-directory): Mark unused parameter.
14377
14378 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14379 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14380 (format-common-tail): Remove, unused.
14381 (format-deannotate-region): Remove unused variable `loc'.
14382 (format-annotate-region): Remove unused variable `p'.
14383 (format-annotate-single-property-change): Remove unused variables
14384 `default' and `tail'.
14385
14386 * forms.el (read-file-filter): Declare.
14387 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14388
14389 * frame.el (frame-creation-function-alist): Mark unused parameter.
14390 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14391
14392 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14393 Remove unused parameters.
14394 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14395 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14396
14397 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14398 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14399 (hfy-prepare-tag-map): Mark unused parameters.
14400 (htmlfontify-buffer): Use `called-interactively-p'.
14401
14402 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14403 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14404 (ibuffer-do-occur): Mark unused parameters.
14405 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14406 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14407
14408 * ibuffer.el: Don't quote `lambda'.
14409 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14410 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14411 Mark unused parameters.
14412
14413 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14414 (ido-completing-read): Mark unused parameters.
14415 (ido-copy-current-word): Mark unused parameters;
14416 remove unused variable `name'.
14417 (ido-sort-merged-list): Remove unused parameter `dirs'.
14418
14419 * ielm.el (ielm-input-sender): Mark unused parameter.
14420 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14421 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14422 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14423 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14424 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14425
14426 * image-dired.el (image-dired-display-thumbs): Remove unused
14427 variables `curr-file' and `count'.
14428 (image-dired-remove-tag): Remove unused variable `start'.
14429 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14430 variable `curr-file'
14431 (image-dired-rotate-original): Remove unused variable `temp-file'.
14432 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14433 Remove unused variable `file'.
14434 (image-dired-gallery-generate): Remove unused variable `curr'.
14435 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14436
14437 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14438
14439 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14440
14441 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14442
14443 * isearch.el (minibuffer-history-symbol): Declare.
14444 (isearch-edit-string): Remove unused variable `err'.
14445 (isearch-message-prefix, isearch-message-suffix):
14446 Mark unused parameters.
14447
14448 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14449
14450 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14451
14452 * makesum.el (double-column): Remove unused variable `cnt'.
14453
14454 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14455 (ido-ignore-item-temp-list): Declare.
14456
14457 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14458 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14459 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14460 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14461 `mouse-col-delta'.
14462
14463 * mouse-sel.el (mouse-extend-internal):
14464 Remove unused variable `orig-window-frame'.
14465
14466 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14467 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14468 Move declarations before first use.
14469 (pcomplete-opt): Mark unused parameters; doc fix.
14470
14471 * proced.el (proced-revert): Mark unused parameter.
14472 (proced-send-signal): Remove unused variable `err'.
14473
14474 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14475 Rename parameter PREFIX-ARG to ARG.
14476 (ps-basic-plot-string, ps-basic-plot-whitespace):
14477 Mark unused parameters.
14478
14479 * replace.el (replace-count): Define.
14480 (occur-revert-function): Mark unused parameters.
14481 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14482 (isearch-case-fold-search, isearch-string): Declare.
14483 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14484 bind `case-fold-search'. Remove unused variables `beg' and `end',
14485 and simplify.
14486 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14487 COUNT and bind `replace-count'.
14488 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14489 to COUNT.
14490
14491 * savehist.el (print-readably, print-string-length): Declare.
14492
14493 * shadowfile.el (shadow-expand-cluster-in-file-name):
14494 Remove unused variable `cluster'.
14495 (shadow-copy-file): Remove unused variable `i'.
14496 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14497 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14498 (shadow-define-literal-group, shadow-define-regexp-group)
14499 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14500
14501 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14502 (shell): Use `called-interactively-p'.
14503 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14504
14505 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14506 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14507 (delete-backward-char): Remove unused variable `ocol'.
14508 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14509 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14510 (event-apply-hyper-modifier, event-apply-shift-modifier)
14511 (event-apply-control-modifier, event-apply-meta-modifier):
14512 Mark unused parameters.
14513 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14514 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14515
14516 * speedbar.el (speedbar-ignored-directory-expressions)
14517 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14518 (speedbar-find-file, speedbar-dir-follow)
14519 (speedbar-directory-buttons-follow, speedbar-tag-find)
14520 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14521 (speedbar-buffers-line-directory, speedbar-buffer-click):
14522 Mark unused parameters.
14523 (speedbar-tag-file): Remove unused variable `mode'.
14524 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14525
14526 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14527
14528 * talk.el (talk): Remove unused variable `display'.
14529
14530 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14531 (tar-write-region-annotate): Mark unused parameter.
14532
14533 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14534 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14535 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14536 warning by another.
14537
14538 * time-stamp.el (time-stamp-string-preprocess):
14539 Remove unused variable `require-padding'.
14540
14541 * tree-widget.el (widget-glyph-enable): Declare.
14542 (tree-widget-action): Mark unused parameter.
14543
14544 * w32-fns.el (x-get-selection): Mark unused parameter.
14545 (autoload-make-program, generated-autoload-file): Declare.
14546
14547 * wdired.el (wdired-revert): Mark unused parameters.
14548 (wdired-xcase-word): Remove unused variable `err'.
14549
14550 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14551 (whitespace-help-scroll): Remove unused variable `data-help'.
14552
14553 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14554 (widget-image-insert, widget-after-change, default)
14555 (widget-default-format-handler, widget-default-notify)
14556 (widget-default-prompt-value, widget-info-link-action)
14557 (widget-url-link-action, widget-function-link-action)
14558 (widget-variable-link-action, widget-file-link-action)
14559 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14560 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14561 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14562 (widget-insert-button-action, widget-delete-button-action, visibility)
14563 (widget-documentation-link-action, widget-documentation-string-action)
14564 (widget-const-prompt-value, widget-regexp-match, symbol)
14565 (widget-coding-system-prompt-value)
14566 (widget-key-sequence-value-to-external, sexp)
14567 (widget-sexp-value-to-internal, character, vector, cons)
14568 (widget-choice-prompt-value, widget-boolean-prompt-value)
14569 (widget-color--choose-action): Mark unused parameters.
14570 (widget-item-match-inline, widget-choice-match-inline)
14571 (widget-checklist-match, widget-checklist-match-inline)
14572 (widget-group-match): Rename parameter VALUES to VALS.
14573 (widget-field-value-set): Remove unused variable `size'.
14574 (widget-color-action): Remove unused variables `value' and `start'.
14575
14576 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14577 variable `dir'. Doc fix.
06b60517
JB
14578 (windmove-find-other-window): Don't pass it.
14579
14580 * window.el (count-windows): Mark unused parameter.
14581 (bw-adjust-window): Remove unused variable `err'.
14582
14583 * woman.el (woman-file-name): Remove unused variable `default'.
14584 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14585 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14586 (global-font-lock-mode): Declare.
14587 (woman-decode-region): Mark unused parameter.
14588 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14589
14590 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14591 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14592 (x-dnd-handle-moz-url): Remove unused variable `title'.
14593 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14594
14595 * xml.el (xml-parse-tag, xml-parse-attlist):
14596 Remove unused variable `pos'.
14597
bc4f7f3d
GM
145982011-04-19 Glenn Morris <rgm@gnu.org>
14599
14600 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14601 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14602 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14603 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14604 * calendar/cal-html.el (cal-html-insert-minical):
14605 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14606 (calendar-mark-date-pattern):
14607 Prefix "unused" locals.
14608
14609 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14610 optional argument `style'.
14611
14612 * calendar/appt.el (appt-make-list):
14613 * calendar/cal-china.el (calendar-chinese-date-string):
14614 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14615 (diary-hebrew-yahrzeit):
14616 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14617 * calendar/calendar.el (calendar-generate-window):
14618 * calendar/time-date.el (time-to-days):
14619 Remove unused local variables.
14620
16a43933
CY
146212011-04-18 Chong Yidong <cyd@stupidchicken.com>
14622
14623 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14624 glyphless-char-display table.
14625 (tabulated-list-glyphless-char-display): New var.
14626
7eed1860
SS
146272011-04-18 Sam Steingold <sds@gnu.org>
14628
14629 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14630 to acknowledgments.
14631
4d2d1ccd
GM
146322011-04-17 Glenn Morris <rgm@gnu.org>
14633
14634 * calendar/diary-lib.el (diary-sexp-entry):
14635 * calendar/holidays.el (holiday-sexp):
14636 Set debug-on-error rather than the removed stack-trace-on-error.
14637
239da61d
GM
146382011-04-16 Glenn Morris <rgm@gnu.org>
14639
14640 * progmodes/f90.el: Use lexical-binding.
14641 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14642
8b05752a
SM
146432011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14644
daca8ba5
SM
14645 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14646 (mail-mode): Setup mailalias completion here instead.
14647 * mail/mailalias.el: Use lexical-binding.
14648 (pattern, mailalias-done): Declare dynamic.
14649 (mail-completion-at-point-function): New function, from mail-complete.
14650 (mail-complete): Use it.
14651 (mail-completion-expand): New function.
14652 (mail-get-names): Use it.
14653 (mail-directory, mail-directory-process, mail-directory-stream):
14654 Don't use `pattern' for lexically bound arg.
14655
6f542485
SM
14656 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14657
037e7c3f
SM
14658 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14659 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14660 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14661
8b05752a
SM
14662 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14663 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14664 (byte-interactive-p): Define them again, for use when inlining
14665 old code.
14666
49093f60
JB
146672011-04-15 Juanma Barranquero <lekktu@gmail.com>
14668
14669 * loadup.el: Use `string-to-number', not `string-to-int'.
14670
b5b8e7de
SM
146712011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14672
14673 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14674 gud-gdb-complete-command.
14675 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14676 (gud-gdb-completion-at-point): New function.
14677 (gud-gdb-completions): Remove.
14678
f42efeb5
MA
146792011-04-14 Michael Albinus <michael.albinus@gmx.de>
14680
49093f60
JB
14681 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14682 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14683 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14684 whether `executable-find' is bound.
f42efeb5
MA
14685
14686 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14687
e240cc21
SM
146882011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14689
14690 * minibuffer.el (completion-in-region-mode-predicate)
14691 (completion-in-region-mode--predicate): New vars.
14692 (completion-in-region, completion-in-region--postch)
14693 (completion-in-region-mode): Use them.
14694 (completion--capf-wrapper): Also return the hook function.
14695 (completion-at-point, completion-help-at-point):
14696 Adjust and provide a predicate.
c2bd2ab0
SM
14697
14698 Preserve arg names for advice of subr and lexical functions (bug#8457).
14699 * help-fns.el (help-function-arglist): Consolidate the subr and
14700 new-byte-code cases. Add argument `preserve-names' to extract names
14701 from the docstring when needed.
14702 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14703 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14704 (ad-arglist): Use help-function-arglist's new arg.
14705 (ad-definition-type): Use cond.
14706
c183f693
JB
147072011-04-13 Juanma Barranquero <lekktu@gmail.com>
14708
06641a47
JB
14709 * autorevert.el (auto-revert-handler):
14710 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14711 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14712 Don't quote lambda.
14713
c183f693
JB
14714 * image-mode.el (image-transform-set-scale):
14715 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14716
1e3b6001
G
147172011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14718
14719 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14720 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14721 Upgrades via gnutls-cli are too slow to be done opportunistically.
14722
2d6af8dd
JB
147232011-04-12 Juanma Barranquero <lekktu@gmail.com>
14724
14725 * dframe.el (dframe-current-frame): Remove spurious quote.
14726
c0749a51
GM
147272011-04-12 Glenn Morris <rgm@gnu.org>
14728
088d0d61
GM
14729 * calendar/cal-tex.el (cal-tex-end-document):
14730 Try to automatically use latin1 input if needed.
14731
c0749a51
GM
14732 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14733 Don't try to cons a mark onto an empty element.
14734
5c90fde0
LL
147352011-04-11 Leo Liu <sdl.web@gmail.com>
14736
14737 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14738 buffers.
14739 (ido-kill-buffer-at-head): Support killing virtual buffers.
14740
369e974d
CY
147412011-04-10 Chong Yidong <cyd@stupidchicken.com>
14742
14743 * minibuffer.el (completion-show-inline-help): New var.
14744 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14745 (minibuffer-force-complete, minibuffer-complete-word):
14746 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14747
14748 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14749 to avoid interference from inline help (Bug#5849).
14750
37f1c930
LL
147512011-04-10 Leo Liu <sdl.web@gmail.com>
14752
099c39a4
JB
14753 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14754 Fix typo.
37f1c930 14755
a32d4040
CY
147562011-04-09 Chong Yidong <cyd@stupidchicken.com>
14757
14758 * image-mode.el (image-toggle-display-image): Signal an error if
14759 not in Image mode.
14760 (image-transform-mode, image-transform-resize)
14761 (image-transform-set-rotation): Doc fix.
daca8ba5 14762 (image-transform-set-resize): Delete.
a32d4040
CY
14763 (image-transform-set-scale, image-transform-fit-to-height)
14764 (image-transform-fit-to-width): Handle image-toggle-display-image
14765 and image-transform-resize directly.
14766
099c39a4 147672011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14768
14769 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14770 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14771 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14772 (doc-view-mode-map): Add bindings for the new functions.
14773
099c39a4 147742011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14775
4d61f28d 14776 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14777 Fix typo in docstring.
14778
3726838a
EZ
147792011-04-08 Eli Zaretskii <eliz@gnu.org>
14780
04f33f1e
EZ
14781 * files.el (file-size-human-readable): Produce one digit after
14782 decimal, like "ls -lh" does.
14783
14784 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14785 the file size representation.
14786
3726838a
EZ
14787 * simple.el (list-processes): If async subprocesses are not
14788 available, error out with a clear error message.
14789
cbb59342
CY
147902011-04-08 Chong Yidong <cyd@stupidchicken.com>
14791
14792 * help.el (help-form-show): New function, to be called from C.
14793 Put help-form output in a buffer named differently than *Help*.
14794
e3971c44
EZ
147952011-04-08 Eli Zaretskii <eliz@gnu.org>
14796
14797 * files.el (file-size-human-readable): New function.
14798
14799 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14800 computing the representation inline. Don't require `cl'.
14801
12544bbe
GM
148022011-04-08 Glenn Morris <rgm@gnu.org>
14803
a1de6c6a
GM
14804 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14805
3c4671f4
GM
14806 * net/browse-url.el (browse-url-firefox):
14807 Test system-type, not system-configuration.
14808
b605679c
GM
14809 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14810 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14811 Use log-edit-empty-buffer-p. (Bug#7598)
14812
56442f0c
GM
14813 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14814 (rlogin-mode-map): Initialize in the defvar.
14815 (rlogin): Use ignore-errors.
14816
12544bbe
GM
14817 * replace.el (occur-mode-map): Some fixes for menu items.
14818
eb237b0f
AH
148192011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14820
14821 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14822
7d668f2c
CY
148232011-04-06 Chong Yidong <cyd@stupidchicken.com>
14824
e67a13ab
CY
14825 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14826 issuing unused warnings.
14827
14828 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14829 macro directly.
14830
7d668f2c
CY
14831 * simple.el: Lisp reimplement of list-processes. Based on an
14832 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14833 (process-menu-mode): New major mode.
14834 (list-processes--refresh, list-processes):
14835 (process-menu-visit-buffer): New functions.
14836
14837 * files.el (save-buffers-kill-emacs): Don't assume any return
14838 value of list-processes, which is undocumented anyway.
14839
a83ec3c9
CY
148402011-04-06 Chong Yidong <cyd@stupidchicken.com>
14841
14842 * emacs-lisp/tabulated-list.el: New file.
14843
e91a96fe
CY
14844 * emacs-lisp/package.el: Use Tabulated List mode.
14845 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14846 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14847 table format using Tabulated List mode variables.
14848 (package--push): New macro, replacing package-list-maybe-add.
14849 (package-menu--generate): Use package--push. Renamed from
14850 package--generate-package-list.
14851 (package-menu-refresh, list-packages): Use it.
daca8ba5 14852 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14853 Return insertion data instead of inserting it directly.
099c39a4
JB
14854 (package-menu-describe-package, package-menu-execute):
14855 Use tabulated-list-get-id.
e91a96fe
CY
14856 (package-menu-mark-delete, package-menu-mark-install)
14857 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14858 (package-menu-mark-obsolete-for-deletion):
14859 Use tabulated-list-put-tag.
e91a96fe
CY
14860 (package--list-packages, package-menu-revert)
14861 (package-menu-get-package, package-menu-get-version)
14862 (package-menu-sort-by-column): Functions deleted.
14863 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14864 (package-menu--status-predicate, package-menu--version-predicate)
14865 (package-menu--name-predicate)
14866 (package-menu--description-predicate): Handle arguments in the
14867 Tabulated List format.
14868 (package-list-packages-no-fetch): Call list-packages.
14869
3e214b50
JB
148702011-04-06 Juanma Barranquero <lekktu@gmail.com>
14871
14872 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14873 (after-find-file): Don't bind it.
3e214b50
JB
14874 (revert-buffer-in-progress-p): New variable.
14875 (revert-buffer): Bind it.
14876 Pass nil for `after-find-file-from-revert-buffer'.
14877
14878 * saveplace.el (save-place-find-file-hook): Use new variable
14879 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14880
3f0f1700
GM
148812011-04-06 Glenn Morris <rgm@gnu.org>
14882
c0274801
GM
14883 * Makefile.in (AUTOGEN_VCS): New variable.
14884 (autoloads): Use $AUTOGEN_VCS.
14885
3f0f1700
GM
14886 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14887 * calendar/calendar.el (calendar-mode-map):
14888 Check for toolkit scroll bars. (Bug#8305)
14889
41ea9e48
CY
148902011-04-05 Chong Yidong <cyd@stupidchicken.com>
14891
14892 * minibuffer.el (completion-in-region--postch)
14893 (completion-in-region-mode): Remove unnecessary messages.
14894
6194c800
JB
148952011-04-05 Juanma Barranquero <lekktu@gmail.com>
14896
33256f14
JB
14897 * font-lock.el (font-lock-refresh-defaults):
14898 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14899 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14900
6194c800
JB
14901 * info.el (Info-directory-list, Info-read-node-name-2)
14902 (Info-split-parameter-string): Doc fixes.
14903 (Info-virtual-nodes): Reflow docstring.
14904 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14905 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14906 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14907 Fix typos in docstrings.
14908 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14909 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14910 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14911 (Info-restore-desktop-buffer): Mark unused parameters.
14912 (Info-directory-find-file, Info-directory-find-node)
14913 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14914 (Info-virtual-index-find-node, Info-apropos-find-file)
14915 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14916 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14917 (Info-virtual-index): Remove unused local variable `nodename'.
14918
b87a8200 149192011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14920
b87a8200
DD
14921 * net/rcirc.el: Update my e-mail address.
14922 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14923
3b2ff876
CY
149242011-04-05 Chong Yidong <cyd@stupidchicken.com>
14925
14926 * startup.el (command-line): Save the cursor's theme-face
14927 directly, instead of using face-override-spec.
14928
14929 * custom.el (load-theme): Minor optimization in assigning faces.
14930
8d17e7ca
JB
149312011-04-04 Juanma Barranquero <lekktu@gmail.com>
14932
14933 * help-fns.el (describe-variable): Complete all variables having
14934 documentation, including keywords.
14935 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14936
2fbc1934
JB
149372011-04-04 Juanma Barranquero <lekktu@gmail.com>
14938
14939 Convert to lexical-binding.
14940
14941 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14942 (bs--get-marked-string, bs--get-modified-string)
14943 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14944 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14945 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14946
14947 * ehelp.el (electric-help-execute-extended)
14948 (electric-help-ctrl-x-prefix):
14949 * hexl.el (hexl-revert-buffer-function):
14950 * linum.el (linum-after-change, linum-after-scroll):
14951 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14952
14953 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14954
74f50695
DU
149552011-04-04 Daiki Ueno <ueno@unixuser.org>
14956
14957 * epa-dired.el:
14958 * epa-mail.el:
14959 * epa-hook.el:
14960 * epa-file.el:
14961 * epa.el:
14962 * epg.el: Use lexical binding.
14963
c11325f7
CY
149642011-04-03 Chong Yidong <cyd@stupidchicken.com>
14965
0d9e9a12
CY
14966 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14967
c11325f7 14968 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14969 dictionary case for flyspell-mark-duplications-exceptions.
14970 Use regexp matching for languages.
c11325f7
CY
14971 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14972 default dictionary (Bug#7926).
14973
da91b5f2
CY
149742011-04-02 Chong Yidong <cyd@stupidchicken.com>
14975
099c39a4
JB
14976 * emacs-lisp/package.el (package--with-work-buffer):
14977 Recognize https URLs.
da91b5f2 14978
099c39a4
JB
14979 * net/network-stream.el: Move from gnus/proto-stream.el.
14980 Change prefix to network-stream throughout.
da91b5f2
CY
14981 (open-protocol-stream): Merge into open-network-stream, leaving
14982 open-protocol-stream as an alias. Handle nil BUFFER args.
14983
14984 * subr.el (open-network-stream): Move to net/network-stream.el.
14985
afa8e9f6
GM
149862011-04-02 Glenn Morris <rgm@gnu.org>
14987
1d2e369d
GM
14988 * find-dired.el (find-exec-terminator): New option.
14989 (find-ls-option): Test for -ls support.
14990 (find-ls-subdir-switches): Test for -b in find-ls-option.
14991 (find-dired, find-grep-dired): Doc fixes.
14992 (find-dired): Use find-exec-terminator.
14993
8abb7da8 14994 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14995 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14996 (find-name-arg): Remove purecopy.
8abb7da8 14997
f3ca7378
GM
14998 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14999 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15000 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15001 accordingly. Don't add the null-device if not needed.
15002
afa8e9f6
GM
15003 * files.el (save-some-buffers): Doc fix.
15004
35eae264
EZ
150052011-04-02 Eli Zaretskii <eliz@gnu.org>
15006
15007 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15008
26b51db5
JB
150092011-04-01 Juanma Barranquero <lekktu@gmail.com>
15010
15011 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15012 Use `dolist' rather than `mapcar'.
15013
7200d79c
SM
150142011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15015
03408648 15016 Add lexical binding.
7200d79c 15017
03408648
SM
15018 * subr.el (apply-partially): Use new closures rather than CL.
15019 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15020 (dolist, dotimes): Use slightly different expansion for lexical code.
15021 (functionp): Move to C.
15022 (letrec): New macro.
15023 (with-wrapper-hook): Use it and apply-partially instead of CL.
15024 (eval-after-load): Preserve lexical-binding.
15025 (save-window-excursion, with-output-to-temp-buffer): Turn them
15026 into macros.
7200d79c 15027
03408648
SM
15028 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15029
15030 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15031 than the arglist.
15032 (help-add-fundoc-usage): Don't add `Not documented'.
15033 (help-function-arglist): Handle closures, subroutines, and new
15034 byte-code-functions.
15035 (help-make-usage): Remove leading underscores.
15036 (describe-function-1): Handle closures.
15037 (describe-variable): Use special-variable-p for completion.
15038
15039 * files.el (lexical-binding): Declare safe.
f488fb65 15040
03408648
SM
15041 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15042 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15043 (pcase): Add `let' pattern.
15044 Change memoization so it actually works.
15045 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15046 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15047 <let>: New case.
f488fb65 15048
03408648
SM
15049 * emacs-lisp/macroexp.el: Use lexical binding.
15050 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15051 Don't convert ' to #' without checking that it's indeed quoting
15052 a lambda.
15053
15054 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15055 Use eval-sexp-add-defvars.
03408648
SM
15056 (eval-sexp-add-defvars): New fun.
15057
15058 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15059
15060 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15061 Don't autoload.
15062 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15063 than the internal `byte-compile-lambda'.
15064 (defmethod): Don't hide code under quotes.
15065 (eieio-defmethod): New `code' argument.
15066
15067 * emacs-lisp/eieio-comp.el: Remove.
15068
15069 * emacs-lisp/edebug.el (edebug-eval-defun)
15070 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15071 (edebug-toggle): Avoid `eval'.
15072
15073 * emacs-lisp/disass.el (disassemble-internal): Handle new
15074 `closure' objects.
15075 (disassemble-1): Handle new byte codes.
15076
15077 * emacs-lisp/cl.el (pushnew): Silence warning.
15078
15079 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15080 (cl-byte-compile-throw): Remove.
15081 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15082
15083 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15084 closures.
15085
15086 * emacs-lisp/cconv.el: New file.
15087
15088 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15089 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15090 (byte-compile-initial-macro-environment):
15091 Handle declare-function here.
15092 (byte-compile--lexical-environment): New var.
15093 (byte-stack-ref, byte-stack-set, byte-discardN)
15094 (byte-discardN-preserve-tos): New lap codes.
15095 (byte-interactive-p): Don't use any more.
15096 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15097 New macros.
15098 (byte-compile-lapcode): Use them and handle new lap codes.
15099 (byte-compile-obsolete): Remove.
15100 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15101 (byte-compile-arglist-warn): Check late def of inlinable funs.
15102 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15103 since they should have been expanded by now.
15104 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15105 (byte-compile-from-buffer): Remove unused second arg.
15106 (byte-compile-preprocess): New function.
15107 (byte-compile-toplevel-file-form): New function to distinguish
15108 file-form calls from outside from file-form calls from hunk-handlers.
15109 (byte-compile-file-form): Simplify.
15110 (byte-compile-file-form-defsubst): Remove.
15111 (byte-compile-file-form-defmumble): Simplify now that
15112 byte-compile-lambda always returns a byte-code-function.
15113 (byte-compile): Preprocess.
15114 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15115 Remove, not used any more.
15116 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15117 (byte-compile-make-args-desc): New funs.
15118 (byte-compile-lambda): Handle lexical functions. Always return
15119 a byte-code-function.
15120 (byte-compile-reserved-constants): New var, to make up room for
15121 closed-over variables.
15122 (byte-compile-constants-vector): Obey it.
15123 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15124 (byte-compile-macroexpand-declare-function): New function.
15125 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15126 byte-code-functions.
15127 (byte-compile-form): Check obsolescence here.
15128 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15129 (byte-compile-variable-ref): Remove.
15130 (byte-compile-dynamic-variable-op): New fun.
15131 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15132 (byte-compile-variable-set): New funs.
15133 (byte-compile-discard): Add 2 args.
15134 (byte-compile-stack-ref, byte-compile-stack-set)
15135 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15136 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15137 macroexpand-all instead.
15138 (byte-compile-quote-form): Remove.
15139 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15140 (byte-compile-bind, byte-compile-unbind): New funs.
15141 (byte-compile-let): Handle let* and lexical binding.
15142 (byte-compile-let*): Remove.
15143 (byte-compile-catch, byte-compile-unwind-protect)
15144 (byte-compile-track-mouse, byte-compile-condition-case):
15145 Handle a new :fun-body form, used for lexical scoping.
15146 (byte-compile-save-window-excursion)
15147 (byte-compile-with-output-to-temp-buffer): Remove.
15148 (byte-compile-defun): Simplify.
15149 (byte-compile-stack-adjustment): New fun.
15150 (byte-compile-out): Use it.
15151 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15152
15153 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15154 handler any more.
15155
15156 * emacs-lisp/byte-opt.el: Use lexical binding.
15157 (byte-inline-lapcode): Remove (to bytecomp).
15158 (byte-compile-inline-expand): Pay attention to inlining to/from
15159 lexically bound code.
15160 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15161 any more.
15162 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15163 any more and don't call compiler-macros.
15164 (byte-compile-splice-in-already-compiled-code): Remove.
15165 (byte-code): Don't inline any more.
15166 (disassemble-offset): Receive `bytes' as argument rather than via
15167 dynamic scoping.
15168 (byte-compile-tag-number): Declare before first use.
15169 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15170 `return' even if make-spliceable.
15171 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15172 obsolete interactive-p.
15173 (byte-optimize-lapcode): Optimize new lap-codes.
15174 Don't trip up on new form of `byte-constant' lap code.
15175
15176 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15177
15178 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15179
15180 * custom.el (custom-initialize-default, custom-declare-variable):
15181 Use `defvar'.
15182
15183 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15184 New variables.
15185 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15186 (COMPILE_FIRST): Add macroexp and cconv.
15187 * makefile.w32-in: Mirror changes in Makefile.in.
15188
15189 * vc/cvs-status.el:
15190 * vc/diff-mode.el:
15191 * vc/log-edit.el:
15192 * vc/log-view.el:
15193 * vc/smerge-mode.el:
15194 * textmodes/bibtex-style.el:
15195 * textmodes/css.el:
15196 * startup.el:
15197 * uniquify.el:
da91b5f2
CY
15198 * minibuffer.el:
15199 * newcomment.el:
15200 * reveal.el:
15201 * server.el:
15202 * mpc.el:
15203 * emacs-lisp/smie.el:
15204 * doc-view.el:
15205 * dired.el:
03408648
SM
15206 * abbrev.el: Use lexical binding.
15207
0f0c1f27
EZ
152082011-04-01 Eli Zaretskii <eliz@gnu.org>
15209
15210 * info.el (info-display-manual): New function.
15211
c82b2579
SM
152122011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15213
15214 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15215
221ddf68
TH
152162011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15217
15218 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15219 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15220
cba6e77e
GM
152212011-03-31 Glenn Morris <rgm@gnu.org>
15222
e040639f
GM
15223 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15224
cba6e77e
GM
15225 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15226
6d0f1c9e
CS
152272011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15228
15229 * progmodes/python.el (python-default-interpreter)
15230 (python-python-command-args, python-jython-command-args)
15231 (python-which-shell, python-which-args, python-which-bufname)
15232 (python-file-queue, python-comint-output-filter-function)
15233 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15234 variables and functions.
15235
3e2d70fd
SM
152362011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15237
15238 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15239 (completion-in-region-mode): New minor mode.
15240 (completion-in-region): Use it.
15241 (completion-in-region--data, completion-in-region-mode-map): New vars.
15242 (completion-in-region--postch): New function.
15243 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15244 New vars.
15245 (completion--capf-wrapper): New function.
15246 (completion-at-point): Use it to track well-behavedness of
15247 hook functions.
15248 (completion-help-at-point): New command.
15249
f3e4086c
JM
152502011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15251
15252 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15253 syntax class to search for whitespace on a single line
15254 (Message-ID: <4D938140.4030905@redhat.com>).
15255
eb7ffc14
LL
152562011-03-30 Leo Liu <sdl.web@gmail.com>
15257
15258 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15259 New commands.
15260 (edit-abbrevs-map): Bind them here.
15261 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15262
d806ab68
KM
152632011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15264
15265 * allout.el (allout-hide-by-annotation, allout-flag-region):
15266 Reduce possibility of overlay leakage by making them volatile.
15267
15268 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15269 hash is not shared between buffers. Mode initialization is
15270 responsible for giving it a useful starting value.
15271 (allout-item-span): Reduce possibility of overlay leakage by
15272 making them volatile.
15273 (allout-widgets-count-buttons-in-region): Add diagnostic function
15274 for tracking down button overlay leaks.
15275
ea622834
LL
152762011-03-29 Leo Liu <sdl.web@gmail.com>
15277
15278 * ido.el (ido-read-internal): Use the default history var
15279 minibuffer-history if no HISTORY is specified.
15280
b62f8267
G
152812011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15282
03408648
SM
15283 * net/imap.el (imap-shell-open, imap-process-connection-type):
15284 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15285 Kerberos, SSL, other subprocesses.
15286
947b6566
LL
152872011-03-28 Leo Liu <sdl.web@gmail.com>
15288
15289 * abbrev.el (abbrev-table-empty-p): New function.
15290 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15291 nonempty ones. (Bug#5937)
15292
5ffb62aa
JD
152932011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15294
15295 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15296
7a097943
LL
152972011-03-27 Leo Liu <sdl.web@gmail.com>
15298
15299 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15300 for foreground and background colors.
15301 (ansi-color-make-color-map): Adapt.
15302
c5b40130
LL
153032011-03-25 Leo Liu <sdl.web@gmail.com>
15304
1f48f7d2
LL
15305 * midnight.el (midnight-time-float): Remove. Note it calculates
15306 the microsecond component incorrectly and seconds-to-time does the
15307 same job.
625897ec 15308 Remove redundant (require 'timer).
1f48f7d2 15309
c5b40130
LL
15310 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15311 (ido-completions): Remove unused arguments. (Bug#8329)
15312
d86d2721
SM
153132011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15314
15315 * minibuffer.el (completion--flush-all-sorted-completions):
15316 Remove itself from hook.
15317 (completion-at-point): Let the functions perform the completion
15318 immediately and return nil or t.
15319 * comint.el (comint-dynamic-complete-functions): Now identical to
15320 completion-at-point-functions.
15321 (comint-dynamic-list-input-ring): Remove unused var `index'.
15322 (comint--match-partial-filename, comint--unquote&expand-filename):
15323 New funs, split from comint-match-partial-filename.
15324 (comint-dynamic-complete): Use completion-at-point.
15325 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15326
e8974c48
DA
153272011-03-24 Drew Adams <drew.adams@oracle.com>
15328
15329 * thingatpt.el: Support `defun'.
15330
def71b5e
LL
153312011-03-23 Leo Liu <sdl.web@gmail.com>
15332
cb5af48e
LL
15333 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15334
def71b5e
LL
15335 * help-mode.el (help-mode-finish): Tweak regexp.
15336
927c53e7
GM
153372011-03-23 Glenn Morris <rgm@gnu.org>
15338
18d05bed
GM
15339 * eshell/esh-opt.el (eshell-eval-using-options):
15340 Do not bind unused local variable `eshell-option-stub'.
15341
927c53e7
GM
15342 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15343
9d0da923
JB
153442011-03-22 Juanma Barranquero <lekktu@gmail.com>
15345
15346 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15347 keymap variable in `with-no-warnings' to avoid a warning when the
15348 keymap has been already `defconst'ed.
15349
4b978a67
LL
153502011-03-22 Leo Liu <sdl.web@gmail.com>
15351
15352 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15353 encode all chars in abbrevs; otherwise use emacs-mule or
15354 utf-8-emacs. (Bug#8308)
15355
5fd62452
JB
153562011-03-22 Juanma Barranquero <lekktu@gmail.com>
15357
0b1596c6
JB
15358 * simple.el (backward-delete-char-untabify):
15359 Avoid warning about using `delete-backward-char'.
15360
5fd62452
JB
15361 * image.el (image-type-file-name-regexps): Make it variable.
15362 `imagemagick-register-types' modifies it, and the user may want
15363 to add new extensions for known image types.
15364 (imagemagick-register-types): Throw error if not using ImageMagick.
15365
0b4e93f1
LL
153662011-03-22 Leo Liu <sdl.web@gmail.com>
15367
15368 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15369 located before rcirc-prompt-end-marker.
15370 (rcirc-complete): Error if point is not after rcirc prompt.
15371 Handle the case when table is nil.
9882e214 15372 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15373
fccee4ab
CY
153742011-03-22 Chong Yidong <cyd@stupidchicken.com>
15375
15376 * custom.el (custom--inhibit-theme-enable): Make it affect only
15377 custom-theme-set-variables and custom-theme-set-faces.
15378 (provide-theme): Ignore custom--inhibit-theme-enable.
15379 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15380 (custom-enabling-themes): Delete variable.
d86d2721
SM
15381 (enable-theme): Accept only loaded themes as arguments.
15382 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15383 (custom-enabled-themes): Forbid themes from setting this.
15384 Eliminate use of custom-enabling-themes.
15385 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15386
af896da6
LL
153872011-03-21 Leo Liu <sdl.web@gmail.com>
15388
15389 * ido.el (ido-read-internal): Add ido-selected to history instead
15390 of user input.
15391
78f64af0
SM
153922011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15393
15394 * subr.el (deferred-action-list, deferred-action-function):
15395 Mark obsolete.
15396
b16ac1ec
LL
153972011-03-21 Leo Liu <sdl.web@gmail.com>
15398
810f7698
LL
15399 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15400 change on 2011-02-13 (bug#8309).
15401
b16ac1ec
LL
15402 * minibuffer.el (read-file-name-function): Change default value.
15403 (read-file-name--defaults): Rename from read-file-name-defaults.
15404 (read-file-name-default): Rename from read-file-name.
15405 (read-file-name): Call read-file-name-function.
15406
4e05e67e
GM
154072011-03-21 Glenn Morris <rgm@gnu.org>
15408
15409 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15410 Doc fixes.
15411
4359915b
CY
154122011-03-21 Chong Yidong <cyd@stupidchicken.com>
15413
15414 * cus-theme.el: Add missing provide statement.
15415 (customize-create-theme): Extract theme value correctly.
15416 (custom-theme-visit-theme): Autoload.
15417 (customize-create-theme): Prompt before inserting default faces.
15418
1fe275ee
JB
154192011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15420
15421 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15422 units and musical notes.
15423
cd394be1 154242011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15425
15426 * ido.el (ido-read-internal): Use completing-read-default.
15427 (ido-completing-read): Fix compatibility with completing-read.
15428
7d476bde
CO
154292011-03-20 Christian Ohler <ohler@gnu.org>
15430
15431 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15432 (ert-delete-all-tests): Use `called-interactively-p' rather than
15433 `interactive-p'.
15434 (ert--make-xrefs-region): Respect END.
15435
fe0fb33e
CY
154362011-03-19 Chong Yidong <cyd@stupidchicken.com>
15437
ff854b0b
CY
15438 * dired-aux.el (dired-create-directory): Signal an error if the
15439 directory already exists (Bug#8246).
15440
fe0fb33e
CY
15441 * facemenu.el (list-colors-display): Call list-faces-display
15442 inside with-help-window.
15443 (list-colors-print): Use display property to align the final
15444 column, instead of checking window-width.
15445
576bce32
EZ
154462011-03-19 Eli Zaretskii <eliz@gnu.org>
15447
4d61f28d 15448 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15449 windows-nt systems.
15450 (emerge-protect-metachars): Quote correctly for ms-dos and
15451 windows-nt systems.
15452
89c41d68 154532011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15454
15455 * info.el (info-initialize): Replace all uses of `:' with
15456 path-separator for compatibility with non-Unix systems.
15457 Cache quoting of path-separator. (Bug#8258)
15458
b14e3e21 154592011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15460
15461 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15462 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15463 (mouse-avoidance-mode): Fix typos in docstrings.
15464
4525ce3e
CY
154652011-03-19 Chong Yidong <cyd@stupidchicken.com>
15466
15467 * startup.el (package-subdirectory-regexp): Move from package.el.
15468 Omit \\` and \\', and let callers add them.
15469
15470 * emacs-lisp/package.el (package-strip-version)
15471 (package-load-all-descriptors): Add \\` and \\' to
15472 package-subdirectory-regexp before using it.
15473 (package-untar-buffer): New arg DIR; ensure that file untars only
15474 into this expected directory. Remove superfluous delete-region.
15475 (package-unpack): Caller changed.
15476 (package-tar-file-info): Use package-subdirectory-regexp.
15477
a904a09a 154782011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15479
a904a09a
SM
15480 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15481 diff-mode-shared-map (bug#8284).
15482 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15483
154842011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15485
15486 * calendar/time-date.el (format-seconds): Use assoc instead of
15487 assoc-string, since assoc-string doesn't exist in XEmacs.
15488
171fc304
JB
154892011-03-17 Juanma Barranquero <lekktu@gmail.com>
15490
15491 * custom.el (custom-known-themes): Reflow docstring.
15492 (custom-theme-load-path): Fix typo in docstring.
15493 (load-theme): Fix typo in error message.
15494 (custom-available-themes, custom-variable-theme-value):
15495 Use `let', not `let*'.
15496
d71990a1
JB
154972011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15498
15499 * calc/README: Mention inclusion of musical notes.
15500
15501 * calc/calc-units.el (calc-lu-quant): Rename from
15502 `calc-logunits-quantity'.
15503 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15504 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15505 (calc-db): Rename from `calc-dblevel'.
15506 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15507 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15508 (calc-np): Rename from `calc-nplevel'.
15509 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15510 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15511 (calc-lu-plus): Rename from `calc-logunits-add'.
15512 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15513 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15514 (calc-lu-minus): Rename from `calc-logunits-sub'.
15515 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15516 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15517 (calc-lu-times): Rename from `calc-logunits-mul'.
15518 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15519 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15520 (calc-lu-divide): Rename from `calc-logunits-div'.
15521 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15522 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15523
15524 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15525 functions being autoloaded.
15526
15527 * calc/calc.el (calc-lu-power-reference): Rename from
15528 `calc-logunits-power-reference'.
15529 (calc-lu-field-reference): Rename from
15530 `calc-logunits-field-reference'.
15531
7a71b18d
GM
15532 * calc/calc-help.el (calc-l-prefix-help):
15533 Mention musical note functions.
d71990a1 15534
40c2934b
SM
155352011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15536
15537 * minibuffer.el (completion-all-sorted-completions):
15538 Use :completion-cycle-penalty text property if present.
15539
b0911414
KM
155402011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15541
15542 * allout.el (allout-yank-processing): Adjust for new rebulleting
15543 regime so bullet being yanked is used without prompting the user
15544 for a choice.
15545
8a05b668
JB
155462011-03-16 Juanma Barranquero <lekktu@gmail.com>
15547
15548 * startup.el (command-line): Warn the user that _emacs is deprecated.
15549
5ba5fb81
JB
155502011-03-16 Juanma Barranquero <lekktu@gmail.com>
15551
15552 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15553 (delphi-verbose, delphi-comment-face, delphi-string-face)
15554 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15555 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15556 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15557 (delphi-new-comment-line, delphi-font-lock-defaults)
15558 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15559 Fix typos in docstrings.
15560
2dab465b
KM
155612011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15562
5ba5fb81 15563 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15564 Invert the roles of character and string values for INSTEAD, so a
15565 string is used for the more common case of a defaulting prompt.
15566
0adf5618
SM
155672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15568
15569 * progmodes/ruby-mode.el (ruby-backward-sexp):
15570 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15571 * play/gamegrid.el (gamegrid-make-face):
15572 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15573 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15574 * notifications.el (notifications-notify):
15575 * net/xesam.el (xesam-search-engines):
15576 * net/quickurl.el (quickurl-list-insert):
15577 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15578
d72700e5
CY
155792011-03-15 Chong Yidong <cyd@stupidchicken.com>
15580
15581 * startup.el (command-line): Update package subdirectory regexp.
15582
49c5410a
SM
155832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15584
c6eee9aa
SM
15585 * allout.el (allout-abbreviate-flattened-numbering)
15586 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15587
49c5410a
SM
15588 * subr.el (read-char-choice): Only show the cursor after the prompt,
15589 not after the answer.
15590
047b2bb9
KR
155912011-03-15 Kevin Ryde <user42@zip.com.au>
15592
15593 * help-fns.el (variable-at-point): Skip leading quotes, if any
15594 (bug#8253).
15595
0a57d256
SM
155962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15597
15598 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15599 warning message.
15600
77c992bc
MA
156012011-03-14 Michael Albinus <michael.albinus@gmx.de>
15602
15603 * shell.el (shell): When called interactively, offer to change the
15604 shell file name on remote hosts.
15605
eebc475d
TZ
156062011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15607
15608 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15609 integration for LDAP parameters. The host, base, user or binddn,
15610 and secret tokens can be specified in a netrc file, for instance.
15611 This is optional because an `auth-source' parameter must be
15612 specified in the search attributes.
15613
9d05d1ba
JB
156142011-03-13 Juanma Barranquero <lekktu@gmail.com>
15615
15616 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15617
09d9db2c
GM
156182011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15619
15620 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15621 into declaration. Remove redundant and harmful binding.
15622
156232011-03-12 Eli Zaretskii <eliz@gnu.org>
15624
15625 * files.el (file-ownership-preserved-p): Pass `integer' as an
15626 explicit 2nd argument to `file-attributes'. If the file's owner
15627 is the Administrators group on Windows, and the current user is
15628 Administrator, consider that a match.
15629
15630 * server.el (server-ensure-safe-dir): Consider server directory
15631 safe on MS-Windows if its owner is the Administrators group while
15632 the current Emacs user is Administrator. Use `=' to compare
15633 numerical UIDs, since they could be integers or floats.
15634
219bd536
JB
156352011-03-12 Juanma Barranquero <lekktu@gmail.com>
15636
15637 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15638
f3afd36b
MA
156392011-03-12 Michael Albinus <michael.albinus@gmx.de>
15640
15641 Sync with Tramp 2.2.1.
15642
15643 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15644
15645 * net/trampver.el: Update release number.
15646
3aaaa6f1
SM
156472011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15648
94642599
SM
15649 * progmodes/compile.el (compilation--previous-directory): Fix up
15650 various nil/dead-marker mismatches (bug#8014).
15651 (compilation-directory-properties, compilation-error-properties):
15652 Don't call it at a position past the one we're about to change.
15653
3aaaa6f1
SM
15654 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15655 Disable obsolescence warnings in the file that declares it.
15656
14239447
KM
156572011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15658
099c39a4
JB
15659 * allout-widgets.el (allout-widgets-tally):
15660 Initialize allout-widgets-tally as a hash table rather than nil to
15661 prevent mode-line redisplay warnings. Also, clarify the module
15662 description and fix a comment typo.
14239447 15663
135e287c
JB
156642011-03-11 Juanma Barranquero <lekktu@gmail.com>
15665
15666 * help-fns.el (describe-variable): Don't complete keywords.
15667 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15668
ffbf300e
CY
156692011-03-10 Chong Yidong <cyd@stupidchicken.com>
15670
ba08b241
CY
15671 * emacs-lisp/package.el (package-version-join): Impose a standard
15672 string representation for pre/alpha/beta version lists.
15673 (package-unpack-single): Standardize the directory name by passing
15674 it through package-version-join.
15675 (package-strip-rcs-id): Accept any version string that does not
15676 signal an error in version-to-list.
ffbf300e 15677
f346fd6b
MA
156782011-03-10 Michael Albinus <michael.albinus@gmx.de>
15679
15680 * simple.el (delete-trailing-whitespace): Return nil for the
15681 benefit of `write-file-functions'.
15682
ccb55d27
GM
156832011-03-10 Glenn Morris <rgm@gnu.org>
15684
5ceaac0c
GM
15685 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15686
02da65ff
GM
15687 * vc/vc-git.el (vc-git-program): New option.
15688 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15689 (vc-git--call): Use it.
15690
b2f603cc
GM
15691 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15692
5772caab
GM
15693 * cus-edit.el (Custom-newline): If no button at point, look
15694 for a subgroup button at start-of-line. (Bug#2298)
15695
ccb55d27
GM
15696 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15697
ec6ecaed
JD
156982011-03-10 Julien Danjou <julien@danjou.info>
15699
15700 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15701 `cursor-type' is nil.
15702
9d5aa01d
JB
157032011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15704
15705 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15706
b6a5875b
KM
157072011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15708
7a71b18d 15709 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15710 preserves the existing header prefix, rebulleting it if necessary,
15711 rather than replacing it. This is necessary for proper operation
15712 of cooperative addons like allout-widgets.
1154d12e
JB
15713 (allout-make-topic-prefix, allout-rebullet-heading):
15714 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15715 value as alternate bullet to be used, instead of prompting the user
15716 for a bullet character.
b6a5875b 15717
ee545c35
MA
157182011-03-09 Michael Albinus <michael.albinus@gmx.de>
15719
d86d2721
SM
15720 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15721 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15722 `tramp-default-port'.
15723
c47971d7
DD
157242011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15725
15726 * net/rcirc.el (rcirc-handler-001): Remove useless
15727 with-rcirc-process-buffer.
15728 (rcirc-check-auth-status): Swap arguments to string-match.
15729
13522cb4
GM
157302011-03-09 Glenn Morris <rgm@gnu.org>
15731
0be6f4f1
GM
15732 * shell.el (shell-mode):
15733 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15734
13522cb4
GM
15735 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15736 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15737
515de2e3
CY
157382011-03-08 Chong Yidong <cyd@stupidchicken.com>
15739
15740 * emacs-lisp/package.el (package-refresh-contents)
15741 (package-menu-execute): Use condition-case-no-debug.
15742
b511b994
MA
157432011-03-08 Michael Albinus <michael.albinus@gmx.de>
15744
15745 * simple.el (shell-command-to-string): Use `process-file'.
15746
15747 * emacs-lisp/package.el (package-tar-file-info): Handle also
15748 remote files.
15749
d86d2721
SM
15750 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15751 Use `equal' for upload base check.
b511b994 15752
25bbfb31
AM
157532011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15754
15755 * textmodes/texinfo.el (texinfo-environments):
15756 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15757
be996521
GM
157582011-03-08 Glenn Morris <rgm@gnu.org>
15759
e9c8529f
GM
15760 * cus-start.el (cursor-in-non-selected-windows):
15761 Fix :set quoting oddness. (Bug#8192)
15762
be996521
GM
15763 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15764 in some setf expressions. (Bug#2159)
15765
2bb5649e
CY
157662011-03-08 Chong Yidong <cyd@stupidchicken.com>
15767
15768 * custom.el (custom-available-themes): Return themes in
15769 alphabetical order.
15770
33383987 15771See ChangeLog.15 for earlier changes.
e3d51b27
MR
15772
15773;; Local Variables:
15774;; coding: utf-8
e3d51b27
MR
15775;; End:
15776
acaf905b 15777 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15778
15779 This file is part of GNU Emacs.
15780
15781 GNU Emacs is free software: you can redistribute it and/or modify
15782 it under the terms of the GNU General Public License as published by
15783 the Free Software Foundation, either version 3 of the License, or
15784 (at your option) any later version.
15785
15786 GNU Emacs is distributed in the hope that it will be useful,
15787 but WITHOUT ANY WARRANTY; without even the implied warranty of
15788 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15789 GNU General Public License for more details.
15790
15791 You should have received a copy of the GNU General Public License
15792 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.