02c81a1018d6668996c09d6e40492020523f7bda
[bpt/emacs.git] / lisp / ChangeLog
1 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2
3 * server.el (server-process-filter): Remember dir in the
4 process's `server-client-directory' properties.
5
6 2012-06-24 Chong Yidong <cyd@gnu.org>
7
8 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9 non-tag text.
10
11 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12
13 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
14
15 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * help-fns.el (describe-variable): Don't croak when doc is not found.
18 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
19 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
20 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
21 * emacs-lisp/smie.el (smie-next-sexp): CSE.
22 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
23 ((lambda ..) ..).
24 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
25
26 2012-06-23 Chong Yidong <cyd@gnu.org>
27
28 * info.el (Info-mouse-follow-link): Accept symbol values of
29 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
30 (Info-fontify-node): Use Info-link-keymap for all navigation
31 buttons, with link-args property to perform the desired action.
32 (Info-link-keymap): Doc fix.
33 (Info-next-link-keymap, Info-prev-link-keymap)
34 (Info-up-link-keymap): Delete now-unused keymaps.
35
36 2012-06-23 Chong Yidong <cyd@gnu.org>
37
38 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
39
40 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
41 system abbrevs.
42
43 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
44
45 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
48 (bug#11719).
49
50 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
51 the requote function doesn't work properly (bug#11714).
52
53 2012-06-23 Glenn Morris <rgm@gnu.org>
54
55 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
56
57 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 Further GV/CL cleanups.
60 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
61 gv-expander.
62 (gv--defun-declaration): New function.
63 (defun-declarations-alist): Use it.
64 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
65 (gv-place): Autoload.
66 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
67 original definition of dotimes and dolist.
68 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
69 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
70 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
71 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
72 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
73 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
74 to the function's definition.
75 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
76 * window.el:
77 * files.el:
78 * faces.el:
79 * env.el: Don't use CL.
80
81 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
82
83 Support higher-resolution time stamps (Bug#9000).
84
85 * calendar/time-date.el (with-decoded-time-value): New arg
86 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
87 (encode-time-value): New optional arg PICO. New type 3.
88 (time-to-seconds) [!float-time]: Support the new picoseconds
89 component if it's used.
90 (seconds-to-time, time-subtract, time-add):
91 Support ps-resolution time stamps as well.
92
93 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
94 (timerp): Timer vectors now have length 9, not 8.
95 (timer--time): Support new-style (4-part) time stamps.
96 (timer-next-integral-multiple-of-time): Time stamps now have
97 picosecond resolution, so take a bit more care about rounding.
98 (timer-relative-time, timer-inc-time): New optional arg psecs.
99 (timer-set-time-with-usecs): Set psecs to 0.
100 (timer--activate): Check psecs component, too.
101
102 * proced.el (proced-time-lessp): Support ps-resolution stamps.
103
104 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
107 Move the non-essential binding to the post/pre-command-hook where it is
108 more obviously correct.
109
110 * subr.el (read-passwd): Don't use a history at all.
111 * savehist.el (savehist-save): Remove password saved accidentally
112 because of the above bug.
113
114 2012-06-22 Bastien Guerry <bzg@gnu.org>
115
116 * files.el (toggle-read-only): Display a message telling whether
117 the buffer is read-only or not (bug#11726).
118
119 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
120
121 * emacs-lisp/gv.el: New file.
122 * subr.el (push, pop): Extend to generalized variables.
123 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
124 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
125 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
126 gv-define-simple-setter, and gv-define-expander.
127 Remove setf-methods defined in gv. Rename cl-setf -> setf.
128 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
129 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
130 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
131 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
132 gv-letplace.
133 (cl-defstruct): Don't define setf-method any more.
134 * emacs-lisp/cl.el (flet): Don't autoload.
135 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
136 (define-setf-expander, defsetf, define-modify-macro)
137 (cl-struct-setf-expander): Move from cl-lib.el.
138 * emacs-lisp/syntax.el:
139 * emacs-lisp/ewoc.el:
140 * emacs-lisp/smie.el:
141 * emacs-lisp/cconv.el:
142 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
143 (timer--time): Use gv-define-simple-setter.
144 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
145 to avoid coding-system problems in subr.el. Adjust all users.
146 (macroexp--maxsize, macroexp-small-p): New functions.
147 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
148 * scroll-bar.el (scroll-bar-mode):
149 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
150 (normal-erase-is-backspace-mode): Don't use the `eq' place.
151 * winner.el (winner-configuration, winner-make-point-alist)
152 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
153 * files.el (locate-file-completion-table): Avoid list*.
154
155 2012-06-22 Chong Yidong <cyd@gnu.org>
156
157 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
158 (dired-create-files): Doc fix (Bug#11329).
159 (dired-do-copy): Doc fix (Bug#11334).
160 (dired-mark-read-string): Doc fix (Bug#11553).
161
162 * dired.el (dired-recursive-copies, dired-recursive-deletes):
163 Doc fix (Bug#11326).
164 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
165 (dired-dwim-target): Doc fix.
166
167 * wdired.el (wdired-mode): Doc fix.
168
169 2012-06-22 Glenn Morris <rgm@gnu.org>
170
171 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
172 (pcmpl-rpm-cache-stamp-file): New constant.
173 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
174 (pcmpl-rpm-packages): Optionally cache list of packages.
175
176 * pcmpl-rpm.el (pcmpl-rpm): New group.
177 (pcmpl-rpm-query-options): New option.
178 (pcmpl-rpm-packages): No need to inline it.
179 Use pcmpl-rpm-query-options.
180
181 * calendar/calendar.el (calendar-in-read-only-buffer):
182 Avoid some needless mode changes.
183
184 2012-06-21 Chong Yidong <cyd@gnu.org>
185
186 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
187 (desktop-path): Remove . from the default value (Bug#10977).
188 (desktop-read): Use user-emacs-directory if desktop-path is nil.
189
190 2012-06-20 Chong Yidong <cyd@gnu.org>
191
192 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
193
194 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
195
196 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
197 (bug#11201).
198
199 2012-06-20 Chong Yidong <cyd@gnu.org>
200
201 * term.el (term-window-width): Handle the case of a missing right
202 fringe (Bug#8837).
203 (term-check-size): Use window-text-height (Bug#5445).
204 (term-mode): Use define-derived-mode. Minor cleanups.
205 Set font-lock-defaults (Bug#7692).
206 (term-move-columns, term-insert-char, term-emulate-terminal)
207 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
208
209 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
210
211 * net/ange-ftp.el (ange-ftp-get-passwd):
212 Bind `enable-recursive-minibuffers'.
213 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
214
215 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
216
217 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
218
219 2012-06-19 Glenn Morris <rgm@gnu.org>
220
221 * progmodes/python.el (python-mode): Derive from prog-mode.
222
223 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
224
225 * emulation/edt.el (edt-default-menu-bar-update-buffers)
226 (edt-user-menu-bar-update-buffers): New functions.
227 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
228
229 2012-06-19 Chong Yidong <cyd@gnu.org>
230
231 * subr.el (with-selected-window): Preserve the selected window's
232 terminal's top-frame (Bug#4702).
233
234 * window.el (save-selected-window): Likewise.
235
236 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * progmodes/python.el (python-rx-constituents): Move backquote.
239 (python-skeleton-define, python-define-auxiliary-skeleton):
240 Use `declare'.
241
242 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
243
244 * minibuffer.el (read-file-name-default): Revert the patch from
245 2012-06-17.
246
247 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
248
249 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
250 (pcase--u1, pcase--q1): Don't use apply-partially.
251
252 2012-06-18 Glenn Morris <rgm@gnu.org>
253
254 * progmodes/python.el (python-proc, python-buffer)
255 (python-send-receive, python-send-string): Fix obsolete versions.
256
257 2012-06-18 Martin Rudalics <rudalics@gmx.at>
258
259 * window.el (special-display-p): Completely remove stringp
260 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
261
262 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
263
264 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
265
266 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
267
268 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
269 * net/tramp-sh.el (tramp-maybe-open-connection):
270 Throw if `non-essential' is non-nil.
271
272 2012-06-17 Martin Rudalics <rudalics@gmx.at>
273
274 * window.el (special-display-p): Signal an error if BUFFER-NAME
275 is not a string (Bug#11713).
276
277 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
278
279 * progmodes/python.el (python-info-beginning-of-backslash):
280 Rename from python-info-beginning-of-backlash, as a spelling fix.
281
282 2012-06-17 Chong Yidong <cyd@gnu.org>
283
284 * term.el (term-emulate-terminal): If term-check-size is called,
285 move point to the process mark without resetting point (Bug#4635).
286
287 2012-06-17 Glenn Morris <rgm@gnu.org>
288
289 * international/mule-cmds.el (mule-menu-keymap)
290 (set-language-environment, set-locale-environment): Doc tweaks.
291
292 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
293
294 * cus-face.el (custom-face-attributes): Add wave-style underline
295 attribute.
296 * faces.el (set-face-attribute): Update docstring to describe
297 wave-style underline attribute.
298
299 2012-06-16 Chong Yidong <cyd@gnu.org>
300
301 * term/xterm.el (terminal-init-xterm): Discard input before
302 querying background mode (Bug#10959).
303
304 2012-06-16 Stefan Merten <smerten@oekonux.de>
305
306 * textmodes/rst.el: Added and corrected some comments.
307 (rst-re-alist-def): Improve symbol syntax.
308 (rst-mode-syntax-table): Correct syntax entries.
309 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
310 (rst-official-version, rst-official-cvs-rev): Update version
311 information.
312
313 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
314
315 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
316 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
317
318 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
319
320 * progmodes/python.el: New python.el merge.
321 (python-guess-indent): Obsolete var.
322 (python-indent-guess-indent-offset): New defcustom.
323 (python-indent): Obsolete var.
324 (python-indent-offset): New defcustom.
325 (python-python-command, python-jython-command): Delete var.
326 (python-shell-interpreter): New defcustom.
327 (python-pdbtrack-do-tracking-p): Delete var.
328 (python-pdbtrack-activate): New defcustom.
329 (python-use-skeletons): Obsolete var.
330 (python-skeleton-autoinsert): New defcustom.
331 (inferior-python-filter-regexp, python-continuation-offset)
332 (python-honour-comment-indentation, python-indent-string-contents)
333 (python-jython-packages, python-mode-hook)
334 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
335 (python-shell-prompt-alist)
336 (python-source-modes): Delete defcustoms.
337 (python-check-buffer-name, python-eldoc-setup-code)
338 (python-eldoc-string-code, python-ffap-setup-code)
339 (python-ffap-string-code, python-fill-comment-function)
340 (python-fill-decorator-function, python-fill-paren-function)
341 (python-fill-string-function, python-imenu-include-defun-type)
342 (python-imenu-make-tree, python-imenu-subtree-root-label)
343 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
344 (python-shell-compilation-regexp-alist)
345 (python-shell-completion-module-string-code)
346 (python-shell-completion-pdb-string-code)
347 (python-shell-completion-setup-code)
348 (python-shell-completion-string-code)
349 (python-shell-enable-font-lock, python-shell-exec-path)
350 (python-shell-extra-pythonpaths)
351 (python-shell-internal-buffer-name, python-shell-interpreter-args)
352 (python-shell-process-environment)
353 (python-shell-prompt-block-regexp)
354 (python-shell-prompt-output-regexp)
355 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
356 (python-shell-send-setup-max-wait, python-shell-setup-codes)
357 (python-shell-virtualenv-path): New defcustoms.
358 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
359 (inferior-python-mode-syntax-table, python--prompt-regexp)
360 (python-buffer, python-command python-python-command)
361 (python-default-template, python-imports, python-indent-index)
362 (python-indent-list, python-indent-list-length)
363 (python-mode-running, python-pdbtrack-is-tracking-p)
364 (python-preoutput-continuation, python-preoutput-leftover)
365 (python-preoutput-result, python-preoutput-skip-next-prompt)
366 (python-prev-dir/file, python-recursing)
367 (python-saved-check-command, python-version-checked)
368 (python-which-func-length-limit)
369 (view-return-to-alist): Delete vars.
370 (python-check-custom-command, python-dotty-syntax-table)
371 (python-imenu-index-alist, python-indent-current-level)
372 (python-indent-dedenters, python-indent-levels)
373 (python-nav-beginning-of-defun-regexp)
374 (python-nav-list-defun-positions-cache)
375 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
376 (python-shell-internal-buffer)
377 (python-skeleton-available): New vars.
378 (def-python-skeleton): Delete macro.
379 (python-skeleton-define): New macro.
380 (python-define-auxiliary-skeleton, python-rx): New macros.
381 (python-insert-class): Delete command.
382 (python-skeleton-class): New command.
383 (python-insert-def): Delete command.
384 (python-skeleton-def): New command.
385 (python-insert-for): Delete command.
386 (python-skeleton-for): New command.
387 (python-insert-if): Delete command.
388 (python-skeleton-if): New command.
389 (python-insert-try/except, python-insert-try/finally): Delete commands.
390 (python-skeleton-try): New command.
391 (python-insert-while): Delete command.
392 (python-skeleton-while): New command.
393 (python-backspace): Delete command.
394 (python-indent-dedent-line-backspace): New command.
395 (python-electric-colon): Delete command.
396 (python-indent-electric-colon): New command.
397 (python-guess-indent): Delete command.
398 (python-indent-guess-indent-offset): New command.
399 (python-shift-left): Delete command.
400 (python-indent-shift-left): New command.
401 (python-shift-right): Delete command.
402 (python-indent-shift-right): New command.
403 (python-find-function): Delete command.
404 (python-nav-jump-to-defun): New command.
405 (python-next-statement): Delete command.
406 (python-nav-forward-sentence): New command.
407 (python-previous-statement): Delete command.
408 (python-nav-backward-sentence): New command.
409 (python-fill-paragraph): Delete command.
410 (python-fill-paragraph-function): New command.
411 (python-send-buffer): Delete command.
412 (python-shell-send-buffer): New command.
413 (python-send-defun): Delete command.
414 (python-shell-send-defun): New command.
415 (python-send-region, python-send-region-and-go): Delete commands.
416 (python-shell-send-region)
417 (python-shell-switch-to-shell): New commands.
418 (python-send-string): Delete command.
419 (python-shell-send-string): New command.
420 (python-switch-to-python): Delete command.
421 (python-shell-switch-to-shell): New command.
422 (python-describe-symbol): Delete command.
423 (python-eldoc-at-point): New command.
424 (python--set-prompt-regexp, python-args-to-list)
425 (python-after-info-look, python-check-version)
426 (python-check-comint-prompt, python-find-imports)
427 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
428 (python-unload-function, python-expand-template)
429 (python-maybe-jython, python-preoutput-filter)
430 (python-pdbtrack-get-source-buffer)
431 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
432 (python-pdbtrack-toggle-stack-tracking)
433 (python-pdbtrack-track-stack-file, python-initial-text)
434 (python-first-word, python-comment-line-p, python-send-command)
435 (python-setup-brm, python-sentinel, python-set-proc)
436 (python-skip-out, python-input-filter, python-outdent-p)
437 (python-outline-level, python-backslash-continuation-line-p)
438 (python-end-of-block, python-end-of-statement, python-mark-block)
439 (python-beginning-of-block, python-beginning-of-statement)
440 (python-blank-line-p, python-beginning-of-string)
441 (python-open-block-statement-p): Delete functions.
442 (python-indent-line, python-indent-line-1): Delete functions.
443 (python-indent-line): New function.
444 (python-indentation-levels): Delete function.
445 (python-indent-calculate-levels): New function.
446 (python-proc): Delete function.
447 (python-shell-get-process): New function.
448 (python-send-receive): Delete function.
449 (python-shell-send-string-no-output): New function.
450 (python-module-path): Delete function.
451 (python-ffap-module-path): New function.
452 (python-completion-at-point)
453 (python-symbol-completions): Delete functions.
454 (python-completion-complete-at-point): New function.
455 (python-load-file): Delete function.
456 (python-shell-send-file): New function.
457 (python-calculate-indentation): Delete function.
458 (python-indent-calculate-indentation): New function.
459 (python-skip-comments/blanks): Delete function.
460 (python-util-forward-comment): New function.
461 (python-continuation-line-p): Delete function.
462 (python-info-continuation-line-p): New function.
463 (python-which-func, python-current-defun): Delete function.
464 (python-info-current-defun): New function.
465 (python-beginning-of-defun): Delete function.
466 (python-nav-beginning-of-defun): New function.
467 (python-close-block-statement-p)
468 (python-block-end-p): Delete function.
469 (python-info-closing-block): New function.
470 (python-comint-output-filter-function)
471 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
472 (python-fill-comment, python-fill-decorator, python-fill-paren)
473 (python-fill-string, python-imenu-make-element-tree)
474 (python-imenu-make-tree, python-imenu-tree-assoc)
475 (python-indent-context, python-indent-dedent-line)
476 (python-indent-line-function)
477 (python-indent-post-self-insert-function)
478 (python-indent-toggle-levels)
479 (python-info-assignment-continuation-line-p)
480 (python-info-beginning-of-backlash)
481 (python-info-block-continuation-line-p)
482 (python-info-closing-block-message)
483 (python-info-line-ends-backslash-p)
484 (python-info-looking-at-beginning-of-defun)
485 (python-info-ppss-context, python-info-ppss-context-type)
486 (python-nav-list-defun-positions, python-nav-read-defun)
487 (python-nav-sentence-end, python-nav-sentence-start)
488 (python-pdbtrack-comint-output-filter-function)
489 (python-pdbtrack-set-tracked-buffer)
490 (python-shell-calculate-exec-path)
491 (python-shell-calculate-process-environment)
492 (python-shell-completion--do-completion-at-point)
493 (python-shell-completion--get-completions)
494 (python-shell-completion-complete-at-point)
495 (python-shell-completion-complete-or-indent)
496 (python-shell-get-or-create-process)
497 (python-shell-get-process-name)
498 (python-shell-internal-get-or-create-process)
499 (python-shell-internal-get-process-name)
500 (python-shell-internal-send-string, python-shell-make-comint)
501 (python-shell-parse-command, python-shell-send-setup-code)
502 (python-skeleton-add-menu-items)
503 (python-util-clone-local-variables, python-util-position)
504 (run-python-internal, python-indentation-levels)
505 (python-nav-beginning-of-defun)
506 (python-completion-complete-at-point): New functions.
507 (run-python): Change arguments. New API requirements.
508
509 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
512 (bug#11649).
513
514 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
515 (macroexp--expand-all): Use it.
516
517 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
518 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
519 Use `cl-function' instead.
520
521 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
522
523 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
524 Suggested by Stefan Monnier while discussing bug#11657.
525
526 2012-06-14 Sam Steingold <sds@gnu.org>
527
528 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
529
530 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
531
532 * play/doctor.el (doctor-doc): Remove parameter and use
533 doctor-sent instead of sent.
534 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
535
536 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * files.el: Require cl-lib.
539 (file-name-non-special): Replace case -> cl-case.
540
541 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
542
543 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
544 mapping from #' to function*.
545
546 2012-06-13 Chong Yidong <cyd@gnu.org>
547
548 * mouse.el (mouse-drag-track): Do not set the mark if the user
549 releases the mouse without selecting anything (Bug#11588).
550
551 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
552
553 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
554 as well (bug#11646).
555
556 * loadup.el: Count byte-code functions as well.
557
558 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
559 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
560
561 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
562 (bug#11649). Add cl-defun and cl-defmacro.
563
564 2012-06-13 Drew Adams <drew.adams@oracle.com>
565
566 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
567 Fix last change.
568
569 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
570
571 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
572 Otherwise, it blocks in batch mode.
573
574 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
575
576 * help-mode.el (bookmark-make-record-default): Declare.
577
578 2012-06-13 Chong Yidong <cyd@gnu.org>
579
580 * emacs-lisp/package.el (list-packages): Compute a list of
581 packages that are newly-available since the last list-packages
582 invocation.
583 (package-menu--new-package-list): New var.
584 (package-menu--generate, package-menu--print-info)
585 (package-menu--status-predicate, package-menu-mark-install):
586 Handle new status label "new".
587
588 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
591 conversion to backquotes.
592
593 2012-06-12 Chong Yidong <cyd@gnu.org>
594
595 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
596 Rename from gud-inhibit-global-bindings.
597
598 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
599
600 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
601 hook from nxml-glyph-set-hook.
602
603 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
604 declaration.
605
606 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
607
608 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
609 Convert to defcustom.
610
611 2012-06-12 Drew Adams <drew.adams@oracle.com>
612
613 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
614 New functions.
615 (help-mode): Use them.
616
617 2012-06-11 Glenn Morris <rgm@gnu.org>
618
619 * progmodes/fortran.el (fortran-font-lock-keywords-3):
620 Use preprocessor face for directives.
621 (fortran-directive-re): Doc fix.
622
623 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
626 conversion to backquotes (bug#11652).
627
628 Fix compiler-expansion of CL's cXXr functions (bug#11673).
629 * emacs-lisp/cl-lib.el (cl--defalias): New function.
630 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
631 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
632 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
633 (cl-ninth, cl-tenth): Mark them as inlinable.
634 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
635 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
636 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
637 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
638 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
639 (cl-list*, cl-adjoin): Don't put an autoload manually.
640 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
641 (cl--compiler-macro-list*): Add autoload cookie.
642 (cl--compiler-macro-cXXr): New function.
643
644 * help-fns.el (help-fns--compiler-macro): New function extracted from
645 describe-function-1; follow aliases and use `compiler-macro' property.
646 (describe-function-1): Use it.
647
648 2012-06-11 Chong Yidong <cyd@gnu.org>
649
650 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
651 is uninstalled, if imagemagick is installed.
652
653 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * emacs-lisp/cl-lib.el: Use lexical-binding.
656 (cl-map-extents, cl-maclisp-member): Remove.
657 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
658 (cl--set-substring, cl--block-wrapper, cl--block-throw)
659 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
660 * emacs-lisp/cl-extra.el: Use lexical-binding.
661 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
662 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
663 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
664 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
665 * emacs-lisp/cl-seq.el: Use lexical-binding.
666 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
667 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
668 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
669 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
670 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
671 CL's internals.
672
673 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
674
675 Sync with Tramp 2.2.6-pre.
676
677 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
678 `print-length' and `print-level' to nil, in order to avoid
679 truncation. Reported by Christopher Schmidt
680 <christopher@ristopher.com>.
681
682 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
683
684 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
685 New defmacro.
686 (tramp-compat-copy-directory): Add optional argument
687 COPY-CONTENTS. It is not handled yet.
688
689 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
690 (tramp-ftp-file-name-p): Simplify.
691
692 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
693 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
694 connection vector.
695
696 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
697 (tramp-methods): Do not use `tramp-password-end-of-line'.
698 (tramp-completion-function-alist-putty): Handle UNIX case.
699 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
700 (tramp-do-file-attributes-with-stat)
701 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
702 gid as real numbers. They could run out of integer range on cygwin.
703 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
704 (tramp-sh-handle-expand-file-name): Handle hops.
705 (tramp-open-connection-setup-interactive-shell):
706 Use `tramp-cleanup'. Move check for busyboxes ...
707 (tramp-find-shell): ... here. Simplify implementation.
708 Set "remote-shell" property also for alternative shells.
709 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
710 If failing, a regular file would be written otherwise.
711 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
712 (tramp-find-inline-encoding): Cache the coding commands in the
713 process cache. Apply test command on the remote side, if defined.
714 (tramp-find-inline-compress): Cache the compress commands in the
715 process cache.
716 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
717 when requested. Handle hops.
718 (tramp-current-connection): New defvar.
719 (tramp-maybe-open-connection): Use `tramp-cleanup'.
720 Throw `suppress', if there was a failed connection shortly before.
721 Handle user interrupt. (Bug#10187)
722 (tramp-get-inline-compress, tramp-get-inline-coding):
723 Read connection properties from the process cache.
724
725 * net/tramp-smb.el (tramp-smb-server-version)
726 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
727 New defconsts.
728 (tramp-smb-prompt): Extend for powershell prompt.
729 (tramp-smb-file-name-handler-alist): Add handlers for
730 `process-file', `shell-command' and `start-file-process'.
731 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
732 (tramp-smb-winexe-shell-command-switch): New defcustoms.
733 (tramp-smb-file-name-p): Simplify.
734 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
735 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
736 (tramp-smb-shell-quote-argument): New defuns.
737 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
738 Implement using "tar". By this, time-stamps are preserved.
739 (tramp-smb-handle-copy-file): Handle also the case of directories.
740 (tramp-smb-do-file-attributes-with-stat)
741 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
742 Use `tramp-get-connection-buffer').
743 (tramp-smb-handle-rename-file): Use "rename", when source and
744 target are on the same share.
745 (tramp-smb-maybe-open-connection): Handle wrong passwords.
746 Use `tramp-smb-server-version'.
747 (tramp-smb-wait-for-output): Remove prompt.
748
749 * net/tramp.el (top): Require 'cl.
750 (tramp-methods, tramp-rsh-end-of-line):
751 Remove `tramp-password-end-of-line' from docstring.
752 (tramp-save-ad-hoc-proxies): New defcustom.
753 (tramp-completion-function-alist): Adapt docstring.
754 (tramp-default-password-end-of-line): Remove defcustom.
755 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
756 (tramp-user-regexp, tramp-file-name-regexp-unified)
757 (tramp-file-name-regexp-url): Extend regexp by hop separator.
758 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
759 (tramp-remote-file-name-spec-regexp): New defconst.
760 (tramp-file-name-structure): Extend structure for hops.
761 (tramp-get-method-parameter): Move up.
762 (tramp-file-name-p, tramp-dissect-file-name)
763 (with-parsed-tramp-file-name): Handle hops.
764 (tramp-file-name-hop): New defun.
765 (tramp-make-tramp-file-name): New optional arg HOP.
766 (tramp-message-show-progress-reporter-message): New defvar.
767 (tramp-with-progress-reporter): Use it. We cannot use
768 `tramp-message-show-message' here, because this suppresses also
769 error buffers.
770 (tramp-error-with-buffer): Suppress buffer view, if
771 `tramp-message-show-message' is nil.
772 Use `tramp-get-connection-buffer'.
773 (tramp-cleanup): New defun.
774 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
775 (tramp-file-name-handler): If `debug-on-error' is set, propagate
776 an error unchanged.
777 (tramp-completion-handle-file-name-all-completions): Handle hops.
778 Fix an error when called from ido.
779 (tramp-completion-dissect-file-name): Use better local variable
780 name. Add hop to the vector.
781 (tramp-handle-insert-file-contents): Use progress-reporter for the
782 whole scenario.
783 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
784 to `t'.
785 (tramp-check-for-regexp): Simplify search.
786 (tramp-enter-password): Remove it. Move implementation ...
787 (tramp-action-password): ... here.
788 (tramp-mode-string-to-int, tramp-local-host-p)
789 (tramp-make-tramp-temp-file, tramp-read-passwd)
790 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
791 Set tramp-autoload cookie.
792
793 * net/trampver.el: Update release number.
794
795 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
796 Michael Albinus <michael.albinus@gmx.de>
797
798 * net/tramp.el (tramp-set-completion-function): Fix docstring.
799 (tramp-parse-group, tramp-parse-file)
800 (tramp-parse-shostkeys-sknownhosts): New defuns.
801 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
802 (tramp-parse-shosts-group, tramp-parse-sconfig)
803 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
804 (tramp-parse-sknownhosts, tramp-parse-hosts)
805 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
806 Use them.
807 (tramp-parse-passwd-group, tramp-parse-netrc-group)
808 (tramp-parse-putty-group): Don't narrow.
809 (tramp-parse-putty): Make a loop.
810 (tramp-file-name-handler): Catch the `suppress' signal.
811
812 2012-06-11 Chong Yidong <cyd@gnu.org>
813
814 * image.el (imagemagick-register-types): Put the ImageMagick entry
815 at the end of image-type-file-name-regexps.
816
817 2012-06-11 Johan Bockgård <bojohan@gnu.org>
818
819 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
820 (pcase, pcase-let*, pcase-dolist): Use them.
821
822 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * emacs-lisp/pcase.el (pcase--let*): New function.
825 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
826 (pcase--expand): Use macroexp-let².
827
828 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
831 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
832 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
833 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
834 * emacs-lisp/derived.el: Use pcase instead of `cl'.
835 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
836
837 2012-06-10 Glenn Morris <rgm@gnu.org>
838
839 * mail/rmail.el (rmail-yank-current-message): Leave point at
840 correct position. (Bug#11660)
841
842 2012-06-10 Chong Yidong <cyd@gnu.org>
843
844 * allout-widgets.el: Fix code header.
845
846 2012-06-10 Chong Yidong <cyd@gnu.org>
847
848 * cus-edit.el (customize-changed-options-previous-release):
849 Bump to 24.1.
850
851 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
852
853 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
854
855 2012-06-09 Chong Yidong <cyd@gnu.org>
856
857 * ebuff-menu.el (electric-buffer-list): Preserve header line.
858
859 2012-06-09 Martin Rudalics <rudalics@gmx.at>
860
861 * window.el (special-display-popup-frame): Don't use
862 window--display-buffer (Bug#11651).
863
864 2012-06-09 Eli Zaretskii <eliz@gnu.org>
865
866 Fix parallel builds: make sure loaddefs.el is not being written
867 while Lisp files are compiled.
868 (compile): Don't depend on 'mh-autoloads'.
869 (compile-CMD, compile-SH): Depend on 'autoloads'.
870 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
871
872 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
873
874 2012-06-09 Chong Yidong <cyd@gnu.org>
875
876 * face-remap.el (face-remap-add-relative, face-remap-set-base)
877 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
878 Doc fixes (Bug#11225).
879
880 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
883 a function if there's a clear indication that it has a compiler-macro.
884 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
885 (macro-declarations-alist): Add arglist to declaration functions.
886 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
887 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
888 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
889 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
890 Also add autoload to find the compiler macro.
891 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
892 (cl--compiler-macro-member, cl--compiler-macro-assoc)
893 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
894 (cl--compiler-macro-get): New functions, replacing calls to
895 cl-define-compiler-macro.
896 (cl-typep) [compiler-macro]: Use macroexp-let².
897
898 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
899
900 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
901 string properly, fixes Bug#11473.
902
903 2012-06-08 Chong Yidong <cyd@gnu.org>
904
905 * faces.el (set-face-attribute): Doc fix.
906 (modify-face): Don't use :bold and :italic.
907 (error, warning, success): Tweak definitions.
908
909 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
910 (custom-modified, custom-set, custom-changed, custom-themed)
911 (custom-saved, custom-button, custom-button-mouse)
912 (custom-button-pressed, custom-state, custom-comment-tag)
913 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
914 (custom-group-subtitle): Use new-style face specs.
915 (custom-invalid-face, custom-rogue-face, custom-modified-face)
916 (custom-set-face, custom-changed-face, custom-saved-face)
917 (custom-button-face, custom-button-pressed-face)
918 (custom-documentation-face, custom-state-face)
919 (custom-comment-face, custom-comment-tag-face)
920 (custom-variable-tag-face, custom-variable-button-face)
921 (custom-face-tag-face, custom-group-tag-face-1)
922 (custom-group-tag-face): Remove obsolete face alias.
923
924 * epa.el (epa-validity-high, epa-validity-medium)
925 (epa-validity-low, epa-mark, epa-field-name, epa-string)
926 (epa-field-name, epa-field-body):
927 * font-lock.el (font-lock-comment-face, font-lock-string-face)
928 (font-lock-keyword-face, font-lock-builtin-face)
929 (font-lock-function-name-face, font-lock-variable-name-face)
930 (font-lock-type-face, font-lock-constant-face):
931 * ido.el (ido-first-match, ido-only-match, ido-subdir)
932 (ido-virtual, ido-indicator, ido-incomplete-regexp):
933 * speedbar.el (speedbar-button-face, speedbar-file-face)
934 (speedbar-directory-face, speedbar-tag-face)
935 (speedbar-selected-face, speedbar-highlight-face)
936 (speedbar-separator-face):
937 * whitespace.el (whitespace-newline, whitespace-space)
938 (whitespace-hspace, whitespace-tab, whitespace-trailing)
939 (whitespace-line, whitespace-space-before-tab)
940 (whitespace-space-after-tab, whitespace-indentation)
941 (whitespace-empty):
942 * emulation/cua-base.el (cua-global-mark):
943 * eshell/em-prompt.el (eshell-prompt):
944 * net/newst-plainview.el (newsticker-new-item-face)
945 (newsticker-old-item-face, newsticker-immortal-item-face)
946 (newsticker-obsolete-item-face, newsticker-date-face)
947 (newsticker-statistics-face, newsticker-default-face):
948 * net/newst-reader.el (newsticker-feed-face)
949 (newsticker-extra-face, newsticker-enclosure-face):
950 * net/newst-treeview.el (newsticker-treeview-face)
951 (newsticker-treeview-new-face, newsticker-treeview-old-face)
952 (newsticker-treeview-immortal-face)
953 (newsticker-treeview-obsolete-face)
954 (newsticker-treeview-selection-face):
955 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
956 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
957 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
958 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
959 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
960 (nxml-outline-active-indicator, nxml-outline-ellipsis):
961 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
962 (mpuz-text):
963 * progmodes/vera-mode.el (vera-font-lock-number)
964 (vera-font-lock-function, vera-font-lock-interface):
965 * textmodes/table.el (table-cell): Use new-style face specs, and
966 don't use the old :bold and :italic attributes.
967
968 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
969 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
970 (ebrowse-member-class, ebrowse-progress): Likewise.
971 (ebrowse-tree-mark-face, ebrowse-root-class-face)
972 (ebrowse-file-name-face, ebrowse-default-face)
973 (ebrowse-member-attribute-face, ebrowse-member-class-face)
974 (ebrowse-progress-face): Remove obsolete faces.
975
976 * progmodes/flymake.el (flymake-errline, flymake-warnline):
977 Inherit from error and warning faces respectively.
978
979 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
980 Likewise.
981 (flyspell-incorrect-face, flyspell-duplicate-face):
982 Remove obsolete aliases.
983
984 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
985
986 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
987 Avoid infloop.
988
989 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * startup.el (argv, argi): Make lexically scoped.
992 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
993 * emacs-lisp/cl-macs.el: Use lexical-binding.
994 Rename cl-bind-* to cl--bind-*.
995 * files.el: Don't require `cl' since it doesn't use it.
996 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
997
998 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
999
1000 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1001 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1002 instead of calling external sort utility.
1003 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1004
1005 2012-06-08 Eli Zaretskii <eliz@gnu.org>
1006
1007 * descr-text.el (describe-char): Mention how to insert the
1008 character, if the current input method doesn't support it.
1009 See the discussion in this thread for the details:
1010 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1011
1012 2012-06-08 Sam Steingold <sds@gnu.org>
1013
1014 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1015 XF86Back to previous-buffer.
1016 (minibuffer-local-map): Bind them to next-history-element and
1017 previous-history-element respectively.
1018 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1019 help-go-back respectively.
1020 * info.el (Info-mode-map): Bind them to Info-history-forward and
1021 Info-history-back respectively.
1022 These are the keys next to Up on the ThinkPad keyboard.
1023
1024 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1027 * emacs-lisp/cl-macs.el: Provide itself.
1028 (cl--labels-convert-cache): New var.
1029 (cl--labels-convert): New function.
1030 (cl-flet, cl-labels): New implementation with new semantics, relying on
1031 lexical-binding.
1032 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1033 (cl-closure-vars, cl--function-convert-cache)
1034 (cl--function-convert): Move from cl-macs.el.
1035 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1036 rename by removing the "cl-" prefix.
1037 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1038
1039 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1042 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1043 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1044 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1045 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1046 (cl-hash-table-count): Add old compatibility aliases.
1047
1048 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1049 Use macroexpand-all-environment instead.
1050 (cl--old-macroexpand): New var.
1051 (cl--sm-macroexpand): New function.
1052 (cl-symbol-macrolet): Use it during macro expansion.
1053 (cl--function-convert-cache): New var.
1054 (cl--function-convert): New function, extracted from
1055 cl-macroexpand-all.
1056 (cl-lexical-let): Use it.
1057
1058 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1059 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1060 (cl-member): Remove old alias.
1061
1062 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1063 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1064 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1065 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1066 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1067 (cl-macroexpand-cmacs): Remove var.
1068 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1069 Use macroexpand-all instead.
1070
1071 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1074 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1075 (macroexp-copyable-p): New functions and macros.
1076 * emacs-lisp/edebug.el (edebug-unwrap):
1077 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1078 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1079 (pcase--let*): Remove.
1080 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1081 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1082 macroexp-const-p instead.
1083 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1084
1085 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1086 instead of "cl-" for internal definitions. Use macroexp-const-p.
1087 (cl-old-bc-file-form): Remove var.
1088 (cl-const-exprs-p): Remove fun.
1089 (cl-labels, cl-macrolet): Use backquote.
1090 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1091 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1092 (cl-define-setf-expander): Rename from cl-define-setf-method.
1093 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1094
1095 * international/mule-cmds.el: Don't require CL.
1096 (view-hello-file): Don't use `letf'.
1097
1098 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * tmm.el (tmm-prompt): Use string-prefix-p.
1101 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1102 (tmm-add-prompt): Use minibuffer-completion-help.
1103 (tmm-delete-map): Remove.
1104
1105 * subr.el (kbd): Make it its own function.
1106
1107 2012-06-07 Stefan Merten <smerten@oekonux.de>
1108
1109 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1110 Silence compiler warnings. Fix versions.
1111 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1112 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1113 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1114 (rst-package-emacs-version-alist): Correct Emacs version to
1115 represent major merge with upstream.
1116 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1117
1118 2012-06-06 Glenn Morris <rgm@gnu.org>
1119
1120 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1121 Only print environment variables if set.
1122
1123 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1126 (macroexp--cons): Rename from maybe-cons.
1127 (macroexp--accumulate): Rename from macroexp-accumulate.
1128 (macroexp--all-forms): Rename from macroexpand-all-forms.
1129 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1130 (macroexp--expand-all): Rename from macroexpand-all-1.
1131
1132 2012-06-06 Sam Steingold <sds@gnu.org>
1133
1134 * calendar/calendar.el (calendar-in-read-only-buffer):
1135 Call `special-mode' to enable the standard read-only keybindings.
1136
1137 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1140 with "loading" messages (bug#11635).
1141
1142 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1143
1144 * files.el (enable-remote-dir-locals): New option.
1145 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1146
1147 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1148 Ensure, that the temp directory is local.
1149
1150 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1151 `temporary-file-directory'.
1152
1153 * progmodes/python.el (python-send-region): Ensure, that the
1154 temporary file is created also in the remote case.
1155
1156 2012-06-06 Glenn Morris <rgm@gnu.org>
1157
1158 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1159 (vc-rcs-update-changelog): Use it.
1160
1161 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1162
1163 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1164 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1165 (vc-sccs-diff): Replace use of the external vcdiff script.
1166
1167 2012-06-05 Glenn Morris <rgm@gnu.org>
1168
1169 * ledit.el: Move to obsolete/.
1170
1171 2012-06-05 Sam Steingold <sds@gnu.org>
1172
1173 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1174 patch (Bug#11140).
1175
1176 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1177
1178 * emacs-list/cust-print.el: Move to obsolete.
1179
1180 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1181 compiler-macro expansion.
1182
1183 Add native compiler-macro support.
1184 * emacs-lisp/macroexp.el (macroexpand-all-1):
1185 Support compiler-macros directly. Properly follow aliases and apply
1186 the compiler macros more thoroughly.
1187 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1188 macroexpand now properly follows aliases.
1189 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1190 (cl-compiler-macroexpand): Use new prop.
1191 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1192
1193 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1194
1195 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1196
1197 * window.el (get-lru-window, get-mru-window, get-largest-window):
1198 New argument NOT-SELECTED to avoid picking the selected window.
1199 (window--display-buffer-1, window--display-buffer-2): Replace by
1200 new function window--display-buffer
1201 (display-buffer-same-window, display-buffer-reuse-window)
1202 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1203 Use window--display-buffer.
1204 (display-buffer-use-some-window): Remove temporary dedication
1205 hack by calling get-lru-window and get-largest-window with
1206 NOT-SELECTED argument non-nil. Call window--display-buffer.
1207
1208 2012-06-05 Glenn Morris <rgm@gnu.org>
1209
1210 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1211 Replace external vcdiff script.
1212
1213 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1214
1215 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1216
1217 2012-06-04 Chong Yidong <cyd@gnu.org>
1218
1219 * image.el (imagemagick-types-inhibit): Revert last change.
1220 Add INFO and M.
1221 (imagemagick-enabled-types): Remove CIN and EPS*.
1222
1223 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1224
1225 * emacs-lisp/cl-lib.el: Rename from cl.el.
1226 * emacs-lisp/cl.el: New compatibility file.
1227 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1228 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1229 to obey the "cl-" prefix.
1230 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1231
1232 2012-06-03 Glenn Morris <rgm@gnu.org>
1233
1234 * emacs-lisp/authors.el (authors-aliases): Addition.
1235
1236 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1237 Fix :version.
1238
1239 2012-06-03 Stefan Merten <smerten@oekonux.de>
1240
1241 * textmodes/rst.el: Add comments.
1242 (rst-transition, rst-adornment): New faces.
1243 (rst-adornment-faces-alist): Make default safe to reevaluate.
1244 Fixes
1245 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1246 Improve customization tags.
1247 (rst-define-level-faces): Clarify meaning.
1248
1249 2012-06-03 Chong Yidong <cyd@gnu.org>
1250
1251 * progmodes/compile.el (compilation-mode-line-fail)
1252 (compilation-mode-line-run, compilation-mode-line-exit):
1253 New faces.
1254 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1255
1256 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1257
1258 * progmodes/which-func.el (which-func-update-ediff-windows):
1259 New function. Use it in ediff-select-hook (Bug#11478).
1260
1261 2012-06-03 Chong Yidong <cyd@gnu.org>
1262
1263 * bindings.el: Remove explicit help text from format-mode-line.
1264 It is now supplied by mode-line-default-help-echo.
1265 (mode-line-front-space, mode-line-end-spaces)
1266 (mode-line-misc-info): New variables.
1267 (mode-line-modes, mode-line-position): Move the default value to
1268 the variable definition.
1269 (mode-line-default-help-echo): New defcustom.
1270 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1271 (mode-line-modified-help-echo): New functions.
1272 (mode-line-mule-info, mode-line-modified): Use them.
1273 (mode-line-eol-desc, propertized-buffer-identification):
1274 Consistency fixes for help text.
1275 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1276 set-buffer-file-coding-system (Bug#289).
1277 (mode-line-mule-info-help-echo): Update help text.
1278
1279 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * simple.el (execute-extended-command): Set real-this-command
1282 (bug#11506).
1283
1284 2012-06-02 Chong Yidong <cyd@gnu.org>
1285
1286 Remove incorrect uses of "modeline" in comments, docstrings, and
1287 function/variable names (Bug#10329).
1288
1289 * cus-edit.el (mode-line):
1290 * dframe.el (dframe-mouse-hscroll):
1291 * emacs-lisp/re-builder.el:
1292 * emacs-lisp/easy-mmode.el (define-minor-mode):
1293 * frame.el (set-frame-name):
1294 * help.el (lookup-minor-mode-from-indicator):
1295 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1296 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1297 (c-toggle-hungry-state):
1298 * progmodes/antlr-mode.el (antlr-language-alist):
1299 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1300 * progmodes/vhdl-mode.el (vhdl-mode):
1301 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1302 * term/ns-win.el (ns-face-at-pos):
1303 * term/sup-mouse.el (sup-mouse-report):
1304 * textmodes/flyspell.el (flyspell-mode-line-string):
1305 * textmodes/ispell.el (ispell-highlight-face):
1306 * textmodes/reftex-global.el:
1307 * vc/vc-arch.el (vc-arch-mode-line-string):
1308 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1309 * vc/vc-git.el (vc-git-mode-line-string):
1310 * vc/vc-hooks.el (vc-display-status)
1311 (vc-default-mode-line-string):
1312 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1313
1314 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1315
1316 * dired.el (dired-sort-set-mode-line): Rename from
1317 dired-sort-set-modeline. All callers changed.
1318
1319 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1320 eshell-status-in-modeline.
1321
1322 * foldout.el (foldout-mode-line-string): Rename from
1323 foldout-modeline-string. All callers changed.
1324 (foldout-update-mode-line): Rename from foldout-update-modeline.
1325
1326 * subr.el (redraw-modeline): Make into obsolete alias.
1327
1328 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1329 timeclock-modeline-display. Make old name an alias.
1330 (timeclock-update-mode-line): Likewise. All callers changed.
1331 (timeclock-mode-line-display): No need to check before using
1332 add-hook.
1333 (timeclock-relative, timeclock-day-over-hook)
1334 (timeclock-use-elapsed, timeclock-mode-string)
1335 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1336
1337 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1338 crisp-mode-modeline-string.
1339
1340 * play/solitaire.el (solitaire-build-mode-line): Rename from
1341 solitaire-build-modeline. All callers changed.
1342
1343 * play/zone.el (zone-hiding-mode-line): Rename from
1344 zone-hiding-modeline. All callers changed.
1345 (zone): Remove unusued `modeline-hidden-level' property.
1346
1347 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1348 xscheme-modeline-initialize. All callers changed.
1349
1350 * strokes.el (strokes-lighter): Rename from
1351 strokes-modeline-string.
1352
1353 * textmodes/sgml-mode.el (html-face-tag-alist)
1354 (html-tag-face-alist): Use mode-line face instead of obsolete
1355 alias modeline.
1356
1357 2012-06-02 Stefan Merten <smerten@oekonux.de>
1358
1359 * textmodes/rst.el: Always require `cl'.
1360 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1361
1362 2012-06-02 Chong Yidong <cyd@gnu.org>
1363
1364 * image.el (imagemagick-enabled-types): Rename from
1365 imagemagick-types-enable. Add many more types.
1366 (imagemagick-types-inhibit): Change default to nil.
1367 (imagemagick-filter-types): Caller changed.
1368
1369 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * emacs-lisp/cl-macs.el: Use backquotes.
1372 (cl-transform-function-property): Use eval-and-compile rather than
1373 abusing `require'.
1374 (defstruct): Use declare-function instead of with-no-warnings.
1375
1376 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1377 (byte-compile-output-docform): Re-add the print-circle bindings.
1378 (byte-compile-fix-header): Use #$ just because it's shorter.
1379 (byte-compile-output-file-form): Remove defun/defmacro.
1380
1381 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1382
1383 * simple.el (choose-completion): Remove now obsolete binding for
1384 owindow.
1385
1386 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1387
1388 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1389 in order to avoid "Stack overflow in regexp matcher".
1390
1391 2012-05-31 Glenn Morris <rgm@gnu.org>
1392
1393 * image.el: For clarity, call imagemagick-register-types at
1394 top-level, rather than relying on a custom :initialize.
1395 (imagemagick-types-enable): New option. (Bug#11557)
1396 (imagemagick-filter-types): New function. (Bug#7406)
1397 (imagemagick-register-types): Use imagemagick-filter-types.
1398 If disabling support, remove elements altogether rather
1399 than using an impossible regexp.
1400 (imagemagick-types-inhibit): Give it the default init function.
1401
1402 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1405 Handle arbitrary file name lengths (Bug#11585).
1406
1407 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1408
1409 * desktop.el (desktop-read): Clear previous and next buffers for
1410 all windows and bury *Messages* buffer (bug#11556).
1411
1412 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1413
1414 Add `declare' for `defun'. Align `defmacro's with it.
1415 * emacs-lisp/easy-mmode.el (define-minor-mode)
1416 (define-globalized-minor-mode): Don't autoload the var definitions.
1417 * emacs-lisp/byte-run.el: Use lexical-binding.
1418 (defun-declarations-alist, macro-declarations-alist): New vars.
1419 (defmacro, defun): Use them.
1420 (make-obsolete, define-obsolete-function-alias)
1421 (make-obsolete-variable, define-obsolete-variable-alias):
1422 Use `declare'.
1423 (macro-declaration-function): Mark obsolete.
1424 * emacs-lisp/autoload.el: Use lexical-binding.
1425 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1426
1427 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1428
1429 * textmodes/ispell.el (ispell-with-no-warnings):
1430 Define as a macro.
1431 (ispell-kill-ispell, ispell-change-dictionary):
1432 Use `called-interactively-p' for Emacs instead of obsolete
1433 `interactive-p'.
1434
1435 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1438 (macro-declaration-function): Move var from C code.
1439 (macro-declaration-function): Define function with defalias.
1440 * emacs-lisp/macroexp.el (macroexpand-all-1):
1441 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1442 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1443 defun/defmacro any more.
1444 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1445 Provide fallback for unknown arglist.
1446 (byte-compile-arglist-warn): Change calling convention.
1447 (byte-compile-output-file-form): Move print-vars binding.
1448 (byte-compile-output-docform): Simplify accordingly.
1449 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1450 (byte-compile-defmacro-declaration): Remove.
1451 (byte-compile-file-form-defmumble): Generalize to defalias.
1452 (byte-compile-output-as-comment): Return byte-positions.
1453 Simplify callers accordingly.
1454 (byte-compile-lambda): Use `assert'.
1455 (byte-compile-defun, byte-compile-defmacro): Remove.
1456 (byte-compile-file-form-defalias):
1457 Use byte-compile-file-form-defmumble.
1458 (byte-compile-defalias-warn): Remove.
1459
1460 2012-05-29 Stefan Merten <smerten@oekonux.de>
1461
1462 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1463 possible. Fix authors. Improve comments. Improve loading of `cl'.
1464
1465 (rst-mode-abbrev-table): Merge definition.
1466 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1467 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1468
1469 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1470
1471 * calendar/icalendar.el
1472 (icalendar-export-region): Export UID properly.
1473
1474 2012-05-29 Leo <sdl.web@gmail.com>
1475 * calendar/icalendar.el (icalendar-import-format):
1476 Add `icalendar-import-format-uid' (Bug#11525).
1477 (icalendar-import-format-uid): New.
1478 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1479 Export UID.
1480
1481 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1484 different alternative patterns.
1485 (pcase-codegen): Be more careful to preserve identity.
1486 (pcase--u1): Don't forget to mark vars as used.
1487
1488 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1489 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1490 (byte-compile-from-buffer): ...rather than here.
1491
1492 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1493 functions from byte-compile-function-environment.
1494
1495 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1496
1497 * window.el (window-deletable-p): Avoid deleting the root window
1498 of a frame with an active minibuffer.
1499
1500 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1501
1502 * simple.el (choose-completion): Use quit-window (Bug#11567).
1503
1504 2012-05-29 Chong Yidong <cyd@gnu.org>
1505
1506 * whitespace.el (whitespace-cleanup): Fix usage of
1507 whitespace-empty-at-bob-regexp (Bug#11492).
1508
1509 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1510
1511 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1512 revert (Bug#11488).
1513
1514 2012-05-29 Juri Linkov <juri@jurta.org>
1515
1516 * isearch.el (isearch-mode-map): Bind `M-s _' to
1517 `isearch-toggle-symbol'. Bind `M-s c' to
1518 `isearch-toggle-case-fold'.
1519 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1520 (isearch-forward): Add `M-s _' to the docstring.
1521 (isearch-forward-symbol, isearch-toggle-case-fold)
1522 (isearch-symbol-regexp): New functions. (Bug#11381)
1523
1524 2012-05-29 Juri Linkov <juri@jurta.org>
1525
1526 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1527 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1528 a function, call it to get the regexp.
1529 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1530 property `isearch-message-prefix' instead of the string "word ".
1531 (isearch-search-fun-default): For the case of `isearch-word',
1532 return a lambda that calls re-search-forward/re-search-backward
1533 with a regexp returned by `word-search-regexp' or by the function
1534 in `isearch-word'.
1535
1536 2012-05-29 Juri Linkov <juri@jurta.org>
1537
1538 * isearch.el (isearch-search-fun-default): New function.
1539 (isearch-search-fun): Move default part to the new function
1540 `isearch-search-fun-default'.
1541 (isearch-search-fun-function): Set the default value to
1542 `isearch-search-fun-default'. (Bug#11381)
1543
1544 * comint.el (comint-history-isearch-end):
1545 Use `isearch-search-fun-default'.
1546 (comint-history-isearch-search): Use `isearch-search-fun-default'
1547 and remove spacial case for `isearch-word'.
1548 (comint-history-isearch-wrap): Remove spacial case for
1549 `isearch-word'.
1550
1551 * hexl.el (hexl-isearch-search-function):
1552 Use `isearch-search-fun-default'.
1553
1554 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1555 Use `word-search-regexp' for `isearch-word'.
1556
1557 * misearch.el (multi-isearch-search-fun):
1558 Use `isearch-search-fun-default'.
1559
1560 * simple.el (minibuffer-history-isearch-search):
1561 Use `isearch-search-fun-default' and remove spacial case for
1562 `isearch-word'.
1563 (minibuffer-history-isearch-wrap): Remove spacial case for
1564 `isearch-word'.
1565
1566 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1567 Remove spacial case for `isearch-word'.
1568 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1569
1570 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1571
1572 Decrease XEmacs incompatibilities.
1573 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1574 Use `string-match'.
1575 (flyspell-delete-region-overlays): Use alternative definition for
1576 XEmacs.
1577 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1578 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1579 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1580 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1581 `define-obsolete-face-alias' under XEmacs, but old method.
1582
1583 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1584 `with-no-warnings' definition or Emacs alias.
1585 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1586 (ispell-word): Do not use `region-p' if XEmacs.
1587
1588 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1589
1590 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1591 Check for `ispell-dictionary-base-alist' instead of full
1592 `ispell-dictionary-alist'.
1593 (ispell-init-process): Show spellchecker when starting new Ispell
1594 process.
1595
1596 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1599 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1600
1601 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1602
1603 * version.el (motif-version-string, gtk-version-string)
1604 (ns-version-string): Declare.
1605
1606 2012-05-27 Juri Linkov <juri@jurta.org>
1607
1608 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1609 after the `eval-defun-1' specialcaseing
1610 like in `edebug-eval-defun' (bug#10181).
1611
1612 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1613 like in `eval-defun-1'.
1614
1615 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1616
1617 * mail/sendmail.el (mail-yank-region):
1618 Recognize rmail-yank-current-message in addition to insert-buffer.
1619 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1620 a *mail* buffer created through rmail-start-mail with sendmail as
1621 mail-user-agent.
1622
1623 2012-05-27 Chong Yidong <cyd@gnu.org>
1624
1625 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1626 Default to 256 (Bug#11267).
1627
1628 * help.el (describe-mode): Doc fix.
1629
1630 2012-05-26 Glenn Morris <rgm@gnu.org>
1631
1632 * w32-fns.el (w32-init-info): Remove.
1633 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1634
1635 * info.el (info-initialize): For self-contained NS builds, put the
1636 included info/ directory at the front. (Bug#2791)
1637
1638 * paths.el (Info-default-directory-list): Make it a defcustom,
1639 mainly so that we can use custom-initialize-delay.
1640
1641 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * subr.el (buffer-has-markers-at): Mark obsolete.
1644
1645 * subr.el (lambda): Use declare.
1646
1647 * emacs-lisp/lisp-mode.el (lambda):
1648 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1649
1650 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1651
1652 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1653
1654 2012-05-26 Glenn Morris <rgm@gnu.org>
1655
1656 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1657
1658 2012-05-25 Glenn Morris <rgm@gnu.org>
1659
1660 * paths.el: Remove no-byte-compile.
1661 * loadup.el: No need to load paths.el uncompiled.
1662
1663 * image.el (imagemagick-types-inhibit): Doc fix.
1664
1665 * version.el: Remove no-byte-compile and associated formatting.
1666 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1667 is ancient code from when there was an "inc-vers.el".
1668
1669 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * progmodes/gdb-mi.el: Minor style changes.
1672 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1673 Turn into minor modes.
1674 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1675 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1676 (gdb-shell): Remove unneeded let-binding.
1677 (gdb-get-many-fields): Eliminate O(n²) behavior.
1678
1679 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1680
1681 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1682 platforms that don't link in fontset.c.
1683
1684 2012-05-25 Juri Linkov <juri@jurta.org>
1685
1686 Use the same diff color scheme as in modern VCSes (bug#10181).
1687
1688 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1689 to avoid confusion with `diff-added' that now uses green colors.
1690 (diff-removed): Use shades of red.
1691 (diff-added): Use shades of green.
1692 (diff-changed): Leave just the yellow color.
1693 (diff-use-changed-face): New variable.
1694 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1695 how to highlight context diff changes.
1696 (diff-refine-change): Use shades of yellow.
1697 (diff-refine-removed): New face that uses shades of red.
1698 (diff-refine-added): New face that uses shades of green.
1699 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1700 `diff-refine-removed' in the call to `smerge-refine-subst'
1701 depending on the value of `diff-use-changed-face'.
1702
1703 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1704 (smerge-other): Use shades of green.
1705 (smerge-base): Use shades of yellow.
1706 (smerge-refined-change): Empty face.
1707 (smerge-refined-removed): New face that uses shades of red.
1708 (smerge-refined-added): New face that uses shades of green.
1709 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1710 args `props-r' and `props-a', and use them. Doc fix.
1711 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1712 on its value use different faces `smerge-refined-change',
1713 `smerge-refined-removed', `smerge-refined-added' in the call to
1714 `smerge-refine-subst'.
1715
1716 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1717 Add face condition `min-colors 88' with shades of red.
1718 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1719 `min-colors 88' with shades of green.
1720 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1721 `min-colors 88' with shades of yellow.
1722
1723 2012-05-24 Glenn Morris <rgm@gnu.org>
1724
1725 * paths.el (prune-directory-list, remote-shell-program): Move to...
1726 * files.el (prune-directory-list, remote-shell-program): ...here.
1727 For the latter, delay initialization, prefer ssh, just search PATH.
1728
1729 * paths.el (term-file-prefix): Move to faces.el (the only user).
1730 * faces.el (term-file-prefix): Move here, make it a defcustom.
1731
1732 * paths.el (news-directory, news-path, news-inews-program):
1733 Move to gnus/nnspool.el.
1734
1735 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1736
1737 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1738 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1739 Make the latter a defcustom, with a delayed initialization.
1740
1741 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1742 These were deleted from Gnus itself late 2010.
1743
1744 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1745
1746 * progmodes/which-func.el (which-func-ff-hook):
1747 Check against user-error, not error.
1748
1749 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1750 cl-specs.el, which no longer exists.
1751
1752 2012-05-22 Glenn Morris <rgm@gnu.org>
1753
1754 * info.el (info-emacs-bug): New command.
1755 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1756 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1757
1758 2012-05-21 Glenn Morris <rgm@gnu.org>
1759
1760 * makefile.w32-in (update-subdirs-SH):
1761 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1762
1763 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1766
1767 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1768 Simplify Maven regexp, and make sure the file can't start with a space
1769 (bug#11517).
1770
1771 2012-05-21 Glenn Morris <rgm@gnu.org>
1772
1773 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1774 Scrap superfluous subshells.
1775
1776 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1779 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1780
1781 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1782
1783 * calc/calc.el (calc-ensure-consistent-units): New variable.
1784
1785 * calc/calc-units.el (math-consistent-units-p)
1786 (math-check-unit-consistency): New functions.
1787 (calc-quick-units, calc-convert-units):
1788 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1789 is non-nil.
1790 (calc-extract-units): Fix typo.
1791
1792 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1795
1796 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1797 (flyspell-default-deplacement-commands): Don't spell check after
1798 repeated window/frame switches (e.g. triggered by mouse-movement).
1799 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1800 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1801 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1802 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1803 Remove unused vars.
1804 (flyspell-get-casechars, flyspell-get-not-casechars):
1805 Simplify; Don't bother removing a ] just to add it back.
1806 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1807
1808 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1809
1810 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1811 New functions.
1812 (math-function-table): Add support for more C functions.
1813
1814 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1815
1816 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1817 (flyspell-debug-signal-word-checked): Protect delay handling for
1818 otherchars against empty otherchars.
1819
1820 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1823 their respective macro declarations.
1824 * skeleton.el (define-skeleton):
1825 * progmodes/compile.el (define-compilation-mode):
1826 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1827 (define-ibuffer-filter):
1828 * emacs-lisp/generic.el (define-generic-mode):
1829 * emacs-lisp/easy-mmode.el (define-minor-mode)
1830 (define-globalized-minor-mode):
1831 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1832 * emacs-lisp/byte-run.el (defsubst):
1833 * custom.el (deftheme): Add doc-string metadata.
1834
1835 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1838
1839 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1842
1843 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1844 * emacs-lisp/cl-macs.el: Idem.
1845 * emacs-lisp/cl-specs.el: Remove.
1846
1847 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 Minor renaming of internal CL functions and variables.
1850 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1851 (cl--position): Rename from cl-position.
1852 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1853 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1854 (cl--random-state): Rename from *random-state*.
1855
1856 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1857
1858 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1859 parens around the arg list (bug#11499).
1860
1861 2012-05-17 Juri Linkov <juri@jurta.org>
1862
1863 * isearch.el (word-search-regexp, word-search-backward)
1864 (word-search-forward, word-search-backward-lax)
1865 (word-search-forward-lax): Move functions from search.c
1866 (bug#10145, bug#11381).
1867
1868 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1869
1870 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1871 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1872 normal word components.
1873
1874 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * minibuffer.el (completion--sifn-requote): Fix last change.
1877 (minibuffer-local-must-match-filename-map):
1878 Move define-obsolete-variable-alias before its var.
1879
1880 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1883
1884 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1885 behavior.
1886 (completion--string-equal-p): New function.
1887 (completion--twq-all): Use it to get better assertion failure data.
1888
1889 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1890 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1891 (shell--requote-argument): New functions.
1892 (shell-completion-vars): Use them.
1893 (shell--parse-pcomplete-arguments): Rename from
1894 shell-parse-pcomplete-arguments.
1895 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1896 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1897 Obey comint-file-name-quote-list.
1898
1899 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1900 (smie-indent-keyword): Use it.
1901
1902 2012-05-14 Stefan Merten <smerten@oekonux.de>
1903
1904 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1905
1906 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * net/rlogin.el (rlogin-mode-map): Fix last change.
1909
1910 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1911
1912 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1913 the following \r\n using a single `process-send-string', since the
1914 Lotus SMTP server refuses to accept any commands if they are sent
1915 with two `process-send-string's (Bug#11444).
1916
1917 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * shell.el (shell-parse-pcomplete-arguments):
1920 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1921
1922 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1923
1924 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1925 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1926 (image-transform-width, image-transform-fit-width): New functions.
1927 (image-transform-properties): Use them.
1928 (image-transform-check-size): New function.
1929 (image-toggle-display-image): Use it (for testing).
1930 (image-transform-set-rotation): Reduce angle mod 360.
1931 Delete obsolete comment.
1932
1933 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1934
1935 * image-mode.el: Fix scaling (bug#11399).
1936 (image-transform-resize): Doc fix.
1937 (image-transform-properties): Default scale is 1 and height should
1938 be an integer.
1939
1940 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1941
1942 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1943 than hard-coding `car', to fix misbehavior when moving forward.
1944
1945 2012-05-13 Chong Yidong <cyd@gnu.org>
1946
1947 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1948 (tabulated-list-entries, tabulated-list-padding)
1949 (tabulated-list-sort-key): Make permanent-local.
1950
1951 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1952 (electric-buffer-list): Put electric buffer menu
1953 command descriptions in this docstring, instead of the docstring
1954 of electric-buffer-menu-mode. Code cleanups.
1955 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1956 Electric-buffer-menu-mode.
1957 (electric-buffer-update-highlight): Minor code cleanup.
1958
1959 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1960
1961 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1962 (Bug#11447)
1963
1964 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 Move define-obsolete-variable-alias before the var's definition.
1967 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1968 * tooltip.el (tooltip-hook):
1969 * textmodes/reftex-toc.el (reftex-toc-map):
1970 * textmodes/reftex-sel.el (reftex-select-label-map)
1971 (reftex-select-bib-map):
1972 * textmodes/reftex-index.el (reftex-index-map)
1973 (reftex-index-phrases-map):
1974 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1975 * progmodes/meta-mode.el (meta-mode-map):
1976 * novice.el (disabled-command-hook):
1977 * loadhist.el (unload-hook-features-list):
1978 * frame.el (blink-cursor):
1979 * files.el (find-file-not-found-hooks, write-file-hooks)
1980 (write-contents-hooks):
1981 * emulation/tpu-edt.el (GOLD-map):
1982 * emacs-lock.el (emacs-lock-from-exiting):
1983 * emacs-lisp/generic.el (generic-font-lock-defaults):
1984 * emacs-lisp/chart.el (chart-map):
1985 * dos-fns.el (register-name-alist):
1986 * dired-x.el (dired-omit-files-p):
1987 * desktop.el (desktop-enable):
1988 * cus-edit.el (custom-mode-hook):
1989 * buff-menu.el (buffer-menu-mode-hook):
1990 * bookmark.el (bookmark-read-annotation-text-func)
1991 (bookmark-exit-hooks):
1992 * allout.el (allout-mode-deactivate-hook)
1993 (allout-exposure-change-hook, allout-structure-added-hook)
1994 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1995 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1996 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1997 comes before the corresponding variable's definition.
1998
1999 2012-05-12 Chong Yidong <cyd@gnu.org>
2000
2001 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
2002 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2003 (Buffer-menu-mode-map): Bind it.
2004 (Buffer-menu--pretty-name): Add a mouse-face property.
2005
2006 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2009 (prolog-upper-case-string, prolog-lower-case-string)
2010 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2011 (prolog-use-smie, prolog-smie-grammar): New vars.
2012 (prolog-smie-forward-token, prolog-smie-backward-token)
2013 (prolog-smie-rules): New funs.
2014 (prolog-comment-indent): Remove.
2015 (prolog-mode-variables): Use default comment indentation instead.
2016 Setup SMIE.
2017 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2018 (prolog-mode): Don't call them any more.
2019 (prolog-electric-colon, prolog-electric-dash)
2020 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2021
2022 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2023
2024 * minibuffer.el (completion--twq-all): Again, allow case differences.
2025
2026 * term.el: Move keymap initialization code to be more idiomatic.
2027 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2028 (term-terminal-menu): Move initialization into declaration.
2029 (term-escape-char): Let the user set it in her .emacs.
2030
2031 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2032 Provide SMIE-based indentation (not enabled by default yet).
2033 (sh-mode-map): Don't bind electric keys.
2034 Use electric-pair-mode instead of skeleton-pair.
2035 (sh-assignment-regexp): Fit within 80 columns.
2036 (sh-indent-supported): Specify actual shell name instead of boolean.
2037 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2038 (sh-maybe-here-document): Use it. Make obsolete.
2039 (sh-electric-here-document-mode) New minor mode.
2040 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2041 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2042 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2043 (sh-smie-rc-grammar, sh-use-smie): New vars.
2044 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2045 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2046 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2047 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2048 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2049 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2050 (sh-set-shell): Use smie-setup if requested.
2051
2052 * term.el (term-set-escape-char): Properly set term-escape-char.
2053 See http://stackoverflow.com/questions/10524656.
2054
2055 2012-05-10 Chong Yidong <cyd@gnu.org>
2056
2057 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2058 Use url-generic-parse-url, and handle host names and Windows
2059 filenames properly.
2060 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2061 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2062 URL schemes to work on.
2063 (ffap--toggle-read-only): New function.
2064 (ffap-read-only, ffap-read-only-other-window)
2065 (ffap-read-only-other-frame): Use it.
2066 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2067 necessary for ffap-url-unwrap-remote.
2068
2069 2012-05-10 Dave Abrahams <dave@boostpro.com>
2070
2071 * cus-start.el (create-lockfiles): Add it.
2072
2073 2012-05-09 Chong Yidong <cyd@gnu.org>
2074
2075 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2076 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2077
2078 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2081
2082 2012-05-09 Chong Yidong <cyd@gnu.org>
2083
2084 * ansi-color.el (ansi-color-process-output): Check for validity of
2085 comint-last-output-start before using it. This avoids a bad
2086 interaction with gdb-mi's input/output buffer.
2087
2088 2012-05-09 Glenn Morris <rgm@gnu.org>
2089
2090 * files.el (dir-locals-read-from-file):
2091 Mention dir-locals in any error message.
2092
2093 2012-05-09 Chong Yidong <cyd@gnu.org>
2094
2095 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2096 package (Bug#11410).
2097
2098 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2099 variables into description.
2100
2101 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2104 shell-delimiter-argument-list (bug#11348).
2105 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2106
2107 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2108
2109 * textmodes/rst.el: Silence byte-compiler warnings.
2110 (rst-re-alist, rst-reset-section-caches): Move around.
2111 (rst-re): Use `characterp', not `char-valid-p'.
2112 (font-lock-beg, font-lock-end): Declare.
2113
2114 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2115 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2116
2117 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2118
2119 2012-05-08 Glenn Morris <rgm@gnu.org>
2120
2121 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2122
2123 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * vc/log-edit.el: Add GNU coding standards highlighting.
2126 (log-edit-font-lock-gnu-style)
2127 (log-edit-font-lock-gnu-keywords): New vars.
2128 (log-edit-font-lock-keywords): New fun.
2129 (log-edit-mode): Don't fold case in font-lock.
2130 (log-edit-font-lock-keywords): Do not assume case-folding.
2131
2132 * imenu.el: Misc cleanup. Make docstrings out of comments.
2133 Use lexical-binding.
2134 (imenu--index-alist, imenu--last-menubar-index-alist)
2135 (imenu-menubar-modified-tick): Use defvar-local.
2136 (imenu--split-menu): Remove unused var.
2137 (imenu--cleanup-seen): Declare as global.
2138 (imenu--cleanup): Use dolist.
2139
2140 * subr.el (defvar-local): Add debug spec and doc-string position.
2141
2142 2012-05-08 Glenn Morris <rgm@gnu.org>
2143
2144 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2145 * language/english.el, language/georgian.el, language/greek.el:
2146 * language/japanese.el, language/khmer.el, language/korean.el:
2147 * language/lao.el, language/misc-lang.el, language/romanian.el:
2148 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2149 * language/thai.el, language/utf-8-lang.el:
2150 Remove no-byte-compile setting.
2151
2152 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2153
2154 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2155
2156 * progmodes/make-mode.el (makefile-browse):
2157 Remove unnecessary interactive. (Bug#11324)
2158
2159 2012-05-07 Glenn Morris <rgm@gnu.org>
2160
2161 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2162
2163 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2164
2165 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * loadup.el: Preload newcomment.el.
2168 * newcomment.el: Move autoload-only code to toplevel.
2169
2170 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2171 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2172 Handle new :right-align column property.
2173 (tabulated-list-print-col): Idem, plus use `display' text-property to
2174 try and preserve alignment for variable pitch fonts.
2175
2176 2012-05-07 Chong Yidong <cyd@gnu.org>
2177
2178 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2179 (tabulated-list-use-header-line): New var.
2180 (tabulated-list-init-header): Use it.
2181 (tabulated-list-print-fake-header): New function.
2182 (tabulated-list-print): Use it.
2183 (tabulated-list-sort-button-map): Add non-header-line commands.
2184 (tabulated-list-init-header): Add column name property to basic
2185 labels as well.
2186 (tabulated-list-col-sort): Handle non-header-line button case.
2187 (tabulated-list--sort-by-column-name): Fix a corner case.
2188
2189 * buff-menu.el (list-buffers--refresh):
2190 Handle Buffer-menu-use-header-line.
2191
2192 2012-05-06 Chong Yidong <cyd@gnu.org>
2193
2194 * buff-menu.el: Convert to Tabulated List mode.
2195 (Buffer-menu-buffer+size-width): Make obsolete.
2196 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2197 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2198 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2199 documentation into docstring of buffer-menu.
2200 (Buffer-menu-toggle-files-only): Add an informative message.
2201 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2202 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2203 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2204 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2205 (Buffer-menu-execute, Buffer-menu-select)
2206 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2207 (Buffer-menu-bury): Use Tabulated List machinery.
2208 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2209 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2210 Delete.
2211 (list-buffers--refresh): New function.
2212 (list-buffers-noselect): Use it.
2213 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2214 (Buffer-menu--pretty-file-name): New helper functions.
2215
2216 * loadup.el: Preload tabulated-list.
2217
2218 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2219 tabulated-list-sort-column.
2220 (tabulated-list-init-header): Add the initial aligning space even
2221 if tabulated-list-padding is zero.
2222
2223 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2224
2225 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2226 whose cdr is not a cons cell correctly (bug#11038).
2227
2228 2012-05-06 Chong Yidong <cyd@gnu.org>
2229
2230 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2231 Accept additional plist in column descriptors.
2232 (tabulated-list-init-header): Obey it.
2233 (tabulated-list-get-entry): New function.
2234 (tabulated-list-put-tag): Use it. Use string-width instead of
2235 length.
2236 (tabulated-list--column-number): New function.
2237 (tabulated-list-print): Use it.
2238 (tabulated-list-print-col): New function.
2239 Set `tabulated-list-column-name' property on each column's text.
2240 (tabulated-list-print-entry): Use it.
2241 (tabulated-list-delete-entry, tabulated-list-set-col):
2242 New functions.
2243 (tabulated-list-sort-column): New command (Bug#11337).
2244
2245 * buff-menu.el (list-buffers): Move C-x C-b binding from
2246 buff-menu.el to bindings.el.
2247
2248 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2249 :advertised-binding feature.
2250
2251 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2252
2253 * progmodes/compile.el (compilation-internal-error-properties):
2254 Calculate start position correctly when end-col is set but
2255 end-line is not (Bug#11382).
2256
2257 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2258
2259 * man.el (Man-unindent): Use text-property-default-nonsticky to
2260 prevent untabify from inheriting face properties (Bug#11408).
2261
2262 2012-05-05 Stefan Merten <smerten@oekonux.de>
2263
2264 * textmodes/rst.el: Major merge with upstream development up to
2265 Docutils SVN r7399 / rst.el V1.2.1.
2266
2267 Clarify maintainership and authors.
2268
2269 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2270 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2271 (rst-official-version, rst-official-cvs-rev, rst-version)
2272 (rst-package-emacs-version-alist): New functions and variables
2273 for version information.
2274
2275 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2276 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2277 (rst-mode-syntax-table, rst-mode): New and corrected functions
2278 and variables representing reStructuredText features.
2279
2280 (rst-re): New function for reStructuredText regexes. Use in
2281 many places.
2282
2283 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2284 (rst-mode-map): Rebind keys.
2285
2286 (rst-mode-lazy, rst-font-lock-keywords)
2287 (rst-font-lock-extend-region)
2288 (rst-font-lock-extend-region-internal)
2289 (rst-font-lock-extend-region-extend)
2290 (rst-font-lock-find-unindented-line-limit)
2291 (rst-font-lock-find-unindented-line-match)
2292 (rst-adornment-level, rst-font-lock-adornment-level)
2293 (rst-font-lock-adornment-match)
2294 (rst-font-lock-handle-adornment-pre-match-form)
2295 (rst-font-lock-handle-adornment-matcher): Major revision of
2296 font-locking. Integrate with other code. Use `jit-lock-mode'.
2297
2298 (rst-preferred-adornments, rst-adjust-hook)
2299 (rst-new-adornment-down, rst-preferred-bullets)
2300 (rst-preferred-bullets, rst-indent, rst-indent-width)
2301 (rst-indent-field, rst-indent-literal-normal)
2302 (rst-indent-literal-minimized, rst-indent-comment): Change,
2303 extend and improve customization.
2304
2305 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2306 (rst-normalize-cursor-position, rst-get-decoration)
2307 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2308 (rst-rstrip, rst-toc-insert-find-delete-contents)
2309 (rst-shift-fill-region, rst-compute-bullet-tabs)
2310 (rst-debug-print-tabs, rst-debug-mark-found)
2311 (rst-shift-region-guts, rst-shift-region-right)
2312 (rst-shift-region-left, rst-use-char-classes)
2313 (rst-font-lock-keywords-function)
2314 (rst-font-lock-indentation-point)
2315 (rst-font-lock-find-unindented-line-begin)
2316 (rst-font-lock-find-unindented-line-end)
2317 (rst-font-lock-find-unindented-line)
2318 (rst-font-lock-adornment-point, rst-font-lock-level)
2319 (rst-adornment-level-alist): Remove functions and variables.
2320
2321 (rst-compare-adornments, rst-get-adornment-match)
2322 (rst-suggest-new-adornment, rst-get-adornments-around)
2323 (rst-adornment-complete-p, rst-get-next-adornment)
2324 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2325 (rst-straighten-adornments): Standardize function names to
2326 use "adornment" instead of "decoration". Correct callers.
2327 Similar standardizing in many places.
2328
2329 (rst-update-section, rst-adjust, rst-promote-region)
2330 (rst-enumerate-region, rst-bullet-list-region)
2331 (rst-repeat-last-character): Correct use of `interactive'.
2332
2333 (rst-classify-adornment, rst-find-all-adornments)
2334 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2335 (rst-find-leftmost-column, rst-repeat-last-character):
2336 Refactor functions.
2337
2338 (rst-find-title-line, rst-reset-section-caches)
2339 (rst-get-adornments-around, rst-adjust-adornment-work)
2340 (rst-arabic-to-roman, rst-roman-to-arabic)
2341 (rst-insert-list-pos, rst-insert-list-new-item)
2342 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2343 New functions.
2344
2345 (rst-all-sections, rst-section-hierarchy)
2346 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2347 New variables.
2348
2349 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2350 configuration instead of only buffer. Change where necessary.
2351
2352 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2353 (rst-shift-region, rst-adaptive-fill): New functions for
2354 indentation and filling.
2355
2356 (rst-comment-line-break, rst-comment-indent)
2357 (rst-comment-insert-comment, rst-comment-region)
2358 (rst-uncomment-region): New functions for handling comments.
2359
2360 (rst-compile): Quote shell arguments.
2361
2362 (rst-compile-pdf-preview, rst-compile-slides-preview):
2363 Delete temporary files after use.
2364
2365 2012-05-05 Glenn Morris <rgm@gnu.org>
2366
2367 * calendar/cal-html.el: Optionally include holidays in the output.
2368 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2369 (cal-html-holidays): New option.
2370 (cal-html-css-default): Add holiday entry.
2371 (holiday-in-range): Autoload it.
2372 (cal-html-htmlify-entry): Add optional class argument.
2373 (cal-html-htmlify-list): Add optional holidays argument.
2374 (cal-html-insert-agenda-days): Include holidays in the output.
2375 (cal-html-one-month): Maybe include holidays.
2376
2377 * calendar/holidays.el (holiday-in-range):
2378 Move here from cal-tex-list-holidays.
2379 * calendar/cal-tex.el (cal-tex-list-holidays):
2380 Make it an obsolete alias for holiday-in-range. Update all callers.
2381
2382 2012-05-05 Chong Yidong <cyd@gnu.org>
2383
2384 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2385 Nextstep.
2386
2387 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2388
2389 * files.el (file-auto-mode-skip): New var.
2390 (set-auto-mode-1): Use it.
2391
2392 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * repeat.el: Use lexical-binding.
2395 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2396 (repeat-undo-count): Remove.
2397 (repeat):
2398 * progmodes/octave-mod.el (octave-abbrev-start):
2399 * progmodes/f90.el (f90-abbrev-start):
2400 * face-remap.el (text-scale-adjust):
2401 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2402
2403 * emacs-lisp/pcase.el (pcase--let*): New function.
2404 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2405 a bit more.
2406 (pcase--split-pred): Be more clever about ruling out overlap between
2407 a predicate and some constant pattern.
2408 (pcase--q1): Use `null' instead of (eq foo nil).
2409
2410 * subr.el (setq-local, defvar-local): New macros.
2411 (kbd): Redefine as an alias.
2412 (with-selected-window): Leave unrelated frames alone.
2413 (set-temporary-overlay-map): New function.
2414
2415 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * subr.el (user-error): New function.
2418 * window.el (switch-to-buffer):
2419 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2420 (smerge-match-conflict):
2421 * simple.el (previous-matching-history-element)
2422 (next-matching-history-element, goto-history-element, undo-more)
2423 (undo-start):
2424 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2425 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2426 (next-file, tags-loop-scan, list-tags, complete-tag):
2427 * progmodes/compile.el (compilation-loop):
2428 * mouse.el (mouse-minibuffer-check):
2429 * man.el (Man-bgproc-sentinel, Man-goto-page):
2430 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2431 (Info-history-forward, Info-follow-reference, Info-menu)
2432 (Info-extract-menu-item, Info-extract-menu-counting)
2433 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2434 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2435 (Info-next-reference, Info-prev-reference, Info-index)
2436 (Info-index-next, Info-follow-nearest-node)
2437 (Info-copy-current-node-name):
2438 * imenu.el (imenu--make-index-alist)
2439 (imenu-default-create-index-function, imenu-add-to-menubar):
2440 * files.el (basic-save-buffer, recover-file):
2441 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2442 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2443 (checkdoc-message-text, checkdoc-defun):
2444 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2445 * cus-edit.el (customize-changed-options, customize-rogue)
2446 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2447 (custom-variable-mark-to-reset-standard)
2448 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2449 (custom-file):
2450 * completion.el (check-completion-length):
2451 * comint.el (comint-search-arg)
2452 (comint-previous-matching-input-string-position)
2453 (comint-previous-matching-input)
2454 (comint-replace-by-expanded-history-before-point, comint-send-input)
2455 (comint-copy-old-input, comint-backward-matching-input)
2456 (comint-goto-process-mark, comint-set-process-mark):
2457 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2458 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2459
2460 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * dabbrev.el (dabbrev--ignore-case-p): New function.
2463 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2464 Use it.
2465
2466 * files.el (automount-dir-prefix): Mark as obsolete.
2467
2468 2012-05-04 Glenn Morris <rgm@gnu.org>
2469
2470 * patcomp.el, play/bruce.el: Move to obsolete/.
2471
2472 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2473
2474 Fix minor Y10k bugs.
2475 * arc-mode.el (archive-unixdate):
2476 * autoinsert.el (auto-insert-alist):
2477 * calc/calc-forms.el (math-this-year):
2478 * emacs-lisp/copyright.el (copyright-current-year)
2479 (copyright-update-year, copyright):
2480 * tar-mode.el (tar-clip-time-string):
2481 * time.el (display-time-update):
2482 Don't assume years have 4 digits.
2483
2484 2012-05-04 Chong Yidong <cyd@gnu.org>
2485
2486 * dos-w32.el (file-name-buffer-file-type-alist)
2487 (direct-print-region-use-command-dot-com):
2488 * ffap.el (ffap-menu-regexp):
2489 * find-file.el (ff-special-constructs):
2490 * follow.el (follow-debug):
2491 * forms.el (forms--debug):
2492 * iswitchb.el (iswitchb-all-frames):
2493 * ido.el (ido-all-frames):
2494 * emacs-lisp/timer.el (timer-max-repeats):
2495 * mail/feedmail.el (feedmail-mail-send-hook)
2496 (feedmail-mail-send-hook-queued):
2497 * mail/footnote.el (footnote-signature-separator):
2498 * mail/mailabbrev.el (mail-alias-separator-string)
2499 (mail-abbrev-mode-regexp):
2500 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2501 * progmodes/idlwave.el (idlwave-libinfo-file)
2502 (idlwave-default-completion-case-is-down)
2503 (idlwave-library-routines): Convert defvars to defcustoms.
2504
2505 * mail/rmail.el (rmail-decode-mime-charset):
2506 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2507 (idlwave-shell-fix-inserted-breaks)
2508 (idlwave-shell-activate-alt-keybindings)
2509 (idlwave-shell-use-breakpoint-glyph):
2510 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2511
2512 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2515
2516 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2517
2518 * progmodes/verilog-mode.el (font-lock-keywords):
2519 Fix mis-highligting auto. Reported by Craig Barner.
2520 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2521 defines from global name space. Reported by Dan Dever.
2522 (verilog-auto-reset, verilog-auto-reset-widths)
2523 (verilog-auto-tieoff): Support using unbased numbers for
2524 AUTORESET and AUTOTIEOFF.
2525 (verilog-submit-bug-report): Update variable list.
2526 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2527 parenthesis from not matching. Reported by Michael Rytting.
2528 (verilog-auto-template-lint): Fix hash error when linting modules
2529 with no used templates.
2530 (verilog-warn, verilog-warn-error)
2531 (verilog-warn-fatal): When non-interactive report multiple
2532 warnings before exiting. Suggested by Brad Dobbie.
2533 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2534 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2535 to report unused template errors. Reported by Brad Dobbie.
2536 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2537 nets, bug438. Reported by Vns Blore.
2538 (verilog-auto-inout-module, verilog-auto-reg)
2539 (verilog-read-decls, verilog-read-sub-decls-sig)
2540 (verilog-signals-edit-wire-reg, verilog-signals-with):
2541 Fix passing of Verilog data types in ANSI input/output ports
2542 such as "output logic" into the AUTOs. Special case "wire" and
2543 "reg" for backwards compatibility presuming Verilog 2001.
2544 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2545 (verilog-preprocess): Fix replication of preprocess output.
2546 Reported by Brad Dobbie.
2547 (verilog-auto-inst-interfaced-ports):
2548 Create verilog-auto-inst-interfaced-ports, bug429.
2549 Reported by Julian Gorfajn.
2550 (verilog-after-save-font-hook)
2551 (verilog-before-save-font-hook): New variable.
2552 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2553 (verilog-save-font-mods): Wrap disabling fontification, reported
2554 by David Rogoff.
2555 (verilog-do-indent, verilog-pretty-declarations-auto)
2556 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2557 Reported by Pierre-David Pfister.
2558 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2559 of class declarations, bug292. Reported by Kevin Heilman.
2560 (verilog-read-decls): Fix 'parameter type' not appearing in
2561 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2562 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2563 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2564 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2565 Reported by David Kravitz.
2566
2567 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2568
2569 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2570 assignment with tests in ifs and for loops.
2571 (verilog-extended-complete-re, verilog-complete-reg): Change so
2572 that DPI inport functions don't look like fuction declarations.
2573 (verilog-pretty-expr): Don't line up assignment
2574 operations to the test and increment in if and for loops
2575 (verilog-extended-complete-re, verilog-complete-reg): Change so
2576 that DPI inport functions don't look like fuction declarations
2577
2578 2012-05-03 Kenichi Handa <handa@m17n.org>
2579
2580 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2581 decoding, and show a warning message without signaling an error
2582 (Bug#11282).
2583
2584 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * emacs-lisp/bytecomp.el
2587 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2588 since cconv.el might have introduced :fun-body, internal-make-closure,
2589 and friends for bytecomp to handle (bug#11391).
2590 * custom.el (defcustom): Avoid ((λ ..) ..).
2591
2592 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2595
2596 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2597
2598 * notifications.el (dbus-debug):
2599 * term/linux.el (gpm-mouse-enable):
2600 * term/screen.el (xterm-register-default-colors): Declare.
2601
2602 2012-05-02 Chong Yidong <cyd@gnu.org>
2603
2604 * cus-start.el (gc-cons-percentage, exec-suffixes)
2605 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2606 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2607 (make-cursor-line-fully-visible, void-text-area-pointer)
2608 (font-list-limit): Add customization data.
2609
2610 * allout.el (allout-exposure-change-functions)
2611 (allout-structure-added-functions)
2612 (allout-structure-deleted-functions)
2613 (allout-structure-shifted-functions): Rename abnormal hooks from
2614 *-hook, and convert to defcustoms.
2615 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2616 Convert to defcustoms.
2617 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2618
2619 * allout-widgets.el: Hook callers changed.
2620
2621 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2622
2623 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2624 the yanked message in preference to the default value of
2625 buffer-file-coding-system.
2626
2627 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2628
2629 * window.el (display-buffer--action-function-custom-type):
2630 Fix entry.
2631
2632 2012-05-02 Alan Mackenzie <acm@muc.de>
2633
2634 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2635
2636 2012-05-01 Glenn Morris <rgm@gnu.org>
2637
2638 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2639
2640 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2641
2642 * cus-edit.el (custom-variable-documentation): Simplify with format.
2643
2644 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2645 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * simple.el (suggest-key-bindings, execute-extended-command):
2648 Move from keyboard.c.
2649
2650 2012-05-01 Chong Yidong <cyd@gnu.org>
2651
2652 * follow.el: Eliminate advice.
2653 (set-process-filter, process-filter, sit-for): Advice deleted.
2654 (follow-mode-off-hook): Obsolete hook removed.
2655 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2656 Vars deleted.
2657 (follow-auto): Use a :set function.
2658 (follow-mode): Rewritten. Don't advise process filters.
2659 (follow-switch-to-current-buffer-all, follow-scroll-up)
2660 (follow-scroll-down): Assume follow-mode is bound.
2661 (follow-comint-scroll-to-bottom)
2662 (follow-align-compilation-windows): New functions.
2663 (follow--window-sorter): New function.
2664 (follow-all-followers): Use it to explicitly sort windows by their
2665 positions; don't make assumptions about next-window order.
2666 (follow-windows-start-end, follow-delete-other-windows-and-split)
2667 (follow-calc-win-start): Doc fix.
2668 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2669 vertical-motion unnecessarily.
2670 (follow-adjust-window): New function.
2671 (follow-post-command-hook): Use it.
2672 (follow-call-set-process-filter, follow-call-process-filter)
2673 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2674 (follow-stop-intercept-process-output, follow-generic-filter):
2675 Functions deleted.
2676 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2677 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2678 New functions, replacing advice on scroll-bar-* commands.
2679 (follow-mwheel-scroll): New function (Bug#4112).
2680
2681 * comint.el (comint-adjust-point): New function.
2682 (comint-postoutput-scroll-to-bottom): Use it.
2683 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2684
2685 2012-05-01 Glenn Morris <rgm@gnu.org>
2686
2687 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2688 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2689 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2690 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2691 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2692 Remove no-byte-compile setting.
2693
2694 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2697 all-completions code to not return a number in the last cdr.
2698
2699 2012-04-30 Leo Liu <sdl.web@gmail.com>
2700
2701 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2702 read-only error.
2703
2704 2012-04-29 Chong Yidong <cyd@gnu.org>
2705
2706 * follow.el (follow-calc-win-end): Rewrite to handle partial
2707 screen lines correctly (Bug#8390).
2708 (follow-avoid-tail-recenter): Minor cleanup.
2709
2710 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 Avoid the obsolete `assoc' package.
2713 * speedbar.el (speedbar-refresh): Avoid adelete.
2714 (speedbar-file-lists): Simplify and avoid aput.
2715 * man.el (Man--sections, Man--refpages): New vars, replacing
2716 Man-sections-alist and Man-refpages-alist.
2717 (Man-build-section-alist, Man-build-references-alist):
2718 Use them; avoid aput.
2719 (Man--last-section, Man--last-refpage): New vars.
2720 (Man-follow-manual-reference): Use them.
2721 Use the `default' arg of completing-read.
2722 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2723
2724 2012-04-27 Chong Yidong <cyd@gnu.org>
2725
2726 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2727
2728 * startup.el (x-apply-session-resources): New function.
2729
2730 * term/ns-win.el (ns-initialize-window-system):
2731 * term/w32-win.el (w32-initialize-window-system):
2732 * term/x-win.el (x-initialize-window-system): Use it to properly
2733 set menu-bar-mode and other vars from X resources, even if the
2734 initial frame is not a window-system frame (Bug#2299).
2735
2736 * subr.el (read-key): Avoid running filter function when setting
2737 up temporary tool bar entries (Bug#9922).
2738
2739 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2740
2741 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2742 (Bug#11344)
2743
2744 2012-04-27 Chong Yidong <cyd@gnu.org>
2745
2746 * select.el (xselect--encode-string): New function, split from
2747 xselect-convert-to-string.
2748 (xselect-convert-to-string): Use it.
2749 (xselect-convert-to-filename, xselect-convert-to-os)
2750 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2751 returned strings are properly encoded (Bug#11315).
2752
2753 2012-04-27 Chong Yidong <cyd@gnu.org>
2754
2755 * simple.el (delete-active-region): Move to killing custom group.
2756
2757 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2758
2759 * progmodes/which-func.el (which-func-current): Quote %
2760 characters for mode-line processing.
2761
2762 2012-04-27 Chong Yidong <cyd@gnu.org>
2763
2764 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2765 reaching eob (Bug#11286).
2766
2767 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2768
2769 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2770 (gdb): Make it buffer-local and init to zero.
2771 (gdb-control-commands-regexp): New variable.
2772 (gdb-send): Don't wrap in "-interpreter-exec console" if
2773 gdb-control-level is positive. Increment gdb-control-level
2774 whenever the command matches gdb-control-commands-regexp, and
2775 decrement it each time the command is "end". (Bug#11279)
2776
2777 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2778
2779 * window.el (adjust-window-trailing-edge, enlarge-window)
2780 (shrink-window, window-resize):
2781 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2782 windows (Bug#11276).
2783
2784 2012-04-27 Chong Yidong <cyd@gnu.org>
2785
2786 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2787 fix "missing prefix" warning. All callers changed.
2788
2789 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * emacs-lisp/assoc.el: Move to obsolete/.
2792
2793 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2796
2797 * term/ns-win.el (ns-define-service):
2798 * progmodes/pascal.el (pascal-goto-defun):
2799 * progmodes/js.el (js--read-tab):
2800 * progmodes/etags.el (tags-lazy-completion-table):
2801 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2802 * emacs-lisp/ewoc.el (ewoc--wrap):
2803 * emacs-lisp/assoc.el (aput, adelete, amake):
2804 * doc-view.el (doc-view-convert-current-doc):
2805 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2806
2807 2012-04-26 Chong Yidong <cyd@gnu.org>
2808
2809 * image.el (image-type-from-buffer): Only return supported image
2810 type (Bug#9045).
2811
2812 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2813 value, for symmetry with diff-end-of-hunk.
2814 (diff-split-hunk, diff-find-source-location)
2815 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2816 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2817 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2818 compute the relevant hunk or file properly (Bug#6005).
2819 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2820
2821 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2822
2823 * vc/vc-mtn.el:
2824 * vc/vc-hg.el:
2825 * vc/vc-git.el:
2826 * vc/vc-dir.el:
2827 * vc/vc-cvs.el:
2828 * vc/vc-bzr.el:
2829 * vc/vc-arch.el:
2830 * vc/vc.el: Replace lexical-let by lexical-binding.
2831 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2832 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2833 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2834
2835 2012-04-26 Chong Yidong <cyd@gnu.org>
2836
2837 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2838 (diff-mode-shared-map): Bind it to / and [remap undo].
2839
2840 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2841 (ediff-window-setup-function): Use it as the default, to set up
2842 windows based on whether the current frame is graphical (Bug#2138).
2843 (ediff-choose-window-setup-function-automatically): Make obsolete.
2844
2845 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2846
2847 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * ffap.el: Remove old code for obsolete package.
2850 (ffap-complete-as-file-p): Remove.
2851
2852 Use completion-table-with-quoting for comint and pcomplete.
2853 * comint.el (comint--unquote&requote-argument)
2854 (comint--unquote-argument, comint--requote-argument): New functions.
2855 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2856 (comint-quote-filename): Use regexp-opt-charset.
2857 (comint--common-suffix, comint--common-quoted-suffix)
2858 (comint--table-subvert): Remove.
2859 (comint-unquote-function, comint-requote-function): New vars.
2860 (comint--complete-file-name-data): Use them with
2861 completion-table-with-quoting.
2862 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2863 * pcomplete.el (pcomplete-arg-quote-list)
2864 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2865 (pcomplete-unquote-argument-function): Default to non-nil.
2866 (pcomplete-unquote-argument): Simplify.
2867 (pcomplete--common-quoted-suffix): Remove.
2868 (pcomplete-requote-argument-function): New var.
2869 (pcomplete--common-suffix): New function.
2870 (pcomplete-completions-at-point): Use completion-table-with-quoting
2871 and completion-table-subvert.
2872
2873 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2874 (minibuffer--double-dollars): Preserve properties.
2875 (completion--sifn-requote): New function.
2876 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2877
2878 * minibuffer.el: Add support for completion of quoted/escaped data.
2879 (completion-table-with-quoting, completion-table-subvert): New funs.
2880 (completion--twq-try, completion--twq-all): New functions.
2881 (completion--nth-completion): New function.
2882 (completion-try-completion, completion-all-completions): Use it.
2883
2884 2012-04-25 Leo Liu <sdl.web@gmail.com>
2885
2886 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2887 Use compilation-message if available to find real filename.
2888
2889 2012-04-25 Chong Yidong <cyd@gnu.org>
2890
2891 * vc/diff-mode.el (diff-setup-whitespace): New function.
2892 (diff-mode): Use it.
2893
2894 * vc/diff.el (diff-sentinel):
2895 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2896 Whitespace mode variables based on diff style (Bug#8612).
2897
2898 2012-04-25 Leo Liu <sdl.web@gmail.com>
2899
2900 * progmodes/python.el (python-send-region): Add suffix .py to the
2901 temp file.
2902
2903 * files.el (auto-mode-alist): Use javascript-mode instead.
2904
2905 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2906
2907 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2908
2909 * soap-client.el (soap-resolve-references-for-sequence-type)
2910 (soap-resolve-references-for-array-type): Hack to prevent self
2911 references, see Bug#9.
2912 (soap-parse-envelope): Report the contents of the 'detail' node
2913 when receiving a fault reply.
2914 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2915
2916 * soap-inspect.el (soap-sample-value-for-simple-type)
2917 (soap-inspect-simple-type): New function.
2918
2919 * soap-client.el (soap-simple-type): New struct.
2920 (soap-default-xsd-types, soap-default-soapenc-types)
2921 (soap-decode-basic-type, soap-encode-basic-type):
2922 support unsignedInt and double basic types.
2923 (soap-resolve-references-for-simple-type)
2924 (soap-parse-simple-type, soap-encode-simple-type): New function.
2925 (soap-parse-schema): Parse xsd:simpleType declarations.
2926
2927 * soap-client.el (soap-default-xsd-types)
2928 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2929 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2930 the local name of "soapenc:Array".
2931 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2932 decoding integer, byte and anyURI xsd types.
2933
2934 2012-04-25 Chong Yidong <cyd@gnu.org>
2935
2936 * cus-edit.el (custom-buffer-create-internal): Update header text.
2937
2938 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2939
2940 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2941 settings on 'system-type', not on 'window-system'. On MS-Windows,
2942 set interactive-mode on in GDB.
2943
2944 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2947 (ruby-syntax-propertize-regexp): Remove.
2948 (ruby-syntax-propertize-function): Split regexp into chunks.
2949 Match following code directly.
2950
2951 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2952
2953 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2954 (ruby-syntax-propertize-regexp): New function.
2955 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2956 by a special keyword.
2957
2958 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2959 (ruby-syntax-general-delimiters-goto-beg)
2960 (ruby-syntax-propertize-general-delimiters): New functions.
2961 (ruby-syntax-propertize-function): Use them to handle GDL.
2962 (ruby-font-lock-keywords): Move old handling of GDL...
2963 (ruby-font-lock-syntactic-keywords): .. to here.
2964 (ruby-calculate-indent): Adjust indentation for GDL.
2965
2966 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2967
2968 * notifications.el (top): Remove unneeded declarations.
2969 (notifications-specification-version): Change to "1.2".
2970 (notifications-interface, notifications-notify-method)
2971 (notifications-close-notification-method): Fix docstring.
2972 (notifications-get-capabilities-method): New defconst.
2973 (notifications-notify): Add :action-items, :resident and
2974 :transient hints. Change "image_data" to "image-data" and
2975 "image_path" to "image-path".
2976 (notifications-get-capabilities): New defun.
2977
2978 2012-04-24 Leo Liu <sdl.web@gmail.com>
2979
2980 * progmodes/python.el: Move hideshow setup to the end.
2981
2982 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2983
2984 * window.el (handle-select-window): Clear echo area since this is
2985 no more done by read_char (Bug#11304).
2986
2987 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2990 and `/ M' to filter-derived-mode.
2991 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2992 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2993 (ibuffer-mark-by-mode): Use default rather than initial-input.
2994 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2995
2996 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2997
2998 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2999 (ibuffer-filter-by-derived-mode): New filter.
3000 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3001
3002 2012-04-23 Andreas Politz <politza@fh-trier.de>
3003
3004 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3005
3006 2012-04-23 Chong Yidong <cyd@gnu.org>
3007
3008 * cus-edit.el (customize-apropos, customize-apropos-options):
3009 Disable matching of non-option variables (Bug#11176).
3010 (customize-option, customize-option-other-window)
3011 (customize-changed-options): Doc fix.
3012 (customize-apropos-options, customize-apropos-faces)
3013 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3014
3015 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
3016 Fix word list splitting (Bug#11132).
3017 (apropos-symbol, apropos-keybinding, apropos-label)
3018 (apropos-property, apropos-function-button)
3019 (apropos-variable-button, apropos-misc-button): New faces.
3020 (apropos-symbol-face, apropos-keybinding-face)
3021 (apropos-label-face, apropos-property-face, apropos-match-face):
3022 Variables removed (Bug#8396).
3023 (apropos-library-button, apropos-format-plist, apropos-print)
3024 (apropos-print-doc, apropos-describe-plist): Callers changed.
3025
3026 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
3027
3028 * net/xesam.el (xesam-mode-map): Use let-bound map in
3029 initialization. (Bug#11292)
3030
3031 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3032
3033 Preserve ispell session localwords when switching back to
3034 original buffer.
3035
3036 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3037 variable to hold buffer session localwords.
3038 (ispell-kill-ispell): add option 'clear to delete session
3039 localwords.
3040 (ispell-command-loop, ispell-change-dictionary)
3041 (ispell-buffer-local-words): Preserve session localwords when
3042 needed.
3043
3044 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3045 Preserve session localwords when needed.
3046
3047 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3048
3049 * ispell.el (ispell-insert-word) Remove unneeded function using
3050 obsolete `translation-table-for-input'.
3051 (ispell-word, ispell-process-line, ispell-complete-word):
3052 Use plain `insert' instead of removed `ispell-insert-word'.
3053
3054 2012-04-22 Chong Yidong <cyd@gnu.org>
3055
3056 * cus-edit.el (custom-variable-menu)
3057 (custom-variable-reset-saved, custom-face-menu)
3058 (custom-face-reset-saved): If there is no saved value, make the
3059 "reset-saved" operation bring back the default (Bug#9509).
3060 (custom-face-state): Properly detect themed faces.
3061
3062 * faces.el (face-spec-set): Stop supporting deprecated form of
3063 third arg.
3064
3065 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3066
3067 Move functions from C to Lisp. Make non-blocking method calls
3068 the default. Implement further D-Bus standard interfaces.
3069
3070 * net/dbus.el (dbus-message-internal): Declare function.
3071 Remove unneeded function declarations.
3072 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3073 (dbus-message-type-method-return, dbus-message-type-error)
3074 (dbus-message-type-signal): Declare variables. Remove local
3075 definitions.
3076 (dbus-interface-dbus, dbus-interface-peer)
3077 (dbus-interface-introspectable, dbus-interface-properties)
3078 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3079 Adapt docstring.
3080 (dbus-interface-objectmanager): New defconst.
3081 (dbus-call-method, dbus-call-method-asynchronously)
3082 (dbus-send-signal, dbus-method-return-internal)
3083 (dbus-method-error-internal, dbus-register-service)
3084 (dbus-register-signal, dbus-register-method): New defuns, moved
3085 from dbusbind.c
3086 (dbus-call-method-handler, dbus-setenv)
3087 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3088 New defuns.
3089 (dbus-call-method-non-blocking): Make it an obsolete function.
3090 (dbus-unregister-object, dbus-unregister-service)
3091 (dbus-handle-event, dbus-register-property)
3092 (dbus-property-handler): Obey the new structure of
3093 `bus-registered-objects'.
3094 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3095 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3096 Use `dbus-call-method'.
3097
3098 2012-04-22 Chong Yidong <cyd@gnu.org>
3099
3100 * cus-edit.el (custom-commands, custom-reset-menu)
3101 (Custom-reset-standard): Tweak labels.
3102 (custom-reset-button-menu): Change default to t.
3103 (custom-buffer-create-internal): For the custom-reset-button-menu
3104 case, put the revert button first.
3105 (custom-group-subtitle): New face.
3106 (custom-group-value-create): Align docstring to a specific column.
3107
3108 * wid-edit.el (widget-documentation-link-add): Don't handle
3109 indentation in this function.
3110 (widget-documentation-string-indent-to): New function.
3111 (widget-documentation-string-value-create): Use it.
3112
3113 * autorevert.el (auto-revert):
3114 * epg-config.el (epg):
3115 * ibuffer.el (ibuffer):
3116 * mpc.el (mpc):
3117 * ses.el (ses):
3118 * eshell/eshell.el (eshell):
3119 * net/ange-ftp.el (ange-ftp):
3120 * progmodes/ebnf2ps.el (postscript):
3121 * progmodes/flymake.el (flymake):
3122 * progmodes/prolog.el (prolog):
3123 * progmodes/verilog-mode.el (verilog-mode):
3124 * progmodes/which-func.el (which-func):
3125 * term/xterm.el (xterm):
3126 * textmodes/picture.el (picture):
3127 * textmodes/tildify.el (tildify):
3128 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3129 customization buffers.
3130
3131 2012-04-22 Alan Mackenzie <acm@muc.de>
3132
3133 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3134 Adding a ) can hide the resulting (..) from searches. Fix it.
3135 Bound the backward search to the position of the existing (.
3136
3137 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3138
3139 * progmodes/verilog-mode.el (verilog-mode): Check whether
3140 which-func-modes is t before adding verilog-mode.
3141 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3142
3143 2012-04-21 Leo Liu <sdl.web@gmail.com>
3144
3145 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3146
3147 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3148
3149 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3150 filling of the last column of a table (Bug#5635).
3151 (woman-find-next-control-line): New arg, specifying an additional
3152 regexp component for the control line.
3153 (woman2-roff-buffer): Use it.
3154 (woman-break-table): New function.
3155 (woman2-TS): Use it.
3156
3157 2012-04-21 Chong Yidong <cyd@gnu.org>
3158
3159 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3160 (woman-horizontal-escapes, woman-negative-vertical-space)
3161 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3162 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3163
3164 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3165
3166 * minibuffer.el (completion-file-name-table): Complete user names.
3167
3168 2012-04-20 Leo Liu <sdl.web@gmail.com>
3169
3170 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3171 and pcase-let*.
3172
3173 2012-04-20 Chong Yidong <cyd@gnu.org>
3174
3175 * server.el (server-execute): Respect initial-buffer-choice if it
3176 is a string and there are no files to open (Bug#2825).
3177 (server-create-window-system-frame, server-create-tty-frame):
3178 Don't switch buffers here.
3179 (server-process-filter): Only try to open a window system frame if
3180 compiled with graphical support (Bug#8314).
3181
3182 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3183
3184 * battery.el (battery-echo-area-format): Display remaining time
3185 for sysfs backend too (Bug#11269).
3186 (battery-linux-sysfs): Fix conditional for the charge.
3187
3188 2012-04-20 Chong Yidong <cyd@gnu.org>
3189
3190 * progmodes/gdb-mi.el (gdb): Revert previous change.
3191 (gdb-inferior-io--init-proc): New function.
3192 (gdb-init-1): Use it.
3193 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3194 responsible for allocating a new pty and hooking it to gdb when
3195 the old pty gets an EIO due to process exit.
3196 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3197 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3198 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3199
3200 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3201
3202 * window.el (window-min-size, window-sizable, window-min-delta)
3203 (window-max-delta, window--resizable, window-resizable)
3204 (window-total-size, window-full-height-p, window-full-width-p)
3205 (window-in-direction, window--resize-mini-window, window-resize)
3206 (window--resize-child-windows-normal)
3207 (window--resize-child-windows, window--resize-siblings)
3208 (window--resize-this-window, adjust-window-trailing-edge)
3209 (enlarge-window, shrink-window): Doc fixes.
3210
3211 2012-04-20 Chong Yidong <cyd@gnu.org>
3212
3213 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3214 New function to call delete-process on the gdb-inferior buffer's pty.
3215 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3216 pty process (Bug#11273).
3217 (gdb-update): New arg to suppress talking to the gdb process.
3218 (gdb-done-or-error): Use it.
3219 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3220 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3221 sentinel not being called.
3222
3223 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3224
3225 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3226
3227 2012-04-20 Glenn Morris <rgm@gnu.org>
3228
3229 * net/network-stream.el (open-network-stream): Doc fix.
3230
3231 2012-04-20 Chong Yidong <cyd@gnu.org>
3232
3233 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3234
3235 2012-04-20 Alan Mackenzie <acm@muc.de>
3236
3237 Ensure searching for keywords is case sensitive.
3238
3239 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3240 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3241 (c-defun-name, c-mark-function, c-cpp-define-name)
3242 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3243 (c-context-line-break): Bind case-fold-search to nil.
3244
3245 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3246 Bind case-fold-search to nil.
3247
3248 2012-04-20 Chong Yidong <cyd@gnu.org>
3249
3250 * mail/sendmail.el (mail-bury): Call return action with the right
3251 Rmail buffer (Bug#11242).
3252
3253 * server.el (server-process-filter): Handle corner case where both
3254 tty and nowait options are present (Bug#11102).
3255
3256 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3257
3258 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3259 (top level): Put into the executable the ident-style '$Id:' tag on
3260 windows-nt as well.
3261
3262 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * electric.el (electric-indent-post-self-insert-function): Check that
3265 electric-indent-mode is enabled in current buffer.
3266
3267 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3268
3269 * imenu.el (imenu-progress-message): Restore; it is "used" in
3270 erc/erc-imenu.el and net/snmp-mode.el.
3271
3272 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3273
3274 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3275 (mouse-avoidance-nudge-mouse): Remove unused binding.
3276
3277 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3278
3279 * descr-text.el (describe-char):
3280 * progmodes/python.el (python-describe-symbol):
3281 Don't call `toggle-read-only', set `buffer-read-only'.
3282
3283 * imenu.el (imenu-default-goto-function): Mark unused args.
3284 (imenu-progress-message): Remove obsolete macro; all callers changed.
3285
3286 * subr.el (keymap-canonicalize): Remove unused binding.
3287 (read-passwd): Mark unused arg.
3288
3289 * tutorial.el (tutorial--display-changes): Remove unused binding.
3290 (tutorial--save-tutorial-to): Remove unused variable.
3291
3292 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3293 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3294 (package-generate-autoloads, package-menu--generate)
3295 (package-menu--find-upgrades): Remove unused bindings.
3296
3297 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3298 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3299 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3300 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3301 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3302 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3303 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3304 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3305 (cua-delete-char-rectangle): Mark unused args.
3306 (cua-align-rectangle): Remove unused binding.
3307
3308 * mail/rmail.el (compilation--message->loc)
3309 (epa--find-coding-system-for-mime-charset): Declare.
3310
3311 * net/dbus.el (dbus-register-service): Declare.
3312 (dbus-name-owner-changed-handler): Remove unused binding.
3313
3314 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3315 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3316 (nxml-scan-backward-within): Mark unused arg.
3317 (nxml-dynamic-markup-word): Remove unused binding.
3318
3319 * mouse.el (mouse-menu-major-mode-map):
3320 * emacs-lisp/authors.el (authors-scan-change-log)
3321 (authors-add-to-author-list):
3322 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3323 * emacs-lisp/smie.el (smie-auto-fill):
3324 * mail/sendmail.el (mail-bury):
3325 * mail/unrmail.el (unrmail):
3326 * net/tls.el (open-tls-stream):
3327 * textmodes/picture.el (picture-mouse-set-point):
3328 Remove unused bindings.
3329
3330 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3331
3332 * net/tramp.el (tramp-action-password): Let-bind
3333 `enable-recursive-minibuffers' to t.
3334
3335 2012-04-18 Sam Steingold <sds@gnu.org>
3336
3337 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3338 instead of 'string to accommodate values like [f11].
3339 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3340 * progmodes/gdb-mi.el: Likewise.
3341
3342 2012-04-18 Leo Liu <sdl.web@gmail.com>
3343
3344 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3345 current buffer.
3346 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3347 LOCAL is nil.
3348
3349 2012-04-18 Chong Yidong <cyd@gnu.org>
3350
3351 * simple.el (line-move): Use forward-line if in batch mode
3352 (Bug#11053).
3353
3354 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3355
3356 * files.el (after-find-file): Do not try to add a final newline if
3357 the buffer is read-only (Bug#11156).
3358
3359 2012-04-17 Richard Stallman <rms@gnu.org>
3360
3361 * mail/rmail.el (rmail-start-mail):
3362 Pass (rmail-mail-return...) for the return-action.
3363 Pass (rmail-yank-current-message...) for the yank-action.
3364 (rmail-yank-current-message): New function.
3365 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3366 (rmail-reply): Likewise.
3367 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3368
3369 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3370 buffer, not the last. Reject temp buffers. Use the rmail-mode
3371 buffer, not newbuf.
3372
3373 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3374
3375 * server.el (server-ensure-safe-dir): Simplify.
3376
3377 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3378
3379 * emacs-lisp/smie.el: Provide smarter auto-filling.
3380 (smie-auto-fill): New function.
3381 (smie-setup): Use it.
3382
3383 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3384
3385 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3386
3387 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3388 (comment-indent): Use it.
3389
3390 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3391
3392 * ses.el: The overall change is to add cell renaming, that is
3393 setting fancy names for cell symbols other than name matching
3394 "\\`[A-Z]+[0-9]+\\'" regexp .
3395 (ses-localvars): Add ses--renamed-cell-symb-list.
3396 (ses-create-cell-variable): New defun.
3397 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3398 (ses-relocate-formula): Relocate formulas only for cells the
3399 symbols of which are not renamed, i.e. symbols whose names do not
3400 match regexp "\\`[A-Z]+[0-9]+\\'".
3401 (ses-relocate-all): Relocate values only for cells the symbols of
3402 which are not renamed.
3403 (ses-load): Create cells variables as the (ses-cell ...) are read,
3404 in order to check row col consistency with cell symbol name only
3405 for cells that are not renamed.
3406 (ses-replace-name-in-formula): New defun.
3407 (ses-rename-cell): New defun.
3408
3409 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3410
3411 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3412 New option (bug#11118).
3413 (perl-calculate-indent): Respect it.
3414
3415 2012-04-17 Glenn Morris <rgm@gnu.org>
3416
3417 * dired-aux.el (dired-mark-read-string): Doc fix.
3418
3419 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3420
3421 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3422 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3423
3424 2012-04-17 Glenn Morris <rgm@gnu.org>
3425
3426 * mouse.el (mouse-drag-track):
3427 * speedbar.el (speedbar-frame-mode):
3428 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3429
3430 2012-04-16 Leo Liu <sdl.web@gmail.com>
3431
3432 * progmodes/python.el: Trivial cleanup.
3433
3434 2012-04-16 Glenn Morris <rgm@gnu.org>
3435
3436 * vc/vc.el (vc-string-prefix-p):
3437 * vc/pcvs-util.el (cvs-string-prefix-p):
3438 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3439 * mpc.el (mpc-string-prefix-p):
3440 Make all of these into obsolete aliases for string-prefix-p.
3441 Update callers.
3442 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3443
3444 * textmodes/two-column.el: Move custom options to the start.
3445 (frame-width): Remove compat definition.
3446 (2C-associate-buffer, 2C-dissociate):
3447 Use with-current-buffer rather than save-excursion.
3448 (2C-dissociate): Force a mode-line update.
3449 (2C-autoscroll): Use ignore-errors.
3450
3451 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3452 Autoload trivia.
3453
3454 * emacs-lisp/cl-extra.el (*random-state*):
3455 Remove unnecessary declaration.
3456
3457 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3458
3459 * play/cookie1.el (cookie-snarf):
3460 Give an explicit error if input file cannot be read.
3461
3462 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3463
3464 * progmodes/perl-mode.el (c-macro-expand):
3465 Remove unnecessary autoload (it is in loaddefs.el).
3466
3467 * textmodes/picture.el (picture-desired-column)
3468 (picture-update-desired-column): Convert comments to doc-strings.
3469 (picture-substitute): Remove function.
3470 (picture-mode-map): Initialize in the defvar.
3471
3472 * woman.el: Remove eval-after-load for tar-mode.
3473 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3474 (woman-tar-extract-file): Autoload it.
3475
3476 * frame.el (automatic-hscrolling): Make this alias obsolete.
3477
3478 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3479
3480 * ispell.el (ispell-set-spellchecker-params): Post-process
3481 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3482 (ispell-dictionary-base-alist): Revert to original XEmacs
3483 friendly version for default. [:alpha:] will be added in
3484 `ispell-set-spellchecker-params' if needed
3485
3486 2012-04-16 Chong Yidong <cyd@gnu.org>
3487
3488 * image.el (imagemagick--extension-regexp): New variable.
3489 (imagemagick-register-types): Use it.
3490 (imagemagick-types-inhibit): Add :set function. Allow new value
3491 of t to inhibit all types.
3492
3493 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3494 so we can preload it.
3495
3496 * loadup.el (fboundp): Preload regexp-opt, needed by
3497 imagemagick-register-types.
3498
3499 2012-04-15 Chong Yidong <cyd@gnu.org>
3500
3501 * frame.el (scrolling): Remove nearly unused customization group.
3502
3503 * scroll-all.el (scroll-all-mode): Move to windows group.
3504
3505 2012-04-15 Chong Yidong <cyd@gnu.org>
3506
3507 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3508
3509 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3512 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3513
3514 2012-04-15 Glenn Morris <rgm@gnu.org>
3515
3516 * simple.el (process-file-side-effects): Doc fix.
3517
3518 2012-04-15 Glenn Morris <rgm@gnu.org>
3519
3520 * international/mule-cmds.el (set-language-environment): Doc fix.
3521
3522 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3523
3524 * server.el (server-auth-key, server-generate-key): Doc fixes.
3525 (server-get-auth-key): Doc fix. Use `string-match-p'.
3526 (server-start): Reflow docstring.
3527
3528 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3529
3530 * server.el (server-generate-key): `called-interactively-p'
3531 requires a parameter.
3532
3533 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3534
3535 * server.el (server-auth-key): New variable.
3536 (server-generate-key, server-get-auth-key): New function.
3537 (server-start): Use the new variable and functions to allow
3538 setting a permanent server key (bug#9423).
3539
3540 2012-04-14 Leo Liu <sdl.web@gmail.com>
3541
3542 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3543
3544 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3545
3546 Spelling fixes.
3547 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3548 Emacs uses American spelling.
3549
3550 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3551
3552 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3553 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3554 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3555 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3556
3557 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * progmodes/which-func.el (which-func-modes): Change default.
3560
3561 2012-04-14 Kim F. Storm <storm@cua.dk>
3562
3563 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3564 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3565
3566 2012-04-14 Chong Yidong <cyd@gnu.org>
3567
3568 * custom.el (custom-theme-set-variables): Doc fix.
3569
3570 2012-04-14 Glenn Morris <rgm@gnu.org>
3571
3572 * international/mule.el (set-auto-coding-for-load): Doc fix.
3573
3574 2012-04-14 Alan Mackenzie <acm@muc.de>
3575
3576 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3577 imenu work again for Objective C Mode. Correct the *-index values,
3578 these having been disturbed by a previous change in 2011-08.
3579
3580 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3581 Correct two search limits.
3582
3583 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3586
3587 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3588
3589 * international/characters.el: Fix sorting.
3590
3591 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3592
3593 * international/characters.el: Add more missing Latin case pairs.
3594
3595 2012-04-14 Glenn Morris <rgm@gnu.org>
3596
3597 * files.el (dir-locals-set-class-variables): Doc fix.
3598
3599 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3600
3601 * international/characters.el: Add set-case-syntax-pair call for
3602 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3603 counterpart. (Bug#11209)
3604
3605 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3606
3607 2012-04-14 Glenn Morris <rgm@gnu.org>
3608
3609 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3610
3611 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3612
3613 * textmodes/ispell.el (ispell-dictionary-base-alist):
3614 Add data for Hebrew.
3615
3616 2012-04-14 Chong Yidong <cyd@gnu.org>
3617
3618 * net/rcirc.el (rcirc-cmd-quit):
3619 Revert 2012-03-18 change (Bug#11192).
3620
3621 2012-04-14 Glenn Morris <rgm@gnu.org>
3622
3623 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3624
3625 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3626
3627 * minibuffer.el (completion-in-region-mode-map):
3628 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3629
3630 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3631
3632 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3633
3634 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3635
3636 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3637 to allow `C-M-f' and `C-M-b' to move to the nearest path
3638 separator (bug#9511).
3639
3640 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3641
3642 * avoid.el: Require cl when compiling. And also move the
3643 `provide' to the end.
3644
3645 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3646
3647 * avoid.el (mouse-avoidance-banish-position): New variable.
3648 (mouse-avoidance-banish-destination): Use it (bug#10165).
3649
3650 2012-04-13 Leo Liu <sdl.web@gmail.com>
3651
3652 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3653
3654 2012-04-13 Ken Brown <kbrown@cornell.edu>
3655
3656 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3657 this is no longer needed now that cygstart understands file:// URLs.
3658 (browse-url-filename-alist): For the same reason, don't modify
3659 file:// URLs on Cygwin.
3660
3661 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3664 the region on shift if the binding is already shifted (bug#11221).
3665
3666 2012-04-12 Glenn Morris <rgm@gnu.org>
3667
3668 * mail/mailpost.el: Move to obsolete/.
3669
3670 2012-04-12 Drew Adams <drew.adams@oracle.com>
3671
3672 * imenu.el (imenu--generic-function): Ignore invisible definitions
3673 (bug#10123).
3674
3675 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3676
3677 * hexl.el (hexl-bits): New variable.
3678 (hexl-options): Mention the variable in the doc string.
3679 (hexl-rulerise, hexl-line-displen): New functions.
3680 (hexl-mode): Mention the new variable.
3681 (hexl-mode, hexl-current-address, hexl-current-address):
3682 Use the displen.
3683 (hexl-ascii-start-column): New function.
3684 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3685 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3686
3687 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3688
3689 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3690 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3691 the encoding, as expected by hunspell.
3692
3693 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * battery.el (battery--linux-sysfs-regexp): New const.
3696 (battery-status-function): Use it. Remove yeeloong special case.
3697 (battery-yeeloong-sysfs): Remove.
3698 (battery-echo-area-format): Remove yeeloong special case.
3699
3700 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3703 Reported by Noah Friedman.
3704
3705 * subr.el (read-passwd): Use read-string.
3706
3707 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3708
3709 * vcursor.el (vcursor-move): Increase the priority of the overlay
3710 (bug#9663).
3711
3712 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3713
3714 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3715 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3716
3717 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3718
3719 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3720 define-minor-mode (bug#10760).
3721
3722 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3723
3724 * progmodes/grep.el (rgrep): Tweak the find command line so
3725 that directories matching `grep-find-ignored-files' won't be
3726 pruned (bug#10351).
3727
3728 2012-04-11 Chong Yidong <cyd@gnu.org>
3729
3730 * startup.el (command-line): Remove support for long-obsolete
3731 variable font-lock-face-attributes.
3732
3733 2012-04-11 Glenn Morris <rgm@gnu.org>
3734
3735 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3736
3737 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * window.el (window--state-get-1): Obey window-point-insertion-type.
3740
3741 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3742
3743 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3744 to previous function when point is on the first character of a
3745 function. Take care of that in `narrow-to-defun' (bug#6157).
3746
3747 2012-04-11 Glenn Morris <rgm@gnu.org>
3748
3749 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3750 not just file-errors.
3751
3752 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3753 (vc-bzr-sha1): Use internal sha1.
3754
3755 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3758
3759 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3760
3761 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3762 that start in the middle of the line (bug#10496).
3763
3764 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3765
3766 * battery.el (battery-linux-proc-acpi): Only one battery is
3767 discharged at a time, but that seems to confuse battery.el when
3768 computing `rate-type' for the battery not being discharged
3769 (bug#10332).
3770
3771 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3774
3775 * international/quail.el: Use dolist and simplify.
3776 (quail-define-package, quail-update-keyboard-layout)
3777 (quail-define-rules): Use dolist.
3778 (quail-insert-kbd-layout, quail-get-translation): CSE.
3779
3780 * tmm.el: Use dolist, remove left over hook.
3781 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3782 Use dolist.
3783 (calendar-load-hook): Don't mess with it.
3784
3785 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3786 Use derived-mode-p. Run the diff asynchronously.
3787
3788 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3789
3790 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3791
3792 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3793
3794 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3795 (list-dynamic-libraries--loaded): New function.
3796 (list-dynamic-libraries--refresh): Use it.
3797
3798 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3799
3800 * progmodes/python.el (python-fill-paragraph):
3801 Make python-fill-region in a multiline string work when font-lock is
3802 disabled (bug#7018).
3803
3804 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3805
3806 * language/european.el (cp775): Add oem/legacy (en)coding on
3807 DOS/MS Windows for the Baltic languages. There are still plenty
3808 of texts written in this encoding/codepage (bug#6519).
3809
3810 2012-04-10 Glenn Morris <rgm@gnu.org>
3811
3812 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3813 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3814
3815 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3816
3817 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3818 next-line "n" and previous-line "p" in order to make recentf more
3819 consistent with ibuffer, dired or org-mode (bug#9387).
3820
3821 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3822
3823 * image.el (put-image): Return the overlay created instead of the
3824 optional input string (bug#7834). Note that this may break code
3825 that is (for some reason or other) depending on `put-image'
3826 returning the string.
3827
3828 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3829
3830 * simple.el (zap-to-char): Allow zapping using input methods
3831 (bug#1580).
3832
3833 * textmodes/fill.el (fill-region): Leave point and mark where they
3834 were before filling (bug#5399).
3835
3836 2012-04-09 Glenn Morris <rgm@gnu.org>
3837
3838 * version.el (emacs-bzr-get-version):
3839 Handle lightweight checkouts of local branches.
3840
3841 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3842
3843 * international/characters.el: Recover lost case pairs. (Bug#11209)
3844
3845 2012-04-09 Chong Yidong <cyd@gnu.org>
3846
3847 * custom.el (custom-variable-p): Return nil for non-symbol
3848 arguments instead of signaling an error.
3849 (user-variable-p): Obsolete alias for custom-variable-p.
3850
3851 * apropos.el (apropos-variable):
3852 * files-x.el (read-file-local-variable):
3853 * simple.el (set-variable):
3854 * woman.el (woman-mini-help):
3855 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3856
3857 2012-04-09 Glenn Morris <rgm@gnu.org>
3858
3859 * startup.el (normal-top-level): Don't look for leim-list.el
3860 in places where it will not be found. (Bug#910)
3861
3862 * international/mule-cmds.el (set-default-coding-systems):
3863 * files.el (normal-mode):
3864 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3865 This function was removed with ucs-tables.el in 2008.
3866
3867 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3868
3869 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3870 ispell-encoding8-command to "-i", without a trailing space.
3871 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3872 separate command-line arguments, to specify the encoding, since
3873 that's how hunspell expects it.
3874
3875 2012-04-08 Glenn Morris <rgm@gnu.org>
3876
3877 * loadup.el: Load bindings before cus-start.
3878 This reduces somewhat the number of "rogue" settings in emacs -Q.
3879
3880 2012-04-07 Glenn Morris <rgm@gnu.org>
3881
3882 * version.el (emacs-bzr-get-version): New function.
3883 (emacs-bzr-version): New variable.
3884 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3885 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3886
3887 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3888
3889 * international/uni-bidi.el, international/uni-category.el:
3890 * international/uni-combining.el, international/uni-decimal.el:
3891 * international/uni-decomposition.el, international/uni-digit.el:
3892 * international/uni-lowercase.el, international/uni-mirrored.el:
3893 * international/uni-name.el, international/uni-numeric.el:
3894 * international/uni-titlecase.el, international/uni-uppercase.el:
3895 Update for Unicode 6.1.
3896
3897 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3898
3899 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3900
3901 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3902
3903 * window.el (shrink-window): Mention the `window-min-height'
3904 variable in the doc string.
3905
3906 2012-04-05 Bastien Guerry <bzg@altern.org>
3907
3908 * color.el (color-lighten-name): Fix typo.
3909
3910 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3911
3912 * server.el (server--on-display-p): New function.
3913 (server--on-display-p): Use it.
3914
3915 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3916
3917 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3918 (bug#11145).
3919
3920 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * comint.el (comint--common-quoted-suffix): Check string boundary
3923 before comparing (bug#11158).
3924 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3925
3926 2012-04-04 Chong Yidong <cyd@gnu.org>
3927
3928 * minibuffer.el (completion-extra-properties): Doc fix.
3929
3930 * subr.el (delayed-warnings-hook): Doc fix.
3931
3932 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3933
3934 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3935 selection (Bug#11159).
3936 (epa-insert-keys): Inform that the default public key will be
3937 exported if no key is selected.
3938
3939 2012-04-04 Richard Stallman <rms@gnu.org>
3940
3941 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3942
3943 2012-04-03 Chong Yidong <cyd@gnu.org>
3944
3945 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3946 mail-insert-file, not its obsolete alias mail-attach-file.
3947
3948 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3949
3950 * notifications.el (notifications-notify): Fix docstring.
3951
3952 2012-04-02 Glenn Morris <rgm@gnu.org>
3953
3954 * emacs-lisp/authors.el (authors-aliases): Another addition.
3955
3956 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3957
3958 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3959 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3960 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3961
3962 2012-04-01 Chong Yidong <cyd@gnu.org>
3963
3964 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3965 Handle root directory properly.
3966 (copy-directory): Caller changed.
3967
3968 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3969 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3970
3971 2012-03-31 Glenn Morris <rgm@gnu.org>
3972
3973 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3974
3975 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3976
3977 * calendar/calendar.el (calendar-window-list)
3978 (calendar-hide-window): Restore. (Bug#11140)
3979 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3980
3981 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3982
3983 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3984
3985 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3986 Check if file is a symlink (Bug#10489).
3987
3988 * files.el (copy-directory): Likewise.
3989
3990 2012-03-30 Chong Yidong <cyd@gnu.org>
3991
3992 * image.el (imagemagick-types-inhibit)
3993 (imagemagick-register-types): Doc fix.
3994
3995 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3996
3997 * ispell.el (ispell-get-extended-character-mode):
3998 Disable extended-char-mode for hunspell. hunspell does not support it
3999 and treats ~word as ordinary words in pipe mode.
4000
4001 2012-03-30 Glenn Morris <rgm@gnu.org>
4002
4003 * tutorial.el (help-with-tutorial): Ensure local variables don't
4004 happen to make the buffer read-only. (Bug#11127)
4005
4006 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4009 (perl-calculate-indent): Return `noindent' in strings.
4010
4011 2012-03-28 Sam Steingold <sds@gnu.org>
4012
4013 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4014 instead of the broken adhockery which does not prevent calendar
4015 buffers from being displayed at random after exit.
4016 (calendar-window-list, calendar-hide-window): Remove the broken
4017 adhockery.
4018
4019 2012-03-28 Glenn Morris <rgm@gnu.org>
4020
4021 * replace.el (query-replace-map): Doc fix.
4022
4023 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4024
4025 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4026 contents. (Bug#11109)
4027
4028 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4031 (bug#11077).
4032 (avl-tree--check, avl-tree--check-node): New funs.
4033
4034 2012-03-27 Martin Rudalics <rudalics@gmx.at>
4035
4036 * window.el (switch-to-visible-buffer): New option.
4037 (switch-to-prev-buffer, switch-to-next-buffer):
4038 Observe switch-to-visible-buffer. Make sure that checking for a window
4039 showing a buffer already is done on the same frame.
4040
4041 2012-03-27 Glenn Morris <rgm@gnu.org>
4042
4043 * startup.el (mail-host-address): Doc fix.
4044
4045 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4048 than 197 variables.
4049
4050 2012-03-26 Ami Fischman <ami@fischman.org>
4051
4052 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4053
4054 2012-03-26 Glenn Morris <rgm@gnu.org>
4055
4056 * files.el (save-buffers-kill-emacs): Doc fix.
4057
4058 * startup.el (normal-top-level, command-line, command-line-1):
4059 Give them doc strings.
4060
4061 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4062
4063 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4064 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4065
4066 2012-03-25 Chong Yidong <cyd@gnu.org>
4067
4068 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4069 theme if it was previously enabled before (Bug#11031).
4070
4071 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4072 spec with custom-face-get-current-spec if its :shown-value is not
4073 determined yet (Bug#9337).
4074 (customize-create-theme, custom-theme-revert): Doc fixes.
4075
4076 * button.el (button-at): Minor addition to docstring.
4077
4078 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4079
4080 * vc/vc.el (vc-merge): Fix a prompt.
4081
4082 2012-03-24 Chong Yidong <cyd@gnu.org>
4083
4084 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4085 point (Bug#9623).
4086
4087 * button.el (button-at): Minor addition to docstring.
4088
4089 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4090
4091 * newcomment.el (comment-choose-indent): No space after BOL.
4092
4093 2012-03-22 Sam Steingold <sds@gnu.org>
4094
4095 * window.el (switch-to-prev-buffer): Revert last patch because the
4096 bug turned out to be an advertised feature (Elisp manual 28.14).
4097
4098 2012-03-22 Glenn Morris <rgm@gnu.org>
4099
4100 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4101 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4102
4103 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4104
4105 * net/network-stream.el (network-stream-open-starttls): Make error
4106 message under Windows be less misleading.
4107
4108 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4109
4110 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4111 understands (bug#9942).
4112
4113 2012-03-22 Chong Yidong <cyd@gnu.org>
4114
4115 * simple.el (end-of-visible-line): Handle return value of
4116 next-single-property-change properly (Bug#9371).
4117
4118 2012-03-22 Kenichi Handa <handa@m17n.org>
4119
4120 * international/quail.el (quail-insert-kbd-layout): Fix previous
4121 change. To avoid unwanted bidi reordering, use
4122 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4123
4124 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4125
4126 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4127 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4128 (ruby-beginning-of-indent): Be more careful with the difference
4129 between word-boundary and symbol boundary.
4130 (ruby-mode-syntax-table): Make : a symbol constituent.
4131
4132 2012-03-21 Andreas Politz <politza@fh-trier.de>
4133
4134 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4135
4136 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * progmodes/etags.el (tags-completion-at-point-function):
4139 Improve last fix.
4140
4141 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4142
4143 2012-03-21 Sam Steingold <sds@gnu.org>
4144
4145 * progmodes/etags.el (tags-completion-at-point-function):
4146 Avoid the error when point is inside the pattern.
4147
4148 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4149
4150 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4151 line (Bug#10855).
4152
4153 2012-03-21 Drew Adams <drew.adams@oracle.com>
4154
4155 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4156
4157 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4158
4159 * ido.el (ido-set-current-directory, ido-read-internal)
4160 (ido-choose-completion-string, ido-completion-help): Handle nil
4161 value of ido-completion-buffer (Bug#11008).
4162
4163 2012-03-21 Sam Steingold <sds@gnu.org>
4164
4165 * window.el (switch-to-prev-buffer): Do not switch to a visible
4166 window previous buffer, just like with the frame previous buffers.
4167
4168 2012-03-21 Chong Yidong <cyd@gnu.org>
4169
4170 * faces.el (make-face, make-empty-face, copy-face):
4171 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4172 Doc fixes.
4173
4174 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4177 (widget-complete): Remove broken use of it.
4178
4179 2012-03-20 Chong Yidong <cyd@gnu.org>
4180
4181 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4182 Use string-width and truncate-string-width to handle arbitrary
4183 characters.
4184
4185 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4186
4187 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4188 to draw rectangles, not squares. (Regression introduced by revno
4189 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4190
4191 2012-03-18 Chong Yidong <cyd@gnu.org>
4192
4193 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4194 it is not yet defined (for temacs).
4195
4196 2012-03-18 Leo Liu <sdl.web@gmail.com>
4197
4198 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4199
4200 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4201
4202 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4203 (ispell-choices-win-default-height, ispell-silently-savep)
4204 (ispell-dictionary-alist, ispell-encoding8-command)
4205 (ispell-check-version, ispell-aspell-find-dictionary)
4206 (ispell-valid-dictionary-list, ispell-words-keyword)
4207 (ispell-get-word, ispell-internal-change-dictionary)
4208 (ispell-region, ispell-skip-region-list)
4209 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4210 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4211 (ispell-message-text-end, ispell-message)
4212 (ispell-buffer-local-parsing): Doc fix.
4213
4214 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4215
4216 * htmlfontify.el: Add support for code block fontification for ODT
4217 export (Bug #9914).
4218 (hfy-optimisations): Define new option
4219 `body-text-only'
4220 (hfy-fontify-buffer): Honor above setting.
4221 (hfy-begin-span, hfy-end-span): New routines factored out form
4222 `hfy-fontify-buffer'.
4223 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4224 that permit insertion of custom tags.
4225 (hfy-fontify-buffer): Use above handlers.
4226 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4227 (hfy-face-to-css): Re-defined to be a variable.
4228 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4229 over multiple runs. This is made possible by having the caller let
4230 bind a special variable `hfy-user-sheet-assoc'.
4231 (htmlfontify-string): New defun.
4232 (hfy-compile-face-map): Make sure that the last char in the
4233 buffer is correctly fontified.
4234 (hfy-face-resolve-face): Whitespace only change.
4235
4236 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4237
4238 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4239 message more clear.
4240
4241 2012-03-16 Leo Liu <sdl.web@gmail.com>
4242
4243 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4244
4245 2012-03-16 Alan Mackenzie <acm@muc.de>
4246
4247 Further optimise the handling of large macros.
4248
4249 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4250 limit to a call of `c-literal-limits'.
4251 (c-determine-+ve-limit): New function.
4252 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4253 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4254 In CASE 5B, restrict a search limit to 500.
4255 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4256
4257 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4258 Restrict macro bounds to +-500 from after-change's BEG END.
4259
4260 2012-03-16 Leo Liu <sdl.web@gmail.com>
4261
4262 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4263
4264 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4265
4266 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4267 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4268
4269 2012-03-16 Glenn Morris <rgm@gnu.org>
4270
4271 * view.el (view-buffer, view-buffer-other-window)
4272 (view-buffer-other-frame): Doc fixes re special mode-class.
4273
4274 * subr.el (eval-after-load): If named feature is provided not from
4275 a file, run after-load forms. (Bug#10946)
4276
4277 * calendar/calendar.el (calendar-insert-at-column):
4278 Handle non-unit-width characters a bit better. (Bug#10978)
4279
4280 2012-03-15 Chong Yidong <cyd@gnu.org>
4281
4282 * emacs-lisp/ring.el (ring-extend): New function.
4283 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4284
4285 * comint.el (comint-read-input-ring)
4286 (comint-add-to-input-history): Grow comint-input-ring lazily.
4287
4288 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4291 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4292
4293 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4294 (imenu-add-to-menubar): Don't add a redundant index.
4295 (imenu-update-menubar): Handle a dynamically composed keymap.
4296
4297 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4298
4299 * mail/sendmail.el (mail-encode-header):
4300 Bind rfc2047-encode-encoded-words to nil.
4301
4302 2012-03-13 Glenn Morris <rgm@gnu.org>
4303
4304 * calendar/calendar.el (calendar-string-spread):
4305 Handle non-unit-width characters a bit better. (Bug#10978)
4306
4307 2012-03-13 Leo Liu <sdl.web@gmail.com>
4308
4309 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4310 directory and file as argument (Bug#10822).
4311
4312 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4313
4314 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4315 For dynamically generated code, follow $PC.
4316 (gdb-disassembly-handler-custom): Handle no function name case.
4317
4318 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4319
4320 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4321 * emulation/ws-mode.el (ws-query-replace):
4322 * sort.el (sort-regexp-fields):
4323 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4324
4325 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * dabbrev.el: Fix cycle completion order (bug#10963).
4328 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4329 (dabbrev-completion): Don't use an obarray; provide
4330 a cycle-sort-function.
4331
4332 2012-03-12 Leo Liu <sdl.web@gmail.com>
4333
4334 * simple.el (kill-new): Use equal-including-properties for comparison.
4335 (kill-do-not-save-duplicates): Doc fix.
4336
4337 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * dabbrev.el: Fix cycle completion (bug#10963).
4340 Use lexical binding and wrap to 80 columns.
4341 (dabbrev-completion): Delay computing the list of completions.
4342
4343 2012-03-12 Kenichi Handa <handa@m17n.org>
4344
4345 * international/quail.el (quail-insert-kbd-layout): Surround each
4346 row by LRO and PDF instead of inserting many LRMs. Pad the left
4347 and right of each non-spacing marks. Insert invisible space
4348 between lower and upper characters to prevent composition.
4349
4350 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * minibuffer.el (minibuffer-complete): Don't get confused when the
4353 function is run twice via different commands (bug#10958).
4354 (complete-with-action): Fix docstring.
4355
4356 2012-03-12 Chong Yidong <cyd@gnu.org>
4357
4358 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4359 (nxml-completion-at-point-function): New function.
4360 (nxml-mode): Use it.
4361 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4362
4363 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4364 Load generated autoloads file before byte compiling (Bug#10970).
4365 (package--make-autoloads-and-compile): New helper fun.
4366
4367 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4368
4369 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4370
4371 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4372
4373 * autorevert.el (auto-revert-handler): Ensure, that
4374 file-readable-p is applied only for local files or in
4375 auto-revert-tail-mode.
4376
4377 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4378
4379 * server.el (server-eval-at): Handle non-tcp connections.
4380 Decode result string.
4381
4382 * server.el (server-msg-size): New constant.
4383 (server-reply-print): New function.
4384 (server-eval-and-print): Use it.
4385 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4386 Handle -print-nonl.
4387
4388 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4389
4390 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4391 (Bug#10987).
4392
4393 2012-03-11 Chong Yidong <cyd@gnu.org>
4394
4395 * simple.el (goto-line): Doc fix (Bug#9938).
4396
4397 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4398
4399 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4400 when finished (Bug#10963).
4401
4402 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4403
4404 * window.el (split-window-below): Fix bug in case where
4405 split-window-keep-point is nil (Bug#10971).
4406
4407 2012-03-11 Juri Linkov <juri@jurta.org>
4408
4409 * replace.el (replace-highlight): Set isearch-word to nil
4410 unconditionally. (Bug#10887)
4411
4412 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4413
4414 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4415 mairix-replace-illegal-chars; all callers changed. Don't remove
4416 ^, ~, and = characters: they are meaningful in mairix search specs.
4417 (mairix-widget-create-query): Add usage information about mairix
4418 search forms: negating words, searching for substrings, etc.
4419
4420 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4421
4422 * international/fontset.el (font-encoding-alist): Add an entry for
4423 ksx1001 (Bug#5667).
4424
4425 2012-03-10 Richard Stallman <rms@gnu.org>
4426
4427 * mail/sendmail.el (mail-encode-header):
4428 Set rfc2047-encode-encoded-words.
4429
4430 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4431
4432 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4433 view buffer means not swapped.
4434 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4435 (rmail-write-region-annotate): Error if real text has disappeared.
4436
4437 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4438
4439 2012-03-10 Chong Yidong <cyd@gnu.org>
4440
4441 * emulation/cua-rect.el (cua--init-rectangles):
4442 * emulation/cua-base.el (cua--init-keymaps):
4443 Add delete-forward-char to remappings (Bug#9666).
4444
4445 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4446
4447 * speedbar.el (speedbar-unhighlight-one-tag-line):
4448 Avoid unhighlighting due to frame switching (Bug#10275).
4449
4450 2012-03-10 Chong Yidong <cyd@gnu.org>
4451
4452 * minibuffer.el (completion-in-region, completion-help-at-point):
4453 Give the completion field overlay a high priority (Bug#6830).
4454
4455 * dired.el (dired-goto-file): Recognize absolute file name
4456 listings (Bug#7126).
4457 (dired-goto-file-1): New helper function.
4458 (dired-toggle-read-only): Inhibit warnings.
4459
4460 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4461
4462 * net/dbus.el (dbus-property-handler): Return empty array if
4463 there are no properties.
4464
4465 2012-03-09 Leo Liu <sdl.web@gmail.com>
4466
4467 * savehist.el (savehist-printable): Stricter check for string
4468 value (Bug#10937).
4469
4470 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4471
4472 * mail/smtpmail.el (smtpmail-send-it):
4473 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4474 valid mbox format.
4475
4476 2012-03-09 Glenn Morris <rgm@gnu.org>
4477
4478 * files.el (dir-locals-find-file):
4479 Don't check result is regular, readable.
4480 (dir-locals-read-from-file): Demote errors.
4481
4482 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4483
4484 * international/quail.el (quail-insert-kbd-layout):
4485 Insert invisible LRM characters before each character in a keyboard
4486 layout cell, to prevent their reordering by bidi display engine.
4487 For details, see the discussion in
4488 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4489
4490 2012-03-08 Alan Mackenzie <acm@muc.de>
4491
4492 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4493 the starting position; make it extend the marked region when
4494 invoked repeatedly - all under appropriate circumstances.
4495 Fixes bugs #5525, #10906.
4496
4497 2012-03-08 Glenn Morris <rgm@gnu.org>
4498
4499 * files.el (locate-dominating-file, dir-locals-find-file):
4500 Undo 2012-03-06 change.
4501
4502 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4503
4504 * international/quail.el (quail-help):
4505 Force bidi-paragraph-direction be left-to-right. See discussion in
4506 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4507 for the reason.
4508
4509 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4510
4511 Avoid superfluous registering of signals. (Bug#10807)
4512
4513 * notifications.el (notifications-on-action-object)
4514 (notifications-on-close-object): New defvars.
4515 (notifications-on-action-signal, notifications-on-closed-signal):
4516 Unregister the signal if not needed any longer.
4517 (notifications-notify): Register `notifications-action-signal' or
4518 `notifications-closed-signal', if :on-action or :on-close has been
4519 passed as argument.
4520
4521 2012-03-07 Chong Yidong <cyd@gnu.org>
4522
4523 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4524 non-X platforms.
4525
4526 2012-03-06 Glenn Morris <rgm@gnu.org>
4527
4528 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4529 (x-disown-selection-internal, x-get-selection-internal):
4530 Doc fix (add arglist signatures). (Bug#10783)
4531
4532 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4533
4534 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4535 Handle breakpoints with no "type".
4536
4537 2012-03-06 Glenn Morris <rgm@gnu.org>
4538
4539 * files.el (locate-dominating-file): Add optional predicate argument.
4540 (dir-locals-find-file): Make use of above change.
4541
4542 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4543
4544 * info.el (Info-insert-dir): Also try "dir.gz".
4545
4546 2012-03-06 Glenn Morris <rgm@gnu.org>
4547
4548 * files.el (dir-locals-find-file):
4549 Ignore non-readable or non-regular files. (Bug#10928)
4550
4551 * files.el (locate-dominating-file): Doc fix.
4552
4553 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4554
4555 * calendar/calendar.el (calendar-set-mode-line):
4556 `getenv' returns a string. (Bug#10951)
4557
4558 2012-03-05 Leo Liu <sdl.web@gmail.com>
4559
4560 * simple.el (backward-delete-char-untabify): Constrain point to
4561 field (Bug#10939).
4562
4563 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4564
4565 2012-03-05 Chong Yidong <cyd@gnu.org>
4566
4567 * simple.el (count-words): If called from Lisp, return the word
4568 count, for symmetry with `count-lines'. Arglist changed.
4569 (count-words--message): Args changed. Consolidate counting code
4570 from count-words and count-words-region.
4571 (count-words-region): Caller changed.
4572 (count-lines-region): Make it an obsolete alias.
4573
4574 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4575
4576 * saveplace.el (save-place-to-alist)
4577 (save-place-ignore-files-regexp): Allow value nil to disable this
4578 feature.
4579
4580 2012-03-04 Chong Yidong <cyd@gnu.org>
4581
4582 * faces.el (face-spec-reset-face): For the default face, reset the
4583 attributes to default values (Bug#10748).
4584
4585 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4586
4587 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4588 previous patch: Check `message-send-mail-function', and not the
4589 default function (bug#10897).
4590
4591 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4592
4593 * notifications.el (notifications-on-action-signal)
4594 (notifications-on-closed-signal): Check for unique service name of
4595 incoming event. Fix error in removing entry.
4596 (top): Register for signals with wildcard service name.
4597 (notifications-notify): Use daemon unique service name for map entries.
4598
4599 2012-03-04 Chong Yidong <cyd@gnu.org>
4600
4601 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4602
4603 2012-03-04 Glenn Morris <rgm@gnu.org>
4604
4605 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4606 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4607 (expand-abbrev, define-abbrev-table): Doc fixes.
4608
4609 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4610
4611 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4612 `message-default-send-mail-function' and not `send-mail-function'
4613 when doing the prompting for `sendmail-query-once' before sending
4614 in Message buffers (bug#10897).
4615
4616 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4617 This is inconsistent with all the other stream functions, which leave
4618 the setting up to the higher levels (if so wanted) (bug#10931).
4619
4620 2012-03-02 Alan Mackenzie <acm@muc.de>
4621
4622 Depessimize the handling of very large macros.
4623
4624 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4625 (c-macro-cache-syntactic): New variables to implement a one
4626 element macro cache.
4627 (c-invalidate-macro-cache): New function.
4628 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4629 Adapt to use the new cache.
4630 (c-state-safe-place): Use better the cache of safe positions.
4631 (c-state-semi-nonlit-pos-cache)
4632 (c-state-semi-nonlit-pos-cache-limit):
4633 New variables for...
4634 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4635 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4636 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4637 Use c-state-semi-safe-place.
4638
4639 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4640 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4641
4642 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4643
4644 * jka-compr.el (jka-compr-call-process):
4645 Apply `file-accessible-directory-p' only when the default directory is
4646 not remote.
4647
4648 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4649
4650 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4651 access of FILE2, if FILE1 does not exist.
4652
4653 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4654 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4655
4656 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4657 Add "PAGER=" to `process-environment'.
4658
4659 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4660
4661 * progmodes/sql.el: Bug fix
4662 (sql-get-login-ext): Save login values in globals.
4663 (sql-get-login): Use new version of `sql-get-login-ext'.
4664 (sql-interactive-mode): Set global `sql-connection' to nil.
4665 (sql-connect): Set global values for connection.
4666 (sql-product-interactive): Save global values as buffer local.
4667
4668 2012-02-29 Leo Liu <sdl.web@gmail.com>
4669
4670 * abbrev.el (define-abbrevs): Reset sys to nil.
4671
4672 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4673
4674 * files.el (file-equal-p): Rename from `files-equal-p'.
4675 Return nil when one or both files don't exist.
4676 (file-subdir-of-p): Now only top directory must exists,
4677 return nil if it doesn't.
4678 (copy-directory): No need to test with `file-subdir-of-p' after
4679 creating dir.
4680 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4681 to `file-equal-p'.
4682
4683 2012-02-28 Glenn Morris <rgm@gnu.org>
4684
4685 * shell.el (shell-mode):
4686 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4687 * play/landmark.el (landmark-font-lock-face-O):
4688 * play/handwrite.el (handwrite):
4689 * play/gomoku.el (gomoku-O):
4690 * net/browse-url.el (browse-url-browser-display):
4691 * international/mule.el (define-charset):
4692 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4693 * filesets.el (filesets-find-file-delay):
4694 * eshell/em-xtra.el (eshell-xtra):
4695 * eshell/em-unix.el (eshell-grep):
4696 * emulation/viper.el (viper-mode):
4697 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4698 * emacs-lisp/easymenu.el (easy-menu-define):
4699 * calendar/timeclock.el (timeclock-use-display-time):
4700 * bs.el (bs-mode):
4701 * bookmark.el (bookmark-save-flag):
4702 Doc fix (standardize possessive apostrophe usage).
4703
4704 2012-02-27 Chong Yidong <cyd@gnu.org>
4705
4706 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4707 Fix key-binding lookup for ESC key (Bug#9146).
4708
4709 * font-lock.el (font-lock-specified-p): Rename from
4710 font-lock-spec-present. Callers changed.
4711
4712 2012-02-27 Daniel Hackney <dan@haxney.org>
4713
4714 * emacs-lisp/package.el (package-compute-transaction):
4715 Handle holding a package version to t in package-load-list.
4716
4717 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4718
4719 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4720 (tramp-get-inode, tramp-get-device): Use cached values.
4721
4722 2012-02-26 Alan Mackenzie <acm@muc.de>
4723
4724 Check there is a font-lock specification before doing initial
4725 fontification.
4726
4727 * font-core.el (font-lock-mode): Move the conditional from
4728 :after-hook to font-lock-initial-fontify.
4729 (font-lock-default-function): Move the check for a specification
4730 to font-lock-spec-present.
4731
4732 * font-lock.el (font-lock-initial-fontify): Call ...
4733 (font-lock-spec-present): New function.
4734
4735 2012-02-26 Jim Blandy <jimb@red-bean.com>
4736
4737 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4738 (gdb-send): Apply it to the operand of the '-interpreter-exec
4739 console' command, so that we can pass arguments with (say) quotes
4740 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4741
4742 2012-02-26 Chong Yidong <cyd@gnu.org>
4743
4744 * help-fns.el (describe-function-1): Clarify description of
4745 remapping (Bug#10844).
4746
4747 * files.el (files-equal-p): Doc fix.
4748 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4749 and quit the loop once a mismatch is found.
4750
4751 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4752
4753 * bs.el (bs--show-with-configuration): Don't throw an error
4754 if the window cannot be split; otherwise, subsequent calls to
4755 bs-show fail, restoring a stale window config. (Bug#10882)
4756
4757 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4758
4759 * term/ns-win.el (global-map): Bind ns-drag-file to
4760 ns-find-file (Bug#5855, Bug#10050).
4761
4762 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4763
4764 * calendar/parse-time.el (parse-time-string): Allow extractor to
4765 return nil.
4766
4767 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4768
4769 * net/tramp.el (tramp-file-name-for-operation):
4770 Add `files-equal-p' and `file-subdir-of-p'.
4771
4772 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4773 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4774 Add COPY-CONTENTS argument.
4775
4776 2012-02-25 Chong Yidong <cyd@gnu.org>
4777
4778 Add custom groups for VC backends, for consistency with vc-bzr.
4779
4780 * vc/vc-arch.el (vc-arch):
4781 * vc/vc-cvs.el (vc-cvs):
4782 * vc/vc-git.el (vc-git):
4783 * vc/vc-hg.el (vc-hg):
4784 * vc/vc-mtn.el (vc-mtn):
4785 * vc/vc-rcs.el (vc-rcs):
4786 * vc/vc-sccs.el (vc-sccs):
4787 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4788 All relevant defcustoms reassigned.
4789
4790 2012-02-25 Chong Yidong <cyd@gnu.org>
4791
4792 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4793
4794 * term/x-win.el (x-initialize-window-system): Reduce default for
4795 x-selection-timeout to 5 seconds (Bug#8869).
4796
4797 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4798
4799 * files.el (files-equal-p, file-subdir-of-p): New functions.
4800 (copy-directory): Error when trying to copy a directory on itself.
4801 Add missing copy-contents arg to tramp handler.
4802 * dired-aux.el (dired-copy-file-recursive): Same.
4803 (dired-create-files): Modify destination when source is equal to
4804 dest when copying files.
4805 Return also when dest is a subdir of source. (Bug#10489)
4806
4807 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4808
4809 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4810 (Bug#10874)
4811
4812 2012-02-23 Alan Mackenzie <acm@muc.de>
4813
4814 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4815 parameter "after-hook:" to allow the expansion to run code after
4816 the execution of the mode hooks.
4817
4818 * font-lock.el (font-lock-initial-fontify): New function extracted
4819 from font-lock-mode-internal.
4820
4821 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4822 :after-hook.
4823
4824 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4825
4826 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4827 (completion--cache-all-sorted-completions): New function.
4828 (completion-all-sorted-completions): Use it.
4829 (completion--do-completion, minibuffer-force-complete):
4830 Use it to re-instate the flush hook.
4831
4832 * icomplete.el (icomplete-completions): Replace last fix with a better
4833 one (bug#10850).
4834
4835 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4836
4837 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4838 when it might call us back infinitely (bug#10797).
4839
4840 2012-02-23 Glenn Morris <rgm@gnu.org>
4841
4842 * minibuffer.el (completion-category-overrides): Doc fix.
4843
4844 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4847 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4848
4849 2012-02-23 Glenn Morris <rgm@gnu.org>
4850
4851 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4852 (authors-obsolete-files-regexps, authors-ignored-files)
4853 (authors-ambiguous-files, authors-renamed-files-alist):
4854 Add more entries.
4855
4856 2012-02-23 Juri Linkov <juri@jurta.org>
4857
4858 * isearch.el (isearch-occur): Sync interactive spec with occur's
4859 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4860
4861 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4862
4863 2012-02-22 Juri Linkov <juri@jurta.org>
4864
4865 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4866 (ucs-insert): Doc fix. Check for hex digits in the string.
4867 Don't display `nil' in the error message. (Bug#10857)
4868
4869 2012-02-22 Alan Mackenzie <acm@muc.de>
4870
4871 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4872
4873 2012-02-22 Glenn Morris <rgm@gnu.org>
4874
4875 * ffap.el (ffap-c-path):
4876 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4877
4878 2012-02-22 Chong Yidong <cyd@gnu.org>
4879
4880 * custom.el (load-theme): Doc fix.
4881
4882 2012-02-22 Glenn Morris <rgm@gnu.org>
4883
4884 * dired-x.el (dired-guess-shell-alist-default):
4885 Remove escape sequences from nroff output. (Bug#172)
4886
4887 2012-02-21 Glenn Morris <rgm@gnu.org>
4888
4889 * vc/emerge.el (emerge-defvar-local):
4890 Set `permanent-local' property rather than unused `preserved'.
4891
4892 * textmodes/picture.el (picture-delete-char): New alias.
4893 (picture-mode-map): Use it. (Bug#10860)
4894 (picture-mode): Doc fix.
4895
4896 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4897
4898 * newcomment.el (uncomment-region-default): Remove unused binding.
4899
4900 2012-02-21 Glenn Morris <rgm@gnu.org>
4901
4902 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4903 (picture-self-insert, picture-tab-chars): Doc fix.
4904 (picture-mode-map): Fix C-a, C-e.
4905
4906 2012-02-20 Glenn Morris <rgm@gnu.org>
4907
4908 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4909
4910 2012-02-20 Leo Liu <sdl.web@gmail.com>
4911
4912 * icomplete.el (icomplete-completions): Check FROM arg before
4913 passing to substring (Bug#10850).
4914
4915 2012-02-19 Chong Yidong <cyd@gnu.org>
4916
4917 * comint.el: Require ansi-color.
4918 (comint-output-filter-functions): Add ansi-color-process-output.
4919
4920 * ansi-color.el: Don't set comint-output-filter-functions; it is
4921 now in the initial value defined in comint.el.
4922 (ansi-color-apply-face-function): New variable.
4923 (ansi-color-apply-on-region): Use it.
4924 (ansi-color-apply-overlay-face): New function.
4925
4926 * shell.el (shell): No need to require ansi-color.
4927 (shell-mode): Use ansi-color-apply-face-function to highlight
4928 color escapes using font-lock-face property (Bug#10835).
4929
4930 2012-02-19 Chong Yidong <cyd@gnu.org>
4931
4932 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4933 mode-line formats (Bug#10839).
4934
4935 2012-02-18 Glenn Morris <rgm@gnu.org>
4936
4937 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4938
4939 * mail/undigest.el (unforward-rmail-message): Doc fix.
4940
4941 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4942
4943 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4944
4945 * international/characters.el (script-list): Sync with the latest
4946 Unicode Character Database.
4947
4948 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4949
4950 * international/titdic-cnv.el: Remove duplicate coding tag.
4951 * language/cham.el: Likewise.
4952 * language/tai-viet.el: Likewise.
4953
4954 2012-02-18 Glenn Morris <rgm@gnu.org>
4955
4956 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4957 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4958 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4959 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4960 * calendar/holidays.el (holiday-bahai-holidays)
4961 (calendar-holidays, list-holidays):
4962 Use utf-8 Bahá'í in doc-strings, menus, etc.
4963
4964 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4965
4966 * saveplace.el (save-place-ignore-files-regexp): New variable
4967 allowing for excluding files from saving their location of point.
4968 The default value matches the temporary commit message editing
4969 files from Git, SVN, Bazaar, and Mercurial.
4970 (save-place-to-alist): Use it.
4971
4972 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4973 Stefan Monnier <monnier@iro.umontreal.ca>
4974
4975 * newcomment.el (uncomment-region-default): Don't leave extra space
4976 when an arg is provided (bug#8150).
4977
4978 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4979
4980 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4981
4982 2012-02-17 Glenn Morris <rgm@gnu.org>
4983
4984 * net/socks.el: Require network-stream. (Bug#10599)
4985
4986 2012-02-17 Kenichi Handa <handa@m17n.org>
4987
4988 * international/charprop.el:
4989 * international/uni-name.el:
4990 * international/uni-old-name.el:
4991 * international/uni-comment.el: Regenerate.
4992
4993 2012-02-16 Glenn Morris <rgm@gnu.org>
4994
4995 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4996 Interactively in calendar buffer, give an error if not on a date.
4997
4998 2012-02-15 Glenn Morris <rgm@gnu.org>
4999
5000 * shell.el (shell-delimiter-argument-list):
5001 Revert 2011-02-17 change. (Bug#8027)
5002
5003 2012-02-15 Chong Yidong <cyd@gnu.org>
5004
5005 * minibuffer.el (completion-at-point-functions): Doc fix.
5006
5007 * custom.el (defcustom): Doc fix; note use of defvar.
5008
5009 2012-02-15 Glenn Morris <rgm@gnu.org>
5010
5011 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5012 Doc fixes.
5013
5014 2012-02-14 Glenn Morris <rgm@gnu.org>
5015
5016 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5017
5018 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5019
5020 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5021 way the ports list is computed.
5022 (smtpmail-query-smtp-server): Prompt the user for a port number if
5023 we can't connect to any of the standard ports (bug#10810).
5024
5025 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5026
5027 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5028
5029 2012-02-13 Glenn Morris <rgm@gnu.org>
5030
5031 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5032
5033 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5034
5035 * net/gnutls.el (gnutls-trustfiles): New variable.
5036 (gnutls-negotiate): Use it.
5037
5038 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5039
5040 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5041 does its stuff if Gnus is running.
5042
5043 2012-02-13 Alan Mackenzie <acm@muc.de>
5044
5045 Fix a loop in c-set-fl-decl-start.
5046
5047 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
5048 c-backward-syntactic-ws actually moves backwards.
5049
5050 2012-02-13 Leo Liu <sdl.web@gmail.com>
5051
5052 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5053 beginning so that all \C-o chars are removed.
5054
5055 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5056
5057 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5058
5059 2012-02-12 Alan Mackenzie <acm@muc.de>
5060
5061 Fix infinite loop with long macros.
5062 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5063
5064 2012-02-12 Chong Yidong <cyd@gnu.org>
5065
5066 * window.el (display-buffer): Doc fix (Bug#10785).
5067
5068 2012-02-12 Glenn Morris <rgm@gnu.org>
5069
5070 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5071 (x-disown-selection-internal, x-get-selection-internal):
5072 Sync docs with the xselect.c versions.
5073
5074 * allout-widgets.el: Add missing license notice.
5075
5076 2012-02-11 Glenn Morris <rgm@gnu.org>
5077
5078 * select.el (x-get-selection-internal, x-own-selection-internal)
5079 (x-disown-selection-internal):
5080 * x-dnd.el (x-get-selection-internal): Update declarations.
5081
5082 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5083
5084 * window.el (window-sides-slots):
5085 * tool-bar.el (tool-bar-position):
5086 * term/xterm.el (xterm-extra-capabilities):
5087 * ses.el (ses-self-reference-early-detection):
5088 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5089 (verilog-auto-wire-type)
5090 (verilog-auto-delete-trailing-whitespace)
5091 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5092 (verilog-auto-tieoff-declaration):
5093 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5094 (sql-oracle-statement-starters, sql-oracle-scan-on):
5095 * progmodes/prolog.el (prolog-align-comments-flag)
5096 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5097 (prolog-left-indent-regexp, prolog-paren-indent-p)
5098 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5099 (prolog-types, prolog-mode-specificators)
5100 (prolog-determinism-specificators, prolog-directives)
5101 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5102 (prolog-electric-dot-flag)
5103 (prolog-electric-dot-full-predicate-template)
5104 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5105 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5106 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5107 (prolog-program-switches, prolog-prompt-regexp)
5108 (prolog-debug-on-string, prolog-debug-off-string)
5109 (prolog-trace-on-string, prolog-trace-off-string)
5110 (prolog-zip-on-string, prolog-zip-off-string)
5111 (prolog-use-standard-consult-compile-method-flag)
5112 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5113 (prolog-imenu-max-lines, prolog-info-predicate-index)
5114 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5115 (prolog-char-quote-workaround):
5116 * progmodes/cc-vars.el (c-defun-tactic):
5117 * net/tramp.el (tramp-encoding-command-interactive)
5118 (tramp-local-end-of-line):
5119 * net/soap-client.el (soap-client):
5120 * net/netrc.el (netrc-file):
5121 * net/gnutls.el (gnutls):
5122 * minibuffer.el (completion-category-overrides)
5123 (completion-cycle-threshold)
5124 (completion-pcm-complete-word-inserts-delimiters):
5125 * man.el (Man-name-local-regexp):
5126 * mail/feedmail.el (feedmail-display-full-frame):
5127 * international/characters.el (glyphless-char-display-control):
5128 * eshell/em-ls.el (eshell-ls-date-format):
5129 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5130 (lisp-lambda-list-keyword-parameter-indentation)
5131 (lisp-lambda-list-keyword-parameter-alignment):
5132 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5133 * dired-x.el (dired-omit-verbose):
5134 * cus-theme.el (custom-theme-allow-multiple-selections):
5135 * calc/calc.el (calc-highlight-selections-with-faces)
5136 (calc-lu-field-reference, calc-lu-power-reference)
5137 (calc-note-threshold):
5138 * battery.el (battery-mode-line-limit):
5139 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5140 (archive-7z-update):
5141 * allout.el (allout-prefixed-keybindings)
5142 (allout-unprefixed-keybindings)
5143 (allout-inhibit-auto-fill-on-headline)
5144 (allout-flattened-numbering-abbreviation):
5145 * allout-widgets.el (allout-widgets-auto-activation)
5146 (allout-widgets-icons-dark-subdir)
5147 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5148 (allout-widgets-theme-dark-background)
5149 (allout-widgets-theme-light-background)
5150 (allout-widgets-item-image-properties-emacs)
5151 (allout-widgets-item-image-properties-xemacs)
5152 (allout-widgets-run-unit-tests-on-load)
5153 (allout-widgets-time-decoration-activity)
5154 (allout-widgets-hook-error-post-time)
5155 (allout-widgets-track-decoration):
5156 Add missing :version tags to new defcustoms and defgroups.
5157
5158 * progmodes/sql.el (sql-ansi-statement-starters)
5159 (sql-oracle-statement-starters): Add custom type.
5160
5161 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5162 (prolog-system-version): Give it a type.
5163
5164 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5165
5166 * term/pc-win.el (x-select-text, x-selection-owner-p)
5167 (x-own-selection-internal, x-disown-selection-internal)
5168 (x-get-selection-internal): Sync doc strings and argument lists
5169 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5170
5171 2012-02-11 Leo Liu <sdl.web@gmail.com>
5172
5173 * progmodes/python.el (python-end-of-statement): Fix infinite
5174 loop. (Bug#10788)
5175
5176 2012-02-10 Glenn Morris <rgm@gnu.org>
5177
5178 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5179 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5180
5181 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5182
5183 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5184 about SMTP before checking the From header.
5185
5186 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5187 into own function for reuse by emacsbug.el.
5188
5189 2012-02-10 Leo Liu <sdl.web@gmail.com>
5190
5191 * subr.el (condition-case-unless-debug): Rename from
5192 condition-case-no-debug. All callers changed.
5193 (with-demoted-errors): Fix caller.
5194
5195 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5196 * nxml/rng-valid.el (rng-do-some-validation):
5197 * emacs-lisp/package.el (package-refresh-contents)
5198 (package-menu-execute):
5199 * desktop.el (desktop-create-buffer):
5200 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5201
5202 2012-02-10 Glenn Morris <rgm@gnu.org>
5203
5204 * textmodes/bibtex.el:
5205 Add missing :version tags for new/changed defcustoms.
5206
5207 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5208
5209 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5210
5211 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5212 (smtpmail-via-smtp): Use it, or fall back on the From address.
5213 (smtpmail-send-it): Ditto.
5214
5215 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5218 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5219 (byte-compile-tmp-var): New const.
5220 (byte-compile-defvar): Use it to minimize .elc size.
5221 Just use `defvar' rather than simulate it (bug#10761).
5222
5223 2012-02-09 Glenn Morris <rgm@gnu.org>
5224
5225 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5226
5227 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5228 Add :version tags.
5229
5230 * progmodes/compile.el (compilation-error-screen-columns)
5231 (compilation-first-column, compilation-filter-start): Doc fixes.
5232
5233 * vc/log-view.el (log-view-toggle-entry-display):
5234 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5235
5236 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5237 (report-emacs-bug-can-use-xdg-email):
5238 (report-emacs-bug-insert-to-mailer): Doc fixes.
5239 (report-emacs-bug): Message fix.
5240
5241 * net/browse-url.el (browse-url-can-use-xdg-open)
5242 (browse-url-xdg-open): Doc fixes.
5243
5244 * electric.el (electric-indent-mode, electric-pair-mode)
5245 (electric-layout-rules, electric-layout-mode): Doc fixes.
5246 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5247
5248 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5249
5250 * server.el (server-unselect-display): Don't inadvertently kill
5251 the current buffer. (Bug#10729)
5252
5253 2012-02-08 Glenn Morris <rgm@gnu.org>
5254
5255 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5256 (sql-list-table): Doc fixes.
5257
5258 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5259 Comment out (does nothing).
5260
5261 * completion.el (dynamic-completion-mode):
5262 * dirtrack.el (dirtrack-debug-mode):
5263 * electric.el (electric-layout-mode):
5264 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5265 * face-remap.el (text-scale-mode, buffer-face-mode):
5266 * iimage.el (iimage-mode):
5267 * image-mode.el (image-transform-mode):
5268 * minibuffer.el (completion-in-region-mode):
5269 * scroll-lock.el (scroll-lock-mode):
5270 * simple.el (next-error-follow-minor-mode):
5271 * tar-mode.el (tar-subfile-mode):
5272 * tooltip.el (tooltip-mode):
5273 * vcursor.el (vcursor-use-vcursor-map):
5274 * wid-browse.el (widget-minor-mode):
5275 * emulation/tpu-edt.el (tpu-edt-mode):
5276 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5277 * international/iso-ascii.el (iso-ascii-mode):
5278 * language/thai-util.el (thai-word-mode):
5279 * mail/supercite.el (sc-minor-mode):
5280 * net/goto-addr.el (goto-address-mode):
5281 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5282 * progmodes/cwarn.el (cwarn-mode):
5283 * progmodes/flymake.el (flymake-mode):
5284 * progmodes/glasses.el (glasses-mode):
5285 * progmodes/hideshow.el (hs-minor-mode):
5286 * progmodes/pascal.el (pascal-outline-mode):
5287 * textmodes/enriched.el (enriched-mode):
5288 * vc/smerge-mode.el (smerge-mode):
5289 Doc fixes (minor mode argument).
5290
5291 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5292
5293 * ls-lisp.el (ls-lisp-sanitize): New function.
5294 (ls-lisp-insert-directory): Use it to fix or remove any elements
5295 in file-alist with missing attributes. (Bug#4673)
5296
5297 2012-02-07 Alan Mackenzie <acm@muc.de>
5298
5299 Fix spurious recognition of c-in-knr-argdecl.
5300
5301 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5302 putative K&R region.
5303
5304 2012-02-07 Alan Mackenzie <acm@muc.de>
5305
5306 * progmodes/cc-engine.el (c-forward-objc-directive):
5307 Prevent looping in "#pragma mark @implementation".
5308
5309 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5310
5311 * notifications.el (notifications-on-closed-signal): Make `reason'
5312 optional. (Bug#10744)
5313
5314 2012-02-07 Glenn Morris <rgm@gnu.org>
5315
5316 * emacs-lisp/easy-mmode.el (define-minor-mode):
5317 Doc fixes for the macro and the mode it defines.
5318
5319 * image.el (imagemagick-types-inhibit): Doc fix.
5320
5321 * cus-start.el (imagemagick-render-type): Add it.
5322
5323 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5324
5325 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5326 Set the default at load time, too, so that `font-lock-fontify-buffer'
5327 can be called without setting up the entire mode first. This fixes
5328 a bug in `mm-inline-text' with C MIME parts.
5329
5330 2012-02-06 Chong Yidong <cyd@gnu.org>
5331
5332 * simple.el (list-processes--refresh): Delete exited processes
5333 (Bug#8094).
5334
5335 * comint.el (comint-next-prompt): next-single-char-property-change
5336 and prev-single-char-property-change never return nil (Bug#8657).
5337
5338 * custom.el (defcustom): Doc fix (Bug#9711).
5339
5340 2012-02-05 Chong Yidong <cyd@gnu.org>
5341
5342 * cus-edit.el (custom-variable-reset-backup): Quote the value
5343 before storing it in the customized-value property (Bug#6712).
5344 (custom-display): Add a customization type tag.
5345 (custom-buffer-create-internal): Improve tooltip message.
5346
5347 * wid-edit.el (widget-field-value-get): New optional arg to
5348 suppress trailing whitespace truncation.
5349 (character): Use it (Bug#2689).
5350
5351 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5352
5353 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5354 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5355
5356 2012-02-05 Chong Yidong <cyd@gnu.org>
5357
5358 * cus-edit.el (custom-variable-value-create): For mismatched
5359 types, show the current value (Bug#7600).
5360
5361 * custom.el (defcustom): Doc fix.
5362
5363 2012-02-05 Glenn Morris <rgm@gnu.org>
5364
5365 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5366
5367 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5368
5369 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5370 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5371 (pp-last-sexp): Use `looking-at-p'.
5372
5373 2012-02-04 Glenn Morris <rgm@gnu.org>
5374
5375 * files.el (revert-buffer):
5376 Doc fix (mention revert-buffer-in-progress-p).
5377
5378 * emacs-lisp/ert-x.el (ert-simulate-command):
5379 Check deferred-action-list (which is obsolete) is bound.
5380
5381 * subr.el (with-wrapper-hook): Doc fixes.
5382
5383 * simple.el (filter-buffer-substring-functions)
5384 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5385
5386 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5387
5388 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5389 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5390
5391 2012-02-04 Leo Liu <sdl.web@gmail.com>
5392
5393 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5394
5395 2012-02-04 Glenn Morris <rgm@gnu.org>
5396
5397 * image.el (image-extension-data): Add obsolete alias.
5398
5399 * isearch.el (isearch-update): Doc fix.
5400
5401 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5402
5403 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5404
5405 2012-02-03 Glenn Morris <rgm@gnu.org>
5406
5407 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5408 (image-animate-timeout): Doc fix.
5409
5410 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5411
5412 2012-02-02 Glenn Morris <rgm@gnu.org>
5413
5414 * server.el (server-auth-dir): Doc fix.
5415 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5416
5417 * subr.el (run-mode-hooks): Doc fix.
5418
5419 2012-02-02 Juri Linkov <juri@jurta.org>
5420
5421 * image-mode.el (image-toggle-display-image): Remove tautological
5422 `major-mode' from the `derived-mode-p' test.
5423
5424 2012-02-02 Kenichi Handa <handa@m17n.org>
5425
5426 * composite.el (compose-region): Cancel previous change.
5427
5428 2012-02-02 Kenichi Handa <handa@m17n.org>
5429
5430 * composite.el (compose-region, compose-string): Signal error for
5431 a null string component (Bug#6988).
5432
5433 2012-02-01 Chong Yidong <cyd@gnu.org>
5434
5435 * view.el (view-buffer-other-window, view-buffer-other-frame):
5436 Handle special modes like view-buffer (Bug#10650).
5437 (view-buffer): Simplify.
5438
5439 * frame.el (set-frame-font): Tweak meaning of third argument.
5440
5441 * dynamic-setting.el (font-setting-change-default-font):
5442 Use set-frame-font (Bug#9982).
5443
5444 2012-02-01 Glenn Morris <rgm@gnu.org>
5445
5446 * progmodes/compile.el (compilation-internal-error-properties):
5447 Respect compilation-first-column in the "*compilation*" buffer.
5448
5449 * emacs-lisp/easy-mmode.el (define-minor-mode):
5450 Relax :variable's test for a named function.
5451
5452 2012-01-31 Alan Mackenzie <acm@muc.de>
5453
5454 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5455 off by one error.
5456
5457 2012-01-31 Chong Yidong <cyd@gnu.org>
5458
5459 * frame.el (set-frame-font): New arg ALL-FRAMES.
5460
5461 * menu-bar.el (menu-set-font): Use set-frame-font.
5462
5463 * faces.el (face-spec-reset-face): Don't apply unspecified
5464 attribute values to the default face.
5465
5466 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5467
5468 * progmodes/cwarn.el (cwarn): Remove dead link.
5469 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5470 Remove * from defcustom docstrings.
5471 (turn-on-cwarn-mode): Make obsolete.
5472 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5473 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5474
5475 2012-01-31 Glenn Morris <rgm@gnu.org>
5476
5477 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5478 Fix :variable handling of mode a symbol not equal to modefun.
5479 Allow named functions to be used as the cdr of :variable.
5480
5481 2012-01-30 Glenn Morris <rgm@gnu.org>
5482
5483 * emacs-lisp/authors.el (authors-fixed-entries):
5484 Remove reference to deleted file rnewspost.el.
5485
5486 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5487
5488 * window.el (window-with-parameter): Remove unused variable `windows'.
5489 (window--side-check): Remove unused variable `code'.
5490 (window--resize-siblings): Remove unused variable `first'.
5491 (adjust-window-trailing-edge): Remove unused variable `failed'.
5492 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5493 Use `let', not `let*'.
5494 (balance-windows-2): Remove unused variable `found'.
5495 (window--state-put-2): Remove unused variable `splits'.
5496 (window-state-put): Remove unused variable `selected'.
5497 (same-window-p): Use `string-match-p'.
5498 (display-buffer-assq-regexp): Remove unused variable `value'.
5499 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5500 Mark argument ALIST as ignored.
5501 (pop-to-buffer): Remove unused variable `old-window'.
5502
5503 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5504
5505 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5506 and .lzma compressed files.
5507
5508 2012-01-29 Chong Yidong <cyd@gnu.org>
5509
5510 * frame.el (window-system-default-frame-alist): Doc fix.
5511
5512 * dynamic-setting.el (font-setting-change-default-font): Don't
5513 change the default face if SET-FONT argument is non-nil (Bug#9982).
5514
5515 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5516
5517 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5518
5519 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5520
5521 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5522 breakpoints in files outside current directory (Bug#6098).
5523
5524 2012-01-29 Chong Yidong <cyd@gnu.org>
5525
5526 * progmodes/python.el: Require ansi-color at top-level.
5527
5528 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5529 Define and use in Emacs Lisp mode (Bug#9360).
5530 (lisp-mode-abbrev-table): Add doc.
5531 (lisp-mode-variables): Don't set local-abbrev-table.
5532 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5533
5534 2012-01-28 Roland Winkler <winkler@gnu.org>
5535
5536 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5537
5538 2012-01-28 Roland Winkler <winkler@gnu.org>
5539
5540 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5541 (bibtex-set-dialect): Use it. Either set global values of
5542 dialect-dependent variables or bind these variables buffer-locally
5543 (Bug#10254).
5544 (bibtex-mode): Call bibtex-set-dialect via
5545 hack-local-variables-hook.
5546 (bibtex-dialect): Update docstring.
5547 Add safe-local-variable predicate.
5548 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5549 bibtex-set-dialect.
5550 (bibtex-mode-map): Define menu for each dialect.
5551 (bibtex-entry): Fix docstring.
5552
5553 2012-01-28 Chong Yidong <cyd@gnu.org>
5554
5555 * eshell/esh-arg.el (eshell-quote-argument): New function.
5556
5557 * eshell/esh-ext.el (eshell-invoke-batch-file):
5558 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5559 first arg to eshell-parse-command (Bug#10523).
5560
5561 2012-01-28 Drew Adams <drew.adams@oracle.com>
5562
5563 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5564 `default-directory' is non-nil.
5565
5566 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5567
5568 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5569 line that displays system-configuration-options. (Bug#9924)
5570
5571 2012-01-28 Drew Adams <drew.adams@oracle.com>
5572
5573 * descr-text.el (describe-char): Show information about POS, in
5574 addition to information about the character at POS. Improve and
5575 update the doc string. Change "code point" to "code point in
5576 charset", to avoid confusion with the character's Unicode code
5577 point shown above that. (Bug#10129)
5578
5579 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5580
5581 * descr-text.el (describe-char): Show the raw character, not only
5582 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5583 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5584 for the reasons.
5585
5586 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5587
5588 * emacs-lisp/package.el (package-install):
5589 Run package-refresh-contents if there is no archive yet (Bug#9798).
5590
5591 2012-01-28 Chong Yidong <cyd@gnu.org>
5592
5593 * emacs-lisp/package.el (package-maybe-load-descriptor):
5594 New function, split from package-maybe-load-descriptor.
5595 (package-maybe-load-descriptor): Use it.
5596 (package-download-transaction): Fully load required packages
5597 inside the loop, so that `require' calls work (Bug#10593).
5598 (package-install): No need to call package-initialize now.
5599
5600 2012-01-28 Chong Yidong <cyd@gnu.org>
5601
5602 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5603
5604 * tooltip.el (tooltip-mode): Doc fix.
5605 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5606
5607 * frame.el (set-cursor-color): Doc fix (Bug#352).
5608
5609 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5610 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5611
5612 * cus-edit.el (custom-buffer-create-internal): Fix search button
5613 action (Bug#10542).
5614 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5615
5616 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5617
5618 * dired.el (dired-mark-files-regexp):
5619 Include any subdirectory components. (Bug#10445)
5620
5621 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5622
5623 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5624 Handle [host]:port syntax. (Bug#10533)
5625
5626 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5627
5628 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5629
5630 2012-01-26 Glenn Morris <rgm@gnu.org>
5631
5632 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5633 * term.el (term-raw-escape-map): Use Control-X-prefix.
5634 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5635
5636 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5637
5638 * window.el (window-state-get, window--state-get-1): Don't deal
5639 with fixed-sizeness of windows. Simplify code.
5640
5641 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5642
5643 * window.el (window--state-get-1, window--state-put-2):
5644 Don't save and restore the mark.
5645
5646 2012-01-25 Chong Yidong <cyd@gnu.org>
5647
5648 * custom.el (custom-variable-p): Doc fix.
5649
5650 2012-01-25 Glenn Morris <rgm@gnu.org>
5651
5652 * dired.el (dired-goto-file): Handle some of the more common
5653 characters that `ls -b' escapes. (Bug#10596)
5654
5655 * progmodes/compile.el (compilation-next-error-function):
5656 Respect compilation-first-column in the "*compilation*" buffer.
5657 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5658
5659 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5660
5661 2012-01-24 Glenn Morris <rgm@gnu.org>
5662
5663 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5664
5665 2012-01-24 Julien Danjou <julien@danjou.info>
5666
5667 * color.el (color-rgb-to-hsl): Fix value computing.
5668 (color-hue-to-rgb): New function.
5669 (color-hsl-to-rgb): New function.
5670 (color-clamp, color-saturate-hsl, color-saturate-name)
5671 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5672 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5673
5674 2012-01-24 Glenn Morris <rgm@gnu.org>
5675
5676 * vc/vc-rcs.el (vc-rcs-create-tag):
5677 * vc/vc-sccs.el (vc-sccs-create-tag):
5678 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5679
5680 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5681
5682 * eshell/esh-util.el (eshell-read-hosts-file):
5683 Skip comment lines. (Bug#10549)
5684
5685 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5686
5687 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5688
5689 * subr.el (display-delayed-warnings): Doc fix.
5690 (collapse-delayed-warnings): New function to collapse identical
5691 adjacent warnings.
5692 (delayed-warnings-hook): Add it.
5693
5694 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5695
5696 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5697
5698 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5699 (tramp-default-user-alist): Don't add "pscp".
5700 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5701 property "login-as", if set. (Bug#10530)
5702
5703 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5704
5705 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5706 "plink1" and "psftp". (Bug#10530)
5707
5708 2012-01-21 Kenichi Handa <handa@m17n.org>
5709
5710 * international/mule-cmds.el (prefer-coding-system): Show a
5711 warning message if the default value of file-name-coding-system
5712 was not changed.
5713
5714 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5715
5716 * windmove.el (windmove-reference-loc):
5717 Fix windmove-reference-loc miscalculation.
5718
5719 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5720
5721 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5722 default unit.
5723
5724 2012-01-21 Glenn Morris <rgm@gnu.org>
5725
5726 * international/mule.el (auto-coding-alist): Add .tbz.
5727
5728 * files.el (local-enable-local-variables): Doc fix.
5729 (inhibit-local-variables-regexps): Rename from
5730 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5731 Doc fix. Add some extensions from auto-coding-alist.
5732 (inhibit-local-variables-suffixes):
5733 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5734 (inhibit-local-variables-p):
5735 New function, extracted from set-auto-mode-1.
5736 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5737 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5738 (hack-local-variables): Doc fix. Make the mode-only case
5739 respect enable-local-variables and friends.
5740 Respect inhibit-local-variables-regexps for file-locals, but
5741 not for directory-locals.
5742 (set-visited-file-name):
5743 Take account of inhibit-local-variables-regexps.
5744 Whether it applies may change as the file name is changed.
5745 * jka-cmpr-hook.el (jka-compr-install):
5746 * jka-compr.el (jka-compr-uninstall):
5747 Update for inhibit-first-line-modes-suffixes name change.
5748
5749 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5750
5751 * help-macro.el (make-help-screen): Temporarily restore original
5752 binding for minor-mode-map-alist (Bug#10454).
5753
5754 2012-01-19 Julien Danjou <julien@danjou.info>
5755
5756 * color.el (color-name-to-rgb): Use the white color to find the max
5757 color component value and return correctly computed values.
5758 (color-name-to-rgb): Add missing float conversion for max value.
5759
5760 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5761
5762 * window.el (window--state-get-1, window-state-get): Do not use
5763 special state value for window-persistent-parameters.
5764 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5765 (window--state-put-2): Reset all window parameters to nil before
5766 assigning values of persistent parameters.
5767
5768 2012-01-18 Alan Mackenzie <acm@muc.de>
5769
5770 Eliminate sluggishness and hangs in fontification of "semicolon
5771 deserts".
5772
5773 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5774 Change value 10000 -> 3000.
5775 (c-state-safe-place): Reformulate so it doesn't stack up an
5776 infinite number of wrong entries in c-state-nonlit-pos-cache.
5777 (c-determine-limit-get-base, c-determine-limit): New functions to
5778 determine backward search limits disregarding literals.
5779 (c-find-decl-spots): Amend commenting.
5780 (c-cheap-inside-bracelist-p): New function which detects "={".
5781
5782 * progmodes/cc-fonts.el
5783 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5784 backward search.
5785 (c-font-lock-declarations): Fix an occurrence of point being
5786 undefined. Check additionally for point being in a bracelist or
5787 near a macro invocation without a semicolon so as to avoid a
5788 fruitless time consuming search for a declarator. Give a more
5789 precise search limit for declarators using the new
5790 c-determine-limit.
5791
5792 2012-01-18 Glenn Morris <rgm@gnu.org>
5793
5794 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5795 (set-auto-mode): Doc fixes.
5796
5797 2012-01-17 Glenn Morris <rgm@gnu.org>
5798
5799 * isearch.el (search-nonincremental-instead): Fix doc typo.
5800
5801 * dired.el (dired-insert-directory): Handle newlines in directory name.
5802 (dired-build-subdir-alist): Unescape newlines in directory name.
5803
5804 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5805
5806 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5807 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5808 (tramp-action-terminal): Use it. (Bug#10530)
5809
5810 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5813
5814 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5815
5816 * window.el (window-state-ignored-parameters): Remove variable.
5817 (window--state-get-1): Rename argument MARKERS to IGNORE.
5818 Handle persistent window parameters. Make copy of clone-of
5819 parameter only if requested. (Bug#10348)
5820 (window--state-put-2): Install a window parameter only if it has
5821 a non-nil value or an existing parameter shall be overwritten.
5822
5823 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5824
5825 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5826
5827 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5828
5829 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5830 don't pass the (nil) value of `upnode' to string-match.
5831
5832 2012-01-14 Chong Yidong <cyd@gnu.org>
5833
5834 * startup.el (command-line): Fix X resource class for cursorColor.
5835 Fix values recognized by the cursorBlink resource.
5836
5837 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5838
5839 * epg.el (epg--make-temp-file): Avoid permission race condition
5840 when running on old Emacs versions (bug#10403).
5841
5842 2012-01-14 Glenn Morris <rgm@gnu.org>
5843
5844 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5845
5846 2012-01-13 Alan Mackenzie <acm@muc.de>
5847
5848 Fix filling for when filladapt mode is enabled.
5849
5850 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5851 c-mask-paragraph, pass in `fill-paragraph' rather than
5852 `fill-region-as-paragraph'. (This is a reversion of a previous
5853 change.)
5854 * progmodes/cc-mode.el (c-basic-common-init):
5855 Make fill-paragraph-handle-comment buffer local and set it to nil.
5856
5857 2012-01-13 Glenn Morris <rgm@gnu.org>
5858
5859 * dired.el (dired-switches-escape-p): New function.
5860 (dired-insert-directory): Use dired-switches-escape-p.
5861 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5862
5863 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5864
5865 2012-01-12 Glenn Morris <rgm@gnu.org>
5866
5867 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5868 changes in adaptive-fill-regexp. (Bug#10276)
5869
5870 2012-01-11 Alan Mackenzie <acm@muc.de>
5871
5872 Fix Emacs bug #10463 - put `widen's around the critical spots.
5873
5874 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5875 widen around each invocation of c-state-pp-to-literal. Remove an
5876 unused let variable.
5877
5878 2012-01-11 Glenn Morris <rgm@gnu.org>
5879
5880 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5881 Doc fix.
5882
5883 2012-01-10 Chong Yidong <cyd@gnu.org>
5884
5885 * net/network-stream.el (network-stream-open-starttls):
5886 Avoid emitting a confusing error message when the server gives a bad
5887 response to the capability command.
5888
5889 2012-01-10 Glenn Morris <rgm@gnu.org>
5890
5891 * mail/unrmail.el (unrmail): Tweak previous change.
5892
5893 2012-01-09 Chong Yidong <cyd@gnu.org>
5894
5895 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5896
5897 2012-01-08 Alan Mackenzie <acm@muc.de>
5898
5899 Optimise font locking in long enum definitions.
5900
5901 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5902 arm to a cond form to handle enums.
5903 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5904 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5905
5906 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5907
5908 * files.el (move-file-to-trash): Preserve default file modes on error.
5909 (Bug#10401)
5910
5911 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5912
5913 * faces.el (set-face-attribute): Clarify the meaning of the nil
5914 frame (bug#10294).
5915
5916 * subr.el (with-selected-frame): Mention that the selected frame
5917 is restored (bug#9980).
5918
5919 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5920 (bug#9759).
5921
5922 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5923 (password-read): Don't autoload unused function.
5924
5925 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5926
5927 * progmodes/which-func.el (which-func-mode): Turn into a
5928 non-interactive function and mark as obsolete (bug#10428).
5929
5930 2012-01-06 Chong Yidong <cyd@gnu.org>
5931
5932 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5933 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5934 functions, along with 1 and -1.
5935
5936 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5937
5938 * time.el (display-time-load-average)
5939 (display-time-default-load-average): Doc fixes. See the thread
5940 starting at
5941 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5942 for the details.
5943
5944 2012-01-06 Glenn Morris <rgm@gnu.org>
5945
5946 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5947 has no messages. (Bug#10377)
5948
5949 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5950 than Info-edit. (Bug#10385)
5951
5952 * time.el (display-time-load-average, display-time-next-load-average):
5953 Doc fixes.
5954
5955 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5956 local setting of buffer-read-only to the input buffer. (Bug#10419)
5957
5958 * calendar/calendar.el (calendar-mode):
5959 Locally set scroll-margin to 0. (Bug#10379)
5960
5961 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5962
5963 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5964
5965 2012-01-05 Glenn Morris <rgm@gnu.org>
5966
5967 * eshell/em-unix.el (diff-no-select): Autoload it.
5968 (eshell/diff): Use diff-no-select. (Bug#10420)
5969
5970 2012-01-05 Chong Yidong <cyd@gnu.org>
5971
5972 * shell.el (shell-dynamic-complete-functions): Revert last change.
5973 (shell-command-completion-function): New function.
5974 (shell-completion-vars): Use it to implement
5975 shell-completion-execonly (Bug#10417).
5976
5977 * custom.el (enable-theme): Don't set custom-safe-themes.
5978
5979 * cus-theme.el (custom-theme-merge-theme):
5980 Ignore custom-enabled-themes and custom-safe-themes.
5981
5982 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5983
5984 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5985 first prompt in `sql-interacive-mode'.
5986 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5987 keywords.
5988 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5989 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5990 context of original buffer. Invoke `sql-login-hook'.
5991
5992 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5993
5994 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5995 letters in cite-prefix.
5996
5997 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5998
5999 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6000
6001 2012-01-03 Chong Yidong <cyd@gnu.org>
6002
6003 * shell.el (shell-dynamic-complete-functions):
6004 Put pcomplete-completions-at-point, so as to try
6005 comint-filename-completion first (Bug#10417).
6006
6007 2012-01-02 Richard Stallman <rms@gnu.org>
6008
6009 * battery.el (battery-status-function):
6010 Detect when to use battery-yeeloong-sysfs.
6011 (battery-echo-area-format): Add string for Yeeloong.
6012 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6013 (battery-yeeloong-sysfs): New function.
6014
6015 2012-01-02 Chong Yidong <cyd@gnu.org>
6016
6017 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6018 (dirtrack): Merge code for handling relative filenames in prompt
6019 from shell-dir-cookie-watcher.
6020 (dirtrack-debug-message): New arg to avoid excess format calls.
6021
6022 * shell.el (shell-dir-cookie-re): Variable deleted.
6023 (shell-dir-cookie-watcher): Function deleted.
6024 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6025 with dirtrack-mode.
6026
6027 2012-01-01 Eli Zaretskii <eliz@gnu.org>
6028
6029 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6030 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
6031 libgnutls-26.dll.
6032
6033 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6034
6035 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6036
6037 2011-12-31 Eli Zaretskii <eliz@gnu.org>
6038
6039 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6040 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6041
6042 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6045 also for alternative shells.
6046 (tramp-open-connection-setup-interactive-shell): Check, whether
6047 the shell is a busybox.
6048 (tramp-send-command): Don't suppress multiple prompts for
6049 busyboxes, it hurts.
6050
6051 2011-12-28 Chong Yidong <cyd@gnu.org>
6052
6053 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6054 (gdb-get-source-file): Move mode line update to
6055 gdb-get-source-file (Bug#10087).
6056
6057 2011-12-25 Chong Yidong <cyd@gnu.org>
6058
6059 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6060 gud-gdb-marker-filter without taking it as an argument.
6061 (gud-gdb-run-command-fetch-lines): Caller changed.
6062 (gud-gdb-completion-function): New variable.
6063 (gud-gdb-completion-at-point): Use it.
6064 (gud-gdb-completions-1): Split from gud-gdb-completions.
6065
6066 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6067 function as separate arguments.
6068 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6069 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6070 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6071 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6072 (gdb-stopped, def-gdb-auto-update-trigger)
6073 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6074 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6075 Callers changed.
6076 (gud-gdbmi-completions): New function.
6077 (gdb): Use it for generating the completion table.
6078
6079 2011-12-24 Alan Mackenzie <acm@muc.de>
6080
6081 Introduce a mechanism to widen the region used in context font
6082 locking. Use this to protect declarations from losing their contexts.
6083
6084 * progmodes/cc-langs.el (c-before-font-lock-functions):
6085 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6086 (c-before-context-fontification-functions): New defvar, a list of
6087 functions to be run just before context (etc.) font locking.
6088
6089 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6090 New, functionality extracted from
6091 c-neutralize-syntax-in-and-mark-CPP.
6092 (c-in-after-change-fontification): New variable.
6093 (c-after-change): Set c-in-after-change-fontification.
6094 (c-set-fl-decl-start): Rejig its interface, so it can be called
6095 from both after-change and context fontifying.
6096 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6097 New functions.
6098 (c-standard-font-lock-fontify-region-function): New variable.
6099 (c-font-lock-fontify-region): New function.
6100
6101 2011-12-24 Juri Linkov <juri@jurta.org>
6102
6103 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6104 (Bug#10348)
6105
6106 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6107
6108 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6109 existence of source file. (Bug#10325)
6110
6111 2011-12-23 Alan Mackenzie <acm@muc.de>
6112
6113 Fix unstable fontification inside templates.
6114
6115 * progmodes/cc-langs.el (c-before-font-lock-functions):
6116 Newly created from the singular version. The (c c++ objc) entry now
6117 additionally has c-set-fl-decl-start. The other languages (apart
6118 from AWK) have that as a single entry.
6119
6120 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6121 The functionality for "local" declarations has been extracted to
6122 c-set-fl-decl-start.
6123
6124 * progmodes/cc-mode.el (c-common-init, c-after-change):
6125 Changes due to pluralisation of c-before-font-lock-functions.
6126 (c-set-fl-decl-start): New function, extracted from
6127 c-font-lock-enclosing-decls and enhanced.
6128
6129 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6130
6131 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6132
6133 2011-12-22 Juri Linkov <juri@jurta.org>
6134
6135 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6136
6137 2011-12-22 Chong Yidong <cyd@gnu.org>
6138
6139 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6140
6141 2011-12-21 Drew Adams <drew.adams@oracle.com>
6142
6143 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6144
6145 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6146
6147 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6148
6149 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6150
6151 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6152 highlighting and support. Fix up comments for capitalization.
6153 (cfengine-mode-debug): New var.
6154 (cfengine3-mode): Change the modeline indicator to "CFE3".
6155 (cfengine3-font-lock-keywords): Improve defun highlighting.
6156 (cfengine2-actions): Rename from `cfengine-actions'.
6157 (cfengine2-font-lock-keywords): Rename from
6158 `cfengine-font-lock-keywords'.
6159 (cfengine2-imenu-expression): Rename from
6160 `cfengine-imenu-expression'.
6161 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6162 (cfengine2-beginning-of-defun): Rename from
6163 `cfengine-beginning-of-defun'.
6164 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6165 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6166 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6167 modeline indicator to "CFE2".
6168 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6169 (cfengine-mode-abbrevs): Mark obsolete.
6170
6171 2011-12-21 Chong Yidong <cyd@gnu.org>
6172
6173 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6174 filename argument.
6175
6176 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6177
6178 * window.el (window-normalize-buffer-to-display): Remove.
6179 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6180
6181 2011-12-19 Chong Yidong <cyd@gnu.org>
6182
6183 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6184 Don't signal an error in a predicate function; return non-nil.
6185 (vc-dir-mark-file): Move the error here.
6186 (vc-dir-mark-unmark): If acting on the region, keep going if one
6187 of the entries cannot be marked/unmarked.
6188 (vc-dir-mark-all-files): If current entry is a directory, mark
6189 only child files, as documented.
6190
6191 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6192
6193 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6194 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6195 addition.
6196
6197 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6198
6199 * term/ns-win.el (ns-get-selection-internal)
6200 (ns-store-selection-internal): Declare.
6201 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6202 Declare as obsolete.
6203 (ns-get-pasteboard, ns-paste-secondary):
6204 Use ns-get-selection-internal.
6205 (ns-set-pasteboard, ns-copy-including-secondary):
6206 Use ns-store-selection-internal.
6207
6208 2011-12-17 Chong Yidong <cyd@gnu.org>
6209
6210 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6211 (vc-deduce-fileset): Doc fix.
6212
6213 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6214
6215 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6216
6217 2011-12-13 Sam Steingold <sds@gnu.org>
6218
6219 * man.el (Man-getpage-in-background): When running under a
6220 window-system, ignore $MANWIDTH and $COLUMNS.
6221
6222 2011-12-15 Kenichi Handa <handa@m17n.org>
6223
6224 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6225 (setup-ethiopic-environment-internal): Comment out key-binding for
6226 ethio-toggle-punctuation.
6227
6228 2011-12-13 Alan Mackenzie <acm@muc.de>
6229
6230 Add the switch statement to AWK Mode.
6231
6232 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6233 "default" to the keywords regexp.
6234
6235 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6236 expression as the rest.
6237 (c-nonlabel-token-key): Allow string literals for AWK.
6238 Refactor for the other modes.
6239
6240 Large brace-block initialisation makes CC Mode slow: Fix.
6241 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6242 routines. Limit backward searching in c-font-lock-enclosing.decl.
6243
6244 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6245 pp-state and literal type in addition to the limits.
6246 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6247 (c-state-literal-at): Use the above new defun.
6248 (c-slow-in-literal, c-fast-in-literal): Remove.
6249 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6250
6251 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6252 being in a literal. Add a limit for backward searching.
6253
6254 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6255 c-slow-in-literal.
6256
6257 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6260
6261 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6262
6263 * window.el (delete-other-windows): Use correct frame in call to
6264 window-with-parameter.
6265
6266 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6267
6268 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6269 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6270 (makefile-gmake-statements, makefile-makepp-statements):
6271 Use it and add new makepp keywords.
6272 (makefile-makepp-font-lock-keywords): Add new patterns.
6273 (makefile-match-function-end): Match new [...] and [[...]].
6274
6275 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6276
6277 * ses.el (ses-call-printer-return, ses-cell-property-get)
6278 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6279 (ses-create-cell-variable, ses-reset-header-string)
6280 (ses-cell-set-formula, ses-repair-cell-reference-all)
6281 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6282 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6283 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6284 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6285 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6286 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6287 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6288 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6289 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6290 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6291 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6292 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6293
6294 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6295
6296 * ses.el: The overall change is to add cell renaming, that is
6297 setting fancy names for cell symbols other than name matching
6298 "\\`[A-Z]+[0-9]+\\'" regexp .
6299 (ses-create-cell-variable): New defun.
6300 (ses-relocate-formula): Relocate formulas only for cells the
6301 symbols of which are not renamed, i.e. symbols whose names do not
6302 match regexp "\\`[A-Z]+[0-9]+\\'".
6303 (ses-relocate-all): Relocate values only for cells the symbols of
6304 which are not renamed.
6305 (ses-load): Create cells variables as the (ses-cell ...) are read,
6306 in order to check row col consistency with cell symbol name only
6307 for cells that are not renamed.
6308 (ses-replace-name-in-formula): New defun.
6309 (ses-rename-cell): New defun.
6310
6311 2011-12-11 Chong Yidong <cyd@gnu.org>
6312
6313 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6314 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6315
6316 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6317
6318 * window.el (other-window): Fix docstring.
6319
6320 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6321
6322 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6323 `from' or `to' address before taking its substring.
6324 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6325 encoded name is chopped in the middle of the encoded string, and
6326 thus displayed encoded.
6327
6328 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6329
6330 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6331
6332 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6333
6334 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6335 to use texinfo-update-node and commands that call it if the
6336 Texinfo file uses @node lines without next/prev/up pointers.
6337 Correct outdated description about texinfo-master-menu.
6338 (texinfo-all-menus-update, texinfo-master-menu)
6339 (texinfo-update-node, texinfo-every-node-update)
6340 (texinfo-multiple-files-update): Doc fix. Warn against updating
6341 all the @node lines.
6342 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6343 argument is numeric. Explain better in the doc string what the
6344 function really does.
6345 (texinfo-insert-master-menu-list): Improve the error message
6346 displayed if there's no menu in the Top node.
6347 (Bug#2975) See also this thread:
6348 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6349
6350 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6351
6352 * speedbar.el (speedbar-supported-extension-expressions):
6353 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6354
6355 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6356
6357 * printing.el (pr-mode-alist):
6358 * simple.el (filter-buffer-substring-functions)
6359 (completion-list-insert-choice-function):
6360 * window.el (window-with-parameter, window-atom-root)
6361 (window-sides-slots, window-size-fixed, window-min-delta)
6362 (window-max-delta, window--resize-mini-window)
6363 (window--resize-child-windows-normal, window-tree)
6364 (delete-other-windows, quit-window, split-window)
6365 (display-buffer-record-window, special-display-buffer-names)
6366 (special-display-regexps, special-display-popup-frame)
6367 (same-window-p, split-window-sensibly)
6368 (display-buffer-overriding-action, display-buffer-alist)
6369 (display-buffer-base-action, display-buffer, switch-to-buffer)
6370 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6371 (fit-window-to-buffer, recenter-positions)
6372 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6373 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6374 and remove unneeded backslashes in docstrings.
6375
6376 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6379
6380 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6381 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6382 end in ".mk".
6383 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6384 when reading the makefile (bug#10116).
6385
6386 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6389 (bug#10116).
6390
6391 2011-12-06 Glenn Morris <rgm@gnu.org>
6392
6393 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6394
6395 2011-12-06 Chong Yidong <cyd@gnu.org>
6396
6397 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6398
6399 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6400
6401 * textmodes/table.el (table-shorten-cell): Fix typo.
6402
6403 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6404
6405 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6406
6407 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6408
6409 * descr-text.el (describe-char): Fix display of strong
6410 right-to-left characters and directional embeddings and overrides.
6411
6412 * simple.el (what-cursor-position): Fix display of codepoints of
6413 strong right-to-left characters.
6414
6415 2011-12-05 Chong Yidong <cyd@gnu.org>
6416
6417 * faces.el (read-color): Doc fix.
6418
6419 2011-12-05 Glenn Morris <rgm@gnu.org>
6420
6421 * align.el (align--set-marker): Add doc-string.
6422 Don't try to move something that is not a marker. (Bug#10216)
6423
6424 2011-12-04 Glenn Morris <rgm@gnu.org>
6425
6426 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6427 overly zealous deletion of trailing whitespace.
6428
6429 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6430
6431 * server.el (server-delete-client): On Windows, do not try to delete
6432 the only terminal.
6433 (server-process-filter): On Windows, treat requests for a tty frame as
6434 if they were for a GUI frame if the running server is in GUI mode.
6435
6436 2011-12-03 Glenn Morris <rgm@gnu.org>
6437
6438 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6439
6440 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6441
6442 * electric.el: Streamline electric-indent's hook.
6443 (electric-indent-chars): Revert to simple list.
6444 (electric-indent-functions): New var.
6445 (electric-indent-post-self-insert-function): Use it.
6446
6447 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6448 there's no inferior buffer (bug#10196).
6449 (prolog-consult-compile): Don't use toggle-read-only.
6450
6451 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6452
6453 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6454 interrupt. (Bug#10187)
6455
6456 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6459 (bug#9160).
6460
6461 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6462 (bug#10191).
6463
6464 2011-12-02 Juri Linkov <juri@jurta.org>
6465
6466 * info.el (Info-search): Display "end of manual" when Isearch
6467 reaches the end of single-file Info manual. (Bug#9918)
6468
6469 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6470
6471 * isearch.el (isearch-message-prefix): Run the input method part
6472 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6473
6474 2011-12-02 Juri Linkov <juri@jurta.org>
6475
6476 * isearch.el (isearch-occur): Use `word-search-regexp' for
6477 `isearch-word'.
6478 (isearch-search-and-update): Add condition for `isearch-word' and
6479 call `word-search-regexp'. (Bug#10145)
6480
6481 2011-12-01 Glenn Morris <rgm@gnu.org>
6482
6483 * eshell/em-hist.el (eshell-hist-initialize):
6484 Handle eshell-history-size nil and HISTSIZE set or unset.
6485 (eshell-history-file-name, eshell-history-size): Fix custom type.
6486
6487 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6490
6491 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6492
6493 * progmodes/verilog-mode.el (verilog-pretty-expr):
6494 Rework verilog-pretty-expr to handle new assignment operators in system
6495 verilog, such as += *= and the like.
6496 (verilog-assignment-operator-re): Regular expression to find the
6497 assigment operator in a verilog assignment.
6498 (verilog-assignment-operation-re): Regular expression to find an
6499 assignment statement for pretty-expr.
6500 (verilog-in-attribute-p): Query returns true if point is in an
6501 attribute context; used to skip these for expression line up from
6502 pretty-expr.
6503 (verilog-in-parameter-p): Query returns true if point is in an
6504 parameter definition context; used to skip these for expression
6505 line up from pretty-expr.
6506 (verilog-in-parenthesis-p): Query returns true if point is in a
6507 parenthetical expression, specifically ( ) but not [ ] or { };
6508 used by pretty-expr.
6509 (verilog-just-one-space): If there is no space, don't add one.
6510 (verilog-get-lineup-indent-2): Specifically skip just attribute
6511 contexts for expression lineup, rather than skipping all
6512 parenthetical expressions.
6513 (verilog-calculate-indent): Fix comment, and fix indent.
6514 (verilog-do-indent): Indent declarations in lists (suggested by
6515 Joachim Lechner).
6516 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6517 skeleton items.
6518 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6519 by Alain Mellan).
6520
6521 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6522
6523 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6524 parameters with embedded comments. Reported by Ray Stevens.
6525 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6526 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6527 Reported by Tim Holt.
6528 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6529 instantiated by upper module causing wrong expansion until AUTOed a
6530 second time. Reported by K C Buckenmaier.
6531 (verilog-diff-auto): Fix showing .* as a difference when
6532 `verilog-auto-star-save' off. Reported by Dan Dever.
6533 (verilog-auto-reset, verilog-read-always-signals)
6534 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6535 temporary signals in reset list if
6536 verilog-auto-reset-blocking-in-non is nil, and match assignment
6537 style to each signal's assignment type, bug381.
6538 Reported by Thomas Esposito.
6539 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6540 (verilog-uvm-statement-re): Support UVM indentation and
6541 highlighting, with old OVM keywords only.
6542 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6543 Support AUTOTIEOFF creating non-wire data types.
6544 Suggested by Jonathan Greenlaw.
6545 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6546 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6547 (verilog-inject-sense, verilog-read-inst-pins)
6548 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6549 Fix mismatching parenthesis inside commented out code when deleting
6550 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6551 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6552 non-numeric vector width. Reported by Alex Reed.
6553 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6554 detecting signals with parameter widths. Reported by Alex Reed.
6555 (verilog-auto-delete-trailing-whitespace):
6556 With `verilog-auto-delete-trailing-whitespace' remove trailing
6557 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6558 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6559 Fix verilog-scan-cache corruption when running user AUTO expansion
6560 hooks that call indentation routines.
6561 (verilog-simplify-range-expression): Fix typo ignoring lower case
6562 identifiers.
6563 (verilog-delete-auto): Fix delete-autos to also remove user created
6564 automatics, as long as they start with AUTO.
6565 (verilog-batch-diff-auto, verilog-diff-auto)
6566 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6567 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6568 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6569 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6570 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6571 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6572 is disabled and its cache will get corrupt, causing AUTOS not to
6573 expand. Instead use only -quick functions.
6574 (verilog-scan-region): Fix scanning over escaped quotes.
6575 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6576 (verilog-re-search-backward-quick)
6577 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6578 related functions now ignore strings, to fix misparsing of strings
6579 with magic comments embedded in them.
6580 (verilog-read-auto-template):
6581 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6582 Reported by Brad Dobbie.
6583 (verilog-read-auto-template):
6584 Fix 'verilog-auto-inst-template-numbers' with comments.
6585 Reported by Brad Dobbie.
6586 (verilog-auto-inst, verilog-auto-inst-param)
6587 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6588 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6589 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6590 debugging templates without merge conflicts, bug357.
6591 Reported by Brad Dobbie.
6592 (verilog-read-auto-template):
6593 Fix verilog-auto-inst-template-numbers with multiple templates.
6594 Reported by Brad Dobbie.
6595 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6596 abbrevs so user won't be asked to save.
6597 (verilog-read-auto-lisp-present): Fix to start at beginning of
6598 buffer in case called outside of verilog-auto.
6599 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6600 to "X-2". Reported by Matthew Myers.
6601 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6602 all inputs from module templates. Reported by Leith Johnson.
6603 (verilog-module-inside-filename-p): Fix locating programs as with
6604 modules.
6605 (verilog-auto-inst-port): Fix vl-width expressions when using
6606 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6607 (verilog-decls-get-regs, verilog-decls-get-signals,
6608 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6609 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6610 verilog-read-decls): Combine reg and wire structures into one var
6611 structure to represent SystemVerilog concepts.
6612 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6613 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6614 (verilog-auto-wire-type, verilog-insert-definition):
6615 Add verilog-auto-wire-type and AUTOLOGIC to support using
6616 SystemVerilog "logic" keyword instead of "wire"/"reg".
6617 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6618 to declares outputs that also have assignments (presumably in an
6619 ifdef or generate if so there's not a driver conflict).
6620 Reported by Matthew Myers.
6621 (verilog-auto-declare-nettype, verilog-insert-definition):
6622 Add verilog-auto-declare-nettype to fix declarations using
6623 `default_nettype none. Reported by Julian Gorfajn.
6624 (verilog-read-always-signals-recurse, verilog-read-decls)
6625 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6626 malformed end statement, bug325. Reported by Joshua Wise and
6627 Andrew Drake.
6628 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6629 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6630 when expanding .* in interfaces, bug320.
6631 Reported by Pierre-David Pfister.
6632 (verilog-read-module-name): Fix import statements between module
6633 name and open parenthesis, bug317.
6634 Reported by Pierre-David Pfister.
6635 (verilog-simplify-range-expression): Fix simplification of
6636 multiplications inside AUTOWIRE connections, bug303.
6637 (verilog-auto-inst-port): Support parameter expansion in
6638 multidimensional arrays.
6639 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6640 after "assert property". Reported by Julian Gorfajn.
6641 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6642 with multiplication, bug303.
6643 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6644 Reported by Jan Frode Lonnum.
6645
6646 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6647
6648 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6649 (hfy-shell-file-name, hfy-shell):
6650 * international/fontset.el (x-decompose-font-name): Fix typos.
6651
6652 2011-11-29 Ken Brown <kbrown@cornell.edu>
6653
6654 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6655 (gdb-version): Remove defvar.
6656 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6657 (gdb-gud-context-command, gdb-non-stop-handler)
6658 (gdb-current-context-command, gdb-stopped): Use it.
6659 (gdb-init-1): Enable pretty printing here.
6660 (gdb-non-stop-handler): Don't enable pretty-printing here.
6661 Check to see if the target supports non-stop mode; if not, turn off
6662 non-stop mode. Use the following.
6663 (gdb-check-target-async): New defun.
6664 (gud-watch, gdb-stopped): Fix whitespace.
6665 (gdb-get-source-file): Don't try to display the source file if
6666 `gdb-main-file' is nil.
6667
6668 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * align.el: Try to generate fewer markers (bug#10047).
6671 (align--set-marker): New macro.
6672 (align-region): Use it.
6673
6674 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6677
6678 2011-11-29 Chong Yidong <cyd@gnu.org>
6679
6680 * indent.el (indent-for-tab-command, indent-according-to-mode):
6681 Doc fix.
6682 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6683
6684 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6687 aware of remote file names. (Bug#10124)
6688
6689 2011-11-29 Chong Yidong <cyd@gnu.org>
6690
6691 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6692
6693 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 * files.el (find-file): Don't use force-same-window (bug#10144).
6696 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6697 use pop-to-buffer if the selected window can't be used.
6698 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6699
6700 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6701
6702 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6703 special-mode-map.
6704
6705 2011-11-28 Chong Yidong <cyd@gnu.org>
6706
6707 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6708
6709 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6710
6711 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6712 gdb-get-source-file-list on gdb-create-source-file-list.
6713
6714 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6715
6716 * whitespace.el (whitespace-newline): Use a different foreground
6717 color for 16-color light-background displays.
6718
6719 2011-11-24 Chong Yidong <cyd@gnu.org>
6720
6721 * window.el (display-buffer--special-action): Doc fix.
6722
6723 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6724
6725 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6726 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6727 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6728 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6729 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6730 (avl-tree-stack-first):
6731 * emacs-lisp/cconv.el (cconv--analyse-use):
6732 * net/gnutls.el (gnutls-negotiate): Fix typos.
6733
6734 2011-11-24 Glenn Morris <rgm@gnu.org>
6735
6736 * lpr.el (lpr-windows-system, lpr-lp-system):
6737 * mail/binhex.el (binhex-begin-line):
6738 * progmodes/grep.el (grep-history, grep-find-history):
6739 * textmodes/flyspell.el:
6740 * vc/pcvs-defs.el (cvs-global-menu):
6741 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6742 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6743 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6744
6745 * net/tls.el: Fix case of "GnuTLS".
6746
6747 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6748
6749 * version.el (emacs-build-system): Give it a doc-string.
6750
6751 2011-11-24 Juri Linkov <juri@jurta.org>
6752
6753 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6754
6755 2011-11-24 Glenn Morris <rgm@gnu.org>
6756
6757 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6758 if called on a non-mime message just toggle the headers. (Bug#8006)
6759
6760 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6761
6762 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6763 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6764 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6765 (allout-rebullet-heading, allout-open-sibtopic)
6766 (allout-toggle-current-subtree-encryption)
6767 (allout-toggle-subtree-encryption, allout-encrypt-string)
6768 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6769 (allout-distinctive-bullets-string, allout-auto-activation):
6770 * window.el (window-normalize-buffer-to-display):
6771 * progmodes/verilog-mode.el (verilog-batch-indent):
6772 * textmodes/bibtex.el (bibtex-field-braces-opt)
6773 (bibtex-field-strings-opt):
6774 * vc/cvs-status.el (cvs-tree-merge):
6775 Fix typos.
6776
6777 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6778
6779 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6780 `non-essential' to t, in order to avoid remote connections.
6781
6782 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6783
6784 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6785 On MS-DOS and MS-Windows, compare with loaddefs.el
6786 case-insensitively.
6787
6788 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6789
6790 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6791
6792 2011-11-23 Glenn Morris <rgm@gnu.org>
6793
6794 * paths.el (rmail-file-name): Reformat the doc-string so that it
6795 is picked up.
6796
6797 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6798 (rmail-auto-file): Ignore case in the "special" field names,
6799 as mail-fetch-field does for all others.
6800
6801 * mail/rmail.el (rmail-forward):
6802 * mail/rmailkwd.el (rmail-set-label):
6803 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6804 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6805
6806 * mail/rmail.el (rmail-current-message): Doc fix.
6807
6808 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6809
6810 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6811
6812 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6813
6814 2011-11-22 Glenn Morris <rgm@gnu.org>
6815
6816 * mail/rmailmm.el (test-rmail-mime-handler)
6817 (test-rmail-mime-bulk-handler)
6818 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6819
6820 2011-11-21 Juri Linkov <juri@jurta.org>
6821
6822 * calc/calc.el (calc-read-key-sequence):
6823 Let-bind `input-method-function' to nil. (Bug#10018)
6824
6825 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6826
6827 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6828 Tell the caller that the next line needs recomputation, even
6829 though it doesn't start a sexp (bug#10094).
6830
6831 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6834
6835 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6836
6837 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6838 Use force-same-window.
6839
6840 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * descr-text.el (describe-char-unicode-data):
6843 * json.el (json-string-escape):
6844 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6845 (Footnote-unicode, Footnote-style-p):
6846 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6847
6848 2011-11-20 Chong Yidong <cyd@gnu.org>
6849
6850 * window.el (replace-buffer-in-windows): Restore interactive spec.
6851
6852 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6855
6856 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6857 (byte-compile-global-not-obsolete-vars): New var.
6858 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6859 Use it.
6860 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6861
6862 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6863
6864 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6865 * progmodes/pascal.el (electric-pascal-equal):
6866 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6867 * xml.el (xml-substitute-special): Fix typos.
6868
6869 2011-11-20 Glenn Morris <rgm@gnu.org>
6870
6871 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6872 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6873 Doc fixes.
6874 (rmail-decode-mime-charset): Mark as obsolete.
6875
6876 * mail/rmailsum.el (rmail-message-regexp-p-1):
6877 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6878 Before using mime functions, check they are set. (Bug#10077)
6879
6880 2011-11-19 Juri Linkov <juri@jurta.org>
6881
6882 * info.el (Info-finder-find-node): Use `package--builtins' instead
6883 of `package-alist'. Use node names formed by the pattern "Keyword "
6884 and the keyword name.
6885
6886 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6887
6888 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6889
6890 2011-11-19 Juri Linkov <juri@jurta.org>
6891
6892 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6893 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6894 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6895 `old-history', `old-history-forward'. Add let-binding
6896 `window-selected'. Remove calls to `kill-buffer',
6897 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6898 before calling `Info-find-node', so `Info-find-node-2' will reread
6899 the Info file. Restore window positions only when `window-selected'
6900 is non-nil.
6901
6902 2011-11-19 Juri Linkov <juri@jurta.org>
6903
6904 * isearch.el (isearch-lazy-highlight-new-loop):
6905 Remove condition `(not isearch-error)'. (Bug#9918)
6906
6907 * misearch.el (multi-isearch-search-fun): Add condition
6908 `(not bound)' to ignore lazy-highlighting search.
6909 Add the search-failed message "end of multi" when the end of
6910 multi-sequence is reached. Uncapitalize the search-failed
6911 message "Repeat for next buffer".
6912
6913 * info.el (Info-search): Add the search-failed message
6914 "end of the manual" when the end of the manual is reached
6915 in Isearch mode.
6916
6917 2011-11-19 Juri Linkov <juri@jurta.org>
6918
6919 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6920 Use non-destructive `remove' instead of `delete' because
6921 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6922 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6923
6924 2011-11-19 Juri Linkov <juri@jurta.org>
6925
6926 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6927 to nil instead of binding `search-ring' and `regexp-search-ring'.
6928 (Bug#9185)
6929
6930 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6931
6932 * simple.el (line-move): Force movement by logical lines for any
6933 hscrolled window, not only when auto-hscroll-mode is on.
6934 (line-move-visual): Update doc string to that effect. (Bug#10076)
6935
6936 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6937
6938 * language/european.el (macintosh): Define as alias for mac-roman.
6939
6940 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6941
6942 * mail/rmailmm.el (rmail-mime-display-header)
6943 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6944 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6945 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6946 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6947 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6948 of a raw aref.
6949 (rmail-mime-entity-segment): To get past the tagline, move forward
6950 2 more lines, to account for the 2 empty lines that precede and
6951 follow the line with the buttons.
6952 (rmail-mime-update-tagline): Move one more line, to get past the
6953 empty line that follows the buttons in the tagline. (Bug#9520)
6954
6955 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6956
6957 * window.el (window-max-delta-1, window-min-delta-1)
6958 (window-min-size-1, window-state-get-1, window-state-put-1)
6959 (window-state-put-2): Use "window--" prefix.
6960
6961 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6964 (smie-warning-count): New var.
6965 (smie-set-prec2tab): Use it.
6966 (smie-bnf->prec2): Improve warnings. Add docstring.
6967 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6968 (smie-bnf--set-class): New function.
6969 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6970 corner case.
6971
6972 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6973 (compilation-error-properties, compilation-move-to-column):
6974 Handle compilation-first-column while in the target buffer.
6975
6976 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6977 Don't hardcode point-min==1.
6978
6979 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6980 (eshell-rewrite-for-command): Remove workaround.
6981 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6982 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6983 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6984
6985 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6986
6987 2011-11-17 Glenn Morris <rgm@gnu.org>
6988
6989 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6990 Ignore buffer-local generated-autoload-file if it is the same
6991 as the global value. (Bug#10049)
6992
6993 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6994
6995 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6996 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6997 (reftex-toc-previous-heading, reftex-toc-max-level)
6998 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6999 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7000 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7001 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7002 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7003 (reftex-toc-rename-label, reftex-toc-visit-location)
7004 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7005 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7006 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7007 leaving "*toc*" only for references to the buffer.
7008
7009 2011-11-17 Martin Rudalics <rudalics@gmx.at>
7010
7011 * window.el (window-resize, delete-window, split-window):
7012 Replace window-splits by window-combination-resize.
7013 * cus-start.el (window-splits): Replace by window-combination-resize.
7014
7015 2011-11-17 Glenn Morris <rgm@gnu.org>
7016
7017 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7018 Make bash entry derive from sh entry, not shell entry.
7019
7020 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
7021
7022 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7023 local file name.
7024
7025 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7026
7027 * menu-bar.el (menu-bar-file-menu):
7028 * printing.el (pr-ps-utility):
7029 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7030 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7031 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7032 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7033 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7034 (icalendar--convert-cyclic-to-ical)
7035 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7036 (icalendar--convert-ical-to-diary)
7037 (icalendar--convert-recurring-to-diary)
7038 (icalendar--convert-non-recurring-all-day-to-diary)
7039 (icalendar-import-format-sample):
7040 * progmodes/idlw-shell.el (idlwave-shell-mode):
7041 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7042 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7043 (vhdl-ps-print-init): Fix typos.
7044
7045 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7046
7047 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7048 FSF and collapse date sequence, obscure author/maintainer email address
7049 better, remove extra version line, track relocation of author's webpage.
7050
7051 * progmodes/python.el (python-pdbtrack-input-prompt)
7052 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7053 regular python pdb prompts. Adjustments shamelessly taken exactly as
7054 suggested in EmacsWiki page (tiny change):
7055 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7056
7057 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7058
7059 * expand.el (expand-pos, expand-index, expand-point):
7060 Remove redundant info from docstring.
7061 (expand-add-abbrevs): Doc fix.
7062 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7063 (expand-sample-perl-mode-expand-list): Fix typos.
7064
7065 * net/dbus.el (dbus-event-member-name):
7066 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7067 * term/pc-win.el (msdos-create-frame-with-faces):
7068 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7069
7070 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7071
7072 * window.el (split-window, window-state-get-1)
7073 (window-state-put-1, window-state-put-2): Rename occurrences of
7074 window-nest to window-combination-limit.
7075 * cus-start.el (window-nest): Rename to window-combination-limit.
7076
7077 2011-11-16 Chong Yidong <cyd@gnu.org>
7078
7079 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7080 regexp (Bug#10033).
7081
7082 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7085 `completing-read' will remove *Completions* and will preserve
7086 current-buffer for us.
7087 (tmm-add-prompt): Users of *Completions* will always (re)set its
7088 major mode.
7089 (tmm-old-comp-map): Remove.
7090
7091 2011-11-16 Glenn Morris <rgm@gnu.org>
7092
7093 * mail/rmailedit.el: Require rmailmm when compiling.
7094 (rmail-old-mime-state): New declaration.
7095 (rmail-edit-current-message): If editing a mime message,
7096 edit the "raw" message from the mbox buffer.
7097 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7098
7099 2011-11-15 Glenn Morris <rgm@gnu.org>
7100
7101 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7102 which wasn't being used. Add optional arg to force given state.
7103 (rmail-mime): Add optional arg to force given state.
7104
7105 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7108 * frame.el (display-mm-dimensions-alist):
7109 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7110 (outline-move-subtree-down):
7111 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7112 (newsticker--treeview-do-get-node):
7113 * net/quickurl.el (quickurl-list-buffer-name):
7114 * progmodes/dcl-mode.el (dcl-mode):
7115 * progmodes/gdb-mi.el (gdb-mapcar*):
7116 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7117
7118 2011-11-15 Glenn Morris <rgm@gnu.org>
7119
7120 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7121 in a boolean sense, so just make it a boolean, and fix the doc.
7122 (rmail-show-mime-function, rmail-mime-feature)
7123 (rmail-require-mime-maybe): Doc fixes.
7124 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7125
7126 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7127
7128 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7129
7130 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7131 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7132 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7133 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7134
7135 2011-11-15 Glenn Morris <rgm@gnu.org>
7136
7137 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7138 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7139 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7140 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7141 (rmail-mime, rmail-show-mime): Doc fixes.
7142
7143 * term/ns-win.el (mode-line-frame-identification):
7144 Leave it alone. (Bug#10051)
7145
7146 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7147
7148 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7149 Handle empty buffers. (Bug#9978)
7150
7151 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7152
7153 * international/mule.el (define-charset):
7154 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7155 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7156 * progmodes/verilog-mode.el (verilog-backward-token):
7157 * textmodes/ispell.el (lookup-words):
7158 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7159
7160 2011-11-14 Glenn Morris <rgm@gnu.org>
7161
7162 * progmodes/executable.el
7163 (executable-make-buffer-file-executable-if-script-p):
7164 Handle file-modes returning nil.
7165
7166 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7167 message - not necessary, and causes problems. (Bug#9831)
7168
7169 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7170
7171 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7172
7173 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7174 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7175 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7176
7177 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7178
7179 * window.el (window-resize, delete-window): Use window-splits
7180 variable instead of function.
7181 (window-state-get-1, window-state-put-2, window-state-put):
7182 Don't deal with windows' splits status.
7183
7184 2011-11-12 Glenn Morris <rgm@gnu.org>
7185
7186 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7187 (apropos-documentation): Doc fixes.
7188
7189 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7190
7191 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7192 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7193
7194 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * electric.el (electric-indent-post-self-insert-function): Make it
7197 possible for a char to only indent in some circumstances.
7198 (electric-indent-mode): Simplify.
7199
7200 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7201
7202 * window.el (windows-with-parameter): Remove unused function.
7203 (windows-at-side): Rename to window-at-side-list.
7204 (window-check, window-atom-check, window-atom-check-1)
7205 (window-side-check, window-size-ignore, window-size-fixed-1)
7206 (window-in-direction-2): Prefix with "window--".
7207 (window-tree-1): Rename to window--subtree, fix doc-string.
7208
7209 2011-11-11 Glenn Morris <rgm@gnu.org>
7210
7211 * subr.el (eval-after-load): If FILE is already loaded,
7212 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7213
7214 2011-11-10 Glenn Morris <rgm@gnu.org>
7215
7216 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7217 Call svn via vc-svn-command rather than vc-do-command.
7218 (vc-svn-command): Add --non-interactive. (Bug#9993)
7219 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7220
7221 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7222 Add toggle-read-only. (Bug#7292)
7223 * files.el (toggle-read-only): Mention that it should only
7224 be used interactively. (Bug#10006)
7225
7226 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7229 Adjust regexp for OCaml warnings.
7230
7231 * electric.el (electric-pair-post-self-insert-function): Let user
7232 turn it off buffer-locally (bug#9932).
7233
7234 * progmodes/python.el (python-beginning-of-statement):
7235 Rewrite (bug#2703).
7236
7237 * progmodes/compile.el: Better handle TABs (bug#9749).
7238 (compilation-internal-error-properties)
7239 (compilation-next-error-function): Obey the target buffer's
7240 compilation-error-screen-columns.
7241
7242 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7243
7244 * progmodes/meta-mode.el: Remove obsolete comments.
7245 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7246 Fix typos in docstrings.
7247
7248 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7249
7250 * window.el (window-size-fixed-p): Rewrite doc-string.
7251 (window-resizable-p): Rename to window--resizable-p. Update callers.
7252 (window--resizable): New function. Make all callers of
7253 window-resizable call window--resizable instead.
7254 (window-resizable): Rewrite in terms of window--resizable.
7255
7256 2011-11-08 Glenn Morris <rgm@gnu.org>
7257
7258 * progmodes/delphi.el (delphi-mode-syntax-table):
7259 Let define-derived-mode define a proper syntax table. (Bug#9994)
7260
7261 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * window.el: Stay away from defsubst.
7264 (window-list-no-nils): Remove.
7265 (window-state-get-1, window-state-get): Use backquote instead.
7266
7267 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7268
7269 * emacs-lisp/find-func.el (find-function-read):
7270 Fix incorrect use of default argument in `completing-read'.
7271
7272 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7273
7274 * window.el (display-buffer-function, special-display-function):
7275 Mention display-buffer-record-window but do not mention
7276 help-setup parameter in doc-strings.
7277 (window-min-delta): Fix doc-string typo.
7278
7279 2011-11-08 Chong Yidong <cyd@gnu.org>
7280
7281 * window.el (window-total-height, window-total-width): Doc fix.
7282 (window-body-size): Move from C.
7283 (window-body-height, window-body-width): Move to C.
7284
7285 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7286
7287 * window.el: Make special-display like display-buffer-alist (bug#9532).
7288 (display-buffer--special-action): New function, morphed
7289 from display-buffer--special.
7290 (display-buffer): Use it to handle special-display-buffers at higher
7291 priority (just after display-buffer-alist).
7292 (display-buffer-fallback-action, display-buffer--other-frame-action)
7293 (pop-to-buffer-same-window): Remove display-buffer--special.
7294
7295 2011-11-07 Glenn Morris <rgm@gnu.org>
7296
7297 * calendar/cal-menu.el (cal-menu-set-date-title):
7298 Do nothing if not in a calendar. (Bug#9976)
7299
7300 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * files.el (find-file): Always use selected-window.
7303
7304 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7305
7306 * window.el (window-combinations): Make WINDOW argument
7307 mandatory. Rewrite doc-string.
7308 (walk-window-subtree, window-atom-check, window-min-delta)
7309 (window-max-delta, window--resize-this-window)
7310 (window--resize-root-window-vertically, window-tree)
7311 (balance-windows, window-state-put): Rewrite doc-strings as to
7312 not mention the term "subwindow".
7313 (window--resize-subwindows-skip-p): Rename to
7314 window--resize-child-windows-skip-p.
7315 (window--resize-subwindows-normal): Rename to
7316 window--resize-child-windows-normal.
7317 (window--resize-subwindows): Rename to
7318 window--resize-child-windows.
7319 (window-or-subwindow-p): Rename to window--in-subtree-p.
7320
7321 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7322
7323 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7324 Ensure that mbox format messages end in two newlines (Bug#9974).
7325
7326 2011-11-06 Chong Yidong <cyd@gnu.org>
7327
7328 * window.el (window-combination-p): Function deleted; its
7329 side-effect is not used in any existing code.
7330 (window-combinations, window-combined-p): Call window-*-child
7331 directly.
7332
7333 2011-11-05 Chong Yidong <cyd@gnu.org>
7334
7335 * window.el (window-valid-p): Rename from window-any-p.
7336 (window-size-ignore, window-state-get): Callers changed.
7337 (window-normalize-window): Rename from window-normalize-any-window.
7338 New arg LIVE-ONLY, replacing window-normalize-live-window.
7339 (window-normalize-live-window): Delete.
7340 (window-combination-p, window-combined-p, window-combinations)
7341 (walk-window-subtree, window-atom-root, window-min-size)
7342 (window-sizable, window-sizable-p, window-size-fixed-p)
7343 (window-min-delta, window-max-delta, window-resizable)
7344 (window-resizable-p, window-full-height-p, window-full-width-p)
7345 (window-current-scroll-bars, window-point-1, set-window-point-1)
7346 (window-at-side-p, window-in-direction, window-resize)
7347 (adjust-window-trailing-edge, maximize-window, minimize-window)
7348 (window-deletable-p, delete-window, delete-other-windows)
7349 (record-window-buffer, unrecord-window-buffer)
7350 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7351 (quit-window, split-window, window-state-put)
7352 (set-window-text-height, fit-window-to-buffer)
7353 (shrink-window-if-larger-than-buffer): Callers changed.
7354
7355 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7356
7357 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7358 rfc2047-decode-string.
7359 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7360 warnings.
7361
7362 * window.el (window-body-height, window-body-width): Mention in
7363 the doc string that the return values are in frame's canonical
7364 units. (Bug#9949)
7365
7366 2011-11-03 Alan Mackenzie <acm@muc.de>
7367
7368 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7369 change in cc-engine.el.
7370
7371 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7374
7375 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7376
7377 * window.el (quit-window): Call unrecord-window-buffer after
7378 showing another buffer in the window. (Bug#9937)
7379 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7380
7381 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7382
7383 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7384 Accept status with more than 9 shelves. (Bug#9935)
7385 Reported by Colin D Bennett <colin@gibibit.com>.
7386
7387 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7388
7389 * help.el (with-help-window): Don't reference
7390 temp-buffer-show-specifiers in doc-string.
7391
7392 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7393
7394 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7395 menu-item.
7396
7397 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7398
7399 * whitespace.el: New version 13.2.2.
7400 (whitespace-newline-mode): Disable properly. Reported by Sarah
7401 <EmacsWiki>.
7402
7403 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7404
7405 * net/newst-treeview.el: Remove "Time-stamp".
7406 (newsticker--group-manage-orphan-feeds): Do not call
7407 newsticker--treeview-tree-update.
7408 (newsticker-treeview-update, newsticker-treeview):
7409 Call newsticker--treeview-tree-update if necessary.
7410
7411 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7412
7413 * window.el (window-iso-combination-p, window-iso-combined-p)
7414 (window-iso-combinations): Remove "iso-" infix.
7415 Suggested by Chong Yidong.
7416 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7417 (window-max-delta-1, window-resize, window--resize-siblings)
7418 (window--resize-this-window, adjust-window-trailing-edge)
7419 (split-window, balance-windows-1)
7420 (shrink-window-if-larger-than-buffer):
7421 * calendar/calendar.el (calendar-generate-window):
7422 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7423
7424 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7427 in place (bug#9907).
7428 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7429 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7430 (eshell-structure-basic-command, eshell-rewrite-while-command)
7431 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7432 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7433 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7434 (eshell-do-pipelines-synchronously, eshell-eval-command):
7435 Use backquotes and prefer setq to set.
7436 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7437 (eshell-macrop): Use functionp.
7438 (eshell-do-eval): Handle multiple expressions in `while' body.
7439
7440 2011-10-30 Chong Yidong <cyd@gnu.org>
7441
7442 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7443 instead of set-mark (Bug#9810).
7444
7445 2011-10-30 Chong Yidong <cyd@gnu.org>
7446
7447 * window.el (split-window-below, split-window-right): Rename from
7448 split-window-above-each-other and split-window-side-by-side
7449 respectively. All callers changed.
7450 (split-window-sensibly, split-window-sensibly): Use them.
7451 (split-window-keep-point): Doc fix.
7452
7453 * isearch.el: Add isearch-scroll property to split-window-below
7454 and split-window-right.
7455
7456 * follow.el (follow-mode):
7457 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7458 * progmodes/ada-xref.el (ada-gdb-application):
7459 * emulation/vip.el (vip-buffer-in-two-windows):
7460 * image-dired.el (image-dired-dired-with-window-configuration):
7461 * dired-x.el (dired-do-find-marked-files):
7462 * dired.el (dired-pop-to-buffer):
7463 * bs.el (bs--show-with-configuration):
7464 * vc/emerge.el (emerge-setup-windows):
7465 * textmodes/two-column.el (2C-two-columns):
7466 * textmodes/reftex-toc.el (reftex-toc):
7467 * progmodes/gdb-mi.el (gdb-setup-windows):
7468 * progmodes/fortran.el (fortran-window-create):
7469 * net/newst-treeview.el (newsticker--treeview-window-init):
7470 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7471 * emulation/tpu-edt.el (tpu-gold-map):
7472 * emulation/crisp.el (crisp-mode-map):
7473 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7474
7475 2011-10-29 Chong Yidong <cyd@gnu.org>
7476
7477 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7478
7479 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7480
7481 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7482 forged Ispell output (Bug#7904).
7483
7484 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7485
7486 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * doc-view.el: Avoid ugly errors about not finding nil.
7489 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7490 (doc-view-dvipdf-program, doc-view-unoconv-program)
7491 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7492 Avoid nil or absolute file name as default value.
7493 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7494
7495 2011-10-28 Alan Mackenzie <acm@muc.de>
7496
7497 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7498
7499 2011-10-28 Alan Mackenzie <acm@muc.de>
7500
7501 Amend the handling of c-beginning/end-of-defun in nested declaration
7502 scopes.
7503
7504 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7505 cc-langs.el. Change it to a defcustom.
7506
7507 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7508 cc-vars.el.
7509
7510 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7511 Prevent "class foo : bar" being spuriously recognized as a label.
7512
7513 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7514 Add parameter `inclusive' (to include enclosing braces in the region).
7515 (c-widen-to-enclosing-decl-scope): New function.
7516 (c-while-widening-to-decl-block): New macro.
7517 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7518 outward for defun boundaries, and correspondingly change symbol
7519 `respect-enclosure' to `go-outward'.
7520 (c-declaration-limits): Change algorithm to report only the "innermost"
7521 defun's boundaries.
7522
7523 2011-10-28 Deniz Dogan <deniz@dogan.se>
7524
7525 * net/rcirc.el (rcirc-mode): Use hard newlines.
7526
7527 2011-10-28 Alan Mackenzie <acm@muc.de>
7528
7529 Amend to indent and fontify macros "which include their own semicolon"
7530 correctly, using the "virtual semicolon" mechanism.
7531
7532 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7533
7534 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7535 Recode to scan one line at a time rather than having \n and \r
7536 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7537 (c-forward-label): Amend for virtual semicolons.
7538 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7539
7540 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7541 of the new C macros.
7542
7543 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7544 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7545 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7546 (c-opt-cpp-macro-define): Make into a full language variable.
7547 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7548 AWK Mode (including \n, \r) removed, no longer needed.
7549
7550 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7551 Invoke c-make-macro-with-semi-re.
7552
7553 * progmodes/cc-vars.el (c-macro-with-semi-re):
7554 (c-macro-names-with-semicolon): New variables.
7555 (c-make-macro-with-semi-re): New function.
7556
7557 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * vc/log-edit.el: Fill empty field rather than adding new one.
7560 (log-edit-add-field): New function.
7561 (log-edit-insert-changelog): Use it.
7562
7563 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7564
7565 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7566
7567 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7570 (gdb--check-interpreter): New function.
7571 (gdb): Use it.
7572
7573 2011-10-27 Glenn Morris <rgm@gnu.org>
7574
7575 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7576 (least-positive-float, least-negative-float)
7577 (least-positive-normalized-float, least-negative-normalized-float)
7578 (float-epsilon, float-negative-epsilon):
7579 Remove unnecessary declarations.
7580
7581 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7582 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7583 (least-positive-float, least-negative-float)
7584 (least-positive-normalized-float, least-negative-normalized-float)
7585 (float-epsilon, float-negative-epsilon): Add doc-strings,
7586 based on those in cl.texi.
7587
7588 * files.el (set-visited-file-name): If the major-mode changed,
7589 reload the local variables. (Bug#9796)
7590
7591 2011-10-27 Chong Yidong <cyd@gnu.org>
7592
7593 * subr.el (change-major-mode-after-body-hook): New hook.
7594 (run-mode-hooks): Run it.
7595
7596 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7597 Use change-major-mode-before-body-hook.
7598
7599 * simple.el (fundamental-mode):
7600 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7601 change introducing fundamental-mode-hook.
7602
7603 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7604
7605 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7606
7607 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7608
7609 * ido.el (ido-file-name-all-completions-1): Do not require
7610 tramp.el explicitly. (Bug#7583)
7611
7612 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * progmodes/octave-mod.el:
7615 * progmodes/octave-inf.el: Update maintainer.
7616
7617 2011-10-26 Chong Yidong <cyd@gnu.org>
7618
7619 * subr.el (with-wrapper-hook): Rewrite doc.
7620
7621 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7622
7623 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7624 filenames "/method:foo:". (Bug#9793)
7625
7626 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7627
7628 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7629 (bug#9865).
7630
7631 2011-10-24 Glenn Morris <rgm@gnu.org>
7632
7633 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7634
7635 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7636
7637 * notifications.el: Add the requirement of a running D-Bus session
7638 bus to the Commentary.
7639
7640 2011-10-24 Juri Linkov <juri@jurta.org>
7641
7642 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7643 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7644 (Bug#9364)
7645
7646 2011-10-24 Juri Linkov <juri@jurta.org>
7647
7648 * info.el (Info-following-node-name-re): Add newline to the list
7649 of allowed characters for leading space. (Bug#9824)
7650
7651 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7652
7653 * progmodes/octave-inf.el (inferior-octave-mode-map):
7654 Fix C-c C-h binding.
7655 * progmodes/octave-mod.el (octave-help): Remove.
7656
7657 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7658
7659 Sync with Tramp 2.2.3.
7660
7661 * net/tramp-cache.el (top): Pacify byte-compiler using
7662 `init-file-user' and `site-run-file'.
7663
7664 * net/trampver.el: Update release number.
7665
7666 2011-10-23 Chong Yidong <cyd@gnu.org>
7667
7668 * files.el (toggle-read-only): Remove obsolete comment about
7669 version control.
7670
7671 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7672 for toggle-read-only. Note that this hasn't called vc-next-action
7673 since 2008-05-02, though it wasn't documented at the time.
7674
7675 * vc/ediff-init.el (ediff-toggle-read-only-function):
7676 Use toggle-read-only.
7677
7678 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7679
7680 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7681 of c-parse-state.
7682
7683 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7684 correct faulty logical expression.
7685 (c-parse-state-state, c-record-parse-state-state):
7686 (c-replay-parse-state-state): New defvar/defuns.
7687 (c-debug-parse-state): Use new functions.
7688
7689 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7690
7691 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7692 last fix. Use window-in-direction correctly.
7693
7694 2011-10-21 Chong Yidong <cyd@gnu.org>
7695
7696 * progmodes/idlwave.el (idlwave-mode):
7697 * progmodes/vera-mode.el (vera-mode): No need to set
7698 require-final-newline; that's done in prog-mode.
7699 Suggested by Stefan Monnier.
7700
7701 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7702
7703 * mouse.el (mouse-drag-window-above)
7704 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7705 (mouse-drag-mode-line-1, mouse-drag-header-line)
7706 (mouse-drag-vertical-line-rightward-window): Remove.
7707 (mouse-drag-line): New function.
7708 (mouse-drag-mode-line, mouse-drag-header-line)
7709 (mouse-drag-vertical-line): Call mouse-drag-line.
7710 * window.el (window-at-side-p, windows-at-side): New functions.
7711
7712 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7713
7714 * tar-mode.el (tar-grind-file-mode):
7715 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7716
7717 2011-10-21 Chong Yidong <cyd@gnu.org>
7718
7719 * progmodes/idlwave.el (idlwave-mode):
7720 * progmodes/vera-mode.el (vera-mode):
7721 Use mode-require-final-newline.
7722
7723 2011-10-20 Glenn Morris <rgm@gnu.org>
7724
7725 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7726
7727 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7728
7729 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7730
7731 2011-10-20 Chong Yidong <cyd@gnu.org>
7732
7733 * emulation/cua-base.el (cua-mode):
7734 * mail/footnote.el (footnote-mode):
7735 * mail/mailabbrev.el (mail-abbrevs-mode):
7736 * net/xesam.el (xesam-minor-mode):
7737 * progmodes/bug-reference.el (bug-reference-mode):
7738 * progmodes/cap-words.el (capitalized-words-mode):
7739 * progmodes/compile.el (compilation-minor-mode)
7740 (compilation-shell-minor-mode):
7741 * progmodes/gud.el (gud-tooltip-mode):
7742 * progmodes/hideif.el (hide-ifdef-mode):
7743 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7744 * progmodes/subword.el (subword-mode):
7745 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7746 * progmodes/which-func.el (which-function-mode):
7747 * term/tvi970.el (tvi970-set-keypad-mode):
7748 * term/vt100.el (vt100-wide-mode):
7749 * textmodes/flyspell.el (flyspell-mode):
7750 * textmodes/ispell.el (ispell-minor-mode):
7751 * textmodes/nroff-mode.el (nroff-electric-mode):
7752 * textmodes/paragraphs.el (use-hard-newlines):
7753 * textmodes/refill.el (refill-mode):
7754 * textmodes/reftex.el (reftex-mode):
7755 * textmodes/rst.el (rst-minor-mode):
7756 * textmodes/sgml-mode.el (html-autoview-mode)
7757 (sgml-electric-tag-pair-mode):
7758 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7759 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7760 * emulation/crisp.el (crisp-mode):
7761 * emacs-lisp/eldoc.el (eldoc-mode):
7762 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7763 minor mode behavior.
7764
7765 2011-10-19 Juri Linkov <juri@jurta.org>
7766
7767 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7768 the list of hard-coded chars with escape-glyph face.
7769
7770 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7771
7772 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7773
7774 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7775
7776 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7777 running process.
7778
7779 2011-10-19 Glenn Morris <rgm@gnu.org>
7780
7781 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7782 Ignore ignored files. (Bug#9726)
7783
7784 2011-10-19 Chong Yidong <cyd@gnu.org>
7785
7786 Doc fix for minor modes, stating that an omitted argument enables
7787 the mode unconditionally when called from Lisp.
7788
7789 * abbrev.el (abbrev-mode):
7790 * allout.el (allout-mode):
7791 * autoinsert.el (auto-insert-mode):
7792 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7793 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7794 (global-auto-revert-mode):
7795 * battery.el (display-battery-mode):
7796 * composite.el (global-auto-composition-mode)
7797 (auto-composition-mode):
7798 * delsel.el (delete-selection-mode):
7799 * desktop.el (desktop-save-mode):
7800 * dired-x.el (dired-omit-mode):
7801 * dirtrack.el (dirtrack-mode):
7802 * doc-view.el (doc-view-minor-mode):
7803 * double.el (double-mode):
7804 * electric.el (electric-indent-mode, electric-pair-mode):
7805 * emacs-lock.el (emacs-lock-mode):
7806 * epa-hook.el (auto-encryption-mode):
7807 * follow.el (follow-mode):
7808 * font-core.el (font-lock-mode):
7809 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7810 * help.el (temp-buffer-resize-mode):
7811 * hilit-chg.el (highlight-changes-mode)
7812 (highlight-changes-visible-mode):
7813 * hi-lock.el (hi-lock-mode):
7814 * hl-line.el (hl-line-mode, global-hl-line-mode):
7815 * icomplete.el (icomplete-mode):
7816 * ido.el (ido-everywhere):
7817 * image-file.el (auto-image-file-mode):
7818 * image-mode.el (image-minor-mode):
7819 * iswitchb.el (iswitchb-mode):
7820 * jka-cmpr-hook.el (auto-compression-mode):
7821 * linum.el (linum-mode):
7822 * longlines.el (longlines-mode):
7823 * master.el (master-mode):
7824 * mb-depth.el (minibuffer-depth-indicate-mode):
7825 * menu-bar.el (menu-bar-mode):
7826 * minibuf-eldef.el (minibuffer-electric-default-mode):
7827 * mouse-sel.el (mouse-sel-mode):
7828 * msb.el (msb-mode):
7829 * mwheel.el (mouse-wheel-mode):
7830 * outline.el (outline-minor-mode):
7831 * paren.el (show-paren-mode):
7832 * recentf.el (recentf-mode):
7833 * reveal.el (reveal-mode, global-reveal-mode):
7834 * rfn-eshadow.el (file-name-shadow-mode):
7835 * ruler-mode.el (ruler-mode):
7836 * savehist.el (savehist-mode):
7837 * scroll-all.el (scroll-all-mode):
7838 * scroll-bar.el (scroll-bar-mode):
7839 * server.el (server-mode):
7840 * shell.el (shell-dirtrack-mode):
7841 * simple.el (auto-fill-mode, transient-mark-mode)
7842 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7843 (line-number-mode, column-number-mode, size-indication-mode)
7844 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7845 * strokes.el (strokes-mode):
7846 * time.el (display-time-mode):
7847 * t-mouse.el (gpm-mouse-mode):
7848 * tool-bar.el (tool-bar-mode):
7849 * tooltip.el (tooltip-mode):
7850 * type-break.el (type-break-mode-line-message-mode)
7851 (type-break-query-mode):
7852 * view.el (view-mode):
7853 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7854 (global-whitespace-mode, global-whitespace-newline-mode):
7855 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7856
7857 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7858 Fix autogenerated docstring.
7859
7860 2011-10-19 Juri Linkov <juri@jurta.org>
7861
7862 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7863 by checking environment variables "DESKTOP_SESSION" and
7864 "XDG_CURRENT_DESKTOP". (Bug#9779)
7865
7866 2011-10-19 Juri Linkov <juri@jurta.org>
7867
7868 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7869 (browse-url-chromium-program, browse-url-chromium-arguments):
7870 New defcustoms.
7871 (browse-url-default-browser): Check for `browse-url-chromium' and
7872 call `browse-url-chromium-program'.
7873 (browse-url-chromium): New command. (Bug#9779)
7874
7875 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7876
7877 * facemenu.el (list-colors-duplicates): On Windows, detect more
7878 duplicates by assuming that only colors matching "^System" are
7879 special "system colors". (Bug#9722)
7880
7881 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7884 to distinguish the author from the committer.
7885
7886 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7887
7888 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7889
7890 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7891
7892 * international/mule.el (sgml-html-meta-auto-coding-function):
7893 Add support for detecting encoding in HTML5 specified only as
7894 <meta charset="UTF-8">. Implementation just makes http-equiv and
7895 content-type parts from HTML4 encoding string optional. (Bug#9716)
7896
7897 2011-10-18 Glenn Morris <rgm@gnu.org>
7898
7899 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7900
7901 2011-10-18 Chong Yidong <cyd@gnu.org>
7902
7903 * faces.el (cursor): Doc fix.
7904
7905 2011-10-17 Chong Yidong <cyd@gnu.org>
7906
7907 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7908
7909 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7910
7911 * dirtrack.el (dirtrack): Support shell buffers with path
7912 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7913
7914 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7915
7916 * json.el: Bump version to 1.3 and note change in History.
7917 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7918
7919 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7920
7921 * comint.el (comint-insert-input, comint-send-input)
7922 (comint-get-old-input-default, comint-backward-matching-input)
7923 (comint-next-prompt): Use nil instead of `input' for field property of
7924 past user input (bug#114).
7925
7926 * minibuffer.el (completion--replace): Inherit surrounding properties
7927 (bug#114).
7928 (minibuffer-complete-and-exit): Use it.
7929
7930 * comint.el (comint--table-subvert): Quote the all-completions output
7931 (bug#9160).
7932
7933 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7934
7935 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7936
7937 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7938 window on right of selected. (Bug#9350) Reword other window
7939 entries and separate them from frame entries.
7940
7941 2011-10-15 Glenn Morris <rgm@gnu.org>
7942
7943 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7944 Doc fixes.
7945
7946 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7947
7948 * net/network-stream.el (network-stream-open-starttls):
7949 Improve detection of failure due to lack of TLS support.
7950
7951 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7952 putting the input text in front and in bold.
7953
7954 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7957
7958 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7959 empty buffer.
7960
7961 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7962 unread-command-events rather than pushing yet-another event.
7963
7964 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7965
7966 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7967 the explanation of the possible choices. Make the options passed
7968 to completing-read shorter.
7969
7970 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7971
7972 * textmodes/flyspell.el (flyspell-large-region): Make sure
7973 extended character mode is used if defined (Bug#1339).
7974
7975 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7976
7977 * simple.el (what-cursor-position): Fix the display of the
7978 character info for LRE, LRO, RLE, and RLO characters by appending
7979 an invisible PDF.
7980
7981 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7984 even in case of error; add debug spec; simplify data flow.
7985 (with-timeout-handler): Remove.
7986
7987 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7988
7989 Fix Bug#6019, Bug#9315.
7990
7991 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7992 complete `buffer-file-name', the local file name part could look
7993 remotely (for example on VMS).
7994
7995 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7996 `tramp-run-real-handler'.
7997 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7998 already quoted by '"'.
7999
8000 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8001 Let `file-name-handler-alist' be nil, the local file name part
8002 could look remotely (for example on VMS).
8003
8004 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8007 from here...
8008 (flyspell-post-command-hook): ...to here.
8009
8010 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8013 if not needed.
8014 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8015 using completion. Protect against "slow" callers.
8016 Remove the "message hack".
8017
8018 2011-10-11 Juri Linkov <juri@jurta.org>
8019
8020 * isearch.el (isearch-lazy-highlight-word): New variable.
8021 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8022 Use it. (Bug#9727)
8023
8024 2011-10-11 Glenn Morris <rgm@gnu.org>
8025
8026 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8027 like f90-previous-statement does.
8028
8029 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8030
8031 * eshell/eshell.el (eshell-command): History should be saved
8032 only in interactive use, to avoid error.
8033
8034 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8035
8036 * minibuffer.el (completion-file-name-table): Fix last change,
8037 i.e. ignore normal errors but not the other ones.
8038
8039 2011-10-10 Martin Rudalics <rudalics@gmx.at>
8040
8041 * window.el (special-display-buffer-names)
8042 (special-display-regexps): Remove some remnants of earlier
8043 changes from doc-strings.
8044 (quit-windows-on): New function.
8045
8046 * vc/vc.el (vc-revert, vc-rollback):
8047 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8048 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
8049 (Bug#6183) (Bug#7074) (Bug#7447)
8050
8051 2011-10-09 Martin Rudalics <rudalics@gmx.at>
8052
8053 * window.el (frame-auto-hide-function): Add version tag.
8054 (Bug#9699)
8055
8056 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8057
8058 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8059 condition.
8060
8061 2011-10-09 Leo Liu <sdl.web@gmail.com>
8062
8063 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8064 (Bug#9701)
8065
8066 2011-10-08 Glenn Morris <rgm@gnu.org>
8067
8068 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8069 before the first code statement zero indent. (Bug#9690)
8070
8071 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8072
8073 * simple.el (count-words-region): Always count in the region.
8074 Report the number of lines and characters too.
8075 (count-words): New command, which counts in the buffer if the
8076 region is inactive, as count-words-region used to.
8077 (count-words--message): New function. Handle plurals.
8078 (count-lines-region): Make it an alias for count-words-region.
8079
8080 * bindings.el (esc-map): Replace count-lines-region with
8081 count-words-region.
8082
8083 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8084
8085 * window.el (window--delete): Delete dedicated frame
8086 unconditionally when argument KILL is non-nil. (Bug#9699)
8087 (switch-to-buffer): Fix doc-string typo.
8088
8089 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8090
8091 * eshell/eshell.el (eshell-command): Avoid using hooks.
8092
8093 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8094
8095 * bindings.el ([M-left],[M-right]): Bind to left-word and
8096 right-word respectively.
8097
8098 2011-10-07 Glenn Morris <rgm@gnu.org>
8099
8100 * cus-start.el (debug-on-quit): Fix custom type.
8101
8102 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8103
8104 * subr.el (define-key-after): Clarify that the function is not
8105 useful for non-menu keymaps.
8106
8107 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8108
8109 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8110
8111 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8112 in current minibuffer (Fix bug with recursive minibuffers).
8113
8114 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8115
8116 * progmodes/gdb-mi.el (gdb): Doc fix.
8117
8118 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8119
8120 * window.el (frame-auto-hide-function): New option replacing
8121 frame-auto-delete. Suggested by Stefan Monnier.
8122 (window--delete): Call frame-auto-hide-function instead of
8123 investigating frame-auto-delete.
8124 (window-point-1, set-window-point-1): New functions.
8125 (window-in-direction, record-window-buffer, window-state-get-1)
8126 (display-buffer-record-window): Use window-point-1 instead of
8127 window-point.
8128 (set-window-buffer-start-and-point): Use set-window-point-1.
8129
8130 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8131
8132 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8133
8134 2011-10-05 Glenn Morris <rgm@gnu.org>
8135
8136 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8137 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8138
8139 2011-10-05 Leo Liu <sdl.web@gmail.com>
8140
8141 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8142 works with buffer object.
8143
8144 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * mpc.el (mpc-tool-bar-map): Add labels.
8147
8148 2011-10-04 Glenn Morris <rgm@gnu.org>
8149
8150 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8151
8152 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8153
8154 * window.el (window--delete): New function.
8155 (frame-auto-delete): Resuscitate option.
8156 (bury-buffer, replace-buffer-in-windows)
8157 (quit-window): Rewrite using window--delete.
8158 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8159 Pass display-buffer-mark-dedicated to window--display-buffer-2
8160 (Bug#9639).
8161
8162 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8165 returns a list (bug#9554). Add remote file name completion.
8166 * comint.el (comint--table-subvert): Curry and get quote&unquote
8167 functions as arguments.
8168 (comint--complete-file-name-data): Adjust call accordingly.
8169 * pcomplete.el (pcomplete--table-subvert): Remove.
8170 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8171
8172 * minibuffer.el (completion-table-case-fold): Use currying.
8173 (completion--styles-type, completion--cycling-threshold-type):
8174 New constants.
8175 (completion-styles, completion-category-overrides)
8176 (completion-cycle-threshold): Use them.
8177 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8178 completion-table-case-fold.
8179
8180 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8181
8182 * minibuffer.el (completion-category-overrides): Fix type of styles
8183 and add more user friendly tags (bug#9660).
8184
8185 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8188 (mule-input-method-string): New widget.
8189 (default-input-method, language-info-custom-alist): Use it.
8190
8191 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * pcomplete.el: Require comint.
8194 (pcomplete--common-suffix): Remove.
8195 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8196 (pcomplete--table-subvert): Sync with comint--table-subvert.
8197 (pcomplete--entries): Use comint-completion-file-name-table.
8198 * comint.el (comint-unquote-filename): Simplify.
8199 (comint-completion-file-name-table): New function (bug#9616).
8200 (comint--complete-file-name-data): Use it.
8201
8202 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8203 (pcmpl-gnu-tar-buffer): Remove.
8204 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8205 around. Make sure pcomplete-suffix-list is only changed temporarily.
8206 Don't look inside the tar's file if it's too large.
8207
8208 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8209
8210 * cus-edit.el (custom-mode-map):
8211 * epa.el (epa-key-list-mode-map):
8212 * man.el (Man-mode-map):
8213 * startup.el (splash-screen-keymap):
8214 * simple.el (special-mode-map): Use scroll-up-command and
8215 scroll-down-command.
8216
8217 * progmodes/idlw-help.el (idlwave-help-mode-map):
8218 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8219 * net/newst-plainview.el (newsticker-mode-map):
8220 * emulation/ws-mode.el (wordstar-mode-map):
8221 * emulation/vi.el (vi-com-map):
8222 * calc/calc-graph.el (calc-graph-show-dumb):
8223 * term/sun.el (terminal-init-sun):
8224 * term/ns-win.el (global-map):
8225 * progmodes/grep.el (grep-mode-map):
8226 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8227 * mail/rmail.el (rmail-mode-map):
8228 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8229
8230 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8231 custom-safe-themes as special.
8232
8233 2011-10-01 Julien Danjou <julien@danjou.info>
8234
8235 * notifications.el (notifications-notify): Fix docstring.
8236
8237 2011-10-01 Per Starbäck <per@starback.se>
8238
8239 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8240
8241 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8242
8243 * startup.el (command-line-1): Fix last fix by inserting
8244 initial-scratch-message into *scratch* before displaying it.
8245 (Bug#9605) and (Bug#9636)
8246
8247 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8248
8249 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8250 window is hscrolled, move by logical lines. (Bug#9607)
8251 (line-move-visual): Update the doc string to the above effect.
8252
8253 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8254
8255 * window.el (display-buffer-record-window): When WINDOW is the
8256 selected window use `point' instead of `window-point'. (Bug#9626)
8257
8258 * startup.el (command-line-1): Use insert-before-markers when
8259 inserting initial-scratch-message. (Bug#9605)
8260
8261 * help.el (help-window): Remove variable.
8262
8263 2011-09-29 Glenn Morris <rgm@gnu.org>
8264
8265 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8266
8267 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8268
8269 * descr-text.el (describe-char-categories): Accept category
8270 descriptions more than one line long.
8271
8272 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8273
8274 * simple.el (delete-trailing-whitespace): Fix last change.
8275
8276 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8277 Don't confuse "y => 3" as the beginning of a `y' operation.
8278
8279 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8280 object has more than 4 slots (bug#9613).
8281
8282 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * subr.el (with-output-to-temp-buffer):
8285 * net/quickurl.el (quickurl, quickurl-browse-url):
8286 Fix typos in docstrings.
8287
8288 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8289
8290 * minibuffer.el (completion-styles)
8291 (completion-category-overrides): Cross reference each other in doc
8292 strings.
8293
8294 2011-09-27 Glenn Morris <rgm@gnu.org>
8295
8296 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8297 to split-string. (Bug#9606)
8298
8299 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8300
8301 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8302 (bug#9615).
8303
8304 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8305
8306 * emacs-lisp/package.el (list-packages): Fix echo area message.
8307
8308 2011-09-27 Leo Liu <sdl.web@gmail.com>
8309
8310 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8311
8312 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8313
8314 * net/dbus.el (dbus-unregister-object): Don't release services for
8315 registered signals. (Bug#9581)
8316
8317 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8318
8319 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8320 function that picks between cfengine 2 and 3 support
8321 automatically. Update docs accordingly.
8322
8323 2011-09-22 Kenichi Handa <handa@m17n.org>
8324
8325 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8326 ZERO.
8327 (indian-itrans-v5-table-for-tamil): New variable.
8328 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8329
8330 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8331
8332 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8333 that's true if the current command involved collapsing of text.
8334 It's reset to false at the beginning of the next command.
8335 (allout-post-command-business): Move the cursor to the beginning
8336 of entry if the cursor is hidden and collapsing activity just
8337 happened.
8338
8339 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8340
8341 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8342 tracking (Bug#9541).
8343
8344 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8345
8346 * net/newst-reader.el (newsticker-html-renderer)
8347 (newsticker-show-news): Automatically load html rendering package
8348 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8349 because w3m-fill-column is let-bound" and the error "Symbol's value
8350 as variable is void: w3m-fill-column".
8351
8352 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8353
8354 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8355 Release services only if they are defined. (Bug#9581)
8356
8357 2011-09-23 Richard Stallman <rms@gnu.org>
8358
8359 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8360 distinguish start of paragraph from start of its text.
8361
8362 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8363
8364 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8365 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8366 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8367
8368 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8369
8370 * international/mule-diag.el (mule-diag): Insert a newline after
8371 each fontset description.
8372
8373 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8374
8375 * simple.el (delete-trailing-whitespace):
8376 Document last change; simplify.
8377
8378 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8379
8380 * simple.el (delete-trailing-whitespace): Also delete
8381 extra newlines at the end of the buffer.
8382
8383 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8384 (picture-newline): Use forward-line so as to ignore fields.
8385
8386 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8387
8388 * subr.el (with-wrapper-hook): Fix edebug spec.
8389
8390 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8391
8392 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8393 (bug#4538).
8394
8395 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8396
8397 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8398 Fix nasty bug using wrong cached values.
8399
8400 2011-09-23 Alan Mackenzie <acm@muc.de>
8401
8402 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8403
8404 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8405
8406 * window.el (pop-to-buffer): Ensure right window is selected if we
8407 chose another frame.
8408
8409 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8410
8411 * simple.el (what-cursor-position): Use get-char-property-change
8412 and next-single-char-property-change, to be able to show display
8413 properties that come from overlays as well as text properties.
8414
8415 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8416
8417 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8418
8419 * cmuscheme.el (run-scheme, switch-to-scheme):
8420 * cus-edit.el (customize-group, custom-buffer-create)
8421 (customize-browse):
8422 * info.el (info):
8423 * shell.el (shell):
8424 * mail/sendmail.el (mail):
8425 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8426
8427 2011-09-22 Richard Stallman <rms@gnu.org>
8428
8429 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8430 move back only to line beg, don't move back over blank lines.
8431
8432 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8433
8434 * files.el (copy-directory): Set directory attributes only in case
8435 they could be retrieved from the source directory. (Bug#9565)
8436
8437 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8438
8439 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8440 (hs-find-block-beginning, hs-hide-level-recursive):
8441 Ignore strings as well as comments. (Bug#9502)
8442
8443 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8444
8445 * progmodes/sql.el (sql-comint-postgres):
8446 Convert port number to a string. (Bug#9566)
8447
8448 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8449
8450 * window.el (quit-window): Undedicate window when switching to
8451 previous buffer. Reported by Thierry Volpiatto
8452 <thierry.volpiatto@gmail.com>.
8453 (special-display-popup-frame): When popping up a new frame reset
8454 its previous buffers to nil. Simplify code.
8455
8456 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8457
8458 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8459 and process filter, as done also in `shell-command'.
8460
8461 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8462
8463 * window.el (set-window-buffer-start-and-point):
8464 Call set-window-start with NOFORCE argument t.
8465 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8466 (quit-window): Reword doc-string. Handle new format of
8467 quit-restore parameter. Don't delete window if it has a
8468 previous buffer we can show instead of the present one.
8469 (display-buffer-record-window): Rewrite using a new format for
8470 the quit-restore window parameter
8471 (special-display-popup-frame, display-buffer-same-window)
8472 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8473 (display-buffer-pop-up-window, display-buffer-use-some-window):
8474 Adapt symbol passed to display-buffer-record-window.
8475 * help.el (help-window-setup): Handle new format of quit-restore
8476 parameter.
8477
8478 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8479
8480 * faces.el (face-list): Fix docstring (bug#9564).
8481
8482 * window.el (display-buffer--action-function-custom-type):
8483 Don't include internal functions in the Custom interface.
8484
8485 2011-09-20 Juri Linkov <juri@jurta.org>
8486
8487 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8488 (Info-forward-node, Info-backward-node, Info-next-preorder)
8489 (Info-last-preorder): Use it. (Bug#9528)
8490
8491 2011-09-20 Juri Linkov <juri@jurta.org>
8492
8493 * info.el (Info-last-preorder): Visit last menu item only when
8494 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8495
8496 2011-09-20 Julien Danjou <julien@danjou.info>
8497
8498 * password-cache.el (password-cache-remove): Remove entries even if the
8499 value is nil, so that password with a nil value (negative caching) is
8500 possible to invalidate.
8501
8502 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8503
8504 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8505 all whitespace around breakpoint. (Bug#9553)
8506 (f90-find-breakpoint): Only break at whitespace inside a comment.
8507
8508 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * minibuffer.el (completion-file-name-table): Keep track of errors.
8511 (completion-table-with-predicate): Handle the case where pred1 is nil.
8512 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8513
8514 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8517 (debugger-return-value): Signal an error if the debugging context does
8518 not await any return value.
8519
8520 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8521 * image-mode.el (image-toggle-display-text)
8522 (image-toggle-display-image): Stay away from evil `intangible'.
8523
8524 2011-09-19 Leo Liu <sdl.web@gmail.com>
8525
8526 * replace.el (occur-revert-arguments): Make it permanent-local.
8527 (occur-mode): Don't call font-lock-defontify.
8528
8529 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8530
8531 * net/ldap.el (ldap-search-internal): Don't push empty search
8532 result (Bug#9508).
8533
8534 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8537
8538 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8539
8540 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8541 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8542
8543 2011-09-18 Juri Linkov <juri@jurta.org>
8544
8545 * buff-menu.el (Buffer-menu-mode-map):
8546 * dired.el (dired-mode-map):
8547 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8548 (lisp-interaction-mode-map):
8549 * emacs-lisp/package.el (package-menu-mode-map):
8550 * epa.el (epa-key-list-mode-map):
8551 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8552 (menu-bar-options-menu):
8553 * outline.el (outline-mode-menu-bar-map):
8554 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8555 * vc/vc-dir.el (vc-dir-menu-map):
8556 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8557 Capitalize non-function content words in menu item strings.
8558
8559 * dired.el (dired-mode-map): Add menu item for
8560 `image-dired-dired-toggle-marked-thumbs'.
8561
8562 2011-09-18 Juri Linkov <juri@jurta.org>
8563
8564 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8565 to `isearch-case-fold-search' and restore its original value
8566 after the `isearch-mode' call.
8567
8568 2011-09-18 Juri Linkov <juri@jurta.org>
8569
8570 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8571 because `zgrep' returns 1 for successful matches (bug#9226).
8572
8573 2011-09-18 Juri Linkov <juri@jurta.org>
8574
8575 * info.el (Info-extract-menu-node-name): Check the second match
8576 for empty string (second test-case of bug#9528).
8577 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8578 intermediate nodes to the history (first test-case of bug#9528).
8579
8580 2011-09-18 Juri Linkov <juri@jurta.org>
8581
8582 * info.el (Info-mode-syntax-table): New variable.
8583 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8584
8585 2011-09-18 Juri Linkov <juri@jurta.org>
8586
8587 * info.el (Info-file-supports-index-cookies):
8588 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8589 outputs one more line for long file names (bug#4142).
8590
8591 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8592
8593 * newcomment.el (comment-normalize-vars): If prompting for
8594 comment-start, set comment-start-skip too (Bug#8424).
8595
8596 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8597
8598 * icomplete.el: Fix previous fix of Bug#5849.
8599 (icomplete-mode): Don't set completion-show-inline-help.
8600 (icomplete-minibuffer-setup): Set completion-show-inline-help
8601 locally during icompletion.
8602
8603 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8604
8605 * woman.el (woman2-process-escapes): Don't delete unrecognized
8606 escapes (Bug#7843).
8607
8608 * files.el (inhibit-first-line-modes-regexps): Add image files.
8609 (hack-local-variables-prop-line): Return nil for malformed
8610 prop-lines (Bug#9044).
8611
8612 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8613
8614 * net/tramp.el (top): Don't require 'shell.
8615 (tramp-methods): Fix docstring.
8616 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8617 Return complete remote file name. Handle "smb" case.
8618 Use `tramp-tmpdir', if defined for the respective method.
8619 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8620
8621 * net/tramp-compat.el (top): Require 'shell.
8622
8623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8624 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8625 `tramp-current-host'.
8626 (tramp-get-remote-tmpdir): Remove.
8627
8628 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8629 `tramp-tmpdir' entries.
8630 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8631 (tramp-smb-handle-file-attributes): Ignore errors.
8632 (tramp-smb-wait-for-output): Check also for process end.
8633
8634 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8635
8636 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8637 when sending QUIT (bug#9312).
8638
8639 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8640
8641 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8642 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8643 occur-mode-display-occurrence.
8644 (occur-edit-mode): Add usage message.
8645 (occur-cease-edit): New command.
8646 (occur-after-change-function): Use text properties to find the
8647 position of the prefix text.
8648 (occur-engine): Set stickiness of prefix text properties.
8649
8650 2011-09-17 Glenn Morris <rgm@gnu.org>
8651
8652 * progmodes/etags.el (complete-tag):
8653 Fix call to completion-in-region. (Bug#9526)
8654
8655 2011-09-17 Juri Linkov <juri@jurta.org>
8656
8657 * textmodes/ispell.el (ispell-word): Add to the error message
8658 the word, ispell program name and current dictionary (bug#9121).
8659 (ispell-tex-arg-end): Capitalize "error" in the error message.
8660
8661 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8662
8663 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8664 check. (Bug#4251)
8665
8666 2011-09-17 Juri Linkov <juri@jurta.org>
8667
8668 * window.el (window-safe-min-height, window-safe-min-width):
8669 Fix typos (followup to bug#9522).
8670
8671 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8672
8673 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8674
8675 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8676
8677 * simple.el (line-move): If goal-column is set, move by logical
8678 lines, not by display lines. (Bug#971)
8679 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8680 to reflect the above change.
8681
8682 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * image.el (imagemagick-register-types): Use regexp-opt.
8685
8686 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8687
8688 * window.el (display-buffer-base-action): Rename from
8689 display-buffer-default-action. Make default value empty.
8690 (display-buffer-overriding-action): Convert to defvar.
8691 (display-buffer-fallback-action): New var.
8692
8693 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8694
8695 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8696 declaration.
8697 (package--add-to-archive-contents): If there is a duplicate entry
8698 with an older version, remove it.
8699 (package-menu-mark-delete, package-menu-mark-install)
8700 (package-menu-mark-unmark): Make unused args optional.
8701 (package-menu-mark-obsolete-for-deletion):
8702 Use package-menu-get-status instead of a regexp search.
8703 (package-menu-get-status): Use tabulated-list-entry.
8704 (package-menu-mark-upgrades): New command.
8705 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8706 (package-menu-execute): Do installation before deletion.
8707 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8708 instead of checking major-mode.
8709 (package-menu--find-upgrades): New function.
8710
8711 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8712
8713 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8714 passwords in the log buffer.
8715 (smtpmail-process-filter): Update the process marker so that the
8716 "broken by peer" status message is inserted in the right place.
8717
8718 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8721 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8722 bibtex-completion-at-point-function.
8723 (bibtex-completion-at-point-function): Use them.
8724
8725 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8726
8727 * mpc.el (mpc-constraints-tag-lookup): New function.
8728 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8729 also to browser "album|playlist".
8730
8731 2011-09-14 Juri Linkov <juri@jurta.org>
8732
8733 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8734 (isearch-edit-string): Use length of `isearch-string' when
8735 `isearch-fail-pos' returns nil.
8736 (isearch-message): Remove duplicate code and call
8737 `isearch-fail-pos' with arg `t'.
8738
8739 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8740
8741 * replace.el (occur-mode-goto-occurrence): Don't force using other
8742 window (Bug#9499).
8743
8744 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8745
8746 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8747
8748 * window.el (display-buffer-window): Remove.
8749 (display-buffer-record-window): Use help-setup window parameter
8750 instead of variable display-buffer-window.
8751 (display-buffer-function, special-display-buffer-names)
8752 (special-display-function): Mention help-setup parameter instead
8753 of display-buffer-window in doc-string.
8754 * help.el (help-window-setup): New argument help-window.
8755 Use help-window-setup parameter instead of display-buffer-window.
8756 Reword some messages.
8757 (with-help-window): Pass window used for displaying the buffer
8758 to help-window-setup. Don't set display-buffer-window.
8759
8760 2011-09-13 Glenn Morris <rgm@gnu.org>
8761
8762 * emacs-lisp/debug.el (debugger-make-xrefs):
8763 Preserve point. (Bug#9462)
8764
8765 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8766
8767 * window.el (window-deletable-p): Use next-frame.
8768
8769 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8770
8771 * window.el (window-auto-delete): Remove.
8772 (window-deletable-p): Remove argument FORCE. Don't deal with
8773 dedication and previous buffers.
8774 (switch-to-prev-buffer): Don't delete window.
8775 (delete-windows-on): Delete a window's frame if and only if the
8776 window is dedicated.
8777 (replace-buffer-in-windows): Delete buffer's window or frame if
8778 and only if window is dedicated.
8779 (quit-window): Handle quit-restore as before last change.
8780 (bury-buffer): Delete window only if window-deletable-p returns t.
8781
8782 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8783
8784 * window.el (window-deletable-p): Never delete the last frame on a
8785 given terminal.
8786
8787 2011-09-13 Glenn Morris <rgm@gnu.org>
8788
8789 * help.el (describe-key-briefly): Copy previous standard-output change.
8790
8791 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8792
8793 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8794
8795 2011-09-13 Glenn Morris <rgm@gnu.org>
8796
8797 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8798 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8799
8800 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8801
8802 * dired-aux.el (dired-mark-read-string): Don't return default
8803 value on empty input (Bug#9361).
8804 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8805 Omit initial minibuffer contents.
8806 (dired-do-chmod): Signal an error on empty input.
8807 (dired-mark-read-string): Don't return default on empty input.
8808
8809 * files.el (file-modes-symbolic-to-number): Doc fix.
8810
8811 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * international/mule-cmds.el (ucs-completions): Remove.
8814 (read-char-by-name): Use complete-with-action instead; add metadata.
8815
8816 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8817
8818 * window.el (display-buffer--action-function-custom-type)
8819 (display-buffer--action-custom-type): New vars.
8820 (display-buffer-alist, display-buffer-default-action)
8821 (display-buffer-overriding-action): Add defcustom types.
8822
8823 * frame.el (delete-other-frames): Doc fix (Bug#276).
8824
8825 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8826
8827 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8828
8829 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8830
8831 Change modes that used same-window-* vars to use switch-to-buffer.
8832
8833 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8834 Use switch-to-buffer.
8835
8836 * cus-edit.el (customize-group, custom-buffer-create)
8837 (customize-browse, custom-buffer-create-other-window):
8838 Use switch-to-buffer or switch-to-buffer-other-window.
8839
8840 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8841 (Info-prev, Info-up, Info-speedbar-goto-node)
8842 (info-display-manual): Use switch-to-buffer.
8843 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8844
8845 * mail/sendmail.el (mail): Use switch-to-buffer.
8846 (mail-recover): Use switch-to-buffer-other-window.
8847
8848 * cmuscheme.el (run-scheme, switch-to-scheme):
8849 * ielm.el (ielm):
8850 * shell.el (shell):
8851 * net/rlogin.el (rlogin):
8852 * net/telnet.el (telnet, rsh):
8853 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8854
8855 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8856
8857 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8858
8859 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8860
8861 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8862 so don't mention it (bug#9301).
8863 (dired-sort-toggle-or-edit): Clarify string further.
8864
8865 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8866 match `x', `w32' and `ns', like the manual says (bug#9029).
8867
8868 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8869 (process-kill-buffer-query-function): Mention the buffer name in
8870 the query.
8871
8872 * image-mode.el (image-next-line): The line parameter is mandatory
8873 (bug#9258).
8874
8875 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8876 which can be useful (bug#9301).
8877
8878 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8879
8880 * subr.el (match-string): Mention that the current buffer should
8881 be the same as the search was done in (bug#9282).
8882
8883 * facemenu.el: Disable the remove-* commands if the mark isn't
8884 active (bug#9162).
8885
8886 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8887
8888 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8889 of display-buffer.
8890 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8891
8892 * replace.el (occur-mode-goto-occurrence)
8893 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8894 and display-buffer.
8895
8896 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8897 display-buffer.
8898
8899 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8900 special-display and same-window variables.
8901 (mail-other-window): Use switch-to-buffer-other-window.
8902 (mail-other-frame): USe switch-to-buffer-other-frame.
8903
8904 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8905 Use display-buffer-other-frame.
8906 (gdb-display-gdb-buffer): Use pop-to-buffer.
8907
8908 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8909
8910 * progmodes/python.el: Don't set same-window-buffer-names.
8911
8912 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8913
8914 * window.el (display-buffer-alist): Add *Python*.
8915
8916 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8917
8918 * window.el (display-buffer-alist): Add entry for buffers
8919 previously handled same-window-*.
8920 (display-buffer-alist, display-buffer-default-action)
8921 (display-buffer-overriding-action): Mark as risky.
8922 (display-buffer-alist): Document action function changes.
8923 (display-buffer--same-window-action)
8924 (display-buffer--other-frame-action): New variables.
8925 (switch-to-buffer, display-buffer-other-frame): Use them.
8926 (display-buffer): Rename reuse-frame entry to reusable-frames.
8927 (display-buffer-reuse-selected-window): Function deleted.
8928 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8929 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8930 (display-buffer-special): New function.
8931 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8932 display-buffer-reuse-or-pop-window. Split off special-display
8933 part into display-buffer-special.
8934 (display-buffer-use-some-window): Don't perform any special
8935 pop-up-frames handling.
8936 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8937 (display-buffer--maybe-same-window): Rename from
8938 display-buffer-maybe-same-window.
8939
8940 * info.el: Don't set same-window-regexps.
8941 (info-setup): New function.
8942 (info-other-window, info): Call it.
8943
8944 * cus-edit.el: Don't set same-window-regexps.
8945 (customize-group): New argument.
8946 (customize-group-other-window): Use it.
8947 (customize-face, customize-face-other-window): Likewise.
8948 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8949
8950 * net/rlogin.el:
8951 * net/telnet.el:
8952 * progmodes/gud.el: Don't set same-window-regexps.
8953
8954 * cmuscheme.el:
8955 * ielm.el:
8956 * shell.el:
8957 * mail/sendmail.el:
8958 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8959
8960 2011-09-10 Juri Linkov <juri@jurta.org>
8961
8962 * isearch.el (isearch-edit-string): Remove obsolete mention of
8963 `C-w' (`isearch-yank-word-or-char') from docstring.
8964 (isearch-query-replace): Fix typo in docstring (bug#9466).
8965
8966 2011-09-10 Juri Linkov <juri@jurta.org>
8967
8968 * paren.el (show-paren-function): Don't show escaped parens.
8969 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8970
8971 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8972
8973 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8974 (mm-default-file-encoding): Remove autoload forms, they are
8975 replaced with autoload cookies in mml.el and mm-encode.el.
8976 (mail-add-attachment): New command.
8977 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8978 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8979 the doc string.
8980 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8981
8982 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8983
8984 * simple.el (count-words-region): Use buffer if there's no region
8985 (bug#9429).
8986
8987 2011-09-09 Juri Linkov <juri@jurta.org>
8988
8989 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8990 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8991 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8992
8993 2011-09-09 Alan Mackenzie <acm@muc.de>
8994
8995 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8996 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8997
8998 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8999
9000 Fix for Savannah bug#9392.
9001 * simple.el (mail-encode-mml): New defvar.
9002
9003 * mail/rmail.el (mail-encode-mml): Add a defvar.
9004 (rmail-enable-mime-composing): Default to t.
9005 (rmail-forward): Use MIME method of forwarding only if both
9006 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9007 Set mail-encode-mml non-nil if the MIME method was used.
9008
9009 * mail/sendmail.el (mml-to-mime): Add autoload form.
9010 (mail-encode-mml): Add a defvar.
9011 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9012 to nil.
9013 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9014 message through mml-to-mime, and reset mail-encode-mml to nil.
9015
9016 2011-09-09 Glenn Morris <rgm@gnu.org>
9017
9018 * woman.el (woman-if-body): When processing an .el block,
9019 do not delete the next .el block as well. (Bug#9447)
9020 (woman-special-characters): Add oq, cq, and hy characters.
9021
9022 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9023
9024 * window.el (window-deletable-p): Make sure window is live before
9025 invoking window-prev-buffers.
9026
9027 2011-09-08 Leo Liu <sdl.web@gmail.com>
9028
9029 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9030
9031 2011-09-08 Juri Linkov <juri@jurta.org>
9032
9033 * progmodes/compile.el (compilation-environment): Make it
9034 a defcustom (bug#8340).
9035
9036 2011-09-08 Martin Rudalics <rudalics@gmx.at>
9037
9038 * window.el (frame-auto-delete): Rename to window-auto-delete.
9039 Make it control auto-deletion of windows and/or frames.
9040 (window-deletable-p): New argument FORCE. Rewrite conditions
9041 for deleting window/frame. (Bug#9419)
9042 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9043 Rewrite handling of case when window/frame can be deleted.
9044 (delete-windows-on): Call window-deletable-p with new FORCE
9045 argument t. (Bug#9456)
9046
9047 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
9048
9049 * help-mode.el (help-mode): Restore autoload.
9050
9051 2011-09-07 Juri Linkov <juri@jurta.org>
9052
9053 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9054 `compilation-environment'. Set buffer-local
9055 `compilation-environment' to `thisenv' later after (funcall mode).
9056 (Bug#8340)
9057
9058 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9059 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9060 instead of replacing its value. (Bug#8340)
9061
9062 2011-09-07 Juri Linkov <juri@jurta.org>
9063
9064 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9065 based on text properties put by `grep-filter' instead of matching
9066 escape sequences.
9067 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9068 to the value of `grep-error-screen-columns' (bug#9438).
9069
9070 2011-09-07 Juri Linkov <juri@jurta.org>
9071
9072 * simple.el (next-error-highlight, next-error-highlight-no-select):
9073 Doc fix (bug#9432).
9074
9075 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9076
9077 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9078 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9079
9080 2011-09-07 Leo Liu <sdl.web@gmail.com>
9081
9082 * net/rcirc.el (rcirc-mode): Conditionally initialize
9083 rcirc-input-ring.
9084
9085 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9087 * emacs-lisp/find-func.el (find-function-C-source): Only set
9088 find-function-C-source-directory after checking that we found a source
9089 file there (bug#9440).
9090
9091 2011-09-06 Alan Mackenzie <acm@muc.de>
9092
9093 * isearch.el (isearch-other-meta-char): Wherever a key list is
9094 unread, "unread" the prefix arg, too. This fixes bug #8901.
9095
9096 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9097
9098 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9099
9100 2011-09-05 Juri Linkov <juri@jurta.org>
9101
9102 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9103
9104 2011-09-05 Juri Linkov <juri@jurta.org>
9105
9106 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9107 keeping point where processing of grep matches begins, and
9108 continue to delete remaining escape sequences from the same point.
9109 (grep-filter): Make leading zero optional in "0?1;31m" because
9110 git-grep emits "\033[1;31m" escape sequences unlike expected
9111 "\033[01;31m" as GNU Grep does (bug#9408).
9112 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9113
9114 2011-09-05 Juri Linkov <juri@jurta.org>
9115
9116 * subr.el (y-or-n-p): Capitalize "yes".
9117
9118 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9119
9120 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9121 `tramp-cache-unload-hook' where appropriate.
9122 (tramp-methods): Rename `tramp-remote-sh' to
9123 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9124 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9125
9126 * net/tramp-sh.el (top): Don't require 'shell.
9127 (tramp-methods): Add `tramp-remote-shell' and
9128 `tramp-remote-shell-args' entries.
9129 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9130 (tramp-sh-handle-shell-command): Remove.
9131 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9132 Use `tramp-remote-shell'.
9133
9134 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9135
9136 * mail/sendmail.el (sendmail-query-once-function): Delete.
9137 (sendmail-query-once): Save directly to send-mail-function.
9138 Update message-send-mail-function too.
9139
9140 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9141
9142 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9143
9144 * progmodes/python.el (python-mode-map): Use correct function to
9145 start python interpreter from menu-bar (as reported by Geert
9146 Kloosterman).
9147 (inferior-python-mode-map): Fix typo.
9148 (python-shell-map): Remove.
9149
9150 2011-09-03 Deniz Dogan <deniz@dogan.se>
9151
9152 * net/rcirc.el (rcirc-print): Simplify code for
9153 rcirc-scroll-show-maximum-output. There is no need to walk
9154 through all windows to find the right one.
9155
9156 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9157
9158 * help.el (help-return-method): Doc fix.
9159
9160 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9161
9162 * window.el (window-deletable-p): Don't return a non-nil value
9163 when there's a buffer that was shown in the window before.
9164 (Bug#9419)
9165 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9166 Set window's previous buffers to nil.
9167
9168 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9169
9170 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9171 newline before and after the tag line, so it doesn't interfere
9172 with determining the paragraph direction of bidirectional text.
9173
9174 2011-09-03 Leo Liu <sdl.web@gmail.com>
9175
9176 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9177
9178 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9179
9180 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9181 (pop-to-buffer): Change interactive spec. Pass second argument
9182 directly to display-buffer.
9183 (display-buffer): Fix interactive spec. Use functionp to
9184 distinguish between a function and a list of functions.
9185
9186 * abbrev.el (edit-abbrevs):
9187 * arc-mode.el (archive-extract):
9188 * autoinsert.el (auto-insert):
9189 * bookmark.el (bookmark-bmenu-list):
9190 * files.el (find-file):
9191 * view.el (view-buffer):
9192 * progmodes/compile.el (compilation-goto-locus):
9193 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9194
9195 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9196
9197 * window.el (display-buffer-alist): Doc fix.
9198 (display-buffer): Add docstring. Don't treat
9199 display-buffer-default specially.
9200 (display-buffer-reuse-selected-window)
9201 (display-buffer-same-window, display-buffer-maybe-same-window)
9202 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9203 (display-buffer-pop-up-window)
9204 (display-buffer-reuse-or-pop-window)
9205 (display-buffer-use-some-window): New functions.
9206 (display-buffer-default-action): Use them.
9207 (display-buffer-default): Delete.
9208 (pop-to-buffer-1): Fix choice of actions.
9209
9210 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * minibuffer.el (completion--insert-strings): Don't get confused by
9213 completion entries that end with an LF char.
9214
9215 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9216
9217 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9218
9219 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9220
9221 * window.el (display-buffer): Restore interactive spec.
9222 (display-buffer-same-window, display-buffer-other-window):
9223 New functions.
9224 (pop-to-buffer-1): New function. Use the above.
9225 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9226 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9227
9228 * view.el (view-buffer-other-window, view-buffer-other-frame):
9229 Just use pop-to-buffer.
9230
9231 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9232
9233 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9234
9235 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9236
9237 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9238
9239 2011-08-31 Richard Stallman <rms@gnu.org>
9240
9241 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9242 of the separation of rmail-view-buffer from rmail-buffer.
9243 If you say no to "replace original", the decrypt is in the
9244 view buffer. If you say yes, the decrypt goes into the
9245 rmail buffer also.
9246
9247 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9248
9249 * window.el (display-buffer-window): Rewrite doc-string.
9250 (display-buffer-record-window): New function.
9251 (display-buffer-macro-specifiers)
9252 (display-buffer-even-window-sizes, display-buffer-set-height)
9253 (display-buffer-set-width, display-buffer-in-window)
9254 (display-buffer-reuse-window, display-buffer-split-specifiers)
9255 (display-buffer-side-specifiers, display-buffer-split-window-1)
9256 (display-buffer-split-window, display-buffer-split-atom-window)
9257 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9258 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9259 (display-buffer-other-window-means-other-frame)
9260 (display-buffer-normalize-special)
9261 (display-buffer-normalize-default)
9262 (display-buffer-normalize-argument)
9263 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9264 (display-buffer-normalize-specifiers, display-buffer-frame)
9265 (display-buffer-same-window, display-buffer-same-frame)
9266 (display-buffer-other-window)
9267 (display-buffer-same-frame-other-window)
9268 (display-buffer-other-frame, pop-to-buffer-same-window)
9269 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9270 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9271 (switch-to-buffer-same-frame)
9272 (switch-to-buffer-other-window-same-frame)
9273 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9274 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9275 (display-buffer-alist-set): Remove.
9276 (display-buffer-function, special-display-buffer-names)
9277 (special-display-regexps, special-display-function):
9278 In doc-string refer to display-buffer-window and quit-restore
9279 parameter.
9280 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9281 (special-display-frame-alist, special-display-popup-frame)
9282 (same-window-buffer-names, same-window-regexps, same-window-p)
9283 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9284 (split-window-preferred-function, split-height-threshold)
9285 (split-width-threshold, window-splittable-p)
9286 (split-window-sensibly, window--try-to-split-window)
9287 (window--frame-usable-p, even-window-heights)
9288 (window--even-window-heights, window--display-buffer-1)
9289 (window--display-buffer-2, display-buffer-other-frame):
9290 Restore old Emacs 23 code, order and doc-strings where applicable.
9291 (display-buffer-default, display-buffer-assq-regexp): New functions.
9292 (display-buffer-alist): Rewrite doc-string.
9293 (display-buffer-default-action)
9294 (display-buffer-overriding-action): New variables.
9295 (display-buffer, switch-to-buffer): Rewrite.
9296 (pop-to-buffer): Restore Emacs 23 behavior but use
9297 window-normalize-buffer-to-display.
9298 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9299 Restore Emacs 23 behavior but use
9300 window-normalize-buffer-to-switch-to.
9301 (pop-to-buffer-same-window): Rewrite.
9302 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9303 Rewrite using Emacs 23 options.
9304
9305 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9306
9307 * net/tramp.el (tramp-root-regexp): Remove.
9308 (tramp-completion-file-name-regexp-unified)
9309 (tramp-completion-file-name-regexp-separate)
9310 (tramp-completion-file-name-regexp-url): Don't use leading volume
9311 letter on win32 systems. (Bug#5303, Bug#9311)
9312 (tramp-drop-volume-letter): Simplify definition.
9313 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9314
9315 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9318 (bug#9356).
9319
9320 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9321
9322 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9323
9324 2011-08-29 Juri Linkov <juri@jurta.org>
9325
9326 * isearch.el (isearch-done): Don't display message "Mark saved"
9327 when arg `edit' is non-nil to prevent its flicker in the echo area.
9328
9329 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9330
9331 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9332 obsolete packages for deletion.
9333
9334 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9335
9336 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9337 (help-mode): Derive help-mode from special-mode. Don't invoke
9338 view-mode from help-mode.
9339 (help-xref-override-view-map): Remove.
9340 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9341 view-mode is not used anymore.
9342
9343 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9344
9345 * server.el (server-port): Doc fix.
9346
9347 * cus-theme.el (custom-theme-choose-mode): Inherit from
9348 special-mode (Bug#9124).
9349 (custom-theme-choose-mode-map): Add special-mode to parent.
9350
9351 2011-08-28 Alan Mackenzie <acm@muc.de>
9352
9353 * progmodes/cc-fonts.el
9354 (c-make-font-lock-BO-decl-search-function): New function.
9355 (c-basic-matchers-after - "Fontify the clauses after various
9356 keywords"): Extract the three keyword lists for the 3 erroneous
9357 constructs from the list of four, and use the new function above
9358 in place of an old one.
9359
9360 2011-08-28 Deniz Dogan <deniz@dogan.se>
9361
9362 * net/rcirc.el (rcirc-insert-prev-input)
9363 (rcirc-insert-next-input): Remove unused argument.
9364
9365 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9366
9367 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9368
9369 2011-08-27 Alan Mackenzie <acm@muc.de>
9370
9371 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9372 handle function pointer parameters properly.
9373
9374 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9375
9376 * window.el (display-buffer-reuse-window): Fix case where
9377 selected window was reused with non-nil OTHER-WINDOW argument.
9378 (Bug#9381)
9379
9380 2011-08-27 Deniz Dogan <deniz@dogan.se>
9381
9382 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9383 oftc's NickServ messages.
9384
9385 2011-08-27 Glenn Morris <rgm@gnu.org>
9386
9387 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9388
9389 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9390
9391 * emacs-lisp/package.el (package-install): Call package-initialize
9392 if called interactively.
9393
9394 2011-08-26 Leo Liu <sdl.web@gmail.com>
9395
9396 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9397
9398 2011-08-25 Juri Linkov <juri@jurta.org>
9399
9400 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9401 `search-whitespace-regexp' (bug#9364).
9402
9403 2011-08-25 Juri Linkov <juri@jurta.org>
9404
9405 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9406 `regexp-search-ring' to their global values to protect from
9407 updating by `read-from-minibuffer' (bug#9185).
9408
9409 2011-08-25 Juri Linkov <juri@jurta.org>
9410
9411 * textmodes/ispell.el (ispell-command-loop): Add newline
9412 at the end of the "Use option `i'..." line.
9413
9414 2011-08-25 Juri Linkov <juri@jurta.org>
9415
9416 * battery.el (display-battery-mode): If `battery-status-function'
9417 or `battery-mode-line-format' is nil, display the message and set
9418 `display-battery-mode' to nil (bug#9363).
9419
9420 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9421
9422 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9423 bidi-string-mark-left-to-right; they are unnecessary now.
9424
9425 2011-08-25 Deniz Dogan <deniz@dogan.se>
9426
9427 * net/quickurl.el: Documentation typo fixes.
9428
9429 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9430
9431 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9432
9433 2011-08-25 Glenn Morris <rgm@gnu.org>
9434
9435 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9436
9437 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9438 (smtpmail-via-smtp): Handle nil response from smtp.
9439
9440 2011-08-24 Juri Linkov <juri@jurta.org>
9441
9442 * proced.el (proced-marked): Inherit from `error' instead of
9443 `font-lock-warning-face'.
9444
9445 * ibuffer.el (ibuffer-marked-face): Change default face from
9446 `font-lock-warning-face' to `warning'.
9447 (ibuffer-deletion-face): Change default face from
9448 `font-lock-type-face' to `error'.
9449
9450 * battery.el (battery-update): Use the face `error' instead of
9451 `font-lock-warning-face' (bug#6117).
9452
9453 2011-08-24 Juri Linkov <juri@jurta.org>
9454
9455 * faces.el (success): Change face color from "Green3" to
9456 "ForestGreen" on light background (bug#9353).
9457
9458 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9459
9460 * window.el (quit-window): Rename from quit-restore-window.
9461 Use same arglist as old quit-window.
9462 (frame-auto-delete): Doc fix.
9463
9464 * view.el (view-mode-exit): Use quit-window.
9465
9466 2011-08-24 Juri Linkov <juri@jurta.org>
9467
9468 * isearch.el (isearch-ring-adjust1): Start visiting previous
9469 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9470 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9471 for empty search string (when the last search string is reused
9472 automatically) to adjust the isearch ring to the last element and
9473 prepare the correct index for further M-p commands (bug#9185).
9474
9475 2011-08-24 Kenichi Handa <handa@m17n.org>
9476
9477 * international/ucs-normalize.el: If decomposition property of
9478 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9479 nil.
9480 (nfd, nfkd): Likewise.
9481
9482 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9485 from process filters aren't reliably transmitted to the surrounding
9486 accept-process-output.
9487 (mpc-proc-check): New function.
9488 (mpc-proc-sync): Use it (bug#8293)
9489
9490 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9493 Add compatibility functions (bug#9313).
9494
9495 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9496
9497 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9498
9499 * international/uni-bidi.el: Regenerate.
9500
9501 2011-08-23 Kenichi Handa <handa@m17n.org>
9502
9503 * international/charprop.el:
9504 * international/uni-bidi.el:
9505 * international/uni-category.el:
9506 * international/uni-combining.el:
9507 * international/uni-comment.el:
9508 * international/uni-decimal.el:
9509 * international/uni-decomposition.el:
9510 * international/uni-digit.el:
9511 * international/uni-lowercase.el:
9512 * international/uni-mirrored.el:
9513 * international/uni-name.el:
9514 * international/uni-numeric.el:
9515 * international/uni-old-name.el:
9516 * international/uni-titlecase.el:
9517 * international/uni-uppercase.el: Regenerate.
9518
9519 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9520
9521 * help.el (help-window-setup): Fix message displayed when other
9522 window is reused. (Bug#9341)
9523
9524 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9525
9526 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9527 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9528
9529 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9530 Mark obsolete.
9531 * shell.el (shell-parse-pcomplete-arguments): New function.
9532 (shell-completion-vars): Use it instead (bug#9160).
9533
9534 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9535
9536 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9537 strings and comments (bug#9333).
9538
9539 * emacs-lisp/debug.el (debug-arglist): New function.
9540 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9541 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9542
9543 2011-08-22 Juri Linkov <juri@jurta.org>
9544
9545 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9546 Revert regexp that highlights output switches to its old
9547 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9548
9549 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9550 to check for empty output (bug#9226).
9551
9552 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9553
9554 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9555 symbol-constituent as the default, as that stops font-lock from
9556 working properly (Bug#8843).
9557
9558 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9559
9560 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9561 `coding-system-for-*' around the process open call to avoid
9562 auth-source side effects.
9563 (smtpmail-try-auth-methods): Expand the secret password.
9564 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9565 probe hangs.
9566
9567 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9568
9569 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9570
9571 * emacs-lisp/find-func.el (find-function-noselect): New arg
9572 lisp-only.
9573
9574 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9575 signal an error for built-in functions (Bug#6664).
9576
9577 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9578
9579 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9580 (smtpmail-try-auth-methods): Use it.
9581
9582 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9583
9584 * font-lock.el (font-lock-fontify-region)
9585 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9586 (font-lock-default-unfontify-buffer)
9587 (font-lock-default-fontify-region)
9588 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9589
9590 * progmodes/compile.el (compilation-error-properties):
9591 Fix confusion between file struct and message struct (Bug#9319).
9592 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9593 `ant' regexp.
9594
9595 * net/browse-url.el (browse-url-firefox): Don't call
9596 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9597
9598 2011-08-20 Glenn Morris <rgm@gnu.org>
9599
9600 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9601
9602 * tutorial.el (tutorial--default-keys): Update some default bindings.
9603
9604 * files.el (hack-local-variables): Fully ignore case for "mode:".
9605
9606 2011-08-20 Alan Mackenzie <acm@muc.de>
9607
9608 Resolve invalid use of a regexp in regexp-opt.
9609
9610 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9611 detection for a java annotation.
9612
9613 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9614 detection for a java annotation.
9615
9616 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9617 handling for java.
9618 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9619
9620 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9621
9622 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9623 (Bug#9274).
9624
9625 2011-08-20 Alan Mackenzie <acm@muc.de>
9626
9627 Fontify CPP expressions correctly when starting in the middle of
9628 such a construct. Mainly for when jit-lock etc. starts a chunk
9629 here.
9630
9631 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9632 variable.
9633 (c-make-font-lock-search-form): New function, extracted from
9634 c-make-font-lock-search-function.
9635 (c-make-font-lock-search-function): Use the above function.
9636 (c-make-font-lock-context-search-function): New function.
9637 (c-cpp-matchers): Enhance the preprocessor expression case with
9638 the above function
9639 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9640 which takes an expression.
9641
9642 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9643
9644 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9645
9646 * window.el (display-buffer-reuse-window)
9647 (display-buffer-pop-up-window): Don't reuse or split a side
9648 window.
9649
9650 2011-08-19 Glenn Morris <rgm@gnu.org>
9651
9652 * files.el (hack-local-variables-prop-line, hack-local-variables):
9653 Downcase "Mode:". (Bug#9331)
9654
9655 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9656
9657 * international/characters.el: Add L and R categories.
9658
9659 * subr.el (bidi-string-mark-left-to-right): Rename from
9660 string-mark-left-to-right. Use category search.
9661
9662 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9663
9664 2011-08-18 Juri Linkov <juri@jurta.org>
9665
9666 * faces.el (error, warning, success): New faces with definitions
9667 copied from old default values of `font-lock-warning-face',
9668 `compilation-warning', `compilation-info' (bug#6117).
9669
9670 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9671
9672 * progmodes/compile.el (compilation-error): Inherit from `error'.
9673 (compilation-warning): Inherit from `warning'.
9674 (compilation-info): Inherit from `success'.
9675
9676 * dired.el (dired-marked): Inherit from `warning'.
9677 (dired-flagged): Inherit from `error'.
9678
9679 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9680
9681 * mail/smtpmail.el (auth-source): Require to avoid problems with
9682 binding variables (bug#9298). Also clean up some unused
9683 autoloads.
9684
9685 * net/network-stream.el (network-stream-open-starttls):
9686 Support using starttls.el without using gnutls-cli.
9687
9688 2011-08-17 Juri Linkov <juri@jurta.org>
9689
9690 * progmodes/grep.el (rgrep): Handle the case when
9691 `grep-find-command' is a cons cell (bug#9278).
9692
9693 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9694
9695 * window.el (display-buffer-pop-up-frame): Run frame creation
9696 function with BUFFER current (as special-display-popup-frame
9697 does). Reported by Drew Adams.
9698
9699 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9700
9701 * epa-mail.el: Simplify GnuPG group expansion using
9702 epg-expand-group.
9703 (epa-mail-group-alist, epa-mail-group-modtime)
9704 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9705 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9706 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9707 Remove.
9708
9709 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9710
9711 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9712
9713 2011-08-16 Alan Mackenzie <acm@muc.de>
9714
9715 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9716 Correct, to avoid the inside of macros.
9717
9718 2011-08-16 Richard Stallman <rms@gnu.org>
9719
9720 * epa-mail.el: Handle GnuPG group definitions.
9721 (epa-mail-group-alist, epa-mail-group-modtime)
9722 (epa-mail-gnupg-conf-file): New variables.
9723 (epa-mail-parse-groups, epa-mail-sync-groups)
9724 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9725 (epa-mail-expand-recipients): New functions.
9726 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9727
9728 * mail/rmail.el (rmail-epa-decrypt): New command.
9729
9730 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9731 Don't bind buffer-read-only, just inhibit-read-only.
9732 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9733 (epa-decrypt-armor-in-region): Make error message clearer.
9734
9735 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9738 and "a2b" to "ab" for `prefix'.
9739
9740 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9741
9742 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9743 filter groups.
9744 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9745 Fourquet (Bug#8804).
9746
9747 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9748
9749 * startup.el (argi): Declare as global variable (bug#9275).
9750
9751 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9752
9753 * subr.el (string-mark-left-to-right): Search the entire string
9754 for RTL script, not just the terminating character. Doc fix.
9755
9756 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9759 New function.
9760 (js--regexp-literal, js-syntax-propertize-function): Remove.
9761 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9762 (js-mode-map): Don't rebind electric keys.
9763 (js-insert-and-indent): Remove.
9764 (js-mode): Setup electric-layout and electric-indent instead.
9765
9766 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9767
9768 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9769
9770 * epa.el (epa-progress-callback-function): Fix the logic of
9771 displaying progress.
9772 * epa-file.el (epa-file-insert-file-contents): Make progress
9773 display more user-friendly.
9774 (epa-file-write-region): Ditto.
9775
9776 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9777
9778 * subr.el (string-mark-left-to-right): New function.
9779
9780 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9781 Use string-mark-left-to-right.
9782 (list-buffers-noselect): Caller changed.
9783
9784 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9785 Use string-mark-left-to-right.
9786 (tabulated-list-print): Recenter after moving point.
9787
9788 2011-08-10 Juri Linkov <juri@jurta.org>
9789
9790 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9791 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9792 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9793
9794 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9795
9796 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9797 (Bug#7554).
9798
9799 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9800
9801 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9802 character. (Bug#6594)
9803
9804 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9805
9806 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9807 (image-dired--with-db-file): New macro.
9808 (image-dired-write-tags, image-dired-remove-tag)
9809 (image-dired-create-gallery-lists, image-dired-write-comments)
9810 (image-dired-get-comment, image-dired-mark-tagged-files)
9811 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9812 (image-dired-gallery-generate): Use insert-file-contents.
9813
9814 * time.el (display-time-world-list, display-time-world-display):
9815 * time-stamp.el (time-stamp-string):
9816 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9817 set-time-zone-rule (Bug#7337).
9818
9819 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9820
9821 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9822 (epg-error-to-string, epg-errors-to-string): New function.
9823 (epg-wait-for-completion): Reverse errors list.
9824 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9825 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9826 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9827 (epg-sign-keys, epg-generate-key-from-file)
9828 (epg-generate-key-from-string): Format errors by using
9829 epg-errors-to-string (bug#9255).
9830 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9831
9832 2011-08-07 Juri Linkov <juri@jurta.org>
9833
9834 * faces.el (list-faces-display): Remove extra angle bracket
9835 from `help-mode-map'.
9836
9837 * info.el (Info-history-toc-nodes): Doc fix.
9838
9839 * longlines.el (longlines-mode): Doc fix.
9840
9841 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9844 of statements and in a few more cases (bug#9183).
9845
9846 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9847 New functions.
9848 (cl-transform-lambda): Use them (bug#9239).
9849
9850 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9851
9852 * window.el (display-buffer-same-window)
9853 (display-buffer-same-frame, display-buffer-other-window)
9854 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9855 (pop-to-buffer-other-window)
9856 (pop-to-buffer-same-frame-other-window)
9857 (pop-to-buffer-other-frame): Make them defuns.
9858 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9859
9860 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9861
9862 * subr.el (make-composed-keymap): Move from C. Change calling
9863 convention, and improve docstring to bring attention to a subtle point.
9864 * minibuffer.el (completing-read-default): Adjust accordingly.
9865
9866 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9867
9868 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9869 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9870
9871 * net/trampver.el: Update release number.
9872
9873 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9876 "in" (bug#9190).
9877
9878 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9879
9880 * mail/sendmail.el (sendmail-query-once): Restore the current
9881 buffer after querying (bug#9074).
9882
9883 * dired.el (dired-flagged): Use different faces for marked and
9884 flagged files (bug#6117).
9885
9886 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9887 (bug#4433).
9888
9889 * ido.el (ido-mode): Switch off the message if called
9890 non-interactively.
9891
9892 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9893 before 587, since it appears that that's more likely to work for
9894 more people.
9895
9896 * cus-edit.el (custom-file): When running under emacs -q, always
9897 refuse to save the customizations, even if the .emacs file doesn't
9898 exist.
9899
9900 * info.el: Remove the `Info-beginning-of-buffer' function
9901 (bug#8325).
9902
9903 * net/network-stream.el (network-stream-open-starttls):
9904 Use `starttls-available-p' to see whether starttls.el can be used.
9905
9906 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9907
9908 * window.el (display-buffer-in-window): Don't set dedicated status
9909 of window here (Bug#9215).
9910 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9911 (display-buffer-pop-up-side-window)
9912 (display-buffer-in-side-window): Set dedicated status of window here.
9913
9914 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9915
9916 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9917 before binding generated-autoload-file.
9918
9919 2011-08-01 Deniz Dogan <deniz@dogan.se>
9920
9921 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9922
9923 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9924
9925 Sync with Tramp 2.2.2.
9926
9927 * net/trampver.el: Update release number.
9928
9929 2011-07-30 Juri Linkov <juri@jurta.org>
9930
9931 * dired-aux.el (dired-touch-initial): Remove function.
9932 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9933 current time, and `default' to the last modification time of the
9934 current marked file (bug#6887).
9935
9936 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9937
9938 * simple.el (goto-line): Use string-to-number to provide a
9939 numeric argument to read-number (bug#9163).
9940
9941 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9942
9943 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9944 connection process, it could be nil.
9945
9946 2011-07-27 Leo Liu <sdl.web@gmail.com>
9947
9948 Simplify url handling in rcirc-mode.
9949
9950 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9951 (rcirc-browse-url-at-mouse): Remove.
9952 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9953
9954 2011-07-26 Alan Mackenzie <acm@muc.de>
9955
9956 Fontify bitfield declarations properly.
9957
9958 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9959 (c-symbol-chars): Now exported as a lang variable.
9960 (c-not-primitive-type-keywords): New lang variable.
9961
9962 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9963 QT keyword "more" to prevent "more slots: ...." being spuriously
9964 parsed as a bitfield declaration.
9965
9966 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9967 Refactor and enhance to handle bitfield declarations.
9968 (c-punctuation-in): New function.
9969 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9970 declarations properly.
9971
9972 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9973
9974 * calendar/icalendar.el (icalendar--all-events): Take care of
9975 multiple vcalendars in a single file.
9976 (icalendar--convert-float-to-ical): Checkdoc fixes.
9977
9978 2011-07-25 Deniz Dogan <deniz@dogan.se>
9979
9980 * image.el (insert-image): Clarifying docstring.
9981
9982 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9983
9984 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9985 `tramp-send-command-and-check' if there is no error.
9986 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9987
9988 2011-07-22 Alan Mackenzie <acm@muc.de>
9989
9990 Prevent cc-langs.elc being loaded at run time.
9991
9992 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9993 cc-langs.
9994
9995 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9996 "(require 'cc-langs)". Quote a form so it will evaluate at
9997 (cc-mode's) compilation time.
9998
9999 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
10000
10001 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10002 loading. (Bug#9114)
10003
10004 2011-07-21 Martin Rudalics <rudalics@gmx.at>
10005
10006 * window.el (display-buffer-pop-up-window)
10007 (display-buffer-pop-up-side-window)
10008 (display-buffer-in-side-window): Call display-buffer-set-height
10009 and display-buffer-set-width after setting the new window's
10010 buffer so `fit-window-to-buffer' and friends work on the right buffer.
10011
10012 2011-07-20 Sam Steingold <sds@gnu.org>
10013
10014 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10015 (etags-tags-included-tables): Call `convert-standard-filename' on
10016 the file names contained in TAGS so that windows Emacs can handle
10017 TAGS files created by cygwin ctags.
10018
10019 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10020
10021 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10022 which apparently didn't work.
10023
10024 2011-07-19 Roland Winkler <winkler@gnu.org>
10025
10026 * proced.el (proced-send-signal): For *Marked Processes* buffer
10027 put point at beginning of buffer.
10028
10029 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
10030
10031 * proced.el (proced-format): Make header lines align with the text
10032 (bug#1779).
10033
10034 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10035
10036 * view.el (view-buffer): Allow running in `special' modes if we're
10037 visiting a file (bug#8615).
10038
10039 2011-07-19 Martin Rudalics <rudalics@gmx.at>
10040
10041 * window.el (display-buffer-alist-of-strings-p)
10042 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10043 New functions.
10044 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10045 more accurately.
10046
10047 2011-07-18 Alan Mackenzie <acm@muc.de>
10048
10049 Fontify declarators properly when, e.g., a jit-lock chunk begins
10050 inside a declaration.
10051
10052 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10053
10054 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10055 New function.
10056 (c-complex-decl-matchers): Insert reference to
10057 c-font-lock-enclosing-decls.
10058
10059 * progmodes/cc-engine.el (c-backward-single-comment):
10060 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10061 to nil around calls to (forward-comment -1).
10062
10063 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10064
10065 * image.el (put-image): Doc typo fix.
10066
10067 * progmodes/etags.el (tags-search): Doc typo fix.
10068
10069 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10070 password if we get errors 550 to 554.
10071
10072 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10073
10074 * net/gnutls.el (gnutls-log-level): Remove.
10075
10076 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10077 indentation character (bug#6380).
10078
10079 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10080
10081 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10082 to clarify what the problem is (bug#4291).
10083
10084 * simple.el (current-kill): Clarify what
10085 `interprogram-paste-function' does (bug#7500).
10086 (auto-fill-mode): Document `auto-fill-function' in relation to
10087 `auto-fill-mode' (bug#2470).
10088
10089 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10090
10091 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10092 method if slot is read-only (bug#9035).
10093
10094 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10095
10096 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10097 * window.el (pop-to-buffer): Select window used even if it was
10098 selected before, see discussion of (Bug#8615), (Bug#6954).
10099 Pass argument NORECORD on to select-frame-set-input-focus.
10100
10101 2011-07-15 Glenn Morris <rgm@gnu.org>
10102
10103 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10104 Respect help-form.
10105
10106 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10107
10108 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10109 (gnutls-negotiate): Use it.
10110
10111 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10112
10113 * net/gnutls.el (gnutls-negotiate):
10114 Upcase `gnutls-algorithm-priority'.
10115
10116 2011-07-15 Glenn Morris <rgm@gnu.org>
10117
10118 * jka-compr.el (jka-compr-verbose): Move from here...
10119 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10120 Add missing :version tag.
10121 * info.el: No need to require jka-compr when compiling.
10122
10123 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10124
10125 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10126 (gnutls-negotiate): Use it.
10127
10128 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10129
10130 * info.el (Info-beginning-of-buffer): New command.
10131 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10132 announcing `b' as the key (bug#8325).
10133 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10134
10135 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10136
10137 * international/mule-cmds.el
10138 (describe-specified-language-support): Make the error message
10139 clearer (bug#8905).
10140
10141 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10142
10143 * isearch.el (isearch-barrier): Add a doc string, since it's
10144 mentioned in a function doc string (bug#8678).
10145
10146 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10147
10148 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10149 buffer argument (Bug#9083) and self-identifying label argument.
10150
10151 2011-07-15 Glenn Morris <rgm@gnu.org>
10152
10153 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10154
10155 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10156
10157 * man.el (Man-fontify-manpage): Fix message when formatting the
10158 man page (bug#7929).
10159
10160 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10161
10162 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10163 argument LRM; if non-nil, append an invisible LRM character to the
10164 buffer name.
10165 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10166 last argument non-nil, when formatting buffer names.
10167 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10168 paragraph direction.
10169
10170 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10171
10172 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10173 the man page name (bug#7929).
10174
10175 * image.el (put-image): Mention the `put-image' overlay property
10176 (bug#7834).
10177
10178 * scroll-bar.el (set-scroll-bar-mode): Mention that
10179 `scroll-bar-mode' lists the values (bug#7772).
10180
10181 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10182 command (bug#7729).
10183
10184 * rect.el (apply-on-rectangle): Return the point after the last
10185 operation.
10186 (string-rectangle): Go to the point after the last operation
10187 (bug#7522).
10188
10189 * printing.el (pr-toggle-region): Clarify the documentation
10190 slightly (bug#7493).
10191
10192 * time.el (display-time-update):
10193 Allow `display-time-mail-function' to return nil (bug#7158).
10194 Fix suggested by Detlev Zundel.
10195
10196 * vc/diff.el (diff): Clarify the order the file names are read
10197 (bug#7111).
10198
10199 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10200 the doc string (bug#7015).
10201
10202 * font-lock.el (font-lock-maximum-decoration): Mention what
10203 numeric levels mean (bug#6935).
10204
10205 * startup.el (initial-buffer-choice): Don't mention the `none'
10206 selection, which is against policy.
10207
10208 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10209
10210 * window.el (display-buffer-normalize-special):
10211 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10212
10213 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10214
10215 * subr.el (version<, version<=, version=): Mention "-CVS" and
10216 "-12345" alpha version numbers.
10217
10218 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10219
10220 * bindings.el: Add advertised binding for set-mark-command
10221 (Bug#5772).
10222
10223 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10224
10225 * bindings.el (mode-line-other-buffer):
10226 * bookmark.el (bookmark-bmenu-2-window):
10227 * bs.el (bs-cycle-next, bs-cycle-previous):
10228 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10229 switch-to-buffer.
10230
10231 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10232 Delete.
10233
10234 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10235
10236 * follow.el (follow-debug-message, follow-redisplay):
10237 * jka-cmpr-hook.el (with-auto-compression-mode):
10238 Fix typos in docstrings.
10239
10240 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10241
10242 * subr.el (with-silent-modifications): Clarify somewhat what the
10243 macro inhibits (bug#6525).
10244
10245 * simple.el (eval-expression): Note what it does if called
10246 interactively (bug#6495).
10247
10248 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10249
10250 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10251 Use pop-to-buffer buffer-or-name if it is nil.
10252
10253 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10254 Remove switch-to-buffer.
10255
10256 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10257
10258 * files.el (make-directory): Clarify that an error will be raised
10259 if there's an error (bug#6397).
10260
10261 * startup.el (initial-buffer-choice): Add `none' as a choice
10262 (bug#6234).
10263
10264 * subr.el (add-hook): Clarify section about buffer-local hooks
10265 (bug#6218).
10266
10267 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10268
10269 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10270
10271 * tabify.el (untabify): Preserve the current column so that point
10272 doesn't move (bug#6032).
10273
10274 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10275
10276 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10277 Rewrite to avoid awkward possessive "s" (bug#5986).
10278
10279 2011-07-13 Glenn Morris <rgm@gnu.org>
10280
10281 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10282 (dired-insert-directory): Give a message the first time
10283 if ls is found not to support --dired.
10284
10285 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10286
10287 * simple.el (toggle-truncate-lines): Clarify what is toggled
10288 (bug#5580). Text by Drew Adams.
10289
10290 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10291
10292 * simple.el (blink-matching-open): Make the error message from the
10293 last change less verbose.
10294
10295 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10296
10297 * font-lock.el (font-lock-comment-face): Use the high contrast
10298 "yellow" color for font-lock-comment-face on low color terminals
10299 using a dark background color (bug#4221).
10300
10301 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10302
10303 * dired.el (dired-insert-set-properties): Make the doc string
10304 reflect what it does now (bug#5325).
10305
10306 * simple.el (blink-matching-open): Say that we were unable to find
10307 the match within the limit, if we're limited (bug#5122).
10308
10309 * international/mule-cmds.el (prefer-coding-system): Add an
10310 example (bug#4869).
10311
10312 * progmodes/etags.el (tags-search): Document `file-list-form'
10313 (bug#4731).
10314
10315 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10316
10317 * net/browse-url.el (browse-url-default-browser)
10318 (browse-url-browser-function): Make the default browser choice a
10319 bit more logical (bug#4300). Also clean up the doc string.
10320
10321 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10322
10323 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10324 binary endings (bug#4440).
10325
10326 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10327
10328 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10329 which can be pretty annoying (bug#8971).
10330
10331 * jka-compr.el (jka-compr-verbose): New variable, and use
10332 throughout (bug#8971).
10333
10334 * info.el (Info-find-file): Fall back on the installation
10335 directory if we can't find the info node anywhere else.
10336
10337 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10338
10339 * vc/vc.el (vc-revert-file):
10340 Don't set file time-stamp in the past. (Bug#5181)
10341
10342 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10343
10344 * files.el (after-find-file): Give a better error message when
10345 trying to find a symlink that points to a file that doesn't exist
10346 (bug#4398).
10347
10348 * progmodes/cc-vars.el: Remove (probably) misleading comment
10349 (bug#4396).
10350
10351 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10352
10353 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10354
10355 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10356
10357 * mouse-sel.el: Hack restoring functionality, while keeping
10358 compatibility with 2010-07-03 changes to mouse selection.
10359 (mouse-sel-primary-overlay): New var.
10360 (mouse-sel-selection-alist): Use it.
10361 (mouse-sel-mode): Doc fix; remove points that are default features
10362 of mouse.el.
10363
10364 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10365
10366 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10367 Fix previous fix (bug#2490).
10368
10369 2011-07-12 Roland Winkler <winkler@gnu.org>
10370
10371 * textmodes/bibtex.el (bibtex-initialize):
10372 Use pop-to-buffer-same-window.
10373 (bibtex-search-entries): Fix interactive call.
10374
10375 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10376
10377 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10378 Fontise bytecomp Error lines more correctly (bug#2490).
10379 Fix suggested by Johan Bockgård.
10380
10381 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10382
10383 * dired-x.el (dired-guess-default): Use `delete-dups'.
10384
10385 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10386
10387 * dired.el (dired-mark-prompt):
10388 * dired-aux.el (dired-read-shell-command): Doc fix.
10389
10390 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10391
10392 * mail/sendmail.el (sendmail-query-once):
10393 Use `customize-save-variable' unconditionally, now that it works under
10394 emacs -Q.
10395
10396 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10397
10398 * cus-edit.el (custom-file): Take an optional no-error variable.
10399 (customize-save-variable): Set the variable, and give a warning if
10400 running under "emacs -q".
10401
10402 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10403
10404 * loadhist.el (unload-feature-special-hooks):
10405 Add `auto-coding-functions', `fill-nobreak-predicate' and
10406 `find-directory-functions' (bug#5327).
10407
10408 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10409
10410 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10411
10412 * cus-edit.el (custom-guess-name-alist): -alist variables should
10413 use the `alist' type (bug#3120). Suggested by Drew Adams.
10414
10415 * printing.el: Add documentation to all the `pr-toggle-' commands.
10416
10417 2011-07-11 Leo Liu <sdl.web@gmail.com>
10418
10419 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10420 backends where it makes sense (bug#2623).
10421
10422 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10423
10424 * dired-x.el (dired-guess-default): Remove duplicate shell command
10425 entries (bug#2028).
10426 (dired-guess-default): Fix grammar in doc string (bug#2028).
10427 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10428
10429 * subr.el (remove-duplicates): New conveniency function.
10430
10431 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10432
10433 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10434 (bug#1526).
10435
10436 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10437
10438 * window.el (display-buffer-normalize-default): Don't invert
10439 meaning of even-window-heights. Reported by Eli Zaretskii
10440 <eliz@gnu.org>.
10441
10442 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10443
10444 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10445
10446 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10447
10448 * window.el (display-buffer): Fix arguments to
10449 display-buffer-reuse-window in last change.
10450
10451 * faces.el (link): Use a less saturated blue on light backgrounds.
10452
10453 * startup.el (fancy-startup-text, fancy-about-text)
10454 (fancy-startup-tail): Use font-lock faces, for background safety.
10455
10456 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10457
10458 * emulation/viper-cmd.el (viper-change-state-to-vi):
10459 Limit triggering of abbrev expansion (Bug#9038).
10460
10461 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10462
10463 * window.el (display-buffer-default-specifiers): Remove.
10464 (display-buffer-macro-specifiers): Remove default specifiers.
10465 (display-buffer-alist): Default to nil.
10466 (display-buffer-reuse-window): New optional argument other-window.
10467 (display-buffer-pop-up-window): Allow splitting internal
10468 windows. Check whether a live window was created.
10469 (display-buffer-other-window-means-other-frame)
10470 (display-buffer-normalize-arguments): Rename to
10471 display-buffer-normalize-argument and rewrite. Set the
10472 other-window specifier.
10473 (display-buffer-normalize-special): New function.
10474 (display-buffer-normalize-options): Rename to
10475 display-buffer-normalize-default and rewrite.
10476 (display-buffer-normalize-options-inhibit): Remove.
10477 (display-buffer-normalize-specifiers): Rewrite.
10478 (display-buffer): Process other-window specifier and call
10479 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10480 more faithfully.
10481 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10482 (display-buffer-alist-set): Don't handle 'unset default values.
10483 (display-buffer-in-window, display-buffer-alist-set):
10484 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10485 <tassilo@member.fsf.org>.
10486
10487 2011-07-09 Leo Liu <sdl.web@gmail.com>
10488
10489 * register.el (insert-register): Restore accidental change on
10490 2011-06-26. (Bug#9028)
10491
10492 2011-07-09 Glenn Morris <rgm@gnu.org>
10493
10494 * subr.el (remq): Handle the empty list. (Bug#9024)
10495
10496 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10497
10498 * mail/sendmail.el (send-mail-function): No longer delay custom
10499 initialization.
10500 * custom.el (custom-initialize-delay): Doc fix.
10501
10502 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10505
10506 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10507
10508 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10509 human-friendly prompt.
10510
10511 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10514 provided by a particular plugin.
10515
10516 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10517
10518 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10519 save customizations (with "emacs -Q"), just set the variable
10520 instead of erroring out.
10521
10522 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10523
10524 2011-07-08 Juri Linkov <juri@jurta.org>
10525
10526 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10527 (archive-zip-update-case): Use 7z if found by `executable-find'.
10528 The order of searching the available programs is the same as in
10529 `archive-zip-extract' (bug#8968).
10530
10531 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10532
10533 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10534 (menu-bar-options-menu): Tweak descriptions.
10535
10536 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10537
10538 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10539 menu items into verb phrases (bug#1421). Also refill to fit under
10540 80 columns.
10541
10542 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10543
10544 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10545 (Info-read-node-name): Doc fix (Bug#1084).
10546
10547 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10548 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10549 (end-of-sexp, beginning-of-sexp)
10550 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10551 (forward-symbol, forward-same-syntax, word-at-point)
10552 (sentence-at-point): Doc fix (Bug#1144).
10553
10554 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10555
10556 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10557 should cover it (bug#1281).
10558
10559 * cus-edit.el (custom-show): Mark as obsolete.
10560
10561 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10562 negotiation fails, then possibly try again with a non-encrypted
10563 connection (bug#9017).
10564
10565 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10566 be used.
10567
10568 2011-07-07 Richard Stallman <rms@gnu.org>
10569
10570 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10571 property, and handle its changed format.
10572 Look for the correct line number.
10573 Use file's line contents (but not past first =) to find
10574 correct line in message.
10575
10576 2011-07-07 Kenichi Handa <handa@m17n.org>
10577
10578 * international/characters.el (build-unicode-category-table):
10579 Delete it.
10580 (unicode-category-table): Set it by unicode-property-table-internal.
10581
10582 * international/mule-cmds.el (char-code-property-alist): Move to
10583 to src/chartab.c.
10584 (get-char-code-property): Call unicode-property-table-internal to
10585 load a file. Call get-unicode-property-internal where necessary.
10586 (put-char-code-property): Call unicode-property-table-internal to
10587 load a file. Call put-unicode-property-internal where necessary.
10588 put-unicode-property-internal where necessary.
10589 (char-code-property-description):
10590 Call unicode-property-table-internal to load a file.
10591
10592 * international/charprop.el:
10593 * international/uni-bidi.el:
10594 * international/uni-category.el:
10595 * international/uni-combining.el:
10596 * international/uni-comment.el:
10597 * international/uni-decimal.el:
10598 * international/uni-decomposition.el:
10599 * international/uni-digit.el:
10600 * international/uni-lowercase.el:
10601 * international/uni-mirrored.el:
10602 * international/uni-name.el:
10603 * international/uni-numeric.el:
10604 * international/uni-old-name.el:
10605 * international/uni-titlecase.el:
10606 * international/uni-uppercase.el: Regenerate.
10607
10608 * loadup.el: Load international/charprop.el before
10609 international/characters.
10610
10611 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10612
10613 * window.el (next-buffer, previous-buffer): Signal an error if
10614 called from a minibuffer window.
10615
10616 * bindings.el: Revert 2011-07-04 change.
10617
10618 2011-07-06 Richard Stallman <rms@gnu.org>
10619
10620 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10621 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10622 Treat markers like ints.
10623 (rmail-mime-entity): Doc fix.
10624
10625 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10626
10627 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10628 defcustom again for backwards compatibility.
10629
10630 * simple.el (shell-command-on-region): Fill.
10631
10632 * dired-aux.el (dired-kill-line): Add a doc string.
10633
10634 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10635 to "\\sw\\|\\s_" (bug#358).
10636
10637 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10638 (dired-unmark-backward): Ditto.
10639 (dired-flag-backup-files): Ditto.
10640
10641 * dired-x.el (dired-mark-sexp): Ditto.
10642
10643 2011-07-06 Richard Stallman <rms@gnu.org>
10644
10645 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10646 (rmail-mime-entity): New arg TRUNCATED.
10647 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10648 New functions.
10649 (rmail-mime-save): Warn if entity is truncated.
10650 (rmail-mime-toggle-hidden): Likewise, for showing.
10651 (rmail-mime-process-multipart): Record when an entity is truncated.
10652
10653 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10654 if ENTITY is a string.
10655
10656 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10657
10658 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10659 of faces when `M-C-x'-ing their definitions (bug#8378).
10660 Also clean up the code slightly.
10661
10662 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10663 because that makes the colors go away.
10664
10665 * mail/sendmail.el (send-mail-function): Change the default to
10666 `sendmail-query-once'.
10667 (sendmail-query-once): Add an autoload cookie.
10668
10669 * net/network-stream.el (network-stream-open-starttls): Try using
10670 a plain connection even if the server offered STARTTLS, and we
10671 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10672 capability. This should make smtpmail.el work in slightly more
10673 configurations.
10674
10675 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10676
10677 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10678 New defun.
10679 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10680
10681 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10682
10683 * progmodes/sql.el: Version 3.0
10684 (sql-product-alist): Add product :completion-object,
10685 :completion-column, and :statement attributes.
10686 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10687 (sql-mode-syntax-table): Mark all punctuation.
10688 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10689 ansi keywords.
10690 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10691 (sql-mode-oracle-font-lock-keywords): Improve.
10692 (sql-oracle-show-reserved-words): New function for development.
10693 (sql-product-font-lock): Simplify for source code buffers.
10694 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10695 New functions.
10696 (sql-highlight-product): Set product specific syntax table.
10697 (sql-mode-map): Add statement movement functions.
10698 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10699 New variable.
10700 (sql-statement-regexp, sql-beginning-of-statement)
10701 (sql-end-of-statement, sql-signum): New functions.
10702 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10703 (sql-show-sqli-buffer): Bug fix.
10704 (sql-interactive-mode): Store connection data as buffer local.
10705 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10706 with sql-interactive-mode.
10707 (sql-save-connection): Save buffer local settings.
10708 (sql-connection-menu-filter): Change menu entry name.
10709 (sql-product-interactive): Bug fix.
10710 (sql-preoutput-hold): New variable.
10711 (sql-interactive-remove-continuation-prompt): Bug fixes.
10712 (sql-debug-redirect): New variable.
10713 (sql-str-literal): New function.
10714 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10715 Redesign.
10716 (sql-oracle-save-settings, sql-oracle-restore-settings)
10717 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10718 (sql-completion-object, sql-completion-column)
10719 (sql-completion-sqlbuf): New variables.
10720 (sql-build-completions-1, sql-build-completions)
10721 (sql-try-completion): New functions.
10722 (sql-read-table-name): Use them.
10723 (sql-contains-names): New buffer local variable.
10724 (sql-list-all, sql-list-table): Use it.
10725 (sql-oracle-completion-types): New variable.
10726 (sql-oracle-completion-object, sql-sqlite-completion-object)
10727 (sql-postgres-completion-object): New functions.
10728
10729 2011-07-06 Glenn Morris <rgm@gnu.org>
10730
10731 * window.el (pop-to-buffer): Doc fix.
10732
10733 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10734
10735 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10736
10737 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10738
10739 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10740
10741 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10742
10743 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10744
10745 * button.el (button): Inherit from link face. Suggested by Dan
10746 Nicolaescu.
10747
10748 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10749
10750 * progmodes/gdb-mi.el: Fit in 80 columns.
10751 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10752 switch-to-buffer.
10753
10754 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10755 if imenu is simply not configured (bug#8941).
10756
10757 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10758
10759 * allout.el (allout-post-undo-hook): New allout outline-change
10760 event hook to signal undo activity.
10761 (allout-post-command-business): Run allout-post-undo-hook if an
10762 undo just occurred.
10763 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10764 * allout-widgets.el (allout-widgets-after-undo-function):
10765 Ensure the integrity of the current item's decoration after it has been
10766 in the vicinity of an undo.
10767 (allout-widgets-mode): Include allout-widgets-after-undo-function
10768 on the new allout-post-undo-hook.
10769
10770 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10773 Let define-derived-mode define it.
10774 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10775 cycles of abbrev-table inheritance (bug#8998).
10776
10777 2011-07-05 Roland Winkler <winkler@gnu.org>
10778
10779 * textmodes/bibtex.el: Add support for biblatex.
10780 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10781 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10782 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10783 (bibtex-entry-alist, bibtex-field-alist): New variables.
10784 (bibtex-entry-field-alist): Obsolete alias for
10785 bibtex-BibTeX-entry-alist.
10786 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10787 (bibtex-set-dialect): New command.
10788 (bibtex-entry-type, bibtex-entry-head)
10789 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10790 Bind via bibtex-set-dialect.
10791 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10792 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10793 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10794 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10795 Define via bibtex-set-dialect.
10796 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10797 Obey bibtex-no-opt-remove-re.
10798 (bibtex-vec-push, bibtex-vec-incr): New functions.
10799 (bibtex-format-entry, bibtex-field-list)
10800 (bibtex-print-help-message, bibtex-validate)
10801 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10802
10803 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * progmodes/compile.el (compilation-goto-locus):
10806 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10807 * bs.el (bs-cycle-next, bs-cycle-previous):
10808 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10809 * bindings.el (mode-line-other-buffer):
10810 * autoinsert.el (auto-insert):
10811 * arc-mode.el (archive-extract):
10812 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10813
10814 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10815
10816 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10817 Fix check of `emacs-lock-unlockable-modes'.
10818 Coerce true values of `emacs-lock--try-unlocking' to t.
10819
10820 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10821
10822 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10823 * emacs-lock.el: New file.
10824
10825 2011-07-05 Julien Danjou <julien@danjou.info>
10826
10827 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10828 than `boundp' to check if face is set.
10829
10830 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10831
10832 * register.el (registerv-make):
10833 * window.el (window-min-height): Fix typos in docstrings.
10834
10835 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10836
10837 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10838 Update doc string.
10839
10840 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10841
10842 * server.el (server-execute): Catch quit and call
10843 `server-return-error' to pass the error back to emacsclient and
10844 close the connection (bug#8942).
10845
10846 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10847
10848 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10849 insecure exception for current topic. Also note that auto-saves
10850 are handled differently.
10851
10852 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10853 State variables for tracking auto-save inhibition situation.
10854
10855 (allout-write-contents-hook-handler): Rename from
10856 'allout-write-file-hook-handler', and describe how it depends on
10857 write-contents-functions sensitivity to non-nil value to prevent
10858 file write.
10859
10860 (allout-auto-save-hook-handler): Remove. auto-save does not check
10861 this in individual buffers, only in the starting buffer, so this
10862 is not the right way for us to inhibit auto-save in a buffer
10863 according to its condition.
10864
10865 (allout-mode): Use new allout-write-contents-hook-handler, and
10866 only with write-contents-functions. Remove auto-save provisions -
10867 they're implemented elsewhere.
10868
10869 (allout-before-change-handler): If undo is in progress, note that
10870 for attention of allout-post-command-business.
10871
10872 (allout-post-command-business): If the command we're following was
10873 an undo, check for change in the status of encrypted items and
10874 adjust auto-save inhibitions accordingly.
10875
10876 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10877 according to whether there are or aren't any plain-text topics
10878 pending encryption.
10879
10880 (allout-inhibit-auto-save-info-for-decryption):
10881 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10882 if there are plain-text topics pending encryption.
10883
10884 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10885 buffer-saved-size and some allout state to not inhibit auto-saves
10886 if there are no longer any plain-text topics pending encryption.
10887
10888 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10889 No longer provide for exemption of the current topic.
10890
10891 2011-07-04 Juri Linkov <juri@jurta.org>
10892
10893 Add 7z operations to delete and save changed members (bug#8968).
10894 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10895 New defcustoms.
10896 (archive-7z-write-file-member): New function.
10897 (archive-7z-summarize): Fix the number of dashes in the
10898 listing output.
10899
10900 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10903 (bug#8958).
10904
10905 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10906
10907 * bindings.el: Ignore next-buffer and previous-buffer in
10908 minibuffer-local-map.
10909
10910 * font-lock.el (font-lock-builtin-face): Change light background
10911 color to dark slate blue (Bug#6693).
10912
10913 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10914
10915 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10916
10917 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10920 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10921 Add switch-to-buffer.
10922
10923 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10924
10925 * isearch.el (isearch-search-fun-function): Clarify further the
10926 meaning of the function returned.
10927
10928 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10929
10930 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10931
10932 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10933 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10934 Use it.
10935 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10936 `tramp-default-remote-path' does not exist.
10937 (tramp-send-command-and-read): New optional argument NOERROR.
10938 (tramp-open-connection-setup-interactive-shell)
10939 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10940 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10941 (tramp-process-sentinel): Flush also process' connection property.
10942 (tramp-sh-handle-start-file-process): Do not set process
10943 sentinel. It is done now ...
10944 (tramp-maybe-open-connection): ... here. (Bug#8929)
10945
10946 2011-07-04 MON KEY <monkey@sandpframing.com>
10947
10948 * play/animate.el (animate-string): Doc fixes and allow changing
10949 the buffer name (bug#5417).
10950
10951 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10952
10953 * play/animate.el (animation-buffer-name): Rename from *animate*.
10954
10955 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10956
10957 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10958 This is simpler and helps future-proof the code.
10959 (timer-until): Use time-subtract and float-time.
10960 (timer--time-less-p): Use time-less-p.
10961
10962 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10963
10964 * type-break.el (timep): Use the value of `float-time' to avoid a
10965 byte-compiler warning.
10966
10967 * server.el (server-eval-and-print): Return any result, even nil.
10968
10969 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10970
10971 * type-break.el: Accept time formats that the builtins accept.
10972 (timep, type-break-time-difference): Accept any format that
10973 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10974 This is simpler and helps future-proof the code.
10975 (type-break-time-difference): Round rather than ignoring
10976 subseconds components.
10977
10978 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10979
10980 * info.el (Info-apropos-matches): Make non-interactive, since it
10981 doesn't seem to do anything useful as a command (bug#8829).
10982
10983 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10984
10985 * frame.el (frame-background-mode, frame-set-background-mode):
10986 Move from faces.el.
10987 (frame-default-terminal-background): New function.
10988
10989 * custom.el (custom-push-theme): Don't record faces in `changed'
10990 theme; this doesn't work correctly for per-frame face settings.
10991 (disable-theme): Use face-set-after-frame-default to reset faces.
10992 (custom--frame-color-default): New function.
10993
10994 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10995
10996 * dired.el (dired-flagging-regexp): Remove unused variable
10997 (bug#8769).
10998
10999 2011-03-29 Kevin Ryde <user42@zip.com.au>
11000
11001 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11002 `perl-Test2' extend to match possible "fail #N" rep count
11003 (bug#8377).
11004
11005 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11006
11007 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11008 `smtpmail-via-smtp' now returns the error instead of nil.
11009
11010 * isearch.el (isearch-search-fun-function): Clarify the doc string
11011 (bug#8101).
11012
11013 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
11014
11015 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11016 unnecessary spaces (bug#8987).
11017
11018 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11019
11020 * net/network-stream.el (open-network-stream): Use the
11021 :end-of-capability command thoughout.
11022
11023 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11024
11025 * net/network-stream.el (open-network-stream): Add the
11026 :end-of-capability command parameter, used by pop3.el.
11027
11028 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11029
11030 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11031
11032 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11033 for list)" (bug#6475).
11034
11035 * files.el (file-expand-wildcards): Ignore non-readable
11036 sub-directories while trying to find matches instead of signaling
11037 an error (bug#6297).
11038
11039 * man.el (Man-reference-regexp): Allow matching possible
11040 word-wrapped references (bug#6289).
11041
11042 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11043 for consistency with the other vc buffers (bug#6197).
11044 (vc-checkin): Ditto.
11045
11046 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11047
11048 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11049
11050 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11051
11052 * custom.el (defcustom): Clarify that :set is only used in the
11053 Customize user interface (bug#6089).
11054
11055 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11056 associated with a file, refuse to run instead of erroring out
11057 (bug#6084).
11058
11059 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11060 the doc string, since it appears that using `fill-column' always
11061 controls the width (bug#7845).
11062
11063 * simple.el (shell-command-on-region): Say where the error output
11064 went if `shell-command-default-error-buffer' is set (bug#6857).
11065
11066 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11067
11068 * allout.el (allout-yank-processing): Adjust cursor position for
11069 backwards-deleted space.
11070
11071 (allout-rebullet-heading): Register changes with
11072 allout-exposure-changed-hook, so the modified topic is properly
11073 decorated.
11074
11075 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11076
11077 * minibuffer.el (completion-in-region): Document PREDICATE
11078 (bug#7136).
11079
11080 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11081 of keyword/argument pairs (bug#6904).
11082
11083 * replace.el (multi-occur):
11084 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11085
11086 2011-07-02 Drew Adams <drew.adams@oracle.com>
11087
11088 * dired.el (dired-mark-if): Make the message about whether it's
11089 marking or unmarking clearer (bug#8523).
11090
11091 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11092
11093 * disp-table.el (display-table-print-array): New function.
11094 (describe-display-table): Use it to print the vectors more pretty
11095 (Bug#8859).
11096
11097 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11098
11099 * window.el (window-state-get-1): Don't assign clone numbers.
11100 Add clone-of item to list of window parameters.
11101 (window-state-put-2): Don't process clone numbers.
11102 (display-buffer-alist): Fix doc-string.
11103
11104 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11105
11106 * subr.el (remq): Don't allocate if it's not needed.
11107 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11108 (keymap--merge-bindings): New functions.
11109 (keymap-canonicalize): Use them to refine the canonicalization.
11110 * minibuffer.el (minibuffer-local-completion-map)
11111 (minibuffer-local-must-match-map): Move initialization from C.
11112 (minibuffer-local-filename-completion-map): Move initialization from C;
11113 don't inherit from anything here.
11114 (minibuffer-local-filename-must-match-map): Make obsolete.
11115 (completing-read-default): Use make-composed-keymap to combine
11116 minibuffer-local-filename-completion-map with either
11117 minibuffer-local-must-match-map or
11118 minibuffer-local-filename-completion-map.
11119
11120 2011-07-01 Glenn Morris <rgm@gnu.org>
11121
11122 * type-break.el (type-break-time-sum): Use dolist.
11123
11124 * textmodes/flyspell.el (flyspell-word-search-backward):
11125 Replace CL function.
11126
11127 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * mouse.el (mouse--strip-first-event): New function.
11130 (function-key-map): Use it to map fringe clicks to normal clicks
11131 by default.
11132
11133 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11134 (vc-bzr-revision-completion-table): Add support for annotate and date.
11135
11136 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11137 inherit from parent.
11138
11139 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11140
11141 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11142 (dired-show-file-type): Doc fixup (bug#8818).
11143
11144 * dired.el (dired-mode): Fix up the doc string as suggested by
11145 Drew Adams (bug#8817).
11146
11147 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11148 cookie, since the manual says that it should be possible to add
11149 this function to `find-file-hook' (bug#8709).
11150
11151 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11152
11153 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11154 here. Noted Ted Zlatanov as the maintainer.
11155 (cfengine-common-settings, cfengine-common-syntax): New functions
11156 to set up common things between `cfengine-mode' and
11157 `cfengine3-mode'.
11158 (cfengine3-mode): New mode.
11159 (cfengine3-defuns cfengine3-defuns-regex
11160 (cfengine3-class-selector-regex cfengine3-category-regex)
11161 (cfengine3-vartypes cfengine3-font-lock-keywords)
11162 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11163 (cfengine3-indent-line): Add from cfengine3.el.
11164
11165 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11166
11167 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11168
11169 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11170
11171 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11172
11173 * window.el (same-window-buffer-names, same-window-regexps)
11174 (same-window-p, special-display-frame-alist)
11175 (special-display-popup-frame, special-display-function)
11176 (special-display-buffer-names, special-display-regexps)
11177 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11178 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11179 (split-window-preferred-function, split-height-threshold)
11180 (split-width-threshold, even-window-heights)
11181 (display-buffer-mark-dedicated, window-splittable-p)
11182 (split-window-sensibly, window-safely-shrinkable-p):
11183 Un-obsolete.
11184 (display-buffer): Don't spread args with function specifier
11185 because special-display-popup-frame won't like it.
11186
11187 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11188
11189 Time-stamp simplifications and fixes.
11190 These improve accuracy slightly, and future-proof the code
11191 against some potential changes to current-time format.
11192
11193 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11194 by using time-since and float-time.
11195
11196 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11197 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11198 + NNN microseconds".
11199
11200 * type-break.el (type-break-time-sum): Rewrite using time-add.
11201
11202 * play/hanoi.el (hanoi-current-time-float): Remove.
11203 All uses replaced by float-time.
11204
11205 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11206 This yields a more-accurate answer.
11207 (rng-time-to-float): Remove; no longer needed.
11208
11209 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11210
11211 * calendar/timeclock.el (timeclock-seconds-to-time):
11212 Defalias to seconds-to-time, since they're the same thing.
11213
11214 * emacs-lisp/elp.el (elp-elapsed-time):
11215 * emacs-lisp/benchmark.el (benchmark-elapse):
11216 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11217
11218 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * window.el (bury-buffer): Don't iconify the only frame.
11221 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11222 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11223
11224 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11225
11226 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11227 Add mouse-yank-primary.
11228
11229 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11230
11231 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11232
11233 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11234
11235 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11236 (find-library-name): Use it to find relative load names when provided
11237 absolute file name (bug#8803).
11238
11239 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11240
11241 * textmodes/flyspell.el (flyspell-word): Consider words that
11242 differ only in case as potential doublons (bug#5687).
11243
11244 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11245 Remove two rather uninteresting debugging-like messages to make
11246 debbugs.el more silent.
11247
11248 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11249 a password-like phrase.
11250
11251 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11252
11253 * progmodes/cc-guess.el: New file.
11254
11255 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11256
11257 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11258 derived from `c-basic-common-init'.
11259
11260 * progmodes/cc-mode.el (top-level): Require cc-guess.
11261 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11262
11263 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11264
11265 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11266
11267 2011-06-30 Alan Mackenzie <acm@muc.de>
11268
11269 * progmodes/cc-engine.el (c-guess-continued-construct):
11270 Correct the handling of template-args-cont, particularly for when font
11271 lock is disabled. Name this case as "CASE G".
11272
11273 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11274
11275 * allout.el (allout-yank-processing): Fix injection of extra space
11276 between bullet and non-whitespace character in first topic when
11277 pasting, ensuring that the actual spacing in the pasted topic
11278 following the bullet char is preserved. This extra space was
11279 causing pasted encrypted topics to get a decrypted status even
11280 when the content was actually still encrypted. Now the decryption
11281 status from before the paste is preserved.
11282
11283 (allout-flag-region): Set all allout overlays so they evaporate
11284 when reduced to zero length (evanescent), to prevent overlay
11285 leakage.
11286
11287 2011-06-30 Glenn Morris <rgm@gnu.org>
11288
11289 * w32-fns.el (w32-charset-info-alist): Declare.
11290
11291 * find-dired.el (find-grep-options): Simplify.
11292
11293 * term/ns-win.el (ns-set-resource): Declare.
11294
11295 * ses.el (row, col): Declare dynamic variables honestly.
11296
11297 * textmodes/reftex-parse.el (index-tags): Declare.
11298
11299 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11300
11301 * cus-edit.el (customize-push-and-save): New function.
11302
11303 * files.el (hack-local-variables-confirm): Use it.
11304
11305 * custom.el (load-theme): New arg NO-CONFIRM.
11306 Use customize-push-and-save (Bug#8720).
11307 (custom-enabled-themes): Doc fix.
11308
11309 * cus-theme.el (customize-create-theme)
11310 (custom-theme-merge-theme): Callers to load-theme changed.
11311
11312 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11313
11314 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11315 short URLs have at least one dot in them (bug #7614).
11316
11317 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11318 nil, because using a pty is apparently too slow (bug #895).
11319
11320 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11321
11322 * mail/sendmail.el (sendmail-query-once): New function.
11323 (sendmail-query-once-function): New variable.
11324
11325 2011-06-29 Glenn Morris <rgm@gnu.org>
11326
11327 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11328
11329 * ses.el (top-level): Require cl when compiling.
11330 (ses-set-localvars): Fix error statement.
11331 Call it at compile time to silence a storm of warnings.
11332
11333 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11334
11335 * window.el (normalize-live-buffer): Rename to
11336 window-normalize-buffer.
11337 (normalize-live-frame): Rename to window-normalize-frame.
11338 (normalize-any-window): Rename to window-normalize-any-window.
11339 (normalize-live-window): Rename to window-normalize-live-window.
11340 (make-window-atom): Rename to window-make-atom.
11341 (window-resize-reset): Rename to window--resize-reset.
11342 (window-resize-reset-1): Rename to window--resize-reset-1.
11343 (resize-mini-window): Rename to window--resize-mini-window.
11344 (resize-subwindows-skip-p): Rename to
11345 window--resize-subwindows-skip-p.
11346 (resize-subwindows-normal): Rename to
11347 window--resize-subwindows-normal.
11348 (resize-subwindows): Rename to window--resize-subwindows.
11349 (resize-other-windows): Rename to window--resize-siblings.
11350 (resize-this-window): Rename to window--resize-this-window.
11351 (resize-root-window): Rename to window--resize-root-window.
11352 (resize-root-window-vertically): Rename to
11353 window--resize-root-window-vertically.
11354 (normalize-buffer-to-display): Rename to
11355 window-normalize-buffer-to-display.
11356 (normalize-buffer-to-switch-to): Rename to
11357 window-normalize-buffer-to-switch-to.
11358 Correspondingly update all callers of the functions listed
11359 above.
11360 (display-buffer-alist, display-buffer-normalize-arguments)
11361 (display-buffer-normalize-options, display-buffer)
11362 (display-buffer-alist-set): Use "function" instead of
11363 "fun-with-args".
11364
11365 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11366
11367 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11368 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11369 debbugs.gnu.org. Mention acknowledgment email.
11370
11371 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11372
11373 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11374 buffer multibyteness, since it shouldn't matter.
11375
11376 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11377
11378 * window.el (display-buffer-in-side-window): Handle dedicated
11379 windows as in display-buffer-reuse-window.
11380 (display-buffer-normalize-alist): Use value of override
11381 specifier.
11382 (display-buffer-normalize-specifiers): Use value of
11383 other-window-means-other-frame specifier.
11384 (display-buffer-alist): Rewrite some texts in widgets.
11385 (display-buffer): Spread arguments when calling function
11386 specified by fun-with-args.
11387
11388 2011-06-28 Deniz Dogan <deniz@dogan.se>
11389
11390 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11391 Unnest `let'.
11392
11393 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11394 selectors (Bug#5732).
11395 (css-proprietary-nmstart-re): Use `regexp-opt'.
11396
11397 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11398
11399 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11400 (eshell-ls-date-format): New defcustom.
11401 (eshell-ls-file): Use it.
11402
11403 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11406
11407 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11408
11409 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11410 (ange-ftp-make-tmp-name): New arg.
11411 (ange-ftp-file-local-copy): Use it.
11412
11413 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11414
11415 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11416 no-conversion (Bug#8870).
11417
11418 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11419
11420 * window.el (window-right, window-left, window-child)
11421 (window-child-count, window-last-child)
11422 (window-iso-combination-p, walk-window-tree-1)
11423 (window-atom-check-1, window-tree-1, delete-window)
11424 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11425 new naming conventions - window-vchild, window-hchild,
11426 window-next and window-prev are now called window-top-child,
11427 window-left-child, window-next-sibling and window-prev-sibling
11428 respectively.
11429 (resize-window-reset): Rename to window-resize-reset.
11430 (resize-window-reset-1): Rename to window-resize-reset-1.
11431 (resize-window): Rename to window-resize.
11432 (window-min-height, window-min-width)
11433 (resize-mini-window, resize-this-window, resize-root-window)
11434 (resize-root-window-vertically, adjust-window-trailing-edge)
11435 (enlarge-window, shrink-window, maximize-window)
11436 (minimize-window, delete-window, quit-restore-window)
11437 (split-window, balance-windows, balance-windows-area-adjust)
11438 (balance-windows-area, window-state-put-2)
11439 (display-buffer-even-window-sizes, display-buffer-set-height)
11440 (display-buffer-set-width, set-window-text-height)
11441 (fit-window-to-buffer): Rename all "resize-window" prefixed
11442 calls to use the "window-resize" prefix convention.
11443 (display-buffer-alist): Fix symbol for label specifier.
11444 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11445 corresponding specifier.
11446 Reported by Juanma Barranquero <lekktu@gmail.com>.
11447
11448 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11449
11450 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11451 convention.
11452 (ses-call-printer): Does not pass an empty string to formatter when the
11453 cell is empty to keep from barking printer Calc math-format-value.
11454
11455 2011-06-27 Richard Stallman <rms@gnu.org>
11456
11457 * battery.el (battery-mode-line-limit): New variable.
11458 (battery-update): Handle it.
11459
11460 * mail/rmailmm.el (rmail-mime-process-multipart):
11461 Handle truncated messages.
11462
11463 2011-06-27 Glenn Morris <rgm@gnu.org>
11464
11465 * progmodes/flymake.el (flymake-err-line-patterns):
11466 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11467
11468 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11469
11470 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11471 (ses--clean-!, ses--clean-_): New functions.
11472 (ses-range): Add configurability of readout order, and conversion
11473 to Calc vector.
11474
11475 * ses.el (ses-repair-cell-reference-all): New function.
11476 (ses-cell-symbol): Set macro as safe, so that it can be used in
11477 formulas.
11478
11479 * ses.el: Update cycle detection algorithm.
11480 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11481 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11482 (ses-set-localvars): New function.
11483 (ses-make-cell): Add property-list as a cell element.
11484 (ses-cell-property-get-fun, ses-cell-property-get)
11485 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11486 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11487 New functions.
11488 (ses-cell-property-set, ses-cell-property-pop)
11489 (ses-cell-property-get-handle): New macro.
11490 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11491 New aliases, used for code readability.
11492 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11493 cycle detection.
11494 (ses-self-reference-early-detection): New defcustom.
11495 (ses-formula-references): Robustify against self-referring cells.
11496 (ses-mode): Use ses-set-localvars.
11497 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11498 before lauching the update processing.
11499 (ses-initialize-Dijkstra-attempt): New function.
11500 (ses-recalculate-cell): Update for cycle detection based on
11501 Dijkstra algorithm.
11502
11503 * ses.el: Fix commenting and indenting convention.
11504
11505 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11506
11507 * bs.el (bs-cycle-next): Complete last change.
11508
11509 2011-06-27 Drew Adams <drew.adams@oracle.com>
11510
11511 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11512
11513 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11514
11515 * net/network-stream.el (network-stream-open-starttls):
11516 Don't re-get capabilities unless we've reestablished connection.
11517 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11518
11519 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11520 to binary to possibly avoid line encoding issues on Windows (among
11521 other things).
11522
11523 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11524
11525 * net/network-stream.el (open-network-stream): Return an :error
11526 saying what the problem was, if possible.
11527
11528 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11529 server.
11530
11531 * net/network-stream.el (network-stream-open-starttls): If we
11532 wanted to use STARTTLS, and the server offered it, but we weren't
11533 able to because we had no STARTTLS support, then close the connection.
11534 (open-network-stream): Return an :error element, if present.
11535
11536 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11537
11538 * hl-line.el (hl-line-sticky-flag): Doc fix.
11539 (global-hl-line-sticky-flag): New option (Bug#8323).
11540 (global-hl-line-highlight): Obey it.
11541
11542 * vc/vc.el (vc-revert-show-diff): Default to t.
11543
11544 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11545
11546 * allout-widgets.el (allout-widgets-post-command-business):
11547 Stop decorating intermediate isearch matches. They're not being
11548 undecorated when an isearch is continued past, and isearch
11549 automatically collapses them. This leads to "widget leaks", where
11550 decorated items accumulate in collapsed areas. Lines with lots of
11551 hidden widgets can slow down cursor travel, substantially.
11552 Too much complicated machinery would be needed to ensure undecoration,
11553 so we're doing without this nicety.
11554
11555 (allout-widgets-tally-string): Don't try to do a hash-table-count
11556 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11557 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11558 *Messages* when allout-widgets-maintain-tally is t.
11559
11560 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11561
11562 * window.el (display-buffer-normalize-argument): Rename to
11563 display-buffer-normalize-arguments. Handle special meaning of
11564 LABEL argument. Respect special-display-function when popping up
11565 a new frame. Fix code searching for a window showing the buffer
11566 on another frame.
11567 (display-buffer-normalize-specifiers):
11568 Call display-buffer-normalize-arguments.
11569 (display-buffer-in-window): Don't undedicate the window if its
11570 buffer remains the same.
11571 Reported by Drew Adams <drew.adams@oracle.com>.
11572 (display-buffer-alist): Add choice for same-window macro
11573 specfier.
11574 (display-buffer): Mention special meaning of LABEL argument in
11575 doc-string. Fix quoting. Don't pop up a new frame even as
11576 fallback.
11577
11578 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11579
11580 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11581 avoid deleting the current window in some cases (bug#8911).
11582
11583 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11584
11585 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11586 (Bug#8934)
11587
11588 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11589
11590 * net/network-stream.el (network-stream-open-starttls):
11591 Use built-in TLS support if `gnutls-available-p' is true.
11592 (network-stream-open-tls): Ditto.
11593
11594 2011-06-26 Leo Liu <sdl.web@gmail.com>
11595
11596 * register.el (registerv): New struct.
11597 (registerv-make): New function.
11598 (jump-to-register, describe-register-1, insert-register):
11599 Support the jump-func, print-func and insert-func slot of a registerv
11600 struct. (Bug#8415)
11601
11602 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11603
11604 * vc/vc.el (vc-revert-show-diff): New defcustom.
11605 (vc-diff-internal): New arg specifying diff buffer.
11606 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11607 reuse an existing *vc-diff* buffer (Bug#8927).
11608
11609 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11610
11611 2011-06-26 Glenn Morris <rgm@gnu.org>
11612
11613 * progmodes/f90.el (f90-critical-indent): New option.
11614 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11615 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11616 (f90-mode): Doc fix.
11617 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11618 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11619 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11620 (f90-match-end): Handle block, critical.
11621
11622 2011-06-25 Glenn Morris <rgm@gnu.org>
11623
11624 * calendar/diary-lib.el (diary-included-files): Doc fix.
11625 (diary-include-files): New function, extracted from
11626 diary-include-other-diary-files and diary-mark-included-diary-files.
11627 (diary-include-other-diary-files, diary-mark-included-diary-files):
11628 Just call diary-include-files.
11629 (diary-mark-entries): Reset diary-included-files on first call.
11630
11631 * calendar/diary-lib.el (diary-mark-entries)
11632 (diary-mark-included-diary-files):
11633 Visit included diary-files in temp buffers.
11634
11635 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11636 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11637 (f90-start-block-re, f90-imenu-generic-expression)
11638 (f90-looking-at-program-block-start, f90-no-block-limit):
11639 Add support for submodules.
11640
11641 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11642 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11643
11644 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11645
11646 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11647 buffer-file-type before setting its value, to avoid disastrous
11648 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11649
11650 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11651
11652 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11653
11654 * ses.el (ses-unload-function):
11655 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11656
11657 * proced.el (proced-unload-function):
11658 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11659
11660 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11661
11662 * server.el (server-create-window-system-frame): Add parameters arg.
11663 (server-process-filter): Doc fix. Handle frame-parameters.
11664
11665 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11666
11667 Fix bug#8730, bug#8781.
11668
11669 * loadhist.el (unload--set-major-mode): New function.
11670 (unload-feature): Use it.
11671
11672 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11673 (python-unload-function): New function.
11674
11675 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11676
11677 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11678
11679 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11680
11681 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11682 the candidates list.
11683
11684 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11685
11686 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11687
11688 2011-06-23 Richard Stallman <rms@gnu.org>
11689
11690 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11691 (rmail-variables): Set next-error-move-function.
11692 (rmail-what-message): Take argument POS.
11693 (rmail-next-error-move): New function.
11694
11695 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11698 messages for adjacent non-terminals.
11699
11700 2011-06-23 Richard Stallman <rms@gnu.org>
11701
11702 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11703 (rmail-show-message-1): Preserve buffer modified flag.
11704 (rmail-start-mail): Don't specify use of rmail-mail-return;
11705 that's done by mail-bury now.
11706 (rmail-mail-return): Handle arg NEWBUF.
11707
11708 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11709
11710 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11711 SIZE is a number.
11712
11713 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11714
11715 * window.el (get-lru-window, get-mru-window)
11716 (get-largest-window): Never return a minibuffer window.
11717 (display-buffer-pop-up-window): Fix a bug that could lead to
11718 reusing the minibuffer window.
11719 (display-buffer): Pass original specifier argument to
11720 display-buffer-function instead of the normalized one.
11721 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11722
11723 2011-06-22 Leo Liu <sdl.web@gmail.com>
11724
11725 * minibuffer.el (completing-read-function)
11726 (completing-read-default): Move from minibuf.c
11727
11728 2011-06-22 Richard Stallman <rms@gnu.org>
11729
11730 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11731 to Rmail even if not started by a special Rmail command.
11732
11733 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11734 Copy the buffer currently showing just one message.
11735
11736 2011-06-22 Roland Winkler <winkler@gnu.org>
11737
11738 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11739 (bibtex-clean-entry): First delete the old key so that a
11740 customized algorithm for generating the new key does not get
11741 confused by the old key.
11742 (bibtex-url): Obey regexp of first step.
11743 (bibtex-search-entries): Do not use add-to-list with local
11744 list-var.
11745
11746 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11747
11748 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11749 stored a user name, then query for the password first, instead of
11750 waiting for SMTP to give an error message and the trying again.
11751
11752 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11753
11754 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11755 BUFFER in call-process.
11756
11757 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11758
11759 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11760 QUIT twice.
11761 (smtpmail-try-auth-methods): Require user name and password from
11762 auth-source.
11763
11764 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11765
11766 * window.el (display-buffer-default-specifiers)
11767 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11768 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11769 (split-window): Normalize SIDE argument (Bug#8916).
11770
11771 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11772 (special-display-frame-alist, special-display-popup-frame):
11773 Remove duplicate declarations. These are now in window.el.
11774
11775 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11776
11777 * mail/smtpmail.el (smtpmail-via-smtp):
11778 Set :use-starttls-if-possible so that we always use STARTTLS if the
11779 server supports it. SMTP servers that support STARTTLS commonly
11780 require it.
11781
11782 * net/network-stream.el (network-stream-open-starttls): Support
11783 upgrading to STARTTLS always, even if we don't have built-in support.
11784 (open-network-stream): Add the :always-query-capabilities keyword.
11785
11786 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11787 upgrades with `open-network-stream', and rely solely on
11788 auth-source for all credentials. Big changes throughout the file,
11789 but in particular:
11790 (smtpmail-auth-credentials): Remove.
11791 (smtpmail-starttls-credentials): Remove.
11792 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11793 MAIL FROM, too.
11794
11795 * net/network-stream.el (network-stream-open-starttls):
11796 Provide support for client certificates both for external and built-in
11797 STARTTLS.
11798 (auth-source): Require.
11799 (open-network-stream): Document the :client-certificate keyword.
11800 (network-stream-certificate): Change cert-cert to cert and
11801 cert-key to key.
11802
11803 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11804
11805 * net/tramp-cache.el (top): Don't load the persistency file when
11806 "emacs -Q" has been called.
11807
11808 2011-06-21 Tim Harper <timcharper@gmail.com>
11809
11810 * term/ns-win.el (ns-initialize-window-system):
11811 Set application-specific `ApplePressAndHoldEnabled' system
11812 resource to NO as it is not yet supported by the NS port.
11813
11814 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11815
11816 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11817 (list-dynamic-libraries): ...not here.
11818
11819 2011-06-21 Leo Liu <sdl.web@gmail.com>
11820
11821 * subr.el (sha1): Implement sha1 using secure-hash.
11822
11823 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11824
11825 * window.el (display-buffer-alist): In default value do not
11826 enforce searching a window on any but the selected frame.
11827 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11828 (display-buffer-select-window): Remove function.
11829 (display-buffer-in-window): When a window on another frame gets
11830 reused, do not select it any more but just raise its frame if
11831 necessary (Bug#8851) and (Bug#8856).
11832 (display-buffer-normalize-options): Handle pop-up-frames related
11833 options more faithfully.
11834 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11835 window if it is on another frame.
11836 (display-buffer-alist, display-buffer-default-specifiers):
11837 Don't make new frame unsplittable by default.
11838 (display-buffer-normalize-argument): Fix doc-string typo and use
11839 'same-frame-other-window instead of 'other-window when associating
11840 with display-buffer-macro-specifiers.
11841
11842 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11843
11844 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11845 New functions.
11846 (5x5-mode-map, 5x5-mode-menu): Bind them.
11847 (5x5-draw-grid): Tweak the solver's rendering.
11848
11849 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11850
11851 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11852 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11853
11854 2011-06-21 Drew Adams <drew.adams@oracle.com>
11855
11856 * menu-bar.el: Use function variable instead of switch-to-buffer.
11857 (menu-bar-select-buffer-function): New variable.
11858 (menu-bar-update-buffers): Use it (bug#8876).
11859
11860 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11861
11862 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11863 variable's status.
11864
11865 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11866
11867 * x-dnd.el (x-dnd-version-from-flags)
11868 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11869 and long as number (Bug#8899).
11870 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11871
11872 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11875 (completion-try-completion, completion-all-completions): Compute the
11876 metadata argument if it's missing; make it optional (bug#8795).
11877
11878 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11879 (widget-complete): Use new :completion-function property.
11880 (widget-completions-at-point): New function.
11881 (default): Use :completion-function instead of :complete.
11882 (widget-default-completions): Rename from widget-default-complete;
11883 Rewrite.
11884 (widget-string-complete, widget-file-complete, widget-color-complete):
11885 Remove functions.
11886 (file, symbol, function, variable, coding-system, color):
11887 * international/mule-cmds.el (default-input-method, charset)
11888 (language-info-custom-alist):
11889 * cus-edit.el (face): Use new property :completions.
11890
11891 * progmodes/pascal.el (pascal-completions-at-point): New function.
11892 (pascal-mode): Use it.
11893 (pascal-mode-map): Use completion-at-point.
11894 (pascal-toggle-completions): Make obsolete.
11895 (pascal-complete-word, pascal-show-completions):
11896 * progmodes/octave-mod.el (octave-complete-symbol):
11897 Redefine as obsolete alias.
11898 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11899 Signal absence of completion info for old Octave,
11900 (inferior-octave-complete): Redefine as obsolete alias.
11901 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11902 (meta-completions-at-point): Rename from meta-complete-symbol and
11903 adapt it for use on completion-at-point-functions.
11904 (meta-common-mode): Use it.
11905 (meta-looking-at-backward, meta-match-buffer): Remove.
11906 (meta-complete-symbol): Redefine as obsolete alias.
11907 (meta-common-mode-map): Use completion-at-point.
11908 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11909 (makefile-mode-map): Use completion-at-point.
11910 (makefile-completions-at-point): Rename from makefile-complete and
11911 adapt it for use on completion-at-point-functions.
11912 (makefile-mode): Use it.
11913 (makefile-complete): Redefine as obsolete alias.
11914
11915 2011-06-20 Deniz Dogan <deniz@dogan.se>
11916
11917 * net/rcirc.el: Delete trailing whitespaces once and for all.
11918
11919 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11920
11921 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11922
11923 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11924
11925 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11926
11927 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11928
11929 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11930
11931 * window.el (display-buffer-other-window-means-other-frame):
11932 Call display-buffer-normalize-alist.
11933 (display-buffer-normalize-specifiers-1): Rename to
11934 display-buffer-normalize-argument. New argument other-frame.
11935 Rewrite.
11936 (display-buffer-normalize-specifiers-2): Rename to
11937 display-buffer-normalize-options.
11938 (display-buffer-normalize-alist-1): New function.
11939 (display-buffer-normalize-specifiers-3): Rename to
11940 display-buffer-normalize-alist.
11941 Call display-buffer-normalize-alist-1.
11942 (display-buffer-normalize-options-inhibit): New variable.
11943 (display-buffer-normalize-specifiers): Rewrite calling
11944 display-buffer-normalize-alist,
11945 display-buffer-normalize-argument, and
11946 display-buffer-normalize-options. Don't call the latter if
11947 display-buffer-normalize-options-inhibit is non-nil.
11948 (frame-auto-delete): New option.
11949 (window-deletable-p): Use frame-auto-delete.
11950 (window-list-no-nils, window-state-ignored-parameters)
11951 (window-state-get-1, window-state-get, window-state-put-list)
11952 (window-state-put-1, window-state-put-2, window-state-put):
11953 New functions.
11954 (display-buffer-normalize-options): Move special-display-p group
11955 after pop-up-frame group (Bug#8851) and (Bug#8856).
11956
11957 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11958
11959 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11960 groups (Bug#8776).
11961 (rx-submatch-n): New function.
11962 (rx): Document it.
11963
11964 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11965 (Bug#8768).
11966
11967 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11968
11969 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11970
11971 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11972 anytime existing face settings are present (Bug#8889).
11973
11974 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11975 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11976 Remove unused argument.
11977
11978 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11979
11980 * window.el (display-buffer-default-specifiers):
11981 Remove pop-up-frame. Add pop-up-window-min-height,
11982 pop-up-window-min-width, and another reuse-window specifier
11983 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11984 (display-buffer-normalize-specifiers-2):
11985 Handle split-height-threshold and split-width-threshold also when
11986 pop-up-windows is unset. Add a reuse-window specifier for the
11987 case popping up a new window fails.
11988 (special-display-popup-frame): Remove double quoting.
11989 (display-buffer-normalize-specifiers-1): Fix thinko.
11990
11991 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11992
11993 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11994 according to comint-completion-addsuffix.
11995
11996 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11997 (pcomplete-suffix-list): Mark as obsolete.
11998 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11999 pcomplete-seen in the closure.
12000 (pcomplete-comint-setup): Setup completion-at-point as well.
12001 (pcomplete--entries): New function.
12002 (pcomplete--env-regexp): New var.
12003 (pcomplete-entries): Rewrite to work with partial-completion and
12004 without relying on pcomplete-suffix-list.
12005 (pcomplete-pare-list): Remove, unused.
12006
12007 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12008
12009 * window.el (display-buffer-alist): Set pop-up-window-min-height
12010 and pop-up-window-min-width in default value. Reported by
12011 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12012 other-window-means-other-frame.
12013 (display-buffer-macro-specifiers): Comment out entry for
12014 other-window specifier.
12015 (display-buffer-other-window-means-other-frame): New function.
12016 (display-buffer-normalize-specifiers-1): New arguments
12017 buffer-name and label. Treat other-window case specially.
12018 (display-buffer-normalize-specifiers-2): Treat other-window case
12019 specially.
12020 (display-buffer-normalize-specifiers-3): New function.
12021 (display-buffer-normalize-specifiers):
12022 Call display-buffer-normalize-specifiers-3.
12023
12024 2011-06-17 Martin Rudalics <rudalics@gmx.at>
12025
12026 * window.el (same-window-p): Fix two typos introduced when
12027 adding with-no-warnings.
12028 (display-buffer-normalize-specifiers-1): Don't check
12029 pop-up-frames for 'unset initialization.
12030 (display-buffer-normalize-specifiers-2): Major rewrite using
12031 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12032 (pop-up-frames, display-buffer-reuse-frames)
12033 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12034 Suggested by David Engster <deng@randomsample.de>.
12035 (even-window-heights): Initialize to 'unset.
12036 (display-buffer-alist-set): Handle new 'unset initializations.
12037 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12038 other window case.
12039
12040 2011-06-16 Martin Rudalics <rudalics@gmx.at>
12041
12042 * window.el (display-buffer-normalize-specifiers-1):
12043 Respect current value of pop-up-frames for most reasonable values of
12044 second argument of display-buffer (Bug#8865).
12045 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12046 (switch-to-buffer-other-window-same-frame)
12047 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12048 Adams (Bug#8875).
12049 (display-buffer): Don't check noninteractive when calling
12050 display-buffer-pop-up-frame.
12051 (display-buffer-pop-up-frame): Never pop up a frame in
12052 noninteractive mode (Bug#8857).
12053 (enlarge-window, shrink-window): Don't report an error when the
12054 window can't be resized as requested (Bug#8862).
12055
12056 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12057
12058 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12059
12060 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12061
12062 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12063
12064 2011-06-15 Alan Mackenzie <acm@muc.de>
12065
12066 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12067 for declarators, disable knr checking to speed up for normal files.
12068 2: Refactor, replacing a sequence of nested if forms by a cond form.
12069
12070 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12071
12072 * net/network-stream.el (open-network-stream): Add the keyword
12073 :always-query-capabilities for the case where you want to force a
12074 `plain' network connection, but the protocol still requires the
12075 capabilitiy command (i.e., SMTP and EHLO).
12076
12077 * subr.el (process-live-p): Rename from `process-alive-p' for
12078 consistency with other `-live-p' functions.
12079
12080 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12081
12082 * window.el (same-window-buffer-names, same-window-regexps)
12083 (special-display-frame-alist, special-display-popup-frame)
12084 (special-display-function, special-display-buffer-names)
12085 (special-display-regexps, pop-up-frame-alist)
12086 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12087 (pop-up-windows, split-window-preferred-function)
12088 (split-height-threshold, split-width-threshold, even-window-heights)
12089 (display-buffer-mark-dedicated): Don't encourage the use of
12090 display-buffer-alist from Elisp code.
12091
12092 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12093
12094 * progmodes/python.el (python-mode): Derive from prog-mode.
12095 * progmodes/ps-mode.el (ps-mode):
12096 * progmodes/mixal-mode.el (mixal-mode):
12097 * progmodes/cfengine.el (cfengine-mode):
12098 * progmodes/ld-script.el (ld-script-mode): Likewise.
12099
12100 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12101
12102 * window.el (display-buffer-alist): Trim default value to avoid
12103 popping up a new frame (Bug#8857) or reusing an arbitrary window
12104 on another frame.
12105 (display-buffer): Do not fall back on popping up a new frame in
12106 batch mode (Bug#8857).
12107
12108 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12109
12110 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12111 (custom-theme-summary): New function.
12112 (customize-themes): Use it.
12113
12114 2011-06-13 Glenn Morris <rgm@gnu.org>
12115
12116 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12117
12118 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12119
12120 * help.el (help-window): Remove variable.
12121 (help-window-point-marker, temp-buffer-max-height)
12122 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12123 (help-print-return-message): Don't set help-window.
12124 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12125 (help-window-setup-finish): Remove.
12126 (help-window-display-message, help-window-setup)
12127 (with-help-window): Major rewrite based on new
12128 display-buffer-window variable.
12129
12130 * help-mode.el (help-mode-finish): Remove help-window related
12131 code.
12132
12133 * view.el (view-exits-all-viewing-windows): Remove reference to
12134 view-return-to-alist in doc-string.
12135 (view-return-to-alist): Make obsolete.
12136 (view-buffer): Call pop-to-buffer-same-window and remove
12137 undo-window code.
12138 (view-buffer-other-window): Call pop-to-buffer-other-window and
12139 simplify code. Ignore second argument.
12140 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12141 simplify code. Ignore second argument.
12142 (view-return-to-alist-update): Make obsolete.
12143 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12144 Rewrite using quit-restore window parameters.
12145 (view-mode-exit): Rename second argument to EXIT-ONLY.
12146 Rewrite using quit-restore-window.
12147 (View-exit, View-exit-and-edit, View-leave, View-quit)
12148 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12149 appropriate arguments.
12150 (view-end-message): Use quit-restore window parameter.
12151
12152 * window.el (display-buffer-function): Rewrite doc-string.
12153 (display-buffer-window, display-buffer-alist): New variables.
12154 (display-buffer-split-specifiers)
12155 (display-buffer-side-specifiers)
12156 (display-buffer-macro-specifiers): New constants.
12157 (display-buffer-even-window-sizes, display-buffer-set-height)
12158 (display-buffer-set-width, display-buffer-select-window)
12159 (display-buffer-in-window, display-buffer-reuse-window)
12160 (display-buffer-split-window-1, display-buffer-split-window)
12161 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12162 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12163 (display-buffer-in-side-window, normalize-buffer-to-display)
12164 (display-buffer-normalize-specifiers-1)
12165 (display-buffer-normalize-specifiers-2)
12166 (display-buffer-normalize-specifiers, display-buffer-frame):
12167 New functions.
12168 (display-buffer): Major rewrite.
12169 (display-buffer-other-window, display-buffer-other-frame)
12170 (pop-to-buffer, switch-to-buffer-other-window)
12171 (switch-to-buffer-other-frame): Rewrite.
12172 (display-buffer-same-window, display-buffer-same-frame)
12173 (display-buffer-same-frame-other-window)
12174 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12175 (pop-to-buffer-other-window)
12176 (pop-to-buffer-same-frame-other-window)
12177 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12178 (switch-to-buffer-other-window-same-frame): New functions.
12179 (same-window-p, special-display-p): Rewrite disabling warnings.
12180 Make obsolete.
12181 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12182 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12183 Make obsolete
12184 (same-window-buffer-names, same-window-regexps)
12185 (special-display-frame-alist, special-display-popup-frame)
12186 (special-display-function, special-display-buffer-names)
12187 (special-display-regexps, pop-up-frame-alist)
12188 (pop-up-frame-function, split-window-preferred-function)
12189 (split-height-threshold, split-width-threshold)
12190 (even-window-heights): Make obsolete.
12191
12192 2011-06-12 Glenn Morris <rgm@gnu.org>
12193
12194 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12195 Misc simplifications.
12196
12197 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12198
12199 * window.el (window-safely-shrinkable-p): Restore function which
12200 was inadvertently removed in change from 2011-06-11. Declare as
12201 obsolete.
12202
12203 * calendar/calendar.el (calendar-generate-window):
12204 Use window-iso-combined-p instead of combination of one-window-p and
12205 window-safely-shrinkable-p.
12206
12207 2011-06-12 Glenn Morris <rgm@gnu.org>
12208
12209 * progmodes/fortran.el (fortran-mode-syntax-table):
12210 * progmodes/f90.el (f90-mode-syntax-table):
12211 Set % to punctuation. (Bug#8820)
12212 (f90-find-tag-default): Remove, no longer needed.
12213
12214 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12215
12216 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12217
12218 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12219
12220 * image.el (image-animated-p): Return animation delay in seconds.
12221 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12222 (image-animate-timeout): Remove DELAY argument. Don't assume
12223 every subimage has the same delay; get it from image-animated-p.
12224 (image-animate): Caller changed.
12225
12226 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12227
12228 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12229 to ignored backtrace functions.
12230
12231 2011-06-11 Glenn Morris <rgm@gnu.org>
12232
12233 * calendar/appt.el (appt-disp-window-function): Doc fix.
12234 (appt-check): Handle overlapping appointments. (Bug#8337)
12235
12236 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12237
12238 * window.el (window-tree-1, window-tree): New functions, moving
12239 the latter to window.el.
12240 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12241 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12242 (bw-refresh-edges): Remove.
12243 (balance-windows-1, balance-windows-2): New functions.
12244 (balance-windows): Rewrite in terms of window tree functions,
12245 balance-windows-1 and balance-windows-2.
12246 (bw-adjust-window): Remove.
12247 (balance-windows-area-adjust): New function with functionality of
12248 bw-adjust-window but using resize-window.
12249 (set-window-text-height): Rewrite doc-string.
12250 Use normalize-live-window and resize-window.
12251 (enlarge-window-horizontally, shrink-window-horizontally):
12252 Rename argument to DELTA.
12253 (window-buffer-height): New function.
12254 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12255 Rewrite using new window resize routines.
12256 (kill-buffer-and-window, mouse-autoselect-window-select):
12257 Use ignore-errors instead of condition-case.
12258 (quit-window): Call delete-frame instead of delete-windows-on
12259 for the only buffer on frame.
12260
12261 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12262
12263 * loadup.el (top-level): Load window before files for the sake
12264 of replace-buffer-in-windows.
12265
12266 * files.el (read-buffer-to-switch)
12267 (switch-to-buffer-other-window)
12268 (switch-to-buffer-other-frame, display-buffer-other-frame):
12269 Move to window.el.
12270
12271 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12272 (previous-buffer): Move to window.el.
12273
12274 * bindings.el (unbury-buffer): Move to window.el.
12275
12276 * window.el (delete-other-windows-vertically): Move after
12277 definition of delete-other-windows.
12278 (other-window, delete-windows-on, replace-buffer-in-windows):
12279 Move here from window.c.
12280 (record-window-buffer, unrecord-window-buffer)
12281 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12282 (switch-to-next-buffer): New functions.
12283 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12284 from simple.el. Call switch-to-next-buffer.
12285 (previous-buffer): Move here from simple.el.
12286 Call switch-to-prev-buffer.
12287 (bury-buffer): Move here from buffer.c. Switch to previous
12288 buffer when window cannot be deleted.
12289 (unbury-buffer): Move here from bindings.el.
12290 (ctl-x-map): Move binding for other-window from window.c to
12291 here.
12292 (read-buffer-to-switch, switch-to-buffer-other-window)
12293 (switch-to-buffer-other-frame): Move here from files.el.
12294 (normalize-buffer-to-switch-to): New functions.
12295 (switch-to-buffer): Move here from buffer.c.
12296 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12297
12298 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12299
12300 * window.el (window-min-height, window-min-width): Move here
12301 from window.c. Add defcustoms and rewrite doc-strings.
12302 (resize-mini-window, resize-window): New functions.
12303 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12304 Move here from window.c.
12305 (maximize-window, minimize-window): New functions.
12306 (delete-window, delete-other-windows, split-window): Move here
12307 from window.c.
12308 (window-split-min-size): New function.
12309 (split-window-keep-point): Mention split-window-above-each-other
12310 instead of split-window-vertically.
12311 (split-window-above-each-other, split-window-vertically):
12312 Rename split-window-vertically to split-window-above-each-other
12313 and provide defalias for old definition.
12314 (split-window-side-by-side, split-window-horizontally):
12315 Rename split-window-horizontally to split-window-side-by-side
12316 and provide defalias for the old definition.
12317 (ctl-x-map): Move bindings for delete-window,
12318 delete-other-windows and enlarge-window here from window.c.
12319 Replace bindings for split-window-vertically and
12320 split-window-horizontally by bindings for
12321 split-window-above-each-other and split-window-side-by-side.
12322
12323 * cus-start.el (all): Remove entries for window-min-height and
12324 window-min-width. Add entries for window-splits and
12325 window-nest.
12326
12327 2011-06-09 Glenn Morris <rgm@gnu.org>
12328
12329 * calendar/appt.el (appt-mode-line): New function.
12330 (appt-check, appt-disp-window): Use it.
12331
12332 * files.el (hack-one-local-variable-eval-safep):
12333 Allow minor-modes with explicit +/-1 arguments.
12334
12335 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12336
12337 * term/xterm.el (xterm): Add defgroup.
12338 (xterm-extra-capabilities): Add defcustom to supply known xterm
12339 capabilities, skip querying them, or query them (default).
12340 (terminal-init-xterm): Use it.
12341 (terminal-init-xterm-modify-other-keys): New function to set up
12342 modifyOtherKeys support to simplify `terminal-init-xterm'.
12343
12344 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12345
12346 * window.el (resize-window-reset, resize-window-reset-1)
12347 (resize-subwindows-skip-p, resize-subwindows-normal)
12348 (resize-subwindows, resize-other-windows, resize-this-window)
12349 (resize-root-window, resize-root-window-vertically)
12350 (window-deletable-p, window-or-subwindow-p)
12351 (frame-root-window-p): New functions.
12352
12353 2011-06-09 Glenn Morris <rgm@gnu.org>
12354
12355 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12356 (ange-ftp-get-files): Use it.
12357
12358 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12359
12360 * mail/sendmail.el (mail-recover-1, mail-recover):
12361 * files.el (recover-file, recover-session):
12362 Handle dired-listing-switches not being just a single short option.
12363
12364 2011-06-09 Glenn Morris <rgm@gnu.org>
12365
12366 * calendar/appt.el (appt-display-message, appt-disp-window):
12367 Handle lists of appointments.
12368
12369 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12370
12371 * window.el (one-window-p): Move down in code.
12372 Rewrite doc-string.
12373 (window-current-scroll-bars): Rewrite doc-string.
12374 Normalize live window argument.
12375 (walk-windows, get-window-with-predicate, count-windows):
12376 Rewrite doc-string. Use window-list-1.
12377 (window-in-direction-2, window-in-direction, get-mru-window):
12378 New functions.
12379
12380 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12381
12382 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12383 Doc fix (Bug#8713).
12384
12385 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12386
12387 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12388
12389 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12390
12391 * loadhist.el (unload-feature-special-hooks):
12392 Add `comint-output-filter-functions'.
12393
12394 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12395
12396 * calendar/appt.el (appt-check): Move some initializations into the let.
12397
12398 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12399
12400 * window.el (window-height): Defalias to window-total-height.
12401 (window-width): Defalias to window-body-width.
12402
12403 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12404
12405 * image-mode.el (image-toggle-animation): New command.
12406 (image-mode-map): Bind it to RET.
12407 (image-mode): Update message.
12408 (image-toggle-display-image): Avoid a spurious cache flush.
12409 (image-transform-rotation): Doc fix.
12410 (image-transform-properties): Return quickly in the normal case.
12411 (image-animate-loop): Rename from image-animate-max-time.
12412
12413 * image.el (image-animate-max-time): Move to image-mode.el.
12414 (create-animated-image): Remove unnecessary function.
12415 (image-animate): Rename from image-animate-start. New arg.
12416 (image-animate-stop): Remove; just use image-animate-timer.
12417 (image-animate-timer): Use car-safe.
12418 (image-animate-timeout): Rename argument.
12419
12420 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12421
12422 * window.el (get-lru-window, get-largest-window): Move here from
12423 window.c. Rename first argument to ALL-FRAMES.
12424 Rephrase doc-strings.
12425 (get-buffer-window-list): Rewrite using window-list-1.
12426 Rephrase doc-string.
12427 (window-safe-min-height, window-safe-min-width): New constants.
12428 (window-size-ignore, window-min-size, window-min-size-1)
12429 (window-sizable, window-sizable-p, window-size-fixed-1)
12430 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12431 (window-max-delta-1, window-max-delta, window-resizable)
12432 (window-resizable-p, window-total-height, window-total-width)
12433 (window-body-width): New functions.
12434 (window-full-height-p, window-full-width-p): Rewrite using
12435 window-total-size.
12436 (window-body-height): Rewrite using window-body-size.
12437
12438 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12439
12440 * window.el (window-right, window-left, window-child)
12441 (window-child-count, window-last-child, window-any-p)
12442 (normalize-live-buffer, normalize-live-frame)
12443 (normalize-any-window, normalize-live-window)
12444 (window-iso-combination-p, window-iso-combined-p)
12445 (window-iso-combinations)
12446 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12447 (windows-with-parameter, window-with-parameter)
12448 (window-atom-root, make-window-atom, window-atom-check-1)
12449 (window-atom-check, window-side-check, window-check):
12450 New functions.
12451 (ignore-window-parameters, window-sides, window-sides-vertical)
12452 (window-sides-slots): New variables.
12453 (window-size-fixed): Move down in code. Minor doc-string fix.
12454
12455 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12456
12457 * comint.el (comint-dynamic-complete-as-filename)
12458 (comint-dynamic-complete-filename): Correctly call
12459 completion-in-region.
12460
12461 2011-06-05 Deniz Dogan <deniz@dogan.se>
12462
12463 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12464 in last change.
12465
12466 2011-06-05 Deniz Dogan <deniz@dogan.se>
12467
12468 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12469 (rcirc): Use it to prompt for encryption.
12470
12471 2011-06-05 Roland Winkler <winkler@gnu.org>
12472
12473 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12474 (bibtex-search-entries): New command bound to C-c C-a.
12475 (bibtex-display-entries): New function.
12476
12477 2011-06-05 Roland Winkler <winkler@gnu.org>
12478
12479 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12480 (bibtex-insert-kill): After yanking insert newline if necessary.
12481 (bibtex-initialize): Call bibtex-string-files-init only once.
12482 (bibtex-mode): Do not call easy-menu-add.
12483 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12484 (bibtex-yank): Set arg properly if nil.
12485
12486 2011-06-05 Roland Winkler <winkler@gnu.org>
12487
12488 * textmodes/bibtex.el (bibtex-search-entry-globally):
12489 New variable.
12490 (bibtex-search-entry): Use it.
12491
12492 2011-06-05 Roland Winkler <winkler@gnu.org>
12493
12494 * textmodes/bibtex.el (bibtex-entry-format): New option
12495 sort-fields.
12496 (bibtex-format-entry, bibtex-reformat): Honor this option.
12497 (bibtex-parse-entry): Return fields in proper order.
12498
12499 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12500
12501 * doc-view.el (doc-view-remove-if): Move computation of result out
12502 of `dolist' to silence misleading lexical-binding warning.
12503
12504 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12505
12506 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12507 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12508
12509 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12510
12511 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12512 "SunOS 5.10".
12513
12514 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12515
12516 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12517 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12518 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12519 (tramp-parse-putty):
12520 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12521 (tramp-completion-function-alist-ssh)
12522 (tramp-completion-function-alist-telnet)
12523 (tramp-completion-function-alist-su)
12524 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12525 cookie.
12526
12527 * net/tramp-ftp.el:
12528 * net/tramp-sh.el:
12529 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12530 load "tramp.el" `tramp-set-completion-function'.
12531
12532 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12533
12534 * shell.el: Require and use pcomplete.
12535 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12536 (shell-completion-vars): Set pcomplete-default-completion-function.
12537
12538 2011-06-04 Deniz Dogan <deniz@dogan.se>
12539
12540 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12541 `memq' (Bug#8799).
12542
12543 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12546
12547 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12548
12549 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12550 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12551 * vc/log-view.el (log-view-beginning-of-defun):
12552 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12553 (smerge-refine-forward, smerge-refine-chopup-region):
12554 Silence warning for unused `dotimes' counter variables.
12555
12556 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * net/tramp.el (tramp-with-progress-reporter): Rename from
12559 with-progress-reporter. Use `declare'.
12560 * net/tramp-smb.el:
12561 * net/tramp-sh.el:
12562 * net/tramp-gvfs.el: Update all uses.
12563
12564 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12565
12566 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12567 buffer isn't killed before making it current.
12568
12569 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 Silence various byte-compiler warnings.
12572 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12573 `access-type' and new obsolescence format.
12574 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12575 new format.
12576 (byte-compile-check-variable): New `access-type' argument.
12577 Only warn if the access-type is obsolete.
12578 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12579 (byte-compile-variable-set): Adjust callers.
12580 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12581 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12582 setting it as obsolete.
12583 * simple.el (minibuffer-completing-symbol):
12584 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12585 access as obsolete.
12586 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12587 obsolete yet.
12588 * international/quail.el (quail-mouse-choose-completion): Remove unused
12589 code referring to obsolete var.
12590 (quail-choose-completion-string): Remove.
12591 * server.el (server-clients-with, server-kill-buffer-query-function)
12592 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12593 * proced.el (proced-send-signal):
12594 * emacs-lisp/lisp.el (lisp-complete-symbol):
12595 Replace completion-annotate-function with completion-extra-properties.
12596
12597 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * simple.el (goto-line): Use read-number.
12600 (overriding-map-is-bound): Remove.
12601 (saved-overriding-map): Change default.
12602 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12603 Take the map as argument.
12604 (universal-argument, negative-argument, digit-argument): Use it.
12605 (restore-overriding-map): Adjust.
12606 (do-auto-fill): Use fill-forward-paragraph.
12607 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12608
12609 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12610 (minibuffer-inactive-mode): New major mode.
12611 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12612 the *Messages* buffer" hack.
12613 (mouse-popup-menubar): Don't burp if the event is a normal key.
12614
12615 Miscellaneous tweaks.
12616 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12617 lexical scoping as in subr.el's dolist and dotimes.
12618 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12619 Silence compiler warning.
12620 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12621 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12622 * international/ccl.el (ccl-compile): Trivial simplification.
12623 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12624 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12625 `printflag' argument.
12626 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12627 Purecopy the whole obsolescence data.
12628
12629 2011-06-01 Leo Liu <sdl.web@gmail.com>
12630
12631 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12632 improve doc-string as suggested by Marco Pessotto
12633 <melmothx@gmail.com>.
12634 (rcirc-print): Fix last change.
12635
12636 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * minibuffer.el (complete-with-action): Return nil for the metadata and
12639 boundaries of non-functional tables.
12640 (completion-table-dynamic): Return nil for the metadata.
12641 (completion-table-with-terminator): Add default case, using
12642 complete-with-action.
12643 (completion--metadata): New function.
12644 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12645 to try and avoid pathological performance problems.
12646 (completion--embedded-envvar-table): Return `category' metadata.
12647
12648 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
12650 * subr.el (process-alive-p): New tiny convenience function.
12651
12652 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12653
12654 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12655 content but also its previous major mode.
12656
12657 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12658
12659 * emacs-lisp/debug.el (debug): Restore the previous content of the
12660 *Backtrace* buffer when we exit with C-M-c.
12661
12662 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12663
12664 * minibuffer.el: Add metadata method to completion tables.
12665 (completion-category-overrides): New defcustom.
12666 (completion-metadata, completion--field-metadata)
12667 (completion-metadata-get, completion--styles)
12668 (completion--cycle-threshold): New functions.
12669 (completion-try-completion, completion-all-completions):
12670 Add `metadata' argument to choose completion-styles.
12671 (completion--do-completion): Use metadata to choose cycling.
12672 (completion-all-sorted-completions): Use metadata for sorting.
12673 Remove :completion-cycle-penalty which is not needed any more.
12674 (completion--try-word-completion): Add `metadata' argument.
12675 (minibuffer-completion-help): Check metadata for annotation function
12676 and sorting.
12677 (completion-file-name-table): Return `category' metadata.
12678 (minibuffer-completing-file-name): Make obsolete.
12679 * simple.el (minibuffer-completing-symbol): Make obsolete.
12680 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12681 completion-try-completion.
12682
12683 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12684
12685 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12686
12687 2011-05-30 Leo Liu <sdl.web@gmail.com>
12688
12689 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12690 (rcirc-print): Decode all incoming messages (bug#8744).
12691 (rcirc-decode-coding-system): Allow value nil for automatic coding
12692 system detection.
12693
12694 2011-06-01 Glenn Morris <rgm@gnu.org>
12695
12696 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12697
12698 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12699
12700 * image.el (image-animate-max-time): Allow nil and t values.
12701 Default to nil.
12702 (create-animated-image): Doc fix.
12703 (image-animate-start): Remove second arg; just use
12704 image-animate-max-time.
12705 (image-animate-timeout): Doc fix. Args changed.
12706
12707 * image-mode.el (image-toggle-display-image): Ensure that the
12708 image spec passed to the animate timer is the same object as in
12709 the buffer's display property (Bug#6981).
12710 (image-transform-properties): Doc fix.
12711
12712 * image.el (image-animate-max-time): Default to nil.
12713
12714 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12715
12716 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12717 entire buffer list (Bug#8184).
12718
12719 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12720
12721 * image.el (imagemagick-types-inhibit)
12722 (imagemagick-register-types): Doc fix.
12723
12724 2011-05-29 Deniz Dogan <deniz@dogan.se>
12725
12726 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12727 default.
12728
12729 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12730
12731 * select.el: Don't perform clipboard-manager saving in hooks;
12732 leave the hooks empty.
12733
12734 2011-05-28 Leo Liu <sdl.web@gmail.com>
12735
12736 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12737 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12738 (occur-edit-mode): New major mode (Bug#8463).
12739 (occur-after-change-function): New function.
12740 (occur-engine): Give Occur tags a read-only property.
12741
12742 2011-05-28 Kevin Ryde <user42@zip.com.au>
12743
12744 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12745
12746 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12747
12748 * bindings.el (help-echo): Make the initial non-indicator dash
12749 empty on graphical terminals (Bug#7295).
12750
12751 * files.el (auto-mode-alist): Move config rule after the
12752 in-stripping one (Bug#8547).
12753
12754 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12755
12756 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12757 setting (Bug#8740).
12758
12759 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12760
12761 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12762 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12763 (Bug#8539).
12764
12765 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12766
12767 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12768
12769 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12770
12771 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12772 (hs-hide-block-at-point, hs-find-block-beginning)
12773 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12774 (Bug#8279).
12775
12776 2011-05-28 Glenn Morris <rgm@gnu.org>
12777
12778 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12779
12780 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12781
12782 * help-fns.el (describe-function-1): If the function is a derived
12783 major mode, print the parent mode.
12784
12785 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12786 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12787
12788 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12789
12790 * minibuffer.el (completion--capf-wrapper): Check applicability before
12791 returning non-nil for non-exclusive completion data.
12792 * progmodes/etags.el (tags-completion-at-point-function):
12793 * info-look.el (info-lookup-completions-at-point): Mark as
12794 non-exclusive.
12795 (info-complete): Adjust accordingly.
12796
12797 * info-look.el: Convert to lexical-binding and completion-at-point.
12798 (info-lookup-completions-at-point): New function.
12799 (info-complete): Use it and completion-in-region.
12800
12801 2011-05-28 Drew Adams <drew.adams@oracle.com>
12802
12803 * isearch.el: Let M-e start with point at the first mismatched char.
12804 (isearch-fail-pos): New function.
12805 (isearch-edit-string): Use it.
12806
12807 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12808
12809 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12810
12811 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12812
12813 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12814 traversal functions for avl-trees.
12815 (avl-tree--stack): New struct.
12816 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12817 (avl-tree-enter): Add optional `updatefun' arg.
12818 (avl-tree--do-enter): Add optional `updatefun' arg.
12819 Change return value.
12820 (avl-tree-delete): Add optional `test' and `nilflag' args.
12821 (avl-tree--do-delete): Add `test' and `nilflag' args.
12822 Change return value.
12823 (avl-tree-member): Add optional `nilflag'
12824 (avl-tree-member-p): New function.
12825 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12826 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12827 (avl-tree-stack-empty-p): New functions.
12828
12829 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12830 avl-tree--del-balance1 and make it work both ways.
12831 (avl-tree--del-balance2): Remove.
12832 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12833 make it work both ways.
12834 (avl-tree--enter-balance2): Remove.
12835 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12836 New macros.
12837 (avl-tree--mapc, avl-tree-map): Add direction argument.
12838
12839 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12840
12841 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12842
12843 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12844
12845 * select.el: Support clipboard managers with built-in function
12846 x-clipboard-manager-save, via delete-frame-functions and
12847 kill-emacs-hook.
12848 (xselect-convert-to-targets): Add MULTIPLE target to list.
12849 (xselect-convert-to-save-targets): New function.
12850
12851 2011-05-27 Kenichi Handa <handa@m17n.org>
12852
12853 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12854 let-binding rfc2047-encode-encoded-words to nil.
12855
12856 2011-05-27 Glenn Morris <rgm@gnu.org>
12857
12858 * mail/emacsbug.el: Don't require url-util.
12859
12860 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12861
12862 * files.el (set-auto-mode):
12863 Also respect mode: entries at the end of the file. (Bug#8586)
12864
12865 2011-05-26 Glenn Morris <rgm@gnu.org>
12866
12867 * files.el (hack-local-variables-prop-line, hack-local-variables):
12868 Downcase mode names, as seems to be traditional.
12869 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12870
12871 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12872 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12873
12874 2011-05-25 Julien Danjou <julien@danjou.info>
12875
12876 * textmodes/rst.el (rst-define-level-faces): Do not define face
12877 symbol if it is already defined.
12878
12879 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12880
12881 * play/5x5.el (5x5-new-game, 5x5-randomize):
12882 Reset 5x5-solver-output to nil when a new grid is cast.
12883 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12884 these debugging traces, as defmacro breaks the compiled code.
12885
12886 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12887
12888 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12889
12890 2011-05-24 Leo Liu <sdl.web@gmail.com>
12891
12892 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12893 (vc-bzr-sha1): Adapt.
12894
12895 * sha1.el: Remove. Function `sha1' is now builtin.
12896
12897 * bindings.el: Provide sha1 feature.
12898
12899 2011-05-24 Kenichi Handa <handa@m17n.org>
12900
12901 * mail/sendmail.el: Require `rfc2047'.
12902 (mail-insert-from-field): Do not perform RFC2047 encoding.
12903 (mail-encode-header): New function.
12904 (sendmail-send-it): Set buffer-file-coding-system of the work
12905 buffer to the return value of select-message-coding-system.
12906 Call mail-encode-header.
12907
12908 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12909
12910 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12911
12912 * mail/supercite.el (sc-default-cite-frame):
12913 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12914
12915 2011-05-24 Glenn Morris <rgm@gnu.org>
12916
12917 * progmodes/python.el (brm-menu): Declare.
12918
12919 * emulation/viper.el (viper-set-hooks): Declare.
12920
12921 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12922 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12923 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12924 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12925 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12926 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12927
12928 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 Add an :exit-function for completion-at-point.
12931
12932 * minibuffer.el (completion--done): New fun.
12933 (completion--do-completion): Use it. New arg `expect-exact'.
12934 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12935 since completion--do-completion does it for us now.
12936 (minibuffer-force-complete): Use completion--done and
12937 completion--replace. Handle sole-completion case with more care.
12938 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12939 (completion-extra-properties): New var.
12940 (completion-annotate-function): Make obsolete.
12941 (minibuffer-completion-help): Adjust accordingly.
12942 Use completion-list-insert-choice-function.
12943 (completion-at-point, completion-help-at-point):
12944 Bind completion-extra-properties.
12945 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12946 * simple.el (completion-list-insert-choice-function): New var.
12947 (completion-setup-function): Preserve it.
12948 (choose-completion): Pay attention to it, shuffle the code a bit.
12949 (choose-completion-string): New arg `insert-function'.
12950
12951 * textmodes/bibtex.el: Convert to lexical binding.
12952 (bibtex-mode-map): Use completion-at-point.
12953 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12954 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12955 (bibtex-complete): Define as obsolete alias.
12956 (bibtex-complete-internal): Remove.
12957 (bibtex-format-entry): Remove unused sub-group in regexp.
12958 * shell.el (shell--command-completion-data)
12959 (shell-environment-variable-completion):
12960 * pcomplete.el (pcomplete-completions-at-point):
12961 * comint.el (comint--complete-file-name-data): Use :exit-function
12962 instead of completion-table-with-terminator so it also works for
12963 choose-completion.
12964
12965 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12968
12969 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12970 (bug#8710).
12971
12972 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12973
12974 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12975
12976 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12977 customization variable and implement: If non-nil, auto-fill will
12978 be inhibited while on topic's header line.
12979
12980 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12981
12982 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12983 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12984 always have a solution in grid size = 5 cases.
12985 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12986 (5x5-solver-output, 5x5-log-buffer): New vars.
12987 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12988 Make these variables buffer local to achieve 5x5 multi-session-ness.
12989 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12990 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12991 (5x5-solve-suggest): New funs.
12992 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12993 randomize a grid so that we ensure that there is always a solution.
12994 (5x5-make-random-grid): Allow other movement than flipping.
12995
12996 2011-05-23 Kevin Ryde <user42@zip.com.au>
12997
12998 * emacs-lisp/advice.el (ad-read-advised-function):
12999 Use `function-called-at-point' as the default, if it has
13000 advice and passes PREDICATE.
13001
13002 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13003
13004 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13005 byte-compile-lambda if it's actually a lambda.
13006
13007 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13008 Fix function quoting. Use backquote better.
13009
13010 2011-05-22 Yuanle Song <sylecn@gmail.com>
13011
13012 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13013 matching (Bug#8516).
13014
13015 2011-01-22 Jari Aalto <jari.aalto@cante.net>
13016
13017 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13018 different face (Bug#8178).
13019
13020 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
13021
13022 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13023 defface (Bug#8144).
13024
13025 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13026
13027 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13028 funcall as well (bug#8712). Warn when performing those conversions.
13029 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13030
13031 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13032
13033 2011-05-22 Glenn Morris <rgm@gnu.org>
13034
13035 * files.el (hack-local-variables-prop-line): Small simplifications.
13036 (hack-local-variables, hack-local-variables-prop-line):
13037 If MODE-ONLY, return the mode, rather than just `t'.
13038
13039 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13042
13043 2011-05-21 Glenn Morris <rgm@gnu.org>
13044
13045 * files.el (hack-local-variables-prop-line, hack-local-variables):
13046 If only interested in the mode, don't bother doing the other stuff.
13047
13048 * image-mode.el (image-after-revert-hook):
13049 Redraw all frames on which the image is visible. (Bug#8567)
13050
13051 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13052
13053 * wid-edit.el (widget-checklist-match-inline):
13054 Fix 2011-04-19 change. (Bug#8649)
13055
13056 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13059 Also allow singlespace after single-letter capitals followed by a dot.
13060
13061 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13062 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13063
13064 2011-05-20 Nix <nix@esperi.org.uk>
13065
13066 * files.el (basic-save-buffer-2):
13067 Fix handling of break-hardlink-on-save with non-existent files.
13068
13069 2011-05-19 Deniz Dogan <deniz@dogan.se>
13070
13071 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13072 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13073
13074 2011-05-19 Glenn Morris <rgm@gnu.org>
13075
13076 * progmodes/f90.el (f90-type-def-re):
13077 Handle "type, bind(c)". (Bug#8691)
13078
13079 * emacs-lisp/autoload.el (batch-update-autoloads):
13080 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13081
13082 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13083
13084 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13085 property for the correct connection in case of multihops.
13086
13087 2011-05-18 Glenn Morris <rgm@gnu.org>
13088
13089 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13090 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13091
13092 Rationalize calendar handling of day and month abbrev-arrays.
13093 * calendar/calendar.el (calendar-customized-p): New function.
13094 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13095 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13096 Add :set function.
13097 (calendar-abbrev-length, calendar-day-abbrev-array)
13098 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13099 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13100 Elements may no longer be nil.
13101 (calendar-day-name, calendar-month-name):
13102 Update for changed nature of abbrev arrays.
13103 * calendar/diary-lib.el (diary-name-pattern):
13104 Update for changed nature of abbrev arrays.
13105 (diary-mark-entries-1): Update calendar-make-alist calls.
13106 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13107 * calendar/cal-html.el (cal-html-day-abbrev-array):
13108 Simply inherit from calendar-day-abbrev-array.
13109
13110 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13111
13112 * progmodes/grep.el (grep-mode): Disable default
13113 compilation-directory-matcher setting (bug#8684).
13114
13115 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13116
13117 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13118 instead of "head" and "tail". There were problems with SunOS 5.9,
13119 and it performs better.
13120
13121 2011-05-17 Glenn Morris <rgm@gnu.org>
13122
13123 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13124
13125 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13126 Replace obsolete function.
13127
13128 * shell.el (pcomplete-parse-arguments-function): Declare.
13129
13130 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13131 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13132 (appt-check): Doc fixes.
13133 (appt-disp-window-function, appt-delete-window-function):
13134 Remove needless special case in custom :type.
13135 (appt-display-count): Default to 0, not nil.
13136 (appt-check): Reset appt-display-count to 0, not nil.
13137
13138 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13139
13140 * progmodes/python.el (python-font-lock-keywords):
13141 Add the Python 3.X keyword "nonlocal" (bug#8639).
13142
13143 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13144
13145 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13146
13147 2011-05-16 Kevin Ryde <user42@zip.com.au>
13148
13149 * info-look.el (makefile-automake-mode): New setups, looking in
13150 automake manual, then makefile-mode.
13151 (makefile-mode): Remove automake manual, have it just in
13152 makefile-automake-mode since there's various things different or
13153 not relevant to plain make.
13154 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13155 believe a hypothetical automake-mode would go to makefile-mode,
13156 not the other way around.
13157
13158 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13159
13160 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13161 hunk-end tags (Bug#8672).
13162
13163 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13164 vc-annotate-show-diff-revision-at-line (Bug#8671).
13165
13166 2011-05-14 Glenn Morris <rgm@gnu.org>
13167
13168 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13169 in the middle of an existing one with multiple authors. (Bug#8645)
13170 (change-log-font-lock-keywords): Also handle multiple author lines
13171 with leading tabs. (Bug#8644)
13172
13173 * calendar/appt.el (appt-check): Rename some local variables.
13174 Some simplification/reordering.
13175
13176 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13177 (feedmail-sendmail-f-doesnt-sell-me-out)
13178 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13179 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13180 (feedmail-queue-runner-message-sender): Set :version.
13181 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13182 (bbdb-dwim-net-address, vm-mail): Declare.
13183 (feedmail-binmail-gnulinuxish-template):
13184 Rename from feedmail-binmail-linuxish-template.
13185 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13186 Use insert-buffer-substring.
13187
13188 2011-05-14 Bill Carpenter <bill@carpenter.org>
13189
13190 * mail/feedmail.el (feedmail-patch-level): Increase.
13191 (feedmail-debug): New custom group.
13192 (feedmail-confirm-outgoing-timeout)
13193 (feedmail-sendmail-f-doesnt-sell-me-out)
13194 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13195 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13196 (feedmail-sender-line, feedmail-from-line)
13197 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13198 (feedmail-spray-this-address)
13199 (feedmail-spray-address-fiddle-plex-list)
13200 (feedmail-queue-use-send-time-for-date)
13201 (feedmail-queue-use-send-time-for-message-id)
13202 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13203 (feedmail-buffer-eating-function):
13204 Doc fixes.
13205 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13206 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13207 (feedmail-message-action-scroll-down): New functions.
13208 (feedmail-queue-directory, feedmail-queue-draft-directory):
13209 Use expand-file-name.
13210 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13211 Remove C-v help entry.
13212 (feedmail-queue-buffer-file-name): New variable.
13213 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13214 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13215 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13216 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13217 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13218 (feedmail-message-action-toggle-spray)
13219 (feedmail-run-the-queue-no-prompts)
13220 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13221 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13222 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13223 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13224 (feedmail-envelope-deducer, feedmail-fiddle-from)
13225 (feedmail-fiddle-sender, feedmail-default-date-generator)
13226 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13227 (feedmail-fiddle-spray-address)
13228 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13229 (feedmail-fiddle-list-of-fiddle-plexes)
13230 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13231 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13232 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13233 Change default. Doc fix.
13234 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13235 (feedmail-binmail-linuxish-template): New constant.
13236 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13237 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13238 (feedmail-send-it): Add debug call.
13239 Use feedmail-queue-buffer-file-name, and
13240 feedmail-send-it-immediately-wrapper.
13241 (feedmail-message-action-send): Add debug call.
13242 Use feedmail-send-it-immediately-wrapper.
13243 (feedmail-queue-express-to-queue): Add debug call.
13244 Run feedmail-queue-express-hook.
13245 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13246 (feedmail-message-action-help-blat):
13247 Rename from feedmail-queue-send-edit-prompt-help-first.
13248 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13249 Check line-endings. Handle errors better.
13250 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13251 Doc fix. Add debug call.
13252 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13253 Use feedmail-queue-send-edit-prompt-inner.
13254 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13255 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13256 from feedmail-queue-send-edit-prompt.
13257 (feedmail-queue-send-edit-prompt-help)
13258 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13259 (feedmail-tidy-up-slug): Add debug call.
13260 Respect feedmail-queue-slug-suspect-regexp.
13261 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13262 (feedmail-dump-message-to-queue): Add debug call.
13263 Expand queue-directory.
13264 (feedmail-dump-message-to-queue): Change message slightly.
13265 Use feedmail-say-chatter.
13266 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13267 (feedmail-send-it-immediately-wrapper): New function.
13268 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13269 Insert empty string rather than newline. Handle full-frame case.
13270 Use catch/throw. Use feedmail-say-chatter.
13271 (feedmail-fiddle-from): Try mail-host-address.
13272 (feedmail-default-message-id-generator): Doc fix.
13273 Bind system-time-locale. Handle missing end.
13274 (feedmail-fiddle-x-mailer): Add debug call.
13275 Handle feedmail-x-mailer-line being nil.
13276 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13277 Add debug call. Use buffer-substring-no-properties.
13278 (feedmail-say-debug, feedmail-say-chatter): New functions.
13279 (feedmail-find-eoh): Give an explicit error.
13280
13281 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13282
13283 * net/newst-treeview.el (newsticker-treeview-face): Change default
13284 family from helvetica to sans.
13285 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13286 etc/images/newsticker.
13287
13288 * net/newst-reader.el (newsticker-feed-face): Change default
13289 family from helvetica to sans.
13290
13291 * net/newst-plainview.el (newsticker-new-item-face)
13292 (newsticker-old-item-face, newsticker-immortal-item-face)
13293 (newsticker-obsolete-item-face, newsticker-date-face)
13294 (newsticker-statistics-face): Change default family from
13295 helvetica to sans.
13296 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13297 etc/images/newsticker.
13298
13299 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13300 (newsticker--process-auto-mark-filter-match): Tell user about
13301 auto-marking.
13302
13303 2011-05-13 Didier Verna <didier@xemacs.org>
13304
13305 Common Lisp indentation improvements on defmethod and lambda-lists.
13306 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13307 TODO entries.
13308 (lisp-lambda-list-keyword-parameter-indentation)
13309 (lisp-lambda-list-keyword-parameter-alignment)
13310 (lisp-lambda-list-keyword-alignment): New customizable user options.
13311 (lisp-indent-defun-method): Improve docstring.
13312 (extended-loop-p): Fix comment.
13313 (lisp-indent-lambda-list-keywords-regexp): New variable.
13314 (lisp-indent-lambda-list): New function.
13315 (lisp-indent-259): Use it.
13316 (lisp-indent-defmethod): Support for more than one
13317 method qualifier and properly indent methods lambda-lists.
13318 (defgeneric): Provide a missing common-lisp-indent-function property.
13319
13320 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13323 bounds for the empty string (bug#8667).
13324
13325 2011-05-13 Glenn Morris <rgm@gnu.org>
13326
13327 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13328
13329 * mail/sendmail.el (sendmail-program): Try executable-find first.
13330 (sendmail-send-it): `sendmail-program' cannot be unbound.
13331
13332 * calendar/appt.el (appt-make-list): Simplify.
13333 (appt-time-msg-list): Doc fix.
13334 (appt-check): Change mode-line message at the time of the appointment.
13335
13336 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13337
13338 * progmodes/ld-script.el (ld-script-keywords)
13339 (ld-script-builtins): Update keywords list.
13340
13341 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13344
13345 * shell.el (shell-completion-vars): New function.
13346 (shell-mode):
13347 * simple.el (read-shell-command): Use it.
13348 (blink-matching-open): No need for " [...]" in minibuffer-message.
13349
13350 2011-05-12 Glenn Morris <rgm@gnu.org>
13351
13352 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13353 (appt-check): Simplify.
13354
13355 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13356
13357 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13358 literal "/dev/null".
13359
13360 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13361
13362 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13363 Fix typo.
13364
13365 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13366
13367 * progmodes/which-func.el (which-function):
13368 Use add-log-current-defun instead of add-log-current-defun-function,
13369 which might not be defined (Bug#8260).
13370
13371 2011-05-12 Glenn Morris <rgm@gnu.org>
13372
13373 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13374 Let byte-compile-initial-macro-environment always take precedence.
13375
13376 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13377
13378 * net/rcirc.el: Add support for SSL/TLS connections.
13379 (rcirc-server-alist): New field `encryption'.
13380 (rcirc): Check `encryption' settings.
13381 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13382 Merge make-local-variable into `set'.
13383 (rcirc--connection-open-p): New function.
13384 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13385 the process is not a network process (e.g. running gnutls-cli).
13386 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13387 Make rcirc-(en|de)code-coding-system local here.
13388 (rcirc-mode): Merge make-local-variable into `set'.
13389 (rcirc-parent-buffer): Make permanent buffer-local.
13390 (rcirc-multiline-minor-mode): Don't do it here.
13391 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13392 there's no server buffer.
13393
13394 2011-05-11 Glenn Morris <rgm@gnu.org>
13395
13396 * newcomment.el (comment-kill): Prefix "unused" local.
13397
13398 * term/w32console.el (get-screen-color): Declare.
13399
13400 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13401 Handle symbol elements of byte-compile-initial-macro-environment.
13402
13403 2011-05-10 Leo Liu <sdl.web@gmail.com>
13404
13405 * bookmark.el (bookmark-bmenu-mode-map):
13406 Bind bookmark-bmenu-search to `/'.
13407
13408 * mail/footnote.el: Convert to utf-8 encoding.
13409 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13410 (Footnote-unicode): New function.
13411 (footnote-style-alist): Add unicode style to the list.
13412 (footnote-style): Doc fix.
13413
13414 2011-05-10 Jim Meyering <meyering@redhat.com>
13415
13416 Fix doubled-word typos.
13417 * international/quail.el (quail-insert-kbd-layout): and and -> and
13418 * kermit.el: and and -> and
13419 * net/ldap.el (ldap-search-internal): to to -> to
13420 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13421 * progmodes/js.el (js-mode): and and -> and
13422 * textmodes/artist.el (artist-move-to-xy): at at -> at
13423 (artist-draw-region-trim-line-endings): if if -> if
13424 And Safetyc -> Safety.
13425 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13426
13427 2011-05-10 Glenn Morris <rgm@gnu.org>
13428 Stefan Monnier <monnier@iro.umontreal.ca>
13429
13430 * files.el (hack-one-local-variable-eval-safep):
13431 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13432
13433 2011-05-10 Glenn Morris <rgm@gnu.org>
13434
13435 * calendar/diary-lib.el (diary-list-entries-hook)
13436 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13437 (diary-nongregorian-marking-hook, diary-list-entries)
13438 (diary-include-other-diary-files, diary-mark-entries)
13439 (diary-mark-included-diary-files): Doc fixes.
13440
13441 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13442
13443 * misc.el: Require tabulated-list.el during compilation.
13444
13445 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13446
13447 * progmodes/compile.el (compilation-start):
13448 Run compilation-filter-hook for the async case too.
13449 (compilation-filter-hook): Doc fix.
13450
13451 2011-05-09 Deniz Dogan <deniz@dogan.se>
13452
13453 * wdired.el: Remove outdated installation comment. Fix usage
13454 comment.
13455
13456 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13457
13458 * misc.el: Implement new command `list-dynamic-libraries'.
13459 (list-dynamic-libraries--loaded-only-p): New variable.
13460 (list-dynamic-libraries--refresh): New function.
13461 (list-dynamic-libraries): New command.
13462
13463 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13464
13465 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13466 Fix the ant regexp to handle end-line and end-column info from jikes.
13467 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13468 higher priority to avoid clobbering by gnu.
13469
13470 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13471
13472 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13473 if the face has existing theme settings (Bug#8454).
13474
13475 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13476
13477 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13478 Only match variables declared via `my' or `our' (Bug#8261).
13479
13480 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13481 special file names `.' and `..' (Bug#8259).
13482
13483 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13484
13485 * progmodes/grep.el (grep-mode-font-lock-keywords):
13486 Remove buffer-changing entries.
13487 (grep-filter): New function.
13488 (grep-mode): Add it to compilation-filter-hook.
13489
13490 * progmodes/compile.el (compilation-filter-hook)
13491 (compilation-filter-start): New defvars.
13492 (compilation-filter): Call compilation-filter-hook prior to
13493 updating the process mark.
13494
13495 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13496
13497 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13498
13499 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13500
13501 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13502 mailclient-send-it even if window-system is nil. (Bug#8595)
13503
13504 * term/w32console.el (terminal-init-w32console):
13505 Call get-screen-color and use its output to set the frame
13506 background-mode. (Bug#8597)
13507
13508 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13511 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13512 New functions.
13513 (defgeneric, eieio--defmethod): Use them.
13514 (eieio-defgeneric): Remove.
13515 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13516
13517 2011-05-07 Glenn Morris <rgm@gnu.org>
13518
13519 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13520 Use let rather than let*.
13521 (timeclock-find-discrep): Remove unused local.
13522
13523 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13524
13525 * calendar/appt.el (appt-time-msg-list): Doc fix.
13526
13527 2011-05-06 Noah Friedman <friedman@splode.com>
13528
13529 * apropos.el (apropos-print-doc): Only use
13530 emacs-lisp-docstring-fill-column when it is bound to an integer,
13531 per that variable's documentation.
13532
13533 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13534
13535 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13536 and warnings are not silently discarded (e.g. use -d instead of -P).
13537
13538 2011-05-06 Glenn Morris <rgm@gnu.org>
13539
13540 * calendar/appt.el (appt-message-warning-time): Doc fix.
13541 (appt-warning-time-regexp): New option.
13542 (appt-make-list): Respect appt-message-warning-time.
13543
13544 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13545 New options.
13546 (diary-add-to-list): Strip comments from the displayed string.
13547 (diary-mode): Set comment-start and comment-end.
13548
13549 * vc/diff-mode.el (smerge-refine-subst): Declare.
13550 (diff-refine-hunk): Don't require smerge-mode when compiling.
13551
13552 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13553
13554 * simple.el (list-processes): Return nil as the docstring says.
13555
13556 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13557
13558 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13559 to "".
13560 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13561 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13562 determining of binary transfer. (Bug#7383)
13563
13564 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13565
13566 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13567 Fix port computation bug. (Bug#8618)
13568
13569 2011-05-05 Glenn Morris <rgm@gnu.org>
13570
13571 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13572
13573 * simple.el (shell-dynamic-complete-functions)
13574 (comint-dynamic-complete-functions): Declare.
13575
13576 * net/network-stream.el (gnutls-negotiate):
13577 * simple.el (tabulated-list-print): Fix declarations.
13578
13579 * progmodes/gud.el (syntax-symbol, syntax-point):
13580 Remove unnecessary and incorrect declarations.
13581
13582 * emacs-lisp/check-declare.el (check-declare-scan):
13583 Handle byte-compile-initial-macro-environment in bytecomp.el
13584
13585 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13586
13587 Fix earlier half-done eieio-defmethod change (bug#8338).
13588 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13589 Streamline and change calling convention.
13590 (defmethod): Adjust accordingly and simplify.
13591 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13592 new eieio--defmethod.
13593 (slot-boundp): Minor CSE simplification.
13594
13595 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13596
13597 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13598 (glasses-make-readable): Use glasses-separate-capital-groups.
13599
13600 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13601
13602 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13603 (warning-series): Doc fix.
13604 (display-warning): Don't try to create the buffer if we just found it.
13605
13606 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13607
13608 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13609 (autoload-find-generated-file): New function.
13610 (generate-file-autoloads): Bind generated-autoload-file to
13611 buffer-file-name.
13612 (update-file-autoloads, update-directory-autoloads):
13613 Use autoload-find-generated-file. If called interactively, prompt for
13614 output file (Bug#7989).
13615 (batch-update-autoloads): Doc fix.
13616
13617 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13618
13619 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13620
13621 2011-05-04 Glenn Morris <rgm@gnu.org>
13622
13623 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13624 function, so it follows changes in calendar-date-style.
13625 (diary-fancy-date-matcher): New function.
13626 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13627 (diary-fancy-font-lock-fontify-region-function):
13628 Use diary-fancy-date-pattern as a function.
13629
13630 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13631 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13632
13633 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13634
13635 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13636 instead of positional arguments. Allow :keylist and :crlfiles
13637 arguments.
13638 (open-gnutls-stream): Call it.
13639
13640 * net/network-stream.el (network-stream-open-starttls): Adjust to
13641 call `gnutls-negotiate' with :process and :hostname arguments.
13642
13643 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13644
13645 * minibuffer.el (completion--message): New function.
13646 (completion--do-completion, minibuffer-complete)
13647 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13648 (completion--do-completion): Don't ignore completion-auto-help when in
13649 icomplete-mode.
13650
13651 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13652 internal encoding (e.g. tibetan zero is not whitespace).
13653 (global-whitespace-mode): Prefer save-current-buffer.
13654 (whitespace-trailing-regexp): Remove useless save-match-data.
13655 (whitespace-empty-at-bob-regexp): Minor simplification.
13656
13657 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13658
13659 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13660
13661 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13662
13663 * textmodes/ispell.el (ispell-add-per-file-word-list):
13664 Use `concat' to create string for insertion.
13665
13666 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13667
13668 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13669 Avoid open-line which runs post-self-insert-hook.
13670 (bibtex-fill-entry): Remove unused `end' var.
13671
13672 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13673
13674 * textmodes/ispell.el (ispell-add-per-file-word-list):
13675 Protect against `nil' value of `comment-start' (Bug#8579).
13676
13677 2011-05-03 Leo Liu <sdl.web@gmail.com>
13678
13679 * isearch.el (isearch-yank-pop): New command.
13680 (isearch-mode-map): Bind it to `M-y'.
13681 (isearch-forward): Mention it.
13682
13683 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * simple.el (minibuffer-complete-shell-command): Remove.
13686 (minibuffer-local-shell-command-map): Use completion-at-point.
13687 (read-shell-command): Setup completion vars here instead.
13688 (read-expression-map): Bind TAB to symbol completion.
13689
13690 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13691 error directly rather via storing it into `results'.
13692
13693 2011-05-02 Leo Liu <sdl.web@gmail.com>
13694
13695 * vc/diff.el: Fix description.
13696
13697 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13698
13699 * server.el (server-eval-at): New function.
13700
13701 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13702
13703 * net/network-stream.el (open-network-stream): Take a :nowait
13704 parameter and pass it on to `make-network-process'.
13705 (network-stream-open-plain): Ditto.
13706
13707 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13708
13709 * faces.el (face-spec-set-match-display): Don't match toolkit
13710 options on terminal frames.
13711
13712 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13713
13714 * progmodes/pascal.el: Use lexical binding.
13715 (pascal-mode-map): Remove author preferences.
13716
13717 * pcomplete.el (pcomplete-std-complete): Don't abuse
13718 completion-at-point.
13719
13720 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13721
13722 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13723 removing code that has been dead since 1991 or so.
13724
13725 * startup.el (command-line): When warning about "_emacs", use a
13726 delayed warning to allow the user to filter it out.
13727
13728 2011-04-28 Deniz Dogan <deniz@dogan.se>
13729
13730 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13731 user has not joined.
13732
13733 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13734
13735 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13736 aren't any completions at point.
13737
13738 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13739
13740 * subr.el (display-delayed-warnings): New function.
13741 (delayed-warnings-hook): New variable.
13742
13743 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13744
13745 * minibuffer.el (completion-at-point, completion-help-at-point):
13746 Don't presume that a given completion-at-point-function will always
13747 use the same calling convention.
13748
13749 * pcomplete.el (pcomplete-completions-at-point):
13750 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13751 pcomplete-seen is non-nil.
13752 (pcomplete-comint-setup): Also recognize the new comint/shell
13753 completion functions.
13754 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13755 pcomplete-seen is non-nil.
13756
13757 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13758
13759 * calendar/icalendar.el (diary-lib): Add require statement.
13760 (icalendar--create-uid): Read out a uid from a text-property on
13761 the first character in the entry. This allows for code to add its
13762 own uid to the entry.
13763 (icalendar--convert-float-to-ical): Add export of
13764 `diary-float'-entries save for those with the optional DAY
13765 argument.
13766
13767 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13768
13769 * subr.el (shell-quote-argument): Use alternate escaping strategy
13770 when we spot a variable reference in a string.
13771
13772 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13773
13774 * cus-start.el (all): Define customization for debug-on-event.
13775
13776 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13777
13778 * subr.el (shell-quote-argument): Escape correctly under Windows.
13779
13780 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13783
13784 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13785
13786 * net/tramp.el (tramp-process-actions): Add POS argument.
13787 Delete region between POS and (pos).
13788
13789 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13790 Use `nil' position in `tramp-process-actions' call.
13791 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13792
13793 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13794 position in `tramp-process-actions' call.
13795
13796 * net/trampver.el: Update release number.
13797
13798 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13799
13800 * custom.el (defcustom): Obey lexical-binding.
13801
13802 Fix octave-inf completion problems reported by Alexander Klimov.
13803 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13804 Inherit from octave-mode-syntax-table.
13805 (inferior-octave-mode): Set info-lookup-mode.
13806 (inferior-octave-completion-at-point): New function.
13807 (inferior-octave-complete): Use it and completion-in-region.
13808 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13809 comint-filename-completion.
13810 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13811 symbol elements which shouldn't be word elements.
13812 (octave-font-lock-keywords, octave-beginning-of-defun)
13813 (octave-function-header-regexp): Adjust regexps accordingly.
13814 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13815
13816 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13817
13818 * net/gnutls.el (gnutls-errorp): Declare before first use.
13819
13820 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13821
13822 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13823 verify-error, and verify-hostname-error parameters. Check whether
13824 default trustfile exists before going to use it. Add missing
13825 argument to gnutls-message-maybe call. Return value.
13826 Reported by Claudio Bley <claudio.bley@gmail.com>.
13827 (open-gnutls-stream): Add usage example.
13828
13829 * net/network-stream.el (network-stream-open-starttls): Give host
13830 parameter to `gnutls-negotiate'.
13831 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13832 * subr.el (shell-quote-argument): Escape correctly under Windows.
13833
13834 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13835
13836 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13837 Use correct match group (bug#8438).
13838
13839 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13840
13841 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13842 (package-menu--generate): New arg specifying packages to show.
13843 (package-menu-refresh, package-menu-execute, list-packages):
13844 Callers changed.
13845 (package-show-package-list): New function, replacing deleted
13846 package--list-packages (renamed because it is non-internal).
13847
13848 * finder.el (finder-list-matches): Use package-show-package-list
13849 instead of deleted package--list-packages.
13850
13851 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13852 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13853 (vc-annotate-mode-map): Bind it to RET.
13854
13855 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13856
13857 * progmodes/etags.el (next-file): Don't use set-buffer to change
13858 buffers (Bug#8478).
13859
13860 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13861
13862 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13863
13864 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13865 (apropos-accumulator): Doc fix.
13866 (apropos-function, apropos-macro, apropos-command)
13867 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13868 (apropos-plist): Add face property.
13869 (apropos-symbols-internal): Fix indentation.
13870 (apropos-print): Simplify help, and recognize apropos-multi-type.
13871 (apropos-print-doc): Use button-type-get to extract the button's
13872 face property. Fill docstring (Bug#8352).
13873
13874 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13875
13876 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13877
13878 * play/mpuz.el (mpuz-silent): Doc fix.
13879 (mpuz-mode-map): Use mapc.
13880 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13881 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13882 Fix typos in docstrings.
13883
13884 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13885 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13886
13887 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13888
13889 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13890
13891 * minibuffer.el (completion--do-completion): Avoid the "Next char
13892 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13893
13894 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13895 mouse-2 into unread-command-events, it is interpreted correctly.
13896
13897 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13898 (image-toggle-display): Doc fix.
13899
13900 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13901
13902 * textmodes/page.el (what-page): Use line-number-at-pos to
13903 calculate line number (Bug#6825).
13904
13905 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13906
13907 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13908 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13909 Pass argument NO-DEFAULT to `find-tag-interactive'.
13910
13911 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13912
13913 Lexical-binding cleanup.
13914
13915 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13916 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13917 * progmodes/ada-prj.el (ada-prj-initialize-values)
13918 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13919 (ada-prj-show-value):
13920 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13921 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13922 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13923 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13924 * progmodes/bug-reference.el (bug-reference-push-button):
13925 * progmodes/fortran.el (fortran-line-length):
13926 * progmodes/glasses.el (glasses-change):
13927 * progmodes/octave-mod.el (octave-fill-paragraph):
13928 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13929 (python-pdbtrack-grub-for-buffer, python-sentinel):
13930 * progmodes/sql.el (sql-save-connection):
13931 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13932 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13933 Mark unused parameters.
13934
13935 * progmodes/compile.el (compilation--flush-directory-cache)
13936 (compilation--flush-parse, compile-internal): Mark unused parameters.
13937 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13938 (compilation-next-error-function): Remove unused variable `timestamp'.
13939
13940 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13941 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13942
13943 * progmodes/dcl-mode.el (dcl-end-of-command):
13944 Remove unused variable `start'.
13945 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13946 (dcl-option-value-basic, dcl-option-value-offset)
13947 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13948 Mark unused parameters.
13949 (dcl-save-local-variable): Remove unused variable `val'.
13950 (mode): Declare.
13951
13952 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13953 Mark unused parameters.
13954 (delphi-ignore-changes): Move before first use.
13955 (delphi-charset-token-at): Remove unused variable `start'.
13956 (delphi-else-start): Remove unused variable `if-count'.
13957 (delphi-comment-block-start, delphi-comment-block-end):
13958 Remove unused variable `kind'.
13959 (delphi-indent-line): Remove unused variable `new-point'.
13960
13961 * progmodes/ebrowse.el (ebrowse-files-list)
13962 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13963 Mark unused parameters. Don't quote `lambda'.
13964 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13965 Don't quote `lambda'.
13966 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13967 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13968 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13969 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13970 Use `ignore-errors'.
13971 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13972 (ebrowse-view/find-file-and-search-pattern)
13973 (ebrowse-view/find-member-declaration/definition):
13974 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13975 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13976 Rename parameter PREFIX-ARG to PREFIX.
13977 (ebrowse-tags-read-name): Remove unused variables `start' and
13978 `member-info'.
13979 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13980 to `tags-file'.
13981
13982 * progmodes/etags.el (local-find-tag-hook): Declare.
13983 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13984 Mark unused parameters.
13985
13986 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13987 (executable-interpret): Mark unused parameter.
13988
13989 * progmodes/flymake.el (flymake-process-sentinel)
13990 (flymake-after-change-function)
13991 (flymake-create-temp-with-folder-structure)
13992 (flymake-get-include-dirs-dot): Mark unused parameters.
13993 (flymake-safe-delete-directory): Remove unused variable `err'.
13994
13995 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13996 (speedbar-timer-fn, speedbar-line-text)
13997 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13998 (speedbar-center-buffer-smartly): Declare functions.
13999 (gdb-find-watch-expression): Remove unused variable `array'.
14000 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14001 (gdb-starting): Mark unused parameters.
14002 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14003 (gdb-table-string): Remove unused variable `res'.
14004 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14005 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14006 (gdb-display-buffer): Remove unused variable `cur-size'.
14007
14008 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14009 allow lexical-binding compilation.
14010 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14011 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14012 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14013 Mark unused parameters.
14014 (gud-gdb-marker-filter): Remove unused variable `match'.
14015 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14016 lambda expressions and funcall them, instead of using `fset'.
14017
14018 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14019 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14020
14021 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14022 variable `header-beg'; use `let'.
14023
14024 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14025 `restart', `last-sexp' and `at-do'.
14026
14027 * progmodes/js.el (js--debug): Mark unused parameter.
14028 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14029 (js--splice-into-items): Remove unused variable `item'.
14030 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14031
14032 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14033 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14034 (makefile-complete): Remove unused variable `try'.
14035 (makefile-fill-paragraph, makefile-match-function-end):
14036 Mark unused parameters.
14037
14038 * progmodes/octave-inf.el (inferior-octave-complete):
14039 Remove unused variable `proc'.
14040 (inferior-octave-output-digest): Mark unused parameter.
14041
14042 * progmodes/perl-mode.el (perl-calculate-indent):
14043 Remove unused variable `err'.
14044
14045 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14046 (prolog-indent-line): Mark unused parameters.
14047 (prolog-indent-line): Remove unused variable `beg'.
14048
14049 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14050 (reporter-dont-compact-list): Declare.
14051
14052 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14053 Remove unused variable `char'.
14054 (sh-debug): Mark unused parameter.
14055 (sh-get-indent-info): Remove unused variable `start'.
14056 (sh-calculate-indent): Remove unused variable `var'.
14057
14058 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14059 (simula-electric-keyword): Remove unused variable `null'.
14060 (simula-search-backward, simula-search-forward): Remove unused
14061 variables `begin' and `end'.
14062
14063 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14064 Remove unused variable `pos'.
14065 (vera-electric-tab, vera-comment-uncomment-region):
14066 Mark unused parameters.
14067 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14068
14069 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14070
14071 * emacs-lisp/package.el (package--builtins, package-alist)
14072 (package-load-descriptor, package-built-in-p, package-activate)
14073 (define-package, package-installed-p)
14074 (package-compute-transaction, package-buffer-info)
14075 (package--push): Doc fix. Distinguish more clearly between
14076 version strings and version lists.
14077
14078 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14079
14080 Lexical-binding cleanup.
14081
14082 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14083 (5x5-make-mutate-best):
14084 * play/fortune.el (fortune-in-buffer):
14085 * play/gomoku.el (gomoku-init-display):
14086 * play/solitaire.el (solitaire, solitaire-do-check):
14087 * play/tetris.el (tetris-default-update-speed-function):
14088 Mark unused parameters.
14089
14090 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14091 (bubbles--shift): Remove unused variable `char-org'.
14092 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14093 (bubbles--show-images): Remove unused variable `char'.
14094
14095 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14096 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14097 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14098 (decipher-analyze-buffer): Use ?\s.
14099 (decipher-make-checkpoint): Remove unused variable `mapping'.
14100
14101 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14102
14103 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14104 Remove unused variable `result'; use `let'.
14105
14106 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14107 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14108 (gametree-children-shown-p, gametree-compute-reduced-score):
14109 Use `ignore-errors'.
14110
14111 * play/handwrite.el (ps-lpr-switches): Declare.
14112 (handwrite): Remove unused variables `pmin' and `lastp'.
14113
14114 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14115
14116 * play/landmark.el (landmark-init-display)
14117 (landmark-update-naught-weights): Mark unused parameters.
14118 (landmark-y): Remove unused variable `noise'. Simplify.
14119 (landmark-human-plays): Remove unused variable `score'.
14120
14121 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14122 (mpuz-try-proposal): Remove unused variable `game'.
14123
14124 * play/zone.el (life-patterns): Declare.
14125
14126 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14127
14128 * vc/vc.el (ediff-vc-internal): Declare function.
14129
14130 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14131
14132 * shell.el: Use lexical-binding and std completion UI.
14133 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14134 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14135 comint-preoutput-filter-functions rather than on
14136 comint-output-filter-functions.
14137 (shell-command-completion, shell--command-completion-data)
14138 (shell-filename-completion, shell-environment-variable-completion)
14139 (shell-c-a-p-replace-by-expanded-directory): New functions.
14140 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14141 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14142 (shell-dynamic-complete-environment-variable): Use them.
14143 (shell-dynamic-complete-as-environment-variable)
14144 (shell-dynamic-complete-as-command): Remove.
14145 (shell-match-partial-variable): Match past point.
14146 * comint.el: Clean up use of completion-at-point-functions.
14147 (comint-completion-at-point): New function.
14148 (comint-mode): Use it completion-at-point-functions.
14149 (comint-dynamic-complete): Make it obsolete.
14150 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14151 (comint-c-a-p-replace-by-expanded-history): New function.
14152 (comint-dynamic-complete-functions)
14153 (comint-replace-by-expanded-history): Use it.
14154 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14155 termination strings. Try harder to avoid second try-completion.
14156 (completion-in-region-mode-map): Disable bindings that don't work yet.
14157
14158 * comint.el: Use lexical-binding. Require CL.
14159 (comint-dynamic-complete-functions): Use comint-filename-completion.
14160 (comint-completion-addsuffix): Tweak custom type.
14161 (comint-filename-completion, comint--common-suffix)
14162 (comint--common-quoted-suffix, comint--table-subvert)
14163 (comint--complete-file-name-data): New functions.
14164 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14165 (comint-dynamic-list-filename-completions): Use them.
14166 (comint-dynamic-simple-complete): Make obsolete.
14167
14168 * minibuffer.el (completion-in-region-mode):
14169 Keep completion-in-region-mode--predicate global.
14170 (completion-in-region--postch):
14171 Assume completion-in-region-mode--predicate is not null.
14172
14173 * progmodes/flymake.el (flymake-start-syntax-check-process):
14174 Obey `dir'. Simplify.
14175
14176 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14177 we're in VC after all.
14178
14179 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14180
14181 * vc/vc.el (vc-diff-build-argument-list-internal)
14182 (vc-version-ediff, vc-ediff): New commands.
14183 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14184
14185 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14186
14187 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14188 add sanity check.
14189
14190 * obsolete/erc-hecomplete.el: Make obsolete.
14191 * obsolete/: Standardize obsolescence info in the header.
14192
14193 2011-04-20 Glenn Morris <rgm@gnu.org>
14194
14195 * calendar/solar.el (solar-horizontal-coordinates):
14196 Use the longitude argument rather than `calendar-longitude'.
14197 (solar-date-next-longitude): Remove unused locals.
14198
14199 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14200
14201 * whitespace.el: New version 13.2.1.
14202
14203 2011-04-20 felix <EmacsWiki> (tiny change)
14204
14205 * whitespace.el (global-whitespace-mode): Keep highlight when
14206 switching between major modes on a file.
14207
14208 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14209
14210 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14211 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14212 multi-line comments as well.
14213
14214 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14215
14216 Lexical-binding cleanup.
14217
14218 * arc-mode.el (archive-mode-revert):
14219 * cmuscheme.el (scheme-interactively-start-process):
14220 * custom.el (custom-initialize-delay):
14221 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14222 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14223 * emacs-lock.el (emacs-lock-clear-sentinel):
14224 * ezimage.el (defezimage):
14225 * follow.el (follow-avoid-tail-recenter):
14226 * fringe.el (set-fringe-mode-1):
14227 * generic-x.el (bat-generic-mode-compile):
14228 * help-mode.el (help-info-variable, help-do-xref)
14229 (help-mode-revert-buffer):
14230 * help.el (view-emacs-todo):
14231 * iswitchb.el (iswitchb-completion-help):
14232 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14233 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14234 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14235 * locate.el (locate-update):
14236 * longlines.el (longlines-encode-region)
14237 (longlines-after-change-function):
14238 * outline.el (outline-isearch-open-invisible):
14239 * ps-def.el (declare-function, charset-dimension, char-width)
14240 (encode-char):
14241 * ps-mule.el (ps-mule-plot-string):
14242 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14243 (recentf-edit-list-select, recentf-edit-list-validate)
14244 (recentf-open-files-action):
14245 * rect.el (delete-whitespace-rectangle-line)
14246 (rectangle-number-line-callback):
14247 * register.el (window-configuration-to-register)
14248 (frame-configuration-to-register):
14249 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14250 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14251 (xselect-convert-to-targets, xselect-convert-to-delete)
14252 (xselect-convert-to-filename, xselect-convert-to-charpos)
14253 (xselect-convert-to-lineno, xselect-convert-to-colno)
14254 (xselect-convert-to-os, xselect-convert-to-host)
14255 (xselect-convert-to-user, xselect-convert-to-class)
14256 (xselect-convert-to-name, xselect-convert-to-integer)
14257 (xselect-convert-to-atom, xselect-convert-to-identity):
14258 * subr.el (declare, ignore, process-kill-without-query)
14259 (text-clone-maintain):
14260 * terminal.el (te-get-char, te-tic-sentinel):
14261 * tool-bar.el (tool-bar-make-keymap):
14262 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14263 * type-break.el (type-break-mode, type-break-noninteractive-query):
14264 * view.el (View-back-to-mark):
14265 * wid-browse.el (widget-browse-action, widget-browse-widget)
14266 (widget-browse-widgets, widget-browse-sexp):
14267 * widget.el (define-widget-keywords):
14268 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14269 Mark unused parameters.
14270
14271 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14272 (align-areas): Remove unused variable `look'.
14273 (align-region): Remove unused variables `real-end' and `pos-list'.
14274
14275 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14276
14277 * bindings.el (mode-line-modified, mode-line-remote):
14278 Mark unused parameters.
14279 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14280
14281 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14282 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14283
14284 * comint.el (comint-history-isearch-pop-state)
14285 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14286 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14287 (comint-substitute-in-file-name): Doc fix.
14288
14289 * completion.el (cmpl-statistics-block): Mark unused parameter.
14290 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14291 (save-completions-to-file, load-completions-from-file):
14292 Remove unused local variable `e'.
14293
14294 * composite.el (compose-chars): Remove unused variable `len'.
14295 (lgstring-insert-glyph): Remove unused variable `g'.
14296 (compose-glyph-string): Remove unused variables `ascent',
14297 `descent', `lbearing' and `rbearing'.
14298 (compose-glyph-string-relative): Remove unused variables
14299 `lbearing', `rbearing' and `wadjust'.
14300 (compose-gstring-for-graphic): Remove unused variables `header',
14301 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14302 (compose-gstring-for-terminal): Remove unused variables `header'
14303 and `nchars'. Use `let', not `let*'.
14304
14305 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14306 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14307 (Custom-buffer-done, custom-buffer-create-internal)
14308 (custom-browse-visibility-action, custom-browse-group-tag-action)
14309 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14310 (widget-magic-mouse-down-action, custom-toggle-parent)
14311 (custom-add-parent-links, custom-toggle-hide-variable)
14312 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14313 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14314 (custom-face-menu-create, custom-variable-menu-create, get)
14315 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14316 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14317 (customize-apropos): Remove unused variable `tests'.
14318 (custom-group-value-create): Remove unused variable `hidden-p'.
14319 (sort-fold-case): Declare.
14320
14321 * cus-theme.el (custom-reset-standard-faces-list)
14322 (custom-reset-standard-variables-list): Declare.
14323 (customize-create-theme, custom-theme-revert, custom-theme-write)
14324 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14325 Mark unused parameters.
14326
14327 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14328
14329 * delim-col.el (delimit-columns-max): Move defvar before first use.
14330
14331 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14332 (describe-char): Don't quote `lambda'. Mark unused parameter.
14333
14334 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14335 (auto-insert): Declare.
14336 (desktop-restore-file-buffer): Rename desktop-* parameters;
14337 mark unused ones.
14338 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14339 (desktop-buffer): Rename desktop-* parameters.
14340
14341 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14342 (dframe-reposition-frame-xemacs, dframe-help-echo)
14343 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14344 Mark unused parameters.
14345
14346 * dired-aux.el (backup-extract-version-start, overwrite-query)
14347 (overwrite-backup-query, rename-regexp-query)
14348 (rename-non-directory-query): Declare.
14349 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14350 (dired-add-entry): Remove unused variable `orig-file-name'.
14351 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14352 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14353 `dired-copy-preserve-time' directly.
14354 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14355 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14356
14357 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14358 (dired-virtual-revert, dired-make-relative-symlink):
14359 Mark unused parameters.
14360 (manual-program): Declare.
14361 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14362 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14363 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14364
14365 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14366
14367 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14368
14369 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14370 Declare.
14371
14372 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14373
14374 * electric.el (Electric-command-loop): Rename parameter
14375 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14376
14377 * expand.el (expand-in-literal): Remove unused variable `here'.
14378
14379 * facemenu.el (facemenu-add-new-color):
14380 Remove unused variable `docstring'.
14381
14382 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14383 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14384 (face-attr-construct): Mark unused parameter. Doc fix.
14385 (read-color): Remove unused variable `hex-string'.
14386
14387 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14388 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14389 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14390 (display-buffer-other-frame): Remove unused variable `old-window'.
14391 (kill-buffer-hook): Declare.
14392 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14393 Mark unused parameters.
14394 (after-find-file): Pass 1 to `auto-save-mode', not t.
14395
14396 * files-x.el (auto-insert): Declare.
14397 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14398
14399 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14400 variable `buf'. Mark unused parameter.
14401 (find-lisp-insert-directory): Mark unused parameter.
14402
14403 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14404 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14405 (format-common-tail): Remove, unused.
14406 (format-deannotate-region): Remove unused variable `loc'.
14407 (format-annotate-region): Remove unused variable `p'.
14408 (format-annotate-single-property-change): Remove unused variables
14409 `default' and `tail'.
14410
14411 * forms.el (read-file-filter): Declare.
14412 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14413
14414 * frame.el (frame-creation-function-alist): Mark unused parameter.
14415 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14416
14417 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14418 Remove unused parameters.
14419 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14420 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14421
14422 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14423 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14424 (hfy-prepare-tag-map): Mark unused parameters.
14425 (htmlfontify-buffer): Use `called-interactively-p'.
14426
14427 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14428 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14429 (ibuffer-do-occur): Mark unused parameters.
14430 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14431 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14432
14433 * ibuffer.el: Don't quote `lambda'.
14434 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14435 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14436 Mark unused parameters.
14437
14438 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14439 (ido-completing-read): Mark unused parameters.
14440 (ido-copy-current-word): Mark unused parameters;
14441 remove unused variable `name'.
14442 (ido-sort-merged-list): Remove unused parameter `dirs'.
14443
14444 * ielm.el (ielm-input-sender): Mark unused parameter.
14445 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14446 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14447 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14448 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14449 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14450
14451 * image-dired.el (image-dired-display-thumbs): Remove unused
14452 variables `curr-file' and `count'.
14453 (image-dired-remove-tag): Remove unused variable `start'.
14454 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14455 variable `curr-file'
14456 (image-dired-rotate-original): Remove unused variable `temp-file'.
14457 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14458 Remove unused variable `file'.
14459 (image-dired-gallery-generate): Remove unused variable `curr'.
14460 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14461
14462 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14463
14464 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14465
14466 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14467
14468 * isearch.el (minibuffer-history-symbol): Declare.
14469 (isearch-edit-string): Remove unused variable `err'.
14470 (isearch-message-prefix, isearch-message-suffix):
14471 Mark unused parameters.
14472
14473 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14474
14475 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14476
14477 * makesum.el (double-column): Remove unused variable `cnt'.
14478
14479 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14480 (ido-ignore-item-temp-list): Declare.
14481
14482 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14483 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14484 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14485 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14486 `mouse-col-delta'.
14487
14488 * mouse-sel.el (mouse-extend-internal):
14489 Remove unused variable `orig-window-frame'.
14490
14491 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14492 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14493 Move declarations before first use.
14494 (pcomplete-opt): Mark unused parameters; doc fix.
14495
14496 * proced.el (proced-revert): Mark unused parameter.
14497 (proced-send-signal): Remove unused variable `err'.
14498
14499 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14500 Rename parameter PREFIX-ARG to ARG.
14501 (ps-basic-plot-string, ps-basic-plot-whitespace):
14502 Mark unused parameters.
14503
14504 * replace.el (replace-count): Define.
14505 (occur-revert-function): Mark unused parameters.
14506 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14507 (isearch-case-fold-search, isearch-string): Declare.
14508 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14509 bind `case-fold-search'. Remove unused variables `beg' and `end',
14510 and simplify.
14511 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14512 COUNT and bind `replace-count'.
14513 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14514 to COUNT.
14515
14516 * savehist.el (print-readably, print-string-length): Declare.
14517
14518 * shadowfile.el (shadow-expand-cluster-in-file-name):
14519 Remove unused variable `cluster'.
14520 (shadow-copy-file): Remove unused variable `i'.
14521 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14522 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14523 (shadow-define-literal-group, shadow-define-regexp-group)
14524 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14525
14526 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14527 (shell): Use `called-interactively-p'.
14528 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14529
14530 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14531 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14532 (delete-backward-char): Remove unused variable `ocol'.
14533 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14534 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14535 (event-apply-hyper-modifier, event-apply-shift-modifier)
14536 (event-apply-control-modifier, event-apply-meta-modifier):
14537 Mark unused parameters.
14538 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14539 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14540
14541 * speedbar.el (speedbar-ignored-directory-expressions)
14542 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14543 (speedbar-find-file, speedbar-dir-follow)
14544 (speedbar-directory-buttons-follow, speedbar-tag-find)
14545 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14546 (speedbar-buffers-line-directory, speedbar-buffer-click):
14547 Mark unused parameters.
14548 (speedbar-tag-file): Remove unused variable `mode'.
14549 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14550
14551 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14552
14553 * talk.el (talk): Remove unused variable `display'.
14554
14555 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14556 (tar-write-region-annotate): Mark unused parameter.
14557
14558 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14559 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14560 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14561 warning by another.
14562
14563 * time-stamp.el (time-stamp-string-preprocess):
14564 Remove unused variable `require-padding'.
14565
14566 * tree-widget.el (widget-glyph-enable): Declare.
14567 (tree-widget-action): Mark unused parameter.
14568
14569 * w32-fns.el (x-get-selection): Mark unused parameter.
14570 (autoload-make-program, generated-autoload-file): Declare.
14571
14572 * wdired.el (wdired-revert): Mark unused parameters.
14573 (wdired-xcase-word): Remove unused variable `err'.
14574
14575 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14576 (whitespace-help-scroll): Remove unused variable `data-help'.
14577
14578 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14579 (widget-image-insert, widget-after-change, default)
14580 (widget-default-format-handler, widget-default-notify)
14581 (widget-default-prompt-value, widget-info-link-action)
14582 (widget-url-link-action, widget-function-link-action)
14583 (widget-variable-link-action, widget-file-link-action)
14584 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14585 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14586 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14587 (widget-insert-button-action, widget-delete-button-action, visibility)
14588 (widget-documentation-link-action, widget-documentation-string-action)
14589 (widget-const-prompt-value, widget-regexp-match, symbol)
14590 (widget-coding-system-prompt-value)
14591 (widget-key-sequence-value-to-external, sexp)
14592 (widget-sexp-value-to-internal, character, vector, cons)
14593 (widget-choice-prompt-value, widget-boolean-prompt-value)
14594 (widget-color--choose-action): Mark unused parameters.
14595 (widget-item-match-inline, widget-choice-match-inline)
14596 (widget-checklist-match, widget-checklist-match-inline)
14597 (widget-group-match): Rename parameter VALUES to VALS.
14598 (widget-field-value-set): Remove unused variable `size'.
14599 (widget-color-action): Remove unused variables `value' and `start'.
14600
14601 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14602 variable `dir'. Doc fix.
14603 (windmove-find-other-window): Don't pass it.
14604
14605 * window.el (count-windows): Mark unused parameter.
14606 (bw-adjust-window): Remove unused variable `err'.
14607
14608 * woman.el (woman-file-name): Remove unused variable `default'.
14609 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14610 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14611 (global-font-lock-mode): Declare.
14612 (woman-decode-region): Mark unused parameter.
14613 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14614
14615 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14616 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14617 (x-dnd-handle-moz-url): Remove unused variable `title'.
14618 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14619
14620 * xml.el (xml-parse-tag, xml-parse-attlist):
14621 Remove unused variable `pos'.
14622
14623 2011-04-19 Glenn Morris <rgm@gnu.org>
14624
14625 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14626 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14627 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14628 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14629 * calendar/cal-html.el (cal-html-insert-minical):
14630 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14631 (calendar-mark-date-pattern):
14632 Prefix "unused" locals.
14633
14634 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14635 optional argument `style'.
14636
14637 * calendar/appt.el (appt-make-list):
14638 * calendar/cal-china.el (calendar-chinese-date-string):
14639 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14640 (diary-hebrew-yahrzeit):
14641 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14642 * calendar/calendar.el (calendar-generate-window):
14643 * calendar/time-date.el (time-to-days):
14644 Remove unused local variables.
14645
14646 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14647
14648 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14649 glyphless-char-display table.
14650 (tabulated-list-glyphless-char-display): New var.
14651
14652 2011-04-18 Sam Steingold <sds@gnu.org>
14653
14654 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14655 to acknowledgments.
14656
14657 2011-04-17 Glenn Morris <rgm@gnu.org>
14658
14659 * calendar/diary-lib.el (diary-sexp-entry):
14660 * calendar/holidays.el (holiday-sexp):
14661 Set debug-on-error rather than the removed stack-trace-on-error.
14662
14663 2011-04-16 Glenn Morris <rgm@gnu.org>
14664
14665 * progmodes/f90.el: Use lexical-binding.
14666 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14667
14668 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14669
14670 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14671 (mail-mode): Setup mailalias completion here instead.
14672 * mail/mailalias.el: Use lexical-binding.
14673 (pattern, mailalias-done): Declare dynamic.
14674 (mail-completion-at-point-function): New function, from mail-complete.
14675 (mail-complete): Use it.
14676 (mail-completion-expand): New function.
14677 (mail-get-names): Use it.
14678 (mail-directory, mail-directory-process, mail-directory-stream):
14679 Don't use `pattern' for lexically bound arg.
14680
14681 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14682
14683 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14684 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14685 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14686
14687 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14688 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14689 (byte-interactive-p): Define them again, for use when inlining
14690 old code.
14691
14692 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14693
14694 * loadup.el: Use `string-to-number', not `string-to-int'.
14695
14696 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14697
14698 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14699 gud-gdb-complete-command.
14700 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14701 (gud-gdb-completion-at-point): New function.
14702 (gud-gdb-completions): Remove.
14703
14704 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14705
14706 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14707 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14708 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14709 whether `executable-find' is bound.
14710
14711 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14712
14713 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 * minibuffer.el (completion-in-region-mode-predicate)
14716 (completion-in-region-mode--predicate): New vars.
14717 (completion-in-region, completion-in-region--postch)
14718 (completion-in-region-mode): Use them.
14719 (completion--capf-wrapper): Also return the hook function.
14720 (completion-at-point, completion-help-at-point):
14721 Adjust and provide a predicate.
14722
14723 Preserve arg names for advice of subr and lexical functions (bug#8457).
14724 * help-fns.el (help-function-arglist): Consolidate the subr and
14725 new-byte-code cases. Add argument `preserve-names' to extract names
14726 from the docstring when needed.
14727 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14728 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14729 (ad-arglist): Use help-function-arglist's new arg.
14730 (ad-definition-type): Use cond.
14731
14732 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14733
14734 * autorevert.el (auto-revert-handler):
14735 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14736 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14737 Don't quote lambda.
14738
14739 * image-mode.el (image-transform-set-scale):
14740 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14741
14742 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14743
14744 * net/network-stream.el (network-stream-open-starttls): Only do
14745 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14746 Upgrades via gnutls-cli are too slow to be done opportunistically.
14747
14748 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14749
14750 * dframe.el (dframe-current-frame): Remove spurious quote.
14751
14752 2011-04-12 Glenn Morris <rgm@gnu.org>
14753
14754 * calendar/cal-tex.el (cal-tex-end-document):
14755 Try to automatically use latin1 input if needed.
14756
14757 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14758 Don't try to cons a mark onto an empty element.
14759
14760 2011-04-11 Leo Liu <sdl.web@gmail.com>
14761
14762 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14763 buffers.
14764 (ido-kill-buffer-at-head): Support killing virtual buffers.
14765
14766 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14767
14768 * minibuffer.el (completion-show-inline-help): New var.
14769 (completion--do-completion, minibuffer-complete)
14770 (minibuffer-force-complete, minibuffer-complete-word):
14771 Inhibit minibuffer messages if completion-show-inline-help is nil.
14772
14773 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14774 to avoid interference from inline help (Bug#5849).
14775
14776 2011-04-10 Leo Liu <sdl.web@gmail.com>
14777
14778 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14779 Fix typo.
14780
14781 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14782
14783 * image-mode.el (image-toggle-display-image): Signal an error if
14784 not in Image mode.
14785 (image-transform-mode, image-transform-resize)
14786 (image-transform-set-rotation): Doc fix.
14787 (image-transform-set-resize): Delete.
14788 (image-transform-set-scale, image-transform-fit-to-height)
14789 (image-transform-fit-to-width): Handle image-toggle-display-image
14790 and image-transform-resize directly.
14791
14792 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14793
14794 * doc-view.el (doc-view-fit-width-to-window)
14795 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14796 New functions for fitting the shown image to the Emacs window size.
14797 (doc-view-mode-map): Add bindings for the new functions.
14798
14799 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14800
14801 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14802 Fix typo in docstring.
14803
14804 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14805
14806 * files.el (file-size-human-readable): Produce one digit after
14807 decimal, like "ls -lh" does.
14808
14809 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14810 the file size representation.
14811
14812 * simple.el (list-processes): If async subprocesses are not
14813 available, error out with a clear error message.
14814
14815 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14816
14817 * help.el (help-form-show): New function, to be called from C.
14818 Put help-form output in a buffer named differently than *Help*.
14819
14820 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14821
14822 * files.el (file-size-human-readable): New function.
14823
14824 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14825 computing the representation inline. Don't require `cl'.
14826
14827 2011-04-08 Glenn Morris <rgm@gnu.org>
14828
14829 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14830
14831 * net/browse-url.el (browse-url-firefox):
14832 Test system-type, not system-configuration.
14833
14834 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14835 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14836 Use log-edit-empty-buffer-p. (Bug#7598)
14837
14838 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14839 (rlogin-mode-map): Initialize in the defvar.
14840 (rlogin): Use ignore-errors.
14841
14842 * replace.el (occur-mode-map): Some fixes for menu items.
14843
14844 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14845
14846 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14847
14848 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14849
14850 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14851 issuing unused warnings.
14852
14853 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14854 macro directly.
14855
14856 * simple.el: Lisp reimplement of list-processes. Based on an
14857 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14858 (process-menu-mode): New major mode.
14859 (list-processes--refresh, list-processes):
14860 (process-menu-visit-buffer): New functions.
14861
14862 * files.el (save-buffers-kill-emacs): Don't assume any return
14863 value of list-processes, which is undocumented anyway.
14864
14865 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14866
14867 * emacs-lisp/tabulated-list.el: New file.
14868
14869 * emacs-lisp/package.el: Use Tabulated List mode.
14870 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14871 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14872 table format using Tabulated List mode variables.
14873 (package--push): New macro, replacing package-list-maybe-add.
14874 (package-menu--generate): Use package--push. Renamed from
14875 package--generate-package-list.
14876 (package-menu-refresh, list-packages): Use it.
14877 (package-menu--print-info): Rename from package-print-package.
14878 Return insertion data instead of inserting it directly.
14879 (package-menu-describe-package, package-menu-execute):
14880 Use tabulated-list-get-id.
14881 (package-menu-mark-delete, package-menu-mark-install)
14882 (package-menu-mark-unmark, package-menu-backup-unmark)
14883 (package-menu-mark-obsolete-for-deletion):
14884 Use tabulated-list-put-tag.
14885 (package--list-packages, package-menu-revert)
14886 (package-menu-get-package, package-menu-get-version)
14887 (package-menu-sort-by-column): Functions deleted.
14888 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14889 (package-menu--status-predicate, package-menu--version-predicate)
14890 (package-menu--name-predicate)
14891 (package-menu--description-predicate): Handle arguments in the
14892 Tabulated List format.
14893 (package-list-packages-no-fetch): Call list-packages.
14894
14895 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14896
14897 * files.el (after-find-file-from-revert-buffer): Remove variable.
14898 (after-find-file): Don't bind it.
14899 (revert-buffer-in-progress-p): New variable.
14900 (revert-buffer): Bind it.
14901 Pass nil for `after-find-file-from-revert-buffer'.
14902
14903 * saveplace.el (save-place-find-file-hook): Use new variable
14904 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14905
14906 2011-04-06 Glenn Morris <rgm@gnu.org>
14907
14908 * Makefile.in (AUTOGEN_VCS): New variable.
14909 (autoloads): Use $AUTOGEN_VCS.
14910
14911 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14912 * calendar/calendar.el (calendar-mode-map):
14913 Check for toolkit scroll bars. (Bug#8305)
14914
14915 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14916
14917 * minibuffer.el (completion-in-region--postch)
14918 (completion-in-region-mode): Remove unnecessary messages.
14919
14920 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14921
14922 * font-lock.el (font-lock-refresh-defaults):
14923 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14924 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14925
14926 * info.el (Info-directory-list, Info-read-node-name-2)
14927 (Info-split-parameter-string): Doc fixes.
14928 (Info-virtual-nodes): Reflow docstring.
14929 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14930 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14931 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14932 Fix typos in docstrings.
14933 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14934 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14935 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14936 (Info-restore-desktop-buffer): Mark unused parameters.
14937 (Info-directory-find-file, Info-directory-find-node)
14938 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14939 (Info-virtual-index-find-node, Info-apropos-find-file)
14940 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14941 Mark unused parameters; fix typos in docstrings.
14942 (Info-virtual-index): Remove unused local variable `nodename'.
14943
14944 2011-04-05 Deniz Dogan <deniz@dogan.se>
14945
14946 * net/rcirc.el: Update my e-mail address.
14947 (rcirc-mode-map): Remove M-o binding.
14948
14949 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14950
14951 * startup.el (command-line): Save the cursor's theme-face
14952 directly, instead of using face-override-spec.
14953
14954 * custom.el (load-theme): Minor optimization in assigning faces.
14955
14956 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14957
14958 * help-fns.el (describe-variable): Complete all variables having
14959 documentation, including keywords.
14960 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14961
14962 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14963
14964 Convert to lexical-binding.
14965
14966 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14967 (bs--get-marked-string, bs--get-modified-string)
14968 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14969 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14970 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14971
14972 * ehelp.el (electric-help-execute-extended)
14973 (electric-help-ctrl-x-prefix):
14974 * hexl.el (hexl-revert-buffer-function):
14975 * linum.el (linum-after-change, linum-after-scroll):
14976 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14977
14978 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14979
14980 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14981
14982 * epa-dired.el:
14983 * epa-mail.el:
14984 * epa-hook.el:
14985 * epa-file.el:
14986 * epa.el:
14987 * epg.el: Use lexical binding.
14988
14989 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14990
14991 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14992
14993 * textmodes/flyspell.el (flyspell-word): Recognize default
14994 dictionary case for flyspell-mark-duplications-exceptions.
14995 Use regexp matching for languages.
14996 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14997 default dictionary (Bug#7926).
14998
14999 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
15000
15001 * emacs-lisp/package.el (package--with-work-buffer):
15002 Recognize https URLs.
15003
15004 * net/network-stream.el: Move from gnus/proto-stream.el.
15005 Change prefix to network-stream throughout.
15006 (open-protocol-stream): Merge into open-network-stream, leaving
15007 open-protocol-stream as an alias. Handle nil BUFFER args.
15008
15009 * subr.el (open-network-stream): Move to net/network-stream.el.
15010
15011 2011-04-02 Glenn Morris <rgm@gnu.org>
15012
15013 * find-dired.el (find-exec-terminator): New option.
15014 (find-ls-option): Test for -ls support.
15015 (find-ls-subdir-switches): Test for -b in find-ls-option.
15016 (find-dired, find-grep-dired): Doc fixes.
15017 (find-dired): Use find-exec-terminator.
15018
15019 * find-dired.el (find-ls-option, find-ls-subdir-switches)
15020 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15021 (find-name-arg): Remove purecopy.
15022
15023 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15024 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15025 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15026 accordingly. Don't add the null-device if not needed.
15027
15028 * files.el (save-some-buffers): Doc fix.
15029
15030 2011-04-02 Eli Zaretskii <eliz@gnu.org>
15031
15032 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15033
15034 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
15035
15036 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15037 Use `dolist' rather than `mapcar'.
15038
15039 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15040
15041 Add lexical binding.
15042
15043 * subr.el (apply-partially): Use new closures rather than CL.
15044 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15045 (dolist, dotimes): Use slightly different expansion for lexical code.
15046 (functionp): Move to C.
15047 (letrec): New macro.
15048 (with-wrapper-hook): Use it and apply-partially instead of CL.
15049 (eval-after-load): Preserve lexical-binding.
15050 (save-window-excursion, with-output-to-temp-buffer): Turn them
15051 into macros.
15052
15053 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15054
15055 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15056 than the arglist.
15057 (help-add-fundoc-usage): Don't add `Not documented'.
15058 (help-function-arglist): Handle closures, subroutines, and new
15059 byte-code-functions.
15060 (help-make-usage): Remove leading underscores.
15061 (describe-function-1): Handle closures.
15062 (describe-variable): Use special-variable-p for completion.
15063
15064 * files.el (lexical-binding): Declare safe.
15065
15066 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15067 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15068 (pcase): Add `let' pattern.
15069 Change memoization so it actually works.
15070 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15071 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15072 <let>: New case.
15073
15074 * emacs-lisp/macroexp.el: Use lexical binding.
15075 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15076 Don't convert ' to #' without checking that it's indeed quoting
15077 a lambda.
15078
15079 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15080 Use eval-sexp-add-defvars.
15081 (eval-sexp-add-defvars): New fun.
15082
15083 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15084
15085 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15086 Don't autoload.
15087 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15088 than the internal `byte-compile-lambda'.
15089 (defmethod): Don't hide code under quotes.
15090 (eieio-defmethod): New `code' argument.
15091
15092 * emacs-lisp/eieio-comp.el: Remove.
15093
15094 * emacs-lisp/edebug.el (edebug-eval-defun)
15095 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15096 (edebug-toggle): Avoid `eval'.
15097
15098 * emacs-lisp/disass.el (disassemble-internal): Handle new
15099 `closure' objects.
15100 (disassemble-1): Handle new byte codes.
15101
15102 * emacs-lisp/cl.el (pushnew): Silence warning.
15103
15104 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15105 (cl-byte-compile-throw): Remove.
15106 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15107
15108 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15109 closures.
15110
15111 * emacs-lisp/cconv.el: New file.
15112
15113 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15114 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15115 (byte-compile-initial-macro-environment):
15116 Handle declare-function here.
15117 (byte-compile--lexical-environment): New var.
15118 (byte-stack-ref, byte-stack-set, byte-discardN)
15119 (byte-discardN-preserve-tos): New lap codes.
15120 (byte-interactive-p): Don't use any more.
15121 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15122 New macros.
15123 (byte-compile-lapcode): Use them and handle new lap codes.
15124 (byte-compile-obsolete): Remove.
15125 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15126 (byte-compile-arglist-warn): Check late def of inlinable funs.
15127 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15128 since they should have been expanded by now.
15129 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15130 (byte-compile-from-buffer): Remove unused second arg.
15131 (byte-compile-preprocess): New function.
15132 (byte-compile-toplevel-file-form): New function to distinguish
15133 file-form calls from outside from file-form calls from hunk-handlers.
15134 (byte-compile-file-form): Simplify.
15135 (byte-compile-file-form-defsubst): Remove.
15136 (byte-compile-file-form-defmumble): Simplify now that
15137 byte-compile-lambda always returns a byte-code-function.
15138 (byte-compile): Preprocess.
15139 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15140 Remove, not used any more.
15141 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15142 (byte-compile-make-args-desc): New funs.
15143 (byte-compile-lambda): Handle lexical functions. Always return
15144 a byte-code-function.
15145 (byte-compile-reserved-constants): New var, to make up room for
15146 closed-over variables.
15147 (byte-compile-constants-vector): Obey it.
15148 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15149 (byte-compile-macroexpand-declare-function): New function.
15150 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15151 byte-code-functions.
15152 (byte-compile-form): Check obsolescence here.
15153 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15154 (byte-compile-variable-ref): Remove.
15155 (byte-compile-dynamic-variable-op): New fun.
15156 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15157 (byte-compile-variable-set): New funs.
15158 (byte-compile-discard): Add 2 args.
15159 (byte-compile-stack-ref, byte-compile-stack-set)
15160 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15161 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15162 macroexpand-all instead.
15163 (byte-compile-quote-form): Remove.
15164 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15165 (byte-compile-bind, byte-compile-unbind): New funs.
15166 (byte-compile-let): Handle let* and lexical binding.
15167 (byte-compile-let*): Remove.
15168 (byte-compile-catch, byte-compile-unwind-protect)
15169 (byte-compile-track-mouse, byte-compile-condition-case):
15170 Handle a new :fun-body form, used for lexical scoping.
15171 (byte-compile-save-window-excursion)
15172 (byte-compile-with-output-to-temp-buffer): Remove.
15173 (byte-compile-defun): Simplify.
15174 (byte-compile-stack-adjustment): New fun.
15175 (byte-compile-out): Use it.
15176 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15177
15178 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15179 handler any more.
15180
15181 * emacs-lisp/byte-opt.el: Use lexical binding.
15182 (byte-inline-lapcode): Remove (to bytecomp).
15183 (byte-compile-inline-expand): Pay attention to inlining to/from
15184 lexically bound code.
15185 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15186 any more.
15187 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15188 any more and don't call compiler-macros.
15189 (byte-compile-splice-in-already-compiled-code): Remove.
15190 (byte-code): Don't inline any more.
15191 (disassemble-offset): Receive `bytes' as argument rather than via
15192 dynamic scoping.
15193 (byte-compile-tag-number): Declare before first use.
15194 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15195 `return' even if make-spliceable.
15196 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15197 obsolete interactive-p.
15198 (byte-optimize-lapcode): Optimize new lap-codes.
15199 Don't trip up on new form of `byte-constant' lap code.
15200
15201 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15202
15203 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15204
15205 * custom.el (custom-initialize-default, custom-declare-variable):
15206 Use `defvar'.
15207
15208 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15209 New variables.
15210 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15211 (COMPILE_FIRST): Add macroexp and cconv.
15212 * makefile.w32-in: Mirror changes in Makefile.in.
15213
15214 * vc/cvs-status.el:
15215 * vc/diff-mode.el:
15216 * vc/log-edit.el:
15217 * vc/log-view.el:
15218 * vc/smerge-mode.el:
15219 * textmodes/bibtex-style.el:
15220 * textmodes/css.el:
15221 * startup.el:
15222 * uniquify.el:
15223 * minibuffer.el:
15224 * newcomment.el:
15225 * reveal.el:
15226 * server.el:
15227 * mpc.el:
15228 * emacs-lisp/smie.el:
15229 * doc-view.el:
15230 * dired.el:
15231 * abbrev.el: Use lexical binding.
15232
15233 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15234
15235 * info.el (info-display-manual): New function.
15236
15237 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15238
15239 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15240
15241 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15242
15243 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15244 an entry for that server in rcirc-authinfo. (Bug#8385)
15245
15246 2011-03-31 Glenn Morris <rgm@gnu.org>
15247
15248 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15249
15250 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15251
15252 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15253
15254 * progmodes/python.el (python-default-interpreter)
15255 (python-python-command-args, python-jython-command-args)
15256 (python-which-shell, python-which-args, python-which-bufname)
15257 (python-file-queue, python-comint-output-filter-function)
15258 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15259 variables and functions.
15260
15261 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15262
15263 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15264 (completion-in-region-mode): New minor mode.
15265 (completion-in-region): Use it.
15266 (completion-in-region--data, completion-in-region-mode-map): New vars.
15267 (completion-in-region--postch): New function.
15268 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15269 New vars.
15270 (completion--capf-wrapper): New function.
15271 (completion-at-point): Use it to track well-behavedness of
15272 hook functions.
15273 (completion-help-at-point): New command.
15274
15275 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15276
15277 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15278 syntax class to search for whitespace on a single line
15279 (Message-ID: <4D938140.4030905@redhat.com>).
15280
15281 2011-03-30 Leo Liu <sdl.web@gmail.com>
15282
15283 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15284 New commands.
15285 (edit-abbrevs-map): Bind them here.
15286 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15287
15288 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15289
15290 * allout.el (allout-hide-by-annotation, allout-flag-region):
15291 Reduce possibility of overlay leakage by making them volatile.
15292
15293 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15294 hash is not shared between buffers. Mode initialization is
15295 responsible for giving it a useful starting value.
15296 (allout-item-span): Reduce possibility of overlay leakage by
15297 making them volatile.
15298 (allout-widgets-count-buttons-in-region): Add diagnostic function
15299 for tracking down button overlay leaks.
15300
15301 2011-03-29 Leo Liu <sdl.web@gmail.com>
15302
15303 * ido.el (ido-read-internal): Use the default history var
15304 minibuffer-history if no HISTORY is specified.
15305
15306 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15307
15308 * net/imap.el (imap-shell-open, imap-process-connection-type):
15309 Use imap-process-connection-type for 'shell' streams as well as
15310 Kerberos, SSL, other subprocesses.
15311
15312 2011-03-28 Leo Liu <sdl.web@gmail.com>
15313
15314 * abbrev.el (abbrev-table-empty-p): New function.
15315 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15316 nonempty ones. (Bug#5937)
15317
15318 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15319
15320 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15321
15322 2011-03-27 Leo Liu <sdl.web@gmail.com>
15323
15324 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15325 for foreground and background colors.
15326 (ansi-color-make-color-map): Adapt.
15327
15328 2011-03-25 Leo Liu <sdl.web@gmail.com>
15329
15330 * midnight.el (midnight-time-float): Remove. Note it calculates
15331 the microsecond component incorrectly and seconds-to-time does the
15332 same job.
15333 Remove redundant (require 'timer).
15334
15335 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15336 (ido-completions): Remove unused arguments. (Bug#8329)
15337
15338 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15339
15340 * minibuffer.el (completion--flush-all-sorted-completions):
15341 Remove itself from hook.
15342 (completion-at-point): Let the functions perform the completion
15343 immediately and return nil or t.
15344 * comint.el (comint-dynamic-complete-functions): Now identical to
15345 completion-at-point-functions.
15346 (comint-dynamic-list-input-ring): Remove unused var `index'.
15347 (comint--match-partial-filename, comint--unquote&expand-filename):
15348 New funs, split from comint-match-partial-filename.
15349 (comint-dynamic-complete): Use completion-at-point.
15350 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15351
15352 2011-03-24 Drew Adams <drew.adams@oracle.com>
15353
15354 * thingatpt.el: Support `defun'.
15355
15356 2011-03-23 Leo Liu <sdl.web@gmail.com>
15357
15358 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15359
15360 * help-mode.el (help-mode-finish): Tweak regexp.
15361
15362 2011-03-23 Glenn Morris <rgm@gnu.org>
15363
15364 * eshell/esh-opt.el (eshell-eval-using-options):
15365 Do not bind unused local variable `eshell-option-stub'.
15366
15367 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15368
15369 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15370
15371 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15372 keymap variable in `with-no-warnings' to avoid a warning when the
15373 keymap has been already `defconst'ed.
15374
15375 2011-03-22 Leo Liu <sdl.web@gmail.com>
15376
15377 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15378 encode all chars in abbrevs; otherwise use emacs-mule or
15379 utf-8-emacs. (Bug#8308)
15380
15381 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15382
15383 * simple.el (backward-delete-char-untabify):
15384 Avoid warning about using `delete-backward-char'.
15385
15386 * image.el (image-type-file-name-regexps): Make it variable.
15387 `imagemagick-register-types' modifies it, and the user may want
15388 to add new extensions for known image types.
15389 (imagemagick-register-types): Throw error if not using ImageMagick.
15390
15391 2011-03-22 Leo Liu <sdl.web@gmail.com>
15392
15393 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15394 located before rcirc-prompt-end-marker.
15395 (rcirc-complete): Error if point is not after rcirc prompt.
15396 Handle the case when table is nil.
15397 (rcirc-user-authenticated): Define to fix compiler warning.
15398
15399 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15400
15401 * custom.el (custom--inhibit-theme-enable): Make it affect only
15402 custom-theme-set-variables and custom-theme-set-faces.
15403 (provide-theme): Ignore custom--inhibit-theme-enable.
15404 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15405 (custom-enabling-themes): Delete variable.
15406 (enable-theme): Accept only loaded themes as arguments.
15407 Ignore the special custom-enabled-themes variable.
15408 (custom-enabled-themes): Forbid themes from setting this.
15409 Eliminate use of custom-enabling-themes.
15410 (custom-push-theme): Quote "changed" custom var entry.
15411
15412 2011-03-21 Leo Liu <sdl.web@gmail.com>
15413
15414 * ido.el (ido-read-internal): Add ido-selected to history instead
15415 of user input.
15416
15417 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15418
15419 * subr.el (deferred-action-list, deferred-action-function):
15420 Mark obsolete.
15421
15422 2011-03-21 Leo Liu <sdl.web@gmail.com>
15423
15424 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15425 change on 2011-02-13 (bug#8309).
15426
15427 * minibuffer.el (read-file-name-function): Change default value.
15428 (read-file-name--defaults): Rename from read-file-name-defaults.
15429 (read-file-name-default): Rename from read-file-name.
15430 (read-file-name): Call read-file-name-function.
15431
15432 2011-03-21 Glenn Morris <rgm@gnu.org>
15433
15434 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15435 Doc fixes.
15436
15437 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15438
15439 * cus-theme.el: Add missing provide statement.
15440 (customize-create-theme): Extract theme value correctly.
15441 (custom-theme-visit-theme): Autoload.
15442 (customize-create-theme): Prompt before inserting default faces.
15443
15444 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15445
15446 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15447 units and musical notes.
15448
15449 2011-03-20 Leo Liu <sdl.web@gmail.com>
15450
15451 * ido.el (ido-read-internal): Use completing-read-default.
15452 (ido-completing-read): Fix compatibility with completing-read.
15453
15454 2011-03-20 Christian Ohler <ohler@gnu.org>
15455
15456 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15457 (ert-delete-all-tests): Use `called-interactively-p' rather than
15458 `interactive-p'.
15459 (ert--make-xrefs-region): Respect END.
15460
15461 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15462
15463 * dired-aux.el (dired-create-directory): Signal an error if the
15464 directory already exists (Bug#8246).
15465
15466 * facemenu.el (list-colors-display): Call list-faces-display
15467 inside with-help-window.
15468 (list-colors-print): Use display property to align the final
15469 column, instead of checking window-width.
15470
15471 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15472
15473 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15474 windows-nt systems.
15475 (emerge-protect-metachars): Quote correctly for ms-dos and
15476 windows-nt systems.
15477
15478 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15479
15480 * info.el (info-initialize): Replace all uses of `:' with
15481 path-separator for compatibility with non-Unix systems.
15482 Cache quoting of path-separator. (Bug#8258)
15483
15484 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15485
15486 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15487 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15488 (mouse-avoidance-mode): Fix typos in docstrings.
15489
15490 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15491
15492 * startup.el (package-subdirectory-regexp): Move from package.el.
15493 Omit \\` and \\', and let callers add them.
15494
15495 * emacs-lisp/package.el (package-strip-version)
15496 (package-load-all-descriptors): Add \\` and \\' to
15497 package-subdirectory-regexp before using it.
15498 (package-untar-buffer): New arg DIR; ensure that file untars only
15499 into this expected directory. Remove superfluous delete-region.
15500 (package-unpack): Caller changed.
15501 (package-tar-file-info): Use package-subdirectory-regexp.
15502
15503 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15506 diff-mode-shared-map (bug#8284).
15507 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15508
15509 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15510
15511 * calendar/time-date.el (format-seconds): Use assoc instead of
15512 assoc-string, since assoc-string doesn't exist in XEmacs.
15513
15514 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15515
15516 * custom.el (custom-known-themes): Reflow docstring.
15517 (custom-theme-load-path): Fix typo in docstring.
15518 (load-theme): Fix typo in error message.
15519 (custom-available-themes, custom-variable-theme-value):
15520 Use `let', not `let*'.
15521
15522 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15523
15524 * calc/README: Mention inclusion of musical notes.
15525
15526 * calc/calc-units.el (calc-lu-quant): Rename from
15527 `calc-logunits-quantity'.
15528 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15529 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15530 (calc-db): Rename from `calc-dblevel'.
15531 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15532 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15533 (calc-np): Rename from `calc-nplevel'.
15534 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15535 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15536 (calc-lu-plus): Rename from `calc-logunits-add'.
15537 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15538 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15539 (calc-lu-minus): Rename from `calc-logunits-sub'.
15540 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15541 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15542 (calc-lu-times): Rename from `calc-logunits-mul'.
15543 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15544 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15545 (calc-lu-divide): Rename from `calc-logunits-div'.
15546 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15547 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15548
15549 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15550 functions being autoloaded.
15551
15552 * calc/calc.el (calc-lu-power-reference): Rename from
15553 `calc-logunits-power-reference'.
15554 (calc-lu-field-reference): Rename from
15555 `calc-logunits-field-reference'.
15556
15557 * calc/calc-help.el (calc-l-prefix-help):
15558 Mention musical note functions.
15559
15560 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15561
15562 * minibuffer.el (completion-all-sorted-completions):
15563 Use :completion-cycle-penalty text property if present.
15564
15565 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15566
15567 * allout.el (allout-yank-processing): Adjust for new rebulleting
15568 regime so bullet being yanked is used without prompting the user
15569 for a choice.
15570
15571 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15572
15573 * startup.el (command-line): Warn the user that _emacs is deprecated.
15574
15575 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15576
15577 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15578 (delphi-verbose, delphi-comment-face, delphi-string-face)
15579 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15580 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15581 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15582 (delphi-new-comment-line, delphi-font-lock-defaults)
15583 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15584 Fix typos in docstrings.
15585
15586 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15587
15588 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15589 Invert the roles of character and string values for INSTEAD, so a
15590 string is used for the more common case of a defaulting prompt.
15591
15592 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15593
15594 * progmodes/ruby-mode.el (ruby-backward-sexp):
15595 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15596 * play/gamegrid.el (gamegrid-make-face):
15597 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15598 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15599 * notifications.el (notifications-notify):
15600 * net/xesam.el (xesam-search-engines):
15601 * net/quickurl.el (quickurl-list-insert):
15602 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15603
15604 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15605
15606 * startup.el (command-line): Update package subdirectory regexp.
15607
15608 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15609
15610 * allout.el (allout-abbreviate-flattened-numbering)
15611 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15612
15613 * subr.el (read-char-choice): Only show the cursor after the prompt,
15614 not after the answer.
15615
15616 2011-03-15 Kevin Ryde <user42@zip.com.au>
15617
15618 * help-fns.el (variable-at-point): Skip leading quotes, if any
15619 (bug#8253).
15620
15621 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15622
15623 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15624 warning message.
15625
15626 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15627
15628 * shell.el (shell): When called interactively, offer to change the
15629 shell file name on remote hosts.
15630
15631 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15632
15633 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15634 integration for LDAP parameters. The host, base, user or binddn,
15635 and secret tokens can be specified in a netrc file, for instance.
15636 This is optional because an `auth-source' parameter must be
15637 specified in the search attributes.
15638
15639 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15640
15641 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15642
15643 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15644
15645 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15646 into declaration. Remove redundant and harmful binding.
15647
15648 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15649
15650 * files.el (file-ownership-preserved-p): Pass `integer' as an
15651 explicit 2nd argument to `file-attributes'. If the file's owner
15652 is the Administrators group on Windows, and the current user is
15653 Administrator, consider that a match.
15654
15655 * server.el (server-ensure-safe-dir): Consider server directory
15656 safe on MS-Windows if its owner is the Administrators group while
15657 the current Emacs user is Administrator. Use `=' to compare
15658 numerical UIDs, since they could be integers or floats.
15659
15660 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15661
15662 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15663
15664 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15665
15666 Sync with Tramp 2.2.1.
15667
15668 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15669
15670 * net/trampver.el: Update release number.
15671
15672 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15673
15674 * progmodes/compile.el (compilation--previous-directory): Fix up
15675 various nil/dead-marker mismatches (bug#8014).
15676 (compilation-directory-properties, compilation-error-properties):
15677 Don't call it at a position past the one we're about to change.
15678
15679 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15680 Disable obsolescence warnings in the file that declares it.
15681
15682 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15683
15684 * allout-widgets.el (allout-widgets-tally):
15685 Initialize allout-widgets-tally as a hash table rather than nil to
15686 prevent mode-line redisplay warnings. Also, clarify the module
15687 description and fix a comment typo.
15688
15689 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15690
15691 * help-fns.el (describe-variable): Don't complete keywords.
15692 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15693
15694 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15695
15696 * emacs-lisp/package.el (package-version-join): Impose a standard
15697 string representation for pre/alpha/beta version lists.
15698 (package-unpack-single): Standardize the directory name by passing
15699 it through package-version-join.
15700 (package-strip-rcs-id): Accept any version string that does not
15701 signal an error in version-to-list.
15702
15703 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15704
15705 * simple.el (delete-trailing-whitespace): Return nil for the
15706 benefit of `write-file-functions'.
15707
15708 2011-03-10 Glenn Morris <rgm@gnu.org>
15709
15710 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15711
15712 * vc/vc-git.el (vc-git-program): New option.
15713 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15714 (vc-git--call): Use it.
15715
15716 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15717
15718 * cus-edit.el (Custom-newline): If no button at point, look
15719 for a subgroup button at start-of-line. (Bug#2298)
15720
15721 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15722
15723 2011-03-10 Julien Danjou <julien@danjou.info>
15724
15725 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15726 `cursor-type' is nil.
15727
15728 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15729
15730 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15731
15732 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15733
15734 * allout.el: Change so yank of distinctive-bullet items
15735 preserves the existing header prefix, rebulleting it if necessary,
15736 rather than replacing it. This is necessary for proper operation
15737 of cooperative addons like allout-widgets.
15738 (allout-make-topic-prefix, allout-rebullet-heading):
15739 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15740 value as alternate bullet to be used, instead of prompting the user
15741 for a bullet character.
15742
15743 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15744
15745 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15746 Do not use `tramp-file-name-port', because this returns also
15747 `tramp-default-port'.
15748
15749 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15750
15751 * net/rcirc.el (rcirc-handler-001): Remove useless
15752 with-rcirc-process-buffer.
15753 (rcirc-check-auth-status): Swap arguments to string-match.
15754
15755 2011-03-09 Glenn Morris <rgm@gnu.org>
15756
15757 * shell.el (shell-mode):
15758 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15759
15760 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15761 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15762
15763 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15764
15765 * emacs-lisp/package.el (package-refresh-contents)
15766 (package-menu-execute): Use condition-case-no-debug.
15767
15768 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15769
15770 * simple.el (shell-command-to-string): Use `process-file'.
15771
15772 * emacs-lisp/package.el (package-tar-file-info): Handle also
15773 remote files.
15774
15775 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15776 Use `equal' for upload base check.
15777
15778 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15779
15780 * textmodes/texinfo.el (texinfo-environments):
15781 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15782
15783 2011-03-08 Glenn Morris <rgm@gnu.org>
15784
15785 * cus-start.el (cursor-in-non-selected-windows):
15786 Fix :set quoting oddness. (Bug#8192)
15787
15788 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15789 in some setf expressions. (Bug#2159)
15790
15791 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15792
15793 * custom.el (custom-available-themes): Return themes in
15794 alphabetical order.
15795
15796 See ChangeLog.15 for earlier changes.
15797
15798 ;; Local Variables:
15799 ;; coding: utf-8
15800 ;; End:
15801
15802 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15803
15804 This file is part of GNU Emacs.
15805
15806 GNU Emacs is free software: you can redistribute it and/or modify
15807 it under the terms of the GNU General Public License as published by
15808 the Free Software Foundation, either version 3 of the License, or
15809 (at your option) any later version.
15810
15811 GNU Emacs is distributed in the hope that it will be useful,
15812 but WITHOUT ANY WARRANTY; without even the implied warranty of
15813 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15814 GNU General Public License for more details.
15815
15816 You should have received a copy of the GNU General Public License
15817 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.