* lisp/files.el (file-name-base): New convenience function.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d2c32364
SS
12012-06-26 Sam Steingold <sds@gnu.org>
2
3 * files.el (file-name-base): New convenience function.
4 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el,
5 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el,
6 * progmodes/cc-defs.el, progmodes/cperl-mode.el,
7 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el,
8 * textmodes/ispell.el, textmodes/reftex-ref.el,
9 * textmodes/tex-mode.el: Use it.
10 Did not touch cedet and org because they are maintained elsewhere.
11
5cf983b2
MR
122012-06-26 Martin Rudalics <rudalics@gmx.at>
13
14 * calendar/calendar.el (calendar-exit): Don't try to delete or
15 iconify last frame. See:
16 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
17
8c4f2952
JD
182012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
19
20 * server.el (server-process-filter): Remember dir in the
21 process's `server-client-directory' properties.
22
772b2e2c
CY
232012-06-24 Chong Yidong <cyd@gnu.org>
24
25 * xml.el (xml-parse-tag): Correctly handle comment embedded in
26 non-tag text.
27
711b11e1
JB
282012-06-23 Juanma Barranquero <lekktu@gmail.com>
29
30 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
31
dc5d230c
SM
322012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * help-fns.el (describe-variable): Don't croak when doc is not found.
35 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
36 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
37 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
38 * emacs-lisp/smie.el (smie-next-sexp): CSE.
39 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
40 ((lambda ..) ..).
41 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
42
136e1c1d
CY
432012-06-23 Chong Yidong <cyd@gnu.org>
44
e8c1cabf
CY
45 * info.el (Info-mouse-follow-link): Accept symbol values of
46 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
47 (Info-fontify-node): Use Info-link-keymap for all navigation
48 buttons, with link-args property to perform the desired action.
49 (Info-link-keymap): Doc fix.
50 (Info-next-link-keymap, Info-prev-link-keymap)
51 (Info-up-link-keymap): Delete now-unused keymaps.
52
0e9e6c6a
CY
532012-06-23 Chong Yidong <cyd@gnu.org>
54
05e89fea
CY
55 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
56
0e9e6c6a
CY
57 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
58 system abbrevs.
59
60 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
61
e33c6771
SM
622012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
63
b68581e2
SM
64 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
65 (bug#11719).
66
e33c6771
SM
67 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
68 the requote function doesn't work properly (bug#11714).
69
7117e105
GM
702012-06-23 Glenn Morris <rgm@gnu.org>
71
72 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
73
36cec983
SM
742012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 Further GV/CL cleanups.
77 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
78 gv-expander.
79 (gv--defun-declaration): New function.
80 (defun-declarations-alist): Use it.
81 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
82 (gv-place): Autoload.
83 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
84 original definition of dotimes and dolist.
85 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
86 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
87 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
88 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
89 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
90 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
91 to the function's definition.
92 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
93 * window.el:
94 * files.el:
95 * faces.el:
96 * env.el: Don't use CL.
97
d35af63c
PE
982012-06-22 Paul Eggert <eggert@cs.ucla.edu>
99
100 Support higher-resolution time stamps (Bug#9000).
101
102 * calendar/time-date.el (with-decoded-time-value): New arg
103 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
104 (encode-time-value): New optional arg PICO. New type 3.
105 (time-to-seconds) [!float-time]: Support the new picoseconds
106 component if it's used.
107 (seconds-to-time, time-subtract, time-add):
108 Support ps-resolution time stamps as well.
109
110 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
111 (timerp): Timer vectors now have length 9, not 8.
112 (timer--time): Support new-style (4-part) time stamps.
113 (timer-next-integral-multiple-of-time): Time stamps now have
114 picosecond resolution, so take a bit more care about rounding.
115 (timer-relative-time, timer-inc-time): New optional arg psecs.
116 (timer-set-time-with-usecs): Set psecs to 0.
117 (timer--activate): Check psecs component, too.
118
119 * proced.el (proced-time-lessp): Support ps-resolution stamps.
120
ac77b21a
SM
1212012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
122
f143bfe3
SM
123 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
124 Move the non-essential binding to the post/pre-command-hook where it is
125 more obviously correct.
126
ac77b21a
SM
127 * subr.el (read-passwd): Don't use a history at all.
128 * savehist.el (savehist-save): Remove password saved accidentally
129 because of the above bug.
130
76386c5a
BG
1312012-06-22 Bastien Guerry <bzg@gnu.org>
132
133 * files.el (toggle-read-only): Display a message telling whether
134 the buffer is read-only or not (bug#11726).
135
2ee3d7f0
SM
1362012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * emacs-lisp/gv.el: New file.
139 * subr.el (push, pop): Extend to generalized variables.
140 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
141 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
142 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
143 gv-define-simple-setter, and gv-define-expander.
144 Remove setf-methods defined in gv. Rename cl-setf -> setf.
145 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
146 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
147 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
148 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
149 gv-letplace.
150 (cl-defstruct): Don't define setf-method any more.
151 * emacs-lisp/cl.el (flet): Don't autoload.
152 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
153 (define-setf-expander, defsetf, define-modify-macro)
154 (cl-struct-setf-expander): Move from cl-lib.el.
155 * emacs-lisp/syntax.el:
156 * emacs-lisp/ewoc.el:
157 * emacs-lisp/smie.el:
158 * emacs-lisp/cconv.el:
159 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
160 (timer--time): Use gv-define-simple-setter.
161 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
162 to avoid coding-system problems in subr.el. Adjust all users.
163 (macroexp--maxsize, macroexp-small-p): New functions.
164 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
165 * scroll-bar.el (scroll-bar-mode):
166 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
167 (normal-erase-is-backspace-mode): Don't use the `eq' place.
168 * winner.el (winner-configuration, winner-make-point-alist)
169 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
170 * files.el (locate-file-completion-table): Avoid list*.
171
c5695d1d
CY
1722012-06-22 Chong Yidong <cyd@gnu.org>
173
174 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
175 (dired-create-files): Doc fix (Bug#11329).
176 (dired-do-copy): Doc fix (Bug#11334).
177 (dired-mark-read-string): Doc fix (Bug#11553).
178
2ee3d7f0
SM
179 * dired.el (dired-recursive-copies, dired-recursive-deletes):
180 Doc fix (Bug#11326).
c5695d1d
CY
181 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
182 (dired-dwim-target): Doc fix.
183
184 * wdired.el (wdired-mode): Doc fix.
185
89b5595a
GM
1862012-06-22 Glenn Morris <rgm@gnu.org>
187
575db3f1
GM
188 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
189 (pcmpl-rpm-cache-stamp-file): New constant.
190 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
191 (pcmpl-rpm-packages): Optionally cache list of packages.
192
a4c8dd51
GM
193 * pcmpl-rpm.el (pcmpl-rpm): New group.
194 (pcmpl-rpm-query-options): New option.
195 (pcmpl-rpm-packages): No need to inline it.
196 Use pcmpl-rpm-query-options.
197
89b5595a
GM
198 * calendar/calendar.el (calendar-in-read-only-buffer):
199 Avoid some needless mode changes.
200
e76f0800
CY
2012012-06-21 Chong Yidong <cyd@gnu.org>
202
203 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
204 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 205 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 206
297a8f1d
CY
2072012-06-20 Chong Yidong <cyd@gnu.org>
208
209 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
210
d34c18b1
DR
2112012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
212
213 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
214 (bug#11201).
215
32f7f28e
CY
2162012-06-20 Chong Yidong <cyd@gnu.org>
217
218 * term.el (term-window-width): Handle the case of a missing right
219 fringe (Bug#8837).
220 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
221 (term-mode): Use define-derived-mode. Minor cleanups.
222 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
223 (term-move-columns, term-insert-char, term-emulate-terminal)
224 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 225
493c6688
MA
2262012-06-20 Michael Albinus <michael.albinus@gmx.de>
227
d34c18b1
DR
228 * net/ange-ftp.el (ange-ftp-get-passwd):
229 Bind `enable-recursive-minibuffers'.
493c6688
MA
230 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
231
3f06ecf4
DR
2322012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
233
234 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
235
68f12411
GM
2362012-06-19 Glenn Morris <rgm@gnu.org>
237
238 * progmodes/python.el (python-mode): Derive from prog-mode.
239
b3820318
KG
2402012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
241
242 * emulation/edt.el (edt-default-menu-bar-update-buffers)
243 (edt-user-menu-bar-update-buffers): New functions.
244 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
245
c6bf3022
CY
2462012-06-19 Chong Yidong <cyd@gnu.org>
247
248 * subr.el (with-selected-window): Preserve the selected window's
249 terminal's top-frame (Bug#4702).
250
251 * window.el (save-selected-window): Likewise.
252
25f09295
SM
2532012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * progmodes/python.el (python-rx-constituents): Move backquote.
256 (python-skeleton-define, python-define-auxiliary-skeleton):
257 Use `declare'.
258
6b11952a
MA
2592012-06-18 Michael Albinus <michael.albinus@gmx.de>
260
261 * minibuffer.el (read-file-name-default): Revert the patch from
262 2012-06-17.
263
ee4b1330
SM
2642012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
267 (pcase--u1, pcase--q1): Don't use apply-partially.
268
35647f79
GM
2692012-06-18 Glenn Morris <rgm@gnu.org>
270
271 * progmodes/python.el (python-proc, python-buffer)
272 (python-send-receive, python-send-string): Fix obsolete versions.
273
24b0cff0
MR
2742012-06-18 Martin Rudalics <rudalics@gmx.at>
275
276 * window.el (special-display-p): Completely remove stringp
277 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
278
29855149
MA
2792012-06-17 Michael Albinus <michael.albinus@gmx.de>
280
281 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
282
283 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
284
285 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
286 * net/tramp-sh.el (tramp-maybe-open-connection):
287 Throw if `non-essential' is non-nil.
288
07463363
MR
2892012-06-17 Martin Rudalics <rudalics@gmx.at>
290
291 * window.el (special-display-p): Signal an error if BUFFER-NAME
292 is not a string (Bug#11713).
293
48d1354e
PE
2942012-06-17 Paul Eggert <eggert@cs.ucla.edu>
295
296 * progmodes/python.el (python-info-beginning-of-backslash):
297 Rename from python-info-beginning-of-backlash, as a spelling fix.
298
eb4a8a9a
CY
2992012-06-17 Chong Yidong <cyd@gnu.org>
300
301 * term.el (term-emulate-terminal): If term-check-size is called,
302 move point to the process mark without resetting point (Bug#4635).
303
ddfbf826 3042012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
305
306 * international/mule-cmds.el (mule-menu-keymap)
307 (set-language-environment, set-locale-environment): Doc tweaks.
308
9b0e3eba
AA
3092012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
310
311 * cus-face.el (custom-face-attributes): Add wave-style underline
312 attribute.
313 * faces.el (set-face-attribute): Update docstring to describe
314 wave-style underline attribute.
315
771e3eae
CY
3162012-06-16 Chong Yidong <cyd@gnu.org>
317
318 * term/xterm.el (terminal-init-xterm): Discard input before
319 querying background mode (Bug#10959).
320
7ae2ea10
SM
3212012-06-16 Stefan Merten <smerten@oekonux.de>
322
323 * textmodes/rst.el: Added and corrected some comments.
324 (rst-re-alist-def): Improve symbol syntax.
325 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
326 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
327 (rst-official-version, rst-official-cvs-rev): Update version
328 information.
7ae2ea10 329
b6974efa
JB
3302012-06-15 Juanma Barranquero <lekktu@gmail.com>
331
332 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
333 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
334
8826d473
GM
3352012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
336
337 * progmodes/python.el: New python.el merge.
338 (python-guess-indent): Obsolete var.
339 (python-indent-guess-indent-offset): New defcustom.
340 (python-indent): Obsolete var.
341 (python-indent-offset): New defcustom.
342 (python-python-command, python-jython-command): Delete var.
343 (python-shell-interpreter): New defcustom.
344 (python-pdbtrack-do-tracking-p): Delete var.
345 (python-pdbtrack-activate): New defcustom.
346 (python-use-skeletons): Obsolete var.
347 (python-skeleton-autoinsert): New defcustom.
348 (inferior-python-filter-regexp, python-continuation-offset)
349 (python-honour-comment-indentation, python-indent-string-contents)
350 (python-jython-packages, python-mode-hook)
351 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
352 (python-shell-prompt-alist)
353 (python-source-modes): Delete defcustoms.
354 (python-check-buffer-name, python-eldoc-setup-code)
355 (python-eldoc-string-code, python-ffap-setup-code)
356 (python-ffap-string-code, python-fill-comment-function)
357 (python-fill-decorator-function, python-fill-paren-function)
358 (python-fill-string-function, python-imenu-include-defun-type)
359 (python-imenu-make-tree, python-imenu-subtree-root-label)
360 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
361 (python-shell-compilation-regexp-alist)
362 (python-shell-completion-module-string-code)
363 (python-shell-completion-pdb-string-code)
364 (python-shell-completion-setup-code)
365 (python-shell-completion-string-code)
366 (python-shell-enable-font-lock, python-shell-exec-path)
367 (python-shell-extra-pythonpaths)
368 (python-shell-internal-buffer-name, python-shell-interpreter-args)
369 (python-shell-process-environment)
370 (python-shell-prompt-block-regexp)
371 (python-shell-prompt-output-regexp)
372 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
373 (python-shell-send-setup-max-wait, python-shell-setup-codes)
374 (python-shell-virtualenv-path): New defcustoms.
375 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
376 (inferior-python-mode-syntax-table, python--prompt-regexp)
377 (python-buffer, python-command python-python-command)
378 (python-default-template, python-imports, python-indent-index)
379 (python-indent-list, python-indent-list-length)
380 (python-mode-running, python-pdbtrack-is-tracking-p)
381 (python-preoutput-continuation, python-preoutput-leftover)
382 (python-preoutput-result, python-preoutput-skip-next-prompt)
383 (python-prev-dir/file, python-recursing)
384 (python-saved-check-command, python-version-checked)
385 (python-which-func-length-limit)
386 (view-return-to-alist): Delete vars.
387 (python-check-custom-command, python-dotty-syntax-table)
388 (python-imenu-index-alist, python-indent-current-level)
389 (python-indent-dedenters, python-indent-levels)
390 (python-nav-beginning-of-defun-regexp)
391 (python-nav-list-defun-positions-cache)
392 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
393 (python-shell-internal-buffer)
394 (python-skeleton-available): New vars.
395 (def-python-skeleton): Delete macro.
396 (python-skeleton-define): New macro.
397 (python-define-auxiliary-skeleton, python-rx): New macros.
398 (python-insert-class): Delete command.
399 (python-skeleton-class): New command.
400 (python-insert-def): Delete command.
401 (python-skeleton-def): New command.
402 (python-insert-for): Delete command.
403 (python-skeleton-for): New command.
404 (python-insert-if): Delete command.
405 (python-skeleton-if): New command.
406 (python-insert-try/except, python-insert-try/finally): Delete commands.
407 (python-skeleton-try): New command.
408 (python-insert-while): Delete command.
409 (python-skeleton-while): New command.
410 (python-backspace): Delete command.
411 (python-indent-dedent-line-backspace): New command.
412 (python-electric-colon): Delete command.
413 (python-indent-electric-colon): New command.
414 (python-guess-indent): Delete command.
415 (python-indent-guess-indent-offset): New command.
416 (python-shift-left): Delete command.
417 (python-indent-shift-left): New command.
418 (python-shift-right): Delete command.
419 (python-indent-shift-right): New command.
420 (python-find-function): Delete command.
421 (python-nav-jump-to-defun): New command.
422 (python-next-statement): Delete command.
423 (python-nav-forward-sentence): New command.
424 (python-previous-statement): Delete command.
425 (python-nav-backward-sentence): New command.
426 (python-fill-paragraph): Delete command.
427 (python-fill-paragraph-function): New command.
428 (python-send-buffer): Delete command.
429 (python-shell-send-buffer): New command.
430 (python-send-defun): Delete command.
431 (python-shell-send-defun): New command.
432 (python-send-region, python-send-region-and-go): Delete commands.
433 (python-shell-send-region)
434 (python-shell-switch-to-shell): New commands.
435 (python-send-string): Delete command.
436 (python-shell-send-string): New command.
437 (python-switch-to-python): Delete command.
438 (python-shell-switch-to-shell): New command.
439 (python-describe-symbol): Delete command.
440 (python-eldoc-at-point): New command.
441 (python--set-prompt-regexp, python-args-to-list)
442 (python-after-info-look, python-check-version)
443 (python-check-comint-prompt, python-find-imports)
444 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
445 (python-unload-function, python-expand-template)
446 (python-maybe-jython, python-preoutput-filter)
447 (python-pdbtrack-get-source-buffer)
448 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
449 (python-pdbtrack-toggle-stack-tracking)
450 (python-pdbtrack-track-stack-file, python-initial-text)
451 (python-first-word, python-comment-line-p, python-send-command)
452 (python-setup-brm, python-sentinel, python-set-proc)
453 (python-skip-out, python-input-filter, python-outdent-p)
454 (python-outline-level, python-backslash-continuation-line-p)
455 (python-end-of-block, python-end-of-statement, python-mark-block)
456 (python-beginning-of-block, python-beginning-of-statement)
457 (python-blank-line-p, python-beginning-of-string)
458 (python-open-block-statement-p): Delete functions.
459 (python-indent-line, python-indent-line-1): Delete functions.
460 (python-indent-line): New function.
461 (python-indentation-levels): Delete function.
462 (python-indent-calculate-levels): New function.
463 (python-proc): Delete function.
464 (python-shell-get-process): New function.
465 (python-send-receive): Delete function.
466 (python-shell-send-string-no-output): New function.
467 (python-module-path): Delete function.
468 (python-ffap-module-path): New function.
469 (python-completion-at-point)
470 (python-symbol-completions): Delete functions.
471 (python-completion-complete-at-point): New function.
472 (python-load-file): Delete function.
473 (python-shell-send-file): New function.
474 (python-calculate-indentation): Delete function.
475 (python-indent-calculate-indentation): New function.
476 (python-skip-comments/blanks): Delete function.
477 (python-util-forward-comment): New function.
478 (python-continuation-line-p): Delete function.
479 (python-info-continuation-line-p): New function.
480 (python-which-func, python-current-defun): Delete function.
481 (python-info-current-defun): New function.
482 (python-beginning-of-defun): Delete function.
483 (python-nav-beginning-of-defun): New function.
484 (python-close-block-statement-p)
485 (python-block-end-p): Delete function.
486 (python-info-closing-block): New function.
487 (python-comint-output-filter-function)
488 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
489 (python-fill-comment, python-fill-decorator, python-fill-paren)
490 (python-fill-string, python-imenu-make-element-tree)
491 (python-imenu-make-tree, python-imenu-tree-assoc)
492 (python-indent-context, python-indent-dedent-line)
493 (python-indent-line-function)
494 (python-indent-post-self-insert-function)
495 (python-indent-toggle-levels)
496 (python-info-assignment-continuation-line-p)
497 (python-info-beginning-of-backlash)
498 (python-info-block-continuation-line-p)
499 (python-info-closing-block-message)
500 (python-info-line-ends-backslash-p)
501 (python-info-looking-at-beginning-of-defun)
502 (python-info-ppss-context, python-info-ppss-context-type)
503 (python-nav-list-defun-positions, python-nav-read-defun)
504 (python-nav-sentence-end, python-nav-sentence-start)
505 (python-pdbtrack-comint-output-filter-function)
506 (python-pdbtrack-set-tracked-buffer)
507 (python-shell-calculate-exec-path)
508 (python-shell-calculate-process-environment)
509 (python-shell-completion--do-completion-at-point)
510 (python-shell-completion--get-completions)
511 (python-shell-completion-complete-at-point)
512 (python-shell-completion-complete-or-indent)
513 (python-shell-get-or-create-process)
514 (python-shell-get-process-name)
515 (python-shell-internal-get-or-create-process)
516 (python-shell-internal-get-process-name)
517 (python-shell-internal-send-string, python-shell-make-comint)
518 (python-shell-parse-command, python-shell-send-setup-code)
519 (python-skeleton-add-menu-items)
520 (python-util-clone-local-variables, python-util-position)
521 (run-python-internal, python-indentation-levels)
522 (python-nav-beginning-of-defun)
523 (python-completion-complete-at-point): New functions.
524 (run-python): Change arguments. New API requirements.
525
4302f5ba
SM
5262012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
527
f38ea36d
SM
528 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
529 (bug#11649).
530
531 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
532 (macroexp--expand-all): Use it.
533
4302f5ba
SM
534 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
535 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
536 Use `cl-function' instead.
537
33377562
JB
5382012-06-14 Juanma Barranquero <lekktu@gmail.com>
539
540 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
541 Suggested by Stefan Monnier while discussing bug#11657.
542
54c5ba1a
SS
5432012-06-14 Sam Steingold <sds@gnu.org>
544
545 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
546
f9f1b1fe
AS
5472012-06-14 Andreas Schwab <schwab@linux-m68k.org>
548
549 * play/doctor.el (doctor-doc): Remove parameter and use
550 doctor-sent instead of sent.
551 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
552
a81068ba
SM
5532012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
554
5a315f9c
SM
555 * files.el: Require cl-lib.
556 (file-name-non-special): Replace case -> cl-case.
557
558 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
559
a81068ba
SM
560 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
561 mapping from #' to function*.
562
8cca9703
CY
5632012-06-13 Chong Yidong <cyd@gnu.org>
564
565 * mouse.el (mouse-drag-track): Do not set the mark if the user
566 releases the mouse without selecting anything (Bug#11588).
567
a12ac9d7
SM
5682012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
569
ccf1dc18
SM
570 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
571 as well (bug#11646).
572
ef62b23d
SM
573 * loadup.el: Count byte-code functions as well.
574
c4c8444a
SM
575 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
576 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
577
a12ac9d7
SM
578 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
579 (bug#11649). Add cl-defun and cl-defmacro.
580
87e6e64f
DA
5812012-06-13 Drew Adams <drew.adams@oracle.com>
582
583 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
584 Fix last change.
585
682cefaf
MA
5862012-06-13 Michael Albinus <michael.albinus@gmx.de>
587
588 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
589 Otherwise, it blocks in batch mode.
590
773e1f08
JB
5912012-06-13 Juanma Barranquero <lekktu@gmail.com>
592
593 * help-mode.el (bookmark-make-record-default): Declare.
594
60057926
CY
5952012-06-13 Chong Yidong <cyd@gnu.org>
596
597 * emacs-lisp/package.el (list-packages): Compute a list of
598 packages that are newly-available since the last list-packages
599 invocation.
600 (package-menu--new-package-list): New var.
601 (package-menu--generate, package-menu--print-info)
602 (package-menu--status-predicate, package-menu-mark-install):
603 Handle new status label "new".
604
ad4d226c
SM
6052012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
608 conversion to backquotes.
609
f1a4e679
CY
6102012-06-12 Chong Yidong <cyd@gnu.org>
611
612 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
613 Rename from gud-inhibit-global-bindings.
614
615 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
616
617 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
618 hook from nxml-glyph-set-hook.
619
620 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
621 declaration.
622
623 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
624
625 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
626 Convert to defcustom.
627
0c9e42b5
DA
6282012-06-12 Drew Adams <drew.adams@oracle.com>
629
630 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
631 New functions.
632 (help-mode): Use them.
633
09e06855
GM
6342012-06-11 Glenn Morris <rgm@gnu.org>
635
636 * progmodes/fortran.el (fortran-font-lock-keywords-3):
637 Use preprocessor face for directives.
638 (fortran-directive-re): Doc fix.
639
71adb94b
SM
6402012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
641
2eb87922
SM
642 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
643 conversion to backquotes (bug#11652).
644
71adb94b
SM
645 Fix compiler-expansion of CL's cXXr functions (bug#11673).
646 * emacs-lisp/cl-lib.el (cl--defalias): New function.
647 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
648 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
649 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
650 (cl-ninth, cl-tenth): Mark them as inlinable.
651 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
652 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
653 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
654 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
655 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
656 (cl-list*, cl-adjoin): Don't put an autoload manually.
657 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
658 (cl--compiler-macro-list*): Add autoload cookie.
659 (cl--compiler-macro-cXXr): New function.
2eb87922 660
71adb94b
SM
661 * help-fns.el (help-fns--compiler-macro): New function extracted from
662 describe-function-1; follow aliases and use `compiler-macro' property.
663 (describe-function-1): Use it.
664
a6674402
CY
6652012-06-11 Chong Yidong <cyd@gnu.org>
666
667 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
668 is uninstalled, if imagemagick is installed.
669
bb3faf5b
SM
6702012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * emacs-lisp/cl-lib.el: Use lexical-binding.
673 (cl-map-extents, cl-maclisp-member): Remove.
674 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
675 (cl--set-substring, cl--block-wrapper, cl--block-throw)
676 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
677 * emacs-lisp/cl-extra.el: Use lexical-binding.
678 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
679 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
680 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
681 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
682 * emacs-lisp/cl-seq.el: Use lexical-binding.
683 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
684 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
685 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
686 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
687 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
688 CL's internals.
689
2fe4b125
MA
6902012-06-11 Michael Albinus <michael.albinus@gmx.de>
691
692 Sync with Tramp 2.2.6-pre.
693
694 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
695 `print-length' and `print-level' to nil, in order to avoid
696 truncation. Reported by Christopher Schmidt
697 <christopher@ristopher.com>.
698
699 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
700
701 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
702 New defmacro.
703 (tramp-compat-copy-directory): Add optional argument
704 COPY-CONTENTS. It is not handled yet.
705
706 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
707 (tramp-ftp-file-name-p): Simplify.
708
709 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
710 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
711 connection vector.
712
713 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
714 (tramp-methods): Do not use `tramp-password-end-of-line'.
715 (tramp-completion-function-alist-putty): Handle UNIX case.
716 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
717 (tramp-do-file-attributes-with-stat)
718 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
719 gid as real numbers. They could run out of integer range on cygwin.
720 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
721 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
722 (tramp-open-connection-setup-interactive-shell):
723 Use `tramp-cleanup'. Move check for busyboxes ...
724 (tramp-find-shell): ... here. Simplify implementation.
725 Set "remote-shell" property also for alternative shells.
726 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
727 If failing, a regular file would be written otherwise.
728 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
729 (tramp-find-inline-encoding): Cache the coding commands in the
730 process cache. Apply test command on the remote side, if defined.
731 (tramp-find-inline-compress): Cache the compress commands in the
732 process cache.
733 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
734 when requested. Handle hops.
735 (tramp-current-connection): New defvar.
87e6e64f
DA
736 (tramp-maybe-open-connection): Use `tramp-cleanup'.
737 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 738 Handle user interrupt. (Bug#10187)
87e6e64f
DA
739 (tramp-get-inline-compress, tramp-get-inline-coding):
740 Read connection properties from the process cache.
2fe4b125
MA
741
742 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
743 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
744 New defconsts.
2fe4b125
MA
745 (tramp-smb-prompt): Extend for powershell prompt.
746 (tramp-smb-file-name-handler-alist): Add handlers for
747 `process-file', `shell-command' and `start-file-process'.
748 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
749 (tramp-smb-winexe-shell-command-switch): New defcustoms.
750 (tramp-smb-file-name-p): Simplify.
751 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
752 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
753 (tramp-smb-shell-quote-argument): New defuns.
754 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
755 Implement using "tar". By this, time-stamps are preserved.
756 (tramp-smb-handle-copy-file): Handle also the case of directories.
757 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
758 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
759 Use `tramp-get-connection-buffer').
2fe4b125
MA
760 (tramp-smb-handle-rename-file): Use "rename", when source and
761 target are on the same share.
87e6e64f
DA
762 (tramp-smb-maybe-open-connection): Handle wrong passwords.
763 Use `tramp-smb-server-version'.
2fe4b125
MA
764 (tramp-smb-wait-for-output): Remove prompt.
765
766 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
767 (tramp-methods, tramp-rsh-end-of-line):
768 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
769 (tramp-save-ad-hoc-proxies): New defcustom.
770 (tramp-completion-function-alist): Adapt docstring.
771 (tramp-default-password-end-of-line): Remove defcustom.
772 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
773 (tramp-user-regexp, tramp-file-name-regexp-unified)
774 (tramp-file-name-regexp-url): Extend regexp by hop separator.
775 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
776 (tramp-remote-file-name-spec-regexp): New defconst.
777 (tramp-file-name-structure): Extend structure for hops.
778 (tramp-get-method-parameter): Move up.
779 (tramp-file-name-p, tramp-dissect-file-name)
780 (with-parsed-tramp-file-name): Handle hops.
781 (tramp-file-name-hop): New defun.
782 (tramp-make-tramp-file-name): New optional arg HOP.
783 (tramp-message-show-progress-reporter-message): New defvar.
784 (tramp-with-progress-reporter): Use it. We cannot use
785 `tramp-message-show-message' here, because this suppresses also
786 error buffers.
787 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
788 `tramp-message-show-message' is nil.
789 Use `tramp-get-connection-buffer'.
2fe4b125
MA
790 (tramp-cleanup): New defun.
791 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
792 (tramp-file-name-handler): If `debug-on-error' is set, propagate
793 an error unchanged.
794 (tramp-completion-handle-file-name-all-completions): Handle hops.
795 Fix an error when called from ido.
796 (tramp-completion-dissect-file-name): Use better local variable
797 name. Add hop to the vector.
798 (tramp-handle-insert-file-contents): Use progress-reporter for the
799 whole scenario.
800 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
801 to `t'.
802 (tramp-check-for-regexp): Simplify search.
803 (tramp-enter-password): Remove it. Move implementation ...
804 (tramp-action-password): ... here.
805 (tramp-mode-string-to-int, tramp-local-host-p)
806 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
807 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
808 Set tramp-autoload cookie.
2fe4b125
MA
809
810 * net/trampver.el: Update release number.
811
8122012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
813 Michael Albinus <michael.albinus@gmx.de>
814
815 * net/tramp.el (tramp-set-completion-function): Fix docstring.
816 (tramp-parse-group, tramp-parse-file)
817 (tramp-parse-shostkeys-sknownhosts): New defuns.
818 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
819 (tramp-parse-shosts-group, tramp-parse-sconfig)
820 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
821 (tramp-parse-sknownhosts, tramp-parse-hosts)
822 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
823 Use them.
824 (tramp-parse-passwd-group, tramp-parse-netrc-group)
825 (tramp-parse-putty-group): Don't narrow.
826 (tramp-parse-putty): Make a loop.
827 (tramp-file-name-handler): Catch the `suppress' signal.
828
72834e10
CY
8292012-06-11 Chong Yidong <cyd@gnu.org>
830
831 * image.el (imagemagick-register-types): Put the ImageMagick entry
832 at the end of image-type-file-name-regexps.
833
a4712e11
JB
8342012-06-11 Johan Bockgård <bojohan@gnu.org>
835
836 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
837 (pcase, pcase-let*, pcase-dolist): Use them.
838
82ad98e3
SM
8392012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
840
841 * emacs-lisp/pcase.el (pcase--let*): New function.
842 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
843 (pcase--expand): Use macroexp-let².
844
f80efb86
SM
8452012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
848 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
849 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
850 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
851 * emacs-lisp/derived.el: Use pcase instead of `cl'.
852 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
853
31ca4639 8542012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 855
31ca4639
CY
856 * mail/rmail.el (rmail-yank-current-message): Leave point at
857 correct position. (Bug#11660)
94f0aa34 858
31ca4639 8592012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 860
31ca4639 861 * allout-widgets.el: Fix code header.
9e1b8ec4 862
31ca4639 8632012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 864
f80efb86
SM
865 * cus-edit.el (customize-changed-options-previous-release):
866 Bump to 24.1.
31ca4639 867
642b6d30
AS
8682012-06-09 Andreas Schwab <schwab@linux-m68k.org>
869
870 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
871
4f5d2ba1
CY
8722012-06-09 Chong Yidong <cyd@gnu.org>
873
874 * ebuff-menu.el (electric-buffer-list): Preserve header line.
875
e75852fd
MR
8762012-06-09 Martin Rudalics <rudalics@gmx.at>
877
878 * window.el (special-display-popup-frame): Don't use
879 window--display-buffer (Bug#11651).
880
1e48e282
EZ
8812012-06-09 Eli Zaretskii <eliz@gnu.org>
882
8a26b487
EZ
883 Fix parallel builds: make sure loaddefs.el is not being written
884 while Lisp files are compiled.
885 (compile): Don't depend on 'mh-autoloads'.
886 (compile-CMD, compile-SH): Depend on 'autoloads'.
887 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
888
1e48e282
EZ
889 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
890
6175e34b
CY
8912012-06-09 Chong Yidong <cyd@gnu.org>
892
893 * face-remap.el (face-remap-add-relative, face-remap-set-base)
894 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
895 Doc fixes (Bug#11225).
896
d9857e53
SM
8972012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
900 a function if there's a clear indication that it has a compiler-macro.
901 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
902 (macro-declarations-alist): Add arglist to declaration functions.
903 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
904 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
905 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
906 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
907 Also add autoload to find the compiler macro.
908 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
909 (cl--compiler-macro-member, cl--compiler-macro-assoc)
910 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
911 (cl--compiler-macro-get): New functions, replacing calls to
912 cl-define-compiler-macro.
913 (cl-typep) [compiler-macro]: Use macroexp-let².
914
f81298f8 9152012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
916
917 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
918 string properly, fixes Bug#11473.
919
4b56d0fe
CY
9202012-06-08 Chong Yidong <cyd@gnu.org>
921
922 * faces.el (set-face-attribute): Doc fix.
923 (modify-face): Don't use :bold and :italic.
924 (error, warning, success): Tweak definitions.
925
926 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
927 (custom-modified, custom-set, custom-changed, custom-themed)
928 (custom-saved, custom-button, custom-button-mouse)
929 (custom-button-pressed, custom-state, custom-comment-tag)
930 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
931 (custom-group-subtitle): Use new-style face specs.
932 (custom-invalid-face, custom-rogue-face, custom-modified-face)
933 (custom-set-face, custom-changed-face, custom-saved-face)
934 (custom-button-face, custom-button-pressed-face)
935 (custom-documentation-face, custom-state-face)
936 (custom-comment-face, custom-comment-tag-face)
937 (custom-variable-tag-face, custom-variable-button-face)
938 (custom-face-tag-face, custom-group-tag-face-1)
939 (custom-group-tag-face): Remove obsolete face alias.
940
941 * epa.el (epa-validity-high, epa-validity-medium)
942 (epa-validity-low, epa-mark, epa-field-name, epa-string)
943 (epa-field-name, epa-field-body):
944 * font-lock.el (font-lock-comment-face, font-lock-string-face)
945 (font-lock-keyword-face, font-lock-builtin-face)
946 (font-lock-function-name-face, font-lock-variable-name-face)
947 (font-lock-type-face, font-lock-constant-face):
948 * ido.el (ido-first-match, ido-only-match, ido-subdir)
949 (ido-virtual, ido-indicator, ido-incomplete-regexp):
950 * speedbar.el (speedbar-button-face, speedbar-file-face)
951 (speedbar-directory-face, speedbar-tag-face)
952 (speedbar-selected-face, speedbar-highlight-face)
953 (speedbar-separator-face):
954 * whitespace.el (whitespace-newline, whitespace-space)
955 (whitespace-hspace, whitespace-tab, whitespace-trailing)
956 (whitespace-line, whitespace-space-before-tab)
957 (whitespace-space-after-tab, whitespace-indentation)
958 (whitespace-empty):
959 * emulation/cua-base.el (cua-global-mark):
960 * eshell/em-prompt.el (eshell-prompt):
961 * net/newst-plainview.el (newsticker-new-item-face)
962 (newsticker-old-item-face, newsticker-immortal-item-face)
963 (newsticker-obsolete-item-face, newsticker-date-face)
964 (newsticker-statistics-face, newsticker-default-face):
965 * net/newst-reader.el (newsticker-feed-face)
966 (newsticker-extra-face, newsticker-enclosure-face):
967 * net/newst-treeview.el (newsticker-treeview-face)
968 (newsticker-treeview-new-face, newsticker-treeview-old-face)
969 (newsticker-treeview-immortal-face)
970 (newsticker-treeview-obsolete-face)
971 (newsticker-treeview-selection-face):
972 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
973 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
974 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
975 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
976 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
977 (nxml-outline-active-indicator, nxml-outline-ellipsis):
978 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
979 (mpuz-text):
980 * progmodes/vera-mode.el (vera-font-lock-number)
981 (vera-font-lock-function, vera-font-lock-interface):
982 * textmodes/table.el (table-cell): Use new-style face specs, and
983 don't use the old :bold and :italic attributes.
984
985 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
986 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
987 (ebrowse-member-class, ebrowse-progress): Likewise.
988 (ebrowse-tree-mark-face, ebrowse-root-class-face)
989 (ebrowse-file-name-face, ebrowse-default-face)
990 (ebrowse-member-attribute-face, ebrowse-member-class-face)
991 (ebrowse-progress-face): Remove obsolete faces.
992
993 * progmodes/flymake.el (flymake-errline, flymake-warnline):
994 Inherit from error and warning faces respectively.
995
996 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
997 Likewise.
f80efb86
SM
998 (flyspell-incorrect-face, flyspell-duplicate-face):
999 Remove obsolete aliases.
4b56d0fe 1000
03310646
MA
10012012-06-08 Michael Albinus <michael.albinus@gmx.de>
1002
1003 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1004 Avoid infloop.
1005
513749ee
SM
10062012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * startup.el (argv, argi): Make lexically scoped.
1009 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1010 * emacs-lisp/cl-macs.el: Use lexical-binding.
1011 Rename cl-bind-* to cl--bind-*.
1012 * files.el: Don't require `cl' since it doesn't use it.
1013 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1014
595ef4ad
JB
10152012-06-08 Juanma Barranquero <lekktu@gmail.com>
1016
1017 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1018 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1019 instead of calling external sort utility.
1020 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1021
e9f66fcb
EZ
10222012-06-08 Eli Zaretskii <eliz@gnu.org>
1023
1024 * descr-text.el (describe-char): Mention how to insert the
1025 character, if the current input method doesn't support it.
1026 See the discussion in this thread for the details:
1027 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1028
3d10db47
SS
10292012-06-08 Sam Steingold <sds@gnu.org>
1030
1031 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1032 XF86Back to previous-buffer.
1033 (minibuffer-local-map): Bind them to next-history-element and
1034 previous-history-element respectively.
1035 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1036 help-go-back respectively.
1037 * info.el (Info-mode-map): Bind them to Info-history-forward and
1038 Info-history-back respectively.
1039 These are the keys next to Up on the ThinkPad keyboard.
1040
de7e2b36
SM
10412012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1044 * emacs-lisp/cl-macs.el: Provide itself.
1045 (cl--labels-convert-cache): New var.
1046 (cl--labels-convert): New function.
1047 (cl-flet, cl-labels): New implementation with new semantics, relying on
1048 lexical-binding.
1049 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1050 (cl-closure-vars, cl--function-convert-cache)
1051 (cl--function-convert): Move from cl-macs.el.
1052 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1053 rename by removing the "cl-" prefix.
1054 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1055
6fa6c4ae
SM
10562012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1059 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1060 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1061 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1062 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1063 (cl-hash-table-count): Add old compatibility aliases.
1064
1065 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1066 Use macroexpand-all-environment instead.
1067 (cl--old-macroexpand): New var.
1068 (cl--sm-macroexpand): New function.
1069 (cl-symbol-macrolet): Use it during macro expansion.
1070 (cl--function-convert-cache): New var.
1071 (cl--function-convert): New function, extracted from
1072 cl-macroexpand-all.
1073 (cl-lexical-let): Use it.
1074
1075 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1076 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1077 (cl-member): Remove old alias.
1078
1079 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1080 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1081 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1082 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1083 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1084 (cl-macroexpand-cmacs): Remove var.
1085 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1086 Use macroexpand-all instead.
1087
4dd1c416
SM
10882012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1091 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1092 (macroexp-copyable-p): New functions and macros.
1093 * emacs-lisp/edebug.el (edebug-unwrap):
1094 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1095 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1096 (pcase--let*): Remove.
1097 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1098 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1099 macroexp-const-p instead.
1100 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1101
1102 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1103 instead of "cl-" for internal definitions. Use macroexp-const-p.
1104 (cl-old-bc-file-form): Remove var.
1105 (cl-const-exprs-p): Remove fun.
1106 (cl-labels, cl-macrolet): Use backquote.
1107 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1108 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1109 (cl-define-setf-expander): Rename from cl-define-setf-method.
1110 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1111
1112 * international/mule-cmds.el: Don't require CL.
1113 (view-hello-file): Don't use `letf'.
1114
ed8bd4d7
SM
11152012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1116
7287f2f3
SM
1117 * tmm.el (tmm-prompt): Use string-prefix-p.
1118 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1119 (tmm-add-prompt): Use minibuffer-completion-help.
1120 (tmm-delete-map): Remove.
1121
ed8bd4d7
SM
1122 * subr.el (kbd): Make it its own function.
1123
7b4cdbf4
SM
11242012-06-07 Stefan Merten <smerten@oekonux.de>
1125
1126 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1127 Silence compiler warnings. Fix versions.
ed8bd4d7 1128 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1129 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1130 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1131 (rst-package-emacs-version-alist): Correct Emacs version to
1132 represent major merge with upstream.
ed8bd4d7 1133 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1134
2b48d721
GM
11352012-06-06 Glenn Morris <rgm@gnu.org>
1136
1137 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1138 Only print environment variables if set.
1139
fa779ab0
SM
11402012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1143 (macroexp--cons): Rename from maybe-cons.
1144 (macroexp--accumulate): Rename from macroexp-accumulate.
1145 (macroexp--all-forms): Rename from macroexpand-all-forms.
1146 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1147 (macroexp--expand-all): Rename from macroexpand-all-1.
1148
628299e0
SS
11492012-06-06 Sam Steingold <sds@gnu.org>
1150
1151 * calendar/calendar.el (calendar-in-read-only-buffer):
1152 Call `special-mode' to enable the standard read-only keybindings.
1153
b7bb5838
SM
11542012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1157 with "loading" messages (bug#11635).
1158
dfb308ba
MA
11592012-06-06 Michael Albinus <michael.albinus@gmx.de>
1160
1161 * files.el (enable-remote-dir-locals): New option.
1162 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1163
0372ee92
MA
1164 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1165 Ensure, that the temp directory is local.
1166
1167 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1168 `temporary-file-directory'.
1169
eed0bb91
MA
1170 * progmodes/python.el (python-send-region): Ensure, that the
1171 temporary file is created also in the remote case.
1172
7a58f64d
GM
11732012-06-06 Glenn Morris <rgm@gnu.org>
1174
f7dd4e98
GM
1175 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1176 (vc-rcs-update-changelog): Use it.
1177
276d5f5d
GM
1178 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1179
7a58f64d
GM
1180 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1181 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1182 (vc-sccs-diff): Replace use of the external vcdiff script.
1183
daed4003
GM
11842012-06-05 Glenn Morris <rgm@gnu.org>
1185
1186 * ledit.el: Move to obsolete/.
1187
48c455c7
SS
11882012-06-05 Sam Steingold <sds@gnu.org>
1189
1190 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1191 patch (Bug#11140).
1192
57a7d507
SM
11932012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1194
d32926ff
SM
1195 * emacs-list/cust-print.el: Move to obsolete.
1196
53aacf21
SM
1197 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1198 compiler-macro expansion.
1199
57a7d507
SM
1200 Add native compiler-macro support.
1201 * emacs-lisp/macroexp.el (macroexpand-all-1):
1202 Support compiler-macros directly. Properly follow aliases and apply
1203 the compiler macros more thoroughly.
1204 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1205 macroexpand now properly follows aliases.
1206 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1207 (cl-compiler-macroexpand): Use new prop.
1208 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1209
1210 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1211
51a5f9d8
MR
12122012-06-05 Martin Rudalics <rudalics@gmx.at>
1213
1214 * window.el (get-lru-window, get-mru-window, get-largest-window):
1215 New argument NOT-SELECTED to avoid picking the selected window.
1216 (window--display-buffer-1, window--display-buffer-2): Replace by
1217 new function window--display-buffer
1218 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1219 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1220 Use window--display-buffer.
51a5f9d8
MR
1221 (display-buffer-use-some-window): Remove temporary dedication
1222 hack by calling get-lru-window and get-largest-window with
1223 NOT-SELECTED argument non-nil. Call window--display-buffer.
1224
08f9f738
GM
12252012-06-05 Glenn Morris <rgm@gnu.org>
1226
1227 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1228 Replace external vcdiff script.
1229
e364a2b7
SM
12302012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1233
041df390
CY
12342012-06-04 Chong Yidong <cyd@gnu.org>
1235
e364a2b7
SM
1236 * image.el (imagemagick-types-inhibit): Revert last change.
1237 Add INFO and M.
47b36b94 1238 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1239
7c1898a7
SM
12402012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * emacs-lisp/cl-lib.el: Rename from cl.el.
1243 * emacs-lisp/cl.el: New compatibility file.
1244 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1245 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1246 to obey the "cl-" prefix.
1247 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1248
0c3461de
GM
12492012-06-03 Glenn Morris <rgm@gnu.org>
1250
1e266c88
GM
1251 * emacs-lisp/authors.el (authors-aliases): Addition.
1252
0c3461de
GM
1253 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1254 Fix :version.
1255
d8a52e15
SM
12562012-06-03 Stefan Merten <smerten@oekonux.de>
1257
1258 * textmodes/rst.el: Add comments.
1259 (rst-transition, rst-adornment): New faces.
1260 (rst-adornment-faces-alist): Make default safe to reevaluate.
1261 Fixes
1262 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1263 Improve customization tags.
1264 (rst-define-level-faces): Clarify meaning.
1265
5205d6f6
CY
12662012-06-03 Chong Yidong <cyd@gnu.org>
1267
1268 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1269 (compilation-mode-line-run, compilation-mode-line-exit):
1270 New faces.
5205d6f6
CY
1271 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1272
757ee657
JD
12732012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1274
7c1898a7
SM
1275 * progmodes/which-func.el (which-func-update-ediff-windows):
1276 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1277
5f2c76c6
CY
12782012-06-03 Chong Yidong <cyd@gnu.org>
1279
1280 * bindings.el: Remove explicit help text from format-mode-line.
1281 It is now supplied by mode-line-default-help-echo.
1282 (mode-line-front-space, mode-line-end-spaces)
1283 (mode-line-misc-info): New variables.
1284 (mode-line-modes, mode-line-position): Move the default value to
1285 the variable definition.
1286 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1287 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1288 (mode-line-modified-help-echo): New functions.
1289 (mode-line-mule-info, mode-line-modified): Use them.
1290 (mode-line-eol-desc, propertized-buffer-identification):
1291 Consistency fixes for help text.
cbe46e5f
CY
1292 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1293 set-buffer-file-coding-system (Bug#289).
1294 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1295
f2d6a3df
SM
12962012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * simple.el (execute-extended-command): Set real-this-command
1299 (bug#11506).
1300
37269466
CY
13012012-06-02 Chong Yidong <cyd@gnu.org>
1302
1303 Remove incorrect uses of "modeline" in comments, docstrings, and
1304 function/variable names (Bug#10329).
1305
1306 * cus-edit.el (mode-line):
1307 * dframe.el (dframe-mouse-hscroll):
1308 * emacs-lisp/re-builder.el:
1309 * emacs-lisp/easy-mmode.el (define-minor-mode):
1310 * frame.el (set-frame-name):
1311 * help.el (lookup-minor-mode-from-indicator):
1312 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1313 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1314 (c-toggle-hungry-state):
1315 * progmodes/antlr-mode.el (antlr-language-alist):
1316 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1317 * progmodes/vhdl-mode.el (vhdl-mode):
1318 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1319 * term/ns-win.el (ns-face-at-pos):
1320 * term/sup-mouse.el (sup-mouse-report):
1321 * textmodes/flyspell.el (flyspell-mode-line-string):
1322 * textmodes/ispell.el (ispell-highlight-face):
1323 * textmodes/reftex-global.el:
1324 * vc/vc-arch.el (vc-arch-mode-line-string):
1325 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1326 * vc/vc-git.el (vc-git-mode-line-string):
1327 * vc/vc-hooks.el (vc-display-status)
1328 (vc-default-mode-line-string):
1329 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1330
1331 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1332
1333 * dired.el (dired-sort-set-mode-line): Rename from
1334 dired-sort-set-modeline. All callers changed.
1335
1336 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1337 eshell-status-in-modeline.
1338
1339 * foldout.el (foldout-mode-line-string): Rename from
1340 foldout-modeline-string. All callers changed.
1341 (foldout-update-mode-line): Rename from foldout-update-modeline.
1342
1343 * subr.el (redraw-modeline): Make into obsolete alias.
1344
1345 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1346 timeclock-modeline-display. Make old name an alias.
1347 (timeclock-update-mode-line): Likewise. All callers changed.
1348 (timeclock-mode-line-display): No need to check before using
1349 add-hook.
1350 (timeclock-relative, timeclock-day-over-hook)
1351 (timeclock-use-elapsed, timeclock-mode-string)
1352 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1353
1354 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1355 crisp-mode-modeline-string.
1356
1357 * play/solitaire.el (solitaire-build-mode-line): Rename from
1358 solitaire-build-modeline. All callers changed.
1359
1360 * play/zone.el (zone-hiding-mode-line): Rename from
1361 zone-hiding-modeline. All callers changed.
1362 (zone): Remove unusued `modeline-hidden-level' property.
1363
1364 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1365 xscheme-modeline-initialize. All callers changed.
1366
1367 * strokes.el (strokes-lighter): Rename from
1368 strokes-modeline-string.
1369
1370 * textmodes/sgml-mode.el (html-face-tag-alist)
1371 (html-tag-face-alist): Use mode-line face instead of obsolete
1372 alias modeline.
1373
42152ee4
SM
13742012-06-02 Stefan Merten <smerten@oekonux.de>
1375
1376 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1377 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1378
95f520b5
CY
13792012-06-02 Chong Yidong <cyd@gnu.org>
1380
1381 * image.el (imagemagick-enabled-types): Rename from
1382 imagemagick-types-enable. Add many more types.
1383 (imagemagick-types-inhibit): Change default to nil.
1384 (imagemagick-filter-types): Caller changed.
1385
4a5f187a
SM
13862012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1387
03fef3e6
SM
1388 * emacs-lisp/cl-macs.el: Use backquotes.
1389 (cl-transform-function-property): Use eval-and-compile rather than
1390 abusing `require'.
1391 (defstruct): Use declare-function instead of with-no-warnings.
1392
4a5f187a
SM
1393 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1394 (byte-compile-output-docform): Re-add the print-circle bindings.
1395 (byte-compile-fix-header): Use #$ just because it's shorter.
1396 (byte-compile-output-file-form): Remove defun/defmacro.
1397
bd56924f
MR
13982012-06-01 Martin Rudalics <rudalics@gmx.at>
1399
1400 * simple.el (choose-completion): Remove now obsolete binding for
1401 owindow.
1402
046e38ce
MA
14032012-06-01 Michael Albinus <michael.albinus@gmx.de>
1404
1405 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1406 in order to avoid "Stack overflow in regexp matcher".
1407
32d72c2f
GM
14082012-05-31 Glenn Morris <rgm@gnu.org>
1409
1410 * image.el: For clarity, call imagemagick-register-types at
1411 top-level, rather than relying on a custom :initialize.
1412 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1413 (imagemagick-filter-types): New function. (Bug#7406)
1414 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1415 If disabling support, remove elements altogether rather
1416 than using an impossible regexp.
1417 (imagemagick-types-inhibit): Give it the default init function.
1418
dd41169b
SM
14192012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1420
4a5f187a
SM
1421 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1422 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1423
efc00ab1 14242012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1425
1426 * desktop.el (desktop-read): Clear previous and next buffers for
1427 all windows and bury *Messages* buffer (bug#11556).
1428
500fcedc
SM
14292012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 Add `declare' for `defun'. Align `defmacro's with it.
1432 * emacs-lisp/easy-mmode.el (define-minor-mode)
1433 (define-globalized-minor-mode): Don't autoload the var definitions.
1434 * emacs-lisp/byte-run.el: Use lexical-binding.
1435 (defun-declarations-alist, macro-declarations-alist): New vars.
1436 (defmacro, defun): Use them.
1437 (make-obsolete, define-obsolete-function-alias)
1438 (make-obsolete-variable, define-obsolete-variable-alias):
1439 Use `declare'.
1440 (macro-declaration-function): Mark obsolete.
1441 * emacs-lisp/autoload.el: Use lexical-binding.
1442 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1443
6e8a1786
AM
14442012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1445
1446 * textmodes/ispell.el (ispell-with-no-warnings):
1447 Define as a macro.
500fcedc
SM
1448 (ispell-kill-ispell, ispell-change-dictionary):
1449 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1450 `interactive-p'.
1451
61b108cc
SM
14522012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1455 (macro-declaration-function): Move var from C code.
1456 (macro-declaration-function): Define function with defalias.
1457 * emacs-lisp/macroexp.el (macroexpand-all-1):
1458 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1459 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1460 defun/defmacro any more.
1461 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1462 Provide fallback for unknown arglist.
1463 (byte-compile-arglist-warn): Change calling convention.
1464 (byte-compile-output-file-form): Move print-vars binding.
1465 (byte-compile-output-docform): Simplify accordingly.
1466 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1467 (byte-compile-defmacro-declaration): Remove.
1468 (byte-compile-file-form-defmumble): Generalize to defalias.
1469 (byte-compile-output-as-comment): Return byte-positions.
1470 Simplify callers accordingly.
1471 (byte-compile-lambda): Use `assert'.
1472 (byte-compile-defun, byte-compile-defmacro): Remove.
1473 (byte-compile-file-form-defalias):
1474 Use byte-compile-file-form-defmumble.
1475 (byte-compile-defalias-warn): Remove.
1476
6d3f7c2f
SM
14772012-05-29 Stefan Merten <smerten@oekonux.de>
1478
1479 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1480 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1481
1482 (rst-mode-abbrev-table): Merge definition.
1483 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1484 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1485
6dbaa1c7
UJ
14862012-05-29 Ulf Jasper <ulf.jasper@web.de>
1487
1488 * calendar/icalendar.el
1489 (icalendar-export-region): Export UID properly.
1490
14912012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1492 * calendar/icalendar.el (icalendar-import-format):
1493 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1494 (icalendar-import-format-uid): New.
1495 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1496 Export UID.
1497
6876a58d
SM
14982012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1501 different alternative patterns.
1502 (pcase-codegen): Be more careful to preserve identity.
1503 (pcase--u1): Don't forget to mark vars as used.
1504
1505 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1506 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1507 (byte-compile-from-buffer): ...rather than here.
1508
1509 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1510 functions from byte-compile-function-environment.
1511
46b7967e
TN
15122012-05-29 Troels Nielsen <bn.troels@gmail.com>
1513
1514 * window.el (window-deletable-p): Avoid deleting the root window
1515 of a frame with an active minibuffer.
1516
69d565e2
MR
15172012-05-29 Martin Rudalics <rudalics@gmx.at>
1518
1519 * simple.el (choose-completion): Use quit-window (Bug#11567).
1520
a149fa51
CY
15212012-05-29 Chong Yidong <cyd@gnu.org>
1522
1523 * whitespace.el (whitespace-cleanup): Fix usage of
1524 whitespace-empty-at-bob-regexp (Bug#11492).
1525
2b311310
AH
15262012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1527
1528 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1529 revert (Bug#11488).
1530
b9cb2387
JL
15312012-05-29 Juri Linkov <juri@jurta.org>
1532
1533 * isearch.el (isearch-mode-map): Bind `M-s _' to
1534 `isearch-toggle-symbol'. Bind `M-s c' to
1535 `isearch-toggle-case-fold'.
1536 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1537 (isearch-forward): Add `M-s _' to the docstring.
1538 (isearch-forward-symbol, isearch-toggle-case-fold)
1539 (isearch-symbol-regexp): New functions. (Bug#11381)
1540
d5e61c1c
JL
15412012-05-29 Juri Linkov <juri@jurta.org>
1542
1543 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1544 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1545 a function, call it to get the regexp.
1546 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1547 property `isearch-message-prefix' instead of the string "word ".
1548 (isearch-search-fun-default): For the case of `isearch-word',
1549 return a lambda that calls re-search-forward/re-search-backward
1550 with a regexp returned by `word-search-regexp' or by the function
1551 in `isearch-word'.
1552
8cbd80f7
JL
15532012-05-29 Juri Linkov <juri@jurta.org>
1554
1555 * isearch.el (isearch-search-fun-default): New function.
1556 (isearch-search-fun): Move default part to the new function
1557 `isearch-search-fun-default'.
1558 (isearch-search-fun-function): Set the default value to
1559 `isearch-search-fun-default'. (Bug#11381)
1560
1561 * comint.el (comint-history-isearch-end):
1562 Use `isearch-search-fun-default'.
1563 (comint-history-isearch-search): Use `isearch-search-fun-default'
1564 and remove spacial case for `isearch-word'.
1565 (comint-history-isearch-wrap): Remove spacial case for
1566 `isearch-word'.
1567
1568 * hexl.el (hexl-isearch-search-function):
1569 Use `isearch-search-fun-default'.
1570
1571 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1572 Use `word-search-regexp' for `isearch-word'.
1573
1574 * misearch.el (multi-isearch-search-fun):
1575 Use `isearch-search-fun-default'.
1576
1577 * simple.el (minibuffer-history-isearch-search):
1578 Use `isearch-search-fun-default' and remove spacial case for
1579 `isearch-word'.
1580 (minibuffer-history-isearch-wrap): Remove spacial case for
1581 `isearch-word'.
1582
1583 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1584 Remove spacial case for `isearch-word'.
1585 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1586
85c8c5b6
AM
15872012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1588
1589 Decrease XEmacs incompatibilities.
1590 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1591 Use `string-match'.
1592 (flyspell-delete-region-overlays): Use alternative definition for
1593 XEmacs.
1594 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1595 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1596 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1597 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1598 `define-obsolete-face-alias' under XEmacs, but old method.
1599
1600 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1601 `with-no-warnings' definition or Emacs alias.
1602 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1603 (ispell-word): Do not use `region-p' if XEmacs.
1604
8cab9efc
AM
16052012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1606
1607 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1608 Check for `ispell-dictionary-base-alist' instead of full
1609 `ispell-dictionary-alist'.
1610 (ispell-init-process): Show spellchecker when starting new Ispell
1611 process.
1612
fda91268
RZ
16132012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1616 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1617
694ea8e3
JB
16182012-05-27 Juanma Barranquero <lekktu@gmail.com>
1619
1620 * version.el (motif-version-string, gtk-version-string)
1621 (ns-version-string): Declare.
1622
e4d4f539
JL
16232012-05-27 Juri Linkov <juri@jurta.org>
1624
1625 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1626 after the `eval-defun-1' specialcaseing
1627 like in `edebug-eval-defun' (bug#10181).
1628
1629 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1630 like in `eval-defun-1'.
1631
33017faf 16322012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1633
fda91268
RZ
1634 * mail/sendmail.el (mail-yank-region):
1635 Recognize rmail-yank-current-message in addition to insert-buffer.
1636 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1637 a *mail* buffer created through rmail-start-mail with sendmail as
1638 mail-user-agent.
1639
33017faf
GM
16402012-05-27 Chong Yidong <cyd@gnu.org>
1641
1642 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1643 Default to 256 (Bug#11267).
1644
1645 * help.el (describe-mode): Doc fix.
1646
04188bb9
GM
16472012-05-26 Glenn Morris <rgm@gnu.org>
1648
38264cc9
GM
1649 * w32-fns.el (w32-init-info): Remove.
1650 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1651
eb7afdad
GM
1652 * info.el (info-initialize): For self-contained NS builds, put the
1653 included info/ directory at the front. (Bug#2791)
1654
04188bb9
GM
1655 * paths.el (Info-default-directory-list): Make it a defcustom,
1656 mainly so that we can use custom-initialize-delay.
1657
a179e3f7
SM
16582012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1659
43416392
SM
1660 * subr.el (buffer-has-markers-at): Mark obsolete.
1661
a179e3f7 1662 * subr.el (lambda): Use declare.
43416392 1663
a179e3f7
SM
1664 * emacs-lisp/lisp-mode.el (lambda):
1665 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1666
34a008d9
AH
16672012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1668
1669 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1670
0a3b289f
GM
16712012-05-26 Glenn Morris <rgm@gnu.org>
1672
1673 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1674
758c81e8
GM
16752012-05-25 Glenn Morris <rgm@gnu.org>
1676
f9f334f0
GM
1677 * paths.el: Remove no-byte-compile.
1678 * loadup.el: No need to load paths.el uncompiled.
1679
87eb79c2
GM
1680 * image.el (imagemagick-types-inhibit): Doc fix.
1681
758c81e8
GM
1682 * version.el: Remove no-byte-compile and associated formatting.
1683 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1684 is ancient code from when there was an "inc-vers.el".
1685
e7e85dc0
SM
16862012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * progmodes/gdb-mi.el: Minor style changes.
1689 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1690 Turn into minor modes.
1691 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1692 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1693 (gdb-shell): Remove unneeded let-binding.
1694 (gdb-get-many-fields): Eliminate O(n²) behavior.
1695
f31237a4
EZ
16962012-05-25 Eli Zaretskii <eliz@gnu.org>
1697
1698 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1699 platforms that don't link in fontset.c.
1700
bc1b21bb
JL
17012012-05-25 Juri Linkov <juri@jurta.org>
1702
1703 Use the same diff color scheme as in modern VCSes (bug#10181).
1704
1705 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1706 to avoid confusion with `diff-added' that now uses green colors.
1707 (diff-removed): Use shades of red.
1708 (diff-added): Use shades of green.
1709 (diff-changed): Leave just the yellow color.
1710 (diff-use-changed-face): New variable.
1711 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1712 how to highlight context diff changes.
1713 (diff-refine-change): Use shades of yellow.
1714 (diff-refine-removed): New face that uses shades of red.
1715 (diff-refine-added): New face that uses shades of green.
1716 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1717 `diff-refine-removed' in the call to `smerge-refine-subst'
1718 depending on the value of `diff-use-changed-face'.
1719
1720 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1721 (smerge-other): Use shades of green.
1722 (smerge-base): Use shades of yellow.
1723 (smerge-refined-change): Empty face.
1724 (smerge-refined-removed): New face that uses shades of red.
1725 (smerge-refined-added): New face that uses shades of green.
1726 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1727 args `props-r' and `props-a', and use them. Doc fix.
1728 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1729 on its value use different faces `smerge-refined-change',
1730 `smerge-refined-removed', `smerge-refined-added' in the call to
1731 `smerge-refine-subst'.
1732
1733 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1734 Add face condition `min-colors 88' with shades of red.
1735 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1736 `min-colors 88' with shades of green.
1737 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1738 `min-colors 88' with shades of yellow.
1739
6df9112c
GM
17402012-05-24 Glenn Morris <rgm@gnu.org>
1741
ead5edc0
GM
1742 * paths.el (prune-directory-list, remote-shell-program): Move to...
1743 * files.el (prune-directory-list, remote-shell-program): ...here.
1744 For the latter, delay initialization, prefer ssh, just search PATH.
1745
f18b81e6
GM
1746 * paths.el (term-file-prefix): Move to faces.el (the only user).
1747 * faces.el (term-file-prefix): Move here, make it a defcustom.
1748
ee2f89a6
GM
1749 * paths.el (news-directory, news-path, news-inews-program):
1750 Move to gnus/nnspool.el.
61a583ca 1751
f8815e4c
GM
1752 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1753
c8f3b42c
GM
1754 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1755 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1756 Make the latter a defcustom, with a delayed initialization.
1757
6df9112c
GM
1758 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1759 These were deleted from Gnus itself late 2010.
1760
5dadff36
JB
17612012-05-22 Juanma Barranquero <lekktu@gmail.com>
1762
9e1701c6
JB
1763 * progmodes/which-func.el (which-func-ff-hook):
1764 Check against user-error, not error.
1765
bd7239f5 1766 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1767 cl-specs.el, which no longer exists.
1768
3290526d
GM
17692012-05-22 Glenn Morris <rgm@gnu.org>
1770
1771 * info.el (info-emacs-bug): New command.
1772 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1773 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1774
ff0c3cfb
GM
17752012-05-21 Glenn Morris <rgm@gnu.org>
1776
1777 * makefile.w32-in (update-subdirs-SH):
1778 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1779
5814f126
SM
17802012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1781
a52c0aa0
SM
1782 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1783
5814f126
SM
1784 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1785 Simplify Maven regexp, and make sure the file can't start with a space
1786 (bug#11517).
1787
b847032c
GM
17882012-05-21 Glenn Morris <rgm@gnu.org>
1789
1790 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1791 Scrap superfluous subshells.
1792
3858bfe7
SM
17932012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1796 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1797
d14b0029
JB
17982012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1799
1800 * calc/calc.el (calc-ensure-consistent-units): New variable.
1801
a52c0aa0
SM
1802 * calc/calc-units.el (math-consistent-units-p)
1803 (math-check-unit-consistency): New functions.
1804 (calc-quick-units, calc-convert-units):
1805 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1806 is non-nil.
d14b0029
JB
1807 (calc-extract-units): Fix typo.
1808
60c4db3a
SM
18092012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1810
77f3b62e
SM
1811 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1812
60c4db3a
SM
1813 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1814 (flyspell-default-deplacement-commands): Don't spell check after
1815 repeated window/frame switches (e.g. triggered by mouse-movement).
1816 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1817 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1818 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1819 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1820 Remove unused vars.
1821 (flyspell-get-casechars, flyspell-get-not-casechars):
1822 Simplify; Don't bother removing a ] just to add it back.
1823 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1824
b1a10716
RS
18252012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1826
1827 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1828 New functions.
bd7239f5 1829 (math-function-table): Add support for more C functions.
b1a10716 1830
3f1b25b5
AM
18312012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1832
1833 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1834 (flyspell-debug-signal-word-checked): Protect delay handling for
1835 otherchars against empty otherchars.
1836
b581bb5c
SM
18372012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1840 their respective macro declarations.
1841 * skeleton.el (define-skeleton):
1842 * progmodes/compile.el (define-compilation-mode):
1843 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1844 (define-ibuffer-filter):
1845 * emacs-lisp/generic.el (define-generic-mode):
1846 * emacs-lisp/easy-mmode.el (define-minor-mode)
1847 (define-globalized-minor-mode):
1848 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1849 * emacs-lisp/byte-run.el (defsubst):
1850 * custom.el (deftheme): Add doc-string metadata.
1851
70b8ef8f
SM
18522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1855
b1198e17
SM
18562012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1857
9abdc45d
SM
1858 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1859
b1198e17
SM
1860 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1861 * emacs-lisp/cl-macs.el: Idem.
1862 * emacs-lisp/cl-specs.el: Remove.
1863
4735906a
SM
18642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 Minor renaming of internal CL functions and variables.
1867 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1868 (cl--position): Rename from cl-position.
1869 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1870 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1871 (cl--random-state): Rename from *random-state*.
1872
ac348012
SM
18732012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1876 parens around the arg list (bug#11499).
1877
a0a79cde
JL
18782012-05-17 Juri Linkov <juri@jurta.org>
1879
1880 * isearch.el (word-search-regexp, word-search-backward)
1881 (word-search-forward, word-search-backward-lax)
1882 (word-search-forward-lax): Move functions from search.c
1883 (bug#10145, bug#11381).
1884
65034a51
AM
18852012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1886
1887 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1888 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1889 normal word components.
1890
1a72a195
SM
18912012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * minibuffer.el (completion--sifn-requote): Fix last change.
1894 (minibuffer-local-must-match-filename-map):
1895 Move define-obsolete-variable-alias before its var.
1896
fdb058c2
SM
18972012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1898
c41045e6
SM
1899 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1900
036dfb8b
SM
1901 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1902 behavior.
1903 (completion--string-equal-p): New function.
1904 (completion--twq-all): Use it to get better assertion failure data.
1905
2473256d
SM
1906 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1907 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1908 (shell--requote-argument): New functions.
1909 (shell-completion-vars): Use them.
1910 (shell--parse-pcomplete-arguments): Rename from
1911 shell-parse-pcomplete-arguments.
1912 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1913 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1914 Obey comint-file-name-quote-list.
1915
fdb058c2
SM
1916 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1917 (smie-indent-keyword): Use it.
1918
51fa99f1
SM
19192012-05-14 Stefan Merten <smerten@oekonux.de>
1920
1921 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1922
e18afed7 19232012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1924
1925 * net/rlogin.el (rlogin-mode-map): Fix last change.
1926
e18afed7 19272012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1928
1929 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1930 the following \r\n using a single `process-send-string', since the
1931 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1932 with two `process-send-string's (Bug#11444).
8633b1f4 1933
e18afed7 19342012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1935
fdb058c2
SM
1936 * shell.el (shell-parse-pcomplete-arguments):
1937 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1938
2d21d7f6
WJ
19392012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1940
e18afed7 1941 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1942 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1943 (image-transform-width, image-transform-fit-width): New functions.
1944 (image-transform-properties): Use them.
1945 (image-transform-check-size): New function.
1946 (image-toggle-display-image): Use it (for testing).
1947 (image-transform-set-rotation): Reduce angle mod 360.
1948 Delete obsolete comment.
1949
7102e6d0
WJ
19502012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1951
1952 * image-mode.el: Fix scaling (bug#11399).
1953 (image-transform-resize): Doc fix.
1954 (image-transform-properties): Default scale is 1 and height should
1955 be an integer.
1956
06bc5e6e
SM
19572012-05-13 Johan Bockgård <bojohan@gnu.org>
1958
1959 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1960 than hard-coding `car', to fix misbehavior when moving forward.
1961
0ae03b6a
CY
19622012-05-13 Chong Yidong <cyd@gnu.org>
1963
1964 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1965 (tabulated-list-entries, tabulated-list-padding)
1966 (tabulated-list-sort-key): Make permanent-local.
1967
1968 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1969 (electric-buffer-list): Put electric buffer menu
1970 command descriptions in this docstring, instead of the docstring
1971 of electric-buffer-menu-mode. Code cleanups.
1972 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1973 Electric-buffer-menu-mode.
1974 (electric-buffer-update-highlight): Minor code cleanup.
1975
205a7391
MA
19762012-05-13 Michael Albinus <michael.albinus@gmx.de>
1977
1978 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1979 (Bug#11447)
1980
e5bd0a28
SM
19812012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 Move define-obsolete-variable-alias before the var's definition.
1984 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1985 * tooltip.el (tooltip-hook):
1986 * textmodes/reftex-toc.el (reftex-toc-map):
1987 * textmodes/reftex-sel.el (reftex-select-label-map)
1988 (reftex-select-bib-map):
1989 * textmodes/reftex-index.el (reftex-index-map)
1990 (reftex-index-phrases-map):
1991 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1992 * progmodes/meta-mode.el (meta-mode-map):
1993 * novice.el (disabled-command-hook):
1994 * loadhist.el (unload-hook-features-list):
1995 * frame.el (blink-cursor):
1996 * files.el (find-file-not-found-hooks, write-file-hooks)
1997 (write-contents-hooks):
1998 * emulation/tpu-edt.el (GOLD-map):
1999 * emacs-lock.el (emacs-lock-from-exiting):
2000 * emacs-lisp/generic.el (generic-font-lock-defaults):
2001 * emacs-lisp/chart.el (chart-map):
2002 * dos-fns.el (register-name-alist):
2003 * dired-x.el (dired-omit-files-p):
2004 * desktop.el (desktop-enable):
2005 * cus-edit.el (custom-mode-hook):
2006 * buff-menu.el (buffer-menu-mode-hook):
2007 * bookmark.el (bookmark-read-annotation-text-func)
2008 (bookmark-exit-hooks):
2009 * allout.el (allout-mode-deactivate-hook)
2010 (allout-exposure-change-hook, allout-structure-added-hook)
2011 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2012 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2013 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2014 comes before the corresponding variable's definition.
2015
ac59c2f6
CY
20162012-05-12 Chong Yidong <cyd@gnu.org>
2017
2018 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2019 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2020 (Buffer-menu-mode-map): Bind it.
2021 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2022
dee6c9a3
SM
20232012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2171cea5
SM
2025 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2026 (prolog-upper-case-string, prolog-lower-case-string)
2027 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2028 (prolog-use-smie, prolog-smie-grammar): New vars.
2029 (prolog-smie-forward-token, prolog-smie-backward-token)
2030 (prolog-smie-rules): New funs.
2031 (prolog-comment-indent): Remove.
2032 (prolog-mode-variables): Use default comment indentation instead.
2033 Setup SMIE.
2034 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2035 (prolog-mode): Don't call them any more.
2036 (prolog-electric-colon, prolog-electric-dash)
2037 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2038
aa0382bd
SM
2039 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2040
dbacb4bd
SM
2041 * minibuffer.el (completion--twq-all): Again, allow case differences.
2042
13bdd94c
SM
2043 * term.el: Move keymap initialization code to be more idiomatic.
2044 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2045 (term-terminal-menu): Move initialization into declaration.
2046 (term-escape-char): Let the user set it in her .emacs.
2047
ff46c759
SM
2048 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2049 Provide SMIE-based indentation (not enabled by default yet).
2050 (sh-mode-map): Don't bind electric keys.
2051 Use electric-pair-mode instead of skeleton-pair.
2052 (sh-assignment-regexp): Fit within 80 columns.
2053 (sh-indent-supported): Specify actual shell name instead of boolean.
2054 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2055 (sh-maybe-here-document): Use it. Make obsolete.
2056 (sh-electric-here-document-mode) New minor mode.
2057 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2058 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2059 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2060 (sh-smie-rc-grammar, sh-use-smie): New vars.
2061 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2062 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2063 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2064 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2065 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2066 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2067 (sh-set-shell): Use smie-setup if requested.
2068
dee6c9a3
SM
2069 * term.el (term-set-escape-char): Properly set term-escape-char.
2070 See http://stackoverflow.com/questions/10524656.
2071
9f9aa044
CY
20722012-05-10 Chong Yidong <cyd@gnu.org>
2073
2074 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2075 Use url-generic-parse-url, and handle host names and Windows
2076 filenames properly.
2077 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2078 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2079 URL schemes to work on.
2080 (ffap--toggle-read-only): New function.
2081 (ffap-read-only, ffap-read-only-other-window)
2082 (ffap-read-only-other-frame): Use it.
2083 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2084 necessary for ffap-url-unwrap-remote.
2085
836d29b3
DA
20862012-05-10 Dave Abrahams <dave@boostpro.com>
2087
2088 * cus-start.el (create-lockfiles): Add it.
2089
00fd78ed
CY
20902012-05-09 Chong Yidong <cyd@gnu.org>
2091
2092 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2093 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2094
666b903b 20952012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2096
2097 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2098
666b903b 20992012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2100
2101 * ansi-color.el (ansi-color-process-output): Check for validity of
2102 comint-last-output-start before using it. This avoids a bad
2103 interaction with gdb-mi's input/output buffer.
2104
666b903b 21052012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2106
2107 * files.el (dir-locals-read-from-file):
2108 Mention dir-locals in any error message.
2109
666b903b 21102012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2111
2112 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2113 package (Bug#11410).
2114
f677562b
CY
2115 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2116 variables into description.
2117
666b903b 21182012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2119
2120 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2121 shell-delimiter-argument-list (bug#11348).
2122 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2123
b499d8d0
JB
21242012-05-09 Juanma Barranquero <lekktu@gmail.com>
2125
8f6b6da8
JB
2126 * textmodes/rst.el: Silence byte-compiler warnings.
2127 (rst-re-alist, rst-reset-section-caches): Move around.
2128 (rst-re): Use `characterp', not `char-valid-p'.
2129 (font-lock-beg, font-lock-end): Declare.
2130
4824146a
JB
2131 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2132 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2133
b499d8d0
JB
2134 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2135
ad89bb83
GM
21362012-05-08 Glenn Morris <rgm@gnu.org>
2137
2138 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2139
8bba5a75
SM
21402012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2141
49ed9c8e
SM
2142 * vc/log-edit.el: Add GNU coding standards highlighting.
2143 (log-edit-font-lock-gnu-style)
2144 (log-edit-font-lock-gnu-keywords): New vars.
2145 (log-edit-font-lock-keywords): New fun.
2146 (log-edit-mode): Don't fold case in font-lock.
2147 (log-edit-font-lock-keywords): Do not assume case-folding.
2148
07d00b56
SM
2149 * imenu.el: Misc cleanup. Make docstrings out of comments.
2150 Use lexical-binding.
2151 (imenu--index-alist, imenu--last-menubar-index-alist)
2152 (imenu-menubar-modified-tick): Use defvar-local.
2153 (imenu--split-menu): Remove unused var.
2154 (imenu--cleanup-seen): Declare as global.
2155 (imenu--cleanup): Use dolist.
2156
8bba5a75
SM
2157 * subr.el (defvar-local): Add debug spec and doc-string position.
2158
5075bdb5
GM
21592012-05-08 Glenn Morris <rgm@gnu.org>
2160
c052c904
GM
2161 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2162 * language/english.el, language/georgian.el, language/greek.el:
2163 * language/japanese.el, language/khmer.el, language/korean.el:
2164 * language/lao.el, language/misc-lang.el, language/romanian.el:
2165 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2166 * language/thai.el, language/utf-8-lang.el:
2167 Remove no-byte-compile setting.
2168
5075bdb5
GM
2169 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2170
06f679a7
AH
21712012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2172
2173 * progmodes/make-mode.el (makefile-browse):
2174 Remove unnecessary interactive. (Bug#11324)
2175
03794570
GM
21762012-05-07 Glenn Morris <rgm@gnu.org>
2177
af8630f4
GM
2178 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2179
03794570
GM
2180 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2181
f0809a9d
SM
21822012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2183
28be5ce7
SM
2184 * loadup.el: Preload newcomment.el.
2185 * newcomment.el: Move autoload-only code to toplevel.
2186
f0809a9d
SM
2187 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2188 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2189 Handle new :right-align column property.
2190 (tabulated-list-print-col): Idem, plus use `display' text-property to
2191 try and preserve alignment for variable pitch fonts.
2192
1241b724
CY
21932012-05-07 Chong Yidong <cyd@gnu.org>
2194
2195 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2196 (tabulated-list-use-header-line): New var.
2197 (tabulated-list-init-header): Use it.
2198 (tabulated-list-print-fake-header): New function.
2199 (tabulated-list-print): Use it.
2200 (tabulated-list-sort-button-map): Add non-header-line commands.
2201 (tabulated-list-init-header): Add column name property to basic
2202 labels as well.
2203 (tabulated-list-col-sort): Handle non-header-line button case.
2204 (tabulated-list--sort-by-column-name): Fix a corner case.
2205
f0809a9d
SM
2206 * buff-menu.el (list-buffers--refresh):
2207 Handle Buffer-menu-use-header-line.
1241b724 2208
e5f9458f
CY
22092012-05-06 Chong Yidong <cyd@gnu.org>
2210
2211 * buff-menu.el: Convert to Tabulated List mode.
2212 (Buffer-menu-buffer+size-width): Make obsolete.
2213 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2214 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2215 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2216 documentation into docstring of buffer-menu.
2217 (Buffer-menu-toggle-files-only): Add an informative message.
2218 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2219 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2220 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2221 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2222 (Buffer-menu-execute, Buffer-menu-select)
2223 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2224 (Buffer-menu-bury): Use Tabulated List machinery.
2225 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2226 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2227 Delete.
e5f9458f
CY
2228 (list-buffers--refresh): New function.
2229 (list-buffers-noselect): Use it.
2230 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2231 (Buffer-menu--pretty-file-name): New helper functions.
2232
2233 * loadup.el: Preload tabulated-list.
2234
2235 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2236 tabulated-list-sort-column.
2237 (tabulated-list-init-header): Add the initial aligning space even
2238 if tabulated-list-padding is zero.
2239
e129292c
CS
22402012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2241
2242 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2243 whose cdr is not a cons cell correctly (bug#11038).
2244
6632d361
CY
22452012-05-06 Chong Yidong <cyd@gnu.org>
2246
e129292c
CS
2247 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2248 Accept additional plist in column descriptors.
6632d361
CY
2249 (tabulated-list-init-header): Obey it.
2250 (tabulated-list-get-entry): New function.
2251 (tabulated-list-put-tag): Use it. Use string-width instead of
2252 length.
2253 (tabulated-list--column-number): New function.
2254 (tabulated-list-print): Use it.
e129292c
CS
2255 (tabulated-list-print-col): New function.
2256 Set `tabulated-list-column-name' property on each column's text.
6632d361 2257 (tabulated-list-print-entry): Use it.
e129292c
CS
2258 (tabulated-list-delete-entry, tabulated-list-set-col):
2259 New functions.
6632d361
CY
2260 (tabulated-list-sort-column): New command (Bug#11337).
2261
3cc99f68
CY
2262 * buff-menu.el (list-buffers): Move C-x C-b binding from
2263 buff-menu.el to bindings.el.
2264
2265 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2266 :advertised-binding feature.
2267
52b61776
TN
22682012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2269
2270 * progmodes/compile.el (compilation-internal-error-properties):
2271 Calculate start position correctly when end-col is set but
2272 end-line is not (Bug#11382).
2273
ebfe2597
WJ
22742012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2275
2276 * man.el (Man-unindent): Use text-property-default-nonsticky to
2277 prevent untabify from inheriting face properties (Bug#11408).
2278
6d3f7c2f
SM
22792012-05-05 Stefan Merten <smerten@oekonux.de>
2280
2281 * textmodes/rst.el: Major merge with upstream development up to
2282 Docutils SVN r7399 / rst.el V1.2.1.
2283
2284 Clarify maintainership and authors.
2285
2286 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2287 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2288 (rst-official-version, rst-official-cvs-rev, rst-version)
2289 (rst-package-emacs-version-alist): New functions and variables
2290 for version information.
2291
2292 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2293 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2294 (rst-mode-syntax-table, rst-mode): New and corrected functions
2295 and variables representing reStructuredText features.
2296
2297 (rst-re): New function for reStructuredText regexes. Use in
2298 many places.
2299
2300 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2301 (rst-mode-map): Rebind keys.
2302
2303 (rst-mode-lazy, rst-font-lock-keywords)
2304 (rst-font-lock-extend-region)
2305 (rst-font-lock-extend-region-internal)
2306 (rst-font-lock-extend-region-extend)
2307 (rst-font-lock-find-unindented-line-limit)
2308 (rst-font-lock-find-unindented-line-match)
2309 (rst-adornment-level, rst-font-lock-adornment-level)
2310 (rst-font-lock-adornment-match)
2311 (rst-font-lock-handle-adornment-pre-match-form)
2312 (rst-font-lock-handle-adornment-matcher): Major revision of
2313 font-locking. Integrate with other code. Use `jit-lock-mode'.
2314
2315 (rst-preferred-adornments, rst-adjust-hook)
2316 (rst-new-adornment-down, rst-preferred-bullets)
2317 (rst-preferred-bullets, rst-indent, rst-indent-width)
2318 (rst-indent-field, rst-indent-literal-normal)
2319 (rst-indent-literal-minimized, rst-indent-comment): Change,
2320 extend and improve customization.
2321
2322 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2323 (rst-normalize-cursor-position, rst-get-decoration)
2324 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2325 (rst-rstrip, rst-toc-insert-find-delete-contents)
2326 (rst-shift-fill-region, rst-compute-bullet-tabs)
2327 (rst-debug-print-tabs, rst-debug-mark-found)
2328 (rst-shift-region-guts, rst-shift-region-right)
2329 (rst-shift-region-left, rst-use-char-classes)
2330 (rst-font-lock-keywords-function)
2331 (rst-font-lock-indentation-point)
2332 (rst-font-lock-find-unindented-line-begin)
2333 (rst-font-lock-find-unindented-line-end)
2334 (rst-font-lock-find-unindented-line)
2335 (rst-font-lock-adornment-point, rst-font-lock-level)
2336 (rst-adornment-level-alist): Remove functions and variables.
2337
2338 (rst-compare-adornments, rst-get-adornment-match)
2339 (rst-suggest-new-adornment, rst-get-adornments-around)
2340 (rst-adornment-complete-p, rst-get-next-adornment)
2341 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2342 (rst-straighten-adornments): Standardize function names to
2343 use "adornment" instead of "decoration". Correct callers.
2344 Similar standardizing in many places.
2345
2346 (rst-update-section, rst-adjust, rst-promote-region)
2347 (rst-enumerate-region, rst-bullet-list-region)
2348 (rst-repeat-last-character): Correct use of `interactive'.
2349
2350 (rst-classify-adornment, rst-find-all-adornments)
2351 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2352 (rst-find-leftmost-column, rst-repeat-last-character):
2353 Refactor functions.
2354
2355 (rst-find-title-line, rst-reset-section-caches)
2356 (rst-get-adornments-around, rst-adjust-adornment-work)
2357 (rst-arabic-to-roman, rst-roman-to-arabic)
2358 (rst-insert-list-pos, rst-insert-list-new-item)
2359 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2360 New functions.
2361
2362 (rst-all-sections, rst-section-hierarchy)
2363 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2364 New variables.
2365
2366 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2367 configuration instead of only buffer. Change where necessary.
2368
2369 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2370 (rst-shift-region, rst-adaptive-fill): New functions for
2371 indentation and filling.
2372
2373 (rst-comment-line-break, rst-comment-indent)
2374 (rst-comment-insert-comment, rst-comment-region)
2375 (rst-uncomment-region): New functions for handling comments.
2376
2377 (rst-compile): Quote shell arguments.
2378
2379 (rst-compile-pdf-preview, rst-compile-slides-preview):
2380 Delete temporary files after use.
2381
a43f98b3
GM
23822012-05-05 Glenn Morris <rgm@gnu.org>
2383
48176e8b
GM
2384 * calendar/cal-html.el: Optionally include holidays in the output.
2385 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2386 (cal-html-holidays): New option.
2387 (cal-html-css-default): Add holiday entry.
2388 (holiday-in-range): Autoload it.
2389 (cal-html-htmlify-entry): Add optional class argument.
2390 (cal-html-htmlify-list): Add optional holidays argument.
2391 (cal-html-insert-agenda-days): Include holidays in the output.
2392 (cal-html-one-month): Maybe include holidays.
2393
a43f98b3
GM
2394 * calendar/holidays.el (holiday-in-range):
2395 Move here from cal-tex-list-holidays.
2396 * calendar/cal-tex.el (cal-tex-list-holidays):
2397 Make it an obsolete alias for holiday-in-range. Update all callers.
2398
fef9d149 23992012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2400
2401 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2402 Nextstep.
2403
248da2f4
RW
24042012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2405
2406 * files.el (file-auto-mode-skip): New var.
2407 (set-auto-mode-1): Use it.
2408
f95e9344
SM
24092012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2410
df96ab1e
SM
2411 * repeat.el: Use lexical-binding.
2412 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2413 (repeat-undo-count): Remove.
2414 (repeat):
2415 * progmodes/octave-mod.el (octave-abbrev-start):
2416 * progmodes/f90.el (f90-abbrev-start):
2417 * face-remap.el (text-scale-adjust):
2418 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2419
5342bb06
SM
2420 * emacs-lisp/pcase.el (pcase--let*): New function.
2421 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2422 a bit more.
2423 (pcase--split-pred): Be more clever about ruling out overlap between
2424 a predicate and some constant pattern.
2425 (pcase--q1): Use `null' instead of (eq foo nil).
2426
f95e9344
SM
2427 * subr.el (setq-local, defvar-local): New macros.
2428 (kbd): Redefine as an alias.
2429 (with-selected-window): Leave unrelated frames alone.
2430 (set-temporary-overlay-map): New function.
2431
71873e2b
SM
24322012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * subr.el (user-error): New function.
2435 * window.el (switch-to-buffer):
2436 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2437 (smerge-match-conflict):
2438 * simple.el (previous-matching-history-element)
2439 (next-matching-history-element, goto-history-element, undo-more)
2440 (undo-start):
2441 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2442 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2443 (next-file, tags-loop-scan, list-tags, complete-tag):
2444 * progmodes/compile.el (compilation-loop):
2445 * mouse.el (mouse-minibuffer-check):
2446 * man.el (Man-bgproc-sentinel, Man-goto-page):
2447 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2448 (Info-history-forward, Info-follow-reference, Info-menu)
2449 (Info-extract-menu-item, Info-extract-menu-counting)
2450 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2451 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2452 (Info-next-reference, Info-prev-reference, Info-index)
2453 (Info-index-next, Info-follow-nearest-node)
2454 (Info-copy-current-node-name):
2455 * imenu.el (imenu--make-index-alist)
2456 (imenu-default-create-index-function, imenu-add-to-menubar):
2457 * files.el (basic-save-buffer, recover-file):
2458 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2459 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2460 (checkdoc-message-text, checkdoc-defun):
2461 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2462 * cus-edit.el (customize-changed-options, customize-rogue)
2463 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2464 (custom-variable-mark-to-reset-standard)
2465 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2466 (custom-file):
2467 * completion.el (check-completion-length):
2468 * comint.el (comint-search-arg)
2469 (comint-previous-matching-input-string-position)
2470 (comint-previous-matching-input)
2471 (comint-replace-by-expanded-history-before-point, comint-send-input)
2472 (comint-copy-old-input, comint-backward-matching-input)
2473 (comint-goto-process-mark, comint-set-process-mark):
2474 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2475 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2476
8a61ee22
SM
24772012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2478
66408d1e
SM
2479 * dabbrev.el (dabbrev--ignore-case-p): New function.
2480 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2481 Use it.
2482
8a61ee22
SM
2483 * files.el (automount-dir-prefix): Mark as obsolete.
2484
3c74813a
GM
24852012-05-04 Glenn Morris <rgm@gnu.org>
2486
2487 * patcomp.el, play/bruce.el: Move to obsolete/.
2488
0bfcf5c5
PE
24892012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2490
2491 Fix minor Y10k bugs.
2492 * arc-mode.el (archive-unixdate):
2493 * autoinsert.el (auto-insert-alist):
2494 * calc/calc-forms.el (math-this-year):
2495 * emacs-lisp/copyright.el (copyright-current-year)
2496 (copyright-update-year, copyright):
2497 * tar-mode.el (tar-clip-time-string):
2498 * time.el (display-time-update):
2499 Don't assume years have 4 digits.
2500
78f3273a
CY
25012012-05-04 Chong Yidong <cyd@gnu.org>
2502
2503 * dos-w32.el (file-name-buffer-file-type-alist)
2504 (direct-print-region-use-command-dot-com):
2505 * ffap.el (ffap-menu-regexp):
2506 * find-file.el (ff-special-constructs):
2507 * follow.el (follow-debug):
2508 * forms.el (forms--debug):
2509 * iswitchb.el (iswitchb-all-frames):
2510 * ido.el (ido-all-frames):
2511 * emacs-lisp/timer.el (timer-max-repeats):
2512 * mail/feedmail.el (feedmail-mail-send-hook)
2513 (feedmail-mail-send-hook-queued):
2514 * mail/footnote.el (footnote-signature-separator):
2515 * mail/mailabbrev.el (mail-alias-separator-string)
2516 (mail-abbrev-mode-regexp):
2517 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2518 * progmodes/idlwave.el (idlwave-libinfo-file)
2519 (idlwave-default-completion-case-is-down)
2520 (idlwave-library-routines): Convert defvars to defcustoms.
2521
2522 * mail/rmail.el (rmail-decode-mime-charset):
2523 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2524 (idlwave-shell-fix-inserted-breaks)
2525 (idlwave-shell-activate-alt-keybindings)
2526 (idlwave-shell-use-breakpoint-glyph):
2527 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2528
f7ae6719
SM
25292012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2532
47086495
WS
25332012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2534
2535 * progmodes/verilog-mode.el (font-lock-keywords):
2536 Fix mis-highligting auto. Reported by Craig Barner.
2537 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2538 defines from global name space. Reported by Dan Dever.
2539 (verilog-auto-reset, verilog-auto-reset-widths)
2540 (verilog-auto-tieoff): Support using unbased numbers for
2541 AUTORESET and AUTOTIEOFF.
2542 (verilog-submit-bug-report): Update variable list.
2543 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2544 parenthesis from not matching. Reported by Michael Rytting.
2545 (verilog-auto-template-lint): Fix hash error when linting modules
2546 with no used templates.
2547 (verilog-warn, verilog-warn-error)
2548 (verilog-warn-fatal): When non-interactive report multiple
2549 warnings before exiting. Suggested by Brad Dobbie.
2550 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2551 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2552 to report unused template errors. Reported by Brad Dobbie.
2553 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2554 nets, bug438. Reported by Vns Blore.
2555 (verilog-auto-inout-module, verilog-auto-reg)
2556 (verilog-read-decls, verilog-read-sub-decls-sig)
2557 (verilog-signals-edit-wire-reg, verilog-signals-with):
2558 Fix passing of Verilog data types in ANSI input/output ports
2559 such as "output logic" into the AUTOs. Special case "wire" and
2560 "reg" for backwards compatibility presuming Verilog 2001.
2561 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2562 (verilog-preprocess): Fix replication of preprocess output.
2563 Reported by Brad Dobbie.
2564 (verilog-auto-inst-interfaced-ports):
2565 Create verilog-auto-inst-interfaced-ports, bug429.
2566 Reported by Julian Gorfajn.
2567 (verilog-after-save-font-hook)
2568 (verilog-before-save-font-hook): New variable.
2569 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2570 (verilog-save-font-mods): Wrap disabling fontification, reported
2571 by David Rogoff.
2572 (verilog-do-indent, verilog-pretty-declarations-auto)
2573 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2574 Reported by Pierre-David Pfister.
2575 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2576 of class declarations, bug292. Reported by Kevin Heilman.
2577 (verilog-read-decls): Fix 'parameter type' not appearing in
2578 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2579 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2580 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2581 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2582 Reported by David Kravitz.
2583
25842012-05-03 Michael McNamara <mac@mail.brushroad.com>
2585
2586 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2587 assignment with tests in ifs and for loops.
2588 (verilog-extended-complete-re, verilog-complete-reg): Change so
2589 that DPI inport functions don't look like fuction declarations.
2590 (verilog-pretty-expr): Don't line up assignment
2591 operations to the test and increment in if and for loops
2592 (verilog-extended-complete-re, verilog-complete-reg): Change so
2593 that DPI inport functions don't look like fuction declarations
2594
2e51d4b5
KH
25952012-05-03 Kenichi Handa <handa@m17n.org>
2596
2597 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2598 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2599 (Bug#11282).
2600
2bd785a2
SM
26012012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * emacs-lisp/bytecomp.el
2604 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2605 since cconv.el might have introduced :fun-body, internal-make-closure,
2606 and friends for bytecomp to handle (bug#11391).
2607 * custom.el (defcustom): Avoid ((λ ..) ..).
2608
99d27583
SM
26092012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2612
55a71479
JB
26132012-05-02 Juanma Barranquero <lekktu@gmail.com>
2614
2615 * notifications.el (dbus-debug):
2616 * term/linux.el (gpm-mouse-enable):
2617 * term/screen.el (xterm-register-default-colors): Declare.
2618
7b97c764
CY
26192012-05-02 Chong Yidong <cyd@gnu.org>
2620
2bc356d7
CY
2621 * cus-start.el (gc-cons-percentage, exec-suffixes)
2622 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2623 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2624 (make-cursor-line-fully-visible, void-text-area-pointer)
2625 (font-list-limit): Add customization data.
2626
7b97c764
CY
2627 * allout.el (allout-exposure-change-functions)
2628 (allout-structure-added-functions)
2629 (allout-structure-deleted-functions)
2630 (allout-structure-shifted-functions): Rename abnormal hooks from
2631 *-hook, and convert to defcustoms.
5d3385a0
JB
2632 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2633 Convert to defcustoms.
7b97c764
CY
2634 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2635
2636 * allout-widgets.el: Hook callers changed.
2637
90207a15 26382012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2639
2640 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2641 the yanked message in preference to the default value of
2642 buffer-file-coding-system.
2643
90207a15 26442012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2645
5d3385a0
JB
2646 * window.el (display-buffer--action-function-custom-type):
2647 Fix entry.
d9558cad 2648
90207a15 26492012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2650
2651 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2652
d80ac57b
GM
26532012-05-01 Glenn Morris <rgm@gnu.org>
2654
976f7668
GM
2655 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2656
beb83b5a
GM
2657 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2658
d80ac57b
GM
2659 * cus-edit.el (custom-variable-documentation): Simplify with format.
2660
b593d6a9
AH
26612012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2662 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 * simple.el (suggest-key-bindings, execute-extended-command):
2665 Move from keyboard.c.
2666
782fbf2a
CY
26672012-05-01 Chong Yidong <cyd@gnu.org>
2668
2669 * follow.el: Eliminate advice.
2670 (set-process-filter, process-filter, sit-for): Advice deleted.
2671 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2672 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2673 Vars deleted.
782fbf2a
CY
2674 (follow-auto): Use a :set function.
2675 (follow-mode): Rewritten. Don't advise process filters.
2676 (follow-switch-to-current-buffer-all, follow-scroll-up)
2677 (follow-scroll-down): Assume follow-mode is bound.
2678 (follow-comint-scroll-to-bottom)
2679 (follow-align-compilation-windows): New functions.
2680 (follow--window-sorter): New function.
2681 (follow-all-followers): Use it to explicitly sort windows by their
2682 positions; don't make assumptions about next-window order.
2683 (follow-windows-start-end, follow-delete-other-windows-and-split)
2684 (follow-calc-win-start): Doc fix.
2685 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2686 vertical-motion unnecessarily.
2687 (follow-adjust-window): New function.
2688 (follow-post-command-hook): Use it.
2689 (follow-call-set-process-filter, follow-call-process-filter)
2690 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2691 (follow-stop-intercept-process-output, follow-generic-filter):
2692 Functions deleted.
2693 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2694 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2695 New functions, replacing advice on scroll-bar-* commands.
87233a14 2696 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2697
2698 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2699 (comint-postoutput-scroll-to-bottom): Use it.
2700 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2701
290af740
GM
27022012-05-01 Glenn Morris <rgm@gnu.org>
2703
2704 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2705 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2706 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2707 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2708 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2709 Remove no-byte-compile setting.
2710
6eac8dc9
SM
27112012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2714 all-completions code to not return a number in the last cdr.
2715
9cc7819c
LL
27162012-04-30 Leo Liu <sdl.web@gmail.com>
2717
2718 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2719 read-only error.
2720
c93b886f
CY
27212012-04-29 Chong Yidong <cyd@gnu.org>
2722
2723 * follow.el (follow-calc-win-end): Rewrite to handle partial
2724 screen lines correctly (Bug#8390).
2725 (follow-avoid-tail-recenter): Minor cleanup.
2726
8b6c19f4
SM
27272012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2728
2729 Avoid the obsolete `assoc' package.
2730 * speedbar.el (speedbar-refresh): Avoid adelete.
2731 (speedbar-file-lists): Simplify and avoid aput.
2732 * man.el (Man--sections, Man--refpages): New vars, replacing
2733 Man-sections-alist and Man-refpages-alist.
2734 (Man-build-section-alist, Man-build-references-alist):
2735 Use them; avoid aput.
2736 (Man--last-section, Man--last-refpage): New vars.
2737 (Man-follow-manual-reference): Use them.
2738 Use the `default' arg of completing-read.
2739 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2740
c5bb7569
CY
27412012-04-27 Chong Yidong <cyd@gnu.org>
2742
d1d2e2e8
CY
2743 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2744
15cd8efd
CY
2745 * startup.el (x-apply-session-resources): New function.
2746
2747 * term/ns-win.el (ns-initialize-window-system):
2748 * term/w32-win.el (w32-initialize-window-system):
2749 * term/x-win.el (x-initialize-window-system): Use it to properly
2750 set menu-bar-mode and other vars from X resources, even if the
2751 initial frame is not a window-system frame (Bug#2299).
2752
c5bb7569
CY
2753 * subr.el (read-key): Avoid running filter function when setting
2754 up temporary tool bar entries (Bug#9922).
2755
a8e7d6d7 27562012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2757
2758 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2759 (Bug#11344)
2760
a8e7d6d7 27612012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2762
2763 * select.el (xselect--encode-string): New function, split from
2764 xselect-convert-to-string.
2765 (xselect-convert-to-string): Use it.
2766 (xselect-convert-to-filename, xselect-convert-to-os)
2767 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2768 returned strings are properly encoded (Bug#11315).
2769
a8e7d6d7 27702012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2771
2772 * simple.el (delete-active-region): Move to killing custom group.
2773
a8e7d6d7 27742012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2775
2776 * progmodes/which-func.el (which-func-current): Quote %
2777 characters for mode-line processing.
2778
578c1d4b 27792012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2780
2781 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2782 reaching eob (Bug#11286).
2783
a8e7d6d7 27842012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2785
2786 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2787 (gdb): Make it buffer-local and init to zero.
2788 (gdb-control-commands-regexp): New variable.
2789 (gdb-send): Don't wrap in "-interpreter-exec console" if
2790 gdb-control-level is positive. Increment gdb-control-level
2791 whenever the command matches gdb-control-commands-regexp, and
2792 decrement it each time the command is "end". (Bug#11279)
2793
a8e7d6d7 27942012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2795
2796 * window.el (adjust-window-trailing-edge, enlarge-window)
2797 (shrink-window, window-resize):
2798 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2799 windows (Bug#11276).
2800
b3608390
CY
28012012-04-27 Chong Yidong <cyd@gnu.org>
2802
2803 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2804 fix "missing prefix" warning. All callers changed.
b3608390 2805
797e6e88
SM
28062012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacs-lisp/assoc.el: Move to obsolete/.
2809
e95a67dc
SM
28102012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2811
657c21e4 2812 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2813
2814 * term/ns-win.el (ns-define-service):
2815 * progmodes/pascal.el (pascal-goto-defun):
2816 * progmodes/js.el (js--read-tab):
2817 * progmodes/etags.el (tags-lazy-completion-table):
2818 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2819 * emacs-lisp/ewoc.el (ewoc--wrap):
2820 * emacs-lisp/assoc.el (aput, adelete, amake):
2821 * doc-view.el (doc-view-convert-current-doc):
2822 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2823
cb3e7ae0
CY
28242012-04-26 Chong Yidong <cyd@gnu.org>
2825
dce04f7f
CY
2826 * image.el (image-type-from-buffer): Only return supported image
2827 type (Bug#9045).
2828
cb3e7ae0
CY
2829 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2830 value, for symmetry with diff-end-of-hunk.
2831 (diff-split-hunk, diff-find-source-location)
2832 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2833 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2834 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2835 compute the relevant hunk or file properly (Bug#6005).
2836 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2837
0d42eb3e
SM
28382012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * vc/vc-mtn.el:
2841 * vc/vc-hg.el:
2842 * vc/vc-git.el:
2843 * vc/vc-dir.el:
2844 * vc/vc-cvs.el:
2845 * vc/vc-bzr.el:
2846 * vc/vc-arch.el:
2847 * vc/vc.el: Replace lexical-let by lexical-binding.
2848 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2849 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2850 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2851
f08ae1c9
CY
28522012-04-26 Chong Yidong <cyd@gnu.org>
2853
8b71081d
CY
2854 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2855 (diff-mode-shared-map): Bind it to / and [remap undo].
2856
f08ae1c9
CY
2857 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2858 (ediff-window-setup-function): Use it as the default, to set up
2859 windows based on whether the current frame is graphical (Bug#2138).
2860 (ediff-choose-window-setup-function-automatically): Make obsolete.
2861
2862 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2863
ef24141c
SM
28642012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2865
cc356a5d
SM
2866 * ffap.el: Remove old code for obsolete package.
2867 (ffap-complete-as-file-p): Remove.
2868
b4ff4f1f
SM
2869 Use completion-table-with-quoting for comint and pcomplete.
2870 * comint.el (comint--unquote&requote-argument)
2871 (comint--unquote-argument, comint--requote-argument): New functions.
2872 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2873 (comint-quote-filename): Use regexp-opt-charset.
2874 (comint--common-suffix, comint--common-quoted-suffix)
2875 (comint--table-subvert): Remove.
2876 (comint-unquote-function, comint-requote-function): New vars.
2877 (comint--complete-file-name-data): Use them with
2878 completion-table-with-quoting.
2879 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2880 * pcomplete.el (pcomplete-arg-quote-list)
2881 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2882 (pcomplete-unquote-argument-function): Default to non-nil.
2883 (pcomplete-unquote-argument): Simplify.
2884 (pcomplete--common-quoted-suffix): Remove.
2885 (pcomplete-requote-argument-function): New var.
2886 (pcomplete--common-suffix): New function.
2887 (pcomplete-completions-at-point): Use completion-table-with-quoting
2888 and completion-table-subvert.
2889
79c4eeb4
SM
2890 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2891 (minibuffer--double-dollars): Preserve properties.
2892 (completion--sifn-requote): New function.
2893 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2894
ef24141c
SM
2895 * minibuffer.el: Add support for completion of quoted/escaped data.
2896 (completion-table-with-quoting, completion-table-subvert): New funs.
2897 (completion--twq-try, completion--twq-all): New functions.
2898 (completion--nth-completion): New function.
2899 (completion-try-completion, completion-all-completions): Use it.
2900
784e7d6e
LL
29012012-04-25 Leo Liu <sdl.web@gmail.com>
2902
dd2ac746
SM
2903 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2904 Use compilation-message if available to find real filename.
784e7d6e 2905
07875ee7
CY
29062012-04-25 Chong Yidong <cyd@gnu.org>
2907
2908 * vc/diff-mode.el (diff-setup-whitespace): New function.
2909 (diff-mode): Use it.
2910
2911 * vc/diff.el (diff-sentinel):
2912 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2913 Whitespace mode variables based on diff style (Bug#8612).
2914
5055880d
LL
29152012-04-25 Leo Liu <sdl.web@gmail.com>
2916
daf75653
LL
2917 * progmodes/python.el (python-send-region): Add suffix .py to the
2918 temp file.
2919
5055880d
LL
2920 * files.el (auto-mode-alist): Use javascript-mode instead.
2921
db9b177b
AH
29222012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2923
ef24141c 2924 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2925
2926 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2927 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2928 references, see Bug#9.
ef24141c 2929 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2930 when receiving a fault reply.
ef24141c 2931 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2932
2933 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2934 (soap-inspect-simple-type): New function.
db9b177b 2935
ef24141c 2936 * soap-client.el (soap-simple-type): New struct.
db9b177b 2937 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2938 (soap-decode-basic-type, soap-encode-basic-type):
2939 support unsignedInt and double basic types.
db9b177b 2940 (soap-resolve-references-for-simple-type)
ef24141c
SM
2941 (soap-parse-simple-type, soap-encode-simple-type): New function.
2942 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2943
2944 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2945 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2946 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2947 the local name of "soapenc:Array".
2948 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2949 decoding integer, byte and anyURI xsd types.
2950
1fc6097b
CY
29512012-04-25 Chong Yidong <cyd@gnu.org>
2952
2953 * cus-edit.el (custom-buffer-create-internal): Update header text.
2954
afc6df87
EZ
29552012-04-25 Eli Zaretskii <eliz@gnu.org>
2956
2957 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2958 settings on 'system-type', not on 'window-system'. On MS-Windows,
2959 set interactive-mode on in GDB.
2960
dfbd787f
SM
29612012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2964 (ruby-syntax-propertize-regexp): Remove.
2965 (ruby-syntax-propertize-function): Split regexp into chunks.
2966 Match following code directly.
2967
85222d44
DG
29682012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2969
51a8ea2a
DG
2970 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2971 (ruby-syntax-propertize-regexp): New function.
2972 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2973 by a special keyword.
2974
85222d44
DG
2975 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2976 (ruby-syntax-general-delimiters-goto-beg)
2977 (ruby-syntax-propertize-general-delimiters): New functions.
2978 (ruby-syntax-propertize-function): Use them to handle GDL.
2979 (ruby-font-lock-keywords): Move old handling of GDL...
2980 (ruby-font-lock-syntactic-keywords): .. to here.
2981 (ruby-calculate-indent): Adjust indentation for GDL.
2982
b613912b
MA
29832012-04-24 Michael Albinus <michael.albinus@gmx.de>
2984
b5380639
MA
2985 * notifications.el (top): Remove unneeded declarations.
2986 (notifications-specification-version): Change to "1.2".
e43042fe 2987 (notifications-interface, notifications-notify-method)
b613912b
MA
2988 (notifications-close-notification-method): Fix docstring.
2989 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2990 (notifications-notify): Add :action-items, :resident and
2991 :transient hints. Change "image_data" to "image-data" and
2992 "image_path" to "image-path".
b613912b
MA
2993 (notifications-get-capabilities): New defun.
2994
257440aa
LL
29952012-04-24 Leo Liu <sdl.web@gmail.com>
2996
2997 * progmodes/python.el: Move hideshow setup to the end.
2998
b1bac16e
MR
29992012-04-24 Martin Rudalics <rudalics@gmx.at>
3000
3001 * window.el (handle-select-window): Clear echo area since this is
3002 no more done by read_char (Bug#11304).
3003
d81bd059
SM
30042012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3007 and `/ M' to filter-derived-mode.
3008 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3009 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3010 (ibuffer-mark-by-mode): Use default rather than initial-input.
3011 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3012
c4cf6d91
IA
30132012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3014
3015 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3016 (ibuffer-filter-by-derived-mode): New filter.
3017 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3018
7511ded8
CY
30192012-04-23 Andreas Politz <politza@fh-trier.de>
3020
3021 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3022
775c916b
CY
30232012-04-23 Chong Yidong <cyd@gnu.org>
3024
3025 * cus-edit.el (customize-apropos, customize-apropos-options):
3026 Disable matching of non-option variables (Bug#11176).
3027 (customize-option, customize-option-other-window)
3028 (customize-changed-options): Doc fix.
3029 (customize-apropos-options, customize-apropos-faces)
3030 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3031
3032 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3033 Fix word list splitting (Bug#11132).
46c71e23
CY
3034 (apropos-symbol, apropos-keybinding, apropos-label)
3035 (apropos-property, apropos-function-button)
3036 (apropos-variable-button, apropos-misc-button): New faces.
3037 (apropos-symbol-face, apropos-keybinding-face)
3038 (apropos-label-face, apropos-property-face, apropos-match-face):
3039 Variables removed (Bug#8396).
3040 (apropos-library-button, apropos-format-plist, apropos-print)
3041 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3042
2df41f9c
MA
30432012-04-23 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * net/xesam.el (xesam-mode-map): Use let-bound map in
3046 initialization. (Bug#11292)
3047
da00640a
AM
30482012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3049
3050 Preserve ispell session localwords when switching back to
3051 original buffer.
3052
3053 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3054 variable to hold buffer session localwords.
3055 (ispell-kill-ispell): add option 'clear to delete session
3056 localwords.
3057 (ispell-command-loop, ispell-change-dictionary)
3058 (ispell-buffer-local-words): Preserve session localwords when
3059 needed.
3060
3061 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3062 Preserve session localwords when needed.
3063
f621ccf5
AM
30642012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3065
3066 * ispell.el (ispell-insert-word) Remove unneeded function using
3067 obsolete `translation-table-for-input'.
ef24141c
SM
3068 (ispell-word, ispell-process-line, ispell-complete-word):
3069 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3070
c2d1019e
CY
30712012-04-22 Chong Yidong <cyd@gnu.org>
3072
3073 * cus-edit.el (custom-variable-menu)
3074 (custom-variable-reset-saved, custom-face-menu)
3075 (custom-face-reset-saved): If there is no saved value, make the
3076 "reset-saved" operation bring back the default (Bug#9509).
3077 (custom-face-state): Properly detect themed faces.
3078
eeddc531
CY
3079 * faces.el (face-spec-set): Stop supporting deprecated form of
3080 third arg.
3081
dcbf5805
MA
30822012-04-22 Michael Albinus <michael.albinus@gmx.de>
3083
3084 Move functions from C to Lisp. Make non-blocking method calls
3085 the default. Implement further D-Bus standard interfaces.
3086
ef24141c
SM
3087 * net/dbus.el (dbus-message-internal): Declare function.
3088 Remove unneeded function declarations.
dcbf5805
MA
3089 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3090 (dbus-message-type-method-return, dbus-message-type-error)
3091 (dbus-message-type-signal): Declare variables. Remove local
3092 definitions.
3093 (dbus-interface-dbus, dbus-interface-peer)
3094 (dbus-interface-introspectable, dbus-interface-properties)
3095 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3096 Adapt docstring.
3097 (dbus-interface-objectmanager): New defconst.
3098 (dbus-call-method, dbus-call-method-asynchronously)
3099 (dbus-send-signal, dbus-method-return-internal)
3100 (dbus-method-error-internal, dbus-register-service)
3101 (dbus-register-signal, dbus-register-method): New defuns, moved
3102 from dbusbind.c
3103 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3104 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3105 New defuns.
dcbf5805
MA
3106 (dbus-call-method-non-blocking): Make it an obsolete function.
3107 (dbus-unregister-object, dbus-unregister-service)
3108 (dbus-handle-event, dbus-register-property)
3109 (dbus-property-handler): Obey the new structure of
3110 `bus-registered-objects'.
3111 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3112 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3113 Use `dbus-call-method'.
3114
cf20dee0
CY
31152012-04-22 Chong Yidong <cyd@gnu.org>
3116
3117 * cus-edit.el (custom-commands, custom-reset-menu)
3118 (Custom-reset-standard): Tweak labels.
3119 (custom-reset-button-menu): Change default to t.
3120 (custom-buffer-create-internal): For the custom-reset-button-menu
3121 case, put the revert button first.
3122 (custom-group-subtitle): New face.
3123 (custom-group-value-create): Align docstring to a specific column.
3124
3125 * wid-edit.el (widget-documentation-link-add): Don't handle
3126 indentation in this function.
3127 (widget-documentation-string-indent-to): New function.
3128 (widget-documentation-string-value-create): Use it.
3129
3130 * autorevert.el (auto-revert):
3131 * epg-config.el (epg):
3132 * ibuffer.el (ibuffer):
3133 * mpc.el (mpc):
3134 * ses.el (ses):
3135 * eshell/eshell.el (eshell):
3136 * net/ange-ftp.el (ange-ftp):
3137 * progmodes/ebnf2ps.el (postscript):
3138 * progmodes/flymake.el (flymake):
3139 * progmodes/prolog.el (prolog):
3140 * progmodes/verilog-mode.el (verilog-mode):
3141 * progmodes/which-func.el (which-func):
3142 * term/xterm.el (xterm):
3143 * textmodes/picture.el (picture):
3144 * textmodes/tildify.el (tildify):
3145 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3146 customization buffers.
3147
583e23bd
AM
31482012-04-22 Alan Mackenzie <acm@muc.de>
3149
3150 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3151 Adding a ) can hide the resulting (..) from searches. Fix it.
3152 Bound the backward search to the position of the existing (.
3153
7dd51bf1
JB
31542012-04-21 Juanma Barranquero <lekktu@gmail.com>
3155
3156 * progmodes/verilog-mode.el (verilog-mode): Check whether
3157 which-func-modes is t before adding verilog-mode.
3158 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3159
d64a438f
LL
31602012-04-21 Leo Liu <sdl.web@gmail.com>
3161
7dd51bf1 3162 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3163
081e8d65
MV
31642012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3165
3166 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3167 filling of the last column of a table (Bug#5635).
3168 (woman-find-next-control-line): New arg, specifying an additional
3169 regexp component for the control line.
3170 (woman2-roff-buffer): Use it.
3171 (woman-break-table): New function.
3172 (woman2-TS): Use it.
3173
31742012-04-21 Chong Yidong <cyd@gnu.org>
3175
3176 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3177 (woman-horizontal-escapes, woman-negative-vertical-space)
3178 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3179 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3180
ed571ccb
SM
31812012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * minibuffer.el (completion-file-name-table): Complete user names.
3184
39773899
LL
31852012-04-20 Leo Liu <sdl.web@gmail.com>
3186
3187 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3188 and pcase-let*.
3189
de6ff46d
CY
31902012-04-20 Chong Yidong <cyd@gnu.org>
3191
3192 * server.el (server-execute): Respect initial-buffer-choice if it
3193 is a string and there are no files to open (Bug#2825).
3194 (server-create-window-system-frame, server-create-tty-frame):
3195 Don't switch buffers here.
2d0e8e61
CY
3196 (server-process-filter): Only try to open a window system frame if
3197 compiled with graphical support (Bug#8314).
de6ff46d 3198
54071013
DN
31992012-04-20 Dan Nicolaescu <dann@gnu.org>
3200
3201 * battery.el (battery-echo-area-format): Display remaining time
3202 for sysfs backend too (Bug#11269).
3203 (battery-linux-sysfs): Fix conditional for the charge.
3204
f30d612a
CY
32052012-04-20 Chong Yidong <cyd@gnu.org>
3206
c07a4c0b 3207 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3208 (gdb-inferior-io--init-proc): New function.
3209 (gdb-init-1): Use it.
3210 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3211 responsible for allocating a new pty and hooking it to gdb when
3212 the old pty gets an EIO due to process exit.
3213 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3214 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3215 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3216
2116e93c
EZ
32172012-04-20 Eli Zaretskii <eliz@gnu.org>
3218
3219 * window.el (window-min-size, window-sizable, window-min-delta)
3220 (window-max-delta, window--resizable, window-resizable)
3221 (window-total-size, window-full-height-p, window-full-width-p)
3222 (window-in-direction, window--resize-mini-window, window-resize)
3223 (window--resize-child-windows-normal)
3224 (window--resize-child-windows, window--resize-siblings)
3225 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3226 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3227
c07a4c0b 32282012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3229
ef24141c
SM
3230 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3231 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3232 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3233 pty process (Bug#11273).
3234 (gdb-update): New arg to suppress talking to the gdb process.
3235 (gdb-done-or-error): Use it.
3236 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3237 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3238 sentinel not being called.
3239
3240 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3241
d02766ab
CY
3242 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3243
c07a4c0b 32442012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3245
3246 * net/network-stream.el (open-network-stream): Doc fix.
3247
c07a4c0b 32482012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3249
3250 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3251
c07a4c0b 32522012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3253
3254 Ensure searching for keywords is case sensitive.
3255
3256 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3257 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3258 (c-defun-name, c-mark-function, c-cpp-define-name)
3259 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3260 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3261
ef24141c
SM
3262 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3263 Bind case-fold-search to nil.
f0f6bc35 3264
c07a4c0b 32652012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3266
3267 * mail/sendmail.el (mail-bury): Call return action with the right
3268 Rmail buffer (Bug#11242).
3269
9a864fa2
CY
3270 * server.el (server-process-filter): Handle corner case where both
3271 tty and nowait options are present (Bug#11102).
3272
539aa513
EZ
32732012-04-20 Eli Zaretskii <eliz@gnu.org>
3274
3275 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3276 (top level): Put into the executable the ident-style '$Id:' tag on
3277 windows-nt as well.
539aa513 3278
cfc7d5da
SM
32792012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * electric.el (electric-indent-post-self-insert-function): Check that
3282 electric-indent-mode is enabled in current buffer.
3283
5b01685c
JB
32842012-04-19 Juanma Barranquero <lekktu@gmail.com>
3285
3286 * imenu.el (imenu-progress-message): Restore; it is "used" in
3287 erc/erc-imenu.el and net/snmp-mode.el.
3288
4d6769e1
JB
32892012-04-19 Juanma Barranquero <lekktu@gmail.com>
3290
3291 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3292 (mouse-avoidance-nudge-mouse): Remove unused binding.
3293
3294 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3295
3296 * descr-text.el (describe-char):
3297 * progmodes/python.el (python-describe-symbol):
3298 Don't call `toggle-read-only', set `buffer-read-only'.
3299
3300 * imenu.el (imenu-default-goto-function): Mark unused args.
3301 (imenu-progress-message): Remove obsolete macro; all callers changed.
3302
3303 * subr.el (keymap-canonicalize): Remove unused binding.
3304 (read-passwd): Mark unused arg.
3305
3306 * tutorial.el (tutorial--display-changes): Remove unused binding.
3307 (tutorial--save-tutorial-to): Remove unused variable.
3308
3309 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3310 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3311 (package-generate-autoloads, package-menu--generate)
3312 (package-menu--find-upgrades): Remove unused bindings.
3313
3314 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3315 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3316 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3317 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3318 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3319 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3320 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3321 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3322 (cua-delete-char-rectangle): Mark unused args.
3323 (cua-align-rectangle): Remove unused binding.
3324
3325 * mail/rmail.el (compilation--message->loc)
3326 (epa--find-coding-system-for-mime-charset): Declare.
3327
3328 * net/dbus.el (dbus-register-service): Declare.
3329 (dbus-name-owner-changed-handler): Remove unused binding.
3330
3331 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3332 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3333 (nxml-scan-backward-within): Mark unused arg.
3334 (nxml-dynamic-markup-word): Remove unused binding.
3335
3336 * mouse.el (mouse-menu-major-mode-map):
3337 * emacs-lisp/authors.el (authors-scan-change-log)
3338 (authors-add-to-author-list):
3339 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3340 * emacs-lisp/smie.el (smie-auto-fill):
3341 * mail/sendmail.el (mail-bury):
3342 * mail/unrmail.el (unrmail):
3343 * net/tls.el (open-tls-stream):
3344 * textmodes/picture.el (picture-mouse-set-point):
3345 Remove unused bindings.
3346
8c8fc5df
MA
33472012-04-19 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * net/tramp.el (tramp-action-password): Let-bind
3350 `enable-recursive-minibuffers' to t.
3351
a77b0ac9
SS
33522012-04-18 Sam Steingold <sds@gnu.org>
3353
3354 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3355 instead of 'string to accommodate values like [f11].
3356 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3357 * progmodes/gdb-mi.el: Likewise.
3358
12a106a9
LL
33592012-04-18 Leo Liu <sdl.web@gmail.com>
3360
3361 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3362 current buffer.
3363 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3364 LOCAL is nil.
3365
bc6494ef
CY
33662012-04-18 Chong Yidong <cyd@gnu.org>
3367
3368 * simple.el (line-move): Use forward-line if in batch mode
3369 (Bug#11053).
3370
c09c46b2
CS
33712012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3372
3373 * files.el (after-find-file): Do not try to add a final newline if
3374 the buffer is read-only (Bug#11156).
3375
5f6530ea
RS
33762012-04-17 Richard Stallman <rms@gnu.org>
3377
3378 * mail/rmail.el (rmail-start-mail):
3379 Pass (rmail-mail-return...) for the return-action.
3380 Pass (rmail-yank-current-message...) for the yank-action.
3381 (rmail-yank-current-message): New function.
3382 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3383 (rmail-reply): Likewise.
3384 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3385
3386 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3387 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3388 buffer, not newbuf.
3389
197b6f3c
JB
33902012-04-17 Juanma Barranquero <lekktu@gmail.com>
3391
3392 * server.el (server-ensure-safe-dir): Simplify.
3393
2311d8e5 33942012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3395
2311d8e5
GM
3396 * emacs-lisp/smie.el: Provide smarter auto-filling.
3397 (smie-auto-fill): New function.
3398 (smie-setup): Use it.
98fb480e 3399
2311d8e5
GM
3400 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3401
34022012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3403
3404 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3405 (comment-indent): Use it.
3406
2311d8e5 34072012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3408
3409 * ses.el: The overall change is to add cell renaming, that is
3410 setting fancy names for cell symbols other than name matching
3411 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3412 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3413 (ses-create-cell-variable): New defun.
2311d8e5 3414 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3415 (ses-relocate-formula): Relocate formulas only for cells the
3416 symbols of which are not renamed, i.e. symbols whose names do not
3417 match regexp "\\`[A-Z]+[0-9]+\\'".
3418 (ses-relocate-all): Relocate values only for cells the symbols of
3419 which are not renamed.
3420 (ses-load): Create cells variables as the (ses-cell ...) are read,
3421 in order to check row col consistency with cell symbol name only
3422 for cells that are not renamed.
3423 (ses-replace-name-in-formula): New defun.
3424 (ses-rename-cell): New defun.
4bdf2ad2 3425
fc72b15c
PO
34262012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3427
3428 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3429 New option (bug#11118).
3430 (perl-calculate-indent): Respect it.
3431
12e10e61
GM
34322012-04-17 Glenn Morris <rgm@gnu.org>
3433
3434 * dired-aux.el (dired-mark-read-string): Doc fix.
3435
30009afd
DA
34362012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3437
3438 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3439 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3440
41f03f4d
GM
34412012-04-17 Glenn Morris <rgm@gnu.org>
3442
3443 * mouse.el (mouse-drag-track):
3444 * speedbar.el (speedbar-frame-mode):
3445 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3446
f45f90f3
LL
34472012-04-16 Leo Liu <sdl.web@gmail.com>
3448
3449 * progmodes/python.el: Trivial cleanup.
3450
94ee8db5
GM
34512012-04-16 Glenn Morris <rgm@gnu.org>
3452
121b8917
GM
3453 * vc/vc.el (vc-string-prefix-p):
3454 * vc/pcvs-util.el (cvs-string-prefix-p):
3455 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3456 * mpc.el (mpc-string-prefix-p):
3457 Make all of these into obsolete aliases for string-prefix-p.
3458 Update callers.
3459 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3460
1197ecfa
GM
3461 * textmodes/two-column.el: Move custom options to the start.
3462 (frame-width): Remove compat definition.
3463 (2C-associate-buffer, 2C-dissociate):
3464 Use with-current-buffer rather than save-excursion.
3465 (2C-dissociate): Force a mode-line update.
3466 (2C-autoscroll): Use ignore-errors.
3467
099e7202
GM
3468 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3469 Autoload trivia.
3470
bf350d6a
GM
3471 * emacs-lisp/cl-extra.el (*random-state*):
3472 Remove unnecessary declaration.
3473
0e829eab
GM
3474 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3475
e3ad7552
GM
3476 * play/cookie1.el (cookie-snarf):
3477 Give an explicit error if input file cannot be read.
3478
68892d27
GM
3479 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3480
20f0c46d
GM
3481 * progmodes/perl-mode.el (c-macro-expand):
3482 Remove unnecessary autoload (it is in loaddefs.el).
3483
5a0978ce
GM
3484 * textmodes/picture.el (picture-desired-column)
3485 (picture-update-desired-column): Convert comments to doc-strings.
3486 (picture-substitute): Remove function.
3487 (picture-mode-map): Initialize in the defvar.
3488
6b955486
GM
3489 * woman.el: Remove eval-after-load for tar-mode.
3490 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3491 (woman-tar-extract-file): Autoload it.
3492
94ee8db5
GM
3493 * frame.el (automatic-hscrolling): Make this alias obsolete.
3494
177eca34
AM
34952012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3496
3497 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3498 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3499 (ispell-dictionary-base-alist): Revert to original XEmacs
3500 friendly version for default. [:alpha:] will be added in
3501 `ispell-set-spellchecker-params' if needed
177eca34 3502
c505aaeb
CY
35032012-04-16 Chong Yidong <cyd@gnu.org>
3504
3505 * image.el (imagemagick--extension-regexp): New variable.
3506 (imagemagick-register-types): Use it.
3507 (imagemagick-types-inhibit): Add :set function. Allow new value
3508 of t to inhibit all types.
3509
3510 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3511 so we can preload it.
3512
3513 * loadup.el (fboundp): Preload regexp-opt, needed by
3514 imagemagick-register-types.
3515
60efac0f
CY
35162012-04-15 Chong Yidong <cyd@gnu.org>
3517
3518 * frame.el (scrolling): Remove nearly unused customization group.
3519
3520 * scroll-all.el (scroll-all-mode): Move to windows group.
3521
5dd1713e
CY
35222012-04-15 Chong Yidong <cyd@gnu.org>
3523
3524 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3525
e6fd457e
CY
35262012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3529 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3530
e153c136
GM
35312012-04-15 Glenn Morris <rgm@gnu.org>
3532
3533 * simple.el (process-file-side-effects): Doc fix.
3534
e6fd457e 35352012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3536
3537 * international/mule-cmds.el (set-language-environment): Doc fix.
3538
3603c3b1
JB
35392012-04-14 Juanma Barranquero <lekktu@gmail.com>
3540
3541 * server.el (server-auth-key, server-generate-key): Doc fixes.
3542 (server-get-auth-key): Doc fix. Use `string-match-p'.
3543 (server-start): Reflow docstring.
3544
e6de100c
LI
35452012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3546
3547 * server.el (server-generate-key): `called-interactively-p'
3548 requires a parameter.
3549
29734c21
MN
35502012-04-14 Michal Nazarewicz <mina86@mina86.com>
3551
3552 * server.el (server-auth-key): New variable.
75f1671a 3553 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3554 (server-start): Use the new variable and functions to allow
3555 setting a permanent server key (bug#9423).
3556
d65c9521
LL
35572012-04-14 Leo Liu <sdl.web@gmail.com>
3558
3559 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3560
5ae255c7
PE
35612012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3562
3563 Spelling fixes.
3564 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3565 Emacs uses American spelling.
3566
d5e6342e
JB
35672012-04-14 Juanma Barranquero <lekktu@gmail.com>
3568
3569 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3570 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3571 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3572 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3573
ab036cd7
SM
35742012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * progmodes/which-func.el (which-func-modes): Change default.
3577
35dc09a1 35782012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3579
3580 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3581 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3582
35dc09a1 35832012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3584
3585 * custom.el (custom-theme-set-variables): Doc fix.
3586
35dc09a1 35872012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3588
3589 * international/mule.el (set-auto-coding-for-load): Doc fix.
3590
35dc09a1 35912012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3592
35dc09a1
GM
3593 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3594 imenu work again for Objective C Mode. Correct the *-index values,
3595 these having been disturbed by a previous change in 2011-08.
57f845ee 3596
0de3da9f
AM
3597 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3598 Correct two search limits.
3599
35dc09a1 36002012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3601
3602 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3603
35dc09a1 36042012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3605
3606 * international/characters.el: Fix sorting.
3607
35dc09a1 36082012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3609
3610 * international/characters.el: Add more missing Latin case pairs.
3611
35dc09a1 36122012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3613
3614 * files.el (dir-locals-set-class-variables): Doc fix.
3615
35dc09a1 36162012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3617
3f1b5bf8
EZ
3618 * international/characters.el: Add set-case-syntax-pair call for
3619 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3620 counterpart. (Bug#11209)
3621
9f847f41
EZ
3622 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3623
35dc09a1 36242012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3625
3626 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3627
35dc09a1 36282012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3629
35dc09a1
GM
3630 * textmodes/ispell.el (ispell-dictionary-base-alist):
3631 Add data for Hebrew.
e2627d21 3632
35dc09a1 36332012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3634
35dc09a1
GM
3635 * net/rcirc.el (rcirc-cmd-quit):
3636 Revert 2012-03-18 change (Bug#11192).
5c14e333 3637
35dc09a1 36382012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3639
3640 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3641
35dc09a1 36422012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3643
4517fe3a
SM
3644 * minibuffer.el (completion-in-region-mode-map):
3645 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3646
b472a594
VD
36472012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3648
3649 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3650
09b95ce3
MY
36512012-04-13 Masatake YAMATO <yamato@redhat.com>
3652
3653 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3654 to allow `C-M-f' and `C-M-b' to move to the nearest path
3655 separator (bug#9511).
3656
4b63a9ca
LI
36572012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3658
3659 * avoid.el: Require cl when compiling. And also move the
3660 `provide' to the end.
3661
7b55b8bf
TV
36622012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3663
3664 * avoid.el (mouse-avoidance-banish-position): New variable.
3665 (mouse-avoidance-banish-destination): Use it (bug#10165).
3666
adedaa1f
LL
36672012-04-13 Leo Liu <sdl.web@gmail.com>
3668
3669 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3670
70e74021
KB
36712012-04-13 Ken Brown <kbrown@cornell.edu>
3672
3673 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3674 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3675 (browse-url-filename-alist): For the same reason, don't modify
3676 file:// URLs on Cygwin.
3677
e75e89ba
SM
36782012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3681 the region on shift if the binding is already shifted (bug#11221).
3682
82f289a4
GM
36832012-04-12 Glenn Morris <rgm@gnu.org>
3684
3685 * mail/mailpost.el: Move to obsolete/.
3686
d333dc4c
DA
36872012-04-12 Drew Adams <drew.adams@oracle.com>
3688
3689 * imenu.el (imenu--generic-function): Ignore invisible definitions
3690 (bug#10123).
3691
0d15b5ba
VD
36922012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3693
3694 * hexl.el (hexl-bits): New variable.
3695 (hexl-options): Mention the variable in the doc string.
75f1671a 3696 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3697 (hexl-mode): Mention the new variable.
75f1671a
JB
3698 (hexl-mode, hexl-current-address, hexl-current-address):
3699 Use the displen.
0d15b5ba
VD
3700 (hexl-ascii-start-column): New function.
3701 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3702 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3703
64a440db
AM
37042012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3705
3706 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3707 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3708 the encoding, as expected by hunspell.
3709
6decb6c2
SM
37102012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * battery.el (battery--linux-sysfs-regexp): New const.
3713 (battery-status-function): Use it. Remove yeeloong special case.
3714 (battery-yeeloong-sysfs): Remove.
3715 (battery-echo-area-format): Remove yeeloong special case.
3716
088be6fb
SM
37172012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3718
6622e416
SM
3719 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3720 Reported by Noah Friedman.
3721
088be6fb
SM
3722 * subr.el (read-passwd): Use read-string.
3723
b49f886e
LMI
37242012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3725
3726 * vcursor.el (vcursor-move): Increase the priority of the overlay
3727 (bug#9663).
3728
a63067fc
DD
37292012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3730
3731 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3732 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3733
ac3cf14a
WS
37342012-04-11 William Stevenson <yhvh2000@gmail.com>
3735
3736 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3737 define-minor-mode (bug#10760).
3738
c4fc691b 37392012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3740
4d6769e1 3741 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3742 that directories matching `grep-find-ignored-files' won't be
3743 pruned (bug#10351).
3744
af23e2e5
CY
37452012-04-11 Chong Yidong <cyd@gnu.org>
3746
3747 * startup.el (command-line): Remove support for long-obsolete
3748 variable font-lock-face-attributes.
3749
ab7ce8c1
GM
37502012-04-11 Glenn Morris <rgm@gnu.org>
3751
3752 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3753
de8c03dc
SM
37542012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * window.el (window--state-get-1): Obey window-point-insertion-type.
3757
050cc68b
LB
37582012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3759
3760 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3761 to previous function when point is on the first character of a
75f1671a 3762 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3763
a38c310c
GM
37642012-04-11 Glenn Morris <rgm@gnu.org>
3765
effed0c2
GM
3766 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3767 not just file-errors.
3768
a38c310c
GM
3769 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3770 (vc-bzr-sha1): Use internal sha1.
3771
0221e323
SM
37722012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3775
43956923
SG
37762012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3777
3778 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3779 that start in the middle of the line (bug#10496).
3780
6a8c9eaf
DN
37812012-04-10 Dan Nicolaescu <dann@gnu.org>
3782
3783 * battery.el (battery-linux-proc-acpi): Only one battery is
3784 discharged at a time, but that seems to confuse battery.el when
3785 computing `rate-type' for the battery not being discharged
3786 (bug#10332).
3787
1930bf5d
SM
37882012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3789
2a718f6f
SM
3790 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3791
599430d0
SM
3792 * international/quail.el: Use dolist and simplify.
3793 (quail-define-package, quail-update-keyboard-layout)
3794 (quail-define-rules): Use dolist.
3795 (quail-insert-kbd-layout, quail-get-translation): CSE.
3796
a2754b6c
SM
3797 * tmm.el: Use dolist, remove left over hook.
3798 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3799 Use dolist.
3800 (calendar-load-hook): Don't mess with it.
3801
1930bf5d
SM
3802 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3803 Use derived-mode-p. Run the diff asynchronously.
3804
9f67961c
LMI
38052012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3806
3807 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3808
2a8ce227
JB
38092012-04-10 Juanma Barranquero <lekktu@gmail.com>
3810
3811 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3812 (list-dynamic-libraries--loaded): New function.
3813 (list-dynamic-libraries--refresh): Use it.
3814
8f33b5f8
NW
38152012-04-10 Nathan Weizenbaum <nweiz@google.com>
3816
1930bf5d
SM
3817 * progmodes/python.el (python-fill-paragraph):
3818 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3819 disabled (bug#7018).
3820
b12f0439
L
38212012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3822
1930bf5d 3823 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3824 DOS/MS Windows for the Baltic languages. There are still plenty
3825 of texts written in this encoding/codepage (bug#6519).
b12f0439 3826
57c3bd01
GM
38272012-04-10 Glenn Morris <rgm@gnu.org>
3828
3829 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3830 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3831
6c3eab30
FA
38322012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3833
1930bf5d 3834 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3835 next-line "n" and previous-line "p" in order to make recentf more
3836 consistent with ibuffer, dired or org-mode (bug#9387).
3837
24d78a88
LMI
38382012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3839
bc72b5d9
LMI
3840 * image.el (put-image): Return the overlay created instead of the
3841 optional input string (bug#7834). Note that this may break code
3842 that is (for some reason or other) depending on `put-image'
3843 returning the string.
3844
bd2dba5a
LMI
3845 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3846
74beb59f
LMI
3847 * simple.el (zap-to-char): Allow zapping using input methods
3848 (bug#1580).
3849
24d78a88
LMI
3850 * textmodes/fill.el (fill-region): Leave point and mark where they
3851 were before filling (bug#5399).
3852
263f20cd
GM
38532012-04-09 Glenn Morris <rgm@gnu.org>
3854
3855 * version.el (emacs-bzr-get-version):
3856 Handle lightweight checkouts of local branches.
3857
58d1f797
AS
38582012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3859
263f20cd 3860 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3861
b4d3bc10
CY
38622012-04-09 Chong Yidong <cyd@gnu.org>
3863
3864 * custom.el (custom-variable-p): Return nil for non-symbol
3865 arguments instead of signaling an error.
3866 (user-variable-p): Obsolete alias for custom-variable-p.
3867
3868 * apropos.el (apropos-variable):
3869 * files-x.el (read-file-local-variable):
3870 * simple.el (set-variable):
3871 * woman.el (woman-mini-help):
3872 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3873
fd06db5d
GM
38742012-04-09 Glenn Morris <rgm@gnu.org>
3875
e5fcdb5e
GM
3876 * startup.el (normal-top-level): Don't look for leim-list.el
3877 in places where it will not be found. (Bug#910)
3878
fd06db5d
GM
3879 * international/mule-cmds.el (set-default-coding-systems):
3880 * files.el (normal-mode):
3881 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3882 This function was removed with ucs-tables.el in 2008.
3883
b39bb7e1
EZ
38842012-04-08 Eli Zaretskii <eliz@gnu.org>
3885
3886 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3887 ispell-encoding8-command to "-i", without a trailing space.
3888 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3889 separate command-line arguments, to specify the encoding, since
3890 that's how hunspell expects it.
3891
5c5b8e23
GM
38922012-04-08 Glenn Morris <rgm@gnu.org>
3893
3894 * loadup.el: Load bindings before cus-start.
3895 This reduces somewhat the number of "rogue" settings in emacs -Q.
3896
a1ed8b05
GM
38972012-04-07 Glenn Morris <rgm@gnu.org>
3898
3899 * version.el (emacs-bzr-get-version): New function.
dfae128a 3900 (emacs-bzr-version): New variable.
a1ed8b05
GM
3901 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3902 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3903
b142f158
EZ
39042012-04-07 Eli Zaretskii <eliz@gnu.org>
3905
dfae128a
GM
3906 * international/uni-bidi.el, international/uni-category.el:
3907 * international/uni-combining.el, international/uni-decimal.el:
3908 * international/uni-decomposition.el, international/uni-digit.el:
3909 * international/uni-lowercase.el, international/uni-mirrored.el:
3910 * international/uni-name.el, international/uni-numeric.el:
3911 * international/uni-titlecase.el, international/uni-uppercase.el:
3912 Update for Unicode 6.1.
b142f158 3913
9078ead6
EZ
39142012-04-07 Eli Zaretskii <eliz@gnu.org>
3915
3916 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3917
f23d2c7d
LMI
39182012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3919
3920 * window.el (shrink-window): Mention the `window-min-height'
3921 variable in the doc string.
3922
0a0a3573
BG
39232012-04-05 Bastien Guerry <bzg@altern.org>
3924
3925 * color.el (color-lighten-name): Fix typo.
3926
e5248ac9
SM
39272012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3929 * server.el (server--on-display-p): New function.
3930 (server--on-display-p): Use it.
3931
b4243e22
GV
39322012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3933
3934 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3935 (bug#11145).
3936
305d9f44
SM
39372012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * comint.el (comint--common-quoted-suffix): Check string boundary
3940 before comparing (bug#11158).
3941 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3942
3d439cd1
CY
39432012-04-04 Chong Yidong <cyd@gnu.org>
3944
321cc491
CY
3945 * minibuffer.el (completion-extra-properties): Doc fix.
3946
3d439cd1
CY
3947 * subr.el (delayed-warnings-hook): Doc fix.
3948
2d562c0f
DU
39492012-04-04 Daiki Ueno <ueno@unixuser.org>
3950
3951 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3952 selection (Bug#11159).
3953 (epa-insert-keys): Inform that the default public key will be
3954 exported if no key is selected.
3955
4443f204
RS
39562012-04-04 Richard Stallman <rms@gnu.org>
3957
3958 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3959
529c06b6
CY
39602012-04-03 Chong Yidong <cyd@gnu.org>
3961
3962 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3963 mail-insert-file, not its obsolete alias mail-attach-file.
3964
66b907dc
MA
39652012-04-03 Michael Albinus <michael.albinus@gmx.de>
3966
3967 * notifications.el (notifications-notify): Fix docstring.
3968
c0ea195d
GM
39692012-04-02 Glenn Morris <rgm@gnu.org>
3970
3971 * emacs-lisp/authors.el (authors-aliases): Another addition.
3972
5ca64e00
MA
39732012-04-02 Michael Albinus <michael.albinus@gmx.de>
3974
3975 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3976 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3977 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3978
42ee526b
CY
39792012-04-01 Chong Yidong <cyd@gnu.org>
3980
3981 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3982 Handle root directory properly.
3983 (copy-directory): Caller changed.
3984
3985 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3986 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3987
0b021094
GM
39882012-03-31 Glenn Morris <rgm@gnu.org>
3989
40f86458
GM
3990 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3991
7019c177
GM
3992 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3993
a1daddd6
GM
3994 * calendar/calendar.el (calendar-window-list)
3995 (calendar-hide-window): Restore. (Bug#11140)
3996 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3997
0b021094
GM
3998 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3999
40311efc
TV
40002012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4001
4002 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4003 Check if file is a symlink (Bug#10489).
4004
4005 * files.el (copy-directory): Likewise.
4006
5319014e
CY
40072012-03-30 Chong Yidong <cyd@gnu.org>
4008
4009 * image.el (imagemagick-types-inhibit)
4010 (imagemagick-register-types): Doc fix.
4011
935d1290
AM
40122012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4013
ef24141c
SM
4014 * ispell.el (ispell-get-extended-character-mode):
4015 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4016 and treats ~word as ordinary words in pipe mode.
935d1290 4017
61c6e8fd
GM
40182012-03-30 Glenn Morris <rgm@gnu.org>
4019
4020 * tutorial.el (help-with-tutorial): Ensure local variables don't
4021 happen to make the buffer read-only. (Bug#11127)
4022
81fdff00
SM
40232012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4024
4025 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4026 (perl-calculate-indent): Return `noindent' in strings.
4027
6e7a6ec0
SS
40282012-03-28 Sam Steingold <sds@gnu.org>
4029
4030 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4031 instead of the broken adhockery which does not prevent calendar
4032 buffers from being displayed at random after exit.
4033 (calendar-window-list, calendar-hide-window): Remove the broken
4034 adhockery.
4035
fee88ca0
GM
40362012-03-28 Glenn Morris <rgm@gnu.org>
4037
4038 * replace.el (query-replace-map): Doc fix.
4039
38de3354
AS
40402012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4041
4042 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4043 contents. (Bug#11109)
4044
b973155e
SM
40452012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4048 (bug#11077).
4049 (avl-tree--check, avl-tree--check-node): New funs.
4050
dcb6e7b3
MR
40512012-03-27 Martin Rudalics <rudalics@gmx.at>
4052
4053 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4054 (switch-to-prev-buffer, switch-to-next-buffer):
4055 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4056 showing a buffer already is done on the same frame.
4057
b4fa35fa
GM
40582012-03-27 Glenn Morris <rgm@gnu.org>
4059
4060 * startup.el (mail-host-address): Doc fix.
4061
f9210e18
SM
40622012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4065 than 197 variables.
4066
c0bf7753
AF
40672012-03-26 Ami Fischman <ami@fischman.org>
4068
4069 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4070
33da7b16
GM
40712012-03-26 Glenn Morris <rgm@gnu.org>
4072
02243d9d
GM
4073 * files.el (save-buffers-kill-emacs): Doc fix.
4074
33da7b16
GM
4075 * startup.el (normal-top-level, command-line, command-line-1):
4076 Give them doc strings.
4077
e5a69fd0
EZ
40782012-03-25 Eli Zaretskii <eliz@gnu.org>
4079
4080 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4081 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4082
9a69676a
CY
40832012-03-25 Chong Yidong <cyd@gnu.org>
4084
4125cb8b
CY
4085 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4086 theme if it was previously enabled before (Bug#11031).
4087
dd470960
CY
4088 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4089 spec with custom-face-get-current-spec if its :shown-value is not
4090 determined yet (Bug#9337).
4125cb8b 4091 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4092
9a69676a
CY
4093 * button.el (button-at): Minor addition to docstring.
4094
6e7e90fa
SL
40952012-03-24 Simon Leinen <simon.leinen@gmail.com>
4096
4097 * vc/vc.el (vc-merge): Fix a prompt.
4098
f06e2758
CY
40992012-03-24 Chong Yidong <cyd@gnu.org>
4100
4101 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4102 point (Bug#9623).
4103
6e7e90fa
SL
4104 * button.el (button-at): Minor addition to docstring.
4105
b9d0879b
SM
41062012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * newcomment.el (comment-choose-indent): No space after BOL.
4109
e71cebb3
SS
41102012-03-22 Sam Steingold <sds@gnu.org>
4111
4112 * window.el (switch-to-prev-buffer): Revert last patch because the
4113 bug turned out to be an advertised feature (Elisp manual 28.14).
4114
335aff35
GM
41152012-03-22 Glenn Morris <rgm@gnu.org>
4116
4117 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4118 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4119
c676576a
LMI
41202012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4121
4122 * net/network-stream.el (network-stream-open-starttls): Make error
4123 message under Windows be less misleading.
4124
126f3d39
LW
41252012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4126
4127 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4128 understands (bug#9942).
4129
64fee311
CY
41302012-03-22 Chong Yidong <cyd@gnu.org>
4131
4132 * simple.el (end-of-visible-line): Handle return value of
4133 next-single-property-change properly (Bug#9371).
4134
a640d29a
KH
41352012-03-22 Kenichi Handa <handa@m17n.org>
4136
4137 * international/quail.el (quail-insert-kbd-layout): Fix previous
4138 change. To avoid unwanted bidi reordering, use
4139 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4140
39675016
DG
41412012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4142
4143 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4144 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4145 (ruby-beginning-of-indent): Be more careful with the difference
4146 between word-boundary and symbol boundary.
4147 (ruby-mode-syntax-table): Make : a symbol constituent.
4148
0a6934fc 41492012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4150
3d008e4f
SM
4151 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4152
0a6934fc
SM
41532012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4154
af67c9d7
SM
4155 * progmodes/etags.el (tags-completion-at-point-function):
4156 Improve last fix.
4157
1acad97c
SM
4158 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4159
e298b5da
SS
41602012-03-21 Sam Steingold <sds@gnu.org>
4161
4162 * progmodes/etags.el (tags-completion-at-point-function):
4163 Avoid the error when point is inside the pattern.
4164
91d82a70
JY
41652012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4166
4167 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4168 line (Bug#10855).
4169
69188b79
CY
41702012-03-21 Drew Adams <drew.adams@oracle.com>
4171
4172 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4173
99fc91fe
AK
41742012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4175
4176 * ido.el (ido-set-current-directory, ido-read-internal)
4177 (ido-choose-completion-string, ido-completion-help): Handle nil
4178 value of ido-completion-buffer (Bug#11008).
4179
087bbb4c
SS
41802012-03-21 Sam Steingold <sds@gnu.org>
4181
4182 * window.el (switch-to-prev-buffer): Do not switch to a visible
4183 window previous buffer, just like with the frame previous buffers.
4184
fb5b8aca
CY
41852012-03-21 Chong Yidong <cyd@gnu.org>
4186
4187 * faces.el (make-face, make-empty-face, copy-face):
4188 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4189 Doc fixes.
4190
dc9924b8
SM
41912012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4194 (widget-complete): Remove broken use of it.
4195
f0bcceb9
CY
41962012-03-20 Chong Yidong <cyd@gnu.org>
4197
dc9924b8
SM
4198 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4199 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4200 characters.
4201
ee52ebf3
TH
42022012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4203
4204 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4205 to draw rectangles, not squares. (Regression introduced by revno
4206 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4207
4c5779ab
CY
42082012-03-18 Chong Yidong <cyd@gnu.org>
4209
4210 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4211 it is not yet defined (for temacs).
4212
15360934
LL
42132012-03-18 Leo Liu <sdl.web@gmail.com>
4214
dc9924b8 4215 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4216
d9a8eb66
EZ
42172012-03-17 Eli Zaretskii <eliz@gnu.org>
4218
4219 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4220 (ispell-choices-win-default-height, ispell-silently-savep)
4221 (ispell-dictionary-alist, ispell-encoding8-command)
4222 (ispell-check-version, ispell-aspell-find-dictionary)
4223 (ispell-valid-dictionary-list, ispell-words-keyword)
4224 (ispell-get-word, ispell-internal-change-dictionary)
4225 (ispell-region, ispell-skip-region-list)
4226 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4227 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4228 (ispell-message-text-end, ispell-message)
4229 (ispell-buffer-local-parsing): Doc fix.
4230
f02ff80d
J
42312012-03-13 Jambunathan K <kjambunathan@gmail.com>
4232
4233 * htmlfontify.el: Add support for code block fontification for ODT
4234 export (Bug #9914).
4235 (hfy-optimisations): Define new option
4236 `body-text-only'
4237 (hfy-fontify-buffer): Honor above setting.
4238 (hfy-begin-span, hfy-end-span): New routines factored out form
4239 `hfy-fontify-buffer'.
4240 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4241 that permit insertion of custom tags.
4242 (hfy-fontify-buffer): Use above handlers.
4243 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4244 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4245 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4246 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4247 bind a special variable `hfy-user-sheet-assoc'.
4248 (htmlfontify-string): New defun.
4249 (hfy-compile-face-map): Make sure that the last char in the
4250 buffer is correctly fontified.
4251 (hfy-face-resolve-face): Whitespace only change.
4252
9ac7a13f
EZ
42532012-03-17 Eli Zaretskii <eliz@gnu.org>
4254
4255 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4256 message more clear.
4257
e2b5bdd7
LL
42582012-03-16 Leo Liu <sdl.web@gmail.com>
4259
4260 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4261
2e492df3
AM
42622012-03-16 Alan Mackenzie <acm@muc.de>
4263
4264 Further optimise the handling of large macros.
4265
4266 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4267 limit to a call of `c-literal-limits'.
4268 (c-determine-+ve-limit): New function.
dc9924b8
SM
4269 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4270 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4271 In CASE 5B, restrict a search limit to 500.
4272 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4273
4274 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4275 Restrict macro bounds to +-500 from after-change's BEG END.
4276
50e94f0c
LL
42772012-03-16 Leo Liu <sdl.web@gmail.com>
4278
4279 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4280
6f09f6ed
AH
42812012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4282
4283 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4284 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4285
c7e73d51
GM
42862012-03-16 Glenn Morris <rgm@gnu.org>
4287
da986230
GM
4288 * view.el (view-buffer, view-buffer-other-window)
4289 (view-buffer-other-frame): Doc fixes re special mode-class.
4290
0835f01e
GM
4291 * subr.el (eval-after-load): If named feature is provided not from
4292 a file, run after-load forms. (Bug#10946)
4293
c7e73d51
GM
4294 * calendar/calendar.el (calendar-insert-at-column):
4295 Handle non-unit-width characters a bit better. (Bug#10978)
4296
3f2eafd1
CY
42972012-03-15 Chong Yidong <cyd@gnu.org>
4298
4299 * emacs-lisp/ring.el (ring-extend): New function.
4300 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4301
4302 * comint.el (comint-read-input-ring)
4303 (comint-add-to-input-history): Grow comint-input-ring lazily.
4304
103af3fe
SM
43052012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4306
663b1677
SM
4307 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4308 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4309
103af3fe
SM
4310 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4311 (imenu-add-to-menubar): Don't add a redundant index.
4312 (imenu-update-menubar): Handle a dynamically composed keymap.
4313
899cb7cb
KY
43142012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4315
4316 * mail/sendmail.el (mail-encode-header):
4317 Bind rfc2047-encode-encoded-words to nil.
4318
3809f91d
GM
43192012-03-13 Glenn Morris <rgm@gnu.org>
4320
4321 * calendar/calendar.el (calendar-string-spread):
4322 Handle non-unit-width characters a bit better. (Bug#10978)
4323
9e345a01
LL
43242012-03-13 Leo Liu <sdl.web@gmail.com>
4325
4326 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4327 directory and file as argument (Bug#10822).
4328
4a07df36
KS
43292012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4330
4331 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4332 For dynamically generated code, follow $PC.
4333 (gdb-disassembly-handler-custom): Handle no function name case.
4334
4aaa9356
TL
43352012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4336
4337 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4338 * emulation/ws-mode.el (ws-query-replace):
4339 * sort.el (sort-regexp-fields):
4340 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4341
225979da
SM
43422012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * dabbrev.el: Fix cycle completion order (bug#10963).
4345 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4346 (dabbrev-completion): Don't use an obarray; provide
4347 a cycle-sort-function.
4348
e2f1fdab
LL
43492012-03-12 Leo Liu <sdl.web@gmail.com>
4350
dc9924b8 4351 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4352 (kill-do-not-save-duplicates): Doc fix.
4353
b19490ed
SM
43542012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * dabbrev.el: Fix cycle completion (bug#10963).
4357 Use lexical binding and wrap to 80 columns.
4358 (dabbrev-completion): Delay computing the list of completions.
4359
4b05d722
KH
43602012-03-12 Kenichi Handa <handa@m17n.org>
4361
4362 * international/quail.el (quail-insert-kbd-layout): Surround each
4363 row by LRO and PDF instead of inserting many LRMs. Pad the left
4364 and right of each non-spacing marks. Insert invisible space
4365 between lower and upper characters to prevent composition.
4366
dbbc2e69
SM
43672012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * minibuffer.el (minibuffer-complete): Don't get confused when the
4370 function is run twice via different commands (bug#10958).
4371 (complete-with-action): Fix docstring.
4372
292112ed
CY
43732012-03-12 Chong Yidong <cyd@gnu.org>
4374
5d1ac394
CY
4375 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4376 (nxml-completion-at-point-function): New function.
4377 (nxml-mode): Use it.
4378 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4379
292112ed
CY
4380 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4381 Load generated autoloads file before byte compiling (Bug#10970).
4382 (package--make-autoloads-and-compile): New helper fun.
4383
4098f8f7
CS
43842012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4385
4386 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4387
8f754691
MA
43882012-03-11 Michael Albinus <michael.albinus@gmx.de>
4389
4390 * autorevert.el (auto-revert-handler): Ensure, that
4391 file-readable-p is applied only for local files or in
4392 auto-revert-tail-mode.
4393
e29ab36b
AS
43942012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4395
dbbc2e69
SM
4396 * server.el (server-eval-at): Handle non-tcp connections.
4397 Decode result string.
ad0bf5b6 4398
e29ab36b
AS
4399 * server.el (server-msg-size): New constant.
4400 (server-reply-print): New function.
4401 (server-eval-and-print): Use it.
4402 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4403 Handle -print-nonl.
4404
de5939ba
CS
44052012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4406
4407 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4408 (Bug#10987).
4409
0c93eabf
CY
44102012-03-11 Chong Yidong <cyd@gnu.org>
4411
397a688f
CY
4412 * simple.el (goto-line): Doc fix (Bug#9938).
4413
2cc775f9
CY
4414 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4415
0c93eabf
CY
4416 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4417 when finished (Bug#10963).
4418
c491fa41
MR
44192012-03-11 Martin Rudalics <rudalics@gmx.at>
4420
4421 * window.el (split-window-below): Fix bug in case where
4422 split-window-keep-point is nil (Bug#10971).
4423
300e8fa5
JL
44242012-03-11 Juri Linkov <juri@jurta.org>
4425
4426 * replace.el (replace-highlight): Set isearch-word to nil
4427 unconditionally. (Bug#10887)
4428
dbf6c5a1
EZ
44292012-03-10 Eli Zaretskii <eliz@gnu.org>
4430
4431 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4432 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4433 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4434 (mairix-widget-create-query): Add usage information about mairix
4435 search forms: negating words, searching for substrings, etc.
4436
b9e501de
JP
44372012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4438
4439 * international/fontset.el (font-encoding-alist): Add an entry for
4440 ksx1001 (Bug#5667).
4441
92795c91
RS
44422012-03-10 Richard Stallman <rms@gnu.org>
4443
1694e6c1
RS
4444 * mail/sendmail.el (mail-encode-header):
4445 Set rfc2047-encode-encoded-words.
4446
607e8555
RS
4447 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4448
de3bc99a
RS
4449 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4450 view buffer means not swapped.
4451 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4452 (rmail-write-region-annotate): Error if real text has disappeared.
4453
92795c91
RS
4454 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4455
699bd04e
CY
44562012-03-10 Chong Yidong <cyd@gnu.org>
4457
4458 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4459 * emulation/cua-base.el (cua--init-keymaps):
4460 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4461
570a1714
MR
44622012-03-10 Martin Rudalics <rudalics@gmx.at>
4463
dbbc2e69
SM
4464 * speedbar.el (speedbar-unhighlight-one-tag-line):
4465 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4466
82dcf4e4
CY
44672012-03-10 Chong Yidong <cyd@gnu.org>
4468
7a2c7ca7
CY
4469 * minibuffer.el (completion-in-region, completion-help-at-point):
4470 Give the completion field overlay a high priority (Bug#6830).
4471
82dcf4e4
CY
4472 * dired.el (dired-goto-file): Recognize absolute file name
4473 listings (Bug#7126).
4474 (dired-goto-file-1): New helper function.
4475 (dired-toggle-read-only): Inhibit warnings.
4476
052e28ac
MA
44772012-03-09 Michael Albinus <michael.albinus@gmx.de>
4478
75f1671a 4479 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4480 there are no properties.
4481
95d5e396
LL
44822012-03-09 Leo Liu <sdl.web@gmail.com>
4483
4484 * savehist.el (savehist-printable): Stricter check for string
4485 value (Bug#10937).
4486
3f018d6d
EZ
44872012-03-09 Eli Zaretskii <eliz@gnu.org>
4488
dbbc2e69
SM
4489 * mail/smtpmail.el (smtpmail-send-it):
4490 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4491 valid mbox format.
4492
f7fd3d79
GM
44932012-03-09 Glenn Morris <rgm@gnu.org>
4494
4495 * files.el (dir-locals-find-file):
4496 Don't check result is regular, readable.
4497 (dir-locals-read-from-file): Demote errors.
4498
6ff6e72f
EZ
44992012-03-08 Eli Zaretskii <eliz@gnu.org>
4500
dbbc2e69
SM
4501 * international/quail.el (quail-insert-kbd-layout):
4502 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4503 layout cell, to prevent their reordering by bidi display engine.
4504 For details, see the discussion in
4505 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4506
9cec7834
AM
45072012-03-08 Alan Mackenzie <acm@muc.de>
4508
4509 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4510 the starting position; make it extend the marked region when
4511 invoked repeatedly - all under appropriate circumstances.
4512 Fixes bugs #5525, #10906.
4513
9a40b8d4
GM
45142012-03-08 Glenn Morris <rgm@gnu.org>
4515
4516 * files.el (locate-dominating-file, dir-locals-find-file):
4517 Undo 2012-03-06 change.
4518
7a08ed35
EZ
45192012-03-07 Eli Zaretskii <eliz@gnu.org>
4520
dbbc2e69
SM
4521 * international/quail.el (quail-help):
4522 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4523 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4524 for the reason.
4525
5aca4f71 45262012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4527
4528 Avoid superfluous registering of signals. (Bug#10807)
4529
4530 * notifications.el (notifications-on-action-object)
4531 (notifications-on-close-object): New defvars.
4532 (notifications-on-action-signal, notifications-on-closed-signal):
4533 Unregister the signal if not needed any longer.
4534 (notifications-notify): Register `notifications-action-signal' or
4535 `notifications-closed-signal', if :on-action or :on-close has been
4536 passed as argument.
4537
78e8b10a
CY
45382012-03-07 Chong Yidong <cyd@gnu.org>
4539
4540 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4541 non-X platforms.
4542
69481eb8
GM
45432012-03-06 Glenn Morris <rgm@gnu.org>
4544
4545 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4546 (x-disown-selection-internal, x-get-selection-internal):
4547 Doc fix (add arglist signatures). (Bug#10783)
4548
133b8e11
KS
45492012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4550
4551 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4552 Handle breakpoints with no "type".
4553
99a83064
GM
45542012-03-06 Glenn Morris <rgm@gnu.org>
4555
4556 * files.el (locate-dominating-file): Add optional predicate argument.
4557 (dir-locals-find-file): Make use of above change.
4558
17798e78
TTN
45592012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4560
4561 * info.el (Info-insert-dir): Also try "dir.gz".
4562
eb182446
GM
45632012-03-06 Glenn Morris <rgm@gnu.org>
4564
8f2114ee
GM
4565 * files.el (dir-locals-find-file):
4566 Ignore non-readable or non-regular files. (Bug#10928)
4567
eb182446
GM
4568 * files.el (locate-dominating-file): Doc fix.
4569
24679323
AS
45702012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4571
4572 * calendar/calendar.el (calendar-set-mode-line):
4573 `getenv' returns a string. (Bug#10951)
4574
01d972a9
LL
45752012-03-05 Leo Liu <sdl.web@gmail.com>
4576
109aa8a9
LL
4577 * simple.el (backward-delete-char-untabify): Constrain point to
4578 field (Bug#10939).
4579
01d972a9
LL
4580 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4581
10607bea
CY
45822012-03-05 Chong Yidong <cyd@gnu.org>
4583
4584 * simple.el (count-words): If called from Lisp, return the word
4585 count, for symmetry with `count-lines'. Arglist changed.
4586 (count-words--message): Args changed. Consolidate counting code
4587 from count-words and count-words-region.
4588 (count-words-region): Caller changed.
4589 (count-lines-region): Make it an obsolete alias.
4590
5dd11cfe
TH
45912012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4592
4593 * saveplace.el (save-place-to-alist)
4594 (save-place-ignore-files-regexp): Allow value nil to disable this
4595 feature.
4596
c349f4e6
CY
45972012-03-04 Chong Yidong <cyd@gnu.org>
4598
4599 * faces.el (face-spec-reset-face): For the default face, reset the
4600 attributes to default values (Bug#10748).
4601
e627be4c
LMI
46022012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4603
4604 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4605 previous patch: Check `message-send-mail-function', and not the
4606 default function (bug#10897).
4607
ebeabff4
MA
46082012-03-04 Michael Albinus <michael.albinus@gmx.de>
4609
a41a6cf4
MA
4610 * notifications.el (notifications-on-action-signal)
4611 (notifications-on-closed-signal): Check for unique service name of
4612 incoming event. Fix error in removing entry.
ebeabff4 4613 (top): Register for signals with wildcard service name.
a41a6cf4 4614 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4615
c1ca42b4
CY
46162012-03-04 Chong Yidong <cyd@gnu.org>
4617
dc9924b8 4618 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4619
ea16568d
GM
46202012-03-04 Glenn Morris <rgm@gnu.org>
4621
4622 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4623 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4624 (expand-abbrev, define-abbrev-table): Doc fixes.
4625
fbae4637
LMI
46262012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4627
4628 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4629 `message-default-send-mail-function' and not `send-mail-function'
4630 when doing the prompting for `sendmail-query-once' before sending
4631 in Message buffers (bug#10897).
4632
a1e7225c
LMI
4633 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4634 This is inconsistent with all the other stream functions, which leave
4635 the setting up to the higher levels (if so wanted) (bug#10931).
4636
56d093a9
AM
46372012-03-02 Alan Mackenzie <acm@muc.de>
4638
4639 Depessimize the handling of very large macros.
4640
4641 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4642 (c-macro-cache-syntactic): New variables to implement a one
4643 element macro cache.
4644 (c-invalidate-macro-cache): New function.
4645 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4646 Adapt to use the new cache.
4647 (c-state-safe-place): Use better the cache of safe positions.
4648 (c-state-semi-nonlit-pos-cache)
4649 (c-state-semi-nonlit-pos-cache-limit):
4650 New variables for...
4651 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4652 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4653 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4654 Use c-state-semi-safe-place.
56d093a9 4655
dbbc2e69
SM
4656 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4657 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4658
817e5c3d
MA
46592012-03-02 Michael Albinus <michael.albinus@gmx.de>
4660
dbbc2e69
SM
4661 * jka-compr.el (jka-compr-call-process):
4662 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4663 not remote.
4664
a032a702
MA
46652012-03-01 Michael Albinus <michael.albinus@gmx.de>
4666
4667 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4668 access of FILE2, if FILE1 does not exist.
4669
99a54f21
MA
4670 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4671 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4672
4673 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4674 Add "PAGER=" to `process-environment'.
4675
f6561e1f
MM
46762012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4677
4678 * progmodes/sql.el: Bug fix
4679 (sql-get-login-ext): Save login values in globals.
4680 (sql-get-login): Use new version of `sql-get-login-ext'.
4681 (sql-interactive-mode): Set global `sql-connection' to nil.
4682 (sql-connect): Set global values for connection.
4683 (sql-product-interactive): Save global values as buffer local.
4684
2d44d9cc
LL
46852012-02-29 Leo Liu <sdl.web@gmail.com>
4686
4687 * abbrev.el (define-abbrevs): Reset sys to nil.
4688
96b49301 46892012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4690
bf7f9bc5
JB
4691 * files.el (file-equal-p): Rename from `files-equal-p'.
4692 Return nil when one or both files don't exist.
96b49301 4693 (file-subdir-of-p): Now only top directory must exists,
4694 return nil if it doesn't.
bf7f9bc5
JB
4695 (copy-directory): No need to test with `file-subdir-of-p' after
4696 creating dir.
4697 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4698 to `file-equal-p'.
96b49301 4699
44e97401
GM
47002012-02-28 Glenn Morris <rgm@gnu.org>
4701
4702 * shell.el (shell-mode):
4703 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4704 * play/landmark.el (landmark-font-lock-face-O):
4705 * play/handwrite.el (handwrite):
4706 * play/gomoku.el (gomoku-O):
4707 * net/browse-url.el (browse-url-browser-display):
4708 * international/mule.el (define-charset):
4709 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4710 * filesets.el (filesets-find-file-delay):
4711 * eshell/em-xtra.el (eshell-xtra):
4712 * eshell/em-unix.el (eshell-grep):
4713 * emulation/viper.el (viper-mode):
4714 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4715 * emacs-lisp/easymenu.el (easy-menu-define):
4716 * calendar/timeclock.el (timeclock-use-display-time):
4717 * bs.el (bs-mode):
4718 * bookmark.el (bookmark-save-flag):
4719 Doc fix (standardize possessive apostrophe usage).
4720
c98c6276
CY
47212012-02-27 Chong Yidong <cyd@gnu.org>
4722
bf7f9bc5
JB
4723 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4724 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4725
c98c6276
CY
4726 * font-lock.el (font-lock-specified-p): Rename from
4727 font-lock-spec-present. Callers changed.
4728
9c62cd04 47292012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4730
bf7f9bc5
JB
4731 * emacs-lisp/package.el (package-compute-transaction):
4732 Handle holding a package version to t in package-load-list.
8ac9e529 4733
530739c9
MA
47342012-02-26 Michael Albinus <michael.albinus@gmx.de>
4735
4736 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4737 (tramp-get-inode, tramp-get-device): Use cached values.
4738
487915d7
AM
47392012-02-26 Alan Mackenzie <acm@muc.de>
4740
4741 Check there is a font-lock specification before doing initial
4742 fontification.
4743
4744 * font-core.el (font-lock-mode): Move the conditional from
4745 :after-hook to font-lock-initial-fontify.
4746 (font-lock-default-function): Move the check for a specification
4747 to font-lock-spec-present.
4748
dc9924b8 4749 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4750 (font-lock-spec-present): New function.
4751
4fd96557
JB
47522012-02-26 Jim Blandy <jimb@red-bean.com>
4753
4754 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4755 (gdb-send): Apply it to the operand of the '-interpreter-exec
4756 console' command, so that we can pass arguments with (say) quotes
4757 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4758
9a4888c0
CY
47592012-02-26 Chong Yidong <cyd@gnu.org>
4760
07498861
CY
4761 * help-fns.el (describe-function-1): Clarify description of
4762 remapping (Bug#10844).
4763
9a4888c0
CY
4764 * files.el (files-equal-p): Doc fix.
4765 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4766 and quit the loop once a mismatch is found.
4767
ea8fb88d
JB
47682012-02-25 Juanma Barranquero <lekktu@gmail.com>
4769
4770 * bs.el (bs--show-with-configuration): Don't throw an error
4771 if the window cannot be split; otherwise, subsequent calls to
4772 bs-show fail, restoring a stale window config. (Bug#10882)
4773
525795c1
JD
47742012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4775
4776 * term/ns-win.el (global-map): Bind ns-drag-file to
4777 ns-find-file (Bug#5855, Bug#10050).
4778
f008086f
AS
47792012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4780
4781 * calendar/parse-time.el (parse-time-string): Allow extractor to
4782 return nil.
4783
a3fcfa99
MA
47842012-02-25 Michael Albinus <michael.albinus@gmx.de>
4785
91027d08
JB
4786 * net/tramp.el (tramp-file-name-for-operation):
4787 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4788
4789 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4790 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4791 Add COPY-CONTENTS argument.
a3fcfa99 4792
67b0de11
CY
47932012-02-25 Chong Yidong <cyd@gnu.org>
4794
4795 Add custom groups for VC backends, for consistency with vc-bzr.
4796
4797 * vc/vc-arch.el (vc-arch):
4798 * vc/vc-cvs.el (vc-cvs):
4799 * vc/vc-git.el (vc-git):
4800 * vc/vc-hg.el (vc-hg):
4801 * vc/vc-mtn.el (vc-mtn):
4802 * vc/vc-rcs.el (vc-rcs):
4803 * vc/vc-sccs.el (vc-sccs):
4804 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4805 All relevant defcustoms reassigned.
4806
3c9dfce6
CY
48072012-02-25 Chong Yidong <cyd@gnu.org>
4808
1339bf43
CY
4809 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4810
3c9dfce6
CY
4811 * term/x-win.el (x-initialize-window-system): Reduce default for
4812 x-selection-timeout to 5 seconds (Bug#8869).
4813
25b2e303 48142012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4815
ec70a47d
GM
4816 * files.el (files-equal-p, file-subdir-of-p): New functions.
4817 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4818 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4819 * dired-aux.el (dired-copy-file-recursive): Same.
4820 (dired-create-files): Modify destination when source is equal to
4821 dest when copying files.
53a46cd0 4822 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4823
914260cd
MA
48242012-02-24 Michael Albinus <michael.albinus@gmx.de>
4825
4826 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4827 (Bug#10874)
4828
2cb228f7
AM
48292012-02-23 Alan Mackenzie <acm@muc.de>
4830
4831 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4832 parameter "after-hook:" to allow the expansion to run code after
4833 the execution of the mode hooks.
4834
4835 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4836 from font-lock-mode-internal.
2cb228f7 4837
91027d08 4838 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4839 :after-hook.
4840
8f0fde21
SM
48412012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4842
3e88618b
SM
4843 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4844 (completion--cache-all-sorted-completions): New function.
4845 (completion-all-sorted-completions): Use it.
4846 (completion--do-completion, minibuffer-force-complete):
4847 Use it to re-instate the flush hook.
4848
8f0fde21
SM
4849 * icomplete.el (icomplete-completions): Replace last fix with a better
4850 one (bug#10850).
4851
8e911f6f
DG
48522012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4853
4854 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4855 when it might call us back infinitely (bug#10797).
4856
49fe4321
GM
48572012-02-23 Glenn Morris <rgm@gnu.org>
4858
4859 * minibuffer.el (completion-category-overrides): Doc fix.
4860
b291b572
SM
48612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4864 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4865
31a9ef2e
GM
48662012-02-23 Glenn Morris <rgm@gnu.org>
4867
5e6e6794 4868 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4869 (authors-obsolete-files-regexps, authors-ignored-files)
4870 (authors-ambiguous-files, authors-renamed-files-alist):
4871 Add more entries.
4872
0bd1e074
JL
48732012-02-23 Juri Linkov <juri@jurta.org>
4874
4875 * isearch.el (isearch-occur): Sync interactive spec with occur's
4876 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4877
b617673c
JL
4878 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4879
19e9789e
JL
48802012-02-22 Juri Linkov <juri@jurta.org>
4881
4882 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4883 (ucs-insert): Doc fix. Check for hex digits in the string.
4884 Don't display `nil' in the error message. (Bug#10857)
4885
f41ce09d
AM
48862012-02-22 Alan Mackenzie <acm@muc.de>
4887
7a71b18d 4888 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4889
ac2eceee
GM
48902012-02-22 Glenn Morris <rgm@gnu.org>
4891
4892 * ffap.el (ffap-c-path):
4893 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4894
abd1f678
CY
48952012-02-22 Chong Yidong <cyd@gnu.org>
4896
4897 * custom.el (load-theme): Doc fix.
4898
f25aef2e
GM
48992012-02-22 Glenn Morris <rgm@gnu.org>
4900
4901 * dired-x.el (dired-guess-shell-alist-default):
4902 Remove escape sequences from nroff output. (Bug#172)
4903
5f8dc2ca
GM
49042012-02-21 Glenn Morris <rgm@gnu.org>
4905
6ff86ec4
GM
4906 * vc/emerge.el (emerge-defvar-local):
4907 Set `permanent-local' property rather than unused `preserved'.
4908
be3223a3 4909 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4910 (picture-mode-map): Use it. (Bug#10860)
4911 (picture-mode): Doc fix.
4912
3fe58f4f
JB
49132012-02-21 Juanma Barranquero <lekktu@gmail.com>
4914
4915 * newcomment.el (uncomment-region-default): Remove unused binding.
4916
f9a998c3
GM
49172012-02-21 Glenn Morris <rgm@gnu.org>
4918
4919 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4920 (picture-self-insert, picture-tab-chars): Doc fix.
4921 (picture-mode-map): Fix C-a, C-e.
4922
c6029348
GM
49232012-02-20 Glenn Morris <rgm@gnu.org>
4924
4925 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4926
ab1ce9d7
LL
49272012-02-20 Leo Liu <sdl.web@gmail.com>
4928
4929 * icomplete.el (icomplete-completions): Check FROM arg before
4930 passing to substring (Bug#10850).
4931
0fd40f89
CY
49322012-02-19 Chong Yidong <cyd@gnu.org>
4933
4934 * comint.el: Require ansi-color.
4935 (comint-output-filter-functions): Add ansi-color-process-output.
4936
4937 * ansi-color.el: Don't set comint-output-filter-functions; it is
4938 now in the initial value defined in comint.el.
4939 (ansi-color-apply-face-function): New variable.
4940 (ansi-color-apply-on-region): Use it.
4941 (ansi-color-apply-overlay-face): New function.
4942
4943 * shell.el (shell): No need to require ansi-color.
4944 (shell-mode): Use ansi-color-apply-face-function to highlight
4945 color escapes using font-lock-face property (Bug#10835).
4946
20af2394
CY
49472012-02-19 Chong Yidong <cyd@gnu.org>
4948
4949 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4950 mode-line formats (Bug#10839).
4951
e23a3fbe
GM
49522012-02-18 Glenn Morris <rgm@gnu.org>
4953
b474519e
GM
4954 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4955
4956 * mail/undigest.el (unforward-rmail-message): Doc fix.
4957
e23a3fbe
GM
4958 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4959
57939ff4
EZ
49602012-02-18 Eli Zaretskii <eliz@gnu.org>
4961
4962 * international/characters.el (script-list): Sync with the latest
4963 Unicode Character Database.
4964
0c23686e
AS
49652012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4966
4967 * international/titdic-cnv.el: Remove duplicate coding tag.
4968 * language/cham.el: Likewise.
4969 * language/tai-viet.el: Likewise.
4970
6818b449
GM
49712012-02-18 Glenn Morris <rgm@gnu.org>
4972
4973 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4974 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4975 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4976 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4977 * calendar/holidays.el (holiday-bahai-holidays)
4978 (calendar-holidays, list-holidays):
4979 Use utf-8 Bahá'í in doc-strings, menus, etc.
4980
0311a3fc
TH
49812012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4982
4983 * saveplace.el (save-place-ignore-files-regexp): New variable
4984 allowing for excluding files from saving their location of point.
4985 The default value matches the temporary commit message editing
4986 files from Git, SVN, Bazaar, and Mercurial.
4987 (save-place-to-alist): Use it.
4988
eb864a71
LM
49892012-02-17 Lawrence Mitchell <wence@gmx.li>
4990 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 * newcomment.el (uncomment-region-default): Don't leave extra space
4993 when an arg is provided (bug#8150).
4994
ee0ce425
TZ
49952012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4996
eb864a71 4997 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4998
95ddf442
GM
49992012-02-17 Glenn Morris <rgm@gnu.org>
5000
5001 * net/socks.el: Require network-stream. (Bug#10599)
5002
48dd1e39 50032012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5004
5005 * international/charprop.el:
5006 * international/uni-name.el:
5007 * international/uni-old-name.el:
5008 * international/uni-comment.el: Regenerate.
5009
d68cd087
GM
50102012-02-16 Glenn Morris <rgm@gnu.org>
5011
5012 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5013 Interactively in calendar buffer, give an error if not on a date.
5014
13932042
GM
50152012-02-15 Glenn Morris <rgm@gnu.org>
5016
5017 * shell.el (shell-delimiter-argument-list):
5018 Revert 2011-02-17 change. (Bug#8027)
5019
c3a70e2b
CY
50202012-02-15 Chong Yidong <cyd@gnu.org>
5021
60236b0d
CY
5022 * minibuffer.el (completion-at-point-functions): Doc fix.
5023
c3a70e2b
CY
5024 * custom.el (defcustom): Doc fix; note use of defvar.
5025
9f26dc24
GM
50262012-02-15 Glenn Morris <rgm@gnu.org>
5027
5028 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5029 Doc fixes.
5030
6546b134
GM
50312012-02-14 Glenn Morris <rgm@gnu.org>
5032
5033 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5034
d29b2b4c
LI
50352012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5036
5037 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5038 way the ports list is computed.
835bdcba
LI
5039 (smtpmail-query-smtp-server): Prompt the user for a port number if
5040 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5041
08dcdbc9
TZ
50422012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5043
5044 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5045
2605051a
GM
50462012-02-13 Glenn Morris <rgm@gnu.org>
5047
5048 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5049
7ee99f32
TZ
50502012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5051
5052 * net/gnutls.el (gnutls-trustfiles): New variable.
5053 (gnutls-negotiate): Use it.
5054
5f0af64f
LI
50552012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5056
5057 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5058 does its stuff if Gnus is running.
5059
c14fcc95
AM
50602012-02-13 Alan Mackenzie <acm@muc.de>
5061
5062 Fix a loop in c-set-fl-decl-start.
5063
7a71b18d 5064 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5065 c-backward-syntactic-ws actually moves backwards.
5066
142b4d90
LL
50672012-02-13 Leo Liu <sdl.web@gmail.com>
5068
5069 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5070 beginning so that all \C-o chars are removed.
5071
fa9958a6
TZ
50722012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5073
dc9924b8 5074 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5075
0bc5886a
AM
50762012-02-12 Alan Mackenzie <acm@muc.de>
5077
5078 Fix infinite loop with long macros.
4d6769e1 5079 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5080
d4bd55e7
CY
50812012-02-12 Chong Yidong <cyd@gnu.org>
5082
5083 * window.el (display-buffer): Doc fix (Bug#10785).
5084
66f3fe22
GM
50852012-02-12 Glenn Morris <rgm@gnu.org>
5086
bd7da63e
GM
5087 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5088 (x-disown-selection-internal, x-get-selection-internal):
5089 Sync docs with the xselect.c versions.
5090
66f3fe22
GM
5091 * allout-widgets.el: Add missing license notice.
5092
3e0d2fa7
GM
50932012-02-11 Glenn Morris <rgm@gnu.org>
5094
cfecdf09
GM
5095 * select.el (x-get-selection-internal, x-own-selection-internal)
5096 (x-disown-selection-internal):
5097 * x-dnd.el (x-get-selection-internal): Update declarations.
5098
6d216d7f
GM
5099 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5100
2bed3f04
GM
5101 * window.el (window-sides-slots):
5102 * tool-bar.el (tool-bar-position):
5103 * term/xterm.el (xterm-extra-capabilities):
5104 * ses.el (ses-self-reference-early-detection):
5105 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5106 (verilog-auto-wire-type)
5107 (verilog-auto-delete-trailing-whitespace)
5108 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5109 (verilog-auto-tieoff-declaration):
5110 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5111 (sql-oracle-statement-starters, sql-oracle-scan-on):
5112 * progmodes/prolog.el (prolog-align-comments-flag)
5113 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5114 (prolog-left-indent-regexp, prolog-paren-indent-p)
5115 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5116 (prolog-types, prolog-mode-specificators)
5117 (prolog-determinism-specificators, prolog-directives)
5118 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5119 (prolog-electric-dot-flag)
5120 (prolog-electric-dot-full-predicate-template)
5121 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5122 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5123 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5124 (prolog-program-switches, prolog-prompt-regexp)
5125 (prolog-debug-on-string, prolog-debug-off-string)
5126 (prolog-trace-on-string, prolog-trace-off-string)
5127 (prolog-zip-on-string, prolog-zip-off-string)
5128 (prolog-use-standard-consult-compile-method-flag)
5129 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5130 (prolog-imenu-max-lines, prolog-info-predicate-index)
5131 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5132 (prolog-char-quote-workaround):
5133 * progmodes/cc-vars.el (c-defun-tactic):
5134 * net/tramp.el (tramp-encoding-command-interactive)
5135 (tramp-local-end-of-line):
5136 * net/soap-client.el (soap-client):
5137 * net/netrc.el (netrc-file):
5138 * net/gnutls.el (gnutls):
5139 * minibuffer.el (completion-category-overrides)
5140 (completion-cycle-threshold)
5141 (completion-pcm-complete-word-inserts-delimiters):
5142 * man.el (Man-name-local-regexp):
5143 * mail/feedmail.el (feedmail-display-full-frame):
5144 * international/characters.el (glyphless-char-display-control):
5145 * eshell/em-ls.el (eshell-ls-date-format):
5146 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5147 (lisp-lambda-list-keyword-parameter-indentation)
5148 (lisp-lambda-list-keyword-parameter-alignment):
5149 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5150 * dired-x.el (dired-omit-verbose):
5151 * cus-theme.el (custom-theme-allow-multiple-selections):
5152 * calc/calc.el (calc-highlight-selections-with-faces)
5153 (calc-lu-field-reference, calc-lu-power-reference)
5154 (calc-note-threshold):
5155 * battery.el (battery-mode-line-limit):
5156 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5157 (archive-7z-update):
5158 * allout.el (allout-prefixed-keybindings)
5159 (allout-unprefixed-keybindings)
5160 (allout-inhibit-auto-fill-on-headline)
5161 (allout-flattened-numbering-abbreviation):
5162 * allout-widgets.el (allout-widgets-auto-activation)
5163 (allout-widgets-icons-dark-subdir)
5164 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5165 (allout-widgets-theme-dark-background)
5166 (allout-widgets-theme-light-background)
5167 (allout-widgets-item-image-properties-emacs)
5168 (allout-widgets-item-image-properties-xemacs)
5169 (allout-widgets-run-unit-tests-on-load)
5170 (allout-widgets-time-decoration-activity)
5171 (allout-widgets-hook-error-post-time)
5172 (allout-widgets-track-decoration):
5173 Add missing :version tags to new defcustoms and defgroups.
5174
5fec1b8e
GM
5175 * progmodes/sql.el (sql-ansi-statement-starters)
5176 (sql-oracle-statement-starters): Add custom type.
5177
3e0d2fa7
GM
5178 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5179 (prolog-system-version): Give it a type.
5180
90b671e2
EZ
51812012-02-11 Eli Zaretskii <eliz@gnu.org>
5182
5183 * term/pc-win.el (x-select-text, x-selection-owner-p)
5184 (x-own-selection-internal, x-disown-selection-internal)
5185 (x-get-selection-internal): Sync doc strings and argument lists
5186 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5187
5eac0c02
LL
51882012-02-11 Leo Liu <sdl.web@gmail.com>
5189
5190 * progmodes/python.el (python-end-of-statement): Fix infinite
5191 loop. (Bug#10788)
5192
f82cb659
GM
51932012-02-10 Glenn Morris <rgm@gnu.org>
5194
5195 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5196 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5197
cc26d239
LI
51982012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5199
5200 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5201 about SMTP before checking the From header.
5202
91027d08 5203 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5204 into own function for reuse by emacsbug.el.
5205
1be3ca5a
LL
52062012-02-10 Leo Liu <sdl.web@gmail.com>
5207
5208 * subr.el (condition-case-unless-debug): Rename from
5209 condition-case-no-debug. All callers changed.
5210 (with-demoted-errors): Fix caller.
5211
5212 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5213 * nxml/rng-valid.el (rng-do-some-validation):
5214 * emacs-lisp/package.el (package-refresh-contents)
5215 (package-menu-execute):
5216 * desktop.el (desktop-create-buffer):
91027d08 5217 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5218
b011fbfe
GM
52192012-02-10 Glenn Morris <rgm@gnu.org>
5220
b2096d72
GM
5221 * textmodes/bibtex.el:
5222 Add missing :version tags for new/changed defcustoms.
5223
b011fbfe
GM
5224 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5225
4c7e65bf
LI
52262012-02-09 Lars Ingebrigtsen <larsi@rusty>
5227
5228 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5229 (smtpmail-via-smtp): Use it, or fall back on the From address.
5230 (smtpmail-send-it): Ditto.
5231
f3934f6f
SM
52322012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5233
5234 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5235 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5236 (byte-compile-tmp-var): New const.
5237 (byte-compile-defvar): Use it to minimize .elc size.
5238 Just use `defvar' rather than simulate it (bug#10761).
5239
a075a2c5
GM
52402012-02-09 Glenn Morris <rgm@gnu.org>
5241
cf3aa21b
GM
5242 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5243
354998cd
GM
5244 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5245 Add :version tags.
5246
dc9924b8
SM
5247 * progmodes/compile.el (compilation-error-screen-columns)
5248 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5249
dab3703d
GM
5250 * vc/log-view.el (log-view-toggle-entry-display):
5251 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5252
3f88cd72
GM
5253 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5254 (report-emacs-bug-can-use-xdg-email):
5255 (report-emacs-bug-insert-to-mailer): Doc fixes.
5256 (report-emacs-bug): Message fix.
5257
d95b247d
GM
5258 * net/browse-url.el (browse-url-can-use-xdg-open)
5259 (browse-url-xdg-open): Doc fixes.
5260
a075a2c5
GM
5261 * electric.el (electric-indent-mode, electric-pair-mode)
5262 (electric-layout-rules, electric-layout-mode): Doc fixes.
5263 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5264
ffb6157e
MR
52652012-02-08 Martin Rudalics <rudalics@gmx.at>
5266
5267 * server.el (server-unselect-display): Don't inadvertently kill
5268 the current buffer. (Bug#10729)
5269
e1ac4066
GM
52702012-02-08 Glenn Morris <rgm@gnu.org>
5271
34e8a2da
GM
5272 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5273 (sql-list-table): Doc fixes.
5274
b4ac6e8c
GM
5275 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5276 Comment out (does nothing).
5277
e1ac4066
GM
5278 * completion.el (dynamic-completion-mode):
5279 * dirtrack.el (dirtrack-debug-mode):
5280 * electric.el (electric-layout-mode):
5281 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5282 * face-remap.el (text-scale-mode, buffer-face-mode):
5283 * iimage.el (iimage-mode):
5284 * image-mode.el (image-transform-mode):
5285 * minibuffer.el (completion-in-region-mode):
5286 * scroll-lock.el (scroll-lock-mode):
5287 * simple.el (next-error-follow-minor-mode):
5288 * tar-mode.el (tar-subfile-mode):
5289 * tooltip.el (tooltip-mode):
5290 * vcursor.el (vcursor-use-vcursor-map):
5291 * wid-browse.el (widget-minor-mode):
5292 * emulation/tpu-edt.el (tpu-edt-mode):
5293 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5294 * international/iso-ascii.el (iso-ascii-mode):
5295 * language/thai-util.el (thai-word-mode):
5296 * mail/supercite.el (sc-minor-mode):
5297 * net/goto-addr.el (goto-address-mode):
5298 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5299 * progmodes/cwarn.el (cwarn-mode):
5300 * progmodes/flymake.el (flymake-mode):
5301 * progmodes/glasses.el (glasses-mode):
5302 * progmodes/hideshow.el (hs-minor-mode):
5303 * progmodes/pascal.el (pascal-outline-mode):
5304 * textmodes/enriched.el (enriched-mode):
5305 * vc/smerge-mode.el (smerge-mode):
5306 Doc fixes (minor mode argument).
5307
5e0d957f
EZ
53082012-02-07 Eli Zaretskii <eliz@gnu.org>
5309
5310 * ls-lisp.el (ls-lisp-sanitize): New function.
5311 (ls-lisp-insert-directory): Use it to fix or remove any elements
5312 in file-alist with missing attributes. (Bug#4673)
5313
98d7371e
AM
53142012-02-07 Alan Mackenzie <acm@muc.de>
5315
5316 Fix spurious recognition of c-in-knr-argdecl.
5317
5318 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5319 putative K&R region.
5320
667ced3a
AM
53212012-02-07 Alan Mackenzie <acm@muc.de>
5322
eb864a71
LM
5323 * progmodes/cc-engine.el (c-forward-objc-directive):
5324 Prevent looping in "#pragma mark @implementation".
667ced3a 5325
5b77774d
MA
53262012-02-07 Michael Albinus <michael.albinus@gmx.de>
5327
5328 * notifications.el (notifications-on-closed-signal): Make `reason'
5329 optional. (Bug#10744)
5330
af008560
GM
53312012-02-07 Glenn Morris <rgm@gnu.org>
5332
60d47423
GM
5333 * emacs-lisp/easy-mmode.el (define-minor-mode):
5334 Doc fixes for the macro and the mode it defines.
5335
dd605cc4
GM
5336 * image.el (imagemagick-types-inhibit): Doc fix.
5337
af008560
GM
5338 * cus-start.el (imagemagick-render-type): Add it.
5339
5cc59a37
LI
53402012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5341
4d6769e1
JB
5342 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5343 Set the default at load time, too, so that `font-lock-fontify-buffer'
5344 can be called without setting up the entire mode first. This fixes
5345 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5346
9a6dd747
CY
53472012-02-06 Chong Yidong <cyd@gnu.org>
5348
2d16b285
CY
5349 * simple.el (list-processes--refresh): Delete exited processes
5350 (Bug#8094).
5351
171e9b6e
CY
5352 * comint.el (comint-next-prompt): next-single-char-property-change
5353 and prev-single-char-property-change never return nil (Bug#8657).
5354
9a6dd747
CY
5355 * custom.el (defcustom): Doc fix (Bug#9711).
5356
aa4589a7
CY
53572012-02-05 Chong Yidong <cyd@gnu.org>
5358
5c2a252f
CY
5359 * cus-edit.el (custom-variable-reset-backup): Quote the value
5360 before storing it in the customized-value property (Bug#6712).
4aab9006 5361 (custom-display): Add a customization type tag.
983b9602 5362 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5363
aa4589a7
CY
5364 * wid-edit.el (widget-field-value-get): New optional arg to
5365 suppress trailing whitespace truncation.
5366 (character): Use it (Bug#2689).
5367
1ff980ae
AS
53682012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5369
5370 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5371 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5372
03988c98
CY
53732012-02-05 Chong Yidong <cyd@gnu.org>
5374
eeb6cc88
CY
5375 * cus-edit.el (custom-variable-value-create): For mismatched
5376 types, show the current value (Bug#7600).
5377
03988c98
CY
5378 * custom.el (defcustom): Doc fix.
5379
f8cdeef0
GM
53802012-02-05 Glenn Morris <rgm@gnu.org>
5381
5382 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5383
0696d255
JB
53842012-02-05 Juanma Barranquero <lekktu@gmail.com>
5385
5386 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5387 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5388 (pp-last-sexp): Use `looking-at-p'.
5389
34c99998
GM
53902012-02-04 Glenn Morris <rgm@gnu.org>
5391
8f05da42
GM
5392 * files.el (revert-buffer):
5393 Doc fix (mention revert-buffer-in-progress-p).
5394
f160676e
GM
5395 * emacs-lisp/ert-x.el (ert-simulate-command):
5396 Check deferred-action-list (which is obsolete) is bound.
5397
c7291ad9
GM
5398 * subr.el (with-wrapper-hook): Doc fixes.
5399
34c99998
GM
5400 * simple.el (filter-buffer-substring-functions)
5401 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5402
6283a7d3
LL
54032012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5404
5405 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5406 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5407
e96e3013
LL
54082012-02-04 Leo Liu <sdl.web@gmail.com>
5409
5410 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5411
8ded50f2
GM
54122012-02-04 Glenn Morris <rgm@gnu.org>
5413
82ff1d13
GM
5414 * image.el (image-extension-data): Add obsolete alias.
5415
987a0a16
GM
5416 * isearch.el (isearch-update): Doc fix.
5417
ea32ef46
GM
5418 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5419
8ded50f2
GM
5420 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5421
eea14f31
GM
54222012-02-03 Glenn Morris <rgm@gnu.org>
5423
5424 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5425 (image-animate-timeout): Doc fix.
5426
5427 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5428
12f381b7
GM
54292012-02-02 Glenn Morris <rgm@gnu.org>
5430
953cebf5
GM
5431 * server.el (server-auth-dir): Doc fix.
5432 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5433
12f381b7
GM
5434 * subr.el (run-mode-hooks): Doc fix.
5435
953a8c3b
JL
54362012-02-02 Juri Linkov <juri@jurta.org>
5437
5438 * image-mode.el (image-toggle-display-image): Remove tautological
5439 `major-mode' from the `derived-mode-p' test.
5440
c5d3843c
KH
54412012-02-02 Kenichi Handa <handa@m17n.org>
5442
9f6e692e 5443 * composite.el (compose-region): Cancel previous change.
c5d3843c 5444
159462d4 54452012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5446
5447 * composite.el (compose-region, compose-string): Signal error for
5448 a null string component (Bug#6988).
5449
9f562668
CY
54502012-02-01 Chong Yidong <cyd@gnu.org>
5451
e2cef717
CY
5452 * view.el (view-buffer-other-window, view-buffer-other-frame):
5453 Handle special modes like view-buffer (Bug#10650).
5454 (view-buffer): Simplify.
5455
9f562668
CY
5456 * frame.el (set-frame-font): Tweak meaning of third argument.
5457
9f6e692e
JB
5458 * dynamic-setting.el (font-setting-change-default-font):
5459 Use set-frame-font (Bug#9982).
9f562668 5460
781acb9f
GM
54612012-02-01 Glenn Morris <rgm@gnu.org>
5462
6035be52
GM
5463 * progmodes/compile.el (compilation-internal-error-properties):
5464 Respect compilation-first-column in the "*compilation*" buffer.
5465
781acb9f
GM
5466 * emacs-lisp/easy-mmode.el (define-minor-mode):
5467 Relax :variable's test for a named function.
5468
abbceb00
AM
54692012-01-31 Alan Mackenzie <acm@muc.de>
5470
5471 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5472 off by one error.
5473
fce3fdeb
CY
54742012-01-31 Chong Yidong <cyd@gnu.org>
5475
5476 * frame.el (set-frame-font): New arg ALL-FRAMES.
5477
5478 * menu-bar.el (menu-set-font): Use set-frame-font.
5479
5480 * faces.el (face-spec-reset-face): Don't apply unspecified
5481 attribute values to the default face.
5482
47893581
JB
54832012-01-31 Juanma Barranquero <lekktu@gmail.com>
5484
5485 * progmodes/cwarn.el (cwarn): Remove dead link.
5486 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5487 Remove * from defcustom docstrings.
5488 (turn-on-cwarn-mode): Make obsolete.
5489 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5490 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5491
e58e988a
GM
54922012-01-31 Glenn Morris <rgm@gnu.org>
5493
60dc2671 5494 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5495 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5496 Allow named functions to be used as the cdr of :variable.
e58e988a 5497
7a3f511d
GM
54982012-01-30 Glenn Morris <rgm@gnu.org>
5499
5500 * emacs-lisp/authors.el (authors-fixed-entries):
5501 Remove reference to deleted file rnewspost.el.
5502
cb882333
JB
55032012-01-29 Juanma Barranquero <lekktu@gmail.com>
5504
5505 * window.el (window-with-parameter): Remove unused variable `windows'.
5506 (window--side-check): Remove unused variable `code'.
5507 (window--resize-siblings): Remove unused variable `first'.
5508 (adjust-window-trailing-edge): Remove unused variable `failed'.
5509 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5510 Use `let', not `let*'.
5511 (balance-windows-2): Remove unused variable `found'.
5512 (window--state-put-2): Remove unused variable `splits'.
5513 (window-state-put): Remove unused variable `selected'.
5514 (same-window-p): Use `string-match-p'.
5515 (display-buffer-assq-regexp): Remove unused variable `value'.
5516 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5517 Mark argument ALIST as ignored.
5518 (pop-to-buffer): Remove unused variable `old-window'.
5519
907201af
EZ
55202012-01-29 Eli Zaretskii <eliz@gnu.org>
5521
5522 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5523 and .lzma compressed files.
5524
ea162670
CY
55252012-01-29 Chong Yidong <cyd@gnu.org>
5526
5b95ee8a
CY
5527 * frame.el (window-system-default-frame-alist): Doc fix.
5528
ea162670
CY
5529 * dynamic-setting.el (font-setting-change-default-font): Don't
5530 change the default face if SET-FONT argument is non-nil (Bug#9982).
5531
d6e6f4b1
SB
55322012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5533
5534 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5535
0f29fa41 55362012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5537
5538 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5539 breakpoints in files outside current directory (Bug#6098).
5540
db174434
CY
55412012-01-29 Chong Yidong <cyd@gnu.org>
5542
6b25e4e2
SE
5543 * progmodes/python.el: Require ansi-color at top-level.
5544
6df6ae42
JB
5545 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5546 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5547 (lisp-mode-abbrev-table): Add doc.
5548 (lisp-mode-variables): Don't set local-abbrev-table.
5549 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5550
e70ee681
RW
55512012-01-28 Roland Winkler <winkler@gnu.org>
5552
5553 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5554
ace88aa2
RW
55552012-01-28 Roland Winkler <winkler@gnu.org>
5556
5557 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5558 (bibtex-set-dialect): Use it. Either set global values of
5559 dialect-dependent variables or bind these variables buffer-locally
5560 (Bug#10254).
5561 (bibtex-mode): Call bibtex-set-dialect via
5562 hack-local-variables-hook.
eb864a71
LM
5563 (bibtex-dialect): Update docstring.
5564 Add safe-local-variable predicate.
ace88aa2
RW
5565 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5566 bibtex-set-dialect.
5567 (bibtex-mode-map): Define menu for each dialect.
5568 (bibtex-entry): Fix docstring.
5569
93376c5b
CY
55702012-01-28 Chong Yidong <cyd@gnu.org>
5571
5572 * eshell/esh-arg.el (eshell-quote-argument): New function.
5573
5574 * eshell/esh-ext.el (eshell-invoke-batch-file):
5575 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5576 first arg to eshell-parse-command (Bug#10523).
5577
4372494f
DA
55782012-01-28 Drew Adams <drew.adams@oracle.com>
5579
5580 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5581 `default-directory' is non-nil.
5582
4d4ec1f8
EZ
55832012-01-28 Eli Zaretskii <eliz@gnu.org>
5584
5585 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5586 line that displays system-configuration-options. (Bug#9924)
5587
7c188927
DA
55882012-01-28 Drew Adams <drew.adams@oracle.com>
5589
5590 * descr-text.el (describe-char): Show information about POS, in
5591 addition to information about the character at POS. Improve and
5592 update the doc string. Change "code point" to "code point in
5593 charset", to avoid confusion with the character's Unicode code
5594 point shown above that. (Bug#10129)
5595
e0da685a
EZ
55962012-01-28 Eli Zaretskii <eliz@gnu.org>
5597
5598 * descr-text.el (describe-char): Show the raw character, not only
5599 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5600 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5601 for the reasons.
5602
70550acf
PH
56032012-01-28 Phil Hagelberg <phil@hagelb.org>
5604
eb864a71
LM
5605 * emacs-lisp/package.el (package-install):
5606 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5607
0ce8e868
CY
56082012-01-28 Chong Yidong <cyd@gnu.org>
5609
cb882333
JB
5610 * emacs-lisp/package.el (package-maybe-load-descriptor):
5611 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5612 (package-maybe-load-descriptor): Use it.
5613 (package-download-transaction): Fully load required packages
5614 inside the loop, so that `require' calls work (Bug#10593).
5615 (package-install): No need to call package-initialize now.
5616
2e7f3bea
CY
56172012-01-28 Chong Yidong <cyd@gnu.org>
5618
6e9bad14
CY
5619 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5620
f823b8ca
CY
5621 * tooltip.el (tooltip-mode): Doc fix.
5622 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5623
2680c309
CY
5624 * frame.el (set-cursor-color): Doc fix (Bug#352).
5625
d7a9e63b
CY
5626 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5627 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5628
2e7f3bea
CY
5629 * cus-edit.el (custom-buffer-create-internal): Fix search button
5630 action (Bug#10542).
2ae01800 5631 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5632
fc4f7a23
EW
56332012-01-27 Eduard Wiebe <usenet@pusto.de>
5634
5635 * dired.el (dired-mark-files-regexp):
5636 Include any subdirectory components. (Bug#10445)
5637
7dd37071
ML
56382012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5639
5640 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5641 Handle [host]:port syntax. (Bug#10533)
5642
a268160b
AH
56432012-01-27 Alex Harsanyi <harsanyi@mac.com>
5644
5645 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5646
e43273ef
GM
56472012-01-26 Glenn Morris <rgm@gnu.org>
5648
5649 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5650 * term.el (term-raw-escape-map): Use Control-X-prefix.
5651 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5652
1edf595d
MR
56532012-01-25 Martin Rudalics <rudalics@gmx.at>
5654
5655 * window.el (window-state-get, window--state-get-1): Don't deal
5656 with fixed-sizeness of windows. Simplify code.
5657
fa8eafef
JC
56582012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5659
6df6ae42
JB
5660 * window.el (window--state-get-1, window--state-put-2):
5661 Don't save and restore the mark.
fa8eafef 5662
0b21c100
CY
56632012-01-25 Chong Yidong <cyd@gnu.org>
5664
5665 * custom.el (custom-variable-p): Doc fix.
5666
5ae1a6c8
GM
56672012-01-25 Glenn Morris <rgm@gnu.org>
5668
40047858
GM
5669 * dired.el (dired-goto-file): Handle some of the more common
5670 characters that `ls -b' escapes. (Bug#10596)
5671
5ddce96c
GM
5672 * progmodes/compile.el (compilation-next-error-function):
5673 Respect compilation-first-column in the "*compilation*" buffer.
5674 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5675
5ae1a6c8
GM
5676 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5677
b559f1a9
GM
56782012-01-24 Glenn Morris <rgm@gnu.org>
5679
5680 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5681
6725d21a
JD
56822012-01-24 Julien Danjou <julien@danjou.info>
5683
5684 * color.el (color-rgb-to-hsl): Fix value computing.
5685 (color-hue-to-rgb): New function.
5686 (color-hsl-to-rgb): New function.
5687 (color-clamp, color-saturate-hsl, color-saturate-name)
5688 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5689 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5690
70df4bbe
GM
56912012-01-24 Glenn Morris <rgm@gnu.org>
5692
5693 * vc/vc-rcs.el (vc-rcs-create-tag):
5694 * vc/vc-sccs.el (vc-sccs-create-tag):
5695 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5696
802a2ae2
ML
56972012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5698
5699 * eshell/esh-util.el (eshell-read-hosts-file):
5700 Skip comment lines. (Bug#10549)
5701
d7128bb1
ML
5702 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5703
d1a5c3b4
JB
57042012-01-23 Juanma Barranquero <lekktu@gmail.com>
5705
2724d9c7
JB
5706 * subr.el (display-delayed-warnings): Doc fix.
5707 (collapse-delayed-warnings): New function to collapse identical
5708 adjacent warnings.
5709 (delayed-warnings-hook): Add it.
d1a5c3b4 5710
a5509865
MA
57112012-01-22 Michael Albinus <michael.albinus@gmx.de>
5712
5713 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5714
a5509865
MA
5715 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5716 (tramp-default-user-alist): Don't add "pscp".
5717 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5718 property "login-as", if set. (Bug#10530)
5719
cc6d5805
MA
57202012-01-21 Michael Albinus <michael.albinus@gmx.de>
5721
5722 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5723 "plink1" and "psftp". (Bug#10530)
5724
57252012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5726
5727 * international/mule-cmds.el (prefer-coding-system): Show a
5728 warning message if the default value of file-name-coding-system
5729 was not changed.
5730
f0960428
JC
57312012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5732
cb882333
JB
5733 * windmove.el (windmove-reference-loc):
5734 Fix windmove-reference-loc miscalculation.
f0960428 5735
dd6f2a63
JB
57362012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5737
5738 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5739 default unit.
5740
7b447e9b
GM
57412012-01-21 Glenn Morris <rgm@gnu.org>
5742
117a9ea1
GM
5743 * international/mule.el (auto-coding-alist): Add .tbz.
5744
7b447e9b
GM
5745 * files.el (local-enable-local-variables): Doc fix.
5746 (inhibit-local-variables-regexps): Rename from
5747 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5748 Doc fix. Add some extensions from auto-coding-alist.
5749 (inhibit-local-variables-suffixes):
5750 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5751 (inhibit-local-variables-p):
5752 New function, extracted from set-auto-mode-1.
5753 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5754 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5755 (hack-local-variables): Doc fix. Make the mode-only case
5756 respect enable-local-variables and friends.
5757 Respect inhibit-local-variables-regexps for file-locals, but
5758 not for directory-locals.
5759 (set-visited-file-name):
5760 Take account of inhibit-local-variables-regexps.
5761 Whether it applies may change as the file name is changed.
5762 * jka-cmpr-hook.el (jka-compr-install):
5763 * jka-compr.el (jka-compr-uninstall):
5764 Update for inhibit-first-line-modes-suffixes name change.
5765
dd6e3cdd
MR
57662012-01-20 Martin Rudalics <rudalics@gmx.at>
5767
5768 * help-macro.el (make-help-screen): Temporarily restore original
5769 binding for minor-mode-map-alist (Bug#10454).
5770
0d0deb38
JD
57712012-01-19 Julien Danjou <julien@danjou.info>
5772
5773 * color.el (color-name-to-rgb): Use the white color to find the max
5774 color component value and return correctly computed values.
5775 (color-name-to-rgb): Add missing float conversion for max value.
5776
34a02f46
MR
57772012-01-19 Martin Rudalics <rudalics@gmx.at>
5778
5779 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5780 special state value for window-persistent-parameters.
5781 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5782 (window--state-put-2): Reset all window parameters to nil before
5783 assigning values of persistent parameters.
5784
606c44c4
AM
57852012-01-18 Alan Mackenzie <acm@muc.de>
5786
5787 Eliminate sluggishness and hangs in fontification of "semicolon
5788 deserts".
5789
cb882333
JB
5790 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5791 Change value 10000 -> 3000.
606c44c4
AM
5792 (c-state-safe-place): Reformulate so it doesn't stack up an
5793 infinite number of wrong entries in c-state-nonlit-pos-cache.
5794 (c-determine-limit-get-base, c-determine-limit): New functions to
5795 determine backward search limits disregarding literals.
5796 (c-find-decl-spots): Amend commenting.
5797 (c-cheap-inside-bracelist-p): New function which detects "={".
5798
5799 * progmodes/cc-fonts.el
5800 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5801 backward search.
5802 (c-font-lock-declarations): Fix an occurrence of point being
5803 undefined. Check additionally for point being in a bracelist or
5804 near a macro invocation without a semicolon so as to avoid a
5805 fruitless time consuming search for a declarator. Give a more
5806 precise search limit for declarators using the new
5807 c-determine-limit.
5808
f3860cea
GM
58092012-01-18 Glenn Morris <rgm@gnu.org>
5810
5811 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5812 (set-auto-mode): Doc fixes.
5813
1db03b16
GM
58142012-01-17 Glenn Morris <rgm@gnu.org>
5815
0e6038be
GM
5816 * isearch.el (search-nonincremental-instead): Fix doc typo.
5817
1db03b16
GM
5818 * dired.el (dired-insert-directory): Handle newlines in directory name.
5819 (dired-build-subdir-alist): Unescape newlines in directory name.
5820
4cb0aa75
MA
58212012-01-17 Michael Albinus <michael.albinus@gmx.de>
5822
5823 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5824 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5825 (tramp-action-terminal): Use it. (Bug#10530)
5826
1d00653d
SM
58272012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5830
6a6ee00d
MR
58312012-01-16 Martin Rudalics <rudalics@gmx.at>
5832
5833 * window.el (window-state-ignored-parameters): Remove variable.
5834 (window--state-get-1): Rename argument MARKERS to IGNORE.
5835 Handle persistent window parameters. Make copy of clone-of
5836 parameter only if requested. (Bug#10348)
5837 (window--state-put-2): Install a window parameter only if it has
5838 a non-nil value or an existing parameter shall be overwritten.
5839
97912def
MA
58402012-01-15 Michael Albinus <michael.albinus@gmx.de>
5841
5842 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5843
688070a5
EZ
58442012-01-14 Eli Zaretskii <eliz@gnu.org>
5845
5846 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5847 don't pass the (nil) value of `upnode' to string-match.
5848
301afadc
CY
58492012-01-14 Chong Yidong <cyd@gnu.org>
5850
5851 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5852 Fix values recognized by the cursorBlink resource.
301afadc 5853
9e5788aa
PE
58542012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5855
5856 * epg.el (epg--make-temp-file): Avoid permission race condition
5857 when running on old Emacs versions (bug#10403).
5858
3cdb7f5a
GM
58592012-01-14 Glenn Morris <rgm@gnu.org>
5860
5861 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5862
8c82b1b4
AM
58632012-01-13 Alan Mackenzie <acm@muc.de>
5864
5865 Fix filling for when filladapt mode is enabled.
5866
5867 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5868 c-mask-paragraph, pass in `fill-paragraph' rather than
5869 `fill-region-as-paragraph'. (This is a reversion of a previous
5870 change.)
eb864a71
LM
5871 * progmodes/cc-mode.el (c-basic-common-init):
5872 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5873
e517eda4
GM
58742012-01-13 Glenn Morris <rgm@gnu.org>
5875
1498536e
GM
5876 * dired.el (dired-switches-escape-p): New function.
5877 (dired-insert-directory): Use dired-switches-escape-p.
5878 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5879
e517eda4
GM
5880 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5881
328f984d
GM
58822012-01-12 Glenn Morris <rgm@gnu.org>
5883
5884 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5885 changes in adaptive-fill-regexp. (Bug#10276)
5886
2cc769a8
AM
58872012-01-11 Alan Mackenzie <acm@muc.de>
5888
5889 Fix Emacs bug #10463 - put `widen's around the critical spots.
5890
1d00653d 5891 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5892 widen around each invocation of c-state-pp-to-literal. Remove an
5893 unused let variable.
5894
e52c37fa
GM
58952012-01-11 Glenn Morris <rgm@gnu.org>
5896
5897 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5898 Doc fix.
e52c37fa 5899
96f8741e
CY
59002012-01-10 Chong Yidong <cyd@gnu.org>
5901
1d00653d
SM
5902 * net/network-stream.el (network-stream-open-starttls):
5903 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5904 response to the capability command.
5905
b09a806e
GM
59062012-01-10 Glenn Morris <rgm@gnu.org>
5907
5908 * mail/unrmail.el (unrmail): Tweak previous change.
5909
7655cb66
CY
59102012-01-09 Chong Yidong <cyd@gnu.org>
5911
5912 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5913
9d5a8f0b
AM
59142012-01-08 Alan Mackenzie <acm@muc.de>
5915
5916 Optimise font locking in long enum definitions.
5917
5918 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5919 arm to a cond form to handle enums.
5920 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5921 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5922
9a0115ab 59232012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5924
5925 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5926 (Bug#10401)
6bb72cbd 5927
f186bb95
LMI
59282012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5929
29232a68
LMI
5930 * faces.el (set-face-attribute): Clarify the meaning of the nil
5931 frame (bug#10294).
5932
4e5d086d
LMI
5933 * subr.el (with-selected-frame): Mention that the selected frame
5934 is restored (bug#9980).
5935
8e66aebe
LMI
5936 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5937 (bug#9759).
5938
cd394be1 5939 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5940 (password-read): Don't autoload unused function.
5941
adf4e762
JB
59422012-01-07 Juanma Barranquero <lekktu@gmail.com>
5943
5944 * progmodes/which-func.el (which-func-mode): Turn into a
5945 non-interactive function and mark as obsolete (bug#10428).
5946
89bd9ccd
CY
59472012-01-06 Chong Yidong <cyd@gnu.org>
5948
5949 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5950 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5951 functions, along with 1 and -1.
5952
4afee9d5
EZ
59532012-01-06 Eli Zaretskii <eliz@gnu.org>
5954
5955 * time.el (display-time-load-average)
5956 (display-time-default-load-average): Doc fixes. See the thread
5957 starting at
5958 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5959 for the details.
5960
536aea70
GM
59612012-01-06 Glenn Morris <rgm@gnu.org>
5962
665ae865
GM
5963 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5964 has no messages. (Bug#10377)
5965
c869783d
GM
5966 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5967 than Info-edit. (Bug#10385)
5968
2bb4227e
GM
5969 * time.el (display-time-load-average, display-time-next-load-average):
5970 Doc fixes.
5971
7d5944b9
GM
5972 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5973 local setting of buffer-read-only to the input buffer. (Bug#10419)
5974
536aea70
GM
5975 * calendar/calendar.el (calendar-mode):
5976 Locally set scroll-margin to 0. (Bug#10379)
5977
7dccca16
UM
59782012-01-06 Ulrich Mueller <ulm@gentoo.org>
5979
5980 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5981
afbb7930
GM
59822012-01-05 Glenn Morris <rgm@gnu.org>
5983
5984 * eshell/em-unix.el (diff-no-select): Autoload it.
5985 (eshell/diff): Use diff-no-select. (Bug#10420)
5986
04482335
CY
59872012-01-05 Chong Yidong <cyd@gnu.org>
5988
7baca3bc
CY
5989 * shell.el (shell-dynamic-complete-functions): Revert last change.
5990 (shell-command-completion-function): New function.
5991 (shell-completion-vars): Use it to implement
5992 shell-completion-execonly (Bug#10417).
5993
04482335
CY
5994 * custom.el (enable-theme): Don't set custom-safe-themes.
5995
1d00653d
SM
5996 * cus-theme.el (custom-theme-merge-theme):
5997 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5998
bb5aa5d6
MM
59992012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6000
6001 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6002 first prompt in `sql-interacive-mode'.
6003 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6004 keywords.
6df6ae42 6005 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6006 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6007 context of original buffer. Invoke `sql-login-hook'.
6008
a7183d7c
EZ
60092012-01-04 Eli Zaretskii <eliz@gnu.org>
6010
6011 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6012 letters in cite-prefix.
6013
a1eacd1e
LMI
60142012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6015
6016 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6017
787cdb34
CY
60182012-01-03 Chong Yidong <cyd@gnu.org>
6019
1d00653d
SM
6020 * shell.el (shell-dynamic-complete-functions):
6021 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6022 comint-filename-completion first (Bug#10417).
6023
30710442
RS
60242012-01-02 Richard Stallman <rms@gnu.org>
6025
6026 * battery.el (battery-status-function):
6027 Detect when to use battery-yeeloong-sysfs.
6028 (battery-echo-area-format): Add string for Yeeloong.
6029 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6030 (battery-yeeloong-sysfs): New function.
6031
f75bfc33
CY
60322012-01-02 Chong Yidong <cyd@gnu.org>
6033
6034 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6035 (dirtrack): Merge code for handling relative filenames in prompt
6036 from shell-dir-cookie-watcher.
6037 (dirtrack-debug-message): New arg to avoid excess format calls.
6038
6039 * shell.el (shell-dir-cookie-re): Variable deleted.
6040 (shell-dir-cookie-watcher): Function deleted.
6041 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6042 with dirtrack-mode.
6043
651e947e
EZ
60442012-01-01 Eli Zaretskii <eliz@gnu.org>
6045
1d00653d
SM
6046 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6047 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6048 libgnutls-26.dll.
6049
94d4c7dc
AS
60502011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6051
6052 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6053
8d43f3cd
EZ
60542011-12-31 Eli Zaretskii <eliz@gnu.org>
6055
6056 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6057 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6058
98c8795a
MA
60592011-12-29 Michael Albinus <michael.albinus@gmx.de>
6060
6061 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6062 also for alternative shells.
6063 (tramp-open-connection-setup-interactive-shell): Check, whether
6064 the shell is a busybox.
6065 (tramp-send-command): Don't suppress multiple prompts for
6066 busyboxes, it hurts.
6067
51281b32
CY
60682011-12-28 Chong Yidong <cyd@gnu.org>
6069
6070 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6071 (gdb-get-source-file): Move mode line update to
6072 gdb-get-source-file (Bug#10087).
6073
2170cb53
CY
60742011-12-25 Chong Yidong <cyd@gnu.org>
6075
6076 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6077 gud-gdb-marker-filter without taking it as an argument.
6078 (gud-gdb-run-command-fetch-lines): Caller changed.
6079 (gud-gdb-completion-function): New variable.
6080 (gud-gdb-completion-at-point): Use it.
6081 (gud-gdb-completions-1): Split from gud-gdb-completions.
6082
6083 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6084 function as separate arguments.
6085 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6086 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6087 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6088 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6089 (gdb-stopped, def-gdb-auto-update-trigger)
6090 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6091 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6092 Callers changed.
2170cb53
CY
6093 (gud-gdbmi-completions): New function.
6094 (gdb): Use it for generating the completion table.
6095
be8b11bb
AM
60962011-12-24 Alan Mackenzie <acm@muc.de>
6097
6098 Introduce a mechanism to widen the region used in context font
1d00653d 6099 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6100
1d00653d
SM
6101 * progmodes/cc-langs.el (c-before-font-lock-functions):
6102 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6103 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6104 functions to be run just before context (etc.) font locking.
6105
6106 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6107 New, functionality extracted from
be8b11bb 6108 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6109 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6110 (c-after-change): Set c-in-after-change-fontification.
6111 (c-set-fl-decl-start): Rejig its interface, so it can be called
6112 from both after-change and context fontifying.
b81d40f0
JB
6113 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6114 New functions.
6115 (c-standard-font-lock-fontify-region-function): New variable.
6116 (c-font-lock-fontify-region): New function.
be8b11bb 6117
341cf6ac
JL
61182011-12-24 Juri Linkov <juri@jurta.org>
6119
6120 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6121 (Bug#10348)
6122
bffcee0a
MA
61232011-12-23 Michael Albinus <michael.albinus@gmx.de>
6124
6125 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6126 existence of source file. (Bug#10325)
6127
cb5e207c
AM
61282011-12-23 Alan Mackenzie <acm@muc.de>
6129
6130 Fix unstable fontification inside templates.
6131
b81d40f0
JB
6132 * progmodes/cc-langs.el (c-before-font-lock-functions):
6133 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6134 additionally has c-set-fl-decl-start. The other languages (apart
6135 from AWK) have that as a single entry.
6136
b81d40f0
JB
6137 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6138 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6139 c-set-fl-decl-start.
6140
b81d40f0
JB
6141 * progmodes/cc-mode.el (c-common-init, c-after-change):
6142 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6143 (c-set-fl-decl-start): New function, extracted from
6144 c-font-lock-enclosing-decls and enhanced.
6145
60ff536c
JB
61462011-12-23 Juanma Barranquero <lekktu@gmail.com>
6147
6148 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6149
1c4757d6
JL
61502011-12-22 Juri Linkov <juri@jurta.org>
6151
6152 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6153
d031f2c7
CY
61542011-12-22 Chong Yidong <cyd@gnu.org>
6155
6156 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6157
bace743a
DA
61582011-12-21 Drew Adams <drew.adams@oracle.com>
6159
6160 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6161
728a1f2b
JC
61622011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6163
6164 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6165
0d373f73
TZ
61662011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6167
fec0aaa4
TZ
6168 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6169 highlighting and support. Fix up comments for capitalization.
6170 (cfengine-mode-debug): New var.
6171 (cfengine3-mode): Change the modeline indicator to "CFE3".
6172 (cfengine3-font-lock-keywords): Improve defun highlighting.
6173 (cfengine2-actions): Rename from `cfengine-actions'.
6174 (cfengine2-font-lock-keywords): Rename from
6175 `cfengine-font-lock-keywords'.
6176 (cfengine2-imenu-expression): Rename from
6177 `cfengine-imenu-expression'.
6178 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6179 (cfengine2-beginning-of-defun): Rename from
6180 `cfengine-beginning-of-defun'.
6181 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6182 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6183 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6184 modeline indicator to "CFE2".
6185 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6186 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6187
bc86f573
CY
61882011-12-21 Chong Yidong <cyd@gnu.org>
6189
6190 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6191 filename argument.
6192
d45ba96b
MR
61932011-12-20 Martin Rudalics <rudalics@gmx.at>
6194
6195 * window.el (window-normalize-buffer-to-display): Remove.
6196 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6197
a6198c90
CY
61982011-12-19 Chong Yidong <cyd@gnu.org>
6199
6200 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6201 Don't signal an error in a predicate function; return non-nil.
6202 (vc-dir-mark-file): Move the error here.
6203 (vc-dir-mark-unmark): If acting on the region, keep going if one
6204 of the entries cannot be marked/unmarked.
6205 (vc-dir-mark-all-files): If current entry is a directory, mark
6206 only child files, as documented.
6207
34c5fb55
VB
62082011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6209
6210 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6211 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6212 addition.
6213
c803b2b7
JD
62142011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6215
6216 * term/ns-win.el (ns-get-selection-internal)
6217 (ns-store-selection-internal): Declare.
1154d12e
JB
6218 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6219 Declare as obsolete.
6220 (ns-get-pasteboard, ns-paste-secondary):
6221 Use ns-get-selection-internal.
6222 (ns-set-pasteboard, ns-copy-including-secondary):
6223 Use ns-store-selection-internal.
c803b2b7 6224
9cff91f8 62252011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6226
6227 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6228 (vc-deduce-fileset): Doc fix.
99a289d9 6229
f16c898a
AS
62302011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6231
6232 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6233
763237c4
SS
62342011-12-13 Sam Steingold <sds@gnu.org>
6235
6236 * man.el (Man-getpage-in-background): When running under a
6237 window-system, ignore $MANWIDTH and $COLUMNS.
6238
5fc1c122
KH
62392011-12-15 Kenichi Handa <handa@m17n.org>
6240
6241 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6242 (setup-ethiopic-environment-internal): Comment out key-binding for
6243 ethio-toggle-punctuation.
6244
13d49cbb
AM
62452011-12-13 Alan Mackenzie <acm@muc.de>
6246
898169a2
AM
6247 Add the switch statement to AWK Mode.
6248
7a71b18d 6249 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6250 "default" to the keywords regexp.
6251
7a71b18d 6252 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6253 expression as the rest.
1d00653d
SM
6254 (c-nonlabel-token-key): Allow string literals for AWK.
6255 Refactor for the other modes.
898169a2 6256
13d49cbb 6257 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6258 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6259 routines. Limit backward searching in c-font-lock-enclosing.decl.
6260
6261 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6262 pp-state and literal type in addition to the limits.
1d00653d 6263 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6264 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6265 (c-slow-in-literal, c-fast-in-literal): Remove.
6266 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6267
6268 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6269 being in a literal. Add a limit for backward searching.
6270
6271 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6272 c-slow-in-literal.
6273
15e0efc7
SM
62742011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6277
454592a6
MR
62782011-12-13 Martin Rudalics <rudalics@gmx.at>
6279
6280 * window.el (delete-other-windows): Use correct frame in call to
6281 window-with-parameter.
6282
87393f26
DP
62832011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6284
6285 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6286 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6287 (makefile-gmake-statements, makefile-makepp-statements):
6288 Use it and add new makepp keywords.
6289 (makefile-makepp-font-lock-keywords): Add new patterns.
6290 (makefile-match-function-end): Match new [...] and [[...]].
6291
11636b22
JB
62922011-12-11 Juanma Barranquero <lekktu@gmail.com>
6293
6294 * ses.el (ses-call-printer-return, ses-cell-property-get)
6295 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6296 (ses-create-cell-variable, ses-reset-header-string)
6297 (ses-cell-set-formula, ses-repair-cell-reference-all)
6298 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6299 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6300 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6301 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6302 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6303 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6304 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6305 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6306 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6307 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6308 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6309 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6310
cf018193
VB
63112011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6312
6313 * ses.el: The overall change is to add cell renaming, that is
6314 setting fancy names for cell symbols other than name matching
6315 "\\`[A-Z]+[0-9]+\\'" regexp .
6316 (ses-create-cell-variable): New defun.
6317 (ses-relocate-formula): Relocate formulas only for cells the
6318 symbols of which are not renamed, i.e. symbols whose names do not
6319 match regexp "\\`[A-Z]+[0-9]+\\'".
6320 (ses-relocate-all): Relocate values only for cells the symbols of
6321 which are not renamed.
6322 (ses-load): Create cells variables as the (ses-cell ...) are read,
6323 in order to check row col consistency with cell symbol name only
6324 for cells that are not renamed.
6325 (ses-replace-name-in-formula): New defun.
6326 (ses-rename-cell): New defun.
6327
ee957461
CY
63282011-12-11 Chong Yidong <cyd@gnu.org>
6329
6330 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6331 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6332
9a9e9ef0
MR
63332011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6334
6335 * window.el (other-window): Fix docstring.
6336
92a8eba5
EZ
63372011-12-10 Eli Zaretskii <eliz@gnu.org>
6338
6339 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6340 `from' or `to' address before taking its substring.
6341 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6342 encoded name is chopped in the middle of the encoded string, and
6343 thus displayed encoded.
6344
e152e577
JB
63452011-12-10 Juanma Barranquero <lekktu@gmail.com>
6346
6347 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6348
e5d84bfe
EZ
63492011-12-10 Eli Zaretskii <eliz@gnu.org>
6350
6351 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6352 to use texinfo-update-node and commands that call it if the
6353 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6354 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6355 (texinfo-all-menus-update, texinfo-master-menu)
6356 (texinfo-update-node, texinfo-every-node-update)
6357 (texinfo-multiple-files-update): Doc fix. Warn against updating
6358 all the @node lines.
6359 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6360 argument is numeric. Explain better in the doc string what the
6361 function really does.
6362 (texinfo-insert-master-menu-list): Improve the error message
6363 displayed if there's no menu in the Top node.
6364 (Bug#2975) See also this thread:
e5d84bfe
EZ
6365 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6366
1d84e9bb
MG
63672011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6368
6369 * speedbar.el (speedbar-supported-extension-expressions):
6370 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6371
382c953b
JB
63722011-12-09 Juanma Barranquero <lekktu@gmail.com>
6373
6374 * printing.el (pr-mode-alist):
6375 * simple.el (filter-buffer-substring-functions)
6376 (completion-list-insert-choice-function):
6377 * window.el (window-with-parameter, window-atom-root)
6378 (window-sides-slots, window-size-fixed, window-min-delta)
6379 (window-max-delta, window--resize-mini-window)
6380 (window--resize-child-windows-normal, window-tree)
6381 (delete-other-windows, quit-window, split-window)
6382 (display-buffer-record-window, special-display-buffer-names)
6383 (special-display-regexps, special-display-popup-frame)
6384 (same-window-p, split-window-sensibly)
6385 (display-buffer-overriding-action, display-buffer-alist)
6386 (display-buffer-base-action, display-buffer, switch-to-buffer)
6387 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6388 (fit-window-to-buffer, recenter-positions)
6389 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6390 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6391 and remove unneeded backslashes in docstrings.
6392
39c9faef
SM
63932011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6394
98449af8
SM
6395 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6396
39c9faef
SM
6397 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6398 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6399 end in ".mk".
6400 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6401 when reading the makefile (bug#10116).
6402
86ed9fdc
SM
64032011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6406 (bug#10116).
6407
5580f89d
GM
64082011-12-06 Glenn Morris <rgm@gnu.org>
6409
6410 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6411
28d3917c
CY
64122011-12-06 Chong Yidong <cyd@gnu.org>
6413
6414 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6415
a98edce9
JB
64162011-12-06 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * textmodes/table.el (table-shorten-cell): Fix typo.
6419
e65adfac
CG
64202011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6421
6422 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6423
71cc0b74
EZ
64242011-12-05 Eli Zaretskii <eliz@gnu.org>
6425
6426 * descr-text.el (describe-char): Fix display of strong
6427 right-to-left characters and directional embeddings and overrides.
6428
6429 * simple.el (what-cursor-position): Fix display of codepoints of
6430 strong right-to-left characters.
6431
315bc30d
CY
64322011-12-05 Chong Yidong <cyd@gnu.org>
6433
6434 * faces.el (read-color): Doc fix.
6435
58a70b94
GM
64362011-12-05 Glenn Morris <rgm@gnu.org>
6437
6438 * align.el (align--set-marker): Add doc-string.
6439 Don't try to move something that is not a marker. (Bug#10216)
6440
5158face
GM
64412011-12-04 Glenn Morris <rgm@gnu.org>
6442
6443 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6444 overly zealous deletion of trailing whitespace.
6445
520fca41
JB
64462011-12-04 Juanma Barranquero <lekktu@gmail.com>
6447
6448 * server.el (server-delete-client): On Windows, do not try to delete
6449 the only terminal.
6450 (server-process-filter): On Windows, treat requests for a tty frame as
6451 if they were for a GUI frame if the running server is in GUI mode.
6452
5e605a2e
GM
64532011-12-03 Glenn Morris <rgm@gnu.org>
6454
6455 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6456
5c3fe83f
SM
64572011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6f5e57e7
SM
6459 * electric.el: Streamline electric-indent's hook.
6460 (electric-indent-chars): Revert to simple list.
6461 (electric-indent-functions): New var.
6462 (electric-indent-post-self-insert-function): Use it.
6463
5c3fe83f
SM
6464 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6465 there's no inferior buffer (bug#10196).
6466 (prolog-consult-compile): Don't use toggle-read-only.
6467
6bdac736
MA
64682011-12-02 Michael Albinus <michael.albinus@gmx.de>
6469
6470 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6471 interrupt. (Bug#10187)
6472
6131ba7f
SM
64732011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6474
99c79fee
SM
6475 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6476 (bug#9160).
6477
6131ba7f
SM
6478 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6479 (bug#10191).
6480
cb0a02ea
JL
64812011-12-02 Juri Linkov <juri@jurta.org>
6482
6483 * info.el (Info-search): Display "end of manual" when Isearch
6484 reaches the end of single-file Info manual. (Bug#9918)
6485
66e0570c
EZ
64862011-12-02 Eli Zaretskii <eliz@gnu.org>
6487
6488 * isearch.el (isearch-message-prefix): Run the input method part
6489 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6490
02b16839
JL
64912011-12-02 Juri Linkov <juri@jurta.org>
6492
6493 * isearch.el (isearch-occur): Use `word-search-regexp' for
6494 `isearch-word'.
6495 (isearch-search-and-update): Add condition for `isearch-word' and
6496 call `word-search-regexp'. (Bug#10145)
6497
0b950688
GM
64982011-12-01 Glenn Morris <rgm@gnu.org>
6499
6500 * eshell/em-hist.el (eshell-hist-initialize):
6501 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6502 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6503
9505c3c7
SM
65042011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6505
6506 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6507
1bbe96b2 65082011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6509
a1beca85
SM
6510 * progmodes/verilog-mode.el (verilog-pretty-expr):
6511 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6512 verilog, such as += *= and the like.
6513 (verilog-assignment-operator-re): Regular expression to find the
6514 assigment operator in a verilog assignment.
6515 (verilog-assignment-operation-re): Regular expression to find an
6516 assignment statement for pretty-expr.
6517 (verilog-in-attribute-p): Query returns true if point is in an
6518 attribute context; used to skip these for expression line up from
6519 pretty-expr.
6520 (verilog-in-parameter-p): Query returns true if point is in an
6521 parameter definition context; used to skip these for expression
6522 line up from pretty-expr.
6523 (verilog-in-parenthesis-p): Query returns true if point is in a
6524 parenthetical expression, specifically ( ) but not [ ] or { };
6525 used by pretty-expr.
6526 (verilog-just-one-space): If there is no space, don't add one.
6527 (verilog-get-lineup-indent-2): Specifically skip just attribute
6528 contexts for expression lineup, rather than skipping all
6529 parenthetical expressions.
6530 (verilog-calculate-indent): Fix comment, and fix indent.
6531 (verilog-do-indent): Indent declarations in lists (suggested by
6532 Joachim Lechner).
6533 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6534 skeleton items.
6535 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6536 by Alain Mellan).
6537
1bbe96b2 65382011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6539
6540 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6541 parameters with embedded comments. Reported by Ray Stevens.
6542 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6543 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6544 Reported by Tim Holt.
6545 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6546 instantiated by upper module causing wrong expansion until AUTOed a
6547 second time. Reported by K C Buckenmaier.
6548 (verilog-diff-auto): Fix showing .* as a difference when
6549 `verilog-auto-star-save' off. Reported by Dan Dever.
6550 (verilog-auto-reset, verilog-read-always-signals)
6551 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6552 temporary signals in reset list if
6553 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6554 style to each signal's assignment type, bug381.
6555 Reported by Thomas Esposito.
6288f0ca
WS
6556 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6557 (verilog-uvm-statement-re): Support UVM indentation and
6558 highlighting, with old OVM keywords only.
a1beca85 6559 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6560 Support AUTOTIEOFF creating non-wire data types.
6561 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6562 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6563 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6564 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6565 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6566 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6567 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6568 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6569 non-numeric vector width. Reported by Alex Reed.
6570 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6571 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6572 (verilog-auto-delete-trailing-whitespace):
6573 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6574 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6575 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6576 Fix verilog-scan-cache corruption when running user AUTO expansion
6577 hooks that call indentation routines.
6578 (verilog-simplify-range-expression): Fix typo ignoring lower case
6579 identifiers.
6580 (verilog-delete-auto): Fix delete-autos to also remove user created
6581 automatics, as long as they start with AUTO.
6582 (verilog-batch-diff-auto, verilog-diff-auto)
6583 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6584 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6585 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6586 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6587 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6588 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6589 is disabled and its cache will get corrupt, causing AUTOS not to
6590 expand. Instead use only -quick functions.
6591 (verilog-scan-region): Fix scanning over escaped quotes.
6592 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6593 (verilog-re-search-backward-quick)
6594 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6595 related functions now ignore strings, to fix misparsing of strings
6596 with magic comments embedded in them.
a1beca85
SM
6597 (verilog-read-auto-template):
6598 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6599 Reported by Brad Dobbie.
6600 (verilog-read-auto-template):
6601 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6602 Reported by Brad Dobbie.
6288f0ca
WS
6603 (verilog-auto-inst, verilog-auto-inst-param)
6604 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6605 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6606 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6607 debugging templates without merge conflicts, bug357.
6608 Reported by Brad Dobbie.
6609 (verilog-read-auto-template):
6610 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6611 Reported by Brad Dobbie.
6612 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6613 abbrevs so user won't be asked to save.
6614 (verilog-read-auto-lisp-present): Fix to start at beginning of
6615 buffer in case called outside of verilog-auto.
6616 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6617 to "X-2". Reported by Matthew Myers.
6618 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6619 all inputs from module templates. Reported by Leith Johnson.
6620 (verilog-module-inside-filename-p): Fix locating programs as with
6621 modules.
6622 (verilog-auto-inst-port): Fix vl-width expressions when using
6623 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6624 (verilog-decls-get-regs, verilog-decls-get-signals,
6625 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6626 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6627 verilog-read-decls): Combine reg and wire structures into one var
6628 structure to represent SystemVerilog concepts.
6629 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6630 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6631 (verilog-auto-wire-type, verilog-insert-definition):
6632 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6633 SystemVerilog "logic" keyword instead of "wire"/"reg".
6634 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6635 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6636 ifdef or generate if so there's not a driver conflict).
6637 Reported by Matthew Myers.
6638 (verilog-auto-declare-nettype, verilog-insert-definition):
6639 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6640 `default_nettype none. Reported by Julian Gorfajn.
6641 (verilog-read-always-signals-recurse, verilog-read-decls)
6642 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6643 malformed end statement, bug325. Reported by Joshua Wise and
6644 Andrew Drake.
6645 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6646 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6647 when expanding .* in interfaces, bug320.
6648 Reported by Pierre-David Pfister.
6288f0ca 6649 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6650 name and open parenthesis, bug317.
6651 Reported by Pierre-David Pfister.
6288f0ca
WS
6652 (verilog-simplify-range-expression): Fix simplification of
6653 multiplications inside AUTOWIRE connections, bug303.
6654 (verilog-auto-inst-port): Support parameter expansion in
6655 multidimensional arrays.
6656 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6657 after "assert property". Reported by Julian Gorfajn.
6658 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6659 with multiplication, bug303.
6660 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6661 Reported by Jan Frode Lonnum.
6662
1bbe96b2
GM
66632011-11-30 Juanma Barranquero <lekktu@gmail.com>
6664
6665 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6666 (hfy-shell-file-name, hfy-shell):
6667 * international/fontset.el (x-decompose-font-name): Fix typos.
6668
66692011-11-29 Ken Brown <kbrown@cornell.edu>
6670
6671 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6672 (gdb-version): Remove defvar.
6673 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6674 (gdb-gud-context-command, gdb-non-stop-handler)
6675 (gdb-current-context-command, gdb-stopped): Use it.
6676 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6677 (gdb-non-stop-handler): Don't enable pretty-printing here.
6678 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6679 non-stop mode. Use the following.
6680 (gdb-check-target-async): New defun.
6681 (gud-watch, gdb-stopped): Fix whitespace.
6682 (gdb-get-source-file): Don't try to display the source file if
6683 `gdb-main-file' is nil.
6684
66852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * align.el: Try to generate fewer markers (bug#10047).
6688 (align--set-marker): New macro.
6689 (align-region): Use it.
6690
c935221f
SM
66912011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6694
e70b5064
CY
66952011-11-29 Chong Yidong <cyd@gnu.org>
6696
6697 * indent.el (indent-for-tab-command, indent-according-to-mode):
6698 Doc fix.
6699 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6700
f3af92b7
MA
67012011-11-29 Michael Albinus <michael.albinus@gmx.de>
6702
6703 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6704 aware of remote file names. (Bug#10124)
6705
ed472be9
CY
67062011-11-29 Chong Yidong <cyd@gnu.org>
6707
6708 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6709
24510c22
SM
67102011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * files.el (find-file): Don't use force-same-window (bug#10144).
6713 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6714 use pop-to-buffer if the selected window can't be used.
6715 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6716
c60c3703
EZ
67172011-11-28 Eli Zaretskii <eliz@gnu.org>
6718
6719 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6720 special-mode-map.
6721
e95def75
CY
67222011-11-28 Chong Yidong <cyd@gnu.org>
6723
6724 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6725
c3f1c606
NR
67262011-11-27 Nick Roberts <nickrob@snap.net.nz>
6727
6728 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6729 gdb-get-source-file-list on gdb-create-source-file-list.
6730
00db469c
EZ
67312011-11-26 Eli Zaretskii <eliz@gnu.org>
6732
6733 * whitespace.el (whitespace-newline): Use a different foreground
6734 color for 16-color light-background displays.
6735
4ad3bc2a
CY
67362011-11-24 Chong Yidong <cyd@gnu.org>
6737
6738 * window.el (display-buffer--special-action): Doc fix.
6739
e9fce1ac
JB
67402011-11-25 Juanma Barranquero <lekktu@gmail.com>
6741
6742 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6743 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6744 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6745 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6746 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6747 (avl-tree-stack-first):
6748 * emacs-lisp/cconv.el (cconv--analyse-use):
6749 * net/gnutls.el (gnutls-negotiate): Fix typos.
6750
cb825e5d
GM
67512011-11-24 Glenn Morris <rgm@gnu.org>
6752
3adbe224
GM
6753 * lpr.el (lpr-windows-system, lpr-lp-system):
6754 * mail/binhex.el (binhex-begin-line):
6755 * progmodes/grep.el (grep-history, grep-find-history):
6756 * textmodes/flyspell.el:
6757 * vc/pcvs-defs.el (cvs-global-menu):
6758 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6759 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6760 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6761
321decc8
GM
6762 * net/tls.el: Fix case of "GnuTLS".
6763
420b63ad
GM
6764 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6765
cb825e5d
GM
6766 * version.el (emacs-build-system): Give it a doc-string.
6767
a0649f08
JL
67682011-11-24 Juri Linkov <juri@jurta.org>
6769
6770 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6771
c0bc0fd4
GM
67722011-11-24 Glenn Morris <rgm@gnu.org>
6773
6774 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6775 if called on a non-mime message just toggle the headers. (Bug#8006)
6776
20db1522
JB
67772011-11-24 Juanma Barranquero <lekktu@gmail.com>
6778
6779 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6780 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6781 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6782 (allout-rebullet-heading, allout-open-sibtopic)
6783 (allout-toggle-current-subtree-encryption)
6784 (allout-toggle-subtree-encryption, allout-encrypt-string)
6785 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6786 (allout-distinctive-bullets-string, allout-auto-activation):
6787 * window.el (window-normalize-buffer-to-display):
6788 * progmodes/verilog-mode.el (verilog-batch-indent):
6789 * textmodes/bibtex.el (bibtex-field-braces-opt)
6790 (bibtex-field-strings-opt):
6791 * vc/cvs-status.el (cvs-tree-merge):
6792 Fix typos.
6793
7262a87c
MA
67942011-11-23 Michael Albinus <michael.albinus@gmx.de>
6795
6796 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6797 `non-essential' to t, in order to avoid remote connections.
6798
283430a1
EZ
67992011-11-23 Eli Zaretskii <eliz@gnu.org>
6800
a1beca85
SM
6801 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6802 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6803 case-insensitively.
6804
d2992a38
ML
68052011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6806
6807 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6808
50419064
GM
68092011-11-23 Glenn Morris <rgm@gnu.org>
6810
da94eca1
GM
6811 * paths.el (rmail-file-name): Reformat the doc-string so that it
6812 is picked up.
6813
9aac4de2
GM
6814 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6815 (rmail-auto-file): Ignore case in the "special" field names,
6816 as mail-fetch-field does for all others.
6817
8038d2d2
GM
6818 * mail/rmail.el (rmail-forward):
6819 * mail/rmailkwd.el (rmail-set-label):
6820 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6821 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6822
f3fe222a
GM
6823 * mail/rmail.el (rmail-current-message): Doc fix.
6824
50419064
GM
6825 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6826
28109f49
SM
68272011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6830
394c65f1
GM
68312011-11-22 Glenn Morris <rgm@gnu.org>
6832
6833 * mail/rmailmm.el (test-rmail-mime-handler)
6834 (test-rmail-mime-bulk-handler)
6835 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6836
f2a0aa3a
JL
68372011-11-21 Juri Linkov <juri@jurta.org>
6838
1154d12e
JB
6839 * calc/calc.el (calc-read-key-sequence):
6840 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6841
9c34a344
LMI
68422011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6843
6844 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6845 Tell the caller that the next line needs recomputation, even
6846 though it doesn't start a sexp (bug#10094).
6847
f04a3be9
SM
68482011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6851
7978747f
SM
68522011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6853
f04a3be9
SM
6854 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6855 Use force-same-window.
7978747f 6856
fe7a3057
JB
68572011-11-20 Juanma Barranquero <lekktu@gmail.com>
6858
6859 * descr-text.el (describe-char-unicode-data):
6860 * json.el (json-string-escape):
6861 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6862 (Footnote-unicode, Footnote-style-p):
6863 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6864
24901d61
CY
68652011-11-20 Chong Yidong <cyd@gnu.org>
6866
6867 * window.el (replace-buffer-in-windows): Restore interactive spec.
6868
bac7ff22
SM
68692011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6870
24f3d7b9
SM
6871 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6872
bac7ff22
SM
6873 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6874 (byte-compile-global-not-obsolete-vars): New var.
6875 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6876 Use it.
6877 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6878
cd1181db
JB
68792011-11-20 Juanma Barranquero <lekktu@gmail.com>
6880
6881 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6882 * progmodes/pascal.el (electric-pascal-equal):
6883 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6884 * xml.el (xml-substitute-special): Fix typos.
6885
7fb18e9e
GM
68862011-11-20 Glenn Morris <rgm@gnu.org>
6887
6888 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6889 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6890 Doc fixes.
6891 (rmail-decode-mime-charset): Mark as obsolete.
6892
6893 * mail/rmailsum.el (rmail-message-regexp-p-1):
6894 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6895 Before using mime functions, check they are set. (Bug#10077)
6896
d5a6b3ba
JL
68972011-11-19 Juri Linkov <juri@jurta.org>
6898
6899 * info.el (Info-finder-find-node): Use `package--builtins' instead
6900 of `package-alist'. Use node names formed by the pattern "Keyword "
6901 and the keyword name.
6902
e981b61f
AS
69032011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6904
1d00653d 6905 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6906
3ffbc301
JL
69072011-11-19 Juri Linkov <juri@jurta.org>
6908
6909 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6910 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6911 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6912 `old-history', `old-history-forward'. Add let-binding
6913 `window-selected'. Remove calls to `kill-buffer',
6914 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6915 before calling `Info-find-node', so `Info-find-node-2' will reread
6916 the Info file. Restore window positions only when `window-selected'
6917 is non-nil.
6918
30c62133
JL
69192011-11-19 Juri Linkov <juri@jurta.org>
6920
6921 * isearch.el (isearch-lazy-highlight-new-loop):
6922 Remove condition `(not isearch-error)'. (Bug#9918)
6923
6924 * misearch.el (multi-isearch-search-fun): Add condition
6925 `(not bound)' to ignore lazy-highlighting search.
6926 Add the search-failed message "end of multi" when the end of
6927 multi-sequence is reached. Uncapitalize the search-failed
6928 message "Repeat for next buffer".
6929
6930 * info.el (Info-search): Add the search-failed message
6931 "end of the manual" when the end of the manual is reached
6932 in Isearch mode.
6933
645ca9cf
JL
69342011-11-19 Juri Linkov <juri@jurta.org>
6935
6936 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6937 Use non-destructive `remove' instead of `delete' because
6938 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6939 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6940
df754f66
JL
69412011-11-19 Juri Linkov <juri@jurta.org>
6942
6943 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6944 to nil instead of binding `search-ring' and `regexp-search-ring'.
6945 (Bug#9185)
6946
0e23d96a
EZ
69472011-11-19 Eli Zaretskii <eliz@gnu.org>
6948
6949 * simple.el (line-move): Force movement by logical lines for any
6950 hscrolled window, not only when auto-hscroll-mode is on.
6951 (line-move-visual): Update doc string to that effect. (Bug#10076)
6952
8a6ccb66
AS
69532011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6954
6955 * language/european.el (macintosh): Define as alias for mac-roman.
6956
49ae5b39
EZ
69572011-11-19 Eli Zaretskii <eliz@gnu.org>
6958
6959 * mail/rmailmm.el (rmail-mime-display-header)
6960 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6961 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6962 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6963 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6964 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6965 of a raw aref.
6966 (rmail-mime-entity-segment): To get past the tagline, move forward
6967 2 more lines, to account for the 2 empty lines that precede and
6968 follow the line with the buttons.
6969 (rmail-mime-update-tagline): Move one more line, to get past the
6970 empty line that follows the buttons in the tagline. (Bug#9520)
6971
c56cad4a
MR
69722011-11-19 Martin Rudalics <rudalics@gmx.at>
6973
6974 * window.el (window-max-delta-1, window-min-delta-1)
6975 (window-min-size-1, window-state-get-1, window-state-put-1)
6976 (window-state-put-2): Use "window--" prefix.
6977
cbe71af3
SM
69782011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6979
2ad52c60
SM
6980 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6981 (smie-warning-count): New var.
6982 (smie-set-prec2tab): Use it.
6983 (smie-bnf->prec2): Improve warnings. Add docstring.
6984 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6985 (smie-bnf--set-class): New function.
6986 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6987 corner case.
6988
6944dbc1
SM
6989 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6990 (compilation-error-properties, compilation-move-to-column):
6991 Handle compilation-first-column while in the target buffer.
6992
c400c4d7
SM
6993 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6994 Don't hardcode point-min==1.
6995
6dbe3e96
SM
6996 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6997 (eshell-rewrite-for-command): Remove workaround.
6998 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6999 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7000 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7001
cbe71af3
SM
7002 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7003
a8e1496d
GM
70042011-11-17 Glenn Morris <rgm@gnu.org>
7005
7006 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7007 Ignore buffer-local generated-autoload-file if it is the same
7008 as the global value. (Bug#10049)
7009
df85d315
JB
70102011-11-17 Juanma Barranquero <lekktu@gmail.com>
7011
7012 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7013 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7014 (reftex-toc-previous-heading, reftex-toc-max-level)
7015 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7016 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7017 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7018 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7019 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7020 (reftex-toc-rename-label, reftex-toc-visit-location)
7021 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7022 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7023 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7024 leaving "*toc*" only for references to the buffer.
7025
a0c2d0ae
MR
70262011-11-17 Martin Rudalics <rudalics@gmx.at>
7027
7028 * window.el (window-resize, delete-window, split-window):
7029 Replace window-splits by window-combination-resize.
1d00653d 7030 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7031
35c0bac8
GM
70322011-11-17 Glenn Morris <rgm@gnu.org>
7033
7034 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7035 Make bash entry derive from sh entry, not shell entry.
7036
d0c8fc8a
MA
70372011-11-16 Michael Albinus <michael.albinus@gmx.de>
7038
7262a87c
MA
7039 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7040 local file name.
7041
7877f373
JB
70422011-11-16 Juanma Barranquero <lekktu@gmail.com>
7043
7044 * menu-bar.el (menu-bar-file-menu):
7045 * printing.el (pr-ps-utility):
7046 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7047 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7048 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7049 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7050 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7051 (icalendar--convert-cyclic-to-ical)
7052 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7053 (icalendar--convert-ical-to-diary)
7054 (icalendar--convert-recurring-to-diary)
7055 (icalendar--convert-non-recurring-all-day-to-diary)
7056 (icalendar-import-format-sample):
7057 * progmodes/idlw-shell.el (idlwave-shell-mode):
7058 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7059 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7060 (vhdl-ps-print-init): Fix typos.
7061
10649b82
KM
70622011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7063
9d0cfcd6
GM
7064 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7065 FSF and collapse date sequence, obscure author/maintainer email address
7066 better, remove extra version line, track relocation of author's webpage.
10649b82 7067
9d0cfcd6
GM
7068 * progmodes/python.el (python-pdbtrack-input-prompt)
7069 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7070 regular python pdb prompts. Adjustments shamelessly taken exactly as
7071 suggested in EmacsWiki page (tiny change):
7072 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7073
58179cce
JB
70742011-11-16 Juanma Barranquero <lekktu@gmail.com>
7075
7076 * expand.el (expand-pos, expand-index, expand-point):
7077 Remove redundant info from docstring.
7078 (expand-add-abbrevs): Doc fix.
7079 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7080 (expand-sample-perl-mode-expand-list): Fix typos.
7081
7082 * net/dbus.el (dbus-event-member-name):
7083 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7084 * term/pc-win.el (msdos-create-frame-with-faces):
7085 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7086
b6f67890
MR
70872011-11-16 Martin Rudalics <rudalics@gmx.at>
7088
7089 * window.el (split-window, window-state-get-1)
7090 (window-state-put-1, window-state-put-2): Rename occurrences of
7091 window-nest to window-combination-limit.
1d00653d 7092 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7093
ce7ddba0
CY
70942011-11-16 Chong Yidong <cyd@gnu.org>
7095
7096 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7097 regexp (Bug#10033).
7098
3ae704f4
SM
70992011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7102 `completing-read' will remove *Completions* and will preserve
7103 current-buffer for us.
7104 (tmm-add-prompt): Users of *Completions* will always (re)set its
7105 major mode.
7106 (tmm-old-comp-map): Remove.
7107
6ad1cdde
GM
71082011-11-16 Glenn Morris <rgm@gnu.org>
7109
7110 * mail/rmailedit.el: Require rmailmm when compiling.
7111 (rmail-old-mime-state): New declaration.
7112 (rmail-edit-current-message): If editing a mime message,
7113 edit the "raw" message from the mbox buffer.
7114 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7115
d20faa20
GM
71162011-11-15 Glenn Morris <rgm@gnu.org>
7117
7118 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7119 which wasn't being used. Add optional arg to force given state.
7120 (rmail-mime): Add optional arg to force given state.
7121
c7015153
JB
71222011-11-15 Juanma Barranquero <lekktu@gmail.com>
7123
7124 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7125 * frame.el (display-mm-dimensions-alist):
7126 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7127 (outline-move-subtree-down):
7128 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7129 (newsticker--treeview-do-get-node):
7130 * net/quickurl.el (quickurl-list-buffer-name):
7131 * progmodes/dcl-mode.el (dcl-mode):
7132 * progmodes/gdb-mi.el (gdb-mapcar*):
7133 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7134
45261b50
GM
71352011-11-15 Glenn Morris <rgm@gnu.org>
7136
7137 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7138 in a boolean sense, so just make it a boolean, and fix the doc.
7139 (rmail-show-mime-function, rmail-mime-feature)
7140 (rmail-require-mime-maybe): Doc fixes.
7141 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7142
7143 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7144
0d26e0b6
JB
71452011-11-15 Juanma Barranquero <lekktu@gmail.com>
7146
7147 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7148 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7149 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7150 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7151
447f30f6
GM
71522011-11-15 Glenn Morris <rgm@gnu.org>
7153
672b871d
GM
7154 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7155 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7156 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7157 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7158 (rmail-mime, rmail-show-mime): Doc fixes.
7159
f6aa5bb1
GM
7160 * term/ns-win.el (mode-line-frame-identification):
7161 Leave it alone. (Bug#10051)
7162
947cd66b
GM
7163 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7164
447f30f6
GM
7165 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7166 Handle empty buffers. (Bug#9978)
7167
0b381c7e
JB
71682011-11-14 Juanma Barranquero <lekktu@gmail.com>
7169
7170 * international/mule.el (define-charset):
7171 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7172 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7173 * progmodes/verilog-mode.el (verilog-backward-token):
7174 * textmodes/ispell.el (lookup-words):
7175 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7176
71e027ac
GM
71772011-11-14 Glenn Morris <rgm@gnu.org>
7178
56632ce4
GM
7179 * progmodes/executable.el
7180 (executable-make-buffer-file-executable-if-script-p):
7181 Handle file-modes returning nil.
7182
40500957
GM
7183 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7184 message - not necessary, and causes problems. (Bug#9831)
7185
071c2340
GM
7186 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7187
d3cfca60
GM
7188 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7189
71e027ac
GM
7190 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7191 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7192 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7193
89d61221
MR
71942011-11-12 Martin Rudalics <rudalics@gmx.at>
7195
7196 * window.el (window-resize, delete-window): Use window-splits
7197 variable instead of function.
7198 (window-state-get-1, window-state-put-2, window-state-put):
7199 Don't deal with windows' splits status.
7200
98282f6f
GM
72012011-11-12 Glenn Morris <rgm@gnu.org>
7202
7203 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7204 (apropos-documentation): Doc fixes.
7205
40a8bdf6
JB
72062011-11-11 Juanma Barranquero <lekktu@gmail.com>
7207
7208 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7209 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7210
65bd19ff
SM
72112011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * electric.el (electric-indent-post-self-insert-function): Make it
7214 possible for a char to only indent in some circumstances.
7215 (electric-indent-mode): Simplify.
7216
54f9154c
MR
72172011-11-11 Martin Rudalics <rudalics@gmx.at>
7218
7219 * window.el (windows-with-parameter): Remove unused function.
7220 (windows-at-side): Rename to window-at-side-list.
7221 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7222 (window-side-check, window-size-ignore, window-size-fixed-1)
7223 (window-in-direction-2): Prefix with "window--".
7224 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7225
68cbc58b
GM
72262011-11-11 Glenn Morris <rgm@gnu.org>
7227
7228 * subr.el (eval-after-load): If FILE is already loaded,
7229 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7230
b2621720
GM
72312011-11-10 Glenn Morris <rgm@gnu.org>
7232
9a4de110
GM
7233 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7234 Call svn via vc-svn-command rather than vc-do-command.
7235 (vc-svn-command): Add --non-interactive. (Bug#9993)
7236 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7237
b2621720
GM
7238 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7239 Add toggle-read-only. (Bug#7292)
7240 * files.el (toggle-read-only): Mention that it should only
7241 be used interactively. (Bug#10006)
7242
1dce7193
SM
72432011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7244
d9ac1a1e
SM
7245 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7246 Adjust regexp for OCaml warnings.
7247
0c325082
SM
7248 * electric.el (electric-pair-post-self-insert-function): Let user
7249 turn it off buffer-locally (bug#9932).
7250
90132c14
SM
7251 * progmodes/python.el (python-beginning-of-statement):
7252 Rewrite (bug#2703).
7253
1dce7193
SM
7254 * progmodes/compile.el: Better handle TABs (bug#9749).
7255 (compilation-internal-error-properties)
7256 (compilation-next-error-function): Obey the target buffer's
7257 compilation-error-screen-columns.
7258
c4e7c63a
JB
72592011-11-09 Juanma Barranquero <lekktu@gmail.com>
7260
7261 * progmodes/meta-mode.el: Remove obsolete comments.
7262 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7263 Fix typos in docstrings.
7264
2cffd681
MR
72652011-11-09 Martin Rudalics <rudalics@gmx.at>
7266
7267 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7268 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7269 (window--resizable): New function. Make all callers of
7270 window-resizable call window--resizable instead.
7271 (window-resizable): Rewrite in terms of window--resizable.
7272
0edcba87
GM
72732011-11-08 Glenn Morris <rgm@gnu.org>
7274
7275 * progmodes/delphi.el (delphi-mode-syntax-table):
7276 Let define-derived-mode define a proper syntax table. (Bug#9994)
7277
4b0d61e3
SM
72782011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * window.el: Stay away from defsubst.
7281 (window-list-no-nils): Remove.
7282 (window-state-get-1, window-state-get): Use backquote instead.
7283
cd394be1 72842011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7285
4b0d61e3 7286 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7287 Fix incorrect use of default argument in `completing-read'.
7288
e1c2c6f2
MR
72892011-11-08 Martin Rudalics <rudalics@gmx.at>
7290
7291 * window.el (display-buffer-function, special-display-function):
7292 Mention display-buffer-record-window but do not mention
7293 help-setup parameter in doc-strings.
b3f4a882 7294 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7295
105216ed
CY
72962011-11-08 Chong Yidong <cyd@gnu.org>
7297
7298 * window.el (window-total-height, window-total-width): Doc fix.
7299 (window-body-size): Move from C.
7300 (window-body-height, window-body-width): Move to C.
7301
0a9f9ab5
SM
73022011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * window.el: Make special-display like display-buffer-alist (bug#9532).
7305 (display-buffer--special-action): New function, morphed
7306 from display-buffer--special.
7307 (display-buffer): Use it to handle special-display-buffers at higher
7308 priority (just after display-buffer-alist).
7309 (display-buffer-fallback-action, display-buffer--other-frame-action)
7310 (pop-to-buffer-same-window): Remove display-buffer--special.
7311
a769dd15
GM
73122011-11-07 Glenn Morris <rgm@gnu.org>
7313
7314 * calendar/cal-menu.el (cal-menu-set-date-title):
7315 Do nothing if not in a calendar. (Bug#9976)
7316
05a61ee3
SM
73172011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * files.el (find-file): Always use selected-window.
7320
be7f5545
MR
73212011-11-07 Martin Rudalics <rudalics@gmx.at>
7322
7323 * window.el (window-combinations): Make WINDOW argument
7324 mandatory. Rewrite doc-string.
7325 (walk-window-subtree, window-atom-check, window-min-delta)
7326 (window-max-delta, window--resize-this-window)
7327 (window--resize-root-window-vertically, window-tree)
7328 (balance-windows, window-state-put): Rewrite doc-strings as to
7329 not mention the term "subwindow".
7330 (window--resize-subwindows-skip-p): Rename to
7331 window--resize-child-windows-skip-p.
7332 (window--resize-subwindows-normal): Rename to
7333 window--resize-child-windows-normal.
7334 (window--resize-subwindows): Rename to
7335 window--resize-child-windows.
7336 (window-or-subwindow-p): Rename to window--in-subtree-p.
7337
3c6702ef
ML
73382011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7339
7340 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7341 Ensure that mbox format messages end in two newlines (Bug#9974).
7342
49745b39
CY
73432011-11-06 Chong Yidong <cyd@gnu.org>
7344
7345 * window.el (window-combination-p): Function deleted; its
7346 side-effect is not used in any existing code.
7347 (window-combinations, window-combined-p): Call window-*-child
7348 directly.
7349
24300f5f
CY
73502011-11-05 Chong Yidong <cyd@gnu.org>
7351
7352 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7353 (window-size-ignore, window-state-get): Callers changed.
7354 (window-normalize-window): Rename from window-normalize-any-window.
7355 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7356 (window-normalize-live-window): Delete.
447f16b8
CY
7357 (window-combination-p, window-combined-p, window-combinations)
7358 (walk-window-subtree, window-atom-root, window-min-size)
7359 (window-sizable, window-sizable-p, window-size-fixed-p)
7360 (window-min-delta, window-max-delta, window-resizable)
7361 (window-resizable-p, window-full-height-p, window-full-width-p)
7362 (window-current-scroll-bars, window-point-1, set-window-point-1)
7363 (window-at-side-p, window-in-direction, window-resize)
7364 (adjust-window-trailing-edge, maximize-window, minimize-window)
7365 (window-deletable-p, delete-window, delete-other-windows)
7366 (record-window-buffer, unrecord-window-buffer)
7367 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7368 (quit-window, split-window, window-state-put)
7369 (set-window-text-height, fit-window-to-buffer)
7370 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7371
89bd5ee1
EZ
73722011-11-04 Eli Zaretskii <eliz@gnu.org>
7373
53479029
EZ
7374 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7375 rfc2047-decode-string.
7376 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7377 warnings.
7378
89bd5ee1
EZ
7379 * window.el (window-body-height, window-body-width): Mention in
7380 the doc string that the return values are in frame's canonical
7381 units. (Bug#9949)
7382
bd17fdee
AM
73832011-11-03 Alan Mackenzie <acm@muc.de>
7384
7385 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7386 change in cc-engine.el.
7387
acc825c5
SM
73882011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7391
1885e5b8
MR
73922011-11-02 Martin Rudalics <rudalics@gmx.at>
7393
7394 * window.el (quit-window): Call unrecord-window-buffer after
7395 showing another buffer in the window. (Bug#9937)
acc825c5 7396 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7397
ebe06da9
JB
73982011-11-02 Juanma Barranquero <lekktu@gmail.com>
7399
7400 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7401 Accept status with more than 9 shelves. (Bug#9935)
7402 Reported by Colin D Bennett <colin@gibibit.com>.
7403
4ee88440
MR
74042011-11-01 Martin Rudalics <rudalics@gmx.at>
7405
7406 * help.el (with-help-window): Don't reference
7407 temp-buffer-show-specifiers in doc-string.
7408
08e1d82c
AS
74092011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7410
7411 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7412 menu-item.
7413
84bd6e9e
VJL
74142011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7415
7416 * whitespace.el: New version 13.2.2.
7417 (whitespace-newline-mode): Disable properly. Reported by Sarah
7418 <EmacsWiki>.
7419
dba0634a
UJ
74202011-10-30 Ulf Jasper <ulf.jasper@web.de>
7421
7422 * net/newst-treeview.el: Remove "Time-stamp".
7423 (newsticker--group-manage-orphan-feeds): Do not call
7424 newsticker--treeview-tree-update.
db22a3c2
JB
7425 (newsticker-treeview-update, newsticker-treeview):
7426 Call newsticker--treeview-tree-update if necessary.
dba0634a 7427
3d8daefe
MR
74282011-10-30 Martin Rudalics <rudalics@gmx.at>
7429
7430 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7431 (window-iso-combinations): Remove "iso-" infix.
7432 Suggested by Chong Yidong.
3d8daefe
MR
7433 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7434 (window-max-delta-1, window-resize, window--resize-siblings)
7435 (window--resize-this-window, adjust-window-trailing-edge)
7436 (split-window, balance-windows-1)
7437 (shrink-window-if-larger-than-buffer):
7438 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7439 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7440
1bc4c3ae
SM
74412011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7444 in place (bug#9907).
7445 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7446 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7447 (eshell-structure-basic-command, eshell-rewrite-while-command)
7448 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7449 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7450 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7451 (eshell-do-pipelines-synchronously, eshell-eval-command):
7452 Use backquotes and prefer setq to set.
7453 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7454 (eshell-macrop): Use functionp.
c1e2f5fa 7455 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7456
30b65d9c
CY
74572011-10-30 Chong Yidong <cyd@gnu.org>
7458
7459 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7460 instead of set-mark (Bug#9810).
7461
2d197ffb
CY
74622011-10-30 Chong Yidong <cyd@gnu.org>
7463
7464 * window.el (split-window-below, split-window-right): Rename from
7465 split-window-above-each-other and split-window-side-by-side
7466 respectively. All callers changed.
7467 (split-window-sensibly, split-window-sensibly): Use them.
7468 (split-window-keep-point): Doc fix.
7469
7470 * isearch.el: Add isearch-scroll property to split-window-below
7471 and split-window-right.
7472
7473 * follow.el (follow-mode):
7474 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7475 * progmodes/ada-xref.el (ada-gdb-application):
7476 * emulation/vip.el (vip-buffer-in-two-windows):
7477 * image-dired.el (image-dired-dired-with-window-configuration):
7478 * dired-x.el (dired-do-find-marked-files):
7479 * dired.el (dired-pop-to-buffer):
7480 * bs.el (bs--show-with-configuration):
7481 * vc/emerge.el (emerge-setup-windows):
7482 * textmodes/two-column.el (2C-two-columns):
7483 * textmodes/reftex-toc.el (reftex-toc):
7484 * progmodes/gdb-mi.el (gdb-setup-windows):
7485 * progmodes/fortran.el (fortran-window-create):
7486 * net/newst-treeview.el (newsticker--treeview-window-init):
7487 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7488 * emulation/tpu-edt.el (tpu-gold-map):
7489 * emulation/crisp.el (crisp-mode-map):
7490 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7491
38bb2ca8
CY
74922011-10-29 Chong Yidong <cyd@gnu.org>
7493
aa4de341
CY
7494 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7495
e1eb5385
CY
7496 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7497
5d2ece3c
CY
7498 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7499 forged Ispell output (Bug#7904).
7500
38bb2ca8
CY
7501 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7502
d0af9f77
SM
75032011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * doc-view.el: Avoid ugly errors about not finding nil.
7506 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7507 (doc-view-dvipdf-program, doc-view-unoconv-program)
7508 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7509 Avoid nil or absolute file name as default value.
7510 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7511
52bedd34
AM
75122011-10-28 Alan Mackenzie <acm@muc.de>
7513
db22a3c2 7514 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7515
7e43cfa5
AM
75162011-10-28 Alan Mackenzie <acm@muc.de>
7517
7518 Amend the handling of c-beginning/end-of-defun in nested declaration
7519 scopes.
7520
52bedd34
AM
7521 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7522 cc-langs.el. Change it to a defcustom.
7e43cfa5 7523
52bedd34
AM
7524 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7525 cc-vars.el.
7e43cfa5 7526
d0af9f77
SM
7527 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7528 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7529
52bedd34 7530 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7531 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7532 (c-widen-to-enclosing-decl-scope): New function.
7533 (c-while-widening-to-decl-block): New macro.
7534 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7535 outward for defun boundaries, and correspondingly change symbol
7536 `respect-enclosure' to `go-outward'.
7537 (c-declaration-limits): Change algorithm to report only the "innermost"
7538 defun's boundaries.
7539
1a2ce9ee
DD
75402011-10-28 Deniz Dogan <deniz@dogan.se>
7541
7542 * net/rcirc.el (rcirc-mode): Use hard newlines.
7543
bc97a826
AM
75442011-10-28 Alan Mackenzie <acm@muc.de>
7545
7546 Amend to indent and fontify macros "which include their own semicolon"
7547 correctly, using the "virtual semicolon" mechanism.
7548
52bedd34 7549 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7550
d0af9f77 7551 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7552 Recode to scan one line at a time rather than having \n and \r
58179cce 7553 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7554 (c-forward-label): Amend for virtual semicolons.
58179cce 7555 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7556
52bedd34
AM
7557 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7558 of the new C macros.
bc97a826 7559
52bedd34 7560 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7561 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7562 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7563 (c-opt-cpp-macro-define): Make into a full language variable.
7564 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7565 AWK Mode (including \n, \r) removed, no longer needed.
7566
d0af9f77
SM
7567 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7568 Invoke c-make-macro-with-semi-re.
bc97a826 7569
52bedd34
AM
7570 * progmodes/cc-vars.el (c-macro-with-semi-re):
7571 (c-macro-names-with-semicolon): New variables.
58179cce 7572 (c-make-macro-with-semi-re): New function.
bc97a826 7573
7a6c0941
SM
75742011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7575
7576 * vc/log-edit.el: Fill empty field rather than adding new one.
7577 (log-edit-add-field): New function.
7578 (log-edit-insert-changelog): Use it.
7579
b0c4cdcf
ML
75802011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7581
7582 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7583
ee1f1da9
SM
75842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7585
7586 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7587 (gdb--check-interpreter): New function.
7588 (gdb): Use it.
7589
51bc5f8b
GM
75902011-10-27 Glenn Morris <rgm@gnu.org>
7591
416a2c45
GM
7592 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7593 (least-positive-float, least-negative-float)
7594 (least-positive-normalized-float, least-negative-normalized-float)
7595 (float-epsilon, float-negative-epsilon):
7596 Remove unnecessary declarations.
7597
7598 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7599 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7600 (least-positive-float, least-negative-float)
7601 (least-positive-normalized-float, least-negative-normalized-float)
7602 (float-epsilon, float-negative-epsilon): Add doc-strings,
7603 based on those in cl.texi.
7604
51bc5f8b
GM
7605 * files.el (set-visited-file-name): If the major-mode changed,
7606 reload the local variables. (Bug#9796)
7607
15de15c6
CY
76082011-10-27 Chong Yidong <cyd@gnu.org>
7609
7610 * subr.el (change-major-mode-after-body-hook): New hook.
7611 (run-mode-hooks): Run it.
7612
ee1f1da9
SM
7613 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7614 Use change-major-mode-before-body-hook.
15de15c6
CY
7615
7616 * simple.el (fundamental-mode):
7617 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7618 change introducing fundamental-mode-hook.
7619
5430d399
JB
76202011-10-26 Juanma Barranquero <lekktu@gmail.com>
7621
acc825c5 7622 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7623
ad74a69e
MA
76242011-10-26 Michael Albinus <michael.albinus@gmx.de>
7625
7626 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7627 tramp.el explicitly. (Bug#7583)
ad74a69e 7628
71d4c2a5
SM
76292011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * progmodes/octave-mod.el:
7632 * progmodes/octave-inf.el: Update maintainer.
7633
b1f6fa26
CY
76342011-10-26 Chong Yidong <cyd@gnu.org>
7635
7636 * subr.el (with-wrapper-hook): Rewrite doc.
7637
3f04efd6
MA
76382011-10-25 Michael Albinus <michael.albinus@gmx.de>
7639
7640 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7641 filenames "/method:foo:". (Bug#9793)
3f04efd6 7642
410488d3
SM
76432011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7644
7645 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7646 (bug#9865).
7647
c1ebb47e
GM
76482011-10-24 Glenn Morris <rgm@gnu.org>
7649
7650 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7651
7f5c46c7
MA
76522011-10-24 Michael Albinus <michael.albinus@gmx.de>
7653
7654 * notifications.el: Add the requirement of a running D-Bus session
7655 bus to the Commentary.
7656
db2440b6
JL
76572011-10-24 Juri Linkov <juri@jurta.org>
7658
7659 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7660 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7661 (Bug#9364)
7662
feecf435
JL
76632011-10-24 Juri Linkov <juri@jurta.org>
7664
7665 * info.el (Info-following-node-name-re): Add newline to the list
7666 of allowed characters for leading space. (Bug#9824)
7667
a3839de2
SM
76682011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7669
acc825c5
SM
7670 * progmodes/octave-inf.el (inferior-octave-mode-map):
7671 Fix C-c C-h binding.
a3839de2
SM
7672 * progmodes/octave-mod.el (octave-help): Remove.
7673
09388e76
MA
76742011-10-23 Michael Albinus <michael.albinus@gmx.de>
7675
7676 Sync with Tramp 2.2.3.
7677
7678 * net/tramp-cache.el (top): Pacify byte-compiler using
7679 `init-file-user' and `site-run-file'.
7680
7681 * net/trampver.el: Update release number.
7682
86c60681
CY
76832011-10-23 Chong Yidong <cyd@gnu.org>
7684
7685 * files.el (toggle-read-only): Remove obsolete comment about
7686 version control.
7687
7688 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7689 for toggle-read-only. Note that this hasn't called vc-next-action
7690 since 2008-05-02, though it wasn't documented at the time.
7691
a3839de2
SM
7692 * vc/ediff-init.el (ediff-toggle-read-only-function):
7693 Use toggle-read-only.
86c60681 7694
cd5495ff
AM
76952011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7696
7697 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7698 of c-parse-state.
7699
00b77525 7700 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7701 correct faulty logical expression.
cd5495ff
AM
7702 (c-parse-state-state, c-record-parse-state-state):
7703 (c-replay-parse-state-state): New defvar/defuns.
7704 (c-debug-parse-state): Use new functions.
7705
42ee24ed
MR
77062011-10-22 Martin Rudalics <rudalics@gmx.at>
7707
7708 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7709 last fix. Use window-in-direction correctly.
42ee24ed 7710
a7dee7e7
CY
77112011-10-21 Chong Yidong <cyd@gnu.org>
7712
7713 * progmodes/idlwave.el (idlwave-mode):
7714 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7715 require-final-newline; that's done in prog-mode.
7716 Suggested by Stefan Monnier.
a7dee7e7 7717
e07b9a6d
MR
77182011-10-21 Martin Rudalics <rudalics@gmx.at>
7719
7720 * mouse.el (mouse-drag-window-above)
7721 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7722 (mouse-drag-mode-line-1, mouse-drag-header-line)
7723 (mouse-drag-vertical-line-rightward-window): Remove.
7724 (mouse-drag-line): New function.
7725 (mouse-drag-mode-line, mouse-drag-header-line)
7726 (mouse-drag-vertical-line): Call mouse-drag-line.
7727 * window.el (window-at-side-p, windows-at-side): New functions.
7728
7e1361d9
UM
77292011-10-21 Ulrich Mueller <ulm@gentoo.org>
7730
7731 * tar-mode.el (tar-grind-file-mode):
7732 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7733
30fcaf3a
CY
77342011-10-21 Chong Yidong <cyd@gnu.org>
7735
7736 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7737 * progmodes/vera-mode.el (vera-mode):
7738 Use mode-require-final-newline.
30fcaf3a 7739
516eddb0
GM
77402011-10-20 Glenn Morris <rgm@gnu.org>
7741
db22a3c2 7742 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7743
10d5f513
CS
77442011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7745
7746 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7747
ac6c8639
CY
77482011-10-20 Chong Yidong <cyd@gnu.org>
7749
7750 * emulation/cua-base.el (cua-mode):
7751 * mail/footnote.el (footnote-mode):
7752 * mail/mailabbrev.el (mail-abbrevs-mode):
7753 * net/xesam.el (xesam-minor-mode):
7754 * progmodes/bug-reference.el (bug-reference-mode):
7755 * progmodes/cap-words.el (capitalized-words-mode):
7756 * progmodes/compile.el (compilation-minor-mode)
7757 (compilation-shell-minor-mode):
7758 * progmodes/gud.el (gud-tooltip-mode):
7759 * progmodes/hideif.el (hide-ifdef-mode):
7760 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7761 * progmodes/subword.el (subword-mode):
7762 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7763 * progmodes/which-func.el (which-function-mode):
7764 * term/tvi970.el (tvi970-set-keypad-mode):
7765 * term/vt100.el (vt100-wide-mode):
7766 * textmodes/flyspell.el (flyspell-mode):
7767 * textmodes/ispell.el (ispell-minor-mode):
7768 * textmodes/nroff-mode.el (nroff-electric-mode):
7769 * textmodes/paragraphs.el (use-hard-newlines):
7770 * textmodes/refill.el (refill-mode):
7771 * textmodes/reftex.el (reftex-mode):
7772 * textmodes/rst.el (rst-minor-mode):
7773 * textmodes/sgml-mode.el (html-autoview-mode)
7774 (sgml-electric-tag-pair-mode):
7775 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7776 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7777 * emulation/crisp.el (crisp-mode):
7778 * emacs-lisp/eldoc.el (eldoc-mode):
7779 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7780 minor mode behavior.
7781
aa42ab43
JL
77822011-10-19 Juri Linkov <juri@jurta.org>
7783
7784 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7785 the list of hard-coded chars with escape-glyph face.
7786
89400f1d
SM
77872011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7790
305c07f6
MA
77912011-10-19 Michael Albinus <michael.albinus@gmx.de>
7792
7793 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7794 running process.
7795
13754b54
GM
77962011-10-19 Glenn Morris <rgm@gnu.org>
7797
7798 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7799 Ignore ignored files. (Bug#9726)
7800
06e21633
CY
78012011-10-19 Chong Yidong <cyd@gnu.org>
7802
7803 Doc fix for minor modes, stating that an omitted argument enables
7804 the mode unconditionally when called from Lisp.
7805
7806 * abbrev.el (abbrev-mode):
7807 * allout.el (allout-mode):
7808 * autoinsert.el (auto-insert-mode):
7809 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7810 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7811 (global-auto-revert-mode):
7812 * battery.el (display-battery-mode):
7813 * composite.el (global-auto-composition-mode)
7814 (auto-composition-mode):
7815 * delsel.el (delete-selection-mode):
7816 * desktop.el (desktop-save-mode):
7817 * dired-x.el (dired-omit-mode):
7818 * dirtrack.el (dirtrack-mode):
7819 * doc-view.el (doc-view-minor-mode):
7820 * double.el (double-mode):
7821 * electric.el (electric-indent-mode, electric-pair-mode):
7822 * emacs-lock.el (emacs-lock-mode):
7823 * epa-hook.el (auto-encryption-mode):
7824 * follow.el (follow-mode):
7825 * font-core.el (font-lock-mode):
7826 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7827 * help.el (temp-buffer-resize-mode):
7828 * hilit-chg.el (highlight-changes-mode)
7829 (highlight-changes-visible-mode):
7830 * hi-lock.el (hi-lock-mode):
7831 * hl-line.el (hl-line-mode, global-hl-line-mode):
7832 * icomplete.el (icomplete-mode):
7833 * ido.el (ido-everywhere):
7834 * image-file.el (auto-image-file-mode):
7835 * image-mode.el (image-minor-mode):
7836 * iswitchb.el (iswitchb-mode):
7837 * jka-cmpr-hook.el (auto-compression-mode):
7838 * linum.el (linum-mode):
7839 * longlines.el (longlines-mode):
7840 * master.el (master-mode):
7841 * mb-depth.el (minibuffer-depth-indicate-mode):
7842 * menu-bar.el (menu-bar-mode):
7843 * minibuf-eldef.el (minibuffer-electric-default-mode):
7844 * mouse-sel.el (mouse-sel-mode):
7845 * msb.el (msb-mode):
7846 * mwheel.el (mouse-wheel-mode):
7847 * outline.el (outline-minor-mode):
7848 * paren.el (show-paren-mode):
7849 * recentf.el (recentf-mode):
7850 * reveal.el (reveal-mode, global-reveal-mode):
7851 * rfn-eshadow.el (file-name-shadow-mode):
7852 * ruler-mode.el (ruler-mode):
7853 * savehist.el (savehist-mode):
7854 * scroll-all.el (scroll-all-mode):
7855 * scroll-bar.el (scroll-bar-mode):
7856 * server.el (server-mode):
7857 * shell.el (shell-dirtrack-mode):
7858 * simple.el (auto-fill-mode, transient-mark-mode)
7859 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7860 (line-number-mode, column-number-mode, size-indication-mode)
7861 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7862 * strokes.el (strokes-mode):
7863 * time.el (display-time-mode):
7864 * t-mouse.el (gpm-mouse-mode):
7865 * tool-bar.el (tool-bar-mode):
7866 * tooltip.el (tooltip-mode):
7867 * type-break.el (type-break-mode-line-message-mode)
7868 (type-break-query-mode):
7869 * view.el (view-mode):
7870 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7871 (global-whitespace-mode, global-whitespace-newline-mode):
7872 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7873
a3839de2
SM
7874 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7875 Fix autogenerated docstring.
06e21633 7876
5214e501
JL
78772011-10-19 Juri Linkov <juri@jurta.org>
7878
7879 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7880 by checking environment variables "DESKTOP_SESSION" and
7881 "XDG_CURRENT_DESKTOP". (Bug#9779)
7882
195f8db9
JL
78832011-10-19 Juri Linkov <juri@jurta.org>
7884
7885 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7886 (browse-url-chromium-program, browse-url-chromium-arguments):
7887 New defcustoms.
7888 (browse-url-default-browser): Check for `browse-url-chromium' and
7889 call `browse-url-chromium-program'.
7890 (browse-url-chromium): New command. (Bug#9779)
7891
343a34ff
JB
78922011-10-18 Juanma Barranquero <lekktu@gmail.com>
7893
7894 * facemenu.el (list-colors-duplicates): On Windows, detect more
7895 duplicates by assuming that only colors matching "^System" are
7896 special "system colors". (Bug#9722)
7897
6978a151
SM
78982011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7901 to distinguish the author from the committer.
7902
6a80b297
MA
79032011-10-18 Michael Albinus <michael.albinus@gmx.de>
7904
7905 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7906
b31a5677
JK
79072011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7908
7909 * international/mule.el (sgml-html-meta-auto-coding-function):
7910 Add support for detecting encoding in HTML5 specified only as
7911 <meta charset="UTF-8">. Implementation just makes http-equiv and
7912 content-type parts from HTML4 encoding string optional. (Bug#9716)
7913
80c6d77f
GM
79142011-10-18 Glenn Morris <rgm@gnu.org>
7915
7916 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7917
08b0fee8
CY
79182011-10-18 Chong Yidong <cyd@gnu.org>
7919
7920 * faces.el (cursor): Doc fix.
7921
67e729a5
CY
79222011-10-17 Chong Yidong <cyd@gnu.org>
7923
7924 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7925
343a34ff 79262011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7927
7928 * dirtrack.el (dirtrack): Support shell buffers with path
7929 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7930
0bc06380
TZ
79312011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7932
7933 * json.el: Bump version to 1.3 and note change in History.
7934 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7935
8b79f3e0
SM
79362011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7937
5a7c536b
SM
7938 * comint.el (comint-insert-input, comint-send-input)
7939 (comint-get-old-input-default, comint-backward-matching-input)
7940 (comint-next-prompt): Use nil instead of `input' for field property of
7941 past user input (bug#114).
7942
96a8a0df
SM
7943 * minibuffer.el (completion--replace): Inherit surrounding properties
7944 (bug#114).
7945 (minibuffer-complete-and-exit): Use it.
7946
8b79f3e0
SM
7947 * comint.el (comint--table-subvert): Quote the all-completions output
7948 (bug#9160).
7949
b8f7ff0d
MR
79502011-10-17 Martin Rudalics <rudalics@gmx.at>
7951
8b79f3e0 7952 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7953
b8f7ff0d 7954 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7955 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7956 entries and separate them from frame entries.
7957
c235b555
GM
79582011-10-15 Glenn Morris <rgm@gnu.org>
7959
7960 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7961 Doc fixes.
7962
6bbfa6e1
CY
79632011-10-15 Chong Yidong <cyd@stupidchicken.com>
7964
8b79f3e0
SM
7965 * net/network-stream.el (network-stream-open-starttls):
7966 Improve detection of failure due to lack of TLS support.
ec5c990d 7967
6bbfa6e1
CY
7968 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7969 putting the input text in front and in bold.
7970
98488977
SM
79712011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7972
3d1337be
SM
7973 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7974
ee0b45e4
SM
7975 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7976 empty buffer.
7977
98488977
SM
7978 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7979 unread-command-events rather than pushing yet-another event.
7980
186f4720
EZ
79812011-10-14 Eli Zaretskii <eliz@gnu.org>
7982
7983 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7984 the explanation of the possible choices. Make the options passed
7985 to completing-read shorter.
7986
8b7a997c
AM
79872011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7988
7989 * textmodes/flyspell.el (flyspell-large-region): Make sure
7990 extended character mode is used if defined (Bug#1339).
7991
12587bbb
EZ
79922011-10-13 Eli Zaretskii <eliz@gnu.org>
7993
7994 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7995 character info for LRE, LRO, RLE, and RLO characters by appending
7996 an invisible PDF.
12587bbb 7997
bad41229
SM
79982011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8001 even in case of error; add debug spec; simplify data flow.
8002 (with-timeout-handler): Remove.
8003
28dbc92f
MA
80042011-10-12 Michael Albinus <michael.albinus@gmx.de>
8005
8006 Fix Bug#6019, Bug#9315.
8007
8008 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8009 complete `buffer-file-name', the local file name part could look
8010 remotely (for example on VMS).
8011
8012 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8013 `tramp-run-real-handler'.
8014 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8015 already quoted by '"'.
8016
8017 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8018 Let `file-name-handler-alist' be nil, the local file name part
8019 could look remotely (for example on VMS).
8020
e1b0b23a
SM
80212011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8022
8023 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8024 from here...
8025 (flyspell-post-command-hook): ...to here.
8026
a120bde9
SM
80272011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8030 if not needed.
8031 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8032 using completion. Protect against "slow" callers.
8033 Remove the "message hack".
8034
7ce7717b
JL
80352011-10-11 Juri Linkov <juri@jurta.org>
8036
8037 * isearch.el (isearch-lazy-highlight-word): New variable.
8038 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8039 Use it. (Bug#9727)
8040
c02ee9d6
GM
80412011-10-11 Glenn Morris <rgm@gnu.org>
8042
8043 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8044 like f90-previous-statement does.
8045
93e616fd 80462011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8047
1f190e73 8048 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8049 only in interactive use, to avoid error.
8050
af7b6078
SM
80512011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * minibuffer.el (completion-file-name-table): Fix last change,
8054 i.e. ignore normal errors but not the other ones.
8055
0563dae9
MR
80562011-10-10 Martin Rudalics <rudalics@gmx.at>
8057
8058 * window.el (special-display-buffer-names)
8059 (special-display-regexps): Remove some remnants of earlier
8060 changes from doc-strings.
366ca7f3
MR
8061 (quit-windows-on): New function.
8062
8063 * vc/vc.el (vc-revert, vc-rollback):
8064 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8065 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8066 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8067
49677495
MR
80682011-10-09 Martin Rudalics <rudalics@gmx.at>
8069
8070 * window.el (frame-auto-hide-function): Add version tag.
8071 (Bug#9699)
8072
56f2d1e1
MA
80732011-10-09 Michael Albinus <michael.albinus@gmx.de>
8074
8075 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8076 condition.
8077
112a6592
LL
80782011-10-09 Leo Liu <sdl.web@gmail.com>
8079
8080 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8081 (Bug#9701)
8082
0812589b
GM
80832011-10-08 Glenn Morris <rgm@gnu.org>
8084
8085 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8086 before the first code statement zero indent. (Bug#9690)
8087
b2b0776e
CY
80882011-10-08 Chong Yidong <cyd@stupidchicken.com>
8089
8090 * simple.el (count-words-region): Always count in the region.
8091 Report the number of lines and characters too.
8092 (count-words): New command, which counts in the buffer if the
8093 region is inactive, as count-words-region used to.
8094 (count-words--message): New function. Handle plurals.
8095 (count-lines-region): Make it an alias for count-words-region.
8096
8097 * bindings.el (esc-map): Replace count-lines-region with
8098 count-words-region.
8099
c557cd6b
MR
81002011-10-08 Martin Rudalics <rudalics@gmx.at>
8101
8102 * window.el (window--delete): Delete dedicated frame
8103 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8104 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8105
61a57ef4 81062011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8107
3a7d293b 8108 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8109
c3833279
CY
81102011-10-07 Chong Yidong <cyd@stupidchicken.com>
8111
8112 * bindings.el ([M-left],[M-right]): Bind to left-word and
8113 right-word respectively.
8114
21ce8245
GM
81152011-10-07 Glenn Morris <rgm@gnu.org>
8116
8117 * cus-start.el (debug-on-quit): Fix custom type.
8118
6d823bb2
LMI
81192011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8120
0181e193
LMI
8121 * subr.el (define-key-after): Clarify that the function is not
8122 useful for non-menu keymaps.
8123
6d823bb2
LMI
8124 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8125
8e3459ce 81262011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8127
21ce8245 8128 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8129 in current minibuffer (Fix bug with recursive minibuffers).
8130
a1c2d21e
CY
81312011-10-06 Chong Yidong <cyd@stupidchicken.com>
8132
8133 * progmodes/gdb-mi.el (gdb): Doc fix.
8134
5a4cf282
MR
81352011-10-05 Martin Rudalics <rudalics@gmx.at>
8136
8137 * window.el (frame-auto-hide-function): New option replacing
8138 frame-auto-delete. Suggested by Stefan Monnier.
8139 (window--delete): Call frame-auto-hide-function instead of
8140 investigating frame-auto-delete.
c96111ea
MR
8141 (window-point-1, set-window-point-1): New functions.
8142 (window-in-direction, record-window-buffer, window-state-get-1)
8143 (display-buffer-record-window): Use window-point-1 instead of
8144 window-point.
8145 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8146
9854542e
SM
81472011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8150
8943cfb0
GM
81512011-10-05 Glenn Morris <rgm@gnu.org>
8152
8153 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8154 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8155
647ab967
LL
81562011-10-05 Leo Liu <sdl.web@gmail.com>
8157
8158 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8159 works with buffer object.
8160
3ddfbced
SM
81612011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * mpc.el (mpc-tool-bar-map): Add labels.
8164
bdfa5dd2
GM
81652011-10-04 Glenn Morris <rgm@gnu.org>
8166
8167 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8168
0e2070b5
MR
81692011-10-04 Martin Rudalics <rudalics@gmx.at>
8170
8171 * window.el (window--delete): New function.
8172 (frame-auto-delete): Resuscitate option.
8173 (bury-buffer, replace-buffer-in-windows)
8174 (quit-window): Rewrite using window--delete.
8175 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8176 Pass display-buffer-mark-dedicated to window--display-buffer-2
8177 (Bug#9639).
8178
3dc61a09
SM
81792011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8180
915a9b64
SM
8181 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8182 returns a list (bug#9554). Add remote file name completion.
8183 * comint.el (comint--table-subvert): Curry and get quote&unquote
8184 functions as arguments.
8185 (comint--complete-file-name-data): Adjust call accordingly.
8186 * pcomplete.el (pcomplete--table-subvert): Remove.
8187 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8188
3dc61a09
SM
8189 * minibuffer.el (completion-table-case-fold): Use currying.
8190 (completion--styles-type, completion--cycling-threshold-type):
8191 New constants.
8192 (completion-styles, completion-category-overrides)
8193 (completion-cycle-threshold): Use them.
8194 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8195 completion-table-case-fold.
8196
8ea0a993
SB
81972011-10-03 Stephen Berman <stephen.berman@gmx.net>
8198
8199 * minibuffer.el (completion-category-overrides): Fix type of styles
8200 and add more user friendly tags (bug#9660).
8201
8c24b7f6
SM
82022011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8205 (mule-input-method-string): New widget.
8206 (default-input-method, language-info-custom-alist): Use it.
8207
428fe61a
SM
82082011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8209
32c1fffd
SM
8210 * pcomplete.el: Require comint.
8211 (pcomplete--common-suffix): Remove.
8212 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8213 (pcomplete--table-subvert): Sync with comint--table-subvert.
8214 (pcomplete--entries): Use comint-completion-file-name-table.
8215 * comint.el (comint-unquote-filename): Simplify.
8216 (comint-completion-file-name-table): New function (bug#9616).
8217 (comint--complete-file-name-data): Use it.
8218
428fe61a
SM
8219 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8220 (pcmpl-gnu-tar-buffer): Remove.
8221 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8222 around. Make sure pcomplete-suffix-list is only changed temporarily.
8223 Don't look inside the tar's file if it's too large.
428fe61a 8224
04c52e2f
CY
82252011-10-01 Chong Yidong <cyd@stupidchicken.com>
8226
ce3cefcc
CY
8227 * cus-edit.el (custom-mode-map):
8228 * epa.el (epa-key-list-mode-map):
8229 * man.el (Man-mode-map):
8230 * startup.el (splash-screen-keymap):
8231 * simple.el (special-mode-map): Use scroll-up-command and
8232 scroll-down-command.
8233
8234 * progmodes/idlw-help.el (idlwave-help-mode-map):
8235 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8236 * net/newst-plainview.el (newsticker-mode-map):
8237 * emulation/ws-mode.el (wordstar-mode-map):
8238 * emulation/vi.el (vi-com-map):
8239 * calc/calc-graph.el (calc-graph-show-dumb):
8240 * term/sun.el (terminal-init-sun):
8241 * term/ns-win.el (global-map):
8242 * progmodes/grep.el (grep-mode-map):
8243 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8244 * mail/rmail.el (rmail-mode-map):
8245 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8246
04c52e2f
CY
8247 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8248 custom-safe-themes as special.
8249
79adf8c8
JD
82502011-10-01 Julien Danjou <julien@danjou.info>
8251
8252 * notifications.el (notifications-notify): Fix docstring.
8253
63bd50d3
PS
82542011-10-01 Per Starbäck <per@starback.se>
8255
8256 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8257
199e4c7e
MR
82582011-09-30 Martin Rudalics <rudalics@gmx.at>
8259
8260 * startup.el (command-line-1): Fix last fix by inserting
8261 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8262 (Bug#9605) and (Bug#9636)
199e4c7e 8263
fe5f08dd
EZ
82642011-09-29 Eli Zaretskii <eliz@gnu.org>
8265
8266 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8267 window is hscrolled, move by logical lines. (Bug#9607)
8268 (line-move-visual): Update the doc string to the above effect.
8269
b5516bbd
MR
82702011-09-29 Martin Rudalics <rudalics@gmx.at>
8271
ccee00c0
MR
8272 * window.el (display-buffer-record-window): When WINDOW is the
8273 selected window use `point' instead of `window-point'. (Bug#9626)
8274
b5516bbd
MR
8275 * startup.el (command-line-1): Use insert-before-markers when
8276 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8277
b5516bbd
MR
8278 * help.el (help-window): Remove variable.
8279
52aa0014
GM
82802011-09-29 Glenn Morris <rgm@gnu.org>
8281
8282 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8283
df9a7357
JB
82842011-09-29 Juanma Barranquero <lekktu@gmail.com>
8285
8286 * descr-text.el (describe-char-categories): Accept category
8287 descriptions more than one line long.
8288
a8406c20
SM
82892011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8290
88d9610c
SM
8291 * simple.el (delete-trailing-whitespace): Fix last change.
8292
a5daf810
SM
8293 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8294 Don't confuse "y => 3" as the beginning of a `y' operation.
8295
a8406c20
SM
8296 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8297 object has more than 4 slots (bug#9613).
8298
a239d4e9
JB
82992011-09-28 Juanma Barranquero <lekktu@gmail.com>
8300
8301 * subr.el (with-output-to-temp-buffer):
8302 * net/quickurl.el (quickurl, quickurl-browse-url):
8303 Fix typos in docstrings.
8304
693fbdb6
EZ
83052011-09-27 Eli Zaretskii <eliz@gnu.org>
8306
8307 * minibuffer.el (completion-styles)
8308 (completion-category-overrides): Cross reference each other in doc
8309 strings.
8310
8b457e28
GM
83112011-09-27 Glenn Morris <rgm@gnu.org>
8312
8313 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8314 to split-string. (Bug#9606)
8315
85a16208
LMI
83162011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8317
8318 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8319 (bug#9615).
8320
502f9ebd
CY
83212011-09-27 Chong Yidong <cyd@stupidchicken.com>
8322
8323 * emacs-lisp/package.el (list-packages): Fix echo area message.
8324
7690bdea
LL
83252011-09-27 Leo Liu <sdl.web@gmail.com>
8326
8327 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8328
e2ee6f30
MA
83292011-09-25 Michael Albinus <michael.albinus@gmx.de>
8330
8331 * net/dbus.el (dbus-unregister-object): Don't release services for
8332 registered signals. (Bug#9581)
8333
f3f98342
TZ
83342011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8335
8336 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8337 function that picks between cfengine 2 and 3 support
8338 automatically. Update docs accordingly.
8339
dd7aa8dd
KH
83402011-09-22 Kenichi Handa <handa@m17n.org>
8341
8342 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8343 ZERO.
8344 (indian-itrans-v5-table-for-tamil): New variable.
8345 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8346
3f2b07f8
KM
83472011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8348
8349 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8350 that's true if the current command involved collapsing of text.
8351 It's reset to false at the beginning of the next command.
8352 (allout-post-command-business): Move the cursor to the beginning
8353 of entry if the cursor is hidden and collapsing activity just
8354 happened.
8355
371d6a61
CY
83562011-09-24 Chong Yidong <cyd@stupidchicken.com>
8357
8358 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8359 tracking (Bug#9541).
8360
2ac2721a
UJ
83612011-09-24 Ulf Jasper <ulf.jasper@web.de>
8362
8363 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8364 (newsticker-show-news): Automatically load html rendering package
8365 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8366 because w3m-fill-column is let-bound" and the error "Symbol's value
8367 as variable is void: w3m-fill-column".
2ac2721a 8368
fac7ae53
MA
83692011-09-24 Michael Albinus <michael.albinus@gmx.de>
8370
8371 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8372 Release services only if they are defined. (Bug#9581)
8373
e08b633b
RS
83742011-09-23 Richard Stallman <rms@gnu.org>
8375
e488d29c
RS
8376 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8377 distinguish start of paragraph from start of its text.
8378
19c38752
RS
8379 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8380
e08b633b
RS
8381 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8382 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8383 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8384
0a39f27e
AS
83852011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8386
8387 * international/mule-diag.el (mule-diag): Insert a newline after
8388 each fontset description.
8389
db4e950d
SM
83902011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * simple.el (delete-trailing-whitespace):
8393 Document last change; simplify.
8394
eca3f3ea
PW
83952011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8396
d68e189a
PW
8397 * simple.el (delete-trailing-whitespace): Also delete
8398 extra newlines at the end of the buffer.
8399
eca3f3ea
PW
8400 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8401 (picture-newline): Use forward-line so as to ignore fields.
8402
01c157cc
SM
84032011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 * subr.el (with-wrapper-hook): Fix edebug spec.
8406
022de23e
LMI
84072011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8408
8409 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8410 (bug#4538).
8411
91683089
MA
84122011-09-23 Michael Albinus <michael.albinus@gmx.de>
8413
eca3f3ea
PW
8414 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8415 Fix nasty bug using wrong cached values.
91683089 8416
5bdd6fa4
AM
84172011-09-23 Alan Mackenzie <acm@muc.de>
8418
8419 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8420
97adfb97
CY
84212011-09-23 Chong Yidong <cyd@stupidchicken.com>
8422
8423 * window.el (pop-to-buffer): Ensure right window is selected if we
8424 chose another frame.
8425
d4ef2b50
EZ
84262011-09-22 Eli Zaretskii <eliz@gnu.org>
8427
8428 * simple.el (what-cursor-position): Use get-char-property-change
8429 and next-single-char-property-change, to be able to show display
8430 properties that come from overlays as well as text properties.
8431
72258fe5
CY
84322011-09-22 Chong Yidong <cyd@stupidchicken.com>
8433
8434 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8435
8436 * cmuscheme.el (run-scheme, switch-to-scheme):
8437 * cus-edit.el (customize-group, custom-buffer-create)
8438 (customize-browse):
8439 * info.el (info):
8440 * shell.el (shell):
8441 * mail/sendmail.el (mail):
8442 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8443
8f098516
RS
84442011-09-22 Richard Stallman <rms@gnu.org>
8445
8446 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8447 move back only to line beg, don't move back over blank lines.
8448
e74f1bb6
MA
84492011-09-22 Michael Albinus <michael.albinus@gmx.de>
8450
8451 * files.el (copy-directory): Set directory attributes only in case
8452 they could be retrieved from the source directory. (Bug#9565)
8453
bfeef8b6
DK
84542011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8455
8456 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8457 (hs-find-block-beginning, hs-hide-level-recursive):
8458 Ignore strings as well as comments. (Bug#9502)
8459
7e423bb8
AS
84602011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8461
8462 * progmodes/sql.el (sql-comint-postgres):
8463 Convert port number to a string. (Bug#9566)
8464
b4d72fcf
MR
84652011-09-22 Martin Rudalics <rudalics@gmx.at>
8466
8467 * window.el (quit-window): Undedicate window when switching to
8468 previous buffer. Reported by Thierry Volpiatto
8469 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8470 (special-display-popup-frame): When popping up a new frame reset
8471 its previous buffers to nil. Simplify code.
b4d72fcf 8472
a7b88dc6
MA
84732011-09-21 Michael Albinus <michael.albinus@gmx.de>
8474
8475 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8476 and process filter, as done also in `shell-command'.
8477
cf4eacfd
MR
84782011-09-21 Martin Rudalics <rudalics@gmx.at>
8479
eca3f3ea 8480 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8481 Call set-window-start with NOFORCE argument t.
8482 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8483 (quit-window): Reword doc-string. Handle new format of
8484 quit-restore parameter. Don't delete window if it has a
8485 previous buffer we can show instead of the present one.
8486 (display-buffer-record-window): Rewrite using a new format for
8487 the quit-restore window parameter
8488 (special-display-popup-frame, display-buffer-same-window)
8489 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8490 (display-buffer-pop-up-window, display-buffer-use-some-window):
8491 Adapt symbol passed to display-buffer-record-window.
8492 * help.el (help-window-setup): Handle new format of quit-restore
8493 parameter.
8494
8d28cb95
SM
84952011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8496
94ab793f
SM
8497 * faces.el (face-list): Fix docstring (bug#9564).
8498
8d28cb95
SM
8499 * window.el (display-buffer--action-function-custom-type):
8500 Don't include internal functions in the Custom interface.
8501
3820edeb
JL
85022011-09-20 Juri Linkov <juri@jurta.org>
8503
8504 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8505 (Info-forward-node, Info-backward-node, Info-next-preorder)
8506 (Info-last-preorder): Use it. (Bug#9528)
8507
5147931d
JL
85082011-09-20 Juri Linkov <juri@jurta.org>
8509
8510 * info.el (Info-last-preorder): Visit last menu item only when
8511 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8512
cf499a1a
JD
85132011-09-20 Julien Danjou <julien@danjou.info>
8514
8515 * password-cache.el (password-cache-remove): Remove entries even if the
8516 value is nil, so that password with a nil value (negative caching) is
8517 possible to invalidate.
8518
f84e2fe2
LM
85192011-09-20 Lawrence Mitchell <wence@gmx.li>
8520
8521 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8522 all whitespace around breakpoint. (Bug#9553)
8523 (f90-find-breakpoint): Only break at whitespace inside a comment.
8524
78054a46
SM
85252011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * minibuffer.el (completion-file-name-table): Keep track of errors.
8528 (completion-table-with-predicate): Handle the case where pred1 is nil.
8529 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8530
345083b2
SM
85312011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8532
e24e27be
SM
8533 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8534 (debugger-return-value): Signal an error if the debugging context does
8535 not await any return value.
8536
345083b2
SM
8537 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8538 * image-mode.el (image-toggle-display-text)
8539 (image-toggle-display-image): Stay away from evil `intangible'.
8540
08d355e3
LL
85412011-09-19 Leo Liu <sdl.web@gmail.com>
8542
8543 * replace.el (occur-revert-arguments): Make it permanent-local.
8544 (occur-mode): Don't call font-lock-defontify.
8545
f01da43f
CY
85462011-09-19 Chong Yidong <cyd@stupidchicken.com>
8547
8548 * net/ldap.el (ldap-search-internal): Don't push empty search
8549 result (Bug#9508).
8550
b6072fa6
SM
85512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8554
443d6696
MA
85552011-09-19 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8558 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8559
7cc6e154
JL
85602011-09-18 Juri Linkov <juri@jurta.org>
8561
8562 * buff-menu.el (Buffer-menu-mode-map):
8563 * dired.el (dired-mode-map):
8564 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8565 (lisp-interaction-mode-map):
8566 * emacs-lisp/package.el (package-menu-mode-map):
8567 * epa.el (epa-key-list-mode-map):
8568 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8569 (menu-bar-options-menu):
8570 * outline.el (outline-mode-menu-bar-map):
8571 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8572 * vc/vc-dir.el (vc-dir-menu-map):
8573 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8574 Capitalize non-function content words in menu item strings.
8575
8576 * dired.el (dired-mode-map): Add menu item for
8577 `image-dired-dired-toggle-marked-thumbs'.
8578
80302a81
JL
85792011-09-18 Juri Linkov <juri@jurta.org>
8580
8581 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8582 to `isearch-case-fold-search' and restore its original value
8583 after the `isearch-mode' call.
8584
46c5cf66
JL
85852011-09-18 Juri Linkov <juri@jurta.org>
8586
8587 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8588 because `zgrep' returns 1 for successful matches (bug#9226).
8589
d18b513b
JL
85902011-09-18 Juri Linkov <juri@jurta.org>
8591
8592 * info.el (Info-extract-menu-node-name): Check the second match
8593 for empty string (second test-case of bug#9528).
8594 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8595 intermediate nodes to the history (first test-case of bug#9528).
8596
72753f87
JL
85972011-09-18 Juri Linkov <juri@jurta.org>
8598
8599 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8600 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8601
c9384295
JL
86022011-09-18 Juri Linkov <juri@jurta.org>
8603
1154d12e
JB
8604 * info.el (Info-file-supports-index-cookies):
8605 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8606 outputs one more line for long file names (bug#4142).
c9384295 8607
d473dce8
CY
86082011-09-18 Chong Yidong <cyd@stupidchicken.com>
8609
8610 * newcomment.el (comment-normalize-vars): If prompting for
8611 comment-start, set comment-start-skip too (Bug#8424).
8612
2176854d
JB
86132011-09-18 Johan Bockgård <bojohan@gnu.org>
8614
8615 * icomplete.el: Fix previous fix of Bug#5849.
8616 (icomplete-mode): Don't set completion-show-inline-help.
8617 (icomplete-minibuffer-setup): Set completion-show-inline-help
8618 locally during icompletion.
8619
3aace4e4
CY
86202011-09-18 Chong Yidong <cyd@stupidchicken.com>
8621
c940224f
CY
8622 * woman.el (woman2-process-escapes): Don't delete unrecognized
8623 escapes (Bug#7843).
8624
3aace4e4
CY
8625 * files.el (inhibit-first-line-modes-regexps): Add image files.
8626 (hack-local-variables-prop-line): Return nil for malformed
8627 prop-lines (Bug#9044).
8628
710dec63
MA
86292011-09-18 Michael Albinus <michael.albinus@gmx.de>
8630
8631 * net/tramp.el (top): Don't require 'shell.
8632 (tramp-methods): Fix docstring.
8633 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8634 Return complete remote file name. Handle "smb" case.
8635 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8636 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8637
8638 * net/tramp-compat.el (top): Require 'shell.
8639
8640 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8641 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8642 `tramp-current-host'.
8643 (tramp-get-remote-tmpdir): Remove.
8644
8645 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8646 `tramp-tmpdir' entries.
8647 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8648 (tramp-smb-handle-file-attributes): Ignore errors.
8649 (tramp-smb-wait-for-output): Check also for process end.
8650
5d5ac8ec
LMI
86512011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8652
8653 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8654 when sending QUIT (bug#9312).
8655
8c0f49f0
CY
86562011-09-17 Chong Yidong <cyd@stupidchicken.com>
8657
8658 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8659 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8660 occur-mode-display-occurrence.
8661 (occur-edit-mode): Add usage message.
8662 (occur-cease-edit): New command.
8663 (occur-after-change-function): Use text properties to find the
8664 position of the prefix text.
8665 (occur-engine): Set stickiness of prefix text properties.
8666
8f1383f7
GM
86672011-09-17 Glenn Morris <rgm@gnu.org>
8668
8669 * progmodes/etags.el (complete-tag):
8670 Fix call to completion-in-region. (Bug#9526)
8671
744ba0e3
JL
86722011-09-17 Juri Linkov <juri@jurta.org>
8673
8674 * textmodes/ispell.el (ispell-word): Add to the error message
8675 the word, ispell program name and current dictionary (bug#9121).
8676 (ispell-tex-arg-end): Capitalize "error" in the error message.
8677
d9bbf400
AS
86782011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8679
8680 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8681 check. (Bug#4251)
8682
8da11505
JL
86832011-09-17 Juri Linkov <juri@jurta.org>
8684
8685 * window.el (window-safe-min-height, window-safe-min-width):
8686 Fix typos (followup to bug#9522).
8687
a91adc7e
SJ
86882011-09-17 Sven Joachim <svenjoac@gmx.de>
8689
8690 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8691
064f328a
EZ
86922011-09-16 Eli Zaretskii <eliz@gnu.org>
8693
8694 * simple.el (line-move): If goal-column is set, move by logical
8695 lines, not by display lines. (Bug#971)
8696 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8697 to reflect the above change.
8698
e69df516
SM
86992011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * image.el (imagemagick-register-types): Use regexp-opt.
8702
cbb0f9ab
CY
87032011-09-15 Chong Yidong <cyd@stupidchicken.com>
8704
8705 * window.el (display-buffer-base-action): Rename from
8706 display-buffer-default-action. Make default value empty.
8707 (display-buffer-overriding-action): Convert to defvar.
8708 (display-buffer-fallback-action): New var.
8709
25322144
CY
87102011-09-15 Chong Yidong <cyd@stupidchicken.com>
8711
8712 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8713 declaration.
8714 (package--add-to-archive-contents): If there is a duplicate entry
8715 with an older version, remove it.
8716 (package-menu-mark-delete, package-menu-mark-install)
8717 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8718 (package-menu-mark-obsolete-for-deletion):
8719 Use package-menu-get-status instead of a regexp search.
25322144
CY
8720 (package-menu-get-status): Use tabulated-list-entry.
8721 (package-menu-mark-upgrades): New command.
d770725a 8722 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8723 (package-menu-execute): Do installation before deletion.
8724 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8725 instead of checking major-mode.
8726 (package-menu--find-upgrades): New function.
8727
7520339c
LMI
87282011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8729
8730 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8731 passwords in the log buffer.
65a046c4
LMI
8732 (smtpmail-process-filter): Update the process marker so that the
8733 "broken by peer" status message is inserted in the right place.
7520339c 8734
d3c30954
SM
87352011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8736
3fe48822
SM
8737 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8738 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8739 bibtex-completion-at-point-function.
8740 (bibtex-completion-at-point-function): Use them.
8741
1b8b3954
SM
8742 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8743
d3c30954
SM
8744 * mpc.el (mpc-constraints-tag-lookup): New function.
8745 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8746 also to browser "album|playlist".
8747
72779976
JL
87482011-09-14 Juri Linkov <juri@jurta.org>
8749
8750 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8751 (isearch-edit-string): Use length of `isearch-string' when
8752 `isearch-fail-pos' returns nil.
8753 (isearch-message): Remove duplicate code and call
8754 `isearch-fail-pos' with arg `t'.
8755
a0bf2bcd
CY
87562011-09-14 Chong Yidong <cyd@stupidchicken.com>
8757
17bb0a2d
CY
8758 * replace.el (occur-mode-goto-occurrence): Don't force using other
8759 window (Bug#9499).
8760
a0bf2bcd
CY
8761 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8762
f678e0b6
MR
87632011-09-14 Martin Rudalics <rudalics@gmx.at>
8764
8765 * window.el (display-buffer-window): Remove.
8766 (display-buffer-record-window): Use help-setup window parameter
8767 instead of variable display-buffer-window.
8768 (display-buffer-function, special-display-buffer-names)
8769 (special-display-function): Mention help-setup parameter instead
8770 of display-buffer-window in doc-string.
d3c30954
SM
8771 * help.el (help-window-setup): New argument help-window.
8772 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8773 Reword some messages.
8774 (with-help-window): Pass window used for displaying the buffer
8775 to help-window-setup. Don't set display-buffer-window.
8776
8e39b2e8
GM
87772011-09-13 Glenn Morris <rgm@gnu.org>
8778
8779 * emacs-lisp/debug.el (debugger-make-xrefs):
8780 Preserve point. (Bug#9462)
8781
85e9c04b
CY
87822011-09-13 Chong Yidong <cyd@stupidchicken.com>
8783
8784 * window.el (window-deletable-p): Use next-frame.
8785
1b36ed6a
MR
87862011-09-13 Martin Rudalics <rudalics@gmx.at>
8787
8788 * window.el (window-auto-delete): Remove.
8789 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8790 dedication and previous buffers.
1b36ed6a
MR
8791 (switch-to-prev-buffer): Don't delete window.
8792 (delete-windows-on): Delete a window's frame if and only if the
8793 window is dedicated.
8794 (replace-buffer-in-windows): Delete buffer's window or frame if
8795 and only if window is dedicated.
8796 (quit-window): Handle quit-restore as before last change.
4d61f28d 8797 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8798
ef8ef9fb
CY
87992011-09-13 Chong Yidong <cyd@stupidchicken.com>
8800
8801 * window.el (window-deletable-p): Never delete the last frame on a
8802 given terminal.
8803
b2cba41e
GM
88042011-09-13 Glenn Morris <rgm@gnu.org>
8805
8806 * help.el (describe-key-briefly): Copy previous standard-output change.
8807
51553db6 88082011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8809
8810 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8811
b7556719
GM
88122011-09-13 Glenn Morris <rgm@gnu.org>
8813
8814 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8815 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8816
64b51947
CY
88172011-09-12 Chong Yidong <cyd@stupidchicken.com>
8818
8819 * dired-aux.el (dired-mark-read-string): Don't return default
8820 value on empty input (Bug#9361).
8821 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8822 Omit initial minibuffer contents.
8823 (dired-do-chmod): Signal an error on empty input.
8824 (dired-mark-read-string): Don't return default on empty input.
8825
8826 * files.el (file-modes-symbolic-to-number): Doc fix.
8827
393a301e
SM
88282011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * international/mule-cmds.el (ucs-completions): Remove.
8831 (read-char-by-name): Use complete-with-action instead; add metadata.
8832
fa5660f9
CY
88332011-09-11 Chong Yidong <cyd@stupidchicken.com>
8834
8835 * window.el (display-buffer--action-function-custom-type)
8836 (display-buffer--action-custom-type): New vars.
8837 (display-buffer-alist, display-buffer-default-action)
8838 (display-buffer-overriding-action): Add defcustom types.
8839
4a592f66
CY
8840 * frame.el (delete-other-frames): Doc fix (Bug#276).
8841
73d56dbd
LMI
88422011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8843
8844 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8845
37ac18a3
CY
88462011-09-11 Chong Yidong <cyd@stupidchicken.com>
8847
8848 Change modes that used same-window-* vars to use switch-to-buffer.
8849
8850 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8851 Use switch-to-buffer.
8852
8853 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8854 (customize-browse, custom-buffer-create-other-window):
8855 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8856
8857 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8858 (Info-prev, Info-up, Info-speedbar-goto-node)
8859 (info-display-manual): Use switch-to-buffer.
8860 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8861
8862 * mail/sendmail.el (mail): Use switch-to-buffer.
8863 (mail-recover): Use switch-to-buffer-other-window.
8864
8865 * cmuscheme.el (run-scheme, switch-to-scheme):
8866 * ielm.el (ielm):
8867 * shell.el (shell):
8868 * net/rlogin.el (rlogin):
8869 * net/telnet.el (telnet, rsh):
8870 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8871
10195bd6
AS
88722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8873
8874 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8875
b322f63a
LMI
88762011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8877
39d7fed6
LMI
8878 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8879 so don't mention it (bug#9301).
ba5a81f1 8880 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8881
ee0e9f11
LMI
8882 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8883 match `x', `w32' and `ns', like the manual says (bug#9029).
8884
0b1c89c1 8885 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8886 (process-kill-buffer-query-function): Mention the buffer name in
8887 the query.
0b1c89c1 8888
77549ea8
LMI
8889 * image-mode.el (image-next-line): The line parameter is mandatory
8890 (bug#9258).
8891
803ef892
LMI
8892 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8893 which can be useful (bug#9301).
8894
12980837
LMI
8895 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8896
91054f8f
LMI
8897 * subr.el (match-string): Mention that the current buffer should
8898 be the same as the search was done in (bug#9282).
8899
b322f63a
LMI
8900 * facemenu.el: Disable the remove-* commands if the mark isn't
8901 active (bug#9162).
8902
3199b96f
CY
89032011-09-10 Chong Yidong <cyd@stupidchicken.com>
8904
8905 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8906 of display-buffer.
8907 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8908
8909 * replace.el (occur-mode-goto-occurrence)
8910 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8911 and display-buffer.
8912
8913 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8914 display-buffer.
8915
8916 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8917 special-display and same-window variables.
8918 (mail-other-window): Use switch-to-buffer-other-window.
8919 (mail-other-frame): USe switch-to-buffer-other-frame.
8920
393a301e
SM
8921 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8922 Use display-buffer-other-frame.
3199b96f
CY
8923 (gdb-display-gdb-buffer): Use pop-to-buffer.
8924
8925 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8926
8927 * progmodes/python.el: Don't set same-window-buffer-names.
8928
8929 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8930
8931 * window.el (display-buffer-alist): Add *Python*.
8932
8319e0bf
CY
89332011-09-10 Chong Yidong <cyd@stupidchicken.com>
8934
8935 * window.el (display-buffer-alist): Add entry for buffers
8936 previously handled same-window-*.
8937 (display-buffer-alist, display-buffer-default-action)
8938 (display-buffer-overriding-action): Mark as risky.
8939 (display-buffer-alist): Document action function changes.
8940 (display-buffer--same-window-action)
8941 (display-buffer--other-frame-action): New variables.
8942 (switch-to-buffer, display-buffer-other-frame): Use them.
8943 (display-buffer): Rename reuse-frame entry to reusable-frames.
8944 (display-buffer-reuse-selected-window): Function deleted.
8945 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8946 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8947 (display-buffer-special): New function.
8948 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8949 display-buffer-reuse-or-pop-window. Split off special-display
8950 part into display-buffer-special.
8951 (display-buffer-use-some-window): Don't perform any special
8952 pop-up-frames handling.
8953 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8954 (display-buffer--maybe-same-window): Rename from
0d3ff375 8955 display-buffer-maybe-same-window.
8319e0bf 8956
919a69aa
CY
8957 * info.el: Don't set same-window-regexps.
8958 (info-setup): New function.
8959 (info-other-window, info): Call it.
8960
8961 * cus-edit.el: Don't set same-window-regexps.
8962 (customize-group): New argument.
8963 (customize-group-other-window): Use it.
8964 (customize-face, customize-face-other-window): Likewise.
8965 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8966
8319e0bf
CY
8967 * net/rlogin.el:
8968 * net/telnet.el:
8969 * progmodes/gud.el: Don't set same-window-regexps.
8970
8971 * cmuscheme.el:
8972 * ielm.el:
8973 * shell.el:
8974 * mail/sendmail.el:
8975 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8976
25173000
JL
89772011-09-10 Juri Linkov <juri@jurta.org>
8978
8979 * isearch.el (isearch-edit-string): Remove obsolete mention of
8980 `C-w' (`isearch-yank-word-or-char') from docstring.
8981 (isearch-query-replace): Fix typo in docstring (bug#9466).
8982
056e44ef
JL
89832011-09-10 Juri Linkov <juri@jurta.org>
8984
8985 * paren.el (show-paren-function): Don't show escaped parens.
8986 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8987
c3760c17
EZ
89882011-09-10 Eli Zaretskii <eliz@gnu.org>
8989
8990 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8991 (mm-default-file-encoding): Remove autoload forms, they are
8992 replaced with autoload cookies in mml.el and mm-encode.el.
8993 (mail-add-attachment): New command.
8994 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8995 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8996 the doc string.
8997 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8998
fece895e
RT
89992011-09-10 Reuben Thomas <rrt@sc3d.org>
9000
e69df516
SM
9001 * simple.el (count-words-region): Use buffer if there's no region
9002 (bug#9429).
fece895e 9003
5e68ce4a
JL
90042011-09-09 Juri Linkov <juri@jurta.org>
9005
9006 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9007 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9008 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9009
0a6b9622
AM
90102011-09-09 Alan Mackenzie <acm@muc.de>
9011
9012 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9013 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9014
14a29deb
EZ
90152011-09-09 Eli Zaretskii <eliz@gnu.org>
9016
9017 Fix for Savannah bug#9392.
9018 * simple.el (mail-encode-mml): New defvar.
9019
9020 * mail/rmail.el (mail-encode-mml): Add a defvar.
9021 (rmail-enable-mime-composing): Default to t.
9022 (rmail-forward): Use MIME method of forwarding only if both
9023 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9024 Set mail-encode-mml non-nil if the MIME method was used.
9025
9026 * mail/sendmail.el (mml-to-mime): Add autoload form.
9027 (mail-encode-mml): Add a defvar.
9028 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9029 to nil.
9030 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9031 message through mml-to-mime, and reset mail-encode-mml to nil.
9032
28c45130
GM
90332011-09-09 Glenn Morris <rgm@gnu.org>
9034
9035 * woman.el (woman-if-body): When processing an .el block,
9036 do not delete the next .el block as well. (Bug#9447)
69f4b618 9037 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9038
9b1c252e
MR
90392011-09-08 Martin Rudalics <rudalics@gmx.at>
9040
9041 * window.el (window-deletable-p): Make sure window is live before
9042 invoking window-prev-buffers.
9043
567457e3
LL
90442011-09-08 Leo Liu <sdl.web@gmail.com>
9045
9046 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9047
97f05794
JL
90482011-09-08 Juri Linkov <juri@jurta.org>
9049
9050 * progmodes/compile.el (compilation-environment): Make it
9051 a defcustom (bug#8340).
9052
8b0874b5
MR
90532011-09-08 Martin Rudalics <rudalics@gmx.at>
9054
9055 * window.el (frame-auto-delete): Rename to window-auto-delete.
9056 Make it control auto-deletion of windows and/or frames.
9057 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9058 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9059 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9060 Rewrite handling of case when window/frame can be deleted.
9061 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9062 argument t. (Bug#9456)
8b0874b5 9063
4feb6e73
CY
90642011-09-07 Chong Yidong <cyd@stupidchicken.com>
9065
9066 * help-mode.el (help-mode): Restore autoload.
9067
91ab9c13
JL
90682011-09-07 Juri Linkov <juri@jurta.org>
9069
9070 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9071 `compilation-environment'. Set buffer-local
9072 `compilation-environment' to `thisenv' later after (funcall mode).
9073 (Bug#8340)
9074
9075 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9076 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9077 instead of replacing its value. (Bug#8340)
9078
0527e251
JL
90792011-09-07 Juri Linkov <juri@jurta.org>
9080
9081 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9082 based on text properties put by `grep-filter' instead of matching
9083 escape sequences.
9084 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9085 to the value of `grep-error-screen-columns' (bug#9438).
9086
249f792c
JL
90872011-09-07 Juri Linkov <juri@jurta.org>
9088
9089 * simple.el (next-error-highlight, next-error-highlight-no-select):
9090 Doc fix (bug#9432).
9091
ff7271b9
OT
90922011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9093
9094 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9095 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9096
183fc730
LL
90972011-09-07 Leo Liu <sdl.web@gmail.com>
9098
9099 * net/rcirc.el (rcirc-mode): Conditionally initialize
9100 rcirc-input-ring.
9101
77694924
SM
91022011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * emacs-lisp/find-func.el (find-function-C-source): Only set
9105 find-function-C-source-directory after checking that we found a source
9106 file there (bug#9440).
9107
d809b8eb
AM
91082011-09-06 Alan Mackenzie <acm@muc.de>
9109
9110 * isearch.el (isearch-other-meta-char): Wherever a key list is
9111 unread, "unread" the prefix arg, too. This fixes bug #8901.
9112
453de99f
OG
91132011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9114
9115 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9116
90439906
JL
91172011-09-05 Juri Linkov <juri@jurta.org>
9118
9119 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9120
f62bd846
JL
91212011-09-05 Juri Linkov <juri@jurta.org>
9122
9123 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9124 keeping point where processing of grep matches begins, and
9125 continue to delete remaining escape sequences from the same point.
9126 (grep-filter): Make leading zero optional in "0?1;31m" because
9127 git-grep emits "\033[1;31m" escape sequences unlike expected
9128 "\033[01;31m" as GNU Grep does (bug#9408).
9129 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9130
045820ec
JL
91312011-09-05 Juri Linkov <juri@jurta.org>
9132
9133 * subr.el (y-or-n-p): Capitalize "yes".
9134
f5e29b9b
MA
91352011-09-04 Michael Albinus <michael.albinus@gmx.de>
9136
9137 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9138 `tramp-cache-unload-hook' where appropriate.
9139 (tramp-methods): Rename `tramp-remote-sh' to
9140 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9141 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9142
9143 * net/tramp-sh.el (top): Don't require 'shell.
9144 (tramp-methods): Add `tramp-remote-shell' and
9145 `tramp-remote-shell-args' entries.
9146 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9147 (tramp-sh-handle-shell-command): Remove.
9148 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9149 Use `tramp-remote-shell'.
9150
2784c434
CY
91512011-09-03 Chong Yidong <cyd@stupidchicken.com>
9152
393a301e 9153 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9154 (sendmail-query-once): Save directly to send-mail-function.
9155 Update message-send-mail-function too.
9156
9157 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9158
464cdf56
CS
91592011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9160
9161 * progmodes/python.el (python-mode-map): Use correct function to
9162 start python interpreter from menu-bar (as reported by Geert
9163 Kloosterman).
9164 (inferior-python-mode-map): Fix typo.
393a301e 9165 (python-shell-map): Remove.
464cdf56 9166
d37e5c87
DD
91672011-09-03 Deniz Dogan <deniz@dogan.se>
9168
9169 * net/rcirc.el (rcirc-print): Simplify code for
9170 rcirc-scroll-show-maximum-output. There is no need to walk
9171 through all windows to find the right one.
9172
f3ada0ee
CS
91732011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9174
9175 * help.el (help-return-method): Doc fix.
9176
1f3c99ca
MR
91772011-09-03 Martin Rudalics <rudalics@gmx.at>
9178
9179 * window.el (window-deletable-p): Don't return a non-nil value
9180 when there's a buffer that was shown in the window before.
9181 (Bug#9419)
393a301e
SM
9182 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9183 Set window's previous buffers to nil.
1f3c99ca 9184
a3cf097f
EZ
91852011-09-03 Eli Zaretskii <eliz@gnu.org>
9186
9187 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9188 newline before and after the tag line, so it doesn't interfere
9189 with determining the paragraph direction of bidirectional text.
9190
3d03de90
LL
91912011-09-03 Leo Liu <sdl.web@gmail.com>
9192
9193 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9194
c3313451
CY
91952011-09-02 Chong Yidong <cyd@stupidchicken.com>
9196
393a301e 9197 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9198 (pop-to-buffer): Change interactive spec. Pass second argument
9199 directly to display-buffer.
9200 (display-buffer): Fix interactive spec. Use functionp to
9201 distinguish between a function and a list of functions.
9202
9203 * abbrev.el (edit-abbrevs):
9204 * arc-mode.el (archive-extract):
9205 * autoinsert.el (auto-insert):
9206 * bookmark.el (bookmark-bmenu-list):
9207 * files.el (find-file):
9208 * view.el (view-buffer):
9209 * progmodes/compile.el (compilation-goto-locus):
9210 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9211
89894cd8
CY
92122011-09-02 Chong Yidong <cyd@stupidchicken.com>
9213
9214 * window.el (display-buffer-alist): Doc fix.
9215 (display-buffer): Add docstring. Don't treat
9216 display-buffer-default specially.
9217 (display-buffer-reuse-selected-window)
9218 (display-buffer-same-window, display-buffer-maybe-same-window)
9219 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9220 (display-buffer-pop-up-window)
9221 (display-buffer-reuse-or-pop-window)
9222 (display-buffer-use-some-window): New functions.
9223 (display-buffer-default-action): Use them.
393a301e 9224 (display-buffer-default): Delete.
89894cd8
CY
9225 (pop-to-buffer-1): Fix choice of actions.
9226
ae0bc9fb
SM
92272011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 * minibuffer.el (completion--insert-strings): Don't get confused by
9230 completion entries that end with an LF char.
9231
e9d90883
EZ
92322011-09-01 Eli Zaretskii <eliz@gnu.org>
9233
9234 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9235
437014c8
CY
92362011-09-01 Chong Yidong <cyd@stupidchicken.com>
9237
9238 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9239 (display-buffer-same-window, display-buffer-other-window):
9240 New functions.
437014c8
CY
9241 (pop-to-buffer-1): New function. Use the above.
9242 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9243 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9244
9245 * view.el (view-buffer-other-window, view-buffer-other-frame):
9246 Just use pop-to-buffer.
9247
a5e063d5
TV
92482011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9249
9250 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9251
793d32bb
WH
92522011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9253
9254 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9255
d65e4c15
RS
92562011-08-31 Richard Stallman <rms@gnu.org>
9257
9258 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9259 of the separation of rmail-view-buffer from rmail-buffer.
9260 If you say no to "replace original", the decrypt is in the
9261 view buffer. If you say yes, the decrypt goes into the
9262 rmail buffer also.
9263
f818cd2a
MR
92642011-08-31 Martin Rudalics <rudalics@gmx.at>
9265
9266 * window.el (display-buffer-window): Rewrite doc-string.
9267 (display-buffer-record-window): New function.
9268 (display-buffer-macro-specifiers)
9269 (display-buffer-even-window-sizes, display-buffer-set-height)
9270 (display-buffer-set-width, display-buffer-in-window)
9271 (display-buffer-reuse-window, display-buffer-split-specifiers)
9272 (display-buffer-side-specifiers, display-buffer-split-window-1)
9273 (display-buffer-split-window, display-buffer-split-atom-window)
9274 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9275 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9276 (display-buffer-other-window-means-other-frame)
9277 (display-buffer-normalize-special)
9278 (display-buffer-normalize-default)
9279 (display-buffer-normalize-argument)
9280 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9281 (display-buffer-normalize-specifiers, display-buffer-frame)
9282 (display-buffer-same-window, display-buffer-same-frame)
9283 (display-buffer-other-window)
9284 (display-buffer-same-frame-other-window)
9285 (display-buffer-other-frame, pop-to-buffer-same-window)
9286 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9287 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9288 (switch-to-buffer-same-frame)
9289 (switch-to-buffer-other-window-same-frame)
9290 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9291 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9292 (display-buffer-alist-set): Remove.
9293 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9294 (special-display-regexps, special-display-function):
9295 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9296 parameter.
9297 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9298 (special-display-frame-alist, special-display-popup-frame)
9299 (same-window-buffer-names, same-window-regexps, same-window-p)
9300 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9301 (split-window-preferred-function, split-height-threshold)
9302 (split-width-threshold, window-splittable-p)
9303 (split-window-sensibly, window--try-to-split-window)
9304 (window--frame-usable-p, even-window-heights)
9305 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9306 (window--display-buffer-2, display-buffer-other-frame):
9307 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9308 (display-buffer-default, display-buffer-assq-regexp): New functions.
9309 (display-buffer-alist): Rewrite doc-string.
9310 (display-buffer-default-action)
9311 (display-buffer-overriding-action): New variables.
9312 (display-buffer, switch-to-buffer): Rewrite.
9313 (pop-to-buffer): Restore Emacs 23 behavior but use
9314 window-normalize-buffer-to-display.
9315 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9316 Restore Emacs 23 behavior but use
9317 window-normalize-buffer-to-switch-to.
9318 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9319 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9320 Rewrite using Emacs 23 options.
f818cd2a 9321
5bc3b51d
MA
93222011-08-31 Michael Albinus <michael.albinus@gmx.de>
9323
9324 * net/tramp.el (tramp-root-regexp): Remove.
9325 (tramp-completion-file-name-regexp-unified)
9326 (tramp-completion-file-name-regexp-separate)
9327 (tramp-completion-file-name-regexp-url): Don't use leading volume
9328 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9329 (tramp-drop-volume-letter): Simplify definition.
9330 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9331
b1a4f8e1
SM
93322011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9335 (bug#9356).
9336
5664fa7b
RT
93372011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9338
b1a4f8e1 9339 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9340
9a45d6c3
JL
93412011-08-29 Juri Linkov <juri@jurta.org>
9342
9343 * isearch.el (isearch-done): Don't display message "Mark saved"
9344 when arg `edit' is non-nil to prevent its flicker in the echo area.
9345
fb87e0fb
CY
93462011-08-28 Chong Yidong <cyd@stupidchicken.com>
9347
9348 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9349 obsolete packages for deletion.
9350
09ac1c2a
CS
93512011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9352
9353 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9354 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9355 view-mode from help-mode.
9356 (help-xref-override-view-map): Remove.
9357 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9358 view-mode is not used anymore.
9359
7a1ff57f
CY
93602011-08-28 Chong Yidong <cyd@stupidchicken.com>
9361
9362 * server.el (server-port): Doc fix.
9363
b9696605
CY
9364 * cus-theme.el (custom-theme-choose-mode): Inherit from
9365 special-mode (Bug#9124).
9366 (custom-theme-choose-mode-map): Add special-mode to parent.
9367
ef8cdf8c
AM
93682011-08-28 Alan Mackenzie <acm@muc.de>
9369
9370 * progmodes/cc-fonts.el
9371 (c-make-font-lock-BO-decl-search-function): New function.
9372 (c-basic-matchers-after - "Fontify the clauses after various
9373 keywords"): Extract the three keyword lists for the 3 erroneous
9374 constructs from the list of four, and use the new function above
9375 in place of an old one.
9376
27de4e20
DD
93772011-08-28 Deniz Dogan <deniz@dogan.se>
9378
9379 * net/rcirc.el (rcirc-insert-prev-input)
9380 (rcirc-insert-next-input): Remove unused argument.
9381
356a3681
SM
93822011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9383
9384 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9385
3fc9b218
AM
93862011-08-27 Alan Mackenzie <acm@muc.de>
9387
9388 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9389 handle function pointer parameters properly.
9390
538a061c
MR
93912011-08-27 Martin Rudalics <rudalics@gmx.at>
9392
9393 * window.el (display-buffer-reuse-window): Fix case where
9394 selected window was reused with non-nil OTHER-WINDOW argument.
9395 (Bug#9381)
9396
35b1c40c
DD
93972011-08-27 Deniz Dogan <deniz@dogan.se>
9398
9399 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9400 oftc's NickServ messages.
9401
2f6a3e79
GM
94022011-08-27 Glenn Morris <rgm@gnu.org>
9403
9404 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9405
7254299e
CY
94062011-08-26 Chong Yidong <cyd@stupidchicken.com>
9407
9408 * emacs-lisp/package.el (package-install): Call package-initialize
9409 if called interactively.
9410
f8ccf167
LL
94112011-08-26 Leo Liu <sdl.web@gmail.com>
9412
9413 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9414
3e8cd5ce
JL
94152011-08-25 Juri Linkov <juri@jurta.org>
9416
9417 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9418 `search-whitespace-regexp' (bug#9364).
9419
93eb7113
JL
94202011-08-25 Juri Linkov <juri@jurta.org>
9421
9422 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9423 `regexp-search-ring' to their global values to protect from
9424 updating by `read-from-minibuffer' (bug#9185).
9425
f65d1611
JL
94262011-08-25 Juri Linkov <juri@jurta.org>
9427
9428 * textmodes/ispell.el (ispell-command-loop): Add newline
9429 at the end of the "Use option `i'..." line.
9430
f1cf7a31
JL
94312011-08-25 Juri Linkov <juri@jurta.org>
9432
9433 * battery.el (display-battery-mode): If `battery-status-function'
9434 or `battery-mode-line-format' is nil, display the message and set
9435 `display-battery-mode' to nil (bug#9363).
9436
0c95fcf7
EZ
94372011-08-25 Eli Zaretskii <eliz@gnu.org>
9438
9439 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9440 bidi-string-mark-left-to-right; they are unnecessary now.
9441
a2ebe600
DD
94422011-08-25 Deniz Dogan <deniz@dogan.se>
9443
9444 * net/quickurl.el: Documentation typo fixes.
9445
e4ed06f1
CY
94462011-08-25 Chong Yidong <cyd@stupidchicken.com>
9447
9448 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9449
e5f1c99e
GM
94502011-08-25 Glenn Morris <rgm@gnu.org>
9451
b2948976
GM
9452 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9453
e5f1c99e
GM
9454 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9455 (smtpmail-via-smtp): Handle nil response from smtp.
9456
f22f4808
JL
94572011-08-24 Juri Linkov <juri@jurta.org>
9458
9459 * proced.el (proced-marked): Inherit from `error' instead of
9460 `font-lock-warning-face'.
9461
9462 * ibuffer.el (ibuffer-marked-face): Change default face from
9463 `font-lock-warning-face' to `warning'.
9464 (ibuffer-deletion-face): Change default face from
9465 `font-lock-type-face' to `error'.
9466
9467 * battery.el (battery-update): Use the face `error' instead of
9468 `font-lock-warning-face' (bug#6117).
9469
6a93965e
JL
94702011-08-24 Juri Linkov <juri@jurta.org>
9471
9472 * faces.el (success): Change face color from "Green3" to
9473 "ForestGreen" on light background (bug#9353).
9474
1ed43b09
CY
94752011-08-24 Chong Yidong <cyd@stupidchicken.com>
9476
5664fa7b
RT
9477 * window.el (quit-window): Rename from quit-restore-window.
9478 Use same arglist as old quit-window.
1ed43b09
CY
9479 (frame-auto-delete): Doc fix.
9480
9481 * view.el (view-mode-exit): Use quit-window.
9482
11dcdbb2
JL
94832011-08-24 Juri Linkov <juri@jurta.org>
9484
9485 * isearch.el (isearch-ring-adjust1): Start visiting previous
9486 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9487 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9488 for empty search string (when the last search string is reused
9489 automatically) to adjust the isearch ring to the last element and
9490 prepare the correct index for further M-p commands (bug#9185).
9491
de62b4df
KH
94922011-08-24 Kenichi Handa <handa@m17n.org>
9493
9494 * international/ucs-normalize.el: If decomposition property of
9495 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9496 nil.
9497 (nfd, nfkd): Likewise.
9498
963b492b
SM
94992011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9502 from process filters aren't reliably transmitted to the surrounding
9503 accept-process-output.
9504 (mpc-proc-check): New function.
9505 (mpc-proc-sync): Use it (bug#8293)
9506
93b6b5e1
SM
95072011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9510 Add compatibility functions (bug#9313).
9511
bca633fb
EZ
95122011-08-23 Eli Zaretskii <eliz@gnu.org>
9513
b177498a
EZ
9514 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9515
6df6ae42 9516 * international/uni-bidi.el: Regenerate.
bca633fb 9517
0902a04e
KH
95182011-08-23 Kenichi Handa <handa@m17n.org>
9519
9520 * international/charprop.el:
9521 * international/uni-bidi.el:
9522 * international/uni-category.el:
9523 * international/uni-combining.el:
9524 * international/uni-comment.el:
9525 * international/uni-decimal.el:
9526 * international/uni-decomposition.el:
9527 * international/uni-digit.el:
9528 * international/uni-lowercase.el:
9529 * international/uni-mirrored.el:
9530 * international/uni-name.el:
9531 * international/uni-numeric.el:
9532 * international/uni-old-name.el:
9533 * international/uni-titlecase.el:
9534 * international/uni-uppercase.el: Regenerate.
9535
3bbf23bc
MR
95362011-08-23 Martin Rudalics <rudalics@gmx.at>
9537
9538 * help.el (help-window-setup): Fix message displayed when other
9539 window is reused. (Bug#9341)
9540
b3fd59bd
SM
95412011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9542
1802e444
SM
9543 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9544 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9545
b3fd59bd
SM
9546 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9547 Mark obsolete.
9548 * shell.el (shell-parse-pcomplete-arguments): New function.
9549 (shell-completion-vars): Use it instead (bug#9160).
9550
4eb61348
SM
95512011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9552
867cab74
SM
9553 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9554 strings and comments (bug#9333).
9555
4eb61348
SM
9556 * emacs-lisp/debug.el (debug-arglist): New function.
9557 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9558 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9559
262a1439
JL
95602011-08-22 Juri Linkov <juri@jurta.org>
9561
56ee679c
JL
9562 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9563 Revert regexp that highlights output switches to its old
9564 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9565
262a1439
JL
9566 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9567 to check for empty output (bug#9226).
9568
f13f86fb
CY
95692011-08-22 Chong Yidong <cyd@stupidchicken.com>
9570
9571 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9572 symbol-constituent as the default, as that stops font-lock from
9573 working properly (Bug#8843).
9574
c65c9622
LMI
95752011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9576
9577 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9578 `coding-system-for-*' around the process open call to avoid
9579 auth-source side effects.
e7f2c178 9580 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9581 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9582 probe hangs.
c65c9622 9583
23a8a5ab
CY
95842011-08-21 Chong Yidong <cyd@stupidchicken.com>
9585
ff98b2dd
CY
9586 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9587
23a8a5ab
CY
9588 * emacs-lisp/find-func.el (find-function-noselect): New arg
9589 lisp-only.
9590
9591 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9592 signal an error for built-in functions (Bug#6664).
9593
f5e3c598
LMI
95942011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9595
9596 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9597 (smtpmail-try-auth-methods): Use it.
9598
a3f2468a
CY
95992011-08-21 Chong Yidong <cyd@stupidchicken.com>
9600
2c34e8da
CY
9601 * font-lock.el (font-lock-fontify-region)
9602 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9603 (font-lock-default-unfontify-buffer)
9604 (font-lock-default-fontify-region)
9605 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9606
b3fd59bd
SM
9607 * progmodes/compile.el (compilation-error-properties):
9608 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9609 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9610 `ant' regexp.
ee31aabc 9611
a3f2468a
CY
9612 * net/browse-url.el (browse-url-firefox): Don't call
9613 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9614
8e999f70
GM
96152011-08-20 Glenn Morris <rgm@gnu.org>
9616
c21a496a
GM
9617 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9618
59ee0542
GM
9619 * tutorial.el (tutorial--default-keys): Update some default bindings.
9620
8e999f70
GM
9621 * files.el (hack-local-variables): Fully ignore case for "mode:".
9622
e3715033
AM
96232011-08-20 Alan Mackenzie <acm@muc.de>
9624
9625 Resolve invalid use of a regexp in regexp-opt.
9626
4d61f28d
JB
9627 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9628 detection for a java annotation.
e3715033 9629
4d61f28d 9630 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9631 detection for a java annotation.
9632
4d61f28d
JB
9633 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9634 handling for java.
e3715033
AM
9635 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9636
04ed2e9c
CY
96372011-08-20 Chong Yidong <cyd@stupidchicken.com>
9638
9639 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9640 (Bug#9274).
9641
826cee64
AM
96422011-08-20 Alan Mackenzie <acm@muc.de>
9643
58179cce 9644 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9645 such a construct. Mainly for when jit-lock etc. starts a chunk
9646 here.
9647
58179cce 9648 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9649 variable.
58179cce 9650 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9651 c-make-font-lock-search-function.
9652 (c-make-font-lock-search-function): Use the above function.
9653 (c-make-font-lock-context-search-function): New function.
9654 (c-cpp-matchers): Enhance the preprocessor expression case with
9655 the above function
9656 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9657 which takes an expression.
9658
9659 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9660
13009bd8
MR
96612011-08-20 Martin Rudalics <rudalics@gmx.at>
9662
9663 * window.el (display-buffer-reuse-window)
9664 (display-buffer-pop-up-window): Don't reuse or split a side
9665 window.
9666
9234ff7f
GM
96672011-08-19 Glenn Morris <rgm@gnu.org>
9668
9669 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9670 Downcase "Mode:". (Bug#9331)
9234ff7f 9671
f635daa1
CY
96722011-08-18 Chong Yidong <cyd@stupidchicken.com>
9673
9674 * international/characters.el: Add L and R categories.
9675
9676 * subr.el (bidi-string-mark-left-to-right): Rename from
9677 string-mark-left-to-right. Use category search.
9678
9679 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9680
bc987f8b
JL
96812011-08-18 Juri Linkov <juri@jurta.org>
9682
9683 * faces.el (error, warning, success): New faces with definitions
9684 copied from old default values of `font-lock-warning-face',
9685 `compilation-warning', `compilation-info' (bug#6117).
9686
9687 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9688
9689 * progmodes/compile.el (compilation-error): Inherit from `error'.
9690 (compilation-warning): Inherit from `warning'.
9691 (compilation-info): Inherit from `success'.
9692
9693 * dired.el (dired-marked): Inherit from `warning'.
9694 (dired-flagged): Inherit from `error'.
9695
57173b96
LMI
96962011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9697
3e79eb87
LMI
9698 * mail/smtpmail.el (auth-source): Require to avoid problems with
9699 binding variables (bug#9298). Also clean up some unused
9700 autoloads.
9701
b3fd59bd
SM
9702 * net/network-stream.el (network-stream-open-starttls):
9703 Support using starttls.el without using gnutls-cli.
57173b96 9704
02b404de
JL
97052011-08-17 Juri Linkov <juri@jurta.org>
9706
9707 * progmodes/grep.el (rgrep): Handle the case when
9708 `grep-find-command' is a cons cell (bug#9278).
9709
8c9177f2
MR
97102011-08-17 Martin Rudalics <rudalics@gmx.at>
9711
9712 * window.el (display-buffer-pop-up-frame): Run frame creation
9713 function with BUFFER current (as special-display-popup-frame
9714 does). Reported by Drew Adams.
9715
3644a0ab
DU
97162011-08-17 Daiki Ueno <ueno@unixuser.org>
9717
9718 * epa-mail.el: Simplify GnuPG group expansion using
9719 epg-expand-group.
9720 (epa-mail-group-alist, epa-mail-group-modtime)
9721 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9722 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9723 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9724 Remove.
9725
5e617bc2 97262011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9727
9728 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9729
9c4aeabf
AM
97302011-08-16 Alan Mackenzie <acm@muc.de>
9731
9732 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9733 Correct, to avoid the inside of macros.
9734
3a99bf64
RS
97352011-08-16 Richard Stallman <rms@gnu.org>
9736
04963aa8
RS
9737 * epa-mail.el: Handle GnuPG group definitions.
9738 (epa-mail-group-alist, epa-mail-group-modtime)
9739 (epa-mail-gnupg-conf-file): New variables.
9740 (epa-mail-parse-groups, epa-mail-sync-groups)
9741 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9742 (epa-mail-expand-recipients): New functions.
9743 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9744
177549d0
RS
9745 * mail/rmail.el (rmail-epa-decrypt): New command.
9746
fe38beef
RS
9747 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9748 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9749 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9750 (epa-decrypt-armor-in-region): Make error message clearer.
9751
934eacb9
SM
97522011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9753
9754 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9755 and "a2b" to "ab" for `prefix'.
9756
d024fb4e
CY
97572011-08-14 Chong Yidong <cyd@stupidchicken.com>
9758
9759 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9760 filter groups.
de148fee
CY
9761 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9762 Fourquet (Bug#8804).
d024fb4e 9763
62f1ca49
JB
97642011-08-12 Juanma Barranquero <lekktu@gmail.com>
9765
9766 * startup.el (argi): Declare as global variable (bug#9275).
9767
9ccaaa4b
CY
97682011-08-12 Chong Yidong <cyd@stupidchicken.com>
9769
9770 * subr.el (string-mark-left-to-right): Search the entire string
9771 for RTL script, not just the terminating character. Doc fix.
9772
a3dae87a
SM
97732011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9774
6cd18349
SM
9775 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9776 New function.
9777 (js--regexp-literal, js-syntax-propertize-function): Remove.
9778 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9779 (js-mode-map): Don't rebind electric keys.
9780 (js-insert-and-indent): Remove.
9781 (js-mode): Setup electric-layout and electric-indent instead.
9782
a3dae87a
SM
9783 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9784
9d5cb631
DU
97852011-08-12 Daiki Ueno <ueno@unixuser.org>
9786
9787 * epa.el (epa-progress-callback-function): Fix the logic of
9788 displaying progress.
9789 * epa-file.el (epa-file-insert-file-contents): Make progress
9790 display more user-friendly.
9791 (epa-file-write-region): Ditto.
9792
3e26a4a2
CY
97932011-08-10 Chong Yidong <cyd@stupidchicken.com>
9794
9795 * subr.el (string-mark-left-to-right): New function.
9796
9797 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9798 Use string-mark-left-to-right.
9799 (list-buffers-noselect): Caller changed.
9800
a3dae87a
SM
9801 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9802 Use string-mark-left-to-right.
3e26a4a2
CY
9803 (tabulated-list-print): Recenter after moving point.
9804
ac8cf6e6
JL
98052011-08-10 Juri Linkov <juri@jurta.org>
9806
9807 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9808 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9809 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9810
8d96c9a4
CY
98112011-08-09 Chong Yidong <cyd@stupidchicken.com>
9812
9813 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9814 (Bug#7554).
9815
7be1c708 98162011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9817
9818 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9819 character. (Bug#6594)
9820
37e11a63
CY
98212011-08-08 Chong Yidong <cyd@stupidchicken.com>
9822
839dde57
CY
9823 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9824 (image-dired--with-db-file): New macro.
9825 (image-dired-write-tags, image-dired-remove-tag)
9826 (image-dired-create-gallery-lists, image-dired-write-comments)
9827 (image-dired-get-comment, image-dired-mark-tagged-files)
9828 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9829 (image-dired-gallery-generate): Use insert-file-contents.
9830
37e11a63
CY
9831 * time.el (display-time-world-list, display-time-world-display):
9832 * time-stamp.el (time-stamp-string):
9833 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9834 set-time-zone-rule (Bug#7337).
9835
0b4946c4
DU
98362011-08-08 Daiki Ueno <ueno@unixuser.org>
9837
9838 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9839 (epg-error-to-string, epg-errors-to-string): New function.
9840 (epg-wait-for-completion): Reverse errors list.
9841 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9842 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9843 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9844 (epg-sign-keys, epg-generate-key-from-file)
9845 (epg-generate-key-from-string): Format errors by using
9846 epg-errors-to-string (bug#9255).
9847 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9848
75bfc667
JL
98492011-08-07 Juri Linkov <juri@jurta.org>
9850
9851 * faces.el (list-faces-display): Remove extra angle bracket
9852 from `help-mode-map'.
9853
9854 * info.el (Info-history-toc-nodes): Doc fix.
9855
9856 * longlines.el (longlines-mode): Doc fix.
9857
673e08bb
SM
98582011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9859
4640dd88
SM
9860 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9861 of statements and in a few more cases (bug#9183).
9862
673e08bb
SM
9863 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9864 New functions.
9865 (cl-transform-lambda): Use them (bug#9239).
9866
89b3f019
MR
98672011-08-05 Martin Rudalics <rudalics@gmx.at>
9868
9869 * window.el (display-buffer-same-window)
9870 (display-buffer-same-frame, display-buffer-other-window)
9871 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9872 (pop-to-buffer-other-window)
9873 (pop-to-buffer-same-frame-other-window)
9874 (pop-to-buffer-other-frame): Make them defuns.
9875 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9876
640c8776
SM
98772011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9878
9879 * subr.el (make-composed-keymap): Move from C. Change calling
9880 convention, and improve docstring to bring attention to a subtle point.
9881 * minibuffer.el (completing-read-default): Adjust accordingly.
9882
63648a95
MA
98832011-08-03 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9886 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9887
9888 * net/trampver.el: Update release number.
9889
b796c9b7
SM
98902011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9893 "in" (bug#9190).
9894
2239d7d5
LMI
98952011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9896
e07dd7c3
LMI
9897 * mail/sendmail.el (sendmail-query-once): Restore the current
9898 buffer after querying (bug#9074).
9899
0e6a2bd7
LMI
9900 * dired.el (dired-flagged): Use different faces for marked and
9901 flagged files (bug#6117).
9902
ce887515
LMI
9903 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9904 (bug#4433).
9905
92f2affc
LMI
9906 * ido.el (ido-mode): Switch off the message if called
9907 non-interactively.
9908
57d5aff0
LMI
9909 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9910 before 587, since it appears that that's more likely to work for
9911 more people.
9912
98cd6c18 9913 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9914 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9915 exist.
9916
b96dec83
LMI
9917 * info.el: Remove the `Info-beginning-of-buffer' function
9918 (bug#8325).
9919
b796c9b7
SM
9920 * net/network-stream.el (network-stream-open-starttls):
9921 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9922
d90e2ea0
MR
99232011-08-01 Martin Rudalics <rudalics@gmx.at>
9924
9925 * window.el (display-buffer-in-window): Don't set dedicated status
9926 of window here (Bug#9215).
9927 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9928 (display-buffer-pop-up-side-window)
b796c9b7 9929 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9930
cca09170
SM
99312011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9932
9933 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9934 before binding generated-autoload-file.
9935
027b979c
DD
99362011-08-01 Deniz Dogan <deniz@dogan.se>
9937
9938 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9939
3c7ee4f3
MA
99402011-07-30 Michael Albinus <michael.albinus@gmx.de>
9941
9942 Sync with Tramp 2.2.2.
9943
9944 * net/trampver.el: Update release number.
9945
2cc8e51a
JL
99462011-07-30 Juri Linkov <juri@jurta.org>
9947
9948 * dired-aux.el (dired-touch-initial): Remove function.
9949 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9950 current time, and `default' to the last modification time of the
9951 current marked file (bug#6887).
9952
a514d856
JM
99532011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9954
9955 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9956 numeric argument to read-number (bug#9163).
a514d856 9957
8a7eddd7
MA
99582011-07-27 Michael Albinus <michael.albinus@gmx.de>
9959
9960 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9961 connection process, it could be nil.
9962
1ddd96f5
LL
99632011-07-27 Leo Liu <sdl.web@gmail.com>
9964
9965 Simplify url handling in rcirc-mode.
9966
9967 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9968 (rcirc-browse-url-at-mouse): Remove.
9969 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9970
b248a85d
AM
99712011-07-26 Alan Mackenzie <acm@muc.de>
9972
9973 Fontify bitfield declarations properly.
9974
9975 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9976 (c-symbol-chars): Now exported as a lang variable.
9977 (c-not-primitive-type-keywords): New lang variable.
9978
9979 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9980 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9981 parsed as a bitfield declaration.
b248a85d 9982
b796c9b7
SM
9983 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9984 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9985 (c-punctuation-in): New function.
9986 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9987 declarations properly.
9988
68575ab0
UJ
99892011-07-26 Ulf Jasper <ulf.jasper@web.de>
9990
9991 * calendar/icalendar.el (icalendar--all-events): Take care of
9992 multiple vcalendars in a single file.
b796c9b7 9993 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9994
0f0a88b9
DD
99952011-07-25 Deniz Dogan <deniz@dogan.se>
9996
9997 * image.el (insert-image): Clarifying docstring.
9998
0b3f36df
MA
99992011-07-24 Michael Albinus <michael.albinus@gmx.de>
10000
10001 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10002 `tramp-send-command-and-check' if there is no error.
10003 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10004
a9901f61
AM
100052011-07-22 Alan Mackenzie <acm@muc.de>
10006
10007 Prevent cc-langs.elc being loaded at run time.
10008
10009 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10010 cc-langs.
10011
4d61f28d 10012 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10013 "(require 'cc-langs)". Quote a form so it will evaluate at
10014 (cc-mode's) compilation time.
10015
11d074b2
MA
100162011-07-22 Michael Albinus <michael.albinus@gmx.de>
10017
10018 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10019 loading. (Bug#9114)
10020
938b94c8
MR
100212011-07-21 Martin Rudalics <rudalics@gmx.at>
10022
10023 * window.el (display-buffer-pop-up-window)
10024 (display-buffer-pop-up-side-window)
10025 (display-buffer-in-side-window): Call display-buffer-set-height
10026 and display-buffer-set-width after setting the new window's
b796c9b7 10027 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10028
bfa4f190
SS
100292011-07-20 Sam Steingold <sds@gnu.org>
10030
10031 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10032 (etags-tags-included-tables): Call `convert-standard-filename' on
10033 the file names contained in TAGS so that windows Emacs can handle
10034 TAGS files created by cygwin ctags.
10035
8ca42262
LMI
100362011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10037
10038 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10039 which apparently didn't work.
10040
5db2afd2 100412011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10042
5db2afd2
RW
10043 * proced.el (proced-send-signal): For *Marked Processes* buffer
10044 put point at beginning of buffer.
10045
92e15d10
SB
100462011-07-19 Stephen Berman <stephen.berman@gmx.net>
10047
10048 * proced.el (proced-format): Make header lines align with the text
10049 (bug#1779).
10050
1bfd59e5
LMI
100512011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10052
10053 * view.el (view-buffer): Allow running in `special' modes if we're
10054 visiting a file (bug#8615).
10055
f5aae37c
MR
100562011-07-19 Martin Rudalics <rudalics@gmx.at>
10057
10058 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10059 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10060 New functions.
f5aae37c
MR
10061 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10062 more accurately.
10063
bf2c1571
AM
100642011-07-18 Alan Mackenzie <acm@muc.de>
10065
10066 Fontify declarators properly when, e.g., a jit-lock chunk begins
10067 inside a declaration.
10068
10069 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10070
b796c9b7
SM
10071 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10072 New function.
bf2c1571
AM
10073 (c-complex-decl-matchers): Insert reference to
10074 c-font-lock-enclosing-decls.
10075
10076 * progmodes/cc-engine.el (c-backward-single-comment):
10077 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10078 to nil around calls to (forward-comment -1).
10079
4e190b80
LMI
100802011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10081
12dc863d
LMI
10082 * image.el (put-image): Doc typo fix.
10083
a762e966
LMI
10084 * progmodes/etags.el (tags-search): Doc typo fix.
10085
4e190b80
LMI
10086 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10087 password if we get errors 550 to 554.
10088
f019fb21
LMI
100892011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10090
b796c9b7 10091 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10092
81746738
LMI
10093 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10094 indentation character (bug#6380).
10095
3ee3a1b5
LMI
10096 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10097
c82f64de
LMI
10098 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10099 to clarify what the problem is (bug#4291).
10100
f019fb21
LMI
10101 * simple.el (current-kill): Clarify what
10102 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10103 (auto-fill-mode): Document `auto-fill-function' in relation to
10104 `auto-fill-mode' (bug#2470).
f019fb21 10105
0794775d
LM
101062011-07-16 Lawrence Mitchell <wence@gmx.li>
10107
10108 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10109 method if slot is read-only (bug#9035).
10110
be39b8cc
MR
101112011-07-16 Martin Rudalics <rudalics@gmx.at>
10112
b796c9b7 10113 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10114 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10115 selected before, see discussion of (Bug#8615), (Bug#6954).
10116 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10117
6ccf7859
GM
101182011-07-15 Glenn Morris <rgm@gnu.org>
10119
10120 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10121 Respect help-form.
6ccf7859 10122
87e86684
LM
101232011-07-09 Lawrence Mitchell <wence@gmx.li>
10124
10125 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10126 (gnutls-negotiate): Use it.
10127
d6066239
LMI
101282011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10129
b796c9b7
SM
10130 * net/gnutls.el (gnutls-negotiate):
10131 Upcase `gnutls-algorithm-priority'.
d6066239 10132
bd23ebc0
GM
101332011-07-15 Glenn Morris <rgm@gnu.org>
10134
c65bca65
GM
10135 * jka-compr.el (jka-compr-verbose): Move from here...
10136 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10137 Add missing :version tag.
10138 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10139
478615cc
LMI
101402011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10141
7b41decb
LMI
10142 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10143 (gnutls-negotiate): Use it.
10144
dbc44fcd
LMI
10145 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10146
06789f97
LMI
10147 * info.el (Info-beginning-of-buffer): New command.
10148 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10149 announcing `b' as the key (bug#8325).
ab896c37 10150 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10151
c39da690
LMI
10152 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10153
3aa5f34b
LMI
10154 * international/mule-cmds.el
10155 (describe-specified-language-support): Make the error message
10156 clearer (bug#8905).
10157
4bf0979f
LMI
10158 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10159
478615cc
LMI
10160 * isearch.el (isearch-barrier): Add a doc string, since it's
10161 mentioned in a function doc string (bug#8678).
10162
75c68aa1
MR
101632011-07-15 Martin Rudalics <rudalics@gmx.at>
10164
10165 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10166 buffer argument (Bug#9083) and self-identifying label argument.
10167
a7c33da2
GM
101682011-07-15 Glenn Morris <rgm@gnu.org>
10169
10170 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10171
2f5c6024
LMI
101722011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10173
10174 * man.el (Man-fontify-manpage): Fix message when formatting the
10175 man page (bug#7929).
10176
0bb23927 101772011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10178
10179 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10180 argument LRM; if non-nil, append an invisible LRM character to the
10181 buffer name.
10182 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10183 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10184 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10185 paragraph direction.
cce4b0a7 10186
621ef9ab
LMI
101872011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10188
d1583c48
LMI
10189 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10190 the man page name (bug#7929).
10191
6a57fb5f
LMI
10192 * image.el (put-image): Mention the `put-image' overlay property
10193 (bug#7834).
10194
d7956b14
LMI
10195 * scroll-bar.el (set-scroll-bar-mode): Mention that
10196 `scroll-bar-mode' lists the values (bug#7772).
10197
5b2d4a66
LMI
10198 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10199 command (bug#7729).
10200
7509a874
LMI
10201 * rect.el (apply-on-rectangle): Return the point after the last
10202 operation.
10203 (string-rectangle): Go to the point after the last operation
10204 (bug#7522).
10205
4fe74b19
LMI
10206 * printing.el (pr-toggle-region): Clarify the documentation
10207 slightly (bug#7493).
10208
b796c9b7
SM
10209 * time.el (display-time-update):
10210 Allow `display-time-mail-function' to return nil (bug#7158).
10211 Fix suggested by Detlev Zundel.
ab283561 10212
fc233c9d
LMI
10213 * vc/diff.el (diff): Clarify the order the file names are read
10214 (bug#7111).
10215
43f5740b
LMI
10216 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10217 the doc string (bug#7015).
10218
f2182a76
LMI
10219 * font-lock.el (font-lock-maximum-decoration): Mention what
10220 numeric levels mean (bug#6935).
10221
621ef9ab
LMI
10222 * startup.el (initial-buffer-choice): Don't mention the `none'
10223 selection, which is against policy.
10224
adc47434
MR
102252011-07-14 Martin Rudalics <rudalics@gmx.at>
10226
b796c9b7
SM
10227 * window.el (display-buffer-normalize-special):
10228 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10229
7e5bfb8f
EZ
102302011-07-14 Eli Zaretskii <eliz@gnu.org>
10231
10232 * subr.el (version<, version<=, version=): Mention "-CVS" and
10233 "-12345" alpha version numbers.
10234
27fa387a
CY
102352011-07-14 Chong Yidong <cyd@stupidchicken.com>
10236
10237 * bindings.el: Add advertised binding for set-mark-command
10238 (Bug#5772).
10239
8bdfa064
CY
102402011-07-14 Chong Yidong <cyd@stupidchicken.com>
10241
10242 * bindings.el (mode-line-other-buffer):
10243 * bookmark.el (bookmark-bmenu-2-window):
10244 * bs.el (bs-cycle-next, bs-cycle-previous):
10245 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10246 switch-to-buffer.
10247
10248 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10249 Delete.
8bdfa064 10250
5eba16a3
JB
102512011-07-14 Juanma Barranquero <lekktu@gmail.com>
10252
10253 * follow.el (follow-debug-message, follow-redisplay):
10254 * jka-cmpr-hook.el (with-auto-compression-mode):
10255 Fix typos in docstrings.
10256
15853710
LMI
102572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10258
a28e4607
LMI
10259 * subr.el (with-silent-modifications): Clarify somewhat what the
10260 macro inhibits (bug#6525).
10261
15853710
LMI
10262 * simple.el (eval-expression): Note what it does if called
10263 interactively (bug#6495).
10264
bee0fcef
CY
102652011-07-13 Chong Yidong <cyd@stupidchicken.com>
10266
b796c9b7
SM
10267 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10268 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10269
10270 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10271 Remove switch-to-buffer.
10272
58274504
LMI
102732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10274
bd2fcc8d
LMI
10275 * files.el (make-directory): Clarify that an error will be raised
10276 if there's an error (bug#6397).
10277
0f04b32c
LMI
10278 * startup.el (initial-buffer-choice): Add `none' as a choice
10279 (bug#6234).
10280
465c5fc8
LMI
10281 * subr.el (add-hook): Clarify section about buffer-local hooks
10282 (bug#6218).
10283
58274504
LMI
10284 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10285
bead9a43
JB
102862011-07-13 Juanma Barranquero <lekktu@gmail.com>
10287
10288 * tabify.el (untabify): Preserve the current column so that point
10289 doesn't move (bug#6032).
10290
3af98a7b
LMI
102912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10292
b796c9b7
SM
10293 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10294 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10295
6240145a
GM
102962011-07-13 Glenn Morris <rgm@gnu.org>
10297
10298 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10299 (dired-insert-directory): Give a message the first time
10300 if ls is found not to support --dired.
10301
1d8c2ccc
LMI
103022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10303
10304 * simple.el (toggle-truncate-lines): Clarify what is toggled
10305 (bug#5580). Text by Drew Adams.
10306
5fc4038e
CY
103072011-07-13 Chong Yidong <cyd@stupidchicken.com>
10308
10309 * simple.el (blink-matching-open): Make the error message from the
10310 last change less verbose.
10311
bf6012e5
DN
103122011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10313
10314 * font-lock.el (font-lock-comment-face): Use the high contrast
10315 "yellow" color for font-lock-comment-face on low color terminals
10316 using a dark background color (bug#4221).
10317
343c3b5a
LMI
103182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10319
7e9505c5
LMI
10320 * dired.el (dired-insert-set-properties): Make the doc string
10321 reflect what it does now (bug#5325).
10322
c26fdcf5
LMI
10323 * simple.el (blink-matching-open): Say that we were unable to find
10324 the match within the limit, if we're limited (bug#5122).
10325
bb388cc5
LMI
10326 * international/mule-cmds.el (prefer-coding-system): Add an
10327 example (bug#4869).
10328
343c3b5a
LMI
10329 * progmodes/etags.el (tags-search): Document `file-list-form'
10330 (bug#4731).
10331
2a517d45
LM
103322011-07-13 Lawrence Mitchell <wence@gmx.li>
10333
10334 * net/browse-url.el (browse-url-default-browser)
10335 (browse-url-browser-function): Make the default browser choice a
10336 bit more logical (bug#4300). Also clean up the doc string.
10337
b6c78ef2
JB
103382011-07-13 Juanma Barranquero <lekktu@gmail.com>
10339
10340 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10341 binary endings (bug#4440).
10342
1c4dd947
LMI
103432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10344
a2014063
LMI
10345 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10346 which can be pretty annoying (bug#8971).
10347
9c9c2d88
LMI
10348 * jka-compr.el (jka-compr-verbose): New variable, and use
10349 throughout (bug#8971).
10350
1c4dd947
LMI
10351 * info.el (Info-find-file): Fall back on the installation
10352 directory if we can't find the info node anywhere else.
10353
a1c9f41b
SO
103542011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10355
10356 * vc/vc.el (vc-revert-file):
10357 Don't set file time-stamp in the past. (Bug#5181)
10358
536f3d36
LMI
103592011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10360
7152b011
LMI
10361 * files.el (after-find-file): Give a better error message when
10362 trying to find a symlink that points to a file that doesn't exist
10363 (bug#4398).
10364
536f3d36
LMI
10365 * progmodes/cc-vars.el: Remove (probably) misleading comment
10366 (bug#4396).
10367
460c0fba
JB
103682011-07-12 Johan Bockgård <bojohan@gnu.org>
10369
10370 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10371
7a6bda45
CY
103722011-07-12 Chong Yidong <cyd@stupidchicken.com>
10373
10374 * mouse-sel.el: Hack restoring functionality, while keeping
10375 compatibility with 2010-07-03 changes to mouse selection.
10376 (mouse-sel-primary-overlay): New var.
10377 (mouse-sel-selection-alist): Use it.
10378 (mouse-sel-mode): Doc fix; remove points that are default features
10379 of mouse.el.
10380
c79598ef
JB
103812011-07-12 Johan Bockgård <bojohan@gnu.org>
10382
10383 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10384 Fix previous fix (bug#2490).
10385
ff8be6ef
RW
103862011-07-12 Roland Winkler <winkler@gnu.org>
10387
b796c9b7
SM
10388 * textmodes/bibtex.el (bibtex-initialize):
10389 Use pop-to-buffer-same-window.
ff8be6ef
RW
10390 (bibtex-search-entries): Fix interactive call.
10391
296ba3ee
LMI
103922011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10393
f5242a02 10394 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10395 Fontise bytecomp Error lines more correctly (bug#2490).
10396 Fix suggested by Johan Bockgård.
f5242a02 10397
296ba3ee
LMI
10398 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10399
10400 * dired-x.el (dired-guess-default): Use `delete-dups'.
10401
f69fd0d2
CY
104022011-07-12 Chong Yidong <cyd@stupidchicken.com>
10403
10404 * dired.el (dired-mark-prompt):
10405 * dired-aux.el (dired-read-shell-command): Doc fix.
10406
eab5dc07
LMI
104072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10408
b796c9b7
SM
10409 * mail/sendmail.el (sendmail-query-once):
10410 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10411 emacs -Q.
10412
10413 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10414
eab5dc07
LMI
10415 * cus-edit.el (custom-file): Take an optional no-error variable.
10416 (customize-save-variable): Set the variable, and give a warning if
10417 running under "emacs -q".
10418
a1e65d42
JB
104192011-07-11 Juanma Barranquero <lekktu@gmail.com>
10420
10421 * loadhist.el (unload-feature-special-hooks):
10422 Add `auto-coding-functions', `fill-nobreak-predicate' and
10423 `find-directory-functions' (bug#5327).
10424
1d52da10
LMI
104252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10426
be958f1d
LMI
10427 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10428
5bedb26c
LMI
10429 * cus-edit.el (custom-guess-name-alist): -alist variables should
10430 use the `alist' type (bug#3120). Suggested by Drew Adams.
10431
1d52da10
LMI
10432 * printing.el: Add documentation to all the `pr-toggle-' commands.
10433
cd394be1 104342011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10435
10436 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10437 backends where it makes sense (bug#2623).
10438
dcc88d8a
LMI
104392011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10440
c3de9feb
LMI
10441 * dired-x.el (dired-guess-default): Remove duplicate shell command
10442 entries (bug#2028).
8a93078b 10443 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10444 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10445
dcc88d8a
LMI
10446 * subr.el (remove-duplicates): New conveniency function.
10447
505e3645
LMI
104482011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10449
10450 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10451 (bug#1526).
10452
104532011-07-10 Martin Rudalics <rudalics@gmx.at>
10454
10455 * window.el (display-buffer-normalize-default): Don't invert
10456 meaning of even-window-heights. Reported by Eli Zaretskii
10457 <eliz@gnu.org>.
10458
455e4fa1
BR
104592011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10460
10461 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10462
8e0bc3e9
CY
104632011-07-10 Chong Yidong <cyd@stupidchicken.com>
10464
10465 * window.el (display-buffer): Fix arguments to
10466 display-buffer-reuse-window in last change.
10467
fa7c3228
CY
10468 * faces.el (link): Use a less saturated blue on light backgrounds.
10469
10470 * startup.el (fancy-startup-text, fancy-about-text)
10471 (fancy-startup-tail): Use font-lock faces, for background safety.
10472
c0a7f300
BN
104732011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10474
b796c9b7
SM
10475 * emulation/viper-cmd.el (viper-change-state-to-vi):
10476 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10477
4dc2a129
MR
104782011-07-09 Martin Rudalics <rudalics@gmx.at>
10479
10480 * window.el (display-buffer-default-specifiers): Remove.
10481 (display-buffer-macro-specifiers): Remove default specifiers.
10482 (display-buffer-alist): Default to nil.
b796c9b7 10483 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10484 (display-buffer-pop-up-window): Allow splitting internal
10485 windows. Check whether a live window was created.
10486 (display-buffer-other-window-means-other-frame)
10487 (display-buffer-normalize-arguments): Rename to
10488 display-buffer-normalize-argument and rewrite. Set the
10489 other-window specifier.
10490 (display-buffer-normalize-special): New function.
10491 (display-buffer-normalize-options): Rename to
10492 display-buffer-normalize-default and rewrite.
10493 (display-buffer-normalize-options-inhibit): Remove.
10494 (display-buffer-normalize-specifiers): Rewrite.
10495 (display-buffer): Process other-window specifier and call
10496 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10497 more faithfully.
b796c9b7 10498 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10499 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10500 (display-buffer-in-window, display-buffer-alist-set):
10501 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10502 <tassilo@member.fsf.org>.
10503
2d43b8c9
LL
105042011-07-09 Leo Liu <sdl.web@gmail.com>
10505
10506 * register.el (insert-register): Restore accidental change on
10507 2011-06-26. (Bug#9028)
10508
7f9b7c53
GM
105092011-07-09 Glenn Morris <rgm@gnu.org>
10510
10511 * subr.el (remq): Handle the empty list. (Bug#9024)
10512
f042cfd8
AS
105132011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10514
10515 * mail/sendmail.el (send-mail-function): No longer delay custom
10516 initialization.
10517 * custom.el (custom-initialize-delay): Doc fix.
10518
856b2f11
SM
105192011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10522
afae1d68
MA
105232011-07-08 Michael Albinus <michael.albinus@gmx.de>
10524
10525 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10526 human-friendly prompt.
10527
0757af94
SM
105282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10529
10530 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10531 provided by a particular plugin.
10532
d760b731
LMI
105332011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10534
10535 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10536 save customizations (with "emacs -Q"), just set the variable
10537 instead of erroring out.
10538
10539 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10540
cd79ce90
JL
105412011-07-08 Juri Linkov <juri@jurta.org>
10542
10543 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10544 (archive-zip-update-case): Use 7z if found by `executable-find'.
10545 The order of searching the available programs is the same as in
10546 `archive-zip-extract' (bug#8968).
10547
14cc04aa
CY
105482011-07-07 Chong Yidong <cyd@stupidchicken.com>
10549
10550 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10551 (menu-bar-options-menu): Tweak descriptions.
10552
0a1848ec
LMI
105532011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10554
10555 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10556 menu items into verb phrases (bug#1421). Also refill to fit under
10557 80 columns.
10558
f5bd0689
CY
105592011-07-07 Chong Yidong <cyd@stupidchicken.com>
10560
538e85c6
CY
10561 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10562 (Info-read-node-name): Doc fix (Bug#1084).
10563
f5bd0689
CY
10564 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10565 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10566 (end-of-sexp, beginning-of-sexp)
10567 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10568 (forward-symbol, forward-same-syntax, word-at-point)
10569 (sentence-at-point): Doc fix (Bug#1144).
10570
56ec5115
LMI
105712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10572
f3f8e37f
LMI
10573 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10574 should cover it (bug#1281).
10575
0757af94 10576 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10577
e9fce1ac 10578 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10579 negotiation fails, then possibly try again with a non-encrypted
10580 connection (bug#9017).
10581
56ec5115
LMI
10582 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10583 be used.
10584
c2f9aec8
RS
105852011-07-07 Richard Stallman <rms@gnu.org>
10586
10587 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10588 property, and handle its changed format.
10589 Look for the correct line number.
10590 Use file's line contents (but not past first =) to find
10591 correct line in message.
10592
ef7b981d 105932011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10594
10595 * international/characters.el (build-unicode-category-table):
10596 Delete it.
0757af94 10597 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10598
0757af94 10599 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10600 to src/chartab.c.
10601 (get-char-code-property): Call unicode-property-table-internal to
10602 load a file. Call get-unicode-property-internal where necessary.
10603 (put-char-code-property): Call unicode-property-table-internal to
10604 load a file. Call put-unicode-property-internal where necessary.
10605 put-unicode-property-internal where necessary.
0757af94
SM
10606 (char-code-property-description):
10607 Call unicode-property-table-internal to load a file.
c805dec0
KH
10608
10609 * international/charprop.el:
10610 * international/uni-bidi.el:
10611 * international/uni-category.el:
10612 * international/uni-combining.el:
10613 * international/uni-comment.el:
10614 * international/uni-decimal.el:
10615 * international/uni-decomposition.el:
10616 * international/uni-digit.el:
10617 * international/uni-lowercase.el:
10618 * international/uni-mirrored.el:
10619 * international/uni-name.el:
10620 * international/uni-numeric.el:
10621 * international/uni-old-name.el:
10622 * international/uni-titlecase.el:
10623 * international/uni-uppercase.el: Regenerate.
10624
10625 * loadup.el: Load international/charprop.el before
10626 international/characters.
10627
e14b388a
CY
106282011-07-07 Chong Yidong <cyd@stupidchicken.com>
10629
10630 * window.el (next-buffer, previous-buffer): Signal an error if
10631 called from a minibuffer window.
10632
10633 * bindings.el: Revert 2011-07-04 change.
10634
354cf0ba
RS
106352011-07-06 Richard Stallman <rms@gnu.org>
10636
10637 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10638 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10639 Treat markers like ints.
10640 (rmail-mime-entity): Doc fix.
10641
a48868a7
LMI
106422011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10643
4906cd3d
LMI
10644 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10645 defcustom again for backwards compatibility.
10646
e0457abe
LMI
10647 * simple.el (shell-command-on-region): Fill.
10648
d67f7e1f
LMI
10649 * dired-aux.el (dired-kill-line): Add a doc string.
10650
fe204702
LMI
10651 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10652 to "\\sw\\|\\s_" (bug#358).
10653
a48868a7
LMI
10654 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10655 (dired-unmark-backward): Ditto.
10656 (dired-flag-backup-files): Ditto.
10657
10658 * dired-x.el (dired-mark-sexp): Ditto.
10659
aa8a705c
RS
106602011-07-06 Richard Stallman <rms@gnu.org>
10661
10662 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10663 (rmail-mime-entity): New arg TRUNCATED.
10664 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10665 New functions.
10666 (rmail-mime-save): Warn if entity is truncated.
10667 (rmail-mime-toggle-hidden): Likewise, for showing.
10668 (rmail-mime-process-multipart): Record when an entity is truncated.
10669
a9a936b9
RS
10670 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10671 if ENTITY is a string.
10672
1f2b92cb
LMI
106732011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10674
f4f73198 10675 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10676 of faces when `M-C-x'-ing their definitions (bug#8378).
10677 Also clean up the code slightly.
f4f73198 10678
12b16734 10679 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10680 because that makes the colors go away.
12b16734 10681
f0691d22
LMI
10682 * mail/sendmail.el (send-mail-function): Change the default to
10683 `sendmail-query-once'.
9e87df06 10684 (sendmail-query-once): Add an autoload cookie.
f0691d22 10685
1f2b92cb
LMI
10686 * net/network-stream.el (network-stream-open-starttls): Try using
10687 a plain connection even if the server offered STARTTLS, and we
10688 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10689 capability. This should make smtpmail.el work in slightly more
10690 configurations.
10691
1cdd2a1b
MA
106922011-07-06 Michael Albinus <michael.albinus@gmx.de>
10693
10694 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10695 New defun.
10696 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10697
fbcc67e2
MM
106982011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10699
10700 * progmodes/sql.el: Version 3.0
0757af94 10701 (sql-product-alist): Add product :completion-object,
fbcc67e2 10702 :completion-column, and :statement attributes.
0757af94 10703 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10704 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10705 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10706 ansi keywords.
10707 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10708 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10709 (sql-oracle-show-reserved-words): New function for development.
10710 (sql-product-font-lock): Simplify for source code buffers.
10711 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10712 New functions.
10713 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10714 (sql-mode-map): Add statement movement functions.
10715 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10716 New variable.
fbcc67e2
MM
10717 (sql-statement-regexp, sql-beginning-of-statement)
10718 (sql-end-of-statement, sql-signum): New functions.
0757af94 10719 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10720 (sql-show-sqli-buffer): Bug fix.
10721 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10722 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10723 with sql-interactive-mode.
10724 (sql-save-connection): Save buffer local settings.
0757af94 10725 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10726 (sql-product-interactive): Bug fix.
10727 (sql-preoutput-hold): New variable.
10728 (sql-interactive-remove-continuation-prompt): Bug fixes.
10729 (sql-debug-redirect): New variable.
10730 (sql-str-literal): New function.
10731 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10732 Redesign.
fbcc67e2
MM
10733 (sql-oracle-save-settings, sql-oracle-restore-settings)
10734 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10735 (sql-completion-object, sql-completion-column)
10736 (sql-completion-sqlbuf): New variables.
10737 (sql-build-completions-1, sql-build-completions)
10738 (sql-try-completion): New functions.
10739 (sql-read-table-name): Use them.
10740 (sql-contains-names): New buffer local variable.
10741 (sql-list-all, sql-list-table): Use it.
10742 (sql-oracle-completion-types): New variable.
10743 (sql-oracle-completion-object, sql-sqlite-completion-object)
10744 (sql-postgres-completion-object): New functions.
10745
d4eaeab1
GM
107462011-07-06 Glenn Morris <rgm@gnu.org>
10747
10748 * window.el (pop-to-buffer): Doc fix.
10749
322b7dab 107502011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10751
10752 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10753
322b7dab 107542011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10755
322b7dab 10756 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10757
322b7dab 10758 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10759
605dd5bf
CY
107602011-07-05 Chong Yidong <cyd@stupidchicken.com>
10761
10762 * button.el (button): Inherit from link face. Suggested by Dan
10763 Nicolaescu.
10764
7dbfa719
SM
107652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10766
3db614b0
SM
10767 * progmodes/gdb-mi.el: Fit in 80 columns.
10768 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10769 switch-to-buffer.
10770
7dbfa719
SM
10771 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10772 if imenu is simply not configured (bug#8941).
10773
919d884a
KM
107742011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10775
10776 * allout.el (allout-post-undo-hook): New allout outline-change
10777 event hook to signal undo activity.
10778 (allout-post-command-business): Run allout-post-undo-hook if an
10779 undo just occurred.
7dbfa719
SM
10780 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10781 * allout-widgets.el (allout-widgets-after-undo-function):
10782 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10783 in the vicinity of an undo.
10784 (allout-widgets-mode): Include allout-widgets-after-undo-function
10785 on the new allout-post-undo-hook.
10786
450a0f09
SM
107872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10790 Let define-derived-mode define it.
10791 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10792 cycles of abbrev-table inheritance (bug#8998).
10793
2de69e00
RW
107942011-07-05 Roland Winkler <winkler@gnu.org>
10795
10796 * textmodes/bibtex.el: Add support for biblatex.
10797 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10798 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10799 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10800 (bibtex-entry-alist, bibtex-field-alist): New variables.
10801 (bibtex-entry-field-alist): Obsolete alias for
10802 bibtex-BibTeX-entry-alist.
10803 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10804 (bibtex-set-dialect): New command.
10805 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10806 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10807 Bind via bibtex-set-dialect.
2de69e00
RW
10808 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10809 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10810 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10811 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10812 Define via bibtex-set-dialect.
450a0f09
SM
10813 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10814 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10815 (bibtex-vec-push, bibtex-vec-incr): New functions.
10816 (bibtex-format-entry, bibtex-field-list)
10817 (bibtex-print-help-message, bibtex-validate)
10818 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10819
2dcdbdd9
SM
108202011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * progmodes/compile.el (compilation-goto-locus):
10823 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10824 * bs.el (bs-cycle-next, bs-cycle-previous):
10825 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10826 * bindings.el (mode-line-other-buffer):
10827 * autoinsert.el (auto-insert):
10828 * arc-mode.el (archive-extract):
10829 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10830
b27640fe
JB
108312011-07-05 Juanma Barranquero <lekktu@gmail.com>
10832
10833 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10834 Fix check of `emacs-lock-unlockable-modes'.
10835 Coerce true values of `emacs-lock--try-unlocking' to t.
10836
53bbe3ad
JB
108372011-07-05 Juanma Barranquero <lekktu@gmail.com>
10838
10839 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10840 * emacs-lock.el: New file.
10841
1d3cdbc7
JD
108422011-07-05 Julien Danjou <julien@danjou.info>
10843
10844 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10845 than `boundp' to check if face is set.
10846
9173deec
JB
108472011-07-05 Juanma Barranquero <lekktu@gmail.com>
10848
10849 * register.el (registerv-make):
10850 * window.el (window-min-height): Fix typos in docstrings.
10851
869795d6
JD
108522011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10853
9173deec 10854 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10855 Update doc string.
10856
b768cdcd
JB
108572011-07-04 Juanma Barranquero <lekktu@gmail.com>
10858
10859 * server.el (server-execute): Catch quit and call
10860 `server-return-error' to pass the error back to emacsclient and
10861 close the connection (bug#8942).
10862
13aa217b
KM
108632011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10864
10865 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10866 insecure exception for current topic. Also note that auto-saves
10867 are handled differently.
10868
5d3385a0 10869 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10870 State variables for tracking auto-save inhibition situation.
10871
10872 (allout-write-contents-hook-handler): Rename from
10873 'allout-write-file-hook-handler', and describe how it depends on
10874 write-contents-functions sensitivity to non-nil value to prevent
10875 file write.
10876
10877 (allout-auto-save-hook-handler): Remove. auto-save does not check
10878 this in individual buffers, only in the starting buffer, so this
10879 is not the right way for us to inhibit auto-save in a buffer
10880 according to its condition.
10881
10882 (allout-mode): Use new allout-write-contents-hook-handler, and
10883 only with write-contents-functions. Remove auto-save provisions -
10884 they're implemented elsewhere.
10885
10886 (allout-before-change-handler): If undo is in progress, note that
10887 for attention of allout-post-command-business.
10888
10889 (allout-post-command-business): If the command we're following was
10890 an undo, check for change in the status of encrypted items and
10891 adjust auto-save inhibitions accordingly.
10892
10893 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10894 according to whether there are or aren't any plain-text topics
10895 pending encryption.
10896
2dcdbdd9 10897 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10898 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10899 if there are plain-text topics pending encryption.
13aa217b
KM
10900
10901 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10902 buffer-saved-size and some allout state to not inhibit auto-saves
10903 if there are no longer any plain-text topics pending encryption.
10904
0757af94
SM
10905 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10906 No longer provide for exemption of the current topic.
13aa217b 10907
ac89b32c
JL
109082011-07-04 Juri Linkov <juri@jurta.org>
10909
10910 Add 7z operations to delete and save changed members (bug#8968).
10911 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10912 New defcustoms.
10913 (archive-7z-write-file-member): New function.
10914 (archive-7z-summarize): Fix the number of dashes in the
10915 listing output.
10916
8fa39615
SM
109172011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10920 (bug#8958).
10921
2f11b3f1
CY
109222011-07-04 Chong Yidong <cyd@stupidchicken.com>
10923
d66fef2b
CY
10924 * bindings.el: Ignore next-buffer and previous-buffer in
10925 minibuffer-local-map.
10926
2f11b3f1
CY
10927 * font-lock.el (font-lock-builtin-face): Change light background
10928 color to dark slate blue (Bug#6693).
10929
f932a347
WD
109302011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10931
10932 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10933
c8af70e1
SM
109342011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10937 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10938 Add switch-to-buffer.
10939
f158badc
LMI
109402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10941
10942 * isearch.el (isearch-search-fun-function): Clarify further the
10943 meaning of the function returned.
10944
6d95bd46
MA
109452011-07-04 Michael Albinus <michael.albinus@gmx.de>
10946
10947 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10948
10949 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10950 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10951 Use it.
10952 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10953 `tramp-default-remote-path' does not exist.
10954 (tramp-send-command-and-read): New optional argument NOERROR.
10955 (tramp-open-connection-setup-interactive-shell)
10956 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10957 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10958 (tramp-process-sentinel): Flush also process' connection property.
10959 (tramp-sh-handle-start-file-process): Do not set process
10960 sentinel. It is done now ...
10961 (tramp-maybe-open-connection): ... here. (Bug#8929)
10962
909e6b67
MK
109632011-07-04 MON KEY <monkey@sandpframing.com>
10964
10965 * play/animate.el (animate-string): Doc fixes and allow changing
10966 the buffer name (bug#5417).
10967
109682011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10969
c8af70e1 10970 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10971
f34755dc
PE
109722011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10973
396cec72
PE
10974 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10975 This is simpler and helps future-proof the code.
10976 (timer-until): Use time-subtract and float-time.
08235028 10977 (timer--time-less-p): Use time-less-p.
f34755dc 10978
56e6cc31
JB
109792011-07-04 Juanma Barranquero <lekktu@gmail.com>
10980
3abb79e5
JB
10981 * type-break.el (timep): Use the value of `float-time' to avoid a
10982 byte-compiler warning.
10983
56e6cc31
JB
10984 * server.el (server-eval-and-print): Return any result, even nil.
10985
7b9430b4
PE
109862011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10987
10988 * type-break.el: Accept time formats that the builtins accept.
10989 (timep, type-break-time-difference): Accept any format that
10990 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10991 This is simpler and helps future-proof the code.
10992 (type-break-time-difference): Round rather than ignoring
10993 subseconds components.
10994
3034e9e7
LMI
109952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10996
10997 * info.el (Info-apropos-matches): Make non-interactive, since it
10998 doesn't seem to do anything useful as a command (bug#8829).
10999
1485f4c0
CY
110002011-07-03 Chong Yidong <cyd@stupidchicken.com>
11001
11002 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11003 Move from faces.el.
1485f4c0
CY
11004 (frame-default-terminal-background): New function.
11005
11006 * custom.el (custom-push-theme): Don't record faces in `changed'
11007 theme; this doesn't work correctly for per-frame face settings.
11008 (disable-theme): Use face-set-after-frame-default to reset faces.
11009 (custom--frame-color-default): New function.
11010
9fa3dd45
LMI
110112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11012
c8af70e1 11013 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11014 (bug#8769).
11015
6cbbc20c
KR
110162011-03-29 Kevin Ryde <user42@zip.com.au>
11017
11018 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11019 `perl-Test2' extend to match possible "fail #N" rep count
11020 (bug#8377).
11021
c7f98048
LMI
110222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11023
65676592
LMI
11024 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11025 `smtpmail-via-smtp' now returns the error instead of nil.
11026
c7f98048
LMI
11027 * isearch.el (isearch-search-fun-function): Clarify the doc string
11028 (bug#8101).
11029
56e6cc31 110302011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11031
11032 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11033 unnecessary spaces (bug#8987).
11034
2b216704
LMI
110352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11036
11037 * net/network-stream.el (open-network-stream): Use the
11038 :end-of-capability command thoughout.
11039
110402011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11041
11042 * net/network-stream.el (open-network-stream): Add the
11043 :end-of-capability command parameter, used by pop3.el.
11044
36adf6ce
LMI
110452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11046
1ca0da0e
LMI
11047 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11048
fc00f69c
LMI
11049 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11050 for list)" (bug#6475).
11051
28fd8759 11052 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11053 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11054 an error (bug#6297).
11055
0dd8b6da
LMI
11056 * man.el (Man-reference-regexp): Allow matching possible
11057 word-wrapped references (bug#6289).
11058
ce1438d6
LMI
11059 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11060 for consistency with the other vc buffers (bug#6197).
11061 (vc-checkin): Ditto.
11062
11063 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11064
36adf6ce
LMI
11065 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11066
e83cc1f7
LMI
110672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11068
8a20ca4c
LMI
11069 * custom.el (defcustom): Clarify that :set is only used in the
11070 Customize user interface (bug#6089).
11071
83319045
LMI
11072 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11073 associated with a file, refuse to run instead of erroring out
11074 (bug#6084).
11075
a8392169
LMI
11076 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11077 the doc string, since it appears that using `fill-column' always
11078 controls the width (bug#7845).
11079
e83cc1f7
LMI
11080 * simple.el (shell-command-on-region): Say where the error output
11081 went if `shell-command-default-error-buffer' is set (bug#6857).
11082
e47ca23b
KM
110832011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11084
11085 * allout.el (allout-yank-processing): Adjust cursor position for
11086 backwards-deleted space.
11087
11088 (allout-rebullet-heading): Register changes with
11089 allout-exposure-changed-hook, so the modified topic is properly
11090 decorated.
11091
5cf56143
LMI
110922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11093
08549772
LMI
11094 * minibuffer.el (completion-in-region): Document PREDICATE
11095 (bug#7136).
11096
48e96771
LMI
11097 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11098 of keyword/argument pairs (bug#6904).
11099
c8af70e1
SM
11100 * replace.el (multi-occur):
11101 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11102
e17d05e2
LMI
111032011-07-02 Drew Adams <drew.adams@oracle.com>
11104
11105 * dired.el (dired-mark-if): Make the message about whether it's
11106 marking or unmarking clearer (bug#8523).
11107
063b0e45
LMI
111082011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11109
11110 * disp-table.el (display-table-print-array): New function.
11111 (describe-display-table): Use it to print the vectors more pretty
11112 (Bug#8859).
11113
28545e04
MR
111142011-07-02 Martin Rudalics <rudalics@gmx.at>
11115
11116 * window.el (window-state-get-1): Don't assign clone numbers.
11117 Add clone-of item to list of window parameters.
11118 (window-state-put-2): Don't process clone numbers.
11119 (display-buffer-alist): Fix doc-string.
11120
3349e122
SM
111212011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11122
11123 * subr.el (remq): Don't allocate if it's not needed.
11124 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11125 (keymap--merge-bindings): New functions.
11126 (keymap-canonicalize): Use them to refine the canonicalization.
11127 * minibuffer.el (minibuffer-local-completion-map)
11128 (minibuffer-local-must-match-map): Move initialization from C.
11129 (minibuffer-local-filename-completion-map): Move initialization from C;
11130 don't inherit from anything here.
11131 (minibuffer-local-filename-must-match-map): Make obsolete.
11132 (completing-read-default): Use make-composed-keymap to combine
11133 minibuffer-local-filename-completion-map with either
11134 minibuffer-local-must-match-map or
11135 minibuffer-local-filename-completion-map.
11136
d224ac83
GM
111372011-07-01 Glenn Morris <rgm@gnu.org>
11138
3de63bf8
GM
11139 * type-break.el (type-break-time-sum): Use dolist.
11140
d224ac83
GM
11141 * textmodes/flyspell.el (flyspell-word-search-backward):
11142 Replace CL function.
11143
1a1e3f32
SM
111442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11145
fe3f64d5
SM
11146 * mouse.el (mouse--strip-first-event): New function.
11147 (function-key-map): Use it to map fringe clicks to normal clicks
11148 by default.
11149
eb604e34
SM
11150 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11151 (vc-bzr-revision-completion-table): Add support for annotate and date.
11152
1a1e3f32
SM
11153 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11154 inherit from parent.
11155
5bd35902
LMI
111562011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11157
ace6c69c 11158 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11159 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11160
191e2bed
LMI
11161 * dired.el (dired-mode): Fix up the doc string as suggested by
11162 Drew Adams (bug#8817).
11163
5bd35902
LMI
11164 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11165 cookie, since the manual says that it should be possible to add
11166 this function to `find-file-hook' (bug#8709).
11167
eee8207a
TZ
111682011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11169
11170 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11171 here. Noted Ted Zlatanov as the maintainer.
11172 (cfengine-common-settings, cfengine-common-syntax): New functions
11173 to set up common things between `cfengine-mode' and
11174 `cfengine3-mode'.
11175 (cfengine3-mode): New mode.
11176 (cfengine3-defuns cfengine3-defuns-regex
11177 (cfengine3-class-selector-regex cfengine3-category-regex)
11178 (cfengine3-vartypes cfengine3-font-lock-keywords)
11179 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11180 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11181
36b148cf
MA
111822011-07-01 Michael Albinus <michael.albinus@gmx.de>
11183
11184 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11185
11186 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11187
0bf4ba9a
MR
111882011-07-01 Martin Rudalics <rudalics@gmx.at>
11189
11190 * window.el (same-window-buffer-names, same-window-regexps)
11191 (same-window-p, special-display-frame-alist)
11192 (special-display-popup-frame, special-display-function)
11193 (special-display-buffer-names, special-display-regexps)
11194 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11195 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11196 (split-window-preferred-function, split-height-threshold)
11197 (split-width-threshold, even-window-heights)
11198 (display-buffer-mark-dedicated, window-splittable-p)
11199 (split-window-sensibly, window-safely-shrinkable-p):
11200 Un-obsolete.
11201 (display-buffer): Don't spread args with function specifier
11202 because special-display-popup-frame won't like it.
11203
35837f51
PE
112042011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11205
d0672f86
PE
11206 Time-stamp simplifications and fixes.
11207 These improve accuracy slightly, and future-proof the code
11208 against some potential changes to current-time format.
11209
b9444d97
PE
11210 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11211 by using time-since and float-time.
11212
0ef923dc
PE
11213 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11214 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11215 + NNN microseconds".
11216
2f81380d
PE
11217 * type-break.el (type-break-time-sum): Rewrite using time-add.
11218
845b5c3e
PE
11219 * play/hanoi.el (hanoi-current-time-float): Remove.
11220 All uses replaced by float-time.
11221
ee6f1be0
PE
11222 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11223 This yields a more-accurate answer.
11224 (rng-time-to-float): Remove; no longer needed.
11225
fe955043
PE
11226 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11227
5777162a
PE
11228 * calendar/timeclock.el (timeclock-seconds-to-time):
11229 Defalias to seconds-to-time, since they're the same thing.
11230
3103f8b6 11231 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11232 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11233 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11234
0e61a35f
SM
112352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * window.el (bury-buffer): Don't iconify the only frame.
11238 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11239 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11240
ddd63a1e
CY
112412011-07-01 Chong Yidong <cyd@stupidchicken.com>
11242
0e61a35f
SM
11243 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11244 Add mouse-yank-primary.
ddd63a1e 11245
055f4923
TZ
112462011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11247
11248 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11249
6a2fb145
SM
112502011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11251
11252 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11253 (find-library-name): Use it to find relative load names when provided
11254 absolute file name (bug#8803).
11255
fd4983f2
LMI
112562011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11257
887d14ad
LMI
11258 * textmodes/flyspell.el (flyspell-word): Consider words that
11259 differ only in case as potential doublons (bug#5687).
11260
c53dc7fc
LMI
11261 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11262 Remove two rather uninteresting debugging-like messages to make
11263 debbugs.el more silent.
11264
fd4983f2
LMI
11265 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11266 a password-like phrase.
11267
7a71b18d 112682011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11269
11270 * progmodes/cc-guess.el: New file.
11271
6a2fb145 11272 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11273
11274 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11275 derived from `c-basic-common-init'.
11276
11277 * progmodes/cc-mode.el (top-level): Require cc-guess.
11278 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11279
1fa280a3
LM
112802011-06-30 Lawrence Mitchell <wence@gmx.li>
11281
11282 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11283
e6597158
AM
112842011-06-30 Alan Mackenzie <acm@muc.de>
11285
1fa280a3
LM
11286 * progmodes/cc-engine.el (c-guess-continued-construct):
11287 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11288 lock is disabled. Name this case as "CASE G".
11289
68ba37fb
KM
112902011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11291
11292 * allout.el (allout-yank-processing): Fix injection of extra space
11293 between bullet and non-whitespace character in first topic when
11294 pasting, ensuring that the actual spacing in the pasted topic
11295 following the bullet char is preserved. This extra space was
11296 causing pasted encrypted topics to get a decrypted status even
11297 when the content was actually still encrypted. Now the decryption
11298 status from before the paste is preserved.
11299
11300 (allout-flag-region): Set all allout overlays so they evaporate
11301 when reduced to zero length (evanescent), to prevent overlay
11302 leakage.
11303
887a0b34
GM
113042011-06-30 Glenn Morris <rgm@gnu.org>
11305
94b9acce
GM
11306 * w32-fns.el (w32-charset-info-alist): Declare.
11307
1d9b46d4
GM
11308 * find-dired.el (find-grep-options): Simplify.
11309
cc232200
GM
11310 * term/ns-win.el (ns-set-resource): Declare.
11311
28e77c46
GM
11312 * ses.el (row, col): Declare dynamic variables honestly.
11313
887a0b34
GM
11314 * textmodes/reftex-parse.el (index-tags): Declare.
11315
658d8eb8
CY
113162011-06-30 Chong Yidong <cyd@stupidchicken.com>
11317
11318 * cus-edit.el (customize-push-and-save): New function.
11319
11320 * files.el (hack-local-variables-confirm): Use it.
11321
1fa280a3
LM
11322 * custom.el (load-theme): New arg NO-CONFIRM.
11323 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11324 (custom-enabled-themes): Doc fix.
11325
11326 * cus-theme.el (customize-create-theme)
11327 (custom-theme-merge-theme): Callers to load-theme changed.
11328
bb617717
LMI
113292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11330
d61bdd5d
LMI
11331 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11332 short URLs have at least one dot in them (bug #7614).
11333
bb617717
LMI
11334 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11335 nil, because using a pty is apparently too slow (bug #895).
11336
2f31f37a
LMI
113372011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11338
11339 * mail/sendmail.el (sendmail-query-once): New function.
11340 (sendmail-query-once-function): New variable.
11341
3076b24e
GM
113422011-06-29 Glenn Morris <rgm@gnu.org>
11343
faf2a174
GM
11344 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11345
3076b24e
GM
11346 * ses.el (top-level): Require cl when compiling.
11347 (ses-set-localvars): Fix error statement.
11348 Call it at compile time to silence a storm of warnings.
11349
5386012d
MR
113502011-06-29 Martin Rudalics <rudalics@gmx.at>
11351
11352 * window.el (normalize-live-buffer): Rename to
11353 window-normalize-buffer.
11354 (normalize-live-frame): Rename to window-normalize-frame.
11355 (normalize-any-window): Rename to window-normalize-any-window.
11356 (normalize-live-window): Rename to window-normalize-live-window.
11357 (make-window-atom): Rename to window-make-atom.
11358 (window-resize-reset): Rename to window--resize-reset.
11359 (window-resize-reset-1): Rename to window--resize-reset-1.
11360 (resize-mini-window): Rename to window--resize-mini-window.
11361 (resize-subwindows-skip-p): Rename to
11362 window--resize-subwindows-skip-p.
11363 (resize-subwindows-normal): Rename to
11364 window--resize-subwindows-normal.
11365 (resize-subwindows): Rename to window--resize-subwindows.
11366 (resize-other-windows): Rename to window--resize-siblings.
11367 (resize-this-window): Rename to window--resize-this-window.
11368 (resize-root-window): Rename to window--resize-root-window.
11369 (resize-root-window-vertically): Rename to
11370 window--resize-root-window-vertically.
11371 (normalize-buffer-to-display): Rename to
11372 window-normalize-buffer-to-display.
11373 (normalize-buffer-to-switch-to): Rename to
11374 window-normalize-buffer-to-switch-to.
11375 Correspondingly update all callers of the functions listed
11376 above.
11377 (display-buffer-alist, display-buffer-normalize-arguments)
11378 (display-buffer-normalize-options, display-buffer)
11379 (display-buffer-alist-set): Use "function" instead of
11380 "fun-with-args".
11381
1176868d
CY
113822011-06-28 Chong Yidong <cyd@stupidchicken.com>
11383
11384 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11385 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11386 debbugs.gnu.org. Mention acknowledgment email.
11387
20a7a65f
LMI
113882011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11389
11390 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11391 buffer multibyteness, since it shouldn't matter.
11392
5f45cca5
MR
113932011-06-28 Martin Rudalics <rudalics@gmx.at>
11394
11395 * window.el (display-buffer-in-side-window): Handle dedicated
11396 windows as in display-buffer-reuse-window.
11397 (display-buffer-normalize-alist): Use value of override
11398 specifier.
11399 (display-buffer-normalize-specifiers): Use value of
11400 other-window-means-other-frame specifier.
11401 (display-buffer-alist): Rewrite some texts in widgets.
11402 (display-buffer): Spread arguments when calling function
11403 specified by fun-with-args.
11404
ad85fe1f
DD
114052011-06-28 Deniz Dogan <deniz@dogan.se>
11406
1fa280a3
LM
11407 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11408 Unnest `let'.
da68c4c8 11409
ad85fe1f
DD
11410 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11411 selectors (Bug#5732).
ec49bd31 11412 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11413
a08cc025
JA
114142011-06-27 Jari Aalto <jari.aalto@cante.net>
11415
11416 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11417 (eshell-ls-date-format): New defcustom.
11418 (eshell-ls-file): Use it.
11419
e2b551c5
SM
114202011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11421
11422 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11423
8982b231
KY
114242011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11425
11426 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11427 (ange-ftp-make-tmp-name): New arg.
11428 (ange-ftp-file-local-copy): Use it.
11429
36c9fa27
J
114302011-06-27 Jambunathan K <kjambunathan@gmail.com>
11431
11432 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11433 no-conversion (Bug#8870).
11434
d68443dc
MR
114352011-06-27 Martin Rudalics <rudalics@gmx.at>
11436
11437 * window.el (window-right, window-left, window-child)
11438 (window-child-count, window-last-child)
11439 (window-iso-combination-p, walk-window-tree-1)
11440 (window-atom-check-1, window-tree-1, delete-window)
11441 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11442 new naming conventions - window-vchild, window-hchild,
11443 window-next and window-prev are now called window-top-child,
11444 window-left-child, window-next-sibling and window-prev-sibling
11445 respectively.
d615d6d2
MR
11446 (resize-window-reset): Rename to window-resize-reset.
11447 (resize-window-reset-1): Rename to window-resize-reset-1.
11448 (resize-window): Rename to window-resize.
11449 (window-min-height, window-min-width)
11450 (resize-mini-window, resize-this-window, resize-root-window)
11451 (resize-root-window-vertically, adjust-window-trailing-edge)
11452 (enlarge-window, shrink-window, maximize-window)
11453 (minimize-window, delete-window, quit-restore-window)
11454 (split-window, balance-windows, balance-windows-area-adjust)
11455 (balance-windows-area, window-state-put-2)
11456 (display-buffer-even-window-sizes, display-buffer-set-height)
11457 (display-buffer-set-width, set-window-text-height)
11458 (fit-window-to-buffer): Rename all "resize-window" prefixed
11459 calls to use the "window-resize" prefix convention.
11460 (display-buffer-alist): Fix symbol for label specifier.
11461 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11462 corresponding specifier.
11463 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11464
b6458526
VB
114652011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11466
11467 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11468 convention.
11469 (ses-call-printer): Does not pass an empty string to formatter when the
11470 cell is empty to keep from barking printer Calc math-format-value.
11471
d31fd9ac
RS
114722011-06-27 Richard Stallman <rms@gnu.org>
11473
43d5bf84
RS
11474 * battery.el (battery-mode-line-limit): New variable.
11475 (battery-update): Handle it.
11476
d31fd9ac
RS
11477 * mail/rmailmm.el (rmail-mime-process-multipart):
11478 Handle truncated messages.
11479
819a6054
GM
114802011-06-27 Glenn Morris <rgm@gnu.org>
11481
11482 * progmodes/flymake.el (flymake-err-line-patterns):
11483 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11484
cedc73f2
VB
114852011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11486
819a6054 11487 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11488 (ses--clean-!, ses--clean-_): New functions.
11489 (ses-range): Add configurability of readout order, and conversion
11490 to Calc vector.
11491
5e5d49b6
VB
11492 * ses.el (ses-repair-cell-reference-all): New function.
11493 (ses-cell-symbol): Set macro as safe, so that it can be used in
11494 formulas.
11495
56e6cc31 11496 * ses.el: Update cycle detection algorithm.
90ca8b49 11497 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11498 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11499 (ses-set-localvars): New function.
11500 (ses-make-cell): Add property-list as a cell element.
11501 (ses-cell-property-get-fun, ses-cell-property-get)
11502 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11503 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11504 New functions.
90ca8b49
VB
11505 (ses-cell-property-set, ses-cell-property-pop)
11506 (ses-cell-property-get-handle): New macro.
11507 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11508 New aliases, used for code readability.
11509 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11510 cycle detection.
11511 (ses-self-reference-early-detection): New defcustom.
fac916bf 11512 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11513 (ses-mode): Use ses-set-localvars.
11514 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11515 before lauching the update processing.
11516 (ses-initialize-Dijkstra-attempt): New function.
11517 (ses-recalculate-cell): Update for cycle detection based on
11518 Dijkstra algorithm.
11519
2bb63e81
VB
11520 * ses.el: Fix commenting and indenting convention.
11521
c9d29fb8
SM
115222011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * bs.el (bs-cycle-next): Complete last change.
11525
d8e4b68b
JB
115262011-06-27 Drew Adams <drew.adams@oracle.com>
11527
11528 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11529
40098786
LMI
115302011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11531
c9d29fb8
SM
11532 * net/network-stream.el (network-stream-open-starttls):
11533 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11534 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11535
40098786
LMI
11536 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11537 to binary to possibly avoid line encoding issues on Windows (among
11538 other things).
11539
468d09d4
LMI
115402011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11541
11542 * net/network-stream.el (open-network-stream): Return an :error
11543 saying what the problem was, if possible.
11544
11545 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11546 server.
11547
11548 * net/network-stream.el (network-stream-open-starttls): If we
11549 wanted to use STARTTLS, and the server offered it, but we weren't
11550 able to because we had no STARTTLS support, then close the connection.
11551 (open-network-stream): Return an :error element, if present.
11552
16f07dd7
CY
115532011-06-26 Chong Yidong <cyd@stupidchicken.com>
11554
88821ca0
CY
11555 * hl-line.el (hl-line-sticky-flag): Doc fix.
11556 (global-hl-line-sticky-flag): New option (Bug#8323).
11557 (global-hl-line-highlight): Obey it.
11558
16f07dd7
CY
11559 * vc/vc.el (vc-revert-show-diff): Default to t.
11560
6b5ccddf
KM
115612011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11562
c9d29fb8
SM
11563 * allout-widgets.el (allout-widgets-post-command-business):
11564 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11565 undecorated when an isearch is continued past, and isearch
11566 automatically collapses them. This leads to "widget leaks", where
11567 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11568 hidden widgets can slow down cursor travel, substantially.
11569 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11570 so we're doing without this nicety.
11571
11572 (allout-widgets-tally-string): Don't try to do a hash-table-count
11573 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11574 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11575 *Messages* when allout-widgets-maintain-tally is t.
11576
355f2e07
MR
115772011-06-26 Martin Rudalics <rudalics@gmx.at>
11578
11579 * window.el (display-buffer-normalize-argument): Rename to
11580 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11581 LABEL argument. Respect special-display-function when popping up
11582 a new frame. Fix code searching for a window showing the buffer
11583 on another frame.
c9d29fb8
SM
11584 (display-buffer-normalize-specifiers):
11585 Call display-buffer-normalize-arguments.
355f2e07
MR
11586 (display-buffer-in-window): Don't undedicate the window if its
11587 buffer remains the same.
11588 Reported by Drew Adams <drew.adams@oracle.com>.
11589 (display-buffer-alist): Add choice for same-window macro
11590 specfier.
11591 (display-buffer): Mention special meaning of LABEL argument in
11592 doc-string. Fix quoting. Don't pop up a new frame even as
11593 fallback.
11594
7ca8fc42
JB
115952011-06-26 Juanma Barranquero <lekktu@gmail.com>
11596
11597 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11598 avoid deleting the current window in some cases (bug#8911).
11599
bc312254
AS
116002011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11601
11602 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11603 (Bug#8934)
11604
2db18f3f
LMI
116052011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11606
c9d29fb8
SM
11607 * net/network-stream.el (network-stream-open-starttls):
11608 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11609 (network-stream-open-tls): Ditto.
11610
6302e0d3
LL
116112011-06-26 Leo Liu <sdl.web@gmail.com>
11612
11613 * register.el (registerv): New struct.
11614 (registerv-make): New function.
c9d29fb8
SM
11615 (jump-to-register, describe-register-1, insert-register):
11616 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11617 struct. (Bug#8415)
11618
5fdd4046
CY
116192011-06-26 Chong Yidong <cyd@stupidchicken.com>
11620
2afef60a
CY
11621 * vc/vc.el (vc-revert-show-diff): New defcustom.
11622 (vc-diff-internal): New arg specifying diff buffer.
11623 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11624 reuse an existing *vc-diff* buffer (Bug#8927).
11625
5fdd4046
CY
11626 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11627
e93db24a
GM
116282011-06-26 Glenn Morris <rgm@gnu.org>
11629
11630 * progmodes/f90.el (f90-critical-indent): New option.
11631 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11632 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11633 (f90-mode): Doc fix.
11634 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11635 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11636 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11637 (f90-match-end): Handle block, critical.
11638
eefff499
GM
116392011-06-25 Glenn Morris <rgm@gnu.org>
11640
f6ba4cc9
GM
11641 * calendar/diary-lib.el (diary-included-files): Doc fix.
11642 (diary-include-files): New function, extracted from
11643 diary-include-other-diary-files and diary-mark-included-diary-files.
11644 (diary-include-other-diary-files, diary-mark-included-diary-files):
11645 Just call diary-include-files.
11646 (diary-mark-entries): Reset diary-included-files on first call.
11647
16712304
GM
11648 * calendar/diary-lib.el (diary-mark-entries)
11649 (diary-mark-included-diary-files):
11650 Visit included diary-files in temp buffers.
11651
5d8e0d43
GM
11652 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11653 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11654 (f90-start-block-re, f90-imenu-generic-expression)
11655 (f90-looking-at-program-block-start, f90-no-block-limit):
11656 Add support for submodules.
11657
ccf7a5d5
GM
11658 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11659 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11660
11fdef7d 116612011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11662
11663 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11664 buffer-file-type before setting its value, to avoid disastrous
eefff499 11665 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11666
74f53697
JB
116672011-06-25 Juanma Barranquero <lekktu@gmail.com>
11668
11669 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11670
11671 * ses.el (ses-unload-function):
11672 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11673
11674 * proced.el (proced-unload-function):
11675 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11676
18a4ce5e
AR
116772011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11678
11679 * server.el (server-create-window-system-frame): Add parameters arg.
11680 (server-process-filter): Doc fix. Handle frame-parameters.
11681
519d22cc
JB
116822011-06-25 Juanma Barranquero <lekktu@gmail.com>
11683
11684 Fix bug#8730, bug#8781.
11685
11686 * loadhist.el (unload--set-major-mode): New function.
11687 (unload-feature): Use it.
11688
11689 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11690 (python-unload-function): New function.
11691
c206f5b0
SM
116922011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11695
f9ad64f3
GS
116962011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11697
11698 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11699 the candidates list.
11700
7d0da90e
JB
117012011-06-24 Juanma Barranquero <lekktu@gmail.com>
11702
11703 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11704
14b4e83d
RS
117052011-06-23 Richard Stallman <rms@gnu.org>
11706
11707 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11708 (rmail-variables): Set next-error-move-function.
11709 (rmail-what-message): Take argument POS.
11710 (rmail-next-error-move): New function.
11711
273d2baf
SM
117122011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11715 messages for adjacent non-terminals.
11716
56c2cc9a
RS
117172011-06-23 Richard Stallman <rms@gnu.org>
11718
11719 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11720 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11721 (rmail-start-mail): Don't specify use of rmail-mail-return;
11722 that's done by mail-bury now.
11723 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11724
d59eb518
MA
117252011-06-23 Michael Albinus <michael.albinus@gmx.de>
11726
11727 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11728 SIZE is a number.
11729
02cfc6d6
MR
117302011-06-23 Martin Rudalics <rudalics@gmx.at>
11731
11732 * window.el (get-lru-window, get-mru-window)
11733 (get-largest-window): Never return a minibuffer window.
11734 (display-buffer-pop-up-window): Fix a bug that could lead to
11735 reusing the minibuffer window.
11736 (display-buffer): Pass original specifier argument to
11737 display-buffer-function instead of the normalized one.
11738 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11739
4e323265
LL
117402011-06-22 Leo Liu <sdl.web@gmail.com>
11741
11742 * minibuffer.el (completing-read-function)
11743 (completing-read-default): Move from minibuf.c
11744
7a70468f
RS
117452011-06-22 Richard Stallman <rms@gnu.org>
11746
50718fc2
RS
11747 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11748 to Rmail even if not started by a special Rmail command.
11749
7a70468f
RS
11750 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11751 Copy the buffer currently showing just one message.
11752
297dde5a
RW
117532011-06-22 Roland Winkler <winkler@gnu.org>
11754
11755 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11756 (bibtex-clean-entry): First delete the old key so that a
11757 customized algorithm for generating the new key does not get
11758 confused by the old key.
11759 (bibtex-url): Obey regexp of first step.
11760 (bibtex-search-entries): Do not use add-to-list with local
11761 list-var.
11762
97bb1093
LMI
117632011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11764
11765 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11766 stored a user name, then query for the password first, instead of
11767 waiting for SMTP to give an error message and the trying again.
11768
1c0f1a19
JD
117692011-06-22 Lawrence Mitchell <wence@gmx.li>
11770
11771 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11772 BUFFER in call-process.
11773
396f7c9d
LMI
117742011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11775
11776 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11777 QUIT twice.
ddb7ffee
LMI
11778 (smtpmail-try-auth-methods): Require user name and password from
11779 auth-source.
396f7c9d 11780
8998d1b3
MR
117812011-06-22 Martin Rudalics <rudalics@gmx.at>
11782
11783 * window.el (display-buffer-default-specifiers)
11784 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11785 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11786 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11787
11788 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11789 (special-display-frame-alist, special-display-popup-frame):
11790 Remove duplicate declarations. These are now in window.el.
11791
4ea31e07
LMI
117922011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11793
c9d29fb8
SM
11794 * mail/smtpmail.el (smtpmail-via-smtp):
11795 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11796 server supports it. SMTP servers that support STARTTLS commonly
11797 require it.
11798
11799 * net/network-stream.el (network-stream-open-starttls): Support
11800 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11801 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11802
95f41d9a
LMI
11803 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11804 upgrades with `open-network-stream', and rely solely on
11805 auth-source for all credentials. Big changes throughout the file,
11806 but in particular:
c9d29fb8
SM
11807 (smtpmail-auth-credentials): Remove.
11808 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11809 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11810 MAIL FROM, too.
95f41d9a 11811
c9d29fb8
SM
11812 * net/network-stream.el (network-stream-open-starttls):
11813 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11814 STARTTLS.
11815 (auth-source): Require.
11816 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11817 (network-stream-certificate): Change cert-cert to cert and
11818 cert-key to key.
4ea31e07 11819
065ec2c7
MA
118202011-06-21 Michael Albinus <michael.albinus@gmx.de>
11821
11822 * net/tramp-cache.el (top): Don't load the persistency file when
11823 "emacs -Q" has been called.
11824
cd93b359
DR
118252011-06-21 Tim Harper <timcharper@gmail.com>
11826
d8e4b68b
JB
11827 * term/ns-win.el (ns-initialize-window-system):
11828 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11829 resource to NO as it is not yet supported by the NS port.
11830
ae9c0411
JB
118312011-06-21 Juanma Barranquero <lekktu@gmail.com>
11832
11833 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11834 (list-dynamic-libraries): ...not here.
11835
7f3f739f
LL
118362011-06-21 Leo Liu <sdl.web@gmail.com>
11837
11838 * subr.el (sha1): Implement sha1 using secure-hash.
11839
327c8fb1
MR
118402011-06-21 Martin Rudalics <rudalics@gmx.at>
11841
11842 * window.el (display-buffer-alist): In default value do not
11843 enforce searching a window on any but the selected frame.
11844 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11845 (display-buffer-select-window): Remove function.
11846 (display-buffer-in-window): When a window on another frame gets
11847 reused, do not select it any more but just raise its frame if
11848 necessary (Bug#8851) and (Bug#8856).
11849 (display-buffer-normalize-options): Handle pop-up-frames related
11850 options more faithfully.
11851 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11852 window if it is on another frame.
c9d29fb8
SM
11853 (display-buffer-alist, display-buffer-default-specifiers):
11854 Don't make new frame unsplittable by default.
9e9de014
MR
11855 (display-buffer-normalize-argument): Fix doc-string typo and use
11856 'same-frame-other-window instead of 'other-window when associating
11857 with display-buffer-macro-specifiers.
327c8fb1 11858
7cf3f556
VB
118592011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11860
11861 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11862 New functions.
11863 (5x5-mode-map, 5x5-mode-menu): Bind them.
11864 (5x5-draw-grid): Tweak the solver's rendering.
11865
60a406cf
SM
118662011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11867
11868 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11869 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11870
d8e4b68b 118712011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11872
11873 * menu-bar.el: Use function variable instead of switch-to-buffer.
11874 (menu-bar-select-buffer-function): New variable.
60a406cf 11875 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11876
478d6f95
SM
118772011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11878
11879 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11880 variable's status.
11881
ca530739
JD
118822011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11883
11884 * x-dnd.el (x-dnd-version-from-flags)
11885 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11886 and long as number (Bug#8899).
11887 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11888
bcd70d97
SM
118892011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11890
60a406cf 11891 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11892 (completion-try-completion, completion-all-completions): Compute the
11893 metadata argument if it's missing; make it optional (bug#8795).
11894
60a406cf 11895 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11896 (widget-complete): Use new :completion-function property.
11897 (widget-completions-at-point): New function.
11898 (default): Use :completion-function instead of :complete.
60a406cf
SM
11899 (widget-default-completions): Rename from widget-default-complete;
11900 Rewrite.
bcd70d97
SM
11901 (widget-string-complete, widget-file-complete, widget-color-complete):
11902 Remove functions.
11903 (file, symbol, function, variable, coding-system, color):
11904 * international/mule-cmds.el (default-input-method, charset)
11905 (language-info-custom-alist):
11906 * cus-edit.el (face): Use new property :completions.
11907
11908 * progmodes/pascal.el (pascal-completions-at-point): New function.
11909 (pascal-mode): Use it.
11910 (pascal-mode-map): Use completion-at-point.
11911 (pascal-toggle-completions): Make obsolete.
11912 (pascal-complete-word, pascal-show-completions):
11913 * progmodes/octave-mod.el (octave-complete-symbol):
11914 Redefine as obsolete alias.
11915 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11916 Signal absence of completion info for old Octave,
11917 (inferior-octave-complete): Redefine as obsolete alias.
11918 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11919 (meta-completions-at-point): Rename from meta-complete-symbol and
11920 adapt it for use on completion-at-point-functions.
11921 (meta-common-mode): Use it.
11922 (meta-looking-at-backward, meta-match-buffer): Remove.
11923 (meta-complete-symbol): Redefine as obsolete alias.
11924 (meta-common-mode-map): Use completion-at-point.
11925 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11926 (makefile-mode-map): Use completion-at-point.
11927 (makefile-completions-at-point): Rename from makefile-complete and
11928 adapt it for use on completion-at-point-functions.
11929 (makefile-mode): Use it.
11930 (makefile-complete): Redefine as obsolete alias.
11931
aebf69c8
DD
119322011-06-20 Deniz Dogan <deniz@dogan.se>
11933
11934 * net/rcirc.el: Delete trailing whitespaces once and for all.
11935
bfbbb27d
DC
119362011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11937
11938 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11939
d264a46b
CY
119402011-06-19 Chong Yidong <cyd@stupidchicken.com>
11941
4ca009e5
CY
11942 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11943
d264a46b
CY
11944 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11945
fbf5b3ce
MR
119462011-06-19 Martin Rudalics <rudalics@gmx.at>
11947
11948 * window.el (display-buffer-other-window-means-other-frame):
11949 Call display-buffer-normalize-alist.
11950 (display-buffer-normalize-specifiers-1): Rename to
11951 display-buffer-normalize-argument. New argument other-frame.
11952 Rewrite.
11953 (display-buffer-normalize-specifiers-2): Rename to
11954 display-buffer-normalize-options.
11955 (display-buffer-normalize-alist-1): New function.
11956 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11957 display-buffer-normalize-alist.
11958 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11959 (display-buffer-normalize-options-inhibit): New variable.
11960 (display-buffer-normalize-specifiers): Rewrite calling
11961 display-buffer-normalize-alist,
11962 display-buffer-normalize-argument, and
11963 display-buffer-normalize-options. Don't call the latter if
11964 display-buffer-normalize-options-inhibit is non-nil.
11965 (frame-auto-delete): New option.
11966 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11967 (window-list-no-nils, window-state-ignored-parameters)
11968 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11969 (window-state-put-1, window-state-put-2, window-state-put):
11970 New functions.
9a028c23
MR
11971 (display-buffer-normalize-options): Move special-display-p group
11972 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11973
6d10d800
CY
119742011-06-18 Chong Yidong <cyd@stupidchicken.com>
11975
6420d28b
CY
11976 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11977 groups (Bug#8776).
11978 (rx-submatch-n): New function.
11979 (rx): Document it.
11980
ddb8b596
CY
11981 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11982 (Bug#8768).
11983
11984 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11985
77080289
CY
11986 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11987
61dfb316
CY
11988 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11989 anytime existing face settings are present (Bug#8889).
11990
6d10d800
CY
11991 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11992 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11993 Remove unused argument.
11994
be3fb2b8
MR
119952011-06-18 Martin Rudalics <rudalics@gmx.at>
11996
bcd70d97
SM
11997 * window.el (display-buffer-default-specifiers):
11998 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11999 pop-up-window-min-width, and another reuse-window specifier
12000 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12001 (display-buffer-normalize-specifiers-2):
12002 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12003 pop-up-windows is unset. Add a reuse-window specifier for the
12004 case popping up a new window fails.
12005 (special-display-popup-frame): Remove double quoting.
28dec25a 12006 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12007
1c6d8c76
SM
120082011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12011 according to comint-completion-addsuffix.
12012
12013 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12014 (pcomplete-suffix-list): Mark as obsolete.
12015 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12016 pcomplete-seen in the closure.
12017 (pcomplete-comint-setup): Setup completion-at-point as well.
12018 (pcomplete--entries): New function.
12019 (pcomplete--env-regexp): New var.
12020 (pcomplete-entries): Rewrite to work with partial-completion and
12021 without relying on pcomplete-suffix-list.
12022 (pcomplete-pare-list): Remove, unused.
12023
25aef8b8
MR
120242011-06-17 Martin Rudalics <rudalics@gmx.at>
12025
12026 * window.el (display-buffer-alist): Set pop-up-window-min-height
12027 and pop-up-window-min-width in default value. Reported by
12028 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12029 other-window-means-other-frame.
12030 (display-buffer-macro-specifiers): Comment out entry for
12031 other-window specifier.
12032 (display-buffer-other-window-means-other-frame): New function.
12033 (display-buffer-normalize-specifiers-1): New arguments
12034 buffer-name and label. Treat other-window case specially.
12035 (display-buffer-normalize-specifiers-2): Treat other-window case
12036 specially.
12037 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12038 (display-buffer-normalize-specifiers):
12039 Call display-buffer-normalize-specifiers-3.
25aef8b8 12040
dbad4f69
MR
120412011-06-17 Martin Rudalics <rudalics@gmx.at>
12042
12043 * window.el (same-window-p): Fix two typos introduced when
12044 adding with-no-warnings.
d1067961
MR
12045 (display-buffer-normalize-specifiers-1): Don't check
12046 pop-up-frames for 'unset initialization.
12047 (display-buffer-normalize-specifiers-2): Major rewrite using
12048 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12049 (pop-up-frames, display-buffer-reuse-frames)
12050 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12051 Suggested by David Engster <deng@randomsample.de>.
12052 (even-window-heights): Initialize to 'unset.
12053 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12054 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12055 other window case.
dbad4f69 12056
9b9c9e3a
MR
120572011-06-16 Martin Rudalics <rudalics@gmx.at>
12058
bcd70d97
SM
12059 * window.el (display-buffer-normalize-specifiers-1):
12060 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12061 second argument of display-buffer (Bug#8865).
981d5c09
MR
12062 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12063 (switch-to-buffer-other-window-same-frame)
12064 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12065 Adams (Bug#8875).
9c2755e9
MR
12066 (display-buffer): Don't check noninteractive when calling
12067 display-buffer-pop-up-frame.
12068 (display-buffer-pop-up-frame): Never pop up a frame in
12069 noninteractive mode (Bug#8857).
67222e1d
MR
12070 (enlarge-window, shrink-window): Don't report an error when the
12071 window can't be resized as requested (Bug#8862).
9b9c9e3a 12072
2b75be67
SM
120732011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12074
9ffdd3ba
SM
12075 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12076
cb581a67
SM
12077 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12078
2b75be67
SM
12079 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12080
8c0e3589
AM
120812011-06-15 Alan Mackenzie <acm@muc.de>
12082
cb581a67
SM
12083 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12084 for declarators, disable knr checking to speed up for normal files.
12085 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12086
b96e6cde
LMI
120872011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12088
4bba86e6
LMI
12089 * net/network-stream.el (open-network-stream): Add the keyword
12090 :always-query-capabilities for the case where you want to force a
12091 `plain' network connection, but the protocol still requires the
12092 capabilitiy command (i.e., SMTP and EHLO).
12093
2b75be67 12094 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12095 consistency with other `-live-p' functions.
12096
efdcdbf8
SM
120972011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * window.el (same-window-buffer-names, same-window-regexps)
12100 (special-display-frame-alist, special-display-popup-frame)
12101 (special-display-function, special-display-buffer-names)
12102 (special-display-regexps, pop-up-frame-alist)
12103 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12104 (pop-up-windows, split-window-preferred-function)
12105 (split-height-threshold, split-width-threshold, even-window-heights)
12106 (display-buffer-mark-dedicated): Don't encourage the use of
12107 display-buffer-alist from Elisp code.
12108
c5cde042
DN
121092011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12110
12111 * progmodes/python.el (python-mode): Derive from prog-mode.
12112 * progmodes/ps-mode.el (ps-mode):
12113 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12114 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12115 * progmodes/ld-script.el (ld-script-mode): Likewise.
12116
baa1c9ab
MR
121172011-06-15 Martin Rudalics <rudalics@gmx.at>
12118
12119 * window.el (display-buffer-alist): Trim default value to avoid
12120 popping up a new frame (Bug#8857) or reusing an arbitrary window
12121 on another frame.
12122 (display-buffer): Do not fall back on popping up a new frame in
12123 batch mode (Bug#8857).
12124
c5dd5a51
CY
121252011-06-14 Chong Yidong <cyd@stupidchicken.com>
12126
12127 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12128 (custom-theme-summary): New function.
12129 (customize-themes): Use it.
12130
d647b7c4
GM
121312011-06-13 Glenn Morris <rgm@gnu.org>
12132
12133 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12134
9481c002
MR
121352011-06-13 Martin Rudalics <rudalics@gmx.at>
12136
357f93d2
MR
12137 * help.el (help-window): Remove variable.
12138 (help-window-point-marker, temp-buffer-max-height)
12139 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12140 (help-print-return-message): Don't set help-window.
12141 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12142 (help-window-setup-finish): Remove.
12143 (help-window-display-message, help-window-setup)
12144 (with-help-window): Major rewrite based on new
12145 display-buffer-window variable.
12146
12147 * help-mode.el (help-mode-finish): Remove help-window related
12148 code.
12149
12150 * view.el (view-exits-all-viewing-windows): Remove reference to
12151 view-return-to-alist in doc-string.
12152 (view-return-to-alist): Make obsolete.
12153 (view-buffer): Call pop-to-buffer-same-window and remove
12154 undo-window code.
12155 (view-buffer-other-window): Call pop-to-buffer-other-window and
12156 simplify code. Ignore second argument.
12157 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12158 simplify code. Ignore second argument.
12159 (view-return-to-alist-update): Make obsolete.
12160 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12161 Rewrite using quit-restore window parameters.
2b75be67
SM
12162 (view-mode-exit): Rename second argument to EXIT-ONLY.
12163 Rewrite using quit-restore-window.
357f93d2
MR
12164 (View-exit, View-exit-and-edit, View-leave, View-quit)
12165 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12166 appropriate arguments.
12167 (view-end-message): Use quit-restore window parameter.
12168
9481c002
MR
12169 * window.el (display-buffer-function): Rewrite doc-string.
12170 (display-buffer-window, display-buffer-alist): New variables.
12171 (display-buffer-split-specifiers)
12172 (display-buffer-side-specifiers)
12173 (display-buffer-macro-specifiers): New constants.
12174 (display-buffer-even-window-sizes, display-buffer-set-height)
12175 (display-buffer-set-width, display-buffer-select-window)
12176 (display-buffer-in-window, display-buffer-reuse-window)
12177 (display-buffer-split-window-1, display-buffer-split-window)
12178 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12179 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12180 (display-buffer-in-side-window, normalize-buffer-to-display)
12181 (display-buffer-normalize-specifiers-1)
12182 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12183 (display-buffer-normalize-specifiers, display-buffer-frame):
12184 New functions.
9481c002
MR
12185 (display-buffer): Major rewrite.
12186 (display-buffer-other-window, display-buffer-other-frame)
12187 (pop-to-buffer, switch-to-buffer-other-window)
12188 (switch-to-buffer-other-frame): Rewrite.
12189 (display-buffer-same-window, display-buffer-same-frame)
12190 (display-buffer-same-frame-other-window)
12191 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12192 (pop-to-buffer-other-window)
12193 (pop-to-buffer-same-frame-other-window)
12194 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12195 (switch-to-buffer-other-window-same-frame): New functions.
12196 (same-window-p, special-display-p): Rewrite disabling warnings.
12197 Make obsolete.
12198 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12199 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12200 Make obsolete
12201 (same-window-buffer-names, same-window-regexps)
12202 (special-display-frame-alist, special-display-popup-frame)
12203 (special-display-function, special-display-buffer-names)
12204 (special-display-regexps, pop-up-frame-alist)
12205 (pop-up-frame-function, split-window-preferred-function)
12206 (split-height-threshold, split-width-threshold)
12207 (even-window-heights): Make obsolete.
12208
9db51aca
GM
122092011-06-12 Glenn Morris <rgm@gnu.org>
12210
12211 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12212 Misc simplifications.
9db51aca 12213
39cffb44
MR
122142011-06-12 Martin Rudalics <rudalics@gmx.at>
12215
12216 * window.el (window-safely-shrinkable-p): Restore function which
12217 was inadvertently removed in change from 2011-06-11. Declare as
12218 obsolete.
12219
2b75be67
SM
12220 * calendar/calendar.el (calendar-generate-window):
12221 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12222 window-safely-shrinkable-p.
12223
a8955be7
GM
122242011-06-12 Glenn Morris <rgm@gnu.org>
12225
12226 * progmodes/fortran.el (fortran-mode-syntax-table):
12227 * progmodes/f90.el (f90-mode-syntax-table):
12228 Set % to punctuation. (Bug#8820)
12229 (f90-find-tag-default): Remove, no longer needed.
12230
f0d4059d
DC
122312011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12232
12233 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12234
1100a63c
CY
122352011-06-11 Chong Yidong <cyd@stupidchicken.com>
12236
12237 * image.el (image-animated-p): Return animation delay in seconds.
12238 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12239 (image-animate-timeout): Remove DELAY argument. Don't assume
12240 every subimage has the same delay; get it from image-animated-p.
12241 (image-animate): Caller changed.
12242
def722bf
MA
122432011-06-11 Michael Albinus <michael.albinus@gmx.de>
12244
12245 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12246 to ignored backtrace functions.
12247
0a2bb1a9
GM
122482011-06-11 Glenn Morris <rgm@gnu.org>
12249
12250 * calendar/appt.el (appt-disp-window-function): Doc fix.
12251 (appt-check): Handle overlapping appointments. (Bug#8337)
12252
6198ccd0
MR
122532011-06-11 Martin Rudalics <rudalics@gmx.at>
12254
12255 * window.el (window-tree-1, window-tree): New functions, moving
12256 the latter to window.el.
12257 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12258 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12259 (bw-refresh-edges): Remove.
12260 (balance-windows-1, balance-windows-2): New functions.
12261 (balance-windows): Rewrite in terms of window tree functions,
12262 balance-windows-1 and balance-windows-2.
12263 (bw-adjust-window): Remove.
12264 (balance-windows-area-adjust): New function with functionality of
12265 bw-adjust-window but using resize-window.
2b75be67
SM
12266 (set-window-text-height): Rewrite doc-string.
12267 Use normalize-live-window and resize-window.
12268 (enlarge-window-horizontally, shrink-window-horizontally):
12269 Rename argument to DELTA.
6198ccd0
MR
12270 (window-buffer-height): New function.
12271 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12272 Rewrite using new window resize routines.
2b75be67
SM
12273 (kill-buffer-and-window, mouse-autoselect-window-select):
12274 Use ignore-errors instead of condition-case.
6198ccd0
MR
12275 (quit-window): Call delete-frame instead of delete-windows-on
12276 for the only buffer on frame.
12277
9397e56f
MR
122782011-06-10 Martin Rudalics <rudalics@gmx.at>
12279
12280 * loadup.el (top-level): Load window before files for the sake
12281 of replace-buffer-in-windows.
12282
12283 * files.el (read-buffer-to-switch)
12284 (switch-to-buffer-other-window)
2b75be67
SM
12285 (switch-to-buffer-other-frame, display-buffer-other-frame):
12286 Move to window.el.
9397e56f
MR
12287
12288 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12289 (previous-buffer): Move to window.el.
12290
12291 * bindings.el (unbury-buffer): Move to window.el.
12292
12293 * window.el (delete-other-windows-vertically): Move after
12294 definition of delete-other-windows.
12295 (other-window, delete-windows-on, replace-buffer-in-windows):
12296 Move here from window.c.
12297 (record-window-buffer, unrecord-window-buffer)
12298 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12299 (switch-to-next-buffer): New functions.
12300 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12301 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12302 (previous-buffer): Move here from simple.el.
12303 Call switch-to-prev-buffer.
9397e56f
MR
12304 (bury-buffer): Move here from buffer.c. Switch to previous
12305 buffer when window cannot be deleted.
12306 (unbury-buffer): Move here from bindings.el.
12307 (ctl-x-map): Move binding for other-window from window.c to
12308 here.
12309 (read-buffer-to-switch, switch-to-buffer-other-window)
12310 (switch-to-buffer-other-frame): Move here from files.el.
12311 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12312 (switch-to-buffer): Move here from buffer.c.
12313 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12314
562dd5e9
MR
123152011-06-10 Martin Rudalics <rudalics@gmx.at>
12316
12317 * window.el (window-min-height, window-min-width): Move here
12318 from window.c. Add defcustoms and rewrite doc-strings.
12319 (resize-mini-window, resize-window): New functions.
12320 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12321 Move here from window.c.
12322 (maximize-window, minimize-window): New functions.
12323 (delete-window, delete-other-windows, split-window): Move here
12324 from window.c.
12325 (window-split-min-size): New function.
12326 (split-window-keep-point): Mention split-window-above-each-other
12327 instead of split-window-vertically.
2b75be67 12328 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12329 Rename split-window-vertically to split-window-above-each-other
12330 and provide defalias for old definition.
12331 (split-window-side-by-side, split-window-horizontally):
12332 Rename split-window-horizontally to split-window-side-by-side
12333 and provide defalias for the old definition.
562dd5e9
MR
12334 (ctl-x-map): Move bindings for delete-window,
12335 delete-other-windows and enlarge-window here from window.c.
12336 Replace bindings for split-window-vertically and
12337 split-window-horizontally by bindings for
12338 split-window-above-each-other and split-window-side-by-side.
12339
12340 * cus-start.el (all): Remove entries for window-min-height and
12341 window-min-width. Add entries for window-splits and
12342 window-nest.
12343
f0da764a
GM
123442011-06-09 Glenn Morris <rgm@gnu.org>
12345
80675c21
GM
12346 * calendar/appt.el (appt-mode-line): New function.
12347 (appt-check, appt-disp-window): Use it.
12348
f0da764a
GM
12349 * files.el (hack-one-local-variable-eval-safep):
12350 Allow minor-modes with explicit +/-1 arguments.
12351
59f623b7
TZ
123522011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12353
12354 * term/xterm.el (xterm): Add defgroup.
12355 (xterm-extra-capabilities): Add defcustom to supply known xterm
12356 capabilities, skip querying them, or query them (default).
12357 (terminal-init-xterm): Use it.
12358 (terminal-init-xterm-modify-other-keys): New function to set up
12359 modifyOtherKeys support to simplify `terminal-init-xterm'.
12360
9aab8e0d
MR
123612011-06-09 Martin Rudalics <rudalics@gmx.at>
12362
12363 * window.el (resize-window-reset, resize-window-reset-1)
12364 (resize-subwindows-skip-p, resize-subwindows-normal)
12365 (resize-subwindows, resize-other-windows, resize-this-window)
12366 (resize-root-window, resize-root-window-vertically)
12367 (window-deletable-p, window-or-subwindow-p)
12368 (frame-root-window-p): New functions.
12369
e8b08aee
GM
123702011-06-09 Glenn Morris <rgm@gnu.org>
12371
12372 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12373 (ange-ftp-get-files): Use it.
12374
254c37a5
AK
123752011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12376
12377 * mail/sendmail.el (mail-recover-1, mail-recover):
12378 * files.el (recover-file, recover-session):
12379 Handle dired-listing-switches not being just a single short option.
12380
35d7dbd3
GM
123812011-06-09 Glenn Morris <rgm@gnu.org>
12382
12383 * calendar/appt.el (appt-display-message, appt-disp-window):
12384 Handle lists of appointments.
12385
387522b2
MR
123862011-06-08 Martin Rudalics <rudalics@gmx.at>
12387
2b75be67
SM
12388 * window.el (one-window-p): Move down in code.
12389 Rewrite doc-string.
12390 (window-current-scroll-bars): Rewrite doc-string.
12391 Normalize live window argument.
387522b2
MR
12392 (walk-windows, get-window-with-predicate, count-windows):
12393 Rewrite doc-string. Use window-list-1.
12394 (window-in-direction-2, window-in-direction, get-mru-window):
12395 New functions.
12396
d8e4b68b 123972011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12398
12399 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12400 Doc fix (Bug#8713).
12401
124022011-06-08 Chong Yidong <cyd@stupidchicken.com>
12403
12404 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12405
124062011-06-08 Juanma Barranquero <lekktu@gmail.com>
12407
12408 * loadhist.el (unload-feature-special-hooks):
12409 Add `comint-output-filter-functions'.
12410
0de12c52
IK
124112011-06-08 Ivan Kanis <gnu@kanis.fr>
12412
12413 * calendar/appt.el (appt-check): Move some initializations into the let.
12414
f3d1777e
MR
124152011-06-08 Martin Rudalics <rudalics@gmx.at>
12416
12417 * window.el (window-height): Defalias to window-total-height.
12418 (window-width): Defalias to window-body-width.
12419
18af70d0
CY
124202011-06-07 Chong Yidong <cyd@stupidchicken.com>
12421
12422 * image-mode.el (image-toggle-animation): New command.
12423 (image-mode-map): Bind it to RET.
12424 (image-mode): Update message.
12425 (image-toggle-display-image): Avoid a spurious cache flush.
12426 (image-transform-rotation): Doc fix.
12427 (image-transform-properties): Return quickly in the normal case.
12428 (image-animate-loop): Rename from image-animate-max-time.
12429
2b75be67 12430 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12431 (create-animated-image): Remove unnecessary function.
12432 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12433 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12434 (image-animate-timer): Use car-safe.
12435 (image-animate-timeout): Rename argument.
12436
190b47e6
MR
124372011-06-07 Martin Rudalics <rudalics@gmx.at>
12438
12439 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12440 window.c. Rename first argument to ALL-FRAMES.
12441 Rephrase doc-strings.
12442 (get-buffer-window-list): Rewrite using window-list-1.
12443 Rephrase doc-string.
a1511caf
MR
12444 (window-safe-min-height, window-safe-min-width): New constants.
12445 (window-size-ignore, window-min-size, window-min-size-1)
12446 (window-sizable, window-sizable-p, window-size-fixed-1)
12447 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12448 (window-max-delta-1, window-max-delta, window-resizable)
12449 (window-resizable-p, window-total-height, window-total-width)
12450 (window-body-width): New functions.
12451 (window-full-height-p, window-full-width-p): Rewrite using
12452 window-total-size.
12453 (window-body-height): Rewrite using window-body-size.
190b47e6 12454
85cc1f11
MR
124552011-06-06 Martin Rudalics <rudalics@gmx.at>
12456
12457 * window.el (window-right, window-left, window-child)
12458 (window-child-count, window-last-child, window-any-p)
12459 (normalize-live-buffer, normalize-live-frame)
12460 (normalize-any-window, normalize-live-window)
12461 (window-iso-combination-p, window-iso-combined-p)
12462 (window-iso-combinations)
12463 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12464 (windows-with-parameter, window-with-parameter)
12465 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12466 (window-atom-check, window-side-check, window-check):
12467 New functions.
85cc1f11
MR
12468 (ignore-window-parameters, window-sides, window-sides-vertical)
12469 (window-sides-slots): New variables.
12470 (window-size-fixed): Move down in code. Minor doc-string fix.
12471
e7156492
AS
124722011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12473
12474 * comint.el (comint-dynamic-complete-as-filename)
12475 (comint-dynamic-complete-filename): Correctly call
12476 completion-in-region.
12477
7e821d0d
DD
124782011-06-05 Deniz Dogan <deniz@dogan.se>
12479
12480 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12481 in last change.
12482
ac09b8a1
DD
124832011-06-05 Deniz Dogan <deniz@dogan.se>
12484
12485 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12486 (rcirc): Use it to prompt for encryption.
12487
34699b85
RW
124882011-06-05 Roland Winkler <winkler@gnu.org>
12489
12490 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12491 (bibtex-search-entries): New command bound to C-c C-a.
12492 (bibtex-display-entries): New function.
12493
004dedd3
RW
124942011-06-05 Roland Winkler <winkler@gnu.org>
12495
12496 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12497 (bibtex-insert-kill): After yanking insert newline if necessary.
12498 (bibtex-initialize): Call bibtex-string-files-init only once.
12499 (bibtex-mode): Do not call easy-menu-add.
12500 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12501 (bibtex-yank): Set arg properly if nil.
12502
022fe7ce
RW
125032011-06-05 Roland Winkler <winkler@gnu.org>
12504
2b75be67
SM
12505 * textmodes/bibtex.el (bibtex-search-entry-globally):
12506 New variable.
022fe7ce
RW
12507 (bibtex-search-entry): Use it.
12508
b7c3692a
RW
125092011-06-05 Roland Winkler <winkler@gnu.org>
12510
12511 * textmodes/bibtex.el (bibtex-entry-format): New option
12512 sort-fields.
12513 (bibtex-format-entry, bibtex-reformat): Honor this option.
12514 (bibtex-parse-entry): Return fields in proper order.
12515
8eda563d
JB
125162011-06-05 Juanma Barranquero <lekktu@gmail.com>
12517
12518 * doc-view.el (doc-view-remove-if): Move computation of result out
12519 of `dolist' to silence misleading lexical-binding warning.
12520
7dbe3dbc
CY
125212011-06-04 Chong Yidong <cyd@stupidchicken.com>
12522
12523 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12524 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12525
0c33dd17
MA
125262011-06-04 Michael Albinus <michael.albinus@gmx.de>
12527
12528 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12529 "SunOS 5.10".
12530
f8f91c2b
MA
125312011-06-04 Michael Albinus <michael.albinus@gmx.de>
12532
12533 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12534 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12535 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12536 (tramp-parse-putty):
12537 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12538 (tramp-completion-function-alist-ssh)
12539 (tramp-completion-function-alist-telnet)
12540 (tramp-completion-function-alist-su)
12541 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12542 cookie.
12543
12544 * net/tramp-ftp.el:
12545 * net/tramp-sh.el:
12546 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12547 load "tramp.el" `tramp-set-completion-function'.
12548
e17d9003
SM
125492011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12550
12551 * shell.el: Require and use pcomplete.
12552 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12553 (shell-completion-vars): Set pcomplete-default-completion-function.
12554
6c4cab03
DD
125552011-06-04 Deniz Dogan <deniz@dogan.se>
12556
12557 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12558 `memq' (Bug#8799).
12559
ea9fafe0
SM
125602011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12561
12562 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12563
b3e945d3
JB
125642011-06-02 Juanma Barranquero <lekktu@gmail.com>
12565
12566 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12567 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12568 * vc/log-view.el (log-view-beginning-of-defun):
12569 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12570 (smerge-refine-forward, smerge-refine-chopup-region):
12571 Silence warning for unused `dotimes' counter variables.
12572
7d520089
SM
125732011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12574
12575 * net/tramp.el (tramp-with-progress-reporter): Rename from
12576 with-progress-reporter. Use `declare'.
12577 * net/tramp-smb.el:
12578 * net/tramp-sh.el:
12579 * net/tramp-gvfs.el: Update all uses.
12580
a1c2400f
JB
125812011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12582
12583 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12584 buffer isn't killed before making it current.
12585
2403c841
SM
125862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12587
12588 Silence various byte-compiler warnings.
12589 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12590 `access-type' and new obsolescence format.
12591 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12592 new format.
12593 (byte-compile-check-variable): New `access-type' argument.
12594 Only warn if the access-type is obsolete.
12595 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12596 (byte-compile-variable-set): Adjust callers.
12597 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12598 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12599 setting it as obsolete.
12600 * simple.el (minibuffer-completing-symbol):
12601 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12602 access as obsolete.
12603 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12604 obsolete yet.
12605 * international/quail.el (quail-mouse-choose-completion): Remove unused
12606 code referring to obsolete var.
12607 (quail-choose-completion-string): Remove.
12608 * server.el (server-clients-with, server-kill-buffer-query-function)
12609 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12610 * proced.el (proced-send-signal):
12611 * emacs-lisp/lisp.el (lisp-complete-symbol):
12612 Replace completion-annotate-function with completion-extra-properties.
12613
2462470b
SM
126142011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12615
fb5b2591
SM
12616 * simple.el (goto-line): Use read-number.
12617 (overriding-map-is-bound): Remove.
12618 (saved-overriding-map): Change default.
12619 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12620 Take the map as argument.
12621 (universal-argument, negative-argument, digit-argument): Use it.
12622 (restore-overriding-map): Adjust.
12623 (do-auto-fill): Use fill-forward-paragraph.
12624 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12625
fd6fa53f
SM
12626 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12627 (minibuffer-inactive-mode): New major mode.
12628 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12629 the *Messages* buffer" hack.
12630 (mouse-popup-menubar): Don't burp if the event is a normal key.
12631
2462470b
SM
12632 Miscellaneous tweaks.
12633 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12634 lexical scoping as in subr.el's dolist and dotimes.
12635 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12636 Silence compiler warning.
12637 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12638 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12639 * international/ccl.el (ccl-compile): Trivial simplification.
12640 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12641 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12642 `printflag' argument.
12643 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12644 Purecopy the whole obsolescence data.
12645
108bf785
LL
126462011-06-01 Leo Liu <sdl.web@gmail.com>
12647
12648 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12649 improve doc-string as suggested by Marco Pessotto
12650 <melmothx@gmail.com>.
12651 (rcirc-print): Fix last change.
12652
30a23501
SM
126532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12654
12655 * minibuffer.el (complete-with-action): Return nil for the metadata and
12656 boundaries of non-functional tables.
12657 (completion-table-dynamic): Return nil for the metadata.
12658 (completion-table-with-terminator): Add default case, using
12659 complete-with-action.
12660 (completion--metadata): New function.
12661 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12662 to try and avoid pathological performance problems.
12663 (completion--embedded-envvar-table): Return `category' metadata.
12664
bcd54f83
LMI
126652011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12666
12667 * subr.el (process-alive-p): New tiny convenience function.
12668
e227544d
SM
126692011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12670
12671 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12672 content but also its previous major mode.
12673
e8296fdc
HE
126742011-05-31 Helmut Eller <eller.helmut@gmail.com>
12675
4d61f28d 12676 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12677 *Backtrace* buffer when we exit with C-M-c.
12678
620c53a6
SM
126792011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12680
12681 * minibuffer.el: Add metadata method to completion tables.
12682 (completion-category-overrides): New defcustom.
12683 (completion-metadata, completion--field-metadata)
12684 (completion-metadata-get, completion--styles)
12685 (completion--cycle-threshold): New functions.
12686 (completion-try-completion, completion-all-completions):
12687 Add `metadata' argument to choose completion-styles.
12688 (completion--do-completion): Use metadata to choose cycling.
12689 (completion-all-sorted-completions): Use metadata for sorting.
12690 Remove :completion-cycle-penalty which is not needed any more.
12691 (completion--try-word-completion): Add `metadata' argument.
12692 (minibuffer-completion-help): Check metadata for annotation function
12693 and sorting.
12694 (completion-file-name-table): Return `category' metadata.
12695 (minibuffer-completing-file-name): Make obsolete.
12696 * simple.el (minibuffer-completing-symbol): Make obsolete.
12697 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12698 completion-try-completion.
12699
1257e755
SM
127002011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12701
12702 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12703
3767e706
LL
127042011-05-30 Leo Liu <sdl.web@gmail.com>
12705
12706 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12707 (rcirc-print): Decode all incoming messages (bug#8744).
12708 (rcirc-decode-coding-system): Allow value nil for automatic coding
12709 system detection.
3767e706 12710
d1a5d56a
GM
127112011-06-01 Glenn Morris <rgm@gnu.org>
12712
12713 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12714
e8cbec34
CY
127152011-05-29 Chong Yidong <cyd@stupidchicken.com>
12716
12717 * image.el (image-animate-max-time): Allow nil and t values.
12718 Default to nil.
12719 (create-animated-image): Doc fix.
12720 (image-animate-start): Remove second arg; just use
12721 image-animate-max-time.
12722 (image-animate-timeout): Doc fix. Args changed.
12723
12724 * image-mode.el (image-toggle-display-image): Ensure that the
12725 image spec passed to the animate timer is the same object as in
58179cce 12726 the buffer's display property (Bug#6981).
e8cbec34
CY
12727 (image-transform-properties): Doc fix.
12728
12729 * image.el (image-animate-max-time): Default to nil.
12730
159daf87
MR
127312011-05-29 Martin Rudalics <rudalics@gmx.at>
12732
12733 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12734 entire buffer list (Bug#8184).
12735
d66c4c7c
CY
127362011-05-29 Chong Yidong <cyd@stupidchicken.com>
12737
12738 * image.el (imagemagick-types-inhibit)
12739 (imagemagick-register-types): Doc fix.
12740
80aec780
DD
127412011-05-29 Deniz Dogan <deniz@dogan.se>
12742
12743 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12744 default.
12745
1dd3c2d9
CY
127462011-05-29 Chong Yidong <cyd@stupidchicken.com>
12747
12748 * select.el: Don't perform clipboard-manager saving in hooks;
12749 leave the hooks empty.
12750
60e56523
LL
127512011-05-28 Leo Liu <sdl.web@gmail.com>
12752
12753 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12754 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12755 (occur-edit-mode): New major mode (Bug#8463).
12756 (occur-after-change-function): New function.
12757 (occur-engine): Give Occur tags a read-only property.
12758
2b1e1a22
KR
127592011-05-28 Kevin Ryde <user42@zip.com.au>
12760
12761 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12762
5d344e88
CY
127632011-05-28 Chong Yidong <cyd@stupidchicken.com>
12764
8e6ca83d
CY
12765 * bindings.el (help-echo): Make the initial non-indicator dash
12766 empty on graphical terminals (Bug#7295).
12767
5d344e88
CY
12768 * files.el (auto-mode-alist): Move config rule after the
12769 in-stripping one (Bug#8547).
12770
bfbbace7
CY
12771 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12772
fbeba6e2
CY
12773 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12774 setting (Bug#8740).
12775
60ed8c72
AA
127762011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12777
4ac619f0
AA
12778 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12779 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12780 (Bug#8539).
60ed8c72 12781
23db196e
CY
127822011-05-28 Chong Yidong <cyd@stupidchicken.com>
12783
12784 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12785
5012f24c
DK
127862011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12787
12788 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12789 (hs-hide-block-at-point, hs-find-block-beginning)
12790 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12791 (Bug#8279).
12792
6a639b16
GM
127932011-05-28 Glenn Morris <rgm@gnu.org>
12794
12795 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12796
d43eaf2c
CY
127972011-05-28 Chong Yidong <cyd@stupidchicken.com>
12798
5199bde1
CY
12799 * help-fns.el (describe-function-1): If the function is a derived
12800 major mode, print the parent mode.
12801
d43eaf2c
CY
12802 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12803 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12804
423428a8
SM
128052011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12806
0ff8e1ba 12807 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12808 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12809 * progmodes/etags.el (tags-completion-at-point-function):
12810 * info-look.el (info-lookup-completions-at-point): Mark as
12811 non-exclusive.
12812 (info-complete): Adjust accordingly.
12813
423428a8
SM
12814 * info-look.el: Convert to lexical-binding and completion-at-point.
12815 (info-lookup-completions-at-point): New function.
12816 (info-complete): Use it and completion-in-region.
12817
b74aa22b
DA
128182011-05-28 Drew Adams <drew.adams@oracle.com>
12819
12820 * isearch.el: Let M-e start with point at the first mismatched char.
12821 (isearch-fail-pos): New function.
12822 (isearch-edit-string): Use it.
12823
66e2e71d
DK
128242011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12825
12826 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12827
b1890b0f 128282011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12829
12830 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12831 traversal functions for avl-trees.
12832 (avl-tree--stack): New struct.
12833 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12834 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12835 (avl-tree--do-enter): Add optional `updatefun' arg.
12836 Change return value.
eb95d01d 12837 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12838 (avl-tree--do-delete): Add `test' and `nilflag' args.
12839 Change return value.
eb95d01d
TC
12840 (avl-tree-member): Add optional `nilflag'
12841 (avl-tree-member-p): New function.
12842 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12843 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12844 (avl-tree-stack-empty-p): New functions.
12845
3769ddcf
TC
12846 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12847 avl-tree--del-balance1 and make it work both ways.
12848 (avl-tree--del-balance2): Remove.
12849 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12850 make it work both ways.
12851 (avl-tree--enter-balance2): Remove.
12852 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12853 New macros.
12854 (avl-tree--mapc, avl-tree-map): Add direction argument.
12855
eb95d01d 128562011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12857
12858 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12859
a9f737ee
CY
128602011-05-27 Chong Yidong <cyd@stupidchicken.com>
12861
12862 * select.el: Support clipboard managers with built-in function
12863 x-clipboard-manager-save, via delete-frame-functions and
12864 kill-emacs-hook.
12865 (xselect-convert-to-targets): Add MULTIPLE target to list.
12866 (xselect-convert-to-save-targets): New function.
12867
c92a1e54
KH
128682011-05-27 Kenichi Handa <handa@m17n.org>
12869
12870 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12871 let-binding rfc2047-encode-encoded-words to nil.
12872
e145f188
GM
128732011-05-27 Glenn Morris <rgm@gnu.org>
12874
5ec8a862
GM
12875 * mail/emacsbug.el: Don't require url-util.
12876
4b29d9fb
GM
12877 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12878
e145f188
GM
12879 * files.el (set-auto-mode):
12880 Also respect mode: entries at the end of the file. (Bug#8586)
12881
7d15102b
GM
128822011-05-26 Glenn Morris <rgm@gnu.org>
12883
98f593b8
GM
12884 * files.el (hack-local-variables-prop-line, hack-local-variables):
12885 Downcase mode names, as seems to be traditional.
27b48e63 12886 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12887
7d15102b
GM
12888 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12889 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12890
51d5b4ec
JD
128912011-05-25 Julien Danjou <julien@danjou.info>
12892
12893 * textmodes/rst.el (rst-define-level-faces): Do not define face
12894 symbol if it is already defined.
12895
91513f63
VB
128962011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12897
12898 * play/5x5.el (5x5-new-game, 5x5-randomize):
12899 Reset 5x5-solver-output to nil when a new grid is cast.
12900 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12901 these debugging traces, as defmacro breaks the compiled code.
12902
4d90d6d0
DK
129032011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12904
12905 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12906
e1b90ef6
LL
129072011-05-24 Leo Liu <sdl.web@gmail.com>
12908
12909 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12910 (vc-bzr-sha1): Adapt.
12911
d8e4b68b 12912 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12913
12914 * bindings.el: Provide sha1 feature.
12915
db0406bb 129162011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12917
12918 * mail/sendmail.el: Require `rfc2047'.
12919 (mail-insert-from-field): Do not perform RFC2047 encoding.
12920 (mail-encode-header): New function.
12921 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12922 buffer to the return value of select-message-coding-system.
12923 Call mail-encode-header.
b8d747b9
KH
12924
12925 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12926
db0406bb 129272011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12928
4d90d6d0
DK
12929 * mail/supercite.el (sc-default-cite-frame):
12930 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12931
eb8a5e9b
GM
129322011-05-24 Glenn Morris <rgm@gnu.org>
12933
f8630703
GM
12934 * progmodes/python.el (brm-menu): Declare.
12935
8831bbed
GM
12936 * emulation/viper.el (viper-set-hooks): Declare.
12937
eb8a5e9b
GM
12938 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12939 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12940 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12941 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12942 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12943 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12944
a2a25d24
SM
129452011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12946
12947 Add an :exit-function for completion-at-point.
12948
12949 * minibuffer.el (completion--done): New fun.
12950 (completion--do-completion): Use it. New arg `expect-exact'.
12951 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12952 since completion--do-completion does it for us now.
12953 (minibuffer-force-complete): Use completion--done and
12954 completion--replace. Handle sole-completion case with more care.
12955 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12956 (completion-extra-properties): New var.
12957 (completion-annotate-function): Make obsolete.
12958 (minibuffer-completion-help): Adjust accordingly.
12959 Use completion-list-insert-choice-function.
12960 (completion-at-point, completion-help-at-point):
12961 Bind completion-extra-properties.
12962 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12963 * simple.el (completion-list-insert-choice-function): New var.
12964 (completion-setup-function): Preserve it.
12965 (choose-completion): Pay attention to it, shuffle the code a bit.
12966 (choose-completion-string): New arg `insert-function'.
12967
12968 * textmodes/bibtex.el: Convert to lexical binding.
12969 (bibtex-mode-map): Use completion-at-point.
12970 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12971 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12972 (bibtex-complete): Define as obsolete alias.
12973 (bibtex-complete-internal): Remove.
12974 (bibtex-format-entry): Remove unused sub-group in regexp.
12975 * shell.el (shell--command-completion-data)
12976 (shell-environment-variable-completion):
12977 * pcomplete.el (pcomplete-completions-at-point):
12978 * comint.el (comint--complete-file-name-data): Use :exit-function
12979 instead of completion-table-with-terminator so it also works for
12980 choose-completion.
12981
e44e373d
SM
129822011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12983
4f91a816
SM
12984 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12985
782fc819
SM
12986 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12987 (bug#8710).
12988
e44e373d
SM
12989 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12990
381987c3
KM
129912011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12992
12993 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12994 customization variable and implement: If non-nil, auto-fill will
12995 be inhibited while on topic's header line.
12996
b776bc70
VB
129972011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12998
12999 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13000 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13001 always have a solution in grid size = 5 cases.
13002 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13003 (5x5-solver-output, 5x5-log-buffer): New vars.
13004 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13005 Make these variables buffer local to achieve 5x5 multi-session-ness.
13006 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13007 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13008 (5x5-solve-suggest): New funs.
13009 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13010 randomize a grid so that we ensure that there is always a solution.
13011 (5x5-make-random-grid): Allow other movement than flipping.
13012
7de88b6e
KR
130132011-05-23 Kevin Ryde <user42@zip.com.au>
13014
13015 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13016 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13017 advice and passes PREDICATE.
13018
b1ef1257
SM
130192011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13020
bbca48fe
SM
13021 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13022 byte-compile-lambda if it's actually a lambda.
13023
b1ef1257
SM
13024 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13025 Fix function quoting. Use backquote better.
13026
92a9cc65
YS
130272011-05-22 Yuanle Song <sylecn@gmail.com>
13028
13029 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13030 matching (Bug#8516).
13031
f0fb8059
JA
130322011-01-22 Jari Aalto <jari.aalto@cante.net>
13033
13034 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13035 different face (Bug#8178).
13036
d5b44c93
CY
130372011-05-22 Chong Yidong <cyd@stupidchicken.com>
13038
13039 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13040 defface (Bug#8144).
13041
79106a44
SM
130422011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13043
9c848d8a
SM
13044 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13045 funcall as well (bug#8712). Warn when performing those conversions.
13046 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13047
79106a44
SM
13048 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13049
88dfa756
GM
130502011-05-22 Glenn Morris <rgm@gnu.org>
13051
13052 * files.el (hack-local-variables-prop-line): Small simplifications.
13053 (hack-local-variables, hack-local-variables-prop-line):
13054 If MODE-ONLY, return the mode, rather than just `t'.
13055
b7cf2c79
SM
130562011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13059
3f1a8558
GM
130602011-05-21 Glenn Morris <rgm@gnu.org>
13061
7e4ccca3
GM
13062 * files.el (hack-local-variables-prop-line, hack-local-variables):
13063 If only interested in the mode, don't bother doing the other stuff.
13064
637d46ca
GM
13065 * image-mode.el (image-after-revert-hook):
13066 Redraw all frames on which the image is visible. (Bug#8567)
13067
973d955b
GM
13068 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13069
3f1a8558
GM
13070 * wid-edit.el (widget-checklist-match-inline):
13071 Fix 2011-04-19 change. (Bug#8649)
13072
96479927
SM
130732011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13074
1dcf791f
SM
13075 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13076 Also allow singlespace after single-letter capitals followed by a dot.
13077
96479927
SM
13078 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13079 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13080
35fd0881
N
130812011-05-20 Nix <nix@esperi.org.uk>
13082
13083 * files.el (basic-save-buffer-2):
13084 Fix handling of break-hardlink-on-save with non-existent files.
13085
82745640
DD
130862011-05-19 Deniz Dogan <deniz@dogan.se>
13087
13088 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13089 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13090
4a720484
GM
130912011-05-19 Glenn Morris <rgm@gnu.org>
13092
d1f21341
GM
13093 * progmodes/f90.el (f90-type-def-re):
13094 Handle "type, bind(c)". (Bug#8691)
13095
4a720484
GM
13096 * emacs-lisp/autoload.el (batch-update-autoloads):
13097 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13098
2fb0a219
MA
130992011-05-18 Michael Albinus <michael.albinus@gmx.de>
13100
13101 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13102 property for the correct connection in case of multihops.
13103
e565dd37
GM
131042011-05-18 Glenn Morris <rgm@gnu.org>
13105
c2571358 13106 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13107 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13108
e565dd37
GM
13109 Rationalize calendar handling of day and month abbrev-arrays.
13110 * calendar/calendar.el (calendar-customized-p): New function.
13111 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13112 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13113 Add :set function.
13114 (calendar-abbrev-length, calendar-day-abbrev-array)
13115 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13116 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13117 Elements may no longer be nil.
13118 (calendar-day-name, calendar-month-name):
13119 Update for changed nature of abbrev arrays.
13120 * calendar/diary-lib.el (diary-name-pattern):
13121 Update for changed nature of abbrev arrays.
13122 (diary-mark-entries-1): Update calendar-make-alist calls.
13123 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13124 * calendar/cal-html.el (cal-html-day-abbrev-array):
13125 Simply inherit from calendar-day-abbrev-array.
13126
1d99a745
SM
131272011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * progmodes/grep.el (grep-mode): Disable default
13130 compilation-directory-matcher setting (bug#8684).
13131
7c1d9aa0
MA
131322011-05-17 Michael Albinus <michael.albinus@gmx.de>
13133
13134 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13135 instead of "head" and "tail". There were problems with SunOS 5.9,
13136 and it performs better.
13137
3952e9d8
GM
131382011-05-17 Glenn Morris <rgm@gnu.org>
13139
2dd12e7f
GM
13140 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13141
e4157b9c
GM
13142 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13143 Replace obsolete function.
13144
8e249bbd
GM
13145 * shell.el (pcomplete-parse-arguments-function): Declare.
13146
3952e9d8
GM
13147 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13148 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13149 (appt-check): Doc fixes.
13150 (appt-disp-window-function, appt-delete-window-function):
13151 Remove needless special case in custom :type.
13152 (appt-display-count): Default to 0, not nil.
13153 (appt-check): Reset appt-display-count to 0, not nil.
13154
c71a0d48 131552011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13156
c71a0d48
GM
13157 * progmodes/python.el (python-font-lock-keywords):
13158 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13159
31d55be9
SM
131602011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13161
13162 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13163
3bfacb2f
KR
131642011-05-16 Kevin Ryde <user42@zip.com.au>
13165
13166 * info-look.el (makefile-automake-mode): New setups, looking in
13167 automake manual, then makefile-mode.
13168 (makefile-mode): Remove automake manual, have it just in
13169 makefile-automake-mode since there's various things different or
13170 not relevant to plain make.
13171 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13172 believe a hypothetical automake-mode would go to makefile-mode,
13173 not the other way around.
13174
c8e83751
CY
131752011-05-15 Chong Yidong <cyd@stupidchicken.com>
13176
5e9e35cd
CY
13177 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13178 hunk-end tags (Bug#8672).
13179
c8e83751
CY
13180 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13181 vc-annotate-show-diff-revision-at-line (Bug#8671).
13182
50b23e5a
GM
131832011-05-14 Glenn Morris <rgm@gnu.org>
13184
7210a739
GM
13185 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13186 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13187 (change-log-font-lock-keywords): Also handle multiple author lines
13188 with leading tabs. (Bug#8644)
7210a739 13189
4691905a
GM
13190 * calendar/appt.el (appt-check): Rename some local variables.
13191 Some simplification/reordering.
13192
50b23e5a
GM
13193 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13194 (feedmail-sendmail-f-doesnt-sell-me-out)
13195 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13196 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13197 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13198 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13199 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13200 (feedmail-binmail-gnulinuxish-template):
13201 Rename from feedmail-binmail-linuxish-template.
13202 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13203 Use insert-buffer-substring.
13204
215cda7c
BC
132052011-05-14 Bill Carpenter <bill@carpenter.org>
13206
13207 * mail/feedmail.el (feedmail-patch-level): Increase.
13208 (feedmail-debug): New custom group.
13209 (feedmail-confirm-outgoing-timeout)
13210 (feedmail-sendmail-f-doesnt-sell-me-out)
13211 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13212 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13213 (feedmail-sender-line, feedmail-from-line)
13214 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13215 (feedmail-spray-this-address)
215cda7c
BC
13216 (feedmail-spray-address-fiddle-plex-list)
13217 (feedmail-queue-use-send-time-for-date)
13218 (feedmail-queue-use-send-time-for-message-id)
13219 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13220 (feedmail-buffer-eating-function):
13221 Doc fixes.
13222 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13223 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13224 (feedmail-message-action-scroll-down): New functions.
13225 (feedmail-queue-directory, feedmail-queue-draft-directory):
13226 Use expand-file-name.
13227 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13228 Remove C-v help entry.
13229 (feedmail-queue-buffer-file-name): New variable.
13230 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13231 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13232 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13233 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13234 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13235 (feedmail-message-action-toggle-spray)
13236 (feedmail-run-the-queue-no-prompts)
13237 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13238 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13239 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13240 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13241 (feedmail-envelope-deducer, feedmail-fiddle-from)
13242 (feedmail-fiddle-sender, feedmail-default-date-generator)
13243 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13244 (feedmail-fiddle-spray-address)
13245 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13246 (feedmail-fiddle-list-of-fiddle-plexes)
13247 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13248 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13249 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13250 Change default. Doc fix.
13251 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13252 (feedmail-binmail-linuxish-template): New constant.
13253 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13254 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13255 (feedmail-send-it): Add debug call.
13256 Use feedmail-queue-buffer-file-name, and
13257 feedmail-send-it-immediately-wrapper.
13258 (feedmail-message-action-send): Add debug call.
13259 Use feedmail-send-it-immediately-wrapper.
13260 (feedmail-queue-express-to-queue): Add debug call.
13261 Run feedmail-queue-express-hook.
13262 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13263 (feedmail-message-action-help-blat):
13264 Rename from feedmail-queue-send-edit-prompt-help-first.
13265 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13266 Check line-endings. Handle errors better.
13267 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13268 Doc fix. Add debug call.
13269 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13270 Use feedmail-queue-send-edit-prompt-inner.
13271 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13272 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13273 from feedmail-queue-send-edit-prompt.
13274 (feedmail-queue-send-edit-prompt-help)
13275 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13276 (feedmail-tidy-up-slug): Add debug call.
13277 Respect feedmail-queue-slug-suspect-regexp.
13278 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13279 (feedmail-dump-message-to-queue): Add debug call.
13280 Expand queue-directory.
13281 (feedmail-dump-message-to-queue): Change message slightly.
13282 Use feedmail-say-chatter.
13283 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13284 (feedmail-send-it-immediately-wrapper): New function.
13285 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13286 Insert empty string rather than newline. Handle full-frame case.
13287 Use catch/throw. Use feedmail-say-chatter.
13288 (feedmail-fiddle-from): Try mail-host-address.
13289 (feedmail-default-message-id-generator): Doc fix.
13290 Bind system-time-locale. Handle missing end.
13291 (feedmail-fiddle-x-mailer): Add debug call.
13292 Handle feedmail-x-mailer-line being nil.
13293 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13294 Add debug call. Use buffer-substring-no-properties.
13295 (feedmail-say-debug, feedmail-say-chatter): New functions.
13296 (feedmail-find-eoh): Give an explicit error.
13297
42c7e61e
UJ
132982011-05-13 Ulf Jasper <ulf.jasper@web.de>
13299
c2571358 13300 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13301 family from helvetica to sans.
c2571358 13302 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13303 etc/images/newsticker.
13304
c2571358 13305 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13306 family from helvetica to sans.
13307
13308 * net/newst-plainview.el (newsticker-new-item-face)
13309 (newsticker-old-item-face, newsticker-immortal-item-face)
13310 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13311 (newsticker-statistics-face): Change default family from
42c7e61e 13312 helvetica to sans.
c2571358 13313 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13314 etc/images/newsticker.
13315
5d3385a0
JB
13316 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13317 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13318 auto-marking.
13319
8497a297
DV
133202011-05-13 Didier Verna <didier@xemacs.org>
13321
13322 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13323 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13324 TODO entries.
8497a297
DV
13325 (lisp-lambda-list-keyword-parameter-indentation)
13326 (lisp-lambda-list-keyword-parameter-alignment)
13327 (lisp-lambda-list-keyword-alignment): New customizable user options.
13328 (lisp-indent-defun-method): Improve docstring.
13329 (extended-loop-p): Fix comment.
13330 (lisp-indent-lambda-list-keywords-regexp): New variable.
13331 (lisp-indent-lambda-list): New function.
13332 (lisp-indent-259): Use it.
13333 (lisp-indent-defmethod): Support for more than one
13334 method qualifier and properly indent methods lambda-lists.
13335 (defgeneric): Provide a missing common-lisp-indent-function property.
13336
f278f87f
SM
133372011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13338
13339 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13340 bounds for the empty string (bug#8667).
13341
5233edd7
GM
133422011-05-13 Glenn Morris <rgm@gnu.org>
13343
5237a44f
GM
13344 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13345
8340026c 13346 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13347 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13348
5233edd7 13349 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13350 (appt-time-msg-list): Doc fix.
a5464014 13351 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13352
92d10796
AS
133532011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13354
13355 * progmodes/ld-script.el (ld-script-keywords)
13356 (ld-script-builtins): Update keywords list.
13357
914a0ae1
SM
133582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13359
c89be45f
SM
13360 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13361
914a0ae1
SM
13362 * shell.el (shell-completion-vars): New function.
13363 (shell-mode):
13364 * simple.el (read-shell-command): Use it.
13365 (blink-matching-open): No need for " [...]" in minibuffer-message.
13366
98dc3df3
GM
133672011-05-12 Glenn Morris <rgm@gnu.org>
13368
13369 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13370 (appt-check): Simplify.
13371
d2fc7e3d 133722011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13373
4d61f28d 13374 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13375 literal "/dev/null".
13376
d2fc7e3d 133772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13378
13379 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13380 Fix typo.
13381
d2fc7e3d 133822011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13383
3f254caa
SM
13384 * progmodes/which-func.el (which-function):
13385 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13386 which might not be defined (Bug#8260).
13387
d45885f7
GM
133882011-05-12 Glenn Morris <rgm@gnu.org>
13389
13390 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13391 Let byte-compile-initial-macro-environment always take precedence.
13392
488086f4
SM
133932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * net/rcirc.el: Add support for SSL/TLS connections.
13396 (rcirc-server-alist): New field `encryption'.
13397 (rcirc): Check `encryption' settings.
13398 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13399 Merge make-local-variable into `set'.
13400 (rcirc--connection-open-p): New function.
13401 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13402 the process is not a network process (e.g. running gnutls-cli).
13403 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13404 Make rcirc-(en|de)code-coding-system local here.
13405 (rcirc-mode): Merge make-local-variable into `set'.
13406 (rcirc-parent-buffer): Make permanent buffer-local.
13407 (rcirc-multiline-minor-mode): Don't do it here.
13408 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13409 there's no server buffer.
13410
7d3b9d44
GM
134112011-05-11 Glenn Morris <rgm@gnu.org>
13412
f64049c6
GM
13413 * newcomment.el (comment-kill): Prefix "unused" local.
13414
93c9df73
GM
13415 * term/w32console.el (get-screen-color): Declare.
13416
7d3b9d44
GM
13417 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13418 Handle symbol elements of byte-compile-initial-macro-environment.
13419
9e2dd53f
LL
134202011-05-10 Leo Liu <sdl.web@gmail.com>
13421
488086f4
SM
13422 * bookmark.el (bookmark-bmenu-mode-map):
13423 Bind bookmark-bmenu-search to `/'.
8b340240 13424
9e2dd53f 13425 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13426 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13427 (Footnote-unicode): New function.
13428 (footnote-style-alist): Add unicode style to the list.
13429 (footnote-style): Doc fix.
9e2dd53f 13430
79b70037
GM
134312011-05-10 Jim Meyering <meyering@redhat.com>
13432
13433 Fix doubled-word typos.
13434 * international/quail.el (quail-insert-kbd-layout): and and -> and
13435 * kermit.el: and and -> and
13436 * net/ldap.el (ldap-search-internal): to to -> to
13437 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13438 * progmodes/js.el (js-mode): and and -> and
13439 * textmodes/artist.el (artist-move-to-xy): at at -> at
13440 (artist-draw-region-trim-line-endings): if if -> if
13441 And Safetyc -> Safety.
13442 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13443
b8f82dc1 134442011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13445 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13446
13447 * files.el (hack-one-local-variable-eval-safep):
13448 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13449
4f99f44b
GM
134502011-05-10 Glenn Morris <rgm@gnu.org>
13451
13452 * calendar/diary-lib.el (diary-list-entries-hook)
13453 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13454 (diary-nongregorian-marking-hook, diary-list-entries)
13455 (diary-include-other-diary-files, diary-mark-entries)
13456 (diary-mark-included-diary-files): Doc fixes.
13457
84f29e6b
JB
134582011-05-09 Juanma Barranquero <lekktu@gmail.com>
13459
13460 * misc.el: Require tabulated-list.el during compilation.
13461
9bedd73a
CY
134622011-05-09 Chong Yidong <cyd@stupidchicken.com>
13463
488086f4
SM
13464 * progmodes/compile.el (compilation-start):
13465 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13466 (compilation-filter-hook): Doc fix.
13467
797c735c
DD
134682011-05-09 Deniz Dogan <deniz@dogan.se>
13469
13470 * wdired.el: Remove outdated installation comment. Fix usage
13471 comment.
13472
5f4b1dfe
JB
134732011-05-09 Juanma Barranquero <lekktu@gmail.com>
13474
13475 * misc.el: Implement new command `list-dynamic-libraries'.
13476 (list-dynamic-libraries--loaded-only-p): New variable.
13477 (list-dynamic-libraries--refresh): New function.
13478 (list-dynamic-libraries): New command.
13479
4c44026c
CY
134802011-05-09 Chong Yidong <cyd@stupidchicken.com>
13481
488086f4
SM
13482 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13483 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13484 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13485 higher priority to avoid clobbering by gnu.
13486
027f966d
CY
134872011-05-08 Chong Yidong <cyd@stupidchicken.com>
13488
13489 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13490 if the face has existing theme settings (Bug#8454).
13491
085f5d7d
CY
134922011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13493
488086f4
SM
13494 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13495 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13496
2a86a00c
RS
13497 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13498 special file names `.' and `..' (Bug#8259).
13499
d9c54a06
CY
135002011-05-08 Chong Yidong <cyd@stupidchicken.com>
13501
488086f4
SM
13502 * progmodes/grep.el (grep-mode-font-lock-keywords):
13503 Remove buffer-changing entries.
d9c54a06
CY
13504 (grep-filter): New function.
13505 (grep-mode): Add it to compilation-filter-hook.
13506
13507 * progmodes/compile.el (compilation-filter-hook)
13508 (compilation-filter-start): New defvars.
13509 (compilation-filter): Call compilation-filter-hook prior to
13510 updating the process mark.
13511
c4662635
SM
135122011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13515
b0512a1d
EZ
135162011-05-07 Eli Zaretskii <eliz@gnu.org>
13517
605c9376
EZ
13518 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13519 mailclient-send-it even if window-system is nil. (Bug#8595)
13520
c4662635
SM
13521 * term/w32console.el (terminal-init-w32console):
13522 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13523 background-mode. (Bug#8597)
13524
d1dc2cc2
SM
135252011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13526
13527 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13528 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13529 New functions.
13530 (defgeneric, eieio--defmethod): Use them.
13531 (eieio-defgeneric): Remove.
13532 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13533
915d1300
GM
135342011-05-07 Glenn Morris <rgm@gnu.org>
13535
a3961c3e
GM
13536 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13537 Use let rather than let*.
13538 (timeclock-find-discrep): Remove unused local.
13539
314347b9
GM
13540 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13541
915d1300
GM
13542 * calendar/appt.el (appt-time-msg-list): Doc fix.
13543
275b59b0
NF
135442011-05-06 Noah Friedman <friedman@splode.com>
13545
13546 * apropos.el (apropos-print-doc): Only use
13547 emacs-lisp-docstring-fill-column when it is bound to an integer,
13548 per that variable's documentation.
13549
6c19f744
SM
135502011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13551
13552 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13553 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13554
60f884b2
GM
135552011-05-06 Glenn Morris <rgm@gnu.org>
13556
5006e634
GM
13557 * calendar/appt.el (appt-message-warning-time): Doc fix.
13558 (appt-warning-time-regexp): New option.
13559 (appt-make-list): Respect appt-message-warning-time.
13560
548d0a63
GM
13561 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13562 New options.
13563 (diary-add-to-list): Strip comments from the displayed string.
13564 (diary-mode): Set comment-start and comment-end.
13565
60f884b2
GM
13566 * vc/diff-mode.el (smerge-refine-subst): Declare.
13567 (diff-refine-hunk): Don't require smerge-mode when compiling.
13568
989681bb
JB
135692011-05-06 Juanma Barranquero <lekktu@gmail.com>
13570
13571 * simple.el (list-processes): Return nil as the docstring says.
13572
a6bc05e1
MA
135732011-05-05 Michael Albinus <michael.albinus@gmx.de>
13574
13575 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13576 to "".
13577 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13578 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13579 determining of binary transfer. (Bug#7383)
13580
23c22e9a
MA
135812011-05-05 Michael Albinus <michael.albinus@gmx.de>
13582
c4662635
SM
13583 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13584 Fix port computation bug. (Bug#8618)
23c22e9a 13585
0bff894f
GM
135862011-05-05 Glenn Morris <rgm@gnu.org>
13587
b8296902
GM
13588 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13589
1f522ce8
GM
13590 * simple.el (shell-dynamic-complete-functions)
13591 (comint-dynamic-complete-functions): Declare.
13592
cf5bee67
GM
13593 * net/network-stream.el (gnutls-negotiate):
13594 * simple.el (tabulated-list-print): Fix declarations.
13595
13596 * progmodes/gud.el (syntax-symbol, syntax-point):
13597 Remove unnecessary and incorrect declarations.
13598
0bff894f
GM
13599 * emacs-lisp/check-declare.el (check-declare-scan):
13600 Handle byte-compile-initial-macro-environment in bytecomp.el
13601
9869b3ae
SM
136022011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13603
13604 Fix earlier half-done eieio-defmethod change (bug#8338).
13605 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13606 Streamline and change calling convention.
13607 (defmethod): Adjust accordingly and simplify.
13608 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13609 new eieio--defmethod.
13610 (slot-boundp): Minor CSE simplification.
13611
9c1d5ac5
MZ
136122011-05-05 Milan Zamazal <pdm@zamazal.org>
13613
13614 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13615 (glasses-make-readable): Use glasses-separate-capital-groups.
13616
455c834e
JB
136172011-05-05 Juanma Barranquero <lekktu@gmail.com>
13618
13619 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13620 (warning-series): Doc fix.
13621 (display-warning): Don't try to create the buffer if we just found it.
13622
9ed7c8cb
CY
136232011-05-04 Chong Yidong <cyd@stupidchicken.com>
13624
13625 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13626 (autoload-find-generated-file): New function.
13627 (generate-file-autoloads): Bind generated-autoload-file to
13628 buffer-file-name.
9869b3ae
SM
13629 (update-file-autoloads, update-directory-autoloads):
13630 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13631 output file (Bug#7989).
13632 (batch-update-autoloads): Doc fix.
13633
0898ca10
JB
136342011-05-04 Juanma Barranquero <lekktu@gmail.com>
13635
13636 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13637
31dfb76c
GM
136382011-05-04 Glenn Morris <rgm@gnu.org>
13639
f330b642
GM
13640 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13641 function, so it follows changes in calendar-date-style.
13642 (diary-fancy-date-matcher): New function.
13643 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13644 (diary-fancy-font-lock-fontify-region-function):
13645 Use diary-fancy-date-pattern as a function.
13646
31dfb76c
GM
13647 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13648 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13649
48e79d6a
TZ
136502011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13651
13652 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13653 instead of positional arguments. Allow :keylist and :crlfiles
13654 arguments.
13655 (open-gnutls-stream): Call it.
13656
13657 * net/network-stream.el (network-stream-open-starttls): Adjust to
13658 call `gnutls-negotiate' with :process and :hostname arguments.
13659
dd5a5ee0
SM
136602011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13661
ef80fc09
SM
13662 * minibuffer.el (completion--message): New function.
13663 (completion--do-completion, minibuffer-complete)
13664 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13665 (completion--do-completion): Don't ignore completion-auto-help when in
13666 icomplete-mode.
13667
dd5a5ee0
SM
13668 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13669 internal encoding (e.g. tibetan zero is not whitespace).
13670 (global-whitespace-mode): Prefer save-current-buffer.
13671 (whitespace-trailing-regexp): Remove useless save-match-data.
13672 (whitespace-empty-at-bob-regexp): Minor simplification.
13673
b7d22a83
CY
136742011-05-03 Chong Yidong <cyd@stupidchicken.com>
13675
13676 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13677
5192af46
AM
136782011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13679
13680 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13681 Use `concat' to create string for insertion.
5192af46 13682
5767d190
SM
136832011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13686 Avoid open-line which runs post-self-insert-hook.
13687 (bibtex-fill-entry): Remove unused `end' var.
13688
bf242939
AM
136892011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13690
5767d190
SM
13691 * textmodes/ispell.el (ispell-add-per-file-word-list):
13692 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13693
25666126
LL
136942011-05-03 Leo Liu <sdl.web@gmail.com>
13695
13696 * isearch.el (isearch-yank-pop): New command.
5767d190 13697 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13698 (isearch-forward): Mention it.
13699
52d3c2d0
SM
137002011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13701
1bcace58
SM
13702 * simple.el (minibuffer-complete-shell-command): Remove.
13703 (minibuffer-local-shell-command-map): Use completion-at-point.
13704 (read-shell-command): Setup completion vars here instead.
13705 (read-expression-map): Bind TAB to symbol completion.
13706
52d3c2d0
SM
13707 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13708 error directly rather via storing it into `results'.
13709
35813471
LL
137102011-05-02 Leo Liu <sdl.web@gmail.com>
13711
13712 * vc/diff.el: Fix description.
13713
e793a940
LMI
137142011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13715
13716 * server.el (server-eval-at): New function.
13717
8de66e05
LMI
137182011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13719
13720 * net/network-stream.el (open-network-stream): Take a :nowait
13721 parameter and pass it on to `make-network-process'.
13722 (network-stream-open-plain): Ditto.
13723
dcb79f20
AS
137242011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13725
13726 * faces.el (face-spec-set-match-display): Don't match toolkit
13727 options on terminal frames.
13728
14a7fbd8
SM
137292011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13730
7eabc1be
SM
13731 * progmodes/pascal.el: Use lexical binding.
13732 (pascal-mode-map): Remove author preferences.
13733
14a7fbd8
SM
13734 * pcomplete.el (pcomplete-std-complete): Don't abuse
13735 completion-at-point.
13736
50f84510
JB
137372011-04-28 Juanma Barranquero <lekktu@gmail.com>
13738
6e087a44
JB
13739 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13740 removing code that has been dead since 1991 or so.
13741
50f84510
JB
13742 * startup.el (command-line): When warning about "_emacs", use a
13743 delayed warning to allow the user to filter it out.
13744
0ba690bd
DD
137452011-04-28 Deniz Dogan <deniz@dogan.se>
13746
13747 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13748 user has not joined.
13749
08abfaad
SM
137502011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13753 aren't any completions at point.
13754
638f053a
JB
137552011-04-28 Juanma Barranquero <lekktu@gmail.com>
13756
13757 * subr.el (display-delayed-warnings): New function.
13758 (delayed-warnings-hook): New variable.
13759
8fff8daa
SM
137602011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13761
08abfaad
SM
13762 * minibuffer.el (completion-at-point, completion-help-at-point):
13763 Don't presume that a given completion-at-point-function will always
13764 use the same calling convention.
13765
8fff8daa
SM
13766 * pcomplete.el (pcomplete-completions-at-point):
13767 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13768 pcomplete-seen is non-nil.
13769 (pcomplete-comint-setup): Also recognize the new comint/shell
13770 completion functions.
13771 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13772 pcomplete-seen is non-nil.
13773
841a1577 137742011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13775
841a1577 13776 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13777 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13778 the first character in the entry. This allows for code to add its
211ec907
UJ
13779 own uid to the entry.
13780 (icalendar--convert-float-to-ical): Add export of
13781 `diary-float'-entries save for those with the optional DAY
13782 argument.
13783
2a782793
DC
137842011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13785
13786 * subr.el (shell-quote-argument): Use alternate escaping strategy
13787 when we spot a variable reference in a string.
13788
0438ce91
DC
137892011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13790
13791 * cus-start.el (all): Define customization for debug-on-event.
13792
841a1577 137932011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13794
13795 * subr.el (shell-quote-argument): Escape correctly under Windows.
13796
d090ed6c
SM
137972011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13798
13799 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13800
bfd31217
MA
138012011-04-25 Michael Albinus <michael.albinus@gmx.de>
13802
d090ed6c
SM
13803 * net/tramp.el (tramp-process-actions): Add POS argument.
13804 Delete region between POS and (pos).
bfd31217 13805
d090ed6c
SM
13806 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13807 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13808 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13809
13810 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13811 position in `tramp-process-actions' call.
13812
13813 * net/trampver.el: Update release number.
13814
e92f3bd3
SM
138152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13816
850256b5
SM
13817 * custom.el (defcustom): Obey lexical-binding.
13818
e92f3bd3
SM
13819 Fix octave-inf completion problems reported by Alexander Klimov.
13820 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13821 Inherit from octave-mode-syntax-table.
13822 (inferior-octave-mode): Set info-lookup-mode.
13823 (inferior-octave-completion-at-point): New function.
13824 (inferior-octave-complete): Use it and completion-in-region.
13825 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13826 comint-filename-completion.
13827 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13828 symbol elements which shouldn't be word elements.
13829 (octave-font-lock-keywords, octave-beginning-of-defun)
13830 (octave-function-header-regexp): Adjust regexps accordingly.
13831 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13832
cd22b309
JB
138332011-04-25 Juanma Barranquero <lekktu@gmail.com>
13834
13835 * net/gnutls.el (gnutls-errorp): Declare before first use.
13836
8b492194
TZ
138372011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13838
13839 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13840 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13841 default trustfile exists before going to use it. Add missing
5a5fa834 13842 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13843 Reported by Claudio Bley <claudio.bley@gmail.com>.
13844 (open-gnutls-stream): Add usage example.
13845
13846 * net/network-stream.el (network-stream-open-starttls): Give host
13847 parameter to `gnutls-negotiate'.
13848 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13849 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13850
841a1577 138512011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13852
cd22b309
JB
13853 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13854 Use correct match group (bug#8438).
05842630 13855
3ba7869c
CY
138562011-04-24 Chong Yidong <cyd@stupidchicken.com>
13857
512e3ae1
CY
13858 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13859 (package-menu--generate): New arg specifying packages to show.
13860 (package-menu-refresh, package-menu-execute, list-packages):
13861 Callers changed.
13862 (package-show-package-list): New function, replacing deleted
13863 package--list-packages (renamed because it is non-internal).
13864
13865 * finder.el (finder-list-matches): Use package-show-package-list
13866 instead of deleted package--list-packages.
13867
e92f3bd3
SM
13868 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13869 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13870 (vc-annotate-mode-map): Bind it to RET.
13871
7031be6d
UR
138722011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13873
13874 * progmodes/etags.el (next-file): Don't use set-buffer to change
13875 buffers (Bug#8478).
13876
4ef177aa
CY
138772011-04-24 Chong Yidong <cyd@stupidchicken.com>
13878
c8d173eb
CY
13879 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13880
4ef177aa
CY
13881 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13882 (apropos-accumulator): Doc fix.
13883 (apropos-function, apropos-macro, apropos-command)
13884 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13885 (apropos-plist): Add face property.
13886 (apropos-symbols-internal): Fix indentation.
13887 (apropos-print): Simplify help, and recognize apropos-multi-type.
13888 (apropos-print-doc): Use button-type-get to extract the button's
13889 face property. Fill docstring (Bug#8352).
13890
4ffd0d6b 138912011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13892
13893 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13894
c6c32125 13895 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13896 (mpuz-mode-map): Use mapc.
c6c32125
JB
13897 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13898 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13899 Fix typos in docstrings.
13900
58d468b4
JB
13901 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13902 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13903
6470c3c6
JB
13904 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13905
4ffd0d6b 139062011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13907
13908 * minibuffer.el (completion--do-completion): Avoid the "Next char
13909 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13910
3ad8bad0
CY
13911 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13912 mouse-2 into unread-command-events, it is interpreted correctly.
13913
71d73c9c 13914 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13915 (image-toggle-display): Doc fix.
71d73c9c 13916
841a1577 139172011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13918
4ffd0d6b
GM
13919 * textmodes/page.el (what-page): Use line-number-at-pos to
13920 calculate line number (Bug#6825).
6e1dbaa9 13921
c2fb1b60
JB
139222011-04-22 Juanma Barranquero <lekktu@gmail.com>
13923
13924 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13925 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13926 Pass argument NO-DEFAULT to `find-tag-interactive'.
13927
e02f48d7
JB
139282011-04-22 Juanma Barranquero <lekktu@gmail.com>
13929
13930 Lexical-binding cleanup.
13931
13932 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13933 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13934 * progmodes/ada-prj.el (ada-prj-initialize-values)
13935 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13936 (ada-prj-show-value):
13937 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13938 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13939 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13940 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13941 * progmodes/bug-reference.el (bug-reference-push-button):
13942 * progmodes/fortran.el (fortran-line-length):
13943 * progmodes/glasses.el (glasses-change):
13944 * progmodes/octave-mod.el (octave-fill-paragraph):
13945 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13946 (python-pdbtrack-grub-for-buffer, python-sentinel):
13947 * progmodes/sql.el (sql-save-connection):
13948 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13949 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13950 Mark unused parameters.
13951
13952 * progmodes/compile.el (compilation--flush-directory-cache)
13953 (compilation--flush-parse, compile-internal): Mark unused parameters.
13954 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13955 (compilation-next-error-function): Remove unused variable `timestamp'.
13956
13957 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13958 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13959
13960 * progmodes/dcl-mode.el (dcl-end-of-command):
13961 Remove unused variable `start'.
13962 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13963 (dcl-option-value-basic, dcl-option-value-offset)
13964 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13965 Mark unused parameters.
13966 (dcl-save-local-variable): Remove unused variable `val'.
13967 (mode): Declare.
13968
13969 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13970 Mark unused parameters.
13971 (delphi-ignore-changes): Move before first use.
13972 (delphi-charset-token-at): Remove unused variable `start'.
13973 (delphi-else-start): Remove unused variable `if-count'.
13974 (delphi-comment-block-start, delphi-comment-block-end):
13975 Remove unused variable `kind'.
13976 (delphi-indent-line): Remove unused variable `new-point'.
13977
13978 * progmodes/ebrowse.el (ebrowse-files-list)
13979 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13980 Mark unused parameters. Don't quote `lambda'.
13981 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13982 Don't quote `lambda'.
13983 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13984 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13985 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13986 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13987 Use `ignore-errors'.
13988 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13989 (ebrowse-view/find-file-and-search-pattern)
13990 (ebrowse-view/find-member-declaration/definition):
13991 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13992 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13993 Rename parameter PREFIX-ARG to PREFIX.
13994 (ebrowse-tags-read-name): Remove unused variables `start' and
13995 `member-info'.
13996 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13997 to `tags-file'.
13998
13999 * progmodes/etags.el (local-find-tag-hook): Declare.
14000 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14001 Mark unused parameters.
14002
14003 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14004 (executable-interpret): Mark unused parameter.
14005
14006 * progmodes/flymake.el (flymake-process-sentinel)
14007 (flymake-after-change-function)
14008 (flymake-create-temp-with-folder-structure)
14009 (flymake-get-include-dirs-dot): Mark unused parameters.
14010 (flymake-safe-delete-directory): Remove unused variable `err'.
14011
14012 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14013 (speedbar-timer-fn, speedbar-line-text)
14014 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14015 (speedbar-center-buffer-smartly): Declare functions.
14016 (gdb-find-watch-expression): Remove unused variable `array'.
14017 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14018 (gdb-starting): Mark unused parameters.
14019 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14020 (gdb-table-string): Remove unused variable `res'.
14021 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14022 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14023 (gdb-display-buffer): Remove unused variable `cur-size'.
14024
14025 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14026 allow lexical-binding compilation.
14027 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14028 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14029 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14030 Mark unused parameters.
14031 (gud-gdb-marker-filter): Remove unused variable `match'.
14032 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14033 lambda expressions and funcall them, instead of using `fset'.
14034
14035 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14036 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14037
14038 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14039 variable `header-beg'; use `let'.
14040
14041 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14042 `restart', `last-sexp' and `at-do'.
14043
14044 * progmodes/js.el (js--debug): Mark unused parameter.
14045 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14046 (js--splice-into-items): Remove unused variable `item'.
14047 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14048
14049 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14050 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14051 (makefile-complete): Remove unused variable `try'.
14052 (makefile-fill-paragraph, makefile-match-function-end):
14053 Mark unused parameters.
14054
14055 * progmodes/octave-inf.el (inferior-octave-complete):
14056 Remove unused variable `proc'.
14057 (inferior-octave-output-digest): Mark unused parameter.
14058
14059 * progmodes/perl-mode.el (perl-calculate-indent):
14060 Remove unused variable `err'.
14061
14062 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14063 (prolog-indent-line): Mark unused parameters.
14064 (prolog-indent-line): Remove unused variable `beg'.
14065
14066 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14067 (reporter-dont-compact-list): Declare.
14068
14069 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14070 Remove unused variable `char'.
14071 (sh-debug): Mark unused parameter.
14072 (sh-get-indent-info): Remove unused variable `start'.
14073 (sh-calculate-indent): Remove unused variable `var'.
14074
14075 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14076 (simula-electric-keyword): Remove unused variable `null'.
14077 (simula-search-backward, simula-search-forward): Remove unused
14078 variables `begin' and `end'.
14079
14080 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14081 Remove unused variable `pos'.
14082 (vera-electric-tab, vera-comment-uncomment-region):
14083 Mark unused parameters.
14084 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14085
7ede3b65
CY
140862011-04-22 Chong Yidong <cyd@stupidchicken.com>
14087
14088 * emacs-lisp/package.el (package--builtins, package-alist)
14089 (package-load-descriptor, package-built-in-p, package-activate)
14090 (define-package, package-installed-p)
14091 (package-compute-transaction, package-buffer-info)
14092 (package--push): Doc fix. Distinguish more clearly between
14093 version strings and version lists.
14094
121656e9
JB
140952011-04-21 Juanma Barranquero <lekktu@gmail.com>
14096
14097 Lexical-binding cleanup.
14098
14099 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14100 (5x5-make-mutate-best):
14101 * play/fortune.el (fortune-in-buffer):
14102 * play/gomoku.el (gomoku-init-display):
14103 * play/solitaire.el (solitaire, solitaire-do-check):
14104 * play/tetris.el (tetris-default-update-speed-function):
14105 Mark unused parameters.
14106
14107 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14108 (bubbles--shift): Remove unused variable `char-org'.
14109 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14110 (bubbles--show-images): Remove unused variable `char'.
14111
14112 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14113 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14114 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14115 (decipher-analyze-buffer): Use ?\s.
14116 (decipher-make-checkpoint): Remove unused variable `mapping'.
14117
14118 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14119
14120 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14121 Remove unused variable `result'; use `let'.
14122
14123 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14124 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14125 (gametree-children-shown-p, gametree-compute-reduced-score):
14126 Use `ignore-errors'.
14127
14128 * play/handwrite.el (ps-lpr-switches): Declare.
14129 (handwrite): Remove unused variables `pmin' and `lastp'.
14130
14131 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14132
14133 * play/landmark.el (landmark-init-display)
14134 (landmark-update-naught-weights): Mark unused parameters.
14135 (landmark-y): Remove unused variable `noise'. Simplify.
14136 (landmark-human-plays): Remove unused variable `score'.
14137
14138 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14139 (mpuz-try-proposal): Remove unused variable `game'.
14140
14141 * play/zone.el (life-patterns): Declare.
14142
80f499c7
JB
141432011-04-20 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * vc/vc.el (ediff-vc-internal): Declare function.
14146
024ff170
SM
141472011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14148
c0a193ea
SM
14149 * shell.el: Use lexical-binding and std completion UI.
14150 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14151 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14152 comint-preoutput-filter-functions rather than on
14153 comint-output-filter-functions.
14154 (shell-command-completion, shell--command-completion-data)
14155 (shell-filename-completion, shell-environment-variable-completion)
14156 (shell-c-a-p-replace-by-expanded-directory): New functions.
14157 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14158 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14159 (shell-dynamic-complete-environment-variable): Use them.
14160 (shell-dynamic-complete-as-environment-variable)
14161 (shell-dynamic-complete-as-command): Remove.
14162 (shell-match-partial-variable): Match past point.
14163 * comint.el: Clean up use of completion-at-point-functions.
14164 (comint-completion-at-point): New function.
14165 (comint-mode): Use it completion-at-point-functions.
14166 (comint-dynamic-complete): Make it obsolete.
14167 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14168 (comint-c-a-p-replace-by-expanded-history): New function.
14169 (comint-dynamic-complete-functions)
14170 (comint-replace-by-expanded-history): Use it.
14171 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14172 termination strings. Try harder to avoid second try-completion.
14173 (completion-in-region-mode-map): Disable bindings that don't work yet.
14174
2dbaa080
SM
14175 * comint.el: Use lexical-binding. Require CL.
14176 (comint-dynamic-complete-functions): Use comint-filename-completion.
14177 (comint-completion-addsuffix): Tweak custom type.
14178 (comint-filename-completion, comint--common-suffix)
14179 (comint--common-quoted-suffix, comint--table-subvert)
14180 (comint--complete-file-name-data): New functions.
14181 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14182 (comint-dynamic-list-filename-completions): Use them.
14183 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14184
2dbaa080
SM
14185 * minibuffer.el (completion-in-region-mode):
14186 Keep completion-in-region-mode--predicate global.
14187 (completion-in-region--postch):
14188 Assume completion-in-region-mode--predicate is not null.
14189
c79a6f38
SM
14190 * progmodes/flymake.el (flymake-start-syntax-check-process):
14191 Obey `dir'. Simplify.
14192
024ff170
SM
14193 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14194 we're in VC after all.
14195
1c6c854e
CS
141962011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14197
14198 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14199 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14200 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14201
bed7f140
SM
142022011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14203
332e62ab
SM
14204 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14205 add sanity check.
14206
bed7f140
SM
14207 * obsolete/erc-hecomplete.el: Make obsolete.
14208 * obsolete/: Standardize obsolescence info in the header.
14209
f195c582
GM
142102011-04-20 Glenn Morris <rgm@gnu.org>
14211
14212 * calendar/solar.el (solar-horizontal-coordinates):
14213 Use the longitude argument rather than `calendar-longitude'.
14214 (solar-date-next-longitude): Remove unused locals.
14215
cb79b8c0
VJL
142162011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14217
14218 * whitespace.el: New version 13.2.1.
14219
142202011-04-20 felix <EmacsWiki> (tiny change)
14221
d8e4b68b 14222 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14223 switching between major modes on a file.
14224
602ea69d
SM
142252011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14226
14227 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14228 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14229 multi-line comments as well.
14230
06b60517
JB
142312011-04-19 Juanma Barranquero <lekktu@gmail.com>
14232
14233 Lexical-binding cleanup.
14234
14235 * arc-mode.el (archive-mode-revert):
14236 * cmuscheme.el (scheme-interactively-start-process):
14237 * custom.el (custom-initialize-delay):
14238 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14239 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14240 * emacs-lock.el (emacs-lock-clear-sentinel):
14241 * ezimage.el (defezimage):
14242 * follow.el (follow-avoid-tail-recenter):
14243 * fringe.el (set-fringe-mode-1):
14244 * generic-x.el (bat-generic-mode-compile):
14245 * help-mode.el (help-info-variable, help-do-xref)
14246 (help-mode-revert-buffer):
14247 * help.el (view-emacs-todo):
14248 * iswitchb.el (iswitchb-completion-help):
14249 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14250 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14251 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14252 * locate.el (locate-update):
14253 * longlines.el (longlines-encode-region)
14254 (longlines-after-change-function):
14255 * outline.el (outline-isearch-open-invisible):
14256 * ps-def.el (declare-function, charset-dimension, char-width)
14257 (encode-char):
14258 * ps-mule.el (ps-mule-plot-string):
14259 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14260 (recentf-edit-list-select, recentf-edit-list-validate)
14261 (recentf-open-files-action):
14262 * rect.el (delete-whitespace-rectangle-line)
14263 (rectangle-number-line-callback):
14264 * register.el (window-configuration-to-register)
14265 (frame-configuration-to-register):
14266 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14267 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14268 (xselect-convert-to-targets, xselect-convert-to-delete)
14269 (xselect-convert-to-filename, xselect-convert-to-charpos)
14270 (xselect-convert-to-lineno, xselect-convert-to-colno)
14271 (xselect-convert-to-os, xselect-convert-to-host)
14272 (xselect-convert-to-user, xselect-convert-to-class)
14273 (xselect-convert-to-name, xselect-convert-to-integer)
14274 (xselect-convert-to-atom, xselect-convert-to-identity):
14275 * subr.el (declare, ignore, process-kill-without-query)
14276 (text-clone-maintain):
14277 * terminal.el (te-get-char, te-tic-sentinel):
14278 * tool-bar.el (tool-bar-make-keymap):
14279 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14280 * type-break.el (type-break-mode, type-break-noninteractive-query):
14281 * view.el (View-back-to-mark):
14282 * wid-browse.el (widget-browse-action, widget-browse-widget)
14283 (widget-browse-widgets, widget-browse-sexp):
14284 * widget.el (define-widget-keywords):
14285 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14286 Mark unused parameters.
14287
14288 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14289 (align-areas): Remove unused variable `look'.
14290 (align-region): Remove unused variables `real-end' and `pos-list'.
14291
14292 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14293
14294 * bindings.el (mode-line-modified, mode-line-remote):
14295 Mark unused parameters.
14296 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14297
14298 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14299 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14300
14301 * comint.el (comint-history-isearch-pop-state)
14302 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14303 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14304 (comint-substitute-in-file-name): Doc fix.
14305
14306 * completion.el (cmpl-statistics-block): Mark unused parameter.
14307 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14308 (save-completions-to-file, load-completions-from-file):
14309 Remove unused local variable `e'.
14310
14311 * composite.el (compose-chars): Remove unused variable `len'.
14312 (lgstring-insert-glyph): Remove unused variable `g'.
14313 (compose-glyph-string): Remove unused variables `ascent',
14314 `descent', `lbearing' and `rbearing'.
14315 (compose-glyph-string-relative): Remove unused variables
14316 `lbearing', `rbearing' and `wadjust'.
14317 (compose-gstring-for-graphic): Remove unused variables `header',
14318 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14319 (compose-gstring-for-terminal): Remove unused variables `header'
14320 and `nchars'. Use `let', not `let*'.
14321
14322 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14323 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14324 (Custom-buffer-done, custom-buffer-create-internal)
14325 (custom-browse-visibility-action, custom-browse-group-tag-action)
14326 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14327 (widget-magic-mouse-down-action, custom-toggle-parent)
14328 (custom-add-parent-links, custom-toggle-hide-variable)
14329 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14330 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14331 (custom-face-menu-create, custom-variable-menu-create, get)
14332 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14333 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14334 (customize-apropos): Remove unused variable `tests'.
14335 (custom-group-value-create): Remove unused variable `hidden-p'.
14336 (sort-fold-case): Declare.
14337
14338 * cus-theme.el (custom-reset-standard-faces-list)
14339 (custom-reset-standard-variables-list): Declare.
14340 (customize-create-theme, custom-theme-revert, custom-theme-write)
14341 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14342 Mark unused parameters.
14343
14344 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14345
14346 * delim-col.el (delimit-columns-max): Move defvar before first use.
14347
14348 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14349 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14350
14351 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14352 (auto-insert): Declare.
14353 (desktop-restore-file-buffer): Rename desktop-* parameters;
14354 mark unused ones.
14355 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14356 (desktop-buffer): Rename desktop-* parameters.
14357
14358 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14359 (dframe-reposition-frame-xemacs, dframe-help-echo)
14360 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14361 Mark unused parameters.
14362
14363 * dired-aux.el (backup-extract-version-start, overwrite-query)
14364 (overwrite-backup-query, rename-regexp-query)
14365 (rename-non-directory-query): Declare.
14366 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14367 (dired-add-entry): Remove unused variable `orig-file-name'.
14368 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14369 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14370 `dired-copy-preserve-time' directly.
14371 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14372 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14373
14374 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14375 (dired-virtual-revert, dired-make-relative-symlink):
14376 Mark unused parameters.
14377 (manual-program): Declare.
14378 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14379 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14380 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14381
14382 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14383
14384 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14385
14386 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14387 Declare.
14388
14389 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14390
14391 * electric.el (Electric-command-loop): Rename parameter
14392 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14393
14394 * expand.el (expand-in-literal): Remove unused variable `here'.
14395
14396 * facemenu.el (facemenu-add-new-color):
14397 Remove unused variable `docstring'.
14398
14399 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14400 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14401 (face-attr-construct): Mark unused parameter. Doc fix.
14402 (read-color): Remove unused variable `hex-string'.
14403
14404 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14405 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14406 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14407 (display-buffer-other-frame): Remove unused variable `old-window'.
14408 (kill-buffer-hook): Declare.
14409 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14410 Mark unused parameters.
14411 (after-find-file): Pass 1 to `auto-save-mode', not t.
14412
14413 * files-x.el (auto-insert): Declare.
14414 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14415
14416 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14417 variable `buf'. Mark unused parameter.
06b60517
JB
14418 (find-lisp-insert-directory): Mark unused parameter.
14419
14420 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14421 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14422 (format-common-tail): Remove, unused.
14423 (format-deannotate-region): Remove unused variable `loc'.
14424 (format-annotate-region): Remove unused variable `p'.
14425 (format-annotate-single-property-change): Remove unused variables
14426 `default' and `tail'.
14427
14428 * forms.el (read-file-filter): Declare.
14429 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14430
14431 * frame.el (frame-creation-function-alist): Mark unused parameter.
14432 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14433
14434 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14435 Remove unused parameters.
14436 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14437 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14438
14439 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14440 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14441 (hfy-prepare-tag-map): Mark unused parameters.
14442 (htmlfontify-buffer): Use `called-interactively-p'.
14443
14444 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14445 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14446 (ibuffer-do-occur): Mark unused parameters.
14447 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14448 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14449
14450 * ibuffer.el: Don't quote `lambda'.
14451 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14452 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14453 Mark unused parameters.
14454
14455 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14456 (ido-completing-read): Mark unused parameters.
14457 (ido-copy-current-word): Mark unused parameters;
14458 remove unused variable `name'.
14459 (ido-sort-merged-list): Remove unused parameter `dirs'.
14460
14461 * ielm.el (ielm-input-sender): Mark unused parameter.
14462 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14463 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14464 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14465 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14466 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14467
14468 * image-dired.el (image-dired-display-thumbs): Remove unused
14469 variables `curr-file' and `count'.
14470 (image-dired-remove-tag): Remove unused variable `start'.
14471 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14472 variable `curr-file'
14473 (image-dired-rotate-original): Remove unused variable `temp-file'.
14474 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14475 Remove unused variable `file'.
14476 (image-dired-gallery-generate): Remove unused variable `curr'.
14477 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14478
14479 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14480
14481 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14482
14483 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14484
14485 * isearch.el (minibuffer-history-symbol): Declare.
14486 (isearch-edit-string): Remove unused variable `err'.
14487 (isearch-message-prefix, isearch-message-suffix):
14488 Mark unused parameters.
14489
14490 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14491
14492 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14493
14494 * makesum.el (double-column): Remove unused variable `cnt'.
14495
14496 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14497 (ido-ignore-item-temp-list): Declare.
14498
14499 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14500 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14501 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14502 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14503 `mouse-col-delta'.
14504
14505 * mouse-sel.el (mouse-extend-internal):
14506 Remove unused variable `orig-window-frame'.
14507
14508 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14509 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14510 Move declarations before first use.
14511 (pcomplete-opt): Mark unused parameters; doc fix.
14512
14513 * proced.el (proced-revert): Mark unused parameter.
14514 (proced-send-signal): Remove unused variable `err'.
14515
14516 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14517 Rename parameter PREFIX-ARG to ARG.
14518 (ps-basic-plot-string, ps-basic-plot-whitespace):
14519 Mark unused parameters.
14520
14521 * replace.el (replace-count): Define.
14522 (occur-revert-function): Mark unused parameters.
14523 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14524 (isearch-case-fold-search, isearch-string): Declare.
14525 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14526 bind `case-fold-search'. Remove unused variables `beg' and `end',
14527 and simplify.
14528 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14529 COUNT and bind `replace-count'.
14530 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14531 to COUNT.
14532
14533 * savehist.el (print-readably, print-string-length): Declare.
14534
14535 * shadowfile.el (shadow-expand-cluster-in-file-name):
14536 Remove unused variable `cluster'.
14537 (shadow-copy-file): Remove unused variable `i'.
14538 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14539 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14540 (shadow-define-literal-group, shadow-define-regexp-group)
14541 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14542
14543 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14544 (shell): Use `called-interactively-p'.
14545 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14546
14547 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14548 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14549 (delete-backward-char): Remove unused variable `ocol'.
14550 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14551 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14552 (event-apply-hyper-modifier, event-apply-shift-modifier)
14553 (event-apply-control-modifier, event-apply-meta-modifier):
14554 Mark unused parameters.
14555 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14556 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14557
14558 * speedbar.el (speedbar-ignored-directory-expressions)
14559 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14560 (speedbar-find-file, speedbar-dir-follow)
14561 (speedbar-directory-buttons-follow, speedbar-tag-find)
14562 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14563 (speedbar-buffers-line-directory, speedbar-buffer-click):
14564 Mark unused parameters.
14565 (speedbar-tag-file): Remove unused variable `mode'.
14566 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14567
14568 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14569
14570 * talk.el (talk): Remove unused variable `display'.
14571
14572 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14573 (tar-write-region-annotate): Mark unused parameter.
14574
14575 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14576 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14577 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14578 warning by another.
14579
14580 * time-stamp.el (time-stamp-string-preprocess):
14581 Remove unused variable `require-padding'.
14582
14583 * tree-widget.el (widget-glyph-enable): Declare.
14584 (tree-widget-action): Mark unused parameter.
14585
14586 * w32-fns.el (x-get-selection): Mark unused parameter.
14587 (autoload-make-program, generated-autoload-file): Declare.
14588
14589 * wdired.el (wdired-revert): Mark unused parameters.
14590 (wdired-xcase-word): Remove unused variable `err'.
14591
14592 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14593 (whitespace-help-scroll): Remove unused variable `data-help'.
14594
14595 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14596 (widget-image-insert, widget-after-change, default)
14597 (widget-default-format-handler, widget-default-notify)
14598 (widget-default-prompt-value, widget-info-link-action)
14599 (widget-url-link-action, widget-function-link-action)
14600 (widget-variable-link-action, widget-file-link-action)
14601 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14602 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14603 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14604 (widget-insert-button-action, widget-delete-button-action, visibility)
14605 (widget-documentation-link-action, widget-documentation-string-action)
14606 (widget-const-prompt-value, widget-regexp-match, symbol)
14607 (widget-coding-system-prompt-value)
14608 (widget-key-sequence-value-to-external, sexp)
14609 (widget-sexp-value-to-internal, character, vector, cons)
14610 (widget-choice-prompt-value, widget-boolean-prompt-value)
14611 (widget-color--choose-action): Mark unused parameters.
14612 (widget-item-match-inline, widget-choice-match-inline)
14613 (widget-checklist-match, widget-checklist-match-inline)
14614 (widget-group-match): Rename parameter VALUES to VALS.
14615 (widget-field-value-set): Remove unused variable `size'.
14616 (widget-color-action): Remove unused variables `value' and `start'.
14617
14618 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14619 variable `dir'. Doc fix.
06b60517
JB
14620 (windmove-find-other-window): Don't pass it.
14621
14622 * window.el (count-windows): Mark unused parameter.
14623 (bw-adjust-window): Remove unused variable `err'.
14624
14625 * woman.el (woman-file-name): Remove unused variable `default'.
14626 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14627 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14628 (global-font-lock-mode): Declare.
14629 (woman-decode-region): Mark unused parameter.
14630 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14631
14632 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14633 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14634 (x-dnd-handle-moz-url): Remove unused variable `title'.
14635 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14636
14637 * xml.el (xml-parse-tag, xml-parse-attlist):
14638 Remove unused variable `pos'.
14639
bc4f7f3d
GM
146402011-04-19 Glenn Morris <rgm@gnu.org>
14641
14642 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14643 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14644 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14645 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14646 * calendar/cal-html.el (cal-html-insert-minical):
14647 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14648 (calendar-mark-date-pattern):
14649 Prefix "unused" locals.
14650
14651 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14652 optional argument `style'.
14653
14654 * calendar/appt.el (appt-make-list):
14655 * calendar/cal-china.el (calendar-chinese-date-string):
14656 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14657 (diary-hebrew-yahrzeit):
14658 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14659 * calendar/calendar.el (calendar-generate-window):
14660 * calendar/time-date.el (time-to-days):
14661 Remove unused local variables.
14662
16a43933
CY
146632011-04-18 Chong Yidong <cyd@stupidchicken.com>
14664
14665 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14666 glyphless-char-display table.
14667 (tabulated-list-glyphless-char-display): New var.
14668
7eed1860
SS
146692011-04-18 Sam Steingold <sds@gnu.org>
14670
14671 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14672 to acknowledgments.
14673
4d2d1ccd
GM
146742011-04-17 Glenn Morris <rgm@gnu.org>
14675
14676 * calendar/diary-lib.el (diary-sexp-entry):
14677 * calendar/holidays.el (holiday-sexp):
14678 Set debug-on-error rather than the removed stack-trace-on-error.
14679
239da61d
GM
146802011-04-16 Glenn Morris <rgm@gnu.org>
14681
14682 * progmodes/f90.el: Use lexical-binding.
14683 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14684
8b05752a
SM
146852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14686
daca8ba5
SM
14687 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14688 (mail-mode): Setup mailalias completion here instead.
14689 * mail/mailalias.el: Use lexical-binding.
14690 (pattern, mailalias-done): Declare dynamic.
14691 (mail-completion-at-point-function): New function, from mail-complete.
14692 (mail-complete): Use it.
14693 (mail-completion-expand): New function.
14694 (mail-get-names): Use it.
14695 (mail-directory, mail-directory-process, mail-directory-stream):
14696 Don't use `pattern' for lexically bound arg.
14697
6f542485
SM
14698 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14699
037e7c3f
SM
14700 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14701 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14702 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14703
8b05752a
SM
14704 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14705 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14706 (byte-interactive-p): Define them again, for use when inlining
14707 old code.
14708
49093f60
JB
147092011-04-15 Juanma Barranquero <lekktu@gmail.com>
14710
14711 * loadup.el: Use `string-to-number', not `string-to-int'.
14712
b5b8e7de
SM
147132011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14716 gud-gdb-complete-command.
14717 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14718 (gud-gdb-completion-at-point): New function.
14719 (gud-gdb-completions): Remove.
14720
f42efeb5
MA
147212011-04-14 Michael Albinus <michael.albinus@gmx.de>
14722
49093f60
JB
14723 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14724 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14725 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14726 whether `executable-find' is bound.
f42efeb5
MA
14727
14728 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14729
e240cc21
SM
147302011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * minibuffer.el (completion-in-region-mode-predicate)
14733 (completion-in-region-mode--predicate): New vars.
14734 (completion-in-region, completion-in-region--postch)
14735 (completion-in-region-mode): Use them.
14736 (completion--capf-wrapper): Also return the hook function.
14737 (completion-at-point, completion-help-at-point):
14738 Adjust and provide a predicate.
c2bd2ab0
SM
14739
14740 Preserve arg names for advice of subr and lexical functions (bug#8457).
14741 * help-fns.el (help-function-arglist): Consolidate the subr and
14742 new-byte-code cases. Add argument `preserve-names' to extract names
14743 from the docstring when needed.
14744 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14745 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14746 (ad-arglist): Use help-function-arglist's new arg.
14747 (ad-definition-type): Use cond.
14748
c183f693
JB
147492011-04-13 Juanma Barranquero <lekktu@gmail.com>
14750
06641a47
JB
14751 * autorevert.el (auto-revert-handler):
14752 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14753 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14754 Don't quote lambda.
14755
c183f693
JB
14756 * image-mode.el (image-transform-set-scale):
14757 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14758
1e3b6001
G
147592011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14760
14761 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14762 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14763 Upgrades via gnutls-cli are too slow to be done opportunistically.
14764
2d6af8dd
JB
147652011-04-12 Juanma Barranquero <lekktu@gmail.com>
14766
14767 * dframe.el (dframe-current-frame): Remove spurious quote.
14768
c0749a51
GM
147692011-04-12 Glenn Morris <rgm@gnu.org>
14770
088d0d61
GM
14771 * calendar/cal-tex.el (cal-tex-end-document):
14772 Try to automatically use latin1 input if needed.
14773
c0749a51
GM
14774 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14775 Don't try to cons a mark onto an empty element.
14776
5c90fde0
LL
147772011-04-11 Leo Liu <sdl.web@gmail.com>
14778
14779 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14780 buffers.
14781 (ido-kill-buffer-at-head): Support killing virtual buffers.
14782
369e974d
CY
147832011-04-10 Chong Yidong <cyd@stupidchicken.com>
14784
14785 * minibuffer.el (completion-show-inline-help): New var.
14786 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14787 (minibuffer-force-complete, minibuffer-complete-word):
14788 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14789
14790 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14791 to avoid interference from inline help (Bug#5849).
14792
37f1c930
LL
147932011-04-10 Leo Liu <sdl.web@gmail.com>
14794
099c39a4
JB
14795 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14796 Fix typo.
37f1c930 14797
a32d4040
CY
147982011-04-09 Chong Yidong <cyd@stupidchicken.com>
14799
14800 * image-mode.el (image-toggle-display-image): Signal an error if
14801 not in Image mode.
14802 (image-transform-mode, image-transform-resize)
14803 (image-transform-set-rotation): Doc fix.
daca8ba5 14804 (image-transform-set-resize): Delete.
a32d4040
CY
14805 (image-transform-set-scale, image-transform-fit-to-height)
14806 (image-transform-fit-to-width): Handle image-toggle-display-image
14807 and image-transform-resize directly.
14808
099c39a4 148092011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14810
14811 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14812 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14813 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14814 (doc-view-mode-map): Add bindings for the new functions.
14815
099c39a4 148162011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14817
4d61f28d 14818 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14819 Fix typo in docstring.
14820
3726838a
EZ
148212011-04-08 Eli Zaretskii <eliz@gnu.org>
14822
04f33f1e
EZ
14823 * files.el (file-size-human-readable): Produce one digit after
14824 decimal, like "ls -lh" does.
14825
14826 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14827 the file size representation.
14828
3726838a
EZ
14829 * simple.el (list-processes): If async subprocesses are not
14830 available, error out with a clear error message.
14831
cbb59342
CY
148322011-04-08 Chong Yidong <cyd@stupidchicken.com>
14833
14834 * help.el (help-form-show): New function, to be called from C.
14835 Put help-form output in a buffer named differently than *Help*.
14836
e3971c44
EZ
148372011-04-08 Eli Zaretskii <eliz@gnu.org>
14838
14839 * files.el (file-size-human-readable): New function.
14840
14841 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14842 computing the representation inline. Don't require `cl'.
14843
12544bbe
GM
148442011-04-08 Glenn Morris <rgm@gnu.org>
14845
a1de6c6a
GM
14846 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14847
3c4671f4
GM
14848 * net/browse-url.el (browse-url-firefox):
14849 Test system-type, not system-configuration.
14850
b605679c
GM
14851 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14852 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14853 Use log-edit-empty-buffer-p. (Bug#7598)
14854
56442f0c
GM
14855 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14856 (rlogin-mode-map): Initialize in the defvar.
14857 (rlogin): Use ignore-errors.
14858
12544bbe
GM
14859 * replace.el (occur-mode-map): Some fixes for menu items.
14860
eb237b0f
AH
148612011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14862
14863 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14864
7d668f2c
CY
148652011-04-06 Chong Yidong <cyd@stupidchicken.com>
14866
e67a13ab
CY
14867 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14868 issuing unused warnings.
14869
14870 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14871 macro directly.
14872
7d668f2c
CY
14873 * simple.el: Lisp reimplement of list-processes. Based on an
14874 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14875 (process-menu-mode): New major mode.
14876 (list-processes--refresh, list-processes):
14877 (process-menu-visit-buffer): New functions.
14878
14879 * files.el (save-buffers-kill-emacs): Don't assume any return
14880 value of list-processes, which is undocumented anyway.
14881
a83ec3c9
CY
148822011-04-06 Chong Yidong <cyd@stupidchicken.com>
14883
14884 * emacs-lisp/tabulated-list.el: New file.
14885
e91a96fe
CY
14886 * emacs-lisp/package.el: Use Tabulated List mode.
14887 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14888 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14889 table format using Tabulated List mode variables.
14890 (package--push): New macro, replacing package-list-maybe-add.
14891 (package-menu--generate): Use package--push. Renamed from
14892 package--generate-package-list.
14893 (package-menu-refresh, list-packages): Use it.
daca8ba5 14894 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14895 Return insertion data instead of inserting it directly.
099c39a4
JB
14896 (package-menu-describe-package, package-menu-execute):
14897 Use tabulated-list-get-id.
e91a96fe
CY
14898 (package-menu-mark-delete, package-menu-mark-install)
14899 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14900 (package-menu-mark-obsolete-for-deletion):
14901 Use tabulated-list-put-tag.
e91a96fe
CY
14902 (package--list-packages, package-menu-revert)
14903 (package-menu-get-package, package-menu-get-version)
14904 (package-menu-sort-by-column): Functions deleted.
14905 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14906 (package-menu--status-predicate, package-menu--version-predicate)
14907 (package-menu--name-predicate)
14908 (package-menu--description-predicate): Handle arguments in the
14909 Tabulated List format.
14910 (package-list-packages-no-fetch): Call list-packages.
14911
3e214b50
JB
149122011-04-06 Juanma Barranquero <lekktu@gmail.com>
14913
14914 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14915 (after-find-file): Don't bind it.
3e214b50
JB
14916 (revert-buffer-in-progress-p): New variable.
14917 (revert-buffer): Bind it.
14918 Pass nil for `after-find-file-from-revert-buffer'.
14919
14920 * saveplace.el (save-place-find-file-hook): Use new variable
14921 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14922
3f0f1700
GM
149232011-04-06 Glenn Morris <rgm@gnu.org>
14924
c0274801
GM
14925 * Makefile.in (AUTOGEN_VCS): New variable.
14926 (autoloads): Use $AUTOGEN_VCS.
14927
3f0f1700
GM
14928 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14929 * calendar/calendar.el (calendar-mode-map):
14930 Check for toolkit scroll bars. (Bug#8305)
14931
41ea9e48
CY
149322011-04-05 Chong Yidong <cyd@stupidchicken.com>
14933
14934 * minibuffer.el (completion-in-region--postch)
14935 (completion-in-region-mode): Remove unnecessary messages.
14936
6194c800
JB
149372011-04-05 Juanma Barranquero <lekktu@gmail.com>
14938
33256f14
JB
14939 * font-lock.el (font-lock-refresh-defaults):
14940 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14941 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14942
6194c800
JB
14943 * info.el (Info-directory-list, Info-read-node-name-2)
14944 (Info-split-parameter-string): Doc fixes.
14945 (Info-virtual-nodes): Reflow docstring.
14946 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14947 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14948 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14949 Fix typos in docstrings.
14950 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14951 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14952 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14953 (Info-restore-desktop-buffer): Mark unused parameters.
14954 (Info-directory-find-file, Info-directory-find-node)
14955 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14956 (Info-virtual-index-find-node, Info-apropos-find-file)
14957 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14958 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14959 (Info-virtual-index): Remove unused local variable `nodename'.
14960
b87a8200 149612011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14962
b87a8200
DD
14963 * net/rcirc.el: Update my e-mail address.
14964 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14965
3b2ff876
CY
149662011-04-05 Chong Yidong <cyd@stupidchicken.com>
14967
14968 * startup.el (command-line): Save the cursor's theme-face
14969 directly, instead of using face-override-spec.
14970
14971 * custom.el (load-theme): Minor optimization in assigning faces.
14972
8d17e7ca
JB
149732011-04-04 Juanma Barranquero <lekktu@gmail.com>
14974
14975 * help-fns.el (describe-variable): Complete all variables having
14976 documentation, including keywords.
14977 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14978
2fbc1934
JB
149792011-04-04 Juanma Barranquero <lekktu@gmail.com>
14980
14981 Convert to lexical-binding.
14982
14983 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14984 (bs--get-marked-string, bs--get-modified-string)
14985 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14986 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14987 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14988
14989 * ehelp.el (electric-help-execute-extended)
14990 (electric-help-ctrl-x-prefix):
14991 * hexl.el (hexl-revert-buffer-function):
14992 * linum.el (linum-after-change, linum-after-scroll):
14993 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14994
14995 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14996
74f50695
DU
149972011-04-04 Daiki Ueno <ueno@unixuser.org>
14998
14999 * epa-dired.el:
15000 * epa-mail.el:
15001 * epa-hook.el:
15002 * epa-file.el:
15003 * epa.el:
15004 * epg.el: Use lexical binding.
15005
c11325f7
CY
150062011-04-03 Chong Yidong <cyd@stupidchicken.com>
15007
0d9e9a12
CY
15008 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15009
c11325f7 15010 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15011 dictionary case for flyspell-mark-duplications-exceptions.
15012 Use regexp matching for languages.
c11325f7
CY
15013 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15014 default dictionary (Bug#7926).
15015
da91b5f2
CY
150162011-04-02 Chong Yidong <cyd@stupidchicken.com>
15017
099c39a4
JB
15018 * emacs-lisp/package.el (package--with-work-buffer):
15019 Recognize https URLs.
da91b5f2 15020
099c39a4
JB
15021 * net/network-stream.el: Move from gnus/proto-stream.el.
15022 Change prefix to network-stream throughout.
da91b5f2
CY
15023 (open-protocol-stream): Merge into open-network-stream, leaving
15024 open-protocol-stream as an alias. Handle nil BUFFER args.
15025
15026 * subr.el (open-network-stream): Move to net/network-stream.el.
15027
afa8e9f6
GM
150282011-04-02 Glenn Morris <rgm@gnu.org>
15029
1d2e369d
GM
15030 * find-dired.el (find-exec-terminator): New option.
15031 (find-ls-option): Test for -ls support.
15032 (find-ls-subdir-switches): Test for -b in find-ls-option.
15033 (find-dired, find-grep-dired): Doc fixes.
15034 (find-dired): Use find-exec-terminator.
15035
8abb7da8 15036 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15037 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15038 (find-name-arg): Remove purecopy.
8abb7da8 15039
f3ca7378
GM
15040 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15041 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15042 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15043 accordingly. Don't add the null-device if not needed.
15044
afa8e9f6
GM
15045 * files.el (save-some-buffers): Doc fix.
15046
35eae264
EZ
150472011-04-02 Eli Zaretskii <eliz@gnu.org>
15048
15049 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15050
26b51db5
JB
150512011-04-01 Juanma Barranquero <lekktu@gmail.com>
15052
15053 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15054 Use `dolist' rather than `mapcar'.
15055
7200d79c
SM
150562011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15057
03408648 15058 Add lexical binding.
7200d79c 15059
03408648
SM
15060 * subr.el (apply-partially): Use new closures rather than CL.
15061 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15062 (dolist, dotimes): Use slightly different expansion for lexical code.
15063 (functionp): Move to C.
15064 (letrec): New macro.
15065 (with-wrapper-hook): Use it and apply-partially instead of CL.
15066 (eval-after-load): Preserve lexical-binding.
15067 (save-window-excursion, with-output-to-temp-buffer): Turn them
15068 into macros.
7200d79c 15069
03408648
SM
15070 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15071
15072 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15073 than the arglist.
15074 (help-add-fundoc-usage): Don't add `Not documented'.
15075 (help-function-arglist): Handle closures, subroutines, and new
15076 byte-code-functions.
15077 (help-make-usage): Remove leading underscores.
15078 (describe-function-1): Handle closures.
15079 (describe-variable): Use special-variable-p for completion.
15080
15081 * files.el (lexical-binding): Declare safe.
f488fb65 15082
03408648
SM
15083 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15084 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15085 (pcase): Add `let' pattern.
15086 Change memoization so it actually works.
15087 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15088 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15089 <let>: New case.
f488fb65 15090
03408648
SM
15091 * emacs-lisp/macroexp.el: Use lexical binding.
15092 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15093 Don't convert ' to #' without checking that it's indeed quoting
15094 a lambda.
15095
15096 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15097 Use eval-sexp-add-defvars.
03408648
SM
15098 (eval-sexp-add-defvars): New fun.
15099
15100 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15101
15102 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15103 Don't autoload.
15104 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15105 than the internal `byte-compile-lambda'.
15106 (defmethod): Don't hide code under quotes.
15107 (eieio-defmethod): New `code' argument.
15108
15109 * emacs-lisp/eieio-comp.el: Remove.
15110
15111 * emacs-lisp/edebug.el (edebug-eval-defun)
15112 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15113 (edebug-toggle): Avoid `eval'.
15114
15115 * emacs-lisp/disass.el (disassemble-internal): Handle new
15116 `closure' objects.
15117 (disassemble-1): Handle new byte codes.
15118
15119 * emacs-lisp/cl.el (pushnew): Silence warning.
15120
15121 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15122 (cl-byte-compile-throw): Remove.
15123 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15124
15125 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15126 closures.
15127
15128 * emacs-lisp/cconv.el: New file.
15129
15130 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15131 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15132 (byte-compile-initial-macro-environment):
15133 Handle declare-function here.
15134 (byte-compile--lexical-environment): New var.
15135 (byte-stack-ref, byte-stack-set, byte-discardN)
15136 (byte-discardN-preserve-tos): New lap codes.
15137 (byte-interactive-p): Don't use any more.
15138 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15139 New macros.
15140 (byte-compile-lapcode): Use them and handle new lap codes.
15141 (byte-compile-obsolete): Remove.
15142 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15143 (byte-compile-arglist-warn): Check late def of inlinable funs.
15144 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15145 since they should have been expanded by now.
15146 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15147 (byte-compile-from-buffer): Remove unused second arg.
15148 (byte-compile-preprocess): New function.
15149 (byte-compile-toplevel-file-form): New function to distinguish
15150 file-form calls from outside from file-form calls from hunk-handlers.
15151 (byte-compile-file-form): Simplify.
15152 (byte-compile-file-form-defsubst): Remove.
15153 (byte-compile-file-form-defmumble): Simplify now that
15154 byte-compile-lambda always returns a byte-code-function.
15155 (byte-compile): Preprocess.
15156 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15157 Remove, not used any more.
15158 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15159 (byte-compile-make-args-desc): New funs.
15160 (byte-compile-lambda): Handle lexical functions. Always return
15161 a byte-code-function.
15162 (byte-compile-reserved-constants): New var, to make up room for
15163 closed-over variables.
15164 (byte-compile-constants-vector): Obey it.
15165 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15166 (byte-compile-macroexpand-declare-function): New function.
15167 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15168 byte-code-functions.
15169 (byte-compile-form): Check obsolescence here.
15170 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15171 (byte-compile-variable-ref): Remove.
15172 (byte-compile-dynamic-variable-op): New fun.
15173 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15174 (byte-compile-variable-set): New funs.
15175 (byte-compile-discard): Add 2 args.
15176 (byte-compile-stack-ref, byte-compile-stack-set)
15177 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15178 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15179 macroexpand-all instead.
15180 (byte-compile-quote-form): Remove.
15181 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15182 (byte-compile-bind, byte-compile-unbind): New funs.
15183 (byte-compile-let): Handle let* and lexical binding.
15184 (byte-compile-let*): Remove.
15185 (byte-compile-catch, byte-compile-unwind-protect)
15186 (byte-compile-track-mouse, byte-compile-condition-case):
15187 Handle a new :fun-body form, used for lexical scoping.
15188 (byte-compile-save-window-excursion)
15189 (byte-compile-with-output-to-temp-buffer): Remove.
15190 (byte-compile-defun): Simplify.
15191 (byte-compile-stack-adjustment): New fun.
15192 (byte-compile-out): Use it.
15193 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15194
15195 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15196 handler any more.
15197
15198 * emacs-lisp/byte-opt.el: Use lexical binding.
15199 (byte-inline-lapcode): Remove (to bytecomp).
15200 (byte-compile-inline-expand): Pay attention to inlining to/from
15201 lexically bound code.
15202 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15203 any more.
15204 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15205 any more and don't call compiler-macros.
15206 (byte-compile-splice-in-already-compiled-code): Remove.
15207 (byte-code): Don't inline any more.
15208 (disassemble-offset): Receive `bytes' as argument rather than via
15209 dynamic scoping.
15210 (byte-compile-tag-number): Declare before first use.
15211 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15212 `return' even if make-spliceable.
15213 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15214 obsolete interactive-p.
15215 (byte-optimize-lapcode): Optimize new lap-codes.
15216 Don't trip up on new form of `byte-constant' lap code.
15217
15218 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15219
15220 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15221
15222 * custom.el (custom-initialize-default, custom-declare-variable):
15223 Use `defvar'.
15224
15225 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15226 New variables.
15227 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15228 (COMPILE_FIRST): Add macroexp and cconv.
15229 * makefile.w32-in: Mirror changes in Makefile.in.
15230
15231 * vc/cvs-status.el:
15232 * vc/diff-mode.el:
15233 * vc/log-edit.el:
15234 * vc/log-view.el:
15235 * vc/smerge-mode.el:
15236 * textmodes/bibtex-style.el:
15237 * textmodes/css.el:
15238 * startup.el:
15239 * uniquify.el:
da91b5f2
CY
15240 * minibuffer.el:
15241 * newcomment.el:
15242 * reveal.el:
15243 * server.el:
15244 * mpc.el:
15245 * emacs-lisp/smie.el:
15246 * doc-view.el:
15247 * dired.el:
03408648
SM
15248 * abbrev.el: Use lexical binding.
15249
0f0c1f27
EZ
152502011-04-01 Eli Zaretskii <eliz@gnu.org>
15251
15252 * info.el (info-display-manual): New function.
15253
c82b2579
SM
152542011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15255
15256 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15257
221ddf68
TH
152582011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15259
15260 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15261 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15262
cba6e77e
GM
152632011-03-31 Glenn Morris <rgm@gnu.org>
15264
e040639f
GM
15265 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15266
cba6e77e
GM
15267 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15268
6d0f1c9e
CS
152692011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15270
15271 * progmodes/python.el (python-default-interpreter)
15272 (python-python-command-args, python-jython-command-args)
15273 (python-which-shell, python-which-args, python-which-bufname)
15274 (python-file-queue, python-comint-output-filter-function)
15275 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15276 variables and functions.
15277
3e2d70fd
SM
152782011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15279
15280 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15281 (completion-in-region-mode): New minor mode.
15282 (completion-in-region): Use it.
15283 (completion-in-region--data, completion-in-region-mode-map): New vars.
15284 (completion-in-region--postch): New function.
15285 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15286 New vars.
15287 (completion--capf-wrapper): New function.
15288 (completion-at-point): Use it to track well-behavedness of
15289 hook functions.
15290 (completion-help-at-point): New command.
15291
f3e4086c
JM
152922011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15293
15294 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15295 syntax class to search for whitespace on a single line
15296 (Message-ID: <4D938140.4030905@redhat.com>).
15297
eb7ffc14
LL
152982011-03-30 Leo Liu <sdl.web@gmail.com>
15299
15300 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15301 New commands.
15302 (edit-abbrevs-map): Bind them here.
15303 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15304
d806ab68
KM
153052011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15306
15307 * allout.el (allout-hide-by-annotation, allout-flag-region):
15308 Reduce possibility of overlay leakage by making them volatile.
15309
15310 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15311 hash is not shared between buffers. Mode initialization is
15312 responsible for giving it a useful starting value.
15313 (allout-item-span): Reduce possibility of overlay leakage by
15314 making them volatile.
15315 (allout-widgets-count-buttons-in-region): Add diagnostic function
15316 for tracking down button overlay leaks.
15317
ea622834
LL
153182011-03-29 Leo Liu <sdl.web@gmail.com>
15319
15320 * ido.el (ido-read-internal): Use the default history var
15321 minibuffer-history if no HISTORY is specified.
15322
b62f8267
G
153232011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15324
03408648
SM
15325 * net/imap.el (imap-shell-open, imap-process-connection-type):
15326 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15327 Kerberos, SSL, other subprocesses.
15328
947b6566
LL
153292011-03-28 Leo Liu <sdl.web@gmail.com>
15330
15331 * abbrev.el (abbrev-table-empty-p): New function.
15332 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15333 nonempty ones. (Bug#5937)
15334
5ffb62aa
JD
153352011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15336
15337 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15338
7a097943
LL
153392011-03-27 Leo Liu <sdl.web@gmail.com>
15340
15341 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15342 for foreground and background colors.
15343 (ansi-color-make-color-map): Adapt.
15344
c5b40130
LL
153452011-03-25 Leo Liu <sdl.web@gmail.com>
15346
1f48f7d2
LL
15347 * midnight.el (midnight-time-float): Remove. Note it calculates
15348 the microsecond component incorrectly and seconds-to-time does the
15349 same job.
625897ec 15350 Remove redundant (require 'timer).
1f48f7d2 15351
c5b40130
LL
15352 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15353 (ido-completions): Remove unused arguments. (Bug#8329)
15354
d86d2721
SM
153552011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15356
15357 * minibuffer.el (completion--flush-all-sorted-completions):
15358 Remove itself from hook.
15359 (completion-at-point): Let the functions perform the completion
15360 immediately and return nil or t.
15361 * comint.el (comint-dynamic-complete-functions): Now identical to
15362 completion-at-point-functions.
15363 (comint-dynamic-list-input-ring): Remove unused var `index'.
15364 (comint--match-partial-filename, comint--unquote&expand-filename):
15365 New funs, split from comint-match-partial-filename.
15366 (comint-dynamic-complete): Use completion-at-point.
15367 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15368
e8974c48
DA
153692011-03-24 Drew Adams <drew.adams@oracle.com>
15370
15371 * thingatpt.el: Support `defun'.
15372
def71b5e
LL
153732011-03-23 Leo Liu <sdl.web@gmail.com>
15374
cb5af48e
LL
15375 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15376
def71b5e
LL
15377 * help-mode.el (help-mode-finish): Tweak regexp.
15378
927c53e7
GM
153792011-03-23 Glenn Morris <rgm@gnu.org>
15380
18d05bed
GM
15381 * eshell/esh-opt.el (eshell-eval-using-options):
15382 Do not bind unused local variable `eshell-option-stub'.
15383
927c53e7
GM
15384 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15385
9d0da923
JB
153862011-03-22 Juanma Barranquero <lekktu@gmail.com>
15387
15388 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15389 keymap variable in `with-no-warnings' to avoid a warning when the
15390 keymap has been already `defconst'ed.
15391
4b978a67
LL
153922011-03-22 Leo Liu <sdl.web@gmail.com>
15393
15394 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15395 encode all chars in abbrevs; otherwise use emacs-mule or
15396 utf-8-emacs. (Bug#8308)
15397
5fd62452
JB
153982011-03-22 Juanma Barranquero <lekktu@gmail.com>
15399
0b1596c6
JB
15400 * simple.el (backward-delete-char-untabify):
15401 Avoid warning about using `delete-backward-char'.
15402
5fd62452
JB
15403 * image.el (image-type-file-name-regexps): Make it variable.
15404 `imagemagick-register-types' modifies it, and the user may want
15405 to add new extensions for known image types.
15406 (imagemagick-register-types): Throw error if not using ImageMagick.
15407
0b4e93f1
LL
154082011-03-22 Leo Liu <sdl.web@gmail.com>
15409
15410 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15411 located before rcirc-prompt-end-marker.
15412 (rcirc-complete): Error if point is not after rcirc prompt.
15413 Handle the case when table is nil.
9882e214 15414 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15415
fccee4ab
CY
154162011-03-22 Chong Yidong <cyd@stupidchicken.com>
15417
15418 * custom.el (custom--inhibit-theme-enable): Make it affect only
15419 custom-theme-set-variables and custom-theme-set-faces.
15420 (provide-theme): Ignore custom--inhibit-theme-enable.
15421 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15422 (custom-enabling-themes): Delete variable.
d86d2721
SM
15423 (enable-theme): Accept only loaded themes as arguments.
15424 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15425 (custom-enabled-themes): Forbid themes from setting this.
15426 Eliminate use of custom-enabling-themes.
15427 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15428
af896da6
LL
154292011-03-21 Leo Liu <sdl.web@gmail.com>
15430
15431 * ido.el (ido-read-internal): Add ido-selected to history instead
15432 of user input.
15433
78f64af0
SM
154342011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15435
15436 * subr.el (deferred-action-list, deferred-action-function):
15437 Mark obsolete.
15438
b16ac1ec
LL
154392011-03-21 Leo Liu <sdl.web@gmail.com>
15440
810f7698
LL
15441 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15442 change on 2011-02-13 (bug#8309).
15443
b16ac1ec
LL
15444 * minibuffer.el (read-file-name-function): Change default value.
15445 (read-file-name--defaults): Rename from read-file-name-defaults.
15446 (read-file-name-default): Rename from read-file-name.
15447 (read-file-name): Call read-file-name-function.
15448
4e05e67e
GM
154492011-03-21 Glenn Morris <rgm@gnu.org>
15450
15451 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15452 Doc fixes.
15453
4359915b
CY
154542011-03-21 Chong Yidong <cyd@stupidchicken.com>
15455
15456 * cus-theme.el: Add missing provide statement.
15457 (customize-create-theme): Extract theme value correctly.
15458 (custom-theme-visit-theme): Autoload.
15459 (customize-create-theme): Prompt before inserting default faces.
15460
1fe275ee
JB
154612011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15462
15463 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15464 units and musical notes.
15465
cd394be1 154662011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15467
15468 * ido.el (ido-read-internal): Use completing-read-default.
15469 (ido-completing-read): Fix compatibility with completing-read.
15470
7d476bde
CO
154712011-03-20 Christian Ohler <ohler@gnu.org>
15472
15473 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15474 (ert-delete-all-tests): Use `called-interactively-p' rather than
15475 `interactive-p'.
15476 (ert--make-xrefs-region): Respect END.
15477
fe0fb33e
CY
154782011-03-19 Chong Yidong <cyd@stupidchicken.com>
15479
ff854b0b
CY
15480 * dired-aux.el (dired-create-directory): Signal an error if the
15481 directory already exists (Bug#8246).
15482
fe0fb33e
CY
15483 * facemenu.el (list-colors-display): Call list-faces-display
15484 inside with-help-window.
15485 (list-colors-print): Use display property to align the final
15486 column, instead of checking window-width.
15487
576bce32
EZ
154882011-03-19 Eli Zaretskii <eliz@gnu.org>
15489
4d61f28d 15490 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15491 windows-nt systems.
15492 (emerge-protect-metachars): Quote correctly for ms-dos and
15493 windows-nt systems.
15494
89c41d68 154952011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15496
15497 * info.el (info-initialize): Replace all uses of `:' with
15498 path-separator for compatibility with non-Unix systems.
15499 Cache quoting of path-separator. (Bug#8258)
15500
b14e3e21 155012011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15502
15503 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15504 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15505 (mouse-avoidance-mode): Fix typos in docstrings.
15506
4525ce3e
CY
155072011-03-19 Chong Yidong <cyd@stupidchicken.com>
15508
15509 * startup.el (package-subdirectory-regexp): Move from package.el.
15510 Omit \\` and \\', and let callers add them.
15511
15512 * emacs-lisp/package.el (package-strip-version)
15513 (package-load-all-descriptors): Add \\` and \\' to
15514 package-subdirectory-regexp before using it.
15515 (package-untar-buffer): New arg DIR; ensure that file untars only
15516 into this expected directory. Remove superfluous delete-region.
15517 (package-unpack): Caller changed.
15518 (package-tar-file-info): Use package-subdirectory-regexp.
15519
a904a09a 155202011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15521
a904a09a
SM
15522 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15523 diff-mode-shared-map (bug#8284).
15524 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15525
155262011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15527
15528 * calendar/time-date.el (format-seconds): Use assoc instead of
15529 assoc-string, since assoc-string doesn't exist in XEmacs.
15530
171fc304
JB
155312011-03-17 Juanma Barranquero <lekktu@gmail.com>
15532
15533 * custom.el (custom-known-themes): Reflow docstring.
15534 (custom-theme-load-path): Fix typo in docstring.
15535 (load-theme): Fix typo in error message.
15536 (custom-available-themes, custom-variable-theme-value):
15537 Use `let', not `let*'.
15538
d71990a1
JB
155392011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15540
15541 * calc/README: Mention inclusion of musical notes.
15542
15543 * calc/calc-units.el (calc-lu-quant): Rename from
15544 `calc-logunits-quantity'.
15545 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15546 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15547 (calc-db): Rename from `calc-dblevel'.
15548 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15549 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15550 (calc-np): Rename from `calc-nplevel'.
15551 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15552 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15553 (calc-lu-plus): Rename from `calc-logunits-add'.
15554 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15555 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15556 (calc-lu-minus): Rename from `calc-logunits-sub'.
15557 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15558 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15559 (calc-lu-times): Rename from `calc-logunits-mul'.
15560 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15561 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15562 (calc-lu-divide): Rename from `calc-logunits-div'.
15563 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15564 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15565
15566 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15567 functions being autoloaded.
15568
15569 * calc/calc.el (calc-lu-power-reference): Rename from
15570 `calc-logunits-power-reference'.
15571 (calc-lu-field-reference): Rename from
15572 `calc-logunits-field-reference'.
15573
7a71b18d
GM
15574 * calc/calc-help.el (calc-l-prefix-help):
15575 Mention musical note functions.
d71990a1 15576
40c2934b
SM
155772011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15578
15579 * minibuffer.el (completion-all-sorted-completions):
15580 Use :completion-cycle-penalty text property if present.
15581
b0911414
KM
155822011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15583
15584 * allout.el (allout-yank-processing): Adjust for new rebulleting
15585 regime so bullet being yanked is used without prompting the user
15586 for a choice.
15587
8a05b668
JB
155882011-03-16 Juanma Barranquero <lekktu@gmail.com>
15589
15590 * startup.el (command-line): Warn the user that _emacs is deprecated.
15591
5ba5fb81
JB
155922011-03-16 Juanma Barranquero <lekktu@gmail.com>
15593
15594 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15595 (delphi-verbose, delphi-comment-face, delphi-string-face)
15596 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15597 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15598 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15599 (delphi-new-comment-line, delphi-font-lock-defaults)
15600 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15601 Fix typos in docstrings.
15602
2dab465b
KM
156032011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15604
5ba5fb81 15605 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15606 Invert the roles of character and string values for INSTEAD, so a
15607 string is used for the more common case of a defaulting prompt.
15608
0adf5618
SM
156092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15610
15611 * progmodes/ruby-mode.el (ruby-backward-sexp):
15612 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15613 * play/gamegrid.el (gamegrid-make-face):
15614 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15615 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15616 * notifications.el (notifications-notify):
15617 * net/xesam.el (xesam-search-engines):
15618 * net/quickurl.el (quickurl-list-insert):
15619 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15620
d72700e5
CY
156212011-03-15 Chong Yidong <cyd@stupidchicken.com>
15622
15623 * startup.el (command-line): Update package subdirectory regexp.
15624
49c5410a
SM
156252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15626
c6eee9aa
SM
15627 * allout.el (allout-abbreviate-flattened-numbering)
15628 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15629
49c5410a
SM
15630 * subr.el (read-char-choice): Only show the cursor after the prompt,
15631 not after the answer.
15632
047b2bb9
KR
156332011-03-15 Kevin Ryde <user42@zip.com.au>
15634
15635 * help-fns.el (variable-at-point): Skip leading quotes, if any
15636 (bug#8253).
15637
0a57d256
SM
156382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15641 warning message.
15642
77c992bc
MA
156432011-03-14 Michael Albinus <michael.albinus@gmx.de>
15644
15645 * shell.el (shell): When called interactively, offer to change the
15646 shell file name on remote hosts.
15647
eebc475d
TZ
156482011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15649
15650 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15651 integration for LDAP parameters. The host, base, user or binddn,
15652 and secret tokens can be specified in a netrc file, for instance.
15653 This is optional because an `auth-source' parameter must be
15654 specified in the search attributes.
15655
9d05d1ba
JB
156562011-03-13 Juanma Barranquero <lekktu@gmail.com>
15657
15658 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15659
09d9db2c
GM
156602011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15661
15662 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15663 into declaration. Remove redundant and harmful binding.
15664
156652011-03-12 Eli Zaretskii <eliz@gnu.org>
15666
15667 * files.el (file-ownership-preserved-p): Pass `integer' as an
15668 explicit 2nd argument to `file-attributes'. If the file's owner
15669 is the Administrators group on Windows, and the current user is
15670 Administrator, consider that a match.
15671
15672 * server.el (server-ensure-safe-dir): Consider server directory
15673 safe on MS-Windows if its owner is the Administrators group while
15674 the current Emacs user is Administrator. Use `=' to compare
15675 numerical UIDs, since they could be integers or floats.
15676
219bd536
JB
156772011-03-12 Juanma Barranquero <lekktu@gmail.com>
15678
15679 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15680
f3afd36b
MA
156812011-03-12 Michael Albinus <michael.albinus@gmx.de>
15682
15683 Sync with Tramp 2.2.1.
15684
15685 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15686
15687 * net/trampver.el: Update release number.
15688
3aaaa6f1
SM
156892011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15690
94642599
SM
15691 * progmodes/compile.el (compilation--previous-directory): Fix up
15692 various nil/dead-marker mismatches (bug#8014).
15693 (compilation-directory-properties, compilation-error-properties):
15694 Don't call it at a position past the one we're about to change.
15695
3aaaa6f1
SM
15696 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15697 Disable obsolescence warnings in the file that declares it.
15698
14239447
KM
156992011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15700
099c39a4
JB
15701 * allout-widgets.el (allout-widgets-tally):
15702 Initialize allout-widgets-tally as a hash table rather than nil to
15703 prevent mode-line redisplay warnings. Also, clarify the module
15704 description and fix a comment typo.
14239447 15705
135e287c
JB
157062011-03-11 Juanma Barranquero <lekktu@gmail.com>
15707
15708 * help-fns.el (describe-variable): Don't complete keywords.
15709 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15710
ffbf300e
CY
157112011-03-10 Chong Yidong <cyd@stupidchicken.com>
15712
ba08b241
CY
15713 * emacs-lisp/package.el (package-version-join): Impose a standard
15714 string representation for pre/alpha/beta version lists.
15715 (package-unpack-single): Standardize the directory name by passing
15716 it through package-version-join.
15717 (package-strip-rcs-id): Accept any version string that does not
15718 signal an error in version-to-list.
ffbf300e 15719
f346fd6b
MA
157202011-03-10 Michael Albinus <michael.albinus@gmx.de>
15721
15722 * simple.el (delete-trailing-whitespace): Return nil for the
15723 benefit of `write-file-functions'.
15724
ccb55d27
GM
157252011-03-10 Glenn Morris <rgm@gnu.org>
15726
5ceaac0c
GM
15727 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15728
02da65ff
GM
15729 * vc/vc-git.el (vc-git-program): New option.
15730 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15731 (vc-git--call): Use it.
15732
b2f603cc
GM
15733 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15734
5772caab
GM
15735 * cus-edit.el (Custom-newline): If no button at point, look
15736 for a subgroup button at start-of-line. (Bug#2298)
15737
ccb55d27
GM
15738 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15739
ec6ecaed
JD
157402011-03-10 Julien Danjou <julien@danjou.info>
15741
15742 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15743 `cursor-type' is nil.
15744
9d5aa01d
JB
157452011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15746
15747 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15748
b6a5875b
KM
157492011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15750
7a71b18d 15751 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15752 preserves the existing header prefix, rebulleting it if necessary,
15753 rather than replacing it. This is necessary for proper operation
15754 of cooperative addons like allout-widgets.
1154d12e
JB
15755 (allout-make-topic-prefix, allout-rebullet-heading):
15756 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15757 value as alternate bullet to be used, instead of prompting the user
15758 for a bullet character.
b6a5875b 15759
ee545c35
MA
157602011-03-09 Michael Albinus <michael.albinus@gmx.de>
15761
d86d2721
SM
15762 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15763 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15764 `tramp-default-port'.
15765
c47971d7
DD
157662011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15767
15768 * net/rcirc.el (rcirc-handler-001): Remove useless
15769 with-rcirc-process-buffer.
15770 (rcirc-check-auth-status): Swap arguments to string-match.
15771
13522cb4
GM
157722011-03-09 Glenn Morris <rgm@gnu.org>
15773
0be6f4f1
GM
15774 * shell.el (shell-mode):
15775 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15776
13522cb4
GM
15777 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15778 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15779
515de2e3
CY
157802011-03-08 Chong Yidong <cyd@stupidchicken.com>
15781
15782 * emacs-lisp/package.el (package-refresh-contents)
15783 (package-menu-execute): Use condition-case-no-debug.
15784
b511b994
MA
157852011-03-08 Michael Albinus <michael.albinus@gmx.de>
15786
15787 * simple.el (shell-command-to-string): Use `process-file'.
15788
15789 * emacs-lisp/package.el (package-tar-file-info): Handle also
15790 remote files.
15791
d86d2721
SM
15792 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15793 Use `equal' for upload base check.
b511b994 15794
25bbfb31
AM
157952011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15796
15797 * textmodes/texinfo.el (texinfo-environments):
15798 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15799
be996521
GM
158002011-03-08 Glenn Morris <rgm@gnu.org>
15801
e9c8529f
GM
15802 * cus-start.el (cursor-in-non-selected-windows):
15803 Fix :set quoting oddness. (Bug#8192)
15804
be996521
GM
15805 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15806 in some setf expressions. (Bug#2159)
15807
2bb5649e
CY
158082011-03-08 Chong Yidong <cyd@stupidchicken.com>
15809
15810 * custom.el (custom-available-themes): Return themes in
15811 alphabetical order.
15812
33383987 15813See ChangeLog.15 for earlier changes.
e3d51b27
MR
15814
15815;; Local Variables:
15816;; coding: utf-8
e3d51b27
MR
15817;; End:
15818
acaf905b 15819 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15820
15821 This file is part of GNU Emacs.
15822
15823 GNU Emacs is free software: you can redistribute it and/or modify
15824 it under the terms of the GNU General Public License as published by
15825 the Free Software Foundation, either version 3 of the License, or
15826 (at your option) any later version.
15827
15828 GNU Emacs is distributed in the hope that it will be useful,
15829 but WITHOUT ANY WARRANTY; without even the implied warranty of
15830 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15831 GNU General Public License for more details.
15832
15833 You should have received a copy of the GNU General Public License
15834 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.