* xfaces.c (face_for_overlay_string): Handle face remapping.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
1e48e282
EZ
12012-06-09 Eli Zaretskii <eliz@gnu.org>
2
3 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4
6175e34b
CY
52012-06-09 Chong Yidong <cyd@gnu.org>
6
7 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9 Doc fixes (Bug#11225).
10
d9857e53
SM
112012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
14 a function if there's a clear indication that it has a compiler-macro.
15 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
16 (macro-declarations-alist): Add arglist to declaration functions.
17 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
18 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
19 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
20 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
21 Also add autoload to find the compiler macro.
22 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
23 (cl--compiler-macro-member, cl--compiler-macro-assoc)
24 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
25 (cl--compiler-macro-get): New functions, replacing calls to
26 cl-define-compiler-macro.
27 (cl-typep) [compiler-macro]: Use macroexp-let².
28
f81298f8 292012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
30
31 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
32 string properly, fixes Bug#11473.
33
4b56d0fe
CY
342012-06-08 Chong Yidong <cyd@gnu.org>
35
36 * faces.el (set-face-attribute): Doc fix.
37 (modify-face): Don't use :bold and :italic.
38 (error, warning, success): Tweak definitions.
39
40 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
41 (custom-modified, custom-set, custom-changed, custom-themed)
42 (custom-saved, custom-button, custom-button-mouse)
43 (custom-button-pressed, custom-state, custom-comment-tag)
44 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
45 (custom-group-subtitle): Use new-style face specs.
46 (custom-invalid-face, custom-rogue-face, custom-modified-face)
47 (custom-set-face, custom-changed-face, custom-saved-face)
48 (custom-button-face, custom-button-pressed-face)
49 (custom-documentation-face, custom-state-face)
50 (custom-comment-face, custom-comment-tag-face)
51 (custom-variable-tag-face, custom-variable-button-face)
52 (custom-face-tag-face, custom-group-tag-face-1)
53 (custom-group-tag-face): Remove obsolete face alias.
54
55 * epa.el (epa-validity-high, epa-validity-medium)
56 (epa-validity-low, epa-mark, epa-field-name, epa-string)
57 (epa-field-name, epa-field-body):
58 * font-lock.el (font-lock-comment-face, font-lock-string-face)
59 (font-lock-keyword-face, font-lock-builtin-face)
60 (font-lock-function-name-face, font-lock-variable-name-face)
61 (font-lock-type-face, font-lock-constant-face):
62 * ido.el (ido-first-match, ido-only-match, ido-subdir)
63 (ido-virtual, ido-indicator, ido-incomplete-regexp):
64 * speedbar.el (speedbar-button-face, speedbar-file-face)
65 (speedbar-directory-face, speedbar-tag-face)
66 (speedbar-selected-face, speedbar-highlight-face)
67 (speedbar-separator-face):
68 * whitespace.el (whitespace-newline, whitespace-space)
69 (whitespace-hspace, whitespace-tab, whitespace-trailing)
70 (whitespace-line, whitespace-space-before-tab)
71 (whitespace-space-after-tab, whitespace-indentation)
72 (whitespace-empty):
73 * emulation/cua-base.el (cua-global-mark):
74 * eshell/em-prompt.el (eshell-prompt):
75 * net/newst-plainview.el (newsticker-new-item-face)
76 (newsticker-old-item-face, newsticker-immortal-item-face)
77 (newsticker-obsolete-item-face, newsticker-date-face)
78 (newsticker-statistics-face, newsticker-default-face):
79 * net/newst-reader.el (newsticker-feed-face)
80 (newsticker-extra-face, newsticker-enclosure-face):
81 * net/newst-treeview.el (newsticker-treeview-face)
82 (newsticker-treeview-new-face, newsticker-treeview-old-face)
83 (newsticker-treeview-immortal-face)
84 (newsticker-treeview-obsolete-face)
85 (newsticker-treeview-selection-face):
86 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
87 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
88 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
89 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
90 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
91 (nxml-outline-active-indicator, nxml-outline-ellipsis):
92 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
93 (mpuz-text):
94 * progmodes/vera-mode.el (vera-font-lock-number)
95 (vera-font-lock-function, vera-font-lock-interface):
96 * textmodes/table.el (table-cell): Use new-style face specs, and
97 don't use the old :bold and :italic attributes.
98
99 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
100 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
101 (ebrowse-member-class, ebrowse-progress): Likewise.
102 (ebrowse-tree-mark-face, ebrowse-root-class-face)
103 (ebrowse-file-name-face, ebrowse-default-face)
104 (ebrowse-member-attribute-face, ebrowse-member-class-face)
105 (ebrowse-progress-face): Remove obsolete faces.
106
107 * progmodes/flymake.el (flymake-errline, flymake-warnline):
108 Inherit from error and warning faces respectively.
109
110 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
111 Likewise.
112 (flyspell-incorrect-face, flyspell-duplicate-face): Remove
113 obsolete aliases.
114
03310646
MA
1152012-06-08 Michael Albinus <michael.albinus@gmx.de>
116
117 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
118 Avoid infloop.
119
513749ee
SM
1202012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
121
122 * startup.el (argv, argi): Make lexically scoped.
123 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
124 * emacs-lisp/cl-macs.el: Use lexical-binding.
125 Rename cl-bind-* to cl--bind-*.
126 * files.el: Don't require `cl' since it doesn't use it.
127 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
128
595ef4ad
JB
1292012-06-08 Juanma Barranquero <lekktu@gmail.com>
130
131 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
132 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
133 instead of calling external sort utility.
134 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
135
e9f66fcb
EZ
1362012-06-08 Eli Zaretskii <eliz@gnu.org>
137
138 * descr-text.el (describe-char): Mention how to insert the
139 character, if the current input method doesn't support it.
140 See the discussion in this thread for the details:
141 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
142
3d10db47
SS
1432012-06-08 Sam Steingold <sds@gnu.org>
144
145 * bindings.el (global-map): Bind XF86Forward to next-buffer and
146 XF86Back to previous-buffer.
147 (minibuffer-local-map): Bind them to next-history-element and
148 previous-history-element respectively.
149 * help-mode.el (help-mode-map): Bind them to help-go-forward and
150 help-go-back respectively.
151 * info.el (Info-mode-map): Bind them to Info-history-forward and
152 Info-history-back respectively.
153 These are the keys next to Up on the ThinkPad keyboard.
154
de7e2b36
SM
1552012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
158 * emacs-lisp/cl-macs.el: Provide itself.
159 (cl--labels-convert-cache): New var.
160 (cl--labels-convert): New function.
161 (cl-flet, cl-labels): New implementation with new semantics, relying on
162 lexical-binding.
163 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
164 (cl-closure-vars, cl--function-convert-cache)
165 (cl--function-convert): Move from cl-macs.el.
166 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
167 rename by removing the "cl-" prefix.
168 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
169
6fa6c4ae
SM
1702012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
173 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
174 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
175 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
176 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
177 (cl-hash-table-count): Add old compatibility aliases.
178
179 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
180 Use macroexpand-all-environment instead.
181 (cl--old-macroexpand): New var.
182 (cl--sm-macroexpand): New function.
183 (cl-symbol-macrolet): Use it during macro expansion.
184 (cl--function-convert-cache): New var.
185 (cl--function-convert): New function, extracted from
186 cl-macroexpand-all.
187 (cl-lexical-let): Use it.
188
189 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
190 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
191 (cl-member): Remove old alias.
192
193 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
194 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
195 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
196 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
197 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
198 (cl-macroexpand-cmacs): Remove var.
199 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
200 Use macroexpand-all instead.
201
4dd1c416
SM
2022012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
203
204 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
205 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
206 (macroexp-copyable-p): New functions and macros.
207 * emacs-lisp/edebug.el (edebug-unwrap):
208 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
209 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
210 (pcase--let*): Remove.
211 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
212 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
213 macroexp-const-p instead.
214 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
215
216 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
217 instead of "cl-" for internal definitions. Use macroexp-const-p.
218 (cl-old-bc-file-form): Remove var.
219 (cl-const-exprs-p): Remove fun.
220 (cl-labels, cl-macrolet): Use backquote.
221 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
222 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
223 (cl-define-setf-expander): Rename from cl-define-setf-method.
224 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
225
226 * international/mule-cmds.el: Don't require CL.
227 (view-hello-file): Don't use `letf'.
228
ed8bd4d7
SM
2292012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
230
7287f2f3
SM
231 * tmm.el (tmm-prompt): Use string-prefix-p.
232 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
233 (tmm-add-prompt): Use minibuffer-completion-help.
234 (tmm-delete-map): Remove.
235
ed8bd4d7
SM
236 * subr.el (kbd): Make it its own function.
237
7b4cdbf4
SM
2382012-06-07 Stefan Merten <smerten@oekonux.de>
239
240 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
241 Silence compiler warnings. Fix versions.
ed8bd4d7 242 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 243 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 244 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
245 (rst-package-emacs-version-alist): Correct Emacs version to
246 represent major merge with upstream.
ed8bd4d7 247 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 248
2b48d721
GM
2492012-06-06 Glenn Morris <rgm@gnu.org>
250
251 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
252 Only print environment variables if set.
253
fa779ab0
SM
2542012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
257 (macroexp--cons): Rename from maybe-cons.
258 (macroexp--accumulate): Rename from macroexp-accumulate.
259 (macroexp--all-forms): Rename from macroexpand-all-forms.
260 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
261 (macroexp--expand-all): Rename from macroexpand-all-1.
262
628299e0
SS
2632012-06-06 Sam Steingold <sds@gnu.org>
264
265 * calendar/calendar.el (calendar-in-read-only-buffer):
266 Call `special-mode' to enable the standard read-only keybindings.
267
b7bb5838
SM
2682012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
271 with "loading" messages (bug#11635).
272
dfb308ba
MA
2732012-06-06 Michael Albinus <michael.albinus@gmx.de>
274
275 * files.el (enable-remote-dir-locals): New option.
276 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
277
0372ee92
MA
278 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
279 Ensure, that the temp directory is local.
280
281 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
282 `temporary-file-directory'.
283
eed0bb91
MA
284 * progmodes/python.el (python-send-region): Ensure, that the
285 temporary file is created also in the remote case.
286
7a58f64d
GM
2872012-06-06 Glenn Morris <rgm@gnu.org>
288
f7dd4e98
GM
289 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
290 (vc-rcs-update-changelog): Use it.
291
276d5f5d
GM
292 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
293
7a58f64d
GM
294 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
295 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
296 (vc-sccs-diff): Replace use of the external vcdiff script.
297
daed4003
GM
2982012-06-05 Glenn Morris <rgm@gnu.org>
299
300 * ledit.el: Move to obsolete/.
301
48c455c7
SS
3022012-06-05 Sam Steingold <sds@gnu.org>
303
304 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
305 patch (Bug#11140).
306
57a7d507
SM
3072012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
308
d32926ff
SM
309 * emacs-list/cust-print.el: Move to obsolete.
310
53aacf21
SM
311 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
312 compiler-macro expansion.
313
57a7d507
SM
314 Add native compiler-macro support.
315 * emacs-lisp/macroexp.el (macroexpand-all-1):
316 Support compiler-macros directly. Properly follow aliases and apply
317 the compiler macros more thoroughly.
318 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
319 macroexpand now properly follows aliases.
320 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
321 (cl-compiler-macroexpand): Use new prop.
322 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
323
324 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
325
51a5f9d8
MR
3262012-06-05 Martin Rudalics <rudalics@gmx.at>
327
328 * window.el (get-lru-window, get-mru-window, get-largest-window):
329 New argument NOT-SELECTED to avoid picking the selected window.
330 (window--display-buffer-1, window--display-buffer-2): Replace by
331 new function window--display-buffer
332 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
333 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
334 Use window--display-buffer.
51a5f9d8
MR
335 (display-buffer-use-some-window): Remove temporary dedication
336 hack by calling get-lru-window and get-largest-window with
337 NOT-SELECTED argument non-nil. Call window--display-buffer.
338
08f9f738
GM
3392012-06-05 Glenn Morris <rgm@gnu.org>
340
341 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
342 Replace external vcdiff script.
343
e364a2b7
SM
3442012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
347
041df390
CY
3482012-06-04 Chong Yidong <cyd@gnu.org>
349
e364a2b7
SM
350 * image.el (imagemagick-types-inhibit): Revert last change.
351 Add INFO and M.
47b36b94 352 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 353
7c1898a7
SM
3542012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * emacs-lisp/cl-lib.el: Rename from cl.el.
357 * emacs-lisp/cl.el: New compatibility file.
358 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
359 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
360 to obey the "cl-" prefix.
361 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
362
0c3461de
GM
3632012-06-03 Glenn Morris <rgm@gnu.org>
364
1e266c88
GM
365 * emacs-lisp/authors.el (authors-aliases): Addition.
366
0c3461de
GM
367 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
368 Fix :version.
369
d8a52e15
SM
3702012-06-03 Stefan Merten <smerten@oekonux.de>
371
372 * textmodes/rst.el: Add comments.
373 (rst-transition, rst-adornment): New faces.
374 (rst-adornment-faces-alist): Make default safe to reevaluate.
375 Fixes
376 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
377 Improve customization tags.
378 (rst-define-level-faces): Clarify meaning.
379
5205d6f6
CY
3802012-06-03 Chong Yidong <cyd@gnu.org>
381
382 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
383 (compilation-mode-line-run, compilation-mode-line-exit):
384 New faces.
5205d6f6
CY
385 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
386
757ee657
JD
3872012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
388
7c1898a7
SM
389 * progmodes/which-func.el (which-func-update-ediff-windows):
390 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 391
5f2c76c6
CY
3922012-06-03 Chong Yidong <cyd@gnu.org>
393
394 * bindings.el: Remove explicit help text from format-mode-line.
395 It is now supplied by mode-line-default-help-echo.
396 (mode-line-front-space, mode-line-end-spaces)
397 (mode-line-misc-info): New variables.
398 (mode-line-modes, mode-line-position): Move the default value to
399 the variable definition.
400 (mode-line-default-help-echo): New defcustom.
383f7350
CY
401 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
402 (mode-line-modified-help-echo): New functions.
403 (mode-line-mule-info, mode-line-modified): Use them.
404 (mode-line-eol-desc, propertized-buffer-identification):
405 Consistency fixes for help text.
cbe46e5f
CY
406 (mode-line-coding-system-map): Allow using mouse-3 to invoke
407 set-buffer-file-coding-system (Bug#289).
408 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 409
f2d6a3df
SM
4102012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * simple.el (execute-extended-command): Set real-this-command
413 (bug#11506).
414
37269466
CY
4152012-06-02 Chong Yidong <cyd@gnu.org>
416
417 Remove incorrect uses of "modeline" in comments, docstrings, and
418 function/variable names (Bug#10329).
419
420 * cus-edit.el (mode-line):
421 * dframe.el (dframe-mouse-hscroll):
422 * emacs-lisp/re-builder.el:
423 * emacs-lisp/easy-mmode.el (define-minor-mode):
424 * frame.el (set-frame-name):
425 * help.el (lookup-minor-mode-from-indicator):
426 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
427 * progmodes/cc-cmds.el (c-toggle-auto-newline)
428 (c-toggle-hungry-state):
429 * progmodes/antlr-mode.el (antlr-language-alist):
430 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
431 * progmodes/vhdl-mode.el (vhdl-mode):
432 * progmodes/which-func.el (which-func, which-func-cleanup-function):
433 * term/ns-win.el (ns-face-at-pos):
434 * term/sup-mouse.el (sup-mouse-report):
435 * textmodes/flyspell.el (flyspell-mode-line-string):
436 * textmodes/ispell.el (ispell-highlight-face):
437 * textmodes/reftex-global.el:
438 * vc/vc-arch.el (vc-arch-mode-line-string):
439 * vc/vc-cvs.el (vc-cvs-mode-line-string):
440 * vc/vc-git.el (vc-git-mode-line-string):
441 * vc/vc-hooks.el (vc-display-status)
442 (vc-default-mode-line-string):
443 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
444
445 * ansi-color.el (ansi-color-faces-vector): Change default faces.
446
447 * dired.el (dired-sort-set-mode-line): Rename from
448 dired-sort-set-modeline. All callers changed.
449
450 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
451 eshell-status-in-modeline.
452
453 * foldout.el (foldout-mode-line-string): Rename from
454 foldout-modeline-string. All callers changed.
455 (foldout-update-mode-line): Rename from foldout-update-modeline.
456
457 * subr.el (redraw-modeline): Make into obsolete alias.
458
459 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
460 timeclock-modeline-display. Make old name an alias.
461 (timeclock-update-mode-line): Likewise. All callers changed.
462 (timeclock-mode-line-display): No need to check before using
463 add-hook.
464 (timeclock-relative, timeclock-day-over-hook)
465 (timeclock-use-elapsed, timeclock-mode-string)
466 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
467
468 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
469 crisp-mode-modeline-string.
470
471 * play/solitaire.el (solitaire-build-mode-line): Rename from
472 solitaire-build-modeline. All callers changed.
473
474 * play/zone.el (zone-hiding-mode-line): Rename from
475 zone-hiding-modeline. All callers changed.
476 (zone): Remove unusued `modeline-hidden-level' property.
477
478 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
479 xscheme-modeline-initialize. All callers changed.
480
481 * strokes.el (strokes-lighter): Rename from
482 strokes-modeline-string.
483
484 * textmodes/sgml-mode.el (html-face-tag-alist)
485 (html-tag-face-alist): Use mode-line face instead of obsolete
486 alias modeline.
487
42152ee4
SM
4882012-06-02 Stefan Merten <smerten@oekonux.de>
489
490 * textmodes/rst.el: Always require `cl'.
4cf9b38d 491 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 492
95f520b5
CY
4932012-06-02 Chong Yidong <cyd@gnu.org>
494
495 * image.el (imagemagick-enabled-types): Rename from
496 imagemagick-types-enable. Add many more types.
497 (imagemagick-types-inhibit): Change default to nil.
498 (imagemagick-filter-types): Caller changed.
499
4a5f187a
SM
5002012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
501
03fef3e6
SM
502 * emacs-lisp/cl-macs.el: Use backquotes.
503 (cl-transform-function-property): Use eval-and-compile rather than
504 abusing `require'.
505 (defstruct): Use declare-function instead of with-no-warnings.
506
4a5f187a
SM
507 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
508 (byte-compile-output-docform): Re-add the print-circle bindings.
509 (byte-compile-fix-header): Use #$ just because it's shorter.
510 (byte-compile-output-file-form): Remove defun/defmacro.
511
bd56924f
MR
5122012-06-01 Martin Rudalics <rudalics@gmx.at>
513
514 * simple.el (choose-completion): Remove now obsolete binding for
515 owindow.
516
046e38ce
MA
5172012-06-01 Michael Albinus <michael.albinus@gmx.de>
518
519 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
520 in order to avoid "Stack overflow in regexp matcher".
521
32d72c2f
GM
5222012-05-31 Glenn Morris <rgm@gnu.org>
523
524 * image.el: For clarity, call imagemagick-register-types at
525 top-level, rather than relying on a custom :initialize.
526 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
527 (imagemagick-filter-types): New function. (Bug#7406)
528 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
529 If disabling support, remove elements altogether rather
530 than using an impossible regexp.
531 (imagemagick-types-inhibit): Give it the default init function.
532
dd41169b
SM
5332012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
534
4a5f187a
SM
535 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
536 Handle arbitrary file name lengths (Bug#11585).
dd41169b 537
efc00ab1 5382012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
539
540 * desktop.el (desktop-read): Clear previous and next buffers for
541 all windows and bury *Messages* buffer (bug#11556).
542
500fcedc
SM
5432012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
544
545 Add `declare' for `defun'. Align `defmacro's with it.
546 * emacs-lisp/easy-mmode.el (define-minor-mode)
547 (define-globalized-minor-mode): Don't autoload the var definitions.
548 * emacs-lisp/byte-run.el: Use lexical-binding.
549 (defun-declarations-alist, macro-declarations-alist): New vars.
550 (defmacro, defun): Use them.
551 (make-obsolete, define-obsolete-function-alias)
552 (make-obsolete-variable, define-obsolete-variable-alias):
553 Use `declare'.
554 (macro-declaration-function): Mark obsolete.
555 * emacs-lisp/autoload.el: Use lexical-binding.
556 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
557
6e8a1786
AM
5582012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
559
560 * textmodes/ispell.el (ispell-with-no-warnings):
561 Define as a macro.
500fcedc
SM
562 (ispell-kill-ispell, ispell-change-dictionary):
563 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
564 `interactive-p'.
565
61b108cc
SM
5662012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
567
568 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
569 (macro-declaration-function): Move var from C code.
570 (macro-declaration-function): Define function with defalias.
571 * emacs-lisp/macroexp.el (macroexpand-all-1):
572 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
573 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
574 defun/defmacro any more.
575 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
576 Provide fallback for unknown arglist.
577 (byte-compile-arglist-warn): Change calling convention.
578 (byte-compile-output-file-form): Move print-vars binding.
579 (byte-compile-output-docform): Simplify accordingly.
580 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
581 (byte-compile-defmacro-declaration): Remove.
582 (byte-compile-file-form-defmumble): Generalize to defalias.
583 (byte-compile-output-as-comment): Return byte-positions.
584 Simplify callers accordingly.
585 (byte-compile-lambda): Use `assert'.
586 (byte-compile-defun, byte-compile-defmacro): Remove.
587 (byte-compile-file-form-defalias):
588 Use byte-compile-file-form-defmumble.
589 (byte-compile-defalias-warn): Remove.
590
6d3f7c2f
SM
5912012-05-29 Stefan Merten <smerten@oekonux.de>
592
593 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 594 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
595
596 (rst-mode-abbrev-table): Merge definition.
597 (rst-mode): Make sure `font-lock-defaults' is buffer local.
598 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
599
6dbaa1c7
UJ
6002012-05-29 Ulf Jasper <ulf.jasper@web.de>
601
602 * calendar/icalendar.el
603 (icalendar-export-region): Export UID properly.
604
6052012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
606 * calendar/icalendar.el (icalendar-import-format):
607 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
608 (icalendar-import-format-uid): New.
609 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
610 Export UID.
611
6876a58d
SM
6122012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
615 different alternative patterns.
616 (pcase-codegen): Be more careful to preserve identity.
617 (pcase--u1): Don't forget to mark vars as used.
618
619 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
620 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
621 (byte-compile-from-buffer): ...rather than here.
622
623 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
624 functions from byte-compile-function-environment.
625
46b7967e
TN
6262012-05-29 Troels Nielsen <bn.troels@gmail.com>
627
628 * window.el (window-deletable-p): Avoid deleting the root window
629 of a frame with an active minibuffer.
630
69d565e2
MR
6312012-05-29 Martin Rudalics <rudalics@gmx.at>
632
633 * simple.el (choose-completion): Use quit-window (Bug#11567).
634
a149fa51
CY
6352012-05-29 Chong Yidong <cyd@gnu.org>
636
637 * whitespace.el (whitespace-cleanup): Fix usage of
638 whitespace-empty-at-bob-regexp (Bug#11492).
639
2b311310
AH
6402012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
641
642 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
643 revert (Bug#11488).
644
b9cb2387
JL
6452012-05-29 Juri Linkov <juri@jurta.org>
646
647 * isearch.el (isearch-mode-map): Bind `M-s _' to
648 `isearch-toggle-symbol'. Bind `M-s c' to
649 `isearch-toggle-case-fold'.
650 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
651 (isearch-forward): Add `M-s _' to the docstring.
652 (isearch-forward-symbol, isearch-toggle-case-fold)
653 (isearch-symbol-regexp): New functions. (Bug#11381)
654
d5e61c1c
JL
6552012-05-29 Juri Linkov <juri@jurta.org>
656
657 * isearch.el (isearch-word): Add docstring. (Bug#11381)
658 (isearch-occur, isearch-search-and-update): If `isearch-word' is
659 a function, call it to get the regexp.
660 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
661 property `isearch-message-prefix' instead of the string "word ".
662 (isearch-search-fun-default): For the case of `isearch-word',
663 return a lambda that calls re-search-forward/re-search-backward
664 with a regexp returned by `word-search-regexp' or by the function
665 in `isearch-word'.
666
8cbd80f7
JL
6672012-05-29 Juri Linkov <juri@jurta.org>
668
669 * isearch.el (isearch-search-fun-default): New function.
670 (isearch-search-fun): Move default part to the new function
671 `isearch-search-fun-default'.
672 (isearch-search-fun-function): Set the default value to
673 `isearch-search-fun-default'. (Bug#11381)
674
675 * comint.el (comint-history-isearch-end):
676 Use `isearch-search-fun-default'.
677 (comint-history-isearch-search): Use `isearch-search-fun-default'
678 and remove spacial case for `isearch-word'.
679 (comint-history-isearch-wrap): Remove spacial case for
680 `isearch-word'.
681
682 * hexl.el (hexl-isearch-search-function):
683 Use `isearch-search-fun-default'.
684
685 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
686 Use `word-search-regexp' for `isearch-word'.
687
688 * misearch.el (multi-isearch-search-fun):
689 Use `isearch-search-fun-default'.
690
691 * simple.el (minibuffer-history-isearch-search):
692 Use `isearch-search-fun-default' and remove spacial case for
693 `isearch-word'.
694 (minibuffer-history-isearch-wrap): Remove spacial case for
695 `isearch-word'.
696
697 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
698 Remove spacial case for `isearch-word'.
699 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
700
85c8c5b6
AM
7012012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
702
703 Decrease XEmacs incompatibilities.
704 * textmodes/flyspell.el (flyspell-check-pre-word-p):
705 Use `string-match'.
706 (flyspell-delete-region-overlays): Use alternative definition for
707 XEmacs.
708 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
709 (flyspell-word): Use `process-kill-without-query' if XEmacs.
710 (flyspell-mode-on): Use `interactive-p' if XEmacs.
711 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
712 `define-obsolete-face-alias' under XEmacs, but old method.
713
714 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
715 `with-no-warnings' definition or Emacs alias.
716 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
717 (ispell-word): Do not use `region-p' if XEmacs.
718
8cab9efc
AM
7192012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
720
721 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
722 Check for `ispell-dictionary-base-alist' instead of full
723 `ispell-dictionary-alist'.
724 (ispell-init-process): Show spellchecker when starting new Ispell
725 process.
726
fda91268
RZ
7272012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
730 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
731
694ea8e3
JB
7322012-05-27 Juanma Barranquero <lekktu@gmail.com>
733
734 * version.el (motif-version-string, gtk-version-string)
735 (ns-version-string): Declare.
736
e4d4f539
JL
7372012-05-27 Juri Linkov <juri@jurta.org>
738
739 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
740 after the `eval-defun-1' specialcaseing
741 like in `edebug-eval-defun' (bug#10181).
742
743 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
744 like in `eval-defun-1'.
745
33017faf 7462012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 747
fda91268
RZ
748 * mail/sendmail.el (mail-yank-region):
749 Recognize rmail-yank-current-message in addition to insert-buffer.
750 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
751 a *mail* buffer created through rmail-start-mail with sendmail as
752 mail-user-agent.
753
33017faf
GM
7542012-05-27 Chong Yidong <cyd@gnu.org>
755
756 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
757 Default to 256 (Bug#11267).
758
759 * help.el (describe-mode): Doc fix.
760
04188bb9
GM
7612012-05-26 Glenn Morris <rgm@gnu.org>
762
38264cc9
GM
763 * w32-fns.el (w32-init-info): Remove.
764 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
765
eb7afdad
GM
766 * info.el (info-initialize): For self-contained NS builds, put the
767 included info/ directory at the front. (Bug#2791)
768
04188bb9
GM
769 * paths.el (Info-default-directory-list): Make it a defcustom,
770 mainly so that we can use custom-initialize-delay.
771
a179e3f7
SM
7722012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
773
43416392
SM
774 * subr.el (buffer-has-markers-at): Mark obsolete.
775
a179e3f7 776 * subr.el (lambda): Use declare.
43416392 777
a179e3f7
SM
778 * emacs-lisp/lisp-mode.el (lambda):
779 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
780
34a008d9
AH
7812012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
782
783 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
784
0a3b289f
GM
7852012-05-26 Glenn Morris <rgm@gnu.org>
786
787 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
788
758c81e8
GM
7892012-05-25 Glenn Morris <rgm@gnu.org>
790
f9f334f0
GM
791 * paths.el: Remove no-byte-compile.
792 * loadup.el: No need to load paths.el uncompiled.
793
87eb79c2
GM
794 * image.el (imagemagick-types-inhibit): Doc fix.
795
758c81e8
GM
796 * version.el: Remove no-byte-compile and associated formatting.
797 * loadup.el: No need to load version.el uncompiled. AFAICS, this
798 is ancient code from when there was an "inc-vers.el".
799
e7e85dc0
SM
8002012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * progmodes/gdb-mi.el: Minor style changes.
803 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
804 Turn into minor modes.
805 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
806 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
807 (gdb-shell): Remove unneeded let-binding.
808 (gdb-get-many-fields): Eliminate O(n²) behavior.
809
f31237a4
EZ
8102012-05-25 Eli Zaretskii <eliz@gnu.org>
811
812 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
813 platforms that don't link in fontset.c.
814
bc1b21bb
JL
8152012-05-25 Juri Linkov <juri@jurta.org>
816
817 Use the same diff color scheme as in modern VCSes (bug#10181).
818
819 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
820 to avoid confusion with `diff-added' that now uses green colors.
821 (diff-removed): Use shades of red.
822 (diff-added): Use shades of green.
823 (diff-changed): Leave just the yellow color.
824 (diff-use-changed-face): New variable.
825 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
826 how to highlight context diff changes.
827 (diff-refine-change): Use shades of yellow.
828 (diff-refine-removed): New face that uses shades of red.
829 (diff-refine-added): New face that uses shades of green.
830 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
831 `diff-refine-removed' in the call to `smerge-refine-subst'
832 depending on the value of `diff-use-changed-face'.
833
834 * vc/smerge-mode.el (smerge-mine): Use shades of red.
835 (smerge-other): Use shades of green.
836 (smerge-base): Use shades of yellow.
837 (smerge-refined-change): Empty face.
838 (smerge-refined-removed): New face that uses shades of red.
839 (smerge-refined-added): New face that uses shades of green.
840 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
841 args `props-r' and `props-a', and use them. Doc fix.
842 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
843 on its value use different faces `smerge-refined-change',
844 `smerge-refined-removed', `smerge-refined-added' in the call to
845 `smerge-refine-subst'.
846
847 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
848 Add face condition `min-colors 88' with shades of red.
849 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
850 `min-colors 88' with shades of green.
851 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
852 `min-colors 88' with shades of yellow.
853
6df9112c
GM
8542012-05-24 Glenn Morris <rgm@gnu.org>
855
ead5edc0
GM
856 * paths.el (prune-directory-list, remote-shell-program): Move to...
857 * files.el (prune-directory-list, remote-shell-program): ...here.
858 For the latter, delay initialization, prefer ssh, just search PATH.
859
f18b81e6
GM
860 * paths.el (term-file-prefix): Move to faces.el (the only user).
861 * faces.el (term-file-prefix): Move here, make it a defcustom.
862
ee2f89a6
GM
863 * paths.el (news-directory, news-path, news-inews-program):
864 Move to gnus/nnspool.el.
61a583ca 865
f8815e4c
GM
866 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
867
c8f3b42c
GM
868 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
869 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
870 Make the latter a defcustom, with a delayed initialization.
871
6df9112c
GM
872 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
873 These were deleted from Gnus itself late 2010.
874
5dadff36
JB
8752012-05-22 Juanma Barranquero <lekktu@gmail.com>
876
9e1701c6
JB
877 * progmodes/which-func.el (which-func-ff-hook):
878 Check against user-error, not error.
879
bd7239f5 880 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
881 cl-specs.el, which no longer exists.
882
3290526d
GM
8832012-05-22 Glenn Morris <rgm@gnu.org>
884
885 * info.el (info-emacs-bug): New command.
886 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
887 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
888
ff0c3cfb
GM
8892012-05-21 Glenn Morris <rgm@gnu.org>
890
891 * makefile.w32-in (update-subdirs-SH):
892 * Makefile.in (update-subdirs): Update for moved update-subdirs.
893
5814f126
SM
8942012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
895
a52c0aa0
SM
896 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
897
5814f126
SM
898 * progmodes/compile.el (compilation-error-regexp-alist-alist):
899 Simplify Maven regexp, and make sure the file can't start with a space
900 (bug#11517).
901
b847032c
GM
9022012-05-21 Glenn Morris <rgm@gnu.org>
903
904 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
905 Scrap superfluous subshells.
906
3858bfe7
SM
9072012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
910 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
911
d14b0029
JB
9122012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
913
914 * calc/calc.el (calc-ensure-consistent-units): New variable.
915
a52c0aa0
SM
916 * calc/calc-units.el (math-consistent-units-p)
917 (math-check-unit-consistency): New functions.
918 (calc-quick-units, calc-convert-units):
919 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
920 is non-nil.
d14b0029
JB
921 (calc-extract-units): Fix typo.
922
60c4db3a
SM
9232012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
924
77f3b62e
SM
925 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
926
60c4db3a
SM
927 * textmodes/flyspell.el: Commenting style, plus code simplifications.
928 (flyspell-default-deplacement-commands): Don't spell check after
929 repeated window/frame switches (e.g. triggered by mouse-movement).
930 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
931 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
932 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
933 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
934 Remove unused vars.
935 (flyspell-get-casechars, flyspell-get-not-casechars):
936 Simplify; Don't bother removing a ] just to add it back.
937 * textmodes/ispell.el (ispell-program-name): Use executable-find.
938
b1a10716
RS
9392012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
940
941 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
942 New functions.
bd7239f5 943 (math-function-table): Add support for more C functions.
b1a10716 944
3f1b25b5
AM
9452012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
946
947 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
948 (flyspell-debug-signal-word-checked): Protect delay handling for
949 otherchars against empty otherchars.
950
b581bb5c
SM
9512012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
952
953 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
954 their respective macro declarations.
955 * skeleton.el (define-skeleton):
956 * progmodes/compile.el (define-compilation-mode):
957 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
958 (define-ibuffer-filter):
959 * emacs-lisp/generic.el (define-generic-mode):
960 * emacs-lisp/easy-mmode.el (define-minor-mode)
961 (define-globalized-minor-mode):
962 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
963 * emacs-lisp/byte-run.el (defsubst):
964 * custom.el (deftheme): Add doc-string metadata.
965
70b8ef8f
SM
9662012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
969
b1198e17
SM
9702012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
971
9abdc45d
SM
972 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
973
b1198e17
SM
974 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
975 * emacs-lisp/cl-macs.el: Idem.
976 * emacs-lisp/cl-specs.el: Remove.
977
4735906a
SM
9782012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 Minor renaming of internal CL functions and variables.
981 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
982 (cl--position): Rename from cl-position.
983 (cl--delete-duplicates): Rename from cl-delete-duplicates.
984 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
985 (cl--random-state): Rename from *random-state*.
986
ac348012
SM
9872012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
990 parens around the arg list (bug#11499).
991
a0a79cde
JL
9922012-05-17 Juri Linkov <juri@jurta.org>
993
994 * isearch.el (word-search-regexp, word-search-backward)
995 (word-search-forward, word-search-backward-lax)
996 (word-search-forward-lax): Move functions from search.c
997 (bug#10145, bug#11381).
998
65034a51
AM
9992012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1000
1001 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1002 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1003 normal word components.
1004
1a72a195
SM
10052012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * minibuffer.el (completion--sifn-requote): Fix last change.
1008 (minibuffer-local-must-match-filename-map):
1009 Move define-obsolete-variable-alias before its var.
1010
fdb058c2
SM
10112012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1012
c41045e6
SM
1013 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1014
036dfb8b
SM
1015 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1016 behavior.
1017 (completion--string-equal-p): New function.
1018 (completion--twq-all): Use it to get better assertion failure data.
1019
2473256d
SM
1020 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1021 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1022 (shell--requote-argument): New functions.
1023 (shell-completion-vars): Use them.
1024 (shell--parse-pcomplete-arguments): Rename from
1025 shell-parse-pcomplete-arguments.
1026 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1027 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1028 Obey comint-file-name-quote-list.
1029
fdb058c2
SM
1030 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1031 (smie-indent-keyword): Use it.
1032
51fa99f1
SM
10332012-05-14 Stefan Merten <smerten@oekonux.de>
1034
1035 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1036
e18afed7 10372012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1038
1039 * net/rlogin.el (rlogin-mode-map): Fix last change.
1040
e18afed7 10412012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1042
1043 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1044 the following \r\n using a single `process-send-string', since the
1045 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1046 with two `process-send-string's (Bug#11444).
8633b1f4 1047
e18afed7 10482012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1049
fdb058c2
SM
1050 * shell.el (shell-parse-pcomplete-arguments):
1051 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1052
2d21d7f6
WJ
10532012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1054
e18afed7 1055 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1056 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1057 (image-transform-width, image-transform-fit-width): New functions.
1058 (image-transform-properties): Use them.
1059 (image-transform-check-size): New function.
1060 (image-toggle-display-image): Use it (for testing).
1061 (image-transform-set-rotation): Reduce angle mod 360.
1062 Delete obsolete comment.
1063
7102e6d0
WJ
10642012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1065
1066 * image-mode.el: Fix scaling (bug#11399).
1067 (image-transform-resize): Doc fix.
1068 (image-transform-properties): Default scale is 1 and height should
1069 be an integer.
1070
06bc5e6e
SM
10712012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
1072
1073 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1074 than hard-coding `car', to fix misbehavior when moving forward.
1075
0ae03b6a
CY
10762012-05-13 Chong Yidong <cyd@gnu.org>
1077
1078 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1079 (tabulated-list-entries, tabulated-list-padding)
1080 (tabulated-list-sort-key): Make permanent-local.
1081
1082 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1083 (electric-buffer-list): Put electric buffer menu
1084 command descriptions in this docstring, instead of the docstring
1085 of electric-buffer-menu-mode. Code cleanups.
1086 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1087 Electric-buffer-menu-mode.
1088 (electric-buffer-update-highlight): Minor code cleanup.
1089
205a7391
MA
10902012-05-13 Michael Albinus <michael.albinus@gmx.de>
1091
1092 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1093 (Bug#11447)
1094
e5bd0a28
SM
10952012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 Move define-obsolete-variable-alias before the var's definition.
1098 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1099 * tooltip.el (tooltip-hook):
1100 * textmodes/reftex-toc.el (reftex-toc-map):
1101 * textmodes/reftex-sel.el (reftex-select-label-map)
1102 (reftex-select-bib-map):
1103 * textmodes/reftex-index.el (reftex-index-map)
1104 (reftex-index-phrases-map):
1105 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1106 * progmodes/meta-mode.el (meta-mode-map):
1107 * novice.el (disabled-command-hook):
1108 * loadhist.el (unload-hook-features-list):
1109 * frame.el (blink-cursor):
1110 * files.el (find-file-not-found-hooks, write-file-hooks)
1111 (write-contents-hooks):
1112 * emulation/tpu-edt.el (GOLD-map):
1113 * emacs-lock.el (emacs-lock-from-exiting):
1114 * emacs-lisp/generic.el (generic-font-lock-defaults):
1115 * emacs-lisp/chart.el (chart-map):
1116 * dos-fns.el (register-name-alist):
1117 * dired-x.el (dired-omit-files-p):
1118 * desktop.el (desktop-enable):
1119 * cus-edit.el (custom-mode-hook):
1120 * buff-menu.el (buffer-menu-mode-hook):
1121 * bookmark.el (bookmark-read-annotation-text-func)
1122 (bookmark-exit-hooks):
1123 * allout.el (allout-mode-deactivate-hook)
1124 (allout-exposure-change-hook, allout-structure-added-hook)
1125 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1126 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1127 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1128 comes before the corresponding variable's definition.
1129
ac59c2f6
CY
11302012-05-12 Chong Yidong <cyd@gnu.org>
1131
1132 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1133 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1134 (Buffer-menu-mode-map): Bind it.
1135 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1136
dee6c9a3
SM
11372012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1138
2171cea5
SM
1139 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1140 (prolog-upper-case-string, prolog-lower-case-string)
1141 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1142 (prolog-use-smie, prolog-smie-grammar): New vars.
1143 (prolog-smie-forward-token, prolog-smie-backward-token)
1144 (prolog-smie-rules): New funs.
1145 (prolog-comment-indent): Remove.
1146 (prolog-mode-variables): Use default comment indentation instead.
1147 Setup SMIE.
1148 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1149 (prolog-mode): Don't call them any more.
1150 (prolog-electric-colon, prolog-electric-dash)
1151 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1152
aa0382bd
SM
1153 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1154
dbacb4bd
SM
1155 * minibuffer.el (completion--twq-all): Again, allow case differences.
1156
13bdd94c
SM
1157 * term.el: Move keymap initialization code to be more idiomatic.
1158 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1159 (term-terminal-menu): Move initialization into declaration.
1160 (term-escape-char): Let the user set it in her .emacs.
1161
ff46c759
SM
1162 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1163 Provide SMIE-based indentation (not enabled by default yet).
1164 (sh-mode-map): Don't bind electric keys.
1165 Use electric-pair-mode instead of skeleton-pair.
1166 (sh-assignment-regexp): Fit within 80 columns.
1167 (sh-indent-supported): Specify actual shell name instead of boolean.
1168 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1169 (sh-maybe-here-document): Use it. Make obsolete.
1170 (sh-electric-here-document-mode) New minor mode.
1171 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1172 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1173 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1174 (sh-smie-rc-grammar, sh-use-smie): New vars.
1175 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1176 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1177 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1178 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1179 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1180 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1181 (sh-set-shell): Use smie-setup if requested.
1182
dee6c9a3
SM
1183 * term.el (term-set-escape-char): Properly set term-escape-char.
1184 See http://stackoverflow.com/questions/10524656.
1185
9f9aa044
CY
11862012-05-10 Chong Yidong <cyd@gnu.org>
1187
1188 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1189 Use url-generic-parse-url, and handle host names and Windows
1190 filenames properly.
1191 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1192 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1193 URL schemes to work on.
1194 (ffap--toggle-read-only): New function.
1195 (ffap-read-only, ffap-read-only-other-window)
1196 (ffap-read-only-other-frame): Use it.
1197 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1198 necessary for ffap-url-unwrap-remote.
1199
836d29b3
DA
12002012-05-10 Dave Abrahams <dave@boostpro.com>
1201
1202 * cus-start.el (create-lockfiles): Add it.
1203
00fd78ed
CY
12042012-05-09 Chong Yidong <cyd@gnu.org>
1205
1206 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1207 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1208
666b903b 12092012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1210
1211 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1212
666b903b 12132012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1214
1215 * ansi-color.el (ansi-color-process-output): Check for validity of
1216 comint-last-output-start before using it. This avoids a bad
1217 interaction with gdb-mi's input/output buffer.
1218
666b903b 12192012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1220
1221 * files.el (dir-locals-read-from-file):
1222 Mention dir-locals in any error message.
1223
666b903b 12242012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1225
1226 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1227 package (Bug#11410).
1228
f677562b
CY
1229 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1230 variables into description.
1231
666b903b 12322012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1233
1234 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1235 shell-delimiter-argument-list (bug#11348).
1236 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1237
b499d8d0
JB
12382012-05-09 Juanma Barranquero <lekktu@gmail.com>
1239
8f6b6da8
JB
1240 * textmodes/rst.el: Silence byte-compiler warnings.
1241 (rst-re-alist, rst-reset-section-caches): Move around.
1242 (rst-re): Use `characterp', not `char-valid-p'.
1243 (font-lock-beg, font-lock-end): Declare.
1244
4824146a
JB
1245 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1246 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1247
b499d8d0
JB
1248 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1249
ad89bb83
GM
12502012-05-08 Glenn Morris <rgm@gnu.org>
1251
1252 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1253
8bba5a75
SM
12542012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1255
49ed9c8e
SM
1256 * vc/log-edit.el: Add GNU coding standards highlighting.
1257 (log-edit-font-lock-gnu-style)
1258 (log-edit-font-lock-gnu-keywords): New vars.
1259 (log-edit-font-lock-keywords): New fun.
1260 (log-edit-mode): Don't fold case in font-lock.
1261 (log-edit-font-lock-keywords): Do not assume case-folding.
1262
07d00b56
SM
1263 * imenu.el: Misc cleanup. Make docstrings out of comments.
1264 Use lexical-binding.
1265 (imenu--index-alist, imenu--last-menubar-index-alist)
1266 (imenu-menubar-modified-tick): Use defvar-local.
1267 (imenu--split-menu): Remove unused var.
1268 (imenu--cleanup-seen): Declare as global.
1269 (imenu--cleanup): Use dolist.
1270
8bba5a75
SM
1271 * subr.el (defvar-local): Add debug spec and doc-string position.
1272
5075bdb5
GM
12732012-05-08 Glenn Morris <rgm@gnu.org>
1274
c052c904
GM
1275 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1276 * language/english.el, language/georgian.el, language/greek.el:
1277 * language/japanese.el, language/khmer.el, language/korean.el:
1278 * language/lao.el, language/misc-lang.el, language/romanian.el:
1279 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1280 * language/thai.el, language/utf-8-lang.el:
1281 Remove no-byte-compile setting.
1282
5075bdb5
GM
1283 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1284
06f679a7
AH
12852012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1286
1287 * progmodes/make-mode.el (makefile-browse):
1288 Remove unnecessary interactive. (Bug#11324)
1289
03794570
GM
12902012-05-07 Glenn Morris <rgm@gnu.org>
1291
af8630f4
GM
1292 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1293
03794570
GM
1294 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1295
f0809a9d
SM
12962012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1297
28be5ce7
SM
1298 * loadup.el: Preload newcomment.el.
1299 * newcomment.el: Move autoload-only code to toplevel.
1300
f0809a9d
SM
1301 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1302 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1303 Handle new :right-align column property.
1304 (tabulated-list-print-col): Idem, plus use `display' text-property to
1305 try and preserve alignment for variable pitch fonts.
1306
1241b724
CY
13072012-05-07 Chong Yidong <cyd@gnu.org>
1308
1309 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1310 (tabulated-list-use-header-line): New var.
1311 (tabulated-list-init-header): Use it.
1312 (tabulated-list-print-fake-header): New function.
1313 (tabulated-list-print): Use it.
1314 (tabulated-list-sort-button-map): Add non-header-line commands.
1315 (tabulated-list-init-header): Add column name property to basic
1316 labels as well.
1317 (tabulated-list-col-sort): Handle non-header-line button case.
1318 (tabulated-list--sort-by-column-name): Fix a corner case.
1319
f0809a9d
SM
1320 * buff-menu.el (list-buffers--refresh):
1321 Handle Buffer-menu-use-header-line.
1241b724 1322
e5f9458f
CY
13232012-05-06 Chong Yidong <cyd@gnu.org>
1324
1325 * buff-menu.el: Convert to Tabulated List mode.
1326 (Buffer-menu-buffer+size-width): Make obsolete.
1327 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1328 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1329 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1330 documentation into docstring of buffer-menu.
1331 (Buffer-menu-toggle-files-only): Add an informative message.
1332 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1333 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1334 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1335 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1336 (Buffer-menu-execute, Buffer-menu-select)
1337 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1338 (Buffer-menu-bury): Use Tabulated List machinery.
1339 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1340 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1341 Delete.
e5f9458f
CY
1342 (list-buffers--refresh): New function.
1343 (list-buffers-noselect): Use it.
1344 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1345 (Buffer-menu--pretty-file-name): New helper functions.
1346
1347 * loadup.el: Preload tabulated-list.
1348
1349 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1350 tabulated-list-sort-column.
1351 (tabulated-list-init-header): Add the initial aligning space even
1352 if tabulated-list-padding is zero.
1353
e129292c
CS
13542012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1355
1356 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1357 whose cdr is not a cons cell correctly (bug#11038).
1358
6632d361
CY
13592012-05-06 Chong Yidong <cyd@gnu.org>
1360
e129292c
CS
1361 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1362 Accept additional plist in column descriptors.
6632d361
CY
1363 (tabulated-list-init-header): Obey it.
1364 (tabulated-list-get-entry): New function.
1365 (tabulated-list-put-tag): Use it. Use string-width instead of
1366 length.
1367 (tabulated-list--column-number): New function.
1368 (tabulated-list-print): Use it.
e129292c
CS
1369 (tabulated-list-print-col): New function.
1370 Set `tabulated-list-column-name' property on each column's text.
6632d361 1371 (tabulated-list-print-entry): Use it.
e129292c
CS
1372 (tabulated-list-delete-entry, tabulated-list-set-col):
1373 New functions.
6632d361
CY
1374 (tabulated-list-sort-column): New command (Bug#11337).
1375
3cc99f68
CY
1376 * buff-menu.el (list-buffers): Move C-x C-b binding from
1377 buff-menu.el to bindings.el.
1378
1379 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1380 :advertised-binding feature.
1381
52b61776
TN
13822012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1383
1384 * progmodes/compile.el (compilation-internal-error-properties):
1385 Calculate start position correctly when end-col is set but
1386 end-line is not (Bug#11382).
1387
ebfe2597
WJ
13882012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1389
1390 * man.el (Man-unindent): Use text-property-default-nonsticky to
1391 prevent untabify from inheriting face properties (Bug#11408).
1392
6d3f7c2f
SM
13932012-05-05 Stefan Merten <smerten@oekonux.de>
1394
1395 * textmodes/rst.el: Major merge with upstream development up to
1396 Docutils SVN r7399 / rst.el V1.2.1.
1397
1398 Clarify maintainership and authors.
1399
1400 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1401 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1402 (rst-official-version, rst-official-cvs-rev, rst-version)
1403 (rst-package-emacs-version-alist): New functions and variables
1404 for version information.
1405
1406 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1407 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1408 (rst-mode-syntax-table, rst-mode): New and corrected functions
1409 and variables representing reStructuredText features.
1410
1411 (rst-re): New function for reStructuredText regexes. Use in
1412 many places.
1413
1414 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1415 (rst-mode-map): Rebind keys.
1416
1417 (rst-mode-lazy, rst-font-lock-keywords)
1418 (rst-font-lock-extend-region)
1419 (rst-font-lock-extend-region-internal)
1420 (rst-font-lock-extend-region-extend)
1421 (rst-font-lock-find-unindented-line-limit)
1422 (rst-font-lock-find-unindented-line-match)
1423 (rst-adornment-level, rst-font-lock-adornment-level)
1424 (rst-font-lock-adornment-match)
1425 (rst-font-lock-handle-adornment-pre-match-form)
1426 (rst-font-lock-handle-adornment-matcher): Major revision of
1427 font-locking. Integrate with other code. Use `jit-lock-mode'.
1428
1429 (rst-preferred-adornments, rst-adjust-hook)
1430 (rst-new-adornment-down, rst-preferred-bullets)
1431 (rst-preferred-bullets, rst-indent, rst-indent-width)
1432 (rst-indent-field, rst-indent-literal-normal)
1433 (rst-indent-literal-minimized, rst-indent-comment): Change,
1434 extend and improve customization.
1435
1436 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1437 (rst-normalize-cursor-position, rst-get-decoration)
1438 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1439 (rst-rstrip, rst-toc-insert-find-delete-contents)
1440 (rst-shift-fill-region, rst-compute-bullet-tabs)
1441 (rst-debug-print-tabs, rst-debug-mark-found)
1442 (rst-shift-region-guts, rst-shift-region-right)
1443 (rst-shift-region-left, rst-use-char-classes)
1444 (rst-font-lock-keywords-function)
1445 (rst-font-lock-indentation-point)
1446 (rst-font-lock-find-unindented-line-begin)
1447 (rst-font-lock-find-unindented-line-end)
1448 (rst-font-lock-find-unindented-line)
1449 (rst-font-lock-adornment-point, rst-font-lock-level)
1450 (rst-adornment-level-alist): Remove functions and variables.
1451
1452 (rst-compare-adornments, rst-get-adornment-match)
1453 (rst-suggest-new-adornment, rst-get-adornments-around)
1454 (rst-adornment-complete-p, rst-get-next-adornment)
1455 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1456 (rst-straighten-adornments): Standardize function names to
1457 use "adornment" instead of "decoration". Correct callers.
1458 Similar standardizing in many places.
1459
1460 (rst-update-section, rst-adjust, rst-promote-region)
1461 (rst-enumerate-region, rst-bullet-list-region)
1462 (rst-repeat-last-character): Correct use of `interactive'.
1463
1464 (rst-classify-adornment, rst-find-all-adornments)
1465 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1466 (rst-find-leftmost-column, rst-repeat-last-character):
1467 Refactor functions.
1468
1469 (rst-find-title-line, rst-reset-section-caches)
1470 (rst-get-adornments-around, rst-adjust-adornment-work)
1471 (rst-arabic-to-roman, rst-roman-to-arabic)
1472 (rst-insert-list-pos, rst-insert-list-new-item)
1473 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1474 New functions.
1475
1476 (rst-all-sections, rst-section-hierarchy)
1477 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1478 New variables.
1479
1480 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1481 configuration instead of only buffer. Change where necessary.
1482
1483 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1484 (rst-shift-region, rst-adaptive-fill): New functions for
1485 indentation and filling.
1486
1487 (rst-comment-line-break, rst-comment-indent)
1488 (rst-comment-insert-comment, rst-comment-region)
1489 (rst-uncomment-region): New functions for handling comments.
1490
1491 (rst-compile): Quote shell arguments.
1492
1493 (rst-compile-pdf-preview, rst-compile-slides-preview):
1494 Delete temporary files after use.
1495
a43f98b3
GM
14962012-05-05 Glenn Morris <rgm@gnu.org>
1497
48176e8b
GM
1498 * calendar/cal-html.el: Optionally include holidays in the output.
1499 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1500 (cal-html-holidays): New option.
1501 (cal-html-css-default): Add holiday entry.
1502 (holiday-in-range): Autoload it.
1503 (cal-html-htmlify-entry): Add optional class argument.
1504 (cal-html-htmlify-list): Add optional holidays argument.
1505 (cal-html-insert-agenda-days): Include holidays in the output.
1506 (cal-html-one-month): Maybe include holidays.
1507
a43f98b3
GM
1508 * calendar/holidays.el (holiday-in-range):
1509 Move here from cal-tex-list-holidays.
1510 * calendar/cal-tex.el (cal-tex-list-holidays):
1511 Make it an obsolete alias for holiday-in-range. Update all callers.
1512
fef9d149 15132012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1514
1515 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1516 Nextstep.
1517
248da2f4
RW
15182012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1519
1520 * files.el (file-auto-mode-skip): New var.
1521 (set-auto-mode-1): Use it.
1522
f95e9344
SM
15232012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1524
df96ab1e
SM
1525 * repeat.el: Use lexical-binding.
1526 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1527 (repeat-undo-count): Remove.
1528 (repeat):
1529 * progmodes/octave-mod.el (octave-abbrev-start):
1530 * progmodes/f90.el (f90-abbrev-start):
1531 * face-remap.el (text-scale-adjust):
1532 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1533
5342bb06
SM
1534 * emacs-lisp/pcase.el (pcase--let*): New function.
1535 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1536 a bit more.
1537 (pcase--split-pred): Be more clever about ruling out overlap between
1538 a predicate and some constant pattern.
1539 (pcase--q1): Use `null' instead of (eq foo nil).
1540
f95e9344
SM
1541 * subr.el (setq-local, defvar-local): New macros.
1542 (kbd): Redefine as an alias.
1543 (with-selected-window): Leave unrelated frames alone.
1544 (set-temporary-overlay-map): New function.
1545
71873e2b
SM
15462012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * subr.el (user-error): New function.
1549 * window.el (switch-to-buffer):
1550 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1551 (smerge-match-conflict):
1552 * simple.el (previous-matching-history-element)
1553 (next-matching-history-element, goto-history-element, undo-more)
1554 (undo-start):
1555 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1556 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1557 (next-file, tags-loop-scan, list-tags, complete-tag):
1558 * progmodes/compile.el (compilation-loop):
1559 * mouse.el (mouse-minibuffer-check):
1560 * man.el (Man-bgproc-sentinel, Man-goto-page):
1561 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1562 (Info-history-forward, Info-follow-reference, Info-menu)
1563 (Info-extract-menu-item, Info-extract-menu-counting)
1564 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1565 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1566 (Info-next-reference, Info-prev-reference, Info-index)
1567 (Info-index-next, Info-follow-nearest-node)
1568 (Info-copy-current-node-name):
1569 * imenu.el (imenu--make-index-alist)
1570 (imenu-default-create-index-function, imenu-add-to-menubar):
1571 * files.el (basic-save-buffer, recover-file):
1572 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1573 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1574 (checkdoc-message-text, checkdoc-defun):
1575 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1576 * cus-edit.el (customize-changed-options, customize-rogue)
1577 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1578 (custom-variable-mark-to-reset-standard)
1579 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1580 (custom-file):
1581 * completion.el (check-completion-length):
1582 * comint.el (comint-search-arg)
1583 (comint-previous-matching-input-string-position)
1584 (comint-previous-matching-input)
1585 (comint-replace-by-expanded-history-before-point, comint-send-input)
1586 (comint-copy-old-input, comint-backward-matching-input)
1587 (comint-goto-process-mark, comint-set-process-mark):
1588 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1589 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1590
8a61ee22
SM
15912012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1592
66408d1e
SM
1593 * dabbrev.el (dabbrev--ignore-case-p): New function.
1594 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1595 Use it.
1596
8a61ee22
SM
1597 * files.el (automount-dir-prefix): Mark as obsolete.
1598
3c74813a
GM
15992012-05-04 Glenn Morris <rgm@gnu.org>
1600
1601 * patcomp.el, play/bruce.el: Move to obsolete/.
1602
0bfcf5c5
PE
16032012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1604
1605 Fix minor Y10k bugs.
1606 * arc-mode.el (archive-unixdate):
1607 * autoinsert.el (auto-insert-alist):
1608 * calc/calc-forms.el (math-this-year):
1609 * emacs-lisp/copyright.el (copyright-current-year)
1610 (copyright-update-year, copyright):
1611 * tar-mode.el (tar-clip-time-string):
1612 * time.el (display-time-update):
1613 Don't assume years have 4 digits.
1614
78f3273a
CY
16152012-05-04 Chong Yidong <cyd@gnu.org>
1616
1617 * dos-w32.el (file-name-buffer-file-type-alist)
1618 (direct-print-region-use-command-dot-com):
1619 * ffap.el (ffap-menu-regexp):
1620 * find-file.el (ff-special-constructs):
1621 * follow.el (follow-debug):
1622 * forms.el (forms--debug):
1623 * iswitchb.el (iswitchb-all-frames):
1624 * ido.el (ido-all-frames):
1625 * emacs-lisp/timer.el (timer-max-repeats):
1626 * mail/feedmail.el (feedmail-mail-send-hook)
1627 (feedmail-mail-send-hook-queued):
1628 * mail/footnote.el (footnote-signature-separator):
1629 * mail/mailabbrev.el (mail-alias-separator-string)
1630 (mail-abbrev-mode-regexp):
1631 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1632 * progmodes/idlwave.el (idlwave-libinfo-file)
1633 (idlwave-default-completion-case-is-down)
1634 (idlwave-library-routines): Convert defvars to defcustoms.
1635
1636 * mail/rmail.el (rmail-decode-mime-charset):
1637 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1638 (idlwave-shell-fix-inserted-breaks)
1639 (idlwave-shell-activate-alt-keybindings)
1640 (idlwave-shell-use-breakpoint-glyph):
1641 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1642
f7ae6719
SM
16432012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1646
47086495
WS
16472012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1648
1649 * progmodes/verilog-mode.el (font-lock-keywords):
1650 Fix mis-highligting auto. Reported by Craig Barner.
1651 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1652 defines from global name space. Reported by Dan Dever.
1653 (verilog-auto-reset, verilog-auto-reset-widths)
1654 (verilog-auto-tieoff): Support using unbased numbers for
1655 AUTORESET and AUTOTIEOFF.
1656 (verilog-submit-bug-report): Update variable list.
1657 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1658 parenthesis from not matching. Reported by Michael Rytting.
1659 (verilog-auto-template-lint): Fix hash error when linting modules
1660 with no used templates.
1661 (verilog-warn, verilog-warn-error)
1662 (verilog-warn-fatal): When non-interactive report multiple
1663 warnings before exiting. Suggested by Brad Dobbie.
1664 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1665 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1666 to report unused template errors. Reported by Brad Dobbie.
1667 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1668 nets, bug438. Reported by Vns Blore.
1669 (verilog-auto-inout-module, verilog-auto-reg)
1670 (verilog-read-decls, verilog-read-sub-decls-sig)
1671 (verilog-signals-edit-wire-reg, verilog-signals-with):
1672 Fix passing of Verilog data types in ANSI input/output ports
1673 such as "output logic" into the AUTOs. Special case "wire" and
1674 "reg" for backwards compatibility presuming Verilog 2001.
1675 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1676 (verilog-preprocess): Fix replication of preprocess output.
1677 Reported by Brad Dobbie.
1678 (verilog-auto-inst-interfaced-ports):
1679 Create verilog-auto-inst-interfaced-ports, bug429.
1680 Reported by Julian Gorfajn.
1681 (verilog-after-save-font-hook)
1682 (verilog-before-save-font-hook): New variable.
1683 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1684 (verilog-save-font-mods): Wrap disabling fontification, reported
1685 by David Rogoff.
1686 (verilog-do-indent, verilog-pretty-declarations-auto)
1687 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1688 Reported by Pierre-David Pfister.
1689 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1690 of class declarations, bug292. Reported by Kevin Heilman.
1691 (verilog-read-decls): Fix 'parameter type' not appearing in
1692 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1693 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1694 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1695 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1696 Reported by David Kravitz.
1697
16982012-05-03 Michael McNamara <mac@mail.brushroad.com>
1699
1700 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1701 assignment with tests in ifs and for loops.
1702 (verilog-extended-complete-re, verilog-complete-reg): Change so
1703 that DPI inport functions don't look like fuction declarations.
1704 (verilog-pretty-expr): Don't line up assignment
1705 operations to the test and increment in if and for loops
1706 (verilog-extended-complete-re, verilog-complete-reg): Change so
1707 that DPI inport functions don't look like fuction declarations
1708
2e51d4b5
KH
17092012-05-03 Kenichi Handa <handa@m17n.org>
1710
1711 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1712 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1713 (Bug#11282).
1714
2bd785a2
SM
17152012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * emacs-lisp/bytecomp.el
1718 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1719 since cconv.el might have introduced :fun-body, internal-make-closure,
1720 and friends for bytecomp to handle (bug#11391).
1721 * custom.el (defcustom): Avoid ((λ ..) ..).
1722
99d27583
SM
17232012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1726
55a71479
JB
17272012-05-02 Juanma Barranquero <lekktu@gmail.com>
1728
1729 * notifications.el (dbus-debug):
1730 * term/linux.el (gpm-mouse-enable):
1731 * term/screen.el (xterm-register-default-colors): Declare.
1732
7b97c764
CY
17332012-05-02 Chong Yidong <cyd@gnu.org>
1734
2bc356d7
CY
1735 * cus-start.el (gc-cons-percentage, exec-suffixes)
1736 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1737 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1738 (make-cursor-line-fully-visible, void-text-area-pointer)
1739 (font-list-limit): Add customization data.
1740
7b97c764
CY
1741 * allout.el (allout-exposure-change-functions)
1742 (allout-structure-added-functions)
1743 (allout-structure-deleted-functions)
1744 (allout-structure-shifted-functions): Rename abnormal hooks from
1745 *-hook, and convert to defcustoms.
5d3385a0
JB
1746 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1747 Convert to defcustoms.
7b97c764
CY
1748 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1749
1750 * allout-widgets.el: Hook callers changed.
1751
90207a15 17522012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
1753
1754 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1755 the yanked message in preference to the default value of
1756 buffer-file-coding-system.
1757
90207a15 17582012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 1759
5d3385a0
JB
1760 * window.el (display-buffer--action-function-custom-type):
1761 Fix entry.
d9558cad 1762
90207a15 17632012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
1764
1765 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1766
d80ac57b
GM
17672012-05-01 Glenn Morris <rgm@gnu.org>
1768
976f7668
GM
1769 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1770
beb83b5a
GM
1771 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1772
d80ac57b
GM
1773 * cus-edit.el (custom-variable-documentation): Simplify with format.
1774
b593d6a9
AH
17752012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1776 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * simple.el (suggest-key-bindings, execute-extended-command):
1779 Move from keyboard.c.
1780
782fbf2a
CY
17812012-05-01 Chong Yidong <cyd@gnu.org>
1782
1783 * follow.el: Eliminate advice.
1784 (set-process-filter, process-filter, sit-for): Advice deleted.
1785 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
1786 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1787 Vars deleted.
782fbf2a
CY
1788 (follow-auto): Use a :set function.
1789 (follow-mode): Rewritten. Don't advise process filters.
1790 (follow-switch-to-current-buffer-all, follow-scroll-up)
1791 (follow-scroll-down): Assume follow-mode is bound.
1792 (follow-comint-scroll-to-bottom)
1793 (follow-align-compilation-windows): New functions.
1794 (follow--window-sorter): New function.
1795 (follow-all-followers): Use it to explicitly sort windows by their
1796 positions; don't make assumptions about next-window order.
1797 (follow-windows-start-end, follow-delete-other-windows-and-split)
1798 (follow-calc-win-start): Doc fix.
1799 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1800 vertical-motion unnecessarily.
1801 (follow-adjust-window): New function.
1802 (follow-post-command-hook): Use it.
1803 (follow-call-set-process-filter, follow-call-process-filter)
1804 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1805 (follow-stop-intercept-process-output, follow-generic-filter):
1806 Functions deleted.
1807 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
1808 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1809 New functions, replacing advice on scroll-bar-* commands.
87233a14 1810 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
1811
1812 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
1813 (comint-postoutput-scroll-to-bottom): Use it.
1814 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 1815
290af740
GM
18162012-05-01 Glenn Morris <rgm@gnu.org>
1817
1818 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1819 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1820 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1821 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1822 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1823 Remove no-byte-compile setting.
1824
6eac8dc9
SM
18252012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1828 all-completions code to not return a number in the last cdr.
1829
9cc7819c
LL
18302012-04-30 Leo Liu <sdl.web@gmail.com>
1831
1832 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1833 read-only error.
1834
c93b886f
CY
18352012-04-29 Chong Yidong <cyd@gnu.org>
1836
1837 * follow.el (follow-calc-win-end): Rewrite to handle partial
1838 screen lines correctly (Bug#8390).
1839 (follow-avoid-tail-recenter): Minor cleanup.
1840
8b6c19f4
SM
18412012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1842
1843 Avoid the obsolete `assoc' package.
1844 * speedbar.el (speedbar-refresh): Avoid adelete.
1845 (speedbar-file-lists): Simplify and avoid aput.
1846 * man.el (Man--sections, Man--refpages): New vars, replacing
1847 Man-sections-alist and Man-refpages-alist.
1848 (Man-build-section-alist, Man-build-references-alist):
1849 Use them; avoid aput.
1850 (Man--last-section, Man--last-refpage): New vars.
1851 (Man-follow-manual-reference): Use them.
1852 Use the `default' arg of completing-read.
1853 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1854
c5bb7569
CY
18552012-04-27 Chong Yidong <cyd@gnu.org>
1856
d1d2e2e8
CY
1857 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1858
15cd8efd
CY
1859 * startup.el (x-apply-session-resources): New function.
1860
1861 * term/ns-win.el (ns-initialize-window-system):
1862 * term/w32-win.el (w32-initialize-window-system):
1863 * term/x-win.el (x-initialize-window-system): Use it to properly
1864 set menu-bar-mode and other vars from X resources, even if the
1865 initial frame is not a window-system frame (Bug#2299).
1866
c5bb7569
CY
1867 * subr.el (read-key): Avoid running filter function when setting
1868 up temporary tool bar entries (Bug#9922).
1869
a8e7d6d7 18702012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
1871
1872 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1873 (Bug#11344)
1874
a8e7d6d7 18752012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
1876
1877 * select.el (xselect--encode-string): New function, split from
1878 xselect-convert-to-string.
1879 (xselect-convert-to-string): Use it.
1880 (xselect-convert-to-filename, xselect-convert-to-os)
1881 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1882 returned strings are properly encoded (Bug#11315).
1883
a8e7d6d7 18842012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
1885
1886 * simple.el (delete-active-region): Move to killing custom group.
1887
a8e7d6d7 18882012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
1889
1890 * progmodes/which-func.el (which-func-current): Quote %
1891 characters for mode-line processing.
1892
578c1d4b 18932012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
1894
1895 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1896 reaching eob (Bug#11286).
1897
a8e7d6d7 18982012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
1899
1900 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1901 (gdb): Make it buffer-local and init to zero.
1902 (gdb-control-commands-regexp): New variable.
1903 (gdb-send): Don't wrap in "-interpreter-exec console" if
1904 gdb-control-level is positive. Increment gdb-control-level
1905 whenever the command matches gdb-control-commands-regexp, and
1906 decrement it each time the command is "end". (Bug#11279)
1907
a8e7d6d7 19082012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
1909
1910 * window.el (adjust-window-trailing-edge, enlarge-window)
1911 (shrink-window, window-resize):
1912 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1913 windows (Bug#11276).
1914
b3608390
CY
19152012-04-27 Chong Yidong <cyd@gnu.org>
1916
1917 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 1918 fix "missing prefix" warning. All callers changed.
b3608390 1919
797e6e88
SM
19202012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * emacs-lisp/assoc.el: Move to obsolete/.
1923
e95a67dc
SM
19242012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1925
657c21e4 1926 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
1927
1928 * term/ns-win.el (ns-define-service):
1929 * progmodes/pascal.el (pascal-goto-defun):
1930 * progmodes/js.el (js--read-tab):
1931 * progmodes/etags.el (tags-lazy-completion-table):
1932 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1933 * emacs-lisp/ewoc.el (ewoc--wrap):
1934 * emacs-lisp/assoc.el (aput, adelete, amake):
1935 * doc-view.el (doc-view-convert-current-doc):
1936 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1937
cb3e7ae0
CY
19382012-04-26 Chong Yidong <cyd@gnu.org>
1939
dce04f7f
CY
1940 * image.el (image-type-from-buffer): Only return supported image
1941 type (Bug#9045).
1942
cb3e7ae0
CY
1943 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1944 value, for symmetry with diff-end-of-hunk.
1945 (diff-split-hunk, diff-find-source-location)
1946 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1947 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1948 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1949 compute the relevant hunk or file properly (Bug#6005).
1950 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1951
0d42eb3e
SM
19522012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * vc/vc-mtn.el:
1955 * vc/vc-hg.el:
1956 * vc/vc-git.el:
1957 * vc/vc-dir.el:
1958 * vc/vc-cvs.el:
1959 * vc/vc-bzr.el:
1960 * vc/vc-arch.el:
1961 * vc/vc.el: Replace lexical-let by lexical-binding.
1962 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1963 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1964 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1965
f08ae1c9
CY
19662012-04-26 Chong Yidong <cyd@gnu.org>
1967
8b71081d
CY
1968 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1969 (diff-mode-shared-map): Bind it to / and [remap undo].
1970
f08ae1c9
CY
1971 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1972 (ediff-window-setup-function): Use it as the default, to set up
1973 windows based on whether the current frame is graphical (Bug#2138).
1974 (ediff-choose-window-setup-function-automatically): Make obsolete.
1975
1976 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1977
ef24141c
SM
19782012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1979
cc356a5d
SM
1980 * ffap.el: Remove old code for obsolete package.
1981 (ffap-complete-as-file-p): Remove.
1982
b4ff4f1f
SM
1983 Use completion-table-with-quoting for comint and pcomplete.
1984 * comint.el (comint--unquote&requote-argument)
1985 (comint--unquote-argument, comint--requote-argument): New functions.
1986 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1987 (comint-quote-filename): Use regexp-opt-charset.
1988 (comint--common-suffix, comint--common-quoted-suffix)
1989 (comint--table-subvert): Remove.
1990 (comint-unquote-function, comint-requote-function): New vars.
1991 (comint--complete-file-name-data): Use them with
1992 completion-table-with-quoting.
1993 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1994 * pcomplete.el (pcomplete-arg-quote-list)
1995 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1996 (pcomplete-unquote-argument-function): Default to non-nil.
1997 (pcomplete-unquote-argument): Simplify.
1998 (pcomplete--common-quoted-suffix): Remove.
1999 (pcomplete-requote-argument-function): New var.
2000 (pcomplete--common-suffix): New function.
2001 (pcomplete-completions-at-point): Use completion-table-with-quoting
2002 and completion-table-subvert.
2003
79c4eeb4
SM
2004 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2005 (minibuffer--double-dollars): Preserve properties.
2006 (completion--sifn-requote): New function.
2007 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2008
ef24141c
SM
2009 * minibuffer.el: Add support for completion of quoted/escaped data.
2010 (completion-table-with-quoting, completion-table-subvert): New funs.
2011 (completion--twq-try, completion--twq-all): New functions.
2012 (completion--nth-completion): New function.
2013 (completion-try-completion, completion-all-completions): Use it.
2014
784e7d6e
LL
20152012-04-25 Leo Liu <sdl.web@gmail.com>
2016
dd2ac746
SM
2017 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2018 Use compilation-message if available to find real filename.
784e7d6e 2019
07875ee7
CY
20202012-04-25 Chong Yidong <cyd@gnu.org>
2021
2022 * vc/diff-mode.el (diff-setup-whitespace): New function.
2023 (diff-mode): Use it.
2024
2025 * vc/diff.el (diff-sentinel):
2026 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2027 Whitespace mode variables based on diff style (Bug#8612).
2028
5055880d
LL
20292012-04-25 Leo Liu <sdl.web@gmail.com>
2030
daf75653
LL
2031 * progmodes/python.el (python-send-region): Add suffix .py to the
2032 temp file.
2033
5055880d
LL
2034 * files.el (auto-mode-alist): Use javascript-mode instead.
2035
db9b177b
AH
20362012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2037
ef24141c 2038 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2039
2040 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2041 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2042 references, see Bug#9.
ef24141c 2043 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2044 when receiving a fault reply.
ef24141c 2045 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2046
2047 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2048 (soap-inspect-simple-type): New function.
db9b177b 2049
ef24141c 2050 * soap-client.el (soap-simple-type): New struct.
db9b177b 2051 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2052 (soap-decode-basic-type, soap-encode-basic-type):
2053 support unsignedInt and double basic types.
db9b177b 2054 (soap-resolve-references-for-simple-type)
ef24141c
SM
2055 (soap-parse-simple-type, soap-encode-simple-type): New function.
2056 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2057
2058 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2059 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2060 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2061 the local name of "soapenc:Array".
2062 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2063 decoding integer, byte and anyURI xsd types.
2064
1fc6097b
CY
20652012-04-25 Chong Yidong <cyd@gnu.org>
2066
2067 * cus-edit.el (custom-buffer-create-internal): Update header text.
2068
afc6df87
EZ
20692012-04-25 Eli Zaretskii <eliz@gnu.org>
2070
2071 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2072 settings on 'system-type', not on 'window-system'. On MS-Windows,
2073 set interactive-mode on in GDB.
2074
dfbd787f
SM
20752012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2076
2077 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2078 (ruby-syntax-propertize-regexp): Remove.
2079 (ruby-syntax-propertize-function): Split regexp into chunks.
2080 Match following code directly.
2081
85222d44
DG
20822012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2083
51a8ea2a
DG
2084 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2085 (ruby-syntax-propertize-regexp): New function.
2086 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2087 by a special keyword.
2088
85222d44
DG
2089 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2090 (ruby-syntax-general-delimiters-goto-beg)
2091 (ruby-syntax-propertize-general-delimiters): New functions.
2092 (ruby-syntax-propertize-function): Use them to handle GDL.
2093 (ruby-font-lock-keywords): Move old handling of GDL...
2094 (ruby-font-lock-syntactic-keywords): .. to here.
2095 (ruby-calculate-indent): Adjust indentation for GDL.
2096
b613912b
MA
20972012-04-24 Michael Albinus <michael.albinus@gmx.de>
2098
b5380639
MA
2099 * notifications.el (top): Remove unneeded declarations.
2100 (notifications-specification-version): Change to "1.2".
e43042fe 2101 (notifications-interface, notifications-notify-method)
b613912b
MA
2102 (notifications-close-notification-method): Fix docstring.
2103 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2104 (notifications-notify): Add :action-items, :resident and
2105 :transient hints. Change "image_data" to "image-data" and
2106 "image_path" to "image-path".
b613912b
MA
2107 (notifications-get-capabilities): New defun.
2108
257440aa
LL
21092012-04-24 Leo Liu <sdl.web@gmail.com>
2110
2111 * progmodes/python.el: Move hideshow setup to the end.
2112
b1bac16e
MR
21132012-04-24 Martin Rudalics <rudalics@gmx.at>
2114
2115 * window.el (handle-select-window): Clear echo area since this is
2116 no more done by read_char (Bug#11304).
2117
d81bd059
SM
21182012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2121 and `/ M' to filter-derived-mode.
2122 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2123 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2124 (ibuffer-mark-by-mode): Use default rather than initial-input.
2125 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2126
c4cf6d91
IA
21272012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2128
2129 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2130 (ibuffer-filter-by-derived-mode): New filter.
2131 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2132
7511ded8
CY
21332012-04-23 Andreas Politz <politza@fh-trier.de>
2134
2135 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2136
775c916b
CY
21372012-04-23 Chong Yidong <cyd@gnu.org>
2138
2139 * cus-edit.el (customize-apropos, customize-apropos-options):
2140 Disable matching of non-option variables (Bug#11176).
2141 (customize-option, customize-option-other-window)
2142 (customize-changed-options): Doc fix.
2143 (customize-apropos-options, customize-apropos-faces)
2144 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2145
2146 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2147 Fix word list splitting (Bug#11132).
46c71e23
CY
2148 (apropos-symbol, apropos-keybinding, apropos-label)
2149 (apropos-property, apropos-function-button)
2150 (apropos-variable-button, apropos-misc-button): New faces.
2151 (apropos-symbol-face, apropos-keybinding-face)
2152 (apropos-label-face, apropos-property-face, apropos-match-face):
2153 Variables removed (Bug#8396).
2154 (apropos-library-button, apropos-format-plist, apropos-print)
2155 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2156
2df41f9c
MA
21572012-04-23 Michael Albinus <michael.albinus@gmx.de>
2158
2159 * net/xesam.el (xesam-mode-map): Use let-bound map in
2160 initialization. (Bug#11292)
2161
da00640a
AM
21622012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2163
2164 Preserve ispell session localwords when switching back to
2165 original buffer.
2166
2167 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2168 variable to hold buffer session localwords.
2169 (ispell-kill-ispell): add option 'clear to delete session
2170 localwords.
2171 (ispell-command-loop, ispell-change-dictionary)
2172 (ispell-buffer-local-words): Preserve session localwords when
2173 needed.
2174
2175 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2176 Preserve session localwords when needed.
2177
f621ccf5
AM
21782012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2179
2180 * ispell.el (ispell-insert-word) Remove unneeded function using
2181 obsolete `translation-table-for-input'.
ef24141c
SM
2182 (ispell-word, ispell-process-line, ispell-complete-word):
2183 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2184
c2d1019e
CY
21852012-04-22 Chong Yidong <cyd@gnu.org>
2186
2187 * cus-edit.el (custom-variable-menu)
2188 (custom-variable-reset-saved, custom-face-menu)
2189 (custom-face-reset-saved): If there is no saved value, make the
2190 "reset-saved" operation bring back the default (Bug#9509).
2191 (custom-face-state): Properly detect themed faces.
2192
eeddc531
CY
2193 * faces.el (face-spec-set): Stop supporting deprecated form of
2194 third arg.
2195
dcbf5805
MA
21962012-04-22 Michael Albinus <michael.albinus@gmx.de>
2197
2198 Move functions from C to Lisp. Make non-blocking method calls
2199 the default. Implement further D-Bus standard interfaces.
2200
ef24141c
SM
2201 * net/dbus.el (dbus-message-internal): Declare function.
2202 Remove unneeded function declarations.
dcbf5805
MA
2203 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2204 (dbus-message-type-method-return, dbus-message-type-error)
2205 (dbus-message-type-signal): Declare variables. Remove local
2206 definitions.
2207 (dbus-interface-dbus, dbus-interface-peer)
2208 (dbus-interface-introspectable, dbus-interface-properties)
2209 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2210 Adapt docstring.
2211 (dbus-interface-objectmanager): New defconst.
2212 (dbus-call-method, dbus-call-method-asynchronously)
2213 (dbus-send-signal, dbus-method-return-internal)
2214 (dbus-method-error-internal, dbus-register-service)
2215 (dbus-register-signal, dbus-register-method): New defuns, moved
2216 from dbusbind.c
2217 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2218 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2219 New defuns.
dcbf5805
MA
2220 (dbus-call-method-non-blocking): Make it an obsolete function.
2221 (dbus-unregister-object, dbus-unregister-service)
2222 (dbus-handle-event, dbus-register-property)
2223 (dbus-property-handler): Obey the new structure of
2224 `bus-registered-objects'.
2225 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2226 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2227 Use `dbus-call-method'.
2228
cf20dee0
CY
22292012-04-22 Chong Yidong <cyd@gnu.org>
2230
2231 * cus-edit.el (custom-commands, custom-reset-menu)
2232 (Custom-reset-standard): Tweak labels.
2233 (custom-reset-button-menu): Change default to t.
2234 (custom-buffer-create-internal): For the custom-reset-button-menu
2235 case, put the revert button first.
2236 (custom-group-subtitle): New face.
2237 (custom-group-value-create): Align docstring to a specific column.
2238
2239 * wid-edit.el (widget-documentation-link-add): Don't handle
2240 indentation in this function.
2241 (widget-documentation-string-indent-to): New function.
2242 (widget-documentation-string-value-create): Use it.
2243
2244 * autorevert.el (auto-revert):
2245 * epg-config.el (epg):
2246 * ibuffer.el (ibuffer):
2247 * mpc.el (mpc):
2248 * ses.el (ses):
2249 * eshell/eshell.el (eshell):
2250 * net/ange-ftp.el (ange-ftp):
2251 * progmodes/ebnf2ps.el (postscript):
2252 * progmodes/flymake.el (flymake):
2253 * progmodes/prolog.el (prolog):
2254 * progmodes/verilog-mode.el (verilog-mode):
2255 * progmodes/which-func.el (which-func):
2256 * term/xterm.el (xterm):
2257 * textmodes/picture.el (picture):
2258 * textmodes/tildify.el (tildify):
2259 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2260 customization buffers.
2261
583e23bd
AM
22622012-04-22 Alan Mackenzie <acm@muc.de>
2263
2264 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2265 Adding a ) can hide the resulting (..) from searches. Fix it.
2266 Bound the backward search to the position of the existing (.
2267
7dd51bf1
JB
22682012-04-21 Juanma Barranquero <lekktu@gmail.com>
2269
2270 * progmodes/verilog-mode.el (verilog-mode): Check whether
2271 which-func-modes is t before adding verilog-mode.
2272 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2273
d64a438f
LL
22742012-04-21 Leo Liu <sdl.web@gmail.com>
2275
7dd51bf1 2276 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2277
081e8d65
MV
22782012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2279
2280 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2281 filling of the last column of a table (Bug#5635).
2282 (woman-find-next-control-line): New arg, specifying an additional
2283 regexp component for the control line.
2284 (woman2-roff-buffer): Use it.
2285 (woman-break-table): New function.
2286 (woman2-TS): Use it.
2287
22882012-04-21 Chong Yidong <cyd@gnu.org>
2289
2290 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2291 (woman-horizontal-escapes, woman-negative-vertical-space)
2292 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2293 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2294
ed571ccb
SM
22952012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * minibuffer.el (completion-file-name-table): Complete user names.
2298
39773899
LL
22992012-04-20 Leo Liu <sdl.web@gmail.com>
2300
2301 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2302 and pcase-let*.
2303
de6ff46d
CY
23042012-04-20 Chong Yidong <cyd@gnu.org>
2305
2306 * server.el (server-execute): Respect initial-buffer-choice if it
2307 is a string and there are no files to open (Bug#2825).
2308 (server-create-window-system-frame, server-create-tty-frame):
2309 Don't switch buffers here.
2d0e8e61
CY
2310 (server-process-filter): Only try to open a window system frame if
2311 compiled with graphical support (Bug#8314).
de6ff46d 2312
54071013
DN
23132012-04-20 Dan Nicolaescu <dann@gnu.org>
2314
2315 * battery.el (battery-echo-area-format): Display remaining time
2316 for sysfs backend too (Bug#11269).
2317 (battery-linux-sysfs): Fix conditional for the charge.
2318
f30d612a
CY
23192012-04-20 Chong Yidong <cyd@gnu.org>
2320
c07a4c0b 2321 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2322 (gdb-inferior-io--init-proc): New function.
2323 (gdb-init-1): Use it.
2324 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2325 responsible for allocating a new pty and hooking it to gdb when
2326 the old pty gets an EIO due to process exit.
2327 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2328 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2329 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2330
2116e93c
EZ
23312012-04-20 Eli Zaretskii <eliz@gnu.org>
2332
2333 * window.el (window-min-size, window-sizable, window-min-delta)
2334 (window-max-delta, window--resizable, window-resizable)
2335 (window-total-size, window-full-height-p, window-full-width-p)
2336 (window-in-direction, window--resize-mini-window, window-resize)
2337 (window--resize-child-windows-normal)
2338 (window--resize-child-windows, window--resize-siblings)
2339 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2340 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2341
c07a4c0b 23422012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2343
ef24141c
SM
2344 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2345 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2346 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2347 pty process (Bug#11273).
2348 (gdb-update): New arg to suppress talking to the gdb process.
2349 (gdb-done-or-error): Use it.
2350 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2351 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2352 sentinel not being called.
2353
2354 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2355
d02766ab
CY
2356 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2357
c07a4c0b 23582012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2359
2360 * net/network-stream.el (open-network-stream): Doc fix.
2361
c07a4c0b 23622012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2363
2364 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2365
c07a4c0b 23662012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2367
2368 Ensure searching for keywords is case sensitive.
2369
2370 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2371 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2372 (c-defun-name, c-mark-function, c-cpp-define-name)
2373 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2374 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2375
ef24141c
SM
2376 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2377 Bind case-fold-search to nil.
f0f6bc35 2378
c07a4c0b 23792012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2380
2381 * mail/sendmail.el (mail-bury): Call return action with the right
2382 Rmail buffer (Bug#11242).
2383
9a864fa2
CY
2384 * server.el (server-process-filter): Handle corner case where both
2385 tty and nowait options are present (Bug#11102).
2386
539aa513
EZ
23872012-04-20 Eli Zaretskii <eliz@gnu.org>
2388
2389 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2390 (top level): Put into the executable the ident-style '$Id:' tag on
2391 windows-nt as well.
539aa513 2392
cfc7d5da
SM
23932012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * electric.el (electric-indent-post-self-insert-function): Check that
2396 electric-indent-mode is enabled in current buffer.
2397
5b01685c
JB
23982012-04-19 Juanma Barranquero <lekktu@gmail.com>
2399
2400 * imenu.el (imenu-progress-message): Restore; it is "used" in
2401 erc/erc-imenu.el and net/snmp-mode.el.
2402
4d6769e1
JB
24032012-04-19 Juanma Barranquero <lekktu@gmail.com>
2404
2405 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2406 (mouse-avoidance-nudge-mouse): Remove unused binding.
2407
2408 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2409
2410 * descr-text.el (describe-char):
2411 * progmodes/python.el (python-describe-symbol):
2412 Don't call `toggle-read-only', set `buffer-read-only'.
2413
2414 * imenu.el (imenu-default-goto-function): Mark unused args.
2415 (imenu-progress-message): Remove obsolete macro; all callers changed.
2416
2417 * subr.el (keymap-canonicalize): Remove unused binding.
2418 (read-passwd): Mark unused arg.
2419
2420 * tutorial.el (tutorial--display-changes): Remove unused binding.
2421 (tutorial--save-tutorial-to): Remove unused variable.
2422
2423 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2424 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2425 (package-generate-autoloads, package-menu--generate)
2426 (package-menu--find-upgrades): Remove unused bindings.
2427
2428 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2429 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2430 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2431 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2432 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2433 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2434 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2435 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2436 (cua-delete-char-rectangle): Mark unused args.
2437 (cua-align-rectangle): Remove unused binding.
2438
2439 * mail/rmail.el (compilation--message->loc)
2440 (epa--find-coding-system-for-mime-charset): Declare.
2441
2442 * net/dbus.el (dbus-register-service): Declare.
2443 (dbus-name-owner-changed-handler): Remove unused binding.
2444
2445 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2446 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2447 (nxml-scan-backward-within): Mark unused arg.
2448 (nxml-dynamic-markup-word): Remove unused binding.
2449
2450 * mouse.el (mouse-menu-major-mode-map):
2451 * emacs-lisp/authors.el (authors-scan-change-log)
2452 (authors-add-to-author-list):
2453 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2454 * emacs-lisp/smie.el (smie-auto-fill):
2455 * mail/sendmail.el (mail-bury):
2456 * mail/unrmail.el (unrmail):
2457 * net/tls.el (open-tls-stream):
2458 * textmodes/picture.el (picture-mouse-set-point):
2459 Remove unused bindings.
2460
8c8fc5df
MA
24612012-04-19 Michael Albinus <michael.albinus@gmx.de>
2462
2463 * net/tramp.el (tramp-action-password): Let-bind
2464 `enable-recursive-minibuffers' to t.
2465
a77b0ac9
SS
24662012-04-18 Sam Steingold <sds@gnu.org>
2467
2468 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2469 instead of 'string to accommodate values like [f11].
2470 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2471 * progmodes/gdb-mi.el: Likewise.
2472
12a106a9
LL
24732012-04-18 Leo Liu <sdl.web@gmail.com>
2474
2475 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2476 current buffer.
2477 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2478 LOCAL is nil.
2479
bc6494ef
CY
24802012-04-18 Chong Yidong <cyd@gnu.org>
2481
2482 * simple.el (line-move): Use forward-line if in batch mode
2483 (Bug#11053).
2484
c09c46b2
CS
24852012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2486
2487 * files.el (after-find-file): Do not try to add a final newline if
2488 the buffer is read-only (Bug#11156).
2489
5f6530ea
RS
24902012-04-17 Richard Stallman <rms@gnu.org>
2491
2492 * mail/rmail.el (rmail-start-mail):
2493 Pass (rmail-mail-return...) for the return-action.
2494 Pass (rmail-yank-current-message...) for the yank-action.
2495 (rmail-yank-current-message): New function.
2496 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2497 (rmail-reply): Likewise.
2498 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2499
2500 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2501 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2502 buffer, not newbuf.
2503
197b6f3c
JB
25042012-04-17 Juanma Barranquero <lekktu@gmail.com>
2505
2506 * server.el (server-ensure-safe-dir): Simplify.
2507
2311d8e5 25082012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2509
2311d8e5
GM
2510 * emacs-lisp/smie.el: Provide smarter auto-filling.
2511 (smie-auto-fill): New function.
2512 (smie-setup): Use it.
98fb480e 2513
2311d8e5
GM
2514 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2515
25162012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2517
2518 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2519 (comment-indent): Use it.
2520
2311d8e5 25212012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2522
2523 * ses.el: The overall change is to add cell renaming, that is
2524 setting fancy names for cell symbols other than name matching
2525 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2526 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2527 (ses-create-cell-variable): New defun.
2311d8e5 2528 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2529 (ses-relocate-formula): Relocate formulas only for cells the
2530 symbols of which are not renamed, i.e. symbols whose names do not
2531 match regexp "\\`[A-Z]+[0-9]+\\'".
2532 (ses-relocate-all): Relocate values only for cells the symbols of
2533 which are not renamed.
2534 (ses-load): Create cells variables as the (ses-cell ...) are read,
2535 in order to check row col consistency with cell symbol name only
2536 for cells that are not renamed.
2537 (ses-replace-name-in-formula): New defun.
2538 (ses-rename-cell): New defun.
4bdf2ad2 2539
fc72b15c
PO
25402012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2541
2542 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2543 New option (bug#11118).
2544 (perl-calculate-indent): Respect it.
2545
12e10e61
GM
25462012-04-17 Glenn Morris <rgm@gnu.org>
2547
2548 * dired-aux.el (dired-mark-read-string): Doc fix.
2549
30009afd
DA
25502012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2551
2552 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2553 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2554
41f03f4d
GM
25552012-04-17 Glenn Morris <rgm@gnu.org>
2556
2557 * mouse.el (mouse-drag-track):
2558 * speedbar.el (speedbar-frame-mode):
2559 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2560
f45f90f3
LL
25612012-04-16 Leo Liu <sdl.web@gmail.com>
2562
2563 * progmodes/python.el: Trivial cleanup.
2564
94ee8db5
GM
25652012-04-16 Glenn Morris <rgm@gnu.org>
2566
121b8917
GM
2567 * vc/vc.el (vc-string-prefix-p):
2568 * vc/pcvs-util.el (cvs-string-prefix-p):
2569 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2570 * mpc.el (mpc-string-prefix-p):
2571 Make all of these into obsolete aliases for string-prefix-p.
2572 Update callers.
2573 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2574
1197ecfa
GM
2575 * textmodes/two-column.el: Move custom options to the start.
2576 (frame-width): Remove compat definition.
2577 (2C-associate-buffer, 2C-dissociate):
2578 Use with-current-buffer rather than save-excursion.
2579 (2C-dissociate): Force a mode-line update.
2580 (2C-autoscroll): Use ignore-errors.
2581
099e7202
GM
2582 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2583 Autoload trivia.
2584
bf350d6a
GM
2585 * emacs-lisp/cl-extra.el (*random-state*):
2586 Remove unnecessary declaration.
2587
0e829eab
GM
2588 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2589
e3ad7552
GM
2590 * play/cookie1.el (cookie-snarf):
2591 Give an explicit error if input file cannot be read.
2592
68892d27
GM
2593 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2594
20f0c46d
GM
2595 * progmodes/perl-mode.el (c-macro-expand):
2596 Remove unnecessary autoload (it is in loaddefs.el).
2597
5a0978ce
GM
2598 * textmodes/picture.el (picture-desired-column)
2599 (picture-update-desired-column): Convert comments to doc-strings.
2600 (picture-substitute): Remove function.
2601 (picture-mode-map): Initialize in the defvar.
2602
6b955486
GM
2603 * woman.el: Remove eval-after-load for tar-mode.
2604 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2605 (woman-tar-extract-file): Autoload it.
2606
94ee8db5
GM
2607 * frame.el (automatic-hscrolling): Make this alias obsolete.
2608
177eca34
AM
26092012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2610
2611 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2612 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2613 (ispell-dictionary-base-alist): Revert to original XEmacs
2614 friendly version for default. [:alpha:] will be added in
2615 `ispell-set-spellchecker-params' if needed
177eca34 2616
c505aaeb
CY
26172012-04-16 Chong Yidong <cyd@gnu.org>
2618
2619 * image.el (imagemagick--extension-regexp): New variable.
2620 (imagemagick-register-types): Use it.
2621 (imagemagick-types-inhibit): Add :set function. Allow new value
2622 of t to inhibit all types.
2623
2624 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2625 so we can preload it.
2626
2627 * loadup.el (fboundp): Preload regexp-opt, needed by
2628 imagemagick-register-types.
2629
60efac0f
CY
26302012-04-15 Chong Yidong <cyd@gnu.org>
2631
2632 * frame.el (scrolling): Remove nearly unused customization group.
2633
2634 * scroll-all.el (scroll-all-mode): Move to windows group.
2635
5dd1713e
CY
26362012-04-15 Chong Yidong <cyd@gnu.org>
2637
2638 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2639
e6fd457e
CY
26402012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2641
2642 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2643 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2644
e153c136
GM
26452012-04-15 Glenn Morris <rgm@gnu.org>
2646
2647 * simple.el (process-file-side-effects): Doc fix.
2648
e6fd457e 26492012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2650
2651 * international/mule-cmds.el (set-language-environment): Doc fix.
2652
3603c3b1
JB
26532012-04-14 Juanma Barranquero <lekktu@gmail.com>
2654
2655 * server.el (server-auth-key, server-generate-key): Doc fixes.
2656 (server-get-auth-key): Doc fix. Use `string-match-p'.
2657 (server-start): Reflow docstring.
2658
e6de100c
LI
26592012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2660
2661 * server.el (server-generate-key): `called-interactively-p'
2662 requires a parameter.
2663
29734c21
MN
26642012-04-14 Michal Nazarewicz <mina86@mina86.com>
2665
2666 * server.el (server-auth-key): New variable.
75f1671a 2667 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2668 (server-start): Use the new variable and functions to allow
2669 setting a permanent server key (bug#9423).
2670
d65c9521
LL
26712012-04-14 Leo Liu <sdl.web@gmail.com>
2672
2673 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2674
5ae255c7
PE
26752012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2676
2677 Spelling fixes.
2678 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2679 Emacs uses American spelling.
2680
d5e6342e
JB
26812012-04-14 Juanma Barranquero <lekktu@gmail.com>
2682
2683 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2684 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2685 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2686 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2687
ab036cd7
SM
26882012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * progmodes/which-func.el (which-func-modes): Change default.
2691
35dc09a1 26922012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2693
2694 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2695 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2696
35dc09a1 26972012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2698
2699 * custom.el (custom-theme-set-variables): Doc fix.
2700
35dc09a1 27012012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2702
2703 * international/mule.el (set-auto-coding-for-load): Doc fix.
2704
35dc09a1 27052012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2706
35dc09a1
GM
2707 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2708 imenu work again for Objective C Mode. Correct the *-index values,
2709 these having been disturbed by a previous change in 2011-08.
57f845ee 2710
0de3da9f
AM
2711 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2712 Correct two search limits.
2713
35dc09a1 27142012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2715
2716 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2717
35dc09a1 27182012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
2719
2720 * international/characters.el: Fix sorting.
2721
35dc09a1 27222012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
2723
2724 * international/characters.el: Add more missing Latin case pairs.
2725
35dc09a1 27262012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
2727
2728 * files.el (dir-locals-set-class-variables): Doc fix.
2729
35dc09a1 27302012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 2731
3f1b5bf8
EZ
2732 * international/characters.el: Add set-case-syntax-pair call for
2733 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2734 counterpart. (Bug#11209)
2735
9f847f41
EZ
2736 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2737
35dc09a1 27382012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
2739
2740 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2741
35dc09a1 27422012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 2743
35dc09a1
GM
2744 * textmodes/ispell.el (ispell-dictionary-base-alist):
2745 Add data for Hebrew.
e2627d21 2746
35dc09a1 27472012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 2748
35dc09a1
GM
2749 * net/rcirc.el (rcirc-cmd-quit):
2750 Revert 2012-03-18 change (Bug#11192).
5c14e333 2751
35dc09a1 27522012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
2753
2754 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2755
35dc09a1 27562012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 2757
4517fe3a
SM
2758 * minibuffer.el (completion-in-region-mode-map):
2759 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 2760
b472a594
VD
27612012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2762
2763 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2764
09b95ce3
MY
27652012-04-13 Masatake YAMATO <yamato@redhat.com>
2766
2767 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2768 to allow `C-M-f' and `C-M-b' to move to the nearest path
2769 separator (bug#9511).
2770
4b63a9ca
LI
27712012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2772
2773 * avoid.el: Require cl when compiling. And also move the
2774 `provide' to the end.
2775
7b55b8bf
TV
27762012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2777
2778 * avoid.el (mouse-avoidance-banish-position): New variable.
2779 (mouse-avoidance-banish-destination): Use it (bug#10165).
2780
adedaa1f
LL
27812012-04-13 Leo Liu <sdl.web@gmail.com>
2782
2783 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2784
70e74021
KB
27852012-04-13 Ken Brown <kbrown@cornell.edu>
2786
2787 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 2788 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
2789 (browse-url-filename-alist): For the same reason, don't modify
2790 file:// URLs on Cygwin.
2791
e75e89ba
SM
27922012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2795 the region on shift if the binding is already shifted (bug#11221).
2796
82f289a4
GM
27972012-04-12 Glenn Morris <rgm@gnu.org>
2798
2799 * mail/mailpost.el: Move to obsolete/.
2800
d333dc4c
DA
28012012-04-12 Drew Adams <drew.adams@oracle.com>
2802
2803 * imenu.el (imenu--generic-function): Ignore invisible definitions
2804 (bug#10123).
2805
0d15b5ba
VD
28062012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2807
2808 * hexl.el (hexl-bits): New variable.
2809 (hexl-options): Mention the variable in the doc string.
75f1671a 2810 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 2811 (hexl-mode): Mention the new variable.
75f1671a
JB
2812 (hexl-mode, hexl-current-address, hexl-current-address):
2813 Use the displen.
0d15b5ba
VD
2814 (hexl-ascii-start-column): New function.
2815 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2816 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2817
64a440db
AM
28182012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2819
2820 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2821 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2822 the encoding, as expected by hunspell.
2823
6decb6c2
SM
28242012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2825
2826 * battery.el (battery--linux-sysfs-regexp): New const.
2827 (battery-status-function): Use it. Remove yeeloong special case.
2828 (battery-yeeloong-sysfs): Remove.
2829 (battery-echo-area-format): Remove yeeloong special case.
2830
088be6fb
SM
28312012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2832
6622e416
SM
2833 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2834 Reported by Noah Friedman.
2835
088be6fb
SM
2836 * subr.el (read-passwd): Use read-string.
2837
b49f886e
LMI
28382012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2839
2840 * vcursor.el (vcursor-move): Increase the priority of the overlay
2841 (bug#9663).
2842
a63067fc
DD
28432012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2844
2845 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2846 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2847
ac3cf14a
WS
28482012-04-11 William Stevenson <yhvh2000@gmail.com>
2849
2850 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2851 define-minor-mode (bug#10760).
2852
c4fc691b 28532012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 2854
4d6769e1 2855 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
2856 that directories matching `grep-find-ignored-files' won't be
2857 pruned (bug#10351).
2858
af23e2e5
CY
28592012-04-11 Chong Yidong <cyd@gnu.org>
2860
2861 * startup.el (command-line): Remove support for long-obsolete
2862 variable font-lock-face-attributes.
2863
ab7ce8c1
GM
28642012-04-11 Glenn Morris <rgm@gnu.org>
2865
2866 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2867
de8c03dc
SM
28682012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2869
2870 * window.el (window--state-get-1): Obey window-point-insertion-type.
2871
050cc68b
LB
28722012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2873
2874 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2875 to previous function when point is on the first character of a
75f1671a 2876 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 2877
a38c310c
GM
28782012-04-11 Glenn Morris <rgm@gnu.org>
2879
effed0c2
GM
2880 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2881 not just file-errors.
2882
a38c310c
GM
2883 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2884 (vc-bzr-sha1): Use internal sha1.
2885
0221e323
SM
28862012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2889
43956923
SG
28902012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2891
2892 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2893 that start in the middle of the line (bug#10496).
2894
6a8c9eaf
DN
28952012-04-10 Dan Nicolaescu <dann@gnu.org>
2896
2897 * battery.el (battery-linux-proc-acpi): Only one battery is
2898 discharged at a time, but that seems to confuse battery.el when
2899 computing `rate-type' for the battery not being discharged
2900 (bug#10332).
2901
1930bf5d
SM
29022012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2a718f6f
SM
2904 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2905
599430d0
SM
2906 * international/quail.el: Use dolist and simplify.
2907 (quail-define-package, quail-update-keyboard-layout)
2908 (quail-define-rules): Use dolist.
2909 (quail-insert-kbd-layout, quail-get-translation): CSE.
2910
a2754b6c
SM
2911 * tmm.el: Use dolist, remove left over hook.
2912 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2913 Use dolist.
2914 (calendar-load-hook): Don't mess with it.
2915
1930bf5d
SM
2916 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2917 Use derived-mode-p. Run the diff asynchronously.
2918
9f67961c
LMI
29192012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2920
2921 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2922
2a8ce227
JB
29232012-04-10 Juanma Barranquero <lekktu@gmail.com>
2924
2925 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2926 (list-dynamic-libraries--loaded): New function.
2927 (list-dynamic-libraries--refresh): Use it.
2928
8f33b5f8
NW
29292012-04-10 Nathan Weizenbaum <nweiz@google.com>
2930
1930bf5d
SM
2931 * progmodes/python.el (python-fill-paragraph):
2932 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
2933 disabled (bug#7018).
2934
b12f0439
L
29352012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2936
1930bf5d 2937 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
2938 DOS/MS Windows for the Baltic languages. There are still plenty
2939 of texts written in this encoding/codepage (bug#6519).
b12f0439 2940
57c3bd01
GM
29412012-04-10 Glenn Morris <rgm@gnu.org>
2942
2943 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2944 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2945
6c3eab30
FA
29462012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2947
1930bf5d 2948 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
2949 next-line "n" and previous-line "p" in order to make recentf more
2950 consistent with ibuffer, dired or org-mode (bug#9387).
2951
24d78a88
LMI
29522012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2953
bc72b5d9
LMI
2954 * image.el (put-image): Return the overlay created instead of the
2955 optional input string (bug#7834). Note that this may break code
2956 that is (for some reason or other) depending on `put-image'
2957 returning the string.
2958
bd2dba5a
LMI
2959 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2960
74beb59f
LMI
2961 * simple.el (zap-to-char): Allow zapping using input methods
2962 (bug#1580).
2963
24d78a88
LMI
2964 * textmodes/fill.el (fill-region): Leave point and mark where they
2965 were before filling (bug#5399).
2966
263f20cd
GM
29672012-04-09 Glenn Morris <rgm@gnu.org>
2968
2969 * version.el (emacs-bzr-get-version):
2970 Handle lightweight checkouts of local branches.
2971
58d1f797
AS
29722012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2973
263f20cd 2974 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 2975
b4d3bc10
CY
29762012-04-09 Chong Yidong <cyd@gnu.org>
2977
2978 * custom.el (custom-variable-p): Return nil for non-symbol
2979 arguments instead of signaling an error.
2980 (user-variable-p): Obsolete alias for custom-variable-p.
2981
2982 * apropos.el (apropos-variable):
2983 * files-x.el (read-file-local-variable):
2984 * simple.el (set-variable):
2985 * woman.el (woman-mini-help):
2986 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2987
fd06db5d
GM
29882012-04-09 Glenn Morris <rgm@gnu.org>
2989
e5fcdb5e
GM
2990 * startup.el (normal-top-level): Don't look for leim-list.el
2991 in places where it will not be found. (Bug#910)
2992
fd06db5d
GM
2993 * international/mule-cmds.el (set-default-coding-systems):
2994 * files.el (normal-mode):
2995 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2996 This function was removed with ucs-tables.el in 2008.
2997
b39bb7e1
EZ
29982012-04-08 Eli Zaretskii <eliz@gnu.org>
2999
3000 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3001 ispell-encoding8-command to "-i", without a trailing space.
3002 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3003 separate command-line arguments, to specify the encoding, since
3004 that's how hunspell expects it.
3005
5c5b8e23
GM
30062012-04-08 Glenn Morris <rgm@gnu.org>
3007
3008 * loadup.el: Load bindings before cus-start.
3009 This reduces somewhat the number of "rogue" settings in emacs -Q.
3010
a1ed8b05
GM
30112012-04-07 Glenn Morris <rgm@gnu.org>
3012
3013 * version.el (emacs-bzr-get-version): New function.
dfae128a 3014 (emacs-bzr-version): New variable.
a1ed8b05
GM
3015 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3016 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3017
b142f158
EZ
30182012-04-07 Eli Zaretskii <eliz@gnu.org>
3019
dfae128a
GM
3020 * international/uni-bidi.el, international/uni-category.el:
3021 * international/uni-combining.el, international/uni-decimal.el:
3022 * international/uni-decomposition.el, international/uni-digit.el:
3023 * international/uni-lowercase.el, international/uni-mirrored.el:
3024 * international/uni-name.el, international/uni-numeric.el:
3025 * international/uni-titlecase.el, international/uni-uppercase.el:
3026 Update for Unicode 6.1.
b142f158 3027
9078ead6
EZ
30282012-04-07 Eli Zaretskii <eliz@gnu.org>
3029
3030 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3031
f23d2c7d
LMI
30322012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3033
3034 * window.el (shrink-window): Mention the `window-min-height'
3035 variable in the doc string.
3036
0a0a3573
BG
30372012-04-05 Bastien Guerry <bzg@altern.org>
3038
3039 * color.el (color-lighten-name): Fix typo.
3040
e5248ac9
SM
30412012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3042
3043 * server.el (server--on-display-p): New function.
3044 (server--on-display-p): Use it.
3045
b4243e22
GV
30462012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3047
3048 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3049 (bug#11145).
3050
305d9f44
SM
30512012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * comint.el (comint--common-quoted-suffix): Check string boundary
3054 before comparing (bug#11158).
3055 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3056
3d439cd1
CY
30572012-04-04 Chong Yidong <cyd@gnu.org>
3058
321cc491
CY
3059 * minibuffer.el (completion-extra-properties): Doc fix.
3060
3d439cd1
CY
3061 * subr.el (delayed-warnings-hook): Doc fix.
3062
2d562c0f
DU
30632012-04-04 Daiki Ueno <ueno@unixuser.org>
3064
3065 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3066 selection (Bug#11159).
3067 (epa-insert-keys): Inform that the default public key will be
3068 exported if no key is selected.
3069
4443f204
RS
30702012-04-04 Richard Stallman <rms@gnu.org>
3071
3072 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3073
529c06b6
CY
30742012-04-03 Chong Yidong <cyd@gnu.org>
3075
3076 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3077 mail-insert-file, not its obsolete alias mail-attach-file.
3078
66b907dc
MA
30792012-04-03 Michael Albinus <michael.albinus@gmx.de>
3080
3081 * notifications.el (notifications-notify): Fix docstring.
3082
c0ea195d
GM
30832012-04-02 Glenn Morris <rgm@gnu.org>
3084
3085 * emacs-lisp/authors.el (authors-aliases): Another addition.
3086
5ca64e00
MA
30872012-04-02 Michael Albinus <michael.albinus@gmx.de>
3088
3089 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3090 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3091 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3092
42ee526b
CY
30932012-04-01 Chong Yidong <cyd@gnu.org>
3094
3095 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3096 Handle root directory properly.
3097 (copy-directory): Caller changed.
3098
3099 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3100 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3101
0b021094
GM
31022012-03-31 Glenn Morris <rgm@gnu.org>
3103
40f86458
GM
3104 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3105
7019c177
GM
3106 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3107
a1daddd6
GM
3108 * calendar/calendar.el (calendar-window-list)
3109 (calendar-hide-window): Restore. (Bug#11140)
3110 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3111
0b021094
GM
3112 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3113
40311efc
TV
31142012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3115
3116 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3117 Check if file is a symlink (Bug#10489).
3118
3119 * files.el (copy-directory): Likewise.
3120
5319014e
CY
31212012-03-30 Chong Yidong <cyd@gnu.org>
3122
3123 * image.el (imagemagick-types-inhibit)
3124 (imagemagick-register-types): Doc fix.
3125
935d1290
AM
31262012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3127
ef24141c
SM
3128 * ispell.el (ispell-get-extended-character-mode):
3129 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3130 and treats ~word as ordinary words in pipe mode.
935d1290 3131
61c6e8fd
GM
31322012-03-30 Glenn Morris <rgm@gnu.org>
3133
3134 * tutorial.el (help-with-tutorial): Ensure local variables don't
3135 happen to make the buffer read-only. (Bug#11127)
3136
81fdff00
SM
31372012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3140 (perl-calculate-indent): Return `noindent' in strings.
3141
6e7a6ec0
SS
31422012-03-28 Sam Steingold <sds@gnu.org>
3143
3144 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3145 instead of the broken adhockery which does not prevent calendar
3146 buffers from being displayed at random after exit.
3147 (calendar-window-list, calendar-hide-window): Remove the broken
3148 adhockery.
3149
fee88ca0
GM
31502012-03-28 Glenn Morris <rgm@gnu.org>
3151
3152 * replace.el (query-replace-map): Doc fix.
3153
38de3354
AS
31542012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3155
3156 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3157 contents. (Bug#11109)
3158
b973155e
SM
31592012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3162 (bug#11077).
3163 (avl-tree--check, avl-tree--check-node): New funs.
3164
dcb6e7b3
MR
31652012-03-27 Martin Rudalics <rudalics@gmx.at>
3166
3167 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3168 (switch-to-prev-buffer, switch-to-next-buffer):
3169 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3170 showing a buffer already is done on the same frame.
3171
b4fa35fa
GM
31722012-03-27 Glenn Morris <rgm@gnu.org>
3173
3174 * startup.el (mail-host-address): Doc fix.
3175
f9210e18
SM
31762012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3177
3178 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3179 than 197 variables.
3180
c0bf7753
AF
31812012-03-26 Ami Fischman <ami@fischman.org>
3182
3183 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3184
33da7b16
GM
31852012-03-26 Glenn Morris <rgm@gnu.org>
3186
02243d9d
GM
3187 * files.el (save-buffers-kill-emacs): Doc fix.
3188
33da7b16
GM
3189 * startup.el (normal-top-level, command-line, command-line-1):
3190 Give them doc strings.
3191
e5a69fd0
EZ
31922012-03-25 Eli Zaretskii <eliz@gnu.org>
3193
3194 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3195 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3196
9a69676a
CY
31972012-03-25 Chong Yidong <cyd@gnu.org>
3198
4125cb8b
CY
3199 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3200 theme if it was previously enabled before (Bug#11031).
3201
dd470960
CY
3202 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3203 spec with custom-face-get-current-spec if its :shown-value is not
3204 determined yet (Bug#9337).
4125cb8b 3205 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3206
9a69676a
CY
3207 * button.el (button-at): Minor addition to docstring.
3208
6e7e90fa
SL
32092012-03-24 Simon Leinen <simon.leinen@gmail.com>
3210
3211 * vc/vc.el (vc-merge): Fix a prompt.
3212
f06e2758
CY
32132012-03-24 Chong Yidong <cyd@gnu.org>
3214
3215 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3216 point (Bug#9623).
3217
6e7e90fa
SL
3218 * button.el (button-at): Minor addition to docstring.
3219
b9d0879b
SM
32202012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 * newcomment.el (comment-choose-indent): No space after BOL.
3223
e71cebb3
SS
32242012-03-22 Sam Steingold <sds@gnu.org>
3225
3226 * window.el (switch-to-prev-buffer): Revert last patch because the
3227 bug turned out to be an advertised feature (Elisp manual 28.14).
3228
335aff35
GM
32292012-03-22 Glenn Morris <rgm@gnu.org>
3230
3231 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3232 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3233
c676576a
LMI
32342012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3235
3236 * net/network-stream.el (network-stream-open-starttls): Make error
3237 message under Windows be less misleading.
3238
126f3d39
LW
32392012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3240
3241 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3242 understands (bug#9942).
3243
64fee311
CY
32442012-03-22 Chong Yidong <cyd@gnu.org>
3245
3246 * simple.el (end-of-visible-line): Handle return value of
3247 next-single-property-change properly (Bug#9371).
3248
a640d29a
KH
32492012-03-22 Kenichi Handa <handa@m17n.org>
3250
3251 * international/quail.el (quail-insert-kbd-layout): Fix previous
3252 change. To avoid unwanted bidi reordering, use
3253 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3254
39675016
DG
32552012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3256
3257 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3258 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3259 (ruby-beginning-of-indent): Be more careful with the difference
3260 between word-boundary and symbol boundary.
3261 (ruby-mode-syntax-table): Make : a symbol constituent.
3262
0a6934fc 32632012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3264
3d008e4f
SM
3265 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3266
0a6934fc
SM
32672012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3268
af67c9d7
SM
3269 * progmodes/etags.el (tags-completion-at-point-function):
3270 Improve last fix.
3271
1acad97c
SM
3272 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3273
e298b5da
SS
32742012-03-21 Sam Steingold <sds@gnu.org>
3275
3276 * progmodes/etags.el (tags-completion-at-point-function):
3277 Avoid the error when point is inside the pattern.
3278
91d82a70
JY
32792012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3280
3281 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3282 line (Bug#10855).
3283
69188b79
CY
32842012-03-21 Drew Adams <drew.adams@oracle.com>
3285
3286 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3287
99fc91fe
AK
32882012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3289
3290 * ido.el (ido-set-current-directory, ido-read-internal)
3291 (ido-choose-completion-string, ido-completion-help): Handle nil
3292 value of ido-completion-buffer (Bug#11008).
3293
087bbb4c
SS
32942012-03-21 Sam Steingold <sds@gnu.org>
3295
3296 * window.el (switch-to-prev-buffer): Do not switch to a visible
3297 window previous buffer, just like with the frame previous buffers.
3298
fb5b8aca
CY
32992012-03-21 Chong Yidong <cyd@gnu.org>
3300
3301 * faces.el (make-face, make-empty-face, copy-face):
3302 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3303 Doc fixes.
3304
dc9924b8
SM
33052012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3306
3307 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3308 (widget-complete): Remove broken use of it.
3309
f0bcceb9
CY
33102012-03-20 Chong Yidong <cyd@gnu.org>
3311
dc9924b8
SM
3312 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3313 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3314 characters.
3315
ee52ebf3
TH
33162012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3317
3318 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3319 to draw rectangles, not squares. (Regression introduced by revno
3320 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3321
4c5779ab
CY
33222012-03-18 Chong Yidong <cyd@gnu.org>
3323
3324 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3325 it is not yet defined (for temacs).
3326
15360934
LL
33272012-03-18 Leo Liu <sdl.web@gmail.com>
3328
dc9924b8 3329 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3330
d9a8eb66
EZ
33312012-03-17 Eli Zaretskii <eliz@gnu.org>
3332
3333 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3334 (ispell-choices-win-default-height, ispell-silently-savep)
3335 (ispell-dictionary-alist, ispell-encoding8-command)
3336 (ispell-check-version, ispell-aspell-find-dictionary)
3337 (ispell-valid-dictionary-list, ispell-words-keyword)
3338 (ispell-get-word, ispell-internal-change-dictionary)
3339 (ispell-region, ispell-skip-region-list)
3340 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3341 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3342 (ispell-message-text-end, ispell-message)
3343 (ispell-buffer-local-parsing): Doc fix.
3344
f02ff80d
J
33452012-03-13 Jambunathan K <kjambunathan@gmail.com>
3346
3347 * htmlfontify.el: Add support for code block fontification for ODT
3348 export (Bug #9914).
3349 (hfy-optimisations): Define new option
3350 `body-text-only'
3351 (hfy-fontify-buffer): Honor above setting.
3352 (hfy-begin-span, hfy-end-span): New routines factored out form
3353 `hfy-fontify-buffer'.
3354 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3355 that permit insertion of custom tags.
3356 (hfy-fontify-buffer): Use above handlers.
3357 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3358 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3359 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3360 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3361 bind a special variable `hfy-user-sheet-assoc'.
3362 (htmlfontify-string): New defun.
3363 (hfy-compile-face-map): Make sure that the last char in the
3364 buffer is correctly fontified.
3365 (hfy-face-resolve-face): Whitespace only change.
3366
9ac7a13f
EZ
33672012-03-17 Eli Zaretskii <eliz@gnu.org>
3368
3369 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3370 message more clear.
3371
e2b5bdd7
LL
33722012-03-16 Leo Liu <sdl.web@gmail.com>
3373
3374 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3375
2e492df3
AM
33762012-03-16 Alan Mackenzie <acm@muc.de>
3377
3378 Further optimise the handling of large macros.
3379
3380 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3381 limit to a call of `c-literal-limits'.
3382 (c-determine-+ve-limit): New function.
dc9924b8
SM
3383 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3384 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3385 In CASE 5B, restrict a search limit to 500.
3386 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3387
3388 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3389 Restrict macro bounds to +-500 from after-change's BEG END.
3390
50e94f0c
LL
33912012-03-16 Leo Liu <sdl.web@gmail.com>
3392
3393 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3394
6f09f6ed
AH
33952012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3396
3397 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3398 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3399
c7e73d51
GM
34002012-03-16 Glenn Morris <rgm@gnu.org>
3401
da986230
GM
3402 * view.el (view-buffer, view-buffer-other-window)
3403 (view-buffer-other-frame): Doc fixes re special mode-class.
3404
0835f01e
GM
3405 * subr.el (eval-after-load): If named feature is provided not from
3406 a file, run after-load forms. (Bug#10946)
3407
c7e73d51
GM
3408 * calendar/calendar.el (calendar-insert-at-column):
3409 Handle non-unit-width characters a bit better. (Bug#10978)
3410
3f2eafd1
CY
34112012-03-15 Chong Yidong <cyd@gnu.org>
3412
3413 * emacs-lisp/ring.el (ring-extend): New function.
3414 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3415
3416 * comint.el (comint-read-input-ring)
3417 (comint-add-to-input-history): Grow comint-input-ring lazily.
3418
103af3fe
SM
34192012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3420
663b1677
SM
3421 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3422 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3423
103af3fe
SM
3424 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3425 (imenu-add-to-menubar): Don't add a redundant index.
3426 (imenu-update-menubar): Handle a dynamically composed keymap.
3427
899cb7cb
KY
34282012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3429
3430 * mail/sendmail.el (mail-encode-header):
3431 Bind rfc2047-encode-encoded-words to nil.
3432
3809f91d
GM
34332012-03-13 Glenn Morris <rgm@gnu.org>
3434
3435 * calendar/calendar.el (calendar-string-spread):
3436 Handle non-unit-width characters a bit better. (Bug#10978)
3437
9e345a01
LL
34382012-03-13 Leo Liu <sdl.web@gmail.com>
3439
3440 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3441 directory and file as argument (Bug#10822).
3442
4a07df36
KS
34432012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3444
3445 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3446 For dynamically generated code, follow $PC.
3447 (gdb-disassembly-handler-custom): Handle no function name case.
3448
4aaa9356
TL
34492012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3450
3451 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3452 * emulation/ws-mode.el (ws-query-replace):
3453 * sort.el (sort-regexp-fields):
3454 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3455
225979da
SM
34562012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * dabbrev.el: Fix cycle completion order (bug#10963).
3459 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3460 (dabbrev-completion): Don't use an obarray; provide
3461 a cycle-sort-function.
3462
e2f1fdab
LL
34632012-03-12 Leo Liu <sdl.web@gmail.com>
3464
dc9924b8 3465 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3466 (kill-do-not-save-duplicates): Doc fix.
3467
b19490ed
SM
34682012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * dabbrev.el: Fix cycle completion (bug#10963).
3471 Use lexical binding and wrap to 80 columns.
3472 (dabbrev-completion): Delay computing the list of completions.
3473
4b05d722
KH
34742012-03-12 Kenichi Handa <handa@m17n.org>
3475
3476 * international/quail.el (quail-insert-kbd-layout): Surround each
3477 row by LRO and PDF instead of inserting many LRMs. Pad the left
3478 and right of each non-spacing marks. Insert invisible space
3479 between lower and upper characters to prevent composition.
3480
dbbc2e69
SM
34812012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * minibuffer.el (minibuffer-complete): Don't get confused when the
3484 function is run twice via different commands (bug#10958).
3485 (complete-with-action): Fix docstring.
3486
292112ed
CY
34872012-03-12 Chong Yidong <cyd@gnu.org>
3488
5d1ac394
CY
3489 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3490 (nxml-completion-at-point-function): New function.
3491 (nxml-mode): Use it.
3492 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3493
292112ed
CY
3494 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3495 Load generated autoloads file before byte compiling (Bug#10970).
3496 (package--make-autoloads-and-compile): New helper fun.
3497
4098f8f7
CS
34982012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3499
3500 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3501
8f754691
MA
35022012-03-11 Michael Albinus <michael.albinus@gmx.de>
3503
3504 * autorevert.el (auto-revert-handler): Ensure, that
3505 file-readable-p is applied only for local files or in
3506 auto-revert-tail-mode.
3507
e29ab36b
AS
35082012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3509
dbbc2e69
SM
3510 * server.el (server-eval-at): Handle non-tcp connections.
3511 Decode result string.
ad0bf5b6 3512
e29ab36b
AS
3513 * server.el (server-msg-size): New constant.
3514 (server-reply-print): New function.
3515 (server-eval-and-print): Use it.
3516 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3517 Handle -print-nonl.
3518
de5939ba
CS
35192012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3520
3521 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3522 (Bug#10987).
3523
0c93eabf
CY
35242012-03-11 Chong Yidong <cyd@gnu.org>
3525
397a688f
CY
3526 * simple.el (goto-line): Doc fix (Bug#9938).
3527
2cc775f9
CY
3528 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3529
0c93eabf
CY
3530 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3531 when finished (Bug#10963).
3532
c491fa41
MR
35332012-03-11 Martin Rudalics <rudalics@gmx.at>
3534
3535 * window.el (split-window-below): Fix bug in case where
3536 split-window-keep-point is nil (Bug#10971).
3537
300e8fa5
JL
35382012-03-11 Juri Linkov <juri@jurta.org>
3539
3540 * replace.el (replace-highlight): Set isearch-word to nil
3541 unconditionally. (Bug#10887)
3542
dbf6c5a1
EZ
35432012-03-10 Eli Zaretskii <eliz@gnu.org>
3544
3545 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3546 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3547 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3548 (mairix-widget-create-query): Add usage information about mairix
3549 search forms: negating words, searching for substrings, etc.
3550
b9e501de
JP
35512012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3552
3553 * international/fontset.el (font-encoding-alist): Add an entry for
3554 ksx1001 (Bug#5667).
3555
92795c91
RS
35562012-03-10 Richard Stallman <rms@gnu.org>
3557
1694e6c1
RS
3558 * mail/sendmail.el (mail-encode-header):
3559 Set rfc2047-encode-encoded-words.
3560
607e8555
RS
3561 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3562
de3bc99a
RS
3563 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3564 view buffer means not swapped.
3565 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3566 (rmail-write-region-annotate): Error if real text has disappeared.
3567
92795c91
RS
3568 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3569
699bd04e
CY
35702012-03-10 Chong Yidong <cyd@gnu.org>
3571
3572 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3573 * emulation/cua-base.el (cua--init-keymaps):
3574 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3575
570a1714
MR
35762012-03-10 Martin Rudalics <rudalics@gmx.at>
3577
dbbc2e69
SM
3578 * speedbar.el (speedbar-unhighlight-one-tag-line):
3579 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3580
82dcf4e4
CY
35812012-03-10 Chong Yidong <cyd@gnu.org>
3582
7a2c7ca7
CY
3583 * minibuffer.el (completion-in-region, completion-help-at-point):
3584 Give the completion field overlay a high priority (Bug#6830).
3585
82dcf4e4
CY
3586 * dired.el (dired-goto-file): Recognize absolute file name
3587 listings (Bug#7126).
3588 (dired-goto-file-1): New helper function.
3589 (dired-toggle-read-only): Inhibit warnings.
3590
052e28ac
MA
35912012-03-09 Michael Albinus <michael.albinus@gmx.de>
3592
75f1671a 3593 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3594 there are no properties.
3595
95d5e396
LL
35962012-03-09 Leo Liu <sdl.web@gmail.com>
3597
3598 * savehist.el (savehist-printable): Stricter check for string
3599 value (Bug#10937).
3600
3f018d6d
EZ
36012012-03-09 Eli Zaretskii <eliz@gnu.org>
3602
dbbc2e69
SM
3603 * mail/smtpmail.el (smtpmail-send-it):
3604 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3605 valid mbox format.
3606
f7fd3d79
GM
36072012-03-09 Glenn Morris <rgm@gnu.org>
3608
3609 * files.el (dir-locals-find-file):
3610 Don't check result is regular, readable.
3611 (dir-locals-read-from-file): Demote errors.
3612
6ff6e72f
EZ
36132012-03-08 Eli Zaretskii <eliz@gnu.org>
3614
dbbc2e69
SM
3615 * international/quail.el (quail-insert-kbd-layout):
3616 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3617 layout cell, to prevent their reordering by bidi display engine.
3618 For details, see the discussion in
3619 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3620
9cec7834
AM
36212012-03-08 Alan Mackenzie <acm@muc.de>
3622
3623 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3624 the starting position; make it extend the marked region when
3625 invoked repeatedly - all under appropriate circumstances.
3626 Fixes bugs #5525, #10906.
3627
9a40b8d4
GM
36282012-03-08 Glenn Morris <rgm@gnu.org>
3629
3630 * files.el (locate-dominating-file, dir-locals-find-file):
3631 Undo 2012-03-06 change.
3632
7a08ed35
EZ
36332012-03-07 Eli Zaretskii <eliz@gnu.org>
3634
dbbc2e69
SM
3635 * international/quail.el (quail-help):
3636 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3637 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3638 for the reason.
3639
5aca4f71 36402012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3641
3642 Avoid superfluous registering of signals. (Bug#10807)
3643
3644 * notifications.el (notifications-on-action-object)
3645 (notifications-on-close-object): New defvars.
3646 (notifications-on-action-signal, notifications-on-closed-signal):
3647 Unregister the signal if not needed any longer.
3648 (notifications-notify): Register `notifications-action-signal' or
3649 `notifications-closed-signal', if :on-action or :on-close has been
3650 passed as argument.
3651
78e8b10a
CY
36522012-03-07 Chong Yidong <cyd@gnu.org>
3653
3654 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3655 non-X platforms.
3656
69481eb8
GM
36572012-03-06 Glenn Morris <rgm@gnu.org>
3658
3659 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3660 (x-disown-selection-internal, x-get-selection-internal):
3661 Doc fix (add arglist signatures). (Bug#10783)
3662
133b8e11
KS
36632012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3664
3665 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3666 Handle breakpoints with no "type".
3667
99a83064
GM
36682012-03-06 Glenn Morris <rgm@gnu.org>
3669
3670 * files.el (locate-dominating-file): Add optional predicate argument.
3671 (dir-locals-find-file): Make use of above change.
3672
17798e78
TTN
36732012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3674
3675 * info.el (Info-insert-dir): Also try "dir.gz".
3676
eb182446
GM
36772012-03-06 Glenn Morris <rgm@gnu.org>
3678
8f2114ee
GM
3679 * files.el (dir-locals-find-file):
3680 Ignore non-readable or non-regular files. (Bug#10928)
3681
eb182446
GM
3682 * files.el (locate-dominating-file): Doc fix.
3683
24679323
AS
36842012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3685
3686 * calendar/calendar.el (calendar-set-mode-line):
3687 `getenv' returns a string. (Bug#10951)
3688
01d972a9
LL
36892012-03-05 Leo Liu <sdl.web@gmail.com>
3690
109aa8a9
LL
3691 * simple.el (backward-delete-char-untabify): Constrain point to
3692 field (Bug#10939).
3693
01d972a9
LL
3694 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3695
10607bea
CY
36962012-03-05 Chong Yidong <cyd@gnu.org>
3697
3698 * simple.el (count-words): If called from Lisp, return the word
3699 count, for symmetry with `count-lines'. Arglist changed.
3700 (count-words--message): Args changed. Consolidate counting code
3701 from count-words and count-words-region.
3702 (count-words-region): Caller changed.
3703 (count-lines-region): Make it an obsolete alias.
3704
5dd11cfe
TH
37052012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3706
3707 * saveplace.el (save-place-to-alist)
3708 (save-place-ignore-files-regexp): Allow value nil to disable this
3709 feature.
3710
c349f4e6
CY
37112012-03-04 Chong Yidong <cyd@gnu.org>
3712
3713 * faces.el (face-spec-reset-face): For the default face, reset the
3714 attributes to default values (Bug#10748).
3715
e627be4c
LMI
37162012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3717
3718 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3719 previous patch: Check `message-send-mail-function', and not the
3720 default function (bug#10897).
3721
ebeabff4
MA
37222012-03-04 Michael Albinus <michael.albinus@gmx.de>
3723
a41a6cf4
MA
3724 * notifications.el (notifications-on-action-signal)
3725 (notifications-on-closed-signal): Check for unique service name of
3726 incoming event. Fix error in removing entry.
ebeabff4 3727 (top): Register for signals with wildcard service name.
a41a6cf4 3728 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 3729
c1ca42b4
CY
37302012-03-04 Chong Yidong <cyd@gnu.org>
3731
dc9924b8 3732 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 3733
ea16568d
GM
37342012-03-04 Glenn Morris <rgm@gnu.org>
3735
3736 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3737 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3738 (expand-abbrev, define-abbrev-table): Doc fixes.
3739
fbae4637
LMI
37402012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3741
3742 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3743 `message-default-send-mail-function' and not `send-mail-function'
3744 when doing the prompting for `sendmail-query-once' before sending
3745 in Message buffers (bug#10897).
3746
a1e7225c
LMI
3747 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3748 This is inconsistent with all the other stream functions, which leave
3749 the setting up to the higher levels (if so wanted) (bug#10931).
3750
56d093a9
AM
37512012-03-02 Alan Mackenzie <acm@muc.de>
3752
3753 Depessimize the handling of very large macros.
3754
3755 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3756 (c-macro-cache-syntactic): New variables to implement a one
3757 element macro cache.
3758 (c-invalidate-macro-cache): New function.
3759 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3760 Adapt to use the new cache.
3761 (c-state-safe-place): Use better the cache of safe positions.
3762 (c-state-semi-nonlit-pos-cache)
3763 (c-state-semi-nonlit-pos-cache-limit):
3764 New variables for...
3765 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3766 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
3767 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3768 Use c-state-semi-safe-place.
56d093a9 3769
dbbc2e69
SM
3770 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3771 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 3772
817e5c3d
MA
37732012-03-02 Michael Albinus <michael.albinus@gmx.de>
3774
dbbc2e69
SM
3775 * jka-compr.el (jka-compr-call-process):
3776 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
3777 not remote.
3778
a032a702
MA
37792012-03-01 Michael Albinus <michael.albinus@gmx.de>
3780
3781 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3782 access of FILE2, if FILE1 does not exist.
3783
99a54f21
MA
3784 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3785 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3786
3787 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3788 Add "PAGER=" to `process-environment'.
3789
f6561e1f
MM
37902012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3791
3792 * progmodes/sql.el: Bug fix
3793 (sql-get-login-ext): Save login values in globals.
3794 (sql-get-login): Use new version of `sql-get-login-ext'.
3795 (sql-interactive-mode): Set global `sql-connection' to nil.
3796 (sql-connect): Set global values for connection.
3797 (sql-product-interactive): Save global values as buffer local.
3798
2d44d9cc
LL
37992012-02-29 Leo Liu <sdl.web@gmail.com>
3800
3801 * abbrev.el (define-abbrevs): Reset sys to nil.
3802
96b49301 38032012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3804
bf7f9bc5
JB
3805 * files.el (file-equal-p): Rename from `files-equal-p'.
3806 Return nil when one or both files don't exist.
96b49301 3807 (file-subdir-of-p): Now only top directory must exists,
3808 return nil if it doesn't.
bf7f9bc5
JB
3809 (copy-directory): No need to test with `file-subdir-of-p' after
3810 creating dir.
3811 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3812 to `file-equal-p'.
96b49301 3813
44e97401
GM
38142012-02-28 Glenn Morris <rgm@gnu.org>
3815
3816 * shell.el (shell-mode):
3817 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3818 * play/landmark.el (landmark-font-lock-face-O):
3819 * play/handwrite.el (handwrite):
3820 * play/gomoku.el (gomoku-O):
3821 * net/browse-url.el (browse-url-browser-display):
3822 * international/mule.el (define-charset):
3823 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3824 * filesets.el (filesets-find-file-delay):
3825 * eshell/em-xtra.el (eshell-xtra):
3826 * eshell/em-unix.el (eshell-grep):
3827 * emulation/viper.el (viper-mode):
3828 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3829 * emacs-lisp/easymenu.el (easy-menu-define):
3830 * calendar/timeclock.el (timeclock-use-display-time):
3831 * bs.el (bs-mode):
3832 * bookmark.el (bookmark-save-flag):
3833 Doc fix (standardize possessive apostrophe usage).
3834
c98c6276
CY
38352012-02-27 Chong Yidong <cyd@gnu.org>
3836
bf7f9bc5
JB
3837 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3838 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 3839
c98c6276
CY
3840 * font-lock.el (font-lock-specified-p): Rename from
3841 font-lock-spec-present. Callers changed.
3842
9c62cd04 38432012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 3844
bf7f9bc5
JB
3845 * emacs-lisp/package.el (package-compute-transaction):
3846 Handle holding a package version to t in package-load-list.
8ac9e529 3847
530739c9
MA
38482012-02-26 Michael Albinus <michael.albinus@gmx.de>
3849
3850 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3851 (tramp-get-inode, tramp-get-device): Use cached values.
3852
487915d7
AM
38532012-02-26 Alan Mackenzie <acm@muc.de>
3854
3855 Check there is a font-lock specification before doing initial
3856 fontification.
3857
3858 * font-core.el (font-lock-mode): Move the conditional from
3859 :after-hook to font-lock-initial-fontify.
3860 (font-lock-default-function): Move the check for a specification
3861 to font-lock-spec-present.
3862
dc9924b8 3863 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
3864 (font-lock-spec-present): New function.
3865
4fd96557
JB
38662012-02-26 Jim Blandy <jimb@red-bean.com>
3867
3868 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3869 (gdb-send): Apply it to the operand of the '-interpreter-exec
3870 console' command, so that we can pass arguments with (say) quotes
3871 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3872
9a4888c0
CY
38732012-02-26 Chong Yidong <cyd@gnu.org>
3874
07498861
CY
3875 * help-fns.el (describe-function-1): Clarify description of
3876 remapping (Bug#10844).
3877
9a4888c0
CY
3878 * files.el (files-equal-p): Doc fix.
3879 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3880 and quit the loop once a mismatch is found.
3881
ea8fb88d
JB
38822012-02-25 Juanma Barranquero <lekktu@gmail.com>
3883
3884 * bs.el (bs--show-with-configuration): Don't throw an error
3885 if the window cannot be split; otherwise, subsequent calls to
3886 bs-show fail, restoring a stale window config. (Bug#10882)
3887
525795c1
JD
38882012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3889
3890 * term/ns-win.el (global-map): Bind ns-drag-file to
3891 ns-find-file (Bug#5855, Bug#10050).
3892
f008086f
AS
38932012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3894
3895 * calendar/parse-time.el (parse-time-string): Allow extractor to
3896 return nil.
3897
a3fcfa99
MA
38982012-02-25 Michael Albinus <michael.albinus@gmx.de>
3899
91027d08
JB
3900 * net/tramp.el (tramp-file-name-for-operation):
3901 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
3902
3903 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
3904 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3905 Add COPY-CONTENTS argument.
a3fcfa99 3906
67b0de11
CY
39072012-02-25 Chong Yidong <cyd@gnu.org>
3908
3909 Add custom groups for VC backends, for consistency with vc-bzr.
3910
3911 * vc/vc-arch.el (vc-arch):
3912 * vc/vc-cvs.el (vc-cvs):
3913 * vc/vc-git.el (vc-git):
3914 * vc/vc-hg.el (vc-hg):
3915 * vc/vc-mtn.el (vc-mtn):
3916 * vc/vc-rcs.el (vc-rcs):
3917 * vc/vc-sccs.el (vc-sccs):
3918 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3919 All relevant defcustoms reassigned.
3920
3c9dfce6
CY
39212012-02-25 Chong Yidong <cyd@gnu.org>
3922
1339bf43
CY
3923 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3924
3c9dfce6
CY
3925 * term/x-win.el (x-initialize-window-system): Reduce default for
3926 x-selection-timeout to 5 seconds (Bug#8869).
3927
25b2e303 39282012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3929
ec70a47d
GM
3930 * files.el (files-equal-p, file-subdir-of-p): New functions.
3931 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 3932 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
3933 * dired-aux.el (dired-copy-file-recursive): Same.
3934 (dired-create-files): Modify destination when source is equal to
3935 dest when copying files.
53a46cd0 3936 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 3937
914260cd
MA
39382012-02-24 Michael Albinus <michael.albinus@gmx.de>
3939
3940 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3941 (Bug#10874)
3942
2cb228f7
AM
39432012-02-23 Alan Mackenzie <acm@muc.de>
3944
3945 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3946 parameter "after-hook:" to allow the expansion to run code after
3947 the execution of the mode hooks.
3948
3949 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 3950 from font-lock-mode-internal.
2cb228f7 3951
91027d08 3952 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
3953 :after-hook.
3954
8f0fde21
SM
39552012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3e88618b
SM
3957 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3958 (completion--cache-all-sorted-completions): New function.
3959 (completion-all-sorted-completions): Use it.
3960 (completion--do-completion, minibuffer-force-complete):
3961 Use it to re-instate the flush hook.
3962
8f0fde21
SM
3963 * icomplete.el (icomplete-completions): Replace last fix with a better
3964 one (bug#10850).
3965
8e911f6f
DG
39662012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3967
3968 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3969 when it might call us back infinitely (bug#10797).
3970
49fe4321
GM
39712012-02-23 Glenn Morris <rgm@gnu.org>
3972
3973 * minibuffer.el (completion-category-overrides): Doc fix.
3974
b291b572
SM
39752012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3978 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3979
31a9ef2e
GM
39802012-02-23 Glenn Morris <rgm@gnu.org>
3981
5e6e6794 3982 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
3983 (authors-obsolete-files-regexps, authors-ignored-files)
3984 (authors-ambiguous-files, authors-renamed-files-alist):
3985 Add more entries.
3986
0bd1e074
JL
39872012-02-23 Juri Linkov <juri@jurta.org>
3988
3989 * isearch.el (isearch-occur): Sync interactive spec with occur's
3990 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3991
b617673c
JL
3992 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3993
19e9789e
JL
39942012-02-22 Juri Linkov <juri@jurta.org>
3995
3996 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3997 (ucs-insert): Doc fix. Check for hex digits in the string.
3998 Don't display `nil' in the error message. (Bug#10857)
3999
f41ce09d
AM
40002012-02-22 Alan Mackenzie <acm@muc.de>
4001
7a71b18d 4002 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4003
ac2eceee
GM
40042012-02-22 Glenn Morris <rgm@gnu.org>
4005
4006 * ffap.el (ffap-c-path):
4007 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4008
abd1f678
CY
40092012-02-22 Chong Yidong <cyd@gnu.org>
4010
4011 * custom.el (load-theme): Doc fix.
4012
f25aef2e
GM
40132012-02-22 Glenn Morris <rgm@gnu.org>
4014
4015 * dired-x.el (dired-guess-shell-alist-default):
4016 Remove escape sequences from nroff output. (Bug#172)
4017
5f8dc2ca
GM
40182012-02-21 Glenn Morris <rgm@gnu.org>
4019
6ff86ec4
GM
4020 * vc/emerge.el (emerge-defvar-local):
4021 Set `permanent-local' property rather than unused `preserved'.
4022
be3223a3 4023 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4024 (picture-mode-map): Use it. (Bug#10860)
4025 (picture-mode): Doc fix.
4026
3fe58f4f
JB
40272012-02-21 Juanma Barranquero <lekktu@gmail.com>
4028
4029 * newcomment.el (uncomment-region-default): Remove unused binding.
4030
f9a998c3
GM
40312012-02-21 Glenn Morris <rgm@gnu.org>
4032
4033 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4034 (picture-self-insert, picture-tab-chars): Doc fix.
4035 (picture-mode-map): Fix C-a, C-e.
4036
c6029348
GM
40372012-02-20 Glenn Morris <rgm@gnu.org>
4038
4039 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4040
ab1ce9d7
LL
40412012-02-20 Leo Liu <sdl.web@gmail.com>
4042
4043 * icomplete.el (icomplete-completions): Check FROM arg before
4044 passing to substring (Bug#10850).
4045
0fd40f89
CY
40462012-02-19 Chong Yidong <cyd@gnu.org>
4047
4048 * comint.el: Require ansi-color.
4049 (comint-output-filter-functions): Add ansi-color-process-output.
4050
4051 * ansi-color.el: Don't set comint-output-filter-functions; it is
4052 now in the initial value defined in comint.el.
4053 (ansi-color-apply-face-function): New variable.
4054 (ansi-color-apply-on-region): Use it.
4055 (ansi-color-apply-overlay-face): New function.
4056
4057 * shell.el (shell): No need to require ansi-color.
4058 (shell-mode): Use ansi-color-apply-face-function to highlight
4059 color escapes using font-lock-face property (Bug#10835).
4060
20af2394
CY
40612012-02-19 Chong Yidong <cyd@gnu.org>
4062
4063 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4064 mode-line formats (Bug#10839).
4065
e23a3fbe
GM
40662012-02-18 Glenn Morris <rgm@gnu.org>
4067
b474519e
GM
4068 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4069
4070 * mail/undigest.el (unforward-rmail-message): Doc fix.
4071
e23a3fbe
GM
4072 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4073
57939ff4
EZ
40742012-02-18 Eli Zaretskii <eliz@gnu.org>
4075
4076 * international/characters.el (script-list): Sync with the latest
4077 Unicode Character Database.
4078
0c23686e
AS
40792012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4080
4081 * international/titdic-cnv.el: Remove duplicate coding tag.
4082 * language/cham.el: Likewise.
4083 * language/tai-viet.el: Likewise.
4084
6818b449
GM
40852012-02-18 Glenn Morris <rgm@gnu.org>
4086
4087 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4088 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4089 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4090 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4091 * calendar/holidays.el (holiday-bahai-holidays)
4092 (calendar-holidays, list-holidays):
4093 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
4094
0311a3fc
TH
40952012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4096
4097 * saveplace.el (save-place-ignore-files-regexp): New variable
4098 allowing for excluding files from saving their location of point.
4099 The default value matches the temporary commit message editing
4100 files from Git, SVN, Bazaar, and Mercurial.
4101 (save-place-to-alist): Use it.
4102
eb864a71
LM
41032012-02-17 Lawrence Mitchell <wence@gmx.li>
4104 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * newcomment.el (uncomment-region-default): Don't leave extra space
4107 when an arg is provided (bug#8150).
4108
ee0ce425
TZ
41092012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4110
eb864a71 4111 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4112
95ddf442
GM
41132012-02-17 Glenn Morris <rgm@gnu.org>
4114
4115 * net/socks.el: Require network-stream. (Bug#10599)
4116
48dd1e39 41172012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4118
4119 * international/charprop.el:
4120 * international/uni-name.el:
4121 * international/uni-old-name.el:
4122 * international/uni-comment.el: Regenerate.
4123
d68cd087
GM
41242012-02-16 Glenn Morris <rgm@gnu.org>
4125
4126 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4127 Interactively in calendar buffer, give an error if not on a date.
4128
13932042
GM
41292012-02-15 Glenn Morris <rgm@gnu.org>
4130
4131 * shell.el (shell-delimiter-argument-list):
4132 Revert 2011-02-17 change. (Bug#8027)
4133
c3a70e2b
CY
41342012-02-15 Chong Yidong <cyd@gnu.org>
4135
60236b0d
CY
4136 * minibuffer.el (completion-at-point-functions): Doc fix.
4137
c3a70e2b
CY
4138 * custom.el (defcustom): Doc fix; note use of defvar.
4139
9f26dc24
GM
41402012-02-15 Glenn Morris <rgm@gnu.org>
4141
4142 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4143 Doc fixes.
4144
6546b134
GM
41452012-02-14 Glenn Morris <rgm@gnu.org>
4146
4147 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4148
d29b2b4c
LI
41492012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4150
4151 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4152 way the ports list is computed.
835bdcba
LI
4153 (smtpmail-query-smtp-server): Prompt the user for a port number if
4154 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4155
08dcdbc9
TZ
41562012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4157
4158 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4159
2605051a
GM
41602012-02-13 Glenn Morris <rgm@gnu.org>
4161
4162 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4163
7ee99f32
TZ
41642012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4165
4166 * net/gnutls.el (gnutls-trustfiles): New variable.
4167 (gnutls-negotiate): Use it.
4168
5f0af64f
LI
41692012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4170
4171 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4172 does its stuff if Gnus is running.
4173
c14fcc95
AM
41742012-02-13 Alan Mackenzie <acm@muc.de>
4175
4176 Fix a loop in c-set-fl-decl-start.
4177
7a71b18d 4178 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4179 c-backward-syntactic-ws actually moves backwards.
4180
142b4d90
LL
41812012-02-13 Leo Liu <sdl.web@gmail.com>
4182
4183 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4184 beginning so that all \C-o chars are removed.
4185
fa9958a6
TZ
41862012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4187
dc9924b8 4188 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4189
0bc5886a
AM
41902012-02-12 Alan Mackenzie <acm@muc.de>
4191
4192 Fix infinite loop with long macros.
4d6769e1 4193 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4194
d4bd55e7
CY
41952012-02-12 Chong Yidong <cyd@gnu.org>
4196
4197 * window.el (display-buffer): Doc fix (Bug#10785).
4198
66f3fe22
GM
41992012-02-12 Glenn Morris <rgm@gnu.org>
4200
bd7da63e
GM
4201 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4202 (x-disown-selection-internal, x-get-selection-internal):
4203 Sync docs with the xselect.c versions.
4204
66f3fe22
GM
4205 * allout-widgets.el: Add missing license notice.
4206
3e0d2fa7
GM
42072012-02-11 Glenn Morris <rgm@gnu.org>
4208
cfecdf09
GM
4209 * select.el (x-get-selection-internal, x-own-selection-internal)
4210 (x-disown-selection-internal):
4211 * x-dnd.el (x-get-selection-internal): Update declarations.
4212
6d216d7f
GM
4213 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4214
2bed3f04
GM
4215 * window.el (window-sides-slots):
4216 * tool-bar.el (tool-bar-position):
4217 * term/xterm.el (xterm-extra-capabilities):
4218 * ses.el (ses-self-reference-early-detection):
4219 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4220 (verilog-auto-wire-type)
4221 (verilog-auto-delete-trailing-whitespace)
4222 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4223 (verilog-auto-tieoff-declaration):
4224 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4225 (sql-oracle-statement-starters, sql-oracle-scan-on):
4226 * progmodes/prolog.el (prolog-align-comments-flag)
4227 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4228 (prolog-left-indent-regexp, prolog-paren-indent-p)
4229 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4230 (prolog-types, prolog-mode-specificators)
4231 (prolog-determinism-specificators, prolog-directives)
4232 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4233 (prolog-electric-dot-flag)
4234 (prolog-electric-dot-full-predicate-template)
4235 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4236 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4237 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4238 (prolog-program-switches, prolog-prompt-regexp)
4239 (prolog-debug-on-string, prolog-debug-off-string)
4240 (prolog-trace-on-string, prolog-trace-off-string)
4241 (prolog-zip-on-string, prolog-zip-off-string)
4242 (prolog-use-standard-consult-compile-method-flag)
4243 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4244 (prolog-imenu-max-lines, prolog-info-predicate-index)
4245 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4246 (prolog-char-quote-workaround):
4247 * progmodes/cc-vars.el (c-defun-tactic):
4248 * net/tramp.el (tramp-encoding-command-interactive)
4249 (tramp-local-end-of-line):
4250 * net/soap-client.el (soap-client):
4251 * net/netrc.el (netrc-file):
4252 * net/gnutls.el (gnutls):
4253 * minibuffer.el (completion-category-overrides)
4254 (completion-cycle-threshold)
4255 (completion-pcm-complete-word-inserts-delimiters):
4256 * man.el (Man-name-local-regexp):
4257 * mail/feedmail.el (feedmail-display-full-frame):
4258 * international/characters.el (glyphless-char-display-control):
4259 * eshell/em-ls.el (eshell-ls-date-format):
4260 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4261 (lisp-lambda-list-keyword-parameter-indentation)
4262 (lisp-lambda-list-keyword-parameter-alignment):
4263 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4264 * dired-x.el (dired-omit-verbose):
4265 * cus-theme.el (custom-theme-allow-multiple-selections):
4266 * calc/calc.el (calc-highlight-selections-with-faces)
4267 (calc-lu-field-reference, calc-lu-power-reference)
4268 (calc-note-threshold):
4269 * battery.el (battery-mode-line-limit):
4270 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4271 (archive-7z-update):
4272 * allout.el (allout-prefixed-keybindings)
4273 (allout-unprefixed-keybindings)
4274 (allout-inhibit-auto-fill-on-headline)
4275 (allout-flattened-numbering-abbreviation):
4276 * allout-widgets.el (allout-widgets-auto-activation)
4277 (allout-widgets-icons-dark-subdir)
4278 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4279 (allout-widgets-theme-dark-background)
4280 (allout-widgets-theme-light-background)
4281 (allout-widgets-item-image-properties-emacs)
4282 (allout-widgets-item-image-properties-xemacs)
4283 (allout-widgets-run-unit-tests-on-load)
4284 (allout-widgets-time-decoration-activity)
4285 (allout-widgets-hook-error-post-time)
4286 (allout-widgets-track-decoration):
4287 Add missing :version tags to new defcustoms and defgroups.
4288
5fec1b8e
GM
4289 * progmodes/sql.el (sql-ansi-statement-starters)
4290 (sql-oracle-statement-starters): Add custom type.
4291
3e0d2fa7
GM
4292 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4293 (prolog-system-version): Give it a type.
4294
90b671e2
EZ
42952012-02-11 Eli Zaretskii <eliz@gnu.org>
4296
4297 * term/pc-win.el (x-select-text, x-selection-owner-p)
4298 (x-own-selection-internal, x-disown-selection-internal)
4299 (x-get-selection-internal): Sync doc strings and argument lists
4300 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4301
5eac0c02
LL
43022012-02-11 Leo Liu <sdl.web@gmail.com>
4303
4304 * progmodes/python.el (python-end-of-statement): Fix infinite
4305 loop. (Bug#10788)
4306
f82cb659
GM
43072012-02-10 Glenn Morris <rgm@gnu.org>
4308
4309 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4310 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4311
cc26d239
LI
43122012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4313
4314 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4315 about SMTP before checking the From header.
4316
91027d08 4317 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4318 into own function for reuse by emacsbug.el.
4319
1be3ca5a
LL
43202012-02-10 Leo Liu <sdl.web@gmail.com>
4321
4322 * subr.el (condition-case-unless-debug): Rename from
4323 condition-case-no-debug. All callers changed.
4324 (with-demoted-errors): Fix caller.
4325
4326 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4327 * nxml/rng-valid.el (rng-do-some-validation):
4328 * emacs-lisp/package.el (package-refresh-contents)
4329 (package-menu-execute):
4330 * desktop.el (desktop-create-buffer):
91027d08 4331 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4332
b011fbfe
GM
43332012-02-10 Glenn Morris <rgm@gnu.org>
4334
b2096d72
GM
4335 * textmodes/bibtex.el:
4336 Add missing :version tags for new/changed defcustoms.
4337
b011fbfe
GM
4338 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4339
4c7e65bf
LI
43402012-02-09 Lars Ingebrigtsen <larsi@rusty>
4341
4342 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4343 (smtpmail-via-smtp): Use it, or fall back on the From address.
4344 (smtpmail-send-it): Ditto.
4345
f3934f6f
SM
43462012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4349 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4350 (byte-compile-tmp-var): New const.
4351 (byte-compile-defvar): Use it to minimize .elc size.
4352 Just use `defvar' rather than simulate it (bug#10761).
4353
a075a2c5
GM
43542012-02-09 Glenn Morris <rgm@gnu.org>
4355
cf3aa21b
GM
4356 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4357
354998cd
GM
4358 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4359 Add :version tags.
4360
dc9924b8
SM
4361 * progmodes/compile.el (compilation-error-screen-columns)
4362 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4363
dab3703d
GM
4364 * vc/log-view.el (log-view-toggle-entry-display):
4365 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4366
3f88cd72
GM
4367 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4368 (report-emacs-bug-can-use-xdg-email):
4369 (report-emacs-bug-insert-to-mailer): Doc fixes.
4370 (report-emacs-bug): Message fix.
4371
d95b247d
GM
4372 * net/browse-url.el (browse-url-can-use-xdg-open)
4373 (browse-url-xdg-open): Doc fixes.
4374
a075a2c5
GM
4375 * electric.el (electric-indent-mode, electric-pair-mode)
4376 (electric-layout-rules, electric-layout-mode): Doc fixes.
4377 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4378
ffb6157e
MR
43792012-02-08 Martin Rudalics <rudalics@gmx.at>
4380
4381 * server.el (server-unselect-display): Don't inadvertently kill
4382 the current buffer. (Bug#10729)
4383
e1ac4066
GM
43842012-02-08 Glenn Morris <rgm@gnu.org>
4385
34e8a2da
GM
4386 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4387 (sql-list-table): Doc fixes.
4388
b4ac6e8c
GM
4389 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4390 Comment out (does nothing).
4391
e1ac4066
GM
4392 * completion.el (dynamic-completion-mode):
4393 * dirtrack.el (dirtrack-debug-mode):
4394 * electric.el (electric-layout-mode):
4395 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4396 * face-remap.el (text-scale-mode, buffer-face-mode):
4397 * iimage.el (iimage-mode):
4398 * image-mode.el (image-transform-mode):
4399 * minibuffer.el (completion-in-region-mode):
4400 * scroll-lock.el (scroll-lock-mode):
4401 * simple.el (next-error-follow-minor-mode):
4402 * tar-mode.el (tar-subfile-mode):
4403 * tooltip.el (tooltip-mode):
4404 * vcursor.el (vcursor-use-vcursor-map):
4405 * wid-browse.el (widget-minor-mode):
4406 * emulation/tpu-edt.el (tpu-edt-mode):
4407 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4408 * international/iso-ascii.el (iso-ascii-mode):
4409 * language/thai-util.el (thai-word-mode):
4410 * mail/supercite.el (sc-minor-mode):
4411 * net/goto-addr.el (goto-address-mode):
4412 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4413 * progmodes/cwarn.el (cwarn-mode):
4414 * progmodes/flymake.el (flymake-mode):
4415 * progmodes/glasses.el (glasses-mode):
4416 * progmodes/hideshow.el (hs-minor-mode):
4417 * progmodes/pascal.el (pascal-outline-mode):
4418 * textmodes/enriched.el (enriched-mode):
4419 * vc/smerge-mode.el (smerge-mode):
4420 Doc fixes (minor mode argument).
4421
5e0d957f
EZ
44222012-02-07 Eli Zaretskii <eliz@gnu.org>
4423
4424 * ls-lisp.el (ls-lisp-sanitize): New function.
4425 (ls-lisp-insert-directory): Use it to fix or remove any elements
4426 in file-alist with missing attributes. (Bug#4673)
4427
98d7371e
AM
44282012-02-07 Alan Mackenzie <acm@muc.de>
4429
4430 Fix spurious recognition of c-in-knr-argdecl.
4431
4432 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4433 putative K&R region.
4434
667ced3a
AM
44352012-02-07 Alan Mackenzie <acm@muc.de>
4436
eb864a71
LM
4437 * progmodes/cc-engine.el (c-forward-objc-directive):
4438 Prevent looping in "#pragma mark @implementation".
667ced3a 4439
5b77774d
MA
44402012-02-07 Michael Albinus <michael.albinus@gmx.de>
4441
4442 * notifications.el (notifications-on-closed-signal): Make `reason'
4443 optional. (Bug#10744)
4444
af008560
GM
44452012-02-07 Glenn Morris <rgm@gnu.org>
4446
60d47423
GM
4447 * emacs-lisp/easy-mmode.el (define-minor-mode):
4448 Doc fixes for the macro and the mode it defines.
4449
dd605cc4
GM
4450 * image.el (imagemagick-types-inhibit): Doc fix.
4451
af008560
GM
4452 * cus-start.el (imagemagick-render-type): Add it.
4453
5cc59a37
LI
44542012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4455
4d6769e1
JB
4456 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4457 Set the default at load time, too, so that `font-lock-fontify-buffer'
4458 can be called without setting up the entire mode first. This fixes
4459 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4460
9a6dd747
CY
44612012-02-06 Chong Yidong <cyd@gnu.org>
4462
2d16b285
CY
4463 * simple.el (list-processes--refresh): Delete exited processes
4464 (Bug#8094).
4465
171e9b6e
CY
4466 * comint.el (comint-next-prompt): next-single-char-property-change
4467 and prev-single-char-property-change never return nil (Bug#8657).
4468
9a6dd747
CY
4469 * custom.el (defcustom): Doc fix (Bug#9711).
4470
aa4589a7
CY
44712012-02-05 Chong Yidong <cyd@gnu.org>
4472
5c2a252f
CY
4473 * cus-edit.el (custom-variable-reset-backup): Quote the value
4474 before storing it in the customized-value property (Bug#6712).
4aab9006 4475 (custom-display): Add a customization type tag.
983b9602 4476 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4477
aa4589a7
CY
4478 * wid-edit.el (widget-field-value-get): New optional arg to
4479 suppress trailing whitespace truncation.
4480 (character): Use it (Bug#2689).
4481
1ff980ae
AS
44822012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4483
4484 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4485 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4486
03988c98
CY
44872012-02-05 Chong Yidong <cyd@gnu.org>
4488
eeb6cc88
CY
4489 * cus-edit.el (custom-variable-value-create): For mismatched
4490 types, show the current value (Bug#7600).
4491
03988c98
CY
4492 * custom.el (defcustom): Doc fix.
4493
f8cdeef0
GM
44942012-02-05 Glenn Morris <rgm@gnu.org>
4495
4496 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4497
0696d255
JB
44982012-02-05 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4501 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4502 (pp-last-sexp): Use `looking-at-p'.
4503
34c99998
GM
45042012-02-04 Glenn Morris <rgm@gnu.org>
4505
8f05da42
GM
4506 * files.el (revert-buffer):
4507 Doc fix (mention revert-buffer-in-progress-p).
4508
f160676e
GM
4509 * emacs-lisp/ert-x.el (ert-simulate-command):
4510 Check deferred-action-list (which is obsolete) is bound.
4511
c7291ad9
GM
4512 * subr.el (with-wrapper-hook): Doc fixes.
4513
34c99998
GM
4514 * simple.el (filter-buffer-substring-functions)
4515 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4516
6283a7d3
LL
45172012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4518
4519 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4520 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4521
e96e3013
LL
45222012-02-04 Leo Liu <sdl.web@gmail.com>
4523
4524 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4525
8ded50f2
GM
45262012-02-04 Glenn Morris <rgm@gnu.org>
4527
82ff1d13
GM
4528 * image.el (image-extension-data): Add obsolete alias.
4529
987a0a16
GM
4530 * isearch.el (isearch-update): Doc fix.
4531
ea32ef46
GM
4532 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4533
8ded50f2
GM
4534 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4535
eea14f31
GM
45362012-02-03 Glenn Morris <rgm@gnu.org>
4537
4538 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4539 (image-animate-timeout): Doc fix.
4540
4541 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4542
12f381b7
GM
45432012-02-02 Glenn Morris <rgm@gnu.org>
4544
953cebf5
GM
4545 * server.el (server-auth-dir): Doc fix.
4546 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4547
12f381b7
GM
4548 * subr.el (run-mode-hooks): Doc fix.
4549
953a8c3b
JL
45502012-02-02 Juri Linkov <juri@jurta.org>
4551
4552 * image-mode.el (image-toggle-display-image): Remove tautological
4553 `major-mode' from the `derived-mode-p' test.
4554
c5d3843c
KH
45552012-02-02 Kenichi Handa <handa@m17n.org>
4556
9f6e692e 4557 * composite.el (compose-region): Cancel previous change.
c5d3843c 4558
159462d4 45592012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4560
4561 * composite.el (compose-region, compose-string): Signal error for
4562 a null string component (Bug#6988).
4563
9f562668
CY
45642012-02-01 Chong Yidong <cyd@gnu.org>
4565
e2cef717
CY
4566 * view.el (view-buffer-other-window, view-buffer-other-frame):
4567 Handle special modes like view-buffer (Bug#10650).
4568 (view-buffer): Simplify.
4569
9f562668
CY
4570 * frame.el (set-frame-font): Tweak meaning of third argument.
4571
9f6e692e
JB
4572 * dynamic-setting.el (font-setting-change-default-font):
4573 Use set-frame-font (Bug#9982).
9f562668 4574
781acb9f
GM
45752012-02-01 Glenn Morris <rgm@gnu.org>
4576
6035be52
GM
4577 * progmodes/compile.el (compilation-internal-error-properties):
4578 Respect compilation-first-column in the "*compilation*" buffer.
4579
781acb9f
GM
4580 * emacs-lisp/easy-mmode.el (define-minor-mode):
4581 Relax :variable's test for a named function.
4582
abbceb00
AM
45832012-01-31 Alan Mackenzie <acm@muc.de>
4584
4585 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4586 off by one error.
4587
fce3fdeb
CY
45882012-01-31 Chong Yidong <cyd@gnu.org>
4589
4590 * frame.el (set-frame-font): New arg ALL-FRAMES.
4591
4592 * menu-bar.el (menu-set-font): Use set-frame-font.
4593
4594 * faces.el (face-spec-reset-face): Don't apply unspecified
4595 attribute values to the default face.
4596
47893581
JB
45972012-01-31 Juanma Barranquero <lekktu@gmail.com>
4598
4599 * progmodes/cwarn.el (cwarn): Remove dead link.
4600 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4601 Remove * from defcustom docstrings.
4602 (turn-on-cwarn-mode): Make obsolete.
4603 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4604 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4605
e58e988a
GM
46062012-01-31 Glenn Morris <rgm@gnu.org>
4607
60dc2671 4608 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4609 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4610 Allow named functions to be used as the cdr of :variable.
e58e988a 4611
7a3f511d
GM
46122012-01-30 Glenn Morris <rgm@gnu.org>
4613
4614 * emacs-lisp/authors.el (authors-fixed-entries):
4615 Remove reference to deleted file rnewspost.el.
4616
cb882333
JB
46172012-01-29 Juanma Barranquero <lekktu@gmail.com>
4618
4619 * window.el (window-with-parameter): Remove unused variable `windows'.
4620 (window--side-check): Remove unused variable `code'.
4621 (window--resize-siblings): Remove unused variable `first'.
4622 (adjust-window-trailing-edge): Remove unused variable `failed'.
4623 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4624 Use `let', not `let*'.
4625 (balance-windows-2): Remove unused variable `found'.
4626 (window--state-put-2): Remove unused variable `splits'.
4627 (window-state-put): Remove unused variable `selected'.
4628 (same-window-p): Use `string-match-p'.
4629 (display-buffer-assq-regexp): Remove unused variable `value'.
4630 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4631 Mark argument ALIST as ignored.
4632 (pop-to-buffer): Remove unused variable `old-window'.
4633
907201af
EZ
46342012-01-29 Eli Zaretskii <eliz@gnu.org>
4635
4636 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4637 and .lzma compressed files.
4638
ea162670
CY
46392012-01-29 Chong Yidong <cyd@gnu.org>
4640
5b95ee8a
CY
4641 * frame.el (window-system-default-frame-alist): Doc fix.
4642
ea162670
CY
4643 * dynamic-setting.el (font-setting-change-default-font): Don't
4644 change the default face if SET-FONT argument is non-nil (Bug#9982).
4645
d6e6f4b1
SB
46462012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4647
4648 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4649
0f29fa41 46502012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4651
4652 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4653 breakpoints in files outside current directory (Bug#6098).
4654
db174434
CY
46552012-01-29 Chong Yidong <cyd@gnu.org>
4656
6b25e4e2
SE
4657 * progmodes/python.el: Require ansi-color at top-level.
4658
6df6ae42
JB
4659 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4660 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4661 (lisp-mode-abbrev-table): Add doc.
4662 (lisp-mode-variables): Don't set local-abbrev-table.
4663 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4664
e70ee681
RW
46652012-01-28 Roland Winkler <winkler@gnu.org>
4666
4667 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4668
ace88aa2
RW
46692012-01-28 Roland Winkler <winkler@gnu.org>
4670
4671 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4672 (bibtex-set-dialect): Use it. Either set global values of
4673 dialect-dependent variables or bind these variables buffer-locally
4674 (Bug#10254).
4675 (bibtex-mode): Call bibtex-set-dialect via
4676 hack-local-variables-hook.
eb864a71
LM
4677 (bibtex-dialect): Update docstring.
4678 Add safe-local-variable predicate.
ace88aa2
RW
4679 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4680 bibtex-set-dialect.
4681 (bibtex-mode-map): Define menu for each dialect.
4682 (bibtex-entry): Fix docstring.
4683
93376c5b
CY
46842012-01-28 Chong Yidong <cyd@gnu.org>
4685
4686 * eshell/esh-arg.el (eshell-quote-argument): New function.
4687
4688 * eshell/esh-ext.el (eshell-invoke-batch-file):
4689 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4690 first arg to eshell-parse-command (Bug#10523).
4691
4372494f
DA
46922012-01-28 Drew Adams <drew.adams@oracle.com>
4693
4694 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4695 `default-directory' is non-nil.
4696
4d4ec1f8
EZ
46972012-01-28 Eli Zaretskii <eliz@gnu.org>
4698
4699 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4700 line that displays system-configuration-options. (Bug#9924)
4701
7c188927
DA
47022012-01-28 Drew Adams <drew.adams@oracle.com>
4703
4704 * descr-text.el (describe-char): Show information about POS, in
4705 addition to information about the character at POS. Improve and
4706 update the doc string. Change "code point" to "code point in
4707 charset", to avoid confusion with the character's Unicode code
4708 point shown above that. (Bug#10129)
4709
e0da685a
EZ
47102012-01-28 Eli Zaretskii <eliz@gnu.org>
4711
4712 * descr-text.el (describe-char): Show the raw character, not only
4713 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4714 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4715 for the reasons.
4716
70550acf
PH
47172012-01-28 Phil Hagelberg <phil@hagelb.org>
4718
eb864a71
LM
4719 * emacs-lisp/package.el (package-install):
4720 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 4721
0ce8e868
CY
47222012-01-28 Chong Yidong <cyd@gnu.org>
4723
cb882333
JB
4724 * emacs-lisp/package.el (package-maybe-load-descriptor):
4725 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
4726 (package-maybe-load-descriptor): Use it.
4727 (package-download-transaction): Fully load required packages
4728 inside the loop, so that `require' calls work (Bug#10593).
4729 (package-install): No need to call package-initialize now.
4730
2e7f3bea
CY
47312012-01-28 Chong Yidong <cyd@gnu.org>
4732
6e9bad14
CY
4733 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4734
f823b8ca
CY
4735 * tooltip.el (tooltip-mode): Doc fix.
4736 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4737
2680c309
CY
4738 * frame.el (set-cursor-color): Doc fix (Bug#352).
4739
d7a9e63b
CY
4740 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4741 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4742
2e7f3bea
CY
4743 * cus-edit.el (custom-buffer-create-internal): Fix search button
4744 action (Bug#10542).
2ae01800 4745 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 4746
fc4f7a23
EW
47472012-01-27 Eduard Wiebe <usenet@pusto.de>
4748
4749 * dired.el (dired-mark-files-regexp):
4750 Include any subdirectory components. (Bug#10445)
4751
7dd37071
ML
47522012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4753
4754 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4755 Handle [host]:port syntax. (Bug#10533)
4756
a268160b
AH
47572012-01-27 Alex Harsanyi <harsanyi@mac.com>
4758
4759 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4760
e43273ef
GM
47612012-01-26 Glenn Morris <rgm@gnu.org>
4762
4763 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4764 * term.el (term-raw-escape-map): Use Control-X-prefix.
4765 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4766
1edf595d
MR
47672012-01-25 Martin Rudalics <rudalics@gmx.at>
4768
4769 * window.el (window-state-get, window--state-get-1): Don't deal
4770 with fixed-sizeness of windows. Simplify code.
4771
fa8eafef
JC
47722012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4773
6df6ae42
JB
4774 * window.el (window--state-get-1, window--state-put-2):
4775 Don't save and restore the mark.
fa8eafef 4776
0b21c100
CY
47772012-01-25 Chong Yidong <cyd@gnu.org>
4778
4779 * custom.el (custom-variable-p): Doc fix.
4780
5ae1a6c8
GM
47812012-01-25 Glenn Morris <rgm@gnu.org>
4782
40047858
GM
4783 * dired.el (dired-goto-file): Handle some of the more common
4784 characters that `ls -b' escapes. (Bug#10596)
4785
5ddce96c
GM
4786 * progmodes/compile.el (compilation-next-error-function):
4787 Respect compilation-first-column in the "*compilation*" buffer.
4788 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4789
5ae1a6c8
GM
4790 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4791
b559f1a9
GM
47922012-01-24 Glenn Morris <rgm@gnu.org>
4793
4794 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4795
6725d21a
JD
47962012-01-24 Julien Danjou <julien@danjou.info>
4797
4798 * color.el (color-rgb-to-hsl): Fix value computing.
4799 (color-hue-to-rgb): New function.
4800 (color-hsl-to-rgb): New function.
4801 (color-clamp, color-saturate-hsl, color-saturate-name)
4802 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4803 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4804
70df4bbe
GM
48052012-01-24 Glenn Morris <rgm@gnu.org>
4806
4807 * vc/vc-rcs.el (vc-rcs-create-tag):
4808 * vc/vc-sccs.el (vc-sccs-create-tag):
4809 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4810
802a2ae2
ML
48112012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4812
4813 * eshell/esh-util.el (eshell-read-hosts-file):
4814 Skip comment lines. (Bug#10549)
4815
d7128bb1
ML
4816 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4817
d1a5c3b4
JB
48182012-01-23 Juanma Barranquero <lekktu@gmail.com>
4819
2724d9c7
JB
4820 * subr.el (display-delayed-warnings): Doc fix.
4821 (collapse-delayed-warnings): New function to collapse identical
4822 adjacent warnings.
4823 (delayed-warnings-hook): Add it.
d1a5c3b4 4824
a5509865
MA
48252012-01-22 Michael Albinus <michael.albinus@gmx.de>
4826
4827 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4828
4829 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4830 properties, when "login-as" is set.
4831
4832 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4833 (tramp-default-user-alist): Don't add "pscp".
4834 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4835 property "login-as", if set. (Bug#10530)
4836
cc6d5805
MA
48372012-01-21 Michael Albinus <michael.albinus@gmx.de>
4838
4839 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4840 "plink1" and "psftp". (Bug#10530)
4841
48422012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
4843
4844 * international/mule-cmds.el (prefer-coding-system): Show a
4845 warning message if the default value of file-name-coding-system
4846 was not changed.
4847
f0960428
JC
48482012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4849
cb882333
JB
4850 * windmove.el (windmove-reference-loc):
4851 Fix windmove-reference-loc miscalculation.
f0960428 4852
dd6f2a63
JB
48532012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4854
4855 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4856 default unit.
4857
7b447e9b
GM
48582012-01-21 Glenn Morris <rgm@gnu.org>
4859
117a9ea1
GM
4860 * international/mule.el (auto-coding-alist): Add .tbz.
4861
7b447e9b
GM
4862 * files.el (local-enable-local-variables): Doc fix.
4863 (inhibit-local-variables-regexps): Rename from
4864 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4865 Doc fix. Add some extensions from auto-coding-alist.
4866 (inhibit-local-variables-suffixes):
4867 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4868 (inhibit-local-variables-p):
4869 New function, extracted from set-auto-mode-1.
4870 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4871 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4872 (hack-local-variables): Doc fix. Make the mode-only case
4873 respect enable-local-variables and friends.
4874 Respect inhibit-local-variables-regexps for file-locals, but
4875 not for directory-locals.
4876 (set-visited-file-name):
4877 Take account of inhibit-local-variables-regexps.
4878 Whether it applies may change as the file name is changed.
4879 * jka-cmpr-hook.el (jka-compr-install):
4880 * jka-compr.el (jka-compr-uninstall):
4881 Update for inhibit-first-line-modes-suffixes name change.
4882
dd6e3cdd
MR
48832012-01-20 Martin Rudalics <rudalics@gmx.at>
4884
4885 * help-macro.el (make-help-screen): Temporarily restore original
4886 binding for minor-mode-map-alist (Bug#10454).
4887
0d0deb38
JD
48882012-01-19 Julien Danjou <julien@danjou.info>
4889
4890 * color.el (color-name-to-rgb): Use the white color to find the max
4891 color component value and return correctly computed values.
4892 (color-name-to-rgb): Add missing float conversion for max value.
4893
34a02f46
MR
48942012-01-19 Martin Rudalics <rudalics@gmx.at>
4895
4896 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
4897 special state value for window-persistent-parameters.
4898 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
4899 (window--state-put-2): Reset all window parameters to nil before
4900 assigning values of persistent parameters.
4901
606c44c4
AM
49022012-01-18 Alan Mackenzie <acm@muc.de>
4903
4904 Eliminate sluggishness and hangs in fontification of "semicolon
4905 deserts".
4906
cb882333
JB
4907 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4908 Change value 10000 -> 3000.
606c44c4
AM
4909 (c-state-safe-place): Reformulate so it doesn't stack up an
4910 infinite number of wrong entries in c-state-nonlit-pos-cache.
4911 (c-determine-limit-get-base, c-determine-limit): New functions to
4912 determine backward search limits disregarding literals.
4913 (c-find-decl-spots): Amend commenting.
4914 (c-cheap-inside-bracelist-p): New function which detects "={".
4915
4916 * progmodes/cc-fonts.el
4917 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4918 backward search.
4919 (c-font-lock-declarations): Fix an occurrence of point being
4920 undefined. Check additionally for point being in a bracelist or
4921 near a macro invocation without a semicolon so as to avoid a
4922 fruitless time consuming search for a declarator. Give a more
4923 precise search limit for declarators using the new
4924 c-determine-limit.
4925
f3860cea
GM
49262012-01-18 Glenn Morris <rgm@gnu.org>
4927
4928 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4929 (set-auto-mode): Doc fixes.
4930
1db03b16
GM
49312012-01-17 Glenn Morris <rgm@gnu.org>
4932
0e6038be
GM
4933 * isearch.el (search-nonincremental-instead): Fix doc typo.
4934
1db03b16
GM
4935 * dired.el (dired-insert-directory): Handle newlines in directory name.
4936 (dired-build-subdir-alist): Unescape newlines in directory name.
4937
4cb0aa75
MA
49382012-01-17 Michael Albinus <michael.albinus@gmx.de>
4939
4940 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4941 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4942 (tramp-action-terminal): Use it. (Bug#10530)
4943
1d00653d
SM
49442012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4947
6a6ee00d
MR
49482012-01-16 Martin Rudalics <rudalics@gmx.at>
4949
4950 * window.el (window-state-ignored-parameters): Remove variable.
4951 (window--state-get-1): Rename argument MARKERS to IGNORE.
4952 Handle persistent window parameters. Make copy of clone-of
4953 parameter only if requested. (Bug#10348)
4954 (window--state-put-2): Install a window parameter only if it has
4955 a non-nil value or an existing parameter shall be overwritten.
4956
97912def
MA
49572012-01-15 Michael Albinus <michael.albinus@gmx.de>
4958
4959 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4960
688070a5
EZ
49612012-01-14 Eli Zaretskii <eliz@gnu.org>
4962
4963 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4964 don't pass the (nil) value of `upnode' to string-match.
4965
301afadc
CY
49662012-01-14 Chong Yidong <cyd@gnu.org>
4967
4968 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 4969 Fix values recognized by the cursorBlink resource.
301afadc 4970
9e5788aa
PE
49712012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4972
4973 * epg.el (epg--make-temp-file): Avoid permission race condition
4974 when running on old Emacs versions (bug#10403).
4975
3cdb7f5a
GM
49762012-01-14 Glenn Morris <rgm@gnu.org>
4977
4978 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4979
8c82b1b4
AM
49802012-01-13 Alan Mackenzie <acm@muc.de>
4981
4982 Fix filling for when filladapt mode is enabled.
4983
4984 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4985 c-mask-paragraph, pass in `fill-paragraph' rather than
4986 `fill-region-as-paragraph'. (This is a reversion of a previous
4987 change.)
eb864a71
LM
4988 * progmodes/cc-mode.el (c-basic-common-init):
4989 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 4990
e517eda4
GM
49912012-01-13 Glenn Morris <rgm@gnu.org>
4992
1498536e
GM
4993 * dired.el (dired-switches-escape-p): New function.
4994 (dired-insert-directory): Use dired-switches-escape-p.
4995 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4996
e517eda4
GM
4997 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4998
328f984d
GM
49992012-01-12 Glenn Morris <rgm@gnu.org>
5000
5001 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5002 changes in adaptive-fill-regexp. (Bug#10276)
5003
2cc769a8
AM
50042012-01-11 Alan Mackenzie <acm@muc.de>
5005
5006 Fix Emacs bug #10463 - put `widen's around the critical spots.
5007
1d00653d 5008 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5009 widen around each invocation of c-state-pp-to-literal. Remove an
5010 unused let variable.
5011
e52c37fa
GM
50122012-01-11 Glenn Morris <rgm@gnu.org>
5013
5014 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5015 Doc fix.
e52c37fa 5016
96f8741e
CY
50172012-01-10 Chong Yidong <cyd@gnu.org>
5018
1d00653d
SM
5019 * net/network-stream.el (network-stream-open-starttls):
5020 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5021 response to the capability command.
5022
b09a806e
GM
50232012-01-10 Glenn Morris <rgm@gnu.org>
5024
5025 * mail/unrmail.el (unrmail): Tweak previous change.
5026
7655cb66
CY
50272012-01-09 Chong Yidong <cyd@gnu.org>
5028
5029 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5030
9d5a8f0b
AM
50312012-01-08 Alan Mackenzie <acm@muc.de>
5032
5033 Optimise font locking in long enum definitions.
5034
5035 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5036 arm to a cond form to handle enums.
5037 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5038 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5039
9a0115ab 50402012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5041
5042 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5043 (Bug#10401)
6bb72cbd 5044
f186bb95
LMI
50452012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5046
29232a68
LMI
5047 * faces.el (set-face-attribute): Clarify the meaning of the nil
5048 frame (bug#10294).
5049
4e5d086d
LMI
5050 * subr.el (with-selected-frame): Mention that the selected frame
5051 is restored (bug#9980).
5052
8e66aebe
LMI
5053 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5054 (bug#9759).
5055
cd394be1 5056 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5057 (password-read): Don't autoload unused function.
5058
adf4e762
JB
50592012-01-07 Juanma Barranquero <lekktu@gmail.com>
5060
5061 * progmodes/which-func.el (which-func-mode): Turn into a
5062 non-interactive function and mark as obsolete (bug#10428).
5063
89bd9ccd
CY
50642012-01-06 Chong Yidong <cyd@gnu.org>
5065
5066 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5067 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5068 functions, along with 1 and -1.
5069
4afee9d5
EZ
50702012-01-06 Eli Zaretskii <eliz@gnu.org>
5071
5072 * time.el (display-time-load-average)
5073 (display-time-default-load-average): Doc fixes. See the thread
5074 starting at
5075 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5076 for the details.
5077
536aea70
GM
50782012-01-06 Glenn Morris <rgm@gnu.org>
5079
665ae865
GM
5080 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5081 has no messages. (Bug#10377)
5082
c869783d
GM
5083 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5084 than Info-edit. (Bug#10385)
5085
2bb4227e
GM
5086 * time.el (display-time-load-average, display-time-next-load-average):
5087 Doc fixes.
5088
7d5944b9
GM
5089 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5090 local setting of buffer-read-only to the input buffer. (Bug#10419)
5091
536aea70
GM
5092 * calendar/calendar.el (calendar-mode):
5093 Locally set scroll-margin to 0. (Bug#10379)
5094
7dccca16
UM
50952012-01-06 Ulrich Mueller <ulm@gentoo.org>
5096
5097 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5098
afbb7930
GM
50992012-01-05 Glenn Morris <rgm@gnu.org>
5100
5101 * eshell/em-unix.el (diff-no-select): Autoload it.
5102 (eshell/diff): Use diff-no-select. (Bug#10420)
5103
04482335
CY
51042012-01-05 Chong Yidong <cyd@gnu.org>
5105
7baca3bc
CY
5106 * shell.el (shell-dynamic-complete-functions): Revert last change.
5107 (shell-command-completion-function): New function.
5108 (shell-completion-vars): Use it to implement
5109 shell-completion-execonly (Bug#10417).
5110
04482335
CY
5111 * custom.el (enable-theme): Don't set custom-safe-themes.
5112
1d00653d
SM
5113 * cus-theme.el (custom-theme-merge-theme):
5114 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5115
bb5aa5d6
MM
51162012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5117
5118 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5119 first prompt in `sql-interacive-mode'.
5120 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5121 keywords.
6df6ae42 5122 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5123 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5124 context of original buffer. Invoke `sql-login-hook'.
5125
a7183d7c
EZ
51262012-01-04 Eli Zaretskii <eliz@gnu.org>
5127
5128 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5129 letters in cite-prefix.
5130
a1eacd1e
LMI
51312012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5132
5133 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5134
787cdb34
CY
51352012-01-03 Chong Yidong <cyd@gnu.org>
5136
1d00653d
SM
5137 * shell.el (shell-dynamic-complete-functions):
5138 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5139 comint-filename-completion first (Bug#10417).
5140
30710442
RS
51412012-01-02 Richard Stallman <rms@gnu.org>
5142
5143 * battery.el (battery-status-function):
5144 Detect when to use battery-yeeloong-sysfs.
5145 (battery-echo-area-format): Add string for Yeeloong.
5146 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5147 (battery-yeeloong-sysfs): New function.
5148
f75bfc33
CY
51492012-01-02 Chong Yidong <cyd@gnu.org>
5150
5151 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5152 (dirtrack): Merge code for handling relative filenames in prompt
5153 from shell-dir-cookie-watcher.
5154 (dirtrack-debug-message): New arg to avoid excess format calls.
5155
5156 * shell.el (shell-dir-cookie-re): Variable deleted.
5157 (shell-dir-cookie-watcher): Function deleted.
5158 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5159 with dirtrack-mode.
5160
651e947e
EZ
51612012-01-01 Eli Zaretskii <eliz@gnu.org>
5162
1d00653d
SM
5163 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5164 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5165 libgnutls-26.dll.
5166
94d4c7dc
AS
51672011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5168
5169 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5170
8d43f3cd
EZ
51712011-12-31 Eli Zaretskii <eliz@gnu.org>
5172
5173 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5174 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5175
98c8795a
MA
51762011-12-29 Michael Albinus <michael.albinus@gmx.de>
5177
5178 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5179 also for alternative shells.
5180 (tramp-open-connection-setup-interactive-shell): Check, whether
5181 the shell is a busybox.
5182 (tramp-send-command): Don't suppress multiple prompts for
5183 busyboxes, it hurts.
5184
51281b32
CY
51852011-12-28 Chong Yidong <cyd@gnu.org>
5186
5187 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5188 (gdb-get-source-file): Move mode line update to
5189 gdb-get-source-file (Bug#10087).
5190
2170cb53
CY
51912011-12-25 Chong Yidong <cyd@gnu.org>
5192
5193 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5194 gud-gdb-marker-filter without taking it as an argument.
5195 (gud-gdb-run-command-fetch-lines): Caller changed.
5196 (gud-gdb-completion-function): New variable.
5197 (gud-gdb-completion-at-point): Use it.
5198 (gud-gdb-completions-1): Split from gud-gdb-completions.
5199
5200 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5201 function as separate arguments.
5202 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5203 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5204 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5205 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5206 (gdb-stopped, def-gdb-auto-update-trigger)
5207 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5208 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5209 Callers changed.
2170cb53
CY
5210 (gud-gdbmi-completions): New function.
5211 (gdb): Use it for generating the completion table.
5212
be8b11bb
AM
52132011-12-24 Alan Mackenzie <acm@muc.de>
5214
5215 Introduce a mechanism to widen the region used in context font
1d00653d 5216 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5217
1d00653d
SM
5218 * progmodes/cc-langs.el (c-before-font-lock-functions):
5219 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5220 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5221 functions to be run just before context (etc.) font locking.
5222
5223 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5224 New, functionality extracted from
be8b11bb 5225 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5226 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5227 (c-after-change): Set c-in-after-change-fontification.
5228 (c-set-fl-decl-start): Rejig its interface, so it can be called
5229 from both after-change and context fontifying.
b81d40f0
JB
5230 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5231 New functions.
5232 (c-standard-font-lock-fontify-region-function): New variable.
5233 (c-font-lock-fontify-region): New function.
be8b11bb 5234
341cf6ac
JL
52352011-12-24 Juri Linkov <juri@jurta.org>
5236
5237 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5238 (Bug#10348)
5239
bffcee0a
MA
52402011-12-23 Michael Albinus <michael.albinus@gmx.de>
5241
5242 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5243 existence of source file. (Bug#10325)
5244
cb5e207c
AM
52452011-12-23 Alan Mackenzie <acm@muc.de>
5246
5247 Fix unstable fontification inside templates.
5248
b81d40f0
JB
5249 * progmodes/cc-langs.el (c-before-font-lock-functions):
5250 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5251 additionally has c-set-fl-decl-start. The other languages (apart
5252 from AWK) have that as a single entry.
5253
b81d40f0
JB
5254 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5255 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5256 c-set-fl-decl-start.
5257
b81d40f0
JB
5258 * progmodes/cc-mode.el (c-common-init, c-after-change):
5259 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5260 (c-set-fl-decl-start): New function, extracted from
5261 c-font-lock-enclosing-decls and enhanced.
5262
60ff536c
JB
52632011-12-23 Juanma Barranquero <lekktu@gmail.com>
5264
5265 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5266
1c4757d6
JL
52672011-12-22 Juri Linkov <juri@jurta.org>
5268
5269 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5270
d031f2c7
CY
52712011-12-22 Chong Yidong <cyd@gnu.org>
5272
5273 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5274
bace743a
DA
52752011-12-21 Drew Adams <drew.adams@oracle.com>
5276
5277 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5278
728a1f2b
JC
52792011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5280
5281 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5282
0d373f73
TZ
52832011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5284
fec0aaa4
TZ
5285 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5286 highlighting and support. Fix up comments for capitalization.
5287 (cfengine-mode-debug): New var.
5288 (cfengine3-mode): Change the modeline indicator to "CFE3".
5289 (cfengine3-font-lock-keywords): Improve defun highlighting.
5290 (cfengine2-actions): Rename from `cfengine-actions'.
5291 (cfengine2-font-lock-keywords): Rename from
5292 `cfengine-font-lock-keywords'.
5293 (cfengine2-imenu-expression): Rename from
5294 `cfengine-imenu-expression'.
5295 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5296 (cfengine2-beginning-of-defun): Rename from
5297 `cfengine-beginning-of-defun'.
5298 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5299 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5300 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5301 modeline indicator to "CFE2".
5302 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5303 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5304
bc86f573
CY
53052011-12-21 Chong Yidong <cyd@gnu.org>
5306
5307 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5308 filename argument.
5309
d45ba96b
MR
53102011-12-20 Martin Rudalics <rudalics@gmx.at>
5311
5312 * window.el (window-normalize-buffer-to-display): Remove.
5313 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5314
a6198c90
CY
53152011-12-19 Chong Yidong <cyd@gnu.org>
5316
5317 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5318 Don't signal an error in a predicate function; return non-nil.
5319 (vc-dir-mark-file): Move the error here.
5320 (vc-dir-mark-unmark): If acting on the region, keep going if one
5321 of the entries cannot be marked/unmarked.
5322 (vc-dir-mark-all-files): If current entry is a directory, mark
5323 only child files, as documented.
5324
34c5fb55
VB
53252011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5326
5327 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5328 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5329 addition.
5330
c803b2b7
JD
53312011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5332
5333 * term/ns-win.el (ns-get-selection-internal)
5334 (ns-store-selection-internal): Declare.
1154d12e
JB
5335 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5336 Declare as obsolete.
5337 (ns-get-pasteboard, ns-paste-secondary):
5338 Use ns-get-selection-internal.
5339 (ns-set-pasteboard, ns-copy-including-secondary):
5340 Use ns-store-selection-internal.
c803b2b7 5341
9cff91f8 53422011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5343
5344 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5345 (vc-deduce-fileset): Doc fix.
99a289d9 5346
f16c898a
AS
53472011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5348
5349 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5350
763237c4
SS
53512011-12-13 Sam Steingold <sds@gnu.org>
5352
5353 * man.el (Man-getpage-in-background): When running under a
5354 window-system, ignore $MANWIDTH and $COLUMNS.
5355
5fc1c122
KH
53562011-12-15 Kenichi Handa <handa@m17n.org>
5357
5358 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5359 (setup-ethiopic-environment-internal): Comment out key-binding for
5360 ethio-toggle-punctuation.
5361
13d49cbb
AM
53622011-12-13 Alan Mackenzie <acm@muc.de>
5363
898169a2
AM
5364 Add the switch statement to AWK Mode.
5365
7a71b18d 5366 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5367 "default" to the keywords regexp.
5368
7a71b18d 5369 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5370 expression as the rest.
1d00653d
SM
5371 (c-nonlabel-token-key): Allow string literals for AWK.
5372 Refactor for the other modes.
898169a2 5373
13d49cbb 5374 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5375 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5376 routines. Limit backward searching in c-font-lock-enclosing.decl.
5377
5378 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5379 pp-state and literal type in addition to the limits.
1d00653d 5380 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5381 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5382 (c-slow-in-literal, c-fast-in-literal): Remove.
5383 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5384
5385 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5386 being in a literal. Add a limit for backward searching.
5387
5388 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5389 c-slow-in-literal.
5390
15e0efc7
SM
53912011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5394
454592a6
MR
53952011-12-13 Martin Rudalics <rudalics@gmx.at>
5396
5397 * window.el (delete-other-windows): Use correct frame in call to
5398 window-with-parameter.
5399
87393f26
DP
54002011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5401
5402 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5403 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5404 (makefile-gmake-statements, makefile-makepp-statements):
5405 Use it and add new makepp keywords.
5406 (makefile-makepp-font-lock-keywords): Add new patterns.
5407 (makefile-match-function-end): Match new [...] and [[...]].
5408
11636b22
JB
54092011-12-11 Juanma Barranquero <lekktu@gmail.com>
5410
5411 * ses.el (ses-call-printer-return, ses-cell-property-get)
5412 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5413 (ses-create-cell-variable, ses-reset-header-string)
5414 (ses-cell-set-formula, ses-repair-cell-reference-all)
5415 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5416 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5417 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5418 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5419 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5420 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5421 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5422 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5423 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5424 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5425 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5426 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5427
cf018193
VB
54282011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5429
5430 * ses.el: The overall change is to add cell renaming, that is
5431 setting fancy names for cell symbols other than name matching
5432 "\\`[A-Z]+[0-9]+\\'" regexp .
5433 (ses-create-cell-variable): New defun.
5434 (ses-relocate-formula): Relocate formulas only for cells the
5435 symbols of which are not renamed, i.e. symbols whose names do not
5436 match regexp "\\`[A-Z]+[0-9]+\\'".
5437 (ses-relocate-all): Relocate values only for cells the symbols of
5438 which are not renamed.
5439 (ses-load): Create cells variables as the (ses-cell ...) are read,
5440 in order to check row col consistency with cell symbol name only
5441 for cells that are not renamed.
5442 (ses-replace-name-in-formula): New defun.
5443 (ses-rename-cell): New defun.
5444
ee957461
CY
54452011-12-11 Chong Yidong <cyd@gnu.org>
5446
5447 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5448 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5449
9a9e9ef0
MR
54502011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5451
5452 * window.el (other-window): Fix docstring.
5453
92a8eba5
EZ
54542011-12-10 Eli Zaretskii <eliz@gnu.org>
5455
5456 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5457 `from' or `to' address before taking its substring.
5458 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5459 encoded name is chopped in the middle of the encoded string, and
5460 thus displayed encoded.
5461
e152e577
JB
54622011-12-10 Juanma Barranquero <lekktu@gmail.com>
5463
5464 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5465
e5d84bfe
EZ
54662011-12-10 Eli Zaretskii <eliz@gnu.org>
5467
5468 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5469 to use texinfo-update-node and commands that call it if the
5470 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5471 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5472 (texinfo-all-menus-update, texinfo-master-menu)
5473 (texinfo-update-node, texinfo-every-node-update)
5474 (texinfo-multiple-files-update): Doc fix. Warn against updating
5475 all the @node lines.
5476 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5477 argument is numeric. Explain better in the doc string what the
5478 function really does.
5479 (texinfo-insert-master-menu-list): Improve the error message
5480 displayed if there's no menu in the Top node.
5481 (Bug#2975) See also this thread:
e5d84bfe
EZ
5482 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5483
1d84e9bb
MG
54842011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5485
5486 * speedbar.el (speedbar-supported-extension-expressions):
5487 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5488
382c953b
JB
54892011-12-09 Juanma Barranquero <lekktu@gmail.com>
5490
5491 * printing.el (pr-mode-alist):
5492 * simple.el (filter-buffer-substring-functions)
5493 (completion-list-insert-choice-function):
5494 * window.el (window-with-parameter, window-atom-root)
5495 (window-sides-slots, window-size-fixed, window-min-delta)
5496 (window-max-delta, window--resize-mini-window)
5497 (window--resize-child-windows-normal, window-tree)
5498 (delete-other-windows, quit-window, split-window)
5499 (display-buffer-record-window, special-display-buffer-names)
5500 (special-display-regexps, special-display-popup-frame)
5501 (same-window-p, split-window-sensibly)
5502 (display-buffer-overriding-action, display-buffer-alist)
5503 (display-buffer-base-action, display-buffer, switch-to-buffer)
5504 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5505 (fit-window-to-buffer, recenter-positions)
5506 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5507 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5508 and remove unneeded backslashes in docstrings.
5509
39c9faef
SM
55102011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5511
98449af8
SM
5512 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5513
39c9faef
SM
5514 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5515 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5516 end in ".mk".
5517 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5518 when reading the makefile (bug#10116).
5519
86ed9fdc
SM
55202011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5521
5522 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5523 (bug#10116).
5524
5580f89d
GM
55252011-12-06 Glenn Morris <rgm@gnu.org>
5526
5527 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5528
28d3917c
CY
55292011-12-06 Chong Yidong <cyd@gnu.org>
5530
5531 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5532
a98edce9
JB
55332011-12-06 Juanma Barranquero <lekktu@gmail.com>
5534
5535 * textmodes/table.el (table-shorten-cell): Fix typo.
5536
e65adfac
CG
55372011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5538
5539 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5540
71cc0b74
EZ
55412011-12-05 Eli Zaretskii <eliz@gnu.org>
5542
5543 * descr-text.el (describe-char): Fix display of strong
5544 right-to-left characters and directional embeddings and overrides.
5545
5546 * simple.el (what-cursor-position): Fix display of codepoints of
5547 strong right-to-left characters.
5548
315bc30d
CY
55492011-12-05 Chong Yidong <cyd@gnu.org>
5550
5551 * faces.el (read-color): Doc fix.
5552
58a70b94
GM
55532011-12-05 Glenn Morris <rgm@gnu.org>
5554
5555 * align.el (align--set-marker): Add doc-string.
5556 Don't try to move something that is not a marker. (Bug#10216)
5557
5158face
GM
55582011-12-04 Glenn Morris <rgm@gnu.org>
5559
5560 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5561 overly zealous deletion of trailing whitespace.
5562
520fca41
JB
55632011-12-04 Juanma Barranquero <lekktu@gmail.com>
5564
5565 * server.el (server-delete-client): On Windows, do not try to delete
5566 the only terminal.
5567 (server-process-filter): On Windows, treat requests for a tty frame as
5568 if they were for a GUI frame if the running server is in GUI mode.
5569
5e605a2e
GM
55702011-12-03 Glenn Morris <rgm@gnu.org>
5571
5572 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5573
5c3fe83f
SM
55742011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5575
6f5e57e7
SM
5576 * electric.el: Streamline electric-indent's hook.
5577 (electric-indent-chars): Revert to simple list.
5578 (electric-indent-functions): New var.
5579 (electric-indent-post-self-insert-function): Use it.
5580
5c3fe83f
SM
5581 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5582 there's no inferior buffer (bug#10196).
5583 (prolog-consult-compile): Don't use toggle-read-only.
5584
6bdac736
MA
55852011-12-02 Michael Albinus <michael.albinus@gmx.de>
5586
5587 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5588 interrupt. (Bug#10187)
5589
6131ba7f
SM
55902011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5591
99c79fee
SM
5592 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5593 (bug#9160).
5594
6131ba7f
SM
5595 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5596 (bug#10191).
5597
cb0a02ea
JL
55982011-12-02 Juri Linkov <juri@jurta.org>
5599
5600 * info.el (Info-search): Display "end of manual" when Isearch
5601 reaches the end of single-file Info manual. (Bug#9918)
5602
66e0570c
EZ
56032011-12-02 Eli Zaretskii <eliz@gnu.org>
5604
5605 * isearch.el (isearch-message-prefix): Run the input method part
5606 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5607
02b16839
JL
56082011-12-02 Juri Linkov <juri@jurta.org>
5609
5610 * isearch.el (isearch-occur): Use `word-search-regexp' for
5611 `isearch-word'.
5612 (isearch-search-and-update): Add condition for `isearch-word' and
5613 call `word-search-regexp'. (Bug#10145)
5614
0b950688
GM
56152011-12-01 Glenn Morris <rgm@gnu.org>
5616
5617 * eshell/em-hist.el (eshell-hist-initialize):
5618 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5619 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5620
9505c3c7
SM
56212011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5624
1bbe96b2 56252011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5626
a1beca85
SM
5627 * progmodes/verilog-mode.el (verilog-pretty-expr):
5628 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5629 verilog, such as += *= and the like.
5630 (verilog-assignment-operator-re): Regular expression to find the
5631 assigment operator in a verilog assignment.
5632 (verilog-assignment-operation-re): Regular expression to find an
5633 assignment statement for pretty-expr.
5634 (verilog-in-attribute-p): Query returns true if point is in an
5635 attribute context; used to skip these for expression line up from
5636 pretty-expr.
5637 (verilog-in-parameter-p): Query returns true if point is in an
5638 parameter definition context; used to skip these for expression
5639 line up from pretty-expr.
5640 (verilog-in-parenthesis-p): Query returns true if point is in a
5641 parenthetical expression, specifically ( ) but not [ ] or { };
5642 used by pretty-expr.
5643 (verilog-just-one-space): If there is no space, don't add one.
5644 (verilog-get-lineup-indent-2): Specifically skip just attribute
5645 contexts for expression lineup, rather than skipping all
5646 parenthetical expressions.
5647 (verilog-calculate-indent): Fix comment, and fix indent.
5648 (verilog-do-indent): Indent declarations in lists (suggested by
5649 Joachim Lechner).
5650 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5651 skeleton items.
5652 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5653 by Alain Mellan).
5654
1bbe96b2 56552011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5656
5657 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5658 parameters with embedded comments. Reported by Ray Stevens.
5659 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5660 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5661 Reported by Tim Holt.
5662 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5663 instantiated by upper module causing wrong expansion until AUTOed a
5664 second time. Reported by K C Buckenmaier.
5665 (verilog-diff-auto): Fix showing .* as a difference when
5666 `verilog-auto-star-save' off. Reported by Dan Dever.
5667 (verilog-auto-reset, verilog-read-always-signals)
5668 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5669 temporary signals in reset list if
5670 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5671 style to each signal's assignment type, bug381.
5672 Reported by Thomas Esposito.
6288f0ca
WS
5673 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5674 (verilog-uvm-statement-re): Support UVM indentation and
5675 highlighting, with old OVM keywords only.
a1beca85 5676 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5677 Support AUTOTIEOFF creating non-wire data types.
5678 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5679 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5680 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5681 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5682 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5683 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5684 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5685 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5686 non-numeric vector width. Reported by Alex Reed.
5687 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5688 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5689 (verilog-auto-delete-trailing-whitespace):
5690 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5691 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5692 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5693 Fix verilog-scan-cache corruption when running user AUTO expansion
5694 hooks that call indentation routines.
5695 (verilog-simplify-range-expression): Fix typo ignoring lower case
5696 identifiers.
5697 (verilog-delete-auto): Fix delete-autos to also remove user created
5698 automatics, as long as they start with AUTO.
5699 (verilog-batch-diff-auto, verilog-diff-auto)
5700 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5701 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5702 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5703 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5704 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5705 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5706 is disabled and its cache will get corrupt, causing AUTOS not to
5707 expand. Instead use only -quick functions.
5708 (verilog-scan-region): Fix scanning over escaped quotes.
5709 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5710 (verilog-re-search-backward-quick)
5711 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5712 related functions now ignore strings, to fix misparsing of strings
5713 with magic comments embedded in them.
a1beca85
SM
5714 (verilog-read-auto-template):
5715 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5716 Reported by Brad Dobbie.
5717 (verilog-read-auto-template):
5718 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5719 Reported by Brad Dobbie.
6288f0ca
WS
5720 (verilog-auto-inst, verilog-auto-inst-param)
5721 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5722 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5723 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
5724 debugging templates without merge conflicts, bug357.
5725 Reported by Brad Dobbie.
5726 (verilog-read-auto-template):
5727 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
5728 Reported by Brad Dobbie.
5729 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5730 abbrevs so user won't be asked to save.
5731 (verilog-read-auto-lisp-present): Fix to start at beginning of
5732 buffer in case called outside of verilog-auto.
5733 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5734 to "X-2". Reported by Matthew Myers.
5735 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5736 all inputs from module templates. Reported by Leith Johnson.
5737 (verilog-module-inside-filename-p): Fix locating programs as with
5738 modules.
5739 (verilog-auto-inst-port): Fix vl-width expressions when using
5740 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5741 (verilog-decls-get-regs, verilog-decls-get-signals,
5742 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5743 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5744 verilog-read-decls): Combine reg and wire structures into one var
5745 structure to represent SystemVerilog concepts.
5746 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5747 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
5748 (verilog-auto-wire-type, verilog-insert-definition):
5749 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
5750 SystemVerilog "logic" keyword instead of "wire"/"reg".
5751 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5752 to declares outputs that also have assignments (presumably in an
a1beca85
SM
5753 ifdef or generate if so there's not a driver conflict).
5754 Reported by Matthew Myers.
5755 (verilog-auto-declare-nettype, verilog-insert-definition):
5756 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
5757 `default_nettype none. Reported by Julian Gorfajn.
5758 (verilog-read-always-signals-recurse, verilog-read-decls)
5759 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5760 malformed end statement, bug325. Reported by Joshua Wise and
5761 Andrew Drake.
5762 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5763 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
5764 when expanding .* in interfaces, bug320.
5765 Reported by Pierre-David Pfister.
6288f0ca 5766 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
5767 name and open parenthesis, bug317.
5768 Reported by Pierre-David Pfister.
6288f0ca
WS
5769 (verilog-simplify-range-expression): Fix simplification of
5770 multiplications inside AUTOWIRE connections, bug303.
5771 (verilog-auto-inst-port): Support parameter expansion in
5772 multidimensional arrays.
5773 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5774 after "assert property". Reported by Julian Gorfajn.
5775 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5776 with multiplication, bug303.
5777 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5778 Reported by Jan Frode Lonnum.
5779
1bbe96b2
GM
57802011-11-30 Juanma Barranquero <lekktu@gmail.com>
5781
5782 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5783 (hfy-shell-file-name, hfy-shell):
5784 * international/fontset.el (x-decompose-font-name): Fix typos.
5785
57862011-11-29 Ken Brown <kbrown@cornell.edu>
5787
5788 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5789 (gdb-version): Remove defvar.
5790 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5791 (gdb-gud-context-command, gdb-non-stop-handler)
5792 (gdb-current-context-command, gdb-stopped): Use it.
5793 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
5794 (gdb-non-stop-handler): Don't enable pretty-printing here.
5795 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
5796 non-stop mode. Use the following.
5797 (gdb-check-target-async): New defun.
5798 (gud-watch, gdb-stopped): Fix whitespace.
5799 (gdb-get-source-file): Don't try to display the source file if
5800 `gdb-main-file' is nil.
5801
58022011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * align.el: Try to generate fewer markers (bug#10047).
5805 (align--set-marker): New macro.
5806 (align-region): Use it.
5807
c935221f
SM
58082011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5811
e70b5064
CY
58122011-11-29 Chong Yidong <cyd@gnu.org>
5813
5814 * indent.el (indent-for-tab-command, indent-according-to-mode):
5815 Doc fix.
5816 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5817
f3af92b7
MA
58182011-11-29 Michael Albinus <michael.albinus@gmx.de>
5819
5820 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5821 aware of remote file names. (Bug#10124)
5822
ed472be9
CY
58232011-11-29 Chong Yidong <cyd@gnu.org>
5824
5825 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5826
24510c22
SM
58272011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * files.el (find-file): Don't use force-same-window (bug#10144).
5830 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5831 use pop-to-buffer if the selected window can't be used.
5832 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5833
c60c3703
EZ
58342011-11-28 Eli Zaretskii <eliz@gnu.org>
5835
5836 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5837 special-mode-map.
5838
e95def75
CY
58392011-11-28 Chong Yidong <cyd@gnu.org>
5840
5841 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5842
c3f1c606
NR
58432011-11-27 Nick Roberts <nickrob@snap.net.nz>
5844
5845 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5846 gdb-get-source-file-list on gdb-create-source-file-list.
5847
00db469c
EZ
58482011-11-26 Eli Zaretskii <eliz@gnu.org>
5849
5850 * whitespace.el (whitespace-newline): Use a different foreground
5851 color for 16-color light-background displays.
5852
4ad3bc2a
CY
58532011-11-24 Chong Yidong <cyd@gnu.org>
5854
5855 * window.el (display-buffer--special-action): Doc fix.
5856
e9fce1ac
JB
58572011-11-25 Juanma Barranquero <lekktu@gmail.com>
5858
5859 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5860 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5861 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5862 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5863 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5864 (avl-tree-stack-first):
5865 * emacs-lisp/cconv.el (cconv--analyse-use):
5866 * net/gnutls.el (gnutls-negotiate): Fix typos.
5867
cb825e5d
GM
58682011-11-24 Glenn Morris <rgm@gnu.org>
5869
3adbe224
GM
5870 * lpr.el (lpr-windows-system, lpr-lp-system):
5871 * mail/binhex.el (binhex-begin-line):
5872 * progmodes/grep.el (grep-history, grep-find-history):
5873 * textmodes/flyspell.el:
5874 * vc/pcvs-defs.el (cvs-global-menu):
5875 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5876 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5877 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5878
321decc8
GM
5879 * net/tls.el: Fix case of "GnuTLS".
5880
420b63ad
GM
5881 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5882
cb825e5d
GM
5883 * version.el (emacs-build-system): Give it a doc-string.
5884
a0649f08
JL
58852011-11-24 Juri Linkov <juri@jurta.org>
5886
5887 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5888
c0bc0fd4
GM
58892011-11-24 Glenn Morris <rgm@gnu.org>
5890
5891 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5892 if called on a non-mime message just toggle the headers. (Bug#8006)
5893
20db1522
JB
58942011-11-24 Juanma Barranquero <lekktu@gmail.com>
5895
5896 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5897 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5898 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5899 (allout-rebullet-heading, allout-open-sibtopic)
5900 (allout-toggle-current-subtree-encryption)
5901 (allout-toggle-subtree-encryption, allout-encrypt-string)
5902 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5903 (allout-distinctive-bullets-string, allout-auto-activation):
5904 * window.el (window-normalize-buffer-to-display):
5905 * progmodes/verilog-mode.el (verilog-batch-indent):
5906 * textmodes/bibtex.el (bibtex-field-braces-opt)
5907 (bibtex-field-strings-opt):
5908 * vc/cvs-status.el (cvs-tree-merge):
5909 Fix typos.
5910
7262a87c
MA
59112011-11-23 Michael Albinus <michael.albinus@gmx.de>
5912
5913 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5914 `non-essential' to t, in order to avoid remote connections.
5915
283430a1
EZ
59162011-11-23 Eli Zaretskii <eliz@gnu.org>
5917
a1beca85
SM
5918 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5919 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
5920 case-insensitively.
5921
d2992a38
ML
59222011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5923
5924 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5925
50419064
GM
59262011-11-23 Glenn Morris <rgm@gnu.org>
5927
da94eca1
GM
5928 * paths.el (rmail-file-name): Reformat the doc-string so that it
5929 is picked up.
5930
9aac4de2
GM
5931 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5932 (rmail-auto-file): Ignore case in the "special" field names,
5933 as mail-fetch-field does for all others.
5934
8038d2d2
GM
5935 * mail/rmail.el (rmail-forward):
5936 * mail/rmailkwd.el (rmail-set-label):
5937 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5938 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5939
f3fe222a
GM
5940 * mail/rmail.el (rmail-current-message): Doc fix.
5941
50419064
GM
5942 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5943
28109f49
SM
59442011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5947
394c65f1
GM
59482011-11-22 Glenn Morris <rgm@gnu.org>
5949
5950 * mail/rmailmm.el (test-rmail-mime-handler)
5951 (test-rmail-mime-bulk-handler)
5952 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5953
f2a0aa3a
JL
59542011-11-21 Juri Linkov <juri@jurta.org>
5955
1154d12e
JB
5956 * calc/calc.el (calc-read-key-sequence):
5957 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 5958
9c34a344
LMI
59592011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5960
5961 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5962 Tell the caller that the next line needs recomputation, even
5963 though it doesn't start a sexp (bug#10094).
5964
f04a3be9
SM
59652011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5966
5967 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5968
7978747f
SM
59692011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5970
f04a3be9
SM
5971 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5972 Use force-same-window.
7978747f 5973
fe7a3057
JB
59742011-11-20 Juanma Barranquero <lekktu@gmail.com>
5975
5976 * descr-text.el (describe-char-unicode-data):
5977 * json.el (json-string-escape):
5978 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5979 (Footnote-unicode, Footnote-style-p):
5980 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5981
24901d61
CY
59822011-11-20 Chong Yidong <cyd@gnu.org>
5983
5984 * window.el (replace-buffer-in-windows): Restore interactive spec.
5985
bac7ff22
SM
59862011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5987
24f3d7b9
SM
5988 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5989
bac7ff22
SM
5990 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5991 (byte-compile-global-not-obsolete-vars): New var.
5992 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5993 Use it.
5994 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5995
cd1181db
JB
59962011-11-20 Juanma Barranquero <lekktu@gmail.com>
5997
5998 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5999 * progmodes/pascal.el (electric-pascal-equal):
6000 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6001 * xml.el (xml-substitute-special): Fix typos.
6002
7fb18e9e
GM
60032011-11-20 Glenn Morris <rgm@gnu.org>
6004
6005 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6006 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6007 Doc fixes.
6008 (rmail-decode-mime-charset): Mark as obsolete.
6009
6010 * mail/rmailsum.el (rmail-message-regexp-p-1):
6011 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6012 Before using mime functions, check they are set. (Bug#10077)
6013
d5a6b3ba
JL
60142011-11-19 Juri Linkov <juri@jurta.org>
6015
6016 * info.el (Info-finder-find-node): Use `package--builtins' instead
6017 of `package-alist'. Use node names formed by the pattern "Keyword "
6018 and the keyword name.
6019
e981b61f
AS
60202011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6021
1d00653d 6022 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6023
3ffbc301
JL
60242011-11-19 Juri Linkov <juri@jurta.org>
6025
6026 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6027 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6028 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6029 `old-history', `old-history-forward'. Add let-binding
6030 `window-selected'. Remove calls to `kill-buffer',
6031 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6032 before calling `Info-find-node', so `Info-find-node-2' will reread
6033 the Info file. Restore window positions only when `window-selected'
6034 is non-nil.
6035
30c62133
JL
60362011-11-19 Juri Linkov <juri@jurta.org>
6037
6038 * isearch.el (isearch-lazy-highlight-new-loop):
6039 Remove condition `(not isearch-error)'. (Bug#9918)
6040
6041 * misearch.el (multi-isearch-search-fun): Add condition
6042 `(not bound)' to ignore lazy-highlighting search.
6043 Add the search-failed message "end of multi" when the end of
6044 multi-sequence is reached. Uncapitalize the search-failed
6045 message "Repeat for next buffer".
6046
6047 * info.el (Info-search): Add the search-failed message
6048 "end of the manual" when the end of the manual is reached
6049 in Isearch mode.
6050
645ca9cf
JL
60512011-11-19 Juri Linkov <juri@jurta.org>
6052
6053 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6054 Use non-destructive `remove' instead of `delete' because
6055 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6056 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6057
df754f66
JL
60582011-11-19 Juri Linkov <juri@jurta.org>
6059
6060 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6061 to nil instead of binding `search-ring' and `regexp-search-ring'.
6062 (Bug#9185)
6063
0e23d96a
EZ
60642011-11-19 Eli Zaretskii <eliz@gnu.org>
6065
6066 * simple.el (line-move): Force movement by logical lines for any
6067 hscrolled window, not only when auto-hscroll-mode is on.
6068 (line-move-visual): Update doc string to that effect. (Bug#10076)
6069
8a6ccb66
AS
60702011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6071
6072 * language/european.el (macintosh): Define as alias for mac-roman.
6073
49ae5b39
EZ
60742011-11-19 Eli Zaretskii <eliz@gnu.org>
6075
6076 * mail/rmailmm.el (rmail-mime-display-header)
6077 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6078 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6079 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6080 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6081 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6082 of a raw aref.
6083 (rmail-mime-entity-segment): To get past the tagline, move forward
6084 2 more lines, to account for the 2 empty lines that precede and
6085 follow the line with the buttons.
6086 (rmail-mime-update-tagline): Move one more line, to get past the
6087 empty line that follows the buttons in the tagline. (Bug#9520)
6088
c56cad4a
MR
60892011-11-19 Martin Rudalics <rudalics@gmx.at>
6090
6091 * window.el (window-max-delta-1, window-min-delta-1)
6092 (window-min-size-1, window-state-get-1, window-state-put-1)
6093 (window-state-put-2): Use "window--" prefix.
6094
cbe71af3
SM
60952011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6096
2ad52c60
SM
6097 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6098 (smie-warning-count): New var.
6099 (smie-set-prec2tab): Use it.
6100 (smie-bnf->prec2): Improve warnings. Add docstring.
6101 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6102 (smie-bnf--set-class): New function.
6103 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6104 corner case.
6105
6944dbc1
SM
6106 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6107 (compilation-error-properties, compilation-move-to-column):
6108 Handle compilation-first-column while in the target buffer.
6109
c400c4d7
SM
6110 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6111 Don't hardcode point-min==1.
6112
6dbe3e96
SM
6113 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6114 (eshell-rewrite-for-command): Remove workaround.
6115 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6116 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6117 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6118
cbe71af3
SM
6119 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6120
a8e1496d
GM
61212011-11-17 Glenn Morris <rgm@gnu.org>
6122
6123 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6124 Ignore buffer-local generated-autoload-file if it is the same
6125 as the global value. (Bug#10049)
6126
df85d315
JB
61272011-11-17 Juanma Barranquero <lekktu@gmail.com>
6128
6129 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6130 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6131 (reftex-toc-previous-heading, reftex-toc-max-level)
6132 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6133 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6134 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6135 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6136 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6137 (reftex-toc-rename-label, reftex-toc-visit-location)
6138 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6139 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6140 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6141 leaving "*toc*" only for references to the buffer.
6142
a0c2d0ae
MR
61432011-11-17 Martin Rudalics <rudalics@gmx.at>
6144
6145 * window.el (window-resize, delete-window, split-window):
6146 Replace window-splits by window-combination-resize.
1d00653d 6147 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6148
35c0bac8
GM
61492011-11-17 Glenn Morris <rgm@gnu.org>
6150
6151 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6152 Make bash entry derive from sh entry, not shell entry.
6153
d0c8fc8a
MA
61542011-11-16 Michael Albinus <michael.albinus@gmx.de>
6155
d0c8fc8a
MA
6156 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6157 properties of linked files. (Bug#9879)
6158
7262a87c
MA
6159 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6160 local file name.
6161
7877f373
JB
61622011-11-16 Juanma Barranquero <lekktu@gmail.com>
6163
6164 * menu-bar.el (menu-bar-file-menu):
6165 * printing.el (pr-ps-utility):
6166 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6167 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6168 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6169 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6170 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6171 (icalendar--convert-cyclic-to-ical)
6172 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6173 (icalendar--convert-ical-to-diary)
6174 (icalendar--convert-recurring-to-diary)
6175 (icalendar--convert-non-recurring-all-day-to-diary)
6176 (icalendar-import-format-sample):
6177 * progmodes/idlw-shell.el (idlwave-shell-mode):
6178 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6179 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6180 (vhdl-ps-print-init): Fix typos.
6181
10649b82
KM
61822011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6183
9d0cfcd6
GM
6184 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6185 FSF and collapse date sequence, obscure author/maintainer email address
6186 better, remove extra version line, track relocation of author's webpage.
10649b82 6187
9d0cfcd6
GM
6188 * progmodes/python.el (python-pdbtrack-input-prompt)
6189 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6190 regular python pdb prompts. Adjustments shamelessly taken exactly as
6191 suggested in EmacsWiki page (tiny change):
6192 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6193
58179cce
JB
61942011-11-16 Juanma Barranquero <lekktu@gmail.com>
6195
6196 * expand.el (expand-pos, expand-index, expand-point):
6197 Remove redundant info from docstring.
6198 (expand-add-abbrevs): Doc fix.
6199 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6200 (expand-sample-perl-mode-expand-list): Fix typos.
6201
6202 * net/dbus.el (dbus-event-member-name):
6203 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6204 * term/pc-win.el (msdos-create-frame-with-faces):
6205 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6206
b6f67890
MR
62072011-11-16 Martin Rudalics <rudalics@gmx.at>
6208
6209 * window.el (split-window, window-state-get-1)
6210 (window-state-put-1, window-state-put-2): Rename occurrences of
6211 window-nest to window-combination-limit.
1d00653d 6212 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6213
ce7ddba0
CY
62142011-11-16 Chong Yidong <cyd@gnu.org>
6215
6216 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6217 regexp (Bug#10033).
6218
3ae704f4
SM
62192011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6222 `completing-read' will remove *Completions* and will preserve
6223 current-buffer for us.
6224 (tmm-add-prompt): Users of *Completions* will always (re)set its
6225 major mode.
6226 (tmm-old-comp-map): Remove.
6227
6ad1cdde
GM
62282011-11-16 Glenn Morris <rgm@gnu.org>
6229
6230 * mail/rmailedit.el: Require rmailmm when compiling.
6231 (rmail-old-mime-state): New declaration.
6232 (rmail-edit-current-message): If editing a mime message,
6233 edit the "raw" message from the mbox buffer.
6234 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6235
d20faa20
GM
62362011-11-15 Glenn Morris <rgm@gnu.org>
6237
6238 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6239 which wasn't being used. Add optional arg to force given state.
6240 (rmail-mime): Add optional arg to force given state.
6241
c7015153
JB
62422011-11-15 Juanma Barranquero <lekktu@gmail.com>
6243
6244 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6245 * frame.el (display-mm-dimensions-alist):
6246 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6247 (outline-move-subtree-down):
6248 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6249 (newsticker--treeview-do-get-node):
6250 * net/quickurl.el (quickurl-list-buffer-name):
6251 * progmodes/dcl-mode.el (dcl-mode):
6252 * progmodes/gdb-mi.el (gdb-mapcar*):
6253 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6254
45261b50
GM
62552011-11-15 Glenn Morris <rgm@gnu.org>
6256
6257 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6258 in a boolean sense, so just make it a boolean, and fix the doc.
6259 (rmail-show-mime-function, rmail-mime-feature)
6260 (rmail-require-mime-maybe): Doc fixes.
6261 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6262
6263 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6264
0d26e0b6
JB
62652011-11-15 Juanma Barranquero <lekktu@gmail.com>
6266
6267 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6268 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6269 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6270 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6271
447f30f6
GM
62722011-11-15 Glenn Morris <rgm@gnu.org>
6273
672b871d
GM
6274 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6275 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6276 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6277 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6278 (rmail-mime, rmail-show-mime): Doc fixes.
6279
f6aa5bb1
GM
6280 * term/ns-win.el (mode-line-frame-identification):
6281 Leave it alone. (Bug#10051)
6282
947cd66b
GM
6283 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6284
447f30f6
GM
6285 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6286 Handle empty buffers. (Bug#9978)
6287
0b381c7e
JB
62882011-11-14 Juanma Barranquero <lekktu@gmail.com>
6289
6290 * international/mule.el (define-charset):
6291 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6292 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6293 * progmodes/verilog-mode.el (verilog-backward-token):
6294 * textmodes/ispell.el (lookup-words):
6295 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6296
71e027ac
GM
62972011-11-14 Glenn Morris <rgm@gnu.org>
6298
56632ce4
GM
6299 * progmodes/executable.el
6300 (executable-make-buffer-file-executable-if-script-p):
6301 Handle file-modes returning nil.
6302
40500957
GM
6303 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6304 message - not necessary, and causes problems. (Bug#9831)
6305
071c2340
GM
6306 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6307
d3cfca60
GM
6308 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6309
71e027ac
GM
6310 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6311 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6312 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6313
89d61221
MR
63142011-11-12 Martin Rudalics <rudalics@gmx.at>
6315
6316 * window.el (window-resize, delete-window): Use window-splits
6317 variable instead of function.
6318 (window-state-get-1, window-state-put-2, window-state-put):
6319 Don't deal with windows' splits status.
6320
98282f6f
GM
63212011-11-12 Glenn Morris <rgm@gnu.org>
6322
6323 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6324 (apropos-documentation): Doc fixes.
6325
40a8bdf6
JB
63262011-11-11 Juanma Barranquero <lekktu@gmail.com>
6327
6328 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6329 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6330
65bd19ff
SM
63312011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 * electric.el (electric-indent-post-self-insert-function): Make it
6334 possible for a char to only indent in some circumstances.
6335 (electric-indent-mode): Simplify.
6336
54f9154c
MR
63372011-11-11 Martin Rudalics <rudalics@gmx.at>
6338
6339 * window.el (windows-with-parameter): Remove unused function.
6340 (windows-at-side): Rename to window-at-side-list.
6341 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6342 (window-side-check, window-size-ignore, window-size-fixed-1)
6343 (window-in-direction-2): Prefix with "window--".
6344 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6345
68cbc58b
GM
63462011-11-11 Glenn Morris <rgm@gnu.org>
6347
6348 * subr.el (eval-after-load): If FILE is already loaded,
6349 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6350
b2621720
GM
63512011-11-10 Glenn Morris <rgm@gnu.org>
6352
9a4de110
GM
6353 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6354 Call svn via vc-svn-command rather than vc-do-command.
6355 (vc-svn-command): Add --non-interactive. (Bug#9993)
6356 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6357
b2621720
GM
6358 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6359 Add toggle-read-only. (Bug#7292)
6360 * files.el (toggle-read-only): Mention that it should only
6361 be used interactively. (Bug#10006)
6362
1dce7193
SM
63632011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6364
d9ac1a1e
SM
6365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6366 Adjust regexp for OCaml warnings.
6367
0c325082
SM
6368 * electric.el (electric-pair-post-self-insert-function): Let user
6369 turn it off buffer-locally (bug#9932).
6370
90132c14
SM
6371 * progmodes/python.el (python-beginning-of-statement):
6372 Rewrite (bug#2703).
6373
1dce7193
SM
6374 * progmodes/compile.el: Better handle TABs (bug#9749).
6375 (compilation-internal-error-properties)
6376 (compilation-next-error-function): Obey the target buffer's
6377 compilation-error-screen-columns.
6378
c4e7c63a
JB
63792011-11-09 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * progmodes/meta-mode.el: Remove obsolete comments.
6382 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6383 Fix typos in docstrings.
6384
2cffd681
MR
63852011-11-09 Martin Rudalics <rudalics@gmx.at>
6386
6387 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6388 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6389 (window--resizable): New function. Make all callers of
6390 window-resizable call window--resizable instead.
6391 (window-resizable): Rewrite in terms of window--resizable.
6392
0edcba87
GM
63932011-11-08 Glenn Morris <rgm@gnu.org>
6394
6395 * progmodes/delphi.el (delphi-mode-syntax-table):
6396 Let define-derived-mode define a proper syntax table. (Bug#9994)
6397
4b0d61e3
SM
63982011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * window.el: Stay away from defsubst.
6401 (window-list-no-nils): Remove.
6402 (window-state-get-1, window-state-get): Use backquote instead.
6403
cd394be1 64042011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6405
4b0d61e3 6406 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6407 Fix incorrect use of default argument in `completing-read'.
6408
e1c2c6f2
MR
64092011-11-08 Martin Rudalics <rudalics@gmx.at>
6410
6411 * window.el (display-buffer-function, special-display-function):
6412 Mention display-buffer-record-window but do not mention
6413 help-setup parameter in doc-strings.
b3f4a882 6414 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6415
105216ed
CY
64162011-11-08 Chong Yidong <cyd@gnu.org>
6417
6418 * window.el (window-total-height, window-total-width): Doc fix.
6419 (window-body-size): Move from C.
6420 (window-body-height, window-body-width): Move to C.
6421
0a9f9ab5
SM
64222011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6423
6424 * window.el: Make special-display like display-buffer-alist (bug#9532).
6425 (display-buffer--special-action): New function, morphed
6426 from display-buffer--special.
6427 (display-buffer): Use it to handle special-display-buffers at higher
6428 priority (just after display-buffer-alist).
6429 (display-buffer-fallback-action, display-buffer--other-frame-action)
6430 (pop-to-buffer-same-window): Remove display-buffer--special.
6431
a769dd15
GM
64322011-11-07 Glenn Morris <rgm@gnu.org>
6433
6434 * calendar/cal-menu.el (cal-menu-set-date-title):
6435 Do nothing if not in a calendar. (Bug#9976)
6436
05a61ee3
SM
64372011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * files.el (find-file): Always use selected-window.
6440
be7f5545
MR
64412011-11-07 Martin Rudalics <rudalics@gmx.at>
6442
6443 * window.el (window-combinations): Make WINDOW argument
6444 mandatory. Rewrite doc-string.
6445 (walk-window-subtree, window-atom-check, window-min-delta)
6446 (window-max-delta, window--resize-this-window)
6447 (window--resize-root-window-vertically, window-tree)
6448 (balance-windows, window-state-put): Rewrite doc-strings as to
6449 not mention the term "subwindow".
6450 (window--resize-subwindows-skip-p): Rename to
6451 window--resize-child-windows-skip-p.
6452 (window--resize-subwindows-normal): Rename to
6453 window--resize-child-windows-normal.
6454 (window--resize-subwindows): Rename to
6455 window--resize-child-windows.
6456 (window-or-subwindow-p): Rename to window--in-subtree-p.
6457
3c6702ef
ML
64582011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6459
6460 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6461 Ensure that mbox format messages end in two newlines (Bug#9974).
6462
49745b39
CY
64632011-11-06 Chong Yidong <cyd@gnu.org>
6464
6465 * window.el (window-combination-p): Function deleted; its
6466 side-effect is not used in any existing code.
6467 (window-combinations, window-combined-p): Call window-*-child
6468 directly.
6469
24300f5f
CY
64702011-11-05 Chong Yidong <cyd@gnu.org>
6471
6472 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6473 (window-size-ignore, window-state-get): Callers changed.
6474 (window-normalize-window): Rename from window-normalize-any-window.
6475 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6476 (window-normalize-live-window): Delete.
447f16b8
CY
6477 (window-combination-p, window-combined-p, window-combinations)
6478 (walk-window-subtree, window-atom-root, window-min-size)
6479 (window-sizable, window-sizable-p, window-size-fixed-p)
6480 (window-min-delta, window-max-delta, window-resizable)
6481 (window-resizable-p, window-full-height-p, window-full-width-p)
6482 (window-current-scroll-bars, window-point-1, set-window-point-1)
6483 (window-at-side-p, window-in-direction, window-resize)
6484 (adjust-window-trailing-edge, maximize-window, minimize-window)
6485 (window-deletable-p, delete-window, delete-other-windows)
6486 (record-window-buffer, unrecord-window-buffer)
6487 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6488 (quit-window, split-window, window-state-put)
6489 (set-window-text-height, fit-window-to-buffer)
6490 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6491
89bd5ee1
EZ
64922011-11-04 Eli Zaretskii <eliz@gnu.org>
6493
53479029
EZ
6494 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6495 rfc2047-decode-string.
6496 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6497 warnings.
6498
89bd5ee1
EZ
6499 * window.el (window-body-height, window-body-width): Mention in
6500 the doc string that the return values are in frame's canonical
6501 units. (Bug#9949)
6502
bd17fdee
AM
65032011-11-03 Alan Mackenzie <acm@muc.de>
6504
6505 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6506 change in cc-engine.el.
6507
acc825c5
SM
65082011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6511
1885e5b8
MR
65122011-11-02 Martin Rudalics <rudalics@gmx.at>
6513
6514 * window.el (quit-window): Call unrecord-window-buffer after
6515 showing another buffer in the window. (Bug#9937)
acc825c5 6516 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6517
ebe06da9
JB
65182011-11-02 Juanma Barranquero <lekktu@gmail.com>
6519
6520 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6521 Accept status with more than 9 shelves. (Bug#9935)
6522 Reported by Colin D Bennett <colin@gibibit.com>.
6523
4ee88440
MR
65242011-11-01 Martin Rudalics <rudalics@gmx.at>
6525
6526 * help.el (with-help-window): Don't reference
6527 temp-buffer-show-specifiers in doc-string.
6528
08e1d82c
AS
65292011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6530
6531 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6532 menu-item.
6533
84bd6e9e
VJL
65342011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6535
6536 * whitespace.el: New version 13.2.2.
6537 (whitespace-newline-mode): Disable properly. Reported by Sarah
6538 <EmacsWiki>.
6539
dba0634a
UJ
65402011-10-30 Ulf Jasper <ulf.jasper@web.de>
6541
6542 * net/newst-treeview.el: Remove "Time-stamp".
6543 (newsticker--group-manage-orphan-feeds): Do not call
6544 newsticker--treeview-tree-update.
db22a3c2
JB
6545 (newsticker-treeview-update, newsticker-treeview):
6546 Call newsticker--treeview-tree-update if necessary.
dba0634a 6547
3d8daefe
MR
65482011-10-30 Martin Rudalics <rudalics@gmx.at>
6549
6550 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6551 (window-iso-combinations): Remove "iso-" infix.
6552 Suggested by Chong Yidong.
3d8daefe
MR
6553 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6554 (window-max-delta-1, window-resize, window--resize-siblings)
6555 (window--resize-this-window, adjust-window-trailing-edge)
6556 (split-window, balance-windows-1)
6557 (shrink-window-if-larger-than-buffer):
6558 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6559 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6560
1bc4c3ae
SM
65612011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6564 in place (bug#9907).
6565 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6566 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6567 (eshell-structure-basic-command, eshell-rewrite-while-command)
6568 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6569 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6570 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6571 (eshell-do-pipelines-synchronously, eshell-eval-command):
6572 Use backquotes and prefer setq to set.
6573 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6574 (eshell-macrop): Use functionp.
c1e2f5fa 6575 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6576
30b65d9c
CY
65772011-10-30 Chong Yidong <cyd@gnu.org>
6578
6579 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6580 instead of set-mark (Bug#9810).
6581
2d197ffb
CY
65822011-10-30 Chong Yidong <cyd@gnu.org>
6583
6584 * window.el (split-window-below, split-window-right): Rename from
6585 split-window-above-each-other and split-window-side-by-side
6586 respectively. All callers changed.
6587 (split-window-sensibly, split-window-sensibly): Use them.
6588 (split-window-keep-point): Doc fix.
6589
6590 * isearch.el: Add isearch-scroll property to split-window-below
6591 and split-window-right.
6592
6593 * follow.el (follow-mode):
6594 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6595 * progmodes/ada-xref.el (ada-gdb-application):
6596 * emulation/vip.el (vip-buffer-in-two-windows):
6597 * image-dired.el (image-dired-dired-with-window-configuration):
6598 * dired-x.el (dired-do-find-marked-files):
6599 * dired.el (dired-pop-to-buffer):
6600 * bs.el (bs--show-with-configuration):
6601 * vc/emerge.el (emerge-setup-windows):
6602 * textmodes/two-column.el (2C-two-columns):
6603 * textmodes/reftex-toc.el (reftex-toc):
6604 * progmodes/gdb-mi.el (gdb-setup-windows):
6605 * progmodes/fortran.el (fortran-window-create):
6606 * net/newst-treeview.el (newsticker--treeview-window-init):
6607 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6608 * emulation/tpu-edt.el (tpu-gold-map):
6609 * emulation/crisp.el (crisp-mode-map):
6610 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6611
38bb2ca8
CY
66122011-10-29 Chong Yidong <cyd@gnu.org>
6613
aa4de341
CY
6614 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6615
e1eb5385
CY
6616 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6617
5d2ece3c
CY
6618 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6619 forged Ispell output (Bug#7904).
6620
38bb2ca8
CY
6621 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6622
d0af9f77
SM
66232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * doc-view.el: Avoid ugly errors about not finding nil.
6626 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6627 (doc-view-dvipdf-program, doc-view-unoconv-program)
6628 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6629 Avoid nil or absolute file name as default value.
6630 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6631
52bedd34
AM
66322011-10-28 Alan Mackenzie <acm@muc.de>
6633
db22a3c2 6634 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6635
7e43cfa5
AM
66362011-10-28 Alan Mackenzie <acm@muc.de>
6637
6638 Amend the handling of c-beginning/end-of-defun in nested declaration
6639 scopes.
6640
52bedd34
AM
6641 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6642 cc-langs.el. Change it to a defcustom.
7e43cfa5 6643
52bedd34
AM
6644 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6645 cc-vars.el.
7e43cfa5 6646
d0af9f77
SM
6647 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6648 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6649
52bedd34 6650 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6651 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6652 (c-widen-to-enclosing-decl-scope): New function.
6653 (c-while-widening-to-decl-block): New macro.
6654 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6655 outward for defun boundaries, and correspondingly change symbol
6656 `respect-enclosure' to `go-outward'.
6657 (c-declaration-limits): Change algorithm to report only the "innermost"
6658 defun's boundaries.
6659
1a2ce9ee
DD
66602011-10-28 Deniz Dogan <deniz@dogan.se>
6661
6662 * net/rcirc.el (rcirc-mode): Use hard newlines.
6663
bc97a826
AM
66642011-10-28 Alan Mackenzie <acm@muc.de>
6665
6666 Amend to indent and fontify macros "which include their own semicolon"
6667 correctly, using the "virtual semicolon" mechanism.
6668
52bedd34 6669 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6670
d0af9f77 6671 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6672 Recode to scan one line at a time rather than having \n and \r
58179cce 6673 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6674 (c-forward-label): Amend for virtual semicolons.
58179cce 6675 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6676
52bedd34
AM
6677 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6678 of the new C macros.
bc97a826 6679
52bedd34 6680 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6681 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6682 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6683 (c-opt-cpp-macro-define): Make into a full language variable.
6684 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6685 AWK Mode (including \n, \r) removed, no longer needed.
6686
d0af9f77
SM
6687 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6688 Invoke c-make-macro-with-semi-re.
bc97a826 6689
52bedd34
AM
6690 * progmodes/cc-vars.el (c-macro-with-semi-re):
6691 (c-macro-names-with-semicolon): New variables.
58179cce 6692 (c-make-macro-with-semi-re): New function.
bc97a826 6693
7a6c0941
SM
66942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * vc/log-edit.el: Fill empty field rather than adding new one.
6697 (log-edit-add-field): New function.
6698 (log-edit-insert-changelog): Use it.
6699
b0c4cdcf
ML
67002011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6701
6702 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6703
ee1f1da9
SM
67042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6705
6706 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6707 (gdb--check-interpreter): New function.
6708 (gdb): Use it.
6709
51bc5f8b
GM
67102011-10-27 Glenn Morris <rgm@gnu.org>
6711
416a2c45
GM
6712 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6713 (least-positive-float, least-negative-float)
6714 (least-positive-normalized-float, least-negative-normalized-float)
6715 (float-epsilon, float-negative-epsilon):
6716 Remove unnecessary declarations.
6717
6718 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6719 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6720 (least-positive-float, least-negative-float)
6721 (least-positive-normalized-float, least-negative-normalized-float)
6722 (float-epsilon, float-negative-epsilon): Add doc-strings,
6723 based on those in cl.texi.
6724
51bc5f8b
GM
6725 * files.el (set-visited-file-name): If the major-mode changed,
6726 reload the local variables. (Bug#9796)
6727
15de15c6
CY
67282011-10-27 Chong Yidong <cyd@gnu.org>
6729
6730 * subr.el (change-major-mode-after-body-hook): New hook.
6731 (run-mode-hooks): Run it.
6732
ee1f1da9
SM
6733 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6734 Use change-major-mode-before-body-hook.
15de15c6
CY
6735
6736 * simple.el (fundamental-mode):
6737 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6738 change introducing fundamental-mode-hook.
6739
5430d399
JB
67402011-10-26 Juanma Barranquero <lekktu@gmail.com>
6741
acc825c5 6742 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 6743
ad74a69e
MA
67442011-10-26 Michael Albinus <michael.albinus@gmx.de>
6745
6746 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 6747 tramp.el explicitly. (Bug#7583)
ad74a69e 6748
71d4c2a5
SM
67492011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * progmodes/octave-mod.el:
6752 * progmodes/octave-inf.el: Update maintainer.
6753
b1f6fa26
CY
67542011-10-26 Chong Yidong <cyd@gnu.org>
6755
6756 * subr.el (with-wrapper-hook): Rewrite doc.
6757
3f04efd6
MA
67582011-10-25 Michael Albinus <michael.albinus@gmx.de>
6759
6760 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 6761 filenames "/method:foo:". (Bug#9793)
3f04efd6 6762
410488d3
SM
67632011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6766 (bug#9865).
6767
c1ebb47e
GM
67682011-10-24 Glenn Morris <rgm@gnu.org>
6769
6770 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6771
7f5c46c7
MA
67722011-10-24 Michael Albinus <michael.albinus@gmx.de>
6773
6774 * notifications.el: Add the requirement of a running D-Bus session
6775 bus to the Commentary.
6776
db2440b6
JL
67772011-10-24 Juri Linkov <juri@jurta.org>
6778
6779 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6780 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6781 (Bug#9364)
6782
feecf435
JL
67832011-10-24 Juri Linkov <juri@jurta.org>
6784
6785 * info.el (Info-following-node-name-re): Add newline to the list
6786 of allowed characters for leading space. (Bug#9824)
6787
a3839de2
SM
67882011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6789
acc825c5
SM
6790 * progmodes/octave-inf.el (inferior-octave-mode-map):
6791 Fix C-c C-h binding.
a3839de2
SM
6792 * progmodes/octave-mod.el (octave-help): Remove.
6793
09388e76
MA
67942011-10-23 Michael Albinus <michael.albinus@gmx.de>
6795
6796 Sync with Tramp 2.2.3.
6797
6798 * net/tramp-cache.el (top): Pacify byte-compiler using
6799 `init-file-user' and `site-run-file'.
6800
6801 * net/trampver.el: Update release number.
6802
86c60681
CY
68032011-10-23 Chong Yidong <cyd@gnu.org>
6804
6805 * files.el (toggle-read-only): Remove obsolete comment about
6806 version control.
6807
6808 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6809 for toggle-read-only. Note that this hasn't called vc-next-action
6810 since 2008-05-02, though it wasn't documented at the time.
6811
a3839de2
SM
6812 * vc/ediff-init.el (ediff-toggle-read-only-function):
6813 Use toggle-read-only.
86c60681 6814
cd5495ff
AM
68152011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6816
6817 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6818 of c-parse-state.
6819
00b77525 6820 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 6821 correct faulty logical expression.
cd5495ff
AM
6822 (c-parse-state-state, c-record-parse-state-state):
6823 (c-replay-parse-state-state): New defvar/defuns.
6824 (c-debug-parse-state): Use new functions.
6825
42ee24ed
MR
68262011-10-22 Martin Rudalics <rudalics@gmx.at>
6827
6828 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 6829 last fix. Use window-in-direction correctly.
42ee24ed 6830
a7dee7e7
CY
68312011-10-21 Chong Yidong <cyd@gnu.org>
6832
6833 * progmodes/idlwave.el (idlwave-mode):
6834 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
6835 require-final-newline; that's done in prog-mode.
6836 Suggested by Stefan Monnier.
a7dee7e7 6837
e07b9a6d
MR
68382011-10-21 Martin Rudalics <rudalics@gmx.at>
6839
6840 * mouse.el (mouse-drag-window-above)
6841 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6842 (mouse-drag-mode-line-1, mouse-drag-header-line)
6843 (mouse-drag-vertical-line-rightward-window): Remove.
6844 (mouse-drag-line): New function.
6845 (mouse-drag-mode-line, mouse-drag-header-line)
6846 (mouse-drag-vertical-line): Call mouse-drag-line.
6847 * window.el (window-at-side-p, windows-at-side): New functions.
6848
7e1361d9
UM
68492011-10-21 Ulrich Mueller <ulm@gentoo.org>
6850
6851 * tar-mode.el (tar-grind-file-mode):
6852 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6853
30fcaf3a
CY
68542011-10-21 Chong Yidong <cyd@gnu.org>
6855
6856 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
6857 * progmodes/vera-mode.el (vera-mode):
6858 Use mode-require-final-newline.
30fcaf3a 6859
516eddb0
GM
68602011-10-20 Glenn Morris <rgm@gnu.org>
6861
db22a3c2 6862 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 6863
10d5f513
CS
68642011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6865
6866 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6867
ac6c8639
CY
68682011-10-20 Chong Yidong <cyd@gnu.org>
6869
6870 * emulation/cua-base.el (cua-mode):
6871 * mail/footnote.el (footnote-mode):
6872 * mail/mailabbrev.el (mail-abbrevs-mode):
6873 * net/xesam.el (xesam-minor-mode):
6874 * progmodes/bug-reference.el (bug-reference-mode):
6875 * progmodes/cap-words.el (capitalized-words-mode):
6876 * progmodes/compile.el (compilation-minor-mode)
6877 (compilation-shell-minor-mode):
6878 * progmodes/gud.el (gud-tooltip-mode):
6879 * progmodes/hideif.el (hide-ifdef-mode):
6880 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6881 * progmodes/subword.el (subword-mode):
6882 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6883 * progmodes/which-func.el (which-function-mode):
6884 * term/tvi970.el (tvi970-set-keypad-mode):
6885 * term/vt100.el (vt100-wide-mode):
6886 * textmodes/flyspell.el (flyspell-mode):
6887 * textmodes/ispell.el (ispell-minor-mode):
6888 * textmodes/nroff-mode.el (nroff-electric-mode):
6889 * textmodes/paragraphs.el (use-hard-newlines):
6890 * textmodes/refill.el (refill-mode):
6891 * textmodes/reftex.el (reftex-mode):
6892 * textmodes/rst.el (rst-minor-mode):
6893 * textmodes/sgml-mode.el (html-autoview-mode)
6894 (sgml-electric-tag-pair-mode):
6895 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6896 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6897 * emulation/crisp.el (crisp-mode):
6898 * emacs-lisp/eldoc.el (eldoc-mode):
6899 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6900 minor mode behavior.
6901
aa42ab43
JL
69022011-10-19 Juri Linkov <juri@jurta.org>
6903
6904 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6905 the list of hard-coded chars with escape-glyph face.
6906
89400f1d
SM
69072011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6910
305c07f6
MA
69112011-10-19 Michael Albinus <michael.albinus@gmx.de>
6912
6913 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6914 running process.
6915
13754b54
GM
69162011-10-19 Glenn Morris <rgm@gnu.org>
6917
6918 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6919 Ignore ignored files. (Bug#9726)
6920
06e21633
CY
69212011-10-19 Chong Yidong <cyd@gnu.org>
6922
6923 Doc fix for minor modes, stating that an omitted argument enables
6924 the mode unconditionally when called from Lisp.
6925
6926 * abbrev.el (abbrev-mode):
6927 * allout.el (allout-mode):
6928 * autoinsert.el (auto-insert-mode):
6929 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6930 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6931 (global-auto-revert-mode):
6932 * battery.el (display-battery-mode):
6933 * composite.el (global-auto-composition-mode)
6934 (auto-composition-mode):
6935 * delsel.el (delete-selection-mode):
6936 * desktop.el (desktop-save-mode):
6937 * dired-x.el (dired-omit-mode):
6938 * dirtrack.el (dirtrack-mode):
6939 * doc-view.el (doc-view-minor-mode):
6940 * double.el (double-mode):
6941 * electric.el (electric-indent-mode, electric-pair-mode):
6942 * emacs-lock.el (emacs-lock-mode):
6943 * epa-hook.el (auto-encryption-mode):
6944 * follow.el (follow-mode):
6945 * font-core.el (font-lock-mode):
6946 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6947 * help.el (temp-buffer-resize-mode):
6948 * hilit-chg.el (highlight-changes-mode)
6949 (highlight-changes-visible-mode):
6950 * hi-lock.el (hi-lock-mode):
6951 * hl-line.el (hl-line-mode, global-hl-line-mode):
6952 * icomplete.el (icomplete-mode):
6953 * ido.el (ido-everywhere):
6954 * image-file.el (auto-image-file-mode):
6955 * image-mode.el (image-minor-mode):
6956 * iswitchb.el (iswitchb-mode):
6957 * jka-cmpr-hook.el (auto-compression-mode):
6958 * linum.el (linum-mode):
6959 * longlines.el (longlines-mode):
6960 * master.el (master-mode):
6961 * mb-depth.el (minibuffer-depth-indicate-mode):
6962 * menu-bar.el (menu-bar-mode):
6963 * minibuf-eldef.el (minibuffer-electric-default-mode):
6964 * mouse-sel.el (mouse-sel-mode):
6965 * msb.el (msb-mode):
6966 * mwheel.el (mouse-wheel-mode):
6967 * outline.el (outline-minor-mode):
6968 * paren.el (show-paren-mode):
6969 * recentf.el (recentf-mode):
6970 * reveal.el (reveal-mode, global-reveal-mode):
6971 * rfn-eshadow.el (file-name-shadow-mode):
6972 * ruler-mode.el (ruler-mode):
6973 * savehist.el (savehist-mode):
6974 * scroll-all.el (scroll-all-mode):
6975 * scroll-bar.el (scroll-bar-mode):
6976 * server.el (server-mode):
6977 * shell.el (shell-dirtrack-mode):
6978 * simple.el (auto-fill-mode, transient-mark-mode)
6979 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6980 (line-number-mode, column-number-mode, size-indication-mode)
6981 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6982 * strokes.el (strokes-mode):
6983 * time.el (display-time-mode):
6984 * t-mouse.el (gpm-mouse-mode):
6985 * tool-bar.el (tool-bar-mode):
6986 * tooltip.el (tooltip-mode):
6987 * type-break.el (type-break-mode-line-message-mode)
6988 (type-break-query-mode):
6989 * view.el (view-mode):
6990 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6991 (global-whitespace-mode, global-whitespace-newline-mode):
6992 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6993
a3839de2
SM
6994 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6995 Fix autogenerated docstring.
06e21633 6996
5214e501
JL
69972011-10-19 Juri Linkov <juri@jurta.org>
6998
6999 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7000 by checking environment variables "DESKTOP_SESSION" and
7001 "XDG_CURRENT_DESKTOP". (Bug#9779)
7002
195f8db9
JL
70032011-10-19 Juri Linkov <juri@jurta.org>
7004
7005 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7006 (browse-url-chromium-program, browse-url-chromium-arguments):
7007 New defcustoms.
7008 (browse-url-default-browser): Check for `browse-url-chromium' and
7009 call `browse-url-chromium-program'.
7010 (browse-url-chromium): New command. (Bug#9779)
7011
343a34ff
JB
70122011-10-18 Juanma Barranquero <lekktu@gmail.com>
7013
7014 * facemenu.el (list-colors-duplicates): On Windows, detect more
7015 duplicates by assuming that only colors matching "^System" are
7016 special "system colors". (Bug#9722)
7017
6978a151
SM
70182011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7021 to distinguish the author from the committer.
7022
6a80b297
MA
70232011-10-18 Michael Albinus <michael.albinus@gmx.de>
7024
7025 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7026
b31a5677
JK
70272011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7028
7029 * international/mule.el (sgml-html-meta-auto-coding-function):
7030 Add support for detecting encoding in HTML5 specified only as
7031 <meta charset="UTF-8">. Implementation just makes http-equiv and
7032 content-type parts from HTML4 encoding string optional. (Bug#9716)
7033
80c6d77f
GM
70342011-10-18 Glenn Morris <rgm@gnu.org>
7035
7036 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7037
08b0fee8
CY
70382011-10-18 Chong Yidong <cyd@gnu.org>
7039
7040 * faces.el (cursor): Doc fix.
7041
67e729a5
CY
70422011-10-17 Chong Yidong <cyd@gnu.org>
7043
7044 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7045
343a34ff 70462011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7047
7048 * dirtrack.el (dirtrack): Support shell buffers with path
7049 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7050
0bc06380
TZ
70512011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7052
7053 * json.el: Bump version to 1.3 and note change in History.
7054 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7055
8b79f3e0
SM
70562011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7057
5a7c536b
SM
7058 * comint.el (comint-insert-input, comint-send-input)
7059 (comint-get-old-input-default, comint-backward-matching-input)
7060 (comint-next-prompt): Use nil instead of `input' for field property of
7061 past user input (bug#114).
7062
96a8a0df
SM
7063 * minibuffer.el (completion--replace): Inherit surrounding properties
7064 (bug#114).
7065 (minibuffer-complete-and-exit): Use it.
7066
8b79f3e0
SM
7067 * comint.el (comint--table-subvert): Quote the all-completions output
7068 (bug#9160).
7069
b8f7ff0d
MR
70702011-10-17 Martin Rudalics <rudalics@gmx.at>
7071
8b79f3e0 7072 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7073
b8f7ff0d 7074 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7075 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7076 entries and separate them from frame entries.
7077
c235b555
GM
70782011-10-15 Glenn Morris <rgm@gnu.org>
7079
7080 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7081 Doc fixes.
7082
6bbfa6e1
CY
70832011-10-15 Chong Yidong <cyd@stupidchicken.com>
7084
8b79f3e0
SM
7085 * net/network-stream.el (network-stream-open-starttls):
7086 Improve detection of failure due to lack of TLS support.
ec5c990d 7087
6bbfa6e1
CY
7088 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7089 putting the input text in front and in bold.
7090
98488977
SM
70912011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7092
3d1337be
SM
7093 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7094
ee0b45e4
SM
7095 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7096 empty buffer.
7097
98488977
SM
7098 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7099 unread-command-events rather than pushing yet-another event.
7100
186f4720
EZ
71012011-10-14 Eli Zaretskii <eliz@gnu.org>
7102
7103 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7104 the explanation of the possible choices. Make the options passed
7105 to completing-read shorter.
7106
8b7a997c
AM
71072011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7108
7109 * textmodes/flyspell.el (flyspell-large-region): Make sure
7110 extended character mode is used if defined (Bug#1339).
7111
12587bbb
EZ
71122011-10-13 Eli Zaretskii <eliz@gnu.org>
7113
7114 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7115 character info for LRE, LRO, RLE, and RLO characters by appending
7116 an invisible PDF.
12587bbb 7117
bad41229
SM
71182011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7121 even in case of error; add debug spec; simplify data flow.
7122 (with-timeout-handler): Remove.
7123
28dbc92f
MA
71242011-10-12 Michael Albinus <michael.albinus@gmx.de>
7125
7126 Fix Bug#6019, Bug#9315.
7127
7128 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7129 complete `buffer-file-name', the local file name part could look
7130 remotely (for example on VMS).
7131
7132 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7133 `tramp-run-real-handler'.
7134 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7135 already quoted by '"'.
7136
7137 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7138 Let `file-name-handler-alist' be nil, the local file name part
7139 could look remotely (for example on VMS).
7140
e1b0b23a
SM
71412011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7144 from here...
7145 (flyspell-post-command-hook): ...to here.
7146
a120bde9
SM
71472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7150 if not needed.
7151 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7152 using completion. Protect against "slow" callers.
7153 Remove the "message hack".
7154
7ce7717b
JL
71552011-10-11 Juri Linkov <juri@jurta.org>
7156
7157 * isearch.el (isearch-lazy-highlight-word): New variable.
7158 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7159 Use it. (Bug#9727)
7160
c02ee9d6
GM
71612011-10-11 Glenn Morris <rgm@gnu.org>
7162
7163 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7164 like f90-previous-statement does.
7165
93e616fd 71662011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7167
1f190e73 7168 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7169 only in interactive use, to avoid error.
7170
af7b6078
SM
71712011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7172
7173 * minibuffer.el (completion-file-name-table): Fix last change,
7174 i.e. ignore normal errors but not the other ones.
7175
0563dae9
MR
71762011-10-10 Martin Rudalics <rudalics@gmx.at>
7177
7178 * window.el (special-display-buffer-names)
7179 (special-display-regexps): Remove some remnants of earlier
7180 changes from doc-strings.
366ca7f3
MR
7181 (quit-windows-on): New function.
7182
7183 * vc/vc.el (vc-revert, vc-rollback):
7184 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7185 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7186 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7187
49677495
MR
71882011-10-09 Martin Rudalics <rudalics@gmx.at>
7189
7190 * window.el (frame-auto-hide-function): Add version tag.
7191 (Bug#9699)
7192
56f2d1e1
MA
71932011-10-09 Michael Albinus <michael.albinus@gmx.de>
7194
7195 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7196 condition.
7197
112a6592
LL
71982011-10-09 Leo Liu <sdl.web@gmail.com>
7199
7200 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7201 (Bug#9701)
7202
0812589b
GM
72032011-10-08 Glenn Morris <rgm@gnu.org>
7204
7205 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7206 before the first code statement zero indent. (Bug#9690)
7207
b2b0776e
CY
72082011-10-08 Chong Yidong <cyd@stupidchicken.com>
7209
7210 * simple.el (count-words-region): Always count in the region.
7211 Report the number of lines and characters too.
7212 (count-words): New command, which counts in the buffer if the
7213 region is inactive, as count-words-region used to.
7214 (count-words--message): New function. Handle plurals.
7215 (count-lines-region): Make it an alias for count-words-region.
7216
7217 * bindings.el (esc-map): Replace count-lines-region with
7218 count-words-region.
7219
c557cd6b
MR
72202011-10-08 Martin Rudalics <rudalics@gmx.at>
7221
7222 * window.el (window--delete): Delete dedicated frame
7223 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7224 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7225
61a57ef4 72262011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7227
3a7d293b 7228 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7229
c3833279
CY
72302011-10-07 Chong Yidong <cyd@stupidchicken.com>
7231
7232 * bindings.el ([M-left],[M-right]): Bind to left-word and
7233 right-word respectively.
7234
21ce8245
GM
72352011-10-07 Glenn Morris <rgm@gnu.org>
7236
7237 * cus-start.el (debug-on-quit): Fix custom type.
7238
6d823bb2
LMI
72392011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7240
0181e193
LMI
7241 * subr.el (define-key-after): Clarify that the function is not
7242 useful for non-menu keymaps.
7243
6d823bb2
LMI
7244 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7245
8e3459ce 72462011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7247
21ce8245 7248 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7249 in current minibuffer (Fix bug with recursive minibuffers).
7250
a1c2d21e
CY
72512011-10-06 Chong Yidong <cyd@stupidchicken.com>
7252
7253 * progmodes/gdb-mi.el (gdb): Doc fix.
7254
5a4cf282
MR
72552011-10-05 Martin Rudalics <rudalics@gmx.at>
7256
7257 * window.el (frame-auto-hide-function): New option replacing
7258 frame-auto-delete. Suggested by Stefan Monnier.
7259 (window--delete): Call frame-auto-hide-function instead of
7260 investigating frame-auto-delete.
c96111ea
MR
7261 (window-point-1, set-window-point-1): New functions.
7262 (window-in-direction, record-window-buffer, window-state-get-1)
7263 (display-buffer-record-window): Use window-point-1 instead of
7264 window-point.
7265 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7266
9854542e
SM
72672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7270
8943cfb0
GM
72712011-10-05 Glenn Morris <rgm@gnu.org>
7272
7273 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7274 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7275
647ab967
LL
72762011-10-05 Leo Liu <sdl.web@gmail.com>
7277
7278 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7279 works with buffer object.
7280
3ddfbced
SM
72812011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * mpc.el (mpc-tool-bar-map): Add labels.
7284
bdfa5dd2
GM
72852011-10-04 Glenn Morris <rgm@gnu.org>
7286
7287 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7288
0e2070b5
MR
72892011-10-04 Martin Rudalics <rudalics@gmx.at>
7290
7291 * window.el (window--delete): New function.
7292 (frame-auto-delete): Resuscitate option.
7293 (bury-buffer, replace-buffer-in-windows)
7294 (quit-window): Rewrite using window--delete.
7295 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7296 Pass display-buffer-mark-dedicated to window--display-buffer-2
7297 (Bug#9639).
7298
3dc61a09
SM
72992011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7300
915a9b64
SM
7301 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7302 returns a list (bug#9554). Add remote file name completion.
7303 * comint.el (comint--table-subvert): Curry and get quote&unquote
7304 functions as arguments.
7305 (comint--complete-file-name-data): Adjust call accordingly.
7306 * pcomplete.el (pcomplete--table-subvert): Remove.
7307 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7308
3dc61a09
SM
7309 * minibuffer.el (completion-table-case-fold): Use currying.
7310 (completion--styles-type, completion--cycling-threshold-type):
7311 New constants.
7312 (completion-styles, completion-category-overrides)
7313 (completion-cycle-threshold): Use them.
7314 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7315 completion-table-case-fold.
7316
8ea0a993
SB
73172011-10-03 Stephen Berman <stephen.berman@gmx.net>
7318
7319 * minibuffer.el (completion-category-overrides): Fix type of styles
7320 and add more user friendly tags (bug#9660).
7321
8c24b7f6
SM
73222011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7325 (mule-input-method-string): New widget.
7326 (default-input-method, language-info-custom-alist): Use it.
7327
428fe61a
SM
73282011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7329
32c1fffd
SM
7330 * pcomplete.el: Require comint.
7331 (pcomplete--common-suffix): Remove.
7332 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7333 (pcomplete--table-subvert): Sync with comint--table-subvert.
7334 (pcomplete--entries): Use comint-completion-file-name-table.
7335 * comint.el (comint-unquote-filename): Simplify.
7336 (comint-completion-file-name-table): New function (bug#9616).
7337 (comint--complete-file-name-data): Use it.
7338
428fe61a
SM
7339 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7340 (pcmpl-gnu-tar-buffer): Remove.
7341 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7342 around. Make sure pcomplete-suffix-list is only changed temporarily.
7343 Don't look inside the tar's file if it's too large.
428fe61a 7344
04c52e2f
CY
73452011-10-01 Chong Yidong <cyd@stupidchicken.com>
7346
ce3cefcc
CY
7347 * cus-edit.el (custom-mode-map):
7348 * epa.el (epa-key-list-mode-map):
7349 * man.el (Man-mode-map):
7350 * startup.el (splash-screen-keymap):
7351 * simple.el (special-mode-map): Use scroll-up-command and
7352 scroll-down-command.
7353
7354 * progmodes/idlw-help.el (idlwave-help-mode-map):
7355 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7356 * net/newst-plainview.el (newsticker-mode-map):
7357 * emulation/ws-mode.el (wordstar-mode-map):
7358 * emulation/vi.el (vi-com-map):
7359 * calc/calc-graph.el (calc-graph-show-dumb):
7360 * term/sun.el (terminal-init-sun):
7361 * term/ns-win.el (global-map):
7362 * progmodes/grep.el (grep-mode-map):
7363 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7364 * mail/rmail.el (rmail-mode-map):
7365 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7366
04c52e2f
CY
7367 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7368 custom-safe-themes as special.
7369
79adf8c8
JD
73702011-10-01 Julien Danjou <julien@danjou.info>
7371
7372 * notifications.el (notifications-notify): Fix docstring.
7373
63bd50d3
PS
73742011-10-01 Per Starbäck <per@starback.se>
7375
7376 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7377
199e4c7e
MR
73782011-09-30 Martin Rudalics <rudalics@gmx.at>
7379
7380 * startup.el (command-line-1): Fix last fix by inserting
7381 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7382 (Bug#9605) and (Bug#9636)
199e4c7e 7383
fe5f08dd
EZ
73842011-09-29 Eli Zaretskii <eliz@gnu.org>
7385
7386 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7387 window is hscrolled, move by logical lines. (Bug#9607)
7388 (line-move-visual): Update the doc string to the above effect.
7389
b5516bbd
MR
73902011-09-29 Martin Rudalics <rudalics@gmx.at>
7391
ccee00c0
MR
7392 * window.el (display-buffer-record-window): When WINDOW is the
7393 selected window use `point' instead of `window-point'. (Bug#9626)
7394
b5516bbd
MR
7395 * startup.el (command-line-1): Use insert-before-markers when
7396 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7397
b5516bbd
MR
7398 * help.el (help-window): Remove variable.
7399
52aa0014
GM
74002011-09-29 Glenn Morris <rgm@gnu.org>
7401
7402 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7403
df9a7357
JB
74042011-09-29 Juanma Barranquero <lekktu@gmail.com>
7405
7406 * descr-text.el (describe-char-categories): Accept category
7407 descriptions more than one line long.
7408
a8406c20
SM
74092011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7410
88d9610c
SM
7411 * simple.el (delete-trailing-whitespace): Fix last change.
7412
a5daf810
SM
7413 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7414 Don't confuse "y => 3" as the beginning of a `y' operation.
7415
a8406c20
SM
7416 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7417 object has more than 4 slots (bug#9613).
7418
a239d4e9
JB
74192011-09-28 Juanma Barranquero <lekktu@gmail.com>
7420
7421 * subr.el (with-output-to-temp-buffer):
7422 * net/quickurl.el (quickurl, quickurl-browse-url):
7423 Fix typos in docstrings.
7424
693fbdb6
EZ
74252011-09-27 Eli Zaretskii <eliz@gnu.org>
7426
7427 * minibuffer.el (completion-styles)
7428 (completion-category-overrides): Cross reference each other in doc
7429 strings.
7430
8b457e28
GM
74312011-09-27 Glenn Morris <rgm@gnu.org>
7432
7433 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7434 to split-string. (Bug#9606)
7435
85a16208
LMI
74362011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7437
7438 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7439 (bug#9615).
7440
502f9ebd
CY
74412011-09-27 Chong Yidong <cyd@stupidchicken.com>
7442
7443 * emacs-lisp/package.el (list-packages): Fix echo area message.
7444
7690bdea
LL
74452011-09-27 Leo Liu <sdl.web@gmail.com>
7446
7447 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7448
e2ee6f30
MA
74492011-09-25 Michael Albinus <michael.albinus@gmx.de>
7450
7451 * net/dbus.el (dbus-unregister-object): Don't release services for
7452 registered signals. (Bug#9581)
7453
f3f98342
TZ
74542011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7455
7456 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7457 function that picks between cfengine 2 and 3 support
7458 automatically. Update docs accordingly.
7459
dd7aa8dd
KH
74602011-09-22 Kenichi Handa <handa@m17n.org>
7461
7462 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7463 ZERO.
7464 (indian-itrans-v5-table-for-tamil): New variable.
7465 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7466
3f2b07f8
KM
74672011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7468
7469 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7470 that's true if the current command involved collapsing of text.
7471 It's reset to false at the beginning of the next command.
7472 (allout-post-command-business): Move the cursor to the beginning
7473 of entry if the cursor is hidden and collapsing activity just
7474 happened.
7475
371d6a61
CY
74762011-09-24 Chong Yidong <cyd@stupidchicken.com>
7477
7478 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7479 tracking (Bug#9541).
7480
2ac2721a
UJ
74812011-09-24 Ulf Jasper <ulf.jasper@web.de>
7482
7483 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7484 (newsticker-show-news): Automatically load html rendering package
7485 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7486 because w3m-fill-column is let-bound" and the error "Symbol's value
7487 as variable is void: w3m-fill-column".
2ac2721a 7488
fac7ae53
MA
74892011-09-24 Michael Albinus <michael.albinus@gmx.de>
7490
7491 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7492 Release services only if they are defined. (Bug#9581)
7493
e08b633b
RS
74942011-09-23 Richard Stallman <rms@gnu.org>
7495
e488d29c
RS
7496 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7497 distinguish start of paragraph from start of its text.
7498
19c38752
RS
7499 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7500
e08b633b
RS
7501 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7502 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7503 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7504
0a39f27e
AS
75052011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7506
7507 * international/mule-diag.el (mule-diag): Insert a newline after
7508 each fontset description.
7509
db4e950d
SM
75102011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * simple.el (delete-trailing-whitespace):
7513 Document last change; simplify.
7514
eca3f3ea
PW
75152011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7516
d68e189a
PW
7517 * simple.el (delete-trailing-whitespace): Also delete
7518 extra newlines at the end of the buffer.
7519
eca3f3ea
PW
7520 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7521 (picture-newline): Use forward-line so as to ignore fields.
7522
01c157cc
SM
75232011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * subr.el (with-wrapper-hook): Fix edebug spec.
7526
022de23e
LMI
75272011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7528
7529 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7530 (bug#4538).
7531
91683089
MA
75322011-09-23 Michael Albinus <michael.albinus@gmx.de>
7533
eca3f3ea
PW
7534 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7535 Fix nasty bug using wrong cached values.
91683089 7536
5bdd6fa4
AM
75372011-09-23 Alan Mackenzie <acm@muc.de>
7538
7539 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7540
97adfb97
CY
75412011-09-23 Chong Yidong <cyd@stupidchicken.com>
7542
7543 * window.el (pop-to-buffer): Ensure right window is selected if we
7544 chose another frame.
7545
d4ef2b50
EZ
75462011-09-22 Eli Zaretskii <eliz@gnu.org>
7547
7548 * simple.el (what-cursor-position): Use get-char-property-change
7549 and next-single-char-property-change, to be able to show display
7550 properties that come from overlays as well as text properties.
7551
72258fe5
CY
75522011-09-22 Chong Yidong <cyd@stupidchicken.com>
7553
7554 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7555
7556 * cmuscheme.el (run-scheme, switch-to-scheme):
7557 * cus-edit.el (customize-group, custom-buffer-create)
7558 (customize-browse):
7559 * info.el (info):
7560 * shell.el (shell):
7561 * mail/sendmail.el (mail):
7562 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7563
8f098516
RS
75642011-09-22 Richard Stallman <rms@gnu.org>
7565
7566 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7567 move back only to line beg, don't move back over blank lines.
7568
e74f1bb6
MA
75692011-09-22 Michael Albinus <michael.albinus@gmx.de>
7570
7571 * files.el (copy-directory): Set directory attributes only in case
7572 they could be retrieved from the source directory. (Bug#9565)
7573
bfeef8b6
DK
75742011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7575
7576 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7577 (hs-find-block-beginning, hs-hide-level-recursive):
7578 Ignore strings as well as comments. (Bug#9502)
7579
7e423bb8
AS
75802011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7581
7582 * progmodes/sql.el (sql-comint-postgres):
7583 Convert port number to a string. (Bug#9566)
7584
b4d72fcf
MR
75852011-09-22 Martin Rudalics <rudalics@gmx.at>
7586
7587 * window.el (quit-window): Undedicate window when switching to
7588 previous buffer. Reported by Thierry Volpiatto
7589 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7590 (special-display-popup-frame): When popping up a new frame reset
7591 its previous buffers to nil. Simplify code.
b4d72fcf 7592
a7b88dc6
MA
75932011-09-21 Michael Albinus <michael.albinus@gmx.de>
7594
7595 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7596 and process filter, as done also in `shell-command'.
7597
cf4eacfd
MR
75982011-09-21 Martin Rudalics <rudalics@gmx.at>
7599
eca3f3ea 7600 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7601 Call set-window-start with NOFORCE argument t.
7602 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7603 (quit-window): Reword doc-string. Handle new format of
7604 quit-restore parameter. Don't delete window if it has a
7605 previous buffer we can show instead of the present one.
7606 (display-buffer-record-window): Rewrite using a new format for
7607 the quit-restore window parameter
7608 (special-display-popup-frame, display-buffer-same-window)
7609 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7610 (display-buffer-pop-up-window, display-buffer-use-some-window):
7611 Adapt symbol passed to display-buffer-record-window.
7612 * help.el (help-window-setup): Handle new format of quit-restore
7613 parameter.
7614
8d28cb95
SM
76152011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7616
94ab793f
SM
7617 * faces.el (face-list): Fix docstring (bug#9564).
7618
8d28cb95
SM
7619 * window.el (display-buffer--action-function-custom-type):
7620 Don't include internal functions in the Custom interface.
7621
3820edeb
JL
76222011-09-20 Juri Linkov <juri@jurta.org>
7623
7624 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7625 (Info-forward-node, Info-backward-node, Info-next-preorder)
7626 (Info-last-preorder): Use it. (Bug#9528)
7627
5147931d
JL
76282011-09-20 Juri Linkov <juri@jurta.org>
7629
7630 * info.el (Info-last-preorder): Visit last menu item only when
7631 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7632
cf499a1a
JD
76332011-09-20 Julien Danjou <julien@danjou.info>
7634
7635 * password-cache.el (password-cache-remove): Remove entries even if the
7636 value is nil, so that password with a nil value (negative caching) is
7637 possible to invalidate.
7638
f84e2fe2
LM
76392011-09-20 Lawrence Mitchell <wence@gmx.li>
7640
7641 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7642 all whitespace around breakpoint. (Bug#9553)
7643 (f90-find-breakpoint): Only break at whitespace inside a comment.
7644
78054a46
SM
76452011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * minibuffer.el (completion-file-name-table): Keep track of errors.
7648 (completion-table-with-predicate): Handle the case where pred1 is nil.
7649 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7650
345083b2
SM
76512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7652
e24e27be
SM
7653 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7654 (debugger-return-value): Signal an error if the debugging context does
7655 not await any return value.
7656
345083b2
SM
7657 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7658 * image-mode.el (image-toggle-display-text)
7659 (image-toggle-display-image): Stay away from evil `intangible'.
7660
08d355e3
LL
76612011-09-19 Leo Liu <sdl.web@gmail.com>
7662
7663 * replace.el (occur-revert-arguments): Make it permanent-local.
7664 (occur-mode): Don't call font-lock-defontify.
7665
f01da43f
CY
76662011-09-19 Chong Yidong <cyd@stupidchicken.com>
7667
7668 * net/ldap.el (ldap-search-internal): Don't push empty search
7669 result (Bug#9508).
7670
b6072fa6
SM
76712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7674
443d6696
MA
76752011-09-19 Michael Albinus <michael.albinus@gmx.de>
7676
7677 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7678 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7679
7cc6e154
JL
76802011-09-18 Juri Linkov <juri@jurta.org>
7681
7682 * buff-menu.el (Buffer-menu-mode-map):
7683 * dired.el (dired-mode-map):
7684 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7685 (lisp-interaction-mode-map):
7686 * emacs-lisp/package.el (package-menu-mode-map):
7687 * epa.el (epa-key-list-mode-map):
7688 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7689 (menu-bar-options-menu):
7690 * outline.el (outline-mode-menu-bar-map):
7691 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7692 * vc/vc-dir.el (vc-dir-menu-map):
7693 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7694 Capitalize non-function content words in menu item strings.
7695
7696 * dired.el (dired-mode-map): Add menu item for
7697 `image-dired-dired-toggle-marked-thumbs'.
7698
80302a81
JL
76992011-09-18 Juri Linkov <juri@jurta.org>
7700
7701 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7702 to `isearch-case-fold-search' and restore its original value
7703 after the `isearch-mode' call.
7704
46c5cf66
JL
77052011-09-18 Juri Linkov <juri@jurta.org>
7706
7707 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7708 because `zgrep' returns 1 for successful matches (bug#9226).
7709
d18b513b
JL
77102011-09-18 Juri Linkov <juri@jurta.org>
7711
7712 * info.el (Info-extract-menu-node-name): Check the second match
7713 for empty string (second test-case of bug#9528).
7714 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7715 intermediate nodes to the history (first test-case of bug#9528).
7716
72753f87
JL
77172011-09-18 Juri Linkov <juri@jurta.org>
7718
7719 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7720 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7721
c9384295
JL
77222011-09-18 Juri Linkov <juri@jurta.org>
7723
1154d12e
JB
7724 * info.el (Info-file-supports-index-cookies):
7725 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7726 outputs one more line for long file names (bug#4142).
c9384295 7727
d473dce8
CY
77282011-09-18 Chong Yidong <cyd@stupidchicken.com>
7729
7730 * newcomment.el (comment-normalize-vars): If prompting for
7731 comment-start, set comment-start-skip too (Bug#8424).
7732
2176854d
JB
77332011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7734
7735 * icomplete.el: Fix previous fix of Bug#5849.
7736 (icomplete-mode): Don't set completion-show-inline-help.
7737 (icomplete-minibuffer-setup): Set completion-show-inline-help
7738 locally during icompletion.
7739
3aace4e4
CY
77402011-09-18 Chong Yidong <cyd@stupidchicken.com>
7741
c940224f
CY
7742 * woman.el (woman2-process-escapes): Don't delete unrecognized
7743 escapes (Bug#7843).
7744
3aace4e4
CY
7745 * files.el (inhibit-first-line-modes-regexps): Add image files.
7746 (hack-local-variables-prop-line): Return nil for malformed
7747 prop-lines (Bug#9044).
7748
710dec63
MA
77492011-09-18 Michael Albinus <michael.albinus@gmx.de>
7750
7751 * net/tramp.el (top): Don't require 'shell.
7752 (tramp-methods): Fix docstring.
7753 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
7754 Return complete remote file name. Handle "smb" case.
7755 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
7756 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7757
7758 * net/tramp-compat.el (top): Require 'shell.
7759
7760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7761 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7762 `tramp-current-host'.
7763 (tramp-get-remote-tmpdir): Remove.
7764
7765 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7766 `tramp-tmpdir' entries.
7767 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7768 (tramp-smb-handle-file-attributes): Ignore errors.
7769 (tramp-smb-wait-for-output): Check also for process end.
7770
5d5ac8ec
LMI
77712011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7772
7773 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7774 when sending QUIT (bug#9312).
7775
8c0f49f0
CY
77762011-09-17 Chong Yidong <cyd@stupidchicken.com>
7777
7778 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7779 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7780 occur-mode-display-occurrence.
7781 (occur-edit-mode): Add usage message.
7782 (occur-cease-edit): New command.
7783 (occur-after-change-function): Use text properties to find the
7784 position of the prefix text.
7785 (occur-engine): Set stickiness of prefix text properties.
7786
8f1383f7
GM
77872011-09-17 Glenn Morris <rgm@gnu.org>
7788
7789 * progmodes/etags.el (complete-tag):
7790 Fix call to completion-in-region. (Bug#9526)
7791
744ba0e3
JL
77922011-09-17 Juri Linkov <juri@jurta.org>
7793
7794 * textmodes/ispell.el (ispell-word): Add to the error message
7795 the word, ispell program name and current dictionary (bug#9121).
7796 (ispell-tex-arg-end): Capitalize "error" in the error message.
7797
d9bbf400
AS
77982011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7799
7800 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7801 check. (Bug#4251)
7802
8da11505
JL
78032011-09-17 Juri Linkov <juri@jurta.org>
7804
7805 * window.el (window-safe-min-height, window-safe-min-width):
7806 Fix typos (followup to bug#9522).
7807
a91adc7e
SJ
78082011-09-17 Sven Joachim <svenjoac@gmx.de>
7809
7810 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7811
064f328a
EZ
78122011-09-16 Eli Zaretskii <eliz@gnu.org>
7813
7814 * simple.el (line-move): If goal-column is set, move by logical
7815 lines, not by display lines. (Bug#971)
7816 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7817 to reflect the above change.
7818
e69df516
SM
78192011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * image.el (imagemagick-register-types): Use regexp-opt.
7822
cbb0f9ab
CY
78232011-09-15 Chong Yidong <cyd@stupidchicken.com>
7824
7825 * window.el (display-buffer-base-action): Rename from
7826 display-buffer-default-action. Make default value empty.
7827 (display-buffer-overriding-action): Convert to defvar.
7828 (display-buffer-fallback-action): New var.
7829
25322144
CY
78302011-09-15 Chong Yidong <cyd@stupidchicken.com>
7831
7832 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7833 declaration.
7834 (package--add-to-archive-contents): If there is a duplicate entry
7835 with an older version, remove it.
7836 (package-menu-mark-delete, package-menu-mark-install)
7837 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
7838 (package-menu-mark-obsolete-for-deletion):
7839 Use package-menu-get-status instead of a regexp search.
25322144
CY
7840 (package-menu-get-status): Use tabulated-list-entry.
7841 (package-menu-mark-upgrades): New command.
d770725a 7842 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
7843 (package-menu-execute): Do installation before deletion.
7844 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7845 instead of checking major-mode.
7846 (package-menu--find-upgrades): New function.
7847
7520339c
LMI
78482011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7849
7850 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7851 passwords in the log buffer.
65a046c4
LMI
7852 (smtpmail-process-filter): Update the process marker so that the
7853 "broken by peer" status message is inserted in the right place.
7520339c 7854
d3c30954
SM
78552011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7856
3fe48822
SM
7857 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7858 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7859 bibtex-completion-at-point-function.
7860 (bibtex-completion-at-point-function): Use them.
7861
1b8b3954
SM
7862 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7863
d3c30954
SM
7864 * mpc.el (mpc-constraints-tag-lookup): New function.
7865 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7866 also to browser "album|playlist".
7867
72779976
JL
78682011-09-14 Juri Linkov <juri@jurta.org>
7869
7870 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7871 (isearch-edit-string): Use length of `isearch-string' when
7872 `isearch-fail-pos' returns nil.
7873 (isearch-message): Remove duplicate code and call
7874 `isearch-fail-pos' with arg `t'.
7875
a0bf2bcd
CY
78762011-09-14 Chong Yidong <cyd@stupidchicken.com>
7877
17bb0a2d
CY
7878 * replace.el (occur-mode-goto-occurrence): Don't force using other
7879 window (Bug#9499).
7880
a0bf2bcd
CY
7881 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7882
f678e0b6
MR
78832011-09-14 Martin Rudalics <rudalics@gmx.at>
7884
7885 * window.el (display-buffer-window): Remove.
7886 (display-buffer-record-window): Use help-setup window parameter
7887 instead of variable display-buffer-window.
7888 (display-buffer-function, special-display-buffer-names)
7889 (special-display-function): Mention help-setup parameter instead
7890 of display-buffer-window in doc-string.
d3c30954
SM
7891 * help.el (help-window-setup): New argument help-window.
7892 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
7893 Reword some messages.
7894 (with-help-window): Pass window used for displaying the buffer
7895 to help-window-setup. Don't set display-buffer-window.
7896
8e39b2e8
GM
78972011-09-13 Glenn Morris <rgm@gnu.org>
7898
7899 * emacs-lisp/debug.el (debugger-make-xrefs):
7900 Preserve point. (Bug#9462)
7901
85e9c04b
CY
79022011-09-13 Chong Yidong <cyd@stupidchicken.com>
7903
7904 * window.el (window-deletable-p): Use next-frame.
7905
1b36ed6a
MR
79062011-09-13 Martin Rudalics <rudalics@gmx.at>
7907
7908 * window.el (window-auto-delete): Remove.
7909 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 7910 dedication and previous buffers.
1b36ed6a
MR
7911 (switch-to-prev-buffer): Don't delete window.
7912 (delete-windows-on): Delete a window's frame if and only if the
7913 window is dedicated.
7914 (replace-buffer-in-windows): Delete buffer's window or frame if
7915 and only if window is dedicated.
7916 (quit-window): Handle quit-restore as before last change.
4d61f28d 7917 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 7918
ef8ef9fb
CY
79192011-09-13 Chong Yidong <cyd@stupidchicken.com>
7920
7921 * window.el (window-deletable-p): Never delete the last frame on a
7922 given terminal.
7923
b2cba41e
GM
79242011-09-13 Glenn Morris <rgm@gnu.org>
7925
7926 * help.el (describe-key-briefly): Copy previous standard-output change.
7927
51553db6 79282011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
7929
7930 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7931
b7556719
GM
79322011-09-13 Glenn Morris <rgm@gnu.org>
7933
7934 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7935 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7936
64b51947
CY
79372011-09-12 Chong Yidong <cyd@stupidchicken.com>
7938
7939 * dired-aux.el (dired-mark-read-string): Don't return default
7940 value on empty input (Bug#9361).
7941 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7942 Omit initial minibuffer contents.
7943 (dired-do-chmod): Signal an error on empty input.
7944 (dired-mark-read-string): Don't return default on empty input.
7945
7946 * files.el (file-modes-symbolic-to-number): Doc fix.
7947
393a301e
SM
79482011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * international/mule-cmds.el (ucs-completions): Remove.
7951 (read-char-by-name): Use complete-with-action instead; add metadata.
7952
fa5660f9
CY
79532011-09-11 Chong Yidong <cyd@stupidchicken.com>
7954
7955 * window.el (display-buffer--action-function-custom-type)
7956 (display-buffer--action-custom-type): New vars.
7957 (display-buffer-alist, display-buffer-default-action)
7958 (display-buffer-overriding-action): Add defcustom types.
7959
4a592f66
CY
7960 * frame.el (delete-other-frames): Doc fix (Bug#276).
7961
73d56dbd
LMI
79622011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7963
7964 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7965
37ac18a3
CY
79662011-09-11 Chong Yidong <cyd@stupidchicken.com>
7967
7968 Change modes that used same-window-* vars to use switch-to-buffer.
7969
7970 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7971 Use switch-to-buffer.
7972
7973 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
7974 (customize-browse, custom-buffer-create-other-window):
7975 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
7976
7977 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7978 (Info-prev, Info-up, Info-speedbar-goto-node)
7979 (info-display-manual): Use switch-to-buffer.
7980 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7981
7982 * mail/sendmail.el (mail): Use switch-to-buffer.
7983 (mail-recover): Use switch-to-buffer-other-window.
7984
7985 * cmuscheme.el (run-scheme, switch-to-scheme):
7986 * ielm.el (ielm):
7987 * shell.el (shell):
7988 * net/rlogin.el (rlogin):
7989 * net/telnet.el (telnet, rsh):
7990 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7991
10195bd6
AS
79922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7993
7994 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7995
b322f63a
LMI
79962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7997
39d7fed6
LMI
7998 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7999 so don't mention it (bug#9301).
ba5a81f1 8000 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8001
ee0e9f11
LMI
8002 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8003 match `x', `w32' and `ns', like the manual says (bug#9029).
8004
0b1c89c1 8005 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8006 (process-kill-buffer-query-function): Mention the buffer name in
8007 the query.
0b1c89c1 8008
77549ea8
LMI
8009 * image-mode.el (image-next-line): The line parameter is mandatory
8010 (bug#9258).
8011
803ef892
LMI
8012 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8013 which can be useful (bug#9301).
8014
12980837
LMI
8015 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8016
91054f8f
LMI
8017 * subr.el (match-string): Mention that the current buffer should
8018 be the same as the search was done in (bug#9282).
8019
b322f63a
LMI
8020 * facemenu.el: Disable the remove-* commands if the mark isn't
8021 active (bug#9162).
8022
3199b96f
CY
80232011-09-10 Chong Yidong <cyd@stupidchicken.com>
8024
8025 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8026 of display-buffer.
8027 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8028
8029 * replace.el (occur-mode-goto-occurrence)
8030 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8031 and display-buffer.
8032
8033 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8034 display-buffer.
8035
8036 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8037 special-display and same-window variables.
8038 (mail-other-window): Use switch-to-buffer-other-window.
8039 (mail-other-frame): USe switch-to-buffer-other-frame.
8040
393a301e
SM
8041 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8042 Use display-buffer-other-frame.
3199b96f
CY
8043 (gdb-display-gdb-buffer): Use pop-to-buffer.
8044
8045 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8046
8047 * progmodes/python.el: Don't set same-window-buffer-names.
8048
8049 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8050
8051 * window.el (display-buffer-alist): Add *Python*.
8052
8319e0bf
CY
80532011-09-10 Chong Yidong <cyd@stupidchicken.com>
8054
8055 * window.el (display-buffer-alist): Add entry for buffers
8056 previously handled same-window-*.
8057 (display-buffer-alist, display-buffer-default-action)
8058 (display-buffer-overriding-action): Mark as risky.
8059 (display-buffer-alist): Document action function changes.
8060 (display-buffer--same-window-action)
8061 (display-buffer--other-frame-action): New variables.
8062 (switch-to-buffer, display-buffer-other-frame): Use them.
8063 (display-buffer): Rename reuse-frame entry to reusable-frames.
8064 (display-buffer-reuse-selected-window): Function deleted.
8065 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8066 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8067 (display-buffer-special): New function.
8068 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8069 display-buffer-reuse-or-pop-window. Split off special-display
8070 part into display-buffer-special.
8071 (display-buffer-use-some-window): Don't perform any special
8072 pop-up-frames handling.
8073 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8074 (display-buffer--maybe-same-window): Rename from
0d3ff375 8075 display-buffer-maybe-same-window.
8319e0bf 8076
919a69aa
CY
8077 * info.el: Don't set same-window-regexps.
8078 (info-setup): New function.
8079 (info-other-window, info): Call it.
8080
8081 * cus-edit.el: Don't set same-window-regexps.
8082 (customize-group): New argument.
8083 (customize-group-other-window): Use it.
8084 (customize-face, customize-face-other-window): Likewise.
8085 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8086
8319e0bf
CY
8087 * net/rlogin.el:
8088 * net/telnet.el:
8089 * progmodes/gud.el: Don't set same-window-regexps.
8090
8091 * cmuscheme.el:
8092 * ielm.el:
8093 * shell.el:
8094 * mail/sendmail.el:
8095 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8096
25173000
JL
80972011-09-10 Juri Linkov <juri@jurta.org>
8098
8099 * isearch.el (isearch-edit-string): Remove obsolete mention of
8100 `C-w' (`isearch-yank-word-or-char') from docstring.
8101 (isearch-query-replace): Fix typo in docstring (bug#9466).
8102
056e44ef
JL
81032011-09-10 Juri Linkov <juri@jurta.org>
8104
8105 * paren.el (show-paren-function): Don't show escaped parens.
8106 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8107
c3760c17
EZ
81082011-09-10 Eli Zaretskii <eliz@gnu.org>
8109
8110 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8111 (mm-default-file-encoding): Remove autoload forms, they are
8112 replaced with autoload cookies in mml.el and mm-encode.el.
8113 (mail-add-attachment): New command.
8114 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8115 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8116 the doc string.
8117 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8118
fece895e
RT
81192011-09-10 Reuben Thomas <rrt@sc3d.org>
8120
e69df516
SM
8121 * simple.el (count-words-region): Use buffer if there's no region
8122 (bug#9429).
fece895e 8123
5e68ce4a
JL
81242011-09-09 Juri Linkov <juri@jurta.org>
8125
8126 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8127 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8128 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8129
0a6b9622
AM
81302011-09-09 Alan Mackenzie <acm@muc.de>
8131
8132 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8133 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8134
14a29deb
EZ
81352011-09-09 Eli Zaretskii <eliz@gnu.org>
8136
8137 Fix for Savannah bug#9392.
8138 * simple.el (mail-encode-mml): New defvar.
8139
8140 * mail/rmail.el (mail-encode-mml): Add a defvar.
8141 (rmail-enable-mime-composing): Default to t.
8142 (rmail-forward): Use MIME method of forwarding only if both
8143 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8144 Set mail-encode-mml non-nil if the MIME method was used.
8145
8146 * mail/sendmail.el (mml-to-mime): Add autoload form.
8147 (mail-encode-mml): Add a defvar.
8148 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8149 to nil.
8150 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8151 message through mml-to-mime, and reset mail-encode-mml to nil.
8152
28c45130
GM
81532011-09-09 Glenn Morris <rgm@gnu.org>
8154
8155 * woman.el (woman-if-body): When processing an .el block,
8156 do not delete the next .el block as well. (Bug#9447)
69f4b618 8157 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8158
9b1c252e
MR
81592011-09-08 Martin Rudalics <rudalics@gmx.at>
8160
8161 * window.el (window-deletable-p): Make sure window is live before
8162 invoking window-prev-buffers.
8163
567457e3
LL
81642011-09-08 Leo Liu <sdl.web@gmail.com>
8165
8166 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8167
97f05794
JL
81682011-09-08 Juri Linkov <juri@jurta.org>
8169
8170 * progmodes/compile.el (compilation-environment): Make it
8171 a defcustom (bug#8340).
8172
8b0874b5
MR
81732011-09-08 Martin Rudalics <rudalics@gmx.at>
8174
8175 * window.el (frame-auto-delete): Rename to window-auto-delete.
8176 Make it control auto-deletion of windows and/or frames.
8177 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8178 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8179 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8180 Rewrite handling of case when window/frame can be deleted.
8181 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8182 argument t. (Bug#9456)
8b0874b5 8183
4feb6e73
CY
81842011-09-07 Chong Yidong <cyd@stupidchicken.com>
8185
8186 * help-mode.el (help-mode): Restore autoload.
8187
91ab9c13
JL
81882011-09-07 Juri Linkov <juri@jurta.org>
8189
8190 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8191 `compilation-environment'. Set buffer-local
8192 `compilation-environment' to `thisenv' later after (funcall mode).
8193 (Bug#8340)
8194
8195 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8196 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8197 instead of replacing its value. (Bug#8340)
8198
0527e251
JL
81992011-09-07 Juri Linkov <juri@jurta.org>
8200
8201 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8202 based on text properties put by `grep-filter' instead of matching
8203 escape sequences.
8204 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8205 to the value of `grep-error-screen-columns' (bug#9438).
8206
249f792c
JL
82072011-09-07 Juri Linkov <juri@jurta.org>
8208
8209 * simple.el (next-error-highlight, next-error-highlight-no-select):
8210 Doc fix (bug#9432).
8211
ff7271b9
OT
82122011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8213
8214 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8215 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8216
183fc730
LL
82172011-09-07 Leo Liu <sdl.web@gmail.com>
8218
8219 * net/rcirc.el (rcirc-mode): Conditionally initialize
8220 rcirc-input-ring.
8221
77694924
SM
82222011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8223
8224 * emacs-lisp/find-func.el (find-function-C-source): Only set
8225 find-function-C-source-directory after checking that we found a source
8226 file there (bug#9440).
8227
d809b8eb
AM
82282011-09-06 Alan Mackenzie <acm@muc.de>
8229
8230 * isearch.el (isearch-other-meta-char): Wherever a key list is
8231 unread, "unread" the prefix arg, too. This fixes bug #8901.
8232
453de99f
OG
82332011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8234
8235 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8236
90439906
JL
82372011-09-05 Juri Linkov <juri@jurta.org>
8238
8239 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8240
f62bd846
JL
82412011-09-05 Juri Linkov <juri@jurta.org>
8242
8243 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8244 keeping point where processing of grep matches begins, and
8245 continue to delete remaining escape sequences from the same point.
8246 (grep-filter): Make leading zero optional in "0?1;31m" because
8247 git-grep emits "\033[1;31m" escape sequences unlike expected
8248 "\033[01;31m" as GNU Grep does (bug#9408).
8249 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8250
045820ec
JL
82512011-09-05 Juri Linkov <juri@jurta.org>
8252
8253 * subr.el (y-or-n-p): Capitalize "yes".
8254
f5e29b9b
MA
82552011-09-04 Michael Albinus <michael.albinus@gmx.de>
8256
8257 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8258 `tramp-cache-unload-hook' where appropriate.
8259 (tramp-methods): Rename `tramp-remote-sh' to
8260 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8261 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8262
8263 * net/tramp-sh.el (top): Don't require 'shell.
8264 (tramp-methods): Add `tramp-remote-shell' and
8265 `tramp-remote-shell-args' entries.
8266 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8267 (tramp-sh-handle-shell-command): Remove.
8268 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8269 Use `tramp-remote-shell'.
8270
2784c434
CY
82712011-09-03 Chong Yidong <cyd@stupidchicken.com>
8272
393a301e 8273 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8274 (sendmail-query-once): Save directly to send-mail-function.
8275 Update message-send-mail-function too.
8276
8277 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8278
464cdf56
CS
82792011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8280
8281 * progmodes/python.el (python-mode-map): Use correct function to
8282 start python interpreter from menu-bar (as reported by Geert
8283 Kloosterman).
8284 (inferior-python-mode-map): Fix typo.
393a301e 8285 (python-shell-map): Remove.
464cdf56 8286
d37e5c87
DD
82872011-09-03 Deniz Dogan <deniz@dogan.se>
8288
8289 * net/rcirc.el (rcirc-print): Simplify code for
8290 rcirc-scroll-show-maximum-output. There is no need to walk
8291 through all windows to find the right one.
8292
f3ada0ee
CS
82932011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8294
8295 * help.el (help-return-method): Doc fix.
8296
1f3c99ca
MR
82972011-09-03 Martin Rudalics <rudalics@gmx.at>
8298
8299 * window.el (window-deletable-p): Don't return a non-nil value
8300 when there's a buffer that was shown in the window before.
8301 (Bug#9419)
393a301e
SM
8302 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8303 Set window's previous buffers to nil.
1f3c99ca 8304
a3cf097f
EZ
83052011-09-03 Eli Zaretskii <eliz@gnu.org>
8306
8307 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8308 newline before and after the tag line, so it doesn't interfere
8309 with determining the paragraph direction of bidirectional text.
8310
3d03de90
LL
83112011-09-03 Leo Liu <sdl.web@gmail.com>
8312
8313 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8314
c3313451
CY
83152011-09-02 Chong Yidong <cyd@stupidchicken.com>
8316
393a301e 8317 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8318 (pop-to-buffer): Change interactive spec. Pass second argument
8319 directly to display-buffer.
8320 (display-buffer): Fix interactive spec. Use functionp to
8321 distinguish between a function and a list of functions.
8322
8323 * abbrev.el (edit-abbrevs):
8324 * arc-mode.el (archive-extract):
8325 * autoinsert.el (auto-insert):
8326 * bookmark.el (bookmark-bmenu-list):
8327 * files.el (find-file):
8328 * view.el (view-buffer):
8329 * progmodes/compile.el (compilation-goto-locus):
8330 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8331
89894cd8
CY
83322011-09-02 Chong Yidong <cyd@stupidchicken.com>
8333
8334 * window.el (display-buffer-alist): Doc fix.
8335 (display-buffer): Add docstring. Don't treat
8336 display-buffer-default specially.
8337 (display-buffer-reuse-selected-window)
8338 (display-buffer-same-window, display-buffer-maybe-same-window)
8339 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8340 (display-buffer-pop-up-window)
8341 (display-buffer-reuse-or-pop-window)
8342 (display-buffer-use-some-window): New functions.
8343 (display-buffer-default-action): Use them.
393a301e 8344 (display-buffer-default): Delete.
89894cd8
CY
8345 (pop-to-buffer-1): Fix choice of actions.
8346
ae0bc9fb
SM
83472011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * minibuffer.el (completion--insert-strings): Don't get confused by
8350 completion entries that end with an LF char.
8351
e9d90883
EZ
83522011-09-01 Eli Zaretskii <eliz@gnu.org>
8353
8354 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8355
437014c8
CY
83562011-09-01 Chong Yidong <cyd@stupidchicken.com>
8357
8358 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8359 (display-buffer-same-window, display-buffer-other-window):
8360 New functions.
437014c8
CY
8361 (pop-to-buffer-1): New function. Use the above.
8362 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8363 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8364
8365 * view.el (view-buffer-other-window, view-buffer-other-frame):
8366 Just use pop-to-buffer.
8367
a5e063d5
TV
83682011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8369
8370 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8371
793d32bb
WH
83722011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8373
8374 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8375
d65e4c15
RS
83762011-08-31 Richard Stallman <rms@gnu.org>
8377
8378 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8379 of the separation of rmail-view-buffer from rmail-buffer.
8380 If you say no to "replace original", the decrypt is in the
8381 view buffer. If you say yes, the decrypt goes into the
8382 rmail buffer also.
8383
f818cd2a
MR
83842011-08-31 Martin Rudalics <rudalics@gmx.at>
8385
8386 * window.el (display-buffer-window): Rewrite doc-string.
8387 (display-buffer-record-window): New function.
8388 (display-buffer-macro-specifiers)
8389 (display-buffer-even-window-sizes, display-buffer-set-height)
8390 (display-buffer-set-width, display-buffer-in-window)
8391 (display-buffer-reuse-window, display-buffer-split-specifiers)
8392 (display-buffer-side-specifiers, display-buffer-split-window-1)
8393 (display-buffer-split-window, display-buffer-split-atom-window)
8394 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8395 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8396 (display-buffer-other-window-means-other-frame)
8397 (display-buffer-normalize-special)
8398 (display-buffer-normalize-default)
8399 (display-buffer-normalize-argument)
8400 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8401 (display-buffer-normalize-specifiers, display-buffer-frame)
8402 (display-buffer-same-window, display-buffer-same-frame)
8403 (display-buffer-other-window)
8404 (display-buffer-same-frame-other-window)
8405 (display-buffer-other-frame, pop-to-buffer-same-window)
8406 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8407 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8408 (switch-to-buffer-same-frame)
8409 (switch-to-buffer-other-window-same-frame)
8410 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8411 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8412 (display-buffer-alist-set): Remove.
8413 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8414 (special-display-regexps, special-display-function):
8415 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8416 parameter.
8417 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8418 (special-display-frame-alist, special-display-popup-frame)
8419 (same-window-buffer-names, same-window-regexps, same-window-p)
8420 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8421 (split-window-preferred-function, split-height-threshold)
8422 (split-width-threshold, window-splittable-p)
8423 (split-window-sensibly, window--try-to-split-window)
8424 (window--frame-usable-p, even-window-heights)
8425 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8426 (window--display-buffer-2, display-buffer-other-frame):
8427 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8428 (display-buffer-default, display-buffer-assq-regexp): New functions.
8429 (display-buffer-alist): Rewrite doc-string.
8430 (display-buffer-default-action)
8431 (display-buffer-overriding-action): New variables.
8432 (display-buffer, switch-to-buffer): Rewrite.
8433 (pop-to-buffer): Restore Emacs 23 behavior but use
8434 window-normalize-buffer-to-display.
8435 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8436 Restore Emacs 23 behavior but use
8437 window-normalize-buffer-to-switch-to.
8438 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8439 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8440 Rewrite using Emacs 23 options.
f818cd2a 8441
5bc3b51d
MA
84422011-08-31 Michael Albinus <michael.albinus@gmx.de>
8443
8444 * net/tramp.el (tramp-root-regexp): Remove.
8445 (tramp-completion-file-name-regexp-unified)
8446 (tramp-completion-file-name-regexp-separate)
8447 (tramp-completion-file-name-regexp-url): Don't use leading volume
8448 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8449 (tramp-drop-volume-letter): Simplify definition.
8450 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8451
b1a4f8e1
SM
84522011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8453
8454 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8455 (bug#9356).
8456
5664fa7b
RT
84572011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8458
b1a4f8e1 8459 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8460
9a45d6c3
JL
84612011-08-29 Juri Linkov <juri@jurta.org>
8462
8463 * isearch.el (isearch-done): Don't display message "Mark saved"
8464 when arg `edit' is non-nil to prevent its flicker in the echo area.
8465
fb87e0fb
CY
84662011-08-28 Chong Yidong <cyd@stupidchicken.com>
8467
8468 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8469 obsolete packages for deletion.
8470
09ac1c2a
CS
84712011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8472
8473 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8474 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8475 view-mode from help-mode.
8476 (help-xref-override-view-map): Remove.
8477 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8478 view-mode is not used anymore.
8479
7a1ff57f
CY
84802011-08-28 Chong Yidong <cyd@stupidchicken.com>
8481
8482 * server.el (server-port): Doc fix.
8483
b9696605
CY
8484 * cus-theme.el (custom-theme-choose-mode): Inherit from
8485 special-mode (Bug#9124).
8486 (custom-theme-choose-mode-map): Add special-mode to parent.
8487
ef8cdf8c
AM
84882011-08-28 Alan Mackenzie <acm@muc.de>
8489
8490 * progmodes/cc-fonts.el
8491 (c-make-font-lock-BO-decl-search-function): New function.
8492 (c-basic-matchers-after - "Fontify the clauses after various
8493 keywords"): Extract the three keyword lists for the 3 erroneous
8494 constructs from the list of four, and use the new function above
8495 in place of an old one.
8496
27de4e20
DD
84972011-08-28 Deniz Dogan <deniz@dogan.se>
8498
8499 * net/rcirc.el (rcirc-insert-prev-input)
8500 (rcirc-insert-next-input): Remove unused argument.
8501
356a3681
SM
85022011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8505
3fc9b218
AM
85062011-08-27 Alan Mackenzie <acm@muc.de>
8507
8508 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8509 handle function pointer parameters properly.
8510
538a061c
MR
85112011-08-27 Martin Rudalics <rudalics@gmx.at>
8512
8513 * window.el (display-buffer-reuse-window): Fix case where
8514 selected window was reused with non-nil OTHER-WINDOW argument.
8515 (Bug#9381)
8516
35b1c40c
DD
85172011-08-27 Deniz Dogan <deniz@dogan.se>
8518
8519 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8520 oftc's NickServ messages.
8521
2f6a3e79
GM
85222011-08-27 Glenn Morris <rgm@gnu.org>
8523
8524 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8525
7254299e
CY
85262011-08-26 Chong Yidong <cyd@stupidchicken.com>
8527
8528 * emacs-lisp/package.el (package-install): Call package-initialize
8529 if called interactively.
8530
f8ccf167
LL
85312011-08-26 Leo Liu <sdl.web@gmail.com>
8532
8533 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8534
3e8cd5ce
JL
85352011-08-25 Juri Linkov <juri@jurta.org>
8536
8537 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8538 `search-whitespace-regexp' (bug#9364).
8539
93eb7113
JL
85402011-08-25 Juri Linkov <juri@jurta.org>
8541
8542 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8543 `regexp-search-ring' to their global values to protect from
8544 updating by `read-from-minibuffer' (bug#9185).
8545
f65d1611
JL
85462011-08-25 Juri Linkov <juri@jurta.org>
8547
8548 * textmodes/ispell.el (ispell-command-loop): Add newline
8549 at the end of the "Use option `i'..." line.
8550
f1cf7a31
JL
85512011-08-25 Juri Linkov <juri@jurta.org>
8552
8553 * battery.el (display-battery-mode): If `battery-status-function'
8554 or `battery-mode-line-format' is nil, display the message and set
8555 `display-battery-mode' to nil (bug#9363).
8556
0c95fcf7
EZ
85572011-08-25 Eli Zaretskii <eliz@gnu.org>
8558
8559 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8560 bidi-string-mark-left-to-right; they are unnecessary now.
8561
a2ebe600
DD
85622011-08-25 Deniz Dogan <deniz@dogan.se>
8563
8564 * net/quickurl.el: Documentation typo fixes.
8565
e4ed06f1
CY
85662011-08-25 Chong Yidong <cyd@stupidchicken.com>
8567
8568 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8569
e5f1c99e
GM
85702011-08-25 Glenn Morris <rgm@gnu.org>
8571
b2948976
GM
8572 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8573
e5f1c99e
GM
8574 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8575 (smtpmail-via-smtp): Handle nil response from smtp.
8576
f22f4808
JL
85772011-08-24 Juri Linkov <juri@jurta.org>
8578
8579 * proced.el (proced-marked): Inherit from `error' instead of
8580 `font-lock-warning-face'.
8581
8582 * ibuffer.el (ibuffer-marked-face): Change default face from
8583 `font-lock-warning-face' to `warning'.
8584 (ibuffer-deletion-face): Change default face from
8585 `font-lock-type-face' to `error'.
8586
8587 * battery.el (battery-update): Use the face `error' instead of
8588 `font-lock-warning-face' (bug#6117).
8589
6a93965e
JL
85902011-08-24 Juri Linkov <juri@jurta.org>
8591
8592 * faces.el (success): Change face color from "Green3" to
8593 "ForestGreen" on light background (bug#9353).
8594
1ed43b09
CY
85952011-08-24 Chong Yidong <cyd@stupidchicken.com>
8596
5664fa7b
RT
8597 * window.el (quit-window): Rename from quit-restore-window.
8598 Use same arglist as old quit-window.
1ed43b09
CY
8599 (frame-auto-delete): Doc fix.
8600
8601 * view.el (view-mode-exit): Use quit-window.
8602
11dcdbb2
JL
86032011-08-24 Juri Linkov <juri@jurta.org>
8604
8605 * isearch.el (isearch-ring-adjust1): Start visiting previous
8606 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8607 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8608 for empty search string (when the last search string is reused
8609 automatically) to adjust the isearch ring to the last element and
8610 prepare the correct index for further M-p commands (bug#9185).
8611
de62b4df
KH
86122011-08-24 Kenichi Handa <handa@m17n.org>
8613
8614 * international/ucs-normalize.el: If decomposition property of
8615 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8616 nil.
8617 (nfd, nfkd): Likewise.
8618
963b492b
SM
86192011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8622 from process filters aren't reliably transmitted to the surrounding
8623 accept-process-output.
8624 (mpc-proc-check): New function.
8625 (mpc-proc-sync): Use it (bug#8293)
8626
93b6b5e1
SM
86272011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8630 Add compatibility functions (bug#9313).
8631
bca633fb
EZ
86322011-08-23 Eli Zaretskii <eliz@gnu.org>
8633
b177498a
EZ
8634 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8635
6df6ae42 8636 * international/uni-bidi.el: Regenerate.
bca633fb 8637
0902a04e
KH
86382011-08-23 Kenichi Handa <handa@m17n.org>
8639
8640 * international/charprop.el:
8641 * international/uni-bidi.el:
8642 * international/uni-category.el:
8643 * international/uni-combining.el:
8644 * international/uni-comment.el:
8645 * international/uni-decimal.el:
8646 * international/uni-decomposition.el:
8647 * international/uni-digit.el:
8648 * international/uni-lowercase.el:
8649 * international/uni-mirrored.el:
8650 * international/uni-name.el:
8651 * international/uni-numeric.el:
8652 * international/uni-old-name.el:
8653 * international/uni-titlecase.el:
8654 * international/uni-uppercase.el: Regenerate.
8655
3bbf23bc
MR
86562011-08-23 Martin Rudalics <rudalics@gmx.at>
8657
8658 * help.el (help-window-setup): Fix message displayed when other
8659 window is reused. (Bug#9341)
8660
b3fd59bd
SM
86612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8662
1802e444
SM
8663 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8664 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8665
b3fd59bd
SM
8666 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8667 Mark obsolete.
8668 * shell.el (shell-parse-pcomplete-arguments): New function.
8669 (shell-completion-vars): Use it instead (bug#9160).
8670
4eb61348
SM
86712011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8672
867cab74
SM
8673 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8674 strings and comments (bug#9333).
8675
4eb61348
SM
8676 * emacs-lisp/debug.el (debug-arglist): New function.
8677 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8678 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8679
262a1439
JL
86802011-08-22 Juri Linkov <juri@jurta.org>
8681
56ee679c
JL
8682 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8683 Revert regexp that highlights output switches to its old
8684 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8685
262a1439
JL
8686 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8687 to check for empty output (bug#9226).
8688
f13f86fb
CY
86892011-08-22 Chong Yidong <cyd@stupidchicken.com>
8690
8691 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8692 symbol-constituent as the default, as that stops font-lock from
8693 working properly (Bug#8843).
8694
c65c9622
LMI
86952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8696
8697 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8698 `coding-system-for-*' around the process open call to avoid
8699 auth-source side effects.
e7f2c178 8700 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8701 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8702 probe hangs.
c65c9622 8703
23a8a5ab
CY
87042011-08-21 Chong Yidong <cyd@stupidchicken.com>
8705
ff98b2dd
CY
8706 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8707
23a8a5ab
CY
8708 * emacs-lisp/find-func.el (find-function-noselect): New arg
8709 lisp-only.
8710
8711 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8712 signal an error for built-in functions (Bug#6664).
8713
f5e3c598
LMI
87142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8715
8716 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8717 (smtpmail-try-auth-methods): Use it.
8718
a3f2468a
CY
87192011-08-21 Chong Yidong <cyd@stupidchicken.com>
8720
2c34e8da
CY
8721 * font-lock.el (font-lock-fontify-region)
8722 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8723 (font-lock-default-unfontify-buffer)
8724 (font-lock-default-fontify-region)
8725 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8726
b3fd59bd
SM
8727 * progmodes/compile.el (compilation-error-properties):
8728 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
8729 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8730 `ant' regexp.
ee31aabc 8731
a3f2468a
CY
8732 * net/browse-url.el (browse-url-firefox): Don't call
8733 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8734
8e999f70
GM
87352011-08-20 Glenn Morris <rgm@gnu.org>
8736
c21a496a
GM
8737 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8738
59ee0542
GM
8739 * tutorial.el (tutorial--default-keys): Update some default bindings.
8740
8e999f70
GM
8741 * files.el (hack-local-variables): Fully ignore case for "mode:".
8742
e3715033
AM
87432011-08-20 Alan Mackenzie <acm@muc.de>
8744
8745 Resolve invalid use of a regexp in regexp-opt.
8746
4d61f28d
JB
8747 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8748 detection for a java annotation.
e3715033 8749
4d61f28d 8750 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
8751 detection for a java annotation.
8752
4d61f28d
JB
8753 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8754 handling for java.
e3715033
AM
8755 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8756
04ed2e9c
CY
87572011-08-20 Chong Yidong <cyd@stupidchicken.com>
8758
8759 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8760 (Bug#9274).
8761
826cee64
AM
87622011-08-20 Alan Mackenzie <acm@muc.de>
8763
58179cce 8764 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
8765 such a construct. Mainly for when jit-lock etc. starts a chunk
8766 here.
8767
58179cce 8768 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 8769 variable.
58179cce 8770 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
8771 c-make-font-lock-search-function.
8772 (c-make-font-lock-search-function): Use the above function.
8773 (c-make-font-lock-context-search-function): New function.
8774 (c-cpp-matchers): Enhance the preprocessor expression case with
8775 the above function
8776 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8777 which takes an expression.
8778
8779 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8780
13009bd8
MR
87812011-08-20 Martin Rudalics <rudalics@gmx.at>
8782
8783 * window.el (display-buffer-reuse-window)
8784 (display-buffer-pop-up-window): Don't reuse or split a side
8785 window.
8786
9234ff7f
GM
87872011-08-19 Glenn Morris <rgm@gnu.org>
8788
8789 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 8790 Downcase "Mode:". (Bug#9331)
9234ff7f 8791
f635daa1
CY
87922011-08-18 Chong Yidong <cyd@stupidchicken.com>
8793
8794 * international/characters.el: Add L and R categories.
8795
8796 * subr.el (bidi-string-mark-left-to-right): Rename from
8797 string-mark-left-to-right. Use category search.
8798
8799 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8800
bc987f8b
JL
88012011-08-18 Juri Linkov <juri@jurta.org>
8802
8803 * faces.el (error, warning, success): New faces with definitions
8804 copied from old default values of `font-lock-warning-face',
8805 `compilation-warning', `compilation-info' (bug#6117).
8806
8807 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8808
8809 * progmodes/compile.el (compilation-error): Inherit from `error'.
8810 (compilation-warning): Inherit from `warning'.
8811 (compilation-info): Inherit from `success'.
8812
8813 * dired.el (dired-marked): Inherit from `warning'.
8814 (dired-flagged): Inherit from `error'.
8815
57173b96
LMI
88162011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8817
3e79eb87
LMI
8818 * mail/smtpmail.el (auth-source): Require to avoid problems with
8819 binding variables (bug#9298). Also clean up some unused
8820 autoloads.
8821
b3fd59bd
SM
8822 * net/network-stream.el (network-stream-open-starttls):
8823 Support using starttls.el without using gnutls-cli.
57173b96 8824
02b404de
JL
88252011-08-17 Juri Linkov <juri@jurta.org>
8826
8827 * progmodes/grep.el (rgrep): Handle the case when
8828 `grep-find-command' is a cons cell (bug#9278).
8829
8c9177f2
MR
88302011-08-17 Martin Rudalics <rudalics@gmx.at>
8831
8832 * window.el (display-buffer-pop-up-frame): Run frame creation
8833 function with BUFFER current (as special-display-popup-frame
8834 does). Reported by Drew Adams.
8835
3644a0ab
DU
88362011-08-17 Daiki Ueno <ueno@unixuser.org>
8837
8838 * epa-mail.el: Simplify GnuPG group expansion using
8839 epg-expand-group.
8840 (epa-mail-group-alist, epa-mail-group-modtime)
8841 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8842 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8843 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8844 Remove.
8845
5e617bc2 88462011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
8847
8848 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8849
9c4aeabf
AM
88502011-08-16 Alan Mackenzie <acm@muc.de>
8851
8852 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8853 Correct, to avoid the inside of macros.
8854
3a99bf64
RS
88552011-08-16 Richard Stallman <rms@gnu.org>
8856
04963aa8
RS
8857 * epa-mail.el: Handle GnuPG group definitions.
8858 (epa-mail-group-alist, epa-mail-group-modtime)
8859 (epa-mail-gnupg-conf-file): New variables.
8860 (epa-mail-parse-groups, epa-mail-sync-groups)
8861 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8862 (epa-mail-expand-recipients): New functions.
8863 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8864
177549d0
RS
8865 * mail/rmail.el (rmail-epa-decrypt): New command.
8866
fe38beef
RS
8867 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8868 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
8869 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8870 (epa-decrypt-armor-in-region): Make error message clearer.
8871
934eacb9
SM
88722011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8875 and "a2b" to "ab" for `prefix'.
8876
d024fb4e
CY
88772011-08-14 Chong Yidong <cyd@stupidchicken.com>
8878
8879 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8880 filter groups.
de148fee
CY
8881 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8882 Fourquet (Bug#8804).
d024fb4e 8883
62f1ca49
JB
88842011-08-12 Juanma Barranquero <lekktu@gmail.com>
8885
8886 * startup.el (argi): Declare as global variable (bug#9275).
8887
9ccaaa4b
CY
88882011-08-12 Chong Yidong <cyd@stupidchicken.com>
8889
8890 * subr.el (string-mark-left-to-right): Search the entire string
8891 for RTL script, not just the terminating character. Doc fix.
8892
a3dae87a
SM
88932011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8894
6cd18349
SM
8895 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8896 New function.
8897 (js--regexp-literal, js-syntax-propertize-function): Remove.
8898 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8899 (js-mode-map): Don't rebind electric keys.
8900 (js-insert-and-indent): Remove.
8901 (js-mode): Setup electric-layout and electric-indent instead.
8902
a3dae87a
SM
8903 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8904
9d5cb631
DU
89052011-08-12 Daiki Ueno <ueno@unixuser.org>
8906
8907 * epa.el (epa-progress-callback-function): Fix the logic of
8908 displaying progress.
8909 * epa-file.el (epa-file-insert-file-contents): Make progress
8910 display more user-friendly.
8911 (epa-file-write-region): Ditto.
8912
3e26a4a2
CY
89132011-08-10 Chong Yidong <cyd@stupidchicken.com>
8914
8915 * subr.el (string-mark-left-to-right): New function.
8916
8917 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8918 Use string-mark-left-to-right.
8919 (list-buffers-noselect): Caller changed.
8920
a3dae87a
SM
8921 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8922 Use string-mark-left-to-right.
3e26a4a2
CY
8923 (tabulated-list-print): Recenter after moving point.
8924
ac8cf6e6
JL
89252011-08-10 Juri Linkov <juri@jurta.org>
8926
8927 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8928 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8929 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8930
8d96c9a4
CY
89312011-08-09 Chong Yidong <cyd@stupidchicken.com>
8932
8933 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8934 (Bug#7554).
8935
7be1c708 89362011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
8937
8938 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8939 character. (Bug#6594)
8940
37e11a63
CY
89412011-08-08 Chong Yidong <cyd@stupidchicken.com>
8942
839dde57
CY
8943 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8944 (image-dired--with-db-file): New macro.
8945 (image-dired-write-tags, image-dired-remove-tag)
8946 (image-dired-create-gallery-lists, image-dired-write-comments)
8947 (image-dired-get-comment, image-dired-mark-tagged-files)
8948 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8949 (image-dired-gallery-generate): Use insert-file-contents.
8950
37e11a63
CY
8951 * time.el (display-time-world-list, display-time-world-display):
8952 * time-stamp.el (time-stamp-string):
8953 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8954 set-time-zone-rule (Bug#7337).
8955
0b4946c4
DU
89562011-08-08 Daiki Ueno <ueno@unixuser.org>
8957
8958 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8959 (epg-error-to-string, epg-errors-to-string): New function.
8960 (epg-wait-for-completion): Reverse errors list.
8961 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8962 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8963 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8964 (epg-sign-keys, epg-generate-key-from-file)
8965 (epg-generate-key-from-string): Format errors by using
8966 epg-errors-to-string (bug#9255).
8967 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8968
75bfc667
JL
89692011-08-07 Juri Linkov <juri@jurta.org>
8970
8971 * faces.el (list-faces-display): Remove extra angle bracket
8972 from `help-mode-map'.
8973
8974 * info.el (Info-history-toc-nodes): Doc fix.
8975
8976 * longlines.el (longlines-mode): Doc fix.
8977
673e08bb
SM
89782011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8979
4640dd88
SM
8980 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8981 of statements and in a few more cases (bug#9183).
8982
673e08bb
SM
8983 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8984 New functions.
8985 (cl-transform-lambda): Use them (bug#9239).
8986
89b3f019
MR
89872011-08-05 Martin Rudalics <rudalics@gmx.at>
8988
8989 * window.el (display-buffer-same-window)
8990 (display-buffer-same-frame, display-buffer-other-window)
8991 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8992 (pop-to-buffer-other-window)
8993 (pop-to-buffer-same-frame-other-window)
8994 (pop-to-buffer-other-frame): Make them defuns.
8995 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8996
640c8776
SM
89972011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * subr.el (make-composed-keymap): Move from C. Change calling
9000 convention, and improve docstring to bring attention to a subtle point.
9001 * minibuffer.el (completing-read-default): Adjust accordingly.
9002
63648a95
MA
90032011-08-03 Michael Albinus <michael.albinus@gmx.de>
9004
9005 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9006 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9007
9008 * net/trampver.el: Update release number.
9009
b796c9b7
SM
90102011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9011
9012 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9013 "in" (bug#9190).
9014
2239d7d5
LMI
90152011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9016
e07dd7c3
LMI
9017 * mail/sendmail.el (sendmail-query-once): Restore the current
9018 buffer after querying (bug#9074).
9019
0e6a2bd7
LMI
9020 * dired.el (dired-flagged): Use different faces for marked and
9021 flagged files (bug#6117).
9022
ce887515
LMI
9023 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9024 (bug#4433).
9025
92f2affc
LMI
9026 * ido.el (ido-mode): Switch off the message if called
9027 non-interactively.
9028
57d5aff0
LMI
9029 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9030 before 587, since it appears that that's more likely to work for
9031 more people.
9032
98cd6c18 9033 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9034 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9035 exist.
9036
b96dec83
LMI
9037 * info.el: Remove the `Info-beginning-of-buffer' function
9038 (bug#8325).
9039
b796c9b7
SM
9040 * net/network-stream.el (network-stream-open-starttls):
9041 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9042
d90e2ea0
MR
90432011-08-01 Martin Rudalics <rudalics@gmx.at>
9044
9045 * window.el (display-buffer-in-window): Don't set dedicated status
9046 of window here (Bug#9215).
9047 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9048 (display-buffer-pop-up-side-window)
b796c9b7 9049 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9050
cca09170
SM
90512011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9054 before binding generated-autoload-file.
9055
027b979c
DD
90562011-08-01 Deniz Dogan <deniz@dogan.se>
9057
9058 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9059
3c7ee4f3
MA
90602011-07-30 Michael Albinus <michael.albinus@gmx.de>
9061
9062 Sync with Tramp 2.2.2.
9063
9064 * net/trampver.el: Update release number.
9065
2cc8e51a
JL
90662011-07-30 Juri Linkov <juri@jurta.org>
9067
9068 * dired-aux.el (dired-touch-initial): Remove function.
9069 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9070 current time, and `default' to the last modification time of the
9071 current marked file (bug#6887).
9072
a514d856
JM
90732011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9074
9075 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9076 numeric argument to read-number (bug#9163).
a514d856 9077
8a7eddd7
MA
90782011-07-27 Michael Albinus <michael.albinus@gmx.de>
9079
9080 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9081 connection process, it could be nil.
9082
1ddd96f5
LL
90832011-07-27 Leo Liu <sdl.web@gmail.com>
9084
9085 Simplify url handling in rcirc-mode.
9086
9087 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9088 (rcirc-browse-url-at-mouse): Remove.
9089 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9090
b248a85d
AM
90912011-07-26 Alan Mackenzie <acm@muc.de>
9092
9093 Fontify bitfield declarations properly.
9094
9095 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9096 (c-symbol-chars): Now exported as a lang variable.
9097 (c-not-primitive-type-keywords): New lang variable.
9098
9099 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9100 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9101 parsed as a bitfield declaration.
b248a85d 9102
b796c9b7
SM
9103 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9104 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9105 (c-punctuation-in): New function.
9106 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9107 declarations properly.
9108
68575ab0
UJ
91092011-07-26 Ulf Jasper <ulf.jasper@web.de>
9110
9111 * calendar/icalendar.el (icalendar--all-events): Take care of
9112 multiple vcalendars in a single file.
b796c9b7 9113 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9114
0f0a88b9
DD
91152011-07-25 Deniz Dogan <deniz@dogan.se>
9116
9117 * image.el (insert-image): Clarifying docstring.
9118
0b3f36df
MA
91192011-07-24 Michael Albinus <michael.albinus@gmx.de>
9120
9121 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9122 `tramp-send-command-and-check' if there is no error.
9123 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9124
a9901f61
AM
91252011-07-22 Alan Mackenzie <acm@muc.de>
9126
9127 Prevent cc-langs.elc being loaded at run time.
9128
9129 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9130 cc-langs.
9131
4d61f28d 9132 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9133 "(require 'cc-langs)". Quote a form so it will evaluate at
9134 (cc-mode's) compilation time.
9135
11d074b2
MA
91362011-07-22 Michael Albinus <michael.albinus@gmx.de>
9137
9138 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9139 loading. (Bug#9114)
9140
938b94c8
MR
91412011-07-21 Martin Rudalics <rudalics@gmx.at>
9142
9143 * window.el (display-buffer-pop-up-window)
9144 (display-buffer-pop-up-side-window)
9145 (display-buffer-in-side-window): Call display-buffer-set-height
9146 and display-buffer-set-width after setting the new window's
b796c9b7 9147 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9148
bfa4f190
SS
91492011-07-20 Sam Steingold <sds@gnu.org>
9150
9151 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9152 (etags-tags-included-tables): Call `convert-standard-filename' on
9153 the file names contained in TAGS so that windows Emacs can handle
9154 TAGS files created by cygwin ctags.
9155
8ca42262
LMI
91562011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9157
9158 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9159 which apparently didn't work.
9160
5db2afd2 91612011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9162
5db2afd2
RW
9163 * proced.el (proced-send-signal): For *Marked Processes* buffer
9164 put point at beginning of buffer.
9165
92e15d10
SB
91662011-07-19 Stephen Berman <stephen.berman@gmx.net>
9167
9168 * proced.el (proced-format): Make header lines align with the text
9169 (bug#1779).
9170
1bfd59e5
LMI
91712011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9172
9173 * view.el (view-buffer): Allow running in `special' modes if we're
9174 visiting a file (bug#8615).
9175
f5aae37c
MR
91762011-07-19 Martin Rudalics <rudalics@gmx.at>
9177
9178 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9179 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9180 New functions.
f5aae37c
MR
9181 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9182 more accurately.
9183
bf2c1571
AM
91842011-07-18 Alan Mackenzie <acm@muc.de>
9185
9186 Fontify declarators properly when, e.g., a jit-lock chunk begins
9187 inside a declaration.
9188
9189 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9190
b796c9b7
SM
9191 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9192 New function.
bf2c1571
AM
9193 (c-complex-decl-matchers): Insert reference to
9194 c-font-lock-enclosing-decls.
9195
9196 * progmodes/cc-engine.el (c-backward-single-comment):
9197 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9198 to nil around calls to (forward-comment -1).
9199
4e190b80
LMI
92002011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9201
12dc863d
LMI
9202 * image.el (put-image): Doc typo fix.
9203
a762e966
LMI
9204 * progmodes/etags.el (tags-search): Doc typo fix.
9205
4e190b80
LMI
9206 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9207 password if we get errors 550 to 554.
9208
f019fb21
LMI
92092011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9210
b796c9b7 9211 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9212
81746738
LMI
9213 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9214 indentation character (bug#6380).
9215
3ee3a1b5
LMI
9216 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9217
c82f64de
LMI
9218 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9219 to clarify what the problem is (bug#4291).
9220
f019fb21
LMI
9221 * simple.el (current-kill): Clarify what
9222 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9223 (auto-fill-mode): Document `auto-fill-function' in relation to
9224 `auto-fill-mode' (bug#2470).
f019fb21 9225
0794775d
LM
92262011-07-16 Lawrence Mitchell <wence@gmx.li>
9227
9228 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9229 method if slot is read-only (bug#9035).
9230
be39b8cc
MR
92312011-07-16 Martin Rudalics <rudalics@gmx.at>
9232
b796c9b7 9233 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9234 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9235 selected before, see discussion of (Bug#8615), (Bug#6954).
9236 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9237
6ccf7859
GM
92382011-07-15 Glenn Morris <rgm@gnu.org>
9239
9240 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9241 Respect help-form.
6ccf7859 9242
87e86684
LM
92432011-07-09 Lawrence Mitchell <wence@gmx.li>
9244
9245 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9246 (gnutls-negotiate): Use it.
9247
d6066239
LMI
92482011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9249
b796c9b7
SM
9250 * net/gnutls.el (gnutls-negotiate):
9251 Upcase `gnutls-algorithm-priority'.
d6066239 9252
bd23ebc0
GM
92532011-07-15 Glenn Morris <rgm@gnu.org>
9254
c65bca65
GM
9255 * jka-compr.el (jka-compr-verbose): Move from here...
9256 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9257 Add missing :version tag.
9258 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9259
478615cc
LMI
92602011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9261
7b41decb
LMI
9262 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9263 (gnutls-negotiate): Use it.
9264
dbc44fcd
LMI
9265 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9266
06789f97
LMI
9267 * info.el (Info-beginning-of-buffer): New command.
9268 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9269 announcing `b' as the key (bug#8325).
ab896c37 9270 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9271
c39da690
LMI
9272 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9273
3aa5f34b
LMI
9274 * international/mule-cmds.el
9275 (describe-specified-language-support): Make the error message
9276 clearer (bug#8905).
9277
4bf0979f
LMI
9278 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9279
478615cc
LMI
9280 * isearch.el (isearch-barrier): Add a doc string, since it's
9281 mentioned in a function doc string (bug#8678).
9282
75c68aa1
MR
92832011-07-15 Martin Rudalics <rudalics@gmx.at>
9284
9285 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9286 buffer argument (Bug#9083) and self-identifying label argument.
9287
a7c33da2
GM
92882011-07-15 Glenn Morris <rgm@gnu.org>
9289
9290 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9291
2f5c6024
LMI
92922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9293
9294 * man.el (Man-fontify-manpage): Fix message when formatting the
9295 man page (bug#7929).
9296
0bb23927 92972011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9298
9299 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9300 argument LRM; if non-nil, append an invisible LRM character to the
9301 buffer name.
9302 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9303 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9304 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9305 paragraph direction.
cce4b0a7 9306
621ef9ab
LMI
93072011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9308
d1583c48
LMI
9309 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9310 the man page name (bug#7929).
9311
6a57fb5f
LMI
9312 * image.el (put-image): Mention the `put-image' overlay property
9313 (bug#7834).
9314
d7956b14
LMI
9315 * scroll-bar.el (set-scroll-bar-mode): Mention that
9316 `scroll-bar-mode' lists the values (bug#7772).
9317
5b2d4a66
LMI
9318 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9319 command (bug#7729).
9320
7509a874
LMI
9321 * rect.el (apply-on-rectangle): Return the point after the last
9322 operation.
9323 (string-rectangle): Go to the point after the last operation
9324 (bug#7522).
9325
4fe74b19
LMI
9326 * printing.el (pr-toggle-region): Clarify the documentation
9327 slightly (bug#7493).
9328
b796c9b7
SM
9329 * time.el (display-time-update):
9330 Allow `display-time-mail-function' to return nil (bug#7158).
9331 Fix suggested by Detlev Zundel.
ab283561 9332
fc233c9d
LMI
9333 * vc/diff.el (diff): Clarify the order the file names are read
9334 (bug#7111).
9335
43f5740b
LMI
9336 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9337 the doc string (bug#7015).
9338
f2182a76
LMI
9339 * font-lock.el (font-lock-maximum-decoration): Mention what
9340 numeric levels mean (bug#6935).
9341
621ef9ab
LMI
9342 * startup.el (initial-buffer-choice): Don't mention the `none'
9343 selection, which is against policy.
9344
adc47434
MR
93452011-07-14 Martin Rudalics <rudalics@gmx.at>
9346
b796c9b7
SM
9347 * window.el (display-buffer-normalize-special):
9348 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9349
7e5bfb8f
EZ
93502011-07-14 Eli Zaretskii <eliz@gnu.org>
9351
9352 * subr.el (version<, version<=, version=): Mention "-CVS" and
9353 "-12345" alpha version numbers.
9354
27fa387a
CY
93552011-07-14 Chong Yidong <cyd@stupidchicken.com>
9356
9357 * bindings.el: Add advertised binding for set-mark-command
9358 (Bug#5772).
9359
8bdfa064
CY
93602011-07-14 Chong Yidong <cyd@stupidchicken.com>
9361
9362 * bindings.el (mode-line-other-buffer):
9363 * bookmark.el (bookmark-bmenu-2-window):
9364 * bs.el (bs-cycle-next, bs-cycle-previous):
9365 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9366 switch-to-buffer.
9367
9368 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9369 Delete.
8bdfa064 9370
5eba16a3
JB
93712011-07-14 Juanma Barranquero <lekktu@gmail.com>
9372
9373 * follow.el (follow-debug-message, follow-redisplay):
9374 * jka-cmpr-hook.el (with-auto-compression-mode):
9375 Fix typos in docstrings.
9376
15853710
LMI
93772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
a28e4607
LMI
9379 * subr.el (with-silent-modifications): Clarify somewhat what the
9380 macro inhibits (bug#6525).
9381
15853710
LMI
9382 * simple.el (eval-expression): Note what it does if called
9383 interactively (bug#6495).
9384
bee0fcef
CY
93852011-07-13 Chong Yidong <cyd@stupidchicken.com>
9386
b796c9b7
SM
9387 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9388 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9389
9390 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9391 Remove switch-to-buffer.
9392
58274504
LMI
93932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9394
bd2fcc8d
LMI
9395 * files.el (make-directory): Clarify that an error will be raised
9396 if there's an error (bug#6397).
9397
0f04b32c
LMI
9398 * startup.el (initial-buffer-choice): Add `none' as a choice
9399 (bug#6234).
9400
465c5fc8
LMI
9401 * subr.el (add-hook): Clarify section about buffer-local hooks
9402 (bug#6218).
9403
58274504
LMI
9404 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9405
bead9a43
JB
94062011-07-13 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * tabify.el (untabify): Preserve the current column so that point
9409 doesn't move (bug#6032).
9410
3af98a7b
LMI
94112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9412
b796c9b7
SM
9413 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9414 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9415
6240145a
GM
94162011-07-13 Glenn Morris <rgm@gnu.org>
9417
9418 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9419 (dired-insert-directory): Give a message the first time
9420 if ls is found not to support --dired.
9421
1d8c2ccc
LMI
94222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9423
9424 * simple.el (toggle-truncate-lines): Clarify what is toggled
9425 (bug#5580). Text by Drew Adams.
9426
5fc4038e
CY
94272011-07-13 Chong Yidong <cyd@stupidchicken.com>
9428
9429 * simple.el (blink-matching-open): Make the error message from the
9430 last change less verbose.
9431
bf6012e5
DN
94322011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9433
9434 * font-lock.el (font-lock-comment-face): Use the high contrast
9435 "yellow" color for font-lock-comment-face on low color terminals
9436 using a dark background color (bug#4221).
9437
343c3b5a
LMI
94382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9439
7e9505c5
LMI
9440 * dired.el (dired-insert-set-properties): Make the doc string
9441 reflect what it does now (bug#5325).
9442
c26fdcf5
LMI
9443 * simple.el (blink-matching-open): Say that we were unable to find
9444 the match within the limit, if we're limited (bug#5122).
9445
bb388cc5
LMI
9446 * international/mule-cmds.el (prefer-coding-system): Add an
9447 example (bug#4869).
9448
343c3b5a
LMI
9449 * progmodes/etags.el (tags-search): Document `file-list-form'
9450 (bug#4731).
9451
2a517d45
LM
94522011-07-13 Lawrence Mitchell <wence@gmx.li>
9453
9454 * net/browse-url.el (browse-url-default-browser)
9455 (browse-url-browser-function): Make the default browser choice a
9456 bit more logical (bug#4300). Also clean up the doc string.
9457
b6c78ef2
JB
94582011-07-13 Juanma Barranquero <lekktu@gmail.com>
9459
9460 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9461 binary endings (bug#4440).
9462
1c4dd947
LMI
94632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9464
a2014063
LMI
9465 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9466 which can be pretty annoying (bug#8971).
9467
9c9c2d88
LMI
9468 * jka-compr.el (jka-compr-verbose): New variable, and use
9469 throughout (bug#8971).
9470
1c4dd947
LMI
9471 * info.el (Info-find-file): Fall back on the installation
9472 directory if we can't find the info node anywhere else.
9473
a1c9f41b
SO
94742011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9475
9476 * vc/vc.el (vc-revert-file):
9477 Don't set file time-stamp in the past. (Bug#5181)
9478
536f3d36
LMI
94792011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9480
7152b011
LMI
9481 * files.el (after-find-file): Give a better error message when
9482 trying to find a symlink that points to a file that doesn't exist
9483 (bug#4398).
9484
536f3d36
LMI
9485 * progmodes/cc-vars.el: Remove (probably) misleading comment
9486 (bug#4396).
9487
460c0fba
JB
94882011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9489
9490 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9491
7a6bda45
CY
94922011-07-12 Chong Yidong <cyd@stupidchicken.com>
9493
9494 * mouse-sel.el: Hack restoring functionality, while keeping
9495 compatibility with 2010-07-03 changes to mouse selection.
9496 (mouse-sel-primary-overlay): New var.
9497 (mouse-sel-selection-alist): Use it.
9498 (mouse-sel-mode): Doc fix; remove points that are default features
9499 of mouse.el.
9500
c79598ef
JB
95012011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9502
9503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9504 Fix previous fix (bug#2490).
9505
ff8be6ef
RW
95062011-07-12 Roland Winkler <winkler@gnu.org>
9507
b796c9b7
SM
9508 * textmodes/bibtex.el (bibtex-initialize):
9509 Use pop-to-buffer-same-window.
ff8be6ef
RW
9510 (bibtex-search-entries): Fix interactive call.
9511
296ba3ee
LMI
95122011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9513
f5242a02 9514 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9515 Fontise bytecomp Error lines more correctly (bug#2490).
9516 Fix suggested by Johan BockgĂ¥rd.
f5242a02 9517
296ba3ee
LMI
9518 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9519
9520 * dired-x.el (dired-guess-default): Use `delete-dups'.
9521
f69fd0d2
CY
95222011-07-12 Chong Yidong <cyd@stupidchicken.com>
9523
9524 * dired.el (dired-mark-prompt):
9525 * dired-aux.el (dired-read-shell-command): Doc fix.
9526
eab5dc07
LMI
95272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9528
b796c9b7
SM
9529 * mail/sendmail.el (sendmail-query-once):
9530 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9531 emacs -Q.
9532
9533 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9534
eab5dc07
LMI
9535 * cus-edit.el (custom-file): Take an optional no-error variable.
9536 (customize-save-variable): Set the variable, and give a warning if
9537 running under "emacs -q".
9538
a1e65d42
JB
95392011-07-11 Juanma Barranquero <lekktu@gmail.com>
9540
9541 * loadhist.el (unload-feature-special-hooks):
9542 Add `auto-coding-functions', `fill-nobreak-predicate' and
9543 `find-directory-functions' (bug#5327).
9544
1d52da10
LMI
95452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9546
be958f1d
LMI
9547 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9548
5bedb26c
LMI
9549 * cus-edit.el (custom-guess-name-alist): -alist variables should
9550 use the `alist' type (bug#3120). Suggested by Drew Adams.
9551
1d52da10
LMI
9552 * printing.el: Add documentation to all the `pr-toggle-' commands.
9553
cd394be1 95542011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9555
9556 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9557 backends where it makes sense (bug#2623).
9558
dcc88d8a
LMI
95592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9560
c3de9feb
LMI
9561 * dired-x.el (dired-guess-default): Remove duplicate shell command
9562 entries (bug#2028).
8a93078b 9563 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9564 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9565
dcc88d8a
LMI
9566 * subr.el (remove-duplicates): New conveniency function.
9567
505e3645
LMI
95682011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9569
9570 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9571 (bug#1526).
9572
95732011-07-10 Martin Rudalics <rudalics@gmx.at>
9574
9575 * window.el (display-buffer-normalize-default): Don't invert
9576 meaning of even-window-heights. Reported by Eli Zaretskii
9577 <eliz@gnu.org>.
9578
455e4fa1
BR
95792011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9580
9581 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9582
8e0bc3e9
CY
95832011-07-10 Chong Yidong <cyd@stupidchicken.com>
9584
9585 * window.el (display-buffer): Fix arguments to
9586 display-buffer-reuse-window in last change.
9587
fa7c3228
CY
9588 * faces.el (link): Use a less saturated blue on light backgrounds.
9589
9590 * startup.el (fancy-startup-text, fancy-about-text)
9591 (fancy-startup-tail): Use font-lock faces, for background safety.
9592
c0a7f300
BN
95932011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9594
b796c9b7
SM
9595 * emulation/viper-cmd.el (viper-change-state-to-vi):
9596 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9597
4dc2a129
MR
95982011-07-09 Martin Rudalics <rudalics@gmx.at>
9599
9600 * window.el (display-buffer-default-specifiers): Remove.
9601 (display-buffer-macro-specifiers): Remove default specifiers.
9602 (display-buffer-alist): Default to nil.
b796c9b7 9603 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9604 (display-buffer-pop-up-window): Allow splitting internal
9605 windows. Check whether a live window was created.
9606 (display-buffer-other-window-means-other-frame)
9607 (display-buffer-normalize-arguments): Rename to
9608 display-buffer-normalize-argument and rewrite. Set the
9609 other-window specifier.
9610 (display-buffer-normalize-special): New function.
9611 (display-buffer-normalize-options): Rename to
9612 display-buffer-normalize-default and rewrite.
9613 (display-buffer-normalize-options-inhibit): Remove.
9614 (display-buffer-normalize-specifiers): Rewrite.
9615 (display-buffer): Process other-window specifier and call
9616 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9617 more faithfully.
b796c9b7 9618 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9619 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9620 (display-buffer-in-window, display-buffer-alist-set):
9621 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9622 <tassilo@member.fsf.org>.
9623
2d43b8c9
LL
96242011-07-09 Leo Liu <sdl.web@gmail.com>
9625
9626 * register.el (insert-register): Restore accidental change on
9627 2011-06-26. (Bug#9028)
9628
7f9b7c53
GM
96292011-07-09 Glenn Morris <rgm@gnu.org>
9630
9631 * subr.el (remq): Handle the empty list. (Bug#9024)
9632
f042cfd8
AS
96332011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9634
9635 * mail/sendmail.el (send-mail-function): No longer delay custom
9636 initialization.
9637 * custom.el (custom-initialize-delay): Doc fix.
9638
856b2f11
SM
96392011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9642
afae1d68
MA
96432011-07-08 Michael Albinus <michael.albinus@gmx.de>
9644
9645 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9646 human-friendly prompt.
9647
0757af94
SM
96482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9650 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9651 provided by a particular plugin.
9652
d760b731
LMI
96532011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9654
9655 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9656 save customizations (with "emacs -Q"), just set the variable
9657 instead of erroring out.
9658
9659 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9660
cd79ce90
JL
96612011-07-08 Juri Linkov <juri@jurta.org>
9662
9663 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9664 (archive-zip-update-case): Use 7z if found by `executable-find'.
9665 The order of searching the available programs is the same as in
9666 `archive-zip-extract' (bug#8968).
9667
14cc04aa
CY
96682011-07-07 Chong Yidong <cyd@stupidchicken.com>
9669
9670 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9671 (menu-bar-options-menu): Tweak descriptions.
9672
0a1848ec
LMI
96732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9674
9675 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9676 menu items into verb phrases (bug#1421). Also refill to fit under
9677 80 columns.
9678
f5bd0689
CY
96792011-07-07 Chong Yidong <cyd@stupidchicken.com>
9680
538e85c6
CY
9681 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9682 (Info-read-node-name): Doc fix (Bug#1084).
9683
f5bd0689
CY
9684 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9685 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9686 (end-of-sexp, beginning-of-sexp)
9687 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9688 (forward-symbol, forward-same-syntax, word-at-point)
9689 (sentence-at-point): Doc fix (Bug#1144).
9690
56ec5115
LMI
96912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9692
f3f8e37f
LMI
9693 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9694 should cover it (bug#1281).
9695
0757af94 9696 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9697
e9fce1ac 9698 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9699 negotiation fails, then possibly try again with a non-encrypted
9700 connection (bug#9017).
9701
56ec5115
LMI
9702 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9703 be used.
9704
c2f9aec8
RS
97052011-07-07 Richard Stallman <rms@gnu.org>
9706
9707 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9708 property, and handle its changed format.
9709 Look for the correct line number.
9710 Use file's line contents (but not past first =) to find
9711 correct line in message.
9712
ef7b981d 97132011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9714
9715 * international/characters.el (build-unicode-category-table):
9716 Delete it.
0757af94 9717 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9718
0757af94 9719 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9720 to src/chartab.c.
9721 (get-char-code-property): Call unicode-property-table-internal to
9722 load a file. Call get-unicode-property-internal where necessary.
9723 (put-char-code-property): Call unicode-property-table-internal to
9724 load a file. Call put-unicode-property-internal where necessary.
9725 put-unicode-property-internal where necessary.
0757af94
SM
9726 (char-code-property-description):
9727 Call unicode-property-table-internal to load a file.
c805dec0
KH
9728
9729 * international/charprop.el:
9730 * international/uni-bidi.el:
9731 * international/uni-category.el:
9732 * international/uni-combining.el:
9733 * international/uni-comment.el:
9734 * international/uni-decimal.el:
9735 * international/uni-decomposition.el:
9736 * international/uni-digit.el:
9737 * international/uni-lowercase.el:
9738 * international/uni-mirrored.el:
9739 * international/uni-name.el:
9740 * international/uni-numeric.el:
9741 * international/uni-old-name.el:
9742 * international/uni-titlecase.el:
9743 * international/uni-uppercase.el: Regenerate.
9744
9745 * loadup.el: Load international/charprop.el before
9746 international/characters.
9747
e14b388a
CY
97482011-07-07 Chong Yidong <cyd@stupidchicken.com>
9749
9750 * window.el (next-buffer, previous-buffer): Signal an error if
9751 called from a minibuffer window.
9752
9753 * bindings.el: Revert 2011-07-04 change.
9754
354cf0ba
RS
97552011-07-06 Richard Stallman <rms@gnu.org>
9756
9757 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9758 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9759 Treat markers like ints.
9760 (rmail-mime-entity): Doc fix.
9761
a48868a7
LMI
97622011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9763
4906cd3d
LMI
9764 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9765 defcustom again for backwards compatibility.
9766
e0457abe
LMI
9767 * simple.el (shell-command-on-region): Fill.
9768
d67f7e1f
LMI
9769 * dired-aux.el (dired-kill-line): Add a doc string.
9770
fe204702
LMI
9771 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9772 to "\\sw\\|\\s_" (bug#358).
9773
a48868a7
LMI
9774 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9775 (dired-unmark-backward): Ditto.
9776 (dired-flag-backup-files): Ditto.
9777
9778 * dired-x.el (dired-mark-sexp): Ditto.
9779
aa8a705c
RS
97802011-07-06 Richard Stallman <rms@gnu.org>
9781
9782 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9783 (rmail-mime-entity): New arg TRUNCATED.
9784 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9785 New functions.
9786 (rmail-mime-save): Warn if entity is truncated.
9787 (rmail-mime-toggle-hidden): Likewise, for showing.
9788 (rmail-mime-process-multipart): Record when an entity is truncated.
9789
a9a936b9
RS
9790 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9791 if ENTITY is a string.
9792
1f2b92cb
LMI
97932011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9794
f4f73198 9795 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
9796 of faces when `M-C-x'-ing their definitions (bug#8378).
9797 Also clean up the code slightly.
f4f73198 9798
12b16734 9799 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 9800 because that makes the colors go away.
12b16734 9801
f0691d22
LMI
9802 * mail/sendmail.el (send-mail-function): Change the default to
9803 `sendmail-query-once'.
9e87df06 9804 (sendmail-query-once): Add an autoload cookie.
f0691d22 9805
1f2b92cb
LMI
9806 * net/network-stream.el (network-stream-open-starttls): Try using
9807 a plain connection even if the server offered STARTTLS, and we
9808 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9809 capability. This should make smtpmail.el work in slightly more
9810 configurations.
9811
1cdd2a1b
MA
98122011-07-06 Michael Albinus <michael.albinus@gmx.de>
9813
9814 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9815 New defun.
9816 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9817
fbcc67e2
MM
98182011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9819
9820 * progmodes/sql.el: Version 3.0
0757af94 9821 (sql-product-alist): Add product :completion-object,
fbcc67e2 9822 :completion-column, and :statement attributes.
0757af94 9823 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 9824 (sql-mode-syntax-table): Mark all punctuation.
0757af94 9825 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
9826 ansi keywords.
9827 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 9828 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
9829 (sql-oracle-show-reserved-words): New function for development.
9830 (sql-product-font-lock): Simplify for source code buffers.
9831 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9832 New functions.
9833 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
9834 (sql-mode-map): Add statement movement functions.
9835 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9836 New variable.
fbcc67e2
MM
9837 (sql-statement-regexp, sql-beginning-of-statement)
9838 (sql-end-of-statement, sql-signum): New functions.
0757af94 9839 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
9840 (sql-show-sqli-buffer): Bug fix.
9841 (sql-interactive-mode): Store connection data as buffer local.
0757af94 9842 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
9843 with sql-interactive-mode.
9844 (sql-save-connection): Save buffer local settings.
0757af94 9845 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
9846 (sql-product-interactive): Bug fix.
9847 (sql-preoutput-hold): New variable.
9848 (sql-interactive-remove-continuation-prompt): Bug fixes.
9849 (sql-debug-redirect): New variable.
9850 (sql-str-literal): New function.
9851 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 9852 Redesign.
fbcc67e2
MM
9853 (sql-oracle-save-settings, sql-oracle-restore-settings)
9854 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9855 (sql-completion-object, sql-completion-column)
9856 (sql-completion-sqlbuf): New variables.
9857 (sql-build-completions-1, sql-build-completions)
9858 (sql-try-completion): New functions.
9859 (sql-read-table-name): Use them.
9860 (sql-contains-names): New buffer local variable.
9861 (sql-list-all, sql-list-table): Use it.
9862 (sql-oracle-completion-types): New variable.
9863 (sql-oracle-completion-object, sql-sqlite-completion-object)
9864 (sql-postgres-completion-object): New functions.
9865
d4eaeab1
GM
98662011-07-06 Glenn Morris <rgm@gnu.org>
9867
9868 * window.el (pop-to-buffer): Doc fix.
9869
322b7dab 98702011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
9871
9872 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9873
322b7dab 98742011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 9875
322b7dab 9876 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 9877
322b7dab 9878 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 9879
605dd5bf
CY
98802011-07-05 Chong Yidong <cyd@stupidchicken.com>
9881
9882 * button.el (button): Inherit from link face. Suggested by Dan
9883 Nicolaescu.
9884
7dbfa719
SM
98852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9886
3db614b0
SM
9887 * progmodes/gdb-mi.el: Fit in 80 columns.
9888 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9889 switch-to-buffer.
9890
7dbfa719
SM
9891 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9892 if imenu is simply not configured (bug#8941).
9893
919d884a
KM
98942011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9895
9896 * allout.el (allout-post-undo-hook): New allout outline-change
9897 event hook to signal undo activity.
9898 (allout-post-command-business): Run allout-post-undo-hook if an
9899 undo just occurred.
7dbfa719
SM
9900 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9901 * allout-widgets.el (allout-widgets-after-undo-function):
9902 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
9903 in the vicinity of an undo.
9904 (allout-widgets-mode): Include allout-widgets-after-undo-function
9905 on the new allout-post-undo-hook.
9906
450a0f09
SM
99072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9908
9909 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9910 Let define-derived-mode define it.
9911 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9912 cycles of abbrev-table inheritance (bug#8998).
9913
2de69e00
RW
99142011-07-05 Roland Winkler <winkler@gnu.org>
9915
9916 * textmodes/bibtex.el: Add support for biblatex.
9917 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9918 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9919 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9920 (bibtex-entry-alist, bibtex-field-alist): New variables.
9921 (bibtex-entry-field-alist): Obsolete alias for
9922 bibtex-BibTeX-entry-alist.
9923 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9924 (bibtex-set-dialect): New command.
9925 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
9926 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9927 Bind via bibtex-set-dialect.
2de69e00
RW
9928 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9929 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9930 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9931 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9932 Define via bibtex-set-dialect.
450a0f09
SM
9933 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9934 Obey bibtex-no-opt-remove-re.
2de69e00
RW
9935 (bibtex-vec-push, bibtex-vec-incr): New functions.
9936 (bibtex-format-entry, bibtex-field-list)
9937 (bibtex-print-help-message, bibtex-validate)
9938 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9939
2dcdbdd9
SM
99402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9941
9942 * progmodes/compile.el (compilation-goto-locus):
9943 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9944 * bs.el (bs-cycle-next, bs-cycle-previous):
9945 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9946 * bindings.el (mode-line-other-buffer):
9947 * autoinsert.el (auto-insert):
9948 * arc-mode.el (archive-extract):
9949 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9950
b27640fe
JB
99512011-07-05 Juanma Barranquero <lekktu@gmail.com>
9952
9953 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9954 Fix check of `emacs-lock-unlockable-modes'.
9955 Coerce true values of `emacs-lock--try-unlocking' to t.
9956
53bbe3ad
JB
99572011-07-05 Juanma Barranquero <lekktu@gmail.com>
9958
9959 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9960 * emacs-lock.el: New file.
9961
1d3cdbc7
JD
99622011-07-05 Julien Danjou <julien@danjou.info>
9963
9964 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9965 than `boundp' to check if face is set.
9966
9173deec
JB
99672011-07-05 Juanma Barranquero <lekktu@gmail.com>
9968
9969 * register.el (registerv-make):
9970 * window.el (window-min-height): Fix typos in docstrings.
9971
869795d6
JD
99722011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9973
9173deec 9974 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
9975 Update doc string.
9976
b768cdcd
JB
99772011-07-04 Juanma Barranquero <lekktu@gmail.com>
9978
9979 * server.el (server-execute): Catch quit and call
9980 `server-return-error' to pass the error back to emacsclient and
9981 close the connection (bug#8942).
9982
13aa217b
KM
99832011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9984
9985 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9986 insecure exception for current topic. Also note that auto-saves
9987 are handled differently.
9988
5d3385a0 9989 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
9990 State variables for tracking auto-save inhibition situation.
9991
9992 (allout-write-contents-hook-handler): Rename from
9993 'allout-write-file-hook-handler', and describe how it depends on
9994 write-contents-functions sensitivity to non-nil value to prevent
9995 file write.
9996
9997 (allout-auto-save-hook-handler): Remove. auto-save does not check
9998 this in individual buffers, only in the starting buffer, so this
9999 is not the right way for us to inhibit auto-save in a buffer
10000 according to its condition.
10001
10002 (allout-mode): Use new allout-write-contents-hook-handler, and
10003 only with write-contents-functions. Remove auto-save provisions -
10004 they're implemented elsewhere.
10005
10006 (allout-before-change-handler): If undo is in progress, note that
10007 for attention of allout-post-command-business.
10008
10009 (allout-post-command-business): If the command we're following was
10010 an undo, check for change in the status of encrypted items and
10011 adjust auto-save inhibitions accordingly.
10012
10013 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10014 according to whether there are or aren't any plain-text topics
10015 pending encryption.
10016
2dcdbdd9 10017 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10018 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10019 if there are plain-text topics pending encryption.
13aa217b
KM
10020
10021 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10022 buffer-saved-size and some allout state to not inhibit auto-saves
10023 if there are no longer any plain-text topics pending encryption.
10024
0757af94
SM
10025 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10026 No longer provide for exemption of the current topic.
13aa217b 10027
ac89b32c
JL
100282011-07-04 Juri Linkov <juri@jurta.org>
10029
10030 Add 7z operations to delete and save changed members (bug#8968).
10031 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10032 New defcustoms.
10033 (archive-7z-write-file-member): New function.
10034 (archive-7z-summarize): Fix the number of dashes in the
10035 listing output.
10036
8fa39615
SM
100372011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10040 (bug#8958).
10041
2f11b3f1
CY
100422011-07-04 Chong Yidong <cyd@stupidchicken.com>
10043
d66fef2b
CY
10044 * bindings.el: Ignore next-buffer and previous-buffer in
10045 minibuffer-local-map.
10046
2f11b3f1
CY
10047 * font-lock.el (font-lock-builtin-face): Change light background
10048 color to dark slate blue (Bug#6693).
10049
f932a347
WD
100502011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10051
10052 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10053
c8af70e1
SM
100542011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10057 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10058 Add switch-to-buffer.
10059
f158badc
LMI
100602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10061
10062 * isearch.el (isearch-search-fun-function): Clarify further the
10063 meaning of the function returned.
10064
6d95bd46
MA
100652011-07-04 Michael Albinus <michael.albinus@gmx.de>
10066
10067 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10068
10069 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10070 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10071 Use it.
10072 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10073 `tramp-default-remote-path' does not exist.
10074 (tramp-send-command-and-read): New optional argument NOERROR.
10075 (tramp-open-connection-setup-interactive-shell)
10076 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10077 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10078 (tramp-process-sentinel): Flush also process' connection property.
10079 (tramp-sh-handle-start-file-process): Do not set process
10080 sentinel. It is done now ...
10081 (tramp-maybe-open-connection): ... here. (Bug#8929)
10082
909e6b67
MK
100832011-07-04 MON KEY <monkey@sandpframing.com>
10084
10085 * play/animate.el (animate-string): Doc fixes and allow changing
10086 the buffer name (bug#5417).
10087
100882011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10089
c8af70e1 10090 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10091
f34755dc
PE
100922011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10093
396cec72
PE
10094 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10095 This is simpler and helps future-proof the code.
10096 (timer-until): Use time-subtract and float-time.
08235028 10097 (timer--time-less-p): Use time-less-p.
f34755dc 10098
56e6cc31
JB
100992011-07-04 Juanma Barranquero <lekktu@gmail.com>
10100
3abb79e5
JB
10101 * type-break.el (timep): Use the value of `float-time' to avoid a
10102 byte-compiler warning.
10103
56e6cc31
JB
10104 * server.el (server-eval-and-print): Return any result, even nil.
10105
7b9430b4
PE
101062011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10107
10108 * type-break.el: Accept time formats that the builtins accept.
10109 (timep, type-break-time-difference): Accept any format that
10110 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10111 This is simpler and helps future-proof the code.
10112 (type-break-time-difference): Round rather than ignoring
10113 subseconds components.
10114
3034e9e7
LMI
101152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10116
10117 * info.el (Info-apropos-matches): Make non-interactive, since it
10118 doesn't seem to do anything useful as a command (bug#8829).
10119
1485f4c0
CY
101202011-07-03 Chong Yidong <cyd@stupidchicken.com>
10121
10122 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10123 Move from faces.el.
1485f4c0
CY
10124 (frame-default-terminal-background): New function.
10125
10126 * custom.el (custom-push-theme): Don't record faces in `changed'
10127 theme; this doesn't work correctly for per-frame face settings.
10128 (disable-theme): Use face-set-after-frame-default to reset faces.
10129 (custom--frame-color-default): New function.
10130
9fa3dd45
LMI
101312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10132
c8af70e1 10133 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10134 (bug#8769).
10135
6cbbc20c
KR
101362011-03-29 Kevin Ryde <user42@zip.com.au>
10137
10138 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10139 `perl-Test2' extend to match possible "fail #N" rep count
10140 (bug#8377).
10141
c7f98048
LMI
101422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10143
65676592
LMI
10144 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10145 `smtpmail-via-smtp' now returns the error instead of nil.
10146
c7f98048
LMI
10147 * isearch.el (isearch-search-fun-function): Clarify the doc string
10148 (bug#8101).
10149
56e6cc31 101502011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10151
10152 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10153 unnecessary spaces (bug#8987).
10154
2b216704
LMI
101552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10156
10157 * net/network-stream.el (open-network-stream): Use the
10158 :end-of-capability command thoughout.
10159
101602011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10161
10162 * net/network-stream.el (open-network-stream): Add the
10163 :end-of-capability command parameter, used by pop3.el.
10164
36adf6ce
LMI
101652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10166
1ca0da0e
LMI
10167 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10168
fc00f69c
LMI
10169 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10170 for list)" (bug#6475).
10171
28fd8759 10172 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10173 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10174 an error (bug#6297).
10175
0dd8b6da
LMI
10176 * man.el (Man-reference-regexp): Allow matching possible
10177 word-wrapped references (bug#6289).
10178
ce1438d6
LMI
10179 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10180 for consistency with the other vc buffers (bug#6197).
10181 (vc-checkin): Ditto.
10182
10183 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10184
36adf6ce
LMI
10185 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10186
e83cc1f7
LMI
101872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10188
8a20ca4c
LMI
10189 * custom.el (defcustom): Clarify that :set is only used in the
10190 Customize user interface (bug#6089).
10191
83319045
LMI
10192 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10193 associated with a file, refuse to run instead of erroring out
10194 (bug#6084).
10195
a8392169
LMI
10196 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10197 the doc string, since it appears that using `fill-column' always
10198 controls the width (bug#7845).
10199
e83cc1f7
LMI
10200 * simple.el (shell-command-on-region): Say where the error output
10201 went if `shell-command-default-error-buffer' is set (bug#6857).
10202
e47ca23b
KM
102032011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10204
10205 * allout.el (allout-yank-processing): Adjust cursor position for
10206 backwards-deleted space.
10207
10208 (allout-rebullet-heading): Register changes with
10209 allout-exposure-changed-hook, so the modified topic is properly
10210 decorated.
10211
5cf56143
LMI
102122011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10213
08549772
LMI
10214 * minibuffer.el (completion-in-region): Document PREDICATE
10215 (bug#7136).
10216
48e96771
LMI
10217 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10218 of keyword/argument pairs (bug#6904).
10219
c8af70e1
SM
10220 * replace.el (multi-occur):
10221 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10222
e17d05e2
LMI
102232011-07-02 Drew Adams <drew.adams@oracle.com>
10224
10225 * dired.el (dired-mark-if): Make the message about whether it's
10226 marking or unmarking clearer (bug#8523).
10227
063b0e45
LMI
102282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10229
10230 * disp-table.el (display-table-print-array): New function.
10231 (describe-display-table): Use it to print the vectors more pretty
10232 (Bug#8859).
10233
28545e04
MR
102342011-07-02 Martin Rudalics <rudalics@gmx.at>
10235
10236 * window.el (window-state-get-1): Don't assign clone numbers.
10237 Add clone-of item to list of window parameters.
10238 (window-state-put-2): Don't process clone numbers.
10239 (display-buffer-alist): Fix doc-string.
10240
3349e122
SM
102412011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10242
10243 * subr.el (remq): Don't allocate if it's not needed.
10244 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10245 (keymap--merge-bindings): New functions.
10246 (keymap-canonicalize): Use them to refine the canonicalization.
10247 * minibuffer.el (minibuffer-local-completion-map)
10248 (minibuffer-local-must-match-map): Move initialization from C.
10249 (minibuffer-local-filename-completion-map): Move initialization from C;
10250 don't inherit from anything here.
10251 (minibuffer-local-filename-must-match-map): Make obsolete.
10252 (completing-read-default): Use make-composed-keymap to combine
10253 minibuffer-local-filename-completion-map with either
10254 minibuffer-local-must-match-map or
10255 minibuffer-local-filename-completion-map.
10256
d224ac83
GM
102572011-07-01 Glenn Morris <rgm@gnu.org>
10258
3de63bf8
GM
10259 * type-break.el (type-break-time-sum): Use dolist.
10260
d224ac83
GM
10261 * textmodes/flyspell.el (flyspell-word-search-backward):
10262 Replace CL function.
10263
1a1e3f32
SM
102642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10265
fe3f64d5
SM
10266 * mouse.el (mouse--strip-first-event): New function.
10267 (function-key-map): Use it to map fringe clicks to normal clicks
10268 by default.
10269
eb604e34
SM
10270 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10271 (vc-bzr-revision-completion-table): Add support for annotate and date.
10272
1a1e3f32
SM
10273 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10274 inherit from parent.
10275
5bd35902
LMI
102762011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10277
ace6c69c 10278 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10279 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10280
191e2bed
LMI
10281 * dired.el (dired-mode): Fix up the doc string as suggested by
10282 Drew Adams (bug#8817).
10283
5bd35902
LMI
10284 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10285 cookie, since the manual says that it should be possible to add
10286 this function to `find-file-hook' (bug#8709).
10287
eee8207a
TZ
102882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10289
10290 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10291 here. Noted Ted Zlatanov as the maintainer.
10292 (cfengine-common-settings, cfengine-common-syntax): New functions
10293 to set up common things between `cfengine-mode' and
10294 `cfengine3-mode'.
10295 (cfengine3-mode): New mode.
10296 (cfengine3-defuns cfengine3-defuns-regex
10297 (cfengine3-class-selector-regex cfengine3-category-regex)
10298 (cfengine3-vartypes cfengine3-font-lock-keywords)
10299 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10300 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10301
36b148cf
MA
103022011-07-01 Michael Albinus <michael.albinus@gmx.de>
10303
10304 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10305
10306 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10307
0bf4ba9a
MR
103082011-07-01 Martin Rudalics <rudalics@gmx.at>
10309
10310 * window.el (same-window-buffer-names, same-window-regexps)
10311 (same-window-p, special-display-frame-alist)
10312 (special-display-popup-frame, special-display-function)
10313 (special-display-buffer-names, special-display-regexps)
10314 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10315 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10316 (split-window-preferred-function, split-height-threshold)
10317 (split-width-threshold, even-window-heights)
10318 (display-buffer-mark-dedicated, window-splittable-p)
10319 (split-window-sensibly, window-safely-shrinkable-p):
10320 Un-obsolete.
10321 (display-buffer): Don't spread args with function specifier
10322 because special-display-popup-frame won't like it.
10323
35837f51
PE
103242011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10325
d0672f86
PE
10326 Time-stamp simplifications and fixes.
10327 These improve accuracy slightly, and future-proof the code
10328 against some potential changes to current-time format.
10329
b9444d97
PE
10330 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10331 by using time-since and float-time.
10332
0ef923dc
PE
10333 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10334 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10335 + NNN microseconds".
10336
2f81380d
PE
10337 * type-break.el (type-break-time-sum): Rewrite using time-add.
10338
845b5c3e
PE
10339 * play/hanoi.el (hanoi-current-time-float): Remove.
10340 All uses replaced by float-time.
10341
ee6f1be0
PE
10342 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10343 This yields a more-accurate answer.
10344 (rng-time-to-float): Remove; no longer needed.
10345
fe955043
PE
10346 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10347
5777162a
PE
10348 * calendar/timeclock.el (timeclock-seconds-to-time):
10349 Defalias to seconds-to-time, since they're the same thing.
10350
3103f8b6 10351 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10352 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10353 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10354
0e61a35f
SM
103552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * window.el (bury-buffer): Don't iconify the only frame.
10358 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10359 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10360
ddd63a1e
CY
103612011-07-01 Chong Yidong <cyd@stupidchicken.com>
10362
0e61a35f
SM
10363 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10364 Add mouse-yank-primary.
ddd63a1e 10365
055f4923
TZ
103662011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10367
10368 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10369
6a2fb145
SM
103702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10373 (find-library-name): Use it to find relative load names when provided
10374 absolute file name (bug#8803).
10375
fd4983f2
LMI
103762011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10377
887d14ad
LMI
10378 * textmodes/flyspell.el (flyspell-word): Consider words that
10379 differ only in case as potential doublons (bug#5687).
10380
c53dc7fc
LMI
10381 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10382 Remove two rather uninteresting debugging-like messages to make
10383 debbugs.el more silent.
10384
fd4983f2
LMI
10385 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10386 a password-like phrase.
10387
7a71b18d 103882011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10389
10390 * progmodes/cc-guess.el: New file.
10391
6a2fb145 10392 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10393
10394 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10395 derived from `c-basic-common-init'.
10396
10397 * progmodes/cc-mode.el (top-level): Require cc-guess.
10398 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10399
1fa280a3
LM
104002011-06-30 Lawrence Mitchell <wence@gmx.li>
10401
10402 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10403
e6597158
AM
104042011-06-30 Alan Mackenzie <acm@muc.de>
10405
1fa280a3
LM
10406 * progmodes/cc-engine.el (c-guess-continued-construct):
10407 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10408 lock is disabled. Name this case as "CASE G".
10409
68ba37fb
KM
104102011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10411
10412 * allout.el (allout-yank-processing): Fix injection of extra space
10413 between bullet and non-whitespace character in first topic when
10414 pasting, ensuring that the actual spacing in the pasted topic
10415 following the bullet char is preserved. This extra space was
10416 causing pasted encrypted topics to get a decrypted status even
10417 when the content was actually still encrypted. Now the decryption
10418 status from before the paste is preserved.
10419
10420 (allout-flag-region): Set all allout overlays so they evaporate
10421 when reduced to zero length (evanescent), to prevent overlay
10422 leakage.
10423
887a0b34
GM
104242011-06-30 Glenn Morris <rgm@gnu.org>
10425
94b9acce
GM
10426 * w32-fns.el (w32-charset-info-alist): Declare.
10427
1d9b46d4
GM
10428 * find-dired.el (find-grep-options): Simplify.
10429
cc232200
GM
10430 * term/ns-win.el (ns-set-resource): Declare.
10431
28e77c46
GM
10432 * ses.el (row, col): Declare dynamic variables honestly.
10433
887a0b34
GM
10434 * textmodes/reftex-parse.el (index-tags): Declare.
10435
658d8eb8
CY
104362011-06-30 Chong Yidong <cyd@stupidchicken.com>
10437
10438 * cus-edit.el (customize-push-and-save): New function.
10439
10440 * files.el (hack-local-variables-confirm): Use it.
10441
1fa280a3
LM
10442 * custom.el (load-theme): New arg NO-CONFIRM.
10443 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10444 (custom-enabled-themes): Doc fix.
10445
10446 * cus-theme.el (customize-create-theme)
10447 (custom-theme-merge-theme): Callers to load-theme changed.
10448
bb617717
LMI
104492011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10450
d61bdd5d
LMI
10451 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10452 short URLs have at least one dot in them (bug #7614).
10453
bb617717
LMI
10454 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10455 nil, because using a pty is apparently too slow (bug #895).
10456
2f31f37a
LMI
104572011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10458
10459 * mail/sendmail.el (sendmail-query-once): New function.
10460 (sendmail-query-once-function): New variable.
10461
3076b24e
GM
104622011-06-29 Glenn Morris <rgm@gnu.org>
10463
faf2a174
GM
10464 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10465
3076b24e
GM
10466 * ses.el (top-level): Require cl when compiling.
10467 (ses-set-localvars): Fix error statement.
10468 Call it at compile time to silence a storm of warnings.
10469
5386012d
MR
104702011-06-29 Martin Rudalics <rudalics@gmx.at>
10471
10472 * window.el (normalize-live-buffer): Rename to
10473 window-normalize-buffer.
10474 (normalize-live-frame): Rename to window-normalize-frame.
10475 (normalize-any-window): Rename to window-normalize-any-window.
10476 (normalize-live-window): Rename to window-normalize-live-window.
10477 (make-window-atom): Rename to window-make-atom.
10478 (window-resize-reset): Rename to window--resize-reset.
10479 (window-resize-reset-1): Rename to window--resize-reset-1.
10480 (resize-mini-window): Rename to window--resize-mini-window.
10481 (resize-subwindows-skip-p): Rename to
10482 window--resize-subwindows-skip-p.
10483 (resize-subwindows-normal): Rename to
10484 window--resize-subwindows-normal.
10485 (resize-subwindows): Rename to window--resize-subwindows.
10486 (resize-other-windows): Rename to window--resize-siblings.
10487 (resize-this-window): Rename to window--resize-this-window.
10488 (resize-root-window): Rename to window--resize-root-window.
10489 (resize-root-window-vertically): Rename to
10490 window--resize-root-window-vertically.
10491 (normalize-buffer-to-display): Rename to
10492 window-normalize-buffer-to-display.
10493 (normalize-buffer-to-switch-to): Rename to
10494 window-normalize-buffer-to-switch-to.
10495 Correspondingly update all callers of the functions listed
10496 above.
10497 (display-buffer-alist, display-buffer-normalize-arguments)
10498 (display-buffer-normalize-options, display-buffer)
10499 (display-buffer-alist-set): Use "function" instead of
10500 "fun-with-args".
10501
1176868d
CY
105022011-06-28 Chong Yidong <cyd@stupidchicken.com>
10503
10504 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10505 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10506 debbugs.gnu.org. Mention acknowledgment email.
10507
20a7a65f
LMI
105082011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10509
10510 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10511 buffer multibyteness, since it shouldn't matter.
10512
5f45cca5
MR
105132011-06-28 Martin Rudalics <rudalics@gmx.at>
10514
10515 * window.el (display-buffer-in-side-window): Handle dedicated
10516 windows as in display-buffer-reuse-window.
10517 (display-buffer-normalize-alist): Use value of override
10518 specifier.
10519 (display-buffer-normalize-specifiers): Use value of
10520 other-window-means-other-frame specifier.
10521 (display-buffer-alist): Rewrite some texts in widgets.
10522 (display-buffer): Spread arguments when calling function
10523 specified by fun-with-args.
10524
ad85fe1f
DD
105252011-06-28 Deniz Dogan <deniz@dogan.se>
10526
1fa280a3
LM
10527 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10528 Unnest `let'.
da68c4c8 10529
ad85fe1f
DD
10530 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10531 selectors (Bug#5732).
ec49bd31 10532 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10533
a08cc025
JA
105342011-06-27 Jari Aalto <jari.aalto@cante.net>
10535
10536 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10537 (eshell-ls-date-format): New defcustom.
10538 (eshell-ls-file): Use it.
10539
e2b551c5
SM
105402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10541
10542 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10543
8982b231
KY
105442011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10545
10546 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10547 (ange-ftp-make-tmp-name): New arg.
10548 (ange-ftp-file-local-copy): Use it.
10549
36c9fa27
J
105502011-06-27 Jambunathan K <kjambunathan@gmail.com>
10551
10552 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10553 no-conversion (Bug#8870).
10554
d68443dc
MR
105552011-06-27 Martin Rudalics <rudalics@gmx.at>
10556
10557 * window.el (window-right, window-left, window-child)
10558 (window-child-count, window-last-child)
10559 (window-iso-combination-p, walk-window-tree-1)
10560 (window-atom-check-1, window-tree-1, delete-window)
10561 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10562 new naming conventions - window-vchild, window-hchild,
10563 window-next and window-prev are now called window-top-child,
10564 window-left-child, window-next-sibling and window-prev-sibling
10565 respectively.
d615d6d2
MR
10566 (resize-window-reset): Rename to window-resize-reset.
10567 (resize-window-reset-1): Rename to window-resize-reset-1.
10568 (resize-window): Rename to window-resize.
10569 (window-min-height, window-min-width)
10570 (resize-mini-window, resize-this-window, resize-root-window)
10571 (resize-root-window-vertically, adjust-window-trailing-edge)
10572 (enlarge-window, shrink-window, maximize-window)
10573 (minimize-window, delete-window, quit-restore-window)
10574 (split-window, balance-windows, balance-windows-area-adjust)
10575 (balance-windows-area, window-state-put-2)
10576 (display-buffer-even-window-sizes, display-buffer-set-height)
10577 (display-buffer-set-width, set-window-text-height)
10578 (fit-window-to-buffer): Rename all "resize-window" prefixed
10579 calls to use the "window-resize" prefix convention.
10580 (display-buffer-alist): Fix symbol for label specifier.
10581 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10582 corresponding specifier.
10583 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10584
b6458526
VB
105852011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10586
10587 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10588 convention.
10589 (ses-call-printer): Does not pass an empty string to formatter when the
10590 cell is empty to keep from barking printer Calc math-format-value.
10591
d31fd9ac
RS
105922011-06-27 Richard Stallman <rms@gnu.org>
10593
43d5bf84
RS
10594 * battery.el (battery-mode-line-limit): New variable.
10595 (battery-update): Handle it.
10596
d31fd9ac
RS
10597 * mail/rmailmm.el (rmail-mime-process-multipart):
10598 Handle truncated messages.
10599
819a6054
GM
106002011-06-27 Glenn Morris <rgm@gnu.org>
10601
10602 * progmodes/flymake.el (flymake-err-line-patterns):
10603 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10604
cedc73f2
VB
106052011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10606
819a6054 10607 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10608 (ses--clean-!, ses--clean-_): New functions.
10609 (ses-range): Add configurability of readout order, and conversion
10610 to Calc vector.
10611
5e5d49b6
VB
10612 * ses.el (ses-repair-cell-reference-all): New function.
10613 (ses-cell-symbol): Set macro as safe, so that it can be used in
10614 formulas.
10615
56e6cc31 10616 * ses.el: Update cycle detection algorithm.
90ca8b49 10617 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10618 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10619 (ses-set-localvars): New function.
10620 (ses-make-cell): Add property-list as a cell element.
10621 (ses-cell-property-get-fun, ses-cell-property-get)
10622 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10623 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10624 New functions.
90ca8b49
VB
10625 (ses-cell-property-set, ses-cell-property-pop)
10626 (ses-cell-property-get-handle): New macro.
10627 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10628 New aliases, used for code readability.
10629 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10630 cycle detection.
10631 (ses-self-reference-early-detection): New defcustom.
fac916bf 10632 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10633 (ses-mode): Use ses-set-localvars.
10634 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10635 before lauching the update processing.
10636 (ses-initialize-Dijkstra-attempt): New function.
10637 (ses-recalculate-cell): Update for cycle detection based on
10638 Dijkstra algorithm.
10639
2bb63e81
VB
10640 * ses.el: Fix commenting and indenting convention.
10641
c9d29fb8
SM
106422011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * bs.el (bs-cycle-next): Complete last change.
10645
d8e4b68b
JB
106462011-06-27 Drew Adams <drew.adams@oracle.com>
10647
10648 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10649
40098786
LMI
106502011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10651
c9d29fb8
SM
10652 * net/network-stream.el (network-stream-open-starttls):
10653 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10654 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10655
40098786
LMI
10656 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10657 to binary to possibly avoid line encoding issues on Windows (among
10658 other things).
10659
468d09d4
LMI
106602011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10661
10662 * net/network-stream.el (open-network-stream): Return an :error
10663 saying what the problem was, if possible.
10664
10665 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10666 server.
10667
10668 * net/network-stream.el (network-stream-open-starttls): If we
10669 wanted to use STARTTLS, and the server offered it, but we weren't
10670 able to because we had no STARTTLS support, then close the connection.
10671 (open-network-stream): Return an :error element, if present.
10672
16f07dd7
CY
106732011-06-26 Chong Yidong <cyd@stupidchicken.com>
10674
88821ca0
CY
10675 * hl-line.el (hl-line-sticky-flag): Doc fix.
10676 (global-hl-line-sticky-flag): New option (Bug#8323).
10677 (global-hl-line-highlight): Obey it.
10678
16f07dd7
CY
10679 * vc/vc.el (vc-revert-show-diff): Default to t.
10680
6b5ccddf
KM
106812011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10682
c9d29fb8
SM
10683 * allout-widgets.el (allout-widgets-post-command-business):
10684 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10685 undecorated when an isearch is continued past, and isearch
10686 automatically collapses them. This leads to "widget leaks", where
10687 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10688 hidden widgets can slow down cursor travel, substantially.
10689 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10690 so we're doing without this nicety.
10691
10692 (allout-widgets-tally-string): Don't try to do a hash-table-count
10693 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10694 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10695 *Messages* when allout-widgets-maintain-tally is t.
10696
355f2e07
MR
106972011-06-26 Martin Rudalics <rudalics@gmx.at>
10698
10699 * window.el (display-buffer-normalize-argument): Rename to
10700 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10701 LABEL argument. Respect special-display-function when popping up
10702 a new frame. Fix code searching for a window showing the buffer
10703 on another frame.
c9d29fb8
SM
10704 (display-buffer-normalize-specifiers):
10705 Call display-buffer-normalize-arguments.
355f2e07
MR
10706 (display-buffer-in-window): Don't undedicate the window if its
10707 buffer remains the same.
10708 Reported by Drew Adams <drew.adams@oracle.com>.
10709 (display-buffer-alist): Add choice for same-window macro
10710 specfier.
10711 (display-buffer): Mention special meaning of LABEL argument in
10712 doc-string. Fix quoting. Don't pop up a new frame even as
10713 fallback.
10714
7ca8fc42
JB
107152011-06-26 Juanma Barranquero <lekktu@gmail.com>
10716
10717 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10718 avoid deleting the current window in some cases (bug#8911).
10719
bc312254
AS
107202011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10721
10722 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10723 (Bug#8934)
10724
2db18f3f
LMI
107252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10726
c9d29fb8
SM
10727 * net/network-stream.el (network-stream-open-starttls):
10728 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
10729 (network-stream-open-tls): Ditto.
10730
6302e0d3
LL
107312011-06-26 Leo Liu <sdl.web@gmail.com>
10732
10733 * register.el (registerv): New struct.
10734 (registerv-make): New function.
c9d29fb8
SM
10735 (jump-to-register, describe-register-1, insert-register):
10736 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
10737 struct. (Bug#8415)
10738
5fdd4046
CY
107392011-06-26 Chong Yidong <cyd@stupidchicken.com>
10740
2afef60a
CY
10741 * vc/vc.el (vc-revert-show-diff): New defcustom.
10742 (vc-diff-internal): New arg specifying diff buffer.
10743 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10744 reuse an existing *vc-diff* buffer (Bug#8927).
10745
5fdd4046
CY
10746 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10747
e93db24a
GM
107482011-06-26 Glenn Morris <rgm@gnu.org>
10749
10750 * progmodes/f90.el (f90-critical-indent): New option.
10751 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10752 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10753 (f90-mode): Doc fix.
10754 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10755 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10756 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10757 (f90-match-end): Handle block, critical.
10758
eefff499
GM
107592011-06-25 Glenn Morris <rgm@gnu.org>
10760
f6ba4cc9
GM
10761 * calendar/diary-lib.el (diary-included-files): Doc fix.
10762 (diary-include-files): New function, extracted from
10763 diary-include-other-diary-files and diary-mark-included-diary-files.
10764 (diary-include-other-diary-files, diary-mark-included-diary-files):
10765 Just call diary-include-files.
10766 (diary-mark-entries): Reset diary-included-files on first call.
10767
16712304
GM
10768 * calendar/diary-lib.el (diary-mark-entries)
10769 (diary-mark-included-diary-files):
10770 Visit included diary-files in temp buffers.
10771
5d8e0d43
GM
10772 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10773 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10774 (f90-start-block-re, f90-imenu-generic-expression)
10775 (f90-looking-at-program-block-start, f90-no-block-limit):
10776 Add support for submodules.
10777
ccf7a5d5
GM
10778 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10779 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 10780
11fdef7d 107812011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
10782
10783 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10784 buffer-file-type before setting its value, to avoid disastrous
eefff499 10785 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 10786
74f53697
JB
107872011-06-25 Juanma Barranquero <lekktu@gmail.com>
10788
10789 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10790
10791 * ses.el (ses-unload-function):
10792 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10793
10794 * proced.el (proced-unload-function):
10795 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10796
18a4ce5e
AR
107972011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10798
10799 * server.el (server-create-window-system-frame): Add parameters arg.
10800 (server-process-filter): Doc fix. Handle frame-parameters.
10801
519d22cc
JB
108022011-06-25 Juanma Barranquero <lekktu@gmail.com>
10803
10804 Fix bug#8730, bug#8781.
10805
10806 * loadhist.el (unload--set-major-mode): New function.
10807 (unload-feature): Use it.
10808
10809 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10810 (python-unload-function): New function.
10811
c206f5b0
SM
108122011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10813
10814 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10815
f9ad64f3
GS
108162011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10817
10818 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10819 the candidates list.
10820
7d0da90e
JB
108212011-06-24 Juanma Barranquero <lekktu@gmail.com>
10822
10823 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10824
14b4e83d
RS
108252011-06-23 Richard Stallman <rms@gnu.org>
10826
10827 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10828 (rmail-variables): Set next-error-move-function.
10829 (rmail-what-message): Take argument POS.
10830 (rmail-next-error-move): New function.
10831
273d2baf
SM
108322011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10833
10834 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10835 messages for adjacent non-terminals.
10836
56c2cc9a
RS
108372011-06-23 Richard Stallman <rms@gnu.org>
10838
10839 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 10840 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
10841 (rmail-start-mail): Don't specify use of rmail-mail-return;
10842 that's done by mail-bury now.
10843 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 10844
d59eb518
MA
108452011-06-23 Michael Albinus <michael.albinus@gmx.de>
10846
10847 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10848 SIZE is a number.
10849
02cfc6d6
MR
108502011-06-23 Martin Rudalics <rudalics@gmx.at>
10851
10852 * window.el (get-lru-window, get-mru-window)
10853 (get-largest-window): Never return a minibuffer window.
10854 (display-buffer-pop-up-window): Fix a bug that could lead to
10855 reusing the minibuffer window.
10856 (display-buffer): Pass original specifier argument to
10857 display-buffer-function instead of the normalized one.
10858 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10859
4e323265
LL
108602011-06-22 Leo Liu <sdl.web@gmail.com>
10861
10862 * minibuffer.el (completing-read-function)
10863 (completing-read-default): Move from minibuf.c
10864
7a70468f
RS
108652011-06-22 Richard Stallman <rms@gnu.org>
10866
50718fc2
RS
10867 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10868 to Rmail even if not started by a special Rmail command.
10869
7a70468f
RS
10870 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10871 Copy the buffer currently showing just one message.
10872
297dde5a
RW
108732011-06-22 Roland Winkler <winkler@gnu.org>
10874
10875 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10876 (bibtex-clean-entry): First delete the old key so that a
10877 customized algorithm for generating the new key does not get
10878 confused by the old key.
10879 (bibtex-url): Obey regexp of first step.
10880 (bibtex-search-entries): Do not use add-to-list with local
10881 list-var.
10882
97bb1093
LMI
108832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10884
10885 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10886 stored a user name, then query for the password first, instead of
10887 waiting for SMTP to give an error message and the trying again.
10888
1c0f1a19
JD
108892011-06-22 Lawrence Mitchell <wence@gmx.li>
10890
10891 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10892 BUFFER in call-process.
10893
396f7c9d
LMI
108942011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10895
10896 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10897 QUIT twice.
ddb7ffee
LMI
10898 (smtpmail-try-auth-methods): Require user name and password from
10899 auth-source.
396f7c9d 10900
8998d1b3
MR
109012011-06-22 Martin Rudalics <rudalics@gmx.at>
10902
10903 * window.el (display-buffer-default-specifiers)
10904 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10905 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 10906 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
10907
10908 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10909 (special-display-frame-alist, special-display-popup-frame):
10910 Remove duplicate declarations. These are now in window.el.
10911
4ea31e07
LMI
109122011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10913
c9d29fb8
SM
10914 * mail/smtpmail.el (smtpmail-via-smtp):
10915 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
10916 server supports it. SMTP servers that support STARTTLS commonly
10917 require it.
10918
10919 * net/network-stream.el (network-stream-open-starttls): Support
10920 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 10921 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 10922
95f41d9a
LMI
10923 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10924 upgrades with `open-network-stream', and rely solely on
10925 auth-source for all credentials. Big changes throughout the file,
10926 but in particular:
c9d29fb8
SM
10927 (smtpmail-auth-credentials): Remove.
10928 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
10929 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10930 MAIL FROM, too.
95f41d9a 10931
c9d29fb8
SM
10932 * net/network-stream.el (network-stream-open-starttls):
10933 Provide support for client certificates both for external and built-in
4ea31e07
LMI
10934 STARTTLS.
10935 (auth-source): Require.
10936 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
10937 (network-stream-certificate): Change cert-cert to cert and
10938 cert-key to key.
4ea31e07 10939
065ec2c7
MA
109402011-06-21 Michael Albinus <michael.albinus@gmx.de>
10941
10942 * net/tramp-cache.el (top): Don't load the persistency file when
10943 "emacs -Q" has been called.
10944
cd93b359
DR
109452011-06-21 Tim Harper <timcharper@gmail.com>
10946
d8e4b68b
JB
10947 * term/ns-win.el (ns-initialize-window-system):
10948 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
10949 resource to NO as it is not yet supported by the NS port.
10950
ae9c0411
JB
109512011-06-21 Juanma Barranquero <lekktu@gmail.com>
10952
10953 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10954 (list-dynamic-libraries): ...not here.
10955
7f3f739f
LL
109562011-06-21 Leo Liu <sdl.web@gmail.com>
10957
10958 * subr.el (sha1): Implement sha1 using secure-hash.
10959
327c8fb1
MR
109602011-06-21 Martin Rudalics <rudalics@gmx.at>
10961
10962 * window.el (display-buffer-alist): In default value do not
10963 enforce searching a window on any but the selected frame.
10964 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10965 (display-buffer-select-window): Remove function.
10966 (display-buffer-in-window): When a window on another frame gets
10967 reused, do not select it any more but just raise its frame if
10968 necessary (Bug#8851) and (Bug#8856).
10969 (display-buffer-normalize-options): Handle pop-up-frames related
10970 options more faithfully.
10971 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10972 window if it is on another frame.
c9d29fb8
SM
10973 (display-buffer-alist, display-buffer-default-specifiers):
10974 Don't make new frame unsplittable by default.
9e9de014
MR
10975 (display-buffer-normalize-argument): Fix doc-string typo and use
10976 'same-frame-other-window instead of 'other-window when associating
10977 with display-buffer-macro-specifiers.
327c8fb1 10978
7cf3f556
VB
109792011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10980
10981 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10982 New functions.
10983 (5x5-mode-map, 5x5-mode-menu): Bind them.
10984 (5x5-draw-grid): Tweak the solver's rendering.
10985
60a406cf
SM
109862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10989 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10990
d8e4b68b 109912011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
10992
10993 * menu-bar.el: Use function variable instead of switch-to-buffer.
10994 (menu-bar-select-buffer-function): New variable.
60a406cf 10995 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 10996
478d6f95
SM
109972011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10998
10999 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11000 variable's status.
11001
ca530739
JD
110022011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11003
11004 * x-dnd.el (x-dnd-version-from-flags)
11005 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11006 and long as number (Bug#8899).
11007 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11008
bcd70d97
SM
110092011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11010
60a406cf 11011 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11012 (completion-try-completion, completion-all-completions): Compute the
11013 metadata argument if it's missing; make it optional (bug#8795).
11014
60a406cf 11015 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11016 (widget-complete): Use new :completion-function property.
11017 (widget-completions-at-point): New function.
11018 (default): Use :completion-function instead of :complete.
60a406cf
SM
11019 (widget-default-completions): Rename from widget-default-complete;
11020 Rewrite.
bcd70d97
SM
11021 (widget-string-complete, widget-file-complete, widget-color-complete):
11022 Remove functions.
11023 (file, symbol, function, variable, coding-system, color):
11024 * international/mule-cmds.el (default-input-method, charset)
11025 (language-info-custom-alist):
11026 * cus-edit.el (face): Use new property :completions.
11027
11028 * progmodes/pascal.el (pascal-completions-at-point): New function.
11029 (pascal-mode): Use it.
11030 (pascal-mode-map): Use completion-at-point.
11031 (pascal-toggle-completions): Make obsolete.
11032 (pascal-complete-word, pascal-show-completions):
11033 * progmodes/octave-mod.el (octave-complete-symbol):
11034 Redefine as obsolete alias.
11035 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11036 Signal absence of completion info for old Octave,
11037 (inferior-octave-complete): Redefine as obsolete alias.
11038 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11039 (meta-completions-at-point): Rename from meta-complete-symbol and
11040 adapt it for use on completion-at-point-functions.
11041 (meta-common-mode): Use it.
11042 (meta-looking-at-backward, meta-match-buffer): Remove.
11043 (meta-complete-symbol): Redefine as obsolete alias.
11044 (meta-common-mode-map): Use completion-at-point.
11045 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11046 (makefile-mode-map): Use completion-at-point.
11047 (makefile-completions-at-point): Rename from makefile-complete and
11048 adapt it for use on completion-at-point-functions.
11049 (makefile-mode): Use it.
11050 (makefile-complete): Redefine as obsolete alias.
11051
aebf69c8
DD
110522011-06-20 Deniz Dogan <deniz@dogan.se>
11053
11054 * net/rcirc.el: Delete trailing whitespaces once and for all.
11055
bfbbb27d
DC
110562011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11057
11058 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11059
d264a46b
CY
110602011-06-19 Chong Yidong <cyd@stupidchicken.com>
11061
4ca009e5
CY
11062 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11063
d264a46b
CY
11064 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11065
fbf5b3ce
MR
110662011-06-19 Martin Rudalics <rudalics@gmx.at>
11067
11068 * window.el (display-buffer-other-window-means-other-frame):
11069 Call display-buffer-normalize-alist.
11070 (display-buffer-normalize-specifiers-1): Rename to
11071 display-buffer-normalize-argument. New argument other-frame.
11072 Rewrite.
11073 (display-buffer-normalize-specifiers-2): Rename to
11074 display-buffer-normalize-options.
11075 (display-buffer-normalize-alist-1): New function.
11076 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11077 display-buffer-normalize-alist.
11078 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11079 (display-buffer-normalize-options-inhibit): New variable.
11080 (display-buffer-normalize-specifiers): Rewrite calling
11081 display-buffer-normalize-alist,
11082 display-buffer-normalize-argument, and
11083 display-buffer-normalize-options. Don't call the latter if
11084 display-buffer-normalize-options-inhibit is non-nil.
11085 (frame-auto-delete): New option.
11086 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11087 (window-list-no-nils, window-state-ignored-parameters)
11088 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11089 (window-state-put-1, window-state-put-2, window-state-put):
11090 New functions.
9a028c23
MR
11091 (display-buffer-normalize-options): Move special-display-p group
11092 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11093
6d10d800
CY
110942011-06-18 Chong Yidong <cyd@stupidchicken.com>
11095
6420d28b
CY
11096 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11097 groups (Bug#8776).
11098 (rx-submatch-n): New function.
11099 (rx): Document it.
11100
ddb8b596
CY
11101 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11102 (Bug#8768).
11103
11104 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11105
77080289
CY
11106 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11107
61dfb316
CY
11108 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11109 anytime existing face settings are present (Bug#8889).
11110
6d10d800
CY
11111 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11112 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11113 Remove unused argument.
11114
be3fb2b8
MR
111152011-06-18 Martin Rudalics <rudalics@gmx.at>
11116
bcd70d97
SM
11117 * window.el (display-buffer-default-specifiers):
11118 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11119 pop-up-window-min-width, and another reuse-window specifier
11120 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11121 (display-buffer-normalize-specifiers-2):
11122 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11123 pop-up-windows is unset. Add a reuse-window specifier for the
11124 case popping up a new window fails.
11125 (special-display-popup-frame): Remove double quoting.
28dec25a 11126 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11127
1c6d8c76
SM
111282011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11131 according to comint-completion-addsuffix.
11132
11133 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11134 (pcomplete-suffix-list): Mark as obsolete.
11135 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11136 pcomplete-seen in the closure.
11137 (pcomplete-comint-setup): Setup completion-at-point as well.
11138 (pcomplete--entries): New function.
11139 (pcomplete--env-regexp): New var.
11140 (pcomplete-entries): Rewrite to work with partial-completion and
11141 without relying on pcomplete-suffix-list.
11142 (pcomplete-pare-list): Remove, unused.
11143
25aef8b8
MR
111442011-06-17 Martin Rudalics <rudalics@gmx.at>
11145
11146 * window.el (display-buffer-alist): Set pop-up-window-min-height
11147 and pop-up-window-min-width in default value. Reported by
11148 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11149 other-window-means-other-frame.
11150 (display-buffer-macro-specifiers): Comment out entry for
11151 other-window specifier.
11152 (display-buffer-other-window-means-other-frame): New function.
11153 (display-buffer-normalize-specifiers-1): New arguments
11154 buffer-name and label. Treat other-window case specially.
11155 (display-buffer-normalize-specifiers-2): Treat other-window case
11156 specially.
11157 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11158 (display-buffer-normalize-specifiers):
11159 Call display-buffer-normalize-specifiers-3.
25aef8b8 11160
dbad4f69
MR
111612011-06-17 Martin Rudalics <rudalics@gmx.at>
11162
11163 * window.el (same-window-p): Fix two typos introduced when
11164 adding with-no-warnings.
d1067961
MR
11165 (display-buffer-normalize-specifiers-1): Don't check
11166 pop-up-frames for 'unset initialization.
11167 (display-buffer-normalize-specifiers-2): Major rewrite using
11168 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11169 (pop-up-frames, display-buffer-reuse-frames)
11170 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11171 Suggested by David Engster <deng@randomsample.de>.
11172 (even-window-heights): Initialize to 'unset.
11173 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11174 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11175 other window case.
dbad4f69 11176
9b9c9e3a
MR
111772011-06-16 Martin Rudalics <rudalics@gmx.at>
11178
bcd70d97
SM
11179 * window.el (display-buffer-normalize-specifiers-1):
11180 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11181 second argument of display-buffer (Bug#8865).
981d5c09
MR
11182 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11183 (switch-to-buffer-other-window-same-frame)
11184 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11185 Adams (Bug#8875).
9c2755e9
MR
11186 (display-buffer): Don't check noninteractive when calling
11187 display-buffer-pop-up-frame.
11188 (display-buffer-pop-up-frame): Never pop up a frame in
11189 noninteractive mode (Bug#8857).
67222e1d
MR
11190 (enlarge-window, shrink-window): Don't report an error when the
11191 window can't be resized as requested (Bug#8862).
9b9c9e3a 11192
2b75be67
SM
111932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11194
9ffdd3ba
SM
11195 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11196
cb581a67
SM
11197 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11198
2b75be67
SM
11199 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11200
8c0e3589
AM
112012011-06-15 Alan Mackenzie <acm@muc.de>
11202
cb581a67
SM
11203 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11204 for declarators, disable knr checking to speed up for normal files.
11205 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11206
b96e6cde
LMI
112072011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11208
4bba86e6
LMI
11209 * net/network-stream.el (open-network-stream): Add the keyword
11210 :always-query-capabilities for the case where you want to force a
11211 `plain' network connection, but the protocol still requires the
11212 capabilitiy command (i.e., SMTP and EHLO).
11213
2b75be67 11214 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11215 consistency with other `-live-p' functions.
11216
efdcdbf8
SM
112172011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11218
11219 * window.el (same-window-buffer-names, same-window-regexps)
11220 (special-display-frame-alist, special-display-popup-frame)
11221 (special-display-function, special-display-buffer-names)
11222 (special-display-regexps, pop-up-frame-alist)
11223 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11224 (pop-up-windows, split-window-preferred-function)
11225 (split-height-threshold, split-width-threshold, even-window-heights)
11226 (display-buffer-mark-dedicated): Don't encourage the use of
11227 display-buffer-alist from Elisp code.
11228
c5cde042
DN
112292011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11230
11231 * progmodes/python.el (python-mode): Derive from prog-mode.
11232 * progmodes/ps-mode.el (ps-mode):
11233 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11234 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11235 * progmodes/ld-script.el (ld-script-mode): Likewise.
11236
baa1c9ab
MR
112372011-06-15 Martin Rudalics <rudalics@gmx.at>
11238
11239 * window.el (display-buffer-alist): Trim default value to avoid
11240 popping up a new frame (Bug#8857) or reusing an arbitrary window
11241 on another frame.
11242 (display-buffer): Do not fall back on popping up a new frame in
11243 batch mode (Bug#8857).
11244
c5dd5a51
CY
112452011-06-14 Chong Yidong <cyd@stupidchicken.com>
11246
11247 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11248 (custom-theme-summary): New function.
11249 (customize-themes): Use it.
11250
d647b7c4
GM
112512011-06-13 Glenn Morris <rgm@gnu.org>
11252
11253 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11254
9481c002
MR
112552011-06-13 Martin Rudalics <rudalics@gmx.at>
11256
357f93d2
MR
11257 * help.el (help-window): Remove variable.
11258 (help-window-point-marker, temp-buffer-max-height)
11259 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11260 (help-print-return-message): Don't set help-window.
11261 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11262 (help-window-setup-finish): Remove.
11263 (help-window-display-message, help-window-setup)
11264 (with-help-window): Major rewrite based on new
11265 display-buffer-window variable.
11266
11267 * help-mode.el (help-mode-finish): Remove help-window related
11268 code.
11269
11270 * view.el (view-exits-all-viewing-windows): Remove reference to
11271 view-return-to-alist in doc-string.
11272 (view-return-to-alist): Make obsolete.
11273 (view-buffer): Call pop-to-buffer-same-window and remove
11274 undo-window code.
11275 (view-buffer-other-window): Call pop-to-buffer-other-window and
11276 simplify code. Ignore second argument.
11277 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11278 simplify code. Ignore second argument.
11279 (view-return-to-alist-update): Make obsolete.
11280 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11281 Rewrite using quit-restore window parameters.
2b75be67
SM
11282 (view-mode-exit): Rename second argument to EXIT-ONLY.
11283 Rewrite using quit-restore-window.
357f93d2
MR
11284 (View-exit, View-exit-and-edit, View-leave, View-quit)
11285 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11286 appropriate arguments.
11287 (view-end-message): Use quit-restore window parameter.
11288
9481c002
MR
11289 * window.el (display-buffer-function): Rewrite doc-string.
11290 (display-buffer-window, display-buffer-alist): New variables.
11291 (display-buffer-split-specifiers)
11292 (display-buffer-side-specifiers)
11293 (display-buffer-macro-specifiers): New constants.
11294 (display-buffer-even-window-sizes, display-buffer-set-height)
11295 (display-buffer-set-width, display-buffer-select-window)
11296 (display-buffer-in-window, display-buffer-reuse-window)
11297 (display-buffer-split-window-1, display-buffer-split-window)
11298 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11299 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11300 (display-buffer-in-side-window, normalize-buffer-to-display)
11301 (display-buffer-normalize-specifiers-1)
11302 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11303 (display-buffer-normalize-specifiers, display-buffer-frame):
11304 New functions.
9481c002
MR
11305 (display-buffer): Major rewrite.
11306 (display-buffer-other-window, display-buffer-other-frame)
11307 (pop-to-buffer, switch-to-buffer-other-window)
11308 (switch-to-buffer-other-frame): Rewrite.
11309 (display-buffer-same-window, display-buffer-same-frame)
11310 (display-buffer-same-frame-other-window)
11311 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11312 (pop-to-buffer-other-window)
11313 (pop-to-buffer-same-frame-other-window)
11314 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11315 (switch-to-buffer-other-window-same-frame): New functions.
11316 (same-window-p, special-display-p): Rewrite disabling warnings.
11317 Make obsolete.
11318 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11319 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11320 Make obsolete
11321 (same-window-buffer-names, same-window-regexps)
11322 (special-display-frame-alist, special-display-popup-frame)
11323 (special-display-function, special-display-buffer-names)
11324 (special-display-regexps, pop-up-frame-alist)
11325 (pop-up-frame-function, split-window-preferred-function)
11326 (split-height-threshold, split-width-threshold)
11327 (even-window-heights): Make obsolete.
11328
9db51aca
GM
113292011-06-12 Glenn Morris <rgm@gnu.org>
11330
11331 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11332 Misc simplifications.
9db51aca 11333
39cffb44
MR
113342011-06-12 Martin Rudalics <rudalics@gmx.at>
11335
11336 * window.el (window-safely-shrinkable-p): Restore function which
11337 was inadvertently removed in change from 2011-06-11. Declare as
11338 obsolete.
11339
2b75be67
SM
11340 * calendar/calendar.el (calendar-generate-window):
11341 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11342 window-safely-shrinkable-p.
11343
a8955be7
GM
113442011-06-12 Glenn Morris <rgm@gnu.org>
11345
11346 * progmodes/fortran.el (fortran-mode-syntax-table):
11347 * progmodes/f90.el (f90-mode-syntax-table):
11348 Set % to punctuation. (Bug#8820)
11349 (f90-find-tag-default): Remove, no longer needed.
11350
f0d4059d
DC
113512011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11352
11353 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11354
1100a63c
CY
113552011-06-11 Chong Yidong <cyd@stupidchicken.com>
11356
11357 * image.el (image-animated-p): Return animation delay in seconds.
11358 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11359 (image-animate-timeout): Remove DELAY argument. Don't assume
11360 every subimage has the same delay; get it from image-animated-p.
11361 (image-animate): Caller changed.
11362
def722bf
MA
113632011-06-11 Michael Albinus <michael.albinus@gmx.de>
11364
11365 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11366 to ignored backtrace functions.
11367
0a2bb1a9
GM
113682011-06-11 Glenn Morris <rgm@gnu.org>
11369
11370 * calendar/appt.el (appt-disp-window-function): Doc fix.
11371 (appt-check): Handle overlapping appointments. (Bug#8337)
11372
6198ccd0
MR
113732011-06-11 Martin Rudalics <rudalics@gmx.at>
11374
11375 * window.el (window-tree-1, window-tree): New functions, moving
11376 the latter to window.el.
11377 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11378 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11379 (bw-refresh-edges): Remove.
11380 (balance-windows-1, balance-windows-2): New functions.
11381 (balance-windows): Rewrite in terms of window tree functions,
11382 balance-windows-1 and balance-windows-2.
11383 (bw-adjust-window): Remove.
11384 (balance-windows-area-adjust): New function with functionality of
11385 bw-adjust-window but using resize-window.
2b75be67
SM
11386 (set-window-text-height): Rewrite doc-string.
11387 Use normalize-live-window and resize-window.
11388 (enlarge-window-horizontally, shrink-window-horizontally):
11389 Rename argument to DELTA.
6198ccd0
MR
11390 (window-buffer-height): New function.
11391 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11392 Rewrite using new window resize routines.
2b75be67
SM
11393 (kill-buffer-and-window, mouse-autoselect-window-select):
11394 Use ignore-errors instead of condition-case.
6198ccd0
MR
11395 (quit-window): Call delete-frame instead of delete-windows-on
11396 for the only buffer on frame.
11397
9397e56f
MR
113982011-06-10 Martin Rudalics <rudalics@gmx.at>
11399
11400 * loadup.el (top-level): Load window before files for the sake
11401 of replace-buffer-in-windows.
11402
11403 * files.el (read-buffer-to-switch)
11404 (switch-to-buffer-other-window)
2b75be67
SM
11405 (switch-to-buffer-other-frame, display-buffer-other-frame):
11406 Move to window.el.
9397e56f
MR
11407
11408 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11409 (previous-buffer): Move to window.el.
11410
11411 * bindings.el (unbury-buffer): Move to window.el.
11412
11413 * window.el (delete-other-windows-vertically): Move after
11414 definition of delete-other-windows.
11415 (other-window, delete-windows-on, replace-buffer-in-windows):
11416 Move here from window.c.
11417 (record-window-buffer, unrecord-window-buffer)
11418 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11419 (switch-to-next-buffer): New functions.
11420 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11421 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11422 (previous-buffer): Move here from simple.el.
11423 Call switch-to-prev-buffer.
9397e56f
MR
11424 (bury-buffer): Move here from buffer.c. Switch to previous
11425 buffer when window cannot be deleted.
11426 (unbury-buffer): Move here from bindings.el.
11427 (ctl-x-map): Move binding for other-window from window.c to
11428 here.
11429 (read-buffer-to-switch, switch-to-buffer-other-window)
11430 (switch-to-buffer-other-frame): Move here from files.el.
11431 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11432 (switch-to-buffer): Move here from buffer.c.
11433 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11434
562dd5e9
MR
114352011-06-10 Martin Rudalics <rudalics@gmx.at>
11436
11437 * window.el (window-min-height, window-min-width): Move here
11438 from window.c. Add defcustoms and rewrite doc-strings.
11439 (resize-mini-window, resize-window): New functions.
11440 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11441 Move here from window.c.
11442 (maximize-window, minimize-window): New functions.
11443 (delete-window, delete-other-windows, split-window): Move here
11444 from window.c.
11445 (window-split-min-size): New function.
11446 (split-window-keep-point): Mention split-window-above-each-other
11447 instead of split-window-vertically.
2b75be67 11448 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11449 Rename split-window-vertically to split-window-above-each-other
11450 and provide defalias for old definition.
11451 (split-window-side-by-side, split-window-horizontally):
11452 Rename split-window-horizontally to split-window-side-by-side
11453 and provide defalias for the old definition.
562dd5e9
MR
11454 (ctl-x-map): Move bindings for delete-window,
11455 delete-other-windows and enlarge-window here from window.c.
11456 Replace bindings for split-window-vertically and
11457 split-window-horizontally by bindings for
11458 split-window-above-each-other and split-window-side-by-side.
11459
11460 * cus-start.el (all): Remove entries for window-min-height and
11461 window-min-width. Add entries for window-splits and
11462 window-nest.
11463
f0da764a
GM
114642011-06-09 Glenn Morris <rgm@gnu.org>
11465
80675c21
GM
11466 * calendar/appt.el (appt-mode-line): New function.
11467 (appt-check, appt-disp-window): Use it.
11468
f0da764a
GM
11469 * files.el (hack-one-local-variable-eval-safep):
11470 Allow minor-modes with explicit +/-1 arguments.
11471
59f623b7
TZ
114722011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11473
11474 * term/xterm.el (xterm): Add defgroup.
11475 (xterm-extra-capabilities): Add defcustom to supply known xterm
11476 capabilities, skip querying them, or query them (default).
11477 (terminal-init-xterm): Use it.
11478 (terminal-init-xterm-modify-other-keys): New function to set up
11479 modifyOtherKeys support to simplify `terminal-init-xterm'.
11480
9aab8e0d
MR
114812011-06-09 Martin Rudalics <rudalics@gmx.at>
11482
11483 * window.el (resize-window-reset, resize-window-reset-1)
11484 (resize-subwindows-skip-p, resize-subwindows-normal)
11485 (resize-subwindows, resize-other-windows, resize-this-window)
11486 (resize-root-window, resize-root-window-vertically)
11487 (window-deletable-p, window-or-subwindow-p)
11488 (frame-root-window-p): New functions.
11489
e8b08aee
GM
114902011-06-09 Glenn Morris <rgm@gnu.org>
11491
11492 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11493 (ange-ftp-get-files): Use it.
11494
254c37a5
AK
114952011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11496
11497 * mail/sendmail.el (mail-recover-1, mail-recover):
11498 * files.el (recover-file, recover-session):
11499 Handle dired-listing-switches not being just a single short option.
11500
35d7dbd3
GM
115012011-06-09 Glenn Morris <rgm@gnu.org>
11502
11503 * calendar/appt.el (appt-display-message, appt-disp-window):
11504 Handle lists of appointments.
11505
387522b2
MR
115062011-06-08 Martin Rudalics <rudalics@gmx.at>
11507
2b75be67
SM
11508 * window.el (one-window-p): Move down in code.
11509 Rewrite doc-string.
11510 (window-current-scroll-bars): Rewrite doc-string.
11511 Normalize live window argument.
387522b2
MR
11512 (walk-windows, get-window-with-predicate, count-windows):
11513 Rewrite doc-string. Use window-list-1.
11514 (window-in-direction-2, window-in-direction, get-mru-window):
11515 New functions.
11516
d8e4b68b 115172011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11518
11519 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11520 Doc fix (Bug#8713).
11521
115222011-06-08 Chong Yidong <cyd@stupidchicken.com>
11523
11524 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11525
115262011-06-08 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * loadhist.el (unload-feature-special-hooks):
11529 Add `comint-output-filter-functions'.
11530
0de12c52
IK
115312011-06-08 Ivan Kanis <gnu@kanis.fr>
11532
11533 * calendar/appt.el (appt-check): Move some initializations into the let.
11534
f3d1777e
MR
115352011-06-08 Martin Rudalics <rudalics@gmx.at>
11536
11537 * window.el (window-height): Defalias to window-total-height.
11538 (window-width): Defalias to window-body-width.
11539
18af70d0
CY
115402011-06-07 Chong Yidong <cyd@stupidchicken.com>
11541
11542 * image-mode.el (image-toggle-animation): New command.
11543 (image-mode-map): Bind it to RET.
11544 (image-mode): Update message.
11545 (image-toggle-display-image): Avoid a spurious cache flush.
11546 (image-transform-rotation): Doc fix.
11547 (image-transform-properties): Return quickly in the normal case.
11548 (image-animate-loop): Rename from image-animate-max-time.
11549
2b75be67 11550 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11551 (create-animated-image): Remove unnecessary function.
11552 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11553 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11554 (image-animate-timer): Use car-safe.
11555 (image-animate-timeout): Rename argument.
11556
190b47e6
MR
115572011-06-07 Martin Rudalics <rudalics@gmx.at>
11558
11559 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11560 window.c. Rename first argument to ALL-FRAMES.
11561 Rephrase doc-strings.
11562 (get-buffer-window-list): Rewrite using window-list-1.
11563 Rephrase doc-string.
a1511caf
MR
11564 (window-safe-min-height, window-safe-min-width): New constants.
11565 (window-size-ignore, window-min-size, window-min-size-1)
11566 (window-sizable, window-sizable-p, window-size-fixed-1)
11567 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11568 (window-max-delta-1, window-max-delta, window-resizable)
11569 (window-resizable-p, window-total-height, window-total-width)
11570 (window-body-width): New functions.
11571 (window-full-height-p, window-full-width-p): Rewrite using
11572 window-total-size.
11573 (window-body-height): Rewrite using window-body-size.
190b47e6 11574
85cc1f11
MR
115752011-06-06 Martin Rudalics <rudalics@gmx.at>
11576
11577 * window.el (window-right, window-left, window-child)
11578 (window-child-count, window-last-child, window-any-p)
11579 (normalize-live-buffer, normalize-live-frame)
11580 (normalize-any-window, normalize-live-window)
11581 (window-iso-combination-p, window-iso-combined-p)
11582 (window-iso-combinations)
11583 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11584 (windows-with-parameter, window-with-parameter)
11585 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11586 (window-atom-check, window-side-check, window-check):
11587 New functions.
85cc1f11
MR
11588 (ignore-window-parameters, window-sides, window-sides-vertical)
11589 (window-sides-slots): New variables.
11590 (window-size-fixed): Move down in code. Minor doc-string fix.
11591
e7156492
AS
115922011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11593
11594 * comint.el (comint-dynamic-complete-as-filename)
11595 (comint-dynamic-complete-filename): Correctly call
11596 completion-in-region.
11597
7e821d0d
DD
115982011-06-05 Deniz Dogan <deniz@dogan.se>
11599
11600 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11601 in last change.
11602
ac09b8a1
DD
116032011-06-05 Deniz Dogan <deniz@dogan.se>
11604
11605 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11606 (rcirc): Use it to prompt for encryption.
11607
34699b85
RW
116082011-06-05 Roland Winkler <winkler@gnu.org>
11609
11610 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11611 (bibtex-search-entries): New command bound to C-c C-a.
11612 (bibtex-display-entries): New function.
11613
004dedd3
RW
116142011-06-05 Roland Winkler <winkler@gnu.org>
11615
11616 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11617 (bibtex-insert-kill): After yanking insert newline if necessary.
11618 (bibtex-initialize): Call bibtex-string-files-init only once.
11619 (bibtex-mode): Do not call easy-menu-add.
11620 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11621 (bibtex-yank): Set arg properly if nil.
11622
022fe7ce
RW
116232011-06-05 Roland Winkler <winkler@gnu.org>
11624
2b75be67
SM
11625 * textmodes/bibtex.el (bibtex-search-entry-globally):
11626 New variable.
022fe7ce
RW
11627 (bibtex-search-entry): Use it.
11628
b7c3692a
RW
116292011-06-05 Roland Winkler <winkler@gnu.org>
11630
11631 * textmodes/bibtex.el (bibtex-entry-format): New option
11632 sort-fields.
11633 (bibtex-format-entry, bibtex-reformat): Honor this option.
11634 (bibtex-parse-entry): Return fields in proper order.
11635
8eda563d
JB
116362011-06-05 Juanma Barranquero <lekktu@gmail.com>
11637
11638 * doc-view.el (doc-view-remove-if): Move computation of result out
11639 of `dolist' to silence misleading lexical-binding warning.
11640
7dbe3dbc
CY
116412011-06-04 Chong Yidong <cyd@stupidchicken.com>
11642
11643 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11644 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11645
0c33dd17
MA
116462011-06-04 Michael Albinus <michael.albinus@gmx.de>
11647
11648 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11649 "SunOS 5.10".
11650
f8f91c2b
MA
116512011-06-04 Michael Albinus <michael.albinus@gmx.de>
11652
11653 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11654 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11655 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11656 (tramp-parse-putty):
11657 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11658 (tramp-completion-function-alist-ssh)
11659 (tramp-completion-function-alist-telnet)
11660 (tramp-completion-function-alist-su)
11661 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11662 cookie.
11663
11664 * net/tramp-ftp.el:
11665 * net/tramp-sh.el:
11666 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11667 load "tramp.el" `tramp-set-completion-function'.
11668
e17d9003
SM
116692011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11670
11671 * shell.el: Require and use pcomplete.
11672 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11673 (shell-completion-vars): Set pcomplete-default-completion-function.
11674
6c4cab03
DD
116752011-06-04 Deniz Dogan <deniz@dogan.se>
11676
11677 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11678 `memq' (Bug#8799).
11679
ea9fafe0
SM
116802011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11681
11682 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11683
b3e945d3
JB
116842011-06-02 Juanma Barranquero <lekktu@gmail.com>
11685
11686 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11687 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11688 * vc/log-view.el (log-view-beginning-of-defun):
11689 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11690 (smerge-refine-forward, smerge-refine-chopup-region):
11691 Silence warning for unused `dotimes' counter variables.
11692
7d520089
SM
116932011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * net/tramp.el (tramp-with-progress-reporter): Rename from
11696 with-progress-reporter. Use `declare'.
11697 * net/tramp-smb.el:
11698 * net/tramp-sh.el:
11699 * net/tramp-gvfs.el: Update all uses.
11700
a1c2400f
JB
117012011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11702
11703 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11704 buffer isn't killed before making it current.
11705
2403c841
SM
117062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11707
11708 Silence various byte-compiler warnings.
11709 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11710 `access-type' and new obsolescence format.
11711 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11712 new format.
11713 (byte-compile-check-variable): New `access-type' argument.
11714 Only warn if the access-type is obsolete.
11715 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11716 (byte-compile-variable-set): Adjust callers.
11717 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11718 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11719 setting it as obsolete.
11720 * simple.el (minibuffer-completing-symbol):
11721 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11722 access as obsolete.
11723 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11724 obsolete yet.
11725 * international/quail.el (quail-mouse-choose-completion): Remove unused
11726 code referring to obsolete var.
11727 (quail-choose-completion-string): Remove.
11728 * server.el (server-clients-with, server-kill-buffer-query-function)
11729 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11730 * proced.el (proced-send-signal):
11731 * emacs-lisp/lisp.el (lisp-complete-symbol):
11732 Replace completion-annotate-function with completion-extra-properties.
11733
2462470b
SM
117342011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11735
fb5b2591
SM
11736 * simple.el (goto-line): Use read-number.
11737 (overriding-map-is-bound): Remove.
11738 (saved-overriding-map): Change default.
11739 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11740 Take the map as argument.
11741 (universal-argument, negative-argument, digit-argument): Use it.
11742 (restore-overriding-map): Adjust.
11743 (do-auto-fill): Use fill-forward-paragraph.
11744 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11745
fd6fa53f
SM
11746 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11747 (minibuffer-inactive-mode): New major mode.
11748 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11749 the *Messages* buffer" hack.
11750 (mouse-popup-menubar): Don't burp if the event is a normal key.
11751
2462470b
SM
11752 Miscellaneous tweaks.
11753 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11754 lexical scoping as in subr.el's dolist and dotimes.
11755 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11756 Silence compiler warning.
11757 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11758 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11759 * international/ccl.el (ccl-compile): Trivial simplification.
11760 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11761 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11762 `printflag' argument.
11763 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11764 Purecopy the whole obsolescence data.
11765
108bf785
LL
117662011-06-01 Leo Liu <sdl.web@gmail.com>
11767
11768 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11769 improve doc-string as suggested by Marco Pessotto
11770 <melmothx@gmail.com>.
11771 (rcirc-print): Fix last change.
11772
30a23501
SM
117732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * minibuffer.el (complete-with-action): Return nil for the metadata and
11776 boundaries of non-functional tables.
11777 (completion-table-dynamic): Return nil for the metadata.
11778 (completion-table-with-terminator): Add default case, using
11779 complete-with-action.
11780 (completion--metadata): New function.
11781 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11782 to try and avoid pathological performance problems.
11783 (completion--embedded-envvar-table): Return `category' metadata.
11784
bcd54f83
LMI
117852011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11786
11787 * subr.el (process-alive-p): New tiny convenience function.
11788
e227544d
SM
117892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11792 content but also its previous major mode.
11793
e8296fdc
HE
117942011-05-31 Helmut Eller <eller.helmut@gmail.com>
11795
4d61f28d 11796 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
11797 *Backtrace* buffer when we exit with C-M-c.
11798
620c53a6
SM
117992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * minibuffer.el: Add metadata method to completion tables.
11802 (completion-category-overrides): New defcustom.
11803 (completion-metadata, completion--field-metadata)
11804 (completion-metadata-get, completion--styles)
11805 (completion--cycle-threshold): New functions.
11806 (completion-try-completion, completion-all-completions):
11807 Add `metadata' argument to choose completion-styles.
11808 (completion--do-completion): Use metadata to choose cycling.
11809 (completion-all-sorted-completions): Use metadata for sorting.
11810 Remove :completion-cycle-penalty which is not needed any more.
11811 (completion--try-word-completion): Add `metadata' argument.
11812 (minibuffer-completion-help): Check metadata for annotation function
11813 and sorting.
11814 (completion-file-name-table): Return `category' metadata.
11815 (minibuffer-completing-file-name): Make obsolete.
11816 * simple.el (minibuffer-completing-symbol): Make obsolete.
11817 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11818 completion-try-completion.
11819
1257e755
SM
118202011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11821
11822 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11823
3767e706
LL
118242011-05-30 Leo Liu <sdl.web@gmail.com>
11825
11826 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
11827 (rcirc-print): Decode all incoming messages (bug#8744).
11828 (rcirc-decode-coding-system): Allow value nil for automatic coding
11829 system detection.
3767e706 11830
d1a5d56a
GM
118312011-06-01 Glenn Morris <rgm@gnu.org>
11832
11833 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11834
e8cbec34
CY
118352011-05-29 Chong Yidong <cyd@stupidchicken.com>
11836
11837 * image.el (image-animate-max-time): Allow nil and t values.
11838 Default to nil.
11839 (create-animated-image): Doc fix.
11840 (image-animate-start): Remove second arg; just use
11841 image-animate-max-time.
11842 (image-animate-timeout): Doc fix. Args changed.
11843
11844 * image-mode.el (image-toggle-display-image): Ensure that the
11845 image spec passed to the animate timer is the same object as in
58179cce 11846 the buffer's display property (Bug#6981).
e8cbec34
CY
11847 (image-transform-properties): Doc fix.
11848
11849 * image.el (image-animate-max-time): Default to nil.
11850
159daf87
MR
118512011-05-29 Martin Rudalics <rudalics@gmx.at>
11852
11853 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11854 entire buffer list (Bug#8184).
11855
d66c4c7c
CY
118562011-05-29 Chong Yidong <cyd@stupidchicken.com>
11857
11858 * image.el (imagemagick-types-inhibit)
11859 (imagemagick-register-types): Doc fix.
11860
80aec780
DD
118612011-05-29 Deniz Dogan <deniz@dogan.se>
11862
11863 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11864 default.
11865
1dd3c2d9
CY
118662011-05-29 Chong Yidong <cyd@stupidchicken.com>
11867
11868 * select.el: Don't perform clipboard-manager saving in hooks;
11869 leave the hooks empty.
11870
60e56523
LL
118712011-05-28 Leo Liu <sdl.web@gmail.com>
11872
11873 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11874 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11875 (occur-edit-mode): New major mode (Bug#8463).
11876 (occur-after-change-function): New function.
11877 (occur-engine): Give Occur tags a read-only property.
11878
2b1e1a22
KR
118792011-05-28 Kevin Ryde <user42@zip.com.au>
11880
11881 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11882
5d344e88
CY
118832011-05-28 Chong Yidong <cyd@stupidchicken.com>
11884
8e6ca83d
CY
11885 * bindings.el (help-echo): Make the initial non-indicator dash
11886 empty on graphical terminals (Bug#7295).
11887
5d344e88
CY
11888 * files.el (auto-mode-alist): Move config rule after the
11889 in-stripping one (Bug#8547).
11890
bfbbace7
CY
11891 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11892
fbeba6e2
CY
11893 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11894 setting (Bug#8740).
11895
60ed8c72
AA
118962011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11897
4ac619f0
AA
11898 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11899 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11900 (Bug#8539).
60ed8c72 11901
23db196e
CY
119022011-05-28 Chong Yidong <cyd@stupidchicken.com>
11903
11904 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11905
5012f24c
DK
119062011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11907
11908 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11909 (hs-hide-block-at-point, hs-find-block-beginning)
11910 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11911 (Bug#8279).
11912
6a639b16
GM
119132011-05-28 Glenn Morris <rgm@gnu.org>
11914
11915 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11916
d43eaf2c
CY
119172011-05-28 Chong Yidong <cyd@stupidchicken.com>
11918
5199bde1
CY
11919 * help-fns.el (describe-function-1): If the function is a derived
11920 major mode, print the parent mode.
11921
d43eaf2c
CY
11922 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11923 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11924
423428a8
SM
119252011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11926
0ff8e1ba 11927 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 11928 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
11929 * progmodes/etags.el (tags-completion-at-point-function):
11930 * info-look.el (info-lookup-completions-at-point): Mark as
11931 non-exclusive.
11932 (info-complete): Adjust accordingly.
11933
423428a8
SM
11934 * info-look.el: Convert to lexical-binding and completion-at-point.
11935 (info-lookup-completions-at-point): New function.
11936 (info-complete): Use it and completion-in-region.
11937
b74aa22b
DA
119382011-05-28 Drew Adams <drew.adams@oracle.com>
11939
11940 * isearch.el: Let M-e start with point at the first mismatched char.
11941 (isearch-fail-pos): New function.
11942 (isearch-edit-string): Use it.
11943
66e2e71d
DK
119442011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11945
11946 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11947
b1890b0f 119482011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
11949
11950 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11951 traversal functions for avl-trees.
11952 (avl-tree--stack): New struct.
11953 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11954 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
11955 (avl-tree--do-enter): Add optional `updatefun' arg.
11956 Change return value.
eb95d01d 11957 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
11958 (avl-tree--do-delete): Add `test' and `nilflag' args.
11959 Change return value.
eb95d01d
TC
11960 (avl-tree-member): Add optional `nilflag'
11961 (avl-tree-member-p): New function.
11962 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11963 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11964 (avl-tree-stack-empty-p): New functions.
11965
3769ddcf
TC
11966 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11967 avl-tree--del-balance1 and make it work both ways.
11968 (avl-tree--del-balance2): Remove.
11969 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11970 make it work both ways.
11971 (avl-tree--enter-balance2): Remove.
11972 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11973 New macros.
11974 (avl-tree--mapc, avl-tree-map): Add direction argument.
11975
eb95d01d 119762011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
11977
11978 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11979
a9f737ee
CY
119802011-05-27 Chong Yidong <cyd@stupidchicken.com>
11981
11982 * select.el: Support clipboard managers with built-in function
11983 x-clipboard-manager-save, via delete-frame-functions and
11984 kill-emacs-hook.
11985 (xselect-convert-to-targets): Add MULTIPLE target to list.
11986 (xselect-convert-to-save-targets): New function.
11987
c92a1e54
KH
119882011-05-27 Kenichi Handa <handa@m17n.org>
11989
11990 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11991 let-binding rfc2047-encode-encoded-words to nil.
11992
e145f188
GM
119932011-05-27 Glenn Morris <rgm@gnu.org>
11994
5ec8a862
GM
11995 * mail/emacsbug.el: Don't require url-util.
11996
4b29d9fb
GM
11997 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11998
e145f188
GM
11999 * files.el (set-auto-mode):
12000 Also respect mode: entries at the end of the file. (Bug#8586)
12001
7d15102b
GM
120022011-05-26 Glenn Morris <rgm@gnu.org>
12003
98f593b8
GM
12004 * files.el (hack-local-variables-prop-line, hack-local-variables):
12005 Downcase mode names, as seems to be traditional.
27b48e63 12006 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12007
7d15102b
GM
12008 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12009 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12010
51d5b4ec
JD
120112011-05-25 Julien Danjou <julien@danjou.info>
12012
12013 * textmodes/rst.el (rst-define-level-faces): Do not define face
12014 symbol if it is already defined.
12015
91513f63
VB
120162011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12017
12018 * play/5x5.el (5x5-new-game, 5x5-randomize):
12019 Reset 5x5-solver-output to nil when a new grid is cast.
12020 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12021 these debugging traces, as defmacro breaks the compiled code.
12022
4d90d6d0
DK
120232011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12024
12025 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12026
e1b90ef6
LL
120272011-05-24 Leo Liu <sdl.web@gmail.com>
12028
12029 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12030 (vc-bzr-sha1): Adapt.
12031
d8e4b68b 12032 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12033
12034 * bindings.el: Provide sha1 feature.
12035
db0406bb 120362011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12037
12038 * mail/sendmail.el: Require `rfc2047'.
12039 (mail-insert-from-field): Do not perform RFC2047 encoding.
12040 (mail-encode-header): New function.
12041 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12042 buffer to the return value of select-message-coding-system.
12043 Call mail-encode-header.
b8d747b9
KH
12044
12045 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12046
db0406bb 120472011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12048
4d90d6d0
DK
12049 * mail/supercite.el (sc-default-cite-frame):
12050 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12051
eb8a5e9b
GM
120522011-05-24 Glenn Morris <rgm@gnu.org>
12053
f8630703
GM
12054 * progmodes/python.el (brm-menu): Declare.
12055
8831bbed
GM
12056 * emulation/viper.el (viper-set-hooks): Declare.
12057
eb8a5e9b
GM
12058 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12059 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12060 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12061 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12062 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12063 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12064
a2a25d24
SM
120652011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 Add an :exit-function for completion-at-point.
12068
12069 * minibuffer.el (completion--done): New fun.
12070 (completion--do-completion): Use it. New arg `expect-exact'.
12071 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12072 since completion--do-completion does it for us now.
12073 (minibuffer-force-complete): Use completion--done and
12074 completion--replace. Handle sole-completion case with more care.
12075 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12076 (completion-extra-properties): New var.
12077 (completion-annotate-function): Make obsolete.
12078 (minibuffer-completion-help): Adjust accordingly.
12079 Use completion-list-insert-choice-function.
12080 (completion-at-point, completion-help-at-point):
12081 Bind completion-extra-properties.
12082 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12083 * simple.el (completion-list-insert-choice-function): New var.
12084 (completion-setup-function): Preserve it.
12085 (choose-completion): Pay attention to it, shuffle the code a bit.
12086 (choose-completion-string): New arg `insert-function'.
12087
12088 * textmodes/bibtex.el: Convert to lexical binding.
12089 (bibtex-mode-map): Use completion-at-point.
12090 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12091 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12092 (bibtex-complete): Define as obsolete alias.
12093 (bibtex-complete-internal): Remove.
12094 (bibtex-format-entry): Remove unused sub-group in regexp.
12095 * shell.el (shell--command-completion-data)
12096 (shell-environment-variable-completion):
12097 * pcomplete.el (pcomplete-completions-at-point):
12098 * comint.el (comint--complete-file-name-data): Use :exit-function
12099 instead of completion-table-with-terminator so it also works for
12100 choose-completion.
12101
e44e373d
SM
121022011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12103
4f91a816
SM
12104 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12105
782fc819
SM
12106 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12107 (bug#8710).
12108
e44e373d
SM
12109 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12110
381987c3
KM
121112011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12112
12113 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12114 customization variable and implement: If non-nil, auto-fill will
12115 be inhibited while on topic's header line.
12116
b776bc70
VB
121172011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12118
12119 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12120 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12121 always have a solution in grid size = 5 cases.
12122 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12123 (5x5-solver-output, 5x5-log-buffer): New vars.
12124 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12125 Make these variables buffer local to achieve 5x5 multi-session-ness.
12126 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12127 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12128 (5x5-solve-suggest): New funs.
12129 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12130 randomize a grid so that we ensure that there is always a solution.
12131 (5x5-make-random-grid): Allow other movement than flipping.
12132
7de88b6e
KR
121332011-05-23 Kevin Ryde <user42@zip.com.au>
12134
12135 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12136 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12137 advice and passes PREDICATE.
12138
b1ef1257
SM
121392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12140
bbca48fe
SM
12141 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12142 byte-compile-lambda if it's actually a lambda.
12143
b1ef1257
SM
12144 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12145 Fix function quoting. Use backquote better.
12146
92a9cc65
YS
121472011-05-22 Yuanle Song <sylecn@gmail.com>
12148
12149 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12150 matching (Bug#8516).
12151
f0fb8059
JA
121522011-01-22 Jari Aalto <jari.aalto@cante.net>
12153
12154 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12155 different face (Bug#8178).
12156
d5b44c93
CY
121572011-05-22 Chong Yidong <cyd@stupidchicken.com>
12158
12159 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12160 defface (Bug#8144).
12161
79106a44
SM
121622011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12163
9c848d8a
SM
12164 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12165 funcall as well (bug#8712). Warn when performing those conversions.
12166 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12167
79106a44
SM
12168 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12169
88dfa756
GM
121702011-05-22 Glenn Morris <rgm@gnu.org>
12171
12172 * files.el (hack-local-variables-prop-line): Small simplifications.
12173 (hack-local-variables, hack-local-variables-prop-line):
12174 If MODE-ONLY, return the mode, rather than just `t'.
12175
b7cf2c79
SM
121762011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12179
3f1a8558
GM
121802011-05-21 Glenn Morris <rgm@gnu.org>
12181
7e4ccca3
GM
12182 * files.el (hack-local-variables-prop-line, hack-local-variables):
12183 If only interested in the mode, don't bother doing the other stuff.
12184
637d46ca
GM
12185 * image-mode.el (image-after-revert-hook):
12186 Redraw all frames on which the image is visible. (Bug#8567)
12187
973d955b
GM
12188 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12189
3f1a8558
GM
12190 * wid-edit.el (widget-checklist-match-inline):
12191 Fix 2011-04-19 change. (Bug#8649)
12192
96479927
SM
121932011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12194
1dcf791f
SM
12195 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12196 Also allow singlespace after single-letter capitals followed by a dot.
12197
96479927
SM
12198 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12199 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12200
35fd0881
N
122012011-05-20 Nix <nix@esperi.org.uk>
12202
12203 * files.el (basic-save-buffer-2):
12204 Fix handling of break-hardlink-on-save with non-existent files.
12205
82745640
DD
122062011-05-19 Deniz Dogan <deniz@dogan.se>
12207
12208 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12209 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12210
4a720484
GM
122112011-05-19 Glenn Morris <rgm@gnu.org>
12212
d1f21341
GM
12213 * progmodes/f90.el (f90-type-def-re):
12214 Handle "type, bind(c)". (Bug#8691)
12215
4a720484
GM
12216 * emacs-lisp/autoload.el (batch-update-autoloads):
12217 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12218
2fb0a219
MA
122192011-05-18 Michael Albinus <michael.albinus@gmx.de>
12220
12221 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12222 property for the correct connection in case of multihops.
12223
e565dd37
GM
122242011-05-18 Glenn Morris <rgm@gnu.org>
12225
c2571358 12226 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12227 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12228
e565dd37
GM
12229 Rationalize calendar handling of day and month abbrev-arrays.
12230 * calendar/calendar.el (calendar-customized-p): New function.
12231 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12232 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12233 Add :set function.
12234 (calendar-abbrev-length, calendar-day-abbrev-array)
12235 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12236 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12237 Elements may no longer be nil.
12238 (calendar-day-name, calendar-month-name):
12239 Update for changed nature of abbrev arrays.
12240 * calendar/diary-lib.el (diary-name-pattern):
12241 Update for changed nature of abbrev arrays.
12242 (diary-mark-entries-1): Update calendar-make-alist calls.
12243 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12244 * calendar/cal-html.el (cal-html-day-abbrev-array):
12245 Simply inherit from calendar-day-abbrev-array.
12246
1d99a745
SM
122472011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * progmodes/grep.el (grep-mode): Disable default
12250 compilation-directory-matcher setting (bug#8684).
12251
7c1d9aa0
MA
122522011-05-17 Michael Albinus <michael.albinus@gmx.de>
12253
12254 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12255 instead of "head" and "tail". There were problems with SunOS 5.9,
12256 and it performs better.
12257
3952e9d8
GM
122582011-05-17 Glenn Morris <rgm@gnu.org>
12259
2dd12e7f
GM
12260 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12261
e4157b9c
GM
12262 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12263 Replace obsolete function.
12264
8e249bbd
GM
12265 * shell.el (pcomplete-parse-arguments-function): Declare.
12266
3952e9d8
GM
12267 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12268 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12269 (appt-check): Doc fixes.
12270 (appt-disp-window-function, appt-delete-window-function):
12271 Remove needless special case in custom :type.
12272 (appt-display-count): Default to 0, not nil.
12273 (appt-check): Reset appt-display-count to 0, not nil.
12274
c71a0d48 122752011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12276
c71a0d48
GM
12277 * progmodes/python.el (python-font-lock-keywords):
12278 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12279
31d55be9
SM
122802011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12281
12282 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12283
3bfacb2f
KR
122842011-05-16 Kevin Ryde <user42@zip.com.au>
12285
12286 * info-look.el (makefile-automake-mode): New setups, looking in
12287 automake manual, then makefile-mode.
12288 (makefile-mode): Remove automake manual, have it just in
12289 makefile-automake-mode since there's various things different or
12290 not relevant to plain make.
12291 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12292 believe a hypothetical automake-mode would go to makefile-mode,
12293 not the other way around.
12294
c8e83751
CY
122952011-05-15 Chong Yidong <cyd@stupidchicken.com>
12296
5e9e35cd
CY
12297 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12298 hunk-end tags (Bug#8672).
12299
c8e83751
CY
12300 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12301 vc-annotate-show-diff-revision-at-line (Bug#8671).
12302
50b23e5a
GM
123032011-05-14 Glenn Morris <rgm@gnu.org>
12304
7210a739
GM
12305 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12306 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12307 (change-log-font-lock-keywords): Also handle multiple author lines
12308 with leading tabs. (Bug#8644)
7210a739 12309
4691905a
GM
12310 * calendar/appt.el (appt-check): Rename some local variables.
12311 Some simplification/reordering.
12312
50b23e5a
GM
12313 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12314 (feedmail-sendmail-f-doesnt-sell-me-out)
12315 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12316 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12317 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12318 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12319 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12320 (feedmail-binmail-gnulinuxish-template):
12321 Rename from feedmail-binmail-linuxish-template.
12322 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12323 Use insert-buffer-substring.
12324
215cda7c
BC
123252011-05-14 Bill Carpenter <bill@carpenter.org>
12326
12327 * mail/feedmail.el (feedmail-patch-level): Increase.
12328 (feedmail-debug): New custom group.
12329 (feedmail-confirm-outgoing-timeout)
12330 (feedmail-sendmail-f-doesnt-sell-me-out)
12331 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12332 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12333 (feedmail-sender-line, feedmail-from-line)
12334 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12335 (feedmail-spray-this-address)
215cda7c
BC
12336 (feedmail-spray-address-fiddle-plex-list)
12337 (feedmail-queue-use-send-time-for-date)
12338 (feedmail-queue-use-send-time-for-message-id)
12339 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12340 (feedmail-buffer-eating-function):
12341 Doc fixes.
12342 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12343 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12344 (feedmail-message-action-scroll-down): New functions.
12345 (feedmail-queue-directory, feedmail-queue-draft-directory):
12346 Use expand-file-name.
12347 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12348 Remove C-v help entry.
12349 (feedmail-queue-buffer-file-name): New variable.
12350 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12351 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12352 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12353 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12354 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12355 (feedmail-message-action-toggle-spray)
12356 (feedmail-run-the-queue-no-prompts)
12357 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12358 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12359 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12360 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12361 (feedmail-envelope-deducer, feedmail-fiddle-from)
12362 (feedmail-fiddle-sender, feedmail-default-date-generator)
12363 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12364 (feedmail-fiddle-spray-address)
12365 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12366 (feedmail-fiddle-list-of-fiddle-plexes)
12367 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12368 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12369 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12370 Change default. Doc fix.
12371 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12372 (feedmail-binmail-linuxish-template): New constant.
12373 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12374 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12375 (feedmail-send-it): Add debug call.
12376 Use feedmail-queue-buffer-file-name, and
12377 feedmail-send-it-immediately-wrapper.
12378 (feedmail-message-action-send): Add debug call.
12379 Use feedmail-send-it-immediately-wrapper.
12380 (feedmail-queue-express-to-queue): Add debug call.
12381 Run feedmail-queue-express-hook.
12382 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12383 (feedmail-message-action-help-blat):
12384 Rename from feedmail-queue-send-edit-prompt-help-first.
12385 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12386 Check line-endings. Handle errors better.
12387 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12388 Doc fix. Add debug call.
12389 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12390 Use feedmail-queue-send-edit-prompt-inner.
12391 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12392 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12393 from feedmail-queue-send-edit-prompt.
12394 (feedmail-queue-send-edit-prompt-help)
12395 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12396 (feedmail-tidy-up-slug): Add debug call.
12397 Respect feedmail-queue-slug-suspect-regexp.
12398 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12399 (feedmail-dump-message-to-queue): Add debug call.
12400 Expand queue-directory.
12401 (feedmail-dump-message-to-queue): Change message slightly.
12402 Use feedmail-say-chatter.
12403 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12404 (feedmail-send-it-immediately-wrapper): New function.
12405 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12406 Insert empty string rather than newline. Handle full-frame case.
12407 Use catch/throw. Use feedmail-say-chatter.
12408 (feedmail-fiddle-from): Try mail-host-address.
12409 (feedmail-default-message-id-generator): Doc fix.
12410 Bind system-time-locale. Handle missing end.
12411 (feedmail-fiddle-x-mailer): Add debug call.
12412 Handle feedmail-x-mailer-line being nil.
12413 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12414 Add debug call. Use buffer-substring-no-properties.
12415 (feedmail-say-debug, feedmail-say-chatter): New functions.
12416 (feedmail-find-eoh): Give an explicit error.
12417
42c7e61e
UJ
124182011-05-13 Ulf Jasper <ulf.jasper@web.de>
12419
c2571358 12420 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12421 family from helvetica to sans.
c2571358 12422 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12423 etc/images/newsticker.
12424
c2571358 12425 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12426 family from helvetica to sans.
12427
12428 * net/newst-plainview.el (newsticker-new-item-face)
12429 (newsticker-old-item-face, newsticker-immortal-item-face)
12430 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12431 (newsticker-statistics-face): Change default family from
42c7e61e 12432 helvetica to sans.
c2571358 12433 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12434 etc/images/newsticker.
12435
5d3385a0
JB
12436 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12437 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12438 auto-marking.
12439
8497a297
DV
124402011-05-13 Didier Verna <didier@xemacs.org>
12441
12442 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12443 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12444 TODO entries.
8497a297
DV
12445 (lisp-lambda-list-keyword-parameter-indentation)
12446 (lisp-lambda-list-keyword-parameter-alignment)
12447 (lisp-lambda-list-keyword-alignment): New customizable user options.
12448 (lisp-indent-defun-method): Improve docstring.
12449 (extended-loop-p): Fix comment.
12450 (lisp-indent-lambda-list-keywords-regexp): New variable.
12451 (lisp-indent-lambda-list): New function.
12452 (lisp-indent-259): Use it.
12453 (lisp-indent-defmethod): Support for more than one
12454 method qualifier and properly indent methods lambda-lists.
12455 (defgeneric): Provide a missing common-lisp-indent-function property.
12456
f278f87f
SM
124572011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12460 bounds for the empty string (bug#8667).
12461
5233edd7
GM
124622011-05-13 Glenn Morris <rgm@gnu.org>
12463
5237a44f
GM
12464 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12465
8340026c 12466 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12467 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12468
5233edd7 12469 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12470 (appt-time-msg-list): Doc fix.
a5464014 12471 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12472
92d10796
AS
124732011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12474
12475 * progmodes/ld-script.el (ld-script-keywords)
12476 (ld-script-builtins): Update keywords list.
12477
914a0ae1
SM
124782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12479
c89be45f
SM
12480 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12481
914a0ae1
SM
12482 * shell.el (shell-completion-vars): New function.
12483 (shell-mode):
12484 * simple.el (read-shell-command): Use it.
12485 (blink-matching-open): No need for " [...]" in minibuffer-message.
12486
98dc3df3
GM
124872011-05-12 Glenn Morris <rgm@gnu.org>
12488
12489 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12490 (appt-check): Simplify.
12491
d2fc7e3d 124922011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12493
4d61f28d 12494 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12495 literal "/dev/null".
12496
d2fc7e3d 124972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12498
12499 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12500 Fix typo.
12501
d2fc7e3d 125022011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12503
3f254caa
SM
12504 * progmodes/which-func.el (which-function):
12505 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12506 which might not be defined (Bug#8260).
12507
d45885f7
GM
125082011-05-12 Glenn Morris <rgm@gnu.org>
12509
12510 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12511 Let byte-compile-initial-macro-environment always take precedence.
12512
488086f4
SM
125132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12514
12515 * net/rcirc.el: Add support for SSL/TLS connections.
12516 (rcirc-server-alist): New field `encryption'.
12517 (rcirc): Check `encryption' settings.
12518 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12519 Merge make-local-variable into `set'.
12520 (rcirc--connection-open-p): New function.
12521 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12522 the process is not a network process (e.g. running gnutls-cli).
12523 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12524 Make rcirc-(en|de)code-coding-system local here.
12525 (rcirc-mode): Merge make-local-variable into `set'.
12526 (rcirc-parent-buffer): Make permanent buffer-local.
12527 (rcirc-multiline-minor-mode): Don't do it here.
12528 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12529 there's no server buffer.
12530
7d3b9d44
GM
125312011-05-11 Glenn Morris <rgm@gnu.org>
12532
f64049c6
GM
12533 * newcomment.el (comment-kill): Prefix "unused" local.
12534
93c9df73
GM
12535 * term/w32console.el (get-screen-color): Declare.
12536
7d3b9d44
GM
12537 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12538 Handle symbol elements of byte-compile-initial-macro-environment.
12539
9e2dd53f
LL
125402011-05-10 Leo Liu <sdl.web@gmail.com>
12541
488086f4
SM
12542 * bookmark.el (bookmark-bmenu-mode-map):
12543 Bind bookmark-bmenu-search to `/'.
8b340240 12544
9e2dd53f 12545 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12546 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12547 (Footnote-unicode): New function.
12548 (footnote-style-alist): Add unicode style to the list.
12549 (footnote-style): Doc fix.
9e2dd53f 12550
79b70037
GM
125512011-05-10 Jim Meyering <meyering@redhat.com>
12552
12553 Fix doubled-word typos.
12554 * international/quail.el (quail-insert-kbd-layout): and and -> and
12555 * kermit.el: and and -> and
12556 * net/ldap.el (ldap-search-internal): to to -> to
12557 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12558 * progmodes/js.el (js-mode): and and -> and
12559 * textmodes/artist.el (artist-move-to-xy): at at -> at
12560 (artist-draw-region-trim-line-endings): if if -> if
12561 And Safetyc -> Safety.
12562 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12563
b8f82dc1 125642011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12565 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12566
12567 * files.el (hack-one-local-variable-eval-safep):
12568 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12569
4f99f44b
GM
125702011-05-10 Glenn Morris <rgm@gnu.org>
12571
12572 * calendar/diary-lib.el (diary-list-entries-hook)
12573 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12574 (diary-nongregorian-marking-hook, diary-list-entries)
12575 (diary-include-other-diary-files, diary-mark-entries)
12576 (diary-mark-included-diary-files): Doc fixes.
12577
84f29e6b
JB
125782011-05-09 Juanma Barranquero <lekktu@gmail.com>
12579
12580 * misc.el: Require tabulated-list.el during compilation.
12581
9bedd73a
CY
125822011-05-09 Chong Yidong <cyd@stupidchicken.com>
12583
488086f4
SM
12584 * progmodes/compile.el (compilation-start):
12585 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12586 (compilation-filter-hook): Doc fix.
12587
797c735c
DD
125882011-05-09 Deniz Dogan <deniz@dogan.se>
12589
12590 * wdired.el: Remove outdated installation comment. Fix usage
12591 comment.
12592
5f4b1dfe
JB
125932011-05-09 Juanma Barranquero <lekktu@gmail.com>
12594
12595 * misc.el: Implement new command `list-dynamic-libraries'.
12596 (list-dynamic-libraries--loaded-only-p): New variable.
12597 (list-dynamic-libraries--refresh): New function.
12598 (list-dynamic-libraries): New command.
12599
4c44026c
CY
126002011-05-09 Chong Yidong <cyd@stupidchicken.com>
12601
488086f4
SM
12602 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12603 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12604 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12605 higher priority to avoid clobbering by gnu.
12606
027f966d
CY
126072011-05-08 Chong Yidong <cyd@stupidchicken.com>
12608
12609 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12610 if the face has existing theme settings (Bug#8454).
12611
085f5d7d
CY
126122011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12613
488086f4
SM
12614 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12615 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12616
2a86a00c
RS
12617 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12618 special file names `.' and `..' (Bug#8259).
12619
d9c54a06
CY
126202011-05-08 Chong Yidong <cyd@stupidchicken.com>
12621
488086f4
SM
12622 * progmodes/grep.el (grep-mode-font-lock-keywords):
12623 Remove buffer-changing entries.
d9c54a06
CY
12624 (grep-filter): New function.
12625 (grep-mode): Add it to compilation-filter-hook.
12626
12627 * progmodes/compile.el (compilation-filter-hook)
12628 (compilation-filter-start): New defvars.
12629 (compilation-filter): Call compilation-filter-hook prior to
12630 updating the process mark.
12631
c4662635
SM
126322011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12633
12634 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12635
b0512a1d
EZ
126362011-05-07 Eli Zaretskii <eliz@gnu.org>
12637
605c9376
EZ
12638 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12639 mailclient-send-it even if window-system is nil. (Bug#8595)
12640
c4662635
SM
12641 * term/w32console.el (terminal-init-w32console):
12642 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12643 background-mode. (Bug#8597)
12644
d1dc2cc2
SM
126452011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12646
12647 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12648 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12649 New functions.
12650 (defgeneric, eieio--defmethod): Use them.
12651 (eieio-defgeneric): Remove.
12652 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12653
915d1300
GM
126542011-05-07 Glenn Morris <rgm@gnu.org>
12655
a3961c3e
GM
12656 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12657 Use let rather than let*.
12658 (timeclock-find-discrep): Remove unused local.
12659
314347b9
GM
12660 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12661
915d1300
GM
12662 * calendar/appt.el (appt-time-msg-list): Doc fix.
12663
275b59b0
NF
126642011-05-06 Noah Friedman <friedman@splode.com>
12665
12666 * apropos.el (apropos-print-doc): Only use
12667 emacs-lisp-docstring-fill-column when it is bound to an integer,
12668 per that variable's documentation.
12669
6c19f744
SM
126702011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12673 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12674
60f884b2
GM
126752011-05-06 Glenn Morris <rgm@gnu.org>
12676
5006e634
GM
12677 * calendar/appt.el (appt-message-warning-time): Doc fix.
12678 (appt-warning-time-regexp): New option.
12679 (appt-make-list): Respect appt-message-warning-time.
12680
548d0a63
GM
12681 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12682 New options.
12683 (diary-add-to-list): Strip comments from the displayed string.
12684 (diary-mode): Set comment-start and comment-end.
12685
60f884b2
GM
12686 * vc/diff-mode.el (smerge-refine-subst): Declare.
12687 (diff-refine-hunk): Don't require smerge-mode when compiling.
12688
989681bb
JB
126892011-05-06 Juanma Barranquero <lekktu@gmail.com>
12690
12691 * simple.el (list-processes): Return nil as the docstring says.
12692
a6bc05e1
MA
126932011-05-05 Michael Albinus <michael.albinus@gmx.de>
12694
12695 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12696 to "".
12697 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12698 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12699 determining of binary transfer. (Bug#7383)
12700
23c22e9a
MA
127012011-05-05 Michael Albinus <michael.albinus@gmx.de>
12702
c4662635
SM
12703 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12704 Fix port computation bug. (Bug#8618)
23c22e9a 12705
0bff894f
GM
127062011-05-05 Glenn Morris <rgm@gnu.org>
12707
b8296902
GM
12708 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12709
1f522ce8
GM
12710 * simple.el (shell-dynamic-complete-functions)
12711 (comint-dynamic-complete-functions): Declare.
12712
cf5bee67
GM
12713 * net/network-stream.el (gnutls-negotiate):
12714 * simple.el (tabulated-list-print): Fix declarations.
12715
12716 * progmodes/gud.el (syntax-symbol, syntax-point):
12717 Remove unnecessary and incorrect declarations.
12718
0bff894f
GM
12719 * emacs-lisp/check-declare.el (check-declare-scan):
12720 Handle byte-compile-initial-macro-environment in bytecomp.el
12721
9869b3ae
SM
127222011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12723
12724 Fix earlier half-done eieio-defmethod change (bug#8338).
12725 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12726 Streamline and change calling convention.
12727 (defmethod): Adjust accordingly and simplify.
12728 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12729 new eieio--defmethod.
12730 (slot-boundp): Minor CSE simplification.
12731
9c1d5ac5
MZ
127322011-05-05 Milan Zamazal <pdm@zamazal.org>
12733
12734 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12735 (glasses-make-readable): Use glasses-separate-capital-groups.
12736
455c834e
JB
127372011-05-05 Juanma Barranquero <lekktu@gmail.com>
12738
12739 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12740 (warning-series): Doc fix.
12741 (display-warning): Don't try to create the buffer if we just found it.
12742
9ed7c8cb
CY
127432011-05-04 Chong Yidong <cyd@stupidchicken.com>
12744
12745 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12746 (autoload-find-generated-file): New function.
12747 (generate-file-autoloads): Bind generated-autoload-file to
12748 buffer-file-name.
9869b3ae
SM
12749 (update-file-autoloads, update-directory-autoloads):
12750 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
12751 output file (Bug#7989).
12752 (batch-update-autoloads): Doc fix.
12753
0898ca10
JB
127542011-05-04 Juanma Barranquero <lekktu@gmail.com>
12755
12756 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12757
31dfb76c
GM
127582011-05-04 Glenn Morris <rgm@gnu.org>
12759
f330b642
GM
12760 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12761 function, so it follows changes in calendar-date-style.
12762 (diary-fancy-date-matcher): New function.
12763 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12764 (diary-fancy-font-lock-fontify-region-function):
12765 Use diary-fancy-date-pattern as a function.
12766
31dfb76c
GM
12767 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12768 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12769
48e79d6a
TZ
127702011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12771
12772 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12773 instead of positional arguments. Allow :keylist and :crlfiles
12774 arguments.
12775 (open-gnutls-stream): Call it.
12776
12777 * net/network-stream.el (network-stream-open-starttls): Adjust to
12778 call `gnutls-negotiate' with :process and :hostname arguments.
12779
dd5a5ee0
SM
127802011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12781
ef80fc09
SM
12782 * minibuffer.el (completion--message): New function.
12783 (completion--do-completion, minibuffer-complete)
12784 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12785 (completion--do-completion): Don't ignore completion-auto-help when in
12786 icomplete-mode.
12787
dd5a5ee0
SM
12788 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12789 internal encoding (e.g. tibetan zero is not whitespace).
12790 (global-whitespace-mode): Prefer save-current-buffer.
12791 (whitespace-trailing-regexp): Remove useless save-match-data.
12792 (whitespace-empty-at-bob-regexp): Minor simplification.
12793
b7d22a83
CY
127942011-05-03 Chong Yidong <cyd@stupidchicken.com>
12795
12796 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12797
5192af46
AM
127982011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12799
12800 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 12801 Use `concat' to create string for insertion.
5192af46 12802
5767d190
SM
128032011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12806 Avoid open-line which runs post-self-insert-hook.
12807 (bibtex-fill-entry): Remove unused `end' var.
12808
bf242939
AM
128092011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12810
5767d190
SM
12811 * textmodes/ispell.el (ispell-add-per-file-word-list):
12812 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 12813
25666126
LL
128142011-05-03 Leo Liu <sdl.web@gmail.com>
12815
12816 * isearch.el (isearch-yank-pop): New command.
5767d190 12817 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
12818 (isearch-forward): Mention it.
12819
52d3c2d0
SM
128202011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12821
1bcace58
SM
12822 * simple.el (minibuffer-complete-shell-command): Remove.
12823 (minibuffer-local-shell-command-map): Use completion-at-point.
12824 (read-shell-command): Setup completion vars here instead.
12825 (read-expression-map): Bind TAB to symbol completion.
12826
52d3c2d0
SM
12827 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12828 error directly rather via storing it into `results'.
12829
35813471
LL
128302011-05-02 Leo Liu <sdl.web@gmail.com>
12831
12832 * vc/diff.el: Fix description.
12833
e793a940
LMI
128342011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12835
12836 * server.el (server-eval-at): New function.
12837
8de66e05
LMI
128382011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12839
12840 * net/network-stream.el (open-network-stream): Take a :nowait
12841 parameter and pass it on to `make-network-process'.
12842 (network-stream-open-plain): Ditto.
12843
dcb79f20
AS
128442011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12845
12846 * faces.el (face-spec-set-match-display): Don't match toolkit
12847 options on terminal frames.
12848
14a7fbd8
SM
128492011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12850
7eabc1be
SM
12851 * progmodes/pascal.el: Use lexical binding.
12852 (pascal-mode-map): Remove author preferences.
12853
14a7fbd8
SM
12854 * pcomplete.el (pcomplete-std-complete): Don't abuse
12855 completion-at-point.
12856
50f84510
JB
128572011-04-28 Juanma Barranquero <lekktu@gmail.com>
12858
6e087a44
JB
12859 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12860 removing code that has been dead since 1991 or so.
12861
50f84510
JB
12862 * startup.el (command-line): When warning about "_emacs", use a
12863 delayed warning to allow the user to filter it out.
12864
0ba690bd
DD
128652011-04-28 Deniz Dogan <deniz@dogan.se>
12866
12867 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12868 user has not joined.
12869
08abfaad
SM
128702011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12871
12872 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12873 aren't any completions at point.
12874
638f053a
JB
128752011-04-28 Juanma Barranquero <lekktu@gmail.com>
12876
12877 * subr.el (display-delayed-warnings): New function.
12878 (delayed-warnings-hook): New variable.
12879
8fff8daa
SM
128802011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12881
08abfaad
SM
12882 * minibuffer.el (completion-at-point, completion-help-at-point):
12883 Don't presume that a given completion-at-point-function will always
12884 use the same calling convention.
12885
8fff8daa
SM
12886 * pcomplete.el (pcomplete-completions-at-point):
12887 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12888 pcomplete-seen is non-nil.
12889 (pcomplete-comint-setup): Also recognize the new comint/shell
12890 completion functions.
12891 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12892 pcomplete-seen is non-nil.
12893
841a1577 128942011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 12895
841a1577 12896 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 12897 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 12898 the first character in the entry. This allows for code to add its
211ec907
UJ
12899 own uid to the entry.
12900 (icalendar--convert-float-to-ical): Add export of
12901 `diary-float'-entries save for those with the optional DAY
12902 argument.
12903
2a782793
DC
129042011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12905
12906 * subr.el (shell-quote-argument): Use alternate escaping strategy
12907 when we spot a variable reference in a string.
12908
0438ce91
DC
129092011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12910
12911 * cus-start.el (all): Define customization for debug-on-event.
12912
841a1577 129132011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
12914
12915 * subr.el (shell-quote-argument): Escape correctly under Windows.
12916
d090ed6c
SM
129172011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12918
12919 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12920
bfd31217
MA
129212011-04-25 Michael Albinus <michael.albinus@gmx.de>
12922
d090ed6c
SM
12923 * net/tramp.el (tramp-process-actions): Add POS argument.
12924 Delete region between POS and (pos).
bfd31217 12925
d090ed6c
SM
12926 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12927 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
12928 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12929
12930 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12931 position in `tramp-process-actions' call.
12932
12933 * net/trampver.el: Update release number.
12934
e92f3bd3
SM
129352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12936
850256b5
SM
12937 * custom.el (defcustom): Obey lexical-binding.
12938
e92f3bd3
SM
12939 Fix octave-inf completion problems reported by Alexander Klimov.
12940 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12941 Inherit from octave-mode-syntax-table.
12942 (inferior-octave-mode): Set info-lookup-mode.
12943 (inferior-octave-completion-at-point): New function.
12944 (inferior-octave-complete): Use it and completion-in-region.
12945 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12946 comint-filename-completion.
12947 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12948 symbol elements which shouldn't be word elements.
12949 (octave-font-lock-keywords, octave-beginning-of-defun)
12950 (octave-function-header-regexp): Adjust regexps accordingly.
12951 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12952
cd22b309
JB
129532011-04-25 Juanma Barranquero <lekktu@gmail.com>
12954
12955 * net/gnutls.el (gnutls-errorp): Declare before first use.
12956
8b492194
TZ
129572011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12958
12959 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12960 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 12961 default trustfile exists before going to use it. Add missing
5a5fa834 12962 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
12963 Reported by Claudio Bley <claudio.bley@gmail.com>.
12964 (open-gnutls-stream): Add usage example.
12965
12966 * net/network-stream.el (network-stream-open-starttls): Give host
12967 parameter to `gnutls-negotiate'.
12968 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 12969 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 12970
841a1577 129712011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 12972
cd22b309
JB
12973 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12974 Use correct match group (bug#8438).
05842630 12975
3ba7869c
CY
129762011-04-24 Chong Yidong <cyd@stupidchicken.com>
12977
512e3ae1
CY
12978 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12979 (package-menu--generate): New arg specifying packages to show.
12980 (package-menu-refresh, package-menu-execute, list-packages):
12981 Callers changed.
12982 (package-show-package-list): New function, replacing deleted
12983 package--list-packages (renamed because it is non-internal).
12984
12985 * finder.el (finder-list-matches): Use package-show-package-list
12986 instead of deleted package--list-packages.
12987
e92f3bd3
SM
12988 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12989 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
12990 (vc-annotate-mode-map): Bind it to RET.
12991
7031be6d
UR
129922011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12993
12994 * progmodes/etags.el (next-file): Don't use set-buffer to change
12995 buffers (Bug#8478).
12996
4ef177aa
CY
129972011-04-24 Chong Yidong <cyd@stupidchicken.com>
12998
c8d173eb
CY
12999 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13000
4ef177aa
CY
13001 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13002 (apropos-accumulator): Doc fix.
13003 (apropos-function, apropos-macro, apropos-command)
13004 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13005 (apropos-plist): Add face property.
13006 (apropos-symbols-internal): Fix indentation.
13007 (apropos-print): Simplify help, and recognize apropos-multi-type.
13008 (apropos-print-doc): Use button-type-get to extract the button's
13009 face property. Fill docstring (Bug#8352).
13010
4ffd0d6b 130112011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13012
13013 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13014
c6c32125 13015 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13016 (mpuz-mode-map): Use mapc.
c6c32125
JB
13017 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13018 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13019 Fix typos in docstrings.
13020
58d468b4
JB
13021 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13022 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13023
6470c3c6
JB
13024 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13025
4ffd0d6b 130262011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13027
13028 * minibuffer.el (completion--do-completion): Avoid the "Next char
13029 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13030
3ad8bad0
CY
13031 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13032 mouse-2 into unread-command-events, it is interpreted correctly.
13033
71d73c9c 13034 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13035 (image-toggle-display): Doc fix.
71d73c9c 13036
841a1577 130372011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13038
4ffd0d6b
GM
13039 * textmodes/page.el (what-page): Use line-number-at-pos to
13040 calculate line number (Bug#6825).
6e1dbaa9 13041
c2fb1b60
JB
130422011-04-22 Juanma Barranquero <lekktu@gmail.com>
13043
13044 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13045 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13046 Pass argument NO-DEFAULT to `find-tag-interactive'.
13047
e02f48d7
JB
130482011-04-22 Juanma Barranquero <lekktu@gmail.com>
13049
13050 Lexical-binding cleanup.
13051
13052 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13053 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13054 * progmodes/ada-prj.el (ada-prj-initialize-values)
13055 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13056 (ada-prj-show-value):
13057 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13058 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13059 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13060 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13061 * progmodes/bug-reference.el (bug-reference-push-button):
13062 * progmodes/fortran.el (fortran-line-length):
13063 * progmodes/glasses.el (glasses-change):
13064 * progmodes/octave-mod.el (octave-fill-paragraph):
13065 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13066 (python-pdbtrack-grub-for-buffer, python-sentinel):
13067 * progmodes/sql.el (sql-save-connection):
13068 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13069 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13070 Mark unused parameters.
13071
13072 * progmodes/compile.el (compilation--flush-directory-cache)
13073 (compilation--flush-parse, compile-internal): Mark unused parameters.
13074 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13075 (compilation-next-error-function): Remove unused variable `timestamp'.
13076
13077 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13078 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13079
13080 * progmodes/dcl-mode.el (dcl-end-of-command):
13081 Remove unused variable `start'.
13082 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13083 (dcl-option-value-basic, dcl-option-value-offset)
13084 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13085 Mark unused parameters.
13086 (dcl-save-local-variable): Remove unused variable `val'.
13087 (mode): Declare.
13088
13089 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13090 Mark unused parameters.
13091 (delphi-ignore-changes): Move before first use.
13092 (delphi-charset-token-at): Remove unused variable `start'.
13093 (delphi-else-start): Remove unused variable `if-count'.
13094 (delphi-comment-block-start, delphi-comment-block-end):
13095 Remove unused variable `kind'.
13096 (delphi-indent-line): Remove unused variable `new-point'.
13097
13098 * progmodes/ebrowse.el (ebrowse-files-list)
13099 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13100 Mark unused parameters. Don't quote `lambda'.
13101 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13102 Don't quote `lambda'.
13103 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13104 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13105 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13106 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13107 Use `ignore-errors'.
13108 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13109 (ebrowse-view/find-file-and-search-pattern)
13110 (ebrowse-view/find-member-declaration/definition):
13111 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13112 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13113 Rename parameter PREFIX-ARG to PREFIX.
13114 (ebrowse-tags-read-name): Remove unused variables `start' and
13115 `member-info'.
13116 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13117 to `tags-file'.
13118
13119 * progmodes/etags.el (local-find-tag-hook): Declare.
13120 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13121 Mark unused parameters.
13122
13123 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13124 (executable-interpret): Mark unused parameter.
13125
13126 * progmodes/flymake.el (flymake-process-sentinel)
13127 (flymake-after-change-function)
13128 (flymake-create-temp-with-folder-structure)
13129 (flymake-get-include-dirs-dot): Mark unused parameters.
13130 (flymake-safe-delete-directory): Remove unused variable `err'.
13131
13132 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13133 (speedbar-timer-fn, speedbar-line-text)
13134 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13135 (speedbar-center-buffer-smartly): Declare functions.
13136 (gdb-find-watch-expression): Remove unused variable `array'.
13137 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13138 (gdb-starting): Mark unused parameters.
13139 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13140 (gdb-table-string): Remove unused variable `res'.
13141 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13142 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13143 (gdb-display-buffer): Remove unused variable `cur-size'.
13144
13145 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13146 allow lexical-binding compilation.
13147 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13148 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13149 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13150 Mark unused parameters.
13151 (gud-gdb-marker-filter): Remove unused variable `match'.
13152 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13153 lambda expressions and funcall them, instead of using `fset'.
13154
13155 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13156 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13157
13158 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13159 variable `header-beg'; use `let'.
13160
13161 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13162 `restart', `last-sexp' and `at-do'.
13163
13164 * progmodes/js.el (js--debug): Mark unused parameter.
13165 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13166 (js--splice-into-items): Remove unused variable `item'.
13167 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13168
13169 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13170 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13171 (makefile-complete): Remove unused variable `try'.
13172 (makefile-fill-paragraph, makefile-match-function-end):
13173 Mark unused parameters.
13174
13175 * progmodes/octave-inf.el (inferior-octave-complete):
13176 Remove unused variable `proc'.
13177 (inferior-octave-output-digest): Mark unused parameter.
13178
13179 * progmodes/perl-mode.el (perl-calculate-indent):
13180 Remove unused variable `err'.
13181
13182 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13183 (prolog-indent-line): Mark unused parameters.
13184 (prolog-indent-line): Remove unused variable `beg'.
13185
13186 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13187 (reporter-dont-compact-list): Declare.
13188
13189 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13190 Remove unused variable `char'.
13191 (sh-debug): Mark unused parameter.
13192 (sh-get-indent-info): Remove unused variable `start'.
13193 (sh-calculate-indent): Remove unused variable `var'.
13194
13195 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13196 (simula-electric-keyword): Remove unused variable `null'.
13197 (simula-search-backward, simula-search-forward): Remove unused
13198 variables `begin' and `end'.
13199
13200 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13201 Remove unused variable `pos'.
13202 (vera-electric-tab, vera-comment-uncomment-region):
13203 Mark unused parameters.
13204 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13205
7ede3b65
CY
132062011-04-22 Chong Yidong <cyd@stupidchicken.com>
13207
13208 * emacs-lisp/package.el (package--builtins, package-alist)
13209 (package-load-descriptor, package-built-in-p, package-activate)
13210 (define-package, package-installed-p)
13211 (package-compute-transaction, package-buffer-info)
13212 (package--push): Doc fix. Distinguish more clearly between
13213 version strings and version lists.
13214
121656e9
JB
132152011-04-21 Juanma Barranquero <lekktu@gmail.com>
13216
13217 Lexical-binding cleanup.
13218
13219 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13220 (5x5-make-mutate-best):
13221 * play/fortune.el (fortune-in-buffer):
13222 * play/gomoku.el (gomoku-init-display):
13223 * play/solitaire.el (solitaire, solitaire-do-check):
13224 * play/tetris.el (tetris-default-update-speed-function):
13225 Mark unused parameters.
13226
13227 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13228 (bubbles--shift): Remove unused variable `char-org'.
13229 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13230 (bubbles--show-images): Remove unused variable `char'.
13231
13232 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13233 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13234 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13235 (decipher-analyze-buffer): Use ?\s.
13236 (decipher-make-checkpoint): Remove unused variable `mapping'.
13237
13238 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13239
13240 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13241 Remove unused variable `result'; use `let'.
13242
13243 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13244 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13245 (gametree-children-shown-p, gametree-compute-reduced-score):
13246 Use `ignore-errors'.
13247
13248 * play/handwrite.el (ps-lpr-switches): Declare.
13249 (handwrite): Remove unused variables `pmin' and `lastp'.
13250
13251 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13252
13253 * play/landmark.el (landmark-init-display)
13254 (landmark-update-naught-weights): Mark unused parameters.
13255 (landmark-y): Remove unused variable `noise'. Simplify.
13256 (landmark-human-plays): Remove unused variable `score'.
13257
13258 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13259 (mpuz-try-proposal): Remove unused variable `game'.
13260
13261 * play/zone.el (life-patterns): Declare.
13262
80f499c7
JB
132632011-04-20 Juanma Barranquero <lekktu@gmail.com>
13264
13265 * vc/vc.el (ediff-vc-internal): Declare function.
13266
024ff170
SM
132672011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13268
c0a193ea
SM
13269 * shell.el: Use lexical-binding and std completion UI.
13270 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13271 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13272 comint-preoutput-filter-functions rather than on
13273 comint-output-filter-functions.
13274 (shell-command-completion, shell--command-completion-data)
13275 (shell-filename-completion, shell-environment-variable-completion)
13276 (shell-c-a-p-replace-by-expanded-directory): New functions.
13277 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13278 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13279 (shell-dynamic-complete-environment-variable): Use them.
13280 (shell-dynamic-complete-as-environment-variable)
13281 (shell-dynamic-complete-as-command): Remove.
13282 (shell-match-partial-variable): Match past point.
13283 * comint.el: Clean up use of completion-at-point-functions.
13284 (comint-completion-at-point): New function.
13285 (comint-mode): Use it completion-at-point-functions.
13286 (comint-dynamic-complete): Make it obsolete.
13287 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13288 (comint-c-a-p-replace-by-expanded-history): New function.
13289 (comint-dynamic-complete-functions)
13290 (comint-replace-by-expanded-history): Use it.
13291 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13292 termination strings. Try harder to avoid second try-completion.
13293 (completion-in-region-mode-map): Disable bindings that don't work yet.
13294
2dbaa080
SM
13295 * comint.el: Use lexical-binding. Require CL.
13296 (comint-dynamic-complete-functions): Use comint-filename-completion.
13297 (comint-completion-addsuffix): Tweak custom type.
13298 (comint-filename-completion, comint--common-suffix)
13299 (comint--common-quoted-suffix, comint--table-subvert)
13300 (comint--complete-file-name-data): New functions.
13301 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13302 (comint-dynamic-list-filename-completions): Use them.
13303 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13304
2dbaa080
SM
13305 * minibuffer.el (completion-in-region-mode):
13306 Keep completion-in-region-mode--predicate global.
13307 (completion-in-region--postch):
13308 Assume completion-in-region-mode--predicate is not null.
13309
c79a6f38
SM
13310 * progmodes/flymake.el (flymake-start-syntax-check-process):
13311 Obey `dir'. Simplify.
13312
024ff170
SM
13313 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13314 we're in VC after all.
13315
1c6c854e
CS
133162011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13317
13318 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13319 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13320 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13321
bed7f140
SM
133222011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13323
332e62ab
SM
13324 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13325 add sanity check.
13326
bed7f140
SM
13327 * obsolete/erc-hecomplete.el: Make obsolete.
13328 * obsolete/: Standardize obsolescence info in the header.
13329
f195c582
GM
133302011-04-20 Glenn Morris <rgm@gnu.org>
13331
13332 * calendar/solar.el (solar-horizontal-coordinates):
13333 Use the longitude argument rather than `calendar-longitude'.
13334 (solar-date-next-longitude): Remove unused locals.
13335
cb79b8c0
VJL
133362011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13337
13338 * whitespace.el: New version 13.2.1.
13339
133402011-04-20 felix <EmacsWiki> (tiny change)
13341
d8e4b68b 13342 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13343 switching between major modes on a file.
13344
602ea69d
SM
133452011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13346
13347 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13348 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13349 multi-line comments as well.
13350
06b60517
JB
133512011-04-19 Juanma Barranquero <lekktu@gmail.com>
13352
13353 Lexical-binding cleanup.
13354
13355 * arc-mode.el (archive-mode-revert):
13356 * cmuscheme.el (scheme-interactively-start-process):
13357 * custom.el (custom-initialize-delay):
13358 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13359 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13360 * emacs-lock.el (emacs-lock-clear-sentinel):
13361 * ezimage.el (defezimage):
13362 * follow.el (follow-avoid-tail-recenter):
13363 * fringe.el (set-fringe-mode-1):
13364 * generic-x.el (bat-generic-mode-compile):
13365 * help-mode.el (help-info-variable, help-do-xref)
13366 (help-mode-revert-buffer):
13367 * help.el (view-emacs-todo):
13368 * iswitchb.el (iswitchb-completion-help):
13369 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13370 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13371 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13372 * locate.el (locate-update):
13373 * longlines.el (longlines-encode-region)
13374 (longlines-after-change-function):
13375 * outline.el (outline-isearch-open-invisible):
13376 * ps-def.el (declare-function, charset-dimension, char-width)
13377 (encode-char):
13378 * ps-mule.el (ps-mule-plot-string):
13379 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13380 (recentf-edit-list-select, recentf-edit-list-validate)
13381 (recentf-open-files-action):
13382 * rect.el (delete-whitespace-rectangle-line)
13383 (rectangle-number-line-callback):
13384 * register.el (window-configuration-to-register)
13385 (frame-configuration-to-register):
13386 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13387 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13388 (xselect-convert-to-targets, xselect-convert-to-delete)
13389 (xselect-convert-to-filename, xselect-convert-to-charpos)
13390 (xselect-convert-to-lineno, xselect-convert-to-colno)
13391 (xselect-convert-to-os, xselect-convert-to-host)
13392 (xselect-convert-to-user, xselect-convert-to-class)
13393 (xselect-convert-to-name, xselect-convert-to-integer)
13394 (xselect-convert-to-atom, xselect-convert-to-identity):
13395 * subr.el (declare, ignore, process-kill-without-query)
13396 (text-clone-maintain):
13397 * terminal.el (te-get-char, te-tic-sentinel):
13398 * tool-bar.el (tool-bar-make-keymap):
13399 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13400 * type-break.el (type-break-mode, type-break-noninteractive-query):
13401 * view.el (View-back-to-mark):
13402 * wid-browse.el (widget-browse-action, widget-browse-widget)
13403 (widget-browse-widgets, widget-browse-sexp):
13404 * widget.el (define-widget-keywords):
13405 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13406 Mark unused parameters.
13407
13408 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13409 (align-areas): Remove unused variable `look'.
13410 (align-region): Remove unused variables `real-end' and `pos-list'.
13411
13412 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13413
13414 * bindings.el (mode-line-modified, mode-line-remote):
13415 Mark unused parameters.
13416 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13417
13418 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13419 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13420
13421 * comint.el (comint-history-isearch-pop-state)
13422 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13423 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13424 (comint-substitute-in-file-name): Doc fix.
13425
13426 * completion.el (cmpl-statistics-block): Mark unused parameter.
13427 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13428 (save-completions-to-file, load-completions-from-file):
13429 Remove unused local variable `e'.
13430
13431 * composite.el (compose-chars): Remove unused variable `len'.
13432 (lgstring-insert-glyph): Remove unused variable `g'.
13433 (compose-glyph-string): Remove unused variables `ascent',
13434 `descent', `lbearing' and `rbearing'.
13435 (compose-glyph-string-relative): Remove unused variables
13436 `lbearing', `rbearing' and `wadjust'.
13437 (compose-gstring-for-graphic): Remove unused variables `header',
13438 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13439 (compose-gstring-for-terminal): Remove unused variables `header'
13440 and `nchars'. Use `let', not `let*'.
13441
13442 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13443 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13444 (Custom-buffer-done, custom-buffer-create-internal)
13445 (custom-browse-visibility-action, custom-browse-group-tag-action)
13446 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13447 (widget-magic-mouse-down-action, custom-toggle-parent)
13448 (custom-add-parent-links, custom-toggle-hide-variable)
13449 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13450 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13451 (custom-face-menu-create, custom-variable-menu-create, get)
13452 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13453 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13454 (customize-apropos): Remove unused variable `tests'.
13455 (custom-group-value-create): Remove unused variable `hidden-p'.
13456 (sort-fold-case): Declare.
13457
13458 * cus-theme.el (custom-reset-standard-faces-list)
13459 (custom-reset-standard-variables-list): Declare.
13460 (customize-create-theme, custom-theme-revert, custom-theme-write)
13461 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13462 Mark unused parameters.
13463
13464 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13465
13466 * delim-col.el (delimit-columns-max): Move defvar before first use.
13467
13468 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13469 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13470
13471 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13472 (auto-insert): Declare.
13473 (desktop-restore-file-buffer): Rename desktop-* parameters;
13474 mark unused ones.
13475 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13476 (desktop-buffer): Rename desktop-* parameters.
13477
13478 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13479 (dframe-reposition-frame-xemacs, dframe-help-echo)
13480 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13481 Mark unused parameters.
13482
13483 * dired-aux.el (backup-extract-version-start, overwrite-query)
13484 (overwrite-backup-query, rename-regexp-query)
13485 (rename-non-directory-query): Declare.
13486 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13487 (dired-add-entry): Remove unused variable `orig-file-name'.
13488 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13489 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13490 `dired-copy-preserve-time' directly.
13491 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13492 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13493
13494 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13495 (dired-virtual-revert, dired-make-relative-symlink):
13496 Mark unused parameters.
13497 (manual-program): Declare.
13498 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13499 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13500 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13501
13502 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13503
13504 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13505
13506 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13507 Declare.
13508
13509 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13510
13511 * electric.el (Electric-command-loop): Rename parameter
13512 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13513
13514 * expand.el (expand-in-literal): Remove unused variable `here'.
13515
13516 * facemenu.el (facemenu-add-new-color):
13517 Remove unused variable `docstring'.
13518
13519 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13520 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13521 (face-attr-construct): Mark unused parameter. Doc fix.
13522 (read-color): Remove unused variable `hex-string'.
13523
13524 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13525 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13526 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13527 (display-buffer-other-frame): Remove unused variable `old-window'.
13528 (kill-buffer-hook): Declare.
13529 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13530 Mark unused parameters.
13531 (after-find-file): Pass 1 to `auto-save-mode', not t.
13532
13533 * files-x.el (auto-insert): Declare.
13534 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13535
13536 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13537 variable `buf'. Mark unused parameter.
06b60517
JB
13538 (find-lisp-insert-directory): Mark unused parameter.
13539
13540 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13541 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13542 (format-common-tail): Remove, unused.
13543 (format-deannotate-region): Remove unused variable `loc'.
13544 (format-annotate-region): Remove unused variable `p'.
13545 (format-annotate-single-property-change): Remove unused variables
13546 `default' and `tail'.
13547
13548 * forms.el (read-file-filter): Declare.
13549 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13550
13551 * frame.el (frame-creation-function-alist): Mark unused parameter.
13552 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13553
13554 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13555 Remove unused parameters.
13556 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13557 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13558
13559 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13560 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13561 (hfy-prepare-tag-map): Mark unused parameters.
13562 (htmlfontify-buffer): Use `called-interactively-p'.
13563
13564 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13565 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13566 (ibuffer-do-occur): Mark unused parameters.
13567 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13568 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13569
13570 * ibuffer.el: Don't quote `lambda'.
13571 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13572 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13573 Mark unused parameters.
13574
13575 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13576 (ido-completing-read): Mark unused parameters.
13577 (ido-copy-current-word): Mark unused parameters;
13578 remove unused variable `name'.
13579 (ido-sort-merged-list): Remove unused parameter `dirs'.
13580
13581 * ielm.el (ielm-input-sender): Mark unused parameter.
13582 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13583 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13584 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13585 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13586 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13587
13588 * image-dired.el (image-dired-display-thumbs): Remove unused
13589 variables `curr-file' and `count'.
13590 (image-dired-remove-tag): Remove unused variable `start'.
13591 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13592 variable `curr-file'
13593 (image-dired-rotate-original): Remove unused variable `temp-file'.
13594 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13595 Remove unused variable `file'.
13596 (image-dired-gallery-generate): Remove unused variable `curr'.
13597 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13598
13599 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13600
13601 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13602
13603 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13604
13605 * isearch.el (minibuffer-history-symbol): Declare.
13606 (isearch-edit-string): Remove unused variable `err'.
13607 (isearch-message-prefix, isearch-message-suffix):
13608 Mark unused parameters.
13609
13610 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13611
13612 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13613
13614 * makesum.el (double-column): Remove unused variable `cnt'.
13615
13616 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13617 (ido-ignore-item-temp-list): Declare.
13618
13619 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13620 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13621 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13622 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13623 `mouse-col-delta'.
13624
13625 * mouse-sel.el (mouse-extend-internal):
13626 Remove unused variable `orig-window-frame'.
13627
13628 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13629 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13630 Move declarations before first use.
13631 (pcomplete-opt): Mark unused parameters; doc fix.
13632
13633 * proced.el (proced-revert): Mark unused parameter.
13634 (proced-send-signal): Remove unused variable `err'.
13635
13636 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13637 Rename parameter PREFIX-ARG to ARG.
13638 (ps-basic-plot-string, ps-basic-plot-whitespace):
13639 Mark unused parameters.
13640
13641 * replace.el (replace-count): Define.
13642 (occur-revert-function): Mark unused parameters.
13643 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13644 (isearch-case-fold-search, isearch-string): Declare.
13645 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13646 bind `case-fold-search'. Remove unused variables `beg' and `end',
13647 and simplify.
13648 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13649 COUNT and bind `replace-count'.
13650 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13651 to COUNT.
13652
13653 * savehist.el (print-readably, print-string-length): Declare.
13654
13655 * shadowfile.el (shadow-expand-cluster-in-file-name):
13656 Remove unused variable `cluster'.
13657 (shadow-copy-file): Remove unused variable `i'.
13658 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13659 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13660 (shadow-define-literal-group, shadow-define-regexp-group)
13661 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13662
13663 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13664 (shell): Use `called-interactively-p'.
13665 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13666
13667 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13668 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13669 (delete-backward-char): Remove unused variable `ocol'.
13670 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13671 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13672 (event-apply-hyper-modifier, event-apply-shift-modifier)
13673 (event-apply-control-modifier, event-apply-meta-modifier):
13674 Mark unused parameters.
13675 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13676 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13677
13678 * speedbar.el (speedbar-ignored-directory-expressions)
13679 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13680 (speedbar-find-file, speedbar-dir-follow)
13681 (speedbar-directory-buttons-follow, speedbar-tag-find)
13682 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13683 (speedbar-buffers-line-directory, speedbar-buffer-click):
13684 Mark unused parameters.
13685 (speedbar-tag-file): Remove unused variable `mode'.
13686 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13687
13688 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13689
13690 * talk.el (talk): Remove unused variable `display'.
13691
13692 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13693 (tar-write-region-annotate): Mark unused parameter.
13694
13695 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13696 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13697 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13698 warning by another.
13699
13700 * time-stamp.el (time-stamp-string-preprocess):
13701 Remove unused variable `require-padding'.
13702
13703 * tree-widget.el (widget-glyph-enable): Declare.
13704 (tree-widget-action): Mark unused parameter.
13705
13706 * w32-fns.el (x-get-selection): Mark unused parameter.
13707 (autoload-make-program, generated-autoload-file): Declare.
13708
13709 * wdired.el (wdired-revert): Mark unused parameters.
13710 (wdired-xcase-word): Remove unused variable `err'.
13711
13712 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13713 (whitespace-help-scroll): Remove unused variable `data-help'.
13714
13715 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13716 (widget-image-insert, widget-after-change, default)
13717 (widget-default-format-handler, widget-default-notify)
13718 (widget-default-prompt-value, widget-info-link-action)
13719 (widget-url-link-action, widget-function-link-action)
13720 (widget-variable-link-action, widget-file-link-action)
13721 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13722 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13723 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13724 (widget-insert-button-action, widget-delete-button-action, visibility)
13725 (widget-documentation-link-action, widget-documentation-string-action)
13726 (widget-const-prompt-value, widget-regexp-match, symbol)
13727 (widget-coding-system-prompt-value)
13728 (widget-key-sequence-value-to-external, sexp)
13729 (widget-sexp-value-to-internal, character, vector, cons)
13730 (widget-choice-prompt-value, widget-boolean-prompt-value)
13731 (widget-color--choose-action): Mark unused parameters.
13732 (widget-item-match-inline, widget-choice-match-inline)
13733 (widget-checklist-match, widget-checklist-match-inline)
13734 (widget-group-match): Rename parameter VALUES to VALS.
13735 (widget-field-value-set): Remove unused variable `size'.
13736 (widget-color-action): Remove unused variables `value' and `start'.
13737
13738 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 13739 variable `dir'. Doc fix.
06b60517
JB
13740 (windmove-find-other-window): Don't pass it.
13741
13742 * window.el (count-windows): Mark unused parameter.
13743 (bw-adjust-window): Remove unused variable `err'.
13744
13745 * woman.el (woman-file-name): Remove unused variable `default'.
13746 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13747 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13748 (global-font-lock-mode): Declare.
13749 (woman-decode-region): Mark unused parameter.
13750 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13751
13752 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13753 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13754 (x-dnd-handle-moz-url): Remove unused variable `title'.
13755 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13756
13757 * xml.el (xml-parse-tag, xml-parse-attlist):
13758 Remove unused variable `pos'.
13759
bc4f7f3d
GM
137602011-04-19 Glenn Morris <rgm@gnu.org>
13761
13762 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13763 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13764 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13765 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13766 * calendar/cal-html.el (cal-html-insert-minical):
13767 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13768 (calendar-mark-date-pattern):
13769 Prefix "unused" locals.
13770
13771 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13772 optional argument `style'.
13773
13774 * calendar/appt.el (appt-make-list):
13775 * calendar/cal-china.el (calendar-chinese-date-string):
13776 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13777 (diary-hebrew-yahrzeit):
13778 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13779 * calendar/calendar.el (calendar-generate-window):
13780 * calendar/time-date.el (time-to-days):
13781 Remove unused local variables.
13782
16a43933
CY
137832011-04-18 Chong Yidong <cyd@stupidchicken.com>
13784
13785 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13786 glyphless-char-display table.
13787 (tabulated-list-glyphless-char-display): New var.
13788
7eed1860
SS
137892011-04-18 Sam Steingold <sds@gnu.org>
13790
13791 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13792 to acknowledgments.
13793
4d2d1ccd
GM
137942011-04-17 Glenn Morris <rgm@gnu.org>
13795
13796 * calendar/diary-lib.el (diary-sexp-entry):
13797 * calendar/holidays.el (holiday-sexp):
13798 Set debug-on-error rather than the removed stack-trace-on-error.
13799
239da61d
GM
138002011-04-16 Glenn Morris <rgm@gnu.org>
13801
13802 * progmodes/f90.el: Use lexical-binding.
13803 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13804
8b05752a
SM
138052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13806
daca8ba5
SM
13807 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13808 (mail-mode): Setup mailalias completion here instead.
13809 * mail/mailalias.el: Use lexical-binding.
13810 (pattern, mailalias-done): Declare dynamic.
13811 (mail-completion-at-point-function): New function, from mail-complete.
13812 (mail-complete): Use it.
13813 (mail-completion-expand): New function.
13814 (mail-get-names): Use it.
13815 (mail-directory, mail-directory-process, mail-directory-stream):
13816 Don't use `pattern' for lexically bound arg.
13817
6f542485
SM
13818 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13819
037e7c3f
SM
13820 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13821 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13822 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13823
8b05752a
SM
13824 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13825 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13826 (byte-interactive-p): Define them again, for use when inlining
13827 old code.
13828
49093f60
JB
138292011-04-15 Juanma Barranquero <lekktu@gmail.com>
13830
13831 * loadup.el: Use `string-to-number', not `string-to-int'.
13832
b5b8e7de
SM
138332011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13834
13835 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13836 gud-gdb-complete-command.
13837 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13838 (gud-gdb-completion-at-point): New function.
13839 (gud-gdb-completions): Remove.
13840
f42efeb5
MA
138412011-04-14 Michael Albinus <michael.albinus@gmx.de>
13842
49093f60
JB
13843 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13844 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13845 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13846 whether `executable-find' is bound.
f42efeb5
MA
13847
13848 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13849
e240cc21
SM
138502011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13851
13852 * minibuffer.el (completion-in-region-mode-predicate)
13853 (completion-in-region-mode--predicate): New vars.
13854 (completion-in-region, completion-in-region--postch)
13855 (completion-in-region-mode): Use them.
13856 (completion--capf-wrapper): Also return the hook function.
13857 (completion-at-point, completion-help-at-point):
13858 Adjust and provide a predicate.
c2bd2ab0
SM
13859
13860 Preserve arg names for advice of subr and lexical functions (bug#8457).
13861 * help-fns.el (help-function-arglist): Consolidate the subr and
13862 new-byte-code cases. Add argument `preserve-names' to extract names
13863 from the docstring when needed.
13864 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13865 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13866 (ad-arglist): Use help-function-arglist's new arg.
13867 (ad-definition-type): Use cond.
13868
c183f693
JB
138692011-04-13 Juanma Barranquero <lekktu@gmail.com>
13870
06641a47
JB
13871 * autorevert.el (auto-revert-handler):
13872 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13873 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13874 Don't quote lambda.
13875
c183f693
JB
13876 * image-mode.el (image-transform-set-scale):
13877 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13878
1e3b6001
G
138792011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13880
13881 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 13882 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
13883 Upgrades via gnutls-cli are too slow to be done opportunistically.
13884
2d6af8dd
JB
138852011-04-12 Juanma Barranquero <lekktu@gmail.com>
13886
13887 * dframe.el (dframe-current-frame): Remove spurious quote.
13888
c0749a51
GM
138892011-04-12 Glenn Morris <rgm@gnu.org>
13890
088d0d61
GM
13891 * calendar/cal-tex.el (cal-tex-end-document):
13892 Try to automatically use latin1 input if needed.
13893
c0749a51
GM
13894 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13895 Don't try to cons a mark onto an empty element.
13896
5c90fde0
LL
138972011-04-11 Leo Liu <sdl.web@gmail.com>
13898
13899 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13900 buffers.
13901 (ido-kill-buffer-at-head): Support killing virtual buffers.
13902
369e974d
CY
139032011-04-10 Chong Yidong <cyd@stupidchicken.com>
13904
13905 * minibuffer.el (completion-show-inline-help): New var.
13906 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
13907 (minibuffer-force-complete, minibuffer-complete-word):
13908 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
13909
13910 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13911 to avoid interference from inline help (Bug#5849).
13912
37f1c930
LL
139132011-04-10 Leo Liu <sdl.web@gmail.com>
13914
099c39a4
JB
13915 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13916 Fix typo.
37f1c930 13917
a32d4040
CY
139182011-04-09 Chong Yidong <cyd@stupidchicken.com>
13919
13920 * image-mode.el (image-toggle-display-image): Signal an error if
13921 not in Image mode.
13922 (image-transform-mode, image-transform-resize)
13923 (image-transform-set-rotation): Doc fix.
daca8ba5 13924 (image-transform-set-resize): Delete.
a32d4040
CY
13925 (image-transform-set-scale, image-transform-fit-to-height)
13926 (image-transform-fit-to-width): Handle image-toggle-display-image
13927 and image-transform-resize directly.
13928
099c39a4 139292011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
13930
13931 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
13932 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13933 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
13934 (doc-view-mode-map): Add bindings for the new functions.
13935
099c39a4 139362011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 13937
4d61f28d 13938 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
13939 Fix typo in docstring.
13940
3726838a
EZ
139412011-04-08 Eli Zaretskii <eliz@gnu.org>
13942
04f33f1e
EZ
13943 * files.el (file-size-human-readable): Produce one digit after
13944 decimal, like "ls -lh" does.
13945
13946 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13947 the file size representation.
13948
3726838a
EZ
13949 * simple.el (list-processes): If async subprocesses are not
13950 available, error out with a clear error message.
13951
cbb59342
CY
139522011-04-08 Chong Yidong <cyd@stupidchicken.com>
13953
13954 * help.el (help-form-show): New function, to be called from C.
13955 Put help-form output in a buffer named differently than *Help*.
13956
e3971c44
EZ
139572011-04-08 Eli Zaretskii <eliz@gnu.org>
13958
13959 * files.el (file-size-human-readable): New function.
13960
13961 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13962 computing the representation inline. Don't require `cl'.
13963
12544bbe
GM
139642011-04-08 Glenn Morris <rgm@gnu.org>
13965
a1de6c6a
GM
13966 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13967
3c4671f4
GM
13968 * net/browse-url.el (browse-url-firefox):
13969 Test system-type, not system-configuration.
13970
b605679c
GM
13971 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13972 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13973 Use log-edit-empty-buffer-p. (Bug#7598)
13974
56442f0c
GM
13975 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13976 (rlogin-mode-map): Initialize in the defvar.
13977 (rlogin): Use ignore-errors.
13978
12544bbe
GM
13979 * replace.el (occur-mode-map): Some fixes for menu items.
13980
eb237b0f
AH
139812011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13982
13983 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13984
7d668f2c
CY
139852011-04-06 Chong Yidong <cyd@stupidchicken.com>
13986
e67a13ab
CY
13987 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13988 issuing unused warnings.
13989
13990 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13991 macro directly.
13992
7d668f2c
CY
13993 * simple.el: Lisp reimplement of list-processes. Based on an
13994 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13995 (process-menu-mode): New major mode.
13996 (list-processes--refresh, list-processes):
13997 (process-menu-visit-buffer): New functions.
13998
13999 * files.el (save-buffers-kill-emacs): Don't assume any return
14000 value of list-processes, which is undocumented anyway.
14001
a83ec3c9
CY
140022011-04-06 Chong Yidong <cyd@stupidchicken.com>
14003
14004 * emacs-lisp/tabulated-list.el: New file.
14005
e91a96fe
CY
14006 * emacs-lisp/package.el: Use Tabulated List mode.
14007 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14008 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14009 table format using Tabulated List mode variables.
14010 (package--push): New macro, replacing package-list-maybe-add.
14011 (package-menu--generate): Use package--push. Renamed from
14012 package--generate-package-list.
14013 (package-menu-refresh, list-packages): Use it.
daca8ba5 14014 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14015 Return insertion data instead of inserting it directly.
099c39a4
JB
14016 (package-menu-describe-package, package-menu-execute):
14017 Use tabulated-list-get-id.
e91a96fe
CY
14018 (package-menu-mark-delete, package-menu-mark-install)
14019 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14020 (package-menu-mark-obsolete-for-deletion):
14021 Use tabulated-list-put-tag.
e91a96fe
CY
14022 (package--list-packages, package-menu-revert)
14023 (package-menu-get-package, package-menu-get-version)
14024 (package-menu-sort-by-column): Functions deleted.
14025 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14026 (package-menu--status-predicate, package-menu--version-predicate)
14027 (package-menu--name-predicate)
14028 (package-menu--description-predicate): Handle arguments in the
14029 Tabulated List format.
14030 (package-list-packages-no-fetch): Call list-packages.
14031
3e214b50
JB
140322011-04-06 Juanma Barranquero <lekktu@gmail.com>
14033
14034 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14035 (after-find-file): Don't bind it.
3e214b50
JB
14036 (revert-buffer-in-progress-p): New variable.
14037 (revert-buffer): Bind it.
14038 Pass nil for `after-find-file-from-revert-buffer'.
14039
14040 * saveplace.el (save-place-find-file-hook): Use new variable
14041 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14042
3f0f1700
GM
140432011-04-06 Glenn Morris <rgm@gnu.org>
14044
c0274801
GM
14045 * Makefile.in (AUTOGEN_VCS): New variable.
14046 (autoloads): Use $AUTOGEN_VCS.
14047
3f0f1700
GM
14048 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14049 * calendar/calendar.el (calendar-mode-map):
14050 Check for toolkit scroll bars. (Bug#8305)
14051
41ea9e48
CY
140522011-04-05 Chong Yidong <cyd@stupidchicken.com>
14053
14054 * minibuffer.el (completion-in-region--postch)
14055 (completion-in-region-mode): Remove unnecessary messages.
14056
6194c800
JB
140572011-04-05 Juanma Barranquero <lekktu@gmail.com>
14058
33256f14
JB
14059 * font-lock.el (font-lock-refresh-defaults):
14060 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14061 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14062
6194c800
JB
14063 * info.el (Info-directory-list, Info-read-node-name-2)
14064 (Info-split-parameter-string): Doc fixes.
14065 (Info-virtual-nodes): Reflow docstring.
14066 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14067 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14068 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14069 Fix typos in docstrings.
14070 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14071 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14072 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14073 (Info-restore-desktop-buffer): Mark unused parameters.
14074 (Info-directory-find-file, Info-directory-find-node)
14075 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14076 (Info-virtual-index-find-node, Info-apropos-find-file)
14077 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14078 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14079 (Info-virtual-index): Remove unused local variable `nodename'.
14080
b87a8200 140812011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14082
b87a8200
DD
14083 * net/rcirc.el: Update my e-mail address.
14084 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14085
3b2ff876
CY
140862011-04-05 Chong Yidong <cyd@stupidchicken.com>
14087
14088 * startup.el (command-line): Save the cursor's theme-face
14089 directly, instead of using face-override-spec.
14090
14091 * custom.el (load-theme): Minor optimization in assigning faces.
14092
8d17e7ca
JB
140932011-04-04 Juanma Barranquero <lekktu@gmail.com>
14094
14095 * help-fns.el (describe-variable): Complete all variables having
14096 documentation, including keywords.
14097 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14098
2fbc1934
JB
140992011-04-04 Juanma Barranquero <lekktu@gmail.com>
14100
14101 Convert to lexical-binding.
14102
14103 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14104 (bs--get-marked-string, bs--get-modified-string)
14105 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14106 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14107 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14108
14109 * ehelp.el (electric-help-execute-extended)
14110 (electric-help-ctrl-x-prefix):
14111 * hexl.el (hexl-revert-buffer-function):
14112 * linum.el (linum-after-change, linum-after-scroll):
14113 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14114
14115 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14116
74f50695
DU
141172011-04-04 Daiki Ueno <ueno@unixuser.org>
14118
14119 * epa-dired.el:
14120 * epa-mail.el:
14121 * epa-hook.el:
14122 * epa-file.el:
14123 * epa.el:
14124 * epg.el: Use lexical binding.
14125
c11325f7
CY
141262011-04-03 Chong Yidong <cyd@stupidchicken.com>
14127
0d9e9a12
CY
14128 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14129
c11325f7 14130 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14131 dictionary case for flyspell-mark-duplications-exceptions.
14132 Use regexp matching for languages.
c11325f7
CY
14133 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14134 default dictionary (Bug#7926).
14135
da91b5f2
CY
141362011-04-02 Chong Yidong <cyd@stupidchicken.com>
14137
099c39a4
JB
14138 * emacs-lisp/package.el (package--with-work-buffer):
14139 Recognize https URLs.
da91b5f2 14140
099c39a4
JB
14141 * net/network-stream.el: Move from gnus/proto-stream.el.
14142 Change prefix to network-stream throughout.
da91b5f2
CY
14143 (open-protocol-stream): Merge into open-network-stream, leaving
14144 open-protocol-stream as an alias. Handle nil BUFFER args.
14145
14146 * subr.el (open-network-stream): Move to net/network-stream.el.
14147
afa8e9f6
GM
141482011-04-02 Glenn Morris <rgm@gnu.org>
14149
1d2e369d
GM
14150 * find-dired.el (find-exec-terminator): New option.
14151 (find-ls-option): Test for -ls support.
14152 (find-ls-subdir-switches): Test for -b in find-ls-option.
14153 (find-dired, find-grep-dired): Doc fixes.
14154 (find-dired): Use find-exec-terminator.
14155
8abb7da8 14156 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14157 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14158 (find-name-arg): Remove purecopy.
8abb7da8 14159
f3ca7378
GM
14160 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14161 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14162 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14163 accordingly. Don't add the null-device if not needed.
14164
afa8e9f6
GM
14165 * files.el (save-some-buffers): Doc fix.
14166
35eae264
EZ
141672011-04-02 Eli Zaretskii <eliz@gnu.org>
14168
14169 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14170
26b51db5
JB
141712011-04-01 Juanma Barranquero <lekktu@gmail.com>
14172
14173 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14174 Use `dolist' rather than `mapcar'.
14175
7200d79c
SM
141762011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14177
03408648 14178 Add lexical binding.
7200d79c 14179
03408648
SM
14180 * subr.el (apply-partially): Use new closures rather than CL.
14181 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14182 (dolist, dotimes): Use slightly different expansion for lexical code.
14183 (functionp): Move to C.
14184 (letrec): New macro.
14185 (with-wrapper-hook): Use it and apply-partially instead of CL.
14186 (eval-after-load): Preserve lexical-binding.
14187 (save-window-excursion, with-output-to-temp-buffer): Turn them
14188 into macros.
7200d79c 14189
03408648
SM
14190 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14191
14192 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14193 than the arglist.
14194 (help-add-fundoc-usage): Don't add `Not documented'.
14195 (help-function-arglist): Handle closures, subroutines, and new
14196 byte-code-functions.
14197 (help-make-usage): Remove leading underscores.
14198 (describe-function-1): Handle closures.
14199 (describe-variable): Use special-variable-p for completion.
14200
14201 * files.el (lexical-binding): Declare safe.
f488fb65 14202
03408648
SM
14203 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14204 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14205 (pcase): Add `let' pattern.
14206 Change memoization so it actually works.
14207 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14208 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14209 <let>: New case.
f488fb65 14210
03408648
SM
14211 * emacs-lisp/macroexp.el: Use lexical binding.
14212 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14213 Don't convert ' to #' without checking that it's indeed quoting
14214 a lambda.
14215
14216 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14217 Use eval-sexp-add-defvars.
03408648
SM
14218 (eval-sexp-add-defvars): New fun.
14219
14220 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14221
14222 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14223 Don't autoload.
14224 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14225 than the internal `byte-compile-lambda'.
14226 (defmethod): Don't hide code under quotes.
14227 (eieio-defmethod): New `code' argument.
14228
14229 * emacs-lisp/eieio-comp.el: Remove.
14230
14231 * emacs-lisp/edebug.el (edebug-eval-defun)
14232 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14233 (edebug-toggle): Avoid `eval'.
14234
14235 * emacs-lisp/disass.el (disassemble-internal): Handle new
14236 `closure' objects.
14237 (disassemble-1): Handle new byte codes.
14238
14239 * emacs-lisp/cl.el (pushnew): Silence warning.
14240
14241 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14242 (cl-byte-compile-throw): Remove.
14243 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14244
14245 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14246 closures.
14247
14248 * emacs-lisp/cconv.el: New file.
14249
14250 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14251 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14252 (byte-compile-initial-macro-environment):
14253 Handle declare-function here.
14254 (byte-compile--lexical-environment): New var.
14255 (byte-stack-ref, byte-stack-set, byte-discardN)
14256 (byte-discardN-preserve-tos): New lap codes.
14257 (byte-interactive-p): Don't use any more.
14258 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14259 New macros.
14260 (byte-compile-lapcode): Use them and handle new lap codes.
14261 (byte-compile-obsolete): Remove.
14262 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14263 (byte-compile-arglist-warn): Check late def of inlinable funs.
14264 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14265 since they should have been expanded by now.
14266 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14267 (byte-compile-from-buffer): Remove unused second arg.
14268 (byte-compile-preprocess): New function.
14269 (byte-compile-toplevel-file-form): New function to distinguish
14270 file-form calls from outside from file-form calls from hunk-handlers.
14271 (byte-compile-file-form): Simplify.
14272 (byte-compile-file-form-defsubst): Remove.
14273 (byte-compile-file-form-defmumble): Simplify now that
14274 byte-compile-lambda always returns a byte-code-function.
14275 (byte-compile): Preprocess.
14276 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14277 Remove, not used any more.
14278 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14279 (byte-compile-make-args-desc): New funs.
14280 (byte-compile-lambda): Handle lexical functions. Always return
14281 a byte-code-function.
14282 (byte-compile-reserved-constants): New var, to make up room for
14283 closed-over variables.
14284 (byte-compile-constants-vector): Obey it.
14285 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14286 (byte-compile-macroexpand-declare-function): New function.
14287 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14288 byte-code-functions.
14289 (byte-compile-form): Check obsolescence here.
14290 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14291 (byte-compile-variable-ref): Remove.
14292 (byte-compile-dynamic-variable-op): New fun.
14293 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14294 (byte-compile-variable-set): New funs.
14295 (byte-compile-discard): Add 2 args.
14296 (byte-compile-stack-ref, byte-compile-stack-set)
14297 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14298 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14299 macroexpand-all instead.
14300 (byte-compile-quote-form): Remove.
14301 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14302 (byte-compile-bind, byte-compile-unbind): New funs.
14303 (byte-compile-let): Handle let* and lexical binding.
14304 (byte-compile-let*): Remove.
14305 (byte-compile-catch, byte-compile-unwind-protect)
14306 (byte-compile-track-mouse, byte-compile-condition-case):
14307 Handle a new :fun-body form, used for lexical scoping.
14308 (byte-compile-save-window-excursion)
14309 (byte-compile-with-output-to-temp-buffer): Remove.
14310 (byte-compile-defun): Simplify.
14311 (byte-compile-stack-adjustment): New fun.
14312 (byte-compile-out): Use it.
14313 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14314
14315 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14316 handler any more.
14317
14318 * emacs-lisp/byte-opt.el: Use lexical binding.
14319 (byte-inline-lapcode): Remove (to bytecomp).
14320 (byte-compile-inline-expand): Pay attention to inlining to/from
14321 lexically bound code.
14322 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14323 any more.
14324 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14325 any more and don't call compiler-macros.
14326 (byte-compile-splice-in-already-compiled-code): Remove.
14327 (byte-code): Don't inline any more.
14328 (disassemble-offset): Receive `bytes' as argument rather than via
14329 dynamic scoping.
14330 (byte-compile-tag-number): Declare before first use.
14331 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14332 `return' even if make-spliceable.
14333 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14334 obsolete interactive-p.
14335 (byte-optimize-lapcode): Optimize new lap-codes.
14336 Don't trip up on new form of `byte-constant' lap code.
14337
14338 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14339
14340 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14341
14342 * custom.el (custom-initialize-default, custom-declare-variable):
14343 Use `defvar'.
14344
14345 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14346 New variables.
14347 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14348 (COMPILE_FIRST): Add macroexp and cconv.
14349 * makefile.w32-in: Mirror changes in Makefile.in.
14350
14351 * vc/cvs-status.el:
14352 * vc/diff-mode.el:
14353 * vc/log-edit.el:
14354 * vc/log-view.el:
14355 * vc/smerge-mode.el:
14356 * textmodes/bibtex-style.el:
14357 * textmodes/css.el:
14358 * startup.el:
14359 * uniquify.el:
da91b5f2
CY
14360 * minibuffer.el:
14361 * newcomment.el:
14362 * reveal.el:
14363 * server.el:
14364 * mpc.el:
14365 * emacs-lisp/smie.el:
14366 * doc-view.el:
14367 * dired.el:
03408648
SM
14368 * abbrev.el: Use lexical binding.
14369
0f0c1f27
EZ
143702011-04-01 Eli Zaretskii <eliz@gnu.org>
14371
14372 * info.el (info-display-manual): New function.
14373
c82b2579
SM
143742011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14375
14376 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14377
221ddf68
TH
143782011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14379
14380 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14381 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14382
cba6e77e
GM
143832011-03-31 Glenn Morris <rgm@gnu.org>
14384
e040639f
GM
14385 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14386
cba6e77e
GM
14387 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14388
6d0f1c9e
CS
143892011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14390
14391 * progmodes/python.el (python-default-interpreter)
14392 (python-python-command-args, python-jython-command-args)
14393 (python-which-shell, python-which-args, python-which-bufname)
14394 (python-file-queue, python-comint-output-filter-function)
14395 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14396 variables and functions.
14397
3e2d70fd
SM
143982011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14401 (completion-in-region-mode): New minor mode.
14402 (completion-in-region): Use it.
14403 (completion-in-region--data, completion-in-region-mode-map): New vars.
14404 (completion-in-region--postch): New function.
14405 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14406 New vars.
14407 (completion--capf-wrapper): New function.
14408 (completion-at-point): Use it to track well-behavedness of
14409 hook functions.
14410 (completion-help-at-point): New command.
14411
f3e4086c
JM
144122011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14413
14414 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14415 syntax class to search for whitespace on a single line
14416 (Message-ID: <4D938140.4030905@redhat.com>).
14417
eb7ffc14
LL
144182011-03-30 Leo Liu <sdl.web@gmail.com>
14419
14420 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14421 New commands.
14422 (edit-abbrevs-map): Bind them here.
14423 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14424
d806ab68
KM
144252011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14426
14427 * allout.el (allout-hide-by-annotation, allout-flag-region):
14428 Reduce possibility of overlay leakage by making them volatile.
14429
14430 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14431 hash is not shared between buffers. Mode initialization is
14432 responsible for giving it a useful starting value.
14433 (allout-item-span): Reduce possibility of overlay leakage by
14434 making them volatile.
14435 (allout-widgets-count-buttons-in-region): Add diagnostic function
14436 for tracking down button overlay leaks.
14437
ea622834
LL
144382011-03-29 Leo Liu <sdl.web@gmail.com>
14439
14440 * ido.el (ido-read-internal): Use the default history var
14441 minibuffer-history if no HISTORY is specified.
14442
b62f8267
G
144432011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14444
03408648
SM
14445 * net/imap.el (imap-shell-open, imap-process-connection-type):
14446 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14447 Kerberos, SSL, other subprocesses.
14448
947b6566
LL
144492011-03-28 Leo Liu <sdl.web@gmail.com>
14450
14451 * abbrev.el (abbrev-table-empty-p): New function.
14452 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14453 nonempty ones. (Bug#5937)
14454
5ffb62aa
JD
144552011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14456
14457 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14458
7a097943
LL
144592011-03-27 Leo Liu <sdl.web@gmail.com>
14460
14461 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14462 for foreground and background colors.
14463 (ansi-color-make-color-map): Adapt.
14464
c5b40130
LL
144652011-03-25 Leo Liu <sdl.web@gmail.com>
14466
1f48f7d2
LL
14467 * midnight.el (midnight-time-float): Remove. Note it calculates
14468 the microsecond component incorrectly and seconds-to-time does the
14469 same job.
625897ec 14470 Remove redundant (require 'timer).
1f48f7d2 14471
c5b40130
LL
14472 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14473 (ido-completions): Remove unused arguments. (Bug#8329)
14474
d86d2721
SM
144752011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14476
14477 * minibuffer.el (completion--flush-all-sorted-completions):
14478 Remove itself from hook.
14479 (completion-at-point): Let the functions perform the completion
14480 immediately and return nil or t.
14481 * comint.el (comint-dynamic-complete-functions): Now identical to
14482 completion-at-point-functions.
14483 (comint-dynamic-list-input-ring): Remove unused var `index'.
14484 (comint--match-partial-filename, comint--unquote&expand-filename):
14485 New funs, split from comint-match-partial-filename.
14486 (comint-dynamic-complete): Use completion-at-point.
14487 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14488
e8974c48
DA
144892011-03-24 Drew Adams <drew.adams@oracle.com>
14490
14491 * thingatpt.el: Support `defun'.
14492
def71b5e
LL
144932011-03-23 Leo Liu <sdl.web@gmail.com>
14494
cb5af48e
LL
14495 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14496
def71b5e
LL
14497 * help-mode.el (help-mode-finish): Tweak regexp.
14498
927c53e7
GM
144992011-03-23 Glenn Morris <rgm@gnu.org>
14500
18d05bed
GM
14501 * eshell/esh-opt.el (eshell-eval-using-options):
14502 Do not bind unused local variable `eshell-option-stub'.
14503
927c53e7
GM
14504 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14505
9d0da923
JB
145062011-03-22 Juanma Barranquero <lekktu@gmail.com>
14507
14508 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14509 keymap variable in `with-no-warnings' to avoid a warning when the
14510 keymap has been already `defconst'ed.
14511
4b978a67
LL
145122011-03-22 Leo Liu <sdl.web@gmail.com>
14513
14514 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14515 encode all chars in abbrevs; otherwise use emacs-mule or
14516 utf-8-emacs. (Bug#8308)
14517
5fd62452
JB
145182011-03-22 Juanma Barranquero <lekktu@gmail.com>
14519
0b1596c6
JB
14520 * simple.el (backward-delete-char-untabify):
14521 Avoid warning about using `delete-backward-char'.
14522
5fd62452
JB
14523 * image.el (image-type-file-name-regexps): Make it variable.
14524 `imagemagick-register-types' modifies it, and the user may want
14525 to add new extensions for known image types.
14526 (imagemagick-register-types): Throw error if not using ImageMagick.
14527
0b4e93f1
LL
145282011-03-22 Leo Liu <sdl.web@gmail.com>
14529
14530 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14531 located before rcirc-prompt-end-marker.
14532 (rcirc-complete): Error if point is not after rcirc prompt.
14533 Handle the case when table is nil.
9882e214 14534 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14535
fccee4ab
CY
145362011-03-22 Chong Yidong <cyd@stupidchicken.com>
14537
14538 * custom.el (custom--inhibit-theme-enable): Make it affect only
14539 custom-theme-set-variables and custom-theme-set-faces.
14540 (provide-theme): Ignore custom--inhibit-theme-enable.
14541 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14542 (custom-enabling-themes): Delete variable.
d86d2721
SM
14543 (enable-theme): Accept only loaded themes as arguments.
14544 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14545 (custom-enabled-themes): Forbid themes from setting this.
14546 Eliminate use of custom-enabling-themes.
14547 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14548
af896da6
LL
145492011-03-21 Leo Liu <sdl.web@gmail.com>
14550
14551 * ido.el (ido-read-internal): Add ido-selected to history instead
14552 of user input.
14553
78f64af0
SM
145542011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14555
14556 * subr.el (deferred-action-list, deferred-action-function):
14557 Mark obsolete.
14558
b16ac1ec
LL
145592011-03-21 Leo Liu <sdl.web@gmail.com>
14560
810f7698
LL
14561 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14562 change on 2011-02-13 (bug#8309).
14563
b16ac1ec
LL
14564 * minibuffer.el (read-file-name-function): Change default value.
14565 (read-file-name--defaults): Rename from read-file-name-defaults.
14566 (read-file-name-default): Rename from read-file-name.
14567 (read-file-name): Call read-file-name-function.
14568
4e05e67e
GM
145692011-03-21 Glenn Morris <rgm@gnu.org>
14570
14571 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14572 Doc fixes.
14573
4359915b
CY
145742011-03-21 Chong Yidong <cyd@stupidchicken.com>
14575
14576 * cus-theme.el: Add missing provide statement.
14577 (customize-create-theme): Extract theme value correctly.
14578 (custom-theme-visit-theme): Autoload.
14579 (customize-create-theme): Prompt before inserting default faces.
14580
1fe275ee
JB
145812011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14582
14583 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14584 units and musical notes.
14585
cd394be1 145862011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14587
14588 * ido.el (ido-read-internal): Use completing-read-default.
14589 (ido-completing-read): Fix compatibility with completing-read.
14590
7d476bde
CO
145912011-03-20 Christian Ohler <ohler@gnu.org>
14592
14593 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14594 (ert-delete-all-tests): Use `called-interactively-p' rather than
14595 `interactive-p'.
14596 (ert--make-xrefs-region): Respect END.
14597
fe0fb33e
CY
145982011-03-19 Chong Yidong <cyd@stupidchicken.com>
14599
ff854b0b
CY
14600 * dired-aux.el (dired-create-directory): Signal an error if the
14601 directory already exists (Bug#8246).
14602
fe0fb33e
CY
14603 * facemenu.el (list-colors-display): Call list-faces-display
14604 inside with-help-window.
14605 (list-colors-print): Use display property to align the final
14606 column, instead of checking window-width.
14607
576bce32
EZ
146082011-03-19 Eli Zaretskii <eliz@gnu.org>
14609
4d61f28d 14610 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14611 windows-nt systems.
14612 (emerge-protect-metachars): Quote correctly for ms-dos and
14613 windows-nt systems.
14614
89c41d68 146152011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14616
14617 * info.el (info-initialize): Replace all uses of `:' with
14618 path-separator for compatibility with non-Unix systems.
14619 Cache quoting of path-separator. (Bug#8258)
14620
b14e3e21 146212011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14622
14623 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14624 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14625 (mouse-avoidance-mode): Fix typos in docstrings.
14626
4525ce3e
CY
146272011-03-19 Chong Yidong <cyd@stupidchicken.com>
14628
14629 * startup.el (package-subdirectory-regexp): Move from package.el.
14630 Omit \\` and \\', and let callers add them.
14631
14632 * emacs-lisp/package.el (package-strip-version)
14633 (package-load-all-descriptors): Add \\` and \\' to
14634 package-subdirectory-regexp before using it.
14635 (package-untar-buffer): New arg DIR; ensure that file untars only
14636 into this expected directory. Remove superfluous delete-region.
14637 (package-unpack): Caller changed.
14638 (package-tar-file-info): Use package-subdirectory-regexp.
14639
a904a09a 146402011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14641
a904a09a
SM
14642 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14643 diff-mode-shared-map (bug#8284).
14644 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14645
146462011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14647
14648 * calendar/time-date.el (format-seconds): Use assoc instead of
14649 assoc-string, since assoc-string doesn't exist in XEmacs.
14650
171fc304
JB
146512011-03-17 Juanma Barranquero <lekktu@gmail.com>
14652
14653 * custom.el (custom-known-themes): Reflow docstring.
14654 (custom-theme-load-path): Fix typo in docstring.
14655 (load-theme): Fix typo in error message.
14656 (custom-available-themes, custom-variable-theme-value):
14657 Use `let', not `let*'.
14658
d71990a1
JB
146592011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14660
14661 * calc/README: Mention inclusion of musical notes.
14662
14663 * calc/calc-units.el (calc-lu-quant): Rename from
14664 `calc-logunits-quantity'.
14665 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14666 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14667 (calc-db): Rename from `calc-dblevel'.
14668 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14669 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14670 (calc-np): Rename from `calc-nplevel'.
14671 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14672 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14673 (calc-lu-plus): Rename from `calc-logunits-add'.
14674 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14675 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14676 (calc-lu-minus): Rename from `calc-logunits-sub'.
14677 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14678 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14679 (calc-lu-times): Rename from `calc-logunits-mul'.
14680 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14681 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14682 (calc-lu-divide): Rename from `calc-logunits-div'.
14683 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14684 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14685
14686 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14687 functions being autoloaded.
14688
14689 * calc/calc.el (calc-lu-power-reference): Rename from
14690 `calc-logunits-power-reference'.
14691 (calc-lu-field-reference): Rename from
14692 `calc-logunits-field-reference'.
14693
7a71b18d
GM
14694 * calc/calc-help.el (calc-l-prefix-help):
14695 Mention musical note functions.
d71990a1 14696
40c2934b
SM
146972011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14698
14699 * minibuffer.el (completion-all-sorted-completions):
14700 Use :completion-cycle-penalty text property if present.
14701
b0911414
KM
147022011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14703
14704 * allout.el (allout-yank-processing): Adjust for new rebulleting
14705 regime so bullet being yanked is used without prompting the user
14706 for a choice.
14707
8a05b668
JB
147082011-03-16 Juanma Barranquero <lekktu@gmail.com>
14709
14710 * startup.el (command-line): Warn the user that _emacs is deprecated.
14711
5ba5fb81
JB
147122011-03-16 Juanma Barranquero <lekktu@gmail.com>
14713
14714 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14715 (delphi-verbose, delphi-comment-face, delphi-string-face)
14716 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14717 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14718 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14719 (delphi-new-comment-line, delphi-font-lock-defaults)
14720 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14721 Fix typos in docstrings.
14722
2dab465b
KM
147232011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14724
5ba5fb81 14725 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
14726 Invert the roles of character and string values for INSTEAD, so a
14727 string is used for the more common case of a defaulting prompt.
14728
0adf5618
SM
147292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14730
14731 * progmodes/ruby-mode.el (ruby-backward-sexp):
14732 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14733 * play/gamegrid.el (gamegrid-make-face):
14734 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14735 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14736 * notifications.el (notifications-notify):
14737 * net/xesam.el (xesam-search-engines):
14738 * net/quickurl.el (quickurl-list-insert):
14739 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14740
d72700e5
CY
147412011-03-15 Chong Yidong <cyd@stupidchicken.com>
14742
14743 * startup.el (command-line): Update package subdirectory regexp.
14744
49c5410a
SM
147452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14746
c6eee9aa
SM
14747 * allout.el (allout-abbreviate-flattened-numbering)
14748 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14749
49c5410a
SM
14750 * subr.el (read-char-choice): Only show the cursor after the prompt,
14751 not after the answer.
14752
047b2bb9
KR
147532011-03-15 Kevin Ryde <user42@zip.com.au>
14754
14755 * help-fns.el (variable-at-point): Skip leading quotes, if any
14756 (bug#8253).
14757
0a57d256
SM
147582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14759
14760 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14761 warning message.
14762
77c992bc
MA
147632011-03-14 Michael Albinus <michael.albinus@gmx.de>
14764
14765 * shell.el (shell): When called interactively, offer to change the
14766 shell file name on remote hosts.
14767
eebc475d
TZ
147682011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14769
14770 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14771 integration for LDAP parameters. The host, base, user or binddn,
14772 and secret tokens can be specified in a netrc file, for instance.
14773 This is optional because an `auth-source' parameter must be
14774 specified in the search attributes.
14775
9d05d1ba
JB
147762011-03-13 Juanma Barranquero <lekktu@gmail.com>
14777
14778 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14779
09d9db2c
GM
147802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14781
14782 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14783 into declaration. Remove redundant and harmful binding.
14784
147852011-03-12 Eli Zaretskii <eliz@gnu.org>
14786
14787 * files.el (file-ownership-preserved-p): Pass `integer' as an
14788 explicit 2nd argument to `file-attributes'. If the file's owner
14789 is the Administrators group on Windows, and the current user is
14790 Administrator, consider that a match.
14791
14792 * server.el (server-ensure-safe-dir): Consider server directory
14793 safe on MS-Windows if its owner is the Administrators group while
14794 the current Emacs user is Administrator. Use `=' to compare
14795 numerical UIDs, since they could be integers or floats.
14796
219bd536
JB
147972011-03-12 Juanma Barranquero <lekktu@gmail.com>
14798
14799 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14800
f3afd36b
MA
148012011-03-12 Michael Albinus <michael.albinus@gmx.de>
14802
14803 Sync with Tramp 2.2.1.
14804
14805 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14806
14807 * net/trampver.el: Update release number.
14808
3aaaa6f1
SM
148092011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14810
94642599
SM
14811 * progmodes/compile.el (compilation--previous-directory): Fix up
14812 various nil/dead-marker mismatches (bug#8014).
14813 (compilation-directory-properties, compilation-error-properties):
14814 Don't call it at a position past the one we're about to change.
14815
3aaaa6f1
SM
14816 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14817 Disable obsolescence warnings in the file that declares it.
14818
14239447
KM
148192011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14820
099c39a4
JB
14821 * allout-widgets.el (allout-widgets-tally):
14822 Initialize allout-widgets-tally as a hash table rather than nil to
14823 prevent mode-line redisplay warnings. Also, clarify the module
14824 description and fix a comment typo.
14239447 14825
135e287c
JB
148262011-03-11 Juanma Barranquero <lekktu@gmail.com>
14827
14828 * help-fns.el (describe-variable): Don't complete keywords.
14829 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14830
ffbf300e
CY
148312011-03-10 Chong Yidong <cyd@stupidchicken.com>
14832
ba08b241
CY
14833 * emacs-lisp/package.el (package-version-join): Impose a standard
14834 string representation for pre/alpha/beta version lists.
14835 (package-unpack-single): Standardize the directory name by passing
14836 it through package-version-join.
14837 (package-strip-rcs-id): Accept any version string that does not
14838 signal an error in version-to-list.
ffbf300e 14839
f346fd6b
MA
148402011-03-10 Michael Albinus <michael.albinus@gmx.de>
14841
14842 * simple.el (delete-trailing-whitespace): Return nil for the
14843 benefit of `write-file-functions'.
14844
ccb55d27
GM
148452011-03-10 Glenn Morris <rgm@gnu.org>
14846
5ceaac0c
GM
14847 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14848
02da65ff
GM
14849 * vc/vc-git.el (vc-git-program): New option.
14850 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14851 (vc-git--call): Use it.
14852
b2f603cc
GM
14853 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14854
5772caab
GM
14855 * cus-edit.el (Custom-newline): If no button at point, look
14856 for a subgroup button at start-of-line. (Bug#2298)
14857
ccb55d27
GM
14858 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14859
ec6ecaed
JD
148602011-03-10 Julien Danjou <julien@danjou.info>
14861
14862 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14863 `cursor-type' is nil.
14864
9d5aa01d
JB
148652011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14866
14867 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14868
b6a5875b
KM
148692011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14870
7a71b18d 14871 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
14872 preserves the existing header prefix, rebulleting it if necessary,
14873 rather than replacing it. This is necessary for proper operation
14874 of cooperative addons like allout-widgets.
1154d12e
JB
14875 (allout-make-topic-prefix, allout-rebullet-heading):
14876 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14877 value as alternate bullet to be used, instead of prompting the user
14878 for a bullet character.
b6a5875b 14879
ee545c35
MA
148802011-03-09 Michael Albinus <michael.albinus@gmx.de>
14881
d86d2721
SM
14882 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14883 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
14884 `tramp-default-port'.
14885
c47971d7
DD
148862011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14887
14888 * net/rcirc.el (rcirc-handler-001): Remove useless
14889 with-rcirc-process-buffer.
14890 (rcirc-check-auth-status): Swap arguments to string-match.
14891
13522cb4
GM
148922011-03-09 Glenn Morris <rgm@gnu.org>
14893
0be6f4f1
GM
14894 * shell.el (shell-mode):
14895 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14896
13522cb4
GM
14897 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14898 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14899
515de2e3
CY
149002011-03-08 Chong Yidong <cyd@stupidchicken.com>
14901
14902 * emacs-lisp/package.el (package-refresh-contents)
14903 (package-menu-execute): Use condition-case-no-debug.
14904
b511b994
MA
149052011-03-08 Michael Albinus <michael.albinus@gmx.de>
14906
14907 * simple.el (shell-command-to-string): Use `process-file'.
14908
14909 * emacs-lisp/package.el (package-tar-file-info): Handle also
14910 remote files.
14911
d86d2721
SM
14912 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14913 Use `equal' for upload base check.
b511b994 14914
25bbfb31
AM
149152011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14916
14917 * textmodes/texinfo.el (texinfo-environments):
14918 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14919
be996521
GM
149202011-03-08 Glenn Morris <rgm@gnu.org>
14921
e9c8529f
GM
14922 * cus-start.el (cursor-in-non-selected-windows):
14923 Fix :set quoting oddness. (Bug#8192)
14924
be996521
GM
14925 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14926 in some setf expressions. (Bug#2159)
14927
2bb5649e
CY
149282011-03-08 Chong Yidong <cyd@stupidchicken.com>
14929
14930 * custom.el (custom-available-themes): Return themes in
14931 alphabetical order.
14932
33383987 14933See ChangeLog.15 for earlier changes.
e3d51b27
MR
14934
14935;; Local Variables:
14936;; coding: utf-8
e3d51b27
MR
14937;; End:
14938
acaf905b 14939 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
14940
14941 This file is part of GNU Emacs.
14942
14943 GNU Emacs is free software: you can redistribute it and/or modify
14944 it under the terms of the GNU General Public License as published by
14945 the Free Software Foundation, either version 3 of the License, or
14946 (at your option) any later version.
14947
14948 GNU Emacs is distributed in the hope that it will be useful,
14949 but WITHOUT ANY WARRANTY; without even the implied warranty of
14950 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14951 GNU General Public License for more details.
14952
14953 You should have received a copy of the GNU General Public License
14954 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.