]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/files.el (file-name-base): New convenience function.
[gnu-emacs] / lisp / ChangeLog
1 2012-06-26 Sam Steingold <sds@gnu.org>
2
3 * files.el (file-name-base): New convenience function.
4 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el,
5 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el,
6 * progmodes/cc-defs.el, progmodes/cperl-mode.el,
7 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el,
8 * textmodes/ispell.el, textmodes/reftex-ref.el,
9 * textmodes/tex-mode.el: Use it.
10 Did not touch cedet and org because they are maintained elsewhere.
11
12 2012-06-26 Martin Rudalics <rudalics@gmx.at>
13
14 * calendar/calendar.el (calendar-exit): Don't try to delete or
15 iconify last frame. See:
16 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
17
18 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
19
20 * server.el (server-process-filter): Remember dir in the
21 process's `server-client-directory' properties.
22
23 2012-06-24 Chong Yidong <cyd@gnu.org>
24
25 * xml.el (xml-parse-tag): Correctly handle comment embedded in
26 non-tag text.
27
28 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
29
30 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
31
32 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * help-fns.el (describe-variable): Don't croak when doc is not found.
35 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
36 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
37 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
38 * emacs-lisp/smie.el (smie-next-sexp): CSE.
39 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
40 ((lambda ..) ..).
41 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
42
43 2012-06-23 Chong Yidong <cyd@gnu.org>
44
45 * info.el (Info-mouse-follow-link): Accept symbol values of
46 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
47 (Info-fontify-node): Use Info-link-keymap for all navigation
48 buttons, with link-args property to perform the desired action.
49 (Info-link-keymap): Doc fix.
50 (Info-next-link-keymap, Info-prev-link-keymap)
51 (Info-up-link-keymap): Delete now-unused keymaps.
52
53 2012-06-23 Chong Yidong <cyd@gnu.org>
54
55 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
56
57 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
58 system abbrevs.
59
60 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
61
62 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
63
64 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
65 (bug#11719).
66
67 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
68 the requote function doesn't work properly (bug#11714).
69
70 2012-06-23 Glenn Morris <rgm@gnu.org>
71
72 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
73
74 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 Further GV/CL cleanups.
77 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
78 gv-expander.
79 (gv--defun-declaration): New function.
80 (defun-declarations-alist): Use it.
81 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
82 (gv-place): Autoload.
83 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
84 original definition of dotimes and dolist.
85 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
86 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
87 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
88 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
89 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
90 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
91 to the function's definition.
92 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
93 * window.el:
94 * files.el:
95 * faces.el:
96 * env.el: Don't use CL.
97
98 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
99
100 Support higher-resolution time stamps (Bug#9000).
101
102 * calendar/time-date.el (with-decoded-time-value): New arg
103 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
104 (encode-time-value): New optional arg PICO. New type 3.
105 (time-to-seconds) [!float-time]: Support the new picoseconds
106 component if it's used.
107 (seconds-to-time, time-subtract, time-add):
108 Support ps-resolution time stamps as well.
109
110 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
111 (timerp): Timer vectors now have length 9, not 8.
112 (timer--time): Support new-style (4-part) time stamps.
113 (timer-next-integral-multiple-of-time): Time stamps now have
114 picosecond resolution, so take a bit more care about rounding.
115 (timer-relative-time, timer-inc-time): New optional arg psecs.
116 (timer-set-time-with-usecs): Set psecs to 0.
117 (timer--activate): Check psecs component, too.
118
119 * proced.el (proced-time-lessp): Support ps-resolution stamps.
120
121 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
124 Move the non-essential binding to the post/pre-command-hook where it is
125 more obviously correct.
126
127 * subr.el (read-passwd): Don't use a history at all.
128 * savehist.el (savehist-save): Remove password saved accidentally
129 because of the above bug.
130
131 2012-06-22 Bastien Guerry <bzg@gnu.org>
132
133 * files.el (toggle-read-only): Display a message telling whether
134 the buffer is read-only or not (bug#11726).
135
136 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * emacs-lisp/gv.el: New file.
139 * subr.el (push, pop): Extend to generalized variables.
140 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
141 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
142 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
143 gv-define-simple-setter, and gv-define-expander.
144 Remove setf-methods defined in gv. Rename cl-setf -> setf.
145 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
146 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
147 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
148 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
149 gv-letplace.
150 (cl-defstruct): Don't define setf-method any more.
151 * emacs-lisp/cl.el (flet): Don't autoload.
152 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
153 (define-setf-expander, defsetf, define-modify-macro)
154 (cl-struct-setf-expander): Move from cl-lib.el.
155 * emacs-lisp/syntax.el:
156 * emacs-lisp/ewoc.el:
157 * emacs-lisp/smie.el:
158 * emacs-lisp/cconv.el:
159 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
160 (timer--time): Use gv-define-simple-setter.
161 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
162 to avoid coding-system problems in subr.el. Adjust all users.
163 (macroexp--maxsize, macroexp-small-p): New functions.
164 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
165 * scroll-bar.el (scroll-bar-mode):
166 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
167 (normal-erase-is-backspace-mode): Don't use the `eq' place.
168 * winner.el (winner-configuration, winner-make-point-alist)
169 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
170 * files.el (locate-file-completion-table): Avoid list*.
171
172 2012-06-22 Chong Yidong <cyd@gnu.org>
173
174 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
175 (dired-create-files): Doc fix (Bug#11329).
176 (dired-do-copy): Doc fix (Bug#11334).
177 (dired-mark-read-string): Doc fix (Bug#11553).
178
179 * dired.el (dired-recursive-copies, dired-recursive-deletes):
180 Doc fix (Bug#11326).
181 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
182 (dired-dwim-target): Doc fix.
183
184 * wdired.el (wdired-mode): Doc fix.
185
186 2012-06-22 Glenn Morris <rgm@gnu.org>
187
188 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
189 (pcmpl-rpm-cache-stamp-file): New constant.
190 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
191 (pcmpl-rpm-packages): Optionally cache list of packages.
192
193 * pcmpl-rpm.el (pcmpl-rpm): New group.
194 (pcmpl-rpm-query-options): New option.
195 (pcmpl-rpm-packages): No need to inline it.
196 Use pcmpl-rpm-query-options.
197
198 * calendar/calendar.el (calendar-in-read-only-buffer):
199 Avoid some needless mode changes.
200
201 2012-06-21 Chong Yidong <cyd@gnu.org>
202
203 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
204 (desktop-path): Remove . from the default value (Bug#10977).
205 (desktop-read): Use user-emacs-directory if desktop-path is nil.
206
207 2012-06-20 Chong Yidong <cyd@gnu.org>
208
209 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
210
211 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
212
213 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
214 (bug#11201).
215
216 2012-06-20 Chong Yidong <cyd@gnu.org>
217
218 * term.el (term-window-width): Handle the case of a missing right
219 fringe (Bug#8837).
220 (term-check-size): Use window-text-height (Bug#5445).
221 (term-mode): Use define-derived-mode. Minor cleanups.
222 Set font-lock-defaults (Bug#7692).
223 (term-move-columns, term-insert-char, term-emulate-terminal)
224 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
225
226 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
227
228 * net/ange-ftp.el (ange-ftp-get-passwd):
229 Bind `enable-recursive-minibuffers'.
230 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
231
232 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
233
234 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
235
236 2012-06-19 Glenn Morris <rgm@gnu.org>
237
238 * progmodes/python.el (python-mode): Derive from prog-mode.
239
240 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
241
242 * emulation/edt.el (edt-default-menu-bar-update-buffers)
243 (edt-user-menu-bar-update-buffers): New functions.
244 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
245
246 2012-06-19 Chong Yidong <cyd@gnu.org>
247
248 * subr.el (with-selected-window): Preserve the selected window's
249 terminal's top-frame (Bug#4702).
250
251 * window.el (save-selected-window): Likewise.
252
253 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * progmodes/python.el (python-rx-constituents): Move backquote.
256 (python-skeleton-define, python-define-auxiliary-skeleton):
257 Use `declare'.
258
259 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
260
261 * minibuffer.el (read-file-name-default): Revert the patch from
262 2012-06-17.
263
264 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
267 (pcase--u1, pcase--q1): Don't use apply-partially.
268
269 2012-06-18 Glenn Morris <rgm@gnu.org>
270
271 * progmodes/python.el (python-proc, python-buffer)
272 (python-send-receive, python-send-string): Fix obsolete versions.
273
274 2012-06-18 Martin Rudalics <rudalics@gmx.at>
275
276 * window.el (special-display-p): Completely remove stringp
277 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
278
279 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
280
281 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
282
283 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
284
285 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
286 * net/tramp-sh.el (tramp-maybe-open-connection):
287 Throw if `non-essential' is non-nil.
288
289 2012-06-17 Martin Rudalics <rudalics@gmx.at>
290
291 * window.el (special-display-p): Signal an error if BUFFER-NAME
292 is not a string (Bug#11713).
293
294 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
295
296 * progmodes/python.el (python-info-beginning-of-backslash):
297 Rename from python-info-beginning-of-backlash, as a spelling fix.
298
299 2012-06-17 Chong Yidong <cyd@gnu.org>
300
301 * term.el (term-emulate-terminal): If term-check-size is called,
302 move point to the process mark without resetting point (Bug#4635).
303
304 2012-06-17 Glenn Morris <rgm@gnu.org>
305
306 * international/mule-cmds.el (mule-menu-keymap)
307 (set-language-environment, set-locale-environment): Doc tweaks.
308
309 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
310
311 * cus-face.el (custom-face-attributes): Add wave-style underline
312 attribute.
313 * faces.el (set-face-attribute): Update docstring to describe
314 wave-style underline attribute.
315
316 2012-06-16 Chong Yidong <cyd@gnu.org>
317
318 * term/xterm.el (terminal-init-xterm): Discard input before
319 querying background mode (Bug#10959).
320
321 2012-06-16 Stefan Merten <smerten@oekonux.de>
322
323 * textmodes/rst.el: Added and corrected some comments.
324 (rst-re-alist-def): Improve symbol syntax.
325 (rst-mode-syntax-table): Correct syntax entries.
326 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
327 (rst-official-version, rst-official-cvs-rev): Update version
328 information.
329
330 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
331
332 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
333 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
334
335 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
336
337 * progmodes/python.el: New python.el merge.
338 (python-guess-indent): Obsolete var.
339 (python-indent-guess-indent-offset): New defcustom.
340 (python-indent): Obsolete var.
341 (python-indent-offset): New defcustom.
342 (python-python-command, python-jython-command): Delete var.
343 (python-shell-interpreter): New defcustom.
344 (python-pdbtrack-do-tracking-p): Delete var.
345 (python-pdbtrack-activate): New defcustom.
346 (python-use-skeletons): Obsolete var.
347 (python-skeleton-autoinsert): New defcustom.
348 (inferior-python-filter-regexp, python-continuation-offset)
349 (python-honour-comment-indentation, python-indent-string-contents)
350 (python-jython-packages, python-mode-hook)
351 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
352 (python-shell-prompt-alist)
353 (python-source-modes): Delete defcustoms.
354 (python-check-buffer-name, python-eldoc-setup-code)
355 (python-eldoc-string-code, python-ffap-setup-code)
356 (python-ffap-string-code, python-fill-comment-function)
357 (python-fill-decorator-function, python-fill-paren-function)
358 (python-fill-string-function, python-imenu-include-defun-type)
359 (python-imenu-make-tree, python-imenu-subtree-root-label)
360 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
361 (python-shell-compilation-regexp-alist)
362 (python-shell-completion-module-string-code)
363 (python-shell-completion-pdb-string-code)
364 (python-shell-completion-setup-code)
365 (python-shell-completion-string-code)
366 (python-shell-enable-font-lock, python-shell-exec-path)
367 (python-shell-extra-pythonpaths)
368 (python-shell-internal-buffer-name, python-shell-interpreter-args)
369 (python-shell-process-environment)
370 (python-shell-prompt-block-regexp)
371 (python-shell-prompt-output-regexp)
372 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
373 (python-shell-send-setup-max-wait, python-shell-setup-codes)
374 (python-shell-virtualenv-path): New defcustoms.
375 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
376 (inferior-python-mode-syntax-table, python--prompt-regexp)
377 (python-buffer, python-command python-python-command)
378 (python-default-template, python-imports, python-indent-index)
379 (python-indent-list, python-indent-list-length)
380 (python-mode-running, python-pdbtrack-is-tracking-p)
381 (python-preoutput-continuation, python-preoutput-leftover)
382 (python-preoutput-result, python-preoutput-skip-next-prompt)
383 (python-prev-dir/file, python-recursing)
384 (python-saved-check-command, python-version-checked)
385 (python-which-func-length-limit)
386 (view-return-to-alist): Delete vars.
387 (python-check-custom-command, python-dotty-syntax-table)
388 (python-imenu-index-alist, python-indent-current-level)
389 (python-indent-dedenters, python-indent-levels)
390 (python-nav-beginning-of-defun-regexp)
391 (python-nav-list-defun-positions-cache)
392 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
393 (python-shell-internal-buffer)
394 (python-skeleton-available): New vars.
395 (def-python-skeleton): Delete macro.
396 (python-skeleton-define): New macro.
397 (python-define-auxiliary-skeleton, python-rx): New macros.
398 (python-insert-class): Delete command.
399 (python-skeleton-class): New command.
400 (python-insert-def): Delete command.
401 (python-skeleton-def): New command.
402 (python-insert-for): Delete command.
403 (python-skeleton-for): New command.
404 (python-insert-if): Delete command.
405 (python-skeleton-if): New command.
406 (python-insert-try/except, python-insert-try/finally): Delete commands.
407 (python-skeleton-try): New command.
408 (python-insert-while): Delete command.
409 (python-skeleton-while): New command.
410 (python-backspace): Delete command.
411 (python-indent-dedent-line-backspace): New command.
412 (python-electric-colon): Delete command.
413 (python-indent-electric-colon): New command.
414 (python-guess-indent): Delete command.
415 (python-indent-guess-indent-offset): New command.
416 (python-shift-left): Delete command.
417 (python-indent-shift-left): New command.
418 (python-shift-right): Delete command.
419 (python-indent-shift-right): New command.
420 (python-find-function): Delete command.
421 (python-nav-jump-to-defun): New command.
422 (python-next-statement): Delete command.
423 (python-nav-forward-sentence): New command.
424 (python-previous-statement): Delete command.
425 (python-nav-backward-sentence): New command.
426 (python-fill-paragraph): Delete command.
427 (python-fill-paragraph-function): New command.
428 (python-send-buffer): Delete command.
429 (python-shell-send-buffer): New command.
430 (python-send-defun): Delete command.
431 (python-shell-send-defun): New command.
432 (python-send-region, python-send-region-and-go): Delete commands.
433 (python-shell-send-region)
434 (python-shell-switch-to-shell): New commands.
435 (python-send-string): Delete command.
436 (python-shell-send-string): New command.
437 (python-switch-to-python): Delete command.
438 (python-shell-switch-to-shell): New command.
439 (python-describe-symbol): Delete command.
440 (python-eldoc-at-point): New command.
441 (python--set-prompt-regexp, python-args-to-list)
442 (python-after-info-look, python-check-version)
443 (python-check-comint-prompt, python-find-imports)
444 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
445 (python-unload-function, python-expand-template)
446 (python-maybe-jython, python-preoutput-filter)
447 (python-pdbtrack-get-source-buffer)
448 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
449 (python-pdbtrack-toggle-stack-tracking)
450 (python-pdbtrack-track-stack-file, python-initial-text)
451 (python-first-word, python-comment-line-p, python-send-command)
452 (python-setup-brm, python-sentinel, python-set-proc)
453 (python-skip-out, python-input-filter, python-outdent-p)
454 (python-outline-level, python-backslash-continuation-line-p)
455 (python-end-of-block, python-end-of-statement, python-mark-block)
456 (python-beginning-of-block, python-beginning-of-statement)
457 (python-blank-line-p, python-beginning-of-string)
458 (python-open-block-statement-p): Delete functions.
459 (python-indent-line, python-indent-line-1): Delete functions.
460 (python-indent-line): New function.
461 (python-indentation-levels): Delete function.
462 (python-indent-calculate-levels): New function.
463 (python-proc): Delete function.
464 (python-shell-get-process): New function.
465 (python-send-receive): Delete function.
466 (python-shell-send-string-no-output): New function.
467 (python-module-path): Delete function.
468 (python-ffap-module-path): New function.
469 (python-completion-at-point)
470 (python-symbol-completions): Delete functions.
471 (python-completion-complete-at-point): New function.
472 (python-load-file): Delete function.
473 (python-shell-send-file): New function.
474 (python-calculate-indentation): Delete function.
475 (python-indent-calculate-indentation): New function.
476 (python-skip-comments/blanks): Delete function.
477 (python-util-forward-comment): New function.
478 (python-continuation-line-p): Delete function.
479 (python-info-continuation-line-p): New function.
480 (python-which-func, python-current-defun): Delete function.
481 (python-info-current-defun): New function.
482 (python-beginning-of-defun): Delete function.
483 (python-nav-beginning-of-defun): New function.
484 (python-close-block-statement-p)
485 (python-block-end-p): Delete function.
486 (python-info-closing-block): New function.
487 (python-comint-output-filter-function)
488 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
489 (python-fill-comment, python-fill-decorator, python-fill-paren)
490 (python-fill-string, python-imenu-make-element-tree)
491 (python-imenu-make-tree, python-imenu-tree-assoc)
492 (python-indent-context, python-indent-dedent-line)
493 (python-indent-line-function)
494 (python-indent-post-self-insert-function)
495 (python-indent-toggle-levels)
496 (python-info-assignment-continuation-line-p)
497 (python-info-beginning-of-backlash)
498 (python-info-block-continuation-line-p)
499 (python-info-closing-block-message)
500 (python-info-line-ends-backslash-p)
501 (python-info-looking-at-beginning-of-defun)
502 (python-info-ppss-context, python-info-ppss-context-type)
503 (python-nav-list-defun-positions, python-nav-read-defun)
504 (python-nav-sentence-end, python-nav-sentence-start)
505 (python-pdbtrack-comint-output-filter-function)
506 (python-pdbtrack-set-tracked-buffer)
507 (python-shell-calculate-exec-path)
508 (python-shell-calculate-process-environment)
509 (python-shell-completion--do-completion-at-point)
510 (python-shell-completion--get-completions)
511 (python-shell-completion-complete-at-point)
512 (python-shell-completion-complete-or-indent)
513 (python-shell-get-or-create-process)
514 (python-shell-get-process-name)
515 (python-shell-internal-get-or-create-process)
516 (python-shell-internal-get-process-name)
517 (python-shell-internal-send-string, python-shell-make-comint)
518 (python-shell-parse-command, python-shell-send-setup-code)
519 (python-skeleton-add-menu-items)
520 (python-util-clone-local-variables, python-util-position)
521 (run-python-internal, python-indentation-levels)
522 (python-nav-beginning-of-defun)
523 (python-completion-complete-at-point): New functions.
524 (run-python): Change arguments. New API requirements.
525
526 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
529 (bug#11649).
530
531 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
532 (macroexp--expand-all): Use it.
533
534 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
535 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
536 Use `cl-function' instead.
537
538 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
539
540 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
541 Suggested by Stefan Monnier while discussing bug#11657.
542
543 2012-06-14 Sam Steingold <sds@gnu.org>
544
545 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
546
547 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
548
549 * play/doctor.el (doctor-doc): Remove parameter and use
550 doctor-sent instead of sent.
551 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
552
553 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * files.el: Require cl-lib.
556 (file-name-non-special): Replace case -> cl-case.
557
558 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
559
560 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
561 mapping from #' to function*.
562
563 2012-06-13 Chong Yidong <cyd@gnu.org>
564
565 * mouse.el (mouse-drag-track): Do not set the mark if the user
566 releases the mouse without selecting anything (Bug#11588).
567
568 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
571 as well (bug#11646).
572
573 * loadup.el: Count byte-code functions as well.
574
575 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
576 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
577
578 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
579 (bug#11649). Add cl-defun and cl-defmacro.
580
581 2012-06-13 Drew Adams <drew.adams@oracle.com>
582
583 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
584 Fix last change.
585
586 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
587
588 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
589 Otherwise, it blocks in batch mode.
590
591 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
592
593 * help-mode.el (bookmark-make-record-default): Declare.
594
595 2012-06-13 Chong Yidong <cyd@gnu.org>
596
597 * emacs-lisp/package.el (list-packages): Compute a list of
598 packages that are newly-available since the last list-packages
599 invocation.
600 (package-menu--new-package-list): New var.
601 (package-menu--generate, package-menu--print-info)
602 (package-menu--status-predicate, package-menu-mark-install):
603 Handle new status label "new".
604
605 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
608 conversion to backquotes.
609
610 2012-06-12 Chong Yidong <cyd@gnu.org>
611
612 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
613 Rename from gud-inhibit-global-bindings.
614
615 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
616
617 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
618 hook from nxml-glyph-set-hook.
619
620 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
621 declaration.
622
623 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
624
625 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
626 Convert to defcustom.
627
628 2012-06-12 Drew Adams <drew.adams@oracle.com>
629
630 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
631 New functions.
632 (help-mode): Use them.
633
634 2012-06-11 Glenn Morris <rgm@gnu.org>
635
636 * progmodes/fortran.el (fortran-font-lock-keywords-3):
637 Use preprocessor face for directives.
638 (fortran-directive-re): Doc fix.
639
640 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
643 conversion to backquotes (bug#11652).
644
645 Fix compiler-expansion of CL's cXXr functions (bug#11673).
646 * emacs-lisp/cl-lib.el (cl--defalias): New function.
647 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
648 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
649 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
650 (cl-ninth, cl-tenth): Mark them as inlinable.
651 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
652 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
653 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
654 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
655 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
656 (cl-list*, cl-adjoin): Don't put an autoload manually.
657 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
658 (cl--compiler-macro-list*): Add autoload cookie.
659 (cl--compiler-macro-cXXr): New function.
660
661 * help-fns.el (help-fns--compiler-macro): New function extracted from
662 describe-function-1; follow aliases and use `compiler-macro' property.
663 (describe-function-1): Use it.
664
665 2012-06-11 Chong Yidong <cyd@gnu.org>
666
667 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
668 is uninstalled, if imagemagick is installed.
669
670 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * emacs-lisp/cl-lib.el: Use lexical-binding.
673 (cl-map-extents, cl-maclisp-member): Remove.
674 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
675 (cl--set-substring, cl--block-wrapper, cl--block-throw)
676 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
677 * emacs-lisp/cl-extra.el: Use lexical-binding.
678 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
679 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
680 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
681 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
682 * emacs-lisp/cl-seq.el: Use lexical-binding.
683 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
684 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
685 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
686 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
687 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
688 CL's internals.
689
690 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
691
692 Sync with Tramp 2.2.6-pre.
693
694 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
695 `print-length' and `print-level' to nil, in order to avoid
696 truncation. Reported by Christopher Schmidt
697 <christopher@ristopher.com>.
698
699 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
700
701 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
702 New defmacro.
703 (tramp-compat-copy-directory): Add optional argument
704 COPY-CONTENTS. It is not handled yet.
705
706 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
707 (tramp-ftp-file-name-p): Simplify.
708
709 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
710 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
711 connection vector.
712
713 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
714 (tramp-methods): Do not use `tramp-password-end-of-line'.
715 (tramp-completion-function-alist-putty): Handle UNIX case.
716 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
717 (tramp-do-file-attributes-with-stat)
718 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
719 gid as real numbers. They could run out of integer range on cygwin.
720 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
721 (tramp-sh-handle-expand-file-name): Handle hops.
722 (tramp-open-connection-setup-interactive-shell):
723 Use `tramp-cleanup'. Move check for busyboxes ...
724 (tramp-find-shell): ... here. Simplify implementation.
725 Set "remote-shell" property also for alternative shells.
726 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
727 If failing, a regular file would be written otherwise.
728 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
729 (tramp-find-inline-encoding): Cache the coding commands in the
730 process cache. Apply test command on the remote side, if defined.
731 (tramp-find-inline-compress): Cache the compress commands in the
732 process cache.
733 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
734 when requested. Handle hops.
735 (tramp-current-connection): New defvar.
736 (tramp-maybe-open-connection): Use `tramp-cleanup'.
737 Throw `suppress', if there was a failed connection shortly before.
738 Handle user interrupt. (Bug#10187)
739 (tramp-get-inline-compress, tramp-get-inline-coding):
740 Read connection properties from the process cache.
741
742 * net/tramp-smb.el (tramp-smb-server-version)
743 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
744 New defconsts.
745 (tramp-smb-prompt): Extend for powershell prompt.
746 (tramp-smb-file-name-handler-alist): Add handlers for
747 `process-file', `shell-command' and `start-file-process'.
748 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
749 (tramp-smb-winexe-shell-command-switch): New defcustoms.
750 (tramp-smb-file-name-p): Simplify.
751 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
752 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
753 (tramp-smb-shell-quote-argument): New defuns.
754 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
755 Implement using "tar". By this, time-stamps are preserved.
756 (tramp-smb-handle-copy-file): Handle also the case of directories.
757 (tramp-smb-do-file-attributes-with-stat)
758 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
759 Use `tramp-get-connection-buffer').
760 (tramp-smb-handle-rename-file): Use "rename", when source and
761 target are on the same share.
762 (tramp-smb-maybe-open-connection): Handle wrong passwords.
763 Use `tramp-smb-server-version'.
764 (tramp-smb-wait-for-output): Remove prompt.
765
766 * net/tramp.el (top): Require 'cl.
767 (tramp-methods, tramp-rsh-end-of-line):
768 Remove `tramp-password-end-of-line' from docstring.
769 (tramp-save-ad-hoc-proxies): New defcustom.
770 (tramp-completion-function-alist): Adapt docstring.
771 (tramp-default-password-end-of-line): Remove defcustom.
772 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
773 (tramp-user-regexp, tramp-file-name-regexp-unified)
774 (tramp-file-name-regexp-url): Extend regexp by hop separator.
775 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
776 (tramp-remote-file-name-spec-regexp): New defconst.
777 (tramp-file-name-structure): Extend structure for hops.
778 (tramp-get-method-parameter): Move up.
779 (tramp-file-name-p, tramp-dissect-file-name)
780 (with-parsed-tramp-file-name): Handle hops.
781 (tramp-file-name-hop): New defun.
782 (tramp-make-tramp-file-name): New optional arg HOP.
783 (tramp-message-show-progress-reporter-message): New defvar.
784 (tramp-with-progress-reporter): Use it. We cannot use
785 `tramp-message-show-message' here, because this suppresses also
786 error buffers.
787 (tramp-error-with-buffer): Suppress buffer view, if
788 `tramp-message-show-message' is nil.
789 Use `tramp-get-connection-buffer'.
790 (tramp-cleanup): New defun.
791 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
792 (tramp-file-name-handler): If `debug-on-error' is set, propagate
793 an error unchanged.
794 (tramp-completion-handle-file-name-all-completions): Handle hops.
795 Fix an error when called from ido.
796 (tramp-completion-dissect-file-name): Use better local variable
797 name. Add hop to the vector.
798 (tramp-handle-insert-file-contents): Use progress-reporter for the
799 whole scenario.
800 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
801 to `t'.
802 (tramp-check-for-regexp): Simplify search.
803 (tramp-enter-password): Remove it. Move implementation ...
804 (tramp-action-password): ... here.
805 (tramp-mode-string-to-int, tramp-local-host-p)
806 (tramp-make-tramp-temp-file, tramp-read-passwd)
807 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
808 Set tramp-autoload cookie.
809
810 * net/trampver.el: Update release number.
811
812 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
813 Michael Albinus <michael.albinus@gmx.de>
814
815 * net/tramp.el (tramp-set-completion-function): Fix docstring.
816 (tramp-parse-group, tramp-parse-file)
817 (tramp-parse-shostkeys-sknownhosts): New defuns.
818 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
819 (tramp-parse-shosts-group, tramp-parse-sconfig)
820 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
821 (tramp-parse-sknownhosts, tramp-parse-hosts)
822 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
823 Use them.
824 (tramp-parse-passwd-group, tramp-parse-netrc-group)
825 (tramp-parse-putty-group): Don't narrow.
826 (tramp-parse-putty): Make a loop.
827 (tramp-file-name-handler): Catch the `suppress' signal.
828
829 2012-06-11 Chong Yidong <cyd@gnu.org>
830
831 * image.el (imagemagick-register-types): Put the ImageMagick entry
832 at the end of image-type-file-name-regexps.
833
834 2012-06-11 Johan Bockgård <bojohan@gnu.org>
835
836 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
837 (pcase, pcase-let*, pcase-dolist): Use them.
838
839 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
840
841 * emacs-lisp/pcase.el (pcase--let*): New function.
842 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
843 (pcase--expand): Use macroexp-let².
844
845 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
848 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
849 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
850 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
851 * emacs-lisp/derived.el: Use pcase instead of `cl'.
852 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
853
854 2012-06-10 Glenn Morris <rgm@gnu.org>
855
856 * mail/rmail.el (rmail-yank-current-message): Leave point at
857 correct position. (Bug#11660)
858
859 2012-06-10 Chong Yidong <cyd@gnu.org>
860
861 * allout-widgets.el: Fix code header.
862
863 2012-06-10 Chong Yidong <cyd@gnu.org>
864
865 * cus-edit.el (customize-changed-options-previous-release):
866 Bump to 24.1.
867
868 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
869
870 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
871
872 2012-06-09 Chong Yidong <cyd@gnu.org>
873
874 * ebuff-menu.el (electric-buffer-list): Preserve header line.
875
876 2012-06-09 Martin Rudalics <rudalics@gmx.at>
877
878 * window.el (special-display-popup-frame): Don't use
879 window--display-buffer (Bug#11651).
880
881 2012-06-09 Eli Zaretskii <eliz@gnu.org>
882
883 Fix parallel builds: make sure loaddefs.el is not being written
884 while Lisp files are compiled.
885 (compile): Don't depend on 'mh-autoloads'.
886 (compile-CMD, compile-SH): Depend on 'autoloads'.
887 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
888
889 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
890
891 2012-06-09 Chong Yidong <cyd@gnu.org>
892
893 * face-remap.el (face-remap-add-relative, face-remap-set-base)
894 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
895 Doc fixes (Bug#11225).
896
897 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
900 a function if there's a clear indication that it has a compiler-macro.
901 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
902 (macro-declarations-alist): Add arglist to declaration functions.
903 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
904 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
905 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
906 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
907 Also add autoload to find the compiler macro.
908 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
909 (cl--compiler-macro-member, cl--compiler-macro-assoc)
910 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
911 (cl--compiler-macro-get): New functions, replacing calls to
912 cl-define-compiler-macro.
913 (cl-typep) [compiler-macro]: Use macroexp-let².
914
915 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
916
917 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
918 string properly, fixes Bug#11473.
919
920 2012-06-08 Chong Yidong <cyd@gnu.org>
921
922 * faces.el (set-face-attribute): Doc fix.
923 (modify-face): Don't use :bold and :italic.
924 (error, warning, success): Tweak definitions.
925
926 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
927 (custom-modified, custom-set, custom-changed, custom-themed)
928 (custom-saved, custom-button, custom-button-mouse)
929 (custom-button-pressed, custom-state, custom-comment-tag)
930 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
931 (custom-group-subtitle): Use new-style face specs.
932 (custom-invalid-face, custom-rogue-face, custom-modified-face)
933 (custom-set-face, custom-changed-face, custom-saved-face)
934 (custom-button-face, custom-button-pressed-face)
935 (custom-documentation-face, custom-state-face)
936 (custom-comment-face, custom-comment-tag-face)
937 (custom-variable-tag-face, custom-variable-button-face)
938 (custom-face-tag-face, custom-group-tag-face-1)
939 (custom-group-tag-face): Remove obsolete face alias.
940
941 * epa.el (epa-validity-high, epa-validity-medium)
942 (epa-validity-low, epa-mark, epa-field-name, epa-string)
943 (epa-field-name, epa-field-body):
944 * font-lock.el (font-lock-comment-face, font-lock-string-face)
945 (font-lock-keyword-face, font-lock-builtin-face)
946 (font-lock-function-name-face, font-lock-variable-name-face)
947 (font-lock-type-face, font-lock-constant-face):
948 * ido.el (ido-first-match, ido-only-match, ido-subdir)
949 (ido-virtual, ido-indicator, ido-incomplete-regexp):
950 * speedbar.el (speedbar-button-face, speedbar-file-face)
951 (speedbar-directory-face, speedbar-tag-face)
952 (speedbar-selected-face, speedbar-highlight-face)
953 (speedbar-separator-face):
954 * whitespace.el (whitespace-newline, whitespace-space)
955 (whitespace-hspace, whitespace-tab, whitespace-trailing)
956 (whitespace-line, whitespace-space-before-tab)
957 (whitespace-space-after-tab, whitespace-indentation)
958 (whitespace-empty):
959 * emulation/cua-base.el (cua-global-mark):
960 * eshell/em-prompt.el (eshell-prompt):
961 * net/newst-plainview.el (newsticker-new-item-face)
962 (newsticker-old-item-face, newsticker-immortal-item-face)
963 (newsticker-obsolete-item-face, newsticker-date-face)
964 (newsticker-statistics-face, newsticker-default-face):
965 * net/newst-reader.el (newsticker-feed-face)
966 (newsticker-extra-face, newsticker-enclosure-face):
967 * net/newst-treeview.el (newsticker-treeview-face)
968 (newsticker-treeview-new-face, newsticker-treeview-old-face)
969 (newsticker-treeview-immortal-face)
970 (newsticker-treeview-obsolete-face)
971 (newsticker-treeview-selection-face):
972 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
973 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
974 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
975 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
976 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
977 (nxml-outline-active-indicator, nxml-outline-ellipsis):
978 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
979 (mpuz-text):
980 * progmodes/vera-mode.el (vera-font-lock-number)
981 (vera-font-lock-function, vera-font-lock-interface):
982 * textmodes/table.el (table-cell): Use new-style face specs, and
983 don't use the old :bold and :italic attributes.
984
985 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
986 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
987 (ebrowse-member-class, ebrowse-progress): Likewise.
988 (ebrowse-tree-mark-face, ebrowse-root-class-face)
989 (ebrowse-file-name-face, ebrowse-default-face)
990 (ebrowse-member-attribute-face, ebrowse-member-class-face)
991 (ebrowse-progress-face): Remove obsolete faces.
992
993 * progmodes/flymake.el (flymake-errline, flymake-warnline):
994 Inherit from error and warning faces respectively.
995
996 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
997 Likewise.
998 (flyspell-incorrect-face, flyspell-duplicate-face):
999 Remove obsolete aliases.
1000
1001 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
1002
1003 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1004 Avoid infloop.
1005
1006 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * startup.el (argv, argi): Make lexically scoped.
1009 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1010 * emacs-lisp/cl-macs.el: Use lexical-binding.
1011 Rename cl-bind-* to cl--bind-*.
1012 * files.el: Don't require `cl' since it doesn't use it.
1013 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1014
1015 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
1016
1017 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1018 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1019 instead of calling external sort utility.
1020 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1021
1022 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1023
1024 * descr-text.el (describe-char): Mention how to insert the
1025 character, if the current input method doesn't support it.
1026 See the discussion in this thread for the details:
1027 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1028
1029 2012-06-08 Sam Steingold <sds@gnu.org>
1030
1031 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1032 XF86Back to previous-buffer.
1033 (minibuffer-local-map): Bind them to next-history-element and
1034 previous-history-element respectively.
1035 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1036 help-go-back respectively.
1037 * info.el (Info-mode-map): Bind them to Info-history-forward and
1038 Info-history-back respectively.
1039 These are the keys next to Up on the ThinkPad keyboard.
1040
1041 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1044 * emacs-lisp/cl-macs.el: Provide itself.
1045 (cl--labels-convert-cache): New var.
1046 (cl--labels-convert): New function.
1047 (cl-flet, cl-labels): New implementation with new semantics, relying on
1048 lexical-binding.
1049 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1050 (cl-closure-vars, cl--function-convert-cache)
1051 (cl--function-convert): Move from cl-macs.el.
1052 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1053 rename by removing the "cl-" prefix.
1054 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1055
1056 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1059 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1060 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1061 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1062 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1063 (cl-hash-table-count): Add old compatibility aliases.
1064
1065 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1066 Use macroexpand-all-environment instead.
1067 (cl--old-macroexpand): New var.
1068 (cl--sm-macroexpand): New function.
1069 (cl-symbol-macrolet): Use it during macro expansion.
1070 (cl--function-convert-cache): New var.
1071 (cl--function-convert): New function, extracted from
1072 cl-macroexpand-all.
1073 (cl-lexical-let): Use it.
1074
1075 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1076 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1077 (cl-member): Remove old alias.
1078
1079 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1080 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1081 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1082 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1083 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1084 (cl-macroexpand-cmacs): Remove var.
1085 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1086 Use macroexpand-all instead.
1087
1088 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1091 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1092 (macroexp-copyable-p): New functions and macros.
1093 * emacs-lisp/edebug.el (edebug-unwrap):
1094 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1095 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1096 (pcase--let*): Remove.
1097 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1098 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1099 macroexp-const-p instead.
1100 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1101
1102 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1103 instead of "cl-" for internal definitions. Use macroexp-const-p.
1104 (cl-old-bc-file-form): Remove var.
1105 (cl-const-exprs-p): Remove fun.
1106 (cl-labels, cl-macrolet): Use backquote.
1107 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1108 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1109 (cl-define-setf-expander): Rename from cl-define-setf-method.
1110 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1111
1112 * international/mule-cmds.el: Don't require CL.
1113 (view-hello-file): Don't use `letf'.
1114
1115 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * tmm.el (tmm-prompt): Use string-prefix-p.
1118 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1119 (tmm-add-prompt): Use minibuffer-completion-help.
1120 (tmm-delete-map): Remove.
1121
1122 * subr.el (kbd): Make it its own function.
1123
1124 2012-06-07 Stefan Merten <smerten@oekonux.de>
1125
1126 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1127 Silence compiler warnings. Fix versions.
1128 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1129 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1130 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1131 (rst-package-emacs-version-alist): Correct Emacs version to
1132 represent major merge with upstream.
1133 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1134
1135 2012-06-06 Glenn Morris <rgm@gnu.org>
1136
1137 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1138 Only print environment variables if set.
1139
1140 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1143 (macroexp--cons): Rename from maybe-cons.
1144 (macroexp--accumulate): Rename from macroexp-accumulate.
1145 (macroexp--all-forms): Rename from macroexpand-all-forms.
1146 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1147 (macroexp--expand-all): Rename from macroexpand-all-1.
1148
1149 2012-06-06 Sam Steingold <sds@gnu.org>
1150
1151 * calendar/calendar.el (calendar-in-read-only-buffer):
1152 Call `special-mode' to enable the standard read-only keybindings.
1153
1154 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1157 with "loading" messages (bug#11635).
1158
1159 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1160
1161 * files.el (enable-remote-dir-locals): New option.
1162 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1163
1164 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1165 Ensure, that the temp directory is local.
1166
1167 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1168 `temporary-file-directory'.
1169
1170 * progmodes/python.el (python-send-region): Ensure, that the
1171 temporary file is created also in the remote case.
1172
1173 2012-06-06 Glenn Morris <rgm@gnu.org>
1174
1175 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1176 (vc-rcs-update-changelog): Use it.
1177
1178 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1179
1180 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1181 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1182 (vc-sccs-diff): Replace use of the external vcdiff script.
1183
1184 2012-06-05 Glenn Morris <rgm@gnu.org>
1185
1186 * ledit.el: Move to obsolete/.
1187
1188 2012-06-05 Sam Steingold <sds@gnu.org>
1189
1190 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1191 patch (Bug#11140).
1192
1193 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * emacs-list/cust-print.el: Move to obsolete.
1196
1197 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1198 compiler-macro expansion.
1199
1200 Add native compiler-macro support.
1201 * emacs-lisp/macroexp.el (macroexpand-all-1):
1202 Support compiler-macros directly. Properly follow aliases and apply
1203 the compiler macros more thoroughly.
1204 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1205 macroexpand now properly follows aliases.
1206 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1207 (cl-compiler-macroexpand): Use new prop.
1208 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1209
1210 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1211
1212 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1213
1214 * window.el (get-lru-window, get-mru-window, get-largest-window):
1215 New argument NOT-SELECTED to avoid picking the selected window.
1216 (window--display-buffer-1, window--display-buffer-2): Replace by
1217 new function window--display-buffer
1218 (display-buffer-same-window, display-buffer-reuse-window)
1219 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1220 Use window--display-buffer.
1221 (display-buffer-use-some-window): Remove temporary dedication
1222 hack by calling get-lru-window and get-largest-window with
1223 NOT-SELECTED argument non-nil. Call window--display-buffer.
1224
1225 2012-06-05 Glenn Morris <rgm@gnu.org>
1226
1227 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1228 Replace external vcdiff script.
1229
1230 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1233
1234 2012-06-04 Chong Yidong <cyd@gnu.org>
1235
1236 * image.el (imagemagick-types-inhibit): Revert last change.
1237 Add INFO and M.
1238 (imagemagick-enabled-types): Remove CIN and EPS*.
1239
1240 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * emacs-lisp/cl-lib.el: Rename from cl.el.
1243 * emacs-lisp/cl.el: New compatibility file.
1244 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1245 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1246 to obey the "cl-" prefix.
1247 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1248
1249 2012-06-03 Glenn Morris <rgm@gnu.org>
1250
1251 * emacs-lisp/authors.el (authors-aliases): Addition.
1252
1253 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1254 Fix :version.
1255
1256 2012-06-03 Stefan Merten <smerten@oekonux.de>
1257
1258 * textmodes/rst.el: Add comments.
1259 (rst-transition, rst-adornment): New faces.
1260 (rst-adornment-faces-alist): Make default safe to reevaluate.
1261 Fixes
1262 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1263 Improve customization tags.
1264 (rst-define-level-faces): Clarify meaning.
1265
1266 2012-06-03 Chong Yidong <cyd@gnu.org>
1267
1268 * progmodes/compile.el (compilation-mode-line-fail)
1269 (compilation-mode-line-run, compilation-mode-line-exit):
1270 New faces.
1271 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1272
1273 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1274
1275 * progmodes/which-func.el (which-func-update-ediff-windows):
1276 New function. Use it in ediff-select-hook (Bug#11478).
1277
1278 2012-06-03 Chong Yidong <cyd@gnu.org>
1279
1280 * bindings.el: Remove explicit help text from format-mode-line.
1281 It is now supplied by mode-line-default-help-echo.
1282 (mode-line-front-space, mode-line-end-spaces)
1283 (mode-line-misc-info): New variables.
1284 (mode-line-modes, mode-line-position): Move the default value to
1285 the variable definition.
1286 (mode-line-default-help-echo): New defcustom.
1287 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1288 (mode-line-modified-help-echo): New functions.
1289 (mode-line-mule-info, mode-line-modified): Use them.
1290 (mode-line-eol-desc, propertized-buffer-identification):
1291 Consistency fixes for help text.
1292 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1293 set-buffer-file-coding-system (Bug#289).
1294 (mode-line-mule-info-help-echo): Update help text.
1295
1296 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * simple.el (execute-extended-command): Set real-this-command
1299 (bug#11506).
1300
1301 2012-06-02 Chong Yidong <cyd@gnu.org>
1302
1303 Remove incorrect uses of "modeline" in comments, docstrings, and
1304 function/variable names (Bug#10329).
1305
1306 * cus-edit.el (mode-line):
1307 * dframe.el (dframe-mouse-hscroll):
1308 * emacs-lisp/re-builder.el:
1309 * emacs-lisp/easy-mmode.el (define-minor-mode):
1310 * frame.el (set-frame-name):
1311 * help.el (lookup-minor-mode-from-indicator):
1312 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1313 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1314 (c-toggle-hungry-state):
1315 * progmodes/antlr-mode.el (antlr-language-alist):
1316 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1317 * progmodes/vhdl-mode.el (vhdl-mode):
1318 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1319 * term/ns-win.el (ns-face-at-pos):
1320 * term/sup-mouse.el (sup-mouse-report):
1321 * textmodes/flyspell.el (flyspell-mode-line-string):
1322 * textmodes/ispell.el (ispell-highlight-face):
1323 * textmodes/reftex-global.el:
1324 * vc/vc-arch.el (vc-arch-mode-line-string):
1325 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1326 * vc/vc-git.el (vc-git-mode-line-string):
1327 * vc/vc-hooks.el (vc-display-status)
1328 (vc-default-mode-line-string):
1329 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1330
1331 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1332
1333 * dired.el (dired-sort-set-mode-line): Rename from
1334 dired-sort-set-modeline. All callers changed.
1335
1336 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1337 eshell-status-in-modeline.
1338
1339 * foldout.el (foldout-mode-line-string): Rename from
1340 foldout-modeline-string. All callers changed.
1341 (foldout-update-mode-line): Rename from foldout-update-modeline.
1342
1343 * subr.el (redraw-modeline): Make into obsolete alias.
1344
1345 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1346 timeclock-modeline-display. Make old name an alias.
1347 (timeclock-update-mode-line): Likewise. All callers changed.
1348 (timeclock-mode-line-display): No need to check before using
1349 add-hook.
1350 (timeclock-relative, timeclock-day-over-hook)
1351 (timeclock-use-elapsed, timeclock-mode-string)
1352 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1353
1354 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1355 crisp-mode-modeline-string.
1356
1357 * play/solitaire.el (solitaire-build-mode-line): Rename from
1358 solitaire-build-modeline. All callers changed.
1359
1360 * play/zone.el (zone-hiding-mode-line): Rename from
1361 zone-hiding-modeline. All callers changed.
1362 (zone): Remove unusued `modeline-hidden-level' property.
1363
1364 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1365 xscheme-modeline-initialize. All callers changed.
1366
1367 * strokes.el (strokes-lighter): Rename from
1368 strokes-modeline-string.
1369
1370 * textmodes/sgml-mode.el (html-face-tag-alist)
1371 (html-tag-face-alist): Use mode-line face instead of obsolete
1372 alias modeline.
1373
1374 2012-06-02 Stefan Merten <smerten@oekonux.de>
1375
1376 * textmodes/rst.el: Always require `cl'.
1377 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1378
1379 2012-06-02 Chong Yidong <cyd@gnu.org>
1380
1381 * image.el (imagemagick-enabled-types): Rename from
1382 imagemagick-types-enable. Add many more types.
1383 (imagemagick-types-inhibit): Change default to nil.
1384 (imagemagick-filter-types): Caller changed.
1385
1386 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1387
1388 * emacs-lisp/cl-macs.el: Use backquotes.
1389 (cl-transform-function-property): Use eval-and-compile rather than
1390 abusing `require'.
1391 (defstruct): Use declare-function instead of with-no-warnings.
1392
1393 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1394 (byte-compile-output-docform): Re-add the print-circle bindings.
1395 (byte-compile-fix-header): Use #$ just because it's shorter.
1396 (byte-compile-output-file-form): Remove defun/defmacro.
1397
1398 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1399
1400 * simple.el (choose-completion): Remove now obsolete binding for
1401 owindow.
1402
1403 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1404
1405 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1406 in order to avoid "Stack overflow in regexp matcher".
1407
1408 2012-05-31 Glenn Morris <rgm@gnu.org>
1409
1410 * image.el: For clarity, call imagemagick-register-types at
1411 top-level, rather than relying on a custom :initialize.
1412 (imagemagick-types-enable): New option. (Bug#11557)
1413 (imagemagick-filter-types): New function. (Bug#7406)
1414 (imagemagick-register-types): Use imagemagick-filter-types.
1415 If disabling support, remove elements altogether rather
1416 than using an impossible regexp.
1417 (imagemagick-types-inhibit): Give it the default init function.
1418
1419 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1422 Handle arbitrary file name lengths (Bug#11585).
1423
1424 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1425
1426 * desktop.el (desktop-read): Clear previous and next buffers for
1427 all windows and bury *Messages* buffer (bug#11556).
1428
1429 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 Add `declare' for `defun'. Align `defmacro's with it.
1432 * emacs-lisp/easy-mmode.el (define-minor-mode)
1433 (define-globalized-minor-mode): Don't autoload the var definitions.
1434 * emacs-lisp/byte-run.el: Use lexical-binding.
1435 (defun-declarations-alist, macro-declarations-alist): New vars.
1436 (defmacro, defun): Use them.
1437 (make-obsolete, define-obsolete-function-alias)
1438 (make-obsolete-variable, define-obsolete-variable-alias):
1439 Use `declare'.
1440 (macro-declaration-function): Mark obsolete.
1441 * emacs-lisp/autoload.el: Use lexical-binding.
1442 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1443
1444 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1445
1446 * textmodes/ispell.el (ispell-with-no-warnings):
1447 Define as a macro.
1448 (ispell-kill-ispell, ispell-change-dictionary):
1449 Use `called-interactively-p' for Emacs instead of obsolete
1450 `interactive-p'.
1451
1452 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1455 (macro-declaration-function): Move var from C code.
1456 (macro-declaration-function): Define function with defalias.
1457 * emacs-lisp/macroexp.el (macroexpand-all-1):
1458 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1459 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1460 defun/defmacro any more.
1461 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1462 Provide fallback for unknown arglist.
1463 (byte-compile-arglist-warn): Change calling convention.
1464 (byte-compile-output-file-form): Move print-vars binding.
1465 (byte-compile-output-docform): Simplify accordingly.
1466 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1467 (byte-compile-defmacro-declaration): Remove.
1468 (byte-compile-file-form-defmumble): Generalize to defalias.
1469 (byte-compile-output-as-comment): Return byte-positions.
1470 Simplify callers accordingly.
1471 (byte-compile-lambda): Use `assert'.
1472 (byte-compile-defun, byte-compile-defmacro): Remove.
1473 (byte-compile-file-form-defalias):
1474 Use byte-compile-file-form-defmumble.
1475 (byte-compile-defalias-warn): Remove.
1476
1477 2012-05-29 Stefan Merten <smerten@oekonux.de>
1478
1479 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1480 possible. Fix authors. Improve comments. Improve loading of `cl'.
1481
1482 (rst-mode-abbrev-table): Merge definition.
1483 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1484 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1485
1486 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1487
1488 * calendar/icalendar.el
1489 (icalendar-export-region): Export UID properly.
1490
1491 2012-05-29 Leo <sdl.web@gmail.com>
1492 * calendar/icalendar.el (icalendar-import-format):
1493 Add `icalendar-import-format-uid' (Bug#11525).
1494 (icalendar-import-format-uid): New.
1495 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1496 Export UID.
1497
1498 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1501 different alternative patterns.
1502 (pcase-codegen): Be more careful to preserve identity.
1503 (pcase--u1): Don't forget to mark vars as used.
1504
1505 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1506 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1507 (byte-compile-from-buffer): ...rather than here.
1508
1509 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1510 functions from byte-compile-function-environment.
1511
1512 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1513
1514 * window.el (window-deletable-p): Avoid deleting the root window
1515 of a frame with an active minibuffer.
1516
1517 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1518
1519 * simple.el (choose-completion): Use quit-window (Bug#11567).
1520
1521 2012-05-29 Chong Yidong <cyd@gnu.org>
1522
1523 * whitespace.el (whitespace-cleanup): Fix usage of
1524 whitespace-empty-at-bob-regexp (Bug#11492).
1525
1526 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1527
1528 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1529 revert (Bug#11488).
1530
1531 2012-05-29 Juri Linkov <juri@jurta.org>
1532
1533 * isearch.el (isearch-mode-map): Bind `M-s _' to
1534 `isearch-toggle-symbol'. Bind `M-s c' to
1535 `isearch-toggle-case-fold'.
1536 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1537 (isearch-forward): Add `M-s _' to the docstring.
1538 (isearch-forward-symbol, isearch-toggle-case-fold)
1539 (isearch-symbol-regexp): New functions. (Bug#11381)
1540
1541 2012-05-29 Juri Linkov <juri@jurta.org>
1542
1543 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1544 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1545 a function, call it to get the regexp.
1546 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1547 property `isearch-message-prefix' instead of the string "word ".
1548 (isearch-search-fun-default): For the case of `isearch-word',
1549 return a lambda that calls re-search-forward/re-search-backward
1550 with a regexp returned by `word-search-regexp' or by the function
1551 in `isearch-word'.
1552
1553 2012-05-29 Juri Linkov <juri@jurta.org>
1554
1555 * isearch.el (isearch-search-fun-default): New function.
1556 (isearch-search-fun): Move default part to the new function
1557 `isearch-search-fun-default'.
1558 (isearch-search-fun-function): Set the default value to
1559 `isearch-search-fun-default'. (Bug#11381)
1560
1561 * comint.el (comint-history-isearch-end):
1562 Use `isearch-search-fun-default'.
1563 (comint-history-isearch-search): Use `isearch-search-fun-default'
1564 and remove spacial case for `isearch-word'.
1565 (comint-history-isearch-wrap): Remove spacial case for
1566 `isearch-word'.
1567
1568 * hexl.el (hexl-isearch-search-function):
1569 Use `isearch-search-fun-default'.
1570
1571 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1572 Use `word-search-regexp' for `isearch-word'.
1573
1574 * misearch.el (multi-isearch-search-fun):
1575 Use `isearch-search-fun-default'.
1576
1577 * simple.el (minibuffer-history-isearch-search):
1578 Use `isearch-search-fun-default' and remove spacial case for
1579 `isearch-word'.
1580 (minibuffer-history-isearch-wrap): Remove spacial case for
1581 `isearch-word'.
1582
1583 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1584 Remove spacial case for `isearch-word'.
1585 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1586
1587 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1588
1589 Decrease XEmacs incompatibilities.
1590 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1591 Use `string-match'.
1592 (flyspell-delete-region-overlays): Use alternative definition for
1593 XEmacs.
1594 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1595 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1596 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1597 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1598 `define-obsolete-face-alias' under XEmacs, but old method.
1599
1600 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1601 `with-no-warnings' definition or Emacs alias.
1602 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1603 (ispell-word): Do not use `region-p' if XEmacs.
1604
1605 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1606
1607 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1608 Check for `ispell-dictionary-base-alist' instead of full
1609 `ispell-dictionary-alist'.
1610 (ispell-init-process): Show spellchecker when starting new Ispell
1611 process.
1612
1613 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1616 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1617
1618 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1619
1620 * version.el (motif-version-string, gtk-version-string)
1621 (ns-version-string): Declare.
1622
1623 2012-05-27 Juri Linkov <juri@jurta.org>
1624
1625 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1626 after the `eval-defun-1' specialcaseing
1627 like in `edebug-eval-defun' (bug#10181).
1628
1629 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1630 like in `eval-defun-1'.
1631
1632 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1633
1634 * mail/sendmail.el (mail-yank-region):
1635 Recognize rmail-yank-current-message in addition to insert-buffer.
1636 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1637 a *mail* buffer created through rmail-start-mail with sendmail as
1638 mail-user-agent.
1639
1640 2012-05-27 Chong Yidong <cyd@gnu.org>
1641
1642 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1643 Default to 256 (Bug#11267).
1644
1645 * help.el (describe-mode): Doc fix.
1646
1647 2012-05-26 Glenn Morris <rgm@gnu.org>
1648
1649 * w32-fns.el (w32-init-info): Remove.
1650 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1651
1652 * info.el (info-initialize): For self-contained NS builds, put the
1653 included info/ directory at the front. (Bug#2791)
1654
1655 * paths.el (Info-default-directory-list): Make it a defcustom,
1656 mainly so that we can use custom-initialize-delay.
1657
1658 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * subr.el (buffer-has-markers-at): Mark obsolete.
1661
1662 * subr.el (lambda): Use declare.
1663
1664 * emacs-lisp/lisp-mode.el (lambda):
1665 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1666
1667 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1668
1669 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1670
1671 2012-05-26 Glenn Morris <rgm@gnu.org>
1672
1673 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1674
1675 2012-05-25 Glenn Morris <rgm@gnu.org>
1676
1677 * paths.el: Remove no-byte-compile.
1678 * loadup.el: No need to load paths.el uncompiled.
1679
1680 * image.el (imagemagick-types-inhibit): Doc fix.
1681
1682 * version.el: Remove no-byte-compile and associated formatting.
1683 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1684 is ancient code from when there was an "inc-vers.el".
1685
1686 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * progmodes/gdb-mi.el: Minor style changes.
1689 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1690 Turn into minor modes.
1691 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1692 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1693 (gdb-shell): Remove unneeded let-binding.
1694 (gdb-get-many-fields): Eliminate O(n²) behavior.
1695
1696 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1697
1698 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1699 platforms that don't link in fontset.c.
1700
1701 2012-05-25 Juri Linkov <juri@jurta.org>
1702
1703 Use the same diff color scheme as in modern VCSes (bug#10181).
1704
1705 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1706 to avoid confusion with `diff-added' that now uses green colors.
1707 (diff-removed): Use shades of red.
1708 (diff-added): Use shades of green.
1709 (diff-changed): Leave just the yellow color.
1710 (diff-use-changed-face): New variable.
1711 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1712 how to highlight context diff changes.
1713 (diff-refine-change): Use shades of yellow.
1714 (diff-refine-removed): New face that uses shades of red.
1715 (diff-refine-added): New face that uses shades of green.
1716 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1717 `diff-refine-removed' in the call to `smerge-refine-subst'
1718 depending on the value of `diff-use-changed-face'.
1719
1720 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1721 (smerge-other): Use shades of green.
1722 (smerge-base): Use shades of yellow.
1723 (smerge-refined-change): Empty face.
1724 (smerge-refined-removed): New face that uses shades of red.
1725 (smerge-refined-added): New face that uses shades of green.
1726 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1727 args `props-r' and `props-a', and use them. Doc fix.
1728 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1729 on its value use different faces `smerge-refined-change',
1730 `smerge-refined-removed', `smerge-refined-added' in the call to
1731 `smerge-refine-subst'.
1732
1733 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1734 Add face condition `min-colors 88' with shades of red.
1735 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1736 `min-colors 88' with shades of green.
1737 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1738 `min-colors 88' with shades of yellow.
1739
1740 2012-05-24 Glenn Morris <rgm@gnu.org>
1741
1742 * paths.el (prune-directory-list, remote-shell-program): Move to...
1743 * files.el (prune-directory-list, remote-shell-program): ...here.
1744 For the latter, delay initialization, prefer ssh, just search PATH.
1745
1746 * paths.el (term-file-prefix): Move to faces.el (the only user).
1747 * faces.el (term-file-prefix): Move here, make it a defcustom.
1748
1749 * paths.el (news-directory, news-path, news-inews-program):
1750 Move to gnus/nnspool.el.
1751
1752 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1753
1754 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1755 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1756 Make the latter a defcustom, with a delayed initialization.
1757
1758 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1759 These were deleted from Gnus itself late 2010.
1760
1761 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1762
1763 * progmodes/which-func.el (which-func-ff-hook):
1764 Check against user-error, not error.
1765
1766 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1767 cl-specs.el, which no longer exists.
1768
1769 2012-05-22 Glenn Morris <rgm@gnu.org>
1770
1771 * info.el (info-emacs-bug): New command.
1772 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1773 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1774
1775 2012-05-21 Glenn Morris <rgm@gnu.org>
1776
1777 * makefile.w32-in (update-subdirs-SH):
1778 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1779
1780 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1781
1782 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1783
1784 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1785 Simplify Maven regexp, and make sure the file can't start with a space
1786 (bug#11517).
1787
1788 2012-05-21 Glenn Morris <rgm@gnu.org>
1789
1790 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1791 Scrap superfluous subshells.
1792
1793 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1796 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1797
1798 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1799
1800 * calc/calc.el (calc-ensure-consistent-units): New variable.
1801
1802 * calc/calc-units.el (math-consistent-units-p)
1803 (math-check-unit-consistency): New functions.
1804 (calc-quick-units, calc-convert-units):
1805 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1806 is non-nil.
1807 (calc-extract-units): Fix typo.
1808
1809 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1812
1813 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1814 (flyspell-default-deplacement-commands): Don't spell check after
1815 repeated window/frame switches (e.g. triggered by mouse-movement).
1816 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1817 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1818 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1819 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1820 Remove unused vars.
1821 (flyspell-get-casechars, flyspell-get-not-casechars):
1822 Simplify; Don't bother removing a ] just to add it back.
1823 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1824
1825 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1826
1827 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1828 New functions.
1829 (math-function-table): Add support for more C functions.
1830
1831 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1832
1833 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1834 (flyspell-debug-signal-word-checked): Protect delay handling for
1835 otherchars against empty otherchars.
1836
1837 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1840 their respective macro declarations.
1841 * skeleton.el (define-skeleton):
1842 * progmodes/compile.el (define-compilation-mode):
1843 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1844 (define-ibuffer-filter):
1845 * emacs-lisp/generic.el (define-generic-mode):
1846 * emacs-lisp/easy-mmode.el (define-minor-mode)
1847 (define-globalized-minor-mode):
1848 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1849 * emacs-lisp/byte-run.el (defsubst):
1850 * custom.el (deftheme): Add doc-string metadata.
1851
1852 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1855
1856 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1857
1858 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1859
1860 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1861 * emacs-lisp/cl-macs.el: Idem.
1862 * emacs-lisp/cl-specs.el: Remove.
1863
1864 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 Minor renaming of internal CL functions and variables.
1867 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1868 (cl--position): Rename from cl-position.
1869 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1870 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1871 (cl--random-state): Rename from *random-state*.
1872
1873 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1876 parens around the arg list (bug#11499).
1877
1878 2012-05-17 Juri Linkov <juri@jurta.org>
1879
1880 * isearch.el (word-search-regexp, word-search-backward)
1881 (word-search-forward, word-search-backward-lax)
1882 (word-search-forward-lax): Move functions from search.c
1883 (bug#10145, bug#11381).
1884
1885 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1886
1887 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1888 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1889 normal word components.
1890
1891 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * minibuffer.el (completion--sifn-requote): Fix last change.
1894 (minibuffer-local-must-match-filename-map):
1895 Move define-obsolete-variable-alias before its var.
1896
1897 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1900
1901 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1902 behavior.
1903 (completion--string-equal-p): New function.
1904 (completion--twq-all): Use it to get better assertion failure data.
1905
1906 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1907 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1908 (shell--requote-argument): New functions.
1909 (shell-completion-vars): Use them.
1910 (shell--parse-pcomplete-arguments): Rename from
1911 shell-parse-pcomplete-arguments.
1912 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1913 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1914 Obey comint-file-name-quote-list.
1915
1916 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1917 (smie-indent-keyword): Use it.
1918
1919 2012-05-14 Stefan Merten <smerten@oekonux.de>
1920
1921 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1922
1923 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * net/rlogin.el (rlogin-mode-map): Fix last change.
1926
1927 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1928
1929 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1930 the following \r\n using a single `process-send-string', since the
1931 Lotus SMTP server refuses to accept any commands if they are sent
1932 with two `process-send-string's (Bug#11444).
1933
1934 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * shell.el (shell-parse-pcomplete-arguments):
1937 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1938
1939 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1940
1941 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1942 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1943 (image-transform-width, image-transform-fit-width): New functions.
1944 (image-transform-properties): Use them.
1945 (image-transform-check-size): New function.
1946 (image-toggle-display-image): Use it (for testing).
1947 (image-transform-set-rotation): Reduce angle mod 360.
1948 Delete obsolete comment.
1949
1950 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1951
1952 * image-mode.el: Fix scaling (bug#11399).
1953 (image-transform-resize): Doc fix.
1954 (image-transform-properties): Default scale is 1 and height should
1955 be an integer.
1956
1957 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1958
1959 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1960 than hard-coding `car', to fix misbehavior when moving forward.
1961
1962 2012-05-13 Chong Yidong <cyd@gnu.org>
1963
1964 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1965 (tabulated-list-entries, tabulated-list-padding)
1966 (tabulated-list-sort-key): Make permanent-local.
1967
1968 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1969 (electric-buffer-list): Put electric buffer menu
1970 command descriptions in this docstring, instead of the docstring
1971 of electric-buffer-menu-mode. Code cleanups.
1972 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1973 Electric-buffer-menu-mode.
1974 (electric-buffer-update-highlight): Minor code cleanup.
1975
1976 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1977
1978 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1979 (Bug#11447)
1980
1981 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 Move define-obsolete-variable-alias before the var's definition.
1984 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1985 * tooltip.el (tooltip-hook):
1986 * textmodes/reftex-toc.el (reftex-toc-map):
1987 * textmodes/reftex-sel.el (reftex-select-label-map)
1988 (reftex-select-bib-map):
1989 * textmodes/reftex-index.el (reftex-index-map)
1990 (reftex-index-phrases-map):
1991 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1992 * progmodes/meta-mode.el (meta-mode-map):
1993 * novice.el (disabled-command-hook):
1994 * loadhist.el (unload-hook-features-list):
1995 * frame.el (blink-cursor):
1996 * files.el (find-file-not-found-hooks, write-file-hooks)
1997 (write-contents-hooks):
1998 * emulation/tpu-edt.el (GOLD-map):
1999 * emacs-lock.el (emacs-lock-from-exiting):
2000 * emacs-lisp/generic.el (generic-font-lock-defaults):
2001 * emacs-lisp/chart.el (chart-map):
2002 * dos-fns.el (register-name-alist):
2003 * dired-x.el (dired-omit-files-p):
2004 * desktop.el (desktop-enable):
2005 * cus-edit.el (custom-mode-hook):
2006 * buff-menu.el (buffer-menu-mode-hook):
2007 * bookmark.el (bookmark-read-annotation-text-func)
2008 (bookmark-exit-hooks):
2009 * allout.el (allout-mode-deactivate-hook)
2010 (allout-exposure-change-hook, allout-structure-added-hook)
2011 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2012 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2013 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2014 comes before the corresponding variable's definition.
2015
2016 2012-05-12 Chong Yidong <cyd@gnu.org>
2017
2018 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2019 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2020 (Buffer-menu-mode-map): Bind it.
2021 (Buffer-menu--pretty-name): Add a mouse-face property.
2022
2023 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2026 (prolog-upper-case-string, prolog-lower-case-string)
2027 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2028 (prolog-use-smie, prolog-smie-grammar): New vars.
2029 (prolog-smie-forward-token, prolog-smie-backward-token)
2030 (prolog-smie-rules): New funs.
2031 (prolog-comment-indent): Remove.
2032 (prolog-mode-variables): Use default comment indentation instead.
2033 Setup SMIE.
2034 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2035 (prolog-mode): Don't call them any more.
2036 (prolog-electric-colon, prolog-electric-dash)
2037 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2038
2039 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2040
2041 * minibuffer.el (completion--twq-all): Again, allow case differences.
2042
2043 * term.el: Move keymap initialization code to be more idiomatic.
2044 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2045 (term-terminal-menu): Move initialization into declaration.
2046 (term-escape-char): Let the user set it in her .emacs.
2047
2048 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2049 Provide SMIE-based indentation (not enabled by default yet).
2050 (sh-mode-map): Don't bind electric keys.
2051 Use electric-pair-mode instead of skeleton-pair.
2052 (sh-assignment-regexp): Fit within 80 columns.
2053 (sh-indent-supported): Specify actual shell name instead of boolean.
2054 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2055 (sh-maybe-here-document): Use it. Make obsolete.
2056 (sh-electric-here-document-mode) New minor mode.
2057 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2058 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2059 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2060 (sh-smie-rc-grammar, sh-use-smie): New vars.
2061 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2062 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2063 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2064 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2065 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2066 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2067 (sh-set-shell): Use smie-setup if requested.
2068
2069 * term.el (term-set-escape-char): Properly set term-escape-char.
2070 See http://stackoverflow.com/questions/10524656.
2071
2072 2012-05-10 Chong Yidong <cyd@gnu.org>
2073
2074 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2075 Use url-generic-parse-url, and handle host names and Windows
2076 filenames properly.
2077 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2078 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2079 URL schemes to work on.
2080 (ffap--toggle-read-only): New function.
2081 (ffap-read-only, ffap-read-only-other-window)
2082 (ffap-read-only-other-frame): Use it.
2083 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2084 necessary for ffap-url-unwrap-remote.
2085
2086 2012-05-10 Dave Abrahams <dave@boostpro.com>
2087
2088 * cus-start.el (create-lockfiles): Add it.
2089
2090 2012-05-09 Chong Yidong <cyd@gnu.org>
2091
2092 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2093 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2094
2095 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2098
2099 2012-05-09 Chong Yidong <cyd@gnu.org>
2100
2101 * ansi-color.el (ansi-color-process-output): Check for validity of
2102 comint-last-output-start before using it. This avoids a bad
2103 interaction with gdb-mi's input/output buffer.
2104
2105 2012-05-09 Glenn Morris <rgm@gnu.org>
2106
2107 * files.el (dir-locals-read-from-file):
2108 Mention dir-locals in any error message.
2109
2110 2012-05-09 Chong Yidong <cyd@gnu.org>
2111
2112 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2113 package (Bug#11410).
2114
2115 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2116 variables into description.
2117
2118 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2121 shell-delimiter-argument-list (bug#11348).
2122 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2123
2124 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * textmodes/rst.el: Silence byte-compiler warnings.
2127 (rst-re-alist, rst-reset-section-caches): Move around.
2128 (rst-re): Use `characterp', not `char-valid-p'.
2129 (font-lock-beg, font-lock-end): Declare.
2130
2131 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2132 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2133
2134 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2135
2136 2012-05-08 Glenn Morris <rgm@gnu.org>
2137
2138 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2139
2140 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * vc/log-edit.el: Add GNU coding standards highlighting.
2143 (log-edit-font-lock-gnu-style)
2144 (log-edit-font-lock-gnu-keywords): New vars.
2145 (log-edit-font-lock-keywords): New fun.
2146 (log-edit-mode): Don't fold case in font-lock.
2147 (log-edit-font-lock-keywords): Do not assume case-folding.
2148
2149 * imenu.el: Misc cleanup. Make docstrings out of comments.
2150 Use lexical-binding.
2151 (imenu--index-alist, imenu--last-menubar-index-alist)
2152 (imenu-menubar-modified-tick): Use defvar-local.
2153 (imenu--split-menu): Remove unused var.
2154 (imenu--cleanup-seen): Declare as global.
2155 (imenu--cleanup): Use dolist.
2156
2157 * subr.el (defvar-local): Add debug spec and doc-string position.
2158
2159 2012-05-08 Glenn Morris <rgm@gnu.org>
2160
2161 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2162 * language/english.el, language/georgian.el, language/greek.el:
2163 * language/japanese.el, language/khmer.el, language/korean.el:
2164 * language/lao.el, language/misc-lang.el, language/romanian.el:
2165 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2166 * language/thai.el, language/utf-8-lang.el:
2167 Remove no-byte-compile setting.
2168
2169 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2170
2171 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2172
2173 * progmodes/make-mode.el (makefile-browse):
2174 Remove unnecessary interactive. (Bug#11324)
2175
2176 2012-05-07 Glenn Morris <rgm@gnu.org>
2177
2178 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2179
2180 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2181
2182 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * loadup.el: Preload newcomment.el.
2185 * newcomment.el: Move autoload-only code to toplevel.
2186
2187 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2188 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2189 Handle new :right-align column property.
2190 (tabulated-list-print-col): Idem, plus use `display' text-property to
2191 try and preserve alignment for variable pitch fonts.
2192
2193 2012-05-07 Chong Yidong <cyd@gnu.org>
2194
2195 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2196 (tabulated-list-use-header-line): New var.
2197 (tabulated-list-init-header): Use it.
2198 (tabulated-list-print-fake-header): New function.
2199 (tabulated-list-print): Use it.
2200 (tabulated-list-sort-button-map): Add non-header-line commands.
2201 (tabulated-list-init-header): Add column name property to basic
2202 labels as well.
2203 (tabulated-list-col-sort): Handle non-header-line button case.
2204 (tabulated-list--sort-by-column-name): Fix a corner case.
2205
2206 * buff-menu.el (list-buffers--refresh):
2207 Handle Buffer-menu-use-header-line.
2208
2209 2012-05-06 Chong Yidong <cyd@gnu.org>
2210
2211 * buff-menu.el: Convert to Tabulated List mode.
2212 (Buffer-menu-buffer+size-width): Make obsolete.
2213 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2214 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2215 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2216 documentation into docstring of buffer-menu.
2217 (Buffer-menu-toggle-files-only): Add an informative message.
2218 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2219 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2220 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2221 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2222 (Buffer-menu-execute, Buffer-menu-select)
2223 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2224 (Buffer-menu-bury): Use Tabulated List machinery.
2225 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2226 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2227 Delete.
2228 (list-buffers--refresh): New function.
2229 (list-buffers-noselect): Use it.
2230 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2231 (Buffer-menu--pretty-file-name): New helper functions.
2232
2233 * loadup.el: Preload tabulated-list.
2234
2235 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2236 tabulated-list-sort-column.
2237 (tabulated-list-init-header): Add the initial aligning space even
2238 if tabulated-list-padding is zero.
2239
2240 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2241
2242 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2243 whose cdr is not a cons cell correctly (bug#11038).
2244
2245 2012-05-06 Chong Yidong <cyd@gnu.org>
2246
2247 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2248 Accept additional plist in column descriptors.
2249 (tabulated-list-init-header): Obey it.
2250 (tabulated-list-get-entry): New function.
2251 (tabulated-list-put-tag): Use it. Use string-width instead of
2252 length.
2253 (tabulated-list--column-number): New function.
2254 (tabulated-list-print): Use it.
2255 (tabulated-list-print-col): New function.
2256 Set `tabulated-list-column-name' property on each column's text.
2257 (tabulated-list-print-entry): Use it.
2258 (tabulated-list-delete-entry, tabulated-list-set-col):
2259 New functions.
2260 (tabulated-list-sort-column): New command (Bug#11337).
2261
2262 * buff-menu.el (list-buffers): Move C-x C-b binding from
2263 buff-menu.el to bindings.el.
2264
2265 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2266 :advertised-binding feature.
2267
2268 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2269
2270 * progmodes/compile.el (compilation-internal-error-properties):
2271 Calculate start position correctly when end-col is set but
2272 end-line is not (Bug#11382).
2273
2274 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2275
2276 * man.el (Man-unindent): Use text-property-default-nonsticky to
2277 prevent untabify from inheriting face properties (Bug#11408).
2278
2279 2012-05-05 Stefan Merten <smerten@oekonux.de>
2280
2281 * textmodes/rst.el: Major merge with upstream development up to
2282 Docutils SVN r7399 / rst.el V1.2.1.
2283
2284 Clarify maintainership and authors.
2285
2286 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2287 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2288 (rst-official-version, rst-official-cvs-rev, rst-version)
2289 (rst-package-emacs-version-alist): New functions and variables
2290 for version information.
2291
2292 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2293 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2294 (rst-mode-syntax-table, rst-mode): New and corrected functions
2295 and variables representing reStructuredText features.
2296
2297 (rst-re): New function for reStructuredText regexes. Use in
2298 many places.
2299
2300 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2301 (rst-mode-map): Rebind keys.
2302
2303 (rst-mode-lazy, rst-font-lock-keywords)
2304 (rst-font-lock-extend-region)
2305 (rst-font-lock-extend-region-internal)
2306 (rst-font-lock-extend-region-extend)
2307 (rst-font-lock-find-unindented-line-limit)
2308 (rst-font-lock-find-unindented-line-match)
2309 (rst-adornment-level, rst-font-lock-adornment-level)
2310 (rst-font-lock-adornment-match)
2311 (rst-font-lock-handle-adornment-pre-match-form)
2312 (rst-font-lock-handle-adornment-matcher): Major revision of
2313 font-locking. Integrate with other code. Use `jit-lock-mode'.
2314
2315 (rst-preferred-adornments, rst-adjust-hook)
2316 (rst-new-adornment-down, rst-preferred-bullets)
2317 (rst-preferred-bullets, rst-indent, rst-indent-width)
2318 (rst-indent-field, rst-indent-literal-normal)
2319 (rst-indent-literal-minimized, rst-indent-comment): Change,
2320 extend and improve customization.
2321
2322 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2323 (rst-normalize-cursor-position, rst-get-decoration)
2324 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2325 (rst-rstrip, rst-toc-insert-find-delete-contents)
2326 (rst-shift-fill-region, rst-compute-bullet-tabs)
2327 (rst-debug-print-tabs, rst-debug-mark-found)
2328 (rst-shift-region-guts, rst-shift-region-right)
2329 (rst-shift-region-left, rst-use-char-classes)
2330 (rst-font-lock-keywords-function)
2331 (rst-font-lock-indentation-point)
2332 (rst-font-lock-find-unindented-line-begin)
2333 (rst-font-lock-find-unindented-line-end)
2334 (rst-font-lock-find-unindented-line)
2335 (rst-font-lock-adornment-point, rst-font-lock-level)
2336 (rst-adornment-level-alist): Remove functions and variables.
2337
2338 (rst-compare-adornments, rst-get-adornment-match)
2339 (rst-suggest-new-adornment, rst-get-adornments-around)
2340 (rst-adornment-complete-p, rst-get-next-adornment)
2341 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2342 (rst-straighten-adornments): Standardize function names to
2343 use "adornment" instead of "decoration". Correct callers.
2344 Similar standardizing in many places.
2345
2346 (rst-update-section, rst-adjust, rst-promote-region)
2347 (rst-enumerate-region, rst-bullet-list-region)
2348 (rst-repeat-last-character): Correct use of `interactive'.
2349
2350 (rst-classify-adornment, rst-find-all-adornments)
2351 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2352 (rst-find-leftmost-column, rst-repeat-last-character):
2353 Refactor functions.
2354
2355 (rst-find-title-line, rst-reset-section-caches)
2356 (rst-get-adornments-around, rst-adjust-adornment-work)
2357 (rst-arabic-to-roman, rst-roman-to-arabic)
2358 (rst-insert-list-pos, rst-insert-list-new-item)
2359 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2360 New functions.
2361
2362 (rst-all-sections, rst-section-hierarchy)
2363 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2364 New variables.
2365
2366 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2367 configuration instead of only buffer. Change where necessary.
2368
2369 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2370 (rst-shift-region, rst-adaptive-fill): New functions for
2371 indentation and filling.
2372
2373 (rst-comment-line-break, rst-comment-indent)
2374 (rst-comment-insert-comment, rst-comment-region)
2375 (rst-uncomment-region): New functions for handling comments.
2376
2377 (rst-compile): Quote shell arguments.
2378
2379 (rst-compile-pdf-preview, rst-compile-slides-preview):
2380 Delete temporary files after use.
2381
2382 2012-05-05 Glenn Morris <rgm@gnu.org>
2383
2384 * calendar/cal-html.el: Optionally include holidays in the output.
2385 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2386 (cal-html-holidays): New option.
2387 (cal-html-css-default): Add holiday entry.
2388 (holiday-in-range): Autoload it.
2389 (cal-html-htmlify-entry): Add optional class argument.
2390 (cal-html-htmlify-list): Add optional holidays argument.
2391 (cal-html-insert-agenda-days): Include holidays in the output.
2392 (cal-html-one-month): Maybe include holidays.
2393
2394 * calendar/holidays.el (holiday-in-range):
2395 Move here from cal-tex-list-holidays.
2396 * calendar/cal-tex.el (cal-tex-list-holidays):
2397 Make it an obsolete alias for holiday-in-range. Update all callers.
2398
2399 2012-05-05 Chong Yidong <cyd@gnu.org>
2400
2401 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2402 Nextstep.
2403
2404 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2405
2406 * files.el (file-auto-mode-skip): New var.
2407 (set-auto-mode-1): Use it.
2408
2409 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * repeat.el: Use lexical-binding.
2412 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2413 (repeat-undo-count): Remove.
2414 (repeat):
2415 * progmodes/octave-mod.el (octave-abbrev-start):
2416 * progmodes/f90.el (f90-abbrev-start):
2417 * face-remap.el (text-scale-adjust):
2418 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2419
2420 * emacs-lisp/pcase.el (pcase--let*): New function.
2421 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2422 a bit more.
2423 (pcase--split-pred): Be more clever about ruling out overlap between
2424 a predicate and some constant pattern.
2425 (pcase--q1): Use `null' instead of (eq foo nil).
2426
2427 * subr.el (setq-local, defvar-local): New macros.
2428 (kbd): Redefine as an alias.
2429 (with-selected-window): Leave unrelated frames alone.
2430 (set-temporary-overlay-map): New function.
2431
2432 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * subr.el (user-error): New function.
2435 * window.el (switch-to-buffer):
2436 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2437 (smerge-match-conflict):
2438 * simple.el (previous-matching-history-element)
2439 (next-matching-history-element, goto-history-element, undo-more)
2440 (undo-start):
2441 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2442 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2443 (next-file, tags-loop-scan, list-tags, complete-tag):
2444 * progmodes/compile.el (compilation-loop):
2445 * mouse.el (mouse-minibuffer-check):
2446 * man.el (Man-bgproc-sentinel, Man-goto-page):
2447 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2448 (Info-history-forward, Info-follow-reference, Info-menu)
2449 (Info-extract-menu-item, Info-extract-menu-counting)
2450 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2451 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2452 (Info-next-reference, Info-prev-reference, Info-index)
2453 (Info-index-next, Info-follow-nearest-node)
2454 (Info-copy-current-node-name):
2455 * imenu.el (imenu--make-index-alist)
2456 (imenu-default-create-index-function, imenu-add-to-menubar):
2457 * files.el (basic-save-buffer, recover-file):
2458 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2459 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2460 (checkdoc-message-text, checkdoc-defun):
2461 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2462 * cus-edit.el (customize-changed-options, customize-rogue)
2463 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2464 (custom-variable-mark-to-reset-standard)
2465 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2466 (custom-file):
2467 * completion.el (check-completion-length):
2468 * comint.el (comint-search-arg)
2469 (comint-previous-matching-input-string-position)
2470 (comint-previous-matching-input)
2471 (comint-replace-by-expanded-history-before-point, comint-send-input)
2472 (comint-copy-old-input, comint-backward-matching-input)
2473 (comint-goto-process-mark, comint-set-process-mark):
2474 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2475 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2476
2477 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * dabbrev.el (dabbrev--ignore-case-p): New function.
2480 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2481 Use it.
2482
2483 * files.el (automount-dir-prefix): Mark as obsolete.
2484
2485 2012-05-04 Glenn Morris <rgm@gnu.org>
2486
2487 * patcomp.el, play/bruce.el: Move to obsolete/.
2488
2489 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2490
2491 Fix minor Y10k bugs.
2492 * arc-mode.el (archive-unixdate):
2493 * autoinsert.el (auto-insert-alist):
2494 * calc/calc-forms.el (math-this-year):
2495 * emacs-lisp/copyright.el (copyright-current-year)
2496 (copyright-update-year, copyright):
2497 * tar-mode.el (tar-clip-time-string):
2498 * time.el (display-time-update):
2499 Don't assume years have 4 digits.
2500
2501 2012-05-04 Chong Yidong <cyd@gnu.org>
2502
2503 * dos-w32.el (file-name-buffer-file-type-alist)
2504 (direct-print-region-use-command-dot-com):
2505 * ffap.el (ffap-menu-regexp):
2506 * find-file.el (ff-special-constructs):
2507 * follow.el (follow-debug):
2508 * forms.el (forms--debug):
2509 * iswitchb.el (iswitchb-all-frames):
2510 * ido.el (ido-all-frames):
2511 * emacs-lisp/timer.el (timer-max-repeats):
2512 * mail/feedmail.el (feedmail-mail-send-hook)
2513 (feedmail-mail-send-hook-queued):
2514 * mail/footnote.el (footnote-signature-separator):
2515 * mail/mailabbrev.el (mail-alias-separator-string)
2516 (mail-abbrev-mode-regexp):
2517 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2518 * progmodes/idlwave.el (idlwave-libinfo-file)
2519 (idlwave-default-completion-case-is-down)
2520 (idlwave-library-routines): Convert defvars to defcustoms.
2521
2522 * mail/rmail.el (rmail-decode-mime-charset):
2523 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2524 (idlwave-shell-fix-inserted-breaks)
2525 (idlwave-shell-activate-alt-keybindings)
2526 (idlwave-shell-use-breakpoint-glyph):
2527 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2528
2529 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2532
2533 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2534
2535 * progmodes/verilog-mode.el (font-lock-keywords):
2536 Fix mis-highligting auto. Reported by Craig Barner.
2537 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2538 defines from global name space. Reported by Dan Dever.
2539 (verilog-auto-reset, verilog-auto-reset-widths)
2540 (verilog-auto-tieoff): Support using unbased numbers for
2541 AUTORESET and AUTOTIEOFF.
2542 (verilog-submit-bug-report): Update variable list.
2543 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2544 parenthesis from not matching. Reported by Michael Rytting.
2545 (verilog-auto-template-lint): Fix hash error when linting modules
2546 with no used templates.
2547 (verilog-warn, verilog-warn-error)
2548 (verilog-warn-fatal): When non-interactive report multiple
2549 warnings before exiting. Suggested by Brad Dobbie.
2550 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2551 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2552 to report unused template errors. Reported by Brad Dobbie.
2553 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2554 nets, bug438. Reported by Vns Blore.
2555 (verilog-auto-inout-module, verilog-auto-reg)
2556 (verilog-read-decls, verilog-read-sub-decls-sig)
2557 (verilog-signals-edit-wire-reg, verilog-signals-with):
2558 Fix passing of Verilog data types in ANSI input/output ports
2559 such as "output logic" into the AUTOs. Special case "wire" and
2560 "reg" for backwards compatibility presuming Verilog 2001.
2561 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2562 (verilog-preprocess): Fix replication of preprocess output.
2563 Reported by Brad Dobbie.
2564 (verilog-auto-inst-interfaced-ports):
2565 Create verilog-auto-inst-interfaced-ports, bug429.
2566 Reported by Julian Gorfajn.
2567 (verilog-after-save-font-hook)
2568 (verilog-before-save-font-hook): New variable.
2569 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2570 (verilog-save-font-mods): Wrap disabling fontification, reported
2571 by David Rogoff.
2572 (verilog-do-indent, verilog-pretty-declarations-auto)
2573 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2574 Reported by Pierre-David Pfister.
2575 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2576 of class declarations, bug292. Reported by Kevin Heilman.
2577 (verilog-read-decls): Fix 'parameter type' not appearing in
2578 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2579 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2580 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2581 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2582 Reported by David Kravitz.
2583
2584 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2585
2586 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2587 assignment with tests in ifs and for loops.
2588 (verilog-extended-complete-re, verilog-complete-reg): Change so
2589 that DPI inport functions don't look like fuction declarations.
2590 (verilog-pretty-expr): Don't line up assignment
2591 operations to the test and increment in if and for loops
2592 (verilog-extended-complete-re, verilog-complete-reg): Change so
2593 that DPI inport functions don't look like fuction declarations
2594
2595 2012-05-03 Kenichi Handa <handa@m17n.org>
2596
2597 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2598 decoding, and show a warning message without signaling an error
2599 (Bug#11282).
2600
2601 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * emacs-lisp/bytecomp.el
2604 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2605 since cconv.el might have introduced :fun-body, internal-make-closure,
2606 and friends for bytecomp to handle (bug#11391).
2607 * custom.el (defcustom): Avoid ((λ ..) ..).
2608
2609 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2612
2613 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2614
2615 * notifications.el (dbus-debug):
2616 * term/linux.el (gpm-mouse-enable):
2617 * term/screen.el (xterm-register-default-colors): Declare.
2618
2619 2012-05-02 Chong Yidong <cyd@gnu.org>
2620
2621 * cus-start.el (gc-cons-percentage, exec-suffixes)
2622 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2623 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2624 (make-cursor-line-fully-visible, void-text-area-pointer)
2625 (font-list-limit): Add customization data.
2626
2627 * allout.el (allout-exposure-change-functions)
2628 (allout-structure-added-functions)
2629 (allout-structure-deleted-functions)
2630 (allout-structure-shifted-functions): Rename abnormal hooks from
2631 *-hook, and convert to defcustoms.
2632 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2633 Convert to defcustoms.
2634 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2635
2636 * allout-widgets.el: Hook callers changed.
2637
2638 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2639
2640 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2641 the yanked message in preference to the default value of
2642 buffer-file-coding-system.
2643
2644 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2645
2646 * window.el (display-buffer--action-function-custom-type):
2647 Fix entry.
2648
2649 2012-05-02 Alan Mackenzie <acm@muc.de>
2650
2651 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2652
2653 2012-05-01 Glenn Morris <rgm@gnu.org>
2654
2655 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2656
2657 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2658
2659 * cus-edit.el (custom-variable-documentation): Simplify with format.
2660
2661 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2662 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 * simple.el (suggest-key-bindings, execute-extended-command):
2665 Move from keyboard.c.
2666
2667 2012-05-01 Chong Yidong <cyd@gnu.org>
2668
2669 * follow.el: Eliminate advice.
2670 (set-process-filter, process-filter, sit-for): Advice deleted.
2671 (follow-mode-off-hook): Obsolete hook removed.
2672 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2673 Vars deleted.
2674 (follow-auto): Use a :set function.
2675 (follow-mode): Rewritten. Don't advise process filters.
2676 (follow-switch-to-current-buffer-all, follow-scroll-up)
2677 (follow-scroll-down): Assume follow-mode is bound.
2678 (follow-comint-scroll-to-bottom)
2679 (follow-align-compilation-windows): New functions.
2680 (follow--window-sorter): New function.
2681 (follow-all-followers): Use it to explicitly sort windows by their
2682 positions; don't make assumptions about next-window order.
2683 (follow-windows-start-end, follow-delete-other-windows-and-split)
2684 (follow-calc-win-start): Doc fix.
2685 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2686 vertical-motion unnecessarily.
2687 (follow-adjust-window): New function.
2688 (follow-post-command-hook): Use it.
2689 (follow-call-set-process-filter, follow-call-process-filter)
2690 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2691 (follow-stop-intercept-process-output, follow-generic-filter):
2692 Functions deleted.
2693 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2694 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2695 New functions, replacing advice on scroll-bar-* commands.
2696 (follow-mwheel-scroll): New function (Bug#4112).
2697
2698 * comint.el (comint-adjust-point): New function.
2699 (comint-postoutput-scroll-to-bottom): Use it.
2700 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2701
2702 2012-05-01 Glenn Morris <rgm@gnu.org>
2703
2704 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2705 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2706 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2707 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2708 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2709 Remove no-byte-compile setting.
2710
2711 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2714 all-completions code to not return a number in the last cdr.
2715
2716 2012-04-30 Leo Liu <sdl.web@gmail.com>
2717
2718 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2719 read-only error.
2720
2721 2012-04-29 Chong Yidong <cyd@gnu.org>
2722
2723 * follow.el (follow-calc-win-end): Rewrite to handle partial
2724 screen lines correctly (Bug#8390).
2725 (follow-avoid-tail-recenter): Minor cleanup.
2726
2727 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2728
2729 Avoid the obsolete `assoc' package.
2730 * speedbar.el (speedbar-refresh): Avoid adelete.
2731 (speedbar-file-lists): Simplify and avoid aput.
2732 * man.el (Man--sections, Man--refpages): New vars, replacing
2733 Man-sections-alist and Man-refpages-alist.
2734 (Man-build-section-alist, Man-build-references-alist):
2735 Use them; avoid aput.
2736 (Man--last-section, Man--last-refpage): New vars.
2737 (Man-follow-manual-reference): Use them.
2738 Use the `default' arg of completing-read.
2739 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2740
2741 2012-04-27 Chong Yidong <cyd@gnu.org>
2742
2743 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2744
2745 * startup.el (x-apply-session-resources): New function.
2746
2747 * term/ns-win.el (ns-initialize-window-system):
2748 * term/w32-win.el (w32-initialize-window-system):
2749 * term/x-win.el (x-initialize-window-system): Use it to properly
2750 set menu-bar-mode and other vars from X resources, even if the
2751 initial frame is not a window-system frame (Bug#2299).
2752
2753 * subr.el (read-key): Avoid running filter function when setting
2754 up temporary tool bar entries (Bug#9922).
2755
2756 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2757
2758 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2759 (Bug#11344)
2760
2761 2012-04-27 Chong Yidong <cyd@gnu.org>
2762
2763 * select.el (xselect--encode-string): New function, split from
2764 xselect-convert-to-string.
2765 (xselect-convert-to-string): Use it.
2766 (xselect-convert-to-filename, xselect-convert-to-os)
2767 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2768 returned strings are properly encoded (Bug#11315).
2769
2770 2012-04-27 Chong Yidong <cyd@gnu.org>
2771
2772 * simple.el (delete-active-region): Move to killing custom group.
2773
2774 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2775
2776 * progmodes/which-func.el (which-func-current): Quote %
2777 characters for mode-line processing.
2778
2779 2012-04-27 Chong Yidong <cyd@gnu.org>
2780
2781 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2782 reaching eob (Bug#11286).
2783
2784 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2785
2786 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2787 (gdb): Make it buffer-local and init to zero.
2788 (gdb-control-commands-regexp): New variable.
2789 (gdb-send): Don't wrap in "-interpreter-exec console" if
2790 gdb-control-level is positive. Increment gdb-control-level
2791 whenever the command matches gdb-control-commands-regexp, and
2792 decrement it each time the command is "end". (Bug#11279)
2793
2794 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2795
2796 * window.el (adjust-window-trailing-edge, enlarge-window)
2797 (shrink-window, window-resize):
2798 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2799 windows (Bug#11276).
2800
2801 2012-04-27 Chong Yidong <cyd@gnu.org>
2802
2803 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2804 fix "missing prefix" warning. All callers changed.
2805
2806 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacs-lisp/assoc.el: Move to obsolete/.
2809
2810 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2811
2812 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2813
2814 * term/ns-win.el (ns-define-service):
2815 * progmodes/pascal.el (pascal-goto-defun):
2816 * progmodes/js.el (js--read-tab):
2817 * progmodes/etags.el (tags-lazy-completion-table):
2818 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2819 * emacs-lisp/ewoc.el (ewoc--wrap):
2820 * emacs-lisp/assoc.el (aput, adelete, amake):
2821 * doc-view.el (doc-view-convert-current-doc):
2822 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2823
2824 2012-04-26 Chong Yidong <cyd@gnu.org>
2825
2826 * image.el (image-type-from-buffer): Only return supported image
2827 type (Bug#9045).
2828
2829 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2830 value, for symmetry with diff-end-of-hunk.
2831 (diff-split-hunk, diff-find-source-location)
2832 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2833 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2834 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2835 compute the relevant hunk or file properly (Bug#6005).
2836 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2837
2838 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * vc/vc-mtn.el:
2841 * vc/vc-hg.el:
2842 * vc/vc-git.el:
2843 * vc/vc-dir.el:
2844 * vc/vc-cvs.el:
2845 * vc/vc-bzr.el:
2846 * vc/vc-arch.el:
2847 * vc/vc.el: Replace lexical-let by lexical-binding.
2848 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2849 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2850 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2851
2852 2012-04-26 Chong Yidong <cyd@gnu.org>
2853
2854 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2855 (diff-mode-shared-map): Bind it to / and [remap undo].
2856
2857 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2858 (ediff-window-setup-function): Use it as the default, to set up
2859 windows based on whether the current frame is graphical (Bug#2138).
2860 (ediff-choose-window-setup-function-automatically): Make obsolete.
2861
2862 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2863
2864 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * ffap.el: Remove old code for obsolete package.
2867 (ffap-complete-as-file-p): Remove.
2868
2869 Use completion-table-with-quoting for comint and pcomplete.
2870 * comint.el (comint--unquote&requote-argument)
2871 (comint--unquote-argument, comint--requote-argument): New functions.
2872 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2873 (comint-quote-filename): Use regexp-opt-charset.
2874 (comint--common-suffix, comint--common-quoted-suffix)
2875 (comint--table-subvert): Remove.
2876 (comint-unquote-function, comint-requote-function): New vars.
2877 (comint--complete-file-name-data): Use them with
2878 completion-table-with-quoting.
2879 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2880 * pcomplete.el (pcomplete-arg-quote-list)
2881 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2882 (pcomplete-unquote-argument-function): Default to non-nil.
2883 (pcomplete-unquote-argument): Simplify.
2884 (pcomplete--common-quoted-suffix): Remove.
2885 (pcomplete-requote-argument-function): New var.
2886 (pcomplete--common-suffix): New function.
2887 (pcomplete-completions-at-point): Use completion-table-with-quoting
2888 and completion-table-subvert.
2889
2890 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2891 (minibuffer--double-dollars): Preserve properties.
2892 (completion--sifn-requote): New function.
2893 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2894
2895 * minibuffer.el: Add support for completion of quoted/escaped data.
2896 (completion-table-with-quoting, completion-table-subvert): New funs.
2897 (completion--twq-try, completion--twq-all): New functions.
2898 (completion--nth-completion): New function.
2899 (completion-try-completion, completion-all-completions): Use it.
2900
2901 2012-04-25 Leo Liu <sdl.web@gmail.com>
2902
2903 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2904 Use compilation-message if available to find real filename.
2905
2906 2012-04-25 Chong Yidong <cyd@gnu.org>
2907
2908 * vc/diff-mode.el (diff-setup-whitespace): New function.
2909 (diff-mode): Use it.
2910
2911 * vc/diff.el (diff-sentinel):
2912 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2913 Whitespace mode variables based on diff style (Bug#8612).
2914
2915 2012-04-25 Leo Liu <sdl.web@gmail.com>
2916
2917 * progmodes/python.el (python-send-region): Add suffix .py to the
2918 temp file.
2919
2920 * files.el (auto-mode-alist): Use javascript-mode instead.
2921
2922 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2923
2924 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2925
2926 * soap-client.el (soap-resolve-references-for-sequence-type)
2927 (soap-resolve-references-for-array-type): Hack to prevent self
2928 references, see Bug#9.
2929 (soap-parse-envelope): Report the contents of the 'detail' node
2930 when receiving a fault reply.
2931 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2932
2933 * soap-inspect.el (soap-sample-value-for-simple-type)
2934 (soap-inspect-simple-type): New function.
2935
2936 * soap-client.el (soap-simple-type): New struct.
2937 (soap-default-xsd-types, soap-default-soapenc-types)
2938 (soap-decode-basic-type, soap-encode-basic-type):
2939 support unsignedInt and double basic types.
2940 (soap-resolve-references-for-simple-type)
2941 (soap-parse-simple-type, soap-encode-simple-type): New function.
2942 (soap-parse-schema): Parse xsd:simpleType declarations.
2943
2944 * soap-client.el (soap-default-xsd-types)
2945 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2946 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2947 the local name of "soapenc:Array".
2948 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2949 decoding integer, byte and anyURI xsd types.
2950
2951 2012-04-25 Chong Yidong <cyd@gnu.org>
2952
2953 * cus-edit.el (custom-buffer-create-internal): Update header text.
2954
2955 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2956
2957 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2958 settings on 'system-type', not on 'window-system'. On MS-Windows,
2959 set interactive-mode on in GDB.
2960
2961 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2964 (ruby-syntax-propertize-regexp): Remove.
2965 (ruby-syntax-propertize-function): Split regexp into chunks.
2966 Match following code directly.
2967
2968 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2969
2970 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2971 (ruby-syntax-propertize-regexp): New function.
2972 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2973 by a special keyword.
2974
2975 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2976 (ruby-syntax-general-delimiters-goto-beg)
2977 (ruby-syntax-propertize-general-delimiters): New functions.
2978 (ruby-syntax-propertize-function): Use them to handle GDL.
2979 (ruby-font-lock-keywords): Move old handling of GDL...
2980 (ruby-font-lock-syntactic-keywords): .. to here.
2981 (ruby-calculate-indent): Adjust indentation for GDL.
2982
2983 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2984
2985 * notifications.el (top): Remove unneeded declarations.
2986 (notifications-specification-version): Change to "1.2".
2987 (notifications-interface, notifications-notify-method)
2988 (notifications-close-notification-method): Fix docstring.
2989 (notifications-get-capabilities-method): New defconst.
2990 (notifications-notify): Add :action-items, :resident and
2991 :transient hints. Change "image_data" to "image-data" and
2992 "image_path" to "image-path".
2993 (notifications-get-capabilities): New defun.
2994
2995 2012-04-24 Leo Liu <sdl.web@gmail.com>
2996
2997 * progmodes/python.el: Move hideshow setup to the end.
2998
2999 2012-04-24 Martin Rudalics <rudalics@gmx.at>
3000
3001 * window.el (handle-select-window): Clear echo area since this is
3002 no more done by read_char (Bug#11304).
3003
3004 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3007 and `/ M' to filter-derived-mode.
3008 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3009 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3010 (ibuffer-mark-by-mode): Use default rather than initial-input.
3011 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3012
3013 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3014
3015 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3016 (ibuffer-filter-by-derived-mode): New filter.
3017 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3018
3019 2012-04-23 Andreas Politz <politza@fh-trier.de>
3020
3021 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3022
3023 2012-04-23 Chong Yidong <cyd@gnu.org>
3024
3025 * cus-edit.el (customize-apropos, customize-apropos-options):
3026 Disable matching of non-option variables (Bug#11176).
3027 (customize-option, customize-option-other-window)
3028 (customize-changed-options): Doc fix.
3029 (customize-apropos-options, customize-apropos-faces)
3030 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3031
3032 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3033 Fix word list splitting (Bug#11132).
3034 (apropos-symbol, apropos-keybinding, apropos-label)
3035 (apropos-property, apropos-function-button)
3036 (apropos-variable-button, apropos-misc-button): New faces.
3037 (apropos-symbol-face, apropos-keybinding-face)
3038 (apropos-label-face, apropos-property-face, apropos-match-face):
3039 Variables removed (Bug#8396).
3040 (apropos-library-button, apropos-format-plist, apropos-print)
3041 (apropos-print-doc, apropos-describe-plist): Callers changed.
3042
3043 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * net/xesam.el (xesam-mode-map): Use let-bound map in
3046 initialization. (Bug#11292)
3047
3048 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3049
3050 Preserve ispell session localwords when switching back to
3051 original buffer.
3052
3053 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3054 variable to hold buffer session localwords.
3055 (ispell-kill-ispell): add option 'clear to delete session
3056 localwords.
3057 (ispell-command-loop, ispell-change-dictionary)
3058 (ispell-buffer-local-words): Preserve session localwords when
3059 needed.
3060
3061 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3062 Preserve session localwords when needed.
3063
3064 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3065
3066 * ispell.el (ispell-insert-word) Remove unneeded function using
3067 obsolete `translation-table-for-input'.
3068 (ispell-word, ispell-process-line, ispell-complete-word):
3069 Use plain `insert' instead of removed `ispell-insert-word'.
3070
3071 2012-04-22 Chong Yidong <cyd@gnu.org>
3072
3073 * cus-edit.el (custom-variable-menu)
3074 (custom-variable-reset-saved, custom-face-menu)
3075 (custom-face-reset-saved): If there is no saved value, make the
3076 "reset-saved" operation bring back the default (Bug#9509).
3077 (custom-face-state): Properly detect themed faces.
3078
3079 * faces.el (face-spec-set): Stop supporting deprecated form of
3080 third arg.
3081
3082 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3083
3084 Move functions from C to Lisp. Make non-blocking method calls
3085 the default. Implement further D-Bus standard interfaces.
3086
3087 * net/dbus.el (dbus-message-internal): Declare function.
3088 Remove unneeded function declarations.
3089 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3090 (dbus-message-type-method-return, dbus-message-type-error)
3091 (dbus-message-type-signal): Declare variables. Remove local
3092 definitions.
3093 (dbus-interface-dbus, dbus-interface-peer)
3094 (dbus-interface-introspectable, dbus-interface-properties)
3095 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3096 Adapt docstring.
3097 (dbus-interface-objectmanager): New defconst.
3098 (dbus-call-method, dbus-call-method-asynchronously)
3099 (dbus-send-signal, dbus-method-return-internal)
3100 (dbus-method-error-internal, dbus-register-service)
3101 (dbus-register-signal, dbus-register-method): New defuns, moved
3102 from dbusbind.c
3103 (dbus-call-method-handler, dbus-setenv)
3104 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3105 New defuns.
3106 (dbus-call-method-non-blocking): Make it an obsolete function.
3107 (dbus-unregister-object, dbus-unregister-service)
3108 (dbus-handle-event, dbus-register-property)
3109 (dbus-property-handler): Obey the new structure of
3110 `bus-registered-objects'.
3111 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3112 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3113 Use `dbus-call-method'.
3114
3115 2012-04-22 Chong Yidong <cyd@gnu.org>
3116
3117 * cus-edit.el (custom-commands, custom-reset-menu)
3118 (Custom-reset-standard): Tweak labels.
3119 (custom-reset-button-menu): Change default to t.
3120 (custom-buffer-create-internal): For the custom-reset-button-menu
3121 case, put the revert button first.
3122 (custom-group-subtitle): New face.
3123 (custom-group-value-create): Align docstring to a specific column.
3124
3125 * wid-edit.el (widget-documentation-link-add): Don't handle
3126 indentation in this function.
3127 (widget-documentation-string-indent-to): New function.
3128 (widget-documentation-string-value-create): Use it.
3129
3130 * autorevert.el (auto-revert):
3131 * epg-config.el (epg):
3132 * ibuffer.el (ibuffer):
3133 * mpc.el (mpc):
3134 * ses.el (ses):
3135 * eshell/eshell.el (eshell):
3136 * net/ange-ftp.el (ange-ftp):
3137 * progmodes/ebnf2ps.el (postscript):
3138 * progmodes/flymake.el (flymake):
3139 * progmodes/prolog.el (prolog):
3140 * progmodes/verilog-mode.el (verilog-mode):
3141 * progmodes/which-func.el (which-func):
3142 * term/xterm.el (xterm):
3143 * textmodes/picture.el (picture):
3144 * textmodes/tildify.el (tildify):
3145 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3146 customization buffers.
3147
3148 2012-04-22 Alan Mackenzie <acm@muc.de>
3149
3150 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3151 Adding a ) can hide the resulting (..) from searches. Fix it.
3152 Bound the backward search to the position of the existing (.
3153
3154 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3155
3156 * progmodes/verilog-mode.el (verilog-mode): Check whether
3157 which-func-modes is t before adding verilog-mode.
3158 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3159
3160 2012-04-21 Leo Liu <sdl.web@gmail.com>
3161
3162 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3163
3164 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3165
3166 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3167 filling of the last column of a table (Bug#5635).
3168 (woman-find-next-control-line): New arg, specifying an additional
3169 regexp component for the control line.
3170 (woman2-roff-buffer): Use it.
3171 (woman-break-table): New function.
3172 (woman2-TS): Use it.
3173
3174 2012-04-21 Chong Yidong <cyd@gnu.org>
3175
3176 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3177 (woman-horizontal-escapes, woman-negative-vertical-space)
3178 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3179 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3180
3181 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * minibuffer.el (completion-file-name-table): Complete user names.
3184
3185 2012-04-20 Leo Liu <sdl.web@gmail.com>
3186
3187 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3188 and pcase-let*.
3189
3190 2012-04-20 Chong Yidong <cyd@gnu.org>
3191
3192 * server.el (server-execute): Respect initial-buffer-choice if it
3193 is a string and there are no files to open (Bug#2825).
3194 (server-create-window-system-frame, server-create-tty-frame):
3195 Don't switch buffers here.
3196 (server-process-filter): Only try to open a window system frame if
3197 compiled with graphical support (Bug#8314).
3198
3199 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3200
3201 * battery.el (battery-echo-area-format): Display remaining time
3202 for sysfs backend too (Bug#11269).
3203 (battery-linux-sysfs): Fix conditional for the charge.
3204
3205 2012-04-20 Chong Yidong <cyd@gnu.org>
3206
3207 * progmodes/gdb-mi.el (gdb): Revert previous change.
3208 (gdb-inferior-io--init-proc): New function.
3209 (gdb-init-1): Use it.
3210 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3211 responsible for allocating a new pty and hooking it to gdb when
3212 the old pty gets an EIO due to process exit.
3213 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3214 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3215 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3216
3217 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3218
3219 * window.el (window-min-size, window-sizable, window-min-delta)
3220 (window-max-delta, window--resizable, window-resizable)
3221 (window-total-size, window-full-height-p, window-full-width-p)
3222 (window-in-direction, window--resize-mini-window, window-resize)
3223 (window--resize-child-windows-normal)
3224 (window--resize-child-windows, window--resize-siblings)
3225 (window--resize-this-window, adjust-window-trailing-edge)
3226 (enlarge-window, shrink-window): Doc fixes.
3227
3228 2012-04-20 Chong Yidong <cyd@gnu.org>
3229
3230 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3231 New function to call delete-process on the gdb-inferior buffer's pty.
3232 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3233 pty process (Bug#11273).
3234 (gdb-update): New arg to suppress talking to the gdb process.
3235 (gdb-done-or-error): Use it.
3236 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3237 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3238 sentinel not being called.
3239
3240 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3241
3242 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3243
3244 2012-04-20 Glenn Morris <rgm@gnu.org>
3245
3246 * net/network-stream.el (open-network-stream): Doc fix.
3247
3248 2012-04-20 Chong Yidong <cyd@gnu.org>
3249
3250 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3251
3252 2012-04-20 Alan Mackenzie <acm@muc.de>
3253
3254 Ensure searching for keywords is case sensitive.
3255
3256 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3257 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3258 (c-defun-name, c-mark-function, c-cpp-define-name)
3259 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3260 (c-context-line-break): Bind case-fold-search to nil.
3261
3262 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3263 Bind case-fold-search to nil.
3264
3265 2012-04-20 Chong Yidong <cyd@gnu.org>
3266
3267 * mail/sendmail.el (mail-bury): Call return action with the right
3268 Rmail buffer (Bug#11242).
3269
3270 * server.el (server-process-filter): Handle corner case where both
3271 tty and nowait options are present (Bug#11102).
3272
3273 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3274
3275 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3276 (top level): Put into the executable the ident-style '$Id:' tag on
3277 windows-nt as well.
3278
3279 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * electric.el (electric-indent-post-self-insert-function): Check that
3282 electric-indent-mode is enabled in current buffer.
3283
3284 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3285
3286 * imenu.el (imenu-progress-message): Restore; it is "used" in
3287 erc/erc-imenu.el and net/snmp-mode.el.
3288
3289 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3290
3291 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3292 (mouse-avoidance-nudge-mouse): Remove unused binding.
3293
3294 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3295
3296 * descr-text.el (describe-char):
3297 * progmodes/python.el (python-describe-symbol):
3298 Don't call `toggle-read-only', set `buffer-read-only'.
3299
3300 * imenu.el (imenu-default-goto-function): Mark unused args.
3301 (imenu-progress-message): Remove obsolete macro; all callers changed.
3302
3303 * subr.el (keymap-canonicalize): Remove unused binding.
3304 (read-passwd): Mark unused arg.
3305
3306 * tutorial.el (tutorial--display-changes): Remove unused binding.
3307 (tutorial--save-tutorial-to): Remove unused variable.
3308
3309 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3310 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3311 (package-generate-autoloads, package-menu--generate)
3312 (package-menu--find-upgrades): Remove unused bindings.
3313
3314 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3315 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3316 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3317 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3318 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3319 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3320 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3321 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3322 (cua-delete-char-rectangle): Mark unused args.
3323 (cua-align-rectangle): Remove unused binding.
3324
3325 * mail/rmail.el (compilation--message->loc)
3326 (epa--find-coding-system-for-mime-charset): Declare.
3327
3328 * net/dbus.el (dbus-register-service): Declare.
3329 (dbus-name-owner-changed-handler): Remove unused binding.
3330
3331 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3332 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3333 (nxml-scan-backward-within): Mark unused arg.
3334 (nxml-dynamic-markup-word): Remove unused binding.
3335
3336 * mouse.el (mouse-menu-major-mode-map):
3337 * emacs-lisp/authors.el (authors-scan-change-log)
3338 (authors-add-to-author-list):
3339 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3340 * emacs-lisp/smie.el (smie-auto-fill):
3341 * mail/sendmail.el (mail-bury):
3342 * mail/unrmail.el (unrmail):
3343 * net/tls.el (open-tls-stream):
3344 * textmodes/picture.el (picture-mouse-set-point):
3345 Remove unused bindings.
3346
3347 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * net/tramp.el (tramp-action-password): Let-bind
3350 `enable-recursive-minibuffers' to t.
3351
3352 2012-04-18 Sam Steingold <sds@gnu.org>
3353
3354 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3355 instead of 'string to accommodate values like [f11].
3356 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3357 * progmodes/gdb-mi.el: Likewise.
3358
3359 2012-04-18 Leo Liu <sdl.web@gmail.com>
3360
3361 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3362 current buffer.
3363 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3364 LOCAL is nil.
3365
3366 2012-04-18 Chong Yidong <cyd@gnu.org>
3367
3368 * simple.el (line-move): Use forward-line if in batch mode
3369 (Bug#11053).
3370
3371 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3372
3373 * files.el (after-find-file): Do not try to add a final newline if
3374 the buffer is read-only (Bug#11156).
3375
3376 2012-04-17 Richard Stallman <rms@gnu.org>
3377
3378 * mail/rmail.el (rmail-start-mail):
3379 Pass (rmail-mail-return...) for the return-action.
3380 Pass (rmail-yank-current-message...) for the yank-action.
3381 (rmail-yank-current-message): New function.
3382 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3383 (rmail-reply): Likewise.
3384 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3385
3386 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3387 buffer, not the last. Reject temp buffers. Use the rmail-mode
3388 buffer, not newbuf.
3389
3390 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3391
3392 * server.el (server-ensure-safe-dir): Simplify.
3393
3394 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * emacs-lisp/smie.el: Provide smarter auto-filling.
3397 (smie-auto-fill): New function.
3398 (smie-setup): Use it.
3399
3400 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3401
3402 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3403
3404 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3405 (comment-indent): Use it.
3406
3407 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3408
3409 * ses.el: The overall change is to add cell renaming, that is
3410 setting fancy names for cell symbols other than name matching
3411 "\\`[A-Z]+[0-9]+\\'" regexp .
3412 (ses-localvars): Add ses--renamed-cell-symb-list.
3413 (ses-create-cell-variable): New defun.
3414 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3415 (ses-relocate-formula): Relocate formulas only for cells the
3416 symbols of which are not renamed, i.e. symbols whose names do not
3417 match regexp "\\`[A-Z]+[0-9]+\\'".
3418 (ses-relocate-all): Relocate values only for cells the symbols of
3419 which are not renamed.
3420 (ses-load): Create cells variables as the (ses-cell ...) are read,
3421 in order to check row col consistency with cell symbol name only
3422 for cells that are not renamed.
3423 (ses-replace-name-in-formula): New defun.
3424 (ses-rename-cell): New defun.
3425
3426 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3427
3428 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3429 New option (bug#11118).
3430 (perl-calculate-indent): Respect it.
3431
3432 2012-04-17 Glenn Morris <rgm@gnu.org>
3433
3434 * dired-aux.el (dired-mark-read-string): Doc fix.
3435
3436 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3437
3438 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3439 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3440
3441 2012-04-17 Glenn Morris <rgm@gnu.org>
3442
3443 * mouse.el (mouse-drag-track):
3444 * speedbar.el (speedbar-frame-mode):
3445 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3446
3447 2012-04-16 Leo Liu <sdl.web@gmail.com>
3448
3449 * progmodes/python.el: Trivial cleanup.
3450
3451 2012-04-16 Glenn Morris <rgm@gnu.org>
3452
3453 * vc/vc.el (vc-string-prefix-p):
3454 * vc/pcvs-util.el (cvs-string-prefix-p):
3455 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3456 * mpc.el (mpc-string-prefix-p):
3457 Make all of these into obsolete aliases for string-prefix-p.
3458 Update callers.
3459 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3460
3461 * textmodes/two-column.el: Move custom options to the start.
3462 (frame-width): Remove compat definition.
3463 (2C-associate-buffer, 2C-dissociate):
3464 Use with-current-buffer rather than save-excursion.
3465 (2C-dissociate): Force a mode-line update.
3466 (2C-autoscroll): Use ignore-errors.
3467
3468 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3469 Autoload trivia.
3470
3471 * emacs-lisp/cl-extra.el (*random-state*):
3472 Remove unnecessary declaration.
3473
3474 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3475
3476 * play/cookie1.el (cookie-snarf):
3477 Give an explicit error if input file cannot be read.
3478
3479 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3480
3481 * progmodes/perl-mode.el (c-macro-expand):
3482 Remove unnecessary autoload (it is in loaddefs.el).
3483
3484 * textmodes/picture.el (picture-desired-column)
3485 (picture-update-desired-column): Convert comments to doc-strings.
3486 (picture-substitute): Remove function.
3487 (picture-mode-map): Initialize in the defvar.
3488
3489 * woman.el: Remove eval-after-load for tar-mode.
3490 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3491 (woman-tar-extract-file): Autoload it.
3492
3493 * frame.el (automatic-hscrolling): Make this alias obsolete.
3494
3495 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3496
3497 * ispell.el (ispell-set-spellchecker-params): Post-process
3498 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3499 (ispell-dictionary-base-alist): Revert to original XEmacs
3500 friendly version for default. [:alpha:] will be added in
3501 `ispell-set-spellchecker-params' if needed
3502
3503 2012-04-16 Chong Yidong <cyd@gnu.org>
3504
3505 * image.el (imagemagick--extension-regexp): New variable.
3506 (imagemagick-register-types): Use it.
3507 (imagemagick-types-inhibit): Add :set function. Allow new value
3508 of t to inhibit all types.
3509
3510 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3511 so we can preload it.
3512
3513 * loadup.el (fboundp): Preload regexp-opt, needed by
3514 imagemagick-register-types.
3515
3516 2012-04-15 Chong Yidong <cyd@gnu.org>
3517
3518 * frame.el (scrolling): Remove nearly unused customization group.
3519
3520 * scroll-all.el (scroll-all-mode): Move to windows group.
3521
3522 2012-04-15 Chong Yidong <cyd@gnu.org>
3523
3524 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3525
3526 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3529 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3530
3531 2012-04-15 Glenn Morris <rgm@gnu.org>
3532
3533 * simple.el (process-file-side-effects): Doc fix.
3534
3535 2012-04-15 Glenn Morris <rgm@gnu.org>
3536
3537 * international/mule-cmds.el (set-language-environment): Doc fix.
3538
3539 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3540
3541 * server.el (server-auth-key, server-generate-key): Doc fixes.
3542 (server-get-auth-key): Doc fix. Use `string-match-p'.
3543 (server-start): Reflow docstring.
3544
3545 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3546
3547 * server.el (server-generate-key): `called-interactively-p'
3548 requires a parameter.
3549
3550 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3551
3552 * server.el (server-auth-key): New variable.
3553 (server-generate-key, server-get-auth-key): New function.
3554 (server-start): Use the new variable and functions to allow
3555 setting a permanent server key (bug#9423).
3556
3557 2012-04-14 Leo Liu <sdl.web@gmail.com>
3558
3559 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3560
3561 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3562
3563 Spelling fixes.
3564 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3565 Emacs uses American spelling.
3566
3567 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3568
3569 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3570 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3571 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3572 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3573
3574 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * progmodes/which-func.el (which-func-modes): Change default.
3577
3578 2012-04-14 Kim F. Storm <storm@cua.dk>
3579
3580 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3581 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3582
3583 2012-04-14 Chong Yidong <cyd@gnu.org>
3584
3585 * custom.el (custom-theme-set-variables): Doc fix.
3586
3587 2012-04-14 Glenn Morris <rgm@gnu.org>
3588
3589 * international/mule.el (set-auto-coding-for-load): Doc fix.
3590
3591 2012-04-14 Alan Mackenzie <acm@muc.de>
3592
3593 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3594 imenu work again for Objective C Mode. Correct the *-index values,
3595 these having been disturbed by a previous change in 2011-08.
3596
3597 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3598 Correct two search limits.
3599
3600 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3603
3604 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3605
3606 * international/characters.el: Fix sorting.
3607
3608 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3609
3610 * international/characters.el: Add more missing Latin case pairs.
3611
3612 2012-04-14 Glenn Morris <rgm@gnu.org>
3613
3614 * files.el (dir-locals-set-class-variables): Doc fix.
3615
3616 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3617
3618 * international/characters.el: Add set-case-syntax-pair call for
3619 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3620 counterpart. (Bug#11209)
3621
3622 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3623
3624 2012-04-14 Glenn Morris <rgm@gnu.org>
3625
3626 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3627
3628 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3629
3630 * textmodes/ispell.el (ispell-dictionary-base-alist):
3631 Add data for Hebrew.
3632
3633 2012-04-14 Chong Yidong <cyd@gnu.org>
3634
3635 * net/rcirc.el (rcirc-cmd-quit):
3636 Revert 2012-03-18 change (Bug#11192).
3637
3638 2012-04-14 Glenn Morris <rgm@gnu.org>
3639
3640 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3641
3642 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3643
3644 * minibuffer.el (completion-in-region-mode-map):
3645 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3646
3647 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3648
3649 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3650
3651 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3652
3653 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3654 to allow `C-M-f' and `C-M-b' to move to the nearest path
3655 separator (bug#9511).
3656
3657 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3658
3659 * avoid.el: Require cl when compiling. And also move the
3660 `provide' to the end.
3661
3662 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3663
3664 * avoid.el (mouse-avoidance-banish-position): New variable.
3665 (mouse-avoidance-banish-destination): Use it (bug#10165).
3666
3667 2012-04-13 Leo Liu <sdl.web@gmail.com>
3668
3669 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3670
3671 2012-04-13 Ken Brown <kbrown@cornell.edu>
3672
3673 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3674 this is no longer needed now that cygstart understands file:// URLs.
3675 (browse-url-filename-alist): For the same reason, don't modify
3676 file:// URLs on Cygwin.
3677
3678 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3681 the region on shift if the binding is already shifted (bug#11221).
3682
3683 2012-04-12 Glenn Morris <rgm@gnu.org>
3684
3685 * mail/mailpost.el: Move to obsolete/.
3686
3687 2012-04-12 Drew Adams <drew.adams@oracle.com>
3688
3689 * imenu.el (imenu--generic-function): Ignore invisible definitions
3690 (bug#10123).
3691
3692 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3693
3694 * hexl.el (hexl-bits): New variable.
3695 (hexl-options): Mention the variable in the doc string.
3696 (hexl-rulerise, hexl-line-displen): New functions.
3697 (hexl-mode): Mention the new variable.
3698 (hexl-mode, hexl-current-address, hexl-current-address):
3699 Use the displen.
3700 (hexl-ascii-start-column): New function.
3701 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3702 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3703
3704 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3705
3706 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3707 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3708 the encoding, as expected by hunspell.
3709
3710 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * battery.el (battery--linux-sysfs-regexp): New const.
3713 (battery-status-function): Use it. Remove yeeloong special case.
3714 (battery-yeeloong-sysfs): Remove.
3715 (battery-echo-area-format): Remove yeeloong special case.
3716
3717 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3720 Reported by Noah Friedman.
3721
3722 * subr.el (read-passwd): Use read-string.
3723
3724 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3725
3726 * vcursor.el (vcursor-move): Increase the priority of the overlay
3727 (bug#9663).
3728
3729 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3730
3731 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3732 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3733
3734 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3735
3736 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3737 define-minor-mode (bug#10760).
3738
3739 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3740
3741 * progmodes/grep.el (rgrep): Tweak the find command line so
3742 that directories matching `grep-find-ignored-files' won't be
3743 pruned (bug#10351).
3744
3745 2012-04-11 Chong Yidong <cyd@gnu.org>
3746
3747 * startup.el (command-line): Remove support for long-obsolete
3748 variable font-lock-face-attributes.
3749
3750 2012-04-11 Glenn Morris <rgm@gnu.org>
3751
3752 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3753
3754 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * window.el (window--state-get-1): Obey window-point-insertion-type.
3757
3758 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3759
3760 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3761 to previous function when point is on the first character of a
3762 function. Take care of that in `narrow-to-defun' (bug#6157).
3763
3764 2012-04-11 Glenn Morris <rgm@gnu.org>
3765
3766 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3767 not just file-errors.
3768
3769 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3770 (vc-bzr-sha1): Use internal sha1.
3771
3772 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3775
3776 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3777
3778 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3779 that start in the middle of the line (bug#10496).
3780
3781 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3782
3783 * battery.el (battery-linux-proc-acpi): Only one battery is
3784 discharged at a time, but that seems to confuse battery.el when
3785 computing `rate-type' for the battery not being discharged
3786 (bug#10332).
3787
3788 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3791
3792 * international/quail.el: Use dolist and simplify.
3793 (quail-define-package, quail-update-keyboard-layout)
3794 (quail-define-rules): Use dolist.
3795 (quail-insert-kbd-layout, quail-get-translation): CSE.
3796
3797 * tmm.el: Use dolist, remove left over hook.
3798 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3799 Use dolist.
3800 (calendar-load-hook): Don't mess with it.
3801
3802 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3803 Use derived-mode-p. Run the diff asynchronously.
3804
3805 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3806
3807 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3808
3809 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3810
3811 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3812 (list-dynamic-libraries--loaded): New function.
3813 (list-dynamic-libraries--refresh): Use it.
3814
3815 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3816
3817 * progmodes/python.el (python-fill-paragraph):
3818 Make python-fill-region in a multiline string work when font-lock is
3819 disabled (bug#7018).
3820
3821 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3822
3823 * language/european.el (cp775): Add oem/legacy (en)coding on
3824 DOS/MS Windows for the Baltic languages. There are still plenty
3825 of texts written in this encoding/codepage (bug#6519).
3826
3827 2012-04-10 Glenn Morris <rgm@gnu.org>
3828
3829 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3830 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3831
3832 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3833
3834 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3835 next-line "n" and previous-line "p" in order to make recentf more
3836 consistent with ibuffer, dired or org-mode (bug#9387).
3837
3838 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3839
3840 * image.el (put-image): Return the overlay created instead of the
3841 optional input string (bug#7834). Note that this may break code
3842 that is (for some reason or other) depending on `put-image'
3843 returning the string.
3844
3845 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3846
3847 * simple.el (zap-to-char): Allow zapping using input methods
3848 (bug#1580).
3849
3850 * textmodes/fill.el (fill-region): Leave point and mark where they
3851 were before filling (bug#5399).
3852
3853 2012-04-09 Glenn Morris <rgm@gnu.org>
3854
3855 * version.el (emacs-bzr-get-version):
3856 Handle lightweight checkouts of local branches.
3857
3858 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3859
3860 * international/characters.el: Recover lost case pairs. (Bug#11209)
3861
3862 2012-04-09 Chong Yidong <cyd@gnu.org>
3863
3864 * custom.el (custom-variable-p): Return nil for non-symbol
3865 arguments instead of signaling an error.
3866 (user-variable-p): Obsolete alias for custom-variable-p.
3867
3868 * apropos.el (apropos-variable):
3869 * files-x.el (read-file-local-variable):
3870 * simple.el (set-variable):
3871 * woman.el (woman-mini-help):
3872 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3873
3874 2012-04-09 Glenn Morris <rgm@gnu.org>
3875
3876 * startup.el (normal-top-level): Don't look for leim-list.el
3877 in places where it will not be found. (Bug#910)
3878
3879 * international/mule-cmds.el (set-default-coding-systems):
3880 * files.el (normal-mode):
3881 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3882 This function was removed with ucs-tables.el in 2008.
3883
3884 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3885
3886 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3887 ispell-encoding8-command to "-i", without a trailing space.
3888 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3889 separate command-line arguments, to specify the encoding, since
3890 that's how hunspell expects it.
3891
3892 2012-04-08 Glenn Morris <rgm@gnu.org>
3893
3894 * loadup.el: Load bindings before cus-start.
3895 This reduces somewhat the number of "rogue" settings in emacs -Q.
3896
3897 2012-04-07 Glenn Morris <rgm@gnu.org>
3898
3899 * version.el (emacs-bzr-get-version): New function.
3900 (emacs-bzr-version): New variable.
3901 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3902 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3903
3904 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3905
3906 * international/uni-bidi.el, international/uni-category.el:
3907 * international/uni-combining.el, international/uni-decimal.el:
3908 * international/uni-decomposition.el, international/uni-digit.el:
3909 * international/uni-lowercase.el, international/uni-mirrored.el:
3910 * international/uni-name.el, international/uni-numeric.el:
3911 * international/uni-titlecase.el, international/uni-uppercase.el:
3912 Update for Unicode 6.1.
3913
3914 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3915
3916 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3917
3918 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3919
3920 * window.el (shrink-window): Mention the `window-min-height'
3921 variable in the doc string.
3922
3923 2012-04-05 Bastien Guerry <bzg@altern.org>
3924
3925 * color.el (color-lighten-name): Fix typo.
3926
3927 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3929 * server.el (server--on-display-p): New function.
3930 (server--on-display-p): Use it.
3931
3932 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3933
3934 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3935 (bug#11145).
3936
3937 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * comint.el (comint--common-quoted-suffix): Check string boundary
3940 before comparing (bug#11158).
3941 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3942
3943 2012-04-04 Chong Yidong <cyd@gnu.org>
3944
3945 * minibuffer.el (completion-extra-properties): Doc fix.
3946
3947 * subr.el (delayed-warnings-hook): Doc fix.
3948
3949 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3950
3951 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3952 selection (Bug#11159).
3953 (epa-insert-keys): Inform that the default public key will be
3954 exported if no key is selected.
3955
3956 2012-04-04 Richard Stallman <rms@gnu.org>
3957
3958 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3959
3960 2012-04-03 Chong Yidong <cyd@gnu.org>
3961
3962 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3963 mail-insert-file, not its obsolete alias mail-attach-file.
3964
3965 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3966
3967 * notifications.el (notifications-notify): Fix docstring.
3968
3969 2012-04-02 Glenn Morris <rgm@gnu.org>
3970
3971 * emacs-lisp/authors.el (authors-aliases): Another addition.
3972
3973 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3974
3975 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3976 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3977 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3978
3979 2012-04-01 Chong Yidong <cyd@gnu.org>
3980
3981 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3982 Handle root directory properly.
3983 (copy-directory): Caller changed.
3984
3985 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3986 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3987
3988 2012-03-31 Glenn Morris <rgm@gnu.org>
3989
3990 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3991
3992 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3993
3994 * calendar/calendar.el (calendar-window-list)
3995 (calendar-hide-window): Restore. (Bug#11140)
3996 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3997
3998 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3999
4000 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4001
4002 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4003 Check if file is a symlink (Bug#10489).
4004
4005 * files.el (copy-directory): Likewise.
4006
4007 2012-03-30 Chong Yidong <cyd@gnu.org>
4008
4009 * image.el (imagemagick-types-inhibit)
4010 (imagemagick-register-types): Doc fix.
4011
4012 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4013
4014 * ispell.el (ispell-get-extended-character-mode):
4015 Disable extended-char-mode for hunspell. hunspell does not support it
4016 and treats ~word as ordinary words in pipe mode.
4017
4018 2012-03-30 Glenn Morris <rgm@gnu.org>
4019
4020 * tutorial.el (help-with-tutorial): Ensure local variables don't
4021 happen to make the buffer read-only. (Bug#11127)
4022
4023 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4024
4025 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4026 (perl-calculate-indent): Return `noindent' in strings.
4027
4028 2012-03-28 Sam Steingold <sds@gnu.org>
4029
4030 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4031 instead of the broken adhockery which does not prevent calendar
4032 buffers from being displayed at random after exit.
4033 (calendar-window-list, calendar-hide-window): Remove the broken
4034 adhockery.
4035
4036 2012-03-28 Glenn Morris <rgm@gnu.org>
4037
4038 * replace.el (query-replace-map): Doc fix.
4039
4040 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4041
4042 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4043 contents. (Bug#11109)
4044
4045 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4048 (bug#11077).
4049 (avl-tree--check, avl-tree--check-node): New funs.
4050
4051 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4052
4053 * window.el (switch-to-visible-buffer): New option.
4054 (switch-to-prev-buffer, switch-to-next-buffer):
4055 Observe switch-to-visible-buffer. Make sure that checking for a window
4056 showing a buffer already is done on the same frame.
4057
4058 2012-03-27 Glenn Morris <rgm@gnu.org>
4059
4060 * startup.el (mail-host-address): Doc fix.
4061
4062 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4065 than 197 variables.
4066
4067 2012-03-26 Ami Fischman <ami@fischman.org>
4068
4069 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4070
4071 2012-03-26 Glenn Morris <rgm@gnu.org>
4072
4073 * files.el (save-buffers-kill-emacs): Doc fix.
4074
4075 * startup.el (normal-top-level, command-line, command-line-1):
4076 Give them doc strings.
4077
4078 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4079
4080 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4081 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4082
4083 2012-03-25 Chong Yidong <cyd@gnu.org>
4084
4085 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4086 theme if it was previously enabled before (Bug#11031).
4087
4088 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4089 spec with custom-face-get-current-spec if its :shown-value is not
4090 determined yet (Bug#9337).
4091 (customize-create-theme, custom-theme-revert): Doc fixes.
4092
4093 * button.el (button-at): Minor addition to docstring.
4094
4095 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4096
4097 * vc/vc.el (vc-merge): Fix a prompt.
4098
4099 2012-03-24 Chong Yidong <cyd@gnu.org>
4100
4101 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4102 point (Bug#9623).
4103
4104 * button.el (button-at): Minor addition to docstring.
4105
4106 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * newcomment.el (comment-choose-indent): No space after BOL.
4109
4110 2012-03-22 Sam Steingold <sds@gnu.org>
4111
4112 * window.el (switch-to-prev-buffer): Revert last patch because the
4113 bug turned out to be an advertised feature (Elisp manual 28.14).
4114
4115 2012-03-22 Glenn Morris <rgm@gnu.org>
4116
4117 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4118 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4119
4120 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4121
4122 * net/network-stream.el (network-stream-open-starttls): Make error
4123 message under Windows be less misleading.
4124
4125 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4126
4127 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4128 understands (bug#9942).
4129
4130 2012-03-22 Chong Yidong <cyd@gnu.org>
4131
4132 * simple.el (end-of-visible-line): Handle return value of
4133 next-single-property-change properly (Bug#9371).
4134
4135 2012-03-22 Kenichi Handa <handa@m17n.org>
4136
4137 * international/quail.el (quail-insert-kbd-layout): Fix previous
4138 change. To avoid unwanted bidi reordering, use
4139 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4140
4141 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4142
4143 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4144 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4145 (ruby-beginning-of-indent): Be more careful with the difference
4146 between word-boundary and symbol boundary.
4147 (ruby-mode-syntax-table): Make : a symbol constituent.
4148
4149 2012-03-21 Andreas Politz <politza@fh-trier.de>
4150
4151 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4152
4153 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * progmodes/etags.el (tags-completion-at-point-function):
4156 Improve last fix.
4157
4158 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4159
4160 2012-03-21 Sam Steingold <sds@gnu.org>
4161
4162 * progmodes/etags.el (tags-completion-at-point-function):
4163 Avoid the error when point is inside the pattern.
4164
4165 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4166
4167 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4168 line (Bug#10855).
4169
4170 2012-03-21 Drew Adams <drew.adams@oracle.com>
4171
4172 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4173
4174 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4175
4176 * ido.el (ido-set-current-directory, ido-read-internal)
4177 (ido-choose-completion-string, ido-completion-help): Handle nil
4178 value of ido-completion-buffer (Bug#11008).
4179
4180 2012-03-21 Sam Steingold <sds@gnu.org>
4181
4182 * window.el (switch-to-prev-buffer): Do not switch to a visible
4183 window previous buffer, just like with the frame previous buffers.
4184
4185 2012-03-21 Chong Yidong <cyd@gnu.org>
4186
4187 * faces.el (make-face, make-empty-face, copy-face):
4188 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4189 Doc fixes.
4190
4191 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4194 (widget-complete): Remove broken use of it.
4195
4196 2012-03-20 Chong Yidong <cyd@gnu.org>
4197
4198 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4199 Use string-width and truncate-string-width to handle arbitrary
4200 characters.
4201
4202 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4203
4204 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4205 to draw rectangles, not squares. (Regression introduced by revno
4206 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4207
4208 2012-03-18 Chong Yidong <cyd@gnu.org>
4209
4210 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4211 it is not yet defined (for temacs).
4212
4213 2012-03-18 Leo Liu <sdl.web@gmail.com>
4214
4215 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4216
4217 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4218
4219 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4220 (ispell-choices-win-default-height, ispell-silently-savep)
4221 (ispell-dictionary-alist, ispell-encoding8-command)
4222 (ispell-check-version, ispell-aspell-find-dictionary)
4223 (ispell-valid-dictionary-list, ispell-words-keyword)
4224 (ispell-get-word, ispell-internal-change-dictionary)
4225 (ispell-region, ispell-skip-region-list)
4226 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4227 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4228 (ispell-message-text-end, ispell-message)
4229 (ispell-buffer-local-parsing): Doc fix.
4230
4231 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4232
4233 * htmlfontify.el: Add support for code block fontification for ODT
4234 export (Bug #9914).
4235 (hfy-optimisations): Define new option
4236 `body-text-only'
4237 (hfy-fontify-buffer): Honor above setting.
4238 (hfy-begin-span, hfy-end-span): New routines factored out form
4239 `hfy-fontify-buffer'.
4240 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4241 that permit insertion of custom tags.
4242 (hfy-fontify-buffer): Use above handlers.
4243 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4244 (hfy-face-to-css): Re-defined to be a variable.
4245 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4246 over multiple runs. This is made possible by having the caller let
4247 bind a special variable `hfy-user-sheet-assoc'.
4248 (htmlfontify-string): New defun.
4249 (hfy-compile-face-map): Make sure that the last char in the
4250 buffer is correctly fontified.
4251 (hfy-face-resolve-face): Whitespace only change.
4252
4253 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4254
4255 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4256 message more clear.
4257
4258 2012-03-16 Leo Liu <sdl.web@gmail.com>
4259
4260 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4261
4262 2012-03-16 Alan Mackenzie <acm@muc.de>
4263
4264 Further optimise the handling of large macros.
4265
4266 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4267 limit to a call of `c-literal-limits'.
4268 (c-determine-+ve-limit): New function.
4269 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4270 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4271 In CASE 5B, restrict a search limit to 500.
4272 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4273
4274 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4275 Restrict macro bounds to +-500 from after-change's BEG END.
4276
4277 2012-03-16 Leo Liu <sdl.web@gmail.com>
4278
4279 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4280
4281 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4282
4283 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4284 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4285
4286 2012-03-16 Glenn Morris <rgm@gnu.org>
4287
4288 * view.el (view-buffer, view-buffer-other-window)
4289 (view-buffer-other-frame): Doc fixes re special mode-class.
4290
4291 * subr.el (eval-after-load): If named feature is provided not from
4292 a file, run after-load forms. (Bug#10946)
4293
4294 * calendar/calendar.el (calendar-insert-at-column):
4295 Handle non-unit-width characters a bit better. (Bug#10978)
4296
4297 2012-03-15 Chong Yidong <cyd@gnu.org>
4298
4299 * emacs-lisp/ring.el (ring-extend): New function.
4300 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4301
4302 * comint.el (comint-read-input-ring)
4303 (comint-add-to-input-history): Grow comint-input-ring lazily.
4304
4305 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4308 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4309
4310 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4311 (imenu-add-to-menubar): Don't add a redundant index.
4312 (imenu-update-menubar): Handle a dynamically composed keymap.
4313
4314 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4315
4316 * mail/sendmail.el (mail-encode-header):
4317 Bind rfc2047-encode-encoded-words to nil.
4318
4319 2012-03-13 Glenn Morris <rgm@gnu.org>
4320
4321 * calendar/calendar.el (calendar-string-spread):
4322 Handle non-unit-width characters a bit better. (Bug#10978)
4323
4324 2012-03-13 Leo Liu <sdl.web@gmail.com>
4325
4326 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4327 directory and file as argument (Bug#10822).
4328
4329 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4330
4331 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4332 For dynamically generated code, follow $PC.
4333 (gdb-disassembly-handler-custom): Handle no function name case.
4334
4335 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4336
4337 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4338 * emulation/ws-mode.el (ws-query-replace):
4339 * sort.el (sort-regexp-fields):
4340 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4341
4342 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * dabbrev.el: Fix cycle completion order (bug#10963).
4345 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4346 (dabbrev-completion): Don't use an obarray; provide
4347 a cycle-sort-function.
4348
4349 2012-03-12 Leo Liu <sdl.web@gmail.com>
4350
4351 * simple.el (kill-new): Use equal-including-properties for comparison.
4352 (kill-do-not-save-duplicates): Doc fix.
4353
4354 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * dabbrev.el: Fix cycle completion (bug#10963).
4357 Use lexical binding and wrap to 80 columns.
4358 (dabbrev-completion): Delay computing the list of completions.
4359
4360 2012-03-12 Kenichi Handa <handa@m17n.org>
4361
4362 * international/quail.el (quail-insert-kbd-layout): Surround each
4363 row by LRO and PDF instead of inserting many LRMs. Pad the left
4364 and right of each non-spacing marks. Insert invisible space
4365 between lower and upper characters to prevent composition.
4366
4367 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * minibuffer.el (minibuffer-complete): Don't get confused when the
4370 function is run twice via different commands (bug#10958).
4371 (complete-with-action): Fix docstring.
4372
4373 2012-03-12 Chong Yidong <cyd@gnu.org>
4374
4375 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4376 (nxml-completion-at-point-function): New function.
4377 (nxml-mode): Use it.
4378 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4379
4380 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4381 Load generated autoloads file before byte compiling (Bug#10970).
4382 (package--make-autoloads-and-compile): New helper fun.
4383
4384 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4385
4386 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4387
4388 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4389
4390 * autorevert.el (auto-revert-handler): Ensure, that
4391 file-readable-p is applied only for local files or in
4392 auto-revert-tail-mode.
4393
4394 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4395
4396 * server.el (server-eval-at): Handle non-tcp connections.
4397 Decode result string.
4398
4399 * server.el (server-msg-size): New constant.
4400 (server-reply-print): New function.
4401 (server-eval-and-print): Use it.
4402 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4403 Handle -print-nonl.
4404
4405 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4406
4407 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4408 (Bug#10987).
4409
4410 2012-03-11 Chong Yidong <cyd@gnu.org>
4411
4412 * simple.el (goto-line): Doc fix (Bug#9938).
4413
4414 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4415
4416 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4417 when finished (Bug#10963).
4418
4419 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4420
4421 * window.el (split-window-below): Fix bug in case where
4422 split-window-keep-point is nil (Bug#10971).
4423
4424 2012-03-11 Juri Linkov <juri@jurta.org>
4425
4426 * replace.el (replace-highlight): Set isearch-word to nil
4427 unconditionally. (Bug#10887)
4428
4429 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4430
4431 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4432 mairix-replace-illegal-chars; all callers changed. Don't remove
4433 ^, ~, and = characters: they are meaningful in mairix search specs.
4434 (mairix-widget-create-query): Add usage information about mairix
4435 search forms: negating words, searching for substrings, etc.
4436
4437 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4438
4439 * international/fontset.el (font-encoding-alist): Add an entry for
4440 ksx1001 (Bug#5667).
4441
4442 2012-03-10 Richard Stallman <rms@gnu.org>
4443
4444 * mail/sendmail.el (mail-encode-header):
4445 Set rfc2047-encode-encoded-words.
4446
4447 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4448
4449 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4450 view buffer means not swapped.
4451 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4452 (rmail-write-region-annotate): Error if real text has disappeared.
4453
4454 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4455
4456 2012-03-10 Chong Yidong <cyd@gnu.org>
4457
4458 * emulation/cua-rect.el (cua--init-rectangles):
4459 * emulation/cua-base.el (cua--init-keymaps):
4460 Add delete-forward-char to remappings (Bug#9666).
4461
4462 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4463
4464 * speedbar.el (speedbar-unhighlight-one-tag-line):
4465 Avoid unhighlighting due to frame switching (Bug#10275).
4466
4467 2012-03-10 Chong Yidong <cyd@gnu.org>
4468
4469 * minibuffer.el (completion-in-region, completion-help-at-point):
4470 Give the completion field overlay a high priority (Bug#6830).
4471
4472 * dired.el (dired-goto-file): Recognize absolute file name
4473 listings (Bug#7126).
4474 (dired-goto-file-1): New helper function.
4475 (dired-toggle-read-only): Inhibit warnings.
4476
4477 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4478
4479 * net/dbus.el (dbus-property-handler): Return empty array if
4480 there are no properties.
4481
4482 2012-03-09 Leo Liu <sdl.web@gmail.com>
4483
4484 * savehist.el (savehist-printable): Stricter check for string
4485 value (Bug#10937).
4486
4487 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4488
4489 * mail/smtpmail.el (smtpmail-send-it):
4490 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4491 valid mbox format.
4492
4493 2012-03-09 Glenn Morris <rgm@gnu.org>
4494
4495 * files.el (dir-locals-find-file):
4496 Don't check result is regular, readable.
4497 (dir-locals-read-from-file): Demote errors.
4498
4499 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4500
4501 * international/quail.el (quail-insert-kbd-layout):
4502 Insert invisible LRM characters before each character in a keyboard
4503 layout cell, to prevent their reordering by bidi display engine.
4504 For details, see the discussion in
4505 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4506
4507 2012-03-08 Alan Mackenzie <acm@muc.de>
4508
4509 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4510 the starting position; make it extend the marked region when
4511 invoked repeatedly - all under appropriate circumstances.
4512 Fixes bugs #5525, #10906.
4513
4514 2012-03-08 Glenn Morris <rgm@gnu.org>
4515
4516 * files.el (locate-dominating-file, dir-locals-find-file):
4517 Undo 2012-03-06 change.
4518
4519 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4520
4521 * international/quail.el (quail-help):
4522 Force bidi-paragraph-direction be left-to-right. See discussion in
4523 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4524 for the reason.
4525
4526 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4527
4528 Avoid superfluous registering of signals. (Bug#10807)
4529
4530 * notifications.el (notifications-on-action-object)
4531 (notifications-on-close-object): New defvars.
4532 (notifications-on-action-signal, notifications-on-closed-signal):
4533 Unregister the signal if not needed any longer.
4534 (notifications-notify): Register `notifications-action-signal' or
4535 `notifications-closed-signal', if :on-action or :on-close has been
4536 passed as argument.
4537
4538 2012-03-07 Chong Yidong <cyd@gnu.org>
4539
4540 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4541 non-X platforms.
4542
4543 2012-03-06 Glenn Morris <rgm@gnu.org>
4544
4545 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4546 (x-disown-selection-internal, x-get-selection-internal):
4547 Doc fix (add arglist signatures). (Bug#10783)
4548
4549 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4550
4551 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4552 Handle breakpoints with no "type".
4553
4554 2012-03-06 Glenn Morris <rgm@gnu.org>
4555
4556 * files.el (locate-dominating-file): Add optional predicate argument.
4557 (dir-locals-find-file): Make use of above change.
4558
4559 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4560
4561 * info.el (Info-insert-dir): Also try "dir.gz".
4562
4563 2012-03-06 Glenn Morris <rgm@gnu.org>
4564
4565 * files.el (dir-locals-find-file):
4566 Ignore non-readable or non-regular files. (Bug#10928)
4567
4568 * files.el (locate-dominating-file): Doc fix.
4569
4570 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4571
4572 * calendar/calendar.el (calendar-set-mode-line):
4573 `getenv' returns a string. (Bug#10951)
4574
4575 2012-03-05 Leo Liu <sdl.web@gmail.com>
4576
4577 * simple.el (backward-delete-char-untabify): Constrain point to
4578 field (Bug#10939).
4579
4580 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4581
4582 2012-03-05 Chong Yidong <cyd@gnu.org>
4583
4584 * simple.el (count-words): If called from Lisp, return the word
4585 count, for symmetry with `count-lines'. Arglist changed.
4586 (count-words--message): Args changed. Consolidate counting code
4587 from count-words and count-words-region.
4588 (count-words-region): Caller changed.
4589 (count-lines-region): Make it an obsolete alias.
4590
4591 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4592
4593 * saveplace.el (save-place-to-alist)
4594 (save-place-ignore-files-regexp): Allow value nil to disable this
4595 feature.
4596
4597 2012-03-04 Chong Yidong <cyd@gnu.org>
4598
4599 * faces.el (face-spec-reset-face): For the default face, reset the
4600 attributes to default values (Bug#10748).
4601
4602 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4603
4604 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4605 previous patch: Check `message-send-mail-function', and not the
4606 default function (bug#10897).
4607
4608 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4609
4610 * notifications.el (notifications-on-action-signal)
4611 (notifications-on-closed-signal): Check for unique service name of
4612 incoming event. Fix error in removing entry.
4613 (top): Register for signals with wildcard service name.
4614 (notifications-notify): Use daemon unique service name for map entries.
4615
4616 2012-03-04 Chong Yidong <cyd@gnu.org>
4617
4618 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4619
4620 2012-03-04 Glenn Morris <rgm@gnu.org>
4621
4622 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4623 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4624 (expand-abbrev, define-abbrev-table): Doc fixes.
4625
4626 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4627
4628 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4629 `message-default-send-mail-function' and not `send-mail-function'
4630 when doing the prompting for `sendmail-query-once' before sending
4631 in Message buffers (bug#10897).
4632
4633 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4634 This is inconsistent with all the other stream functions, which leave
4635 the setting up to the higher levels (if so wanted) (bug#10931).
4636
4637 2012-03-02 Alan Mackenzie <acm@muc.de>
4638
4639 Depessimize the handling of very large macros.
4640
4641 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4642 (c-macro-cache-syntactic): New variables to implement a one
4643 element macro cache.
4644 (c-invalidate-macro-cache): New function.
4645 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4646 Adapt to use the new cache.
4647 (c-state-safe-place): Use better the cache of safe positions.
4648 (c-state-semi-nonlit-pos-cache)
4649 (c-state-semi-nonlit-pos-cache-limit):
4650 New variables for...
4651 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4652 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4653 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4654 Use c-state-semi-safe-place.
4655
4656 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4657 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4658
4659 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4660
4661 * jka-compr.el (jka-compr-call-process):
4662 Apply `file-accessible-directory-p' only when the default directory is
4663 not remote.
4664
4665 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4666
4667 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4668 access of FILE2, if FILE1 does not exist.
4669
4670 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4671 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4672
4673 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4674 Add "PAGER=" to `process-environment'.
4675
4676 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4677
4678 * progmodes/sql.el: Bug fix
4679 (sql-get-login-ext): Save login values in globals.
4680 (sql-get-login): Use new version of `sql-get-login-ext'.
4681 (sql-interactive-mode): Set global `sql-connection' to nil.
4682 (sql-connect): Set global values for connection.
4683 (sql-product-interactive): Save global values as buffer local.
4684
4685 2012-02-29 Leo Liu <sdl.web@gmail.com>
4686
4687 * abbrev.el (define-abbrevs): Reset sys to nil.
4688
4689 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4690
4691 * files.el (file-equal-p): Rename from `files-equal-p'.
4692 Return nil when one or both files don't exist.
4693 (file-subdir-of-p): Now only top directory must exists,
4694 return nil if it doesn't.
4695 (copy-directory): No need to test with `file-subdir-of-p' after
4696 creating dir.
4697 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4698 to `file-equal-p'.
4699
4700 2012-02-28 Glenn Morris <rgm@gnu.org>
4701
4702 * shell.el (shell-mode):
4703 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4704 * play/landmark.el (landmark-font-lock-face-O):
4705 * play/handwrite.el (handwrite):
4706 * play/gomoku.el (gomoku-O):
4707 * net/browse-url.el (browse-url-browser-display):
4708 * international/mule.el (define-charset):
4709 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4710 * filesets.el (filesets-find-file-delay):
4711 * eshell/em-xtra.el (eshell-xtra):
4712 * eshell/em-unix.el (eshell-grep):
4713 * emulation/viper.el (viper-mode):
4714 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4715 * emacs-lisp/easymenu.el (easy-menu-define):
4716 * calendar/timeclock.el (timeclock-use-display-time):
4717 * bs.el (bs-mode):
4718 * bookmark.el (bookmark-save-flag):
4719 Doc fix (standardize possessive apostrophe usage).
4720
4721 2012-02-27 Chong Yidong <cyd@gnu.org>
4722
4723 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4724 Fix key-binding lookup for ESC key (Bug#9146).
4725
4726 * font-lock.el (font-lock-specified-p): Rename from
4727 font-lock-spec-present. Callers changed.
4728
4729 2012-02-27 Daniel Hackney <dan@haxney.org>
4730
4731 * emacs-lisp/package.el (package-compute-transaction):
4732 Handle holding a package version to t in package-load-list.
4733
4734 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4735
4736 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4737 (tramp-get-inode, tramp-get-device): Use cached values.
4738
4739 2012-02-26 Alan Mackenzie <acm@muc.de>
4740
4741 Check there is a font-lock specification before doing initial
4742 fontification.
4743
4744 * font-core.el (font-lock-mode): Move the conditional from
4745 :after-hook to font-lock-initial-fontify.
4746 (font-lock-default-function): Move the check for a specification
4747 to font-lock-spec-present.
4748
4749 * font-lock.el (font-lock-initial-fontify): Call ...
4750 (font-lock-spec-present): New function.
4751
4752 2012-02-26 Jim Blandy <jimb@red-bean.com>
4753
4754 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4755 (gdb-send): Apply it to the operand of the '-interpreter-exec
4756 console' command, so that we can pass arguments with (say) quotes
4757 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4758
4759 2012-02-26 Chong Yidong <cyd@gnu.org>
4760
4761 * help-fns.el (describe-function-1): Clarify description of
4762 remapping (Bug#10844).
4763
4764 * files.el (files-equal-p): Doc fix.
4765 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4766 and quit the loop once a mismatch is found.
4767
4768 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4769
4770 * bs.el (bs--show-with-configuration): Don't throw an error
4771 if the window cannot be split; otherwise, subsequent calls to
4772 bs-show fail, restoring a stale window config. (Bug#10882)
4773
4774 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4775
4776 * term/ns-win.el (global-map): Bind ns-drag-file to
4777 ns-find-file (Bug#5855, Bug#10050).
4778
4779 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4780
4781 * calendar/parse-time.el (parse-time-string): Allow extractor to
4782 return nil.
4783
4784 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4785
4786 * net/tramp.el (tramp-file-name-for-operation):
4787 Add `files-equal-p' and `file-subdir-of-p'.
4788
4789 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4790 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4791 Add COPY-CONTENTS argument.
4792
4793 2012-02-25 Chong Yidong <cyd@gnu.org>
4794
4795 Add custom groups for VC backends, for consistency with vc-bzr.
4796
4797 * vc/vc-arch.el (vc-arch):
4798 * vc/vc-cvs.el (vc-cvs):
4799 * vc/vc-git.el (vc-git):
4800 * vc/vc-hg.el (vc-hg):
4801 * vc/vc-mtn.el (vc-mtn):
4802 * vc/vc-rcs.el (vc-rcs):
4803 * vc/vc-sccs.el (vc-sccs):
4804 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4805 All relevant defcustoms reassigned.
4806
4807 2012-02-25 Chong Yidong <cyd@gnu.org>
4808
4809 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4810
4811 * term/x-win.el (x-initialize-window-system): Reduce default for
4812 x-selection-timeout to 5 seconds (Bug#8869).
4813
4814 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4815
4816 * files.el (files-equal-p, file-subdir-of-p): New functions.
4817 (copy-directory): Error when trying to copy a directory on itself.
4818 Add missing copy-contents arg to tramp handler.
4819 * dired-aux.el (dired-copy-file-recursive): Same.
4820 (dired-create-files): Modify destination when source is equal to
4821 dest when copying files.
4822 Return also when dest is a subdir of source. (Bug#10489)
4823
4824 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4825
4826 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4827 (Bug#10874)
4828
4829 2012-02-23 Alan Mackenzie <acm@muc.de>
4830
4831 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4832 parameter "after-hook:" to allow the expansion to run code after
4833 the execution of the mode hooks.
4834
4835 * font-lock.el (font-lock-initial-fontify): New function extracted
4836 from font-lock-mode-internal.
4837
4838 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4839 :after-hook.
4840
4841 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4842
4843 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4844 (completion--cache-all-sorted-completions): New function.
4845 (completion-all-sorted-completions): Use it.
4846 (completion--do-completion, minibuffer-force-complete):
4847 Use it to re-instate the flush hook.
4848
4849 * icomplete.el (icomplete-completions): Replace last fix with a better
4850 one (bug#10850).
4851
4852 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4853
4854 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4855 when it might call us back infinitely (bug#10797).
4856
4857 2012-02-23 Glenn Morris <rgm@gnu.org>
4858
4859 * minibuffer.el (completion-category-overrides): Doc fix.
4860
4861 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4864 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4865
4866 2012-02-23 Glenn Morris <rgm@gnu.org>
4867
4868 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4869 (authors-obsolete-files-regexps, authors-ignored-files)
4870 (authors-ambiguous-files, authors-renamed-files-alist):
4871 Add more entries.
4872
4873 2012-02-23 Juri Linkov <juri@jurta.org>
4874
4875 * isearch.el (isearch-occur): Sync interactive spec with occur's
4876 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4877
4878 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4879
4880 2012-02-22 Juri Linkov <juri@jurta.org>
4881
4882 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4883 (ucs-insert): Doc fix. Check for hex digits in the string.
4884 Don't display `nil' in the error message. (Bug#10857)
4885
4886 2012-02-22 Alan Mackenzie <acm@muc.de>
4887
4888 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4889
4890 2012-02-22 Glenn Morris <rgm@gnu.org>
4891
4892 * ffap.el (ffap-c-path):
4893 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4894
4895 2012-02-22 Chong Yidong <cyd@gnu.org>
4896
4897 * custom.el (load-theme): Doc fix.
4898
4899 2012-02-22 Glenn Morris <rgm@gnu.org>
4900
4901 * dired-x.el (dired-guess-shell-alist-default):
4902 Remove escape sequences from nroff output. (Bug#172)
4903
4904 2012-02-21 Glenn Morris <rgm@gnu.org>
4905
4906 * vc/emerge.el (emerge-defvar-local):
4907 Set `permanent-local' property rather than unused `preserved'.
4908
4909 * textmodes/picture.el (picture-delete-char): New alias.
4910 (picture-mode-map): Use it. (Bug#10860)
4911 (picture-mode): Doc fix.
4912
4913 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4914
4915 * newcomment.el (uncomment-region-default): Remove unused binding.
4916
4917 2012-02-21 Glenn Morris <rgm@gnu.org>
4918
4919 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4920 (picture-self-insert, picture-tab-chars): Doc fix.
4921 (picture-mode-map): Fix C-a, C-e.
4922
4923 2012-02-20 Glenn Morris <rgm@gnu.org>
4924
4925 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4926
4927 2012-02-20 Leo Liu <sdl.web@gmail.com>
4928
4929 * icomplete.el (icomplete-completions): Check FROM arg before
4930 passing to substring (Bug#10850).
4931
4932 2012-02-19 Chong Yidong <cyd@gnu.org>
4933
4934 * comint.el: Require ansi-color.
4935 (comint-output-filter-functions): Add ansi-color-process-output.
4936
4937 * ansi-color.el: Don't set comint-output-filter-functions; it is
4938 now in the initial value defined in comint.el.
4939 (ansi-color-apply-face-function): New variable.
4940 (ansi-color-apply-on-region): Use it.
4941 (ansi-color-apply-overlay-face): New function.
4942
4943 * shell.el (shell): No need to require ansi-color.
4944 (shell-mode): Use ansi-color-apply-face-function to highlight
4945 color escapes using font-lock-face property (Bug#10835).
4946
4947 2012-02-19 Chong Yidong <cyd@gnu.org>
4948
4949 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4950 mode-line formats (Bug#10839).
4951
4952 2012-02-18 Glenn Morris <rgm@gnu.org>
4953
4954 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4955
4956 * mail/undigest.el (unforward-rmail-message): Doc fix.
4957
4958 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4959
4960 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4961
4962 * international/characters.el (script-list): Sync with the latest
4963 Unicode Character Database.
4964
4965 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4966
4967 * international/titdic-cnv.el: Remove duplicate coding tag.
4968 * language/cham.el: Likewise.
4969 * language/tai-viet.el: Likewise.
4970
4971 2012-02-18 Glenn Morris <rgm@gnu.org>
4972
4973 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4974 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4975 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4976 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4977 * calendar/holidays.el (holiday-bahai-holidays)
4978 (calendar-holidays, list-holidays):
4979 Use utf-8 Bahá'í in doc-strings, menus, etc.
4980
4981 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4982
4983 * saveplace.el (save-place-ignore-files-regexp): New variable
4984 allowing for excluding files from saving their location of point.
4985 The default value matches the temporary commit message editing
4986 files from Git, SVN, Bazaar, and Mercurial.
4987 (save-place-to-alist): Use it.
4988
4989 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4990 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 * newcomment.el (uncomment-region-default): Don't leave extra space
4993 when an arg is provided (bug#8150).
4994
4995 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4996
4997 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4998
4999 2012-02-17 Glenn Morris <rgm@gnu.org>
5000
5001 * net/socks.el: Require network-stream. (Bug#10599)
5002
5003 2012-02-17 Kenichi Handa <handa@m17n.org>
5004
5005 * international/charprop.el:
5006 * international/uni-name.el:
5007 * international/uni-old-name.el:
5008 * international/uni-comment.el: Regenerate.
5009
5010 2012-02-16 Glenn Morris <rgm@gnu.org>
5011
5012 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5013 Interactively in calendar buffer, give an error if not on a date.
5014
5015 2012-02-15 Glenn Morris <rgm@gnu.org>
5016
5017 * shell.el (shell-delimiter-argument-list):
5018 Revert 2011-02-17 change. (Bug#8027)
5019
5020 2012-02-15 Chong Yidong <cyd@gnu.org>
5021
5022 * minibuffer.el (completion-at-point-functions): Doc fix.
5023
5024 * custom.el (defcustom): Doc fix; note use of defvar.
5025
5026 2012-02-15 Glenn Morris <rgm@gnu.org>
5027
5028 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5029 Doc fixes.
5030
5031 2012-02-14 Glenn Morris <rgm@gnu.org>
5032
5033 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5034
5035 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5036
5037 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5038 way the ports list is computed.
5039 (smtpmail-query-smtp-server): Prompt the user for a port number if
5040 we can't connect to any of the standard ports (bug#10810).
5041
5042 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5043
5044 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5045
5046 2012-02-13 Glenn Morris <rgm@gnu.org>
5047
5048 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5049
5050 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5051
5052 * net/gnutls.el (gnutls-trustfiles): New variable.
5053 (gnutls-negotiate): Use it.
5054
5055 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5056
5057 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5058 does its stuff if Gnus is running.
5059
5060 2012-02-13 Alan Mackenzie <acm@muc.de>
5061
5062 Fix a loop in c-set-fl-decl-start.
5063
5064 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5065 c-backward-syntactic-ws actually moves backwards.
5066
5067 2012-02-13 Leo Liu <sdl.web@gmail.com>
5068
5069 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5070 beginning so that all \C-o chars are removed.
5071
5072 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5073
5074 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5075
5076 2012-02-12 Alan Mackenzie <acm@muc.de>
5077
5078 Fix infinite loop with long macros.
5079 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5080
5081 2012-02-12 Chong Yidong <cyd@gnu.org>
5082
5083 * window.el (display-buffer): Doc fix (Bug#10785).
5084
5085 2012-02-12 Glenn Morris <rgm@gnu.org>
5086
5087 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5088 (x-disown-selection-internal, x-get-selection-internal):
5089 Sync docs with the xselect.c versions.
5090
5091 * allout-widgets.el: Add missing license notice.
5092
5093 2012-02-11 Glenn Morris <rgm@gnu.org>
5094
5095 * select.el (x-get-selection-internal, x-own-selection-internal)
5096 (x-disown-selection-internal):
5097 * x-dnd.el (x-get-selection-internal): Update declarations.
5098
5099 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5100
5101 * window.el (window-sides-slots):
5102 * tool-bar.el (tool-bar-position):
5103 * term/xterm.el (xterm-extra-capabilities):
5104 * ses.el (ses-self-reference-early-detection):
5105 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5106 (verilog-auto-wire-type)
5107 (verilog-auto-delete-trailing-whitespace)
5108 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5109 (verilog-auto-tieoff-declaration):
5110 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5111 (sql-oracle-statement-starters, sql-oracle-scan-on):
5112 * progmodes/prolog.el (prolog-align-comments-flag)
5113 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5114 (prolog-left-indent-regexp, prolog-paren-indent-p)
5115 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5116 (prolog-types, prolog-mode-specificators)
5117 (prolog-determinism-specificators, prolog-directives)
5118 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5119 (prolog-electric-dot-flag)
5120 (prolog-electric-dot-full-predicate-template)
5121 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5122 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5123 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5124 (prolog-program-switches, prolog-prompt-regexp)
5125 (prolog-debug-on-string, prolog-debug-off-string)
5126 (prolog-trace-on-string, prolog-trace-off-string)
5127 (prolog-zip-on-string, prolog-zip-off-string)
5128 (prolog-use-standard-consult-compile-method-flag)
5129 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5130 (prolog-imenu-max-lines, prolog-info-predicate-index)
5131 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5132 (prolog-char-quote-workaround):
5133 * progmodes/cc-vars.el (c-defun-tactic):
5134 * net/tramp.el (tramp-encoding-command-interactive)
5135 (tramp-local-end-of-line):
5136 * net/soap-client.el (soap-client):
5137 * net/netrc.el (netrc-file):
5138 * net/gnutls.el (gnutls):
5139 * minibuffer.el (completion-category-overrides)
5140 (completion-cycle-threshold)
5141 (completion-pcm-complete-word-inserts-delimiters):
5142 * man.el (Man-name-local-regexp):
5143 * mail/feedmail.el (feedmail-display-full-frame):
5144 * international/characters.el (glyphless-char-display-control):
5145 * eshell/em-ls.el (eshell-ls-date-format):
5146 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5147 (lisp-lambda-list-keyword-parameter-indentation)
5148 (lisp-lambda-list-keyword-parameter-alignment):
5149 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5150 * dired-x.el (dired-omit-verbose):
5151 * cus-theme.el (custom-theme-allow-multiple-selections):
5152 * calc/calc.el (calc-highlight-selections-with-faces)
5153 (calc-lu-field-reference, calc-lu-power-reference)
5154 (calc-note-threshold):
5155 * battery.el (battery-mode-line-limit):
5156 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5157 (archive-7z-update):
5158 * allout.el (allout-prefixed-keybindings)
5159 (allout-unprefixed-keybindings)
5160 (allout-inhibit-auto-fill-on-headline)
5161 (allout-flattened-numbering-abbreviation):
5162 * allout-widgets.el (allout-widgets-auto-activation)
5163 (allout-widgets-icons-dark-subdir)
5164 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5165 (allout-widgets-theme-dark-background)
5166 (allout-widgets-theme-light-background)
5167 (allout-widgets-item-image-properties-emacs)
5168 (allout-widgets-item-image-properties-xemacs)
5169 (allout-widgets-run-unit-tests-on-load)
5170 (allout-widgets-time-decoration-activity)
5171 (allout-widgets-hook-error-post-time)
5172 (allout-widgets-track-decoration):
5173 Add missing :version tags to new defcustoms and defgroups.
5174
5175 * progmodes/sql.el (sql-ansi-statement-starters)
5176 (sql-oracle-statement-starters): Add custom type.
5177
5178 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5179 (prolog-system-version): Give it a type.
5180
5181 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5182
5183 * term/pc-win.el (x-select-text, x-selection-owner-p)
5184 (x-own-selection-internal, x-disown-selection-internal)
5185 (x-get-selection-internal): Sync doc strings and argument lists
5186 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5187
5188 2012-02-11 Leo Liu <sdl.web@gmail.com>
5189
5190 * progmodes/python.el (python-end-of-statement): Fix infinite
5191 loop. (Bug#10788)
5192
5193 2012-02-10 Glenn Morris <rgm@gnu.org>
5194
5195 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5196 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5197
5198 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5199
5200 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5201 about SMTP before checking the From header.
5202
5203 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5204 into own function for reuse by emacsbug.el.
5205
5206 2012-02-10 Leo Liu <sdl.web@gmail.com>
5207
5208 * subr.el (condition-case-unless-debug): Rename from
5209 condition-case-no-debug. All callers changed.
5210 (with-demoted-errors): Fix caller.
5211
5212 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5213 * nxml/rng-valid.el (rng-do-some-validation):
5214 * emacs-lisp/package.el (package-refresh-contents)
5215 (package-menu-execute):
5216 * desktop.el (desktop-create-buffer):
5217 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5218
5219 2012-02-10 Glenn Morris <rgm@gnu.org>
5220
5221 * textmodes/bibtex.el:
5222 Add missing :version tags for new/changed defcustoms.
5223
5224 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5225
5226 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5227
5228 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5229 (smtpmail-via-smtp): Use it, or fall back on the From address.
5230 (smtpmail-send-it): Ditto.
5231
5232 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5233
5234 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5235 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5236 (byte-compile-tmp-var): New const.
5237 (byte-compile-defvar): Use it to minimize .elc size.
5238 Just use `defvar' rather than simulate it (bug#10761).
5239
5240 2012-02-09 Glenn Morris <rgm@gnu.org>
5241
5242 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5243
5244 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5245 Add :version tags.
5246
5247 * progmodes/compile.el (compilation-error-screen-columns)
5248 (compilation-first-column, compilation-filter-start): Doc fixes.
5249
5250 * vc/log-view.el (log-view-toggle-entry-display):
5251 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5252
5253 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5254 (report-emacs-bug-can-use-xdg-email):
5255 (report-emacs-bug-insert-to-mailer): Doc fixes.
5256 (report-emacs-bug): Message fix.
5257
5258 * net/browse-url.el (browse-url-can-use-xdg-open)
5259 (browse-url-xdg-open): Doc fixes.
5260
5261 * electric.el (electric-indent-mode, electric-pair-mode)
5262 (electric-layout-rules, electric-layout-mode): Doc fixes.
5263 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5264
5265 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5266
5267 * server.el (server-unselect-display): Don't inadvertently kill
5268 the current buffer. (Bug#10729)
5269
5270 2012-02-08 Glenn Morris <rgm@gnu.org>
5271
5272 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5273 (sql-list-table): Doc fixes.
5274
5275 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5276 Comment out (does nothing).
5277
5278 * completion.el (dynamic-completion-mode):
5279 * dirtrack.el (dirtrack-debug-mode):
5280 * electric.el (electric-layout-mode):
5281 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5282 * face-remap.el (text-scale-mode, buffer-face-mode):
5283 * iimage.el (iimage-mode):
5284 * image-mode.el (image-transform-mode):
5285 * minibuffer.el (completion-in-region-mode):
5286 * scroll-lock.el (scroll-lock-mode):
5287 * simple.el (next-error-follow-minor-mode):
5288 * tar-mode.el (tar-subfile-mode):
5289 * tooltip.el (tooltip-mode):
5290 * vcursor.el (vcursor-use-vcursor-map):
5291 * wid-browse.el (widget-minor-mode):
5292 * emulation/tpu-edt.el (tpu-edt-mode):
5293 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5294 * international/iso-ascii.el (iso-ascii-mode):
5295 * language/thai-util.el (thai-word-mode):
5296 * mail/supercite.el (sc-minor-mode):
5297 * net/goto-addr.el (goto-address-mode):
5298 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5299 * progmodes/cwarn.el (cwarn-mode):
5300 * progmodes/flymake.el (flymake-mode):
5301 * progmodes/glasses.el (glasses-mode):
5302 * progmodes/hideshow.el (hs-minor-mode):
5303 * progmodes/pascal.el (pascal-outline-mode):
5304 * textmodes/enriched.el (enriched-mode):
5305 * vc/smerge-mode.el (smerge-mode):
5306 Doc fixes (minor mode argument).
5307
5308 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5309
5310 * ls-lisp.el (ls-lisp-sanitize): New function.
5311 (ls-lisp-insert-directory): Use it to fix or remove any elements
5312 in file-alist with missing attributes. (Bug#4673)
5313
5314 2012-02-07 Alan Mackenzie <acm@muc.de>
5315
5316 Fix spurious recognition of c-in-knr-argdecl.
5317
5318 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5319 putative K&R region.
5320
5321 2012-02-07 Alan Mackenzie <acm@muc.de>
5322
5323 * progmodes/cc-engine.el (c-forward-objc-directive):
5324 Prevent looping in "#pragma mark @implementation".
5325
5326 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5327
5328 * notifications.el (notifications-on-closed-signal): Make `reason'
5329 optional. (Bug#10744)
5330
5331 2012-02-07 Glenn Morris <rgm@gnu.org>
5332
5333 * emacs-lisp/easy-mmode.el (define-minor-mode):
5334 Doc fixes for the macro and the mode it defines.
5335
5336 * image.el (imagemagick-types-inhibit): Doc fix.
5337
5338 * cus-start.el (imagemagick-render-type): Add it.
5339
5340 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5341
5342 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5343 Set the default at load time, too, so that `font-lock-fontify-buffer'
5344 can be called without setting up the entire mode first. This fixes
5345 a bug in `mm-inline-text' with C MIME parts.
5346
5347 2012-02-06 Chong Yidong <cyd@gnu.org>
5348
5349 * simple.el (list-processes--refresh): Delete exited processes
5350 (Bug#8094).
5351
5352 * comint.el (comint-next-prompt): next-single-char-property-change
5353 and prev-single-char-property-change never return nil (Bug#8657).
5354
5355 * custom.el (defcustom): Doc fix (Bug#9711).
5356
5357 2012-02-05 Chong Yidong <cyd@gnu.org>
5358
5359 * cus-edit.el (custom-variable-reset-backup): Quote the value
5360 before storing it in the customized-value property (Bug#6712).
5361 (custom-display): Add a customization type tag.
5362 (custom-buffer-create-internal): Improve tooltip message.
5363
5364 * wid-edit.el (widget-field-value-get): New optional arg to
5365 suppress trailing whitespace truncation.
5366 (character): Use it (Bug#2689).
5367
5368 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5369
5370 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5371 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5372
5373 2012-02-05 Chong Yidong <cyd@gnu.org>
5374
5375 * cus-edit.el (custom-variable-value-create): For mismatched
5376 types, show the current value (Bug#7600).
5377
5378 * custom.el (defcustom): Doc fix.
5379
5380 2012-02-05 Glenn Morris <rgm@gnu.org>
5381
5382 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5383
5384 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5385
5386 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5387 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5388 (pp-last-sexp): Use `looking-at-p'.
5389
5390 2012-02-04 Glenn Morris <rgm@gnu.org>
5391
5392 * files.el (revert-buffer):
5393 Doc fix (mention revert-buffer-in-progress-p).
5394
5395 * emacs-lisp/ert-x.el (ert-simulate-command):
5396 Check deferred-action-list (which is obsolete) is bound.
5397
5398 * subr.el (with-wrapper-hook): Doc fixes.
5399
5400 * simple.el (filter-buffer-substring-functions)
5401 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5402
5403 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5404
5405 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5406 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5407
5408 2012-02-04 Leo Liu <sdl.web@gmail.com>
5409
5410 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5411
5412 2012-02-04 Glenn Morris <rgm@gnu.org>
5413
5414 * image.el (image-extension-data): Add obsolete alias.
5415
5416 * isearch.el (isearch-update): Doc fix.
5417
5418 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5419
5420 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5421
5422 2012-02-03 Glenn Morris <rgm@gnu.org>
5423
5424 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5425 (image-animate-timeout): Doc fix.
5426
5427 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5428
5429 2012-02-02 Glenn Morris <rgm@gnu.org>
5430
5431 * server.el (server-auth-dir): Doc fix.
5432 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5433
5434 * subr.el (run-mode-hooks): Doc fix.
5435
5436 2012-02-02 Juri Linkov <juri@jurta.org>
5437
5438 * image-mode.el (image-toggle-display-image): Remove tautological
5439 `major-mode' from the `derived-mode-p' test.
5440
5441 2012-02-02 Kenichi Handa <handa@m17n.org>
5442
5443 * composite.el (compose-region): Cancel previous change.
5444
5445 2012-02-02 Kenichi Handa <handa@m17n.org>
5446
5447 * composite.el (compose-region, compose-string): Signal error for
5448 a null string component (Bug#6988).
5449
5450 2012-02-01 Chong Yidong <cyd@gnu.org>
5451
5452 * view.el (view-buffer-other-window, view-buffer-other-frame):
5453 Handle special modes like view-buffer (Bug#10650).
5454 (view-buffer): Simplify.
5455
5456 * frame.el (set-frame-font): Tweak meaning of third argument.
5457
5458 * dynamic-setting.el (font-setting-change-default-font):
5459 Use set-frame-font (Bug#9982).
5460
5461 2012-02-01 Glenn Morris <rgm@gnu.org>
5462
5463 * progmodes/compile.el (compilation-internal-error-properties):
5464 Respect compilation-first-column in the "*compilation*" buffer.
5465
5466 * emacs-lisp/easy-mmode.el (define-minor-mode):
5467 Relax :variable's test for a named function.
5468
5469 2012-01-31 Alan Mackenzie <acm@muc.de>
5470
5471 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5472 off by one error.
5473
5474 2012-01-31 Chong Yidong <cyd@gnu.org>
5475
5476 * frame.el (set-frame-font): New arg ALL-FRAMES.
5477
5478 * menu-bar.el (menu-set-font): Use set-frame-font.
5479
5480 * faces.el (face-spec-reset-face): Don't apply unspecified
5481 attribute values to the default face.
5482
5483 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5484
5485 * progmodes/cwarn.el (cwarn): Remove dead link.
5486 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5487 Remove * from defcustom docstrings.
5488 (turn-on-cwarn-mode): Make obsolete.
5489 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5490 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5491
5492 2012-01-31 Glenn Morris <rgm@gnu.org>
5493
5494 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5495 Fix :variable handling of mode a symbol not equal to modefun.
5496 Allow named functions to be used as the cdr of :variable.
5497
5498 2012-01-30 Glenn Morris <rgm@gnu.org>
5499
5500 * emacs-lisp/authors.el (authors-fixed-entries):
5501 Remove reference to deleted file rnewspost.el.
5502
5503 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5504
5505 * window.el (window-with-parameter): Remove unused variable `windows'.
5506 (window--side-check): Remove unused variable `code'.
5507 (window--resize-siblings): Remove unused variable `first'.
5508 (adjust-window-trailing-edge): Remove unused variable `failed'.
5509 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5510 Use `let', not `let*'.
5511 (balance-windows-2): Remove unused variable `found'.
5512 (window--state-put-2): Remove unused variable `splits'.
5513 (window-state-put): Remove unused variable `selected'.
5514 (same-window-p): Use `string-match-p'.
5515 (display-buffer-assq-regexp): Remove unused variable `value'.
5516 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5517 Mark argument ALIST as ignored.
5518 (pop-to-buffer): Remove unused variable `old-window'.
5519
5520 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5521
5522 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5523 and .lzma compressed files.
5524
5525 2012-01-29 Chong Yidong <cyd@gnu.org>
5526
5527 * frame.el (window-system-default-frame-alist): Doc fix.
5528
5529 * dynamic-setting.el (font-setting-change-default-font): Don't
5530 change the default face if SET-FONT argument is non-nil (Bug#9982).
5531
5532 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5533
5534 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5535
5536 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5537
5538 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5539 breakpoints in files outside current directory (Bug#6098).
5540
5541 2012-01-29 Chong Yidong <cyd@gnu.org>
5542
5543 * progmodes/python.el: Require ansi-color at top-level.
5544
5545 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5546 Define and use in Emacs Lisp mode (Bug#9360).
5547 (lisp-mode-abbrev-table): Add doc.
5548 (lisp-mode-variables): Don't set local-abbrev-table.
5549 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5550
5551 2012-01-28 Roland Winkler <winkler@gnu.org>
5552
5553 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5554
5555 2012-01-28 Roland Winkler <winkler@gnu.org>
5556
5557 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5558 (bibtex-set-dialect): Use it. Either set global values of
5559 dialect-dependent variables or bind these variables buffer-locally
5560 (Bug#10254).
5561 (bibtex-mode): Call bibtex-set-dialect via
5562 hack-local-variables-hook.
5563 (bibtex-dialect): Update docstring.
5564 Add safe-local-variable predicate.
5565 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5566 bibtex-set-dialect.
5567 (bibtex-mode-map): Define menu for each dialect.
5568 (bibtex-entry): Fix docstring.
5569
5570 2012-01-28 Chong Yidong <cyd@gnu.org>
5571
5572 * eshell/esh-arg.el (eshell-quote-argument): New function.
5573
5574 * eshell/esh-ext.el (eshell-invoke-batch-file):
5575 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5576 first arg to eshell-parse-command (Bug#10523).
5577
5578 2012-01-28 Drew Adams <drew.adams@oracle.com>
5579
5580 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5581 `default-directory' is non-nil.
5582
5583 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5584
5585 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5586 line that displays system-configuration-options. (Bug#9924)
5587
5588 2012-01-28 Drew Adams <drew.adams@oracle.com>
5589
5590 * descr-text.el (describe-char): Show information about POS, in
5591 addition to information about the character at POS. Improve and
5592 update the doc string. Change "code point" to "code point in
5593 charset", to avoid confusion with the character's Unicode code
5594 point shown above that. (Bug#10129)
5595
5596 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5597
5598 * descr-text.el (describe-char): Show the raw character, not only
5599 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5600 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5601 for the reasons.
5602
5603 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5604
5605 * emacs-lisp/package.el (package-install):
5606 Run package-refresh-contents if there is no archive yet (Bug#9798).
5607
5608 2012-01-28 Chong Yidong <cyd@gnu.org>
5609
5610 * emacs-lisp/package.el (package-maybe-load-descriptor):
5611 New function, split from package-maybe-load-descriptor.
5612 (package-maybe-load-descriptor): Use it.
5613 (package-download-transaction): Fully load required packages
5614 inside the loop, so that `require' calls work (Bug#10593).
5615 (package-install): No need to call package-initialize now.
5616
5617 2012-01-28 Chong Yidong <cyd@gnu.org>
5618
5619 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5620
5621 * tooltip.el (tooltip-mode): Doc fix.
5622 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5623
5624 * frame.el (set-cursor-color): Doc fix (Bug#352).
5625
5626 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5627 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5628
5629 * cus-edit.el (custom-buffer-create-internal): Fix search button
5630 action (Bug#10542).
5631 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5632
5633 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5634
5635 * dired.el (dired-mark-files-regexp):
5636 Include any subdirectory components. (Bug#10445)
5637
5638 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5639
5640 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5641 Handle [host]:port syntax. (Bug#10533)
5642
5643 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5644
5645 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5646
5647 2012-01-26 Glenn Morris <rgm@gnu.org>
5648
5649 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5650 * term.el (term-raw-escape-map): Use Control-X-prefix.
5651 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5652
5653 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5654
5655 * window.el (window-state-get, window--state-get-1): Don't deal
5656 with fixed-sizeness of windows. Simplify code.
5657
5658 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5659
5660 * window.el (window--state-get-1, window--state-put-2):
5661 Don't save and restore the mark.
5662
5663 2012-01-25 Chong Yidong <cyd@gnu.org>
5664
5665 * custom.el (custom-variable-p): Doc fix.
5666
5667 2012-01-25 Glenn Morris <rgm@gnu.org>
5668
5669 * dired.el (dired-goto-file): Handle some of the more common
5670 characters that `ls -b' escapes. (Bug#10596)
5671
5672 * progmodes/compile.el (compilation-next-error-function):
5673 Respect compilation-first-column in the "*compilation*" buffer.
5674 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5675
5676 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5677
5678 2012-01-24 Glenn Morris <rgm@gnu.org>
5679
5680 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5681
5682 2012-01-24 Julien Danjou <julien@danjou.info>
5683
5684 * color.el (color-rgb-to-hsl): Fix value computing.
5685 (color-hue-to-rgb): New function.
5686 (color-hsl-to-rgb): New function.
5687 (color-clamp, color-saturate-hsl, color-saturate-name)
5688 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5689 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5690
5691 2012-01-24 Glenn Morris <rgm@gnu.org>
5692
5693 * vc/vc-rcs.el (vc-rcs-create-tag):
5694 * vc/vc-sccs.el (vc-sccs-create-tag):
5695 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5696
5697 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5698
5699 * eshell/esh-util.el (eshell-read-hosts-file):
5700 Skip comment lines. (Bug#10549)
5701
5702 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5703
5704 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5705
5706 * subr.el (display-delayed-warnings): Doc fix.
5707 (collapse-delayed-warnings): New function to collapse identical
5708 adjacent warnings.
5709 (delayed-warnings-hook): Add it.
5710
5711 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5712
5713 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5714
5715 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5716 (tramp-default-user-alist): Don't add "pscp".
5717 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5718 property "login-as", if set. (Bug#10530)
5719
5720 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5721
5722 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5723 "plink1" and "psftp". (Bug#10530)
5724
5725 2012-01-21 Kenichi Handa <handa@m17n.org>
5726
5727 * international/mule-cmds.el (prefer-coding-system): Show a
5728 warning message if the default value of file-name-coding-system
5729 was not changed.
5730
5731 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5732
5733 * windmove.el (windmove-reference-loc):
5734 Fix windmove-reference-loc miscalculation.
5735
5736 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5737
5738 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5739 default unit.
5740
5741 2012-01-21 Glenn Morris <rgm@gnu.org>
5742
5743 * international/mule.el (auto-coding-alist): Add .tbz.
5744
5745 * files.el (local-enable-local-variables): Doc fix.
5746 (inhibit-local-variables-regexps): Rename from
5747 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5748 Doc fix. Add some extensions from auto-coding-alist.
5749 (inhibit-local-variables-suffixes):
5750 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5751 (inhibit-local-variables-p):
5752 New function, extracted from set-auto-mode-1.
5753 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5754 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5755 (hack-local-variables): Doc fix. Make the mode-only case
5756 respect enable-local-variables and friends.
5757 Respect inhibit-local-variables-regexps for file-locals, but
5758 not for directory-locals.
5759 (set-visited-file-name):
5760 Take account of inhibit-local-variables-regexps.
5761 Whether it applies may change as the file name is changed.
5762 * jka-cmpr-hook.el (jka-compr-install):
5763 * jka-compr.el (jka-compr-uninstall):
5764 Update for inhibit-first-line-modes-suffixes name change.
5765
5766 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5767
5768 * help-macro.el (make-help-screen): Temporarily restore original
5769 binding for minor-mode-map-alist (Bug#10454).
5770
5771 2012-01-19 Julien Danjou <julien@danjou.info>
5772
5773 * color.el (color-name-to-rgb): Use the white color to find the max
5774 color component value and return correctly computed values.
5775 (color-name-to-rgb): Add missing float conversion for max value.
5776
5777 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5778
5779 * window.el (window--state-get-1, window-state-get): Do not use
5780 special state value for window-persistent-parameters.
5781 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5782 (window--state-put-2): Reset all window parameters to nil before
5783 assigning values of persistent parameters.
5784
5785 2012-01-18 Alan Mackenzie <acm@muc.de>
5786
5787 Eliminate sluggishness and hangs in fontification of "semicolon
5788 deserts".
5789
5790 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5791 Change value 10000 -> 3000.
5792 (c-state-safe-place): Reformulate so it doesn't stack up an
5793 infinite number of wrong entries in c-state-nonlit-pos-cache.
5794 (c-determine-limit-get-base, c-determine-limit): New functions to
5795 determine backward search limits disregarding literals.
5796 (c-find-decl-spots): Amend commenting.
5797 (c-cheap-inside-bracelist-p): New function which detects "={".
5798
5799 * progmodes/cc-fonts.el
5800 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5801 backward search.
5802 (c-font-lock-declarations): Fix an occurrence of point being
5803 undefined. Check additionally for point being in a bracelist or
5804 near a macro invocation without a semicolon so as to avoid a
5805 fruitless time consuming search for a declarator. Give a more
5806 precise search limit for declarators using the new
5807 c-determine-limit.
5808
5809 2012-01-18 Glenn Morris <rgm@gnu.org>
5810
5811 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5812 (set-auto-mode): Doc fixes.
5813
5814 2012-01-17 Glenn Morris <rgm@gnu.org>
5815
5816 * isearch.el (search-nonincremental-instead): Fix doc typo.
5817
5818 * dired.el (dired-insert-directory): Handle newlines in directory name.
5819 (dired-build-subdir-alist): Unescape newlines in directory name.
5820
5821 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5822
5823 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5824 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5825 (tramp-action-terminal): Use it. (Bug#10530)
5826
5827 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5830
5831 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5832
5833 * window.el (window-state-ignored-parameters): Remove variable.
5834 (window--state-get-1): Rename argument MARKERS to IGNORE.
5835 Handle persistent window parameters. Make copy of clone-of
5836 parameter only if requested. (Bug#10348)
5837 (window--state-put-2): Install a window parameter only if it has
5838 a non-nil value or an existing parameter shall be overwritten.
5839
5840 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5841
5842 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5843
5844 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5845
5846 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5847 don't pass the (nil) value of `upnode' to string-match.
5848
5849 2012-01-14 Chong Yidong <cyd@gnu.org>
5850
5851 * startup.el (command-line): Fix X resource class for cursorColor.
5852 Fix values recognized by the cursorBlink resource.
5853
5854 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5855
5856 * epg.el (epg--make-temp-file): Avoid permission race condition
5857 when running on old Emacs versions (bug#10403).
5858
5859 2012-01-14 Glenn Morris <rgm@gnu.org>
5860
5861 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5862
5863 2012-01-13 Alan Mackenzie <acm@muc.de>
5864
5865 Fix filling for when filladapt mode is enabled.
5866
5867 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5868 c-mask-paragraph, pass in `fill-paragraph' rather than
5869 `fill-region-as-paragraph'. (This is a reversion of a previous
5870 change.)
5871 * progmodes/cc-mode.el (c-basic-common-init):
5872 Make fill-paragraph-handle-comment buffer local and set it to nil.
5873
5874 2012-01-13 Glenn Morris <rgm@gnu.org>
5875
5876 * dired.el (dired-switches-escape-p): New function.
5877 (dired-insert-directory): Use dired-switches-escape-p.
5878 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5879
5880 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5881
5882 2012-01-12 Glenn Morris <rgm@gnu.org>
5883
5884 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5885 changes in adaptive-fill-regexp. (Bug#10276)
5886
5887 2012-01-11 Alan Mackenzie <acm@muc.de>
5888
5889 Fix Emacs bug #10463 - put `widen's around the critical spots.
5890
5891 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5892 widen around each invocation of c-state-pp-to-literal. Remove an
5893 unused let variable.
5894
5895 2012-01-11 Glenn Morris <rgm@gnu.org>
5896
5897 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5898 Doc fix.
5899
5900 2012-01-10 Chong Yidong <cyd@gnu.org>
5901
5902 * net/network-stream.el (network-stream-open-starttls):
5903 Avoid emitting a confusing error message when the server gives a bad
5904 response to the capability command.
5905
5906 2012-01-10 Glenn Morris <rgm@gnu.org>
5907
5908 * mail/unrmail.el (unrmail): Tweak previous change.
5909
5910 2012-01-09 Chong Yidong <cyd@gnu.org>
5911
5912 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5913
5914 2012-01-08 Alan Mackenzie <acm@muc.de>
5915
5916 Optimise font locking in long enum definitions.
5917
5918 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5919 arm to a cond form to handle enums.
5920 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5921 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5922
5923 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5924
5925 * files.el (move-file-to-trash): Preserve default file modes on error.
5926 (Bug#10401)
5927
5928 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5929
5930 * faces.el (set-face-attribute): Clarify the meaning of the nil
5931 frame (bug#10294).
5932
5933 * subr.el (with-selected-frame): Mention that the selected frame
5934 is restored (bug#9980).
5935
5936 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5937 (bug#9759).
5938
5939 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5940 (password-read): Don't autoload unused function.
5941
5942 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5943
5944 * progmodes/which-func.el (which-func-mode): Turn into a
5945 non-interactive function and mark as obsolete (bug#10428).
5946
5947 2012-01-06 Chong Yidong <cyd@gnu.org>
5948
5949 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5950 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5951 functions, along with 1 and -1.
5952
5953 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5954
5955 * time.el (display-time-load-average)
5956 (display-time-default-load-average): Doc fixes. See the thread
5957 starting at
5958 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5959 for the details.
5960
5961 2012-01-06 Glenn Morris <rgm@gnu.org>
5962
5963 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5964 has no messages. (Bug#10377)
5965
5966 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5967 than Info-edit. (Bug#10385)
5968
5969 * time.el (display-time-load-average, display-time-next-load-average):
5970 Doc fixes.
5971
5972 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5973 local setting of buffer-read-only to the input buffer. (Bug#10419)
5974
5975 * calendar/calendar.el (calendar-mode):
5976 Locally set scroll-margin to 0. (Bug#10379)
5977
5978 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5979
5980 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5981
5982 2012-01-05 Glenn Morris <rgm@gnu.org>
5983
5984 * eshell/em-unix.el (diff-no-select): Autoload it.
5985 (eshell/diff): Use diff-no-select. (Bug#10420)
5986
5987 2012-01-05 Chong Yidong <cyd@gnu.org>
5988
5989 * shell.el (shell-dynamic-complete-functions): Revert last change.
5990 (shell-command-completion-function): New function.
5991 (shell-completion-vars): Use it to implement
5992 shell-completion-execonly (Bug#10417).
5993
5994 * custom.el (enable-theme): Don't set custom-safe-themes.
5995
5996 * cus-theme.el (custom-theme-merge-theme):
5997 Ignore custom-enabled-themes and custom-safe-themes.
5998
5999 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6000
6001 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6002 first prompt in `sql-interacive-mode'.
6003 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
6004 keywords.
6005 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
6006 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6007 context of original buffer. Invoke `sql-login-hook'.
6008
6009 2012-01-04 Eli Zaretskii <eliz@gnu.org>
6010
6011 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6012 letters in cite-prefix.
6013
6014 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6015
6016 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6017
6018 2012-01-03 Chong Yidong <cyd@gnu.org>
6019
6020 * shell.el (shell-dynamic-complete-functions):
6021 Put pcomplete-completions-at-point, so as to try
6022 comint-filename-completion first (Bug#10417).
6023
6024 2012-01-02 Richard Stallman <rms@gnu.org>
6025
6026 * battery.el (battery-status-function):
6027 Detect when to use battery-yeeloong-sysfs.
6028 (battery-echo-area-format): Add string for Yeeloong.
6029 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6030 (battery-yeeloong-sysfs): New function.
6031
6032 2012-01-02 Chong Yidong <cyd@gnu.org>
6033
6034 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6035 (dirtrack): Merge code for handling relative filenames in prompt
6036 from shell-dir-cookie-watcher.
6037 (dirtrack-debug-message): New arg to avoid excess format calls.
6038
6039 * shell.el (shell-dir-cookie-re): Variable deleted.
6040 (shell-dir-cookie-watcher): Function deleted.
6041 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6042 with dirtrack-mode.
6043
6044 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6045
6046 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6047 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6048 libgnutls-26.dll.
6049
6050 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6051
6052 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6053
6054 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6055
6056 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6057 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6058
6059 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6060
6061 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6062 also for alternative shells.
6063 (tramp-open-connection-setup-interactive-shell): Check, whether
6064 the shell is a busybox.
6065 (tramp-send-command): Don't suppress multiple prompts for
6066 busyboxes, it hurts.
6067
6068 2011-12-28 Chong Yidong <cyd@gnu.org>
6069
6070 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6071 (gdb-get-source-file): Move mode line update to
6072 gdb-get-source-file (Bug#10087).
6073
6074 2011-12-25 Chong Yidong <cyd@gnu.org>
6075
6076 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6077 gud-gdb-marker-filter without taking it as an argument.
6078 (gud-gdb-run-command-fetch-lines): Caller changed.
6079 (gud-gdb-completion-function): New variable.
6080 (gud-gdb-completion-at-point): Use it.
6081 (gud-gdb-completions-1): Split from gud-gdb-completions.
6082
6083 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6084 function as separate arguments.
6085 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6086 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6087 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6088 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6089 (gdb-stopped, def-gdb-auto-update-trigger)
6090 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6091 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6092 Callers changed.
6093 (gud-gdbmi-completions): New function.
6094 (gdb): Use it for generating the completion table.
6095
6096 2011-12-24 Alan Mackenzie <acm@muc.de>
6097
6098 Introduce a mechanism to widen the region used in context font
6099 locking. Use this to protect declarations from losing their contexts.
6100
6101 * progmodes/cc-langs.el (c-before-font-lock-functions):
6102 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6103 (c-before-context-fontification-functions): New defvar, a list of
6104 functions to be run just before context (etc.) font locking.
6105
6106 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6107 New, functionality extracted from
6108 c-neutralize-syntax-in-and-mark-CPP.
6109 (c-in-after-change-fontification): New variable.
6110 (c-after-change): Set c-in-after-change-fontification.
6111 (c-set-fl-decl-start): Rejig its interface, so it can be called
6112 from both after-change and context fontifying.
6113 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6114 New functions.
6115 (c-standard-font-lock-fontify-region-function): New variable.
6116 (c-font-lock-fontify-region): New function.
6117
6118 2011-12-24 Juri Linkov <juri@jurta.org>
6119
6120 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6121 (Bug#10348)
6122
6123 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6124
6125 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6126 existence of source file. (Bug#10325)
6127
6128 2011-12-23 Alan Mackenzie <acm@muc.de>
6129
6130 Fix unstable fontification inside templates.
6131
6132 * progmodes/cc-langs.el (c-before-font-lock-functions):
6133 Newly created from the singular version. The (c c++ objc) entry now
6134 additionally has c-set-fl-decl-start. The other languages (apart
6135 from AWK) have that as a single entry.
6136
6137 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6138 The functionality for "local" declarations has been extracted to
6139 c-set-fl-decl-start.
6140
6141 * progmodes/cc-mode.el (c-common-init, c-after-change):
6142 Changes due to pluralisation of c-before-font-lock-functions.
6143 (c-set-fl-decl-start): New function, extracted from
6144 c-font-lock-enclosing-decls and enhanced.
6145
6146 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6147
6148 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6149
6150 2011-12-22 Juri Linkov <juri@jurta.org>
6151
6152 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6153
6154 2011-12-22 Chong Yidong <cyd@gnu.org>
6155
6156 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6157
6158 2011-12-21 Drew Adams <drew.adams@oracle.com>
6159
6160 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6161
6162 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6163
6164 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6165
6166 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6167
6168 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6169 highlighting and support. Fix up comments for capitalization.
6170 (cfengine-mode-debug): New var.
6171 (cfengine3-mode): Change the modeline indicator to "CFE3".
6172 (cfengine3-font-lock-keywords): Improve defun highlighting.
6173 (cfengine2-actions): Rename from `cfengine-actions'.
6174 (cfengine2-font-lock-keywords): Rename from
6175 `cfengine-font-lock-keywords'.
6176 (cfengine2-imenu-expression): Rename from
6177 `cfengine-imenu-expression'.
6178 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6179 (cfengine2-beginning-of-defun): Rename from
6180 `cfengine-beginning-of-defun'.
6181 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6182 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6183 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6184 modeline indicator to "CFE2".
6185 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6186 (cfengine-mode-abbrevs): Mark obsolete.
6187
6188 2011-12-21 Chong Yidong <cyd@gnu.org>
6189
6190 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6191 filename argument.
6192
6193 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6194
6195 * window.el (window-normalize-buffer-to-display): Remove.
6196 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6197
6198 2011-12-19 Chong Yidong <cyd@gnu.org>
6199
6200 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6201 Don't signal an error in a predicate function; return non-nil.
6202 (vc-dir-mark-file): Move the error here.
6203 (vc-dir-mark-unmark): If acting on the region, keep going if one
6204 of the entries cannot be marked/unmarked.
6205 (vc-dir-mark-all-files): If current entry is a directory, mark
6206 only child files, as documented.
6207
6208 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6209
6210 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6211 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6212 addition.
6213
6214 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6215
6216 * term/ns-win.el (ns-get-selection-internal)
6217 (ns-store-selection-internal): Declare.
6218 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6219 Declare as obsolete.
6220 (ns-get-pasteboard, ns-paste-secondary):
6221 Use ns-get-selection-internal.
6222 (ns-set-pasteboard, ns-copy-including-secondary):
6223 Use ns-store-selection-internal.
6224
6225 2011-12-17 Chong Yidong <cyd@gnu.org>
6226
6227 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6228 (vc-deduce-fileset): Doc fix.
6229
6230 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6231
6232 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6233
6234 2011-12-13 Sam Steingold <sds@gnu.org>
6235
6236 * man.el (Man-getpage-in-background): When running under a
6237 window-system, ignore $MANWIDTH and $COLUMNS.
6238
6239 2011-12-15 Kenichi Handa <handa@m17n.org>
6240
6241 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6242 (setup-ethiopic-environment-internal): Comment out key-binding for
6243 ethio-toggle-punctuation.
6244
6245 2011-12-13 Alan Mackenzie <acm@muc.de>
6246
6247 Add the switch statement to AWK Mode.
6248
6249 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6250 "default" to the keywords regexp.
6251
6252 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6253 expression as the rest.
6254 (c-nonlabel-token-key): Allow string literals for AWK.
6255 Refactor for the other modes.
6256
6257 Large brace-block initialisation makes CC Mode slow: Fix.
6258 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6259 routines. Limit backward searching in c-font-lock-enclosing.decl.
6260
6261 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6262 pp-state and literal type in addition to the limits.
6263 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6264 (c-state-literal-at): Use the above new defun.
6265 (c-slow-in-literal, c-fast-in-literal): Remove.
6266 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6267
6268 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6269 being in a literal. Add a limit for backward searching.
6270
6271 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6272 c-slow-in-literal.
6273
6274 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6277
6278 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6279
6280 * window.el (delete-other-windows): Use correct frame in call to
6281 window-with-parameter.
6282
6283 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6284
6285 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6286 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6287 (makefile-gmake-statements, makefile-makepp-statements):
6288 Use it and add new makepp keywords.
6289 (makefile-makepp-font-lock-keywords): Add new patterns.
6290 (makefile-match-function-end): Match new [...] and [[...]].
6291
6292 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6293
6294 * ses.el (ses-call-printer-return, ses-cell-property-get)
6295 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6296 (ses-create-cell-variable, ses-reset-header-string)
6297 (ses-cell-set-formula, ses-repair-cell-reference-all)
6298 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6299 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6300 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6301 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6302 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6303 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6304 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6305 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6306 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6307 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6308 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6309 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6310
6311 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6312
6313 * ses.el: The overall change is to add cell renaming, that is
6314 setting fancy names for cell symbols other than name matching
6315 "\\`[A-Z]+[0-9]+\\'" regexp .
6316 (ses-create-cell-variable): New defun.
6317 (ses-relocate-formula): Relocate formulas only for cells the
6318 symbols of which are not renamed, i.e. symbols whose names do not
6319 match regexp "\\`[A-Z]+[0-9]+\\'".
6320 (ses-relocate-all): Relocate values only for cells the symbols of
6321 which are not renamed.
6322 (ses-load): Create cells variables as the (ses-cell ...) are read,
6323 in order to check row col consistency with cell symbol name only
6324 for cells that are not renamed.
6325 (ses-replace-name-in-formula): New defun.
6326 (ses-rename-cell): New defun.
6327
6328 2011-12-11 Chong Yidong <cyd@gnu.org>
6329
6330 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6331 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6332
6333 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6334
6335 * window.el (other-window): Fix docstring.
6336
6337 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6338
6339 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6340 `from' or `to' address before taking its substring.
6341 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6342 encoded name is chopped in the middle of the encoded string, and
6343 thus displayed encoded.
6344
6345 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6346
6347 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6348
6349 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6350
6351 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6352 to use texinfo-update-node and commands that call it if the
6353 Texinfo file uses @node lines without next/prev/up pointers.
6354 Correct outdated description about texinfo-master-menu.
6355 (texinfo-all-menus-update, texinfo-master-menu)
6356 (texinfo-update-node, texinfo-every-node-update)
6357 (texinfo-multiple-files-update): Doc fix. Warn against updating
6358 all the @node lines.
6359 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6360 argument is numeric. Explain better in the doc string what the
6361 function really does.
6362 (texinfo-insert-master-menu-list): Improve the error message
6363 displayed if there's no menu in the Top node.
6364 (Bug#2975) See also this thread:
6365 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6366
6367 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6368
6369 * speedbar.el (speedbar-supported-extension-expressions):
6370 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6371
6372 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6373
6374 * printing.el (pr-mode-alist):
6375 * simple.el (filter-buffer-substring-functions)
6376 (completion-list-insert-choice-function):
6377 * window.el (window-with-parameter, window-atom-root)
6378 (window-sides-slots, window-size-fixed, window-min-delta)
6379 (window-max-delta, window--resize-mini-window)
6380 (window--resize-child-windows-normal, window-tree)
6381 (delete-other-windows, quit-window, split-window)
6382 (display-buffer-record-window, special-display-buffer-names)
6383 (special-display-regexps, special-display-popup-frame)
6384 (same-window-p, split-window-sensibly)
6385 (display-buffer-overriding-action, display-buffer-alist)
6386 (display-buffer-base-action, display-buffer, switch-to-buffer)
6387 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6388 (fit-window-to-buffer, recenter-positions)
6389 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6390 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6391 and remove unneeded backslashes in docstrings.
6392
6393 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6394
6395 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6396
6397 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6398 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6399 end in ".mk".
6400 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6401 when reading the makefile (bug#10116).
6402
6403 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6406 (bug#10116).
6407
6408 2011-12-06 Glenn Morris <rgm@gnu.org>
6409
6410 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6411
6412 2011-12-06 Chong Yidong <cyd@gnu.org>
6413
6414 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6415
6416 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * textmodes/table.el (table-shorten-cell): Fix typo.
6419
6420 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6421
6422 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6423
6424 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6425
6426 * descr-text.el (describe-char): Fix display of strong
6427 right-to-left characters and directional embeddings and overrides.
6428
6429 * simple.el (what-cursor-position): Fix display of codepoints of
6430 strong right-to-left characters.
6431
6432 2011-12-05 Chong Yidong <cyd@gnu.org>
6433
6434 * faces.el (read-color): Doc fix.
6435
6436 2011-12-05 Glenn Morris <rgm@gnu.org>
6437
6438 * align.el (align--set-marker): Add doc-string.
6439 Don't try to move something that is not a marker. (Bug#10216)
6440
6441 2011-12-04 Glenn Morris <rgm@gnu.org>
6442
6443 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6444 overly zealous deletion of trailing whitespace.
6445
6446 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6447
6448 * server.el (server-delete-client): On Windows, do not try to delete
6449 the only terminal.
6450 (server-process-filter): On Windows, treat requests for a tty frame as
6451 if they were for a GUI frame if the running server is in GUI mode.
6452
6453 2011-12-03 Glenn Morris <rgm@gnu.org>
6454
6455 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6456
6457 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6459 * electric.el: Streamline electric-indent's hook.
6460 (electric-indent-chars): Revert to simple list.
6461 (electric-indent-functions): New var.
6462 (electric-indent-post-self-insert-function): Use it.
6463
6464 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6465 there's no inferior buffer (bug#10196).
6466 (prolog-consult-compile): Don't use toggle-read-only.
6467
6468 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6469
6470 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6471 interrupt. (Bug#10187)
6472
6473 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6474
6475 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6476 (bug#9160).
6477
6478 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6479 (bug#10191).
6480
6481 2011-12-02 Juri Linkov <juri@jurta.org>
6482
6483 * info.el (Info-search): Display "end of manual" when Isearch
6484 reaches the end of single-file Info manual. (Bug#9918)
6485
6486 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6487
6488 * isearch.el (isearch-message-prefix): Run the input method part
6489 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6490
6491 2011-12-02 Juri Linkov <juri@jurta.org>
6492
6493 * isearch.el (isearch-occur): Use `word-search-regexp' for
6494 `isearch-word'.
6495 (isearch-search-and-update): Add condition for `isearch-word' and
6496 call `word-search-regexp'. (Bug#10145)
6497
6498 2011-12-01 Glenn Morris <rgm@gnu.org>
6499
6500 * eshell/em-hist.el (eshell-hist-initialize):
6501 Handle eshell-history-size nil and HISTSIZE set or unset.
6502 (eshell-history-file-name, eshell-history-size): Fix custom type.
6503
6504 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6505
6506 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6507
6508 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6509
6510 * progmodes/verilog-mode.el (verilog-pretty-expr):
6511 Rework verilog-pretty-expr to handle new assignment operators in system
6512 verilog, such as += *= and the like.
6513 (verilog-assignment-operator-re): Regular expression to find the
6514 assigment operator in a verilog assignment.
6515 (verilog-assignment-operation-re): Regular expression to find an
6516 assignment statement for pretty-expr.
6517 (verilog-in-attribute-p): Query returns true if point is in an
6518 attribute context; used to skip these for expression line up from
6519 pretty-expr.
6520 (verilog-in-parameter-p): Query returns true if point is in an
6521 parameter definition context; used to skip these for expression
6522 line up from pretty-expr.
6523 (verilog-in-parenthesis-p): Query returns true if point is in a
6524 parenthetical expression, specifically ( ) but not [ ] or { };
6525 used by pretty-expr.
6526 (verilog-just-one-space): If there is no space, don't add one.
6527 (verilog-get-lineup-indent-2): Specifically skip just attribute
6528 contexts for expression lineup, rather than skipping all
6529 parenthetical expressions.
6530 (verilog-calculate-indent): Fix comment, and fix indent.
6531 (verilog-do-indent): Indent declarations in lists (suggested by
6532 Joachim Lechner).
6533 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6534 skeleton items.
6535 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6536 by Alain Mellan).
6537
6538 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6539
6540 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6541 parameters with embedded comments. Reported by Ray Stevens.
6542 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6543 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6544 Reported by Tim Holt.
6545 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6546 instantiated by upper module causing wrong expansion until AUTOed a
6547 second time. Reported by K C Buckenmaier.
6548 (verilog-diff-auto): Fix showing .* as a difference when
6549 `verilog-auto-star-save' off. Reported by Dan Dever.
6550 (verilog-auto-reset, verilog-read-always-signals)
6551 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6552 temporary signals in reset list if
6553 verilog-auto-reset-blocking-in-non is nil, and match assignment
6554 style to each signal's assignment type, bug381.
6555 Reported by Thomas Esposito.
6556 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6557 (verilog-uvm-statement-re): Support UVM indentation and
6558 highlighting, with old OVM keywords only.
6559 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6560 Support AUTOTIEOFF creating non-wire data types.
6561 Suggested by Jonathan Greenlaw.
6562 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6563 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6564 (verilog-inject-sense, verilog-read-inst-pins)
6565 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6566 Fix mismatching parenthesis inside commented out code when deleting
6567 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6568 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6569 non-numeric vector width. Reported by Alex Reed.
6570 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6571 detecting signals with parameter widths. Reported by Alex Reed.
6572 (verilog-auto-delete-trailing-whitespace):
6573 With `verilog-auto-delete-trailing-whitespace' remove trailing
6574 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6575 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6576 Fix verilog-scan-cache corruption when running user AUTO expansion
6577 hooks that call indentation routines.
6578 (verilog-simplify-range-expression): Fix typo ignoring lower case
6579 identifiers.
6580 (verilog-delete-auto): Fix delete-autos to also remove user created
6581 automatics, as long as they start with AUTO.
6582 (verilog-batch-diff-auto, verilog-diff-auto)
6583 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6584 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6585 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6586 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6587 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6588 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6589 is disabled and its cache will get corrupt, causing AUTOS not to
6590 expand. Instead use only -quick functions.
6591 (verilog-scan-region): Fix scanning over escaped quotes.
6592 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6593 (verilog-re-search-backward-quick)
6594 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6595 related functions now ignore strings, to fix misparsing of strings
6596 with magic comments embedded in them.
6597 (verilog-read-auto-template):
6598 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6599 Reported by Brad Dobbie.
6600 (verilog-read-auto-template):
6601 Fix 'verilog-auto-inst-template-numbers' with comments.
6602 Reported by Brad Dobbie.
6603 (verilog-auto-inst, verilog-auto-inst-param)
6604 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6605 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6606 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6607 debugging templates without merge conflicts, bug357.
6608 Reported by Brad Dobbie.
6609 (verilog-read-auto-template):
6610 Fix verilog-auto-inst-template-numbers with multiple templates.
6611 Reported by Brad Dobbie.
6612 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6613 abbrevs so user won't be asked to save.
6614 (verilog-read-auto-lisp-present): Fix to start at beginning of
6615 buffer in case called outside of verilog-auto.
6616 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6617 to "X-2". Reported by Matthew Myers.
6618 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6619 all inputs from module templates. Reported by Leith Johnson.
6620 (verilog-module-inside-filename-p): Fix locating programs as with
6621 modules.
6622 (verilog-auto-inst-port): Fix vl-width expressions when using
6623 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6624 (verilog-decls-get-regs, verilog-decls-get-signals,
6625 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6626 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6627 verilog-read-decls): Combine reg and wire structures into one var
6628 structure to represent SystemVerilog concepts.
6629 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6630 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6631 (verilog-auto-wire-type, verilog-insert-definition):
6632 Add verilog-auto-wire-type and AUTOLOGIC to support using
6633 SystemVerilog "logic" keyword instead of "wire"/"reg".
6634 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6635 to declares outputs that also have assignments (presumably in an
6636 ifdef or generate if so there's not a driver conflict).
6637 Reported by Matthew Myers.
6638 (verilog-auto-declare-nettype, verilog-insert-definition):
6639 Add verilog-auto-declare-nettype to fix declarations using
6640 `default_nettype none. Reported by Julian Gorfajn.
6641 (verilog-read-always-signals-recurse, verilog-read-decls)
6642 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6643 malformed end statement, bug325. Reported by Joshua Wise and
6644 Andrew Drake.
6645 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6646 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6647 when expanding .* in interfaces, bug320.
6648 Reported by Pierre-David Pfister.
6649 (verilog-read-module-name): Fix import statements between module
6650 name and open parenthesis, bug317.
6651 Reported by Pierre-David Pfister.
6652 (verilog-simplify-range-expression): Fix simplification of
6653 multiplications inside AUTOWIRE connections, bug303.
6654 (verilog-auto-inst-port): Support parameter expansion in
6655 multidimensional arrays.
6656 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6657 after "assert property". Reported by Julian Gorfajn.
6658 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6659 with multiplication, bug303.
6660 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6661 Reported by Jan Frode Lonnum.
6662
6663 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6664
6665 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6666 (hfy-shell-file-name, hfy-shell):
6667 * international/fontset.el (x-decompose-font-name): Fix typos.
6668
6669 2011-11-29 Ken Brown <kbrown@cornell.edu>
6670
6671 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6672 (gdb-version): Remove defvar.
6673 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6674 (gdb-gud-context-command, gdb-non-stop-handler)
6675 (gdb-current-context-command, gdb-stopped): Use it.
6676 (gdb-init-1): Enable pretty printing here.
6677 (gdb-non-stop-handler): Don't enable pretty-printing here.
6678 Check to see if the target supports non-stop mode; if not, turn off
6679 non-stop mode. Use the following.
6680 (gdb-check-target-async): New defun.
6681 (gud-watch, gdb-stopped): Fix whitespace.
6682 (gdb-get-source-file): Don't try to display the source file if
6683 `gdb-main-file' is nil.
6684
6685 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * align.el: Try to generate fewer markers (bug#10047).
6688 (align--set-marker): New macro.
6689 (align-region): Use it.
6690
6691 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6694
6695 2011-11-29 Chong Yidong <cyd@gnu.org>
6696
6697 * indent.el (indent-for-tab-command, indent-according-to-mode):
6698 Doc fix.
6699 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6700
6701 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6702
6703 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6704 aware of remote file names. (Bug#10124)
6705
6706 2011-11-29 Chong Yidong <cyd@gnu.org>
6707
6708 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6709
6710 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * files.el (find-file): Don't use force-same-window (bug#10144).
6713 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6714 use pop-to-buffer if the selected window can't be used.
6715 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6716
6717 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6718
6719 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6720 special-mode-map.
6721
6722 2011-11-28 Chong Yidong <cyd@gnu.org>
6723
6724 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6725
6726 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6727
6728 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6729 gdb-get-source-file-list on gdb-create-source-file-list.
6730
6731 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6732
6733 * whitespace.el (whitespace-newline): Use a different foreground
6734 color for 16-color light-background displays.
6735
6736 2011-11-24 Chong Yidong <cyd@gnu.org>
6737
6738 * window.el (display-buffer--special-action): Doc fix.
6739
6740 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6741
6742 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6743 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6744 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6745 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6746 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6747 (avl-tree-stack-first):
6748 * emacs-lisp/cconv.el (cconv--analyse-use):
6749 * net/gnutls.el (gnutls-negotiate): Fix typos.
6750
6751 2011-11-24 Glenn Morris <rgm@gnu.org>
6752
6753 * lpr.el (lpr-windows-system, lpr-lp-system):
6754 * mail/binhex.el (binhex-begin-line):
6755 * progmodes/grep.el (grep-history, grep-find-history):
6756 * textmodes/flyspell.el:
6757 * vc/pcvs-defs.el (cvs-global-menu):
6758 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6759 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6760 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6761
6762 * net/tls.el: Fix case of "GnuTLS".
6763
6764 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6765
6766 * version.el (emacs-build-system): Give it a doc-string.
6767
6768 2011-11-24 Juri Linkov <juri@jurta.org>
6769
6770 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6771
6772 2011-11-24 Glenn Morris <rgm@gnu.org>
6773
6774 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6775 if called on a non-mime message just toggle the headers. (Bug#8006)
6776
6777 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6778
6779 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6780 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6781 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6782 (allout-rebullet-heading, allout-open-sibtopic)
6783 (allout-toggle-current-subtree-encryption)
6784 (allout-toggle-subtree-encryption, allout-encrypt-string)
6785 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6786 (allout-distinctive-bullets-string, allout-auto-activation):
6787 * window.el (window-normalize-buffer-to-display):
6788 * progmodes/verilog-mode.el (verilog-batch-indent):
6789 * textmodes/bibtex.el (bibtex-field-braces-opt)
6790 (bibtex-field-strings-opt):
6791 * vc/cvs-status.el (cvs-tree-merge):
6792 Fix typos.
6793
6794 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6795
6796 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6797 `non-essential' to t, in order to avoid remote connections.
6798
6799 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6800
6801 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6802 On MS-DOS and MS-Windows, compare with loaddefs.el
6803 case-insensitively.
6804
6805 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6806
6807 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6808
6809 2011-11-23 Glenn Morris <rgm@gnu.org>
6810
6811 * paths.el (rmail-file-name): Reformat the doc-string so that it
6812 is picked up.
6813
6814 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6815 (rmail-auto-file): Ignore case in the "special" field names,
6816 as mail-fetch-field does for all others.
6817
6818 * mail/rmail.el (rmail-forward):
6819 * mail/rmailkwd.el (rmail-set-label):
6820 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6821 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6822
6823 * mail/rmail.el (rmail-current-message): Doc fix.
6824
6825 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6826
6827 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6830
6831 2011-11-22 Glenn Morris <rgm@gnu.org>
6832
6833 * mail/rmailmm.el (test-rmail-mime-handler)
6834 (test-rmail-mime-bulk-handler)
6835 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6836
6837 2011-11-21 Juri Linkov <juri@jurta.org>
6838
6839 * calc/calc.el (calc-read-key-sequence):
6840 Let-bind `input-method-function' to nil. (Bug#10018)
6841
6842 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6843
6844 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6845 Tell the caller that the next line needs recomputation, even
6846 though it doesn't start a sexp (bug#10094).
6847
6848 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6851
6852 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6855 Use force-same-window.
6856
6857 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6858
6859 * descr-text.el (describe-char-unicode-data):
6860 * json.el (json-string-escape):
6861 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6862 (Footnote-unicode, Footnote-style-p):
6863 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6864
6865 2011-11-20 Chong Yidong <cyd@gnu.org>
6866
6867 * window.el (replace-buffer-in-windows): Restore interactive spec.
6868
6869 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6872
6873 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6874 (byte-compile-global-not-obsolete-vars): New var.
6875 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6876 Use it.
6877 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6878
6879 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6880
6881 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6882 * progmodes/pascal.el (electric-pascal-equal):
6883 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6884 * xml.el (xml-substitute-special): Fix typos.
6885
6886 2011-11-20 Glenn Morris <rgm@gnu.org>
6887
6888 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6889 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6890 Doc fixes.
6891 (rmail-decode-mime-charset): Mark as obsolete.
6892
6893 * mail/rmailsum.el (rmail-message-regexp-p-1):
6894 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6895 Before using mime functions, check they are set. (Bug#10077)
6896
6897 2011-11-19 Juri Linkov <juri@jurta.org>
6898
6899 * info.el (Info-finder-find-node): Use `package--builtins' instead
6900 of `package-alist'. Use node names formed by the pattern "Keyword "
6901 and the keyword name.
6902
6903 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6904
6905 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6906
6907 2011-11-19 Juri Linkov <juri@jurta.org>
6908
6909 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6910 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6911 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6912 `old-history', `old-history-forward'. Add let-binding
6913 `window-selected'. Remove calls to `kill-buffer',
6914 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6915 before calling `Info-find-node', so `Info-find-node-2' will reread
6916 the Info file. Restore window positions only when `window-selected'
6917 is non-nil.
6918
6919 2011-11-19 Juri Linkov <juri@jurta.org>
6920
6921 * isearch.el (isearch-lazy-highlight-new-loop):
6922 Remove condition `(not isearch-error)'. (Bug#9918)
6923
6924 * misearch.el (multi-isearch-search-fun): Add condition
6925 `(not bound)' to ignore lazy-highlighting search.
6926 Add the search-failed message "end of multi" when the end of
6927 multi-sequence is reached. Uncapitalize the search-failed
6928 message "Repeat for next buffer".
6929
6930 * info.el (Info-search): Add the search-failed message
6931 "end of the manual" when the end of the manual is reached
6932 in Isearch mode.
6933
6934 2011-11-19 Juri Linkov <juri@jurta.org>
6935
6936 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6937 Use non-destructive `remove' instead of `delete' because
6938 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6939 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6940
6941 2011-11-19 Juri Linkov <juri@jurta.org>
6942
6943 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6944 to nil instead of binding `search-ring' and `regexp-search-ring'.
6945 (Bug#9185)
6946
6947 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6948
6949 * simple.el (line-move): Force movement by logical lines for any
6950 hscrolled window, not only when auto-hscroll-mode is on.
6951 (line-move-visual): Update doc string to that effect. (Bug#10076)
6952
6953 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6954
6955 * language/european.el (macintosh): Define as alias for mac-roman.
6956
6957 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6958
6959 * mail/rmailmm.el (rmail-mime-display-header)
6960 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6961 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6962 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6963 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6964 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6965 of a raw aref.
6966 (rmail-mime-entity-segment): To get past the tagline, move forward
6967 2 more lines, to account for the 2 empty lines that precede and
6968 follow the line with the buttons.
6969 (rmail-mime-update-tagline): Move one more line, to get past the
6970 empty line that follows the buttons in the tagline. (Bug#9520)
6971
6972 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6973
6974 * window.el (window-max-delta-1, window-min-delta-1)
6975 (window-min-size-1, window-state-get-1, window-state-put-1)
6976 (window-state-put-2): Use "window--" prefix.
6977
6978 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6981 (smie-warning-count): New var.
6982 (smie-set-prec2tab): Use it.
6983 (smie-bnf->prec2): Improve warnings. Add docstring.
6984 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6985 (smie-bnf--set-class): New function.
6986 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6987 corner case.
6988
6989 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6990 (compilation-error-properties, compilation-move-to-column):
6991 Handle compilation-first-column while in the target buffer.
6992
6993 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6994 Don't hardcode point-min==1.
6995
6996 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6997 (eshell-rewrite-for-command): Remove workaround.
6998 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6999 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7000 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7001
7002 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7003
7004 2011-11-17 Glenn Morris <rgm@gnu.org>
7005
7006 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7007 Ignore buffer-local generated-autoload-file if it is the same
7008 as the global value. (Bug#10049)
7009
7010 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
7011
7012 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7013 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7014 (reftex-toc-previous-heading, reftex-toc-max-level)
7015 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7016 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7017 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7018 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7019 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7020 (reftex-toc-rename-label, reftex-toc-visit-location)
7021 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7022 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7023 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7024 leaving "*toc*" only for references to the buffer.
7025
7026 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7027
7028 * window.el (window-resize, delete-window, split-window):
7029 Replace window-splits by window-combination-resize.
7030 * cus-start.el (window-splits): Replace by window-combination-resize.
7031
7032 2011-11-17 Glenn Morris <rgm@gnu.org>
7033
7034 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7035 Make bash entry derive from sh entry, not shell entry.
7036
7037 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7038
7039 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7040 local file name.
7041
7042 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7043
7044 * menu-bar.el (menu-bar-file-menu):
7045 * printing.el (pr-ps-utility):
7046 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7047 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7048 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7049 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7050 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7051 (icalendar--convert-cyclic-to-ical)
7052 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7053 (icalendar--convert-ical-to-diary)
7054 (icalendar--convert-recurring-to-diary)
7055 (icalendar--convert-non-recurring-all-day-to-diary)
7056 (icalendar-import-format-sample):
7057 * progmodes/idlw-shell.el (idlwave-shell-mode):
7058 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7059 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7060 (vhdl-ps-print-init): Fix typos.
7061
7062 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7063
7064 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7065 FSF and collapse date sequence, obscure author/maintainer email address
7066 better, remove extra version line, track relocation of author's webpage.
7067
7068 * progmodes/python.el (python-pdbtrack-input-prompt)
7069 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7070 regular python pdb prompts. Adjustments shamelessly taken exactly as
7071 suggested in EmacsWiki page (tiny change):
7072 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7073
7074 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7075
7076 * expand.el (expand-pos, expand-index, expand-point):
7077 Remove redundant info from docstring.
7078 (expand-add-abbrevs): Doc fix.
7079 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7080 (expand-sample-perl-mode-expand-list): Fix typos.
7081
7082 * net/dbus.el (dbus-event-member-name):
7083 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7084 * term/pc-win.el (msdos-create-frame-with-faces):
7085 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7086
7087 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7088
7089 * window.el (split-window, window-state-get-1)
7090 (window-state-put-1, window-state-put-2): Rename occurrences of
7091 window-nest to window-combination-limit.
7092 * cus-start.el (window-nest): Rename to window-combination-limit.
7093
7094 2011-11-16 Chong Yidong <cyd@gnu.org>
7095
7096 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7097 regexp (Bug#10033).
7098
7099 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7102 `completing-read' will remove *Completions* and will preserve
7103 current-buffer for us.
7104 (tmm-add-prompt): Users of *Completions* will always (re)set its
7105 major mode.
7106 (tmm-old-comp-map): Remove.
7107
7108 2011-11-16 Glenn Morris <rgm@gnu.org>
7109
7110 * mail/rmailedit.el: Require rmailmm when compiling.
7111 (rmail-old-mime-state): New declaration.
7112 (rmail-edit-current-message): If editing a mime message,
7113 edit the "raw" message from the mbox buffer.
7114 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7115
7116 2011-11-15 Glenn Morris <rgm@gnu.org>
7117
7118 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7119 which wasn't being used. Add optional arg to force given state.
7120 (rmail-mime): Add optional arg to force given state.
7121
7122 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7123
7124 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7125 * frame.el (display-mm-dimensions-alist):
7126 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7127 (outline-move-subtree-down):
7128 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7129 (newsticker--treeview-do-get-node):
7130 * net/quickurl.el (quickurl-list-buffer-name):
7131 * progmodes/dcl-mode.el (dcl-mode):
7132 * progmodes/gdb-mi.el (gdb-mapcar*):
7133 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7134
7135 2011-11-15 Glenn Morris <rgm@gnu.org>
7136
7137 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7138 in a boolean sense, so just make it a boolean, and fix the doc.
7139 (rmail-show-mime-function, rmail-mime-feature)
7140 (rmail-require-mime-maybe): Doc fixes.
7141 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7142
7143 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7144
7145 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7146
7147 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7148 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7149 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7150 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7151
7152 2011-11-15 Glenn Morris <rgm@gnu.org>
7153
7154 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7155 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7156 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7157 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7158 (rmail-mime, rmail-show-mime): Doc fixes.
7159
7160 * term/ns-win.el (mode-line-frame-identification):
7161 Leave it alone. (Bug#10051)
7162
7163 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7164
7165 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7166 Handle empty buffers. (Bug#9978)
7167
7168 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7169
7170 * international/mule.el (define-charset):
7171 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7172 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7173 * progmodes/verilog-mode.el (verilog-backward-token):
7174 * textmodes/ispell.el (lookup-words):
7175 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7176
7177 2011-11-14 Glenn Morris <rgm@gnu.org>
7178
7179 * progmodes/executable.el
7180 (executable-make-buffer-file-executable-if-script-p):
7181 Handle file-modes returning nil.
7182
7183 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7184 message - not necessary, and causes problems. (Bug#9831)
7185
7186 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7187
7188 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7189
7190 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7191 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7192 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7193
7194 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7195
7196 * window.el (window-resize, delete-window): Use window-splits
7197 variable instead of function.
7198 (window-state-get-1, window-state-put-2, window-state-put):
7199 Don't deal with windows' splits status.
7200
7201 2011-11-12 Glenn Morris <rgm@gnu.org>
7202
7203 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7204 (apropos-documentation): Doc fixes.
7205
7206 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7207
7208 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7209 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7210
7211 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * electric.el (electric-indent-post-self-insert-function): Make it
7214 possible for a char to only indent in some circumstances.
7215 (electric-indent-mode): Simplify.
7216
7217 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7218
7219 * window.el (windows-with-parameter): Remove unused function.
7220 (windows-at-side): Rename to window-at-side-list.
7221 (window-check, window-atom-check, window-atom-check-1)
7222 (window-side-check, window-size-ignore, window-size-fixed-1)
7223 (window-in-direction-2): Prefix with "window--".
7224 (window-tree-1): Rename to window--subtree, fix doc-string.
7225
7226 2011-11-11 Glenn Morris <rgm@gnu.org>
7227
7228 * subr.el (eval-after-load): If FILE is already loaded,
7229 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7230
7231 2011-11-10 Glenn Morris <rgm@gnu.org>
7232
7233 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7234 Call svn via vc-svn-command rather than vc-do-command.
7235 (vc-svn-command): Add --non-interactive. (Bug#9993)
7236 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7237
7238 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7239 Add toggle-read-only. (Bug#7292)
7240 * files.el (toggle-read-only): Mention that it should only
7241 be used interactively. (Bug#10006)
7242
7243 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7244
7245 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7246 Adjust regexp for OCaml warnings.
7247
7248 * electric.el (electric-pair-post-self-insert-function): Let user
7249 turn it off buffer-locally (bug#9932).
7250
7251 * progmodes/python.el (python-beginning-of-statement):
7252 Rewrite (bug#2703).
7253
7254 * progmodes/compile.el: Better handle TABs (bug#9749).
7255 (compilation-internal-error-properties)
7256 (compilation-next-error-function): Obey the target buffer's
7257 compilation-error-screen-columns.
7258
7259 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7260
7261 * progmodes/meta-mode.el: Remove obsolete comments.
7262 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7263 Fix typos in docstrings.
7264
7265 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7266
7267 * window.el (window-size-fixed-p): Rewrite doc-string.
7268 (window-resizable-p): Rename to window--resizable-p. Update callers.
7269 (window--resizable): New function. Make all callers of
7270 window-resizable call window--resizable instead.
7271 (window-resizable): Rewrite in terms of window--resizable.
7272
7273 2011-11-08 Glenn Morris <rgm@gnu.org>
7274
7275 * progmodes/delphi.el (delphi-mode-syntax-table):
7276 Let define-derived-mode define a proper syntax table. (Bug#9994)
7277
7278 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * window.el: Stay away from defsubst.
7281 (window-list-no-nils): Remove.
7282 (window-state-get-1, window-state-get): Use backquote instead.
7283
7284 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7285
7286 * emacs-lisp/find-func.el (find-function-read):
7287 Fix incorrect use of default argument in `completing-read'.
7288
7289 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7290
7291 * window.el (display-buffer-function, special-display-function):
7292 Mention display-buffer-record-window but do not mention
7293 help-setup parameter in doc-strings.
7294 (window-min-delta): Fix doc-string typo.
7295
7296 2011-11-08 Chong Yidong <cyd@gnu.org>
7297
7298 * window.el (window-total-height, window-total-width): Doc fix.
7299 (window-body-size): Move from C.
7300 (window-body-height, window-body-width): Move to C.
7301
7302 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * window.el: Make special-display like display-buffer-alist (bug#9532).
7305 (display-buffer--special-action): New function, morphed
7306 from display-buffer--special.
7307 (display-buffer): Use it to handle special-display-buffers at higher
7308 priority (just after display-buffer-alist).
7309 (display-buffer-fallback-action, display-buffer--other-frame-action)
7310 (pop-to-buffer-same-window): Remove display-buffer--special.
7311
7312 2011-11-07 Glenn Morris <rgm@gnu.org>
7313
7314 * calendar/cal-menu.el (cal-menu-set-date-title):
7315 Do nothing if not in a calendar. (Bug#9976)
7316
7317 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * files.el (find-file): Always use selected-window.
7320
7321 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7322
7323 * window.el (window-combinations): Make WINDOW argument
7324 mandatory. Rewrite doc-string.
7325 (walk-window-subtree, window-atom-check, window-min-delta)
7326 (window-max-delta, window--resize-this-window)
7327 (window--resize-root-window-vertically, window-tree)
7328 (balance-windows, window-state-put): Rewrite doc-strings as to
7329 not mention the term "subwindow".
7330 (window--resize-subwindows-skip-p): Rename to
7331 window--resize-child-windows-skip-p.
7332 (window--resize-subwindows-normal): Rename to
7333 window--resize-child-windows-normal.
7334 (window--resize-subwindows): Rename to
7335 window--resize-child-windows.
7336 (window-or-subwindow-p): Rename to window--in-subtree-p.
7337
7338 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7339
7340 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7341 Ensure that mbox format messages end in two newlines (Bug#9974).
7342
7343 2011-11-06 Chong Yidong <cyd@gnu.org>
7344
7345 * window.el (window-combination-p): Function deleted; its
7346 side-effect is not used in any existing code.
7347 (window-combinations, window-combined-p): Call window-*-child
7348 directly.
7349
7350 2011-11-05 Chong Yidong <cyd@gnu.org>
7351
7352 * window.el (window-valid-p): Rename from window-any-p.
7353 (window-size-ignore, window-state-get): Callers changed.
7354 (window-normalize-window): Rename from window-normalize-any-window.
7355 New arg LIVE-ONLY, replacing window-normalize-live-window.
7356 (window-normalize-live-window): Delete.
7357 (window-combination-p, window-combined-p, window-combinations)
7358 (walk-window-subtree, window-atom-root, window-min-size)
7359 (window-sizable, window-sizable-p, window-size-fixed-p)
7360 (window-min-delta, window-max-delta, window-resizable)
7361 (window-resizable-p, window-full-height-p, window-full-width-p)
7362 (window-current-scroll-bars, window-point-1, set-window-point-1)
7363 (window-at-side-p, window-in-direction, window-resize)
7364 (adjust-window-trailing-edge, maximize-window, minimize-window)
7365 (window-deletable-p, delete-window, delete-other-windows)
7366 (record-window-buffer, unrecord-window-buffer)
7367 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7368 (quit-window, split-window, window-state-put)
7369 (set-window-text-height, fit-window-to-buffer)
7370 (shrink-window-if-larger-than-buffer): Callers changed.
7371
7372 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7373
7374 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7375 rfc2047-decode-string.
7376 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7377 warnings.
7378
7379 * window.el (window-body-height, window-body-width): Mention in
7380 the doc string that the return values are in frame's canonical
7381 units. (Bug#9949)
7382
7383 2011-11-03 Alan Mackenzie <acm@muc.de>
7384
7385 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7386 change in cc-engine.el.
7387
7388 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7391
7392 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7393
7394 * window.el (quit-window): Call unrecord-window-buffer after
7395 showing another buffer in the window. (Bug#9937)
7396 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7397
7398 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7399
7400 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7401 Accept status with more than 9 shelves. (Bug#9935)
7402 Reported by Colin D Bennett <colin@gibibit.com>.
7403
7404 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7405
7406 * help.el (with-help-window): Don't reference
7407 temp-buffer-show-specifiers in doc-string.
7408
7409 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7410
7411 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7412 menu-item.
7413
7414 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7415
7416 * whitespace.el: New version 13.2.2.
7417 (whitespace-newline-mode): Disable properly. Reported by Sarah
7418 <EmacsWiki>.
7419
7420 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7421
7422 * net/newst-treeview.el: Remove "Time-stamp".
7423 (newsticker--group-manage-orphan-feeds): Do not call
7424 newsticker--treeview-tree-update.
7425 (newsticker-treeview-update, newsticker-treeview):
7426 Call newsticker--treeview-tree-update if necessary.
7427
7428 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7429
7430 * window.el (window-iso-combination-p, window-iso-combined-p)
7431 (window-iso-combinations): Remove "iso-" infix.
7432 Suggested by Chong Yidong.
7433 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7434 (window-max-delta-1, window-resize, window--resize-siblings)
7435 (window--resize-this-window, adjust-window-trailing-edge)
7436 (split-window, balance-windows-1)
7437 (shrink-window-if-larger-than-buffer):
7438 * calendar/calendar.el (calendar-generate-window):
7439 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7440
7441 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7444 in place (bug#9907).
7445 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7446 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7447 (eshell-structure-basic-command, eshell-rewrite-while-command)
7448 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7449 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7450 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7451 (eshell-do-pipelines-synchronously, eshell-eval-command):
7452 Use backquotes and prefer setq to set.
7453 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7454 (eshell-macrop): Use functionp.
7455 (eshell-do-eval): Handle multiple expressions in `while' body.
7456
7457 2011-10-30 Chong Yidong <cyd@gnu.org>
7458
7459 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7460 instead of set-mark (Bug#9810).
7461
7462 2011-10-30 Chong Yidong <cyd@gnu.org>
7463
7464 * window.el (split-window-below, split-window-right): Rename from
7465 split-window-above-each-other and split-window-side-by-side
7466 respectively. All callers changed.
7467 (split-window-sensibly, split-window-sensibly): Use them.
7468 (split-window-keep-point): Doc fix.
7469
7470 * isearch.el: Add isearch-scroll property to split-window-below
7471 and split-window-right.
7472
7473 * follow.el (follow-mode):
7474 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7475 * progmodes/ada-xref.el (ada-gdb-application):
7476 * emulation/vip.el (vip-buffer-in-two-windows):
7477 * image-dired.el (image-dired-dired-with-window-configuration):
7478 * dired-x.el (dired-do-find-marked-files):
7479 * dired.el (dired-pop-to-buffer):
7480 * bs.el (bs--show-with-configuration):
7481 * vc/emerge.el (emerge-setup-windows):
7482 * textmodes/two-column.el (2C-two-columns):
7483 * textmodes/reftex-toc.el (reftex-toc):
7484 * progmodes/gdb-mi.el (gdb-setup-windows):
7485 * progmodes/fortran.el (fortran-window-create):
7486 * net/newst-treeview.el (newsticker--treeview-window-init):
7487 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7488 * emulation/tpu-edt.el (tpu-gold-map):
7489 * emulation/crisp.el (crisp-mode-map):
7490 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7491
7492 2011-10-29 Chong Yidong <cyd@gnu.org>
7493
7494 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7495
7496 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7497
7498 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7499 forged Ispell output (Bug#7904).
7500
7501 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7502
7503 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * doc-view.el: Avoid ugly errors about not finding nil.
7506 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7507 (doc-view-dvipdf-program, doc-view-unoconv-program)
7508 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7509 Avoid nil or absolute file name as default value.
7510 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7511
7512 2011-10-28 Alan Mackenzie <acm@muc.de>
7513
7514 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7515
7516 2011-10-28 Alan Mackenzie <acm@muc.de>
7517
7518 Amend the handling of c-beginning/end-of-defun in nested declaration
7519 scopes.
7520
7521 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7522 cc-langs.el. Change it to a defcustom.
7523
7524 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7525 cc-vars.el.
7526
7527 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7528 Prevent "class foo : bar" being spuriously recognized as a label.
7529
7530 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7531 Add parameter `inclusive' (to include enclosing braces in the region).
7532 (c-widen-to-enclosing-decl-scope): New function.
7533 (c-while-widening-to-decl-block): New macro.
7534 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7535 outward for defun boundaries, and correspondingly change symbol
7536 `respect-enclosure' to `go-outward'.
7537 (c-declaration-limits): Change algorithm to report only the "innermost"
7538 defun's boundaries.
7539
7540 2011-10-28 Deniz Dogan <deniz@dogan.se>
7541
7542 * net/rcirc.el (rcirc-mode): Use hard newlines.
7543
7544 2011-10-28 Alan Mackenzie <acm@muc.de>
7545
7546 Amend to indent and fontify macros "which include their own semicolon"
7547 correctly, using the "virtual semicolon" mechanism.
7548
7549 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7550
7551 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7552 Recode to scan one line at a time rather than having \n and \r
7553 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7554 (c-forward-label): Amend for virtual semicolons.
7555 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7556
7557 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7558 of the new C macros.
7559
7560 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7561 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7562 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7563 (c-opt-cpp-macro-define): Make into a full language variable.
7564 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7565 AWK Mode (including \n, \r) removed, no longer needed.
7566
7567 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7568 Invoke c-make-macro-with-semi-re.
7569
7570 * progmodes/cc-vars.el (c-macro-with-semi-re):
7571 (c-macro-names-with-semicolon): New variables.
7572 (c-make-macro-with-semi-re): New function.
7573
7574 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7575
7576 * vc/log-edit.el: Fill empty field rather than adding new one.
7577 (log-edit-add-field): New function.
7578 (log-edit-insert-changelog): Use it.
7579
7580 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7581
7582 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7583
7584 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7585
7586 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7587 (gdb--check-interpreter): New function.
7588 (gdb): Use it.
7589
7590 2011-10-27 Glenn Morris <rgm@gnu.org>
7591
7592 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7593 (least-positive-float, least-negative-float)
7594 (least-positive-normalized-float, least-negative-normalized-float)
7595 (float-epsilon, float-negative-epsilon):
7596 Remove unnecessary declarations.
7597
7598 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7599 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7600 (least-positive-float, least-negative-float)
7601 (least-positive-normalized-float, least-negative-normalized-float)
7602 (float-epsilon, float-negative-epsilon): Add doc-strings,
7603 based on those in cl.texi.
7604
7605 * files.el (set-visited-file-name): If the major-mode changed,
7606 reload the local variables. (Bug#9796)
7607
7608 2011-10-27 Chong Yidong <cyd@gnu.org>
7609
7610 * subr.el (change-major-mode-after-body-hook): New hook.
7611 (run-mode-hooks): Run it.
7612
7613 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7614 Use change-major-mode-before-body-hook.
7615
7616 * simple.el (fundamental-mode):
7617 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7618 change introducing fundamental-mode-hook.
7619
7620 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7621
7622 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7623
7624 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7625
7626 * ido.el (ido-file-name-all-completions-1): Do not require
7627 tramp.el explicitly. (Bug#7583)
7628
7629 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * progmodes/octave-mod.el:
7632 * progmodes/octave-inf.el: Update maintainer.
7633
7634 2011-10-26 Chong Yidong <cyd@gnu.org>
7635
7636 * subr.el (with-wrapper-hook): Rewrite doc.
7637
7638 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7639
7640 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7641 filenames "/method:foo:". (Bug#9793)
7642
7643 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7644
7645 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7646 (bug#9865).
7647
7648 2011-10-24 Glenn Morris <rgm@gnu.org>
7649
7650 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7651
7652 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7653
7654 * notifications.el: Add the requirement of a running D-Bus session
7655 bus to the Commentary.
7656
7657 2011-10-24 Juri Linkov <juri@jurta.org>
7658
7659 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7660 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7661 (Bug#9364)
7662
7663 2011-10-24 Juri Linkov <juri@jurta.org>
7664
7665 * info.el (Info-following-node-name-re): Add newline to the list
7666 of allowed characters for leading space. (Bug#9824)
7667
7668 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * progmodes/octave-inf.el (inferior-octave-mode-map):
7671 Fix C-c C-h binding.
7672 * progmodes/octave-mod.el (octave-help): Remove.
7673
7674 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7675
7676 Sync with Tramp 2.2.3.
7677
7678 * net/tramp-cache.el (top): Pacify byte-compiler using
7679 `init-file-user' and `site-run-file'.
7680
7681 * net/trampver.el: Update release number.
7682
7683 2011-10-23 Chong Yidong <cyd@gnu.org>
7684
7685 * files.el (toggle-read-only): Remove obsolete comment about
7686 version control.
7687
7688 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7689 for toggle-read-only. Note that this hasn't called vc-next-action
7690 since 2008-05-02, though it wasn't documented at the time.
7691
7692 * vc/ediff-init.el (ediff-toggle-read-only-function):
7693 Use toggle-read-only.
7694
7695 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7696
7697 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7698 of c-parse-state.
7699
7700 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7701 correct faulty logical expression.
7702 (c-parse-state-state, c-record-parse-state-state):
7703 (c-replay-parse-state-state): New defvar/defuns.
7704 (c-debug-parse-state): Use new functions.
7705
7706 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7707
7708 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7709 last fix. Use window-in-direction correctly.
7710
7711 2011-10-21 Chong Yidong <cyd@gnu.org>
7712
7713 * progmodes/idlwave.el (idlwave-mode):
7714 * progmodes/vera-mode.el (vera-mode): No need to set
7715 require-final-newline; that's done in prog-mode.
7716 Suggested by Stefan Monnier.
7717
7718 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7719
7720 * mouse.el (mouse-drag-window-above)
7721 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7722 (mouse-drag-mode-line-1, mouse-drag-header-line)
7723 (mouse-drag-vertical-line-rightward-window): Remove.
7724 (mouse-drag-line): New function.
7725 (mouse-drag-mode-line, mouse-drag-header-line)
7726 (mouse-drag-vertical-line): Call mouse-drag-line.
7727 * window.el (window-at-side-p, windows-at-side): New functions.
7728
7729 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7730
7731 * tar-mode.el (tar-grind-file-mode):
7732 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7733
7734 2011-10-21 Chong Yidong <cyd@gnu.org>
7735
7736 * progmodes/idlwave.el (idlwave-mode):
7737 * progmodes/vera-mode.el (vera-mode):
7738 Use mode-require-final-newline.
7739
7740 2011-10-20 Glenn Morris <rgm@gnu.org>
7741
7742 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7743
7744 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7745
7746 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7747
7748 2011-10-20 Chong Yidong <cyd@gnu.org>
7749
7750 * emulation/cua-base.el (cua-mode):
7751 * mail/footnote.el (footnote-mode):
7752 * mail/mailabbrev.el (mail-abbrevs-mode):
7753 * net/xesam.el (xesam-minor-mode):
7754 * progmodes/bug-reference.el (bug-reference-mode):
7755 * progmodes/cap-words.el (capitalized-words-mode):
7756 * progmodes/compile.el (compilation-minor-mode)
7757 (compilation-shell-minor-mode):
7758 * progmodes/gud.el (gud-tooltip-mode):
7759 * progmodes/hideif.el (hide-ifdef-mode):
7760 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7761 * progmodes/subword.el (subword-mode):
7762 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7763 * progmodes/which-func.el (which-function-mode):
7764 * term/tvi970.el (tvi970-set-keypad-mode):
7765 * term/vt100.el (vt100-wide-mode):
7766 * textmodes/flyspell.el (flyspell-mode):
7767 * textmodes/ispell.el (ispell-minor-mode):
7768 * textmodes/nroff-mode.el (nroff-electric-mode):
7769 * textmodes/paragraphs.el (use-hard-newlines):
7770 * textmodes/refill.el (refill-mode):
7771 * textmodes/reftex.el (reftex-mode):
7772 * textmodes/rst.el (rst-minor-mode):
7773 * textmodes/sgml-mode.el (html-autoview-mode)
7774 (sgml-electric-tag-pair-mode):
7775 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7776 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7777 * emulation/crisp.el (crisp-mode):
7778 * emacs-lisp/eldoc.el (eldoc-mode):
7779 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7780 minor mode behavior.
7781
7782 2011-10-19 Juri Linkov <juri@jurta.org>
7783
7784 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7785 the list of hard-coded chars with escape-glyph face.
7786
7787 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7790
7791 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7792
7793 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7794 running process.
7795
7796 2011-10-19 Glenn Morris <rgm@gnu.org>
7797
7798 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7799 Ignore ignored files. (Bug#9726)
7800
7801 2011-10-19 Chong Yidong <cyd@gnu.org>
7802
7803 Doc fix for minor modes, stating that an omitted argument enables
7804 the mode unconditionally when called from Lisp.
7805
7806 * abbrev.el (abbrev-mode):
7807 * allout.el (allout-mode):
7808 * autoinsert.el (auto-insert-mode):
7809 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7810 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7811 (global-auto-revert-mode):
7812 * battery.el (display-battery-mode):
7813 * composite.el (global-auto-composition-mode)
7814 (auto-composition-mode):
7815 * delsel.el (delete-selection-mode):
7816 * desktop.el (desktop-save-mode):
7817 * dired-x.el (dired-omit-mode):
7818 * dirtrack.el (dirtrack-mode):
7819 * doc-view.el (doc-view-minor-mode):
7820 * double.el (double-mode):
7821 * electric.el (electric-indent-mode, electric-pair-mode):
7822 * emacs-lock.el (emacs-lock-mode):
7823 * epa-hook.el (auto-encryption-mode):
7824 * follow.el (follow-mode):
7825 * font-core.el (font-lock-mode):
7826 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7827 * help.el (temp-buffer-resize-mode):
7828 * hilit-chg.el (highlight-changes-mode)
7829 (highlight-changes-visible-mode):
7830 * hi-lock.el (hi-lock-mode):
7831 * hl-line.el (hl-line-mode, global-hl-line-mode):
7832 * icomplete.el (icomplete-mode):
7833 * ido.el (ido-everywhere):
7834 * image-file.el (auto-image-file-mode):
7835 * image-mode.el (image-minor-mode):
7836 * iswitchb.el (iswitchb-mode):
7837 * jka-cmpr-hook.el (auto-compression-mode):
7838 * linum.el (linum-mode):
7839 * longlines.el (longlines-mode):
7840 * master.el (master-mode):
7841 * mb-depth.el (minibuffer-depth-indicate-mode):
7842 * menu-bar.el (menu-bar-mode):
7843 * minibuf-eldef.el (minibuffer-electric-default-mode):
7844 * mouse-sel.el (mouse-sel-mode):
7845 * msb.el (msb-mode):
7846 * mwheel.el (mouse-wheel-mode):
7847 * outline.el (outline-minor-mode):
7848 * paren.el (show-paren-mode):
7849 * recentf.el (recentf-mode):
7850 * reveal.el (reveal-mode, global-reveal-mode):
7851 * rfn-eshadow.el (file-name-shadow-mode):
7852 * ruler-mode.el (ruler-mode):
7853 * savehist.el (savehist-mode):
7854 * scroll-all.el (scroll-all-mode):
7855 * scroll-bar.el (scroll-bar-mode):
7856 * server.el (server-mode):
7857 * shell.el (shell-dirtrack-mode):
7858 * simple.el (auto-fill-mode, transient-mark-mode)
7859 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7860 (line-number-mode, column-number-mode, size-indication-mode)
7861 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7862 * strokes.el (strokes-mode):
7863 * time.el (display-time-mode):
7864 * t-mouse.el (gpm-mouse-mode):
7865 * tool-bar.el (tool-bar-mode):
7866 * tooltip.el (tooltip-mode):
7867 * type-break.el (type-break-mode-line-message-mode)
7868 (type-break-query-mode):
7869 * view.el (view-mode):
7870 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7871 (global-whitespace-mode, global-whitespace-newline-mode):
7872 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7873
7874 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7875 Fix autogenerated docstring.
7876
7877 2011-10-19 Juri Linkov <juri@jurta.org>
7878
7879 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7880 by checking environment variables "DESKTOP_SESSION" and
7881 "XDG_CURRENT_DESKTOP". (Bug#9779)
7882
7883 2011-10-19 Juri Linkov <juri@jurta.org>
7884
7885 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7886 (browse-url-chromium-program, browse-url-chromium-arguments):
7887 New defcustoms.
7888 (browse-url-default-browser): Check for `browse-url-chromium' and
7889 call `browse-url-chromium-program'.
7890 (browse-url-chromium): New command. (Bug#9779)
7891
7892 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7893
7894 * facemenu.el (list-colors-duplicates): On Windows, detect more
7895 duplicates by assuming that only colors matching "^System" are
7896 special "system colors". (Bug#9722)
7897
7898 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7901 to distinguish the author from the committer.
7902
7903 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7904
7905 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7906
7907 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7908
7909 * international/mule.el (sgml-html-meta-auto-coding-function):
7910 Add support for detecting encoding in HTML5 specified only as
7911 <meta charset="UTF-8">. Implementation just makes http-equiv and
7912 content-type parts from HTML4 encoding string optional. (Bug#9716)
7913
7914 2011-10-18 Glenn Morris <rgm@gnu.org>
7915
7916 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7917
7918 2011-10-18 Chong Yidong <cyd@gnu.org>
7919
7920 * faces.el (cursor): Doc fix.
7921
7922 2011-10-17 Chong Yidong <cyd@gnu.org>
7923
7924 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7925
7926 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7927
7928 * dirtrack.el (dirtrack): Support shell buffers with path
7929 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7930
7931 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7932
7933 * json.el: Bump version to 1.3 and note change in History.
7934 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7935
7936 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * comint.el (comint-insert-input, comint-send-input)
7939 (comint-get-old-input-default, comint-backward-matching-input)
7940 (comint-next-prompt): Use nil instead of `input' for field property of
7941 past user input (bug#114).
7942
7943 * minibuffer.el (completion--replace): Inherit surrounding properties
7944 (bug#114).
7945 (minibuffer-complete-and-exit): Use it.
7946
7947 * comint.el (comint--table-subvert): Quote the all-completions output
7948 (bug#9160).
7949
7950 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7951
7952 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7953
7954 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7955 window on right of selected. (Bug#9350) Reword other window
7956 entries and separate them from frame entries.
7957
7958 2011-10-15 Glenn Morris <rgm@gnu.org>
7959
7960 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7961 Doc fixes.
7962
7963 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7964
7965 * net/network-stream.el (network-stream-open-starttls):
7966 Improve detection of failure due to lack of TLS support.
7967
7968 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7969 putting the input text in front and in bold.
7970
7971 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7972
7973 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7974
7975 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7976 empty buffer.
7977
7978 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7979 unread-command-events rather than pushing yet-another event.
7980
7981 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7982
7983 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7984 the explanation of the possible choices. Make the options passed
7985 to completing-read shorter.
7986
7987 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7988
7989 * textmodes/flyspell.el (flyspell-large-region): Make sure
7990 extended character mode is used if defined (Bug#1339).
7991
7992 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7993
7994 * simple.el (what-cursor-position): Fix the display of the
7995 character info for LRE, LRO, RLE, and RLO characters by appending
7996 an invisible PDF.
7997
7998 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8001 even in case of error; add debug spec; simplify data flow.
8002 (with-timeout-handler): Remove.
8003
8004 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
8005
8006 Fix Bug#6019, Bug#9315.
8007
8008 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8009 complete `buffer-file-name', the local file name part could look
8010 remotely (for example on VMS).
8011
8012 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8013 `tramp-run-real-handler'.
8014 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8015 already quoted by '"'.
8016
8017 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8018 Let `file-name-handler-alist' be nil, the local file name part
8019 could look remotely (for example on VMS).
8020
8021 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8022
8023 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8024 from here...
8025 (flyspell-post-command-hook): ...to here.
8026
8027 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8030 if not needed.
8031 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8032 using completion. Protect against "slow" callers.
8033 Remove the "message hack".
8034
8035 2011-10-11 Juri Linkov <juri@jurta.org>
8036
8037 * isearch.el (isearch-lazy-highlight-word): New variable.
8038 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8039 Use it. (Bug#9727)
8040
8041 2011-10-11 Glenn Morris <rgm@gnu.org>
8042
8043 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8044 like f90-previous-statement does.
8045
8046 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8047
8048 * eshell/eshell.el (eshell-command): History should be saved
8049 only in interactive use, to avoid error.
8050
8051 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * minibuffer.el (completion-file-name-table): Fix last change,
8054 i.e. ignore normal errors but not the other ones.
8055
8056 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8057
8058 * window.el (special-display-buffer-names)
8059 (special-display-regexps): Remove some remnants of earlier
8060 changes from doc-strings.
8061 (quit-windows-on): New function.
8062
8063 * vc/vc.el (vc-revert, vc-rollback):
8064 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8065 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8066 (Bug#6183) (Bug#7074) (Bug#7447)
8067
8068 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8069
8070 * window.el (frame-auto-hide-function): Add version tag.
8071 (Bug#9699)
8072
8073 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8074
8075 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8076 condition.
8077
8078 2011-10-09 Leo Liu <sdl.web@gmail.com>
8079
8080 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8081 (Bug#9701)
8082
8083 2011-10-08 Glenn Morris <rgm@gnu.org>
8084
8085 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8086 before the first code statement zero indent. (Bug#9690)
8087
8088 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8089
8090 * simple.el (count-words-region): Always count in the region.
8091 Report the number of lines and characters too.
8092 (count-words): New command, which counts in the buffer if the
8093 region is inactive, as count-words-region used to.
8094 (count-words--message): New function. Handle plurals.
8095 (count-lines-region): Make it an alias for count-words-region.
8096
8097 * bindings.el (esc-map): Replace count-lines-region with
8098 count-words-region.
8099
8100 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8101
8102 * window.el (window--delete): Delete dedicated frame
8103 unconditionally when argument KILL is non-nil. (Bug#9699)
8104 (switch-to-buffer): Fix doc-string typo.
8105
8106 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8107
8108 * eshell/eshell.el (eshell-command): Avoid using hooks.
8109
8110 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8111
8112 * bindings.el ([M-left],[M-right]): Bind to left-word and
8113 right-word respectively.
8114
8115 2011-10-07 Glenn Morris <rgm@gnu.org>
8116
8117 * cus-start.el (debug-on-quit): Fix custom type.
8118
8119 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8120
8121 * subr.el (define-key-after): Clarify that the function is not
8122 useful for non-menu keymaps.
8123
8124 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8125
8126 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8127
8128 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8129 in current minibuffer (Fix bug with recursive minibuffers).
8130
8131 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8132
8133 * progmodes/gdb-mi.el (gdb): Doc fix.
8134
8135 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8136
8137 * window.el (frame-auto-hide-function): New option replacing
8138 frame-auto-delete. Suggested by Stefan Monnier.
8139 (window--delete): Call frame-auto-hide-function instead of
8140 investigating frame-auto-delete.
8141 (window-point-1, set-window-point-1): New functions.
8142 (window-in-direction, record-window-buffer, window-state-get-1)
8143 (display-buffer-record-window): Use window-point-1 instead of
8144 window-point.
8145 (set-window-buffer-start-and-point): Use set-window-point-1.
8146
8147 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8150
8151 2011-10-05 Glenn Morris <rgm@gnu.org>
8152
8153 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8154 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8155
8156 2011-10-05 Leo Liu <sdl.web@gmail.com>
8157
8158 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8159 works with buffer object.
8160
8161 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * mpc.el (mpc-tool-bar-map): Add labels.
8164
8165 2011-10-04 Glenn Morris <rgm@gnu.org>
8166
8167 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8168
8169 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8170
8171 * window.el (window--delete): New function.
8172 (frame-auto-delete): Resuscitate option.
8173 (bury-buffer, replace-buffer-in-windows)
8174 (quit-window): Rewrite using window--delete.
8175 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8176 Pass display-buffer-mark-dedicated to window--display-buffer-2
8177 (Bug#9639).
8178
8179 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8180
8181 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8182 returns a list (bug#9554). Add remote file name completion.
8183 * comint.el (comint--table-subvert): Curry and get quote&unquote
8184 functions as arguments.
8185 (comint--complete-file-name-data): Adjust call accordingly.
8186 * pcomplete.el (pcomplete--table-subvert): Remove.
8187 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8188
8189 * minibuffer.el (completion-table-case-fold): Use currying.
8190 (completion--styles-type, completion--cycling-threshold-type):
8191 New constants.
8192 (completion-styles, completion-category-overrides)
8193 (completion-cycle-threshold): Use them.
8194 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8195 completion-table-case-fold.
8196
8197 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8198
8199 * minibuffer.el (completion-category-overrides): Fix type of styles
8200 and add more user friendly tags (bug#9660).
8201
8202 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8205 (mule-input-method-string): New widget.
8206 (default-input-method, language-info-custom-alist): Use it.
8207
8208 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * pcomplete.el: Require comint.
8211 (pcomplete--common-suffix): Remove.
8212 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8213 (pcomplete--table-subvert): Sync with comint--table-subvert.
8214 (pcomplete--entries): Use comint-completion-file-name-table.
8215 * comint.el (comint-unquote-filename): Simplify.
8216 (comint-completion-file-name-table): New function (bug#9616).
8217 (comint--complete-file-name-data): Use it.
8218
8219 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8220 (pcmpl-gnu-tar-buffer): Remove.
8221 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8222 around. Make sure pcomplete-suffix-list is only changed temporarily.
8223 Don't look inside the tar's file if it's too large.
8224
8225 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8226
8227 * cus-edit.el (custom-mode-map):
8228 * epa.el (epa-key-list-mode-map):
8229 * man.el (Man-mode-map):
8230 * startup.el (splash-screen-keymap):
8231 * simple.el (special-mode-map): Use scroll-up-command and
8232 scroll-down-command.
8233
8234 * progmodes/idlw-help.el (idlwave-help-mode-map):
8235 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8236 * net/newst-plainview.el (newsticker-mode-map):
8237 * emulation/ws-mode.el (wordstar-mode-map):
8238 * emulation/vi.el (vi-com-map):
8239 * calc/calc-graph.el (calc-graph-show-dumb):
8240 * term/sun.el (terminal-init-sun):
8241 * term/ns-win.el (global-map):
8242 * progmodes/grep.el (grep-mode-map):
8243 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8244 * mail/rmail.el (rmail-mode-map):
8245 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8246
8247 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8248 custom-safe-themes as special.
8249
8250 2011-10-01 Julien Danjou <julien@danjou.info>
8251
8252 * notifications.el (notifications-notify): Fix docstring.
8253
8254 2011-10-01 Per Starbäck <per@starback.se>
8255
8256 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8257
8258 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8259
8260 * startup.el (command-line-1): Fix last fix by inserting
8261 initial-scratch-message into *scratch* before displaying it.
8262 (Bug#9605) and (Bug#9636)
8263
8264 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8265
8266 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8267 window is hscrolled, move by logical lines. (Bug#9607)
8268 (line-move-visual): Update the doc string to the above effect.
8269
8270 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8271
8272 * window.el (display-buffer-record-window): When WINDOW is the
8273 selected window use `point' instead of `window-point'. (Bug#9626)
8274
8275 * startup.el (command-line-1): Use insert-before-markers when
8276 inserting initial-scratch-message. (Bug#9605)
8277
8278 * help.el (help-window): Remove variable.
8279
8280 2011-09-29 Glenn Morris <rgm@gnu.org>
8281
8282 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8283
8284 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8285
8286 * descr-text.el (describe-char-categories): Accept category
8287 descriptions more than one line long.
8288
8289 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8290
8291 * simple.el (delete-trailing-whitespace): Fix last change.
8292
8293 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8294 Don't confuse "y => 3" as the beginning of a `y' operation.
8295
8296 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8297 object has more than 4 slots (bug#9613).
8298
8299 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8300
8301 * subr.el (with-output-to-temp-buffer):
8302 * net/quickurl.el (quickurl, quickurl-browse-url):
8303 Fix typos in docstrings.
8304
8305 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8306
8307 * minibuffer.el (completion-styles)
8308 (completion-category-overrides): Cross reference each other in doc
8309 strings.
8310
8311 2011-09-27 Glenn Morris <rgm@gnu.org>
8312
8313 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8314 to split-string. (Bug#9606)
8315
8316 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8317
8318 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8319 (bug#9615).
8320
8321 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8322
8323 * emacs-lisp/package.el (list-packages): Fix echo area message.
8324
8325 2011-09-27 Leo Liu <sdl.web@gmail.com>
8326
8327 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8328
8329 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8330
8331 * net/dbus.el (dbus-unregister-object): Don't release services for
8332 registered signals. (Bug#9581)
8333
8334 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8335
8336 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8337 function that picks between cfengine 2 and 3 support
8338 automatically. Update docs accordingly.
8339
8340 2011-09-22 Kenichi Handa <handa@m17n.org>
8341
8342 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8343 ZERO.
8344 (indian-itrans-v5-table-for-tamil): New variable.
8345 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8346
8347 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8348
8349 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8350 that's true if the current command involved collapsing of text.
8351 It's reset to false at the beginning of the next command.
8352 (allout-post-command-business): Move the cursor to the beginning
8353 of entry if the cursor is hidden and collapsing activity just
8354 happened.
8355
8356 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8357
8358 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8359 tracking (Bug#9541).
8360
8361 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8362
8363 * net/newst-reader.el (newsticker-html-renderer)
8364 (newsticker-show-news): Automatically load html rendering package
8365 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8366 because w3m-fill-column is let-bound" and the error "Symbol's value
8367 as variable is void: w3m-fill-column".
8368
8369 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8370
8371 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8372 Release services only if they are defined. (Bug#9581)
8373
8374 2011-09-23 Richard Stallman <rms@gnu.org>
8375
8376 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8377 distinguish start of paragraph from start of its text.
8378
8379 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8380
8381 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8382 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8383 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8384
8385 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8386
8387 * international/mule-diag.el (mule-diag): Insert a newline after
8388 each fontset description.
8389
8390 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * simple.el (delete-trailing-whitespace):
8393 Document last change; simplify.
8394
8395 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8396
8397 * simple.el (delete-trailing-whitespace): Also delete
8398 extra newlines at the end of the buffer.
8399
8400 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8401 (picture-newline): Use forward-line so as to ignore fields.
8402
8403 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 * subr.el (with-wrapper-hook): Fix edebug spec.
8406
8407 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8408
8409 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8410 (bug#4538).
8411
8412 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8413
8414 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8415 Fix nasty bug using wrong cached values.
8416
8417 2011-09-23 Alan Mackenzie <acm@muc.de>
8418
8419 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8420
8421 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8422
8423 * window.el (pop-to-buffer): Ensure right window is selected if we
8424 chose another frame.
8425
8426 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8427
8428 * simple.el (what-cursor-position): Use get-char-property-change
8429 and next-single-char-property-change, to be able to show display
8430 properties that come from overlays as well as text properties.
8431
8432 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8433
8434 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8435
8436 * cmuscheme.el (run-scheme, switch-to-scheme):
8437 * cus-edit.el (customize-group, custom-buffer-create)
8438 (customize-browse):
8439 * info.el (info):
8440 * shell.el (shell):
8441 * mail/sendmail.el (mail):
8442 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8443
8444 2011-09-22 Richard Stallman <rms@gnu.org>
8445
8446 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8447 move back only to line beg, don't move back over blank lines.
8448
8449 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8450
8451 * files.el (copy-directory): Set directory attributes only in case
8452 they could be retrieved from the source directory. (Bug#9565)
8453
8454 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8455
8456 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8457 (hs-find-block-beginning, hs-hide-level-recursive):
8458 Ignore strings as well as comments. (Bug#9502)
8459
8460 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8461
8462 * progmodes/sql.el (sql-comint-postgres):
8463 Convert port number to a string. (Bug#9566)
8464
8465 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8466
8467 * window.el (quit-window): Undedicate window when switching to
8468 previous buffer. Reported by Thierry Volpiatto
8469 <thierry.volpiatto@gmail.com>.
8470 (special-display-popup-frame): When popping up a new frame reset
8471 its previous buffers to nil. Simplify code.
8472
8473 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8474
8475 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8476 and process filter, as done also in `shell-command'.
8477
8478 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8479
8480 * window.el (set-window-buffer-start-and-point):
8481 Call set-window-start with NOFORCE argument t.
8482 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8483 (quit-window): Reword doc-string. Handle new format of
8484 quit-restore parameter. Don't delete window if it has a
8485 previous buffer we can show instead of the present one.
8486 (display-buffer-record-window): Rewrite using a new format for
8487 the quit-restore window parameter
8488 (special-display-popup-frame, display-buffer-same-window)
8489 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8490 (display-buffer-pop-up-window, display-buffer-use-some-window):
8491 Adapt symbol passed to display-buffer-record-window.
8492 * help.el (help-window-setup): Handle new format of quit-restore
8493 parameter.
8494
8495 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * faces.el (face-list): Fix docstring (bug#9564).
8498
8499 * window.el (display-buffer--action-function-custom-type):
8500 Don't include internal functions in the Custom interface.
8501
8502 2011-09-20 Juri Linkov <juri@jurta.org>
8503
8504 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8505 (Info-forward-node, Info-backward-node, Info-next-preorder)
8506 (Info-last-preorder): Use it. (Bug#9528)
8507
8508 2011-09-20 Juri Linkov <juri@jurta.org>
8509
8510 * info.el (Info-last-preorder): Visit last menu item only when
8511 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8512
8513 2011-09-20 Julien Danjou <julien@danjou.info>
8514
8515 * password-cache.el (password-cache-remove): Remove entries even if the
8516 value is nil, so that password with a nil value (negative caching) is
8517 possible to invalidate.
8518
8519 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8520
8521 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8522 all whitespace around breakpoint. (Bug#9553)
8523 (f90-find-breakpoint): Only break at whitespace inside a comment.
8524
8525 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * minibuffer.el (completion-file-name-table): Keep track of errors.
8528 (completion-table-with-predicate): Handle the case where pred1 is nil.
8529 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8530
8531 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8532
8533 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8534 (debugger-return-value): Signal an error if the debugging context does
8535 not await any return value.
8536
8537 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8538 * image-mode.el (image-toggle-display-text)
8539 (image-toggle-display-image): Stay away from evil `intangible'.
8540
8541 2011-09-19 Leo Liu <sdl.web@gmail.com>
8542
8543 * replace.el (occur-revert-arguments): Make it permanent-local.
8544 (occur-mode): Don't call font-lock-defontify.
8545
8546 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8547
8548 * net/ldap.el (ldap-search-internal): Don't push empty search
8549 result (Bug#9508).
8550
8551 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8554
8555 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8558 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8559
8560 2011-09-18 Juri Linkov <juri@jurta.org>
8561
8562 * buff-menu.el (Buffer-menu-mode-map):
8563 * dired.el (dired-mode-map):
8564 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8565 (lisp-interaction-mode-map):
8566 * emacs-lisp/package.el (package-menu-mode-map):
8567 * epa.el (epa-key-list-mode-map):
8568 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8569 (menu-bar-options-menu):
8570 * outline.el (outline-mode-menu-bar-map):
8571 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8572 * vc/vc-dir.el (vc-dir-menu-map):
8573 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8574 Capitalize non-function content words in menu item strings.
8575
8576 * dired.el (dired-mode-map): Add menu item for
8577 `image-dired-dired-toggle-marked-thumbs'.
8578
8579 2011-09-18 Juri Linkov <juri@jurta.org>
8580
8581 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8582 to `isearch-case-fold-search' and restore its original value
8583 after the `isearch-mode' call.
8584
8585 2011-09-18 Juri Linkov <juri@jurta.org>
8586
8587 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8588 because `zgrep' returns 1 for successful matches (bug#9226).
8589
8590 2011-09-18 Juri Linkov <juri@jurta.org>
8591
8592 * info.el (Info-extract-menu-node-name): Check the second match
8593 for empty string (second test-case of bug#9528).
8594 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8595 intermediate nodes to the history (first test-case of bug#9528).
8596
8597 2011-09-18 Juri Linkov <juri@jurta.org>
8598
8599 * info.el (Info-mode-syntax-table): New variable.
8600 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8601
8602 2011-09-18 Juri Linkov <juri@jurta.org>
8603
8604 * info.el (Info-file-supports-index-cookies):
8605 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8606 outputs one more line for long file names (bug#4142).
8607
8608 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8609
8610 * newcomment.el (comment-normalize-vars): If prompting for
8611 comment-start, set comment-start-skip too (Bug#8424).
8612
8613 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8614
8615 * icomplete.el: Fix previous fix of Bug#5849.
8616 (icomplete-mode): Don't set completion-show-inline-help.
8617 (icomplete-minibuffer-setup): Set completion-show-inline-help
8618 locally during icompletion.
8619
8620 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8621
8622 * woman.el (woman2-process-escapes): Don't delete unrecognized
8623 escapes (Bug#7843).
8624
8625 * files.el (inhibit-first-line-modes-regexps): Add image files.
8626 (hack-local-variables-prop-line): Return nil for malformed
8627 prop-lines (Bug#9044).
8628
8629 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8630
8631 * net/tramp.el (top): Don't require 'shell.
8632 (tramp-methods): Fix docstring.
8633 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8634 Return complete remote file name. Handle "smb" case.
8635 Use `tramp-tmpdir', if defined for the respective method.
8636 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8637
8638 * net/tramp-compat.el (top): Require 'shell.
8639
8640 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8641 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8642 `tramp-current-host'.
8643 (tramp-get-remote-tmpdir): Remove.
8644
8645 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8646 `tramp-tmpdir' entries.
8647 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8648 (tramp-smb-handle-file-attributes): Ignore errors.
8649 (tramp-smb-wait-for-output): Check also for process end.
8650
8651 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8652
8653 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8654 when sending QUIT (bug#9312).
8655
8656 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8657
8658 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8659 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8660 occur-mode-display-occurrence.
8661 (occur-edit-mode): Add usage message.
8662 (occur-cease-edit): New command.
8663 (occur-after-change-function): Use text properties to find the
8664 position of the prefix text.
8665 (occur-engine): Set stickiness of prefix text properties.
8666
8667 2011-09-17 Glenn Morris <rgm@gnu.org>
8668
8669 * progmodes/etags.el (complete-tag):
8670 Fix call to completion-in-region. (Bug#9526)
8671
8672 2011-09-17 Juri Linkov <juri@jurta.org>
8673
8674 * textmodes/ispell.el (ispell-word): Add to the error message
8675 the word, ispell program name and current dictionary (bug#9121).
8676 (ispell-tex-arg-end): Capitalize "error" in the error message.
8677
8678 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8679
8680 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8681 check. (Bug#4251)
8682
8683 2011-09-17 Juri Linkov <juri@jurta.org>
8684
8685 * window.el (window-safe-min-height, window-safe-min-width):
8686 Fix typos (followup to bug#9522).
8687
8688 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8689
8690 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8691
8692 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8693
8694 * simple.el (line-move): If goal-column is set, move by logical
8695 lines, not by display lines. (Bug#971)
8696 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8697 to reflect the above change.
8698
8699 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * image.el (imagemagick-register-types): Use regexp-opt.
8702
8703 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8704
8705 * window.el (display-buffer-base-action): Rename from
8706 display-buffer-default-action. Make default value empty.
8707 (display-buffer-overriding-action): Convert to defvar.
8708 (display-buffer-fallback-action): New var.
8709
8710 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8711
8712 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8713 declaration.
8714 (package--add-to-archive-contents): If there is a duplicate entry
8715 with an older version, remove it.
8716 (package-menu-mark-delete, package-menu-mark-install)
8717 (package-menu-mark-unmark): Make unused args optional.
8718 (package-menu-mark-obsolete-for-deletion):
8719 Use package-menu-get-status instead of a regexp search.
8720 (package-menu-get-status): Use tabulated-list-entry.
8721 (package-menu-mark-upgrades): New command.
8722 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8723 (package-menu-execute): Do installation before deletion.
8724 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8725 instead of checking major-mode.
8726 (package-menu--find-upgrades): New function.
8727
8728 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8729
8730 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8731 passwords in the log buffer.
8732 (smtpmail-process-filter): Update the process marker so that the
8733 "broken by peer" status message is inserted in the right place.
8734
8735 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8738 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8739 bibtex-completion-at-point-function.
8740 (bibtex-completion-at-point-function): Use them.
8741
8742 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8743
8744 * mpc.el (mpc-constraints-tag-lookup): New function.
8745 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8746 also to browser "album|playlist".
8747
8748 2011-09-14 Juri Linkov <juri@jurta.org>
8749
8750 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8751 (isearch-edit-string): Use length of `isearch-string' when
8752 `isearch-fail-pos' returns nil.
8753 (isearch-message): Remove duplicate code and call
8754 `isearch-fail-pos' with arg `t'.
8755
8756 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8757
8758 * replace.el (occur-mode-goto-occurrence): Don't force using other
8759 window (Bug#9499).
8760
8761 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8762
8763 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8764
8765 * window.el (display-buffer-window): Remove.
8766 (display-buffer-record-window): Use help-setup window parameter
8767 instead of variable display-buffer-window.
8768 (display-buffer-function, special-display-buffer-names)
8769 (special-display-function): Mention help-setup parameter instead
8770 of display-buffer-window in doc-string.
8771 * help.el (help-window-setup): New argument help-window.
8772 Use help-window-setup parameter instead of display-buffer-window.
8773 Reword some messages.
8774 (with-help-window): Pass window used for displaying the buffer
8775 to help-window-setup. Don't set display-buffer-window.
8776
8777 2011-09-13 Glenn Morris <rgm@gnu.org>
8778
8779 * emacs-lisp/debug.el (debugger-make-xrefs):
8780 Preserve point. (Bug#9462)
8781
8782 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8783
8784 * window.el (window-deletable-p): Use next-frame.
8785
8786 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8787
8788 * window.el (window-auto-delete): Remove.
8789 (window-deletable-p): Remove argument FORCE. Don't deal with
8790 dedication and previous buffers.
8791 (switch-to-prev-buffer): Don't delete window.
8792 (delete-windows-on): Delete a window's frame if and only if the
8793 window is dedicated.
8794 (replace-buffer-in-windows): Delete buffer's window or frame if
8795 and only if window is dedicated.
8796 (quit-window): Handle quit-restore as before last change.
8797 (bury-buffer): Delete window only if window-deletable-p returns t.
8798
8799 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8800
8801 * window.el (window-deletable-p): Never delete the last frame on a
8802 given terminal.
8803
8804 2011-09-13 Glenn Morris <rgm@gnu.org>
8805
8806 * help.el (describe-key-briefly): Copy previous standard-output change.
8807
8808 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8809
8810 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8811
8812 2011-09-13 Glenn Morris <rgm@gnu.org>
8813
8814 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8815 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8816
8817 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8818
8819 * dired-aux.el (dired-mark-read-string): Don't return default
8820 value on empty input (Bug#9361).
8821 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8822 Omit initial minibuffer contents.
8823 (dired-do-chmod): Signal an error on empty input.
8824 (dired-mark-read-string): Don't return default on empty input.
8825
8826 * files.el (file-modes-symbolic-to-number): Doc fix.
8827
8828 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * international/mule-cmds.el (ucs-completions): Remove.
8831 (read-char-by-name): Use complete-with-action instead; add metadata.
8832
8833 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8834
8835 * window.el (display-buffer--action-function-custom-type)
8836 (display-buffer--action-custom-type): New vars.
8837 (display-buffer-alist, display-buffer-default-action)
8838 (display-buffer-overriding-action): Add defcustom types.
8839
8840 * frame.el (delete-other-frames): Doc fix (Bug#276).
8841
8842 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8843
8844 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8845
8846 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8847
8848 Change modes that used same-window-* vars to use switch-to-buffer.
8849
8850 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8851 Use switch-to-buffer.
8852
8853 * cus-edit.el (customize-group, custom-buffer-create)
8854 (customize-browse, custom-buffer-create-other-window):
8855 Use switch-to-buffer or switch-to-buffer-other-window.
8856
8857 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8858 (Info-prev, Info-up, Info-speedbar-goto-node)
8859 (info-display-manual): Use switch-to-buffer.
8860 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8861
8862 * mail/sendmail.el (mail): Use switch-to-buffer.
8863 (mail-recover): Use switch-to-buffer-other-window.
8864
8865 * cmuscheme.el (run-scheme, switch-to-scheme):
8866 * ielm.el (ielm):
8867 * shell.el (shell):
8868 * net/rlogin.el (rlogin):
8869 * net/telnet.el (telnet, rsh):
8870 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8871
8872 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8873
8874 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8875
8876 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8877
8878 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8879 so don't mention it (bug#9301).
8880 (dired-sort-toggle-or-edit): Clarify string further.
8881
8882 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8883 match `x', `w32' and `ns', like the manual says (bug#9029).
8884
8885 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8886 (process-kill-buffer-query-function): Mention the buffer name in
8887 the query.
8888
8889 * image-mode.el (image-next-line): The line parameter is mandatory
8890 (bug#9258).
8891
8892 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8893 which can be useful (bug#9301).
8894
8895 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8896
8897 * subr.el (match-string): Mention that the current buffer should
8898 be the same as the search was done in (bug#9282).
8899
8900 * facemenu.el: Disable the remove-* commands if the mark isn't
8901 active (bug#9162).
8902
8903 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8904
8905 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8906 of display-buffer.
8907 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8908
8909 * replace.el (occur-mode-goto-occurrence)
8910 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8911 and display-buffer.
8912
8913 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8914 display-buffer.
8915
8916 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8917 special-display and same-window variables.
8918 (mail-other-window): Use switch-to-buffer-other-window.
8919 (mail-other-frame): USe switch-to-buffer-other-frame.
8920
8921 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8922 Use display-buffer-other-frame.
8923 (gdb-display-gdb-buffer): Use pop-to-buffer.
8924
8925 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8926
8927 * progmodes/python.el: Don't set same-window-buffer-names.
8928
8929 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8930
8931 * window.el (display-buffer-alist): Add *Python*.
8932
8933 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8934
8935 * window.el (display-buffer-alist): Add entry for buffers
8936 previously handled same-window-*.
8937 (display-buffer-alist, display-buffer-default-action)
8938 (display-buffer-overriding-action): Mark as risky.
8939 (display-buffer-alist): Document action function changes.
8940 (display-buffer--same-window-action)
8941 (display-buffer--other-frame-action): New variables.
8942 (switch-to-buffer, display-buffer-other-frame): Use them.
8943 (display-buffer): Rename reuse-frame entry to reusable-frames.
8944 (display-buffer-reuse-selected-window): Function deleted.
8945 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8946 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8947 (display-buffer-special): New function.
8948 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8949 display-buffer-reuse-or-pop-window. Split off special-display
8950 part into display-buffer-special.
8951 (display-buffer-use-some-window): Don't perform any special
8952 pop-up-frames handling.
8953 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8954 (display-buffer--maybe-same-window): Rename from
8955 display-buffer-maybe-same-window.
8956
8957 * info.el: Don't set same-window-regexps.
8958 (info-setup): New function.
8959 (info-other-window, info): Call it.
8960
8961 * cus-edit.el: Don't set same-window-regexps.
8962 (customize-group): New argument.
8963 (customize-group-other-window): Use it.
8964 (customize-face, customize-face-other-window): Likewise.
8965 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8966
8967 * net/rlogin.el:
8968 * net/telnet.el:
8969 * progmodes/gud.el: Don't set same-window-regexps.
8970
8971 * cmuscheme.el:
8972 * ielm.el:
8973 * shell.el:
8974 * mail/sendmail.el:
8975 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8976
8977 2011-09-10 Juri Linkov <juri@jurta.org>
8978
8979 * isearch.el (isearch-edit-string): Remove obsolete mention of
8980 `C-w' (`isearch-yank-word-or-char') from docstring.
8981 (isearch-query-replace): Fix typo in docstring (bug#9466).
8982
8983 2011-09-10 Juri Linkov <juri@jurta.org>
8984
8985 * paren.el (show-paren-function): Don't show escaped parens.
8986 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8987
8988 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8989
8990 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8991 (mm-default-file-encoding): Remove autoload forms, they are
8992 replaced with autoload cookies in mml.el and mm-encode.el.
8993 (mail-add-attachment): New command.
8994 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8995 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8996 the doc string.
8997 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8998
8999 2011-09-10 Reuben Thomas <rrt@sc3d.org>
9000
9001 * simple.el (count-words-region): Use buffer if there's no region
9002 (bug#9429).
9003
9004 2011-09-09 Juri Linkov <juri@jurta.org>
9005
9006 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9007 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9008 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9009
9010 2011-09-09 Alan Mackenzie <acm@muc.de>
9011
9012 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9013 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9014
9015 2011-09-09 Eli Zaretskii <eliz@gnu.org>
9016
9017 Fix for Savannah bug#9392.
9018 * simple.el (mail-encode-mml): New defvar.
9019
9020 * mail/rmail.el (mail-encode-mml): Add a defvar.
9021 (rmail-enable-mime-composing): Default to t.
9022 (rmail-forward): Use MIME method of forwarding only if both
9023 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9024 Set mail-encode-mml non-nil if the MIME method was used.
9025
9026 * mail/sendmail.el (mml-to-mime): Add autoload form.
9027 (mail-encode-mml): Add a defvar.
9028 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9029 to nil.
9030 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9031 message through mml-to-mime, and reset mail-encode-mml to nil.
9032
9033 2011-09-09 Glenn Morris <rgm@gnu.org>
9034
9035 * woman.el (woman-if-body): When processing an .el block,
9036 do not delete the next .el block as well. (Bug#9447)
9037 (woman-special-characters): Add oq, cq, and hy characters.
9038
9039 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9040
9041 * window.el (window-deletable-p): Make sure window is live before
9042 invoking window-prev-buffers.
9043
9044 2011-09-08 Leo Liu <sdl.web@gmail.com>
9045
9046 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9047
9048 2011-09-08 Juri Linkov <juri@jurta.org>
9049
9050 * progmodes/compile.el (compilation-environment): Make it
9051 a defcustom (bug#8340).
9052
9053 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9054
9055 * window.el (frame-auto-delete): Rename to window-auto-delete.
9056 Make it control auto-deletion of windows and/or frames.
9057 (window-deletable-p): New argument FORCE. Rewrite conditions
9058 for deleting window/frame. (Bug#9419)
9059 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9060 Rewrite handling of case when window/frame can be deleted.
9061 (delete-windows-on): Call window-deletable-p with new FORCE
9062 argument t. (Bug#9456)
9063
9064 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9065
9066 * help-mode.el (help-mode): Restore autoload.
9067
9068 2011-09-07 Juri Linkov <juri@jurta.org>
9069
9070 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9071 `compilation-environment'. Set buffer-local
9072 `compilation-environment' to `thisenv' later after (funcall mode).
9073 (Bug#8340)
9074
9075 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9076 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9077 instead of replacing its value. (Bug#8340)
9078
9079 2011-09-07 Juri Linkov <juri@jurta.org>
9080
9081 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9082 based on text properties put by `grep-filter' instead of matching
9083 escape sequences.
9084 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9085 to the value of `grep-error-screen-columns' (bug#9438).
9086
9087 2011-09-07 Juri Linkov <juri@jurta.org>
9088
9089 * simple.el (next-error-highlight, next-error-highlight-no-select):
9090 Doc fix (bug#9432).
9091
9092 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9093
9094 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9095 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9096
9097 2011-09-07 Leo Liu <sdl.web@gmail.com>
9098
9099 * net/rcirc.el (rcirc-mode): Conditionally initialize
9100 rcirc-input-ring.
9101
9102 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * emacs-lisp/find-func.el (find-function-C-source): Only set
9105 find-function-C-source-directory after checking that we found a source
9106 file there (bug#9440).
9107
9108 2011-09-06 Alan Mackenzie <acm@muc.de>
9109
9110 * isearch.el (isearch-other-meta-char): Wherever a key list is
9111 unread, "unread" the prefix arg, too. This fixes bug #8901.
9112
9113 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9114
9115 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9116
9117 2011-09-05 Juri Linkov <juri@jurta.org>
9118
9119 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9120
9121 2011-09-05 Juri Linkov <juri@jurta.org>
9122
9123 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9124 keeping point where processing of grep matches begins, and
9125 continue to delete remaining escape sequences from the same point.
9126 (grep-filter): Make leading zero optional in "0?1;31m" because
9127 git-grep emits "\033[1;31m" escape sequences unlike expected
9128 "\033[01;31m" as GNU Grep does (bug#9408).
9129 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9130
9131 2011-09-05 Juri Linkov <juri@jurta.org>
9132
9133 * subr.el (y-or-n-p): Capitalize "yes".
9134
9135 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9136
9137 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9138 `tramp-cache-unload-hook' where appropriate.
9139 (tramp-methods): Rename `tramp-remote-sh' to
9140 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9141 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9142
9143 * net/tramp-sh.el (top): Don't require 'shell.
9144 (tramp-methods): Add `tramp-remote-shell' and
9145 `tramp-remote-shell-args' entries.
9146 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9147 (tramp-sh-handle-shell-command): Remove.
9148 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9149 Use `tramp-remote-shell'.
9150
9151 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9152
9153 * mail/sendmail.el (sendmail-query-once-function): Delete.
9154 (sendmail-query-once): Save directly to send-mail-function.
9155 Update message-send-mail-function too.
9156
9157 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9158
9159 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9160
9161 * progmodes/python.el (python-mode-map): Use correct function to
9162 start python interpreter from menu-bar (as reported by Geert
9163 Kloosterman).
9164 (inferior-python-mode-map): Fix typo.
9165 (python-shell-map): Remove.
9166
9167 2011-09-03 Deniz Dogan <deniz@dogan.se>
9168
9169 * net/rcirc.el (rcirc-print): Simplify code for
9170 rcirc-scroll-show-maximum-output. There is no need to walk
9171 through all windows to find the right one.
9172
9173 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9174
9175 * help.el (help-return-method): Doc fix.
9176
9177 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9178
9179 * window.el (window-deletable-p): Don't return a non-nil value
9180 when there's a buffer that was shown in the window before.
9181 (Bug#9419)
9182 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9183 Set window's previous buffers to nil.
9184
9185 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9186
9187 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9188 newline before and after the tag line, so it doesn't interfere
9189 with determining the paragraph direction of bidirectional text.
9190
9191 2011-09-03 Leo Liu <sdl.web@gmail.com>
9192
9193 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9194
9195 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9196
9197 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9198 (pop-to-buffer): Change interactive spec. Pass second argument
9199 directly to display-buffer.
9200 (display-buffer): Fix interactive spec. Use functionp to
9201 distinguish between a function and a list of functions.
9202
9203 * abbrev.el (edit-abbrevs):
9204 * arc-mode.el (archive-extract):
9205 * autoinsert.el (auto-insert):
9206 * bookmark.el (bookmark-bmenu-list):
9207 * files.el (find-file):
9208 * view.el (view-buffer):
9209 * progmodes/compile.el (compilation-goto-locus):
9210 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9211
9212 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9213
9214 * window.el (display-buffer-alist): Doc fix.
9215 (display-buffer): Add docstring. Don't treat
9216 display-buffer-default specially.
9217 (display-buffer-reuse-selected-window)
9218 (display-buffer-same-window, display-buffer-maybe-same-window)
9219 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9220 (display-buffer-pop-up-window)
9221 (display-buffer-reuse-or-pop-window)
9222 (display-buffer-use-some-window): New functions.
9223 (display-buffer-default-action): Use them.
9224 (display-buffer-default): Delete.
9225 (pop-to-buffer-1): Fix choice of actions.
9226
9227 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 * minibuffer.el (completion--insert-strings): Don't get confused by
9230 completion entries that end with an LF char.
9231
9232 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9233
9234 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9235
9236 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9237
9238 * window.el (display-buffer): Restore interactive spec.
9239 (display-buffer-same-window, display-buffer-other-window):
9240 New functions.
9241 (pop-to-buffer-1): New function. Use the above.
9242 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9243 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9244
9245 * view.el (view-buffer-other-window, view-buffer-other-frame):
9246 Just use pop-to-buffer.
9247
9248 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9249
9250 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9251
9252 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9253
9254 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9255
9256 2011-08-31 Richard Stallman <rms@gnu.org>
9257
9258 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9259 of the separation of rmail-view-buffer from rmail-buffer.
9260 If you say no to "replace original", the decrypt is in the
9261 view buffer. If you say yes, the decrypt goes into the
9262 rmail buffer also.
9263
9264 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9265
9266 * window.el (display-buffer-window): Rewrite doc-string.
9267 (display-buffer-record-window): New function.
9268 (display-buffer-macro-specifiers)
9269 (display-buffer-even-window-sizes, display-buffer-set-height)
9270 (display-buffer-set-width, display-buffer-in-window)
9271 (display-buffer-reuse-window, display-buffer-split-specifiers)
9272 (display-buffer-side-specifiers, display-buffer-split-window-1)
9273 (display-buffer-split-window, display-buffer-split-atom-window)
9274 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9275 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9276 (display-buffer-other-window-means-other-frame)
9277 (display-buffer-normalize-special)
9278 (display-buffer-normalize-default)
9279 (display-buffer-normalize-argument)
9280 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9281 (display-buffer-normalize-specifiers, display-buffer-frame)
9282 (display-buffer-same-window, display-buffer-same-frame)
9283 (display-buffer-other-window)
9284 (display-buffer-same-frame-other-window)
9285 (display-buffer-other-frame, pop-to-buffer-same-window)
9286 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9287 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9288 (switch-to-buffer-same-frame)
9289 (switch-to-buffer-other-window-same-frame)
9290 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9291 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9292 (display-buffer-alist-set): Remove.
9293 (display-buffer-function, special-display-buffer-names)
9294 (special-display-regexps, special-display-function):
9295 In doc-string refer to display-buffer-window and quit-restore
9296 parameter.
9297 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9298 (special-display-frame-alist, special-display-popup-frame)
9299 (same-window-buffer-names, same-window-regexps, same-window-p)
9300 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9301 (split-window-preferred-function, split-height-threshold)
9302 (split-width-threshold, window-splittable-p)
9303 (split-window-sensibly, window--try-to-split-window)
9304 (window--frame-usable-p, even-window-heights)
9305 (window--even-window-heights, window--display-buffer-1)
9306 (window--display-buffer-2, display-buffer-other-frame):
9307 Restore old Emacs 23 code, order and doc-strings where applicable.
9308 (display-buffer-default, display-buffer-assq-regexp): New functions.
9309 (display-buffer-alist): Rewrite doc-string.
9310 (display-buffer-default-action)
9311 (display-buffer-overriding-action): New variables.
9312 (display-buffer, switch-to-buffer): Rewrite.
9313 (pop-to-buffer): Restore Emacs 23 behavior but use
9314 window-normalize-buffer-to-display.
9315 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9316 Restore Emacs 23 behavior but use
9317 window-normalize-buffer-to-switch-to.
9318 (pop-to-buffer-same-window): Rewrite.
9319 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9320 Rewrite using Emacs 23 options.
9321
9322 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9323
9324 * net/tramp.el (tramp-root-regexp): Remove.
9325 (tramp-completion-file-name-regexp-unified)
9326 (tramp-completion-file-name-regexp-separate)
9327 (tramp-completion-file-name-regexp-url): Don't use leading volume
9328 letter on win32 systems. (Bug#5303, Bug#9311)
9329 (tramp-drop-volume-letter): Simplify definition.
9330 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9331
9332 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9335 (bug#9356).
9336
9337 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9338
9339 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9340
9341 2011-08-29 Juri Linkov <juri@jurta.org>
9342
9343 * isearch.el (isearch-done): Don't display message "Mark saved"
9344 when arg `edit' is non-nil to prevent its flicker in the echo area.
9345
9346 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9347
9348 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9349 obsolete packages for deletion.
9350
9351 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9352
9353 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9354 (help-mode): Derive help-mode from special-mode. Don't invoke
9355 view-mode from help-mode.
9356 (help-xref-override-view-map): Remove.
9357 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9358 view-mode is not used anymore.
9359
9360 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9361
9362 * server.el (server-port): Doc fix.
9363
9364 * cus-theme.el (custom-theme-choose-mode): Inherit from
9365 special-mode (Bug#9124).
9366 (custom-theme-choose-mode-map): Add special-mode to parent.
9367
9368 2011-08-28 Alan Mackenzie <acm@muc.de>
9369
9370 * progmodes/cc-fonts.el
9371 (c-make-font-lock-BO-decl-search-function): New function.
9372 (c-basic-matchers-after - "Fontify the clauses after various
9373 keywords"): Extract the three keyword lists for the 3 erroneous
9374 constructs from the list of four, and use the new function above
9375 in place of an old one.
9376
9377 2011-08-28 Deniz Dogan <deniz@dogan.se>
9378
9379 * net/rcirc.el (rcirc-insert-prev-input)
9380 (rcirc-insert-next-input): Remove unused argument.
9381
9382 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9383
9384 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9385
9386 2011-08-27 Alan Mackenzie <acm@muc.de>
9387
9388 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9389 handle function pointer parameters properly.
9390
9391 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9392
9393 * window.el (display-buffer-reuse-window): Fix case where
9394 selected window was reused with non-nil OTHER-WINDOW argument.
9395 (Bug#9381)
9396
9397 2011-08-27 Deniz Dogan <deniz@dogan.se>
9398
9399 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9400 oftc's NickServ messages.
9401
9402 2011-08-27 Glenn Morris <rgm@gnu.org>
9403
9404 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9405
9406 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9407
9408 * emacs-lisp/package.el (package-install): Call package-initialize
9409 if called interactively.
9410
9411 2011-08-26 Leo Liu <sdl.web@gmail.com>
9412
9413 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9414
9415 2011-08-25 Juri Linkov <juri@jurta.org>
9416
9417 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9418 `search-whitespace-regexp' (bug#9364).
9419
9420 2011-08-25 Juri Linkov <juri@jurta.org>
9421
9422 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9423 `regexp-search-ring' to their global values to protect from
9424 updating by `read-from-minibuffer' (bug#9185).
9425
9426 2011-08-25 Juri Linkov <juri@jurta.org>
9427
9428 * textmodes/ispell.el (ispell-command-loop): Add newline
9429 at the end of the "Use option `i'..." line.
9430
9431 2011-08-25 Juri Linkov <juri@jurta.org>
9432
9433 * battery.el (display-battery-mode): If `battery-status-function'
9434 or `battery-mode-line-format' is nil, display the message and set
9435 `display-battery-mode' to nil (bug#9363).
9436
9437 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9438
9439 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9440 bidi-string-mark-left-to-right; they are unnecessary now.
9441
9442 2011-08-25 Deniz Dogan <deniz@dogan.se>
9443
9444 * net/quickurl.el: Documentation typo fixes.
9445
9446 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9447
9448 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9449
9450 2011-08-25 Glenn Morris <rgm@gnu.org>
9451
9452 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9453
9454 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9455 (smtpmail-via-smtp): Handle nil response from smtp.
9456
9457 2011-08-24 Juri Linkov <juri@jurta.org>
9458
9459 * proced.el (proced-marked): Inherit from `error' instead of
9460 `font-lock-warning-face'.
9461
9462 * ibuffer.el (ibuffer-marked-face): Change default face from
9463 `font-lock-warning-face' to `warning'.
9464 (ibuffer-deletion-face): Change default face from
9465 `font-lock-type-face' to `error'.
9466
9467 * battery.el (battery-update): Use the face `error' instead of
9468 `font-lock-warning-face' (bug#6117).
9469
9470 2011-08-24 Juri Linkov <juri@jurta.org>
9471
9472 * faces.el (success): Change face color from "Green3" to
9473 "ForestGreen" on light background (bug#9353).
9474
9475 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9476
9477 * window.el (quit-window): Rename from quit-restore-window.
9478 Use same arglist as old quit-window.
9479 (frame-auto-delete): Doc fix.
9480
9481 * view.el (view-mode-exit): Use quit-window.
9482
9483 2011-08-24 Juri Linkov <juri@jurta.org>
9484
9485 * isearch.el (isearch-ring-adjust1): Start visiting previous
9486 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9487 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9488 for empty search string (when the last search string is reused
9489 automatically) to adjust the isearch ring to the last element and
9490 prepare the correct index for further M-p commands (bug#9185).
9491
9492 2011-08-24 Kenichi Handa <handa@m17n.org>
9493
9494 * international/ucs-normalize.el: If decomposition property of
9495 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9496 nil.
9497 (nfd, nfkd): Likewise.
9498
9499 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9502 from process filters aren't reliably transmitted to the surrounding
9503 accept-process-output.
9504 (mpc-proc-check): New function.
9505 (mpc-proc-sync): Use it (bug#8293)
9506
9507 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9510 Add compatibility functions (bug#9313).
9511
9512 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9513
9514 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9515
9516 * international/uni-bidi.el: Regenerate.
9517
9518 2011-08-23 Kenichi Handa <handa@m17n.org>
9519
9520 * international/charprop.el:
9521 * international/uni-bidi.el:
9522 * international/uni-category.el:
9523 * international/uni-combining.el:
9524 * international/uni-comment.el:
9525 * international/uni-decimal.el:
9526 * international/uni-decomposition.el:
9527 * international/uni-digit.el:
9528 * international/uni-lowercase.el:
9529 * international/uni-mirrored.el:
9530 * international/uni-name.el:
9531 * international/uni-numeric.el:
9532 * international/uni-old-name.el:
9533 * international/uni-titlecase.el:
9534 * international/uni-uppercase.el: Regenerate.
9535
9536 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9537
9538 * help.el (help-window-setup): Fix message displayed when other
9539 window is reused. (Bug#9341)
9540
9541 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9542
9543 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9544 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9545
9546 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9547 Mark obsolete.
9548 * shell.el (shell-parse-pcomplete-arguments): New function.
9549 (shell-completion-vars): Use it instead (bug#9160).
9550
9551 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9552
9553 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9554 strings and comments (bug#9333).
9555
9556 * emacs-lisp/debug.el (debug-arglist): New function.
9557 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9558 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9559
9560 2011-08-22 Juri Linkov <juri@jurta.org>
9561
9562 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9563 Revert regexp that highlights output switches to its old
9564 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9565
9566 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9567 to check for empty output (bug#9226).
9568
9569 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9570
9571 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9572 symbol-constituent as the default, as that stops font-lock from
9573 working properly (Bug#8843).
9574
9575 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9576
9577 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9578 `coding-system-for-*' around the process open call to avoid
9579 auth-source side effects.
9580 (smtpmail-try-auth-methods): Expand the secret password.
9581 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9582 probe hangs.
9583
9584 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9585
9586 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9587
9588 * emacs-lisp/find-func.el (find-function-noselect): New arg
9589 lisp-only.
9590
9591 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9592 signal an error for built-in functions (Bug#6664).
9593
9594 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9595
9596 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9597 (smtpmail-try-auth-methods): Use it.
9598
9599 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9600
9601 * font-lock.el (font-lock-fontify-region)
9602 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9603 (font-lock-default-unfontify-buffer)
9604 (font-lock-default-fontify-region)
9605 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9606
9607 * progmodes/compile.el (compilation-error-properties):
9608 Fix confusion between file struct and message struct (Bug#9319).
9609 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9610 `ant' regexp.
9611
9612 * net/browse-url.el (browse-url-firefox): Don't call
9613 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9614
9615 2011-08-20 Glenn Morris <rgm@gnu.org>
9616
9617 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9618
9619 * tutorial.el (tutorial--default-keys): Update some default bindings.
9620
9621 * files.el (hack-local-variables): Fully ignore case for "mode:".
9622
9623 2011-08-20 Alan Mackenzie <acm@muc.de>
9624
9625 Resolve invalid use of a regexp in regexp-opt.
9626
9627 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9628 detection for a java annotation.
9629
9630 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9631 detection for a java annotation.
9632
9633 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9634 handling for java.
9635 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9636
9637 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9638
9639 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9640 (Bug#9274).
9641
9642 2011-08-20 Alan Mackenzie <acm@muc.de>
9643
9644 Fontify CPP expressions correctly when starting in the middle of
9645 such a construct. Mainly for when jit-lock etc. starts a chunk
9646 here.
9647
9648 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9649 variable.
9650 (c-make-font-lock-search-form): New function, extracted from
9651 c-make-font-lock-search-function.
9652 (c-make-font-lock-search-function): Use the above function.
9653 (c-make-font-lock-context-search-function): New function.
9654 (c-cpp-matchers): Enhance the preprocessor expression case with
9655 the above function
9656 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9657 which takes an expression.
9658
9659 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9660
9661 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9662
9663 * window.el (display-buffer-reuse-window)
9664 (display-buffer-pop-up-window): Don't reuse or split a side
9665 window.
9666
9667 2011-08-19 Glenn Morris <rgm@gnu.org>
9668
9669 * files.el (hack-local-variables-prop-line, hack-local-variables):
9670 Downcase "Mode:". (Bug#9331)
9671
9672 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9673
9674 * international/characters.el: Add L and R categories.
9675
9676 * subr.el (bidi-string-mark-left-to-right): Rename from
9677 string-mark-left-to-right. Use category search.
9678
9679 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9680
9681 2011-08-18 Juri Linkov <juri@jurta.org>
9682
9683 * faces.el (error, warning, success): New faces with definitions
9684 copied from old default values of `font-lock-warning-face',
9685 `compilation-warning', `compilation-info' (bug#6117).
9686
9687 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9688
9689 * progmodes/compile.el (compilation-error): Inherit from `error'.
9690 (compilation-warning): Inherit from `warning'.
9691 (compilation-info): Inherit from `success'.
9692
9693 * dired.el (dired-marked): Inherit from `warning'.
9694 (dired-flagged): Inherit from `error'.
9695
9696 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9697
9698 * mail/smtpmail.el (auth-source): Require to avoid problems with
9699 binding variables (bug#9298). Also clean up some unused
9700 autoloads.
9701
9702 * net/network-stream.el (network-stream-open-starttls):
9703 Support using starttls.el without using gnutls-cli.
9704
9705 2011-08-17 Juri Linkov <juri@jurta.org>
9706
9707 * progmodes/grep.el (rgrep): Handle the case when
9708 `grep-find-command' is a cons cell (bug#9278).
9709
9710 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9711
9712 * window.el (display-buffer-pop-up-frame): Run frame creation
9713 function with BUFFER current (as special-display-popup-frame
9714 does). Reported by Drew Adams.
9715
9716 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9717
9718 * epa-mail.el: Simplify GnuPG group expansion using
9719 epg-expand-group.
9720 (epa-mail-group-alist, epa-mail-group-modtime)
9721 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9722 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9723 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9724 Remove.
9725
9726 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9727
9728 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9729
9730 2011-08-16 Alan Mackenzie <acm@muc.de>
9731
9732 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9733 Correct, to avoid the inside of macros.
9734
9735 2011-08-16 Richard Stallman <rms@gnu.org>
9736
9737 * epa-mail.el: Handle GnuPG group definitions.
9738 (epa-mail-group-alist, epa-mail-group-modtime)
9739 (epa-mail-gnupg-conf-file): New variables.
9740 (epa-mail-parse-groups, epa-mail-sync-groups)
9741 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9742 (epa-mail-expand-recipients): New functions.
9743 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9744
9745 * mail/rmail.el (rmail-epa-decrypt): New command.
9746
9747 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9748 Don't bind buffer-read-only, just inhibit-read-only.
9749 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9750 (epa-decrypt-armor-in-region): Make error message clearer.
9751
9752 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9755 and "a2b" to "ab" for `prefix'.
9756
9757 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9758
9759 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9760 filter groups.
9761 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9762 Fourquet (Bug#8804).
9763
9764 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9765
9766 * startup.el (argi): Declare as global variable (bug#9275).
9767
9768 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9769
9770 * subr.el (string-mark-left-to-right): Search the entire string
9771 for RTL script, not just the terminating character. Doc fix.
9772
9773 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9776 New function.
9777 (js--regexp-literal, js-syntax-propertize-function): Remove.
9778 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9779 (js-mode-map): Don't rebind electric keys.
9780 (js-insert-and-indent): Remove.
9781 (js-mode): Setup electric-layout and electric-indent instead.
9782
9783 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9784
9785 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9786
9787 * epa.el (epa-progress-callback-function): Fix the logic of
9788 displaying progress.
9789 * epa-file.el (epa-file-insert-file-contents): Make progress
9790 display more user-friendly.
9791 (epa-file-write-region): Ditto.
9792
9793 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9794
9795 * subr.el (string-mark-left-to-right): New function.
9796
9797 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9798 Use string-mark-left-to-right.
9799 (list-buffers-noselect): Caller changed.
9800
9801 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9802 Use string-mark-left-to-right.
9803 (tabulated-list-print): Recenter after moving point.
9804
9805 2011-08-10 Juri Linkov <juri@jurta.org>
9806
9807 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9808 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9809 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9810
9811 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9812
9813 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9814 (Bug#7554).
9815
9816 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9817
9818 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9819 character. (Bug#6594)
9820
9821 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9822
9823 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9824 (image-dired--with-db-file): New macro.
9825 (image-dired-write-tags, image-dired-remove-tag)
9826 (image-dired-create-gallery-lists, image-dired-write-comments)
9827 (image-dired-get-comment, image-dired-mark-tagged-files)
9828 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9829 (image-dired-gallery-generate): Use insert-file-contents.
9830
9831 * time.el (display-time-world-list, display-time-world-display):
9832 * time-stamp.el (time-stamp-string):
9833 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9834 set-time-zone-rule (Bug#7337).
9835
9836 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9837
9838 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9839 (epg-error-to-string, epg-errors-to-string): New function.
9840 (epg-wait-for-completion): Reverse errors list.
9841 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9842 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9843 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9844 (epg-sign-keys, epg-generate-key-from-file)
9845 (epg-generate-key-from-string): Format errors by using
9846 epg-errors-to-string (bug#9255).
9847 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9848
9849 2011-08-07 Juri Linkov <juri@jurta.org>
9850
9851 * faces.el (list-faces-display): Remove extra angle bracket
9852 from `help-mode-map'.
9853
9854 * info.el (Info-history-toc-nodes): Doc fix.
9855
9856 * longlines.el (longlines-mode): Doc fix.
9857
9858 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9859
9860 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9861 of statements and in a few more cases (bug#9183).
9862
9863 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9864 New functions.
9865 (cl-transform-lambda): Use them (bug#9239).
9866
9867 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9868
9869 * window.el (display-buffer-same-window)
9870 (display-buffer-same-frame, display-buffer-other-window)
9871 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9872 (pop-to-buffer-other-window)
9873 (pop-to-buffer-same-frame-other-window)
9874 (pop-to-buffer-other-frame): Make them defuns.
9875 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9876
9877 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9878
9879 * subr.el (make-composed-keymap): Move from C. Change calling
9880 convention, and improve docstring to bring attention to a subtle point.
9881 * minibuffer.el (completing-read-default): Adjust accordingly.
9882
9883 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9886 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9887
9888 * net/trampver.el: Update release number.
9889
9890 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9893 "in" (bug#9190).
9894
9895 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9896
9897 * mail/sendmail.el (sendmail-query-once): Restore the current
9898 buffer after querying (bug#9074).
9899
9900 * dired.el (dired-flagged): Use different faces for marked and
9901 flagged files (bug#6117).
9902
9903 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9904 (bug#4433).
9905
9906 * ido.el (ido-mode): Switch off the message if called
9907 non-interactively.
9908
9909 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9910 before 587, since it appears that that's more likely to work for
9911 more people.
9912
9913 * cus-edit.el (custom-file): When running under emacs -q, always
9914 refuse to save the customizations, even if the .emacs file doesn't
9915 exist.
9916
9917 * info.el: Remove the `Info-beginning-of-buffer' function
9918 (bug#8325).
9919
9920 * net/network-stream.el (network-stream-open-starttls):
9921 Use `starttls-available-p' to see whether starttls.el can be used.
9922
9923 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9924
9925 * window.el (display-buffer-in-window): Don't set dedicated status
9926 of window here (Bug#9215).
9927 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9928 (display-buffer-pop-up-side-window)
9929 (display-buffer-in-side-window): Set dedicated status of window here.
9930
9931 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9932
9933 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9934 before binding generated-autoload-file.
9935
9936 2011-08-01 Deniz Dogan <deniz@dogan.se>
9937
9938 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9939
9940 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9941
9942 Sync with Tramp 2.2.2.
9943
9944 * net/trampver.el: Update release number.
9945
9946 2011-07-30 Juri Linkov <juri@jurta.org>
9947
9948 * dired-aux.el (dired-touch-initial): Remove function.
9949 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9950 current time, and `default' to the last modification time of the
9951 current marked file (bug#6887).
9952
9953 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9954
9955 * simple.el (goto-line): Use string-to-number to provide a
9956 numeric argument to read-number (bug#9163).
9957
9958 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9959
9960 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9961 connection process, it could be nil.
9962
9963 2011-07-27 Leo Liu <sdl.web@gmail.com>
9964
9965 Simplify url handling in rcirc-mode.
9966
9967 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9968 (rcirc-browse-url-at-mouse): Remove.
9969 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9970
9971 2011-07-26 Alan Mackenzie <acm@muc.de>
9972
9973 Fontify bitfield declarations properly.
9974
9975 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9976 (c-symbol-chars): Now exported as a lang variable.
9977 (c-not-primitive-type-keywords): New lang variable.
9978
9979 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9980 QT keyword "more" to prevent "more slots: ...." being spuriously
9981 parsed as a bitfield declaration.
9982
9983 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9984 Refactor and enhance to handle bitfield declarations.
9985 (c-punctuation-in): New function.
9986 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9987 declarations properly.
9988
9989 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9990
9991 * calendar/icalendar.el (icalendar--all-events): Take care of
9992 multiple vcalendars in a single file.
9993 (icalendar--convert-float-to-ical): Checkdoc fixes.
9994
9995 2011-07-25 Deniz Dogan <deniz@dogan.se>
9996
9997 * image.el (insert-image): Clarifying docstring.
9998
9999 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
10000
10001 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10002 `tramp-send-command-and-check' if there is no error.
10003 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10004
10005 2011-07-22 Alan Mackenzie <acm@muc.de>
10006
10007 Prevent cc-langs.elc being loaded at run time.
10008
10009 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10010 cc-langs.
10011
10012 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
10013 "(require 'cc-langs)". Quote a form so it will evaluate at
10014 (cc-mode's) compilation time.
10015
10016 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10017
10018 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10019 loading. (Bug#9114)
10020
10021 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10022
10023 * window.el (display-buffer-pop-up-window)
10024 (display-buffer-pop-up-side-window)
10025 (display-buffer-in-side-window): Call display-buffer-set-height
10026 and display-buffer-set-width after setting the new window's
10027 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10028
10029 2011-07-20 Sam Steingold <sds@gnu.org>
10030
10031 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10032 (etags-tags-included-tables): Call `convert-standard-filename' on
10033 the file names contained in TAGS so that windows Emacs can handle
10034 TAGS files created by cygwin ctags.
10035
10036 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10037
10038 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10039 which apparently didn't work.
10040
10041 2011-07-19 Roland Winkler <winkler@gnu.org>
10042
10043 * proced.el (proced-send-signal): For *Marked Processes* buffer
10044 put point at beginning of buffer.
10045
10046 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10047
10048 * proced.el (proced-format): Make header lines align with the text
10049 (bug#1779).
10050
10051 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10052
10053 * view.el (view-buffer): Allow running in `special' modes if we're
10054 visiting a file (bug#8615).
10055
10056 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10057
10058 * window.el (display-buffer-alist-of-strings-p)
10059 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10060 New functions.
10061 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10062 more accurately.
10063
10064 2011-07-18 Alan Mackenzie <acm@muc.de>
10065
10066 Fontify declarators properly when, e.g., a jit-lock chunk begins
10067 inside a declaration.
10068
10069 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10070
10071 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10072 New function.
10073 (c-complex-decl-matchers): Insert reference to
10074 c-font-lock-enclosing-decls.
10075
10076 * progmodes/cc-engine.el (c-backward-single-comment):
10077 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10078 to nil around calls to (forward-comment -1).
10079
10080 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10081
10082 * image.el (put-image): Doc typo fix.
10083
10084 * progmodes/etags.el (tags-search): Doc typo fix.
10085
10086 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10087 password if we get errors 550 to 554.
10088
10089 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10090
10091 * net/gnutls.el (gnutls-log-level): Remove.
10092
10093 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10094 indentation character (bug#6380).
10095
10096 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10097
10098 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10099 to clarify what the problem is (bug#4291).
10100
10101 * simple.el (current-kill): Clarify what
10102 `interprogram-paste-function' does (bug#7500).
10103 (auto-fill-mode): Document `auto-fill-function' in relation to
10104 `auto-fill-mode' (bug#2470).
10105
10106 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10107
10108 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10109 method if slot is read-only (bug#9035).
10110
10111 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10112
10113 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10114 * window.el (pop-to-buffer): Select window used even if it was
10115 selected before, see discussion of (Bug#8615), (Bug#6954).
10116 Pass argument NORECORD on to select-frame-set-input-focus.
10117
10118 2011-07-15 Glenn Morris <rgm@gnu.org>
10119
10120 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10121 Respect help-form.
10122
10123 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10124
10125 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10126 (gnutls-negotiate): Use it.
10127
10128 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10129
10130 * net/gnutls.el (gnutls-negotiate):
10131 Upcase `gnutls-algorithm-priority'.
10132
10133 2011-07-15 Glenn Morris <rgm@gnu.org>
10134
10135 * jka-compr.el (jka-compr-verbose): Move from here...
10136 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10137 Add missing :version tag.
10138 * info.el: No need to require jka-compr when compiling.
10139
10140 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10141
10142 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10143 (gnutls-negotiate): Use it.
10144
10145 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10146
10147 * info.el (Info-beginning-of-buffer): New command.
10148 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10149 announcing `b' as the key (bug#8325).
10150 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10151
10152 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10153
10154 * international/mule-cmds.el
10155 (describe-specified-language-support): Make the error message
10156 clearer (bug#8905).
10157
10158 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10159
10160 * isearch.el (isearch-barrier): Add a doc string, since it's
10161 mentioned in a function doc string (bug#8678).
10162
10163 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10164
10165 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10166 buffer argument (Bug#9083) and self-identifying label argument.
10167
10168 2011-07-15 Glenn Morris <rgm@gnu.org>
10169
10170 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10171
10172 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10173
10174 * man.el (Man-fontify-manpage): Fix message when formatting the
10175 man page (bug#7929).
10176
10177 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10178
10179 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10180 argument LRM; if non-nil, append an invisible LRM character to the
10181 buffer name.
10182 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10183 last argument non-nil, when formatting buffer names.
10184 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10185 paragraph direction.
10186
10187 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10188
10189 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10190 the man page name (bug#7929).
10191
10192 * image.el (put-image): Mention the `put-image' overlay property
10193 (bug#7834).
10194
10195 * scroll-bar.el (set-scroll-bar-mode): Mention that
10196 `scroll-bar-mode' lists the values (bug#7772).
10197
10198 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10199 command (bug#7729).
10200
10201 * rect.el (apply-on-rectangle): Return the point after the last
10202 operation.
10203 (string-rectangle): Go to the point after the last operation
10204 (bug#7522).
10205
10206 * printing.el (pr-toggle-region): Clarify the documentation
10207 slightly (bug#7493).
10208
10209 * time.el (display-time-update):
10210 Allow `display-time-mail-function' to return nil (bug#7158).
10211 Fix suggested by Detlev Zundel.
10212
10213 * vc/diff.el (diff): Clarify the order the file names are read
10214 (bug#7111).
10215
10216 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10217 the doc string (bug#7015).
10218
10219 * font-lock.el (font-lock-maximum-decoration): Mention what
10220 numeric levels mean (bug#6935).
10221
10222 * startup.el (initial-buffer-choice): Don't mention the `none'
10223 selection, which is against policy.
10224
10225 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10226
10227 * window.el (display-buffer-normalize-special):
10228 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10229
10230 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10231
10232 * subr.el (version<, version<=, version=): Mention "-CVS" and
10233 "-12345" alpha version numbers.
10234
10235 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10236
10237 * bindings.el: Add advertised binding for set-mark-command
10238 (Bug#5772).
10239
10240 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10241
10242 * bindings.el (mode-line-other-buffer):
10243 * bookmark.el (bookmark-bmenu-2-window):
10244 * bs.el (bs-cycle-next, bs-cycle-previous):
10245 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10246 switch-to-buffer.
10247
10248 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10249 Delete.
10250
10251 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10252
10253 * follow.el (follow-debug-message, follow-redisplay):
10254 * jka-cmpr-hook.el (with-auto-compression-mode):
10255 Fix typos in docstrings.
10256
10257 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10258
10259 * subr.el (with-silent-modifications): Clarify somewhat what the
10260 macro inhibits (bug#6525).
10261
10262 * simple.el (eval-expression): Note what it does if called
10263 interactively (bug#6495).
10264
10265 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10266
10267 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10268 Use pop-to-buffer buffer-or-name if it is nil.
10269
10270 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10271 Remove switch-to-buffer.
10272
10273 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10274
10275 * files.el (make-directory): Clarify that an error will be raised
10276 if there's an error (bug#6397).
10277
10278 * startup.el (initial-buffer-choice): Add `none' as a choice
10279 (bug#6234).
10280
10281 * subr.el (add-hook): Clarify section about buffer-local hooks
10282 (bug#6218).
10283
10284 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10285
10286 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10287
10288 * tabify.el (untabify): Preserve the current column so that point
10289 doesn't move (bug#6032).
10290
10291 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10292
10293 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10294 Rewrite to avoid awkward possessive "s" (bug#5986).
10295
10296 2011-07-13 Glenn Morris <rgm@gnu.org>
10297
10298 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10299 (dired-insert-directory): Give a message the first time
10300 if ls is found not to support --dired.
10301
10302 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10303
10304 * simple.el (toggle-truncate-lines): Clarify what is toggled
10305 (bug#5580). Text by Drew Adams.
10306
10307 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10308
10309 * simple.el (blink-matching-open): Make the error message from the
10310 last change less verbose.
10311
10312 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10313
10314 * font-lock.el (font-lock-comment-face): Use the high contrast
10315 "yellow" color for font-lock-comment-face on low color terminals
10316 using a dark background color (bug#4221).
10317
10318 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10319
10320 * dired.el (dired-insert-set-properties): Make the doc string
10321 reflect what it does now (bug#5325).
10322
10323 * simple.el (blink-matching-open): Say that we were unable to find
10324 the match within the limit, if we're limited (bug#5122).
10325
10326 * international/mule-cmds.el (prefer-coding-system): Add an
10327 example (bug#4869).
10328
10329 * progmodes/etags.el (tags-search): Document `file-list-form'
10330 (bug#4731).
10331
10332 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10333
10334 * net/browse-url.el (browse-url-default-browser)
10335 (browse-url-browser-function): Make the default browser choice a
10336 bit more logical (bug#4300). Also clean up the doc string.
10337
10338 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10339
10340 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10341 binary endings (bug#4440).
10342
10343 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10344
10345 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10346 which can be pretty annoying (bug#8971).
10347
10348 * jka-compr.el (jka-compr-verbose): New variable, and use
10349 throughout (bug#8971).
10350
10351 * info.el (Info-find-file): Fall back on the installation
10352 directory if we can't find the info node anywhere else.
10353
10354 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10355
10356 * vc/vc.el (vc-revert-file):
10357 Don't set file time-stamp in the past. (Bug#5181)
10358
10359 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10360
10361 * files.el (after-find-file): Give a better error message when
10362 trying to find a symlink that points to a file that doesn't exist
10363 (bug#4398).
10364
10365 * progmodes/cc-vars.el: Remove (probably) misleading comment
10366 (bug#4396).
10367
10368 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10369
10370 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10371
10372 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10373
10374 * mouse-sel.el: Hack restoring functionality, while keeping
10375 compatibility with 2010-07-03 changes to mouse selection.
10376 (mouse-sel-primary-overlay): New var.
10377 (mouse-sel-selection-alist): Use it.
10378 (mouse-sel-mode): Doc fix; remove points that are default features
10379 of mouse.el.
10380
10381 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10382
10383 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10384 Fix previous fix (bug#2490).
10385
10386 2011-07-12 Roland Winkler <winkler@gnu.org>
10387
10388 * textmodes/bibtex.el (bibtex-initialize):
10389 Use pop-to-buffer-same-window.
10390 (bibtex-search-entries): Fix interactive call.
10391
10392 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10393
10394 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10395 Fontise bytecomp Error lines more correctly (bug#2490).
10396 Fix suggested by Johan Bockgård.
10397
10398 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10399
10400 * dired-x.el (dired-guess-default): Use `delete-dups'.
10401
10402 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10403
10404 * dired.el (dired-mark-prompt):
10405 * dired-aux.el (dired-read-shell-command): Doc fix.
10406
10407 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10408
10409 * mail/sendmail.el (sendmail-query-once):
10410 Use `customize-save-variable' unconditionally, now that it works under
10411 emacs -Q.
10412
10413 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10414
10415 * cus-edit.el (custom-file): Take an optional no-error variable.
10416 (customize-save-variable): Set the variable, and give a warning if
10417 running under "emacs -q".
10418
10419 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10420
10421 * loadhist.el (unload-feature-special-hooks):
10422 Add `auto-coding-functions', `fill-nobreak-predicate' and
10423 `find-directory-functions' (bug#5327).
10424
10425 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10426
10427 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10428
10429 * cus-edit.el (custom-guess-name-alist): -alist variables should
10430 use the `alist' type (bug#3120). Suggested by Drew Adams.
10431
10432 * printing.el: Add documentation to all the `pr-toggle-' commands.
10433
10434 2011-07-11 Leo Liu <sdl.web@gmail.com>
10435
10436 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10437 backends where it makes sense (bug#2623).
10438
10439 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10440
10441 * dired-x.el (dired-guess-default): Remove duplicate shell command
10442 entries (bug#2028).
10443 (dired-guess-default): Fix grammar in doc string (bug#2028).
10444 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10445
10446 * subr.el (remove-duplicates): New conveniency function.
10447
10448 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10449
10450 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10451 (bug#1526).
10452
10453 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10454
10455 * window.el (display-buffer-normalize-default): Don't invert
10456 meaning of even-window-heights. Reported by Eli Zaretskii
10457 <eliz@gnu.org>.
10458
10459 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10460
10461 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10462
10463 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10464
10465 * window.el (display-buffer): Fix arguments to
10466 display-buffer-reuse-window in last change.
10467
10468 * faces.el (link): Use a less saturated blue on light backgrounds.
10469
10470 * startup.el (fancy-startup-text, fancy-about-text)
10471 (fancy-startup-tail): Use font-lock faces, for background safety.
10472
10473 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10474
10475 * emulation/viper-cmd.el (viper-change-state-to-vi):
10476 Limit triggering of abbrev expansion (Bug#9038).
10477
10478 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10479
10480 * window.el (display-buffer-default-specifiers): Remove.
10481 (display-buffer-macro-specifiers): Remove default specifiers.
10482 (display-buffer-alist): Default to nil.
10483 (display-buffer-reuse-window): New optional argument other-window.
10484 (display-buffer-pop-up-window): Allow splitting internal
10485 windows. Check whether a live window was created.
10486 (display-buffer-other-window-means-other-frame)
10487 (display-buffer-normalize-arguments): Rename to
10488 display-buffer-normalize-argument and rewrite. Set the
10489 other-window specifier.
10490 (display-buffer-normalize-special): New function.
10491 (display-buffer-normalize-options): Rename to
10492 display-buffer-normalize-default and rewrite.
10493 (display-buffer-normalize-options-inhibit): Remove.
10494 (display-buffer-normalize-specifiers): Rewrite.
10495 (display-buffer): Process other-window specifier and call
10496 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10497 more faithfully.
10498 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10499 (display-buffer-alist-set): Don't handle 'unset default values.
10500 (display-buffer-in-window, display-buffer-alist-set):
10501 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10502 <tassilo@member.fsf.org>.
10503
10504 2011-07-09 Leo Liu <sdl.web@gmail.com>
10505
10506 * register.el (insert-register): Restore accidental change on
10507 2011-06-26. (Bug#9028)
10508
10509 2011-07-09 Glenn Morris <rgm@gnu.org>
10510
10511 * subr.el (remq): Handle the empty list. (Bug#9024)
10512
10513 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10514
10515 * mail/sendmail.el (send-mail-function): No longer delay custom
10516 initialization.
10517 * custom.el (custom-initialize-delay): Doc fix.
10518
10519 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10522
10523 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10524
10525 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10526 human-friendly prompt.
10527
10528 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10529
10530 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10531 provided by a particular plugin.
10532
10533 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10534
10535 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10536 save customizations (with "emacs -Q"), just set the variable
10537 instead of erroring out.
10538
10539 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10540
10541 2011-07-08 Juri Linkov <juri@jurta.org>
10542
10543 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10544 (archive-zip-update-case): Use 7z if found by `executable-find'.
10545 The order of searching the available programs is the same as in
10546 `archive-zip-extract' (bug#8968).
10547
10548 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10549
10550 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10551 (menu-bar-options-menu): Tweak descriptions.
10552
10553 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10554
10555 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10556 menu items into verb phrases (bug#1421). Also refill to fit under
10557 80 columns.
10558
10559 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10560
10561 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10562 (Info-read-node-name): Doc fix (Bug#1084).
10563
10564 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10565 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10566 (end-of-sexp, beginning-of-sexp)
10567 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10568 (forward-symbol, forward-same-syntax, word-at-point)
10569 (sentence-at-point): Doc fix (Bug#1144).
10570
10571 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10572
10573 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10574 should cover it (bug#1281).
10575
10576 * cus-edit.el (custom-show): Mark as obsolete.
10577
10578 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10579 negotiation fails, then possibly try again with a non-encrypted
10580 connection (bug#9017).
10581
10582 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10583 be used.
10584
10585 2011-07-07 Richard Stallman <rms@gnu.org>
10586
10587 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10588 property, and handle its changed format.
10589 Look for the correct line number.
10590 Use file's line contents (but not past first =) to find
10591 correct line in message.
10592
10593 2011-07-07 Kenichi Handa <handa@m17n.org>
10594
10595 * international/characters.el (build-unicode-category-table):
10596 Delete it.
10597 (unicode-category-table): Set it by unicode-property-table-internal.
10598
10599 * international/mule-cmds.el (char-code-property-alist): Move to
10600 to src/chartab.c.
10601 (get-char-code-property): Call unicode-property-table-internal to
10602 load a file. Call get-unicode-property-internal where necessary.
10603 (put-char-code-property): Call unicode-property-table-internal to
10604 load a file. Call put-unicode-property-internal where necessary.
10605 put-unicode-property-internal where necessary.
10606 (char-code-property-description):
10607 Call unicode-property-table-internal to load a file.
10608
10609 * international/charprop.el:
10610 * international/uni-bidi.el:
10611 * international/uni-category.el:
10612 * international/uni-combining.el:
10613 * international/uni-comment.el:
10614 * international/uni-decimal.el:
10615 * international/uni-decomposition.el:
10616 * international/uni-digit.el:
10617 * international/uni-lowercase.el:
10618 * international/uni-mirrored.el:
10619 * international/uni-name.el:
10620 * international/uni-numeric.el:
10621 * international/uni-old-name.el:
10622 * international/uni-titlecase.el:
10623 * international/uni-uppercase.el: Regenerate.
10624
10625 * loadup.el: Load international/charprop.el before
10626 international/characters.
10627
10628 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10629
10630 * window.el (next-buffer, previous-buffer): Signal an error if
10631 called from a minibuffer window.
10632
10633 * bindings.el: Revert 2011-07-04 change.
10634
10635 2011-07-06 Richard Stallman <rms@gnu.org>
10636
10637 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10638 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10639 Treat markers like ints.
10640 (rmail-mime-entity): Doc fix.
10641
10642 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10643
10644 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10645 defcustom again for backwards compatibility.
10646
10647 * simple.el (shell-command-on-region): Fill.
10648
10649 * dired-aux.el (dired-kill-line): Add a doc string.
10650
10651 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10652 to "\\sw\\|\\s_" (bug#358).
10653
10654 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10655 (dired-unmark-backward): Ditto.
10656 (dired-flag-backup-files): Ditto.
10657
10658 * dired-x.el (dired-mark-sexp): Ditto.
10659
10660 2011-07-06 Richard Stallman <rms@gnu.org>
10661
10662 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10663 (rmail-mime-entity): New arg TRUNCATED.
10664 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10665 New functions.
10666 (rmail-mime-save): Warn if entity is truncated.
10667 (rmail-mime-toggle-hidden): Likewise, for showing.
10668 (rmail-mime-process-multipart): Record when an entity is truncated.
10669
10670 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10671 if ENTITY is a string.
10672
10673 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10674
10675 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10676 of faces when `M-C-x'-ing their definitions (bug#8378).
10677 Also clean up the code slightly.
10678
10679 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10680 because that makes the colors go away.
10681
10682 * mail/sendmail.el (send-mail-function): Change the default to
10683 `sendmail-query-once'.
10684 (sendmail-query-once): Add an autoload cookie.
10685
10686 * net/network-stream.el (network-stream-open-starttls): Try using
10687 a plain connection even if the server offered STARTTLS, and we
10688 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10689 capability. This should make smtpmail.el work in slightly more
10690 configurations.
10691
10692 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10693
10694 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10695 New defun.
10696 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10697
10698 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10699
10700 * progmodes/sql.el: Version 3.0
10701 (sql-product-alist): Add product :completion-object,
10702 :completion-column, and :statement attributes.
10703 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10704 (sql-mode-syntax-table): Mark all punctuation.
10705 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10706 ansi keywords.
10707 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10708 (sql-mode-oracle-font-lock-keywords): Improve.
10709 (sql-oracle-show-reserved-words): New function for development.
10710 (sql-product-font-lock): Simplify for source code buffers.
10711 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10712 New functions.
10713 (sql-highlight-product): Set product specific syntax table.
10714 (sql-mode-map): Add statement movement functions.
10715 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10716 New variable.
10717 (sql-statement-regexp, sql-beginning-of-statement)
10718 (sql-end-of-statement, sql-signum): New functions.
10719 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10720 (sql-show-sqli-buffer): Bug fix.
10721 (sql-interactive-mode): Store connection data as buffer local.
10722 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10723 with sql-interactive-mode.
10724 (sql-save-connection): Save buffer local settings.
10725 (sql-connection-menu-filter): Change menu entry name.
10726 (sql-product-interactive): Bug fix.
10727 (sql-preoutput-hold): New variable.
10728 (sql-interactive-remove-continuation-prompt): Bug fixes.
10729 (sql-debug-redirect): New variable.
10730 (sql-str-literal): New function.
10731 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10732 Redesign.
10733 (sql-oracle-save-settings, sql-oracle-restore-settings)
10734 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10735 (sql-completion-object, sql-completion-column)
10736 (sql-completion-sqlbuf): New variables.
10737 (sql-build-completions-1, sql-build-completions)
10738 (sql-try-completion): New functions.
10739 (sql-read-table-name): Use them.
10740 (sql-contains-names): New buffer local variable.
10741 (sql-list-all, sql-list-table): Use it.
10742 (sql-oracle-completion-types): New variable.
10743 (sql-oracle-completion-object, sql-sqlite-completion-object)
10744 (sql-postgres-completion-object): New functions.
10745
10746 2011-07-06 Glenn Morris <rgm@gnu.org>
10747
10748 * window.el (pop-to-buffer): Doc fix.
10749
10750 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10751
10752 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10753
10754 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10755
10756 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10757
10758 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10759
10760 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10761
10762 * button.el (button): Inherit from link face. Suggested by Dan
10763 Nicolaescu.
10764
10765 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10766
10767 * progmodes/gdb-mi.el: Fit in 80 columns.
10768 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10769 switch-to-buffer.
10770
10771 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10772 if imenu is simply not configured (bug#8941).
10773
10774 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10775
10776 * allout.el (allout-post-undo-hook): New allout outline-change
10777 event hook to signal undo activity.
10778 (allout-post-command-business): Run allout-post-undo-hook if an
10779 undo just occurred.
10780 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10781 * allout-widgets.el (allout-widgets-after-undo-function):
10782 Ensure the integrity of the current item's decoration after it has been
10783 in the vicinity of an undo.
10784 (allout-widgets-mode): Include allout-widgets-after-undo-function
10785 on the new allout-post-undo-hook.
10786
10787 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10790 Let define-derived-mode define it.
10791 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10792 cycles of abbrev-table inheritance (bug#8998).
10793
10794 2011-07-05 Roland Winkler <winkler@gnu.org>
10795
10796 * textmodes/bibtex.el: Add support for biblatex.
10797 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10798 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10799 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10800 (bibtex-entry-alist, bibtex-field-alist): New variables.
10801 (bibtex-entry-field-alist): Obsolete alias for
10802 bibtex-BibTeX-entry-alist.
10803 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10804 (bibtex-set-dialect): New command.
10805 (bibtex-entry-type, bibtex-entry-head)
10806 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10807 Bind via bibtex-set-dialect.
10808 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10809 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10810 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10811 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10812 Define via bibtex-set-dialect.
10813 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10814 Obey bibtex-no-opt-remove-re.
10815 (bibtex-vec-push, bibtex-vec-incr): New functions.
10816 (bibtex-format-entry, bibtex-field-list)
10817 (bibtex-print-help-message, bibtex-validate)
10818 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10819
10820 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * progmodes/compile.el (compilation-goto-locus):
10823 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10824 * bs.el (bs-cycle-next, bs-cycle-previous):
10825 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10826 * bindings.el (mode-line-other-buffer):
10827 * autoinsert.el (auto-insert):
10828 * arc-mode.el (archive-extract):
10829 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10830
10831 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10832
10833 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10834 Fix check of `emacs-lock-unlockable-modes'.
10835 Coerce true values of `emacs-lock--try-unlocking' to t.
10836
10837 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10838
10839 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10840 * emacs-lock.el: New file.
10841
10842 2011-07-05 Julien Danjou <julien@danjou.info>
10843
10844 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10845 than `boundp' to check if face is set.
10846
10847 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10848
10849 * register.el (registerv-make):
10850 * window.el (window-min-height): Fix typos in docstrings.
10851
10852 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10853
10854 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10855 Update doc string.
10856
10857 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10858
10859 * server.el (server-execute): Catch quit and call
10860 `server-return-error' to pass the error back to emacsclient and
10861 close the connection (bug#8942).
10862
10863 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10864
10865 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10866 insecure exception for current topic. Also note that auto-saves
10867 are handled differently.
10868
10869 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10870 State variables for tracking auto-save inhibition situation.
10871
10872 (allout-write-contents-hook-handler): Rename from
10873 'allout-write-file-hook-handler', and describe how it depends on
10874 write-contents-functions sensitivity to non-nil value to prevent
10875 file write.
10876
10877 (allout-auto-save-hook-handler): Remove. auto-save does not check
10878 this in individual buffers, only in the starting buffer, so this
10879 is not the right way for us to inhibit auto-save in a buffer
10880 according to its condition.
10881
10882 (allout-mode): Use new allout-write-contents-hook-handler, and
10883 only with write-contents-functions. Remove auto-save provisions -
10884 they're implemented elsewhere.
10885
10886 (allout-before-change-handler): If undo is in progress, note that
10887 for attention of allout-post-command-business.
10888
10889 (allout-post-command-business): If the command we're following was
10890 an undo, check for change in the status of encrypted items and
10891 adjust auto-save inhibitions accordingly.
10892
10893 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10894 according to whether there are or aren't any plain-text topics
10895 pending encryption.
10896
10897 (allout-inhibit-auto-save-info-for-decryption):
10898 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10899 if there are plain-text topics pending encryption.
10900
10901 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10902 buffer-saved-size and some allout state to not inhibit auto-saves
10903 if there are no longer any plain-text topics pending encryption.
10904
10905 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10906 No longer provide for exemption of the current topic.
10907
10908 2011-07-04 Juri Linkov <juri@jurta.org>
10909
10910 Add 7z operations to delete and save changed members (bug#8968).
10911 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10912 New defcustoms.
10913 (archive-7z-write-file-member): New function.
10914 (archive-7z-summarize): Fix the number of dashes in the
10915 listing output.
10916
10917 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10920 (bug#8958).
10921
10922 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10923
10924 * bindings.el: Ignore next-buffer and previous-buffer in
10925 minibuffer-local-map.
10926
10927 * font-lock.el (font-lock-builtin-face): Change light background
10928 color to dark slate blue (Bug#6693).
10929
10930 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10931
10932 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10933
10934 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10937 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10938 Add switch-to-buffer.
10939
10940 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10941
10942 * isearch.el (isearch-search-fun-function): Clarify further the
10943 meaning of the function returned.
10944
10945 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10946
10947 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10948
10949 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10950 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10951 Use it.
10952 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10953 `tramp-default-remote-path' does not exist.
10954 (tramp-send-command-and-read): New optional argument NOERROR.
10955 (tramp-open-connection-setup-interactive-shell)
10956 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10957 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10958 (tramp-process-sentinel): Flush also process' connection property.
10959 (tramp-sh-handle-start-file-process): Do not set process
10960 sentinel. It is done now ...
10961 (tramp-maybe-open-connection): ... here. (Bug#8929)
10962
10963 2011-07-04 MON KEY <monkey@sandpframing.com>
10964
10965 * play/animate.el (animate-string): Doc fixes and allow changing
10966 the buffer name (bug#5417).
10967
10968 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10969
10970 * play/animate.el (animation-buffer-name): Rename from *animate*.
10971
10972 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10973
10974 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10975 This is simpler and helps future-proof the code.
10976 (timer-until): Use time-subtract and float-time.
10977 (timer--time-less-p): Use time-less-p.
10978
10979 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10980
10981 * type-break.el (timep): Use the value of `float-time' to avoid a
10982 byte-compiler warning.
10983
10984 * server.el (server-eval-and-print): Return any result, even nil.
10985
10986 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10987
10988 * type-break.el: Accept time formats that the builtins accept.
10989 (timep, type-break-time-difference): Accept any format that
10990 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10991 This is simpler and helps future-proof the code.
10992 (type-break-time-difference): Round rather than ignoring
10993 subseconds components.
10994
10995 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10996
10997 * info.el (Info-apropos-matches): Make non-interactive, since it
10998 doesn't seem to do anything useful as a command (bug#8829).
10999
11000 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
11001
11002 * frame.el (frame-background-mode, frame-set-background-mode):
11003 Move from faces.el.
11004 (frame-default-terminal-background): New function.
11005
11006 * custom.el (custom-push-theme): Don't record faces in `changed'
11007 theme; this doesn't work correctly for per-frame face settings.
11008 (disable-theme): Use face-set-after-frame-default to reset faces.
11009 (custom--frame-color-default): New function.
11010
11011 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11012
11013 * dired.el (dired-flagging-regexp): Remove unused variable
11014 (bug#8769).
11015
11016 2011-03-29 Kevin Ryde <user42@zip.com.au>
11017
11018 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11019 `perl-Test2' extend to match possible "fail #N" rep count
11020 (bug#8377).
11021
11022 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11023
11024 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11025 `smtpmail-via-smtp' now returns the error instead of nil.
11026
11027 * isearch.el (isearch-search-fun-function): Clarify the doc string
11028 (bug#8101).
11029
11030 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11031
11032 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11033 unnecessary spaces (bug#8987).
11034
11035 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11036
11037 * net/network-stream.el (open-network-stream): Use the
11038 :end-of-capability command thoughout.
11039
11040 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11041
11042 * net/network-stream.el (open-network-stream): Add the
11043 :end-of-capability command parameter, used by pop3.el.
11044
11045 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11046
11047 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11048
11049 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11050 for list)" (bug#6475).
11051
11052 * files.el (file-expand-wildcards): Ignore non-readable
11053 sub-directories while trying to find matches instead of signaling
11054 an error (bug#6297).
11055
11056 * man.el (Man-reference-regexp): Allow matching possible
11057 word-wrapped references (bug#6289).
11058
11059 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11060 for consistency with the other vc buffers (bug#6197).
11061 (vc-checkin): Ditto.
11062
11063 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11064
11065 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11066
11067 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11068
11069 * custom.el (defcustom): Clarify that :set is only used in the
11070 Customize user interface (bug#6089).
11071
11072 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11073 associated with a file, refuse to run instead of erroring out
11074 (bug#6084).
11075
11076 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11077 the doc string, since it appears that using `fill-column' always
11078 controls the width (bug#7845).
11079
11080 * simple.el (shell-command-on-region): Say where the error output
11081 went if `shell-command-default-error-buffer' is set (bug#6857).
11082
11083 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11084
11085 * allout.el (allout-yank-processing): Adjust cursor position for
11086 backwards-deleted space.
11087
11088 (allout-rebullet-heading): Register changes with
11089 allout-exposure-changed-hook, so the modified topic is properly
11090 decorated.
11091
11092 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11093
11094 * minibuffer.el (completion-in-region): Document PREDICATE
11095 (bug#7136).
11096
11097 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11098 of keyword/argument pairs (bug#6904).
11099
11100 * replace.el (multi-occur):
11101 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11102
11103 2011-07-02 Drew Adams <drew.adams@oracle.com>
11104
11105 * dired.el (dired-mark-if): Make the message about whether it's
11106 marking or unmarking clearer (bug#8523).
11107
11108 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11109
11110 * disp-table.el (display-table-print-array): New function.
11111 (describe-display-table): Use it to print the vectors more pretty
11112 (Bug#8859).
11113
11114 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11115
11116 * window.el (window-state-get-1): Don't assign clone numbers.
11117 Add clone-of item to list of window parameters.
11118 (window-state-put-2): Don't process clone numbers.
11119 (display-buffer-alist): Fix doc-string.
11120
11121 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11122
11123 * subr.el (remq): Don't allocate if it's not needed.
11124 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11125 (keymap--merge-bindings): New functions.
11126 (keymap-canonicalize): Use them to refine the canonicalization.
11127 * minibuffer.el (minibuffer-local-completion-map)
11128 (minibuffer-local-must-match-map): Move initialization from C.
11129 (minibuffer-local-filename-completion-map): Move initialization from C;
11130 don't inherit from anything here.
11131 (minibuffer-local-filename-must-match-map): Make obsolete.
11132 (completing-read-default): Use make-composed-keymap to combine
11133 minibuffer-local-filename-completion-map with either
11134 minibuffer-local-must-match-map or
11135 minibuffer-local-filename-completion-map.
11136
11137 2011-07-01 Glenn Morris <rgm@gnu.org>
11138
11139 * type-break.el (type-break-time-sum): Use dolist.
11140
11141 * textmodes/flyspell.el (flyspell-word-search-backward):
11142 Replace CL function.
11143
11144 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 * mouse.el (mouse--strip-first-event): New function.
11147 (function-key-map): Use it to map fringe clicks to normal clicks
11148 by default.
11149
11150 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11151 (vc-bzr-revision-completion-table): Add support for annotate and date.
11152
11153 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11154 inherit from parent.
11155
11156 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11157
11158 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11159 (dired-show-file-type): Doc fixup (bug#8818).
11160
11161 * dired.el (dired-mode): Fix up the doc string as suggested by
11162 Drew Adams (bug#8817).
11163
11164 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11165 cookie, since the manual says that it should be possible to add
11166 this function to `find-file-hook' (bug#8709).
11167
11168 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11169
11170 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11171 here. Noted Ted Zlatanov as the maintainer.
11172 (cfengine-common-settings, cfengine-common-syntax): New functions
11173 to set up common things between `cfengine-mode' and
11174 `cfengine3-mode'.
11175 (cfengine3-mode): New mode.
11176 (cfengine3-defuns cfengine3-defuns-regex
11177 (cfengine3-class-selector-regex cfengine3-category-regex)
11178 (cfengine3-vartypes cfengine3-font-lock-keywords)
11179 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11180 (cfengine3-indent-line): Add from cfengine3.el.
11181
11182 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11183
11184 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11185
11186 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11187
11188 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11189
11190 * window.el (same-window-buffer-names, same-window-regexps)
11191 (same-window-p, special-display-frame-alist)
11192 (special-display-popup-frame, special-display-function)
11193 (special-display-buffer-names, special-display-regexps)
11194 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11195 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11196 (split-window-preferred-function, split-height-threshold)
11197 (split-width-threshold, even-window-heights)
11198 (display-buffer-mark-dedicated, window-splittable-p)
11199 (split-window-sensibly, window-safely-shrinkable-p):
11200 Un-obsolete.
11201 (display-buffer): Don't spread args with function specifier
11202 because special-display-popup-frame won't like it.
11203
11204 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11205
11206 Time-stamp simplifications and fixes.
11207 These improve accuracy slightly, and future-proof the code
11208 against some potential changes to current-time format.
11209
11210 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11211 by using time-since and float-time.
11212
11213 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11214 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11215 + NNN microseconds".
11216
11217 * type-break.el (type-break-time-sum): Rewrite using time-add.
11218
11219 * play/hanoi.el (hanoi-current-time-float): Remove.
11220 All uses replaced by float-time.
11221
11222 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11223 This yields a more-accurate answer.
11224 (rng-time-to-float): Remove; no longer needed.
11225
11226 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11227
11228 * calendar/timeclock.el (timeclock-seconds-to-time):
11229 Defalias to seconds-to-time, since they're the same thing.
11230
11231 * emacs-lisp/elp.el (elp-elapsed-time):
11232 * emacs-lisp/benchmark.el (benchmark-elapse):
11233 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11234
11235 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * window.el (bury-buffer): Don't iconify the only frame.
11238 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11239 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11240
11241 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11242
11243 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11244 Add mouse-yank-primary.
11245
11246 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11247
11248 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11249
11250 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11251
11252 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11253 (find-library-name): Use it to find relative load names when provided
11254 absolute file name (bug#8803).
11255
11256 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11257
11258 * textmodes/flyspell.el (flyspell-word): Consider words that
11259 differ only in case as potential doublons (bug#5687).
11260
11261 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11262 Remove two rather uninteresting debugging-like messages to make
11263 debbugs.el more silent.
11264
11265 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11266 a password-like phrase.
11267
11268 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11269
11270 * progmodes/cc-guess.el: New file.
11271
11272 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11273
11274 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11275 derived from `c-basic-common-init'.
11276
11277 * progmodes/cc-mode.el (top-level): Require cc-guess.
11278 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11279
11280 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11281
11282 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11283
11284 2011-06-30 Alan Mackenzie <acm@muc.de>
11285
11286 * progmodes/cc-engine.el (c-guess-continued-construct):
11287 Correct the handling of template-args-cont, particularly for when font
11288 lock is disabled. Name this case as "CASE G".
11289
11290 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11291
11292 * allout.el (allout-yank-processing): Fix injection of extra space
11293 between bullet and non-whitespace character in first topic when
11294 pasting, ensuring that the actual spacing in the pasted topic
11295 following the bullet char is preserved. This extra space was
11296 causing pasted encrypted topics to get a decrypted status even
11297 when the content was actually still encrypted. Now the decryption
11298 status from before the paste is preserved.
11299
11300 (allout-flag-region): Set all allout overlays so they evaporate
11301 when reduced to zero length (evanescent), to prevent overlay
11302 leakage.
11303
11304 2011-06-30 Glenn Morris <rgm@gnu.org>
11305
11306 * w32-fns.el (w32-charset-info-alist): Declare.
11307
11308 * find-dired.el (find-grep-options): Simplify.
11309
11310 * term/ns-win.el (ns-set-resource): Declare.
11311
11312 * ses.el (row, col): Declare dynamic variables honestly.
11313
11314 * textmodes/reftex-parse.el (index-tags): Declare.
11315
11316 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11317
11318 * cus-edit.el (customize-push-and-save): New function.
11319
11320 * files.el (hack-local-variables-confirm): Use it.
11321
11322 * custom.el (load-theme): New arg NO-CONFIRM.
11323 Use customize-push-and-save (Bug#8720).
11324 (custom-enabled-themes): Doc fix.
11325
11326 * cus-theme.el (customize-create-theme)
11327 (custom-theme-merge-theme): Callers to load-theme changed.
11328
11329 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11330
11331 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11332 short URLs have at least one dot in them (bug #7614).
11333
11334 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11335 nil, because using a pty is apparently too slow (bug #895).
11336
11337 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11338
11339 * mail/sendmail.el (sendmail-query-once): New function.
11340 (sendmail-query-once-function): New variable.
11341
11342 2011-06-29 Glenn Morris <rgm@gnu.org>
11343
11344 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11345
11346 * ses.el (top-level): Require cl when compiling.
11347 (ses-set-localvars): Fix error statement.
11348 Call it at compile time to silence a storm of warnings.
11349
11350 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11351
11352 * window.el (normalize-live-buffer): Rename to
11353 window-normalize-buffer.
11354 (normalize-live-frame): Rename to window-normalize-frame.
11355 (normalize-any-window): Rename to window-normalize-any-window.
11356 (normalize-live-window): Rename to window-normalize-live-window.
11357 (make-window-atom): Rename to window-make-atom.
11358 (window-resize-reset): Rename to window--resize-reset.
11359 (window-resize-reset-1): Rename to window--resize-reset-1.
11360 (resize-mini-window): Rename to window--resize-mini-window.
11361 (resize-subwindows-skip-p): Rename to
11362 window--resize-subwindows-skip-p.
11363 (resize-subwindows-normal): Rename to
11364 window--resize-subwindows-normal.
11365 (resize-subwindows): Rename to window--resize-subwindows.
11366 (resize-other-windows): Rename to window--resize-siblings.
11367 (resize-this-window): Rename to window--resize-this-window.
11368 (resize-root-window): Rename to window--resize-root-window.
11369 (resize-root-window-vertically): Rename to
11370 window--resize-root-window-vertically.
11371 (normalize-buffer-to-display): Rename to
11372 window-normalize-buffer-to-display.
11373 (normalize-buffer-to-switch-to): Rename to
11374 window-normalize-buffer-to-switch-to.
11375 Correspondingly update all callers of the functions listed
11376 above.
11377 (display-buffer-alist, display-buffer-normalize-arguments)
11378 (display-buffer-normalize-options, display-buffer)
11379 (display-buffer-alist-set): Use "function" instead of
11380 "fun-with-args".
11381
11382 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11383
11384 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11385 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11386 debbugs.gnu.org. Mention acknowledgment email.
11387
11388 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11389
11390 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11391 buffer multibyteness, since it shouldn't matter.
11392
11393 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11394
11395 * window.el (display-buffer-in-side-window): Handle dedicated
11396 windows as in display-buffer-reuse-window.
11397 (display-buffer-normalize-alist): Use value of override
11398 specifier.
11399 (display-buffer-normalize-specifiers): Use value of
11400 other-window-means-other-frame specifier.
11401 (display-buffer-alist): Rewrite some texts in widgets.
11402 (display-buffer): Spread arguments when calling function
11403 specified by fun-with-args.
11404
11405 2011-06-28 Deniz Dogan <deniz@dogan.se>
11406
11407 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11408 Unnest `let'.
11409
11410 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11411 selectors (Bug#5732).
11412 (css-proprietary-nmstart-re): Use `regexp-opt'.
11413
11414 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11415
11416 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11417 (eshell-ls-date-format): New defcustom.
11418 (eshell-ls-file): Use it.
11419
11420 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11421
11422 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11423
11424 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11425
11426 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11427 (ange-ftp-make-tmp-name): New arg.
11428 (ange-ftp-file-local-copy): Use it.
11429
11430 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11431
11432 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11433 no-conversion (Bug#8870).
11434
11435 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11436
11437 * window.el (window-right, window-left, window-child)
11438 (window-child-count, window-last-child)
11439 (window-iso-combination-p, walk-window-tree-1)
11440 (window-atom-check-1, window-tree-1, delete-window)
11441 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11442 new naming conventions - window-vchild, window-hchild,
11443 window-next and window-prev are now called window-top-child,
11444 window-left-child, window-next-sibling and window-prev-sibling
11445 respectively.
11446 (resize-window-reset): Rename to window-resize-reset.
11447 (resize-window-reset-1): Rename to window-resize-reset-1.
11448 (resize-window): Rename to window-resize.
11449 (window-min-height, window-min-width)
11450 (resize-mini-window, resize-this-window, resize-root-window)
11451 (resize-root-window-vertically, adjust-window-trailing-edge)
11452 (enlarge-window, shrink-window, maximize-window)
11453 (minimize-window, delete-window, quit-restore-window)
11454 (split-window, balance-windows, balance-windows-area-adjust)
11455 (balance-windows-area, window-state-put-2)
11456 (display-buffer-even-window-sizes, display-buffer-set-height)
11457 (display-buffer-set-width, set-window-text-height)
11458 (fit-window-to-buffer): Rename all "resize-window" prefixed
11459 calls to use the "window-resize" prefix convention.
11460 (display-buffer-alist): Fix symbol for label specifier.
11461 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11462 corresponding specifier.
11463 Reported by Juanma Barranquero <lekktu@gmail.com>.
11464
11465 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11466
11467 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11468 convention.
11469 (ses-call-printer): Does not pass an empty string to formatter when the
11470 cell is empty to keep from barking printer Calc math-format-value.
11471
11472 2011-06-27 Richard Stallman <rms@gnu.org>
11473
11474 * battery.el (battery-mode-line-limit): New variable.
11475 (battery-update): Handle it.
11476
11477 * mail/rmailmm.el (rmail-mime-process-multipart):
11478 Handle truncated messages.
11479
11480 2011-06-27 Glenn Morris <rgm@gnu.org>
11481
11482 * progmodes/flymake.el (flymake-err-line-patterns):
11483 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11484
11485 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11486
11487 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11488 (ses--clean-!, ses--clean-_): New functions.
11489 (ses-range): Add configurability of readout order, and conversion
11490 to Calc vector.
11491
11492 * ses.el (ses-repair-cell-reference-all): New function.
11493 (ses-cell-symbol): Set macro as safe, so that it can be used in
11494 formulas.
11495
11496 * ses.el: Update cycle detection algorithm.
11497 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11498 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11499 (ses-set-localvars): New function.
11500 (ses-make-cell): Add property-list as a cell element.
11501 (ses-cell-property-get-fun, ses-cell-property-get)
11502 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11503 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11504 New functions.
11505 (ses-cell-property-set, ses-cell-property-pop)
11506 (ses-cell-property-get-handle): New macro.
11507 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11508 New aliases, used for code readability.
11509 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11510 cycle detection.
11511 (ses-self-reference-early-detection): New defcustom.
11512 (ses-formula-references): Robustify against self-referring cells.
11513 (ses-mode): Use ses-set-localvars.
11514 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11515 before lauching the update processing.
11516 (ses-initialize-Dijkstra-attempt): New function.
11517 (ses-recalculate-cell): Update for cycle detection based on
11518 Dijkstra algorithm.
11519
11520 * ses.el: Fix commenting and indenting convention.
11521
11522 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * bs.el (bs-cycle-next): Complete last change.
11525
11526 2011-06-27 Drew Adams <drew.adams@oracle.com>
11527
11528 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11529
11530 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11531
11532 * net/network-stream.el (network-stream-open-starttls):
11533 Don't re-get capabilities unless we've reestablished connection.
11534 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11535
11536 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11537 to binary to possibly avoid line encoding issues on Windows (among
11538 other things).
11539
11540 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11541
11542 * net/network-stream.el (open-network-stream): Return an :error
11543 saying what the problem was, if possible.
11544
11545 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11546 server.
11547
11548 * net/network-stream.el (network-stream-open-starttls): If we
11549 wanted to use STARTTLS, and the server offered it, but we weren't
11550 able to because we had no STARTTLS support, then close the connection.
11551 (open-network-stream): Return an :error element, if present.
11552
11553 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11554
11555 * hl-line.el (hl-line-sticky-flag): Doc fix.
11556 (global-hl-line-sticky-flag): New option (Bug#8323).
11557 (global-hl-line-highlight): Obey it.
11558
11559 * vc/vc.el (vc-revert-show-diff): Default to t.
11560
11561 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11562
11563 * allout-widgets.el (allout-widgets-post-command-business):
11564 Stop decorating intermediate isearch matches. They're not being
11565 undecorated when an isearch is continued past, and isearch
11566 automatically collapses them. This leads to "widget leaks", where
11567 decorated items accumulate in collapsed areas. Lines with lots of
11568 hidden widgets can slow down cursor travel, substantially.
11569 Too much complicated machinery would be needed to ensure undecoration,
11570 so we're doing without this nicety.
11571
11572 (allout-widgets-tally-string): Don't try to do a hash-table-count
11573 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11574 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11575 *Messages* when allout-widgets-maintain-tally is t.
11576
11577 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11578
11579 * window.el (display-buffer-normalize-argument): Rename to
11580 display-buffer-normalize-arguments. Handle special meaning of
11581 LABEL argument. Respect special-display-function when popping up
11582 a new frame. Fix code searching for a window showing the buffer
11583 on another frame.
11584 (display-buffer-normalize-specifiers):
11585 Call display-buffer-normalize-arguments.
11586 (display-buffer-in-window): Don't undedicate the window if its
11587 buffer remains the same.
11588 Reported by Drew Adams <drew.adams@oracle.com>.
11589 (display-buffer-alist): Add choice for same-window macro
11590 specfier.
11591 (display-buffer): Mention special meaning of LABEL argument in
11592 doc-string. Fix quoting. Don't pop up a new frame even as
11593 fallback.
11594
11595 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11596
11597 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11598 avoid deleting the current window in some cases (bug#8911).
11599
11600 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11601
11602 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11603 (Bug#8934)
11604
11605 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11606
11607 * net/network-stream.el (network-stream-open-starttls):
11608 Use built-in TLS support if `gnutls-available-p' is true.
11609 (network-stream-open-tls): Ditto.
11610
11611 2011-06-26 Leo Liu <sdl.web@gmail.com>
11612
11613 * register.el (registerv): New struct.
11614 (registerv-make): New function.
11615 (jump-to-register, describe-register-1, insert-register):
11616 Support the jump-func, print-func and insert-func slot of a registerv
11617 struct. (Bug#8415)
11618
11619 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11620
11621 * vc/vc.el (vc-revert-show-diff): New defcustom.
11622 (vc-diff-internal): New arg specifying diff buffer.
11623 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11624 reuse an existing *vc-diff* buffer (Bug#8927).
11625
11626 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11627
11628 2011-06-26 Glenn Morris <rgm@gnu.org>
11629
11630 * progmodes/f90.el (f90-critical-indent): New option.
11631 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11632 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11633 (f90-mode): Doc fix.
11634 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11635 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11636 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11637 (f90-match-end): Handle block, critical.
11638
11639 2011-06-25 Glenn Morris <rgm@gnu.org>
11640
11641 * calendar/diary-lib.el (diary-included-files): Doc fix.
11642 (diary-include-files): New function, extracted from
11643 diary-include-other-diary-files and diary-mark-included-diary-files.
11644 (diary-include-other-diary-files, diary-mark-included-diary-files):
11645 Just call diary-include-files.
11646 (diary-mark-entries): Reset diary-included-files on first call.
11647
11648 * calendar/diary-lib.el (diary-mark-entries)
11649 (diary-mark-included-diary-files):
11650 Visit included diary-files in temp buffers.
11651
11652 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11653 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11654 (f90-start-block-re, f90-imenu-generic-expression)
11655 (f90-looking-at-program-block-start, f90-no-block-limit):
11656 Add support for submodules.
11657
11658 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11659 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11660
11661 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11662
11663 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11664 buffer-file-type before setting its value, to avoid disastrous
11665 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11666
11667 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11668
11669 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11670
11671 * ses.el (ses-unload-function):
11672 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11673
11674 * proced.el (proced-unload-function):
11675 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11676
11677 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11678
11679 * server.el (server-create-window-system-frame): Add parameters arg.
11680 (server-process-filter): Doc fix. Handle frame-parameters.
11681
11682 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11683
11684 Fix bug#8730, bug#8781.
11685
11686 * loadhist.el (unload--set-major-mode): New function.
11687 (unload-feature): Use it.
11688
11689 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11690 (python-unload-function): New function.
11691
11692 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11695
11696 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11697
11698 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11699 the candidates list.
11700
11701 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11702
11703 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11704
11705 2011-06-23 Richard Stallman <rms@gnu.org>
11706
11707 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11708 (rmail-variables): Set next-error-move-function.
11709 (rmail-what-message): Take argument POS.
11710 (rmail-next-error-move): New function.
11711
11712 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11715 messages for adjacent non-terminals.
11716
11717 2011-06-23 Richard Stallman <rms@gnu.org>
11718
11719 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11720 (rmail-show-message-1): Preserve buffer modified flag.
11721 (rmail-start-mail): Don't specify use of rmail-mail-return;
11722 that's done by mail-bury now.
11723 (rmail-mail-return): Handle arg NEWBUF.
11724
11725 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11726
11727 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11728 SIZE is a number.
11729
11730 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11731
11732 * window.el (get-lru-window, get-mru-window)
11733 (get-largest-window): Never return a minibuffer window.
11734 (display-buffer-pop-up-window): Fix a bug that could lead to
11735 reusing the minibuffer window.
11736 (display-buffer): Pass original specifier argument to
11737 display-buffer-function instead of the normalized one.
11738 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11739
11740 2011-06-22 Leo Liu <sdl.web@gmail.com>
11741
11742 * minibuffer.el (completing-read-function)
11743 (completing-read-default): Move from minibuf.c
11744
11745 2011-06-22 Richard Stallman <rms@gnu.org>
11746
11747 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11748 to Rmail even if not started by a special Rmail command.
11749
11750 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11751 Copy the buffer currently showing just one message.
11752
11753 2011-06-22 Roland Winkler <winkler@gnu.org>
11754
11755 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11756 (bibtex-clean-entry): First delete the old key so that a
11757 customized algorithm for generating the new key does not get
11758 confused by the old key.
11759 (bibtex-url): Obey regexp of first step.
11760 (bibtex-search-entries): Do not use add-to-list with local
11761 list-var.
11762
11763 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11764
11765 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11766 stored a user name, then query for the password first, instead of
11767 waiting for SMTP to give an error message and the trying again.
11768
11769 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11770
11771 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11772 BUFFER in call-process.
11773
11774 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11775
11776 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11777 QUIT twice.
11778 (smtpmail-try-auth-methods): Require user name and password from
11779 auth-source.
11780
11781 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11782
11783 * window.el (display-buffer-default-specifiers)
11784 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11785 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11786 (split-window): Normalize SIDE argument (Bug#8916).
11787
11788 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11789 (special-display-frame-alist, special-display-popup-frame):
11790 Remove duplicate declarations. These are now in window.el.
11791
11792 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11793
11794 * mail/smtpmail.el (smtpmail-via-smtp):
11795 Set :use-starttls-if-possible so that we always use STARTTLS if the
11796 server supports it. SMTP servers that support STARTTLS commonly
11797 require it.
11798
11799 * net/network-stream.el (network-stream-open-starttls): Support
11800 upgrading to STARTTLS always, even if we don't have built-in support.
11801 (open-network-stream): Add the :always-query-capabilities keyword.
11802
11803 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11804 upgrades with `open-network-stream', and rely solely on
11805 auth-source for all credentials. Big changes throughout the file,
11806 but in particular:
11807 (smtpmail-auth-credentials): Remove.
11808 (smtpmail-starttls-credentials): Remove.
11809 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11810 MAIL FROM, too.
11811
11812 * net/network-stream.el (network-stream-open-starttls):
11813 Provide support for client certificates both for external and built-in
11814 STARTTLS.
11815 (auth-source): Require.
11816 (open-network-stream): Document the :client-certificate keyword.
11817 (network-stream-certificate): Change cert-cert to cert and
11818 cert-key to key.
11819
11820 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11821
11822 * net/tramp-cache.el (top): Don't load the persistency file when
11823 "emacs -Q" has been called.
11824
11825 2011-06-21 Tim Harper <timcharper@gmail.com>
11826
11827 * term/ns-win.el (ns-initialize-window-system):
11828 Set application-specific `ApplePressAndHoldEnabled' system
11829 resource to NO as it is not yet supported by the NS port.
11830
11831 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11832
11833 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11834 (list-dynamic-libraries): ...not here.
11835
11836 2011-06-21 Leo Liu <sdl.web@gmail.com>
11837
11838 * subr.el (sha1): Implement sha1 using secure-hash.
11839
11840 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11841
11842 * window.el (display-buffer-alist): In default value do not
11843 enforce searching a window on any but the selected frame.
11844 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11845 (display-buffer-select-window): Remove function.
11846 (display-buffer-in-window): When a window on another frame gets
11847 reused, do not select it any more but just raise its frame if
11848 necessary (Bug#8851) and (Bug#8856).
11849 (display-buffer-normalize-options): Handle pop-up-frames related
11850 options more faithfully.
11851 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11852 window if it is on another frame.
11853 (display-buffer-alist, display-buffer-default-specifiers):
11854 Don't make new frame unsplittable by default.
11855 (display-buffer-normalize-argument): Fix doc-string typo and use
11856 'same-frame-other-window instead of 'other-window when associating
11857 with display-buffer-macro-specifiers.
11858
11859 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11860
11861 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11862 New functions.
11863 (5x5-mode-map, 5x5-mode-menu): Bind them.
11864 (5x5-draw-grid): Tweak the solver's rendering.
11865
11866 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11867
11868 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11869 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11870
11871 2011-06-21 Drew Adams <drew.adams@oracle.com>
11872
11873 * menu-bar.el: Use function variable instead of switch-to-buffer.
11874 (menu-bar-select-buffer-function): New variable.
11875 (menu-bar-update-buffers): Use it (bug#8876).
11876
11877 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11878
11879 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11880 variable's status.
11881
11882 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11883
11884 * x-dnd.el (x-dnd-version-from-flags)
11885 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11886 and long as number (Bug#8899).
11887 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11888
11889 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11890
11891 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11892 (completion-try-completion, completion-all-completions): Compute the
11893 metadata argument if it's missing; make it optional (bug#8795).
11894
11895 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11896 (widget-complete): Use new :completion-function property.
11897 (widget-completions-at-point): New function.
11898 (default): Use :completion-function instead of :complete.
11899 (widget-default-completions): Rename from widget-default-complete;
11900 Rewrite.
11901 (widget-string-complete, widget-file-complete, widget-color-complete):
11902 Remove functions.
11903 (file, symbol, function, variable, coding-system, color):
11904 * international/mule-cmds.el (default-input-method, charset)
11905 (language-info-custom-alist):
11906 * cus-edit.el (face): Use new property :completions.
11907
11908 * progmodes/pascal.el (pascal-completions-at-point): New function.
11909 (pascal-mode): Use it.
11910 (pascal-mode-map): Use completion-at-point.
11911 (pascal-toggle-completions): Make obsolete.
11912 (pascal-complete-word, pascal-show-completions):
11913 * progmodes/octave-mod.el (octave-complete-symbol):
11914 Redefine as obsolete alias.
11915 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11916 Signal absence of completion info for old Octave,
11917 (inferior-octave-complete): Redefine as obsolete alias.
11918 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11919 (meta-completions-at-point): Rename from meta-complete-symbol and
11920 adapt it for use on completion-at-point-functions.
11921 (meta-common-mode): Use it.
11922 (meta-looking-at-backward, meta-match-buffer): Remove.
11923 (meta-complete-symbol): Redefine as obsolete alias.
11924 (meta-common-mode-map): Use completion-at-point.
11925 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11926 (makefile-mode-map): Use completion-at-point.
11927 (makefile-completions-at-point): Rename from makefile-complete and
11928 adapt it for use on completion-at-point-functions.
11929 (makefile-mode): Use it.
11930 (makefile-complete): Redefine as obsolete alias.
11931
11932 2011-06-20 Deniz Dogan <deniz@dogan.se>
11933
11934 * net/rcirc.el: Delete trailing whitespaces once and for all.
11935
11936 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11937
11938 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11939
11940 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11941
11942 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11943
11944 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11945
11946 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11947
11948 * window.el (display-buffer-other-window-means-other-frame):
11949 Call display-buffer-normalize-alist.
11950 (display-buffer-normalize-specifiers-1): Rename to
11951 display-buffer-normalize-argument. New argument other-frame.
11952 Rewrite.
11953 (display-buffer-normalize-specifiers-2): Rename to
11954 display-buffer-normalize-options.
11955 (display-buffer-normalize-alist-1): New function.
11956 (display-buffer-normalize-specifiers-3): Rename to
11957 display-buffer-normalize-alist.
11958 Call display-buffer-normalize-alist-1.
11959 (display-buffer-normalize-options-inhibit): New variable.
11960 (display-buffer-normalize-specifiers): Rewrite calling
11961 display-buffer-normalize-alist,
11962 display-buffer-normalize-argument, and
11963 display-buffer-normalize-options. Don't call the latter if
11964 display-buffer-normalize-options-inhibit is non-nil.
11965 (frame-auto-delete): New option.
11966 (window-deletable-p): Use frame-auto-delete.
11967 (window-list-no-nils, window-state-ignored-parameters)
11968 (window-state-get-1, window-state-get, window-state-put-list)
11969 (window-state-put-1, window-state-put-2, window-state-put):
11970 New functions.
11971 (display-buffer-normalize-options): Move special-display-p group
11972 after pop-up-frame group (Bug#8851) and (Bug#8856).
11973
11974 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11975
11976 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11977 groups (Bug#8776).
11978 (rx-submatch-n): New function.
11979 (rx): Document it.
11980
11981 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11982 (Bug#8768).
11983
11984 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11985
11986 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11987
11988 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11989 anytime existing face settings are present (Bug#8889).
11990
11991 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11992 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11993 Remove unused argument.
11994
11995 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11996
11997 * window.el (display-buffer-default-specifiers):
11998 Remove pop-up-frame. Add pop-up-window-min-height,
11999 pop-up-window-min-width, and another reuse-window specifier
12000 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
12001 (display-buffer-normalize-specifiers-2):
12002 Handle split-height-threshold and split-width-threshold also when
12003 pop-up-windows is unset. Add a reuse-window specifier for the
12004 case popping up a new window fails.
12005 (special-display-popup-frame): Remove double quoting.
12006 (display-buffer-normalize-specifiers-1): Fix thinko.
12007
12008 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12011 according to comint-completion-addsuffix.
12012
12013 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12014 (pcomplete-suffix-list): Mark as obsolete.
12015 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12016 pcomplete-seen in the closure.
12017 (pcomplete-comint-setup): Setup completion-at-point as well.
12018 (pcomplete--entries): New function.
12019 (pcomplete--env-regexp): New var.
12020 (pcomplete-entries): Rewrite to work with partial-completion and
12021 without relying on pcomplete-suffix-list.
12022 (pcomplete-pare-list): Remove, unused.
12023
12024 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12025
12026 * window.el (display-buffer-alist): Set pop-up-window-min-height
12027 and pop-up-window-min-width in default value. Reported by
12028 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12029 other-window-means-other-frame.
12030 (display-buffer-macro-specifiers): Comment out entry for
12031 other-window specifier.
12032 (display-buffer-other-window-means-other-frame): New function.
12033 (display-buffer-normalize-specifiers-1): New arguments
12034 buffer-name and label. Treat other-window case specially.
12035 (display-buffer-normalize-specifiers-2): Treat other-window case
12036 specially.
12037 (display-buffer-normalize-specifiers-3): New function.
12038 (display-buffer-normalize-specifiers):
12039 Call display-buffer-normalize-specifiers-3.
12040
12041 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12042
12043 * window.el (same-window-p): Fix two typos introduced when
12044 adding with-no-warnings.
12045 (display-buffer-normalize-specifiers-1): Don't check
12046 pop-up-frames for 'unset initialization.
12047 (display-buffer-normalize-specifiers-2): Major rewrite using
12048 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12049 (pop-up-frames, display-buffer-reuse-frames)
12050 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12051 Suggested by David Engster <deng@randomsample.de>.
12052 (even-window-heights): Initialize to 'unset.
12053 (display-buffer-alist-set): Handle new 'unset initializations.
12054 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12055 other window case.
12056
12057 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12058
12059 * window.el (display-buffer-normalize-specifiers-1):
12060 Respect current value of pop-up-frames for most reasonable values of
12061 second argument of display-buffer (Bug#8865).
12062 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12063 (switch-to-buffer-other-window-same-frame)
12064 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12065 Adams (Bug#8875).
12066 (display-buffer): Don't check noninteractive when calling
12067 display-buffer-pop-up-frame.
12068 (display-buffer-pop-up-frame): Never pop up a frame in
12069 noninteractive mode (Bug#8857).
12070 (enlarge-window, shrink-window): Don't report an error when the
12071 window can't be resized as requested (Bug#8862).
12072
12073 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12076
12077 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12078
12079 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12080
12081 2011-06-15 Alan Mackenzie <acm@muc.de>
12082
12083 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12084 for declarators, disable knr checking to speed up for normal files.
12085 2: Refactor, replacing a sequence of nested if forms by a cond form.
12086
12087 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12088
12089 * net/network-stream.el (open-network-stream): Add the keyword
12090 :always-query-capabilities for the case where you want to force a
12091 `plain' network connection, but the protocol still requires the
12092 capabilitiy command (i.e., SMTP and EHLO).
12093
12094 * subr.el (process-live-p): Rename from `process-alive-p' for
12095 consistency with other `-live-p' functions.
12096
12097 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * window.el (same-window-buffer-names, same-window-regexps)
12100 (special-display-frame-alist, special-display-popup-frame)
12101 (special-display-function, special-display-buffer-names)
12102 (special-display-regexps, pop-up-frame-alist)
12103 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12104 (pop-up-windows, split-window-preferred-function)
12105 (split-height-threshold, split-width-threshold, even-window-heights)
12106 (display-buffer-mark-dedicated): Don't encourage the use of
12107 display-buffer-alist from Elisp code.
12108
12109 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12110
12111 * progmodes/python.el (python-mode): Derive from prog-mode.
12112 * progmodes/ps-mode.el (ps-mode):
12113 * progmodes/mixal-mode.el (mixal-mode):
12114 * progmodes/cfengine.el (cfengine-mode):
12115 * progmodes/ld-script.el (ld-script-mode): Likewise.
12116
12117 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12118
12119 * window.el (display-buffer-alist): Trim default value to avoid
12120 popping up a new frame (Bug#8857) or reusing an arbitrary window
12121 on another frame.
12122 (display-buffer): Do not fall back on popping up a new frame in
12123 batch mode (Bug#8857).
12124
12125 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12126
12127 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12128 (custom-theme-summary): New function.
12129 (customize-themes): Use it.
12130
12131 2011-06-13 Glenn Morris <rgm@gnu.org>
12132
12133 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12134
12135 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12136
12137 * help.el (help-window): Remove variable.
12138 (help-window-point-marker, temp-buffer-max-height)
12139 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12140 (help-print-return-message): Don't set help-window.
12141 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12142 (help-window-setup-finish): Remove.
12143 (help-window-display-message, help-window-setup)
12144 (with-help-window): Major rewrite based on new
12145 display-buffer-window variable.
12146
12147 * help-mode.el (help-mode-finish): Remove help-window related
12148 code.
12149
12150 * view.el (view-exits-all-viewing-windows): Remove reference to
12151 view-return-to-alist in doc-string.
12152 (view-return-to-alist): Make obsolete.
12153 (view-buffer): Call pop-to-buffer-same-window and remove
12154 undo-window code.
12155 (view-buffer-other-window): Call pop-to-buffer-other-window and
12156 simplify code. Ignore second argument.
12157 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12158 simplify code. Ignore second argument.
12159 (view-return-to-alist-update): Make obsolete.
12160 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12161 Rewrite using quit-restore window parameters.
12162 (view-mode-exit): Rename second argument to EXIT-ONLY.
12163 Rewrite using quit-restore-window.
12164 (View-exit, View-exit-and-edit, View-leave, View-quit)
12165 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12166 appropriate arguments.
12167 (view-end-message): Use quit-restore window parameter.
12168
12169 * window.el (display-buffer-function): Rewrite doc-string.
12170 (display-buffer-window, display-buffer-alist): New variables.
12171 (display-buffer-split-specifiers)
12172 (display-buffer-side-specifiers)
12173 (display-buffer-macro-specifiers): New constants.
12174 (display-buffer-even-window-sizes, display-buffer-set-height)
12175 (display-buffer-set-width, display-buffer-select-window)
12176 (display-buffer-in-window, display-buffer-reuse-window)
12177 (display-buffer-split-window-1, display-buffer-split-window)
12178 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12179 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12180 (display-buffer-in-side-window, normalize-buffer-to-display)
12181 (display-buffer-normalize-specifiers-1)
12182 (display-buffer-normalize-specifiers-2)
12183 (display-buffer-normalize-specifiers, display-buffer-frame):
12184 New functions.
12185 (display-buffer): Major rewrite.
12186 (display-buffer-other-window, display-buffer-other-frame)
12187 (pop-to-buffer, switch-to-buffer-other-window)
12188 (switch-to-buffer-other-frame): Rewrite.
12189 (display-buffer-same-window, display-buffer-same-frame)
12190 (display-buffer-same-frame-other-window)
12191 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12192 (pop-to-buffer-other-window)
12193 (pop-to-buffer-same-frame-other-window)
12194 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12195 (switch-to-buffer-other-window-same-frame): New functions.
12196 (same-window-p, special-display-p): Rewrite disabling warnings.
12197 Make obsolete.
12198 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12199 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12200 Make obsolete
12201 (same-window-buffer-names, same-window-regexps)
12202 (special-display-frame-alist, special-display-popup-frame)
12203 (special-display-function, special-display-buffer-names)
12204 (special-display-regexps, pop-up-frame-alist)
12205 (pop-up-frame-function, split-window-preferred-function)
12206 (split-height-threshold, split-width-threshold)
12207 (even-window-heights): Make obsolete.
12208
12209 2011-06-12 Glenn Morris <rgm@gnu.org>
12210
12211 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12212 Misc simplifications.
12213
12214 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12215
12216 * window.el (window-safely-shrinkable-p): Restore function which
12217 was inadvertently removed in change from 2011-06-11. Declare as
12218 obsolete.
12219
12220 * calendar/calendar.el (calendar-generate-window):
12221 Use window-iso-combined-p instead of combination of one-window-p and
12222 window-safely-shrinkable-p.
12223
12224 2011-06-12 Glenn Morris <rgm@gnu.org>
12225
12226 * progmodes/fortran.el (fortran-mode-syntax-table):
12227 * progmodes/f90.el (f90-mode-syntax-table):
12228 Set % to punctuation. (Bug#8820)
12229 (f90-find-tag-default): Remove, no longer needed.
12230
12231 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12232
12233 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12234
12235 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12236
12237 * image.el (image-animated-p): Return animation delay in seconds.
12238 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12239 (image-animate-timeout): Remove DELAY argument. Don't assume
12240 every subimage has the same delay; get it from image-animated-p.
12241 (image-animate): Caller changed.
12242
12243 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12244
12245 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12246 to ignored backtrace functions.
12247
12248 2011-06-11 Glenn Morris <rgm@gnu.org>
12249
12250 * calendar/appt.el (appt-disp-window-function): Doc fix.
12251 (appt-check): Handle overlapping appointments. (Bug#8337)
12252
12253 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12254
12255 * window.el (window-tree-1, window-tree): New functions, moving
12256 the latter to window.el.
12257 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12258 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12259 (bw-refresh-edges): Remove.
12260 (balance-windows-1, balance-windows-2): New functions.
12261 (balance-windows): Rewrite in terms of window tree functions,
12262 balance-windows-1 and balance-windows-2.
12263 (bw-adjust-window): Remove.
12264 (balance-windows-area-adjust): New function with functionality of
12265 bw-adjust-window but using resize-window.
12266 (set-window-text-height): Rewrite doc-string.
12267 Use normalize-live-window and resize-window.
12268 (enlarge-window-horizontally, shrink-window-horizontally):
12269 Rename argument to DELTA.
12270 (window-buffer-height): New function.
12271 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12272 Rewrite using new window resize routines.
12273 (kill-buffer-and-window, mouse-autoselect-window-select):
12274 Use ignore-errors instead of condition-case.
12275 (quit-window): Call delete-frame instead of delete-windows-on
12276 for the only buffer on frame.
12277
12278 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12279
12280 * loadup.el (top-level): Load window before files for the sake
12281 of replace-buffer-in-windows.
12282
12283 * files.el (read-buffer-to-switch)
12284 (switch-to-buffer-other-window)
12285 (switch-to-buffer-other-frame, display-buffer-other-frame):
12286 Move to window.el.
12287
12288 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12289 (previous-buffer): Move to window.el.
12290
12291 * bindings.el (unbury-buffer): Move to window.el.
12292
12293 * window.el (delete-other-windows-vertically): Move after
12294 definition of delete-other-windows.
12295 (other-window, delete-windows-on, replace-buffer-in-windows):
12296 Move here from window.c.
12297 (record-window-buffer, unrecord-window-buffer)
12298 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12299 (switch-to-next-buffer): New functions.
12300 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12301 from simple.el. Call switch-to-next-buffer.
12302 (previous-buffer): Move here from simple.el.
12303 Call switch-to-prev-buffer.
12304 (bury-buffer): Move here from buffer.c. Switch to previous
12305 buffer when window cannot be deleted.
12306 (unbury-buffer): Move here from bindings.el.
12307 (ctl-x-map): Move binding for other-window from window.c to
12308 here.
12309 (read-buffer-to-switch, switch-to-buffer-other-window)
12310 (switch-to-buffer-other-frame): Move here from files.el.
12311 (normalize-buffer-to-switch-to): New functions.
12312 (switch-to-buffer): Move here from buffer.c.
12313 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12314
12315 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12316
12317 * window.el (window-min-height, window-min-width): Move here
12318 from window.c. Add defcustoms and rewrite doc-strings.
12319 (resize-mini-window, resize-window): New functions.
12320 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12321 Move here from window.c.
12322 (maximize-window, minimize-window): New functions.
12323 (delete-window, delete-other-windows, split-window): Move here
12324 from window.c.
12325 (window-split-min-size): New function.
12326 (split-window-keep-point): Mention split-window-above-each-other
12327 instead of split-window-vertically.
12328 (split-window-above-each-other, split-window-vertically):
12329 Rename split-window-vertically to split-window-above-each-other
12330 and provide defalias for old definition.
12331 (split-window-side-by-side, split-window-horizontally):
12332 Rename split-window-horizontally to split-window-side-by-side
12333 and provide defalias for the old definition.
12334 (ctl-x-map): Move bindings for delete-window,
12335 delete-other-windows and enlarge-window here from window.c.
12336 Replace bindings for split-window-vertically and
12337 split-window-horizontally by bindings for
12338 split-window-above-each-other and split-window-side-by-side.
12339
12340 * cus-start.el (all): Remove entries for window-min-height and
12341 window-min-width. Add entries for window-splits and
12342 window-nest.
12343
12344 2011-06-09 Glenn Morris <rgm@gnu.org>
12345
12346 * calendar/appt.el (appt-mode-line): New function.
12347 (appt-check, appt-disp-window): Use it.
12348
12349 * files.el (hack-one-local-variable-eval-safep):
12350 Allow minor-modes with explicit +/-1 arguments.
12351
12352 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12353
12354 * term/xterm.el (xterm): Add defgroup.
12355 (xterm-extra-capabilities): Add defcustom to supply known xterm
12356 capabilities, skip querying them, or query them (default).
12357 (terminal-init-xterm): Use it.
12358 (terminal-init-xterm-modify-other-keys): New function to set up
12359 modifyOtherKeys support to simplify `terminal-init-xterm'.
12360
12361 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12362
12363 * window.el (resize-window-reset, resize-window-reset-1)
12364 (resize-subwindows-skip-p, resize-subwindows-normal)
12365 (resize-subwindows, resize-other-windows, resize-this-window)
12366 (resize-root-window, resize-root-window-vertically)
12367 (window-deletable-p, window-or-subwindow-p)
12368 (frame-root-window-p): New functions.
12369
12370 2011-06-09 Glenn Morris <rgm@gnu.org>
12371
12372 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12373 (ange-ftp-get-files): Use it.
12374
12375 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12376
12377 * mail/sendmail.el (mail-recover-1, mail-recover):
12378 * files.el (recover-file, recover-session):
12379 Handle dired-listing-switches not being just a single short option.
12380
12381 2011-06-09 Glenn Morris <rgm@gnu.org>
12382
12383 * calendar/appt.el (appt-display-message, appt-disp-window):
12384 Handle lists of appointments.
12385
12386 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12387
12388 * window.el (one-window-p): Move down in code.
12389 Rewrite doc-string.
12390 (window-current-scroll-bars): Rewrite doc-string.
12391 Normalize live window argument.
12392 (walk-windows, get-window-with-predicate, count-windows):
12393 Rewrite doc-string. Use window-list-1.
12394 (window-in-direction-2, window-in-direction, get-mru-window):
12395 New functions.
12396
12397 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12398
12399 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12400 Doc fix (Bug#8713).
12401
12402 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12403
12404 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12405
12406 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12407
12408 * loadhist.el (unload-feature-special-hooks):
12409 Add `comint-output-filter-functions'.
12410
12411 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12412
12413 * calendar/appt.el (appt-check): Move some initializations into the let.
12414
12415 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12416
12417 * window.el (window-height): Defalias to window-total-height.
12418 (window-width): Defalias to window-body-width.
12419
12420 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12421
12422 * image-mode.el (image-toggle-animation): New command.
12423 (image-mode-map): Bind it to RET.
12424 (image-mode): Update message.
12425 (image-toggle-display-image): Avoid a spurious cache flush.
12426 (image-transform-rotation): Doc fix.
12427 (image-transform-properties): Return quickly in the normal case.
12428 (image-animate-loop): Rename from image-animate-max-time.
12429
12430 * image.el (image-animate-max-time): Move to image-mode.el.
12431 (create-animated-image): Remove unnecessary function.
12432 (image-animate): Rename from image-animate-start. New arg.
12433 (image-animate-stop): Remove; just use image-animate-timer.
12434 (image-animate-timer): Use car-safe.
12435 (image-animate-timeout): Rename argument.
12436
12437 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12438
12439 * window.el (get-lru-window, get-largest-window): Move here from
12440 window.c. Rename first argument to ALL-FRAMES.
12441 Rephrase doc-strings.
12442 (get-buffer-window-list): Rewrite using window-list-1.
12443 Rephrase doc-string.
12444 (window-safe-min-height, window-safe-min-width): New constants.
12445 (window-size-ignore, window-min-size, window-min-size-1)
12446 (window-sizable, window-sizable-p, window-size-fixed-1)
12447 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12448 (window-max-delta-1, window-max-delta, window-resizable)
12449 (window-resizable-p, window-total-height, window-total-width)
12450 (window-body-width): New functions.
12451 (window-full-height-p, window-full-width-p): Rewrite using
12452 window-total-size.
12453 (window-body-height): Rewrite using window-body-size.
12454
12455 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12456
12457 * window.el (window-right, window-left, window-child)
12458 (window-child-count, window-last-child, window-any-p)
12459 (normalize-live-buffer, normalize-live-frame)
12460 (normalize-any-window, normalize-live-window)
12461 (window-iso-combination-p, window-iso-combined-p)
12462 (window-iso-combinations)
12463 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12464 (windows-with-parameter, window-with-parameter)
12465 (window-atom-root, make-window-atom, window-atom-check-1)
12466 (window-atom-check, window-side-check, window-check):
12467 New functions.
12468 (ignore-window-parameters, window-sides, window-sides-vertical)
12469 (window-sides-slots): New variables.
12470 (window-size-fixed): Move down in code. Minor doc-string fix.
12471
12472 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12473
12474 * comint.el (comint-dynamic-complete-as-filename)
12475 (comint-dynamic-complete-filename): Correctly call
12476 completion-in-region.
12477
12478 2011-06-05 Deniz Dogan <deniz@dogan.se>
12479
12480 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12481 in last change.
12482
12483 2011-06-05 Deniz Dogan <deniz@dogan.se>
12484
12485 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12486 (rcirc): Use it to prompt for encryption.
12487
12488 2011-06-05 Roland Winkler <winkler@gnu.org>
12489
12490 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12491 (bibtex-search-entries): New command bound to C-c C-a.
12492 (bibtex-display-entries): New function.
12493
12494 2011-06-05 Roland Winkler <winkler@gnu.org>
12495
12496 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12497 (bibtex-insert-kill): After yanking insert newline if necessary.
12498 (bibtex-initialize): Call bibtex-string-files-init only once.
12499 (bibtex-mode): Do not call easy-menu-add.
12500 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12501 (bibtex-yank): Set arg properly if nil.
12502
12503 2011-06-05 Roland Winkler <winkler@gnu.org>
12504
12505 * textmodes/bibtex.el (bibtex-search-entry-globally):
12506 New variable.
12507 (bibtex-search-entry): Use it.
12508
12509 2011-06-05 Roland Winkler <winkler@gnu.org>
12510
12511 * textmodes/bibtex.el (bibtex-entry-format): New option
12512 sort-fields.
12513 (bibtex-format-entry, bibtex-reformat): Honor this option.
12514 (bibtex-parse-entry): Return fields in proper order.
12515
12516 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12517
12518 * doc-view.el (doc-view-remove-if): Move computation of result out
12519 of `dolist' to silence misleading lexical-binding warning.
12520
12521 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12522
12523 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12524 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12525
12526 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12527
12528 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12529 "SunOS 5.10".
12530
12531 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12532
12533 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12534 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12535 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12536 (tramp-parse-putty):
12537 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12538 (tramp-completion-function-alist-ssh)
12539 (tramp-completion-function-alist-telnet)
12540 (tramp-completion-function-alist-su)
12541 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12542 cookie.
12543
12544 * net/tramp-ftp.el:
12545 * net/tramp-sh.el:
12546 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12547 load "tramp.el" `tramp-set-completion-function'.
12548
12549 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12550
12551 * shell.el: Require and use pcomplete.
12552 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12553 (shell-completion-vars): Set pcomplete-default-completion-function.
12554
12555 2011-06-04 Deniz Dogan <deniz@dogan.se>
12556
12557 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12558 `memq' (Bug#8799).
12559
12560 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12561
12562 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12563
12564 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12565
12566 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12567 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12568 * vc/log-view.el (log-view-beginning-of-defun):
12569 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12570 (smerge-refine-forward, smerge-refine-chopup-region):
12571 Silence warning for unused `dotimes' counter variables.
12572
12573 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12574
12575 * net/tramp.el (tramp-with-progress-reporter): Rename from
12576 with-progress-reporter. Use `declare'.
12577 * net/tramp-smb.el:
12578 * net/tramp-sh.el:
12579 * net/tramp-gvfs.el: Update all uses.
12580
12581 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12582
12583 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12584 buffer isn't killed before making it current.
12585
12586 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12587
12588 Silence various byte-compiler warnings.
12589 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12590 `access-type' and new obsolescence format.
12591 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12592 new format.
12593 (byte-compile-check-variable): New `access-type' argument.
12594 Only warn if the access-type is obsolete.
12595 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12596 (byte-compile-variable-set): Adjust callers.
12597 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12598 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12599 setting it as obsolete.
12600 * simple.el (minibuffer-completing-symbol):
12601 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12602 access as obsolete.
12603 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12604 obsolete yet.
12605 * international/quail.el (quail-mouse-choose-completion): Remove unused
12606 code referring to obsolete var.
12607 (quail-choose-completion-string): Remove.
12608 * server.el (server-clients-with, server-kill-buffer-query-function)
12609 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12610 * proced.el (proced-send-signal):
12611 * emacs-lisp/lisp.el (lisp-complete-symbol):
12612 Replace completion-annotate-function with completion-extra-properties.
12613
12614 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * simple.el (goto-line): Use read-number.
12617 (overriding-map-is-bound): Remove.
12618 (saved-overriding-map): Change default.
12619 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12620 Take the map as argument.
12621 (universal-argument, negative-argument, digit-argument): Use it.
12622 (restore-overriding-map): Adjust.
12623 (do-auto-fill): Use fill-forward-paragraph.
12624 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12625
12626 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12627 (minibuffer-inactive-mode): New major mode.
12628 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12629 the *Messages* buffer" hack.
12630 (mouse-popup-menubar): Don't burp if the event is a normal key.
12631
12632 Miscellaneous tweaks.
12633 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12634 lexical scoping as in subr.el's dolist and dotimes.
12635 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12636 Silence compiler warning.
12637 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12638 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12639 * international/ccl.el (ccl-compile): Trivial simplification.
12640 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12641 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12642 `printflag' argument.
12643 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12644 Purecopy the whole obsolescence data.
12645
12646 2011-06-01 Leo Liu <sdl.web@gmail.com>
12647
12648 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12649 improve doc-string as suggested by Marco Pessotto
12650 <melmothx@gmail.com>.
12651 (rcirc-print): Fix last change.
12652
12653 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12654
12655 * minibuffer.el (complete-with-action): Return nil for the metadata and
12656 boundaries of non-functional tables.
12657 (completion-table-dynamic): Return nil for the metadata.
12658 (completion-table-with-terminator): Add default case, using
12659 complete-with-action.
12660 (completion--metadata): New function.
12661 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12662 to try and avoid pathological performance problems.
12663 (completion--embedded-envvar-table): Return `category' metadata.
12664
12665 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12666
12667 * subr.el (process-alive-p): New tiny convenience function.
12668
12669 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12670
12671 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12672 content but also its previous major mode.
12673
12674 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12675
12676 * emacs-lisp/debug.el (debug): Restore the previous content of the
12677 *Backtrace* buffer when we exit with C-M-c.
12678
12679 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12680
12681 * minibuffer.el: Add metadata method to completion tables.
12682 (completion-category-overrides): New defcustom.
12683 (completion-metadata, completion--field-metadata)
12684 (completion-metadata-get, completion--styles)
12685 (completion--cycle-threshold): New functions.
12686 (completion-try-completion, completion-all-completions):
12687 Add `metadata' argument to choose completion-styles.
12688 (completion--do-completion): Use metadata to choose cycling.
12689 (completion-all-sorted-completions): Use metadata for sorting.
12690 Remove :completion-cycle-penalty which is not needed any more.
12691 (completion--try-word-completion): Add `metadata' argument.
12692 (minibuffer-completion-help): Check metadata for annotation function
12693 and sorting.
12694 (completion-file-name-table): Return `category' metadata.
12695 (minibuffer-completing-file-name): Make obsolete.
12696 * simple.el (minibuffer-completing-symbol): Make obsolete.
12697 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12698 completion-try-completion.
12699
12700 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12701
12702 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12703
12704 2011-05-30 Leo Liu <sdl.web@gmail.com>
12705
12706 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12707 (rcirc-print): Decode all incoming messages (bug#8744).
12708 (rcirc-decode-coding-system): Allow value nil for automatic coding
12709 system detection.
12710
12711 2011-06-01 Glenn Morris <rgm@gnu.org>
12712
12713 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12714
12715 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12716
12717 * image.el (image-animate-max-time): Allow nil and t values.
12718 Default to nil.
12719 (create-animated-image): Doc fix.
12720 (image-animate-start): Remove second arg; just use
12721 image-animate-max-time.
12722 (image-animate-timeout): Doc fix. Args changed.
12723
12724 * image-mode.el (image-toggle-display-image): Ensure that the
12725 image spec passed to the animate timer is the same object as in
12726 the buffer's display property (Bug#6981).
12727 (image-transform-properties): Doc fix.
12728
12729 * image.el (image-animate-max-time): Default to nil.
12730
12731 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12732
12733 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12734 entire buffer list (Bug#8184).
12735
12736 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12737
12738 * image.el (imagemagick-types-inhibit)
12739 (imagemagick-register-types): Doc fix.
12740
12741 2011-05-29 Deniz Dogan <deniz@dogan.se>
12742
12743 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12744 default.
12745
12746 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12747
12748 * select.el: Don't perform clipboard-manager saving in hooks;
12749 leave the hooks empty.
12750
12751 2011-05-28 Leo Liu <sdl.web@gmail.com>
12752
12753 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12754 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12755 (occur-edit-mode): New major mode (Bug#8463).
12756 (occur-after-change-function): New function.
12757 (occur-engine): Give Occur tags a read-only property.
12758
12759 2011-05-28 Kevin Ryde <user42@zip.com.au>
12760
12761 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12762
12763 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12764
12765 * bindings.el (help-echo): Make the initial non-indicator dash
12766 empty on graphical terminals (Bug#7295).
12767
12768 * files.el (auto-mode-alist): Move config rule after the
12769 in-stripping one (Bug#8547).
12770
12771 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12772
12773 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12774 setting (Bug#8740).
12775
12776 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12777
12778 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12779 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12780 (Bug#8539).
12781
12782 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12783
12784 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12785
12786 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12787
12788 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12789 (hs-hide-block-at-point, hs-find-block-beginning)
12790 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12791 (Bug#8279).
12792
12793 2011-05-28 Glenn Morris <rgm@gnu.org>
12794
12795 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12796
12797 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12798
12799 * help-fns.el (describe-function-1): If the function is a derived
12800 major mode, print the parent mode.
12801
12802 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12803 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12804
12805 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12806
12807 * minibuffer.el (completion--capf-wrapper): Check applicability before
12808 returning non-nil for non-exclusive completion data.
12809 * progmodes/etags.el (tags-completion-at-point-function):
12810 * info-look.el (info-lookup-completions-at-point): Mark as
12811 non-exclusive.
12812 (info-complete): Adjust accordingly.
12813
12814 * info-look.el: Convert to lexical-binding and completion-at-point.
12815 (info-lookup-completions-at-point): New function.
12816 (info-complete): Use it and completion-in-region.
12817
12818 2011-05-28 Drew Adams <drew.adams@oracle.com>
12819
12820 * isearch.el: Let M-e start with point at the first mismatched char.
12821 (isearch-fail-pos): New function.
12822 (isearch-edit-string): Use it.
12823
12824 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12825
12826 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12827
12828 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12829
12830 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12831 traversal functions for avl-trees.
12832 (avl-tree--stack): New struct.
12833 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12834 (avl-tree-enter): Add optional `updatefun' arg.
12835 (avl-tree--do-enter): Add optional `updatefun' arg.
12836 Change return value.
12837 (avl-tree-delete): Add optional `test' and `nilflag' args.
12838 (avl-tree--do-delete): Add `test' and `nilflag' args.
12839 Change return value.
12840 (avl-tree-member): Add optional `nilflag'
12841 (avl-tree-member-p): New function.
12842 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12843 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12844 (avl-tree-stack-empty-p): New functions.
12845
12846 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12847 avl-tree--del-balance1 and make it work both ways.
12848 (avl-tree--del-balance2): Remove.
12849 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12850 make it work both ways.
12851 (avl-tree--enter-balance2): Remove.
12852 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12853 New macros.
12854 (avl-tree--mapc, avl-tree-map): Add direction argument.
12855
12856 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12857
12858 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12859
12860 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12861
12862 * select.el: Support clipboard managers with built-in function
12863 x-clipboard-manager-save, via delete-frame-functions and
12864 kill-emacs-hook.
12865 (xselect-convert-to-targets): Add MULTIPLE target to list.
12866 (xselect-convert-to-save-targets): New function.
12867
12868 2011-05-27 Kenichi Handa <handa@m17n.org>
12869
12870 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12871 let-binding rfc2047-encode-encoded-words to nil.
12872
12873 2011-05-27 Glenn Morris <rgm@gnu.org>
12874
12875 * mail/emacsbug.el: Don't require url-util.
12876
12877 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12878
12879 * files.el (set-auto-mode):
12880 Also respect mode: entries at the end of the file. (Bug#8586)
12881
12882 2011-05-26 Glenn Morris <rgm@gnu.org>
12883
12884 * files.el (hack-local-variables-prop-line, hack-local-variables):
12885 Downcase mode names, as seems to be traditional.
12886 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12887
12888 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12889 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12890
12891 2011-05-25 Julien Danjou <julien@danjou.info>
12892
12893 * textmodes/rst.el (rst-define-level-faces): Do not define face
12894 symbol if it is already defined.
12895
12896 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12897
12898 * play/5x5.el (5x5-new-game, 5x5-randomize):
12899 Reset 5x5-solver-output to nil when a new grid is cast.
12900 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12901 these debugging traces, as defmacro breaks the compiled code.
12902
12903 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12904
12905 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12906
12907 2011-05-24 Leo Liu <sdl.web@gmail.com>
12908
12909 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12910 (vc-bzr-sha1): Adapt.
12911
12912 * sha1.el: Remove. Function `sha1' is now builtin.
12913
12914 * bindings.el: Provide sha1 feature.
12915
12916 2011-05-24 Kenichi Handa <handa@m17n.org>
12917
12918 * mail/sendmail.el: Require `rfc2047'.
12919 (mail-insert-from-field): Do not perform RFC2047 encoding.
12920 (mail-encode-header): New function.
12921 (sendmail-send-it): Set buffer-file-coding-system of the work
12922 buffer to the return value of select-message-coding-system.
12923 Call mail-encode-header.
12924
12925 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12926
12927 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12928
12929 * mail/supercite.el (sc-default-cite-frame):
12930 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12931
12932 2011-05-24 Glenn Morris <rgm@gnu.org>
12933
12934 * progmodes/python.el (brm-menu): Declare.
12935
12936 * emulation/viper.el (viper-set-hooks): Declare.
12937
12938 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12939 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12940 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12941 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12942 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12943 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12944
12945 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12946
12947 Add an :exit-function for completion-at-point.
12948
12949 * minibuffer.el (completion--done): New fun.
12950 (completion--do-completion): Use it. New arg `expect-exact'.
12951 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12952 since completion--do-completion does it for us now.
12953 (minibuffer-force-complete): Use completion--done and
12954 completion--replace. Handle sole-completion case with more care.
12955 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12956 (completion-extra-properties): New var.
12957 (completion-annotate-function): Make obsolete.
12958 (minibuffer-completion-help): Adjust accordingly.
12959 Use completion-list-insert-choice-function.
12960 (completion-at-point, completion-help-at-point):
12961 Bind completion-extra-properties.
12962 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12963 * simple.el (completion-list-insert-choice-function): New var.
12964 (completion-setup-function): Preserve it.
12965 (choose-completion): Pay attention to it, shuffle the code a bit.
12966 (choose-completion-string): New arg `insert-function'.
12967
12968 * textmodes/bibtex.el: Convert to lexical binding.
12969 (bibtex-mode-map): Use completion-at-point.
12970 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12971 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12972 (bibtex-complete): Define as obsolete alias.
12973 (bibtex-complete-internal): Remove.
12974 (bibtex-format-entry): Remove unused sub-group in regexp.
12975 * shell.el (shell--command-completion-data)
12976 (shell-environment-variable-completion):
12977 * pcomplete.el (pcomplete-completions-at-point):
12978 * comint.el (comint--complete-file-name-data): Use :exit-function
12979 instead of completion-table-with-terminator so it also works for
12980 choose-completion.
12981
12982 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12985
12986 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12987 (bug#8710).
12988
12989 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12990
12991 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12992
12993 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12994 customization variable and implement: If non-nil, auto-fill will
12995 be inhibited while on topic's header line.
12996
12997 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12998
12999 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
13000 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
13001 always have a solution in grid size = 5 cases.
13002 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13003 (5x5-solver-output, 5x5-log-buffer): New vars.
13004 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13005 Make these variables buffer local to achieve 5x5 multi-session-ness.
13006 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13007 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13008 (5x5-solve-suggest): New funs.
13009 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13010 randomize a grid so that we ensure that there is always a solution.
13011 (5x5-make-random-grid): Allow other movement than flipping.
13012
13013 2011-05-23 Kevin Ryde <user42@zip.com.au>
13014
13015 * emacs-lisp/advice.el (ad-read-advised-function):
13016 Use `function-called-at-point' as the default, if it has
13017 advice and passes PREDICATE.
13018
13019 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13020
13021 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13022 byte-compile-lambda if it's actually a lambda.
13023
13024 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13025 Fix function quoting. Use backquote better.
13026
13027 2011-05-22 Yuanle Song <sylecn@gmail.com>
13028
13029 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13030 matching (Bug#8516).
13031
13032 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13033
13034 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13035 different face (Bug#8178).
13036
13037 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13038
13039 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13040 defface (Bug#8144).
13041
13042 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13043
13044 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13045 funcall as well (bug#8712). Warn when performing those conversions.
13046 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13047
13048 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13049
13050 2011-05-22 Glenn Morris <rgm@gnu.org>
13051
13052 * files.el (hack-local-variables-prop-line): Small simplifications.
13053 (hack-local-variables, hack-local-variables-prop-line):
13054 If MODE-ONLY, return the mode, rather than just `t'.
13055
13056 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13059
13060 2011-05-21 Glenn Morris <rgm@gnu.org>
13061
13062 * files.el (hack-local-variables-prop-line, hack-local-variables):
13063 If only interested in the mode, don't bother doing the other stuff.
13064
13065 * image-mode.el (image-after-revert-hook):
13066 Redraw all frames on which the image is visible. (Bug#8567)
13067
13068 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13069
13070 * wid-edit.el (widget-checklist-match-inline):
13071 Fix 2011-04-19 change. (Bug#8649)
13072
13073 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13074
13075 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13076 Also allow singlespace after single-letter capitals followed by a dot.
13077
13078 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13079 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13080
13081 2011-05-20 Nix <nix@esperi.org.uk>
13082
13083 * files.el (basic-save-buffer-2):
13084 Fix handling of break-hardlink-on-save with non-existent files.
13085
13086 2011-05-19 Deniz Dogan <deniz@dogan.se>
13087
13088 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13089 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13090
13091 2011-05-19 Glenn Morris <rgm@gnu.org>
13092
13093 * progmodes/f90.el (f90-type-def-re):
13094 Handle "type, bind(c)". (Bug#8691)
13095
13096 * emacs-lisp/autoload.el (batch-update-autoloads):
13097 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13098
13099 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13100
13101 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13102 property for the correct connection in case of multihops.
13103
13104 2011-05-18 Glenn Morris <rgm@gnu.org>
13105
13106 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13107 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13108
13109 Rationalize calendar handling of day and month abbrev-arrays.
13110 * calendar/calendar.el (calendar-customized-p): New function.
13111 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13112 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13113 Add :set function.
13114 (calendar-abbrev-length, calendar-day-abbrev-array)
13115 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13116 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13117 Elements may no longer be nil.
13118 (calendar-day-name, calendar-month-name):
13119 Update for changed nature of abbrev arrays.
13120 * calendar/diary-lib.el (diary-name-pattern):
13121 Update for changed nature of abbrev arrays.
13122 (diary-mark-entries-1): Update calendar-make-alist calls.
13123 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13124 * calendar/cal-html.el (cal-html-day-abbrev-array):
13125 Simply inherit from calendar-day-abbrev-array.
13126
13127 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * progmodes/grep.el (grep-mode): Disable default
13130 compilation-directory-matcher setting (bug#8684).
13131
13132 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13133
13134 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13135 instead of "head" and "tail". There were problems with SunOS 5.9,
13136 and it performs better.
13137
13138 2011-05-17 Glenn Morris <rgm@gnu.org>
13139
13140 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13141
13142 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13143 Replace obsolete function.
13144
13145 * shell.el (pcomplete-parse-arguments-function): Declare.
13146
13147 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13148 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13149 (appt-check): Doc fixes.
13150 (appt-disp-window-function, appt-delete-window-function):
13151 Remove needless special case in custom :type.
13152 (appt-display-count): Default to 0, not nil.
13153 (appt-check): Reset appt-display-count to 0, not nil.
13154
13155 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13156
13157 * progmodes/python.el (python-font-lock-keywords):
13158 Add the Python 3.X keyword "nonlocal" (bug#8639).
13159
13160 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13161
13162 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13163
13164 2011-05-16 Kevin Ryde <user42@zip.com.au>
13165
13166 * info-look.el (makefile-automake-mode): New setups, looking in
13167 automake manual, then makefile-mode.
13168 (makefile-mode): Remove automake manual, have it just in
13169 makefile-automake-mode since there's various things different or
13170 not relevant to plain make.
13171 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13172 believe a hypothetical automake-mode would go to makefile-mode,
13173 not the other way around.
13174
13175 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13176
13177 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13178 hunk-end tags (Bug#8672).
13179
13180 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13181 vc-annotate-show-diff-revision-at-line (Bug#8671).
13182
13183 2011-05-14 Glenn Morris <rgm@gnu.org>
13184
13185 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13186 in the middle of an existing one with multiple authors. (Bug#8645)
13187 (change-log-font-lock-keywords): Also handle multiple author lines
13188 with leading tabs. (Bug#8644)
13189
13190 * calendar/appt.el (appt-check): Rename some local variables.
13191 Some simplification/reordering.
13192
13193 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13194 (feedmail-sendmail-f-doesnt-sell-me-out)
13195 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13196 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13197 (feedmail-queue-runner-message-sender): Set :version.
13198 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13199 (bbdb-dwim-net-address, vm-mail): Declare.
13200 (feedmail-binmail-gnulinuxish-template):
13201 Rename from feedmail-binmail-linuxish-template.
13202 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13203 Use insert-buffer-substring.
13204
13205 2011-05-14 Bill Carpenter <bill@carpenter.org>
13206
13207 * mail/feedmail.el (feedmail-patch-level): Increase.
13208 (feedmail-debug): New custom group.
13209 (feedmail-confirm-outgoing-timeout)
13210 (feedmail-sendmail-f-doesnt-sell-me-out)
13211 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13212 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13213 (feedmail-sender-line, feedmail-from-line)
13214 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13215 (feedmail-spray-this-address)
13216 (feedmail-spray-address-fiddle-plex-list)
13217 (feedmail-queue-use-send-time-for-date)
13218 (feedmail-queue-use-send-time-for-message-id)
13219 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13220 (feedmail-buffer-eating-function):
13221 Doc fixes.
13222 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13223 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13224 (feedmail-message-action-scroll-down): New functions.
13225 (feedmail-queue-directory, feedmail-queue-draft-directory):
13226 Use expand-file-name.
13227 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13228 Remove C-v help entry.
13229 (feedmail-queue-buffer-file-name): New variable.
13230 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13231 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13232 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13233 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13234 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13235 (feedmail-message-action-toggle-spray)
13236 (feedmail-run-the-queue-no-prompts)
13237 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13238 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13239 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13240 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13241 (feedmail-envelope-deducer, feedmail-fiddle-from)
13242 (feedmail-fiddle-sender, feedmail-default-date-generator)
13243 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13244 (feedmail-fiddle-spray-address)
13245 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13246 (feedmail-fiddle-list-of-fiddle-plexes)
13247 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13248 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13249 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13250 Change default. Doc fix.
13251 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13252 (feedmail-binmail-linuxish-template): New constant.
13253 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13254 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13255 (feedmail-send-it): Add debug call.
13256 Use feedmail-queue-buffer-file-name, and
13257 feedmail-send-it-immediately-wrapper.
13258 (feedmail-message-action-send): Add debug call.
13259 Use feedmail-send-it-immediately-wrapper.
13260 (feedmail-queue-express-to-queue): Add debug call.
13261 Run feedmail-queue-express-hook.
13262 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13263 (feedmail-message-action-help-blat):
13264 Rename from feedmail-queue-send-edit-prompt-help-first.
13265 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13266 Check line-endings. Handle errors better.
13267 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13268 Doc fix. Add debug call.
13269 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13270 Use feedmail-queue-send-edit-prompt-inner.
13271 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13272 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13273 from feedmail-queue-send-edit-prompt.
13274 (feedmail-queue-send-edit-prompt-help)
13275 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13276 (feedmail-tidy-up-slug): Add debug call.
13277 Respect feedmail-queue-slug-suspect-regexp.
13278 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13279 (feedmail-dump-message-to-queue): Add debug call.
13280 Expand queue-directory.
13281 (feedmail-dump-message-to-queue): Change message slightly.
13282 Use feedmail-say-chatter.
13283 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13284 (feedmail-send-it-immediately-wrapper): New function.
13285 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13286 Insert empty string rather than newline. Handle full-frame case.
13287 Use catch/throw. Use feedmail-say-chatter.
13288 (feedmail-fiddle-from): Try mail-host-address.
13289 (feedmail-default-message-id-generator): Doc fix.
13290 Bind system-time-locale. Handle missing end.
13291 (feedmail-fiddle-x-mailer): Add debug call.
13292 Handle feedmail-x-mailer-line being nil.
13293 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13294 Add debug call. Use buffer-substring-no-properties.
13295 (feedmail-say-debug, feedmail-say-chatter): New functions.
13296 (feedmail-find-eoh): Give an explicit error.
13297
13298 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13299
13300 * net/newst-treeview.el (newsticker-treeview-face): Change default
13301 family from helvetica to sans.
13302 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13303 etc/images/newsticker.
13304
13305 * net/newst-reader.el (newsticker-feed-face): Change default
13306 family from helvetica to sans.
13307
13308 * net/newst-plainview.el (newsticker-new-item-face)
13309 (newsticker-old-item-face, newsticker-immortal-item-face)
13310 (newsticker-obsolete-item-face, newsticker-date-face)
13311 (newsticker-statistics-face): Change default family from
13312 helvetica to sans.
13313 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13314 etc/images/newsticker.
13315
13316 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13317 (newsticker--process-auto-mark-filter-match): Tell user about
13318 auto-marking.
13319
13320 2011-05-13 Didier Verna <didier@xemacs.org>
13321
13322 Common Lisp indentation improvements on defmethod and lambda-lists.
13323 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13324 TODO entries.
13325 (lisp-lambda-list-keyword-parameter-indentation)
13326 (lisp-lambda-list-keyword-parameter-alignment)
13327 (lisp-lambda-list-keyword-alignment): New customizable user options.
13328 (lisp-indent-defun-method): Improve docstring.
13329 (extended-loop-p): Fix comment.
13330 (lisp-indent-lambda-list-keywords-regexp): New variable.
13331 (lisp-indent-lambda-list): New function.
13332 (lisp-indent-259): Use it.
13333 (lisp-indent-defmethod): Support for more than one
13334 method qualifier and properly indent methods lambda-lists.
13335 (defgeneric): Provide a missing common-lisp-indent-function property.
13336
13337 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13338
13339 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13340 bounds for the empty string (bug#8667).
13341
13342 2011-05-13 Glenn Morris <rgm@gnu.org>
13343
13344 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13345
13346 * mail/sendmail.el (sendmail-program): Try executable-find first.
13347 (sendmail-send-it): `sendmail-program' cannot be unbound.
13348
13349 * calendar/appt.el (appt-make-list): Simplify.
13350 (appt-time-msg-list): Doc fix.
13351 (appt-check): Change mode-line message at the time of the appointment.
13352
13353 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13354
13355 * progmodes/ld-script.el (ld-script-keywords)
13356 (ld-script-builtins): Update keywords list.
13357
13358 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13359
13360 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13361
13362 * shell.el (shell-completion-vars): New function.
13363 (shell-mode):
13364 * simple.el (read-shell-command): Use it.
13365 (blink-matching-open): No need for " [...]" in minibuffer-message.
13366
13367 2011-05-12 Glenn Morris <rgm@gnu.org>
13368
13369 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13370 (appt-check): Simplify.
13371
13372 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13373
13374 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13375 literal "/dev/null".
13376
13377 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13378
13379 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13380 Fix typo.
13381
13382 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13383
13384 * progmodes/which-func.el (which-function):
13385 Use add-log-current-defun instead of add-log-current-defun-function,
13386 which might not be defined (Bug#8260).
13387
13388 2011-05-12 Glenn Morris <rgm@gnu.org>
13389
13390 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13391 Let byte-compile-initial-macro-environment always take precedence.
13392
13393 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * net/rcirc.el: Add support for SSL/TLS connections.
13396 (rcirc-server-alist): New field `encryption'.
13397 (rcirc): Check `encryption' settings.
13398 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13399 Merge make-local-variable into `set'.
13400 (rcirc--connection-open-p): New function.
13401 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13402 the process is not a network process (e.g. running gnutls-cli).
13403 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13404 Make rcirc-(en|de)code-coding-system local here.
13405 (rcirc-mode): Merge make-local-variable into `set'.
13406 (rcirc-parent-buffer): Make permanent buffer-local.
13407 (rcirc-multiline-minor-mode): Don't do it here.
13408 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13409 there's no server buffer.
13410
13411 2011-05-11 Glenn Morris <rgm@gnu.org>
13412
13413 * newcomment.el (comment-kill): Prefix "unused" local.
13414
13415 * term/w32console.el (get-screen-color): Declare.
13416
13417 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13418 Handle symbol elements of byte-compile-initial-macro-environment.
13419
13420 2011-05-10 Leo Liu <sdl.web@gmail.com>
13421
13422 * bookmark.el (bookmark-bmenu-mode-map):
13423 Bind bookmark-bmenu-search to `/'.
13424
13425 * mail/footnote.el: Convert to utf-8 encoding.
13426 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13427 (Footnote-unicode): New function.
13428 (footnote-style-alist): Add unicode style to the list.
13429 (footnote-style): Doc fix.
13430
13431 2011-05-10 Jim Meyering <meyering@redhat.com>
13432
13433 Fix doubled-word typos.
13434 * international/quail.el (quail-insert-kbd-layout): and and -> and
13435 * kermit.el: and and -> and
13436 * net/ldap.el (ldap-search-internal): to to -> to
13437 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13438 * progmodes/js.el (js-mode): and and -> and
13439 * textmodes/artist.el (artist-move-to-xy): at at -> at
13440 (artist-draw-region-trim-line-endings): if if -> if
13441 And Safetyc -> Safety.
13442 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13443
13444 2011-05-10 Glenn Morris <rgm@gnu.org>
13445 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * files.el (hack-one-local-variable-eval-safep):
13448 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13449
13450 2011-05-10 Glenn Morris <rgm@gnu.org>
13451
13452 * calendar/diary-lib.el (diary-list-entries-hook)
13453 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13454 (diary-nongregorian-marking-hook, diary-list-entries)
13455 (diary-include-other-diary-files, diary-mark-entries)
13456 (diary-mark-included-diary-files): Doc fixes.
13457
13458 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13459
13460 * misc.el: Require tabulated-list.el during compilation.
13461
13462 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13463
13464 * progmodes/compile.el (compilation-start):
13465 Run compilation-filter-hook for the async case too.
13466 (compilation-filter-hook): Doc fix.
13467
13468 2011-05-09 Deniz Dogan <deniz@dogan.se>
13469
13470 * wdired.el: Remove outdated installation comment. Fix usage
13471 comment.
13472
13473 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13474
13475 * misc.el: Implement new command `list-dynamic-libraries'.
13476 (list-dynamic-libraries--loaded-only-p): New variable.
13477 (list-dynamic-libraries--refresh): New function.
13478 (list-dynamic-libraries): New command.
13479
13480 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13481
13482 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13483 Fix the ant regexp to handle end-line and end-column info from jikes.
13484 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13485 higher priority to avoid clobbering by gnu.
13486
13487 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13488
13489 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13490 if the face has existing theme settings (Bug#8454).
13491
13492 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13493
13494 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13495 Only match variables declared via `my' or `our' (Bug#8261).
13496
13497 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13498 special file names `.' and `..' (Bug#8259).
13499
13500 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13501
13502 * progmodes/grep.el (grep-mode-font-lock-keywords):
13503 Remove buffer-changing entries.
13504 (grep-filter): New function.
13505 (grep-mode): Add it to compilation-filter-hook.
13506
13507 * progmodes/compile.el (compilation-filter-hook)
13508 (compilation-filter-start): New defvars.
13509 (compilation-filter): Call compilation-filter-hook prior to
13510 updating the process mark.
13511
13512 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13515
13516 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13517
13518 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13519 mailclient-send-it even if window-system is nil. (Bug#8595)
13520
13521 * term/w32console.el (terminal-init-w32console):
13522 Call get-screen-color and use its output to set the frame
13523 background-mode. (Bug#8597)
13524
13525 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13526
13527 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13528 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13529 New functions.
13530 (defgeneric, eieio--defmethod): Use them.
13531 (eieio-defgeneric): Remove.
13532 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13533
13534 2011-05-07 Glenn Morris <rgm@gnu.org>
13535
13536 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13537 Use let rather than let*.
13538 (timeclock-find-discrep): Remove unused local.
13539
13540 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13541
13542 * calendar/appt.el (appt-time-msg-list): Doc fix.
13543
13544 2011-05-06 Noah Friedman <friedman@splode.com>
13545
13546 * apropos.el (apropos-print-doc): Only use
13547 emacs-lisp-docstring-fill-column when it is bound to an integer,
13548 per that variable's documentation.
13549
13550 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13551
13552 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13553 and warnings are not silently discarded (e.g. use -d instead of -P).
13554
13555 2011-05-06 Glenn Morris <rgm@gnu.org>
13556
13557 * calendar/appt.el (appt-message-warning-time): Doc fix.
13558 (appt-warning-time-regexp): New option.
13559 (appt-make-list): Respect appt-message-warning-time.
13560
13561 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13562 New options.
13563 (diary-add-to-list): Strip comments from the displayed string.
13564 (diary-mode): Set comment-start and comment-end.
13565
13566 * vc/diff-mode.el (smerge-refine-subst): Declare.
13567 (diff-refine-hunk): Don't require smerge-mode when compiling.
13568
13569 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13570
13571 * simple.el (list-processes): Return nil as the docstring says.
13572
13573 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13574
13575 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13576 to "".
13577 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13578 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13579 determining of binary transfer. (Bug#7383)
13580
13581 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13582
13583 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13584 Fix port computation bug. (Bug#8618)
13585
13586 2011-05-05 Glenn Morris <rgm@gnu.org>
13587
13588 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13589
13590 * simple.el (shell-dynamic-complete-functions)
13591 (comint-dynamic-complete-functions): Declare.
13592
13593 * net/network-stream.el (gnutls-negotiate):
13594 * simple.el (tabulated-list-print): Fix declarations.
13595
13596 * progmodes/gud.el (syntax-symbol, syntax-point):
13597 Remove unnecessary and incorrect declarations.
13598
13599 * emacs-lisp/check-declare.el (check-declare-scan):
13600 Handle byte-compile-initial-macro-environment in bytecomp.el
13601
13602 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13603
13604 Fix earlier half-done eieio-defmethod change (bug#8338).
13605 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13606 Streamline and change calling convention.
13607 (defmethod): Adjust accordingly and simplify.
13608 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13609 new eieio--defmethod.
13610 (slot-boundp): Minor CSE simplification.
13611
13612 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13613
13614 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13615 (glasses-make-readable): Use glasses-separate-capital-groups.
13616
13617 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13618
13619 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13620 (warning-series): Doc fix.
13621 (display-warning): Don't try to create the buffer if we just found it.
13622
13623 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13624
13625 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13626 (autoload-find-generated-file): New function.
13627 (generate-file-autoloads): Bind generated-autoload-file to
13628 buffer-file-name.
13629 (update-file-autoloads, update-directory-autoloads):
13630 Use autoload-find-generated-file. If called interactively, prompt for
13631 output file (Bug#7989).
13632 (batch-update-autoloads): Doc fix.
13633
13634 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13635
13636 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13637
13638 2011-05-04 Glenn Morris <rgm@gnu.org>
13639
13640 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13641 function, so it follows changes in calendar-date-style.
13642 (diary-fancy-date-matcher): New function.
13643 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13644 (diary-fancy-font-lock-fontify-region-function):
13645 Use diary-fancy-date-pattern as a function.
13646
13647 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13648 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13649
13650 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13651
13652 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13653 instead of positional arguments. Allow :keylist and :crlfiles
13654 arguments.
13655 (open-gnutls-stream): Call it.
13656
13657 * net/network-stream.el (network-stream-open-starttls): Adjust to
13658 call `gnutls-negotiate' with :process and :hostname arguments.
13659
13660 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13661
13662 * minibuffer.el (completion--message): New function.
13663 (completion--do-completion, minibuffer-complete)
13664 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13665 (completion--do-completion): Don't ignore completion-auto-help when in
13666 icomplete-mode.
13667
13668 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13669 internal encoding (e.g. tibetan zero is not whitespace).
13670 (global-whitespace-mode): Prefer save-current-buffer.
13671 (whitespace-trailing-regexp): Remove useless save-match-data.
13672 (whitespace-empty-at-bob-regexp): Minor simplification.
13673
13674 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13675
13676 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13677
13678 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13679
13680 * textmodes/ispell.el (ispell-add-per-file-word-list):
13681 Use `concat' to create string for insertion.
13682
13683 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13686 Avoid open-line which runs post-self-insert-hook.
13687 (bibtex-fill-entry): Remove unused `end' var.
13688
13689 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13690
13691 * textmodes/ispell.el (ispell-add-per-file-word-list):
13692 Protect against `nil' value of `comment-start' (Bug#8579).
13693
13694 2011-05-03 Leo Liu <sdl.web@gmail.com>
13695
13696 * isearch.el (isearch-yank-pop): New command.
13697 (isearch-mode-map): Bind it to `M-y'.
13698 (isearch-forward): Mention it.
13699
13700 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13701
13702 * simple.el (minibuffer-complete-shell-command): Remove.
13703 (minibuffer-local-shell-command-map): Use completion-at-point.
13704 (read-shell-command): Setup completion vars here instead.
13705 (read-expression-map): Bind TAB to symbol completion.
13706
13707 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13708 error directly rather via storing it into `results'.
13709
13710 2011-05-02 Leo Liu <sdl.web@gmail.com>
13711
13712 * vc/diff.el: Fix description.
13713
13714 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13715
13716 * server.el (server-eval-at): New function.
13717
13718 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13719
13720 * net/network-stream.el (open-network-stream): Take a :nowait
13721 parameter and pass it on to `make-network-process'.
13722 (network-stream-open-plain): Ditto.
13723
13724 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13725
13726 * faces.el (face-spec-set-match-display): Don't match toolkit
13727 options on terminal frames.
13728
13729 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13730
13731 * progmodes/pascal.el: Use lexical binding.
13732 (pascal-mode-map): Remove author preferences.
13733
13734 * pcomplete.el (pcomplete-std-complete): Don't abuse
13735 completion-at-point.
13736
13737 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13738
13739 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13740 removing code that has been dead since 1991 or so.
13741
13742 * startup.el (command-line): When warning about "_emacs", use a
13743 delayed warning to allow the user to filter it out.
13744
13745 2011-04-28 Deniz Dogan <deniz@dogan.se>
13746
13747 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13748 user has not joined.
13749
13750 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13753 aren't any completions at point.
13754
13755 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13756
13757 * subr.el (display-delayed-warnings): New function.
13758 (delayed-warnings-hook): New variable.
13759
13760 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13761
13762 * minibuffer.el (completion-at-point, completion-help-at-point):
13763 Don't presume that a given completion-at-point-function will always
13764 use the same calling convention.
13765
13766 * pcomplete.el (pcomplete-completions-at-point):
13767 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13768 pcomplete-seen is non-nil.
13769 (pcomplete-comint-setup): Also recognize the new comint/shell
13770 completion functions.
13771 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13772 pcomplete-seen is non-nil.
13773
13774 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13775
13776 * calendar/icalendar.el (diary-lib): Add require statement.
13777 (icalendar--create-uid): Read out a uid from a text-property on
13778 the first character in the entry. This allows for code to add its
13779 own uid to the entry.
13780 (icalendar--convert-float-to-ical): Add export of
13781 `diary-float'-entries save for those with the optional DAY
13782 argument.
13783
13784 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13785
13786 * subr.el (shell-quote-argument): Use alternate escaping strategy
13787 when we spot a variable reference in a string.
13788
13789 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13790
13791 * cus-start.el (all): Define customization for debug-on-event.
13792
13793 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13794
13795 * subr.el (shell-quote-argument): Escape correctly under Windows.
13796
13797 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13798
13799 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13800
13801 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13802
13803 * net/tramp.el (tramp-process-actions): Add POS argument.
13804 Delete region between POS and (pos).
13805
13806 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13807 Use `nil' position in `tramp-process-actions' call.
13808 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13809
13810 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13811 position in `tramp-process-actions' call.
13812
13813 * net/trampver.el: Update release number.
13814
13815 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 * custom.el (defcustom): Obey lexical-binding.
13818
13819 Fix octave-inf completion problems reported by Alexander Klimov.
13820 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13821 Inherit from octave-mode-syntax-table.
13822 (inferior-octave-mode): Set info-lookup-mode.
13823 (inferior-octave-completion-at-point): New function.
13824 (inferior-octave-complete): Use it and completion-in-region.
13825 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13826 comint-filename-completion.
13827 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13828 symbol elements which shouldn't be word elements.
13829 (octave-font-lock-keywords, octave-beginning-of-defun)
13830 (octave-function-header-regexp): Adjust regexps accordingly.
13831 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13832
13833 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13834
13835 * net/gnutls.el (gnutls-errorp): Declare before first use.
13836
13837 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13838
13839 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13840 verify-error, and verify-hostname-error parameters. Check whether
13841 default trustfile exists before going to use it. Add missing
13842 argument to gnutls-message-maybe call. Return value.
13843 Reported by Claudio Bley <claudio.bley@gmail.com>.
13844 (open-gnutls-stream): Add usage example.
13845
13846 * net/network-stream.el (network-stream-open-starttls): Give host
13847 parameter to `gnutls-negotiate'.
13848 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13849 * subr.el (shell-quote-argument): Escape correctly under Windows.
13850
13851 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13852
13853 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13854 Use correct match group (bug#8438).
13855
13856 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13857
13858 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13859 (package-menu--generate): New arg specifying packages to show.
13860 (package-menu-refresh, package-menu-execute, list-packages):
13861 Callers changed.
13862 (package-show-package-list): New function, replacing deleted
13863 package--list-packages (renamed because it is non-internal).
13864
13865 * finder.el (finder-list-matches): Use package-show-package-list
13866 instead of deleted package--list-packages.
13867
13868 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13869 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13870 (vc-annotate-mode-map): Bind it to RET.
13871
13872 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13873
13874 * progmodes/etags.el (next-file): Don't use set-buffer to change
13875 buffers (Bug#8478).
13876
13877 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13878
13879 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13880
13881 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13882 (apropos-accumulator): Doc fix.
13883 (apropos-function, apropos-macro, apropos-command)
13884 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13885 (apropos-plist): Add face property.
13886 (apropos-symbols-internal): Fix indentation.
13887 (apropos-print): Simplify help, and recognize apropos-multi-type.
13888 (apropos-print-doc): Use button-type-get to extract the button's
13889 face property. Fill docstring (Bug#8352).
13890
13891 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13892
13893 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13894
13895 * play/mpuz.el (mpuz-silent): Doc fix.
13896 (mpuz-mode-map): Use mapc.
13897 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13898 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13899 Fix typos in docstrings.
13900
13901 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13902 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13903
13904 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13905
13906 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13907
13908 * minibuffer.el (completion--do-completion): Avoid the "Next char
13909 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13910
13911 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13912 mouse-2 into unread-command-events, it is interpreted correctly.
13913
13914 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13915 (image-toggle-display): Doc fix.
13916
13917 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13918
13919 * textmodes/page.el (what-page): Use line-number-at-pos to
13920 calculate line number (Bug#6825).
13921
13922 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13923
13924 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13925 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13926 Pass argument NO-DEFAULT to `find-tag-interactive'.
13927
13928 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13929
13930 Lexical-binding cleanup.
13931
13932 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13933 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13934 * progmodes/ada-prj.el (ada-prj-initialize-values)
13935 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13936 (ada-prj-show-value):
13937 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13938 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13939 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13940 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13941 * progmodes/bug-reference.el (bug-reference-push-button):
13942 * progmodes/fortran.el (fortran-line-length):
13943 * progmodes/glasses.el (glasses-change):
13944 * progmodes/octave-mod.el (octave-fill-paragraph):
13945 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13946 (python-pdbtrack-grub-for-buffer, python-sentinel):
13947 * progmodes/sql.el (sql-save-connection):
13948 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13949 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13950 Mark unused parameters.
13951
13952 * progmodes/compile.el (compilation--flush-directory-cache)
13953 (compilation--flush-parse, compile-internal): Mark unused parameters.
13954 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13955 (compilation-next-error-function): Remove unused variable `timestamp'.
13956
13957 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13958 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13959
13960 * progmodes/dcl-mode.el (dcl-end-of-command):
13961 Remove unused variable `start'.
13962 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13963 (dcl-option-value-basic, dcl-option-value-offset)
13964 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13965 Mark unused parameters.
13966 (dcl-save-local-variable): Remove unused variable `val'.
13967 (mode): Declare.
13968
13969 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13970 Mark unused parameters.
13971 (delphi-ignore-changes): Move before first use.
13972 (delphi-charset-token-at): Remove unused variable `start'.
13973 (delphi-else-start): Remove unused variable `if-count'.
13974 (delphi-comment-block-start, delphi-comment-block-end):
13975 Remove unused variable `kind'.
13976 (delphi-indent-line): Remove unused variable `new-point'.
13977
13978 * progmodes/ebrowse.el (ebrowse-files-list)
13979 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13980 Mark unused parameters. Don't quote `lambda'.
13981 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13982 Don't quote `lambda'.
13983 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13984 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13985 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13986 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13987 Use `ignore-errors'.
13988 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13989 (ebrowse-view/find-file-and-search-pattern)
13990 (ebrowse-view/find-member-declaration/definition):
13991 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13992 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13993 Rename parameter PREFIX-ARG to PREFIX.
13994 (ebrowse-tags-read-name): Remove unused variables `start' and
13995 `member-info'.
13996 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13997 to `tags-file'.
13998
13999 * progmodes/etags.el (local-find-tag-hook): Declare.
14000 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14001 Mark unused parameters.
14002
14003 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14004 (executable-interpret): Mark unused parameter.
14005
14006 * progmodes/flymake.el (flymake-process-sentinel)
14007 (flymake-after-change-function)
14008 (flymake-create-temp-with-folder-structure)
14009 (flymake-get-include-dirs-dot): Mark unused parameters.
14010 (flymake-safe-delete-directory): Remove unused variable `err'.
14011
14012 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14013 (speedbar-timer-fn, speedbar-line-text)
14014 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14015 (speedbar-center-buffer-smartly): Declare functions.
14016 (gdb-find-watch-expression): Remove unused variable `array'.
14017 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14018 (gdb-starting): Mark unused parameters.
14019 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14020 (gdb-table-string): Remove unused variable `res'.
14021 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14022 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14023 (gdb-display-buffer): Remove unused variable `cur-size'.
14024
14025 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14026 allow lexical-binding compilation.
14027 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14028 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14029 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14030 Mark unused parameters.
14031 (gud-gdb-marker-filter): Remove unused variable `match'.
14032 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14033 lambda expressions and funcall them, instead of using `fset'.
14034
14035 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14036 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14037
14038 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14039 variable `header-beg'; use `let'.
14040
14041 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14042 `restart', `last-sexp' and `at-do'.
14043
14044 * progmodes/js.el (js--debug): Mark unused parameter.
14045 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14046 (js--splice-into-items): Remove unused variable `item'.
14047 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14048
14049 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14050 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14051 (makefile-complete): Remove unused variable `try'.
14052 (makefile-fill-paragraph, makefile-match-function-end):
14053 Mark unused parameters.
14054
14055 * progmodes/octave-inf.el (inferior-octave-complete):
14056 Remove unused variable `proc'.
14057 (inferior-octave-output-digest): Mark unused parameter.
14058
14059 * progmodes/perl-mode.el (perl-calculate-indent):
14060 Remove unused variable `err'.
14061
14062 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14063 (prolog-indent-line): Mark unused parameters.
14064 (prolog-indent-line): Remove unused variable `beg'.
14065
14066 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14067 (reporter-dont-compact-list): Declare.
14068
14069 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14070 Remove unused variable `char'.
14071 (sh-debug): Mark unused parameter.
14072 (sh-get-indent-info): Remove unused variable `start'.
14073 (sh-calculate-indent): Remove unused variable `var'.
14074
14075 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14076 (simula-electric-keyword): Remove unused variable `null'.
14077 (simula-search-backward, simula-search-forward): Remove unused
14078 variables `begin' and `end'.
14079
14080 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14081 Remove unused variable `pos'.
14082 (vera-electric-tab, vera-comment-uncomment-region):
14083 Mark unused parameters.
14084 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14085
14086 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14087
14088 * emacs-lisp/package.el (package--builtins, package-alist)
14089 (package-load-descriptor, package-built-in-p, package-activate)
14090 (define-package, package-installed-p)
14091 (package-compute-transaction, package-buffer-info)
14092 (package--push): Doc fix. Distinguish more clearly between
14093 version strings and version lists.
14094
14095 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14096
14097 Lexical-binding cleanup.
14098
14099 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14100 (5x5-make-mutate-best):
14101 * play/fortune.el (fortune-in-buffer):
14102 * play/gomoku.el (gomoku-init-display):
14103 * play/solitaire.el (solitaire, solitaire-do-check):
14104 * play/tetris.el (tetris-default-update-speed-function):
14105 Mark unused parameters.
14106
14107 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14108 (bubbles--shift): Remove unused variable `char-org'.
14109 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14110 (bubbles--show-images): Remove unused variable `char'.
14111
14112 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14113 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14114 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14115 (decipher-analyze-buffer): Use ?\s.
14116 (decipher-make-checkpoint): Remove unused variable `mapping'.
14117
14118 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14119
14120 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14121 Remove unused variable `result'; use `let'.
14122
14123 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14124 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14125 (gametree-children-shown-p, gametree-compute-reduced-score):
14126 Use `ignore-errors'.
14127
14128 * play/handwrite.el (ps-lpr-switches): Declare.
14129 (handwrite): Remove unused variables `pmin' and `lastp'.
14130
14131 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14132
14133 * play/landmark.el (landmark-init-display)
14134 (landmark-update-naught-weights): Mark unused parameters.
14135 (landmark-y): Remove unused variable `noise'. Simplify.
14136 (landmark-human-plays): Remove unused variable `score'.
14137
14138 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14139 (mpuz-try-proposal): Remove unused variable `game'.
14140
14141 * play/zone.el (life-patterns): Declare.
14142
14143 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * vc/vc.el (ediff-vc-internal): Declare function.
14146
14147 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * shell.el: Use lexical-binding and std completion UI.
14150 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14151 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14152 comint-preoutput-filter-functions rather than on
14153 comint-output-filter-functions.
14154 (shell-command-completion, shell--command-completion-data)
14155 (shell-filename-completion, shell-environment-variable-completion)
14156 (shell-c-a-p-replace-by-expanded-directory): New functions.
14157 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14158 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14159 (shell-dynamic-complete-environment-variable): Use them.
14160 (shell-dynamic-complete-as-environment-variable)
14161 (shell-dynamic-complete-as-command): Remove.
14162 (shell-match-partial-variable): Match past point.
14163 * comint.el: Clean up use of completion-at-point-functions.
14164 (comint-completion-at-point): New function.
14165 (comint-mode): Use it completion-at-point-functions.
14166 (comint-dynamic-complete): Make it obsolete.
14167 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14168 (comint-c-a-p-replace-by-expanded-history): New function.
14169 (comint-dynamic-complete-functions)
14170 (comint-replace-by-expanded-history): Use it.
14171 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14172 termination strings. Try harder to avoid second try-completion.
14173 (completion-in-region-mode-map): Disable bindings that don't work yet.
14174
14175 * comint.el: Use lexical-binding. Require CL.
14176 (comint-dynamic-complete-functions): Use comint-filename-completion.
14177 (comint-completion-addsuffix): Tweak custom type.
14178 (comint-filename-completion, comint--common-suffix)
14179 (comint--common-quoted-suffix, comint--table-subvert)
14180 (comint--complete-file-name-data): New functions.
14181 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14182 (comint-dynamic-list-filename-completions): Use them.
14183 (comint-dynamic-simple-complete): Make obsolete.
14184
14185 * minibuffer.el (completion-in-region-mode):
14186 Keep completion-in-region-mode--predicate global.
14187 (completion-in-region--postch):
14188 Assume completion-in-region-mode--predicate is not null.
14189
14190 * progmodes/flymake.el (flymake-start-syntax-check-process):
14191 Obey `dir'. Simplify.
14192
14193 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14194 we're in VC after all.
14195
14196 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14197
14198 * vc/vc.el (vc-diff-build-argument-list-internal)
14199 (vc-version-ediff, vc-ediff): New commands.
14200 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14201
14202 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14203
14204 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14205 add sanity check.
14206
14207 * obsolete/erc-hecomplete.el: Make obsolete.
14208 * obsolete/: Standardize obsolescence info in the header.
14209
14210 2011-04-20 Glenn Morris <rgm@gnu.org>
14211
14212 * calendar/solar.el (solar-horizontal-coordinates):
14213 Use the longitude argument rather than `calendar-longitude'.
14214 (solar-date-next-longitude): Remove unused locals.
14215
14216 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14217
14218 * whitespace.el: New version 13.2.1.
14219
14220 2011-04-20 felix <EmacsWiki> (tiny change)
14221
14222 * whitespace.el (global-whitespace-mode): Keep highlight when
14223 switching between major modes on a file.
14224
14225 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14226
14227 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14228 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14229 multi-line comments as well.
14230
14231 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14232
14233 Lexical-binding cleanup.
14234
14235 * arc-mode.el (archive-mode-revert):
14236 * cmuscheme.el (scheme-interactively-start-process):
14237 * custom.el (custom-initialize-delay):
14238 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14239 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14240 * emacs-lock.el (emacs-lock-clear-sentinel):
14241 * ezimage.el (defezimage):
14242 * follow.el (follow-avoid-tail-recenter):
14243 * fringe.el (set-fringe-mode-1):
14244 * generic-x.el (bat-generic-mode-compile):
14245 * help-mode.el (help-info-variable, help-do-xref)
14246 (help-mode-revert-buffer):
14247 * help.el (view-emacs-todo):
14248 * iswitchb.el (iswitchb-completion-help):
14249 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14250 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14251 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14252 * locate.el (locate-update):
14253 * longlines.el (longlines-encode-region)
14254 (longlines-after-change-function):
14255 * outline.el (outline-isearch-open-invisible):
14256 * ps-def.el (declare-function, charset-dimension, char-width)
14257 (encode-char):
14258 * ps-mule.el (ps-mule-plot-string):
14259 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14260 (recentf-edit-list-select, recentf-edit-list-validate)
14261 (recentf-open-files-action):
14262 * rect.el (delete-whitespace-rectangle-line)
14263 (rectangle-number-line-callback):
14264 * register.el (window-configuration-to-register)
14265 (frame-configuration-to-register):
14266 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14267 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14268 (xselect-convert-to-targets, xselect-convert-to-delete)
14269 (xselect-convert-to-filename, xselect-convert-to-charpos)
14270 (xselect-convert-to-lineno, xselect-convert-to-colno)
14271 (xselect-convert-to-os, xselect-convert-to-host)
14272 (xselect-convert-to-user, xselect-convert-to-class)
14273 (xselect-convert-to-name, xselect-convert-to-integer)
14274 (xselect-convert-to-atom, xselect-convert-to-identity):
14275 * subr.el (declare, ignore, process-kill-without-query)
14276 (text-clone-maintain):
14277 * terminal.el (te-get-char, te-tic-sentinel):
14278 * tool-bar.el (tool-bar-make-keymap):
14279 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14280 * type-break.el (type-break-mode, type-break-noninteractive-query):
14281 * view.el (View-back-to-mark):
14282 * wid-browse.el (widget-browse-action, widget-browse-widget)
14283 (widget-browse-widgets, widget-browse-sexp):
14284 * widget.el (define-widget-keywords):
14285 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14286 Mark unused parameters.
14287
14288 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14289 (align-areas): Remove unused variable `look'.
14290 (align-region): Remove unused variables `real-end' and `pos-list'.
14291
14292 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14293
14294 * bindings.el (mode-line-modified, mode-line-remote):
14295 Mark unused parameters.
14296 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14297
14298 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14299 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14300
14301 * comint.el (comint-history-isearch-pop-state)
14302 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14303 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14304 (comint-substitute-in-file-name): Doc fix.
14305
14306 * completion.el (cmpl-statistics-block): Mark unused parameter.
14307 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14308 (save-completions-to-file, load-completions-from-file):
14309 Remove unused local variable `e'.
14310
14311 * composite.el (compose-chars): Remove unused variable `len'.
14312 (lgstring-insert-glyph): Remove unused variable `g'.
14313 (compose-glyph-string): Remove unused variables `ascent',
14314 `descent', `lbearing' and `rbearing'.
14315 (compose-glyph-string-relative): Remove unused variables
14316 `lbearing', `rbearing' and `wadjust'.
14317 (compose-gstring-for-graphic): Remove unused variables `header',
14318 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14319 (compose-gstring-for-terminal): Remove unused variables `header'
14320 and `nchars'. Use `let', not `let*'.
14321
14322 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14323 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14324 (Custom-buffer-done, custom-buffer-create-internal)
14325 (custom-browse-visibility-action, custom-browse-group-tag-action)
14326 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14327 (widget-magic-mouse-down-action, custom-toggle-parent)
14328 (custom-add-parent-links, custom-toggle-hide-variable)
14329 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14330 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14331 (custom-face-menu-create, custom-variable-menu-create, get)
14332 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14333 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14334 (customize-apropos): Remove unused variable `tests'.
14335 (custom-group-value-create): Remove unused variable `hidden-p'.
14336 (sort-fold-case): Declare.
14337
14338 * cus-theme.el (custom-reset-standard-faces-list)
14339 (custom-reset-standard-variables-list): Declare.
14340 (customize-create-theme, custom-theme-revert, custom-theme-write)
14341 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14342 Mark unused parameters.
14343
14344 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14345
14346 * delim-col.el (delimit-columns-max): Move defvar before first use.
14347
14348 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14349 (describe-char): Don't quote `lambda'. Mark unused parameter.
14350
14351 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14352 (auto-insert): Declare.
14353 (desktop-restore-file-buffer): Rename desktop-* parameters;
14354 mark unused ones.
14355 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14356 (desktop-buffer): Rename desktop-* parameters.
14357
14358 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14359 (dframe-reposition-frame-xemacs, dframe-help-echo)
14360 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14361 Mark unused parameters.
14362
14363 * dired-aux.el (backup-extract-version-start, overwrite-query)
14364 (overwrite-backup-query, rename-regexp-query)
14365 (rename-non-directory-query): Declare.
14366 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14367 (dired-add-entry): Remove unused variable `orig-file-name'.
14368 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14369 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14370 `dired-copy-preserve-time' directly.
14371 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14372 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14373
14374 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14375 (dired-virtual-revert, dired-make-relative-symlink):
14376 Mark unused parameters.
14377 (manual-program): Declare.
14378 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14379 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14380 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14381
14382 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14383
14384 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14385
14386 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14387 Declare.
14388
14389 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14390
14391 * electric.el (Electric-command-loop): Rename parameter
14392 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14393
14394 * expand.el (expand-in-literal): Remove unused variable `here'.
14395
14396 * facemenu.el (facemenu-add-new-color):
14397 Remove unused variable `docstring'.
14398
14399 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14400 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14401 (face-attr-construct): Mark unused parameter. Doc fix.
14402 (read-color): Remove unused variable `hex-string'.
14403
14404 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14405 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14406 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14407 (display-buffer-other-frame): Remove unused variable `old-window'.
14408 (kill-buffer-hook): Declare.
14409 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14410 Mark unused parameters.
14411 (after-find-file): Pass 1 to `auto-save-mode', not t.
14412
14413 * files-x.el (auto-insert): Declare.
14414 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14415
14416 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14417 variable `buf'. Mark unused parameter.
14418 (find-lisp-insert-directory): Mark unused parameter.
14419
14420 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14421 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14422 (format-common-tail): Remove, unused.
14423 (format-deannotate-region): Remove unused variable `loc'.
14424 (format-annotate-region): Remove unused variable `p'.
14425 (format-annotate-single-property-change): Remove unused variables
14426 `default' and `tail'.
14427
14428 * forms.el (read-file-filter): Declare.
14429 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14430
14431 * frame.el (frame-creation-function-alist): Mark unused parameter.
14432 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14433
14434 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14435 Remove unused parameters.
14436 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14437 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14438
14439 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14440 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14441 (hfy-prepare-tag-map): Mark unused parameters.
14442 (htmlfontify-buffer): Use `called-interactively-p'.
14443
14444 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14445 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14446 (ibuffer-do-occur): Mark unused parameters.
14447 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14448 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14449
14450 * ibuffer.el: Don't quote `lambda'.
14451 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14452 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14453 Mark unused parameters.
14454
14455 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14456 (ido-completing-read): Mark unused parameters.
14457 (ido-copy-current-word): Mark unused parameters;
14458 remove unused variable `name'.
14459 (ido-sort-merged-list): Remove unused parameter `dirs'.
14460
14461 * ielm.el (ielm-input-sender): Mark unused parameter.
14462 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14463 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14464 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14465 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14466 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14467
14468 * image-dired.el (image-dired-display-thumbs): Remove unused
14469 variables `curr-file' and `count'.
14470 (image-dired-remove-tag): Remove unused variable `start'.
14471 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14472 variable `curr-file'
14473 (image-dired-rotate-original): Remove unused variable `temp-file'.
14474 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14475 Remove unused variable `file'.
14476 (image-dired-gallery-generate): Remove unused variable `curr'.
14477 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14478
14479 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14480
14481 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14482
14483 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14484
14485 * isearch.el (minibuffer-history-symbol): Declare.
14486 (isearch-edit-string): Remove unused variable `err'.
14487 (isearch-message-prefix, isearch-message-suffix):
14488 Mark unused parameters.
14489
14490 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14491
14492 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14493
14494 * makesum.el (double-column): Remove unused variable `cnt'.
14495
14496 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14497 (ido-ignore-item-temp-list): Declare.
14498
14499 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14500 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14501 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14502 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14503 `mouse-col-delta'.
14504
14505 * mouse-sel.el (mouse-extend-internal):
14506 Remove unused variable `orig-window-frame'.
14507
14508 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14509 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14510 Move declarations before first use.
14511 (pcomplete-opt): Mark unused parameters; doc fix.
14512
14513 * proced.el (proced-revert): Mark unused parameter.
14514 (proced-send-signal): Remove unused variable `err'.
14515
14516 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14517 Rename parameter PREFIX-ARG to ARG.
14518 (ps-basic-plot-string, ps-basic-plot-whitespace):
14519 Mark unused parameters.
14520
14521 * replace.el (replace-count): Define.
14522 (occur-revert-function): Mark unused parameters.
14523 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14524 (isearch-case-fold-search, isearch-string): Declare.
14525 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14526 bind `case-fold-search'. Remove unused variables `beg' and `end',
14527 and simplify.
14528 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14529 COUNT and bind `replace-count'.
14530 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14531 to COUNT.
14532
14533 * savehist.el (print-readably, print-string-length): Declare.
14534
14535 * shadowfile.el (shadow-expand-cluster-in-file-name):
14536 Remove unused variable `cluster'.
14537 (shadow-copy-file): Remove unused variable `i'.
14538 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14539 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14540 (shadow-define-literal-group, shadow-define-regexp-group)
14541 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14542
14543 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14544 (shell): Use `called-interactively-p'.
14545 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14546
14547 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14548 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14549 (delete-backward-char): Remove unused variable `ocol'.
14550 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14551 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14552 (event-apply-hyper-modifier, event-apply-shift-modifier)
14553 (event-apply-control-modifier, event-apply-meta-modifier):
14554 Mark unused parameters.
14555 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14556 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14557
14558 * speedbar.el (speedbar-ignored-directory-expressions)
14559 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14560 (speedbar-find-file, speedbar-dir-follow)
14561 (speedbar-directory-buttons-follow, speedbar-tag-find)
14562 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14563 (speedbar-buffers-line-directory, speedbar-buffer-click):
14564 Mark unused parameters.
14565 (speedbar-tag-file): Remove unused variable `mode'.
14566 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14567
14568 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14569
14570 * talk.el (talk): Remove unused variable `display'.
14571
14572 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14573 (tar-write-region-annotate): Mark unused parameter.
14574
14575 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14576 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14577 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14578 warning by another.
14579
14580 * time-stamp.el (time-stamp-string-preprocess):
14581 Remove unused variable `require-padding'.
14582
14583 * tree-widget.el (widget-glyph-enable): Declare.
14584 (tree-widget-action): Mark unused parameter.
14585
14586 * w32-fns.el (x-get-selection): Mark unused parameter.
14587 (autoload-make-program, generated-autoload-file): Declare.
14588
14589 * wdired.el (wdired-revert): Mark unused parameters.
14590 (wdired-xcase-word): Remove unused variable `err'.
14591
14592 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14593 (whitespace-help-scroll): Remove unused variable `data-help'.
14594
14595 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14596 (widget-image-insert, widget-after-change, default)
14597 (widget-default-format-handler, widget-default-notify)
14598 (widget-default-prompt-value, widget-info-link-action)
14599 (widget-url-link-action, widget-function-link-action)
14600 (widget-variable-link-action, widget-file-link-action)
14601 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14602 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14603 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14604 (widget-insert-button-action, widget-delete-button-action, visibility)
14605 (widget-documentation-link-action, widget-documentation-string-action)
14606 (widget-const-prompt-value, widget-regexp-match, symbol)
14607 (widget-coding-system-prompt-value)
14608 (widget-key-sequence-value-to-external, sexp)
14609 (widget-sexp-value-to-internal, character, vector, cons)
14610 (widget-choice-prompt-value, widget-boolean-prompt-value)
14611 (widget-color--choose-action): Mark unused parameters.
14612 (widget-item-match-inline, widget-choice-match-inline)
14613 (widget-checklist-match, widget-checklist-match-inline)
14614 (widget-group-match): Rename parameter VALUES to VALS.
14615 (widget-field-value-set): Remove unused variable `size'.
14616 (widget-color-action): Remove unused variables `value' and `start'.
14617
14618 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14619 variable `dir'. Doc fix.
14620 (windmove-find-other-window): Don't pass it.
14621
14622 * window.el (count-windows): Mark unused parameter.
14623 (bw-adjust-window): Remove unused variable `err'.
14624
14625 * woman.el (woman-file-name): Remove unused variable `default'.
14626 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14627 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14628 (global-font-lock-mode): Declare.
14629 (woman-decode-region): Mark unused parameter.
14630 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14631
14632 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14633 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14634 (x-dnd-handle-moz-url): Remove unused variable `title'.
14635 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14636
14637 * xml.el (xml-parse-tag, xml-parse-attlist):
14638 Remove unused variable `pos'.
14639
14640 2011-04-19 Glenn Morris <rgm@gnu.org>
14641
14642 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14643 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14644 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14645 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14646 * calendar/cal-html.el (cal-html-insert-minical):
14647 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14648 (calendar-mark-date-pattern):
14649 Prefix "unused" locals.
14650
14651 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14652 optional argument `style'.
14653
14654 * calendar/appt.el (appt-make-list):
14655 * calendar/cal-china.el (calendar-chinese-date-string):
14656 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14657 (diary-hebrew-yahrzeit):
14658 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14659 * calendar/calendar.el (calendar-generate-window):
14660 * calendar/time-date.el (time-to-days):
14661 Remove unused local variables.
14662
14663 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14664
14665 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14666 glyphless-char-display table.
14667 (tabulated-list-glyphless-char-display): New var.
14668
14669 2011-04-18 Sam Steingold <sds@gnu.org>
14670
14671 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14672 to acknowledgments.
14673
14674 2011-04-17 Glenn Morris <rgm@gnu.org>
14675
14676 * calendar/diary-lib.el (diary-sexp-entry):
14677 * calendar/holidays.el (holiday-sexp):
14678 Set debug-on-error rather than the removed stack-trace-on-error.
14679
14680 2011-04-16 Glenn Morris <rgm@gnu.org>
14681
14682 * progmodes/f90.el: Use lexical-binding.
14683 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14684
14685 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14686
14687 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14688 (mail-mode): Setup mailalias completion here instead.
14689 * mail/mailalias.el: Use lexical-binding.
14690 (pattern, mailalias-done): Declare dynamic.
14691 (mail-completion-at-point-function): New function, from mail-complete.
14692 (mail-complete): Use it.
14693 (mail-completion-expand): New function.
14694 (mail-get-names): Use it.
14695 (mail-directory, mail-directory-process, mail-directory-stream):
14696 Don't use `pattern' for lexically bound arg.
14697
14698 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14699
14700 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14701 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14702 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14703
14704 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14705 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14706 (byte-interactive-p): Define them again, for use when inlining
14707 old code.
14708
14709 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14710
14711 * loadup.el: Use `string-to-number', not `string-to-int'.
14712
14713 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14716 gud-gdb-complete-command.
14717 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14718 (gud-gdb-completion-at-point): New function.
14719 (gud-gdb-completions): Remove.
14720
14721 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14722
14723 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14724 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14725 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14726 whether `executable-find' is bound.
14727
14728 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14729
14730 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * minibuffer.el (completion-in-region-mode-predicate)
14733 (completion-in-region-mode--predicate): New vars.
14734 (completion-in-region, completion-in-region--postch)
14735 (completion-in-region-mode): Use them.
14736 (completion--capf-wrapper): Also return the hook function.
14737 (completion-at-point, completion-help-at-point):
14738 Adjust and provide a predicate.
14739
14740 Preserve arg names for advice of subr and lexical functions (bug#8457).
14741 * help-fns.el (help-function-arglist): Consolidate the subr and
14742 new-byte-code cases. Add argument `preserve-names' to extract names
14743 from the docstring when needed.
14744 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14745 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14746 (ad-arglist): Use help-function-arglist's new arg.
14747 (ad-definition-type): Use cond.
14748
14749 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14750
14751 * autorevert.el (auto-revert-handler):
14752 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14753 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14754 Don't quote lambda.
14755
14756 * image-mode.el (image-transform-set-scale):
14757 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14758
14759 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14760
14761 * net/network-stream.el (network-stream-open-starttls): Only do
14762 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14763 Upgrades via gnutls-cli are too slow to be done opportunistically.
14764
14765 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14766
14767 * dframe.el (dframe-current-frame): Remove spurious quote.
14768
14769 2011-04-12 Glenn Morris <rgm@gnu.org>
14770
14771 * calendar/cal-tex.el (cal-tex-end-document):
14772 Try to automatically use latin1 input if needed.
14773
14774 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14775 Don't try to cons a mark onto an empty element.
14776
14777 2011-04-11 Leo Liu <sdl.web@gmail.com>
14778
14779 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14780 buffers.
14781 (ido-kill-buffer-at-head): Support killing virtual buffers.
14782
14783 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14784
14785 * minibuffer.el (completion-show-inline-help): New var.
14786 (completion--do-completion, minibuffer-complete)
14787 (minibuffer-force-complete, minibuffer-complete-word):
14788 Inhibit minibuffer messages if completion-show-inline-help is nil.
14789
14790 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14791 to avoid interference from inline help (Bug#5849).
14792
14793 2011-04-10 Leo Liu <sdl.web@gmail.com>
14794
14795 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14796 Fix typo.
14797
14798 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14799
14800 * image-mode.el (image-toggle-display-image): Signal an error if
14801 not in Image mode.
14802 (image-transform-mode, image-transform-resize)
14803 (image-transform-set-rotation): Doc fix.
14804 (image-transform-set-resize): Delete.
14805 (image-transform-set-scale, image-transform-fit-to-height)
14806 (image-transform-fit-to-width): Handle image-toggle-display-image
14807 and image-transform-resize directly.
14808
14809 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14810
14811 * doc-view.el (doc-view-fit-width-to-window)
14812 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14813 New functions for fitting the shown image to the Emacs window size.
14814 (doc-view-mode-map): Add bindings for the new functions.
14815
14816 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14817
14818 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14819 Fix typo in docstring.
14820
14821 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14822
14823 * files.el (file-size-human-readable): Produce one digit after
14824 decimal, like "ls -lh" does.
14825
14826 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14827 the file size representation.
14828
14829 * simple.el (list-processes): If async subprocesses are not
14830 available, error out with a clear error message.
14831
14832 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14833
14834 * help.el (help-form-show): New function, to be called from C.
14835 Put help-form output in a buffer named differently than *Help*.
14836
14837 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14838
14839 * files.el (file-size-human-readable): New function.
14840
14841 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14842 computing the representation inline. Don't require `cl'.
14843
14844 2011-04-08 Glenn Morris <rgm@gnu.org>
14845
14846 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14847
14848 * net/browse-url.el (browse-url-firefox):
14849 Test system-type, not system-configuration.
14850
14851 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14852 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14853 Use log-edit-empty-buffer-p. (Bug#7598)
14854
14855 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14856 (rlogin-mode-map): Initialize in the defvar.
14857 (rlogin): Use ignore-errors.
14858
14859 * replace.el (occur-mode-map): Some fixes for menu items.
14860
14861 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14862
14863 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14864
14865 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14866
14867 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14868 issuing unused warnings.
14869
14870 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14871 macro directly.
14872
14873 * simple.el: Lisp reimplement of list-processes. Based on an
14874 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14875 (process-menu-mode): New major mode.
14876 (list-processes--refresh, list-processes):
14877 (process-menu-visit-buffer): New functions.
14878
14879 * files.el (save-buffers-kill-emacs): Don't assume any return
14880 value of list-processes, which is undocumented anyway.
14881
14882 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14883
14884 * emacs-lisp/tabulated-list.el: New file.
14885
14886 * emacs-lisp/package.el: Use Tabulated List mode.
14887 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14888 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14889 table format using Tabulated List mode variables.
14890 (package--push): New macro, replacing package-list-maybe-add.
14891 (package-menu--generate): Use package--push. Renamed from
14892 package--generate-package-list.
14893 (package-menu-refresh, list-packages): Use it.
14894 (package-menu--print-info): Rename from package-print-package.
14895 Return insertion data instead of inserting it directly.
14896 (package-menu-describe-package, package-menu-execute):
14897 Use tabulated-list-get-id.
14898 (package-menu-mark-delete, package-menu-mark-install)
14899 (package-menu-mark-unmark, package-menu-backup-unmark)
14900 (package-menu-mark-obsolete-for-deletion):
14901 Use tabulated-list-put-tag.
14902 (package--list-packages, package-menu-revert)
14903 (package-menu-get-package, package-menu-get-version)
14904 (package-menu-sort-by-column): Functions deleted.
14905 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14906 (package-menu--status-predicate, package-menu--version-predicate)
14907 (package-menu--name-predicate)
14908 (package-menu--description-predicate): Handle arguments in the
14909 Tabulated List format.
14910 (package-list-packages-no-fetch): Call list-packages.
14911
14912 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14913
14914 * files.el (after-find-file-from-revert-buffer): Remove variable.
14915 (after-find-file): Don't bind it.
14916 (revert-buffer-in-progress-p): New variable.
14917 (revert-buffer): Bind it.
14918 Pass nil for `after-find-file-from-revert-buffer'.
14919
14920 * saveplace.el (save-place-find-file-hook): Use new variable
14921 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14922
14923 2011-04-06 Glenn Morris <rgm@gnu.org>
14924
14925 * Makefile.in (AUTOGEN_VCS): New variable.
14926 (autoloads): Use $AUTOGEN_VCS.
14927
14928 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14929 * calendar/calendar.el (calendar-mode-map):
14930 Check for toolkit scroll bars. (Bug#8305)
14931
14932 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14933
14934 * minibuffer.el (completion-in-region--postch)
14935 (completion-in-region-mode): Remove unnecessary messages.
14936
14937 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14938
14939 * font-lock.el (font-lock-refresh-defaults):
14940 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14941 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14942
14943 * info.el (Info-directory-list, Info-read-node-name-2)
14944 (Info-split-parameter-string): Doc fixes.
14945 (Info-virtual-nodes): Reflow docstring.
14946 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14947 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14948 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14949 Fix typos in docstrings.
14950 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14951 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14952 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14953 (Info-restore-desktop-buffer): Mark unused parameters.
14954 (Info-directory-find-file, Info-directory-find-node)
14955 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14956 (Info-virtual-index-find-node, Info-apropos-find-file)
14957 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14958 Mark unused parameters; fix typos in docstrings.
14959 (Info-virtual-index): Remove unused local variable `nodename'.
14960
14961 2011-04-05 Deniz Dogan <deniz@dogan.se>
14962
14963 * net/rcirc.el: Update my e-mail address.
14964 (rcirc-mode-map): Remove M-o binding.
14965
14966 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14967
14968 * startup.el (command-line): Save the cursor's theme-face
14969 directly, instead of using face-override-spec.
14970
14971 * custom.el (load-theme): Minor optimization in assigning faces.
14972
14973 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14974
14975 * help-fns.el (describe-variable): Complete all variables having
14976 documentation, including keywords.
14977 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14978
14979 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14980
14981 Convert to lexical-binding.
14982
14983 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14984 (bs--get-marked-string, bs--get-modified-string)
14985 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14986 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14987 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14988
14989 * ehelp.el (electric-help-execute-extended)
14990 (electric-help-ctrl-x-prefix):
14991 * hexl.el (hexl-revert-buffer-function):
14992 * linum.el (linum-after-change, linum-after-scroll):
14993 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14994
14995 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14996
14997 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14998
14999 * epa-dired.el:
15000 * epa-mail.el:
15001 * epa-hook.el:
15002 * epa-file.el:
15003 * epa.el:
15004 * epg.el: Use lexical binding.
15005
15006 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
15007
15008 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15009
15010 * textmodes/flyspell.el (flyspell-word): Recognize default
15011 dictionary case for flyspell-mark-duplications-exceptions.
15012 Use regexp matching for languages.
15013 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15014 default dictionary (Bug#7926).
15015
15016 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15017
15018 * emacs-lisp/package.el (package--with-work-buffer):
15019 Recognize https URLs.
15020
15021 * net/network-stream.el: Move from gnus/proto-stream.el.
15022 Change prefix to network-stream throughout.
15023 (open-protocol-stream): Merge into open-network-stream, leaving
15024 open-protocol-stream as an alias. Handle nil BUFFER args.
15025
15026 * subr.el (open-network-stream): Move to net/network-stream.el.
15027
15028 2011-04-02 Glenn Morris <rgm@gnu.org>
15029
15030 * find-dired.el (find-exec-terminator): New option.
15031 (find-ls-option): Test for -ls support.
15032 (find-ls-subdir-switches): Test for -b in find-ls-option.
15033 (find-dired, find-grep-dired): Doc fixes.
15034 (find-dired): Use find-exec-terminator.
15035
15036 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15037 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15038 (find-name-arg): Remove purecopy.
15039
15040 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15041 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15042 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15043 accordingly. Don't add the null-device if not needed.
15044
15045 * files.el (save-some-buffers): Doc fix.
15046
15047 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15048
15049 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15050
15051 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15052
15053 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15054 Use `dolist' rather than `mapcar'.
15055
15056 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15057
15058 Add lexical binding.
15059
15060 * subr.el (apply-partially): Use new closures rather than CL.
15061 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15062 (dolist, dotimes): Use slightly different expansion for lexical code.
15063 (functionp): Move to C.
15064 (letrec): New macro.
15065 (with-wrapper-hook): Use it and apply-partially instead of CL.
15066 (eval-after-load): Preserve lexical-binding.
15067 (save-window-excursion, with-output-to-temp-buffer): Turn them
15068 into macros.
15069
15070 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15071
15072 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15073 than the arglist.
15074 (help-add-fundoc-usage): Don't add `Not documented'.
15075 (help-function-arglist): Handle closures, subroutines, and new
15076 byte-code-functions.
15077 (help-make-usage): Remove leading underscores.
15078 (describe-function-1): Handle closures.
15079 (describe-variable): Use special-variable-p for completion.
15080
15081 * files.el (lexical-binding): Declare safe.
15082
15083 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15084 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15085 (pcase): Add `let' pattern.
15086 Change memoization so it actually works.
15087 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15088 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15089 <let>: New case.
15090
15091 * emacs-lisp/macroexp.el: Use lexical binding.
15092 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15093 Don't convert ' to #' without checking that it's indeed quoting
15094 a lambda.
15095
15096 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15097 Use eval-sexp-add-defvars.
15098 (eval-sexp-add-defvars): New fun.
15099
15100 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15101
15102 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15103 Don't autoload.
15104 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15105 than the internal `byte-compile-lambda'.
15106 (defmethod): Don't hide code under quotes.
15107 (eieio-defmethod): New `code' argument.
15108
15109 * emacs-lisp/eieio-comp.el: Remove.
15110
15111 * emacs-lisp/edebug.el (edebug-eval-defun)
15112 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15113 (edebug-toggle): Avoid `eval'.
15114
15115 * emacs-lisp/disass.el (disassemble-internal): Handle new
15116 `closure' objects.
15117 (disassemble-1): Handle new byte codes.
15118
15119 * emacs-lisp/cl.el (pushnew): Silence warning.
15120
15121 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15122 (cl-byte-compile-throw): Remove.
15123 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15124
15125 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15126 closures.
15127
15128 * emacs-lisp/cconv.el: New file.
15129
15130 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15131 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15132 (byte-compile-initial-macro-environment):
15133 Handle declare-function here.
15134 (byte-compile--lexical-environment): New var.
15135 (byte-stack-ref, byte-stack-set, byte-discardN)
15136 (byte-discardN-preserve-tos): New lap codes.
15137 (byte-interactive-p): Don't use any more.
15138 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15139 New macros.
15140 (byte-compile-lapcode): Use them and handle new lap codes.
15141 (byte-compile-obsolete): Remove.
15142 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15143 (byte-compile-arglist-warn): Check late def of inlinable funs.
15144 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15145 since they should have been expanded by now.
15146 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15147 (byte-compile-from-buffer): Remove unused second arg.
15148 (byte-compile-preprocess): New function.
15149 (byte-compile-toplevel-file-form): New function to distinguish
15150 file-form calls from outside from file-form calls from hunk-handlers.
15151 (byte-compile-file-form): Simplify.
15152 (byte-compile-file-form-defsubst): Remove.
15153 (byte-compile-file-form-defmumble): Simplify now that
15154 byte-compile-lambda always returns a byte-code-function.
15155 (byte-compile): Preprocess.
15156 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15157 Remove, not used any more.
15158 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15159 (byte-compile-make-args-desc): New funs.
15160 (byte-compile-lambda): Handle lexical functions. Always return
15161 a byte-code-function.
15162 (byte-compile-reserved-constants): New var, to make up room for
15163 closed-over variables.
15164 (byte-compile-constants-vector): Obey it.
15165 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15166 (byte-compile-macroexpand-declare-function): New function.
15167 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15168 byte-code-functions.
15169 (byte-compile-form): Check obsolescence here.
15170 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15171 (byte-compile-variable-ref): Remove.
15172 (byte-compile-dynamic-variable-op): New fun.
15173 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15174 (byte-compile-variable-set): New funs.
15175 (byte-compile-discard): Add 2 args.
15176 (byte-compile-stack-ref, byte-compile-stack-set)
15177 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15178 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15179 macroexpand-all instead.
15180 (byte-compile-quote-form): Remove.
15181 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15182 (byte-compile-bind, byte-compile-unbind): New funs.
15183 (byte-compile-let): Handle let* and lexical binding.
15184 (byte-compile-let*): Remove.
15185 (byte-compile-catch, byte-compile-unwind-protect)
15186 (byte-compile-track-mouse, byte-compile-condition-case):
15187 Handle a new :fun-body form, used for lexical scoping.
15188 (byte-compile-save-window-excursion)
15189 (byte-compile-with-output-to-temp-buffer): Remove.
15190 (byte-compile-defun): Simplify.
15191 (byte-compile-stack-adjustment): New fun.
15192 (byte-compile-out): Use it.
15193 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15194
15195 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15196 handler any more.
15197
15198 * emacs-lisp/byte-opt.el: Use lexical binding.
15199 (byte-inline-lapcode): Remove (to bytecomp).
15200 (byte-compile-inline-expand): Pay attention to inlining to/from
15201 lexically bound code.
15202 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15203 any more.
15204 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15205 any more and don't call compiler-macros.
15206 (byte-compile-splice-in-already-compiled-code): Remove.
15207 (byte-code): Don't inline any more.
15208 (disassemble-offset): Receive `bytes' as argument rather than via
15209 dynamic scoping.
15210 (byte-compile-tag-number): Declare before first use.
15211 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15212 `return' even if make-spliceable.
15213 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15214 obsolete interactive-p.
15215 (byte-optimize-lapcode): Optimize new lap-codes.
15216 Don't trip up on new form of `byte-constant' lap code.
15217
15218 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15219
15220 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15221
15222 * custom.el (custom-initialize-default, custom-declare-variable):
15223 Use `defvar'.
15224
15225 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15226 New variables.
15227 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15228 (COMPILE_FIRST): Add macroexp and cconv.
15229 * makefile.w32-in: Mirror changes in Makefile.in.
15230
15231 * vc/cvs-status.el:
15232 * vc/diff-mode.el:
15233 * vc/log-edit.el:
15234 * vc/log-view.el:
15235 * vc/smerge-mode.el:
15236 * textmodes/bibtex-style.el:
15237 * textmodes/css.el:
15238 * startup.el:
15239 * uniquify.el:
15240 * minibuffer.el:
15241 * newcomment.el:
15242 * reveal.el:
15243 * server.el:
15244 * mpc.el:
15245 * emacs-lisp/smie.el:
15246 * doc-view.el:
15247 * dired.el:
15248 * abbrev.el: Use lexical binding.
15249
15250 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15251
15252 * info.el (info-display-manual): New function.
15253
15254 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15255
15256 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15257
15258 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15259
15260 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15261 an entry for that server in rcirc-authinfo. (Bug#8385)
15262
15263 2011-03-31 Glenn Morris <rgm@gnu.org>
15264
15265 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15266
15267 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15268
15269 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15270
15271 * progmodes/python.el (python-default-interpreter)
15272 (python-python-command-args, python-jython-command-args)
15273 (python-which-shell, python-which-args, python-which-bufname)
15274 (python-file-queue, python-comint-output-filter-function)
15275 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15276 variables and functions.
15277
15278 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15279
15280 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15281 (completion-in-region-mode): New minor mode.
15282 (completion-in-region): Use it.
15283 (completion-in-region--data, completion-in-region-mode-map): New vars.
15284 (completion-in-region--postch): New function.
15285 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15286 New vars.
15287 (completion--capf-wrapper): New function.
15288 (completion-at-point): Use it to track well-behavedness of
15289 hook functions.
15290 (completion-help-at-point): New command.
15291
15292 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15293
15294 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15295 syntax class to search for whitespace on a single line
15296 (Message-ID: <4D938140.4030905@redhat.com>).
15297
15298 2011-03-30 Leo Liu <sdl.web@gmail.com>
15299
15300 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15301 New commands.
15302 (edit-abbrevs-map): Bind them here.
15303 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15304
15305 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15306
15307 * allout.el (allout-hide-by-annotation, allout-flag-region):
15308 Reduce possibility of overlay leakage by making them volatile.
15309
15310 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15311 hash is not shared between buffers. Mode initialization is
15312 responsible for giving it a useful starting value.
15313 (allout-item-span): Reduce possibility of overlay leakage by
15314 making them volatile.
15315 (allout-widgets-count-buttons-in-region): Add diagnostic function
15316 for tracking down button overlay leaks.
15317
15318 2011-03-29 Leo Liu <sdl.web@gmail.com>
15319
15320 * ido.el (ido-read-internal): Use the default history var
15321 minibuffer-history if no HISTORY is specified.
15322
15323 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15324
15325 * net/imap.el (imap-shell-open, imap-process-connection-type):
15326 Use imap-process-connection-type for 'shell' streams as well as
15327 Kerberos, SSL, other subprocesses.
15328
15329 2011-03-28 Leo Liu <sdl.web@gmail.com>
15330
15331 * abbrev.el (abbrev-table-empty-p): New function.
15332 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15333 nonempty ones. (Bug#5937)
15334
15335 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15336
15337 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15338
15339 2011-03-27 Leo Liu <sdl.web@gmail.com>
15340
15341 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15342 for foreground and background colors.
15343 (ansi-color-make-color-map): Adapt.
15344
15345 2011-03-25 Leo Liu <sdl.web@gmail.com>
15346
15347 * midnight.el (midnight-time-float): Remove. Note it calculates
15348 the microsecond component incorrectly and seconds-to-time does the
15349 same job.
15350 Remove redundant (require 'timer).
15351
15352 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15353 (ido-completions): Remove unused arguments. (Bug#8329)
15354
15355 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15356
15357 * minibuffer.el (completion--flush-all-sorted-completions):
15358 Remove itself from hook.
15359 (completion-at-point): Let the functions perform the completion
15360 immediately and return nil or t.
15361 * comint.el (comint-dynamic-complete-functions): Now identical to
15362 completion-at-point-functions.
15363 (comint-dynamic-list-input-ring): Remove unused var `index'.
15364 (comint--match-partial-filename, comint--unquote&expand-filename):
15365 New funs, split from comint-match-partial-filename.
15366 (comint-dynamic-complete): Use completion-at-point.
15367 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15368
15369 2011-03-24 Drew Adams <drew.adams@oracle.com>
15370
15371 * thingatpt.el: Support `defun'.
15372
15373 2011-03-23 Leo Liu <sdl.web@gmail.com>
15374
15375 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15376
15377 * help-mode.el (help-mode-finish): Tweak regexp.
15378
15379 2011-03-23 Glenn Morris <rgm@gnu.org>
15380
15381 * eshell/esh-opt.el (eshell-eval-using-options):
15382 Do not bind unused local variable `eshell-option-stub'.
15383
15384 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15385
15386 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15387
15388 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15389 keymap variable in `with-no-warnings' to avoid a warning when the
15390 keymap has been already `defconst'ed.
15391
15392 2011-03-22 Leo Liu <sdl.web@gmail.com>
15393
15394 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15395 encode all chars in abbrevs; otherwise use emacs-mule or
15396 utf-8-emacs. (Bug#8308)
15397
15398 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15399
15400 * simple.el (backward-delete-char-untabify):
15401 Avoid warning about using `delete-backward-char'.
15402
15403 * image.el (image-type-file-name-regexps): Make it variable.
15404 `imagemagick-register-types' modifies it, and the user may want
15405 to add new extensions for known image types.
15406 (imagemagick-register-types): Throw error if not using ImageMagick.
15407
15408 2011-03-22 Leo Liu <sdl.web@gmail.com>
15409
15410 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15411 located before rcirc-prompt-end-marker.
15412 (rcirc-complete): Error if point is not after rcirc prompt.
15413 Handle the case when table is nil.
15414 (rcirc-user-authenticated): Define to fix compiler warning.
15415
15416 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15417
15418 * custom.el (custom--inhibit-theme-enable): Make it affect only
15419 custom-theme-set-variables and custom-theme-set-faces.
15420 (provide-theme): Ignore custom--inhibit-theme-enable.
15421 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15422 (custom-enabling-themes): Delete variable.
15423 (enable-theme): Accept only loaded themes as arguments.
15424 Ignore the special custom-enabled-themes variable.
15425 (custom-enabled-themes): Forbid themes from setting this.
15426 Eliminate use of custom-enabling-themes.
15427 (custom-push-theme): Quote "changed" custom var entry.
15428
15429 2011-03-21 Leo Liu <sdl.web@gmail.com>
15430
15431 * ido.el (ido-read-internal): Add ido-selected to history instead
15432 of user input.
15433
15434 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15435
15436 * subr.el (deferred-action-list, deferred-action-function):
15437 Mark obsolete.
15438
15439 2011-03-21 Leo Liu <sdl.web@gmail.com>
15440
15441 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15442 change on 2011-02-13 (bug#8309).
15443
15444 * minibuffer.el (read-file-name-function): Change default value.
15445 (read-file-name--defaults): Rename from read-file-name-defaults.
15446 (read-file-name-default): Rename from read-file-name.
15447 (read-file-name): Call read-file-name-function.
15448
15449 2011-03-21 Glenn Morris <rgm@gnu.org>
15450
15451 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15452 Doc fixes.
15453
15454 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15455
15456 * cus-theme.el: Add missing provide statement.
15457 (customize-create-theme): Extract theme value correctly.
15458 (custom-theme-visit-theme): Autoload.
15459 (customize-create-theme): Prompt before inserting default faces.
15460
15461 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15462
15463 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15464 units and musical notes.
15465
15466 2011-03-20 Leo Liu <sdl.web@gmail.com>
15467
15468 * ido.el (ido-read-internal): Use completing-read-default.
15469 (ido-completing-read): Fix compatibility with completing-read.
15470
15471 2011-03-20 Christian Ohler <ohler@gnu.org>
15472
15473 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15474 (ert-delete-all-tests): Use `called-interactively-p' rather than
15475 `interactive-p'.
15476 (ert--make-xrefs-region): Respect END.
15477
15478 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15479
15480 * dired-aux.el (dired-create-directory): Signal an error if the
15481 directory already exists (Bug#8246).
15482
15483 * facemenu.el (list-colors-display): Call list-faces-display
15484 inside with-help-window.
15485 (list-colors-print): Use display property to align the final
15486 column, instead of checking window-width.
15487
15488 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15489
15490 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15491 windows-nt systems.
15492 (emerge-protect-metachars): Quote correctly for ms-dos and
15493 windows-nt systems.
15494
15495 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15496
15497 * info.el (info-initialize): Replace all uses of `:' with
15498 path-separator for compatibility with non-Unix systems.
15499 Cache quoting of path-separator. (Bug#8258)
15500
15501 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15502
15503 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15504 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15505 (mouse-avoidance-mode): Fix typos in docstrings.
15506
15507 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15508
15509 * startup.el (package-subdirectory-regexp): Move from package.el.
15510 Omit \\` and \\', and let callers add them.
15511
15512 * emacs-lisp/package.el (package-strip-version)
15513 (package-load-all-descriptors): Add \\` and \\' to
15514 package-subdirectory-regexp before using it.
15515 (package-untar-buffer): New arg DIR; ensure that file untars only
15516 into this expected directory. Remove superfluous delete-region.
15517 (package-unpack): Caller changed.
15518 (package-tar-file-info): Use package-subdirectory-regexp.
15519
15520 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15521
15522 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15523 diff-mode-shared-map (bug#8284).
15524 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15525
15526 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15527
15528 * calendar/time-date.el (format-seconds): Use assoc instead of
15529 assoc-string, since assoc-string doesn't exist in XEmacs.
15530
15531 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15532
15533 * custom.el (custom-known-themes): Reflow docstring.
15534 (custom-theme-load-path): Fix typo in docstring.
15535 (load-theme): Fix typo in error message.
15536 (custom-available-themes, custom-variable-theme-value):
15537 Use `let', not `let*'.
15538
15539 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15540
15541 * calc/README: Mention inclusion of musical notes.
15542
15543 * calc/calc-units.el (calc-lu-quant): Rename from
15544 `calc-logunits-quantity'.
15545 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15546 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15547 (calc-db): Rename from `calc-dblevel'.
15548 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15549 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15550 (calc-np): Rename from `calc-nplevel'.
15551 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15552 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15553 (calc-lu-plus): Rename from `calc-logunits-add'.
15554 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15555 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15556 (calc-lu-minus): Rename from `calc-logunits-sub'.
15557 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15558 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15559 (calc-lu-times): Rename from `calc-logunits-mul'.
15560 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15561 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15562 (calc-lu-divide): Rename from `calc-logunits-div'.
15563 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15564 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15565
15566 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15567 functions being autoloaded.
15568
15569 * calc/calc.el (calc-lu-power-reference): Rename from
15570 `calc-logunits-power-reference'.
15571 (calc-lu-field-reference): Rename from
15572 `calc-logunits-field-reference'.
15573
15574 * calc/calc-help.el (calc-l-prefix-help):
15575 Mention musical note functions.
15576
15577 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15578
15579 * minibuffer.el (completion-all-sorted-completions):
15580 Use :completion-cycle-penalty text property if present.
15581
15582 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15583
15584 * allout.el (allout-yank-processing): Adjust for new rebulleting
15585 regime so bullet being yanked is used without prompting the user
15586 for a choice.
15587
15588 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15589
15590 * startup.el (command-line): Warn the user that _emacs is deprecated.
15591
15592 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15593
15594 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15595 (delphi-verbose, delphi-comment-face, delphi-string-face)
15596 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15597 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15598 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15599 (delphi-new-comment-line, delphi-font-lock-defaults)
15600 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15601 Fix typos in docstrings.
15602
15603 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15604
15605 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15606 Invert the roles of character and string values for INSTEAD, so a
15607 string is used for the more common case of a defaulting prompt.
15608
15609 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15610
15611 * progmodes/ruby-mode.el (ruby-backward-sexp):
15612 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15613 * play/gamegrid.el (gamegrid-make-face):
15614 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15615 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15616 * notifications.el (notifications-notify):
15617 * net/xesam.el (xesam-search-engines):
15618 * net/quickurl.el (quickurl-list-insert):
15619 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15620
15621 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15622
15623 * startup.el (command-line): Update package subdirectory regexp.
15624
15625 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15626
15627 * allout.el (allout-abbreviate-flattened-numbering)
15628 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15629
15630 * subr.el (read-char-choice): Only show the cursor after the prompt,
15631 not after the answer.
15632
15633 2011-03-15 Kevin Ryde <user42@zip.com.au>
15634
15635 * help-fns.el (variable-at-point): Skip leading quotes, if any
15636 (bug#8253).
15637
15638 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15641 warning message.
15642
15643 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15644
15645 * shell.el (shell): When called interactively, offer to change the
15646 shell file name on remote hosts.
15647
15648 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15649
15650 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15651 integration for LDAP parameters. The host, base, user or binddn,
15652 and secret tokens can be specified in a netrc file, for instance.
15653 This is optional because an `auth-source' parameter must be
15654 specified in the search attributes.
15655
15656 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15657
15658 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15659
15660 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15661
15662 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15663 into declaration. Remove redundant and harmful binding.
15664
15665 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15666
15667 * files.el (file-ownership-preserved-p): Pass `integer' as an
15668 explicit 2nd argument to `file-attributes'. If the file's owner
15669 is the Administrators group on Windows, and the current user is
15670 Administrator, consider that a match.
15671
15672 * server.el (server-ensure-safe-dir): Consider server directory
15673 safe on MS-Windows if its owner is the Administrators group while
15674 the current Emacs user is Administrator. Use `=' to compare
15675 numerical UIDs, since they could be integers or floats.
15676
15677 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15678
15679 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15680
15681 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15682
15683 Sync with Tramp 2.2.1.
15684
15685 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15686
15687 * net/trampver.el: Update release number.
15688
15689 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15690
15691 * progmodes/compile.el (compilation--previous-directory): Fix up
15692 various nil/dead-marker mismatches (bug#8014).
15693 (compilation-directory-properties, compilation-error-properties):
15694 Don't call it at a position past the one we're about to change.
15695
15696 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15697 Disable obsolescence warnings in the file that declares it.
15698
15699 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15700
15701 * allout-widgets.el (allout-widgets-tally):
15702 Initialize allout-widgets-tally as a hash table rather than nil to
15703 prevent mode-line redisplay warnings. Also, clarify the module
15704 description and fix a comment typo.
15705
15706 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15707
15708 * help-fns.el (describe-variable): Don't complete keywords.
15709 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15710
15711 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15712
15713 * emacs-lisp/package.el (package-version-join): Impose a standard
15714 string representation for pre/alpha/beta version lists.
15715 (package-unpack-single): Standardize the directory name by passing
15716 it through package-version-join.
15717 (package-strip-rcs-id): Accept any version string that does not
15718 signal an error in version-to-list.
15719
15720 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15721
15722 * simple.el (delete-trailing-whitespace): Return nil for the
15723 benefit of `write-file-functions'.
15724
15725 2011-03-10 Glenn Morris <rgm@gnu.org>
15726
15727 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15728
15729 * vc/vc-git.el (vc-git-program): New option.
15730 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15731 (vc-git--call): Use it.
15732
15733 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15734
15735 * cus-edit.el (Custom-newline): If no button at point, look
15736 for a subgroup button at start-of-line. (Bug#2298)
15737
15738 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15739
15740 2011-03-10 Julien Danjou <julien@danjou.info>
15741
15742 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15743 `cursor-type' is nil.
15744
15745 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15746
15747 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15748
15749 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15750
15751 * allout.el: Change so yank of distinctive-bullet items
15752 preserves the existing header prefix, rebulleting it if necessary,
15753 rather than replacing it. This is necessary for proper operation
15754 of cooperative addons like allout-widgets.
15755 (allout-make-topic-prefix, allout-rebullet-heading):
15756 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15757 value as alternate bullet to be used, instead of prompting the user
15758 for a bullet character.
15759
15760 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15761
15762 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15763 Do not use `tramp-file-name-port', because this returns also
15764 `tramp-default-port'.
15765
15766 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15767
15768 * net/rcirc.el (rcirc-handler-001): Remove useless
15769 with-rcirc-process-buffer.
15770 (rcirc-check-auth-status): Swap arguments to string-match.
15771
15772 2011-03-09 Glenn Morris <rgm@gnu.org>
15773
15774 * shell.el (shell-mode):
15775 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15776
15777 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15778 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15779
15780 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15781
15782 * emacs-lisp/package.el (package-refresh-contents)
15783 (package-menu-execute): Use condition-case-no-debug.
15784
15785 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15786
15787 * simple.el (shell-command-to-string): Use `process-file'.
15788
15789 * emacs-lisp/package.el (package-tar-file-info): Handle also
15790 remote files.
15791
15792 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15793 Use `equal' for upload base check.
15794
15795 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15796
15797 * textmodes/texinfo.el (texinfo-environments):
15798 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15799
15800 2011-03-08 Glenn Morris <rgm@gnu.org>
15801
15802 * cus-start.el (cursor-in-non-selected-windows):
15803 Fix :set quoting oddness. (Bug#8192)
15804
15805 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15806 in some setf expressions. (Bug#2159)
15807
15808 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15809
15810 * custom.el (custom-available-themes): Return themes in
15811 alphabetical order.
15812
15813 See ChangeLog.15 for earlier changes.
15814
15815 ;; Local Variables:
15816 ;; coding: utf-8
15817 ;; End:
15818
15819 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15820
15821 This file is part of GNU Emacs.
15822
15823 GNU Emacs is free software: you can redistribute it and/or modify
15824 it under the terms of the GNU General Public License as published by
15825 the Free Software Foundation, either version 3 of the License, or
15826 (at your option) any later version.
15827
15828 GNU Emacs is distributed in the hope that it will be useful,
15829 but WITHOUT ANY WARRANTY; without even the implied warranty of
15830 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15831 GNU General Public License for more details.
15832
15833 You should have received a copy of the GNU General Public License
15834 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.