* xdisp.c (vmessage): Treat frame message as multibyte.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ee574791
UJ
12012-06-08 Nick Dokos <nicholas.dokos@hp.com>
2
3 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4 string properly, fixes Bug#11473.
5
4b56d0fe
CY
62012-06-08 Chong Yidong <cyd@gnu.org>
7
8 * faces.el (set-face-attribute): Doc fix.
9 (modify-face): Don't use :bold and :italic.
10 (error, warning, success): Tweak definitions.
11
12 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13 (custom-modified, custom-set, custom-changed, custom-themed)
14 (custom-saved, custom-button, custom-button-mouse)
15 (custom-button-pressed, custom-state, custom-comment-tag)
16 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
17 (custom-group-subtitle): Use new-style face specs.
18 (custom-invalid-face, custom-rogue-face, custom-modified-face)
19 (custom-set-face, custom-changed-face, custom-saved-face)
20 (custom-button-face, custom-button-pressed-face)
21 (custom-documentation-face, custom-state-face)
22 (custom-comment-face, custom-comment-tag-face)
23 (custom-variable-tag-face, custom-variable-button-face)
24 (custom-face-tag-face, custom-group-tag-face-1)
25 (custom-group-tag-face): Remove obsolete face alias.
26
27 * epa.el (epa-validity-high, epa-validity-medium)
28 (epa-validity-low, epa-mark, epa-field-name, epa-string)
29 (epa-field-name, epa-field-body):
30 * font-lock.el (font-lock-comment-face, font-lock-string-face)
31 (font-lock-keyword-face, font-lock-builtin-face)
32 (font-lock-function-name-face, font-lock-variable-name-face)
33 (font-lock-type-face, font-lock-constant-face):
34 * ido.el (ido-first-match, ido-only-match, ido-subdir)
35 (ido-virtual, ido-indicator, ido-incomplete-regexp):
36 * speedbar.el (speedbar-button-face, speedbar-file-face)
37 (speedbar-directory-face, speedbar-tag-face)
38 (speedbar-selected-face, speedbar-highlight-face)
39 (speedbar-separator-face):
40 * whitespace.el (whitespace-newline, whitespace-space)
41 (whitespace-hspace, whitespace-tab, whitespace-trailing)
42 (whitespace-line, whitespace-space-before-tab)
43 (whitespace-space-after-tab, whitespace-indentation)
44 (whitespace-empty):
45 * emulation/cua-base.el (cua-global-mark):
46 * eshell/em-prompt.el (eshell-prompt):
47 * net/newst-plainview.el (newsticker-new-item-face)
48 (newsticker-old-item-face, newsticker-immortal-item-face)
49 (newsticker-obsolete-item-face, newsticker-date-face)
50 (newsticker-statistics-face, newsticker-default-face):
51 * net/newst-reader.el (newsticker-feed-face)
52 (newsticker-extra-face, newsticker-enclosure-face):
53 * net/newst-treeview.el (newsticker-treeview-face)
54 (newsticker-treeview-new-face, newsticker-treeview-old-face)
55 (newsticker-treeview-immortal-face)
56 (newsticker-treeview-obsolete-face)
57 (newsticker-treeview-selection-face):
58 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
59 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
60 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
61 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
62 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
63 (nxml-outline-active-indicator, nxml-outline-ellipsis):
64 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
65 (mpuz-text):
66 * progmodes/vera-mode.el (vera-font-lock-number)
67 (vera-font-lock-function, vera-font-lock-interface):
68 * textmodes/table.el (table-cell): Use new-style face specs, and
69 don't use the old :bold and :italic attributes.
70
71 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
72 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
73 (ebrowse-member-class, ebrowse-progress): Likewise.
74 (ebrowse-tree-mark-face, ebrowse-root-class-face)
75 (ebrowse-file-name-face, ebrowse-default-face)
76 (ebrowse-member-attribute-face, ebrowse-member-class-face)
77 (ebrowse-progress-face): Remove obsolete faces.
78
79 * progmodes/flymake.el (flymake-errline, flymake-warnline):
80 Inherit from error and warning faces respectively.
81
82 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
83 Likewise.
84 (flyspell-incorrect-face, flyspell-duplicate-face): Remove
85 obsolete aliases.
86
03310646
MA
872012-06-08 Michael Albinus <michael.albinus@gmx.de>
88
89 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
90 Avoid infloop.
91
513749ee
SM
922012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * startup.el (argv, argi): Make lexically scoped.
95 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
96 * emacs-lisp/cl-macs.el: Use lexical-binding.
97 Rename cl-bind-* to cl--bind-*.
98 * files.el: Don't require `cl' since it doesn't use it.
99 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
100
595ef4ad
JB
1012012-06-08 Juanma Barranquero <lekktu@gmail.com>
102
103 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
104 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
105 instead of calling external sort utility.
106 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
107
e9f66fcb
EZ
1082012-06-08 Eli Zaretskii <eliz@gnu.org>
109
110 * descr-text.el (describe-char): Mention how to insert the
111 character, if the current input method doesn't support it.
112 See the discussion in this thread for the details:
113 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
114
3d10db47
SS
1152012-06-08 Sam Steingold <sds@gnu.org>
116
117 * bindings.el (global-map): Bind XF86Forward to next-buffer and
118 XF86Back to previous-buffer.
119 (minibuffer-local-map): Bind them to next-history-element and
120 previous-history-element respectively.
121 * help-mode.el (help-mode-map): Bind them to help-go-forward and
122 help-go-back respectively.
123 * info.el (Info-mode-map): Bind them to Info-history-forward and
124 Info-history-back respectively.
125 These are the keys next to Up on the ThinkPad keyboard.
126
de7e2b36
SM
1272012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
130 * emacs-lisp/cl-macs.el: Provide itself.
131 (cl--labels-convert-cache): New var.
132 (cl--labels-convert): New function.
133 (cl-flet, cl-labels): New implementation with new semantics, relying on
134 lexical-binding.
135 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
136 (cl-closure-vars, cl--function-convert-cache)
137 (cl--function-convert): Move from cl-macs.el.
138 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
139 rename by removing the "cl-" prefix.
140 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
141
6fa6c4ae
SM
1422012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
145 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
146 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
147 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
148 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
149 (cl-hash-table-count): Add old compatibility aliases.
150
151 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
152 Use macroexpand-all-environment instead.
153 (cl--old-macroexpand): New var.
154 (cl--sm-macroexpand): New function.
155 (cl-symbol-macrolet): Use it during macro expansion.
156 (cl--function-convert-cache): New var.
157 (cl--function-convert): New function, extracted from
158 cl-macroexpand-all.
159 (cl-lexical-let): Use it.
160
161 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
162 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
163 (cl-member): Remove old alias.
164
165 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
166 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
167 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
168 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
169 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
170 (cl-macroexpand-cmacs): Remove var.
171 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
172 Use macroexpand-all instead.
173
4dd1c416
SM
1742012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
177 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
178 (macroexp-copyable-p): New functions and macros.
179 * emacs-lisp/edebug.el (edebug-unwrap):
180 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
181 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
182 (pcase--let*): Remove.
183 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
184 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
185 macroexp-const-p instead.
186 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
187
188 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
189 instead of "cl-" for internal definitions. Use macroexp-const-p.
190 (cl-old-bc-file-form): Remove var.
191 (cl-const-exprs-p): Remove fun.
192 (cl-labels, cl-macrolet): Use backquote.
193 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
194 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
195 (cl-define-setf-expander): Rename from cl-define-setf-method.
196 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
197
198 * international/mule-cmds.el: Don't require CL.
199 (view-hello-file): Don't use `letf'.
200
ed8bd4d7
SM
2012012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
202
7287f2f3
SM
203 * tmm.el (tmm-prompt): Use string-prefix-p.
204 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
205 (tmm-add-prompt): Use minibuffer-completion-help.
206 (tmm-delete-map): Remove.
207
ed8bd4d7
SM
208 * subr.el (kbd): Make it its own function.
209
7b4cdbf4
SM
2102012-06-07 Stefan Merten <smerten@oekonux.de>
211
212 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
213 Silence compiler warnings. Fix versions.
ed8bd4d7 214 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 215 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 216 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
217 (rst-package-emacs-version-alist): Correct Emacs version to
218 represent major merge with upstream.
ed8bd4d7 219 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 220
2b48d721
GM
2212012-06-06 Glenn Morris <rgm@gnu.org>
222
223 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
224 Only print environment variables if set.
225
fa779ab0
SM
2262012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
229 (macroexp--cons): Rename from maybe-cons.
230 (macroexp--accumulate): Rename from macroexp-accumulate.
231 (macroexp--all-forms): Rename from macroexpand-all-forms.
232 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
233 (macroexp--expand-all): Rename from macroexpand-all-1.
234
628299e0
SS
2352012-06-06 Sam Steingold <sds@gnu.org>
236
237 * calendar/calendar.el (calendar-in-read-only-buffer):
238 Call `special-mode' to enable the standard read-only keybindings.
239
b7bb5838
SM
2402012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
241
242 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
243 with "loading" messages (bug#11635).
244
dfb308ba
MA
2452012-06-06 Michael Albinus <michael.albinus@gmx.de>
246
247 * files.el (enable-remote-dir-locals): New option.
248 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
249
0372ee92
MA
250 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
251 Ensure, that the temp directory is local.
252
253 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
254 `temporary-file-directory'.
255
eed0bb91
MA
256 * progmodes/python.el (python-send-region): Ensure, that the
257 temporary file is created also in the remote case.
258
7a58f64d
GM
2592012-06-06 Glenn Morris <rgm@gnu.org>
260
f7dd4e98
GM
261 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
262 (vc-rcs-update-changelog): Use it.
263
276d5f5d
GM
264 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
265
7a58f64d
GM
266 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
267 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
268 (vc-sccs-diff): Replace use of the external vcdiff script.
269
daed4003
GM
2702012-06-05 Glenn Morris <rgm@gnu.org>
271
272 * ledit.el: Move to obsolete/.
273
48c455c7
SS
2742012-06-05 Sam Steingold <sds@gnu.org>
275
276 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
277 patch (Bug#11140).
278
57a7d507
SM
2792012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
280
d32926ff
SM
281 * emacs-list/cust-print.el: Move to obsolete.
282
53aacf21
SM
283 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
284 compiler-macro expansion.
285
57a7d507
SM
286 Add native compiler-macro support.
287 * emacs-lisp/macroexp.el (macroexpand-all-1):
288 Support compiler-macros directly. Properly follow aliases and apply
289 the compiler macros more thoroughly.
290 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
291 macroexpand now properly follows aliases.
292 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
293 (cl-compiler-macroexpand): Use new prop.
294 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
295
296 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
297
51a5f9d8
MR
2982012-06-05 Martin Rudalics <rudalics@gmx.at>
299
300 * window.el (get-lru-window, get-mru-window, get-largest-window):
301 New argument NOT-SELECTED to avoid picking the selected window.
302 (window--display-buffer-1, window--display-buffer-2): Replace by
303 new function window--display-buffer
304 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
305 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
306 Use window--display-buffer.
51a5f9d8
MR
307 (display-buffer-use-some-window): Remove temporary dedication
308 hack by calling get-lru-window and get-largest-window with
309 NOT-SELECTED argument non-nil. Call window--display-buffer.
310
08f9f738
GM
3112012-06-05 Glenn Morris <rgm@gnu.org>
312
313 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
314 Replace external vcdiff script.
315
e364a2b7
SM
3162012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
317
318 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
319
041df390
CY
3202012-06-04 Chong Yidong <cyd@gnu.org>
321
e364a2b7
SM
322 * image.el (imagemagick-types-inhibit): Revert last change.
323 Add INFO and M.
47b36b94 324 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 325
7c1898a7
SM
3262012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * emacs-lisp/cl-lib.el: Rename from cl.el.
329 * emacs-lisp/cl.el: New compatibility file.
330 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
331 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
332 to obey the "cl-" prefix.
333 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
334
0c3461de
GM
3352012-06-03 Glenn Morris <rgm@gnu.org>
336
1e266c88
GM
337 * emacs-lisp/authors.el (authors-aliases): Addition.
338
0c3461de
GM
339 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
340 Fix :version.
341
d8a52e15
SM
3422012-06-03 Stefan Merten <smerten@oekonux.de>
343
344 * textmodes/rst.el: Add comments.
345 (rst-transition, rst-adornment): New faces.
346 (rst-adornment-faces-alist): Make default safe to reevaluate.
347 Fixes
348 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
349 Improve customization tags.
350 (rst-define-level-faces): Clarify meaning.
351
5205d6f6
CY
3522012-06-03 Chong Yidong <cyd@gnu.org>
353
354 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
355 (compilation-mode-line-run, compilation-mode-line-exit):
356 New faces.
5205d6f6
CY
357 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
358
757ee657
JD
3592012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
360
7c1898a7
SM
361 * progmodes/which-func.el (which-func-update-ediff-windows):
362 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 363
5f2c76c6
CY
3642012-06-03 Chong Yidong <cyd@gnu.org>
365
366 * bindings.el: Remove explicit help text from format-mode-line.
367 It is now supplied by mode-line-default-help-echo.
368 (mode-line-front-space, mode-line-end-spaces)
369 (mode-line-misc-info): New variables.
370 (mode-line-modes, mode-line-position): Move the default value to
371 the variable definition.
372 (mode-line-default-help-echo): New defcustom.
383f7350
CY
373 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
374 (mode-line-modified-help-echo): New functions.
375 (mode-line-mule-info, mode-line-modified): Use them.
376 (mode-line-eol-desc, propertized-buffer-identification):
377 Consistency fixes for help text.
cbe46e5f
CY
378 (mode-line-coding-system-map): Allow using mouse-3 to invoke
379 set-buffer-file-coding-system (Bug#289).
380 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 381
f2d6a3df
SM
3822012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * simple.el (execute-extended-command): Set real-this-command
385 (bug#11506).
386
37269466
CY
3872012-06-02 Chong Yidong <cyd@gnu.org>
388
389 Remove incorrect uses of "modeline" in comments, docstrings, and
390 function/variable names (Bug#10329).
391
392 * cus-edit.el (mode-line):
393 * dframe.el (dframe-mouse-hscroll):
394 * emacs-lisp/re-builder.el:
395 * emacs-lisp/easy-mmode.el (define-minor-mode):
396 * frame.el (set-frame-name):
397 * help.el (lookup-minor-mode-from-indicator):
398 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
399 * progmodes/cc-cmds.el (c-toggle-auto-newline)
400 (c-toggle-hungry-state):
401 * progmodes/antlr-mode.el (antlr-language-alist):
402 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
403 * progmodes/vhdl-mode.el (vhdl-mode):
404 * progmodes/which-func.el (which-func, which-func-cleanup-function):
405 * term/ns-win.el (ns-face-at-pos):
406 * term/sup-mouse.el (sup-mouse-report):
407 * textmodes/flyspell.el (flyspell-mode-line-string):
408 * textmodes/ispell.el (ispell-highlight-face):
409 * textmodes/reftex-global.el:
410 * vc/vc-arch.el (vc-arch-mode-line-string):
411 * vc/vc-cvs.el (vc-cvs-mode-line-string):
412 * vc/vc-git.el (vc-git-mode-line-string):
413 * vc/vc-hooks.el (vc-display-status)
414 (vc-default-mode-line-string):
415 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
416
417 * ansi-color.el (ansi-color-faces-vector): Change default faces.
418
419 * dired.el (dired-sort-set-mode-line): Rename from
420 dired-sort-set-modeline. All callers changed.
421
422 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
423 eshell-status-in-modeline.
424
425 * foldout.el (foldout-mode-line-string): Rename from
426 foldout-modeline-string. All callers changed.
427 (foldout-update-mode-line): Rename from foldout-update-modeline.
428
429 * subr.el (redraw-modeline): Make into obsolete alias.
430
431 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
432 timeclock-modeline-display. Make old name an alias.
433 (timeclock-update-mode-line): Likewise. All callers changed.
434 (timeclock-mode-line-display): No need to check before using
435 add-hook.
436 (timeclock-relative, timeclock-day-over-hook)
437 (timeclock-use-elapsed, timeclock-mode-string)
438 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
439
440 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
441 crisp-mode-modeline-string.
442
443 * play/solitaire.el (solitaire-build-mode-line): Rename from
444 solitaire-build-modeline. All callers changed.
445
446 * play/zone.el (zone-hiding-mode-line): Rename from
447 zone-hiding-modeline. All callers changed.
448 (zone): Remove unusued `modeline-hidden-level' property.
449
450 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
451 xscheme-modeline-initialize. All callers changed.
452
453 * strokes.el (strokes-lighter): Rename from
454 strokes-modeline-string.
455
456 * textmodes/sgml-mode.el (html-face-tag-alist)
457 (html-tag-face-alist): Use mode-line face instead of obsolete
458 alias modeline.
459
42152ee4
SM
4602012-06-02 Stefan Merten <smerten@oekonux.de>
461
462 * textmodes/rst.el: Always require `cl'.
4cf9b38d 463 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 464
95f520b5
CY
4652012-06-02 Chong Yidong <cyd@gnu.org>
466
467 * image.el (imagemagick-enabled-types): Rename from
468 imagemagick-types-enable. Add many more types.
469 (imagemagick-types-inhibit): Change default to nil.
470 (imagemagick-filter-types): Caller changed.
471
4a5f187a
SM
4722012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
473
03fef3e6
SM
474 * emacs-lisp/cl-macs.el: Use backquotes.
475 (cl-transform-function-property): Use eval-and-compile rather than
476 abusing `require'.
477 (defstruct): Use declare-function instead of with-no-warnings.
478
4a5f187a
SM
479 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
480 (byte-compile-output-docform): Re-add the print-circle bindings.
481 (byte-compile-fix-header): Use #$ just because it's shorter.
482 (byte-compile-output-file-form): Remove defun/defmacro.
483
bd56924f
MR
4842012-06-01 Martin Rudalics <rudalics@gmx.at>
485
486 * simple.el (choose-completion): Remove now obsolete binding for
487 owindow.
488
046e38ce
MA
4892012-06-01 Michael Albinus <michael.albinus@gmx.de>
490
491 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
492 in order to avoid "Stack overflow in regexp matcher".
493
32d72c2f
GM
4942012-05-31 Glenn Morris <rgm@gnu.org>
495
496 * image.el: For clarity, call imagemagick-register-types at
497 top-level, rather than relying on a custom :initialize.
498 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
499 (imagemagick-filter-types): New function. (Bug#7406)
500 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
501 If disabling support, remove elements altogether rather
502 than using an impossible regexp.
503 (imagemagick-types-inhibit): Give it the default init function.
504
dd41169b
SM
5052012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
506
4a5f187a
SM
507 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
508 Handle arbitrary file name lengths (Bug#11585).
dd41169b 509
efc00ab1 5102012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
511
512 * desktop.el (desktop-read): Clear previous and next buffers for
513 all windows and bury *Messages* buffer (bug#11556).
514
500fcedc
SM
5152012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 Add `declare' for `defun'. Align `defmacro's with it.
518 * emacs-lisp/easy-mmode.el (define-minor-mode)
519 (define-globalized-minor-mode): Don't autoload the var definitions.
520 * emacs-lisp/byte-run.el: Use lexical-binding.
521 (defun-declarations-alist, macro-declarations-alist): New vars.
522 (defmacro, defun): Use them.
523 (make-obsolete, define-obsolete-function-alias)
524 (make-obsolete-variable, define-obsolete-variable-alias):
525 Use `declare'.
526 (macro-declaration-function): Mark obsolete.
527 * emacs-lisp/autoload.el: Use lexical-binding.
528 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
529
6e8a1786
AM
5302012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
531
532 * textmodes/ispell.el (ispell-with-no-warnings):
533 Define as a macro.
500fcedc
SM
534 (ispell-kill-ispell, ispell-change-dictionary):
535 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
536 `interactive-p'.
537
61b108cc
SM
5382012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
541 (macro-declaration-function): Move var from C code.
542 (macro-declaration-function): Define function with defalias.
543 * emacs-lisp/macroexp.el (macroexpand-all-1):
544 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
545 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
546 defun/defmacro any more.
547 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
548 Provide fallback for unknown arglist.
549 (byte-compile-arglist-warn): Change calling convention.
550 (byte-compile-output-file-form): Move print-vars binding.
551 (byte-compile-output-docform): Simplify accordingly.
552 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
553 (byte-compile-defmacro-declaration): Remove.
554 (byte-compile-file-form-defmumble): Generalize to defalias.
555 (byte-compile-output-as-comment): Return byte-positions.
556 Simplify callers accordingly.
557 (byte-compile-lambda): Use `assert'.
558 (byte-compile-defun, byte-compile-defmacro): Remove.
559 (byte-compile-file-form-defalias):
560 Use byte-compile-file-form-defmumble.
561 (byte-compile-defalias-warn): Remove.
562
6d3f7c2f
SM
5632012-05-29 Stefan Merten <smerten@oekonux.de>
564
565 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 566 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
567
568 (rst-mode-abbrev-table): Merge definition.
569 (rst-mode): Make sure `font-lock-defaults' is buffer local.
570 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
571
6dbaa1c7
UJ
5722012-05-29 Ulf Jasper <ulf.jasper@web.de>
573
574 * calendar/icalendar.el
575 (icalendar-export-region): Export UID properly.
576
5772012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
578 * calendar/icalendar.el (icalendar-import-format):
579 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
580 (icalendar-import-format-uid): New.
581 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
582 Export UID.
583
6876a58d
SM
5842012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
587 different alternative patterns.
588 (pcase-codegen): Be more careful to preserve identity.
589 (pcase--u1): Don't forget to mark vars as used.
590
591 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
592 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
593 (byte-compile-from-buffer): ...rather than here.
594
595 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
596 functions from byte-compile-function-environment.
597
46b7967e
TN
5982012-05-29 Troels Nielsen <bn.troels@gmail.com>
599
600 * window.el (window-deletable-p): Avoid deleting the root window
601 of a frame with an active minibuffer.
602
69d565e2
MR
6032012-05-29 Martin Rudalics <rudalics@gmx.at>
604
605 * simple.el (choose-completion): Use quit-window (Bug#11567).
606
a149fa51
CY
6072012-05-29 Chong Yidong <cyd@gnu.org>
608
609 * whitespace.el (whitespace-cleanup): Fix usage of
610 whitespace-empty-at-bob-regexp (Bug#11492).
611
2b311310
AH
6122012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
613
614 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
615 revert (Bug#11488).
616
b9cb2387
JL
6172012-05-29 Juri Linkov <juri@jurta.org>
618
619 * isearch.el (isearch-mode-map): Bind `M-s _' to
620 `isearch-toggle-symbol'. Bind `M-s c' to
621 `isearch-toggle-case-fold'.
622 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
623 (isearch-forward): Add `M-s _' to the docstring.
624 (isearch-forward-symbol, isearch-toggle-case-fold)
625 (isearch-symbol-regexp): New functions. (Bug#11381)
626
d5e61c1c
JL
6272012-05-29 Juri Linkov <juri@jurta.org>
628
629 * isearch.el (isearch-word): Add docstring. (Bug#11381)
630 (isearch-occur, isearch-search-and-update): If `isearch-word' is
631 a function, call it to get the regexp.
632 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
633 property `isearch-message-prefix' instead of the string "word ".
634 (isearch-search-fun-default): For the case of `isearch-word',
635 return a lambda that calls re-search-forward/re-search-backward
636 with a regexp returned by `word-search-regexp' or by the function
637 in `isearch-word'.
638
8cbd80f7
JL
6392012-05-29 Juri Linkov <juri@jurta.org>
640
641 * isearch.el (isearch-search-fun-default): New function.
642 (isearch-search-fun): Move default part to the new function
643 `isearch-search-fun-default'.
644 (isearch-search-fun-function): Set the default value to
645 `isearch-search-fun-default'. (Bug#11381)
646
647 * comint.el (comint-history-isearch-end):
648 Use `isearch-search-fun-default'.
649 (comint-history-isearch-search): Use `isearch-search-fun-default'
650 and remove spacial case for `isearch-word'.
651 (comint-history-isearch-wrap): Remove spacial case for
652 `isearch-word'.
653
654 * hexl.el (hexl-isearch-search-function):
655 Use `isearch-search-fun-default'.
656
657 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
658 Use `word-search-regexp' for `isearch-word'.
659
660 * misearch.el (multi-isearch-search-fun):
661 Use `isearch-search-fun-default'.
662
663 * simple.el (minibuffer-history-isearch-search):
664 Use `isearch-search-fun-default' and remove spacial case for
665 `isearch-word'.
666 (minibuffer-history-isearch-wrap): Remove spacial case for
667 `isearch-word'.
668
669 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
670 Remove spacial case for `isearch-word'.
671 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
672
85c8c5b6
AM
6732012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
674
675 Decrease XEmacs incompatibilities.
676 * textmodes/flyspell.el (flyspell-check-pre-word-p):
677 Use `string-match'.
678 (flyspell-delete-region-overlays): Use alternative definition for
679 XEmacs.
680 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
681 (flyspell-word): Use `process-kill-without-query' if XEmacs.
682 (flyspell-mode-on): Use `interactive-p' if XEmacs.
683 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
684 `define-obsolete-face-alias' under XEmacs, but old method.
685
686 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
687 `with-no-warnings' definition or Emacs alias.
688 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
689 (ispell-word): Do not use `region-p' if XEmacs.
690
8cab9efc
AM
6912012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
692
693 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
694 Check for `ispell-dictionary-base-alist' instead of full
695 `ispell-dictionary-alist'.
696 (ispell-init-process): Show spellchecker when starting new Ispell
697 process.
698
fda91268
RZ
6992012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
702 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
703
694ea8e3
JB
7042012-05-27 Juanma Barranquero <lekktu@gmail.com>
705
706 * version.el (motif-version-string, gtk-version-string)
707 (ns-version-string): Declare.
708
e4d4f539
JL
7092012-05-27 Juri Linkov <juri@jurta.org>
710
711 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
712 after the `eval-defun-1' specialcaseing
713 like in `edebug-eval-defun' (bug#10181).
714
715 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
716 like in `eval-defun-1'.
717
33017faf 7182012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 719
fda91268
RZ
720 * mail/sendmail.el (mail-yank-region):
721 Recognize rmail-yank-current-message in addition to insert-buffer.
722 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
723 a *mail* buffer created through rmail-start-mail with sendmail as
724 mail-user-agent.
725
33017faf
GM
7262012-05-27 Chong Yidong <cyd@gnu.org>
727
728 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
729 Default to 256 (Bug#11267).
730
731 * help.el (describe-mode): Doc fix.
732
04188bb9
GM
7332012-05-26 Glenn Morris <rgm@gnu.org>
734
38264cc9
GM
735 * w32-fns.el (w32-init-info): Remove.
736 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
737
eb7afdad
GM
738 * info.el (info-initialize): For self-contained NS builds, put the
739 included info/ directory at the front. (Bug#2791)
740
04188bb9
GM
741 * paths.el (Info-default-directory-list): Make it a defcustom,
742 mainly so that we can use custom-initialize-delay.
743
a179e3f7
SM
7442012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
745
43416392
SM
746 * subr.el (buffer-has-markers-at): Mark obsolete.
747
a179e3f7 748 * subr.el (lambda): Use declare.
43416392 749
a179e3f7
SM
750 * emacs-lisp/lisp-mode.el (lambda):
751 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
752
34a008d9
AH
7532012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
754
755 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
756
0a3b289f
GM
7572012-05-26 Glenn Morris <rgm@gnu.org>
758
759 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
760
758c81e8
GM
7612012-05-25 Glenn Morris <rgm@gnu.org>
762
f9f334f0
GM
763 * paths.el: Remove no-byte-compile.
764 * loadup.el: No need to load paths.el uncompiled.
765
87eb79c2
GM
766 * image.el (imagemagick-types-inhibit): Doc fix.
767
758c81e8
GM
768 * version.el: Remove no-byte-compile and associated formatting.
769 * loadup.el: No need to load version.el uncompiled. AFAICS, this
770 is ancient code from when there was an "inc-vers.el".
771
e7e85dc0
SM
7722012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * progmodes/gdb-mi.el: Minor style changes.
775 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
776 Turn into minor modes.
777 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
778 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
779 (gdb-shell): Remove unneeded let-binding.
780 (gdb-get-many-fields): Eliminate O(n²) behavior.
781
f31237a4
EZ
7822012-05-25 Eli Zaretskii <eliz@gnu.org>
783
784 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
785 platforms that don't link in fontset.c.
786
bc1b21bb
JL
7872012-05-25 Juri Linkov <juri@jurta.org>
788
789 Use the same diff color scheme as in modern VCSes (bug#10181).
790
791 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
792 to avoid confusion with `diff-added' that now uses green colors.
793 (diff-removed): Use shades of red.
794 (diff-added): Use shades of green.
795 (diff-changed): Leave just the yellow color.
796 (diff-use-changed-face): New variable.
797 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
798 how to highlight context diff changes.
799 (diff-refine-change): Use shades of yellow.
800 (diff-refine-removed): New face that uses shades of red.
801 (diff-refine-added): New face that uses shades of green.
802 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
803 `diff-refine-removed' in the call to `smerge-refine-subst'
804 depending on the value of `diff-use-changed-face'.
805
806 * vc/smerge-mode.el (smerge-mine): Use shades of red.
807 (smerge-other): Use shades of green.
808 (smerge-base): Use shades of yellow.
809 (smerge-refined-change): Empty face.
810 (smerge-refined-removed): New face that uses shades of red.
811 (smerge-refined-added): New face that uses shades of green.
812 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
813 args `props-r' and `props-a', and use them. Doc fix.
814 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
815 on its value use different faces `smerge-refined-change',
816 `smerge-refined-removed', `smerge-refined-added' in the call to
817 `smerge-refine-subst'.
818
819 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
820 Add face condition `min-colors 88' with shades of red.
821 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
822 `min-colors 88' with shades of green.
823 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
824 `min-colors 88' with shades of yellow.
825
6df9112c
GM
8262012-05-24 Glenn Morris <rgm@gnu.org>
827
ead5edc0
GM
828 * paths.el (prune-directory-list, remote-shell-program): Move to...
829 * files.el (prune-directory-list, remote-shell-program): ...here.
830 For the latter, delay initialization, prefer ssh, just search PATH.
831
f18b81e6
GM
832 * paths.el (term-file-prefix): Move to faces.el (the only user).
833 * faces.el (term-file-prefix): Move here, make it a defcustom.
834
ee2f89a6
GM
835 * paths.el (news-directory, news-path, news-inews-program):
836 Move to gnus/nnspool.el.
61a583ca 837
f8815e4c
GM
838 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
839
c8f3b42c
GM
840 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
841 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
842 Make the latter a defcustom, with a delayed initialization.
843
6df9112c
GM
844 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
845 These were deleted from Gnus itself late 2010.
846
5dadff36
JB
8472012-05-22 Juanma Barranquero <lekktu@gmail.com>
848
9e1701c6
JB
849 * progmodes/which-func.el (which-func-ff-hook):
850 Check against user-error, not error.
851
bd7239f5 852 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
853 cl-specs.el, which no longer exists.
854
3290526d
GM
8552012-05-22 Glenn Morris <rgm@gnu.org>
856
857 * info.el (info-emacs-bug): New command.
858 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
859 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
860
ff0c3cfb
GM
8612012-05-21 Glenn Morris <rgm@gnu.org>
862
863 * makefile.w32-in (update-subdirs-SH):
864 * Makefile.in (update-subdirs): Update for moved update-subdirs.
865
5814f126
SM
8662012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
867
a52c0aa0
SM
868 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
869
5814f126
SM
870 * progmodes/compile.el (compilation-error-regexp-alist-alist):
871 Simplify Maven regexp, and make sure the file can't start with a space
872 (bug#11517).
873
b847032c
GM
8742012-05-21 Glenn Morris <rgm@gnu.org>
875
876 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
877 Scrap superfluous subshells.
878
3858bfe7
SM
8792012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
882 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
883
d14b0029
JB
8842012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
885
886 * calc/calc.el (calc-ensure-consistent-units): New variable.
887
a52c0aa0
SM
888 * calc/calc-units.el (math-consistent-units-p)
889 (math-check-unit-consistency): New functions.
890 (calc-quick-units, calc-convert-units):
891 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
892 is non-nil.
d14b0029
JB
893 (calc-extract-units): Fix typo.
894
60c4db3a
SM
8952012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
896
77f3b62e
SM
897 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
898
60c4db3a
SM
899 * textmodes/flyspell.el: Commenting style, plus code simplifications.
900 (flyspell-default-deplacement-commands): Don't spell check after
901 repeated window/frame switches (e.g. triggered by mouse-movement).
902 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
903 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
904 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
905 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
906 Remove unused vars.
907 (flyspell-get-casechars, flyspell-get-not-casechars):
908 Simplify; Don't bother removing a ] just to add it back.
909 * textmodes/ispell.el (ispell-program-name): Use executable-find.
910
b1a10716
RS
9112012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
912
913 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
914 New functions.
bd7239f5 915 (math-function-table): Add support for more C functions.
b1a10716 916
3f1b25b5
AM
9172012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
918
919 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
920 (flyspell-debug-signal-word-checked): Protect delay handling for
921 otherchars against empty otherchars.
922
b581bb5c
SM
9232012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
926 their respective macro declarations.
927 * skeleton.el (define-skeleton):
928 * progmodes/compile.el (define-compilation-mode):
929 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
930 (define-ibuffer-filter):
931 * emacs-lisp/generic.el (define-generic-mode):
932 * emacs-lisp/easy-mmode.el (define-minor-mode)
933 (define-globalized-minor-mode):
934 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
935 * emacs-lisp/byte-run.el (defsubst):
936 * custom.el (deftheme): Add doc-string metadata.
937
70b8ef8f
SM
9382012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
941
b1198e17
SM
9422012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
943
9abdc45d
SM
944 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
945
b1198e17
SM
946 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
947 * emacs-lisp/cl-macs.el: Idem.
948 * emacs-lisp/cl-specs.el: Remove.
949
4735906a
SM
9502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 Minor renaming of internal CL functions and variables.
953 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
954 (cl--position): Rename from cl-position.
955 (cl--delete-duplicates): Rename from cl-delete-duplicates.
956 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
957 (cl--random-state): Rename from *random-state*.
958
ac348012
SM
9592012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
962 parens around the arg list (bug#11499).
963
a0a79cde
JL
9642012-05-17 Juri Linkov <juri@jurta.org>
965
966 * isearch.el (word-search-regexp, word-search-backward)
967 (word-search-forward, word-search-backward-lax)
968 (word-search-forward-lax): Move functions from search.c
969 (bug#10145, bug#11381).
970
65034a51
AM
9712012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
972
973 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
974 (flyspell-debug-signal-word-checked): Delay for otherchars as for
975 normal word components.
976
1a72a195
SM
9772012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
978
979 * minibuffer.el (completion--sifn-requote): Fix last change.
980 (minibuffer-local-must-match-filename-map):
981 Move define-obsolete-variable-alias before its var.
982
fdb058c2
SM
9832012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
984
c41045e6
SM
985 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
986
036dfb8b
SM
987 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
988 behavior.
989 (completion--string-equal-p): New function.
990 (completion--twq-all): Use it to get better assertion failure data.
991
2473256d
SM
992 Only handle ".." and '..' quoting in shell-mode (bug#11466).
993 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
994 (shell--requote-argument): New functions.
995 (shell-completion-vars): Use them.
996 (shell--parse-pcomplete-arguments): Rename from
997 shell-parse-pcomplete-arguments.
998 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
999 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1000 Obey comint-file-name-quote-list.
1001
fdb058c2
SM
1002 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1003 (smie-indent-keyword): Use it.
1004
51fa99f1
SM
10052012-05-14 Stefan Merten <smerten@oekonux.de>
1006
1007 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1008
e18afed7 10092012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1010
1011 * net/rlogin.el (rlogin-mode-map): Fix last change.
1012
e18afed7 10132012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1014
1015 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1016 the following \r\n using a single `process-send-string', since the
1017 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1018 with two `process-send-string's (Bug#11444).
8633b1f4 1019
e18afed7 10202012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1021
fdb058c2
SM
1022 * shell.el (shell-parse-pcomplete-arguments):
1023 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1024
2d21d7f6
WJ
10252012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1026
e18afed7 1027 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1028 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1029 (image-transform-width, image-transform-fit-width): New functions.
1030 (image-transform-properties): Use them.
1031 (image-transform-check-size): New function.
1032 (image-toggle-display-image): Use it (for testing).
1033 (image-transform-set-rotation): Reduce angle mod 360.
1034 Delete obsolete comment.
1035
7102e6d0
WJ
10362012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1037
1038 * image-mode.el: Fix scaling (bug#11399).
1039 (image-transform-resize): Doc fix.
1040 (image-transform-properties): Default scale is 1 and height should
1041 be an integer.
1042
06bc5e6e
SM
10432012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
1044
1045 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1046 than hard-coding `car', to fix misbehavior when moving forward.
1047
0ae03b6a
CY
10482012-05-13 Chong Yidong <cyd@gnu.org>
1049
1050 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1051 (tabulated-list-entries, tabulated-list-padding)
1052 (tabulated-list-sort-key): Make permanent-local.
1053
1054 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1055 (electric-buffer-list): Put electric buffer menu
1056 command descriptions in this docstring, instead of the docstring
1057 of electric-buffer-menu-mode. Code cleanups.
1058 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1059 Electric-buffer-menu-mode.
1060 (electric-buffer-update-highlight): Minor code cleanup.
1061
205a7391
MA
10622012-05-13 Michael Albinus <michael.albinus@gmx.de>
1063
1064 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1065 (Bug#11447)
1066
e5bd0a28
SM
10672012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 Move define-obsolete-variable-alias before the var's definition.
1070 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1071 * tooltip.el (tooltip-hook):
1072 * textmodes/reftex-toc.el (reftex-toc-map):
1073 * textmodes/reftex-sel.el (reftex-select-label-map)
1074 (reftex-select-bib-map):
1075 * textmodes/reftex-index.el (reftex-index-map)
1076 (reftex-index-phrases-map):
1077 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1078 * progmodes/meta-mode.el (meta-mode-map):
1079 * novice.el (disabled-command-hook):
1080 * loadhist.el (unload-hook-features-list):
1081 * frame.el (blink-cursor):
1082 * files.el (find-file-not-found-hooks, write-file-hooks)
1083 (write-contents-hooks):
1084 * emulation/tpu-edt.el (GOLD-map):
1085 * emacs-lock.el (emacs-lock-from-exiting):
1086 * emacs-lisp/generic.el (generic-font-lock-defaults):
1087 * emacs-lisp/chart.el (chart-map):
1088 * dos-fns.el (register-name-alist):
1089 * dired-x.el (dired-omit-files-p):
1090 * desktop.el (desktop-enable):
1091 * cus-edit.el (custom-mode-hook):
1092 * buff-menu.el (buffer-menu-mode-hook):
1093 * bookmark.el (bookmark-read-annotation-text-func)
1094 (bookmark-exit-hooks):
1095 * allout.el (allout-mode-deactivate-hook)
1096 (allout-exposure-change-hook, allout-structure-added-hook)
1097 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1098 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1099 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1100 comes before the corresponding variable's definition.
1101
ac59c2f6
CY
11022012-05-12 Chong Yidong <cyd@gnu.org>
1103
1104 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1105 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1106 (Buffer-menu-mode-map): Bind it.
1107 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1108
dee6c9a3
SM
11092012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1110
2171cea5
SM
1111 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1112 (prolog-upper-case-string, prolog-lower-case-string)
1113 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1114 (prolog-use-smie, prolog-smie-grammar): New vars.
1115 (prolog-smie-forward-token, prolog-smie-backward-token)
1116 (prolog-smie-rules): New funs.
1117 (prolog-comment-indent): Remove.
1118 (prolog-mode-variables): Use default comment indentation instead.
1119 Setup SMIE.
1120 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1121 (prolog-mode): Don't call them any more.
1122 (prolog-electric-colon, prolog-electric-dash)
1123 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1124
aa0382bd
SM
1125 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1126
dbacb4bd
SM
1127 * minibuffer.el (completion--twq-all): Again, allow case differences.
1128
13bdd94c
SM
1129 * term.el: Move keymap initialization code to be more idiomatic.
1130 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1131 (term-terminal-menu): Move initialization into declaration.
1132 (term-escape-char): Let the user set it in her .emacs.
1133
ff46c759
SM
1134 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1135 Provide SMIE-based indentation (not enabled by default yet).
1136 (sh-mode-map): Don't bind electric keys.
1137 Use electric-pair-mode instead of skeleton-pair.
1138 (sh-assignment-regexp): Fit within 80 columns.
1139 (sh-indent-supported): Specify actual shell name instead of boolean.
1140 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1141 (sh-maybe-here-document): Use it. Make obsolete.
1142 (sh-electric-here-document-mode) New minor mode.
1143 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1144 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1145 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1146 (sh-smie-rc-grammar, sh-use-smie): New vars.
1147 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1148 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1149 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1150 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1151 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1152 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1153 (sh-set-shell): Use smie-setup if requested.
1154
dee6c9a3
SM
1155 * term.el (term-set-escape-char): Properly set term-escape-char.
1156 See http://stackoverflow.com/questions/10524656.
1157
9f9aa044
CY
11582012-05-10 Chong Yidong <cyd@gnu.org>
1159
1160 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1161 Use url-generic-parse-url, and handle host names and Windows
1162 filenames properly.
1163 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1164 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1165 URL schemes to work on.
1166 (ffap--toggle-read-only): New function.
1167 (ffap-read-only, ffap-read-only-other-window)
1168 (ffap-read-only-other-frame): Use it.
1169 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1170 necessary for ffap-url-unwrap-remote.
1171
836d29b3
DA
11722012-05-10 Dave Abrahams <dave@boostpro.com>
1173
1174 * cus-start.el (create-lockfiles): Add it.
1175
00fd78ed
CY
11762012-05-09 Chong Yidong <cyd@gnu.org>
1177
1178 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1179 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1180
666b903b 11812012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1182
1183 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1184
666b903b 11852012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1186
1187 * ansi-color.el (ansi-color-process-output): Check for validity of
1188 comint-last-output-start before using it. This avoids a bad
1189 interaction with gdb-mi's input/output buffer.
1190
666b903b 11912012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1192
1193 * files.el (dir-locals-read-from-file):
1194 Mention dir-locals in any error message.
1195
666b903b 11962012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1197
1198 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1199 package (Bug#11410).
1200
f677562b
CY
1201 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1202 variables into description.
1203
666b903b 12042012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1205
1206 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1207 shell-delimiter-argument-list (bug#11348).
1208 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1209
b499d8d0
JB
12102012-05-09 Juanma Barranquero <lekktu@gmail.com>
1211
8f6b6da8
JB
1212 * textmodes/rst.el: Silence byte-compiler warnings.
1213 (rst-re-alist, rst-reset-section-caches): Move around.
1214 (rst-re): Use `characterp', not `char-valid-p'.
1215 (font-lock-beg, font-lock-end): Declare.
1216
4824146a
JB
1217 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1218 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1219
b499d8d0
JB
1220 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1221
ad89bb83
GM
12222012-05-08 Glenn Morris <rgm@gnu.org>
1223
1224 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1225
8bba5a75
SM
12262012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1227
49ed9c8e
SM
1228 * vc/log-edit.el: Add GNU coding standards highlighting.
1229 (log-edit-font-lock-gnu-style)
1230 (log-edit-font-lock-gnu-keywords): New vars.
1231 (log-edit-font-lock-keywords): New fun.
1232 (log-edit-mode): Don't fold case in font-lock.
1233 (log-edit-font-lock-keywords): Do not assume case-folding.
1234
07d00b56
SM
1235 * imenu.el: Misc cleanup. Make docstrings out of comments.
1236 Use lexical-binding.
1237 (imenu--index-alist, imenu--last-menubar-index-alist)
1238 (imenu-menubar-modified-tick): Use defvar-local.
1239 (imenu--split-menu): Remove unused var.
1240 (imenu--cleanup-seen): Declare as global.
1241 (imenu--cleanup): Use dolist.
1242
8bba5a75
SM
1243 * subr.el (defvar-local): Add debug spec and doc-string position.
1244
5075bdb5
GM
12452012-05-08 Glenn Morris <rgm@gnu.org>
1246
c052c904
GM
1247 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1248 * language/english.el, language/georgian.el, language/greek.el:
1249 * language/japanese.el, language/khmer.el, language/korean.el:
1250 * language/lao.el, language/misc-lang.el, language/romanian.el:
1251 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1252 * language/thai.el, language/utf-8-lang.el:
1253 Remove no-byte-compile setting.
1254
5075bdb5
GM
1255 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1256
06f679a7
AH
12572012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1258
1259 * progmodes/make-mode.el (makefile-browse):
1260 Remove unnecessary interactive. (Bug#11324)
1261
03794570
GM
12622012-05-07 Glenn Morris <rgm@gnu.org>
1263
af8630f4
GM
1264 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1265
03794570
GM
1266 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1267
f0809a9d
SM
12682012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1269
28be5ce7
SM
1270 * loadup.el: Preload newcomment.el.
1271 * newcomment.el: Move autoload-only code to toplevel.
1272
f0809a9d
SM
1273 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1274 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1275 Handle new :right-align column property.
1276 (tabulated-list-print-col): Idem, plus use `display' text-property to
1277 try and preserve alignment for variable pitch fonts.
1278
1241b724
CY
12792012-05-07 Chong Yidong <cyd@gnu.org>
1280
1281 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1282 (tabulated-list-use-header-line): New var.
1283 (tabulated-list-init-header): Use it.
1284 (tabulated-list-print-fake-header): New function.
1285 (tabulated-list-print): Use it.
1286 (tabulated-list-sort-button-map): Add non-header-line commands.
1287 (tabulated-list-init-header): Add column name property to basic
1288 labels as well.
1289 (tabulated-list-col-sort): Handle non-header-line button case.
1290 (tabulated-list--sort-by-column-name): Fix a corner case.
1291
f0809a9d
SM
1292 * buff-menu.el (list-buffers--refresh):
1293 Handle Buffer-menu-use-header-line.
1241b724 1294
e5f9458f
CY
12952012-05-06 Chong Yidong <cyd@gnu.org>
1296
1297 * buff-menu.el: Convert to Tabulated List mode.
1298 (Buffer-menu-buffer+size-width): Make obsolete.
1299 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1300 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1301 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1302 documentation into docstring of buffer-menu.
1303 (Buffer-menu-toggle-files-only): Add an informative message.
1304 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1305 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1306 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1307 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1308 (Buffer-menu-execute, Buffer-menu-select)
1309 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1310 (Buffer-menu-bury): Use Tabulated List machinery.
1311 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1312 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1313 Delete.
e5f9458f
CY
1314 (list-buffers--refresh): New function.
1315 (list-buffers-noselect): Use it.
1316 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1317 (Buffer-menu--pretty-file-name): New helper functions.
1318
1319 * loadup.el: Preload tabulated-list.
1320
1321 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1322 tabulated-list-sort-column.
1323 (tabulated-list-init-header): Add the initial aligning space even
1324 if tabulated-list-padding is zero.
1325
e129292c
CS
13262012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1327
1328 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1329 whose cdr is not a cons cell correctly (bug#11038).
1330
6632d361
CY
13312012-05-06 Chong Yidong <cyd@gnu.org>
1332
e129292c
CS
1333 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1334 Accept additional plist in column descriptors.
6632d361
CY
1335 (tabulated-list-init-header): Obey it.
1336 (tabulated-list-get-entry): New function.
1337 (tabulated-list-put-tag): Use it. Use string-width instead of
1338 length.
1339 (tabulated-list--column-number): New function.
1340 (tabulated-list-print): Use it.
e129292c
CS
1341 (tabulated-list-print-col): New function.
1342 Set `tabulated-list-column-name' property on each column's text.
6632d361 1343 (tabulated-list-print-entry): Use it.
e129292c
CS
1344 (tabulated-list-delete-entry, tabulated-list-set-col):
1345 New functions.
6632d361
CY
1346 (tabulated-list-sort-column): New command (Bug#11337).
1347
3cc99f68
CY
1348 * buff-menu.el (list-buffers): Move C-x C-b binding from
1349 buff-menu.el to bindings.el.
1350
1351 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1352 :advertised-binding feature.
1353
52b61776
TN
13542012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1355
1356 * progmodes/compile.el (compilation-internal-error-properties):
1357 Calculate start position correctly when end-col is set but
1358 end-line is not (Bug#11382).
1359
ebfe2597
WJ
13602012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1361
1362 * man.el (Man-unindent): Use text-property-default-nonsticky to
1363 prevent untabify from inheriting face properties (Bug#11408).
1364
6d3f7c2f
SM
13652012-05-05 Stefan Merten <smerten@oekonux.de>
1366
1367 * textmodes/rst.el: Major merge with upstream development up to
1368 Docutils SVN r7399 / rst.el V1.2.1.
1369
1370 Clarify maintainership and authors.
1371
1372 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1373 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1374 (rst-official-version, rst-official-cvs-rev, rst-version)
1375 (rst-package-emacs-version-alist): New functions and variables
1376 for version information.
1377
1378 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1379 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1380 (rst-mode-syntax-table, rst-mode): New and corrected functions
1381 and variables representing reStructuredText features.
1382
1383 (rst-re): New function for reStructuredText regexes. Use in
1384 many places.
1385
1386 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1387 (rst-mode-map): Rebind keys.
1388
1389 (rst-mode-lazy, rst-font-lock-keywords)
1390 (rst-font-lock-extend-region)
1391 (rst-font-lock-extend-region-internal)
1392 (rst-font-lock-extend-region-extend)
1393 (rst-font-lock-find-unindented-line-limit)
1394 (rst-font-lock-find-unindented-line-match)
1395 (rst-adornment-level, rst-font-lock-adornment-level)
1396 (rst-font-lock-adornment-match)
1397 (rst-font-lock-handle-adornment-pre-match-form)
1398 (rst-font-lock-handle-adornment-matcher): Major revision of
1399 font-locking. Integrate with other code. Use `jit-lock-mode'.
1400
1401 (rst-preferred-adornments, rst-adjust-hook)
1402 (rst-new-adornment-down, rst-preferred-bullets)
1403 (rst-preferred-bullets, rst-indent, rst-indent-width)
1404 (rst-indent-field, rst-indent-literal-normal)
1405 (rst-indent-literal-minimized, rst-indent-comment): Change,
1406 extend and improve customization.
1407
1408 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1409 (rst-normalize-cursor-position, rst-get-decoration)
1410 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1411 (rst-rstrip, rst-toc-insert-find-delete-contents)
1412 (rst-shift-fill-region, rst-compute-bullet-tabs)
1413 (rst-debug-print-tabs, rst-debug-mark-found)
1414 (rst-shift-region-guts, rst-shift-region-right)
1415 (rst-shift-region-left, rst-use-char-classes)
1416 (rst-font-lock-keywords-function)
1417 (rst-font-lock-indentation-point)
1418 (rst-font-lock-find-unindented-line-begin)
1419 (rst-font-lock-find-unindented-line-end)
1420 (rst-font-lock-find-unindented-line)
1421 (rst-font-lock-adornment-point, rst-font-lock-level)
1422 (rst-adornment-level-alist): Remove functions and variables.
1423
1424 (rst-compare-adornments, rst-get-adornment-match)
1425 (rst-suggest-new-adornment, rst-get-adornments-around)
1426 (rst-adornment-complete-p, rst-get-next-adornment)
1427 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1428 (rst-straighten-adornments): Standardize function names to
1429 use "adornment" instead of "decoration". Correct callers.
1430 Similar standardizing in many places.
1431
1432 (rst-update-section, rst-adjust, rst-promote-region)
1433 (rst-enumerate-region, rst-bullet-list-region)
1434 (rst-repeat-last-character): Correct use of `interactive'.
1435
1436 (rst-classify-adornment, rst-find-all-adornments)
1437 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1438 (rst-find-leftmost-column, rst-repeat-last-character):
1439 Refactor functions.
1440
1441 (rst-find-title-line, rst-reset-section-caches)
1442 (rst-get-adornments-around, rst-adjust-adornment-work)
1443 (rst-arabic-to-roman, rst-roman-to-arabic)
1444 (rst-insert-list-pos, rst-insert-list-new-item)
1445 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1446 New functions.
1447
1448 (rst-all-sections, rst-section-hierarchy)
1449 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1450 New variables.
1451
1452 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1453 configuration instead of only buffer. Change where necessary.
1454
1455 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1456 (rst-shift-region, rst-adaptive-fill): New functions for
1457 indentation and filling.
1458
1459 (rst-comment-line-break, rst-comment-indent)
1460 (rst-comment-insert-comment, rst-comment-region)
1461 (rst-uncomment-region): New functions for handling comments.
1462
1463 (rst-compile): Quote shell arguments.
1464
1465 (rst-compile-pdf-preview, rst-compile-slides-preview):
1466 Delete temporary files after use.
1467
a43f98b3
GM
14682012-05-05 Glenn Morris <rgm@gnu.org>
1469
48176e8b
GM
1470 * calendar/cal-html.el: Optionally include holidays in the output.
1471 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1472 (cal-html-holidays): New option.
1473 (cal-html-css-default): Add holiday entry.
1474 (holiday-in-range): Autoload it.
1475 (cal-html-htmlify-entry): Add optional class argument.
1476 (cal-html-htmlify-list): Add optional holidays argument.
1477 (cal-html-insert-agenda-days): Include holidays in the output.
1478 (cal-html-one-month): Maybe include holidays.
1479
a43f98b3
GM
1480 * calendar/holidays.el (holiday-in-range):
1481 Move here from cal-tex-list-holidays.
1482 * calendar/cal-tex.el (cal-tex-list-holidays):
1483 Make it an obsolete alias for holiday-in-range. Update all callers.
1484
fef9d149 14852012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1486
1487 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1488 Nextstep.
1489
248da2f4
RW
14902012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1491
1492 * files.el (file-auto-mode-skip): New var.
1493 (set-auto-mode-1): Use it.
1494
f95e9344
SM
14952012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1496
df96ab1e
SM
1497 * repeat.el: Use lexical-binding.
1498 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1499 (repeat-undo-count): Remove.
1500 (repeat):
1501 * progmodes/octave-mod.el (octave-abbrev-start):
1502 * progmodes/f90.el (f90-abbrev-start):
1503 * face-remap.el (text-scale-adjust):
1504 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1505
5342bb06
SM
1506 * emacs-lisp/pcase.el (pcase--let*): New function.
1507 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1508 a bit more.
1509 (pcase--split-pred): Be more clever about ruling out overlap between
1510 a predicate and some constant pattern.
1511 (pcase--q1): Use `null' instead of (eq foo nil).
1512
f95e9344
SM
1513 * subr.el (setq-local, defvar-local): New macros.
1514 (kbd): Redefine as an alias.
1515 (with-selected-window): Leave unrelated frames alone.
1516 (set-temporary-overlay-map): New function.
1517
71873e2b
SM
15182012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * subr.el (user-error): New function.
1521 * window.el (switch-to-buffer):
1522 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1523 (smerge-match-conflict):
1524 * simple.el (previous-matching-history-element)
1525 (next-matching-history-element, goto-history-element, undo-more)
1526 (undo-start):
1527 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1528 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1529 (next-file, tags-loop-scan, list-tags, complete-tag):
1530 * progmodes/compile.el (compilation-loop):
1531 * mouse.el (mouse-minibuffer-check):
1532 * man.el (Man-bgproc-sentinel, Man-goto-page):
1533 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1534 (Info-history-forward, Info-follow-reference, Info-menu)
1535 (Info-extract-menu-item, Info-extract-menu-counting)
1536 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1537 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1538 (Info-next-reference, Info-prev-reference, Info-index)
1539 (Info-index-next, Info-follow-nearest-node)
1540 (Info-copy-current-node-name):
1541 * imenu.el (imenu--make-index-alist)
1542 (imenu-default-create-index-function, imenu-add-to-menubar):
1543 * files.el (basic-save-buffer, recover-file):
1544 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1545 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1546 (checkdoc-message-text, checkdoc-defun):
1547 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1548 * cus-edit.el (customize-changed-options, customize-rogue)
1549 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1550 (custom-variable-mark-to-reset-standard)
1551 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1552 (custom-file):
1553 * completion.el (check-completion-length):
1554 * comint.el (comint-search-arg)
1555 (comint-previous-matching-input-string-position)
1556 (comint-previous-matching-input)
1557 (comint-replace-by-expanded-history-before-point, comint-send-input)
1558 (comint-copy-old-input, comint-backward-matching-input)
1559 (comint-goto-process-mark, comint-set-process-mark):
1560 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1561 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1562
8a61ee22
SM
15632012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1564
66408d1e
SM
1565 * dabbrev.el (dabbrev--ignore-case-p): New function.
1566 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1567 Use it.
1568
8a61ee22
SM
1569 * files.el (automount-dir-prefix): Mark as obsolete.
1570
3c74813a
GM
15712012-05-04 Glenn Morris <rgm@gnu.org>
1572
1573 * patcomp.el, play/bruce.el: Move to obsolete/.
1574
0bfcf5c5
PE
15752012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1576
1577 Fix minor Y10k bugs.
1578 * arc-mode.el (archive-unixdate):
1579 * autoinsert.el (auto-insert-alist):
1580 * calc/calc-forms.el (math-this-year):
1581 * emacs-lisp/copyright.el (copyright-current-year)
1582 (copyright-update-year, copyright):
1583 * tar-mode.el (tar-clip-time-string):
1584 * time.el (display-time-update):
1585 Don't assume years have 4 digits.
1586
78f3273a
CY
15872012-05-04 Chong Yidong <cyd@gnu.org>
1588
1589 * dos-w32.el (file-name-buffer-file-type-alist)
1590 (direct-print-region-use-command-dot-com):
1591 * ffap.el (ffap-menu-regexp):
1592 * find-file.el (ff-special-constructs):
1593 * follow.el (follow-debug):
1594 * forms.el (forms--debug):
1595 * iswitchb.el (iswitchb-all-frames):
1596 * ido.el (ido-all-frames):
1597 * emacs-lisp/timer.el (timer-max-repeats):
1598 * mail/feedmail.el (feedmail-mail-send-hook)
1599 (feedmail-mail-send-hook-queued):
1600 * mail/footnote.el (footnote-signature-separator):
1601 * mail/mailabbrev.el (mail-alias-separator-string)
1602 (mail-abbrev-mode-regexp):
1603 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1604 * progmodes/idlwave.el (idlwave-libinfo-file)
1605 (idlwave-default-completion-case-is-down)
1606 (idlwave-library-routines): Convert defvars to defcustoms.
1607
1608 * mail/rmail.el (rmail-decode-mime-charset):
1609 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1610 (idlwave-shell-fix-inserted-breaks)
1611 (idlwave-shell-activate-alt-keybindings)
1612 (idlwave-shell-use-breakpoint-glyph):
1613 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1614
f7ae6719
SM
16152012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1618
47086495
WS
16192012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1620
1621 * progmodes/verilog-mode.el (font-lock-keywords):
1622 Fix mis-highligting auto. Reported by Craig Barner.
1623 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1624 defines from global name space. Reported by Dan Dever.
1625 (verilog-auto-reset, verilog-auto-reset-widths)
1626 (verilog-auto-tieoff): Support using unbased numbers for
1627 AUTORESET and AUTOTIEOFF.
1628 (verilog-submit-bug-report): Update variable list.
1629 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1630 parenthesis from not matching. Reported by Michael Rytting.
1631 (verilog-auto-template-lint): Fix hash error when linting modules
1632 with no used templates.
1633 (verilog-warn, verilog-warn-error)
1634 (verilog-warn-fatal): When non-interactive report multiple
1635 warnings before exiting. Suggested by Brad Dobbie.
1636 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1637 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1638 to report unused template errors. Reported by Brad Dobbie.
1639 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1640 nets, bug438. Reported by Vns Blore.
1641 (verilog-auto-inout-module, verilog-auto-reg)
1642 (verilog-read-decls, verilog-read-sub-decls-sig)
1643 (verilog-signals-edit-wire-reg, verilog-signals-with):
1644 Fix passing of Verilog data types in ANSI input/output ports
1645 such as "output logic" into the AUTOs. Special case "wire" and
1646 "reg" for backwards compatibility presuming Verilog 2001.
1647 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1648 (verilog-preprocess): Fix replication of preprocess output.
1649 Reported by Brad Dobbie.
1650 (verilog-auto-inst-interfaced-ports):
1651 Create verilog-auto-inst-interfaced-ports, bug429.
1652 Reported by Julian Gorfajn.
1653 (verilog-after-save-font-hook)
1654 (verilog-before-save-font-hook): New variable.
1655 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1656 (verilog-save-font-mods): Wrap disabling fontification, reported
1657 by David Rogoff.
1658 (verilog-do-indent, verilog-pretty-declarations-auto)
1659 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1660 Reported by Pierre-David Pfister.
1661 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1662 of class declarations, bug292. Reported by Kevin Heilman.
1663 (verilog-read-decls): Fix 'parameter type' not appearing in
1664 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1665 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1666 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1667 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1668 Reported by David Kravitz.
1669
16702012-05-03 Michael McNamara <mac@mail.brushroad.com>
1671
1672 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1673 assignment with tests in ifs and for loops.
1674 (verilog-extended-complete-re, verilog-complete-reg): Change so
1675 that DPI inport functions don't look like fuction declarations.
1676 (verilog-pretty-expr): Don't line up assignment
1677 operations to the test and increment in if and for loops
1678 (verilog-extended-complete-re, verilog-complete-reg): Change so
1679 that DPI inport functions don't look like fuction declarations
1680
2e51d4b5
KH
16812012-05-03 Kenichi Handa <handa@m17n.org>
1682
1683 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1684 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1685 (Bug#11282).
1686
2bd785a2
SM
16872012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * emacs-lisp/bytecomp.el
1690 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1691 since cconv.el might have introduced :fun-body, internal-make-closure,
1692 and friends for bytecomp to handle (bug#11391).
1693 * custom.el (defcustom): Avoid ((λ ..) ..).
1694
99d27583
SM
16952012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1698
55a71479
JB
16992012-05-02 Juanma Barranquero <lekktu@gmail.com>
1700
1701 * notifications.el (dbus-debug):
1702 * term/linux.el (gpm-mouse-enable):
1703 * term/screen.el (xterm-register-default-colors): Declare.
1704
7b97c764
CY
17052012-05-02 Chong Yidong <cyd@gnu.org>
1706
2bc356d7
CY
1707 * cus-start.el (gc-cons-percentage, exec-suffixes)
1708 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1709 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1710 (make-cursor-line-fully-visible, void-text-area-pointer)
1711 (font-list-limit): Add customization data.
1712
7b97c764
CY
1713 * allout.el (allout-exposure-change-functions)
1714 (allout-structure-added-functions)
1715 (allout-structure-deleted-functions)
1716 (allout-structure-shifted-functions): Rename abnormal hooks from
1717 *-hook, and convert to defcustoms.
5d3385a0
JB
1718 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1719 Convert to defcustoms.
7b97c764
CY
1720 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1721
1722 * allout-widgets.el: Hook callers changed.
1723
90207a15 17242012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1725
1726 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1727 the yanked message in preference to the default value of
1728 buffer-file-coding-system.
1729
90207a15 17302012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1731
5d3385a0
JB
1732 * window.el (display-buffer--action-function-custom-type):
1733 Fix entry.
d9558cad 1734
90207a15 17352012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1736
1737 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1738
d80ac57b
GM
17392012-05-01 Glenn Morris <rgm@gnu.org>
1740
976f7668
GM
1741 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1742
beb83b5a
GM
1743 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1744
d80ac57b
GM
1745 * cus-edit.el (custom-variable-documentation): Simplify with format.
1746
b593d6a9
AH
17472012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1748 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * simple.el (suggest-key-bindings, execute-extended-command):
1751 Move from keyboard.c.
1752
782fbf2a
CY
17532012-05-01 Chong Yidong <cyd@gnu.org>
1754
1755 * follow.el: Eliminate advice.
1756 (set-process-filter, process-filter, sit-for): Advice deleted.
1757 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1758 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1759 Vars deleted.
782fbf2a
CY
1760 (follow-auto): Use a :set function.
1761 (follow-mode): Rewritten. Don't advise process filters.
1762 (follow-switch-to-current-buffer-all, follow-scroll-up)
1763 (follow-scroll-down): Assume follow-mode is bound.
1764 (follow-comint-scroll-to-bottom)
1765 (follow-align-compilation-windows): New functions.
1766 (follow--window-sorter): New function.
1767 (follow-all-followers): Use it to explicitly sort windows by their
1768 positions; don't make assumptions about next-window order.
1769 (follow-windows-start-end, follow-delete-other-windows-and-split)
1770 (follow-calc-win-start): Doc fix.
1771 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1772 vertical-motion unnecessarily.
1773 (follow-adjust-window): New function.
1774 (follow-post-command-hook): Use it.
1775 (follow-call-set-process-filter, follow-call-process-filter)
1776 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1777 (follow-stop-intercept-process-output, follow-generic-filter):
1778 Functions deleted.
1779 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1780 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1781 New functions, replacing advice on scroll-bar-* commands.
87233a14 1782 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1783
1784 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1785 (comint-postoutput-scroll-to-bottom): Use it.
1786 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1787
290af740
GM
17882012-05-01 Glenn Morris <rgm@gnu.org>
1789
1790 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1791 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1792 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1793 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1794 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1795 Remove no-byte-compile setting.
1796
6eac8dc9
SM
17972012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1800 all-completions code to not return a number in the last cdr.
1801
9cc7819c
LL
18022012-04-30 Leo Liu <sdl.web@gmail.com>
1803
1804 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1805 read-only error.
1806
c93b886f
CY
18072012-04-29 Chong Yidong <cyd@gnu.org>
1808
1809 * follow.el (follow-calc-win-end): Rewrite to handle partial
1810 screen lines correctly (Bug#8390).
1811 (follow-avoid-tail-recenter): Minor cleanup.
1812
8b6c19f4
SM
18132012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 Avoid the obsolete `assoc' package.
1816 * speedbar.el (speedbar-refresh): Avoid adelete.
1817 (speedbar-file-lists): Simplify and avoid aput.
1818 * man.el (Man--sections, Man--refpages): New vars, replacing
1819 Man-sections-alist and Man-refpages-alist.
1820 (Man-build-section-alist, Man-build-references-alist):
1821 Use them; avoid aput.
1822 (Man--last-section, Man--last-refpage): New vars.
1823 (Man-follow-manual-reference): Use them.
1824 Use the `default' arg of completing-read.
1825 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1826
c5bb7569
CY
18272012-04-27 Chong Yidong <cyd@gnu.org>
1828
d1d2e2e8
CY
1829 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1830
15cd8efd
CY
1831 * startup.el (x-apply-session-resources): New function.
1832
1833 * term/ns-win.el (ns-initialize-window-system):
1834 * term/w32-win.el (w32-initialize-window-system):
1835 * term/x-win.el (x-initialize-window-system): Use it to properly
1836 set menu-bar-mode and other vars from X resources, even if the
1837 initial frame is not a window-system frame (Bug#2299).
1838
c5bb7569
CY
1839 * subr.el (read-key): Avoid running filter function when setting
1840 up temporary tool bar entries (Bug#9922).
1841
a8e7d6d7 18422012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1843
1844 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1845 (Bug#11344)
1846
a8e7d6d7 18472012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1848
1849 * select.el (xselect--encode-string): New function, split from
1850 xselect-convert-to-string.
1851 (xselect-convert-to-string): Use it.
1852 (xselect-convert-to-filename, xselect-convert-to-os)
1853 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1854 returned strings are properly encoded (Bug#11315).
1855
a8e7d6d7 18562012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1857
1858 * simple.el (delete-active-region): Move to killing custom group.
1859
a8e7d6d7 18602012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1861
1862 * progmodes/which-func.el (which-func-current): Quote %
1863 characters for mode-line processing.
1864
578c1d4b 18652012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1866
1867 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1868 reaching eob (Bug#11286).
1869
a8e7d6d7 18702012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1871
1872 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1873 (gdb): Make it buffer-local and init to zero.
1874 (gdb-control-commands-regexp): New variable.
1875 (gdb-send): Don't wrap in "-interpreter-exec console" if
1876 gdb-control-level is positive. Increment gdb-control-level
1877 whenever the command matches gdb-control-commands-regexp, and
1878 decrement it each time the command is "end". (Bug#11279)
1879
a8e7d6d7 18802012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1881
1882 * window.el (adjust-window-trailing-edge, enlarge-window)
1883 (shrink-window, window-resize):
1884 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1885 windows (Bug#11276).
1886
b3608390
CY
18872012-04-27 Chong Yidong <cyd@gnu.org>
1888
1889 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1890 fix "missing prefix" warning. All callers changed.
b3608390 1891
797e6e88
SM
18922012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1893
1894 * emacs-lisp/assoc.el: Move to obsolete/.
1895
e95a67dc
SM
18962012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1897
657c21e4 1898 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1899
1900 * term/ns-win.el (ns-define-service):
1901 * progmodes/pascal.el (pascal-goto-defun):
1902 * progmodes/js.el (js--read-tab):
1903 * progmodes/etags.el (tags-lazy-completion-table):
1904 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1905 * emacs-lisp/ewoc.el (ewoc--wrap):
1906 * emacs-lisp/assoc.el (aput, adelete, amake):
1907 * doc-view.el (doc-view-convert-current-doc):
1908 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1909
cb3e7ae0
CY
19102012-04-26 Chong Yidong <cyd@gnu.org>
1911
dce04f7f
CY
1912 * image.el (image-type-from-buffer): Only return supported image
1913 type (Bug#9045).
1914
cb3e7ae0
CY
1915 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1916 value, for symmetry with diff-end-of-hunk.
1917 (diff-split-hunk, diff-find-source-location)
1918 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1919 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1920 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1921 compute the relevant hunk or file properly (Bug#6005).
1922 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1923
0d42eb3e
SM
19242012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1925
1926 * vc/vc-mtn.el:
1927 * vc/vc-hg.el:
1928 * vc/vc-git.el:
1929 * vc/vc-dir.el:
1930 * vc/vc-cvs.el:
1931 * vc/vc-bzr.el:
1932 * vc/vc-arch.el:
1933 * vc/vc.el: Replace lexical-let by lexical-binding.
1934 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1935 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1936 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1937
f08ae1c9
CY
19382012-04-26 Chong Yidong <cyd@gnu.org>
1939
8b71081d
CY
1940 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1941 (diff-mode-shared-map): Bind it to / and [remap undo].
1942
f08ae1c9
CY
1943 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1944 (ediff-window-setup-function): Use it as the default, to set up
1945 windows based on whether the current frame is graphical (Bug#2138).
1946 (ediff-choose-window-setup-function-automatically): Make obsolete.
1947
1948 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1949
ef24141c
SM
19502012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1951
cc356a5d
SM
1952 * ffap.el: Remove old code for obsolete package.
1953 (ffap-complete-as-file-p): Remove.
1954
b4ff4f1f
SM
1955 Use completion-table-with-quoting for comint and pcomplete.
1956 * comint.el (comint--unquote&requote-argument)
1957 (comint--unquote-argument, comint--requote-argument): New functions.
1958 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1959 (comint-quote-filename): Use regexp-opt-charset.
1960 (comint--common-suffix, comint--common-quoted-suffix)
1961 (comint--table-subvert): Remove.
1962 (comint-unquote-function, comint-requote-function): New vars.
1963 (comint--complete-file-name-data): Use them with
1964 completion-table-with-quoting.
1965 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1966 * pcomplete.el (pcomplete-arg-quote-list)
1967 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1968 (pcomplete-unquote-argument-function): Default to non-nil.
1969 (pcomplete-unquote-argument): Simplify.
1970 (pcomplete--common-quoted-suffix): Remove.
1971 (pcomplete-requote-argument-function): New var.
1972 (pcomplete--common-suffix): New function.
1973 (pcomplete-completions-at-point): Use completion-table-with-quoting
1974 and completion-table-subvert.
1975
79c4eeb4
SM
1976 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1977 (minibuffer--double-dollars): Preserve properties.
1978 (completion--sifn-requote): New function.
1979 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1980
ef24141c
SM
1981 * minibuffer.el: Add support for completion of quoted/escaped data.
1982 (completion-table-with-quoting, completion-table-subvert): New funs.
1983 (completion--twq-try, completion--twq-all): New functions.
1984 (completion--nth-completion): New function.
1985 (completion-try-completion, completion-all-completions): Use it.
1986
784e7d6e
LL
19872012-04-25 Leo Liu <sdl.web@gmail.com>
1988
dd2ac746
SM
1989 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1990 Use compilation-message if available to find real filename.
784e7d6e 1991
07875ee7
CY
19922012-04-25 Chong Yidong <cyd@gnu.org>
1993
1994 * vc/diff-mode.el (diff-setup-whitespace): New function.
1995 (diff-mode): Use it.
1996
1997 * vc/diff.el (diff-sentinel):
1998 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1999 Whitespace mode variables based on diff style (Bug#8612).
2000
5055880d
LL
20012012-04-25 Leo Liu <sdl.web@gmail.com>
2002
daf75653
LL
2003 * progmodes/python.el (python-send-region): Add suffix .py to the
2004 temp file.
2005
5055880d
LL
2006 * files.el (auto-mode-alist): Use javascript-mode instead.
2007
db9b177b
AH
20082012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2009
ef24141c 2010 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2011
2012 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2013 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2014 references, see Bug#9.
ef24141c 2015 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2016 when receiving a fault reply.
ef24141c 2017 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2018
2019 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2020 (soap-inspect-simple-type): New function.
db9b177b 2021
ef24141c 2022 * soap-client.el (soap-simple-type): New struct.
db9b177b 2023 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2024 (soap-decode-basic-type, soap-encode-basic-type):
2025 support unsignedInt and double basic types.
db9b177b 2026 (soap-resolve-references-for-simple-type)
ef24141c
SM
2027 (soap-parse-simple-type, soap-encode-simple-type): New function.
2028 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2029
2030 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2031 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2032 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2033 the local name of "soapenc:Array".
2034 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2035 decoding integer, byte and anyURI xsd types.
2036
1fc6097b
CY
20372012-04-25 Chong Yidong <cyd@gnu.org>
2038
2039 * cus-edit.el (custom-buffer-create-internal): Update header text.
2040
afc6df87
EZ
20412012-04-25 Eli Zaretskii <eliz@gnu.org>
2042
2043 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2044 settings on 'system-type', not on 'window-system'. On MS-Windows,
2045 set interactive-mode on in GDB.
2046
dfbd787f
SM
20472012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2050 (ruby-syntax-propertize-regexp): Remove.
2051 (ruby-syntax-propertize-function): Split regexp into chunks.
2052 Match following code directly.
2053
85222d44
DG
20542012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2055
51a8ea2a
DG
2056 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2057 (ruby-syntax-propertize-regexp): New function.
2058 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2059 by a special keyword.
2060
85222d44
DG
2061 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2062 (ruby-syntax-general-delimiters-goto-beg)
2063 (ruby-syntax-propertize-general-delimiters): New functions.
2064 (ruby-syntax-propertize-function): Use them to handle GDL.
2065 (ruby-font-lock-keywords): Move old handling of GDL...
2066 (ruby-font-lock-syntactic-keywords): .. to here.
2067 (ruby-calculate-indent): Adjust indentation for GDL.
2068
b613912b
MA
20692012-04-24 Michael Albinus <michael.albinus@gmx.de>
2070
b5380639
MA
2071 * notifications.el (top): Remove unneeded declarations.
2072 (notifications-specification-version): Change to "1.2".
e43042fe 2073 (notifications-interface, notifications-notify-method)
b613912b
MA
2074 (notifications-close-notification-method): Fix docstring.
2075 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2076 (notifications-notify): Add :action-items, :resident and
2077 :transient hints. Change "image_data" to "image-data" and
2078 "image_path" to "image-path".
b613912b
MA
2079 (notifications-get-capabilities): New defun.
2080
257440aa
LL
20812012-04-24 Leo Liu <sdl.web@gmail.com>
2082
2083 * progmodes/python.el: Move hideshow setup to the end.
2084
b1bac16e
MR
20852012-04-24 Martin Rudalics <rudalics@gmx.at>
2086
2087 * window.el (handle-select-window): Clear echo area since this is
2088 no more done by read_char (Bug#11304).
2089
d81bd059
SM
20902012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2093 and `/ M' to filter-derived-mode.
2094 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2095 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2096 (ibuffer-mark-by-mode): Use default rather than initial-input.
2097 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2098
c4cf6d91
IA
20992012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2100
2101 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2102 (ibuffer-filter-by-derived-mode): New filter.
2103 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2104
7511ded8
CY
21052012-04-23 Andreas Politz <politza@fh-trier.de>
2106
2107 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2108
775c916b
CY
21092012-04-23 Chong Yidong <cyd@gnu.org>
2110
2111 * cus-edit.el (customize-apropos, customize-apropos-options):
2112 Disable matching of non-option variables (Bug#11176).
2113 (customize-option, customize-option-other-window)
2114 (customize-changed-options): Doc fix.
2115 (customize-apropos-options, customize-apropos-faces)
2116 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2117
2118 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2119 Fix word list splitting (Bug#11132).
46c71e23
CY
2120 (apropos-symbol, apropos-keybinding, apropos-label)
2121 (apropos-property, apropos-function-button)
2122 (apropos-variable-button, apropos-misc-button): New faces.
2123 (apropos-symbol-face, apropos-keybinding-face)
2124 (apropos-label-face, apropos-property-face, apropos-match-face):
2125 Variables removed (Bug#8396).
2126 (apropos-library-button, apropos-format-plist, apropos-print)
2127 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2128
2df41f9c
MA
21292012-04-23 Michael Albinus <michael.albinus@gmx.de>
2130
2131 * net/xesam.el (xesam-mode-map): Use let-bound map in
2132 initialization. (Bug#11292)
2133
da00640a
AM
21342012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2135
2136 Preserve ispell session localwords when switching back to
2137 original buffer.
2138
2139 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2140 variable to hold buffer session localwords.
2141 (ispell-kill-ispell): add option 'clear to delete session
2142 localwords.
2143 (ispell-command-loop, ispell-change-dictionary)
2144 (ispell-buffer-local-words): Preserve session localwords when
2145 needed.
2146
2147 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2148 Preserve session localwords when needed.
2149
f621ccf5
AM
21502012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2151
2152 * ispell.el (ispell-insert-word) Remove unneeded function using
2153 obsolete `translation-table-for-input'.
ef24141c
SM
2154 (ispell-word, ispell-process-line, ispell-complete-word):
2155 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2156
c2d1019e
CY
21572012-04-22 Chong Yidong <cyd@gnu.org>
2158
2159 * cus-edit.el (custom-variable-menu)
2160 (custom-variable-reset-saved, custom-face-menu)
2161 (custom-face-reset-saved): If there is no saved value, make the
2162 "reset-saved" operation bring back the default (Bug#9509).
2163 (custom-face-state): Properly detect themed faces.
2164
eeddc531
CY
2165 * faces.el (face-spec-set): Stop supporting deprecated form of
2166 third arg.
2167
dcbf5805
MA
21682012-04-22 Michael Albinus <michael.albinus@gmx.de>
2169
2170 Move functions from C to Lisp. Make non-blocking method calls
2171 the default. Implement further D-Bus standard interfaces.
2172
ef24141c
SM
2173 * net/dbus.el (dbus-message-internal): Declare function.
2174 Remove unneeded function declarations.
dcbf5805
MA
2175 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2176 (dbus-message-type-method-return, dbus-message-type-error)
2177 (dbus-message-type-signal): Declare variables. Remove local
2178 definitions.
2179 (dbus-interface-dbus, dbus-interface-peer)
2180 (dbus-interface-introspectable, dbus-interface-properties)
2181 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2182 Adapt docstring.
2183 (dbus-interface-objectmanager): New defconst.
2184 (dbus-call-method, dbus-call-method-asynchronously)
2185 (dbus-send-signal, dbus-method-return-internal)
2186 (dbus-method-error-internal, dbus-register-service)
2187 (dbus-register-signal, dbus-register-method): New defuns, moved
2188 from dbusbind.c
2189 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2190 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2191 New defuns.
dcbf5805
MA
2192 (dbus-call-method-non-blocking): Make it an obsolete function.
2193 (dbus-unregister-object, dbus-unregister-service)
2194 (dbus-handle-event, dbus-register-property)
2195 (dbus-property-handler): Obey the new structure of
2196 `bus-registered-objects'.
2197 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2198 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2199 Use `dbus-call-method'.
2200
cf20dee0
CY
22012012-04-22 Chong Yidong <cyd@gnu.org>
2202
2203 * cus-edit.el (custom-commands, custom-reset-menu)
2204 (Custom-reset-standard): Tweak labels.
2205 (custom-reset-button-menu): Change default to t.
2206 (custom-buffer-create-internal): For the custom-reset-button-menu
2207 case, put the revert button first.
2208 (custom-group-subtitle): New face.
2209 (custom-group-value-create): Align docstring to a specific column.
2210
2211 * wid-edit.el (widget-documentation-link-add): Don't handle
2212 indentation in this function.
2213 (widget-documentation-string-indent-to): New function.
2214 (widget-documentation-string-value-create): Use it.
2215
2216 * autorevert.el (auto-revert):
2217 * epg-config.el (epg):
2218 * ibuffer.el (ibuffer):
2219 * mpc.el (mpc):
2220 * ses.el (ses):
2221 * eshell/eshell.el (eshell):
2222 * net/ange-ftp.el (ange-ftp):
2223 * progmodes/ebnf2ps.el (postscript):
2224 * progmodes/flymake.el (flymake):
2225 * progmodes/prolog.el (prolog):
2226 * progmodes/verilog-mode.el (verilog-mode):
2227 * progmodes/which-func.el (which-func):
2228 * term/xterm.el (xterm):
2229 * textmodes/picture.el (picture):
2230 * textmodes/tildify.el (tildify):
2231 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2232 customization buffers.
2233
583e23bd
AM
22342012-04-22 Alan Mackenzie <acm@muc.de>
2235
2236 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2237 Adding a ) can hide the resulting (..) from searches. Fix it.
2238 Bound the backward search to the position of the existing (.
2239
7dd51bf1
JB
22402012-04-21 Juanma Barranquero <lekktu@gmail.com>
2241
2242 * progmodes/verilog-mode.el (verilog-mode): Check whether
2243 which-func-modes is t before adding verilog-mode.
2244 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2245
d64a438f
LL
22462012-04-21 Leo Liu <sdl.web@gmail.com>
2247
7dd51bf1 2248 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2249
081e8d65
MV
22502012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2251
2252 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2253 filling of the last column of a table (Bug#5635).
2254 (woman-find-next-control-line): New arg, specifying an additional
2255 regexp component for the control line.
2256 (woman2-roff-buffer): Use it.
2257 (woman-break-table): New function.
2258 (woman2-TS): Use it.
2259
22602012-04-21 Chong Yidong <cyd@gnu.org>
2261
2262 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2263 (woman-horizontal-escapes, woman-negative-vertical-space)
2264 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2265 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2266
ed571ccb
SM
22672012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * minibuffer.el (completion-file-name-table): Complete user names.
2270
39773899
LL
22712012-04-20 Leo Liu <sdl.web@gmail.com>
2272
2273 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2274 and pcase-let*.
2275
de6ff46d
CY
22762012-04-20 Chong Yidong <cyd@gnu.org>
2277
2278 * server.el (server-execute): Respect initial-buffer-choice if it
2279 is a string and there are no files to open (Bug#2825).
2280 (server-create-window-system-frame, server-create-tty-frame):
2281 Don't switch buffers here.
2d0e8e61
CY
2282 (server-process-filter): Only try to open a window system frame if
2283 compiled with graphical support (Bug#8314).
de6ff46d 2284
54071013
DN
22852012-04-20 Dan Nicolaescu <dann@gnu.org>
2286
2287 * battery.el (battery-echo-area-format): Display remaining time
2288 for sysfs backend too (Bug#11269).
2289 (battery-linux-sysfs): Fix conditional for the charge.
2290
f30d612a
CY
22912012-04-20 Chong Yidong <cyd@gnu.org>
2292
c07a4c0b 2293 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2294 (gdb-inferior-io--init-proc): New function.
2295 (gdb-init-1): Use it.
2296 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2297 responsible for allocating a new pty and hooking it to gdb when
2298 the old pty gets an EIO due to process exit.
2299 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2300 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2301 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2302
2116e93c
EZ
23032012-04-20 Eli Zaretskii <eliz@gnu.org>
2304
2305 * window.el (window-min-size, window-sizable, window-min-delta)
2306 (window-max-delta, window--resizable, window-resizable)
2307 (window-total-size, window-full-height-p, window-full-width-p)
2308 (window-in-direction, window--resize-mini-window, window-resize)
2309 (window--resize-child-windows-normal)
2310 (window--resize-child-windows, window--resize-siblings)
2311 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2312 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2313
c07a4c0b 23142012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2315
ef24141c
SM
2316 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2317 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2318 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2319 pty process (Bug#11273).
2320 (gdb-update): New arg to suppress talking to the gdb process.
2321 (gdb-done-or-error): Use it.
2322 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2323 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2324 sentinel not being called.
2325
2326 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2327
d02766ab
CY
2328 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2329
c07a4c0b 23302012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2331
2332 * net/network-stream.el (open-network-stream): Doc fix.
2333
c07a4c0b 23342012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2335
2336 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2337
c07a4c0b 23382012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2339
2340 Ensure searching for keywords is case sensitive.
2341
2342 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2343 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2344 (c-defun-name, c-mark-function, c-cpp-define-name)
2345 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2346 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2347
ef24141c
SM
2348 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2349 Bind case-fold-search to nil.
f0f6bc35 2350
c07a4c0b 23512012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2352
2353 * mail/sendmail.el (mail-bury): Call return action with the right
2354 Rmail buffer (Bug#11242).
2355
9a864fa2
CY
2356 * server.el (server-process-filter): Handle corner case where both
2357 tty and nowait options are present (Bug#11102).
2358
539aa513
EZ
23592012-04-20 Eli Zaretskii <eliz@gnu.org>
2360
2361 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2362 (top level): Put into the executable the ident-style '$Id:' tag on
2363 windows-nt as well.
539aa513 2364
cfc7d5da
SM
23652012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * electric.el (electric-indent-post-self-insert-function): Check that
2368 electric-indent-mode is enabled in current buffer.
2369
5b01685c
JB
23702012-04-19 Juanma Barranquero <lekktu@gmail.com>
2371
2372 * imenu.el (imenu-progress-message): Restore; it is "used" in
2373 erc/erc-imenu.el and net/snmp-mode.el.
2374
4d6769e1
JB
23752012-04-19 Juanma Barranquero <lekktu@gmail.com>
2376
2377 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2378 (mouse-avoidance-nudge-mouse): Remove unused binding.
2379
2380 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2381
2382 * descr-text.el (describe-char):
2383 * progmodes/python.el (python-describe-symbol):
2384 Don't call `toggle-read-only', set `buffer-read-only'.
2385
2386 * imenu.el (imenu-default-goto-function): Mark unused args.
2387 (imenu-progress-message): Remove obsolete macro; all callers changed.
2388
2389 * subr.el (keymap-canonicalize): Remove unused binding.
2390 (read-passwd): Mark unused arg.
2391
2392 * tutorial.el (tutorial--display-changes): Remove unused binding.
2393 (tutorial--save-tutorial-to): Remove unused variable.
2394
2395 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2396 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2397 (package-generate-autoloads, package-menu--generate)
2398 (package-menu--find-upgrades): Remove unused bindings.
2399
2400 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2401 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2402 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2403 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2404 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2405 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2406 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2407 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2408 (cua-delete-char-rectangle): Mark unused args.
2409 (cua-align-rectangle): Remove unused binding.
2410
2411 * mail/rmail.el (compilation--message->loc)
2412 (epa--find-coding-system-for-mime-charset): Declare.
2413
2414 * net/dbus.el (dbus-register-service): Declare.
2415 (dbus-name-owner-changed-handler): Remove unused binding.
2416
2417 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2418 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2419 (nxml-scan-backward-within): Mark unused arg.
2420 (nxml-dynamic-markup-word): Remove unused binding.
2421
2422 * mouse.el (mouse-menu-major-mode-map):
2423 * emacs-lisp/authors.el (authors-scan-change-log)
2424 (authors-add-to-author-list):
2425 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2426 * emacs-lisp/smie.el (smie-auto-fill):
2427 * mail/sendmail.el (mail-bury):
2428 * mail/unrmail.el (unrmail):
2429 * net/tls.el (open-tls-stream):
2430 * textmodes/picture.el (picture-mouse-set-point):
2431 Remove unused bindings.
2432
8c8fc5df
MA
24332012-04-19 Michael Albinus <michael.albinus@gmx.de>
2434
2435 * net/tramp.el (tramp-action-password): Let-bind
2436 `enable-recursive-minibuffers' to t.
2437
a77b0ac9
SS
24382012-04-18 Sam Steingold <sds@gnu.org>
2439
2440 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2441 instead of 'string to accommodate values like [f11].
2442 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2443 * progmodes/gdb-mi.el: Likewise.
2444
12a106a9
LL
24452012-04-18 Leo Liu <sdl.web@gmail.com>
2446
2447 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2448 current buffer.
2449 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2450 LOCAL is nil.
2451
bc6494ef
CY
24522012-04-18 Chong Yidong <cyd@gnu.org>
2453
2454 * simple.el (line-move): Use forward-line if in batch mode
2455 (Bug#11053).
2456
c09c46b2
CS
24572012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2458
2459 * files.el (after-find-file): Do not try to add a final newline if
2460 the buffer is read-only (Bug#11156).
2461
5f6530ea
RS
24622012-04-17 Richard Stallman <rms@gnu.org>
2463
2464 * mail/rmail.el (rmail-start-mail):
2465 Pass (rmail-mail-return...) for the return-action.
2466 Pass (rmail-yank-current-message...) for the yank-action.
2467 (rmail-yank-current-message): New function.
2468 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2469 (rmail-reply): Likewise.
2470 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2471
2472 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2473 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2474 buffer, not newbuf.
2475
197b6f3c
JB
24762012-04-17 Juanma Barranquero <lekktu@gmail.com>
2477
2478 * server.el (server-ensure-safe-dir): Simplify.
2479
2311d8e5 24802012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2481
2311d8e5
GM
2482 * emacs-lisp/smie.el: Provide smarter auto-filling.
2483 (smie-auto-fill): New function.
2484 (smie-setup): Use it.
98fb480e 2485
2311d8e5
GM
2486 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2487
24882012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2489
2490 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2491 (comment-indent): Use it.
2492
2311d8e5 24932012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2494
2495 * ses.el: The overall change is to add cell renaming, that is
2496 setting fancy names for cell symbols other than name matching
2497 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2498 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2499 (ses-create-cell-variable): New defun.
2311d8e5 2500 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2501 (ses-relocate-formula): Relocate formulas only for cells the
2502 symbols of which are not renamed, i.e. symbols whose names do not
2503 match regexp "\\`[A-Z]+[0-9]+\\'".
2504 (ses-relocate-all): Relocate values only for cells the symbols of
2505 which are not renamed.
2506 (ses-load): Create cells variables as the (ses-cell ...) are read,
2507 in order to check row col consistency with cell symbol name only
2508 for cells that are not renamed.
2509 (ses-replace-name-in-formula): New defun.
2510 (ses-rename-cell): New defun.
4bdf2ad2 2511
fc72b15c
PO
25122012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2513
2514 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2515 New option (bug#11118).
2516 (perl-calculate-indent): Respect it.
2517
12e10e61
GM
25182012-04-17 Glenn Morris <rgm@gnu.org>
2519
2520 * dired-aux.el (dired-mark-read-string): Doc fix.
2521
30009afd
DA
25222012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2523
2524 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2525 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2526
41f03f4d
GM
25272012-04-17 Glenn Morris <rgm@gnu.org>
2528
2529 * mouse.el (mouse-drag-track):
2530 * speedbar.el (speedbar-frame-mode):
2531 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2532
f45f90f3
LL
25332012-04-16 Leo Liu <sdl.web@gmail.com>
2534
2535 * progmodes/python.el: Trivial cleanup.
2536
94ee8db5
GM
25372012-04-16 Glenn Morris <rgm@gnu.org>
2538
121b8917
GM
2539 * vc/vc.el (vc-string-prefix-p):
2540 * vc/pcvs-util.el (cvs-string-prefix-p):
2541 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2542 * mpc.el (mpc-string-prefix-p):
2543 Make all of these into obsolete aliases for string-prefix-p.
2544 Update callers.
2545 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2546
1197ecfa
GM
2547 * textmodes/two-column.el: Move custom options to the start.
2548 (frame-width): Remove compat definition.
2549 (2C-associate-buffer, 2C-dissociate):
2550 Use with-current-buffer rather than save-excursion.
2551 (2C-dissociate): Force a mode-line update.
2552 (2C-autoscroll): Use ignore-errors.
2553
099e7202
GM
2554 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2555 Autoload trivia.
2556
bf350d6a
GM
2557 * emacs-lisp/cl-extra.el (*random-state*):
2558 Remove unnecessary declaration.
2559
0e829eab
GM
2560 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2561
e3ad7552
GM
2562 * play/cookie1.el (cookie-snarf):
2563 Give an explicit error if input file cannot be read.
2564
68892d27
GM
2565 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2566
20f0c46d
GM
2567 * progmodes/perl-mode.el (c-macro-expand):
2568 Remove unnecessary autoload (it is in loaddefs.el).
2569
5a0978ce
GM
2570 * textmodes/picture.el (picture-desired-column)
2571 (picture-update-desired-column): Convert comments to doc-strings.
2572 (picture-substitute): Remove function.
2573 (picture-mode-map): Initialize in the defvar.
2574
6b955486
GM
2575 * woman.el: Remove eval-after-load for tar-mode.
2576 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2577 (woman-tar-extract-file): Autoload it.
2578
94ee8db5
GM
2579 * frame.el (automatic-hscrolling): Make this alias obsolete.
2580
177eca34
AM
25812012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2582
2583 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2584 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2585 (ispell-dictionary-base-alist): Revert to original XEmacs
2586 friendly version for default. [:alpha:] will be added in
2587 `ispell-set-spellchecker-params' if needed
177eca34 2588
c505aaeb
CY
25892012-04-16 Chong Yidong <cyd@gnu.org>
2590
2591 * image.el (imagemagick--extension-regexp): New variable.
2592 (imagemagick-register-types): Use it.
2593 (imagemagick-types-inhibit): Add :set function. Allow new value
2594 of t to inhibit all types.
2595
2596 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2597 so we can preload it.
2598
2599 * loadup.el (fboundp): Preload regexp-opt, needed by
2600 imagemagick-register-types.
2601
60efac0f
CY
26022012-04-15 Chong Yidong <cyd@gnu.org>
2603
2604 * frame.el (scrolling): Remove nearly unused customization group.
2605
2606 * scroll-all.el (scroll-all-mode): Move to windows group.
2607
5dd1713e
CY
26082012-04-15 Chong Yidong <cyd@gnu.org>
2609
2610 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2611
e6fd457e
CY
26122012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2615 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2616
e153c136
GM
26172012-04-15 Glenn Morris <rgm@gnu.org>
2618
2619 * simple.el (process-file-side-effects): Doc fix.
2620
e6fd457e 26212012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2622
2623 * international/mule-cmds.el (set-language-environment): Doc fix.
2624
3603c3b1
JB
26252012-04-14 Juanma Barranquero <lekktu@gmail.com>
2626
2627 * server.el (server-auth-key, server-generate-key): Doc fixes.
2628 (server-get-auth-key): Doc fix. Use `string-match-p'.
2629 (server-start): Reflow docstring.
2630
e6de100c
LI
26312012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2632
2633 * server.el (server-generate-key): `called-interactively-p'
2634 requires a parameter.
2635
29734c21
MN
26362012-04-14 Michal Nazarewicz <mina86@mina86.com>
2637
2638 * server.el (server-auth-key): New variable.
75f1671a 2639 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2640 (server-start): Use the new variable and functions to allow
2641 setting a permanent server key (bug#9423).
2642
d65c9521
LL
26432012-04-14 Leo Liu <sdl.web@gmail.com>
2644
2645 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2646
5ae255c7
PE
26472012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2648
2649 Spelling fixes.
2650 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2651 Emacs uses American spelling.
2652
d5e6342e
JB
26532012-04-14 Juanma Barranquero <lekktu@gmail.com>
2654
2655 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2656 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2657 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2658 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2659
ab036cd7
SM
26602012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * progmodes/which-func.el (which-func-modes): Change default.
2663
35dc09a1 26642012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2665
2666 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2667 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2668
35dc09a1 26692012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2670
2671 * custom.el (custom-theme-set-variables): Doc fix.
2672
35dc09a1 26732012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2674
2675 * international/mule.el (set-auto-coding-for-load): Doc fix.
2676
35dc09a1 26772012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2678
35dc09a1
GM
2679 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2680 imenu work again for Objective C Mode. Correct the *-index values,
2681 these having been disturbed by a previous change in 2011-08.
57f845ee 2682
0de3da9f
AM
2683 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2684 Correct two search limits.
2685
35dc09a1 26862012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2687
2688 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2689
35dc09a1 26902012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2691
2692 * international/characters.el: Fix sorting.
2693
35dc09a1 26942012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2695
2696 * international/characters.el: Add more missing Latin case pairs.
2697
35dc09a1 26982012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2699
2700 * files.el (dir-locals-set-class-variables): Doc fix.
2701
35dc09a1 27022012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2703
3f1b5bf8
EZ
2704 * international/characters.el: Add set-case-syntax-pair call for
2705 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2706 counterpart. (Bug#11209)
2707
9f847f41
EZ
2708 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2709
35dc09a1 27102012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2711
2712 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2713
35dc09a1 27142012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2715
35dc09a1
GM
2716 * textmodes/ispell.el (ispell-dictionary-base-alist):
2717 Add data for Hebrew.
e2627d21 2718
35dc09a1 27192012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2720
35dc09a1
GM
2721 * net/rcirc.el (rcirc-cmd-quit):
2722 Revert 2012-03-18 change (Bug#11192).
5c14e333 2723
35dc09a1 27242012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2725
2726 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2727
35dc09a1 27282012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2729
4517fe3a
SM
2730 * minibuffer.el (completion-in-region-mode-map):
2731 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2732
b472a594
VD
27332012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2734
2735 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2736
09b95ce3
MY
27372012-04-13 Masatake YAMATO <yamato@redhat.com>
2738
2739 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2740 to allow `C-M-f' and `C-M-b' to move to the nearest path
2741 separator (bug#9511).
2742
4b63a9ca
LI
27432012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2744
2745 * avoid.el: Require cl when compiling. And also move the
2746 `provide' to the end.
2747
7b55b8bf
TV
27482012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2749
2750 * avoid.el (mouse-avoidance-banish-position): New variable.
2751 (mouse-avoidance-banish-destination): Use it (bug#10165).
2752
adedaa1f
LL
27532012-04-13 Leo Liu <sdl.web@gmail.com>
2754
2755 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2756
70e74021
KB
27572012-04-13 Ken Brown <kbrown@cornell.edu>
2758
2759 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2760 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2761 (browse-url-filename-alist): For the same reason, don't modify
2762 file:// URLs on Cygwin.
2763
e75e89ba
SM
27642012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2767 the region on shift if the binding is already shifted (bug#11221).
2768
82f289a4
GM
27692012-04-12 Glenn Morris <rgm@gnu.org>
2770
2771 * mail/mailpost.el: Move to obsolete/.
2772
d333dc4c
DA
27732012-04-12 Drew Adams <drew.adams@oracle.com>
2774
2775 * imenu.el (imenu--generic-function): Ignore invisible definitions
2776 (bug#10123).
2777
0d15b5ba
VD
27782012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2779
2780 * hexl.el (hexl-bits): New variable.
2781 (hexl-options): Mention the variable in the doc string.
75f1671a 2782 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2783 (hexl-mode): Mention the new variable.
75f1671a
JB
2784 (hexl-mode, hexl-current-address, hexl-current-address):
2785 Use the displen.
0d15b5ba
VD
2786 (hexl-ascii-start-column): New function.
2787 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2788 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2789
64a440db
AM
27902012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2791
2792 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2793 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2794 the encoding, as expected by hunspell.
2795
6decb6c2
SM
27962012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * battery.el (battery--linux-sysfs-regexp): New const.
2799 (battery-status-function): Use it. Remove yeeloong special case.
2800 (battery-yeeloong-sysfs): Remove.
2801 (battery-echo-area-format): Remove yeeloong special case.
2802
088be6fb
SM
28032012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2804
6622e416
SM
2805 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2806 Reported by Noah Friedman.
2807
088be6fb
SM
2808 * subr.el (read-passwd): Use read-string.
2809
b49f886e
LMI
28102012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2811
2812 * vcursor.el (vcursor-move): Increase the priority of the overlay
2813 (bug#9663).
2814
a63067fc
DD
28152012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2816
2817 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2818 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2819
ac3cf14a
WS
28202012-04-11 William Stevenson <yhvh2000@gmail.com>
2821
2822 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2823 define-minor-mode (bug#10760).
2824
c4fc691b 28252012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2826
4d6769e1 2827 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2828 that directories matching `grep-find-ignored-files' won't be
2829 pruned (bug#10351).
2830
af23e2e5
CY
28312012-04-11 Chong Yidong <cyd@gnu.org>
2832
2833 * startup.el (command-line): Remove support for long-obsolete
2834 variable font-lock-face-attributes.
2835
ab7ce8c1
GM
28362012-04-11 Glenn Morris <rgm@gnu.org>
2837
2838 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2839
de8c03dc
SM
28402012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * window.el (window--state-get-1): Obey window-point-insertion-type.
2843
050cc68b
LB
28442012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2845
2846 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2847 to previous function when point is on the first character of a
75f1671a 2848 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2849
a38c310c
GM
28502012-04-11 Glenn Morris <rgm@gnu.org>
2851
effed0c2
GM
2852 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2853 not just file-errors.
2854
a38c310c
GM
2855 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2856 (vc-bzr-sha1): Use internal sha1.
2857
0221e323
SM
28582012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2859
2860 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2861
43956923
SG
28622012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2863
2864 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2865 that start in the middle of the line (bug#10496).
2866
6a8c9eaf
DN
28672012-04-10 Dan Nicolaescu <dann@gnu.org>
2868
2869 * battery.el (battery-linux-proc-acpi): Only one battery is
2870 discharged at a time, but that seems to confuse battery.el when
2871 computing `rate-type' for the battery not being discharged
2872 (bug#10332).
2873
1930bf5d
SM
28742012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2a718f6f
SM
2876 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2877
599430d0
SM
2878 * international/quail.el: Use dolist and simplify.
2879 (quail-define-package, quail-update-keyboard-layout)
2880 (quail-define-rules): Use dolist.
2881 (quail-insert-kbd-layout, quail-get-translation): CSE.
2882
a2754b6c
SM
2883 * tmm.el: Use dolist, remove left over hook.
2884 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2885 Use dolist.
2886 (calendar-load-hook): Don't mess with it.
2887
1930bf5d
SM
2888 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2889 Use derived-mode-p. Run the diff asynchronously.
2890
9f67961c
LMI
28912012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2892
2893 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2894
2a8ce227
JB
28952012-04-10 Juanma Barranquero <lekktu@gmail.com>
2896
2897 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2898 (list-dynamic-libraries--loaded): New function.
2899 (list-dynamic-libraries--refresh): Use it.
2900
8f33b5f8
NW
29012012-04-10 Nathan Weizenbaum <nweiz@google.com>
2902
1930bf5d
SM
2903 * progmodes/python.el (python-fill-paragraph):
2904 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2905 disabled (bug#7018).
2906
b12f0439
L
29072012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2908
1930bf5d 2909 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2910 DOS/MS Windows for the Baltic languages. There are still plenty
2911 of texts written in this encoding/codepage (bug#6519).
b12f0439 2912
57c3bd01
GM
29132012-04-10 Glenn Morris <rgm@gnu.org>
2914
2915 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2916 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2917
6c3eab30
FA
29182012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2919
1930bf5d 2920 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2921 next-line "n" and previous-line "p" in order to make recentf more
2922 consistent with ibuffer, dired or org-mode (bug#9387).
2923
24d78a88
LMI
29242012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2925
bc72b5d9
LMI
2926 * image.el (put-image): Return the overlay created instead of the
2927 optional input string (bug#7834). Note that this may break code
2928 that is (for some reason or other) depending on `put-image'
2929 returning the string.
2930
bd2dba5a
LMI
2931 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2932
74beb59f
LMI
2933 * simple.el (zap-to-char): Allow zapping using input methods
2934 (bug#1580).
2935
24d78a88
LMI
2936 * textmodes/fill.el (fill-region): Leave point and mark where they
2937 were before filling (bug#5399).
2938
263f20cd
GM
29392012-04-09 Glenn Morris <rgm@gnu.org>
2940
2941 * version.el (emacs-bzr-get-version):
2942 Handle lightweight checkouts of local branches.
2943
58d1f797
AS
29442012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2945
263f20cd 2946 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2947
b4d3bc10
CY
29482012-04-09 Chong Yidong <cyd@gnu.org>
2949
2950 * custom.el (custom-variable-p): Return nil for non-symbol
2951 arguments instead of signaling an error.
2952 (user-variable-p): Obsolete alias for custom-variable-p.
2953
2954 * apropos.el (apropos-variable):
2955 * files-x.el (read-file-local-variable):
2956 * simple.el (set-variable):
2957 * woman.el (woman-mini-help):
2958 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2959
fd06db5d
GM
29602012-04-09 Glenn Morris <rgm@gnu.org>
2961
e5fcdb5e
GM
2962 * startup.el (normal-top-level): Don't look for leim-list.el
2963 in places where it will not be found. (Bug#910)
2964
fd06db5d
GM
2965 * international/mule-cmds.el (set-default-coding-systems):
2966 * files.el (normal-mode):
2967 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2968 This function was removed with ucs-tables.el in 2008.
2969
b39bb7e1
EZ
29702012-04-08 Eli Zaretskii <eliz@gnu.org>
2971
2972 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2973 ispell-encoding8-command to "-i", without a trailing space.
2974 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2975 separate command-line arguments, to specify the encoding, since
2976 that's how hunspell expects it.
2977
5c5b8e23
GM
29782012-04-08 Glenn Morris <rgm@gnu.org>
2979
2980 * loadup.el: Load bindings before cus-start.
2981 This reduces somewhat the number of "rogue" settings in emacs -Q.
2982
a1ed8b05
GM
29832012-04-07 Glenn Morris <rgm@gnu.org>
2984
2985 * version.el (emacs-bzr-get-version): New function.
dfae128a 2986 (emacs-bzr-version): New variable.
a1ed8b05
GM
2987 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2988 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2989
b142f158
EZ
29902012-04-07 Eli Zaretskii <eliz@gnu.org>
2991
dfae128a
GM
2992 * international/uni-bidi.el, international/uni-category.el:
2993 * international/uni-combining.el, international/uni-decimal.el:
2994 * international/uni-decomposition.el, international/uni-digit.el:
2995 * international/uni-lowercase.el, international/uni-mirrored.el:
2996 * international/uni-name.el, international/uni-numeric.el:
2997 * international/uni-titlecase.el, international/uni-uppercase.el:
2998 Update for Unicode 6.1.
b142f158 2999
9078ead6
EZ
30002012-04-07 Eli Zaretskii <eliz@gnu.org>
3001
3002 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3003
f23d2c7d
LMI
30042012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3005
3006 * window.el (shrink-window): Mention the `window-min-height'
3007 variable in the doc string.
3008
0a0a3573
BG
30092012-04-05 Bastien Guerry <bzg@altern.org>
3010
3011 * color.el (color-lighten-name): Fix typo.
3012
e5248ac9
SM
30132012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * server.el (server--on-display-p): New function.
3016 (server--on-display-p): Use it.
3017
b4243e22
GV
30182012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3019
3020 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3021 (bug#11145).
3022
305d9f44
SM
30232012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3024
3025 * comint.el (comint--common-quoted-suffix): Check string boundary
3026 before comparing (bug#11158).
3027 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3028
3d439cd1
CY
30292012-04-04 Chong Yidong <cyd@gnu.org>
3030
321cc491
CY
3031 * minibuffer.el (completion-extra-properties): Doc fix.
3032
3d439cd1
CY
3033 * subr.el (delayed-warnings-hook): Doc fix.
3034
2d562c0f
DU
30352012-04-04 Daiki Ueno <ueno@unixuser.org>
3036
3037 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3038 selection (Bug#11159).
3039 (epa-insert-keys): Inform that the default public key will be
3040 exported if no key is selected.
3041
4443f204
RS
30422012-04-04 Richard Stallman <rms@gnu.org>
3043
3044 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3045
529c06b6
CY
30462012-04-03 Chong Yidong <cyd@gnu.org>
3047
3048 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3049 mail-insert-file, not its obsolete alias mail-attach-file.
3050
66b907dc
MA
30512012-04-03 Michael Albinus <michael.albinus@gmx.de>
3052
3053 * notifications.el (notifications-notify): Fix docstring.
3054
c0ea195d
GM
30552012-04-02 Glenn Morris <rgm@gnu.org>
3056
3057 * emacs-lisp/authors.el (authors-aliases): Another addition.
3058
5ca64e00
MA
30592012-04-02 Michael Albinus <michael.albinus@gmx.de>
3060
3061 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3062 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3063 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3064
42ee526b
CY
30652012-04-01 Chong Yidong <cyd@gnu.org>
3066
3067 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3068 Handle root directory properly.
3069 (copy-directory): Caller changed.
3070
3071 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3072 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3073
0b021094
GM
30742012-03-31 Glenn Morris <rgm@gnu.org>
3075
40f86458
GM
3076 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3077
7019c177
GM
3078 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3079
a1daddd6
GM
3080 * calendar/calendar.el (calendar-window-list)
3081 (calendar-hide-window): Restore. (Bug#11140)
3082 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3083
0b021094
GM
3084 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3085
40311efc
TV
30862012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3087
3088 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3089 Check if file is a symlink (Bug#10489).
3090
3091 * files.el (copy-directory): Likewise.
3092
5319014e
CY
30932012-03-30 Chong Yidong <cyd@gnu.org>
3094
3095 * image.el (imagemagick-types-inhibit)
3096 (imagemagick-register-types): Doc fix.
3097
935d1290
AM
30982012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3099
ef24141c
SM
3100 * ispell.el (ispell-get-extended-character-mode):
3101 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3102 and treats ~word as ordinary words in pipe mode.
935d1290 3103
61c6e8fd
GM
31042012-03-30 Glenn Morris <rgm@gnu.org>
3105
3106 * tutorial.el (help-with-tutorial): Ensure local variables don't
3107 happen to make the buffer read-only. (Bug#11127)
3108
81fdff00
SM
31092012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3112 (perl-calculate-indent): Return `noindent' in strings.
3113
6e7a6ec0
SS
31142012-03-28 Sam Steingold <sds@gnu.org>
3115
3116 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3117 instead of the broken adhockery which does not prevent calendar
3118 buffers from being displayed at random after exit.
3119 (calendar-window-list, calendar-hide-window): Remove the broken
3120 adhockery.
3121
fee88ca0
GM
31222012-03-28 Glenn Morris <rgm@gnu.org>
3123
3124 * replace.el (query-replace-map): Doc fix.
3125
38de3354
AS
31262012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3127
3128 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3129 contents. (Bug#11109)
3130
b973155e
SM
31312012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3134 (bug#11077).
3135 (avl-tree--check, avl-tree--check-node): New funs.
3136
dcb6e7b3
MR
31372012-03-27 Martin Rudalics <rudalics@gmx.at>
3138
3139 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3140 (switch-to-prev-buffer, switch-to-next-buffer):
3141 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3142 showing a buffer already is done on the same frame.
3143
b4fa35fa
GM
31442012-03-27 Glenn Morris <rgm@gnu.org>
3145
3146 * startup.el (mail-host-address): Doc fix.
3147
f9210e18
SM
31482012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3151 than 197 variables.
3152
c0bf7753
AF
31532012-03-26 Ami Fischman <ami@fischman.org>
3154
3155 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3156
33da7b16
GM
31572012-03-26 Glenn Morris <rgm@gnu.org>
3158
02243d9d
GM
3159 * files.el (save-buffers-kill-emacs): Doc fix.
3160
33da7b16
GM
3161 * startup.el (normal-top-level, command-line, command-line-1):
3162 Give them doc strings.
3163
e5a69fd0
EZ
31642012-03-25 Eli Zaretskii <eliz@gnu.org>
3165
3166 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3167 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3168
9a69676a
CY
31692012-03-25 Chong Yidong <cyd@gnu.org>
3170
4125cb8b
CY
3171 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3172 theme if it was previously enabled before (Bug#11031).
3173
dd470960
CY
3174 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3175 spec with custom-face-get-current-spec if its :shown-value is not
3176 determined yet (Bug#9337).
4125cb8b 3177 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3178
9a69676a
CY
3179 * button.el (button-at): Minor addition to docstring.
3180
6e7e90fa
SL
31812012-03-24 Simon Leinen <simon.leinen@gmail.com>
3182
3183 * vc/vc.el (vc-merge): Fix a prompt.
3184
f06e2758
CY
31852012-03-24 Chong Yidong <cyd@gnu.org>
3186
3187 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3188 point (Bug#9623).
3189
6e7e90fa
SL
3190 * button.el (button-at): Minor addition to docstring.
3191
b9d0879b
SM
31922012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3193
3194 * newcomment.el (comment-choose-indent): No space after BOL.
3195
e71cebb3
SS
31962012-03-22 Sam Steingold <sds@gnu.org>
3197
3198 * window.el (switch-to-prev-buffer): Revert last patch because the
3199 bug turned out to be an advertised feature (Elisp manual 28.14).
3200
335aff35
GM
32012012-03-22 Glenn Morris <rgm@gnu.org>
3202
3203 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3204 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3205
c676576a
LMI
32062012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3207
3208 * net/network-stream.el (network-stream-open-starttls): Make error
3209 message under Windows be less misleading.
3210
126f3d39
LW
32112012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3212
3213 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3214 understands (bug#9942).
3215
64fee311
CY
32162012-03-22 Chong Yidong <cyd@gnu.org>
3217
3218 * simple.el (end-of-visible-line): Handle return value of
3219 next-single-property-change properly (Bug#9371).
3220
a640d29a
KH
32212012-03-22 Kenichi Handa <handa@m17n.org>
3222
3223 * international/quail.el (quail-insert-kbd-layout): Fix previous
3224 change. To avoid unwanted bidi reordering, use
3225 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3226
39675016
DG
32272012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3228
3229 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3230 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3231 (ruby-beginning-of-indent): Be more careful with the difference
3232 between word-boundary and symbol boundary.
3233 (ruby-mode-syntax-table): Make : a symbol constituent.
3234
0a6934fc 32352012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3236
3d008e4f
SM
3237 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3238
0a6934fc
SM
32392012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3240
af67c9d7
SM
3241 * progmodes/etags.el (tags-completion-at-point-function):
3242 Improve last fix.
3243
1acad97c
SM
3244 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3245
e298b5da
SS
32462012-03-21 Sam Steingold <sds@gnu.org>
3247
3248 * progmodes/etags.el (tags-completion-at-point-function):
3249 Avoid the error when point is inside the pattern.
3250
91d82a70
JY
32512012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3252
3253 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3254 line (Bug#10855).
3255
69188b79
CY
32562012-03-21 Drew Adams <drew.adams@oracle.com>
3257
3258 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3259
99fc91fe
AK
32602012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3261
3262 * ido.el (ido-set-current-directory, ido-read-internal)
3263 (ido-choose-completion-string, ido-completion-help): Handle nil
3264 value of ido-completion-buffer (Bug#11008).
3265
087bbb4c
SS
32662012-03-21 Sam Steingold <sds@gnu.org>
3267
3268 * window.el (switch-to-prev-buffer): Do not switch to a visible
3269 window previous buffer, just like with the frame previous buffers.
3270
fb5b8aca
CY
32712012-03-21 Chong Yidong <cyd@gnu.org>
3272
3273 * faces.el (make-face, make-empty-face, copy-face):
3274 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3275 Doc fixes.
3276
dc9924b8
SM
32772012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3279 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3280 (widget-complete): Remove broken use of it.
3281
f0bcceb9
CY
32822012-03-20 Chong Yidong <cyd@gnu.org>
3283
dc9924b8
SM
3284 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3285 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3286 characters.
3287
ee52ebf3
TH
32882012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3289
3290 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3291 to draw rectangles, not squares. (Regression introduced by revno
3292 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3293
4c5779ab
CY
32942012-03-18 Chong Yidong <cyd@gnu.org>
3295
3296 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3297 it is not yet defined (for temacs).
3298
15360934
LL
32992012-03-18 Leo Liu <sdl.web@gmail.com>
3300
dc9924b8 3301 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3302
d9a8eb66
EZ
33032012-03-17 Eli Zaretskii <eliz@gnu.org>
3304
3305 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3306 (ispell-choices-win-default-height, ispell-silently-savep)
3307 (ispell-dictionary-alist, ispell-encoding8-command)
3308 (ispell-check-version, ispell-aspell-find-dictionary)
3309 (ispell-valid-dictionary-list, ispell-words-keyword)
3310 (ispell-get-word, ispell-internal-change-dictionary)
3311 (ispell-region, ispell-skip-region-list)
3312 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3313 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3314 (ispell-message-text-end, ispell-message)
3315 (ispell-buffer-local-parsing): Doc fix.
3316
f02ff80d
J
33172012-03-13 Jambunathan K <kjambunathan@gmail.com>
3318
3319 * htmlfontify.el: Add support for code block fontification for ODT
3320 export (Bug #9914).
3321 (hfy-optimisations): Define new option
3322 `body-text-only'
3323 (hfy-fontify-buffer): Honor above setting.
3324 (hfy-begin-span, hfy-end-span): New routines factored out form
3325 `hfy-fontify-buffer'.
3326 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3327 that permit insertion of custom tags.
3328 (hfy-fontify-buffer): Use above handlers.
3329 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3330 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3331 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3332 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3333 bind a special variable `hfy-user-sheet-assoc'.
3334 (htmlfontify-string): New defun.
3335 (hfy-compile-face-map): Make sure that the last char in the
3336 buffer is correctly fontified.
3337 (hfy-face-resolve-face): Whitespace only change.
3338
9ac7a13f
EZ
33392012-03-17 Eli Zaretskii <eliz@gnu.org>
3340
3341 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3342 message more clear.
3343
e2b5bdd7
LL
33442012-03-16 Leo Liu <sdl.web@gmail.com>
3345
3346 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3347
2e492df3
AM
33482012-03-16 Alan Mackenzie <acm@muc.de>
3349
3350 Further optimise the handling of large macros.
3351
3352 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3353 limit to a call of `c-literal-limits'.
3354 (c-determine-+ve-limit): New function.
dc9924b8
SM
3355 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3356 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3357 In CASE 5B, restrict a search limit to 500.
3358 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3359
3360 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3361 Restrict macro bounds to +-500 from after-change's BEG END.
3362
50e94f0c
LL
33632012-03-16 Leo Liu <sdl.web@gmail.com>
3364
3365 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3366
6f09f6ed
AH
33672012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3368
3369 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3370 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3371
c7e73d51
GM
33722012-03-16 Glenn Morris <rgm@gnu.org>
3373
da986230
GM
3374 * view.el (view-buffer, view-buffer-other-window)
3375 (view-buffer-other-frame): Doc fixes re special mode-class.
3376
0835f01e
GM
3377 * subr.el (eval-after-load): If named feature is provided not from
3378 a file, run after-load forms. (Bug#10946)
3379
c7e73d51
GM
3380 * calendar/calendar.el (calendar-insert-at-column):
3381 Handle non-unit-width characters a bit better. (Bug#10978)
3382
3f2eafd1
CY
33832012-03-15 Chong Yidong <cyd@gnu.org>
3384
3385 * emacs-lisp/ring.el (ring-extend): New function.
3386 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3387
3388 * comint.el (comint-read-input-ring)
3389 (comint-add-to-input-history): Grow comint-input-ring lazily.
3390
103af3fe
SM
33912012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3392
663b1677
SM
3393 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3394 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3395
103af3fe
SM
3396 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3397 (imenu-add-to-menubar): Don't add a redundant index.
3398 (imenu-update-menubar): Handle a dynamically composed keymap.
3399
899cb7cb
KY
34002012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3401
3402 * mail/sendmail.el (mail-encode-header):
3403 Bind rfc2047-encode-encoded-words to nil.
3404
3809f91d
GM
34052012-03-13 Glenn Morris <rgm@gnu.org>
3406
3407 * calendar/calendar.el (calendar-string-spread):
3408 Handle non-unit-width characters a bit better. (Bug#10978)
3409
9e345a01
LL
34102012-03-13 Leo Liu <sdl.web@gmail.com>
3411
3412 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3413 directory and file as argument (Bug#10822).
3414
4a07df36
KS
34152012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3416
3417 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3418 For dynamically generated code, follow $PC.
3419 (gdb-disassembly-handler-custom): Handle no function name case.
3420
4aaa9356
TL
34212012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3422
3423 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3424 * emulation/ws-mode.el (ws-query-replace):
3425 * sort.el (sort-regexp-fields):
3426 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3427
225979da
SM
34282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * dabbrev.el: Fix cycle completion order (bug#10963).
3431 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3432 (dabbrev-completion): Don't use an obarray; provide
3433 a cycle-sort-function.
3434
e2f1fdab
LL
34352012-03-12 Leo Liu <sdl.web@gmail.com>
3436
dc9924b8 3437 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3438 (kill-do-not-save-duplicates): Doc fix.
3439
b19490ed
SM
34402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3441
3442 * dabbrev.el: Fix cycle completion (bug#10963).
3443 Use lexical binding and wrap to 80 columns.
3444 (dabbrev-completion): Delay computing the list of completions.
3445
4b05d722
KH
34462012-03-12 Kenichi Handa <handa@m17n.org>
3447
3448 * international/quail.el (quail-insert-kbd-layout): Surround each
3449 row by LRO and PDF instead of inserting many LRMs. Pad the left
3450 and right of each non-spacing marks. Insert invisible space
3451 between lower and upper characters to prevent composition.
3452
dbbc2e69
SM
34532012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * minibuffer.el (minibuffer-complete): Don't get confused when the
3456 function is run twice via different commands (bug#10958).
3457 (complete-with-action): Fix docstring.
3458
292112ed
CY
34592012-03-12 Chong Yidong <cyd@gnu.org>
3460
5d1ac394
CY
3461 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3462 (nxml-completion-at-point-function): New function.
3463 (nxml-mode): Use it.
3464 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3465
292112ed
CY
3466 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3467 Load generated autoloads file before byte compiling (Bug#10970).
3468 (package--make-autoloads-and-compile): New helper fun.
3469
4098f8f7
CS
34702012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3471
3472 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3473
8f754691
MA
34742012-03-11 Michael Albinus <michael.albinus@gmx.de>
3475
3476 * autorevert.el (auto-revert-handler): Ensure, that
3477 file-readable-p is applied only for local files or in
3478 auto-revert-tail-mode.
3479
e29ab36b
AS
34802012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3481
dbbc2e69
SM
3482 * server.el (server-eval-at): Handle non-tcp connections.
3483 Decode result string.
ad0bf5b6 3484
e29ab36b
AS
3485 * server.el (server-msg-size): New constant.
3486 (server-reply-print): New function.
3487 (server-eval-and-print): Use it.
3488 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3489 Handle -print-nonl.
3490
de5939ba
CS
34912012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3492
3493 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3494 (Bug#10987).
3495
0c93eabf
CY
34962012-03-11 Chong Yidong <cyd@gnu.org>
3497
397a688f
CY
3498 * simple.el (goto-line): Doc fix (Bug#9938).
3499
2cc775f9
CY
3500 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3501
0c93eabf
CY
3502 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3503 when finished (Bug#10963).
3504
c491fa41
MR
35052012-03-11 Martin Rudalics <rudalics@gmx.at>
3506
3507 * window.el (split-window-below): Fix bug in case where
3508 split-window-keep-point is nil (Bug#10971).
3509
300e8fa5
JL
35102012-03-11 Juri Linkov <juri@jurta.org>
3511
3512 * replace.el (replace-highlight): Set isearch-word to nil
3513 unconditionally. (Bug#10887)
3514
dbf6c5a1
EZ
35152012-03-10 Eli Zaretskii <eliz@gnu.org>
3516
3517 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3518 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3519 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3520 (mairix-widget-create-query): Add usage information about mairix
3521 search forms: negating words, searching for substrings, etc.
3522
b9e501de
JP
35232012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3524
3525 * international/fontset.el (font-encoding-alist): Add an entry for
3526 ksx1001 (Bug#5667).
3527
92795c91
RS
35282012-03-10 Richard Stallman <rms@gnu.org>
3529
1694e6c1
RS
3530 * mail/sendmail.el (mail-encode-header):
3531 Set rfc2047-encode-encoded-words.
3532
607e8555
RS
3533 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3534
de3bc99a
RS
3535 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3536 view buffer means not swapped.
3537 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3538 (rmail-write-region-annotate): Error if real text has disappeared.
3539
92795c91
RS
3540 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3541
699bd04e
CY
35422012-03-10 Chong Yidong <cyd@gnu.org>
3543
3544 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3545 * emulation/cua-base.el (cua--init-keymaps):
3546 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3547
570a1714
MR
35482012-03-10 Martin Rudalics <rudalics@gmx.at>
3549
dbbc2e69
SM
3550 * speedbar.el (speedbar-unhighlight-one-tag-line):
3551 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3552
82dcf4e4
CY
35532012-03-10 Chong Yidong <cyd@gnu.org>
3554
7a2c7ca7
CY
3555 * minibuffer.el (completion-in-region, completion-help-at-point):
3556 Give the completion field overlay a high priority (Bug#6830).
3557
82dcf4e4
CY
3558 * dired.el (dired-goto-file): Recognize absolute file name
3559 listings (Bug#7126).
3560 (dired-goto-file-1): New helper function.
3561 (dired-toggle-read-only): Inhibit warnings.
3562
052e28ac
MA
35632012-03-09 Michael Albinus <michael.albinus@gmx.de>
3564
75f1671a 3565 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3566 there are no properties.
3567
95d5e396
LL
35682012-03-09 Leo Liu <sdl.web@gmail.com>
3569
3570 * savehist.el (savehist-printable): Stricter check for string
3571 value (Bug#10937).
3572
3f018d6d
EZ
35732012-03-09 Eli Zaretskii <eliz@gnu.org>
3574
dbbc2e69
SM
3575 * mail/smtpmail.el (smtpmail-send-it):
3576 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3577 valid mbox format.
3578
f7fd3d79
GM
35792012-03-09 Glenn Morris <rgm@gnu.org>
3580
3581 * files.el (dir-locals-find-file):
3582 Don't check result is regular, readable.
3583 (dir-locals-read-from-file): Demote errors.
3584
6ff6e72f
EZ
35852012-03-08 Eli Zaretskii <eliz@gnu.org>
3586
dbbc2e69
SM
3587 * international/quail.el (quail-insert-kbd-layout):
3588 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3589 layout cell, to prevent their reordering by bidi display engine.
3590 For details, see the discussion in
3591 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3592
9cec7834
AM
35932012-03-08 Alan Mackenzie <acm@muc.de>
3594
3595 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3596 the starting position; make it extend the marked region when
3597 invoked repeatedly - all under appropriate circumstances.
3598 Fixes bugs #5525, #10906.
3599
9a40b8d4
GM
36002012-03-08 Glenn Morris <rgm@gnu.org>
3601
3602 * files.el (locate-dominating-file, dir-locals-find-file):
3603 Undo 2012-03-06 change.
3604
7a08ed35
EZ
36052012-03-07 Eli Zaretskii <eliz@gnu.org>
3606
dbbc2e69
SM
3607 * international/quail.el (quail-help):
3608 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3609 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3610 for the reason.
3611
5aca4f71 36122012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3613
3614 Avoid superfluous registering of signals. (Bug#10807)
3615
3616 * notifications.el (notifications-on-action-object)
3617 (notifications-on-close-object): New defvars.
3618 (notifications-on-action-signal, notifications-on-closed-signal):
3619 Unregister the signal if not needed any longer.
3620 (notifications-notify): Register `notifications-action-signal' or
3621 `notifications-closed-signal', if :on-action or :on-close has been
3622 passed as argument.
3623
78e8b10a
CY
36242012-03-07 Chong Yidong <cyd@gnu.org>
3625
3626 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3627 non-X platforms.
3628
69481eb8
GM
36292012-03-06 Glenn Morris <rgm@gnu.org>
3630
3631 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3632 (x-disown-selection-internal, x-get-selection-internal):
3633 Doc fix (add arglist signatures). (Bug#10783)
3634
133b8e11
KS
36352012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3636
3637 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3638 Handle breakpoints with no "type".
3639
99a83064
GM
36402012-03-06 Glenn Morris <rgm@gnu.org>
3641
3642 * files.el (locate-dominating-file): Add optional predicate argument.
3643 (dir-locals-find-file): Make use of above change.
3644
17798e78
TTN
36452012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3646
3647 * info.el (Info-insert-dir): Also try "dir.gz".
3648
eb182446
GM
36492012-03-06 Glenn Morris <rgm@gnu.org>
3650
8f2114ee
GM
3651 * files.el (dir-locals-find-file):
3652 Ignore non-readable or non-regular files. (Bug#10928)
3653
eb182446
GM
3654 * files.el (locate-dominating-file): Doc fix.
3655
24679323
AS
36562012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3657
3658 * calendar/calendar.el (calendar-set-mode-line):
3659 `getenv' returns a string. (Bug#10951)
3660
01d972a9
LL
36612012-03-05 Leo Liu <sdl.web@gmail.com>
3662
109aa8a9
LL
3663 * simple.el (backward-delete-char-untabify): Constrain point to
3664 field (Bug#10939).
3665
01d972a9
LL
3666 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3667
10607bea
CY
36682012-03-05 Chong Yidong <cyd@gnu.org>
3669
3670 * simple.el (count-words): If called from Lisp, return the word
3671 count, for symmetry with `count-lines'. Arglist changed.
3672 (count-words--message): Args changed. Consolidate counting code
3673 from count-words and count-words-region.
3674 (count-words-region): Caller changed.
3675 (count-lines-region): Make it an obsolete alias.
3676
5dd11cfe
TH
36772012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3678
3679 * saveplace.el (save-place-to-alist)
3680 (save-place-ignore-files-regexp): Allow value nil to disable this
3681 feature.
3682
c349f4e6
CY
36832012-03-04 Chong Yidong <cyd@gnu.org>
3684
3685 * faces.el (face-spec-reset-face): For the default face, reset the
3686 attributes to default values (Bug#10748).
3687
e627be4c
LMI
36882012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3689
3690 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3691 previous patch: Check `message-send-mail-function', and not the
3692 default function (bug#10897).
3693
ebeabff4
MA
36942012-03-04 Michael Albinus <michael.albinus@gmx.de>
3695
a41a6cf4
MA
3696 * notifications.el (notifications-on-action-signal)
3697 (notifications-on-closed-signal): Check for unique service name of
3698 incoming event. Fix error in removing entry.
ebeabff4 3699 (top): Register for signals with wildcard service name.
a41a6cf4 3700 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3701
c1ca42b4
CY
37022012-03-04 Chong Yidong <cyd@gnu.org>
3703
dc9924b8 3704 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3705
ea16568d
GM
37062012-03-04 Glenn Morris <rgm@gnu.org>
3707
3708 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3709 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3710 (expand-abbrev, define-abbrev-table): Doc fixes.
3711
fbae4637
LMI
37122012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3713
3714 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3715 `message-default-send-mail-function' and not `send-mail-function'
3716 when doing the prompting for `sendmail-query-once' before sending
3717 in Message buffers (bug#10897).
3718
a1e7225c
LMI
3719 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3720 This is inconsistent with all the other stream functions, which leave
3721 the setting up to the higher levels (if so wanted) (bug#10931).
3722
56d093a9
AM
37232012-03-02 Alan Mackenzie <acm@muc.de>
3724
3725 Depessimize the handling of very large macros.
3726
3727 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3728 (c-macro-cache-syntactic): New variables to implement a one
3729 element macro cache.
3730 (c-invalidate-macro-cache): New function.
3731 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3732 Adapt to use the new cache.
3733 (c-state-safe-place): Use better the cache of safe positions.
3734 (c-state-semi-nonlit-pos-cache)
3735 (c-state-semi-nonlit-pos-cache-limit):
3736 New variables for...
3737 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3738 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3739 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3740 Use c-state-semi-safe-place.
56d093a9 3741
dbbc2e69
SM
3742 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3743 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3744
817e5c3d
MA
37452012-03-02 Michael Albinus <michael.albinus@gmx.de>
3746
dbbc2e69
SM
3747 * jka-compr.el (jka-compr-call-process):
3748 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3749 not remote.
3750
a032a702
MA
37512012-03-01 Michael Albinus <michael.albinus@gmx.de>
3752
3753 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3754 access of FILE2, if FILE1 does not exist.
3755
99a54f21
MA
3756 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3757 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3758
3759 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3760 Add "PAGER=" to `process-environment'.
3761
f6561e1f
MM
37622012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3763
3764 * progmodes/sql.el: Bug fix
3765 (sql-get-login-ext): Save login values in globals.
3766 (sql-get-login): Use new version of `sql-get-login-ext'.
3767 (sql-interactive-mode): Set global `sql-connection' to nil.
3768 (sql-connect): Set global values for connection.
3769 (sql-product-interactive): Save global values as buffer local.
3770
2d44d9cc
LL
37712012-02-29 Leo Liu <sdl.web@gmail.com>
3772
3773 * abbrev.el (define-abbrevs): Reset sys to nil.
3774
96b49301 37752012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3776
bf7f9bc5
JB
3777 * files.el (file-equal-p): Rename from `files-equal-p'.
3778 Return nil when one or both files don't exist.
96b49301 3779 (file-subdir-of-p): Now only top directory must exists,
3780 return nil if it doesn't.
bf7f9bc5
JB
3781 (copy-directory): No need to test with `file-subdir-of-p' after
3782 creating dir.
3783 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3784 to `file-equal-p'.
96b49301 3785
44e97401
GM
37862012-02-28 Glenn Morris <rgm@gnu.org>
3787
3788 * shell.el (shell-mode):
3789 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3790 * play/landmark.el (landmark-font-lock-face-O):
3791 * play/handwrite.el (handwrite):
3792 * play/gomoku.el (gomoku-O):
3793 * net/browse-url.el (browse-url-browser-display):
3794 * international/mule.el (define-charset):
3795 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3796 * filesets.el (filesets-find-file-delay):
3797 * eshell/em-xtra.el (eshell-xtra):
3798 * eshell/em-unix.el (eshell-grep):
3799 * emulation/viper.el (viper-mode):
3800 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3801 * emacs-lisp/easymenu.el (easy-menu-define):
3802 * calendar/timeclock.el (timeclock-use-display-time):
3803 * bs.el (bs-mode):
3804 * bookmark.el (bookmark-save-flag):
3805 Doc fix (standardize possessive apostrophe usage).
3806
c98c6276
CY
38072012-02-27 Chong Yidong <cyd@gnu.org>
3808
bf7f9bc5
JB
3809 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3810 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3811
c98c6276
CY
3812 * font-lock.el (font-lock-specified-p): Rename from
3813 font-lock-spec-present. Callers changed.
3814
9c62cd04 38152012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3816
bf7f9bc5
JB
3817 * emacs-lisp/package.el (package-compute-transaction):
3818 Handle holding a package version to t in package-load-list.
8ac9e529 3819
530739c9
MA
38202012-02-26 Michael Albinus <michael.albinus@gmx.de>
3821
3822 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3823 (tramp-get-inode, tramp-get-device): Use cached values.
3824
487915d7
AM
38252012-02-26 Alan Mackenzie <acm@muc.de>
3826
3827 Check there is a font-lock specification before doing initial
3828 fontification.
3829
3830 * font-core.el (font-lock-mode): Move the conditional from
3831 :after-hook to font-lock-initial-fontify.
3832 (font-lock-default-function): Move the check for a specification
3833 to font-lock-spec-present.
3834
dc9924b8 3835 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3836 (font-lock-spec-present): New function.
3837
4fd96557
JB
38382012-02-26 Jim Blandy <jimb@red-bean.com>
3839
3840 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3841 (gdb-send): Apply it to the operand of the '-interpreter-exec
3842 console' command, so that we can pass arguments with (say) quotes
3843 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3844
9a4888c0
CY
38452012-02-26 Chong Yidong <cyd@gnu.org>
3846
07498861
CY
3847 * help-fns.el (describe-function-1): Clarify description of
3848 remapping (Bug#10844).
3849
9a4888c0
CY
3850 * files.el (files-equal-p): Doc fix.
3851 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3852 and quit the loop once a mismatch is found.
3853
ea8fb88d
JB
38542012-02-25 Juanma Barranquero <lekktu@gmail.com>
3855
3856 * bs.el (bs--show-with-configuration): Don't throw an error
3857 if the window cannot be split; otherwise, subsequent calls to
3858 bs-show fail, restoring a stale window config. (Bug#10882)
3859
525795c1
JD
38602012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3861
3862 * term/ns-win.el (global-map): Bind ns-drag-file to
3863 ns-find-file (Bug#5855, Bug#10050).
3864
f008086f
AS
38652012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3866
3867 * calendar/parse-time.el (parse-time-string): Allow extractor to
3868 return nil.
3869
a3fcfa99
MA
38702012-02-25 Michael Albinus <michael.albinus@gmx.de>
3871
91027d08
JB
3872 * net/tramp.el (tramp-file-name-for-operation):
3873 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3874
3875 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3876 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3877 Add COPY-CONTENTS argument.
a3fcfa99 3878
67b0de11
CY
38792012-02-25 Chong Yidong <cyd@gnu.org>
3880
3881 Add custom groups for VC backends, for consistency with vc-bzr.
3882
3883 * vc/vc-arch.el (vc-arch):
3884 * vc/vc-cvs.el (vc-cvs):
3885 * vc/vc-git.el (vc-git):
3886 * vc/vc-hg.el (vc-hg):
3887 * vc/vc-mtn.el (vc-mtn):
3888 * vc/vc-rcs.el (vc-rcs):
3889 * vc/vc-sccs.el (vc-sccs):
3890 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3891 All relevant defcustoms reassigned.
3892
3c9dfce6
CY
38932012-02-25 Chong Yidong <cyd@gnu.org>
3894
1339bf43
CY
3895 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3896
3c9dfce6
CY
3897 * term/x-win.el (x-initialize-window-system): Reduce default for
3898 x-selection-timeout to 5 seconds (Bug#8869).
3899
25b2e303 39002012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3901
ec70a47d
GM
3902 * files.el (files-equal-p, file-subdir-of-p): New functions.
3903 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3904 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3905 * dired-aux.el (dired-copy-file-recursive): Same.
3906 (dired-create-files): Modify destination when source is equal to
3907 dest when copying files.
53a46cd0 3908 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3909
914260cd
MA
39102012-02-24 Michael Albinus <michael.albinus@gmx.de>
3911
3912 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3913 (Bug#10874)
3914
2cb228f7
AM
39152012-02-23 Alan Mackenzie <acm@muc.de>
3916
3917 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3918 parameter "after-hook:" to allow the expansion to run code after
3919 the execution of the mode hooks.
3920
3921 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3922 from font-lock-mode-internal.
2cb228f7 3923
91027d08 3924 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3925 :after-hook.
3926
8f0fde21
SM
39272012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3e88618b
SM
3929 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3930 (completion--cache-all-sorted-completions): New function.
3931 (completion-all-sorted-completions): Use it.
3932 (completion--do-completion, minibuffer-force-complete):
3933 Use it to re-instate the flush hook.
3934
8f0fde21
SM
3935 * icomplete.el (icomplete-completions): Replace last fix with a better
3936 one (bug#10850).
3937
8e911f6f
DG
39382012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3939
3940 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3941 when it might call us back infinitely (bug#10797).
3942
49fe4321
GM
39432012-02-23 Glenn Morris <rgm@gnu.org>
3944
3945 * minibuffer.el (completion-category-overrides): Doc fix.
3946
b291b572
SM
39472012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3950 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3951
31a9ef2e
GM
39522012-02-23 Glenn Morris <rgm@gnu.org>
3953
5e6e6794 3954 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3955 (authors-obsolete-files-regexps, authors-ignored-files)
3956 (authors-ambiguous-files, authors-renamed-files-alist):
3957 Add more entries.
3958
0bd1e074
JL
39592012-02-23 Juri Linkov <juri@jurta.org>
3960
3961 * isearch.el (isearch-occur): Sync interactive spec with occur's
3962 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3963
b617673c
JL
3964 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3965
19e9789e
JL
39662012-02-22 Juri Linkov <juri@jurta.org>
3967
3968 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3969 (ucs-insert): Doc fix. Check for hex digits in the string.
3970 Don't display `nil' in the error message. (Bug#10857)
3971
f41ce09d
AM
39722012-02-22 Alan Mackenzie <acm@muc.de>
3973
7a71b18d 3974 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 3975
ac2eceee
GM
39762012-02-22 Glenn Morris <rgm@gnu.org>
3977
3978 * ffap.el (ffap-c-path):
3979 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3980
abd1f678
CY
39812012-02-22 Chong Yidong <cyd@gnu.org>
3982
3983 * custom.el (load-theme): Doc fix.
3984
f25aef2e
GM
39852012-02-22 Glenn Morris <rgm@gnu.org>
3986
3987 * dired-x.el (dired-guess-shell-alist-default):
3988 Remove escape sequences from nroff output. (Bug#172)
3989
5f8dc2ca
GM
39902012-02-21 Glenn Morris <rgm@gnu.org>
3991
6ff86ec4
GM
3992 * vc/emerge.el (emerge-defvar-local):
3993 Set `permanent-local' property rather than unused `preserved'.
3994
be3223a3 3995 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
3996 (picture-mode-map): Use it. (Bug#10860)
3997 (picture-mode): Doc fix.
3998
3fe58f4f
JB
39992012-02-21 Juanma Barranquero <lekktu@gmail.com>
4000
4001 * newcomment.el (uncomment-region-default): Remove unused binding.
4002
f9a998c3
GM
40032012-02-21 Glenn Morris <rgm@gnu.org>
4004
4005 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4006 (picture-self-insert, picture-tab-chars): Doc fix.
4007 (picture-mode-map): Fix C-a, C-e.
4008
c6029348
GM
40092012-02-20 Glenn Morris <rgm@gnu.org>
4010
4011 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4012
ab1ce9d7
LL
40132012-02-20 Leo Liu <sdl.web@gmail.com>
4014
4015 * icomplete.el (icomplete-completions): Check FROM arg before
4016 passing to substring (Bug#10850).
4017
0fd40f89
CY
40182012-02-19 Chong Yidong <cyd@gnu.org>
4019
4020 * comint.el: Require ansi-color.
4021 (comint-output-filter-functions): Add ansi-color-process-output.
4022
4023 * ansi-color.el: Don't set comint-output-filter-functions; it is
4024 now in the initial value defined in comint.el.
4025 (ansi-color-apply-face-function): New variable.
4026 (ansi-color-apply-on-region): Use it.
4027 (ansi-color-apply-overlay-face): New function.
4028
4029 * shell.el (shell): No need to require ansi-color.
4030 (shell-mode): Use ansi-color-apply-face-function to highlight
4031 color escapes using font-lock-face property (Bug#10835).
4032
20af2394
CY
40332012-02-19 Chong Yidong <cyd@gnu.org>
4034
4035 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4036 mode-line formats (Bug#10839).
4037
e23a3fbe
GM
40382012-02-18 Glenn Morris <rgm@gnu.org>
4039
b474519e
GM
4040 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4041
4042 * mail/undigest.el (unforward-rmail-message): Doc fix.
4043
e23a3fbe
GM
4044 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4045
57939ff4
EZ
40462012-02-18 Eli Zaretskii <eliz@gnu.org>
4047
4048 * international/characters.el (script-list): Sync with the latest
4049 Unicode Character Database.
4050
0c23686e
AS
40512012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4052
4053 * international/titdic-cnv.el: Remove duplicate coding tag.
4054 * language/cham.el: Likewise.
4055 * language/tai-viet.el: Likewise.
4056
6818b449
GM
40572012-02-18 Glenn Morris <rgm@gnu.org>
4058
4059 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4060 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4061 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4062 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4063 * calendar/holidays.el (holiday-bahai-holidays)
4064 (calendar-holidays, list-holidays):
4065 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
4066
0311a3fc
TH
40672012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4068
4069 * saveplace.el (save-place-ignore-files-regexp): New variable
4070 allowing for excluding files from saving their location of point.
4071 The default value matches the temporary commit message editing
4072 files from Git, SVN, Bazaar, and Mercurial.
4073 (save-place-to-alist): Use it.
4074
eb864a71
LM
40752012-02-17 Lawrence Mitchell <wence@gmx.li>
4076 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * newcomment.el (uncomment-region-default): Don't leave extra space
4079 when an arg is provided (bug#8150).
4080
ee0ce425
TZ
40812012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4082
eb864a71 4083 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4084
95ddf442
GM
40852012-02-17 Glenn Morris <rgm@gnu.org>
4086
4087 * net/socks.el: Require network-stream. (Bug#10599)
4088
48dd1e39 40892012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4090
4091 * international/charprop.el:
4092 * international/uni-name.el:
4093 * international/uni-old-name.el:
4094 * international/uni-comment.el: Regenerate.
4095
d68cd087
GM
40962012-02-16 Glenn Morris <rgm@gnu.org>
4097
4098 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4099 Interactively in calendar buffer, give an error if not on a date.
4100
13932042
GM
41012012-02-15 Glenn Morris <rgm@gnu.org>
4102
4103 * shell.el (shell-delimiter-argument-list):
4104 Revert 2011-02-17 change. (Bug#8027)
4105
c3a70e2b
CY
41062012-02-15 Chong Yidong <cyd@gnu.org>
4107
60236b0d
CY
4108 * minibuffer.el (completion-at-point-functions): Doc fix.
4109
c3a70e2b
CY
4110 * custom.el (defcustom): Doc fix; note use of defvar.
4111
9f26dc24
GM
41122012-02-15 Glenn Morris <rgm@gnu.org>
4113
4114 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4115 Doc fixes.
4116
6546b134
GM
41172012-02-14 Glenn Morris <rgm@gnu.org>
4118
4119 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4120
d29b2b4c
LI
41212012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4122
4123 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4124 way the ports list is computed.
835bdcba
LI
4125 (smtpmail-query-smtp-server): Prompt the user for a port number if
4126 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4127
08dcdbc9
TZ
41282012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4129
4130 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4131
2605051a
GM
41322012-02-13 Glenn Morris <rgm@gnu.org>
4133
4134 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4135
7ee99f32
TZ
41362012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4137
4138 * net/gnutls.el (gnutls-trustfiles): New variable.
4139 (gnutls-negotiate): Use it.
4140
5f0af64f
LI
41412012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4142
4143 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4144 does its stuff if Gnus is running.
4145
c14fcc95
AM
41462012-02-13 Alan Mackenzie <acm@muc.de>
4147
4148 Fix a loop in c-set-fl-decl-start.
4149
7a71b18d 4150 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4151 c-backward-syntactic-ws actually moves backwards.
4152
142b4d90
LL
41532012-02-13 Leo Liu <sdl.web@gmail.com>
4154
4155 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4156 beginning so that all \C-o chars are removed.
4157
fa9958a6
TZ
41582012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4159
dc9924b8 4160 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4161
0bc5886a
AM
41622012-02-12 Alan Mackenzie <acm@muc.de>
4163
4164 Fix infinite loop with long macros.
4d6769e1 4165 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4166
d4bd55e7
CY
41672012-02-12 Chong Yidong <cyd@gnu.org>
4168
4169 * window.el (display-buffer): Doc fix (Bug#10785).
4170
66f3fe22
GM
41712012-02-12 Glenn Morris <rgm@gnu.org>
4172
bd7da63e
GM
4173 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4174 (x-disown-selection-internal, x-get-selection-internal):
4175 Sync docs with the xselect.c versions.
4176
66f3fe22
GM
4177 * allout-widgets.el: Add missing license notice.
4178
3e0d2fa7
GM
41792012-02-11 Glenn Morris <rgm@gnu.org>
4180
cfecdf09
GM
4181 * select.el (x-get-selection-internal, x-own-selection-internal)
4182 (x-disown-selection-internal):
4183 * x-dnd.el (x-get-selection-internal): Update declarations.
4184
6d216d7f
GM
4185 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4186
2bed3f04
GM
4187 * window.el (window-sides-slots):
4188 * tool-bar.el (tool-bar-position):
4189 * term/xterm.el (xterm-extra-capabilities):
4190 * ses.el (ses-self-reference-early-detection):
4191 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4192 (verilog-auto-wire-type)
4193 (verilog-auto-delete-trailing-whitespace)
4194 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4195 (verilog-auto-tieoff-declaration):
4196 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4197 (sql-oracle-statement-starters, sql-oracle-scan-on):
4198 * progmodes/prolog.el (prolog-align-comments-flag)
4199 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4200 (prolog-left-indent-regexp, prolog-paren-indent-p)
4201 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4202 (prolog-types, prolog-mode-specificators)
4203 (prolog-determinism-specificators, prolog-directives)
4204 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4205 (prolog-electric-dot-flag)
4206 (prolog-electric-dot-full-predicate-template)
4207 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4208 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4209 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4210 (prolog-program-switches, prolog-prompt-regexp)
4211 (prolog-debug-on-string, prolog-debug-off-string)
4212 (prolog-trace-on-string, prolog-trace-off-string)
4213 (prolog-zip-on-string, prolog-zip-off-string)
4214 (prolog-use-standard-consult-compile-method-flag)
4215 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4216 (prolog-imenu-max-lines, prolog-info-predicate-index)
4217 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4218 (prolog-char-quote-workaround):
4219 * progmodes/cc-vars.el (c-defun-tactic):
4220 * net/tramp.el (tramp-encoding-command-interactive)
4221 (tramp-local-end-of-line):
4222 * net/soap-client.el (soap-client):
4223 * net/netrc.el (netrc-file):
4224 * net/gnutls.el (gnutls):
4225 * minibuffer.el (completion-category-overrides)
4226 (completion-cycle-threshold)
4227 (completion-pcm-complete-word-inserts-delimiters):
4228 * man.el (Man-name-local-regexp):
4229 * mail/feedmail.el (feedmail-display-full-frame):
4230 * international/characters.el (glyphless-char-display-control):
4231 * eshell/em-ls.el (eshell-ls-date-format):
4232 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4233 (lisp-lambda-list-keyword-parameter-indentation)
4234 (lisp-lambda-list-keyword-parameter-alignment):
4235 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4236 * dired-x.el (dired-omit-verbose):
4237 * cus-theme.el (custom-theme-allow-multiple-selections):
4238 * calc/calc.el (calc-highlight-selections-with-faces)
4239 (calc-lu-field-reference, calc-lu-power-reference)
4240 (calc-note-threshold):
4241 * battery.el (battery-mode-line-limit):
4242 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4243 (archive-7z-update):
4244 * allout.el (allout-prefixed-keybindings)
4245 (allout-unprefixed-keybindings)
4246 (allout-inhibit-auto-fill-on-headline)
4247 (allout-flattened-numbering-abbreviation):
4248 * allout-widgets.el (allout-widgets-auto-activation)
4249 (allout-widgets-icons-dark-subdir)
4250 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4251 (allout-widgets-theme-dark-background)
4252 (allout-widgets-theme-light-background)
4253 (allout-widgets-item-image-properties-emacs)
4254 (allout-widgets-item-image-properties-xemacs)
4255 (allout-widgets-run-unit-tests-on-load)
4256 (allout-widgets-time-decoration-activity)
4257 (allout-widgets-hook-error-post-time)
4258 (allout-widgets-track-decoration):
4259 Add missing :version tags to new defcustoms and defgroups.
4260
5fec1b8e
GM
4261 * progmodes/sql.el (sql-ansi-statement-starters)
4262 (sql-oracle-statement-starters): Add custom type.
4263
3e0d2fa7
GM
4264 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4265 (prolog-system-version): Give it a type.
4266
90b671e2
EZ
42672012-02-11 Eli Zaretskii <eliz@gnu.org>
4268
4269 * term/pc-win.el (x-select-text, x-selection-owner-p)
4270 (x-own-selection-internal, x-disown-selection-internal)
4271 (x-get-selection-internal): Sync doc strings and argument lists
4272 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4273
5eac0c02
LL
42742012-02-11 Leo Liu <sdl.web@gmail.com>
4275
4276 * progmodes/python.el (python-end-of-statement): Fix infinite
4277 loop. (Bug#10788)
4278
f82cb659
GM
42792012-02-10 Glenn Morris <rgm@gnu.org>
4280
4281 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4282 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4283
cc26d239
LI
42842012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4285
4286 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4287 about SMTP before checking the From header.
4288
91027d08 4289 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4290 into own function for reuse by emacsbug.el.
4291
1be3ca5a
LL
42922012-02-10 Leo Liu <sdl.web@gmail.com>
4293
4294 * subr.el (condition-case-unless-debug): Rename from
4295 condition-case-no-debug. All callers changed.
4296 (with-demoted-errors): Fix caller.
4297
4298 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4299 * nxml/rng-valid.el (rng-do-some-validation):
4300 * emacs-lisp/package.el (package-refresh-contents)
4301 (package-menu-execute):
4302 * desktop.el (desktop-create-buffer):
91027d08 4303 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4304
b011fbfe
GM
43052012-02-10 Glenn Morris <rgm@gnu.org>
4306
b2096d72
GM
4307 * textmodes/bibtex.el:
4308 Add missing :version tags for new/changed defcustoms.
4309
b011fbfe
GM
4310 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4311
4c7e65bf
LI
43122012-02-09 Lars Ingebrigtsen <larsi@rusty>
4313
4314 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4315 (smtpmail-via-smtp): Use it, or fall back on the From address.
4316 (smtpmail-send-it): Ditto.
4317
f3934f6f
SM
43182012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4321 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4322 (byte-compile-tmp-var): New const.
4323 (byte-compile-defvar): Use it to minimize .elc size.
4324 Just use `defvar' rather than simulate it (bug#10761).
4325
a075a2c5
GM
43262012-02-09 Glenn Morris <rgm@gnu.org>
4327
cf3aa21b
GM
4328 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4329
354998cd
GM
4330 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4331 Add :version tags.
4332
dc9924b8
SM
4333 * progmodes/compile.el (compilation-error-screen-columns)
4334 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4335
dab3703d
GM
4336 * vc/log-view.el (log-view-toggle-entry-display):
4337 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4338
3f88cd72
GM
4339 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4340 (report-emacs-bug-can-use-xdg-email):
4341 (report-emacs-bug-insert-to-mailer): Doc fixes.
4342 (report-emacs-bug): Message fix.
4343
d95b247d
GM
4344 * net/browse-url.el (browse-url-can-use-xdg-open)
4345 (browse-url-xdg-open): Doc fixes.
4346
a075a2c5
GM
4347 * electric.el (electric-indent-mode, electric-pair-mode)
4348 (electric-layout-rules, electric-layout-mode): Doc fixes.
4349 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4350
ffb6157e
MR
43512012-02-08 Martin Rudalics <rudalics@gmx.at>
4352
4353 * server.el (server-unselect-display): Don't inadvertently kill
4354 the current buffer. (Bug#10729)
4355
e1ac4066
GM
43562012-02-08 Glenn Morris <rgm@gnu.org>
4357
34e8a2da
GM
4358 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4359 (sql-list-table): Doc fixes.
4360
b4ac6e8c
GM
4361 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4362 Comment out (does nothing).
4363
e1ac4066
GM
4364 * completion.el (dynamic-completion-mode):
4365 * dirtrack.el (dirtrack-debug-mode):
4366 * electric.el (electric-layout-mode):
4367 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4368 * face-remap.el (text-scale-mode, buffer-face-mode):
4369 * iimage.el (iimage-mode):
4370 * image-mode.el (image-transform-mode):
4371 * minibuffer.el (completion-in-region-mode):
4372 * scroll-lock.el (scroll-lock-mode):
4373 * simple.el (next-error-follow-minor-mode):
4374 * tar-mode.el (tar-subfile-mode):
4375 * tooltip.el (tooltip-mode):
4376 * vcursor.el (vcursor-use-vcursor-map):
4377 * wid-browse.el (widget-minor-mode):
4378 * emulation/tpu-edt.el (tpu-edt-mode):
4379 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4380 * international/iso-ascii.el (iso-ascii-mode):
4381 * language/thai-util.el (thai-word-mode):
4382 * mail/supercite.el (sc-minor-mode):
4383 * net/goto-addr.el (goto-address-mode):
4384 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4385 * progmodes/cwarn.el (cwarn-mode):
4386 * progmodes/flymake.el (flymake-mode):
4387 * progmodes/glasses.el (glasses-mode):
4388 * progmodes/hideshow.el (hs-minor-mode):
4389 * progmodes/pascal.el (pascal-outline-mode):
4390 * textmodes/enriched.el (enriched-mode):
4391 * vc/smerge-mode.el (smerge-mode):
4392 Doc fixes (minor mode argument).
4393
5e0d957f
EZ
43942012-02-07 Eli Zaretskii <eliz@gnu.org>
4395
4396 * ls-lisp.el (ls-lisp-sanitize): New function.
4397 (ls-lisp-insert-directory): Use it to fix or remove any elements
4398 in file-alist with missing attributes. (Bug#4673)
4399
98d7371e
AM
44002012-02-07 Alan Mackenzie <acm@muc.de>
4401
4402 Fix spurious recognition of c-in-knr-argdecl.
4403
4404 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4405 putative K&R region.
4406
667ced3a
AM
44072012-02-07 Alan Mackenzie <acm@muc.de>
4408
eb864a71
LM
4409 * progmodes/cc-engine.el (c-forward-objc-directive):
4410 Prevent looping in "#pragma mark @implementation".
667ced3a 4411
5b77774d
MA
44122012-02-07 Michael Albinus <michael.albinus@gmx.de>
4413
4414 * notifications.el (notifications-on-closed-signal): Make `reason'
4415 optional. (Bug#10744)
4416
af008560
GM
44172012-02-07 Glenn Morris <rgm@gnu.org>
4418
60d47423
GM
4419 * emacs-lisp/easy-mmode.el (define-minor-mode):
4420 Doc fixes for the macro and the mode it defines.
4421
dd605cc4
GM
4422 * image.el (imagemagick-types-inhibit): Doc fix.
4423
af008560
GM
4424 * cus-start.el (imagemagick-render-type): Add it.
4425
5cc59a37
LI
44262012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4427
4d6769e1
JB
4428 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4429 Set the default at load time, too, so that `font-lock-fontify-buffer'
4430 can be called without setting up the entire mode first. This fixes
4431 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4432
9a6dd747
CY
44332012-02-06 Chong Yidong <cyd@gnu.org>
4434
2d16b285
CY
4435 * simple.el (list-processes--refresh): Delete exited processes
4436 (Bug#8094).
4437
171e9b6e
CY
4438 * comint.el (comint-next-prompt): next-single-char-property-change
4439 and prev-single-char-property-change never return nil (Bug#8657).
4440
9a6dd747
CY
4441 * custom.el (defcustom): Doc fix (Bug#9711).
4442
aa4589a7
CY
44432012-02-05 Chong Yidong <cyd@gnu.org>
4444
5c2a252f
CY
4445 * cus-edit.el (custom-variable-reset-backup): Quote the value
4446 before storing it in the customized-value property (Bug#6712).
4aab9006 4447 (custom-display): Add a customization type tag.
983b9602 4448 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4449
aa4589a7
CY
4450 * wid-edit.el (widget-field-value-get): New optional arg to
4451 suppress trailing whitespace truncation.
4452 (character): Use it (Bug#2689).
4453
1ff980ae
AS
44542012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4455
4456 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4457 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4458
03988c98
CY
44592012-02-05 Chong Yidong <cyd@gnu.org>
4460
eeb6cc88
CY
4461 * cus-edit.el (custom-variable-value-create): For mismatched
4462 types, show the current value (Bug#7600).
4463
03988c98
CY
4464 * custom.el (defcustom): Doc fix.
4465
f8cdeef0
GM
44662012-02-05 Glenn Morris <rgm@gnu.org>
4467
4468 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4469
0696d255
JB
44702012-02-05 Juanma Barranquero <lekktu@gmail.com>
4471
4472 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4473 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4474 (pp-last-sexp): Use `looking-at-p'.
4475
34c99998
GM
44762012-02-04 Glenn Morris <rgm@gnu.org>
4477
8f05da42
GM
4478 * files.el (revert-buffer):
4479 Doc fix (mention revert-buffer-in-progress-p).
4480
f160676e
GM
4481 * emacs-lisp/ert-x.el (ert-simulate-command):
4482 Check deferred-action-list (which is obsolete) is bound.
4483
c7291ad9
GM
4484 * subr.el (with-wrapper-hook): Doc fixes.
4485
34c99998
GM
4486 * simple.el (filter-buffer-substring-functions)
4487 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4488
6283a7d3
LL
44892012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4490
4491 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4492 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4493
e96e3013
LL
44942012-02-04 Leo Liu <sdl.web@gmail.com>
4495
4496 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4497
8ded50f2
GM
44982012-02-04 Glenn Morris <rgm@gnu.org>
4499
82ff1d13
GM
4500 * image.el (image-extension-data): Add obsolete alias.
4501
987a0a16
GM
4502 * isearch.el (isearch-update): Doc fix.
4503
ea32ef46
GM
4504 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4505
8ded50f2
GM
4506 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4507
eea14f31
GM
45082012-02-03 Glenn Morris <rgm@gnu.org>
4509
4510 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4511 (image-animate-timeout): Doc fix.
4512
4513 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4514
12f381b7
GM
45152012-02-02 Glenn Morris <rgm@gnu.org>
4516
953cebf5
GM
4517 * server.el (server-auth-dir): Doc fix.
4518 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4519
12f381b7
GM
4520 * subr.el (run-mode-hooks): Doc fix.
4521
953a8c3b
JL
45222012-02-02 Juri Linkov <juri@jurta.org>
4523
4524 * image-mode.el (image-toggle-display-image): Remove tautological
4525 `major-mode' from the `derived-mode-p' test.
4526
c5d3843c
KH
45272012-02-02 Kenichi Handa <handa@m17n.org>
4528
9f6e692e 4529 * composite.el (compose-region): Cancel previous change.
c5d3843c 4530
159462d4 45312012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4532
4533 * composite.el (compose-region, compose-string): Signal error for
4534 a null string component (Bug#6988).
4535
9f562668
CY
45362012-02-01 Chong Yidong <cyd@gnu.org>
4537
e2cef717
CY
4538 * view.el (view-buffer-other-window, view-buffer-other-frame):
4539 Handle special modes like view-buffer (Bug#10650).
4540 (view-buffer): Simplify.
4541
9f562668
CY
4542 * frame.el (set-frame-font): Tweak meaning of third argument.
4543
9f6e692e
JB
4544 * dynamic-setting.el (font-setting-change-default-font):
4545 Use set-frame-font (Bug#9982).
9f562668 4546
781acb9f
GM
45472012-02-01 Glenn Morris <rgm@gnu.org>
4548
6035be52
GM
4549 * progmodes/compile.el (compilation-internal-error-properties):
4550 Respect compilation-first-column in the "*compilation*" buffer.
4551
781acb9f
GM
4552 * emacs-lisp/easy-mmode.el (define-minor-mode):
4553 Relax :variable's test for a named function.
4554
abbceb00
AM
45552012-01-31 Alan Mackenzie <acm@muc.de>
4556
4557 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4558 off by one error.
4559
fce3fdeb
CY
45602012-01-31 Chong Yidong <cyd@gnu.org>
4561
4562 * frame.el (set-frame-font): New arg ALL-FRAMES.
4563
4564 * menu-bar.el (menu-set-font): Use set-frame-font.
4565
4566 * faces.el (face-spec-reset-face): Don't apply unspecified
4567 attribute values to the default face.
4568
47893581
JB
45692012-01-31 Juanma Barranquero <lekktu@gmail.com>
4570
4571 * progmodes/cwarn.el (cwarn): Remove dead link.
4572 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4573 Remove * from defcustom docstrings.
4574 (turn-on-cwarn-mode): Make obsolete.
4575 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4576 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4577
e58e988a
GM
45782012-01-31 Glenn Morris <rgm@gnu.org>
4579
60dc2671 4580 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4581 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4582 Allow named functions to be used as the cdr of :variable.
e58e988a 4583
7a3f511d
GM
45842012-01-30 Glenn Morris <rgm@gnu.org>
4585
4586 * emacs-lisp/authors.el (authors-fixed-entries):
4587 Remove reference to deleted file rnewspost.el.
4588
cb882333
JB
45892012-01-29 Juanma Barranquero <lekktu@gmail.com>
4590
4591 * window.el (window-with-parameter): Remove unused variable `windows'.
4592 (window--side-check): Remove unused variable `code'.
4593 (window--resize-siblings): Remove unused variable `first'.
4594 (adjust-window-trailing-edge): Remove unused variable `failed'.
4595 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4596 Use `let', not `let*'.
4597 (balance-windows-2): Remove unused variable `found'.
4598 (window--state-put-2): Remove unused variable `splits'.
4599 (window-state-put): Remove unused variable `selected'.
4600 (same-window-p): Use `string-match-p'.
4601 (display-buffer-assq-regexp): Remove unused variable `value'.
4602 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4603 Mark argument ALIST as ignored.
4604 (pop-to-buffer): Remove unused variable `old-window'.
4605
907201af
EZ
46062012-01-29 Eli Zaretskii <eliz@gnu.org>
4607
4608 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4609 and .lzma compressed files.
4610
ea162670
CY
46112012-01-29 Chong Yidong <cyd@gnu.org>
4612
5b95ee8a
CY
4613 * frame.el (window-system-default-frame-alist): Doc fix.
4614
ea162670
CY
4615 * dynamic-setting.el (font-setting-change-default-font): Don't
4616 change the default face if SET-FONT argument is non-nil (Bug#9982).
4617
d6e6f4b1
SB
46182012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4619
4620 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4621
0f29fa41 46222012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4623
4624 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4625 breakpoints in files outside current directory (Bug#6098).
4626
db174434
CY
46272012-01-29 Chong Yidong <cyd@gnu.org>
4628
6b25e4e2
SE
4629 * progmodes/python.el: Require ansi-color at top-level.
4630
6df6ae42
JB
4631 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4632 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4633 (lisp-mode-abbrev-table): Add doc.
4634 (lisp-mode-variables): Don't set local-abbrev-table.
4635 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4636
e70ee681
RW
46372012-01-28 Roland Winkler <winkler@gnu.org>
4638
4639 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4640
ace88aa2
RW
46412012-01-28 Roland Winkler <winkler@gnu.org>
4642
4643 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4644 (bibtex-set-dialect): Use it. Either set global values of
4645 dialect-dependent variables or bind these variables buffer-locally
4646 (Bug#10254).
4647 (bibtex-mode): Call bibtex-set-dialect via
4648 hack-local-variables-hook.
eb864a71
LM
4649 (bibtex-dialect): Update docstring.
4650 Add safe-local-variable predicate.
ace88aa2
RW
4651 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4652 bibtex-set-dialect.
4653 (bibtex-mode-map): Define menu for each dialect.
4654 (bibtex-entry): Fix docstring.
4655
93376c5b
CY
46562012-01-28 Chong Yidong <cyd@gnu.org>
4657
4658 * eshell/esh-arg.el (eshell-quote-argument): New function.
4659
4660 * eshell/esh-ext.el (eshell-invoke-batch-file):
4661 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4662 first arg to eshell-parse-command (Bug#10523).
4663
4372494f
DA
46642012-01-28 Drew Adams <drew.adams@oracle.com>
4665
4666 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4667 `default-directory' is non-nil.
4668
4d4ec1f8
EZ
46692012-01-28 Eli Zaretskii <eliz@gnu.org>
4670
4671 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4672 line that displays system-configuration-options. (Bug#9924)
4673
7c188927
DA
46742012-01-28 Drew Adams <drew.adams@oracle.com>
4675
4676 * descr-text.el (describe-char): Show information about POS, in
4677 addition to information about the character at POS. Improve and
4678 update the doc string. Change "code point" to "code point in
4679 charset", to avoid confusion with the character's Unicode code
4680 point shown above that. (Bug#10129)
4681
e0da685a
EZ
46822012-01-28 Eli Zaretskii <eliz@gnu.org>
4683
4684 * descr-text.el (describe-char): Show the raw character, not only
4685 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4686 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4687 for the reasons.
4688
70550acf
PH
46892012-01-28 Phil Hagelberg <phil@hagelb.org>
4690
eb864a71
LM
4691 * emacs-lisp/package.el (package-install):
4692 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4693
0ce8e868
CY
46942012-01-28 Chong Yidong <cyd@gnu.org>
4695
cb882333
JB
4696 * emacs-lisp/package.el (package-maybe-load-descriptor):
4697 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4698 (package-maybe-load-descriptor): Use it.
4699 (package-download-transaction): Fully load required packages
4700 inside the loop, so that `require' calls work (Bug#10593).
4701 (package-install): No need to call package-initialize now.
4702
2e7f3bea
CY
47032012-01-28 Chong Yidong <cyd@gnu.org>
4704
6e9bad14
CY
4705 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4706
f823b8ca
CY
4707 * tooltip.el (tooltip-mode): Doc fix.
4708 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4709
2680c309
CY
4710 * frame.el (set-cursor-color): Doc fix (Bug#352).
4711
d7a9e63b
CY
4712 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4713 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4714
2e7f3bea
CY
4715 * cus-edit.el (custom-buffer-create-internal): Fix search button
4716 action (Bug#10542).
2ae01800 4717 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4718
fc4f7a23
EW
47192012-01-27 Eduard Wiebe <usenet@pusto.de>
4720
4721 * dired.el (dired-mark-files-regexp):
4722 Include any subdirectory components. (Bug#10445)
4723
7dd37071
ML
47242012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4725
4726 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4727 Handle [host]:port syntax. (Bug#10533)
4728
a268160b
AH
47292012-01-27 Alex Harsanyi <harsanyi@mac.com>
4730
4731 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4732
e43273ef
GM
47332012-01-26 Glenn Morris <rgm@gnu.org>
4734
4735 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4736 * term.el (term-raw-escape-map): Use Control-X-prefix.
4737 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4738
1edf595d
MR
47392012-01-25 Martin Rudalics <rudalics@gmx.at>
4740
4741 * window.el (window-state-get, window--state-get-1): Don't deal
4742 with fixed-sizeness of windows. Simplify code.
4743
fa8eafef
JC
47442012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4745
6df6ae42
JB
4746 * window.el (window--state-get-1, window--state-put-2):
4747 Don't save and restore the mark.
fa8eafef 4748
0b21c100
CY
47492012-01-25 Chong Yidong <cyd@gnu.org>
4750
4751 * custom.el (custom-variable-p): Doc fix.
4752
5ae1a6c8
GM
47532012-01-25 Glenn Morris <rgm@gnu.org>
4754
40047858
GM
4755 * dired.el (dired-goto-file): Handle some of the more common
4756 characters that `ls -b' escapes. (Bug#10596)
4757
5ddce96c
GM
4758 * progmodes/compile.el (compilation-next-error-function):
4759 Respect compilation-first-column in the "*compilation*" buffer.
4760 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4761
5ae1a6c8
GM
4762 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4763
b559f1a9
GM
47642012-01-24 Glenn Morris <rgm@gnu.org>
4765
4766 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4767
6725d21a
JD
47682012-01-24 Julien Danjou <julien@danjou.info>
4769
4770 * color.el (color-rgb-to-hsl): Fix value computing.
4771 (color-hue-to-rgb): New function.
4772 (color-hsl-to-rgb): New function.
4773 (color-clamp, color-saturate-hsl, color-saturate-name)
4774 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4775 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4776
70df4bbe
GM
47772012-01-24 Glenn Morris <rgm@gnu.org>
4778
4779 * vc/vc-rcs.el (vc-rcs-create-tag):
4780 * vc/vc-sccs.el (vc-sccs-create-tag):
4781 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4782
802a2ae2
ML
47832012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4784
4785 * eshell/esh-util.el (eshell-read-hosts-file):
4786 Skip comment lines. (Bug#10549)
4787
d7128bb1
ML
4788 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4789
d1a5c3b4
JB
47902012-01-23 Juanma Barranquero <lekktu@gmail.com>
4791
2724d9c7
JB
4792 * subr.el (display-delayed-warnings): Doc fix.
4793 (collapse-delayed-warnings): New function to collapse identical
4794 adjacent warnings.
4795 (delayed-warnings-hook): Add it.
d1a5c3b4 4796
a5509865
MA
47972012-01-22 Michael Albinus <michael.albinus@gmx.de>
4798
4799 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4800
4801 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4802 properties, when "login-as" is set.
4803
4804 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4805 (tramp-default-user-alist): Don't add "pscp".
4806 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4807 property "login-as", if set. (Bug#10530)
4808
cc6d5805
MA
48092012-01-21 Michael Albinus <michael.albinus@gmx.de>
4810
4811 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4812 "plink1" and "psftp". (Bug#10530)
4813
48142012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4815
4816 * international/mule-cmds.el (prefer-coding-system): Show a
4817 warning message if the default value of file-name-coding-system
4818 was not changed.
4819
f0960428
JC
48202012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4821
cb882333
JB
4822 * windmove.el (windmove-reference-loc):
4823 Fix windmove-reference-loc miscalculation.
f0960428 4824
dd6f2a63
JB
48252012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4826
4827 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4828 default unit.
4829
7b447e9b
GM
48302012-01-21 Glenn Morris <rgm@gnu.org>
4831
117a9ea1
GM
4832 * international/mule.el (auto-coding-alist): Add .tbz.
4833
7b447e9b
GM
4834 * files.el (local-enable-local-variables): Doc fix.
4835 (inhibit-local-variables-regexps): Rename from
4836 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4837 Doc fix. Add some extensions from auto-coding-alist.
4838 (inhibit-local-variables-suffixes):
4839 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4840 (inhibit-local-variables-p):
4841 New function, extracted from set-auto-mode-1.
4842 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4843 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4844 (hack-local-variables): Doc fix. Make the mode-only case
4845 respect enable-local-variables and friends.
4846 Respect inhibit-local-variables-regexps for file-locals, but
4847 not for directory-locals.
4848 (set-visited-file-name):
4849 Take account of inhibit-local-variables-regexps.
4850 Whether it applies may change as the file name is changed.
4851 * jka-cmpr-hook.el (jka-compr-install):
4852 * jka-compr.el (jka-compr-uninstall):
4853 Update for inhibit-first-line-modes-suffixes name change.
4854
dd6e3cdd
MR
48552012-01-20 Martin Rudalics <rudalics@gmx.at>
4856
4857 * help-macro.el (make-help-screen): Temporarily restore original
4858 binding for minor-mode-map-alist (Bug#10454).
4859
0d0deb38
JD
48602012-01-19 Julien Danjou <julien@danjou.info>
4861
4862 * color.el (color-name-to-rgb): Use the white color to find the max
4863 color component value and return correctly computed values.
4864 (color-name-to-rgb): Add missing float conversion for max value.
4865
34a02f46
MR
48662012-01-19 Martin Rudalics <rudalics@gmx.at>
4867
4868 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4869 special state value for window-persistent-parameters.
4870 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4871 (window--state-put-2): Reset all window parameters to nil before
4872 assigning values of persistent parameters.
4873
606c44c4
AM
48742012-01-18 Alan Mackenzie <acm@muc.de>
4875
4876 Eliminate sluggishness and hangs in fontification of "semicolon
4877 deserts".
4878
cb882333
JB
4879 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4880 Change value 10000 -> 3000.
606c44c4
AM
4881 (c-state-safe-place): Reformulate so it doesn't stack up an
4882 infinite number of wrong entries in c-state-nonlit-pos-cache.
4883 (c-determine-limit-get-base, c-determine-limit): New functions to
4884 determine backward search limits disregarding literals.
4885 (c-find-decl-spots): Amend commenting.
4886 (c-cheap-inside-bracelist-p): New function which detects "={".
4887
4888 * progmodes/cc-fonts.el
4889 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4890 backward search.
4891 (c-font-lock-declarations): Fix an occurrence of point being
4892 undefined. Check additionally for point being in a bracelist or
4893 near a macro invocation without a semicolon so as to avoid a
4894 fruitless time consuming search for a declarator. Give a more
4895 precise search limit for declarators using the new
4896 c-determine-limit.
4897
f3860cea
GM
48982012-01-18 Glenn Morris <rgm@gnu.org>
4899
4900 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4901 (set-auto-mode): Doc fixes.
4902
1db03b16
GM
49032012-01-17 Glenn Morris <rgm@gnu.org>
4904
0e6038be
GM
4905 * isearch.el (search-nonincremental-instead): Fix doc typo.
4906
1db03b16
GM
4907 * dired.el (dired-insert-directory): Handle newlines in directory name.
4908 (dired-build-subdir-alist): Unescape newlines in directory name.
4909
4cb0aa75
MA
49102012-01-17 Michael Albinus <michael.albinus@gmx.de>
4911
4912 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4913 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4914 (tramp-action-terminal): Use it. (Bug#10530)
4915
1d00653d
SM
49162012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4919
6a6ee00d
MR
49202012-01-16 Martin Rudalics <rudalics@gmx.at>
4921
4922 * window.el (window-state-ignored-parameters): Remove variable.
4923 (window--state-get-1): Rename argument MARKERS to IGNORE.
4924 Handle persistent window parameters. Make copy of clone-of
4925 parameter only if requested. (Bug#10348)
4926 (window--state-put-2): Install a window parameter only if it has
4927 a non-nil value or an existing parameter shall be overwritten.
4928
97912def
MA
49292012-01-15 Michael Albinus <michael.albinus@gmx.de>
4930
4931 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4932
688070a5
EZ
49332012-01-14 Eli Zaretskii <eliz@gnu.org>
4934
4935 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4936 don't pass the (nil) value of `upnode' to string-match.
4937
301afadc
CY
49382012-01-14 Chong Yidong <cyd@gnu.org>
4939
4940 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4941 Fix values recognized by the cursorBlink resource.
301afadc 4942
9e5788aa
PE
49432012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4944
4945 * epg.el (epg--make-temp-file): Avoid permission race condition
4946 when running on old Emacs versions (bug#10403).
4947
3cdb7f5a
GM
49482012-01-14 Glenn Morris <rgm@gnu.org>
4949
4950 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4951
8c82b1b4
AM
49522012-01-13 Alan Mackenzie <acm@muc.de>
4953
4954 Fix filling for when filladapt mode is enabled.
4955
4956 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4957 c-mask-paragraph, pass in `fill-paragraph' rather than
4958 `fill-region-as-paragraph'. (This is a reversion of a previous
4959 change.)
eb864a71
LM
4960 * progmodes/cc-mode.el (c-basic-common-init):
4961 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4962
e517eda4
GM
49632012-01-13 Glenn Morris <rgm@gnu.org>
4964
1498536e
GM
4965 * dired.el (dired-switches-escape-p): New function.
4966 (dired-insert-directory): Use dired-switches-escape-p.
4967 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4968
e517eda4
GM
4969 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4970
328f984d
GM
49712012-01-12 Glenn Morris <rgm@gnu.org>
4972
4973 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4974 changes in adaptive-fill-regexp. (Bug#10276)
4975
2cc769a8
AM
49762012-01-11 Alan Mackenzie <acm@muc.de>
4977
4978 Fix Emacs bug #10463 - put `widen's around the critical spots.
4979
1d00653d 4980 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
4981 widen around each invocation of c-state-pp-to-literal. Remove an
4982 unused let variable.
4983
e52c37fa
GM
49842012-01-11 Glenn Morris <rgm@gnu.org>
4985
4986 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 4987 Doc fix.
e52c37fa 4988
96f8741e
CY
49892012-01-10 Chong Yidong <cyd@gnu.org>
4990
1d00653d
SM
4991 * net/network-stream.el (network-stream-open-starttls):
4992 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
4993 response to the capability command.
4994
b09a806e
GM
49952012-01-10 Glenn Morris <rgm@gnu.org>
4996
4997 * mail/unrmail.el (unrmail): Tweak previous change.
4998
7655cb66
CY
49992012-01-09 Chong Yidong <cyd@gnu.org>
5000
5001 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5002
9d5a8f0b
AM
50032012-01-08 Alan Mackenzie <acm@muc.de>
5004
5005 Optimise font locking in long enum definitions.
5006
5007 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5008 arm to a cond form to handle enums.
5009 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5010 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5011
9a0115ab 50122012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5013
5014 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5015 (Bug#10401)
6bb72cbd 5016
f186bb95
LMI
50172012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5018
29232a68
LMI
5019 * faces.el (set-face-attribute): Clarify the meaning of the nil
5020 frame (bug#10294).
5021
4e5d086d
LMI
5022 * subr.el (with-selected-frame): Mention that the selected frame
5023 is restored (bug#9980).
5024
8e66aebe
LMI
5025 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5026 (bug#9759).
5027
cd394be1 5028 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5029 (password-read): Don't autoload unused function.
5030
adf4e762
JB
50312012-01-07 Juanma Barranquero <lekktu@gmail.com>
5032
5033 * progmodes/which-func.el (which-func-mode): Turn into a
5034 non-interactive function and mark as obsolete (bug#10428).
5035
89bd9ccd
CY
50362012-01-06 Chong Yidong <cyd@gnu.org>
5037
5038 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5039 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5040 functions, along with 1 and -1.
5041
4afee9d5
EZ
50422012-01-06 Eli Zaretskii <eliz@gnu.org>
5043
5044 * time.el (display-time-load-average)
5045 (display-time-default-load-average): Doc fixes. See the thread
5046 starting at
5047 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5048 for the details.
5049
536aea70
GM
50502012-01-06 Glenn Morris <rgm@gnu.org>
5051
665ae865
GM
5052 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5053 has no messages. (Bug#10377)
5054
c869783d
GM
5055 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5056 than Info-edit. (Bug#10385)
5057
2bb4227e
GM
5058 * time.el (display-time-load-average, display-time-next-load-average):
5059 Doc fixes.
5060
7d5944b9
GM
5061 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5062 local setting of buffer-read-only to the input buffer. (Bug#10419)
5063
536aea70
GM
5064 * calendar/calendar.el (calendar-mode):
5065 Locally set scroll-margin to 0. (Bug#10379)
5066
7dccca16
UM
50672012-01-06 Ulrich Mueller <ulm@gentoo.org>
5068
5069 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5070
afbb7930
GM
50712012-01-05 Glenn Morris <rgm@gnu.org>
5072
5073 * eshell/em-unix.el (diff-no-select): Autoload it.
5074 (eshell/diff): Use diff-no-select. (Bug#10420)
5075
04482335
CY
50762012-01-05 Chong Yidong <cyd@gnu.org>
5077
7baca3bc
CY
5078 * shell.el (shell-dynamic-complete-functions): Revert last change.
5079 (shell-command-completion-function): New function.
5080 (shell-completion-vars): Use it to implement
5081 shell-completion-execonly (Bug#10417).
5082
04482335
CY
5083 * custom.el (enable-theme): Don't set custom-safe-themes.
5084
1d00653d
SM
5085 * cus-theme.el (custom-theme-merge-theme):
5086 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5087
bb5aa5d6
MM
50882012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5089
5090 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5091 first prompt in `sql-interacive-mode'.
5092 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5093 keywords.
6df6ae42 5094 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5095 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5096 context of original buffer. Invoke `sql-login-hook'.
5097
a7183d7c
EZ
50982012-01-04 Eli Zaretskii <eliz@gnu.org>
5099
5100 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5101 letters in cite-prefix.
5102
a1eacd1e
LMI
51032012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5104
5105 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5106
787cdb34
CY
51072012-01-03 Chong Yidong <cyd@gnu.org>
5108
1d00653d
SM
5109 * shell.el (shell-dynamic-complete-functions):
5110 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5111 comint-filename-completion first (Bug#10417).
5112
30710442
RS
51132012-01-02 Richard Stallman <rms@gnu.org>
5114
5115 * battery.el (battery-status-function):
5116 Detect when to use battery-yeeloong-sysfs.
5117 (battery-echo-area-format): Add string for Yeeloong.
5118 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5119 (battery-yeeloong-sysfs): New function.
5120
f75bfc33
CY
51212012-01-02 Chong Yidong <cyd@gnu.org>
5122
5123 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5124 (dirtrack): Merge code for handling relative filenames in prompt
5125 from shell-dir-cookie-watcher.
5126 (dirtrack-debug-message): New arg to avoid excess format calls.
5127
5128 * shell.el (shell-dir-cookie-re): Variable deleted.
5129 (shell-dir-cookie-watcher): Function deleted.
5130 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5131 with dirtrack-mode.
5132
651e947e
EZ
51332012-01-01 Eli Zaretskii <eliz@gnu.org>
5134
1d00653d
SM
5135 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5136 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5137 libgnutls-26.dll.
5138
94d4c7dc
AS
51392011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5140
5141 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5142
8d43f3cd
EZ
51432011-12-31 Eli Zaretskii <eliz@gnu.org>
5144
5145 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5146 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5147
98c8795a
MA
51482011-12-29 Michael Albinus <michael.albinus@gmx.de>
5149
5150 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5151 also for alternative shells.
5152 (tramp-open-connection-setup-interactive-shell): Check, whether
5153 the shell is a busybox.
5154 (tramp-send-command): Don't suppress multiple prompts for
5155 busyboxes, it hurts.
5156
51281b32
CY
51572011-12-28 Chong Yidong <cyd@gnu.org>
5158
5159 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5160 (gdb-get-source-file): Move mode line update to
5161 gdb-get-source-file (Bug#10087).
5162
2170cb53
CY
51632011-12-25 Chong Yidong <cyd@gnu.org>
5164
5165 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5166 gud-gdb-marker-filter without taking it as an argument.
5167 (gud-gdb-run-command-fetch-lines): Caller changed.
5168 (gud-gdb-completion-function): New variable.
5169 (gud-gdb-completion-at-point): Use it.
5170 (gud-gdb-completions-1): Split from gud-gdb-completions.
5171
5172 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5173 function as separate arguments.
5174 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5175 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5176 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5177 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5178 (gdb-stopped, def-gdb-auto-update-trigger)
5179 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5180 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5181 Callers changed.
2170cb53
CY
5182 (gud-gdbmi-completions): New function.
5183 (gdb): Use it for generating the completion table.
5184
be8b11bb
AM
51852011-12-24 Alan Mackenzie <acm@muc.de>
5186
5187 Introduce a mechanism to widen the region used in context font
1d00653d 5188 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5189
1d00653d
SM
5190 * progmodes/cc-langs.el (c-before-font-lock-functions):
5191 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5192 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5193 functions to be run just before context (etc.) font locking.
5194
5195 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5196 New, functionality extracted from
be8b11bb 5197 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5198 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5199 (c-after-change): Set c-in-after-change-fontification.
5200 (c-set-fl-decl-start): Rejig its interface, so it can be called
5201 from both after-change and context fontifying.
b81d40f0
JB
5202 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5203 New functions.
5204 (c-standard-font-lock-fontify-region-function): New variable.
5205 (c-font-lock-fontify-region): New function.
be8b11bb 5206
341cf6ac
JL
52072011-12-24 Juri Linkov <juri@jurta.org>
5208
5209 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5210 (Bug#10348)
5211
bffcee0a
MA
52122011-12-23 Michael Albinus <michael.albinus@gmx.de>
5213
5214 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5215 existence of source file. (Bug#10325)
5216
cb5e207c
AM
52172011-12-23 Alan Mackenzie <acm@muc.de>
5218
5219 Fix unstable fontification inside templates.
5220
b81d40f0
JB
5221 * progmodes/cc-langs.el (c-before-font-lock-functions):
5222 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5223 additionally has c-set-fl-decl-start. The other languages (apart
5224 from AWK) have that as a single entry.
5225
b81d40f0
JB
5226 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5227 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5228 c-set-fl-decl-start.
5229
b81d40f0
JB
5230 * progmodes/cc-mode.el (c-common-init, c-after-change):
5231 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5232 (c-set-fl-decl-start): New function, extracted from
5233 c-font-lock-enclosing-decls and enhanced.
5234
60ff536c
JB
52352011-12-23 Juanma Barranquero <lekktu@gmail.com>
5236
5237 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5238
1c4757d6
JL
52392011-12-22 Juri Linkov <juri@jurta.org>
5240
5241 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5242
d031f2c7
CY
52432011-12-22 Chong Yidong <cyd@gnu.org>
5244
5245 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5246
bace743a
DA
52472011-12-21 Drew Adams <drew.adams@oracle.com>
5248
5249 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5250
728a1f2b
JC
52512011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5252
5253 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5254
0d373f73
TZ
52552011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5256
fec0aaa4
TZ
5257 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5258 highlighting and support. Fix up comments for capitalization.
5259 (cfengine-mode-debug): New var.
5260 (cfengine3-mode): Change the modeline indicator to "CFE3".
5261 (cfengine3-font-lock-keywords): Improve defun highlighting.
5262 (cfengine2-actions): Rename from `cfengine-actions'.
5263 (cfengine2-font-lock-keywords): Rename from
5264 `cfengine-font-lock-keywords'.
5265 (cfengine2-imenu-expression): Rename from
5266 `cfengine-imenu-expression'.
5267 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5268 (cfengine2-beginning-of-defun): Rename from
5269 `cfengine-beginning-of-defun'.
5270 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5271 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5272 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5273 modeline indicator to "CFE2".
5274 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5275 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5276
bc86f573
CY
52772011-12-21 Chong Yidong <cyd@gnu.org>
5278
5279 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5280 filename argument.
5281
d45ba96b
MR
52822011-12-20 Martin Rudalics <rudalics@gmx.at>
5283
5284 * window.el (window-normalize-buffer-to-display): Remove.
5285 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5286
a6198c90
CY
52872011-12-19 Chong Yidong <cyd@gnu.org>
5288
5289 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5290 Don't signal an error in a predicate function; return non-nil.
5291 (vc-dir-mark-file): Move the error here.
5292 (vc-dir-mark-unmark): If acting on the region, keep going if one
5293 of the entries cannot be marked/unmarked.
5294 (vc-dir-mark-all-files): If current entry is a directory, mark
5295 only child files, as documented.
5296
34c5fb55
VB
52972011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5298
5299 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5300 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5301 addition.
5302
c803b2b7
JD
53032011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5304
5305 * term/ns-win.el (ns-get-selection-internal)
5306 (ns-store-selection-internal): Declare.
1154d12e
JB
5307 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5308 Declare as obsolete.
5309 (ns-get-pasteboard, ns-paste-secondary):
5310 Use ns-get-selection-internal.
5311 (ns-set-pasteboard, ns-copy-including-secondary):
5312 Use ns-store-selection-internal.
c803b2b7 5313
9cff91f8 53142011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5315
5316 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5317 (vc-deduce-fileset): Doc fix.
99a289d9 5318
f16c898a
AS
53192011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5320
5321 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5322
763237c4
SS
53232011-12-13 Sam Steingold <sds@gnu.org>
5324
5325 * man.el (Man-getpage-in-background): When running under a
5326 window-system, ignore $MANWIDTH and $COLUMNS.
5327
5fc1c122
KH
53282011-12-15 Kenichi Handa <handa@m17n.org>
5329
5330 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5331 (setup-ethiopic-environment-internal): Comment out key-binding for
5332 ethio-toggle-punctuation.
5333
13d49cbb
AM
53342011-12-13 Alan Mackenzie <acm@muc.de>
5335
898169a2
AM
5336 Add the switch statement to AWK Mode.
5337
7a71b18d 5338 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5339 "default" to the keywords regexp.
5340
7a71b18d 5341 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5342 expression as the rest.
1d00653d
SM
5343 (c-nonlabel-token-key): Allow string literals for AWK.
5344 Refactor for the other modes.
898169a2 5345
13d49cbb 5346 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5347 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5348 routines. Limit backward searching in c-font-lock-enclosing.decl.
5349
5350 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5351 pp-state and literal type in addition to the limits.
1d00653d 5352 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5353 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5354 (c-slow-in-literal, c-fast-in-literal): Remove.
5355 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5356
5357 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5358 being in a literal. Add a limit for backward searching.
5359
5360 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5361 c-slow-in-literal.
5362
15e0efc7
SM
53632011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5366
454592a6
MR
53672011-12-13 Martin Rudalics <rudalics@gmx.at>
5368
5369 * window.el (delete-other-windows): Use correct frame in call to
5370 window-with-parameter.
5371
87393f26
DP
53722011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5373
5374 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5375 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5376 (makefile-gmake-statements, makefile-makepp-statements):
5377 Use it and add new makepp keywords.
5378 (makefile-makepp-font-lock-keywords): Add new patterns.
5379 (makefile-match-function-end): Match new [...] and [[...]].
5380
11636b22
JB
53812011-12-11 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * ses.el (ses-call-printer-return, ses-cell-property-get)
5384 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5385 (ses-create-cell-variable, ses-reset-header-string)
5386 (ses-cell-set-formula, ses-repair-cell-reference-all)
5387 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5388 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5389 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5390 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5391 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5392 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5393 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5394 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5395 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5396 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5397 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5398 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5399
cf018193
VB
54002011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5401
5402 * ses.el: The overall change is to add cell renaming, that is
5403 setting fancy names for cell symbols other than name matching
5404 "\\`[A-Z]+[0-9]+\\'" regexp .
5405 (ses-create-cell-variable): New defun.
5406 (ses-relocate-formula): Relocate formulas only for cells the
5407 symbols of which are not renamed, i.e. symbols whose names do not
5408 match regexp "\\`[A-Z]+[0-9]+\\'".
5409 (ses-relocate-all): Relocate values only for cells the symbols of
5410 which are not renamed.
5411 (ses-load): Create cells variables as the (ses-cell ...) are read,
5412 in order to check row col consistency with cell symbol name only
5413 for cells that are not renamed.
5414 (ses-replace-name-in-formula): New defun.
5415 (ses-rename-cell): New defun.
5416
ee957461
CY
54172011-12-11 Chong Yidong <cyd@gnu.org>
5418
5419 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5420 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5421
9a9e9ef0
MR
54222011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5423
5424 * window.el (other-window): Fix docstring.
5425
92a8eba5
EZ
54262011-12-10 Eli Zaretskii <eliz@gnu.org>
5427
5428 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5429 `from' or `to' address before taking its substring.
5430 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5431 encoded name is chopped in the middle of the encoded string, and
5432 thus displayed encoded.
5433
e152e577
JB
54342011-12-10 Juanma Barranquero <lekktu@gmail.com>
5435
5436 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5437
e5d84bfe
EZ
54382011-12-10 Eli Zaretskii <eliz@gnu.org>
5439
5440 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5441 to use texinfo-update-node and commands that call it if the
5442 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5443 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5444 (texinfo-all-menus-update, texinfo-master-menu)
5445 (texinfo-update-node, texinfo-every-node-update)
5446 (texinfo-multiple-files-update): Doc fix. Warn against updating
5447 all the @node lines.
5448 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5449 argument is numeric. Explain better in the doc string what the
5450 function really does.
5451 (texinfo-insert-master-menu-list): Improve the error message
5452 displayed if there's no menu in the Top node.
5453 (Bug#2975) See also this thread:
e5d84bfe
EZ
5454 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5455
1d84e9bb
MG
54562011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5457
5458 * speedbar.el (speedbar-supported-extension-expressions):
5459 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5460
382c953b
JB
54612011-12-09 Juanma Barranquero <lekktu@gmail.com>
5462
5463 * printing.el (pr-mode-alist):
5464 * simple.el (filter-buffer-substring-functions)
5465 (completion-list-insert-choice-function):
5466 * window.el (window-with-parameter, window-atom-root)
5467 (window-sides-slots, window-size-fixed, window-min-delta)
5468 (window-max-delta, window--resize-mini-window)
5469 (window--resize-child-windows-normal, window-tree)
5470 (delete-other-windows, quit-window, split-window)
5471 (display-buffer-record-window, special-display-buffer-names)
5472 (special-display-regexps, special-display-popup-frame)
5473 (same-window-p, split-window-sensibly)
5474 (display-buffer-overriding-action, display-buffer-alist)
5475 (display-buffer-base-action, display-buffer, switch-to-buffer)
5476 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5477 (fit-window-to-buffer, recenter-positions)
5478 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5479 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5480 and remove unneeded backslashes in docstrings.
5481
39c9faef
SM
54822011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5483
98449af8
SM
5484 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5485
39c9faef
SM
5486 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5487 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5488 end in ".mk".
5489 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5490 when reading the makefile (bug#10116).
5491
86ed9fdc
SM
54922011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5495 (bug#10116).
5496
5580f89d
GM
54972011-12-06 Glenn Morris <rgm@gnu.org>
5498
5499 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5500
28d3917c
CY
55012011-12-06 Chong Yidong <cyd@gnu.org>
5502
5503 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5504
a98edce9
JB
55052011-12-06 Juanma Barranquero <lekktu@gmail.com>
5506
5507 * textmodes/table.el (table-shorten-cell): Fix typo.
5508
e65adfac
CG
55092011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5510
5511 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5512
71cc0b74
EZ
55132011-12-05 Eli Zaretskii <eliz@gnu.org>
5514
5515 * descr-text.el (describe-char): Fix display of strong
5516 right-to-left characters and directional embeddings and overrides.
5517
5518 * simple.el (what-cursor-position): Fix display of codepoints of
5519 strong right-to-left characters.
5520
315bc30d
CY
55212011-12-05 Chong Yidong <cyd@gnu.org>
5522
5523 * faces.el (read-color): Doc fix.
5524
58a70b94
GM
55252011-12-05 Glenn Morris <rgm@gnu.org>
5526
5527 * align.el (align--set-marker): Add doc-string.
5528 Don't try to move something that is not a marker. (Bug#10216)
5529
5158face
GM
55302011-12-04 Glenn Morris <rgm@gnu.org>
5531
5532 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5533 overly zealous deletion of trailing whitespace.
5534
520fca41
JB
55352011-12-04 Juanma Barranquero <lekktu@gmail.com>
5536
5537 * server.el (server-delete-client): On Windows, do not try to delete
5538 the only terminal.
5539 (server-process-filter): On Windows, treat requests for a tty frame as
5540 if they were for a GUI frame if the running server is in GUI mode.
5541
5e605a2e
GM
55422011-12-03 Glenn Morris <rgm@gnu.org>
5543
5544 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5545
5c3fe83f
SM
55462011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5547
6f5e57e7
SM
5548 * electric.el: Streamline electric-indent's hook.
5549 (electric-indent-chars): Revert to simple list.
5550 (electric-indent-functions): New var.
5551 (electric-indent-post-self-insert-function): Use it.
5552
5c3fe83f
SM
5553 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5554 there's no inferior buffer (bug#10196).
5555 (prolog-consult-compile): Don't use toggle-read-only.
5556
6bdac736
MA
55572011-12-02 Michael Albinus <michael.albinus@gmx.de>
5558
5559 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5560 interrupt. (Bug#10187)
5561
6131ba7f
SM
55622011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5563
99c79fee
SM
5564 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5565 (bug#9160).
5566
6131ba7f
SM
5567 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5568 (bug#10191).
5569
cb0a02ea
JL
55702011-12-02 Juri Linkov <juri@jurta.org>
5571
5572 * info.el (Info-search): Display "end of manual" when Isearch
5573 reaches the end of single-file Info manual. (Bug#9918)
5574
66e0570c
EZ
55752011-12-02 Eli Zaretskii <eliz@gnu.org>
5576
5577 * isearch.el (isearch-message-prefix): Run the input method part
5578 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5579
02b16839
JL
55802011-12-02 Juri Linkov <juri@jurta.org>
5581
5582 * isearch.el (isearch-occur): Use `word-search-regexp' for
5583 `isearch-word'.
5584 (isearch-search-and-update): Add condition for `isearch-word' and
5585 call `word-search-regexp'. (Bug#10145)
5586
0b950688
GM
55872011-12-01 Glenn Morris <rgm@gnu.org>
5588
5589 * eshell/em-hist.el (eshell-hist-initialize):
5590 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5591 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5592
9505c3c7
SM
55932011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5596
1bbe96b2 55972011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5598
a1beca85
SM
5599 * progmodes/verilog-mode.el (verilog-pretty-expr):
5600 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5601 verilog, such as += *= and the like.
5602 (verilog-assignment-operator-re): Regular expression to find the
5603 assigment operator in a verilog assignment.
5604 (verilog-assignment-operation-re): Regular expression to find an
5605 assignment statement for pretty-expr.
5606 (verilog-in-attribute-p): Query returns true if point is in an
5607 attribute context; used to skip these for expression line up from
5608 pretty-expr.
5609 (verilog-in-parameter-p): Query returns true if point is in an
5610 parameter definition context; used to skip these for expression
5611 line up from pretty-expr.
5612 (verilog-in-parenthesis-p): Query returns true if point is in a
5613 parenthetical expression, specifically ( ) but not [ ] or { };
5614 used by pretty-expr.
5615 (verilog-just-one-space): If there is no space, don't add one.
5616 (verilog-get-lineup-indent-2): Specifically skip just attribute
5617 contexts for expression lineup, rather than skipping all
5618 parenthetical expressions.
5619 (verilog-calculate-indent): Fix comment, and fix indent.
5620 (verilog-do-indent): Indent declarations in lists (suggested by
5621 Joachim Lechner).
5622 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5623 skeleton items.
5624 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5625 by Alain Mellan).
5626
1bbe96b2 56272011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5628
5629 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5630 parameters with embedded comments. Reported by Ray Stevens.
5631 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5632 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5633 Reported by Tim Holt.
5634 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5635 instantiated by upper module causing wrong expansion until AUTOed a
5636 second time. Reported by K C Buckenmaier.
5637 (verilog-diff-auto): Fix showing .* as a difference when
5638 `verilog-auto-star-save' off. Reported by Dan Dever.
5639 (verilog-auto-reset, verilog-read-always-signals)
5640 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5641 temporary signals in reset list if
5642 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5643 style to each signal's assignment type, bug381.
5644 Reported by Thomas Esposito.
6288f0ca
WS
5645 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5646 (verilog-uvm-statement-re): Support UVM indentation and
5647 highlighting, with old OVM keywords only.
a1beca85 5648 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5649 Support AUTOTIEOFF creating non-wire data types.
5650 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5651 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5652 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5653 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5654 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5655 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5656 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5657 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5658 non-numeric vector width. Reported by Alex Reed.
5659 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5660 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5661 (verilog-auto-delete-trailing-whitespace):
5662 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5663 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5664 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5665 Fix verilog-scan-cache corruption when running user AUTO expansion
5666 hooks that call indentation routines.
5667 (verilog-simplify-range-expression): Fix typo ignoring lower case
5668 identifiers.
5669 (verilog-delete-auto): Fix delete-autos to also remove user created
5670 automatics, as long as they start with AUTO.
5671 (verilog-batch-diff-auto, verilog-diff-auto)
5672 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5673 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5674 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5675 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5676 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5677 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5678 is disabled and its cache will get corrupt, causing AUTOS not to
5679 expand. Instead use only -quick functions.
5680 (verilog-scan-region): Fix scanning over escaped quotes.
5681 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5682 (verilog-re-search-backward-quick)
5683 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5684 related functions now ignore strings, to fix misparsing of strings
5685 with magic comments embedded in them.
a1beca85
SM
5686 (verilog-read-auto-template):
5687 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5688 Reported by Brad Dobbie.
5689 (verilog-read-auto-template):
5690 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5691 Reported by Brad Dobbie.
6288f0ca
WS
5692 (verilog-auto-inst, verilog-auto-inst-param)
5693 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5694 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5695 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5696 debugging templates without merge conflicts, bug357.
5697 Reported by Brad Dobbie.
5698 (verilog-read-auto-template):
5699 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5700 Reported by Brad Dobbie.
5701 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5702 abbrevs so user won't be asked to save.
5703 (verilog-read-auto-lisp-present): Fix to start at beginning of
5704 buffer in case called outside of verilog-auto.
5705 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5706 to "X-2". Reported by Matthew Myers.
5707 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5708 all inputs from module templates. Reported by Leith Johnson.
5709 (verilog-module-inside-filename-p): Fix locating programs as with
5710 modules.
5711 (verilog-auto-inst-port): Fix vl-width expressions when using
5712 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5713 (verilog-decls-get-regs, verilog-decls-get-signals,
5714 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5715 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5716 verilog-read-decls): Combine reg and wire structures into one var
5717 structure to represent SystemVerilog concepts.
5718 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5719 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5720 (verilog-auto-wire-type, verilog-insert-definition):
5721 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5722 SystemVerilog "logic" keyword instead of "wire"/"reg".
5723 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5724 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5725 ifdef or generate if so there's not a driver conflict).
5726 Reported by Matthew Myers.
5727 (verilog-auto-declare-nettype, verilog-insert-definition):
5728 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5729 `default_nettype none. Reported by Julian Gorfajn.
5730 (verilog-read-always-signals-recurse, verilog-read-decls)
5731 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5732 malformed end statement, bug325. Reported by Joshua Wise and
5733 Andrew Drake.
5734 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5735 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5736 when expanding .* in interfaces, bug320.
5737 Reported by Pierre-David Pfister.
6288f0ca 5738 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5739 name and open parenthesis, bug317.
5740 Reported by Pierre-David Pfister.
6288f0ca
WS
5741 (verilog-simplify-range-expression): Fix simplification of
5742 multiplications inside AUTOWIRE connections, bug303.
5743 (verilog-auto-inst-port): Support parameter expansion in
5744 multidimensional arrays.
5745 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5746 after "assert property". Reported by Julian Gorfajn.
5747 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5748 with multiplication, bug303.
5749 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5750 Reported by Jan Frode Lonnum.
5751
1bbe96b2
GM
57522011-11-30 Juanma Barranquero <lekktu@gmail.com>
5753
5754 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5755 (hfy-shell-file-name, hfy-shell):
5756 * international/fontset.el (x-decompose-font-name): Fix typos.
5757
57582011-11-29 Ken Brown <kbrown@cornell.edu>
5759
5760 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5761 (gdb-version): Remove defvar.
5762 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5763 (gdb-gud-context-command, gdb-non-stop-handler)
5764 (gdb-current-context-command, gdb-stopped): Use it.
5765 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5766 (gdb-non-stop-handler): Don't enable pretty-printing here.
5767 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5768 non-stop mode. Use the following.
5769 (gdb-check-target-async): New defun.
5770 (gud-watch, gdb-stopped): Fix whitespace.
5771 (gdb-get-source-file): Don't try to display the source file if
5772 `gdb-main-file' is nil.
5773
57742011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * align.el: Try to generate fewer markers (bug#10047).
5777 (align--set-marker): New macro.
5778 (align-region): Use it.
5779
c935221f
SM
57802011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5781
5782 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5783
e70b5064
CY
57842011-11-29 Chong Yidong <cyd@gnu.org>
5785
5786 * indent.el (indent-for-tab-command, indent-according-to-mode):
5787 Doc fix.
5788 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5789
f3af92b7
MA
57902011-11-29 Michael Albinus <michael.albinus@gmx.de>
5791
5792 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5793 aware of remote file names. (Bug#10124)
5794
ed472be9
CY
57952011-11-29 Chong Yidong <cyd@gnu.org>
5796
5797 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5798
24510c22
SM
57992011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5800
5801 * files.el (find-file): Don't use force-same-window (bug#10144).
5802 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5803 use pop-to-buffer if the selected window can't be used.
5804 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5805
c60c3703
EZ
58062011-11-28 Eli Zaretskii <eliz@gnu.org>
5807
5808 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5809 special-mode-map.
5810
e95def75
CY
58112011-11-28 Chong Yidong <cyd@gnu.org>
5812
5813 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5814
c3f1c606
NR
58152011-11-27 Nick Roberts <nickrob@snap.net.nz>
5816
5817 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5818 gdb-get-source-file-list on gdb-create-source-file-list.
5819
00db469c
EZ
58202011-11-26 Eli Zaretskii <eliz@gnu.org>
5821
5822 * whitespace.el (whitespace-newline): Use a different foreground
5823 color for 16-color light-background displays.
5824
4ad3bc2a
CY
58252011-11-24 Chong Yidong <cyd@gnu.org>
5826
5827 * window.el (display-buffer--special-action): Doc fix.
5828
e9fce1ac
JB
58292011-11-25 Juanma Barranquero <lekktu@gmail.com>
5830
5831 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5832 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5833 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5834 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5835 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5836 (avl-tree-stack-first):
5837 * emacs-lisp/cconv.el (cconv--analyse-use):
5838 * net/gnutls.el (gnutls-negotiate): Fix typos.
5839
cb825e5d
GM
58402011-11-24 Glenn Morris <rgm@gnu.org>
5841
3adbe224
GM
5842 * lpr.el (lpr-windows-system, lpr-lp-system):
5843 * mail/binhex.el (binhex-begin-line):
5844 * progmodes/grep.el (grep-history, grep-find-history):
5845 * textmodes/flyspell.el:
5846 * vc/pcvs-defs.el (cvs-global-menu):
5847 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5848 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5849 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5850
321decc8
GM
5851 * net/tls.el: Fix case of "GnuTLS".
5852
420b63ad
GM
5853 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5854
cb825e5d
GM
5855 * version.el (emacs-build-system): Give it a doc-string.
5856
a0649f08
JL
58572011-11-24 Juri Linkov <juri@jurta.org>
5858
5859 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5860
c0bc0fd4
GM
58612011-11-24 Glenn Morris <rgm@gnu.org>
5862
5863 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5864 if called on a non-mime message just toggle the headers. (Bug#8006)
5865
20db1522
JB
58662011-11-24 Juanma Barranquero <lekktu@gmail.com>
5867
5868 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5869 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5870 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5871 (allout-rebullet-heading, allout-open-sibtopic)
5872 (allout-toggle-current-subtree-encryption)
5873 (allout-toggle-subtree-encryption, allout-encrypt-string)
5874 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5875 (allout-distinctive-bullets-string, allout-auto-activation):
5876 * window.el (window-normalize-buffer-to-display):
5877 * progmodes/verilog-mode.el (verilog-batch-indent):
5878 * textmodes/bibtex.el (bibtex-field-braces-opt)
5879 (bibtex-field-strings-opt):
5880 * vc/cvs-status.el (cvs-tree-merge):
5881 Fix typos.
5882
7262a87c
MA
58832011-11-23 Michael Albinus <michael.albinus@gmx.de>
5884
5885 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5886 `non-essential' to t, in order to avoid remote connections.
5887
283430a1
EZ
58882011-11-23 Eli Zaretskii <eliz@gnu.org>
5889
a1beca85
SM
5890 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5891 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5892 case-insensitively.
5893
d2992a38
ML
58942011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5895
5896 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5897
50419064
GM
58982011-11-23 Glenn Morris <rgm@gnu.org>
5899
da94eca1
GM
5900 * paths.el (rmail-file-name): Reformat the doc-string so that it
5901 is picked up.
5902
9aac4de2
GM
5903 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5904 (rmail-auto-file): Ignore case in the "special" field names,
5905 as mail-fetch-field does for all others.
5906
8038d2d2
GM
5907 * mail/rmail.el (rmail-forward):
5908 * mail/rmailkwd.el (rmail-set-label):
5909 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5910 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5911
f3fe222a
GM
5912 * mail/rmail.el (rmail-current-message): Doc fix.
5913
50419064
GM
5914 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5915
28109f49
SM
59162011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5917
5918 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5919
394c65f1
GM
59202011-11-22 Glenn Morris <rgm@gnu.org>
5921
5922 * mail/rmailmm.el (test-rmail-mime-handler)
5923 (test-rmail-mime-bulk-handler)
5924 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5925
f2a0aa3a
JL
59262011-11-21 Juri Linkov <juri@jurta.org>
5927
1154d12e
JB
5928 * calc/calc.el (calc-read-key-sequence):
5929 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5930
9c34a344
LMI
59312011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5932
5933 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5934 Tell the caller that the next line needs recomputation, even
5935 though it doesn't start a sexp (bug#10094).
5936
f04a3be9
SM
59372011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5940
7978747f
SM
59412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5942
f04a3be9
SM
5943 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5944 Use force-same-window.
7978747f 5945
fe7a3057
JB
59462011-11-20 Juanma Barranquero <lekktu@gmail.com>
5947
5948 * descr-text.el (describe-char-unicode-data):
5949 * json.el (json-string-escape):
5950 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5951 (Footnote-unicode, Footnote-style-p):
5952 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5953
24901d61
CY
59542011-11-20 Chong Yidong <cyd@gnu.org>
5955
5956 * window.el (replace-buffer-in-windows): Restore interactive spec.
5957
bac7ff22
SM
59582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5959
24f3d7b9
SM
5960 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5961
bac7ff22
SM
5962 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5963 (byte-compile-global-not-obsolete-vars): New var.
5964 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5965 Use it.
5966 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5967
cd1181db
JB
59682011-11-20 Juanma Barranquero <lekktu@gmail.com>
5969
5970 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5971 * progmodes/pascal.el (electric-pascal-equal):
5972 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5973 * xml.el (xml-substitute-special): Fix typos.
5974
7fb18e9e
GM
59752011-11-20 Glenn Morris <rgm@gnu.org>
5976
5977 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5978 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5979 Doc fixes.
5980 (rmail-decode-mime-charset): Mark as obsolete.
5981
5982 * mail/rmailsum.el (rmail-message-regexp-p-1):
5983 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5984 Before using mime functions, check they are set. (Bug#10077)
5985
d5a6b3ba
JL
59862011-11-19 Juri Linkov <juri@jurta.org>
5987
5988 * info.el (Info-finder-find-node): Use `package--builtins' instead
5989 of `package-alist'. Use node names formed by the pattern "Keyword "
5990 and the keyword name.
5991
e981b61f
AS
59922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5993
1d00653d 5994 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 5995
3ffbc301
JL
59962011-11-19 Juri Linkov <juri@jurta.org>
5997
5998 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5999 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6000 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6001 `old-history', `old-history-forward'. Add let-binding
6002 `window-selected'. Remove calls to `kill-buffer',
6003 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6004 before calling `Info-find-node', so `Info-find-node-2' will reread
6005 the Info file. Restore window positions only when `window-selected'
6006 is non-nil.
6007
30c62133
JL
60082011-11-19 Juri Linkov <juri@jurta.org>
6009
6010 * isearch.el (isearch-lazy-highlight-new-loop):
6011 Remove condition `(not isearch-error)'. (Bug#9918)
6012
6013 * misearch.el (multi-isearch-search-fun): Add condition
6014 `(not bound)' to ignore lazy-highlighting search.
6015 Add the search-failed message "end of multi" when the end of
6016 multi-sequence is reached. Uncapitalize the search-failed
6017 message "Repeat for next buffer".
6018
6019 * info.el (Info-search): Add the search-failed message
6020 "end of the manual" when the end of the manual is reached
6021 in Isearch mode.
6022
645ca9cf
JL
60232011-11-19 Juri Linkov <juri@jurta.org>
6024
6025 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6026 Use non-destructive `remove' instead of `delete' because
6027 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6028 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6029
df754f66
JL
60302011-11-19 Juri Linkov <juri@jurta.org>
6031
6032 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6033 to nil instead of binding `search-ring' and `regexp-search-ring'.
6034 (Bug#9185)
6035
0e23d96a
EZ
60362011-11-19 Eli Zaretskii <eliz@gnu.org>
6037
6038 * simple.el (line-move): Force movement by logical lines for any
6039 hscrolled window, not only when auto-hscroll-mode is on.
6040 (line-move-visual): Update doc string to that effect. (Bug#10076)
6041
8a6ccb66
AS
60422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6043
6044 * language/european.el (macintosh): Define as alias for mac-roman.
6045
49ae5b39
EZ
60462011-11-19 Eli Zaretskii <eliz@gnu.org>
6047
6048 * mail/rmailmm.el (rmail-mime-display-header)
6049 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6050 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6051 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6052 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6053 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6054 of a raw aref.
6055 (rmail-mime-entity-segment): To get past the tagline, move forward
6056 2 more lines, to account for the 2 empty lines that precede and
6057 follow the line with the buttons.
6058 (rmail-mime-update-tagline): Move one more line, to get past the
6059 empty line that follows the buttons in the tagline. (Bug#9520)
6060
c56cad4a
MR
60612011-11-19 Martin Rudalics <rudalics@gmx.at>
6062
6063 * window.el (window-max-delta-1, window-min-delta-1)
6064 (window-min-size-1, window-state-get-1, window-state-put-1)
6065 (window-state-put-2): Use "window--" prefix.
6066
cbe71af3
SM
60672011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6068
2ad52c60
SM
6069 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6070 (smie-warning-count): New var.
6071 (smie-set-prec2tab): Use it.
6072 (smie-bnf->prec2): Improve warnings. Add docstring.
6073 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6074 (smie-bnf--set-class): New function.
6075 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6076 corner case.
6077
6944dbc1
SM
6078 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6079 (compilation-error-properties, compilation-move-to-column):
6080 Handle compilation-first-column while in the target buffer.
6081
c400c4d7
SM
6082 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6083 Don't hardcode point-min==1.
6084
6dbe3e96
SM
6085 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6086 (eshell-rewrite-for-command): Remove workaround.
6087 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6088 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6089 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6090
cbe71af3
SM
6091 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6092
a8e1496d
GM
60932011-11-17 Glenn Morris <rgm@gnu.org>
6094
6095 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6096 Ignore buffer-local generated-autoload-file if it is the same
6097 as the global value. (Bug#10049)
6098
df85d315
JB
60992011-11-17 Juanma Barranquero <lekktu@gmail.com>
6100
6101 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6102 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6103 (reftex-toc-previous-heading, reftex-toc-max-level)
6104 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6105 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6106 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6107 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6108 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6109 (reftex-toc-rename-label, reftex-toc-visit-location)
6110 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6111 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6112 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6113 leaving "*toc*" only for references to the buffer.
6114
a0c2d0ae
MR
61152011-11-17 Martin Rudalics <rudalics@gmx.at>
6116
6117 * window.el (window-resize, delete-window, split-window):
6118 Replace window-splits by window-combination-resize.
1d00653d 6119 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6120
35c0bac8
GM
61212011-11-17 Glenn Morris <rgm@gnu.org>
6122
6123 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6124 Make bash entry derive from sh entry, not shell entry.
6125
d0c8fc8a
MA
61262011-11-16 Michael Albinus <michael.albinus@gmx.de>
6127
d0c8fc8a
MA
6128 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6129 properties of linked files. (Bug#9879)
6130
7262a87c
MA
6131 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6132 local file name.
6133
7877f373
JB
61342011-11-16 Juanma Barranquero <lekktu@gmail.com>
6135
6136 * menu-bar.el (menu-bar-file-menu):
6137 * printing.el (pr-ps-utility):
6138 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6139 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6140 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6141 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6142 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6143 (icalendar--convert-cyclic-to-ical)
6144 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6145 (icalendar--convert-ical-to-diary)
6146 (icalendar--convert-recurring-to-diary)
6147 (icalendar--convert-non-recurring-all-day-to-diary)
6148 (icalendar-import-format-sample):
6149 * progmodes/idlw-shell.el (idlwave-shell-mode):
6150 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6151 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6152 (vhdl-ps-print-init): Fix typos.
6153
10649b82
KM
61542011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6155
9d0cfcd6
GM
6156 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6157 FSF and collapse date sequence, obscure author/maintainer email address
6158 better, remove extra version line, track relocation of author's webpage.
10649b82 6159
9d0cfcd6
GM
6160 * progmodes/python.el (python-pdbtrack-input-prompt)
6161 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6162 regular python pdb prompts. Adjustments shamelessly taken exactly as
6163 suggested in EmacsWiki page (tiny change):
6164 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6165
58179cce
JB
61662011-11-16 Juanma Barranquero <lekktu@gmail.com>
6167
6168 * expand.el (expand-pos, expand-index, expand-point):
6169 Remove redundant info from docstring.
6170 (expand-add-abbrevs): Doc fix.
6171 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6172 (expand-sample-perl-mode-expand-list): Fix typos.
6173
6174 * net/dbus.el (dbus-event-member-name):
6175 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6176 * term/pc-win.el (msdos-create-frame-with-faces):
6177 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6178
b6f67890
MR
61792011-11-16 Martin Rudalics <rudalics@gmx.at>
6180
6181 * window.el (split-window, window-state-get-1)
6182 (window-state-put-1, window-state-put-2): Rename occurrences of
6183 window-nest to window-combination-limit.
1d00653d 6184 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6185
ce7ddba0
CY
61862011-11-16 Chong Yidong <cyd@gnu.org>
6187
6188 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6189 regexp (Bug#10033).
6190
3ae704f4
SM
61912011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6194 `completing-read' will remove *Completions* and will preserve
6195 current-buffer for us.
6196 (tmm-add-prompt): Users of *Completions* will always (re)set its
6197 major mode.
6198 (tmm-old-comp-map): Remove.
6199
6ad1cdde
GM
62002011-11-16 Glenn Morris <rgm@gnu.org>
6201
6202 * mail/rmailedit.el: Require rmailmm when compiling.
6203 (rmail-old-mime-state): New declaration.
6204 (rmail-edit-current-message): If editing a mime message,
6205 edit the "raw" message from the mbox buffer.
6206 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6207
d20faa20
GM
62082011-11-15 Glenn Morris <rgm@gnu.org>
6209
6210 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6211 which wasn't being used. Add optional arg to force given state.
6212 (rmail-mime): Add optional arg to force given state.
6213
c7015153
JB
62142011-11-15 Juanma Barranquero <lekktu@gmail.com>
6215
6216 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6217 * frame.el (display-mm-dimensions-alist):
6218 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6219 (outline-move-subtree-down):
6220 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6221 (newsticker--treeview-do-get-node):
6222 * net/quickurl.el (quickurl-list-buffer-name):
6223 * progmodes/dcl-mode.el (dcl-mode):
6224 * progmodes/gdb-mi.el (gdb-mapcar*):
6225 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6226
45261b50
GM
62272011-11-15 Glenn Morris <rgm@gnu.org>
6228
6229 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6230 in a boolean sense, so just make it a boolean, and fix the doc.
6231 (rmail-show-mime-function, rmail-mime-feature)
6232 (rmail-require-mime-maybe): Doc fixes.
6233 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6234
6235 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6236
0d26e0b6
JB
62372011-11-15 Juanma Barranquero <lekktu@gmail.com>
6238
6239 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6240 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6241 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6242 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6243
447f30f6
GM
62442011-11-15 Glenn Morris <rgm@gnu.org>
6245
672b871d
GM
6246 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6247 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6248 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6249 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6250 (rmail-mime, rmail-show-mime): Doc fixes.
6251
f6aa5bb1
GM
6252 * term/ns-win.el (mode-line-frame-identification):
6253 Leave it alone. (Bug#10051)
6254
947cd66b
GM
6255 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6256
447f30f6
GM
6257 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6258 Handle empty buffers. (Bug#9978)
6259
0b381c7e
JB
62602011-11-14 Juanma Barranquero <lekktu@gmail.com>
6261
6262 * international/mule.el (define-charset):
6263 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6264 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6265 * progmodes/verilog-mode.el (verilog-backward-token):
6266 * textmodes/ispell.el (lookup-words):
6267 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6268
71e027ac
GM
62692011-11-14 Glenn Morris <rgm@gnu.org>
6270
56632ce4
GM
6271 * progmodes/executable.el
6272 (executable-make-buffer-file-executable-if-script-p):
6273 Handle file-modes returning nil.
6274
40500957
GM
6275 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6276 message - not necessary, and causes problems. (Bug#9831)
6277
071c2340
GM
6278 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6279
d3cfca60
GM
6280 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6281
71e027ac
GM
6282 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6283 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6284 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6285
89d61221
MR
62862011-11-12 Martin Rudalics <rudalics@gmx.at>
6287
6288 * window.el (window-resize, delete-window): Use window-splits
6289 variable instead of function.
6290 (window-state-get-1, window-state-put-2, window-state-put):
6291 Don't deal with windows' splits status.
6292
98282f6f
GM
62932011-11-12 Glenn Morris <rgm@gnu.org>
6294
6295 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6296 (apropos-documentation): Doc fixes.
6297
40a8bdf6
JB
62982011-11-11 Juanma Barranquero <lekktu@gmail.com>
6299
6300 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6301 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6302
65bd19ff
SM
63032011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * electric.el (electric-indent-post-self-insert-function): Make it
6306 possible for a char to only indent in some circumstances.
6307 (electric-indent-mode): Simplify.
6308
54f9154c
MR
63092011-11-11 Martin Rudalics <rudalics@gmx.at>
6310
6311 * window.el (windows-with-parameter): Remove unused function.
6312 (windows-at-side): Rename to window-at-side-list.
6313 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6314 (window-side-check, window-size-ignore, window-size-fixed-1)
6315 (window-in-direction-2): Prefix with "window--".
6316 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6317
68cbc58b
GM
63182011-11-11 Glenn Morris <rgm@gnu.org>
6319
6320 * subr.el (eval-after-load): If FILE is already loaded,
6321 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6322
b2621720
GM
63232011-11-10 Glenn Morris <rgm@gnu.org>
6324
9a4de110
GM
6325 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6326 Call svn via vc-svn-command rather than vc-do-command.
6327 (vc-svn-command): Add --non-interactive. (Bug#9993)
6328 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6329
b2621720
GM
6330 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6331 Add toggle-read-only. (Bug#7292)
6332 * files.el (toggle-read-only): Mention that it should only
6333 be used interactively. (Bug#10006)
6334
1dce7193
SM
63352011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6336
d9ac1a1e
SM
6337 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6338 Adjust regexp for OCaml warnings.
6339
0c325082
SM
6340 * electric.el (electric-pair-post-self-insert-function): Let user
6341 turn it off buffer-locally (bug#9932).
6342
90132c14
SM
6343 * progmodes/python.el (python-beginning-of-statement):
6344 Rewrite (bug#2703).
6345
1dce7193
SM
6346 * progmodes/compile.el: Better handle TABs (bug#9749).
6347 (compilation-internal-error-properties)
6348 (compilation-next-error-function): Obey the target buffer's
6349 compilation-error-screen-columns.
6350
c4e7c63a
JB
63512011-11-09 Juanma Barranquero <lekktu@gmail.com>
6352
6353 * progmodes/meta-mode.el: Remove obsolete comments.
6354 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6355 Fix typos in docstrings.
6356
2cffd681
MR
63572011-11-09 Martin Rudalics <rudalics@gmx.at>
6358
6359 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6360 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6361 (window--resizable): New function. Make all callers of
6362 window-resizable call window--resizable instead.
6363 (window-resizable): Rewrite in terms of window--resizable.
6364
0edcba87
GM
63652011-11-08 Glenn Morris <rgm@gnu.org>
6366
6367 * progmodes/delphi.el (delphi-mode-syntax-table):
6368 Let define-derived-mode define a proper syntax table. (Bug#9994)
6369
4b0d61e3
SM
63702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * window.el: Stay away from defsubst.
6373 (window-list-no-nils): Remove.
6374 (window-state-get-1, window-state-get): Use backquote instead.
6375
cd394be1 63762011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6377
4b0d61e3 6378 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6379 Fix incorrect use of default argument in `completing-read'.
6380
e1c2c6f2
MR
63812011-11-08 Martin Rudalics <rudalics@gmx.at>
6382
6383 * window.el (display-buffer-function, special-display-function):
6384 Mention display-buffer-record-window but do not mention
6385 help-setup parameter in doc-strings.
b3f4a882 6386 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6387
105216ed
CY
63882011-11-08 Chong Yidong <cyd@gnu.org>
6389
6390 * window.el (window-total-height, window-total-width): Doc fix.
6391 (window-body-size): Move from C.
6392 (window-body-height, window-body-width): Move to C.
6393
0a9f9ab5
SM
63942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * window.el: Make special-display like display-buffer-alist (bug#9532).
6397 (display-buffer--special-action): New function, morphed
6398 from display-buffer--special.
6399 (display-buffer): Use it to handle special-display-buffers at higher
6400 priority (just after display-buffer-alist).
6401 (display-buffer-fallback-action, display-buffer--other-frame-action)
6402 (pop-to-buffer-same-window): Remove display-buffer--special.
6403
a769dd15
GM
64042011-11-07 Glenn Morris <rgm@gnu.org>
6405
6406 * calendar/cal-menu.el (cal-menu-set-date-title):
6407 Do nothing if not in a calendar. (Bug#9976)
6408
05a61ee3
SM
64092011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * files.el (find-file): Always use selected-window.
6412
be7f5545
MR
64132011-11-07 Martin Rudalics <rudalics@gmx.at>
6414
6415 * window.el (window-combinations): Make WINDOW argument
6416 mandatory. Rewrite doc-string.
6417 (walk-window-subtree, window-atom-check, window-min-delta)
6418 (window-max-delta, window--resize-this-window)
6419 (window--resize-root-window-vertically, window-tree)
6420 (balance-windows, window-state-put): Rewrite doc-strings as to
6421 not mention the term "subwindow".
6422 (window--resize-subwindows-skip-p): Rename to
6423 window--resize-child-windows-skip-p.
6424 (window--resize-subwindows-normal): Rename to
6425 window--resize-child-windows-normal.
6426 (window--resize-subwindows): Rename to
6427 window--resize-child-windows.
6428 (window-or-subwindow-p): Rename to window--in-subtree-p.
6429
3c6702ef
ML
64302011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6431
6432 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6433 Ensure that mbox format messages end in two newlines (Bug#9974).
6434
49745b39
CY
64352011-11-06 Chong Yidong <cyd@gnu.org>
6436
6437 * window.el (window-combination-p): Function deleted; its
6438 side-effect is not used in any existing code.
6439 (window-combinations, window-combined-p): Call window-*-child
6440 directly.
6441
24300f5f
CY
64422011-11-05 Chong Yidong <cyd@gnu.org>
6443
6444 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6445 (window-size-ignore, window-state-get): Callers changed.
6446 (window-normalize-window): Rename from window-normalize-any-window.
6447 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6448 (window-normalize-live-window): Delete.
447f16b8
CY
6449 (window-combination-p, window-combined-p, window-combinations)
6450 (walk-window-subtree, window-atom-root, window-min-size)
6451 (window-sizable, window-sizable-p, window-size-fixed-p)
6452 (window-min-delta, window-max-delta, window-resizable)
6453 (window-resizable-p, window-full-height-p, window-full-width-p)
6454 (window-current-scroll-bars, window-point-1, set-window-point-1)
6455 (window-at-side-p, window-in-direction, window-resize)
6456 (adjust-window-trailing-edge, maximize-window, minimize-window)
6457 (window-deletable-p, delete-window, delete-other-windows)
6458 (record-window-buffer, unrecord-window-buffer)
6459 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6460 (quit-window, split-window, window-state-put)
6461 (set-window-text-height, fit-window-to-buffer)
6462 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6463
89bd5ee1
EZ
64642011-11-04 Eli Zaretskii <eliz@gnu.org>
6465
53479029
EZ
6466 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6467 rfc2047-decode-string.
6468 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6469 warnings.
6470
89bd5ee1
EZ
6471 * window.el (window-body-height, window-body-width): Mention in
6472 the doc string that the return values are in frame's canonical
6473 units. (Bug#9949)
6474
bd17fdee
AM
64752011-11-03 Alan Mackenzie <acm@muc.de>
6476
6477 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6478 change in cc-engine.el.
6479
acc825c5
SM
64802011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6483
1885e5b8
MR
64842011-11-02 Martin Rudalics <rudalics@gmx.at>
6485
6486 * window.el (quit-window): Call unrecord-window-buffer after
6487 showing another buffer in the window. (Bug#9937)
acc825c5 6488 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6489
ebe06da9
JB
64902011-11-02 Juanma Barranquero <lekktu@gmail.com>
6491
6492 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6493 Accept status with more than 9 shelves. (Bug#9935)
6494 Reported by Colin D Bennett <colin@gibibit.com>.
6495
4ee88440
MR
64962011-11-01 Martin Rudalics <rudalics@gmx.at>
6497
6498 * help.el (with-help-window): Don't reference
6499 temp-buffer-show-specifiers in doc-string.
6500
08e1d82c
AS
65012011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6502
6503 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6504 menu-item.
6505
84bd6e9e
VJL
65062011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6507
6508 * whitespace.el: New version 13.2.2.
6509 (whitespace-newline-mode): Disable properly. Reported by Sarah
6510 <EmacsWiki>.
6511
dba0634a
UJ
65122011-10-30 Ulf Jasper <ulf.jasper@web.de>
6513
6514 * net/newst-treeview.el: Remove "Time-stamp".
6515 (newsticker--group-manage-orphan-feeds): Do not call
6516 newsticker--treeview-tree-update.
db22a3c2
JB
6517 (newsticker-treeview-update, newsticker-treeview):
6518 Call newsticker--treeview-tree-update if necessary.
dba0634a 6519
3d8daefe
MR
65202011-10-30 Martin Rudalics <rudalics@gmx.at>
6521
6522 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6523 (window-iso-combinations): Remove "iso-" infix.
6524 Suggested by Chong Yidong.
3d8daefe
MR
6525 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6526 (window-max-delta-1, window-resize, window--resize-siblings)
6527 (window--resize-this-window, adjust-window-trailing-edge)
6528 (split-window, balance-windows-1)
6529 (shrink-window-if-larger-than-buffer):
6530 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6531 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6532
1bc4c3ae
SM
65332011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6536 in place (bug#9907).
6537 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6538 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6539 (eshell-structure-basic-command, eshell-rewrite-while-command)
6540 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6541 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6542 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6543 (eshell-do-pipelines-synchronously, eshell-eval-command):
6544 Use backquotes and prefer setq to set.
6545 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6546 (eshell-macrop): Use functionp.
c1e2f5fa 6547 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6548
30b65d9c
CY
65492011-10-30 Chong Yidong <cyd@gnu.org>
6550
6551 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6552 instead of set-mark (Bug#9810).
6553
2d197ffb
CY
65542011-10-30 Chong Yidong <cyd@gnu.org>
6555
6556 * window.el (split-window-below, split-window-right): Rename from
6557 split-window-above-each-other and split-window-side-by-side
6558 respectively. All callers changed.
6559 (split-window-sensibly, split-window-sensibly): Use them.
6560 (split-window-keep-point): Doc fix.
6561
6562 * isearch.el: Add isearch-scroll property to split-window-below
6563 and split-window-right.
6564
6565 * follow.el (follow-mode):
6566 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6567 * progmodes/ada-xref.el (ada-gdb-application):
6568 * emulation/vip.el (vip-buffer-in-two-windows):
6569 * image-dired.el (image-dired-dired-with-window-configuration):
6570 * dired-x.el (dired-do-find-marked-files):
6571 * dired.el (dired-pop-to-buffer):
6572 * bs.el (bs--show-with-configuration):
6573 * vc/emerge.el (emerge-setup-windows):
6574 * textmodes/two-column.el (2C-two-columns):
6575 * textmodes/reftex-toc.el (reftex-toc):
6576 * progmodes/gdb-mi.el (gdb-setup-windows):
6577 * progmodes/fortran.el (fortran-window-create):
6578 * net/newst-treeview.el (newsticker--treeview-window-init):
6579 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6580 * emulation/tpu-edt.el (tpu-gold-map):
6581 * emulation/crisp.el (crisp-mode-map):
6582 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6583
38bb2ca8
CY
65842011-10-29 Chong Yidong <cyd@gnu.org>
6585
aa4de341
CY
6586 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6587
e1eb5385
CY
6588 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6589
5d2ece3c
CY
6590 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6591 forged Ispell output (Bug#7904).
6592
38bb2ca8
CY
6593 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6594
d0af9f77
SM
65952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * doc-view.el: Avoid ugly errors about not finding nil.
6598 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6599 (doc-view-dvipdf-program, doc-view-unoconv-program)
6600 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6601 Avoid nil or absolute file name as default value.
6602 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6603
52bedd34
AM
66042011-10-28 Alan Mackenzie <acm@muc.de>
6605
db22a3c2 6606 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6607
7e43cfa5
AM
66082011-10-28 Alan Mackenzie <acm@muc.de>
6609
6610 Amend the handling of c-beginning/end-of-defun in nested declaration
6611 scopes.
6612
52bedd34
AM
6613 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6614 cc-langs.el. Change it to a defcustom.
7e43cfa5 6615
52bedd34
AM
6616 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6617 cc-vars.el.
7e43cfa5 6618
d0af9f77
SM
6619 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6620 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6621
52bedd34 6622 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6623 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6624 (c-widen-to-enclosing-decl-scope): New function.
6625 (c-while-widening-to-decl-block): New macro.
6626 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6627 outward for defun boundaries, and correspondingly change symbol
6628 `respect-enclosure' to `go-outward'.
6629 (c-declaration-limits): Change algorithm to report only the "innermost"
6630 defun's boundaries.
6631
1a2ce9ee
DD
66322011-10-28 Deniz Dogan <deniz@dogan.se>
6633
6634 * net/rcirc.el (rcirc-mode): Use hard newlines.
6635
bc97a826
AM
66362011-10-28 Alan Mackenzie <acm@muc.de>
6637
6638 Amend to indent and fontify macros "which include their own semicolon"
6639 correctly, using the "virtual semicolon" mechanism.
6640
52bedd34 6641 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6642
d0af9f77 6643 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6644 Recode to scan one line at a time rather than having \n and \r
58179cce 6645 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6646 (c-forward-label): Amend for virtual semicolons.
58179cce 6647 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6648
52bedd34
AM
6649 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6650 of the new C macros.
bc97a826 6651
52bedd34 6652 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6653 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6654 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6655 (c-opt-cpp-macro-define): Make into a full language variable.
6656 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6657 AWK Mode (including \n, \r) removed, no longer needed.
6658
d0af9f77
SM
6659 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6660 Invoke c-make-macro-with-semi-re.
bc97a826 6661
52bedd34
AM
6662 * progmodes/cc-vars.el (c-macro-with-semi-re):
6663 (c-macro-names-with-semicolon): New variables.
58179cce 6664 (c-make-macro-with-semi-re): New function.
bc97a826 6665
7a6c0941
SM
66662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 * vc/log-edit.el: Fill empty field rather than adding new one.
6669 (log-edit-add-field): New function.
6670 (log-edit-insert-changelog): Use it.
6671
b0c4cdcf
ML
66722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6673
6674 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6675
ee1f1da9
SM
66762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6679 (gdb--check-interpreter): New function.
6680 (gdb): Use it.
6681
51bc5f8b
GM
66822011-10-27 Glenn Morris <rgm@gnu.org>
6683
416a2c45
GM
6684 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6685 (least-positive-float, least-negative-float)
6686 (least-positive-normalized-float, least-negative-normalized-float)
6687 (float-epsilon, float-negative-epsilon):
6688 Remove unnecessary declarations.
6689
6690 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6691 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6692 (least-positive-float, least-negative-float)
6693 (least-positive-normalized-float, least-negative-normalized-float)
6694 (float-epsilon, float-negative-epsilon): Add doc-strings,
6695 based on those in cl.texi.
6696
51bc5f8b
GM
6697 * files.el (set-visited-file-name): If the major-mode changed,
6698 reload the local variables. (Bug#9796)
6699
15de15c6
CY
67002011-10-27 Chong Yidong <cyd@gnu.org>
6701
6702 * subr.el (change-major-mode-after-body-hook): New hook.
6703 (run-mode-hooks): Run it.
6704
ee1f1da9
SM
6705 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6706 Use change-major-mode-before-body-hook.
15de15c6
CY
6707
6708 * simple.el (fundamental-mode):
6709 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6710 change introducing fundamental-mode-hook.
6711
5430d399
JB
67122011-10-26 Juanma Barranquero <lekktu@gmail.com>
6713
acc825c5 6714 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6715
ad74a69e
MA
67162011-10-26 Michael Albinus <michael.albinus@gmx.de>
6717
6718 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6719 tramp.el explicitly. (Bug#7583)
ad74a69e 6720
71d4c2a5
SM
67212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 * progmodes/octave-mod.el:
6724 * progmodes/octave-inf.el: Update maintainer.
6725
b1f6fa26
CY
67262011-10-26 Chong Yidong <cyd@gnu.org>
6727
6728 * subr.el (with-wrapper-hook): Rewrite doc.
6729
3f04efd6
MA
67302011-10-25 Michael Albinus <michael.albinus@gmx.de>
6731
6732 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6733 filenames "/method:foo:". (Bug#9793)
3f04efd6 6734
410488d3
SM
67352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6736
6737 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6738 (bug#9865).
6739
c1ebb47e
GM
67402011-10-24 Glenn Morris <rgm@gnu.org>
6741
6742 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6743
7f5c46c7
MA
67442011-10-24 Michael Albinus <michael.albinus@gmx.de>
6745
6746 * notifications.el: Add the requirement of a running D-Bus session
6747 bus to the Commentary.
6748
db2440b6
JL
67492011-10-24 Juri Linkov <juri@jurta.org>
6750
6751 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6752 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6753 (Bug#9364)
6754
feecf435
JL
67552011-10-24 Juri Linkov <juri@jurta.org>
6756
6757 * info.el (Info-following-node-name-re): Add newline to the list
6758 of allowed characters for leading space. (Bug#9824)
6759
a3839de2
SM
67602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6761
acc825c5
SM
6762 * progmodes/octave-inf.el (inferior-octave-mode-map):
6763 Fix C-c C-h binding.
a3839de2
SM
6764 * progmodes/octave-mod.el (octave-help): Remove.
6765
09388e76
MA
67662011-10-23 Michael Albinus <michael.albinus@gmx.de>
6767
6768 Sync with Tramp 2.2.3.
6769
6770 * net/tramp-cache.el (top): Pacify byte-compiler using
6771 `init-file-user' and `site-run-file'.
6772
6773 * net/trampver.el: Update release number.
6774
86c60681
CY
67752011-10-23 Chong Yidong <cyd@gnu.org>
6776
6777 * files.el (toggle-read-only): Remove obsolete comment about
6778 version control.
6779
6780 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6781 for toggle-read-only. Note that this hasn't called vc-next-action
6782 since 2008-05-02, though it wasn't documented at the time.
6783
a3839de2
SM
6784 * vc/ediff-init.el (ediff-toggle-read-only-function):
6785 Use toggle-read-only.
86c60681 6786
cd5495ff
AM
67872011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6788
6789 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6790 of c-parse-state.
6791
00b77525 6792 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6793 correct faulty logical expression.
cd5495ff
AM
6794 (c-parse-state-state, c-record-parse-state-state):
6795 (c-replay-parse-state-state): New defvar/defuns.
6796 (c-debug-parse-state): Use new functions.
6797
42ee24ed
MR
67982011-10-22 Martin Rudalics <rudalics@gmx.at>
6799
6800 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6801 last fix. Use window-in-direction correctly.
42ee24ed 6802
a7dee7e7
CY
68032011-10-21 Chong Yidong <cyd@gnu.org>
6804
6805 * progmodes/idlwave.el (idlwave-mode):
6806 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6807 require-final-newline; that's done in prog-mode.
6808 Suggested by Stefan Monnier.
a7dee7e7 6809
e07b9a6d
MR
68102011-10-21 Martin Rudalics <rudalics@gmx.at>
6811
6812 * mouse.el (mouse-drag-window-above)
6813 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6814 (mouse-drag-mode-line-1, mouse-drag-header-line)
6815 (mouse-drag-vertical-line-rightward-window): Remove.
6816 (mouse-drag-line): New function.
6817 (mouse-drag-mode-line, mouse-drag-header-line)
6818 (mouse-drag-vertical-line): Call mouse-drag-line.
6819 * window.el (window-at-side-p, windows-at-side): New functions.
6820
7e1361d9
UM
68212011-10-21 Ulrich Mueller <ulm@gentoo.org>
6822
6823 * tar-mode.el (tar-grind-file-mode):
6824 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6825
30fcaf3a
CY
68262011-10-21 Chong Yidong <cyd@gnu.org>
6827
6828 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6829 * progmodes/vera-mode.el (vera-mode):
6830 Use mode-require-final-newline.
30fcaf3a 6831
516eddb0
GM
68322011-10-20 Glenn Morris <rgm@gnu.org>
6833
db22a3c2 6834 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6835
10d5f513
CS
68362011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6837
6838 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6839
ac6c8639
CY
68402011-10-20 Chong Yidong <cyd@gnu.org>
6841
6842 * emulation/cua-base.el (cua-mode):
6843 * mail/footnote.el (footnote-mode):
6844 * mail/mailabbrev.el (mail-abbrevs-mode):
6845 * net/xesam.el (xesam-minor-mode):
6846 * progmodes/bug-reference.el (bug-reference-mode):
6847 * progmodes/cap-words.el (capitalized-words-mode):
6848 * progmodes/compile.el (compilation-minor-mode)
6849 (compilation-shell-minor-mode):
6850 * progmodes/gud.el (gud-tooltip-mode):
6851 * progmodes/hideif.el (hide-ifdef-mode):
6852 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6853 * progmodes/subword.el (subword-mode):
6854 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6855 * progmodes/which-func.el (which-function-mode):
6856 * term/tvi970.el (tvi970-set-keypad-mode):
6857 * term/vt100.el (vt100-wide-mode):
6858 * textmodes/flyspell.el (flyspell-mode):
6859 * textmodes/ispell.el (ispell-minor-mode):
6860 * textmodes/nroff-mode.el (nroff-electric-mode):
6861 * textmodes/paragraphs.el (use-hard-newlines):
6862 * textmodes/refill.el (refill-mode):
6863 * textmodes/reftex.el (reftex-mode):
6864 * textmodes/rst.el (rst-minor-mode):
6865 * textmodes/sgml-mode.el (html-autoview-mode)
6866 (sgml-electric-tag-pair-mode):
6867 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6868 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6869 * emulation/crisp.el (crisp-mode):
6870 * emacs-lisp/eldoc.el (eldoc-mode):
6871 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6872 minor mode behavior.
6873
aa42ab43
JL
68742011-10-19 Juri Linkov <juri@jurta.org>
6875
6876 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6877 the list of hard-coded chars with escape-glyph face.
6878
89400f1d
SM
68792011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6882
305c07f6
MA
68832011-10-19 Michael Albinus <michael.albinus@gmx.de>
6884
6885 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6886 running process.
6887
13754b54
GM
68882011-10-19 Glenn Morris <rgm@gnu.org>
6889
6890 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6891 Ignore ignored files. (Bug#9726)
6892
06e21633
CY
68932011-10-19 Chong Yidong <cyd@gnu.org>
6894
6895 Doc fix for minor modes, stating that an omitted argument enables
6896 the mode unconditionally when called from Lisp.
6897
6898 * abbrev.el (abbrev-mode):
6899 * allout.el (allout-mode):
6900 * autoinsert.el (auto-insert-mode):
6901 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6902 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6903 (global-auto-revert-mode):
6904 * battery.el (display-battery-mode):
6905 * composite.el (global-auto-composition-mode)
6906 (auto-composition-mode):
6907 * delsel.el (delete-selection-mode):
6908 * desktop.el (desktop-save-mode):
6909 * dired-x.el (dired-omit-mode):
6910 * dirtrack.el (dirtrack-mode):
6911 * doc-view.el (doc-view-minor-mode):
6912 * double.el (double-mode):
6913 * electric.el (electric-indent-mode, electric-pair-mode):
6914 * emacs-lock.el (emacs-lock-mode):
6915 * epa-hook.el (auto-encryption-mode):
6916 * follow.el (follow-mode):
6917 * font-core.el (font-lock-mode):
6918 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6919 * help.el (temp-buffer-resize-mode):
6920 * hilit-chg.el (highlight-changes-mode)
6921 (highlight-changes-visible-mode):
6922 * hi-lock.el (hi-lock-mode):
6923 * hl-line.el (hl-line-mode, global-hl-line-mode):
6924 * icomplete.el (icomplete-mode):
6925 * ido.el (ido-everywhere):
6926 * image-file.el (auto-image-file-mode):
6927 * image-mode.el (image-minor-mode):
6928 * iswitchb.el (iswitchb-mode):
6929 * jka-cmpr-hook.el (auto-compression-mode):
6930 * linum.el (linum-mode):
6931 * longlines.el (longlines-mode):
6932 * master.el (master-mode):
6933 * mb-depth.el (minibuffer-depth-indicate-mode):
6934 * menu-bar.el (menu-bar-mode):
6935 * minibuf-eldef.el (minibuffer-electric-default-mode):
6936 * mouse-sel.el (mouse-sel-mode):
6937 * msb.el (msb-mode):
6938 * mwheel.el (mouse-wheel-mode):
6939 * outline.el (outline-minor-mode):
6940 * paren.el (show-paren-mode):
6941 * recentf.el (recentf-mode):
6942 * reveal.el (reveal-mode, global-reveal-mode):
6943 * rfn-eshadow.el (file-name-shadow-mode):
6944 * ruler-mode.el (ruler-mode):
6945 * savehist.el (savehist-mode):
6946 * scroll-all.el (scroll-all-mode):
6947 * scroll-bar.el (scroll-bar-mode):
6948 * server.el (server-mode):
6949 * shell.el (shell-dirtrack-mode):
6950 * simple.el (auto-fill-mode, transient-mark-mode)
6951 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6952 (line-number-mode, column-number-mode, size-indication-mode)
6953 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6954 * strokes.el (strokes-mode):
6955 * time.el (display-time-mode):
6956 * t-mouse.el (gpm-mouse-mode):
6957 * tool-bar.el (tool-bar-mode):
6958 * tooltip.el (tooltip-mode):
6959 * type-break.el (type-break-mode-line-message-mode)
6960 (type-break-query-mode):
6961 * view.el (view-mode):
6962 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6963 (global-whitespace-mode, global-whitespace-newline-mode):
6964 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6965
a3839de2
SM
6966 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6967 Fix autogenerated docstring.
06e21633 6968
5214e501
JL
69692011-10-19 Juri Linkov <juri@jurta.org>
6970
6971 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6972 by checking environment variables "DESKTOP_SESSION" and
6973 "XDG_CURRENT_DESKTOP". (Bug#9779)
6974
195f8db9
JL
69752011-10-19 Juri Linkov <juri@jurta.org>
6976
6977 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6978 (browse-url-chromium-program, browse-url-chromium-arguments):
6979 New defcustoms.
6980 (browse-url-default-browser): Check for `browse-url-chromium' and
6981 call `browse-url-chromium-program'.
6982 (browse-url-chromium): New command. (Bug#9779)
6983
343a34ff
JB
69842011-10-18 Juanma Barranquero <lekktu@gmail.com>
6985
6986 * facemenu.el (list-colors-duplicates): On Windows, detect more
6987 duplicates by assuming that only colors matching "^System" are
6988 special "system colors". (Bug#9722)
6989
6978a151
SM
69902011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6993 to distinguish the author from the committer.
6994
6a80b297
MA
69952011-10-18 Michael Albinus <michael.albinus@gmx.de>
6996
6997 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6998
b31a5677
JK
69992011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7000
7001 * international/mule.el (sgml-html-meta-auto-coding-function):
7002 Add support for detecting encoding in HTML5 specified only as
7003 <meta charset="UTF-8">. Implementation just makes http-equiv and
7004 content-type parts from HTML4 encoding string optional. (Bug#9716)
7005
80c6d77f
GM
70062011-10-18 Glenn Morris <rgm@gnu.org>
7007
7008 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7009
08b0fee8
CY
70102011-10-18 Chong Yidong <cyd@gnu.org>
7011
7012 * faces.el (cursor): Doc fix.
7013
67e729a5
CY
70142011-10-17 Chong Yidong <cyd@gnu.org>
7015
7016 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7017
343a34ff 70182011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7019
7020 * dirtrack.el (dirtrack): Support shell buffers with path
7021 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7022
0bc06380
TZ
70232011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7024
7025 * json.el: Bump version to 1.3 and note change in History.
7026 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7027
8b79f3e0
SM
70282011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7029
5a7c536b
SM
7030 * comint.el (comint-insert-input, comint-send-input)
7031 (comint-get-old-input-default, comint-backward-matching-input)
7032 (comint-next-prompt): Use nil instead of `input' for field property of
7033 past user input (bug#114).
7034
96a8a0df
SM
7035 * minibuffer.el (completion--replace): Inherit surrounding properties
7036 (bug#114).
7037 (minibuffer-complete-and-exit): Use it.
7038
8b79f3e0
SM
7039 * comint.el (comint--table-subvert): Quote the all-completions output
7040 (bug#9160).
7041
b8f7ff0d
MR
70422011-10-17 Martin Rudalics <rudalics@gmx.at>
7043
8b79f3e0 7044 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7045
b8f7ff0d 7046 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7047 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7048 entries and separate them from frame entries.
7049
c235b555
GM
70502011-10-15 Glenn Morris <rgm@gnu.org>
7051
7052 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7053 Doc fixes.
7054
6bbfa6e1
CY
70552011-10-15 Chong Yidong <cyd@stupidchicken.com>
7056
8b79f3e0
SM
7057 * net/network-stream.el (network-stream-open-starttls):
7058 Improve detection of failure due to lack of TLS support.
ec5c990d 7059
6bbfa6e1
CY
7060 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7061 putting the input text in front and in bold.
7062
98488977
SM
70632011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7064
3d1337be
SM
7065 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7066
ee0b45e4
SM
7067 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7068 empty buffer.
7069
98488977
SM
7070 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7071 unread-command-events rather than pushing yet-another event.
7072
186f4720
EZ
70732011-10-14 Eli Zaretskii <eliz@gnu.org>
7074
7075 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7076 the explanation of the possible choices. Make the options passed
7077 to completing-read shorter.
7078
8b7a997c
AM
70792011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7080
7081 * textmodes/flyspell.el (flyspell-large-region): Make sure
7082 extended character mode is used if defined (Bug#1339).
7083
12587bbb
EZ
70842011-10-13 Eli Zaretskii <eliz@gnu.org>
7085
7086 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7087 character info for LRE, LRO, RLE, and RLO characters by appending
7088 an invisible PDF.
12587bbb 7089
bad41229
SM
70902011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7093 even in case of error; add debug spec; simplify data flow.
7094 (with-timeout-handler): Remove.
7095
28dbc92f
MA
70962011-10-12 Michael Albinus <michael.albinus@gmx.de>
7097
7098 Fix Bug#6019, Bug#9315.
7099
7100 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7101 complete `buffer-file-name', the local file name part could look
7102 remotely (for example on VMS).
7103
7104 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7105 `tramp-run-real-handler'.
7106 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7107 already quoted by '"'.
7108
7109 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7110 Let `file-name-handler-alist' be nil, the local file name part
7111 could look remotely (for example on VMS).
7112
e1b0b23a
SM
71132011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7114
7115 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7116 from here...
7117 (flyspell-post-command-hook): ...to here.
7118
a120bde9
SM
71192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7122 if not needed.
7123 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7124 using completion. Protect against "slow" callers.
7125 Remove the "message hack".
7126
7ce7717b
JL
71272011-10-11 Juri Linkov <juri@jurta.org>
7128
7129 * isearch.el (isearch-lazy-highlight-word): New variable.
7130 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7131 Use it. (Bug#9727)
7132
c02ee9d6
GM
71332011-10-11 Glenn Morris <rgm@gnu.org>
7134
7135 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7136 like f90-previous-statement does.
7137
93e616fd 71382011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7139
1f190e73 7140 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7141 only in interactive use, to avoid error.
7142
af7b6078
SM
71432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * minibuffer.el (completion-file-name-table): Fix last change,
7146 i.e. ignore normal errors but not the other ones.
7147
0563dae9
MR
71482011-10-10 Martin Rudalics <rudalics@gmx.at>
7149
7150 * window.el (special-display-buffer-names)
7151 (special-display-regexps): Remove some remnants of earlier
7152 changes from doc-strings.
366ca7f3
MR
7153 (quit-windows-on): New function.
7154
7155 * vc/vc.el (vc-revert, vc-rollback):
7156 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7157 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7158 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7159
49677495
MR
71602011-10-09 Martin Rudalics <rudalics@gmx.at>
7161
7162 * window.el (frame-auto-hide-function): Add version tag.
7163 (Bug#9699)
7164
56f2d1e1
MA
71652011-10-09 Michael Albinus <michael.albinus@gmx.de>
7166
7167 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7168 condition.
7169
112a6592
LL
71702011-10-09 Leo Liu <sdl.web@gmail.com>
7171
7172 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7173 (Bug#9701)
7174
0812589b
GM
71752011-10-08 Glenn Morris <rgm@gnu.org>
7176
7177 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7178 before the first code statement zero indent. (Bug#9690)
7179
b2b0776e
CY
71802011-10-08 Chong Yidong <cyd@stupidchicken.com>
7181
7182 * simple.el (count-words-region): Always count in the region.
7183 Report the number of lines and characters too.
7184 (count-words): New command, which counts in the buffer if the
7185 region is inactive, as count-words-region used to.
7186 (count-words--message): New function. Handle plurals.
7187 (count-lines-region): Make it an alias for count-words-region.
7188
7189 * bindings.el (esc-map): Replace count-lines-region with
7190 count-words-region.
7191
c557cd6b
MR
71922011-10-08 Martin Rudalics <rudalics@gmx.at>
7193
7194 * window.el (window--delete): Delete dedicated frame
7195 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7196 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7197
61a57ef4 71982011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7199
3a7d293b 7200 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7201
c3833279
CY
72022011-10-07 Chong Yidong <cyd@stupidchicken.com>
7203
7204 * bindings.el ([M-left],[M-right]): Bind to left-word and
7205 right-word respectively.
7206
21ce8245
GM
72072011-10-07 Glenn Morris <rgm@gnu.org>
7208
7209 * cus-start.el (debug-on-quit): Fix custom type.
7210
6d823bb2
LMI
72112011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7212
0181e193
LMI
7213 * subr.el (define-key-after): Clarify that the function is not
7214 useful for non-menu keymaps.
7215
6d823bb2
LMI
7216 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7217
8e3459ce 72182011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7219
21ce8245 7220 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7221 in current minibuffer (Fix bug with recursive minibuffers).
7222
a1c2d21e
CY
72232011-10-06 Chong Yidong <cyd@stupidchicken.com>
7224
7225 * progmodes/gdb-mi.el (gdb): Doc fix.
7226
5a4cf282
MR
72272011-10-05 Martin Rudalics <rudalics@gmx.at>
7228
7229 * window.el (frame-auto-hide-function): New option replacing
7230 frame-auto-delete. Suggested by Stefan Monnier.
7231 (window--delete): Call frame-auto-hide-function instead of
7232 investigating frame-auto-delete.
c96111ea
MR
7233 (window-point-1, set-window-point-1): New functions.
7234 (window-in-direction, record-window-buffer, window-state-get-1)
7235 (display-buffer-record-window): Use window-point-1 instead of
7236 window-point.
7237 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7238
9854542e
SM
72392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7242
8943cfb0
GM
72432011-10-05 Glenn Morris <rgm@gnu.org>
7244
7245 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7246 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7247
647ab967
LL
72482011-10-05 Leo Liu <sdl.web@gmail.com>
7249
7250 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7251 works with buffer object.
7252
3ddfbced
SM
72532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * mpc.el (mpc-tool-bar-map): Add labels.
7256
bdfa5dd2
GM
72572011-10-04 Glenn Morris <rgm@gnu.org>
7258
7259 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7260
0e2070b5
MR
72612011-10-04 Martin Rudalics <rudalics@gmx.at>
7262
7263 * window.el (window--delete): New function.
7264 (frame-auto-delete): Resuscitate option.
7265 (bury-buffer, replace-buffer-in-windows)
7266 (quit-window): Rewrite using window--delete.
7267 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7268 Pass display-buffer-mark-dedicated to window--display-buffer-2
7269 (Bug#9639).
7270
3dc61a09
SM
72712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7272
915a9b64
SM
7273 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7274 returns a list (bug#9554). Add remote file name completion.
7275 * comint.el (comint--table-subvert): Curry and get quote&unquote
7276 functions as arguments.
7277 (comint--complete-file-name-data): Adjust call accordingly.
7278 * pcomplete.el (pcomplete--table-subvert): Remove.
7279 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7280
3dc61a09
SM
7281 * minibuffer.el (completion-table-case-fold): Use currying.
7282 (completion--styles-type, completion--cycling-threshold-type):
7283 New constants.
7284 (completion-styles, completion-category-overrides)
7285 (completion-cycle-threshold): Use them.
7286 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7287 completion-table-case-fold.
7288
8ea0a993
SB
72892011-10-03 Stephen Berman <stephen.berman@gmx.net>
7290
7291 * minibuffer.el (completion-category-overrides): Fix type of styles
7292 and add more user friendly tags (bug#9660).
7293
8c24b7f6
SM
72942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7297 (mule-input-method-string): New widget.
7298 (default-input-method, language-info-custom-alist): Use it.
7299
428fe61a
SM
73002011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7301
32c1fffd
SM
7302 * pcomplete.el: Require comint.
7303 (pcomplete--common-suffix): Remove.
7304 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7305 (pcomplete--table-subvert): Sync with comint--table-subvert.
7306 (pcomplete--entries): Use comint-completion-file-name-table.
7307 * comint.el (comint-unquote-filename): Simplify.
7308 (comint-completion-file-name-table): New function (bug#9616).
7309 (comint--complete-file-name-data): Use it.
7310
428fe61a
SM
7311 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7312 (pcmpl-gnu-tar-buffer): Remove.
7313 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7314 around. Make sure pcomplete-suffix-list is only changed temporarily.
7315 Don't look inside the tar's file if it's too large.
428fe61a 7316
04c52e2f
CY
73172011-10-01 Chong Yidong <cyd@stupidchicken.com>
7318
ce3cefcc
CY
7319 * cus-edit.el (custom-mode-map):
7320 * epa.el (epa-key-list-mode-map):
7321 * man.el (Man-mode-map):
7322 * startup.el (splash-screen-keymap):
7323 * simple.el (special-mode-map): Use scroll-up-command and
7324 scroll-down-command.
7325
7326 * progmodes/idlw-help.el (idlwave-help-mode-map):
7327 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7328 * net/newst-plainview.el (newsticker-mode-map):
7329 * emulation/ws-mode.el (wordstar-mode-map):
7330 * emulation/vi.el (vi-com-map):
7331 * calc/calc-graph.el (calc-graph-show-dumb):
7332 * term/sun.el (terminal-init-sun):
7333 * term/ns-win.el (global-map):
7334 * progmodes/grep.el (grep-mode-map):
7335 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7336 * mail/rmail.el (rmail-mode-map):
7337 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7338
04c52e2f
CY
7339 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7340 custom-safe-themes as special.
7341
79adf8c8
JD
73422011-10-01 Julien Danjou <julien@danjou.info>
7343
7344 * notifications.el (notifications-notify): Fix docstring.
7345
63bd50d3
PS
73462011-10-01 Per Starbäck <per@starback.se>
7347
7348 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7349
199e4c7e
MR
73502011-09-30 Martin Rudalics <rudalics@gmx.at>
7351
7352 * startup.el (command-line-1): Fix last fix by inserting
7353 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7354 (Bug#9605) and (Bug#9636)
199e4c7e 7355
fe5f08dd
EZ
73562011-09-29 Eli Zaretskii <eliz@gnu.org>
7357
7358 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7359 window is hscrolled, move by logical lines. (Bug#9607)
7360 (line-move-visual): Update the doc string to the above effect.
7361
b5516bbd
MR
73622011-09-29 Martin Rudalics <rudalics@gmx.at>
7363
ccee00c0
MR
7364 * window.el (display-buffer-record-window): When WINDOW is the
7365 selected window use `point' instead of `window-point'. (Bug#9626)
7366
b5516bbd
MR
7367 * startup.el (command-line-1): Use insert-before-markers when
7368 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7369
b5516bbd
MR
7370 * help.el (help-window): Remove variable.
7371
52aa0014
GM
73722011-09-29 Glenn Morris <rgm@gnu.org>
7373
7374 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7375
df9a7357
JB
73762011-09-29 Juanma Barranquero <lekktu@gmail.com>
7377
7378 * descr-text.el (describe-char-categories): Accept category
7379 descriptions more than one line long.
7380
a8406c20
SM
73812011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7382
88d9610c
SM
7383 * simple.el (delete-trailing-whitespace): Fix last change.
7384
a5daf810
SM
7385 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7386 Don't confuse "y => 3" as the beginning of a `y' operation.
7387
a8406c20
SM
7388 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7389 object has more than 4 slots (bug#9613).
7390
a239d4e9
JB
73912011-09-28 Juanma Barranquero <lekktu@gmail.com>
7392
7393 * subr.el (with-output-to-temp-buffer):
7394 * net/quickurl.el (quickurl, quickurl-browse-url):
7395 Fix typos in docstrings.
7396
693fbdb6
EZ
73972011-09-27 Eli Zaretskii <eliz@gnu.org>
7398
7399 * minibuffer.el (completion-styles)
7400 (completion-category-overrides): Cross reference each other in doc
7401 strings.
7402
8b457e28
GM
74032011-09-27 Glenn Morris <rgm@gnu.org>
7404
7405 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7406 to split-string. (Bug#9606)
7407
85a16208
LMI
74082011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7409
7410 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7411 (bug#9615).
7412
502f9ebd
CY
74132011-09-27 Chong Yidong <cyd@stupidchicken.com>
7414
7415 * emacs-lisp/package.el (list-packages): Fix echo area message.
7416
7690bdea
LL
74172011-09-27 Leo Liu <sdl.web@gmail.com>
7418
7419 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7420
e2ee6f30
MA
74212011-09-25 Michael Albinus <michael.albinus@gmx.de>
7422
7423 * net/dbus.el (dbus-unregister-object): Don't release services for
7424 registered signals. (Bug#9581)
7425
f3f98342
TZ
74262011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7427
7428 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7429 function that picks between cfengine 2 and 3 support
7430 automatically. Update docs accordingly.
7431
dd7aa8dd
KH
74322011-09-22 Kenichi Handa <handa@m17n.org>
7433
7434 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7435 ZERO.
7436 (indian-itrans-v5-table-for-tamil): New variable.
7437 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7438
3f2b07f8
KM
74392011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7440
7441 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7442 that's true if the current command involved collapsing of text.
7443 It's reset to false at the beginning of the next command.
7444 (allout-post-command-business): Move the cursor to the beginning
7445 of entry if the cursor is hidden and collapsing activity just
7446 happened.
7447
371d6a61
CY
74482011-09-24 Chong Yidong <cyd@stupidchicken.com>
7449
7450 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7451 tracking (Bug#9541).
7452
2ac2721a
UJ
74532011-09-24 Ulf Jasper <ulf.jasper@web.de>
7454
7455 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7456 (newsticker-show-news): Automatically load html rendering package
7457 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7458 because w3m-fill-column is let-bound" and the error "Symbol's value
7459 as variable is void: w3m-fill-column".
2ac2721a 7460
fac7ae53
MA
74612011-09-24 Michael Albinus <michael.albinus@gmx.de>
7462
7463 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7464 Release services only if they are defined. (Bug#9581)
7465
e08b633b
RS
74662011-09-23 Richard Stallman <rms@gnu.org>
7467
e488d29c
RS
7468 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7469 distinguish start of paragraph from start of its text.
7470
19c38752
RS
7471 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7472
e08b633b
RS
7473 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7474 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7475 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7476
0a39f27e
AS
74772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7478
7479 * international/mule-diag.el (mule-diag): Insert a newline after
7480 each fontset description.
7481
db4e950d
SM
74822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * simple.el (delete-trailing-whitespace):
7485 Document last change; simplify.
7486
eca3f3ea
PW
74872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7488
d68e189a
PW
7489 * simple.el (delete-trailing-whitespace): Also delete
7490 extra newlines at the end of the buffer.
7491
eca3f3ea
PW
7492 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7493 (picture-newline): Use forward-line so as to ignore fields.
7494
01c157cc
SM
74952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * subr.el (with-wrapper-hook): Fix edebug spec.
7498
022de23e
LMI
74992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7500
7501 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7502 (bug#4538).
7503
91683089
MA
75042011-09-23 Michael Albinus <michael.albinus@gmx.de>
7505
eca3f3ea
PW
7506 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7507 Fix nasty bug using wrong cached values.
91683089 7508
5bdd6fa4
AM
75092011-09-23 Alan Mackenzie <acm@muc.de>
7510
7511 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7512
97adfb97
CY
75132011-09-23 Chong Yidong <cyd@stupidchicken.com>
7514
7515 * window.el (pop-to-buffer): Ensure right window is selected if we
7516 chose another frame.
7517
d4ef2b50
EZ
75182011-09-22 Eli Zaretskii <eliz@gnu.org>
7519
7520 * simple.el (what-cursor-position): Use get-char-property-change
7521 and next-single-char-property-change, to be able to show display
7522 properties that come from overlays as well as text properties.
7523
72258fe5
CY
75242011-09-22 Chong Yidong <cyd@stupidchicken.com>
7525
7526 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7527
7528 * cmuscheme.el (run-scheme, switch-to-scheme):
7529 * cus-edit.el (customize-group, custom-buffer-create)
7530 (customize-browse):
7531 * info.el (info):
7532 * shell.el (shell):
7533 * mail/sendmail.el (mail):
7534 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7535
8f098516
RS
75362011-09-22 Richard Stallman <rms@gnu.org>
7537
7538 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7539 move back only to line beg, don't move back over blank lines.
7540
e74f1bb6
MA
75412011-09-22 Michael Albinus <michael.albinus@gmx.de>
7542
7543 * files.el (copy-directory): Set directory attributes only in case
7544 they could be retrieved from the source directory. (Bug#9565)
7545
bfeef8b6
DK
75462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7547
7548 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7549 (hs-find-block-beginning, hs-hide-level-recursive):
7550 Ignore strings as well as comments. (Bug#9502)
7551
7e423bb8
AS
75522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7553
7554 * progmodes/sql.el (sql-comint-postgres):
7555 Convert port number to a string. (Bug#9566)
7556
b4d72fcf
MR
75572011-09-22 Martin Rudalics <rudalics@gmx.at>
7558
7559 * window.el (quit-window): Undedicate window when switching to
7560 previous buffer. Reported by Thierry Volpiatto
7561 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7562 (special-display-popup-frame): When popping up a new frame reset
7563 its previous buffers to nil. Simplify code.
b4d72fcf 7564
a7b88dc6
MA
75652011-09-21 Michael Albinus <michael.albinus@gmx.de>
7566
7567 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7568 and process filter, as done also in `shell-command'.
7569
cf4eacfd
MR
75702011-09-21 Martin Rudalics <rudalics@gmx.at>
7571
eca3f3ea 7572 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7573 Call set-window-start with NOFORCE argument t.
7574 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7575 (quit-window): Reword doc-string. Handle new format of
7576 quit-restore parameter. Don't delete window if it has a
7577 previous buffer we can show instead of the present one.
7578 (display-buffer-record-window): Rewrite using a new format for
7579 the quit-restore window parameter
7580 (special-display-popup-frame, display-buffer-same-window)
7581 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7582 (display-buffer-pop-up-window, display-buffer-use-some-window):
7583 Adapt symbol passed to display-buffer-record-window.
7584 * help.el (help-window-setup): Handle new format of quit-restore
7585 parameter.
7586
8d28cb95
SM
75872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7588
94ab793f
SM
7589 * faces.el (face-list): Fix docstring (bug#9564).
7590
8d28cb95
SM
7591 * window.el (display-buffer--action-function-custom-type):
7592 Don't include internal functions in the Custom interface.
7593
3820edeb
JL
75942011-09-20 Juri Linkov <juri@jurta.org>
7595
7596 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7597 (Info-forward-node, Info-backward-node, Info-next-preorder)
7598 (Info-last-preorder): Use it. (Bug#9528)
7599
5147931d
JL
76002011-09-20 Juri Linkov <juri@jurta.org>
7601
7602 * info.el (Info-last-preorder): Visit last menu item only when
7603 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7604
cf499a1a
JD
76052011-09-20 Julien Danjou <julien@danjou.info>
7606
7607 * password-cache.el (password-cache-remove): Remove entries even if the
7608 value is nil, so that password with a nil value (negative caching) is
7609 possible to invalidate.
7610
f84e2fe2
LM
76112011-09-20 Lawrence Mitchell <wence@gmx.li>
7612
7613 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7614 all whitespace around breakpoint. (Bug#9553)
7615 (f90-find-breakpoint): Only break at whitespace inside a comment.
7616
78054a46
SM
76172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * minibuffer.el (completion-file-name-table): Keep track of errors.
7620 (completion-table-with-predicate): Handle the case where pred1 is nil.
7621 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7622
345083b2
SM
76232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7624
e24e27be
SM
7625 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7626 (debugger-return-value): Signal an error if the debugging context does
7627 not await any return value.
7628
345083b2
SM
7629 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7630 * image-mode.el (image-toggle-display-text)
7631 (image-toggle-display-image): Stay away from evil `intangible'.
7632
08d355e3
LL
76332011-09-19 Leo Liu <sdl.web@gmail.com>
7634
7635 * replace.el (occur-revert-arguments): Make it permanent-local.
7636 (occur-mode): Don't call font-lock-defontify.
7637
f01da43f
CY
76382011-09-19 Chong Yidong <cyd@stupidchicken.com>
7639
7640 * net/ldap.el (ldap-search-internal): Don't push empty search
7641 result (Bug#9508).
7642
b6072fa6
SM
76432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7644
7645 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7646
443d6696
MA
76472011-09-19 Michael Albinus <michael.albinus@gmx.de>
7648
7649 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7650 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7651
7cc6e154
JL
76522011-09-18 Juri Linkov <juri@jurta.org>
7653
7654 * buff-menu.el (Buffer-menu-mode-map):
7655 * dired.el (dired-mode-map):
7656 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7657 (lisp-interaction-mode-map):
7658 * emacs-lisp/package.el (package-menu-mode-map):
7659 * epa.el (epa-key-list-mode-map):
7660 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7661 (menu-bar-options-menu):
7662 * outline.el (outline-mode-menu-bar-map):
7663 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7664 * vc/vc-dir.el (vc-dir-menu-map):
7665 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7666 Capitalize non-function content words in menu item strings.
7667
7668 * dired.el (dired-mode-map): Add menu item for
7669 `image-dired-dired-toggle-marked-thumbs'.
7670
80302a81
JL
76712011-09-18 Juri Linkov <juri@jurta.org>
7672
7673 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7674 to `isearch-case-fold-search' and restore its original value
7675 after the `isearch-mode' call.
7676
46c5cf66
JL
76772011-09-18 Juri Linkov <juri@jurta.org>
7678
7679 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7680 because `zgrep' returns 1 for successful matches (bug#9226).
7681
d18b513b
JL
76822011-09-18 Juri Linkov <juri@jurta.org>
7683
7684 * info.el (Info-extract-menu-node-name): Check the second match
7685 for empty string (second test-case of bug#9528).
7686 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7687 intermediate nodes to the history (first test-case of bug#9528).
7688
72753f87
JL
76892011-09-18 Juri Linkov <juri@jurta.org>
7690
7691 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7692 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7693
c9384295
JL
76942011-09-18 Juri Linkov <juri@jurta.org>
7695
1154d12e
JB
7696 * info.el (Info-file-supports-index-cookies):
7697 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7698 outputs one more line for long file names (bug#4142).
c9384295 7699
d473dce8
CY
77002011-09-18 Chong Yidong <cyd@stupidchicken.com>
7701
7702 * newcomment.el (comment-normalize-vars): If prompting for
7703 comment-start, set comment-start-skip too (Bug#8424).
7704
2176854d
JB
77052011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7706
7707 * icomplete.el: Fix previous fix of Bug#5849.
7708 (icomplete-mode): Don't set completion-show-inline-help.
7709 (icomplete-minibuffer-setup): Set completion-show-inline-help
7710 locally during icompletion.
7711
3aace4e4
CY
77122011-09-18 Chong Yidong <cyd@stupidchicken.com>
7713
c940224f
CY
7714 * woman.el (woman2-process-escapes): Don't delete unrecognized
7715 escapes (Bug#7843).
7716
3aace4e4
CY
7717 * files.el (inhibit-first-line-modes-regexps): Add image files.
7718 (hack-local-variables-prop-line): Return nil for malformed
7719 prop-lines (Bug#9044).
7720
710dec63
MA
77212011-09-18 Michael Albinus <michael.albinus@gmx.de>
7722
7723 * net/tramp.el (top): Don't require 'shell.
7724 (tramp-methods): Fix docstring.
7725 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7726 Return complete remote file name. Handle "smb" case.
7727 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7728 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7729
7730 * net/tramp-compat.el (top): Require 'shell.
7731
7732 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7733 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7734 `tramp-current-host'.
7735 (tramp-get-remote-tmpdir): Remove.
7736
7737 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7738 `tramp-tmpdir' entries.
7739 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7740 (tramp-smb-handle-file-attributes): Ignore errors.
7741 (tramp-smb-wait-for-output): Check also for process end.
7742
5d5ac8ec
LMI
77432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7744
7745 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7746 when sending QUIT (bug#9312).
7747
8c0f49f0
CY
77482011-09-17 Chong Yidong <cyd@stupidchicken.com>
7749
7750 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7751 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7752 occur-mode-display-occurrence.
7753 (occur-edit-mode): Add usage message.
7754 (occur-cease-edit): New command.
7755 (occur-after-change-function): Use text properties to find the
7756 position of the prefix text.
7757 (occur-engine): Set stickiness of prefix text properties.
7758
8f1383f7
GM
77592011-09-17 Glenn Morris <rgm@gnu.org>
7760
7761 * progmodes/etags.el (complete-tag):
7762 Fix call to completion-in-region. (Bug#9526)
7763
744ba0e3
JL
77642011-09-17 Juri Linkov <juri@jurta.org>
7765
7766 * textmodes/ispell.el (ispell-word): Add to the error message
7767 the word, ispell program name and current dictionary (bug#9121).
7768 (ispell-tex-arg-end): Capitalize "error" in the error message.
7769
d9bbf400
AS
77702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7771
7772 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7773 check. (Bug#4251)
7774
8da11505
JL
77752011-09-17 Juri Linkov <juri@jurta.org>
7776
7777 * window.el (window-safe-min-height, window-safe-min-width):
7778 Fix typos (followup to bug#9522).
7779
a91adc7e
SJ
77802011-09-17 Sven Joachim <svenjoac@gmx.de>
7781
7782 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7783
064f328a
EZ
77842011-09-16 Eli Zaretskii <eliz@gnu.org>
7785
7786 * simple.el (line-move): If goal-column is set, move by logical
7787 lines, not by display lines. (Bug#971)
7788 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7789 to reflect the above change.
7790
e69df516
SM
77912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7792
7793 * image.el (imagemagick-register-types): Use regexp-opt.
7794
cbb0f9ab
CY
77952011-09-15 Chong Yidong <cyd@stupidchicken.com>
7796
7797 * window.el (display-buffer-base-action): Rename from
7798 display-buffer-default-action. Make default value empty.
7799 (display-buffer-overriding-action): Convert to defvar.
7800 (display-buffer-fallback-action): New var.
7801
25322144
CY
78022011-09-15 Chong Yidong <cyd@stupidchicken.com>
7803
7804 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7805 declaration.
7806 (package--add-to-archive-contents): If there is a duplicate entry
7807 with an older version, remove it.
7808 (package-menu-mark-delete, package-menu-mark-install)
7809 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7810 (package-menu-mark-obsolete-for-deletion):
7811 Use package-menu-get-status instead of a regexp search.
25322144
CY
7812 (package-menu-get-status): Use tabulated-list-entry.
7813 (package-menu-mark-upgrades): New command.
d770725a 7814 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7815 (package-menu-execute): Do installation before deletion.
7816 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7817 instead of checking major-mode.
7818 (package-menu--find-upgrades): New function.
7819
7520339c
LMI
78202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7821
7822 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7823 passwords in the log buffer.
65a046c4
LMI
7824 (smtpmail-process-filter): Update the process marker so that the
7825 "broken by peer" status message is inserted in the right place.
7520339c 7826
d3c30954
SM
78272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7828
3fe48822
SM
7829 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7830 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7831 bibtex-completion-at-point-function.
7832 (bibtex-completion-at-point-function): Use them.
7833
1b8b3954
SM
7834 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7835
d3c30954
SM
7836 * mpc.el (mpc-constraints-tag-lookup): New function.
7837 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7838 also to browser "album|playlist".
7839
72779976
JL
78402011-09-14 Juri Linkov <juri@jurta.org>
7841
7842 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7843 (isearch-edit-string): Use length of `isearch-string' when
7844 `isearch-fail-pos' returns nil.
7845 (isearch-message): Remove duplicate code and call
7846 `isearch-fail-pos' with arg `t'.
7847
a0bf2bcd
CY
78482011-09-14 Chong Yidong <cyd@stupidchicken.com>
7849
17bb0a2d
CY
7850 * replace.el (occur-mode-goto-occurrence): Don't force using other
7851 window (Bug#9499).
7852
a0bf2bcd
CY
7853 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7854
f678e0b6
MR
78552011-09-14 Martin Rudalics <rudalics@gmx.at>
7856
7857 * window.el (display-buffer-window): Remove.
7858 (display-buffer-record-window): Use help-setup window parameter
7859 instead of variable display-buffer-window.
7860 (display-buffer-function, special-display-buffer-names)
7861 (special-display-function): Mention help-setup parameter instead
7862 of display-buffer-window in doc-string.
d3c30954
SM
7863 * help.el (help-window-setup): New argument help-window.
7864 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7865 Reword some messages.
7866 (with-help-window): Pass window used for displaying the buffer
7867 to help-window-setup. Don't set display-buffer-window.
7868
8e39b2e8
GM
78692011-09-13 Glenn Morris <rgm@gnu.org>
7870
7871 * emacs-lisp/debug.el (debugger-make-xrefs):
7872 Preserve point. (Bug#9462)
7873
85e9c04b
CY
78742011-09-13 Chong Yidong <cyd@stupidchicken.com>
7875
7876 * window.el (window-deletable-p): Use next-frame.
7877
1b36ed6a
MR
78782011-09-13 Martin Rudalics <rudalics@gmx.at>
7879
7880 * window.el (window-auto-delete): Remove.
7881 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7882 dedication and previous buffers.
1b36ed6a
MR
7883 (switch-to-prev-buffer): Don't delete window.
7884 (delete-windows-on): Delete a window's frame if and only if the
7885 window is dedicated.
7886 (replace-buffer-in-windows): Delete buffer's window or frame if
7887 and only if window is dedicated.
7888 (quit-window): Handle quit-restore as before last change.
4d61f28d 7889 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7890
ef8ef9fb
CY
78912011-09-13 Chong Yidong <cyd@stupidchicken.com>
7892
7893 * window.el (window-deletable-p): Never delete the last frame on a
7894 given terminal.
7895
b2cba41e
GM
78962011-09-13 Glenn Morris <rgm@gnu.org>
7897
7898 * help.el (describe-key-briefly): Copy previous standard-output change.
7899
51553db6 79002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7901
7902 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7903
b7556719
GM
79042011-09-13 Glenn Morris <rgm@gnu.org>
7905
7906 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7907 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7908
64b51947
CY
79092011-09-12 Chong Yidong <cyd@stupidchicken.com>
7910
7911 * dired-aux.el (dired-mark-read-string): Don't return default
7912 value on empty input (Bug#9361).
7913 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7914 Omit initial minibuffer contents.
7915 (dired-do-chmod): Signal an error on empty input.
7916 (dired-mark-read-string): Don't return default on empty input.
7917
7918 * files.el (file-modes-symbolic-to-number): Doc fix.
7919
393a301e
SM
79202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * international/mule-cmds.el (ucs-completions): Remove.
7923 (read-char-by-name): Use complete-with-action instead; add metadata.
7924
fa5660f9
CY
79252011-09-11 Chong Yidong <cyd@stupidchicken.com>
7926
7927 * window.el (display-buffer--action-function-custom-type)
7928 (display-buffer--action-custom-type): New vars.
7929 (display-buffer-alist, display-buffer-default-action)
7930 (display-buffer-overriding-action): Add defcustom types.
7931
4a592f66
CY
7932 * frame.el (delete-other-frames): Doc fix (Bug#276).
7933
73d56dbd
LMI
79342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7935
7936 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7937
37ac18a3
CY
79382011-09-11 Chong Yidong <cyd@stupidchicken.com>
7939
7940 Change modes that used same-window-* vars to use switch-to-buffer.
7941
7942 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7943 Use switch-to-buffer.
7944
7945 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7946 (customize-browse, custom-buffer-create-other-window):
7947 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7948
7949 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7950 (Info-prev, Info-up, Info-speedbar-goto-node)
7951 (info-display-manual): Use switch-to-buffer.
7952 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7953
7954 * mail/sendmail.el (mail): Use switch-to-buffer.
7955 (mail-recover): Use switch-to-buffer-other-window.
7956
7957 * cmuscheme.el (run-scheme, switch-to-scheme):
7958 * ielm.el (ielm):
7959 * shell.el (shell):
7960 * net/rlogin.el (rlogin):
7961 * net/telnet.el (telnet, rsh):
7962 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7963
10195bd6
AS
79642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7965
7966 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7967
b322f63a
LMI
79682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7969
39d7fed6
LMI
7970 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7971 so don't mention it (bug#9301).
ba5a81f1 7972 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 7973
ee0e9f11
LMI
7974 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7975 match `x', `w32' and `ns', like the manual says (bug#9029).
7976
0b1c89c1 7977 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
7978 (process-kill-buffer-query-function): Mention the buffer name in
7979 the query.
0b1c89c1 7980
77549ea8
LMI
7981 * image-mode.el (image-next-line): The line parameter is mandatory
7982 (bug#9258).
7983
803ef892
LMI
7984 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7985 which can be useful (bug#9301).
7986
12980837
LMI
7987 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7988
91054f8f
LMI
7989 * subr.el (match-string): Mention that the current buffer should
7990 be the same as the search was done in (bug#9282).
7991
b322f63a
LMI
7992 * facemenu.el: Disable the remove-* commands if the mark isn't
7993 active (bug#9162).
7994
3199b96f
CY
79952011-09-10 Chong Yidong <cyd@stupidchicken.com>
7996
7997 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7998 of display-buffer.
7999 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8000
8001 * replace.el (occur-mode-goto-occurrence)
8002 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8003 and display-buffer.
8004
8005 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8006 display-buffer.
8007
8008 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8009 special-display and same-window variables.
8010 (mail-other-window): Use switch-to-buffer-other-window.
8011 (mail-other-frame): USe switch-to-buffer-other-frame.
8012
393a301e
SM
8013 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8014 Use display-buffer-other-frame.
3199b96f
CY
8015 (gdb-display-gdb-buffer): Use pop-to-buffer.
8016
8017 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8018
8019 * progmodes/python.el: Don't set same-window-buffer-names.
8020
8021 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8022
8023 * window.el (display-buffer-alist): Add *Python*.
8024
8319e0bf
CY
80252011-09-10 Chong Yidong <cyd@stupidchicken.com>
8026
8027 * window.el (display-buffer-alist): Add entry for buffers
8028 previously handled same-window-*.
8029 (display-buffer-alist, display-buffer-default-action)
8030 (display-buffer-overriding-action): Mark as risky.
8031 (display-buffer-alist): Document action function changes.
8032 (display-buffer--same-window-action)
8033 (display-buffer--other-frame-action): New variables.
8034 (switch-to-buffer, display-buffer-other-frame): Use them.
8035 (display-buffer): Rename reuse-frame entry to reusable-frames.
8036 (display-buffer-reuse-selected-window): Function deleted.
8037 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8038 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8039 (display-buffer-special): New function.
8040 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8041 display-buffer-reuse-or-pop-window. Split off special-display
8042 part into display-buffer-special.
8043 (display-buffer-use-some-window): Don't perform any special
8044 pop-up-frames handling.
8045 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8046 (display-buffer--maybe-same-window): Rename from
0d3ff375 8047 display-buffer-maybe-same-window.
8319e0bf 8048
919a69aa
CY
8049 * info.el: Don't set same-window-regexps.
8050 (info-setup): New function.
8051 (info-other-window, info): Call it.
8052
8053 * cus-edit.el: Don't set same-window-regexps.
8054 (customize-group): New argument.
8055 (customize-group-other-window): Use it.
8056 (customize-face, customize-face-other-window): Likewise.
8057 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8058
8319e0bf
CY
8059 * net/rlogin.el:
8060 * net/telnet.el:
8061 * progmodes/gud.el: Don't set same-window-regexps.
8062
8063 * cmuscheme.el:
8064 * ielm.el:
8065 * shell.el:
8066 * mail/sendmail.el:
8067 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8068
25173000
JL
80692011-09-10 Juri Linkov <juri@jurta.org>
8070
8071 * isearch.el (isearch-edit-string): Remove obsolete mention of
8072 `C-w' (`isearch-yank-word-or-char') from docstring.
8073 (isearch-query-replace): Fix typo in docstring (bug#9466).
8074
056e44ef
JL
80752011-09-10 Juri Linkov <juri@jurta.org>
8076
8077 * paren.el (show-paren-function): Don't show escaped parens.
8078 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8079
c3760c17
EZ
80802011-09-10 Eli Zaretskii <eliz@gnu.org>
8081
8082 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8083 (mm-default-file-encoding): Remove autoload forms, they are
8084 replaced with autoload cookies in mml.el and mm-encode.el.
8085 (mail-add-attachment): New command.
8086 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8087 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8088 the doc string.
8089 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8090
fece895e
RT
80912011-09-10 Reuben Thomas <rrt@sc3d.org>
8092
e69df516
SM
8093 * simple.el (count-words-region): Use buffer if there's no region
8094 (bug#9429).
fece895e 8095
5e68ce4a
JL
80962011-09-09 Juri Linkov <juri@jurta.org>
8097
8098 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8099 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8100 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8101
0a6b9622
AM
81022011-09-09 Alan Mackenzie <acm@muc.de>
8103
8104 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8105 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8106
14a29deb
EZ
81072011-09-09 Eli Zaretskii <eliz@gnu.org>
8108
8109 Fix for Savannah bug#9392.
8110 * simple.el (mail-encode-mml): New defvar.
8111
8112 * mail/rmail.el (mail-encode-mml): Add a defvar.
8113 (rmail-enable-mime-composing): Default to t.
8114 (rmail-forward): Use MIME method of forwarding only if both
8115 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8116 Set mail-encode-mml non-nil if the MIME method was used.
8117
8118 * mail/sendmail.el (mml-to-mime): Add autoload form.
8119 (mail-encode-mml): Add a defvar.
8120 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8121 to nil.
8122 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8123 message through mml-to-mime, and reset mail-encode-mml to nil.
8124
28c45130
GM
81252011-09-09 Glenn Morris <rgm@gnu.org>
8126
8127 * woman.el (woman-if-body): When processing an .el block,
8128 do not delete the next .el block as well. (Bug#9447)
69f4b618 8129 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8130
9b1c252e
MR
81312011-09-08 Martin Rudalics <rudalics@gmx.at>
8132
8133 * window.el (window-deletable-p): Make sure window is live before
8134 invoking window-prev-buffers.
8135
567457e3
LL
81362011-09-08 Leo Liu <sdl.web@gmail.com>
8137
8138 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8139
97f05794
JL
81402011-09-08 Juri Linkov <juri@jurta.org>
8141
8142 * progmodes/compile.el (compilation-environment): Make it
8143 a defcustom (bug#8340).
8144
8b0874b5
MR
81452011-09-08 Martin Rudalics <rudalics@gmx.at>
8146
8147 * window.el (frame-auto-delete): Rename to window-auto-delete.
8148 Make it control auto-deletion of windows and/or frames.
8149 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8150 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8151 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8152 Rewrite handling of case when window/frame can be deleted.
8153 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8154 argument t. (Bug#9456)
8b0874b5 8155
4feb6e73
CY
81562011-09-07 Chong Yidong <cyd@stupidchicken.com>
8157
8158 * help-mode.el (help-mode): Restore autoload.
8159
91ab9c13
JL
81602011-09-07 Juri Linkov <juri@jurta.org>
8161
8162 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8163 `compilation-environment'. Set buffer-local
8164 `compilation-environment' to `thisenv' later after (funcall mode).
8165 (Bug#8340)
8166
8167 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8168 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8169 instead of replacing its value. (Bug#8340)
8170
0527e251
JL
81712011-09-07 Juri Linkov <juri@jurta.org>
8172
8173 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8174 based on text properties put by `grep-filter' instead of matching
8175 escape sequences.
8176 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8177 to the value of `grep-error-screen-columns' (bug#9438).
8178
249f792c
JL
81792011-09-07 Juri Linkov <juri@jurta.org>
8180
8181 * simple.el (next-error-highlight, next-error-highlight-no-select):
8182 Doc fix (bug#9432).
8183
ff7271b9
OT
81842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8185
8186 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8187 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8188
183fc730
LL
81892011-09-07 Leo Liu <sdl.web@gmail.com>
8190
8191 * net/rcirc.el (rcirc-mode): Conditionally initialize
8192 rcirc-input-ring.
8193
77694924
SM
81942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 * emacs-lisp/find-func.el (find-function-C-source): Only set
8197 find-function-C-source-directory after checking that we found a source
8198 file there (bug#9440).
8199
d809b8eb
AM
82002011-09-06 Alan Mackenzie <acm@muc.de>
8201
8202 * isearch.el (isearch-other-meta-char): Wherever a key list is
8203 unread, "unread" the prefix arg, too. This fixes bug #8901.
8204
453de99f
OG
82052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8206
8207 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8208
90439906
JL
82092011-09-05 Juri Linkov <juri@jurta.org>
8210
8211 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8212
f62bd846
JL
82132011-09-05 Juri Linkov <juri@jurta.org>
8214
8215 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8216 keeping point where processing of grep matches begins, and
8217 continue to delete remaining escape sequences from the same point.
8218 (grep-filter): Make leading zero optional in "0?1;31m" because
8219 git-grep emits "\033[1;31m" escape sequences unlike expected
8220 "\033[01;31m" as GNU Grep does (bug#9408).
8221 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8222
045820ec
JL
82232011-09-05 Juri Linkov <juri@jurta.org>
8224
8225 * subr.el (y-or-n-p): Capitalize "yes".
8226
f5e29b9b
MA
82272011-09-04 Michael Albinus <michael.albinus@gmx.de>
8228
8229 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8230 `tramp-cache-unload-hook' where appropriate.
8231 (tramp-methods): Rename `tramp-remote-sh' to
8232 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8233 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8234
8235 * net/tramp-sh.el (top): Don't require 'shell.
8236 (tramp-methods): Add `tramp-remote-shell' and
8237 `tramp-remote-shell-args' entries.
8238 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8239 (tramp-sh-handle-shell-command): Remove.
8240 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8241 Use `tramp-remote-shell'.
8242
2784c434
CY
82432011-09-03 Chong Yidong <cyd@stupidchicken.com>
8244
393a301e 8245 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8246 (sendmail-query-once): Save directly to send-mail-function.
8247 Update message-send-mail-function too.
8248
8249 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8250
464cdf56
CS
82512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8252
8253 * progmodes/python.el (python-mode-map): Use correct function to
8254 start python interpreter from menu-bar (as reported by Geert
8255 Kloosterman).
8256 (inferior-python-mode-map): Fix typo.
393a301e 8257 (python-shell-map): Remove.
464cdf56 8258
d37e5c87
DD
82592011-09-03 Deniz Dogan <deniz@dogan.se>
8260
8261 * net/rcirc.el (rcirc-print): Simplify code for
8262 rcirc-scroll-show-maximum-output. There is no need to walk
8263 through all windows to find the right one.
8264
f3ada0ee
CS
82652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8266
8267 * help.el (help-return-method): Doc fix.
8268
1f3c99ca
MR
82692011-09-03 Martin Rudalics <rudalics@gmx.at>
8270
8271 * window.el (window-deletable-p): Don't return a non-nil value
8272 when there's a buffer that was shown in the window before.
8273 (Bug#9419)
393a301e
SM
8274 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8275 Set window's previous buffers to nil.
1f3c99ca 8276
a3cf097f
EZ
82772011-09-03 Eli Zaretskii <eliz@gnu.org>
8278
8279 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8280 newline before and after the tag line, so it doesn't interfere
8281 with determining the paragraph direction of bidirectional text.
8282
3d03de90
LL
82832011-09-03 Leo Liu <sdl.web@gmail.com>
8284
8285 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8286
c3313451
CY
82872011-09-02 Chong Yidong <cyd@stupidchicken.com>
8288
393a301e 8289 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8290 (pop-to-buffer): Change interactive spec. Pass second argument
8291 directly to display-buffer.
8292 (display-buffer): Fix interactive spec. Use functionp to
8293 distinguish between a function and a list of functions.
8294
8295 * abbrev.el (edit-abbrevs):
8296 * arc-mode.el (archive-extract):
8297 * autoinsert.el (auto-insert):
8298 * bookmark.el (bookmark-bmenu-list):
8299 * files.el (find-file):
8300 * view.el (view-buffer):
8301 * progmodes/compile.el (compilation-goto-locus):
8302 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8303
89894cd8
CY
83042011-09-02 Chong Yidong <cyd@stupidchicken.com>
8305
8306 * window.el (display-buffer-alist): Doc fix.
8307 (display-buffer): Add docstring. Don't treat
8308 display-buffer-default specially.
8309 (display-buffer-reuse-selected-window)
8310 (display-buffer-same-window, display-buffer-maybe-same-window)
8311 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8312 (display-buffer-pop-up-window)
8313 (display-buffer-reuse-or-pop-window)
8314 (display-buffer-use-some-window): New functions.
8315 (display-buffer-default-action): Use them.
393a301e 8316 (display-buffer-default): Delete.
89894cd8
CY
8317 (pop-to-buffer-1): Fix choice of actions.
8318
ae0bc9fb
SM
83192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 * minibuffer.el (completion--insert-strings): Don't get confused by
8322 completion entries that end with an LF char.
8323
e9d90883
EZ
83242011-09-01 Eli Zaretskii <eliz@gnu.org>
8325
8326 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8327
437014c8
CY
83282011-09-01 Chong Yidong <cyd@stupidchicken.com>
8329
8330 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8331 (display-buffer-same-window, display-buffer-other-window):
8332 New functions.
437014c8
CY
8333 (pop-to-buffer-1): New function. Use the above.
8334 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8335 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8336
8337 * view.el (view-buffer-other-window, view-buffer-other-frame):
8338 Just use pop-to-buffer.
8339
a5e063d5
TV
83402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8341
8342 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8343
793d32bb
WH
83442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8345
8346 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8347
d65e4c15
RS
83482011-08-31 Richard Stallman <rms@gnu.org>
8349
8350 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8351 of the separation of rmail-view-buffer from rmail-buffer.
8352 If you say no to "replace original", the decrypt is in the
8353 view buffer. If you say yes, the decrypt goes into the
8354 rmail buffer also.
8355
f818cd2a
MR
83562011-08-31 Martin Rudalics <rudalics@gmx.at>
8357
8358 * window.el (display-buffer-window): Rewrite doc-string.
8359 (display-buffer-record-window): New function.
8360 (display-buffer-macro-specifiers)
8361 (display-buffer-even-window-sizes, display-buffer-set-height)
8362 (display-buffer-set-width, display-buffer-in-window)
8363 (display-buffer-reuse-window, display-buffer-split-specifiers)
8364 (display-buffer-side-specifiers, display-buffer-split-window-1)
8365 (display-buffer-split-window, display-buffer-split-atom-window)
8366 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8367 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8368 (display-buffer-other-window-means-other-frame)
8369 (display-buffer-normalize-special)
8370 (display-buffer-normalize-default)
8371 (display-buffer-normalize-argument)
8372 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8373 (display-buffer-normalize-specifiers, display-buffer-frame)
8374 (display-buffer-same-window, display-buffer-same-frame)
8375 (display-buffer-other-window)
8376 (display-buffer-same-frame-other-window)
8377 (display-buffer-other-frame, pop-to-buffer-same-window)
8378 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8379 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8380 (switch-to-buffer-same-frame)
8381 (switch-to-buffer-other-window-same-frame)
8382 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8383 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8384 (display-buffer-alist-set): Remove.
8385 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8386 (special-display-regexps, special-display-function):
8387 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8388 parameter.
8389 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8390 (special-display-frame-alist, special-display-popup-frame)
8391 (same-window-buffer-names, same-window-regexps, same-window-p)
8392 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8393 (split-window-preferred-function, split-height-threshold)
8394 (split-width-threshold, window-splittable-p)
8395 (split-window-sensibly, window--try-to-split-window)
8396 (window--frame-usable-p, even-window-heights)
8397 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8398 (window--display-buffer-2, display-buffer-other-frame):
8399 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8400 (display-buffer-default, display-buffer-assq-regexp): New functions.
8401 (display-buffer-alist): Rewrite doc-string.
8402 (display-buffer-default-action)
8403 (display-buffer-overriding-action): New variables.
8404 (display-buffer, switch-to-buffer): Rewrite.
8405 (pop-to-buffer): Restore Emacs 23 behavior but use
8406 window-normalize-buffer-to-display.
8407 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8408 Restore Emacs 23 behavior but use
8409 window-normalize-buffer-to-switch-to.
8410 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8411 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8412 Rewrite using Emacs 23 options.
f818cd2a 8413
5bc3b51d
MA
84142011-08-31 Michael Albinus <michael.albinus@gmx.de>
8415
8416 * net/tramp.el (tramp-root-regexp): Remove.
8417 (tramp-completion-file-name-regexp-unified)
8418 (tramp-completion-file-name-regexp-separate)
8419 (tramp-completion-file-name-regexp-url): Don't use leading volume
8420 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8421 (tramp-drop-volume-letter): Simplify definition.
8422 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8423
b1a4f8e1
SM
84242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8427 (bug#9356).
8428
5664fa7b
RT
84292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8430
b1a4f8e1 8431 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8432
9a45d6c3
JL
84332011-08-29 Juri Linkov <juri@jurta.org>
8434
8435 * isearch.el (isearch-done): Don't display message "Mark saved"
8436 when arg `edit' is non-nil to prevent its flicker in the echo area.
8437
fb87e0fb
CY
84382011-08-28 Chong Yidong <cyd@stupidchicken.com>
8439
8440 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8441 obsolete packages for deletion.
8442
09ac1c2a
CS
84432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8444
8445 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8446 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8447 view-mode from help-mode.
8448 (help-xref-override-view-map): Remove.
8449 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8450 view-mode is not used anymore.
8451
7a1ff57f
CY
84522011-08-28 Chong Yidong <cyd@stupidchicken.com>
8453
8454 * server.el (server-port): Doc fix.
8455
b9696605
CY
8456 * cus-theme.el (custom-theme-choose-mode): Inherit from
8457 special-mode (Bug#9124).
8458 (custom-theme-choose-mode-map): Add special-mode to parent.
8459
ef8cdf8c
AM
84602011-08-28 Alan Mackenzie <acm@muc.de>
8461
8462 * progmodes/cc-fonts.el
8463 (c-make-font-lock-BO-decl-search-function): New function.
8464 (c-basic-matchers-after - "Fontify the clauses after various
8465 keywords"): Extract the three keyword lists for the 3 erroneous
8466 constructs from the list of four, and use the new function above
8467 in place of an old one.
8468
27de4e20
DD
84692011-08-28 Deniz Dogan <deniz@dogan.se>
8470
8471 * net/rcirc.el (rcirc-insert-prev-input)
8472 (rcirc-insert-next-input): Remove unused argument.
8473
356a3681
SM
84742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8477
3fc9b218
AM
84782011-08-27 Alan Mackenzie <acm@muc.de>
8479
8480 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8481 handle function pointer parameters properly.
8482
538a061c
MR
84832011-08-27 Martin Rudalics <rudalics@gmx.at>
8484
8485 * window.el (display-buffer-reuse-window): Fix case where
8486 selected window was reused with non-nil OTHER-WINDOW argument.
8487 (Bug#9381)
8488
35b1c40c
DD
84892011-08-27 Deniz Dogan <deniz@dogan.se>
8490
8491 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8492 oftc's NickServ messages.
8493
2f6a3e79
GM
84942011-08-27 Glenn Morris <rgm@gnu.org>
8495
8496 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8497
7254299e
CY
84982011-08-26 Chong Yidong <cyd@stupidchicken.com>
8499
8500 * emacs-lisp/package.el (package-install): Call package-initialize
8501 if called interactively.
8502
f8ccf167
LL
85032011-08-26 Leo Liu <sdl.web@gmail.com>
8504
8505 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8506
3e8cd5ce
JL
85072011-08-25 Juri Linkov <juri@jurta.org>
8508
8509 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8510 `search-whitespace-regexp' (bug#9364).
8511
93eb7113
JL
85122011-08-25 Juri Linkov <juri@jurta.org>
8513
8514 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8515 `regexp-search-ring' to their global values to protect from
8516 updating by `read-from-minibuffer' (bug#9185).
8517
f65d1611
JL
85182011-08-25 Juri Linkov <juri@jurta.org>
8519
8520 * textmodes/ispell.el (ispell-command-loop): Add newline
8521 at the end of the "Use option `i'..." line.
8522
f1cf7a31
JL
85232011-08-25 Juri Linkov <juri@jurta.org>
8524
8525 * battery.el (display-battery-mode): If `battery-status-function'
8526 or `battery-mode-line-format' is nil, display the message and set
8527 `display-battery-mode' to nil (bug#9363).
8528
0c95fcf7
EZ
85292011-08-25 Eli Zaretskii <eliz@gnu.org>
8530
8531 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8532 bidi-string-mark-left-to-right; they are unnecessary now.
8533
a2ebe600
DD
85342011-08-25 Deniz Dogan <deniz@dogan.se>
8535
8536 * net/quickurl.el: Documentation typo fixes.
8537
e4ed06f1
CY
85382011-08-25 Chong Yidong <cyd@stupidchicken.com>
8539
8540 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8541
e5f1c99e
GM
85422011-08-25 Glenn Morris <rgm@gnu.org>
8543
b2948976
GM
8544 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8545
e5f1c99e
GM
8546 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8547 (smtpmail-via-smtp): Handle nil response from smtp.
8548
f22f4808
JL
85492011-08-24 Juri Linkov <juri@jurta.org>
8550
8551 * proced.el (proced-marked): Inherit from `error' instead of
8552 `font-lock-warning-face'.
8553
8554 * ibuffer.el (ibuffer-marked-face): Change default face from
8555 `font-lock-warning-face' to `warning'.
8556 (ibuffer-deletion-face): Change default face from
8557 `font-lock-type-face' to `error'.
8558
8559 * battery.el (battery-update): Use the face `error' instead of
8560 `font-lock-warning-face' (bug#6117).
8561
6a93965e
JL
85622011-08-24 Juri Linkov <juri@jurta.org>
8563
8564 * faces.el (success): Change face color from "Green3" to
8565 "ForestGreen" on light background (bug#9353).
8566
1ed43b09
CY
85672011-08-24 Chong Yidong <cyd@stupidchicken.com>
8568
5664fa7b
RT
8569 * window.el (quit-window): Rename from quit-restore-window.
8570 Use same arglist as old quit-window.
1ed43b09
CY
8571 (frame-auto-delete): Doc fix.
8572
8573 * view.el (view-mode-exit): Use quit-window.
8574
11dcdbb2
JL
85752011-08-24 Juri Linkov <juri@jurta.org>
8576
8577 * isearch.el (isearch-ring-adjust1): Start visiting previous
8578 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8579 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8580 for empty search string (when the last search string is reused
8581 automatically) to adjust the isearch ring to the last element and
8582 prepare the correct index for further M-p commands (bug#9185).
8583
de62b4df
KH
85842011-08-24 Kenichi Handa <handa@m17n.org>
8585
8586 * international/ucs-normalize.el: If decomposition property of
8587 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8588 nil.
8589 (nfd, nfkd): Likewise.
8590
963b492b
SM
85912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8594 from process filters aren't reliably transmitted to the surrounding
8595 accept-process-output.
8596 (mpc-proc-check): New function.
8597 (mpc-proc-sync): Use it (bug#8293)
8598
93b6b5e1
SM
85992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8602 Add compatibility functions (bug#9313).
8603
bca633fb
EZ
86042011-08-23 Eli Zaretskii <eliz@gnu.org>
8605
b177498a
EZ
8606 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8607
6df6ae42 8608 * international/uni-bidi.el: Regenerate.
bca633fb 8609
0902a04e
KH
86102011-08-23 Kenichi Handa <handa@m17n.org>
8611
8612 * international/charprop.el:
8613 * international/uni-bidi.el:
8614 * international/uni-category.el:
8615 * international/uni-combining.el:
8616 * international/uni-comment.el:
8617 * international/uni-decimal.el:
8618 * international/uni-decomposition.el:
8619 * international/uni-digit.el:
8620 * international/uni-lowercase.el:
8621 * international/uni-mirrored.el:
8622 * international/uni-name.el:
8623 * international/uni-numeric.el:
8624 * international/uni-old-name.el:
8625 * international/uni-titlecase.el:
8626 * international/uni-uppercase.el: Regenerate.
8627
3bbf23bc
MR
86282011-08-23 Martin Rudalics <rudalics@gmx.at>
8629
8630 * help.el (help-window-setup): Fix message displayed when other
8631 window is reused. (Bug#9341)
8632
b3fd59bd
SM
86332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8634
1802e444
SM
8635 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8636 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8637
b3fd59bd
SM
8638 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8639 Mark obsolete.
8640 * shell.el (shell-parse-pcomplete-arguments): New function.
8641 (shell-completion-vars): Use it instead (bug#9160).
8642
4eb61348
SM
86432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8644
867cab74
SM
8645 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8646 strings and comments (bug#9333).
8647
4eb61348
SM
8648 * emacs-lisp/debug.el (debug-arglist): New function.
8649 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8650 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8651
262a1439
JL
86522011-08-22 Juri Linkov <juri@jurta.org>
8653
56ee679c
JL
8654 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8655 Revert regexp that highlights output switches to its old
8656 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8657
262a1439
JL
8658 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8659 to check for empty output (bug#9226).
8660
f13f86fb
CY
86612011-08-22 Chong Yidong <cyd@stupidchicken.com>
8662
8663 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8664 symbol-constituent as the default, as that stops font-lock from
8665 working properly (Bug#8843).
8666
c65c9622
LMI
86672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8668
8669 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8670 `coding-system-for-*' around the process open call to avoid
8671 auth-source side effects.
e7f2c178 8672 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8673 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8674 probe hangs.
c65c9622 8675
23a8a5ab
CY
86762011-08-21 Chong Yidong <cyd@stupidchicken.com>
8677
ff98b2dd
CY
8678 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8679
23a8a5ab
CY
8680 * emacs-lisp/find-func.el (find-function-noselect): New arg
8681 lisp-only.
8682
8683 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8684 signal an error for built-in functions (Bug#6664).
8685
f5e3c598
LMI
86862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8687
8688 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8689 (smtpmail-try-auth-methods): Use it.
8690
a3f2468a
CY
86912011-08-21 Chong Yidong <cyd@stupidchicken.com>
8692
2c34e8da
CY
8693 * font-lock.el (font-lock-fontify-region)
8694 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8695 (font-lock-default-unfontify-buffer)
8696 (font-lock-default-fontify-region)
8697 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8698
b3fd59bd
SM
8699 * progmodes/compile.el (compilation-error-properties):
8700 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8701 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8702 `ant' regexp.
ee31aabc 8703
a3f2468a
CY
8704 * net/browse-url.el (browse-url-firefox): Don't call
8705 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8706
8e999f70
GM
87072011-08-20 Glenn Morris <rgm@gnu.org>
8708
c21a496a
GM
8709 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8710
59ee0542
GM
8711 * tutorial.el (tutorial--default-keys): Update some default bindings.
8712
8e999f70
GM
8713 * files.el (hack-local-variables): Fully ignore case for "mode:".
8714
e3715033
AM
87152011-08-20 Alan Mackenzie <acm@muc.de>
8716
8717 Resolve invalid use of a regexp in regexp-opt.
8718
4d61f28d
JB
8719 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8720 detection for a java annotation.
e3715033 8721
4d61f28d 8722 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8723 detection for a java annotation.
8724
4d61f28d
JB
8725 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8726 handling for java.
e3715033
AM
8727 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8728
04ed2e9c
CY
87292011-08-20 Chong Yidong <cyd@stupidchicken.com>
8730
8731 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8732 (Bug#9274).
8733
826cee64
AM
87342011-08-20 Alan Mackenzie <acm@muc.de>
8735
58179cce 8736 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8737 such a construct. Mainly for when jit-lock etc. starts a chunk
8738 here.
8739
58179cce 8740 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8741 variable.
58179cce 8742 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8743 c-make-font-lock-search-function.
8744 (c-make-font-lock-search-function): Use the above function.
8745 (c-make-font-lock-context-search-function): New function.
8746 (c-cpp-matchers): Enhance the preprocessor expression case with
8747 the above function
8748 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8749 which takes an expression.
8750
8751 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8752
13009bd8
MR
87532011-08-20 Martin Rudalics <rudalics@gmx.at>
8754
8755 * window.el (display-buffer-reuse-window)
8756 (display-buffer-pop-up-window): Don't reuse or split a side
8757 window.
8758
9234ff7f
GM
87592011-08-19 Glenn Morris <rgm@gnu.org>
8760
8761 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8762 Downcase "Mode:". (Bug#9331)
9234ff7f 8763
f635daa1
CY
87642011-08-18 Chong Yidong <cyd@stupidchicken.com>
8765
8766 * international/characters.el: Add L and R categories.
8767
8768 * subr.el (bidi-string-mark-left-to-right): Rename from
8769 string-mark-left-to-right. Use category search.
8770
8771 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8772
bc987f8b
JL
87732011-08-18 Juri Linkov <juri@jurta.org>
8774
8775 * faces.el (error, warning, success): New faces with definitions
8776 copied from old default values of `font-lock-warning-face',
8777 `compilation-warning', `compilation-info' (bug#6117).
8778
8779 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8780
8781 * progmodes/compile.el (compilation-error): Inherit from `error'.
8782 (compilation-warning): Inherit from `warning'.
8783 (compilation-info): Inherit from `success'.
8784
8785 * dired.el (dired-marked): Inherit from `warning'.
8786 (dired-flagged): Inherit from `error'.
8787
57173b96
LMI
87882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8789
3e79eb87
LMI
8790 * mail/smtpmail.el (auth-source): Require to avoid problems with
8791 binding variables (bug#9298). Also clean up some unused
8792 autoloads.
8793
b3fd59bd
SM
8794 * net/network-stream.el (network-stream-open-starttls):
8795 Support using starttls.el without using gnutls-cli.
57173b96 8796
02b404de
JL
87972011-08-17 Juri Linkov <juri@jurta.org>
8798
8799 * progmodes/grep.el (rgrep): Handle the case when
8800 `grep-find-command' is a cons cell (bug#9278).
8801
8c9177f2
MR
88022011-08-17 Martin Rudalics <rudalics@gmx.at>
8803
8804 * window.el (display-buffer-pop-up-frame): Run frame creation
8805 function with BUFFER current (as special-display-popup-frame
8806 does). Reported by Drew Adams.
8807
3644a0ab
DU
88082011-08-17 Daiki Ueno <ueno@unixuser.org>
8809
8810 * epa-mail.el: Simplify GnuPG group expansion using
8811 epg-expand-group.
8812 (epa-mail-group-alist, epa-mail-group-modtime)
8813 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8814 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8815 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8816 Remove.
8817
5e617bc2 88182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8819
8820 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8821
9c4aeabf
AM
88222011-08-16 Alan Mackenzie <acm@muc.de>
8823
8824 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8825 Correct, to avoid the inside of macros.
8826
3a99bf64
RS
88272011-08-16 Richard Stallman <rms@gnu.org>
8828
04963aa8
RS
8829 * epa-mail.el: Handle GnuPG group definitions.
8830 (epa-mail-group-alist, epa-mail-group-modtime)
8831 (epa-mail-gnupg-conf-file): New variables.
8832 (epa-mail-parse-groups, epa-mail-sync-groups)
8833 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8834 (epa-mail-expand-recipients): New functions.
8835 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8836
177549d0
RS
8837 * mail/rmail.el (rmail-epa-decrypt): New command.
8838
fe38beef
RS
8839 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8840 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8841 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8842 (epa-decrypt-armor-in-region): Make error message clearer.
8843
934eacb9
SM
88442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8847 and "a2b" to "ab" for `prefix'.
8848
d024fb4e
CY
88492011-08-14 Chong Yidong <cyd@stupidchicken.com>
8850
8851 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8852 filter groups.
de148fee
CY
8853 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8854 Fourquet (Bug#8804).
d024fb4e 8855
62f1ca49
JB
88562011-08-12 Juanma Barranquero <lekktu@gmail.com>
8857
8858 * startup.el (argi): Declare as global variable (bug#9275).
8859
9ccaaa4b
CY
88602011-08-12 Chong Yidong <cyd@stupidchicken.com>
8861
8862 * subr.el (string-mark-left-to-right): Search the entire string
8863 for RTL script, not just the terminating character. Doc fix.
8864
a3dae87a
SM
88652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8866
6cd18349
SM
8867 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8868 New function.
8869 (js--regexp-literal, js-syntax-propertize-function): Remove.
8870 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8871 (js-mode-map): Don't rebind electric keys.
8872 (js-insert-and-indent): Remove.
8873 (js-mode): Setup electric-layout and electric-indent instead.
8874
a3dae87a
SM
8875 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8876
9d5cb631
DU
88772011-08-12 Daiki Ueno <ueno@unixuser.org>
8878
8879 * epa.el (epa-progress-callback-function): Fix the logic of
8880 displaying progress.
8881 * epa-file.el (epa-file-insert-file-contents): Make progress
8882 display more user-friendly.
8883 (epa-file-write-region): Ditto.
8884
3e26a4a2
CY
88852011-08-10 Chong Yidong <cyd@stupidchicken.com>
8886
8887 * subr.el (string-mark-left-to-right): New function.
8888
8889 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8890 Use string-mark-left-to-right.
8891 (list-buffers-noselect): Caller changed.
8892
a3dae87a
SM
8893 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8894 Use string-mark-left-to-right.
3e26a4a2
CY
8895 (tabulated-list-print): Recenter after moving point.
8896
ac8cf6e6
JL
88972011-08-10 Juri Linkov <juri@jurta.org>
8898
8899 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8900 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8901 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8902
8d96c9a4
CY
89032011-08-09 Chong Yidong <cyd@stupidchicken.com>
8904
8905 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8906 (Bug#7554).
8907
7be1c708 89082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8909
8910 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8911 character. (Bug#6594)
8912
37e11a63
CY
89132011-08-08 Chong Yidong <cyd@stupidchicken.com>
8914
839dde57
CY
8915 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8916 (image-dired--with-db-file): New macro.
8917 (image-dired-write-tags, image-dired-remove-tag)
8918 (image-dired-create-gallery-lists, image-dired-write-comments)
8919 (image-dired-get-comment, image-dired-mark-tagged-files)
8920 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8921 (image-dired-gallery-generate): Use insert-file-contents.
8922
37e11a63
CY
8923 * time.el (display-time-world-list, display-time-world-display):
8924 * time-stamp.el (time-stamp-string):
8925 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8926 set-time-zone-rule (Bug#7337).
8927
0b4946c4
DU
89282011-08-08 Daiki Ueno <ueno@unixuser.org>
8929
8930 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8931 (epg-error-to-string, epg-errors-to-string): New function.
8932 (epg-wait-for-completion): Reverse errors list.
8933 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8934 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8935 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8936 (epg-sign-keys, epg-generate-key-from-file)
8937 (epg-generate-key-from-string): Format errors by using
8938 epg-errors-to-string (bug#9255).
8939 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8940
75bfc667
JL
89412011-08-07 Juri Linkov <juri@jurta.org>
8942
8943 * faces.el (list-faces-display): Remove extra angle bracket
8944 from `help-mode-map'.
8945
8946 * info.el (Info-history-toc-nodes): Doc fix.
8947
8948 * longlines.el (longlines-mode): Doc fix.
8949
673e08bb
SM
89502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8951
4640dd88
SM
8952 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8953 of statements and in a few more cases (bug#9183).
8954
673e08bb
SM
8955 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8956 New functions.
8957 (cl-transform-lambda): Use them (bug#9239).
8958
89b3f019
MR
89592011-08-05 Martin Rudalics <rudalics@gmx.at>
8960
8961 * window.el (display-buffer-same-window)
8962 (display-buffer-same-frame, display-buffer-other-window)
8963 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8964 (pop-to-buffer-other-window)
8965 (pop-to-buffer-same-frame-other-window)
8966 (pop-to-buffer-other-frame): Make them defuns.
8967 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8968
640c8776
SM
89692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * subr.el (make-composed-keymap): Move from C. Change calling
8972 convention, and improve docstring to bring attention to a subtle point.
8973 * minibuffer.el (completing-read-default): Adjust accordingly.
8974
63648a95
MA
89752011-08-03 Michael Albinus <michael.albinus@gmx.de>
8976
8977 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8978 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8979
8980 * net/trampver.el: Update release number.
8981
b796c9b7
SM
89822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8985 "in" (bug#9190).
8986
2239d7d5
LMI
89872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8988
e07dd7c3
LMI
8989 * mail/sendmail.el (sendmail-query-once): Restore the current
8990 buffer after querying (bug#9074).
8991
0e6a2bd7
LMI
8992 * dired.el (dired-flagged): Use different faces for marked and
8993 flagged files (bug#6117).
8994
ce887515
LMI
8995 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8996 (bug#4433).
8997
92f2affc
LMI
8998 * ido.el (ido-mode): Switch off the message if called
8999 non-interactively.
9000
57d5aff0
LMI
9001 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9002 before 587, since it appears that that's more likely to work for
9003 more people.
9004
98cd6c18 9005 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9006 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9007 exist.
9008
b96dec83
LMI
9009 * info.el: Remove the `Info-beginning-of-buffer' function
9010 (bug#8325).
9011
b796c9b7
SM
9012 * net/network-stream.el (network-stream-open-starttls):
9013 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9014
d90e2ea0
MR
90152011-08-01 Martin Rudalics <rudalics@gmx.at>
9016
9017 * window.el (display-buffer-in-window): Don't set dedicated status
9018 of window here (Bug#9215).
9019 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9020 (display-buffer-pop-up-side-window)
b796c9b7 9021 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9022
cca09170
SM
90232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9024
9025 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9026 before binding generated-autoload-file.
9027
027b979c
DD
90282011-08-01 Deniz Dogan <deniz@dogan.se>
9029
9030 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9031
3c7ee4f3
MA
90322011-07-30 Michael Albinus <michael.albinus@gmx.de>
9033
9034 Sync with Tramp 2.2.2.
9035
9036 * net/trampver.el: Update release number.
9037
2cc8e51a
JL
90382011-07-30 Juri Linkov <juri@jurta.org>
9039
9040 * dired-aux.el (dired-touch-initial): Remove function.
9041 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9042 current time, and `default' to the last modification time of the
9043 current marked file (bug#6887).
9044
a514d856
JM
90452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9046
9047 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9048 numeric argument to read-number (bug#9163).
a514d856 9049
8a7eddd7
MA
90502011-07-27 Michael Albinus <michael.albinus@gmx.de>
9051
9052 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9053 connection process, it could be nil.
9054
1ddd96f5
LL
90552011-07-27 Leo Liu <sdl.web@gmail.com>
9056
9057 Simplify url handling in rcirc-mode.
9058
9059 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9060 (rcirc-browse-url-at-mouse): Remove.
9061 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9062
b248a85d
AM
90632011-07-26 Alan Mackenzie <acm@muc.de>
9064
9065 Fontify bitfield declarations properly.
9066
9067 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9068 (c-symbol-chars): Now exported as a lang variable.
9069 (c-not-primitive-type-keywords): New lang variable.
9070
9071 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9072 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9073 parsed as a bitfield declaration.
b248a85d 9074
b796c9b7
SM
9075 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9076 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9077 (c-punctuation-in): New function.
9078 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9079 declarations properly.
9080
68575ab0
UJ
90812011-07-26 Ulf Jasper <ulf.jasper@web.de>
9082
9083 * calendar/icalendar.el (icalendar--all-events): Take care of
9084 multiple vcalendars in a single file.
b796c9b7 9085 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9086
0f0a88b9
DD
90872011-07-25 Deniz Dogan <deniz@dogan.se>
9088
9089 * image.el (insert-image): Clarifying docstring.
9090
0b3f36df
MA
90912011-07-24 Michael Albinus <michael.albinus@gmx.de>
9092
9093 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9094 `tramp-send-command-and-check' if there is no error.
9095 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9096
a9901f61
AM
90972011-07-22 Alan Mackenzie <acm@muc.de>
9098
9099 Prevent cc-langs.elc being loaded at run time.
9100
9101 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9102 cc-langs.
9103
4d61f28d 9104 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9105 "(require 'cc-langs)". Quote a form so it will evaluate at
9106 (cc-mode's) compilation time.
9107
11d074b2
MA
91082011-07-22 Michael Albinus <michael.albinus@gmx.de>
9109
9110 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9111 loading. (Bug#9114)
9112
938b94c8
MR
91132011-07-21 Martin Rudalics <rudalics@gmx.at>
9114
9115 * window.el (display-buffer-pop-up-window)
9116 (display-buffer-pop-up-side-window)
9117 (display-buffer-in-side-window): Call display-buffer-set-height
9118 and display-buffer-set-width after setting the new window's
b796c9b7 9119 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9120
bfa4f190
SS
91212011-07-20 Sam Steingold <sds@gnu.org>
9122
9123 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9124 (etags-tags-included-tables): Call `convert-standard-filename' on
9125 the file names contained in TAGS so that windows Emacs can handle
9126 TAGS files created by cygwin ctags.
9127
8ca42262
LMI
91282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9129
9130 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9131 which apparently didn't work.
9132
5db2afd2 91332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9134
5db2afd2
RW
9135 * proced.el (proced-send-signal): For *Marked Processes* buffer
9136 put point at beginning of buffer.
9137
92e15d10
SB
91382011-07-19 Stephen Berman <stephen.berman@gmx.net>
9139
9140 * proced.el (proced-format): Make header lines align with the text
9141 (bug#1779).
9142
1bfd59e5
LMI
91432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9144
9145 * view.el (view-buffer): Allow running in `special' modes if we're
9146 visiting a file (bug#8615).
9147
f5aae37c
MR
91482011-07-19 Martin Rudalics <rudalics@gmx.at>
9149
9150 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9151 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9152 New functions.
f5aae37c
MR
9153 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9154 more accurately.
9155
bf2c1571
AM
91562011-07-18 Alan Mackenzie <acm@muc.de>
9157
9158 Fontify declarators properly when, e.g., a jit-lock chunk begins
9159 inside a declaration.
9160
9161 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9162
b796c9b7
SM
9163 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9164 New function.
bf2c1571
AM
9165 (c-complex-decl-matchers): Insert reference to
9166 c-font-lock-enclosing-decls.
9167
9168 * progmodes/cc-engine.el (c-backward-single-comment):
9169 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9170 to nil around calls to (forward-comment -1).
9171
4e190b80
LMI
91722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9173
12dc863d
LMI
9174 * image.el (put-image): Doc typo fix.
9175
a762e966
LMI
9176 * progmodes/etags.el (tags-search): Doc typo fix.
9177
4e190b80
LMI
9178 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9179 password if we get errors 550 to 554.
9180
f019fb21
LMI
91812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9182
b796c9b7 9183 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9184
81746738
LMI
9185 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9186 indentation character (bug#6380).
9187
3ee3a1b5
LMI
9188 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9189
c82f64de
LMI
9190 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9191 to clarify what the problem is (bug#4291).
9192
f019fb21
LMI
9193 * simple.el (current-kill): Clarify what
9194 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9195 (auto-fill-mode): Document `auto-fill-function' in relation to
9196 `auto-fill-mode' (bug#2470).
f019fb21 9197
0794775d
LM
91982011-07-16 Lawrence Mitchell <wence@gmx.li>
9199
9200 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9201 method if slot is read-only (bug#9035).
9202
be39b8cc
MR
92032011-07-16 Martin Rudalics <rudalics@gmx.at>
9204
b796c9b7 9205 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9206 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9207 selected before, see discussion of (Bug#8615), (Bug#6954).
9208 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9209
6ccf7859
GM
92102011-07-15 Glenn Morris <rgm@gnu.org>
9211
9212 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9213 Respect help-form.
6ccf7859 9214
87e86684
LM
92152011-07-09 Lawrence Mitchell <wence@gmx.li>
9216
9217 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9218 (gnutls-negotiate): Use it.
9219
d6066239
LMI
92202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9221
b796c9b7
SM
9222 * net/gnutls.el (gnutls-negotiate):
9223 Upcase `gnutls-algorithm-priority'.
d6066239 9224
bd23ebc0
GM
92252011-07-15 Glenn Morris <rgm@gnu.org>
9226
c65bca65
GM
9227 * jka-compr.el (jka-compr-verbose): Move from here...
9228 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9229 Add missing :version tag.
9230 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9231
478615cc
LMI
92322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9233
7b41decb
LMI
9234 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9235 (gnutls-negotiate): Use it.
9236
dbc44fcd
LMI
9237 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9238
06789f97
LMI
9239 * info.el (Info-beginning-of-buffer): New command.
9240 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9241 announcing `b' as the key (bug#8325).
ab896c37 9242 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9243
c39da690
LMI
9244 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9245
3aa5f34b
LMI
9246 * international/mule-cmds.el
9247 (describe-specified-language-support): Make the error message
9248 clearer (bug#8905).
9249
4bf0979f
LMI
9250 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9251
478615cc
LMI
9252 * isearch.el (isearch-barrier): Add a doc string, since it's
9253 mentioned in a function doc string (bug#8678).
9254
75c68aa1
MR
92552011-07-15 Martin Rudalics <rudalics@gmx.at>
9256
9257 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9258 buffer argument (Bug#9083) and self-identifying label argument.
9259
a7c33da2
GM
92602011-07-15 Glenn Morris <rgm@gnu.org>
9261
9262 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9263
2f5c6024
LMI
92642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9265
9266 * man.el (Man-fontify-manpage): Fix message when formatting the
9267 man page (bug#7929).
9268
0bb23927 92692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9270
9271 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9272 argument LRM; if non-nil, append an invisible LRM character to the
9273 buffer name.
9274 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9275 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9276 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9277 paragraph direction.
cce4b0a7 9278
621ef9ab
LMI
92792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9280
d1583c48
LMI
9281 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9282 the man page name (bug#7929).
9283
6a57fb5f
LMI
9284 * image.el (put-image): Mention the `put-image' overlay property
9285 (bug#7834).
9286
d7956b14
LMI
9287 * scroll-bar.el (set-scroll-bar-mode): Mention that
9288 `scroll-bar-mode' lists the values (bug#7772).
9289
5b2d4a66
LMI
9290 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9291 command (bug#7729).
9292
7509a874
LMI
9293 * rect.el (apply-on-rectangle): Return the point after the last
9294 operation.
9295 (string-rectangle): Go to the point after the last operation
9296 (bug#7522).
9297
4fe74b19
LMI
9298 * printing.el (pr-toggle-region): Clarify the documentation
9299 slightly (bug#7493).
9300
b796c9b7
SM
9301 * time.el (display-time-update):
9302 Allow `display-time-mail-function' to return nil (bug#7158).
9303 Fix suggested by Detlev Zundel.
ab283561 9304
fc233c9d
LMI
9305 * vc/diff.el (diff): Clarify the order the file names are read
9306 (bug#7111).
9307
43f5740b
LMI
9308 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9309 the doc string (bug#7015).
9310
f2182a76
LMI
9311 * font-lock.el (font-lock-maximum-decoration): Mention what
9312 numeric levels mean (bug#6935).
9313
621ef9ab
LMI
9314 * startup.el (initial-buffer-choice): Don't mention the `none'
9315 selection, which is against policy.
9316
adc47434
MR
93172011-07-14 Martin Rudalics <rudalics@gmx.at>
9318
b796c9b7
SM
9319 * window.el (display-buffer-normalize-special):
9320 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9321
7e5bfb8f
EZ
93222011-07-14 Eli Zaretskii <eliz@gnu.org>
9323
9324 * subr.el (version<, version<=, version=): Mention "-CVS" and
9325 "-12345" alpha version numbers.
9326
27fa387a
CY
93272011-07-14 Chong Yidong <cyd@stupidchicken.com>
9328
9329 * bindings.el: Add advertised binding for set-mark-command
9330 (Bug#5772).
9331
8bdfa064
CY
93322011-07-14 Chong Yidong <cyd@stupidchicken.com>
9333
9334 * bindings.el (mode-line-other-buffer):
9335 * bookmark.el (bookmark-bmenu-2-window):
9336 * bs.el (bs-cycle-next, bs-cycle-previous):
9337 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9338 switch-to-buffer.
9339
9340 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9341 Delete.
8bdfa064 9342
5eba16a3
JB
93432011-07-14 Juanma Barranquero <lekktu@gmail.com>
9344
9345 * follow.el (follow-debug-message, follow-redisplay):
9346 * jka-cmpr-hook.el (with-auto-compression-mode):
9347 Fix typos in docstrings.
9348
15853710
LMI
93492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9350
a28e4607
LMI
9351 * subr.el (with-silent-modifications): Clarify somewhat what the
9352 macro inhibits (bug#6525).
9353
15853710
LMI
9354 * simple.el (eval-expression): Note what it does if called
9355 interactively (bug#6495).
9356
bee0fcef
CY
93572011-07-13 Chong Yidong <cyd@stupidchicken.com>
9358
b796c9b7
SM
9359 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9360 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9361
9362 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9363 Remove switch-to-buffer.
9364
58274504
LMI
93652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9366
bd2fcc8d
LMI
9367 * files.el (make-directory): Clarify that an error will be raised
9368 if there's an error (bug#6397).
9369
0f04b32c
LMI
9370 * startup.el (initial-buffer-choice): Add `none' as a choice
9371 (bug#6234).
9372
465c5fc8
LMI
9373 * subr.el (add-hook): Clarify section about buffer-local hooks
9374 (bug#6218).
9375
58274504
LMI
9376 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9377
bead9a43
JB
93782011-07-13 Juanma Barranquero <lekktu@gmail.com>
9379
9380 * tabify.el (untabify): Preserve the current column so that point
9381 doesn't move (bug#6032).
9382
3af98a7b
LMI
93832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9384
b796c9b7
SM
9385 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9386 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9387
6240145a
GM
93882011-07-13 Glenn Morris <rgm@gnu.org>
9389
9390 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9391 (dired-insert-directory): Give a message the first time
9392 if ls is found not to support --dired.
9393
1d8c2ccc
LMI
93942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9395
9396 * simple.el (toggle-truncate-lines): Clarify what is toggled
9397 (bug#5580). Text by Drew Adams.
9398
5fc4038e
CY
93992011-07-13 Chong Yidong <cyd@stupidchicken.com>
9400
9401 * simple.el (blink-matching-open): Make the error message from the
9402 last change less verbose.
9403
bf6012e5
DN
94042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9405
9406 * font-lock.el (font-lock-comment-face): Use the high contrast
9407 "yellow" color for font-lock-comment-face on low color terminals
9408 using a dark background color (bug#4221).
9409
343c3b5a
LMI
94102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9411
7e9505c5
LMI
9412 * dired.el (dired-insert-set-properties): Make the doc string
9413 reflect what it does now (bug#5325).
9414
c26fdcf5
LMI
9415 * simple.el (blink-matching-open): Say that we were unable to find
9416 the match within the limit, if we're limited (bug#5122).
9417
bb388cc5
LMI
9418 * international/mule-cmds.el (prefer-coding-system): Add an
9419 example (bug#4869).
9420
343c3b5a
LMI
9421 * progmodes/etags.el (tags-search): Document `file-list-form'
9422 (bug#4731).
9423
2a517d45
LM
94242011-07-13 Lawrence Mitchell <wence@gmx.li>
9425
9426 * net/browse-url.el (browse-url-default-browser)
9427 (browse-url-browser-function): Make the default browser choice a
9428 bit more logical (bug#4300). Also clean up the doc string.
9429
b6c78ef2
JB
94302011-07-13 Juanma Barranquero <lekktu@gmail.com>
9431
9432 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9433 binary endings (bug#4440).
9434
1c4dd947
LMI
94352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9436
a2014063
LMI
9437 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9438 which can be pretty annoying (bug#8971).
9439
9c9c2d88
LMI
9440 * jka-compr.el (jka-compr-verbose): New variable, and use
9441 throughout (bug#8971).
9442
1c4dd947
LMI
9443 * info.el (Info-find-file): Fall back on the installation
9444 directory if we can't find the info node anywhere else.
9445
a1c9f41b
SO
94462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9447
9448 * vc/vc.el (vc-revert-file):
9449 Don't set file time-stamp in the past. (Bug#5181)
9450
536f3d36
LMI
94512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9452
7152b011
LMI
9453 * files.el (after-find-file): Give a better error message when
9454 trying to find a symlink that points to a file that doesn't exist
9455 (bug#4398).
9456
536f3d36
LMI
9457 * progmodes/cc-vars.el: Remove (probably) misleading comment
9458 (bug#4396).
9459
460c0fba
JB
94602011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9461
9462 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9463
7a6bda45
CY
94642011-07-12 Chong Yidong <cyd@stupidchicken.com>
9465
9466 * mouse-sel.el: Hack restoring functionality, while keeping
9467 compatibility with 2010-07-03 changes to mouse selection.
9468 (mouse-sel-primary-overlay): New var.
9469 (mouse-sel-selection-alist): Use it.
9470 (mouse-sel-mode): Doc fix; remove points that are default features
9471 of mouse.el.
9472
c79598ef
JB
94732011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9474
9475 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9476 Fix previous fix (bug#2490).
9477
ff8be6ef
RW
94782011-07-12 Roland Winkler <winkler@gnu.org>
9479
b796c9b7
SM
9480 * textmodes/bibtex.el (bibtex-initialize):
9481 Use pop-to-buffer-same-window.
ff8be6ef
RW
9482 (bibtex-search-entries): Fix interactive call.
9483
296ba3ee
LMI
94842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9485
f5242a02 9486 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9487 Fontise bytecomp Error lines more correctly (bug#2490).
9488 Fix suggested by Johan BockgĂ¥rd.
f5242a02 9489
296ba3ee
LMI
9490 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9491
9492 * dired-x.el (dired-guess-default): Use `delete-dups'.
9493
f69fd0d2
CY
94942011-07-12 Chong Yidong <cyd@stupidchicken.com>
9495
9496 * dired.el (dired-mark-prompt):
9497 * dired-aux.el (dired-read-shell-command): Doc fix.
9498
eab5dc07
LMI
94992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500
b796c9b7
SM
9501 * mail/sendmail.el (sendmail-query-once):
9502 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9503 emacs -Q.
9504
9505 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9506
eab5dc07
LMI
9507 * cus-edit.el (custom-file): Take an optional no-error variable.
9508 (customize-save-variable): Set the variable, and give a warning if
9509 running under "emacs -q".
9510
a1e65d42
JB
95112011-07-11 Juanma Barranquero <lekktu@gmail.com>
9512
9513 * loadhist.el (unload-feature-special-hooks):
9514 Add `auto-coding-functions', `fill-nobreak-predicate' and
9515 `find-directory-functions' (bug#5327).
9516
1d52da10
LMI
95172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9518
be958f1d
LMI
9519 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9520
5bedb26c
LMI
9521 * cus-edit.el (custom-guess-name-alist): -alist variables should
9522 use the `alist' type (bug#3120). Suggested by Drew Adams.
9523
1d52da10
LMI
9524 * printing.el: Add documentation to all the `pr-toggle-' commands.
9525
cd394be1 95262011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9527
9528 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9529 backends where it makes sense (bug#2623).
9530
dcc88d8a
LMI
95312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9532
c3de9feb
LMI
9533 * dired-x.el (dired-guess-default): Remove duplicate shell command
9534 entries (bug#2028).
8a93078b 9535 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9536 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9537
dcc88d8a
LMI
9538 * subr.el (remove-duplicates): New conveniency function.
9539
505e3645
LMI
95402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9541
9542 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9543 (bug#1526).
9544
95452011-07-10 Martin Rudalics <rudalics@gmx.at>
9546
9547 * window.el (display-buffer-normalize-default): Don't invert
9548 meaning of even-window-heights. Reported by Eli Zaretskii
9549 <eliz@gnu.org>.
9550
455e4fa1
BR
95512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9552
9553 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9554
8e0bc3e9
CY
95552011-07-10 Chong Yidong <cyd@stupidchicken.com>
9556
9557 * window.el (display-buffer): Fix arguments to
9558 display-buffer-reuse-window in last change.
9559
fa7c3228
CY
9560 * faces.el (link): Use a less saturated blue on light backgrounds.
9561
9562 * startup.el (fancy-startup-text, fancy-about-text)
9563 (fancy-startup-tail): Use font-lock faces, for background safety.
9564
c0a7f300
BN
95652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9566
b796c9b7
SM
9567 * emulation/viper-cmd.el (viper-change-state-to-vi):
9568 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9569
4dc2a129
MR
95702011-07-09 Martin Rudalics <rudalics@gmx.at>
9571
9572 * window.el (display-buffer-default-specifiers): Remove.
9573 (display-buffer-macro-specifiers): Remove default specifiers.
9574 (display-buffer-alist): Default to nil.
b796c9b7 9575 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9576 (display-buffer-pop-up-window): Allow splitting internal
9577 windows. Check whether a live window was created.
9578 (display-buffer-other-window-means-other-frame)
9579 (display-buffer-normalize-arguments): Rename to
9580 display-buffer-normalize-argument and rewrite. Set the
9581 other-window specifier.
9582 (display-buffer-normalize-special): New function.
9583 (display-buffer-normalize-options): Rename to
9584 display-buffer-normalize-default and rewrite.
9585 (display-buffer-normalize-options-inhibit): Remove.
9586 (display-buffer-normalize-specifiers): Rewrite.
9587 (display-buffer): Process other-window specifier and call
9588 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9589 more faithfully.
b796c9b7 9590 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9591 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9592 (display-buffer-in-window, display-buffer-alist-set):
9593 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9594 <tassilo@member.fsf.org>.
9595
2d43b8c9
LL
95962011-07-09 Leo Liu <sdl.web@gmail.com>
9597
9598 * register.el (insert-register): Restore accidental change on
9599 2011-06-26. (Bug#9028)
9600
7f9b7c53
GM
96012011-07-09 Glenn Morris <rgm@gnu.org>
9602
9603 * subr.el (remq): Handle the empty list. (Bug#9024)
9604
f042cfd8
AS
96052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9606
9607 * mail/sendmail.el (send-mail-function): No longer delay custom
9608 initialization.
9609 * custom.el (custom-initialize-delay): Doc fix.
9610
856b2f11
SM
96112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9614
afae1d68
MA
96152011-07-08 Michael Albinus <michael.albinus@gmx.de>
9616
9617 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9618 human-friendly prompt.
9619
0757af94
SM
96202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9621
9622 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9623 provided by a particular plugin.
9624
d760b731
LMI
96252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9626
9627 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9628 save customizations (with "emacs -Q"), just set the variable
9629 instead of erroring out.
9630
9631 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9632
cd79ce90
JL
96332011-07-08 Juri Linkov <juri@jurta.org>
9634
9635 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9636 (archive-zip-update-case): Use 7z if found by `executable-find'.
9637 The order of searching the available programs is the same as in
9638 `archive-zip-extract' (bug#8968).
9639
14cc04aa
CY
96402011-07-07 Chong Yidong <cyd@stupidchicken.com>
9641
9642 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9643 (menu-bar-options-menu): Tweak descriptions.
9644
0a1848ec
LMI
96452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9646
9647 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9648 menu items into verb phrases (bug#1421). Also refill to fit under
9649 80 columns.
9650
f5bd0689
CY
96512011-07-07 Chong Yidong <cyd@stupidchicken.com>
9652
538e85c6
CY
9653 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9654 (Info-read-node-name): Doc fix (Bug#1084).
9655
f5bd0689
CY
9656 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9657 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9658 (end-of-sexp, beginning-of-sexp)
9659 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9660 (forward-symbol, forward-same-syntax, word-at-point)
9661 (sentence-at-point): Doc fix (Bug#1144).
9662
56ec5115
LMI
96632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9664
f3f8e37f
LMI
9665 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9666 should cover it (bug#1281).
9667
0757af94 9668 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9669
e9fce1ac 9670 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9671 negotiation fails, then possibly try again with a non-encrypted
9672 connection (bug#9017).
9673
56ec5115
LMI
9674 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9675 be used.
9676
c2f9aec8
RS
96772011-07-07 Richard Stallman <rms@gnu.org>
9678
9679 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9680 property, and handle its changed format.
9681 Look for the correct line number.
9682 Use file's line contents (but not past first =) to find
9683 correct line in message.
9684
ef7b981d 96852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9686
9687 * international/characters.el (build-unicode-category-table):
9688 Delete it.
0757af94 9689 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9690
0757af94 9691 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9692 to src/chartab.c.
9693 (get-char-code-property): Call unicode-property-table-internal to
9694 load a file. Call get-unicode-property-internal where necessary.
9695 (put-char-code-property): Call unicode-property-table-internal to
9696 load a file. Call put-unicode-property-internal where necessary.
9697 put-unicode-property-internal where necessary.
0757af94
SM
9698 (char-code-property-description):
9699 Call unicode-property-table-internal to load a file.
c805dec0
KH
9700
9701 * international/charprop.el:
9702 * international/uni-bidi.el:
9703 * international/uni-category.el:
9704 * international/uni-combining.el:
9705 * international/uni-comment.el:
9706 * international/uni-decimal.el:
9707 * international/uni-decomposition.el:
9708 * international/uni-digit.el:
9709 * international/uni-lowercase.el:
9710 * international/uni-mirrored.el:
9711 * international/uni-name.el:
9712 * international/uni-numeric.el:
9713 * international/uni-old-name.el:
9714 * international/uni-titlecase.el:
9715 * international/uni-uppercase.el: Regenerate.
9716
9717 * loadup.el: Load international/charprop.el before
9718 international/characters.
9719
e14b388a
CY
97202011-07-07 Chong Yidong <cyd@stupidchicken.com>
9721
9722 * window.el (next-buffer, previous-buffer): Signal an error if
9723 called from a minibuffer window.
9724
9725 * bindings.el: Revert 2011-07-04 change.
9726
354cf0ba
RS
97272011-07-06 Richard Stallman <rms@gnu.org>
9728
9729 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9730 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9731 Treat markers like ints.
9732 (rmail-mime-entity): Doc fix.
9733
a48868a7
LMI
97342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9735
4906cd3d
LMI
9736 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9737 defcustom again for backwards compatibility.
9738
e0457abe
LMI
9739 * simple.el (shell-command-on-region): Fill.
9740
d67f7e1f
LMI
9741 * dired-aux.el (dired-kill-line): Add a doc string.
9742
fe204702
LMI
9743 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9744 to "\\sw\\|\\s_" (bug#358).
9745
a48868a7
LMI
9746 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9747 (dired-unmark-backward): Ditto.
9748 (dired-flag-backup-files): Ditto.
9749
9750 * dired-x.el (dired-mark-sexp): Ditto.
9751
aa8a705c
RS
97522011-07-06 Richard Stallman <rms@gnu.org>
9753
9754 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9755 (rmail-mime-entity): New arg TRUNCATED.
9756 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9757 New functions.
9758 (rmail-mime-save): Warn if entity is truncated.
9759 (rmail-mime-toggle-hidden): Likewise, for showing.
9760 (rmail-mime-process-multipart): Record when an entity is truncated.
9761
a9a936b9
RS
9762 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9763 if ENTITY is a string.
9764
1f2b92cb
LMI
97652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9766
f4f73198 9767 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9768 of faces when `M-C-x'-ing their definitions (bug#8378).
9769 Also clean up the code slightly.
f4f73198 9770
12b16734 9771 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9772 because that makes the colors go away.
12b16734 9773
f0691d22
LMI
9774 * mail/sendmail.el (send-mail-function): Change the default to
9775 `sendmail-query-once'.
9e87df06 9776 (sendmail-query-once): Add an autoload cookie.
f0691d22 9777
1f2b92cb
LMI
9778 * net/network-stream.el (network-stream-open-starttls): Try using
9779 a plain connection even if the server offered STARTTLS, and we
9780 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9781 capability. This should make smtpmail.el work in slightly more
9782 configurations.
9783
1cdd2a1b
MA
97842011-07-06 Michael Albinus <michael.albinus@gmx.de>
9785
9786 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9787 New defun.
9788 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9789
fbcc67e2
MM
97902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9791
9792 * progmodes/sql.el: Version 3.0
0757af94 9793 (sql-product-alist): Add product :completion-object,
fbcc67e2 9794 :completion-column, and :statement attributes.
0757af94 9795 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9796 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9797 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9798 ansi keywords.
9799 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9800 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9801 (sql-oracle-show-reserved-words): New function for development.
9802 (sql-product-font-lock): Simplify for source code buffers.
9803 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9804 New functions.
9805 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9806 (sql-mode-map): Add statement movement functions.
9807 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9808 New variable.
fbcc67e2
MM
9809 (sql-statement-regexp, sql-beginning-of-statement)
9810 (sql-end-of-statement, sql-signum): New functions.
0757af94 9811 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9812 (sql-show-sqli-buffer): Bug fix.
9813 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9814 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9815 with sql-interactive-mode.
9816 (sql-save-connection): Save buffer local settings.
0757af94 9817 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9818 (sql-product-interactive): Bug fix.
9819 (sql-preoutput-hold): New variable.
9820 (sql-interactive-remove-continuation-prompt): Bug fixes.
9821 (sql-debug-redirect): New variable.
9822 (sql-str-literal): New function.
9823 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9824 Redesign.
fbcc67e2
MM
9825 (sql-oracle-save-settings, sql-oracle-restore-settings)
9826 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9827 (sql-completion-object, sql-completion-column)
9828 (sql-completion-sqlbuf): New variables.
9829 (sql-build-completions-1, sql-build-completions)
9830 (sql-try-completion): New functions.
9831 (sql-read-table-name): Use them.
9832 (sql-contains-names): New buffer local variable.
9833 (sql-list-all, sql-list-table): Use it.
9834 (sql-oracle-completion-types): New variable.
9835 (sql-oracle-completion-object, sql-sqlite-completion-object)
9836 (sql-postgres-completion-object): New functions.
9837
d4eaeab1
GM
98382011-07-06 Glenn Morris <rgm@gnu.org>
9839
9840 * window.el (pop-to-buffer): Doc fix.
9841
322b7dab 98422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9843
9844 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9845
322b7dab 98462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9847
322b7dab 9848 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9849
322b7dab 9850 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9851
605dd5bf
CY
98522011-07-05 Chong Yidong <cyd@stupidchicken.com>
9853
9854 * button.el (button): Inherit from link face. Suggested by Dan
9855 Nicolaescu.
9856
7dbfa719
SM
98572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9858
3db614b0
SM
9859 * progmodes/gdb-mi.el: Fit in 80 columns.
9860 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9861 switch-to-buffer.
9862
7dbfa719
SM
9863 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9864 if imenu is simply not configured (bug#8941).
9865
919d884a
KM
98662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9867
9868 * allout.el (allout-post-undo-hook): New allout outline-change
9869 event hook to signal undo activity.
9870 (allout-post-command-business): Run allout-post-undo-hook if an
9871 undo just occurred.
7dbfa719
SM
9872 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9873 * allout-widgets.el (allout-widgets-after-undo-function):
9874 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9875 in the vicinity of an undo.
9876 (allout-widgets-mode): Include allout-widgets-after-undo-function
9877 on the new allout-post-undo-hook.
9878
450a0f09
SM
98792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9882 Let define-derived-mode define it.
9883 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9884 cycles of abbrev-table inheritance (bug#8998).
9885
2de69e00
RW
98862011-07-05 Roland Winkler <winkler@gnu.org>
9887
9888 * textmodes/bibtex.el: Add support for biblatex.
9889 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9890 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9891 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9892 (bibtex-entry-alist, bibtex-field-alist): New variables.
9893 (bibtex-entry-field-alist): Obsolete alias for
9894 bibtex-BibTeX-entry-alist.
9895 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9896 (bibtex-set-dialect): New command.
9897 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9898 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9899 Bind via bibtex-set-dialect.
2de69e00
RW
9900 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9901 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9902 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9903 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9904 Define via bibtex-set-dialect.
450a0f09
SM
9905 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9906 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9907 (bibtex-vec-push, bibtex-vec-incr): New functions.
9908 (bibtex-format-entry, bibtex-field-list)
9909 (bibtex-print-help-message, bibtex-validate)
9910 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9911
2dcdbdd9
SM
99122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * progmodes/compile.el (compilation-goto-locus):
9915 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9916 * bs.el (bs-cycle-next, bs-cycle-previous):
9917 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9918 * bindings.el (mode-line-other-buffer):
9919 * autoinsert.el (auto-insert):
9920 * arc-mode.el (archive-extract):
9921 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9922
b27640fe
JB
99232011-07-05 Juanma Barranquero <lekktu@gmail.com>
9924
9925 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9926 Fix check of `emacs-lock-unlockable-modes'.
9927 Coerce true values of `emacs-lock--try-unlocking' to t.
9928
53bbe3ad
JB
99292011-07-05 Juanma Barranquero <lekktu@gmail.com>
9930
9931 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9932 * emacs-lock.el: New file.
9933
1d3cdbc7
JD
99342011-07-05 Julien Danjou <julien@danjou.info>
9935
9936 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9937 than `boundp' to check if face is set.
9938
9173deec
JB
99392011-07-05 Juanma Barranquero <lekktu@gmail.com>
9940
9941 * register.el (registerv-make):
9942 * window.el (window-min-height): Fix typos in docstrings.
9943
869795d6
JD
99442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9945
9173deec 9946 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9947 Update doc string.
9948
b768cdcd
JB
99492011-07-04 Juanma Barranquero <lekktu@gmail.com>
9950
9951 * server.el (server-execute): Catch quit and call
9952 `server-return-error' to pass the error back to emacsclient and
9953 close the connection (bug#8942).
9954
13aa217b
KM
99552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9956
9957 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9958 insecure exception for current topic. Also note that auto-saves
9959 are handled differently.
9960
5d3385a0 9961 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9962 State variables for tracking auto-save inhibition situation.
9963
9964 (allout-write-contents-hook-handler): Rename from
9965 'allout-write-file-hook-handler', and describe how it depends on
9966 write-contents-functions sensitivity to non-nil value to prevent
9967 file write.
9968
9969 (allout-auto-save-hook-handler): Remove. auto-save does not check
9970 this in individual buffers, only in the starting buffer, so this
9971 is not the right way for us to inhibit auto-save in a buffer
9972 according to its condition.
9973
9974 (allout-mode): Use new allout-write-contents-hook-handler, and
9975 only with write-contents-functions. Remove auto-save provisions -
9976 they're implemented elsewhere.
9977
9978 (allout-before-change-handler): If undo is in progress, note that
9979 for attention of allout-post-command-business.
9980
9981 (allout-post-command-business): If the command we're following was
9982 an undo, check for change in the status of encrypted items and
9983 adjust auto-save inhibitions accordingly.
9984
9985 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9986 according to whether there are or aren't any plain-text topics
9987 pending encryption.
9988
2dcdbdd9 9989 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
9990 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9991 if there are plain-text topics pending encryption.
13aa217b
KM
9992
9993 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9994 buffer-saved-size and some allout state to not inhibit auto-saves
9995 if there are no longer any plain-text topics pending encryption.
9996
0757af94
SM
9997 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9998 No longer provide for exemption of the current topic.
13aa217b 9999
ac89b32c
JL
100002011-07-04 Juri Linkov <juri@jurta.org>
10001
10002 Add 7z operations to delete and save changed members (bug#8968).
10003 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10004 New defcustoms.
10005 (archive-7z-write-file-member): New function.
10006 (archive-7z-summarize): Fix the number of dashes in the
10007 listing output.
10008
8fa39615
SM
100092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10012 (bug#8958).
10013
2f11b3f1
CY
100142011-07-04 Chong Yidong <cyd@stupidchicken.com>
10015
d66fef2b
CY
10016 * bindings.el: Ignore next-buffer and previous-buffer in
10017 minibuffer-local-map.
10018
2f11b3f1
CY
10019 * font-lock.el (font-lock-builtin-face): Change light background
10020 color to dark slate blue (Bug#6693).
10021
f932a347
WD
100222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10023
10024 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10025
c8af70e1
SM
100262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10027
10028 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10029 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10030 Add switch-to-buffer.
10031
f158badc
LMI
100322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10033
10034 * isearch.el (isearch-search-fun-function): Clarify further the
10035 meaning of the function returned.
10036
6d95bd46
MA
100372011-07-04 Michael Albinus <michael.albinus@gmx.de>
10038
10039 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10040
10041 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10042 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10043 Use it.
10044 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10045 `tramp-default-remote-path' does not exist.
10046 (tramp-send-command-and-read): New optional argument NOERROR.
10047 (tramp-open-connection-setup-interactive-shell)
10048 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10049 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10050 (tramp-process-sentinel): Flush also process' connection property.
10051 (tramp-sh-handle-start-file-process): Do not set process
10052 sentinel. It is done now ...
10053 (tramp-maybe-open-connection): ... here. (Bug#8929)
10054
909e6b67
MK
100552011-07-04 MON KEY <monkey@sandpframing.com>
10056
10057 * play/animate.el (animate-string): Doc fixes and allow changing
10058 the buffer name (bug#5417).
10059
100602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10061
c8af70e1 10062 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10063
f34755dc
PE
100642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10065
396cec72
PE
10066 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10067 This is simpler and helps future-proof the code.
10068 (timer-until): Use time-subtract and float-time.
08235028 10069 (timer--time-less-p): Use time-less-p.
f34755dc 10070
56e6cc31
JB
100712011-07-04 Juanma Barranquero <lekktu@gmail.com>
10072
3abb79e5
JB
10073 * type-break.el (timep): Use the value of `float-time' to avoid a
10074 byte-compiler warning.
10075
56e6cc31
JB
10076 * server.el (server-eval-and-print): Return any result, even nil.
10077
7b9430b4
PE
100782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10079
10080 * type-break.el: Accept time formats that the builtins accept.
10081 (timep, type-break-time-difference): Accept any format that
10082 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10083 This is simpler and helps future-proof the code.
10084 (type-break-time-difference): Round rather than ignoring
10085 subseconds components.
10086
3034e9e7
LMI
100872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10088
10089 * info.el (Info-apropos-matches): Make non-interactive, since it
10090 doesn't seem to do anything useful as a command (bug#8829).
10091
1485f4c0
CY
100922011-07-03 Chong Yidong <cyd@stupidchicken.com>
10093
10094 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10095 Move from faces.el.
1485f4c0
CY
10096 (frame-default-terminal-background): New function.
10097
10098 * custom.el (custom-push-theme): Don't record faces in `changed'
10099 theme; this doesn't work correctly for per-frame face settings.
10100 (disable-theme): Use face-set-after-frame-default to reset faces.
10101 (custom--frame-color-default): New function.
10102
9fa3dd45
LMI
101032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10104
c8af70e1 10105 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10106 (bug#8769).
10107
6cbbc20c
KR
101082011-03-29 Kevin Ryde <user42@zip.com.au>
10109
10110 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10111 `perl-Test2' extend to match possible "fail #N" rep count
10112 (bug#8377).
10113
c7f98048
LMI
101142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10115
65676592
LMI
10116 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10117 `smtpmail-via-smtp' now returns the error instead of nil.
10118
c7f98048
LMI
10119 * isearch.el (isearch-search-fun-function): Clarify the doc string
10120 (bug#8101).
10121
56e6cc31 101222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10123
10124 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10125 unnecessary spaces (bug#8987).
10126
2b216704
LMI
101272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10128
10129 * net/network-stream.el (open-network-stream): Use the
10130 :end-of-capability command thoughout.
10131
101322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10133
10134 * net/network-stream.el (open-network-stream): Add the
10135 :end-of-capability command parameter, used by pop3.el.
10136
36adf6ce
LMI
101372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10138
1ca0da0e
LMI
10139 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10140
fc00f69c
LMI
10141 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10142 for list)" (bug#6475).
10143
28fd8759 10144 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10145 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10146 an error (bug#6297).
10147
0dd8b6da
LMI
10148 * man.el (Man-reference-regexp): Allow matching possible
10149 word-wrapped references (bug#6289).
10150
ce1438d6
LMI
10151 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10152 for consistency with the other vc buffers (bug#6197).
10153 (vc-checkin): Ditto.
10154
10155 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10156
36adf6ce
LMI
10157 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10158
e83cc1f7
LMI
101592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10160
8a20ca4c
LMI
10161 * custom.el (defcustom): Clarify that :set is only used in the
10162 Customize user interface (bug#6089).
10163
83319045
LMI
10164 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10165 associated with a file, refuse to run instead of erroring out
10166 (bug#6084).
10167
a8392169
LMI
10168 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10169 the doc string, since it appears that using `fill-column' always
10170 controls the width (bug#7845).
10171
e83cc1f7
LMI
10172 * simple.el (shell-command-on-region): Say where the error output
10173 went if `shell-command-default-error-buffer' is set (bug#6857).
10174
e47ca23b
KM
101752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10176
10177 * allout.el (allout-yank-processing): Adjust cursor position for
10178 backwards-deleted space.
10179
10180 (allout-rebullet-heading): Register changes with
10181 allout-exposure-changed-hook, so the modified topic is properly
10182 decorated.
10183
5cf56143
LMI
101842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10185
08549772
LMI
10186 * minibuffer.el (completion-in-region): Document PREDICATE
10187 (bug#7136).
10188
48e96771
LMI
10189 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10190 of keyword/argument pairs (bug#6904).
10191
c8af70e1
SM
10192 * replace.el (multi-occur):
10193 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10194
e17d05e2
LMI
101952011-07-02 Drew Adams <drew.adams@oracle.com>
10196
10197 * dired.el (dired-mark-if): Make the message about whether it's
10198 marking or unmarking clearer (bug#8523).
10199
063b0e45
LMI
102002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10201
10202 * disp-table.el (display-table-print-array): New function.
10203 (describe-display-table): Use it to print the vectors more pretty
10204 (Bug#8859).
10205
28545e04
MR
102062011-07-02 Martin Rudalics <rudalics@gmx.at>
10207
10208 * window.el (window-state-get-1): Don't assign clone numbers.
10209 Add clone-of item to list of window parameters.
10210 (window-state-put-2): Don't process clone numbers.
10211 (display-buffer-alist): Fix doc-string.
10212
3349e122
SM
102132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10214
10215 * subr.el (remq): Don't allocate if it's not needed.
10216 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10217 (keymap--merge-bindings): New functions.
10218 (keymap-canonicalize): Use them to refine the canonicalization.
10219 * minibuffer.el (minibuffer-local-completion-map)
10220 (minibuffer-local-must-match-map): Move initialization from C.
10221 (minibuffer-local-filename-completion-map): Move initialization from C;
10222 don't inherit from anything here.
10223 (minibuffer-local-filename-must-match-map): Make obsolete.
10224 (completing-read-default): Use make-composed-keymap to combine
10225 minibuffer-local-filename-completion-map with either
10226 minibuffer-local-must-match-map or
10227 minibuffer-local-filename-completion-map.
10228
d224ac83
GM
102292011-07-01 Glenn Morris <rgm@gnu.org>
10230
3de63bf8
GM
10231 * type-break.el (type-break-time-sum): Use dolist.
10232
d224ac83
GM
10233 * textmodes/flyspell.el (flyspell-word-search-backward):
10234 Replace CL function.
10235
1a1e3f32
SM
102362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10237
fe3f64d5
SM
10238 * mouse.el (mouse--strip-first-event): New function.
10239 (function-key-map): Use it to map fringe clicks to normal clicks
10240 by default.
10241
eb604e34
SM
10242 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10243 (vc-bzr-revision-completion-table): Add support for annotate and date.
10244
1a1e3f32
SM
10245 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10246 inherit from parent.
10247
5bd35902
LMI
102482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10249
ace6c69c 10250 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10251 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10252
191e2bed
LMI
10253 * dired.el (dired-mode): Fix up the doc string as suggested by
10254 Drew Adams (bug#8817).
10255
5bd35902
LMI
10256 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10257 cookie, since the manual says that it should be possible to add
10258 this function to `find-file-hook' (bug#8709).
10259
eee8207a
TZ
102602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10261
10262 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10263 here. Noted Ted Zlatanov as the maintainer.
10264 (cfengine-common-settings, cfengine-common-syntax): New functions
10265 to set up common things between `cfengine-mode' and
10266 `cfengine3-mode'.
10267 (cfengine3-mode): New mode.
10268 (cfengine3-defuns cfengine3-defuns-regex
10269 (cfengine3-class-selector-regex cfengine3-category-regex)
10270 (cfengine3-vartypes cfengine3-font-lock-keywords)
10271 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10272 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10273
36b148cf
MA
102742011-07-01 Michael Albinus <michael.albinus@gmx.de>
10275
10276 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10277
10278 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10279
0bf4ba9a
MR
102802011-07-01 Martin Rudalics <rudalics@gmx.at>
10281
10282 * window.el (same-window-buffer-names, same-window-regexps)
10283 (same-window-p, special-display-frame-alist)
10284 (special-display-popup-frame, special-display-function)
10285 (special-display-buffer-names, special-display-regexps)
10286 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10287 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10288 (split-window-preferred-function, split-height-threshold)
10289 (split-width-threshold, even-window-heights)
10290 (display-buffer-mark-dedicated, window-splittable-p)
10291 (split-window-sensibly, window-safely-shrinkable-p):
10292 Un-obsolete.
10293 (display-buffer): Don't spread args with function specifier
10294 because special-display-popup-frame won't like it.
10295
35837f51
PE
102962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10297
d0672f86
PE
10298 Time-stamp simplifications and fixes.
10299 These improve accuracy slightly, and future-proof the code
10300 against some potential changes to current-time format.
10301
b9444d97
PE
10302 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10303 by using time-since and float-time.
10304
0ef923dc
PE
10305 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10306 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10307 + NNN microseconds".
10308
2f81380d
PE
10309 * type-break.el (type-break-time-sum): Rewrite using time-add.
10310
845b5c3e
PE
10311 * play/hanoi.el (hanoi-current-time-float): Remove.
10312 All uses replaced by float-time.
10313
ee6f1be0
PE
10314 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10315 This yields a more-accurate answer.
10316 (rng-time-to-float): Remove; no longer needed.
10317
fe955043
PE
10318 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10319
5777162a
PE
10320 * calendar/timeclock.el (timeclock-seconds-to-time):
10321 Defalias to seconds-to-time, since they're the same thing.
10322
3103f8b6 10323 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10324 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10325 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10326
0e61a35f
SM
103272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * window.el (bury-buffer): Don't iconify the only frame.
10330 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10331 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10332
ddd63a1e
CY
103332011-07-01 Chong Yidong <cyd@stupidchicken.com>
10334
0e61a35f
SM
10335 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10336 Add mouse-yank-primary.
ddd63a1e 10337
055f4923
TZ
103382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10339
10340 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10341
6a2fb145
SM
103422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10345 (find-library-name): Use it to find relative load names when provided
10346 absolute file name (bug#8803).
10347
fd4983f2
LMI
103482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10349
887d14ad
LMI
10350 * textmodes/flyspell.el (flyspell-word): Consider words that
10351 differ only in case as potential doublons (bug#5687).
10352
c53dc7fc
LMI
10353 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10354 Remove two rather uninteresting debugging-like messages to make
10355 debbugs.el more silent.
10356
fd4983f2
LMI
10357 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10358 a password-like phrase.
10359
7a71b18d 103602011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10361
10362 * progmodes/cc-guess.el: New file.
10363
6a2fb145 10364 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10365
10366 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10367 derived from `c-basic-common-init'.
10368
10369 * progmodes/cc-mode.el (top-level): Require cc-guess.
10370 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10371
1fa280a3
LM
103722011-06-30 Lawrence Mitchell <wence@gmx.li>
10373
10374 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10375
e6597158
AM
103762011-06-30 Alan Mackenzie <acm@muc.de>
10377
1fa280a3
LM
10378 * progmodes/cc-engine.el (c-guess-continued-construct):
10379 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10380 lock is disabled. Name this case as "CASE G".
10381
68ba37fb
KM
103822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10383
10384 * allout.el (allout-yank-processing): Fix injection of extra space
10385 between bullet and non-whitespace character in first topic when
10386 pasting, ensuring that the actual spacing in the pasted topic
10387 following the bullet char is preserved. This extra space was
10388 causing pasted encrypted topics to get a decrypted status even
10389 when the content was actually still encrypted. Now the decryption
10390 status from before the paste is preserved.
10391
10392 (allout-flag-region): Set all allout overlays so they evaporate
10393 when reduced to zero length (evanescent), to prevent overlay
10394 leakage.
10395
887a0b34
GM
103962011-06-30 Glenn Morris <rgm@gnu.org>
10397
94b9acce
GM
10398 * w32-fns.el (w32-charset-info-alist): Declare.
10399
1d9b46d4
GM
10400 * find-dired.el (find-grep-options): Simplify.
10401
cc232200
GM
10402 * term/ns-win.el (ns-set-resource): Declare.
10403
28e77c46
GM
10404 * ses.el (row, col): Declare dynamic variables honestly.
10405
887a0b34
GM
10406 * textmodes/reftex-parse.el (index-tags): Declare.
10407
658d8eb8
CY
104082011-06-30 Chong Yidong <cyd@stupidchicken.com>
10409
10410 * cus-edit.el (customize-push-and-save): New function.
10411
10412 * files.el (hack-local-variables-confirm): Use it.
10413
1fa280a3
LM
10414 * custom.el (load-theme): New arg NO-CONFIRM.
10415 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10416 (custom-enabled-themes): Doc fix.
10417
10418 * cus-theme.el (customize-create-theme)
10419 (custom-theme-merge-theme): Callers to load-theme changed.
10420
bb617717
LMI
104212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10422
d61bdd5d
LMI
10423 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10424 short URLs have at least one dot in them (bug #7614).
10425
bb617717
LMI
10426 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10427 nil, because using a pty is apparently too slow (bug #895).
10428
2f31f37a
LMI
104292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10430
10431 * mail/sendmail.el (sendmail-query-once): New function.
10432 (sendmail-query-once-function): New variable.
10433
3076b24e
GM
104342011-06-29 Glenn Morris <rgm@gnu.org>
10435
faf2a174
GM
10436 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10437
3076b24e
GM
10438 * ses.el (top-level): Require cl when compiling.
10439 (ses-set-localvars): Fix error statement.
10440 Call it at compile time to silence a storm of warnings.
10441
5386012d
MR
104422011-06-29 Martin Rudalics <rudalics@gmx.at>
10443
10444 * window.el (normalize-live-buffer): Rename to
10445 window-normalize-buffer.
10446 (normalize-live-frame): Rename to window-normalize-frame.
10447 (normalize-any-window): Rename to window-normalize-any-window.
10448 (normalize-live-window): Rename to window-normalize-live-window.
10449 (make-window-atom): Rename to window-make-atom.
10450 (window-resize-reset): Rename to window--resize-reset.
10451 (window-resize-reset-1): Rename to window--resize-reset-1.
10452 (resize-mini-window): Rename to window--resize-mini-window.
10453 (resize-subwindows-skip-p): Rename to
10454 window--resize-subwindows-skip-p.
10455 (resize-subwindows-normal): Rename to
10456 window--resize-subwindows-normal.
10457 (resize-subwindows): Rename to window--resize-subwindows.
10458 (resize-other-windows): Rename to window--resize-siblings.
10459 (resize-this-window): Rename to window--resize-this-window.
10460 (resize-root-window): Rename to window--resize-root-window.
10461 (resize-root-window-vertically): Rename to
10462 window--resize-root-window-vertically.
10463 (normalize-buffer-to-display): Rename to
10464 window-normalize-buffer-to-display.
10465 (normalize-buffer-to-switch-to): Rename to
10466 window-normalize-buffer-to-switch-to.
10467 Correspondingly update all callers of the functions listed
10468 above.
10469 (display-buffer-alist, display-buffer-normalize-arguments)
10470 (display-buffer-normalize-options, display-buffer)
10471 (display-buffer-alist-set): Use "function" instead of
10472 "fun-with-args".
10473
1176868d
CY
104742011-06-28 Chong Yidong <cyd@stupidchicken.com>
10475
10476 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10477 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10478 debbugs.gnu.org. Mention acknowledgment email.
10479
20a7a65f
LMI
104802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10481
10482 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10483 buffer multibyteness, since it shouldn't matter.
10484
5f45cca5
MR
104852011-06-28 Martin Rudalics <rudalics@gmx.at>
10486
10487 * window.el (display-buffer-in-side-window): Handle dedicated
10488 windows as in display-buffer-reuse-window.
10489 (display-buffer-normalize-alist): Use value of override
10490 specifier.
10491 (display-buffer-normalize-specifiers): Use value of
10492 other-window-means-other-frame specifier.
10493 (display-buffer-alist): Rewrite some texts in widgets.
10494 (display-buffer): Spread arguments when calling function
10495 specified by fun-with-args.
10496
ad85fe1f
DD
104972011-06-28 Deniz Dogan <deniz@dogan.se>
10498
1fa280a3
LM
10499 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10500 Unnest `let'.
da68c4c8 10501
ad85fe1f
DD
10502 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10503 selectors (Bug#5732).
ec49bd31 10504 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10505
a08cc025
JA
105062011-06-27 Jari Aalto <jari.aalto@cante.net>
10507
10508 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10509 (eshell-ls-date-format): New defcustom.
10510 (eshell-ls-file): Use it.
10511
e2b551c5
SM
105122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10515
8982b231
KY
105162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10517
10518 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10519 (ange-ftp-make-tmp-name): New arg.
10520 (ange-ftp-file-local-copy): Use it.
10521
36c9fa27
J
105222011-06-27 Jambunathan K <kjambunathan@gmail.com>
10523
10524 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10525 no-conversion (Bug#8870).
10526
d68443dc
MR
105272011-06-27 Martin Rudalics <rudalics@gmx.at>
10528
10529 * window.el (window-right, window-left, window-child)
10530 (window-child-count, window-last-child)
10531 (window-iso-combination-p, walk-window-tree-1)
10532 (window-atom-check-1, window-tree-1, delete-window)
10533 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10534 new naming conventions - window-vchild, window-hchild,
10535 window-next and window-prev are now called window-top-child,
10536 window-left-child, window-next-sibling and window-prev-sibling
10537 respectively.
d615d6d2
MR
10538 (resize-window-reset): Rename to window-resize-reset.
10539 (resize-window-reset-1): Rename to window-resize-reset-1.
10540 (resize-window): Rename to window-resize.
10541 (window-min-height, window-min-width)
10542 (resize-mini-window, resize-this-window, resize-root-window)
10543 (resize-root-window-vertically, adjust-window-trailing-edge)
10544 (enlarge-window, shrink-window, maximize-window)
10545 (minimize-window, delete-window, quit-restore-window)
10546 (split-window, balance-windows, balance-windows-area-adjust)
10547 (balance-windows-area, window-state-put-2)
10548 (display-buffer-even-window-sizes, display-buffer-set-height)
10549 (display-buffer-set-width, set-window-text-height)
10550 (fit-window-to-buffer): Rename all "resize-window" prefixed
10551 calls to use the "window-resize" prefix convention.
10552 (display-buffer-alist): Fix symbol for label specifier.
10553 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10554 corresponding specifier.
10555 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10556
b6458526
VB
105572011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10558
10559 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10560 convention.
10561 (ses-call-printer): Does not pass an empty string to formatter when the
10562 cell is empty to keep from barking printer Calc math-format-value.
10563
d31fd9ac
RS
105642011-06-27 Richard Stallman <rms@gnu.org>
10565
43d5bf84
RS
10566 * battery.el (battery-mode-line-limit): New variable.
10567 (battery-update): Handle it.
10568
d31fd9ac
RS
10569 * mail/rmailmm.el (rmail-mime-process-multipart):
10570 Handle truncated messages.
10571
819a6054
GM
105722011-06-27 Glenn Morris <rgm@gnu.org>
10573
10574 * progmodes/flymake.el (flymake-err-line-patterns):
10575 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10576
cedc73f2
VB
105772011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10578
819a6054 10579 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10580 (ses--clean-!, ses--clean-_): New functions.
10581 (ses-range): Add configurability of readout order, and conversion
10582 to Calc vector.
10583
5e5d49b6
VB
10584 * ses.el (ses-repair-cell-reference-all): New function.
10585 (ses-cell-symbol): Set macro as safe, so that it can be used in
10586 formulas.
10587
56e6cc31 10588 * ses.el: Update cycle detection algorithm.
90ca8b49 10589 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10590 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10591 (ses-set-localvars): New function.
10592 (ses-make-cell): Add property-list as a cell element.
10593 (ses-cell-property-get-fun, ses-cell-property-get)
10594 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10595 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10596 New functions.
90ca8b49
VB
10597 (ses-cell-property-set, ses-cell-property-pop)
10598 (ses-cell-property-get-handle): New macro.
10599 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10600 New aliases, used for code readability.
10601 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10602 cycle detection.
10603 (ses-self-reference-early-detection): New defcustom.
fac916bf 10604 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10605 (ses-mode): Use ses-set-localvars.
10606 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10607 before lauching the update processing.
10608 (ses-initialize-Dijkstra-attempt): New function.
10609 (ses-recalculate-cell): Update for cycle detection based on
10610 Dijkstra algorithm.
10611
2bb63e81
VB
10612 * ses.el: Fix commenting and indenting convention.
10613
c9d29fb8
SM
106142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10615
10616 * bs.el (bs-cycle-next): Complete last change.
10617
d8e4b68b
JB
106182011-06-27 Drew Adams <drew.adams@oracle.com>
10619
10620 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10621
40098786
LMI
106222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10623
c9d29fb8
SM
10624 * net/network-stream.el (network-stream-open-starttls):
10625 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10626 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10627
40098786
LMI
10628 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10629 to binary to possibly avoid line encoding issues on Windows (among
10630 other things).
10631
468d09d4
LMI
106322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10633
10634 * net/network-stream.el (open-network-stream): Return an :error
10635 saying what the problem was, if possible.
10636
10637 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10638 server.
10639
10640 * net/network-stream.el (network-stream-open-starttls): If we
10641 wanted to use STARTTLS, and the server offered it, but we weren't
10642 able to because we had no STARTTLS support, then close the connection.
10643 (open-network-stream): Return an :error element, if present.
10644
16f07dd7
CY
106452011-06-26 Chong Yidong <cyd@stupidchicken.com>
10646
88821ca0
CY
10647 * hl-line.el (hl-line-sticky-flag): Doc fix.
10648 (global-hl-line-sticky-flag): New option (Bug#8323).
10649 (global-hl-line-highlight): Obey it.
10650
16f07dd7
CY
10651 * vc/vc.el (vc-revert-show-diff): Default to t.
10652
6b5ccddf
KM
106532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10654
c9d29fb8
SM
10655 * allout-widgets.el (allout-widgets-post-command-business):
10656 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10657 undecorated when an isearch is continued past, and isearch
10658 automatically collapses them. This leads to "widget leaks", where
10659 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10660 hidden widgets can slow down cursor travel, substantially.
10661 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10662 so we're doing without this nicety.
10663
10664 (allout-widgets-tally-string): Don't try to do a hash-table-count
10665 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10666 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10667 *Messages* when allout-widgets-maintain-tally is t.
10668
355f2e07
MR
106692011-06-26 Martin Rudalics <rudalics@gmx.at>
10670
10671 * window.el (display-buffer-normalize-argument): Rename to
10672 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10673 LABEL argument. Respect special-display-function when popping up
10674 a new frame. Fix code searching for a window showing the buffer
10675 on another frame.
c9d29fb8
SM
10676 (display-buffer-normalize-specifiers):
10677 Call display-buffer-normalize-arguments.
355f2e07
MR
10678 (display-buffer-in-window): Don't undedicate the window if its
10679 buffer remains the same.
10680 Reported by Drew Adams <drew.adams@oracle.com>.
10681 (display-buffer-alist): Add choice for same-window macro
10682 specfier.
10683 (display-buffer): Mention special meaning of LABEL argument in
10684 doc-string. Fix quoting. Don't pop up a new frame even as
10685 fallback.
10686
7ca8fc42
JB
106872011-06-26 Juanma Barranquero <lekktu@gmail.com>
10688
10689 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10690 avoid deleting the current window in some cases (bug#8911).
10691
bc312254
AS
106922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10693
10694 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10695 (Bug#8934)
10696
2db18f3f
LMI
106972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10698
c9d29fb8
SM
10699 * net/network-stream.el (network-stream-open-starttls):
10700 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10701 (network-stream-open-tls): Ditto.
10702
6302e0d3
LL
107032011-06-26 Leo Liu <sdl.web@gmail.com>
10704
10705 * register.el (registerv): New struct.
10706 (registerv-make): New function.
c9d29fb8
SM
10707 (jump-to-register, describe-register-1, insert-register):
10708 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10709 struct. (Bug#8415)
10710
5fdd4046
CY
107112011-06-26 Chong Yidong <cyd@stupidchicken.com>
10712
2afef60a
CY
10713 * vc/vc.el (vc-revert-show-diff): New defcustom.
10714 (vc-diff-internal): New arg specifying diff buffer.
10715 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10716 reuse an existing *vc-diff* buffer (Bug#8927).
10717
5fdd4046
CY
10718 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10719
e93db24a
GM
107202011-06-26 Glenn Morris <rgm@gnu.org>
10721
10722 * progmodes/f90.el (f90-critical-indent): New option.
10723 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10724 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10725 (f90-mode): Doc fix.
10726 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10727 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10728 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10729 (f90-match-end): Handle block, critical.
10730
eefff499
GM
107312011-06-25 Glenn Morris <rgm@gnu.org>
10732
f6ba4cc9
GM
10733 * calendar/diary-lib.el (diary-included-files): Doc fix.
10734 (diary-include-files): New function, extracted from
10735 diary-include-other-diary-files and diary-mark-included-diary-files.
10736 (diary-include-other-diary-files, diary-mark-included-diary-files):
10737 Just call diary-include-files.
10738 (diary-mark-entries): Reset diary-included-files on first call.
10739
16712304
GM
10740 * calendar/diary-lib.el (diary-mark-entries)
10741 (diary-mark-included-diary-files):
10742 Visit included diary-files in temp buffers.
10743
5d8e0d43
GM
10744 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10745 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10746 (f90-start-block-re, f90-imenu-generic-expression)
10747 (f90-looking-at-program-block-start, f90-no-block-limit):
10748 Add support for submodules.
10749
ccf7a5d5
GM
10750 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10751 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10752
11fdef7d 107532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10754
10755 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10756 buffer-file-type before setting its value, to avoid disastrous
eefff499 10757 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10758
74f53697
JB
107592011-06-25 Juanma Barranquero <lekktu@gmail.com>
10760
10761 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10762
10763 * ses.el (ses-unload-function):
10764 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10765
10766 * proced.el (proced-unload-function):
10767 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10768
18a4ce5e
AR
107692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10770
10771 * server.el (server-create-window-system-frame): Add parameters arg.
10772 (server-process-filter): Doc fix. Handle frame-parameters.
10773
519d22cc
JB
107742011-06-25 Juanma Barranquero <lekktu@gmail.com>
10775
10776 Fix bug#8730, bug#8781.
10777
10778 * loadhist.el (unload--set-major-mode): New function.
10779 (unload-feature): Use it.
10780
10781 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10782 (python-unload-function): New function.
10783
c206f5b0
SM
107842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10785
10786 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10787
f9ad64f3
GS
107882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10789
10790 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10791 the candidates list.
10792
7d0da90e
JB
107932011-06-24 Juanma Barranquero <lekktu@gmail.com>
10794
10795 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10796
14b4e83d
RS
107972011-06-23 Richard Stallman <rms@gnu.org>
10798
10799 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10800 (rmail-variables): Set next-error-move-function.
10801 (rmail-what-message): Take argument POS.
10802 (rmail-next-error-move): New function.
10803
273d2baf
SM
108042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10805
10806 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10807 messages for adjacent non-terminals.
10808
56c2cc9a
RS
108092011-06-23 Richard Stallman <rms@gnu.org>
10810
10811 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10812 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10813 (rmail-start-mail): Don't specify use of rmail-mail-return;
10814 that's done by mail-bury now.
10815 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10816
d59eb518
MA
108172011-06-23 Michael Albinus <michael.albinus@gmx.de>
10818
10819 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10820 SIZE is a number.
10821
02cfc6d6
MR
108222011-06-23 Martin Rudalics <rudalics@gmx.at>
10823
10824 * window.el (get-lru-window, get-mru-window)
10825 (get-largest-window): Never return a minibuffer window.
10826 (display-buffer-pop-up-window): Fix a bug that could lead to
10827 reusing the minibuffer window.
10828 (display-buffer): Pass original specifier argument to
10829 display-buffer-function instead of the normalized one.
10830 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10831
4e323265
LL
108322011-06-22 Leo Liu <sdl.web@gmail.com>
10833
10834 * minibuffer.el (completing-read-function)
10835 (completing-read-default): Move from minibuf.c
10836
7a70468f
RS
108372011-06-22 Richard Stallman <rms@gnu.org>
10838
50718fc2
RS
10839 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10840 to Rmail even if not started by a special Rmail command.
10841
7a70468f
RS
10842 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10843 Copy the buffer currently showing just one message.
10844
297dde5a
RW
108452011-06-22 Roland Winkler <winkler@gnu.org>
10846
10847 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10848 (bibtex-clean-entry): First delete the old key so that a
10849 customized algorithm for generating the new key does not get
10850 confused by the old key.
10851 (bibtex-url): Obey regexp of first step.
10852 (bibtex-search-entries): Do not use add-to-list with local
10853 list-var.
10854
97bb1093
LMI
108552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10856
10857 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10858 stored a user name, then query for the password first, instead of
10859 waiting for SMTP to give an error message and the trying again.
10860
1c0f1a19
JD
108612011-06-22 Lawrence Mitchell <wence@gmx.li>
10862
10863 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10864 BUFFER in call-process.
10865
396f7c9d
LMI
108662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10867
10868 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10869 QUIT twice.
ddb7ffee
LMI
10870 (smtpmail-try-auth-methods): Require user name and password from
10871 auth-source.
396f7c9d 10872
8998d1b3
MR
108732011-06-22 Martin Rudalics <rudalics@gmx.at>
10874
10875 * window.el (display-buffer-default-specifiers)
10876 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10877 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10878 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10879
10880 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10881 (special-display-frame-alist, special-display-popup-frame):
10882 Remove duplicate declarations. These are now in window.el.
10883
4ea31e07
LMI
108842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10885
c9d29fb8
SM
10886 * mail/smtpmail.el (smtpmail-via-smtp):
10887 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10888 server supports it. SMTP servers that support STARTTLS commonly
10889 require it.
10890
10891 * net/network-stream.el (network-stream-open-starttls): Support
10892 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10893 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10894
95f41d9a
LMI
10895 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10896 upgrades with `open-network-stream', and rely solely on
10897 auth-source for all credentials. Big changes throughout the file,
10898 but in particular:
c9d29fb8
SM
10899 (smtpmail-auth-credentials): Remove.
10900 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10901 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10902 MAIL FROM, too.
95f41d9a 10903
c9d29fb8
SM
10904 * net/network-stream.el (network-stream-open-starttls):
10905 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10906 STARTTLS.
10907 (auth-source): Require.
10908 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10909 (network-stream-certificate): Change cert-cert to cert and
10910 cert-key to key.
4ea31e07 10911
065ec2c7
MA
109122011-06-21 Michael Albinus <michael.albinus@gmx.de>
10913
10914 * net/tramp-cache.el (top): Don't load the persistency file when
10915 "emacs -Q" has been called.
10916
cd93b359
DR
109172011-06-21 Tim Harper <timcharper@gmail.com>
10918
d8e4b68b
JB
10919 * term/ns-win.el (ns-initialize-window-system):
10920 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10921 resource to NO as it is not yet supported by the NS port.
10922
ae9c0411
JB
109232011-06-21 Juanma Barranquero <lekktu@gmail.com>
10924
10925 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10926 (list-dynamic-libraries): ...not here.
10927
7f3f739f
LL
109282011-06-21 Leo Liu <sdl.web@gmail.com>
10929
10930 * subr.el (sha1): Implement sha1 using secure-hash.
10931
327c8fb1
MR
109322011-06-21 Martin Rudalics <rudalics@gmx.at>
10933
10934 * window.el (display-buffer-alist): In default value do not
10935 enforce searching a window on any but the selected frame.
10936 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10937 (display-buffer-select-window): Remove function.
10938 (display-buffer-in-window): When a window on another frame gets
10939 reused, do not select it any more but just raise its frame if
10940 necessary (Bug#8851) and (Bug#8856).
10941 (display-buffer-normalize-options): Handle pop-up-frames related
10942 options more faithfully.
10943 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10944 window if it is on another frame.
c9d29fb8
SM
10945 (display-buffer-alist, display-buffer-default-specifiers):
10946 Don't make new frame unsplittable by default.
9e9de014
MR
10947 (display-buffer-normalize-argument): Fix doc-string typo and use
10948 'same-frame-other-window instead of 'other-window when associating
10949 with display-buffer-macro-specifiers.
327c8fb1 10950
7cf3f556
VB
109512011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10952
10953 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10954 New functions.
10955 (5x5-mode-map, 5x5-mode-menu): Bind them.
10956 (5x5-draw-grid): Tweak the solver's rendering.
10957
60a406cf
SM
109582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10961 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10962
d8e4b68b 109632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10964
10965 * menu-bar.el: Use function variable instead of switch-to-buffer.
10966 (menu-bar-select-buffer-function): New variable.
60a406cf 10967 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10968
478d6f95
SM
109692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10970
10971 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10972 variable's status.
10973
ca530739
JD
109742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10975
10976 * x-dnd.el (x-dnd-version-from-flags)
10977 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10978 and long as number (Bug#8899).
10979 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10980
bcd70d97
SM
109812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10982
60a406cf 10983 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
10984 (completion-try-completion, completion-all-completions): Compute the
10985 metadata argument if it's missing; make it optional (bug#8795).
10986
60a406cf 10987 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
10988 (widget-complete): Use new :completion-function property.
10989 (widget-completions-at-point): New function.
10990 (default): Use :completion-function instead of :complete.
60a406cf
SM
10991 (widget-default-completions): Rename from widget-default-complete;
10992 Rewrite.
bcd70d97
SM
10993 (widget-string-complete, widget-file-complete, widget-color-complete):
10994 Remove functions.
10995 (file, symbol, function, variable, coding-system, color):
10996 * international/mule-cmds.el (default-input-method, charset)
10997 (language-info-custom-alist):
10998 * cus-edit.el (face): Use new property :completions.
10999
11000 * progmodes/pascal.el (pascal-completions-at-point): New function.
11001 (pascal-mode): Use it.
11002 (pascal-mode-map): Use completion-at-point.
11003 (pascal-toggle-completions): Make obsolete.
11004 (pascal-complete-word, pascal-show-completions):
11005 * progmodes/octave-mod.el (octave-complete-symbol):
11006 Redefine as obsolete alias.
11007 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11008 Signal absence of completion info for old Octave,
11009 (inferior-octave-complete): Redefine as obsolete alias.
11010 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11011 (meta-completions-at-point): Rename from meta-complete-symbol and
11012 adapt it for use on completion-at-point-functions.
11013 (meta-common-mode): Use it.
11014 (meta-looking-at-backward, meta-match-buffer): Remove.
11015 (meta-complete-symbol): Redefine as obsolete alias.
11016 (meta-common-mode-map): Use completion-at-point.
11017 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11018 (makefile-mode-map): Use completion-at-point.
11019 (makefile-completions-at-point): Rename from makefile-complete and
11020 adapt it for use on completion-at-point-functions.
11021 (makefile-mode): Use it.
11022 (makefile-complete): Redefine as obsolete alias.
11023
aebf69c8
DD
110242011-06-20 Deniz Dogan <deniz@dogan.se>
11025
11026 * net/rcirc.el: Delete trailing whitespaces once and for all.
11027
bfbbb27d
DC
110282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11029
11030 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11031
d264a46b
CY
110322011-06-19 Chong Yidong <cyd@stupidchicken.com>
11033
4ca009e5
CY
11034 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11035
d264a46b
CY
11036 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11037
fbf5b3ce
MR
110382011-06-19 Martin Rudalics <rudalics@gmx.at>
11039
11040 * window.el (display-buffer-other-window-means-other-frame):
11041 Call display-buffer-normalize-alist.
11042 (display-buffer-normalize-specifiers-1): Rename to
11043 display-buffer-normalize-argument. New argument other-frame.
11044 Rewrite.
11045 (display-buffer-normalize-specifiers-2): Rename to
11046 display-buffer-normalize-options.
11047 (display-buffer-normalize-alist-1): New function.
11048 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11049 display-buffer-normalize-alist.
11050 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11051 (display-buffer-normalize-options-inhibit): New variable.
11052 (display-buffer-normalize-specifiers): Rewrite calling
11053 display-buffer-normalize-alist,
11054 display-buffer-normalize-argument, and
11055 display-buffer-normalize-options. Don't call the latter if
11056 display-buffer-normalize-options-inhibit is non-nil.
11057 (frame-auto-delete): New option.
11058 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11059 (window-list-no-nils, window-state-ignored-parameters)
11060 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11061 (window-state-put-1, window-state-put-2, window-state-put):
11062 New functions.
9a028c23
MR
11063 (display-buffer-normalize-options): Move special-display-p group
11064 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11065
6d10d800
CY
110662011-06-18 Chong Yidong <cyd@stupidchicken.com>
11067
6420d28b
CY
11068 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11069 groups (Bug#8776).
11070 (rx-submatch-n): New function.
11071 (rx): Document it.
11072
ddb8b596
CY
11073 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11074 (Bug#8768).
11075
11076 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11077
77080289
CY
11078 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11079
61dfb316
CY
11080 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11081 anytime existing face settings are present (Bug#8889).
11082
6d10d800
CY
11083 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11084 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11085 Remove unused argument.
11086
be3fb2b8
MR
110872011-06-18 Martin Rudalics <rudalics@gmx.at>
11088
bcd70d97
SM
11089 * window.el (display-buffer-default-specifiers):
11090 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11091 pop-up-window-min-width, and another reuse-window specifier
11092 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11093 (display-buffer-normalize-specifiers-2):
11094 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11095 pop-up-windows is unset. Add a reuse-window specifier for the
11096 case popping up a new window fails.
11097 (special-display-popup-frame): Remove double quoting.
28dec25a 11098 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11099
1c6d8c76
SM
111002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11103 according to comint-completion-addsuffix.
11104
11105 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11106 (pcomplete-suffix-list): Mark as obsolete.
11107 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11108 pcomplete-seen in the closure.
11109 (pcomplete-comint-setup): Setup completion-at-point as well.
11110 (pcomplete--entries): New function.
11111 (pcomplete--env-regexp): New var.
11112 (pcomplete-entries): Rewrite to work with partial-completion and
11113 without relying on pcomplete-suffix-list.
11114 (pcomplete-pare-list): Remove, unused.
11115
25aef8b8
MR
111162011-06-17 Martin Rudalics <rudalics@gmx.at>
11117
11118 * window.el (display-buffer-alist): Set pop-up-window-min-height
11119 and pop-up-window-min-width in default value. Reported by
11120 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11121 other-window-means-other-frame.
11122 (display-buffer-macro-specifiers): Comment out entry for
11123 other-window specifier.
11124 (display-buffer-other-window-means-other-frame): New function.
11125 (display-buffer-normalize-specifiers-1): New arguments
11126 buffer-name and label. Treat other-window case specially.
11127 (display-buffer-normalize-specifiers-2): Treat other-window case
11128 specially.
11129 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11130 (display-buffer-normalize-specifiers):
11131 Call display-buffer-normalize-specifiers-3.
25aef8b8 11132
dbad4f69
MR
111332011-06-17 Martin Rudalics <rudalics@gmx.at>
11134
11135 * window.el (same-window-p): Fix two typos introduced when
11136 adding with-no-warnings.
d1067961
MR
11137 (display-buffer-normalize-specifiers-1): Don't check
11138 pop-up-frames for 'unset initialization.
11139 (display-buffer-normalize-specifiers-2): Major rewrite using
11140 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11141 (pop-up-frames, display-buffer-reuse-frames)
11142 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11143 Suggested by David Engster <deng@randomsample.de>.
11144 (even-window-heights): Initialize to 'unset.
11145 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11146 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11147 other window case.
dbad4f69 11148
9b9c9e3a
MR
111492011-06-16 Martin Rudalics <rudalics@gmx.at>
11150
bcd70d97
SM
11151 * window.el (display-buffer-normalize-specifiers-1):
11152 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11153 second argument of display-buffer (Bug#8865).
981d5c09
MR
11154 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11155 (switch-to-buffer-other-window-same-frame)
11156 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11157 Adams (Bug#8875).
9c2755e9
MR
11158 (display-buffer): Don't check noninteractive when calling
11159 display-buffer-pop-up-frame.
11160 (display-buffer-pop-up-frame): Never pop up a frame in
11161 noninteractive mode (Bug#8857).
67222e1d
MR
11162 (enlarge-window, shrink-window): Don't report an error when the
11163 window can't be resized as requested (Bug#8862).
9b9c9e3a 11164
2b75be67
SM
111652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11166
9ffdd3ba
SM
11167 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11168
cb581a67
SM
11169 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11170
2b75be67
SM
11171 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11172
8c0e3589
AM
111732011-06-15 Alan Mackenzie <acm@muc.de>
11174
cb581a67
SM
11175 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11176 for declarators, disable knr checking to speed up for normal files.
11177 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11178
b96e6cde
LMI
111792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11180
4bba86e6
LMI
11181 * net/network-stream.el (open-network-stream): Add the keyword
11182 :always-query-capabilities for the case where you want to force a
11183 `plain' network connection, but the protocol still requires the
11184 capabilitiy command (i.e., SMTP and EHLO).
11185
2b75be67 11186 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11187 consistency with other `-live-p' functions.
11188
efdcdbf8
SM
111892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * window.el (same-window-buffer-names, same-window-regexps)
11192 (special-display-frame-alist, special-display-popup-frame)
11193 (special-display-function, special-display-buffer-names)
11194 (special-display-regexps, pop-up-frame-alist)
11195 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11196 (pop-up-windows, split-window-preferred-function)
11197 (split-height-threshold, split-width-threshold, even-window-heights)
11198 (display-buffer-mark-dedicated): Don't encourage the use of
11199 display-buffer-alist from Elisp code.
11200
c5cde042
DN
112012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11202
11203 * progmodes/python.el (python-mode): Derive from prog-mode.
11204 * progmodes/ps-mode.el (ps-mode):
11205 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11206 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11207 * progmodes/ld-script.el (ld-script-mode): Likewise.
11208
baa1c9ab
MR
112092011-06-15 Martin Rudalics <rudalics@gmx.at>
11210
11211 * window.el (display-buffer-alist): Trim default value to avoid
11212 popping up a new frame (Bug#8857) or reusing an arbitrary window
11213 on another frame.
11214 (display-buffer): Do not fall back on popping up a new frame in
11215 batch mode (Bug#8857).
11216
c5dd5a51
CY
112172011-06-14 Chong Yidong <cyd@stupidchicken.com>
11218
11219 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11220 (custom-theme-summary): New function.
11221 (customize-themes): Use it.
11222
d647b7c4
GM
112232011-06-13 Glenn Morris <rgm@gnu.org>
11224
11225 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11226
9481c002
MR
112272011-06-13 Martin Rudalics <rudalics@gmx.at>
11228
357f93d2
MR
11229 * help.el (help-window): Remove variable.
11230 (help-window-point-marker, temp-buffer-max-height)
11231 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11232 (help-print-return-message): Don't set help-window.
11233 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11234 (help-window-setup-finish): Remove.
11235 (help-window-display-message, help-window-setup)
11236 (with-help-window): Major rewrite based on new
11237 display-buffer-window variable.
11238
11239 * help-mode.el (help-mode-finish): Remove help-window related
11240 code.
11241
11242 * view.el (view-exits-all-viewing-windows): Remove reference to
11243 view-return-to-alist in doc-string.
11244 (view-return-to-alist): Make obsolete.
11245 (view-buffer): Call pop-to-buffer-same-window and remove
11246 undo-window code.
11247 (view-buffer-other-window): Call pop-to-buffer-other-window and
11248 simplify code. Ignore second argument.
11249 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11250 simplify code. Ignore second argument.
11251 (view-return-to-alist-update): Make obsolete.
11252 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11253 Rewrite using quit-restore window parameters.
2b75be67
SM
11254 (view-mode-exit): Rename second argument to EXIT-ONLY.
11255 Rewrite using quit-restore-window.
357f93d2
MR
11256 (View-exit, View-exit-and-edit, View-leave, View-quit)
11257 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11258 appropriate arguments.
11259 (view-end-message): Use quit-restore window parameter.
11260
9481c002
MR
11261 * window.el (display-buffer-function): Rewrite doc-string.
11262 (display-buffer-window, display-buffer-alist): New variables.
11263 (display-buffer-split-specifiers)
11264 (display-buffer-side-specifiers)
11265 (display-buffer-macro-specifiers): New constants.
11266 (display-buffer-even-window-sizes, display-buffer-set-height)
11267 (display-buffer-set-width, display-buffer-select-window)
11268 (display-buffer-in-window, display-buffer-reuse-window)
11269 (display-buffer-split-window-1, display-buffer-split-window)
11270 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11271 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11272 (display-buffer-in-side-window, normalize-buffer-to-display)
11273 (display-buffer-normalize-specifiers-1)
11274 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11275 (display-buffer-normalize-specifiers, display-buffer-frame):
11276 New functions.
9481c002
MR
11277 (display-buffer): Major rewrite.
11278 (display-buffer-other-window, display-buffer-other-frame)
11279 (pop-to-buffer, switch-to-buffer-other-window)
11280 (switch-to-buffer-other-frame): Rewrite.
11281 (display-buffer-same-window, display-buffer-same-frame)
11282 (display-buffer-same-frame-other-window)
11283 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11284 (pop-to-buffer-other-window)
11285 (pop-to-buffer-same-frame-other-window)
11286 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11287 (switch-to-buffer-other-window-same-frame): New functions.
11288 (same-window-p, special-display-p): Rewrite disabling warnings.
11289 Make obsolete.
11290 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11291 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11292 Make obsolete
11293 (same-window-buffer-names, same-window-regexps)
11294 (special-display-frame-alist, special-display-popup-frame)
11295 (special-display-function, special-display-buffer-names)
11296 (special-display-regexps, pop-up-frame-alist)
11297 (pop-up-frame-function, split-window-preferred-function)
11298 (split-height-threshold, split-width-threshold)
11299 (even-window-heights): Make obsolete.
11300
9db51aca
GM
113012011-06-12 Glenn Morris <rgm@gnu.org>
11302
11303 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11304 Misc simplifications.
9db51aca 11305
39cffb44
MR
113062011-06-12 Martin Rudalics <rudalics@gmx.at>
11307
11308 * window.el (window-safely-shrinkable-p): Restore function which
11309 was inadvertently removed in change from 2011-06-11. Declare as
11310 obsolete.
11311
2b75be67
SM
11312 * calendar/calendar.el (calendar-generate-window):
11313 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11314 window-safely-shrinkable-p.
11315
a8955be7
GM
113162011-06-12 Glenn Morris <rgm@gnu.org>
11317
11318 * progmodes/fortran.el (fortran-mode-syntax-table):
11319 * progmodes/f90.el (f90-mode-syntax-table):
11320 Set % to punctuation. (Bug#8820)
11321 (f90-find-tag-default): Remove, no longer needed.
11322
f0d4059d
DC
113232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11324
11325 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11326
1100a63c
CY
113272011-06-11 Chong Yidong <cyd@stupidchicken.com>
11328
11329 * image.el (image-animated-p): Return animation delay in seconds.
11330 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11331 (image-animate-timeout): Remove DELAY argument. Don't assume
11332 every subimage has the same delay; get it from image-animated-p.
11333 (image-animate): Caller changed.
11334
def722bf
MA
113352011-06-11 Michael Albinus <michael.albinus@gmx.de>
11336
11337 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11338 to ignored backtrace functions.
11339
0a2bb1a9
GM
113402011-06-11 Glenn Morris <rgm@gnu.org>
11341
11342 * calendar/appt.el (appt-disp-window-function): Doc fix.
11343 (appt-check): Handle overlapping appointments. (Bug#8337)
11344
6198ccd0
MR
113452011-06-11 Martin Rudalics <rudalics@gmx.at>
11346
11347 * window.el (window-tree-1, window-tree): New functions, moving
11348 the latter to window.el.
11349 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11350 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11351 (bw-refresh-edges): Remove.
11352 (balance-windows-1, balance-windows-2): New functions.
11353 (balance-windows): Rewrite in terms of window tree functions,
11354 balance-windows-1 and balance-windows-2.
11355 (bw-adjust-window): Remove.
11356 (balance-windows-area-adjust): New function with functionality of
11357 bw-adjust-window but using resize-window.
2b75be67
SM
11358 (set-window-text-height): Rewrite doc-string.
11359 Use normalize-live-window and resize-window.
11360 (enlarge-window-horizontally, shrink-window-horizontally):
11361 Rename argument to DELTA.
6198ccd0
MR
11362 (window-buffer-height): New function.
11363 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11364 Rewrite using new window resize routines.
2b75be67
SM
11365 (kill-buffer-and-window, mouse-autoselect-window-select):
11366 Use ignore-errors instead of condition-case.
6198ccd0
MR
11367 (quit-window): Call delete-frame instead of delete-windows-on
11368 for the only buffer on frame.
11369
9397e56f
MR
113702011-06-10 Martin Rudalics <rudalics@gmx.at>
11371
11372 * loadup.el (top-level): Load window before files for the sake
11373 of replace-buffer-in-windows.
11374
11375 * files.el (read-buffer-to-switch)
11376 (switch-to-buffer-other-window)
2b75be67
SM
11377 (switch-to-buffer-other-frame, display-buffer-other-frame):
11378 Move to window.el.
9397e56f
MR
11379
11380 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11381 (previous-buffer): Move to window.el.
11382
11383 * bindings.el (unbury-buffer): Move to window.el.
11384
11385 * window.el (delete-other-windows-vertically): Move after
11386 definition of delete-other-windows.
11387 (other-window, delete-windows-on, replace-buffer-in-windows):
11388 Move here from window.c.
11389 (record-window-buffer, unrecord-window-buffer)
11390 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11391 (switch-to-next-buffer): New functions.
11392 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11393 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11394 (previous-buffer): Move here from simple.el.
11395 Call switch-to-prev-buffer.
9397e56f
MR
11396 (bury-buffer): Move here from buffer.c. Switch to previous
11397 buffer when window cannot be deleted.
11398 (unbury-buffer): Move here from bindings.el.
11399 (ctl-x-map): Move binding for other-window from window.c to
11400 here.
11401 (read-buffer-to-switch, switch-to-buffer-other-window)
11402 (switch-to-buffer-other-frame): Move here from files.el.
11403 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11404 (switch-to-buffer): Move here from buffer.c.
11405 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11406
562dd5e9
MR
114072011-06-10 Martin Rudalics <rudalics@gmx.at>
11408
11409 * window.el (window-min-height, window-min-width): Move here
11410 from window.c. Add defcustoms and rewrite doc-strings.
11411 (resize-mini-window, resize-window): New functions.
11412 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11413 Move here from window.c.
11414 (maximize-window, minimize-window): New functions.
11415 (delete-window, delete-other-windows, split-window): Move here
11416 from window.c.
11417 (window-split-min-size): New function.
11418 (split-window-keep-point): Mention split-window-above-each-other
11419 instead of split-window-vertically.
2b75be67 11420 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11421 Rename split-window-vertically to split-window-above-each-other
11422 and provide defalias for old definition.
11423 (split-window-side-by-side, split-window-horizontally):
11424 Rename split-window-horizontally to split-window-side-by-side
11425 and provide defalias for the old definition.
562dd5e9
MR
11426 (ctl-x-map): Move bindings for delete-window,
11427 delete-other-windows and enlarge-window here from window.c.
11428 Replace bindings for split-window-vertically and
11429 split-window-horizontally by bindings for
11430 split-window-above-each-other and split-window-side-by-side.
11431
11432 * cus-start.el (all): Remove entries for window-min-height and
11433 window-min-width. Add entries for window-splits and
11434 window-nest.
11435
f0da764a
GM
114362011-06-09 Glenn Morris <rgm@gnu.org>
11437
80675c21
GM
11438 * calendar/appt.el (appt-mode-line): New function.
11439 (appt-check, appt-disp-window): Use it.
11440
f0da764a
GM
11441 * files.el (hack-one-local-variable-eval-safep):
11442 Allow minor-modes with explicit +/-1 arguments.
11443
59f623b7
TZ
114442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11445
11446 * term/xterm.el (xterm): Add defgroup.
11447 (xterm-extra-capabilities): Add defcustom to supply known xterm
11448 capabilities, skip querying them, or query them (default).
11449 (terminal-init-xterm): Use it.
11450 (terminal-init-xterm-modify-other-keys): New function to set up
11451 modifyOtherKeys support to simplify `terminal-init-xterm'.
11452
9aab8e0d
MR
114532011-06-09 Martin Rudalics <rudalics@gmx.at>
11454
11455 * window.el (resize-window-reset, resize-window-reset-1)
11456 (resize-subwindows-skip-p, resize-subwindows-normal)
11457 (resize-subwindows, resize-other-windows, resize-this-window)
11458 (resize-root-window, resize-root-window-vertically)
11459 (window-deletable-p, window-or-subwindow-p)
11460 (frame-root-window-p): New functions.
11461
e8b08aee
GM
114622011-06-09 Glenn Morris <rgm@gnu.org>
11463
11464 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11465 (ange-ftp-get-files): Use it.
11466
254c37a5
AK
114672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11468
11469 * mail/sendmail.el (mail-recover-1, mail-recover):
11470 * files.el (recover-file, recover-session):
11471 Handle dired-listing-switches not being just a single short option.
11472
35d7dbd3
GM
114732011-06-09 Glenn Morris <rgm@gnu.org>
11474
11475 * calendar/appt.el (appt-display-message, appt-disp-window):
11476 Handle lists of appointments.
11477
387522b2
MR
114782011-06-08 Martin Rudalics <rudalics@gmx.at>
11479
2b75be67
SM
11480 * window.el (one-window-p): Move down in code.
11481 Rewrite doc-string.
11482 (window-current-scroll-bars): Rewrite doc-string.
11483 Normalize live window argument.
387522b2
MR
11484 (walk-windows, get-window-with-predicate, count-windows):
11485 Rewrite doc-string. Use window-list-1.
11486 (window-in-direction-2, window-in-direction, get-mru-window):
11487 New functions.
11488
d8e4b68b 114892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11490
11491 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11492 Doc fix (Bug#8713).
11493
114942011-06-08 Chong Yidong <cyd@stupidchicken.com>
11495
11496 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11497
114982011-06-08 Juanma Barranquero <lekktu@gmail.com>
11499
11500 * loadhist.el (unload-feature-special-hooks):
11501 Add `comint-output-filter-functions'.
11502
0de12c52
IK
115032011-06-08 Ivan Kanis <gnu@kanis.fr>
11504
11505 * calendar/appt.el (appt-check): Move some initializations into the let.
11506
f3d1777e
MR
115072011-06-08 Martin Rudalics <rudalics@gmx.at>
11508
11509 * window.el (window-height): Defalias to window-total-height.
11510 (window-width): Defalias to window-body-width.
11511
18af70d0
CY
115122011-06-07 Chong Yidong <cyd@stupidchicken.com>
11513
11514 * image-mode.el (image-toggle-animation): New command.
11515 (image-mode-map): Bind it to RET.
11516 (image-mode): Update message.
11517 (image-toggle-display-image): Avoid a spurious cache flush.
11518 (image-transform-rotation): Doc fix.
11519 (image-transform-properties): Return quickly in the normal case.
11520 (image-animate-loop): Rename from image-animate-max-time.
11521
2b75be67 11522 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11523 (create-animated-image): Remove unnecessary function.
11524 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11525 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11526 (image-animate-timer): Use car-safe.
11527 (image-animate-timeout): Rename argument.
11528
190b47e6
MR
115292011-06-07 Martin Rudalics <rudalics@gmx.at>
11530
11531 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11532 window.c. Rename first argument to ALL-FRAMES.
11533 Rephrase doc-strings.
11534 (get-buffer-window-list): Rewrite using window-list-1.
11535 Rephrase doc-string.
a1511caf
MR
11536 (window-safe-min-height, window-safe-min-width): New constants.
11537 (window-size-ignore, window-min-size, window-min-size-1)
11538 (window-sizable, window-sizable-p, window-size-fixed-1)
11539 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11540 (window-max-delta-1, window-max-delta, window-resizable)
11541 (window-resizable-p, window-total-height, window-total-width)
11542 (window-body-width): New functions.
11543 (window-full-height-p, window-full-width-p): Rewrite using
11544 window-total-size.
11545 (window-body-height): Rewrite using window-body-size.
190b47e6 11546
85cc1f11
MR
115472011-06-06 Martin Rudalics <rudalics@gmx.at>
11548
11549 * window.el (window-right, window-left, window-child)
11550 (window-child-count, window-last-child, window-any-p)
11551 (normalize-live-buffer, normalize-live-frame)
11552 (normalize-any-window, normalize-live-window)
11553 (window-iso-combination-p, window-iso-combined-p)
11554 (window-iso-combinations)
11555 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11556 (windows-with-parameter, window-with-parameter)
11557 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11558 (window-atom-check, window-side-check, window-check):
11559 New functions.
85cc1f11
MR
11560 (ignore-window-parameters, window-sides, window-sides-vertical)
11561 (window-sides-slots): New variables.
11562 (window-size-fixed): Move down in code. Minor doc-string fix.
11563
e7156492
AS
115642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11565
11566 * comint.el (comint-dynamic-complete-as-filename)
11567 (comint-dynamic-complete-filename): Correctly call
11568 completion-in-region.
11569
7e821d0d
DD
115702011-06-05 Deniz Dogan <deniz@dogan.se>
11571
11572 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11573 in last change.
11574
ac09b8a1
DD
115752011-06-05 Deniz Dogan <deniz@dogan.se>
11576
11577 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11578 (rcirc): Use it to prompt for encryption.
11579
34699b85
RW
115802011-06-05 Roland Winkler <winkler@gnu.org>
11581
11582 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11583 (bibtex-search-entries): New command bound to C-c C-a.
11584 (bibtex-display-entries): New function.
11585
004dedd3
RW
115862011-06-05 Roland Winkler <winkler@gnu.org>
11587
11588 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11589 (bibtex-insert-kill): After yanking insert newline if necessary.
11590 (bibtex-initialize): Call bibtex-string-files-init only once.
11591 (bibtex-mode): Do not call easy-menu-add.
11592 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11593 (bibtex-yank): Set arg properly if nil.
11594
022fe7ce
RW
115952011-06-05 Roland Winkler <winkler@gnu.org>
11596
2b75be67
SM
11597 * textmodes/bibtex.el (bibtex-search-entry-globally):
11598 New variable.
022fe7ce
RW
11599 (bibtex-search-entry): Use it.
11600
b7c3692a
RW
116012011-06-05 Roland Winkler <winkler@gnu.org>
11602
11603 * textmodes/bibtex.el (bibtex-entry-format): New option
11604 sort-fields.
11605 (bibtex-format-entry, bibtex-reformat): Honor this option.
11606 (bibtex-parse-entry): Return fields in proper order.
11607
8eda563d
JB
116082011-06-05 Juanma Barranquero <lekktu@gmail.com>
11609
11610 * doc-view.el (doc-view-remove-if): Move computation of result out
11611 of `dolist' to silence misleading lexical-binding warning.
11612
7dbe3dbc
CY
116132011-06-04 Chong Yidong <cyd@stupidchicken.com>
11614
11615 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11616 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11617
0c33dd17
MA
116182011-06-04 Michael Albinus <michael.albinus@gmx.de>
11619
11620 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11621 "SunOS 5.10".
11622
f8f91c2b
MA
116232011-06-04 Michael Albinus <michael.albinus@gmx.de>
11624
11625 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11626 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11627 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11628 (tramp-parse-putty):
11629 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11630 (tramp-completion-function-alist-ssh)
11631 (tramp-completion-function-alist-telnet)
11632 (tramp-completion-function-alist-su)
11633 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11634 cookie.
11635
11636 * net/tramp-ftp.el:
11637 * net/tramp-sh.el:
11638 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11639 load "tramp.el" `tramp-set-completion-function'.
11640
e17d9003
SM
116412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 * shell.el: Require and use pcomplete.
11644 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11645 (shell-completion-vars): Set pcomplete-default-completion-function.
11646
6c4cab03
DD
116472011-06-04 Deniz Dogan <deniz@dogan.se>
11648
11649 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11650 `memq' (Bug#8799).
11651
ea9fafe0
SM
116522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11655
b3e945d3
JB
116562011-06-02 Juanma Barranquero <lekktu@gmail.com>
11657
11658 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11659 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11660 * vc/log-view.el (log-view-beginning-of-defun):
11661 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11662 (smerge-refine-forward, smerge-refine-chopup-region):
11663 Silence warning for unused `dotimes' counter variables.
11664
7d520089
SM
116652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 * net/tramp.el (tramp-with-progress-reporter): Rename from
11668 with-progress-reporter. Use `declare'.
11669 * net/tramp-smb.el:
11670 * net/tramp-sh.el:
11671 * net/tramp-gvfs.el: Update all uses.
11672
a1c2400f
JB
116732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11674
11675 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11676 buffer isn't killed before making it current.
11677
2403c841
SM
116782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11679
11680 Silence various byte-compiler warnings.
11681 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11682 `access-type' and new obsolescence format.
11683 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11684 new format.
11685 (byte-compile-check-variable): New `access-type' argument.
11686 Only warn if the access-type is obsolete.
11687 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11688 (byte-compile-variable-set): Adjust callers.
11689 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11690 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11691 setting it as obsolete.
11692 * simple.el (minibuffer-completing-symbol):
11693 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11694 access as obsolete.
11695 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11696 obsolete yet.
11697 * international/quail.el (quail-mouse-choose-completion): Remove unused
11698 code referring to obsolete var.
11699 (quail-choose-completion-string): Remove.
11700 * server.el (server-clients-with, server-kill-buffer-query-function)
11701 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11702 * proced.el (proced-send-signal):
11703 * emacs-lisp/lisp.el (lisp-complete-symbol):
11704 Replace completion-annotate-function with completion-extra-properties.
11705
2462470b
SM
117062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11707
fb5b2591
SM
11708 * simple.el (goto-line): Use read-number.
11709 (overriding-map-is-bound): Remove.
11710 (saved-overriding-map): Change default.
11711 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11712 Take the map as argument.
11713 (universal-argument, negative-argument, digit-argument): Use it.
11714 (restore-overriding-map): Adjust.
11715 (do-auto-fill): Use fill-forward-paragraph.
11716 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11717
fd6fa53f
SM
11718 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11719 (minibuffer-inactive-mode): New major mode.
11720 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11721 the *Messages* buffer" hack.
11722 (mouse-popup-menubar): Don't burp if the event is a normal key.
11723
2462470b
SM
11724 Miscellaneous tweaks.
11725 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11726 lexical scoping as in subr.el's dolist and dotimes.
11727 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11728 Silence compiler warning.
11729 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11730 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11731 * international/ccl.el (ccl-compile): Trivial simplification.
11732 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11733 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11734 `printflag' argument.
11735 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11736 Purecopy the whole obsolescence data.
11737
108bf785
LL
117382011-06-01 Leo Liu <sdl.web@gmail.com>
11739
11740 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11741 improve doc-string as suggested by Marco Pessotto
11742 <melmothx@gmail.com>.
11743 (rcirc-print): Fix last change.
11744
30a23501
SM
117452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * minibuffer.el (complete-with-action): Return nil for the metadata and
11748 boundaries of non-functional tables.
11749 (completion-table-dynamic): Return nil for the metadata.
11750 (completion-table-with-terminator): Add default case, using
11751 complete-with-action.
11752 (completion--metadata): New function.
11753 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11754 to try and avoid pathological performance problems.
11755 (completion--embedded-envvar-table): Return `category' metadata.
11756
bcd54f83
LMI
117572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11758
11759 * subr.el (process-alive-p): New tiny convenience function.
11760
e227544d
SM
117612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11762
11763 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11764 content but also its previous major mode.
11765
e8296fdc
HE
117662011-05-31 Helmut Eller <eller.helmut@gmail.com>
11767
4d61f28d 11768 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11769 *Backtrace* buffer when we exit with C-M-c.
11770
620c53a6
SM
117712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11772
11773 * minibuffer.el: Add metadata method to completion tables.
11774 (completion-category-overrides): New defcustom.
11775 (completion-metadata, completion--field-metadata)
11776 (completion-metadata-get, completion--styles)
11777 (completion--cycle-threshold): New functions.
11778 (completion-try-completion, completion-all-completions):
11779 Add `metadata' argument to choose completion-styles.
11780 (completion--do-completion): Use metadata to choose cycling.
11781 (completion-all-sorted-completions): Use metadata for sorting.
11782 Remove :completion-cycle-penalty which is not needed any more.
11783 (completion--try-word-completion): Add `metadata' argument.
11784 (minibuffer-completion-help): Check metadata for annotation function
11785 and sorting.
11786 (completion-file-name-table): Return `category' metadata.
11787 (minibuffer-completing-file-name): Make obsolete.
11788 * simple.el (minibuffer-completing-symbol): Make obsolete.
11789 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11790 completion-try-completion.
11791
1257e755
SM
117922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11795
3767e706
LL
117962011-05-30 Leo Liu <sdl.web@gmail.com>
11797
11798 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11799 (rcirc-print): Decode all incoming messages (bug#8744).
11800 (rcirc-decode-coding-system): Allow value nil for automatic coding
11801 system detection.
3767e706 11802
d1a5d56a
GM
118032011-06-01 Glenn Morris <rgm@gnu.org>
11804
11805 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11806
e8cbec34
CY
118072011-05-29 Chong Yidong <cyd@stupidchicken.com>
11808
11809 * image.el (image-animate-max-time): Allow nil and t values.
11810 Default to nil.
11811 (create-animated-image): Doc fix.
11812 (image-animate-start): Remove second arg; just use
11813 image-animate-max-time.
11814 (image-animate-timeout): Doc fix. Args changed.
11815
11816 * image-mode.el (image-toggle-display-image): Ensure that the
11817 image spec passed to the animate timer is the same object as in
58179cce 11818 the buffer's display property (Bug#6981).
e8cbec34
CY
11819 (image-transform-properties): Doc fix.
11820
11821 * image.el (image-animate-max-time): Default to nil.
11822
159daf87
MR
118232011-05-29 Martin Rudalics <rudalics@gmx.at>
11824
11825 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11826 entire buffer list (Bug#8184).
11827
d66c4c7c
CY
118282011-05-29 Chong Yidong <cyd@stupidchicken.com>
11829
11830 * image.el (imagemagick-types-inhibit)
11831 (imagemagick-register-types): Doc fix.
11832
80aec780
DD
118332011-05-29 Deniz Dogan <deniz@dogan.se>
11834
11835 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11836 default.
11837
1dd3c2d9
CY
118382011-05-29 Chong Yidong <cyd@stupidchicken.com>
11839
11840 * select.el: Don't perform clipboard-manager saving in hooks;
11841 leave the hooks empty.
11842
60e56523
LL
118432011-05-28 Leo Liu <sdl.web@gmail.com>
11844
11845 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11846 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11847 (occur-edit-mode): New major mode (Bug#8463).
11848 (occur-after-change-function): New function.
11849 (occur-engine): Give Occur tags a read-only property.
11850
2b1e1a22
KR
118512011-05-28 Kevin Ryde <user42@zip.com.au>
11852
11853 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11854
5d344e88
CY
118552011-05-28 Chong Yidong <cyd@stupidchicken.com>
11856
8e6ca83d
CY
11857 * bindings.el (help-echo): Make the initial non-indicator dash
11858 empty on graphical terminals (Bug#7295).
11859
5d344e88
CY
11860 * files.el (auto-mode-alist): Move config rule after the
11861 in-stripping one (Bug#8547).
11862
bfbbace7
CY
11863 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11864
fbeba6e2
CY
11865 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11866 setting (Bug#8740).
11867
60ed8c72
AA
118682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11869
4ac619f0
AA
11870 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11871 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11872 (Bug#8539).
60ed8c72 11873
23db196e
CY
118742011-05-28 Chong Yidong <cyd@stupidchicken.com>
11875
11876 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11877
5012f24c
DK
118782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11879
11880 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11881 (hs-hide-block-at-point, hs-find-block-beginning)
11882 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11883 (Bug#8279).
11884
6a639b16
GM
118852011-05-28 Glenn Morris <rgm@gnu.org>
11886
11887 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11888
d43eaf2c
CY
118892011-05-28 Chong Yidong <cyd@stupidchicken.com>
11890
5199bde1
CY
11891 * help-fns.el (describe-function-1): If the function is a derived
11892 major mode, print the parent mode.
11893
d43eaf2c
CY
11894 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11895 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11896
423428a8
SM
118972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11898
0ff8e1ba 11899 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11900 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11901 * progmodes/etags.el (tags-completion-at-point-function):
11902 * info-look.el (info-lookup-completions-at-point): Mark as
11903 non-exclusive.
11904 (info-complete): Adjust accordingly.
11905
423428a8
SM
11906 * info-look.el: Convert to lexical-binding and completion-at-point.
11907 (info-lookup-completions-at-point): New function.
11908 (info-complete): Use it and completion-in-region.
11909
b74aa22b
DA
119102011-05-28 Drew Adams <drew.adams@oracle.com>
11911
11912 * isearch.el: Let M-e start with point at the first mismatched char.
11913 (isearch-fail-pos): New function.
11914 (isearch-edit-string): Use it.
11915
66e2e71d
DK
119162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11917
11918 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11919
b1890b0f 119202011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11921
11922 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11923 traversal functions for avl-trees.
11924 (avl-tree--stack): New struct.
11925 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11926 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11927 (avl-tree--do-enter): Add optional `updatefun' arg.
11928 Change return value.
eb95d01d 11929 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11930 (avl-tree--do-delete): Add `test' and `nilflag' args.
11931 Change return value.
eb95d01d
TC
11932 (avl-tree-member): Add optional `nilflag'
11933 (avl-tree-member-p): New function.
11934 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11935 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11936 (avl-tree-stack-empty-p): New functions.
11937
3769ddcf
TC
11938 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11939 avl-tree--del-balance1 and make it work both ways.
11940 (avl-tree--del-balance2): Remove.
11941 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11942 make it work both ways.
11943 (avl-tree--enter-balance2): Remove.
11944 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11945 New macros.
11946 (avl-tree--mapc, avl-tree-map): Add direction argument.
11947
eb95d01d 119482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11949
11950 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11951
a9f737ee
CY
119522011-05-27 Chong Yidong <cyd@stupidchicken.com>
11953
11954 * select.el: Support clipboard managers with built-in function
11955 x-clipboard-manager-save, via delete-frame-functions and
11956 kill-emacs-hook.
11957 (xselect-convert-to-targets): Add MULTIPLE target to list.
11958 (xselect-convert-to-save-targets): New function.
11959
c92a1e54
KH
119602011-05-27 Kenichi Handa <handa@m17n.org>
11961
11962 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11963 let-binding rfc2047-encode-encoded-words to nil.
11964
e145f188
GM
119652011-05-27 Glenn Morris <rgm@gnu.org>
11966
5ec8a862
GM
11967 * mail/emacsbug.el: Don't require url-util.
11968
4b29d9fb
GM
11969 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11970
e145f188
GM
11971 * files.el (set-auto-mode):
11972 Also respect mode: entries at the end of the file. (Bug#8586)
11973
7d15102b
GM
119742011-05-26 Glenn Morris <rgm@gnu.org>
11975
98f593b8
GM
11976 * files.el (hack-local-variables-prop-line, hack-local-variables):
11977 Downcase mode names, as seems to be traditional.
27b48e63 11978 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 11979
7d15102b
GM
11980 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11981 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11982
51d5b4ec
JD
119832011-05-25 Julien Danjou <julien@danjou.info>
11984
11985 * textmodes/rst.el (rst-define-level-faces): Do not define face
11986 symbol if it is already defined.
11987
91513f63
VB
119882011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11989
11990 * play/5x5.el (5x5-new-game, 5x5-randomize):
11991 Reset 5x5-solver-output to nil when a new grid is cast.
11992 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11993 these debugging traces, as defmacro breaks the compiled code.
11994
4d90d6d0
DK
119952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11996
11997 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11998
e1b90ef6
LL
119992011-05-24 Leo Liu <sdl.web@gmail.com>
12000
12001 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12002 (vc-bzr-sha1): Adapt.
12003
d8e4b68b 12004 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12005
12006 * bindings.el: Provide sha1 feature.
12007
db0406bb 120082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12009
12010 * mail/sendmail.el: Require `rfc2047'.
12011 (mail-insert-from-field): Do not perform RFC2047 encoding.
12012 (mail-encode-header): New function.
12013 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12014 buffer to the return value of select-message-coding-system.
12015 Call mail-encode-header.
b8d747b9
KH
12016
12017 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12018
db0406bb 120192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12020
4d90d6d0
DK
12021 * mail/supercite.el (sc-default-cite-frame):
12022 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12023
eb8a5e9b
GM
120242011-05-24 Glenn Morris <rgm@gnu.org>
12025
f8630703
GM
12026 * progmodes/python.el (brm-menu): Declare.
12027
8831bbed
GM
12028 * emulation/viper.el (viper-set-hooks): Declare.
12029
eb8a5e9b
GM
12030 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12031 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12032 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12033 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12034 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12035 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12036
a2a25d24
SM
120372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12038
12039 Add an :exit-function for completion-at-point.
12040
12041 * minibuffer.el (completion--done): New fun.
12042 (completion--do-completion): Use it. New arg `expect-exact'.
12043 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12044 since completion--do-completion does it for us now.
12045 (minibuffer-force-complete): Use completion--done and
12046 completion--replace. Handle sole-completion case with more care.
12047 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12048 (completion-extra-properties): New var.
12049 (completion-annotate-function): Make obsolete.
12050 (minibuffer-completion-help): Adjust accordingly.
12051 Use completion-list-insert-choice-function.
12052 (completion-at-point, completion-help-at-point):
12053 Bind completion-extra-properties.
12054 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12055 * simple.el (completion-list-insert-choice-function): New var.
12056 (completion-setup-function): Preserve it.
12057 (choose-completion): Pay attention to it, shuffle the code a bit.
12058 (choose-completion-string): New arg `insert-function'.
12059
12060 * textmodes/bibtex.el: Convert to lexical binding.
12061 (bibtex-mode-map): Use completion-at-point.
12062 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12063 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12064 (bibtex-complete): Define as obsolete alias.
12065 (bibtex-complete-internal): Remove.
12066 (bibtex-format-entry): Remove unused sub-group in regexp.
12067 * shell.el (shell--command-completion-data)
12068 (shell-environment-variable-completion):
12069 * pcomplete.el (pcomplete-completions-at-point):
12070 * comint.el (comint--complete-file-name-data): Use :exit-function
12071 instead of completion-table-with-terminator so it also works for
12072 choose-completion.
12073
e44e373d
SM
120742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12075
4f91a816
SM
12076 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12077
782fc819
SM
12078 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12079 (bug#8710).
12080
e44e373d
SM
12081 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12082
381987c3
KM
120832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12084
12085 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12086 customization variable and implement: If non-nil, auto-fill will
12087 be inhibited while on topic's header line.
12088
b776bc70
VB
120892011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12090
12091 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12092 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12093 always have a solution in grid size = 5 cases.
12094 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12095 (5x5-solver-output, 5x5-log-buffer): New vars.
12096 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12097 Make these variables buffer local to achieve 5x5 multi-session-ness.
12098 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12099 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12100 (5x5-solve-suggest): New funs.
12101 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12102 randomize a grid so that we ensure that there is always a solution.
12103 (5x5-make-random-grid): Allow other movement than flipping.
12104
7de88b6e
KR
121052011-05-23 Kevin Ryde <user42@zip.com.au>
12106
12107 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12108 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12109 advice and passes PREDICATE.
12110
b1ef1257
SM
121112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12112
bbca48fe
SM
12113 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12114 byte-compile-lambda if it's actually a lambda.
12115
b1ef1257
SM
12116 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12117 Fix function quoting. Use backquote better.
12118
92a9cc65
YS
121192011-05-22 Yuanle Song <sylecn@gmail.com>
12120
12121 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12122 matching (Bug#8516).
12123
f0fb8059
JA
121242011-01-22 Jari Aalto <jari.aalto@cante.net>
12125
12126 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12127 different face (Bug#8178).
12128
d5b44c93
CY
121292011-05-22 Chong Yidong <cyd@stupidchicken.com>
12130
12131 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12132 defface (Bug#8144).
12133
79106a44
SM
121342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12135
9c848d8a
SM
12136 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12137 funcall as well (bug#8712). Warn when performing those conversions.
12138 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12139
79106a44
SM
12140 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12141
88dfa756
GM
121422011-05-22 Glenn Morris <rgm@gnu.org>
12143
12144 * files.el (hack-local-variables-prop-line): Small simplifications.
12145 (hack-local-variables, hack-local-variables-prop-line):
12146 If MODE-ONLY, return the mode, rather than just `t'.
12147
b7cf2c79
SM
121482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12151
3f1a8558
GM
121522011-05-21 Glenn Morris <rgm@gnu.org>
12153
7e4ccca3
GM
12154 * files.el (hack-local-variables-prop-line, hack-local-variables):
12155 If only interested in the mode, don't bother doing the other stuff.
12156
637d46ca
GM
12157 * image-mode.el (image-after-revert-hook):
12158 Redraw all frames on which the image is visible. (Bug#8567)
12159
973d955b
GM
12160 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12161
3f1a8558
GM
12162 * wid-edit.el (widget-checklist-match-inline):
12163 Fix 2011-04-19 change. (Bug#8649)
12164
96479927
SM
121652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12166
1dcf791f
SM
12167 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12168 Also allow singlespace after single-letter capitals followed by a dot.
12169
96479927
SM
12170 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12171 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12172
35fd0881
N
121732011-05-20 Nix <nix@esperi.org.uk>
12174
12175 * files.el (basic-save-buffer-2):
12176 Fix handling of break-hardlink-on-save with non-existent files.
12177
82745640
DD
121782011-05-19 Deniz Dogan <deniz@dogan.se>
12179
12180 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12181 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12182
4a720484
GM
121832011-05-19 Glenn Morris <rgm@gnu.org>
12184
d1f21341
GM
12185 * progmodes/f90.el (f90-type-def-re):
12186 Handle "type, bind(c)". (Bug#8691)
12187
4a720484
GM
12188 * emacs-lisp/autoload.el (batch-update-autoloads):
12189 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12190
2fb0a219
MA
121912011-05-18 Michael Albinus <michael.albinus@gmx.de>
12192
12193 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12194 property for the correct connection in case of multihops.
12195
e565dd37
GM
121962011-05-18 Glenn Morris <rgm@gnu.org>
12197
c2571358 12198 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12199 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12200
e565dd37
GM
12201 Rationalize calendar handling of day and month abbrev-arrays.
12202 * calendar/calendar.el (calendar-customized-p): New function.
12203 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12204 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12205 Add :set function.
12206 (calendar-abbrev-length, calendar-day-abbrev-array)
12207 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12208 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12209 Elements may no longer be nil.
12210 (calendar-day-name, calendar-month-name):
12211 Update for changed nature of abbrev arrays.
12212 * calendar/diary-lib.el (diary-name-pattern):
12213 Update for changed nature of abbrev arrays.
12214 (diary-mark-entries-1): Update calendar-make-alist calls.
12215 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12216 * calendar/cal-html.el (cal-html-day-abbrev-array):
12217 Simply inherit from calendar-day-abbrev-array.
12218
1d99a745
SM
122192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12220
12221 * progmodes/grep.el (grep-mode): Disable default
12222 compilation-directory-matcher setting (bug#8684).
12223
7c1d9aa0
MA
122242011-05-17 Michael Albinus <michael.albinus@gmx.de>
12225
12226 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12227 instead of "head" and "tail". There were problems with SunOS 5.9,
12228 and it performs better.
12229
3952e9d8
GM
122302011-05-17 Glenn Morris <rgm@gnu.org>
12231
2dd12e7f
GM
12232 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12233
e4157b9c
GM
12234 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12235 Replace obsolete function.
12236
8e249bbd
GM
12237 * shell.el (pcomplete-parse-arguments-function): Declare.
12238
3952e9d8
GM
12239 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12240 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12241 (appt-check): Doc fixes.
12242 (appt-disp-window-function, appt-delete-window-function):
12243 Remove needless special case in custom :type.
12244 (appt-display-count): Default to 0, not nil.
12245 (appt-check): Reset appt-display-count to 0, not nil.
12246
c71a0d48 122472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12248
c71a0d48
GM
12249 * progmodes/python.el (python-font-lock-keywords):
12250 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12251
31d55be9
SM
122522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12253
12254 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12255
3bfacb2f
KR
122562011-05-16 Kevin Ryde <user42@zip.com.au>
12257
12258 * info-look.el (makefile-automake-mode): New setups, looking in
12259 automake manual, then makefile-mode.
12260 (makefile-mode): Remove automake manual, have it just in
12261 makefile-automake-mode since there's various things different or
12262 not relevant to plain make.
12263 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12264 believe a hypothetical automake-mode would go to makefile-mode,
12265 not the other way around.
12266
c8e83751
CY
122672011-05-15 Chong Yidong <cyd@stupidchicken.com>
12268
5e9e35cd
CY
12269 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12270 hunk-end tags (Bug#8672).
12271
c8e83751
CY
12272 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12273 vc-annotate-show-diff-revision-at-line (Bug#8671).
12274
50b23e5a
GM
122752011-05-14 Glenn Morris <rgm@gnu.org>
12276
7210a739
GM
12277 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12278 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12279 (change-log-font-lock-keywords): Also handle multiple author lines
12280 with leading tabs. (Bug#8644)
7210a739 12281
4691905a
GM
12282 * calendar/appt.el (appt-check): Rename some local variables.
12283 Some simplification/reordering.
12284
50b23e5a
GM
12285 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12286 (feedmail-sendmail-f-doesnt-sell-me-out)
12287 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12288 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12289 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12290 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12291 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12292 (feedmail-binmail-gnulinuxish-template):
12293 Rename from feedmail-binmail-linuxish-template.
12294 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12295 Use insert-buffer-substring.
12296
215cda7c
BC
122972011-05-14 Bill Carpenter <bill@carpenter.org>
12298
12299 * mail/feedmail.el (feedmail-patch-level): Increase.
12300 (feedmail-debug): New custom group.
12301 (feedmail-confirm-outgoing-timeout)
12302 (feedmail-sendmail-f-doesnt-sell-me-out)
12303 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12304 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12305 (feedmail-sender-line, feedmail-from-line)
12306 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12307 (feedmail-spray-this-address)
215cda7c
BC
12308 (feedmail-spray-address-fiddle-plex-list)
12309 (feedmail-queue-use-send-time-for-date)
12310 (feedmail-queue-use-send-time-for-message-id)
12311 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12312 (feedmail-buffer-eating-function):
12313 Doc fixes.
12314 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12315 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12316 (feedmail-message-action-scroll-down): New functions.
12317 (feedmail-queue-directory, feedmail-queue-draft-directory):
12318 Use expand-file-name.
12319 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12320 Remove C-v help entry.
12321 (feedmail-queue-buffer-file-name): New variable.
12322 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12323 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12324 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12325 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12326 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12327 (feedmail-message-action-toggle-spray)
12328 (feedmail-run-the-queue-no-prompts)
12329 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12330 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12331 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12332 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12333 (feedmail-envelope-deducer, feedmail-fiddle-from)
12334 (feedmail-fiddle-sender, feedmail-default-date-generator)
12335 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12336 (feedmail-fiddle-spray-address)
12337 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12338 (feedmail-fiddle-list-of-fiddle-plexes)
12339 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12340 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12341 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12342 Change default. Doc fix.
12343 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12344 (feedmail-binmail-linuxish-template): New constant.
12345 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12346 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12347 (feedmail-send-it): Add debug call.
12348 Use feedmail-queue-buffer-file-name, and
12349 feedmail-send-it-immediately-wrapper.
12350 (feedmail-message-action-send): Add debug call.
12351 Use feedmail-send-it-immediately-wrapper.
12352 (feedmail-queue-express-to-queue): Add debug call.
12353 Run feedmail-queue-express-hook.
12354 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12355 (feedmail-message-action-help-blat):
12356 Rename from feedmail-queue-send-edit-prompt-help-first.
12357 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12358 Check line-endings. Handle errors better.
12359 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12360 Doc fix. Add debug call.
12361 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12362 Use feedmail-queue-send-edit-prompt-inner.
12363 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12364 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12365 from feedmail-queue-send-edit-prompt.
12366 (feedmail-queue-send-edit-prompt-help)
12367 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12368 (feedmail-tidy-up-slug): Add debug call.
12369 Respect feedmail-queue-slug-suspect-regexp.
12370 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12371 (feedmail-dump-message-to-queue): Add debug call.
12372 Expand queue-directory.
12373 (feedmail-dump-message-to-queue): Change message slightly.
12374 Use feedmail-say-chatter.
12375 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12376 (feedmail-send-it-immediately-wrapper): New function.
12377 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12378 Insert empty string rather than newline. Handle full-frame case.
12379 Use catch/throw. Use feedmail-say-chatter.
12380 (feedmail-fiddle-from): Try mail-host-address.
12381 (feedmail-default-message-id-generator): Doc fix.
12382 Bind system-time-locale. Handle missing end.
12383 (feedmail-fiddle-x-mailer): Add debug call.
12384 Handle feedmail-x-mailer-line being nil.
12385 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12386 Add debug call. Use buffer-substring-no-properties.
12387 (feedmail-say-debug, feedmail-say-chatter): New functions.
12388 (feedmail-find-eoh): Give an explicit error.
12389
42c7e61e
UJ
123902011-05-13 Ulf Jasper <ulf.jasper@web.de>
12391
c2571358 12392 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12393 family from helvetica to sans.
c2571358 12394 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12395 etc/images/newsticker.
12396
c2571358 12397 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12398 family from helvetica to sans.
12399
12400 * net/newst-plainview.el (newsticker-new-item-face)
12401 (newsticker-old-item-face, newsticker-immortal-item-face)
12402 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12403 (newsticker-statistics-face): Change default family from
42c7e61e 12404 helvetica to sans.
c2571358 12405 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12406 etc/images/newsticker.
12407
5d3385a0
JB
12408 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12409 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12410 auto-marking.
12411
8497a297
DV
124122011-05-13 Didier Verna <didier@xemacs.org>
12413
12414 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12415 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12416 TODO entries.
8497a297
DV
12417 (lisp-lambda-list-keyword-parameter-indentation)
12418 (lisp-lambda-list-keyword-parameter-alignment)
12419 (lisp-lambda-list-keyword-alignment): New customizable user options.
12420 (lisp-indent-defun-method): Improve docstring.
12421 (extended-loop-p): Fix comment.
12422 (lisp-indent-lambda-list-keywords-regexp): New variable.
12423 (lisp-indent-lambda-list): New function.
12424 (lisp-indent-259): Use it.
12425 (lisp-indent-defmethod): Support for more than one
12426 method qualifier and properly indent methods lambda-lists.
12427 (defgeneric): Provide a missing common-lisp-indent-function property.
12428
f278f87f
SM
124292011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12430
12431 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12432 bounds for the empty string (bug#8667).
12433
5233edd7
GM
124342011-05-13 Glenn Morris <rgm@gnu.org>
12435
5237a44f
GM
12436 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12437
8340026c 12438 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12439 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12440
5233edd7 12441 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12442 (appt-time-msg-list): Doc fix.
a5464014 12443 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12444
92d10796
AS
124452011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12446
12447 * progmodes/ld-script.el (ld-script-keywords)
12448 (ld-script-builtins): Update keywords list.
12449
914a0ae1
SM
124502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12451
c89be45f
SM
12452 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12453
914a0ae1
SM
12454 * shell.el (shell-completion-vars): New function.
12455 (shell-mode):
12456 * simple.el (read-shell-command): Use it.
12457 (blink-matching-open): No need for " [...]" in minibuffer-message.
12458
98dc3df3
GM
124592011-05-12 Glenn Morris <rgm@gnu.org>
12460
12461 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12462 (appt-check): Simplify.
12463
d2fc7e3d 124642011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12465
4d61f28d 12466 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12467 literal "/dev/null".
12468
d2fc7e3d 124692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12470
12471 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12472 Fix typo.
12473
d2fc7e3d 124742011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12475
3f254caa
SM
12476 * progmodes/which-func.el (which-function):
12477 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12478 which might not be defined (Bug#8260).
12479
d45885f7
GM
124802011-05-12 Glenn Morris <rgm@gnu.org>
12481
12482 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12483 Let byte-compile-initial-macro-environment always take precedence.
12484
488086f4
SM
124852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 * net/rcirc.el: Add support for SSL/TLS connections.
12488 (rcirc-server-alist): New field `encryption'.
12489 (rcirc): Check `encryption' settings.
12490 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12491 Merge make-local-variable into `set'.
12492 (rcirc--connection-open-p): New function.
12493 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12494 the process is not a network process (e.g. running gnutls-cli).
12495 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12496 Make rcirc-(en|de)code-coding-system local here.
12497 (rcirc-mode): Merge make-local-variable into `set'.
12498 (rcirc-parent-buffer): Make permanent buffer-local.
12499 (rcirc-multiline-minor-mode): Don't do it here.
12500 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12501 there's no server buffer.
12502
7d3b9d44
GM
125032011-05-11 Glenn Morris <rgm@gnu.org>
12504
f64049c6
GM
12505 * newcomment.el (comment-kill): Prefix "unused" local.
12506
93c9df73
GM
12507 * term/w32console.el (get-screen-color): Declare.
12508
7d3b9d44
GM
12509 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12510 Handle symbol elements of byte-compile-initial-macro-environment.
12511
9e2dd53f
LL
125122011-05-10 Leo Liu <sdl.web@gmail.com>
12513
488086f4
SM
12514 * bookmark.el (bookmark-bmenu-mode-map):
12515 Bind bookmark-bmenu-search to `/'.
8b340240 12516
9e2dd53f 12517 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12518 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12519 (Footnote-unicode): New function.
12520 (footnote-style-alist): Add unicode style to the list.
12521 (footnote-style): Doc fix.
9e2dd53f 12522
79b70037
GM
125232011-05-10 Jim Meyering <meyering@redhat.com>
12524
12525 Fix doubled-word typos.
12526 * international/quail.el (quail-insert-kbd-layout): and and -> and
12527 * kermit.el: and and -> and
12528 * net/ldap.el (ldap-search-internal): to to -> to
12529 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12530 * progmodes/js.el (js-mode): and and -> and
12531 * textmodes/artist.el (artist-move-to-xy): at at -> at
12532 (artist-draw-region-trim-line-endings): if if -> if
12533 And Safetyc -> Safety.
12534 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12535
b8f82dc1 125362011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12537 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12538
12539 * files.el (hack-one-local-variable-eval-safep):
12540 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12541
4f99f44b
GM
125422011-05-10 Glenn Morris <rgm@gnu.org>
12543
12544 * calendar/diary-lib.el (diary-list-entries-hook)
12545 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12546 (diary-nongregorian-marking-hook, diary-list-entries)
12547 (diary-include-other-diary-files, diary-mark-entries)
12548 (diary-mark-included-diary-files): Doc fixes.
12549
84f29e6b
JB
125502011-05-09 Juanma Barranquero <lekktu@gmail.com>
12551
12552 * misc.el: Require tabulated-list.el during compilation.
12553
9bedd73a
CY
125542011-05-09 Chong Yidong <cyd@stupidchicken.com>
12555
488086f4
SM
12556 * progmodes/compile.el (compilation-start):
12557 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12558 (compilation-filter-hook): Doc fix.
12559
797c735c
DD
125602011-05-09 Deniz Dogan <deniz@dogan.se>
12561
12562 * wdired.el: Remove outdated installation comment. Fix usage
12563 comment.
12564
5f4b1dfe
JB
125652011-05-09 Juanma Barranquero <lekktu@gmail.com>
12566
12567 * misc.el: Implement new command `list-dynamic-libraries'.
12568 (list-dynamic-libraries--loaded-only-p): New variable.
12569 (list-dynamic-libraries--refresh): New function.
12570 (list-dynamic-libraries): New command.
12571
4c44026c
CY
125722011-05-09 Chong Yidong <cyd@stupidchicken.com>
12573
488086f4
SM
12574 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12575 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12576 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12577 higher priority to avoid clobbering by gnu.
12578
027f966d
CY
125792011-05-08 Chong Yidong <cyd@stupidchicken.com>
12580
12581 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12582 if the face has existing theme settings (Bug#8454).
12583
085f5d7d
CY
125842011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12585
488086f4
SM
12586 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12587 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12588
2a86a00c
RS
12589 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12590 special file names `.' and `..' (Bug#8259).
12591
d9c54a06
CY
125922011-05-08 Chong Yidong <cyd@stupidchicken.com>
12593
488086f4
SM
12594 * progmodes/grep.el (grep-mode-font-lock-keywords):
12595 Remove buffer-changing entries.
d9c54a06
CY
12596 (grep-filter): New function.
12597 (grep-mode): Add it to compilation-filter-hook.
12598
12599 * progmodes/compile.el (compilation-filter-hook)
12600 (compilation-filter-start): New defvars.
12601 (compilation-filter): Call compilation-filter-hook prior to
12602 updating the process mark.
12603
c4662635
SM
126042011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12605
12606 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12607
b0512a1d
EZ
126082011-05-07 Eli Zaretskii <eliz@gnu.org>
12609
605c9376
EZ
12610 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12611 mailclient-send-it even if window-system is nil. (Bug#8595)
12612
c4662635
SM
12613 * term/w32console.el (terminal-init-w32console):
12614 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12615 background-mode. (Bug#8597)
12616
d1dc2cc2
SM
126172011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12620 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12621 New functions.
12622 (defgeneric, eieio--defmethod): Use them.
12623 (eieio-defgeneric): Remove.
12624 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12625
915d1300
GM
126262011-05-07 Glenn Morris <rgm@gnu.org>
12627
a3961c3e
GM
12628 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12629 Use let rather than let*.
12630 (timeclock-find-discrep): Remove unused local.
12631
314347b9
GM
12632 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12633
915d1300
GM
12634 * calendar/appt.el (appt-time-msg-list): Doc fix.
12635
275b59b0
NF
126362011-05-06 Noah Friedman <friedman@splode.com>
12637
12638 * apropos.el (apropos-print-doc): Only use
12639 emacs-lisp-docstring-fill-column when it is bound to an integer,
12640 per that variable's documentation.
12641
6c19f744
SM
126422011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12643
12644 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12645 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12646
60f884b2
GM
126472011-05-06 Glenn Morris <rgm@gnu.org>
12648
5006e634
GM
12649 * calendar/appt.el (appt-message-warning-time): Doc fix.
12650 (appt-warning-time-regexp): New option.
12651 (appt-make-list): Respect appt-message-warning-time.
12652
548d0a63
GM
12653 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12654 New options.
12655 (diary-add-to-list): Strip comments from the displayed string.
12656 (diary-mode): Set comment-start and comment-end.
12657
60f884b2
GM
12658 * vc/diff-mode.el (smerge-refine-subst): Declare.
12659 (diff-refine-hunk): Don't require smerge-mode when compiling.
12660
989681bb
JB
126612011-05-06 Juanma Barranquero <lekktu@gmail.com>
12662
12663 * simple.el (list-processes): Return nil as the docstring says.
12664
a6bc05e1
MA
126652011-05-05 Michael Albinus <michael.albinus@gmx.de>
12666
12667 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12668 to "".
12669 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12670 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12671 determining of binary transfer. (Bug#7383)
12672
23c22e9a
MA
126732011-05-05 Michael Albinus <michael.albinus@gmx.de>
12674
c4662635
SM
12675 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12676 Fix port computation bug. (Bug#8618)
23c22e9a 12677
0bff894f
GM
126782011-05-05 Glenn Morris <rgm@gnu.org>
12679
b8296902
GM
12680 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12681
1f522ce8
GM
12682 * simple.el (shell-dynamic-complete-functions)
12683 (comint-dynamic-complete-functions): Declare.
12684
cf5bee67
GM
12685 * net/network-stream.el (gnutls-negotiate):
12686 * simple.el (tabulated-list-print): Fix declarations.
12687
12688 * progmodes/gud.el (syntax-symbol, syntax-point):
12689 Remove unnecessary and incorrect declarations.
12690
0bff894f
GM
12691 * emacs-lisp/check-declare.el (check-declare-scan):
12692 Handle byte-compile-initial-macro-environment in bytecomp.el
12693
9869b3ae
SM
126942011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 Fix earlier half-done eieio-defmethod change (bug#8338).
12697 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12698 Streamline and change calling convention.
12699 (defmethod): Adjust accordingly and simplify.
12700 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12701 new eieio--defmethod.
12702 (slot-boundp): Minor CSE simplification.
12703
9c1d5ac5
MZ
127042011-05-05 Milan Zamazal <pdm@zamazal.org>
12705
12706 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12707 (glasses-make-readable): Use glasses-separate-capital-groups.
12708
455c834e
JB
127092011-05-05 Juanma Barranquero <lekktu@gmail.com>
12710
12711 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12712 (warning-series): Doc fix.
12713 (display-warning): Don't try to create the buffer if we just found it.
12714
9ed7c8cb
CY
127152011-05-04 Chong Yidong <cyd@stupidchicken.com>
12716
12717 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12718 (autoload-find-generated-file): New function.
12719 (generate-file-autoloads): Bind generated-autoload-file to
12720 buffer-file-name.
9869b3ae
SM
12721 (update-file-autoloads, update-directory-autoloads):
12722 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12723 output file (Bug#7989).
12724 (batch-update-autoloads): Doc fix.
12725
0898ca10
JB
127262011-05-04 Juanma Barranquero <lekktu@gmail.com>
12727
12728 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12729
31dfb76c
GM
127302011-05-04 Glenn Morris <rgm@gnu.org>
12731
f330b642
GM
12732 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12733 function, so it follows changes in calendar-date-style.
12734 (diary-fancy-date-matcher): New function.
12735 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12736 (diary-fancy-font-lock-fontify-region-function):
12737 Use diary-fancy-date-pattern as a function.
12738
31dfb76c
GM
12739 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12740 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12741
48e79d6a
TZ
127422011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12743
12744 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12745 instead of positional arguments. Allow :keylist and :crlfiles
12746 arguments.
12747 (open-gnutls-stream): Call it.
12748
12749 * net/network-stream.el (network-stream-open-starttls): Adjust to
12750 call `gnutls-negotiate' with :process and :hostname arguments.
12751
dd5a5ee0
SM
127522011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12753
ef80fc09
SM
12754 * minibuffer.el (completion--message): New function.
12755 (completion--do-completion, minibuffer-complete)
12756 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12757 (completion--do-completion): Don't ignore completion-auto-help when in
12758 icomplete-mode.
12759
dd5a5ee0
SM
12760 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12761 internal encoding (e.g. tibetan zero is not whitespace).
12762 (global-whitespace-mode): Prefer save-current-buffer.
12763 (whitespace-trailing-regexp): Remove useless save-match-data.
12764 (whitespace-empty-at-bob-regexp): Minor simplification.
12765
b7d22a83
CY
127662011-05-03 Chong Yidong <cyd@stupidchicken.com>
12767
12768 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12769
5192af46
AM
127702011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12771
12772 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12773 Use `concat' to create string for insertion.
5192af46 12774
5767d190
SM
127752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12778 Avoid open-line which runs post-self-insert-hook.
12779 (bibtex-fill-entry): Remove unused `end' var.
12780
bf242939
AM
127812011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12782
5767d190
SM
12783 * textmodes/ispell.el (ispell-add-per-file-word-list):
12784 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12785
25666126
LL
127862011-05-03 Leo Liu <sdl.web@gmail.com>
12787
12788 * isearch.el (isearch-yank-pop): New command.
5767d190 12789 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12790 (isearch-forward): Mention it.
12791
52d3c2d0
SM
127922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12793
1bcace58
SM
12794 * simple.el (minibuffer-complete-shell-command): Remove.
12795 (minibuffer-local-shell-command-map): Use completion-at-point.
12796 (read-shell-command): Setup completion vars here instead.
12797 (read-expression-map): Bind TAB to symbol completion.
12798
52d3c2d0
SM
12799 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12800 error directly rather via storing it into `results'.
12801
35813471
LL
128022011-05-02 Leo Liu <sdl.web@gmail.com>
12803
12804 * vc/diff.el: Fix description.
12805
e793a940
LMI
128062011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12807
12808 * server.el (server-eval-at): New function.
12809
8de66e05
LMI
128102011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12811
12812 * net/network-stream.el (open-network-stream): Take a :nowait
12813 parameter and pass it on to `make-network-process'.
12814 (network-stream-open-plain): Ditto.
12815
dcb79f20
AS
128162011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12817
12818 * faces.el (face-spec-set-match-display): Don't match toolkit
12819 options on terminal frames.
12820
14a7fbd8
SM
128212011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12822
7eabc1be
SM
12823 * progmodes/pascal.el: Use lexical binding.
12824 (pascal-mode-map): Remove author preferences.
12825
14a7fbd8
SM
12826 * pcomplete.el (pcomplete-std-complete): Don't abuse
12827 completion-at-point.
12828
50f84510
JB
128292011-04-28 Juanma Barranquero <lekktu@gmail.com>
12830
6e087a44
JB
12831 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12832 removing code that has been dead since 1991 or so.
12833
50f84510
JB
12834 * startup.el (command-line): When warning about "_emacs", use a
12835 delayed warning to allow the user to filter it out.
12836
0ba690bd
DD
128372011-04-28 Deniz Dogan <deniz@dogan.se>
12838
12839 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12840 user has not joined.
12841
08abfaad
SM
128422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12843
12844 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12845 aren't any completions at point.
12846
638f053a
JB
128472011-04-28 Juanma Barranquero <lekktu@gmail.com>
12848
12849 * subr.el (display-delayed-warnings): New function.
12850 (delayed-warnings-hook): New variable.
12851
8fff8daa
SM
128522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12853
08abfaad
SM
12854 * minibuffer.el (completion-at-point, completion-help-at-point):
12855 Don't presume that a given completion-at-point-function will always
12856 use the same calling convention.
12857
8fff8daa
SM
12858 * pcomplete.el (pcomplete-completions-at-point):
12859 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12860 pcomplete-seen is non-nil.
12861 (pcomplete-comint-setup): Also recognize the new comint/shell
12862 completion functions.
12863 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12864 pcomplete-seen is non-nil.
12865
841a1577 128662011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12867
841a1577 12868 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12869 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12870 the first character in the entry. This allows for code to add its
211ec907
UJ
12871 own uid to the entry.
12872 (icalendar--convert-float-to-ical): Add export of
12873 `diary-float'-entries save for those with the optional DAY
12874 argument.
12875
2a782793
DC
128762011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12877
12878 * subr.el (shell-quote-argument): Use alternate escaping strategy
12879 when we spot a variable reference in a string.
12880
0438ce91
DC
128812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12882
12883 * cus-start.el (all): Define customization for debug-on-event.
12884
841a1577 128852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12886
12887 * subr.el (shell-quote-argument): Escape correctly under Windows.
12888
d090ed6c
SM
128892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12890
12891 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12892
bfd31217
MA
128932011-04-25 Michael Albinus <michael.albinus@gmx.de>
12894
d090ed6c
SM
12895 * net/tramp.el (tramp-process-actions): Add POS argument.
12896 Delete region between POS and (pos).
bfd31217 12897
d090ed6c
SM
12898 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12899 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12900 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12901
12902 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12903 position in `tramp-process-actions' call.
12904
12905 * net/trampver.el: Update release number.
12906
e92f3bd3
SM
129072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12908
850256b5
SM
12909 * custom.el (defcustom): Obey lexical-binding.
12910
e92f3bd3
SM
12911 Fix octave-inf completion problems reported by Alexander Klimov.
12912 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12913 Inherit from octave-mode-syntax-table.
12914 (inferior-octave-mode): Set info-lookup-mode.
12915 (inferior-octave-completion-at-point): New function.
12916 (inferior-octave-complete): Use it and completion-in-region.
12917 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12918 comint-filename-completion.
12919 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12920 symbol elements which shouldn't be word elements.
12921 (octave-font-lock-keywords, octave-beginning-of-defun)
12922 (octave-function-header-regexp): Adjust regexps accordingly.
12923 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12924
cd22b309
JB
129252011-04-25 Juanma Barranquero <lekktu@gmail.com>
12926
12927 * net/gnutls.el (gnutls-errorp): Declare before first use.
12928
8b492194
TZ
129292011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12930
12931 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12932 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12933 default trustfile exists before going to use it. Add missing
5a5fa834 12934 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12935 Reported by Claudio Bley <claudio.bley@gmail.com>.
12936 (open-gnutls-stream): Add usage example.
12937
12938 * net/network-stream.el (network-stream-open-starttls): Give host
12939 parameter to `gnutls-negotiate'.
12940 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12941 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12942
841a1577 129432011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12944
cd22b309
JB
12945 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12946 Use correct match group (bug#8438).
05842630 12947
3ba7869c
CY
129482011-04-24 Chong Yidong <cyd@stupidchicken.com>
12949
512e3ae1
CY
12950 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12951 (package-menu--generate): New arg specifying packages to show.
12952 (package-menu-refresh, package-menu-execute, list-packages):
12953 Callers changed.
12954 (package-show-package-list): New function, replacing deleted
12955 package--list-packages (renamed because it is non-internal).
12956
12957 * finder.el (finder-list-matches): Use package-show-package-list
12958 instead of deleted package--list-packages.
12959
e92f3bd3
SM
12960 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12961 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12962 (vc-annotate-mode-map): Bind it to RET.
12963
7031be6d
UR
129642011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12965
12966 * progmodes/etags.el (next-file): Don't use set-buffer to change
12967 buffers (Bug#8478).
12968
4ef177aa
CY
129692011-04-24 Chong Yidong <cyd@stupidchicken.com>
12970
c8d173eb
CY
12971 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12972
4ef177aa
CY
12973 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12974 (apropos-accumulator): Doc fix.
12975 (apropos-function, apropos-macro, apropos-command)
12976 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12977 (apropos-plist): Add face property.
12978 (apropos-symbols-internal): Fix indentation.
12979 (apropos-print): Simplify help, and recognize apropos-multi-type.
12980 (apropos-print-doc): Use button-type-get to extract the button's
12981 face property. Fill docstring (Bug#8352).
12982
4ffd0d6b 129832011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
12984
12985 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12986
c6c32125 12987 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 12988 (mpuz-mode-map): Use mapc.
c6c32125
JB
12989 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12990 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12991 Fix typos in docstrings.
12992
58d468b4
JB
12993 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12994 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12995
6470c3c6
JB
12996 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12997
4ffd0d6b 129982011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
12999
13000 * minibuffer.el (completion--do-completion): Avoid the "Next char
13001 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13002
3ad8bad0
CY
13003 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13004 mouse-2 into unread-command-events, it is interpreted correctly.
13005
71d73c9c 13006 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13007 (image-toggle-display): Doc fix.
71d73c9c 13008
841a1577 130092011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13010
4ffd0d6b
GM
13011 * textmodes/page.el (what-page): Use line-number-at-pos to
13012 calculate line number (Bug#6825).
6e1dbaa9 13013
c2fb1b60
JB
130142011-04-22 Juanma Barranquero <lekktu@gmail.com>
13015
13016 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13017 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13018 Pass argument NO-DEFAULT to `find-tag-interactive'.
13019
e02f48d7
JB
130202011-04-22 Juanma Barranquero <lekktu@gmail.com>
13021
13022 Lexical-binding cleanup.
13023
13024 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13025 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13026 * progmodes/ada-prj.el (ada-prj-initialize-values)
13027 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13028 (ada-prj-show-value):
13029 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13030 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13031 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13032 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13033 * progmodes/bug-reference.el (bug-reference-push-button):
13034 * progmodes/fortran.el (fortran-line-length):
13035 * progmodes/glasses.el (glasses-change):
13036 * progmodes/octave-mod.el (octave-fill-paragraph):
13037 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13038 (python-pdbtrack-grub-for-buffer, python-sentinel):
13039 * progmodes/sql.el (sql-save-connection):
13040 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13041 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13042 Mark unused parameters.
13043
13044 * progmodes/compile.el (compilation--flush-directory-cache)
13045 (compilation--flush-parse, compile-internal): Mark unused parameters.
13046 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13047 (compilation-next-error-function): Remove unused variable `timestamp'.
13048
13049 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13050 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13051
13052 * progmodes/dcl-mode.el (dcl-end-of-command):
13053 Remove unused variable `start'.
13054 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13055 (dcl-option-value-basic, dcl-option-value-offset)
13056 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13057 Mark unused parameters.
13058 (dcl-save-local-variable): Remove unused variable `val'.
13059 (mode): Declare.
13060
13061 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13062 Mark unused parameters.
13063 (delphi-ignore-changes): Move before first use.
13064 (delphi-charset-token-at): Remove unused variable `start'.
13065 (delphi-else-start): Remove unused variable `if-count'.
13066 (delphi-comment-block-start, delphi-comment-block-end):
13067 Remove unused variable `kind'.
13068 (delphi-indent-line): Remove unused variable `new-point'.
13069
13070 * progmodes/ebrowse.el (ebrowse-files-list)
13071 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13072 Mark unused parameters. Don't quote `lambda'.
13073 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13074 Don't quote `lambda'.
13075 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13076 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13077 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13078 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13079 Use `ignore-errors'.
13080 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13081 (ebrowse-view/find-file-and-search-pattern)
13082 (ebrowse-view/find-member-declaration/definition):
13083 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13084 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13085 Rename parameter PREFIX-ARG to PREFIX.
13086 (ebrowse-tags-read-name): Remove unused variables `start' and
13087 `member-info'.
13088 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13089 to `tags-file'.
13090
13091 * progmodes/etags.el (local-find-tag-hook): Declare.
13092 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13093 Mark unused parameters.
13094
13095 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13096 (executable-interpret): Mark unused parameter.
13097
13098 * progmodes/flymake.el (flymake-process-sentinel)
13099 (flymake-after-change-function)
13100 (flymake-create-temp-with-folder-structure)
13101 (flymake-get-include-dirs-dot): Mark unused parameters.
13102 (flymake-safe-delete-directory): Remove unused variable `err'.
13103
13104 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13105 (speedbar-timer-fn, speedbar-line-text)
13106 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13107 (speedbar-center-buffer-smartly): Declare functions.
13108 (gdb-find-watch-expression): Remove unused variable `array'.
13109 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13110 (gdb-starting): Mark unused parameters.
13111 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13112 (gdb-table-string): Remove unused variable `res'.
13113 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13114 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13115 (gdb-display-buffer): Remove unused variable `cur-size'.
13116
13117 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13118 allow lexical-binding compilation.
13119 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13120 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13121 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13122 Mark unused parameters.
13123 (gud-gdb-marker-filter): Remove unused variable `match'.
13124 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13125 lambda expressions and funcall them, instead of using `fset'.
13126
13127 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13128 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13129
13130 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13131 variable `header-beg'; use `let'.
13132
13133 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13134 `restart', `last-sexp' and `at-do'.
13135
13136 * progmodes/js.el (js--debug): Mark unused parameter.
13137 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13138 (js--splice-into-items): Remove unused variable `item'.
13139 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13140
13141 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13142 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13143 (makefile-complete): Remove unused variable `try'.
13144 (makefile-fill-paragraph, makefile-match-function-end):
13145 Mark unused parameters.
13146
13147 * progmodes/octave-inf.el (inferior-octave-complete):
13148 Remove unused variable `proc'.
13149 (inferior-octave-output-digest): Mark unused parameter.
13150
13151 * progmodes/perl-mode.el (perl-calculate-indent):
13152 Remove unused variable `err'.
13153
13154 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13155 (prolog-indent-line): Mark unused parameters.
13156 (prolog-indent-line): Remove unused variable `beg'.
13157
13158 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13159 (reporter-dont-compact-list): Declare.
13160
13161 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13162 Remove unused variable `char'.
13163 (sh-debug): Mark unused parameter.
13164 (sh-get-indent-info): Remove unused variable `start'.
13165 (sh-calculate-indent): Remove unused variable `var'.
13166
13167 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13168 (simula-electric-keyword): Remove unused variable `null'.
13169 (simula-search-backward, simula-search-forward): Remove unused
13170 variables `begin' and `end'.
13171
13172 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13173 Remove unused variable `pos'.
13174 (vera-electric-tab, vera-comment-uncomment-region):
13175 Mark unused parameters.
13176 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13177
7ede3b65
CY
131782011-04-22 Chong Yidong <cyd@stupidchicken.com>
13179
13180 * emacs-lisp/package.el (package--builtins, package-alist)
13181 (package-load-descriptor, package-built-in-p, package-activate)
13182 (define-package, package-installed-p)
13183 (package-compute-transaction, package-buffer-info)
13184 (package--push): Doc fix. Distinguish more clearly between
13185 version strings and version lists.
13186
121656e9
JB
131872011-04-21 Juanma Barranquero <lekktu@gmail.com>
13188
13189 Lexical-binding cleanup.
13190
13191 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13192 (5x5-make-mutate-best):
13193 * play/fortune.el (fortune-in-buffer):
13194 * play/gomoku.el (gomoku-init-display):
13195 * play/solitaire.el (solitaire, solitaire-do-check):
13196 * play/tetris.el (tetris-default-update-speed-function):
13197 Mark unused parameters.
13198
13199 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13200 (bubbles--shift): Remove unused variable `char-org'.
13201 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13202 (bubbles--show-images): Remove unused variable `char'.
13203
13204 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13205 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13206 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13207 (decipher-analyze-buffer): Use ?\s.
13208 (decipher-make-checkpoint): Remove unused variable `mapping'.
13209
13210 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13211
13212 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13213 Remove unused variable `result'; use `let'.
13214
13215 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13216 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13217 (gametree-children-shown-p, gametree-compute-reduced-score):
13218 Use `ignore-errors'.
13219
13220 * play/handwrite.el (ps-lpr-switches): Declare.
13221 (handwrite): Remove unused variables `pmin' and `lastp'.
13222
13223 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13224
13225 * play/landmark.el (landmark-init-display)
13226 (landmark-update-naught-weights): Mark unused parameters.
13227 (landmark-y): Remove unused variable `noise'. Simplify.
13228 (landmark-human-plays): Remove unused variable `score'.
13229
13230 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13231 (mpuz-try-proposal): Remove unused variable `game'.
13232
13233 * play/zone.el (life-patterns): Declare.
13234
80f499c7
JB
132352011-04-20 Juanma Barranquero <lekktu@gmail.com>
13236
13237 * vc/vc.el (ediff-vc-internal): Declare function.
13238
024ff170
SM
132392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13240
c0a193ea
SM
13241 * shell.el: Use lexical-binding and std completion UI.
13242 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13243 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13244 comint-preoutput-filter-functions rather than on
13245 comint-output-filter-functions.
13246 (shell-command-completion, shell--command-completion-data)
13247 (shell-filename-completion, shell-environment-variable-completion)
13248 (shell-c-a-p-replace-by-expanded-directory): New functions.
13249 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13250 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13251 (shell-dynamic-complete-environment-variable): Use them.
13252 (shell-dynamic-complete-as-environment-variable)
13253 (shell-dynamic-complete-as-command): Remove.
13254 (shell-match-partial-variable): Match past point.
13255 * comint.el: Clean up use of completion-at-point-functions.
13256 (comint-completion-at-point): New function.
13257 (comint-mode): Use it completion-at-point-functions.
13258 (comint-dynamic-complete): Make it obsolete.
13259 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13260 (comint-c-a-p-replace-by-expanded-history): New function.
13261 (comint-dynamic-complete-functions)
13262 (comint-replace-by-expanded-history): Use it.
13263 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13264 termination strings. Try harder to avoid second try-completion.
13265 (completion-in-region-mode-map): Disable bindings that don't work yet.
13266
2dbaa080
SM
13267 * comint.el: Use lexical-binding. Require CL.
13268 (comint-dynamic-complete-functions): Use comint-filename-completion.
13269 (comint-completion-addsuffix): Tweak custom type.
13270 (comint-filename-completion, comint--common-suffix)
13271 (comint--common-quoted-suffix, comint--table-subvert)
13272 (comint--complete-file-name-data): New functions.
13273 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13274 (comint-dynamic-list-filename-completions): Use them.
13275 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13276
2dbaa080
SM
13277 * minibuffer.el (completion-in-region-mode):
13278 Keep completion-in-region-mode--predicate global.
13279 (completion-in-region--postch):
13280 Assume completion-in-region-mode--predicate is not null.
13281
c79a6f38
SM
13282 * progmodes/flymake.el (flymake-start-syntax-check-process):
13283 Obey `dir'. Simplify.
13284
024ff170
SM
13285 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13286 we're in VC after all.
13287
1c6c854e
CS
132882011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13289
13290 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13291 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13292 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13293
bed7f140
SM
132942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13295
332e62ab
SM
13296 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13297 add sanity check.
13298
bed7f140
SM
13299 * obsolete/erc-hecomplete.el: Make obsolete.
13300 * obsolete/: Standardize obsolescence info in the header.
13301
f195c582
GM
133022011-04-20 Glenn Morris <rgm@gnu.org>
13303
13304 * calendar/solar.el (solar-horizontal-coordinates):
13305 Use the longitude argument rather than `calendar-longitude'.
13306 (solar-date-next-longitude): Remove unused locals.
13307
cb79b8c0
VJL
133082011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13309
13310 * whitespace.el: New version 13.2.1.
13311
133122011-04-20 felix <EmacsWiki> (tiny change)
13313
d8e4b68b 13314 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13315 switching between major modes on a file.
13316
602ea69d
SM
133172011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13318
13319 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13320 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13321 multi-line comments as well.
13322
06b60517
JB
133232011-04-19 Juanma Barranquero <lekktu@gmail.com>
13324
13325 Lexical-binding cleanup.
13326
13327 * arc-mode.el (archive-mode-revert):
13328 * cmuscheme.el (scheme-interactively-start-process):
13329 * custom.el (custom-initialize-delay):
13330 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13331 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13332 * emacs-lock.el (emacs-lock-clear-sentinel):
13333 * ezimage.el (defezimage):
13334 * follow.el (follow-avoid-tail-recenter):
13335 * fringe.el (set-fringe-mode-1):
13336 * generic-x.el (bat-generic-mode-compile):
13337 * help-mode.el (help-info-variable, help-do-xref)
13338 (help-mode-revert-buffer):
13339 * help.el (view-emacs-todo):
13340 * iswitchb.el (iswitchb-completion-help):
13341 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13342 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13343 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13344 * locate.el (locate-update):
13345 * longlines.el (longlines-encode-region)
13346 (longlines-after-change-function):
13347 * outline.el (outline-isearch-open-invisible):
13348 * ps-def.el (declare-function, charset-dimension, char-width)
13349 (encode-char):
13350 * ps-mule.el (ps-mule-plot-string):
13351 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13352 (recentf-edit-list-select, recentf-edit-list-validate)
13353 (recentf-open-files-action):
13354 * rect.el (delete-whitespace-rectangle-line)
13355 (rectangle-number-line-callback):
13356 * register.el (window-configuration-to-register)
13357 (frame-configuration-to-register):
13358 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13359 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13360 (xselect-convert-to-targets, xselect-convert-to-delete)
13361 (xselect-convert-to-filename, xselect-convert-to-charpos)
13362 (xselect-convert-to-lineno, xselect-convert-to-colno)
13363 (xselect-convert-to-os, xselect-convert-to-host)
13364 (xselect-convert-to-user, xselect-convert-to-class)
13365 (xselect-convert-to-name, xselect-convert-to-integer)
13366 (xselect-convert-to-atom, xselect-convert-to-identity):
13367 * subr.el (declare, ignore, process-kill-without-query)
13368 (text-clone-maintain):
13369 * terminal.el (te-get-char, te-tic-sentinel):
13370 * tool-bar.el (tool-bar-make-keymap):
13371 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13372 * type-break.el (type-break-mode, type-break-noninteractive-query):
13373 * view.el (View-back-to-mark):
13374 * wid-browse.el (widget-browse-action, widget-browse-widget)
13375 (widget-browse-widgets, widget-browse-sexp):
13376 * widget.el (define-widget-keywords):
13377 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13378 Mark unused parameters.
13379
13380 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13381 (align-areas): Remove unused variable `look'.
13382 (align-region): Remove unused variables `real-end' and `pos-list'.
13383
13384 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13385
13386 * bindings.el (mode-line-modified, mode-line-remote):
13387 Mark unused parameters.
13388 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13389
13390 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13391 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13392
13393 * comint.el (comint-history-isearch-pop-state)
13394 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13395 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13396 (comint-substitute-in-file-name): Doc fix.
13397
13398 * completion.el (cmpl-statistics-block): Mark unused parameter.
13399 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13400 (save-completions-to-file, load-completions-from-file):
13401 Remove unused local variable `e'.
13402
13403 * composite.el (compose-chars): Remove unused variable `len'.
13404 (lgstring-insert-glyph): Remove unused variable `g'.
13405 (compose-glyph-string): Remove unused variables `ascent',
13406 `descent', `lbearing' and `rbearing'.
13407 (compose-glyph-string-relative): Remove unused variables
13408 `lbearing', `rbearing' and `wadjust'.
13409 (compose-gstring-for-graphic): Remove unused variables `header',
13410 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13411 (compose-gstring-for-terminal): Remove unused variables `header'
13412 and `nchars'. Use `let', not `let*'.
13413
13414 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13415 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13416 (Custom-buffer-done, custom-buffer-create-internal)
13417 (custom-browse-visibility-action, custom-browse-group-tag-action)
13418 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13419 (widget-magic-mouse-down-action, custom-toggle-parent)
13420 (custom-add-parent-links, custom-toggle-hide-variable)
13421 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13422 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13423 (custom-face-menu-create, custom-variable-menu-create, get)
13424 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13425 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13426 (customize-apropos): Remove unused variable `tests'.
13427 (custom-group-value-create): Remove unused variable `hidden-p'.
13428 (sort-fold-case): Declare.
13429
13430 * cus-theme.el (custom-reset-standard-faces-list)
13431 (custom-reset-standard-variables-list): Declare.
13432 (customize-create-theme, custom-theme-revert, custom-theme-write)
13433 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13434 Mark unused parameters.
13435
13436 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13437
13438 * delim-col.el (delimit-columns-max): Move defvar before first use.
13439
13440 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13441 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13442
13443 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13444 (auto-insert): Declare.
13445 (desktop-restore-file-buffer): Rename desktop-* parameters;
13446 mark unused ones.
13447 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13448 (desktop-buffer): Rename desktop-* parameters.
13449
13450 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13451 (dframe-reposition-frame-xemacs, dframe-help-echo)
13452 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13453 Mark unused parameters.
13454
13455 * dired-aux.el (backup-extract-version-start, overwrite-query)
13456 (overwrite-backup-query, rename-regexp-query)
13457 (rename-non-directory-query): Declare.
13458 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13459 (dired-add-entry): Remove unused variable `orig-file-name'.
13460 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13461 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13462 `dired-copy-preserve-time' directly.
13463 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13464 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13465
13466 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13467 (dired-virtual-revert, dired-make-relative-symlink):
13468 Mark unused parameters.
13469 (manual-program): Declare.
13470 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13471 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13472 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13473
13474 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13475
13476 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13477
13478 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13479 Declare.
13480
13481 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13482
13483 * electric.el (Electric-command-loop): Rename parameter
13484 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13485
13486 * expand.el (expand-in-literal): Remove unused variable `here'.
13487
13488 * facemenu.el (facemenu-add-new-color):
13489 Remove unused variable `docstring'.
13490
13491 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13492 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13493 (face-attr-construct): Mark unused parameter. Doc fix.
13494 (read-color): Remove unused variable `hex-string'.
13495
13496 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13497 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13498 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13499 (display-buffer-other-frame): Remove unused variable `old-window'.
13500 (kill-buffer-hook): Declare.
13501 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13502 Mark unused parameters.
13503 (after-find-file): Pass 1 to `auto-save-mode', not t.
13504
13505 * files-x.el (auto-insert): Declare.
13506 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13507
13508 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13509 variable `buf'. Mark unused parameter.
06b60517
JB
13510 (find-lisp-insert-directory): Mark unused parameter.
13511
13512 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13513 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13514 (format-common-tail): Remove, unused.
13515 (format-deannotate-region): Remove unused variable `loc'.
13516 (format-annotate-region): Remove unused variable `p'.
13517 (format-annotate-single-property-change): Remove unused variables
13518 `default' and `tail'.
13519
13520 * forms.el (read-file-filter): Declare.
13521 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13522
13523 * frame.el (frame-creation-function-alist): Mark unused parameter.
13524 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13525
13526 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13527 Remove unused parameters.
13528 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13529 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13530
13531 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13532 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13533 (hfy-prepare-tag-map): Mark unused parameters.
13534 (htmlfontify-buffer): Use `called-interactively-p'.
13535
13536 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13537 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13538 (ibuffer-do-occur): Mark unused parameters.
13539 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13540 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13541
13542 * ibuffer.el: Don't quote `lambda'.
13543 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13544 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13545 Mark unused parameters.
13546
13547 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13548 (ido-completing-read): Mark unused parameters.
13549 (ido-copy-current-word): Mark unused parameters;
13550 remove unused variable `name'.
13551 (ido-sort-merged-list): Remove unused parameter `dirs'.
13552
13553 * ielm.el (ielm-input-sender): Mark unused parameter.
13554 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13555 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13556 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13557 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13558 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13559
13560 * image-dired.el (image-dired-display-thumbs): Remove unused
13561 variables `curr-file' and `count'.
13562 (image-dired-remove-tag): Remove unused variable `start'.
13563 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13564 variable `curr-file'
13565 (image-dired-rotate-original): Remove unused variable `temp-file'.
13566 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13567 Remove unused variable `file'.
13568 (image-dired-gallery-generate): Remove unused variable `curr'.
13569 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13570
13571 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13572
13573 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13574
13575 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13576
13577 * isearch.el (minibuffer-history-symbol): Declare.
13578 (isearch-edit-string): Remove unused variable `err'.
13579 (isearch-message-prefix, isearch-message-suffix):
13580 Mark unused parameters.
13581
13582 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13583
13584 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13585
13586 * makesum.el (double-column): Remove unused variable `cnt'.
13587
13588 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13589 (ido-ignore-item-temp-list): Declare.
13590
13591 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13592 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13593 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13594 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13595 `mouse-col-delta'.
13596
13597 * mouse-sel.el (mouse-extend-internal):
13598 Remove unused variable `orig-window-frame'.
13599
13600 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13601 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13602 Move declarations before first use.
13603 (pcomplete-opt): Mark unused parameters; doc fix.
13604
13605 * proced.el (proced-revert): Mark unused parameter.
13606 (proced-send-signal): Remove unused variable `err'.
13607
13608 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13609 Rename parameter PREFIX-ARG to ARG.
13610 (ps-basic-plot-string, ps-basic-plot-whitespace):
13611 Mark unused parameters.
13612
13613 * replace.el (replace-count): Define.
13614 (occur-revert-function): Mark unused parameters.
13615 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13616 (isearch-case-fold-search, isearch-string): Declare.
13617 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13618 bind `case-fold-search'. Remove unused variables `beg' and `end',
13619 and simplify.
13620 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13621 COUNT and bind `replace-count'.
13622 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13623 to COUNT.
13624
13625 * savehist.el (print-readably, print-string-length): Declare.
13626
13627 * shadowfile.el (shadow-expand-cluster-in-file-name):
13628 Remove unused variable `cluster'.
13629 (shadow-copy-file): Remove unused variable `i'.
13630 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13631 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13632 (shadow-define-literal-group, shadow-define-regexp-group)
13633 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13634
13635 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13636 (shell): Use `called-interactively-p'.
13637 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13638
13639 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13640 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13641 (delete-backward-char): Remove unused variable `ocol'.
13642 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13643 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13644 (event-apply-hyper-modifier, event-apply-shift-modifier)
13645 (event-apply-control-modifier, event-apply-meta-modifier):
13646 Mark unused parameters.
13647 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13648 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13649
13650 * speedbar.el (speedbar-ignored-directory-expressions)
13651 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13652 (speedbar-find-file, speedbar-dir-follow)
13653 (speedbar-directory-buttons-follow, speedbar-tag-find)
13654 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13655 (speedbar-buffers-line-directory, speedbar-buffer-click):
13656 Mark unused parameters.
13657 (speedbar-tag-file): Remove unused variable `mode'.
13658 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13659
13660 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13661
13662 * talk.el (talk): Remove unused variable `display'.
13663
13664 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13665 (tar-write-region-annotate): Mark unused parameter.
13666
13667 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13668 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13669 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13670 warning by another.
13671
13672 * time-stamp.el (time-stamp-string-preprocess):
13673 Remove unused variable `require-padding'.
13674
13675 * tree-widget.el (widget-glyph-enable): Declare.
13676 (tree-widget-action): Mark unused parameter.
13677
13678 * w32-fns.el (x-get-selection): Mark unused parameter.
13679 (autoload-make-program, generated-autoload-file): Declare.
13680
13681 * wdired.el (wdired-revert): Mark unused parameters.
13682 (wdired-xcase-word): Remove unused variable `err'.
13683
13684 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13685 (whitespace-help-scroll): Remove unused variable `data-help'.
13686
13687 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13688 (widget-image-insert, widget-after-change, default)
13689 (widget-default-format-handler, widget-default-notify)
13690 (widget-default-prompt-value, widget-info-link-action)
13691 (widget-url-link-action, widget-function-link-action)
13692 (widget-variable-link-action, widget-file-link-action)
13693 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13694 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13695 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13696 (widget-insert-button-action, widget-delete-button-action, visibility)
13697 (widget-documentation-link-action, widget-documentation-string-action)
13698 (widget-const-prompt-value, widget-regexp-match, symbol)
13699 (widget-coding-system-prompt-value)
13700 (widget-key-sequence-value-to-external, sexp)
13701 (widget-sexp-value-to-internal, character, vector, cons)
13702 (widget-choice-prompt-value, widget-boolean-prompt-value)
13703 (widget-color--choose-action): Mark unused parameters.
13704 (widget-item-match-inline, widget-choice-match-inline)
13705 (widget-checklist-match, widget-checklist-match-inline)
13706 (widget-group-match): Rename parameter VALUES to VALS.
13707 (widget-field-value-set): Remove unused variable `size'.
13708 (widget-color-action): Remove unused variables `value' and `start'.
13709
13710 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13711 variable `dir'. Doc fix.
06b60517
JB
13712 (windmove-find-other-window): Don't pass it.
13713
13714 * window.el (count-windows): Mark unused parameter.
13715 (bw-adjust-window): Remove unused variable `err'.
13716
13717 * woman.el (woman-file-name): Remove unused variable `default'.
13718 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13719 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13720 (global-font-lock-mode): Declare.
13721 (woman-decode-region): Mark unused parameter.
13722 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13723
13724 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13725 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13726 (x-dnd-handle-moz-url): Remove unused variable `title'.
13727 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13728
13729 * xml.el (xml-parse-tag, xml-parse-attlist):
13730 Remove unused variable `pos'.
13731
bc4f7f3d
GM
137322011-04-19 Glenn Morris <rgm@gnu.org>
13733
13734 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13735 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13736 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13737 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13738 * calendar/cal-html.el (cal-html-insert-minical):
13739 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13740 (calendar-mark-date-pattern):
13741 Prefix "unused" locals.
13742
13743 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13744 optional argument `style'.
13745
13746 * calendar/appt.el (appt-make-list):
13747 * calendar/cal-china.el (calendar-chinese-date-string):
13748 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13749 (diary-hebrew-yahrzeit):
13750 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13751 * calendar/calendar.el (calendar-generate-window):
13752 * calendar/time-date.el (time-to-days):
13753 Remove unused local variables.
13754
16a43933
CY
137552011-04-18 Chong Yidong <cyd@stupidchicken.com>
13756
13757 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13758 glyphless-char-display table.
13759 (tabulated-list-glyphless-char-display): New var.
13760
7eed1860
SS
137612011-04-18 Sam Steingold <sds@gnu.org>
13762
13763 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13764 to acknowledgments.
13765
4d2d1ccd
GM
137662011-04-17 Glenn Morris <rgm@gnu.org>
13767
13768 * calendar/diary-lib.el (diary-sexp-entry):
13769 * calendar/holidays.el (holiday-sexp):
13770 Set debug-on-error rather than the removed stack-trace-on-error.
13771
239da61d
GM
137722011-04-16 Glenn Morris <rgm@gnu.org>
13773
13774 * progmodes/f90.el: Use lexical-binding.
13775 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13776
8b05752a
SM
137772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13778
daca8ba5
SM
13779 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13780 (mail-mode): Setup mailalias completion here instead.
13781 * mail/mailalias.el: Use lexical-binding.
13782 (pattern, mailalias-done): Declare dynamic.
13783 (mail-completion-at-point-function): New function, from mail-complete.
13784 (mail-complete): Use it.
13785 (mail-completion-expand): New function.
13786 (mail-get-names): Use it.
13787 (mail-directory, mail-directory-process, mail-directory-stream):
13788 Don't use `pattern' for lexically bound arg.
13789
6f542485
SM
13790 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13791
037e7c3f
SM
13792 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13793 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13794 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13795
8b05752a
SM
13796 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13797 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13798 (byte-interactive-p): Define them again, for use when inlining
13799 old code.
13800
49093f60
JB
138012011-04-15 Juanma Barranquero <lekktu@gmail.com>
13802
13803 * loadup.el: Use `string-to-number', not `string-to-int'.
13804
b5b8e7de
SM
138052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13806
13807 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13808 gud-gdb-complete-command.
13809 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13810 (gud-gdb-completion-at-point): New function.
13811 (gud-gdb-completions): Remove.
13812
f42efeb5
MA
138132011-04-14 Michael Albinus <michael.albinus@gmx.de>
13814
49093f60
JB
13815 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13816 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13817 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13818 whether `executable-find' is bound.
f42efeb5
MA
13819
13820 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13821
e240cc21
SM
138222011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13823
13824 * minibuffer.el (completion-in-region-mode-predicate)
13825 (completion-in-region-mode--predicate): New vars.
13826 (completion-in-region, completion-in-region--postch)
13827 (completion-in-region-mode): Use them.
13828 (completion--capf-wrapper): Also return the hook function.
13829 (completion-at-point, completion-help-at-point):
13830 Adjust and provide a predicate.
c2bd2ab0
SM
13831
13832 Preserve arg names for advice of subr and lexical functions (bug#8457).
13833 * help-fns.el (help-function-arglist): Consolidate the subr and
13834 new-byte-code cases. Add argument `preserve-names' to extract names
13835 from the docstring when needed.
13836 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13837 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13838 (ad-arglist): Use help-function-arglist's new arg.
13839 (ad-definition-type): Use cond.
13840
c183f693
JB
138412011-04-13 Juanma Barranquero <lekktu@gmail.com>
13842
06641a47
JB
13843 * autorevert.el (auto-revert-handler):
13844 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13845 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13846 Don't quote lambda.
13847
c183f693
JB
13848 * image-mode.el (image-transform-set-scale):
13849 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13850
1e3b6001
G
138512011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13852
13853 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13854 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13855 Upgrades via gnutls-cli are too slow to be done opportunistically.
13856
2d6af8dd
JB
138572011-04-12 Juanma Barranquero <lekktu@gmail.com>
13858
13859 * dframe.el (dframe-current-frame): Remove spurious quote.
13860
c0749a51
GM
138612011-04-12 Glenn Morris <rgm@gnu.org>
13862
088d0d61
GM
13863 * calendar/cal-tex.el (cal-tex-end-document):
13864 Try to automatically use latin1 input if needed.
13865
c0749a51
GM
13866 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13867 Don't try to cons a mark onto an empty element.
13868
5c90fde0
LL
138692011-04-11 Leo Liu <sdl.web@gmail.com>
13870
13871 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13872 buffers.
13873 (ido-kill-buffer-at-head): Support killing virtual buffers.
13874
369e974d
CY
138752011-04-10 Chong Yidong <cyd@stupidchicken.com>
13876
13877 * minibuffer.el (completion-show-inline-help): New var.
13878 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13879 (minibuffer-force-complete, minibuffer-complete-word):
13880 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13881
13882 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13883 to avoid interference from inline help (Bug#5849).
13884
37f1c930
LL
138852011-04-10 Leo Liu <sdl.web@gmail.com>
13886
099c39a4
JB
13887 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13888 Fix typo.
37f1c930 13889
a32d4040
CY
138902011-04-09 Chong Yidong <cyd@stupidchicken.com>
13891
13892 * image-mode.el (image-toggle-display-image): Signal an error if
13893 not in Image mode.
13894 (image-transform-mode, image-transform-resize)
13895 (image-transform-set-rotation): Doc fix.
daca8ba5 13896 (image-transform-set-resize): Delete.
a32d4040
CY
13897 (image-transform-set-scale, image-transform-fit-to-height)
13898 (image-transform-fit-to-width): Handle image-toggle-display-image
13899 and image-transform-resize directly.
13900
099c39a4 139012011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13902
13903 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13904 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13905 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13906 (doc-view-mode-map): Add bindings for the new functions.
13907
099c39a4 139082011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13909
4d61f28d 13910 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13911 Fix typo in docstring.
13912
3726838a
EZ
139132011-04-08 Eli Zaretskii <eliz@gnu.org>
13914
04f33f1e
EZ
13915 * files.el (file-size-human-readable): Produce one digit after
13916 decimal, like "ls -lh" does.
13917
13918 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13919 the file size representation.
13920
3726838a
EZ
13921 * simple.el (list-processes): If async subprocesses are not
13922 available, error out with a clear error message.
13923
cbb59342
CY
139242011-04-08 Chong Yidong <cyd@stupidchicken.com>
13925
13926 * help.el (help-form-show): New function, to be called from C.
13927 Put help-form output in a buffer named differently than *Help*.
13928
e3971c44
EZ
139292011-04-08 Eli Zaretskii <eliz@gnu.org>
13930
13931 * files.el (file-size-human-readable): New function.
13932
13933 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13934 computing the representation inline. Don't require `cl'.
13935
12544bbe
GM
139362011-04-08 Glenn Morris <rgm@gnu.org>
13937
a1de6c6a
GM
13938 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13939
3c4671f4
GM
13940 * net/browse-url.el (browse-url-firefox):
13941 Test system-type, not system-configuration.
13942
b605679c
GM
13943 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13944 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13945 Use log-edit-empty-buffer-p. (Bug#7598)
13946
56442f0c
GM
13947 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13948 (rlogin-mode-map): Initialize in the defvar.
13949 (rlogin): Use ignore-errors.
13950
12544bbe
GM
13951 * replace.el (occur-mode-map): Some fixes for menu items.
13952
eb237b0f
AH
139532011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13954
13955 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13956
7d668f2c
CY
139572011-04-06 Chong Yidong <cyd@stupidchicken.com>
13958
e67a13ab
CY
13959 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13960 issuing unused warnings.
13961
13962 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13963 macro directly.
13964
7d668f2c
CY
13965 * simple.el: Lisp reimplement of list-processes. Based on an
13966 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13967 (process-menu-mode): New major mode.
13968 (list-processes--refresh, list-processes):
13969 (process-menu-visit-buffer): New functions.
13970
13971 * files.el (save-buffers-kill-emacs): Don't assume any return
13972 value of list-processes, which is undocumented anyway.
13973
a83ec3c9
CY
139742011-04-06 Chong Yidong <cyd@stupidchicken.com>
13975
13976 * emacs-lisp/tabulated-list.el: New file.
13977
e91a96fe
CY
13978 * emacs-lisp/package.el: Use Tabulated List mode.
13979 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13980 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13981 table format using Tabulated List mode variables.
13982 (package--push): New macro, replacing package-list-maybe-add.
13983 (package-menu--generate): Use package--push. Renamed from
13984 package--generate-package-list.
13985 (package-menu-refresh, list-packages): Use it.
daca8ba5 13986 (package-menu--print-info): Rename from package-print-package.
e91a96fe 13987 Return insertion data instead of inserting it directly.
099c39a4
JB
13988 (package-menu-describe-package, package-menu-execute):
13989 Use tabulated-list-get-id.
e91a96fe
CY
13990 (package-menu-mark-delete, package-menu-mark-install)
13991 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
13992 (package-menu-mark-obsolete-for-deletion):
13993 Use tabulated-list-put-tag.
e91a96fe
CY
13994 (package--list-packages, package-menu-revert)
13995 (package-menu-get-package, package-menu-get-version)
13996 (package-menu-sort-by-column): Functions deleted.
13997 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13998 (package-menu--status-predicate, package-menu--version-predicate)
13999 (package-menu--name-predicate)
14000 (package-menu--description-predicate): Handle arguments in the
14001 Tabulated List format.
14002 (package-list-packages-no-fetch): Call list-packages.
14003
3e214b50
JB
140042011-04-06 Juanma Barranquero <lekktu@gmail.com>
14005
14006 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14007 (after-find-file): Don't bind it.
3e214b50
JB
14008 (revert-buffer-in-progress-p): New variable.
14009 (revert-buffer): Bind it.
14010 Pass nil for `after-find-file-from-revert-buffer'.
14011
14012 * saveplace.el (save-place-find-file-hook): Use new variable
14013 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14014
3f0f1700
GM
140152011-04-06 Glenn Morris <rgm@gnu.org>
14016
c0274801
GM
14017 * Makefile.in (AUTOGEN_VCS): New variable.
14018 (autoloads): Use $AUTOGEN_VCS.
14019
3f0f1700
GM
14020 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14021 * calendar/calendar.el (calendar-mode-map):
14022 Check for toolkit scroll bars. (Bug#8305)
14023
41ea9e48
CY
140242011-04-05 Chong Yidong <cyd@stupidchicken.com>
14025
14026 * minibuffer.el (completion-in-region--postch)
14027 (completion-in-region-mode): Remove unnecessary messages.
14028
6194c800
JB
140292011-04-05 Juanma Barranquero <lekktu@gmail.com>
14030
33256f14
JB
14031 * font-lock.el (font-lock-refresh-defaults):
14032 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14033 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14034
6194c800
JB
14035 * info.el (Info-directory-list, Info-read-node-name-2)
14036 (Info-split-parameter-string): Doc fixes.
14037 (Info-virtual-nodes): Reflow docstring.
14038 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14039 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14040 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14041 Fix typos in docstrings.
14042 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14043 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14044 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14045 (Info-restore-desktop-buffer): Mark unused parameters.
14046 (Info-directory-find-file, Info-directory-find-node)
14047 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14048 (Info-virtual-index-find-node, Info-apropos-find-file)
14049 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14050 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14051 (Info-virtual-index): Remove unused local variable `nodename'.
14052
b87a8200 140532011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14054
b87a8200
DD
14055 * net/rcirc.el: Update my e-mail address.
14056 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14057
3b2ff876
CY
140582011-04-05 Chong Yidong <cyd@stupidchicken.com>
14059
14060 * startup.el (command-line): Save the cursor's theme-face
14061 directly, instead of using face-override-spec.
14062
14063 * custom.el (load-theme): Minor optimization in assigning faces.
14064
8d17e7ca
JB
140652011-04-04 Juanma Barranquero <lekktu@gmail.com>
14066
14067 * help-fns.el (describe-variable): Complete all variables having
14068 documentation, including keywords.
14069 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14070
2fbc1934
JB
140712011-04-04 Juanma Barranquero <lekktu@gmail.com>
14072
14073 Convert to lexical-binding.
14074
14075 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14076 (bs--get-marked-string, bs--get-modified-string)
14077 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14078 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14079 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14080
14081 * ehelp.el (electric-help-execute-extended)
14082 (electric-help-ctrl-x-prefix):
14083 * hexl.el (hexl-revert-buffer-function):
14084 * linum.el (linum-after-change, linum-after-scroll):
14085 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14086
14087 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14088
74f50695
DU
140892011-04-04 Daiki Ueno <ueno@unixuser.org>
14090
14091 * epa-dired.el:
14092 * epa-mail.el:
14093 * epa-hook.el:
14094 * epa-file.el:
14095 * epa.el:
14096 * epg.el: Use lexical binding.
14097
c11325f7
CY
140982011-04-03 Chong Yidong <cyd@stupidchicken.com>
14099
0d9e9a12
CY
14100 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14101
c11325f7 14102 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14103 dictionary case for flyspell-mark-duplications-exceptions.
14104 Use regexp matching for languages.
c11325f7
CY
14105 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14106 default dictionary (Bug#7926).
14107
da91b5f2
CY
141082011-04-02 Chong Yidong <cyd@stupidchicken.com>
14109
099c39a4
JB
14110 * emacs-lisp/package.el (package--with-work-buffer):
14111 Recognize https URLs.
da91b5f2 14112
099c39a4
JB
14113 * net/network-stream.el: Move from gnus/proto-stream.el.
14114 Change prefix to network-stream throughout.
da91b5f2
CY
14115 (open-protocol-stream): Merge into open-network-stream, leaving
14116 open-protocol-stream as an alias. Handle nil BUFFER args.
14117
14118 * subr.el (open-network-stream): Move to net/network-stream.el.
14119
afa8e9f6
GM
141202011-04-02 Glenn Morris <rgm@gnu.org>
14121
1d2e369d
GM
14122 * find-dired.el (find-exec-terminator): New option.
14123 (find-ls-option): Test for -ls support.
14124 (find-ls-subdir-switches): Test for -b in find-ls-option.
14125 (find-dired, find-grep-dired): Doc fixes.
14126 (find-dired): Use find-exec-terminator.
14127
8abb7da8 14128 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14129 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14130 (find-name-arg): Remove purecopy.
8abb7da8 14131
f3ca7378
GM
14132 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14133 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14134 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14135 accordingly. Don't add the null-device if not needed.
14136
afa8e9f6
GM
14137 * files.el (save-some-buffers): Doc fix.
14138
35eae264
EZ
141392011-04-02 Eli Zaretskii <eliz@gnu.org>
14140
14141 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14142
26b51db5
JB
141432011-04-01 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14146 Use `dolist' rather than `mapcar'.
14147
7200d79c
SM
141482011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14149
03408648 14150 Add lexical binding.
7200d79c 14151
03408648
SM
14152 * subr.el (apply-partially): Use new closures rather than CL.
14153 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14154 (dolist, dotimes): Use slightly different expansion for lexical code.
14155 (functionp): Move to C.
14156 (letrec): New macro.
14157 (with-wrapper-hook): Use it and apply-partially instead of CL.
14158 (eval-after-load): Preserve lexical-binding.
14159 (save-window-excursion, with-output-to-temp-buffer): Turn them
14160 into macros.
7200d79c 14161
03408648
SM
14162 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14163
14164 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14165 than the arglist.
14166 (help-add-fundoc-usage): Don't add `Not documented'.
14167 (help-function-arglist): Handle closures, subroutines, and new
14168 byte-code-functions.
14169 (help-make-usage): Remove leading underscores.
14170 (describe-function-1): Handle closures.
14171 (describe-variable): Use special-variable-p for completion.
14172
14173 * files.el (lexical-binding): Declare safe.
f488fb65 14174
03408648
SM
14175 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14176 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14177 (pcase): Add `let' pattern.
14178 Change memoization so it actually works.
14179 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14180 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14181 <let>: New case.
f488fb65 14182
03408648
SM
14183 * emacs-lisp/macroexp.el: Use lexical binding.
14184 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14185 Don't convert ' to #' without checking that it's indeed quoting
14186 a lambda.
14187
14188 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14189 Use eval-sexp-add-defvars.
03408648
SM
14190 (eval-sexp-add-defvars): New fun.
14191
14192 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14193
14194 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14195 Don't autoload.
14196 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14197 than the internal `byte-compile-lambda'.
14198 (defmethod): Don't hide code under quotes.
14199 (eieio-defmethod): New `code' argument.
14200
14201 * emacs-lisp/eieio-comp.el: Remove.
14202
14203 * emacs-lisp/edebug.el (edebug-eval-defun)
14204 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14205 (edebug-toggle): Avoid `eval'.
14206
14207 * emacs-lisp/disass.el (disassemble-internal): Handle new
14208 `closure' objects.
14209 (disassemble-1): Handle new byte codes.
14210
14211 * emacs-lisp/cl.el (pushnew): Silence warning.
14212
14213 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14214 (cl-byte-compile-throw): Remove.
14215 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14216
14217 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14218 closures.
14219
14220 * emacs-lisp/cconv.el: New file.
14221
14222 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14223 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14224 (byte-compile-initial-macro-environment):
14225 Handle declare-function here.
14226 (byte-compile--lexical-environment): New var.
14227 (byte-stack-ref, byte-stack-set, byte-discardN)
14228 (byte-discardN-preserve-tos): New lap codes.
14229 (byte-interactive-p): Don't use any more.
14230 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14231 New macros.
14232 (byte-compile-lapcode): Use them and handle new lap codes.
14233 (byte-compile-obsolete): Remove.
14234 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14235 (byte-compile-arglist-warn): Check late def of inlinable funs.
14236 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14237 since they should have been expanded by now.
14238 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14239 (byte-compile-from-buffer): Remove unused second arg.
14240 (byte-compile-preprocess): New function.
14241 (byte-compile-toplevel-file-form): New function to distinguish
14242 file-form calls from outside from file-form calls from hunk-handlers.
14243 (byte-compile-file-form): Simplify.
14244 (byte-compile-file-form-defsubst): Remove.
14245 (byte-compile-file-form-defmumble): Simplify now that
14246 byte-compile-lambda always returns a byte-code-function.
14247 (byte-compile): Preprocess.
14248 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14249 Remove, not used any more.
14250 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14251 (byte-compile-make-args-desc): New funs.
14252 (byte-compile-lambda): Handle lexical functions. Always return
14253 a byte-code-function.
14254 (byte-compile-reserved-constants): New var, to make up room for
14255 closed-over variables.
14256 (byte-compile-constants-vector): Obey it.
14257 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14258 (byte-compile-macroexpand-declare-function): New function.
14259 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14260 byte-code-functions.
14261 (byte-compile-form): Check obsolescence here.
14262 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14263 (byte-compile-variable-ref): Remove.
14264 (byte-compile-dynamic-variable-op): New fun.
14265 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14266 (byte-compile-variable-set): New funs.
14267 (byte-compile-discard): Add 2 args.
14268 (byte-compile-stack-ref, byte-compile-stack-set)
14269 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14270 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14271 macroexpand-all instead.
14272 (byte-compile-quote-form): Remove.
14273 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14274 (byte-compile-bind, byte-compile-unbind): New funs.
14275 (byte-compile-let): Handle let* and lexical binding.
14276 (byte-compile-let*): Remove.
14277 (byte-compile-catch, byte-compile-unwind-protect)
14278 (byte-compile-track-mouse, byte-compile-condition-case):
14279 Handle a new :fun-body form, used for lexical scoping.
14280 (byte-compile-save-window-excursion)
14281 (byte-compile-with-output-to-temp-buffer): Remove.
14282 (byte-compile-defun): Simplify.
14283 (byte-compile-stack-adjustment): New fun.
14284 (byte-compile-out): Use it.
14285 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14286
14287 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14288 handler any more.
14289
14290 * emacs-lisp/byte-opt.el: Use lexical binding.
14291 (byte-inline-lapcode): Remove (to bytecomp).
14292 (byte-compile-inline-expand): Pay attention to inlining to/from
14293 lexically bound code.
14294 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14295 any more.
14296 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14297 any more and don't call compiler-macros.
14298 (byte-compile-splice-in-already-compiled-code): Remove.
14299 (byte-code): Don't inline any more.
14300 (disassemble-offset): Receive `bytes' as argument rather than via
14301 dynamic scoping.
14302 (byte-compile-tag-number): Declare before first use.
14303 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14304 `return' even if make-spliceable.
14305 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14306 obsolete interactive-p.
14307 (byte-optimize-lapcode): Optimize new lap-codes.
14308 Don't trip up on new form of `byte-constant' lap code.
14309
14310 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14311
14312 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14313
14314 * custom.el (custom-initialize-default, custom-declare-variable):
14315 Use `defvar'.
14316
14317 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14318 New variables.
14319 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14320 (COMPILE_FIRST): Add macroexp and cconv.
14321 * makefile.w32-in: Mirror changes in Makefile.in.
14322
14323 * vc/cvs-status.el:
14324 * vc/diff-mode.el:
14325 * vc/log-edit.el:
14326 * vc/log-view.el:
14327 * vc/smerge-mode.el:
14328 * textmodes/bibtex-style.el:
14329 * textmodes/css.el:
14330 * startup.el:
14331 * uniquify.el:
da91b5f2
CY
14332 * minibuffer.el:
14333 * newcomment.el:
14334 * reveal.el:
14335 * server.el:
14336 * mpc.el:
14337 * emacs-lisp/smie.el:
14338 * doc-view.el:
14339 * dired.el:
03408648
SM
14340 * abbrev.el: Use lexical binding.
14341
0f0c1f27
EZ
143422011-04-01 Eli Zaretskii <eliz@gnu.org>
14343
14344 * info.el (info-display-manual): New function.
14345
c82b2579
SM
143462011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14347
14348 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14349
221ddf68
TH
143502011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14351
14352 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14353 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14354
cba6e77e
GM
143552011-03-31 Glenn Morris <rgm@gnu.org>
14356
e040639f
GM
14357 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14358
cba6e77e
GM
14359 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14360
6d0f1c9e
CS
143612011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14362
14363 * progmodes/python.el (python-default-interpreter)
14364 (python-python-command-args, python-jython-command-args)
14365 (python-which-shell, python-which-args, python-which-bufname)
14366 (python-file-queue, python-comint-output-filter-function)
14367 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14368 variables and functions.
14369
3e2d70fd
SM
143702011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14371
14372 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14373 (completion-in-region-mode): New minor mode.
14374 (completion-in-region): Use it.
14375 (completion-in-region--data, completion-in-region-mode-map): New vars.
14376 (completion-in-region--postch): New function.
14377 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14378 New vars.
14379 (completion--capf-wrapper): New function.
14380 (completion-at-point): Use it to track well-behavedness of
14381 hook functions.
14382 (completion-help-at-point): New command.
14383
f3e4086c
JM
143842011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14385
14386 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14387 syntax class to search for whitespace on a single line
14388 (Message-ID: <4D938140.4030905@redhat.com>).
14389
eb7ffc14
LL
143902011-03-30 Leo Liu <sdl.web@gmail.com>
14391
14392 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14393 New commands.
14394 (edit-abbrevs-map): Bind them here.
14395 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14396
d806ab68
KM
143972011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14398
14399 * allout.el (allout-hide-by-annotation, allout-flag-region):
14400 Reduce possibility of overlay leakage by making them volatile.
14401
14402 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14403 hash is not shared between buffers. Mode initialization is
14404 responsible for giving it a useful starting value.
14405 (allout-item-span): Reduce possibility of overlay leakage by
14406 making them volatile.
14407 (allout-widgets-count-buttons-in-region): Add diagnostic function
14408 for tracking down button overlay leaks.
14409
ea622834
LL
144102011-03-29 Leo Liu <sdl.web@gmail.com>
14411
14412 * ido.el (ido-read-internal): Use the default history var
14413 minibuffer-history if no HISTORY is specified.
14414
b62f8267
G
144152011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14416
03408648
SM
14417 * net/imap.el (imap-shell-open, imap-process-connection-type):
14418 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14419 Kerberos, SSL, other subprocesses.
14420
947b6566
LL
144212011-03-28 Leo Liu <sdl.web@gmail.com>
14422
14423 * abbrev.el (abbrev-table-empty-p): New function.
14424 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14425 nonempty ones. (Bug#5937)
14426
5ffb62aa
JD
144272011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14428
14429 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14430
7a097943
LL
144312011-03-27 Leo Liu <sdl.web@gmail.com>
14432
14433 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14434 for foreground and background colors.
14435 (ansi-color-make-color-map): Adapt.
14436
c5b40130
LL
144372011-03-25 Leo Liu <sdl.web@gmail.com>
14438
1f48f7d2
LL
14439 * midnight.el (midnight-time-float): Remove. Note it calculates
14440 the microsecond component incorrectly and seconds-to-time does the
14441 same job.
625897ec 14442 Remove redundant (require 'timer).
1f48f7d2 14443
c5b40130
LL
14444 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14445 (ido-completions): Remove unused arguments. (Bug#8329)
14446
d86d2721
SM
144472011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14448
14449 * minibuffer.el (completion--flush-all-sorted-completions):
14450 Remove itself from hook.
14451 (completion-at-point): Let the functions perform the completion
14452 immediately and return nil or t.
14453 * comint.el (comint-dynamic-complete-functions): Now identical to
14454 completion-at-point-functions.
14455 (comint-dynamic-list-input-ring): Remove unused var `index'.
14456 (comint--match-partial-filename, comint--unquote&expand-filename):
14457 New funs, split from comint-match-partial-filename.
14458 (comint-dynamic-complete): Use completion-at-point.
14459 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14460
e8974c48
DA
144612011-03-24 Drew Adams <drew.adams@oracle.com>
14462
14463 * thingatpt.el: Support `defun'.
14464
def71b5e
LL
144652011-03-23 Leo Liu <sdl.web@gmail.com>
14466
cb5af48e
LL
14467 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14468
def71b5e
LL
14469 * help-mode.el (help-mode-finish): Tweak regexp.
14470
927c53e7
GM
144712011-03-23 Glenn Morris <rgm@gnu.org>
14472
18d05bed
GM
14473 * eshell/esh-opt.el (eshell-eval-using-options):
14474 Do not bind unused local variable `eshell-option-stub'.
14475
927c53e7
GM
14476 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14477
9d0da923
JB
144782011-03-22 Juanma Barranquero <lekktu@gmail.com>
14479
14480 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14481 keymap variable in `with-no-warnings' to avoid a warning when the
14482 keymap has been already `defconst'ed.
14483
4b978a67
LL
144842011-03-22 Leo Liu <sdl.web@gmail.com>
14485
14486 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14487 encode all chars in abbrevs; otherwise use emacs-mule or
14488 utf-8-emacs. (Bug#8308)
14489
5fd62452
JB
144902011-03-22 Juanma Barranquero <lekktu@gmail.com>
14491
0b1596c6
JB
14492 * simple.el (backward-delete-char-untabify):
14493 Avoid warning about using `delete-backward-char'.
14494
5fd62452
JB
14495 * image.el (image-type-file-name-regexps): Make it variable.
14496 `imagemagick-register-types' modifies it, and the user may want
14497 to add new extensions for known image types.
14498 (imagemagick-register-types): Throw error if not using ImageMagick.
14499
0b4e93f1
LL
145002011-03-22 Leo Liu <sdl.web@gmail.com>
14501
14502 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14503 located before rcirc-prompt-end-marker.
14504 (rcirc-complete): Error if point is not after rcirc prompt.
14505 Handle the case when table is nil.
9882e214 14506 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14507
fccee4ab
CY
145082011-03-22 Chong Yidong <cyd@stupidchicken.com>
14509
14510 * custom.el (custom--inhibit-theme-enable): Make it affect only
14511 custom-theme-set-variables and custom-theme-set-faces.
14512 (provide-theme): Ignore custom--inhibit-theme-enable.
14513 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14514 (custom-enabling-themes): Delete variable.
d86d2721
SM
14515 (enable-theme): Accept only loaded themes as arguments.
14516 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14517 (custom-enabled-themes): Forbid themes from setting this.
14518 Eliminate use of custom-enabling-themes.
14519 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14520
af896da6
LL
145212011-03-21 Leo Liu <sdl.web@gmail.com>
14522
14523 * ido.el (ido-read-internal): Add ido-selected to history instead
14524 of user input.
14525
78f64af0
SM
145262011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * subr.el (deferred-action-list, deferred-action-function):
14529 Mark obsolete.
14530
b16ac1ec
LL
145312011-03-21 Leo Liu <sdl.web@gmail.com>
14532
810f7698
LL
14533 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14534 change on 2011-02-13 (bug#8309).
14535
b16ac1ec
LL
14536 * minibuffer.el (read-file-name-function): Change default value.
14537 (read-file-name--defaults): Rename from read-file-name-defaults.
14538 (read-file-name-default): Rename from read-file-name.
14539 (read-file-name): Call read-file-name-function.
14540
4e05e67e
GM
145412011-03-21 Glenn Morris <rgm@gnu.org>
14542
14543 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14544 Doc fixes.
14545
4359915b
CY
145462011-03-21 Chong Yidong <cyd@stupidchicken.com>
14547
14548 * cus-theme.el: Add missing provide statement.
14549 (customize-create-theme): Extract theme value correctly.
14550 (custom-theme-visit-theme): Autoload.
14551 (customize-create-theme): Prompt before inserting default faces.
14552
1fe275ee
JB
145532011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14554
14555 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14556 units and musical notes.
14557
cd394be1 145582011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14559
14560 * ido.el (ido-read-internal): Use completing-read-default.
14561 (ido-completing-read): Fix compatibility with completing-read.
14562
7d476bde
CO
145632011-03-20 Christian Ohler <ohler@gnu.org>
14564
14565 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14566 (ert-delete-all-tests): Use `called-interactively-p' rather than
14567 `interactive-p'.
14568 (ert--make-xrefs-region): Respect END.
14569
fe0fb33e
CY
145702011-03-19 Chong Yidong <cyd@stupidchicken.com>
14571
ff854b0b
CY
14572 * dired-aux.el (dired-create-directory): Signal an error if the
14573 directory already exists (Bug#8246).
14574
fe0fb33e
CY
14575 * facemenu.el (list-colors-display): Call list-faces-display
14576 inside with-help-window.
14577 (list-colors-print): Use display property to align the final
14578 column, instead of checking window-width.
14579
576bce32
EZ
145802011-03-19 Eli Zaretskii <eliz@gnu.org>
14581
4d61f28d 14582 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14583 windows-nt systems.
14584 (emerge-protect-metachars): Quote correctly for ms-dos and
14585 windows-nt systems.
14586
89c41d68 145872011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14588
14589 * info.el (info-initialize): Replace all uses of `:' with
14590 path-separator for compatibility with non-Unix systems.
14591 Cache quoting of path-separator. (Bug#8258)
14592
b14e3e21 145932011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14594
14595 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14596 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14597 (mouse-avoidance-mode): Fix typos in docstrings.
14598
4525ce3e
CY
145992011-03-19 Chong Yidong <cyd@stupidchicken.com>
14600
14601 * startup.el (package-subdirectory-regexp): Move from package.el.
14602 Omit \\` and \\', and let callers add them.
14603
14604 * emacs-lisp/package.el (package-strip-version)
14605 (package-load-all-descriptors): Add \\` and \\' to
14606 package-subdirectory-regexp before using it.
14607 (package-untar-buffer): New arg DIR; ensure that file untars only
14608 into this expected directory. Remove superfluous delete-region.
14609 (package-unpack): Caller changed.
14610 (package-tar-file-info): Use package-subdirectory-regexp.
14611
a904a09a 146122011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14613
a904a09a
SM
14614 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14615 diff-mode-shared-map (bug#8284).
14616 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14617
146182011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14619
14620 * calendar/time-date.el (format-seconds): Use assoc instead of
14621 assoc-string, since assoc-string doesn't exist in XEmacs.
14622
171fc304
JB
146232011-03-17 Juanma Barranquero <lekktu@gmail.com>
14624
14625 * custom.el (custom-known-themes): Reflow docstring.
14626 (custom-theme-load-path): Fix typo in docstring.
14627 (load-theme): Fix typo in error message.
14628 (custom-available-themes, custom-variable-theme-value):
14629 Use `let', not `let*'.
14630
d71990a1
JB
146312011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14632
14633 * calc/README: Mention inclusion of musical notes.
14634
14635 * calc/calc-units.el (calc-lu-quant): Rename from
14636 `calc-logunits-quantity'.
14637 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14638 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14639 (calc-db): Rename from `calc-dblevel'.
14640 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14641 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14642 (calc-np): Rename from `calc-nplevel'.
14643 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14644 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14645 (calc-lu-plus): Rename from `calc-logunits-add'.
14646 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14647 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14648 (calc-lu-minus): Rename from `calc-logunits-sub'.
14649 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14650 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14651 (calc-lu-times): Rename from `calc-logunits-mul'.
14652 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14653 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14654 (calc-lu-divide): Rename from `calc-logunits-div'.
14655 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14656 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14657
14658 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14659 functions being autoloaded.
14660
14661 * calc/calc.el (calc-lu-power-reference): Rename from
14662 `calc-logunits-power-reference'.
14663 (calc-lu-field-reference): Rename from
14664 `calc-logunits-field-reference'.
14665
7a71b18d
GM
14666 * calc/calc-help.el (calc-l-prefix-help):
14667 Mention musical note functions.
d71990a1 14668
40c2934b
SM
146692011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * minibuffer.el (completion-all-sorted-completions):
14672 Use :completion-cycle-penalty text property if present.
14673
b0911414
KM
146742011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14675
14676 * allout.el (allout-yank-processing): Adjust for new rebulleting
14677 regime so bullet being yanked is used without prompting the user
14678 for a choice.
14679
8a05b668
JB
146802011-03-16 Juanma Barranquero <lekktu@gmail.com>
14681
14682 * startup.el (command-line): Warn the user that _emacs is deprecated.
14683
5ba5fb81
JB
146842011-03-16 Juanma Barranquero <lekktu@gmail.com>
14685
14686 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14687 (delphi-verbose, delphi-comment-face, delphi-string-face)
14688 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14689 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14690 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14691 (delphi-new-comment-line, delphi-font-lock-defaults)
14692 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14693 Fix typos in docstrings.
14694
2dab465b
KM
146952011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14696
5ba5fb81 14697 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14698 Invert the roles of character and string values for INSTEAD, so a
14699 string is used for the more common case of a defaulting prompt.
14700
0adf5618
SM
147012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14702
14703 * progmodes/ruby-mode.el (ruby-backward-sexp):
14704 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14705 * play/gamegrid.el (gamegrid-make-face):
14706 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14707 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14708 * notifications.el (notifications-notify):
14709 * net/xesam.el (xesam-search-engines):
14710 * net/quickurl.el (quickurl-list-insert):
14711 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14712
d72700e5
CY
147132011-03-15 Chong Yidong <cyd@stupidchicken.com>
14714
14715 * startup.el (command-line): Update package subdirectory regexp.
14716
49c5410a
SM
147172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14718
c6eee9aa
SM
14719 * allout.el (allout-abbreviate-flattened-numbering)
14720 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14721
49c5410a
SM
14722 * subr.el (read-char-choice): Only show the cursor after the prompt,
14723 not after the answer.
14724
047b2bb9
KR
147252011-03-15 Kevin Ryde <user42@zip.com.au>
14726
14727 * help-fns.el (variable-at-point): Skip leading quotes, if any
14728 (bug#8253).
14729
0a57d256
SM
147302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14733 warning message.
14734
77c992bc
MA
147352011-03-14 Michael Albinus <michael.albinus@gmx.de>
14736
14737 * shell.el (shell): When called interactively, offer to change the
14738 shell file name on remote hosts.
14739
eebc475d
TZ
147402011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14741
14742 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14743 integration for LDAP parameters. The host, base, user or binddn,
14744 and secret tokens can be specified in a netrc file, for instance.
14745 This is optional because an `auth-source' parameter must be
14746 specified in the search attributes.
14747
9d05d1ba
JB
147482011-03-13 Juanma Barranquero <lekktu@gmail.com>
14749
14750 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14751
09d9db2c
GM
147522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14753
14754 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14755 into declaration. Remove redundant and harmful binding.
14756
147572011-03-12 Eli Zaretskii <eliz@gnu.org>
14758
14759 * files.el (file-ownership-preserved-p): Pass `integer' as an
14760 explicit 2nd argument to `file-attributes'. If the file's owner
14761 is the Administrators group on Windows, and the current user is
14762 Administrator, consider that a match.
14763
14764 * server.el (server-ensure-safe-dir): Consider server directory
14765 safe on MS-Windows if its owner is the Administrators group while
14766 the current Emacs user is Administrator. Use `=' to compare
14767 numerical UIDs, since they could be integers or floats.
14768
219bd536
JB
147692011-03-12 Juanma Barranquero <lekktu@gmail.com>
14770
14771 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14772
f3afd36b
MA
147732011-03-12 Michael Albinus <michael.albinus@gmx.de>
14774
14775 Sync with Tramp 2.2.1.
14776
14777 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14778
14779 * net/trampver.el: Update release number.
14780
3aaaa6f1
SM
147812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14782
94642599
SM
14783 * progmodes/compile.el (compilation--previous-directory): Fix up
14784 various nil/dead-marker mismatches (bug#8014).
14785 (compilation-directory-properties, compilation-error-properties):
14786 Don't call it at a position past the one we're about to change.
14787
3aaaa6f1
SM
14788 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14789 Disable obsolescence warnings in the file that declares it.
14790
14239447
KM
147912011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14792
099c39a4
JB
14793 * allout-widgets.el (allout-widgets-tally):
14794 Initialize allout-widgets-tally as a hash table rather than nil to
14795 prevent mode-line redisplay warnings. Also, clarify the module
14796 description and fix a comment typo.
14239447 14797
135e287c
JB
147982011-03-11 Juanma Barranquero <lekktu@gmail.com>
14799
14800 * help-fns.el (describe-variable): Don't complete keywords.
14801 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14802
ffbf300e
CY
148032011-03-10 Chong Yidong <cyd@stupidchicken.com>
14804
ba08b241
CY
14805 * emacs-lisp/package.el (package-version-join): Impose a standard
14806 string representation for pre/alpha/beta version lists.
14807 (package-unpack-single): Standardize the directory name by passing
14808 it through package-version-join.
14809 (package-strip-rcs-id): Accept any version string that does not
14810 signal an error in version-to-list.
ffbf300e 14811
f346fd6b
MA
148122011-03-10 Michael Albinus <michael.albinus@gmx.de>
14813
14814 * simple.el (delete-trailing-whitespace): Return nil for the
14815 benefit of `write-file-functions'.
14816
ccb55d27
GM
148172011-03-10 Glenn Morris <rgm@gnu.org>
14818
5ceaac0c
GM
14819 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14820
02da65ff
GM
14821 * vc/vc-git.el (vc-git-program): New option.
14822 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14823 (vc-git--call): Use it.
14824
b2f603cc
GM
14825 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14826
5772caab
GM
14827 * cus-edit.el (Custom-newline): If no button at point, look
14828 for a subgroup button at start-of-line. (Bug#2298)
14829
ccb55d27
GM
14830 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14831
ec6ecaed
JD
148322011-03-10 Julien Danjou <julien@danjou.info>
14833
14834 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14835 `cursor-type' is nil.
14836
9d5aa01d
JB
148372011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14838
14839 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14840
b6a5875b
KM
148412011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14842
7a71b18d 14843 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14844 preserves the existing header prefix, rebulleting it if necessary,
14845 rather than replacing it. This is necessary for proper operation
14846 of cooperative addons like allout-widgets.
1154d12e
JB
14847 (allout-make-topic-prefix, allout-rebullet-heading):
14848 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14849 value as alternate bullet to be used, instead of prompting the user
14850 for a bullet character.
b6a5875b 14851
ee545c35
MA
148522011-03-09 Michael Albinus <michael.albinus@gmx.de>
14853
d86d2721
SM
14854 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14855 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14856 `tramp-default-port'.
14857
c47971d7
DD
148582011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14859
14860 * net/rcirc.el (rcirc-handler-001): Remove useless
14861 with-rcirc-process-buffer.
14862 (rcirc-check-auth-status): Swap arguments to string-match.
14863
13522cb4
GM
148642011-03-09 Glenn Morris <rgm@gnu.org>
14865
0be6f4f1
GM
14866 * shell.el (shell-mode):
14867 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14868
13522cb4
GM
14869 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14870 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14871
515de2e3
CY
148722011-03-08 Chong Yidong <cyd@stupidchicken.com>
14873
14874 * emacs-lisp/package.el (package-refresh-contents)
14875 (package-menu-execute): Use condition-case-no-debug.
14876
b511b994
MA
148772011-03-08 Michael Albinus <michael.albinus@gmx.de>
14878
14879 * simple.el (shell-command-to-string): Use `process-file'.
14880
14881 * emacs-lisp/package.el (package-tar-file-info): Handle also
14882 remote files.
14883
d86d2721
SM
14884 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14885 Use `equal' for upload base check.
b511b994 14886
25bbfb31
AM
148872011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14888
14889 * textmodes/texinfo.el (texinfo-environments):
14890 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14891
be996521
GM
148922011-03-08 Glenn Morris <rgm@gnu.org>
14893
e9c8529f
GM
14894 * cus-start.el (cursor-in-non-selected-windows):
14895 Fix :set quoting oddness. (Bug#8192)
14896
be996521
GM
14897 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14898 in some setf expressions. (Bug#2159)
14899
2bb5649e
CY
149002011-03-08 Chong Yidong <cyd@stupidchicken.com>
14901
14902 * custom.el (custom-available-themes): Return themes in
14903 alphabetical order.
14904
33383987 14905See ChangeLog.15 for earlier changes.
e3d51b27
MR
14906
14907;; Local Variables:
14908;; coding: utf-8
e3d51b27
MR
14909;; End:
14910
acaf905b 14911 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14912
14913 This file is part of GNU Emacs.
14914
14915 GNU Emacs is free software: you can redistribute it and/or modify
14916 it under the terms of the GNU General Public License as published by
14917 the Free Software Foundation, either version 3 of the License, or
14918 (at your option) any later version.
14919
14920 GNU Emacs is distributed in the hope that it will be useful,
14921 but WITHOUT ANY WARRANTY; without even the implied warranty of
14922 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14923 GNU General Public License for more details.
14924
14925 You should have received a copy of the GNU General Public License
14926 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.