Further GV/CL cleanups.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Further GV/CL cleanups.
4 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5 gv-expander.
6 (gv--defun-declaration): New function.
7 (defun-declarations-alist): Use it.
8 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9 (gv-place): Autoload.
10 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11 original definition of dotimes and dolist.
12 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
13 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
14 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
15 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
16 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
17 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
18 to the function's definition.
19 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
20 * window.el:
21 * files.el:
22 * faces.el:
23 * env.el: Don't use CL.
24
25 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
26
27 Support higher-resolution time stamps (Bug#9000).
28
29 * calendar/time-date.el (with-decoded-time-value): New arg
30 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
31 (encode-time-value): New optional arg PICO. New type 3.
32 (time-to-seconds) [!float-time]: Support the new picoseconds
33 component if it's used.
34 (seconds-to-time, time-subtract, time-add):
35 Support ps-resolution time stamps as well.
36
37 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
38 (timerp): Timer vectors now have length 9, not 8.
39 (timer--time): Support new-style (4-part) time stamps.
40 (timer-next-integral-multiple-of-time): Time stamps now have
41 picosecond resolution, so take a bit more care about rounding.
42 (timer-relative-time, timer-inc-time): New optional arg psecs.
43 (timer-set-time-with-usecs): Set psecs to 0.
44 (timer--activate): Check psecs component, too.
45
46 * proced.el (proced-time-lessp): Support ps-resolution stamps.
47
48 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
51 Move the non-essential binding to the post/pre-command-hook where it is
52 more obviously correct.
53
54 * subr.el (read-passwd): Don't use a history at all.
55 * savehist.el (savehist-save): Remove password saved accidentally
56 because of the above bug.
57
58 2012-06-22 Bastien Guerry <bzg@gnu.org>
59
60 * files.el (toggle-read-only): Display a message telling whether
61 the buffer is read-only or not (bug#11726).
62
63 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * emacs-lisp/gv.el: New file.
66 * subr.el (push, pop): Extend to generalized variables.
67 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
68 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
69 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
70 gv-define-simple-setter, and gv-define-expander.
71 Remove setf-methods defined in gv. Rename cl-setf -> setf.
72 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
73 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
74 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
75 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
76 gv-letplace.
77 (cl-defstruct): Don't define setf-method any more.
78 * emacs-lisp/cl.el (flet): Don't autoload.
79 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
80 (define-setf-expander, defsetf, define-modify-macro)
81 (cl-struct-setf-expander): Move from cl-lib.el.
82 * emacs-lisp/syntax.el:
83 * emacs-lisp/ewoc.el:
84 * emacs-lisp/smie.el:
85 * emacs-lisp/cconv.el:
86 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
87 (timer--time): Use gv-define-simple-setter.
88 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
89 to avoid coding-system problems in subr.el. Adjust all users.
90 (macroexp--maxsize, macroexp-small-p): New functions.
91 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
92 * scroll-bar.el (scroll-bar-mode):
93 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
94 (normal-erase-is-backspace-mode): Don't use the `eq' place.
95 * winner.el (winner-configuration, winner-make-point-alist)
96 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
97 * files.el (locate-file-completion-table): Avoid list*.
98
99 2012-06-22 Chong Yidong <cyd@gnu.org>
100
101 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
102 (dired-create-files): Doc fix (Bug#11329).
103 (dired-do-copy): Doc fix (Bug#11334).
104 (dired-mark-read-string): Doc fix (Bug#11553).
105
106 * dired.el (dired-recursive-copies, dired-recursive-deletes):
107 Doc fix (Bug#11326).
108 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
109 (dired-dwim-target): Doc fix.
110
111 * wdired.el (wdired-mode): Doc fix.
112
113 2012-06-22 Glenn Morris <rgm@gnu.org>
114
115 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
116 (pcmpl-rpm-cache-stamp-file): New constant.
117 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
118 (pcmpl-rpm-packages): Optionally cache list of packages.
119
120 * pcmpl-rpm.el (pcmpl-rpm): New group.
121 (pcmpl-rpm-query-options): New option.
122 (pcmpl-rpm-packages): No need to inline it.
123 Use pcmpl-rpm-query-options.
124
125 * calendar/calendar.el (calendar-in-read-only-buffer):
126 Avoid some needless mode changes.
127
128 2012-06-21 Chong Yidong <cyd@gnu.org>
129
130 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
131 (desktop-path): Remove . from the default value (Bug#10977).
132 (desktop-read): Use user-emacs-directory if desktop-path is nil.
133
134 2012-06-20 Chong Yidong <cyd@gnu.org>
135
136 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
137
138 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
139
140 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
141 (bug#11201).
142
143 2012-06-20 Chong Yidong <cyd@gnu.org>
144
145 * term.el (term-window-width): Handle the case of a missing right
146 fringe (Bug#8837).
147 (term-check-size): Use window-text-height (Bug#5445).
148 (term-mode): Use define-derived-mode. Minor cleanups.
149 Set font-lock-defaults (Bug#7692).
150 (term-move-columns, term-insert-char, term-emulate-terminal)
151 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
152
153 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
154
155 * net/ange-ftp.el (ange-ftp-get-passwd):
156 Bind `enable-recursive-minibuffers'.
157 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
158
159 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
160
161 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
162
163 2012-06-19 Glenn Morris <rgm@gnu.org>
164
165 * progmodes/python.el (python-mode): Derive from prog-mode.
166
167 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
168
169 * emulation/edt.el (edt-default-menu-bar-update-buffers)
170 (edt-user-menu-bar-update-buffers): New functions.
171 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
172
173 2012-06-19 Chong Yidong <cyd@gnu.org>
174
175 * subr.el (with-selected-window): Preserve the selected window's
176 terminal's top-frame (Bug#4702).
177
178 * window.el (save-selected-window): Likewise.
179
180 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * progmodes/python.el (python-rx-constituents): Move backquote.
183 (python-skeleton-define, python-define-auxiliary-skeleton):
184 Use `declare'.
185
186 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
187
188 * minibuffer.el (read-file-name-default): Revert the patch from
189 2012-06-17.
190
191 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
194 (pcase--u1, pcase--q1): Don't use apply-partially.
195
196 2012-06-18 Glenn Morris <rgm@gnu.org>
197
198 * progmodes/python.el (python-proc, python-buffer)
199 (python-send-receive, python-send-string): Fix obsolete versions.
200
201 2012-06-18 Martin Rudalics <rudalics@gmx.at>
202
203 * window.el (special-display-p): Completely remove stringp
204 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
205
206 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
207
208 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
209
210 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
211
212 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
213 * net/tramp-sh.el (tramp-maybe-open-connection):
214 Throw if `non-essential' is non-nil.
215
216 2012-06-17 Martin Rudalics <rudalics@gmx.at>
217
218 * window.el (special-display-p): Signal an error if BUFFER-NAME
219 is not a string (Bug#11713).
220
221 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
222
223 * progmodes/python.el (python-info-beginning-of-backslash):
224 Rename from python-info-beginning-of-backlash, as a spelling fix.
225
226 2012-06-17 Chong Yidong <cyd@gnu.org>
227
228 * term.el (term-emulate-terminal): If term-check-size is called,
229 move point to the process mark without resetting point (Bug#4635).
230
231 2012-06-17 Glenn Morris <rgm@gnu.org>
232
233 * international/mule-cmds.el (mule-menu-keymap)
234 (set-language-environment, set-locale-environment): Doc tweaks.
235
236 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
237
238 * cus-face.el (custom-face-attributes): Add wave-style underline
239 attribute.
240 * faces.el (set-face-attribute): Update docstring to describe
241 wave-style underline attribute.
242
243 2012-06-16 Chong Yidong <cyd@gnu.org>
244
245 * term/xterm.el (terminal-init-xterm): Discard input before
246 querying background mode (Bug#10959).
247
248 2012-06-16 Stefan Merten <smerten@oekonux.de>
249
250 * textmodes/rst.el: Added and corrected some comments.
251 (rst-re-alist-def): Improve symbol syntax.
252 (rst-mode-syntax-table): Correct syntax entries.
253 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
254 (rst-official-version, rst-official-cvs-rev): Update version
255 information.
256
257 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
258
259 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
260 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
261
262 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
263
264 * progmodes/python.el: New python.el merge.
265 (python-guess-indent): Obsolete var.
266 (python-indent-guess-indent-offset): New defcustom.
267 (python-indent): Obsolete var.
268 (python-indent-offset): New defcustom.
269 (python-python-command, python-jython-command): Delete var.
270 (python-shell-interpreter): New defcustom.
271 (python-pdbtrack-do-tracking-p): Delete var.
272 (python-pdbtrack-activate): New defcustom.
273 (python-use-skeletons): Obsolete var.
274 (python-skeleton-autoinsert): New defcustom.
275 (inferior-python-filter-regexp, python-continuation-offset)
276 (python-honour-comment-indentation, python-indent-string-contents)
277 (python-jython-packages, python-mode-hook)
278 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
279 (python-shell-prompt-alist)
280 (python-source-modes): Delete defcustoms.
281 (python-check-buffer-name, python-eldoc-setup-code)
282 (python-eldoc-string-code, python-ffap-setup-code)
283 (python-ffap-string-code, python-fill-comment-function)
284 (python-fill-decorator-function, python-fill-paren-function)
285 (python-fill-string-function, python-imenu-include-defun-type)
286 (python-imenu-make-tree, python-imenu-subtree-root-label)
287 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
288 (python-shell-compilation-regexp-alist)
289 (python-shell-completion-module-string-code)
290 (python-shell-completion-pdb-string-code)
291 (python-shell-completion-setup-code)
292 (python-shell-completion-string-code)
293 (python-shell-enable-font-lock, python-shell-exec-path)
294 (python-shell-extra-pythonpaths)
295 (python-shell-internal-buffer-name, python-shell-interpreter-args)
296 (python-shell-process-environment)
297 (python-shell-prompt-block-regexp)
298 (python-shell-prompt-output-regexp)
299 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
300 (python-shell-send-setup-max-wait, python-shell-setup-codes)
301 (python-shell-virtualenv-path): New defcustoms.
302 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
303 (inferior-python-mode-syntax-table, python--prompt-regexp)
304 (python-buffer, python-command python-python-command)
305 (python-default-template, python-imports, python-indent-index)
306 (python-indent-list, python-indent-list-length)
307 (python-mode-running, python-pdbtrack-is-tracking-p)
308 (python-preoutput-continuation, python-preoutput-leftover)
309 (python-preoutput-result, python-preoutput-skip-next-prompt)
310 (python-prev-dir/file, python-recursing)
311 (python-saved-check-command, python-version-checked)
312 (python-which-func-length-limit)
313 (view-return-to-alist): Delete vars.
314 (python-check-custom-command, python-dotty-syntax-table)
315 (python-imenu-index-alist, python-indent-current-level)
316 (python-indent-dedenters, python-indent-levels)
317 (python-nav-beginning-of-defun-regexp)
318 (python-nav-list-defun-positions-cache)
319 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
320 (python-shell-internal-buffer)
321 (python-skeleton-available): New vars.
322 (def-python-skeleton): Delete macro.
323 (python-skeleton-define): New macro.
324 (python-define-auxiliary-skeleton, python-rx): New macros.
325 (python-insert-class): Delete command.
326 (python-skeleton-class): New command.
327 (python-insert-def): Delete command.
328 (python-skeleton-def): New command.
329 (python-insert-for): Delete command.
330 (python-skeleton-for): New command.
331 (python-insert-if): Delete command.
332 (python-skeleton-if): New command.
333 (python-insert-try/except, python-insert-try/finally): Delete commands.
334 (python-skeleton-try): New command.
335 (python-insert-while): Delete command.
336 (python-skeleton-while): New command.
337 (python-backspace): Delete command.
338 (python-indent-dedent-line-backspace): New command.
339 (python-electric-colon): Delete command.
340 (python-indent-electric-colon): New command.
341 (python-guess-indent): Delete command.
342 (python-indent-guess-indent-offset): New command.
343 (python-shift-left): Delete command.
344 (python-indent-shift-left): New command.
345 (python-shift-right): Delete command.
346 (python-indent-shift-right): New command.
347 (python-find-function): Delete command.
348 (python-nav-jump-to-defun): New command.
349 (python-next-statement): Delete command.
350 (python-nav-forward-sentence): New command.
351 (python-previous-statement): Delete command.
352 (python-nav-backward-sentence): New command.
353 (python-fill-paragraph): Delete command.
354 (python-fill-paragraph-function): New command.
355 (python-send-buffer): Delete command.
356 (python-shell-send-buffer): New command.
357 (python-send-defun): Delete command.
358 (python-shell-send-defun): New command.
359 (python-send-region, python-send-region-and-go): Delete commands.
360 (python-shell-send-region)
361 (python-shell-switch-to-shell): New commands.
362 (python-send-string): Delete command.
363 (python-shell-send-string): New command.
364 (python-switch-to-python): Delete command.
365 (python-shell-switch-to-shell): New command.
366 (python-describe-symbol): Delete command.
367 (python-eldoc-at-point): New command.
368 (python--set-prompt-regexp, python-args-to-list)
369 (python-after-info-look, python-check-version)
370 (python-check-comint-prompt, python-find-imports)
371 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
372 (python-unload-function, python-expand-template)
373 (python-maybe-jython, python-preoutput-filter)
374 (python-pdbtrack-get-source-buffer)
375 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
376 (python-pdbtrack-toggle-stack-tracking)
377 (python-pdbtrack-track-stack-file, python-initial-text)
378 (python-first-word, python-comment-line-p, python-send-command)
379 (python-setup-brm, python-sentinel, python-set-proc)
380 (python-skip-out, python-input-filter, python-outdent-p)
381 (python-outline-level, python-backslash-continuation-line-p)
382 (python-end-of-block, python-end-of-statement, python-mark-block)
383 (python-beginning-of-block, python-beginning-of-statement)
384 (python-blank-line-p, python-beginning-of-string)
385 (python-open-block-statement-p): Delete functions.
386 (python-indent-line, python-indent-line-1): Delete functions.
387 (python-indent-line): New function.
388 (python-indentation-levels): Delete function.
389 (python-indent-calculate-levels): New function.
390 (python-proc): Delete function.
391 (python-shell-get-process): New function.
392 (python-send-receive): Delete function.
393 (python-shell-send-string-no-output): New function.
394 (python-module-path): Delete function.
395 (python-ffap-module-path): New function.
396 (python-completion-at-point)
397 (python-symbol-completions): Delete functions.
398 (python-completion-complete-at-point): New function.
399 (python-load-file): Delete function.
400 (python-shell-send-file): New function.
401 (python-calculate-indentation): Delete function.
402 (python-indent-calculate-indentation): New function.
403 (python-skip-comments/blanks): Delete function.
404 (python-util-forward-comment): New function.
405 (python-continuation-line-p): Delete function.
406 (python-info-continuation-line-p): New function.
407 (python-which-func, python-current-defun): Delete function.
408 (python-info-current-defun): New function.
409 (python-beginning-of-defun): Delete function.
410 (python-nav-beginning-of-defun): New function.
411 (python-close-block-statement-p)
412 (python-block-end-p): Delete function.
413 (python-info-closing-block): New function.
414 (python-comint-output-filter-function)
415 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
416 (python-fill-comment, python-fill-decorator, python-fill-paren)
417 (python-fill-string, python-imenu-make-element-tree)
418 (python-imenu-make-tree, python-imenu-tree-assoc)
419 (python-indent-context, python-indent-dedent-line)
420 (python-indent-line-function)
421 (python-indent-post-self-insert-function)
422 (python-indent-toggle-levels)
423 (python-info-assignment-continuation-line-p)
424 (python-info-beginning-of-backlash)
425 (python-info-block-continuation-line-p)
426 (python-info-closing-block-message)
427 (python-info-line-ends-backslash-p)
428 (python-info-looking-at-beginning-of-defun)
429 (python-info-ppss-context, python-info-ppss-context-type)
430 (python-nav-list-defun-positions, python-nav-read-defun)
431 (python-nav-sentence-end, python-nav-sentence-start)
432 (python-pdbtrack-comint-output-filter-function)
433 (python-pdbtrack-set-tracked-buffer)
434 (python-shell-calculate-exec-path)
435 (python-shell-calculate-process-environment)
436 (python-shell-completion--do-completion-at-point)
437 (python-shell-completion--get-completions)
438 (python-shell-completion-complete-at-point)
439 (python-shell-completion-complete-or-indent)
440 (python-shell-get-or-create-process)
441 (python-shell-get-process-name)
442 (python-shell-internal-get-or-create-process)
443 (python-shell-internal-get-process-name)
444 (python-shell-internal-send-string, python-shell-make-comint)
445 (python-shell-parse-command, python-shell-send-setup-code)
446 (python-skeleton-add-menu-items)
447 (python-util-clone-local-variables, python-util-position)
448 (run-python-internal, python-indentation-levels)
449 (python-nav-beginning-of-defun)
450 (python-completion-complete-at-point): New functions.
451 (run-python): Change arguments. New API requirements.
452
453 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
456 (bug#11649).
457
458 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
459 (macroexp--expand-all): Use it.
460
461 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
462 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
463 Use `cl-function' instead.
464
465 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
466
467 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
468 Suggested by Stefan Monnier while discussing bug#11657.
469
470 2012-06-14 Sam Steingold <sds@gnu.org>
471
472 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
473
474 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
475
476 * play/doctor.el (doctor-doc): Remove parameter and use
477 doctor-sent instead of sent.
478 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
479
480 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * files.el: Require cl-lib.
483 (file-name-non-special): Replace case -> cl-case.
484
485 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
486
487 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
488 mapping from #' to function*.
489
490 2012-06-13 Chong Yidong <cyd@gnu.org>
491
492 * mouse.el (mouse-drag-track): Do not set the mark if the user
493 releases the mouse without selecting anything (Bug#11588).
494
495 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
498 as well (bug#11646).
499
500 * loadup.el: Count byte-code functions as well.
501
502 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
503 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
504
505 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
506 (bug#11649). Add cl-defun and cl-defmacro.
507
508 2012-06-13 Drew Adams <drew.adams@oracle.com>
509
510 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
511 Fix last change.
512
513 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
514
515 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
516 Otherwise, it blocks in batch mode.
517
518 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
519
520 * help-mode.el (bookmark-make-record-default): Declare.
521
522 2012-06-13 Chong Yidong <cyd@gnu.org>
523
524 * emacs-lisp/package.el (list-packages): Compute a list of
525 packages that are newly-available since the last list-packages
526 invocation.
527 (package-menu--new-package-list): New var.
528 (package-menu--generate, package-menu--print-info)
529 (package-menu--status-predicate, package-menu-mark-install):
530 Handle new status label "new".
531
532 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
533
534 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
535 conversion to backquotes.
536
537 2012-06-12 Chong Yidong <cyd@gnu.org>
538
539 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
540 Rename from gud-inhibit-global-bindings.
541
542 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
543
544 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
545 hook from nxml-glyph-set-hook.
546
547 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
548 declaration.
549
550 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
551
552 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
553 Convert to defcustom.
554
555 2012-06-12 Drew Adams <drew.adams@oracle.com>
556
557 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
558 New functions.
559 (help-mode): Use them.
560
561 2012-06-11 Glenn Morris <rgm@gnu.org>
562
563 * progmodes/fortran.el (fortran-font-lock-keywords-3):
564 Use preprocessor face for directives.
565 (fortran-directive-re): Doc fix.
566
567 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
570 conversion to backquotes (bug#11652).
571
572 Fix compiler-expansion of CL's cXXr functions (bug#11673).
573 * emacs-lisp/cl-lib.el (cl--defalias): New function.
574 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
575 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
576 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
577 (cl-ninth, cl-tenth): Mark them as inlinable.
578 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
579 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
580 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
581 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
582 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
583 (cl-list*, cl-adjoin): Don't put an autoload manually.
584 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
585 (cl--compiler-macro-list*): Add autoload cookie.
586 (cl--compiler-macro-cXXr): New function.
587
588 * help-fns.el (help-fns--compiler-macro): New function extracted from
589 describe-function-1; follow aliases and use `compiler-macro' property.
590 (describe-function-1): Use it.
591
592 2012-06-11 Chong Yidong <cyd@gnu.org>
593
594 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
595 is uninstalled, if imagemagick is installed.
596
597 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * emacs-lisp/cl-lib.el: Use lexical-binding.
600 (cl-map-extents, cl-maclisp-member): Remove.
601 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
602 (cl--set-substring, cl--block-wrapper, cl--block-throw)
603 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
604 * emacs-lisp/cl-extra.el: Use lexical-binding.
605 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
606 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
607 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
608 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
609 * emacs-lisp/cl-seq.el: Use lexical-binding.
610 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
611 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
612 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
613 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
614 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
615 CL's internals.
616
617 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
618
619 Sync with Tramp 2.2.6-pre.
620
621 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
622 `print-length' and `print-level' to nil, in order to avoid
623 truncation. Reported by Christopher Schmidt
624 <christopher@ristopher.com>.
625
626 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
627
628 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
629 New defmacro.
630 (tramp-compat-copy-directory): Add optional argument
631 COPY-CONTENTS. It is not handled yet.
632
633 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
634 (tramp-ftp-file-name-p): Simplify.
635
636 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
637 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
638 connection vector.
639
640 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
641 (tramp-methods): Do not use `tramp-password-end-of-line'.
642 (tramp-completion-function-alist-putty): Handle UNIX case.
643 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
644 (tramp-do-file-attributes-with-stat)
645 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
646 gid as real numbers. They could run out of integer range on cygwin.
647 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
648 (tramp-sh-handle-expand-file-name): Handle hops.
649 (tramp-open-connection-setup-interactive-shell):
650 Use `tramp-cleanup'. Move check for busyboxes ...
651 (tramp-find-shell): ... here. Simplify implementation.
652 Set "remote-shell" property also for alternative shells.
653 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
654 If failing, a regular file would be written otherwise.
655 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
656 (tramp-find-inline-encoding): Cache the coding commands in the
657 process cache. Apply test command on the remote side, if defined.
658 (tramp-find-inline-compress): Cache the compress commands in the
659 process cache.
660 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
661 when requested. Handle hops.
662 (tramp-current-connection): New defvar.
663 (tramp-maybe-open-connection): Use `tramp-cleanup'.
664 Throw `suppress', if there was a failed connection shortly before.
665 Handle user interrupt. (Bug#10187)
666 (tramp-get-inline-compress, tramp-get-inline-coding):
667 Read connection properties from the process cache.
668
669 * net/tramp-smb.el (tramp-smb-server-version)
670 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
671 New defconsts.
672 (tramp-smb-prompt): Extend for powershell prompt.
673 (tramp-smb-file-name-handler-alist): Add handlers for
674 `process-file', `shell-command' and `start-file-process'.
675 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
676 (tramp-smb-winexe-shell-command-switch): New defcustoms.
677 (tramp-smb-file-name-p): Simplify.
678 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
679 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
680 (tramp-smb-shell-quote-argument): New defuns.
681 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
682 Implement using "tar". By this, time-stamps are preserved.
683 (tramp-smb-handle-copy-file): Handle also the case of directories.
684 (tramp-smb-do-file-attributes-with-stat)
685 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
686 Use `tramp-get-connection-buffer').
687 (tramp-smb-handle-rename-file): Use "rename", when source and
688 target are on the same share.
689 (tramp-smb-maybe-open-connection): Handle wrong passwords.
690 Use `tramp-smb-server-version'.
691 (tramp-smb-wait-for-output): Remove prompt.
692
693 * net/tramp.el (top): Require 'cl.
694 (tramp-methods, tramp-rsh-end-of-line):
695 Remove `tramp-password-end-of-line' from docstring.
696 (tramp-save-ad-hoc-proxies): New defcustom.
697 (tramp-completion-function-alist): Adapt docstring.
698 (tramp-default-password-end-of-line): Remove defcustom.
699 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
700 (tramp-user-regexp, tramp-file-name-regexp-unified)
701 (tramp-file-name-regexp-url): Extend regexp by hop separator.
702 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
703 (tramp-remote-file-name-spec-regexp): New defconst.
704 (tramp-file-name-structure): Extend structure for hops.
705 (tramp-get-method-parameter): Move up.
706 (tramp-file-name-p, tramp-dissect-file-name)
707 (with-parsed-tramp-file-name): Handle hops.
708 (tramp-file-name-hop): New defun.
709 (tramp-make-tramp-file-name): New optional arg HOP.
710 (tramp-message-show-progress-reporter-message): New defvar.
711 (tramp-with-progress-reporter): Use it. We cannot use
712 `tramp-message-show-message' here, because this suppresses also
713 error buffers.
714 (tramp-error-with-buffer): Suppress buffer view, if
715 `tramp-message-show-message' is nil.
716 Use `tramp-get-connection-buffer'.
717 (tramp-cleanup): New defun.
718 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
719 (tramp-file-name-handler): If `debug-on-error' is set, propagate
720 an error unchanged.
721 (tramp-completion-handle-file-name-all-completions): Handle hops.
722 Fix an error when called from ido.
723 (tramp-completion-dissect-file-name): Use better local variable
724 name. Add hop to the vector.
725 (tramp-handle-insert-file-contents): Use progress-reporter for the
726 whole scenario.
727 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
728 to `t'.
729 (tramp-check-for-regexp): Simplify search.
730 (tramp-enter-password): Remove it. Move implementation ...
731 (tramp-action-password): ... here.
732 (tramp-mode-string-to-int, tramp-local-host-p)
733 (tramp-make-tramp-temp-file, tramp-read-passwd)
734 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
735 Set tramp-autoload cookie.
736
737 * net/trampver.el: Update release number.
738
739 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
740 Michael Albinus <michael.albinus@gmx.de>
741
742 * net/tramp.el (tramp-set-completion-function): Fix docstring.
743 (tramp-parse-group, tramp-parse-file)
744 (tramp-parse-shostkeys-sknownhosts): New defuns.
745 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
746 (tramp-parse-shosts-group, tramp-parse-sconfig)
747 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
748 (tramp-parse-sknownhosts, tramp-parse-hosts)
749 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
750 Use them.
751 (tramp-parse-passwd-group, tramp-parse-netrc-group)
752 (tramp-parse-putty-group): Don't narrow.
753 (tramp-parse-putty): Make a loop.
754 (tramp-file-name-handler): Catch the `suppress' signal.
755
756 2012-06-11 Chong Yidong <cyd@gnu.org>
757
758 * image.el (imagemagick-register-types): Put the ImageMagick entry
759 at the end of image-type-file-name-regexps.
760
761 2012-06-11 Johan Bockgård <bojohan@gnu.org>
762
763 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
764 (pcase, pcase-let*, pcase-dolist): Use them.
765
766 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
767
768 * emacs-lisp/pcase.el (pcase--let*): New function.
769 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
770 (pcase--expand): Use macroexp-let².
771
772 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
775 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
776 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
777 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
778 * emacs-lisp/derived.el: Use pcase instead of `cl'.
779 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
780
781 2012-06-10 Glenn Morris <rgm@gnu.org>
782
783 * mail/rmail.el (rmail-yank-current-message): Leave point at
784 correct position. (Bug#11660)
785
786 2012-06-10 Chong Yidong <cyd@gnu.org>
787
788 * allout-widgets.el: Fix code header.
789
790 2012-06-10 Chong Yidong <cyd@gnu.org>
791
792 * cus-edit.el (customize-changed-options-previous-release):
793 Bump to 24.1.
794
795 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
796
797 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
798
799 2012-06-09 Chong Yidong <cyd@gnu.org>
800
801 * ebuff-menu.el (electric-buffer-list): Preserve header line.
802
803 2012-06-09 Martin Rudalics <rudalics@gmx.at>
804
805 * window.el (special-display-popup-frame): Don't use
806 window--display-buffer (Bug#11651).
807
808 2012-06-09 Eli Zaretskii <eliz@gnu.org>
809
810 Fix parallel builds: make sure loaddefs.el is not being written
811 while Lisp files are compiled.
812 (compile): Don't depend on 'mh-autoloads'.
813 (compile-CMD, compile-SH): Depend on 'autoloads'.
814 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
815
816 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
817
818 2012-06-09 Chong Yidong <cyd@gnu.org>
819
820 * face-remap.el (face-remap-add-relative, face-remap-set-base)
821 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
822 Doc fixes (Bug#11225).
823
824 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
827 a function if there's a clear indication that it has a compiler-macro.
828 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
829 (macro-declarations-alist): Add arglist to declaration functions.
830 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
831 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
832 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
833 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
834 Also add autoload to find the compiler macro.
835 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
836 (cl--compiler-macro-member, cl--compiler-macro-assoc)
837 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
838 (cl--compiler-macro-get): New functions, replacing calls to
839 cl-define-compiler-macro.
840 (cl-typep) [compiler-macro]: Use macroexp-let².
841
842 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
843
844 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
845 string properly, fixes Bug#11473.
846
847 2012-06-08 Chong Yidong <cyd@gnu.org>
848
849 * faces.el (set-face-attribute): Doc fix.
850 (modify-face): Don't use :bold and :italic.
851 (error, warning, success): Tweak definitions.
852
853 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
854 (custom-modified, custom-set, custom-changed, custom-themed)
855 (custom-saved, custom-button, custom-button-mouse)
856 (custom-button-pressed, custom-state, custom-comment-tag)
857 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
858 (custom-group-subtitle): Use new-style face specs.
859 (custom-invalid-face, custom-rogue-face, custom-modified-face)
860 (custom-set-face, custom-changed-face, custom-saved-face)
861 (custom-button-face, custom-button-pressed-face)
862 (custom-documentation-face, custom-state-face)
863 (custom-comment-face, custom-comment-tag-face)
864 (custom-variable-tag-face, custom-variable-button-face)
865 (custom-face-tag-face, custom-group-tag-face-1)
866 (custom-group-tag-face): Remove obsolete face alias.
867
868 * epa.el (epa-validity-high, epa-validity-medium)
869 (epa-validity-low, epa-mark, epa-field-name, epa-string)
870 (epa-field-name, epa-field-body):
871 * font-lock.el (font-lock-comment-face, font-lock-string-face)
872 (font-lock-keyword-face, font-lock-builtin-face)
873 (font-lock-function-name-face, font-lock-variable-name-face)
874 (font-lock-type-face, font-lock-constant-face):
875 * ido.el (ido-first-match, ido-only-match, ido-subdir)
876 (ido-virtual, ido-indicator, ido-incomplete-regexp):
877 * speedbar.el (speedbar-button-face, speedbar-file-face)
878 (speedbar-directory-face, speedbar-tag-face)
879 (speedbar-selected-face, speedbar-highlight-face)
880 (speedbar-separator-face):
881 * whitespace.el (whitespace-newline, whitespace-space)
882 (whitespace-hspace, whitespace-tab, whitespace-trailing)
883 (whitespace-line, whitespace-space-before-tab)
884 (whitespace-space-after-tab, whitespace-indentation)
885 (whitespace-empty):
886 * emulation/cua-base.el (cua-global-mark):
887 * eshell/em-prompt.el (eshell-prompt):
888 * net/newst-plainview.el (newsticker-new-item-face)
889 (newsticker-old-item-face, newsticker-immortal-item-face)
890 (newsticker-obsolete-item-face, newsticker-date-face)
891 (newsticker-statistics-face, newsticker-default-face):
892 * net/newst-reader.el (newsticker-feed-face)
893 (newsticker-extra-face, newsticker-enclosure-face):
894 * net/newst-treeview.el (newsticker-treeview-face)
895 (newsticker-treeview-new-face, newsticker-treeview-old-face)
896 (newsticker-treeview-immortal-face)
897 (newsticker-treeview-obsolete-face)
898 (newsticker-treeview-selection-face):
899 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
900 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
901 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
902 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
903 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
904 (nxml-outline-active-indicator, nxml-outline-ellipsis):
905 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
906 (mpuz-text):
907 * progmodes/vera-mode.el (vera-font-lock-number)
908 (vera-font-lock-function, vera-font-lock-interface):
909 * textmodes/table.el (table-cell): Use new-style face specs, and
910 don't use the old :bold and :italic attributes.
911
912 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
913 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
914 (ebrowse-member-class, ebrowse-progress): Likewise.
915 (ebrowse-tree-mark-face, ebrowse-root-class-face)
916 (ebrowse-file-name-face, ebrowse-default-face)
917 (ebrowse-member-attribute-face, ebrowse-member-class-face)
918 (ebrowse-progress-face): Remove obsolete faces.
919
920 * progmodes/flymake.el (flymake-errline, flymake-warnline):
921 Inherit from error and warning faces respectively.
922
923 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
924 Likewise.
925 (flyspell-incorrect-face, flyspell-duplicate-face):
926 Remove obsolete aliases.
927
928 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
929
930 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
931 Avoid infloop.
932
933 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * startup.el (argv, argi): Make lexically scoped.
936 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
937 * emacs-lisp/cl-macs.el: Use lexical-binding.
938 Rename cl-bind-* to cl--bind-*.
939 * files.el: Don't require `cl' since it doesn't use it.
940 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
941
942 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
943
944 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
945 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
946 instead of calling external sort utility.
947 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
948
949 2012-06-08 Eli Zaretskii <eliz@gnu.org>
950
951 * descr-text.el (describe-char): Mention how to insert the
952 character, if the current input method doesn't support it.
953 See the discussion in this thread for the details:
954 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
955
956 2012-06-08 Sam Steingold <sds@gnu.org>
957
958 * bindings.el (global-map): Bind XF86Forward to next-buffer and
959 XF86Back to previous-buffer.
960 (minibuffer-local-map): Bind them to next-history-element and
961 previous-history-element respectively.
962 * help-mode.el (help-mode-map): Bind them to help-go-forward and
963 help-go-back respectively.
964 * info.el (Info-mode-map): Bind them to Info-history-forward and
965 Info-history-back respectively.
966 These are the keys next to Up on the ThinkPad keyboard.
967
968 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
971 * emacs-lisp/cl-macs.el: Provide itself.
972 (cl--labels-convert-cache): New var.
973 (cl--labels-convert): New function.
974 (cl-flet, cl-labels): New implementation with new semantics, relying on
975 lexical-binding.
976 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
977 (cl-closure-vars, cl--function-convert-cache)
978 (cl--function-convert): Move from cl-macs.el.
979 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
980 rename by removing the "cl-" prefix.
981 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
982
983 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
984
985 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
986 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
987 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
988 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
989 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
990 (cl-hash-table-count): Add old compatibility aliases.
991
992 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
993 Use macroexpand-all-environment instead.
994 (cl--old-macroexpand): New var.
995 (cl--sm-macroexpand): New function.
996 (cl-symbol-macrolet): Use it during macro expansion.
997 (cl--function-convert-cache): New var.
998 (cl--function-convert): New function, extracted from
999 cl-macroexpand-all.
1000 (cl-lexical-let): Use it.
1001
1002 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1003 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1004 (cl-member): Remove old alias.
1005
1006 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1007 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1008 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1009 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1010 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1011 (cl-macroexpand-cmacs): Remove var.
1012 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1013 Use macroexpand-all instead.
1014
1015 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1016
1017 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1018 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1019 (macroexp-copyable-p): New functions and macros.
1020 * emacs-lisp/edebug.el (edebug-unwrap):
1021 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1022 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1023 (pcase--let*): Remove.
1024 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1025 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1026 macroexp-const-p instead.
1027 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1028
1029 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1030 instead of "cl-" for internal definitions. Use macroexp-const-p.
1031 (cl-old-bc-file-form): Remove var.
1032 (cl-const-exprs-p): Remove fun.
1033 (cl-labels, cl-macrolet): Use backquote.
1034 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1035 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1036 (cl-define-setf-expander): Rename from cl-define-setf-method.
1037 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1038
1039 * international/mule-cmds.el: Don't require CL.
1040 (view-hello-file): Don't use `letf'.
1041
1042 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1043
1044 * tmm.el (tmm-prompt): Use string-prefix-p.
1045 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1046 (tmm-add-prompt): Use minibuffer-completion-help.
1047 (tmm-delete-map): Remove.
1048
1049 * subr.el (kbd): Make it its own function.
1050
1051 2012-06-07 Stefan Merten <smerten@oekonux.de>
1052
1053 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1054 Silence compiler warnings. Fix versions.
1055 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1056 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1057 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1058 (rst-package-emacs-version-alist): Correct Emacs version to
1059 represent major merge with upstream.
1060 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1061
1062 2012-06-06 Glenn Morris <rgm@gnu.org>
1063
1064 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1065 Only print environment variables if set.
1066
1067 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1070 (macroexp--cons): Rename from maybe-cons.
1071 (macroexp--accumulate): Rename from macroexp-accumulate.
1072 (macroexp--all-forms): Rename from macroexpand-all-forms.
1073 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1074 (macroexp--expand-all): Rename from macroexpand-all-1.
1075
1076 2012-06-06 Sam Steingold <sds@gnu.org>
1077
1078 * calendar/calendar.el (calendar-in-read-only-buffer):
1079 Call `special-mode' to enable the standard read-only keybindings.
1080
1081 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1084 with "loading" messages (bug#11635).
1085
1086 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1087
1088 * files.el (enable-remote-dir-locals): New option.
1089 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1090
1091 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1092 Ensure, that the temp directory is local.
1093
1094 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1095 `temporary-file-directory'.
1096
1097 * progmodes/python.el (python-send-region): Ensure, that the
1098 temporary file is created also in the remote case.
1099
1100 2012-06-06 Glenn Morris <rgm@gnu.org>
1101
1102 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1103 (vc-rcs-update-changelog): Use it.
1104
1105 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1106
1107 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1108 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1109 (vc-sccs-diff): Replace use of the external vcdiff script.
1110
1111 2012-06-05 Glenn Morris <rgm@gnu.org>
1112
1113 * ledit.el: Move to obsolete/.
1114
1115 2012-06-05 Sam Steingold <sds@gnu.org>
1116
1117 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1118 patch (Bug#11140).
1119
1120 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * emacs-list/cust-print.el: Move to obsolete.
1123
1124 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1125 compiler-macro expansion.
1126
1127 Add native compiler-macro support.
1128 * emacs-lisp/macroexp.el (macroexpand-all-1):
1129 Support compiler-macros directly. Properly follow aliases and apply
1130 the compiler macros more thoroughly.
1131 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1132 macroexpand now properly follows aliases.
1133 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1134 (cl-compiler-macroexpand): Use new prop.
1135 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1136
1137 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1138
1139 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1140
1141 * window.el (get-lru-window, get-mru-window, get-largest-window):
1142 New argument NOT-SELECTED to avoid picking the selected window.
1143 (window--display-buffer-1, window--display-buffer-2): Replace by
1144 new function window--display-buffer
1145 (display-buffer-same-window, display-buffer-reuse-window)
1146 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1147 Use window--display-buffer.
1148 (display-buffer-use-some-window): Remove temporary dedication
1149 hack by calling get-lru-window and get-largest-window with
1150 NOT-SELECTED argument non-nil. Call window--display-buffer.
1151
1152 2012-06-05 Glenn Morris <rgm@gnu.org>
1153
1154 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1155 Replace external vcdiff script.
1156
1157 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1160
1161 2012-06-04 Chong Yidong <cyd@gnu.org>
1162
1163 * image.el (imagemagick-types-inhibit): Revert last change.
1164 Add INFO and M.
1165 (imagemagick-enabled-types): Remove CIN and EPS*.
1166
1167 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * emacs-lisp/cl-lib.el: Rename from cl.el.
1170 * emacs-lisp/cl.el: New compatibility file.
1171 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1172 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1173 to obey the "cl-" prefix.
1174 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1175
1176 2012-06-03 Glenn Morris <rgm@gnu.org>
1177
1178 * emacs-lisp/authors.el (authors-aliases): Addition.
1179
1180 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1181 Fix :version.
1182
1183 2012-06-03 Stefan Merten <smerten@oekonux.de>
1184
1185 * textmodes/rst.el: Add comments.
1186 (rst-transition, rst-adornment): New faces.
1187 (rst-adornment-faces-alist): Make default safe to reevaluate.
1188 Fixes
1189 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1190 Improve customization tags.
1191 (rst-define-level-faces): Clarify meaning.
1192
1193 2012-06-03 Chong Yidong <cyd@gnu.org>
1194
1195 * progmodes/compile.el (compilation-mode-line-fail)
1196 (compilation-mode-line-run, compilation-mode-line-exit):
1197 New faces.
1198 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1199
1200 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1201
1202 * progmodes/which-func.el (which-func-update-ediff-windows):
1203 New function. Use it in ediff-select-hook (Bug#11478).
1204
1205 2012-06-03 Chong Yidong <cyd@gnu.org>
1206
1207 * bindings.el: Remove explicit help text from format-mode-line.
1208 It is now supplied by mode-line-default-help-echo.
1209 (mode-line-front-space, mode-line-end-spaces)
1210 (mode-line-misc-info): New variables.
1211 (mode-line-modes, mode-line-position): Move the default value to
1212 the variable definition.
1213 (mode-line-default-help-echo): New defcustom.
1214 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1215 (mode-line-modified-help-echo): New functions.
1216 (mode-line-mule-info, mode-line-modified): Use them.
1217 (mode-line-eol-desc, propertized-buffer-identification):
1218 Consistency fixes for help text.
1219 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1220 set-buffer-file-coding-system (Bug#289).
1221 (mode-line-mule-info-help-echo): Update help text.
1222
1223 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1224
1225 * simple.el (execute-extended-command): Set real-this-command
1226 (bug#11506).
1227
1228 2012-06-02 Chong Yidong <cyd@gnu.org>
1229
1230 Remove incorrect uses of "modeline" in comments, docstrings, and
1231 function/variable names (Bug#10329).
1232
1233 * cus-edit.el (mode-line):
1234 * dframe.el (dframe-mouse-hscroll):
1235 * emacs-lisp/re-builder.el:
1236 * emacs-lisp/easy-mmode.el (define-minor-mode):
1237 * frame.el (set-frame-name):
1238 * help.el (lookup-minor-mode-from-indicator):
1239 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1240 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1241 (c-toggle-hungry-state):
1242 * progmodes/antlr-mode.el (antlr-language-alist):
1243 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1244 * progmodes/vhdl-mode.el (vhdl-mode):
1245 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1246 * term/ns-win.el (ns-face-at-pos):
1247 * term/sup-mouse.el (sup-mouse-report):
1248 * textmodes/flyspell.el (flyspell-mode-line-string):
1249 * textmodes/ispell.el (ispell-highlight-face):
1250 * textmodes/reftex-global.el:
1251 * vc/vc-arch.el (vc-arch-mode-line-string):
1252 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1253 * vc/vc-git.el (vc-git-mode-line-string):
1254 * vc/vc-hooks.el (vc-display-status)
1255 (vc-default-mode-line-string):
1256 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1257
1258 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1259
1260 * dired.el (dired-sort-set-mode-line): Rename from
1261 dired-sort-set-modeline. All callers changed.
1262
1263 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1264 eshell-status-in-modeline.
1265
1266 * foldout.el (foldout-mode-line-string): Rename from
1267 foldout-modeline-string. All callers changed.
1268 (foldout-update-mode-line): Rename from foldout-update-modeline.
1269
1270 * subr.el (redraw-modeline): Make into obsolete alias.
1271
1272 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1273 timeclock-modeline-display. Make old name an alias.
1274 (timeclock-update-mode-line): Likewise. All callers changed.
1275 (timeclock-mode-line-display): No need to check before using
1276 add-hook.
1277 (timeclock-relative, timeclock-day-over-hook)
1278 (timeclock-use-elapsed, timeclock-mode-string)
1279 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1280
1281 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1282 crisp-mode-modeline-string.
1283
1284 * play/solitaire.el (solitaire-build-mode-line): Rename from
1285 solitaire-build-modeline. All callers changed.
1286
1287 * play/zone.el (zone-hiding-mode-line): Rename from
1288 zone-hiding-modeline. All callers changed.
1289 (zone): Remove unusued `modeline-hidden-level' property.
1290
1291 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1292 xscheme-modeline-initialize. All callers changed.
1293
1294 * strokes.el (strokes-lighter): Rename from
1295 strokes-modeline-string.
1296
1297 * textmodes/sgml-mode.el (html-face-tag-alist)
1298 (html-tag-face-alist): Use mode-line face instead of obsolete
1299 alias modeline.
1300
1301 2012-06-02 Stefan Merten <smerten@oekonux.de>
1302
1303 * textmodes/rst.el: Always require `cl'.
1304 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1305
1306 2012-06-02 Chong Yidong <cyd@gnu.org>
1307
1308 * image.el (imagemagick-enabled-types): Rename from
1309 imagemagick-types-enable. Add many more types.
1310 (imagemagick-types-inhibit): Change default to nil.
1311 (imagemagick-filter-types): Caller changed.
1312
1313 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * emacs-lisp/cl-macs.el: Use backquotes.
1316 (cl-transform-function-property): Use eval-and-compile rather than
1317 abusing `require'.
1318 (defstruct): Use declare-function instead of with-no-warnings.
1319
1320 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1321 (byte-compile-output-docform): Re-add the print-circle bindings.
1322 (byte-compile-fix-header): Use #$ just because it's shorter.
1323 (byte-compile-output-file-form): Remove defun/defmacro.
1324
1325 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1326
1327 * simple.el (choose-completion): Remove now obsolete binding for
1328 owindow.
1329
1330 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1331
1332 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1333 in order to avoid "Stack overflow in regexp matcher".
1334
1335 2012-05-31 Glenn Morris <rgm@gnu.org>
1336
1337 * image.el: For clarity, call imagemagick-register-types at
1338 top-level, rather than relying on a custom :initialize.
1339 (imagemagick-types-enable): New option. (Bug#11557)
1340 (imagemagick-filter-types): New function. (Bug#7406)
1341 (imagemagick-register-types): Use imagemagick-filter-types.
1342 If disabling support, remove elements altogether rather
1343 than using an impossible regexp.
1344 (imagemagick-types-inhibit): Give it the default init function.
1345
1346 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1349 Handle arbitrary file name lengths (Bug#11585).
1350
1351 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1352
1353 * desktop.el (desktop-read): Clear previous and next buffers for
1354 all windows and bury *Messages* buffer (bug#11556).
1355
1356 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 Add `declare' for `defun'. Align `defmacro's with it.
1359 * emacs-lisp/easy-mmode.el (define-minor-mode)
1360 (define-globalized-minor-mode): Don't autoload the var definitions.
1361 * emacs-lisp/byte-run.el: Use lexical-binding.
1362 (defun-declarations-alist, macro-declarations-alist): New vars.
1363 (defmacro, defun): Use them.
1364 (make-obsolete, define-obsolete-function-alias)
1365 (make-obsolete-variable, define-obsolete-variable-alias):
1366 Use `declare'.
1367 (macro-declaration-function): Mark obsolete.
1368 * emacs-lisp/autoload.el: Use lexical-binding.
1369 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1370
1371 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1372
1373 * textmodes/ispell.el (ispell-with-no-warnings):
1374 Define as a macro.
1375 (ispell-kill-ispell, ispell-change-dictionary):
1376 Use `called-interactively-p' for Emacs instead of obsolete
1377 `interactive-p'.
1378
1379 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1382 (macro-declaration-function): Move var from C code.
1383 (macro-declaration-function): Define function with defalias.
1384 * emacs-lisp/macroexp.el (macroexpand-all-1):
1385 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1386 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1387 defun/defmacro any more.
1388 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1389 Provide fallback for unknown arglist.
1390 (byte-compile-arglist-warn): Change calling convention.
1391 (byte-compile-output-file-form): Move print-vars binding.
1392 (byte-compile-output-docform): Simplify accordingly.
1393 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1394 (byte-compile-defmacro-declaration): Remove.
1395 (byte-compile-file-form-defmumble): Generalize to defalias.
1396 (byte-compile-output-as-comment): Return byte-positions.
1397 Simplify callers accordingly.
1398 (byte-compile-lambda): Use `assert'.
1399 (byte-compile-defun, byte-compile-defmacro): Remove.
1400 (byte-compile-file-form-defalias):
1401 Use byte-compile-file-form-defmumble.
1402 (byte-compile-defalias-warn): Remove.
1403
1404 2012-05-29 Stefan Merten <smerten@oekonux.de>
1405
1406 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1407 possible. Fix authors. Improve comments. Improve loading of `cl'.
1408
1409 (rst-mode-abbrev-table): Merge definition.
1410 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1411 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1412
1413 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1414
1415 * calendar/icalendar.el
1416 (icalendar-export-region): Export UID properly.
1417
1418 2012-05-29 Leo <sdl.web@gmail.com>
1419 * calendar/icalendar.el (icalendar-import-format):
1420 Add `icalendar-import-format-uid' (Bug#11525).
1421 (icalendar-import-format-uid): New.
1422 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1423 Export UID.
1424
1425 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1428 different alternative patterns.
1429 (pcase-codegen): Be more careful to preserve identity.
1430 (pcase--u1): Don't forget to mark vars as used.
1431
1432 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1433 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1434 (byte-compile-from-buffer): ...rather than here.
1435
1436 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1437 functions from byte-compile-function-environment.
1438
1439 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1440
1441 * window.el (window-deletable-p): Avoid deleting the root window
1442 of a frame with an active minibuffer.
1443
1444 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1445
1446 * simple.el (choose-completion): Use quit-window (Bug#11567).
1447
1448 2012-05-29 Chong Yidong <cyd@gnu.org>
1449
1450 * whitespace.el (whitespace-cleanup): Fix usage of
1451 whitespace-empty-at-bob-regexp (Bug#11492).
1452
1453 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1454
1455 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1456 revert (Bug#11488).
1457
1458 2012-05-29 Juri Linkov <juri@jurta.org>
1459
1460 * isearch.el (isearch-mode-map): Bind `M-s _' to
1461 `isearch-toggle-symbol'. Bind `M-s c' to
1462 `isearch-toggle-case-fold'.
1463 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1464 (isearch-forward): Add `M-s _' to the docstring.
1465 (isearch-forward-symbol, isearch-toggle-case-fold)
1466 (isearch-symbol-regexp): New functions. (Bug#11381)
1467
1468 2012-05-29 Juri Linkov <juri@jurta.org>
1469
1470 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1471 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1472 a function, call it to get the regexp.
1473 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1474 property `isearch-message-prefix' instead of the string "word ".
1475 (isearch-search-fun-default): For the case of `isearch-word',
1476 return a lambda that calls re-search-forward/re-search-backward
1477 with a regexp returned by `word-search-regexp' or by the function
1478 in `isearch-word'.
1479
1480 2012-05-29 Juri Linkov <juri@jurta.org>
1481
1482 * isearch.el (isearch-search-fun-default): New function.
1483 (isearch-search-fun): Move default part to the new function
1484 `isearch-search-fun-default'.
1485 (isearch-search-fun-function): Set the default value to
1486 `isearch-search-fun-default'. (Bug#11381)
1487
1488 * comint.el (comint-history-isearch-end):
1489 Use `isearch-search-fun-default'.
1490 (comint-history-isearch-search): Use `isearch-search-fun-default'
1491 and remove spacial case for `isearch-word'.
1492 (comint-history-isearch-wrap): Remove spacial case for
1493 `isearch-word'.
1494
1495 * hexl.el (hexl-isearch-search-function):
1496 Use `isearch-search-fun-default'.
1497
1498 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1499 Use `word-search-regexp' for `isearch-word'.
1500
1501 * misearch.el (multi-isearch-search-fun):
1502 Use `isearch-search-fun-default'.
1503
1504 * simple.el (minibuffer-history-isearch-search):
1505 Use `isearch-search-fun-default' and remove spacial case for
1506 `isearch-word'.
1507 (minibuffer-history-isearch-wrap): Remove spacial case for
1508 `isearch-word'.
1509
1510 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1511 Remove spacial case for `isearch-word'.
1512 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1513
1514 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1515
1516 Decrease XEmacs incompatibilities.
1517 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1518 Use `string-match'.
1519 (flyspell-delete-region-overlays): Use alternative definition for
1520 XEmacs.
1521 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1522 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1523 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1524 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1525 `define-obsolete-face-alias' under XEmacs, but old method.
1526
1527 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1528 `with-no-warnings' definition or Emacs alias.
1529 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1530 (ispell-word): Do not use `region-p' if XEmacs.
1531
1532 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1533
1534 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1535 Check for `ispell-dictionary-base-alist' instead of full
1536 `ispell-dictionary-alist'.
1537 (ispell-init-process): Show spellchecker when starting new Ispell
1538 process.
1539
1540 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1541
1542 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1543 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1544
1545 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1546
1547 * version.el (motif-version-string, gtk-version-string)
1548 (ns-version-string): Declare.
1549
1550 2012-05-27 Juri Linkov <juri@jurta.org>
1551
1552 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1553 after the `eval-defun-1' specialcaseing
1554 like in `edebug-eval-defun' (bug#10181).
1555
1556 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1557 like in `eval-defun-1'.
1558
1559 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1560
1561 * mail/sendmail.el (mail-yank-region):
1562 Recognize rmail-yank-current-message in addition to insert-buffer.
1563 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1564 a *mail* buffer created through rmail-start-mail with sendmail as
1565 mail-user-agent.
1566
1567 2012-05-27 Chong Yidong <cyd@gnu.org>
1568
1569 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1570 Default to 256 (Bug#11267).
1571
1572 * help.el (describe-mode): Doc fix.
1573
1574 2012-05-26 Glenn Morris <rgm@gnu.org>
1575
1576 * w32-fns.el (w32-init-info): Remove.
1577 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1578
1579 * info.el (info-initialize): For self-contained NS builds, put the
1580 included info/ directory at the front. (Bug#2791)
1581
1582 * paths.el (Info-default-directory-list): Make it a defcustom,
1583 mainly so that we can use custom-initialize-delay.
1584
1585 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * subr.el (buffer-has-markers-at): Mark obsolete.
1588
1589 * subr.el (lambda): Use declare.
1590
1591 * emacs-lisp/lisp-mode.el (lambda):
1592 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1593
1594 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1595
1596 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1597
1598 2012-05-26 Glenn Morris <rgm@gnu.org>
1599
1600 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1601
1602 2012-05-25 Glenn Morris <rgm@gnu.org>
1603
1604 * paths.el: Remove no-byte-compile.
1605 * loadup.el: No need to load paths.el uncompiled.
1606
1607 * image.el (imagemagick-types-inhibit): Doc fix.
1608
1609 * version.el: Remove no-byte-compile and associated formatting.
1610 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1611 is ancient code from when there was an "inc-vers.el".
1612
1613 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * progmodes/gdb-mi.el: Minor style changes.
1616 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1617 Turn into minor modes.
1618 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1619 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1620 (gdb-shell): Remove unneeded let-binding.
1621 (gdb-get-many-fields): Eliminate O(n²) behavior.
1622
1623 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1624
1625 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1626 platforms that don't link in fontset.c.
1627
1628 2012-05-25 Juri Linkov <juri@jurta.org>
1629
1630 Use the same diff color scheme as in modern VCSes (bug#10181).
1631
1632 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1633 to avoid confusion with `diff-added' that now uses green colors.
1634 (diff-removed): Use shades of red.
1635 (diff-added): Use shades of green.
1636 (diff-changed): Leave just the yellow color.
1637 (diff-use-changed-face): New variable.
1638 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1639 how to highlight context diff changes.
1640 (diff-refine-change): Use shades of yellow.
1641 (diff-refine-removed): New face that uses shades of red.
1642 (diff-refine-added): New face that uses shades of green.
1643 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1644 `diff-refine-removed' in the call to `smerge-refine-subst'
1645 depending on the value of `diff-use-changed-face'.
1646
1647 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1648 (smerge-other): Use shades of green.
1649 (smerge-base): Use shades of yellow.
1650 (smerge-refined-change): Empty face.
1651 (smerge-refined-removed): New face that uses shades of red.
1652 (smerge-refined-added): New face that uses shades of green.
1653 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1654 args `props-r' and `props-a', and use them. Doc fix.
1655 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1656 on its value use different faces `smerge-refined-change',
1657 `smerge-refined-removed', `smerge-refined-added' in the call to
1658 `smerge-refine-subst'.
1659
1660 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1661 Add face condition `min-colors 88' with shades of red.
1662 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1663 `min-colors 88' with shades of green.
1664 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1665 `min-colors 88' with shades of yellow.
1666
1667 2012-05-24 Glenn Morris <rgm@gnu.org>
1668
1669 * paths.el (prune-directory-list, remote-shell-program): Move to...
1670 * files.el (prune-directory-list, remote-shell-program): ...here.
1671 For the latter, delay initialization, prefer ssh, just search PATH.
1672
1673 * paths.el (term-file-prefix): Move to faces.el (the only user).
1674 * faces.el (term-file-prefix): Move here, make it a defcustom.
1675
1676 * paths.el (news-directory, news-path, news-inews-program):
1677 Move to gnus/nnspool.el.
1678
1679 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1680
1681 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1682 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1683 Make the latter a defcustom, with a delayed initialization.
1684
1685 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1686 These were deleted from Gnus itself late 2010.
1687
1688 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1689
1690 * progmodes/which-func.el (which-func-ff-hook):
1691 Check against user-error, not error.
1692
1693 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1694 cl-specs.el, which no longer exists.
1695
1696 2012-05-22 Glenn Morris <rgm@gnu.org>
1697
1698 * info.el (info-emacs-bug): New command.
1699 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1700 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1701
1702 2012-05-21 Glenn Morris <rgm@gnu.org>
1703
1704 * makefile.w32-in (update-subdirs-SH):
1705 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1706
1707 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1710
1711 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1712 Simplify Maven regexp, and make sure the file can't start with a space
1713 (bug#11517).
1714
1715 2012-05-21 Glenn Morris <rgm@gnu.org>
1716
1717 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1718 Scrap superfluous subshells.
1719
1720 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1723 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1724
1725 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1726
1727 * calc/calc.el (calc-ensure-consistent-units): New variable.
1728
1729 * calc/calc-units.el (math-consistent-units-p)
1730 (math-check-unit-consistency): New functions.
1731 (calc-quick-units, calc-convert-units):
1732 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1733 is non-nil.
1734 (calc-extract-units): Fix typo.
1735
1736 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1739
1740 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1741 (flyspell-default-deplacement-commands): Don't spell check after
1742 repeated window/frame switches (e.g. triggered by mouse-movement).
1743 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1744 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1745 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1746 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1747 Remove unused vars.
1748 (flyspell-get-casechars, flyspell-get-not-casechars):
1749 Simplify; Don't bother removing a ] just to add it back.
1750 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1751
1752 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1753
1754 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1755 New functions.
1756 (math-function-table): Add support for more C functions.
1757
1758 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1759
1760 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1761 (flyspell-debug-signal-word-checked): Protect delay handling for
1762 otherchars against empty otherchars.
1763
1764 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1767 their respective macro declarations.
1768 * skeleton.el (define-skeleton):
1769 * progmodes/compile.el (define-compilation-mode):
1770 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1771 (define-ibuffer-filter):
1772 * emacs-lisp/generic.el (define-generic-mode):
1773 * emacs-lisp/easy-mmode.el (define-minor-mode)
1774 (define-globalized-minor-mode):
1775 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1776 * emacs-lisp/byte-run.el (defsubst):
1777 * custom.el (deftheme): Add doc-string metadata.
1778
1779 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1782
1783 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1786
1787 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1788 * emacs-lisp/cl-macs.el: Idem.
1789 * emacs-lisp/cl-specs.el: Remove.
1790
1791 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1792
1793 Minor renaming of internal CL functions and variables.
1794 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1795 (cl--position): Rename from cl-position.
1796 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1797 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1798 (cl--random-state): Rename from *random-state*.
1799
1800 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1801
1802 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1803 parens around the arg list (bug#11499).
1804
1805 2012-05-17 Juri Linkov <juri@jurta.org>
1806
1807 * isearch.el (word-search-regexp, word-search-backward)
1808 (word-search-forward, word-search-backward-lax)
1809 (word-search-forward-lax): Move functions from search.c
1810 (bug#10145, bug#11381).
1811
1812 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1813
1814 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1815 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1816 normal word components.
1817
1818 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * minibuffer.el (completion--sifn-requote): Fix last change.
1821 (minibuffer-local-must-match-filename-map):
1822 Move define-obsolete-variable-alias before its var.
1823
1824 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1827
1828 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1829 behavior.
1830 (completion--string-equal-p): New function.
1831 (completion--twq-all): Use it to get better assertion failure data.
1832
1833 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1834 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1835 (shell--requote-argument): New functions.
1836 (shell-completion-vars): Use them.
1837 (shell--parse-pcomplete-arguments): Rename from
1838 shell-parse-pcomplete-arguments.
1839 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1840 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1841 Obey comint-file-name-quote-list.
1842
1843 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1844 (smie-indent-keyword): Use it.
1845
1846 2012-05-14 Stefan Merten <smerten@oekonux.de>
1847
1848 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1849
1850 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * net/rlogin.el (rlogin-mode-map): Fix last change.
1853
1854 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1855
1856 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1857 the following \r\n using a single `process-send-string', since the
1858 Lotus SMTP server refuses to accept any commands if they are sent
1859 with two `process-send-string's (Bug#11444).
1860
1861 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * shell.el (shell-parse-pcomplete-arguments):
1864 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1865
1866 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1867
1868 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1869 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1870 (image-transform-width, image-transform-fit-width): New functions.
1871 (image-transform-properties): Use them.
1872 (image-transform-check-size): New function.
1873 (image-toggle-display-image): Use it (for testing).
1874 (image-transform-set-rotation): Reduce angle mod 360.
1875 Delete obsolete comment.
1876
1877 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1878
1879 * image-mode.el: Fix scaling (bug#11399).
1880 (image-transform-resize): Doc fix.
1881 (image-transform-properties): Default scale is 1 and height should
1882 be an integer.
1883
1884 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1885
1886 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1887 than hard-coding `car', to fix misbehavior when moving forward.
1888
1889 2012-05-13 Chong Yidong <cyd@gnu.org>
1890
1891 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1892 (tabulated-list-entries, tabulated-list-padding)
1893 (tabulated-list-sort-key): Make permanent-local.
1894
1895 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1896 (electric-buffer-list): Put electric buffer menu
1897 command descriptions in this docstring, instead of the docstring
1898 of electric-buffer-menu-mode. Code cleanups.
1899 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1900 Electric-buffer-menu-mode.
1901 (electric-buffer-update-highlight): Minor code cleanup.
1902
1903 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1904
1905 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1906 (Bug#11447)
1907
1908 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 Move define-obsolete-variable-alias before the var's definition.
1911 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1912 * tooltip.el (tooltip-hook):
1913 * textmodes/reftex-toc.el (reftex-toc-map):
1914 * textmodes/reftex-sel.el (reftex-select-label-map)
1915 (reftex-select-bib-map):
1916 * textmodes/reftex-index.el (reftex-index-map)
1917 (reftex-index-phrases-map):
1918 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1919 * progmodes/meta-mode.el (meta-mode-map):
1920 * novice.el (disabled-command-hook):
1921 * loadhist.el (unload-hook-features-list):
1922 * frame.el (blink-cursor):
1923 * files.el (find-file-not-found-hooks, write-file-hooks)
1924 (write-contents-hooks):
1925 * emulation/tpu-edt.el (GOLD-map):
1926 * emacs-lock.el (emacs-lock-from-exiting):
1927 * emacs-lisp/generic.el (generic-font-lock-defaults):
1928 * emacs-lisp/chart.el (chart-map):
1929 * dos-fns.el (register-name-alist):
1930 * dired-x.el (dired-omit-files-p):
1931 * desktop.el (desktop-enable):
1932 * cus-edit.el (custom-mode-hook):
1933 * buff-menu.el (buffer-menu-mode-hook):
1934 * bookmark.el (bookmark-read-annotation-text-func)
1935 (bookmark-exit-hooks):
1936 * allout.el (allout-mode-deactivate-hook)
1937 (allout-exposure-change-hook, allout-structure-added-hook)
1938 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1939 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1940 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1941 comes before the corresponding variable's definition.
1942
1943 2012-05-12 Chong Yidong <cyd@gnu.org>
1944
1945 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1946 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1947 (Buffer-menu-mode-map): Bind it.
1948 (Buffer-menu--pretty-name): Add a mouse-face property.
1949
1950 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1953 (prolog-upper-case-string, prolog-lower-case-string)
1954 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1955 (prolog-use-smie, prolog-smie-grammar): New vars.
1956 (prolog-smie-forward-token, prolog-smie-backward-token)
1957 (prolog-smie-rules): New funs.
1958 (prolog-comment-indent): Remove.
1959 (prolog-mode-variables): Use default comment indentation instead.
1960 Setup SMIE.
1961 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1962 (prolog-mode): Don't call them any more.
1963 (prolog-electric-colon, prolog-electric-dash)
1964 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1965
1966 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1967
1968 * minibuffer.el (completion--twq-all): Again, allow case differences.
1969
1970 * term.el: Move keymap initialization code to be more idiomatic.
1971 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1972 (term-terminal-menu): Move initialization into declaration.
1973 (term-escape-char): Let the user set it in her .emacs.
1974
1975 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1976 Provide SMIE-based indentation (not enabled by default yet).
1977 (sh-mode-map): Don't bind electric keys.
1978 Use electric-pair-mode instead of skeleton-pair.
1979 (sh-assignment-regexp): Fit within 80 columns.
1980 (sh-indent-supported): Specify actual shell name instead of boolean.
1981 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1982 (sh-maybe-here-document): Use it. Make obsolete.
1983 (sh-electric-here-document-mode) New minor mode.
1984 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1985 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1986 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1987 (sh-smie-rc-grammar, sh-use-smie): New vars.
1988 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1989 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1990 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1991 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1992 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1993 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1994 (sh-set-shell): Use smie-setup if requested.
1995
1996 * term.el (term-set-escape-char): Properly set term-escape-char.
1997 See http://stackoverflow.com/questions/10524656.
1998
1999 2012-05-10 Chong Yidong <cyd@gnu.org>
2000
2001 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2002 Use url-generic-parse-url, and handle host names and Windows
2003 filenames properly.
2004 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2005 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2006 URL schemes to work on.
2007 (ffap--toggle-read-only): New function.
2008 (ffap-read-only, ffap-read-only-other-window)
2009 (ffap-read-only-other-frame): Use it.
2010 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2011 necessary for ffap-url-unwrap-remote.
2012
2013 2012-05-10 Dave Abrahams <dave@boostpro.com>
2014
2015 * cus-start.el (create-lockfiles): Add it.
2016
2017 2012-05-09 Chong Yidong <cyd@gnu.org>
2018
2019 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2020 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2021
2022 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2025
2026 2012-05-09 Chong Yidong <cyd@gnu.org>
2027
2028 * ansi-color.el (ansi-color-process-output): Check for validity of
2029 comint-last-output-start before using it. This avoids a bad
2030 interaction with gdb-mi's input/output buffer.
2031
2032 2012-05-09 Glenn Morris <rgm@gnu.org>
2033
2034 * files.el (dir-locals-read-from-file):
2035 Mention dir-locals in any error message.
2036
2037 2012-05-09 Chong Yidong <cyd@gnu.org>
2038
2039 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2040 package (Bug#11410).
2041
2042 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2043 variables into description.
2044
2045 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2047 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2048 shell-delimiter-argument-list (bug#11348).
2049 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2050
2051 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2052
2053 * textmodes/rst.el: Silence byte-compiler warnings.
2054 (rst-re-alist, rst-reset-section-caches): Move around.
2055 (rst-re): Use `characterp', not `char-valid-p'.
2056 (font-lock-beg, font-lock-end): Declare.
2057
2058 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2059 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2060
2061 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2062
2063 2012-05-08 Glenn Morris <rgm@gnu.org>
2064
2065 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2066
2067 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 * vc/log-edit.el: Add GNU coding standards highlighting.
2070 (log-edit-font-lock-gnu-style)
2071 (log-edit-font-lock-gnu-keywords): New vars.
2072 (log-edit-font-lock-keywords): New fun.
2073 (log-edit-mode): Don't fold case in font-lock.
2074 (log-edit-font-lock-keywords): Do not assume case-folding.
2075
2076 * imenu.el: Misc cleanup. Make docstrings out of comments.
2077 Use lexical-binding.
2078 (imenu--index-alist, imenu--last-menubar-index-alist)
2079 (imenu-menubar-modified-tick): Use defvar-local.
2080 (imenu--split-menu): Remove unused var.
2081 (imenu--cleanup-seen): Declare as global.
2082 (imenu--cleanup): Use dolist.
2083
2084 * subr.el (defvar-local): Add debug spec and doc-string position.
2085
2086 2012-05-08 Glenn Morris <rgm@gnu.org>
2087
2088 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2089 * language/english.el, language/georgian.el, language/greek.el:
2090 * language/japanese.el, language/khmer.el, language/korean.el:
2091 * language/lao.el, language/misc-lang.el, language/romanian.el:
2092 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2093 * language/thai.el, language/utf-8-lang.el:
2094 Remove no-byte-compile setting.
2095
2096 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2097
2098 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2099
2100 * progmodes/make-mode.el (makefile-browse):
2101 Remove unnecessary interactive. (Bug#11324)
2102
2103 2012-05-07 Glenn Morris <rgm@gnu.org>
2104
2105 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2106
2107 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2108
2109 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * loadup.el: Preload newcomment.el.
2112 * newcomment.el: Move autoload-only code to toplevel.
2113
2114 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2115 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2116 Handle new :right-align column property.
2117 (tabulated-list-print-col): Idem, plus use `display' text-property to
2118 try and preserve alignment for variable pitch fonts.
2119
2120 2012-05-07 Chong Yidong <cyd@gnu.org>
2121
2122 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2123 (tabulated-list-use-header-line): New var.
2124 (tabulated-list-init-header): Use it.
2125 (tabulated-list-print-fake-header): New function.
2126 (tabulated-list-print): Use it.
2127 (tabulated-list-sort-button-map): Add non-header-line commands.
2128 (tabulated-list-init-header): Add column name property to basic
2129 labels as well.
2130 (tabulated-list-col-sort): Handle non-header-line button case.
2131 (tabulated-list--sort-by-column-name): Fix a corner case.
2132
2133 * buff-menu.el (list-buffers--refresh):
2134 Handle Buffer-menu-use-header-line.
2135
2136 2012-05-06 Chong Yidong <cyd@gnu.org>
2137
2138 * buff-menu.el: Convert to Tabulated List mode.
2139 (Buffer-menu-buffer+size-width): Make obsolete.
2140 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2141 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2142 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2143 documentation into docstring of buffer-menu.
2144 (Buffer-menu-toggle-files-only): Add an informative message.
2145 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2146 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2147 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2148 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2149 (Buffer-menu-execute, Buffer-menu-select)
2150 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2151 (Buffer-menu-bury): Use Tabulated List machinery.
2152 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2153 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2154 Delete.
2155 (list-buffers--refresh): New function.
2156 (list-buffers-noselect): Use it.
2157 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2158 (Buffer-menu--pretty-file-name): New helper functions.
2159
2160 * loadup.el: Preload tabulated-list.
2161
2162 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2163 tabulated-list-sort-column.
2164 (tabulated-list-init-header): Add the initial aligning space even
2165 if tabulated-list-padding is zero.
2166
2167 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2168
2169 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2170 whose cdr is not a cons cell correctly (bug#11038).
2171
2172 2012-05-06 Chong Yidong <cyd@gnu.org>
2173
2174 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2175 Accept additional plist in column descriptors.
2176 (tabulated-list-init-header): Obey it.
2177 (tabulated-list-get-entry): New function.
2178 (tabulated-list-put-tag): Use it. Use string-width instead of
2179 length.
2180 (tabulated-list--column-number): New function.
2181 (tabulated-list-print): Use it.
2182 (tabulated-list-print-col): New function.
2183 Set `tabulated-list-column-name' property on each column's text.
2184 (tabulated-list-print-entry): Use it.
2185 (tabulated-list-delete-entry, tabulated-list-set-col):
2186 New functions.
2187 (tabulated-list-sort-column): New command (Bug#11337).
2188
2189 * buff-menu.el (list-buffers): Move C-x C-b binding from
2190 buff-menu.el to bindings.el.
2191
2192 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2193 :advertised-binding feature.
2194
2195 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2196
2197 * progmodes/compile.el (compilation-internal-error-properties):
2198 Calculate start position correctly when end-col is set but
2199 end-line is not (Bug#11382).
2200
2201 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2202
2203 * man.el (Man-unindent): Use text-property-default-nonsticky to
2204 prevent untabify from inheriting face properties (Bug#11408).
2205
2206 2012-05-05 Stefan Merten <smerten@oekonux.de>
2207
2208 * textmodes/rst.el: Major merge with upstream development up to
2209 Docutils SVN r7399 / rst.el V1.2.1.
2210
2211 Clarify maintainership and authors.
2212
2213 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2214 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2215 (rst-official-version, rst-official-cvs-rev, rst-version)
2216 (rst-package-emacs-version-alist): New functions and variables
2217 for version information.
2218
2219 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2220 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2221 (rst-mode-syntax-table, rst-mode): New and corrected functions
2222 and variables representing reStructuredText features.
2223
2224 (rst-re): New function for reStructuredText regexes. Use in
2225 many places.
2226
2227 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2228 (rst-mode-map): Rebind keys.
2229
2230 (rst-mode-lazy, rst-font-lock-keywords)
2231 (rst-font-lock-extend-region)
2232 (rst-font-lock-extend-region-internal)
2233 (rst-font-lock-extend-region-extend)
2234 (rst-font-lock-find-unindented-line-limit)
2235 (rst-font-lock-find-unindented-line-match)
2236 (rst-adornment-level, rst-font-lock-adornment-level)
2237 (rst-font-lock-adornment-match)
2238 (rst-font-lock-handle-adornment-pre-match-form)
2239 (rst-font-lock-handle-adornment-matcher): Major revision of
2240 font-locking. Integrate with other code. Use `jit-lock-mode'.
2241
2242 (rst-preferred-adornments, rst-adjust-hook)
2243 (rst-new-adornment-down, rst-preferred-bullets)
2244 (rst-preferred-bullets, rst-indent, rst-indent-width)
2245 (rst-indent-field, rst-indent-literal-normal)
2246 (rst-indent-literal-minimized, rst-indent-comment): Change,
2247 extend and improve customization.
2248
2249 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2250 (rst-normalize-cursor-position, rst-get-decoration)
2251 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2252 (rst-rstrip, rst-toc-insert-find-delete-contents)
2253 (rst-shift-fill-region, rst-compute-bullet-tabs)
2254 (rst-debug-print-tabs, rst-debug-mark-found)
2255 (rst-shift-region-guts, rst-shift-region-right)
2256 (rst-shift-region-left, rst-use-char-classes)
2257 (rst-font-lock-keywords-function)
2258 (rst-font-lock-indentation-point)
2259 (rst-font-lock-find-unindented-line-begin)
2260 (rst-font-lock-find-unindented-line-end)
2261 (rst-font-lock-find-unindented-line)
2262 (rst-font-lock-adornment-point, rst-font-lock-level)
2263 (rst-adornment-level-alist): Remove functions and variables.
2264
2265 (rst-compare-adornments, rst-get-adornment-match)
2266 (rst-suggest-new-adornment, rst-get-adornments-around)
2267 (rst-adornment-complete-p, rst-get-next-adornment)
2268 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2269 (rst-straighten-adornments): Standardize function names to
2270 use "adornment" instead of "decoration". Correct callers.
2271 Similar standardizing in many places.
2272
2273 (rst-update-section, rst-adjust, rst-promote-region)
2274 (rst-enumerate-region, rst-bullet-list-region)
2275 (rst-repeat-last-character): Correct use of `interactive'.
2276
2277 (rst-classify-adornment, rst-find-all-adornments)
2278 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2279 (rst-find-leftmost-column, rst-repeat-last-character):
2280 Refactor functions.
2281
2282 (rst-find-title-line, rst-reset-section-caches)
2283 (rst-get-adornments-around, rst-adjust-adornment-work)
2284 (rst-arabic-to-roman, rst-roman-to-arabic)
2285 (rst-insert-list-pos, rst-insert-list-new-item)
2286 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2287 New functions.
2288
2289 (rst-all-sections, rst-section-hierarchy)
2290 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2291 New variables.
2292
2293 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2294 configuration instead of only buffer. Change where necessary.
2295
2296 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2297 (rst-shift-region, rst-adaptive-fill): New functions for
2298 indentation and filling.
2299
2300 (rst-comment-line-break, rst-comment-indent)
2301 (rst-comment-insert-comment, rst-comment-region)
2302 (rst-uncomment-region): New functions for handling comments.
2303
2304 (rst-compile): Quote shell arguments.
2305
2306 (rst-compile-pdf-preview, rst-compile-slides-preview):
2307 Delete temporary files after use.
2308
2309 2012-05-05 Glenn Morris <rgm@gnu.org>
2310
2311 * calendar/cal-html.el: Optionally include holidays in the output.
2312 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2313 (cal-html-holidays): New option.
2314 (cal-html-css-default): Add holiday entry.
2315 (holiday-in-range): Autoload it.
2316 (cal-html-htmlify-entry): Add optional class argument.
2317 (cal-html-htmlify-list): Add optional holidays argument.
2318 (cal-html-insert-agenda-days): Include holidays in the output.
2319 (cal-html-one-month): Maybe include holidays.
2320
2321 * calendar/holidays.el (holiday-in-range):
2322 Move here from cal-tex-list-holidays.
2323 * calendar/cal-tex.el (cal-tex-list-holidays):
2324 Make it an obsolete alias for holiday-in-range. Update all callers.
2325
2326 2012-05-05 Chong Yidong <cyd@gnu.org>
2327
2328 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2329 Nextstep.
2330
2331 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2332
2333 * files.el (file-auto-mode-skip): New var.
2334 (set-auto-mode-1): Use it.
2335
2336 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2337
2338 * repeat.el: Use lexical-binding.
2339 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2340 (repeat-undo-count): Remove.
2341 (repeat):
2342 * progmodes/octave-mod.el (octave-abbrev-start):
2343 * progmodes/f90.el (f90-abbrev-start):
2344 * face-remap.el (text-scale-adjust):
2345 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2346
2347 * emacs-lisp/pcase.el (pcase--let*): New function.
2348 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2349 a bit more.
2350 (pcase--split-pred): Be more clever about ruling out overlap between
2351 a predicate and some constant pattern.
2352 (pcase--q1): Use `null' instead of (eq foo nil).
2353
2354 * subr.el (setq-local, defvar-local): New macros.
2355 (kbd): Redefine as an alias.
2356 (with-selected-window): Leave unrelated frames alone.
2357 (set-temporary-overlay-map): New function.
2358
2359 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * subr.el (user-error): New function.
2362 * window.el (switch-to-buffer):
2363 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2364 (smerge-match-conflict):
2365 * simple.el (previous-matching-history-element)
2366 (next-matching-history-element, goto-history-element, undo-more)
2367 (undo-start):
2368 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2369 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2370 (next-file, tags-loop-scan, list-tags, complete-tag):
2371 * progmodes/compile.el (compilation-loop):
2372 * mouse.el (mouse-minibuffer-check):
2373 * man.el (Man-bgproc-sentinel, Man-goto-page):
2374 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2375 (Info-history-forward, Info-follow-reference, Info-menu)
2376 (Info-extract-menu-item, Info-extract-menu-counting)
2377 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2378 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2379 (Info-next-reference, Info-prev-reference, Info-index)
2380 (Info-index-next, Info-follow-nearest-node)
2381 (Info-copy-current-node-name):
2382 * imenu.el (imenu--make-index-alist)
2383 (imenu-default-create-index-function, imenu-add-to-menubar):
2384 * files.el (basic-save-buffer, recover-file):
2385 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2386 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2387 (checkdoc-message-text, checkdoc-defun):
2388 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2389 * cus-edit.el (customize-changed-options, customize-rogue)
2390 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2391 (custom-variable-mark-to-reset-standard)
2392 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2393 (custom-file):
2394 * completion.el (check-completion-length):
2395 * comint.el (comint-search-arg)
2396 (comint-previous-matching-input-string-position)
2397 (comint-previous-matching-input)
2398 (comint-replace-by-expanded-history-before-point, comint-send-input)
2399 (comint-copy-old-input, comint-backward-matching-input)
2400 (comint-goto-process-mark, comint-set-process-mark):
2401 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2402 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2403
2404 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * dabbrev.el (dabbrev--ignore-case-p): New function.
2407 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2408 Use it.
2409
2410 * files.el (automount-dir-prefix): Mark as obsolete.
2411
2412 2012-05-04 Glenn Morris <rgm@gnu.org>
2413
2414 * patcomp.el, play/bruce.el: Move to obsolete/.
2415
2416 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2417
2418 Fix minor Y10k bugs.
2419 * arc-mode.el (archive-unixdate):
2420 * autoinsert.el (auto-insert-alist):
2421 * calc/calc-forms.el (math-this-year):
2422 * emacs-lisp/copyright.el (copyright-current-year)
2423 (copyright-update-year, copyright):
2424 * tar-mode.el (tar-clip-time-string):
2425 * time.el (display-time-update):
2426 Don't assume years have 4 digits.
2427
2428 2012-05-04 Chong Yidong <cyd@gnu.org>
2429
2430 * dos-w32.el (file-name-buffer-file-type-alist)
2431 (direct-print-region-use-command-dot-com):
2432 * ffap.el (ffap-menu-regexp):
2433 * find-file.el (ff-special-constructs):
2434 * follow.el (follow-debug):
2435 * forms.el (forms--debug):
2436 * iswitchb.el (iswitchb-all-frames):
2437 * ido.el (ido-all-frames):
2438 * emacs-lisp/timer.el (timer-max-repeats):
2439 * mail/feedmail.el (feedmail-mail-send-hook)
2440 (feedmail-mail-send-hook-queued):
2441 * mail/footnote.el (footnote-signature-separator):
2442 * mail/mailabbrev.el (mail-alias-separator-string)
2443 (mail-abbrev-mode-regexp):
2444 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2445 * progmodes/idlwave.el (idlwave-libinfo-file)
2446 (idlwave-default-completion-case-is-down)
2447 (idlwave-library-routines): Convert defvars to defcustoms.
2448
2449 * mail/rmail.el (rmail-decode-mime-charset):
2450 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2451 (idlwave-shell-fix-inserted-breaks)
2452 (idlwave-shell-activate-alt-keybindings)
2453 (idlwave-shell-use-breakpoint-glyph):
2454 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2455
2456 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2459
2460 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2461
2462 * progmodes/verilog-mode.el (font-lock-keywords):
2463 Fix mis-highligting auto. Reported by Craig Barner.
2464 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2465 defines from global name space. Reported by Dan Dever.
2466 (verilog-auto-reset, verilog-auto-reset-widths)
2467 (verilog-auto-tieoff): Support using unbased numbers for
2468 AUTORESET and AUTOTIEOFF.
2469 (verilog-submit-bug-report): Update variable list.
2470 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2471 parenthesis from not matching. Reported by Michael Rytting.
2472 (verilog-auto-template-lint): Fix hash error when linting modules
2473 with no used templates.
2474 (verilog-warn, verilog-warn-error)
2475 (verilog-warn-fatal): When non-interactive report multiple
2476 warnings before exiting. Suggested by Brad Dobbie.
2477 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2478 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2479 to report unused template errors. Reported by Brad Dobbie.
2480 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2481 nets, bug438. Reported by Vns Blore.
2482 (verilog-auto-inout-module, verilog-auto-reg)
2483 (verilog-read-decls, verilog-read-sub-decls-sig)
2484 (verilog-signals-edit-wire-reg, verilog-signals-with):
2485 Fix passing of Verilog data types in ANSI input/output ports
2486 such as "output logic" into the AUTOs. Special case "wire" and
2487 "reg" for backwards compatibility presuming Verilog 2001.
2488 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2489 (verilog-preprocess): Fix replication of preprocess output.
2490 Reported by Brad Dobbie.
2491 (verilog-auto-inst-interfaced-ports):
2492 Create verilog-auto-inst-interfaced-ports, bug429.
2493 Reported by Julian Gorfajn.
2494 (verilog-after-save-font-hook)
2495 (verilog-before-save-font-hook): New variable.
2496 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2497 (verilog-save-font-mods): Wrap disabling fontification, reported
2498 by David Rogoff.
2499 (verilog-do-indent, verilog-pretty-declarations-auto)
2500 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2501 Reported by Pierre-David Pfister.
2502 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2503 of class declarations, bug292. Reported by Kevin Heilman.
2504 (verilog-read-decls): Fix 'parameter type' not appearing in
2505 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2506 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2507 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2508 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2509 Reported by David Kravitz.
2510
2511 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2512
2513 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2514 assignment with tests in ifs and for loops.
2515 (verilog-extended-complete-re, verilog-complete-reg): Change so
2516 that DPI inport functions don't look like fuction declarations.
2517 (verilog-pretty-expr): Don't line up assignment
2518 operations to the test and increment in if and for loops
2519 (verilog-extended-complete-re, verilog-complete-reg): Change so
2520 that DPI inport functions don't look like fuction declarations
2521
2522 2012-05-03 Kenichi Handa <handa@m17n.org>
2523
2524 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2525 decoding, and show a warning message without signaling an error
2526 (Bug#11282).
2527
2528 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * emacs-lisp/bytecomp.el
2531 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2532 since cconv.el might have introduced :fun-body, internal-make-closure,
2533 and friends for bytecomp to handle (bug#11391).
2534 * custom.el (defcustom): Avoid ((λ ..) ..).
2535
2536 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2537
2538 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2539
2540 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2541
2542 * notifications.el (dbus-debug):
2543 * term/linux.el (gpm-mouse-enable):
2544 * term/screen.el (xterm-register-default-colors): Declare.
2545
2546 2012-05-02 Chong Yidong <cyd@gnu.org>
2547
2548 * cus-start.el (gc-cons-percentage, exec-suffixes)
2549 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2550 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2551 (make-cursor-line-fully-visible, void-text-area-pointer)
2552 (font-list-limit): Add customization data.
2553
2554 * allout.el (allout-exposure-change-functions)
2555 (allout-structure-added-functions)
2556 (allout-structure-deleted-functions)
2557 (allout-structure-shifted-functions): Rename abnormal hooks from
2558 *-hook, and convert to defcustoms.
2559 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2560 Convert to defcustoms.
2561 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2562
2563 * allout-widgets.el: Hook callers changed.
2564
2565 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2566
2567 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2568 the yanked message in preference to the default value of
2569 buffer-file-coding-system.
2570
2571 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2572
2573 * window.el (display-buffer--action-function-custom-type):
2574 Fix entry.
2575
2576 2012-05-02 Alan Mackenzie <acm@muc.de>
2577
2578 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2579
2580 2012-05-01 Glenn Morris <rgm@gnu.org>
2581
2582 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2583
2584 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2585
2586 * cus-edit.el (custom-variable-documentation): Simplify with format.
2587
2588 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2589 Stefan Monnier <monnier@iro.umontreal.ca>
2590
2591 * simple.el (suggest-key-bindings, execute-extended-command):
2592 Move from keyboard.c.
2593
2594 2012-05-01 Chong Yidong <cyd@gnu.org>
2595
2596 * follow.el: Eliminate advice.
2597 (set-process-filter, process-filter, sit-for): Advice deleted.
2598 (follow-mode-off-hook): Obsolete hook removed.
2599 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2600 Vars deleted.
2601 (follow-auto): Use a :set function.
2602 (follow-mode): Rewritten. Don't advise process filters.
2603 (follow-switch-to-current-buffer-all, follow-scroll-up)
2604 (follow-scroll-down): Assume follow-mode is bound.
2605 (follow-comint-scroll-to-bottom)
2606 (follow-align-compilation-windows): New functions.
2607 (follow--window-sorter): New function.
2608 (follow-all-followers): Use it to explicitly sort windows by their
2609 positions; don't make assumptions about next-window order.
2610 (follow-windows-start-end, follow-delete-other-windows-and-split)
2611 (follow-calc-win-start): Doc fix.
2612 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2613 vertical-motion unnecessarily.
2614 (follow-adjust-window): New function.
2615 (follow-post-command-hook): Use it.
2616 (follow-call-set-process-filter, follow-call-process-filter)
2617 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2618 (follow-stop-intercept-process-output, follow-generic-filter):
2619 Functions deleted.
2620 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2621 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2622 New functions, replacing advice on scroll-bar-* commands.
2623 (follow-mwheel-scroll): New function (Bug#4112).
2624
2625 * comint.el (comint-adjust-point): New function.
2626 (comint-postoutput-scroll-to-bottom): Use it.
2627 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2628
2629 2012-05-01 Glenn Morris <rgm@gnu.org>
2630
2631 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2632 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2633 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2634 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2635 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2636 Remove no-byte-compile setting.
2637
2638 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2641 all-completions code to not return a number in the last cdr.
2642
2643 2012-04-30 Leo Liu <sdl.web@gmail.com>
2644
2645 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2646 read-only error.
2647
2648 2012-04-29 Chong Yidong <cyd@gnu.org>
2649
2650 * follow.el (follow-calc-win-end): Rewrite to handle partial
2651 screen lines correctly (Bug#8390).
2652 (follow-avoid-tail-recenter): Minor cleanup.
2653
2654 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 Avoid the obsolete `assoc' package.
2657 * speedbar.el (speedbar-refresh): Avoid adelete.
2658 (speedbar-file-lists): Simplify and avoid aput.
2659 * man.el (Man--sections, Man--refpages): New vars, replacing
2660 Man-sections-alist and Man-refpages-alist.
2661 (Man-build-section-alist, Man-build-references-alist):
2662 Use them; avoid aput.
2663 (Man--last-section, Man--last-refpage): New vars.
2664 (Man-follow-manual-reference): Use them.
2665 Use the `default' arg of completing-read.
2666 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2667
2668 2012-04-27 Chong Yidong <cyd@gnu.org>
2669
2670 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2671
2672 * startup.el (x-apply-session-resources): New function.
2673
2674 * term/ns-win.el (ns-initialize-window-system):
2675 * term/w32-win.el (w32-initialize-window-system):
2676 * term/x-win.el (x-initialize-window-system): Use it to properly
2677 set menu-bar-mode and other vars from X resources, even if the
2678 initial frame is not a window-system frame (Bug#2299).
2679
2680 * subr.el (read-key): Avoid running filter function when setting
2681 up temporary tool bar entries (Bug#9922).
2682
2683 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2684
2685 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2686 (Bug#11344)
2687
2688 2012-04-27 Chong Yidong <cyd@gnu.org>
2689
2690 * select.el (xselect--encode-string): New function, split from
2691 xselect-convert-to-string.
2692 (xselect-convert-to-string): Use it.
2693 (xselect-convert-to-filename, xselect-convert-to-os)
2694 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2695 returned strings are properly encoded (Bug#11315).
2696
2697 2012-04-27 Chong Yidong <cyd@gnu.org>
2698
2699 * simple.el (delete-active-region): Move to killing custom group.
2700
2701 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2702
2703 * progmodes/which-func.el (which-func-current): Quote %
2704 characters for mode-line processing.
2705
2706 2012-04-27 Chong Yidong <cyd@gnu.org>
2707
2708 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2709 reaching eob (Bug#11286).
2710
2711 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2712
2713 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2714 (gdb): Make it buffer-local and init to zero.
2715 (gdb-control-commands-regexp): New variable.
2716 (gdb-send): Don't wrap in "-interpreter-exec console" if
2717 gdb-control-level is positive. Increment gdb-control-level
2718 whenever the command matches gdb-control-commands-regexp, and
2719 decrement it each time the command is "end". (Bug#11279)
2720
2721 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2722
2723 * window.el (adjust-window-trailing-edge, enlarge-window)
2724 (shrink-window, window-resize):
2725 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2726 windows (Bug#11276).
2727
2728 2012-04-27 Chong Yidong <cyd@gnu.org>
2729
2730 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2731 fix "missing prefix" warning. All callers changed.
2732
2733 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * emacs-lisp/assoc.el: Move to obsolete/.
2736
2737 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2740
2741 * term/ns-win.el (ns-define-service):
2742 * progmodes/pascal.el (pascal-goto-defun):
2743 * progmodes/js.el (js--read-tab):
2744 * progmodes/etags.el (tags-lazy-completion-table):
2745 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2746 * emacs-lisp/ewoc.el (ewoc--wrap):
2747 * emacs-lisp/assoc.el (aput, adelete, amake):
2748 * doc-view.el (doc-view-convert-current-doc):
2749 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2750
2751 2012-04-26 Chong Yidong <cyd@gnu.org>
2752
2753 * image.el (image-type-from-buffer): Only return supported image
2754 type (Bug#9045).
2755
2756 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2757 value, for symmetry with diff-end-of-hunk.
2758 (diff-split-hunk, diff-find-source-location)
2759 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2760 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2761 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2762 compute the relevant hunk or file properly (Bug#6005).
2763 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2764
2765 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * vc/vc-mtn.el:
2768 * vc/vc-hg.el:
2769 * vc/vc-git.el:
2770 * vc/vc-dir.el:
2771 * vc/vc-cvs.el:
2772 * vc/vc-bzr.el:
2773 * vc/vc-arch.el:
2774 * vc/vc.el: Replace lexical-let by lexical-binding.
2775 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2776 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2777 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2778
2779 2012-04-26 Chong Yidong <cyd@gnu.org>
2780
2781 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2782 (diff-mode-shared-map): Bind it to / and [remap undo].
2783
2784 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2785 (ediff-window-setup-function): Use it as the default, to set up
2786 windows based on whether the current frame is graphical (Bug#2138).
2787 (ediff-choose-window-setup-function-automatically): Make obsolete.
2788
2789 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2790
2791 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * ffap.el: Remove old code for obsolete package.
2794 (ffap-complete-as-file-p): Remove.
2795
2796 Use completion-table-with-quoting for comint and pcomplete.
2797 * comint.el (comint--unquote&requote-argument)
2798 (comint--unquote-argument, comint--requote-argument): New functions.
2799 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2800 (comint-quote-filename): Use regexp-opt-charset.
2801 (comint--common-suffix, comint--common-quoted-suffix)
2802 (comint--table-subvert): Remove.
2803 (comint-unquote-function, comint-requote-function): New vars.
2804 (comint--complete-file-name-data): Use them with
2805 completion-table-with-quoting.
2806 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2807 * pcomplete.el (pcomplete-arg-quote-list)
2808 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2809 (pcomplete-unquote-argument-function): Default to non-nil.
2810 (pcomplete-unquote-argument): Simplify.
2811 (pcomplete--common-quoted-suffix): Remove.
2812 (pcomplete-requote-argument-function): New var.
2813 (pcomplete--common-suffix): New function.
2814 (pcomplete-completions-at-point): Use completion-table-with-quoting
2815 and completion-table-subvert.
2816
2817 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2818 (minibuffer--double-dollars): Preserve properties.
2819 (completion--sifn-requote): New function.
2820 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2821
2822 * minibuffer.el: Add support for completion of quoted/escaped data.
2823 (completion-table-with-quoting, completion-table-subvert): New funs.
2824 (completion--twq-try, completion--twq-all): New functions.
2825 (completion--nth-completion): New function.
2826 (completion-try-completion, completion-all-completions): Use it.
2827
2828 2012-04-25 Leo Liu <sdl.web@gmail.com>
2829
2830 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2831 Use compilation-message if available to find real filename.
2832
2833 2012-04-25 Chong Yidong <cyd@gnu.org>
2834
2835 * vc/diff-mode.el (diff-setup-whitespace): New function.
2836 (diff-mode): Use it.
2837
2838 * vc/diff.el (diff-sentinel):
2839 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2840 Whitespace mode variables based on diff style (Bug#8612).
2841
2842 2012-04-25 Leo Liu <sdl.web@gmail.com>
2843
2844 * progmodes/python.el (python-send-region): Add suffix .py to the
2845 temp file.
2846
2847 * files.el (auto-mode-alist): Use javascript-mode instead.
2848
2849 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2850
2851 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2852
2853 * soap-client.el (soap-resolve-references-for-sequence-type)
2854 (soap-resolve-references-for-array-type): Hack to prevent self
2855 references, see Bug#9.
2856 (soap-parse-envelope): Report the contents of the 'detail' node
2857 when receiving a fault reply.
2858 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2859
2860 * soap-inspect.el (soap-sample-value-for-simple-type)
2861 (soap-inspect-simple-type): New function.
2862
2863 * soap-client.el (soap-simple-type): New struct.
2864 (soap-default-xsd-types, soap-default-soapenc-types)
2865 (soap-decode-basic-type, soap-encode-basic-type):
2866 support unsignedInt and double basic types.
2867 (soap-resolve-references-for-simple-type)
2868 (soap-parse-simple-type, soap-encode-simple-type): New function.
2869 (soap-parse-schema): Parse xsd:simpleType declarations.
2870
2871 * soap-client.el (soap-default-xsd-types)
2872 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2873 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2874 the local name of "soapenc:Array".
2875 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2876 decoding integer, byte and anyURI xsd types.
2877
2878 2012-04-25 Chong Yidong <cyd@gnu.org>
2879
2880 * cus-edit.el (custom-buffer-create-internal): Update header text.
2881
2882 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2883
2884 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2885 settings on 'system-type', not on 'window-system'. On MS-Windows,
2886 set interactive-mode on in GDB.
2887
2888 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2889
2890 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2891 (ruby-syntax-propertize-regexp): Remove.
2892 (ruby-syntax-propertize-function): Split regexp into chunks.
2893 Match following code directly.
2894
2895 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2896
2897 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2898 (ruby-syntax-propertize-regexp): New function.
2899 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2900 by a special keyword.
2901
2902 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2903 (ruby-syntax-general-delimiters-goto-beg)
2904 (ruby-syntax-propertize-general-delimiters): New functions.
2905 (ruby-syntax-propertize-function): Use them to handle GDL.
2906 (ruby-font-lock-keywords): Move old handling of GDL...
2907 (ruby-font-lock-syntactic-keywords): .. to here.
2908 (ruby-calculate-indent): Adjust indentation for GDL.
2909
2910 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2911
2912 * notifications.el (top): Remove unneeded declarations.
2913 (notifications-specification-version): Change to "1.2".
2914 (notifications-interface, notifications-notify-method)
2915 (notifications-close-notification-method): Fix docstring.
2916 (notifications-get-capabilities-method): New defconst.
2917 (notifications-notify): Add :action-items, :resident and
2918 :transient hints. Change "image_data" to "image-data" and
2919 "image_path" to "image-path".
2920 (notifications-get-capabilities): New defun.
2921
2922 2012-04-24 Leo Liu <sdl.web@gmail.com>
2923
2924 * progmodes/python.el: Move hideshow setup to the end.
2925
2926 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2927
2928 * window.el (handle-select-window): Clear echo area since this is
2929 no more done by read_char (Bug#11304).
2930
2931 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2932
2933 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2934 and `/ M' to filter-derived-mode.
2935 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2936 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2937 (ibuffer-mark-by-mode): Use default rather than initial-input.
2938 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2939
2940 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2941
2942 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2943 (ibuffer-filter-by-derived-mode): New filter.
2944 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2945
2946 2012-04-23 Andreas Politz <politza@fh-trier.de>
2947
2948 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2949
2950 2012-04-23 Chong Yidong <cyd@gnu.org>
2951
2952 * cus-edit.el (customize-apropos, customize-apropos-options):
2953 Disable matching of non-option variables (Bug#11176).
2954 (customize-option, customize-option-other-window)
2955 (customize-changed-options): Doc fix.
2956 (customize-apropos-options, customize-apropos-faces)
2957 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2958
2959 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2960 Fix word list splitting (Bug#11132).
2961 (apropos-symbol, apropos-keybinding, apropos-label)
2962 (apropos-property, apropos-function-button)
2963 (apropos-variable-button, apropos-misc-button): New faces.
2964 (apropos-symbol-face, apropos-keybinding-face)
2965 (apropos-label-face, apropos-property-face, apropos-match-face):
2966 Variables removed (Bug#8396).
2967 (apropos-library-button, apropos-format-plist, apropos-print)
2968 (apropos-print-doc, apropos-describe-plist): Callers changed.
2969
2970 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2971
2972 * net/xesam.el (xesam-mode-map): Use let-bound map in
2973 initialization. (Bug#11292)
2974
2975 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2976
2977 Preserve ispell session localwords when switching back to
2978 original buffer.
2979
2980 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2981 variable to hold buffer session localwords.
2982 (ispell-kill-ispell): add option 'clear to delete session
2983 localwords.
2984 (ispell-command-loop, ispell-change-dictionary)
2985 (ispell-buffer-local-words): Preserve session localwords when
2986 needed.
2987
2988 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2989 Preserve session localwords when needed.
2990
2991 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2992
2993 * ispell.el (ispell-insert-word) Remove unneeded function using
2994 obsolete `translation-table-for-input'.
2995 (ispell-word, ispell-process-line, ispell-complete-word):
2996 Use plain `insert' instead of removed `ispell-insert-word'.
2997
2998 2012-04-22 Chong Yidong <cyd@gnu.org>
2999
3000 * cus-edit.el (custom-variable-menu)
3001 (custom-variable-reset-saved, custom-face-menu)
3002 (custom-face-reset-saved): If there is no saved value, make the
3003 "reset-saved" operation bring back the default (Bug#9509).
3004 (custom-face-state): Properly detect themed faces.
3005
3006 * faces.el (face-spec-set): Stop supporting deprecated form of
3007 third arg.
3008
3009 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3010
3011 Move functions from C to Lisp. Make non-blocking method calls
3012 the default. Implement further D-Bus standard interfaces.
3013
3014 * net/dbus.el (dbus-message-internal): Declare function.
3015 Remove unneeded function declarations.
3016 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3017 (dbus-message-type-method-return, dbus-message-type-error)
3018 (dbus-message-type-signal): Declare variables. Remove local
3019 definitions.
3020 (dbus-interface-dbus, dbus-interface-peer)
3021 (dbus-interface-introspectable, dbus-interface-properties)
3022 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3023 Adapt docstring.
3024 (dbus-interface-objectmanager): New defconst.
3025 (dbus-call-method, dbus-call-method-asynchronously)
3026 (dbus-send-signal, dbus-method-return-internal)
3027 (dbus-method-error-internal, dbus-register-service)
3028 (dbus-register-signal, dbus-register-method): New defuns, moved
3029 from dbusbind.c
3030 (dbus-call-method-handler, dbus-setenv)
3031 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3032 New defuns.
3033 (dbus-call-method-non-blocking): Make it an obsolete function.
3034 (dbus-unregister-object, dbus-unregister-service)
3035 (dbus-handle-event, dbus-register-property)
3036 (dbus-property-handler): Obey the new structure of
3037 `bus-registered-objects'.
3038 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3039 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3040 Use `dbus-call-method'.
3041
3042 2012-04-22 Chong Yidong <cyd@gnu.org>
3043
3044 * cus-edit.el (custom-commands, custom-reset-menu)
3045 (Custom-reset-standard): Tweak labels.
3046 (custom-reset-button-menu): Change default to t.
3047 (custom-buffer-create-internal): For the custom-reset-button-menu
3048 case, put the revert button first.
3049 (custom-group-subtitle): New face.
3050 (custom-group-value-create): Align docstring to a specific column.
3051
3052 * wid-edit.el (widget-documentation-link-add): Don't handle
3053 indentation in this function.
3054 (widget-documentation-string-indent-to): New function.
3055 (widget-documentation-string-value-create): Use it.
3056
3057 * autorevert.el (auto-revert):
3058 * epg-config.el (epg):
3059 * ibuffer.el (ibuffer):
3060 * mpc.el (mpc):
3061 * ses.el (ses):
3062 * eshell/eshell.el (eshell):
3063 * net/ange-ftp.el (ange-ftp):
3064 * progmodes/ebnf2ps.el (postscript):
3065 * progmodes/flymake.el (flymake):
3066 * progmodes/prolog.el (prolog):
3067 * progmodes/verilog-mode.el (verilog-mode):
3068 * progmodes/which-func.el (which-func):
3069 * term/xterm.el (xterm):
3070 * textmodes/picture.el (picture):
3071 * textmodes/tildify.el (tildify):
3072 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3073 customization buffers.
3074
3075 2012-04-22 Alan Mackenzie <acm@muc.de>
3076
3077 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3078 Adding a ) can hide the resulting (..) from searches. Fix it.
3079 Bound the backward search to the position of the existing (.
3080
3081 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3082
3083 * progmodes/verilog-mode.el (verilog-mode): Check whether
3084 which-func-modes is t before adding verilog-mode.
3085 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3086
3087 2012-04-21 Leo Liu <sdl.web@gmail.com>
3088
3089 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3090
3091 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3092
3093 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3094 filling of the last column of a table (Bug#5635).
3095 (woman-find-next-control-line): New arg, specifying an additional
3096 regexp component for the control line.
3097 (woman2-roff-buffer): Use it.
3098 (woman-break-table): New function.
3099 (woman2-TS): Use it.
3100
3101 2012-04-21 Chong Yidong <cyd@gnu.org>
3102
3103 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3104 (woman-horizontal-escapes, woman-negative-vertical-space)
3105 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3106 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3107
3108 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * minibuffer.el (completion-file-name-table): Complete user names.
3111
3112 2012-04-20 Leo Liu <sdl.web@gmail.com>
3113
3114 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3115 and pcase-let*.
3116
3117 2012-04-20 Chong Yidong <cyd@gnu.org>
3118
3119 * server.el (server-execute): Respect initial-buffer-choice if it
3120 is a string and there are no files to open (Bug#2825).
3121 (server-create-window-system-frame, server-create-tty-frame):
3122 Don't switch buffers here.
3123 (server-process-filter): Only try to open a window system frame if
3124 compiled with graphical support (Bug#8314).
3125
3126 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3127
3128 * battery.el (battery-echo-area-format): Display remaining time
3129 for sysfs backend too (Bug#11269).
3130 (battery-linux-sysfs): Fix conditional for the charge.
3131
3132 2012-04-20 Chong Yidong <cyd@gnu.org>
3133
3134 * progmodes/gdb-mi.el (gdb): Revert previous change.
3135 (gdb-inferior-io--init-proc): New function.
3136 (gdb-init-1): Use it.
3137 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3138 responsible for allocating a new pty and hooking it to gdb when
3139 the old pty gets an EIO due to process exit.
3140 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3141 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3142 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3143
3144 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3145
3146 * window.el (window-min-size, window-sizable, window-min-delta)
3147 (window-max-delta, window--resizable, window-resizable)
3148 (window-total-size, window-full-height-p, window-full-width-p)
3149 (window-in-direction, window--resize-mini-window, window-resize)
3150 (window--resize-child-windows-normal)
3151 (window--resize-child-windows, window--resize-siblings)
3152 (window--resize-this-window, adjust-window-trailing-edge)
3153 (enlarge-window, shrink-window): Doc fixes.
3154
3155 2012-04-20 Chong Yidong <cyd@gnu.org>
3156
3157 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3158 New function to call delete-process on the gdb-inferior buffer's pty.
3159 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3160 pty process (Bug#11273).
3161 (gdb-update): New arg to suppress talking to the gdb process.
3162 (gdb-done-or-error): Use it.
3163 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3164 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3165 sentinel not being called.
3166
3167 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3168
3169 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3170
3171 2012-04-20 Glenn Morris <rgm@gnu.org>
3172
3173 * net/network-stream.el (open-network-stream): Doc fix.
3174
3175 2012-04-20 Chong Yidong <cyd@gnu.org>
3176
3177 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3178
3179 2012-04-20 Alan Mackenzie <acm@muc.de>
3180
3181 Ensure searching for keywords is case sensitive.
3182
3183 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3184 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3185 (c-defun-name, c-mark-function, c-cpp-define-name)
3186 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3187 (c-context-line-break): Bind case-fold-search to nil.
3188
3189 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3190 Bind case-fold-search to nil.
3191
3192 2012-04-20 Chong Yidong <cyd@gnu.org>
3193
3194 * mail/sendmail.el (mail-bury): Call return action with the right
3195 Rmail buffer (Bug#11242).
3196
3197 * server.el (server-process-filter): Handle corner case where both
3198 tty and nowait options are present (Bug#11102).
3199
3200 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3201
3202 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3203 (top level): Put into the executable the ident-style '$Id:' tag on
3204 windows-nt as well.
3205
3206 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 * electric.el (electric-indent-post-self-insert-function): Check that
3209 electric-indent-mode is enabled in current buffer.
3210
3211 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3212
3213 * imenu.el (imenu-progress-message): Restore; it is "used" in
3214 erc/erc-imenu.el and net/snmp-mode.el.
3215
3216 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3217
3218 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3219 (mouse-avoidance-nudge-mouse): Remove unused binding.
3220
3221 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3222
3223 * descr-text.el (describe-char):
3224 * progmodes/python.el (python-describe-symbol):
3225 Don't call `toggle-read-only', set `buffer-read-only'.
3226
3227 * imenu.el (imenu-default-goto-function): Mark unused args.
3228 (imenu-progress-message): Remove obsolete macro; all callers changed.
3229
3230 * subr.el (keymap-canonicalize): Remove unused binding.
3231 (read-passwd): Mark unused arg.
3232
3233 * tutorial.el (tutorial--display-changes): Remove unused binding.
3234 (tutorial--save-tutorial-to): Remove unused variable.
3235
3236 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3237 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3238 (package-generate-autoloads, package-menu--generate)
3239 (package-menu--find-upgrades): Remove unused bindings.
3240
3241 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3242 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3243 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3244 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3245 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3246 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3247 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3248 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3249 (cua-delete-char-rectangle): Mark unused args.
3250 (cua-align-rectangle): Remove unused binding.
3251
3252 * mail/rmail.el (compilation--message->loc)
3253 (epa--find-coding-system-for-mime-charset): Declare.
3254
3255 * net/dbus.el (dbus-register-service): Declare.
3256 (dbus-name-owner-changed-handler): Remove unused binding.
3257
3258 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3259 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3260 (nxml-scan-backward-within): Mark unused arg.
3261 (nxml-dynamic-markup-word): Remove unused binding.
3262
3263 * mouse.el (mouse-menu-major-mode-map):
3264 * emacs-lisp/authors.el (authors-scan-change-log)
3265 (authors-add-to-author-list):
3266 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3267 * emacs-lisp/smie.el (smie-auto-fill):
3268 * mail/sendmail.el (mail-bury):
3269 * mail/unrmail.el (unrmail):
3270 * net/tls.el (open-tls-stream):
3271 * textmodes/picture.el (picture-mouse-set-point):
3272 Remove unused bindings.
3273
3274 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3275
3276 * net/tramp.el (tramp-action-password): Let-bind
3277 `enable-recursive-minibuffers' to t.
3278
3279 2012-04-18 Sam Steingold <sds@gnu.org>
3280
3281 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3282 instead of 'string to accommodate values like [f11].
3283 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3284 * progmodes/gdb-mi.el: Likewise.
3285
3286 2012-04-18 Leo Liu <sdl.web@gmail.com>
3287
3288 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3289 current buffer.
3290 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3291 LOCAL is nil.
3292
3293 2012-04-18 Chong Yidong <cyd@gnu.org>
3294
3295 * simple.el (line-move): Use forward-line if in batch mode
3296 (Bug#11053).
3297
3298 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3299
3300 * files.el (after-find-file): Do not try to add a final newline if
3301 the buffer is read-only (Bug#11156).
3302
3303 2012-04-17 Richard Stallman <rms@gnu.org>
3304
3305 * mail/rmail.el (rmail-start-mail):
3306 Pass (rmail-mail-return...) for the return-action.
3307 Pass (rmail-yank-current-message...) for the yank-action.
3308 (rmail-yank-current-message): New function.
3309 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3310 (rmail-reply): Likewise.
3311 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3312
3313 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3314 buffer, not the last. Reject temp buffers. Use the rmail-mode
3315 buffer, not newbuf.
3316
3317 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3318
3319 * server.el (server-ensure-safe-dir): Simplify.
3320
3321 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * emacs-lisp/smie.el: Provide smarter auto-filling.
3324 (smie-auto-fill): New function.
3325 (smie-setup): Use it.
3326
3327 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3328
3329 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3330
3331 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3332 (comment-indent): Use it.
3333
3334 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3335
3336 * ses.el: The overall change is to add cell renaming, that is
3337 setting fancy names for cell symbols other than name matching
3338 "\\`[A-Z]+[0-9]+\\'" regexp .
3339 (ses-localvars): Add ses--renamed-cell-symb-list.
3340 (ses-create-cell-variable): New defun.
3341 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3342 (ses-relocate-formula): Relocate formulas only for cells the
3343 symbols of which are not renamed, i.e. symbols whose names do not
3344 match regexp "\\`[A-Z]+[0-9]+\\'".
3345 (ses-relocate-all): Relocate values only for cells the symbols of
3346 which are not renamed.
3347 (ses-load): Create cells variables as the (ses-cell ...) are read,
3348 in order to check row col consistency with cell symbol name only
3349 for cells that are not renamed.
3350 (ses-replace-name-in-formula): New defun.
3351 (ses-rename-cell): New defun.
3352
3353 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3354
3355 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3356 New option (bug#11118).
3357 (perl-calculate-indent): Respect it.
3358
3359 2012-04-17 Glenn Morris <rgm@gnu.org>
3360
3361 * dired-aux.el (dired-mark-read-string): Doc fix.
3362
3363 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3364
3365 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3366 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3367
3368 2012-04-17 Glenn Morris <rgm@gnu.org>
3369
3370 * mouse.el (mouse-drag-track):
3371 * speedbar.el (speedbar-frame-mode):
3372 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3373
3374 2012-04-16 Leo Liu <sdl.web@gmail.com>
3375
3376 * progmodes/python.el: Trivial cleanup.
3377
3378 2012-04-16 Glenn Morris <rgm@gnu.org>
3379
3380 * vc/vc.el (vc-string-prefix-p):
3381 * vc/pcvs-util.el (cvs-string-prefix-p):
3382 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3383 * mpc.el (mpc-string-prefix-p):
3384 Make all of these into obsolete aliases for string-prefix-p.
3385 Update callers.
3386 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3387
3388 * textmodes/two-column.el: Move custom options to the start.
3389 (frame-width): Remove compat definition.
3390 (2C-associate-buffer, 2C-dissociate):
3391 Use with-current-buffer rather than save-excursion.
3392 (2C-dissociate): Force a mode-line update.
3393 (2C-autoscroll): Use ignore-errors.
3394
3395 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3396 Autoload trivia.
3397
3398 * emacs-lisp/cl-extra.el (*random-state*):
3399 Remove unnecessary declaration.
3400
3401 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3402
3403 * play/cookie1.el (cookie-snarf):
3404 Give an explicit error if input file cannot be read.
3405
3406 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3407
3408 * progmodes/perl-mode.el (c-macro-expand):
3409 Remove unnecessary autoload (it is in loaddefs.el).
3410
3411 * textmodes/picture.el (picture-desired-column)
3412 (picture-update-desired-column): Convert comments to doc-strings.
3413 (picture-substitute): Remove function.
3414 (picture-mode-map): Initialize in the defvar.
3415
3416 * woman.el: Remove eval-after-load for tar-mode.
3417 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3418 (woman-tar-extract-file): Autoload it.
3419
3420 * frame.el (automatic-hscrolling): Make this alias obsolete.
3421
3422 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3423
3424 * ispell.el (ispell-set-spellchecker-params): Post-process
3425 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3426 (ispell-dictionary-base-alist): Revert to original XEmacs
3427 friendly version for default. [:alpha:] will be added in
3428 `ispell-set-spellchecker-params' if needed
3429
3430 2012-04-16 Chong Yidong <cyd@gnu.org>
3431
3432 * image.el (imagemagick--extension-regexp): New variable.
3433 (imagemagick-register-types): Use it.
3434 (imagemagick-types-inhibit): Add :set function. Allow new value
3435 of t to inhibit all types.
3436
3437 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3438 so we can preload it.
3439
3440 * loadup.el (fboundp): Preload regexp-opt, needed by
3441 imagemagick-register-types.
3442
3443 2012-04-15 Chong Yidong <cyd@gnu.org>
3444
3445 * frame.el (scrolling): Remove nearly unused customization group.
3446
3447 * scroll-all.el (scroll-all-mode): Move to windows group.
3448
3449 2012-04-15 Chong Yidong <cyd@gnu.org>
3450
3451 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3452
3453 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3456 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3457
3458 2012-04-15 Glenn Morris <rgm@gnu.org>
3459
3460 * simple.el (process-file-side-effects): Doc fix.
3461
3462 2012-04-15 Glenn Morris <rgm@gnu.org>
3463
3464 * international/mule-cmds.el (set-language-environment): Doc fix.
3465
3466 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3467
3468 * server.el (server-auth-key, server-generate-key): Doc fixes.
3469 (server-get-auth-key): Doc fix. Use `string-match-p'.
3470 (server-start): Reflow docstring.
3471
3472 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3473
3474 * server.el (server-generate-key): `called-interactively-p'
3475 requires a parameter.
3476
3477 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3478
3479 * server.el (server-auth-key): New variable.
3480 (server-generate-key, server-get-auth-key): New function.
3481 (server-start): Use the new variable and functions to allow
3482 setting a permanent server key (bug#9423).
3483
3484 2012-04-14 Leo Liu <sdl.web@gmail.com>
3485
3486 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3487
3488 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3489
3490 Spelling fixes.
3491 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3492 Emacs uses American spelling.
3493
3494 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3495
3496 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3497 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3498 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3499 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3500
3501 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3502
3503 * progmodes/which-func.el (which-func-modes): Change default.
3504
3505 2012-04-14 Kim F. Storm <storm@cua.dk>
3506
3507 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3508 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3509
3510 2012-04-14 Chong Yidong <cyd@gnu.org>
3511
3512 * custom.el (custom-theme-set-variables): Doc fix.
3513
3514 2012-04-14 Glenn Morris <rgm@gnu.org>
3515
3516 * international/mule.el (set-auto-coding-for-load): Doc fix.
3517
3518 2012-04-14 Alan Mackenzie <acm@muc.de>
3519
3520 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3521 imenu work again for Objective C Mode. Correct the *-index values,
3522 these having been disturbed by a previous change in 2011-08.
3523
3524 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3525 Correct two search limits.
3526
3527 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3530
3531 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3532
3533 * international/characters.el: Fix sorting.
3534
3535 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3536
3537 * international/characters.el: Add more missing Latin case pairs.
3538
3539 2012-04-14 Glenn Morris <rgm@gnu.org>
3540
3541 * files.el (dir-locals-set-class-variables): Doc fix.
3542
3543 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3544
3545 * international/characters.el: Add set-case-syntax-pair call for
3546 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3547 counterpart. (Bug#11209)
3548
3549 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3550
3551 2012-04-14 Glenn Morris <rgm@gnu.org>
3552
3553 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3554
3555 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3556
3557 * textmodes/ispell.el (ispell-dictionary-base-alist):
3558 Add data for Hebrew.
3559
3560 2012-04-14 Chong Yidong <cyd@gnu.org>
3561
3562 * net/rcirc.el (rcirc-cmd-quit):
3563 Revert 2012-03-18 change (Bug#11192).
3564
3565 2012-04-14 Glenn Morris <rgm@gnu.org>
3566
3567 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3568
3569 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3570
3571 * minibuffer.el (completion-in-region-mode-map):
3572 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3573
3574 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3575
3576 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3577
3578 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3579
3580 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3581 to allow `C-M-f' and `C-M-b' to move to the nearest path
3582 separator (bug#9511).
3583
3584 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3585
3586 * avoid.el: Require cl when compiling. And also move the
3587 `provide' to the end.
3588
3589 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3590
3591 * avoid.el (mouse-avoidance-banish-position): New variable.
3592 (mouse-avoidance-banish-destination): Use it (bug#10165).
3593
3594 2012-04-13 Leo Liu <sdl.web@gmail.com>
3595
3596 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3597
3598 2012-04-13 Ken Brown <kbrown@cornell.edu>
3599
3600 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3601 this is no longer needed now that cygstart understands file:// URLs.
3602 (browse-url-filename-alist): For the same reason, don't modify
3603 file:// URLs on Cygwin.
3604
3605 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3608 the region on shift if the binding is already shifted (bug#11221).
3609
3610 2012-04-12 Glenn Morris <rgm@gnu.org>
3611
3612 * mail/mailpost.el: Move to obsolete/.
3613
3614 2012-04-12 Drew Adams <drew.adams@oracle.com>
3615
3616 * imenu.el (imenu--generic-function): Ignore invisible definitions
3617 (bug#10123).
3618
3619 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3620
3621 * hexl.el (hexl-bits): New variable.
3622 (hexl-options): Mention the variable in the doc string.
3623 (hexl-rulerise, hexl-line-displen): New functions.
3624 (hexl-mode): Mention the new variable.
3625 (hexl-mode, hexl-current-address, hexl-current-address):
3626 Use the displen.
3627 (hexl-ascii-start-column): New function.
3628 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3629 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3630
3631 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3632
3633 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3634 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3635 the encoding, as expected by hunspell.
3636
3637 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * battery.el (battery--linux-sysfs-regexp): New const.
3640 (battery-status-function): Use it. Remove yeeloong special case.
3641 (battery-yeeloong-sysfs): Remove.
3642 (battery-echo-area-format): Remove yeeloong special case.
3643
3644 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3647 Reported by Noah Friedman.
3648
3649 * subr.el (read-passwd): Use read-string.
3650
3651 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3652
3653 * vcursor.el (vcursor-move): Increase the priority of the overlay
3654 (bug#9663).
3655
3656 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3657
3658 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3659 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3660
3661 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3662
3663 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3664 define-minor-mode (bug#10760).
3665
3666 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3667
3668 * progmodes/grep.el (rgrep): Tweak the find command line so
3669 that directories matching `grep-find-ignored-files' won't be
3670 pruned (bug#10351).
3671
3672 2012-04-11 Chong Yidong <cyd@gnu.org>
3673
3674 * startup.el (command-line): Remove support for long-obsolete
3675 variable font-lock-face-attributes.
3676
3677 2012-04-11 Glenn Morris <rgm@gnu.org>
3678
3679 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3680
3681 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * window.el (window--state-get-1): Obey window-point-insertion-type.
3684
3685 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3686
3687 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3688 to previous function when point is on the first character of a
3689 function. Take care of that in `narrow-to-defun' (bug#6157).
3690
3691 2012-04-11 Glenn Morris <rgm@gnu.org>
3692
3693 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3694 not just file-errors.
3695
3696 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3697 (vc-bzr-sha1): Use internal sha1.
3698
3699 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3700
3701 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3702
3703 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3704
3705 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3706 that start in the middle of the line (bug#10496).
3707
3708 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3709
3710 * battery.el (battery-linux-proc-acpi): Only one battery is
3711 discharged at a time, but that seems to confuse battery.el when
3712 computing `rate-type' for the battery not being discharged
3713 (bug#10332).
3714
3715 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3718
3719 * international/quail.el: Use dolist and simplify.
3720 (quail-define-package, quail-update-keyboard-layout)
3721 (quail-define-rules): Use dolist.
3722 (quail-insert-kbd-layout, quail-get-translation): CSE.
3723
3724 * tmm.el: Use dolist, remove left over hook.
3725 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3726 Use dolist.
3727 (calendar-load-hook): Don't mess with it.
3728
3729 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3730 Use derived-mode-p. Run the diff asynchronously.
3731
3732 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3733
3734 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3735
3736 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3737
3738 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3739 (list-dynamic-libraries--loaded): New function.
3740 (list-dynamic-libraries--refresh): Use it.
3741
3742 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3743
3744 * progmodes/python.el (python-fill-paragraph):
3745 Make python-fill-region in a multiline string work when font-lock is
3746 disabled (bug#7018).
3747
3748 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3749
3750 * language/european.el (cp775): Add oem/legacy (en)coding on
3751 DOS/MS Windows for the Baltic languages. There are still plenty
3752 of texts written in this encoding/codepage (bug#6519).
3753
3754 2012-04-10 Glenn Morris <rgm@gnu.org>
3755
3756 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3757 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3758
3759 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3760
3761 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3762 next-line "n" and previous-line "p" in order to make recentf more
3763 consistent with ibuffer, dired or org-mode (bug#9387).
3764
3765 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3766
3767 * image.el (put-image): Return the overlay created instead of the
3768 optional input string (bug#7834). Note that this may break code
3769 that is (for some reason or other) depending on `put-image'
3770 returning the string.
3771
3772 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3773
3774 * simple.el (zap-to-char): Allow zapping using input methods
3775 (bug#1580).
3776
3777 * textmodes/fill.el (fill-region): Leave point and mark where they
3778 were before filling (bug#5399).
3779
3780 2012-04-09 Glenn Morris <rgm@gnu.org>
3781
3782 * version.el (emacs-bzr-get-version):
3783 Handle lightweight checkouts of local branches.
3784
3785 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3786
3787 * international/characters.el: Recover lost case pairs. (Bug#11209)
3788
3789 2012-04-09 Chong Yidong <cyd@gnu.org>
3790
3791 * custom.el (custom-variable-p): Return nil for non-symbol
3792 arguments instead of signaling an error.
3793 (user-variable-p): Obsolete alias for custom-variable-p.
3794
3795 * apropos.el (apropos-variable):
3796 * files-x.el (read-file-local-variable):
3797 * simple.el (set-variable):
3798 * woman.el (woman-mini-help):
3799 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3800
3801 2012-04-09 Glenn Morris <rgm@gnu.org>
3802
3803 * startup.el (normal-top-level): Don't look for leim-list.el
3804 in places where it will not be found. (Bug#910)
3805
3806 * international/mule-cmds.el (set-default-coding-systems):
3807 * files.el (normal-mode):
3808 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3809 This function was removed with ucs-tables.el in 2008.
3810
3811 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3812
3813 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3814 ispell-encoding8-command to "-i", without a trailing space.
3815 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3816 separate command-line arguments, to specify the encoding, since
3817 that's how hunspell expects it.
3818
3819 2012-04-08 Glenn Morris <rgm@gnu.org>
3820
3821 * loadup.el: Load bindings before cus-start.
3822 This reduces somewhat the number of "rogue" settings in emacs -Q.
3823
3824 2012-04-07 Glenn Morris <rgm@gnu.org>
3825
3826 * version.el (emacs-bzr-get-version): New function.
3827 (emacs-bzr-version): New variable.
3828 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3829 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3830
3831 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3832
3833 * international/uni-bidi.el, international/uni-category.el:
3834 * international/uni-combining.el, international/uni-decimal.el:
3835 * international/uni-decomposition.el, international/uni-digit.el:
3836 * international/uni-lowercase.el, international/uni-mirrored.el:
3837 * international/uni-name.el, international/uni-numeric.el:
3838 * international/uni-titlecase.el, international/uni-uppercase.el:
3839 Update for Unicode 6.1.
3840
3841 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3842
3843 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3844
3845 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3846
3847 * window.el (shrink-window): Mention the `window-min-height'
3848 variable in the doc string.
3849
3850 2012-04-05 Bastien Guerry <bzg@altern.org>
3851
3852 * color.el (color-lighten-name): Fix typo.
3853
3854 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * server.el (server--on-display-p): New function.
3857 (server--on-display-p): Use it.
3858
3859 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3860
3861 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3862 (bug#11145).
3863
3864 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * comint.el (comint--common-quoted-suffix): Check string boundary
3867 before comparing (bug#11158).
3868 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3869
3870 2012-04-04 Chong Yidong <cyd@gnu.org>
3871
3872 * minibuffer.el (completion-extra-properties): Doc fix.
3873
3874 * subr.el (delayed-warnings-hook): Doc fix.
3875
3876 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3877
3878 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3879 selection (Bug#11159).
3880 (epa-insert-keys): Inform that the default public key will be
3881 exported if no key is selected.
3882
3883 2012-04-04 Richard Stallman <rms@gnu.org>
3884
3885 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3886
3887 2012-04-03 Chong Yidong <cyd@gnu.org>
3888
3889 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3890 mail-insert-file, not its obsolete alias mail-attach-file.
3891
3892 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3893
3894 * notifications.el (notifications-notify): Fix docstring.
3895
3896 2012-04-02 Glenn Morris <rgm@gnu.org>
3897
3898 * emacs-lisp/authors.el (authors-aliases): Another addition.
3899
3900 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3901
3902 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3903 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3904 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3905
3906 2012-04-01 Chong Yidong <cyd@gnu.org>
3907
3908 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3909 Handle root directory properly.
3910 (copy-directory): Caller changed.
3911
3912 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3913 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3914
3915 2012-03-31 Glenn Morris <rgm@gnu.org>
3916
3917 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3918
3919 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3920
3921 * calendar/calendar.el (calendar-window-list)
3922 (calendar-hide-window): Restore. (Bug#11140)
3923 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3924
3925 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3926
3927 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3928
3929 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3930 Check if file is a symlink (Bug#10489).
3931
3932 * files.el (copy-directory): Likewise.
3933
3934 2012-03-30 Chong Yidong <cyd@gnu.org>
3935
3936 * image.el (imagemagick-types-inhibit)
3937 (imagemagick-register-types): Doc fix.
3938
3939 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3940
3941 * ispell.el (ispell-get-extended-character-mode):
3942 Disable extended-char-mode for hunspell. hunspell does not support it
3943 and treats ~word as ordinary words in pipe mode.
3944
3945 2012-03-30 Glenn Morris <rgm@gnu.org>
3946
3947 * tutorial.el (help-with-tutorial): Ensure local variables don't
3948 happen to make the buffer read-only. (Bug#11127)
3949
3950 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3953 (perl-calculate-indent): Return `noindent' in strings.
3954
3955 2012-03-28 Sam Steingold <sds@gnu.org>
3956
3957 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3958 instead of the broken adhockery which does not prevent calendar
3959 buffers from being displayed at random after exit.
3960 (calendar-window-list, calendar-hide-window): Remove the broken
3961 adhockery.
3962
3963 2012-03-28 Glenn Morris <rgm@gnu.org>
3964
3965 * replace.el (query-replace-map): Doc fix.
3966
3967 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3968
3969 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3970 contents. (Bug#11109)
3971
3972 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3975 (bug#11077).
3976 (avl-tree--check, avl-tree--check-node): New funs.
3977
3978 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3979
3980 * window.el (switch-to-visible-buffer): New option.
3981 (switch-to-prev-buffer, switch-to-next-buffer):
3982 Observe switch-to-visible-buffer. Make sure that checking for a window
3983 showing a buffer already is done on the same frame.
3984
3985 2012-03-27 Glenn Morris <rgm@gnu.org>
3986
3987 * startup.el (mail-host-address): Doc fix.
3988
3989 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3992 than 197 variables.
3993
3994 2012-03-26 Ami Fischman <ami@fischman.org>
3995
3996 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3997
3998 2012-03-26 Glenn Morris <rgm@gnu.org>
3999
4000 * files.el (save-buffers-kill-emacs): Doc fix.
4001
4002 * startup.el (normal-top-level, command-line, command-line-1):
4003 Give them doc strings.
4004
4005 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4006
4007 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4008 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4009
4010 2012-03-25 Chong Yidong <cyd@gnu.org>
4011
4012 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4013 theme if it was previously enabled before (Bug#11031).
4014
4015 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4016 spec with custom-face-get-current-spec if its :shown-value is not
4017 determined yet (Bug#9337).
4018 (customize-create-theme, custom-theme-revert): Doc fixes.
4019
4020 * button.el (button-at): Minor addition to docstring.
4021
4022 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4023
4024 * vc/vc.el (vc-merge): Fix a prompt.
4025
4026 2012-03-24 Chong Yidong <cyd@gnu.org>
4027
4028 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4029 point (Bug#9623).
4030
4031 * button.el (button-at): Minor addition to docstring.
4032
4033 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * newcomment.el (comment-choose-indent): No space after BOL.
4036
4037 2012-03-22 Sam Steingold <sds@gnu.org>
4038
4039 * window.el (switch-to-prev-buffer): Revert last patch because the
4040 bug turned out to be an advertised feature (Elisp manual 28.14).
4041
4042 2012-03-22 Glenn Morris <rgm@gnu.org>
4043
4044 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4045 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4046
4047 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4048
4049 * net/network-stream.el (network-stream-open-starttls): Make error
4050 message under Windows be less misleading.
4051
4052 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4053
4054 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4055 understands (bug#9942).
4056
4057 2012-03-22 Chong Yidong <cyd@gnu.org>
4058
4059 * simple.el (end-of-visible-line): Handle return value of
4060 next-single-property-change properly (Bug#9371).
4061
4062 2012-03-22 Kenichi Handa <handa@m17n.org>
4063
4064 * international/quail.el (quail-insert-kbd-layout): Fix previous
4065 change. To avoid unwanted bidi reordering, use
4066 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4067
4068 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4069
4070 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4071 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4072 (ruby-beginning-of-indent): Be more careful with the difference
4073 between word-boundary and symbol boundary.
4074 (ruby-mode-syntax-table): Make : a symbol constituent.
4075
4076 2012-03-21 Andreas Politz <politza@fh-trier.de>
4077
4078 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4079
4080 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * progmodes/etags.el (tags-completion-at-point-function):
4083 Improve last fix.
4084
4085 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4086
4087 2012-03-21 Sam Steingold <sds@gnu.org>
4088
4089 * progmodes/etags.el (tags-completion-at-point-function):
4090 Avoid the error when point is inside the pattern.
4091
4092 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4093
4094 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4095 line (Bug#10855).
4096
4097 2012-03-21 Drew Adams <drew.adams@oracle.com>
4098
4099 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4100
4101 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4102
4103 * ido.el (ido-set-current-directory, ido-read-internal)
4104 (ido-choose-completion-string, ido-completion-help): Handle nil
4105 value of ido-completion-buffer (Bug#11008).
4106
4107 2012-03-21 Sam Steingold <sds@gnu.org>
4108
4109 * window.el (switch-to-prev-buffer): Do not switch to a visible
4110 window previous buffer, just like with the frame previous buffers.
4111
4112 2012-03-21 Chong Yidong <cyd@gnu.org>
4113
4114 * faces.el (make-face, make-empty-face, copy-face):
4115 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4116 Doc fixes.
4117
4118 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4121 (widget-complete): Remove broken use of it.
4122
4123 2012-03-20 Chong Yidong <cyd@gnu.org>
4124
4125 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4126 Use string-width and truncate-string-width to handle arbitrary
4127 characters.
4128
4129 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4130
4131 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4132 to draw rectangles, not squares. (Regression introduced by revno
4133 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4134
4135 2012-03-18 Chong Yidong <cyd@gnu.org>
4136
4137 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4138 it is not yet defined (for temacs).
4139
4140 2012-03-18 Leo Liu <sdl.web@gmail.com>
4141
4142 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4143
4144 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4145
4146 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4147 (ispell-choices-win-default-height, ispell-silently-savep)
4148 (ispell-dictionary-alist, ispell-encoding8-command)
4149 (ispell-check-version, ispell-aspell-find-dictionary)
4150 (ispell-valid-dictionary-list, ispell-words-keyword)
4151 (ispell-get-word, ispell-internal-change-dictionary)
4152 (ispell-region, ispell-skip-region-list)
4153 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4154 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4155 (ispell-message-text-end, ispell-message)
4156 (ispell-buffer-local-parsing): Doc fix.
4157
4158 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4159
4160 * htmlfontify.el: Add support for code block fontification for ODT
4161 export (Bug #9914).
4162 (hfy-optimisations): Define new option
4163 `body-text-only'
4164 (hfy-fontify-buffer): Honor above setting.
4165 (hfy-begin-span, hfy-end-span): New routines factored out form
4166 `hfy-fontify-buffer'.
4167 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4168 that permit insertion of custom tags.
4169 (hfy-fontify-buffer): Use above handlers.
4170 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4171 (hfy-face-to-css): Re-defined to be a variable.
4172 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4173 over multiple runs. This is made possible by having the caller let
4174 bind a special variable `hfy-user-sheet-assoc'.
4175 (htmlfontify-string): New defun.
4176 (hfy-compile-face-map): Make sure that the last char in the
4177 buffer is correctly fontified.
4178 (hfy-face-resolve-face): Whitespace only change.
4179
4180 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4181
4182 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4183 message more clear.
4184
4185 2012-03-16 Leo Liu <sdl.web@gmail.com>
4186
4187 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4188
4189 2012-03-16 Alan Mackenzie <acm@muc.de>
4190
4191 Further optimise the handling of large macros.
4192
4193 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4194 limit to a call of `c-literal-limits'.
4195 (c-determine-+ve-limit): New function.
4196 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4197 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4198 In CASE 5B, restrict a search limit to 500.
4199 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4200
4201 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4202 Restrict macro bounds to +-500 from after-change's BEG END.
4203
4204 2012-03-16 Leo Liu <sdl.web@gmail.com>
4205
4206 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4207
4208 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4209
4210 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4211 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4212
4213 2012-03-16 Glenn Morris <rgm@gnu.org>
4214
4215 * view.el (view-buffer, view-buffer-other-window)
4216 (view-buffer-other-frame): Doc fixes re special mode-class.
4217
4218 * subr.el (eval-after-load): If named feature is provided not from
4219 a file, run after-load forms. (Bug#10946)
4220
4221 * calendar/calendar.el (calendar-insert-at-column):
4222 Handle non-unit-width characters a bit better. (Bug#10978)
4223
4224 2012-03-15 Chong Yidong <cyd@gnu.org>
4225
4226 * emacs-lisp/ring.el (ring-extend): New function.
4227 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4228
4229 * comint.el (comint-read-input-ring)
4230 (comint-add-to-input-history): Grow comint-input-ring lazily.
4231
4232 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4235 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4236
4237 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4238 (imenu-add-to-menubar): Don't add a redundant index.
4239 (imenu-update-menubar): Handle a dynamically composed keymap.
4240
4241 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4242
4243 * mail/sendmail.el (mail-encode-header):
4244 Bind rfc2047-encode-encoded-words to nil.
4245
4246 2012-03-13 Glenn Morris <rgm@gnu.org>
4247
4248 * calendar/calendar.el (calendar-string-spread):
4249 Handle non-unit-width characters a bit better. (Bug#10978)
4250
4251 2012-03-13 Leo Liu <sdl.web@gmail.com>
4252
4253 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4254 directory and file as argument (Bug#10822).
4255
4256 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4257
4258 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4259 For dynamically generated code, follow $PC.
4260 (gdb-disassembly-handler-custom): Handle no function name case.
4261
4262 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4263
4264 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4265 * emulation/ws-mode.el (ws-query-replace):
4266 * sort.el (sort-regexp-fields):
4267 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4268
4269 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * dabbrev.el: Fix cycle completion order (bug#10963).
4272 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4273 (dabbrev-completion): Don't use an obarray; provide
4274 a cycle-sort-function.
4275
4276 2012-03-12 Leo Liu <sdl.web@gmail.com>
4277
4278 * simple.el (kill-new): Use equal-including-properties for comparison.
4279 (kill-do-not-save-duplicates): Doc fix.
4280
4281 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * dabbrev.el: Fix cycle completion (bug#10963).
4284 Use lexical binding and wrap to 80 columns.
4285 (dabbrev-completion): Delay computing the list of completions.
4286
4287 2012-03-12 Kenichi Handa <handa@m17n.org>
4288
4289 * international/quail.el (quail-insert-kbd-layout): Surround each
4290 row by LRO and PDF instead of inserting many LRMs. Pad the left
4291 and right of each non-spacing marks. Insert invisible space
4292 between lower and upper characters to prevent composition.
4293
4294 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4295
4296 * minibuffer.el (minibuffer-complete): Don't get confused when the
4297 function is run twice via different commands (bug#10958).
4298 (complete-with-action): Fix docstring.
4299
4300 2012-03-12 Chong Yidong <cyd@gnu.org>
4301
4302 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4303 (nxml-completion-at-point-function): New function.
4304 (nxml-mode): Use it.
4305 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4306
4307 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4308 Load generated autoloads file before byte compiling (Bug#10970).
4309 (package--make-autoloads-and-compile): New helper fun.
4310
4311 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4312
4313 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4314
4315 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * autorevert.el (auto-revert-handler): Ensure, that
4318 file-readable-p is applied only for local files or in
4319 auto-revert-tail-mode.
4320
4321 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4322
4323 * server.el (server-eval-at): Handle non-tcp connections.
4324 Decode result string.
4325
4326 * server.el (server-msg-size): New constant.
4327 (server-reply-print): New function.
4328 (server-eval-and-print): Use it.
4329 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4330 Handle -print-nonl.
4331
4332 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4333
4334 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4335 (Bug#10987).
4336
4337 2012-03-11 Chong Yidong <cyd@gnu.org>
4338
4339 * simple.el (goto-line): Doc fix (Bug#9938).
4340
4341 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4342
4343 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4344 when finished (Bug#10963).
4345
4346 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4347
4348 * window.el (split-window-below): Fix bug in case where
4349 split-window-keep-point is nil (Bug#10971).
4350
4351 2012-03-11 Juri Linkov <juri@jurta.org>
4352
4353 * replace.el (replace-highlight): Set isearch-word to nil
4354 unconditionally. (Bug#10887)
4355
4356 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4357
4358 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4359 mairix-replace-illegal-chars; all callers changed. Don't remove
4360 ^, ~, and = characters: they are meaningful in mairix search specs.
4361 (mairix-widget-create-query): Add usage information about mairix
4362 search forms: negating words, searching for substrings, etc.
4363
4364 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4365
4366 * international/fontset.el (font-encoding-alist): Add an entry for
4367 ksx1001 (Bug#5667).
4368
4369 2012-03-10 Richard Stallman <rms@gnu.org>
4370
4371 * mail/sendmail.el (mail-encode-header):
4372 Set rfc2047-encode-encoded-words.
4373
4374 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4375
4376 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4377 view buffer means not swapped.
4378 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4379 (rmail-write-region-annotate): Error if real text has disappeared.
4380
4381 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4382
4383 2012-03-10 Chong Yidong <cyd@gnu.org>
4384
4385 * emulation/cua-rect.el (cua--init-rectangles):
4386 * emulation/cua-base.el (cua--init-keymaps):
4387 Add delete-forward-char to remappings (Bug#9666).
4388
4389 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4390
4391 * speedbar.el (speedbar-unhighlight-one-tag-line):
4392 Avoid unhighlighting due to frame switching (Bug#10275).
4393
4394 2012-03-10 Chong Yidong <cyd@gnu.org>
4395
4396 * minibuffer.el (completion-in-region, completion-help-at-point):
4397 Give the completion field overlay a high priority (Bug#6830).
4398
4399 * dired.el (dired-goto-file): Recognize absolute file name
4400 listings (Bug#7126).
4401 (dired-goto-file-1): New helper function.
4402 (dired-toggle-read-only): Inhibit warnings.
4403
4404 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4405
4406 * net/dbus.el (dbus-property-handler): Return empty array if
4407 there are no properties.
4408
4409 2012-03-09 Leo Liu <sdl.web@gmail.com>
4410
4411 * savehist.el (savehist-printable): Stricter check for string
4412 value (Bug#10937).
4413
4414 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4415
4416 * mail/smtpmail.el (smtpmail-send-it):
4417 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4418 valid mbox format.
4419
4420 2012-03-09 Glenn Morris <rgm@gnu.org>
4421
4422 * files.el (dir-locals-find-file):
4423 Don't check result is regular, readable.
4424 (dir-locals-read-from-file): Demote errors.
4425
4426 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4427
4428 * international/quail.el (quail-insert-kbd-layout):
4429 Insert invisible LRM characters before each character in a keyboard
4430 layout cell, to prevent their reordering by bidi display engine.
4431 For details, see the discussion in
4432 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4433
4434 2012-03-08 Alan Mackenzie <acm@muc.de>
4435
4436 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4437 the starting position; make it extend the marked region when
4438 invoked repeatedly - all under appropriate circumstances.
4439 Fixes bugs #5525, #10906.
4440
4441 2012-03-08 Glenn Morris <rgm@gnu.org>
4442
4443 * files.el (locate-dominating-file, dir-locals-find-file):
4444 Undo 2012-03-06 change.
4445
4446 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4447
4448 * international/quail.el (quail-help):
4449 Force bidi-paragraph-direction be left-to-right. See discussion in
4450 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4451 for the reason.
4452
4453 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4454
4455 Avoid superfluous registering of signals. (Bug#10807)
4456
4457 * notifications.el (notifications-on-action-object)
4458 (notifications-on-close-object): New defvars.
4459 (notifications-on-action-signal, notifications-on-closed-signal):
4460 Unregister the signal if not needed any longer.
4461 (notifications-notify): Register `notifications-action-signal' or
4462 `notifications-closed-signal', if :on-action or :on-close has been
4463 passed as argument.
4464
4465 2012-03-07 Chong Yidong <cyd@gnu.org>
4466
4467 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4468 non-X platforms.
4469
4470 2012-03-06 Glenn Morris <rgm@gnu.org>
4471
4472 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4473 (x-disown-selection-internal, x-get-selection-internal):
4474 Doc fix (add arglist signatures). (Bug#10783)
4475
4476 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4477
4478 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4479 Handle breakpoints with no "type".
4480
4481 2012-03-06 Glenn Morris <rgm@gnu.org>
4482
4483 * files.el (locate-dominating-file): Add optional predicate argument.
4484 (dir-locals-find-file): Make use of above change.
4485
4486 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4487
4488 * info.el (Info-insert-dir): Also try "dir.gz".
4489
4490 2012-03-06 Glenn Morris <rgm@gnu.org>
4491
4492 * files.el (dir-locals-find-file):
4493 Ignore non-readable or non-regular files. (Bug#10928)
4494
4495 * files.el (locate-dominating-file): Doc fix.
4496
4497 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4498
4499 * calendar/calendar.el (calendar-set-mode-line):
4500 `getenv' returns a string. (Bug#10951)
4501
4502 2012-03-05 Leo Liu <sdl.web@gmail.com>
4503
4504 * simple.el (backward-delete-char-untabify): Constrain point to
4505 field (Bug#10939).
4506
4507 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4508
4509 2012-03-05 Chong Yidong <cyd@gnu.org>
4510
4511 * simple.el (count-words): If called from Lisp, return the word
4512 count, for symmetry with `count-lines'. Arglist changed.
4513 (count-words--message): Args changed. Consolidate counting code
4514 from count-words and count-words-region.
4515 (count-words-region): Caller changed.
4516 (count-lines-region): Make it an obsolete alias.
4517
4518 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4519
4520 * saveplace.el (save-place-to-alist)
4521 (save-place-ignore-files-regexp): Allow value nil to disable this
4522 feature.
4523
4524 2012-03-04 Chong Yidong <cyd@gnu.org>
4525
4526 * faces.el (face-spec-reset-face): For the default face, reset the
4527 attributes to default values (Bug#10748).
4528
4529 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4530
4531 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4532 previous patch: Check `message-send-mail-function', and not the
4533 default function (bug#10897).
4534
4535 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4536
4537 * notifications.el (notifications-on-action-signal)
4538 (notifications-on-closed-signal): Check for unique service name of
4539 incoming event. Fix error in removing entry.
4540 (top): Register for signals with wildcard service name.
4541 (notifications-notify): Use daemon unique service name for map entries.
4542
4543 2012-03-04 Chong Yidong <cyd@gnu.org>
4544
4545 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4546
4547 2012-03-04 Glenn Morris <rgm@gnu.org>
4548
4549 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4550 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4551 (expand-abbrev, define-abbrev-table): Doc fixes.
4552
4553 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4554
4555 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4556 `message-default-send-mail-function' and not `send-mail-function'
4557 when doing the prompting for `sendmail-query-once' before sending
4558 in Message buffers (bug#10897).
4559
4560 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4561 This is inconsistent with all the other stream functions, which leave
4562 the setting up to the higher levels (if so wanted) (bug#10931).
4563
4564 2012-03-02 Alan Mackenzie <acm@muc.de>
4565
4566 Depessimize the handling of very large macros.
4567
4568 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4569 (c-macro-cache-syntactic): New variables to implement a one
4570 element macro cache.
4571 (c-invalidate-macro-cache): New function.
4572 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4573 Adapt to use the new cache.
4574 (c-state-safe-place): Use better the cache of safe positions.
4575 (c-state-semi-nonlit-pos-cache)
4576 (c-state-semi-nonlit-pos-cache-limit):
4577 New variables for...
4578 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4579 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4580 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4581 Use c-state-semi-safe-place.
4582
4583 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4584 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4585
4586 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4587
4588 * jka-compr.el (jka-compr-call-process):
4589 Apply `file-accessible-directory-p' only when the default directory is
4590 not remote.
4591
4592 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4593
4594 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4595 access of FILE2, if FILE1 does not exist.
4596
4597 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4598 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4599
4600 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4601 Add "PAGER=" to `process-environment'.
4602
4603 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4604
4605 * progmodes/sql.el: Bug fix
4606 (sql-get-login-ext): Save login values in globals.
4607 (sql-get-login): Use new version of `sql-get-login-ext'.
4608 (sql-interactive-mode): Set global `sql-connection' to nil.
4609 (sql-connect): Set global values for connection.
4610 (sql-product-interactive): Save global values as buffer local.
4611
4612 2012-02-29 Leo Liu <sdl.web@gmail.com>
4613
4614 * abbrev.el (define-abbrevs): Reset sys to nil.
4615
4616 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4617
4618 * files.el (file-equal-p): Rename from `files-equal-p'.
4619 Return nil when one or both files don't exist.
4620 (file-subdir-of-p): Now only top directory must exists,
4621 return nil if it doesn't.
4622 (copy-directory): No need to test with `file-subdir-of-p' after
4623 creating dir.
4624 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4625 to `file-equal-p'.
4626
4627 2012-02-28 Glenn Morris <rgm@gnu.org>
4628
4629 * shell.el (shell-mode):
4630 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4631 * play/landmark.el (landmark-font-lock-face-O):
4632 * play/handwrite.el (handwrite):
4633 * play/gomoku.el (gomoku-O):
4634 * net/browse-url.el (browse-url-browser-display):
4635 * international/mule.el (define-charset):
4636 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4637 * filesets.el (filesets-find-file-delay):
4638 * eshell/em-xtra.el (eshell-xtra):
4639 * eshell/em-unix.el (eshell-grep):
4640 * emulation/viper.el (viper-mode):
4641 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4642 * emacs-lisp/easymenu.el (easy-menu-define):
4643 * calendar/timeclock.el (timeclock-use-display-time):
4644 * bs.el (bs-mode):
4645 * bookmark.el (bookmark-save-flag):
4646 Doc fix (standardize possessive apostrophe usage).
4647
4648 2012-02-27 Chong Yidong <cyd@gnu.org>
4649
4650 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4651 Fix key-binding lookup for ESC key (Bug#9146).
4652
4653 * font-lock.el (font-lock-specified-p): Rename from
4654 font-lock-spec-present. Callers changed.
4655
4656 2012-02-27 Daniel Hackney <dan@haxney.org>
4657
4658 * emacs-lisp/package.el (package-compute-transaction):
4659 Handle holding a package version to t in package-load-list.
4660
4661 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4662
4663 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4664 (tramp-get-inode, tramp-get-device): Use cached values.
4665
4666 2012-02-26 Alan Mackenzie <acm@muc.de>
4667
4668 Check there is a font-lock specification before doing initial
4669 fontification.
4670
4671 * font-core.el (font-lock-mode): Move the conditional from
4672 :after-hook to font-lock-initial-fontify.
4673 (font-lock-default-function): Move the check for a specification
4674 to font-lock-spec-present.
4675
4676 * font-lock.el (font-lock-initial-fontify): Call ...
4677 (font-lock-spec-present): New function.
4678
4679 2012-02-26 Jim Blandy <jimb@red-bean.com>
4680
4681 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4682 (gdb-send): Apply it to the operand of the '-interpreter-exec
4683 console' command, so that we can pass arguments with (say) quotes
4684 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4685
4686 2012-02-26 Chong Yidong <cyd@gnu.org>
4687
4688 * help-fns.el (describe-function-1): Clarify description of
4689 remapping (Bug#10844).
4690
4691 * files.el (files-equal-p): Doc fix.
4692 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4693 and quit the loop once a mismatch is found.
4694
4695 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4696
4697 * bs.el (bs--show-with-configuration): Don't throw an error
4698 if the window cannot be split; otherwise, subsequent calls to
4699 bs-show fail, restoring a stale window config. (Bug#10882)
4700
4701 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4702
4703 * term/ns-win.el (global-map): Bind ns-drag-file to
4704 ns-find-file (Bug#5855, Bug#10050).
4705
4706 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4707
4708 * calendar/parse-time.el (parse-time-string): Allow extractor to
4709 return nil.
4710
4711 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4712
4713 * net/tramp.el (tramp-file-name-for-operation):
4714 Add `files-equal-p' and `file-subdir-of-p'.
4715
4716 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4717 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4718 Add COPY-CONTENTS argument.
4719
4720 2012-02-25 Chong Yidong <cyd@gnu.org>
4721
4722 Add custom groups for VC backends, for consistency with vc-bzr.
4723
4724 * vc/vc-arch.el (vc-arch):
4725 * vc/vc-cvs.el (vc-cvs):
4726 * vc/vc-git.el (vc-git):
4727 * vc/vc-hg.el (vc-hg):
4728 * vc/vc-mtn.el (vc-mtn):
4729 * vc/vc-rcs.el (vc-rcs):
4730 * vc/vc-sccs.el (vc-sccs):
4731 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4732 All relevant defcustoms reassigned.
4733
4734 2012-02-25 Chong Yidong <cyd@gnu.org>
4735
4736 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4737
4738 * term/x-win.el (x-initialize-window-system): Reduce default for
4739 x-selection-timeout to 5 seconds (Bug#8869).
4740
4741 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4742
4743 * files.el (files-equal-p, file-subdir-of-p): New functions.
4744 (copy-directory): Error when trying to copy a directory on itself.
4745 Add missing copy-contents arg to tramp handler.
4746 * dired-aux.el (dired-copy-file-recursive): Same.
4747 (dired-create-files): Modify destination when source is equal to
4748 dest when copying files.
4749 Return also when dest is a subdir of source. (Bug#10489)
4750
4751 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4752
4753 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4754 (Bug#10874)
4755
4756 2012-02-23 Alan Mackenzie <acm@muc.de>
4757
4758 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4759 parameter "after-hook:" to allow the expansion to run code after
4760 the execution of the mode hooks.
4761
4762 * font-lock.el (font-lock-initial-fontify): New function extracted
4763 from font-lock-mode-internal.
4764
4765 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4766 :after-hook.
4767
4768 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4769
4770 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4771 (completion--cache-all-sorted-completions): New function.
4772 (completion-all-sorted-completions): Use it.
4773 (completion--do-completion, minibuffer-force-complete):
4774 Use it to re-instate the flush hook.
4775
4776 * icomplete.el (icomplete-completions): Replace last fix with a better
4777 one (bug#10850).
4778
4779 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4780
4781 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4782 when it might call us back infinitely (bug#10797).
4783
4784 2012-02-23 Glenn Morris <rgm@gnu.org>
4785
4786 * minibuffer.el (completion-category-overrides): Doc fix.
4787
4788 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4791 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4792
4793 2012-02-23 Glenn Morris <rgm@gnu.org>
4794
4795 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4796 (authors-obsolete-files-regexps, authors-ignored-files)
4797 (authors-ambiguous-files, authors-renamed-files-alist):
4798 Add more entries.
4799
4800 2012-02-23 Juri Linkov <juri@jurta.org>
4801
4802 * isearch.el (isearch-occur): Sync interactive spec with occur's
4803 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4804
4805 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4806
4807 2012-02-22 Juri Linkov <juri@jurta.org>
4808
4809 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4810 (ucs-insert): Doc fix. Check for hex digits in the string.
4811 Don't display `nil' in the error message. (Bug#10857)
4812
4813 2012-02-22 Alan Mackenzie <acm@muc.de>
4814
4815 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4816
4817 2012-02-22 Glenn Morris <rgm@gnu.org>
4818
4819 * ffap.el (ffap-c-path):
4820 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4821
4822 2012-02-22 Chong Yidong <cyd@gnu.org>
4823
4824 * custom.el (load-theme): Doc fix.
4825
4826 2012-02-22 Glenn Morris <rgm@gnu.org>
4827
4828 * dired-x.el (dired-guess-shell-alist-default):
4829 Remove escape sequences from nroff output. (Bug#172)
4830
4831 2012-02-21 Glenn Morris <rgm@gnu.org>
4832
4833 * vc/emerge.el (emerge-defvar-local):
4834 Set `permanent-local' property rather than unused `preserved'.
4835
4836 * textmodes/picture.el (picture-delete-char): New alias.
4837 (picture-mode-map): Use it. (Bug#10860)
4838 (picture-mode): Doc fix.
4839
4840 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4841
4842 * newcomment.el (uncomment-region-default): Remove unused binding.
4843
4844 2012-02-21 Glenn Morris <rgm@gnu.org>
4845
4846 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4847 (picture-self-insert, picture-tab-chars): Doc fix.
4848 (picture-mode-map): Fix C-a, C-e.
4849
4850 2012-02-20 Glenn Morris <rgm@gnu.org>
4851
4852 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4853
4854 2012-02-20 Leo Liu <sdl.web@gmail.com>
4855
4856 * icomplete.el (icomplete-completions): Check FROM arg before
4857 passing to substring (Bug#10850).
4858
4859 2012-02-19 Chong Yidong <cyd@gnu.org>
4860
4861 * comint.el: Require ansi-color.
4862 (comint-output-filter-functions): Add ansi-color-process-output.
4863
4864 * ansi-color.el: Don't set comint-output-filter-functions; it is
4865 now in the initial value defined in comint.el.
4866 (ansi-color-apply-face-function): New variable.
4867 (ansi-color-apply-on-region): Use it.
4868 (ansi-color-apply-overlay-face): New function.
4869
4870 * shell.el (shell): No need to require ansi-color.
4871 (shell-mode): Use ansi-color-apply-face-function to highlight
4872 color escapes using font-lock-face property (Bug#10835).
4873
4874 2012-02-19 Chong Yidong <cyd@gnu.org>
4875
4876 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4877 mode-line formats (Bug#10839).
4878
4879 2012-02-18 Glenn Morris <rgm@gnu.org>
4880
4881 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4882
4883 * mail/undigest.el (unforward-rmail-message): Doc fix.
4884
4885 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4886
4887 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4888
4889 * international/characters.el (script-list): Sync with the latest
4890 Unicode Character Database.
4891
4892 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4893
4894 * international/titdic-cnv.el: Remove duplicate coding tag.
4895 * language/cham.el: Likewise.
4896 * language/tai-viet.el: Likewise.
4897
4898 2012-02-18 Glenn Morris <rgm@gnu.org>
4899
4900 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4901 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4902 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4903 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4904 * calendar/holidays.el (holiday-bahai-holidays)
4905 (calendar-holidays, list-holidays):
4906 Use utf-8 Bahá'í in doc-strings, menus, etc.
4907
4908 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4909
4910 * saveplace.el (save-place-ignore-files-regexp): New variable
4911 allowing for excluding files from saving their location of point.
4912 The default value matches the temporary commit message editing
4913 files from Git, SVN, Bazaar, and Mercurial.
4914 (save-place-to-alist): Use it.
4915
4916 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4917 Stefan Monnier <monnier@iro.umontreal.ca>
4918
4919 * newcomment.el (uncomment-region-default): Don't leave extra space
4920 when an arg is provided (bug#8150).
4921
4922 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4923
4924 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4925
4926 2012-02-17 Glenn Morris <rgm@gnu.org>
4927
4928 * net/socks.el: Require network-stream. (Bug#10599)
4929
4930 2012-02-17 Kenichi Handa <handa@m17n.org>
4931
4932 * international/charprop.el:
4933 * international/uni-name.el:
4934 * international/uni-old-name.el:
4935 * international/uni-comment.el: Regenerate.
4936
4937 2012-02-16 Glenn Morris <rgm@gnu.org>
4938
4939 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4940 Interactively in calendar buffer, give an error if not on a date.
4941
4942 2012-02-15 Glenn Morris <rgm@gnu.org>
4943
4944 * shell.el (shell-delimiter-argument-list):
4945 Revert 2011-02-17 change. (Bug#8027)
4946
4947 2012-02-15 Chong Yidong <cyd@gnu.org>
4948
4949 * minibuffer.el (completion-at-point-functions): Doc fix.
4950
4951 * custom.el (defcustom): Doc fix; note use of defvar.
4952
4953 2012-02-15 Glenn Morris <rgm@gnu.org>
4954
4955 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4956 Doc fixes.
4957
4958 2012-02-14 Glenn Morris <rgm@gnu.org>
4959
4960 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4961
4962 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4963
4964 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4965 way the ports list is computed.
4966 (smtpmail-query-smtp-server): Prompt the user for a port number if
4967 we can't connect to any of the standard ports (bug#10810).
4968
4969 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4970
4971 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4972
4973 2012-02-13 Glenn Morris <rgm@gnu.org>
4974
4975 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4976
4977 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4978
4979 * net/gnutls.el (gnutls-trustfiles): New variable.
4980 (gnutls-negotiate): Use it.
4981
4982 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4983
4984 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4985 does its stuff if Gnus is running.
4986
4987 2012-02-13 Alan Mackenzie <acm@muc.de>
4988
4989 Fix a loop in c-set-fl-decl-start.
4990
4991 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4992 c-backward-syntactic-ws actually moves backwards.
4993
4994 2012-02-13 Leo Liu <sdl.web@gmail.com>
4995
4996 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4997 beginning so that all \C-o chars are removed.
4998
4999 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5000
5001 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5002
5003 2012-02-12 Alan Mackenzie <acm@muc.de>
5004
5005 Fix infinite loop with long macros.
5006 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5007
5008 2012-02-12 Chong Yidong <cyd@gnu.org>
5009
5010 * window.el (display-buffer): Doc fix (Bug#10785).
5011
5012 2012-02-12 Glenn Morris <rgm@gnu.org>
5013
5014 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5015 (x-disown-selection-internal, x-get-selection-internal):
5016 Sync docs with the xselect.c versions.
5017
5018 * allout-widgets.el: Add missing license notice.
5019
5020 2012-02-11 Glenn Morris <rgm@gnu.org>
5021
5022 * select.el (x-get-selection-internal, x-own-selection-internal)
5023 (x-disown-selection-internal):
5024 * x-dnd.el (x-get-selection-internal): Update declarations.
5025
5026 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5027
5028 * window.el (window-sides-slots):
5029 * tool-bar.el (tool-bar-position):
5030 * term/xterm.el (xterm-extra-capabilities):
5031 * ses.el (ses-self-reference-early-detection):
5032 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5033 (verilog-auto-wire-type)
5034 (verilog-auto-delete-trailing-whitespace)
5035 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5036 (verilog-auto-tieoff-declaration):
5037 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5038 (sql-oracle-statement-starters, sql-oracle-scan-on):
5039 * progmodes/prolog.el (prolog-align-comments-flag)
5040 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5041 (prolog-left-indent-regexp, prolog-paren-indent-p)
5042 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5043 (prolog-types, prolog-mode-specificators)
5044 (prolog-determinism-specificators, prolog-directives)
5045 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5046 (prolog-electric-dot-flag)
5047 (prolog-electric-dot-full-predicate-template)
5048 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5049 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5050 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5051 (prolog-program-switches, prolog-prompt-regexp)
5052 (prolog-debug-on-string, prolog-debug-off-string)
5053 (prolog-trace-on-string, prolog-trace-off-string)
5054 (prolog-zip-on-string, prolog-zip-off-string)
5055 (prolog-use-standard-consult-compile-method-flag)
5056 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5057 (prolog-imenu-max-lines, prolog-info-predicate-index)
5058 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5059 (prolog-char-quote-workaround):
5060 * progmodes/cc-vars.el (c-defun-tactic):
5061 * net/tramp.el (tramp-encoding-command-interactive)
5062 (tramp-local-end-of-line):
5063 * net/soap-client.el (soap-client):
5064 * net/netrc.el (netrc-file):
5065 * net/gnutls.el (gnutls):
5066 * minibuffer.el (completion-category-overrides)
5067 (completion-cycle-threshold)
5068 (completion-pcm-complete-word-inserts-delimiters):
5069 * man.el (Man-name-local-regexp):
5070 * mail/feedmail.el (feedmail-display-full-frame):
5071 * international/characters.el (glyphless-char-display-control):
5072 * eshell/em-ls.el (eshell-ls-date-format):
5073 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5074 (lisp-lambda-list-keyword-parameter-indentation)
5075 (lisp-lambda-list-keyword-parameter-alignment):
5076 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5077 * dired-x.el (dired-omit-verbose):
5078 * cus-theme.el (custom-theme-allow-multiple-selections):
5079 * calc/calc.el (calc-highlight-selections-with-faces)
5080 (calc-lu-field-reference, calc-lu-power-reference)
5081 (calc-note-threshold):
5082 * battery.el (battery-mode-line-limit):
5083 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5084 (archive-7z-update):
5085 * allout.el (allout-prefixed-keybindings)
5086 (allout-unprefixed-keybindings)
5087 (allout-inhibit-auto-fill-on-headline)
5088 (allout-flattened-numbering-abbreviation):
5089 * allout-widgets.el (allout-widgets-auto-activation)
5090 (allout-widgets-icons-dark-subdir)
5091 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5092 (allout-widgets-theme-dark-background)
5093 (allout-widgets-theme-light-background)
5094 (allout-widgets-item-image-properties-emacs)
5095 (allout-widgets-item-image-properties-xemacs)
5096 (allout-widgets-run-unit-tests-on-load)
5097 (allout-widgets-time-decoration-activity)
5098 (allout-widgets-hook-error-post-time)
5099 (allout-widgets-track-decoration):
5100 Add missing :version tags to new defcustoms and defgroups.
5101
5102 * progmodes/sql.el (sql-ansi-statement-starters)
5103 (sql-oracle-statement-starters): Add custom type.
5104
5105 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5106 (prolog-system-version): Give it a type.
5107
5108 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5109
5110 * term/pc-win.el (x-select-text, x-selection-owner-p)
5111 (x-own-selection-internal, x-disown-selection-internal)
5112 (x-get-selection-internal): Sync doc strings and argument lists
5113 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5114
5115 2012-02-11 Leo Liu <sdl.web@gmail.com>
5116
5117 * progmodes/python.el (python-end-of-statement): Fix infinite
5118 loop. (Bug#10788)
5119
5120 2012-02-10 Glenn Morris <rgm@gnu.org>
5121
5122 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5123 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5124
5125 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5126
5127 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5128 about SMTP before checking the From header.
5129
5130 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5131 into own function for reuse by emacsbug.el.
5132
5133 2012-02-10 Leo Liu <sdl.web@gmail.com>
5134
5135 * subr.el (condition-case-unless-debug): Rename from
5136 condition-case-no-debug. All callers changed.
5137 (with-demoted-errors): Fix caller.
5138
5139 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5140 * nxml/rng-valid.el (rng-do-some-validation):
5141 * emacs-lisp/package.el (package-refresh-contents)
5142 (package-menu-execute):
5143 * desktop.el (desktop-create-buffer):
5144 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5145
5146 2012-02-10 Glenn Morris <rgm@gnu.org>
5147
5148 * textmodes/bibtex.el:
5149 Add missing :version tags for new/changed defcustoms.
5150
5151 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5152
5153 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5154
5155 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5156 (smtpmail-via-smtp): Use it, or fall back on the From address.
5157 (smtpmail-send-it): Ditto.
5158
5159 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5162 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5163 (byte-compile-tmp-var): New const.
5164 (byte-compile-defvar): Use it to minimize .elc size.
5165 Just use `defvar' rather than simulate it (bug#10761).
5166
5167 2012-02-09 Glenn Morris <rgm@gnu.org>
5168
5169 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5170
5171 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5172 Add :version tags.
5173
5174 * progmodes/compile.el (compilation-error-screen-columns)
5175 (compilation-first-column, compilation-filter-start): Doc fixes.
5176
5177 * vc/log-view.el (log-view-toggle-entry-display):
5178 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5179
5180 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5181 (report-emacs-bug-can-use-xdg-email):
5182 (report-emacs-bug-insert-to-mailer): Doc fixes.
5183 (report-emacs-bug): Message fix.
5184
5185 * net/browse-url.el (browse-url-can-use-xdg-open)
5186 (browse-url-xdg-open): Doc fixes.
5187
5188 * electric.el (electric-indent-mode, electric-pair-mode)
5189 (electric-layout-rules, electric-layout-mode): Doc fixes.
5190 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5191
5192 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5193
5194 * server.el (server-unselect-display): Don't inadvertently kill
5195 the current buffer. (Bug#10729)
5196
5197 2012-02-08 Glenn Morris <rgm@gnu.org>
5198
5199 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5200 (sql-list-table): Doc fixes.
5201
5202 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5203 Comment out (does nothing).
5204
5205 * completion.el (dynamic-completion-mode):
5206 * dirtrack.el (dirtrack-debug-mode):
5207 * electric.el (electric-layout-mode):
5208 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5209 * face-remap.el (text-scale-mode, buffer-face-mode):
5210 * iimage.el (iimage-mode):
5211 * image-mode.el (image-transform-mode):
5212 * minibuffer.el (completion-in-region-mode):
5213 * scroll-lock.el (scroll-lock-mode):
5214 * simple.el (next-error-follow-minor-mode):
5215 * tar-mode.el (tar-subfile-mode):
5216 * tooltip.el (tooltip-mode):
5217 * vcursor.el (vcursor-use-vcursor-map):
5218 * wid-browse.el (widget-minor-mode):
5219 * emulation/tpu-edt.el (tpu-edt-mode):
5220 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5221 * international/iso-ascii.el (iso-ascii-mode):
5222 * language/thai-util.el (thai-word-mode):
5223 * mail/supercite.el (sc-minor-mode):
5224 * net/goto-addr.el (goto-address-mode):
5225 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5226 * progmodes/cwarn.el (cwarn-mode):
5227 * progmodes/flymake.el (flymake-mode):
5228 * progmodes/glasses.el (glasses-mode):
5229 * progmodes/hideshow.el (hs-minor-mode):
5230 * progmodes/pascal.el (pascal-outline-mode):
5231 * textmodes/enriched.el (enriched-mode):
5232 * vc/smerge-mode.el (smerge-mode):
5233 Doc fixes (minor mode argument).
5234
5235 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5236
5237 * ls-lisp.el (ls-lisp-sanitize): New function.
5238 (ls-lisp-insert-directory): Use it to fix or remove any elements
5239 in file-alist with missing attributes. (Bug#4673)
5240
5241 2012-02-07 Alan Mackenzie <acm@muc.de>
5242
5243 Fix spurious recognition of c-in-knr-argdecl.
5244
5245 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5246 putative K&R region.
5247
5248 2012-02-07 Alan Mackenzie <acm@muc.de>
5249
5250 * progmodes/cc-engine.el (c-forward-objc-directive):
5251 Prevent looping in "#pragma mark @implementation".
5252
5253 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5254
5255 * notifications.el (notifications-on-closed-signal): Make `reason'
5256 optional. (Bug#10744)
5257
5258 2012-02-07 Glenn Morris <rgm@gnu.org>
5259
5260 * emacs-lisp/easy-mmode.el (define-minor-mode):
5261 Doc fixes for the macro and the mode it defines.
5262
5263 * image.el (imagemagick-types-inhibit): Doc fix.
5264
5265 * cus-start.el (imagemagick-render-type): Add it.
5266
5267 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5268
5269 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5270 Set the default at load time, too, so that `font-lock-fontify-buffer'
5271 can be called without setting up the entire mode first. This fixes
5272 a bug in `mm-inline-text' with C MIME parts.
5273
5274 2012-02-06 Chong Yidong <cyd@gnu.org>
5275
5276 * simple.el (list-processes--refresh): Delete exited processes
5277 (Bug#8094).
5278
5279 * comint.el (comint-next-prompt): next-single-char-property-change
5280 and prev-single-char-property-change never return nil (Bug#8657).
5281
5282 * custom.el (defcustom): Doc fix (Bug#9711).
5283
5284 2012-02-05 Chong Yidong <cyd@gnu.org>
5285
5286 * cus-edit.el (custom-variable-reset-backup): Quote the value
5287 before storing it in the customized-value property (Bug#6712).
5288 (custom-display): Add a customization type tag.
5289 (custom-buffer-create-internal): Improve tooltip message.
5290
5291 * wid-edit.el (widget-field-value-get): New optional arg to
5292 suppress trailing whitespace truncation.
5293 (character): Use it (Bug#2689).
5294
5295 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5296
5297 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5298 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5299
5300 2012-02-05 Chong Yidong <cyd@gnu.org>
5301
5302 * cus-edit.el (custom-variable-value-create): For mismatched
5303 types, show the current value (Bug#7600).
5304
5305 * custom.el (defcustom): Doc fix.
5306
5307 2012-02-05 Glenn Morris <rgm@gnu.org>
5308
5309 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5310
5311 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5312
5313 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5314 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5315 (pp-last-sexp): Use `looking-at-p'.
5316
5317 2012-02-04 Glenn Morris <rgm@gnu.org>
5318
5319 * files.el (revert-buffer):
5320 Doc fix (mention revert-buffer-in-progress-p).
5321
5322 * emacs-lisp/ert-x.el (ert-simulate-command):
5323 Check deferred-action-list (which is obsolete) is bound.
5324
5325 * subr.el (with-wrapper-hook): Doc fixes.
5326
5327 * simple.el (filter-buffer-substring-functions)
5328 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5329
5330 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5331
5332 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5333 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5334
5335 2012-02-04 Leo Liu <sdl.web@gmail.com>
5336
5337 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5338
5339 2012-02-04 Glenn Morris <rgm@gnu.org>
5340
5341 * image.el (image-extension-data): Add obsolete alias.
5342
5343 * isearch.el (isearch-update): Doc fix.
5344
5345 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5346
5347 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5348
5349 2012-02-03 Glenn Morris <rgm@gnu.org>
5350
5351 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5352 (image-animate-timeout): Doc fix.
5353
5354 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5355
5356 2012-02-02 Glenn Morris <rgm@gnu.org>
5357
5358 * server.el (server-auth-dir): Doc fix.
5359 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5360
5361 * subr.el (run-mode-hooks): Doc fix.
5362
5363 2012-02-02 Juri Linkov <juri@jurta.org>
5364
5365 * image-mode.el (image-toggle-display-image): Remove tautological
5366 `major-mode' from the `derived-mode-p' test.
5367
5368 2012-02-02 Kenichi Handa <handa@m17n.org>
5369
5370 * composite.el (compose-region): Cancel previous change.
5371
5372 2012-02-02 Kenichi Handa <handa@m17n.org>
5373
5374 * composite.el (compose-region, compose-string): Signal error for
5375 a null string component (Bug#6988).
5376
5377 2012-02-01 Chong Yidong <cyd@gnu.org>
5378
5379 * view.el (view-buffer-other-window, view-buffer-other-frame):
5380 Handle special modes like view-buffer (Bug#10650).
5381 (view-buffer): Simplify.
5382
5383 * frame.el (set-frame-font): Tweak meaning of third argument.
5384
5385 * dynamic-setting.el (font-setting-change-default-font):
5386 Use set-frame-font (Bug#9982).
5387
5388 2012-02-01 Glenn Morris <rgm@gnu.org>
5389
5390 * progmodes/compile.el (compilation-internal-error-properties):
5391 Respect compilation-first-column in the "*compilation*" buffer.
5392
5393 * emacs-lisp/easy-mmode.el (define-minor-mode):
5394 Relax :variable's test for a named function.
5395
5396 2012-01-31 Alan Mackenzie <acm@muc.de>
5397
5398 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5399 off by one error.
5400
5401 2012-01-31 Chong Yidong <cyd@gnu.org>
5402
5403 * frame.el (set-frame-font): New arg ALL-FRAMES.
5404
5405 * menu-bar.el (menu-set-font): Use set-frame-font.
5406
5407 * faces.el (face-spec-reset-face): Don't apply unspecified
5408 attribute values to the default face.
5409
5410 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5411
5412 * progmodes/cwarn.el (cwarn): Remove dead link.
5413 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5414 Remove * from defcustom docstrings.
5415 (turn-on-cwarn-mode): Make obsolete.
5416 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5417 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5418
5419 2012-01-31 Glenn Morris <rgm@gnu.org>
5420
5421 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5422 Fix :variable handling of mode a symbol not equal to modefun.
5423 Allow named functions to be used as the cdr of :variable.
5424
5425 2012-01-30 Glenn Morris <rgm@gnu.org>
5426
5427 * emacs-lisp/authors.el (authors-fixed-entries):
5428 Remove reference to deleted file rnewspost.el.
5429
5430 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5431
5432 * window.el (window-with-parameter): Remove unused variable `windows'.
5433 (window--side-check): Remove unused variable `code'.
5434 (window--resize-siblings): Remove unused variable `first'.
5435 (adjust-window-trailing-edge): Remove unused variable `failed'.
5436 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5437 Use `let', not `let*'.
5438 (balance-windows-2): Remove unused variable `found'.
5439 (window--state-put-2): Remove unused variable `splits'.
5440 (window-state-put): Remove unused variable `selected'.
5441 (same-window-p): Use `string-match-p'.
5442 (display-buffer-assq-regexp): Remove unused variable `value'.
5443 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5444 Mark argument ALIST as ignored.
5445 (pop-to-buffer): Remove unused variable `old-window'.
5446
5447 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5448
5449 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5450 and .lzma compressed files.
5451
5452 2012-01-29 Chong Yidong <cyd@gnu.org>
5453
5454 * frame.el (window-system-default-frame-alist): Doc fix.
5455
5456 * dynamic-setting.el (font-setting-change-default-font): Don't
5457 change the default face if SET-FONT argument is non-nil (Bug#9982).
5458
5459 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5460
5461 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5462
5463 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5464
5465 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5466 breakpoints in files outside current directory (Bug#6098).
5467
5468 2012-01-29 Chong Yidong <cyd@gnu.org>
5469
5470 * progmodes/python.el: Require ansi-color at top-level.
5471
5472 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5473 Define and use in Emacs Lisp mode (Bug#9360).
5474 (lisp-mode-abbrev-table): Add doc.
5475 (lisp-mode-variables): Don't set local-abbrev-table.
5476 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5477
5478 2012-01-28 Roland Winkler <winkler@gnu.org>
5479
5480 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5481
5482 2012-01-28 Roland Winkler <winkler@gnu.org>
5483
5484 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5485 (bibtex-set-dialect): Use it. Either set global values of
5486 dialect-dependent variables or bind these variables buffer-locally
5487 (Bug#10254).
5488 (bibtex-mode): Call bibtex-set-dialect via
5489 hack-local-variables-hook.
5490 (bibtex-dialect): Update docstring.
5491 Add safe-local-variable predicate.
5492 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5493 bibtex-set-dialect.
5494 (bibtex-mode-map): Define menu for each dialect.
5495 (bibtex-entry): Fix docstring.
5496
5497 2012-01-28 Chong Yidong <cyd@gnu.org>
5498
5499 * eshell/esh-arg.el (eshell-quote-argument): New function.
5500
5501 * eshell/esh-ext.el (eshell-invoke-batch-file):
5502 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5503 first arg to eshell-parse-command (Bug#10523).
5504
5505 2012-01-28 Drew Adams <drew.adams@oracle.com>
5506
5507 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5508 `default-directory' is non-nil.
5509
5510 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5511
5512 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5513 line that displays system-configuration-options. (Bug#9924)
5514
5515 2012-01-28 Drew Adams <drew.adams@oracle.com>
5516
5517 * descr-text.el (describe-char): Show information about POS, in
5518 addition to information about the character at POS. Improve and
5519 update the doc string. Change "code point" to "code point in
5520 charset", to avoid confusion with the character's Unicode code
5521 point shown above that. (Bug#10129)
5522
5523 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5524
5525 * descr-text.el (describe-char): Show the raw character, not only
5526 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5527 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5528 for the reasons.
5529
5530 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5531
5532 * emacs-lisp/package.el (package-install):
5533 Run package-refresh-contents if there is no archive yet (Bug#9798).
5534
5535 2012-01-28 Chong Yidong <cyd@gnu.org>
5536
5537 * emacs-lisp/package.el (package-maybe-load-descriptor):
5538 New function, split from package-maybe-load-descriptor.
5539 (package-maybe-load-descriptor): Use it.
5540 (package-download-transaction): Fully load required packages
5541 inside the loop, so that `require' calls work (Bug#10593).
5542 (package-install): No need to call package-initialize now.
5543
5544 2012-01-28 Chong Yidong <cyd@gnu.org>
5545
5546 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5547
5548 * tooltip.el (tooltip-mode): Doc fix.
5549 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5550
5551 * frame.el (set-cursor-color): Doc fix (Bug#352).
5552
5553 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5554 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5555
5556 * cus-edit.el (custom-buffer-create-internal): Fix search button
5557 action (Bug#10542).
5558 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5559
5560 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5561
5562 * dired.el (dired-mark-files-regexp):
5563 Include any subdirectory components. (Bug#10445)
5564
5565 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5566
5567 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5568 Handle [host]:port syntax. (Bug#10533)
5569
5570 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5571
5572 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5573
5574 2012-01-26 Glenn Morris <rgm@gnu.org>
5575
5576 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5577 * term.el (term-raw-escape-map): Use Control-X-prefix.
5578 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5579
5580 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5581
5582 * window.el (window-state-get, window--state-get-1): Don't deal
5583 with fixed-sizeness of windows. Simplify code.
5584
5585 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5586
5587 * window.el (window--state-get-1, window--state-put-2):
5588 Don't save and restore the mark.
5589
5590 2012-01-25 Chong Yidong <cyd@gnu.org>
5591
5592 * custom.el (custom-variable-p): Doc fix.
5593
5594 2012-01-25 Glenn Morris <rgm@gnu.org>
5595
5596 * dired.el (dired-goto-file): Handle some of the more common
5597 characters that `ls -b' escapes. (Bug#10596)
5598
5599 * progmodes/compile.el (compilation-next-error-function):
5600 Respect compilation-first-column in the "*compilation*" buffer.
5601 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5602
5603 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5604
5605 2012-01-24 Glenn Morris <rgm@gnu.org>
5606
5607 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5608
5609 2012-01-24 Julien Danjou <julien@danjou.info>
5610
5611 * color.el (color-rgb-to-hsl): Fix value computing.
5612 (color-hue-to-rgb): New function.
5613 (color-hsl-to-rgb): New function.
5614 (color-clamp, color-saturate-hsl, color-saturate-name)
5615 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5616 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5617
5618 2012-01-24 Glenn Morris <rgm@gnu.org>
5619
5620 * vc/vc-rcs.el (vc-rcs-create-tag):
5621 * vc/vc-sccs.el (vc-sccs-create-tag):
5622 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5623
5624 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5625
5626 * eshell/esh-util.el (eshell-read-hosts-file):
5627 Skip comment lines. (Bug#10549)
5628
5629 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5630
5631 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5632
5633 * subr.el (display-delayed-warnings): Doc fix.
5634 (collapse-delayed-warnings): New function to collapse identical
5635 adjacent warnings.
5636 (delayed-warnings-hook): Add it.
5637
5638 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5639
5640 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5641
5642 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5643 (tramp-default-user-alist): Don't add "pscp".
5644 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5645 property "login-as", if set. (Bug#10530)
5646
5647 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5648
5649 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5650 "plink1" and "psftp". (Bug#10530)
5651
5652 2012-01-21 Kenichi Handa <handa@m17n.org>
5653
5654 * international/mule-cmds.el (prefer-coding-system): Show a
5655 warning message if the default value of file-name-coding-system
5656 was not changed.
5657
5658 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5659
5660 * windmove.el (windmove-reference-loc):
5661 Fix windmove-reference-loc miscalculation.
5662
5663 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5664
5665 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5666 default unit.
5667
5668 2012-01-21 Glenn Morris <rgm@gnu.org>
5669
5670 * international/mule.el (auto-coding-alist): Add .tbz.
5671
5672 * files.el (local-enable-local-variables): Doc fix.
5673 (inhibit-local-variables-regexps): Rename from
5674 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5675 Doc fix. Add some extensions from auto-coding-alist.
5676 (inhibit-local-variables-suffixes):
5677 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5678 (inhibit-local-variables-p):
5679 New function, extracted from set-auto-mode-1.
5680 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5681 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5682 (hack-local-variables): Doc fix. Make the mode-only case
5683 respect enable-local-variables and friends.
5684 Respect inhibit-local-variables-regexps for file-locals, but
5685 not for directory-locals.
5686 (set-visited-file-name):
5687 Take account of inhibit-local-variables-regexps.
5688 Whether it applies may change as the file name is changed.
5689 * jka-cmpr-hook.el (jka-compr-install):
5690 * jka-compr.el (jka-compr-uninstall):
5691 Update for inhibit-first-line-modes-suffixes name change.
5692
5693 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5694
5695 * help-macro.el (make-help-screen): Temporarily restore original
5696 binding for minor-mode-map-alist (Bug#10454).
5697
5698 2012-01-19 Julien Danjou <julien@danjou.info>
5699
5700 * color.el (color-name-to-rgb): Use the white color to find the max
5701 color component value and return correctly computed values.
5702 (color-name-to-rgb): Add missing float conversion for max value.
5703
5704 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5705
5706 * window.el (window--state-get-1, window-state-get): Do not use
5707 special state value for window-persistent-parameters.
5708 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5709 (window--state-put-2): Reset all window parameters to nil before
5710 assigning values of persistent parameters.
5711
5712 2012-01-18 Alan Mackenzie <acm@muc.de>
5713
5714 Eliminate sluggishness and hangs in fontification of "semicolon
5715 deserts".
5716
5717 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5718 Change value 10000 -> 3000.
5719 (c-state-safe-place): Reformulate so it doesn't stack up an
5720 infinite number of wrong entries in c-state-nonlit-pos-cache.
5721 (c-determine-limit-get-base, c-determine-limit): New functions to
5722 determine backward search limits disregarding literals.
5723 (c-find-decl-spots): Amend commenting.
5724 (c-cheap-inside-bracelist-p): New function which detects "={".
5725
5726 * progmodes/cc-fonts.el
5727 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5728 backward search.
5729 (c-font-lock-declarations): Fix an occurrence of point being
5730 undefined. Check additionally for point being in a bracelist or
5731 near a macro invocation without a semicolon so as to avoid a
5732 fruitless time consuming search for a declarator. Give a more
5733 precise search limit for declarators using the new
5734 c-determine-limit.
5735
5736 2012-01-18 Glenn Morris <rgm@gnu.org>
5737
5738 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5739 (set-auto-mode): Doc fixes.
5740
5741 2012-01-17 Glenn Morris <rgm@gnu.org>
5742
5743 * isearch.el (search-nonincremental-instead): Fix doc typo.
5744
5745 * dired.el (dired-insert-directory): Handle newlines in directory name.
5746 (dired-build-subdir-alist): Unescape newlines in directory name.
5747
5748 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5749
5750 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5751 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5752 (tramp-action-terminal): Use it. (Bug#10530)
5753
5754 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5757
5758 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5759
5760 * window.el (window-state-ignored-parameters): Remove variable.
5761 (window--state-get-1): Rename argument MARKERS to IGNORE.
5762 Handle persistent window parameters. Make copy of clone-of
5763 parameter only if requested. (Bug#10348)
5764 (window--state-put-2): Install a window parameter only if it has
5765 a non-nil value or an existing parameter shall be overwritten.
5766
5767 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5768
5769 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5770
5771 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5772
5773 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5774 don't pass the (nil) value of `upnode' to string-match.
5775
5776 2012-01-14 Chong Yidong <cyd@gnu.org>
5777
5778 * startup.el (command-line): Fix X resource class for cursorColor.
5779 Fix values recognized by the cursorBlink resource.
5780
5781 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5782
5783 * epg.el (epg--make-temp-file): Avoid permission race condition
5784 when running on old Emacs versions (bug#10403).
5785
5786 2012-01-14 Glenn Morris <rgm@gnu.org>
5787
5788 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5789
5790 2012-01-13 Alan Mackenzie <acm@muc.de>
5791
5792 Fix filling for when filladapt mode is enabled.
5793
5794 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5795 c-mask-paragraph, pass in `fill-paragraph' rather than
5796 `fill-region-as-paragraph'. (This is a reversion of a previous
5797 change.)
5798 * progmodes/cc-mode.el (c-basic-common-init):
5799 Make fill-paragraph-handle-comment buffer local and set it to nil.
5800
5801 2012-01-13 Glenn Morris <rgm@gnu.org>
5802
5803 * dired.el (dired-switches-escape-p): New function.
5804 (dired-insert-directory): Use dired-switches-escape-p.
5805 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5806
5807 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5808
5809 2012-01-12 Glenn Morris <rgm@gnu.org>
5810
5811 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5812 changes in adaptive-fill-regexp. (Bug#10276)
5813
5814 2012-01-11 Alan Mackenzie <acm@muc.de>
5815
5816 Fix Emacs bug #10463 - put `widen's around the critical spots.
5817
5818 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5819 widen around each invocation of c-state-pp-to-literal. Remove an
5820 unused let variable.
5821
5822 2012-01-11 Glenn Morris <rgm@gnu.org>
5823
5824 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5825 Doc fix.
5826
5827 2012-01-10 Chong Yidong <cyd@gnu.org>
5828
5829 * net/network-stream.el (network-stream-open-starttls):
5830 Avoid emitting a confusing error message when the server gives a bad
5831 response to the capability command.
5832
5833 2012-01-10 Glenn Morris <rgm@gnu.org>
5834
5835 * mail/unrmail.el (unrmail): Tweak previous change.
5836
5837 2012-01-09 Chong Yidong <cyd@gnu.org>
5838
5839 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5840
5841 2012-01-08 Alan Mackenzie <acm@muc.de>
5842
5843 Optimise font locking in long enum definitions.
5844
5845 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5846 arm to a cond form to handle enums.
5847 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5848 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5849
5850 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5851
5852 * files.el (move-file-to-trash): Preserve default file modes on error.
5853 (Bug#10401)
5854
5855 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5856
5857 * faces.el (set-face-attribute): Clarify the meaning of the nil
5858 frame (bug#10294).
5859
5860 * subr.el (with-selected-frame): Mention that the selected frame
5861 is restored (bug#9980).
5862
5863 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5864 (bug#9759).
5865
5866 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5867 (password-read): Don't autoload unused function.
5868
5869 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5870
5871 * progmodes/which-func.el (which-func-mode): Turn into a
5872 non-interactive function and mark as obsolete (bug#10428).
5873
5874 2012-01-06 Chong Yidong <cyd@gnu.org>
5875
5876 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5877 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5878 functions, along with 1 and -1.
5879
5880 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5881
5882 * time.el (display-time-load-average)
5883 (display-time-default-load-average): Doc fixes. See the thread
5884 starting at
5885 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5886 for the details.
5887
5888 2012-01-06 Glenn Morris <rgm@gnu.org>
5889
5890 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5891 has no messages. (Bug#10377)
5892
5893 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5894 than Info-edit. (Bug#10385)
5895
5896 * time.el (display-time-load-average, display-time-next-load-average):
5897 Doc fixes.
5898
5899 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5900 local setting of buffer-read-only to the input buffer. (Bug#10419)
5901
5902 * calendar/calendar.el (calendar-mode):
5903 Locally set scroll-margin to 0. (Bug#10379)
5904
5905 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5906
5907 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5908
5909 2012-01-05 Glenn Morris <rgm@gnu.org>
5910
5911 * eshell/em-unix.el (diff-no-select): Autoload it.
5912 (eshell/diff): Use diff-no-select. (Bug#10420)
5913
5914 2012-01-05 Chong Yidong <cyd@gnu.org>
5915
5916 * shell.el (shell-dynamic-complete-functions): Revert last change.
5917 (shell-command-completion-function): New function.
5918 (shell-completion-vars): Use it to implement
5919 shell-completion-execonly (Bug#10417).
5920
5921 * custom.el (enable-theme): Don't set custom-safe-themes.
5922
5923 * cus-theme.el (custom-theme-merge-theme):
5924 Ignore custom-enabled-themes and custom-safe-themes.
5925
5926 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5927
5928 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5929 first prompt in `sql-interacive-mode'.
5930 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5931 keywords.
5932 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5933 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5934 context of original buffer. Invoke `sql-login-hook'.
5935
5936 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5937
5938 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5939 letters in cite-prefix.
5940
5941 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5942
5943 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5944
5945 2012-01-03 Chong Yidong <cyd@gnu.org>
5946
5947 * shell.el (shell-dynamic-complete-functions):
5948 Put pcomplete-completions-at-point, so as to try
5949 comint-filename-completion first (Bug#10417).
5950
5951 2012-01-02 Richard Stallman <rms@gnu.org>
5952
5953 * battery.el (battery-status-function):
5954 Detect when to use battery-yeeloong-sysfs.
5955 (battery-echo-area-format): Add string for Yeeloong.
5956 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5957 (battery-yeeloong-sysfs): New function.
5958
5959 2012-01-02 Chong Yidong <cyd@gnu.org>
5960
5961 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5962 (dirtrack): Merge code for handling relative filenames in prompt
5963 from shell-dir-cookie-watcher.
5964 (dirtrack-debug-message): New arg to avoid excess format calls.
5965
5966 * shell.el (shell-dir-cookie-re): Variable deleted.
5967 (shell-dir-cookie-watcher): Function deleted.
5968 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5969 with dirtrack-mode.
5970
5971 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5972
5973 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5974 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5975 libgnutls-26.dll.
5976
5977 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5978
5979 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5980
5981 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5982
5983 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5984 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5985
5986 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5987
5988 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5989 also for alternative shells.
5990 (tramp-open-connection-setup-interactive-shell): Check, whether
5991 the shell is a busybox.
5992 (tramp-send-command): Don't suppress multiple prompts for
5993 busyboxes, it hurts.
5994
5995 2011-12-28 Chong Yidong <cyd@gnu.org>
5996
5997 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5998 (gdb-get-source-file): Move mode line update to
5999 gdb-get-source-file (Bug#10087).
6000
6001 2011-12-25 Chong Yidong <cyd@gnu.org>
6002
6003 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6004 gud-gdb-marker-filter without taking it as an argument.
6005 (gud-gdb-run-command-fetch-lines): Caller changed.
6006 (gud-gdb-completion-function): New variable.
6007 (gud-gdb-completion-at-point): Use it.
6008 (gud-gdb-completions-1): Split from gud-gdb-completions.
6009
6010 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6011 function as separate arguments.
6012 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6013 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6014 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6015 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6016 (gdb-stopped, def-gdb-auto-update-trigger)
6017 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6018 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6019 Callers changed.
6020 (gud-gdbmi-completions): New function.
6021 (gdb): Use it for generating the completion table.
6022
6023 2011-12-24 Alan Mackenzie <acm@muc.de>
6024
6025 Introduce a mechanism to widen the region used in context font
6026 locking. Use this to protect declarations from losing their contexts.
6027
6028 * progmodes/cc-langs.el (c-before-font-lock-functions):
6029 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6030 (c-before-context-fontification-functions): New defvar, a list of
6031 functions to be run just before context (etc.) font locking.
6032
6033 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6034 New, functionality extracted from
6035 c-neutralize-syntax-in-and-mark-CPP.
6036 (c-in-after-change-fontification): New variable.
6037 (c-after-change): Set c-in-after-change-fontification.
6038 (c-set-fl-decl-start): Rejig its interface, so it can be called
6039 from both after-change and context fontifying.
6040 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6041 New functions.
6042 (c-standard-font-lock-fontify-region-function): New variable.
6043 (c-font-lock-fontify-region): New function.
6044
6045 2011-12-24 Juri Linkov <juri@jurta.org>
6046
6047 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6048 (Bug#10348)
6049
6050 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6051
6052 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6053 existence of source file. (Bug#10325)
6054
6055 2011-12-23 Alan Mackenzie <acm@muc.de>
6056
6057 Fix unstable fontification inside templates.
6058
6059 * progmodes/cc-langs.el (c-before-font-lock-functions):
6060 Newly created from the singular version. The (c c++ objc) entry now
6061 additionally has c-set-fl-decl-start. The other languages (apart
6062 from AWK) have that as a single entry.
6063
6064 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6065 The functionality for "local" declarations has been extracted to
6066 c-set-fl-decl-start.
6067
6068 * progmodes/cc-mode.el (c-common-init, c-after-change):
6069 Changes due to pluralisation of c-before-font-lock-functions.
6070 (c-set-fl-decl-start): New function, extracted from
6071 c-font-lock-enclosing-decls and enhanced.
6072
6073 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6074
6075 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6076
6077 2011-12-22 Juri Linkov <juri@jurta.org>
6078
6079 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6080
6081 2011-12-22 Chong Yidong <cyd@gnu.org>
6082
6083 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6084
6085 2011-12-21 Drew Adams <drew.adams@oracle.com>
6086
6087 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6088
6089 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6090
6091 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6092
6093 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6094
6095 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6096 highlighting and support. Fix up comments for capitalization.
6097 (cfengine-mode-debug): New var.
6098 (cfengine3-mode): Change the modeline indicator to "CFE3".
6099 (cfengine3-font-lock-keywords): Improve defun highlighting.
6100 (cfengine2-actions): Rename from `cfengine-actions'.
6101 (cfengine2-font-lock-keywords): Rename from
6102 `cfengine-font-lock-keywords'.
6103 (cfengine2-imenu-expression): Rename from
6104 `cfengine-imenu-expression'.
6105 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6106 (cfengine2-beginning-of-defun): Rename from
6107 `cfengine-beginning-of-defun'.
6108 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6109 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6110 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6111 modeline indicator to "CFE2".
6112 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6113 (cfengine-mode-abbrevs): Mark obsolete.
6114
6115 2011-12-21 Chong Yidong <cyd@gnu.org>
6116
6117 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6118 filename argument.
6119
6120 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6121
6122 * window.el (window-normalize-buffer-to-display): Remove.
6123 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6124
6125 2011-12-19 Chong Yidong <cyd@gnu.org>
6126
6127 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6128 Don't signal an error in a predicate function; return non-nil.
6129 (vc-dir-mark-file): Move the error here.
6130 (vc-dir-mark-unmark): If acting on the region, keep going if one
6131 of the entries cannot be marked/unmarked.
6132 (vc-dir-mark-all-files): If current entry is a directory, mark
6133 only child files, as documented.
6134
6135 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6136
6137 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6138 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6139 addition.
6140
6141 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6142
6143 * term/ns-win.el (ns-get-selection-internal)
6144 (ns-store-selection-internal): Declare.
6145 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6146 Declare as obsolete.
6147 (ns-get-pasteboard, ns-paste-secondary):
6148 Use ns-get-selection-internal.
6149 (ns-set-pasteboard, ns-copy-including-secondary):
6150 Use ns-store-selection-internal.
6151
6152 2011-12-17 Chong Yidong <cyd@gnu.org>
6153
6154 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6155 (vc-deduce-fileset): Doc fix.
6156
6157 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6158
6159 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6160
6161 2011-12-13 Sam Steingold <sds@gnu.org>
6162
6163 * man.el (Man-getpage-in-background): When running under a
6164 window-system, ignore $MANWIDTH and $COLUMNS.
6165
6166 2011-12-15 Kenichi Handa <handa@m17n.org>
6167
6168 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6169 (setup-ethiopic-environment-internal): Comment out key-binding for
6170 ethio-toggle-punctuation.
6171
6172 2011-12-13 Alan Mackenzie <acm@muc.de>
6173
6174 Add the switch statement to AWK Mode.
6175
6176 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6177 "default" to the keywords regexp.
6178
6179 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6180 expression as the rest.
6181 (c-nonlabel-token-key): Allow string literals for AWK.
6182 Refactor for the other modes.
6183
6184 Large brace-block initialisation makes CC Mode slow: Fix.
6185 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6186 routines. Limit backward searching in c-font-lock-enclosing.decl.
6187
6188 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6189 pp-state and literal type in addition to the limits.
6190 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6191 (c-state-literal-at): Use the above new defun.
6192 (c-slow-in-literal, c-fast-in-literal): Remove.
6193 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6194
6195 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6196 being in a literal. Add a limit for backward searching.
6197
6198 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6199 c-slow-in-literal.
6200
6201 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6204
6205 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6206
6207 * window.el (delete-other-windows): Use correct frame in call to
6208 window-with-parameter.
6209
6210 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6211
6212 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6213 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6214 (makefile-gmake-statements, makefile-makepp-statements):
6215 Use it and add new makepp keywords.
6216 (makefile-makepp-font-lock-keywords): Add new patterns.
6217 (makefile-match-function-end): Match new [...] and [[...]].
6218
6219 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6220
6221 * ses.el (ses-call-printer-return, ses-cell-property-get)
6222 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6223 (ses-create-cell-variable, ses-reset-header-string)
6224 (ses-cell-set-formula, ses-repair-cell-reference-all)
6225 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6226 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6227 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6228 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6229 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6230 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6231 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6232 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6233 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6234 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6235 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6236 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6237
6238 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6239
6240 * ses.el: The overall change is to add cell renaming, that is
6241 setting fancy names for cell symbols other than name matching
6242 "\\`[A-Z]+[0-9]+\\'" regexp .
6243 (ses-create-cell-variable): New defun.
6244 (ses-relocate-formula): Relocate formulas only for cells the
6245 symbols of which are not renamed, i.e. symbols whose names do not
6246 match regexp "\\`[A-Z]+[0-9]+\\'".
6247 (ses-relocate-all): Relocate values only for cells the symbols of
6248 which are not renamed.
6249 (ses-load): Create cells variables as the (ses-cell ...) are read,
6250 in order to check row col consistency with cell symbol name only
6251 for cells that are not renamed.
6252 (ses-replace-name-in-formula): New defun.
6253 (ses-rename-cell): New defun.
6254
6255 2011-12-11 Chong Yidong <cyd@gnu.org>
6256
6257 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6258 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6259
6260 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6261
6262 * window.el (other-window): Fix docstring.
6263
6264 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6265
6266 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6267 `from' or `to' address before taking its substring.
6268 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6269 encoded name is chopped in the middle of the encoded string, and
6270 thus displayed encoded.
6271
6272 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6273
6274 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6275
6276 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6277
6278 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6279 to use texinfo-update-node and commands that call it if the
6280 Texinfo file uses @node lines without next/prev/up pointers.
6281 Correct outdated description about texinfo-master-menu.
6282 (texinfo-all-menus-update, texinfo-master-menu)
6283 (texinfo-update-node, texinfo-every-node-update)
6284 (texinfo-multiple-files-update): Doc fix. Warn against updating
6285 all the @node lines.
6286 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6287 argument is numeric. Explain better in the doc string what the
6288 function really does.
6289 (texinfo-insert-master-menu-list): Improve the error message
6290 displayed if there's no menu in the Top node.
6291 (Bug#2975) See also this thread:
6292 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6293
6294 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6295
6296 * speedbar.el (speedbar-supported-extension-expressions):
6297 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6298
6299 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6300
6301 * printing.el (pr-mode-alist):
6302 * simple.el (filter-buffer-substring-functions)
6303 (completion-list-insert-choice-function):
6304 * window.el (window-with-parameter, window-atom-root)
6305 (window-sides-slots, window-size-fixed, window-min-delta)
6306 (window-max-delta, window--resize-mini-window)
6307 (window--resize-child-windows-normal, window-tree)
6308 (delete-other-windows, quit-window, split-window)
6309 (display-buffer-record-window, special-display-buffer-names)
6310 (special-display-regexps, special-display-popup-frame)
6311 (same-window-p, split-window-sensibly)
6312 (display-buffer-overriding-action, display-buffer-alist)
6313 (display-buffer-base-action, display-buffer, switch-to-buffer)
6314 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6315 (fit-window-to-buffer, recenter-positions)
6316 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6317 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6318 and remove unneeded backslashes in docstrings.
6319
6320 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6323
6324 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6325 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6326 end in ".mk".
6327 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6328 when reading the makefile (bug#10116).
6329
6330 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6333 (bug#10116).
6334
6335 2011-12-06 Glenn Morris <rgm@gnu.org>
6336
6337 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6338
6339 2011-12-06 Chong Yidong <cyd@gnu.org>
6340
6341 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6342
6343 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6344
6345 * textmodes/table.el (table-shorten-cell): Fix typo.
6346
6347 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6348
6349 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6350
6351 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6352
6353 * descr-text.el (describe-char): Fix display of strong
6354 right-to-left characters and directional embeddings and overrides.
6355
6356 * simple.el (what-cursor-position): Fix display of codepoints of
6357 strong right-to-left characters.
6358
6359 2011-12-05 Chong Yidong <cyd@gnu.org>
6360
6361 * faces.el (read-color): Doc fix.
6362
6363 2011-12-05 Glenn Morris <rgm@gnu.org>
6364
6365 * align.el (align--set-marker): Add doc-string.
6366 Don't try to move something that is not a marker. (Bug#10216)
6367
6368 2011-12-04 Glenn Morris <rgm@gnu.org>
6369
6370 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6371 overly zealous deletion of trailing whitespace.
6372
6373 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6374
6375 * server.el (server-delete-client): On Windows, do not try to delete
6376 the only terminal.
6377 (server-process-filter): On Windows, treat requests for a tty frame as
6378 if they were for a GUI frame if the running server is in GUI mode.
6379
6380 2011-12-03 Glenn Morris <rgm@gnu.org>
6381
6382 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6383
6384 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * electric.el: Streamline electric-indent's hook.
6387 (electric-indent-chars): Revert to simple list.
6388 (electric-indent-functions): New var.
6389 (electric-indent-post-self-insert-function): Use it.
6390
6391 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6392 there's no inferior buffer (bug#10196).
6393 (prolog-consult-compile): Don't use toggle-read-only.
6394
6395 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6396
6397 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6398 interrupt. (Bug#10187)
6399
6400 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6403 (bug#9160).
6404
6405 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6406 (bug#10191).
6407
6408 2011-12-02 Juri Linkov <juri@jurta.org>
6409
6410 * info.el (Info-search): Display "end of manual" when Isearch
6411 reaches the end of single-file Info manual. (Bug#9918)
6412
6413 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6414
6415 * isearch.el (isearch-message-prefix): Run the input method part
6416 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6417
6418 2011-12-02 Juri Linkov <juri@jurta.org>
6419
6420 * isearch.el (isearch-occur): Use `word-search-regexp' for
6421 `isearch-word'.
6422 (isearch-search-and-update): Add condition for `isearch-word' and
6423 call `word-search-regexp'. (Bug#10145)
6424
6425 2011-12-01 Glenn Morris <rgm@gnu.org>
6426
6427 * eshell/em-hist.el (eshell-hist-initialize):
6428 Handle eshell-history-size nil and HISTSIZE set or unset.
6429 (eshell-history-file-name, eshell-history-size): Fix custom type.
6430
6431 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6434
6435 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6436
6437 * progmodes/verilog-mode.el (verilog-pretty-expr):
6438 Rework verilog-pretty-expr to handle new assignment operators in system
6439 verilog, such as += *= and the like.
6440 (verilog-assignment-operator-re): Regular expression to find the
6441 assigment operator in a verilog assignment.
6442 (verilog-assignment-operation-re): Regular expression to find an
6443 assignment statement for pretty-expr.
6444 (verilog-in-attribute-p): Query returns true if point is in an
6445 attribute context; used to skip these for expression line up from
6446 pretty-expr.
6447 (verilog-in-parameter-p): Query returns true if point is in an
6448 parameter definition context; used to skip these for expression
6449 line up from pretty-expr.
6450 (verilog-in-parenthesis-p): Query returns true if point is in a
6451 parenthetical expression, specifically ( ) but not [ ] or { };
6452 used by pretty-expr.
6453 (verilog-just-one-space): If there is no space, don't add one.
6454 (verilog-get-lineup-indent-2): Specifically skip just attribute
6455 contexts for expression lineup, rather than skipping all
6456 parenthetical expressions.
6457 (verilog-calculate-indent): Fix comment, and fix indent.
6458 (verilog-do-indent): Indent declarations in lists (suggested by
6459 Joachim Lechner).
6460 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6461 skeleton items.
6462 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6463 by Alain Mellan).
6464
6465 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6466
6467 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6468 parameters with embedded comments. Reported by Ray Stevens.
6469 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6470 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6471 Reported by Tim Holt.
6472 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6473 instantiated by upper module causing wrong expansion until AUTOed a
6474 second time. Reported by K C Buckenmaier.
6475 (verilog-diff-auto): Fix showing .* as a difference when
6476 `verilog-auto-star-save' off. Reported by Dan Dever.
6477 (verilog-auto-reset, verilog-read-always-signals)
6478 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6479 temporary signals in reset list if
6480 verilog-auto-reset-blocking-in-non is nil, and match assignment
6481 style to each signal's assignment type, bug381.
6482 Reported by Thomas Esposito.
6483 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6484 (verilog-uvm-statement-re): Support UVM indentation and
6485 highlighting, with old OVM keywords only.
6486 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6487 Support AUTOTIEOFF creating non-wire data types.
6488 Suggested by Jonathan Greenlaw.
6489 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6490 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6491 (verilog-inject-sense, verilog-read-inst-pins)
6492 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6493 Fix mismatching parenthesis inside commented out code when deleting
6494 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6495 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6496 non-numeric vector width. Reported by Alex Reed.
6497 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6498 detecting signals with parameter widths. Reported by Alex Reed.
6499 (verilog-auto-delete-trailing-whitespace):
6500 With `verilog-auto-delete-trailing-whitespace' remove trailing
6501 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6502 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6503 Fix verilog-scan-cache corruption when running user AUTO expansion
6504 hooks that call indentation routines.
6505 (verilog-simplify-range-expression): Fix typo ignoring lower case
6506 identifiers.
6507 (verilog-delete-auto): Fix delete-autos to also remove user created
6508 automatics, as long as they start with AUTO.
6509 (verilog-batch-diff-auto, verilog-diff-auto)
6510 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6511 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6512 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6513 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6514 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6515 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6516 is disabled and its cache will get corrupt, causing AUTOS not to
6517 expand. Instead use only -quick functions.
6518 (verilog-scan-region): Fix scanning over escaped quotes.
6519 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6520 (verilog-re-search-backward-quick)
6521 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6522 related functions now ignore strings, to fix misparsing of strings
6523 with magic comments embedded in them.
6524 (verilog-read-auto-template):
6525 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6526 Reported by Brad Dobbie.
6527 (verilog-read-auto-template):
6528 Fix 'verilog-auto-inst-template-numbers' with comments.
6529 Reported by Brad Dobbie.
6530 (verilog-auto-inst, verilog-auto-inst-param)
6531 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6532 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6533 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6534 debugging templates without merge conflicts, bug357.
6535 Reported by Brad Dobbie.
6536 (verilog-read-auto-template):
6537 Fix verilog-auto-inst-template-numbers with multiple templates.
6538 Reported by Brad Dobbie.
6539 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6540 abbrevs so user won't be asked to save.
6541 (verilog-read-auto-lisp-present): Fix to start at beginning of
6542 buffer in case called outside of verilog-auto.
6543 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6544 to "X-2". Reported by Matthew Myers.
6545 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6546 all inputs from module templates. Reported by Leith Johnson.
6547 (verilog-module-inside-filename-p): Fix locating programs as with
6548 modules.
6549 (verilog-auto-inst-port): Fix vl-width expressions when using
6550 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6551 (verilog-decls-get-regs, verilog-decls-get-signals,
6552 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6553 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6554 verilog-read-decls): Combine reg and wire structures into one var
6555 structure to represent SystemVerilog concepts.
6556 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6557 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6558 (verilog-auto-wire-type, verilog-insert-definition):
6559 Add verilog-auto-wire-type and AUTOLOGIC to support using
6560 SystemVerilog "logic" keyword instead of "wire"/"reg".
6561 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6562 to declares outputs that also have assignments (presumably in an
6563 ifdef or generate if so there's not a driver conflict).
6564 Reported by Matthew Myers.
6565 (verilog-auto-declare-nettype, verilog-insert-definition):
6566 Add verilog-auto-declare-nettype to fix declarations using
6567 `default_nettype none. Reported by Julian Gorfajn.
6568 (verilog-read-always-signals-recurse, verilog-read-decls)
6569 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6570 malformed end statement, bug325. Reported by Joshua Wise and
6571 Andrew Drake.
6572 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6573 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6574 when expanding .* in interfaces, bug320.
6575 Reported by Pierre-David Pfister.
6576 (verilog-read-module-name): Fix import statements between module
6577 name and open parenthesis, bug317.
6578 Reported by Pierre-David Pfister.
6579 (verilog-simplify-range-expression): Fix simplification of
6580 multiplications inside AUTOWIRE connections, bug303.
6581 (verilog-auto-inst-port): Support parameter expansion in
6582 multidimensional arrays.
6583 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6584 after "assert property". Reported by Julian Gorfajn.
6585 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6586 with multiplication, bug303.
6587 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6588 Reported by Jan Frode Lonnum.
6589
6590 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6591
6592 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6593 (hfy-shell-file-name, hfy-shell):
6594 * international/fontset.el (x-decompose-font-name): Fix typos.
6595
6596 2011-11-29 Ken Brown <kbrown@cornell.edu>
6597
6598 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6599 (gdb-version): Remove defvar.
6600 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6601 (gdb-gud-context-command, gdb-non-stop-handler)
6602 (gdb-current-context-command, gdb-stopped): Use it.
6603 (gdb-init-1): Enable pretty printing here.
6604 (gdb-non-stop-handler): Don't enable pretty-printing here.
6605 Check to see if the target supports non-stop mode; if not, turn off
6606 non-stop mode. Use the following.
6607 (gdb-check-target-async): New defun.
6608 (gud-watch, gdb-stopped): Fix whitespace.
6609 (gdb-get-source-file): Don't try to display the source file if
6610 `gdb-main-file' is nil.
6611
6612 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * align.el: Try to generate fewer markers (bug#10047).
6615 (align--set-marker): New macro.
6616 (align-region): Use it.
6617
6618 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6619
6620 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6621
6622 2011-11-29 Chong Yidong <cyd@gnu.org>
6623
6624 * indent.el (indent-for-tab-command, indent-according-to-mode):
6625 Doc fix.
6626 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6627
6628 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6629
6630 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6631 aware of remote file names. (Bug#10124)
6632
6633 2011-11-29 Chong Yidong <cyd@gnu.org>
6634
6635 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6636
6637 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * files.el (find-file): Don't use force-same-window (bug#10144).
6640 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6641 use pop-to-buffer if the selected window can't be used.
6642 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6643
6644 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6645
6646 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6647 special-mode-map.
6648
6649 2011-11-28 Chong Yidong <cyd@gnu.org>
6650
6651 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6652
6653 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6654
6655 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6656 gdb-get-source-file-list on gdb-create-source-file-list.
6657
6658 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6659
6660 * whitespace.el (whitespace-newline): Use a different foreground
6661 color for 16-color light-background displays.
6662
6663 2011-11-24 Chong Yidong <cyd@gnu.org>
6664
6665 * window.el (display-buffer--special-action): Doc fix.
6666
6667 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6668
6669 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6670 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6671 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6672 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6673 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6674 (avl-tree-stack-first):
6675 * emacs-lisp/cconv.el (cconv--analyse-use):
6676 * net/gnutls.el (gnutls-negotiate): Fix typos.
6677
6678 2011-11-24 Glenn Morris <rgm@gnu.org>
6679
6680 * lpr.el (lpr-windows-system, lpr-lp-system):
6681 * mail/binhex.el (binhex-begin-line):
6682 * progmodes/grep.el (grep-history, grep-find-history):
6683 * textmodes/flyspell.el:
6684 * vc/pcvs-defs.el (cvs-global-menu):
6685 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6686 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6687 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6688
6689 * net/tls.el: Fix case of "GnuTLS".
6690
6691 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6692
6693 * version.el (emacs-build-system): Give it a doc-string.
6694
6695 2011-11-24 Juri Linkov <juri@jurta.org>
6696
6697 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6698
6699 2011-11-24 Glenn Morris <rgm@gnu.org>
6700
6701 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6702 if called on a non-mime message just toggle the headers. (Bug#8006)
6703
6704 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6705
6706 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6707 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6708 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6709 (allout-rebullet-heading, allout-open-sibtopic)
6710 (allout-toggle-current-subtree-encryption)
6711 (allout-toggle-subtree-encryption, allout-encrypt-string)
6712 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6713 (allout-distinctive-bullets-string, allout-auto-activation):
6714 * window.el (window-normalize-buffer-to-display):
6715 * progmodes/verilog-mode.el (verilog-batch-indent):
6716 * textmodes/bibtex.el (bibtex-field-braces-opt)
6717 (bibtex-field-strings-opt):
6718 * vc/cvs-status.el (cvs-tree-merge):
6719 Fix typos.
6720
6721 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6722
6723 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6724 `non-essential' to t, in order to avoid remote connections.
6725
6726 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6727
6728 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6729 On MS-DOS and MS-Windows, compare with loaddefs.el
6730 case-insensitively.
6731
6732 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6733
6734 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6735
6736 2011-11-23 Glenn Morris <rgm@gnu.org>
6737
6738 * paths.el (rmail-file-name): Reformat the doc-string so that it
6739 is picked up.
6740
6741 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6742 (rmail-auto-file): Ignore case in the "special" field names,
6743 as mail-fetch-field does for all others.
6744
6745 * mail/rmail.el (rmail-forward):
6746 * mail/rmailkwd.el (rmail-set-label):
6747 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6748 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6749
6750 * mail/rmail.el (rmail-current-message): Doc fix.
6751
6752 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6753
6754 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6757
6758 2011-11-22 Glenn Morris <rgm@gnu.org>
6759
6760 * mail/rmailmm.el (test-rmail-mime-handler)
6761 (test-rmail-mime-bulk-handler)
6762 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6763
6764 2011-11-21 Juri Linkov <juri@jurta.org>
6765
6766 * calc/calc.el (calc-read-key-sequence):
6767 Let-bind `input-method-function' to nil. (Bug#10018)
6768
6769 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6770
6771 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6772 Tell the caller that the next line needs recomputation, even
6773 though it doesn't start a sexp (bug#10094).
6774
6775 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6778
6779 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6782 Use force-same-window.
6783
6784 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6785
6786 * descr-text.el (describe-char-unicode-data):
6787 * json.el (json-string-escape):
6788 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6789 (Footnote-unicode, Footnote-style-p):
6790 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6791
6792 2011-11-20 Chong Yidong <cyd@gnu.org>
6793
6794 * window.el (replace-buffer-in-windows): Restore interactive spec.
6795
6796 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6799
6800 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6801 (byte-compile-global-not-obsolete-vars): New var.
6802 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6803 Use it.
6804 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6805
6806 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6807
6808 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6809 * progmodes/pascal.el (electric-pascal-equal):
6810 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6811 * xml.el (xml-substitute-special): Fix typos.
6812
6813 2011-11-20 Glenn Morris <rgm@gnu.org>
6814
6815 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6816 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6817 Doc fixes.
6818 (rmail-decode-mime-charset): Mark as obsolete.
6819
6820 * mail/rmailsum.el (rmail-message-regexp-p-1):
6821 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6822 Before using mime functions, check they are set. (Bug#10077)
6823
6824 2011-11-19 Juri Linkov <juri@jurta.org>
6825
6826 * info.el (Info-finder-find-node): Use `package--builtins' instead
6827 of `package-alist'. Use node names formed by the pattern "Keyword "
6828 and the keyword name.
6829
6830 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6831
6832 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6833
6834 2011-11-19 Juri Linkov <juri@jurta.org>
6835
6836 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6837 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6838 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6839 `old-history', `old-history-forward'. Add let-binding
6840 `window-selected'. Remove calls to `kill-buffer',
6841 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6842 before calling `Info-find-node', so `Info-find-node-2' will reread
6843 the Info file. Restore window positions only when `window-selected'
6844 is non-nil.
6845
6846 2011-11-19 Juri Linkov <juri@jurta.org>
6847
6848 * isearch.el (isearch-lazy-highlight-new-loop):
6849 Remove condition `(not isearch-error)'. (Bug#9918)
6850
6851 * misearch.el (multi-isearch-search-fun): Add condition
6852 `(not bound)' to ignore lazy-highlighting search.
6853 Add the search-failed message "end of multi" when the end of
6854 multi-sequence is reached. Uncapitalize the search-failed
6855 message "Repeat for next buffer".
6856
6857 * info.el (Info-search): Add the search-failed message
6858 "end of the manual" when the end of the manual is reached
6859 in Isearch mode.
6860
6861 2011-11-19 Juri Linkov <juri@jurta.org>
6862
6863 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6864 Use non-destructive `remove' instead of `delete' because
6865 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6866 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6867
6868 2011-11-19 Juri Linkov <juri@jurta.org>
6869
6870 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6871 to nil instead of binding `search-ring' and `regexp-search-ring'.
6872 (Bug#9185)
6873
6874 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6875
6876 * simple.el (line-move): Force movement by logical lines for any
6877 hscrolled window, not only when auto-hscroll-mode is on.
6878 (line-move-visual): Update doc string to that effect. (Bug#10076)
6879
6880 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6881
6882 * language/european.el (macintosh): Define as alias for mac-roman.
6883
6884 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6885
6886 * mail/rmailmm.el (rmail-mime-display-header)
6887 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6888 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6889 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6890 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6891 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6892 of a raw aref.
6893 (rmail-mime-entity-segment): To get past the tagline, move forward
6894 2 more lines, to account for the 2 empty lines that precede and
6895 follow the line with the buttons.
6896 (rmail-mime-update-tagline): Move one more line, to get past the
6897 empty line that follows the buttons in the tagline. (Bug#9520)
6898
6899 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6900
6901 * window.el (window-max-delta-1, window-min-delta-1)
6902 (window-min-size-1, window-state-get-1, window-state-put-1)
6903 (window-state-put-2): Use "window--" prefix.
6904
6905 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6906
6907 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6908 (smie-warning-count): New var.
6909 (smie-set-prec2tab): Use it.
6910 (smie-bnf->prec2): Improve warnings. Add docstring.
6911 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6912 (smie-bnf--set-class): New function.
6913 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6914 corner case.
6915
6916 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6917 (compilation-error-properties, compilation-move-to-column):
6918 Handle compilation-first-column while in the target buffer.
6919
6920 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6921 Don't hardcode point-min==1.
6922
6923 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6924 (eshell-rewrite-for-command): Remove workaround.
6925 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6926 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6927 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6928
6929 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6930
6931 2011-11-17 Glenn Morris <rgm@gnu.org>
6932
6933 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6934 Ignore buffer-local generated-autoload-file if it is the same
6935 as the global value. (Bug#10049)
6936
6937 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6938
6939 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6940 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6941 (reftex-toc-previous-heading, reftex-toc-max-level)
6942 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6943 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6944 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6945 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6946 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6947 (reftex-toc-rename-label, reftex-toc-visit-location)
6948 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6949 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6950 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6951 leaving "*toc*" only for references to the buffer.
6952
6953 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6954
6955 * window.el (window-resize, delete-window, split-window):
6956 Replace window-splits by window-combination-resize.
6957 * cus-start.el (window-splits): Replace by window-combination-resize.
6958
6959 2011-11-17 Glenn Morris <rgm@gnu.org>
6960
6961 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6962 Make bash entry derive from sh entry, not shell entry.
6963
6964 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6965
6966 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6967 local file name.
6968
6969 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6970
6971 * menu-bar.el (menu-bar-file-menu):
6972 * printing.el (pr-ps-utility):
6973 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6974 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6975 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6976 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6977 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6978 (icalendar--convert-cyclic-to-ical)
6979 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6980 (icalendar--convert-ical-to-diary)
6981 (icalendar--convert-recurring-to-diary)
6982 (icalendar--convert-non-recurring-all-day-to-diary)
6983 (icalendar-import-format-sample):
6984 * progmodes/idlw-shell.el (idlwave-shell-mode):
6985 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6986 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6987 (vhdl-ps-print-init): Fix typos.
6988
6989 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6990
6991 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6992 FSF and collapse date sequence, obscure author/maintainer email address
6993 better, remove extra version line, track relocation of author's webpage.
6994
6995 * progmodes/python.el (python-pdbtrack-input-prompt)
6996 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6997 regular python pdb prompts. Adjustments shamelessly taken exactly as
6998 suggested in EmacsWiki page (tiny change):
6999 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7000
7001 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7002
7003 * expand.el (expand-pos, expand-index, expand-point):
7004 Remove redundant info from docstring.
7005 (expand-add-abbrevs): Doc fix.
7006 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7007 (expand-sample-perl-mode-expand-list): Fix typos.
7008
7009 * net/dbus.el (dbus-event-member-name):
7010 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7011 * term/pc-win.el (msdos-create-frame-with-faces):
7012 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7013
7014 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7015
7016 * window.el (split-window, window-state-get-1)
7017 (window-state-put-1, window-state-put-2): Rename occurrences of
7018 window-nest to window-combination-limit.
7019 * cus-start.el (window-nest): Rename to window-combination-limit.
7020
7021 2011-11-16 Chong Yidong <cyd@gnu.org>
7022
7023 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7024 regexp (Bug#10033).
7025
7026 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7027
7028 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7029 `completing-read' will remove *Completions* and will preserve
7030 current-buffer for us.
7031 (tmm-add-prompt): Users of *Completions* will always (re)set its
7032 major mode.
7033 (tmm-old-comp-map): Remove.
7034
7035 2011-11-16 Glenn Morris <rgm@gnu.org>
7036
7037 * mail/rmailedit.el: Require rmailmm when compiling.
7038 (rmail-old-mime-state): New declaration.
7039 (rmail-edit-current-message): If editing a mime message,
7040 edit the "raw" message from the mbox buffer.
7041 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7042
7043 2011-11-15 Glenn Morris <rgm@gnu.org>
7044
7045 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7046 which wasn't being used. Add optional arg to force given state.
7047 (rmail-mime): Add optional arg to force given state.
7048
7049 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7050
7051 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7052 * frame.el (display-mm-dimensions-alist):
7053 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7054 (outline-move-subtree-down):
7055 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7056 (newsticker--treeview-do-get-node):
7057 * net/quickurl.el (quickurl-list-buffer-name):
7058 * progmodes/dcl-mode.el (dcl-mode):
7059 * progmodes/gdb-mi.el (gdb-mapcar*):
7060 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7061
7062 2011-11-15 Glenn Morris <rgm@gnu.org>
7063
7064 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7065 in a boolean sense, so just make it a boolean, and fix the doc.
7066 (rmail-show-mime-function, rmail-mime-feature)
7067 (rmail-require-mime-maybe): Doc fixes.
7068 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7069
7070 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7071
7072 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7073
7074 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7075 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7076 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7077 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7078
7079 2011-11-15 Glenn Morris <rgm@gnu.org>
7080
7081 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7082 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7083 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7084 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7085 (rmail-mime, rmail-show-mime): Doc fixes.
7086
7087 * term/ns-win.el (mode-line-frame-identification):
7088 Leave it alone. (Bug#10051)
7089
7090 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7091
7092 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7093 Handle empty buffers. (Bug#9978)
7094
7095 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7096
7097 * international/mule.el (define-charset):
7098 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7099 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7100 * progmodes/verilog-mode.el (verilog-backward-token):
7101 * textmodes/ispell.el (lookup-words):
7102 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7103
7104 2011-11-14 Glenn Morris <rgm@gnu.org>
7105
7106 * progmodes/executable.el
7107 (executable-make-buffer-file-executable-if-script-p):
7108 Handle file-modes returning nil.
7109
7110 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7111 message - not necessary, and causes problems. (Bug#9831)
7112
7113 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7114
7115 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7116
7117 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7118 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7119 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7120
7121 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7122
7123 * window.el (window-resize, delete-window): Use window-splits
7124 variable instead of function.
7125 (window-state-get-1, window-state-put-2, window-state-put):
7126 Don't deal with windows' splits status.
7127
7128 2011-11-12 Glenn Morris <rgm@gnu.org>
7129
7130 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7131 (apropos-documentation): Doc fixes.
7132
7133 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7136 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7137
7138 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * electric.el (electric-indent-post-self-insert-function): Make it
7141 possible for a char to only indent in some circumstances.
7142 (electric-indent-mode): Simplify.
7143
7144 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7145
7146 * window.el (windows-with-parameter): Remove unused function.
7147 (windows-at-side): Rename to window-at-side-list.
7148 (window-check, window-atom-check, window-atom-check-1)
7149 (window-side-check, window-size-ignore, window-size-fixed-1)
7150 (window-in-direction-2): Prefix with "window--".
7151 (window-tree-1): Rename to window--subtree, fix doc-string.
7152
7153 2011-11-11 Glenn Morris <rgm@gnu.org>
7154
7155 * subr.el (eval-after-load): If FILE is already loaded,
7156 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7157
7158 2011-11-10 Glenn Morris <rgm@gnu.org>
7159
7160 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7161 Call svn via vc-svn-command rather than vc-do-command.
7162 (vc-svn-command): Add --non-interactive. (Bug#9993)
7163 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7164
7165 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7166 Add toggle-read-only. (Bug#7292)
7167 * files.el (toggle-read-only): Mention that it should only
7168 be used interactively. (Bug#10006)
7169
7170 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7171
7172 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7173 Adjust regexp for OCaml warnings.
7174
7175 * electric.el (electric-pair-post-self-insert-function): Let user
7176 turn it off buffer-locally (bug#9932).
7177
7178 * progmodes/python.el (python-beginning-of-statement):
7179 Rewrite (bug#2703).
7180
7181 * progmodes/compile.el: Better handle TABs (bug#9749).
7182 (compilation-internal-error-properties)
7183 (compilation-next-error-function): Obey the target buffer's
7184 compilation-error-screen-columns.
7185
7186 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7187
7188 * progmodes/meta-mode.el: Remove obsolete comments.
7189 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7190 Fix typos in docstrings.
7191
7192 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7193
7194 * window.el (window-size-fixed-p): Rewrite doc-string.
7195 (window-resizable-p): Rename to window--resizable-p. Update callers.
7196 (window--resizable): New function. Make all callers of
7197 window-resizable call window--resizable instead.
7198 (window-resizable): Rewrite in terms of window--resizable.
7199
7200 2011-11-08 Glenn Morris <rgm@gnu.org>
7201
7202 * progmodes/delphi.el (delphi-mode-syntax-table):
7203 Let define-derived-mode define a proper syntax table. (Bug#9994)
7204
7205 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * window.el: Stay away from defsubst.
7208 (window-list-no-nils): Remove.
7209 (window-state-get-1, window-state-get): Use backquote instead.
7210
7211 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7212
7213 * emacs-lisp/find-func.el (find-function-read):
7214 Fix incorrect use of default argument in `completing-read'.
7215
7216 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7217
7218 * window.el (display-buffer-function, special-display-function):
7219 Mention display-buffer-record-window but do not mention
7220 help-setup parameter in doc-strings.
7221 (window-min-delta): Fix doc-string typo.
7222
7223 2011-11-08 Chong Yidong <cyd@gnu.org>
7224
7225 * window.el (window-total-height, window-total-width): Doc fix.
7226 (window-body-size): Move from C.
7227 (window-body-height, window-body-width): Move to C.
7228
7229 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * window.el: Make special-display like display-buffer-alist (bug#9532).
7232 (display-buffer--special-action): New function, morphed
7233 from display-buffer--special.
7234 (display-buffer): Use it to handle special-display-buffers at higher
7235 priority (just after display-buffer-alist).
7236 (display-buffer-fallback-action, display-buffer--other-frame-action)
7237 (pop-to-buffer-same-window): Remove display-buffer--special.
7238
7239 2011-11-07 Glenn Morris <rgm@gnu.org>
7240
7241 * calendar/cal-menu.el (cal-menu-set-date-title):
7242 Do nothing if not in a calendar. (Bug#9976)
7243
7244 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7245
7246 * files.el (find-file): Always use selected-window.
7247
7248 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7249
7250 * window.el (window-combinations): Make WINDOW argument
7251 mandatory. Rewrite doc-string.
7252 (walk-window-subtree, window-atom-check, window-min-delta)
7253 (window-max-delta, window--resize-this-window)
7254 (window--resize-root-window-vertically, window-tree)
7255 (balance-windows, window-state-put): Rewrite doc-strings as to
7256 not mention the term "subwindow".
7257 (window--resize-subwindows-skip-p): Rename to
7258 window--resize-child-windows-skip-p.
7259 (window--resize-subwindows-normal): Rename to
7260 window--resize-child-windows-normal.
7261 (window--resize-subwindows): Rename to
7262 window--resize-child-windows.
7263 (window-or-subwindow-p): Rename to window--in-subtree-p.
7264
7265 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7266
7267 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7268 Ensure that mbox format messages end in two newlines (Bug#9974).
7269
7270 2011-11-06 Chong Yidong <cyd@gnu.org>
7271
7272 * window.el (window-combination-p): Function deleted; its
7273 side-effect is not used in any existing code.
7274 (window-combinations, window-combined-p): Call window-*-child
7275 directly.
7276
7277 2011-11-05 Chong Yidong <cyd@gnu.org>
7278
7279 * window.el (window-valid-p): Rename from window-any-p.
7280 (window-size-ignore, window-state-get): Callers changed.
7281 (window-normalize-window): Rename from window-normalize-any-window.
7282 New arg LIVE-ONLY, replacing window-normalize-live-window.
7283 (window-normalize-live-window): Delete.
7284 (window-combination-p, window-combined-p, window-combinations)
7285 (walk-window-subtree, window-atom-root, window-min-size)
7286 (window-sizable, window-sizable-p, window-size-fixed-p)
7287 (window-min-delta, window-max-delta, window-resizable)
7288 (window-resizable-p, window-full-height-p, window-full-width-p)
7289 (window-current-scroll-bars, window-point-1, set-window-point-1)
7290 (window-at-side-p, window-in-direction, window-resize)
7291 (adjust-window-trailing-edge, maximize-window, minimize-window)
7292 (window-deletable-p, delete-window, delete-other-windows)
7293 (record-window-buffer, unrecord-window-buffer)
7294 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7295 (quit-window, split-window, window-state-put)
7296 (set-window-text-height, fit-window-to-buffer)
7297 (shrink-window-if-larger-than-buffer): Callers changed.
7298
7299 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7300
7301 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7302 rfc2047-decode-string.
7303 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7304 warnings.
7305
7306 * window.el (window-body-height, window-body-width): Mention in
7307 the doc string that the return values are in frame's canonical
7308 units. (Bug#9949)
7309
7310 2011-11-03 Alan Mackenzie <acm@muc.de>
7311
7312 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7313 change in cc-engine.el.
7314
7315 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7316
7317 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7318
7319 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7320
7321 * window.el (quit-window): Call unrecord-window-buffer after
7322 showing another buffer in the window. (Bug#9937)
7323 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7324
7325 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7326
7327 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7328 Accept status with more than 9 shelves. (Bug#9935)
7329 Reported by Colin D Bennett <colin@gibibit.com>.
7330
7331 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7332
7333 * help.el (with-help-window): Don't reference
7334 temp-buffer-show-specifiers in doc-string.
7335
7336 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7337
7338 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7339 menu-item.
7340
7341 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7342
7343 * whitespace.el: New version 13.2.2.
7344 (whitespace-newline-mode): Disable properly. Reported by Sarah
7345 <EmacsWiki>.
7346
7347 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7348
7349 * net/newst-treeview.el: Remove "Time-stamp".
7350 (newsticker--group-manage-orphan-feeds): Do not call
7351 newsticker--treeview-tree-update.
7352 (newsticker-treeview-update, newsticker-treeview):
7353 Call newsticker--treeview-tree-update if necessary.
7354
7355 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7356
7357 * window.el (window-iso-combination-p, window-iso-combined-p)
7358 (window-iso-combinations): Remove "iso-" infix.
7359 Suggested by Chong Yidong.
7360 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7361 (window-max-delta-1, window-resize, window--resize-siblings)
7362 (window--resize-this-window, adjust-window-trailing-edge)
7363 (split-window, balance-windows-1)
7364 (shrink-window-if-larger-than-buffer):
7365 * calendar/calendar.el (calendar-generate-window):
7366 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7367
7368 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7371 in place (bug#9907).
7372 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7373 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7374 (eshell-structure-basic-command, eshell-rewrite-while-command)
7375 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7376 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7377 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7378 (eshell-do-pipelines-synchronously, eshell-eval-command):
7379 Use backquotes and prefer setq to set.
7380 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7381 (eshell-macrop): Use functionp.
7382 (eshell-do-eval): Handle multiple expressions in `while' body.
7383
7384 2011-10-30 Chong Yidong <cyd@gnu.org>
7385
7386 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7387 instead of set-mark (Bug#9810).
7388
7389 2011-10-30 Chong Yidong <cyd@gnu.org>
7390
7391 * window.el (split-window-below, split-window-right): Rename from
7392 split-window-above-each-other and split-window-side-by-side
7393 respectively. All callers changed.
7394 (split-window-sensibly, split-window-sensibly): Use them.
7395 (split-window-keep-point): Doc fix.
7396
7397 * isearch.el: Add isearch-scroll property to split-window-below
7398 and split-window-right.
7399
7400 * follow.el (follow-mode):
7401 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7402 * progmodes/ada-xref.el (ada-gdb-application):
7403 * emulation/vip.el (vip-buffer-in-two-windows):
7404 * image-dired.el (image-dired-dired-with-window-configuration):
7405 * dired-x.el (dired-do-find-marked-files):
7406 * dired.el (dired-pop-to-buffer):
7407 * bs.el (bs--show-with-configuration):
7408 * vc/emerge.el (emerge-setup-windows):
7409 * textmodes/two-column.el (2C-two-columns):
7410 * textmodes/reftex-toc.el (reftex-toc):
7411 * progmodes/gdb-mi.el (gdb-setup-windows):
7412 * progmodes/fortran.el (fortran-window-create):
7413 * net/newst-treeview.el (newsticker--treeview-window-init):
7414 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7415 * emulation/tpu-edt.el (tpu-gold-map):
7416 * emulation/crisp.el (crisp-mode-map):
7417 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7418
7419 2011-10-29 Chong Yidong <cyd@gnu.org>
7420
7421 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7422
7423 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7424
7425 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7426 forged Ispell output (Bug#7904).
7427
7428 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7429
7430 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7431
7432 * doc-view.el: Avoid ugly errors about not finding nil.
7433 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7434 (doc-view-dvipdf-program, doc-view-unoconv-program)
7435 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7436 Avoid nil or absolute file name as default value.
7437 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7438
7439 2011-10-28 Alan Mackenzie <acm@muc.de>
7440
7441 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7442
7443 2011-10-28 Alan Mackenzie <acm@muc.de>
7444
7445 Amend the handling of c-beginning/end-of-defun in nested declaration
7446 scopes.
7447
7448 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7449 cc-langs.el. Change it to a defcustom.
7450
7451 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7452 cc-vars.el.
7453
7454 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7455 Prevent "class foo : bar" being spuriously recognized as a label.
7456
7457 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7458 Add parameter `inclusive' (to include enclosing braces in the region).
7459 (c-widen-to-enclosing-decl-scope): New function.
7460 (c-while-widening-to-decl-block): New macro.
7461 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7462 outward for defun boundaries, and correspondingly change symbol
7463 `respect-enclosure' to `go-outward'.
7464 (c-declaration-limits): Change algorithm to report only the "innermost"
7465 defun's boundaries.
7466
7467 2011-10-28 Deniz Dogan <deniz@dogan.se>
7468
7469 * net/rcirc.el (rcirc-mode): Use hard newlines.
7470
7471 2011-10-28 Alan Mackenzie <acm@muc.de>
7472
7473 Amend to indent and fontify macros "which include their own semicolon"
7474 correctly, using the "virtual semicolon" mechanism.
7475
7476 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7477
7478 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7479 Recode to scan one line at a time rather than having \n and \r
7480 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7481 (c-forward-label): Amend for virtual semicolons.
7482 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7483
7484 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7485 of the new C macros.
7486
7487 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7488 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7489 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7490 (c-opt-cpp-macro-define): Make into a full language variable.
7491 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7492 AWK Mode (including \n, \r) removed, no longer needed.
7493
7494 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7495 Invoke c-make-macro-with-semi-re.
7496
7497 * progmodes/cc-vars.el (c-macro-with-semi-re):
7498 (c-macro-names-with-semicolon): New variables.
7499 (c-make-macro-with-semi-re): New function.
7500
7501 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7502
7503 * vc/log-edit.el: Fill empty field rather than adding new one.
7504 (log-edit-add-field): New function.
7505 (log-edit-insert-changelog): Use it.
7506
7507 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7508
7509 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7510
7511 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7514 (gdb--check-interpreter): New function.
7515 (gdb): Use it.
7516
7517 2011-10-27 Glenn Morris <rgm@gnu.org>
7518
7519 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7520 (least-positive-float, least-negative-float)
7521 (least-positive-normalized-float, least-negative-normalized-float)
7522 (float-epsilon, float-negative-epsilon):
7523 Remove unnecessary declarations.
7524
7525 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7526 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7527 (least-positive-float, least-negative-float)
7528 (least-positive-normalized-float, least-negative-normalized-float)
7529 (float-epsilon, float-negative-epsilon): Add doc-strings,
7530 based on those in cl.texi.
7531
7532 * files.el (set-visited-file-name): If the major-mode changed,
7533 reload the local variables. (Bug#9796)
7534
7535 2011-10-27 Chong Yidong <cyd@gnu.org>
7536
7537 * subr.el (change-major-mode-after-body-hook): New hook.
7538 (run-mode-hooks): Run it.
7539
7540 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7541 Use change-major-mode-before-body-hook.
7542
7543 * simple.el (fundamental-mode):
7544 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7545 change introducing fundamental-mode-hook.
7546
7547 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7548
7549 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7550
7551 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7552
7553 * ido.el (ido-file-name-all-completions-1): Do not require
7554 tramp.el explicitly. (Bug#7583)
7555
7556 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7558 * progmodes/octave-mod.el:
7559 * progmodes/octave-inf.el: Update maintainer.
7560
7561 2011-10-26 Chong Yidong <cyd@gnu.org>
7562
7563 * subr.el (with-wrapper-hook): Rewrite doc.
7564
7565 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7566
7567 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7568 filenames "/method:foo:". (Bug#9793)
7569
7570 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7573 (bug#9865).
7574
7575 2011-10-24 Glenn Morris <rgm@gnu.org>
7576
7577 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7578
7579 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7580
7581 * notifications.el: Add the requirement of a running D-Bus session
7582 bus to the Commentary.
7583
7584 2011-10-24 Juri Linkov <juri@jurta.org>
7585
7586 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7587 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7588 (Bug#9364)
7589
7590 2011-10-24 Juri Linkov <juri@jurta.org>
7591
7592 * info.el (Info-following-node-name-re): Add newline to the list
7593 of allowed characters for leading space. (Bug#9824)
7594
7595 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * progmodes/octave-inf.el (inferior-octave-mode-map):
7598 Fix C-c C-h binding.
7599 * progmodes/octave-mod.el (octave-help): Remove.
7600
7601 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7602
7603 Sync with Tramp 2.2.3.
7604
7605 * net/tramp-cache.el (top): Pacify byte-compiler using
7606 `init-file-user' and `site-run-file'.
7607
7608 * net/trampver.el: Update release number.
7609
7610 2011-10-23 Chong Yidong <cyd@gnu.org>
7611
7612 * files.el (toggle-read-only): Remove obsolete comment about
7613 version control.
7614
7615 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7616 for toggle-read-only. Note that this hasn't called vc-next-action
7617 since 2008-05-02, though it wasn't documented at the time.
7618
7619 * vc/ediff-init.el (ediff-toggle-read-only-function):
7620 Use toggle-read-only.
7621
7622 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7623
7624 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7625 of c-parse-state.
7626
7627 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7628 correct faulty logical expression.
7629 (c-parse-state-state, c-record-parse-state-state):
7630 (c-replay-parse-state-state): New defvar/defuns.
7631 (c-debug-parse-state): Use new functions.
7632
7633 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7634
7635 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7636 last fix. Use window-in-direction correctly.
7637
7638 2011-10-21 Chong Yidong <cyd@gnu.org>
7639
7640 * progmodes/idlwave.el (idlwave-mode):
7641 * progmodes/vera-mode.el (vera-mode): No need to set
7642 require-final-newline; that's done in prog-mode.
7643 Suggested by Stefan Monnier.
7644
7645 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7646
7647 * mouse.el (mouse-drag-window-above)
7648 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7649 (mouse-drag-mode-line-1, mouse-drag-header-line)
7650 (mouse-drag-vertical-line-rightward-window): Remove.
7651 (mouse-drag-line): New function.
7652 (mouse-drag-mode-line, mouse-drag-header-line)
7653 (mouse-drag-vertical-line): Call mouse-drag-line.
7654 * window.el (window-at-side-p, windows-at-side): New functions.
7655
7656 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7657
7658 * tar-mode.el (tar-grind-file-mode):
7659 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7660
7661 2011-10-21 Chong Yidong <cyd@gnu.org>
7662
7663 * progmodes/idlwave.el (idlwave-mode):
7664 * progmodes/vera-mode.el (vera-mode):
7665 Use mode-require-final-newline.
7666
7667 2011-10-20 Glenn Morris <rgm@gnu.org>
7668
7669 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7670
7671 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7672
7673 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7674
7675 2011-10-20 Chong Yidong <cyd@gnu.org>
7676
7677 * emulation/cua-base.el (cua-mode):
7678 * mail/footnote.el (footnote-mode):
7679 * mail/mailabbrev.el (mail-abbrevs-mode):
7680 * net/xesam.el (xesam-minor-mode):
7681 * progmodes/bug-reference.el (bug-reference-mode):
7682 * progmodes/cap-words.el (capitalized-words-mode):
7683 * progmodes/compile.el (compilation-minor-mode)
7684 (compilation-shell-minor-mode):
7685 * progmodes/gud.el (gud-tooltip-mode):
7686 * progmodes/hideif.el (hide-ifdef-mode):
7687 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7688 * progmodes/subword.el (subword-mode):
7689 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7690 * progmodes/which-func.el (which-function-mode):
7691 * term/tvi970.el (tvi970-set-keypad-mode):
7692 * term/vt100.el (vt100-wide-mode):
7693 * textmodes/flyspell.el (flyspell-mode):
7694 * textmodes/ispell.el (ispell-minor-mode):
7695 * textmodes/nroff-mode.el (nroff-electric-mode):
7696 * textmodes/paragraphs.el (use-hard-newlines):
7697 * textmodes/refill.el (refill-mode):
7698 * textmodes/reftex.el (reftex-mode):
7699 * textmodes/rst.el (rst-minor-mode):
7700 * textmodes/sgml-mode.el (html-autoview-mode)
7701 (sgml-electric-tag-pair-mode):
7702 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7703 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7704 * emulation/crisp.el (crisp-mode):
7705 * emacs-lisp/eldoc.el (eldoc-mode):
7706 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7707 minor mode behavior.
7708
7709 2011-10-19 Juri Linkov <juri@jurta.org>
7710
7711 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7712 the list of hard-coded chars with escape-glyph face.
7713
7714 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7717
7718 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7719
7720 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7721 running process.
7722
7723 2011-10-19 Glenn Morris <rgm@gnu.org>
7724
7725 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7726 Ignore ignored files. (Bug#9726)
7727
7728 2011-10-19 Chong Yidong <cyd@gnu.org>
7729
7730 Doc fix for minor modes, stating that an omitted argument enables
7731 the mode unconditionally when called from Lisp.
7732
7733 * abbrev.el (abbrev-mode):
7734 * allout.el (allout-mode):
7735 * autoinsert.el (auto-insert-mode):
7736 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7737 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7738 (global-auto-revert-mode):
7739 * battery.el (display-battery-mode):
7740 * composite.el (global-auto-composition-mode)
7741 (auto-composition-mode):
7742 * delsel.el (delete-selection-mode):
7743 * desktop.el (desktop-save-mode):
7744 * dired-x.el (dired-omit-mode):
7745 * dirtrack.el (dirtrack-mode):
7746 * doc-view.el (doc-view-minor-mode):
7747 * double.el (double-mode):
7748 * electric.el (electric-indent-mode, electric-pair-mode):
7749 * emacs-lock.el (emacs-lock-mode):
7750 * epa-hook.el (auto-encryption-mode):
7751 * follow.el (follow-mode):
7752 * font-core.el (font-lock-mode):
7753 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7754 * help.el (temp-buffer-resize-mode):
7755 * hilit-chg.el (highlight-changes-mode)
7756 (highlight-changes-visible-mode):
7757 * hi-lock.el (hi-lock-mode):
7758 * hl-line.el (hl-line-mode, global-hl-line-mode):
7759 * icomplete.el (icomplete-mode):
7760 * ido.el (ido-everywhere):
7761 * image-file.el (auto-image-file-mode):
7762 * image-mode.el (image-minor-mode):
7763 * iswitchb.el (iswitchb-mode):
7764 * jka-cmpr-hook.el (auto-compression-mode):
7765 * linum.el (linum-mode):
7766 * longlines.el (longlines-mode):
7767 * master.el (master-mode):
7768 * mb-depth.el (minibuffer-depth-indicate-mode):
7769 * menu-bar.el (menu-bar-mode):
7770 * minibuf-eldef.el (minibuffer-electric-default-mode):
7771 * mouse-sel.el (mouse-sel-mode):
7772 * msb.el (msb-mode):
7773 * mwheel.el (mouse-wheel-mode):
7774 * outline.el (outline-minor-mode):
7775 * paren.el (show-paren-mode):
7776 * recentf.el (recentf-mode):
7777 * reveal.el (reveal-mode, global-reveal-mode):
7778 * rfn-eshadow.el (file-name-shadow-mode):
7779 * ruler-mode.el (ruler-mode):
7780 * savehist.el (savehist-mode):
7781 * scroll-all.el (scroll-all-mode):
7782 * scroll-bar.el (scroll-bar-mode):
7783 * server.el (server-mode):
7784 * shell.el (shell-dirtrack-mode):
7785 * simple.el (auto-fill-mode, transient-mark-mode)
7786 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7787 (line-number-mode, column-number-mode, size-indication-mode)
7788 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7789 * strokes.el (strokes-mode):
7790 * time.el (display-time-mode):
7791 * t-mouse.el (gpm-mouse-mode):
7792 * tool-bar.el (tool-bar-mode):
7793 * tooltip.el (tooltip-mode):
7794 * type-break.el (type-break-mode-line-message-mode)
7795 (type-break-query-mode):
7796 * view.el (view-mode):
7797 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7798 (global-whitespace-mode, global-whitespace-newline-mode):
7799 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7800
7801 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7802 Fix autogenerated docstring.
7803
7804 2011-10-19 Juri Linkov <juri@jurta.org>
7805
7806 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7807 by checking environment variables "DESKTOP_SESSION" and
7808 "XDG_CURRENT_DESKTOP". (Bug#9779)
7809
7810 2011-10-19 Juri Linkov <juri@jurta.org>
7811
7812 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7813 (browse-url-chromium-program, browse-url-chromium-arguments):
7814 New defcustoms.
7815 (browse-url-default-browser): Check for `browse-url-chromium' and
7816 call `browse-url-chromium-program'.
7817 (browse-url-chromium): New command. (Bug#9779)
7818
7819 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7820
7821 * facemenu.el (list-colors-duplicates): On Windows, detect more
7822 duplicates by assuming that only colors matching "^System" are
7823 special "system colors". (Bug#9722)
7824
7825 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7828 to distinguish the author from the committer.
7829
7830 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7831
7832 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7833
7834 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7835
7836 * international/mule.el (sgml-html-meta-auto-coding-function):
7837 Add support for detecting encoding in HTML5 specified only as
7838 <meta charset="UTF-8">. Implementation just makes http-equiv and
7839 content-type parts from HTML4 encoding string optional. (Bug#9716)
7840
7841 2011-10-18 Glenn Morris <rgm@gnu.org>
7842
7843 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7844
7845 2011-10-18 Chong Yidong <cyd@gnu.org>
7846
7847 * faces.el (cursor): Doc fix.
7848
7849 2011-10-17 Chong Yidong <cyd@gnu.org>
7850
7851 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7852
7853 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7854
7855 * dirtrack.el (dirtrack): Support shell buffers with path
7856 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7857
7858 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7859
7860 * json.el: Bump version to 1.3 and note change in History.
7861 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7862
7863 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7864
7865 * comint.el (comint-insert-input, comint-send-input)
7866 (comint-get-old-input-default, comint-backward-matching-input)
7867 (comint-next-prompt): Use nil instead of `input' for field property of
7868 past user input (bug#114).
7869
7870 * minibuffer.el (completion--replace): Inherit surrounding properties
7871 (bug#114).
7872 (minibuffer-complete-and-exit): Use it.
7873
7874 * comint.el (comint--table-subvert): Quote the all-completions output
7875 (bug#9160).
7876
7877 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7878
7879 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7880
7881 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7882 window on right of selected. (Bug#9350) Reword other window
7883 entries and separate them from frame entries.
7884
7885 2011-10-15 Glenn Morris <rgm@gnu.org>
7886
7887 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7888 Doc fixes.
7889
7890 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7891
7892 * net/network-stream.el (network-stream-open-starttls):
7893 Improve detection of failure due to lack of TLS support.
7894
7895 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7896 putting the input text in front and in bold.
7897
7898 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7901
7902 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7903 empty buffer.
7904
7905 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7906 unread-command-events rather than pushing yet-another event.
7907
7908 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7909
7910 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7911 the explanation of the possible choices. Make the options passed
7912 to completing-read shorter.
7913
7914 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7915
7916 * textmodes/flyspell.el (flyspell-large-region): Make sure
7917 extended character mode is used if defined (Bug#1339).
7918
7919 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7920
7921 * simple.el (what-cursor-position): Fix the display of the
7922 character info for LRE, LRO, RLE, and RLO characters by appending
7923 an invisible PDF.
7924
7925 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7926
7927 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7928 even in case of error; add debug spec; simplify data flow.
7929 (with-timeout-handler): Remove.
7930
7931 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7932
7933 Fix Bug#6019, Bug#9315.
7934
7935 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7936 complete `buffer-file-name', the local file name part could look
7937 remotely (for example on VMS).
7938
7939 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7940 `tramp-run-real-handler'.
7941 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7942 already quoted by '"'.
7943
7944 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7945 Let `file-name-handler-alist' be nil, the local file name part
7946 could look remotely (for example on VMS).
7947
7948 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7951 from here...
7952 (flyspell-post-command-hook): ...to here.
7953
7954 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7957 if not needed.
7958 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7959 using completion. Protect against "slow" callers.
7960 Remove the "message hack".
7961
7962 2011-10-11 Juri Linkov <juri@jurta.org>
7963
7964 * isearch.el (isearch-lazy-highlight-word): New variable.
7965 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7966 Use it. (Bug#9727)
7967
7968 2011-10-11 Glenn Morris <rgm@gnu.org>
7969
7970 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7971 like f90-previous-statement does.
7972
7973 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7974
7975 * eshell/eshell.el (eshell-command): History should be saved
7976 only in interactive use, to avoid error.
7977
7978 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * minibuffer.el (completion-file-name-table): Fix last change,
7981 i.e. ignore normal errors but not the other ones.
7982
7983 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7984
7985 * window.el (special-display-buffer-names)
7986 (special-display-regexps): Remove some remnants of earlier
7987 changes from doc-strings.
7988 (quit-windows-on): New function.
7989
7990 * vc/vc.el (vc-revert, vc-rollback):
7991 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7992 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7993 (Bug#6183) (Bug#7074) (Bug#7447)
7994
7995 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7996
7997 * window.el (frame-auto-hide-function): Add version tag.
7998 (Bug#9699)
7999
8000 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8001
8002 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8003 condition.
8004
8005 2011-10-09 Leo Liu <sdl.web@gmail.com>
8006
8007 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8008 (Bug#9701)
8009
8010 2011-10-08 Glenn Morris <rgm@gnu.org>
8011
8012 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8013 before the first code statement zero indent. (Bug#9690)
8014
8015 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8016
8017 * simple.el (count-words-region): Always count in the region.
8018 Report the number of lines and characters too.
8019 (count-words): New command, which counts in the buffer if the
8020 region is inactive, as count-words-region used to.
8021 (count-words--message): New function. Handle plurals.
8022 (count-lines-region): Make it an alias for count-words-region.
8023
8024 * bindings.el (esc-map): Replace count-lines-region with
8025 count-words-region.
8026
8027 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8028
8029 * window.el (window--delete): Delete dedicated frame
8030 unconditionally when argument KILL is non-nil. (Bug#9699)
8031 (switch-to-buffer): Fix doc-string typo.
8032
8033 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8034
8035 * eshell/eshell.el (eshell-command): Avoid using hooks.
8036
8037 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8038
8039 * bindings.el ([M-left],[M-right]): Bind to left-word and
8040 right-word respectively.
8041
8042 2011-10-07 Glenn Morris <rgm@gnu.org>
8043
8044 * cus-start.el (debug-on-quit): Fix custom type.
8045
8046 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8047
8048 * subr.el (define-key-after): Clarify that the function is not
8049 useful for non-menu keymaps.
8050
8051 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8052
8053 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8054
8055 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8056 in current minibuffer (Fix bug with recursive minibuffers).
8057
8058 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8059
8060 * progmodes/gdb-mi.el (gdb): Doc fix.
8061
8062 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8063
8064 * window.el (frame-auto-hide-function): New option replacing
8065 frame-auto-delete. Suggested by Stefan Monnier.
8066 (window--delete): Call frame-auto-hide-function instead of
8067 investigating frame-auto-delete.
8068 (window-point-1, set-window-point-1): New functions.
8069 (window-in-direction, record-window-buffer, window-state-get-1)
8070 (display-buffer-record-window): Use window-point-1 instead of
8071 window-point.
8072 (set-window-buffer-start-and-point): Use set-window-point-1.
8073
8074 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8077
8078 2011-10-05 Glenn Morris <rgm@gnu.org>
8079
8080 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8081 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8082
8083 2011-10-05 Leo Liu <sdl.web@gmail.com>
8084
8085 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8086 works with buffer object.
8087
8088 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * mpc.el (mpc-tool-bar-map): Add labels.
8091
8092 2011-10-04 Glenn Morris <rgm@gnu.org>
8093
8094 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8095
8096 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8097
8098 * window.el (window--delete): New function.
8099 (frame-auto-delete): Resuscitate option.
8100 (bury-buffer, replace-buffer-in-windows)
8101 (quit-window): Rewrite using window--delete.
8102 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8103 Pass display-buffer-mark-dedicated to window--display-buffer-2
8104 (Bug#9639).
8105
8106 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8107
8108 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8109 returns a list (bug#9554). Add remote file name completion.
8110 * comint.el (comint--table-subvert): Curry and get quote&unquote
8111 functions as arguments.
8112 (comint--complete-file-name-data): Adjust call accordingly.
8113 * pcomplete.el (pcomplete--table-subvert): Remove.
8114 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8115
8116 * minibuffer.el (completion-table-case-fold): Use currying.
8117 (completion--styles-type, completion--cycling-threshold-type):
8118 New constants.
8119 (completion-styles, completion-category-overrides)
8120 (completion-cycle-threshold): Use them.
8121 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8122 completion-table-case-fold.
8123
8124 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8125
8126 * minibuffer.el (completion-category-overrides): Fix type of styles
8127 and add more user friendly tags (bug#9660).
8128
8129 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8132 (mule-input-method-string): New widget.
8133 (default-input-method, language-info-custom-alist): Use it.
8134
8135 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * pcomplete.el: Require comint.
8138 (pcomplete--common-suffix): Remove.
8139 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8140 (pcomplete--table-subvert): Sync with comint--table-subvert.
8141 (pcomplete--entries): Use comint-completion-file-name-table.
8142 * comint.el (comint-unquote-filename): Simplify.
8143 (comint-completion-file-name-table): New function (bug#9616).
8144 (comint--complete-file-name-data): Use it.
8145
8146 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8147 (pcmpl-gnu-tar-buffer): Remove.
8148 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8149 around. Make sure pcomplete-suffix-list is only changed temporarily.
8150 Don't look inside the tar's file if it's too large.
8151
8152 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8153
8154 * cus-edit.el (custom-mode-map):
8155 * epa.el (epa-key-list-mode-map):
8156 * man.el (Man-mode-map):
8157 * startup.el (splash-screen-keymap):
8158 * simple.el (special-mode-map): Use scroll-up-command and
8159 scroll-down-command.
8160
8161 * progmodes/idlw-help.el (idlwave-help-mode-map):
8162 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8163 * net/newst-plainview.el (newsticker-mode-map):
8164 * emulation/ws-mode.el (wordstar-mode-map):
8165 * emulation/vi.el (vi-com-map):
8166 * calc/calc-graph.el (calc-graph-show-dumb):
8167 * term/sun.el (terminal-init-sun):
8168 * term/ns-win.el (global-map):
8169 * progmodes/grep.el (grep-mode-map):
8170 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8171 * mail/rmail.el (rmail-mode-map):
8172 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8173
8174 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8175 custom-safe-themes as special.
8176
8177 2011-10-01 Julien Danjou <julien@danjou.info>
8178
8179 * notifications.el (notifications-notify): Fix docstring.
8180
8181 2011-10-01 Per Starbäck <per@starback.se>
8182
8183 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8184
8185 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8186
8187 * startup.el (command-line-1): Fix last fix by inserting
8188 initial-scratch-message into *scratch* before displaying it.
8189 (Bug#9605) and (Bug#9636)
8190
8191 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8192
8193 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8194 window is hscrolled, move by logical lines. (Bug#9607)
8195 (line-move-visual): Update the doc string to the above effect.
8196
8197 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8198
8199 * window.el (display-buffer-record-window): When WINDOW is the
8200 selected window use `point' instead of `window-point'. (Bug#9626)
8201
8202 * startup.el (command-line-1): Use insert-before-markers when
8203 inserting initial-scratch-message. (Bug#9605)
8204
8205 * help.el (help-window): Remove variable.
8206
8207 2011-09-29 Glenn Morris <rgm@gnu.org>
8208
8209 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8210
8211 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8212
8213 * descr-text.el (describe-char-categories): Accept category
8214 descriptions more than one line long.
8215
8216 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * simple.el (delete-trailing-whitespace): Fix last change.
8219
8220 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8221 Don't confuse "y => 3" as the beginning of a `y' operation.
8222
8223 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8224 object has more than 4 slots (bug#9613).
8225
8226 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8227
8228 * subr.el (with-output-to-temp-buffer):
8229 * net/quickurl.el (quickurl, quickurl-browse-url):
8230 Fix typos in docstrings.
8231
8232 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8233
8234 * minibuffer.el (completion-styles)
8235 (completion-category-overrides): Cross reference each other in doc
8236 strings.
8237
8238 2011-09-27 Glenn Morris <rgm@gnu.org>
8239
8240 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8241 to split-string. (Bug#9606)
8242
8243 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8244
8245 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8246 (bug#9615).
8247
8248 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8249
8250 * emacs-lisp/package.el (list-packages): Fix echo area message.
8251
8252 2011-09-27 Leo Liu <sdl.web@gmail.com>
8253
8254 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8255
8256 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8257
8258 * net/dbus.el (dbus-unregister-object): Don't release services for
8259 registered signals. (Bug#9581)
8260
8261 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8262
8263 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8264 function that picks between cfengine 2 and 3 support
8265 automatically. Update docs accordingly.
8266
8267 2011-09-22 Kenichi Handa <handa@m17n.org>
8268
8269 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8270 ZERO.
8271 (indian-itrans-v5-table-for-tamil): New variable.
8272 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8273
8274 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8275
8276 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8277 that's true if the current command involved collapsing of text.
8278 It's reset to false at the beginning of the next command.
8279 (allout-post-command-business): Move the cursor to the beginning
8280 of entry if the cursor is hidden and collapsing activity just
8281 happened.
8282
8283 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8284
8285 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8286 tracking (Bug#9541).
8287
8288 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8289
8290 * net/newst-reader.el (newsticker-html-renderer)
8291 (newsticker-show-news): Automatically load html rendering package
8292 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8293 because w3m-fill-column is let-bound" and the error "Symbol's value
8294 as variable is void: w3m-fill-column".
8295
8296 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8297
8298 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8299 Release services only if they are defined. (Bug#9581)
8300
8301 2011-09-23 Richard Stallman <rms@gnu.org>
8302
8303 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8304 distinguish start of paragraph from start of its text.
8305
8306 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8307
8308 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8309 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8310 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8311
8312 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8313
8314 * international/mule-diag.el (mule-diag): Insert a newline after
8315 each fontset description.
8316
8317 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * simple.el (delete-trailing-whitespace):
8320 Document last change; simplify.
8321
8322 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8323
8324 * simple.el (delete-trailing-whitespace): Also delete
8325 extra newlines at the end of the buffer.
8326
8327 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8328 (picture-newline): Use forward-line so as to ignore fields.
8329
8330 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * subr.el (with-wrapper-hook): Fix edebug spec.
8333
8334 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8335
8336 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8337 (bug#4538).
8338
8339 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8340
8341 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8342 Fix nasty bug using wrong cached values.
8343
8344 2011-09-23 Alan Mackenzie <acm@muc.de>
8345
8346 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8347
8348 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8349
8350 * window.el (pop-to-buffer): Ensure right window is selected if we
8351 chose another frame.
8352
8353 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8354
8355 * simple.el (what-cursor-position): Use get-char-property-change
8356 and next-single-char-property-change, to be able to show display
8357 properties that come from overlays as well as text properties.
8358
8359 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8360
8361 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8362
8363 * cmuscheme.el (run-scheme, switch-to-scheme):
8364 * cus-edit.el (customize-group, custom-buffer-create)
8365 (customize-browse):
8366 * info.el (info):
8367 * shell.el (shell):
8368 * mail/sendmail.el (mail):
8369 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8370
8371 2011-09-22 Richard Stallman <rms@gnu.org>
8372
8373 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8374 move back only to line beg, don't move back over blank lines.
8375
8376 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8377
8378 * files.el (copy-directory): Set directory attributes only in case
8379 they could be retrieved from the source directory. (Bug#9565)
8380
8381 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8382
8383 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8384 (hs-find-block-beginning, hs-hide-level-recursive):
8385 Ignore strings as well as comments. (Bug#9502)
8386
8387 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8388
8389 * progmodes/sql.el (sql-comint-postgres):
8390 Convert port number to a string. (Bug#9566)
8391
8392 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8393
8394 * window.el (quit-window): Undedicate window when switching to
8395 previous buffer. Reported by Thierry Volpiatto
8396 <thierry.volpiatto@gmail.com>.
8397 (special-display-popup-frame): When popping up a new frame reset
8398 its previous buffers to nil. Simplify code.
8399
8400 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8401
8402 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8403 and process filter, as done also in `shell-command'.
8404
8405 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8406
8407 * window.el (set-window-buffer-start-and-point):
8408 Call set-window-start with NOFORCE argument t.
8409 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8410 (quit-window): Reword doc-string. Handle new format of
8411 quit-restore parameter. Don't delete window if it has a
8412 previous buffer we can show instead of the present one.
8413 (display-buffer-record-window): Rewrite using a new format for
8414 the quit-restore window parameter
8415 (special-display-popup-frame, display-buffer-same-window)
8416 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8417 (display-buffer-pop-up-window, display-buffer-use-some-window):
8418 Adapt symbol passed to display-buffer-record-window.
8419 * help.el (help-window-setup): Handle new format of quit-restore
8420 parameter.
8421
8422 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8423
8424 * faces.el (face-list): Fix docstring (bug#9564).
8425
8426 * window.el (display-buffer--action-function-custom-type):
8427 Don't include internal functions in the Custom interface.
8428
8429 2011-09-20 Juri Linkov <juri@jurta.org>
8430
8431 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8432 (Info-forward-node, Info-backward-node, Info-next-preorder)
8433 (Info-last-preorder): Use it. (Bug#9528)
8434
8435 2011-09-20 Juri Linkov <juri@jurta.org>
8436
8437 * info.el (Info-last-preorder): Visit last menu item only when
8438 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8439
8440 2011-09-20 Julien Danjou <julien@danjou.info>
8441
8442 * password-cache.el (password-cache-remove): Remove entries even if the
8443 value is nil, so that password with a nil value (negative caching) is
8444 possible to invalidate.
8445
8446 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8447
8448 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8449 all whitespace around breakpoint. (Bug#9553)
8450 (f90-find-breakpoint): Only break at whitespace inside a comment.
8451
8452 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8453
8454 * minibuffer.el (completion-file-name-table): Keep track of errors.
8455 (completion-table-with-predicate): Handle the case where pred1 is nil.
8456 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8457
8458 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8461 (debugger-return-value): Signal an error if the debugging context does
8462 not await any return value.
8463
8464 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8465 * image-mode.el (image-toggle-display-text)
8466 (image-toggle-display-image): Stay away from evil `intangible'.
8467
8468 2011-09-19 Leo Liu <sdl.web@gmail.com>
8469
8470 * replace.el (occur-revert-arguments): Make it permanent-local.
8471 (occur-mode): Don't call font-lock-defontify.
8472
8473 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8474
8475 * net/ldap.el (ldap-search-internal): Don't push empty search
8476 result (Bug#9508).
8477
8478 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8479
8480 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8481
8482 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8483
8484 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8485 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8486
8487 2011-09-18 Juri Linkov <juri@jurta.org>
8488
8489 * buff-menu.el (Buffer-menu-mode-map):
8490 * dired.el (dired-mode-map):
8491 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8492 (lisp-interaction-mode-map):
8493 * emacs-lisp/package.el (package-menu-mode-map):
8494 * epa.el (epa-key-list-mode-map):
8495 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8496 (menu-bar-options-menu):
8497 * outline.el (outline-mode-menu-bar-map):
8498 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8499 * vc/vc-dir.el (vc-dir-menu-map):
8500 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8501 Capitalize non-function content words in menu item strings.
8502
8503 * dired.el (dired-mode-map): Add menu item for
8504 `image-dired-dired-toggle-marked-thumbs'.
8505
8506 2011-09-18 Juri Linkov <juri@jurta.org>
8507
8508 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8509 to `isearch-case-fold-search' and restore its original value
8510 after the `isearch-mode' call.
8511
8512 2011-09-18 Juri Linkov <juri@jurta.org>
8513
8514 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8515 because `zgrep' returns 1 for successful matches (bug#9226).
8516
8517 2011-09-18 Juri Linkov <juri@jurta.org>
8518
8519 * info.el (Info-extract-menu-node-name): Check the second match
8520 for empty string (second test-case of bug#9528).
8521 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8522 intermediate nodes to the history (first test-case of bug#9528).
8523
8524 2011-09-18 Juri Linkov <juri@jurta.org>
8525
8526 * info.el (Info-mode-syntax-table): New variable.
8527 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8528
8529 2011-09-18 Juri Linkov <juri@jurta.org>
8530
8531 * info.el (Info-file-supports-index-cookies):
8532 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8533 outputs one more line for long file names (bug#4142).
8534
8535 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8536
8537 * newcomment.el (comment-normalize-vars): If prompting for
8538 comment-start, set comment-start-skip too (Bug#8424).
8539
8540 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8541
8542 * icomplete.el: Fix previous fix of Bug#5849.
8543 (icomplete-mode): Don't set completion-show-inline-help.
8544 (icomplete-minibuffer-setup): Set completion-show-inline-help
8545 locally during icompletion.
8546
8547 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8548
8549 * woman.el (woman2-process-escapes): Don't delete unrecognized
8550 escapes (Bug#7843).
8551
8552 * files.el (inhibit-first-line-modes-regexps): Add image files.
8553 (hack-local-variables-prop-line): Return nil for malformed
8554 prop-lines (Bug#9044).
8555
8556 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8557
8558 * net/tramp.el (top): Don't require 'shell.
8559 (tramp-methods): Fix docstring.
8560 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8561 Return complete remote file name. Handle "smb" case.
8562 Use `tramp-tmpdir', if defined for the respective method.
8563 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8564
8565 * net/tramp-compat.el (top): Require 'shell.
8566
8567 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8568 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8569 `tramp-current-host'.
8570 (tramp-get-remote-tmpdir): Remove.
8571
8572 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8573 `tramp-tmpdir' entries.
8574 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8575 (tramp-smb-handle-file-attributes): Ignore errors.
8576 (tramp-smb-wait-for-output): Check also for process end.
8577
8578 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8579
8580 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8581 when sending QUIT (bug#9312).
8582
8583 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8584
8585 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8586 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8587 occur-mode-display-occurrence.
8588 (occur-edit-mode): Add usage message.
8589 (occur-cease-edit): New command.
8590 (occur-after-change-function): Use text properties to find the
8591 position of the prefix text.
8592 (occur-engine): Set stickiness of prefix text properties.
8593
8594 2011-09-17 Glenn Morris <rgm@gnu.org>
8595
8596 * progmodes/etags.el (complete-tag):
8597 Fix call to completion-in-region. (Bug#9526)
8598
8599 2011-09-17 Juri Linkov <juri@jurta.org>
8600
8601 * textmodes/ispell.el (ispell-word): Add to the error message
8602 the word, ispell program name and current dictionary (bug#9121).
8603 (ispell-tex-arg-end): Capitalize "error" in the error message.
8604
8605 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8606
8607 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8608 check. (Bug#4251)
8609
8610 2011-09-17 Juri Linkov <juri@jurta.org>
8611
8612 * window.el (window-safe-min-height, window-safe-min-width):
8613 Fix typos (followup to bug#9522).
8614
8615 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8616
8617 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8618
8619 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8620
8621 * simple.el (line-move): If goal-column is set, move by logical
8622 lines, not by display lines. (Bug#971)
8623 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8624 to reflect the above change.
8625
8626 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * image.el (imagemagick-register-types): Use regexp-opt.
8629
8630 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8631
8632 * window.el (display-buffer-base-action): Rename from
8633 display-buffer-default-action. Make default value empty.
8634 (display-buffer-overriding-action): Convert to defvar.
8635 (display-buffer-fallback-action): New var.
8636
8637 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8638
8639 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8640 declaration.
8641 (package--add-to-archive-contents): If there is a duplicate entry
8642 with an older version, remove it.
8643 (package-menu-mark-delete, package-menu-mark-install)
8644 (package-menu-mark-unmark): Make unused args optional.
8645 (package-menu-mark-obsolete-for-deletion):
8646 Use package-menu-get-status instead of a regexp search.
8647 (package-menu-get-status): Use tabulated-list-entry.
8648 (package-menu-mark-upgrades): New command.
8649 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8650 (package-menu-execute): Do installation before deletion.
8651 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8652 instead of checking major-mode.
8653 (package-menu--find-upgrades): New function.
8654
8655 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8656
8657 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8658 passwords in the log buffer.
8659 (smtpmail-process-filter): Update the process marker so that the
8660 "broken by peer" status message is inserted in the right place.
8661
8662 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8663
8664 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8665 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8666 bibtex-completion-at-point-function.
8667 (bibtex-completion-at-point-function): Use them.
8668
8669 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8670
8671 * mpc.el (mpc-constraints-tag-lookup): New function.
8672 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8673 also to browser "album|playlist".
8674
8675 2011-09-14 Juri Linkov <juri@jurta.org>
8676
8677 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8678 (isearch-edit-string): Use length of `isearch-string' when
8679 `isearch-fail-pos' returns nil.
8680 (isearch-message): Remove duplicate code and call
8681 `isearch-fail-pos' with arg `t'.
8682
8683 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8684
8685 * replace.el (occur-mode-goto-occurrence): Don't force using other
8686 window (Bug#9499).
8687
8688 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8689
8690 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8691
8692 * window.el (display-buffer-window): Remove.
8693 (display-buffer-record-window): Use help-setup window parameter
8694 instead of variable display-buffer-window.
8695 (display-buffer-function, special-display-buffer-names)
8696 (special-display-function): Mention help-setup parameter instead
8697 of display-buffer-window in doc-string.
8698 * help.el (help-window-setup): New argument help-window.
8699 Use help-window-setup parameter instead of display-buffer-window.
8700 Reword some messages.
8701 (with-help-window): Pass window used for displaying the buffer
8702 to help-window-setup. Don't set display-buffer-window.
8703
8704 2011-09-13 Glenn Morris <rgm@gnu.org>
8705
8706 * emacs-lisp/debug.el (debugger-make-xrefs):
8707 Preserve point. (Bug#9462)
8708
8709 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8710
8711 * window.el (window-deletable-p): Use next-frame.
8712
8713 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8714
8715 * window.el (window-auto-delete): Remove.
8716 (window-deletable-p): Remove argument FORCE. Don't deal with
8717 dedication and previous buffers.
8718 (switch-to-prev-buffer): Don't delete window.
8719 (delete-windows-on): Delete a window's frame if and only if the
8720 window is dedicated.
8721 (replace-buffer-in-windows): Delete buffer's window or frame if
8722 and only if window is dedicated.
8723 (quit-window): Handle quit-restore as before last change.
8724 (bury-buffer): Delete window only if window-deletable-p returns t.
8725
8726 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8727
8728 * window.el (window-deletable-p): Never delete the last frame on a
8729 given terminal.
8730
8731 2011-09-13 Glenn Morris <rgm@gnu.org>
8732
8733 * help.el (describe-key-briefly): Copy previous standard-output change.
8734
8735 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8736
8737 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8738
8739 2011-09-13 Glenn Morris <rgm@gnu.org>
8740
8741 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8742 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8743
8744 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8745
8746 * dired-aux.el (dired-mark-read-string): Don't return default
8747 value on empty input (Bug#9361).
8748 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8749 Omit initial minibuffer contents.
8750 (dired-do-chmod): Signal an error on empty input.
8751 (dired-mark-read-string): Don't return default on empty input.
8752
8753 * files.el (file-modes-symbolic-to-number): Doc fix.
8754
8755 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * international/mule-cmds.el (ucs-completions): Remove.
8758 (read-char-by-name): Use complete-with-action instead; add metadata.
8759
8760 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8761
8762 * window.el (display-buffer--action-function-custom-type)
8763 (display-buffer--action-custom-type): New vars.
8764 (display-buffer-alist, display-buffer-default-action)
8765 (display-buffer-overriding-action): Add defcustom types.
8766
8767 * frame.el (delete-other-frames): Doc fix (Bug#276).
8768
8769 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8770
8771 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8772
8773 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8774
8775 Change modes that used same-window-* vars to use switch-to-buffer.
8776
8777 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8778 Use switch-to-buffer.
8779
8780 * cus-edit.el (customize-group, custom-buffer-create)
8781 (customize-browse, custom-buffer-create-other-window):
8782 Use switch-to-buffer or switch-to-buffer-other-window.
8783
8784 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8785 (Info-prev, Info-up, Info-speedbar-goto-node)
8786 (info-display-manual): Use switch-to-buffer.
8787 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8788
8789 * mail/sendmail.el (mail): Use switch-to-buffer.
8790 (mail-recover): Use switch-to-buffer-other-window.
8791
8792 * cmuscheme.el (run-scheme, switch-to-scheme):
8793 * ielm.el (ielm):
8794 * shell.el (shell):
8795 * net/rlogin.el (rlogin):
8796 * net/telnet.el (telnet, rsh):
8797 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8798
8799 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8800
8801 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8802
8803 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8804
8805 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8806 so don't mention it (bug#9301).
8807 (dired-sort-toggle-or-edit): Clarify string further.
8808
8809 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8810 match `x', `w32' and `ns', like the manual says (bug#9029).
8811
8812 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8813 (process-kill-buffer-query-function): Mention the buffer name in
8814 the query.
8815
8816 * image-mode.el (image-next-line): The line parameter is mandatory
8817 (bug#9258).
8818
8819 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8820 which can be useful (bug#9301).
8821
8822 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8823
8824 * subr.el (match-string): Mention that the current buffer should
8825 be the same as the search was done in (bug#9282).
8826
8827 * facemenu.el: Disable the remove-* commands if the mark isn't
8828 active (bug#9162).
8829
8830 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8831
8832 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8833 of display-buffer.
8834 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8835
8836 * replace.el (occur-mode-goto-occurrence)
8837 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8838 and display-buffer.
8839
8840 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8841 display-buffer.
8842
8843 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8844 special-display and same-window variables.
8845 (mail-other-window): Use switch-to-buffer-other-window.
8846 (mail-other-frame): USe switch-to-buffer-other-frame.
8847
8848 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8849 Use display-buffer-other-frame.
8850 (gdb-display-gdb-buffer): Use pop-to-buffer.
8851
8852 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8853
8854 * progmodes/python.el: Don't set same-window-buffer-names.
8855
8856 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8857
8858 * window.el (display-buffer-alist): Add *Python*.
8859
8860 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8861
8862 * window.el (display-buffer-alist): Add entry for buffers
8863 previously handled same-window-*.
8864 (display-buffer-alist, display-buffer-default-action)
8865 (display-buffer-overriding-action): Mark as risky.
8866 (display-buffer-alist): Document action function changes.
8867 (display-buffer--same-window-action)
8868 (display-buffer--other-frame-action): New variables.
8869 (switch-to-buffer, display-buffer-other-frame): Use them.
8870 (display-buffer): Rename reuse-frame entry to reusable-frames.
8871 (display-buffer-reuse-selected-window): Function deleted.
8872 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8873 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8874 (display-buffer-special): New function.
8875 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8876 display-buffer-reuse-or-pop-window. Split off special-display
8877 part into display-buffer-special.
8878 (display-buffer-use-some-window): Don't perform any special
8879 pop-up-frames handling.
8880 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8881 (display-buffer--maybe-same-window): Rename from
8882 display-buffer-maybe-same-window.
8883
8884 * info.el: Don't set same-window-regexps.
8885 (info-setup): New function.
8886 (info-other-window, info): Call it.
8887
8888 * cus-edit.el: Don't set same-window-regexps.
8889 (customize-group): New argument.
8890 (customize-group-other-window): Use it.
8891 (customize-face, customize-face-other-window): Likewise.
8892 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8893
8894 * net/rlogin.el:
8895 * net/telnet.el:
8896 * progmodes/gud.el: Don't set same-window-regexps.
8897
8898 * cmuscheme.el:
8899 * ielm.el:
8900 * shell.el:
8901 * mail/sendmail.el:
8902 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8903
8904 2011-09-10 Juri Linkov <juri@jurta.org>
8905
8906 * isearch.el (isearch-edit-string): Remove obsolete mention of
8907 `C-w' (`isearch-yank-word-or-char') from docstring.
8908 (isearch-query-replace): Fix typo in docstring (bug#9466).
8909
8910 2011-09-10 Juri Linkov <juri@jurta.org>
8911
8912 * paren.el (show-paren-function): Don't show escaped parens.
8913 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8914
8915 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8916
8917 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8918 (mm-default-file-encoding): Remove autoload forms, they are
8919 replaced with autoload cookies in mml.el and mm-encode.el.
8920 (mail-add-attachment): New command.
8921 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8922 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8923 the doc string.
8924 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8925
8926 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8927
8928 * simple.el (count-words-region): Use buffer if there's no region
8929 (bug#9429).
8930
8931 2011-09-09 Juri Linkov <juri@jurta.org>
8932
8933 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8934 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8935 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8936
8937 2011-09-09 Alan Mackenzie <acm@muc.de>
8938
8939 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8940 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8941
8942 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8943
8944 Fix for Savannah bug#9392.
8945 * simple.el (mail-encode-mml): New defvar.
8946
8947 * mail/rmail.el (mail-encode-mml): Add a defvar.
8948 (rmail-enable-mime-composing): Default to t.
8949 (rmail-forward): Use MIME method of forwarding only if both
8950 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8951 Set mail-encode-mml non-nil if the MIME method was used.
8952
8953 * mail/sendmail.el (mml-to-mime): Add autoload form.
8954 (mail-encode-mml): Add a defvar.
8955 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8956 to nil.
8957 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8958 message through mml-to-mime, and reset mail-encode-mml to nil.
8959
8960 2011-09-09 Glenn Morris <rgm@gnu.org>
8961
8962 * woman.el (woman-if-body): When processing an .el block,
8963 do not delete the next .el block as well. (Bug#9447)
8964 (woman-special-characters): Add oq, cq, and hy characters.
8965
8966 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8967
8968 * window.el (window-deletable-p): Make sure window is live before
8969 invoking window-prev-buffers.
8970
8971 2011-09-08 Leo Liu <sdl.web@gmail.com>
8972
8973 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8974
8975 2011-09-08 Juri Linkov <juri@jurta.org>
8976
8977 * progmodes/compile.el (compilation-environment): Make it
8978 a defcustom (bug#8340).
8979
8980 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8981
8982 * window.el (frame-auto-delete): Rename to window-auto-delete.
8983 Make it control auto-deletion of windows and/or frames.
8984 (window-deletable-p): New argument FORCE. Rewrite conditions
8985 for deleting window/frame. (Bug#9419)
8986 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8987 Rewrite handling of case when window/frame can be deleted.
8988 (delete-windows-on): Call window-deletable-p with new FORCE
8989 argument t. (Bug#9456)
8990
8991 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8992
8993 * help-mode.el (help-mode): Restore autoload.
8994
8995 2011-09-07 Juri Linkov <juri@jurta.org>
8996
8997 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8998 `compilation-environment'. Set buffer-local
8999 `compilation-environment' to `thisenv' later after (funcall mode).
9000 (Bug#8340)
9001
9002 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9003 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9004 instead of replacing its value. (Bug#8340)
9005
9006 2011-09-07 Juri Linkov <juri@jurta.org>
9007
9008 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9009 based on text properties put by `grep-filter' instead of matching
9010 escape sequences.
9011 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9012 to the value of `grep-error-screen-columns' (bug#9438).
9013
9014 2011-09-07 Juri Linkov <juri@jurta.org>
9015
9016 * simple.el (next-error-highlight, next-error-highlight-no-select):
9017 Doc fix (bug#9432).
9018
9019 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9020
9021 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9022 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9023
9024 2011-09-07 Leo Liu <sdl.web@gmail.com>
9025
9026 * net/rcirc.el (rcirc-mode): Conditionally initialize
9027 rcirc-input-ring.
9028
9029 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * emacs-lisp/find-func.el (find-function-C-source): Only set
9032 find-function-C-source-directory after checking that we found a source
9033 file there (bug#9440).
9034
9035 2011-09-06 Alan Mackenzie <acm@muc.de>
9036
9037 * isearch.el (isearch-other-meta-char): Wherever a key list is
9038 unread, "unread" the prefix arg, too. This fixes bug #8901.
9039
9040 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9041
9042 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9043
9044 2011-09-05 Juri Linkov <juri@jurta.org>
9045
9046 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9047
9048 2011-09-05 Juri Linkov <juri@jurta.org>
9049
9050 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9051 keeping point where processing of grep matches begins, and
9052 continue to delete remaining escape sequences from the same point.
9053 (grep-filter): Make leading zero optional in "0?1;31m" because
9054 git-grep emits "\033[1;31m" escape sequences unlike expected
9055 "\033[01;31m" as GNU Grep does (bug#9408).
9056 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9057
9058 2011-09-05 Juri Linkov <juri@jurta.org>
9059
9060 * subr.el (y-or-n-p): Capitalize "yes".
9061
9062 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9063
9064 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9065 `tramp-cache-unload-hook' where appropriate.
9066 (tramp-methods): Rename `tramp-remote-sh' to
9067 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9068 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9069
9070 * net/tramp-sh.el (top): Don't require 'shell.
9071 (tramp-methods): Add `tramp-remote-shell' and
9072 `tramp-remote-shell-args' entries.
9073 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9074 (tramp-sh-handle-shell-command): Remove.
9075 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9076 Use `tramp-remote-shell'.
9077
9078 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9079
9080 * mail/sendmail.el (sendmail-query-once-function): Delete.
9081 (sendmail-query-once): Save directly to send-mail-function.
9082 Update message-send-mail-function too.
9083
9084 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9085
9086 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9087
9088 * progmodes/python.el (python-mode-map): Use correct function to
9089 start python interpreter from menu-bar (as reported by Geert
9090 Kloosterman).
9091 (inferior-python-mode-map): Fix typo.
9092 (python-shell-map): Remove.
9093
9094 2011-09-03 Deniz Dogan <deniz@dogan.se>
9095
9096 * net/rcirc.el (rcirc-print): Simplify code for
9097 rcirc-scroll-show-maximum-output. There is no need to walk
9098 through all windows to find the right one.
9099
9100 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9101
9102 * help.el (help-return-method): Doc fix.
9103
9104 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9105
9106 * window.el (window-deletable-p): Don't return a non-nil value
9107 when there's a buffer that was shown in the window before.
9108 (Bug#9419)
9109 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9110 Set window's previous buffers to nil.
9111
9112 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9113
9114 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9115 newline before and after the tag line, so it doesn't interfere
9116 with determining the paragraph direction of bidirectional text.
9117
9118 2011-09-03 Leo Liu <sdl.web@gmail.com>
9119
9120 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9121
9122 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9123
9124 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9125 (pop-to-buffer): Change interactive spec. Pass second argument
9126 directly to display-buffer.
9127 (display-buffer): Fix interactive spec. Use functionp to
9128 distinguish between a function and a list of functions.
9129
9130 * abbrev.el (edit-abbrevs):
9131 * arc-mode.el (archive-extract):
9132 * autoinsert.el (auto-insert):
9133 * bookmark.el (bookmark-bmenu-list):
9134 * files.el (find-file):
9135 * view.el (view-buffer):
9136 * progmodes/compile.el (compilation-goto-locus):
9137 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9138
9139 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9140
9141 * window.el (display-buffer-alist): Doc fix.
9142 (display-buffer): Add docstring. Don't treat
9143 display-buffer-default specially.
9144 (display-buffer-reuse-selected-window)
9145 (display-buffer-same-window, display-buffer-maybe-same-window)
9146 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9147 (display-buffer-pop-up-window)
9148 (display-buffer-reuse-or-pop-window)
9149 (display-buffer-use-some-window): New functions.
9150 (display-buffer-default-action): Use them.
9151 (display-buffer-default): Delete.
9152 (pop-to-buffer-1): Fix choice of actions.
9153
9154 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * minibuffer.el (completion--insert-strings): Don't get confused by
9157 completion entries that end with an LF char.
9158
9159 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9160
9161 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9162
9163 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9164
9165 * window.el (display-buffer): Restore interactive spec.
9166 (display-buffer-same-window, display-buffer-other-window):
9167 New functions.
9168 (pop-to-buffer-1): New function. Use the above.
9169 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9170 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9171
9172 * view.el (view-buffer-other-window, view-buffer-other-frame):
9173 Just use pop-to-buffer.
9174
9175 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9176
9177 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9178
9179 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9180
9181 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9182
9183 2011-08-31 Richard Stallman <rms@gnu.org>
9184
9185 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9186 of the separation of rmail-view-buffer from rmail-buffer.
9187 If you say no to "replace original", the decrypt is in the
9188 view buffer. If you say yes, the decrypt goes into the
9189 rmail buffer also.
9190
9191 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9192
9193 * window.el (display-buffer-window): Rewrite doc-string.
9194 (display-buffer-record-window): New function.
9195 (display-buffer-macro-specifiers)
9196 (display-buffer-even-window-sizes, display-buffer-set-height)
9197 (display-buffer-set-width, display-buffer-in-window)
9198 (display-buffer-reuse-window, display-buffer-split-specifiers)
9199 (display-buffer-side-specifiers, display-buffer-split-window-1)
9200 (display-buffer-split-window, display-buffer-split-atom-window)
9201 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9202 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9203 (display-buffer-other-window-means-other-frame)
9204 (display-buffer-normalize-special)
9205 (display-buffer-normalize-default)
9206 (display-buffer-normalize-argument)
9207 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9208 (display-buffer-normalize-specifiers, display-buffer-frame)
9209 (display-buffer-same-window, display-buffer-same-frame)
9210 (display-buffer-other-window)
9211 (display-buffer-same-frame-other-window)
9212 (display-buffer-other-frame, pop-to-buffer-same-window)
9213 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9214 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9215 (switch-to-buffer-same-frame)
9216 (switch-to-buffer-other-window-same-frame)
9217 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9218 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9219 (display-buffer-alist-set): Remove.
9220 (display-buffer-function, special-display-buffer-names)
9221 (special-display-regexps, special-display-function):
9222 In doc-string refer to display-buffer-window and quit-restore
9223 parameter.
9224 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9225 (special-display-frame-alist, special-display-popup-frame)
9226 (same-window-buffer-names, same-window-regexps, same-window-p)
9227 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9228 (split-window-preferred-function, split-height-threshold)
9229 (split-width-threshold, window-splittable-p)
9230 (split-window-sensibly, window--try-to-split-window)
9231 (window--frame-usable-p, even-window-heights)
9232 (window--even-window-heights, window--display-buffer-1)
9233 (window--display-buffer-2, display-buffer-other-frame):
9234 Restore old Emacs 23 code, order and doc-strings where applicable.
9235 (display-buffer-default, display-buffer-assq-regexp): New functions.
9236 (display-buffer-alist): Rewrite doc-string.
9237 (display-buffer-default-action)
9238 (display-buffer-overriding-action): New variables.
9239 (display-buffer, switch-to-buffer): Rewrite.
9240 (pop-to-buffer): Restore Emacs 23 behavior but use
9241 window-normalize-buffer-to-display.
9242 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9243 Restore Emacs 23 behavior but use
9244 window-normalize-buffer-to-switch-to.
9245 (pop-to-buffer-same-window): Rewrite.
9246 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9247 Rewrite using Emacs 23 options.
9248
9249 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9250
9251 * net/tramp.el (tramp-root-regexp): Remove.
9252 (tramp-completion-file-name-regexp-unified)
9253 (tramp-completion-file-name-regexp-separate)
9254 (tramp-completion-file-name-regexp-url): Don't use leading volume
9255 letter on win32 systems. (Bug#5303, Bug#9311)
9256 (tramp-drop-volume-letter): Simplify definition.
9257 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9258
9259 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9262 (bug#9356).
9263
9264 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9265
9266 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9267
9268 2011-08-29 Juri Linkov <juri@jurta.org>
9269
9270 * isearch.el (isearch-done): Don't display message "Mark saved"
9271 when arg `edit' is non-nil to prevent its flicker in the echo area.
9272
9273 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9274
9275 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9276 obsolete packages for deletion.
9277
9278 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9279
9280 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9281 (help-mode): Derive help-mode from special-mode. Don't invoke
9282 view-mode from help-mode.
9283 (help-xref-override-view-map): Remove.
9284 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9285 view-mode is not used anymore.
9286
9287 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9288
9289 * server.el (server-port): Doc fix.
9290
9291 * cus-theme.el (custom-theme-choose-mode): Inherit from
9292 special-mode (Bug#9124).
9293 (custom-theme-choose-mode-map): Add special-mode to parent.
9294
9295 2011-08-28 Alan Mackenzie <acm@muc.de>
9296
9297 * progmodes/cc-fonts.el
9298 (c-make-font-lock-BO-decl-search-function): New function.
9299 (c-basic-matchers-after - "Fontify the clauses after various
9300 keywords"): Extract the three keyword lists for the 3 erroneous
9301 constructs from the list of four, and use the new function above
9302 in place of an old one.
9303
9304 2011-08-28 Deniz Dogan <deniz@dogan.se>
9305
9306 * net/rcirc.el (rcirc-insert-prev-input)
9307 (rcirc-insert-next-input): Remove unused argument.
9308
9309 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9312
9313 2011-08-27 Alan Mackenzie <acm@muc.de>
9314
9315 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9316 handle function pointer parameters properly.
9317
9318 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9319
9320 * window.el (display-buffer-reuse-window): Fix case where
9321 selected window was reused with non-nil OTHER-WINDOW argument.
9322 (Bug#9381)
9323
9324 2011-08-27 Deniz Dogan <deniz@dogan.se>
9325
9326 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9327 oftc's NickServ messages.
9328
9329 2011-08-27 Glenn Morris <rgm@gnu.org>
9330
9331 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9332
9333 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9334
9335 * emacs-lisp/package.el (package-install): Call package-initialize
9336 if called interactively.
9337
9338 2011-08-26 Leo Liu <sdl.web@gmail.com>
9339
9340 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9341
9342 2011-08-25 Juri Linkov <juri@jurta.org>
9343
9344 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9345 `search-whitespace-regexp' (bug#9364).
9346
9347 2011-08-25 Juri Linkov <juri@jurta.org>
9348
9349 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9350 `regexp-search-ring' to their global values to protect from
9351 updating by `read-from-minibuffer' (bug#9185).
9352
9353 2011-08-25 Juri Linkov <juri@jurta.org>
9354
9355 * textmodes/ispell.el (ispell-command-loop): Add newline
9356 at the end of the "Use option `i'..." line.
9357
9358 2011-08-25 Juri Linkov <juri@jurta.org>
9359
9360 * battery.el (display-battery-mode): If `battery-status-function'
9361 or `battery-mode-line-format' is nil, display the message and set
9362 `display-battery-mode' to nil (bug#9363).
9363
9364 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9365
9366 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9367 bidi-string-mark-left-to-right; they are unnecessary now.
9368
9369 2011-08-25 Deniz Dogan <deniz@dogan.se>
9370
9371 * net/quickurl.el: Documentation typo fixes.
9372
9373 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9374
9375 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9376
9377 2011-08-25 Glenn Morris <rgm@gnu.org>
9378
9379 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9380
9381 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9382 (smtpmail-via-smtp): Handle nil response from smtp.
9383
9384 2011-08-24 Juri Linkov <juri@jurta.org>
9385
9386 * proced.el (proced-marked): Inherit from `error' instead of
9387 `font-lock-warning-face'.
9388
9389 * ibuffer.el (ibuffer-marked-face): Change default face from
9390 `font-lock-warning-face' to `warning'.
9391 (ibuffer-deletion-face): Change default face from
9392 `font-lock-type-face' to `error'.
9393
9394 * battery.el (battery-update): Use the face `error' instead of
9395 `font-lock-warning-face' (bug#6117).
9396
9397 2011-08-24 Juri Linkov <juri@jurta.org>
9398
9399 * faces.el (success): Change face color from "Green3" to
9400 "ForestGreen" on light background (bug#9353).
9401
9402 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9403
9404 * window.el (quit-window): Rename from quit-restore-window.
9405 Use same arglist as old quit-window.
9406 (frame-auto-delete): Doc fix.
9407
9408 * view.el (view-mode-exit): Use quit-window.
9409
9410 2011-08-24 Juri Linkov <juri@jurta.org>
9411
9412 * isearch.el (isearch-ring-adjust1): Start visiting previous
9413 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9414 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9415 for empty search string (when the last search string is reused
9416 automatically) to adjust the isearch ring to the last element and
9417 prepare the correct index for further M-p commands (bug#9185).
9418
9419 2011-08-24 Kenichi Handa <handa@m17n.org>
9420
9421 * international/ucs-normalize.el: If decomposition property of
9422 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9423 nil.
9424 (nfd, nfkd): Likewise.
9425
9426 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9427
9428 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9429 from process filters aren't reliably transmitted to the surrounding
9430 accept-process-output.
9431 (mpc-proc-check): New function.
9432 (mpc-proc-sync): Use it (bug#8293)
9433
9434 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9437 Add compatibility functions (bug#9313).
9438
9439 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9440
9441 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9442
9443 * international/uni-bidi.el: Regenerate.
9444
9445 2011-08-23 Kenichi Handa <handa@m17n.org>
9446
9447 * international/charprop.el:
9448 * international/uni-bidi.el:
9449 * international/uni-category.el:
9450 * international/uni-combining.el:
9451 * international/uni-comment.el:
9452 * international/uni-decimal.el:
9453 * international/uni-decomposition.el:
9454 * international/uni-digit.el:
9455 * international/uni-lowercase.el:
9456 * international/uni-mirrored.el:
9457 * international/uni-name.el:
9458 * international/uni-numeric.el:
9459 * international/uni-old-name.el:
9460 * international/uni-titlecase.el:
9461 * international/uni-uppercase.el: Regenerate.
9462
9463 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9464
9465 * help.el (help-window-setup): Fix message displayed when other
9466 window is reused. (Bug#9341)
9467
9468 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9471 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9472
9473 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9474 Mark obsolete.
9475 * shell.el (shell-parse-pcomplete-arguments): New function.
9476 (shell-completion-vars): Use it instead (bug#9160).
9477
9478 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9481 strings and comments (bug#9333).
9482
9483 * emacs-lisp/debug.el (debug-arglist): New function.
9484 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9485 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9486
9487 2011-08-22 Juri Linkov <juri@jurta.org>
9488
9489 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9490 Revert regexp that highlights output switches to its old
9491 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9492
9493 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9494 to check for empty output (bug#9226).
9495
9496 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9497
9498 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9499 symbol-constituent as the default, as that stops font-lock from
9500 working properly (Bug#8843).
9501
9502 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9503
9504 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9505 `coding-system-for-*' around the process open call to avoid
9506 auth-source side effects.
9507 (smtpmail-try-auth-methods): Expand the secret password.
9508 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9509 probe hangs.
9510
9511 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9514
9515 * emacs-lisp/find-func.el (find-function-noselect): New arg
9516 lisp-only.
9517
9518 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9519 signal an error for built-in functions (Bug#6664).
9520
9521 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9522
9523 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9524 (smtpmail-try-auth-methods): Use it.
9525
9526 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9527
9528 * font-lock.el (font-lock-fontify-region)
9529 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9530 (font-lock-default-unfontify-buffer)
9531 (font-lock-default-fontify-region)
9532 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9533
9534 * progmodes/compile.el (compilation-error-properties):
9535 Fix confusion between file struct and message struct (Bug#9319).
9536 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9537 `ant' regexp.
9538
9539 * net/browse-url.el (browse-url-firefox): Don't call
9540 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9541
9542 2011-08-20 Glenn Morris <rgm@gnu.org>
9543
9544 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9545
9546 * tutorial.el (tutorial--default-keys): Update some default bindings.
9547
9548 * files.el (hack-local-variables): Fully ignore case for "mode:".
9549
9550 2011-08-20 Alan Mackenzie <acm@muc.de>
9551
9552 Resolve invalid use of a regexp in regexp-opt.
9553
9554 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9555 detection for a java annotation.
9556
9557 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9558 detection for a java annotation.
9559
9560 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9561 handling for java.
9562 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9563
9564 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9565
9566 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9567 (Bug#9274).
9568
9569 2011-08-20 Alan Mackenzie <acm@muc.de>
9570
9571 Fontify CPP expressions correctly when starting in the middle of
9572 such a construct. Mainly for when jit-lock etc. starts a chunk
9573 here.
9574
9575 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9576 variable.
9577 (c-make-font-lock-search-form): New function, extracted from
9578 c-make-font-lock-search-function.
9579 (c-make-font-lock-search-function): Use the above function.
9580 (c-make-font-lock-context-search-function): New function.
9581 (c-cpp-matchers): Enhance the preprocessor expression case with
9582 the above function
9583 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9584 which takes an expression.
9585
9586 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9587
9588 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9589
9590 * window.el (display-buffer-reuse-window)
9591 (display-buffer-pop-up-window): Don't reuse or split a side
9592 window.
9593
9594 2011-08-19 Glenn Morris <rgm@gnu.org>
9595
9596 * files.el (hack-local-variables-prop-line, hack-local-variables):
9597 Downcase "Mode:". (Bug#9331)
9598
9599 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9600
9601 * international/characters.el: Add L and R categories.
9602
9603 * subr.el (bidi-string-mark-left-to-right): Rename from
9604 string-mark-left-to-right. Use category search.
9605
9606 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9607
9608 2011-08-18 Juri Linkov <juri@jurta.org>
9609
9610 * faces.el (error, warning, success): New faces with definitions
9611 copied from old default values of `font-lock-warning-face',
9612 `compilation-warning', `compilation-info' (bug#6117).
9613
9614 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9615
9616 * progmodes/compile.el (compilation-error): Inherit from `error'.
9617 (compilation-warning): Inherit from `warning'.
9618 (compilation-info): Inherit from `success'.
9619
9620 * dired.el (dired-marked): Inherit from `warning'.
9621 (dired-flagged): Inherit from `error'.
9622
9623 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9624
9625 * mail/smtpmail.el (auth-source): Require to avoid problems with
9626 binding variables (bug#9298). Also clean up some unused
9627 autoloads.
9628
9629 * net/network-stream.el (network-stream-open-starttls):
9630 Support using starttls.el without using gnutls-cli.
9631
9632 2011-08-17 Juri Linkov <juri@jurta.org>
9633
9634 * progmodes/grep.el (rgrep): Handle the case when
9635 `grep-find-command' is a cons cell (bug#9278).
9636
9637 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9638
9639 * window.el (display-buffer-pop-up-frame): Run frame creation
9640 function with BUFFER current (as special-display-popup-frame
9641 does). Reported by Drew Adams.
9642
9643 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9644
9645 * epa-mail.el: Simplify GnuPG group expansion using
9646 epg-expand-group.
9647 (epa-mail-group-alist, epa-mail-group-modtime)
9648 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9649 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9650 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9651 Remove.
9652
9653 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9654
9655 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9656
9657 2011-08-16 Alan Mackenzie <acm@muc.de>
9658
9659 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9660 Correct, to avoid the inside of macros.
9661
9662 2011-08-16 Richard Stallman <rms@gnu.org>
9663
9664 * epa-mail.el: Handle GnuPG group definitions.
9665 (epa-mail-group-alist, epa-mail-group-modtime)
9666 (epa-mail-gnupg-conf-file): New variables.
9667 (epa-mail-parse-groups, epa-mail-sync-groups)
9668 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9669 (epa-mail-expand-recipients): New functions.
9670 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9671
9672 * mail/rmail.el (rmail-epa-decrypt): New command.
9673
9674 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9675 Don't bind buffer-read-only, just inhibit-read-only.
9676 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9677 (epa-decrypt-armor-in-region): Make error message clearer.
9678
9679 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9682 and "a2b" to "ab" for `prefix'.
9683
9684 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9685
9686 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9687 filter groups.
9688 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9689 Fourquet (Bug#8804).
9690
9691 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9692
9693 * startup.el (argi): Declare as global variable (bug#9275).
9694
9695 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9696
9697 * subr.el (string-mark-left-to-right): Search the entire string
9698 for RTL script, not just the terminating character. Doc fix.
9699
9700 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9701
9702 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9703 New function.
9704 (js--regexp-literal, js-syntax-propertize-function): Remove.
9705 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9706 (js-mode-map): Don't rebind electric keys.
9707 (js-insert-and-indent): Remove.
9708 (js-mode): Setup electric-layout and electric-indent instead.
9709
9710 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9711
9712 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9713
9714 * epa.el (epa-progress-callback-function): Fix the logic of
9715 displaying progress.
9716 * epa-file.el (epa-file-insert-file-contents): Make progress
9717 display more user-friendly.
9718 (epa-file-write-region): Ditto.
9719
9720 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9721
9722 * subr.el (string-mark-left-to-right): New function.
9723
9724 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9725 Use string-mark-left-to-right.
9726 (list-buffers-noselect): Caller changed.
9727
9728 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9729 Use string-mark-left-to-right.
9730 (tabulated-list-print): Recenter after moving point.
9731
9732 2011-08-10 Juri Linkov <juri@jurta.org>
9733
9734 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9735 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9736 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9737
9738 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9739
9740 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9741 (Bug#7554).
9742
9743 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9744
9745 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9746 character. (Bug#6594)
9747
9748 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9749
9750 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9751 (image-dired--with-db-file): New macro.
9752 (image-dired-write-tags, image-dired-remove-tag)
9753 (image-dired-create-gallery-lists, image-dired-write-comments)
9754 (image-dired-get-comment, image-dired-mark-tagged-files)
9755 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9756 (image-dired-gallery-generate): Use insert-file-contents.
9757
9758 * time.el (display-time-world-list, display-time-world-display):
9759 * time-stamp.el (time-stamp-string):
9760 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9761 set-time-zone-rule (Bug#7337).
9762
9763 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9764
9765 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9766 (epg-error-to-string, epg-errors-to-string): New function.
9767 (epg-wait-for-completion): Reverse errors list.
9768 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9769 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9770 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9771 (epg-sign-keys, epg-generate-key-from-file)
9772 (epg-generate-key-from-string): Format errors by using
9773 epg-errors-to-string (bug#9255).
9774 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9775
9776 2011-08-07 Juri Linkov <juri@jurta.org>
9777
9778 * faces.el (list-faces-display): Remove extra angle bracket
9779 from `help-mode-map'.
9780
9781 * info.el (Info-history-toc-nodes): Doc fix.
9782
9783 * longlines.el (longlines-mode): Doc fix.
9784
9785 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9787 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9788 of statements and in a few more cases (bug#9183).
9789
9790 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9791 New functions.
9792 (cl-transform-lambda): Use them (bug#9239).
9793
9794 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9795
9796 * window.el (display-buffer-same-window)
9797 (display-buffer-same-frame, display-buffer-other-window)
9798 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9799 (pop-to-buffer-other-window)
9800 (pop-to-buffer-same-frame-other-window)
9801 (pop-to-buffer-other-frame): Make them defuns.
9802 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9803
9804 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9805
9806 * subr.el (make-composed-keymap): Move from C. Change calling
9807 convention, and improve docstring to bring attention to a subtle point.
9808 * minibuffer.el (completing-read-default): Adjust accordingly.
9809
9810 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9811
9812 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9813 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9814
9815 * net/trampver.el: Update release number.
9816
9817 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9820 "in" (bug#9190).
9821
9822 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9823
9824 * mail/sendmail.el (sendmail-query-once): Restore the current
9825 buffer after querying (bug#9074).
9826
9827 * dired.el (dired-flagged): Use different faces for marked and
9828 flagged files (bug#6117).
9829
9830 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9831 (bug#4433).
9832
9833 * ido.el (ido-mode): Switch off the message if called
9834 non-interactively.
9835
9836 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9837 before 587, since it appears that that's more likely to work for
9838 more people.
9839
9840 * cus-edit.el (custom-file): When running under emacs -q, always
9841 refuse to save the customizations, even if the .emacs file doesn't
9842 exist.
9843
9844 * info.el: Remove the `Info-beginning-of-buffer' function
9845 (bug#8325).
9846
9847 * net/network-stream.el (network-stream-open-starttls):
9848 Use `starttls-available-p' to see whether starttls.el can be used.
9849
9850 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9851
9852 * window.el (display-buffer-in-window): Don't set dedicated status
9853 of window here (Bug#9215).
9854 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9855 (display-buffer-pop-up-side-window)
9856 (display-buffer-in-side-window): Set dedicated status of window here.
9857
9858 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9859
9860 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9861 before binding generated-autoload-file.
9862
9863 2011-08-01 Deniz Dogan <deniz@dogan.se>
9864
9865 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9866
9867 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9868
9869 Sync with Tramp 2.2.2.
9870
9871 * net/trampver.el: Update release number.
9872
9873 2011-07-30 Juri Linkov <juri@jurta.org>
9874
9875 * dired-aux.el (dired-touch-initial): Remove function.
9876 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9877 current time, and `default' to the last modification time of the
9878 current marked file (bug#6887).
9879
9880 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9881
9882 * simple.el (goto-line): Use string-to-number to provide a
9883 numeric argument to read-number (bug#9163).
9884
9885 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9886
9887 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9888 connection process, it could be nil.
9889
9890 2011-07-27 Leo Liu <sdl.web@gmail.com>
9891
9892 Simplify url handling in rcirc-mode.
9893
9894 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9895 (rcirc-browse-url-at-mouse): Remove.
9896 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9897
9898 2011-07-26 Alan Mackenzie <acm@muc.de>
9899
9900 Fontify bitfield declarations properly.
9901
9902 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9903 (c-symbol-chars): Now exported as a lang variable.
9904 (c-not-primitive-type-keywords): New lang variable.
9905
9906 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9907 QT keyword "more" to prevent "more slots: ...." being spuriously
9908 parsed as a bitfield declaration.
9909
9910 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9911 Refactor and enhance to handle bitfield declarations.
9912 (c-punctuation-in): New function.
9913 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9914 declarations properly.
9915
9916 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9917
9918 * calendar/icalendar.el (icalendar--all-events): Take care of
9919 multiple vcalendars in a single file.
9920 (icalendar--convert-float-to-ical): Checkdoc fixes.
9921
9922 2011-07-25 Deniz Dogan <deniz@dogan.se>
9923
9924 * image.el (insert-image): Clarifying docstring.
9925
9926 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9927
9928 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9929 `tramp-send-command-and-check' if there is no error.
9930 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9931
9932 2011-07-22 Alan Mackenzie <acm@muc.de>
9933
9934 Prevent cc-langs.elc being loaded at run time.
9935
9936 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9937 cc-langs.
9938
9939 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9940 "(require 'cc-langs)". Quote a form so it will evaluate at
9941 (cc-mode's) compilation time.
9942
9943 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9944
9945 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9946 loading. (Bug#9114)
9947
9948 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9949
9950 * window.el (display-buffer-pop-up-window)
9951 (display-buffer-pop-up-side-window)
9952 (display-buffer-in-side-window): Call display-buffer-set-height
9953 and display-buffer-set-width after setting the new window's
9954 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9955
9956 2011-07-20 Sam Steingold <sds@gnu.org>
9957
9958 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9959 (etags-tags-included-tables): Call `convert-standard-filename' on
9960 the file names contained in TAGS so that windows Emacs can handle
9961 TAGS files created by cygwin ctags.
9962
9963 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9964
9965 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9966 which apparently didn't work.
9967
9968 2011-07-19 Roland Winkler <winkler@gnu.org>
9969
9970 * proced.el (proced-send-signal): For *Marked Processes* buffer
9971 put point at beginning of buffer.
9972
9973 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9974
9975 * proced.el (proced-format): Make header lines align with the text
9976 (bug#1779).
9977
9978 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9979
9980 * view.el (view-buffer): Allow running in `special' modes if we're
9981 visiting a file (bug#8615).
9982
9983 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9984
9985 * window.el (display-buffer-alist-of-strings-p)
9986 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9987 New functions.
9988 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9989 more accurately.
9990
9991 2011-07-18 Alan Mackenzie <acm@muc.de>
9992
9993 Fontify declarators properly when, e.g., a jit-lock chunk begins
9994 inside a declaration.
9995
9996 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9997
9998 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9999 New function.
10000 (c-complex-decl-matchers): Insert reference to
10001 c-font-lock-enclosing-decls.
10002
10003 * progmodes/cc-engine.el (c-backward-single-comment):
10004 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10005 to nil around calls to (forward-comment -1).
10006
10007 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10008
10009 * image.el (put-image): Doc typo fix.
10010
10011 * progmodes/etags.el (tags-search): Doc typo fix.
10012
10013 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10014 password if we get errors 550 to 554.
10015
10016 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10017
10018 * net/gnutls.el (gnutls-log-level): Remove.
10019
10020 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10021 indentation character (bug#6380).
10022
10023 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10024
10025 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10026 to clarify what the problem is (bug#4291).
10027
10028 * simple.el (current-kill): Clarify what
10029 `interprogram-paste-function' does (bug#7500).
10030 (auto-fill-mode): Document `auto-fill-function' in relation to
10031 `auto-fill-mode' (bug#2470).
10032
10033 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10034
10035 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10036 method if slot is read-only (bug#9035).
10037
10038 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10039
10040 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10041 * window.el (pop-to-buffer): Select window used even if it was
10042 selected before, see discussion of (Bug#8615), (Bug#6954).
10043 Pass argument NORECORD on to select-frame-set-input-focus.
10044
10045 2011-07-15 Glenn Morris <rgm@gnu.org>
10046
10047 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10048 Respect help-form.
10049
10050 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10051
10052 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10053 (gnutls-negotiate): Use it.
10054
10055 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10056
10057 * net/gnutls.el (gnutls-negotiate):
10058 Upcase `gnutls-algorithm-priority'.
10059
10060 2011-07-15 Glenn Morris <rgm@gnu.org>
10061
10062 * jka-compr.el (jka-compr-verbose): Move from here...
10063 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10064 Add missing :version tag.
10065 * info.el: No need to require jka-compr when compiling.
10066
10067 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10068
10069 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10070 (gnutls-negotiate): Use it.
10071
10072 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10073
10074 * info.el (Info-beginning-of-buffer): New command.
10075 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10076 announcing `b' as the key (bug#8325).
10077 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10078
10079 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10080
10081 * international/mule-cmds.el
10082 (describe-specified-language-support): Make the error message
10083 clearer (bug#8905).
10084
10085 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10086
10087 * isearch.el (isearch-barrier): Add a doc string, since it's
10088 mentioned in a function doc string (bug#8678).
10089
10090 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10091
10092 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10093 buffer argument (Bug#9083) and self-identifying label argument.
10094
10095 2011-07-15 Glenn Morris <rgm@gnu.org>
10096
10097 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10098
10099 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10100
10101 * man.el (Man-fontify-manpage): Fix message when formatting the
10102 man page (bug#7929).
10103
10104 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10105
10106 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10107 argument LRM; if non-nil, append an invisible LRM character to the
10108 buffer name.
10109 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10110 last argument non-nil, when formatting buffer names.
10111 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10112 paragraph direction.
10113
10114 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10115
10116 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10117 the man page name (bug#7929).
10118
10119 * image.el (put-image): Mention the `put-image' overlay property
10120 (bug#7834).
10121
10122 * scroll-bar.el (set-scroll-bar-mode): Mention that
10123 `scroll-bar-mode' lists the values (bug#7772).
10124
10125 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10126 command (bug#7729).
10127
10128 * rect.el (apply-on-rectangle): Return the point after the last
10129 operation.
10130 (string-rectangle): Go to the point after the last operation
10131 (bug#7522).
10132
10133 * printing.el (pr-toggle-region): Clarify the documentation
10134 slightly (bug#7493).
10135
10136 * time.el (display-time-update):
10137 Allow `display-time-mail-function' to return nil (bug#7158).
10138 Fix suggested by Detlev Zundel.
10139
10140 * vc/diff.el (diff): Clarify the order the file names are read
10141 (bug#7111).
10142
10143 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10144 the doc string (bug#7015).
10145
10146 * font-lock.el (font-lock-maximum-decoration): Mention what
10147 numeric levels mean (bug#6935).
10148
10149 * startup.el (initial-buffer-choice): Don't mention the `none'
10150 selection, which is against policy.
10151
10152 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10153
10154 * window.el (display-buffer-normalize-special):
10155 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10156
10157 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10158
10159 * subr.el (version<, version<=, version=): Mention "-CVS" and
10160 "-12345" alpha version numbers.
10161
10162 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10163
10164 * bindings.el: Add advertised binding for set-mark-command
10165 (Bug#5772).
10166
10167 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10168
10169 * bindings.el (mode-line-other-buffer):
10170 * bookmark.el (bookmark-bmenu-2-window):
10171 * bs.el (bs-cycle-next, bs-cycle-previous):
10172 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10173 switch-to-buffer.
10174
10175 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10176 Delete.
10177
10178 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10179
10180 * follow.el (follow-debug-message, follow-redisplay):
10181 * jka-cmpr-hook.el (with-auto-compression-mode):
10182 Fix typos in docstrings.
10183
10184 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10185
10186 * subr.el (with-silent-modifications): Clarify somewhat what the
10187 macro inhibits (bug#6525).
10188
10189 * simple.el (eval-expression): Note what it does if called
10190 interactively (bug#6495).
10191
10192 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10193
10194 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10195 Use pop-to-buffer buffer-or-name if it is nil.
10196
10197 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10198 Remove switch-to-buffer.
10199
10200 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10201
10202 * files.el (make-directory): Clarify that an error will be raised
10203 if there's an error (bug#6397).
10204
10205 * startup.el (initial-buffer-choice): Add `none' as a choice
10206 (bug#6234).
10207
10208 * subr.el (add-hook): Clarify section about buffer-local hooks
10209 (bug#6218).
10210
10211 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10212
10213 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10214
10215 * tabify.el (untabify): Preserve the current column so that point
10216 doesn't move (bug#6032).
10217
10218 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10219
10220 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10221 Rewrite to avoid awkward possessive "s" (bug#5986).
10222
10223 2011-07-13 Glenn Morris <rgm@gnu.org>
10224
10225 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10226 (dired-insert-directory): Give a message the first time
10227 if ls is found not to support --dired.
10228
10229 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10230
10231 * simple.el (toggle-truncate-lines): Clarify what is toggled
10232 (bug#5580). Text by Drew Adams.
10233
10234 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10235
10236 * simple.el (blink-matching-open): Make the error message from the
10237 last change less verbose.
10238
10239 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10240
10241 * font-lock.el (font-lock-comment-face): Use the high contrast
10242 "yellow" color for font-lock-comment-face on low color terminals
10243 using a dark background color (bug#4221).
10244
10245 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10246
10247 * dired.el (dired-insert-set-properties): Make the doc string
10248 reflect what it does now (bug#5325).
10249
10250 * simple.el (blink-matching-open): Say that we were unable to find
10251 the match within the limit, if we're limited (bug#5122).
10252
10253 * international/mule-cmds.el (prefer-coding-system): Add an
10254 example (bug#4869).
10255
10256 * progmodes/etags.el (tags-search): Document `file-list-form'
10257 (bug#4731).
10258
10259 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10260
10261 * net/browse-url.el (browse-url-default-browser)
10262 (browse-url-browser-function): Make the default browser choice a
10263 bit more logical (bug#4300). Also clean up the doc string.
10264
10265 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10266
10267 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10268 binary endings (bug#4440).
10269
10270 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10271
10272 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10273 which can be pretty annoying (bug#8971).
10274
10275 * jka-compr.el (jka-compr-verbose): New variable, and use
10276 throughout (bug#8971).
10277
10278 * info.el (Info-find-file): Fall back on the installation
10279 directory if we can't find the info node anywhere else.
10280
10281 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10282
10283 * vc/vc.el (vc-revert-file):
10284 Don't set file time-stamp in the past. (Bug#5181)
10285
10286 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10287
10288 * files.el (after-find-file): Give a better error message when
10289 trying to find a symlink that points to a file that doesn't exist
10290 (bug#4398).
10291
10292 * progmodes/cc-vars.el: Remove (probably) misleading comment
10293 (bug#4396).
10294
10295 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10296
10297 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10298
10299 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10300
10301 * mouse-sel.el: Hack restoring functionality, while keeping
10302 compatibility with 2010-07-03 changes to mouse selection.
10303 (mouse-sel-primary-overlay): New var.
10304 (mouse-sel-selection-alist): Use it.
10305 (mouse-sel-mode): Doc fix; remove points that are default features
10306 of mouse.el.
10307
10308 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10309
10310 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10311 Fix previous fix (bug#2490).
10312
10313 2011-07-12 Roland Winkler <winkler@gnu.org>
10314
10315 * textmodes/bibtex.el (bibtex-initialize):
10316 Use pop-to-buffer-same-window.
10317 (bibtex-search-entries): Fix interactive call.
10318
10319 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10320
10321 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10322 Fontise bytecomp Error lines more correctly (bug#2490).
10323 Fix suggested by Johan Bockgård.
10324
10325 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10326
10327 * dired-x.el (dired-guess-default): Use `delete-dups'.
10328
10329 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10330
10331 * dired.el (dired-mark-prompt):
10332 * dired-aux.el (dired-read-shell-command): Doc fix.
10333
10334 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10335
10336 * mail/sendmail.el (sendmail-query-once):
10337 Use `customize-save-variable' unconditionally, now that it works under
10338 emacs -Q.
10339
10340 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10341
10342 * cus-edit.el (custom-file): Take an optional no-error variable.
10343 (customize-save-variable): Set the variable, and give a warning if
10344 running under "emacs -q".
10345
10346 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10347
10348 * loadhist.el (unload-feature-special-hooks):
10349 Add `auto-coding-functions', `fill-nobreak-predicate' and
10350 `find-directory-functions' (bug#5327).
10351
10352 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10353
10354 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10355
10356 * cus-edit.el (custom-guess-name-alist): -alist variables should
10357 use the `alist' type (bug#3120). Suggested by Drew Adams.
10358
10359 * printing.el: Add documentation to all the `pr-toggle-' commands.
10360
10361 2011-07-11 Leo Liu <sdl.web@gmail.com>
10362
10363 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10364 backends where it makes sense (bug#2623).
10365
10366 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10367
10368 * dired-x.el (dired-guess-default): Remove duplicate shell command
10369 entries (bug#2028).
10370 (dired-guess-default): Fix grammar in doc string (bug#2028).
10371 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10372
10373 * subr.el (remove-duplicates): New conveniency function.
10374
10375 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10376
10377 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10378 (bug#1526).
10379
10380 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10381
10382 * window.el (display-buffer-normalize-default): Don't invert
10383 meaning of even-window-heights. Reported by Eli Zaretskii
10384 <eliz@gnu.org>.
10385
10386 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10387
10388 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10389
10390 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10391
10392 * window.el (display-buffer): Fix arguments to
10393 display-buffer-reuse-window in last change.
10394
10395 * faces.el (link): Use a less saturated blue on light backgrounds.
10396
10397 * startup.el (fancy-startup-text, fancy-about-text)
10398 (fancy-startup-tail): Use font-lock faces, for background safety.
10399
10400 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10401
10402 * emulation/viper-cmd.el (viper-change-state-to-vi):
10403 Limit triggering of abbrev expansion (Bug#9038).
10404
10405 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10406
10407 * window.el (display-buffer-default-specifiers): Remove.
10408 (display-buffer-macro-specifiers): Remove default specifiers.
10409 (display-buffer-alist): Default to nil.
10410 (display-buffer-reuse-window): New optional argument other-window.
10411 (display-buffer-pop-up-window): Allow splitting internal
10412 windows. Check whether a live window was created.
10413 (display-buffer-other-window-means-other-frame)
10414 (display-buffer-normalize-arguments): Rename to
10415 display-buffer-normalize-argument and rewrite. Set the
10416 other-window specifier.
10417 (display-buffer-normalize-special): New function.
10418 (display-buffer-normalize-options): Rename to
10419 display-buffer-normalize-default and rewrite.
10420 (display-buffer-normalize-options-inhibit): Remove.
10421 (display-buffer-normalize-specifiers): Rewrite.
10422 (display-buffer): Process other-window specifier and call
10423 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10424 more faithfully.
10425 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10426 (display-buffer-alist-set): Don't handle 'unset default values.
10427 (display-buffer-in-window, display-buffer-alist-set):
10428 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10429 <tassilo@member.fsf.org>.
10430
10431 2011-07-09 Leo Liu <sdl.web@gmail.com>
10432
10433 * register.el (insert-register): Restore accidental change on
10434 2011-06-26. (Bug#9028)
10435
10436 2011-07-09 Glenn Morris <rgm@gnu.org>
10437
10438 * subr.el (remq): Handle the empty list. (Bug#9024)
10439
10440 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10441
10442 * mail/sendmail.el (send-mail-function): No longer delay custom
10443 initialization.
10444 * custom.el (custom-initialize-delay): Doc fix.
10445
10446 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10449
10450 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10451
10452 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10453 human-friendly prompt.
10454
10455 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10458 provided by a particular plugin.
10459
10460 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10461
10462 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10463 save customizations (with "emacs -Q"), just set the variable
10464 instead of erroring out.
10465
10466 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10467
10468 2011-07-08 Juri Linkov <juri@jurta.org>
10469
10470 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10471 (archive-zip-update-case): Use 7z if found by `executable-find'.
10472 The order of searching the available programs is the same as in
10473 `archive-zip-extract' (bug#8968).
10474
10475 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10476
10477 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10478 (menu-bar-options-menu): Tweak descriptions.
10479
10480 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10481
10482 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10483 menu items into verb phrases (bug#1421). Also refill to fit under
10484 80 columns.
10485
10486 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10487
10488 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10489 (Info-read-node-name): Doc fix (Bug#1084).
10490
10491 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10492 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10493 (end-of-sexp, beginning-of-sexp)
10494 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10495 (forward-symbol, forward-same-syntax, word-at-point)
10496 (sentence-at-point): Doc fix (Bug#1144).
10497
10498 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10499
10500 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10501 should cover it (bug#1281).
10502
10503 * cus-edit.el (custom-show): Mark as obsolete.
10504
10505 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10506 negotiation fails, then possibly try again with a non-encrypted
10507 connection (bug#9017).
10508
10509 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10510 be used.
10511
10512 2011-07-07 Richard Stallman <rms@gnu.org>
10513
10514 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10515 property, and handle its changed format.
10516 Look for the correct line number.
10517 Use file's line contents (but not past first =) to find
10518 correct line in message.
10519
10520 2011-07-07 Kenichi Handa <handa@m17n.org>
10521
10522 * international/characters.el (build-unicode-category-table):
10523 Delete it.
10524 (unicode-category-table): Set it by unicode-property-table-internal.
10525
10526 * international/mule-cmds.el (char-code-property-alist): Move to
10527 to src/chartab.c.
10528 (get-char-code-property): Call unicode-property-table-internal to
10529 load a file. Call get-unicode-property-internal where necessary.
10530 (put-char-code-property): Call unicode-property-table-internal to
10531 load a file. Call put-unicode-property-internal where necessary.
10532 put-unicode-property-internal where necessary.
10533 (char-code-property-description):
10534 Call unicode-property-table-internal to load a file.
10535
10536 * international/charprop.el:
10537 * international/uni-bidi.el:
10538 * international/uni-category.el:
10539 * international/uni-combining.el:
10540 * international/uni-comment.el:
10541 * international/uni-decimal.el:
10542 * international/uni-decomposition.el:
10543 * international/uni-digit.el:
10544 * international/uni-lowercase.el:
10545 * international/uni-mirrored.el:
10546 * international/uni-name.el:
10547 * international/uni-numeric.el:
10548 * international/uni-old-name.el:
10549 * international/uni-titlecase.el:
10550 * international/uni-uppercase.el: Regenerate.
10551
10552 * loadup.el: Load international/charprop.el before
10553 international/characters.
10554
10555 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10556
10557 * window.el (next-buffer, previous-buffer): Signal an error if
10558 called from a minibuffer window.
10559
10560 * bindings.el: Revert 2011-07-04 change.
10561
10562 2011-07-06 Richard Stallman <rms@gnu.org>
10563
10564 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10565 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10566 Treat markers like ints.
10567 (rmail-mime-entity): Doc fix.
10568
10569 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10570
10571 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10572 defcustom again for backwards compatibility.
10573
10574 * simple.el (shell-command-on-region): Fill.
10575
10576 * dired-aux.el (dired-kill-line): Add a doc string.
10577
10578 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10579 to "\\sw\\|\\s_" (bug#358).
10580
10581 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10582 (dired-unmark-backward): Ditto.
10583 (dired-flag-backup-files): Ditto.
10584
10585 * dired-x.el (dired-mark-sexp): Ditto.
10586
10587 2011-07-06 Richard Stallman <rms@gnu.org>
10588
10589 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10590 (rmail-mime-entity): New arg TRUNCATED.
10591 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10592 New functions.
10593 (rmail-mime-save): Warn if entity is truncated.
10594 (rmail-mime-toggle-hidden): Likewise, for showing.
10595 (rmail-mime-process-multipart): Record when an entity is truncated.
10596
10597 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10598 if ENTITY is a string.
10599
10600 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10601
10602 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10603 of faces when `M-C-x'-ing their definitions (bug#8378).
10604 Also clean up the code slightly.
10605
10606 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10607 because that makes the colors go away.
10608
10609 * mail/sendmail.el (send-mail-function): Change the default to
10610 `sendmail-query-once'.
10611 (sendmail-query-once): Add an autoload cookie.
10612
10613 * net/network-stream.el (network-stream-open-starttls): Try using
10614 a plain connection even if the server offered STARTTLS, and we
10615 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10616 capability. This should make smtpmail.el work in slightly more
10617 configurations.
10618
10619 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10620
10621 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10622 New defun.
10623 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10624
10625 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10626
10627 * progmodes/sql.el: Version 3.0
10628 (sql-product-alist): Add product :completion-object,
10629 :completion-column, and :statement attributes.
10630 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10631 (sql-mode-syntax-table): Mark all punctuation.
10632 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10633 ansi keywords.
10634 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10635 (sql-mode-oracle-font-lock-keywords): Improve.
10636 (sql-oracle-show-reserved-words): New function for development.
10637 (sql-product-font-lock): Simplify for source code buffers.
10638 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10639 New functions.
10640 (sql-highlight-product): Set product specific syntax table.
10641 (sql-mode-map): Add statement movement functions.
10642 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10643 New variable.
10644 (sql-statement-regexp, sql-beginning-of-statement)
10645 (sql-end-of-statement, sql-signum): New functions.
10646 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10647 (sql-show-sqli-buffer): Bug fix.
10648 (sql-interactive-mode): Store connection data as buffer local.
10649 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10650 with sql-interactive-mode.
10651 (sql-save-connection): Save buffer local settings.
10652 (sql-connection-menu-filter): Change menu entry name.
10653 (sql-product-interactive): Bug fix.
10654 (sql-preoutput-hold): New variable.
10655 (sql-interactive-remove-continuation-prompt): Bug fixes.
10656 (sql-debug-redirect): New variable.
10657 (sql-str-literal): New function.
10658 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10659 Redesign.
10660 (sql-oracle-save-settings, sql-oracle-restore-settings)
10661 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10662 (sql-completion-object, sql-completion-column)
10663 (sql-completion-sqlbuf): New variables.
10664 (sql-build-completions-1, sql-build-completions)
10665 (sql-try-completion): New functions.
10666 (sql-read-table-name): Use them.
10667 (sql-contains-names): New buffer local variable.
10668 (sql-list-all, sql-list-table): Use it.
10669 (sql-oracle-completion-types): New variable.
10670 (sql-oracle-completion-object, sql-sqlite-completion-object)
10671 (sql-postgres-completion-object): New functions.
10672
10673 2011-07-06 Glenn Morris <rgm@gnu.org>
10674
10675 * window.el (pop-to-buffer): Doc fix.
10676
10677 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10678
10679 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10680
10681 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10682
10683 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10684
10685 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10686
10687 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10688
10689 * button.el (button): Inherit from link face. Suggested by Dan
10690 Nicolaescu.
10691
10692 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * progmodes/gdb-mi.el: Fit in 80 columns.
10695 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10696 switch-to-buffer.
10697
10698 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10699 if imenu is simply not configured (bug#8941).
10700
10701 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10702
10703 * allout.el (allout-post-undo-hook): New allout outline-change
10704 event hook to signal undo activity.
10705 (allout-post-command-business): Run allout-post-undo-hook if an
10706 undo just occurred.
10707 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10708 * allout-widgets.el (allout-widgets-after-undo-function):
10709 Ensure the integrity of the current item's decoration after it has been
10710 in the vicinity of an undo.
10711 (allout-widgets-mode): Include allout-widgets-after-undo-function
10712 on the new allout-post-undo-hook.
10713
10714 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10715
10716 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10717 Let define-derived-mode define it.
10718 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10719 cycles of abbrev-table inheritance (bug#8998).
10720
10721 2011-07-05 Roland Winkler <winkler@gnu.org>
10722
10723 * textmodes/bibtex.el: Add support for biblatex.
10724 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10725 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10726 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10727 (bibtex-entry-alist, bibtex-field-alist): New variables.
10728 (bibtex-entry-field-alist): Obsolete alias for
10729 bibtex-BibTeX-entry-alist.
10730 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10731 (bibtex-set-dialect): New command.
10732 (bibtex-entry-type, bibtex-entry-head)
10733 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10734 Bind via bibtex-set-dialect.
10735 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10736 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10737 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10738 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10739 Define via bibtex-set-dialect.
10740 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10741 Obey bibtex-no-opt-remove-re.
10742 (bibtex-vec-push, bibtex-vec-incr): New functions.
10743 (bibtex-format-entry, bibtex-field-list)
10744 (bibtex-print-help-message, bibtex-validate)
10745 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10746
10747 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10748
10749 * progmodes/compile.el (compilation-goto-locus):
10750 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10751 * bs.el (bs-cycle-next, bs-cycle-previous):
10752 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10753 * bindings.el (mode-line-other-buffer):
10754 * autoinsert.el (auto-insert):
10755 * arc-mode.el (archive-extract):
10756 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10757
10758 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10759
10760 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10761 Fix check of `emacs-lock-unlockable-modes'.
10762 Coerce true values of `emacs-lock--try-unlocking' to t.
10763
10764 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10765
10766 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10767 * emacs-lock.el: New file.
10768
10769 2011-07-05 Julien Danjou <julien@danjou.info>
10770
10771 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10772 than `boundp' to check if face is set.
10773
10774 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10775
10776 * register.el (registerv-make):
10777 * window.el (window-min-height): Fix typos in docstrings.
10778
10779 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10780
10781 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10782 Update doc string.
10783
10784 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10785
10786 * server.el (server-execute): Catch quit and call
10787 `server-return-error' to pass the error back to emacsclient and
10788 close the connection (bug#8942).
10789
10790 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10791
10792 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10793 insecure exception for current topic. Also note that auto-saves
10794 are handled differently.
10795
10796 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10797 State variables for tracking auto-save inhibition situation.
10798
10799 (allout-write-contents-hook-handler): Rename from
10800 'allout-write-file-hook-handler', and describe how it depends on
10801 write-contents-functions sensitivity to non-nil value to prevent
10802 file write.
10803
10804 (allout-auto-save-hook-handler): Remove. auto-save does not check
10805 this in individual buffers, only in the starting buffer, so this
10806 is not the right way for us to inhibit auto-save in a buffer
10807 according to its condition.
10808
10809 (allout-mode): Use new allout-write-contents-hook-handler, and
10810 only with write-contents-functions. Remove auto-save provisions -
10811 they're implemented elsewhere.
10812
10813 (allout-before-change-handler): If undo is in progress, note that
10814 for attention of allout-post-command-business.
10815
10816 (allout-post-command-business): If the command we're following was
10817 an undo, check for change in the status of encrypted items and
10818 adjust auto-save inhibitions accordingly.
10819
10820 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10821 according to whether there are or aren't any plain-text topics
10822 pending encryption.
10823
10824 (allout-inhibit-auto-save-info-for-decryption):
10825 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10826 if there are plain-text topics pending encryption.
10827
10828 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10829 buffer-saved-size and some allout state to not inhibit auto-saves
10830 if there are no longer any plain-text topics pending encryption.
10831
10832 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10833 No longer provide for exemption of the current topic.
10834
10835 2011-07-04 Juri Linkov <juri@jurta.org>
10836
10837 Add 7z operations to delete and save changed members (bug#8968).
10838 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10839 New defcustoms.
10840 (archive-7z-write-file-member): New function.
10841 (archive-7z-summarize): Fix the number of dashes in the
10842 listing output.
10843
10844 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10847 (bug#8958).
10848
10849 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10850
10851 * bindings.el: Ignore next-buffer and previous-buffer in
10852 minibuffer-local-map.
10853
10854 * font-lock.el (font-lock-builtin-face): Change light background
10855 color to dark slate blue (Bug#6693).
10856
10857 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10858
10859 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10860
10861 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10864 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10865 Add switch-to-buffer.
10866
10867 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10868
10869 * isearch.el (isearch-search-fun-function): Clarify further the
10870 meaning of the function returned.
10871
10872 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10873
10874 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10875
10876 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10877 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10878 Use it.
10879 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10880 `tramp-default-remote-path' does not exist.
10881 (tramp-send-command-and-read): New optional argument NOERROR.
10882 (tramp-open-connection-setup-interactive-shell)
10883 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10884 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10885 (tramp-process-sentinel): Flush also process' connection property.
10886 (tramp-sh-handle-start-file-process): Do not set process
10887 sentinel. It is done now ...
10888 (tramp-maybe-open-connection): ... here. (Bug#8929)
10889
10890 2011-07-04 MON KEY <monkey@sandpframing.com>
10891
10892 * play/animate.el (animate-string): Doc fixes and allow changing
10893 the buffer name (bug#5417).
10894
10895 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10896
10897 * play/animate.el (animation-buffer-name): Rename from *animate*.
10898
10899 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10900
10901 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10902 This is simpler and helps future-proof the code.
10903 (timer-until): Use time-subtract and float-time.
10904 (timer--time-less-p): Use time-less-p.
10905
10906 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10907
10908 * type-break.el (timep): Use the value of `float-time' to avoid a
10909 byte-compiler warning.
10910
10911 * server.el (server-eval-and-print): Return any result, even nil.
10912
10913 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10914
10915 * type-break.el: Accept time formats that the builtins accept.
10916 (timep, type-break-time-difference): Accept any format that
10917 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10918 This is simpler and helps future-proof the code.
10919 (type-break-time-difference): Round rather than ignoring
10920 subseconds components.
10921
10922 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10923
10924 * info.el (Info-apropos-matches): Make non-interactive, since it
10925 doesn't seem to do anything useful as a command (bug#8829).
10926
10927 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10928
10929 * frame.el (frame-background-mode, frame-set-background-mode):
10930 Move from faces.el.
10931 (frame-default-terminal-background): New function.
10932
10933 * custom.el (custom-push-theme): Don't record faces in `changed'
10934 theme; this doesn't work correctly for per-frame face settings.
10935 (disable-theme): Use face-set-after-frame-default to reset faces.
10936 (custom--frame-color-default): New function.
10937
10938 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10939
10940 * dired.el (dired-flagging-regexp): Remove unused variable
10941 (bug#8769).
10942
10943 2011-03-29 Kevin Ryde <user42@zip.com.au>
10944
10945 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10946 `perl-Test2' extend to match possible "fail #N" rep count
10947 (bug#8377).
10948
10949 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10950
10951 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10952 `smtpmail-via-smtp' now returns the error instead of nil.
10953
10954 * isearch.el (isearch-search-fun-function): Clarify the doc string
10955 (bug#8101).
10956
10957 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10958
10959 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10960 unnecessary spaces (bug#8987).
10961
10962 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10963
10964 * net/network-stream.el (open-network-stream): Use the
10965 :end-of-capability command thoughout.
10966
10967 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10968
10969 * net/network-stream.el (open-network-stream): Add the
10970 :end-of-capability command parameter, used by pop3.el.
10971
10972 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10973
10974 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10975
10976 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10977 for list)" (bug#6475).
10978
10979 * files.el (file-expand-wildcards): Ignore non-readable
10980 sub-directories while trying to find matches instead of signaling
10981 an error (bug#6297).
10982
10983 * man.el (Man-reference-regexp): Allow matching possible
10984 word-wrapped references (bug#6289).
10985
10986 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10987 for consistency with the other vc buffers (bug#6197).
10988 (vc-checkin): Ditto.
10989
10990 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10991
10992 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10993
10994 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10995
10996 * custom.el (defcustom): Clarify that :set is only used in the
10997 Customize user interface (bug#6089).
10998
10999 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11000 associated with a file, refuse to run instead of erroring out
11001 (bug#6084).
11002
11003 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11004 the doc string, since it appears that using `fill-column' always
11005 controls the width (bug#7845).
11006
11007 * simple.el (shell-command-on-region): Say where the error output
11008 went if `shell-command-default-error-buffer' is set (bug#6857).
11009
11010 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11011
11012 * allout.el (allout-yank-processing): Adjust cursor position for
11013 backwards-deleted space.
11014
11015 (allout-rebullet-heading): Register changes with
11016 allout-exposure-changed-hook, so the modified topic is properly
11017 decorated.
11018
11019 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11020
11021 * minibuffer.el (completion-in-region): Document PREDICATE
11022 (bug#7136).
11023
11024 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11025 of keyword/argument pairs (bug#6904).
11026
11027 * replace.el (multi-occur):
11028 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11029
11030 2011-07-02 Drew Adams <drew.adams@oracle.com>
11031
11032 * dired.el (dired-mark-if): Make the message about whether it's
11033 marking or unmarking clearer (bug#8523).
11034
11035 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11036
11037 * disp-table.el (display-table-print-array): New function.
11038 (describe-display-table): Use it to print the vectors more pretty
11039 (Bug#8859).
11040
11041 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11042
11043 * window.el (window-state-get-1): Don't assign clone numbers.
11044 Add clone-of item to list of window parameters.
11045 (window-state-put-2): Don't process clone numbers.
11046 (display-buffer-alist): Fix doc-string.
11047
11048 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * subr.el (remq): Don't allocate if it's not needed.
11051 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11052 (keymap--merge-bindings): New functions.
11053 (keymap-canonicalize): Use them to refine the canonicalization.
11054 * minibuffer.el (minibuffer-local-completion-map)
11055 (minibuffer-local-must-match-map): Move initialization from C.
11056 (minibuffer-local-filename-completion-map): Move initialization from C;
11057 don't inherit from anything here.
11058 (minibuffer-local-filename-must-match-map): Make obsolete.
11059 (completing-read-default): Use make-composed-keymap to combine
11060 minibuffer-local-filename-completion-map with either
11061 minibuffer-local-must-match-map or
11062 minibuffer-local-filename-completion-map.
11063
11064 2011-07-01 Glenn Morris <rgm@gnu.org>
11065
11066 * type-break.el (type-break-time-sum): Use dolist.
11067
11068 * textmodes/flyspell.el (flyspell-word-search-backward):
11069 Replace CL function.
11070
11071 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * mouse.el (mouse--strip-first-event): New function.
11074 (function-key-map): Use it to map fringe clicks to normal clicks
11075 by default.
11076
11077 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11078 (vc-bzr-revision-completion-table): Add support for annotate and date.
11079
11080 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11081 inherit from parent.
11082
11083 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11084
11085 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11086 (dired-show-file-type): Doc fixup (bug#8818).
11087
11088 * dired.el (dired-mode): Fix up the doc string as suggested by
11089 Drew Adams (bug#8817).
11090
11091 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11092 cookie, since the manual says that it should be possible to add
11093 this function to `find-file-hook' (bug#8709).
11094
11095 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11096
11097 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11098 here. Noted Ted Zlatanov as the maintainer.
11099 (cfengine-common-settings, cfengine-common-syntax): New functions
11100 to set up common things between `cfengine-mode' and
11101 `cfengine3-mode'.
11102 (cfengine3-mode): New mode.
11103 (cfengine3-defuns cfengine3-defuns-regex
11104 (cfengine3-class-selector-regex cfengine3-category-regex)
11105 (cfengine3-vartypes cfengine3-font-lock-keywords)
11106 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11107 (cfengine3-indent-line): Add from cfengine3.el.
11108
11109 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11110
11111 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11112
11113 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11114
11115 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11116
11117 * window.el (same-window-buffer-names, same-window-regexps)
11118 (same-window-p, special-display-frame-alist)
11119 (special-display-popup-frame, special-display-function)
11120 (special-display-buffer-names, special-display-regexps)
11121 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11122 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11123 (split-window-preferred-function, split-height-threshold)
11124 (split-width-threshold, even-window-heights)
11125 (display-buffer-mark-dedicated, window-splittable-p)
11126 (split-window-sensibly, window-safely-shrinkable-p):
11127 Un-obsolete.
11128 (display-buffer): Don't spread args with function specifier
11129 because special-display-popup-frame won't like it.
11130
11131 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11132
11133 Time-stamp simplifications and fixes.
11134 These improve accuracy slightly, and future-proof the code
11135 against some potential changes to current-time format.
11136
11137 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11138 by using time-since and float-time.
11139
11140 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11141 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11142 + NNN microseconds".
11143
11144 * type-break.el (type-break-time-sum): Rewrite using time-add.
11145
11146 * play/hanoi.el (hanoi-current-time-float): Remove.
11147 All uses replaced by float-time.
11148
11149 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11150 This yields a more-accurate answer.
11151 (rng-time-to-float): Remove; no longer needed.
11152
11153 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11154
11155 * calendar/timeclock.el (timeclock-seconds-to-time):
11156 Defalias to seconds-to-time, since they're the same thing.
11157
11158 * emacs-lisp/elp.el (elp-elapsed-time):
11159 * emacs-lisp/benchmark.el (benchmark-elapse):
11160 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11161
11162 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * window.el (bury-buffer): Don't iconify the only frame.
11165 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11166 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11167
11168 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11169
11170 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11171 Add mouse-yank-primary.
11172
11173 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11174
11175 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11176
11177 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11180 (find-library-name): Use it to find relative load names when provided
11181 absolute file name (bug#8803).
11182
11183 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11184
11185 * textmodes/flyspell.el (flyspell-word): Consider words that
11186 differ only in case as potential doublons (bug#5687).
11187
11188 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11189 Remove two rather uninteresting debugging-like messages to make
11190 debbugs.el more silent.
11191
11192 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11193 a password-like phrase.
11194
11195 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11196
11197 * progmodes/cc-guess.el: New file.
11198
11199 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11200
11201 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11202 derived from `c-basic-common-init'.
11203
11204 * progmodes/cc-mode.el (top-level): Require cc-guess.
11205 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11206
11207 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11208
11209 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11210
11211 2011-06-30 Alan Mackenzie <acm@muc.de>
11212
11213 * progmodes/cc-engine.el (c-guess-continued-construct):
11214 Correct the handling of template-args-cont, particularly for when font
11215 lock is disabled. Name this case as "CASE G".
11216
11217 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11218
11219 * allout.el (allout-yank-processing): Fix injection of extra space
11220 between bullet and non-whitespace character in first topic when
11221 pasting, ensuring that the actual spacing in the pasted topic
11222 following the bullet char is preserved. This extra space was
11223 causing pasted encrypted topics to get a decrypted status even
11224 when the content was actually still encrypted. Now the decryption
11225 status from before the paste is preserved.
11226
11227 (allout-flag-region): Set all allout overlays so they evaporate
11228 when reduced to zero length (evanescent), to prevent overlay
11229 leakage.
11230
11231 2011-06-30 Glenn Morris <rgm@gnu.org>
11232
11233 * w32-fns.el (w32-charset-info-alist): Declare.
11234
11235 * find-dired.el (find-grep-options): Simplify.
11236
11237 * term/ns-win.el (ns-set-resource): Declare.
11238
11239 * ses.el (row, col): Declare dynamic variables honestly.
11240
11241 * textmodes/reftex-parse.el (index-tags): Declare.
11242
11243 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11244
11245 * cus-edit.el (customize-push-and-save): New function.
11246
11247 * files.el (hack-local-variables-confirm): Use it.
11248
11249 * custom.el (load-theme): New arg NO-CONFIRM.
11250 Use customize-push-and-save (Bug#8720).
11251 (custom-enabled-themes): Doc fix.
11252
11253 * cus-theme.el (customize-create-theme)
11254 (custom-theme-merge-theme): Callers to load-theme changed.
11255
11256 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11257
11258 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11259 short URLs have at least one dot in them (bug #7614).
11260
11261 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11262 nil, because using a pty is apparently too slow (bug #895).
11263
11264 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11265
11266 * mail/sendmail.el (sendmail-query-once): New function.
11267 (sendmail-query-once-function): New variable.
11268
11269 2011-06-29 Glenn Morris <rgm@gnu.org>
11270
11271 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11272
11273 * ses.el (top-level): Require cl when compiling.
11274 (ses-set-localvars): Fix error statement.
11275 Call it at compile time to silence a storm of warnings.
11276
11277 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11278
11279 * window.el (normalize-live-buffer): Rename to
11280 window-normalize-buffer.
11281 (normalize-live-frame): Rename to window-normalize-frame.
11282 (normalize-any-window): Rename to window-normalize-any-window.
11283 (normalize-live-window): Rename to window-normalize-live-window.
11284 (make-window-atom): Rename to window-make-atom.
11285 (window-resize-reset): Rename to window--resize-reset.
11286 (window-resize-reset-1): Rename to window--resize-reset-1.
11287 (resize-mini-window): Rename to window--resize-mini-window.
11288 (resize-subwindows-skip-p): Rename to
11289 window--resize-subwindows-skip-p.
11290 (resize-subwindows-normal): Rename to
11291 window--resize-subwindows-normal.
11292 (resize-subwindows): Rename to window--resize-subwindows.
11293 (resize-other-windows): Rename to window--resize-siblings.
11294 (resize-this-window): Rename to window--resize-this-window.
11295 (resize-root-window): Rename to window--resize-root-window.
11296 (resize-root-window-vertically): Rename to
11297 window--resize-root-window-vertically.
11298 (normalize-buffer-to-display): Rename to
11299 window-normalize-buffer-to-display.
11300 (normalize-buffer-to-switch-to): Rename to
11301 window-normalize-buffer-to-switch-to.
11302 Correspondingly update all callers of the functions listed
11303 above.
11304 (display-buffer-alist, display-buffer-normalize-arguments)
11305 (display-buffer-normalize-options, display-buffer)
11306 (display-buffer-alist-set): Use "function" instead of
11307 "fun-with-args".
11308
11309 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11310
11311 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11312 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11313 debbugs.gnu.org. Mention acknowledgment email.
11314
11315 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11316
11317 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11318 buffer multibyteness, since it shouldn't matter.
11319
11320 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11321
11322 * window.el (display-buffer-in-side-window): Handle dedicated
11323 windows as in display-buffer-reuse-window.
11324 (display-buffer-normalize-alist): Use value of override
11325 specifier.
11326 (display-buffer-normalize-specifiers): Use value of
11327 other-window-means-other-frame specifier.
11328 (display-buffer-alist): Rewrite some texts in widgets.
11329 (display-buffer): Spread arguments when calling function
11330 specified by fun-with-args.
11331
11332 2011-06-28 Deniz Dogan <deniz@dogan.se>
11333
11334 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11335 Unnest `let'.
11336
11337 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11338 selectors (Bug#5732).
11339 (css-proprietary-nmstart-re): Use `regexp-opt'.
11340
11341 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11342
11343 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11344 (eshell-ls-date-format): New defcustom.
11345 (eshell-ls-file): Use it.
11346
11347 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11350
11351 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11352
11353 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11354 (ange-ftp-make-tmp-name): New arg.
11355 (ange-ftp-file-local-copy): Use it.
11356
11357 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11358
11359 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11360 no-conversion (Bug#8870).
11361
11362 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11363
11364 * window.el (window-right, window-left, window-child)
11365 (window-child-count, window-last-child)
11366 (window-iso-combination-p, walk-window-tree-1)
11367 (window-atom-check-1, window-tree-1, delete-window)
11368 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11369 new naming conventions - window-vchild, window-hchild,
11370 window-next and window-prev are now called window-top-child,
11371 window-left-child, window-next-sibling and window-prev-sibling
11372 respectively.
11373 (resize-window-reset): Rename to window-resize-reset.
11374 (resize-window-reset-1): Rename to window-resize-reset-1.
11375 (resize-window): Rename to window-resize.
11376 (window-min-height, window-min-width)
11377 (resize-mini-window, resize-this-window, resize-root-window)
11378 (resize-root-window-vertically, adjust-window-trailing-edge)
11379 (enlarge-window, shrink-window, maximize-window)
11380 (minimize-window, delete-window, quit-restore-window)
11381 (split-window, balance-windows, balance-windows-area-adjust)
11382 (balance-windows-area, window-state-put-2)
11383 (display-buffer-even-window-sizes, display-buffer-set-height)
11384 (display-buffer-set-width, set-window-text-height)
11385 (fit-window-to-buffer): Rename all "resize-window" prefixed
11386 calls to use the "window-resize" prefix convention.
11387 (display-buffer-alist): Fix symbol for label specifier.
11388 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11389 corresponding specifier.
11390 Reported by Juanma Barranquero <lekktu@gmail.com>.
11391
11392 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11393
11394 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11395 convention.
11396 (ses-call-printer): Does not pass an empty string to formatter when the
11397 cell is empty to keep from barking printer Calc math-format-value.
11398
11399 2011-06-27 Richard Stallman <rms@gnu.org>
11400
11401 * battery.el (battery-mode-line-limit): New variable.
11402 (battery-update): Handle it.
11403
11404 * mail/rmailmm.el (rmail-mime-process-multipart):
11405 Handle truncated messages.
11406
11407 2011-06-27 Glenn Morris <rgm@gnu.org>
11408
11409 * progmodes/flymake.el (flymake-err-line-patterns):
11410 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11411
11412 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11413
11414 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11415 (ses--clean-!, ses--clean-_): New functions.
11416 (ses-range): Add configurability of readout order, and conversion
11417 to Calc vector.
11418
11419 * ses.el (ses-repair-cell-reference-all): New function.
11420 (ses-cell-symbol): Set macro as safe, so that it can be used in
11421 formulas.
11422
11423 * ses.el: Update cycle detection algorithm.
11424 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11425 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11426 (ses-set-localvars): New function.
11427 (ses-make-cell): Add property-list as a cell element.
11428 (ses-cell-property-get-fun, ses-cell-property-get)
11429 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11430 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11431 New functions.
11432 (ses-cell-property-set, ses-cell-property-pop)
11433 (ses-cell-property-get-handle): New macro.
11434 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11435 New aliases, used for code readability.
11436 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11437 cycle detection.
11438 (ses-self-reference-early-detection): New defcustom.
11439 (ses-formula-references): Robustify against self-referring cells.
11440 (ses-mode): Use ses-set-localvars.
11441 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11442 before lauching the update processing.
11443 (ses-initialize-Dijkstra-attempt): New function.
11444 (ses-recalculate-cell): Update for cycle detection based on
11445 Dijkstra algorithm.
11446
11447 * ses.el: Fix commenting and indenting convention.
11448
11449 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11450
11451 * bs.el (bs-cycle-next): Complete last change.
11452
11453 2011-06-27 Drew Adams <drew.adams@oracle.com>
11454
11455 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11456
11457 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11458
11459 * net/network-stream.el (network-stream-open-starttls):
11460 Don't re-get capabilities unless we've reestablished connection.
11461 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11462
11463 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11464 to binary to possibly avoid line encoding issues on Windows (among
11465 other things).
11466
11467 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11468
11469 * net/network-stream.el (open-network-stream): Return an :error
11470 saying what the problem was, if possible.
11471
11472 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11473 server.
11474
11475 * net/network-stream.el (network-stream-open-starttls): If we
11476 wanted to use STARTTLS, and the server offered it, but we weren't
11477 able to because we had no STARTTLS support, then close the connection.
11478 (open-network-stream): Return an :error element, if present.
11479
11480 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11481
11482 * hl-line.el (hl-line-sticky-flag): Doc fix.
11483 (global-hl-line-sticky-flag): New option (Bug#8323).
11484 (global-hl-line-highlight): Obey it.
11485
11486 * vc/vc.el (vc-revert-show-diff): Default to t.
11487
11488 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11489
11490 * allout-widgets.el (allout-widgets-post-command-business):
11491 Stop decorating intermediate isearch matches. They're not being
11492 undecorated when an isearch is continued past, and isearch
11493 automatically collapses them. This leads to "widget leaks", where
11494 decorated items accumulate in collapsed areas. Lines with lots of
11495 hidden widgets can slow down cursor travel, substantially.
11496 Too much complicated machinery would be needed to ensure undecoration,
11497 so we're doing without this nicety.
11498
11499 (allout-widgets-tally-string): Don't try to do a hash-table-count
11500 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11501 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11502 *Messages* when allout-widgets-maintain-tally is t.
11503
11504 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11505
11506 * window.el (display-buffer-normalize-argument): Rename to
11507 display-buffer-normalize-arguments. Handle special meaning of
11508 LABEL argument. Respect special-display-function when popping up
11509 a new frame. Fix code searching for a window showing the buffer
11510 on another frame.
11511 (display-buffer-normalize-specifiers):
11512 Call display-buffer-normalize-arguments.
11513 (display-buffer-in-window): Don't undedicate the window if its
11514 buffer remains the same.
11515 Reported by Drew Adams <drew.adams@oracle.com>.
11516 (display-buffer-alist): Add choice for same-window macro
11517 specfier.
11518 (display-buffer): Mention special meaning of LABEL argument in
11519 doc-string. Fix quoting. Don't pop up a new frame even as
11520 fallback.
11521
11522 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11523
11524 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11525 avoid deleting the current window in some cases (bug#8911).
11526
11527 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11528
11529 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11530 (Bug#8934)
11531
11532 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11533
11534 * net/network-stream.el (network-stream-open-starttls):
11535 Use built-in TLS support if `gnutls-available-p' is true.
11536 (network-stream-open-tls): Ditto.
11537
11538 2011-06-26 Leo Liu <sdl.web@gmail.com>
11539
11540 * register.el (registerv): New struct.
11541 (registerv-make): New function.
11542 (jump-to-register, describe-register-1, insert-register):
11543 Support the jump-func, print-func and insert-func slot of a registerv
11544 struct. (Bug#8415)
11545
11546 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11547
11548 * vc/vc.el (vc-revert-show-diff): New defcustom.
11549 (vc-diff-internal): New arg specifying diff buffer.
11550 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11551 reuse an existing *vc-diff* buffer (Bug#8927).
11552
11553 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11554
11555 2011-06-26 Glenn Morris <rgm@gnu.org>
11556
11557 * progmodes/f90.el (f90-critical-indent): New option.
11558 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11559 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11560 (f90-mode): Doc fix.
11561 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11562 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11563 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11564 (f90-match-end): Handle block, critical.
11565
11566 2011-06-25 Glenn Morris <rgm@gnu.org>
11567
11568 * calendar/diary-lib.el (diary-included-files): Doc fix.
11569 (diary-include-files): New function, extracted from
11570 diary-include-other-diary-files and diary-mark-included-diary-files.
11571 (diary-include-other-diary-files, diary-mark-included-diary-files):
11572 Just call diary-include-files.
11573 (diary-mark-entries): Reset diary-included-files on first call.
11574
11575 * calendar/diary-lib.el (diary-mark-entries)
11576 (diary-mark-included-diary-files):
11577 Visit included diary-files in temp buffers.
11578
11579 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11580 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11581 (f90-start-block-re, f90-imenu-generic-expression)
11582 (f90-looking-at-program-block-start, f90-no-block-limit):
11583 Add support for submodules.
11584
11585 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11586 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11587
11588 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11589
11590 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11591 buffer-file-type before setting its value, to avoid disastrous
11592 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11593
11594 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11595
11596 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11597
11598 * ses.el (ses-unload-function):
11599 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11600
11601 * proced.el (proced-unload-function):
11602 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11603
11604 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11605
11606 * server.el (server-create-window-system-frame): Add parameters arg.
11607 (server-process-filter): Doc fix. Handle frame-parameters.
11608
11609 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11610
11611 Fix bug#8730, bug#8781.
11612
11613 * loadhist.el (unload--set-major-mode): New function.
11614 (unload-feature): Use it.
11615
11616 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11617 (python-unload-function): New function.
11618
11619 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11620
11621 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11622
11623 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11624
11625 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11626 the candidates list.
11627
11628 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11629
11630 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11631
11632 2011-06-23 Richard Stallman <rms@gnu.org>
11633
11634 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11635 (rmail-variables): Set next-error-move-function.
11636 (rmail-what-message): Take argument POS.
11637 (rmail-next-error-move): New function.
11638
11639 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11642 messages for adjacent non-terminals.
11643
11644 2011-06-23 Richard Stallman <rms@gnu.org>
11645
11646 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11647 (rmail-show-message-1): Preserve buffer modified flag.
11648 (rmail-start-mail): Don't specify use of rmail-mail-return;
11649 that's done by mail-bury now.
11650 (rmail-mail-return): Handle arg NEWBUF.
11651
11652 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11653
11654 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11655 SIZE is a number.
11656
11657 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11658
11659 * window.el (get-lru-window, get-mru-window)
11660 (get-largest-window): Never return a minibuffer window.
11661 (display-buffer-pop-up-window): Fix a bug that could lead to
11662 reusing the minibuffer window.
11663 (display-buffer): Pass original specifier argument to
11664 display-buffer-function instead of the normalized one.
11665 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11666
11667 2011-06-22 Leo Liu <sdl.web@gmail.com>
11668
11669 * minibuffer.el (completing-read-function)
11670 (completing-read-default): Move from minibuf.c
11671
11672 2011-06-22 Richard Stallman <rms@gnu.org>
11673
11674 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11675 to Rmail even if not started by a special Rmail command.
11676
11677 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11678 Copy the buffer currently showing just one message.
11679
11680 2011-06-22 Roland Winkler <winkler@gnu.org>
11681
11682 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11683 (bibtex-clean-entry): First delete the old key so that a
11684 customized algorithm for generating the new key does not get
11685 confused by the old key.
11686 (bibtex-url): Obey regexp of first step.
11687 (bibtex-search-entries): Do not use add-to-list with local
11688 list-var.
11689
11690 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11691
11692 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11693 stored a user name, then query for the password first, instead of
11694 waiting for SMTP to give an error message and the trying again.
11695
11696 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11697
11698 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11699 BUFFER in call-process.
11700
11701 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11702
11703 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11704 QUIT twice.
11705 (smtpmail-try-auth-methods): Require user name and password from
11706 auth-source.
11707
11708 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11709
11710 * window.el (display-buffer-default-specifiers)
11711 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11712 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11713 (split-window): Normalize SIDE argument (Bug#8916).
11714
11715 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11716 (special-display-frame-alist, special-display-popup-frame):
11717 Remove duplicate declarations. These are now in window.el.
11718
11719 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11720
11721 * mail/smtpmail.el (smtpmail-via-smtp):
11722 Set :use-starttls-if-possible so that we always use STARTTLS if the
11723 server supports it. SMTP servers that support STARTTLS commonly
11724 require it.
11725
11726 * net/network-stream.el (network-stream-open-starttls): Support
11727 upgrading to STARTTLS always, even if we don't have built-in support.
11728 (open-network-stream): Add the :always-query-capabilities keyword.
11729
11730 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11731 upgrades with `open-network-stream', and rely solely on
11732 auth-source for all credentials. Big changes throughout the file,
11733 but in particular:
11734 (smtpmail-auth-credentials): Remove.
11735 (smtpmail-starttls-credentials): Remove.
11736 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11737 MAIL FROM, too.
11738
11739 * net/network-stream.el (network-stream-open-starttls):
11740 Provide support for client certificates both for external and built-in
11741 STARTTLS.
11742 (auth-source): Require.
11743 (open-network-stream): Document the :client-certificate keyword.
11744 (network-stream-certificate): Change cert-cert to cert and
11745 cert-key to key.
11746
11747 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11748
11749 * net/tramp-cache.el (top): Don't load the persistency file when
11750 "emacs -Q" has been called.
11751
11752 2011-06-21 Tim Harper <timcharper@gmail.com>
11753
11754 * term/ns-win.el (ns-initialize-window-system):
11755 Set application-specific `ApplePressAndHoldEnabled' system
11756 resource to NO as it is not yet supported by the NS port.
11757
11758 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11759
11760 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11761 (list-dynamic-libraries): ...not here.
11762
11763 2011-06-21 Leo Liu <sdl.web@gmail.com>
11764
11765 * subr.el (sha1): Implement sha1 using secure-hash.
11766
11767 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11768
11769 * window.el (display-buffer-alist): In default value do not
11770 enforce searching a window on any but the selected frame.
11771 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11772 (display-buffer-select-window): Remove function.
11773 (display-buffer-in-window): When a window on another frame gets
11774 reused, do not select it any more but just raise its frame if
11775 necessary (Bug#8851) and (Bug#8856).
11776 (display-buffer-normalize-options): Handle pop-up-frames related
11777 options more faithfully.
11778 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11779 window if it is on another frame.
11780 (display-buffer-alist, display-buffer-default-specifiers):
11781 Don't make new frame unsplittable by default.
11782 (display-buffer-normalize-argument): Fix doc-string typo and use
11783 'same-frame-other-window instead of 'other-window when associating
11784 with display-buffer-macro-specifiers.
11785
11786 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11787
11788 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11789 New functions.
11790 (5x5-mode-map, 5x5-mode-menu): Bind them.
11791 (5x5-draw-grid): Tweak the solver's rendering.
11792
11793 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11796 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11797
11798 2011-06-21 Drew Adams <drew.adams@oracle.com>
11799
11800 * menu-bar.el: Use function variable instead of switch-to-buffer.
11801 (menu-bar-select-buffer-function): New variable.
11802 (menu-bar-update-buffers): Use it (bug#8876).
11803
11804 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11807 variable's status.
11808
11809 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11810
11811 * x-dnd.el (x-dnd-version-from-flags)
11812 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11813 and long as number (Bug#8899).
11814 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11815
11816 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11817
11818 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11819 (completion-try-completion, completion-all-completions): Compute the
11820 metadata argument if it's missing; make it optional (bug#8795).
11821
11822 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11823 (widget-complete): Use new :completion-function property.
11824 (widget-completions-at-point): New function.
11825 (default): Use :completion-function instead of :complete.
11826 (widget-default-completions): Rename from widget-default-complete;
11827 Rewrite.
11828 (widget-string-complete, widget-file-complete, widget-color-complete):
11829 Remove functions.
11830 (file, symbol, function, variable, coding-system, color):
11831 * international/mule-cmds.el (default-input-method, charset)
11832 (language-info-custom-alist):
11833 * cus-edit.el (face): Use new property :completions.
11834
11835 * progmodes/pascal.el (pascal-completions-at-point): New function.
11836 (pascal-mode): Use it.
11837 (pascal-mode-map): Use completion-at-point.
11838 (pascal-toggle-completions): Make obsolete.
11839 (pascal-complete-word, pascal-show-completions):
11840 * progmodes/octave-mod.el (octave-complete-symbol):
11841 Redefine as obsolete alias.
11842 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11843 Signal absence of completion info for old Octave,
11844 (inferior-octave-complete): Redefine as obsolete alias.
11845 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11846 (meta-completions-at-point): Rename from meta-complete-symbol and
11847 adapt it for use on completion-at-point-functions.
11848 (meta-common-mode): Use it.
11849 (meta-looking-at-backward, meta-match-buffer): Remove.
11850 (meta-complete-symbol): Redefine as obsolete alias.
11851 (meta-common-mode-map): Use completion-at-point.
11852 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11853 (makefile-mode-map): Use completion-at-point.
11854 (makefile-completions-at-point): Rename from makefile-complete and
11855 adapt it for use on completion-at-point-functions.
11856 (makefile-mode): Use it.
11857 (makefile-complete): Redefine as obsolete alias.
11858
11859 2011-06-20 Deniz Dogan <deniz@dogan.se>
11860
11861 * net/rcirc.el: Delete trailing whitespaces once and for all.
11862
11863 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11864
11865 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11866
11867 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11868
11869 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11870
11871 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11872
11873 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11874
11875 * window.el (display-buffer-other-window-means-other-frame):
11876 Call display-buffer-normalize-alist.
11877 (display-buffer-normalize-specifiers-1): Rename to
11878 display-buffer-normalize-argument. New argument other-frame.
11879 Rewrite.
11880 (display-buffer-normalize-specifiers-2): Rename to
11881 display-buffer-normalize-options.
11882 (display-buffer-normalize-alist-1): New function.
11883 (display-buffer-normalize-specifiers-3): Rename to
11884 display-buffer-normalize-alist.
11885 Call display-buffer-normalize-alist-1.
11886 (display-buffer-normalize-options-inhibit): New variable.
11887 (display-buffer-normalize-specifiers): Rewrite calling
11888 display-buffer-normalize-alist,
11889 display-buffer-normalize-argument, and
11890 display-buffer-normalize-options. Don't call the latter if
11891 display-buffer-normalize-options-inhibit is non-nil.
11892 (frame-auto-delete): New option.
11893 (window-deletable-p): Use frame-auto-delete.
11894 (window-list-no-nils, window-state-ignored-parameters)
11895 (window-state-get-1, window-state-get, window-state-put-list)
11896 (window-state-put-1, window-state-put-2, window-state-put):
11897 New functions.
11898 (display-buffer-normalize-options): Move special-display-p group
11899 after pop-up-frame group (Bug#8851) and (Bug#8856).
11900
11901 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11902
11903 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11904 groups (Bug#8776).
11905 (rx-submatch-n): New function.
11906 (rx): Document it.
11907
11908 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11909 (Bug#8768).
11910
11911 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11912
11913 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11914
11915 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11916 anytime existing face settings are present (Bug#8889).
11917
11918 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11919 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11920 Remove unused argument.
11921
11922 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11923
11924 * window.el (display-buffer-default-specifiers):
11925 Remove pop-up-frame. Add pop-up-window-min-height,
11926 pop-up-window-min-width, and another reuse-window specifier
11927 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11928 (display-buffer-normalize-specifiers-2):
11929 Handle split-height-threshold and split-width-threshold also when
11930 pop-up-windows is unset. Add a reuse-window specifier for the
11931 case popping up a new window fails.
11932 (special-display-popup-frame): Remove double quoting.
11933 (display-buffer-normalize-specifiers-1): Fix thinko.
11934
11935 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11936
11937 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11938 according to comint-completion-addsuffix.
11939
11940 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11941 (pcomplete-suffix-list): Mark as obsolete.
11942 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11943 pcomplete-seen in the closure.
11944 (pcomplete-comint-setup): Setup completion-at-point as well.
11945 (pcomplete--entries): New function.
11946 (pcomplete--env-regexp): New var.
11947 (pcomplete-entries): Rewrite to work with partial-completion and
11948 without relying on pcomplete-suffix-list.
11949 (pcomplete-pare-list): Remove, unused.
11950
11951 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11952
11953 * window.el (display-buffer-alist): Set pop-up-window-min-height
11954 and pop-up-window-min-width in default value. Reported by
11955 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11956 other-window-means-other-frame.
11957 (display-buffer-macro-specifiers): Comment out entry for
11958 other-window specifier.
11959 (display-buffer-other-window-means-other-frame): New function.
11960 (display-buffer-normalize-specifiers-1): New arguments
11961 buffer-name and label. Treat other-window case specially.
11962 (display-buffer-normalize-specifiers-2): Treat other-window case
11963 specially.
11964 (display-buffer-normalize-specifiers-3): New function.
11965 (display-buffer-normalize-specifiers):
11966 Call display-buffer-normalize-specifiers-3.
11967
11968 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11969
11970 * window.el (same-window-p): Fix two typos introduced when
11971 adding with-no-warnings.
11972 (display-buffer-normalize-specifiers-1): Don't check
11973 pop-up-frames for 'unset initialization.
11974 (display-buffer-normalize-specifiers-2): Major rewrite using
11975 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11976 (pop-up-frames, display-buffer-reuse-frames)
11977 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11978 Suggested by David Engster <deng@randomsample.de>.
11979 (even-window-heights): Initialize to 'unset.
11980 (display-buffer-alist-set): Handle new 'unset initializations.
11981 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11982 other window case.
11983
11984 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11985
11986 * window.el (display-buffer-normalize-specifiers-1):
11987 Respect current value of pop-up-frames for most reasonable values of
11988 second argument of display-buffer (Bug#8865).
11989 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11990 (switch-to-buffer-other-window-same-frame)
11991 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11992 Adams (Bug#8875).
11993 (display-buffer): Don't check noninteractive when calling
11994 display-buffer-pop-up-frame.
11995 (display-buffer-pop-up-frame): Never pop up a frame in
11996 noninteractive mode (Bug#8857).
11997 (enlarge-window, shrink-window): Don't report an error when the
11998 window can't be resized as requested (Bug#8862).
11999
12000 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12001
12002 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12003
12004 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12005
12006 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12007
12008 2011-06-15 Alan Mackenzie <acm@muc.de>
12009
12010 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12011 for declarators, disable knr checking to speed up for normal files.
12012 2: Refactor, replacing a sequence of nested if forms by a cond form.
12013
12014 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12015
12016 * net/network-stream.el (open-network-stream): Add the keyword
12017 :always-query-capabilities for the case where you want to force a
12018 `plain' network connection, but the protocol still requires the
12019 capabilitiy command (i.e., SMTP and EHLO).
12020
12021 * subr.el (process-live-p): Rename from `process-alive-p' for
12022 consistency with other `-live-p' functions.
12023
12024 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12025
12026 * window.el (same-window-buffer-names, same-window-regexps)
12027 (special-display-frame-alist, special-display-popup-frame)
12028 (special-display-function, special-display-buffer-names)
12029 (special-display-regexps, pop-up-frame-alist)
12030 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12031 (pop-up-windows, split-window-preferred-function)
12032 (split-height-threshold, split-width-threshold, even-window-heights)
12033 (display-buffer-mark-dedicated): Don't encourage the use of
12034 display-buffer-alist from Elisp code.
12035
12036 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12037
12038 * progmodes/python.el (python-mode): Derive from prog-mode.
12039 * progmodes/ps-mode.el (ps-mode):
12040 * progmodes/mixal-mode.el (mixal-mode):
12041 * progmodes/cfengine.el (cfengine-mode):
12042 * progmodes/ld-script.el (ld-script-mode): Likewise.
12043
12044 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12045
12046 * window.el (display-buffer-alist): Trim default value to avoid
12047 popping up a new frame (Bug#8857) or reusing an arbitrary window
12048 on another frame.
12049 (display-buffer): Do not fall back on popping up a new frame in
12050 batch mode (Bug#8857).
12051
12052 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12053
12054 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12055 (custom-theme-summary): New function.
12056 (customize-themes): Use it.
12057
12058 2011-06-13 Glenn Morris <rgm@gnu.org>
12059
12060 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12061
12062 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12063
12064 * help.el (help-window): Remove variable.
12065 (help-window-point-marker, temp-buffer-max-height)
12066 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12067 (help-print-return-message): Don't set help-window.
12068 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12069 (help-window-setup-finish): Remove.
12070 (help-window-display-message, help-window-setup)
12071 (with-help-window): Major rewrite based on new
12072 display-buffer-window variable.
12073
12074 * help-mode.el (help-mode-finish): Remove help-window related
12075 code.
12076
12077 * view.el (view-exits-all-viewing-windows): Remove reference to
12078 view-return-to-alist in doc-string.
12079 (view-return-to-alist): Make obsolete.
12080 (view-buffer): Call pop-to-buffer-same-window and remove
12081 undo-window code.
12082 (view-buffer-other-window): Call pop-to-buffer-other-window and
12083 simplify code. Ignore second argument.
12084 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12085 simplify code. Ignore second argument.
12086 (view-return-to-alist-update): Make obsolete.
12087 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12088 Rewrite using quit-restore window parameters.
12089 (view-mode-exit): Rename second argument to EXIT-ONLY.
12090 Rewrite using quit-restore-window.
12091 (View-exit, View-exit-and-edit, View-leave, View-quit)
12092 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12093 appropriate arguments.
12094 (view-end-message): Use quit-restore window parameter.
12095
12096 * window.el (display-buffer-function): Rewrite doc-string.
12097 (display-buffer-window, display-buffer-alist): New variables.
12098 (display-buffer-split-specifiers)
12099 (display-buffer-side-specifiers)
12100 (display-buffer-macro-specifiers): New constants.
12101 (display-buffer-even-window-sizes, display-buffer-set-height)
12102 (display-buffer-set-width, display-buffer-select-window)
12103 (display-buffer-in-window, display-buffer-reuse-window)
12104 (display-buffer-split-window-1, display-buffer-split-window)
12105 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12106 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12107 (display-buffer-in-side-window, normalize-buffer-to-display)
12108 (display-buffer-normalize-specifiers-1)
12109 (display-buffer-normalize-specifiers-2)
12110 (display-buffer-normalize-specifiers, display-buffer-frame):
12111 New functions.
12112 (display-buffer): Major rewrite.
12113 (display-buffer-other-window, display-buffer-other-frame)
12114 (pop-to-buffer, switch-to-buffer-other-window)
12115 (switch-to-buffer-other-frame): Rewrite.
12116 (display-buffer-same-window, display-buffer-same-frame)
12117 (display-buffer-same-frame-other-window)
12118 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12119 (pop-to-buffer-other-window)
12120 (pop-to-buffer-same-frame-other-window)
12121 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12122 (switch-to-buffer-other-window-same-frame): New functions.
12123 (same-window-p, special-display-p): Rewrite disabling warnings.
12124 Make obsolete.
12125 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12126 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12127 Make obsolete
12128 (same-window-buffer-names, same-window-regexps)
12129 (special-display-frame-alist, special-display-popup-frame)
12130 (special-display-function, special-display-buffer-names)
12131 (special-display-regexps, pop-up-frame-alist)
12132 (pop-up-frame-function, split-window-preferred-function)
12133 (split-height-threshold, split-width-threshold)
12134 (even-window-heights): Make obsolete.
12135
12136 2011-06-12 Glenn Morris <rgm@gnu.org>
12137
12138 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12139 Misc simplifications.
12140
12141 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12142
12143 * window.el (window-safely-shrinkable-p): Restore function which
12144 was inadvertently removed in change from 2011-06-11. Declare as
12145 obsolete.
12146
12147 * calendar/calendar.el (calendar-generate-window):
12148 Use window-iso-combined-p instead of combination of one-window-p and
12149 window-safely-shrinkable-p.
12150
12151 2011-06-12 Glenn Morris <rgm@gnu.org>
12152
12153 * progmodes/fortran.el (fortran-mode-syntax-table):
12154 * progmodes/f90.el (f90-mode-syntax-table):
12155 Set % to punctuation. (Bug#8820)
12156 (f90-find-tag-default): Remove, no longer needed.
12157
12158 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12159
12160 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12161
12162 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12163
12164 * image.el (image-animated-p): Return animation delay in seconds.
12165 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12166 (image-animate-timeout): Remove DELAY argument. Don't assume
12167 every subimage has the same delay; get it from image-animated-p.
12168 (image-animate): Caller changed.
12169
12170 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12171
12172 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12173 to ignored backtrace functions.
12174
12175 2011-06-11 Glenn Morris <rgm@gnu.org>
12176
12177 * calendar/appt.el (appt-disp-window-function): Doc fix.
12178 (appt-check): Handle overlapping appointments. (Bug#8337)
12179
12180 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12181
12182 * window.el (window-tree-1, window-tree): New functions, moving
12183 the latter to window.el.
12184 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12185 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12186 (bw-refresh-edges): Remove.
12187 (balance-windows-1, balance-windows-2): New functions.
12188 (balance-windows): Rewrite in terms of window tree functions,
12189 balance-windows-1 and balance-windows-2.
12190 (bw-adjust-window): Remove.
12191 (balance-windows-area-adjust): New function with functionality of
12192 bw-adjust-window but using resize-window.
12193 (set-window-text-height): Rewrite doc-string.
12194 Use normalize-live-window and resize-window.
12195 (enlarge-window-horizontally, shrink-window-horizontally):
12196 Rename argument to DELTA.
12197 (window-buffer-height): New function.
12198 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12199 Rewrite using new window resize routines.
12200 (kill-buffer-and-window, mouse-autoselect-window-select):
12201 Use ignore-errors instead of condition-case.
12202 (quit-window): Call delete-frame instead of delete-windows-on
12203 for the only buffer on frame.
12204
12205 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12206
12207 * loadup.el (top-level): Load window before files for the sake
12208 of replace-buffer-in-windows.
12209
12210 * files.el (read-buffer-to-switch)
12211 (switch-to-buffer-other-window)
12212 (switch-to-buffer-other-frame, display-buffer-other-frame):
12213 Move to window.el.
12214
12215 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12216 (previous-buffer): Move to window.el.
12217
12218 * bindings.el (unbury-buffer): Move to window.el.
12219
12220 * window.el (delete-other-windows-vertically): Move after
12221 definition of delete-other-windows.
12222 (other-window, delete-windows-on, replace-buffer-in-windows):
12223 Move here from window.c.
12224 (record-window-buffer, unrecord-window-buffer)
12225 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12226 (switch-to-next-buffer): New functions.
12227 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12228 from simple.el. Call switch-to-next-buffer.
12229 (previous-buffer): Move here from simple.el.
12230 Call switch-to-prev-buffer.
12231 (bury-buffer): Move here from buffer.c. Switch to previous
12232 buffer when window cannot be deleted.
12233 (unbury-buffer): Move here from bindings.el.
12234 (ctl-x-map): Move binding for other-window from window.c to
12235 here.
12236 (read-buffer-to-switch, switch-to-buffer-other-window)
12237 (switch-to-buffer-other-frame): Move here from files.el.
12238 (normalize-buffer-to-switch-to): New functions.
12239 (switch-to-buffer): Move here from buffer.c.
12240 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12241
12242 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12243
12244 * window.el (window-min-height, window-min-width): Move here
12245 from window.c. Add defcustoms and rewrite doc-strings.
12246 (resize-mini-window, resize-window): New functions.
12247 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12248 Move here from window.c.
12249 (maximize-window, minimize-window): New functions.
12250 (delete-window, delete-other-windows, split-window): Move here
12251 from window.c.
12252 (window-split-min-size): New function.
12253 (split-window-keep-point): Mention split-window-above-each-other
12254 instead of split-window-vertically.
12255 (split-window-above-each-other, split-window-vertically):
12256 Rename split-window-vertically to split-window-above-each-other
12257 and provide defalias for old definition.
12258 (split-window-side-by-side, split-window-horizontally):
12259 Rename split-window-horizontally to split-window-side-by-side
12260 and provide defalias for the old definition.
12261 (ctl-x-map): Move bindings for delete-window,
12262 delete-other-windows and enlarge-window here from window.c.
12263 Replace bindings for split-window-vertically and
12264 split-window-horizontally by bindings for
12265 split-window-above-each-other and split-window-side-by-side.
12266
12267 * cus-start.el (all): Remove entries for window-min-height and
12268 window-min-width. Add entries for window-splits and
12269 window-nest.
12270
12271 2011-06-09 Glenn Morris <rgm@gnu.org>
12272
12273 * calendar/appt.el (appt-mode-line): New function.
12274 (appt-check, appt-disp-window): Use it.
12275
12276 * files.el (hack-one-local-variable-eval-safep):
12277 Allow minor-modes with explicit +/-1 arguments.
12278
12279 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12280
12281 * term/xterm.el (xterm): Add defgroup.
12282 (xterm-extra-capabilities): Add defcustom to supply known xterm
12283 capabilities, skip querying them, or query them (default).
12284 (terminal-init-xterm): Use it.
12285 (terminal-init-xterm-modify-other-keys): New function to set up
12286 modifyOtherKeys support to simplify `terminal-init-xterm'.
12287
12288 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12289
12290 * window.el (resize-window-reset, resize-window-reset-1)
12291 (resize-subwindows-skip-p, resize-subwindows-normal)
12292 (resize-subwindows, resize-other-windows, resize-this-window)
12293 (resize-root-window, resize-root-window-vertically)
12294 (window-deletable-p, window-or-subwindow-p)
12295 (frame-root-window-p): New functions.
12296
12297 2011-06-09 Glenn Morris <rgm@gnu.org>
12298
12299 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12300 (ange-ftp-get-files): Use it.
12301
12302 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12303
12304 * mail/sendmail.el (mail-recover-1, mail-recover):
12305 * files.el (recover-file, recover-session):
12306 Handle dired-listing-switches not being just a single short option.
12307
12308 2011-06-09 Glenn Morris <rgm@gnu.org>
12309
12310 * calendar/appt.el (appt-display-message, appt-disp-window):
12311 Handle lists of appointments.
12312
12313 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12314
12315 * window.el (one-window-p): Move down in code.
12316 Rewrite doc-string.
12317 (window-current-scroll-bars): Rewrite doc-string.
12318 Normalize live window argument.
12319 (walk-windows, get-window-with-predicate, count-windows):
12320 Rewrite doc-string. Use window-list-1.
12321 (window-in-direction-2, window-in-direction, get-mru-window):
12322 New functions.
12323
12324 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12325
12326 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12327 Doc fix (Bug#8713).
12328
12329 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12330
12331 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12332
12333 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12334
12335 * loadhist.el (unload-feature-special-hooks):
12336 Add `comint-output-filter-functions'.
12337
12338 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12339
12340 * calendar/appt.el (appt-check): Move some initializations into the let.
12341
12342 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12343
12344 * window.el (window-height): Defalias to window-total-height.
12345 (window-width): Defalias to window-body-width.
12346
12347 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12348
12349 * image-mode.el (image-toggle-animation): New command.
12350 (image-mode-map): Bind it to RET.
12351 (image-mode): Update message.
12352 (image-toggle-display-image): Avoid a spurious cache flush.
12353 (image-transform-rotation): Doc fix.
12354 (image-transform-properties): Return quickly in the normal case.
12355 (image-animate-loop): Rename from image-animate-max-time.
12356
12357 * image.el (image-animate-max-time): Move to image-mode.el.
12358 (create-animated-image): Remove unnecessary function.
12359 (image-animate): Rename from image-animate-start. New arg.
12360 (image-animate-stop): Remove; just use image-animate-timer.
12361 (image-animate-timer): Use car-safe.
12362 (image-animate-timeout): Rename argument.
12363
12364 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12365
12366 * window.el (get-lru-window, get-largest-window): Move here from
12367 window.c. Rename first argument to ALL-FRAMES.
12368 Rephrase doc-strings.
12369 (get-buffer-window-list): Rewrite using window-list-1.
12370 Rephrase doc-string.
12371 (window-safe-min-height, window-safe-min-width): New constants.
12372 (window-size-ignore, window-min-size, window-min-size-1)
12373 (window-sizable, window-sizable-p, window-size-fixed-1)
12374 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12375 (window-max-delta-1, window-max-delta, window-resizable)
12376 (window-resizable-p, window-total-height, window-total-width)
12377 (window-body-width): New functions.
12378 (window-full-height-p, window-full-width-p): Rewrite using
12379 window-total-size.
12380 (window-body-height): Rewrite using window-body-size.
12381
12382 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12383
12384 * window.el (window-right, window-left, window-child)
12385 (window-child-count, window-last-child, window-any-p)
12386 (normalize-live-buffer, normalize-live-frame)
12387 (normalize-any-window, normalize-live-window)
12388 (window-iso-combination-p, window-iso-combined-p)
12389 (window-iso-combinations)
12390 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12391 (windows-with-parameter, window-with-parameter)
12392 (window-atom-root, make-window-atom, window-atom-check-1)
12393 (window-atom-check, window-side-check, window-check):
12394 New functions.
12395 (ignore-window-parameters, window-sides, window-sides-vertical)
12396 (window-sides-slots): New variables.
12397 (window-size-fixed): Move down in code. Minor doc-string fix.
12398
12399 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12400
12401 * comint.el (comint-dynamic-complete-as-filename)
12402 (comint-dynamic-complete-filename): Correctly call
12403 completion-in-region.
12404
12405 2011-06-05 Deniz Dogan <deniz@dogan.se>
12406
12407 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12408 in last change.
12409
12410 2011-06-05 Deniz Dogan <deniz@dogan.se>
12411
12412 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12413 (rcirc): Use it to prompt for encryption.
12414
12415 2011-06-05 Roland Winkler <winkler@gnu.org>
12416
12417 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12418 (bibtex-search-entries): New command bound to C-c C-a.
12419 (bibtex-display-entries): New function.
12420
12421 2011-06-05 Roland Winkler <winkler@gnu.org>
12422
12423 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12424 (bibtex-insert-kill): After yanking insert newline if necessary.
12425 (bibtex-initialize): Call bibtex-string-files-init only once.
12426 (bibtex-mode): Do not call easy-menu-add.
12427 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12428 (bibtex-yank): Set arg properly if nil.
12429
12430 2011-06-05 Roland Winkler <winkler@gnu.org>
12431
12432 * textmodes/bibtex.el (bibtex-search-entry-globally):
12433 New variable.
12434 (bibtex-search-entry): Use it.
12435
12436 2011-06-05 Roland Winkler <winkler@gnu.org>
12437
12438 * textmodes/bibtex.el (bibtex-entry-format): New option
12439 sort-fields.
12440 (bibtex-format-entry, bibtex-reformat): Honor this option.
12441 (bibtex-parse-entry): Return fields in proper order.
12442
12443 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12444
12445 * doc-view.el (doc-view-remove-if): Move computation of result out
12446 of `dolist' to silence misleading lexical-binding warning.
12447
12448 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12449
12450 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12451 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12452
12453 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12454
12455 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12456 "SunOS 5.10".
12457
12458 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12459
12460 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12461 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12462 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12463 (tramp-parse-putty):
12464 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12465 (tramp-completion-function-alist-ssh)
12466 (tramp-completion-function-alist-telnet)
12467 (tramp-completion-function-alist-su)
12468 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12469 cookie.
12470
12471 * net/tramp-ftp.el:
12472 * net/tramp-sh.el:
12473 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12474 load "tramp.el" `tramp-set-completion-function'.
12475
12476 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * shell.el: Require and use pcomplete.
12479 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12480 (shell-completion-vars): Set pcomplete-default-completion-function.
12481
12482 2011-06-04 Deniz Dogan <deniz@dogan.se>
12483
12484 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12485 `memq' (Bug#8799).
12486
12487 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12490
12491 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12492
12493 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12494 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12495 * vc/log-view.el (log-view-beginning-of-defun):
12496 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12497 (smerge-refine-forward, smerge-refine-chopup-region):
12498 Silence warning for unused `dotimes' counter variables.
12499
12500 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * net/tramp.el (tramp-with-progress-reporter): Rename from
12503 with-progress-reporter. Use `declare'.
12504 * net/tramp-smb.el:
12505 * net/tramp-sh.el:
12506 * net/tramp-gvfs.el: Update all uses.
12507
12508 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12509
12510 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12511 buffer isn't killed before making it current.
12512
12513 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12514
12515 Silence various byte-compiler warnings.
12516 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12517 `access-type' and new obsolescence format.
12518 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12519 new format.
12520 (byte-compile-check-variable): New `access-type' argument.
12521 Only warn if the access-type is obsolete.
12522 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12523 (byte-compile-variable-set): Adjust callers.
12524 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12525 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12526 setting it as obsolete.
12527 * simple.el (minibuffer-completing-symbol):
12528 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12529 access as obsolete.
12530 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12531 obsolete yet.
12532 * international/quail.el (quail-mouse-choose-completion): Remove unused
12533 code referring to obsolete var.
12534 (quail-choose-completion-string): Remove.
12535 * server.el (server-clients-with, server-kill-buffer-query-function)
12536 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12537 * proced.el (proced-send-signal):
12538 * emacs-lisp/lisp.el (lisp-complete-symbol):
12539 Replace completion-annotate-function with completion-extra-properties.
12540
12541 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 * simple.el (goto-line): Use read-number.
12544 (overriding-map-is-bound): Remove.
12545 (saved-overriding-map): Change default.
12546 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12547 Take the map as argument.
12548 (universal-argument, negative-argument, digit-argument): Use it.
12549 (restore-overriding-map): Adjust.
12550 (do-auto-fill): Use fill-forward-paragraph.
12551 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12552
12553 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12554 (minibuffer-inactive-mode): New major mode.
12555 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12556 the *Messages* buffer" hack.
12557 (mouse-popup-menubar): Don't burp if the event is a normal key.
12558
12559 Miscellaneous tweaks.
12560 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12561 lexical scoping as in subr.el's dolist and dotimes.
12562 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12563 Silence compiler warning.
12564 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12565 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12566 * international/ccl.el (ccl-compile): Trivial simplification.
12567 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12568 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12569 `printflag' argument.
12570 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12571 Purecopy the whole obsolescence data.
12572
12573 2011-06-01 Leo Liu <sdl.web@gmail.com>
12574
12575 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12576 improve doc-string as suggested by Marco Pessotto
12577 <melmothx@gmail.com>.
12578 (rcirc-print): Fix last change.
12579
12580 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12581
12582 * minibuffer.el (complete-with-action): Return nil for the metadata and
12583 boundaries of non-functional tables.
12584 (completion-table-dynamic): Return nil for the metadata.
12585 (completion-table-with-terminator): Add default case, using
12586 complete-with-action.
12587 (completion--metadata): New function.
12588 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12589 to try and avoid pathological performance problems.
12590 (completion--embedded-envvar-table): Return `category' metadata.
12591
12592 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12593
12594 * subr.el (process-alive-p): New tiny convenience function.
12595
12596 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12597
12598 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12599 content but also its previous major mode.
12600
12601 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12602
12603 * emacs-lisp/debug.el (debug): Restore the previous content of the
12604 *Backtrace* buffer when we exit with C-M-c.
12605
12606 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12607
12608 * minibuffer.el: Add metadata method to completion tables.
12609 (completion-category-overrides): New defcustom.
12610 (completion-metadata, completion--field-metadata)
12611 (completion-metadata-get, completion--styles)
12612 (completion--cycle-threshold): New functions.
12613 (completion-try-completion, completion-all-completions):
12614 Add `metadata' argument to choose completion-styles.
12615 (completion--do-completion): Use metadata to choose cycling.
12616 (completion-all-sorted-completions): Use metadata for sorting.
12617 Remove :completion-cycle-penalty which is not needed any more.
12618 (completion--try-word-completion): Add `metadata' argument.
12619 (minibuffer-completion-help): Check metadata for annotation function
12620 and sorting.
12621 (completion-file-name-table): Return `category' metadata.
12622 (minibuffer-completing-file-name): Make obsolete.
12623 * simple.el (minibuffer-completing-symbol): Make obsolete.
12624 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12625 completion-try-completion.
12626
12627 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12628
12629 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12630
12631 2011-05-30 Leo Liu <sdl.web@gmail.com>
12632
12633 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12634 (rcirc-print): Decode all incoming messages (bug#8744).
12635 (rcirc-decode-coding-system): Allow value nil for automatic coding
12636 system detection.
12637
12638 2011-06-01 Glenn Morris <rgm@gnu.org>
12639
12640 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12641
12642 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12643
12644 * image.el (image-animate-max-time): Allow nil and t values.
12645 Default to nil.
12646 (create-animated-image): Doc fix.
12647 (image-animate-start): Remove second arg; just use
12648 image-animate-max-time.
12649 (image-animate-timeout): Doc fix. Args changed.
12650
12651 * image-mode.el (image-toggle-display-image): Ensure that the
12652 image spec passed to the animate timer is the same object as in
12653 the buffer's display property (Bug#6981).
12654 (image-transform-properties): Doc fix.
12655
12656 * image.el (image-animate-max-time): Default to nil.
12657
12658 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12659
12660 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12661 entire buffer list (Bug#8184).
12662
12663 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12664
12665 * image.el (imagemagick-types-inhibit)
12666 (imagemagick-register-types): Doc fix.
12667
12668 2011-05-29 Deniz Dogan <deniz@dogan.se>
12669
12670 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12671 default.
12672
12673 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12674
12675 * select.el: Don't perform clipboard-manager saving in hooks;
12676 leave the hooks empty.
12677
12678 2011-05-28 Leo Liu <sdl.web@gmail.com>
12679
12680 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12681 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12682 (occur-edit-mode): New major mode (Bug#8463).
12683 (occur-after-change-function): New function.
12684 (occur-engine): Give Occur tags a read-only property.
12685
12686 2011-05-28 Kevin Ryde <user42@zip.com.au>
12687
12688 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12689
12690 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12691
12692 * bindings.el (help-echo): Make the initial non-indicator dash
12693 empty on graphical terminals (Bug#7295).
12694
12695 * files.el (auto-mode-alist): Move config rule after the
12696 in-stripping one (Bug#8547).
12697
12698 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12699
12700 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12701 setting (Bug#8740).
12702
12703 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12704
12705 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12706 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12707 (Bug#8539).
12708
12709 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12710
12711 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12712
12713 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12714
12715 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12716 (hs-hide-block-at-point, hs-find-block-beginning)
12717 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12718 (Bug#8279).
12719
12720 2011-05-28 Glenn Morris <rgm@gnu.org>
12721
12722 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12723
12724 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12725
12726 * help-fns.el (describe-function-1): If the function is a derived
12727 major mode, print the parent mode.
12728
12729 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12730 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12731
12732 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12733
12734 * minibuffer.el (completion--capf-wrapper): Check applicability before
12735 returning non-nil for non-exclusive completion data.
12736 * progmodes/etags.el (tags-completion-at-point-function):
12737 * info-look.el (info-lookup-completions-at-point): Mark as
12738 non-exclusive.
12739 (info-complete): Adjust accordingly.
12740
12741 * info-look.el: Convert to lexical-binding and completion-at-point.
12742 (info-lookup-completions-at-point): New function.
12743 (info-complete): Use it and completion-in-region.
12744
12745 2011-05-28 Drew Adams <drew.adams@oracle.com>
12746
12747 * isearch.el: Let M-e start with point at the first mismatched char.
12748 (isearch-fail-pos): New function.
12749 (isearch-edit-string): Use it.
12750
12751 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12752
12753 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12754
12755 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12756
12757 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12758 traversal functions for avl-trees.
12759 (avl-tree--stack): New struct.
12760 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12761 (avl-tree-enter): Add optional `updatefun' arg.
12762 (avl-tree--do-enter): Add optional `updatefun' arg.
12763 Change return value.
12764 (avl-tree-delete): Add optional `test' and `nilflag' args.
12765 (avl-tree--do-delete): Add `test' and `nilflag' args.
12766 Change return value.
12767 (avl-tree-member): Add optional `nilflag'
12768 (avl-tree-member-p): New function.
12769 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12770 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12771 (avl-tree-stack-empty-p): New functions.
12772
12773 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12774 avl-tree--del-balance1 and make it work both ways.
12775 (avl-tree--del-balance2): Remove.
12776 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12777 make it work both ways.
12778 (avl-tree--enter-balance2): Remove.
12779 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12780 New macros.
12781 (avl-tree--mapc, avl-tree-map): Add direction argument.
12782
12783 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12784
12785 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12786
12787 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12788
12789 * select.el: Support clipboard managers with built-in function
12790 x-clipboard-manager-save, via delete-frame-functions and
12791 kill-emacs-hook.
12792 (xselect-convert-to-targets): Add MULTIPLE target to list.
12793 (xselect-convert-to-save-targets): New function.
12794
12795 2011-05-27 Kenichi Handa <handa@m17n.org>
12796
12797 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12798 let-binding rfc2047-encode-encoded-words to nil.
12799
12800 2011-05-27 Glenn Morris <rgm@gnu.org>
12801
12802 * mail/emacsbug.el: Don't require url-util.
12803
12804 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12805
12806 * files.el (set-auto-mode):
12807 Also respect mode: entries at the end of the file. (Bug#8586)
12808
12809 2011-05-26 Glenn Morris <rgm@gnu.org>
12810
12811 * files.el (hack-local-variables-prop-line, hack-local-variables):
12812 Downcase mode names, as seems to be traditional.
12813 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12814
12815 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12816 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12817
12818 2011-05-25 Julien Danjou <julien@danjou.info>
12819
12820 * textmodes/rst.el (rst-define-level-faces): Do not define face
12821 symbol if it is already defined.
12822
12823 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12824
12825 * play/5x5.el (5x5-new-game, 5x5-randomize):
12826 Reset 5x5-solver-output to nil when a new grid is cast.
12827 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12828 these debugging traces, as defmacro breaks the compiled code.
12829
12830 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12831
12832 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12833
12834 2011-05-24 Leo Liu <sdl.web@gmail.com>
12835
12836 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12837 (vc-bzr-sha1): Adapt.
12838
12839 * sha1.el: Remove. Function `sha1' is now builtin.
12840
12841 * bindings.el: Provide sha1 feature.
12842
12843 2011-05-24 Kenichi Handa <handa@m17n.org>
12844
12845 * mail/sendmail.el: Require `rfc2047'.
12846 (mail-insert-from-field): Do not perform RFC2047 encoding.
12847 (mail-encode-header): New function.
12848 (sendmail-send-it): Set buffer-file-coding-system of the work
12849 buffer to the return value of select-message-coding-system.
12850 Call mail-encode-header.
12851
12852 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12853
12854 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12855
12856 * mail/supercite.el (sc-default-cite-frame):
12857 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12858
12859 2011-05-24 Glenn Morris <rgm@gnu.org>
12860
12861 * progmodes/python.el (brm-menu): Declare.
12862
12863 * emulation/viper.el (viper-set-hooks): Declare.
12864
12865 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12866 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12867 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12868 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12869 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12870 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12871
12872 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12873
12874 Add an :exit-function for completion-at-point.
12875
12876 * minibuffer.el (completion--done): New fun.
12877 (completion--do-completion): Use it. New arg `expect-exact'.
12878 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12879 since completion--do-completion does it for us now.
12880 (minibuffer-force-complete): Use completion--done and
12881 completion--replace. Handle sole-completion case with more care.
12882 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12883 (completion-extra-properties): New var.
12884 (completion-annotate-function): Make obsolete.
12885 (minibuffer-completion-help): Adjust accordingly.
12886 Use completion-list-insert-choice-function.
12887 (completion-at-point, completion-help-at-point):
12888 Bind completion-extra-properties.
12889 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12890 * simple.el (completion-list-insert-choice-function): New var.
12891 (completion-setup-function): Preserve it.
12892 (choose-completion): Pay attention to it, shuffle the code a bit.
12893 (choose-completion-string): New arg `insert-function'.
12894
12895 * textmodes/bibtex.el: Convert to lexical binding.
12896 (bibtex-mode-map): Use completion-at-point.
12897 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12898 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12899 (bibtex-complete): Define as obsolete alias.
12900 (bibtex-complete-internal): Remove.
12901 (bibtex-format-entry): Remove unused sub-group in regexp.
12902 * shell.el (shell--command-completion-data)
12903 (shell-environment-variable-completion):
12904 * pcomplete.el (pcomplete-completions-at-point):
12905 * comint.el (comint--complete-file-name-data): Use :exit-function
12906 instead of completion-table-with-terminator so it also works for
12907 choose-completion.
12908
12909 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12910
12911 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12912
12913 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12914 (bug#8710).
12915
12916 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12917
12918 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12919
12920 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12921 customization variable and implement: If non-nil, auto-fill will
12922 be inhibited while on topic's header line.
12923
12924 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12925
12926 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12927 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12928 always have a solution in grid size = 5 cases.
12929 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12930 (5x5-solver-output, 5x5-log-buffer): New vars.
12931 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12932 Make these variables buffer local to achieve 5x5 multi-session-ness.
12933 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12934 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12935 (5x5-solve-suggest): New funs.
12936 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12937 randomize a grid so that we ensure that there is always a solution.
12938 (5x5-make-random-grid): Allow other movement than flipping.
12939
12940 2011-05-23 Kevin Ryde <user42@zip.com.au>
12941
12942 * emacs-lisp/advice.el (ad-read-advised-function):
12943 Use `function-called-at-point' as the default, if it has
12944 advice and passes PREDICATE.
12945
12946 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12949 byte-compile-lambda if it's actually a lambda.
12950
12951 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12952 Fix function quoting. Use backquote better.
12953
12954 2011-05-22 Yuanle Song <sylecn@gmail.com>
12955
12956 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12957 matching (Bug#8516).
12958
12959 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12960
12961 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12962 different face (Bug#8178).
12963
12964 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12965
12966 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12967 defface (Bug#8144).
12968
12969 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12970
12971 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12972 funcall as well (bug#8712). Warn when performing those conversions.
12973 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12974
12975 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12976
12977 2011-05-22 Glenn Morris <rgm@gnu.org>
12978
12979 * files.el (hack-local-variables-prop-line): Small simplifications.
12980 (hack-local-variables, hack-local-variables-prop-line):
12981 If MODE-ONLY, return the mode, rather than just `t'.
12982
12983 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12986
12987 2011-05-21 Glenn Morris <rgm@gnu.org>
12988
12989 * files.el (hack-local-variables-prop-line, hack-local-variables):
12990 If only interested in the mode, don't bother doing the other stuff.
12991
12992 * image-mode.el (image-after-revert-hook):
12993 Redraw all frames on which the image is visible. (Bug#8567)
12994
12995 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12996
12997 * wid-edit.el (widget-checklist-match-inline):
12998 Fix 2011-04-19 change. (Bug#8649)
12999
13000 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13003 Also allow singlespace after single-letter capitals followed by a dot.
13004
13005 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13006 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13007
13008 2011-05-20 Nix <nix@esperi.org.uk>
13009
13010 * files.el (basic-save-buffer-2):
13011 Fix handling of break-hardlink-on-save with non-existent files.
13012
13013 2011-05-19 Deniz Dogan <deniz@dogan.se>
13014
13015 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13016 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13017
13018 2011-05-19 Glenn Morris <rgm@gnu.org>
13019
13020 * progmodes/f90.el (f90-type-def-re):
13021 Handle "type, bind(c)". (Bug#8691)
13022
13023 * emacs-lisp/autoload.el (batch-update-autoloads):
13024 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13025
13026 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13027
13028 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13029 property for the correct connection in case of multihops.
13030
13031 2011-05-18 Glenn Morris <rgm@gnu.org>
13032
13033 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13034 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13035
13036 Rationalize calendar handling of day and month abbrev-arrays.
13037 * calendar/calendar.el (calendar-customized-p): New function.
13038 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13039 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13040 Add :set function.
13041 (calendar-abbrev-length, calendar-day-abbrev-array)
13042 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13043 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13044 Elements may no longer be nil.
13045 (calendar-day-name, calendar-month-name):
13046 Update for changed nature of abbrev arrays.
13047 * calendar/diary-lib.el (diary-name-pattern):
13048 Update for changed nature of abbrev arrays.
13049 (diary-mark-entries-1): Update calendar-make-alist calls.
13050 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13051 * calendar/cal-html.el (cal-html-day-abbrev-array):
13052 Simply inherit from calendar-day-abbrev-array.
13053
13054 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13055
13056 * progmodes/grep.el (grep-mode): Disable default
13057 compilation-directory-matcher setting (bug#8684).
13058
13059 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13060
13061 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13062 instead of "head" and "tail". There were problems with SunOS 5.9,
13063 and it performs better.
13064
13065 2011-05-17 Glenn Morris <rgm@gnu.org>
13066
13067 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13068
13069 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13070 Replace obsolete function.
13071
13072 * shell.el (pcomplete-parse-arguments-function): Declare.
13073
13074 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13075 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13076 (appt-check): Doc fixes.
13077 (appt-disp-window-function, appt-delete-window-function):
13078 Remove needless special case in custom :type.
13079 (appt-display-count): Default to 0, not nil.
13080 (appt-check): Reset appt-display-count to 0, not nil.
13081
13082 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13083
13084 * progmodes/python.el (python-font-lock-keywords):
13085 Add the Python 3.X keyword "nonlocal" (bug#8639).
13086
13087 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13088
13089 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13090
13091 2011-05-16 Kevin Ryde <user42@zip.com.au>
13092
13093 * info-look.el (makefile-automake-mode): New setups, looking in
13094 automake manual, then makefile-mode.
13095 (makefile-mode): Remove automake manual, have it just in
13096 makefile-automake-mode since there's various things different or
13097 not relevant to plain make.
13098 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13099 believe a hypothetical automake-mode would go to makefile-mode,
13100 not the other way around.
13101
13102 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13103
13104 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13105 hunk-end tags (Bug#8672).
13106
13107 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13108 vc-annotate-show-diff-revision-at-line (Bug#8671).
13109
13110 2011-05-14 Glenn Morris <rgm@gnu.org>
13111
13112 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13113 in the middle of an existing one with multiple authors. (Bug#8645)
13114 (change-log-font-lock-keywords): Also handle multiple author lines
13115 with leading tabs. (Bug#8644)
13116
13117 * calendar/appt.el (appt-check): Rename some local variables.
13118 Some simplification/reordering.
13119
13120 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13121 (feedmail-sendmail-f-doesnt-sell-me-out)
13122 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13123 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13124 (feedmail-queue-runner-message-sender): Set :version.
13125 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13126 (bbdb-dwim-net-address, vm-mail): Declare.
13127 (feedmail-binmail-gnulinuxish-template):
13128 Rename from feedmail-binmail-linuxish-template.
13129 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13130 Use insert-buffer-substring.
13131
13132 2011-05-14 Bill Carpenter <bill@carpenter.org>
13133
13134 * mail/feedmail.el (feedmail-patch-level): Increase.
13135 (feedmail-debug): New custom group.
13136 (feedmail-confirm-outgoing-timeout)
13137 (feedmail-sendmail-f-doesnt-sell-me-out)
13138 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13139 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13140 (feedmail-sender-line, feedmail-from-line)
13141 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13142 (feedmail-spray-this-address)
13143 (feedmail-spray-address-fiddle-plex-list)
13144 (feedmail-queue-use-send-time-for-date)
13145 (feedmail-queue-use-send-time-for-message-id)
13146 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13147 (feedmail-buffer-eating-function):
13148 Doc fixes.
13149 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13150 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13151 (feedmail-message-action-scroll-down): New functions.
13152 (feedmail-queue-directory, feedmail-queue-draft-directory):
13153 Use expand-file-name.
13154 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13155 Remove C-v help entry.
13156 (feedmail-queue-buffer-file-name): New variable.
13157 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13158 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13159 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13160 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13161 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13162 (feedmail-message-action-toggle-spray)
13163 (feedmail-run-the-queue-no-prompts)
13164 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13165 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13166 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13167 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13168 (feedmail-envelope-deducer, feedmail-fiddle-from)
13169 (feedmail-fiddle-sender, feedmail-default-date-generator)
13170 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13171 (feedmail-fiddle-spray-address)
13172 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13173 (feedmail-fiddle-list-of-fiddle-plexes)
13174 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13175 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13176 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13177 Change default. Doc fix.
13178 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13179 (feedmail-binmail-linuxish-template): New constant.
13180 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13181 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13182 (feedmail-send-it): Add debug call.
13183 Use feedmail-queue-buffer-file-name, and
13184 feedmail-send-it-immediately-wrapper.
13185 (feedmail-message-action-send): Add debug call.
13186 Use feedmail-send-it-immediately-wrapper.
13187 (feedmail-queue-express-to-queue): Add debug call.
13188 Run feedmail-queue-express-hook.
13189 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13190 (feedmail-message-action-help-blat):
13191 Rename from feedmail-queue-send-edit-prompt-help-first.
13192 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13193 Check line-endings. Handle errors better.
13194 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13195 Doc fix. Add debug call.
13196 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13197 Use feedmail-queue-send-edit-prompt-inner.
13198 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13199 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13200 from feedmail-queue-send-edit-prompt.
13201 (feedmail-queue-send-edit-prompt-help)
13202 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13203 (feedmail-tidy-up-slug): Add debug call.
13204 Respect feedmail-queue-slug-suspect-regexp.
13205 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13206 (feedmail-dump-message-to-queue): Add debug call.
13207 Expand queue-directory.
13208 (feedmail-dump-message-to-queue): Change message slightly.
13209 Use feedmail-say-chatter.
13210 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13211 (feedmail-send-it-immediately-wrapper): New function.
13212 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13213 Insert empty string rather than newline. Handle full-frame case.
13214 Use catch/throw. Use feedmail-say-chatter.
13215 (feedmail-fiddle-from): Try mail-host-address.
13216 (feedmail-default-message-id-generator): Doc fix.
13217 Bind system-time-locale. Handle missing end.
13218 (feedmail-fiddle-x-mailer): Add debug call.
13219 Handle feedmail-x-mailer-line being nil.
13220 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13221 Add debug call. Use buffer-substring-no-properties.
13222 (feedmail-say-debug, feedmail-say-chatter): New functions.
13223 (feedmail-find-eoh): Give an explicit error.
13224
13225 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13226
13227 * net/newst-treeview.el (newsticker-treeview-face): Change default
13228 family from helvetica to sans.
13229 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13230 etc/images/newsticker.
13231
13232 * net/newst-reader.el (newsticker-feed-face): Change default
13233 family from helvetica to sans.
13234
13235 * net/newst-plainview.el (newsticker-new-item-face)
13236 (newsticker-old-item-face, newsticker-immortal-item-face)
13237 (newsticker-obsolete-item-face, newsticker-date-face)
13238 (newsticker-statistics-face): Change default family from
13239 helvetica to sans.
13240 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13241 etc/images/newsticker.
13242
13243 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13244 (newsticker--process-auto-mark-filter-match): Tell user about
13245 auto-marking.
13246
13247 2011-05-13 Didier Verna <didier@xemacs.org>
13248
13249 Common Lisp indentation improvements on defmethod and lambda-lists.
13250 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13251 TODO entries.
13252 (lisp-lambda-list-keyword-parameter-indentation)
13253 (lisp-lambda-list-keyword-parameter-alignment)
13254 (lisp-lambda-list-keyword-alignment): New customizable user options.
13255 (lisp-indent-defun-method): Improve docstring.
13256 (extended-loop-p): Fix comment.
13257 (lisp-indent-lambda-list-keywords-regexp): New variable.
13258 (lisp-indent-lambda-list): New function.
13259 (lisp-indent-259): Use it.
13260 (lisp-indent-defmethod): Support for more than one
13261 method qualifier and properly indent methods lambda-lists.
13262 (defgeneric): Provide a missing common-lisp-indent-function property.
13263
13264 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13265
13266 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13267 bounds for the empty string (bug#8667).
13268
13269 2011-05-13 Glenn Morris <rgm@gnu.org>
13270
13271 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13272
13273 * mail/sendmail.el (sendmail-program): Try executable-find first.
13274 (sendmail-send-it): `sendmail-program' cannot be unbound.
13275
13276 * calendar/appt.el (appt-make-list): Simplify.
13277 (appt-time-msg-list): Doc fix.
13278 (appt-check): Change mode-line message at the time of the appointment.
13279
13280 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13281
13282 * progmodes/ld-script.el (ld-script-keywords)
13283 (ld-script-builtins): Update keywords list.
13284
13285 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13286
13287 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13288
13289 * shell.el (shell-completion-vars): New function.
13290 (shell-mode):
13291 * simple.el (read-shell-command): Use it.
13292 (blink-matching-open): No need for " [...]" in minibuffer-message.
13293
13294 2011-05-12 Glenn Morris <rgm@gnu.org>
13295
13296 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13297 (appt-check): Simplify.
13298
13299 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13300
13301 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13302 literal "/dev/null".
13303
13304 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13305
13306 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13307 Fix typo.
13308
13309 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13310
13311 * progmodes/which-func.el (which-function):
13312 Use add-log-current-defun instead of add-log-current-defun-function,
13313 which might not be defined (Bug#8260).
13314
13315 2011-05-12 Glenn Morris <rgm@gnu.org>
13316
13317 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13318 Let byte-compile-initial-macro-environment always take precedence.
13319
13320 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 * net/rcirc.el: Add support for SSL/TLS connections.
13323 (rcirc-server-alist): New field `encryption'.
13324 (rcirc): Check `encryption' settings.
13325 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13326 Merge make-local-variable into `set'.
13327 (rcirc--connection-open-p): New function.
13328 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13329 the process is not a network process (e.g. running gnutls-cli).
13330 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13331 Make rcirc-(en|de)code-coding-system local here.
13332 (rcirc-mode): Merge make-local-variable into `set'.
13333 (rcirc-parent-buffer): Make permanent buffer-local.
13334 (rcirc-multiline-minor-mode): Don't do it here.
13335 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13336 there's no server buffer.
13337
13338 2011-05-11 Glenn Morris <rgm@gnu.org>
13339
13340 * newcomment.el (comment-kill): Prefix "unused" local.
13341
13342 * term/w32console.el (get-screen-color): Declare.
13343
13344 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13345 Handle symbol elements of byte-compile-initial-macro-environment.
13346
13347 2011-05-10 Leo Liu <sdl.web@gmail.com>
13348
13349 * bookmark.el (bookmark-bmenu-mode-map):
13350 Bind bookmark-bmenu-search to `/'.
13351
13352 * mail/footnote.el: Convert to utf-8 encoding.
13353 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13354 (Footnote-unicode): New function.
13355 (footnote-style-alist): Add unicode style to the list.
13356 (footnote-style): Doc fix.
13357
13358 2011-05-10 Jim Meyering <meyering@redhat.com>
13359
13360 Fix doubled-word typos.
13361 * international/quail.el (quail-insert-kbd-layout): and and -> and
13362 * kermit.el: and and -> and
13363 * net/ldap.el (ldap-search-internal): to to -> to
13364 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13365 * progmodes/js.el (js-mode): and and -> and
13366 * textmodes/artist.el (artist-move-to-xy): at at -> at
13367 (artist-draw-region-trim-line-endings): if if -> if
13368 And Safetyc -> Safety.
13369 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13370
13371 2011-05-10 Glenn Morris <rgm@gnu.org>
13372 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * files.el (hack-one-local-variable-eval-safep):
13375 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13376
13377 2011-05-10 Glenn Morris <rgm@gnu.org>
13378
13379 * calendar/diary-lib.el (diary-list-entries-hook)
13380 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13381 (diary-nongregorian-marking-hook, diary-list-entries)
13382 (diary-include-other-diary-files, diary-mark-entries)
13383 (diary-mark-included-diary-files): Doc fixes.
13384
13385 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13386
13387 * misc.el: Require tabulated-list.el during compilation.
13388
13389 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13390
13391 * progmodes/compile.el (compilation-start):
13392 Run compilation-filter-hook for the async case too.
13393 (compilation-filter-hook): Doc fix.
13394
13395 2011-05-09 Deniz Dogan <deniz@dogan.se>
13396
13397 * wdired.el: Remove outdated installation comment. Fix usage
13398 comment.
13399
13400 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13401
13402 * misc.el: Implement new command `list-dynamic-libraries'.
13403 (list-dynamic-libraries--loaded-only-p): New variable.
13404 (list-dynamic-libraries--refresh): New function.
13405 (list-dynamic-libraries): New command.
13406
13407 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13408
13409 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13410 Fix the ant regexp to handle end-line and end-column info from jikes.
13411 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13412 higher priority to avoid clobbering by gnu.
13413
13414 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13415
13416 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13417 if the face has existing theme settings (Bug#8454).
13418
13419 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13420
13421 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13422 Only match variables declared via `my' or `our' (Bug#8261).
13423
13424 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13425 special file names `.' and `..' (Bug#8259).
13426
13427 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13428
13429 * progmodes/grep.el (grep-mode-font-lock-keywords):
13430 Remove buffer-changing entries.
13431 (grep-filter): New function.
13432 (grep-mode): Add it to compilation-filter-hook.
13433
13434 * progmodes/compile.el (compilation-filter-hook)
13435 (compilation-filter-start): New defvars.
13436 (compilation-filter): Call compilation-filter-hook prior to
13437 updating the process mark.
13438
13439 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13440
13441 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13442
13443 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13444
13445 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13446 mailclient-send-it even if window-system is nil. (Bug#8595)
13447
13448 * term/w32console.el (terminal-init-w32console):
13449 Call get-screen-color and use its output to set the frame
13450 background-mode. (Bug#8597)
13451
13452 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13455 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13456 New functions.
13457 (defgeneric, eieio--defmethod): Use them.
13458 (eieio-defgeneric): Remove.
13459 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13460
13461 2011-05-07 Glenn Morris <rgm@gnu.org>
13462
13463 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13464 Use let rather than let*.
13465 (timeclock-find-discrep): Remove unused local.
13466
13467 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13468
13469 * calendar/appt.el (appt-time-msg-list): Doc fix.
13470
13471 2011-05-06 Noah Friedman <friedman@splode.com>
13472
13473 * apropos.el (apropos-print-doc): Only use
13474 emacs-lisp-docstring-fill-column when it is bound to an integer,
13475 per that variable's documentation.
13476
13477 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13478
13479 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13480 and warnings are not silently discarded (e.g. use -d instead of -P).
13481
13482 2011-05-06 Glenn Morris <rgm@gnu.org>
13483
13484 * calendar/appt.el (appt-message-warning-time): Doc fix.
13485 (appt-warning-time-regexp): New option.
13486 (appt-make-list): Respect appt-message-warning-time.
13487
13488 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13489 New options.
13490 (diary-add-to-list): Strip comments from the displayed string.
13491 (diary-mode): Set comment-start and comment-end.
13492
13493 * vc/diff-mode.el (smerge-refine-subst): Declare.
13494 (diff-refine-hunk): Don't require smerge-mode when compiling.
13495
13496 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13497
13498 * simple.el (list-processes): Return nil as the docstring says.
13499
13500 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13501
13502 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13503 to "".
13504 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13505 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13506 determining of binary transfer. (Bug#7383)
13507
13508 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13509
13510 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13511 Fix port computation bug. (Bug#8618)
13512
13513 2011-05-05 Glenn Morris <rgm@gnu.org>
13514
13515 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13516
13517 * simple.el (shell-dynamic-complete-functions)
13518 (comint-dynamic-complete-functions): Declare.
13519
13520 * net/network-stream.el (gnutls-negotiate):
13521 * simple.el (tabulated-list-print): Fix declarations.
13522
13523 * progmodes/gud.el (syntax-symbol, syntax-point):
13524 Remove unnecessary and incorrect declarations.
13525
13526 * emacs-lisp/check-declare.el (check-declare-scan):
13527 Handle byte-compile-initial-macro-environment in bytecomp.el
13528
13529 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13530
13531 Fix earlier half-done eieio-defmethod change (bug#8338).
13532 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13533 Streamline and change calling convention.
13534 (defmethod): Adjust accordingly and simplify.
13535 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13536 new eieio--defmethod.
13537 (slot-boundp): Minor CSE simplification.
13538
13539 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13540
13541 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13542 (glasses-make-readable): Use glasses-separate-capital-groups.
13543
13544 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13545
13546 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13547 (warning-series): Doc fix.
13548 (display-warning): Don't try to create the buffer if we just found it.
13549
13550 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13551
13552 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13553 (autoload-find-generated-file): New function.
13554 (generate-file-autoloads): Bind generated-autoload-file to
13555 buffer-file-name.
13556 (update-file-autoloads, update-directory-autoloads):
13557 Use autoload-find-generated-file. If called interactively, prompt for
13558 output file (Bug#7989).
13559 (batch-update-autoloads): Doc fix.
13560
13561 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13562
13563 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13564
13565 2011-05-04 Glenn Morris <rgm@gnu.org>
13566
13567 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13568 function, so it follows changes in calendar-date-style.
13569 (diary-fancy-date-matcher): New function.
13570 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13571 (diary-fancy-font-lock-fontify-region-function):
13572 Use diary-fancy-date-pattern as a function.
13573
13574 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13575 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13576
13577 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13578
13579 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13580 instead of positional arguments. Allow :keylist and :crlfiles
13581 arguments.
13582 (open-gnutls-stream): Call it.
13583
13584 * net/network-stream.el (network-stream-open-starttls): Adjust to
13585 call `gnutls-negotiate' with :process and :hostname arguments.
13586
13587 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13588
13589 * minibuffer.el (completion--message): New function.
13590 (completion--do-completion, minibuffer-complete)
13591 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13592 (completion--do-completion): Don't ignore completion-auto-help when in
13593 icomplete-mode.
13594
13595 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13596 internal encoding (e.g. tibetan zero is not whitespace).
13597 (global-whitespace-mode): Prefer save-current-buffer.
13598 (whitespace-trailing-regexp): Remove useless save-match-data.
13599 (whitespace-empty-at-bob-regexp): Minor simplification.
13600
13601 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13602
13603 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13604
13605 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13606
13607 * textmodes/ispell.el (ispell-add-per-file-word-list):
13608 Use `concat' to create string for insertion.
13609
13610 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13611
13612 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13613 Avoid open-line which runs post-self-insert-hook.
13614 (bibtex-fill-entry): Remove unused `end' var.
13615
13616 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13617
13618 * textmodes/ispell.el (ispell-add-per-file-word-list):
13619 Protect against `nil' value of `comment-start' (Bug#8579).
13620
13621 2011-05-03 Leo Liu <sdl.web@gmail.com>
13622
13623 * isearch.el (isearch-yank-pop): New command.
13624 (isearch-mode-map): Bind it to `M-y'.
13625 (isearch-forward): Mention it.
13626
13627 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13628
13629 * simple.el (minibuffer-complete-shell-command): Remove.
13630 (minibuffer-local-shell-command-map): Use completion-at-point.
13631 (read-shell-command): Setup completion vars here instead.
13632 (read-expression-map): Bind TAB to symbol completion.
13633
13634 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13635 error directly rather via storing it into `results'.
13636
13637 2011-05-02 Leo Liu <sdl.web@gmail.com>
13638
13639 * vc/diff.el: Fix description.
13640
13641 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13642
13643 * server.el (server-eval-at): New function.
13644
13645 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13646
13647 * net/network-stream.el (open-network-stream): Take a :nowait
13648 parameter and pass it on to `make-network-process'.
13649 (network-stream-open-plain): Ditto.
13650
13651 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13652
13653 * faces.el (face-spec-set-match-display): Don't match toolkit
13654 options on terminal frames.
13655
13656 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * progmodes/pascal.el: Use lexical binding.
13659 (pascal-mode-map): Remove author preferences.
13660
13661 * pcomplete.el (pcomplete-std-complete): Don't abuse
13662 completion-at-point.
13663
13664 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13665
13666 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13667 removing code that has been dead since 1991 or so.
13668
13669 * startup.el (command-line): When warning about "_emacs", use a
13670 delayed warning to allow the user to filter it out.
13671
13672 2011-04-28 Deniz Dogan <deniz@dogan.se>
13673
13674 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13675 user has not joined.
13676
13677 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13678
13679 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13680 aren't any completions at point.
13681
13682 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13683
13684 * subr.el (display-delayed-warnings): New function.
13685 (delayed-warnings-hook): New variable.
13686
13687 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13688
13689 * minibuffer.el (completion-at-point, completion-help-at-point):
13690 Don't presume that a given completion-at-point-function will always
13691 use the same calling convention.
13692
13693 * pcomplete.el (pcomplete-completions-at-point):
13694 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13695 pcomplete-seen is non-nil.
13696 (pcomplete-comint-setup): Also recognize the new comint/shell
13697 completion functions.
13698 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13699 pcomplete-seen is non-nil.
13700
13701 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13702
13703 * calendar/icalendar.el (diary-lib): Add require statement.
13704 (icalendar--create-uid): Read out a uid from a text-property on
13705 the first character in the entry. This allows for code to add its
13706 own uid to the entry.
13707 (icalendar--convert-float-to-ical): Add export of
13708 `diary-float'-entries save for those with the optional DAY
13709 argument.
13710
13711 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13712
13713 * subr.el (shell-quote-argument): Use alternate escaping strategy
13714 when we spot a variable reference in a string.
13715
13716 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13717
13718 * cus-start.el (all): Define customization for debug-on-event.
13719
13720 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13721
13722 * subr.el (shell-quote-argument): Escape correctly under Windows.
13723
13724 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13725
13726 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13727
13728 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13729
13730 * net/tramp.el (tramp-process-actions): Add POS argument.
13731 Delete region between POS and (pos).
13732
13733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13734 Use `nil' position in `tramp-process-actions' call.
13735 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13736
13737 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13738 position in `tramp-process-actions' call.
13739
13740 * net/trampver.el: Update release number.
13741
13742 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13743
13744 * custom.el (defcustom): Obey lexical-binding.
13745
13746 Fix octave-inf completion problems reported by Alexander Klimov.
13747 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13748 Inherit from octave-mode-syntax-table.
13749 (inferior-octave-mode): Set info-lookup-mode.
13750 (inferior-octave-completion-at-point): New function.
13751 (inferior-octave-complete): Use it and completion-in-region.
13752 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13753 comint-filename-completion.
13754 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13755 symbol elements which shouldn't be word elements.
13756 (octave-font-lock-keywords, octave-beginning-of-defun)
13757 (octave-function-header-regexp): Adjust regexps accordingly.
13758 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13759
13760 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13761
13762 * net/gnutls.el (gnutls-errorp): Declare before first use.
13763
13764 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13765
13766 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13767 verify-error, and verify-hostname-error parameters. Check whether
13768 default trustfile exists before going to use it. Add missing
13769 argument to gnutls-message-maybe call. Return value.
13770 Reported by Claudio Bley <claudio.bley@gmail.com>.
13771 (open-gnutls-stream): Add usage example.
13772
13773 * net/network-stream.el (network-stream-open-starttls): Give host
13774 parameter to `gnutls-negotiate'.
13775 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13776 * subr.el (shell-quote-argument): Escape correctly under Windows.
13777
13778 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13779
13780 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13781 Use correct match group (bug#8438).
13782
13783 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13784
13785 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13786 (package-menu--generate): New arg specifying packages to show.
13787 (package-menu-refresh, package-menu-execute, list-packages):
13788 Callers changed.
13789 (package-show-package-list): New function, replacing deleted
13790 package--list-packages (renamed because it is non-internal).
13791
13792 * finder.el (finder-list-matches): Use package-show-package-list
13793 instead of deleted package--list-packages.
13794
13795 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13796 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13797 (vc-annotate-mode-map): Bind it to RET.
13798
13799 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13800
13801 * progmodes/etags.el (next-file): Don't use set-buffer to change
13802 buffers (Bug#8478).
13803
13804 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13805
13806 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13807
13808 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13809 (apropos-accumulator): Doc fix.
13810 (apropos-function, apropos-macro, apropos-command)
13811 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13812 (apropos-plist): Add face property.
13813 (apropos-symbols-internal): Fix indentation.
13814 (apropos-print): Simplify help, and recognize apropos-multi-type.
13815 (apropos-print-doc): Use button-type-get to extract the button's
13816 face property. Fill docstring (Bug#8352).
13817
13818 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13819
13820 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13821
13822 * play/mpuz.el (mpuz-silent): Doc fix.
13823 (mpuz-mode-map): Use mapc.
13824 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13825 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13826 Fix typos in docstrings.
13827
13828 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13829 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13830
13831 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13832
13833 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13834
13835 * minibuffer.el (completion--do-completion): Avoid the "Next char
13836 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13837
13838 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13839 mouse-2 into unread-command-events, it is interpreted correctly.
13840
13841 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13842 (image-toggle-display): Doc fix.
13843
13844 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13845
13846 * textmodes/page.el (what-page): Use line-number-at-pos to
13847 calculate line number (Bug#6825).
13848
13849 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13850
13851 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13852 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13853 Pass argument NO-DEFAULT to `find-tag-interactive'.
13854
13855 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13856
13857 Lexical-binding cleanup.
13858
13859 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13860 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13861 * progmodes/ada-prj.el (ada-prj-initialize-values)
13862 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13863 (ada-prj-show-value):
13864 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13865 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13866 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13867 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13868 * progmodes/bug-reference.el (bug-reference-push-button):
13869 * progmodes/fortran.el (fortran-line-length):
13870 * progmodes/glasses.el (glasses-change):
13871 * progmodes/octave-mod.el (octave-fill-paragraph):
13872 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13873 (python-pdbtrack-grub-for-buffer, python-sentinel):
13874 * progmodes/sql.el (sql-save-connection):
13875 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13876 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13877 Mark unused parameters.
13878
13879 * progmodes/compile.el (compilation--flush-directory-cache)
13880 (compilation--flush-parse, compile-internal): Mark unused parameters.
13881 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13882 (compilation-next-error-function): Remove unused variable `timestamp'.
13883
13884 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13885 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13886
13887 * progmodes/dcl-mode.el (dcl-end-of-command):
13888 Remove unused variable `start'.
13889 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13890 (dcl-option-value-basic, dcl-option-value-offset)
13891 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13892 Mark unused parameters.
13893 (dcl-save-local-variable): Remove unused variable `val'.
13894 (mode): Declare.
13895
13896 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13897 Mark unused parameters.
13898 (delphi-ignore-changes): Move before first use.
13899 (delphi-charset-token-at): Remove unused variable `start'.
13900 (delphi-else-start): Remove unused variable `if-count'.
13901 (delphi-comment-block-start, delphi-comment-block-end):
13902 Remove unused variable `kind'.
13903 (delphi-indent-line): Remove unused variable `new-point'.
13904
13905 * progmodes/ebrowse.el (ebrowse-files-list)
13906 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13907 Mark unused parameters. Don't quote `lambda'.
13908 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13909 Don't quote `lambda'.
13910 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13911 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13912 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13913 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13914 Use `ignore-errors'.
13915 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13916 (ebrowse-view/find-file-and-search-pattern)
13917 (ebrowse-view/find-member-declaration/definition):
13918 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13919 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13920 Rename parameter PREFIX-ARG to PREFIX.
13921 (ebrowse-tags-read-name): Remove unused variables `start' and
13922 `member-info'.
13923 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13924 to `tags-file'.
13925
13926 * progmodes/etags.el (local-find-tag-hook): Declare.
13927 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13928 Mark unused parameters.
13929
13930 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13931 (executable-interpret): Mark unused parameter.
13932
13933 * progmodes/flymake.el (flymake-process-sentinel)
13934 (flymake-after-change-function)
13935 (flymake-create-temp-with-folder-structure)
13936 (flymake-get-include-dirs-dot): Mark unused parameters.
13937 (flymake-safe-delete-directory): Remove unused variable `err'.
13938
13939 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13940 (speedbar-timer-fn, speedbar-line-text)
13941 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13942 (speedbar-center-buffer-smartly): Declare functions.
13943 (gdb-find-watch-expression): Remove unused variable `array'.
13944 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13945 (gdb-starting): Mark unused parameters.
13946 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13947 (gdb-table-string): Remove unused variable `res'.
13948 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13949 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13950 (gdb-display-buffer): Remove unused variable `cur-size'.
13951
13952 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13953 allow lexical-binding compilation.
13954 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13955 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13956 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13957 Mark unused parameters.
13958 (gud-gdb-marker-filter): Remove unused variable `match'.
13959 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13960 lambda expressions and funcall them, instead of using `fset'.
13961
13962 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13963 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13964
13965 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13966 variable `header-beg'; use `let'.
13967
13968 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13969 `restart', `last-sexp' and `at-do'.
13970
13971 * progmodes/js.el (js--debug): Mark unused parameter.
13972 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13973 (js--splice-into-items): Remove unused variable `item'.
13974 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13975
13976 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13977 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13978 (makefile-complete): Remove unused variable `try'.
13979 (makefile-fill-paragraph, makefile-match-function-end):
13980 Mark unused parameters.
13981
13982 * progmodes/octave-inf.el (inferior-octave-complete):
13983 Remove unused variable `proc'.
13984 (inferior-octave-output-digest): Mark unused parameter.
13985
13986 * progmodes/perl-mode.el (perl-calculate-indent):
13987 Remove unused variable `err'.
13988
13989 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13990 (prolog-indent-line): Mark unused parameters.
13991 (prolog-indent-line): Remove unused variable `beg'.
13992
13993 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13994 (reporter-dont-compact-list): Declare.
13995
13996 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13997 Remove unused variable `char'.
13998 (sh-debug): Mark unused parameter.
13999 (sh-get-indent-info): Remove unused variable `start'.
14000 (sh-calculate-indent): Remove unused variable `var'.
14001
14002 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14003 (simula-electric-keyword): Remove unused variable `null'.
14004 (simula-search-backward, simula-search-forward): Remove unused
14005 variables `begin' and `end'.
14006
14007 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14008 Remove unused variable `pos'.
14009 (vera-electric-tab, vera-comment-uncomment-region):
14010 Mark unused parameters.
14011 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14012
14013 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14014
14015 * emacs-lisp/package.el (package--builtins, package-alist)
14016 (package-load-descriptor, package-built-in-p, package-activate)
14017 (define-package, package-installed-p)
14018 (package-compute-transaction, package-buffer-info)
14019 (package--push): Doc fix. Distinguish more clearly between
14020 version strings and version lists.
14021
14022 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14023
14024 Lexical-binding cleanup.
14025
14026 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14027 (5x5-make-mutate-best):
14028 * play/fortune.el (fortune-in-buffer):
14029 * play/gomoku.el (gomoku-init-display):
14030 * play/solitaire.el (solitaire, solitaire-do-check):
14031 * play/tetris.el (tetris-default-update-speed-function):
14032 Mark unused parameters.
14033
14034 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14035 (bubbles--shift): Remove unused variable `char-org'.
14036 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14037 (bubbles--show-images): Remove unused variable `char'.
14038
14039 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14040 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14041 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14042 (decipher-analyze-buffer): Use ?\s.
14043 (decipher-make-checkpoint): Remove unused variable `mapping'.
14044
14045 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14046
14047 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14048 Remove unused variable `result'; use `let'.
14049
14050 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14051 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14052 (gametree-children-shown-p, gametree-compute-reduced-score):
14053 Use `ignore-errors'.
14054
14055 * play/handwrite.el (ps-lpr-switches): Declare.
14056 (handwrite): Remove unused variables `pmin' and `lastp'.
14057
14058 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14059
14060 * play/landmark.el (landmark-init-display)
14061 (landmark-update-naught-weights): Mark unused parameters.
14062 (landmark-y): Remove unused variable `noise'. Simplify.
14063 (landmark-human-plays): Remove unused variable `score'.
14064
14065 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14066 (mpuz-try-proposal): Remove unused variable `game'.
14067
14068 * play/zone.el (life-patterns): Declare.
14069
14070 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14071
14072 * vc/vc.el (ediff-vc-internal): Declare function.
14073
14074 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14075
14076 * shell.el: Use lexical-binding and std completion UI.
14077 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14078 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14079 comint-preoutput-filter-functions rather than on
14080 comint-output-filter-functions.
14081 (shell-command-completion, shell--command-completion-data)
14082 (shell-filename-completion, shell-environment-variable-completion)
14083 (shell-c-a-p-replace-by-expanded-directory): New functions.
14084 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14085 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14086 (shell-dynamic-complete-environment-variable): Use them.
14087 (shell-dynamic-complete-as-environment-variable)
14088 (shell-dynamic-complete-as-command): Remove.
14089 (shell-match-partial-variable): Match past point.
14090 * comint.el: Clean up use of completion-at-point-functions.
14091 (comint-completion-at-point): New function.
14092 (comint-mode): Use it completion-at-point-functions.
14093 (comint-dynamic-complete): Make it obsolete.
14094 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14095 (comint-c-a-p-replace-by-expanded-history): New function.
14096 (comint-dynamic-complete-functions)
14097 (comint-replace-by-expanded-history): Use it.
14098 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14099 termination strings. Try harder to avoid second try-completion.
14100 (completion-in-region-mode-map): Disable bindings that don't work yet.
14101
14102 * comint.el: Use lexical-binding. Require CL.
14103 (comint-dynamic-complete-functions): Use comint-filename-completion.
14104 (comint-completion-addsuffix): Tweak custom type.
14105 (comint-filename-completion, comint--common-suffix)
14106 (comint--common-quoted-suffix, comint--table-subvert)
14107 (comint--complete-file-name-data): New functions.
14108 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14109 (comint-dynamic-list-filename-completions): Use them.
14110 (comint-dynamic-simple-complete): Make obsolete.
14111
14112 * minibuffer.el (completion-in-region-mode):
14113 Keep completion-in-region-mode--predicate global.
14114 (completion-in-region--postch):
14115 Assume completion-in-region-mode--predicate is not null.
14116
14117 * progmodes/flymake.el (flymake-start-syntax-check-process):
14118 Obey `dir'. Simplify.
14119
14120 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14121 we're in VC after all.
14122
14123 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14124
14125 * vc/vc.el (vc-diff-build-argument-list-internal)
14126 (vc-version-ediff, vc-ediff): New commands.
14127 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14128
14129 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14130
14131 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14132 add sanity check.
14133
14134 * obsolete/erc-hecomplete.el: Make obsolete.
14135 * obsolete/: Standardize obsolescence info in the header.
14136
14137 2011-04-20 Glenn Morris <rgm@gnu.org>
14138
14139 * calendar/solar.el (solar-horizontal-coordinates):
14140 Use the longitude argument rather than `calendar-longitude'.
14141 (solar-date-next-longitude): Remove unused locals.
14142
14143 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14144
14145 * whitespace.el: New version 13.2.1.
14146
14147 2011-04-20 felix <EmacsWiki> (tiny change)
14148
14149 * whitespace.el (global-whitespace-mode): Keep highlight when
14150 switching between major modes on a file.
14151
14152 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14153
14154 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14155 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14156 multi-line comments as well.
14157
14158 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14159
14160 Lexical-binding cleanup.
14161
14162 * arc-mode.el (archive-mode-revert):
14163 * cmuscheme.el (scheme-interactively-start-process):
14164 * custom.el (custom-initialize-delay):
14165 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14166 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14167 * emacs-lock.el (emacs-lock-clear-sentinel):
14168 * ezimage.el (defezimage):
14169 * follow.el (follow-avoid-tail-recenter):
14170 * fringe.el (set-fringe-mode-1):
14171 * generic-x.el (bat-generic-mode-compile):
14172 * help-mode.el (help-info-variable, help-do-xref)
14173 (help-mode-revert-buffer):
14174 * help.el (view-emacs-todo):
14175 * iswitchb.el (iswitchb-completion-help):
14176 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14177 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14178 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14179 * locate.el (locate-update):
14180 * longlines.el (longlines-encode-region)
14181 (longlines-after-change-function):
14182 * outline.el (outline-isearch-open-invisible):
14183 * ps-def.el (declare-function, charset-dimension, char-width)
14184 (encode-char):
14185 * ps-mule.el (ps-mule-plot-string):
14186 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14187 (recentf-edit-list-select, recentf-edit-list-validate)
14188 (recentf-open-files-action):
14189 * rect.el (delete-whitespace-rectangle-line)
14190 (rectangle-number-line-callback):
14191 * register.el (window-configuration-to-register)
14192 (frame-configuration-to-register):
14193 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14194 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14195 (xselect-convert-to-targets, xselect-convert-to-delete)
14196 (xselect-convert-to-filename, xselect-convert-to-charpos)
14197 (xselect-convert-to-lineno, xselect-convert-to-colno)
14198 (xselect-convert-to-os, xselect-convert-to-host)
14199 (xselect-convert-to-user, xselect-convert-to-class)
14200 (xselect-convert-to-name, xselect-convert-to-integer)
14201 (xselect-convert-to-atom, xselect-convert-to-identity):
14202 * subr.el (declare, ignore, process-kill-without-query)
14203 (text-clone-maintain):
14204 * terminal.el (te-get-char, te-tic-sentinel):
14205 * tool-bar.el (tool-bar-make-keymap):
14206 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14207 * type-break.el (type-break-mode, type-break-noninteractive-query):
14208 * view.el (View-back-to-mark):
14209 * wid-browse.el (widget-browse-action, widget-browse-widget)
14210 (widget-browse-widgets, widget-browse-sexp):
14211 * widget.el (define-widget-keywords):
14212 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14213 Mark unused parameters.
14214
14215 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14216 (align-areas): Remove unused variable `look'.
14217 (align-region): Remove unused variables `real-end' and `pos-list'.
14218
14219 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14220
14221 * bindings.el (mode-line-modified, mode-line-remote):
14222 Mark unused parameters.
14223 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14224
14225 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14226 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14227
14228 * comint.el (comint-history-isearch-pop-state)
14229 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14230 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14231 (comint-substitute-in-file-name): Doc fix.
14232
14233 * completion.el (cmpl-statistics-block): Mark unused parameter.
14234 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14235 (save-completions-to-file, load-completions-from-file):
14236 Remove unused local variable `e'.
14237
14238 * composite.el (compose-chars): Remove unused variable `len'.
14239 (lgstring-insert-glyph): Remove unused variable `g'.
14240 (compose-glyph-string): Remove unused variables `ascent',
14241 `descent', `lbearing' and `rbearing'.
14242 (compose-glyph-string-relative): Remove unused variables
14243 `lbearing', `rbearing' and `wadjust'.
14244 (compose-gstring-for-graphic): Remove unused variables `header',
14245 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14246 (compose-gstring-for-terminal): Remove unused variables `header'
14247 and `nchars'. Use `let', not `let*'.
14248
14249 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14250 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14251 (Custom-buffer-done, custom-buffer-create-internal)
14252 (custom-browse-visibility-action, custom-browse-group-tag-action)
14253 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14254 (widget-magic-mouse-down-action, custom-toggle-parent)
14255 (custom-add-parent-links, custom-toggle-hide-variable)
14256 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14257 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14258 (custom-face-menu-create, custom-variable-menu-create, get)
14259 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14260 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14261 (customize-apropos): Remove unused variable `tests'.
14262 (custom-group-value-create): Remove unused variable `hidden-p'.
14263 (sort-fold-case): Declare.
14264
14265 * cus-theme.el (custom-reset-standard-faces-list)
14266 (custom-reset-standard-variables-list): Declare.
14267 (customize-create-theme, custom-theme-revert, custom-theme-write)
14268 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14269 Mark unused parameters.
14270
14271 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14272
14273 * delim-col.el (delimit-columns-max): Move defvar before first use.
14274
14275 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14276 (describe-char): Don't quote `lambda'. Mark unused parameter.
14277
14278 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14279 (auto-insert): Declare.
14280 (desktop-restore-file-buffer): Rename desktop-* parameters;
14281 mark unused ones.
14282 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14283 (desktop-buffer): Rename desktop-* parameters.
14284
14285 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14286 (dframe-reposition-frame-xemacs, dframe-help-echo)
14287 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14288 Mark unused parameters.
14289
14290 * dired-aux.el (backup-extract-version-start, overwrite-query)
14291 (overwrite-backup-query, rename-regexp-query)
14292 (rename-non-directory-query): Declare.
14293 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14294 (dired-add-entry): Remove unused variable `orig-file-name'.
14295 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14296 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14297 `dired-copy-preserve-time' directly.
14298 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14299 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14300
14301 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14302 (dired-virtual-revert, dired-make-relative-symlink):
14303 Mark unused parameters.
14304 (manual-program): Declare.
14305 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14306 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14307 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14308
14309 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14310
14311 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14312
14313 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14314 Declare.
14315
14316 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14317
14318 * electric.el (Electric-command-loop): Rename parameter
14319 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14320
14321 * expand.el (expand-in-literal): Remove unused variable `here'.
14322
14323 * facemenu.el (facemenu-add-new-color):
14324 Remove unused variable `docstring'.
14325
14326 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14327 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14328 (face-attr-construct): Mark unused parameter. Doc fix.
14329 (read-color): Remove unused variable `hex-string'.
14330
14331 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14332 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14333 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14334 (display-buffer-other-frame): Remove unused variable `old-window'.
14335 (kill-buffer-hook): Declare.
14336 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14337 Mark unused parameters.
14338 (after-find-file): Pass 1 to `auto-save-mode', not t.
14339
14340 * files-x.el (auto-insert): Declare.
14341 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14342
14343 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14344 variable `buf'. Mark unused parameter.
14345 (find-lisp-insert-directory): Mark unused parameter.
14346
14347 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14348 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14349 (format-common-tail): Remove, unused.
14350 (format-deannotate-region): Remove unused variable `loc'.
14351 (format-annotate-region): Remove unused variable `p'.
14352 (format-annotate-single-property-change): Remove unused variables
14353 `default' and `tail'.
14354
14355 * forms.el (read-file-filter): Declare.
14356 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14357
14358 * frame.el (frame-creation-function-alist): Mark unused parameter.
14359 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14360
14361 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14362 Remove unused parameters.
14363 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14364 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14365
14366 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14367 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14368 (hfy-prepare-tag-map): Mark unused parameters.
14369 (htmlfontify-buffer): Use `called-interactively-p'.
14370
14371 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14372 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14373 (ibuffer-do-occur): Mark unused parameters.
14374 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14375 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14376
14377 * ibuffer.el: Don't quote `lambda'.
14378 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14379 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14380 Mark unused parameters.
14381
14382 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14383 (ido-completing-read): Mark unused parameters.
14384 (ido-copy-current-word): Mark unused parameters;
14385 remove unused variable `name'.
14386 (ido-sort-merged-list): Remove unused parameter `dirs'.
14387
14388 * ielm.el (ielm-input-sender): Mark unused parameter.
14389 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14390 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14391 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14392 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14393 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14394
14395 * image-dired.el (image-dired-display-thumbs): Remove unused
14396 variables `curr-file' and `count'.
14397 (image-dired-remove-tag): Remove unused variable `start'.
14398 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14399 variable `curr-file'
14400 (image-dired-rotate-original): Remove unused variable `temp-file'.
14401 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14402 Remove unused variable `file'.
14403 (image-dired-gallery-generate): Remove unused variable `curr'.
14404 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14405
14406 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14407
14408 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14409
14410 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14411
14412 * isearch.el (minibuffer-history-symbol): Declare.
14413 (isearch-edit-string): Remove unused variable `err'.
14414 (isearch-message-prefix, isearch-message-suffix):
14415 Mark unused parameters.
14416
14417 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14418
14419 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14420
14421 * makesum.el (double-column): Remove unused variable `cnt'.
14422
14423 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14424 (ido-ignore-item-temp-list): Declare.
14425
14426 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14427 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14428 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14429 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14430 `mouse-col-delta'.
14431
14432 * mouse-sel.el (mouse-extend-internal):
14433 Remove unused variable `orig-window-frame'.
14434
14435 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14436 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14437 Move declarations before first use.
14438 (pcomplete-opt): Mark unused parameters; doc fix.
14439
14440 * proced.el (proced-revert): Mark unused parameter.
14441 (proced-send-signal): Remove unused variable `err'.
14442
14443 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14444 Rename parameter PREFIX-ARG to ARG.
14445 (ps-basic-plot-string, ps-basic-plot-whitespace):
14446 Mark unused parameters.
14447
14448 * replace.el (replace-count): Define.
14449 (occur-revert-function): Mark unused parameters.
14450 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14451 (isearch-case-fold-search, isearch-string): Declare.
14452 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14453 bind `case-fold-search'. Remove unused variables `beg' and `end',
14454 and simplify.
14455 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14456 COUNT and bind `replace-count'.
14457 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14458 to COUNT.
14459
14460 * savehist.el (print-readably, print-string-length): Declare.
14461
14462 * shadowfile.el (shadow-expand-cluster-in-file-name):
14463 Remove unused variable `cluster'.
14464 (shadow-copy-file): Remove unused variable `i'.
14465 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14466 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14467 (shadow-define-literal-group, shadow-define-regexp-group)
14468 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14469
14470 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14471 (shell): Use `called-interactively-p'.
14472 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14473
14474 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14475 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14476 (delete-backward-char): Remove unused variable `ocol'.
14477 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14478 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14479 (event-apply-hyper-modifier, event-apply-shift-modifier)
14480 (event-apply-control-modifier, event-apply-meta-modifier):
14481 Mark unused parameters.
14482 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14483 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14484
14485 * speedbar.el (speedbar-ignored-directory-expressions)
14486 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14487 (speedbar-find-file, speedbar-dir-follow)
14488 (speedbar-directory-buttons-follow, speedbar-tag-find)
14489 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14490 (speedbar-buffers-line-directory, speedbar-buffer-click):
14491 Mark unused parameters.
14492 (speedbar-tag-file): Remove unused variable `mode'.
14493 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14494
14495 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14496
14497 * talk.el (talk): Remove unused variable `display'.
14498
14499 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14500 (tar-write-region-annotate): Mark unused parameter.
14501
14502 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14503 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14504 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14505 warning by another.
14506
14507 * time-stamp.el (time-stamp-string-preprocess):
14508 Remove unused variable `require-padding'.
14509
14510 * tree-widget.el (widget-glyph-enable): Declare.
14511 (tree-widget-action): Mark unused parameter.
14512
14513 * w32-fns.el (x-get-selection): Mark unused parameter.
14514 (autoload-make-program, generated-autoload-file): Declare.
14515
14516 * wdired.el (wdired-revert): Mark unused parameters.
14517 (wdired-xcase-word): Remove unused variable `err'.
14518
14519 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14520 (whitespace-help-scroll): Remove unused variable `data-help'.
14521
14522 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14523 (widget-image-insert, widget-after-change, default)
14524 (widget-default-format-handler, widget-default-notify)
14525 (widget-default-prompt-value, widget-info-link-action)
14526 (widget-url-link-action, widget-function-link-action)
14527 (widget-variable-link-action, widget-file-link-action)
14528 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14529 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14530 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14531 (widget-insert-button-action, widget-delete-button-action, visibility)
14532 (widget-documentation-link-action, widget-documentation-string-action)
14533 (widget-const-prompt-value, widget-regexp-match, symbol)
14534 (widget-coding-system-prompt-value)
14535 (widget-key-sequence-value-to-external, sexp)
14536 (widget-sexp-value-to-internal, character, vector, cons)
14537 (widget-choice-prompt-value, widget-boolean-prompt-value)
14538 (widget-color--choose-action): Mark unused parameters.
14539 (widget-item-match-inline, widget-choice-match-inline)
14540 (widget-checklist-match, widget-checklist-match-inline)
14541 (widget-group-match): Rename parameter VALUES to VALS.
14542 (widget-field-value-set): Remove unused variable `size'.
14543 (widget-color-action): Remove unused variables `value' and `start'.
14544
14545 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14546 variable `dir'. Doc fix.
14547 (windmove-find-other-window): Don't pass it.
14548
14549 * window.el (count-windows): Mark unused parameter.
14550 (bw-adjust-window): Remove unused variable `err'.
14551
14552 * woman.el (woman-file-name): Remove unused variable `default'.
14553 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14554 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14555 (global-font-lock-mode): Declare.
14556 (woman-decode-region): Mark unused parameter.
14557 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14558
14559 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14560 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14561 (x-dnd-handle-moz-url): Remove unused variable `title'.
14562 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14563
14564 * xml.el (xml-parse-tag, xml-parse-attlist):
14565 Remove unused variable `pos'.
14566
14567 2011-04-19 Glenn Morris <rgm@gnu.org>
14568
14569 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14570 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14571 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14572 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14573 * calendar/cal-html.el (cal-html-insert-minical):
14574 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14575 (calendar-mark-date-pattern):
14576 Prefix "unused" locals.
14577
14578 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14579 optional argument `style'.
14580
14581 * calendar/appt.el (appt-make-list):
14582 * calendar/cal-china.el (calendar-chinese-date-string):
14583 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14584 (diary-hebrew-yahrzeit):
14585 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14586 * calendar/calendar.el (calendar-generate-window):
14587 * calendar/time-date.el (time-to-days):
14588 Remove unused local variables.
14589
14590 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14591
14592 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14593 glyphless-char-display table.
14594 (tabulated-list-glyphless-char-display): New var.
14595
14596 2011-04-18 Sam Steingold <sds@gnu.org>
14597
14598 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14599 to acknowledgments.
14600
14601 2011-04-17 Glenn Morris <rgm@gnu.org>
14602
14603 * calendar/diary-lib.el (diary-sexp-entry):
14604 * calendar/holidays.el (holiday-sexp):
14605 Set debug-on-error rather than the removed stack-trace-on-error.
14606
14607 2011-04-16 Glenn Morris <rgm@gnu.org>
14608
14609 * progmodes/f90.el: Use lexical-binding.
14610 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14611
14612 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14613
14614 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14615 (mail-mode): Setup mailalias completion here instead.
14616 * mail/mailalias.el: Use lexical-binding.
14617 (pattern, mailalias-done): Declare dynamic.
14618 (mail-completion-at-point-function): New function, from mail-complete.
14619 (mail-complete): Use it.
14620 (mail-completion-expand): New function.
14621 (mail-get-names): Use it.
14622 (mail-directory, mail-directory-process, mail-directory-stream):
14623 Don't use `pattern' for lexically bound arg.
14624
14625 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14626
14627 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14628 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14629 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14630
14631 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14632 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14633 (byte-interactive-p): Define them again, for use when inlining
14634 old code.
14635
14636 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14637
14638 * loadup.el: Use `string-to-number', not `string-to-int'.
14639
14640 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14641
14642 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14643 gud-gdb-complete-command.
14644 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14645 (gud-gdb-completion-at-point): New function.
14646 (gud-gdb-completions): Remove.
14647
14648 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14649
14650 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14651 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14652 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14653 whether `executable-find' is bound.
14654
14655 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14656
14657 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14658
14659 * minibuffer.el (completion-in-region-mode-predicate)
14660 (completion-in-region-mode--predicate): New vars.
14661 (completion-in-region, completion-in-region--postch)
14662 (completion-in-region-mode): Use them.
14663 (completion--capf-wrapper): Also return the hook function.
14664 (completion-at-point, completion-help-at-point):
14665 Adjust and provide a predicate.
14666
14667 Preserve arg names for advice of subr and lexical functions (bug#8457).
14668 * help-fns.el (help-function-arglist): Consolidate the subr and
14669 new-byte-code cases. Add argument `preserve-names' to extract names
14670 from the docstring when needed.
14671 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14672 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14673 (ad-arglist): Use help-function-arglist's new arg.
14674 (ad-definition-type): Use cond.
14675
14676 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14677
14678 * autorevert.el (auto-revert-handler):
14679 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14680 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14681 Don't quote lambda.
14682
14683 * image-mode.el (image-transform-set-scale):
14684 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14685
14686 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14687
14688 * net/network-stream.el (network-stream-open-starttls): Only do
14689 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14690 Upgrades via gnutls-cli are too slow to be done opportunistically.
14691
14692 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14693
14694 * dframe.el (dframe-current-frame): Remove spurious quote.
14695
14696 2011-04-12 Glenn Morris <rgm@gnu.org>
14697
14698 * calendar/cal-tex.el (cal-tex-end-document):
14699 Try to automatically use latin1 input if needed.
14700
14701 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14702 Don't try to cons a mark onto an empty element.
14703
14704 2011-04-11 Leo Liu <sdl.web@gmail.com>
14705
14706 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14707 buffers.
14708 (ido-kill-buffer-at-head): Support killing virtual buffers.
14709
14710 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14711
14712 * minibuffer.el (completion-show-inline-help): New var.
14713 (completion--do-completion, minibuffer-complete)
14714 (minibuffer-force-complete, minibuffer-complete-word):
14715 Inhibit minibuffer messages if completion-show-inline-help is nil.
14716
14717 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14718 to avoid interference from inline help (Bug#5849).
14719
14720 2011-04-10 Leo Liu <sdl.web@gmail.com>
14721
14722 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14723 Fix typo.
14724
14725 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14726
14727 * image-mode.el (image-toggle-display-image): Signal an error if
14728 not in Image mode.
14729 (image-transform-mode, image-transform-resize)
14730 (image-transform-set-rotation): Doc fix.
14731 (image-transform-set-resize): Delete.
14732 (image-transform-set-scale, image-transform-fit-to-height)
14733 (image-transform-fit-to-width): Handle image-toggle-display-image
14734 and image-transform-resize directly.
14735
14736 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14737
14738 * doc-view.el (doc-view-fit-width-to-window)
14739 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14740 New functions for fitting the shown image to the Emacs window size.
14741 (doc-view-mode-map): Add bindings for the new functions.
14742
14743 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14744
14745 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14746 Fix typo in docstring.
14747
14748 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14749
14750 * files.el (file-size-human-readable): Produce one digit after
14751 decimal, like "ls -lh" does.
14752
14753 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14754 the file size representation.
14755
14756 * simple.el (list-processes): If async subprocesses are not
14757 available, error out with a clear error message.
14758
14759 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14760
14761 * help.el (help-form-show): New function, to be called from C.
14762 Put help-form output in a buffer named differently than *Help*.
14763
14764 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14765
14766 * files.el (file-size-human-readable): New function.
14767
14768 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14769 computing the representation inline. Don't require `cl'.
14770
14771 2011-04-08 Glenn Morris <rgm@gnu.org>
14772
14773 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14774
14775 * net/browse-url.el (browse-url-firefox):
14776 Test system-type, not system-configuration.
14777
14778 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14779 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14780 Use log-edit-empty-buffer-p. (Bug#7598)
14781
14782 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14783 (rlogin-mode-map): Initialize in the defvar.
14784 (rlogin): Use ignore-errors.
14785
14786 * replace.el (occur-mode-map): Some fixes for menu items.
14787
14788 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14789
14790 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14791
14792 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14793
14794 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14795 issuing unused warnings.
14796
14797 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14798 macro directly.
14799
14800 * simple.el: Lisp reimplement of list-processes. Based on an
14801 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14802 (process-menu-mode): New major mode.
14803 (list-processes--refresh, list-processes):
14804 (process-menu-visit-buffer): New functions.
14805
14806 * files.el (save-buffers-kill-emacs): Don't assume any return
14807 value of list-processes, which is undocumented anyway.
14808
14809 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14810
14811 * emacs-lisp/tabulated-list.el: New file.
14812
14813 * emacs-lisp/package.el: Use Tabulated List mode.
14814 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14815 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14816 table format using Tabulated List mode variables.
14817 (package--push): New macro, replacing package-list-maybe-add.
14818 (package-menu--generate): Use package--push. Renamed from
14819 package--generate-package-list.
14820 (package-menu-refresh, list-packages): Use it.
14821 (package-menu--print-info): Rename from package-print-package.
14822 Return insertion data instead of inserting it directly.
14823 (package-menu-describe-package, package-menu-execute):
14824 Use tabulated-list-get-id.
14825 (package-menu-mark-delete, package-menu-mark-install)
14826 (package-menu-mark-unmark, package-menu-backup-unmark)
14827 (package-menu-mark-obsolete-for-deletion):
14828 Use tabulated-list-put-tag.
14829 (package--list-packages, package-menu-revert)
14830 (package-menu-get-package, package-menu-get-version)
14831 (package-menu-sort-by-column): Functions deleted.
14832 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14833 (package-menu--status-predicate, package-menu--version-predicate)
14834 (package-menu--name-predicate)
14835 (package-menu--description-predicate): Handle arguments in the
14836 Tabulated List format.
14837 (package-list-packages-no-fetch): Call list-packages.
14838
14839 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14840
14841 * files.el (after-find-file-from-revert-buffer): Remove variable.
14842 (after-find-file): Don't bind it.
14843 (revert-buffer-in-progress-p): New variable.
14844 (revert-buffer): Bind it.
14845 Pass nil for `after-find-file-from-revert-buffer'.
14846
14847 * saveplace.el (save-place-find-file-hook): Use new variable
14848 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14849
14850 2011-04-06 Glenn Morris <rgm@gnu.org>
14851
14852 * Makefile.in (AUTOGEN_VCS): New variable.
14853 (autoloads): Use $AUTOGEN_VCS.
14854
14855 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14856 * calendar/calendar.el (calendar-mode-map):
14857 Check for toolkit scroll bars. (Bug#8305)
14858
14859 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14860
14861 * minibuffer.el (completion-in-region--postch)
14862 (completion-in-region-mode): Remove unnecessary messages.
14863
14864 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14865
14866 * font-lock.el (font-lock-refresh-defaults):
14867 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14868 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14869
14870 * info.el (Info-directory-list, Info-read-node-name-2)
14871 (Info-split-parameter-string): Doc fixes.
14872 (Info-virtual-nodes): Reflow docstring.
14873 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14874 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14875 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14876 Fix typos in docstrings.
14877 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14878 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14879 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14880 (Info-restore-desktop-buffer): Mark unused parameters.
14881 (Info-directory-find-file, Info-directory-find-node)
14882 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14883 (Info-virtual-index-find-node, Info-apropos-find-file)
14884 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14885 Mark unused parameters; fix typos in docstrings.
14886 (Info-virtual-index): Remove unused local variable `nodename'.
14887
14888 2011-04-05 Deniz Dogan <deniz@dogan.se>
14889
14890 * net/rcirc.el: Update my e-mail address.
14891 (rcirc-mode-map): Remove M-o binding.
14892
14893 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14894
14895 * startup.el (command-line): Save the cursor's theme-face
14896 directly, instead of using face-override-spec.
14897
14898 * custom.el (load-theme): Minor optimization in assigning faces.
14899
14900 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14901
14902 * help-fns.el (describe-variable): Complete all variables having
14903 documentation, including keywords.
14904 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14905
14906 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14907
14908 Convert to lexical-binding.
14909
14910 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14911 (bs--get-marked-string, bs--get-modified-string)
14912 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14913 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14914 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14915
14916 * ehelp.el (electric-help-execute-extended)
14917 (electric-help-ctrl-x-prefix):
14918 * hexl.el (hexl-revert-buffer-function):
14919 * linum.el (linum-after-change, linum-after-scroll):
14920 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14921
14922 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14923
14924 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14925
14926 * epa-dired.el:
14927 * epa-mail.el:
14928 * epa-hook.el:
14929 * epa-file.el:
14930 * epa.el:
14931 * epg.el: Use lexical binding.
14932
14933 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14934
14935 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14936
14937 * textmodes/flyspell.el (flyspell-word): Recognize default
14938 dictionary case for flyspell-mark-duplications-exceptions.
14939 Use regexp matching for languages.
14940 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14941 default dictionary (Bug#7926).
14942
14943 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14944
14945 * emacs-lisp/package.el (package--with-work-buffer):
14946 Recognize https URLs.
14947
14948 * net/network-stream.el: Move from gnus/proto-stream.el.
14949 Change prefix to network-stream throughout.
14950 (open-protocol-stream): Merge into open-network-stream, leaving
14951 open-protocol-stream as an alias. Handle nil BUFFER args.
14952
14953 * subr.el (open-network-stream): Move to net/network-stream.el.
14954
14955 2011-04-02 Glenn Morris <rgm@gnu.org>
14956
14957 * find-dired.el (find-exec-terminator): New option.
14958 (find-ls-option): Test for -ls support.
14959 (find-ls-subdir-switches): Test for -b in find-ls-option.
14960 (find-dired, find-grep-dired): Doc fixes.
14961 (find-dired): Use find-exec-terminator.
14962
14963 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14964 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14965 (find-name-arg): Remove purecopy.
14966
14967 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14968 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14969 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14970 accordingly. Don't add the null-device if not needed.
14971
14972 * files.el (save-some-buffers): Doc fix.
14973
14974 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14975
14976 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14977
14978 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14979
14980 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14981 Use `dolist' rather than `mapcar'.
14982
14983 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14984
14985 Add lexical binding.
14986
14987 * subr.el (apply-partially): Use new closures rather than CL.
14988 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14989 (dolist, dotimes): Use slightly different expansion for lexical code.
14990 (functionp): Move to C.
14991 (letrec): New macro.
14992 (with-wrapper-hook): Use it and apply-partially instead of CL.
14993 (eval-after-load): Preserve lexical-binding.
14994 (save-window-excursion, with-output-to-temp-buffer): Turn them
14995 into macros.
14996
14997 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14998
14999 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15000 than the arglist.
15001 (help-add-fundoc-usage): Don't add `Not documented'.
15002 (help-function-arglist): Handle closures, subroutines, and new
15003 byte-code-functions.
15004 (help-make-usage): Remove leading underscores.
15005 (describe-function-1): Handle closures.
15006 (describe-variable): Use special-variable-p for completion.
15007
15008 * files.el (lexical-binding): Declare safe.
15009
15010 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15011 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15012 (pcase): Add `let' pattern.
15013 Change memoization so it actually works.
15014 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15015 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15016 <let>: New case.
15017
15018 * emacs-lisp/macroexp.el: Use lexical binding.
15019 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15020 Don't convert ' to #' without checking that it's indeed quoting
15021 a lambda.
15022
15023 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15024 Use eval-sexp-add-defvars.
15025 (eval-sexp-add-defvars): New fun.
15026
15027 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15028
15029 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15030 Don't autoload.
15031 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15032 than the internal `byte-compile-lambda'.
15033 (defmethod): Don't hide code under quotes.
15034 (eieio-defmethod): New `code' argument.
15035
15036 * emacs-lisp/eieio-comp.el: Remove.
15037
15038 * emacs-lisp/edebug.el (edebug-eval-defun)
15039 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15040 (edebug-toggle): Avoid `eval'.
15041
15042 * emacs-lisp/disass.el (disassemble-internal): Handle new
15043 `closure' objects.
15044 (disassemble-1): Handle new byte codes.
15045
15046 * emacs-lisp/cl.el (pushnew): Silence warning.
15047
15048 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15049 (cl-byte-compile-throw): Remove.
15050 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15051
15052 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15053 closures.
15054
15055 * emacs-lisp/cconv.el: New file.
15056
15057 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15058 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15059 (byte-compile-initial-macro-environment):
15060 Handle declare-function here.
15061 (byte-compile--lexical-environment): New var.
15062 (byte-stack-ref, byte-stack-set, byte-discardN)
15063 (byte-discardN-preserve-tos): New lap codes.
15064 (byte-interactive-p): Don't use any more.
15065 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15066 New macros.
15067 (byte-compile-lapcode): Use them and handle new lap codes.
15068 (byte-compile-obsolete): Remove.
15069 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15070 (byte-compile-arglist-warn): Check late def of inlinable funs.
15071 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15072 since they should have been expanded by now.
15073 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15074 (byte-compile-from-buffer): Remove unused second arg.
15075 (byte-compile-preprocess): New function.
15076 (byte-compile-toplevel-file-form): New function to distinguish
15077 file-form calls from outside from file-form calls from hunk-handlers.
15078 (byte-compile-file-form): Simplify.
15079 (byte-compile-file-form-defsubst): Remove.
15080 (byte-compile-file-form-defmumble): Simplify now that
15081 byte-compile-lambda always returns a byte-code-function.
15082 (byte-compile): Preprocess.
15083 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15084 Remove, not used any more.
15085 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15086 (byte-compile-make-args-desc): New funs.
15087 (byte-compile-lambda): Handle lexical functions. Always return
15088 a byte-code-function.
15089 (byte-compile-reserved-constants): New var, to make up room for
15090 closed-over variables.
15091 (byte-compile-constants-vector): Obey it.
15092 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15093 (byte-compile-macroexpand-declare-function): New function.
15094 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15095 byte-code-functions.
15096 (byte-compile-form): Check obsolescence here.
15097 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15098 (byte-compile-variable-ref): Remove.
15099 (byte-compile-dynamic-variable-op): New fun.
15100 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15101 (byte-compile-variable-set): New funs.
15102 (byte-compile-discard): Add 2 args.
15103 (byte-compile-stack-ref, byte-compile-stack-set)
15104 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15105 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15106 macroexpand-all instead.
15107 (byte-compile-quote-form): Remove.
15108 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15109 (byte-compile-bind, byte-compile-unbind): New funs.
15110 (byte-compile-let): Handle let* and lexical binding.
15111 (byte-compile-let*): Remove.
15112 (byte-compile-catch, byte-compile-unwind-protect)
15113 (byte-compile-track-mouse, byte-compile-condition-case):
15114 Handle a new :fun-body form, used for lexical scoping.
15115 (byte-compile-save-window-excursion)
15116 (byte-compile-with-output-to-temp-buffer): Remove.
15117 (byte-compile-defun): Simplify.
15118 (byte-compile-stack-adjustment): New fun.
15119 (byte-compile-out): Use it.
15120 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15121
15122 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15123 handler any more.
15124
15125 * emacs-lisp/byte-opt.el: Use lexical binding.
15126 (byte-inline-lapcode): Remove (to bytecomp).
15127 (byte-compile-inline-expand): Pay attention to inlining to/from
15128 lexically bound code.
15129 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15130 any more.
15131 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15132 any more and don't call compiler-macros.
15133 (byte-compile-splice-in-already-compiled-code): Remove.
15134 (byte-code): Don't inline any more.
15135 (disassemble-offset): Receive `bytes' as argument rather than via
15136 dynamic scoping.
15137 (byte-compile-tag-number): Declare before first use.
15138 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15139 `return' even if make-spliceable.
15140 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15141 obsolete interactive-p.
15142 (byte-optimize-lapcode): Optimize new lap-codes.
15143 Don't trip up on new form of `byte-constant' lap code.
15144
15145 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15146
15147 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15148
15149 * custom.el (custom-initialize-default, custom-declare-variable):
15150 Use `defvar'.
15151
15152 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15153 New variables.
15154 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15155 (COMPILE_FIRST): Add macroexp and cconv.
15156 * makefile.w32-in: Mirror changes in Makefile.in.
15157
15158 * vc/cvs-status.el:
15159 * vc/diff-mode.el:
15160 * vc/log-edit.el:
15161 * vc/log-view.el:
15162 * vc/smerge-mode.el:
15163 * textmodes/bibtex-style.el:
15164 * textmodes/css.el:
15165 * startup.el:
15166 * uniquify.el:
15167 * minibuffer.el:
15168 * newcomment.el:
15169 * reveal.el:
15170 * server.el:
15171 * mpc.el:
15172 * emacs-lisp/smie.el:
15173 * doc-view.el:
15174 * dired.el:
15175 * abbrev.el: Use lexical binding.
15176
15177 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15178
15179 * info.el (info-display-manual): New function.
15180
15181 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15182
15183 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15184
15185 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15186
15187 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15188 an entry for that server in rcirc-authinfo. (Bug#8385)
15189
15190 2011-03-31 Glenn Morris <rgm@gnu.org>
15191
15192 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15193
15194 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15195
15196 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15197
15198 * progmodes/python.el (python-default-interpreter)
15199 (python-python-command-args, python-jython-command-args)
15200 (python-which-shell, python-which-args, python-which-bufname)
15201 (python-file-queue, python-comint-output-filter-function)
15202 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15203 variables and functions.
15204
15205 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15206
15207 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15208 (completion-in-region-mode): New minor mode.
15209 (completion-in-region): Use it.
15210 (completion-in-region--data, completion-in-region-mode-map): New vars.
15211 (completion-in-region--postch): New function.
15212 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15213 New vars.
15214 (completion--capf-wrapper): New function.
15215 (completion-at-point): Use it to track well-behavedness of
15216 hook functions.
15217 (completion-help-at-point): New command.
15218
15219 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15220
15221 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15222 syntax class to search for whitespace on a single line
15223 (Message-ID: <4D938140.4030905@redhat.com>).
15224
15225 2011-03-30 Leo Liu <sdl.web@gmail.com>
15226
15227 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15228 New commands.
15229 (edit-abbrevs-map): Bind them here.
15230 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15231
15232 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15233
15234 * allout.el (allout-hide-by-annotation, allout-flag-region):
15235 Reduce possibility of overlay leakage by making them volatile.
15236
15237 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15238 hash is not shared between buffers. Mode initialization is
15239 responsible for giving it a useful starting value.
15240 (allout-item-span): Reduce possibility of overlay leakage by
15241 making them volatile.
15242 (allout-widgets-count-buttons-in-region): Add diagnostic function
15243 for tracking down button overlay leaks.
15244
15245 2011-03-29 Leo Liu <sdl.web@gmail.com>
15246
15247 * ido.el (ido-read-internal): Use the default history var
15248 minibuffer-history if no HISTORY is specified.
15249
15250 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15251
15252 * net/imap.el (imap-shell-open, imap-process-connection-type):
15253 Use imap-process-connection-type for 'shell' streams as well as
15254 Kerberos, SSL, other subprocesses.
15255
15256 2011-03-28 Leo Liu <sdl.web@gmail.com>
15257
15258 * abbrev.el (abbrev-table-empty-p): New function.
15259 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15260 nonempty ones. (Bug#5937)
15261
15262 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15263
15264 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15265
15266 2011-03-27 Leo Liu <sdl.web@gmail.com>
15267
15268 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15269 for foreground and background colors.
15270 (ansi-color-make-color-map): Adapt.
15271
15272 2011-03-25 Leo Liu <sdl.web@gmail.com>
15273
15274 * midnight.el (midnight-time-float): Remove. Note it calculates
15275 the microsecond component incorrectly and seconds-to-time does the
15276 same job.
15277 Remove redundant (require 'timer).
15278
15279 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15280 (ido-completions): Remove unused arguments. (Bug#8329)
15281
15282 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15283
15284 * minibuffer.el (completion--flush-all-sorted-completions):
15285 Remove itself from hook.
15286 (completion-at-point): Let the functions perform the completion
15287 immediately and return nil or t.
15288 * comint.el (comint-dynamic-complete-functions): Now identical to
15289 completion-at-point-functions.
15290 (comint-dynamic-list-input-ring): Remove unused var `index'.
15291 (comint--match-partial-filename, comint--unquote&expand-filename):
15292 New funs, split from comint-match-partial-filename.
15293 (comint-dynamic-complete): Use completion-at-point.
15294 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15295
15296 2011-03-24 Drew Adams <drew.adams@oracle.com>
15297
15298 * thingatpt.el: Support `defun'.
15299
15300 2011-03-23 Leo Liu <sdl.web@gmail.com>
15301
15302 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15303
15304 * help-mode.el (help-mode-finish): Tweak regexp.
15305
15306 2011-03-23 Glenn Morris <rgm@gnu.org>
15307
15308 * eshell/esh-opt.el (eshell-eval-using-options):
15309 Do not bind unused local variable `eshell-option-stub'.
15310
15311 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15312
15313 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15314
15315 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15316 keymap variable in `with-no-warnings' to avoid a warning when the
15317 keymap has been already `defconst'ed.
15318
15319 2011-03-22 Leo Liu <sdl.web@gmail.com>
15320
15321 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15322 encode all chars in abbrevs; otherwise use emacs-mule or
15323 utf-8-emacs. (Bug#8308)
15324
15325 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15326
15327 * simple.el (backward-delete-char-untabify):
15328 Avoid warning about using `delete-backward-char'.
15329
15330 * image.el (image-type-file-name-regexps): Make it variable.
15331 `imagemagick-register-types' modifies it, and the user may want
15332 to add new extensions for known image types.
15333 (imagemagick-register-types): Throw error if not using ImageMagick.
15334
15335 2011-03-22 Leo Liu <sdl.web@gmail.com>
15336
15337 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15338 located before rcirc-prompt-end-marker.
15339 (rcirc-complete): Error if point is not after rcirc prompt.
15340 Handle the case when table is nil.
15341 (rcirc-user-authenticated): Define to fix compiler warning.
15342
15343 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15344
15345 * custom.el (custom--inhibit-theme-enable): Make it affect only
15346 custom-theme-set-variables and custom-theme-set-faces.
15347 (provide-theme): Ignore custom--inhibit-theme-enable.
15348 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15349 (custom-enabling-themes): Delete variable.
15350 (enable-theme): Accept only loaded themes as arguments.
15351 Ignore the special custom-enabled-themes variable.
15352 (custom-enabled-themes): Forbid themes from setting this.
15353 Eliminate use of custom-enabling-themes.
15354 (custom-push-theme): Quote "changed" custom var entry.
15355
15356 2011-03-21 Leo Liu <sdl.web@gmail.com>
15357
15358 * ido.el (ido-read-internal): Add ido-selected to history instead
15359 of user input.
15360
15361 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 * subr.el (deferred-action-list, deferred-action-function):
15364 Mark obsolete.
15365
15366 2011-03-21 Leo Liu <sdl.web@gmail.com>
15367
15368 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15369 change on 2011-02-13 (bug#8309).
15370
15371 * minibuffer.el (read-file-name-function): Change default value.
15372 (read-file-name--defaults): Rename from read-file-name-defaults.
15373 (read-file-name-default): Rename from read-file-name.
15374 (read-file-name): Call read-file-name-function.
15375
15376 2011-03-21 Glenn Morris <rgm@gnu.org>
15377
15378 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15379 Doc fixes.
15380
15381 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15382
15383 * cus-theme.el: Add missing provide statement.
15384 (customize-create-theme): Extract theme value correctly.
15385 (custom-theme-visit-theme): Autoload.
15386 (customize-create-theme): Prompt before inserting default faces.
15387
15388 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15389
15390 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15391 units and musical notes.
15392
15393 2011-03-20 Leo Liu <sdl.web@gmail.com>
15394
15395 * ido.el (ido-read-internal): Use completing-read-default.
15396 (ido-completing-read): Fix compatibility with completing-read.
15397
15398 2011-03-20 Christian Ohler <ohler@gnu.org>
15399
15400 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15401 (ert-delete-all-tests): Use `called-interactively-p' rather than
15402 `interactive-p'.
15403 (ert--make-xrefs-region): Respect END.
15404
15405 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15406
15407 * dired-aux.el (dired-create-directory): Signal an error if the
15408 directory already exists (Bug#8246).
15409
15410 * facemenu.el (list-colors-display): Call list-faces-display
15411 inside with-help-window.
15412 (list-colors-print): Use display property to align the final
15413 column, instead of checking window-width.
15414
15415 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15416
15417 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15418 windows-nt systems.
15419 (emerge-protect-metachars): Quote correctly for ms-dos and
15420 windows-nt systems.
15421
15422 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15423
15424 * info.el (info-initialize): Replace all uses of `:' with
15425 path-separator for compatibility with non-Unix systems.
15426 Cache quoting of path-separator. (Bug#8258)
15427
15428 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15429
15430 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15431 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15432 (mouse-avoidance-mode): Fix typos in docstrings.
15433
15434 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15435
15436 * startup.el (package-subdirectory-regexp): Move from package.el.
15437 Omit \\` and \\', and let callers add them.
15438
15439 * emacs-lisp/package.el (package-strip-version)
15440 (package-load-all-descriptors): Add \\` and \\' to
15441 package-subdirectory-regexp before using it.
15442 (package-untar-buffer): New arg DIR; ensure that file untars only
15443 into this expected directory. Remove superfluous delete-region.
15444 (package-unpack): Caller changed.
15445 (package-tar-file-info): Use package-subdirectory-regexp.
15446
15447 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15448
15449 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15450 diff-mode-shared-map (bug#8284).
15451 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15452
15453 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15454
15455 * calendar/time-date.el (format-seconds): Use assoc instead of
15456 assoc-string, since assoc-string doesn't exist in XEmacs.
15457
15458 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15459
15460 * custom.el (custom-known-themes): Reflow docstring.
15461 (custom-theme-load-path): Fix typo in docstring.
15462 (load-theme): Fix typo in error message.
15463 (custom-available-themes, custom-variable-theme-value):
15464 Use `let', not `let*'.
15465
15466 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15467
15468 * calc/README: Mention inclusion of musical notes.
15469
15470 * calc/calc-units.el (calc-lu-quant): Rename from
15471 `calc-logunits-quantity'.
15472 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15473 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15474 (calc-db): Rename from `calc-dblevel'.
15475 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15476 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15477 (calc-np): Rename from `calc-nplevel'.
15478 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15479 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15480 (calc-lu-plus): Rename from `calc-logunits-add'.
15481 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15482 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15483 (calc-lu-minus): Rename from `calc-logunits-sub'.
15484 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15485 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15486 (calc-lu-times): Rename from `calc-logunits-mul'.
15487 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15488 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15489 (calc-lu-divide): Rename from `calc-logunits-div'.
15490 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15491 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15492
15493 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15494 functions being autoloaded.
15495
15496 * calc/calc.el (calc-lu-power-reference): Rename from
15497 `calc-logunits-power-reference'.
15498 (calc-lu-field-reference): Rename from
15499 `calc-logunits-field-reference'.
15500
15501 * calc/calc-help.el (calc-l-prefix-help):
15502 Mention musical note functions.
15503
15504 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15505
15506 * minibuffer.el (completion-all-sorted-completions):
15507 Use :completion-cycle-penalty text property if present.
15508
15509 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15510
15511 * allout.el (allout-yank-processing): Adjust for new rebulleting
15512 regime so bullet being yanked is used without prompting the user
15513 for a choice.
15514
15515 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15516
15517 * startup.el (command-line): Warn the user that _emacs is deprecated.
15518
15519 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15520
15521 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15522 (delphi-verbose, delphi-comment-face, delphi-string-face)
15523 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15524 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15525 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15526 (delphi-new-comment-line, delphi-font-lock-defaults)
15527 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15528 Fix typos in docstrings.
15529
15530 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15531
15532 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15533 Invert the roles of character and string values for INSTEAD, so a
15534 string is used for the more common case of a defaulting prompt.
15535
15536 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * progmodes/ruby-mode.el (ruby-backward-sexp):
15539 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15540 * play/gamegrid.el (gamegrid-make-face):
15541 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15542 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15543 * notifications.el (notifications-notify):
15544 * net/xesam.el (xesam-search-engines):
15545 * net/quickurl.el (quickurl-list-insert):
15546 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15547
15548 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15549
15550 * startup.el (command-line): Update package subdirectory regexp.
15551
15552 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15553
15554 * allout.el (allout-abbreviate-flattened-numbering)
15555 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15556
15557 * subr.el (read-char-choice): Only show the cursor after the prompt,
15558 not after the answer.
15559
15560 2011-03-15 Kevin Ryde <user42@zip.com.au>
15561
15562 * help-fns.el (variable-at-point): Skip leading quotes, if any
15563 (bug#8253).
15564
15565 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15566
15567 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15568 warning message.
15569
15570 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15571
15572 * shell.el (shell): When called interactively, offer to change the
15573 shell file name on remote hosts.
15574
15575 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15576
15577 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15578 integration for LDAP parameters. The host, base, user or binddn,
15579 and secret tokens can be specified in a netrc file, for instance.
15580 This is optional because an `auth-source' parameter must be
15581 specified in the search attributes.
15582
15583 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15584
15585 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15586
15587 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15588
15589 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15590 into declaration. Remove redundant and harmful binding.
15591
15592 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15593
15594 * files.el (file-ownership-preserved-p): Pass `integer' as an
15595 explicit 2nd argument to `file-attributes'. If the file's owner
15596 is the Administrators group on Windows, and the current user is
15597 Administrator, consider that a match.
15598
15599 * server.el (server-ensure-safe-dir): Consider server directory
15600 safe on MS-Windows if its owner is the Administrators group while
15601 the current Emacs user is Administrator. Use `=' to compare
15602 numerical UIDs, since they could be integers or floats.
15603
15604 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15605
15606 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15607
15608 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15609
15610 Sync with Tramp 2.2.1.
15611
15612 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15613
15614 * net/trampver.el: Update release number.
15615
15616 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15617
15618 * progmodes/compile.el (compilation--previous-directory): Fix up
15619 various nil/dead-marker mismatches (bug#8014).
15620 (compilation-directory-properties, compilation-error-properties):
15621 Don't call it at a position past the one we're about to change.
15622
15623 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15624 Disable obsolescence warnings in the file that declares it.
15625
15626 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15627
15628 * allout-widgets.el (allout-widgets-tally):
15629 Initialize allout-widgets-tally as a hash table rather than nil to
15630 prevent mode-line redisplay warnings. Also, clarify the module
15631 description and fix a comment typo.
15632
15633 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15634
15635 * help-fns.el (describe-variable): Don't complete keywords.
15636 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15637
15638 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15639
15640 * emacs-lisp/package.el (package-version-join): Impose a standard
15641 string representation for pre/alpha/beta version lists.
15642 (package-unpack-single): Standardize the directory name by passing
15643 it through package-version-join.
15644 (package-strip-rcs-id): Accept any version string that does not
15645 signal an error in version-to-list.
15646
15647 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15648
15649 * simple.el (delete-trailing-whitespace): Return nil for the
15650 benefit of `write-file-functions'.
15651
15652 2011-03-10 Glenn Morris <rgm@gnu.org>
15653
15654 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15655
15656 * vc/vc-git.el (vc-git-program): New option.
15657 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15658 (vc-git--call): Use it.
15659
15660 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15661
15662 * cus-edit.el (Custom-newline): If no button at point, look
15663 for a subgroup button at start-of-line. (Bug#2298)
15664
15665 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15666
15667 2011-03-10 Julien Danjou <julien@danjou.info>
15668
15669 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15670 `cursor-type' is nil.
15671
15672 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15673
15674 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15675
15676 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15677
15678 * allout.el: Change so yank of distinctive-bullet items
15679 preserves the existing header prefix, rebulleting it if necessary,
15680 rather than replacing it. This is necessary for proper operation
15681 of cooperative addons like allout-widgets.
15682 (allout-make-topic-prefix, allout-rebullet-heading):
15683 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15684 value as alternate bullet to be used, instead of prompting the user
15685 for a bullet character.
15686
15687 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15688
15689 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15690 Do not use `tramp-file-name-port', because this returns also
15691 `tramp-default-port'.
15692
15693 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15694
15695 * net/rcirc.el (rcirc-handler-001): Remove useless
15696 with-rcirc-process-buffer.
15697 (rcirc-check-auth-status): Swap arguments to string-match.
15698
15699 2011-03-09 Glenn Morris <rgm@gnu.org>
15700
15701 * shell.el (shell-mode):
15702 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15703
15704 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15705 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15706
15707 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15708
15709 * emacs-lisp/package.el (package-refresh-contents)
15710 (package-menu-execute): Use condition-case-no-debug.
15711
15712 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15713
15714 * simple.el (shell-command-to-string): Use `process-file'.
15715
15716 * emacs-lisp/package.el (package-tar-file-info): Handle also
15717 remote files.
15718
15719 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15720 Use `equal' for upload base check.
15721
15722 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15723
15724 * textmodes/texinfo.el (texinfo-environments):
15725 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15726
15727 2011-03-08 Glenn Morris <rgm@gnu.org>
15728
15729 * cus-start.el (cursor-in-non-selected-windows):
15730 Fix :set quoting oddness. (Bug#8192)
15731
15732 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15733 in some setf expressions. (Bug#2159)
15734
15735 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15736
15737 * custom.el (custom-available-themes): Return themes in
15738 alphabetical order.
15739
15740 See ChangeLog.15 for earlier changes.
15741
15742 ;; Local Variables:
15743 ;; coding: utf-8
15744 ;; End:
15745
15746 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15747
15748 This file is part of GNU Emacs.
15749
15750 GNU Emacs is free software: you can redistribute it and/or modify
15751 it under the terms of the GNU General Public License as published by
15752 the Free Software Foundation, either version 3 of the License, or
15753 (at your option) any later version.
15754
15755 GNU Emacs is distributed in the hope that it will be useful,
15756 but WITHOUT ANY WARRANTY; without even the implied warranty of
15757 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15758 GNU General Public License for more details.
15759
15760 You should have received a copy of the GNU General Public License
15761 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.